aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/drm/drm.h4
1 files changed, 4 insertions, 0 deletions
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 {