diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2016-12-27 10:50:05 -0800 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-12-27 10:50:05 -0800 |
commit | cd80106f5466e8e1e796c800c91bd44765e27c9c (patch) | |
tree | ec16f31fc2a749b28072aa9272c04ee039d031c2 | |
parent | e2a2ef4f860102d7aa615669e18b5f22bb127144 (diff) |
force maximum throughput with latest Ecore_Evas change.
-rw-r--r-- | src/bin/main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/main.c b/src/bin/main.c index d879378..cc812c8 100644 --- a/src/bin/main.c +++ b/src/bin/main.c | |||
@@ -1238,6 +1238,10 @@ main(int argc, char **argv) | |||
1238 | }; | 1238 | }; |
1239 | 1239 | ||
1240 | setenv("ECORE_NO_VSYNC", "1", 0); | 1240 | setenv("ECORE_NO_VSYNC", "1", 0); |
1241 | setenv("ECORE_EVAS_RENDER_NOSYNC", "1", 1); | ||
1242 | |||
1243 | if (!async) | ||
1244 | setenv("ECORE_EVAS_FORCE_SYNC_RENDER", "1", 0); | ||
1241 | 1245 | ||
1242 | if (!ecore_evas_init()) return -1; | 1246 | if (!ecore_evas_init()) return -1; |
1243 | 1247 | ||
@@ -1277,9 +1281,6 @@ main(int argc, char **argv) | |||
1277 | profile = resolution; | 1281 | profile = resolution; |
1278 | } | 1282 | } |
1279 | 1283 | ||
1280 | if (!async) | ||
1281 | setenv("ECORE_EVAS_FORCE_SYNC_RENDER", "1", 0); | ||
1282 | |||
1283 | if (!datadir) | 1284 | if (!datadir) |
1284 | datadir = getenv("EXPEDITE_FONTS_DIR"); | 1285 | datadir = getenv("EXPEDITE_FONTS_DIR"); |
1285 | if (!datadir) | 1286 | if (!datadir) |