Merge branch 'master' of https://github.com/thefiddler/opentk into modes

This commit is contained in:
Stefanos A 2013-11-08 16:41:20 +01:00
commit 5b5a395bbd
11 changed files with 170 additions and 329 deletions

View file

@ -207,20 +207,17 @@ namespace Bind
foreach (var overloads in delegates.Values)
{
int overload_count = -1;
foreach (var d in overloads)
{
overload_count++;
string overload_suffix = overload_count > 0 ? overload_count.ToString() : String.Empty;
d.Name += overload_suffix;
// Generate only one delegate per entry point..
// Overloads are only used for wrapper generation,
// so ignore them.
var d = overloads.First();
sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]");
sw.WriteLine("internal {0};", GetDeclarationString(d, true));
sw.WriteLine("internal {0}static {2} {1}{2};", // = null
d.Unsafe ? "unsafe " : "",
Settings.FunctionPrefix,
d.Name);
}
sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]");
sw.WriteLine("internal {0};", GetDeclarationString(d, true));
sw.WriteLine("internal {0}static {2} {1}{2};", // = null
d.Unsafe ? "unsafe " : "",
Settings.FunctionPrefix,
d.Name);
}
sw.Unindent();
@ -251,8 +248,9 @@ namespace Bind
sw.Indent();
//sw.WriteLine("static {0}() {1} {2}", Settings.ImportsClass, "{", "}"); // Disable BeforeFieldInit
sw.WriteLine();
foreach (Delegate d in delegates.Values.SelectMany(v => v))
foreach (var overloads in delegates.Values)
{
var d = overloads.First(); // generate only 1 DllImport per entry point
sw.WriteLine("[System.Security.SuppressUnmanagedCodeSecurity()]");
sw.WriteLine(
"[System.Runtime.InteropServices.DllImport({0}.Library, EntryPoint = \"{1}{2}\"{3})]",

View file

@ -115,11 +115,28 @@ namespace Bind
Console.WriteLine("Removing non-CLS compliant duplicates.");
wrappers = MarkCLSCompliance(wrappers);
Console.WriteLine("Removing overloaded delegates.");
RemoveOverloadedDelegates(delegates, wrappers);
return wrappers;
}
#region Private Members
// When we have a list of overloaded delegates, make sure that
// all generated wrappers use the first (original) delegate, not
// the overloaded ones. This allows us to reduce the amount
// of delegates we need to generate (1 per entry point instead
// of 1 per overload), which improves loading times.
static void RemoveOverloadedDelegates(DelegateCollection delegates, FunctionCollection wrappers)
{
foreach (var w in wrappers.Values.SelectMany(w => w))
{
var d = delegates[w.Name].First();
w.WrappedDelegate = d;
}
}
static string GetPath(string apipath, string apiname, string apiversion, string function, string extension)
{
var path = new StringBuilder();

View file

@ -3212,7 +3212,7 @@ namespace OpenTK.Graphics.ES11
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArrays1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)first, (Int32)count);
Delegates.glDrawArrays((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
@ -3283,7 +3283,7 @@ namespace OpenTK.Graphics.ES11
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElements1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices);
Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -3325,7 +3325,7 @@ namespace OpenTK.Graphics.ES11
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -3372,7 +3372,7 @@ namespace OpenTK.Graphics.ES11
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -3419,7 +3419,7 @@ namespace OpenTK.Graphics.ES11
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -3466,7 +3466,7 @@ namespace OpenTK.Graphics.ES11
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES11.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES11.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES11.All)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T3)indices_ptr.Target;
}
finally

View file

@ -262,15 +262,9 @@ namespace OpenTK.Graphics.ES11
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays1(OpenTK.Graphics.ES11.BeginMode mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements1(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTexfOES", ExactSpelling = true)]
internal extern static void DrawTexfOES(Single x, Single y, Single z, Single width, Single height);
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -261,15 +261,9 @@ namespace OpenTK.Graphics.ES11
internal delegate void DrawArrays(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 first, Int32 count);
internal static DrawArrays glDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArrays1(OpenTK.Graphics.ES11.BeginMode mode, Int32 first, Int32 count);
internal static DrawArrays1 glDrawArrays1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElements(OpenTK.Graphics.ES11.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElements1(OpenTK.Graphics.ES11.BeginMode mode, Int32 count, OpenTK.Graphics.ES11.All type, IntPtr indices);
internal static DrawElements1 glDrawElements1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawTexfOES(Single x, Single y, Single z, Single width, Single height);
internal static DrawTexfOES glDrawTexfOES;
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -2864,7 +2864,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glBufferData1((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsage)usage);
Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data, (OpenTK.Graphics.ES20.BufferUsageHint)usage);
#if DEBUG
}
#endif
@ -2944,7 +2944,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData1((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage);
}
finally
{
@ -3038,7 +3038,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData1((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage);
}
finally
{
@ -3132,7 +3132,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData1((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage);
}
finally
{
@ -3226,7 +3226,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glBufferData1((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsage)usage);
Delegates.glBufferData((OpenTK.Graphics.ES20.BufferTarget)target, (IntPtr)size, (IntPtr)data_ptr.AddrOfPinnedObject(), (OpenTK.Graphics.ES20.BufferUsageHint)usage);
data = (T2)data_ptr.Target;
}
finally
@ -3755,7 +3755,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
@ -3817,7 +3817,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -3884,7 +3884,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -3951,7 +3951,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -4018,7 +4018,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.CompressedInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T7)data_ptr.Target;
}
finally
@ -4414,7 +4414,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCompressedTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data);
#if DEBUG
}
#endif
@ -4481,7 +4481,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -4553,7 +4553,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -4625,7 +4625,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
}
finally
{
@ -4697,7 +4697,7 @@ namespace OpenTK.Graphics.ES20
GCHandle data_ptr = GCHandle.Alloc(data, GCHandleType.Pinned);
try
{
Delegates.glCompressedTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
Delegates.glCompressedTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (Int32)imageSize, (IntPtr)data_ptr.AddrOfPinnedObject());
data = (T8)data_ptr.Target;
}
finally
@ -5108,7 +5108,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (OpenTK.Graphics.ES20.PixelInternalFormat)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
Delegates.glCopyTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (OpenTK.Graphics.ES20.TextureCopyComponentCount)internalformat, (Int32)x, (Int32)y, (Int32)width, (Int32)height, (Int32)border);
#if DEBUG
}
#endif
@ -5214,7 +5214,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glCopyTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
Delegates.glCopyTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)x, (Int32)y, (Int32)width, (Int32)height);
#if DEBUG
}
#endif
@ -7009,7 +7009,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArrays1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)first, (Int32)count);
Delegates.glDrawArrays((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
@ -7080,7 +7080,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElements1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -7122,7 +7122,7 @@ namespace OpenTK.Graphics.ES20
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -7169,7 +7169,7 @@ namespace OpenTK.Graphics.ES20
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -7216,7 +7216,7 @@ namespace OpenTK.Graphics.ES20
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -7263,7 +7263,7 @@ namespace OpenTK.Graphics.ES20
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.ES20.BeginMode)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.ES20.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.ES20.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T3)indices_ptr.Target;
}
finally
@ -17453,7 +17453,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate1((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
@ -17492,7 +17492,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilFuncSeparate1((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
Delegates.glStencilFuncSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilFunction)func, (Int32)@ref, (UInt32)mask);
#if DEBUG
}
#endif
@ -17744,7 +17744,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glStencilOpSeparate1((OpenTK.Graphics.ES20.CullFaceMode)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass);
Delegates.glStencilOpSeparate((OpenTK.Graphics.ES20.StencilFace)face, (OpenTK.Graphics.ES20.StencilOp)sfail, (OpenTK.Graphics.ES20.StencilOp)dpfail, (OpenTK.Graphics.ES20.StencilOp)dppass);
#if DEBUG
}
#endif
@ -17845,7 +17845,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
@ -17912,7 +17912,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -17984,7 +17984,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -18056,7 +18056,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -18128,7 +18128,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (PixelInternalFormat)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)internalformat, (Int32)width, (Int32)height, (Int32)border, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally
@ -18809,7 +18809,7 @@ namespace OpenTK.Graphics.ES20
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels);
#if DEBUG
}
#endif
@ -18876,7 +18876,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -18948,7 +18948,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -19020,7 +19020,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
}
finally
{
@ -19092,7 +19092,7 @@ namespace OpenTK.Graphics.ES20
GCHandle pixels_ptr = GCHandle.Alloc(pixels, GCHandleType.Pinned);
try
{
Delegates.glTexSubImage2D1((OpenTK.Graphics.ES20.TextureTarget)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
Delegates.glTexSubImage2D((OpenTK.Graphics.ES20.TextureTarget2d)target, (Int32)level, (Int32)xoffset, (Int32)yoffset, (Int32)width, (Int32)height, (OpenTK.Graphics.ES20.PixelFormat)format, (OpenTK.Graphics.ES20.PixelType)type, (IntPtr)pixels_ptr.AddrOfPinnedObject());
pixels = (T8)pixels_ptr.Target;
}
finally

View file

@ -115,9 +115,6 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
internal extern static void BufferData1(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferSubData", ExactSpelling = true)]
internal extern static void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -148,18 +145,12 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
internal extern static void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
internal extern static void CompressedTexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage3DOES", ExactSpelling = true)]
internal extern static void CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)]
internal extern static void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage2D", ExactSpelling = true)]
internal extern static void CompressedTexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexSubImage3DOES", ExactSpelling = true)]
internal extern static void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -169,15 +160,9 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
internal extern static void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
internal extern static void CopyTexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)]
internal extern static void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage2D", ExactSpelling = true)]
internal extern static void CopyTexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexSubImage3DOES", ExactSpelling = true)]
internal extern static void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -286,9 +271,6 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays1(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedANGLE", ExactSpelling = true)]
internal extern static void DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -310,9 +292,6 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements1(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedANGLE", ExactSpelling = true)]
internal extern static void DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -895,9 +874,6 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)]
internal extern static void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilFuncSeparate", ExactSpelling = true)]
internal extern static void StencilFuncSeparate1(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilMask", ExactSpelling = true)]
internal extern static void StencilMask(UInt32 mask);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -910,18 +886,12 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)]
internal extern static void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glStencilOpSeparate", ExactSpelling = true)]
internal extern static void StencilOpSeparate1(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTestFenceNV", ExactSpelling = true)]
internal extern static bool TestFenceNV(UInt32 fence);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
internal extern static void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage2D", ExactSpelling = true)]
internal extern static void TexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexImage3DOES", ExactSpelling = true)]
internal extern static void TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -949,9 +919,6 @@ namespace OpenTK.Graphics.ES20
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage3DOES", ExactSpelling = true)]
internal extern static void TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -114,9 +114,6 @@ namespace OpenTK.Graphics.ES20
internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsageHint usage);
internal static BufferData glBufferData;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferData1(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, OpenTK.Graphics.ES20.BufferUsage usage);
internal static BufferData1 glBufferData1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferSubData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr offset, IntPtr size, IntPtr data);
internal static BufferSubData glBufferSubData;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -147,18 +144,12 @@ namespace OpenTK.Graphics.ES20
internal delegate void CompressedTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage2D glCompressedTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage2D1 glCompressedTexImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, OpenTK.Graphics.ES20.CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
internal static CompressedTexImage3DOES glCompressedTexImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage2D glCompressedTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage2D1 glCompressedTexSubImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, Int32 imageSize, IntPtr data);
internal static CompressedTexSubImage3DOES glCompressedTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -168,15 +159,9 @@ namespace OpenTK.Graphics.ES20
internal delegate void CopyTexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, OpenTK.Graphics.ES20.TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
internal static CopyTexImage2D glCopyTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, OpenTK.Graphics.ES20.PixelInternalFormat internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
internal static CopyTexImage2D1 glCopyTexImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage2D glCopyTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage2D1 glCopyTexSubImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
internal static CopyTexSubImage3DOES glCopyTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -285,9 +270,6 @@ namespace OpenTK.Graphics.ES20
internal delegate void DrawArrays(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count);
internal static DrawArrays glDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArrays1(OpenTK.Graphics.ES20.BeginMode mode, Int32 first, Int32 count);
internal static DrawArrays1 glDrawArrays1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount);
internal static DrawArraysInstancedANGLE glDrawArraysInstancedANGLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -309,9 +291,6 @@ namespace OpenTK.Graphics.ES20
internal delegate void DrawElements(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElements1(OpenTK.Graphics.ES20.BeginMode mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices);
internal static DrawElements1 glDrawElements1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedANGLE(OpenTK.Graphics.ES20.PrimitiveType mode, Int32 count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedANGLE glDrawElementsInstancedANGLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -894,9 +873,6 @@ namespace OpenTK.Graphics.ES20
internal delegate void StencilFuncSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
internal static StencilFuncSeparate glStencilFuncSeparate;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilFuncSeparate1(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilFunction func, Int32 @ref, UInt32 mask);
internal static StencilFuncSeparate1 glStencilFuncSeparate1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilMask(UInt32 mask);
internal static StencilMask glStencilMask;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -909,18 +885,12 @@ namespace OpenTK.Graphics.ES20
internal delegate void StencilOpSeparate(OpenTK.Graphics.ES20.StencilFace face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass);
internal static StencilOpSeparate glStencilOpSeparate;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void StencilOpSeparate1(OpenTK.Graphics.ES20.CullFaceMode face, OpenTK.Graphics.ES20.StencilOp sfail, OpenTK.Graphics.ES20.StencilOp dpfail, OpenTK.Graphics.ES20.StencilOp dppass);
internal static StencilOpSeparate1 glStencilOpSeparate1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate bool TestFenceNV(UInt32 fence);
internal static TestFenceNV glTestFenceNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
internal static TexImage2D glTexImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, PixelInternalFormat internalformat, Int32 width, Int32 height, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
internal static TexImage2D1 glTexImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
internal static TexImage3DOES glTexImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -948,9 +918,6 @@ namespace OpenTK.Graphics.ES20
internal delegate void TexSubImage2D(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
internal static TexSubImage2D glTexSubImage2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage2D1(OpenTK.Graphics.ES20.TextureTarget target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, OpenTK.Graphics.ES20.PixelType type, IntPtr pixels);
internal static TexSubImage2D1 glTexSubImage2D1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage3DOES(OpenTK.Graphics.ES20.TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 width, Int32 height, Int32 depth, OpenTK.Graphics.ES20.All format, OpenTK.Graphics.ES20.All type, IntPtr pixels);
internal static TexSubImage3DOES glTexSubImage3DOES;
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -10566,7 +10566,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstancedARB1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
#if DEBUG
}
#endif
@ -10613,7 +10613,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedARB1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -10665,7 +10665,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedARB1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -10717,7 +10717,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedARB1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -10769,7 +10769,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedARB1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedARB((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -37579,7 +37579,7 @@ namespace OpenTK.Graphics.OpenGL
{
GraphicsContext.CurrentContext.ErrorChecking = false;
#endif
Delegates.glBegin1((OpenTK.Graphics.OpenGL.BeginMode)mode);
Delegates.glBegin((OpenTK.Graphics.OpenGL.PrimitiveType)mode);
#if DEBUG
}
#endif
@ -54676,7 +54676,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArrays1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count);
Delegates.glDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
@ -55169,7 +55169,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -55211,7 +55211,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -55258,7 +55258,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -55305,7 +55305,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -55352,7 +55352,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T3)indices_ptr.Target;
}
finally
@ -55628,7 +55628,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
#if DEBUG
}
#endif
@ -55675,7 +55675,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -55727,7 +55727,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -55779,7 +55779,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -55831,7 +55831,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
indices = (T3)indices_ptr.Target;
}
finally
@ -56334,7 +56334,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstanced1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount);
Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount);
#if DEBUG
}
#endif
@ -56381,7 +56381,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
@ -56433,7 +56433,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
@ -56485,7 +56485,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
}
finally
{
@ -56537,7 +56537,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstanced1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
Delegates.glDrawElementsInstanced((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount);
indices = (T3)indices_ptr.Target;
}
finally
@ -57402,7 +57402,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstancedBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex);
Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex);
#if DEBUG
}
#endif
@ -57454,7 +57454,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
}
finally
{
@ -57511,7 +57511,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
}
finally
{
@ -57568,7 +57568,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
}
finally
{
@ -57625,7 +57625,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex);
indices = (T3)indices_ptr.Target;
}
finally
@ -58792,7 +58792,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -58844,7 +58844,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -58901,7 +58901,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -58958,7 +58958,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -59015,7 +59015,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
@ -59070,7 +59070,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -59123,7 +59123,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -59181,7 +59181,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -59239,7 +59239,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -59297,7 +59297,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
@ -59915,7 +59915,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
#if DEBUG
}
#endif
@ -59972,7 +59972,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60034,7 +60034,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60096,7 +60096,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60158,7 +60158,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
indices = (T5)indices_ptr.Target;
}
finally
@ -60218,7 +60218,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex);
#if DEBUG
}
#endif
@ -60276,7 +60276,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60339,7 +60339,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60402,7 +60402,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
}
finally
{
@ -60465,7 +60465,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsBaseVertex1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex);
indices = (T5)indices_ptr.Target;
}
finally
@ -90307,7 +90307,7 @@ namespace OpenTK.Graphics.OpenGL
fixed (Int32* first_ptr = first)
fixed (Int32* count_ptr = count)
{
Delegates.glMultiDrawArrays1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount);
Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount);
}
}
#if DEBUG
@ -90352,7 +90352,7 @@ namespace OpenTK.Graphics.OpenGL
fixed (Int32* first_ptr = &first)
fixed (Int32* count_ptr = &count)
{
Delegates.glMultiDrawArrays1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount);
Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)drawcount);
}
}
#if DEBUG
@ -90393,7 +90393,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glMultiDrawArrays1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)drawcount);
Delegates.glMultiDrawArrays((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)drawcount);
#if DEBUG
}
#endif
@ -90796,7 +90796,7 @@ namespace OpenTK.Graphics.OpenGL
{
fixed (Int32* count_ptr = count)
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
}
}
#if DEBUG
@ -90849,7 +90849,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -90907,7 +90907,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -90965,7 +90965,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91023,7 +91023,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -91078,7 +91078,7 @@ namespace OpenTK.Graphics.OpenGL
{
fixed (Int32* count_ptr = &count)
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
}
}
#if DEBUG
@ -91131,7 +91131,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91189,7 +91189,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91247,7 +91247,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91305,7 +91305,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -91357,7 +91357,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount);
#if DEBUG
}
#endif
@ -91405,7 +91405,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91458,7 +91458,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91511,7 +91511,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
}
finally
{
@ -91564,7 +91564,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElements1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
Delegates.glMultiDrawElements((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -145702,7 +145702,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawArraysEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)first, (Int32)count);
Delegates.glDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count);
#if DEBUG
}
#endif
@ -145816,7 +145816,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawElementsInstancedEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
#if DEBUG
}
#endif
@ -145863,7 +145863,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -145915,7 +145915,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -145967,7 +145967,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -146019,7 +146019,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawElementsInstancedEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glDrawElementsInstancedEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -146325,7 +146325,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -146377,7 +146377,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146434,7 +146434,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146491,7 +146491,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146548,7 +146548,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
@ -146603,7 +146603,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices);
#if DEBUG
}
#endif
@ -146656,7 +146656,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146714,7 +146714,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146772,7 +146772,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
}
finally
{
@ -146830,7 +146830,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glDrawRangeElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
Delegates.glDrawRangeElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject());
indices = (T5)indices_ptr.Target;
}
finally
@ -162838,7 +162838,7 @@ namespace OpenTK.Graphics.OpenGL
fixed (Int32* first_ptr = first)
fixed (Int32* count_ptr = count)
{
Delegates.glMultiDrawArraysEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
}
}
#if DEBUG
@ -162883,7 +162883,7 @@ namespace OpenTK.Graphics.OpenGL
fixed (Int32* first_ptr = &first)
fixed (Int32* count_ptr = &count)
{
Delegates.glMultiDrawArraysEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first_ptr, (Int32*)count_ptr, (Int32)primcount);
}
}
#if DEBUG
@ -162924,7 +162924,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glMultiDrawArraysEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
Delegates.glMultiDrawArraysEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)first, (Int32*)count, (Int32)primcount);
#if DEBUG
}
#endif
@ -163100,7 +163100,7 @@ namespace OpenTK.Graphics.OpenGL
{
fixed (Int32* count_ptr = count)
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
}
}
#if DEBUG
@ -163153,7 +163153,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163211,7 +163211,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163269,7 +163269,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163327,7 +163327,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -163382,7 +163382,7 @@ namespace OpenTK.Graphics.OpenGL
{
fixed (Int32* count_ptr = &count)
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
}
}
#if DEBUG
@ -163435,7 +163435,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163493,7 +163493,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163551,7 +163551,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163609,7 +163609,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally
@ -163661,7 +163661,7 @@ namespace OpenTK.Graphics.OpenGL
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)primcount);
#if DEBUG
}
#endif
@ -163709,7 +163709,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163762,7 +163762,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163815,7 +163815,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
}
finally
{
@ -163868,7 +163868,7 @@ namespace OpenTK.Graphics.OpenGL
GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned);
try
{
Delegates.glMultiDrawElementsEXT1((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
Delegates.glMultiDrawElementsEXT((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)primcount);
indices = (T3)indices_ptr.Target;
}
finally

View file

@ -115,9 +115,6 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBegin", ExactSpelling = true)]
internal extern static void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBegin", ExactSpelling = true)]
internal extern static void Begin1(OpenTK.Graphics.OpenGL.BeginMode mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBeginConditionalRender", ExactSpelling = true)]
internal extern static void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1312,15 +1309,9 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArrays", ExactSpelling = true)]
internal extern static void DrawArrays1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)]
internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysEXT", ExactSpelling = true)]
internal extern static void DrawArraysEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)]
internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1357,48 +1348,30 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElements", ExactSpelling = true)]
internal extern static void DrawElements1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)]
internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)]
internal extern static void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstanced", ExactSpelling = true)]
internal extern static void DrawElementsInstanced1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)]
internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedARB", ExactSpelling = true)]
internal extern static void DrawElementsInstancedARB1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseInstance", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance", ExactSpelling = true)]
internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)]
internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)]
internal extern static void DrawElementsInstancedEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawMeshArraysSUN", ExactSpelling = true)]
internal extern static void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1414,21 +1387,12 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)]
internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElements", ExactSpelling = true)]
internal extern static void DrawRangeElements1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)]
internal extern static void DrawRangeElementsBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)]
internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)]
internal extern static void DrawRangeElementsEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawTextureNV", ExactSpelling = true)]
internal extern static void DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3745,15 +3709,9 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArrays", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArrays1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 drawcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawArraysEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirect", ExactSpelling = true)]
internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride);
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3772,18 +3730,12 @@ namespace OpenTK.Graphics.OpenGL
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElements", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElements1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)]
internal extern static unsafe void MultiDrawElementsEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsIndirect", ExactSpelling = true)]
internal extern static void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride);
[System.Security.SuppressUnmanagedCodeSecurity()]

View file

@ -114,9 +114,6 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void Begin(OpenTK.Graphics.OpenGL.PrimitiveType mode);
internal static Begin glBegin;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Begin1(OpenTK.Graphics.OpenGL.BeginMode mode);
internal static Begin1 glBegin1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BeginConditionalRender(UInt32 id, OpenTK.Graphics.OpenGL.ConditionalRenderType mode);
internal static BeginConditionalRender glBeginConditionalRender;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1311,15 +1308,9 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
internal static DrawArrays glDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArrays1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count);
internal static DrawArrays1 glDrawArrays1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count);
internal static DrawArraysEXT glDrawArraysEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 first, Int32 count);
internal static DrawArraysEXT1 glDrawArraysEXT1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect);
internal static DrawArraysIndirect glDrawArraysIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1356,48 +1347,30 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawElements glDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElements1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawElements1 glDrawElements1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawElementsBaseVertex glDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawElementsBaseVertex1 glDrawElementsBaseVertex1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect);
internal static DrawElementsIndirect glDrawElementsIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount);
internal static DrawElementsInstanced glDrawElementsInstanced;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstanced1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount);
internal static DrawElementsInstanced1 glDrawElementsInstanced1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedARB glDrawElementsInstancedARB;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedARB1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedARB1 glDrawElementsInstancedARB1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance);
internal static DrawElementsInstancedBaseInstance glDrawElementsInstancedBaseInstance;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex);
internal static DrawElementsInstancedBaseVertex1 glDrawElementsInstancedBaseVertex1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance);
internal static DrawElementsInstancedBaseVertexBaseInstance glDrawElementsInstancedBaseVertexBaseInstance;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedEXT glDrawElementsInstancedEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawElementsInstancedEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal static DrawElementsInstancedEXT1 glDrawElementsInstancedEXT1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawMeshArraysSUN(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 width);
internal static DrawMeshArraysSUN glDrawMeshArraysSUN;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -1413,21 +1386,12 @@ namespace OpenTK.Graphics.OpenGL
internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawRangeElements glDrawRangeElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElements1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawRangeElements1 glDrawRangeElements1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsBaseVertex1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex);
internal static DrawRangeElementsBaseVertex1 glDrawRangeElementsBaseVertex1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawRangeElementsEXT glDrawRangeElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawRangeElementsEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices);
internal static DrawRangeElementsEXT1 glDrawRangeElementsEXT1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void DrawTextureNV(UInt32 texture, UInt32 sampler, Single x0, Single y0, Single x1, Single y1, Single z, Single s0, Single t0, Single s1, Single t1);
internal static DrawTextureNV glDrawTextureNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3744,15 +3708,9 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void MultiDrawArrays(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 drawcount);
internal unsafe static MultiDrawArrays glMultiDrawArrays;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArrays1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 drawcount);
internal unsafe static MultiDrawArrays1 glMultiDrawArrays1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount);
internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawArraysEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* first, Int32* count, Int32 primcount);
internal unsafe static MultiDrawArraysEXT1 glMultiDrawArraysEXT1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride);
internal static MultiDrawArraysIndirect glMultiDrawArraysIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]
@ -3771,18 +3729,12 @@ namespace OpenTK.Graphics.OpenGL
internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
internal unsafe static MultiDrawElements glMultiDrawElements;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElements1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount);
internal unsafe static MultiDrawElements1 glMultiDrawElements1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex);
internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void MultiDrawElementsEXT1(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElementsEXT1 glMultiDrawElementsEXT1;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void MultiDrawElementsIndirect(OpenTK.Graphics.OpenGL.All mode, OpenTK.Graphics.OpenGL.All type, IntPtr indirect, Int32 drawcount, Int32 stride);
internal static MultiDrawElementsIndirect glMultiDrawElementsIndirect;
[System.Security.SuppressUnmanagedCodeSecurity()]