Dear all, I've create a primary surface for blitting image surface onto it. DFBSurfaceDescription desc; desc.flags = DSDESC_CAPS; desc.caps = DSCAPS_PRIMARY; dfb->CreateSurface(dfb, &desc, &primary); //...skip primary->Clear(primary, 0x00, 0x00, 0x00, 0x00); primary->Blit(primary, surface, NULL, 0, 0);
The clear function of IDirectFBSurface does not work. And I don't want to use flip function Because Flip function cost CPU usage a lot. How can I clear a surface without flipping the surface? Thanks. -- Chien Kuo-Feng
_______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
