Enlightenment CVS committal Author : raster Project : e17 Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_evas Modified Files: ecore_evas_x.c Log Message: support REDRAW_DEBUg env var =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_evas/ecore_evas_x.c,v retrieving revision 1.63 retrieving revision 1.64 diff -u -3 -r1.63 -r1.64 --- ecore_evas_x.c 15 Oct 2005 08:51:52 -0000 1.63 +++ ecore_evas_x.c 1 Nov 2005 09:49:12 -0000 1.64 @@ -1664,6 +1664,7 @@ Evas_Engine_Info_Software_X11 *einfo; Ecore_Evas *ee; int rmethod; + static int redraw_debug = -1; rmethod = evas_render_method_lookup("software_x11"); if (!rmethod) return NULL; @@ -1743,13 +1744,21 @@ free(roots); } } + + if (redraw_debug < 0) + { + if (getenv("REDRAW_DEBUG")) + redraw_debug = atoi(getenv("REDRAW_DEBUG")); + else + redraw_debug = 0; + } einfo->info.display = ecore_x_display_get(); einfo->info.visual = DefaultVisual(ecore_x_display_get(), screen); einfo->info.colormap = DefaultColormap(ecore_x_display_get(), screen); einfo->info.drawable = ee->engine.x.win; einfo->info.depth = DefaultDepth(ecore_x_display_get(), screen); einfo->info.rotation = 0; - einfo->info.debug = 0; + einfo->info.debug = redraw_debug; evas_engine_info_set(ee->evas, (Evas_Engine_Info *)einfo); } evas_key_modifier_add(ee->evas, "Shift"); ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs