aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-04 22:18:19 +0200
committerGitHub <noreply@github.com>2018-10-04 22:18:19 +0200
commit24a48d4858a9d5eda0be86e20cbf0d378895063a (patch)
tree6fbd71fd0fe6f06183a7ee94b03727f69341328b /include/wlr/backend
parentc67ce71fddeae90f6b3d89a742a77d049ffb3e20 (diff)
parenteac7c2ad2faf49084342d9f805cf06b773723fdd (diff)
Merge pull request #1272 from emersion/presentation-time
Implement presentation-time
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..4a6a5cbb 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_presentation_clock)(struct wlr_backend *backend);
};
/**