backend/drm: only keep track of local buffer

Stop keeping track of buffers on the parent GPU when multi-GPU is used.

This removes support for export_dmabuf on secondary GPUs, but renderer
v6 will bring this back by managing the swapchains in wlr_output instead
of the backends.
This commit is contained in:
Simon Ser 2020-12-22 18:23:28 +01:00
parent 5bd86b94f9
commit 91cb0fc443
3 changed files with 9 additions and 11 deletions

View file

@ -30,9 +30,7 @@ struct wlr_drm_surface {
};
struct wlr_drm_fb {
struct wlr_buffer *wlr_buf; // original buffer
struct wlr_buffer *local_wlr_buf; // GPU-local buffer
struct wlr_buffer *wlr_buf;
struct gbm_bo *bo;
uint32_t id;
};