summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas/ecore_evas.c
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-07-12 16:31:19 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-13 18:07:42 -0500
commit981d851d575021ef65f3d61c8ee693d2c686fb7d (patch)
tree5bf931d28b86ff98e6665922a343460297570bdd /src/lib/ecore_evas/ecore_evas.c
parentb86e6611f32e7e4d76a50ab79cb0c5d0c1921d3e (diff)
ecore_evas: Perform a tick before a manual render if we're not ticking
If we turned off the ticking with manual_render_set then perform a manual render, we need animators to update. ref T5462
Diffstat (limited to 'src/lib/ecore_evas/ecore_evas.c')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 5997628..c3feb3f 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2667,6 +2667,19 @@ EAPI void
2667ecore_evas_manual_render(Ecore_Evas *ee) 2667ecore_evas_manual_render(Ecore_Evas *ee)
2668{ 2668{
2669 ECORE_EVAS_CHECK(ee); 2669 ECORE_EVAS_CHECK(ee);
2670
2671 if (ee->manual_render)
2672 {
2673 double t = -1.0;
2674
2675 if (ee->engine.func->fn_last_tick_get)
2676 t = ee->engine.func->fn_last_tick_get(ee);
2677 if (t < 0.0)
2678 t = ecore_loop_time_get();
2679
2680 ecore_evas_animator_tick(ee, NULL, t);
2681 }
2682
2670 if (ee->engine.func->fn_render) 2683 if (ee->engine.func->fn_render)
2671 { 2684 {
2672 ee->engine.func->fn_render(ee); 2685 ee->engine.func->fn_render(ee);