Quoting Hasjim Williams:
> Is there no way to configure DirectFB at runtime / compile-time to have
> a rotated display?  OPIE and GPE both do it.  GPE uses the XRandR
> extension.  Even the linux console has support for runtime rotation in
> 2.6.15-rc1.  Plenty of other games/apps also do this - eg Mame.  
> 
> While the fb driver can do this, it is better for it not to, since it
> definitely means another shadow buffer is required, and rotating the
> entire framebuffer through software is slow.  Only when they're
> drawn/loaded should fonts/bitmaps/objects be rotated.
> 
> Is anyone working on this?
> 
> If not, where should I look at putting this in the directfb code?  The
> framebuffer driver???  The drawing code???  

The central point of rotation would be dfb_layer_region_flip_update()
where (almost) all screen updates are going through. It would also
require many other changes in different places, of course, e.g. to
support different dimensions for front/back buffer(s).

Loading and drawing things rotated would be much more difficult
and not necessarily faster.

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to