summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ector/software/ector_renderer_software_shape.c8
-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
3 files changed, 2 insertions, 12 deletions
diff --git a/src/lib/ector/software/ector_renderer_software_shape.c b/src/lib/ector/software/ector_renderer_software_shape.c
index d0205d1687..be96c827ee 100644
--- a/src/lib/ector/software/ector_renderer_software_shape.c
+++ b/src/lib/ector/software/ector_renderer_software_shape.c
@@ -631,14 +631,6 @@ _ector_renderer_software_shape_ector_renderer_prepare(Eo *obj,
631{ 631{
632 Ector_Software_Shape_Task *task; 632 Ector_Software_Shape_Task *task;
633 633
634 // FIXME: shouldn't this be part of the shape generic implementation?
635 if (pd->shape->fill)
636 ector_renderer_prepare(pd->shape->fill);
637 if (pd->shape->stroke.fill)
638 ector_renderer_prepare(pd->shape->stroke.fill);
639 if (pd->shape->stroke.marker)
640 ector_renderer_prepare(pd->shape->stroke.marker);
641
642 // FIXME: shouldn't this be moved to the software base object? 634 // FIXME: shouldn't this be moved to the software base object?
643 if (!pd->surface) 635 if (!pd->surface)
644 pd->surface = efl_data_xref(pd->base->surface, ECTOR_SOFTWARE_SURFACE_CLASS, obj); 636 pd->surface = efl_data_xref(pd->base->surface, ECTOR_SOFTWARE_SURFACE_CLASS, obj);
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 *