From 1c24b1182ba39cb8c508580713336dcf79e6a295 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 30 Oct 2023 18:37:13 +0100 Subject: backend: drop wlr_backend_get_presentation_clock() We can just assume CLOCK_MONOTONIC everywhere. Simplifies the backend API, and fixes clock mismatches when multiple backends are used together with different clocks. --- include/backend/drm/drm.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/backend/drm') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 69416925..c7dd70f8 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include @@ -79,7 +78,6 @@ struct wlr_drm_backend { struct wlr_drm_backend *parent; const struct wlr_drm_interface *iface; - clockid_t clock; bool addfb2_modifiers; int fd; -- cgit v1.2.3