aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-01-04 19:12:46 +0100
committerSimon Ser <contact@emersion.fr>2023-02-20 18:38:57 +0100
commitb4e9487312a8b5b80c56ddfdd5751c12882cd3a9 (patch)
tree2658f57a66da64ecfb1104933b9675ee60952bab /include/backend/drm
parentc3d969d2d43789167f2cc69cc040219fbdd3e7a1 (diff)
backend/drm: init wlr_drm_plane for all plane types
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 01971e52..0c07811b 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -64,6 +64,9 @@ struct wlr_drm_backend {
size_t num_crtcs;
struct wlr_drm_crtc *crtcs;
+ size_t num_planes;
+ struct wlr_drm_plane *planes;
+
struct wl_display *display;
struct wl_event_source *drm_event;