aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-22 18:08:10 +0100
committerSimon Ser <contact@emersion.fr>2021-01-10 11:24:35 +0100
commit5bd86b94f9a6f3b41d1bc4bbf2985632fdd6d0a7 (patch)
treeacc9fdd468f33c508565899e103714cafdce21d7 /include
parentcd64610c6677f2e1e90a9aadbef9107e585fc6fc (diff)
backend/drm: add wlr_drm_buf.local_wlr_buf
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/renderer.h5
1 files changed, 2 insertions, 3 deletions
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;
};