From: raster Date: Mon, 30 Aug 2010 06:46:29 +0000 (+0000) Subject: make it an env var to enable/disable window unsurface/resurfacing. X-Git-Tag: submit/trunk/20120815.174732~2459 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f91b6d7513d2ab9b78cd3668b9ef0cace729b11f;p=profile%2Fivi%2Fevas.git make it an env var to enable/disable window unsurface/resurfacing. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@51742 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/modules/engines/gl_x11/evas_x_main.c b/src/modules/engines/gl_x11/evas_x_main.c index 655a46e..8728973 100644 --- a/src/modules/engines/gl_x11/evas_x_main.c +++ b/src/modules/engines/gl_x11/evas_x_main.c @@ -493,6 +493,7 @@ void eng_window_unsurf(Evas_GL_X11_Window *gw) { if (!gw->surf) return; + if (!getenv("EVAS_GL_WIN_RESURF")) return; if (getenv("EVAS_GL_INFO")) printf("unsurf %p\n", gw); #if defined (GLES_VARIETY_S3C6410) || defined (GLES_VARIETY_SGX)