aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render/wlr_texture.h
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-06-24 18:16:42 -0400
committerTony Crisci <tony@dubstepdish.com>2018-06-24 18:16:42 -0400
commite8c0996b93c2d184d9d68ae4bee92dd4c469685c (patch)
treede9e94484a8f341836231af6d8a7daa3cd32d06e /include/wlr/render/wlr_texture.h
parent28d718c0ddd8f2ba083be374f3d97e4836f615d9 (diff)
parente459fe0ec713ea65b35b966f9bb3c6c70c9504aa (diff)
Merge branch 'master' into cancel-grab-on-focus-change
Diffstat (limited to 'include/wlr/render/wlr_texture.h')
-rw-r--r--include/wlr/render/wlr_texture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/render/wlr_texture.h b/include/wlr/render/wlr_texture.h
index c1633820..785f4fc6 100644
--- a/include/wlr/render/wlr_texture.h
+++ b/include/wlr/render/wlr_texture.h
@@ -48,6 +48,9 @@ bool wlr_texture_write_pixels(struct wlr_texture *texture,
uint32_t src_x, uint32_t src_y, uint32_t dst_x, uint32_t dst_y,
const void *data);
+bool wlr_texture_to_dmabuf(struct wlr_texture *texture,
+ struct wlr_dmabuf_attributes *attribs);
+
/**
* Destroys this wlr_texture.
*/