aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/interface.h
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-25 21:07:58 +0100
committerSimon Ser <contact@emersion.fr>2021-04-08 09:09:50 +0200
commit9ecfa4343a6d92fa057802a2911281d75a5a4f6f (patch)
treea34951227ebb351d8226f95f1b940c3d060f181c /include/wlr/render/interface.h
parent1cdef8da579f4a021935a0b93967aa7a90bf8859 (diff)
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.
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r--include/wlr/render/interface.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h
index 88dc430b..f00a8d76 100644
--- a/include/wlr/render/interface.h
+++ b/include/wlr/render/interface.h
@@ -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);
};