diff options
author | Simon Ser <contact@emersion.fr> | 2021-03-25 21:07:58 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-04-08 09:09:50 +0200 |
commit | 9ecfa4343a6d92fa057802a2911281d75a5a4f6f (patch) | |
tree | a34951227ebb351d8226f95f1b940c3d060f181c /render/wlr_texture.c | |
parent | 1cdef8da579f4a021935a0b93967aa7a90bf8859 (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 'render/wlr_texture.c')
-rw-r--r-- | render/wlr_texture.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/render/wlr_texture.c b/render/wlr_texture.c index e9a3e3b4..0fd79908 100644 --- a/render/wlr_texture.c +++ b/render/wlr_texture.c @@ -65,11 +65,3 @@ bool wlr_texture_write_pixels(struct wlr_texture *texture, return texture->impl->write_pixels(texture, stride, width, height, src_x, src_y, dst_x, dst_y, data); } - -bool wlr_texture_to_dmabuf(struct wlr_texture *texture, - struct wlr_dmabuf_attributes *attribs) { - if (!texture->impl->to_dmabuf) { - return false; - } - return texture->impl->to_dmabuf(texture, attribs); -} |