Hello,

I have couple of questions on dfb CooperativeLevels and SurfaceCapability settings.

If IDirectFB::SetCooperativeLevel() is called with DFSCL_FULLSCREEN and then a primary surface is created with no specific settings for DSCAPS_SYSTEMONLY or DSCAPS_VIDEOONLY, the capabilities are defaulted to VIDEOONLY. Under such condition, the drawing on primary surface is visible without any need of calling IDirectFBSurface::Flip().

This behavior changes when SetCooperativeLevel is called with DFSCL_FULLSCREEN and then primary surface is created with capability setting DSCAPS_SYSTEMONLY.  To my understanding, the FrontBuffer policy is still defaulted to VIDEOONLY but the BackBuffoer policy becomes SYSTEMONLY. Under this condition, Flip() needs to be done to make drawing visible - BackBuffer -> FrontBuffer.

What causes this difference?

Is it such that with SetCooperativeLevel() == DFSCL_FULLSCREEN and DSCAPS_VIDEOONLY the drawing is done just on the FrontBuffer - hence everything visible? Or something else happens?

Thanks in advance!

-- Sourath









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

Reply via email to