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)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 14 Mar 2019 18:39:31 +0000 (18:39 +0000)
commit5dfc823042837246052cd99d6a2c9a50438ab3ab
tree8aef46526b01a1d865ad3c917e4fa51a1a33b557
parentff5eb68a9c86aab3013a27e53761a49ba7c5a48e
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]