On Apr 18, 2005, at 2:49 AM, Michael Renken wrote:
Hello,
I'm writing a small application for an IR controlled photo show. All
works fine, but the memory usage is increasing with every displayed
photo. When I run a large photo show sooner or later the computer hangs,
because the OS starts to swap the memory.
For every photo the application runs through following loop
1. Create image provider 2. Create surface (named photo) 3. Render image provider to photo surface 4. Blit photo surface to primary surface 5. Release image provider and photo surface
How bout this:
1. Create image provider 2. Create surface 3. Render image provider to photo surface 4. Blit 5. Release Image provider
loop over 3-5.
This would of course require all images in the same format.
-- Nathanael D. Noblet Gnat Solutions 204 - 131 Gorge Road E Victoria, BC V9A 1L1
T 250.385.4613 C 250.893.4613 http://www.gnat.ca/
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
