mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/wayland: add support for presentation-time
This commit is contained in:
parent
2122e49bea
commit
e959b882d5
4 changed files with 99 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue