Claudio Ciccani wrote: > Ben Combee via CVS wrote: >> CVSROOT: /cvs/directfb >> Module name: DirectFB >> Changes by: bcombee 20060604 19:52:22 >> >> Modified files: >> src/display : idirectfbsurface.c >> >> Log message: >> Update graphics ops to immediately unref source surfaces allowing quicker >> memory reuse >> > > That always forces the driver to revalidate the source after blitting. > I think it will result in a loss of performance.
Right, it should be a temporary workaround to avoid the worst case: 1. CreateSurface(big) 2. RenderTo(big) 3. CreateSurface(small) 4. Blit(small <- big) 5. Release(big) For example creating a bunch of thumbnails, the big surfaces are still alive because of the reference due to being a source. Has a very priority to be fixed properly! -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-cvs mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs
