[mutter/gbsneto/pick-culling] clutter/actor: Invalidate paint volumes when absolute geometry changes



commit a8b769e23fb59e2f3b9f95748aa3716d919a695b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Oct 22 21:36:53 2020 -0300

    clutter/actor: Invalidate paint volumes when absolute geometry changes

 clutter/clutter/clutter-actor.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c
index 1a9a2143dc..e38085ca8a 100644
--- a/clutter/clutter/clutter-actor.c
+++ b/clutter/clutter/clutter-actor.c
@@ -2452,6 +2452,9 @@ clutter_actor_notify_if_geometry_changed (ClutterActor          *self,
 static void
 absolute_geometry_changed (ClutterActor *actor)
 {
+  actor->priv->last_paint_volume_valid = FALSE;
+  actor->priv->paint_volume_valid = FALSE;
+
   queue_update_stage_views (actor);
 }
 


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