wayland: support the commit-timing protocol

This protocol allows applications to set the earliest time the compositor should apply the commit. It can be used for example by video players to schedule frames in advance, or to better control the refresh rate with adaptive sync.

BUG: 513283

This is draft only because it needs some more real-world testing; afaict all the important edge cases are taken care of though. For basic testing, I used the weston-simple-timing test app from Weston.

Merge request reports

Loading
Loading