evas: render - use evas_object_clipees_has instead of evas_object_clipees_get

evas_object_clipees_has is far cheaper than evas_object_clipees_get in case of checking if
clipees exist or not. This should improve the performance in case of large set of clipees.

@fix
This commit is contained in:
Amitesh Singh 2015-10-15 15:00:11 +05:30
parent 11846b406b
commit 8e87e56a7c
1 changed files with 1 additions and 1 deletions

View File

@ -2541,7 +2541,7 @@ evas_render_updates_internal(Evas *eo_e,
evas_object_clip_set(obj->object, e->framespace.clip);
}
}
if (!evas_object_clipees_get(e->framespace.clip))
if (!evas_object_clipees_has(e->framespace.clip))
evas_object_hide(e->framespace.clip);
evas_event_thaw(eo_e);
}