From 1cdef8da579f4a021935a0b93967aa7a90bf8859 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 16 Mar 2021 11:29:56 +0100 Subject: render: drop wlr_renderer_blit_dmabuf It can be replaced with wlr_renderer_bind_buffer. blit_dmabuf is broken as-is (dies on an assertion). --- include/wlr/render/interface.h | 3 --- include/wlr/render/wlr_renderer.h | 5 ----- 2 files changed, 8 deletions(-) (limited to 'include/wlr/render') diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index fbf17dea..88dc430b 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -57,9 +57,6 @@ struct wlr_renderer_impl { void (*destroy)(struct wlr_renderer *renderer); bool (*init_wl_display)(struct wlr_renderer *renderer, struct wl_display *wl_display); - bool (*blit_dmabuf)(struct wlr_renderer *renderer, - struct wlr_dmabuf_attributes *dst, - struct wlr_dmabuf_attributes *src); int (*get_drm_fd)(struct wlr_renderer *renderer); }; diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h index 96268e38..8369e0f2 100644 --- a/include/wlr/render/wlr_renderer.h +++ b/include/wlr/render/wlr_renderer.h @@ -114,11 +114,6 @@ bool wlr_renderer_read_pixels(struct wlr_renderer *r, uint32_t fmt, uint32_t *flags, uint32_t stride, uint32_t width, uint32_t height, uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y, void *data); -/** - * Blits the dmabuf in src onto the one in dst. - */ -bool wlr_renderer_blit_dmabuf(struct wlr_renderer *r, - struct wlr_dmabuf_attributes *dst, struct wlr_dmabuf_attributes *src); /** * Creates necessary shm and invokes the initialization of the implementation. * -- cgit v1.2.3