From 44a3d6e74ddb35f353a92bdd7d004e25c61a2311 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 24 Jan 2021 18:21:38 +0100 Subject: backend/drm: document wlr_drm_plane surface fields --- include/backend/drm/drm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/backend') diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h index 52aacf39..42680d74 100644 --- a/include/backend/drm/drm.h +++ b/include/backend/drm/drm.h @@ -20,7 +20,9 @@ struct wlr_drm_plane { uint32_t type; uint32_t id; + /* Local if this isn't a multi-GPU setup, on the parent otherwise. */ struct wlr_drm_surface surf; + /* Local, only initialized on multi-GPU setups. */ struct wlr_drm_surface mgpu_surf; /* Buffer to be submitted to the kernel on the next page-flip */ -- cgit v1.2.3