Fixed enums for GetDebugMessageLog
authorStefanos A <stapostol@gmail.com>
Thu, 7 Nov 2013 07:39:57 +0000 (08:39 +0100)
committerStefanos A <stapostol@gmail.com>
Thu, 7 Nov 2013 07:39:57 +0000 (08:39 +0100)
GetDebugMessageLog was misspelled as GetMessageDebugLog. This is now
fixed.

Source/Bind/Specifications/GL2/overrides.xml
Source/OpenTK/Graphics/OpenGL/GL.cs
Source/OpenTK/Graphics/OpenGL/GLCore.cs
Source/OpenTK/Graphics/OpenGL/GLDelegates.cs
Source/OpenTK/Graphics/OpenGL/GLEnums.cs
Source/OpenTK/Graphics/OpenGL4/GL4.cs
Source/OpenTK/Graphics/OpenGL4/GL4Core.cs
Source/OpenTK/Graphics/OpenGL4/GL4Delegates.cs
Source/OpenTK/Graphics/OpenGL4/GL4Enums.cs

index 669cc0577d6d3694140a909910ea584cb05d8c2e..d370d7b654df8d1d2da6ba336af2c86debb807e6 100644 (file)
       </param>
     </function>
     
-    <function name="GetMessageDebugLog" extension="Core">
+    <function name="GetDebugMessageLog" extension="Core">
       <param name="sources">
         <type>DebugSource</type>
       </param>
index d4dfb5f92fdd3b16d27a108d32af7015b54f8f65..cd61933589ac7535742399f5999123ddf1b86d7f 100644 (file)
@@ -70069,7 +70069,7 @@ namespace OpenTK.Graphics.OpenGL
                 /// </param>
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -70077,13 +70077,13 @@ namespace OpenTK.Graphics.OpenGL
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = sources)
-                fixed (OpenTK.Graphics.OpenGL.All* types_ptr = types)
+                fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources)
+                fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types)
                 fixed (Int32* ids_ptr = ids)
-                fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = severities)
+                fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities)
                 fixed (Int32* lengths_ptr = lengths)
                 {
-                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                 }
             }
             #if DEBUG
@@ -70137,7 +70137,7 @@ namespace OpenTK.Graphics.OpenGL
                 /// </param>
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -70145,13 +70145,13 @@ namespace OpenTK.Graphics.OpenGL
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = &sources)
-                fixed (OpenTK.Graphics.OpenGL.All* types_ptr = &types)
+                fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources)
+                fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types)
                 fixed (Int32* ids_ptr = &ids)
-                fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = &severities)
+                fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities)
                 fixed (Int32* lengths_ptr = &lengths)
                 {
-                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                     sources = *sources_ptr;
                     types = *types_ptr;
                     ids = *ids_ptr;
@@ -70212,13 +70212,13 @@ namespace OpenTK.Graphics.OpenGL
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+        unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
             {
             #endif
-            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources, (OpenTK.Graphics.OpenGL.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
             #if DEBUG
             }
             #endif
@@ -70271,7 +70271,7 @@ namespace OpenTK.Graphics.OpenGL
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -70279,13 +70279,13 @@ namespace OpenTK.Graphics.OpenGL
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = sources)
-                fixed (OpenTK.Graphics.OpenGL.All* types_ptr = types)
+                fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources)
+                fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types)
                 fixed (UInt32* ids_ptr = ids)
-                fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = severities)
+                fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities)
                 fixed (Int32* lengths_ptr = lengths)
                 {
-                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                 }
             }
             #if DEBUG
@@ -70340,7 +70340,7 @@ namespace OpenTK.Graphics.OpenGL
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -70348,13 +70348,13 @@ namespace OpenTK.Graphics.OpenGL
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = &sources)
-                fixed (OpenTK.Graphics.OpenGL.All* types_ptr = &types)
+                fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources)
+                fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types)
                 fixed (UInt32* ids_ptr = &ids)
-                fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = &severities)
+                fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities)
                 fixed (Int32* lengths_ptr = &lengths)
                 {
-                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                     sources = *sources_ptr;
                     types = *types_ptr;
                     ids = *ids_ptr;
@@ -70415,13 +70415,13 @@ namespace OpenTK.Graphics.OpenGL
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+        unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
             {
             #endif
-            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources, (OpenTK.Graphics.OpenGL.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
             #if DEBUG
             }
             #endif
index d55317e21b905220207f313f533a05181f670421..4dab511c70efa905dafa50192485f093d1eb4c37 100644 (file)
@@ -2129,7 +2129,7 @@ namespace OpenTK.Graphics.OpenGL
             internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params);
             [System.Security.SuppressUnmanagedCodeSecurity()]
             [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
-            internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+            internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
             [System.Security.SuppressUnmanagedCodeSecurity()]
             [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogAMD", ExactSpelling = true)]
             internal extern static unsafe Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message);
index 3ba4385e6e479b14777ec471b2ae19bfe3316591..f732a7119fe5aa2996b1f259fb0b8eda1cde94c5 100644 (file)
@@ -2127,7 +2127,7 @@ namespace OpenTK.Graphics.OpenGL
             internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params);
             internal unsafe static GetConvolutionParameterxvOES glGetConvolutionParameterxvOES;
             [System.Security.SuppressUnmanagedCodeSecurity()]
-            internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+            internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
             internal unsafe static GetDebugMessageLog glGetDebugMessageLog;
             [System.Security.SuppressUnmanagedCodeSecurity()]
             internal unsafe delegate Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message);
index ff10aef7d1cbfcb386d3ce38ce1d898a13663a8d..9c2790e2e2e6fb79c1d2395eacfe67496e31c64c 100644 (file)
@@ -736,7 +736,7 @@ namespace OpenTK.Graphics.OpenGL
     }
 
     /// <summary>
-    /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 11 other functions
+    /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 10 other functions
     /// </summary>
     public enum All : int
     {
@@ -29355,7 +29355,7 @@ namespace OpenTK.Graphics.OpenGL
     }
 
     /// <summary>
-    /// Used in GL.DebugMessageInsert
+    /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
     /// </summary>
     public enum DebugSeverity : int
     {
@@ -29405,7 +29405,7 @@ namespace OpenTK.Graphics.OpenGL
     }
 
     /// <summary>
-    /// Not used directly.
+    /// Used in GL.GetDebugMessageLog
     /// </summary>
     public enum DebugSource : int
     {
@@ -29486,7 +29486,7 @@ namespace OpenTK.Graphics.OpenGL
     }
 
     /// <summary>
-    /// Used in GL.DebugMessageInsert
+    /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
     /// </summary>
     public enum DebugType : int
     {
index e8fc96213699e343fc44e1033c852b1cd63d02f0..53fdb6b0969d3ea8cd4b92c9c31c5fb72ddc2937 100644 (file)
@@ -30318,7 +30318,7 @@ namespace OpenTK.Graphics.OpenGL4
                 /// </param>
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -30326,13 +30326,13 @@ namespace OpenTK.Graphics.OpenGL4
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources)
-                fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources)
+                fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types)
                 fixed (Int32* ids_ptr = ids)
-                fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities)
                 fixed (Int32* lengths_ptr = lengths)
                 {
-                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                 }
             }
             #if DEBUG
@@ -30386,7 +30386,7 @@ namespace OpenTK.Graphics.OpenGL4
                 /// </param>
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -30394,13 +30394,13 @@ namespace OpenTK.Graphics.OpenGL4
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources)
-                fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources)
+                fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types)
                 fixed (Int32* ids_ptr = &ids)
-                fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities)
                 fixed (Int32* lengths_ptr = &lengths)
                 {
-                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                     sources = *sources_ptr;
                     types = *types_ptr;
                     ids = *ids_ptr;
@@ -30461,13 +30461,13 @@ namespace OpenTK.Graphics.OpenGL4
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+        unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
             {
             #endif
-            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
             #if DEBUG
             }
             #endif
@@ -30520,7 +30520,7 @@ namespace OpenTK.Graphics.OpenGL4
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -30528,13 +30528,13 @@ namespace OpenTK.Graphics.OpenGL4
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources)
-                fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources)
+                fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types)
                 fixed (UInt32* ids_ptr = ids)
-                fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities)
                 fixed (Int32* lengths_ptr = lengths)
                 {
-                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                 }
             }
             #if DEBUG
@@ -30589,7 +30589,7 @@ namespace OpenTK.Graphics.OpenGL4
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+        Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
@@ -30597,13 +30597,13 @@ namespace OpenTK.Graphics.OpenGL4
             #endif
             unsafe
             {
-                fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources)
-                fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources)
+                fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types)
                 fixed (UInt32* ids_ptr = &ids)
-                fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities)
+                fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities)
                 fixed (Int32* lengths_ptr = &lengths)
                 {
-                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+                    Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
                     sources = *sources_ptr;
                     types = *types_ptr;
                     ids = *ids_ptr;
@@ -30664,13 +30664,13 @@ namespace OpenTK.Graphics.OpenGL4
         [System.CLSCompliant(false)]
         [AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
         public static 
-        unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+        unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
         {
             #if DEBUG
             using (new ErrorHelper(GraphicsContext.CurrentContext))
             {
             #endif
-            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+            return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
             #if DEBUG
             }
             #endif
index 2b3f75bf3b236deae84da036f9f02cc0e885a9ab..abc80df7c487a07bfbfc62bc9b68f8b48cf986a1 100644 (file)
@@ -668,7 +668,7 @@ namespace OpenTK.Graphics.OpenGL4
             internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params);
             [System.Security.SuppressUnmanagedCodeSecurity()]
             [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
-            internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+            internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
             [System.Security.SuppressUnmanagedCodeSecurity()]
             [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogARB", ExactSpelling = true)]
             internal extern static unsafe Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
index 862ee7010fe1f2f597ad3c3d78e7176ce9d52dd9..1d61c8fd1169360159c193525c563337c7c6a290 100644 (file)
@@ -666,7 +666,7 @@ namespace OpenTK.Graphics.OpenGL4
             internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params);
             internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv;
             [System.Security.SuppressUnmanagedCodeSecurity()]
-            internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+            internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
             internal unsafe static GetDebugMessageLog glGetDebugMessageLog;
             [System.Security.SuppressUnmanagedCodeSecurity()]
             internal unsafe delegate Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
index 6dfd0817f8b4f3e15a3cad96b254ba0915e218b6..70b5d01b3f40b196069a7e35c448c24baa0194f7 100644 (file)
@@ -716,7 +716,7 @@ namespace OpenTK.Graphics.OpenGL4
     }
 
     /// <summary>
-    /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 41 other functions
+    /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 40 other functions
     /// </summary>
     public enum All : int
     {
@@ -15771,7 +15771,7 @@ namespace OpenTK.Graphics.OpenGL4
     }
 
     /// <summary>
-    /// Used in GL.DebugMessageInsert
+    /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
     /// </summary>
     public enum DebugSeverity : int
     {
@@ -15821,7 +15821,7 @@ namespace OpenTK.Graphics.OpenGL4
     }
 
     /// <summary>
-    /// Not used directly.
+    /// Used in GL.GetDebugMessageLog
     /// </summary>
     public enum DebugSource : int
     {
@@ -15902,7 +15902,7 @@ namespace OpenTK.Graphics.OpenGL4
     }
 
     /// <summary>
-    /// Used in GL.DebugMessageInsert
+    /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
     /// </summary>
     public enum DebugType : int
     {