forked from enlightenment/efl
parent
db56e7b36f
commit
6895455001
|
@ -2232,6 +2232,13 @@ _proxy_subrender(Evas *e, Evas_Object *source)
|
|||
source->proxy.h = h;
|
||||
}
|
||||
|
||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||
e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
|
||||
e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);
|
||||
e->engine.func->rectangle_draw(e->engine.data.output, ctx,
|
||||
source->proxy.surface, 0, 0, w, h);
|
||||
e->engine.func->context_free(e->engine.data.output, ctx);
|
||||
|
||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||
evas_render_mapped(e, source, ctx, source->proxy.surface,
|
||||
-source->cur.geometry.x,
|
||||
|
@ -2241,12 +2248,6 @@ _proxy_subrender(Evas *e, Evas_Object *source)
|
|||
source->proxy.surface = e->engine.func->image_dirty_region
|
||||
(e->engine.data.output, source->proxy.surface, 0, 0, w, h);
|
||||
/*
|
||||
e->engine.func->context_color_set(e->engine.data.output, ctx, 0, 0, 0, 0);
|
||||
e->engine.func->context_render_op_set(e->engine.data.output, ctx, EVAS_RENDER_COPY);
|
||||
e->engine.func->rectangle_draw(e->engine.data.output, ctx,
|
||||
source->proxy.surface, 0, 0, w, h);
|
||||
e->engine.func->context_free(e->engine.data.output, ctx);
|
||||
|
||||
ctx = e->engine.func->context_new(e->engine.data.output);
|
||||
if (source->smart.smart)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue