mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
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:
parent
b5ac927763
commit
e7720c4156
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user