aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2015-10-15 15:00:11 +0530
committerAmitesh Singh <amitesh.sh@samsung.com>2015-10-15 15:02:22 +0530
commit8e87e56a7cdb28bad1251435e0f2085ca08b9411 (patch)
tree2a9ba8b0bb713d985690d27b42ec98a0553438d9
parentTests: use eina_environment_tmp_get() (diff)
downloadefl-8e87e56a7cdb28bad1251435e0f2085ca08b9411.tar.gz
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
-rw-r--r--src/lib/evas/canvas/evas_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index c5848c3adf..721a4204fe 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -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);
}