From 22d9df2af483bb862c24bcb973e8ab3475759ebe Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 6 Feb 2023 18:40:44 +0100 Subject: backend/drm: send output layer feedback events --- include/backend/drm/drm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 36e72b7a..3b895db3 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -38,6 +38,7 @@ struct wlr_drm_plane { }; struct wlr_drm_layer { + struct wlr_output_layer *wlr; struct liftoff_layer *liftoff; struct wlr_addon addon; // wlr_output_layer.addons struct wl_list link; // wlr_drm_crtc.layers @@ -50,6 +51,9 @@ struct wlr_drm_layer { struct wlr_drm_fb *current_fb; int pending_width, pending_height; + + // One entry per wlr_drm_backend.planes + bool *candidate_planes; }; struct wlr_drm_crtc { -- cgit v1.2.3