aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
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/backend/drm
parent9203bfdd4fd0257174cd03c34ee02c6138e604b8 (diff)
backend: add get_present_clock
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 3c728808..de5212d3 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -6,6 +6,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
+#include <time.h>
#include <wayland-server.h>
#include <wayland-util.h>
#include <wlr/backend/drm.h>
@@ -67,6 +68,7 @@ struct wlr_drm_backend {
struct wlr_drm_backend *parent;
const struct wlr_drm_interface *iface;
+ clockid_t clock;
int fd;