Defer marking dirty clippees when clip recalc occurs to avoid recursion.
SVN revision: 15948
This commit is contained in:
parent
8aa4d69a59
commit
ed1708a531
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue