summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbdpngn <rbdpngn>2005-07-30 06:12:27 +0000
committerrbdpngn <rbdpngn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-07-30 06:12:27 +0000
commited1708a5319ca153e903b978290fe910b9b0e803 (patch)
tree6d32d9ad1aba247a5fa6f74f1d0f70856c89987c
parent8aa4d69a597ea450ad183026fd0ab00ab86cb781 (diff)
Defer marking dirty clippees when clip recalc occurs to avoid recursion.
SVN revision: 15948
-rw-r--r--legacy/evas/src/lib/canvas/evas_clip.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_clip.c b/legacy/evas/src/lib/canvas/evas_clip.c
index a8ad5914d7..5a1f12f9ff 100644
--- a/legacy/evas/src/lib/canvas/evas_clip.c
+++ b/legacy/evas/src/lib/canvas/evas_clip.c
@@ -52,6 +52,12 @@ evas_object_clip_recalc(Evas_Object *obj)
52 obj->cur.cache.clip.b = cb; 52 obj->cur.cache.clip.b = cb;
53 obj->cur.cache.clip.a = ca; 53 obj->cur.cache.clip.a = ca;
54 obj->cur.cache.clip.dirty = 0; 54 obj->cur.cache.clip.dirty = 0;
55 if (cvis)
56 {
57 Evas_List *l;
58 for (l = obj->clip.clipees; l; l = l->next)
59 evas_object_clip_dirty(l->data);
60 }
55} 61}
56 62
57void 63void
@@ -60,8 +66,6 @@ evas_object_clip_dirty(Evas_Object *obj)
60 Evas_List *l; 66 Evas_List *l;
61 67
62 obj->cur.cache.clip.dirty = 1; 68 obj->cur.cache.clip.dirty = 1;
63 for (l = obj->clip.clipees; l; l = l->next)
64 evas_object_clip_dirty(l->data);
65} 69}
66 70
67void 71void