diff options
author | emersion <contact@emersion.fr> | 2018-05-21 18:50:51 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-05-29 18:45:45 +0100 |
commit | 9e26808c280cb32f32835231a76b5b105011fd1e (patch) | |
tree | 2c981666b6515cde9ad9446a1fc2d5668c579654 /include/wlr/interfaces/wlr_output.h | |
parent | e1f56538a8862f05cc9ad1d44cd47bc6ed5e6387 (diff) |
output, backend/drm: add wlr_output_export_dmabuf
Diffstat (limited to 'include/wlr/interfaces/wlr_output.h')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 7ecc7551..d39e4edc 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -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, |