hermet pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c9d20d488b7c62f70dd4c05807f854fca76d3fdd

commit c9d20d488b7c62f70dd4c05807f854fca76d3fdd
Author: Hermet Park <[email protected]>
Date:   Tue Nov 27 11:24:10 2018 +0900

    Revert "evas map: calc map geometry when it is out of screen"
    
    This reverts commit 8a7817cdd9e3a347c301370c2d401a4c5691b6d8.
    
    Sorry, I didn't intend this patch...
---
 src/lib/evas/canvas/evas_object_main.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/src/lib/evas/canvas/evas_object_main.c 
b/src/lib/evas/canvas/evas_object_main.c
index 69e2fcf219..e0f02da945 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;

-- 


Reply via email to