From f88297b369e9c2d4521554d8a6c66e288eb3b178 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 23 Nov 2009 17:07:08 +0800 Subject: [PATCH] mesa/es: Add more exnteions to APIspec. This commit adds definitions of GL_EXT_texture_compression_dxt1 GL_EXT_texture_lod_bias GL_EXT_blend_minmax GL_EXT_multi_draw_arrays to APIspec.xml and get_gen.py. Some of the enums are not avaiable in the header files and the defining extensions are disabled. Signed-off-by: Chia-I Wu --- src/mesa/es/main/APIspec.xml | 147 ++++++++++++++++++++++++++++++----- src/mesa/es/main/get_gen.py | 4 + 2 files changed, 130 insertions(+), 21 deletions(-) diff --git a/src/mesa/es/main/APIspec.xml b/src/mesa/es/main/APIspec.xml index d8d85e66456..8926007f8de 100644 --- a/src/mesa/es/main/APIspec.xml +++ b/src/mesa/es/main/APIspec.xml @@ -492,6 +492,19 @@ + + + + + + + + + + + + + @@ -1312,6 +1325,19 @@ + + + + + + + + + + + + + @@ -1675,7 +1701,8 @@ - + + @@ -2033,6 +2060,9 @@ + + + @@ -2050,6 +2080,9 @@ + + + @@ -2059,6 +2092,9 @@ + + + @@ -2363,22 +2399,28 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -2417,16 +2459,8 @@ - - - - - - - - - - + + @@ -3420,6 +3454,54 @@ + + + + @@ -3685,6 +3767,10 @@ + + + + @@ -3718,7 +3804,13 @@ + + @@ -3973,6 +4065,10 @@ + + + + @@ -3994,6 +4090,11 @@ + + @@ -4188,6 +4289,10 @@ + + + + diff --git a/src/mesa/es/main/get_gen.py b/src/mesa/es/main/get_gen.py index 3303c4cb5bd..9da0b6b7421 100644 --- a/src/mesa/es/main/get_gen.py +++ b/src/mesa/es/main/get_gen.py @@ -468,6 +468,10 @@ StateVars_es1 = [ ("GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES", GLint, ["ctx->Array.ArrayObj->PointSize.BufferObj->Name"], "", None), + # GL_EXT_texture_lod_bias + ( "GL_MAX_TEXTURE_LOD_BIAS_EXT", GLfloat, + ["ctx->Const.MaxTextureLodBias"], "", ["EXT_texture_lod_bias"]), + # GL_EXT_texture_filter_anisotropic ( "GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT", GLfloat, ["ctx->Const.MaxTextureMaxAnisotropy"], "", ["EXT_texture_filter_anisotropic"]), -- 2.30.2