From cdb86e34bbf82bd91aefd686bfc3bdf2a018a956 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Fri, 1 Nov 2013 11:09:58 +0900 Subject: Evas: Fixed textblock rendering to properly set render operation on context. Render operation are not well tested. It appears that it was never properly setted on a textblock, this would lead to see it rendered with the render operation of another object. Test Plan: Add some rectangle object with textblock object. The textblock style should be set to "backing=on backing_color=#ffffffff". Set render operation to some rectangle with "evas_object_render_op_set(rect, EVAS_RENDER_COPY)". Check the textblock. Reviewers: woohyun, cedric, raster Reviewed By: cedric CC: cedric Differential Revision: https://phab.enlightenment.org/D277 Signed-off-by: Cedric Bail --- src/lib/evas/canvas/evas_object_textblock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib') diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index 0566f9303f..0c01a86a5b 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -10726,6 +10726,7 @@ evas_object_textblock_render(Evas_Object *eo_obj EINA_UNUSED, /* render object to surface with context, and offxet by x,y */ obj->layer->evas->engine.func->context_multiplier_unset(output, context); + ENFN->context_render_op_set(output, context, obj->cur->render_op); /* FIXME: This clipping is just until we fix inset handling correctly. */ ENFN->context_clip_clip(output, context, obj->cur->geometry.x + x, -- cgit v1.2.1