diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-12 17:22:22 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-07-28 22:52:35 +0200 |
commit | 9b99570869e41158b2cd5681b6403a74312fcc69 (patch) | |
tree | 039ca6ffe61c8e68368c83c073884026ab65f76f /include/backend | |
parent | ebb661532c57bf5c44301b03602abd2cd30f794f (diff) |
backend/drm: drop drm_surface_{make,unset}_current
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/drm/renderer.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/backend/drm/renderer.h b/include/backend/drm/renderer.h index 17025dfc..528f2189 100644 --- a/include/backend/drm/renderer.h +++ b/include/backend/drm/renderer.h @@ -26,7 +26,6 @@ struct wlr_drm_surface { uint32_t height; struct wlr_swapchain *swapchain; - struct wlr_buffer *back_buffer; }; struct wlr_drm_fb { @@ -46,8 +45,6 @@ void finish_drm_renderer(struct wlr_drm_renderer *renderer); bool init_drm_surface(struct wlr_drm_surface *surf, struct wlr_drm_renderer *renderer, uint32_t width, uint32_t height, const struct wlr_drm_format *drm_format); -bool drm_surface_make_current(struct wlr_drm_surface *surf, int *buffer_age); -void drm_surface_unset_current(struct wlr_drm_surface *surf); bool drm_fb_import(struct wlr_drm_fb **fb, struct wlr_drm_backend *drm, struct wlr_buffer *buf, const struct wlr_drm_format_set *formats); |