Re: Re: rotation.
From: John Bradford <hidden>
Date: 2003-01-08 11:58:25
Also in:
lkml
quoted
quoted
quoted
I'm about to implement rotation which is needed for devices like the ipaq. The question is do we flip the xres and yres values depending on the rotation or do we just alter the data that will be drawn to make the screen appear to rotate. How does hardware rotate view the x and y axis? Are they rotated or does just the data get rotated?Where are you going to implement the rotation? At the fbcon or fbdev level? Fbcon has the advantage that it'll work for all frame buffer devices.But you could also provide driver hooks for the chips which have such a rotation feature included (don't know if such exist, but i suppose they do, or may in the future).
It would be nice to have an option to be able to do the rotation entirely in software - some desktop users might prefer to have a portait-orientated display, when their graphics card doesn't have any hardware rotation facilities at all. John. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com