Thread (6 messages) flat view 6 messages, 3 authors, 2002-09-12

Re: Portrait display mode

From: Antonino Daplas <hidden>
Date: 2002-09-10 22:22:11

On Wed, 2002-09-11 at 04:44, Otto Wyss wrote:
I guess the framebuffer drivers so far don't support turning the display 90° as
the Pivot software does for Windows/MacOS. Since I'm considering buying a
I posted a patch under the thread titled "Console Rotation" 2 days ago. 
It should support rotation in 3 additional directions (90, 180 and 270
degrees).  As far as fb-based apps, they have to do the rotation on
their own.  XFbdev in 4.2.0 already does that.
turnable display I rather see this feature implemented. I even may help but can
spend much time. How difficult would it be?
It should not be too difficult to add per-driver support once the
rotation wrappers are implemented.  The main requirement is that the
driver must support the drawing primitives (xxxfillrect, xxxcopyarea,
xxximageblit -- main reason I like the primitives is because you can do
a lot of fancy things with minimal code change).  I already did this
with VESA fb, and it required less than 100 lines of code.

Doing this in 2.4 will be trickier because of absence of support for
drawing primitives.  (The i810fb driver had console rotation for half a
year now, though)

If you are interested, try the patches (apply them in the order I
mentioned).  http://i810fb.sourceforge.net/fb_rotate.tar.gz

Tony



-------------------------------------------------------
In remembrance
www.osdn.com/911/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help