mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-03-08 10:10:00 +00:00
ES 3.0 fixed enums for GetInteger64*
GetInteger64v should accept GetPName, while GetInteger64i_v should accept GetIndexedPName.
This commit is contained in:
parent
8de24c97fb
commit
e59c95f2f9
|
@ -5437,6 +5437,12 @@
|
|||
<function name="GetIntegeri_v">
|
||||
<param name="pname"><type>GetIndexedPName</type></param>
|
||||
</function>
|
||||
<function name="GetInteger64">
|
||||
<param name="pname"><type>GetPName</type></param>
|
||||
</function>
|
||||
<function name="GetInteger64i_v">
|
||||
<param name="pname"><type>GetIndexedPName</type></param>
|
||||
</function>
|
||||
<function name="GetString">
|
||||
<param name="name"><type>StringName</type></param>
|
||||
</function>
|
||||
|
|
|
@ -1945,7 +1945,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <summary>[requires: APPLE_sync]</summary>
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
|
||||
public static
|
||||
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] @params)
|
||||
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] @params)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
|
@ -1955,7 +1955,7 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
fixed (Int64* @params_ptr = @params)
|
||||
{
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
|
||||
}
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -1966,7 +1966,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <summary>[requires: APPLE_sync]</summary>
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
|
||||
public static
|
||||
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 @params)
|
||||
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 @params)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
|
@ -1976,7 +1976,7 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
fixed (Int64* @params_ptr = &@params)
|
||||
{
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.All)pname, (Int64*)@params_ptr);
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params_ptr);
|
||||
@params = *@params_ptr;
|
||||
}
|
||||
}
|
||||
|
@ -1989,13 +1989,13 @@ namespace OpenTK.Graphics.ES30
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetInteger64vAPPLE")]
|
||||
public static
|
||||
unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params)
|
||||
unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.All)pname, (Int64*)@params);
|
||||
Delegates.glGetInteger64vAPPLE((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)@params);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
@ -14616,7 +14616,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
|
||||
public static
|
||||
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64[] data)
|
||||
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64[] data)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
|
@ -14626,7 +14626,7 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
fixed (Int64* data_ptr = data)
|
||||
{
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.All)pname, (Int64*)data_ptr);
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
|
||||
}
|
||||
}
|
||||
#if DEBUG
|
||||
|
@ -14637,7 +14637,7 @@ namespace OpenTK.Graphics.ES30
|
|||
/// <summary>[requires: v3.0 and ES_VERSION_3_0]</summary>
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
|
||||
public static
|
||||
void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] out Int64 data)
|
||||
void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] out Int64 data)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
|
@ -14647,7 +14647,7 @@ namespace OpenTK.Graphics.ES30
|
|||
{
|
||||
fixed (Int64* data_ptr = &data)
|
||||
{
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.All)pname, (Int64*)data_ptr);
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data_ptr);
|
||||
data = *data_ptr;
|
||||
}
|
||||
}
|
||||
|
@ -14660,13 +14660,13 @@ namespace OpenTK.Graphics.ES30
|
|||
[System.CLSCompliant(false)]
|
||||
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetInteger64v")]
|
||||
public static
|
||||
unsafe void GetInteger64(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data)
|
||||
unsafe void GetInteger64(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data)
|
||||
{
|
||||
#if DEBUG
|
||||
using (new ErrorHelper(GraphicsContext.CurrentContext))
|
||||
{
|
||||
#endif
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.All)pname, (Int64*)data);
|
||||
Delegates.glGetInteger64v((OpenTK.Graphics.ES30.GetPName)pname, (Int64*)data);
|
||||
#if DEBUG
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -599,10 +599,10 @@ namespace OpenTK.Graphics.ES30
|
|||
internal extern static unsafe void GetInteger64i_v(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64v", ExactSpelling = true)]
|
||||
internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data);
|
||||
internal extern static unsafe void GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetInteger64vAPPLE", ExactSpelling = true)]
|
||||
internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params);
|
||||
internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params);
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_v", ExactSpelling = true)]
|
||||
internal extern static unsafe void GetIntegeri_v(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data);
|
||||
|
|
|
@ -597,10 +597,10 @@ namespace OpenTK.Graphics.ES30
|
|||
internal unsafe delegate void GetInteger64i_v(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int64* data);
|
||||
internal unsafe static GetInteger64i_v glGetInteger64i_v;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* data);
|
||||
internal unsafe delegate void GetInteger64v(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* data);
|
||||
internal unsafe static GetInteger64v glGetInteger64v;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES30.All pname, [OutAttribute] Int64* @params);
|
||||
internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES30.GetPName pname, [OutAttribute] Int64* @params);
|
||||
internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE;
|
||||
[System.Security.SuppressUnmanagedCodeSecurity()]
|
||||
internal unsafe delegate void GetIntegeri_v(OpenTK.Graphics.ES30.All target, UInt32 index, [OutAttribute] Int32* data);
|
||||
|
|
|
@ -385,7 +385,7 @@ namespace OpenTK.Graphics.ES30
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 45 other functions
|
||||
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 43 other functions
|
||||
/// </summary>
|
||||
public enum All : int
|
||||
{
|
||||
|
@ -15132,7 +15132,7 @@ namespace OpenTK.Graphics.ES30
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Used in GL.GetBoolean, GL.GetFloat and 1 other function
|
||||
/// Used in GL.Apple.GetInteger64, GL.GetBoolean and 3 other functions
|
||||
/// </summary>
|
||||
public enum GetPName : int
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue