diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-06 18:40:44 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-20 18:38:57 +0100 |
commit | 22d9df2af483bb862c24bcb973e8ab3475759ebe (patch) | |
tree | 0927781214187a7db607d6a54f5503e66e828331 /include/backend | |
parent | e1335a792aff0dfbe3d95389e3a576297906b700 (diff) |
backend/drm: send output layer feedback events
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/drm.h | 4 |
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 { |