summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-11-21 20:05:02 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-21 20:06:24 +0900
commitfc4d7da72fc748de4327002b4bb5c9a6381130fb (patch)
tree4312cd114db1d396b22cde16f01d0de05f69d8ac /src/lib/evas
parent111e1eb9c6e4e2d48a0fcd0caf853712c4492e91 (diff)
evas vg: update render properly.
If tree viewport is changed, vg visual must be updated, This checks internal changed flags to update next frame. @fix
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index b2c91fe18b..66b8241256 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -99,6 +99,9 @@ _update_vgtree_viewport(Eo *obj, Efl_Canvas_Vg_Object_Data *pd)
99 } 99 }
100 100
101 efl_canvas_vg_node_transformation_set(pd->root, &m); 101 efl_canvas_vg_node_transformation_set(pd->root, &m);
102
103 pd->changed = EINA_TRUE;
104 evas_object_change(obj, efl_data_scope_get(obj, EFL_CANVAS_OBJECT_CLASS));
102} 105}
103 106
104static void 107static void
@@ -363,7 +366,7 @@ _efl_canvas_vg_object_efl_object_finalize(Eo *obj, Efl_Canvas_Vg_Object_Data *pd
363} 366}
364 367
365static void 368static void
366_evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *vd, 369_evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd,
367 void *engine, void *output, void *context, void *surface, Efl_VG *n, 370 void *engine, void *output, void *context, void *surface, Efl_VG *n,
368 Eina_Array *clips, Eina_Bool do_async) 371 Eina_Array *clips, Eina_Bool do_async)
369{ 372{