Hi Niels, Thanks for the quick answer. Is there something similar or does this apply also for windows' moves and resizes ?
Regards, -- Lionel Landwerlin On Mon, Feb 22, 2010 at 12:25 PM, Niels Roest <ni...@directfb.org> wrote: > Hi Lionel, > > you can synchronise them by using IDirectFBWindow::BeginUpdates() and flip > with the DSFLIP_ONCE flag. all "BeginUpdate" windows will only update once > all have done the flip with the ONCE flag too. This involves "waiting" the > tasks for the last, though. > > Greets > Niels > > Lionel Landwerlin wrote: > >> Hi all, >> >> I'm wondering if there is something similar in DirectFB to a window >> compositor in X11. >> My point is that I have several windows, with each window having its own >> framerate update, >> and I want to synchronize all theirs updates in one framerate, so I can >> display smooth animation >> in several windows. >> For example, I have 2 windows each running a webkit view, with each webkit >> view displaying >> smooth animations. Both windows might want to flip at 30fps for example, >> but my hardware >> has only 40fps capabilites. With both windows flipping asynchronously in >> worst case, I can >> acquive a 60fps refresh rate which slows down the animations and overloads >> the hardware. >> >> I gave a look at SaWMan to see if there is something that might help me in >> acquiving that task, >> but I didn't find anything interesting. >> Any idea ? >> >> -- >> Lionel Landwerlin >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> directfb-dev mailing list >> directfb-dev@directfb.org >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev >> >> > > > -- > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" >
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev