aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2004-11-24 18:13:43 +0000
committerIan Romanick <[email protected]>2004-11-24 18:13:43 +0000
commite0a1cd31126c9b74e3126e81f629a13f22f65b49 (patch)
tree95d15344526e5f1ddd893f96879224bbcaa16f7f
parent6b6c96bdeb580052cb9fa3831f1cd574f0e85728 (diff)
Added information about numerous enums to aid the development of automatic
code generation for GLX protocol. This includes adding support for several additional enum-only extensions: EXT_filter_anisotropic, NV_expand_normal NV_fog_distance, NV_texture_env_combine4, SGIS_generate_mipmap, SGIX_clipmap, SGIX_depth_texture, SGIX_fog_offset, SGIX_shadow, SGIX_shadow_ambient, SGIX_texture_coordinate_clamp, SGIX_texture_lod_bias, and SGIX_texture_scale_bias.
-rw-r--r--src/mesa/glapi/gl_API.xml666
1 files changed, 584 insertions, 82 deletions
diff --git a/src/mesa/glapi/gl_API.xml b/src/mesa/glapi/gl_API.xml
index 832a07cfbd9..8915be069c8 100644
--- a/src/mesa/glapi/gl_API.xml
+++ b/src/mesa/glapi/gl_API.xml
@@ -146,20 +146,47 @@
<enum name="CULL_FACE_MODE" value="0x0B45"/>
<enum name="FRONT_FACE" value="0x0B46"/>
<enum name="LIGHTING" value="0x0B50"/>
- <enum name="LIGHT_MODEL_LOCAL_VIEWER" value="0x0B51"/>
- <enum name="LIGHT_MODEL_TWO_SIDE" value="0x0B52"/>
- <enum name="LIGHT_MODEL_AMBIENT" value="0x0B53"/>
+ <enum name="LIGHT_MODEL_LOCAL_VIEWER" value="0x0B51">
+ <size name="LightModelfv" count="1"/>
+ <size name="LightModeliv" count="1"/>
+ </enum>
+ <enum name="LIGHT_MODEL_TWO_SIDE" value="0x0B52">
+ <size name="LightModelfv" count="1"/>
+ <size name="LightModeliv" count="1"/>
+ </enum>
+ <enum name="LIGHT_MODEL_AMBIENT" value="0x0B53">
+ <size name="LightModelfv" count="4"/>
+ <size name="LightModeliv" count="4"/>
+ </enum>
<enum name="SHADE_MODEL" value="0x0B54"/>
<enum name="COLOR_MATERIAL_FACE" value="0x0B55"/>
<enum name="COLOR_MATERIAL_PARAMETER" value="0x0B56"/>
<enum name="COLOR_MATERIAL" value="0x0B57"/>
<enum name="FOG" value="0x0B60"/>
- <enum name="FOG_INDEX" value="0x0B61"/>
- <enum name="FOG_DENSITY" value="0x0B62"/>
- <enum name="FOG_START" value="0x0B63"/>
- <enum name="FOG_END" value="0x0B64"/>
- <enum name="FOG_MODE" value="0x0B65"/>
- <enum name="FOG_COLOR" value="0x0B66"/>
+ <enum name="FOG_INDEX" value="0x0B61">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="FOG_DENSITY" value="0x0B62">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="FOG_START" value="0x0B63">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="FOG_END" value="0x0B64">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="FOG_MODE" value="0x0B65">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="FOG_COLOR" value="0x0B66">
+ <size name="Fogfv" count="4"/>
+ <size name="Fogiv" count="4"/>
+ </enum>
<enum name="DEPTH_RANGE" value="0x0B70"/>
<enum name="DEPTH_TEST" value="0x0B71"/>
<enum name="DEPTH_WRITEMASK" value="0x0B72"/>
@@ -262,7 +289,10 @@
<enum name="GREEN_BIAS" value="0x0D19"/>
<enum name="BLUE_SCALE" value="0x0D1A"/>
<enum name="BLUE_BIAS" value="0x0D1B"/>
- <enum name="ALPHA_SCALE" value="0x0D1C"/>
+ <enum name="ALPHA_SCALE" value="0x0D1C">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
<enum name="ALPHA_BIAS" value="0x0D1D"/>
<enum name="DEPTH_SCALE" value="0x0D1E"/>
<enum name="DEPTH_BIAS" value="0x0D1F"/>
@@ -325,32 +355,91 @@
<enum name="TEXTURE_HEIGHT" value="0x1001"/>
<enum name="TEXTURE_BORDER" value="0x1005"/>
<enum name="TEXTURE_COMPONENTS" value="0x1003"/>
- <enum name="TEXTURE_BORDER_COLOR" value="0x1004"/>
+ <enum name="TEXTURE_BORDER_COLOR" value="0x1004">
+ <size name="TexParameterfv" count="4"/>
+ <size name="TexParameteriv" count="4"/>
+ </enum>
<enum name="DONT_CARE" value="0x1100"/>
<enum name="FASTEST" value="0x1101"/>
<enum name="NICEST" value="0x1102"/>
- <enum name="AMBIENT" value="0x1200"/>
- <enum name="DIFFUSE" value="0x1201"/>
- <enum name="SPECULAR" value="0x1202"/>
- <enum name="POSITION" value="0x1203"/>
- <enum name="SPOT_DIRECTION" value="0x1204"/>
- <enum name="SPOT_EXPONENT" value="0x1205"/>
- <enum name="SPOT_CUTOFF" value="0x1206"/>
- <enum name="CONSTANT_ATTENUATION" value="0x1207"/>
- <enum name="LINEAR_ATTENUATION" value="0x1208"/>
- <enum name="QUADRATIC_ATTENUATION" value="0x1209"/>
+ <enum name="AMBIENT" value="0x1200">
+ <size name="Materialfv" count="4"/>
+ <size name="Materialiv" count="4"/>
+ <size name="Lightfv" count="4"/>
+ <size name="Lightiv" count="4"/>
+ </enum>
+ <enum name="DIFFUSE" value="0x1201">
+ <size name="Materialfv" count="4"/>
+ <size name="Materialiv" count="4"/>
+ <size name="Lightfv" count="4"/>
+ <size name="Lightiv" count="4"/>
+ </enum>
+ <enum name="SPECULAR" value="0x1202">
+ <size name="Materialfv" count="4"/>
+ <size name="Materialiv" count="4"/>
+ <size name="Lightfv" count="4"/>
+ <size name="Lightiv" count="4"/>
+ </enum>
+ <enum name="POSITION" value="0x1203">
+ <size name="Lightfv" count="4"/>
+ <size name="Lightiv" count="4"/>
+ </enum>
+ <enum name="SPOT_DIRECTION" value="0x1204">
+ <size name="Lightfv" count="3"/>
+ <size name="Lightiv" count="3"/>
+ </enum>
+ <enum name="SPOT_EXPONENT" value="0x1205">
+ <size name="Lightfv" count="1"/>
+ <size name="Lightiv" count="1"/>
+ </enum>
+ <enum name="SPOT_CUTOFF" value="0x1206">
+ <size name="Lightfv" count="1"/>
+ <size name="Lightiv" count="1"/>
+ </enum>
+ <enum name="CONSTANT_ATTENUATION" value="0x1207">
+ <size name="Lightfv" count="1"/>
+ <size name="Lightiv" count="1"/>
+ </enum>
+ <enum name="LINEAR_ATTENUATION" value="0x1208">
+ <size name="Lightfv" count="1"/>
+ <size name="Lightiv" count="1"/>
+ </enum>
+ <enum name="QUADRATIC_ATTENUATION" value="0x1209">
+ <size name="Lightfv" count="1"/>
+ <size name="Lightiv" count="1"/>
+ </enum>
<enum name="COMPILE" value="0x1300"/>
<enum name="COMPILE_AND_EXECUTE" value="0x1301"/>
- <enum name="BYTE" value="0x1400"/>
- <enum name="UNSIGNED_BYTE" value="0x1401"/>
- <enum name="SHORT" value="0x1402"/>
- <enum name="UNSIGNED_SHORT" value="0x1403"/>
- <enum name="INT" value="0x1404"/>
- <enum name="UNSIGNED_INT" value="0x1405"/>
- <enum name="FLOAT" value="0x1406"/>
- <enum name="2_BYTES" value="0x1407"/>
- <enum name="3_BYTES" value="0x1408"/>
- <enum name="4_BYTES" value="0x1409"/>
+ <enum name="BYTE" value="0x1400">
+ <size name="CallLists" count="1"/>
+ </enum>
+ <enum name="UNSIGNED_BYTE" value="0x1401">
+ <size name="CallLists" count="1"/>
+ </enum>
+ <enum name="SHORT" value="0x1402">
+ <size name="CallLists" count="2"/>
+ </enum>
+ <enum name="UNSIGNED_SHORT" value="0x1403">
+ <size name="CallLists" count="2"/>
+ </enum>
+ <enum name="INT" value="0x1404">
+ <size name="CallLists" count="4"/>
+ </enum>
+ <enum name="UNSIGNED_INT" value="0x1405">
+ <size name="CallLists" count="4"/>
+ </enum>
+ <enum name="FLOAT" value="0x1406">
+ <size name="CallLists" count="4"/>
+ </enum>
+ <enum name="2_BYTES" value="0x1407">
+ <size name="CallLists" count="2"/>
+ </enum>
+ <enum name="3_BYTES" value="0x1408">
+ <size name="CallLists" count="3"/>
+ </enum>
+ <enum name="4_BYTES" value="0x1409">
+ <size name="CallLists" count="4"/>
+ </enum>
<enum name="CLEAR" value="0x1500"/>
<enum name="AND" value="0x1501"/>
<enum name="AND_REVERSE" value="0x1502"/>
@@ -367,10 +456,22 @@
<enum name="OR_INVERTED" value="0x150D"/>
<enum name="NAND" value="0x150E"/>
<enum name="SET" value="0x150F"/>
- <enum name="EMISSION" value="0x1600"/>
- <enum name="SHININESS" value="0x1601"/>
- <enum name="AMBIENT_AND_DIFFUSE" value="0x1602"/>
- <enum name="COLOR_INDEXES" value="0x1603"/>
+ <enum name="EMISSION" value="0x1600">
+ <size name="Materialfv" count="4"/>
+ <size name="Materialiv" count="4"/>
+ </enum>
+ <enum name="SHININESS" value="0x1601">
+ <size name="Materialfv" count="1"/>
+ <size name="Materialiv" count="1"/>
+ </enum>
+ <enum name="AMBIENT_AND_DIFFUSE" value="0x1602">
+ <size name="Materialfv" count="4"/>
+ <size name="Materialiv" count="4"/>
+ </enum>
+ <enum name="COLOR_INDEXES" value="0x1603">
+ <size name="Materialfv" count="3"/>
+ <size name="Materialiv" count="3"/>
+ </enum>
<enum name="MODELVIEW" value="0x1700"/>
<enum name="PROJECTION" value="0x1701"/>
<enum name="TEXTURE" value="0x1702"/>
@@ -411,8 +512,14 @@
<enum name="Q" value="0x2003"/>
<enum name="MODULATE" value="0x2100"/>
<enum name="DECAL" value="0x2101"/>
- <enum name="TEXTURE_ENV_MODE" value="0x2200"/>
- <enum name="TEXTURE_ENV_COLOR" value="0x2201"/>
+ <enum name="TEXTURE_ENV_MODE" value="0x2200">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_ENV_COLOR" value="0x2201">
+ <size name="TexEnvfv" count="4"/>
+ <size name="TexEnviv" count="4"/>
+ </enum>
<enum name="TEXTURE_ENV" value="0x2300"/>
<enum name="EYE_LINEAR" value="0x2400"/>
<enum name="OBJECT_LINEAR" value="0x2401"/>
@@ -438,10 +545,22 @@
<enum name="LINEAR_MIPMAP_NEAREST" value="0x2701"/>
<enum name="NEAREST_MIPMAP_LINEAR" value="0x2702"/>
<enum name="LINEAR_MIPMAP_LINEAR" value="0x2703"/>
- <enum name="TEXTURE_MAG_FILTER" value="0x2800"/>
- <enum name="TEXTURE_MIN_FILTER" value="0x2801"/>
- <enum name="TEXTURE_WRAP_S" value="0x2802"/>
- <enum name="TEXTURE_WRAP_T" value="0x2803"/>
+ <enum name="TEXTURE_MAG_FILTER" value="0x2800">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_MIN_FILTER" value="0x2801">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_WRAP_S" value="0x2802">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_WRAP_T" value="0x2803">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="CLAMP" value="0x2900"/>
<enum name="REPEAT" value="0x2901"/>
<enum name="CLIP_PLANE0" value="0x3000"/>
@@ -2411,8 +2530,14 @@
<enum name="TEXTURE_INTENSITY_SIZE" value="0x8061"/>
<enum name="PROXY_TEXTURE_1D" value="0x8063"/>
<enum name="PROXY_TEXTURE_2D" value="0x8064"/>
- <enum name="TEXTURE_PRIORITY" value="0x8066"/>
- <enum name="TEXTURE_RESIDENT" value="0x8067"/>
+ <enum name="TEXTURE_PRIORITY" value="0x8066">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_RESIDENT" value="0x8067">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="TEXTURE_BINDING_1D" value="0x8068"/>
<enum name="TEXTURE_BINDING_2D" value="0x8069"/>
<enum name="VERTEX_ARRAY" value="0x8074"/>
@@ -2687,7 +2812,10 @@
<enum name="TEXTURE_3D" value="0x806F"/>
<enum name="PROXY_TEXTURE_3D" value="0x8070"/>
<enum name="TEXTURE_DEPTH" value="0x8071"/>
- <enum name="TEXTURE_WRAP_R" value="0x8072"/>
+ <enum name="TEXTURE_WRAP_R" value="0x8072">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="MAX_3D_TEXTURE_SIZE" value="0x8073"/>
<enum name="UNSIGNED_BYTE_2_3_3_REV" value="0x8362"/>
<enum name="UNSIGNED_SHORT_5_6_5" value="0x8363"/>
@@ -2701,11 +2829,26 @@
<enum name="MAX_ELEMENTS_VERTICES" value="0x80E8"/>
<enum name="MAX_ELEMENTS_INDICES" value="0x80E9"/>
<enum name="CLAMP_TO_EDGE" value="0x812F"/>
- <enum name="TEXTURE_MIN_LOD" value="0x813A"/>
- <enum name="TEXTURE_MAX_LOD" value="0x813B"/>
- <enum name="TEXTURE_BASE_LEVEL" value="0x813C"/>
- <enum name="TEXTURE_MAX_LEVEL" value="0x813D"/>
- <enum name="LIGHT_MODEL_COLOR_CONTROL" value="0x81F8"/>
+ <enum name="TEXTURE_MIN_LOD" value="0x813A">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_MAX_LOD" value="0x813B">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_BASE_LEVEL" value="0x813C">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_MAX_LEVEL" value="0x813D">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="LIGHT_MODEL_COLOR_CONTROL" value="0x81F8">
+ <size name="LightModelfv" count="1"/>
+ <size name="LightModeliv" count="1"/>
+ </enum>
<enum name="SINGLE_COLOR" value="0x81F9"/>
<enum name="SEPARATE_SPECULAR_COLOR" value="0x81FA"/>
<enum name="SMOOTH_POINT_SIZE_RANGE" value="0x0B12"/>
@@ -2715,6 +2858,50 @@
<enum name="ALIASED_POINT_SIZE_RANGE" value="0x846D"/>
<enum name="ALIASED_LINE_WIDTH_RANGE" value="0x846E"/>
+ <!-- These enums are actually part of the ARB_imaging subset. -->
+
+ <enum name="COLOR_TABLE_SCALE" value="0x80D6">
+ <size name="ColorTableParameterfv" count="4"/>
+ <size name="ColorTableParameteriv" count="4"/>
+ </enum>
+ <enum name="COLOR_TABLE_BIAS" value="0x80D7">
+ <size name="ColorTableParameterfv" count="4"/>
+ <size name="ColorTableParameteriv" count="4"/>
+ </enum>
+ <enum name="COLOR_TABLE_FORMAT" value="0x80D8">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_WIDTH" value="0x80D9">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_RED_SIZE" value="0x80DA">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_GREEN_SIZE" value="0x80DB">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_BLUE_SIZE" value="0x80DC">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_ALPHA_SIZE" value="0x80DD">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_LUMINANCE_SIZE" value="0x80DE">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+ <enum name="COLOR_TABLE_INTENSITY_SIZE" value="0x80DF">
+ <size name="ColorTableParameterfv" count="1"/>
+ <size name="ColorTableParameteriv" count="1"/>
+ </enum>
+
+
<function name="BlendColor" offset="336">
<param name="red" type="GLclampf"/>
<param name="green" type="GLclampf"/>
@@ -3113,21 +3300,66 @@
<enum name="CLAMP_TO_BORDER" value="0x812D"/>
<enum name="CLAMP_TO_BORDER_SGIS" value="0x812D"/>
<enum name="COMBINE" value="0x8570"/>
- <enum name="COMBINE_RGB" value="0x8571"/>
- <enum name="COMBINE_ALPHA" value="0x8572"/>
- <enum name="SOURCE0_RGB" value="0x8580"/>
- <enum name="SOURCE1_RGB" value="0x8581"/>
- <enum name="SOURCE2_RGB" value="0x8582"/>
- <enum name="SOURCE0_ALPHA" value="0x8588"/>
- <enum name="SOURCE1_ALPHA" value="0x8589"/>
- <enum name="SOURCE2_ALPHA" value="0x858A"/>
- <enum name="OPERAND0_RGB" value="0x8590"/>
- <enum name="OPERAND1_RGB" value="0x8591"/>
- <enum name="OPERAND2_RGB" value="0x8592"/>
- <enum name="OPERAND0_ALPHA" value="0x8598"/>
- <enum name="OPERAND1_ALPHA" value="0x8599"/>
- <enum name="OPERAND2_ALPHA" value="0x859A"/>
- <enum name="RGB_SCALE" value="0x8573"/>
+ <enum name="COMBINE_RGB" value="0x8571">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="COMBINE_ALPHA" value="0x8572">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE0_RGB" value="0x8580">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE1_RGB" value="0x8581">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE2_RGB" value="0x8582">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE0_ALPHA" value="0x8588">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE1_ALPHA" value="0x8589">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE2_ALPHA" value="0x858A">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND0_RGB" value="0x8590">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND1_RGB" value="0x8591">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND2_RGB" value="0x8592">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND0_ALPHA" value="0x8598">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND1_ALPHA" value="0x8599">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND2_ALPHA" value="0x859A">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="RGB_SCALE" value="0x8573">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
<enum name="ADD_SIGNED" value="0x8574"/>
<enum name="INTERPOLATE" value="0x8575"/>
<enum name="SUBTRACT" value="0x84E7"/>
@@ -3431,11 +3663,22 @@
<enum name="BLEND_SRC_RGB" value="0x80C9"/>
<enum name="BLEND_DST_ALPHA" value="0x80CA"/>
<enum name="BLEND_SRC_ALPHA" value="0x80CB"/>
- <enum name="POINT_SIZE_MIN" value="0x8126"/>
- <enum name="POINT_SIZE_MAX" value="0x8127"/>
- <enum name="POINT_FADE_THRESHOLD_SIZE" value="0x8128"/>
- <enum name="POINT_DISTANCE_ATTENUATION" value="0x8129"/>
- <enum name="GENERATE_MIPMAP" value="0x8191"/>
+ <enum name="POINT_SIZE_MIN" value="0x8126">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_SIZE_MAX" value="0x8127">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_FADE_THRESHOLD_SIZE" value="0x8128">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_DISTANCE_ATTENUATION" value="0x8129">
+ <size name="PointParameterfvEXT" count="3"/>
+ </enum>
+ <enum name="GENERATE_MIPMAP" value="0x8191">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="GENERATE_MIPMAP_HINT" value="0x8192"/>
<enum name="DEPTH_COMPONENT16" value="0x81A5"/>
<enum name="DEPTH_COMPONENT24" value="0x81A6"/>
@@ -3458,13 +3701,27 @@
<enum name="SECONDARY_COLOR_ARRAY" value="0x845E"/>
<enum name="MAX_TEXTURE_LOD_BIAS" value="0x84FD"/>
<enum name="TEXTURE_FILTER_CONTROL" value="0x8500"/>
- <enum name="TEXTURE_LOD_BIAS" value="0x8501"/>
+ <enum name="TEXTURE_LOD_BIAS" value="0x8501">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="INCR_WRAP" value="0x8507"/>
<enum name="DECR_WRAP" value="0x8508"/>
<enum name="TEXTURE_DEPTH_SIZE" value="0x884A"/>
- <enum name="DEPTH_TEXTURE_MODE" value="0x884B"/>
- <enum name="TEXTURE_COMPARE_MODE" value="0x884C"/>
- <enum name="TEXTURE_COMPARE_FUNC" value="0x884D"/>
+ <enum name="DEPTH_TEXTURE_MODE" value="0x884B">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_COMPARE_MODE" value="0x884C">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_COMPARE_FUNC" value="0x884D">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="COMPARE_R_TO_TEXTURE" value="0x884E"/>
<function name="BlendFuncSeparate" alias="BlendFuncSeparateEXT">
@@ -4283,10 +4540,18 @@
</category>
<category name="GL_ARB_point_parameters" number="14">
- <enum name="POINT_SIZE_MIN_ARB" value="0x8126"/>
- <enum name="POINT_SIZE_MAX_ARB" value="0x8127"/>
- <enum name="POINT_FADE_THRESHOLD_SIZE_ARB" value="0x8128"/>
- <enum name="POINT_DISTANCE_ATTENUATION_ARB" value="0x8129"/>
+ <enum name="POINT_SIZE_MIN_ARB" value="0x8126">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_SIZE_MAX_ARB" value="0x8127">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_FADE_THRESHOLD_SIZE_ARB" value="0x8128">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_DISTANCE_ATTENUATION_ARB" value="0x8129">
+ <size name="PointParameterfvEXT" count="3"/>
+ </enum>
<function name="PointParameterfARB" alias="PointParameterfEXT">
<param name="pname" type="GLenum"/>
@@ -4483,17 +4748,29 @@
<enum name="DEPTH_COMPONENT24_ARB" value="0x81A6"/>
<enum name="DEPTH_COMPONENT32_ARB" value="0x81A7"/>
<enum name="TEXTURE_DEPTH_SIZE_ARB" value="0x884A"/>
- <enum name="DEPTH_TEXTURE_MODE_ARB" value="0x884B"/>
+ <enum name="DEPTH_TEXTURE_MODE_ARB" value="0x884B">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
</category>
<category name="GL_ARB_shadow" number="23">
- <enum name="TEXTURE_COMPARE_MODE_ARB" value="0x884C"/>
- <enum name="TEXTURE_COMPARE_FUNC_ARB" value="0x884D"/>
+ <enum name="TEXTURE_COMPARE_MODE_ARB" value="0x884C">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_COMPARE_FUNC_ARB" value="0x884D">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
<enum name="COMPARE_R_TO_TEXTURE_ARB" value="0x884E"/>
</category>
<category name="GL_ARB_shadow_ambient" number="24">
- <enum name="TEXTURE_COMPARE_FAIL_VALUE_ARB" value="0x80BF"/>
+ <enum name="TEXTURE_COMPARE_FAIL_VALUE_ARB" value="0x80BF">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
</category>
<category name="GL_ARB_window_pos" number="25">
@@ -5599,7 +5876,10 @@
<category name="GL_ARB_point_sprite" number="35">
<enum name="POINT_SPRITE_ARB" value="0x8861"/>
- <enum name="COORD_REPLACE_ARB" value="0x8862"/>
+ <enum name="COORD_REPLACE_ARB" value="0x8862">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
</category>
<category name="GL_ARB_fragment_program_shadow" number="36">
@@ -5903,6 +6183,24 @@
</category>
<category name="GL_EXT_convolution" number="12">
+ <enum name="CONVOLUTION_BORDER_MODE_EXT" value="0x8013">
+ <size name="ConvolutionParameterfv" count="1"/>
+ <size name="ConvolutionParameteriv" count="1"/>
+ </enum>
+ <!-- FIXME: Should this be in a section for HP_convolution_border_modes? -->
+ <enum name="CONVOLUTION_BORDER_COLOR_HP" value="0x8154">
+ <size name="ConvolutionParameterfv" count="4"/>
+ <size name="ConvolutionParameteriv" count="4"/>
+ </enum>
+ <enum name="CONVOLUTION_FILTER_SCALE_EXT" value="0x8014">
+ <size name="ConvolutionParameterfv" count="4"/>
+ <size name="ConvolutionParameteriv" count="4"/>
+ </enum>
+ <enum name="CONVOLUTION_FILTER_BIAS_EXT" value="0x8015">
+ <size name="ConvolutionParameterfv" count="4"/>
+ <size name="ConvolutionParameteriv" count="4"/>
+ </enum>
+
<function name="ConvolutionFilter1DEXT" alias="ConvolutionFilter1D">
<param name="target" type="GLenum"/>
<param name="internalformat" type="GLenum"/>
@@ -6292,6 +6590,51 @@
</function>
</category>
+<category name="GL_SGIS_generate_mipmap" number="33">
+ <enum name="GENERATE_MIPMAP_SGIS" value="0x8191">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="GENERATE_MIPMAP_HINT_SGIS" value="0x8192"/>
+</category>
+
+<category name="GL_SGIX_clipmap" number="33">
+ <enum name="LINEAR_CLIPMAP_LINEAR_SGIX" value="0x8170"/>
+ <enum name="TEXTURE_CLIPMAP_CENTER_SGIX" value="0x8171">
+ <size name="TexParameterfv" count="2"/>
+ <size name="TexParameteriv" count="2"/>
+ </enum>
+ <enum name="TEXTURE_CLIPMAP_FRAME_SGIX" value="0x8172"/>
+ <enum name="TEXTURE_CLIPMAP_OFFSET_SGIX" value="0x8173">
+ <size name="TexParameterfv" count="2"/>
+ <size name="TexParameteriv" count="2"/>
+ </enum>
+ <enum name="TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX" value="0x8174">
+ <size name="TexParameterfv" count="3"/>
+ <size name="TexParameteriv" count="3"/>
+ </enum>
+ <enum name="TEXTURE_CLIPMAP_LOD_OFFSET_SGIX" value="0x8175"/>
+ <enum name="TEXTURE_CLIPMAP_DEPTH_SGIX" value="0x8176"/>
+ <enum name="MAX_CLIPMAP_DEPTH_SGIX" value="0x8177"/>
+ <enum name="MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX" value="0x8178"/>
+ <enum name="NEAREST_CLIPMAP_NEAREST_SGIX" value="0x844D"/>
+ <enum name="NEAREST_CLIPMAP_LINEAR_SGIX" value="0x844E"/>
+ <enum name="LINEAR_CLIPMAP_NEAREST_SGIX" value="0x844F"/>
+</category>
+
+<category name="GL_SGIX_shadow" number="34">
+ <enum name="TEXTURE_COMPARE_SGIX" value="0x819A">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_COMPARE_OPERATOR_SGIX" value="0x819B">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_LEQUAL_R_SGIX" value="0x819C"/>
+ <enum name="TEXTURE_GEQUAL_R_SGIX" value="0x819D"/>
+</category>
+
<category name="GL_EXT_blend_minmax" number="37">
<function name="BlendEquationEXT" alias="BlendEquation">
<param name="mode" type="GLenum"/>
@@ -6336,6 +6679,19 @@
</category>
<category name="GL_EXT_point_parameters" number="54">
+ <enum name="POINT_SIZE_MIN_EXT" value="0x8126">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_SIZE_MAX_EXT" value="0x8127">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_FADE_THRESHOLD_SIZE_EXT" value="0x8128">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_DISTANCE_ATTENUATION_EXT" value="0x8129">
+ <size name="PointParameterfvEXT" count="3"/>
+ </enum>
+
<function name="PointParameterfEXT" offset="458">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfloat"/>
@@ -6382,6 +6738,19 @@
</function>
</category>
+<category name="GL_SGIX_texture_scale_bias" number="56">
+ <enum name="POST_TEXTURE_FILTER_BIAS_SGIX" value="0x8179">
+ <size name="TexParameterfv" count="4"/>
+ <size name="TexParameteriv" count="4"/>
+ </enum>
+ <enum name="POST_TEXTURE_FILTER_SCALE_SGIX" value="0x817A">
+ <size name="TexParameterfv" count="4"/>
+ <size name="TexParameteriv" count="4"/>
+ </enum>
+ <enum name="POST_TEXTURE_FILTER_BIAS_RANGE_SGIX" value="0x817B"/>
+ <enum name="POST_TEXTURE_FILTER_SCALE_RANGE_SGIX" value="0x817C"/>
+</category>
+
<category name="GL_SGIX_framezoom" number="57">
<function name="FrameZoomSGIX" offset="466">
<param name="factor" type="GLint"/>
@@ -6412,6 +6781,12 @@
<!-- Extension number 62 is a GLX extension. -->
+<category name="GL_SGIX_depth_texture" number="63">
+ <enum name="DEPTH_COMPONENT16_SGIX" value="0x81A5"/>
+ <enum name="DEPTH_COMPONENT24_SGIX" value="0x81A6"/>
+ <enum name="DEPTH_COMPONENT32_SGIX" value="0x81A7"/>
+</category>
+
<category name="GL_SGIS_fog_function" number="64">
<function name="FogFuncSGIS" offset="?">
<param name="n" type="GLsizei"/>
@@ -6425,6 +6800,14 @@
</function>
</category>
+<category name="GL_SGIX_fog_offset" number="65">
+ <enum name="FOG_OFFSET_SGIX" value="0x8198"/>
+ <enum name="FOG_OFFSET_VALUE_SGIX" value="0x8199">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+</category>
+
<category name="GL_HP_image_transform" number="66">
<function name="ImageTransformParameteriHP" offset="?">
<param name="target" type="GLenum"/>
@@ -6577,11 +6960,36 @@
<!-- Extension number 82 is not listed in the extension registry. -->
<!-- Extension number 83 is a GLX extension. -->
+
+<category name="GL_SGIX_texture_lod_bias" number="84">
+ <enum name="TEXTURE_LOD_BIAS_S_SGIX" value="0x818E">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_LOD_BIAS_T_SGIX" value="0x818F">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_LOD_BIAS_R_SGIX" value="0x8190">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+</category>
+
<!-- Extension number 85 is a GLU extension. -->
<!-- Extension number 86 is a GLX extension. -->
<!-- Extension number 87 is not listed in the extension registry. -->
<!-- Extension number 88 is not listed in the extension registry. -->
<!-- Extension number 89 is not listed in the extension registry. -->
+
+
+<category name="GL_SGIX_shadow_ambient" number="90">
+ <enum name="SHADOW_AMBIENT_SGIX" value="0x80BF">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+</category>
+
<!-- Extension number 91 is a GLX extension. -->
<!-- Extension number 92 is a GLX extension. -->
@@ -7609,6 +8017,14 @@
<!-- Extension number 183 is a GLX extension. -->
<!-- Extension number 184 is not listed in the extension registry. -->
+<category name="GL_EXT_texture_filter_anisotropic" number="187">
+ <enum name="TEXTURE_MAX_ANISOTROPY_EXT" value="0x84FE">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="MAX_TEXTURE_MAX_ANISOTROPY_EXT" value="0x84FF"/>
+</category>
+
<category name="GL_EXT_vertex_weighting" number="188">
<function name="VertexWeightfEXT" offset="494" vectorequiv="VertexWeightfvEXT">
<param name="weight" type="GLfloat"/>
@@ -7747,6 +8163,35 @@
</function>
</category>
+<category name="GL_NV_fog_distance" number="192">
+ <enum name="FOG_DISTANCE_MODE_NV" value="0x855A">
+ <size name="Fogfv" count="1"/>
+ <size name="Fogiv" count="1"/>
+ </enum>
+ <enum name="EYE_RADIAL_NV" value="0x855B"/>
+ <enum name="EYE_PLANE_ABSOLUTE_NV" value="0x855C"/>
+</category>
+
+<category name="GL_NV_texture_env_combine4" number="195">
+ <enum name="COMBINE4" value="0x8503"/>
+ <enum name="SOURCE3_RGB_NV" value="0x8583">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="SOURCE3_ALPHA_NV" value="0x858B">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND3_RGB_NV" value="0x8593">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+ <enum name="OPERAND3_ALPHA_NV" value="0x859B">
+ <size name="TexEnvfv" count="1"/>
+ <size name="TexEnviv" count="1"/>
+ </enum>
+</category>
+
<category name="GL_MESA_resize_buffers" number="196">
<function name="ResizeBuffersMESA" offset="512">
<glx ignore="true"/>
@@ -8652,6 +9097,22 @@
</category>
<!-- Extension number 234 is a GLX extension. -->
+
+<category name="GL_SGIX_texture_coordinate_clamp" number="235">
+ <enum name="TEXTURE_MAX_CLAMP_S_SGIX" value="0x8369">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_MAX_CLAMP_T_SGIX" value="0x836A">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+ <enum name="TEXTURE_MAX_CLAMP_R_SGIX" value="0x836B">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+</category>
+
<!-- Extension number 236 is not listed in the extension registry. -->
<!-- Extension number 237 is a GLX extension. -->
<!-- Extension number 238 is a GLX extension. -->
@@ -8664,6 +9125,27 @@
<!-- Extension number 255 is a WGL extension. -->
<category name="GL_NV_point_sprite" number="262">
+ <!-- These existing enums can be passed as a parameter to the function
+ added for this extension. -->
+
+ <enum name="POINT_SIZE_MIN_EXT" value="0x8126">
+ <size name="PointParameterivNV" count="1"/>
+ </enum>
+ <enum name="POINT_SIZE_MAX_EXT" value="0x8127">
+ <size name="PointParameterivNV" count="1"/>
+ </enum>
+ <enum name="POINT_FADE_THRESHOLD_SIZE_EXT" value="0x8128">
+ <size name="PointParameterivNV" count="1"/>
+ </enum>
+ <enum name="POINT_DISTANCE_ATTENUATION_EXT" value="0x8129">
+ <size name="PointParameterivNV" count="3"/>
+ </enum>
+
+ <enum name="POINT_SPRITE_R_MODE_NV" value="0x8863 ">
+ <size name="PointParameterfvEXT" count="1"/>
+ <size name="PointParameterivNV" count="1"/>
+ </enum>
+
<function name="PointParameteriNV" offset="642">
<param name="pname" type="GLenum"/>
<param name="params" type="GLint"/>
@@ -8753,6 +9235,13 @@
</function>
</category>
+<category name="GL_NV_expand_normal" number="286">
+ <enum name="TEXTURE_UNSIGNED_REMAP_MODE_NV" value="0x888F">
+ <size name="TexParameterfv" count="1"/>
+ <size name="TexParameteriv" count="1"/>
+ </enum>
+</category>
+
<category name="GL_EXT_depth_bounds_test" number="297">
<function name="DepthBoundsEXT" offset="699">
<param name="zmin" type="GLclampd"/>
@@ -8789,6 +9278,19 @@
</category>
<category name="GL_SGIS_point_parameters">
+ <enum name="POINT_SIZE_MIN_SGIS" value="0x8126">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_SIZE_MAX_SGIS" value="0x8127">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_FADE_THRESHOLD_SIZE_SGIS" value="0x8128">
+ <size name="PointParameterfvEXT" count="1"/>
+ </enum>
+ <enum name="POINT_DISTANCE_ATTENUATION_SGIS" value="0x8129">
+ <size name="PointParameterfvEXT" count="3"/>
+ </enum>
+
<function name="PointParameterfSGIS" alias="PointParameterfEXT">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfloat"/>