cedric pushed a commit to branch master.

commit f5b01e32ac639b62b749229d8e34dd2f70252cb8
Author: Cedric BAIL <[email protected]>
Date:   Fri Apr 5 15:18:23 2013 +0900

    evas: stop over redraw of Evas_Map content with Smart Object.
    
    Clip object would always stay in a changed state. Nobody was walking them
    to reset. Now we do reset there state as soon as we do render them.
---
 ChangeLog                         | 4 ++++
 NEWS                              | 2 +-
 src/lib/evas/canvas/evas_render.c | 2 ++
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 0191b26..b691765 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-04-05  Cedric Bail
+
+        * Evas: Fix over redrawing of Evas_Map when applied on smart object.
+
 2013-04-04  Jiyoun Park
 
         * Evas font: fix font source have wrong current size.
diff --git a/NEWS b/NEWS
index 8b3fd69..ec5ba53 100644
--- a/NEWS
+++ b/NEWS
@@ -223,4 +223,4 @@ Fixes:
     * Evas font: click on left/right half of char does matter now.
     * Evas font: If OS/2 table is available and the font is demi-bold, don't 
do runtime emboldment.
     * Evas font: fix font source have wrong current size.
-
+    * Evas: Fix over redrawing of Evas_Map when applied on smart object.
diff --git a/src/lib/evas/canvas/evas_render.c 
b/src/lib/evas/canvas/evas_render.c
index 9698e50..8e176ff 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -430,6 +430,7 @@ _evas_render_phase1_object_process(Evas_Public_Data *e, 
Evas_Object *eo_obj,
                   if (obj->is_smart)
                     {
                        Evas_Object_Protected_Data *obj2;
+
                        
EINA_INLIST_FOREACH(evas_object_smart_members_get_direct(eo_obj), obj2)
                          {
                             _evas_render_phase1_object_process(e, obj2->object,
@@ -1114,6 +1115,7 @@ evas_render_mapped(Evas_Public_Data *e, Evas_Object 
*eo_obj,
                                                            , level + 1
 #endif
                                                            , do_async);
+                          evas_object_change_reset(obj2->object);
                        }
                }
              else

-- 

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html

Reply via email to