Le mardi 01 septembre 2009 à 12:51 -0700, Anders Bakken a écrit : > If I do the following: > > IDirectFBSurface *one = ...; > IDirectFBSurface *two = ...; > > one->FillRectangle(...) > one->Blit(...); > // etc > two->Blit(two, one, ...); > > Do I need to stick IDirectFB::WaitIdle call in before the Blit to make > sure the FillRectangle, Blit and any other operaions have finished or is > this taken care of by DirectFB?
When your application need to access the surface one or two, you have to lock the surface first. This lock takes care of synchronization with the hardware (ie makes a WaitIdle). -- Lionel Landwerlin <lionel.landwer...@openwide.fr> _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev