diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-12-10 14:02:27 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2013-12-10 14:02:27 +0900 |
commit | b3d69254b6c651d4c35e3c90bc9367f5916e50c4 (patch) | |
tree | d462ea401ced5bb5d7458bc5140f6d6adab4f19a /src/lib/ecore_evas/ecore_evas.c | |
parent | 0cb048f9b681d43fe905d948e4f7b8e51bed9aa4 (diff) |
ecore-evas - disable comp syncing by default (can be turned on though still)
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r-- | src/lib/ecore_evas/ecore_evas.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c index db2ada75e8..e338016898 100644 --- a/src/lib/ecore_evas/ecore_evas.c +++ b/src/lib/ecore_evas/ecore_evas.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include "ecore_evas_extn.h" | 33 | #include "ecore_evas_extn.h" |
34 | #include "ecore_evas_win32.h" | 34 | #include "ecore_evas_win32.h" |
35 | 35 | ||
36 | EAPI Eina_Bool _ecore_evas_app_comp_sync = 1; | 36 | EAPI Eina_Bool _ecore_evas_app_comp_sync = EINA_FALSE; |
37 | EAPI int _ecore_evas_log_dom = -1; | 37 | EAPI int _ecore_evas_log_dom = -1; |
38 | static int _ecore_evas_init_count = 0; | 38 | static int _ecore_evas_init_count = 0; |
39 | static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL; | 39 | static Ecore_Fd_Handler *_ecore_evas_async_events_fd = NULL; |
@@ -366,7 +366,9 @@ ecore_evas_init(void) | |||
366 | EINA_LOG_STATE_INIT); | 366 | EINA_LOG_STATE_INIT); |
367 | 367 | ||
368 | if (getenv("ECORE_EVAS_COMP_NOSYNC")) | 368 | if (getenv("ECORE_EVAS_COMP_NOSYNC")) |
369 | _ecore_evas_app_comp_sync = 0; | 369 | _ecore_evas_app_comp_sync = EINA_FALSE; |
370 | else if (getenv("ECORE_EVAS_COMP_SYNC")) | ||
371 | _ecore_evas_app_comp_sync = EINA_TRUE; | ||
370 | return _ecore_evas_init_count; | 372 | return _ecore_evas_init_count; |
371 | 373 | ||
372 | shutdown_ecore: | 374 | shutdown_ecore: |