xwayland: add support for presentation-time

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>
4 jobs for presentation-time in 6 minutes and 43 seconds (queued for 3 seconds)
latest