summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-07-17 11:51:15 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-07-17 11:51:15 -0700
commit2330d4fec110cb94043547e4979308283e442350 (patch)
treef1ee61c11d8a7add7b248858bbf83cf6a730d45a /src/lib/ecore_evas/ecore_evas.c
parent4923945f817c3b834e970187e1431db55d022d47 (diff)
ecore_evas: make sure fn_post_render callback is called last.
Should fix T5595.
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c6
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 6fde09b..e4c8001 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3275,7 +3275,8 @@ _ecore_evas_register(Ecore_Evas *ee)
3275 if (_ecore_evas_render_sync) ee->first_frame = EINA_TRUE; 3275 if (_ecore_evas_render_sync) ee->first_frame = EINA_TRUE;
3276 if (!_general_tick) _ecore_evas_tick_source_find(); 3276 if (!_general_tick) _ecore_evas_tick_source_find();
3277 if (!ee->engine.func->fn_render) 3277 if (!ee->engine.func->fn_render)
3278 evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_POST, _evas_evas_buffer_rendered, ee); 3278 evas_event_callback_priority_add(ee->evas, EVAS_CALLBACK_RENDER_POST, EVAS_CALLBACK_PRIORITY_AFTER,
3279 _evas_evas_buffer_rendered, ee);
3279} 3280}
3280 3281
3281EAPI void 3282EAPI void
@@ -3286,7 +3287,8 @@ _ecore_evas_subregister(Ecore_Evas *ee_target, Ecore_Evas *ee)
3286 ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee); 3287 ee_target->sub_ecore_evas = eina_list_append(ee_target->sub_ecore_evas, ee);
3287 3288
3288 if (!ee->engine.func->fn_render) 3289 if (!ee->engine.func->fn_render)
3289 evas_event_callback_add(ee->evas, EVAS_CALLBACK_RENDER_POST, _evas_evas_buffer_rendered, ee); 3290 evas_event_callback_priority_add(ee->evas, EVAS_CALLBACK_RENDER_POST, EVAS_CALLBACK_PRIORITY_AFTER,
3291 _evas_evas_buffer_rendered, ee);
3290} 3292}
3291 3293
3292EAPI void 3294EAPI void