From 1e1f01c0f3180abd523f4fc606dc9b611151fb9b Mon Sep 17 00:00:00 2001 From: raster Date: Tue, 11 Oct 2011 06:18:13 +0000 Subject: [PATCH] add env var to disable compositor syncing for testing git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@63979 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_evas/ecore_evas.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index a7afc0d..2fc629a 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c @@ -21,6 +21,7 @@ #include "ecore_evas_private.h" #include "Ecore_Evas.h" +Eina_Bool _ecore_evas_app_comp_sync = 1; int _ecore_evas_log_dom = -1; static int _ecore_evas_init_count = 0; static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL; @@ -232,6 +233,8 @@ ecore_evas_init(void) _ecore_evas_ews_events_init(); #endif + if (getenv("ECORE_EVAS_COMP_NOSYNC")) + _ecore_evas_app_comp_sync = 0; return _ecore_evas_init_count; shutdown_ecore: @@ -286,8 +289,6 @@ ecore_evas_shutdown(void) return _ecore_evas_init_count; } -Eina_Bool _ecore_evas_app_comp_sync = 1; - EAPI void ecore_evas_app_comp_sync_set(Eina_Bool do_sync) { -- 2.7.4