From: Hermet Park Date: Tue, 27 Nov 2018 02:24:10 +0000 (+0900) Subject: Revert "evas map: calc map geometry when it is out of screen" X-Git-Tag: submit/tizen/20181205.064917~73 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c608c8afd61110c0174edb26014a18116b05245d;p=platform%2Fupstream%2Fefl.git Revert "evas map: calc map geometry when it is out of screen" This reverts commit 8a7817cdd9e3a347c301370c2d401a4c5691b6d8. Sorry, I didn't intend this patch... --- diff --git a/src/lib/evas/canvas/evas_object_main.c b/src/lib/evas/canvas/evas_object_main.c index 69e2fcf..e0f02da 100644 --- a/src/lib/evas/canvas/evas_object_main.c +++ b/src/lib/evas/canvas/evas_object_main.c @@ -364,29 +364,11 @@ evas_object_clip_recalc_do(Evas_Object_Protected_Data *obj, Evas_Object_Protecte int cx, cy, cw, ch, cr, cg, cb, ca; int nx, ny, nw, nh, nr, ng, nb, na; Eina_Bool cvis, nvis; - Evas_Public_Data *e; evas_object_coords_recalc(obj->object, obj); if (EINA_UNLIKELY((!!obj->map) && (obj->map->cur.map) && (obj->map->cur.usemap))) { - e = obj->layer->evas; - if (!evas_object_is_active(obj->object, obj) && - ((obj->map->cur.map->normal_geometry.x + - obj->map->cur.map->normal_geometry.w <= 0) || - (obj->map->cur.map->normal_geometry.y + - obj->map->cur.map->normal_geometry.h <= 0) || - (obj->map->cur.map->normal_geometry.x >= e->output.w) || - obj->map->cur.map->normal_geometry.y >= e->output.h)) - { - /* out of screen, but need to calc map geometry to update cache */ - cy = obj->map->cur.map->normal_geometry.y; - cx = obj->map->cur.map->normal_geometry.x; - cw = obj->cur->geometry.w; - ch = obj->cur->geometry.h; - evas_object_map_update(obj->object, cx, cy, cw, ch, cw, ch); - } - cx = obj->map->cur.map->normal_geometry.x; cy = obj->map->cur.map->normal_geometry.y; cw = obj->map->cur.map->normal_geometry.w;