mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 06:55:37 +00:00
Override flow direction for glGetPerfQueryIdByNameINTEL
The function in the OpenGL specification is not const correct.
This commit is contained in:
parent
4cdaea4747
commit
62d1072f71
|
@ -7440,4 +7440,13 @@
|
||||||
|
|
||||||
</add>
|
</add>
|
||||||
|
|
||||||
|
<!-- INTEL_performance_query -->
|
||||||
|
<replace name="gl|glcore|gles1|gles2">
|
||||||
|
<!-- GetPerfQueryIdByNameINTEL is not const-correct -->
|
||||||
|
<function name="GetPerfQueryIdByNameINTEL" extension="INTEL">
|
||||||
|
<param name="queryName">
|
||||||
|
<flow>in</flow>
|
||||||
|
</param>
|
||||||
|
</function>
|
||||||
|
</replace>
|
||||||
</signatures>
|
</signatures>
|
||||||
|
|
|
@ -110605,49 +110605,49 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static Int32 GetPerfQueryIdByName([OutAttribute] out String queryName) { throw new BindingsNotRewrittenException(); }
|
public static Int32 GetPerfQueryIdByName(String queryName) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] Int32[] queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] Int32[] queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] out Int32 queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] out Int32 queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] Int32* queryId) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetPerfQueryIdByName(String queryName, [OutAttribute] Int32* queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] UInt32[] queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] UInt32[] queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] out UInt32 queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] out UInt32 queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] UInt32* queryId) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetPerfQueryIdByName(String queryName, [OutAttribute] UInt32* queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
|
@ -147804,7 +147804,7 @@ namespace OpenTK.Graphics.OpenGL
|
||||||
private static extern unsafe void glGetPerfQueryDataINTEL(UInt32 queryHandle, UInt32 flags, Int32 dataSize, [OutAttribute] IntPtr data, [OutAttribute] UInt32* bytesWritten);
|
private static extern unsafe void glGetPerfQueryDataINTEL(UInt32 queryHandle, UInt32 flags, Int32 dataSize, [OutAttribute] IntPtr data, [OutAttribute] UInt32* bytesWritten);
|
||||||
[Slot(958)]
|
[Slot(958)]
|
||||||
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
||||||
private static extern unsafe void glGetPerfQueryIdByNameINTEL([OutAttribute] IntPtr queryName, [OutAttribute] UInt32* queryId);
|
private static extern unsafe void glGetPerfQueryIdByNameINTEL(IntPtr queryName, [OutAttribute] UInt32* queryId);
|
||||||
[Slot(959)]
|
[Slot(959)]
|
||||||
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
||||||
private static extern unsafe void glGetPerfQueryInfoINTEL(UInt32 queryId, UInt32 queryNameLength, [OutAttribute] IntPtr queryName, [OutAttribute] UInt32* dataSize, [OutAttribute] UInt32* noCounters, [OutAttribute] UInt32* noInstances, [OutAttribute] UInt32* capsMask);
|
private static extern unsafe void glGetPerfQueryInfoINTEL(UInt32 queryId, UInt32 queryNameLength, [OutAttribute] IntPtr queryName, [OutAttribute] UInt32* dataSize, [OutAttribute] UInt32* noCounters, [OutAttribute] UInt32* noInstances, [OutAttribute] UInt32* capsMask);
|
||||||
|
|
|
@ -63815,49 +63815,49 @@ namespace OpenTK.Graphics.OpenGL4
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static Int32 GetPerfQueryIdByName([OutAttribute] out String queryName) { throw new BindingsNotRewrittenException(); }
|
public static Int32 GetPerfQueryIdByName(String queryName) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] Int32[] queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] Int32[] queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] out Int32 queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] out Int32 queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] Int32* queryId) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetPerfQueryIdByName(String queryName, [OutAttribute] Int32* queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] UInt32[] queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] UInt32[] queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] out UInt32 queryId) { throw new BindingsNotRewrittenException(); }
|
public static void GetPerfQueryIdByName(String queryName, [OutAttribute] out UInt32 queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryName"></param>
|
/// <param name="queryName"></param>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
[AutoGenerated(Category = "INTEL_performance_query", Version = "", EntryPoint = "glGetPerfQueryIdByNameINTEL")]
|
||||||
[CLSCompliant(false)]
|
[CLSCompliant(false)]
|
||||||
public static unsafe void GetPerfQueryIdByName([OutAttribute] out String queryName, [OutAttribute] UInt32* queryId) { throw new BindingsNotRewrittenException(); }
|
public static unsafe void GetPerfQueryIdByName(String queryName, [OutAttribute] UInt32* queryId) { throw new BindingsNotRewrittenException(); }
|
||||||
|
|
||||||
/// <summary>[requires: INTEL_performance_query]</summary>
|
/// <summary>[requires: INTEL_performance_query]</summary>
|
||||||
/// <param name="queryId"></param>
|
/// <param name="queryId"></param>
|
||||||
|
@ -80168,7 +80168,7 @@ namespace OpenTK.Graphics.OpenGL4
|
||||||
private static extern unsafe void glGetPerfQueryDataINTEL(UInt32 queryHandle, UInt32 flags, Int32 dataSize, [OutAttribute] IntPtr data, [OutAttribute] UInt32* bytesWritten);
|
private static extern unsafe void glGetPerfQueryDataINTEL(UInt32 queryHandle, UInt32 flags, Int32 dataSize, [OutAttribute] IntPtr data, [OutAttribute] UInt32* bytesWritten);
|
||||||
[Slot(493)]
|
[Slot(493)]
|
||||||
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
||||||
private static extern unsafe void glGetPerfQueryIdByNameINTEL([OutAttribute] IntPtr queryName, [OutAttribute] UInt32* queryId);
|
private static extern unsafe void glGetPerfQueryIdByNameINTEL(IntPtr queryName, [OutAttribute] UInt32* queryId);
|
||||||
[Slot(494)]
|
[Slot(494)]
|
||||||
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
[DllImport(Library, ExactSpelling = true, CallingConvention = CallingConvention.Winapi)]
|
||||||
private static extern unsafe void glGetPerfQueryInfoINTEL(UInt32 queryId, UInt32 queryNameLength, [OutAttribute] IntPtr queryName, [OutAttribute] UInt32* dataSize, [OutAttribute] UInt32* noCounters, [OutAttribute] UInt32* noInstances, [OutAttribute] UInt32* capsMask);
|
private static extern unsafe void glGetPerfQueryInfoINTEL(UInt32 queryId, UInt32 queryNameLength, [OutAttribute] IntPtr queryName, [OutAttribute] UInt32* dataSize, [OutAttribute] UInt32* noCounters, [OutAttribute] UInt32* noInstances, [OutAttribute] UInt32* capsMask);
|
||||||
|
|
Loading…
Reference in a new issue