Revert "evas map: calc map geometry when it is out of screen"

This reverts commit 8a7817cdd9.

Sorry, I didn't intend this patch...
This commit is contained in:
Hermet Park 2018-11-27 11:24:10 +09:00
parent 8a7817cdd9
commit c9d20d488b
1 changed files with 0 additions and 18 deletions

View File

@ -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;