It works, thank you!
> > > Ok considering that u have a > primary_surface , and two line drwan surfaces let us call > first_image_surface > second_image_surface > > u can try this > > primary_surface->blit(primary_surface,first_image_surface,NULL,0,0); > then primary_surface->Flip (primary_surface,NULL, DSFLIP_WAITFORSYNC); > > sleep(2); > > then > > primary_surface->blit(primary_surface,second_image_surface,NULL,0,0); > then primary_surface->Flip (primary_surface,NULL, DSFLIP_WAITFORSYNC) > > Regards > > > > On Thu, Sep 4, 2008 at 2:38 PM, rippel tippel <[EMAIL PROTECTED]>wrote: > >> Hi all, >> >> I created two surfaces (IDirectFBSurface) and drew some lines on each >> of them. >> What I would like to do now is to swap them, so that I can alternatively >> see one "drawing" at time. >> >> I am not sure that IDirectFBSurface is the correct interface, as I read ( >> http://mail.directfb.org/pipermail/directfb-users/2005-June/000317.html) >> that this can be done using IDirectFBWindow. I guess that, in that case, I >> shall use the DFB Window Manager and I don't want to. >> >> Is there any other way to do that? >> >> Thank you, >> >> Rippel >> >> >> >>
_______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users