aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-07-29 23:55:57 -0400
committerSimon Ser <contact@emersion.fr>2021-07-30 08:29:13 +0200
commitf5df956c18634e501d878531858ed75391fec644 (patch)
treeb395903b9356ffee40e61e51e3cb757c4f73c6c0 /include
parent44e8451cd93ede3ebef0bab44af874c07c9fde42 (diff)
render/gles2: add a few 10-bit and FP16 formats
The half-float formats depend on GL_OES_texture_half_float_linear, not just the GL_OES_texture_half_float extension, because the latter does not include support for linear magni/minification filters. The new 2101010 and 16161616F formats are only available on little- endian builds, since their gl_types are larger than a byte and thus endianness dependent.
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 68fbb40e..cc5a2808 100644
--- a/include/render/gles2.h
+++ b/include/render/gles2.h
@@ -43,6 +43,8 @@ struct wlr_gles2_renderer {
bool KHR_debug;
bool OES_egl_image_external;
bool OES_egl_image;
+ bool EXT_texture_type_2_10_10_10_REV;
+ bool OES_texture_half_float_linear;
} exts;
struct {