diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-11-23 15:04:49 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-04 14:15:15 -0700 |
commit | 29bd20ad1452bdc43d4cb0e42db65cf1069615cf (patch) | |
tree | 5ea06d53aa5fd6a6144f1e9ec2e1baef1d1d637e /src/mesa/es | |
parent | a2d21f67f901ec34799819ba47b9579ac78bf112 (diff) |
mesa/es: Add more extensions to glapi.
This commit adds definitions of
GL_OES_texture_half_float_linear, GL_OES_texture_float_linear
GL_OES_texture_half_float, GL_OES_texture_float
GL_OES_vertex_half_float
GL_OES_vertex_type_10_10_10_2
GL_OES_get_program_binary
GL_EXT_texture_compression_dxt1
GL_EXT_texture_format_BGRA8888
GL_EXT_texture_lod_bias
GL_EXT_blend_minmax
GL_EXT_read_format_bgra
GL_EXT_multi_draw_arrays
to glapi.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'src/mesa/es')
-rw-r--r-- | src/mesa/es/glapi/es1_EXT.xml | 32 | ||||
-rw-r--r-- | src/mesa/es/glapi/es2_EXT.xml | 40 | ||||
-rw-r--r-- | src/mesa/es/glapi/es_EXT.xml | 39 |
3 files changed, 98 insertions, 13 deletions
diff --git a/src/mesa/es/glapi/es1_EXT.xml b/src/mesa/es/glapi/es1_EXT.xml index 7c7c585736..de4868cfd4 100644 --- a/src/mesa/es/glapi/es1_EXT.xml +++ b/src/mesa/es/glapi/es1_EXT.xml @@ -607,19 +607,19 @@ <!-- part of es1.1 extension pack --> <category name="GL_OES_texture_cube_map" number="20"> - <enum name="GL_TEXTURE_GEN_MODE_OES" value="0x2500"/> - <enum name="GL_NORMAL_MAP_OES" value="0x8511"/> - <enum name="GL_REFLECTION_MAP_OES" value="0x8512"/> - <enum name="GL_TEXTURE_CUBE_MAP_OES" value="0x8513"/> - <enum name="GL_TEXTURE_BINDING_CUBE_MAP_OES" value="0x8514"/> - <enum name="GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES" value="0x8515"/> - <enum name="GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES" value="0x8516"/> - <enum name="GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES" value="0x8517"/> - <enum name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" value="0x8518"/> - <enum name="GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES" value="0x8519"/> - <enum name="GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" value="0x851A"/> - <enum name="GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES" value="0x851C"/> - <enum name="GL_TEXTURE_GEN_STR_OES" value="0x8D60"/> + <enum name="TEXTURE_GEN_MODE_OES" value="0x2500"/> + <enum name="NORMAL_MAP_OES" value="0x8511"/> + <enum name="REFLECTION_MAP_OES" value="0x8512"/> + <enum name="TEXTURE_CUBE_MAP_OES" value="0x8513"/> + <enum name="TEXTURE_BINDING_CUBE_MAP_OES" value="0x8514"/> + <enum name="TEXTURE_CUBE_MAP_POSITIVE_X_OES" value="0x8515"/> + <enum name="TEXTURE_CUBE_MAP_NEGATIVE_X_OES" value="0x8516"/> + <enum name="TEXTURE_CUBE_MAP_POSITIVE_Y_OES" value="0x8517"/> + <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Y_OES" value="0x8518"/> + <enum name="TEXTURE_CUBE_MAP_POSITIVE_Z_OES" value="0x8519"/> + <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Z_OES" value="0x851A"/> + <enum name="MAX_CUBE_MAP_TEXTURE_SIZE_OES" value="0x851C"/> + <enum name="TEXTURE_GEN_STR_OES" value="0x8D60"/> <function name="GetTexGenfvOES" offset="279"> <param name="coord" type="GLenum"/> @@ -690,4 +690,10 @@ <!-- No new functions, types, enums. --> </category> +<category name="GL_EXT_texture_lod_bias" number="60"> + <enum name="TEXTURE_FILTER_CONTROL_EXT" value="0x8500"/> + <enum name="TEXTURE_LOD_BIAS_EXT" value="0x8501"/> + <enum name="MAX_TEXTURE_LOD_BIAS_EXT" value="0x84FD"/> +</category> + </OpenGLAPI> diff --git a/src/mesa/es/glapi/es2_EXT.xml b/src/mesa/es/glapi/es2_EXT.xml index fef6368022..3615772b56 100644 --- a/src/mesa/es/glapi/es2_EXT.xml +++ b/src/mesa/es/glapi/es2_EXT.xml @@ -97,10 +97,24 @@ </function> </category> +<!-- the other name is OES_texture_float_linear --> +<category name="OES_texture_half_float_linear" number="35"> + <!-- No new functions, types, enums. --> +</category> + +<!-- the other name is OES_texture_float --> +<category name="OES_texture_half_float" number="36"> + <enum name="HALF_FLOAT_OES" value="0x8D61"/> +</category> + <category name="GL_OES_texture_npot" number="37"> <!-- No new functions, types, enums. --> </category> +<category name="GL_OES_vertex_half_float" number="38"> + <enum name="HALF_FLOAT_OES" value="0x8D61"/> +</category> + <category name="GL_EXT_texture_type_2_10_10_10_REV" number="42"> <enum name="UNSIGNED_INT_2_10_10_10_REV_EXT" value="0x8368"/> </category> @@ -119,4 +133,30 @@ <enum name="FRAGMENT_SHADER_DERIVATIVE_HINT_OES" value="0x8B8B"/> </category> +<category name="GL_OES_vertex_type_10_10_10_2" number="46"> + <enum name="UNSIGNED_INT_10_10_10_2_OES" value="0x8DF6"/> + <enum name="INT_10_10_10_2_OES" value="0x8DF7"/> +</category> + +<category name="GL_OES_get_program_binary" number="47"> + <enum name="PROGRAM_BINARY_LENGTH_OES" value="0x8741"/> + <enum name="NUM_PROGRAM_BINARY_FORMATS_OES" value="0x87FE"/> + <enum name="PROGRAM_BINARY_FORMATS_OES" value="0x87FF"/> + + <function name="GetProgramBinaryOES" offset="assign"> + <param name="program" type="GLuint"/> + <param name="bufSize" type="GLsizei"/> + <param name="length" type="GLsizei *"/> + <param name="binaryFormat" type="GLenum *"/> + <param name="binary" type="GLvoid *"/> + </function> + + <function name="ProgramBinaryOES" offset="assign"> + <param name="program" type="GLuint"/> + <param name="binaryFormat" type="GLenum"/> + <param name="binary" type="const GLvoid *"/> + <param name="length" type="GLint"/> + </function> +</category> + </OpenGLAPI> diff --git a/src/mesa/es/glapi/es_EXT.xml b/src/mesa/es/glapi/es_EXT.xml index 28f41ae09a..b76cda929a 100644 --- a/src/mesa/es/glapi/es_EXT.xml +++ b/src/mesa/es/glapi/es_EXT.xml @@ -80,4 +80,43 @@ <enum name="MAX_TEXTURE_MAX_ANISOTROPY_EXT" value="0x84FF"/> </category> +<category name="GL_EXT_texture_compression_dxt1" number="49"> + <enum name="COMPRESSED_RGB_S3TC_DXT1_EXT" value="0x83F0"/> + <enum name="COMPRESSED_RGBA_S3TC_DXT1_EXT" value="0x83F1"/> +</category> + +<category name="GL_EXT_texture_format_BGRA8888" number="51"> + <enum name="BGRA_EXT" value="0x80E1"/> +</category> + +<category name="GL_EXT_blend_minmax" number="65"> + <enum name="MIN_EXT" value="0x8007"/> + <enum name="MAX_EXT" value="0x8008"/> +</category> + +<category name="GL_EXT_read_format_bgra" number="66"> + <enum name="BGRA_EXT" value="0x80E1"/> + <enum name="UNSIGNED_SHORT_4_4_4_4_REV_EXT" value="0x8365"/> + <enum name="UNSIGNED_SHORT_1_5_5_5_REV_EXT" value="0x8366"/> +</category> + +<category name="GL_EXT_multi_draw_arrays" number="69"> + <function name="MultiDrawArraysEXT" offset="assign"> + <param name="mode" type="GLenum"/> + <param name="first" type="GLint *"/> <!-- Spec bug. Should be const. --> + <param name="count" type="GLsizei *"/> <!-- Spec bug. Should be const. --> + <param name="primcount" type="GLsizei"/> + <glx handcode="true"/> + </function> + + <function name="MultiDrawElementsEXT" offset="assign"> + <param name="mode" type="GLenum"/> + <param name="count" type="const GLsizei *"/> + <param name="type" type="GLenum"/> + <param name="indices" type="const GLvoid **"/> + <param name="primcount" type="GLsizei"/> + <glx handcode="true"/> + </function> +</category> + </OpenGLAPI> |