From: Jeonghyun Yun Date: Thu, 28 Sep 2017 02:36:44 +0000 (+0900) Subject: circle_surface: add circle surface finish code when surface update X-Git-Tag: submit/tizen/20171012.123430~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06d6447f8c5478ad83d026a3899e7599a699f40c;p=platform%2Fcore%2Fuifw%2Fefl-ext.git circle_surface: add circle surface finish code when surface update cairo and cairo render should be finished when w or h is 0 because of surface update by resize_cb or show_cb Change-Id: I8041997f7dc677fb120ba74b8a659eb0192ce078 Signed-off-by: Jeonghyun Yun --- diff --git a/src/wearable/circle/efl_extension_circle_surface.c b/src/wearable/circle/efl_extension_circle_surface.c index 5fd99cd..22aadf4 100644 --- a/src/wearable/circle/efl_extension_circle_surface.c +++ b/src/wearable/circle/efl_extension_circle_surface.c @@ -307,6 +307,14 @@ _eext_circle_surface_update(Eext_Circle_Surface *surface) _eext_circle_surface_cairo_init(surface); _eext_circle_surface_changed(surface); } + else + { + if (surface->cairo_surface || surface->cairo) + { + _eext_circle_surface_cairo_finish(surface); + _eext_circle_surface_render_finish(surface); + } + } } static void