Re: Portrait display mode
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2002-09-11 06:38:22
On 11 Sep 2002, Antonino Daplas wrote:
On Wed, 2002-09-11 at 04:44, Otto Wyss wrote:quoted
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 aI 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.quoted
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
Can't this be moved up to generic code, so we don't have to modify all drivers?
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.
Since in the end all drivers will, this is not a real issue.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
In remembrance
www.osdn.com/911/