Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/modules/engines/software_16_x11 Modified Files: evas_engine.c Log Message: add an engine idle flush =================================================================== RCS file: /cvs/e/e17/libs/evas/src/modules/engines/software_16_x11/evas_engine.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- evas_engine.c 29 Apr 2007 15:45:40 -0000 1.1 +++ evas_engine.c 17 Jun 2007 02:56:58 -0000 1.2 @@ -38,6 +38,7 @@ static void *eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, int *cx, int *cy, int *cw, int *ch); static void eng_output_redraws_next_update_push(void *data, void *surface, int x, int y, int w, int h); static void eng_output_flush(void *data); +static void eng_output_idle_flush(void *data); /* engine api this module provides */ static void * @@ -291,6 +292,16 @@ // evas_software_x11_outbuf_flush(re->ob); } +static void +eng_output_idle_flush(void *data) +{ + 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 */ +} + /* module advertising code */ EAPI int @@ -315,6 +326,7 @@ ORD(output_redraws_next_update_get); ORD(output_redraws_next_update_push); ORD(output_flush); + ORD(output_idle_flush); /* now advertise out own api */ em->functions = (void *)(&func); return 1; ------------------------------------------------------------------------- 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 enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs