## Adapted from Mesa and Chromium.
# Python scripts read this file and generate various C files.

# Possible lines:
#  name     Name of the function (without "gl" prefix).  Required.
#
#  return   Datatype of returned value, or void.  Required.
#
#  param    Zero or more of these lines may be present.  Each describes a
#           function parameter.  Two fields follow: parameter name and the
#           parameter type (which may be several tokens like "const GLvoid *").
#
#  vector   Used to indicate the size of constant arrays referenced by
#	    the given parameter.  (If the number of elements in the
#	    array is dependent on another parameter, use "dependentvector"
#	    (below) instead.) 
#           Two fields follow:  the parameter name (previously defined by a
#           'param' line) and a number indicating how may elements are
#           referenced by the vector.  If the number is unknown, don't use
#           a vector line.  Example for glGetClipPlane:
#                vector  equation  4
#
#  dependentvector  Used to indicate how many elements are referenced by 
#           pointer params, if the number depends on the value of another
#           parameter.  It is followed by the parameter name of the vector
#           parameter (previously defined by a 'param' line, one of the
#           potential sizes of the array, the name of the controlling
#           parameter, and a list (one or more) of parameter values of the
#           controlling parameter that are associated with the given size.
#           There will always be more than one line of this type (or otherwise
#           you could have used the "vector" specifier above).
#	    As a convenience, each parameter value named in a
#           "dependentvector" specifier will also be considered as a
#           "paramprop" specifier.
#           Example for glLightfv:
#	         dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_SPECULAR GL_POSITION
#	         dependentvector params 3 pname GL_SPOT_DIRECTION
#	         dependentvector params 1 pname GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
#
#  category May be 1.x to indicate that the function belongs to OpenGL
#           version 1.x.  Or may be the name of an extension such as
#           GL_ARB_multitexture.  Or may be GLES1.x to indicate
#	    that the function belongs to GLES version 1.x.  Required.
#           May have more than one token to indicate that a function
#	    belongs to more than one category.
#
#  alias    Names the Mesa function _mesa_<alias> that will be called.
#           Mostly used when the function was originally defined and
#           introduced into Mesa as an extension function (i.e. <func>ARB);
#           even though the function loses the extension as it is adopted
#           into the core, the Mesa support remains named the same
#           (for compatibility).
#
#  aliasprefix  May be used to change the default Mesa support functional
#          prefix on a per-function basis.  By default, it's "_mesa_";
#          but this allows it to be changed (e.g. to "_vbo_" for many
#          of the core functions).
#
#  props    An optional list of properties for this function.  Possible
#           properties include:
#             get       - the function is a state-getter
#
# convertalias
#
# convertparams
#
# checkparam
#
# checkdependentparam

name		Color4f
aliasprefix	_vbo_
return		void
param		red		GLfloat
param		green		GLfloat
param		blue		GLfloat
param		alpha		GLfloat
category	1.0 GLES1.1

name		Color4ub
return		void
param		red		GLubyte
param		green		GLubyte
param		blue		GLubyte
param		alpha		GLubyte
aliasprefix	_vbo_
convertalias	Color4f
convertparams   GLfloat red green blue alpha
category	1.0 GLES1.1

name		Color4x
return		void
param		red		GLfixed
param		green		GLfixed
param		blue		GLfixed
param		alpha		GLfixed
aliasprefix	_vbo_
convertalias	Color4f
convertparams   GLfloat red green blue alpha
category	GLES1.1 GLES1.1:OES_fixed_point

name		ClipPlane
return		void
param		plane		GLenum
checkparam	plane		GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
param		equation	const GLdouble *
vector		equation	4
category	1.0

name		ClipPlanef
return		void
param		plane		GLenum
checkparam	plane		GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
param		equation	const GLfloat *
vector		equation	4
convertalias	ClipPlane
convertparams	GLdouble        equation
category	GLES1.1 GLES1.1:OES_single_precision

name		ClipPlanex
return		void
param		plane		GLenum
checkparam	plane		GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
param		equation	const GLfixed *
vector		equation	4
convertalias	ClipPlane
convertparams	GLdouble        equation
category	GLES1.1 GLES1.1:OES_fixed_point

name		CullFace
return		void
param		mode		GLenum
checkparam	mode		GL_FRONT GL_BACK GL_FRONT_AND_BACK
category	1.0 GLES1.1 GLES2.0

name		Fogf
return		void
param		pname		GLenum
checkparam      pname GL_FOG_MODE GL_FOG_DENSITY GL_FOG_START GL_FOG_END 
param		param		GLfloat
checkdependentparam pname GL_FOG_MODE param GL_EXP GL_EXP2 GL_LINEAR
category	1.0 GLES1.1

name		Fogfv
return		void
param		pname		GLenum
param		params		const GLfloat *
paramvec	params		GL_LINEAR
dependentvector	params 4 pname GL_FOG_COLOR
dependentvector params 1 pname GL_FOG_DENSITY GL_FOG_START GL_FOG_END 
dependentvector params 1 pname GL_FOG_MODE
checkdependentparam pname GL_FOG_MODE params GL_EXP GL_EXP2 GL_LINEAR
category	1.0 GLES1.1

name		Fogx
return		void
param		pname		GLenum
checkparam      pname GL_FOG_MODE GL_FOG_DENSITY GL_FOG_START GL_FOG_END 
param		param		GLfixed
checkdependentparam pname GL_FOG_MODE param GL_EXP GL_EXP2 GL_LINEAR
convertalias	Fogf
convertparams	GLfloat         param
category	GLES1.1 GLES1.1:OES_fixed_point

name		Fogxv
return		void
param		pname		GLenum
param		params		const GLfixed *
dependentvector	params 4 pname GL_FOG_COLOR
dependentvector params 1 pname GL_FOG_DENSITY GL_FOG_START GL_FOG_END 
dependentvector params 1 pname GL_FOG_MODE
checkdependentparam pname GL_FOG_MODE params GL_EXP GL_EXP2 GL_LINEAR
convertalias	Fogfv
convertparams	GLfloat     params
category	GLES1.1 GLES1.1:OES_fixed_point

name		FrontFace
return		void
param		mode		GLenum
checkparam	mode		GL_CW GL_CCW
category	1.0 GLES1.1 GLES2.0

name		Hint
return		void
param		target		GLenum
param		mode		GLenum
checkparam	target		GLES1.1:GL_FOG_HINT GLES1.1:GL_LINE_SMOOTH_HINT GLES1.1:GL_PERSPECTIVE_CORRECTION_HINT GLES1.1:GL_POINT_SMOOTH_HINT 
checkparam      target          GL_GENERATE_MIPMAP_HINT
checkparam	mode		GL_FASTEST GL_NICEST GL_DONT_CARE
# OES_standard_derivatives
checkparam      target          GLES2.0:GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES
category	GLES1.1 GLES2.0

name		Lightf
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
checkparam	pname		GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
param		param		GLfloat
category	1.0 GLES1.1

name		Lightfv
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
param		params		const GLfloat *
paramvec	params		0.0 1.0 1.0 0.0
dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_SPECULAR GL_POSITION
dependentvector params 3 pname GL_SPOT_DIRECTION
dependentvector params 1 pname GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
category	1.0 1.1 GLES1.1

name		Lightx
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
checkparam	pname		GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
param		param		GLfixed
convertalias	Lightf
convertparams	GLfloat         param
category	GLES1.1 GLES1.1:OES_fixed_point

name		Lightxv
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
param		params		const GLfixed *
dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_SPECULAR GL_POSITION
dependentvector params 3 pname GL_SPOT_DIRECTION
dependentvector params 1 pname GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
convertalias	Lightfv
convertparams	GLfloat         params
category	GLES1.1 GLES1.1:OES_fixed_point

name		LightModelf
return		void
param		pname		GLenum
checkparam      pname           GL_LIGHT_MODEL_TWO_SIDE
param		param		GLfloat
checkdependentparam pname GL_LIGHT_MODEL_TWO_SIDE param GL_TRUE GL_FALSE
category	1.0 GLES1.1

name		LightModelfv
return		void
param		pname		GLenum
param		params		const GLfloat *
dependentvector	params 4 pname GL_LIGHT_MODEL_AMBIENT
dependentvector	params 1 pname GL_LIGHT_MODEL_TWO_SIDE
category	1.0 GLES1.1

name		LightModelx
return		void
param		pname		GLenum
checkparam	pname		GL_LIGHT_MODEL_TWO_SIDE
param		param		GLfixed
checkdependentparam pname GL_LIGHT_MODEL_TWO_SIDE param GL_TRUE GL_FALSE
convertalias	LightModelf
convertparams	GLfloat         param
category	GLES1.1 GLES1.1:OES_fixed_point

name		LightModelxv
return		void
param		pname		GLenum
param		params		const GLfixed *
dependentvector	params 4 pname GL_LIGHT_MODEL_AMBIENT
dependentvector	params 1 pname GL_LIGHT_MODEL_TWO_SIDE
checkdependentparam pname GL_LIGHT_MODEL_TWO_SIDE params GL_TRUE GL_FALSE
convertalias	LightModelfv
convertparams	GLfloat         params
category	GLES1.1 GLES1.1:OES_fixed_point

name		LineWidth
return		void
param		width		GLfloat
category	1.0 GLES1.1 GLES2.0

name		LineWidthx
return		void
param		width		GLfixed
convertalias	LineWidth
convertparams	GLfloat         width
category	GLES1.1 GLES1.1:OES_fixed_point

name		Materialf
aliasprefix	_vbo_
return		void
param		face		GLenum
checkparam	face		GL_FRONT_AND_BACK
param		pname		GLenum
checkparam	pname		GL_SHININESS
param		param		GLfloat
category	1.0 GLES1.1

name		Materialfv
aliasprefix	_vbo_
return		void
param		face		GLenum
checkparam	face		GL_FRONT_AND_BACK
param		pname		GLenum
param		params		const GLfloat *
paramvec	params		0.8 0.8 0.5 0.1
dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_AMBIENT_AND_DIFFUSE GL_SPECULAR GL_EMISSION
dependentvector params 1 pname GL_SHININESS
category	1.0 GLES1.1

name		Materialx
return		void
param		face		GLenum
checkparam	face		GL_FRONT_AND_BACK
param		pname		GLenum
checkparam	pname		GL_SHININESS
param		param		GLfixed
aliasprefix	_vbo_
convertalias	Materialf
convertparams	GLfloat         param
category	GLES1.1 GLES1.1:OES_fixed_point

name		Materialxv
return		void
param		face		GLenum
checkparam	face		GL_FRONT_AND_BACK
param		pname		GLenum
param		params		const GLfixed *
dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_AMBIENT_AND_DIFFUSE GL_SPECULAR GL_EMISSION
dependentvector params 1 pname GL_SHININESS
aliasprefix	_vbo_
convertalias	Materialfv
convertparams	GLfloat         params
category	GLES1.1 GLES1.1:OES_fixed_point

name		PointSize
return		void
param		size		GLfloat
category	1.0 GLES1.1

name		PointSizex
return		void
param		size		GLfixed
convertalias	PointSize
convertparams	GLfloat         size
category	GLES1.1 GLES1.1:OES_fixed_point

name		PointSizePointer
return		void
param		type		GLenum
checkparam	type		GL_FIXED GL_FLOAT
param		stride		GLsizei
param		pointer		const GLvoid *
props		setclient
# OES_vertex_half_float - not in glext.h
#checkparam	type		GL_HALF_FLOAT_OES
category	GLES1.1:OES_point_size_array

name		Scissor
return		void
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
category	1.0 GLES1.1 GLES2.0

name		ShadeModel
return		void
param		mode		GLenum
checkparam	mode		GL_FLAT GL_SMOOTH
category	1.0 GLES1.1

name		TexParameterf
return		void
param		target		GLenum
checkparam      target          GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		param		GLfloat
checkdependentparam pname GL_TEXTURE_WRAP_S param GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T param GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER param GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER param GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP param GLES1.1:GL_TRUE GLES1.1:GL_FALSE
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S param GLES1.1:GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T param GLES1.1:GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
checkparam      pname           GL_TEXTURE_MAX_ANISOTROPY_EXT
# OES_texture_3D
checkdependentparam pname GL_TEXTURE_WRAP_R_OES param GLES2.0:GL_CLAMP_TO_EDGE GLES2.0:GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
category	GLES1.1 GLES2.0

name		TexParameterfv
return		void
param		target		GLenum 
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		params		const GLfloat *
dependentvector	params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GLES1.1:GL_GENERATE_MIPMAP
checkdependentparam pname GL_TEXTURE_WRAP_S params GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T params GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER params GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER params GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP params GLES1.1:GL_TRUE GLES1.1:GL_FALSE
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S params GLES1.1:GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T params GLES1.1:GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
dependentvector	params 1 pname  GL_TEXTURE_MAX_ANISOTROPY_EXT
# OES_texture_3D
checkdependentparam pname GL_TEXTURE_WRAP_R_OES params GLES2.0:GL_CLAMP_TO_EDGE GLES2.0:GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
# OES_draw_texture - not in gl2ext.h yet, not supported in Mesa yet
#dependentvector	params 4 pname GLES1.1:GL_TEXTURE_CROP_RECT_OES
category	GLES1.1 GLES2.0

name		TexParameteri
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		param		GLint
checkdependentparam pname GL_TEXTURE_WRAP_S param GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T param GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER param GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER param GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP param GLES1.1:GL_TRUE GLES1.1:GL_FALSE
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S param GLES1.1:GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T param GLES1.1:GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
checkparam      pname           GL_TEXTURE_MAX_ANISOTROPY_EXT
# OES_texture_3D
checkdependentparam pname GL_TEXTURE_WRAP_R_OES param GLES2.0:GL_CLAMP_TO_EDGE GLES2.0:GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
category	GLES1.1 GLES2.0

name		TexParameteriv
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		params		const GLint *
dependentvector	params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GLES1.1:GL_GENERATE_MIPMAP
checkdependentparam pname GL_TEXTURE_WRAP_S params GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T params GL_CLAMP_TO_EDGE GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER params GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER params GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP params GLES1.1:GL_TRUE GLES1.1:GL_FALSE
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S params GLES1.1:GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T params GLES1.1:GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
dependentvector params 1 pname  GL_TEXTURE_MAX_ANISOTROPY_EXT
# OES_texture_3D
checkdependentparam pname GL_TEXTURE_WRAP_R_OES params GLES2.0:GL_CLAMP_TO_EDGE GLES2.0:GL_REPEAT GLES2.0:GL_MIRRORED_REPEAT
# OES_draw_texture - not in gl2ext.h yet
dependentvector	params 4 pname GLES1.1:GL_TEXTURE_CROP_RECT_OES
category	GLES1.1 GLES2.0

name		TexParameterx
return		void
param		target		GLenum
checkparam      target          GL_TEXTURE_2D
param		pname		GLenum
param		param		GLfixed
checkdependentparam pname GL_TEXTURE_WRAP_S param GL_CLAMP_TO_EDGE GL_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T param GL_CLAMP_TO_EDGE GL_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER param GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER param GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP param GL_TRUE GL_FALSE
convertalias	TexParameterf
convertparams   GLfloat         param
# OES_texture_cube_map
checkparam      target          GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S param GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T param GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
checkparam pname GL_TEXTURE_MAX_ANISOTROPY_EXT
category	GLES1.1 GLES1.1:OES_fixed_point


# Same is true for this function.
name		TexParameterxv
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GL_TEXTURE_CUBE_MAP_OES
param		pname		GLenum
param		params		const GLfixed *
vector          params          1
dependentvector	params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GL_GENERATE_MIPMAP
checkdependentparam pname GL_TEXTURE_WRAP_S params GL_CLAMP_TO_EDGE GL_REPEAT
checkdependentparam pname GL_TEXTURE_WRAP_T params GL_CLAMP_TO_EDGE GL_REPEAT
checkdependentparam pname GL_TEXTURE_MIN_FILTER params GL_NEAREST GL_LINEAR GL_NEAREST_MIPMAP_NEAREST GL_NEAREST_MIPMAP_LINEAR GL_LINEAR_MIPMAP_NEAREST GL_LINEAR_MIPMAP_LINEAR
checkdependentparam pname GL_TEXTURE_MAG_FILTER params GL_NEAREST GL_LINEAR
checkdependentparam pname GL_GENERATE_MIPMAP params GL_TRUE GL_FALSE
convertalias	TexParameterfv
convertparams   GLfloat         params
# OES_draw_texture - not supported in Mesa  yet
dependentvector	params 4 pname GL_TEXTURE_CROP_RECT_OES
# OES_texture_cube_map
checkparam      target          GL_TEXTURE_CUBE_MAP_OES
# OES_texture_mirrored_repeat
checkdependentparam pname GL_TEXTURE_WRAP_S params GL_MIRRORED_REPEAT_OES
checkdependentparam pname GL_TEXTURE_WRAP_T params GL_MIRRORED_REPEAT_OES
# EXT_texture_filter_anisotropic
dependentvector params 1 pname GL_TEXTURE_MAX_ANISOTROPY_EXT
category	GLES1.1 GLES1.1:OES_fixed_point

# TexImage2D has *different* versions for GLES1 and GLES2, strangely,
# with different types for "internalFormat".  There's also a few
# tokens with different spellings.
name		TexImage2D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D
param		level		GLint
param		internalFormat	GLint
param		width		GLsizei
param		height		GLsizei
param		border		GLint
param		format		GLenum
param		type		GLenum
param		pixels		const GLvoid *
checkparam      internalFormat /GL_INVALID_VALUE GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
checkparam      border         /GL_INVALID_VALUE 0
# OES_texture_cube_map
checkparam	target		GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
## OES_packed_depth_stencil - only appears in GLES2 header files?
#checkdependentparam format GL_DEPTH_STENCIL_OES internalFormat GL_UNSIGNED_INT_24_8_OES
category	1.0 GLES1.1 

name		TexImage2D
return		void
param		target		GLenum
param		level		GLint
# it is compiled with OpenGL header
#param		internalFormat	GLenum
param		internalFormat	GLint
param		width		GLsizei
param		height		GLsizei
param		border		GLint
param		format		GLenum
param		type		GLenum
param		pixels		const GLvoid *
checkparam	target		GL_TEXTURE_2D GL_TEXTURE_CUBE_MAP_POSITIVE_X GL_TEXTURE_CUBE_MAP_POSITIVE_Y GL_TEXTURE_CUBE_MAP_POSITIVE_Z GL_TEXTURE_CUBE_MAP_NEGATIVE_X GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
checkparam      internalFormat /GL_INVALID_VALUE GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
checkparam      border         /GL_INVALID_VALUE 0
checkdependentparam format GL_ALPHA type GL_UNSIGNED_BYTE
checkdependentparam format GL_RGB type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_5_6_5
checkdependentparam format GL_RGBA type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_4_4_4_4 GL_UNSIGNED_SHORT_5_5_5_1
checkdependentparam format GL_LUMINANCE type GL_UNSIGNED_BYTE
checkdependentparam format GL_LUMINANCE_ALPHA type GL_UNSIGNED_BYTE
# OES_texture_float
checkdependentparam format GL_ALPHA type GL_FLOAT
checkdependentparam format GL_RGB type GL_FLOAT
checkdependentparam format GL_RGBA type GL_FLOAT
checkdependentparam format GL_LUMINANCE type GL_FLOAT
checkdependentparam format GL_LUMINANCE_ALPHA type GL_FLOAT
# OES_texture_half_float
checkdependentparam format GL_ALPHA type GL_HALF_FLOAT_OES
checkdependentparam format GL_RGB type GL_HALF_FLOAT_OES
checkdependentparam format GL_RGBA type GL_HALF_FLOAT_OES
checkdependentparam format GL_LUMINANCE type GL_HALF_FLOAT_OES
checkdependentparam format GL_LUMINANCE_ALPHA type GL_HALF_FLOAT_OES
# EXT_texture_type_2_10_10_10_REV
checkdependentparam format GL_RGBA type GL_UNSIGNED_INT_2_10_10_10_REV_EXT
# OES_depth_texture
checkdependentparam format GL_DEPTH_COMPONENT type GL_UNSIGNED_SHORT GL_UNSIGNED_INT
checkparam     internalFormat  GL_DEPTH_COMPONENT
category	GLES2.0

name		TexEnvf
return		void
param		target		GLenum
param		pname		GLenum
param		param		GLfloat
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE param GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_RGB_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
# OES_texture_env_crossbar
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
# OES_point_sprite
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES param GL_TRUE GL_FALSE
category	1.0 GLES1.1

name		TexEnvfv
return		void
param		target		GLenum
param		pname		GLenum
param		params		const GLfloat *
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES params GL_TRUE GL_FALSE
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_TEXTURE_ENV_COLOR GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE params GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_RGB_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_COORD_REPLACE_OES GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
dependentvector params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
# OES_texture_env_crossbar
dependentvector params 1 pname GL_SRC0_RGB GL_SRC1_RGB GL_SRC2_RGB GL_SRC0_ALPHA GL_SRC1_ALPHA GL_SRC2_ALPHA
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.0 GLES1.1

name		TexEnvi
return		void
param		target		GLenum
param		pname		GLenum
param		param		GLint
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES param GL_TRUE GL_FALSE
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE param GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_RGB_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
# OES_texture_env_crossbar
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.0 GLES1.1

name		TexEnviv
return		void
param		target		GLenum
param		pname		GLenum
param		params		const GLint *
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES params GL_TRUE GL_FALSE
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_TEXTURE_ENV_COLOR GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE params GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_RGB_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_COORD_REPLACE_OES GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
dependentvector params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
# OES_texture_env_crossbar
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.0 GLES1.1

name		TexEnvx
return		void
param		target		GLenum
param		pname		GLenum
param		param		GLfixed
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES param GL_TRUE GL_FALSE
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE param GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA param GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_RGB_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE param /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB param GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA param GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
convertalias	TexEnvf
convertparams	GLfloat     param
# OES_texture_env_crossbar
checkdependentparam pname GL_SRC0_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA param GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.0 GLES1.1 GLES1.1:OES_fixed_point

name		TexEnvxv
return		void
param		target		GLenum
param		pname		GLenum
param		params		const GLfixed *
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam pname GL_COORD_REPLACE_OES params GL_TRUE GL_FALSE
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_TEXTURE_ENV_COLOR GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
checkdependentparam pname GL_TEXTURE_ENV_MODE params GL_REPLACE GL_MODULATE GL_DECAL GL_BLEND GL_ADD GL_COMBINE
checkdependentparam pname GL_COMBINE_RGB params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT GL_DOT3_RGB GL_DOT3_RGBA
checkdependentparam pname GL_COMBINE_ALPHA params GL_REPLACE GL_MODULATE GL_ADD GL_ADD_SIGNED GL_INTERPOLATE GL_SUBTRACT
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND0_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND1_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_RGB params GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE GL_CONSTANT GL_PRIMARY_COLOR GL_PREVIOUS
checkdependentparam pname GL_OPERAND2_ALPHA params GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
checkdependentparam pname GL_RGB_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
checkdependentparam pname GL_ALPHA_SCALE params /GL_INVALID_VALUE 1.0 2.0 4.0
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_COORD_REPLACE_OES GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
dependentvector params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
convertalias	TexEnvfv
convertparams	GLfloat     params
# OES_texture_env_crossbar
dependentvector params 1 pname GL_SRC0_RGB GL_SRC1_RGB GL_SRC2_RGB GL_SRC0_ALPHA GL_SRC1_ALPHA GL_SRC2_ALPHA
checkdependentparam pname GL_SRC0_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_RGB params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC0_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC1_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
checkdependentparam pname GL_SRC2_ALPHA params GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	GLES1.1 GLES1.1:OES_fixed_point

name		TexGenx
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		param		GLfixed
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES param GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
convertalias    TexGenf
convertparams   GLfloat         param
category	GLES1.1:OES_texture_cube_map

name		TexGenxv
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		params		const GLfixed *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES params GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
convertalias    TexGenfv
convertparams   GLfloat         params
category	GLES1.1:OES_texture_cube_map

name		TexGenf
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
checkparam      pname           GL_TEXTURE_GEN_MODE_OES
param		param		GLfloat
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES param GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
category	1.0 GLES1.1:OES_texture_cube_map

name		TexGenfv
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		params		const GLfloat *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES params GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
category	1.0 GLES1.1:OES_texture_cube_map

name		TexGeni
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
checkparam      pname           GL_TEXTURE_GEN_MODE_OES
param		param		GLint
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES param GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
category	1.0 GLES1.1:OES_texture_cube_map

name		TexGeniv
return		void
param		coord		GLenum
checkparam      coord           GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
checkparam      pname           GL_TEXTURE_GEN_MODE_OES
param		params		const GLint *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
checkdependentparam pname GL_TEXTURE_GEN_MODE_OES params GL_NORMAL_MAP_OES GL_REFLECTION_MAP_OES
category	1.0 GLES1.1:OES_texture_cube_map

name		Clear
return		void
param		mask		GLbitfield
checkparam      mask   /GL_INVALID_VALUE 0 (GL_COLOR_BUFFER_BIT) (GL_DEPTH_BUFFER_BIT) (GL_STENCIL_BUFFER_BIT) (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT) (GL_COLOR_BUFFER_BIT|GL_STENCIL_BUFFER_BIT) (GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT) (GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT)
category	1.0 GLES1.1 GLES2.0

name		ClearColor
return		void
param		red		GLclampf
param		green		GLclampf
param		blue		GLclampf
param		alpha		GLclampf
category	1.0 GLES1.1 GLES2.0

name		ClearColorx
return		void
param		red		GLclampx
param		green		GLclampx
param		blue		GLclampx
param		alpha		GLclampx
convertalias	ClearColor
convertparams   GLclampf        red green blue alpha
category	GLES1.1 GLES1.1:OES_fixed_point

name		ClearStencil
return		void
param		s		GLint
category	1.0 GLES1.1 GLES2.0

name		ClearDepthf
return		void
param		depth		GLclampf
convertalias	ClearDepth
convertparams	GLclampd        depth
category	GLES1.1 GLES1.1:OES_single_precision GLES2.0

name		ClearDepthx
return		void
param		depth		GLclampx
convertalias	ClearDepth
convertparams	GLclampd        depth
category	GLES1.1 GLES1.1:OES_fixed_point

name		StencilMask
return		void
param		mask		GLuint
category	1.0 GLES1.1 GLES2.0

name		StencilMaskSeparate
return		void
param           face            GLenum
param		mask		GLuint
checkparam      face            GL_FRONT GL_BACK GL_FRONT_AND_BACK
category	GLES2.0

name		ColorMask
return		void
param		red		GLboolean
param		green		GLboolean
param		blue		GLboolean
param		alpha		GLboolean
category	1.0 GLES1.1 GLES2.0

name		DepthMask
return		void
param		flag		GLboolean
category	1.0 GLES1.1 GLES2.0

# Two versions, as GLES2 has a vastly different set of enable/disable capabilities
name		Disable
return		void
param		cap		GLenum
checkparam      cap             GL_VERTEX_ARRAY GL_NORMAL_ARRAY GL_COLOR_ARRAY GL_TEXTURE_COORD_ARRAY GL_NORMALIZE GL_RESCALE_NORMAL GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5 GL_FOG GL_LIGHTING GL_COLOR_MATERIAL GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7 GL_POINT_SMOOTH GL_LINE_SMOOTH GL_CULL_FACE GL_POLYGON_OFFSET_FILL GL_MULTISAMPLE GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_ALPHA_TO_ONE GL_SAMPLE_COVERAGE GL_TEXTURE_2D GL_SCISSOR_TEST GL_ALPHA_TEST GL_STENCIL_TEST GL_DEPTH_TEST GL_BLEND GL_DITHER GL_COLOR_LOGIC_OP
# OES_matrix_palette
checkparam      cap             GL_MATRIX_INDEX_ARRAY_OES GL_WEIGHT_ARRAY_OES
# OES_point_size_array
checkparam      cap             GL_POINT_SIZE_ARRAY_OES
# OES_point_sprite
checkparam      cap             GL_POINT_SPRITE_OES
# OES_texture_cube_map
checkparam      cap             GL_TEXTURE_CUBE_MAP_OES GL_TEXTURE_GEN_STR_OES
category	GLES1.1

name		Disable
return		void
param		cap		GLenum
checkparam      cap             GL_CULL_FACE GL_SCISSOR_TEST GL_POLYGON_OFFSET_FILL GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_COVERAGE GL_STENCIL_TEST GL_DEPTH_TEST GL_DITHER GL_BLEND
category	GLES2.0

# Two versions, as GLES2 has a vastly different set of enable/disable capabilities
name		Enable
return		void
param		cap		GLenum
checkparam      cap             GL_VERTEX_ARRAY GL_NORMAL_ARRAY GL_COLOR_ARRAY GL_TEXTURE_COORD_ARRAY GL_NORMALIZE GL_RESCALE_NORMAL GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5 GL_FOG GL_LIGHTING GL_COLOR_MATERIAL GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7 GL_POINT_SMOOTH GL_LINE_SMOOTH GL_CULL_FACE GL_POLYGON_OFFSET_FILL GL_MULTISAMPLE GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_ALPHA_TO_ONE GL_SAMPLE_COVERAGE GL_TEXTURE_2D GL_SCISSOR_TEST GL_ALPHA_TEST GL_STENCIL_TEST GL_DEPTH_TEST GL_BLEND GL_DITHER GL_COLOR_LOGIC_OP
# OES_matrix_palette
checkparam      cap             GL_MATRIX_INDEX_ARRAY_OES GL_WEIGHT_ARRAY_OES
# OES_point_size_array
checkparam      cap             GL_POINT_SIZE_ARRAY_OES
# OES_point_sprite
checkparam      cap             GL_POINT_SPRITE_OES
# OES_texture_cube_map
checkparam      cap             GL_TEXTURE_CUBE_MAP_OES GL_TEXTURE_GEN_STR_OES
category	GLES1.1

name		Enable
return		void
param		cap		GLenum
checkparam      cap             GL_CULL_FACE GL_SCISSOR_TEST GL_POLYGON_OFFSET_FILL GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_COVERAGE GL_STENCIL_TEST GL_DEPTH_TEST GL_DITHER GL_BLEND
category	GLES2.0

name		Finish
return		void
category	1.0 GLES1.1 GLES2.0

name		Flush
return		void
category	1.0 GLES1.1 GLES2.0

name		AlphaFunc
return		void
param		func		GLenum
checkparam	func		GL_NEVER GL_LESS GL_EQUAL GL_LEQUAL GL_GREATER GL_NOTEQUAL GL_GEQUAL GL_ALWAYS
param		ref		GLclampf
category	1.0 GLES1.1

name		AlphaFuncx
return		void
param		func		GLenum
checkparam	func		GL_NEVER GL_LESS GL_EQUAL GL_LEQUAL GL_GREATER GL_NOTEQUAL GL_GEQUAL GL_ALWAYS
param		ref		GLclampx
convertalias	AlphaFunc
convertparams	GLclampf        ref
category	GLES1.1 GLES1.1:OES_fixed_point

name		BlendFunc
return		void
param		sfactor		GLenum
checkparam	sfactor		GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_DST_COLOR GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_COLOR GL_DST_ALPHA GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_DST_ALPHA GL_SRC_ALPHA_SATURATE
checkparam      sfactor         GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
param		dfactor		GLenum
checkparam	dfactor		GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_COLOR GL_DST_ALPHA GL_ONE_MINUS_DST_COLOR GL_ONE_MINUS_DST_ALPHA
checkparam      dfactor         GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
category	1.0 GLES1.1 GLES2.0

name		LogicOp
return		void
param		opcode		GLenum
checkparam	opcode		GL_CLEAR GL_SET GL_COPY GL_COPY_INVERTED GL_NOOP GL_INVERT GL_AND GL_NAND GL_OR GL_NOR GL_XOR GL_EQUIV GL_AND_REVERSE GL_AND_INVERTED GL_OR_REVERSE GL_OR_INVERTED
category	1.0 GLES1.1

name		StencilFunc
return		void
param		func		GLenum
param		ref		GLint
param		mask		GLuint
checkparam	func		GL_NEVER GL_LESS GL_LEQUAL GL_GREATER GL_GEQUAL GL_EQUAL GL_NOTEQUAL GL_ALWAYS
category	1.0 GLES1.1 GLES2.0

name            StencilFuncSeparate
return          void
param           face            GLenum
param           func            GLenum
param           ref             GLint
param           mask            GLuint
checkparam      face            GL_FRONT GL_BACK GL_FRONT_AND_BACK
checkparam	func		GL_NEVER GL_LESS GL_LEQUAL GL_GREATER GL_GEQUAL GL_EQUAL GL_NOTEQUAL GL_ALWAYS
category        GLES2.0

name		StencilOp
return		void
param		fail		GLenum
param		zfail		GLenum
param		zpass		GLenum
checkparam	fail		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GLES2.0:GL_INCR_WRAP GLES2.0:GL_DECR_WRAP
checkparam	zfail		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GLES2.0:GL_INCR_WRAP GLES2.0:GL_DECR_WRAP
checkparam	zpass		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GLES2.0:GL_INCR_WRAP GLES2.0:GL_DECR_WRAP
# OES_stencil_wrap
checkparam      fail            GLES1.1:GL_INCR_WRAP_OES GLES1.1:GL_DECR_WRAP_OES
checkparam      zfail           GLES1.1:GL_INCR_WRAP_OES GLES1.1:GL_DECR_WRAP_OES
checkparam      zpass           GLES1.1:GL_INCR_WRAP_OES GLES1.1:GL_DECR_WRAP_OES
category	GLES1.1 GLES2.0

name		StencilOpSeparate
return		void
param           face            GLenum
param		fail		GLenum
param		zfail		GLenum
param		zpass		GLenum
checkparam      face            GL_FRONT GL_BACK GL_FRONT_AND_BACK
checkparam	fail		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GL_INCR_WRAP GL_DECR_WRAP
checkparam	zfail		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GL_INCR_WRAP GL_DECR_WRAP
checkparam	zpass		GL_KEEP GL_ZERO GL_REPLACE GL_INCR GL_DECR GL_INVERT GL_INCR_WRAP GL_DECR_WRAP
category	GLES2.0

name		DepthFunc
return		void
param		func		GLenum
checkparam	func		GL_NEVER GL_LESS GL_EQUAL GL_LEQUAL GL_GREATER GL_NOTEQUAL GL_GEQUAL GL_ALWAYS
category	1.0 GLES1.1 GLES2.0

name		PixelStorei
return		void
param		pname		GLenum
checkparam	pname		GL_PACK_ALIGNMENT GL_UNPACK_ALIGNMENT
param		param		GLint
checkparam      param /GL_INVALID_VALUE 1 2 4 8
category	1.0 GLES1.1 GLES2.0

name		ReadPixels
return		void
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
param		format		GLenum
param		type		GLenum
param		pixels		GLvoid *
# Technically, only two combinations are actually allowed:
# GL_RGBA/GL_UNSIGNED_BYTE, and some implementation-specific internal 
# preferred combination.  I don't know what that is, so I'm allowing
# any valid combination for now; the underlying support should fail
# when necessary.
checkdependentparam format GL_RGBA type GL_UNSIGNED_BYTE
checkdependentparam format GL_RGBA type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_4_4_4_4  GL_UNSIGNED_SHORT_5_5_5_1
checkdependentparam format GL_RGB type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_5_6_5
checkdependentparam format GL_LUMINANCE_ALPHA format GL_UNSIGNED_BYTE
checkdependentparam format GL_LUMINANCE format GL_UNSIGNED_BYTE
checkdependentparam format GL_ALPHA format GL_UNSIGNED_BYTE
props		get 
category	1.0 GLES1.1 GLES2.0

# Note: glGetBooleanv param checking done inside Mesa
name		GetBooleanv
return		void
param		pname		GLenum
param		params		GLboolean *
props		get
category	GLES1.1 GLES2.0

name		GetClipPlanef
return		void
param		plane		GLenum
checkparam	plane		GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
param		equation	GLfloat *
paramvec	equation	0.0 0.0 0.0 0.0
vector		equation	4
convertalias	GetClipPlane
convertparams	GLdouble        equation
props		get
category	GLES1.1 GLES1.1:OES_single_precision

name		GetClipPlanex
return		void
param		plane		GLenum
checkparam	plane		GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
param		equation	GLfixed *
paramvec	equation	0.0 0.0 0.0 0.0
vector		equation	4
convertalias	GetClipPlane
convertparams	GLdouble        equation
props		get
category	GLES1.1 GLES1.1:OES_fixed_point

name		GetError
return		GLenum
props		get
category	1.0 GLES1.1 GLES2.0

# Note: glGetFloatv param checking done inside Mesa
name		GetFloatv
return		void
param		pname		GLenum
param		params		GLfloat *
props		get
category	GLES1.1 GLES2.0

name		GetFixedv
return		void
param		pname		GLenum
param		params		GLfixed *
convertalias	GetFloatv
convertparams	GLfloat         params
props		get
dependentvector params 1 pname GL_CLIENT_ACTIVE_TEXTURE GL_VERTEX_ARRAY GL_VERTEX_ARRAY_SIZE GL_VERTEX_ARRAY_TYPE GL_VERTEX_ARRAY_STRIDE GL_NORMAL_ARRAY GL_NORMAL_ARRAY_TYPE GL_NORMAL_ARRAY_STRIDE GL_COLOR_ARRAY GL_COLOR_ARRAY_SIZE GL_COLOR_ARRAY_TYPE 
dependentvector params 1 pname GL_TEXTURE_COORD_ARRAY GL_TEXTURE_COORD_ARRAY_SIZE GL_TEXTURE_COORD_ARRAY_TYPE GL_TEXTURE_COORD_ARRAY_STRIDE GL_POINT_SIZE_ARRAY_OES GL_POINT_SIZE_ARRAY_STRIDE_OES GL_ARRAY_BUFFER_BINDING GL_VERTEX_ARRAY_BUFFER_BINDING GL_NORMAL_ARRAY_BUFFER_BINDING GL_COLOR_ARRAY_BUFFER_BINDING GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES GL_ELEMENT_ARRAY_BUFFER_BINDING
dependentvector params 1 pname GL_MODELVIEW_STACK_DEPTH GL_PROJECTION_STACK_DEPTH GL_TEXTURE_STACK_DEPTH GL_MATRIX_MODE GL_NORMALIZE GL_RESCALE_NORMAL GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5
dependentvector params 1 pname GL_FOG_DENSITY GL_FOG_START GL_FOG_END GL_FOG_MODE GL_FOG GL_SHADE_MODEL
dependentvector params 1 pname GL_LIGHTING GL_COLOR_MATERIAL GL_LIGHT_MODEL_TWO_SIDE
dependentvector params 1 pname GL_POINT_SIZE GL_POINT_SMOOTH GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE GL_POINT_SPRITE_OES GL_LINE_WIDTH  GL_LINE_SMOOTH GL_CULL_FACE GL_CULL_FACE_MODE GL_FRONT_FACE GL_POLYGON_OFFSET_FACTOR GL_POLYGON_OFFSET_UNITS GL_POLYGON_OFFSET_FILL 
dependentvector params 1 pname GL_MULTISAMPLE GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_ALPHA_TO_ONE GL_SAMPLE_COVERAGE GL_SAMPLE_COVERAGE_VALUE
dependentvector params 1 pname GL_TEXTURE_2D GL_TEXTURE_BINDING_2D 
dependentvector params 1 pname GL_ACTIVE_TEXTURE
dependentvector params 1 pname GL_SCISSOR_TEST GL_ALPHA_TEST_FUNC GL_ALPHA_TEST_REF GL_STENCIL_TEST GL_STENCIL_FUNC GL_STENCIL_VALUE_MASK GL_STENCIL_REF GL_STENCIL_FAIL GL_STENCIL_PASS_DEPTH_FAIL GL_STENCIL_PASS_DEPTH_PASS GL_DEPTH_TEST GL_DEPTH_FUNC GL_BLEND GL_BLEND_SRC GL_BLEND_DST GL_DITHER GL_COLOR_LOGIC_OP GL_LOGIC_OP_MODE
dependentvector params 1 pname GL_DEPTH_WRITEMASK GL_STENCIL_WRITEMASK GL_DEPTH_CLEAR_VALUE GL_STENCIL_CLEAR_VALUE
dependentvector params 1 pname GL_UNPACK_ALIGNMENT GL_PACK_ALIGNMENT
dependentvector params 1 pname GL_PERSPECTIVE_CORRECTION_HINT GL_POINT_SMOOTH_HINT GL_LINE_SMOOTH_HINT GL_FOG_HINT GL_GENERATE_MIPMAP_HINT
dependentvector params 1 pname GL_MAX_LIGHTS GL_MAX_CLIP_PLANES GL_MAX_MODELVIEW_STACK_DEPTH GL_MAX_PROJECTION_STACK_DEPTH GL_MAX_TEXTURE_STACK_DEPTH GL_SUBPIXEL_BITS GL_MAX_TEXTURE_SIZE GL_MAX_TEXTURE_UNITS GL_SAMPLE_BUFFERS GL_SAMPLES GL_NUM_COMPRESSED_TEXTURE_FORMATS GL_RED_BITS GL_GREEN_BITS GL_BLUE_BITS GL_ALPHA_BITS GL_DEPTH_BITS GL_STENCIL_BITS
dependentvector params 2 pname GL_MAX_VIEWPORT_DIMS GL_ALIASED_POINT_SIZE_RANGE GL_SMOOTH_POINT_SIZE_RANGE GL_ALIASED_LINE_WIDTH_RANGE GL_SMOOTH_LINE_WIDTH_RANGE
dependentvector params 2 pname GL_DEPTH_RANGE
dependentvector params 3 pname GL_CURRENT_NORMAL
dependentvector params 3 pname GL_POINT_DISTANCE_ATTENUATION
dependentvector params 4 pname GL_CURRENT_COLOR GL_CURRENT_TEXTURE_COORDS
dependentvector params 4 pname GL_SCISSOR_BOX
dependentvector params 4 pname GL_COLOR_WRITEMASK GL_COLOR_CLEAR_VALUE
dependentvector params 4 pname GL_LIGHT_MODEL_AMBIENT
dependentvector params 4 pname GL_VIEWPORT
dependentvector params 4 pname GL_FOG_COLOR
dependentvector params 16 pname GL_MODELVIEW_MATRIX GL_PROJECTION_MATRIX GL_TEXTURE_MATRIX 
dependentvector params _get_size(GL_NUM_COMPRESSED_TEXTURE_FORMATS) pname GL_COMPRESSED_TEXTURE_FORMATS 
# OES_blend_subtract
dependentvector params 1 pname GL_BLEND_SRC_RGB_OES GL_BLEND_DST_RGB_OES GL_BLEND_SRC_ALPHA_OES GL_BLEND_DST_ALPHA_OES
# OES_blend_equation_separate
dependentvector params 1 pname GL_BLEND_EQUATION_RGB_OES GL_BLEND_EQUATION_ALPHA_OES
# OES_framebuffer_object
dependentvector params 1 pname GL_FRAMEBUFFER_BINDING_OES GL_RENDERBUFFER_BINDING_OES GL_MAX_RENDERBUFFER_SIZE_OES
# OES_matrix_get
dependentvector params 16 pname GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES
# OES_matrix_palette
dependentvector params 1 pname GL_MAX_PALETTE_MATRICES_OES GL_MAX_VERTEX_UNITS_OES GL_CURRENT_PALETTE_MATRIX_OES
dependentvector params 1 pname GL_MATRIX_INDEX_ARRAY_SIZE_OES GL_MATRIX_INDEX_ARRAY_TYPE_OES GL_MATRIX_INDEX_ARRAY_STRIDE_OES GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES GL_WEIGHT_ARRAY_SIZE_OES GL_WEIGHT_ARRAY_TYPE_OES GL_WEIGHT_ARRAY_STRIDE_OES GL_WEIGHT_ARRAY_BUFFER_BINDING_OES
# OES_point_size_array
dependentvector params 1 pname GL_POINT_SIZE_ARRAY_TYPE_OES GL_POINT_SIZE_ARRAY_STRIDE_OES GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES
# OES_read_format
dependentvector params 1 pname GL_IMPLEMENTATION_COLOR_READ_TYPE_OES GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES
# OES_texture_cube_map
dependentvector params 1 pname GL_TEXTURE_CUBE_MAP_OES GL_TEXTURE_BINDING_CUBE_MAP_OES GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES
# EXT_texture_filter_anisotropic
dependentvector params 1 pname GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
# These values return booleans or GLenums, and should not have their
# value converted when used with glGetFixed()
dependentnovalueconvert params pname GL_VERTEX_ARRAY GL_VERTEX_ARRAY_TYPE GL_NORMAL_ARRAY GL_NORMAL_ARRAY_TYPE GL_COLOR_ARRAY GL_COLOR_ARRAY_TYPE GL_TEXTURE_COORD_ARRAY GL_TEXTURE_COORD_ARRAY_TYPE GL_POINT_SIZE_ARRAY_OES GL_MATRIX_MODE GL_NORMALIZE GL_RESCALE_NORMAL GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5 GL_FOG_MODE GL_FOG GL_SHADE_MODEL GL_LIGHTING GL_COLOR_MATERIAL GL_LIGHT_MODEL_TWO_SIDE GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7 GL_POINT_SMOOTH GL_POINT_SPRITE_OES GL_LINE_SMOOTH GL_CULL_FACE GL_CULL_FACE_MODE GL_FRONT_FACE GL_POLYGON_OFFSET_FILL GL_MULTISAMPLE GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_ALPHA_TO_ONE GL_SAMPLE_COVERAGE GL_TEXTURE_2D GL_ACTIVE_TEXTURE GL_SCISSOR_TEST GL_ALPHA_TEST GL_ALPHA_TEST_FUNC GL_STENCIL_TEST GL_STENCIL_FUNC GL_STENCIL_FAIL GL_STENCIL_PASS_DEPTH_FAIL GL_STENCIL_PASS_DEPTH_PASS GL_DEPTH_TEST GL_DEPTH_FUNC GL_BLEND GL_BLEND_SRC GL_BLEND_DST GL_DITHER GL_COLOR_LOGIC_OP GL_LOGIC_OP_MODE GL_DEPTH_WRITEMASK GL_PERSPECTIVE_CORRECTION_HINT GL_POINT_SMOOTH_HINT GL_LINE_SMOOTH_HINT GL_FOG_HINT GL_GENERATE_MIPMAP_HINT GL_COMPRESSED_TEXTURE_FORMATS GL_IMPLEMENTATION_COLOR_READ_TYPE_OES GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES GL_BLEND_SRC_RGB_OES GL_BLEND_DST_RGB_OES GL_BLEND_SRC_ALPHA_OES GL_BLEND_DST_ALPHA_OES GL_BLEND_EQUATION_RGB_OES GL_BLEND_EQUATION_ALPHA_OES GL_MATRIX_INDEX_ARRAY_TYPE_OES GL_WEIGHT_ARRAY_TYPE_OES GL_POINT_SIZE_ARRAY_TYPE_OES GL_TEXTURE_CUBE_MAP_OES 
category	GLES1.1 GLES1.1:OES_fixed_point

# Note: glGetIntegerv param checking done inside Mesa
name		GetIntegerv
return		void
param		pname		GLenum
param		params		GLint *
props		get
category	GLES1.1 GLES2.0


# This does *not* specify dependent vectors because everything is just
# passed down to Mesa - no copy or conversion is done.
name		GetLightfv
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
checkparam	pname		GL_AMBIENT GL_DIFFUSE GL_SPECULAR GL_POSITION GL_SPOT_DIRECTION GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_LINEAR_ATTENUATION GL_QUADRATIC_ATTENUATION
param		params		GLfloat *
props		get
category	1.0 GLES1.1

name		GetLightxv
return		void
param		light		GLenum
checkparam	light		GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7
param		pname		GLenum
param		params		GLfixed *
dependentvector	params 4 pname GL_AMBIENT GL_DIFFUSE GL_SPECULAR GL_POSITION
dependentvector params 3 pname GL_SPOT_DIRECTION 
dependentvector params 1 pname GL_SPOT_EXPONENT GL_SPOT_CUTOFF GL_CONSTANT_ATTENUATION GL_QUADRATIC_ATTENUATION 
convertalias	GetLightfv
convertparams	GLfloat         params
props		get
category	GLES1.1 GLES1.1:OES_fixed_point

name		GetMaterialfv
return		void
param		face		GLenum
checkparam	face		GL_FRONT GL_BACK
param		pname		GLenum
checkparam	pname		GL_AMBIENT GL_DIFFUSE GL_AMBIENT_AND_DIFFUSE GL_SPECULAR GL_EMISSION GL_SHININESS
param		params		GLfloat *
props		get
category	1.0 GLES1.1

name		GetMaterialiv
return		void
param		face		GLenum
checkparam	face		GL_FRONT GL_BACK
param		pname		GLenum
checkparam	pname		GL_AMBIENT GL_DIFFUSE GL_AMBIENT_AND_DIFFUSE GL_SPECULAR GL_EMISSION GL_SHININESS
param		params		GLint *
category	1.0
props		get

name		GetMaterialxv
return		void
param		face		GLenum
checkparam	face		GL_FRONT GL_BACK
param		pname		GLenum
param		params		GLfixed *
props		get
dependentvector params 1 pname GL_SHININESS 
dependentvector params 4 pname GL_AMBIENT GL_DIFFUSE GL_AMBIENT_AND_DIFFUSE GL_SPECULAR GL_EMISSION
convertalias	GetMaterialfv
convertparams	GLfloat         params
category	GLES1.1 GLES1.1:OES_fixed_point

name		GetString
return		const GLubyte *
param		name		GLenum
checkparam	name		GL_VENDOR GL_RENDERER GL_VERSION GL_EXTENSIONS
props		get
category	1.0 GLES1.1 GLES2.0

name		GetTexEnvfv
return		void
param		target		GLenum
param		pname		GLenum
param		params		GLfloat *
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_TEXTURE_ENV_COLOR GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector	params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
dependentvector	params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_SRC1_RGB GL_SRC2_RGB GL_SRC0_ALPHA GL_SRC1_ALPHA GL_SRC2_ALPHA GL_OPERAND0_RGB GL_OPERAND1_RGB GL_OPERAND2_RGB GL_OPERAND0_ALPHA GL_OPERAND1_ALPHA GL_OPERAND2_ALPHA GL_COORD_REPLACE_OES
dependentnovalueconvert params pname GL_COORD_REPLACE_OES GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
props		get
category	1.0 GLES1.1

name		GetTexEnviv
return		void
param		target		GLenum
param		pname		GLenum
param		params		GLint *
props		get
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
category	1.0 GLES1.1
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector	params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
dependentvector	params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_SRC1_RGB GL_SRC2_RGB GL_SRC0_ALPHA GL_SRC1_ALPHA GL_SRC2_ALPHA GL_OPERAND0_RGB GL_OPERAND1_RGB GL_OPERAND2_RGB GL_OPERAND0_ALPHA GL_OPERAND1_ALPHA GL_OPERAND2_ALPHA GL_COORD_REPLACE_OES
dependentnovalueconvert params pname GL_COORD_REPLACE_OES GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA

name		GetTexEnvxv
return		void
param		target		GLenum
param		pname		GLenum
param		params		GLfixed *
checkdependentparam target GL_POINT_SPRITE_OES pname GL_COORD_REPLACE_OES
checkdependentparam target GL_TEXTURE_ENV pname GL_TEXTURE_ENV_MODE GL_TEXTURE_ENV_COLOR GL_COMBINE_RGB GL_COMBINE_ALPHA GL_RGB_SCALE GL_ALPHA_SCALE GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
dependentvector	params 4 pname GL_TEXTURE_ENV_COLOR
dependentvector	params 1 pname GL_RGB_SCALE GL_ALPHA_SCALE
dependentvector	params 1 pname GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_SRC1_RGB GL_SRC2_RGB GL_SRC0_ALPHA GL_SRC1_ALPHA GL_SRC2_ALPHA GL_OPERAND0_RGB GL_OPERAND1_RGB GL_OPERAND2_RGB GL_OPERAND0_ALPHA GL_OPERAND1_ALPHA GL_OPERAND2_ALPHA GL_COORD_REPLACE_OES
dependentnovalueconvert params pname GL_COORD_REPLACE_OES GL_TEXTURE_ENV_MODE GL_COMBINE_RGB GL_COMBINE_ALPHA GL_SRC0_RGB GL_OPERAND0_RGB GL_SRC0_ALPHA GL_OPERAND0_ALPHA GL_SRC1_RGB GL_OPERAND1_RGB GL_SRC1_ALPHA GL_OPERAND1_ALPHA GL_SRC2_RGB GL_OPERAND2_RGB GL_SRC2_ALPHA GL_OPERAND2_ALPHA
convertalias	GetTexEnvfv
convertparams	GLfloat         params
props		get
category	GLES1.1 GLES1.1:OES_fixed_point

name		GetTexGenfv
return		void
param		coord		GLenum
checkparam	coord		GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		params		GLfloat *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
props		get
category	1.0 GLES1.1:OES_texture_cube_map

name		GetTexGenxv
return		void
param		coord		GLenum
checkparam	coord		GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		params		GLfixed *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
convertalias    GetTexGenfv
convertparams	GLfloat         params
dependentnovalueconvert params pname GL_TEXTURE_GEN_MODE_OES 
props		get
category	1.0 GLES1.1:OES_texture_cube_map

name		GetTexGeniv
return		void
param		coord		GLenum
checkparam	coord		GL_TEXTURE_GEN_STR_OES
param		pname		GLenum
param		params		GLint *
dependentvector params 1 pname GL_TEXTURE_GEN_MODE_OES
props		get
category	1.0 GLES1.1:OES_texture_cube_map

name		GetTexParameterfv
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		params		GLfloat *
dependentvector params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GLES1.1:GL_GENERATE_MIPMAP
props		get
# OES_draw_texture - not in gl2ext.h yet
dependentvector	params 4 pname  GLES1.1:GL_TEXTURE_CROP_RECT_OES
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
category	GLES1.1 GLES2.0

name		GetTexParameteriv
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		pname		GLenum
param		params		GLint *
dependentvector params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GLES1.1:GL_GENERATE_MIPMAP
props		get
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
# OES_draw_texture - not in gl2ext.h yet, not supported in Mesa yet
dependentvector	params 4 pname GLES1.1:GL_TEXTURE_CROP_RECT_OES
# OES_texture_3D
checkparam      target          GLES2.0:GL_TEXTURE_3D_OES
category	GLES1.1 GLES2.0

name		GetTexParameterxv
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D
param		pname		GLenum
param		params		GLfixed *
dependentvector params 1 pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GL_GENERATE_MIPMAP
convertalias	GetTexParameterfv
convertparams	GLfloat         params
dependentnovalueconvert params pname GL_TEXTURE_WRAP_S GL_TEXTURE_WRAP_T GL_TEXTURE_MIN_FILTER GL_TEXTURE_MAG_FILTER GL_GENERATE_MIPMAP
props		get
# OES_texture_cube_map
checkparam      target          GL_TEXTURE_CUBE_MAP_OES
# OES_draw_texture - not supported in Mesa yet
#dependentvector	params 4 pname GL_TEXTURE_CROP_RECT_OES
category	GLES1.1 GLES1.1:OES_fixed_point

# GLES1.1 and GLES2.0 have different capabilities
name		IsEnabled
return		GLboolean
param		cap		GLenum
props           get
checkparam      cap             GL_VERTEX_ARRAY GL_NORMAL_ARRAY GL_COLOR_ARRAY GL_TEXTURE_COORD_ARRAY GL_NORMALIZE GL_RESCALE_NORMAL GL_CLIP_PLANE0 GL_CLIP_PLANE1 GL_CLIP_PLANE2 GL_CLIP_PLANE3 GL_CLIP_PLANE4 GL_CLIP_PLANE5 GL_FOG GL_LIGHTING GL_COLOR_MATERIAL GL_LIGHT0 GL_LIGHT1 GL_LIGHT2 GL_LIGHT3 GL_LIGHT4 GL_LIGHT5 GL_LIGHT6 GL_LIGHT7 GL_POINT_SMOOTH GL_LINE_SMOOTH GL_CULL_FACE GL_POLYGON_OFFSET_FILL GL_MULTISAMPLE GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_ALPHA_TO_ONE GL_SAMPLE_COVERAGE GL_TEXTURE_2D GL_SCISSOR_TEST GL_ALPHA_TEST GL_STENCIL_TEST GL_DEPTH_TEST GL_BLEND GL_DITHER GL_COLOR_LOGIC_OP
# OES_matrix_palette
checkparam      cap             GL_MATRIX_INDEX_ARRAY_OES GL_WEIGHT_ARRAY_OES
# OES_point_size_array
checkparam      cap             GL_POINT_SIZE_ARRAY_OES
# OES_point_sprite
checkparam      cap             GL_POINT_SPRITE_OES
# OES_texture_cube_map
checkparam      cap             GL_TEXTURE_CUBE_MAP_OES GL_TEXTURE_GEN_STR_OES
category	GLES1.1

name		IsEnabled
return		GLboolean
param		cap		GLenum
checkparam      cap             GL_CULL_FACE GL_SCISSOR_TEST GL_POLYGON_OFFSET_FILL GL_SAMPLE_ALPHA_TO_COVERAGE GL_SAMPLE_COVERAGE GL_STENCIL_TEST GL_DEPTH_TEST GL_DITHER GL_BLEND
props		get
category	GLES2.0


name		DepthRangef
return		void
param		zNear		GLclampf
param		zFar		GLclampf
convertalias	DepthRange
convertparams	GLclampd        zNear zFar
category	GLES1.1 GLES1.1:OES_single_precision GLES2.0

name		DepthRangex
return		void
param		zNear		GLclampx
param		zFar		GLclampx
convertalias	DepthRange
convertparams	GLclampd        zNear zFar
category	GLES1.1 GLES1.1:OES_fixed_point

name		Frustumf
return		void
param		left		GLfloat
param		right		GLfloat
param		bottom		GLfloat
param		top		GLfloat
param		zNear		GLfloat
param		zFar		GLfloat
convertalias	Frustum
convertparams	GLdouble        left right bottom top zNear zFar
category	GLES1.1 GLES1.1:OES_single_precision

name		Frustumx
return		void
param		left		GLfixed
param		right		GLfixed
param		bottom		GLfixed
param		top		GLfixed
param		zNear		GLfixed
param		zFar		GLfixed
convertalias	Frustum
convertparams	GLdouble        left right bottom top zNear zFar
category	GLES1.1 GLES1.1:OES_fixed_point

name		LoadIdentity
return		void
category	1.0 GLES1.1

name		LoadMatrixf
return		void
param		m		const GLfloat *
vector		m		16
category	1.0 GLES1.1

name		LoadMatrixx
return		void
param		m		const GLfixed *
vector		m		16
convertalias	LoadMatrixf
convertparams	GLfloat         m
category	GLES1.1 GLES1.1:OES_fixed_point

name		MatrixMode
return		void
param		mode		GLenum
checkparam	mode		GL_MODELVIEW GL_PROJECTION GL_TEXTURE
# OES_matrix_palette
checkparam      mode            GL_MATRIX_PALETTE_OES
category	1.0 GLES1.1

name		MultMatrixf
return		void
param		m		const GLfloat *
vector		m		16
category	1.0 GLES1.1

name		MultMatrixx
return		void
param		m		const GLfixed *
vector		m		16
convertalias	MultMatrixf
convertparams	GLfloat         m
category	GLES1.1 GLES1.1:OES_fixed_point

name		Orthof
return		void
param		left		GLfloat
param		right		GLfloat
param		bottom		GLfloat
param		top		GLfloat
param		zNear		GLfloat
param		zFar		GLfloat
convertalias	Ortho
convertparams	GLdouble        left right bottom top zNear zFar
category	GLES1.1 GLES1.1:OES_single_precision

name		Orthox
return		void
param		left		GLfixed
param		right		GLfixed
param		bottom		GLfixed
param		top		GLfixed
param		zNear		GLfixed
param		zFar		GLfixed
convertalias	Ortho
convertparams	GLdouble        left right bottom top zNear zFar
category	GLES1.1 GLES1.1:OES_fixed_point

name            PopMatrix
return          void
category        GLES1.1

name            PushMatrix
return          void
category        GLES1.1

name		Rotatef
return		void
param		angle		GLfloat
param		x		GLfloat
param		y		GLfloat
param		z		GLfloat
category	1.0 GLES1.1

name		Rotatex
return		void
param		angle		GLfixed
param		x		GLfixed
param		y		GLfixed
param		z		GLfixed
convertalias	Rotatef
convertparams	GLfloat         angle x y z
category	GLES1.1 GLES1.1:OES_fixed_point

name		Scalef
return		void
param		x		GLfloat
param		y		GLfloat
param		z		GLfloat
category	1.0 GLES1.1

name		Scalex
return		void
param		x		GLfixed
param		y		GLfixed
param		z		GLfixed
convertalias	Scalef
convertparams	GLfloat         x y z
category	GLES1.1 GLES1.1:OES_fixed_point

name		Translatef
return		void
param		x		GLfloat
param		y		GLfloat
param		z		GLfloat
category	1.0 GLES1.1

name		Translatex
return		void
param		x		GLfixed
param		y		GLfixed
param		z		GLfixed
convertalias	Translatef
convertparams	GLfloat         x y z
category	GLES1.1 GLES1.1:OES_fixed_point

name		Viewport
return		void
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
category	1.0 GLES1.1 GLES2.0

name		ColorPointer
return		void
param		size		GLint
param		type		GLenum
param		stride		GLsizei
paramlist	stride		0
param		pointer		const GLvoid *
checkparam      size            /GL_INVALID_VALUE 4
checkparam      type            GL_UNSIGNED_BYTE GL_FIXED GL_FLOAT
# OES_vertex_half_float: its values aren't in glext.h yet
#checkparam	type		GL_HALF_FLOAT_OES
category	1.1 GLES1.1

name		DisableClientState
return		void
param		array		GLenum
checkparam	array		GL_COLOR_ARRAY GL_NORMAL_ARRAY GL_TEXTURE_COORD_ARRAY GL_VERTEX_ARRAY
# OES_matrix_palette
checkparam      array GL_MATRIX_INDEX_ARRAY_OES GL_WEIGHT_ARRAY_OES
# OES_point_size_array
checkparam      array           GL_POINT_SIZE_ARRAY_OES
category	1.1 GLES1.1

name		DrawArrays
return		void
param		mode		GLenum
checkparam	mode		GL_POINTS GL_LINE_STRIP GL_LINE_LOOP GL_LINES GL_TRIANGLE_STRIP GL_TRIANGLE_FAN GL_TRIANGLES
param		first		GLint
param		count		GLsizei
category	1.1 GLES1.1 GLES2.0

name		DrawElements
return		void
param		mode		GLenum
checkparam	mode		GL_POINTS GL_LINE_STRIP GL_LINE_LOOP GL_LINES GL_TRIANGLE_STRIP GL_TRIANGLE_FAN GL_TRIANGLES
param		count		GLsizei
param		type		GLenum
checkparam	type		GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT 
param		indices		const GLvoid *
# OES_element_index_uint - not in GLES1.1 extension headers yet
checkparam	type		GLES2.0:GL_UNSIGNED_INT
category	1.1 GLES1.1 GLES2.0

name		EnableClientState
return		void
param		array		GLenum
checkparam	array		GL_COLOR_ARRAY GL_NORMAL_ARRAY GL_TEXTURE_COORD_ARRAY GL_VERTEX_ARRAY
# OES_matrix_palette
checkparam      array GL_MATRIX_INDEX_ARRAY_OES GL_WEIGHT_ARRAY_OES
# OES_point_size_array
checkparam      array           GL_POINT_SIZE_ARRAY_OES
category	1.1 GLES1.1

name		GetPointerv
return		void
param		pname		GLenum
checkparam	pname		GL_COLOR_ARRAY_POINTER GL_NORMAL_ARRAY_POINTER GL_TEXTURE_COORD_ARRAY_POINTER GL_VERTEX_ARRAY_POINTER
param		params		GLvoid **
props		get
# OES_matrix_palette
checkparam      pname           GL_MATRIX_INDEX_ARRAY_POINTER_OES GL_WEIGHT_ARRAY_POINTER_OES
# OES_point_size_array
checkparam      pname           GL_POINT_SIZE_ARRAY_POINTER_OES
category	1.1 GLES1.1

name		Normal3f
aliasprefix	_vbo_
return		void
param		nx		GLfloat
param		ny		GLfloat
param		nz		GLfloat
category	GLES1.1

name		Normal3x
aliasprefix	_vbo_
return		void
param		nx		GLfixed
param		ny		GLfixed
param		nz		GLfixed
convertalias	Normal3f
convertparams	GLfloat         nx ny nz
category	GLES1.1 GLES1.1:OES_fixed_point

name		NormalPointer
return		void
param		type		GLenum
checkparam	type		GL_BYTE GL_SHORT GL_FIXED GL_FLOAT
param		stride		GLsizei
param		pointer		const GLvoid *
# OES_vertex_half_float - not yet in glext.h
#checkparam	type		GL_HALF_FLOAT_OES
category	1.1 GLES1.1

name		TexCoordPointer
return		void
param		size		GLint
param		type		GLenum
param		stride		GLsizei
param		pointer		const GLvoid *
checkparam      size            /GL_INVALID_VALUE 2 3 4
checkparam	type		GL_BYTE GL_SHORT GL_FIXED GL_FLOAT
# OES_vertex_half_float - not yet in glext.h
#checkparam	type		GL_HALF_FLOAT_OES
category	1.1 GLES1.1

name		VertexPointer
return		void
param		size		GLint
param		type		GLenum
param		stride		GLsizei
param		pointer		const GLvoid *
checkparam      size  /GL_INVALID_VALUE 2 3 4
checkparam	type		GL_BYTE GL_SHORT GL_FIXED GL_FLOAT
# OES_vertex_half_float - not yet in glext.h
#checkparam	type		GL_HALF_FLOAT_OES
category	1.1 GLES1.1

name		PolygonOffset
return		void
param		factor		GLfloat
param		units		GLfloat
category	1.1 GLES1.1 GLES2.0

name		PolygonOffsetx
return		void
param		factor		GLfixed
param		units		GLfixed
convertalias	PolygonOffset
convertparams	GLfloat         factor units
category	GLES1.1 GLES1.1:OES_fixed_point

name		CopyTexImage2D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
param		level		GLint
param		internalFormat	GLenum
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
param		border		GLint
checkparam      internalFormat /GL_INVALID_VALUE GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
checkparam      border         /GL_INVALID_VALUE 0
# OES_texture_cube_map
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
# OES_depth_texture
checkparam     internalFormat   GLES2.0:GL_DEPTH_COMPONENT
category	GLES1.1 GLES2.0

name		CopyTexSubImage2D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
# OES_texture_cube_map
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
category	GLES1.1 GLES2.0

name		TexSubImage2D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		width		GLsizei
param		height		GLsizei
param		format		GLenum
param		type		GLenum
param		pixels		const GLvoid *
checkparam      format /GL_INVALID_VALUE GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
checkdependentparam format GL_RGBA type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_4_4_4_4  GL_UNSIGNED_SHORT_5_5_5_1
checkdependentparam format GL_RGB type GL_UNSIGNED_BYTE GL_UNSIGNED_SHORT_5_6_5
checkdependentparam format GL_LUMINANCE_ALPHA type GL_UNSIGNED_BYTE
checkdependentparam format GL_LUMINANCE type GL_UNSIGNED_BYTE
checkdependentparam format GL_ALPHA type GL_UNSIGNED_BYTE
# OES_texture_cube_map
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_OES
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
# OES_texture_float
checkdependentparam format GL_ALPHA type GL_FLOAT
checkdependentparam format GL_RGB type GL_FLOAT
checkdependentparam format GL_RGBA type GL_FLOAT
checkdependentparam format GL_LUMINANCE type GL_FLOAT
checkdependentparam format GL_LUMINANCE_ALPHA type GL_FLOAT
# OES_texture_half_float
checkdependentparam format GL_ALPHA type GLES2.0:GL_HALF_FLOAT_OES
checkdependentparam format GL_RGB type GLES2.0:GL_HALF_FLOAT_OES
checkdependentparam format GL_RGBA type GLES2.0:GL_HALF_FLOAT_OES
checkdependentparam format GL_LUMINANCE type GLES2.0:GL_HALF_FLOAT_OES
checkdependentparam format GL_LUMINANCE_ALPHA type GLES2.0:GL_HALF_FLOAT_OES
# EXT_texture_type_2_10_10_10_REV
checkdependentparam format GL_RGBA type GLES2.0:GL_UNSIGNED_INT_2_10_10_10_REV_EXT
# OES_depth_texture
checkdependentparam format GL_DEPTH_COMPONENT type GLES2.0:GL_UNSIGNED_SHORT GLES2.0:GL_UNSIGNED_INT
category	GLES1.1 GLES2.0

name		BindTexture
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
param		texture		GLuint
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
category	GLES1.1 GLES2.0

name		DeleteTextures
return		void
param		n		GLsizei
param		textures	const GLuint *
category	1.1 GLES1.1 GLES2.0

name		GenTextures
return		void
param		n		GLsizei
param		textures	GLuint *
props		get
category	1.1 GLES1.1 GLES2.0

name		IsTexture
return		GLboolean
param		texture		GLuint
props		get
category	1.1 GLES1.1 GLES2.0

name		BlendColor
return		void
param		red		GLclampf
param		green		GLclampf
param		blue		GLclampf
param		alpha		GLclampf
category	1.2 GLES2.0

name		BlendEquation
return		void
param		mode		GLenum
checkparam	mode		GLES1.1:GL_FUNC_ADD_OES GLES1.1:GL_FUNC_SUBTRACT_OES GLES1.1:GL_FUNC_REVERSE_SUBTRACT_OES
checkparam	mode		GLES2.0:GL_FUNC_ADD GLES2.0:GL_FUNC_SUBTRACT GLES2.0:GL_FUNC_REVERSE_SUBTRACT
category	GLES1.1:OES_blend_subtract GLES2.0

name            BlendEquationSeparate
alias		BlendEquationSeparateEXT
return          void
param           modeRGB         GLenum
param           modeAlpha       GLenum
checkparam	modeRGB GLES1.1:GL_FUNC_ADD_OES GLES1.1:GL_FUNC_SUBTRACT_OES GLES1.1:GL_FUNC_REVERSE_SUBTRACT_OES
checkparam	modeAlpha GLES1.1:GL_FUNC_ADD_OES GLES1.1:GL_FUNC_SUBTRACT_OES GLES1.1:GL_FUNC_REVERSE_SUBTRACT_OES
checkparam	modeRGB GLES1.1:GL_FUNC_ADD_OES GLES1.1:GL_FUNC_SUBTRACT_OES GLES1.1:GL_FUNC_REVERSE_SUBTRACT_OES
checkparam	modeAlpha GLES1.1:GL_FUNC_ADD_OES GLES1.1:GL_FUNC_SUBTRACT_OES GLES1.1:GL_FUNC_REVERSE_SUBTRACT_OES
checkparam	modeRGB GLES2.0:GL_FUNC_ADD GLES2.0:GL_FUNC_SUBTRACT GLES2.0:GL_FUNC_REVERSE_SUBTRACT
checkparam	modeAlpha GLES2.0:GL_FUNC_ADD GLES2.0:GL_FUNC_SUBTRACT GLES2.0:GL_FUNC_REVERSE_SUBTRACT
checkparam	modeRGB GLES2.0:GL_FUNC_ADD GLES2.0:GL_FUNC_SUBTRACT GLES2.0:GL_FUNC_REVERSE_SUBTRACT
checkparam	modeAlpha GLES2.0:GL_FUNC_ADD GLES2.0:GL_FUNC_SUBTRACT GLES2.0:GL_FUNC_REVERSE_SUBTRACT
category        GLES1.1:OES_blend_equation_separate GLES2.0

name		TexImage3D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_3D_OES
param		level		GLint
param		internalFormat	GLenum
checkparam      internalFormat  GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
param		width		GLsizei
param		height		GLsizei
param		depth		GLsizei
param		border		GLint
param		format		GLenum
param		type		GLenum
param		pixels		const GLvoid *
# OES_texture_float
checkparam    type            GL_FLOAT
# OES_texture_half_float
checkparam    type            GL_HALF_FLOAT_OES
category	GLES2.0:OES_texture_3D

name		TexSubImage3D
return		void
param		target		GLenum
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		zoffset		GLint
param		width		GLsizei
param		height		GLsizei
param		depth		GLsizei
param		format		GLenum
param		type		GLenum
param		pixels		const GLvoid *
# OES_texture_float
checkparam    type            GL_FLOAT
# OES_texture_half_float
checkparam    type            GL_HALF_FLOAT_OES
category	GLES2.0:OES_texture_3D

name		CopyTexSubImage3D
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_3D_OES
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		zoffset		GLint
param		x		GLint
param		y		GLint
param		width		GLsizei
param		height		GLsizei
category	GLES2.0:OES_texture_3D

name		MultiTexCoord4x
return		void
param		texture		GLenum
checkparam	texture		GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7
param		s		GLfixed
param		t		GLfixed
param		r		GLfixed
param		q		GLfixed
aliasprefix	_vbo_
convertalias	MultiTexCoord4f
convertparams	GLfloat         s t r q
category	GLES1.1 GLES1.1:OES_fixed_point

name		CompressedTexImage3D
alias		CompressedTexImage3DARB
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_3D_OES
param		level		GLint
param		internalFormat	GLenum
checkparam      internalFormat  GL_ALPHA GL_LUMINANCE GL_LUMINANCE_ALPHA GL_RGB GL_RGBA
param		width		GLsizei
param		height		GLsizei
param		depth		GLsizei
param		border		GLint
param		imagesize	GLsizei
param		data		const GLvoid *
# AMD_compressed_3DC_texture
checkparam      internalFormat  GL_3DC_X_AMD GL_3DC_XY_AMD
# AMD_compressed_ATC_texture
checkparam      internalFormat  GL_ATC_RGB_AMD GL_ATC_RGBA_EXPLICIT_ALPHA_AMD GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD
category	GLES2.0:OES_texture_3D

name		CompressedTexSubImage3D
alias		CompressedTexSubImage3DARB
return		void
param		target		GLenum
checkparam	target		GL_TEXTURE_3D_OES
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		zoffset		GLint
param		width		GLsizei
param		height		GLsizei
param		depth		GLsizei
param		format		GLenum
param		imagesize	GLsizei
param		data		const GLvoid *
category	GLES2.0:OES_texture_3D

name		ActiveTexture
alias		ActiveTextureARB
return		void
param		texture		GLenum
checkparam	texture		GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.3 GLES1.1 GLES2.0

name		ClientActiveTexture
alias		ClientActiveTextureARB
return		void
param		texture		GLenum
checkparam	texture		GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
category	1.3 GLES1.1

name		MultiTexCoord4f
aliasprefix	_vbo_
return		void
param		texture		GLenum
checkparam	texture		GL_TEXTURE0 GL_TEXTURE1 GL_TEXTURE2 GL_TEXTURE3 GL_TEXTURE4 GL_TEXTURE5 GL_TEXTURE6 GL_TEXTURE7 GL_TEXTURE8 GL_TEXTURE9 GL_TEXTURE10 GL_TEXTURE11 GL_TEXTURE12 GL_TEXTURE13 GL_TEXTURE14 GL_TEXTURE15 GL_TEXTURE16 GL_TEXTURE17 GL_TEXTURE18 GL_TEXTURE19 GL_TEXTURE20 GL_TEXTURE21 GL_TEXTURE22 GL_TEXTURE23 GL_TEXTURE24 GL_TEXTURE25 GL_TEXTURE26 GL_TEXTURE27 GL_TEXTURE28 GL_TEXTURE29 GL_TEXTURE30 GL_TEXTURE31
param		s		GLfloat
param		t		GLfloat
param		r		GLfloat
param		q		GLfloat
category	1.3 GLES1.1

name		SampleCoverage
alias		SampleCoverageARB
return		void
param		value		GLclampf
param		invert		GLboolean
category	1.3 GLES1.1 GLES2.0

name		SampleCoveragex
return		void
param		value		GLclampx
param		invert		GLboolean
convertalias	SampleCoverageARB
convertparams	GLclampf        value
category	GLES1.1 GLES1.1:OES_fixed_point

name		CompressedTexImage2D
alias		CompressedTexImage2DARB
return		void
param		target		GLenum
param		level		GLint
param		internalFormat	GLenum
param		width		GLsizei
param		height		GLsizei
param		border		GLint
param		imageSize	GLsizei
param		data		const GLvoid *
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
checkparam      border         /GL_INVALID_VALUE 0
# OES_texture_cube_map
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
# OES_compressed_paletted_texture
checkparam	internalFormat	/GL_INVALID_VALUE GL_PALETTE4_RGB8_OES GL_PALETTE4_RGBA8_OES GL_PALETTE4_R5_G6_B5_OES GL_PALETTE4_RGBA4_OES GL_PALETTE4_RGB5_A1_OES GL_PALETTE8_RGB8_OES GL_PALETTE8_RGBA8_OES GL_PALETTE8_R5_G6_B5_OES GL_PALETTE8_RGBA4_OES GL_PALETTE8_RGB5_A1_OES
# OES_compressed_ETC1_RGB8_texture
checkparam      internalFormat  GL_ETC1_RGB8_OES
# AMD_compressed_3DC_texture
checkparam      internalFormat  GL_3DC_X_AMD GL_3DC_XY_AMD
# AMD_compressed_ATC_texture (GLES2.0 only?)
checkparam      internalFormat  GL_ATC_RGB_AMD GL_ATC_RGBA_EXPLICIT_ALPHA_AMD GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD
category	GLES1.1 GLES2.0

name		CompressedTexSubImage2D
alias		CompressedTexSubImage2DARB
return		void
param		target		GLenum
param		level		GLint
param		xoffset		GLint
param		yoffset		GLint
param		width		GLsizei
param		height		GLsizei
param		format		GLenum
param		imageSize	GLsizei
param		data		const GLvoid *
checkparam	target		GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
checkparam	format	GL_PALETTE4_RGB8_OES GL_PALETTE4_RGBA8_OES GL_PALETTE4_R5_G6_B5_OES GL_PALETTE4_RGBA4_OES GL_PALETTE4_RGB5_A1_OES GL_PALETTE8_RGB8_OES GL_PALETTE8_RGBA8_OES GL_PALETTE8_R5_G6_B5_OES GL_PALETTE8_RGBA4_OES GL_PALETTE8_RGB5_A1_OES
# OES_texture_cube_map
checkparam	target		GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
category	GLES1.1 GLES2.0

name		BlendFuncSeparate
alias		BlendFuncSeparateEXT
return		void
param		srcRGB	GLenum
param		dstRGB	GLenum
param		srcAlpha	GLenum
param		dstAlpha	GLenum
checkparam      srcRGB      GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_DST_COLOR GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_ALPHA GL_ONE_MINUS_DST_ALPHA GL_SRC_ALPHA_SATURATE GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
checkparam      dstRGB      GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_DST_COLOR GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_ALPHA GL_ONE_MINUS_DST_ALPHA  GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
checkparam      srcAlpha    GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_DST_COLOR GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_ALPHA GL_ONE_MINUS_DST_ALPHA GL_SRC_ALPHA_SATURATE GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
checkparam      dstAlpha    GL_ZERO GL_ONE GL_SRC_COLOR GL_ONE_MINUS_SRC_COLOR GL_DST_COLOR GL_ONE_MINUS_DST_COLOR GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA GL_DST_ALPHA GL_ONE_MINUS_DST_ALPHA GLES2.0:GL_CONSTANT_COLOR GLES2.0:GL_ONE_MINUS_CONSTANT_COLOR GLES2.0:GL_CONSTANT_ALPHA GLES2.0:GL_ONE_MINUS_CONSTANT_ALPHA
category	GLES1.1:OES_blend_func_separate GLES2.0

name		PointParameterf
return		void
param		pname		GLenum
checkparam	pname		GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE
param		param		GLfloat
category	1.4 GLES1.1

name		PointParameterfv
return		void
param		pname		GLenum
checkparam	pname		GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE GL_POINT_DISTANCE_ATTENUATION
param		params		const GLfloat *
dependentvector	params 1 pname GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE
dependentvector params 3 pname GL_POINT_DISTANCE_ATTENUATION
category	1.4 GLES1.1

name		PointParameterx
return		void
param		pname		GLenum
checkparam	pname		GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE
param		param		GLfixed
convertalias	PointParameterf
convertparams	GLfloat         param
category	GLES1.1 GLES1.1:OES_fixed_point

name		PointParameterxv
return		void
param		pname		GLenum
checkparam	pname		GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE GL_POINT_DISTANCE_ATTENUATION
param		params		const GLfixed *
dependentvector	params 1 pname GL_POINT_SIZE_MIN GL_POINT_SIZE_MAX GL_POINT_FADE_THRESHOLD_SIZE
dependentvector params 3 pname GL_POINT_DISTANCE_ATTENUATION
convertalias	PointParameterfv
convertparams	GLfloat         params
category	GLES1.1 GLES1.1:OES_fixed_point

name            VertexAttrib1f
aliasprefix	_vbo_
return		void
param		index		GLuint
param		x		GLfloat
category	GLES2.0

name		VertexAttrib2f
aliasprefix	_vbo_
return		void
param		index		GLuint
param		x		GLfloat
param		y		GLfloat
category	GLES2.0

name		VertexAttrib3f
aliasprefix	_vbo_
return		void
param		index		GLuint
param		x		GLfloat
param		y		GLfloat
param		z		GLfloat
category	GLES2.0

name		VertexAttrib4f
aliasprefix	_vbo_
return		void
param		index		GLuint
param		x		GLfloat
param		y		GLfloat
param		z		GLfloat
param		w		GLfloat
category	GLES2.0

name		VertexAttrib1fv
aliasprefix	_vbo_
return		void
param		index		GLuint
param		v		const GLfloat *
vector		v		1
category	GLES2.0

name		VertexAttrib2fv
aliasprefix	_vbo_
return		void
param		index		GLuint
param		v		const GLfloat *
vector		v		2
category	GLES2.0

name		VertexAttrib3fv
aliasprefix	_vbo_
return		void
param		index		GLuint
param		v		const GLfloat *
vector		v		3
category	GLES2.0

name		VertexAttrib4fv
aliasprefix	_vbo_
return		void
param		index		GLuint
param		v		const GLfloat *
vector		v		4
category	GLES2.0

name		VertexAttribPointer
alias		VertexAttribPointerARB
return		void
param		index		GLuint
param		size		GLint
checkparam      size            /GL_INVALID_VALUE 1 2 3 4
param		type		GLenum
checkparam	type		/GL_INVALID_VALUE GL_BYTE GL_UNSIGNED_BYTE GL_SHORT GL_UNSIGNED_SHORT GL_FIXED GL_FLOAT
param		normalized	GLboolean
param		stride		GLsizei
param		pointer		const GLvoid *
# OES_vertex_half_float
checkparam	type		GL_HALF_FLOAT_OES
# OES_vertex_type_10_10_10_2
checkdependentparam type GL_UNSIGNED_INT_10_10_10_2_OES size /GL_INVALID_VALUE 3 4
checkdependentparam type GL_INT_10_10_10_2_OES size /GL_INVALID_VALUE 3 4
category	GLES2.0

name		EnableVertexAttribArray
alias		EnableVertexAttribArrayARB
return		void
param		index		GLuint
category	GLES2.0

name		DisableVertexAttribArray
alias		DisableVertexAttribArrayARB
return		void
param		index		GLuint
category	GLES2.0

name		IsProgram
return		GLboolean
param		program		GLuint
props		get
category	GLES2.0

name		GetProgramiv
return		void
param		program         GLuint
param		pname		GLenum
checkparam      pname           GL_DELETE_STATUS GL_LINK_STATUS GL_VALIDATE_STATUS GL_INFO_LOG_LENGTH GL_ATTACHED_SHADERS GL_ACTIVE_ATTRIBUTES GL_ACTIVE_ATTRIBUTE_MAX_LENGTH GL_ACTIVE_UNIFORMS GL_ACTIVE_UNIFORM_MAX_LENGTH
param		params		GLint *
props		get
# OES_get_program_binary
checkparam      pname           GL_PROGRAM_BINARY_LENGTH_OES
category	GLES2.0

name		GetVertexAttribfv
alias		GetVertexAttribfvARB
return		void
param		index		GLuint
param		pname		GLenum
param		params		GLfloat *
dependentvector params 1 pname GL_VERTEX_ATTRIB_ARRAY_ENABLED GL_VERTEX_ATTRIB_ARRAY_SIZE GL_VERTEX_ATTRIB_ARRAY_STRIDE GL_VERTEX_ATTRIB_ARRAY_TYPE GL_VERTEX_ATTRIB_ARRAY_NORMALIZED GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 
dependentvector params 16? pname GL_CURRENT_VERTEX_ATTRIB
props		get
category	GLES2.0

name		GetVertexAttribiv
alias		GetVertexAttribivARB
return		void
param		index		GLuint
param		pname		GLenum
param		params		GLint *
dependentvector params 1 pname GL_VERTEX_ATTRIB_ARRAY_ENABLED GL_VERTEX_ATTRIB_ARRAY_SIZE GL_VERTEX_ATTRIB_ARRAY_STRIDE GL_VERTEX_ATTRIB_ARRAY_TYPE GL_VERTEX_ATTRIB_ARRAY_NORMALIZED GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING GL_CURRENT_VERTEX_ATTRIB
props		get
category	GLES2.0

name		GetVertexAttribPointerv
alias		GetVertexAttribPointervARB
return		void
param		index		GLuint
param		pname		GLenum
checkparam	pname		GL_VERTEX_ATTRIB_ARRAY_POINTER
param		pointer		GLvoid **
props		get
category	GLES2.0

name		GetBufferPointerv
alias		GetBufferPointervARB
return		void
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		pname		GLenum
checkparam	pname		GL_BUFFER_MAP_POINTER_OES
param		params		GLvoid **
props		get 
category	GLES1.1:OES_mapbuffer GLES2.0:OES_mapbuffer

name		MapBuffer
alias		MapBufferARB
return		void *
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		access		GLenum
checkparam      access          GL_WRITE_ONLY_OES
props		get
category	GLES1.1:OES_mapbuffer GLES2.0:OES_mapbuffer

name		UnmapBuffer
alias		UnmapBufferARB
return		GLboolean
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
props		get
category	GLES1.1:OES_mapbuffer GLES2.0:OES_mapbuffer

name		BindBuffer
alias		BindBufferARB
return		void
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		buffer		GLuint
category	1.5 GLES1.1 GLES2.0

name		BufferData
alias		BufferDataARB
return		void
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		size		GLsizeiptr
param		data		const GLvoid *
param		usage		GLenum
checkparam	usage		GL_STATIC_DRAW GL_DYNAMIC_DRAW GLES2.0:GL_STREAM_DRAW
category	GLES1.1 GLES2.0

name		BufferSubData
alias		BufferSubDataARB
return		void
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		offset		GLintptr
param		size		GLsizeiptr
param		data		const GLvoid *
category	1.5 GLES1.1 GLES2.0

name		DeleteBuffers
return		void
param		n		GLsizei
param		buffer		const GLuint *
category	1.5 GLES1.1 GLES2.0
alias		DeleteBuffersARB

name		GenBuffers
alias		GenBuffersARB
return		void
param		n		GLsizei
param		buffer		GLuint *
props		get
category	1.5 GLES1.1 GLES2.0

name		GetBufferParameteriv
alias		GetBufferParameterivARB
return		void
param		target		GLenum
checkparam	target		GL_ARRAY_BUFFER GL_ELEMENT_ARRAY_BUFFER
param		pname		GLenum
checkparam	pname		GL_BUFFER_SIZE GL_BUFFER_USAGE
param		params		GLint *
props		get
# OES_mapbuffer
checkparam      pname           GL_BUFFER_ACCESS_OES GL_BUFFER_MAPPED_OES
category	1.5 GLES1.1 GLES2.0

name		IsBuffer
alias		IsBufferARB
return		GLboolean
param		buffer		GLuint
paramlist	buffer		0
props		get
category	1.5 GLES1.1 GLES2.0

name		CreateShader
return		GLuint
param		type		GLenum
checkparam	type		GL_VERTEX_SHADER GL_FRAGMENT_SHADER
category	GLES2.0

name            ShaderSource
alias		ShaderSourceARB
return          void
param           shader          GLuint
param           count           GLsizei
param           string          const GLchar **
param           length          const int *
category        GLES2.0

name            CompileShader
alias		CompileShaderARB
return          void
param           shader          GLuint
category        GLES2.0

name            ReleaseShaderCompiler
return          void
category        GLES2.0

name            DeleteShader
return          void
param           shader          GLuint
category        GLES2.0

name            ShaderBinary
return          void
param           n               GLsizei
param           shaders         const GLuint *
param           binaryformat    GLenum
param           binary          const GLvoid *
param           length          GLsizei
category        GLES2.0

name            CreateProgram
return          GLuint
category        GLES2.0

name            AttachShader
return          void
param           program         GLuint
param           shader          GLuint
category        GLES2.0

name            DetachShader
return          void
param           program         GLuint
param           shader          GLuint
category        GLES2.0

name            LinkProgram
alias		LinkProgramARB
return          void
param           program         GLuint
category        GLES2.0

name            UseProgram
alias		UseProgramObjectARB
return          void
param           program         GLuint
category        GLES2.0

name            DeleteProgram
return          void
param           program         GLuint
category        GLES2.0

name            GetActiveAttrib
alias		GetActiveAttribARB
return          void
param           program         GLuint
param           index           GLuint
param           bufSize         GLsizei
param           length          GLsizei *
param           size            GLint *
param           type            GLenum *
param           name            GLchar *
props get
category        GLES2.0

name            GetAttribLocation
alias		GetAttribLocationARB
return          GLint
param           program         GLuint
param           name            const char *
props get
category        GLES2.0

name            BindAttribLocation
alias		BindAttribLocationARB
return          void
param           program         GLuint
param           index           GLuint
param           name            const char *
category        GLES2.0

name            GetUniformLocation
alias		GetUniformLocationARB
return          GLint
param           program         GLuint
param           name            const char *
props           get
category        GLES2.0

name            GetActiveUniform
alias		GetActiveUniformARB
return          void
param           program         GLuint
param           index           GLuint
param           bufSize         GLsizei
param           length          GLsizei *
param           size            GLint *
param           type            GLenum *
param           name            GLchar *
props           get
category        GLES2.0

name            Uniform1f
alias		Uniform1fARB
return          void
param           location        GLint
param           v0              GLfloat
category        GLES2.0

name            Uniform2f
alias		Uniform2fARB
return          void
return          void
param           location        GLint
param           v0              GLfloat
param           v1              GLfloat
category        GLES2.0

name            Uniform3f
alias		Uniform3fARB
return          void
return          void
param           location        GLint
param           v0              GLfloat
param           v1              GLfloat
param           v2              GLfloat
category        GLES2.0

name            Uniform4f
alias		Uniform4fARB
return          void
return          void
param           location        GLint
param           v0              GLfloat
param           v1              GLfloat
param           v2              GLfloat
param           v3              GLfloat
category        GLES2.0

name            Uniform1i
alias		Uniform1iARB
return          void
param           location        GLint
param           v0              GLint
category        GLES2.0

name            Uniform2i
alias		Uniform2iARB
return          void
param           location        GLint
param           v0              GLint
param           v1              GLint
category        GLES2.0

name            Uniform3i
alias		Uniform3iARB
return          void
param           location        GLint
param           v0              GLint
param           v1              GLint
param           v2              GLint
category        GLES2.0

name            Uniform4i
alias		Uniform4iARB
return          void
param           location        GLint
param           v0              GLint
param           v1              GLint
param           v2              GLint
param           v3              GLint
category        GLES2.0

name            Uniform1fv
alias		Uniform1fvARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLfloat *
category        GLES2.0

name            Uniform2fv
alias		Uniform2fvARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLfloat *
category        GLES2.0

name            Uniform3fv
alias		Uniform3fvARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLfloat *
category        GLES2.0

name            Uniform4fv
alias		Uniform4fvARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLfloat *
category        GLES2.0

name            Uniform1iv
alias           Uniform1ivARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLint *
category        GLES2.0

name            Uniform2iv
alias           Uniform2ivARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLint *
category        GLES2.0

name            Uniform3iv
alias           Uniform3ivARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLint *
category        GLES2.0

name            Uniform4iv
alias           Uniform4ivARB
return          void
param           location        GLint
param           count           GLsizei
param           values          const GLint *
category        GLES2.0

name            UniformMatrix2fv
alias           UniformMatrix2fvARB
return          void
param           location        GLint
param           count           GLsizei
param           transpose       GLboolean
param           value           const GLfloat *
category        GLES2.0

name            UniformMatrix3fv
alias           UniformMatrix3fvARB
return          void
param           location        GLint
param           count           GLsizei
param           transpose       GLboolean
param           value           const GLfloat *
category        GLES2.0

name            UniformMatrix4fv
alias           UniformMatrix4fvARB
return          void
param           location        GLint
param           count           GLsizei
param           transpose       GLboolean
param           value           const GLfloat *
category        GLES2.0

name            ValidateProgram
alias           ValidateProgramARB
return          void
param           program         GLuint
category        GLES2.0

name            GenerateMipmap
alias           GenerateMipmapEXT
return          void
param           target          GLenum
checkparam      target          GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP
# OES_texture_cube_map
checkparam      target          GLES1.1:GL_TEXTURE_CUBE_MAP_OES
category        GLES1.1:OES_framebuffer_object GLES2.0


name            BindFramebuffer
alias           BindFramebufferEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_FRAMEBUFFER_OES GLES2.0:GL_FRAMEBUFFER
param           framebuffer     GLuint
category        GLES1.1:OES_framebuffer_object GLES2.0

name            DeleteFramebuffers
alias           DeleteFramebuffersEXT
return          void
param           n               GLsizei
param           framebuffers    const GLuint *
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            GenFramebuffers
alias           GenFramebuffersEXT
return          void
param           n               GLsizei
param           ids             GLuint *
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            BindRenderbuffer
alias           BindRenderbufferEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_RENDERBUFFER_OES GLES2.0:GL_RENDERBUFFER
param           renderbuffer    GLuint
category        GLES1.1:OES_framebuffer_object GLES2.0

name            DeleteRenderbuffers
alias           DeleteRenderbuffersEXT
return          void
param           n               GLsizei
param           renderbuffers   const GLuint *
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            GenRenderbuffers
alias           GenRenderbuffersEXT
return          void
param           n               GLsizei
param           renderbuffers   GLuint *
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            RenderbufferStorage
alias           RenderbufferStorageEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_RENDERBUFFER_OES GLES2.0:GL_RENDERBUFFER
param           internalFormat  GLenum
checkparam      internalFormat  GL_DEPTH_COMPONENT16_OES GL_RGBA4_OES GL_RGB5_A1_OES GL_RGB565_OES
param           width           GLsizei
param           height          GLsizei
# OES_depth24
checkparam      internalFormat  GL_DEPTH_COMPONENT24_OES
# OES_depth32
checkparam      internalFormat  GL_DEPTH_COMPONENT32_OES
# OES_rgb8_rgba8
checkparam      internalFormat  GL_RGB8_OES GL_RGBA8_OES
# OES_stencil1
checkparam      internalFormat  GL_STENCIL_INDEX1_OES
# OES_stencil4
checkparam      internalFormat  GL_STENCIL_INDEX4_OES
# OES_stencil8
checkparam      internalFormat  GL_STENCIL_INDEX8_OES
# OES_packed_depth_stencil - not in glext.h yet
checkparam      internalFormat  GLES2.0:GL_DEPTH24_STENCIL8_OES
category        GLES1.1:OES_framebuffer_object GLES2.0

name            FramebufferRenderbuffer
alias           FramebufferRenderbufferEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_FRAMEBUFFER_OES  GLES2.0:GL_FRAMEBUFFER
param           attachment      GLenum
checkparam      attachment      GLES1.1:GL_COLOR_ATTACHMENT0_OES GLES1.1:GL_DEPTH_ATTACHMENT_OES GLES1.1:GL_STENCIL_ATTACHMENT_OES
checkparam      attachment      GLES2.0:GL_COLOR_ATTACHMENT0 GLES2.0:GL_DEPTH_ATTACHMENT GLES2.0:GL_STENCIL_ATTACHMENT
param           renderbuffertarget      GLenum
checkparam      renderbuffertarget      GLES1.1:GL_RENDERBUFFER_OES GLES2.0:GL_RENDERBUFFER
param           renderbuffer    GLuint
category        GLES1.1:OES_framebuffer_object GLES2.0

name            FramebufferTexture2D
alias           FramebufferTexture2DEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_FRAMEBUFFER_OES GLES2.0:GL_FRAMEBUFFER
param           attachment      GLenum
checkparam      attachment      GLES1.1:GL_COLOR_ATTACHMENT0_OES GLES1.1:GL_DEPTH_ATTACHMENT_OES GLES1.1:GL_STENCIL_ATTACHMENT_OES
checkparam      attachment      GLES2.0:GL_COLOR_ATTACHMENT0 GLES2.0:GL_DEPTH_ATTACHMENT GLES2.0:GL_STENCIL_ATTACHMENT
param           textarget       GLenum
checkparam      textarget       /GL_INVALID_OPERATION GL_TEXTURE_2D GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_POSITIVE_Z GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_X GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y GLES2.0:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
param           texture         GLuint
param           level           GLint
# OES_texture_cube_map
checkparam      textarget       GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES GLES1.1:GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES
# According to the base specification, "level" must be 0.  But
# extension GL_OES_fbo_render_mipmap lifts that restriction,
# so no restriction is placed here.
category        GLES1.1:OES_framebuffer_object GLES2.0

name            FramebufferTexture3D
alias           FramebufferTexture3DEXT
return          void
param           target          GLenum
param           attachment      GLenum
param           textarget       GLenum
param           texture         GLuint
param           level           GLint
param           zoffset         GLint
category        GLES2.0:OES_texture_3D

name            CheckFramebufferStatus
alias           CheckFramebufferStatusEXT
return          GLenum
param           target          GLenum
checkparam      target          GLES1.1:GL_FRAMEBUFFER_OES GLES2.0:GL_FRAMEBUFFER
props           get
category        GLES1.1:OES_framebuffer_object GLES2.0

# One for GLES1.1 extension, one for GLES2.0 core
name            GetFramebufferAttachmentParameteriv
alias           GetFramebufferAttachmentParameterivEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_FRAMEBUFFER_OES GLES2.0:GL_FRAMEBUFFER
param           attachment      GLenum
param           pname           GLenum
param           params          GLint *
props           get
dependentvector params 1 pname GLES1.1:GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES GLES1.1:GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES GLES1.1:GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES GLES1.1:GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 
dependentvector params 1 pname GLES2.0:GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE GLES2.0:GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME GLES2.0:GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL GLES2.0:GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 
# OES_texture3D
dependentvector params 1 pname GLES2.0:GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES
category        GLES1.1:OES_framebuffer_object GLES2.0

name            GetRenderbufferParameteriv
alias           GetRenderbufferParameterivEXT
return          void
param           target          GLenum
checkparam      target          GLES1.1:GL_RENDERBUFFER_OES GLES2.0:GL_RENDERBUFFER
param           pname           GLenum
param           params          GLint *
props           get
dependentvector params 1 pname GLES1.1:GL_RENDERBUFFER_WIDTH_OES GLES1.1:GL_RENDERBUFFER_HEIGHT_OES GLES1.1:GL_RENDERBUFFER_INTERNAL_FORMAT_OES GLES1.1:GL_RENDERBUFFER_RED_SIZE_OES GLES1.1:GL_RENDERBUFFER_GREEN_SIZE_OES GLES1.1:GL_RENDERBUFFER_BLUE_SIZE_OES GLES1.1:GL_RENDERBUFFER_ALPHA_SIZE_OES GLES1.1:GL_RENDERBUFFER_DEPTH_SIZE_OES GLES1.1:GL_RENDERBUFFER_STENCIL_SIZE_OES
dependentvector params 1 pname GLES2.0:GL_RENDERBUFFER_WIDTH GLES2.0:GL_RENDERBUFFER_HEIGHT GLES2.0:GL_RENDERBUFFER_INTERNAL_FORMAT GLES2.0:GL_RENDERBUFFER_RED_SIZE GLES2.0:GL_RENDERBUFFER_GREEN_SIZE GLES2.0:GL_RENDERBUFFER_BLUE_SIZE GLES2.0:GL_RENDERBUFFER_ALPHA_SIZE GLES2.0:GL_RENDERBUFFER_DEPTH_SIZE GLES2.0:GL_RENDERBUFFER_STENCIL_SIZE
category        GLES1.1:OES_framebuffer_object GLES2.0

name            IsRenderbuffer
alias           IsRenderbufferEXT
return          GLboolean
param           renderbuffer    GLuint
props           get
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            IsFramebuffer
alias           IsFramebufferEXT
return          GLboolean
param           framebuffer    GLuint
props           get
category        GLES2.0 GLES1.1:OES_framebuffer_object

name            IsShader
return          GLboolean
param           shader          GLuint
props           get
category        GLES2.0

name            GetShaderiv
return          void
param           shader          GLuint
param           pname           GLenum
param           params          GLint *
props           get
checkparam      pname           GL_SHADER_TYPE GL_COMPILE_STATUS GL_DELETE_STATUS GL_INFO_LOG_LENGTH GL_SHADER_SOURCE_LENGTH
category        GLES2.0

name            GetAttachedShaders
return          void
param           program         GLuint
param           maxCount        GLsizei
param           count           GLsizei *
param           shaders         GLuint *
props           get
category        GLES2.0

name            GetShaderInfoLog
return          void
param           shader          GLuint
param           bufSize         GLsizei
param           length          GLsizei *
param           infoLog         GLchar *
props           get
category        GLES2.0

name            GetProgramInfoLog
return          void
param           program         GLuint
param           bufSize         GLsizei
param           length          GLsizei *
param           infoLog         GLchar *
props           get
category        GLES2.0

name            GetShaderSource
alias		GetShaderSourceARB
return          void
param           shader          GLuint
param           bufSize         GLsizei
param           length          GLsizei *
param           source          GLchar *
props           get
category        GLES2.0

name            GetShaderPrecisionFormat
return          void
param           shadertype      GLenum
param           precisiontype   GLenum
param           range           GLint *
param           precision       GLint *
props           get
checkparam      shadertype      GL_VERTEX_SHADER GL_FRAGMENT_SHADER
checkparam      precisiontype   GL_LOW_FLOAT GL_MEDIUM_FLOAT GL_HIGH_FLOAT GL_LOW_INT GL_MEDIUM_INT GL_HIGH_INT
category        GLES2.0

name            GetUniformfv
alias		GetUniformfvARB
return          void
param           program         GLuint
param           location        GLint
param           params          GLfloat *
props           get
category        GLES2.0

name            GetUniformiv
alias		GetUniformivARB
return          void
param           program         GLuint
param           location        GLint
param           params          GLint *
props           get
category        GLES2.0

name            QueryMatrixx
return          GLbitfield
param           mantissa        GLfixed *
vector		mantissa	16
param           exponent        GLint *
vector		exponent        16
props           get
category        GLES1.1:OES_query_matrix

# OES_draw_texture doesn't appear to be supported in Mesa yet
name            DrawTexf
return          void
param           x               GLfloat
param           y               GLfloat
param           z               GLfloat
param           w               GLfloat
param           h               GLfloat
category        GLES1.1:OES_draw_texture

name            DrawTexi
return          void
param           x               GLint
param           y               GLint
param           z               GLint
param           w               GLint
param           h               GLint
category        GLES1.1:OES_draw_texture

name            DrawTexs
return          void
param           x               GLshort
param           y               GLshort
param           z               GLshort
param           w               GLshort
param           h               GLshort
category        GLES1.1:OES_draw_texture

name            DrawTexx
return          void
param           x               GLfixed
param           y               GLfixed
param           z               GLfixed
param           w               GLfixed
param           h               GLfixed
convertalias    DrawTexf
convertparams   GLfloat        x y z w h
category        GLES1.1:OES_draw_texture

name            DrawTexfv
return          void
param           coords          const GLfloat *
vector          coords          5
category        GLES1.1:OES_draw_texture

name            DrawTexiv
return          void
param           coords          const GLint *
vector          coords          5
category        GLES1.1:OES_draw_texture

name            DrawTexsv
return          void
param           coords          const GLshort *
vector          coords          5
category        GLES1.1:OES_draw_texture

name            DrawTexxv
return          void
param           coords          const GLfixed *
vector          coords          5
convertalias    DrawTexfv
convertparams   GLfloat         coords
category        GLES1.1:OES_draw_texture

name            EGLImageTargetTexture2D
alias           EGLImageTargetTexture2DOES
return          void
param           target          GLenum
param           image           GLeglImageOES
checkparam      target          GL_TEXTURE_2D
category        GLES1.1:OES_EGL_image GLES2.0:OES_EGL_image

name            EGLImageTargetRenderbufferStorage
alias           EGLImageTargetRenderbufferStorageOES
return          void
param           target          GLenum
param           image           GLeglImageOES
checkparam      target          GLES1.1:GL_RENDERBUFFER_OES GLES2.0:GL_RENDERBUFFER
category        GLES1.1:OES_EGL_image GLES2.0:OES_EGL_image

# We don't support OES_get_program_binary yet either
#name GetProgramBinary
#return void
#param          program         GLuint
#param          bufSize         GLsizei
#param          length          GLsizei *
#param          binaryFormat    GLenum *
#param          binary          GLvoid *
#category       GLES2.0:OES_get_program_binary
#
#name           ProgramBinary
#return         void
#param          program         GLuint
#param          binaryFormat    GLenum
#param          binary          const GLvoid *
#param          length          GLint
#category       GLES2.0:OES_get_program_binary
