xwayland: Add fallback timer for msc counting

Graphics / X.Org / X.Org Server - Roman Gilg [gmail.com] - 28 March 2018 18:36 EDT

When the compositor is not sending frame callbacks while we still wait on buffer release events fake a continuous msc counter with a timer.

Having this timer is a prerequisite for queuing events.

86df36697 xwayland: Add fallback timer for msc counting
hw/xwayland/xwayland-present.c | 70 ++++++++++++++++++++++++++++++++++++++++++
hw/xwayland/xwayland.h | 3 ++
2 files changed, 73 insertions(+)

Upstream: cgit.freedesktop.org


  • Share