diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-22 18:23:28 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-10 11:24:35 +0100 |
commit | 91cb0fc4432592a8c0806d3e63dc77ce16c73cb6 (patch) | |
tree | a2261095c9dbcf92a4d50fab32bce55f81325cd6 /include/backend | |
parent | 5bd86b94f9a6f3b41d1bc4bbf2985632fdd6d0a7 (diff) |
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.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/renderer.h | 4 |
1 files changed, 1 insertions, 3 deletions
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; }; |