Generate legacy overloads for GetObjectLabel
This commit is contained in:
parent
bb456e47a8
commit
d9918639fb
6 changed files with 40 additions and 18 deletions
|
@ -1098,6 +1098,7 @@
|
|||
<param name="identifier">
|
||||
<type>ObjectLabelIdentifier</type>
|
||||
</param>
|
||||
<param name="length" legacyArrayParameter="true" />
|
||||
</function>
|
||||
|
||||
<function name="GetProgramInterfaceiv" extension="Core">
|
||||
|
@ -1700,11 +1701,6 @@
|
|||
</param>
|
||||
</function>
|
||||
<!-- For backwards compatibility -->
|
||||
<function name="GetObjectLabel" extension="Core">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetObjectPtrLabel" extension="Core" obsolete="Use out overload instead">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
|
@ -1727,6 +1723,13 @@
|
|||
</function>
|
||||
</overload>
|
||||
|
||||
<!-- For backwards compatibility -->
|
||||
<replace name="gl">
|
||||
<function name="GetObjectLabel" extension="Ext">
|
||||
<param name="length" legacyArrayParameter="true" />
|
||||
</function>
|
||||
</replace>
|
||||
|
||||
<overload name="gl">
|
||||
<!-- generated from apitest -->
|
||||
<function name="TessellationMode" extension="Amd" obsolete="Use AmdVertexShaderTessellator overload instead">
|
||||
|
@ -1864,11 +1867,6 @@
|
|||
<type>BeginMode</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetObjectLabel" extension="Core">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetObjectPtrLabel" extension="Core" obsolete="Use out overload instead">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
|
@ -1999,11 +1997,6 @@
|
|||
<type>ExtDirectStateAccess</type>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetObjectLabel" extension="Ext">
|
||||
<param name="length">
|
||||
<count>0</count>
|
||||
</param>
|
||||
</function>
|
||||
<function name="GetPointerv" extension="Ext" obsolete="Use out overload instead">
|
||||
<param name="params">
|
||||
<count>0</count>
|
||||
|
@ -5568,17 +5561,22 @@
|
|||
</function>
|
||||
<function name="GetObjectLabel">
|
||||
<param name="identifier"><type>ObjectLabelIdentifier</type></param>
|
||||
<param name="length" legacyArrayParameter="true" />
|
||||
</function>
|
||||
<function name="ObjectLabel">
|
||||
<param name="identifier"><type>ObjectLabelIdentifier</type></param>
|
||||
</function>
|
||||
</replace>
|
||||
|
||||
<!-- gles2 replacements for backwards compatibility -->
|
||||
<replace name="gles2">
|
||||
<function name="GetObjectLabel">
|
||||
<param name="length" legacyArrayParameter="true" />
|
||||
</function>
|
||||
</replace>
|
||||
|
||||
<!-- gles2 overloads for backwards compatibility (2.0 and 3.0) -->
|
||||
<overload name="gles2">
|
||||
<function name="GetObjectLabel">
|
||||
<param name="length"><count>0</count></param>
|
||||
</function>
|
||||
<function name="GetObjectPtrLabel" obsolete="Use out overload instead">
|
||||
<param name="length"><count>0</count></param>
|
||||
</function>
|
||||
|
|
|
@ -9433,6 +9433,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -9499,6 +9500,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -23851,6 +23853,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.All type, Int32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -23917,6 +23920,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -34773,6 +34777,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -34839,6 +34844,7 @@ namespace OpenTK.Graphics.ES20
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
|
|
@ -13646,6 +13646,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -13712,6 +13713,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -32246,6 +32248,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.All type, Int32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -32312,6 +32315,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -43172,6 +43176,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -43238,6 +43243,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
|
|
@ -12711,6 +12711,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All identifier, Int32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -12777,6 +12778,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All identifier, UInt32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -31482,6 +31484,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All type, Int32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -31548,6 +31551,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All type, UInt32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -41256,6 +41260,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -41322,6 +41327,7 @@ namespace OpenTK.Graphics.ES31
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.ES31.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
|
|
@ -46322,6 +46322,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -46388,6 +46389,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -90069,6 +90071,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, Int32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -90135,6 +90138,7 @@ namespace OpenTK.Graphics.OpenGL
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "EXT_debug_label", Version = "", EntryPoint = "glGetObjectLabelEXT")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL.ExtDebugLabel type, UInt32 @object, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
|
|
@ -25037,6 +25037,7 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
@ -25103,6 +25104,7 @@ namespace OpenTK.Graphics.OpenGL4
|
|||
/// <param name="label">[length: bufSize]
|
||||
/// The address of a string that will receive the object label.
|
||||
/// </param>
|
||||
[Obsolete("Use out overload instead")]
|
||||
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectLabel")]
|
||||
[CLSCompliant(false)]
|
||||
public static void GetObjectLabel(OpenTK.Graphics.OpenGL4.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); }
|
||||
|
|
Loading…
Reference in a new issue