Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/evas

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


Modified Files:
        evas_clip.c 


Log Message:
Defer marking dirty clippees when clip recalc occurs to avoid recursion.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_clip.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- evas_clip.c 30 Jul 2005 05:55:15 -0000      1.19
+++ evas_clip.c 30 Jul 2005 06:12:27 -0000      1.20
@@ -52,6 +52,12 @@
    obj->cur.cache.clip.b = cb;
    obj->cur.cache.clip.a = ca;
    obj->cur.cache.clip.dirty = 0;
+   if (cvis)
+     {
+       Evas_List *l;
+       for (l = obj->clip.clipees; l; l = l->next)
+          evas_object_clip_dirty(l->data);
+     }
 }
 
 void
@@ -60,8 +66,6 @@
    Evas_List *l;
 
    obj->cur.cache.clip.dirty = 1;
-   for (l = obj->clip.clipees; l; l = l->next)
-     evas_object_clip_dirty(l->data);
 }
 
 void




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to