aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/gles2.h2
-rw-r--r--include/render/vulkan.h1
-rw-r--r--include/wlr/render/dmabuf.h7
-rw-r--r--include/wlr/render/gles2.h1
4 files changed, 0 insertions, 11 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index fb2de1ab..245b2804 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -24,7 +24,6 @@ struct wlr_gles2_pixel_format {
struct wlr_gles2_tex_shader {
GLuint program;
GLint proj;
- GLint invert_y;
GLint tex;
GLint alpha;
GLint pos_attrib;
@@ -101,7 +100,6 @@ struct wlr_gles2_texture {
EGLImageKHR image;
- bool inverted_y;
bool has_alpha;
// Only affects target == GL_TEXTURE_2D
diff --git a/include/render/vulkan.h b/include/render/vulkan.h
index aa40198c..1cba5a19 100644
--- a/include/render/vulkan.h
+++ b/include/render/vulkan.h
@@ -246,7 +246,6 @@ struct wlr_vk_texture {
bool dmabuf_imported;
bool owned; // if dmabuf_imported: whether we have ownership of the image
bool transitioned; // if dma_imported: whether we transitioned it away from preinit
- bool invert_y; // if dma_imported: whether we must flip y
struct wl_list foreign_link;
struct wl_list destroy_link;
struct wl_list link; // wlr_gles2_renderer.textures
diff --git a/include/wlr/render/dmabuf.h b/include/wlr/render/dmabuf.h
index 75892d30..76aad629 100644
--- a/include/wlr/render/dmabuf.h
+++ b/include/wlr/render/dmabuf.h
@@ -14,16 +14,9 @@
#define WLR_DMABUF_MAX_PLANES 4
-enum wlr_dmabuf_attributes_flags {
- WLR_DMABUF_ATTRIBUTES_FLAGS_Y_INVERT = 1 << 0,
- WLR_DMABUF_ATTRIBUTES_FLAGS_INTERLACED = 1 << 1,
- WLR_DMABUF_ATTRIBUTES_FLAGS_BOTTOM_FIRST = 1 << 2,
-};
-
struct wlr_dmabuf_attributes {
int32_t width, height;
uint32_t format;
- uint32_t flags; // enum wlr_dmabuf_attributes_flags
uint64_t modifier;
int n_planes;
diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h
index dabe49dd..e6844ce9 100644
--- a/include/wlr/render/gles2.h
+++ b/include/wlr/render/gles2.h
@@ -30,7 +30,6 @@ struct wlr_gles2_texture_attribs {
GLenum target; /* either GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES */
GLuint tex;
- bool inverted_y;
bool has_alpha;
};