summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_vg_gradient_linear.c
diff options
context:
space:
mode:
authorSubhransu Mohanty <sub.mohanty@samsung.com>2016-09-28 15:28:27 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-09-28 16:02:12 +0900
commitd54b5fba6c7e7f13ca63a47fc177e4d141995a8d (patch)
treefdf58b7dc4376fcc12124d7080aed5bfffc406a1 /src/lib/evas/canvas/evas_vg_gradient_linear.c
parent19a16ecb6d64f56b36403aa750bdca2acaf0c28e (diff)
ector: make the ector objects as shared object after eo changes.
As ector objects are acessed by draw thread we need to create it as shared object in order to access it from other thread. Note: there is some performance lag... Summary: make ector object as shared eo object to acess from other thread. Reviewers: cedric, jpeg, raster Reviewed By: jpeg, raster Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4319
Diffstat (limited to 'src/lib/evas/canvas/evas_vg_gradient_linear.c')
-rw-r--r--src/lib/evas/canvas/evas_vg_gradient_linear.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_vg_gradient_linear.c b/src/lib/evas/canvas/evas_vg_gradient_linear.c
index 11fb903210..de81987979 100644
--- a/src/lib/evas/canvas/evas_vg_gradient_linear.c
+++ b/src/lib/evas/canvas/evas_vg_gradient_linear.c
@@ -74,7 +74,9 @@ _efl_vg_gradient_linear_render_pre(Eo *obj,
74 74
75 if (!nd->renderer) 75 if (!nd->renderer)
76 { 76 {
77 efl_domain_current_push(EFL_ID_DOMAIN_SHARED);
77 nd->renderer = ector_surface_renderer_factory_new(s, ECTOR_RENDERER_GRADIENT_LINEAR_MIXIN); 78 nd->renderer = ector_surface_renderer_factory_new(s, ECTOR_RENDERER_GRADIENT_LINEAR_MIXIN);
79 efl_domain_current_pop();
78 } 80 }
79 81
80 ector_renderer_transformation_set(nd->renderer, current); 82 ector_renderer_transformation_set(nd->renderer, current);