Sync to the hardware refresh rate, not just 60.00Hz
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 29 Nov 2018 16:31:58 +0000 (16:31 +0000)
committerIain Lane <laney@debian.org>
Thu, 13 Dec 2018 16:45:30 +0000 (16:45 +0000)
commit3c405bb63755ed639d77ed8d80b3558f94bfd8f8
treeead2f51c5b1f0193a6479b74d707c60703a93025
parent0d94e6c0ab65883a39e38b927479dbbf5bd048ff
Sync to the hardware refresh rate, not just 60.00Hz

The Clutter master clock supports three synchronization methods in order of
preference:
  (a) Hardware presentation times
  (b) Swap throttling
  (c) Fake vsync at 60.00Hz
X11 already supports all three but Wayland only has (c). This patch implements
both (a) and (b) for Wayland bringing it in line with X11.

Origin: https://gitlab.gnome.org/GNOME/mutter/merge_requests/171 via backport https://gitlab.gnome.org/GNOME/mutter/merge_requests/318
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=781296
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1763892
Forwarded: yes
Last-Update: 2018-11-23

Gbp-Pq: Name Sync-to-the-hardware-refresh-rate-not-just-60.00Hz.patch
src/Makefile.am
src/backends/native/meta-gpu-kms.c
src/backends/native/meta-gpu-kms.h
src/backends/native/meta-renderer-native.c
src/meta-marshal.list [new file with mode: 0644]