Corrected ES 2.0 enums

After the previous commit, several ES 2.0 functions would refer to
enums found in ES 3.0. These enums have been copied to ES 2.0, either
as core enums or as extensions.
This commit is contained in:
Stefanos A 2013-11-07 16:25:19 +01:00
parent 735d05e496
commit be8f7c6311
5 changed files with 2674 additions and 267 deletions

View file

@ -4544,6 +4544,11 @@
<param name="name"><type>StringNameIndexed</type></param>
</function>
<!-- EXT_disjoint_timer_query -->
<function name="QueryCounter">
<param name="target">QueryCounterTarget</param>
</function>
<!-- KHR_debug -->
<function name="DebugMessageControl">
<param name="source"><type>DebugSourceControl</type></param>
@ -4571,20 +4576,55 @@
<!-- gles2 overloads for 2.0 backwards compatibility-->
<overload name="gles2" version="2.0">
<!-- PrimtiveType <=> BeginMode overloads for backwards compatibility -->
<function name="DrawArrays" category="ES_VERSION_2_0" extension="Core" version="2.0">
<function name="DrawArrays" obsolete="Use PrimitiveType instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<function name="DrawElements" category="ES_VERSION_2_0" extension="Core" version="2.0">
<function name="DrawElements" obsolete="Use PrimitiveType instead">
<param name="mode"><type>BeginMode</type></param>
</function>
<!-- StencilFace <=> CullFaceMode -->
<function name="StencilFuncSeparate" category="ES_VERSION_2_0" extension="Core" version="2.0">
<function name="StencilFuncSeparate" obsolete="Use StencilFace instead">
<param name="face"><type>CullFaceMode</type></param>
</function>
<function name="StencilOpSeparate" category="ES_VERSION_2_0" extension="Core" version="2.0">
<function name="StencilOpSeparate" obsolete="Use StencilFace instead">
<param name="face"><type>CullFaceMode</type></param>
</function>
<!-- BufferUsageHint <=> BufferUsage -->
<function name="BufferData" obsolete="Use BufferUsageHint instead">
<param name="target"><type>BufferTarget</type></param>
<param name="usage"><type>BufferUsage</type></param>
</function>
<!-- TextureTarget <=> TextureTarget2d -->
<function name="TexImage2D" obsolete="Use TextureTarget2d instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="TexSubImage2D" obsolete="Use TextureTarget2d instead">
<param name="target"><type>TextureTarget</type></param>
<param name="format"><type>PixelFormat</type></param>
<param name="type"><type>PixelType</type></param>
</function>
<function name="CopyTexImage2D" obsolete="Use TextureTarget2d and TextureCopyComponentCount instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CopyTexSubImage2D" obsolete="Use TextureTarget2d instead">
<param name="target"><type>TextureTarget</type></param>
</function>
<function name="CompressedTexImage2D" obsolete="Use TextureTarget2d instead">
<param name="target"><type>TextureTarget</type></param>
<param name="internalformat"><type>PixelInternalFormat</type></param>
</function>
<function name="CompressedTexSubImage2D" obsolete="Use TextureTarget2d and CompressedInternalFormat instead">
<param name="target"><type>TextureTarget</type></param>
<param name="format"><type>PixelFormat</type></param>
</function>
</overload>
<!-- gles2 2.0 enums -->
@ -4637,27 +4677,144 @@
<use token="NEAREST" />
</enum>
<!-- OES_mapbuffer -->
<enum name="BufferPointer">
<use token="BUFFER_MAP_POINTER" />
</enum>
<enum name="BufferTarget">
<token name="ArrayBuffer" value="0X8892" />
<token name="ElementArrayBuffer" value="0X8893" />
</enum>
<enum name="BufferUsage">
<reuse enum="BufferUsageHint" />
</enum>
<enum name="BufferUsageHint">
<token name="DynamicDraw" value="0X88e8" />
<token name="StaticDraw" value="0X88e4" />
<token name="StreamDraw" value="0X88e0" />
</enum>
<enum name="BufferParameterName">
<token name="BufferSize" value="0X8764" />
<token name="BufferUsage" value="0X8765" />
</enum>
<enum name="GetTextureParameterName">
<reuse enum="TextureParameterName" />
</enum>
<!-- APPLE_rgb_422 -->
<enum name="SizedInternalFormat">
<use token="RGB_RAW_422_APPLE" />
</enum>
<!-- APPLE_sync -->
<enum name="ClientWaitSyncFlags">
<use token="NONE" />
<use token="SYNC_FLUSH_COMMANDS_BIT_APPLE" />
</enum>
<enum name="SyncCondition">
<use token="SYNC_GPU_COMMANDS_COMPLETE_APPLE" />
</enum>
<enum name="SyncParameterName">
<use token="OBJECT_TYPE_APPLE" />
<use token="SYNC_STATUS_APPLE" />
<use token="SYNC_CONDITION_APPLE" />
<use token="SYNC_FLAGS_APPLE" />
</enum>
<enum name="WaitSyncFlags">
<use token="NONE" />
</enum>
<enum name="WaitSyncStatus">
<use token="ALREADY_SIGNALED_APPLE" />
<use token="TIMEOUT_EXPIRED_APPLE" />
<use token="CONDITION_SATISFIED_APPLE" />
<use token="WAIT_FAILED_APPLE" />
</enum>
<!-- APPLE_texture_format_BGRA8888 or EXT_texture_format_BGRA8888 -->
<enum name="SizedInternalFormat">
<use token="BGRA8_EXT" />
</enum>
<!-- EXT_multiview_draw_buffers -->
<enum name="GetIndexedPName">
<use token="DRAW_BUFFER_EXT" />
<use token="READ_BUFFER_EXT" />
</enum>
<enum name="GetPName">
<use token="MAX_MULTIVIEW_BUFFERS_EXT" />
</enum>
<!-- EXT_texture -->
<enum name="SizedInternalFormat">
<use token="ALPHA8_EXT" />
<use token="LUMINANCE8_EXT" />
<use token="LUMINANCE8_ALPHA8_EXT" />
</enum>
<!-- EXT_texture_rg -->
<enum name="SizedInternalFormat">
<use token="R8_EXT" />
<use token="RG8_EXT" />
</enum>
<!-- EXT_texture_rg and OES_texture_float -->
<enum name="SizedInternalFormat">
<use token="R32F_EXT" />
<use token="RG32F_EXT" />
</enum>
<!-- EXT_texture_rg and OES_texture_half_float -->
<enum name="SizedInternalFormat">
<use token="R16F_EXT" />
<use token="RG16F_EXT" />
</enum>
<!--- EXT_texture_storage -->
<enum name="GetTextureParameterName">
<use token="TEXTURE_IMMUTABLE_FORMAT_EXT" />
</enum>
<!-- EXT_texture_type_2_10_10_10_REV -->
<enum name="SizedInternalFormat">
<use token="RGB10_A2_EXT" />
<use token="RGB10_EXT" />
</enum>
<!-- OES_mapbuffer -->
<enum name="BufferPointer">
<use token="BUFFER_MAP_POINTER_OES" />
</enum>
<!-- OES_texture_3d -->
<enum name="GetPName">
<use token="MAX_3D_TEXTURE_SIZE_OES" />
<use token="TEXTURE_BINDING_3D_OES" />
</enum>
<enum name="GetTextureParameterName">
<use token="TEXTURE_WRAP_R_OES" />
</enum>
<enum name="TextureTarget3d">
<use token="TEXTURE_3D_OES" />
</enum>
<enum name="TextureParameterName">
<use token="TEXTURE_WRAP_R_OES" />
</enum>
<!-- OES_texture_float -->
<enum name="SizedInternalFormat">
<use token="RGBA32F_EXT" />
<use token="RGB32F_EXT" />
<use token="ALPHA32F_EXT" />
<use token="LUMINANCE32F_EXT" />
<use token="LUMINANCE_ALPHA32F_EXT" />
</enum>
<!-- OES_texture_half_float -->
<enum name="SizedInternalFormat">
<use token="RGBA16F_EXT" />
<use token="RGB16F_EXT" />
<use token="ALPHA16F_EXT" />
<use token="LUMINANCE16F_EXT" />
<use token="LUMINANCE_ALPHA16F_EXT" />
</enum>
<!-- KHR_debug -->
<enum name="DebugSeverity">
<use token="DEBUG_SEVERITY_HIGH" />
<use token="DEBUG_SEVERITY_MEDIUM" />
@ -4717,12 +4874,36 @@
</enum>
<!-- EXT_disjoint_timer_query -->
<enum name="GetPName">
<use token="GPU_DISJOINT_EXT" />
<use token="TIMESTAMP_EXT" />
</enum>
<enum name="GetQueryObjectParam">
<use token="QUERY_RESULT" />
<use token="QUERY_RESULT_AVAILABLE" />
<use token="QUERY_RESULT_EXT" />
<use token="QUERY_RESULT_AVAILABLE_EXT" />
</enum>
<enum name="GetQueryParam">
<use token="CURRENT_QUERY" />
<use token="CURRENT_QUERY_EXT" />
<use token="QUERY_COUNTER_BITS_EXT" />
</enum>
<enum name="QueryCounterTarget">
<use token="TIMESTAMP_EXT" />
</enum>
<enum name="QueryTarget">
<use token="TIME_ELAPSED_EXT" />
</enum>
<!-- EXT_occlusion_query_boolean -->
<enum name="GetQueryObjectParam">
<use token="QUERY_RESULT_EXT" />
<use token="QUERY_RESULT_AVAILABLE_EXT" />
</enum>
<enum name="GetQueryParam">
<use token="CURRENT_QUERY_EXT" />
</enum>
<enum name="QueryTarget">
<use token="ANY_SAMPLES_PASSED_EXT" />
<use token="ANY_SAMPLES_PASSED_CONSERVATIVE_EXT" />
</enum>
<enum name="VertexAttribPointerType">
@ -4843,6 +5024,24 @@
<token name="InvalidFramebufferOperation " value="0X0506" />
</enum>
<!-- KHR_debug -->
<!-- Note that KHR_debug is part of the gles registry,
but is actually written against the desktop 4.2 spec.
Some of the tokens defined below are not going to
be available in the ES version /> -->
<enum name="ObjectLabelIdentifier">
<use token="BUFFER" />
<use token="FRAMEBUFFER" />
<use token="RENDERBUFFER" />
<use token="PROGRAM_PIPELINE" />
<use token="PROGRAM" />
<use token="QUERY" />
<use token="SAMPLER" />
<use token="SHADER" />
<use token="TEXTURE" />
<use token="VERTEX_ARRAY" />
</enum>
<enum name="ProgramParameter">
<use token="DELETE_STATUS" />
<use token="LINK_STATUS" />
@ -4853,11 +5052,6 @@
<use token="ACTIVE_ATTRIBUTE_MAX_LENGTH" />
<use token="ACTIVE_UNIFORMS" />
<use token="ACTIVE_UNIFORM_MAX_LENGTH" />
<use token="ACTIVE_UNIFORM_BLOCKS" />
<use token="ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH" />
<use token="TRANSFORM_FEEDBACK_BUFFER_MODE" />
<use token="TRANSFORM_FEEDBACK_VARYINGS" />
<use token="TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH" />
<use token="PROGRAM_BINARY_RETRIEVABLE_HINT" />
</enum>
@ -4918,7 +5112,7 @@
<token name="Fastest" value="0X1101" />
<token name="Nicest" value="0X1102" />
</enum>
<enum name="StencilFunction">
<token name="Never" value="0X0200" />
<token name="Less" value="0X0201" />
@ -4940,6 +5134,14 @@
<token name="DecrWrap" value="0X8508" />
<token name="Zero" value="0X0000" />
</enum>
<enum name="TextureCopyComponentCount">
<use token="RGB" />
<use token="RGBA" />
<use token="LUMINANCE_ALPHA" />
<use token="LUMINANCE" />
<use token="ALPHA" />
</enum>
<enum name="TextureUnit">
<token name="Texture0" value="0X84c0" />
@ -4980,6 +5182,16 @@
<token name="Texture2D" value="0X0de1" />
<token name="TextureCubeMap" value="0X8513" />
</enum>
<enum name="TextureTarget2d">
<use token="TEXTURE_2D" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_X" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_Y" />
<use token="TEXTURE_CUBE_MAP_POSITIVE_Z" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_X" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_Y" />
<use token="TEXTURE_CUBE_MAP_NEGATIVE_Z" />
</enum>
<enum name="TextureMinFilter">
<token name="NearestMipmapNearest" value="0X2700" />
@ -4996,17 +5208,10 @@
</enum>
<enum name="TextureParameterName">
<token name="TextureMagFilter" value="0X2800" />
<token name="TextureMinFilter" value="0X2801" />
<token name="TextureWrapS" value="0X2802" />
<token name="TextureWrapT" value="0X2803" />
</enum>
<enum name="GetTextureParameter">
<token name="TextureMagFilter" value="0X2800" />
<token name="TextureMinFilter" value="0X2801" />
<token name="TextureWrapS" value="0X2802" />
<token name="TextureWrapT" value="0X2803" />
<use token="TEXTURE_MAG_FILTER" />
<use token="TEXTURE_MIN_FILTER" />
<use token="TEXTURE_WRAP_S" />
<use token="TEXTURE_WRAP_T" />
</enum>
<enum name="TextureTarget">
@ -5054,11 +5259,6 @@
<token name="FramebufferIncompleteDimensions" value="0X8cd9" />
<token name="FramebufferUnsupported" value="0X8cdd" />
</enum>
<enum name="QueryTarget">
<use token="ANY_SAMPLES_PASSED" />
<use token="ANY_SAMPLES_PASSED_CONSERVATIVE" />
</enum>
<enum name="RenderbufferTarget">
<token name="Renderbuffer" value="0X8d41" />
@ -5199,6 +5399,11 @@
GetInteger(GetPName.ShaderBinaryFormats) -->
</enum>
<!-- OES_compressed_ETC1_RGB8_texture -->
<enum name="CompressedInternalFormat">
<use token="ETC1_RGB8_OES" />
</enum>
</add>
<!-- gles2 3.0 enums -->
@ -5820,6 +6025,9 @@
<use token="ANY_SAMPLES_PASSED_CONSERVATIVE" />
<use token="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN" /> <!-- see 6.1.7 -->
</enum>
<enum name="QueryCounterTarget">
<use token="TIMESTAMP_EXT" />
</enum>
<enum name="ReadBufferMode">
<use token="NONE" />
<use token="BACK" />

File diff suppressed because it is too large Load diff

View file

@ -113,7 +113,10 @@ namespace OpenTK.Graphics.ES20
internal extern static void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glBufferData", ExactSpelling = true)]
internal extern static void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, BufferUsageHint usage);
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);
@ -134,7 +137,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void ClearStencil(Int32 s);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glClientWaitSyncAPPLE", ExactSpelling = true)]
internal extern static WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, ClientWaitSyncFlags flags, UInt64 timeout);
internal extern static OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glColorMask", ExactSpelling = true)]
internal extern static void ColorMask(bool red, bool green, bool blue, bool alpha);
@ -143,28 +146,40 @@ namespace OpenTK.Graphics.ES20
internal extern static void CompileShader(UInt32 shader);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCompressedTexImage2D", ExactSpelling = true)]
internal extern static void CompressedTexImage2D(TextureTarget2d target, Int32 level, CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
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(TextureTarget3d target, Int32 level, CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
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(TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
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(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 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()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyBufferSubDataNV", ExactSpelling = true)]
internal extern static void CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTexImage2D", ExactSpelling = true)]
internal extern static void CopyTexImage2D(TextureTarget2d target, Int32 level, TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
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(TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
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(TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
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()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glCopyTextureLevelsAPPLE", ExactSpelling = true)]
internal extern static void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
@ -368,7 +383,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFenceSyncAPPLE", ExactSpelling = true)]
internal extern static IntPtr FenceSyncAPPLE(SyncCondition condition, WaitSyncFlags flags);
internal extern static IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFinish", ExactSpelling = true)]
internal extern static void Finish();
@ -386,7 +401,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2D", ExactSpelling = true)]
internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, TextureTarget2d textarget, UInt32 texture, Int32 level);
internal extern static void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glFramebufferTexture2DMultisampleEXT", ExactSpelling = true)]
internal extern static void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples);
@ -482,7 +497,7 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegeri_vEXT", ExactSpelling = true)]
internal extern static unsafe void GetIntegeri_vEXT(GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data);
internal extern static unsafe void GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetIntegerv", ExactSpelling = true)]
internal extern static unsafe void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data);
@ -494,13 +509,13 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabel(ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelEXT", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabelKHR(ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)]
internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
@ -581,13 +596,13 @@ namespace OpenTK.Graphics.ES20
internal extern static IntPtr GetString(OpenTK.Graphics.ES20.StringName name);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetSyncivAPPLE", ExactSpelling = true)]
internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal extern static unsafe void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameterfv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, GetTextureParameterName pname, [OutAttribute] Single* @params);
internal extern static unsafe void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTexParameteriv", ExactSpelling = true)]
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, GetTextureParameterName pname, [OutAttribute] Int32* @params);
internal extern static unsafe void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetTranslatedShaderSourceANGLE", ExactSpelling = true)]
internal extern static unsafe void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source);
@ -674,10 +689,10 @@ namespace OpenTK.Graphics.ES20
internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)]
internal extern static void ObjectLabel(ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal extern static void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)]
internal extern static void ObjectLabelKHR(ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal extern static void ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)]
internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label);
@ -902,10 +917,13 @@ namespace OpenTK.Graphics.ES20
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(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 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(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 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()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexParameterf", ExactSpelling = true)]
internal extern static void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param);
@ -923,16 +941,19 @@ namespace OpenTK.Graphics.ES20
internal extern static void TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage2DEXT", ExactSpelling = true)]
internal extern static void TexStorage2DEXT(TextureTarget2d target, Int32 levels, SizedInternalFormat internalformat, Int32 width, Int32 height);
internal extern static void TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexStorage3DEXT", ExactSpelling = true)]
internal extern static void TexStorage3DEXT(TextureTarget2d target, Int32 levels, SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal extern static void TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTexSubImage2D", ExactSpelling = true)]
internal extern static void TexSubImage2D(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 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(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 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()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glTextureStorage1DEXT", ExactSpelling = true)]
internal extern static void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width);
@ -1076,7 +1097,7 @@ namespace OpenTK.Graphics.ES20
internal extern static void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glWaitSyncAPPLE", ExactSpelling = true)]
internal extern static void WaitSyncAPPLE(IntPtr sync, WaitSyncFlags flags, UInt64 timeout);
internal extern static void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout);
}
}
}

View file

@ -111,9 +111,12 @@ namespace OpenTK.Graphics.ES20
internal delegate void BlitFramebufferNV(Int32 srcX0, Int32 srcY0, Int32 srcX1, Int32 srcY1, Int32 dstX0, Int32 dstY0, Int32 dstX1, Int32 dstY1, OpenTK.Graphics.ES20.ClearBufferMask mask, OpenTK.Graphics.ES20.BlitFramebufferFilter filter);
internal static BlitFramebufferNV glBlitFramebufferNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void BufferData(OpenTK.Graphics.ES20.BufferTarget target, IntPtr size, IntPtr data, BufferUsageHint usage);
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()]
@ -132,7 +135,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void ClearStencil(Int32 s);
internal static ClearStencil glClearStencil;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, ClientWaitSyncFlags flags, UInt64 timeout);
internal delegate OpenTK.Graphics.ES20.WaitSyncStatus ClientWaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.ClientWaitSyncFlags flags, UInt64 timeout);
internal static ClientWaitSyncAPPLE glClientWaitSyncAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ColorMask(bool red, bool green, bool blue, bool alpha);
@ -141,28 +144,40 @@ namespace OpenTK.Graphics.ES20
internal delegate void CompileShader(UInt32 shader);
internal static CompileShader glCompileShader;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CompressedTexImage2D(TextureTarget2d target, Int32 level, CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 border, Int32 imageSize, IntPtr data);
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 CompressedTexImage3DOES(TextureTarget3d target, Int32 level, CompressedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth, Int32 border, Int32 imageSize, IntPtr data);
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(TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 width, Int32 height, OpenTK.Graphics.ES20.PixelFormat format, Int32 imageSize, IntPtr data);
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 CompressedTexSubImage3DOES(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 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()]
internal delegate void CopyBufferSubDataNV(OpenTK.Graphics.ES20.BufferTarget readTarget, OpenTK.Graphics.ES20.BufferTarget writeTarget, IntPtr readOffset, IntPtr writeOffset, IntPtr size);
internal static CopyBufferSubDataNV glCopyBufferSubDataNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void CopyTexImage2D(TextureTarget2d target, Int32 level, TextureCopyComponentCount internalformat, Int32 x, Int32 y, Int32 width, Int32 height, Int32 border);
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 CopyTexSubImage2D(TextureTarget2d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 x, Int32 y, Int32 width, Int32 height);
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 CopyTexSubImage3DOES(TextureTarget3d target, Int32 level, Int32 xoffset, Int32 yoffset, Int32 zoffset, Int32 x, Int32 y, Int32 width, Int32 height);
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()]
internal delegate void CopyTextureLevelsAPPLE(UInt32 destinationTexture, UInt32 sourceTexture, Int32 sourceBaseLevel, Int32 sourceLevelCount);
@ -366,7 +381,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void ExtTexObjectStateOverrideiQCOM(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All pname, Int32 param);
internal static ExtTexObjectStateOverrideiQCOM glExtTexObjectStateOverrideiQCOM;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate IntPtr FenceSyncAPPLE(SyncCondition condition, WaitSyncFlags flags);
internal delegate IntPtr FenceSyncAPPLE(OpenTK.Graphics.ES20.SyncCondition condition, OpenTK.Graphics.ES20.WaitSyncFlags flags);
internal static FenceSyncAPPLE glFenceSyncAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void Finish();
@ -384,7 +399,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void FramebufferRenderbuffer(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.RenderbufferTarget renderbuffertarget, UInt32 renderbuffer);
internal static FramebufferRenderbuffer glFramebufferRenderbuffer;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, TextureTarget2d textarget, UInt32 texture, Int32 level);
internal delegate void FramebufferTexture2D(OpenTK.Graphics.ES20.FramebufferTarget target, OpenTK.Graphics.ES20.FramebufferSlot attachment, OpenTK.Graphics.ES20.TextureTarget2d textarget, UInt32 texture, Int32 level);
internal static FramebufferTexture2D glFramebufferTexture2D;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void FramebufferTexture2DMultisampleEXT(OpenTK.Graphics.ES20.All target, OpenTK.Graphics.ES20.All attachment, OpenTK.Graphics.ES20.All textarget, UInt32 texture, Int32 level, Int32 samples);
@ -480,7 +495,7 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void GetInteger64vAPPLE(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int64* @params);
internal unsafe static GetInteger64vAPPLE glGetInteger64vAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetIntegeri_vEXT(GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data);
internal unsafe delegate void GetIntegeri_vEXT(OpenTK.Graphics.ES20.GetIndexedPName target, UInt32 index, [OutAttribute] Int32* data);
internal unsafe static GetIntegeri_vEXT glGetIntegeri_vEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetIntegerv(OpenTK.Graphics.ES20.GetPName pname, [OutAttribute] Int32* data);
@ -492,13 +507,13 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
internal unsafe static GetnUniformivEXT glGetnUniformivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabel(ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabel glGetObjectLabel;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabelEXT(OpenTK.Graphics.ES20.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabelEXT glGetObjectLabelEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabelKHR(ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
@ -579,13 +594,13 @@ namespace OpenTK.Graphics.ES20
internal delegate IntPtr GetString(OpenTK.Graphics.ES20.StringName name);
internal static GetString glGetString;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe delegate void GetSyncivAPPLE(IntPtr sync, OpenTK.Graphics.ES20.SyncParameterName pname, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] Int32* values);
internal unsafe static GetSyncivAPPLE glGetSyncivAPPLE;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, GetTextureParameterName pname, [OutAttribute] Single* @params);
internal unsafe delegate void GetTexParameterfv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Single* @params);
internal unsafe static GetTexParameterfv glGetTexParameterfv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, GetTextureParameterName pname, [OutAttribute] Int32* @params);
internal unsafe delegate void GetTexParameteriv(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.GetTextureParameterName pname, [OutAttribute] Int32* @params);
internal unsafe static GetTexParameteriv glGetTexParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetTranslatedShaderSourceANGLE(UInt32 shader, Int32 bufsize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder source);
@ -672,10 +687,10 @@ namespace OpenTK.Graphics.ES20
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES20.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES20.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectLabel(ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal delegate void ObjectLabel(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal static ObjectLabel glObjectLabel;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectLabelKHR(ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal delegate void ObjectLabelKHR(OpenTK.Graphics.ES20.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal static ObjectLabelKHR glObjectLabelKHR;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label);
@ -900,10 +915,13 @@ namespace OpenTK.Graphics.ES20
internal delegate bool TestFenceNV(UInt32 fence);
internal static TestFenceNV glTestFenceNV;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexImage2D(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 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 TexImage3DOES(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 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()]
internal delegate void TexParameterf(OpenTK.Graphics.ES20.TextureTarget target, OpenTK.Graphics.ES20.TextureParameterName pname, Single param);
@ -921,16 +939,19 @@ namespace OpenTK.Graphics.ES20
internal delegate void TexStorage1DEXT(OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width);
internal static TexStorage1DEXT glTexStorage1DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage2DEXT(TextureTarget2d target, Int32 levels, SizedInternalFormat internalformat, Int32 width, Int32 height);
internal delegate void TexStorage2DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height);
internal static TexStorage2DEXT glTexStorage2DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexStorage3DEXT(TextureTarget2d target, Int32 levels, SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal delegate void TexStorage3DEXT(OpenTK.Graphics.ES20.TextureTarget2d target, Int32 levels, OpenTK.Graphics.ES20.SizedInternalFormat internalformat, Int32 width, Int32 height, Int32 depth);
internal static TexStorage3DEXT glTexStorage3DEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void TexSubImage2D(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 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 TexSubImage3DOES(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 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()]
internal delegate void TextureStorage1DEXT(UInt32 texture, OpenTK.Graphics.ES20.All target, Int32 levels, OpenTK.Graphics.ES20.All internalformat, Int32 width);
@ -1074,7 +1095,7 @@ namespace OpenTK.Graphics.ES20
internal delegate void Viewport(Int32 x, Int32 y, Int32 width, Int32 height);
internal static Viewport glViewport;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void WaitSyncAPPLE(IntPtr sync, WaitSyncFlags flags, UInt64 timeout);
internal delegate void WaitSyncAPPLE(IntPtr sync, OpenTK.Graphics.ES20.WaitSyncFlags flags, UInt64 timeout);
internal static WaitSyncAPPLE glWaitSyncAPPLE;
}
}

View file

@ -8190,6 +8190,10 @@ namespace OpenTK.Graphics.ES20
/// </summary>
public enum BufferPointer : int
{
/// <summary>
/// Original was GL_BUFFER_MAP_POINTER_OES = 0x88BD
/// </summary>
BufferMapPointerOes = ((int)0x88BD) ,
}
/// <summary>
@ -8208,7 +8212,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Not used directly.
/// Used in GL.BufferData
/// </summary>
public enum BufferUsage : int
{
@ -8226,6 +8230,25 @@ namespace OpenTK.Graphics.ES20
DynamicDraw = ((int)0X88e8) ,
}
/// <summary>
/// Used in GL.BufferData
/// </summary>
public enum BufferUsageHint : int
{
/// <summary>
/// Original was GL_StreamDraw = 0X88e0
/// </summary>
StreamDraw = ((int)0X88e0) ,
/// <summary>
/// Original was GL_StaticDraw = 0X88e4
/// </summary>
StaticDraw = ((int)0X88e4) ,
/// <summary>
/// Original was GL_DynamicDraw = 0X88e8
/// </summary>
DynamicDraw = ((int)0X88e8) ,
}
/// <summary>
/// Used in GL.Angle.BlitFramebuffer, GL.Clear and 1 other function
/// </summary>
@ -8274,6 +8297,21 @@ namespace OpenTK.Graphics.ES20
ClientAllAttribBits = unchecked((int)0xFFFFFFFF) ,
}
/// <summary>
/// Used in GL.Apple.ClientWaitSync
/// </summary>
public enum ClientWaitSyncFlags : int
{
/// <summary>
/// Original was GL_NONE = 0
/// </summary>
None = ((int)0) ,
/// <summary>
/// Original was GL_SYNC_FLUSH_COMMANDS_BIT_APPLE = 0x00000001
/// </summary>
SyncFlushCommandsBitApple = ((int)0x00000001) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -8508,6 +8546,17 @@ namespace OpenTK.Graphics.ES20
ProxyPostColorMatrixColorTableSgi = ((int)0x80D5) ,
}
/// <summary>
/// Used in GL.CompressedTexImage2D, GL.Oes.CompressedTexImage3D
/// </summary>
public enum CompressedInternalFormat : int
{
/// <summary>
/// Original was GL_ETC1_RGB8_OES = 0x8D64
/// </summary>
Etc1Rgb8Oes = ((int)0x8D64) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -11965,6 +12014,21 @@ namespace OpenTK.Graphics.ES20
HistogramSinkExt = ((int)0x802D) ,
}
/// <summary>
/// Used in GL.Ext.GetInteger
/// </summary>
public enum GetIndexedPName : int
{
/// <summary>
/// Original was GL_DRAW_BUFFER_EXT = 0x0C01
/// </summary>
DrawBufferExt = ((int)0x0C01) ,
/// <summary>
/// Original was GL_READ_BUFFER_EXT = 0x0C02
/// </summary>
ReadBufferExt = ((int)0x0C02) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -13084,6 +13148,10 @@ namespace OpenTK.Graphics.ES20
/// </summary>
TextureBinding3D = ((int)0x806A) ,
/// <summary>
/// Original was GL_TEXTURE_BINDING_3D_OES = 0x806A
/// </summary>
TextureBinding3DOes = ((int)0x806A) ,
/// <summary>
/// Original was GL_PACK_SKIP_IMAGES_EXT = 0x806B
/// </summary>
PackSkipImagesExt = ((int)0x806B) ,
@ -13108,6 +13176,10 @@ namespace OpenTK.Graphics.ES20
/// </summary>
Max3DTextureSizeExt = ((int)0x8073) ,
/// <summary>
/// Original was GL_MAX_3D_TEXTURE_SIZE_OES = 0x8073
/// </summary>
Max3DTextureSizeOes = ((int)0x8073) ,
/// <summary>
/// Original was GL_VERTEX_ARRAY = 0x8074
/// </summary>
VertexArray = ((int)0x8074) ,
@ -13787,6 +13859,18 @@ namespace OpenTK.Graphics.ES20
/// Original was GL_MaxFragmentUniformVectors = 0X8dfd
/// </summary>
MaxFragmentUniformVectors = ((int)0X8dfd) ,
/// <summary>
/// Original was GL_TIMESTAMP_EXT = 0x8E28
/// </summary>
TimestampExt = ((int)0x8E28) ,
/// <summary>
/// Original was GL_GPU_DISJOINT_EXT = 0x8FBB
/// </summary>
GpuDisjointExt = ((int)0x8FBB) ,
/// <summary>
/// Original was GL_MAX_MULTIVIEW_BUFFERS_EXT = 0x90F2
/// </summary>
MaxMultiviewBuffersExt = ((int)0x90F2) ,
}
/// <summary>
@ -13861,6 +13945,14 @@ namespace OpenTK.Graphics.ES20
/// </summary>
public enum GetQueryObjectParam : int
{
/// <summary>
/// Original was GL_QUERY_RESULT_EXT = 0x8866
/// </summary>
QueryResultExt = ((int)0x8866) ,
/// <summary>
/// Original was GL_QUERY_RESULT_AVAILABLE_EXT = 0x8867
/// </summary>
QueryResultAvailableExt = ((int)0x8867) ,
}
/// <summary>
@ -13868,6 +13960,14 @@ namespace OpenTK.Graphics.ES20
/// </summary>
public enum GetQueryParam : int
{
/// <summary>
/// Original was GL_QUERY_COUNTER_BITS_EXT = 0x8864
/// </summary>
QueryCounterBitsExt = ((int)0x8864) ,
/// <summary>
/// Original was GL_CURRENT_QUERY_EXT = 0x8865
/// </summary>
CurrentQueryExt = ((int)0x8865) ,
}
/// <summary>
@ -14093,6 +14193,37 @@ namespace OpenTK.Graphics.ES20
TextureMaxClampRSgix = ((int)0x836B) ,
}
/// <summary>
/// Used in GL.GetTexParameter
/// </summary>
public enum GetTextureParameterName : int
{
/// <summary>
/// Original was GL_TEXTURE_MAG_FILTER = 0x2800
/// </summary>
TextureMagFilter = ((int)0x2800) ,
/// <summary>
/// Original was GL_TEXTURE_MIN_FILTER = 0x2801
/// </summary>
TextureMinFilter = ((int)0x2801) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_S = 0x2802
/// </summary>
TextureWrapS = ((int)0x2802) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_T = 0x2803
/// </summary>
TextureWrapT = ((int)0x2803) ,
/// <summary>
/// Original was GL_TEXTURE_WRAP_R_OES = 0x8072
/// </summary>
TextureWrapROes = ((int)0x8072) ,
/// <summary>
/// Original was GL_TEXTURE_IMMUTABLE_FORMAT_EXT = 0x912F
/// </summary>
TextureImmutableFormatExt = ((int)0x912F) ,
}
/// <summary>
/// Used in GL.Hint
/// </summary>
@ -16913,6 +17044,53 @@ namespace OpenTK.Graphics.ES20
{
}
/// <summary>
/// Used in GL.GetObjectLabel, GL.ObjectLabel and 2 other functions
/// </summary>
public enum ObjectLabelIdentifier : int
{
/// <summary>
/// Original was GL_TEXTURE = 0x1702
/// </summary>
Texture = ((int)0x1702) ,
/// <summary>
/// Original was GL_VERTEX_ARRAY = 0x8074
/// </summary>
VertexArray = ((int)0x8074) ,
/// <summary>
/// Original was GL_BUFFER = 0x82E0
/// </summary>
Buffer = ((int)0x82E0) ,
/// <summary>
/// Original was GL_SHADER = 0x82E1
/// </summary>
Shader = ((int)0x82E1) ,
/// <summary>
/// Original was GL_PROGRAM = 0x82E2
/// </summary>
Program = ((int)0x82E2) ,
/// <summary>
/// Original was GL_QUERY = 0x82E3
/// </summary>
Query = ((int)0x82E3) ,
/// <summary>
/// Original was GL_PROGRAM_PIPELINE = 0x82E4
/// </summary>
ProgramPipeline = ((int)0x82E4) ,
/// <summary>
/// Original was GL_SAMPLER = 0x82E6
/// </summary>
Sampler = ((int)0x82E6) ,
/// <summary>
/// Original was GL_FRAMEBUFFER = 0X8d40
/// </summary>
Framebuffer = ((int)0X8d40) ,
/// <summary>
/// Original was GL_RENDERBUFFER = 0X8d41
/// </summary>
Renderbuffer = ((int)0X8d41) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -17599,7 +17777,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Not used directly.
/// Used in GL.CompressedTexImage2D, GL.CopyTexImage2D and 1 other function
/// </summary>
public enum PixelInternalFormat : int
{
@ -18748,11 +18926,34 @@ namespace OpenTK.Graphics.ES20
WriteonlyRenderingQcom = ((int)0x8823) ,
}
/// <summary>
/// Not used directly.
/// </summary>
public enum QueryCounterTarget : int
{
/// <summary>
/// Original was GL_TIMESTAMP_EXT = 0x8E28
/// </summary>
TimestampExt = ((int)0x8E28) ,
}
/// <summary>
/// Used in GL.Ext.BeginQuery, GL.Ext.EndQuery and 1 other function
/// </summary>
public enum QueryTarget : int
{
/// <summary>
/// Original was GL_TIME_ELAPSED_EXT = 0x88BF
/// </summary>
TimeElapsedExt = ((int)0x88BF) ,
/// <summary>
/// Original was GL_ANY_SAMPLES_PASSED_EXT = 0x8C2F
/// </summary>
AnySamplesPassedExt = ((int)0x8C2F) ,
/// <summary>
/// Original was GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT = 0x8D6A
/// </summary>
AnySamplesPassedConservativeExt = ((int)0x8D6A) ,
}
/// <summary>
@ -19083,6 +19284,105 @@ namespace OpenTK.Graphics.ES20
Smooth = ((int)0x1D01) ,
}
/// <summary>
/// Used in GL.Ext.TexStorage2D, GL.Ext.TexStorage3D
/// </summary>
public enum SizedInternalFormat : int
{
/// <summary>
/// Original was GL_ALPHA8_EXT = 0x803C
/// </summary>
Alpha8Ext = ((int)0x803C) ,
/// <summary>
/// Original was GL_LUMINANCE8_EXT = 0x8040
/// </summary>
Luminance8Ext = ((int)0x8040) ,
/// <summary>
/// Original was GL_LUMINANCE8_ALPHA8_EXT = 0x8045
/// </summary>
Luminance8Alpha8Ext = ((int)0x8045) ,
/// <summary>
/// Original was GL_RGB10_EXT = 0x8052
/// </summary>
Rgb10Ext = ((int)0x8052) ,
/// <summary>
/// Original was GL_RGB10_A2_EXT = 0x8059
/// </summary>
Rgb10A2Ext = ((int)0x8059) ,
/// <summary>
/// Original was GL_R8_EXT = 0x8229
/// </summary>
R8Ext = ((int)0x8229) ,
/// <summary>
/// Original was GL_RG8_EXT = 0x822B
/// </summary>
Rg8Ext = ((int)0x822B) ,
/// <summary>
/// Original was GL_R16F_EXT = 0x822D
/// </summary>
R16fExt = ((int)0x822D) ,
/// <summary>
/// Original was GL_R32F_EXT = 0x822E
/// </summary>
R32fExt = ((int)0x822E) ,
/// <summary>
/// Original was GL_RG16F_EXT = 0x822F
/// </summary>
Rg16fExt = ((int)0x822F) ,
/// <summary>
/// Original was GL_RG32F_EXT = 0x8230
/// </summary>
Rg32fExt = ((int)0x8230) ,
/// <summary>
/// Original was GL_RGBA32F_EXT = 0x8814
/// </summary>
Rgba32fExt = ((int)0x8814) ,
/// <summary>
/// Original was GL_RGB32F_EXT = 0x8815
/// </summary>
Rgb32fExt = ((int)0x8815) ,
/// <summary>
/// Original was GL_ALPHA32F_EXT = 0x8816
/// </summary>
Alpha32fExt = ((int)0x8816) ,
/// <summary>
/// Original was GL_LUMINANCE32F_EXT = 0x8818
/// </summary>
Luminance32fExt = ((int)0x8818) ,
/// <summary>
/// Original was GL_LUMINANCE_ALPHA32F_EXT = 0x8819
/// </summary>
LuminanceAlpha32fExt = ((int)0x8819) ,
/// <summary>
/// Original was GL_RGBA16F_EXT = 0x881A
/// </summary>
Rgba16fExt = ((int)0x881A) ,
/// <summary>
/// Original was GL_RGB16F_EXT = 0x881B
/// </summary>
Rgb16fExt = ((int)0x881B) ,
/// <summary>
/// Original was GL_ALPHA16F_EXT = 0x881C
/// </summary>
Alpha16fExt = ((int)0x881C) ,
/// <summary>
/// Original was GL_LUMINANCE16F_EXT = 0x881E
/// </summary>
Luminance16fExt = ((int)0x881E) ,
/// <summary>
/// Original was GL_LUMINANCE_ALPHA16F_EXT = 0x881F
/// </summary>
LuminanceAlpha16fExt = ((int)0x881F) ,
/// <summary>
/// Original was GL_RGB_RAW_422_APPLE = 0x8A51
/// </summary>
RgbRaw422Apple = ((int)0x8A51) ,
/// <summary>
/// Original was GL_BGRA8_EXT = 0x93A1
/// </summary>
Bgra8Ext = ((int)0x93A1) ,
}
/// <summary>
/// Used in GL.StencilFuncSeparate, GL.StencilMaskSeparate and 1 other function
/// </summary>
@ -19207,6 +19507,40 @@ namespace OpenTK.Graphics.ES20
ShadingLanguageVersion = ((int)0X8b8c) ,
}
/// <summary>
/// Used in GL.Apple.FenceSync
/// </summary>
public enum SyncCondition : int
{
/// <summary>
/// Original was GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE = 0x9117
/// </summary>
SyncGpuCommandsCompleteApple = ((int)0x9117) ,
}
/// <summary>
/// Used in GL.Apple.GetSync
/// </summary>
public enum SyncParameterName : int
{
/// <summary>
/// Original was GL_OBJECT_TYPE_APPLE = 0x9112
/// </summary>
ObjectTypeApple = ((int)0x9112) ,
/// <summary>
/// Original was GL_SYNC_CONDITION_APPLE = 0x9113
/// </summary>
SyncConditionApple = ((int)0x9113) ,
/// <summary>
/// Original was GL_SYNC_STATUS_APPLE = 0x9114
/// </summary>
SyncStatusApple = ((int)0x9114) ,
/// <summary>
/// Original was GL_SYNC_FLAGS_APPLE = 0x9115
/// </summary>
SyncFlagsApple = ((int)0x9115) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -19253,6 +19587,33 @@ namespace OpenTK.Graphics.ES20
Q = ((int)0x2003) ,
}
/// <summary>
/// Used in GL.CopyTexImage2D
/// </summary>
public enum TextureCopyComponentCount : int
{
/// <summary>
/// Original was GL_ALPHA = 0X1906
/// </summary>
Alpha = ((int)0X1906) ,
/// <summary>
/// Original was GL_RGB = 0X1907
/// </summary>
Rgb = ((int)0X1907) ,
/// <summary>
/// Original was GL_RGBA = 0X1908
/// </summary>
Rgba = ((int)0X1908) ,
/// <summary>
/// Original was GL_LUMINANCE = 0X1909
/// </summary>
Luminance = ((int)0X1909) ,
/// <summary>
/// Original was GL_LUMINANCE_ALPHA = 0x190A
/// </summary>
LuminanceAlpha = ((int)0x190A) ,
}
/// <summary>
/// Not used directly.
/// </summary>
@ -19649,7 +20010,7 @@ namespace OpenTK.Graphics.ES20
}
/// <summary>
/// Used in GL.BindTexture, GL.GenerateMipmap and 2 other functions
/// Used in GL.BindTexture, GL.CompressedTexImage2D and 8 other functions
/// </summary>
public enum TextureTarget : int
{
@ -19771,6 +20132,52 @@ namespace OpenTK.Graphics.ES20
TextureCubeMapNegativeZ = ((int)0X851a) ,
}
/// <summary>
/// Used in GL.CompressedTexImage2D, GL.CompressedTexSubImage2D and 7 other functions
/// </summary>
public enum TextureTarget2d : int
{
/// <summary>
/// Original was GL_TEXTURE_2D = 0x0DE1
/// </summary>
Texture2D = ((int)0x0DE1) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515
/// </summary>
TextureCubeMapPositiveX = ((int)0x8515) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516
/// </summary>
TextureCubeMapNegativeX = ((int)0x8516) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517
/// </summary>
TextureCubeMapPositiveY = ((int)0x8517) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518
/// </summary>
TextureCubeMapNegativeY = ((int)0x8518) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519
/// </summary>
TextureCubeMapPositiveZ = ((int)0x8519) ,
/// <summary>
/// Original was GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A
/// </summary>
TextureCubeMapNegativeZ = ((int)0x851A) ,
}
/// <summary>
/// Used in GL.Oes.CompressedTexImage3D, GL.Oes.CompressedTexSubImage3D and 3 other functions
/// </summary>
public enum TextureTarget3d : int
{
/// <summary>
/// Original was GL_TEXTURE_3D_OES = 0x806F
/// </summary>
Texture3DOes = ((int)0x806F) ,
}
/// <summary>
/// Used in GL.ActiveTexture
/// </summary>
@ -20104,4 +20511,38 @@ namespace OpenTK.Graphics.ES20
ShaderBinaryViv = ((int)0x8FC4) ,
}
/// <summary>
/// Used in GL.Apple.FenceSync, GL.Apple.WaitSync
/// </summary>
public enum WaitSyncFlags : int
{
/// <summary>
/// Original was GL_NONE = 0
/// </summary>
None = ((int)0) ,
}
/// <summary>
/// Not used directly.
/// </summary>
public enum WaitSyncStatus : int
{
/// <summary>
/// Original was GL_ALREADY_SIGNALED_APPLE = 0x911A
/// </summary>
AlreadySignaledApple = ((int)0x911A) ,
/// <summary>
/// Original was GL_TIMEOUT_EXPIRED_APPLE = 0x911B
/// </summary>
TimeoutExpiredApple = ((int)0x911B) ,
/// <summary>
/// Original was GL_CONDITION_SATISFIED_APPLE = 0x911C
/// </summary>
ConditionSatisfiedApple = ((int)0x911C) ,
/// <summary>
/// Original was GL_WAIT_FAILED_APPLE = 0x911D
/// </summary>
WaitFailedApple = ((int)0x911D) ,
}
}