From 94a20cbadfb5266d1acbb0597dba16aacfa1fe32 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 3 Feb 2005 00:38:40 +0000 Subject: Added a bunch of extensions that were previously supported but weren't in the gl_API.xml database. Add "official" support for SGI_color_matrix and SGI_texture_color_table. These were previously supported only by way of ARB_imaging. --- src/glx/x11/glxextensions.c | 2 + src/glx/x11/glxextensions.h | 2 + src/mesa/glapi/gl_API.xml | 234 ++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 229 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/glx/x11/glxextensions.c b/src/glx/x11/glxextensions.c index ffc596db18..78a2b075db 100644 --- a/src/glx/x11/glxextensions.c +++ b/src/glx/x11/glxextensions.c @@ -209,6 +209,8 @@ static const struct extension_info known_gl_extensions[] = { { GL(NV_texture_env_combine4), VER(0,0), Y, N, N, N }, { GL(NV_texture_rectangle), VER(0,0), Y, N, N, N }, { GL(OES_read_format), VER(0,0), Y, N, N, N }, + { GL(SGI_color_matrix), VER(0,0), Y, N, N, N }, + { GL(SGI_texture_color_table), VER(0,0), Y, N, N, N }, { GL(SGIS_generate_mipmap), VER(1,4), Y, N, N, N }, { GL(SGIS_multisample), VER(0,0), Y, N, N, N }, { GL(SGIS_texture_border_clamp), VER(1,3), Y, N, N, N }, diff --git a/src/glx/x11/glxextensions.h b/src/glx/x11/glxextensions.h index 5821550f65..e725ad7787 100644 --- a/src/glx/x11/glxextensions.h +++ b/src/glx/x11/glxextensions.h @@ -165,6 +165,8 @@ enum { GL_NV_texture_compression_vtc_bit, GL_NV_texture_env_combine4_bit, GL_OES_read_format_bit, + GL_SGI_color_matrix_bit, + GL_SGI_texture_color_table_bit, GL_SGIS_generate_mipmap_bit, GL_SGIS_multisample_bit, GL_SGIS_texture_lod_bit, diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml index 0b63c565d3..084a6aed31 100644 --- a/src/mesa/glapi/gl_API.xml +++ b/src/mesa/glapi/gl_API.xml @@ -3199,6 +3199,18 @@ glx: + + + + + + + + + + + + @@ -3647,7 +3659,6 @@ glx: - @@ -4960,6 +4971,12 @@ glx: + + @@ -6727,13 +6744,6 @@ glx: - - - - - - - @@ -6880,6 +6890,20 @@ glx: + + + + + + + + + + + + + + @@ -7005,6 +7029,11 @@ glx: + + + + + @@ -7092,6 +7121,12 @@ glx: + + + + + + @@ -7162,7 +7197,7 @@ glx: - + @@ -7224,6 +7259,14 @@ glx: + + + + + + + + @@ -7439,6 +7482,18 @@ glx: + + + + + + + + + + + + @@ -7544,6 +7599,10 @@ glx: + + + + @@ -7817,6 +7876,10 @@ glx: + + + + @@ -7914,6 +7977,11 @@ glx: + + + + + @@ -7941,9 +8009,23 @@ glx: + + + + + + + + + + + + + + @@ -8216,6 +8298,30 @@ glx: + + + + + + + + + + + + + + + + + + + + + + + + @@ -8660,7 +8766,18 @@ glx: + + + + + + + + + + + @@ -8670,6 +8787,10 @@ glx: + + + + @@ -8709,6 +8830,11 @@ glx: + + + + + @@ -8836,6 +8962,10 @@ glx: + + + + @@ -9015,6 +9145,13 @@ glx: + + + + + + + @@ -9102,6 +9239,18 @@ glx: + + + + + + + + + + + + @@ -9285,6 +9434,13 @@ glx: + + + + + + + @@ -9824,6 +9980,11 @@ glx: + + + + + @@ -9970,6 +10131,18 @@ glx: + + + + + + + + + + + + @@ -10015,6 +10188,10 @@ glx: + + + + @@ -10022,6 +10199,21 @@ glx: + + + + + + + + + + + + + + + @@ -10032,6 +10224,12 @@ glx: + + + + + + @@ -10124,6 +10322,16 @@ glx: + + + + + + + + + + @@ -10131,6 +10339,14 @@ glx: + + + + + + + + -- cgit v1.2.3