Generate legacy overloads for GetProgramPipelineInfoLog
authorFraser Waters <frassle@gmail.com>
Thu, 5 Oct 2017 13:58:19 +0000 (14:58 +0100)
committerFraser Waters <frassle@gmail.com>
Thu, 5 Oct 2017 14:12:34 +0000 (15:12 +0100)
src/Generator.Bind/Specifications/GL2/overrides.xml
src/OpenTK/Graphics/ES20/ES20.cs
src/OpenTK/Graphics/ES30/ES30.cs
src/OpenTK/Graphics/ES31/ES31.cs
src/OpenTK/Graphics/OpenGL/GL.cs

index 48efbbc5e9e9840b3f265acdd3c8cdcd2ef98d41..913f69ffa0aaa059ac3e672ef5d4c8d95d00dd83 100644 (file)
     <function name="GetObjectPtrLabel" extension="KHR">
       <param name="length" legacyArrayParameter="true" />
     </function>
+    <function name="GetProgramPipelineInfoLog" extension="Core">
+      <param name="length" legacyArrayParameter="true" />
+    </function>
+    <function name="GetProgramPipelineInfoLog" extension="Ext">
+      <param name="length" legacyArrayParameter="true" />
+    </function>
   </replace>
 
   <overload name="gl">
         <type>ProgramParameter</type>
       </param>
     </function>
-    <function name="GetProgramPipelineInfoLog" extension="Core" obsolete="Use out overload instead">
-      <param name="length">
-        <count>0</count>
-      </param>
-    </function>
     <function name="GetProgramResourceiv" extension="Core" obsolete="Use out overload instead">
       <param name="length">
         <count>0</count>
         <type>ExtDirectStateAccess</type>
       </param>
     </function>
-    <function name="GetProgramPipelineInfoLog" extension="Ext" obsolete="Use out overload instead">
-      <param name="length">
-        <count>0</count>
-      </param>
-    </function>
     <function name="IsEnabledIndexed" extension="Ext" obsolete="Use IndexedEnableCap overload instead">
       <param name="target" index="0">
         <type>ExtDrawBuffers2</type>
     <function name="GetObjectPtrLabel">
       <param name="length" legacyArrayParameter="true" />
     </function>
+    <function name="GetProgramPipelineInfoLog" extension="EXT">
+      <param name="length" legacyArrayParameter="true" />
+    </function>
   </replace>
 
    <!-- gles2 overloads for backwards compatibility (2.0 and 3.0) -->
     <function name="GetTranslatedShaderSource" extension="ANGLE" obsolete="Use out overload instead">
       <param name="length"><count>0</count></param>
     </function>
-    <function name="GetProgramPipelineInfoLog" extension="EXT" obsolete="Use out overload instead">
-      <param name="length"><count>0</count></param>
-    </function>
     <function name="GetProgramBinary" extension="OES" obsolete="Use out overload instead">
       <param name="length"><count>0</count></param>
       <param name="binaryFormat"><count>0</count></param>
index 84d001d58464d0decb1a9542f2161a4344c102f8..2bfaeb04b001f779da53f4de7c5dd1df8aab4586 100644 (file)
@@ -23996,7 +23996,6 @@ namespace OpenTK.Graphics.ES20
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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(); }
index 7c5ecb387c72b309adf62ff71c324afbb2c96aa5..aa9bccd958bfbb463f1752b27358d2e309f03300 100644 (file)
@@ -32389,7 +32389,6 @@ namespace OpenTK.Graphics.ES30
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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(); }
index a7b5b913adfd95a48b4c07663028a0531132b842..2b82ea54d970e01bed2d48025fe0a71173f081f9 100644 (file)
@@ -31625,7 +31625,6 @@ namespace OpenTK.Graphics.ES31
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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(); }
index 0e45f4f1ec535cbb0b16bbf4bd352cba9651d588..6d05a44e14d6e873ad477255677d6e71b9167def 100644 (file)
@@ -47984,7 +47984,6 @@ namespace OpenTK.Graphics.OpenGL
         /// <param name="infoLog">[length: bufSize]
         /// Specifies the address of an array of characters into which will be written the info log for pipeline.
         /// </param>
-        [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
         /// <param name="infoLog">[length: bufSize]
         /// Specifies the address of an array of characters into which will be written the info log for pipeline.
         /// </param>
-        [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
         /// <param name="infoLog">[length: bufSize]
         /// Specifies the address of an array of characters into which will be written the info log for pipeline.
         /// </param>
-        [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
         /// <param name="infoLog">[length: bufSize]
         /// Specifies the address of an array of characters into which will be written the info log for pipeline.
         /// </param>
-        [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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
             /// <param name="infoLog">[length: bufSize]
             /// Specifies the address of an array of characters into which will be written the info log for pipeline.
             /// </param>
-            [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(); }