Hi Olivier,

Olivier DAVID wrote:
> I would like to introduce the all screen rotation (90? and/or 180?), on a
> platform which this can?t be done in hardware.

I have an application which needs to work at any rotation.  I 
considered doing something like you describe, but came to the 
conclusion that performance was too poor when doing a full-screen 
pixel-by-pixel rotation in software.  So instead I have a layer between 
my application and DirectFB where I transform coordinates.  This is 
easy for operations like drawing solid rectangles.  To support text, I 
have been extending the DirectFB API to rotate fonts - I expect to 
finish this soon.  I may also investigate rotation of JPEGs in a 
similar way.

I suggest that before you go any further, you evaluate the slow-down 
that you will get from software rotation, and decide whether it is 
acceptable in your application.


Regards,

Phil.





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

Reply via email to