mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
render: add wlr_texture_to_dmabuf
This commit is contained in:
parent
bd430b8620
commit
5ba1a9af56
7 changed files with 92 additions and 3 deletions
|
|
@ -62,6 +62,8 @@ struct wlr_texture_impl {
|
|||
enum wl_shm_format wl_fmt, 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_buffer_attribs *attribs);
|
||||
void (*destroy)(struct wlr_texture *texture);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue