Regenerated using the latest Bind version.

This commit is contained in:
the_fiddler 2007-10-31 17:44:45 +00:00
parent c594440302
commit 339ae77c29
5 changed files with 827 additions and 10120 deletions

View file

@ -384,20 +384,6 @@ namespace OpenTK.OpenGL
Delegates.gluNurbsCallback((int)nurb, (Glu.Enums.NurbsCallback)which, (IntPtr)CallBackFunc);
}
public static
void NurbsCallback(int nurb, Glu.Enums.NurbsCallback which, [In, Out] object CallBackFunc)
{
System.Runtime.InteropServices.GCHandle CallBackFunc_ptr = System.Runtime.InteropServices.GCHandle.Alloc(CallBackFunc, System.Runtime.InteropServices.GCHandleType.Pinned);
try
{
Delegates.gluNurbsCallback((int)nurb, (Glu.Enums.NurbsCallback)which, (IntPtr)CallBackFunc_ptr.AddrOfPinnedObject());
}
finally
{
CallBackFunc_ptr.Free();
}
}
public static
void NurbsCallbackData(int nurb, IntPtr userData)
{
@ -622,20 +608,6 @@ namespace OpenTK.OpenGL
Delegates.gluQuadricCallback((int)quad, (Glu.Enums.QuadricCallback)which, (IntPtr)CallBackFunc);
}
public static
void QuadricCallback(int quad, Glu.Enums.QuadricCallback which, [In, Out] object CallBackFunc)
{
System.Runtime.InteropServices.GCHandle CallBackFunc_ptr = System.Runtime.InteropServices.GCHandle.Alloc(CallBackFunc, System.Runtime.InteropServices.GCHandleType.Pinned);
try
{
Delegates.gluQuadricCallback((int)quad, (Glu.Enums.QuadricCallback)which, (IntPtr)CallBackFunc_ptr.AddrOfPinnedObject());
}
finally
{
CallBackFunc_ptr.Free();
}
}
public static
void QuadricDrawStyle(int quad, Glu.Enums.QuadricDrawStyle draw)
{
@ -720,20 +692,6 @@ namespace OpenTK.OpenGL
Delegates.gluTessCallback((int)tess, (Glu.Enums.TessCallback)which, (IntPtr)CallBackFunc);
}
public static
void TessCallback(int tess, Glu.Enums.TessCallback which, [In, Out] object CallBackFunc)
{
System.Runtime.InteropServices.GCHandle CallBackFunc_ptr = System.Runtime.InteropServices.GCHandle.Alloc(CallBackFunc, System.Runtime.InteropServices.GCHandleType.Pinned);
try
{
Delegates.gluTessCallback((int)tess, (Glu.Enums.TessCallback)which, (IntPtr)CallBackFunc_ptr.AddrOfPinnedObject());
}
finally
{
CallBackFunc_ptr.Free();
}
}
public static
void TessEndContour(int tess)
{

File diff suppressed because it is too large Load diff

View file

@ -6,9 +6,8 @@ namespace OpenTK.Platform.Windows
partial class Wgl
{
internal static class Imports
internal static partial class Imports
{
static Imports() { }
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(Wgl.Library, EntryPoint = "wglCreateContext", ExactSpelling = true)]

View file

@ -2,307 +2,304 @@ namespace OpenTK.Platform.Windows
{
using System;
using System.Runtime.InteropServices;
#pragma warning disable 0649
partial class Wgl
{
internal static class Delegates
internal static partial class Delegates
{
static Delegates()
{
}
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr CreateContext(IntPtr hDc);
internal static CreateContext wglCreateContext = null;
internal static CreateContext wglCreateContext;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean DeleteContext(IntPtr oldContext);
internal static DeleteContext wglDeleteContext = null;
internal static DeleteContext wglDeleteContext;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetCurrentContext();
internal static GetCurrentContext wglGetCurrentContext = null;
internal static GetCurrentContext wglGetCurrentContext;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean MakeCurrent(IntPtr hDc, IntPtr newContext);
internal static MakeCurrent wglMakeCurrent = null;
internal static MakeCurrent wglMakeCurrent;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean CopyContext(IntPtr hglrcSrc, IntPtr hglrcDst, UInt32 mask);
internal static CopyContext wglCopyContext = null;
internal static CopyContext wglCopyContext;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate int ChoosePixelFormat(IntPtr hDc, PixelFormatDescriptor* pPfd);
internal unsafe static ChoosePixelFormat wglChoosePixelFormat = null;
internal unsafe static ChoosePixelFormat wglChoosePixelFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate int DescribePixelFormat(IntPtr hdc, int ipfd, UInt32 cjpfd, PixelFormatDescriptor* ppfd);
internal unsafe static DescribePixelFormat wglDescribePixelFormat = null;
internal unsafe static DescribePixelFormat wglDescribePixelFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetCurrentDC();
internal static GetCurrentDC wglGetCurrentDC = null;
internal static GetCurrentDC wglGetCurrentDC;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetDefaultProcAddress(String lpszProc);
internal static GetDefaultProcAddress wglGetDefaultProcAddress = null;
internal static GetDefaultProcAddress wglGetDefaultProcAddress;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetProcAddress(String lpszProc);
internal static GetProcAddress wglGetProcAddress = null;
internal static GetProcAddress wglGetProcAddress;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int GetPixelFormat(IntPtr hdc);
internal static GetPixelFormat wglGetPixelFormat = null;
internal static GetPixelFormat wglGetPixelFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean SetPixelFormat(IntPtr hdc, int ipfd, PixelFormatDescriptor* ppfd);
internal unsafe static SetPixelFormat wglSetPixelFormat = null;
internal unsafe static SetPixelFormat wglSetPixelFormat;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean SwapBuffers(IntPtr hdc);
internal static SwapBuffers wglSwapBuffers = null;
internal static SwapBuffers wglSwapBuffers;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean ShareLists(IntPtr hrcSrvShare, IntPtr hrcSrvSource);
internal static ShareLists wglShareLists = null;
internal static ShareLists wglShareLists;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr CreateLayerContext(IntPtr hDc, int level);
internal static CreateLayerContext wglCreateLayerContext = null;
internal static CreateLayerContext wglCreateLayerContext;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean DescribeLayerPlane(IntPtr hDc, int pixelFormat, int layerPlane, UInt32 nBytes, LayerPlaneDescriptor* plpd);
internal unsafe static DescribeLayerPlane wglDescribeLayerPlane = null;
internal unsafe static DescribeLayerPlane wglDescribeLayerPlane;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate int SetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries = null;
internal unsafe static SetLayerPaletteEntries wglSetLayerPaletteEntries;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate int GetLayerPaletteEntries(IntPtr hdc, int iLayerPlane, int iStart, int cEntries, Int32* pcr);
internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries = null;
internal unsafe static GetLayerPaletteEntries wglGetLayerPaletteEntries;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean RealizeLayerPalette(IntPtr hdc, int iLayerPlane, Boolean bRealize);
internal static RealizeLayerPalette wglRealizeLayerPalette = null;
internal static RealizeLayerPalette wglRealizeLayerPalette;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean SwapLayerBuffers(IntPtr hdc, UInt32 fuFlags);
internal static SwapLayerBuffers wglSwapLayerBuffers = null;
internal static SwapLayerBuffers wglSwapLayerBuffers;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean UseFontBitmapsA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
internal static UseFontBitmapsA wglUseFontBitmapsA = null;
internal static UseFontBitmapsA wglUseFontBitmapsA;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean UseFontBitmapsW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase);
internal static UseFontBitmapsW wglUseFontBitmapsW = null;
internal static UseFontBitmapsW wglUseFontBitmapsW;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean UseFontOutlinesA(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
internal unsafe static UseFontOutlinesA wglUseFontOutlinesA = null;
internal unsafe static UseFontOutlinesA wglUseFontOutlinesA;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean UseFontOutlinesW(IntPtr hDC, Int32 first, Int32 count, Int32 listBase, float thickness, float deviation, Int32 fontMode, GlyphMetricsFloat* glyphMetrics);
internal unsafe static UseFontOutlinesW wglUseFontOutlinesW = null;
internal unsafe static UseFontOutlinesW wglUseFontOutlinesW;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr CreateBufferRegionARB(IntPtr hDC, int iLayerPlane, UInt32 uType);
internal static CreateBufferRegionARB wglCreateBufferRegionARB = null;
internal static CreateBufferRegionARB wglCreateBufferRegionARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DeleteBufferRegionARB(IntPtr hRegion);
internal static DeleteBufferRegionARB wglDeleteBufferRegionARB = null;
internal static DeleteBufferRegionARB wglDeleteBufferRegionARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean SaveBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height);
internal static SaveBufferRegionARB wglSaveBufferRegionARB = null;
internal static SaveBufferRegionARB wglSaveBufferRegionARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean RestoreBufferRegionARB(IntPtr hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
internal static RestoreBufferRegionARB wglRestoreBufferRegionARB = null;
internal static RestoreBufferRegionARB wglRestoreBufferRegionARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetExtensionsStringARB(IntPtr hdc);
internal static GetExtensionsStringARB wglGetExtensionsStringARB = null;
internal static GetExtensionsStringARB wglGetExtensionsStringARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetPixelFormatAttribivARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] int* piValues);
internal unsafe static GetPixelFormatAttribivARB wglGetPixelFormatAttribivARB = null;
internal unsafe static GetPixelFormatAttribivARB wglGetPixelFormatAttribivARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetPixelFormatAttribfvARB(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, int* piAttributes, [Out] Single* pfValues);
internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB = null;
internal unsafe static GetPixelFormatAttribfvARB wglGetPixelFormatAttribfvARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean ChoosePixelFormatARB(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB = null;
internal unsafe static ChoosePixelFormatARB wglChoosePixelFormatARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean MakeContextCurrentARB(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
internal static MakeContextCurrentARB wglMakeContextCurrentARB = null;
internal static MakeContextCurrentARB wglMakeContextCurrentARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetCurrentReadDCARB();
internal static GetCurrentReadDCARB wglGetCurrentReadDCARB = null;
internal static GetCurrentReadDCARB wglGetCurrentReadDCARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate IntPtr CreatePbufferARB(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
internal unsafe static CreatePbufferARB wglCreatePbufferARB = null;
internal unsafe static CreatePbufferARB wglCreatePbufferARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetPbufferDCARB(IntPtr hPbuffer);
internal static GetPbufferDCARB wglGetPbufferDCARB = null;
internal static GetPbufferDCARB wglGetPbufferDCARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int ReleasePbufferDCARB(IntPtr hPbuffer, IntPtr hDC);
internal static ReleasePbufferDCARB wglReleasePbufferDCARB = null;
internal static ReleasePbufferDCARB wglReleasePbufferDCARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean DestroyPbufferARB(IntPtr hPbuffer);
internal static DestroyPbufferARB wglDestroyPbufferARB = null;
internal static DestroyPbufferARB wglDestroyPbufferARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean QueryPbufferARB(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
internal unsafe static QueryPbufferARB wglQueryPbufferARB = null;
internal unsafe static QueryPbufferARB wglQueryPbufferARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean BindTexImageARB(IntPtr hPbuffer, int iBuffer);
internal static BindTexImageARB wglBindTexImageARB = null;
internal static BindTexImageARB wglBindTexImageARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean ReleaseTexImageARB(IntPtr hPbuffer, int iBuffer);
internal static ReleaseTexImageARB wglReleaseTexImageARB = null;
internal static ReleaseTexImageARB wglReleaseTexImageARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean SetPbufferAttribARB(IntPtr hPbuffer, int* piAttribList);
internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB = null;
internal unsafe static SetPbufferAttribARB wglSetPbufferAttribARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean CreateDisplayColorTableEXT(UInt16 id);
internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT = null;
internal static CreateDisplayColorTableEXT wglCreateDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean LoadDisplayColorTableEXT(UInt16* table, UInt32 length);
internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT = null;
internal unsafe static LoadDisplayColorTableEXT wglLoadDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean BindDisplayColorTableEXT(UInt16 id);
internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT = null;
internal static BindDisplayColorTableEXT wglBindDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DestroyDisplayColorTableEXT(UInt16 id);
internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT = null;
internal static DestroyDisplayColorTableEXT wglDestroyDisplayColorTableEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetExtensionsStringEXT();
internal static GetExtensionsStringEXT wglGetExtensionsStringEXT = null;
internal static GetExtensionsStringEXT wglGetExtensionsStringEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean MakeContextCurrentEXT(IntPtr hDrawDC, IntPtr hReadDC, IntPtr hglrc);
internal static MakeContextCurrentEXT wglMakeContextCurrentEXT = null;
internal static MakeContextCurrentEXT wglMakeContextCurrentEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetCurrentReadDCEXT();
internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT = null;
internal static GetCurrentReadDCEXT wglGetCurrentReadDCEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate IntPtr CreatePbufferEXT(IntPtr hDC, int iPixelFormat, int iWidth, int iHeight, int* piAttribList);
internal unsafe static CreatePbufferEXT wglCreatePbufferEXT = null;
internal unsafe static CreatePbufferEXT wglCreatePbufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr GetPbufferDCEXT(IntPtr hPbuffer);
internal static GetPbufferDCEXT wglGetPbufferDCEXT = null;
internal static GetPbufferDCEXT wglGetPbufferDCEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int ReleasePbufferDCEXT(IntPtr hPbuffer, IntPtr hDC);
internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT = null;
internal static ReleasePbufferDCEXT wglReleasePbufferDCEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean DestroyPbufferEXT(IntPtr hPbuffer);
internal static DestroyPbufferEXT wglDestroyPbufferEXT = null;
internal static DestroyPbufferEXT wglDestroyPbufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean QueryPbufferEXT(IntPtr hPbuffer, int iAttribute, [Out] int* piValue);
internal unsafe static QueryPbufferEXT wglQueryPbufferEXT = null;
internal unsafe static QueryPbufferEXT wglQueryPbufferEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetPixelFormatAttribivEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] int* piValues);
internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT = null;
internal unsafe static GetPixelFormatAttribivEXT wglGetPixelFormatAttribivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetPixelFormatAttribfvEXT(IntPtr hdc, int iPixelFormat, int iLayerPlane, UInt32 nAttributes, [Out] int* piAttributes, [Out] Single* pfValues);
internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT = null;
internal unsafe static GetPixelFormatAttribfvEXT wglGetPixelFormatAttribfvEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean ChoosePixelFormatEXT(IntPtr hdc, int* piAttribIList, Single* pfAttribFList, UInt32 nMaxFormats, [Out] int* piFormats, [Out] UInt32* nNumFormats);
internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT = null;
internal unsafe static ChoosePixelFormatEXT wglChoosePixelFormatEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean SwapIntervalEXT(int interval);
internal static SwapIntervalEXT wglSwapIntervalEXT = null;
internal static SwapIntervalEXT wglSwapIntervalEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate int GetSwapIntervalEXT();
internal static GetSwapIntervalEXT wglGetSwapIntervalEXT = null;
internal static GetSwapIntervalEXT wglGetSwapIntervalEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority);
internal static AllocateMemoryNV wglAllocateMemoryNV = null;
internal unsafe delegate IntPtr AllocateMemoryNV(Int32 size, Single readfreq, Single writefreq, Single priority);
internal unsafe static AllocateMemoryNV wglAllocateMemoryNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void FreeMemoryNV([Out] void* pointer);
internal unsafe static FreeMemoryNV wglFreeMemoryNV = null;
internal delegate void FreeMemoryNV([Out] IntPtr pointer);
internal static FreeMemoryNV wglFreeMemoryNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetSyncValuesOML(IntPtr hdc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
internal unsafe static GetSyncValuesOML wglGetSyncValuesOML = null;
internal unsafe static GetSyncValuesOML wglGetSyncValuesOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetMscRateOML(IntPtr hdc, [Out] Int32* numerator, [Out] Int32* denominator);
internal unsafe static GetMscRateOML wglGetMscRateOML = null;
internal unsafe static GetMscRateOML wglGetMscRateOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int64 SwapBuffersMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder);
internal static SwapBuffersMscOML wglSwapBuffersMscOML = null;
internal static SwapBuffersMscOML wglSwapBuffersMscOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Int64 SwapLayerBuffersMscOML(IntPtr hdc, int fuPlanes, Int64 target_msc, Int64 divisor, Int64 remainder);
internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML = null;
internal static SwapLayerBuffersMscOML wglSwapLayerBuffersMscOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean WaitForMscOML(IntPtr hdc, Int64 target_msc, Int64 divisor, Int64 remainder, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
internal unsafe static WaitForMscOML wglWaitForMscOML = null;
internal unsafe static WaitForMscOML wglWaitForMscOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean WaitForSbcOML(IntPtr hdc, Int64 target_sbc, [Out] Int64* ust, [Out] Int64* msc, [Out] Int64* sbc);
internal unsafe static WaitForSbcOML wglWaitForSbcOML = null;
internal unsafe static WaitForSbcOML wglWaitForSbcOML;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D = null;
internal unsafe static GetDigitalVideoParametersI3D wglGetDigitalVideoParametersI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean SetDigitalVideoParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D = null;
internal unsafe static SetDigitalVideoParametersI3D wglSetDigitalVideoParametersI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGammaTableParametersI3D(IntPtr hDC, int iAttribute, [Out] int* piValue);
internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D = null;
internal unsafe static GetGammaTableParametersI3D wglGetGammaTableParametersI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean SetGammaTableParametersI3D(IntPtr hDC, int iAttribute, int* piValue);
internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D = null;
internal unsafe static SetGammaTableParametersI3D wglSetGammaTableParametersI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGammaTableI3D(IntPtr hDC, int iEntries, [Out] UInt16* puRed, [Out] UInt16* puGreen, [Out] UInt16* puBlue);
internal unsafe static GetGammaTableI3D wglGetGammaTableI3D = null;
internal unsafe static GetGammaTableI3D wglGetGammaTableI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean SetGammaTableI3D(IntPtr hDC, int iEntries, UInt16* puRed, UInt16* puGreen, UInt16* puBlue);
internal unsafe static SetGammaTableI3D wglSetGammaTableI3D = null;
internal unsafe static SetGammaTableI3D wglSetGammaTableI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean EnableGenlockI3D(IntPtr hDC);
internal static EnableGenlockI3D wglEnableGenlockI3D = null;
internal static EnableGenlockI3D wglEnableGenlockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean DisableGenlockI3D(IntPtr hDC);
internal static DisableGenlockI3D wglDisableGenlockI3D = null;
internal static DisableGenlockI3D wglDisableGenlockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean IsEnabledGenlockI3D(IntPtr hDC, [Out] Boolean* pFlag);
internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D = null;
internal unsafe static IsEnabledGenlockI3D wglIsEnabledGenlockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean GenlockSourceI3D(IntPtr hDC, UInt32 uSource);
internal static GenlockSourceI3D wglGenlockSourceI3D = null;
internal static GenlockSourceI3D wglGenlockSourceI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGenlockSourceI3D(IntPtr hDC, [Out] UInt32* uSource);
internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D = null;
internal unsafe static GetGenlockSourceI3D wglGetGenlockSourceI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean GenlockSourceEdgeI3D(IntPtr hDC, UInt32 uEdge);
internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D = null;
internal static GenlockSourceEdgeI3D wglGenlockSourceEdgeI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGenlockSourceEdgeI3D(IntPtr hDC, [Out] UInt32* uEdge);
internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D = null;
internal unsafe static GetGenlockSourceEdgeI3D wglGetGenlockSourceEdgeI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean GenlockSampleRateI3D(IntPtr hDC, UInt32 uRate);
internal static GenlockSampleRateI3D wglGenlockSampleRateI3D = null;
internal static GenlockSampleRateI3D wglGenlockSampleRateI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGenlockSampleRateI3D(IntPtr hDC, [Out] UInt32* uRate);
internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D = null;
internal unsafe static GetGenlockSampleRateI3D wglGetGenlockSampleRateI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean GenlockSourceDelayI3D(IntPtr hDC, UInt32 uDelay);
internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D = null;
internal static GenlockSourceDelayI3D wglGenlockSourceDelayI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetGenlockSourceDelayI3D(IntPtr hDC, [Out] UInt32* uDelay);
internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D = null;
internal unsafe static GetGenlockSourceDelayI3D wglGetGenlockSourceDelayI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean QueryGenlockMaxSourceDelayI3D(IntPtr hDC, [Out] UInt32* uMaxLineDelay, [Out] UInt32* uMaxPixelDelay);
internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D = null;
internal unsafe static QueryGenlockMaxSourceDelayI3D wglQueryGenlockMaxSourceDelayI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags);
internal static CreateImageBufferI3D wglCreateImageBufferI3D = null;
internal unsafe delegate IntPtr CreateImageBufferI3D(IntPtr hDC, Int32 dwSize, UInt32 uFlags);
internal unsafe static CreateImageBufferI3D wglCreateImageBufferI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean DestroyImageBufferI3D(IntPtr hDC, void* pAddress);
internal unsafe static DestroyImageBufferI3D wglDestroyImageBufferI3D = null;
internal delegate Boolean DestroyImageBufferI3D(IntPtr hDC, IntPtr pAddress);
internal static DestroyImageBufferI3D wglDestroyImageBufferI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr pEvent, void* pAddress, Int32* pSize, UInt32 count);
internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D = null;
internal unsafe delegate Boolean AssociateImageBufferEventsI3D(IntPtr hDC, IntPtr pEvent, IntPtr pAddress, Int32* pSize, UInt32 count);
internal unsafe static AssociateImageBufferEventsI3D wglAssociateImageBufferEventsI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, void* pAddress, UInt32 count);
internal unsafe static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D = null;
internal delegate Boolean ReleaseImageBufferEventsI3D(IntPtr hDC, IntPtr pAddress, UInt32 count);
internal static ReleaseImageBufferEventsI3D wglReleaseImageBufferEventsI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean EnableFrameLockI3D();
internal static EnableFrameLockI3D wglEnableFrameLockI3D = null;
internal static EnableFrameLockI3D wglEnableFrameLockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean DisableFrameLockI3D();
internal static DisableFrameLockI3D wglDisableFrameLockI3D = null;
internal static DisableFrameLockI3D wglDisableFrameLockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean IsEnabledFrameLockI3D([Out] Boolean* pFlag);
internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D = null;
internal unsafe static IsEnabledFrameLockI3D wglIsEnabledFrameLockI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean QueryFrameLockMasterI3D([Out] Boolean* pFlag);
internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D = null;
internal unsafe static QueryFrameLockMasterI3D wglQueryFrameLockMasterI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean GetFrameUsageI3D([Out] float* pUsage);
internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D = null;
internal unsafe static GetFrameUsageI3D wglGetFrameUsageI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean BeginFrameTrackingI3D();
internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D = null;
internal static BeginFrameTrackingI3D wglBeginFrameTrackingI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate Boolean EndFrameTrackingI3D();
internal static EndFrameTrackingI3D wglEndFrameTrackingI3D = null;
internal static EndFrameTrackingI3D wglEndFrameTrackingI3D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Boolean QueryFrameTrackingI3D([Out] Int32* pFrameCount, [Out] Int32* pMissedFrames, [Out] float* pLastMissedUsage);
internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D = null;
internal unsafe static QueryFrameTrackingI3D wglQueryFrameTrackingI3D;
}
}
#pragma warning restore 0649
}

View file

@ -11,7 +11,7 @@ namespace OpenTK.Platform.Windows
BACK_COLOR_BUFFER_BIT_ARB = ((int)0x00000002),
FRONT_COLOR_BUFFER_BIT_ARB = ((int)0x00000001),
}
public enum WGL_EXT_pixel_format
{
SWAP_LAYER_BUFFERS_EXT = ((int)0x2006),
@ -60,7 +60,7 @@ namespace OpenTK.Platform.Windows
ACCUM_BLUE_BITS_EXT = ((int)0x2020),
NEED_PALETTE_EXT = ((int)0x2004),
}
public enum WGL_ARB_pixel_format
{
SHARE_DEPTH_ARB = ((int)0x200C),
@ -120,7 +120,7 @@ namespace OpenTK.Platform.Windows
SUPPORT_OPENGL_ARB = ((int)0x2010),
ACCUM_BLUE_BITS_ARB = ((int)0x2020),
}
public enum WGL_EXT_pbuffer
{
DRAW_TO_PBUFFER_EXT = ((int)0x202D),
@ -133,7 +133,7 @@ namespace OpenTK.Platform.Windows
MAX_PBUFFER_WIDTH_EXT = ((int)0x202F),
MAX_PBUFFER_PIXELS_EXT = ((int)0x202E),
}
public enum WGL_ARB_pbuffer
{
MAX_PBUFFER_WIDTH_ARB = ((int)0x202F),
@ -150,35 +150,35 @@ namespace OpenTK.Platform.Windows
TRANSPARENT_GREEN_VALUE_ARB = ((int)0x2038),
TRANSPARENT_RED_VALUE_ARB = ((int)0x2037),
}
public enum WGL_EXT_depth_float
{
DEPTH_FLOAT_EXT = ((int)0x2040),
}
public enum WGL_EXT_multisample
{
SAMPLE_BUFFERS_EXT = ((int)0x2041),
SAMPLES_EXT = ((int)0x2042),
}
public enum WGL_ARB_multisample
{
SAMPLE_BUFFERS_ARB = ((int)0x2041),
SAMPLES_ARB = ((int)0x2042),
}
public enum WGL_EXT_make_current_read
{
ERROR_INVALID_PIXEL_TYPE_EXT = ((int)0x2043),
}
public enum WGL_ARB_make_current_read
{
ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = ((int)0x2054),
ERROR_INVALID_PIXEL_TYPE_ARB = ((int)0x2043),
}
public enum WGL_I3D_genlock
{
GENLOCK_SOURCE_EDGE_BOTH_I3D = ((int)0x204C),
@ -191,13 +191,13 @@ namespace OpenTK.Platform.Windows
GENLOCK_SOURCE_MULTIVIEW_I3D = ((int)0x2044),
GENLOCK_SOURCE_EXTENAL_FIELD_I3D = ((int)0x2046),
}
public enum WGL_I3D_gamma
{
GAMMA_TABLE_SIZE_I3D = ((int)0x204E),
GAMMA_EXCLUDE_DESKTOP_I3D = ((int)0x204F),
}
public enum WGL_I3D_digital_video_control
{
DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = ((int)0x2053),
@ -205,13 +205,13 @@ namespace OpenTK.Platform.Windows
DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = ((int)0x2052),
DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = ((int)0x2051),
}
public enum WGL_3DFX_multisample
{
SAMPLES_3DFX = ((int)0x2061),
SAMPLE_BUFFERS_3DFX = ((int)0x2060),
}
public enum WGL_ARB_render_texture
{
CUBE_MAP_FACE_ARB = ((int)0x207C),
@ -248,14 +248,14 @@ namespace OpenTK.Platform.Windows
BACK_RIGHT_ARB = ((int)0x2086),
TEXTURE_FORMAT_ARB = ((int)0x2072),
}
public enum WGL_NV_render_texture_rectangle
{
BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = ((int)0x20A1),
TEXTURE_RECTANGLE_NV = ((int)0x20A2),
BIND_TO_TEXTURE_RECTANGLE_RGB_NV = ((int)0x20A0),
}
public enum WGL_NV_render_depth_texture
{
BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = ((int)0x20A4),
@ -264,7 +264,7 @@ namespace OpenTK.Platform.Windows
DEPTH_TEXTURE_FORMAT_NV = ((int)0x20A5),
BIND_TO_TEXTURE_DEPTH_NV = ((int)0x20A3),
}
public enum WGL_NV_float_buffer
{
TEXTURE_FLOAT_RG_NV = ((int)0x20B6),
@ -277,22 +277,22 @@ namespace OpenTK.Platform.Windows
TEXTURE_FLOAT_RGBA_NV = ((int)0x20B8),
BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = ((int)0x20B1),
}
public enum WGL_ARB_pixel_format_float
{
TYPE_RGBA_FLOAT_ARB = ((int)0x21A0),
}
public enum WGL_ATI_pixel_format_float
{
TYPE_RGBA_FLOAT_ATI = ((int)0x21A0),
}
public enum WGL_font_type
{
FONT_LINES = ((int)0),
}
public enum All
{
GENLOCK_SOURCE_EXTENAL_SYNC_I3D = ((int)0x2045),
@ -491,21 +491,21 @@ namespace OpenTK.Platform.Windows
TRANSPARENT_INDEX_VALUE_ARB = ((int)0x203B),
SUPPORT_GDI_ARB = ((int)0x200F),
}
public enum WGL_ARB_extensions_string
{
}
public enum WGL_I3D_image_buffer
{
IMAGE_BUFFER_LOCK_I3D = ((int)0x00000002),
IMAGE_BUFFER_MIN_ACCESS_I3D = ((int)0x00000001),
}
public enum WGL_I3D_swap_frame_lock
{
}
}
}
}