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 (17:31 +0100)
committerMarco Trevisan (Treviño) <marco@ubuntu.com>
Thu, 24 Jan 2019 18:00:14 +0000 (18:00 +0000)
commit25d8b6bba30eac9a1e2d90758713bc60b19fd759
treeca2aeb6a5d6fababc50e4ff2bac1c5835dd4d81a
parent00bf19781edd79082e5bca3ce0107cdd19d61093
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]