linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Antonino Daplas <adaplas@pol.net>
To: otto.wyss@bluewin.ch
Cc: fbdev <linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: Portrait display mode
Date: 11 Sep 2002 06:22:57 +0800	[thread overview]
Message-ID: <1031696622.548.13.camel@daplas> (raw)
In-Reply-To: <3D7E59B0.5FC023D3@bluewin.ch>

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/

  reply	other threads:[~2002-09-10 22:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-10 20:44 Portrait display mode Otto Wyss
2002-09-10 22:22 ` Antonino Daplas [this message]
2002-09-11  6:38   ` Geert Uytterhoeven
2002-09-11 19:50     ` Antonino Daplas
2002-09-11 20:18   ` Otto Wyss
2002-09-12 17:36     ` Antonino Daplas
     [not found]     ` <1031850411.1810.0.camel@daplas>
     [not found]       ` <3D84D045.404EA715@bluewin.ch>
2002-09-16  3:07         ` Antonino Daplas
2002-09-17 17:50           ` Otto Wyss
2002-09-17 20:13             ` Antonino Daplas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1031696622.548.13.camel@daplas \
    --to=adaplas@pol.net \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=otto.wyss@bluewin.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).