mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
output, backend/drm: add wlr_output_export_dmabuf
This commit is contained in:
parent
e1f56538a8
commit
9e26808c28
6 changed files with 51 additions and 10 deletions
|
|
@ -23,6 +23,8 @@ struct wlr_output_impl {
|
|||
void (*set_gamma)(struct wlr_output *output,
|
||||
uint32_t size, uint16_t *r, uint16_t *g, uint16_t *b);
|
||||
uint32_t (*get_gamma_size)(struct wlr_output *output);
|
||||
bool (*export_dmabuf)(struct wlr_output *output,
|
||||
struct wlr_dmabuf_buffer_attribs *attribs);
|
||||
};
|
||||
|
||||
void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue