summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-01-07 13:22:18 +0900
committerHermet Park <hermetpark@gmail.com>2020-01-07 13:25:47 +0900
commit0313104719992737ac5783714bd9988e2c363ca4 (patch)
tree2fd1f7b9c636268b8627b15c7ed96853a8125276
parent1dd06a1e3d91d2c81a824b159d586ad62144fedb (diff)
canvas vg: remove redudant code.
The render preparation of vector nodes will be done by user_vg_entry_render().
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index 83a59bd6fe..c94cf28b48 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -769,7 +769,6 @@ _efl_canvas_vg_object_render_pre(Evas_Object *eo_obj,
769{ 769{
770 Efl_Canvas_Vg_Object_Data *pd = type_private_data; 770 Efl_Canvas_Vg_Object_Data *pd = type_private_data;
771 int is_v, was_v; 771 int is_v, was_v;
772 Ector_Surface *s;
773 772
774 if (obj->pre_render_done) return; 773 if (obj->pre_render_done) return;
775 obj->pre_render_done = EINA_TRUE; 774 obj->pre_render_done = EINA_TRUE;
@@ -789,12 +788,6 @@ _efl_canvas_vg_object_render_pre(Evas_Object *eo_obj,
789 obj->cur->clipper->private_data); 788 obj->cur->clipper->private_data);
790 } 789 }
791 790
792 // FIXME: handle damage only on changed renderer.
793 // FIXME: Move this render_pre to efl_canvas_vg_render()
794 s = evas_ector_get(obj->layer->evas);
795 if (pd->root && s)
796 _evas_vg_render_pre(obj, pd->root, NULL, NULL, NULL, s, NULL, 255, NULL, 0);
797
798 /* now figure what changed and add draw rects */ 791 /* now figure what changed and add draw rects */
799 /* if it just became visible or invisible */ 792 /* if it just became visible or invisible */
800 is_v = evas_object_is_visible(obj); 793 is_v = evas_object_is_visible(obj);