raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b3d69254b6c651d4c35e3c90bc9367f5916e50c4

commit b3d69254b6c651d4c35e3c90bc9367f5916e50c4
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Dec 10 14:02:27 2013 +0900

    ecore-evas - disable comp syncing by default (can be turned on though still)
---
 src/lib/ecore_evas/ecore_evas.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index db2ada7..e338016 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -33,7 +33,7 @@
 #include "ecore_evas_extn.h"
 #include "ecore_evas_win32.h"
 
-EAPI Eina_Bool _ecore_evas_app_comp_sync = 1;
+EAPI Eina_Bool _ecore_evas_app_comp_sync = EINA_FALSE;
 EAPI int _ecore_evas_log_dom = -1;
 static int _ecore_evas_init_count = 0;
 static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL;
@@ -366,7 +366,9 @@ ecore_evas_init(void)
                   EINA_LOG_STATE_INIT);
 
    if (getenv("ECORE_EVAS_COMP_NOSYNC"))
-      _ecore_evas_app_comp_sync = 0;
+     _ecore_evas_app_comp_sync = EINA_FALSE;
+   else if (getenv("ECORE_EVAS_COMP_SYNC"))
+     _ecore_evas_app_comp_sync = EINA_TRUE;
    return _ecore_evas_init_count;
 
  shutdown_ecore:

-- 


Reply via email to