forked from enlightenment/efl
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.
This commit is contained in:
parent
3462d99208
commit
88b4646ea7
|
@ -421,9 +421,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);
|
evas_common_draw_context_set_color(context, 255, 255, 255, 255);
|
||||||
|
|
||||||
//ector begin - end for drawing mask images.
|
//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);
|
_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
|
//Actual content drawing
|
||||||
ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_TRUE, do_async);
|
ENFN->ector_begin(engine, buffer, context, ector, 0, 0, EINA_TRUE, do_async);
|
||||||
|
|
Loading…
Reference in New Issue