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)
committerSimon McVittie <smcv@debian.org>
Wed, 6 Feb 2019 10:02:14 +0000 (10:02 +0000)
commit60eecdb8963a5076f687591845ca0685bb1b0d3f
tree4d69939a5859fb403cf2ed0c0d6b60375dac6144
parent4ca469fe4669c8d258553435943c962b59b61328
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]