Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/canvas


Modified Files:
        evas_render.c 


Log Message:


no that made it worse.. evas renders everything. fix. must find it.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_render.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- evas_render.c       27 Oct 2005 04:25:30 -0000      1.11
+++ evas_render.c       27 Oct 2005 04:36:58 -0000      1.12
@@ -68,17 +68,15 @@
 static void
 _evas_render_phase1_object_process(Evas *e, Evas_Object *obj, Evas_List 
**active_objects, Evas_List **restack_objects, int restack)
 {
+   int is_active;
+   
 /* if (obj->cur.cache.clip.dirty) */
    evas_object_clip_recalc(obj);
    /* build active object list */
-   if (evas_object_is_active(obj))
+   is_active = evas_object_is_active(obj);
+   if (is_active)
      *active_objects = evas_list_append(*active_objects, obj);
-   if (restack)
-     {
-       obj->restack = 1;
-       obj->changed = 1;
-     }
-   if (obj->changed)
+   if ((obj->changed) || (restack))
      {
        if (obj->smart.smart)
          {
@@ -92,13 +90,14 @@
                  obj2 = (Evas_Object *)l;
                  _evas_render_phase1_object_process(e, obj2, 
                                                     active_objects,
-                                                    restack_objects, 
obj->restack);
+                                                    restack_objects,
+                                                    obj->restack | restack);
               }
          }
        else
          {
-            if ((obj->restack) && (!obj->clip.clipees) &&
-                evas_object_is_active(obj))
+            if ((is_active) && (obj->restack | restack) &&
+                (!obj->clip.clipees))
               *restack_objects = evas_list_append(*restack_objects, obj);
             else
               obj->func->render_pre(obj);
@@ -135,8 +134,8 @@
                                                            
obj->cur.cache.clip.h);
               }
          }
-       obj->restack = 0;
      }
+   obj->restack = 0;
 }
 
 static void




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to