canvas vg: prevent vector rendering corruption. 64/201064/1
authorHermet Park <hermetpark@gmail.com>
Thu, 7 Mar 2019 12:27:51 +0000 (21:27 +0900)
committerHermet Park <hermetpark@gmail.com>
Fri, 8 Mar 2019 02:31:25 +0000 (11:31 +0900)
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.

Change-Id: Ie53b9d2ddf57fbb9da770e595f421e7a03dcc9be

src/lib/evas/canvas/efl_canvas_vg_object.c

index d52a340..262a9af 100644 (file)
@@ -525,9 +525,9 @@ _render_to_buffer(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd
    evas_common_draw_context_set_color(context, 255, 255, 255, 255);
 
    //ector begin - end for drawing mask images.
-   ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_FALSE, EINA_FALSE);
+   //ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_FALSE, EINA_FALSE);
    _evas_vg_render_pre(obj, root, engine, buffer, context, ector, NULL, NULL, 0);
-   ENFN->ector_end(engine, buffer, context, ector, EINA_FALSE);
+   //ENFN->ector_end(engine, buffer, context, ector, EINA_FALSE);
 
    //Actual content drawing
    ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_TRUE, do_async);