[regression] Login animation stutters and misses most frames
The gnome-shell login animation stutters and misses most frames.
This occurs in
master, but not in
9693462f3250336ca2a5dae316cfd358ca5b6fee is the first bad commit commit 9693462f3250336ca2a5dae316cfd358ca5b6fee Author: Jonas Dreßler <email@example.com> Date: Fri Dec 11 21:02:56 2020 +0100 clutter/actor: Use different view list when picking frame clock of stage Apparently it can happen that a timeline tries to pick a frame clock from an actor that's on a stage, but the actor still doesn't find a frame clock and returns NULL. This probably is the case when starting a timeline right after attaching an actor to a newly created stage, so before the first stage-update cycle. In this case clutter_actor_update_stage_views() will not have run and the stage-actor will have priv->stage_views set to NULL even though there are stage views. To prevent this from happening, use the complete list of stage views maintained by the backend when picking a frame clock for the stage. This doesn't fix any issue appearing on master, but is correct nonetheless. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1631> clutter/clutter/clutter-actor.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-)