summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index d48394e8c5..c92d5cd07e 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2438,7 +2438,7 @@ _ecore_evas_fps_debug_rendertime_add(double t)
2438static Ecore_Evas *_general_tick = NULL; 2438static Ecore_Evas *_general_tick = NULL;
2439 2439
2440EAPI void 2440EAPI void
2441ecore_evas_animator_tick(Ecore_Evas *ee, Eina_Rectangle *viewport) 2441ecore_evas_animator_tick(Ecore_Evas *ee, Eina_Rectangle *viewport, double loop_time)
2442{ 2442{
2443 Ecore_Evas *subee; 2443 Ecore_Evas *subee;
2444 Eina_List *l; 2444 Eina_List *l;
@@ -2453,13 +2453,15 @@ ecore_evas_animator_tick(Ecore_Evas *ee, Eina_Rectangle *viewport)
2453 a.update_area = *viewport; 2453 a.update_area = *viewport;
2454 } 2454 }
2455 2455
2456 ecore_loop_time_set(loop_time);
2457
2456 ee->animator_ran = EINA_TRUE; 2458 ee->animator_ran = EINA_TRUE;
2457 efl_event_callback_legacy_call(ee->evas, EFL_EVENT_ANIMATOR_TICK, &a); 2459 efl_event_callback_legacy_call(ee->evas, EFL_EVENT_ANIMATOR_TICK, &a);
2458 2460
2459 // FIXME: We do not support partial animator in the subcanvas 2461 // FIXME: We do not support partial animator in the subcanvas
2460 EINA_LIST_FOREACH(ee->sub_ecore_evas, l, subee) 2462 EINA_LIST_FOREACH(ee->sub_ecore_evas, l, subee)
2461 { 2463 {
2462 ecore_evas_animator_tick(subee, NULL); 2464 ecore_evas_animator_tick(subee, NULL, loop_time);
2463 } 2465 }
2464 2466
2465 // We are the source of sync for general animator. 2467 // We are the source of sync for general animator.
@@ -2501,7 +2503,7 @@ _ecore_evas_tick_source_find(void)
2501static Eina_Bool 2503static Eina_Bool
2502_ecore_evas_animator_fallback(void *data) 2504_ecore_evas_animator_fallback(void *data)
2503{ 2505{
2504 ecore_evas_animator_tick(data, NULL); 2506 ecore_evas_animator_tick(data, NULL, ecore_loop_time_get());
2505 return EINA_TRUE; 2507 return EINA_TRUE;
2506} 2508}
2507 2509