1
0
Fork 0
mutter-performance-source/clutter
Daniel van Vugt 2ebb183629
clutter/frame-clock: Move "last" frame fields into structs
While in double buffering we only care about one previous presentation,
triple buffering will sometimes need to refer to the presentation from
two dispatches prior. So it might help to separate those frame stats
more clearly. This way each frame's dispatch and presentation times are
stored more cohesively such as to not be overwritten during overlapping
frame lifetimes.

Having two types of frame reference (dispatch and presentation) moving
at difference speeds meant that they could not be stored in a ring. Not
all dispatches become presentations and so storing them in a ring would
necessitate very complex conflict avoidance. Instead, a simple reference
counting model was used.

(cherry picked from commit 817a951b246b64fd1c4148e486d24017f71fc4c4)
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3961>
Signed-off-by: Mingi Sung <sungmg@saltyming.net>
2024-10-22 17:00:57 +09:00
..
clutter clutter/frame-clock: Move "last" frame fields into structs 2024-10-22 17:00:57 +09:00
meson.build clutter/settings: Remove unused fontconfig-timestamp property 2024-08-22 19:09:51 +00:00