glapi: Add es1 and es2 attributes to XML.

Currently, the set of functions which exist in GLES1 or GLES2 is
determined by hardcoded lists of function names in gles_api.py.  This
patch encodes that information into the XML files using new
attributes, es1 and es2.

The es1 attribute denotes the first version of GLES 1 in which the
function exists (e.g. es1="1.1" means the function exists in GLES 1.1
but not GLES 1.0).  "none" (the default) means the function is not
available in any version of GLES 1.

The es2 attribute denotes the first version of GLES 2/3 in which the
function exists (e.g. es2="2.0" means the function exists in both GLES
2.0 and GLES 3.0).  "none" (the default) means the function is not
available in any version of GLES 2 or GLES 3.

Note that since GLES 3 is a strict superset of GLES 2, there is no
need for a separate attribute for it; instead, 'es2="3.0"' should be
used to denote functions that are present in GLES 3 but not GLES 2.

This patch only adds information about GLES versions 1.0, 1.1, and
2.0.

Later patches will modify the python code generation scripts to use
this information rather than the hardcoded lists in gles_api.py.

Tested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Paul Berry 2012-10-10 16:28:42 -07:00
parent 7dc052b12b
commit 81a7f50781
9 changed files with 502 additions and 334 deletions

View File

@ -18,17 +18,17 @@
<enum name="MAX_VARYING_VECTORS" value="0x8DFC"/>
<enum name="MAX_FRAGMENT_UNIFORM_VECTORS" value="0x8DFD"/>
<function name="GetShaderPrecisionFormat" offset="assign">
<function name="GetShaderPrecisionFormat" offset="assign" es2="2.0">
<param name="shadertype" type="GLenum"/>
<param name="precisiontype" type="GLenum"/>
<param name="range" type="GLint *"/>
<param name="precision" type="GLint *"/>
</function>
<function name="ReleaseShaderCompiler" offset="assign">
<function name="ReleaseShaderCompiler" offset="assign" es2="2.0">
</function>
<function name="ShaderBinary" offset="assign">
<function name="ShaderBinary" offset="assign" es2="2.0">
<param name="n" type="GLsizei"/>
<param name="shaders" type="const GLuint *"/>
<param name="binaryformat" type="GLenum"/>
@ -45,11 +45,11 @@
<enum name="IMPLEMENTATION_COLOR_READ_FORMAT" value="0x8B9B"/>
<!-- from GL_OES_single_precision -->
<function name="ClearDepthf" offset="assign">
<function name="ClearDepthf" offset="assign" es1="1.0" es2="2.0">
<param name="depth" type="GLclampf"/>
</function>
<function name="DepthRangef" offset="assign">
<function name="DepthRangef" offset="assign" es1="1.0" es2="2.0">
<param name="zNear" type="GLclampf"/>
<param name="zFar" type="GLclampf"/>
</function>

View File

@ -140,27 +140,29 @@
<function name="IsRenderbuffer" alias="IsRenderbufferEXT">
<function name="IsRenderbuffer" alias="IsRenderbufferEXT" es2="2.0">
<param name="renderbuffer" type="GLuint"/>
<return type="GLboolean"/>
</function>
<function name="BindRenderbuffer" alias="BindRenderbufferEXT">
<function name="BindRenderbuffer" alias="BindRenderbufferEXT" es2="2.0">
<param name="target" type="GLenum"/>
<param name="renderbuffer" type="GLuint"/>
</function>
<function name="DeleteRenderbuffers" alias="DeleteRenderbuffersEXT">
<function name="DeleteRenderbuffers" alias="DeleteRenderbuffersEXT"
es2="2.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="const GLuint *" count="n"/>
</function>
<function name="GenRenderbuffers" alias="GenRenderbuffersEXT">
<function name="GenRenderbuffers" alias="GenRenderbuffersEXT" es2="2.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="GLuint *" count="n" output="true"/>
</function>
<function name="RenderbufferStorage" alias="RenderbufferStorageEXT">
<function name="RenderbufferStorage" alias="RenderbufferStorageEXT"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
@ -176,33 +178,36 @@
<glx rop="4331"/>
</function>
<function name="GetRenderbufferParameteriv" alias="GetRenderbufferParameterivEXT">
<function name="GetRenderbufferParameteriv"
alias="GetRenderbufferParameterivEXT" es2="2.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint *" output="true"/>
</function>
<function name="IsFramebuffer" alias="IsFramebufferEXT">
<function name="IsFramebuffer" alias="IsFramebufferEXT" es2="2.0">
<param name="framebuffer" type="GLuint"/>
<return type="GLboolean"/>
</function>
<function name="BindFramebuffer" alias="BindFramebufferEXT">
<function name="BindFramebuffer" alias="BindFramebufferEXT" es2="2.0">
<param name="target" type="GLenum"/>
<param name="framebuffer" type="GLuint"/>
</function>
<function name="DeleteFramebuffers" alias="DeleteFramebuffersEXT">
<function name="DeleteFramebuffers" alias="DeleteFramebuffersEXT"
es2="2.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="const GLuint *" count="n"/>
</function>
<function name="GenFramebuffers" alias="GenFramebuffersEXT">
<function name="GenFramebuffers" alias="GenFramebuffersEXT" es2="2.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="GLuint *" count="n" output="true"/>
</function>
<function name="CheckFramebufferStatus" alias="CheckFramebufferStatusEXT">
<function name="CheckFramebufferStatus" alias="CheckFramebufferStatusEXT"
es2="2.0">
<param name="target" type="GLenum"/>
<return type="GLenum"/>
</function>
@ -215,7 +220,8 @@
<param name="level" type="GLint"/>
</function>
<function name="FramebufferTexture2D" alias="FramebufferTexture2DEXT">
<function name="FramebufferTexture2D" alias="FramebufferTexture2DEXT"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@ -240,14 +246,16 @@
<param name="layer" type="GLint"/>
</function>
<function name="FramebufferRenderbuffer" alias="FramebufferRenderbufferEXT">
<function name="FramebufferRenderbuffer" alias="FramebufferRenderbufferEXT"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="renderbuffertarget" type="GLenum"/>
<param name="renderbuffer" type="GLuint"/>
</function>
<function name="GetFramebufferAttachmentParameteriv" alias="GetFramebufferAttachmentParameterivEXT">
<function name="GetFramebufferAttachmentParameteriv"
alias="GetFramebufferAttachmentParameterivEXT" es2="2.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="pname" type="GLenum"/>
@ -267,7 +275,7 @@
<param name="filter" type="GLenum"/>
</function>
<function name="GenerateMipmap" alias="GenerateMipmapEXT">
<function name="GenerateMipmap" alias="GenerateMipmapEXT" es2="2.0">
<param name="target" type="GLenum"/>
</function>
</category>

View File

@ -5,12 +5,14 @@
<category name="GL_OES_EGL_image">
<function name="EGLImageTargetTexture2DOES" offset="assign">
<function name="EGLImageTargetTexture2DOES" offset="assign" es1="1.0"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="writeOffset" type="GLvoid *"/>
</function>
<function name="EGLImageTargetRenderbufferStorageOES" offset="assign">
<function name="EGLImageTargetRenderbufferStorageOES" offset="assign"
es1="1.0" es2="2.0">
<param name="target" type="GLenum"/>
<param name="writeOffset" type="GLvoid *"/>
</function>

View File

@ -13,45 +13,52 @@
<type name="clampx" size="4" />
<!-- OpenGL ES 1.0 -->
<function name="AlphaFuncxOES" offset="assign" static_dispatch="false">
<function name="AlphaFuncxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="func" type="GLenum"/>
<param name="ref" type="GLclampx"/>
</function>
<function name="ClearColorxOES" offset="assign" static_dispatch="false">
<function name="ClearColorxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="red" type="GLclampx"/>
<param name="green" type="GLclampx"/>
<param name="blue" type="GLclampx"/>
<param name="alpha" type="GLclampx"/>
</function>
<function name="ClearDepthxOES" offset="assign" static_dispatch="false">
<function name="ClearDepthxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="depth" type="GLclampx"/>
</function>
<function name="Color4xOES" offset="assign" static_dispatch="false">
<function name="Color4xOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="red" type="GLfixed"/>
<param name="green" type="GLfixed"/>
<param name="blue" type="GLfixed"/>
<param name="alpha" type="GLfixed"/>
</function>
<function name="DepthRangexOES" offset="assign" static_dispatch="false">
<function name="DepthRangexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="zNear" type="GLclampx"/>
<param name="zFar" type="GLclampx"/>
</function>
<function name="FogxOES" offset="assign" static_dispatch="false">
<function name="FogxOES" offset="assign" static_dispatch="false" es1="1.0">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="FogxvOES" offset="assign" static_dispatch="false">
<function name="FogxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="FrustumxOES" offset="assign" static_dispatch="false">
<function name="FrustumxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfixed"/>
<param name="right" type="GLfixed"/>
<param name="bottom" type="GLfixed"/>
@ -60,53 +67,63 @@
<param name="zFar" type="GLfixed"/>
</function>
<function name="LightModelxOES" offset="assign" static_dispatch="false">
<function name="LightModelxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="LightModelxvOES" offset="assign" static_dispatch="false">
<function name="LightModelxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="LightxOES" offset="assign" static_dispatch="false">
<function name="LightxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="LightxvOES" offset="assign" static_dispatch="false">
<function name="LightxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="LineWidthxOES" offset="assign" static_dispatch="false">
<function name="LineWidthxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="width" type="GLfixed"/>
</function>
<function name="LoadMatrixxOES" offset="assign" static_dispatch="false">
<function name="LoadMatrixxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="m" type="const GLfixed *" count="16"/>
</function>
<function name="MaterialxOES" offset="assign" static_dispatch="false">
<function name="MaterialxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="MaterialxvOES" offset="assign" static_dispatch="false">
<function name="MaterialxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="MultMatrixxOES" offset="assign" static_dispatch="false">
<function name="MultMatrixxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="m" type="const GLfixed *" count="16"/>
</function>
<function name="MultiTexCoord4xOES" offset="assign" static_dispatch="false">
<function name="MultiTexCoord4xOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="s" type="GLfixed"/>
<param name="t" type="GLfixed"/>
@ -114,13 +131,15 @@
<param name="q" type="GLfixed"/>
</function>
<function name="Normal3xOES" offset="assign" static_dispatch="false">
<function name="Normal3xOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="nx" type="GLfixed"/>
<param name="ny" type="GLfixed"/>
<param name="nz" type="GLfixed"/>
</function>
<function name="OrthoxOES" offset="assign" static_dispatch="false">
<function name="OrthoxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfixed"/>
<param name="right" type="GLfixed"/>
<param name="bottom" type="GLfixed"/>
@ -129,127 +148,149 @@
<param name="zFar" type="GLfixed"/>
</function>
<function name="PointSizexOES" offset="assign" static_dispatch="false">
<function name="PointSizexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="size" type="GLfixed"/>
</function>
<function name="PolygonOffsetxOES" offset="assign" static_dispatch="false">
<function name="PolygonOffsetxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="factor" type="GLfixed"/>
<param name="units" type="GLfixed"/>
</function>
<function name="RotatexOES" offset="assign" static_dispatch="false">
<function name="RotatexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="angle" type="GLfixed"/>
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<function name="SampleCoveragexOES" offset="assign" static_dispatch="false">
<function name="SampleCoveragexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="value" type="GLclampx"/>
<param name="invert" type="GLboolean"/>
</function>
<function name="ScalexOES" offset="assign" static_dispatch="false">
<function name="ScalexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<function name="TexEnvxOES" offset="assign" static_dispatch="false">
<function name="TexEnvxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="TexEnvxvOES" offset="assign" static_dispatch="false">
<function name="TexEnvxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="TexParameterxOES" offset="assign" static_dispatch="false">
<function name="TexParameterxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="TranslatexOES" offset="assign" static_dispatch="false">
<function name="TranslatexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<!-- OpenGL ES 1.1 -->
<function name="ClipPlanexOES" offset="assign" static_dispatch="false">
<function name="ClipPlanexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="plane" type="GLenum"/>
<param name="equation" type="const GLfixed *" count="4"/>
</function>
<function name="GetClipPlanexOES" offset="assign" static_dispatch="false">
<function name="GetClipPlanexOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="plane" type="GLenum"/>
<param name="equation" type="GLfixed *" output="true" count="4"/>
</function>
<function name="GetFixedvOES" offset="assign" static_dispatch="false">
<function name="GetFixedvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetLightxvOES" offset="assign" static_dispatch="false">
<function name="GetLightxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetMaterialxvOES" offset="assign" static_dispatch="false">
<function name="GetMaterialxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetTexEnvxvOES" offset="assign" static_dispatch="false">
<function name="GetTexEnvxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetTexParameterxvOES" offset="assign" static_dispatch="false">
<function name="GetTexParameterxvOES" offset="assign"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="PointParameterxOES" offset="assign" static_dispatch="false">
<function name="PointParameterxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="PointParameterxvOES" offset="assign" static_dispatch="false">
<function name="PointParameterxvOES" offset="assign"
static_dispatch="false" es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *"/>
</function>
<function name="TexParameterxvOES" offset="assign" static_dispatch="false">
<function name="TexParameterxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<!-- texgen -->
<function name="GetTexGenxvOES" offset="assign" static_dispatch="false">
<function name="GetTexGenxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="TexGenxOES" offset="assign" static_dispatch="false">
<function name="TexGenxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLint"/>
</function>
<function name="TexGenxvOES" offset="assign" static_dispatch="false">
<function name="TexGenxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>

View File

@ -6,26 +6,31 @@
<OpenGLAPI>
<category name="GL_OES_single_precision" number="293">
<function name="ClearDepthfOES" alias="ClearDepthf" static_dispatch="false">
<function name="ClearDepthfOES" alias="ClearDepthf" static_dispatch="false"
es1="1.0">
<param name="depth" type="GLclampf"/>
</function>
<function name="ClipPlanefOES" offset="assign" static_dispatch="false">
<function name="ClipPlanefOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="plane" type="GLenum"/>
<param name="equation" type="const GLfloat *" count="4"/>
</function>
<function name="DepthRangefOES" alias="DepthRangef" static_dispatch="false">
<function name="DepthRangefOES" alias="DepthRangef" static_dispatch="false"
es1="1.0">
<param name="zNear" type="GLclampf"/>
<param name="zFar" type="GLclampf"/>
</function>
<function name="GetClipPlanefOES" offset="assign" static_dispatch="false">
<function name="GetClipPlanefOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="plane" type="GLenum"/>
<param name="equation" type="GLfloat *" output="true" count="4"/>
</function>
<function name="FrustumfOES" offset="assign" static_dispatch="false">
<function name="FrustumfOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfloat"/>
<param name="right" type="GLfloat"/>
<param name="bottom" type="GLfloat"/>
@ -34,7 +39,8 @@
<param name="zFar" type="GLfloat"/>
</function>
<function name="OrthofOES" offset="assign" static_dispatch="false">
<function name="OrthofOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfloat"/>
<param name="right" type="GLfloat"/>
<param name="bottom" type="GLfloat"/>

View File

@ -10,7 +10,8 @@
<enum name="BLEND_EQUATION_RGB_OES" value="0x8009"/>
<enum name="BLEND_EQUATION_ALPHA_OES" value="0x883D"/>
<function name="BlendEquationSeparateOES" alias="BlendEquationSeparateEXT" static_dispatch="false">
<function name="BlendEquationSeparateOES" alias="BlendEquationSeparateEXT"
static_dispatch="false" es1="1.0">
<param name="modeRGB" type="GLenum"/>
<param name="modeA" type="GLenum"/>
</function>
@ -23,7 +24,8 @@
<enum name="BLEND_DST_ALPHA_OES" value="0x80CA"/>
<enum name="BLEND_SRC_ALPHA_OES" value="0x80CB"/>
<function name="BlendFuncSeparateOES" alias="BlendFuncSeparateEXT" static_dispatch="false">
<function name="BlendFuncSeparateOES" alias="BlendFuncSeparateEXT"
static_dispatch="false" es1="1.0">
<param name="sfactorRGB" type="GLenum"/>
<param name="dfactorRGB" type="GLenum"/>
<param name="sfactorAlpha" type="GLenum"/>
@ -38,7 +40,8 @@
<enum name="FUNC_SUBTRACT_OES" value="0x800A"/>
<enum name="FUNC_REVERSE_SUBTRACT_OES" value="0x800B"/>
<function name="BlendEquationOES" alias="BlendEquation" static_dispatch="false">
<function name="BlendEquationOES" alias="BlendEquation"
static_dispatch="false" es1="1.0">
<param name="mode" type="GLenum"/>
</function>
</category>
@ -69,7 +72,8 @@
<category name="GL_OES_draw_texture" number="7">
<enum name="TEXTURE_CROP_RECT_OES" value="0x8B9D"/>
<function name="DrawTexiOES" offset="assign" static_dispatch="false">
<function name="DrawTexiOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLint"/>
<param name="y" type="GLint"/>
<param name="z" type="GLint"/>
@ -77,11 +81,13 @@
<param name="height" type="GLint"/>
</function>
<function name="DrawTexivOES" offset="assign" static_dispatch="false">
<function name="DrawTexivOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coords" type="const GLint *" count="5"/>
</function>
<function name="DrawTexfOES" offset="assign" static_dispatch="false">
<function name="DrawTexfOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfloat"/>
<param name="y" type="GLfloat"/>
<param name="z" type="GLfloat"/>
@ -89,11 +95,13 @@
<param name="height" type="GLfloat"/>
</function>
<function name="DrawTexfvOES" offset="assign" static_dispatch="false">
<function name="DrawTexfvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coords" type="const GLfloat *" count="5"/>
</function>
<function name="DrawTexsOES" offset="assign" static_dispatch="false">
<function name="DrawTexsOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLshort"/>
<param name="y" type="GLshort"/>
<param name="z" type="GLshort"/>
@ -101,11 +109,13 @@
<param name="height" type="GLshort"/>
</function>
<function name="DrawTexsvOES" offset="assign" static_dispatch="false">
<function name="DrawTexsvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coords" type="const GLshort *" count="5"/>
</function>
<function name="DrawTexxOES" offset="assign" static_dispatch="false">
<function name="DrawTexxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
@ -113,7 +123,8 @@
<param name="height" type="GLfixed"/>
</function>
<function name="DrawTexxvOES" offset="assign" static_dispatch="false">
<function name="DrawTexxvOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="coords" type="const GLfixed *" count="5"/>
</function>
@ -166,39 +177,48 @@
<enum name="RENDERBUFFER_STENCIL_SIZE_OES" value="0x8D55"/>
<enum name="RGB565_OES" value="0x8D62"/>
<function name="BindFramebufferOES" alias="BindFramebufferEXT" static_dispatch="false">
<function name="BindFramebufferOES" alias="BindFramebufferEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="framebuffer" type="GLuint"/>
</function>
<function name="BindRenderbufferOES" alias="BindRenderbufferEXT" static_dispatch="false">
<function name="BindRenderbufferOES" alias="BindRenderbufferEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="renderbuffer" type="GLuint"/>
</function>
<function name="CheckFramebufferStatusOES" alias="CheckFramebufferStatusEXT" static_dispatch="false">
<function name="CheckFramebufferStatusOES"
alias="CheckFramebufferStatusEXT" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<return type="GLenum"/>
</function>
<function name="DeleteFramebuffersOES" alias="DeleteFramebuffersEXT" static_dispatch="false">
<function name="DeleteFramebuffersOES" alias="DeleteFramebuffersEXT"
static_dispatch="false" es1="1.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="const GLuint *" count="n"/>
</function>
<function name="DeleteRenderbuffersOES" alias="DeleteRenderbuffersEXT" static_dispatch="false">
<function name="DeleteRenderbuffersOES" alias="DeleteRenderbuffersEXT"
static_dispatch="false" es1="1.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="const GLuint *" count="n"/>
</function>
<function name="FramebufferRenderbufferOES" alias="FramebufferRenderbufferEXT" static_dispatch="false">
<function name="FramebufferRenderbufferOES"
alias="FramebufferRenderbufferEXT" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="renderbuffertarget" type="GLenum"/>
<param name="renderbuffer" type="GLuint"/>
</function>
<function name="FramebufferTexture2DOES" alias="FramebufferTexture2DEXT" static_dispatch="false">
<function name="FramebufferTexture2DOES" alias="FramebufferTexture2DEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@ -206,44 +226,54 @@
<param name="level" type="GLint"/>
</function>
<function name="GenerateMipmapOES" alias="GenerateMipmapEXT" static_dispatch="false">
<function name="GenerateMipmapOES" alias="GenerateMipmapEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
</function>
<function name="GenFramebuffersOES" alias="GenFramebuffersEXT" static_dispatch="false">
<function name="GenFramebuffersOES" alias="GenFramebuffersEXT"
static_dispatch="false" es1="1.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="framebuffers" type="GLuint *" count="n" output="true"/>
</function>
<function name="GenRenderbuffersOES" alias="GenRenderbuffersEXT" static_dispatch="false">
<function name="GenRenderbuffersOES" alias="GenRenderbuffersEXT"
static_dispatch="false" es1="1.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="renderbuffers" type="GLuint *" count="n" output="true"/>
</function>
<function name="GetFramebufferAttachmentParameterivOES" alias="GetFramebufferAttachmentParameterivEXT" static_dispatch="false">
<function name="GetFramebufferAttachmentParameterivOES"
alias="GetFramebufferAttachmentParameterivEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint *" output="true"/>
</function>
<function name="GetRenderbufferParameterivOES" alias="GetRenderbufferParameterivEXT" static_dispatch="false">
<function name="GetRenderbufferParameterivOES"
alias="GetRenderbufferParameterivEXT" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint *" output="true"/>
</function>
<function name="IsFramebufferOES" alias="IsFramebufferEXT" static_dispatch="false">
<function name="IsFramebufferOES" alias="IsFramebufferEXT"
static_dispatch="false" es1="1.0">
<param name="framebuffer" type="GLuint"/>
<return type="GLboolean"/>
</function>
<function name="IsRenderbufferOES" alias="IsRenderbufferEXT" static_dispatch="false">
<function name="IsRenderbufferOES" alias="IsRenderbufferEXT"
static_dispatch="false" es1="1.0">
<param name="renderbuffer" type="GLuint"/>
<return type="GLboolean"/>
</function>
<function name="RenderbufferStorageOES" alias="RenderbufferStorageEXT" static_dispatch="false">
<function name="RenderbufferStorageOES" alias="RenderbufferStorageEXT"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="internalformat" type="GLenum"/>
<param name="width" type="GLsizei"/>
@ -308,7 +338,8 @@
<enum name="POINT_SIZE_ARRAY_OES" value="0x8B9C"/>
<enum name="POINT_SIZE_ARRAY_BUFFER_BINDING_OES" value="0x8B9F"/>
<function name="PointSizePointerOES" offset="assign" static_dispatch="false">
<function name="PointSizePointerOES" offset="assign"
static_dispatch="false" es1="1.0">
<param name="type" type="GLenum"/>
<param name="stride" type="GLsizei"/>
<param name="pointer" type="const GLvoid *"/>
@ -323,7 +354,8 @@
<!-- optional for es1.0 -->
<category name="GL_OES_query_matrix" number="16">
<function name="QueryMatrixxOES" offset="assign" static_dispatch="false">
<function name="QueryMatrixxOES" offset="assign" static_dispatch="false"
es1="1.0">
<param name="mantissa" type="GLfixed *" count="16" />
<param name="exponent" type="GLint *" count="16" />
<return type="GLbitfield"/>
@ -352,37 +384,43 @@
<enum name="MAX_CUBE_MAP_TEXTURE_SIZE_OES" value="0x851C"/>
<enum name="TEXTURE_GEN_STR_OES" value="0x8D60"/>
<function name="GetTexGenfvOES" alias="GetTexGenfv" static_dispatch="false">
<function name="GetTexGenfvOES" alias="GetTexGenfv" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfloat *" output="true" variable_param="pname"/>
</function>
<function name="GetTexGenivOES" alias="GetTexGeniv" static_dispatch="false">
<function name="GetTexGenivOES" alias="GetTexGeniv" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLint *" output="true" variable_param="pname"/>
</function>
<function name="TexGenfOES" alias="TexGenf" static_dispatch="false">
<function name="TexGenfOES" alias="TexGenf" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfloat"/>
</function>
<function name="TexGenfvOES" alias="TexGenfv" static_dispatch="false">
<function name="TexGenfvOES" alias="TexGenfv" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfloat *" variable_param="pname"/>
</function>
<function name="TexGeniOES" alias="TexGeni" static_dispatch="false">
<function name="TexGeniOES" alias="TexGeni" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLint"/>
</function>
<function name="TexGenivOES" alias="TexGeniv" static_dispatch="false">
<function name="TexGenivOES" alias="TexGeniv" static_dispatch="false"
es1="1.0">
<param name="coord" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLint *" variable_param="pname"/>
@ -417,19 +455,22 @@
<enum name="BUFFER_MAPPED_OES" value="0x88BC"/>
<enum name="BUFFER_MAP_POINTER_OES" value="0x88BD"/>
<function name="GetBufferPointervOES" alias="GetBufferPointervARB" static_dispatch="false">
<function name="GetBufferPointervOES" alias="GetBufferPointervARB"
static_dispatch="false" es1="1.0" es2="2.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLvoid **"/>
</function>
<function name="MapBufferOES" alias="MapBufferARB" static_dispatch="false">
<function name="MapBufferOES" alias="MapBufferARB" static_dispatch="false"
es1="1.0" es2="2.0">
<param name="target" type="GLenum"/>
<param name="access" type="GLenum"/>
<return type="GLvoid *"/>
</function>
<function name="UnmapBufferOES" alias="UnmapBufferARB" static_dispatch="false">
<function name="UnmapBufferOES" alias="UnmapBufferARB"
static_dispatch="false" es1="1.0" es2="2.0">
<param name="target" type="GLenum"/>
<return type="GLboolean"/>
</function>
@ -460,7 +501,8 @@
<enum name="SAMPLER_3D_OES" value="0x8B5F"/>
<enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES" value="0x8CD4"/>
<function name="CompressedTexImage3DOES" alias="CompressedTexImage3DARB" static_dispatch="false">
<function name="CompressedTexImage3DOES" alias="CompressedTexImage3DARB"
static_dispatch="false" es2="2.0">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="internalformat" type="GLenum"/>
@ -472,7 +514,9 @@
<param name="data" type="const GLvoid *" count="imageSize"/>
</function>
<function name="CompressedTexSubImage3DOES" alias="CompressedTexSubImage3DARB" static_dispatch="false">
<function name="CompressedTexSubImage3DOES"
alias="CompressedTexSubImage3DARB" static_dispatch="false"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>
@ -486,7 +530,8 @@
<param name="data" type="const GLvoid *" count="imageSize"/>
</function>
<function name="CopyTexSubImage3DOES" alias="CopyTexSubImage3D" static_dispatch="false">
<function name="CopyTexSubImage3DOES" alias="CopyTexSubImage3D"
static_dispatch="false" es2="2.0">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>
@ -498,7 +543,8 @@
<param name="height" type="GLsizei"/>
</function>
<function name="FramebufferTexture3DOES" alias="FramebufferTexture3DEXT" static_dispatch="false">
<function name="FramebufferTexture3DOES" alias="FramebufferTexture3DEXT"
static_dispatch="false" es2="2.0">
<param name="target" type="GLenum"/>
<param name="attachment" type="GLenum"/>
<param name="textarget" type="GLenum"/>
@ -507,7 +553,8 @@
<param name="zoffset" type="GLint"/>
</function>
<function name="TexImage3DOES" alias="TexImage3D" static_dispatch="false">
<function name="TexImage3DOES" alias="TexImage3D" static_dispatch="false"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="internalformat" type="GLenum"/>
@ -520,7 +567,8 @@
<param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/>
</function>
<function name="TexSubImage3DOES" alias="TexSubImage3D" static_dispatch="false">
<function name="TexSubImage3DOES" alias="TexSubImage3D"
static_dispatch="false" es2="2.0">
<param name="target" type="GLenum"/>
<param name="level" type="GLint"/>
<param name="xoffset" type="GLint"/>
@ -578,7 +626,8 @@
<enum name="NUM_PROGRAM_BINARY_FORMATS_OES" value="0x87FE"/>
<enum name="PROGRAM_BINARY_FORMATS_OES" value="0x87FF"/>
<function name="GetProgramBinaryOES" alias="GetProgramBinary" static_dispatch="false">
<function name="GetProgramBinaryOES" alias="GetProgramBinary"
static_dispatch="false" es2="2.0">
<param name="program" type="GLuint"/>
<param name="bufSize" type="GLsizei"/>
<param name="length" type="GLsizei *"/>
@ -586,7 +635,8 @@
<param name="binary" type="GLvoid *"/>
</function>
<function name="ProgramBinaryOES" alias="ProgramBinary" static_dispatch="false">
<function name="ProgramBinaryOES" alias="ProgramBinary"
static_dispatch="false" es2="2.0">
<param name="program" type="GLuint"/>
<param name="binaryFormat" type="GLenum"/>
<param name="binary" type="const GLvoid *"/>
@ -621,21 +671,22 @@
<!-- 71. GL_OES_vertex_array_object -->
<category name="GL_OES_vertex_array_object" number="71">
<function name="BindVertexArrayOES" alias="BindVertexArray">
<function name="BindVertexArrayOES" alias="BindVertexArray" es2="2.0">
<param name="array" type="GLuint"/>
</function>
<function name="DeleteVertexArraysOES" alias="DeleteVertexArraysAPPLE">
<function name="DeleteVertexArraysOES" alias="DeleteVertexArraysAPPLE"
es2="2.0">
<param name="n" type="GLsizei"/>
<param name="arrays" type="const GLuint *" count="n"/>
</function>
<function name="GenVertexArraysOES" alias="GenVertexArrays">
<function name="GenVertexArraysOES" alias="GenVertexArrays" es2="2.0">
<param name="n" type="GLsizei"/>
<param name="arrays" type="GLuint *" output="true" count="n"/>
</function>
<function name="IsVertexArrayOES" alias="IsVertexArrayAPPLE">
<function name="IsVertexArrayOES" alias="IsVertexArrayAPPLE" es2="2.0">
<param name="array" type="GLuint"/>
<return type="GLboolean"/>
</function>
@ -710,7 +761,7 @@
<size name="Get" mode="get"/>
</enum>
<function name="DrawBuffersNV" alias="DrawBuffersARB">
<function name="DrawBuffersNV" alias="DrawBuffersARB" es2="2.0">
<param name="n" type="GLsizei" counter="true"/>
<param name="bufs" type="const GLenum *" count="n"/>
</function>
@ -718,7 +769,7 @@
<!-- 93. GL_NV_read_buffer -->
<category name="NV_read_buffer">
<function name="ReadBufferNV" alias="ReadBuffer">
<function name="ReadBufferNV" alias="ReadBuffer" es2="2.0">
<param name="mode" type="GLenum"/>
</function>
</category>
@ -746,7 +797,8 @@
<enum name="MAP_FLUSH_EXPLICIT_BIT_EXT" value="0x0010"/>
<enum name="MAP_UNSYNCHRONIZED_BIT_EXT" value="0x0020"/>
<function name="MapBufferRangeEXT" alias="MapBufferRange">
<function name="MapBufferRangeEXT" alias="MapBufferRange" es1="1.0"
es2="2.0">
<param name="target" type="GLenum"/>
<param name="offset" type="GLintptr"/>
<param name="size" type="GLsizeiptr"/>
@ -754,7 +806,8 @@
<return type="GLvoid *"/>
</function>
<function name="FlushMappedBufferRangeEXT" alias="FlushMappedBufferRange">
<function name="FlushMappedBufferRangeEXT" alias="FlushMappedBufferRange"
es1="1.0" es2="2.0">
<param name="target" type="GLenum"/>
<param name="offset" type="GLintptr"/>
<param name="length" type="GLsizeiptr"/>

View File

@ -35,7 +35,9 @@
alias NMTOKEN #IMPLIED
offset CDATA #IMPLIED
static_dispatch (true | false) "true"
vectorequiv NMTOKEN #IMPLIED>
vectorequiv NMTOKEN #IMPLIED
es1 CDATA "none"
es2 CDATA "none">
<!ATTLIST size name NMTOKEN #REQUIRED
count NMTOKEN #IMPLIED
mode (get | set) "set">

File diff suppressed because it is too large Load Diff

View File

@ -24,45 +24,51 @@
<type name="fixed" size="4" />
<type name="clampx" size="4" />
<function name="AlphaFuncx" alias="AlphaFuncxOES" static_dispatch="false">
<function name="AlphaFuncx" alias="AlphaFuncxOES" static_dispatch="false"
es1="1.0">
<param name="func" type="GLenum"/>
<param name="ref" type="GLclampx"/>
</function>
<function name="ClearColorx" alias="ClearColorxOES" static_dispatch="false">
<function name="ClearColorx" alias="ClearColorxOES" static_dispatch="false"
es1="1.0">
<param name="red" type="GLclampx"/>
<param name="green" type="GLclampx"/>
<param name="blue" type="GLclampx"/>
<param name="alpha" type="GLclampx"/>
</function>
<function name="ClearDepthx" alias="ClearDepthxOES" static_dispatch="false">
<function name="ClearDepthx" alias="ClearDepthxOES" static_dispatch="false"
es1="1.0">
<param name="depth" type="GLclampx"/>
</function>
<function name="Color4x" alias="Color4xOES" static_dispatch="false">
<function name="Color4x" alias="Color4xOES" static_dispatch="false"
es1="1.0">
<param name="red" type="GLfixed"/>
<param name="green" type="GLfixed"/>
<param name="blue" type="GLfixed"/>
<param name="alpha" type="GLfixed"/>
</function>
<function name="DepthRangex" alias="DepthRangexOES" static_dispatch="false">
<function name="DepthRangex" alias="DepthRangexOES" static_dispatch="false"
es1="1.0">
<param name="zNear" type="GLclampx"/>
<param name="zFar" type="GLclampx"/>
</function>
<function name="Fogx" alias="FogxOES" static_dispatch="false">
<function name="Fogx" alias="FogxOES" static_dispatch="false" es1="1.0">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="Fogxv" alias="FogxvOES" static_dispatch="false">
<function name="Fogxv" alias="FogxvOES" static_dispatch="false" es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="Frustumx" alias="FrustumxOES" static_dispatch="false">
<function name="Frustumx" alias="FrustumxOES" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfixed"/>
<param name="right" type="GLfixed"/>
<param name="bottom" type="GLfixed"/>
@ -71,53 +77,63 @@
<param name="zFar" type="GLfixed"/>
</function>
<function name="LightModelx" alias="LightModelxOES" static_dispatch="false">
<function name="LightModelx" alias="LightModelxOES" static_dispatch="false"
es1="1.0">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="LightModelxv" alias="LightModelxvOES" static_dispatch="false">
<function name="LightModelxv" alias="LightModelxvOES"
static_dispatch="false" es1="1.0">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="Lightx" alias="LightxOES" static_dispatch="false">
<function name="Lightx" alias="LightxOES" static_dispatch="false"
es1="1.0">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="Lightxv" alias="LightxvOES" static_dispatch="false">
<function name="Lightxv" alias="LightxvOES" static_dispatch="false"
es1="1.0">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="LineWidthx" alias="LineWidthxOES" static_dispatch="false">
<function name="LineWidthx" alias="LineWidthxOES" static_dispatch="false"
es1="1.0">
<param name="width" type="GLfixed"/>
</function>
<function name="LoadMatrixx" alias="LoadMatrixxOES" static_dispatch="false">
<function name="LoadMatrixx" alias="LoadMatrixxOES" static_dispatch="false"
es1="1.0">
<param name="m" type="const GLfixed *" count="16"/>
</function>
<function name="Materialx" alias="MaterialxOES" static_dispatch="false">
<function name="Materialx" alias="MaterialxOES" static_dispatch="false"
es1="1.0">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="Materialxv" alias="MaterialxvOES" static_dispatch="false">
<function name="Materialxv" alias="MaterialxvOES" static_dispatch="false"
es1="1.0">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="MultMatrixx" alias="MultMatrixxOES" static_dispatch="false">
<function name="MultMatrixx" alias="MultMatrixxOES" static_dispatch="false"
es1="1.0">
<param name="m" type="const GLfixed *" count="16"/>
</function>
<function name="MultiTexCoord4x" alias="MultiTexCoord4xOES" static_dispatch="false">
<function name="MultiTexCoord4x" alias="MultiTexCoord4xOES"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="s" type="GLfixed"/>
<param name="t" type="GLfixed"/>
@ -125,13 +141,15 @@
<param name="q" type="GLfixed"/>
</function>
<function name="Normal3x" alias="Normal3xOES" static_dispatch="false">
<function name="Normal3x" alias="Normal3xOES" static_dispatch="false"
es1="1.0">
<param name="nx" type="GLfixed"/>
<param name="ny" type="GLfixed"/>
<param name="nz" type="GLfixed"/>
</function>
<function name="Orthox" alias="OrthoxOES" static_dispatch="false">
<function name="Orthox" alias="OrthoxOES" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfixed"/>
<param name="right" type="GLfixed"/>
<param name="bottom" type="GLfixed"/>
@ -140,59 +158,69 @@
<param name="zFar" type="GLfixed"/>
</function>
<function name="PointSizex" alias="PointSizexOES" static_dispatch="false">
<function name="PointSizex" alias="PointSizexOES" static_dispatch="false"
es1="1.0">
<param name="size" type="GLfixed"/>
</function>
<function name="PolygonOffsetx" alias="PolygonOffsetxOES" static_dispatch="false">
<function name="PolygonOffsetx" alias="PolygonOffsetxOES"
static_dispatch="false" es1="1.0">
<param name="factor" type="GLfixed"/>
<param name="units" type="GLfixed"/>
</function>
<function name="Rotatex" alias="RotatexOES" static_dispatch="false">
<function name="Rotatex" alias="RotatexOES" static_dispatch="false"
es1="1.0">
<param name="angle" type="GLfixed"/>
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<function name="SampleCoveragex" alias="SampleCoveragexOES" static_dispatch="false">
<function name="SampleCoveragex" alias="SampleCoveragexOES"
static_dispatch="false" es1="1.0">
<param name="value" type="GLclampx"/>
<param name="invert" type="GLboolean"/>
</function>
<function name="Scalex" alias="ScalexOES" static_dispatch="false">
<function name="Scalex" alias="ScalexOES" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<function name="TexEnvx" alias="TexEnvxOES" static_dispatch="false">
<function name="TexEnvx" alias="TexEnvxOES" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="TexEnvxv" alias="TexEnvxvOES" static_dispatch="false">
<function name="TexEnvxv" alias="TexEnvxvOES" static_dispatch="false"
es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<function name="TexParameterx" alias="TexParameterxOES" static_dispatch="false">
<function name="TexParameterx" alias="TexParameterxOES"
static_dispatch="false" es1="1.0">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="Translatex" alias="TranslatexOES" static_dispatch="false">
<function name="Translatex" alias="TranslatexOES" static_dispatch="false"
es1="1.0">
<param name="x" type="GLfixed"/>
<param name="y" type="GLfixed"/>
<param name="z" type="GLfixed"/>
</function>
<!-- from GL_OES_single_precision -->
<function name="Frustumf" alias="FrustumfOES" static_dispatch="false">
<function name="Frustumf" alias="FrustumfOES" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfloat"/>
<param name="right" type="GLfloat"/>
<param name="bottom" type="GLfloat"/>
@ -201,7 +229,8 @@
<param name="zFar" type="GLfloat"/>
</function>
<function name="Orthof" alias="OrthofOES" static_dispatch="false">
<function name="Orthof" alias="OrthofOES" static_dispatch="false"
es1="1.0">
<param name="left" type="GLfloat"/>
<param name="right" type="GLfloat"/>
<param name="bottom" type="GLfloat"/>
@ -213,68 +242,80 @@
<category name="es1.1">
<!-- from GL_OES_fixed_point -->
<function name="ClipPlanex" alias="ClipPlanexOES" static_dispatch="false">
<function name="ClipPlanex" alias="ClipPlanexOES" static_dispatch="false"
es1="1.1">
<param name="plane" type="GLenum"/>
<param name="equation" type="const GLfixed *" count="4"/>
</function>
<function name="GetClipPlanex" alias="GetClipPlanexOES" static_dispatch="false">
<function name="GetClipPlanex" alias="GetClipPlanexOES"
static_dispatch="false" es1="1.1">
<param name="plane" type="GLenum"/>
<param name="equation" type="GLfixed *" output="true" count="4"/>
</function>
<function name="GetFixedv" alias="GetFixedvOES" static_dispatch="false">
<function name="GetFixedv" alias="GetFixedvOES" static_dispatch="false"
es1="1.1">
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetLightxv" alias="GetLightxvOES" static_dispatch="false">
<function name="GetLightxv" alias="GetLightxvOES" static_dispatch="false"
es1="1.1">
<param name="light" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetMaterialxv" alias="GetMaterialxvOES" static_dispatch="false">
<function name="GetMaterialxv" alias="GetMaterialxvOES"
static_dispatch="false" es1="1.1">
<param name="face" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetTexEnvxv" alias="GetTexEnvxvOES" static_dispatch="false">
<function name="GetTexEnvxv" alias="GetTexEnvxvOES" static_dispatch="false"
es1="1.1">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="GetTexParameterxv" alias="GetTexParameterxvOES" static_dispatch="false">
<function name="GetTexParameterxv" alias="GetTexParameterxvOES"
static_dispatch="false" es1="1.1">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="GLfixed *" output="true" variable_param="pname"/>
</function>
<function name="PointParameterx" alias="PointParameterxOES" static_dispatch="false">
<function name="PointParameterx" alias="PointParameterxOES"
static_dispatch="false" es1="1.1">
<param name="pname" type="GLenum"/>
<param name="param" type="GLfixed"/>
</function>
<function name="PointParameterxv" alias="PointParameterxvOES" static_dispatch="false">
<function name="PointParameterxv" alias="PointParameterxvOES"
static_dispatch="false" es1="1.1">
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *"/>
</function>
<function name="TexParameterxv" alias="TexParameterxvOES" static_dispatch="false">
<function name="TexParameterxv" alias="TexParameterxvOES"
static_dispatch="false" es1="1.1">
<param name="target" type="GLenum"/>
<param name="pname" type="GLenum"/>
<param name="params" type="const GLfixed *" variable_param="pname"/>
</function>
<!-- from GL_OES_single_precision -->
<function name="ClipPlanef" alias="ClipPlanefOES" static_dispatch="false">
<function name="ClipPlanef" alias="ClipPlanefOES" static_dispatch="false"
es1="1.1">
<param name="plane" type="GLenum"/>
<param name="equation" type="const GLfloat *" count="4"/>
</function>
<function name="GetClipPlanef" alias="GetClipPlanefOES" static_dispatch="false">
<function name="GetClipPlanef" alias="GetClipPlanefOES"
static_dispatch="false" es1="1.1">
<param name="plane" type="GLenum"/>
<param name="equation" type="GLfloat *" output="true" count="4"/>
</function>