Enlightenment CVS committal
Author : barbieri
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_16_x11
Modified Files:
evas_engine.c
Log Message:
idle_flush
===================================================================
RCS file:
/cvs/e/e17/libs/evas/src/modules/engines/software_16_x11/evas_engine.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_engine.c 18 Jun 2007 16:47:36 -0000 1.3
+++ evas_engine.c 18 Jun 2007 17:48:14 -0000 1.4
@@ -307,8 +307,16 @@
Render_Engine *re;
re = (Render_Engine *)data;
- /* FIXME: clean up any resources kept around between renders in case
- * we are animating a lot and want high fps */
+ if (re->shbuf)
+ {
+ evas_software_x11_x_output_buffer_free(re->shbuf, 0);
+ re->shbuf = NULL;
+ }
+ if (re->clip_rects)
+ {
+ XDestroyRegion(re->clip_rects);
+ re->clip_rects = NULL;
+ }
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs