summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorHosang Kim <hosang12.kim@samsung.com>2018-03-26 15:52:44 -0700
committerCedric BAIL <cedric@osg.samsung.com>2018-03-26 15:58:54 -0700
commit86ae239bae7cb79d094aca3c0079096bdcf20ece (patch)
treed5e524783f4173b6cbdbba0cd0553ec60de9d710 /src/lib/ecore_evas/ecore_evas.c
parent308e9586ddb56cfe7c04663715068d5d414dbf0b (diff)
ecore_evas: don't set in_async_render flag if not in use async render.
Reviewers: jypark, raster, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5844 Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index f20bd0b..9f3293a 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -163,8 +163,6 @@ ecore_evas_render(Ecore_Evas *ee)
163 163
164 ecore_evas_render_prepare(ee); 164 ecore_evas_render_prepare(ee);
165 165
166 ee->in_async_render = 1;
167
168 if (!ee->visible) 166 if (!ee->visible)
169 { 167 {
170 evas_norender(ee->evas); 168 evas_norender(ee->evas);
@@ -172,6 +170,7 @@ ecore_evas_render(Ecore_Evas *ee)
172 else if (ee->can_async_render && !ee->manual_render) 170 else if (ee->can_async_render && !ee->manual_render)
173 { 171 {
174 rend |= !!evas_render_async(ee->evas); 172 rend |= !!evas_render_async(ee->evas);
173 if (rend) ee->in_async_render = 1;
175 } 174 }
176 else 175 else
177 { 176 {