summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-03-07 21:27:51 +0900
committerHermet Park <hermetpark@gmail.com>2019-03-08 11:21:03 +0900
commit88b4646ea7bbe003f337a0ea0536b11eccf3a3c5 (patch)
treea47d9ccbd3912a89b940ebcd5ad142e4e8e22888
parent3462d9920808db26e5c6f634135d684f901b275d (diff)
canvas vg: prevent vector rendering corruption.
It may occur some threading corruption, since ector raster uses thread internally. Unfortunately the issue is rarely occured, hardly catch the exact point. But I guess this ector drawing range may be the root cause. Commented out them as it did before, until we could make the issue sure.
-rw-r--r--src/lib/evas/canvas/efl_canvas_vg_object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_vg_object.c b/src/lib/evas/canvas/efl_canvas_vg_object.c
index e40fe78f78..63609dc0b0 100644
--- a/src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/src/lib/evas/canvas/efl_canvas_vg_object.c
@@ -421,9 +421,9 @@ _render_to_buffer(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd
421 evas_common_draw_context_set_color(context, 255, 255, 255, 255); 421 evas_common_draw_context_set_color(context, 255, 255, 255, 255);
422 422
423 //ector begin - end for drawing mask images. 423 //ector begin - end for drawing mask images.
424 ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_FALSE, EINA_FALSE); 424 //ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_FALSE, EINA_FALSE);
425 _evas_vg_render_pre(obj, root, engine, buffer, context, ector, NULL, NULL, 0); 425 _evas_vg_render_pre(obj, root, engine, buffer, context, ector, NULL, NULL, 0);
426 ENFN->ector_end(engine, buffer, context, ector, EINA_FALSE); 426 //ENFN->ector_end(engine, buffer, context, ector, EINA_FALSE);
427 427
428 //Actual content drawing 428 //Actual content drawing
429 ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_TRUE, do_async); 429 ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_TRUE, do_async);