Hi all, we are experencing strange behaviour in the Blit and Flip function.

Basically if I set the primary surface with this DFBSurfaceDescription:
     dsc.flags = DSDESC_CAPS;
     dsc.caps = DSCAPS_PRIMARY | DSCAPS_FLIPPING;

Then when I execute blit function on this primary surface nothing appears on the display as expected, but, as far as I understood, I can execute the flip function with the option:

DFBCHECK (primary->Flip (primary, NULL, DSFLIP_NONE)); I expected this function to Flip immediatly, because I setted the NONE option, while it seems to wait for some sort of shyncronization.
For sure the execution is extremely slow.

On the other hand when I set the Surface description with this option: dsc.caps = DSCAPS_PRIMARY | DSCAPS_NONE; then the execution is 10 times faster...

How is this possible, am I doing something wrong?

Furhtermore when I enable the alphachannel for the primary surface, by setting the blitting flags to "DSBLIT_BLEND_ALPHACHANNEL" the flip/blit performances slow extremely down...
How can I improve this performance?

Many thanks in advance, Francesco.




--
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to