[ES][GL] Maintain compatibility with 1.1.4

This commit is contained in:
thefiddler 2014-09-10 23:29:03 +02:00
parent 51a11092eb
commit 1c76024938
4 changed files with 112 additions and 19 deletions

View file

@ -261,6 +261,7 @@
</Compile> </Compile>
<None Include="Specifications\GL2\GL\4.5\ARB_ES3_1_compatibility.xml" /> <None Include="Specifications\GL2\GL\4.5\ARB_ES3_1_compatibility.xml" />
<None Include="Specifications\GL2\ES\1.1\obsolete.xml" /> <None Include="Specifications\GL2\ES\1.1\obsolete.xml" />
<None Include="Specifications\GL2\GL\4.5\ARB_robustness.xml" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="Specifications\GL2\signatures.xml"> <None Include="Specifications\GL2\signatures.xml">

View file

@ -119,20 +119,20 @@
<function name="NamedRenderbufferStorage"> <function name="NamedRenderbufferStorage">
<param name="internalformat"><type>RenderbufferStorage</type></param> <param name="internalformat"><type>RenderbufferStorage</type></param>
</function> </function>
<function name="NamedRenderbufferStorageMultisample" extension="Ext"> <function name="NamedRenderbufferStorageMultisample">
<param name="internalformat"><type>RenderbufferStorage</type></param> <param name="internalformat"><type>RenderbufferStorage</type></param>
</function> </function>
</replace> </replace>
<!-- Texture object functions --> <!-- Texture object functions -->
<replace name="gl|glcore"> <replace name="gl|glcore">
<function name="CompressedTextureSubImage1D" extension="Core"> <function name="CompressedTextureSubImage1D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
</function> </function>
<function name="CompressedTextureSubImage2D" extension="Core"> <function name="CompressedTextureSubImage2D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
</function> </function>
<function name="CompressedTextureSubImage3D" extension="Core"> <function name="CompressedTextureSubImage3D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
</function> </function>
<function name="CreateTextures"> <function name="CreateTextures">
@ -157,30 +157,30 @@
<function name="TextureParameter"> <function name="TextureParameter">
<param name="pname"><type>TextureParameterName</type></param> <param name="pname"><type>TextureParameterName</type></param>
</function> </function>
<function name="TextureStorage1D" extension="Core"> <function name="TextureStorage1D">
<param name="internalformat"><type>SizedInternalFormat</type></param> <param name="internalformat"><type>SizedInternalFormat</type></param>
</function> </function>
<function name="TextureStorage2D" extension="Core"> <function name="TextureStorage2D">
<param name="internalformat"><type>SizedInternalFormat</type></param> <param name="internalformat"><type>SizedInternalFormat</type></param>
</function> </function>
<function name="TextureStorage3D" extension="Core"> <function name="TextureStorage3D">
<param name="internalformat"><type>SizedInternalFormat</type></param> <param name="internalformat"><type>SizedInternalFormat</type></param>
</function> </function>
<function name="TextureStorage2DMultisample" extension="Core"> <function name="TextureStorage2DMultisample">
<param name="internalformat"><type>SizedInternalFormat</type></param> <param name="internalformat"><type>SizedInternalFormat</type></param>
</function> </function>
<function name="TextureStorage3DMultisample" extension="Core"> <function name="TextureStorage3DMultisample">
<param name="internalformat"><type>SizedInternalFormat</type></param> <param name="internalformat"><type>SizedInternalFormat</type></param>
</function> </function>
<function name="TextureSubImage1D" extension="Core"> <function name="TextureSubImage1D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param> <param name="type"><type>PixelType</type></param>
</function> </function>
<function name="TextureSubImage2D" extension="Core"> <function name="TextureSubImage2D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param> <param name="type"><type>PixelType</type></param>
</function> </function>
<function name="TextureSubImage3D" extension="Core"> <function name="TextureSubImage3D">
<param name="format"><type>PixelFormat</type></param> <param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param> <param name="type"><type>PixelType</type></param>
</function> </function>
@ -208,19 +208,19 @@
<!-- Vertex Array object functions --> <!-- Vertex Array object functions -->
<replace name="gl|glcore"> <replace name="gl|glcore">
<function name="GetVertexArrayiv" extension="Core"> <function name="GetVertexArrayiv">
<param name="pname"><type>VertexArrayParameter</type></param> <param name="pname"><type>VertexArrayParameter</type></param>
</function> </function>
<function name="GetVertexArrayIndexediv" extension="Core"> <function name="GetVertexArrayIndexediv">
<param name="pname"><type>VertexArrayIndexedParameter</type></param> <param name="pname"><type>VertexArrayIndexedParameter</type></param>
</function> </function>
<function name="GetVertexArrayIndexed64iv" extension="Core"> <function name="GetVertexArrayIndexed64iv">
<param name="pname"><type>VertexArrayIndexed64Parameter</type></param> <param name="pname"><type>VertexArrayIndexed64Parameter</type></param>
</function> </function>
<function name="VertexArrayAttribFormat" extension="Core"> <function name="VertexArrayAttribFormat">
<param name="type"><type>VertexAttribType</type></param> <param name="type"><type>VertexAttribType</type></param>
</function> </function>
<function name="VertexArrayAttribIFormat" extension="Core"> <function name="VertexArrayAttribIFormat">
<param name="type"><type>VertexAttribType</type></param> <param name="type"><type>VertexAttribType</type></param>
</function> </function>
@ -259,4 +259,78 @@
</enum> </enum>
</add> </add>
<overload name="gl|glcore">
<function name="ClearNamedBufferData" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="ClearNamedBufferSubData" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
<param name="format"><type>PixelFormat</type></param>
</function>
<function name="ClearNamedBufferSubData" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
<param name="format"><type>int</type></param>
</function>
<function name="GetNamedBufferParameter" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="pname"><type>ExtDirectStateAccess</type></param>
</function>
<function name="GetNamedBufferParameter" extension="NV" obsolete="Use strongly typed overload instead">
<param name="pname"><type>NvShaderBufferLoad</type></param>
</function>
<function name="GetNamedBufferPointer" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="pname"><type>ExtDirectStateAccess</type></param>
</function>
<function name="MapNamedBuffer" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="access"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedBufferData" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="usage"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedBufferStorage" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="flags"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedBufferStorage" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="flags"><type>uint</type></param>
</function>
<function name="NamedFramebufferParameter" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="pname"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedFramebufferParameter" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="pname"><type>FramebufferParameterName</type></param>
</function>
<function name="NamedRenderbufferStorage" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedRenderbufferStorage" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="NamedRenderbufferStorageMultisample" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="NamedRenderbufferStorageMultisample" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="TextureBuffer" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureBufferRange" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureStorage1D" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureStorage2D" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureStorage3D" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureStorage2DMultisample" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
<function name="TextureStorage3DMultisample" extension="Ext" obsolete="Use strongly typed overload instead">
<param name="internalformat"><type>ExtDirectStateAccess</type></param>
</function>
</overload>
</signatures> </signatures>

View file

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<signatures version="2">
<overload name="gl">
<function name="ReadnPixels" extension="Arb" obsolete="Use strongly-typed overload instead">
<param name="format"><type>ArbRobustness</type></param>
<param name="type"><type>ArbRobustness</type></param>
</function>
</overload>
<overload name="glcore">
<function name="ReadnPixels" extension="Arb" obsolete="Use strongly-typed overload instead">
<param name="format"><type>All</type></param>
<param name="type"><type>All</type></param>
</function>
</overload>
</signatures>

View file

@ -1244,7 +1244,7 @@
<param name="depth"><type>ClipDepthMode</type></param> <param name="depth"><type>ClipDepthMode</type></param>
</function> </function>
<function name="GetGraphicsResetStatus"> <function name="GetGraphicsResetStatus" extension="Core">
<returns>ResetStatus</returns> <returns>ResetStatus</returns>
</function> </function>
@ -5519,7 +5519,7 @@
</function> </function>
<!-- KHR_context_robustness --> <!-- KHR_context_robustness -->
<function name="GetGraphicsResetStatus"> <function name="GetGraphicsResetStatus" extension="Core">
<returns>ResetStatus</returns> <returns>ResetStatus</returns>
</function> </function>
<function name="ReadnPixels"> <function name="ReadnPixels">