4810164885
This concerns only the cases when the presentation timestamp is received directly from the device (from KMS or from GLX). In the majority of cases this timestamp is already MONOTONIC. When it isn't, after this commit, the current value of the MONOTONIC clock is sampled instead. The alternative is to store the clock id alongside the timestamp, with possible values of MONOTONIC, REALTIME (from KMS) and GETTIMEOFDAY (from GLX; this might be the same as REALTIME, I'm not sure), and then "convert" the timestamp to MONOTONIC when needed. An example of such a conversion was done in compositor.c (removed in this commit). It would also be needed for the presentation-time Wayland protocol. However, it seems that the vast majority of up-to-date systems are using MONOTONIC anyway, making this effort not justified. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1484> |
||
---|---|---|
.. | ||
cogl | ||
cogl-pango | ||
test-fixtures | ||
tests | ||
.gitignore | ||
cogl-config.h.meson | ||
cogl-mutter-config.h.in | ||
config-custom.h | ||
meson.build |