From 74822fb42f7b3b0ae9b23cdf94016f252ef805e1 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Wed, 4 Oct 2017 20:00:53 +0100 Subject: [PATCH 01/15] Removing some dead code in Bind This change doesn't effect the output of Bind. --- src/Generator.Bind/XmlSpecReader.cs | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/src/Generator.Bind/XmlSpecReader.cs b/src/Generator.Bind/XmlSpecReader.cs index 67e72648..7907dfe3 100644 --- a/src/Generator.Bind/XmlSpecReader.cs +++ b/src/Generator.Bind/XmlSpecReader.cs @@ -304,21 +304,14 @@ namespace Bind p.CurrentType = param.GetAttribute("type", String.Empty).Trim(); p.Name = param.GetAttribute("name", String.Empty).Trim(); - string element_count = param.GetAttribute("elementcount", String.Empty).Trim(); - if (String.IsNullOrEmpty(element_count)) + p.ComputeSize = param.GetAttribute("count", String.Empty).Trim(); + + int elementCount; + if (Int32.TryParse(p.ComputeSize, out elementCount)) { - element_count = param.GetAttribute("count", String.Empty).Trim(); - if (!String.IsNullOrEmpty(element_count)) - { - int count; - if (Int32.TryParse(element_count, out count)) - { - p.ElementCount = count; - } - } + p.ElementCount = elementCount; } - p.ComputeSize = param.GetAttribute("count", String.Empty).Trim(); p.Flow = Parameter.GetFlowDirection(param.GetAttribute("flow", String.Empty).Trim()); d.Parameters.Add(p); From 6bd1f0e6034b894e18990c225890ba3cece1fc91 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Wed, 4 Oct 2017 22:26:49 +0100 Subject: [PATCH 02/15] Remove ShaderSource override that had no effect --- src/Generator.Bind/Specifications/GL2/overrides.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index f643204e..ae25fb0f 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -228,12 +228,6 @@ - - - 0 - - - ActiveAttribType From ffa26fb20447fc246b877f274e42b552cc8c02b1 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 12:33:19 +0100 Subject: [PATCH 03/15] Add feature to Bind to generate legacy array overloads --- src/Generator.Bind/FuncProcessor.cs | 27 +++++++++++++++++++++++++++ src/Generator.Bind/Utilities.cs | 4 ++++ 2 files changed, 31 insertions(+) diff --git a/src/Generator.Bind/FuncProcessor.cs b/src/Generator.Bind/FuncProcessor.cs index 213f8f65..7755f40e 100644 --- a/src/Generator.Bind/FuncProcessor.cs +++ b/src/Generator.Bind/FuncProcessor.cs @@ -648,6 +648,22 @@ namespace Bind { d.Parameters[i].WrapperType |= WrapperTypes.UncheckedParameter; } + + if (function_override != null) + { + XPathNavigator param_override = function_override.SelectSingleNode(String.Format( + "param[@name='{0}' or @index='{1}']", + d.Parameters[i].RawName, + i)); + if (param_override != null) + { + var legacyArrayParameter = param_override.GetAttribute("legacyArrayParameter", String.Empty); + if (!String.IsNullOrEmpty(legacyArrayParameter)) + { + d.Parameters[i].WrapperType |= WrapperTypes.LegacyArrayParameter; + } + } + } } } @@ -1097,6 +1113,17 @@ namespace Bind // Generics are handled in a second pass. if ((parameter.WrapperType & WrapperTypes.GenericParameter) == 0) { + if ((parameter.WrapperType & WrapperTypes.LegacyArrayParameter) != 0) + { + foreach (var wrapper in GetWrapper(wrappers, WrapperTypes.LegacyArrayParameter, func)) + { + wrapper.Obsolete = "Use out overload instead"; + var p = wrapper.Parameters[i]; + p.Array++; + p.Pointer--; + } + } + if ((parameter.WrapperType & WrapperTypes.ArrayParameter) != 0) { foreach (var wrapper in GetWrapper(wrappers, WrapperTypes.ArrayParameter, func)) diff --git a/src/Generator.Bind/Utilities.cs b/src/Generator.Bind/Utilities.cs index 188e2a75..2d55f4ff 100644 --- a/src/Generator.Bind/Utilities.cs +++ b/src/Generator.Bind/Utilities.cs @@ -94,6 +94,10 @@ namespace Bind /// Add an int32 overload for convenience. /// SizeParameter = 1 << 14, + /// + /// Function takes a ref but we emit a legacy array overload to maintain backwards compatability. + /// + LegacyArrayParameter = 1 << 15, } internal static class Utilities From bb456e47a876b4321a348ee1d764439da4f97608 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 12:37:02 +0100 Subject: [PATCH 04/15] Generate legacy overloads for EdgeFlagv --- src/Generator.Bind/Specifications/GL2/overrides.xml | 9 ++++----- src/OpenTK/Graphics/OpenGL/GL.cs | 3 +-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index ae25fb0f..391a95d1 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1686,6 +1686,10 @@ + + + + @@ -1860,11 +1864,6 @@ BeginMode - - - 0 - - 0 diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index f7df5c78..493be532 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -39011,7 +39011,7 @@ namespace OpenTK.Graphics.OpenGL /// [length: 1] /// Specifies the current edge flag value, either True or False. The initial value is True. /// - [Obsolete("Use ref overload instead")] + [Obsolete("Use out overload instead")] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] [CLSCompliant(false)] public static void EdgeFlag([CountAttribute(Count = 1)] bool[] flag) { throw new BindingsNotRewrittenException(); } @@ -39022,7 +39022,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: 1] /// Specifies the current edge flag value, either True or False. The initial value is True. /// - [Obsolete("Use ref overload instead")] [AutoGenerated(Category = "VERSION_1_0", Version = "1.0", EntryPoint = "glEdgeFlagv")] [CLSCompliant(false)] public static unsafe void EdgeFlag([CountAttribute(Count = 1)] bool* flag) { throw new BindingsNotRewrittenException(); } From d9918639fbcadc462c7feb0362ca0e4e1deab101 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 12:33:07 +0100 Subject: [PATCH 05/15] Generate legacy overloads for GetObjectLabel --- .../Specifications/GL2/overrides.xml | 34 +++++++++---------- src/OpenTK/Graphics/ES20/ES20.cs | 6 ++++ src/OpenTK/Graphics/ES30/ES30.cs | 6 ++++ src/OpenTK/Graphics/ES31/ES31.cs | 6 ++++ src/OpenTK/Graphics/OpenGL/GL.cs | 4 +++ src/OpenTK/Graphics/OpenGL4/GL4.cs | 2 ++ 6 files changed, 40 insertions(+), 18 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 391a95d1..16be7ea6 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1098,6 +1098,7 @@ ObjectLabelIdentifier + @@ -1700,11 +1701,6 @@ - - - 0 - - 0 @@ -1727,6 +1723,13 @@ + + + + + + + @@ -1864,11 +1867,6 @@ BeginMode - - - 0 - - 0 @@ -1999,11 +1997,6 @@ ExtDirectStateAccess - - - 0 - - 0 @@ -5568,17 +5561,22 @@ ObjectLabelIdentifier + ObjectLabelIdentifier - - + + - 0 + + + + + 0 diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 42f19f9e..fdfdc0b1 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -9433,6 +9433,7 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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(); } diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index 38bffb7b..35f3d788 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -13646,6 +13646,7 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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(); } diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index 58ecd11d..b8ee751c 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -12711,6 +12711,7 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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(); } diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index 493be532..7a8ae9ca 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -46322,6 +46322,7 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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(); } diff --git a/src/OpenTK/Graphics/OpenGL4/GL4.cs b/src/OpenTK/Graphics/OpenGL4/GL4.cs index 1dfba67d..34a6f66f 100644 --- a/src/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/src/OpenTK/Graphics/OpenGL4/GL4.cs @@ -25037,6 +25037,7 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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 /// [length: bufSize] /// The address of a string that will receive the object label. /// + [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(); } From e222486004a53222cf88259a73f504d984f10006 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 13:31:04 +0100 Subject: [PATCH 06/15] Generate legacy overloads for GetObjectPtrLabel --- .../Specifications/GL2/overrides.xml | 39 ++++++++----------- src/OpenTK/Graphics/ES20/ES20.cs | 20 ---------- src/OpenTK/Graphics/ES30/ES30.cs | 20 ---------- src/OpenTK/Graphics/ES31/ES31.cs | 20 ---------- src/OpenTK/Graphics/OpenGL/GL.cs | 20 ---------- src/OpenTK/Graphics/OpenGL4/GL4.cs | 20 ---------- 6 files changed, 16 insertions(+), 123 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 16be7ea6..6ef1a428 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1691,6 +1691,12 @@ + + + + + + @@ -1701,11 +1707,6 @@ - - - 0 - - 0 @@ -1716,11 +1717,6 @@ 0 - - - 0 - - @@ -1728,6 +1724,12 @@ + + + + + + @@ -1867,11 +1869,7 @@ BeginMode - - - 0 - - + 0 @@ -2057,11 +2055,6 @@ IbmVertexArrayLists - - - 0 - - 0 @@ -5573,13 +5566,13 @@ + + + - - 0 - 0 diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index fdfdc0b1..800fffe1 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -9584,7 +9584,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -9604,7 +9603,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -9646,7 +9644,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9668,7 +9665,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9712,7 +9708,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9734,7 +9729,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9778,7 +9772,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9800,7 +9793,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9844,7 +9836,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -9866,7 +9857,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -34928,7 +34918,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -34948,7 +34937,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -34990,7 +34978,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35012,7 +34999,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35056,7 +35042,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35078,7 +35063,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35122,7 +35106,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35144,7 +35127,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35188,7 +35170,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -35210,7 +35191,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index 35f3d788..7c5ecb38 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -13797,7 +13797,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -13817,7 +13816,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -13859,7 +13857,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13881,7 +13878,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13925,7 +13921,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13947,7 +13942,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13991,7 +13985,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -14013,7 +14006,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -14057,7 +14049,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -14079,7 +14070,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43327,7 +43317,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -43347,7 +43336,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -43389,7 +43377,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43411,7 +43398,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43455,7 +43441,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43477,7 +43462,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43521,7 +43505,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43543,7 +43526,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43587,7 +43569,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -43609,7 +43590,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index b8ee751c..a7b5b913 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -12862,7 +12862,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -12882,7 +12881,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -12924,7 +12922,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -12946,7 +12943,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -12990,7 +12986,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13012,7 +13007,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13056,7 +13050,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13078,7 +13071,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13122,7 +13114,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -13144,7 +13135,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41411,7 +41401,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -41431,7 +41420,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -41473,7 +41461,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41495,7 +41482,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41539,7 +41525,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41561,7 +41546,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41605,7 +41589,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41627,7 +41610,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41671,7 +41653,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -41693,7 +41674,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index 7a8ae9ca..0e45f4f1 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -46473,7 +46473,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -46493,7 +46492,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -46535,7 +46533,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46557,7 +46554,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46601,7 +46597,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46623,7 +46618,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46667,7 +46661,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46689,7 +46682,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46733,7 +46725,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -46755,7 +46746,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -111827,7 +111817,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -111847,7 +111836,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -111889,7 +111877,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -111911,7 +111898,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -111955,7 +111941,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -111977,7 +111962,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -112021,7 +112005,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -112043,7 +112026,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -112087,7 +112069,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -112109,7 +112090,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) diff --git a/src/OpenTK/Graphics/OpenGL4/GL4.cs b/src/OpenTK/Graphics/OpenGL4/GL4.cs index 34a6f66f..f168cb73 100644 --- a/src/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/src/OpenTK/Graphics/OpenGL4/GL4.cs @@ -25188,7 +25188,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -25208,7 +25207,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -25250,7 +25248,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25272,7 +25269,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25316,7 +25312,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25338,7 +25333,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25382,7 +25376,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25404,7 +25397,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25448,7 +25440,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -25470,7 +25461,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetObjectPtrLabel")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64720,7 +64710,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -64740,7 +64729,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) { throw new BindingsNotRewrittenException(); } @@ -64782,7 +64770,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64804,7 +64791,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64848,7 +64834,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64870,7 +64855,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64914,7 +64898,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64936,7 +64919,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] T0[,,] ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -64980,7 +64962,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) @@ -65002,7 +64983,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a string that will receive the object label. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectPtrLabelKHR")] [CLSCompliant(false)] public static unsafe void GetObjectPtrLabel([InAttribute, OutAttribute] ref T0 ptr, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String label) From 7c85f82074adf2f22982df61f8c6469dcd07bc62 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 13:41:25 +0100 Subject: [PATCH 07/15] Generate legacy overloads for VertexAttrib1fv --- .../Specifications/GL2/overrides.xml | 15 ++++++++------- src/OpenTK/Graphics/ES20/ES20.cs | 2 ++ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 6ef1a428..87dbbc33 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -5600,6 +5600,14 @@ + + + + + + + + @@ -5658,13 +5666,6 @@ PixelFormat - - - - 0 - - - diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 800fffe1..84d001d5 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -17061,6 +17061,7 @@ namespace OpenTK.Graphics.ES20 /// [length: 1] /// Specifies the new values to be used for the specified vertex attribute. /// + [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] [CLSCompliant(false)] public static void VertexAttrib1(Int32 index, [CountAttribute(Count = 1)] Single[] v) { throw new BindingsNotRewrittenException(); } @@ -17087,6 +17088,7 @@ namespace OpenTK.Graphics.ES20 /// [length: 1] /// Specifies the new values to be used for the specified vertex attribute. /// + [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ES_VERSION_2_0", Version = "2.0", EntryPoint = "glVertexAttrib1fv")] [CLSCompliant(false)] public static void VertexAttrib1(UInt32 index, [CountAttribute(Count = 1)] Single[] v) { throw new BindingsNotRewrittenException(); } From 1485a6b32202796c477ff9ecdeed83829e8fcfd6 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 14:51:48 +0100 Subject: [PATCH 08/15] Remove unused GetPointerv overloads --- .../Specifications/GL2/overrides.xml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 87dbbc33..48efbbc5 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1870,11 +1870,6 @@ - - - 0 - - ProgramParameter @@ -1995,11 +1990,6 @@ ExtDirectStateAccess - - - 0 - - 0 @@ -2055,11 +2045,6 @@ IbmVertexArrayLists - - - 0 - - NvTransformFeedback2 From 7644d0c94aee8eea71bd24f53631cc8b8ee09700 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 14:58:19 +0100 Subject: [PATCH 09/15] Generate legacy overloads for GetProgramPipelineInfoLog --- .../Specifications/GL2/overrides.xml | 22 ++++++++----------- src/OpenTK/Graphics/ES20/ES20.cs | 4 ---- src/OpenTK/Graphics/ES30/ES30.cs | 4 ---- src/OpenTK/Graphics/ES31/ES31.cs | 4 ---- src/OpenTK/Graphics/OpenGL/GL.cs | 8 ------- 5 files changed, 9 insertions(+), 33 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 48efbbc5..913f69ff 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1730,6 +1730,12 @@ + + + + + + @@ -1875,11 +1881,6 @@ ProgramParameter - - - 0 - - 0 @@ -1990,11 +1991,6 @@ ExtDirectStateAccess - - - 0 - - ExtDrawBuffers2 @@ -5554,6 +5550,9 @@ + + + @@ -5561,9 +5560,6 @@ 0 - - 0 - 0 0 diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 84d001d5..2bfaeb04 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -23996,7 +23996,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -24016,7 +24015,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -24056,7 +24054,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -24076,7 +24073,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index 7c5ecb38..aa9bccd9 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -32389,7 +32389,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -32409,7 +32408,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -32449,7 +32447,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -32469,7 +32466,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index a7b5b913..2b82ea54 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -31625,7 +31625,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -31645,7 +31644,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -31685,7 +31683,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -31705,7 +31702,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index 0e45f4f1..6d05a44e 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -47984,7 +47984,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -48004,7 +48003,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -48044,7 +48042,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -48064,7 +48061,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_separate_shader_objects|VERSION_4_1", Version = "4.1", EntryPoint = "glGetProgramPipelineInfoLog")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -90493,7 +90489,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -90513,7 +90508,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(Int32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -90553,7 +90547,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } @@ -90573,7 +90566,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// Specifies the address of an array of characters into which will be written the info log for pipeline. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "EXT_separate_shader_objects", Version = "", EntryPoint = "glGetProgramPipelineInfoLogEXT")] [CLSCompliant(false)] public static unsafe void GetProgramPipelineInfoLog(UInt32 pipeline, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String infoLog) { throw new BindingsNotRewrittenException(); } From 168462b4ca0879a157c40382c68fa5159d9edf1c Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:06:10 +0100 Subject: [PATCH 10/15] Generate legacy overloads for QCOM_extended_get --- .../Specifications/GL2/overrides.xml | 62 +++++----- src/OpenTK/Graphics/ES11/ES11.cs | 112 +++++++----------- src/OpenTK/Graphics/ES20/ES20.cs | 112 +++++++----------- src/OpenTK/Graphics/ES30/ES30.cs | 112 +++++++----------- src/OpenTK/Graphics/ES31/ES31.cs | 112 +++++++----------- 5 files changed, 216 insertions(+), 294 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 913f69ff..a8629e6f 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -4959,21 +4959,6 @@ BeginMode - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - @@ -4981,6 +4966,23 @@ in + + + + + + + + + + + + + + + + + @@ -5553,6 +5555,21 @@ + + + + + + + + + + + + + + + @@ -5564,21 +5581,6 @@ 0 0 - - 0 - - - 0 - - - 0 - - - 0 - - - 0 - diff --git a/src/OpenTK/Graphics/ES11/ES11.cs b/src/OpenTK/Graphics/ES11/ES11.cs index e8b961b5..36c8e8f4 100644 --- a/src/OpenTK/Graphics/ES11/ES11.cs +++ b/src/OpenTK/Graphics/ES11/ES11.cs @@ -14407,15 +14407,6 @@ namespace OpenTK.Graphics.ES11 where T1 : struct { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxBuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// @@ -14428,7 +14419,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out Int32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -14440,16 +14430,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] @@ -14463,7 +14452,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out UInt32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -14475,16 +14463,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] - /// [length: maxFramebuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + /// [length: maxBuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -14498,7 +14485,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -14510,16 +14496,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -14533,7 +14518,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -14545,6 +14529,14 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get] + /// [length: maxFramebuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] @@ -14601,15 +14593,6 @@ namespace OpenTK.Graphics.ES11 [CLSCompliant(false)] public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES11.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxPrograms] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// @@ -14622,7 +14605,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out Int32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -14634,16 +14616,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] @@ -14657,7 +14638,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out UInt32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -14669,16 +14649,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxRenderbuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] + /// [requires: QCOM_extended_get2] + /// [length: maxPrograms] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -14692,7 +14671,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -14704,16 +14682,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -14727,7 +14704,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -14739,16 +14715,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxShaders] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + /// [requires: QCOM_extended_get] + /// [length: maxRenderbuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -14762,7 +14737,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out Int32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -14774,16 +14748,15 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -14797,7 +14770,6 @@ namespace OpenTK.Graphics.ES11 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out UInt32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -14809,6 +14781,14 @@ namespace OpenTK.Graphics.ES11 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get2] + /// [length: maxShaders] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 2bfaeb04..b23fa81e 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -52735,15 +52735,6 @@ namespace OpenTK.Graphics.ES20 where T1 : struct { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxBuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// @@ -52756,7 +52747,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out Int32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -52768,16 +52758,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] @@ -52791,7 +52780,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out UInt32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -52803,16 +52791,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] - /// [length: maxFramebuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + /// [length: maxBuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -52826,7 +52813,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -52838,16 +52824,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -52861,7 +52846,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -52873,6 +52857,14 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get] + /// [length: maxFramebuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] @@ -52929,15 +52921,6 @@ namespace OpenTK.Graphics.ES20 [CLSCompliant(false)] public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES20.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxPrograms] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// @@ -52950,7 +52933,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out Int32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -52962,16 +52944,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] @@ -52985,7 +52966,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out UInt32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -52997,16 +52977,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxRenderbuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] + /// [requires: QCOM_extended_get2] + /// [length: maxPrograms] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -53020,7 +52999,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -53032,16 +53010,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -53055,7 +53032,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -53067,16 +53043,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxShaders] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + /// [requires: QCOM_extended_get] + /// [length: maxRenderbuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -53090,7 +53065,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out Int32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -53102,16 +53076,15 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -53125,7 +53098,6 @@ namespace OpenTK.Graphics.ES20 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out UInt32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -53137,6 +53109,14 @@ namespace OpenTK.Graphics.ES20 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get2] + /// [length: maxShaders] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index aa9bccd9..483f513c 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -60748,15 +60748,6 @@ namespace OpenTK.Graphics.ES30 where T1 : struct { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxBuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// @@ -60769,7 +60760,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out Int32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -60781,16 +60771,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] @@ -60804,7 +60793,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out UInt32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -60816,16 +60804,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] - /// [length: maxFramebuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + /// [length: maxBuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -60839,7 +60826,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -60851,16 +60837,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -60874,7 +60859,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -60886,6 +60870,14 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get] + /// [length: maxFramebuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] @@ -60942,15 +60934,6 @@ namespace OpenTK.Graphics.ES30 [CLSCompliant(false)] public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES30.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxPrograms] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// @@ -60963,7 +60946,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out Int32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -60975,16 +60957,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] @@ -60998,7 +60979,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out UInt32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -61010,16 +60990,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxRenderbuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] + /// [requires: QCOM_extended_get2] + /// [length: maxPrograms] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -61033,7 +61012,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -61045,16 +61023,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -61068,7 +61045,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -61080,16 +61056,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxShaders] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + /// [requires: QCOM_extended_get] + /// [length: maxRenderbuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -61103,7 +61078,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out Int32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -61115,16 +61089,15 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -61138,7 +61111,6 @@ namespace OpenTK.Graphics.ES30 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out UInt32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -61150,6 +61122,14 @@ namespace OpenTK.Graphics.ES30 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get2] + /// [length: maxShaders] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index 2b82ea54..f515ffd8 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -57733,15 +57733,6 @@ namespace OpenTK.Graphics.ES31 where T1 : struct { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxBuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] - [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// @@ -57754,7 +57745,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out Int32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -57766,16 +57756,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32[] buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] Int32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxBuffers] @@ -57789,7 +57778,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxBuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] public static void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] out UInt32 buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numBuffers) { throw new BindingsNotRewrittenException(); } @@ -57801,16 +57789,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] - /// [length: maxFramebuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + /// [length: maxBuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetBuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetBuffers([OutAttribute, CountAttribute(Parameter = "maxBuffers")] UInt32* buffers, Int32 maxBuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numBuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -57824,7 +57811,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out Int32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -57836,16 +57822,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32[] framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] Int32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxFramebuffers] @@ -57859,7 +57844,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxFramebuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] public static void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] out UInt32 framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numFramebuffers) { throw new BindingsNotRewrittenException(); } @@ -57871,6 +57855,14 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numFramebuffers) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get] + /// [length: maxFramebuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetFramebuffersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetFramebuffers([OutAttribute, CountAttribute(Parameter = "maxFramebuffers")] UInt32* framebuffers, Int32 maxFramebuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numFramebuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] @@ -57927,15 +57919,6 @@ namespace OpenTK.Graphics.ES31 [CLSCompliant(false)] public static unsafe void ExtGetProgramBinarySource(UInt32 program, OpenTK.Graphics.ES31.All shadertype, [OutAttribute] out String source, [OutAttribute] Int32* length) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxPrograms] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] - [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// @@ -57948,7 +57931,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out Int32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -57960,16 +57942,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32[] programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] Int32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxPrograms] @@ -57983,7 +57964,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxPrograms] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] public static void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] out UInt32 programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] out Int32 numPrograms) { throw new BindingsNotRewrittenException(); } @@ -57995,16 +57975,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32[] numPrograms) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get] - /// [length: maxRenderbuffers] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] + /// [requires: QCOM_extended_get2] + /// [length: maxPrograms] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetProgramsQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetProgram([OutAttribute, CountAttribute(Parameter = "maxPrograms")] UInt32* programs, Int32 maxPrograms, [OutAttribute, CountAttribute(Count = 1)] Int32* numPrograms) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -58018,7 +57997,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out Int32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -58030,16 +58008,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32[] renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] Int32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] /// [length: maxRenderbuffers] @@ -58053,7 +58030,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxRenderbuffers] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] public static void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] out UInt32 renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] out Int32 numRenderbuffers) { throw new BindingsNotRewrittenException(); } @@ -58065,16 +58041,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32[] numRenderbuffers) { throw new BindingsNotRewrittenException(); } - /// [requires: QCOM_extended_get2] - /// [length: maxShaders] - /// - /// [length: 1] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + /// [requires: QCOM_extended_get] + /// [length: maxRenderbuffers] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get", Version = "", EntryPoint = "glExtGetRenderbuffersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetRenderbuffers([OutAttribute, CountAttribute(Parameter = "maxRenderbuffers")] UInt32* renderbuffers, Int32 maxRenderbuffers, [OutAttribute, CountAttribute(Count = 1)] Int32* numRenderbuffers) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -58088,7 +58063,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out Int32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -58100,16 +58074,15 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] - public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32[] shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] Int32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get2] /// [length: maxShaders] @@ -58123,7 +58096,6 @@ namespace OpenTK.Graphics.ES31 /// [length: maxShaders] /// /// [length: 1] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] public static void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] out UInt32 shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] out Int32 numShaders) { throw new BindingsNotRewrittenException(); } @@ -58135,6 +58107,14 @@ namespace OpenTK.Graphics.ES31 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] [CLSCompliant(false)] + public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32[] numShaders) { throw new BindingsNotRewrittenException(); } + + /// [requires: QCOM_extended_get2] + /// [length: maxShaders] + /// + /// [length: 1] + [AutoGenerated(Category = "QCOM_extended_get2", Version = "", EntryPoint = "glExtGetShadersQCOM")] + [CLSCompliant(false)] public static unsafe void ExtGetShaders([OutAttribute, CountAttribute(Parameter = "maxShaders")] UInt32* shaders, Int32 maxShaders, [OutAttribute, CountAttribute(Count = 1)] Int32* numShaders) { throw new BindingsNotRewrittenException(); } /// [requires: QCOM_extended_get] From c2bd45f6768caf6763d6cc401a285a4676988f6c Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:17:59 +0100 Subject: [PATCH 11/15] Generate legacy overloads for GetTranslatedShaderSource --- src/Generator.Bind/Generator.Bind.csproj | 4 +++- src/Generator.Bind/Specifications/GL2/overrides.xml | 6 +++--- src/OpenTK/Graphics/ES20/ES20.cs | 4 ---- src/OpenTK/Graphics/ES30/ES30.cs | 4 ---- src/OpenTK/Graphics/ES31/ES31.cs | 4 ---- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/src/Generator.Bind/Generator.Bind.csproj b/src/Generator.Bind/Generator.Bind.csproj index 96fd937c..8c937e98 100644 --- a/src/Generator.Bind/Generator.Bind.csproj +++ b/src/Generator.Bind/Generator.Bind.csproj @@ -214,7 +214,9 @@ - + + Designer + diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index a8629e6f..9222946e 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -5555,6 +5555,9 @@ + + + @@ -5574,9 +5577,6 @@ - - 0 - 0 0 diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index b23fa81e..669968b5 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -2230,7 +2230,6 @@ namespace OpenTK.Graphics.ES20 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2240,7 +2239,6 @@ namespace OpenTK.Graphics.ES20 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2260,7 +2258,6 @@ namespace OpenTK.Graphics.ES20 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2270,7 +2267,6 @@ namespace OpenTK.Graphics.ES20 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index 483f513c..e069a325 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -2438,7 +2438,6 @@ namespace OpenTK.Graphics.ES30 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2448,7 +2447,6 @@ namespace OpenTK.Graphics.ES30 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2468,7 +2466,6 @@ namespace OpenTK.Graphics.ES30 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2478,7 +2475,6 @@ namespace OpenTK.Graphics.ES30 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index f515ffd8..caaf94fe 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -2568,7 +2568,6 @@ namespace OpenTK.Graphics.ES31 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2578,7 +2577,6 @@ namespace OpenTK.Graphics.ES31 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(Int32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2598,7 +2596,6 @@ namespace OpenTK.Graphics.ES31 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } @@ -2608,7 +2605,6 @@ namespace OpenTK.Graphics.ES31 /// /// [length: 1] /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ANGLE_translated_shader_source", Version = "", EntryPoint = "glGetTranslatedShaderSourceANGLE")] [CLSCompliant(false)] public static unsafe void GetTranslatedShaderSource(UInt32 shader, Int32 bufsize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute] out String source) { throw new BindingsNotRewrittenException(); } From 368c984288cb468b6d4fbbf917ef2508d24dffbc Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:20:24 +0100 Subject: [PATCH 12/15] Generate legacy overloads for GetProgramBinary --- .../Specifications/GL2/overrides.xml | 12 ++++------- src/OpenTK/Graphics/ES20/ES20.cs | 20 ------------------- src/OpenTK/Graphics/ES30/ES30.cs | 20 ------------------- src/OpenTK/Graphics/ES31/ES31.cs | 20 ------------------- 4 files changed, 4 insertions(+), 68 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 9222946e..3cbe0083 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -5558,6 +5558,10 @@ + + + + @@ -5575,14 +5579,6 @@ - - - - 0 - 0 - - - diff --git a/src/OpenTK/Graphics/ES20/ES20.cs b/src/OpenTK/Graphics/ES20/ES20.cs index 669968b5..815f14e4 100644 --- a/src/OpenTK/Graphics/ES20/ES20.cs +++ b/src/OpenTK/Graphics/ES20/ES20.cs @@ -49414,7 +49414,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -49437,7 +49436,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -49462,7 +49460,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -49487,7 +49484,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -49512,7 +49508,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -49537,7 +49532,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -49560,7 +49554,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -49585,7 +49578,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -49610,7 +49602,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -49635,7 +49626,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -49783,7 +49773,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -49806,7 +49795,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -49831,7 +49819,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -49856,7 +49843,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -49881,7 +49867,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES20.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -49906,7 +49891,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -49929,7 +49913,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -49954,7 +49937,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -49979,7 +49961,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -50004,7 +49985,6 @@ namespace OpenTK.Graphics.ES20 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES20.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) diff --git a/src/OpenTK/Graphics/ES30/ES30.cs b/src/OpenTK/Graphics/ES30/ES30.cs index e069a325..2c0c275f 100644 --- a/src/OpenTK/Graphics/ES30/ES30.cs +++ b/src/OpenTK/Graphics/ES30/ES30.cs @@ -57815,7 +57815,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -57838,7 +57837,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -57863,7 +57861,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -57888,7 +57885,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -57913,7 +57909,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -57938,7 +57933,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -57961,7 +57955,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -57986,7 +57979,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -58011,7 +58003,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -58036,7 +58027,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -58184,7 +58174,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -58207,7 +58196,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -58232,7 +58220,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -58257,7 +58244,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -58282,7 +58268,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES30.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -58307,7 +58292,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -58330,7 +58314,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -58355,7 +58338,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -58380,7 +58362,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -58405,7 +58386,6 @@ namespace OpenTK.Graphics.ES30 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES30.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) diff --git a/src/OpenTK/Graphics/ES31/ES31.cs b/src/OpenTK/Graphics/ES31/ES31.cs index caaf94fe..794ebdeb 100644 --- a/src/OpenTK/Graphics/ES31/ES31.cs +++ b/src/OpenTK/Graphics/ES31/ES31.cs @@ -55213,7 +55213,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -55236,7 +55235,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -55261,7 +55259,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -55286,7 +55283,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -55311,7 +55307,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -55336,7 +55331,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -55359,7 +55353,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -55384,7 +55377,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -55409,7 +55401,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -55434,7 +55425,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(Int32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -55582,7 +55572,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -55605,7 +55594,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -55630,7 +55618,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -55655,7 +55642,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -55680,7 +55666,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Count = 1)] out OpenTK.Graphics.ES31.All binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) @@ -55705,7 +55690,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [OutAttribute, CountAttribute(Parameter = "bufSize")] IntPtr binary) { throw new BindingsNotRewrittenException(); } @@ -55728,7 +55712,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[] binary) @@ -55753,7 +55736,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,] binary) @@ -55778,7 +55760,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] T4[,,] binary) @@ -55803,7 +55784,6 @@ namespace OpenTK.Graphics.ES31 /// [length: bufSize] /// Specifies the address an array into which the GL will return program's binary representation. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "OES_get_program_binary", Version = "", EntryPoint = "glGetProgramBinaryOES")] [CLSCompliant(false)] public static unsafe void GetProgramBinary(UInt32 program, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Count = 1)] OpenTK.Graphics.ES31.All* binaryFormat, [InAttribute, OutAttribute, CountAttribute(Parameter = "bufSize")] ref T4 binary) From bf6d047b0cc78a5a2d7ec18abd7f9eb3473b9236 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:27:42 +0100 Subject: [PATCH 13/15] Generate legacy overloads for GetProgramResourceName --- src/Generator.Bind/Specifications/GL2/overrides.xml | 11 +---------- src/OpenTK/Graphics/OpenGL/GL.cs | 4 ---- src/OpenTK/Graphics/OpenGL4/GL4.cs | 4 ---- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 3cbe0083..16c1c1eb 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1120,6 +1120,7 @@ ProgramInterface + @@ -1712,11 +1713,6 @@ 0 - - - 0 - - @@ -1886,11 +1882,6 @@ 0 - - - 0 - - StringName diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index 6d05a44e..cb37c114 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -48462,7 +48462,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -48488,7 +48487,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -48540,7 +48538,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -48566,7 +48563,6 @@ namespace OpenTK.Graphics.OpenGL /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } diff --git a/src/OpenTK/Graphics/OpenGL4/GL4.cs b/src/OpenTK/Graphics/OpenGL4/GL4.cs index f168cb73..e777729a 100644 --- a/src/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/src/OpenTK/Graphics/OpenGL4/GL4.cs @@ -26769,7 +26769,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -26795,7 +26794,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static unsafe void GetProgramResourceName(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -26847,7 +26845,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } @@ -26873,7 +26870,6 @@ namespace OpenTK.Graphics.OpenGL4 /// [length: bufSize] /// The address of a character array into which will be written the name of the resource. /// - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceName")] [CLSCompliant(false)] public static unsafe void GetProgramResourceName(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out String name) { throw new BindingsNotRewrittenException(); } From 8ed1e20a7a3b534d13c6f032126b4d3d08391f73 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:29:56 +0100 Subject: [PATCH 14/15] Generate legacy overloads for GetProgramResourceiv --- .../Specifications/GL2/overrides.xml | 12 +---- src/OpenTK/Graphics/OpenGL/GL.cs | 46 +++++++++---------- src/OpenTK/Graphics/OpenGL4/GL4.cs | 46 +++++++++---------- 3 files changed, 43 insertions(+), 61 deletions(-) diff --git a/src/Generator.Bind/Specifications/GL2/overrides.xml b/src/Generator.Bind/Specifications/GL2/overrides.xml index 16c1c1eb..fe4dd4bc 100644 --- a/src/Generator.Bind/Specifications/GL2/overrides.xml +++ b/src/Generator.Bind/Specifications/GL2/overrides.xml @@ -1130,6 +1130,7 @@ ProgramProperty + @@ -1707,12 +1708,6 @@ int - - - - 0 - - @@ -1877,11 +1872,6 @@ ProgramParameter - - - 0 - - StringName diff --git a/src/OpenTK/Graphics/OpenGL/GL.cs b/src/OpenTK/Graphics/OpenGL/GL.cs index cb37c114..1a518991 100644 --- a/src/OpenTK/Graphics/OpenGL/GL.cs +++ b/src/OpenTK/Graphics/OpenGL/GL.cs @@ -48193,26 +48193,6 @@ namespace OpenTK.Graphics.OpenGL [CLSCompliant(false)] public static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, [CountAttribute(Computed = "name")] String name) { throw new BindingsNotRewrittenException(); } - /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] - /// Retrieve values for multiple properties of a single active resource within a program object - /// - /// - /// The name of a program object whose resources to query. - /// - /// - /// A token identifying the interface within program containing the resource named name. - /// - /// - /// - /// [length: propCount] - /// - /// [length: 1] - /// [length: bufSize] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - [CLSCompliant(false)] - public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); } - /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object /// @@ -48247,7 +48227,6 @@ namespace OpenTK.Graphics.OpenGL /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); } @@ -48270,7 +48249,7 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] - public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } + public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -48287,10 +48266,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] - public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); } + public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -48326,7 +48304,6 @@ namespace OpenTK.Graphics.OpenGL /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); } @@ -48349,6 +48326,25 @@ namespace OpenTK.Graphics.OpenGL [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] + public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } + + /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] + /// Retrieve values for multiple properties of a single active resource within a program object + /// + /// + /// The name of a program object whose resources to query. + /// + /// + /// A token identifying the interface within program containing the resource named name. + /// + /// + /// + /// [length: propCount] + /// + /// [length: 1] + /// [length: bufSize] + [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] + [CLSCompliant(false)] public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] diff --git a/src/OpenTK/Graphics/OpenGL4/GL4.cs b/src/OpenTK/Graphics/OpenGL4/GL4.cs index e777729a..5692a616 100644 --- a/src/OpenTK/Graphics/OpenGL4/GL4.cs +++ b/src/OpenTK/Graphics/OpenGL4/GL4.cs @@ -26500,26 +26500,6 @@ namespace OpenTK.Graphics.OpenGL4 [CLSCompliant(false)] public static Int32 GetProgramResourceIndex(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, [CountAttribute(Computed = "name")] String name) { throw new BindingsNotRewrittenException(); } - /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] - /// Retrieve values for multiple properties of a single active resource within a program object - /// - /// - /// The name of a program object whose resources to query. - /// - /// - /// A token identifying the interface within program containing the resource named name. - /// - /// - /// - /// [length: propCount] - /// - /// [length: 1] - /// [length: bufSize] - [Obsolete("Use out overload instead")] - [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] - [CLSCompliant(false)] - public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); } - /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object /// @@ -26554,7 +26534,6 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] public static void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); } @@ -26577,7 +26556,7 @@ namespace OpenTK.Graphics.OpenGL4 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] - public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } + public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -26594,10 +26573,9 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] - public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty[] props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32[] @params) { throw new BindingsNotRewrittenException(); } + public static unsafe void GetProgramResource(Int32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, Int32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] /// Retrieve values for multiple properties of a single active resource within a program object @@ -26633,7 +26611,6 @@ namespace OpenTK.Graphics.OpenGL4 /// /// [length: 1] /// [length: bufSize] - [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] public static void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] ref OpenTK.Graphics.OpenGL4.ProgramProperty props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] out Int32 length, [OutAttribute, CountAttribute(Parameter = "bufSize")] out Int32 @params) { throw new BindingsNotRewrittenException(); } @@ -26656,6 +26633,25 @@ namespace OpenTK.Graphics.OpenGL4 [Obsolete("Use out overload instead")] [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] [CLSCompliant(false)] + public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32[] length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } + + /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] + /// Retrieve values for multiple properties of a single active resource within a program object + /// + /// + /// The name of a program object whose resources to query. + /// + /// + /// A token identifying the interface within program containing the resource named name. + /// + /// + /// + /// [length: propCount] + /// + /// [length: 1] + /// [length: bufSize] + [AutoGenerated(Category = "ARB_program_interface_query|VERSION_4_3", Version = "4.3", EntryPoint = "glGetProgramResourceiv")] + [CLSCompliant(false)] public static unsafe void GetProgramResource(UInt32 program, OpenTK.Graphics.OpenGL4.ProgramInterface programInterface, UInt32 index, Int32 propCount, [CountAttribute(Parameter = "propCount")] OpenTK.Graphics.OpenGL4.ProgramProperty* props, Int32 bufSize, [OutAttribute, CountAttribute(Count = 1)] Int32* length, [OutAttribute, CountAttribute(Parameter = "bufSize")] Int32* @params) { throw new BindingsNotRewrittenException(); } /// [requires: v4.3 or ARB_program_interface_query|VERSION_4_3] From 386d4e6a1930c1e76693bd7240aeeeeaf1db612c Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 15:32:39 +0100 Subject: [PATCH 15/15] Fix bug where count overrides didn't effect ComputeSize ComputeSize and ElementCount should match each other (and they do when read direct from XML spec files). However when using the override file to change count only ElementCount was effected. This is now fixed so that ComputeSize is set and also so that ElementCount gets reset to 0 if the count value isn't an integer. --- src/Generator.Bind/FuncProcessor.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Generator.Bind/FuncProcessor.cs b/src/Generator.Bind/FuncProcessor.cs index 7755f40e..c5ce9b52 100644 --- a/src/Generator.Bind/FuncProcessor.cs +++ b/src/Generator.Bind/FuncProcessor.cs @@ -536,11 +536,16 @@ namespace Bind d.Parameters[i].Flow = Parameter.GetFlowDirection((string)node.TypedValue); break; case "count": + d.Parameters[i].ComputeSize = node.Value.Trim(); int count; - if (Int32.TryParse(node.Value, out count)) + if (Int32.TryParse(d.Parameters[i].ComputeSize, out count)) { d.Parameters[i].ElementCount = count; } + else + { + d.Parameters[i].ElementCount = 0; + } break; } }