aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-24 18:21:38 +0100
committerSimon Ser <contact@emersion.fr>2021-01-24 18:21:38 +0100
commit44a3d6e74ddb35f353a92bdd7d004e25c61a2311 (patch)
tree0226b5650f7fbcf7a49509402ce72ca5bff69d6a
parent4f06ce255029a8d216d49e437632e2ecc79ef433 (diff)
backend/drm: document wlr_drm_plane surface fields
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
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 */