From 5bd86b94f9a6f3b41d1bc4bbf2985632fdd6d0a7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 22 Dec 2020 18:08:10 +0100 Subject: backend/drm: add wlr_drm_buf.local_wlr_buf --- include/backend/drm/renderer.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index bfae2c77..7a3e0a92 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -30,10 +30,9 @@ struct wlr_drm_surface { }; struct wlr_drm_fb { - struct wlr_buffer *wlr_buf; - - struct wlr_buffer *mgpu_wlr_buf; + struct wlr_buffer *wlr_buf; // original buffer + struct wlr_buffer *local_wlr_buf; // GPU-local buffer struct gbm_bo *bo; uint32_t id; }; -- cgit v1.2.3