ami pushed a commit to branch master.

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

commit 8e87e56a7cdb28bad1251435e0f2085ca08b9411
Author: Amitesh Singh <amitesh...@samsung.com>
Date:   Thu Oct 15 15:00:11 2015 +0530

    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
---
 src/lib/evas/canvas/evas_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index c5848c3..721a420 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);
      }

-- 


Reply via email to