deform-effect: do not redraw actor on invalidate

When invalidating the deform effect, we are invalidating the vertices
shaping the deformation of an actor. Therefore, there is no need to
trigger a redraw of the associated actor, we can just repaint the
effect.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com>

https://bugzilla.gnome.org/show_bug.cgi?id=663720
This commit is contained in:
Lionel Landwerlin 2011-11-09 02:04:31 +00:00 committed by Emmanuele Bassi
parent b5ac927763
commit e7720c4156

View File

@ -766,5 +766,5 @@ clutter_deform_effect_invalidate (ClutterDeformEffect *effect)
actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect)); actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect));
if (actor != NULL) if (actor != NULL)
clutter_actor_queue_redraw (actor); clutter_effect_queue_repaint (CLUTTER_EFFECT (effect));
} }