I would like to introduce the all screen rotation (90° and/or 180°), on a platform which this cant be done in hardware.
The idea is to work in a rotated resolution (600x800 for instance), and just transfer the rotated zone in the frame buffer memory. The graphic chip will be used on a 800x600 resolution of course, and accept a 600x800 resolution from fbdev by a little patch (rather easy to do). I think the best place to do it (in software) would be during the latest blit to the video memory. Directfb could even detect that Xres < Yres, and launch a rotated blit by himself, without introducing any change in the APIs. What do you think of it, is there any trouble that I didnt consider, do you think of a better way to do that ?
_______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
