From 91cb0fc4432592a8c0806d3e63dc77ce16c73cb6 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 22 Dec 2020 18:23:28 +0100 Subject: 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. --- include/backend/drm/renderer.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/backend/drm') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 7a3e0a92..8316a070 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -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; }; -- cgit v1.2.3