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

SVN revision: 15948
This commit is contained in:
rbdpngn 2005-07-30 06:12:27 +00:00 committed by rbdpngn
parent 8aa4d69a59
commit ed1708a531
1 changed files with 6 additions and 2 deletions

View File

@ -52,6 +52,12 @@ evas_object_clip_recalc(Evas_Object *obj)
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_object_clip_dirty(Evas_Object *obj)
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