diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-06-22 05:37:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 05:37:07 -0700 |
commit | e459fe0ec713ea65b35b966f9bb3c6c70c9504aa (patch) | |
tree | bbf22d6d1c6014d6b2174dd37c0e80c2381648b1 /include/wlr/interfaces | |
parent | 47c7674a68ca6adfd0b8151d62c3afae32d69577 (diff) | |
parent | ed7d5b0f53167b6191d408e5c7f20a3672fac3c2 (diff) |
Merge pull request #992 from emersion/screencontent
Implement wlr_export_dmabuf_unstable_v1 protocol
Diffstat (limited to 'include/wlr/interfaces')
-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..8f87408a 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_attributes *attribs); }; void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, |