diff options
author | Simon Ser <contact@emersion.fr> | 2019-11-16 21:05:46 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-11-21 11:32:30 -0500 |
commit | e959b882d52788158fd8cd5db1bc32ef1d93533b (patch) | |
tree | 1a3f575a0b8f92a05f18e3739bf3b7a52978a121 /include/backend | |
parent | 2122e49beaac2453707c136e418e196a41537912 (diff) |
backend/wayland: add support for presentation-time
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/wayland.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h index f2cf55ed..0bd4a617 100644 --- a/include/backend/wayland.h +++ b/include/backend/wayland.h @@ -35,6 +35,7 @@ struct wlr_wl_backend { struct xdg_wm_base *xdg_wm_base; struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1; struct zwp_pointer_gestures_v1 *zwp_pointer_gestures_v1; + struct wp_presentation *presentation; struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1; struct zwp_relative_pointer_manager_v1 *zwp_relative_pointer_manager_v1; struct wl_seat *seat; @@ -46,6 +47,13 @@ struct wlr_wl_backend { struct wlr_drm_format_set linux_dmabuf_v1_formats; }; +struct wlr_wl_presentation_feedback { + struct wlr_wl_output *output; + struct wl_list link; + struct wp_presentation_feedback *feedback; + uint32_t commit_seq; +}; + struct wlr_wl_output { struct wlr_output wlr_output; @@ -61,6 +69,7 @@ struct wlr_wl_output { EGLSurface egl_surface; struct wl_buffer *pending_wl_buffer, *current_wl_buffer; struct wlr_buffer *current_buffer; + struct wl_list presentation_feedbacks; uint32_t enter_serial; |