forked from enlightenment/efl
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:
parent
11846b406b
commit
8e87e56a7c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue