[clutter] deform-effect: do not redraw actor on invalidate



commit e7720c415649cb67453b90764258f398f8e97107
Author: Lionel Landwerlin <lionel g landwerlin linux intel com>
Date:   Wed Nov 9 02:04:31 2011 +0000

    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

 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 5f1954e..ddac5db 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));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]