diff options
author | Lionel Landwerlin <lionel.g.landwerlin@linux.intel.com> | 2011-11-09 02:04:31 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2011-11-14 12:01:07 +0000 |
commit | e7720c415649cb67453b90764258f398f8e97107 (patch) | |
tree | d0ae3c8bf703b0a71cbbc22003fbd8796855c42a | |
parent | b5ac9277636bdeabcd3f2b6b62e234b085a5f49f (diff) | |
download | clutter-e7720c415649cb67453b90764258f398f8e97107.tar.gz |
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
-rw-r--r-- | clutter/clutter-deform-effect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/clutter-deform-effect.c b/clutter/clutter-deform-effect.c index 5f1954e44..ddac5db9d 100644 --- a/clutter/clutter-deform-effect.c +++ b/clutter/clutter-deform-effect.c @@ -766,5 +766,5 @@ clutter_deform_effect_invalidate (ClutterDeformEffect *effect) actor = clutter_actor_meta_get_actor (CLUTTER_ACTOR_META (effect)); if (actor != NULL) - clutter_actor_queue_redraw (actor); + clutter_effect_queue_repaint (CLUTTER_EFFECT (effect)); } |