[Mesa-dev] [RFC 04/10] mesa: add ASTC extensions to the extensions table
Nanley Chery
nanleychery at gmail.com
Tue May 19 17:48:12 PDT 2015
From: Nanley Chery <nanley.g.chery at intel.com>
Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
---
src/mesa/main/extensions.c | 3 +++
src/mesa/main/mtypes.h | 3 +++
2 files changed, 6 insertions(+)
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c
index c82416a..daf16f9 100644
--- a/src/mesa/main/extensions.c
+++ b/src/mesa/main/extensions.c
@@ -332,8 +332,11 @@ static const struct extension extension_table[] = {
{ "GL_OES_texture_mirrored_repeat", o(dummy_true), ES1, 2005 },
{ "GL_OES_texture_npot", o(ARB_texture_non_power_of_two), ES1 | ES2, 2005 },
{ "GL_OES_vertex_array_object", o(dummy_true), ES1 | ES2, 2010 },
+ { "GL_OES_texture_compression_astc", o(OES_texture_compression_astc), ES2, 2012 },
/* KHR extensions */
+ { "GL_KHR_texture_compression_astc_ldr", o(KHR_texture_compression_astc_ldr), GL | ES2, 2012 },
+ { "GL_KHR_texture_compression_astc_hdr", o(KHR_texture_compression_astc_hdr), GL | ES2, 2012 },
{ "GL_KHR_debug", o(dummy_true), GL, 2012 },
{ "GL_KHR_context_flush_control", o(dummy_true), GL | ES2, 2014 },
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 8342517..9283759 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3752,6 +3752,9 @@ struct gl_extensions
GLboolean NV_texture_rectangle;
GLboolean NV_vdpau_interop;
GLboolean TDFX_texture_compression_FXT1;
+ GLboolean KHR_texture_compression_astc_ldr;
+ GLboolean KHR_texture_compression_astc_hdr;
+ GLboolean OES_texture_compression_astc;
GLboolean OES_EGL_image;
GLboolean OES_draw_texture;
GLboolean OES_depth_texture_cube_map;
--
2.4.1
More information about the mesa-dev
mailing list