diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-22 18:08:10 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-10 11:24:35 +0100 |
commit | 5bd86b94f9a6f3b41d1bc4bbf2985632fdd6d0a7 (patch) | |
tree | acc9fdd468f33c508565899e103714cafdce21d7 /include | |
parent | cd64610c6677f2e1e90a9aadbef9107e585fc6fc (diff) |
backend/drm: add wlr_drm_buf.local_wlr_buf
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/drm/renderer.h | 5 |
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; }; |