Added overloads for compatibility with svn r3127

Several projects are still using the last svn revision from the
sourceforge repository (r3127). These overloads provide an upgrade path
from r3127 to OpenTK 1.1.
This commit is contained in:
Stefanos A 2013-12-16 01:55:05 +01:00
parent 6e110cb820
commit 39a216f1ac
3 changed files with 1845 additions and 11 deletions

View file

@ -2157,6 +2157,93 @@
<type>uint</type> <type>uint</type>
</param> </param>
</function> </function>
<!-- generated from apitest against svn r3127 -->
<function name="BlendEquation" extension="Arb" obsolete="Use BlendEquationMode overload instead">
<param name="mode" index="1">
<type>ArbDrawBuffersBlend</type>
</param>
</function>
<function name="BlendEquation" extension="Core" obsolete="Use ArbDrawBuffersBlend overload instead">
<param name="mode" index="1">
<type>Version40</type>
</param>
</function>
<function name="BlendFunc" extension="Core" obsolete="Use ArbDrawBuffersBlend overload instead">
<param name="dfactor" index="1">
<type>Version40</type>
</param>
<param name="dst" index="2">
<type>Version40</type>
</param>
</function>
<function name="DrawArraysIndirect" extension="Core" obsolete="Use PrimitiveType overload instead">
<param name="mode" index="0">
<type>ArbDrawIndirect</type>
</param>
</function>
<function name="DrawElementsIndirect" extension="Core" obsolete="Use PrimitiveType overload instead">
<param name="mode" index="0">
<type>ArbDrawIndirect</type>
</param>
<param name="type" index="1">
<type>ArbDrawIndirect</type>
</param>
</function>
<function name="DrawTransformFeedback" extension="Core" obsolete="Use PrimitiveType overload instead">
<param name="mode" index="0">
<type>BeginMode</type>
</param>
</function>
<function name="DrawTransformFeedbackStream" extension="Core" obsolete="Use PrimitiveType overload instead">
<param name="mode" index="0">
<type>BeginMode</type>
</param>
</function>
<function name="GetSamplerParameter" extension="Core" obsolete="Use SamplerParameterName overload instead">
<param name="pname" index="1">
<type>SamplerParameter</type>
</param>
</function>
<function name="GetSamplerParameterI" extension="Core" obsolete="Use All overload instead">
<param name="pname" index="1">
<type>ArbSamplerObjects</type>
</param>
</function>
<function name="ProgramParameter" extension="Core" obsolete="Use ProgramParameterName overload instead">
<param name="pname" index="1">
<type>AssemblyProgramParameterArb</type>
</param>
</function>
<function name="SamplerParameter" extension="Core" obsolete="Use SamplerParameterName overload instead">
<param name="pname" index="1">
<type>SamplerParameter</type>
</param>
</function>
<function name="SamplerParameterI" extension="Core" obsolete="Use SamplerParameterName overload instead">
<param name="pname" index="1">
<type>ArbSamplerObjects</type>
</param>
</function>
<function name="StencilFuncSeparate" extension="Core" obsolete="Use StencilFace overload instead">
<param name="face" index="0">
<type>Version20</type>
</param>
</function>
<function name="VertexAttribLPointer" extension="Core" obsolete="Use VertexAttribDoubleType overload instead">
<param name="type" index="2">
<type>VertexAttribDPointerType</type>
</param>
</function>
<function name="VertexArrayVertexAttribLOffset" extension="Ext" obsolete="Use ExtDirectStateAccess overload instead">
<param name="type" index="4">
<type>ExtVertexAttrib64bit</type>
</param>
</function>
<function name="GetVertexAttrib" extension="NV" obsolete="Use NvVertexProgram overload instead">
<param name="pname" index="1">
<type>NvVertexAttribInteger64bit</type>
</param>
</function>
<!-- added manually --> <!-- added manually -->
<function name="BlendFunc" extension="Core" obsolete="Use BlendingFactorSrc overload instead"> <function name="BlendFunc" extension="Core" obsolete="Use BlendingFactorSrc overload instead">
@ -2181,6 +2268,20 @@
<type>ArbDrawBuffersBlend</type> <type>ArbDrawBuffersBlend</type>
</param> </param>
</function> </function>
<function name="BlendFuncSeparatei" extension="Core" obsolete="Use BlendingFactorSrc overload instead">
<param name="srcRGB">
<type>Version40</type>
</param>
<param name="dstRGB">
<type>Version40</type>
</param>
<param name="srcAlpha">
<type>Version40</type>
</param>
<param name="dstAlpha">
<type>Version40</type>
</param>
</function>
<function name="BlendFuncSeparatei" extension="Core" obsolete="Use BlendingFactorSrc overload instead"> <function name="BlendFuncSeparatei" extension="Core" obsolete="Use BlendingFactorSrc overload instead">
<param name="dstRGB"> <param name="dstRGB">
<type>ArbDrawBuffersBlend</type> <type>ArbDrawBuffersBlend</type>
@ -2203,6 +2304,14 @@
<type>uint</type> <type>uint</type>
</param> </param>
</function> </function>
<function name="FenceSync" extension="Core" obsolete="Use uint overload instead">
<param name="condition">
<type>ArbSync</type>
</param>
<param name="flags">
<type>int</type>
</param>
</function>
<function name="GetInteger64i_v" extension="Core" obsolete="Use GetIndexedPName overload instead"> <function name="GetInteger64i_v" extension="Core" obsolete="Use GetIndexedPName overload instead">
<param name="target"> <param name="target">
<type>Version32</type> <type>Version32</type>

File diff suppressed because it is too large Load diff

View file

@ -20916,7 +20916,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Used in GL.Arb.BlendEquationSeparate, GL.Arb.BlendFunc and 4 other functions /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 5 other functions
/// </summary> /// </summary>
public enum ArbDrawBuffersBlend : int public enum ArbDrawBuffersBlend : int
{ {
@ -20930,7 +20930,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.DrawArraysIndirect, GL.DrawElementsIndirect
/// </summary> /// </summary>
public enum ArbDrawIndirect : int public enum ArbDrawIndirect : int
{ {
@ -23601,7 +23601,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.GetSamplerParameterI, GL.SamplerParameterI
/// </summary> /// </summary>
public enum ArbSamplerObjects : int public enum ArbSamplerObjects : int
{ {
@ -26825,7 +26825,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Used in GL.Arb.GetProgram, GL.Arb.GetProgramString and 4 other functions /// Used in GL.Arb.GetProgram, GL.Arb.GetProgramString and 5 other functions
/// </summary> /// </summary>
public enum AssemblyProgramParameterArb : int public enum AssemblyProgramParameterArb : int
{ {
@ -28064,7 +28064,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray and 25 other functions /// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray and 27 other functions
/// </summary> /// </summary>
public enum BeginMode : int public enum BeginMode : int
{ {
@ -33913,7 +33913,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Used in GL.Ext.GetVertexAttribL, GL.Ext.VertexAttribLPointer /// Used in GL.Ext.GetVertexAttribL, GL.Ext.VertexArrayVertexAttribLOffset and 1 other function
/// </summary> /// </summary>
public enum ExtVertexAttrib64bit : int public enum ExtVertexAttrib64bit : int
{ {
@ -44521,7 +44521,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Used in GL.NV.GetVertexAttribL, GL.NV.VertexAttribLFormat /// Used in GL.NV.GetVertexAttrib, GL.NV.GetVertexAttribL and 1 other function
/// </summary> /// </summary>
public enum NvVertexAttribInteger64bit : int public enum NvVertexAttribInteger64bit : int
{ {
@ -48553,7 +48553,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.GetSamplerParameter, GL.SamplerParameter
/// </summary> /// </summary>
public enum SamplerParameter : int public enum SamplerParameter : int
{ {
@ -55403,7 +55403,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.StencilFuncSeparate
/// </summary> /// </summary>
public enum Version20 : int public enum Version20 : int
{ {
@ -57309,7 +57309,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.BlendEquation, GL.BlendFunc and 1 other function
/// </summary> /// </summary>
public enum Version40 : int public enum Version40 : int
{ {
@ -59379,7 +59379,7 @@ namespace OpenTK.Graphics.OpenGL
} }
/// <summary> /// <summary>
/// Not used directly. /// Used in GL.VertexAttribLPointer
/// </summary> /// </summary>
public enum VertexAttribDPointerType : int public enum VertexAttribDPointerType : int
{ {