Discussion:
[directfb-users] Question on usage of DirectFB flipping flags
Bobby Philip
2015-04-28 10:44:02 UTC
Permalink
I would like know about the usage of DFBSurfaceFlipFlags in particular
DSFlLIP_BLIT
I am using DFB1.5.3 with SawMan. On my primary layer, I am creating a
window with DWCAPS_DOUBLEBUFFER capability.
I get a surface from this window and draw to it. When it was time to
display the output I call Flip on the surface with flipping flag as
DSFlLIP_BLIT. My problem is that this didnt work for me and I had to use
DSFlLIP_NONE to reliably see my drawn surface on the output

So my basic question is when should I use DSFlLIP_BLIT and when should I
prefer to use DSFlLIP_NONE. How does the driver implementation change for
both these scenarios.

Also my understanding on the working of windowmanager is that, application
draws to a surface on the window and sets it as visible. The window manager
(sawman in my case) takes care of taking the contents of the updated window
and making it visible. Is my understanding correct?

Thanks
B

Loading...