aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-01 22:44:33 +0200
committeremersion <contact@emersion.fr>2018-10-04 21:58:17 +0200
commit54e1287f307d13566deaf51683da373f3524d1d9 (patch)
treeb1361c23ac87e12a01cb7e5f39142a0d1cf9c2b3 /include/wlr/backend
parent9203bfdd4fd0257174cd03c34ee02c6138e604b8 (diff)
backend: add get_present_clock
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index 2c300709..a930c241 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -10,6 +10,7 @@
#define WLR_BACKEND_INTERFACE_H
#include <stdbool.h>
+#include <time.h>
#include <wlr/backend.h>
#include <wlr/render/egl.h>
@@ -18,6 +19,7 @@ struct wlr_backend_impl {
void (*destroy)(struct wlr_backend *backend);
struct wlr_renderer *(*get_renderer)(struct wlr_backend *backend);
struct wlr_session *(*get_session)(struct wlr_backend *backend);
+ clockid_t (*get_present_clock)(struct wlr_backend *backend);
};
/**