Skip to content

WIP: xwayland: add support for presentation-time

Simon Ser requested to merge emersion/xserver:presentation-time into master

This change just replaces wl_surface.frame with presentation-time when available. This allows the X11 PresentCompleteNotify events to be sent right after vblank like X11 clients expect, even if the compositor sends delayed wl_surface.frame events (e.g. Sway can be configured to do so).

This is groundwork for taking advantage of more presentation-time features, like accurate timing information and multiple frames in flight at the same time.

Signed-off-by: Simon Ser contact@emersion.fr


Preliminary testing shows that we miss some vblanks in xwl_present_queue_vblank.

References: #971

Merge request reports

Loading