Add wl_surface.frame based frame scheduler

This commit is contained in:
Rose Hudson 2023-08-10 12:29:18 +01:00 committed by Kenny Levinsen
parent 98cbf09f8a
commit ad145dce86
4 changed files with 86 additions and 0 deletions

View file

@ -48,6 +48,11 @@ struct wlr_output *wlr_wl_output_create_from_surface(struct wlr_backend *backend
*/
bool wlr_backend_is_wl(const struct wlr_backend *backend);
/**
* Check whether the Wayland server advertises the wp_presentation protocol.
*/
bool wlr_wl_backend_has_presentation_time(struct wlr_backend *backend);
/**
* Check whether the provided input device is a Wayland input device.
*/