aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-15 15:48:09 +0100
committeremersion <contact@emersion.fr>2018-03-15 15:48:09 +0100
commit8b58e1a3ad45f3e791a15b070d5544f3fc4e6a7e (patch)
treeb97fdf2deb525a5bc919bac3e410a905b0ef4821 /include/wlr/render.h
parent824a95ad19062e867178593f0937d14049422989 (diff)
parentde0e40d621c51cf075825633946a9ac7f98ac213 (diff)
Merge branch 'master' into matrix-redesign
Diffstat (limited to 'include/wlr/render.h')
-rw-r--r--include/wlr/render.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/render.h b/include/wlr/render.h
index d1498b07..c3bf5c97 100644
--- a/include/wlr/render.h
+++ b/include/wlr/render.h
@@ -85,6 +85,7 @@ struct wlr_texture {
bool valid;
uint32_t format;
int width, height;
+ bool inverted_y;
struct wl_signal destroy_signal;
struct wl_resource *resource;
};
@@ -122,6 +123,8 @@ bool wlr_texture_upload_drm(struct wlr_texture *tex,
bool wlr_texture_upload_eglimage(struct wlr_texture *tex,
EGLImageKHR image, uint32_t width, uint32_t height);
+bool wlr_texture_upload_dmabuf(struct wlr_texture *tex,
+ struct wl_resource *dmabuf_resource);
/**
* Copies a rectangle of pixels from a wl_shm_buffer onto the texture. The
* buffer is not accessed after this function returns. Under some circumstances,