diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-06-24 18:16:42 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-06-24 18:16:42 -0400 |
commit | e8c0996b93c2d184d9d68ae4bee92dd4c469685c (patch) | |
tree | de9e94484a8f341836231af6d8a7daa3cd32d06e /include/wlr/render/interface.h | |
parent | 28d718c0ddd8f2ba083be374f3d97e4836f615d9 (diff) | |
parent | e459fe0ec713ea65b35b966f9bb3c6c70c9504aa (diff) |
Merge branch 'master' into cancel-grab-on-focus-change
Diffstat (limited to 'include/wlr/render/interface.h')
-rw-r--r-- | include/wlr/render/interface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index 80788858..fb427c89 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -60,6 +60,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_attributes *attribs); void (*destroy)(struct wlr_texture *texture); }; |