add env var to disable compositor syncing for testing
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 06:18:13 +0000 (06:18 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 11 Oct 2011 06:18:13 +0000 (06:18 +0000)
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

index a7afc0d..2fc629a 100644 (file)
@@ -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)
 {