aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/render/gles2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/render/gles2.h b/include/render/gles2.h
index 9ff09065..43a8d648 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -21,6 +21,7 @@ struct gles2_pixel_format {
uint32_t wl_format;
GLint gl_format, gl_type;
int depth, bpp;
+ bool has_alpha;
};
struct wlr_gles2_renderer {
@@ -48,6 +49,7 @@ struct wlr_gles2_texture {
};
const struct gles2_pixel_format *gles2_format_from_wl(enum wl_shm_format fmt);
+const enum wl_shm_format *gles2_formats(size_t *len);
struct wlr_texture *gles2_texture_create();
struct wlr_gles2_texture *gles2_get_texture(struct wlr_texture *wlr_texture);