summaryrefslogtreecommitdiff
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 11:31:11 -0500
commit3209bd6f33c6bf1d9caffb3bcc1caa4b4d1ed33f (patch)
tree44f22b3d38668dbc17780c30a69e64fb73945c58
parente2851b712d72923d05289d249485f853b4ac8a4e (diff)
downloadefl-devs/derekf/wip.tar.gz
ecore_evas: Perform a tick before a manual render if we're not tickingdevs/derekf/wip
If we turned off the ticking with manual_render_set then perform a manual render, we need animators to update. ref T5462
-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 42b35fcb12..428d30ec76 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -2667,6 +2667,19 @@ EAPI void
ecore_evas_manual_render(Ecore_Evas *ee)
{
ECORE_EVAS_CHECK(ee);
+
+ if (ee->manual_render)
+ {
+ double t = -1.0;
+
+ if (ee->engine.func->fn_last_tick_get)
+ t = ee->engine.func->fn_last_tick_get(ee);
+ if (t < 0.0)
+ t = ecore_loop_time_get();
+
+ ecore_evas_animator_tick(ee, NULL, t);
+ }
+
if (ee->engine.func->fn_render)
{
ee->engine.func->fn_render(ee);