Fixed strong-enums for GetDebugMessageLog

GetDebugMessageLog is part of KHR_debug.
This commit is contained in:
Stefanos A 2013-11-07 08:36:23 +01:00
parent a2f2ab29ea
commit de38df8820
5 changed files with 61 additions and 56 deletions

View file

@ -5435,6 +5435,11 @@
<param name="type"><type>DebugType</type></param> <param name="type"><type>DebugType</type></param>
<param name="severity"><type>DebugSeverity</type></param> <param name="severity"><type>DebugSeverity</type></param>
</function> </function>
<function name="GetDebugMessageLog">
<param name="sources"><type>DebugSourceExternal</type></param>
<param name="types"><type>DebugType</type></param>
<param name="severities"><type>DebugSeverity</type></param>
</function>
</replace> </replace>

View file

@ -13880,7 +13880,7 @@ namespace OpenTK.Graphics.ES30
/// </param> /// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -13888,13 +13888,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (Int32* ids_ptr = ids) fixed (Int32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths) fixed (Int32* lengths_ptr = lengths)
{ {
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
} }
} }
#if DEBUG #if DEBUG
@ -13948,7 +13948,7 @@ namespace OpenTK.Graphics.ES30
/// </param> /// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -13956,13 +13956,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (Int32* ids_ptr = &ids) fixed (Int32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths) fixed (Int32* lengths_ptr = &lengths)
{ {
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr; sources = *sources_ptr;
types = *types_ptr; types = *types_ptr;
ids = *ids_ptr; ids = *ids_ptr;
@ -14023,13 +14023,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
{ {
#endif #endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources, (OpenTK.Graphics.ES30.All*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG #if DEBUG
} }
#endif #endif
@ -14082,7 +14082,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -14090,13 +14090,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (UInt32* ids_ptr = ids) fixed (UInt32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths) fixed (Int32* lengths_ptr = lengths)
{ {
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
} }
} }
#if DEBUG #if DEBUG
@ -14151,7 +14151,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -14159,13 +14159,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids) fixed (UInt32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths) fixed (Int32* lengths_ptr = &lengths)
{ {
Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr; sources = *sources_ptr;
types = *types_ptr; types = *types_ptr;
ids = *ids_ptr; ids = *ids_ptr;
@ -14226,13 +14226,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLog")]
public static public static
unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
{ {
#endif #endif
return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources, (OpenTK.Graphics.ES30.All*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG #if DEBUG
} }
#endif #endif
@ -46066,7 +46066,7 @@ namespace OpenTK.Graphics.ES30
/// </param> /// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46074,13 +46074,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (Int32* ids_ptr = ids) fixed (Int32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths) fixed (Int32* lengths_ptr = lengths)
{ {
return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
} }
} }
#if DEBUG #if DEBUG
@ -46134,7 +46134,7 @@ namespace OpenTK.Graphics.ES30
/// </param> /// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46142,13 +46142,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (Int32* ids_ptr = &ids) fixed (Int32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths) fixed (Int32* lengths_ptr = &lengths)
{ {
Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr; sources = *sources_ptr;
types = *types_ptr; types = *types_ptr;
ids = *ids_ptr; ids = *ids_ptr;
@ -46209,13 +46209,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
{ {
#endif #endif
return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources, (OpenTK.Graphics.ES30.All*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG #if DEBUG
} }
#endif #endif
@ -46268,7 +46268,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All[] sources, [OutAttribute] OpenTK.Graphics.ES30.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal[] sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46276,13 +46276,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = types)
fixed (UInt32* ids_ptr = ids) fixed (UInt32* ids_ptr = ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths) fixed (Int32* lengths_ptr = lengths)
{ {
return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
} }
} }
#if DEBUG #if DEBUG
@ -46337,7 +46337,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.All sources, [OutAttribute] out OpenTK.Graphics.ES30.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog) Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.ES30.DebugSourceExternal sources, [OutAttribute] out OpenTK.Graphics.ES30.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.ES30.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46345,13 +46345,13 @@ namespace OpenTK.Graphics.ES30
#endif #endif
unsafe unsafe
{ {
fixed (OpenTK.Graphics.ES30.All* sources_ptr = &sources) fixed (OpenTK.Graphics.ES30.DebugSourceExternal* sources_ptr = &sources)
fixed (OpenTK.Graphics.ES30.All* types_ptr = &types) fixed (OpenTK.Graphics.ES30.DebugType* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids) fixed (UInt32* ids_ptr = &ids)
fixed (OpenTK.Graphics.ES30.All* severities_ptr = &severities) fixed (OpenTK.Graphics.ES30.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths) fixed (Int32* lengths_ptr = &lengths)
{ {
Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources_ptr, (OpenTK.Graphics.ES30.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog); Int32 retval = Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources_ptr, (OpenTK.Graphics.ES30.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.ES30.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr; sources = *sources_ptr;
types = *types_ptr; types = *types_ptr;
ids = *ids_ptr; ids = *ids_ptr;
@ -46412,13 +46412,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)] [System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")] [AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetDebugMessageLogKHR")]
public static public static
unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog) unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{ {
#if DEBUG #if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext)) using (new ErrorHelper(GraphicsContext.CurrentContext))
{ {
#endif #endif
return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.All*)sources, (OpenTK.Graphics.ES30.All*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.All*)severities, (Int32*)lengths, (StringBuilder)messageLog); return Delegates.glGetDebugMessageLogKHR((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.ES30.DebugSourceExternal*)sources, (OpenTK.Graphics.ES30.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.ES30.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG #if DEBUG
} }
#endif #endif

View file

@ -564,10 +564,10 @@ namespace OpenTK.Graphics.ES30
internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); internal delegate void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
internal static GetBufferPointervOES glGetBufferPointervOES; internal static GetBufferPointervOES glGetBufferPointervOES;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
internal unsafe static GetDebugMessageLog glGetDebugMessageLog; internal unsafe static GetDebugMessageLog glGetDebugMessageLog;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); internal unsafe delegate Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR; internal unsafe static GetDebugMessageLogKHR glGetDebugMessageLogKHR;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); internal unsafe delegate void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);

View file

@ -385,7 +385,7 @@ namespace OpenTK.Graphics.ES30
} }
/// <summary> /// <summary>
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 55 other functions /// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 53 other functions
/// </summary> /// </summary>
public enum All : int public enum All : int
{ {
@ -10180,7 +10180,7 @@ namespace OpenTK.Graphics.ES30
} }
/// <summary> /// <summary>
/// Used in GL.DebugMessageInsert, GL.Khr.DebugMessageInsert /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog and 2 other functions
/// </summary> /// </summary>
public enum DebugSeverity : int public enum DebugSeverity : int
{ {
@ -10296,7 +10296,7 @@ namespace OpenTK.Graphics.ES30
} }
/// <summary> /// <summary>
/// Used in GL.DebugMessageInsert, GL.Khr.DebugMessageInsert /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog and 2 other functions
/// </summary> /// </summary>
public enum DebugSourceExternal : int public enum DebugSourceExternal : int
{ {
@ -10311,7 +10311,7 @@ namespace OpenTK.Graphics.ES30
} }
/// <summary> /// <summary>
/// Used in GL.DebugMessageInsert, GL.Khr.DebugMessageInsert /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog and 2 other functions
/// </summary> /// </summary>
public enum DebugType : int public enum DebugType : int
{ {

View file

@ -566,10 +566,10 @@ namespace OpenTK.Graphics.ES30
internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params); internal extern static void GetBufferPointervOES(OpenTK.Graphics.ES30.BufferTarget target, OpenTK.Graphics.ES30.BufferPointer pname, [OutAttribute] IntPtr @params);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogKHR", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.All* sources, [OutAttribute] OpenTK.Graphics.ES30.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog); internal extern static unsafe Int32 GetDebugMessageLogKHR(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.ES30.DebugSourceExternal* sources, [OutAttribute] OpenTK.Graphics.ES30.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.ES30.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDriverControlsQCOM", ExactSpelling = true)]
internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls); internal extern static unsafe void GetDriverControlsQCOM([OutAttribute] Int32* num, Int32 size, [OutAttribute] UInt32* driverControls);