From f5df956c18634e501d878531858ed75391fec644 Mon Sep 17 00:00:00 2001 From: Manuel Stoeckl Date: Thu, 29 Jul 2021 23:55:57 -0400 Subject: 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. --- include/render/gles2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 { -- cgit v1.2.3