diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-04 22:18:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 22:18:19 +0200 |
commit | 24a48d4858a9d5eda0be86e20cbf0d378895063a (patch) | |
tree | 6fbd71fd0fe6f06183a7ee94b03727f69341328b /include/wlr/backend.h | |
parent | c67ce71fddeae90f6b3d89a742a77d049ffb3e20 (diff) | |
parent | eac7c2ad2faf49084342d9f805cf06b773723fdd (diff) |
Merge pull request #1272 from emersion/presentation-time
Implement presentation-time
Diffstat (limited to 'include/wlr/backend.h')
-rw-r--r-- | include/wlr/backend.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h index dfb8d2a8..54f2b5e8 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -62,5 +62,9 @@ struct wlr_renderer *wlr_backend_get_renderer(struct wlr_backend *backend); * Might return NULL for backends that don't use a session. */ struct wlr_session *wlr_backend_get_session(struct wlr_backend *backend); +/** + * Returns the clock used by the backend for presentation feedback. + */ +clockid_t wlr_backend_get_presentation_clock(struct wlr_backend *backend); #endif |