I am inspecting every available layer and check their buffer mode. The radeon overlay layer has no backbuffer so i m not using flip when blitting to this primary surface.
It shows a light blue colored screen and reports no error. Basically my algorithm is : 1) init directfb; 2) inspect each layer; (backbuffer ?, live video ? , has surface ?) 3) inspect each video mode; (store each of them to approach video geometry later) 4) try each possible pixel format on the best layer to get accelerated pixel formats; (create surface, test layer config, set layer config, check accel) 5) set the layer to one of these pixel formats; 6) create a surface for each video frame; 7) blit to the primary surface; 8) flip if backbuffer; I m having some issues because GetAccelerationMask on the primary surface compared to a surface with the same pixel format never returns a blit acceleration. It's also tricky because there's no way to test a Video mode. Any help appreciated :) Thanks, Julien Moutte, On Mon, 2005-10-31 at 18:48 +0200, Ville Syrjälä wrote: > On Mon, Oct 31, 2005 at 05:22:43PM +0100, Julien Moutte wrote: > > > > Thanks for those answers, > > > > Should i do a specific usage of the Display layers that support live > > video such as the Radeon overlay ? I m trying to blit to this layer but > > nothing appears. > > Are you using double or triple buffering on the layer? If so you need to > Flip() the layer's surface. > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
