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. > > 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.
You can have a look at dfb_layer_region_flip_update(), the central place. There's already 180° rotation, which is much easier. The problem with 90 and 270 is that DirectFB does not handle buffers with different sizes (in one surface). It might not be too difficult though... -- 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
