backend/drm: document wlr_drm_plane surface fields

This commit is contained in:
Simon Ser 2021-01-24 18:21:38 +01:00
parent 4f06ce2550
commit 44a3d6e74d
1 changed files with 2 additions and 0 deletions

View File

@ -20,7 +20,9 @@ struct wlr_drm_plane {
uint32_t type; uint32_t type;
uint32_t id; uint32_t id;
/* Local if this isn't a multi-GPU setup, on the parent otherwise. */
struct wlr_drm_surface surf; struct wlr_drm_surface surf;
/* Local, only initialized on multi-GPU setups. */
struct wlr_drm_surface mgpu_surf; struct wlr_drm_surface mgpu_surf;
/* Buffer to be submitted to the kernel on the next page-flip */ /* Buffer to be submitted to the kernel on the next page-flip */