Implemented sections: Hints and Sync Object Quries.
Renamed SyncParameter to SyncParameterName, as per the OpenGL naming
conventions.
<function name="GetSynciv" extension="Core">
<param name="pname">
- <type>SyncParameter</type>
+ <type>SyncParameterName</type>
</param>
</function>
<use enum="VERSION_3_2" token="CONDITION_SATISFIED" />
<use enum="VERSION_3_2" token="WAIT_FAILED" />
</enum>
- <enum name="SyncParameter">
+ <enum name="SyncParameterName">
<use enum="VERSION_3_2" token="OBJECT_TYPE" />
<use enum="VERSION_3_2" token="SYNC_STATUS" />
<use enum="VERSION_3_2" token="SYNC_CONDITION" />
<param name="condition"><type>SyncCondition</type></param>
<param name="flags"><type>WaitSyncFlags</type></param>
</function>
- <function name="ClientWaitSync" extension="Core">
+ <function name="ClientWaitSync">
<returns>WaitSyncStatus</returns>
<param name="flags"><type>ClientWaitSyncFlags</type></param>
</function>
- <function name="WaitSync" extension="Core">
+ <function name="WaitSync">
<param name="flags"><type>WaitSyncFlags</type></param>
</function>
+ <!-- Sync Object Queries [6.1.8] -->
+ <function name="GetSync">
+ <param name="pname"><type>SyncParameterName</type></param>
+ </function>
+
</replace>
<add name="gles2" version="3.0">
<use token="TEXTURE_IMMUTABLE_FORMAT" />
<use token="TEXTURE_IMMUTABLE_LEVELS" />
</enum>
+ <enum name="HintMode">
+ <use token="FASTEST" />
+ <use token="NICEST" />
+ <use token="DONT_CARE" />
+ </enum>
+ <enum name="HintTarget">
+ <use token="GENERATE_MIPMAP_HINT" />
+ <use token="FRAGMENT_SHADER_DERIVATIVE_HINT" />
+ </enum>
<enum name="PixelFormat">
<use token="ALPHA" />
<use token="RGBA" />
<enum name="SyncCondition">
<use token="SYNC_GPU_COMMANDS_COMPLETE" />
</enum>
+ <enum name="SyncParameterName">
+ <use token="OBJECT_TYPE" />
+ <use token="SYNC_STATUS" />
+ <use token="SYNC_CONDITION" />
+ <use token="SYNC_FLAGS" />
+ </enum>
<enum name="TextureComponentCount">
<reuse enum="SizedInternalFormat" />
<use token="RGB" />
/// </param>
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
- OpenTK.Graphics.ES30.All ClientWaitSync(IntPtr sync, Int32 flags, Int64 timeout)
+ OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glClientWaitSyncAPPLE")]
public static
- OpenTK.Graphics.ES30.All ClientWaitSync(IntPtr sync, UInt32 flags, UInt64 timeout)
+ OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ return Delegates.glClientWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.ClientWaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
/// </param>
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = length)
fixed (Int32* values_ptr = values)
{
- Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
}
}
#if DEBUG
/// </param>
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
- Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glGetSyncivAPPLE")]
public static
- unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
+ unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
+ Delegates.glGetSyncivAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
/// </param>
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
- void WaitSync(IntPtr sync, Int32 flags, Int64 timeout)
+ void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, Int64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
[System.CLSCompliant(false)]
[AutoGenerated(Category = "APPLE_sync", Version = "", EntryPoint = "glWaitSyncAPPLE")]
public static
- void WaitSync(IntPtr sync, UInt32 flags, UInt64 timeout)
+ void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glWaitSyncAPPLE((IntPtr)sync, (UInt32)flags, (UInt64)timeout);
+ Delegates.glWaitSyncAPPLE((IntPtr)sync, (OpenTK.Graphics.ES30.WaitSyncFlags)flags, (UInt64)timeout);
#if DEBUG
}
#endif
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
}
}
/// </param>
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ES_VERSION_3_0", Version = "3.0", EntryPoint = "glGetSynciv")]
public static
- unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
+ unsafe void GetSync(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.All)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.ES30.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
internal delegate OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout);
internal static ClientWaitSync glClientWaitSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate OpenTK.Graphics.ES30.All ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal delegate OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout);
internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
internal delegate IntPtr GetStringi(OpenTK.Graphics.ES30.StringName name, UInt32 index);
internal static GetStringi glGetStringi;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSynciv glGetSynciv;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params);
internal delegate void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout);
internal static WaitSync glWaitSync;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal delegate void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout);
internal static WaitSyncAPPLE glWaitSyncAPPLE;
}
}
}
/// <summary>
- /// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 74 other functions
+ /// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 72 other functions
/// </summary>
public enum All : int
{
}
/// <summary>
- /// Used in GL.ClientWaitSync
+ /// Used in GL.Apple.ClientWaitSync, GL.ClientWaitSync
/// </summary>
public enum ClientWaitSyncFlags : int
{
SyncGpuCommandsComplete = ((int)0x9117) ,
}
+ /// <summary>
+ /// Used in GL.Apple.GetSync, GL.GetSync
+ /// </summary>
+ public enum SyncParameterName : int
+ {
+ /// <summary>
+ /// Original was GL_OBJECT_TYPE = 0x9112
+ /// </summary>
+ ObjectType = ((int)0x9112) ,
+ /// <summary>
+ /// Original was GL_SYNC_CONDITION = 0x9113
+ /// </summary>
+ SyncCondition = ((int)0x9113) ,
+ /// <summary>
+ /// Original was GL_SYNC_STATUS = 0x9114
+ /// </summary>
+ SyncStatus = ((int)0x9114) ,
+ /// <summary>
+ /// Original was GL_SYNC_FLAGS = 0x9115
+ /// </summary>
+ SyncFlags = ((int)0x9115) ,
+ }
+
/// <summary>
/// Not used directly.
/// </summary>
}
/// <summary>
- /// Used in GL.Apple.FenceSync, GL.FenceSync and 1 other function
+ /// Used in GL.Apple.FenceSync, GL.Apple.WaitSync and 2 other functions
/// </summary>
public enum WaitSyncFlags : int
{
internal extern static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSync(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)]
- internal extern static OpenTK.Graphics.ES30.All ClientWaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal extern static OpenTK.Graphics.ES30.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.ClientWaitSyncFlags flags, UInt64 timeout);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)]
internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha);
internal extern static IntPtr GetStringi(OpenTK.Graphics.ES30.StringName name, UInt32 index);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)]
- internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)]
- internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.All pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES30.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES30.TextureTarget target, OpenTK.Graphics.ES30.GetTextureParameterName pname, [OutAttribute] Single* @params);
internal extern static void WaitSync(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)]
- internal extern static void WaitSyncAPPLE(IntPtr sync, UInt32 flags, UInt64 timeout);
+ internal extern static void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES30.WaitSyncFlags flags, UInt64 timeout);
}
}
}
/// </param>
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameter pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameter)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
}
}
/// </param>
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameter pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameter)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
+ unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameter)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
internal extern static Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)]
- internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexBumpParameterfvATI", ExactSpelling = true)]
internal extern static unsafe void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param);
internal delegate Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL.ShaderType shadertype, String name);
internal static GetSubroutineUniformLocation glGetSubroutineUniformLocation;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSynciv glGetSynciv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexBumpParameterfvATI(OpenTK.Graphics.OpenGL.AtiEnvmapBumpmap pname, [OutAttribute] Single* param);
/// <summary>
/// Used in GL.GetSync
/// </summary>
- public enum SyncParameter : int
+ public enum SyncParameterName : int
{
/// <summary>
/// Original was GL_OBJECT_TYPE = 0x9112
/// </param>
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameter pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] Int32[] values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameter)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
}
}
/// </param>
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameter pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
+ void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] out Int32 values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
fixed (Int32* length_ptr = &length)
fixed (Int32* values_ptr = &values)
{
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameter)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length_ptr, (Int32*)values_ptr);
length = *length_ptr;
values = *values_ptr;
}
[System.CLSCompliant(false)]
[AutoGenerated(Category = "ARB_sync|VERSION_3_2", Version = "3.2", EntryPoint = "glGetSynciv")]
public static
- unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
+ unsafe void GetSync(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameter)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
+ Delegates.glGetSynciv((IntPtr)sync, (OpenTK.Graphics.OpenGL4.SyncParameterName)pname, (Int32)bufSize, (Int32*)length, (Int32*)values);
#if DEBUG
}
#endif
internal extern static Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSynciv", ExactSpelling = true)]
- internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal extern static unsafe void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexImage", ExactSpelling = true)]
internal extern static void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels);
internal delegate Int32 GetSubroutineUniformLocation(UInt32 program, OpenTK.Graphics.OpenGL4.ShaderType shadertype, String name);
internal static GetSubroutineUniformLocation glGetSubroutineUniformLocation;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameter pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
+ internal unsafe delegate void GetSynciv(IntPtr sync, OpenTK.Graphics.OpenGL4.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSynciv glGetSynciv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetTexImage(OpenTK.Graphics.OpenGL4.TextureTarget target, Int32 level, OpenTK.Graphics.OpenGL4.PixelFormat format, OpenTK.Graphics.OpenGL4.PixelType type, [OutAttribute] IntPtr pixels);
/// <summary>
/// Used in GL.GetSync
/// </summary>
- public enum SyncParameter : int
+ public enum SyncParameterName : int
{
/// <summary>
/// Original was GL_OBJECT_TYPE = 0x9112