render: remove wlr_texture_to_dmabuf

This is unused in wlroots, and the use-cases for compositors are
pretty niche since they can access the original DMA-BUF via the
wlr_buffer.
This commit is contained in:
Simon Ser 2021-03-25 21:07:58 +01:00
parent 1cdef8da57
commit 9ecfa4343a
6 changed files with 0 additions and 84 deletions

View file

@ -69,8 +69,6 @@ struct wlr_texture_impl {
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,
const void *data);
bool (*to_dmabuf)(struct wlr_texture *texture,
struct wlr_dmabuf_attributes *attribs);
void (*destroy)(struct wlr_texture *texture);
};