backend/drm: remove primary swapchain

We can't nuke it completely, we still need it for multi-GPU.
This commit is contained in:
Simon Ser 2021-06-08 11:05:50 +02:00
parent 85d7ad2eef
commit f5900c1f00
4 changed files with 52 additions and 205 deletions

View file

@ -20,9 +20,7 @@ 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. */
/* Only initialized on multi-GPU setups */
struct wlr_drm_surface mgpu_surf;
/* Buffer to be submitted to the kernel on the next page-flip */