From 7644d0c94aee8eea71bd24f53631cc8b8ee09700 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Thu, 5 Oct 2017 14:58:19 +0100 Subject: [PATCH] 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(); }