mapi: expose new functions in GL ES 3.2
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
df2881381a
commit
faae9ab2ee
|
@ -5,7 +5,7 @@
|
|||
|
||||
<category name="GL_ARB_copy_image" number="123">
|
||||
|
||||
<function name="CopyImageSubData">
|
||||
<function name="CopyImageSubData" es2="3.2">
|
||||
<param name="srcName" type="GLuint"/>
|
||||
<param name="srcTarget" type="GLenum"/>
|
||||
<param name="srcLevel" type="GLint"/>
|
||||
|
|
|
@ -51,13 +51,13 @@
|
|||
<param name="params" type="const GLfloat *"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterIiv">
|
||||
<function name="SamplerParameterIiv" es2="3.2">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="SamplerParameterIuiv">
|
||||
<function name="SamplerParameterIuiv" es2="3.2">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLuint *"/>
|
||||
|
@ -75,13 +75,13 @@
|
|||
<param name="params" type="GLfloat *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameterIiv">
|
||||
<function name="GetSamplerParameterIiv" es2="3.2">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetSamplerParameterIuiv">
|
||||
<function name="GetSamplerParameterIuiv" es2="3.2">
|
||||
<param name="sampler" type="GLuint"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLuint *"/>
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<enum value="0x8E8A" name="MAX_TESS_EVALUATION_UNIFORM_BLOCKS"/>
|
||||
<enum value="0x8221" name="PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED"/>
|
||||
|
||||
<function name="PatchParameteri">
|
||||
<function name="PatchParameteri" es2="3.2">
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="value" type="GLint"/>
|
||||
</function>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<enum name="TEXTURE_BUFFER_SIZE" value="0x919E"/>
|
||||
<enum name="TEXTURE_BUFFER_OFFSET_ALIGNMENT" value="0x919F"/>
|
||||
|
||||
<function name="TexBufferRange">
|
||||
<function name="TexBufferRange" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
<param name="buffer" type="GLuint"/>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<param name="fixedsamplelocations" type="GLboolean"/>
|
||||
</function>
|
||||
|
||||
<function name="TexStorage3DMultisample">
|
||||
<function name="TexStorage3DMultisample" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="samples" type="GLsizei"/>
|
||||
<param name="internalformat" type="GLenum"/>
|
||||
|
|
|
@ -156,7 +156,7 @@
|
|||
|
||||
<!-- These functions alias ones form GL_ARB_draw_buffers2 -->
|
||||
|
||||
<function name="ColorMaski">
|
||||
<function name="ColorMaski" es2="3.2">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="r" type="GLboolean"/>
|
||||
<param name="g" type="GLboolean"/>
|
||||
|
@ -176,17 +176,17 @@
|
|||
<param name="data" type="GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="Enablei">
|
||||
<function name="Enablei" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="index" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="Disablei">
|
||||
<function name="Disablei" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="index" type="GLuint"/>
|
||||
</function>
|
||||
|
||||
<function name="IsEnabledi">
|
||||
<function name="IsEnabledi" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="index" type="GLuint"/>
|
||||
<return type="GLboolean"/>
|
||||
|
@ -446,25 +446,25 @@
|
|||
|
||||
<!-- These functions alias ones from GL_EXT_texture_integer -->
|
||||
|
||||
<function name="TexParameterIiv">
|
||||
<function name="TexParameterIiv" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="TexParameterIuiv">
|
||||
<function name="TexParameterIuiv" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="const GLuint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetTexParameterIiv">
|
||||
<function name="GetTexParameterIiv" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLint *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetTexParameterIuiv">
|
||||
<function name="GetTexParameterIuiv" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="pname" type="GLenum"/>
|
||||
<param name="params" type="GLuint *"/>
|
||||
|
@ -555,7 +555,7 @@
|
|||
<param name="primcount" type="GLsizei"/>
|
||||
</function>
|
||||
|
||||
<function name="TexBuffer">
|
||||
<function name="TexBuffer" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="internalFormat" type="GLenum"/>
|
||||
<param name="buffer" type="GLuint"/>
|
||||
|
@ -605,7 +605,7 @@
|
|||
<param name="params" type="GLint64 *"/>
|
||||
</function>
|
||||
|
||||
<function name="FramebufferTexture">
|
||||
<function name="FramebufferTexture" es2="3.2">
|
||||
<param name="target" type="GLenum"/>
|
||||
<param name="attachment" type="GLenum"/>
|
||||
<param name="texture" type="GLuint"/>
|
||||
|
|
|
@ -9,17 +9,17 @@
|
|||
<enum name="SAMPLE_SHADING" value="0x8C36"/>
|
||||
<enum name="MIN_SAMPLE_SHADING_VALUE" value="0x8C37"/>
|
||||
|
||||
<function name="MinSampleShading">
|
||||
<function name="MinSampleShading" es2="3.2">
|
||||
<param name="value" type="GLfloat"/>
|
||||
</function>
|
||||
|
||||
<function name="BlendFunci" alias="BlendFunciARB">
|
||||
<function name="BlendFunci" alias="BlendFunciARB" es2="3.2">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="sfactor" type="GLenum"/>
|
||||
<param name="dfactor" type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="BlendFuncSeparatei" alias="BlendFuncSeparateiARB">
|
||||
<function name="BlendFuncSeparatei" alias="BlendFuncSeparateiARB" es2="3.2">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="sfactorRGB" type="GLenum"/>
|
||||
<param name="dfactorRGB" type="GLenum"/>
|
||||
|
@ -27,12 +27,12 @@
|
|||
<param name="dfactorAlpha" type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="BlendEquationi" alias="BlendEquationiARB">
|
||||
<function name="BlendEquationi" alias="BlendEquationiARB" es2="3.2">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="mode" type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="BlendEquationSeparatei" alias="BlendEquationSeparateiARB" >
|
||||
<function name="BlendEquationSeparatei" alias="BlendEquationSeparateiARB" es2="3.2">
|
||||
<param name="buf" type="GLuint"/>
|
||||
<param name="modeRGB" type="GLenum"/>
|
||||
<param name="modeA" type="GLenum"/>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
<!-- Compatibility Profile -->
|
||||
<enum name="DISPLAY_LIST" value="0x82E7"/>
|
||||
|
||||
<function name="DebugMessageControl">
|
||||
<function name="DebugMessageControl" es2="3.2">
|
||||
<param name="source" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
<param name="severity" type="GLenum"/>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<param name="enabled" type="GLboolean"/>
|
||||
</function>
|
||||
|
||||
<function name="DebugMessageInsert">
|
||||
<function name="DebugMessageInsert" es2="3.2">
|
||||
<param name="source" type="GLenum"/>
|
||||
<param name="type" type="GLenum"/>
|
||||
<param name="id" type="GLuint"/>
|
||||
|
@ -91,12 +91,12 @@
|
|||
<param name="buf" type="const GLchar *"/>
|
||||
</function>
|
||||
|
||||
<function name="DebugMessageCallback">
|
||||
<function name="DebugMessageCallback" es2="3.2">
|
||||
<param name="callback" type="GLDEBUGPROC"/>
|
||||
<param name="userParam" type="const GLvoid *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetDebugMessageLog">
|
||||
<function name="GetDebugMessageLog" es2="3.2">
|
||||
<return type="GLuint"/>
|
||||
<param name="count" type="GLuint"/>
|
||||
<param name="bufsize" type="GLsizei"/>
|
||||
|
@ -108,23 +108,23 @@
|
|||
<param name="messageLog" type="GLchar *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="PushDebugGroup">
|
||||
<function name="PushDebugGroup" es2="3.2">
|
||||
<param name="source" type="GLenum"/>
|
||||
<param name="id" type="GLuint"/>
|
||||
<param name="length" type="GLsizei"/>
|
||||
<param name="message" type="const GLchar *"/>
|
||||
</function>
|
||||
|
||||
<function name="PopDebugGroup" />
|
||||
<function name="PopDebugGroup" es2="3.2" />
|
||||
|
||||
<function name="ObjectLabel">
|
||||
<function name="ObjectLabel" es2="3.2">
|
||||
<param name="identifier" type="GLenum"/>
|
||||
<param name="name" type="GLuint"/>
|
||||
<param name="length" type="GLsizei"/>
|
||||
<param name="label" type="const GLchar *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetObjectLabel">
|
||||
<function name="GetObjectLabel" es2="3.2">
|
||||
<param name="identifier" type="GLenum"/>
|
||||
<param name="name" type="GLuint"/>
|
||||
<param name="bufSize" type="GLsizei"/>
|
||||
|
@ -132,13 +132,13 @@
|
|||
<param name="label" type="GLchar *"/>
|
||||
</function>
|
||||
|
||||
<function name="ObjectPtrLabel">
|
||||
<function name="ObjectPtrLabel" es2="3.2">
|
||||
<param name="ptr" type="const GLvoid *"/>
|
||||
<param name="length" type="GLsizei"/>
|
||||
<param name="label" type="const GLchar *"/>
|
||||
</function>
|
||||
|
||||
<function name="GetObjectPtrLabel">
|
||||
<function name="GetObjectPtrLabel" es2="3.2">
|
||||
<param name="ptr" type="const GLvoid *"/>
|
||||
<param name="bufSize" type="GLsizei"/>
|
||||
<param name="length" type="GLsizei *"/>
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
defines entry points for GL. -->
|
||||
|
||||
<!-- GL definitions -->
|
||||
<function name="GetGraphicsResetStatus" alias="GetGraphicsResetStatusARB">
|
||||
<function name="GetGraphicsResetStatus" es2="3.2" alias="GetGraphicsResetStatusARB">
|
||||
<return type="GLenum"/>
|
||||
</function>
|
||||
|
||||
<function name="ReadnPixels" alias="ReadnPixelsARB">
|
||||
<function name="ReadnPixels" es2="3.2" alias="ReadnPixelsARB">
|
||||
<param name="x" type="GLint"/>
|
||||
<param name="y" type="GLint"/>
|
||||
<param name="width" type="GLsizei"/>
|
||||
|
@ -40,21 +40,21 @@
|
|||
<param name="data" type="GLvoid *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnUniformfv" alias="GetnUniformfvARB">
|
||||
<function name="GetnUniformfv" es2="3.2" alias="GetnUniformfvARB">
|
||||
<param name="program" type="GLuint"/>
|
||||
<param name="location" type="GLint"/>
|
||||
<param name="bufSize" type="GLsizei"/>
|
||||
<param name="params" type="GLfloat *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnUniformiv" alias="GetnUniformivARB">
|
||||
<function name="GetnUniformiv" es2="3.2" alias="GetnUniformivARB">
|
||||
<param name="program" type="GLuint"/>
|
||||
<param name="location" type="GLint"/>
|
||||
<param name="bufSize" type="GLsizei"/>
|
||||
<param name="params" type="GLint *" output="true"/>
|
||||
</function>
|
||||
|
||||
<function name="GetnUniformuiv" alias="GetnUniformuivARB">
|
||||
<function name="GetnUniformuiv" es2="3.2" alias="GetnUniformuivARB">
|
||||
<param name="program" type="GLuint"/>
|
||||
<param name="location" type="GLint"/>
|
||||
<param name="bufSize" type="GLsizei"/>
|
||||
|
|
Loading…
Reference in New Issue