summaryrefslogtreecommitdiff
path: root/src/lib/evas
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2018-11-28 13:38:23 +0900
committerHermet Park <hermetpark@gmail.com>2018-11-28 13:38:23 +0900
commitbf70b32f049583fc0bf7542af7d89d4ef5d50c55 (patch)
tree9e50e615e86ed0caedb4f4b4e1b33510267f4563 /src/lib/evas
parent700b302517290f9c1622d849ba5eee7aaa4357e7 (diff)
evas ector: Replace renderer preparation responsibility.
Replace fill/stroke renderer preparation of shapes to canvas vg, These renderer now is triggered by their own instances.
Diffstat (limited to 'src/lib/evas')
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_gradient_linear.c3
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_gradient_radial.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_gradient_linear.c b/src/lib/evas/canvas/efl_canvas_vg_gradient_linear.c
index 26b434b00d..b8896f16e6 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_gradient_linear.c
@@ -88,8 +88,7 @@ _efl_canvas_vg_gradient_linear_render_pre(Eo *obj,
88 efl_gfx_gradient_linear_start_set(nd->renderer, pd->start.x, pd->start.y); 88 efl_gfx_gradient_linear_start_set(nd->renderer, pd->start.x, pd->start.y);
89 efl_gfx_gradient_linear_end_set(nd->renderer, pd->end.x, pd->end.y); 89 efl_gfx_gradient_linear_end_set(nd->renderer, pd->end.x, pd->end.y);
90 90
91 //Prepare renderer triggered by ector shape this gradient applied to. 91 ector_renderer_prepare(nd->renderer);
92 //ector_renderer_prepare(nd->renderer);
93} 92}
94 93
95static Eo * 94static Eo *
diff --git a/src/lib/evas/canvas/efl_canvas_vg_gradient_radial.c b/src/lib/evas/canvas/efl_canvas_vg_gradient_radial.c
index a56c2200ba..d452b51aab 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_gradient_radial.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_gradient_radial.c
@@ -105,8 +105,7 @@ _efl_canvas_vg_gradient_radial_render_pre(Eo *obj,
105 efl_gfx_gradient_radial_focal_set(nd->renderer, pd->focal.x, pd->focal.y); 105 efl_gfx_gradient_radial_focal_set(nd->renderer, pd->focal.x, pd->focal.y);
106 efl_gfx_gradient_radial_radius_set(nd->renderer, pd->radius); 106 efl_gfx_gradient_radial_radius_set(nd->renderer, pd->radius);
107 107
108 //Prepare renderer triggered by ector shape this gradient applied to. 108 ector_renderer_prepare(nd->renderer);
109 //ector_renderer_prepare(nd->renderer);
110} 109}
111 110
112static Eo * 111static Eo *