On Fri, 2009-09-18 at 02:26 +0200, anders.bak...@nokia.com wrote: > This might be the way DirectFB is supposed to work but I was surprised to > find the following: > > 1) I blit the subrect 0, 0, 100, 100 of a surface to position 100, 0 in the > same surface > 2) I blit the subrect 100, 0, 100, 100 of a surface to position 100, 100 in > the same surface > > Contrary to my expections I found that the content now found in 100, 100, > 100, 100 is what used to be in 100, 0, 100, 100 before the first blit rather > than after it. If I put a Flip in between 1 and 2 it works as expected.
Yes, DirectFB always uses the front buffer as source and the back buffer as destination for blits. I don't think there's a way to change this behaviour without patching. Cheers, Andre' _______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev