Regenerated OpenGL bindings using the latest specs and generator.

This commit is contained in:
the_fiddler 2009-03-25 18:15:04 +00:00
parent 90820c9f7e
commit 8a14fdb477
4 changed files with 44548 additions and 8890 deletions

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
// //
// The Open Toolkit Library License // The Open Toolkit Library License
// //
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. // Copyright (c) 2006 - 2009 the Open Toolkit library.
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
@ -1816,10 +1816,10 @@ namespace OpenTK.Graphics
internal extern static void BindBufferBase(OpenTK.Graphics.Version30 target, UInt32 index, UInt32 buffer); internal extern static void BindBufferBase(OpenTK.Graphics.Version30 target, UInt32 index, UInt32 buffer);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTransformFeedbackVaryings", ExactSpelling = true)]
internal extern static unsafe void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.Version30 bufferMode); internal extern static void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.Version30 bufferMode);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTransformFeedbackVarying", ExactSpelling = true)]
internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location); internal extern static unsafe void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.Version30* type, [Out] System.Text.StringBuilder name);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClampColor", ExactSpelling = true)]
internal extern static void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp); internal extern static void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp);
@ -2007,8 +2007,8 @@ namespace OpenTK.Graphics
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetFramebufferAttachmentParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); internal extern static unsafe void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerate", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenerateMipmap", ExactSpelling = true)]
internal extern static void Generate(OpenTK.Graphics.GenerateMipmapTarget target); internal extern static void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBlitFramebuffer", ExactSpelling = true)]
internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter); internal extern static void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter);
@ -2023,7 +2023,7 @@ namespace OpenTK.Graphics
internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor); internal extern static void VertexAttribDivisor(UInt32 index, UInt32 divisor);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMapBufferRange", ExactSpelling = true)]
internal extern static void MapBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access); internal extern static unsafe IntPtr MapBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access);
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFlushMappedBufferRange", ExactSpelling = true)]
internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length); internal extern static void FlushMappedBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length);
@ -2039,6 +2039,45 @@ namespace OpenTK.Graphics
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glIsVertexArray", ExactSpelling = true)]
internal extern static bool IsVertexArray(UInt32 array); internal extern static bool IsVertexArray(UInt32 array);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupsAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCountersAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorGroupStringAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterStringAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterInfoAMD", ExactSpelling = true)]
internal extern static void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGenPerfMonitorsAMD", ExactSpelling = true)]
internal extern static unsafe void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDeletePerfMonitorsAMD", ExactSpelling = true)]
internal extern static unsafe void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glSelectPerfMonitorCountersAMD", ExactSpelling = true)]
internal extern static unsafe void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginPerfMonitorAMD", ExactSpelling = true)]
internal extern static void BeginPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glEndPerfMonitorAMD", ExactSpelling = true)]
internal extern static void EndPerfMonitorAMD(UInt32 monitor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetPerfMonitorCounterDataAMD", ExactSpelling = true)]
internal extern static unsafe void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationFactorAMD", ExactSpelling = true)]
internal extern static void TessellationFactorAMD(Single factor);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTessellationModeAMD", ExactSpelling = true)]
internal extern static void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode);
} }
} }
} }

View file

@ -2,7 +2,7 @@
// //
// The Open Toolkit Library License // The Open Toolkit Library License
// //
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. // Copyright (c) 2006 - 2009 the Open Toolkit library.
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
@ -1817,10 +1817,10 @@ namespace OpenTK.Graphics
internal delegate void BindBufferBase(OpenTK.Graphics.Version30 target, UInt32 index, UInt32 buffer); internal delegate void BindBufferBase(OpenTK.Graphics.Version30 target, UInt32 index, UInt32 buffer);
internal static BindBufferBase glBindBufferBase; internal static BindBufferBase glBindBufferBase;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.Version30 bufferMode); internal delegate void TransformFeedbackVaryings(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.Version30 bufferMode);
internal unsafe static TransformFeedbackVaryings glTransformFeedbackVaryings; internal static TransformFeedbackVaryings glTransformFeedbackVaryings;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, [Out] Int32* location); internal unsafe delegate void GetTransformFeedbackVarying(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.Version30* type, [Out] System.Text.StringBuilder name);
internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying; internal unsafe static GetTransformFeedbackVarying glGetTransformFeedbackVarying;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp); internal delegate void ClampColor(OpenTK.Graphics.ClampColorTarget target, OpenTK.Graphics.ClampColorMode clamp);
@ -2627,8 +2627,8 @@ namespace OpenTK.Graphics
internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params); internal unsafe delegate void GetFramebufferAttachmentParameteriv(OpenTK.Graphics.FramebufferTarget target, OpenTK.Graphics.FramebufferAttachment attachment, OpenTK.Graphics.FramebufferParameterName pname, [Out] Int32* @params);
internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv; internal unsafe static GetFramebufferAttachmentParameteriv glGetFramebufferAttachmentParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Generate(OpenTK.Graphics.GenerateMipmapTarget target); internal delegate void GenerateMipmap(OpenTK.Graphics.GenerateMipmapTarget target);
internal static Generate glGenerate; internal static GenerateMipmap glGenerateMipmap;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter); internal delegate void BlitFramebuffer(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ClearBufferMask mask, OpenTK.Graphics.BlitFramebufferFilter filter);
internal static BlitFramebuffer glBlitFramebuffer; internal static BlitFramebuffer glBlitFramebuffer;
@ -2654,8 +2654,8 @@ namespace OpenTK.Graphics
internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor); internal delegate void VertexAttribDivisor(UInt32 index, UInt32 divisor);
internal static VertexAttribDivisor glVertexAttribDivisor; internal static VertexAttribDivisor glVertexAttribDivisor;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MapBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access); internal unsafe delegate IntPtr MapBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length, UInt32 access);
internal static MapBufferRange glMapBufferRange; internal unsafe static MapBufferRange glMapBufferRange;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FlushMappedBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length); internal delegate void FlushMappedBufferRange(OpenTK.Graphics.ArbMapBufferRange target, IntPtr offset, IntPtr length);
internal static FlushMappedBufferRange glFlushMappedBufferRange; internal static FlushMappedBufferRange glFlushMappedBufferRange;
@ -4907,6 +4907,27 @@ namespace OpenTK.Graphics
internal delegate void EndConditionalRenderNV(); internal delegate void EndConditionalRenderNV();
internal static EndConditionalRenderNV glEndConditionalRenderNV; internal static EndConditionalRenderNV glEndConditionalRenderNV;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PresentFrameKeyedNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, UInt32 key0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, UInt32 key1);
internal static PresentFrameKeyedNV glPresentFrameKeyedNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void PresentFrameDualFillNV(UInt32 video_slot, UInt64 minPresentTime, UInt32 beginPresentTimeId, UInt32 presentDurationId, OpenTK.Graphics.NvPresentVideo type, OpenTK.Graphics.NvPresentVideo target0, UInt32 fill0, OpenTK.Graphics.NvPresentVideo target1, UInt32 fill1, OpenTK.Graphics.NvPresentVideo target2, UInt32 fill2, OpenTK.Graphics.NvPresentVideo target3, UInt32 fill3);
internal static PresentFrameDualFillNV glPresentFrameDualFillNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVideoivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int32* @params);
internal unsafe static GetVideoivNV glGetVideoivNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVideouivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt32* @params);
internal unsafe static GetVideouivNV glGetVideouivNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVideoi64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] Int64* @params);
internal unsafe static GetVideoi64vNV glGetVideoi64vNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetVideoui64vNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, [Out] UInt64* @params);
internal unsafe static GetVideoui64vNV glGetVideoui64vNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void VideoParameterivNV(UInt32 video_slot, OpenTK.Graphics.NvPresentVideo pname, Int32* @params);
internal unsafe static VideoParameterivNV glVideoParameterivNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.ExtTransformFeedback primitiveMode); internal delegate void BeginTransformFeedbackEXT(OpenTK.Graphics.ExtTransformFeedback primitiveMode);
internal static BeginTransformFeedbackEXT glBeginTransformFeedbackEXT; internal static BeginTransformFeedbackEXT glBeginTransformFeedbackEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
@ -4922,10 +4943,10 @@ namespace OpenTK.Graphics
internal delegate void BindBufferBaseEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer); internal delegate void BindBufferBaseEXT(OpenTK.Graphics.ExtTransformFeedback target, UInt32 index, UInt32 buffer);
internal static BindBufferBaseEXT glBindBufferBaseEXT; internal static BindBufferBaseEXT glBindBufferBaseEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, Int32* locations, OpenTK.Graphics.ExtTransformFeedback bufferMode); internal delegate void TransformFeedbackVaryingsEXT(UInt32 program, Int32 count, String varyings, OpenTK.Graphics.ExtTransformFeedback bufferMode);
internal unsafe static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT; internal static TransformFeedbackVaryingsEXT glTransformFeedbackVaryingsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, [Out] Int32* location); internal unsafe delegate void GetTransformFeedbackVaryingEXT(UInt32 program, UInt32 index, Int32 bufSize, [Out] Int32* length, [Out] Int32* size, [Out] OpenTK.Graphics.ExtTransformFeedback* type, [Out] System.Text.StringBuilder name);
internal unsafe static GetTransformFeedbackVaryingEXT glGetTransformFeedbackVaryingEXT; internal unsafe static GetTransformFeedbackVaryingEXT glGetTransformFeedbackVaryingEXT;
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask); internal delegate void ClientAttribDefaultEXT(OpenTK.Graphics.ClientAttribMask mask);
@ -5515,6 +5536,48 @@ namespace OpenTK.Graphics
[System.Security.SuppressUnmanagedCodeSecurity()] [System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id); internal delegate void DrawTransformFeedbackNV(OpenTK.Graphics.NvTransformFeedback2 mode, UInt32 id);
internal static DrawTransformFeedbackNV glDrawTransformFeedbackNV; internal static DrawTransformFeedbackNV glDrawTransformFeedbackNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorGroupsAMD([Out] Int32* numGroups, Int32 groupsSize, [Out] UInt32* groups);
internal unsafe static GetPerfMonitorGroupsAMD glGetPerfMonitorGroupsAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCountersAMD(UInt32 group, [Out] Int32* numCounters, [Out] Int32* maxActiveCounters, Int32 counterSize, [Out] UInt32* counters);
internal unsafe static GetPerfMonitorCountersAMD glGetPerfMonitorCountersAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorGroupStringAMD(UInt32 group, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder groupString);
internal unsafe static GetPerfMonitorGroupStringAMD glGetPerfMonitorGroupStringAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCounterStringAMD(UInt32 group, UInt32 counter, Int32 bufSize, [Out] Int32* length, [Out] System.Text.StringBuilder counterString);
internal unsafe static GetPerfMonitorCounterStringAMD glGetPerfMonitorCounterStringAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void GetPerfMonitorCounterInfoAMD(UInt32 group, UInt32 counter, OpenTK.Graphics.AmdPerformanceMonitor pname, [Out] IntPtr data);
internal static GetPerfMonitorCounterInfoAMD glGetPerfMonitorCounterInfoAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GenPerfMonitorsAMD(Int32 n, [Out] UInt32* monitors);
internal unsafe static GenPerfMonitorsAMD glGenPerfMonitorsAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void DeletePerfMonitorsAMD(Int32 n, [Out] UInt32* monitors);
internal unsafe static DeletePerfMonitorsAMD glDeletePerfMonitorsAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void SelectPerfMonitorCountersAMD(UInt32 monitor, bool enable, UInt32 group, Int32 numCounters, [Out] UInt32* counterList);
internal unsafe static SelectPerfMonitorCountersAMD glSelectPerfMonitorCountersAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginPerfMonitorAMD(UInt32 monitor);
internal static BeginPerfMonitorAMD glBeginPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void EndPerfMonitorAMD(UInt32 monitor);
internal static EndPerfMonitorAMD glEndPerfMonitorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetPerfMonitorCounterDataAMD(UInt32 monitor, OpenTK.Graphics.AmdPerformanceMonitor pname, Int32 dataSize, [Out] UInt32* data, [Out] Int32* bytesWritten);
internal unsafe static GetPerfMonitorCounterDataAMD glGetPerfMonitorCounterDataAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TessellationFactorAMD(Single factor);
internal static TessellationFactorAMD glTessellationFactorAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TessellationModeAMD(OpenTK.Graphics.AmdVertexShaderTesselator mode);
internal static TessellationModeAMD glTessellationModeAMD;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ProvokingVertexEXT(OpenTK.Graphics.ExtProvokingVertex mode);
internal static ProvokingVertexEXT glProvokingVertexEXT;
} }
} }
} }

View file

@ -2,7 +2,7 @@
// //
// The Open Toolkit Library License // The Open Toolkit Library License
// //
// Copyright (c) 2006 - 2008 the Open Toolkit library, except where noted. // Copyright (c) 2006 - 2009 the Open Toolkit library.
// //
// Permission is hereby granted, free of charge, to any person obtaining a copy // Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal // of this software and associated documentation files (the "Software"), to deal
@ -2491,8 +2491,14 @@ namespace OpenTK.Graphics
public enum Version12 public enum Version12
{ {
SmoothPointSizeRange = ((int)0X0b12),
SmoothPointSizeGranularity = ((int)0X0b13),
SmoothLineWidthRange = ((int)0X0b22),
SmoothLineWidthGranularity = ((int)0X0b23),
MaxElementsVertices = ((int)0X80e8), MaxElementsVertices = ((int)0X80e8),
MaxElementsIndices = ((int)0X80e9), MaxElementsIndices = ((int)0X80e9),
AliasedPointSizeRange = ((int)0X846d),
AliasedLineWidthRange = ((int)0X846e),
} }
public enum SgisTextureSelect public enum SgisTextureSelect
@ -2743,10 +2749,13 @@ namespace OpenTK.Graphics
public enum SgixDepthTexture public enum SgixDepthTexture
{ {
DepthComponent16 = ((int)0X81a5), DepthComponent16 = ((int)0X81a5),
DepthComponent16Arb = ((int)0X81a5),
DepthComponent16Sgix = ((int)0X81a5), DepthComponent16Sgix = ((int)0X81a5),
DepthComponent24 = ((int)0X81a6), DepthComponent24 = ((int)0X81a6),
DepthComponent24Arb = ((int)0X81a6),
DepthComponent24Sgix = ((int)0X81a6), DepthComponent24Sgix = ((int)0X81a6),
DepthComponent32 = ((int)0X81a7), DepthComponent32 = ((int)0X81a7),
DepthComponent32Arb = ((int)0X81a7),
DepthComponent32Sgix = ((int)0X81a7), DepthComponent32Sgix = ((int)0X81a7),
} }
@ -5134,6 +5143,9 @@ namespace OpenTK.Graphics
PnTrianglesPointModeCubicAti = ((int)0X87f6), PnTrianglesPointModeCubicAti = ((int)0X87f6),
PnTrianglesNormalModeLinearAti = ((int)0X87f7), PnTrianglesNormalModeLinearAti = ((int)0X87f7),
PnTrianglesNormalModeQuadraticAti = ((int)0X87f8), PnTrianglesNormalModeQuadraticAti = ((int)0X87f8),
VboFreeMemoryAti = ((int)0X87fb),
TextureFreeMemoryAti = ((int)0X87fc),
RenderbufferFreeMemoryAti = ((int)0X87fd),
StencilBackFunc = ((int)0X8800), StencilBackFunc = ((int)0X8800),
StencilBackFuncAti = ((int)0X8800), StencilBackFuncAti = ((int)0X8800),
StencilBackFail = ((int)0X8801), StencilBackFail = ((int)0X8801),
@ -5704,6 +5716,13 @@ namespace OpenTK.Graphics
CurrentProgram = ((int)0X8b8d), CurrentProgram = ((int)0X8b8d),
ImplementationColorReadTypeOes = ((int)0X8b9a), ImplementationColorReadTypeOes = ((int)0X8b9a),
ImplementationColorReadFormatOes = ((int)0X8b9b), ImplementationColorReadFormatOes = ((int)0X8b9b),
CounterTypeAmd = ((int)0X8bc0),
CounterRangeAmd = ((int)0X8bc1),
UnsignedInt64Amd = ((int)0X8bc2),
PercentageAmd = ((int)0X8bc3),
PerfmonResultAvailableAmd = ((int)0X8bc4),
PerfmonResultSizeAmd = ((int)0X8bc5),
PerfmonResultAmd = ((int)0X8bc6),
TextureRedType = ((int)0X8c10), TextureRedType = ((int)0X8c10),
TextureRedTypeArb = ((int)0X8c10), TextureRedTypeArb = ((int)0X8c10),
TextureGreenType = ((int)0X8c11), TextureGreenType = ((int)0X8c11),
@ -6159,6 +6178,10 @@ namespace OpenTK.Graphics
TextureSwizzleBExt = ((int)0X8e44), TextureSwizzleBExt = ((int)0X8e44),
TextureSwizzleAExt = ((int)0X8e45), TextureSwizzleAExt = ((int)0X8e45),
TextureSwizzleRgbaExt = ((int)0X8e46), TextureSwizzleRgbaExt = ((int)0X8e46),
QuadsFollowProvokingVertexConventionExt = ((int)0X8e4c),
FirstVertexConventionExt = ((int)0X8e4d),
LastVertexConventionExt = ((int)0X8e4e),
ProvokingVertexExt = ((int)0X8e4f),
SamplePositionNv = ((int)0X8e50), SamplePositionNv = ((int)0X8e50),
SampleMaskNv = ((int)0X8e51), SampleMaskNv = ((int)0X8e51),
SampleMaskValueNv = ((int)0X8e52), SampleMaskValueNv = ((int)0X8e52),
@ -6169,6 +6192,13 @@ namespace OpenTK.Graphics
IntSamplerRenderbufferNv = ((int)0X8e57), IntSamplerRenderbufferNv = ((int)0X8e57),
UnsignedIntSamplerRenderbufferNv = ((int)0X8e58), UnsignedIntSamplerRenderbufferNv = ((int)0X8e58),
MaxSampleMaskWordsNv = ((int)0X8e59), MaxSampleMaskWordsNv = ((int)0X8e59),
SamplerBufferAmd = ((int)0X9001),
IntSamplerBufferAmd = ((int)0X9002),
UnsignedIntSamplerBufferAmd = ((int)0X9003),
TessellationModeAmd = ((int)0X9004),
TessellationFactorAmd = ((int)0X9005),
DiscreteAmd = ((int)0X9006),
ContinuousAmd = ((int)0X9007),
AllAttribBits = unchecked((int)0Xffffffff), AllAttribBits = unchecked((int)0Xffffffff),
ClientAllAttribBits = unchecked((int)0Xffffffff), ClientAllAttribBits = unchecked((int)0Xffffffff),
One = ((int)1), One = ((int)1),
@ -6202,7 +6232,12 @@ namespace OpenTK.Graphics
ConstantAlpha = ((int)0X8003), ConstantAlpha = ((int)0X8003),
OneMinusConstantAlpha = ((int)0X8004), OneMinusConstantAlpha = ((int)0X8004),
BlendColor = ((int)0X8005), BlendColor = ((int)0X8005),
FuncAdd = ((int)0X8006),
Min = ((int)0X8007),
Max = ((int)0X8008),
BlendEquation = ((int)0X8009), BlendEquation = ((int)0X8009),
FuncSubtract = ((int)0X800a),
FuncReverseSubtract = ((int)0X800b),
Convolution1D = ((int)0X8010), Convolution1D = ((int)0X8010),
Convolution2D = ((int)0X8011), Convolution2D = ((int)0X8011),
Separable2D = ((int)0X8012), Separable2D = ((int)0X8012),
@ -9329,6 +9364,47 @@ namespace OpenTK.Graphics
TransformFeedbackBindingNv = ((int)0X8e25), TransformFeedbackBindingNv = ((int)0X8e25),
} }
public enum AtiMeminfo
{
VboFreeMemoryAti = ((int)0X87fb),
TextureFreeMemoryAti = ((int)0X87fc),
RenderbufferFreeMemoryAti = ((int)0X87fd),
}
public enum AmdPerformanceMonitor
{
CounterTypeAmd = ((int)0X8bc0),
CounterRangeAmd = ((int)0X8bc1),
UnsignedInt64Amd = ((int)0X8bc2),
PercentageAmd = ((int)0X8bc3),
PerfmonResultAvailableAmd = ((int)0X8bc4),
PerfmonResultSizeAmd = ((int)0X8bc5),
PerfmonResultAmd = ((int)0X8bc6),
}
public enum AmdTextureTexture4
{
}
public enum AmdVertexShaderTesselator
{
SamplerBufferAmd = ((int)0X9001),
IntSamplerBufferAmd = ((int)0X9002),
UnsignedIntSamplerBufferAmd = ((int)0X9003),
TessellationModeAmd = ((int)0X9004),
TessellationFactorAmd = ((int)0X9005),
DiscreteAmd = ((int)0X9006),
ContinuousAmd = ((int)0X9007),
}
public enum ExtProvokingVertex
{
QuadsFollowProvokingVertexConventionExt = ((int)0X8e4c),
FirstVertexConventionExt = ((int)0X8e4d),
LastVertexConventionExt = ((int)0X8e4e),
ProvokingVertexExt = ((int)0X8e4f),
}
public enum BlendEquationMode public enum BlendEquationMode
{ {
FuncAdd = ((int)0X8006), FuncAdd = ((int)0X8006),