diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2016-08-28 13:07:25 -0400 |
---|---|---|
committer | Ilia Mirkin <imirkin@alum.mit.edu> | 2016-08-28 21:41:47 -0400 |
commit | 6a5504de2fbc43b445406324485629a313f7e542 (patch) | |
tree | 4ffc1742b9366da249e99b8c2358a47f4b259a15 | |
parent | d49a231c330df1ed596137bdd2a3d69fcc99d48e (diff) |
Update Khronos-supplied headers to r33100
As retrieved from opengl.org and khronos.org. Maintained the APPLE hack
in GL/glext.h manually. Added gl32.h.
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Acked-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | include/GL/glext.h | 9 | ||||
-rw-r--r-- | include/GL/glxext.h | 36 | ||||
-rw-r--r-- | include/GL/wglext.h | 6 | ||||
-rw-r--r-- | include/GLES2/gl2.h | 154 | ||||
-rw-r--r-- | include/GLES2/gl2ext.h | 262 | ||||
-rw-r--r-- | include/GLES2/gl2platform.h | 2 | ||||
-rw-r--r-- | include/GLES3/gl3.h | 280 | ||||
-rw-r--r-- | include/GLES3/gl31.h | 348 | ||||
-rw-r--r-- | include/GLES3/gl32.h | 1825 | ||||
-rwxr-xr-x | src/mapi/glapi/registry/gl.xml | 1964 |
10 files changed, 4677 insertions, 209 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index 811af0d949..47535756f1 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -33,7 +33,7 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 32957 $ on $Date: 2016-06-09 17:03:08 -0400 (Thu, 09 Jun 2016) $ +** Khronos $Revision: 33061 $ on $Date: 2016-07-14 20:14:13 -0400 (Thu, 14 Jul 2016) $ */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -53,7 +53,7 @@ extern "C" { #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20160609 +#define GL_GLEXT_VERSION 20160714 /* Generated C header for: * API: gl @@ -8836,6 +8836,11 @@ GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRG #define GL_INTERLACE_READ_INGR 0x8568 #endif /* GL_INGR_interlace_read */ +#ifndef GL_INTEL_conservative_rasterization +#define GL_INTEL_conservative_rasterization 1 +#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE +#endif /* GL_INTEL_conservative_rasterization */ + #ifndef GL_INTEL_fragment_shader_ordering #define GL_INTEL_fragment_shader_ordering 1 #endif /* GL_INTEL_fragment_shader_ordering */ diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 174fc2186e..dce0290462 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013-2014 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,10 +33,10 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $ +** Khronos $Revision: 32889 $ on $Date: 2016-05-31 07:09:51 -0400 (Tue, 31 May 2016) $ */ -#define GLX_GLXEXT_VERSION 20140810 +#define GLX_GLXEXT_VERSION 20160531 /* Generated C header for: * API: glx @@ -250,6 +250,26 @@ __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName); #define GLX_GPU_NUM_SIMD_AMD 0x21A6 #define GLX_GPU_NUM_RB_AMD 0x21A7 #define GLX_GPU_NUM_SPI_AMD 0x21A8 +typedef unsigned int ( *PFNGLXGETGPUIDSAMDPROC) (unsigned int maxCount, unsigned int *ids); +typedef int ( *PFNGLXGETGPUINFOAMDPROC) (unsigned int id, int property, GLenum dataType, unsigned int size, void *data); +typedef unsigned int ( *PFNGLXGETCONTEXTGPUIDAMDPROC) (GLXContext ctx); +typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC) (unsigned int id, GLXContext share_list); +typedef GLXContext ( *PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC) (unsigned int id, GLXContext share_context, const int *attribList); +typedef Bool ( *PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC) (GLXContext ctx); +typedef Bool ( *PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC) (GLXContext ctx); +typedef GLXContext ( *PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC) (void); +typedef void ( *PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC) (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#ifdef GLX_GLXEXT_PROTOTYPES +unsigned int glXGetGPUIDsAMD (unsigned int maxCount, unsigned int *ids); +int glXGetGPUInfoAMD (unsigned int id, int property, GLenum dataType, unsigned int size, void *data); +unsigned int glXGetContextGPUIDAMD (GLXContext ctx); +GLXContext glXCreateAssociatedContextAMD (unsigned int id, GLXContext share_list); +GLXContext glXCreateAssociatedContextAttribsAMD (unsigned int id, GLXContext share_context, const int *attribList); +Bool glXDeleteAssociatedContextAMD (GLXContext ctx); +Bool glXMakeAssociatedContextCurrentAMD (GLXContext ctx); +GLXContext glXGetCurrentAssociatedContextAMD (void); +void glXBlitContextFramebufferAMD (GLXContext dstCtx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif #endif /* GLX_AMD_gpu_association */ #ifndef GLX_EXT_buffer_age @@ -297,6 +317,11 @@ void glXFreeContextEXT (Display *dpy, GLXContext context); #endif #endif /* GLX_EXT_import_context */ +#ifndef GLX_EXT_libglvnd +#define GLX_EXT_libglvnd 1 +#define GLX_VENDOR_NAMES_EXT 0x20F6 +#endif /* GLX_EXT_libglvnd */ + #ifndef GLX_EXT_stereo_tree #define GLX_EXT_stereo_tree 1 typedef struct { @@ -523,6 +548,11 @@ int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int vi #endif #endif /* GLX_NV_present_video */ +#ifndef GLX_NV_robustness_video_memory_purge +#define GLX_NV_robustness_video_memory_purge 1 +#define GLX_GENERATE_RESET_ON_VIDEO_MEMORY_PURGE_NV 0x20F7 +#endif /* GLX_NV_robustness_video_memory_purge */ + #ifndef GLX_NV_swap_group #define GLX_NV_swap_group 1 typedef Bool ( *PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group); diff --git a/include/GL/wglext.h b/include/GL/wglext.h index daba41091c..8c39b96cf7 100644 --- a/include/GL/wglext.h +++ b/include/GL/wglext.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013-2014 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,7 +33,7 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 27684 $ on $Date: 2014-08-11 01:21:35 -0700 (Mon, 11 Aug 2014) $ +** Khronos $Revision: 32686 $ on $Date: 2016-04-19 21:08:44 -0400 (Tue, 19 Apr 2016) $ */ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) @@ -41,7 +41,7 @@ extern "C" { #include <windows.h> #endif -#define WGL_WGLEXT_VERSION 20140810 +#define WGL_WGLEXT_VERSION 20160419 /* Generated C header for: * API: wgl diff --git a/include/GLES2/gl2.h b/include/GLES2/gl2.h index 665f6c3389..27ecbd8e20 100644 --- a/include/GLES2/gl2.h +++ b/include/GLES2/gl2.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,12 +33,16 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 24614 $ on $Date: 2013-12-30 04:44:46 -0800 (Mon, 30 Dec 2013) $ +** Khronos $Revision: 32749 $ on $Date: 2016-04-28 09:03:03 -0700 (Thu, 28 Apr 2016) $ */ #include <GLES2/gl2platform.h> -/* Generated on date 20131230 */ +#ifndef GL_APIENTRYP +#define GL_APIENTRYP GL_APIENTRY* +#endif + +/* Generated on date 20160428 */ /* Generated C header for: * API: gles2 @@ -374,6 +378,149 @@ typedef khronos_uint8_t GLubyte; #define GL_RENDERBUFFER_BINDING 0x8CA7 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); +typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); +typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); +typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); +typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); +typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); +typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); +typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); +typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); +typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); +typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); +typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -516,6 +663,7 @@ GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif #endif /* GL_ES_VERSION_2_0 */ #ifdef __cplusplus diff --git a/include/GLES2/gl2ext.h b/include/GLES2/gl2ext.h index 2d055961a1..b2d750e645 100644 --- a/include/GLES2/gl2ext.h +++ b/include/GLES2/gl2ext.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013-2015 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,14 +33,14 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 32120 $ on $Date: 2015-10-15 04:27:13 -0700 (Thu, 15 Oct 2015) $ +** Khronos $Revision: 33080 $ on $Date: 2016-08-05 04:09:22 -0700 (Fri, 05 Aug 2016) $ */ #ifndef GL_APIENTRYP #define GL_APIENTRYP GL_APIENTRY* #endif -/* Generated on date 20151015 */ +/* Generated on date 20160805 */ /* Generated C header for: * API: gles2 @@ -52,6 +52,10 @@ extern "C" { * Extensions removed: _nomatch_^ */ +#ifndef GL_ARB_sparse_texture2 +#define GL_ARB_sparse_texture2 1 +#endif /* GL_ARB_sparse_texture2 */ + #ifndef GL_KHR_blend_equation_advanced #define GL_KHR_blend_equation_advanced 1 #define GL_MULTIPLY_KHR 0x9294 @@ -752,6 +756,34 @@ GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); #define GL_INT_10_10_10_2_OES 0x8DF7 #endif /* GL_OES_vertex_type_10_10_10_2 */ +#ifndef GL_OES_viewport_array +#define GL_OES_viewport_array 1 +#define GL_MAX_VIEWPORTS_OES 0x825B +#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C +#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D +#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F +typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v); +GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v); +GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v); +GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v); +GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data); +#endif +#endif /* GL_OES_viewport_array */ + #ifndef GL_AMD_compressed_3DC_texture #define GL_AMD_compressed_3DC_texture 1 #define GL_3DC_X_AMD 0x87F9 @@ -1086,6 +1118,21 @@ GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, #endif #endif /* GL_EXT_buffer_storage */ +#ifndef GL_EXT_clip_cull_distance +#define GL_EXT_clip_cull_distance 1 +#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32 +#define GL_MAX_CULL_DISTANCES_EXT 0x82F9 +#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA +#define GL_CLIP_DISTANCE0_EXT 0x3000 +#define GL_CLIP_DISTANCE1_EXT 0x3001 +#define GL_CLIP_DISTANCE2_EXT 0x3002 +#define GL_CLIP_DISTANCE3_EXT 0x3003 +#define GL_CLIP_DISTANCE4_EXT 0x3004 +#define GL_CLIP_DISTANCE5_EXT 0x3005 +#define GL_CLIP_DISTANCE6_EXT 0x3006 +#define GL_CLIP_DISTANCE7_EXT 0x3007 +#endif /* GL_EXT_clip_cull_distance */ + #ifndef GL_EXT_color_buffer_float #define GL_EXT_color_buffer_float 1 #endif /* GL_EXT_color_buffer_float */ @@ -1412,6 +1459,15 @@ GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLi #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A #endif /* GL_EXT_occlusion_query_boolean */ +#ifndef GL_EXT_polygon_offset_clamp +#define GL_EXT_polygon_offset_clamp 1 +#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp); +#endif +#endif /* GL_EXT_polygon_offset_clamp */ + #ifndef GL_EXT_post_depth_coverage #define GL_EXT_post_depth_coverage 1 #endif /* GL_EXT_post_depth_coverage */ @@ -1425,6 +1481,12 @@ GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat min #endif #endif /* GL_EXT_primitive_bounding_box */ +#ifndef GL_EXT_protected_textures +#define GL_EXT_protected_textures 1 +#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010 +#define GL_TEXTURE_PROTECTED_EXT 0x8BFA +#endif /* GL_EXT_protected_textures */ + #ifndef GL_EXT_pvrtc_sRGB #define GL_EXT_pvrtc_sRGB 1 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 @@ -1604,6 +1666,10 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 #endif /* GL_EXT_shader_framebuffer_fetch */ +#ifndef GL_EXT_shader_group_vote +#define GL_EXT_shader_group_vote 1 +#endif /* GL_EXT_shader_group_vote */ + #ifndef GL_EXT_shader_implicit_conversions #define GL_EXT_shader_implicit_conversions 1 #endif /* GL_EXT_shader_implicit_conversions */ @@ -1616,6 +1682,10 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_EXT_shader_io_blocks 1 #endif /* GL_EXT_shader_io_blocks */ +#ifndef GL_EXT_shader_non_constant_global_initializers +#define GL_EXT_shader_non_constant_global_initializers 1 +#endif /* GL_EXT_shader_non_constant_global_initializers */ + #ifndef GL_EXT_shader_pixel_local_storage #define GL_EXT_shader_pixel_local_storage 1 #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63 @@ -1623,6 +1693,21 @@ GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64 #endif /* GL_EXT_shader_pixel_local_storage */ +#ifndef GL_EXT_shader_pixel_local_storage2 +#define GL_EXT_shader_pixel_local_storage2 1 +#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650 +#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651 +#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652 +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size); +typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target); +typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size); +GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target); +GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values); +#endif +#endif /* GL_EXT_shader_pixel_local_storage2 */ + #ifndef GL_EXT_shader_texture_lod #define GL_EXT_shader_texture_lod 1 #endif /* GL_EXT_shader_texture_lod */ @@ -1888,11 +1973,39 @@ GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLu #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 #endif /* GL_EXT_unpack_subimage */ +#ifndef GL_EXT_window_rectangles +#define GL_EXT_window_rectangles 1 +#define GL_INCLUSIVE_EXT 0x8F10 +#define GL_EXCLUSIVE_EXT 0x8F11 +#define GL_WINDOW_RECTANGLE_EXT 0x8F12 +#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13 +#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14 +#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15 +typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box); +#endif +#endif /* GL_EXT_window_rectangles */ + #ifndef GL_FJ_shader_binary_GCCSO #define GL_FJ_shader_binary_GCCSO 1 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 #endif /* GL_FJ_shader_binary_GCCSO */ +#ifndef GL_IMG_framebuffer_downsample +#define GL_IMG_framebuffer_downsample 1 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C +#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D +#define GL_DOWNSAMPLE_SCALES_IMG 0x913E +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale); +GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale); +#endif +#endif /* GL_IMG_framebuffer_downsample */ + #ifndef GL_IMG_multisampled_render_to_texture #define GL_IMG_multisampled_render_to_texture 1 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 @@ -1944,6 +2057,11 @@ GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B #endif /* GL_IMG_texture_filter_cubic */ +#ifndef GL_INTEL_conservative_rasterization +#define GL_INTEL_conservative_rasterization 1 +#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE +#endif /* GL_INTEL_conservative_rasterization */ + #ifndef GL_INTEL_framebuffer_CMAA #define GL_INTEL_framebuffer_CMAA 1 typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void); @@ -2120,6 +2238,17 @@ GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybit #endif #endif /* GL_NV_conservative_raster */ +#ifndef GL_NV_conservative_raster_pre_snap_triangles +#define GL_NV_conservative_raster_pre_snap_triangles 1 +#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D +#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E +#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F +typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param); +#endif +#endif /* GL_NV_conservative_raster_pre_snap_triangles */ + #ifndef GL_NV_copy_buffer #define GL_NV_copy_buffer 1 #define GL_COPY_READ_BUFFER_NV 0x8F36 @@ -2307,6 +2436,109 @@ GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, G #define GL_NV_geometry_shader_passthrough 1 #endif /* GL_NV_geometry_shader_passthrough */ +#ifndef GL_NV_gpu_shader5 +#define GL_NV_gpu_shader5 1 +typedef khronos_int64_t GLint64EXT; +typedef khronos_uint64_t GLuint64EXT; +#define GL_INT64_NV 0x140E +#define GL_UNSIGNED_INT64_NV 0x140F +#define GL_INT8_NV 0x8FE0 +#define GL_INT8_VEC2_NV 0x8FE1 +#define GL_INT8_VEC3_NV 0x8FE2 +#define GL_INT8_VEC4_NV 0x8FE3 +#define GL_INT16_NV 0x8FE4 +#define GL_INT16_VEC2_NV 0x8FE5 +#define GL_INT16_VEC3_NV 0x8FE6 +#define GL_INT16_VEC4_NV 0x8FE7 +#define GL_INT64_VEC2_NV 0x8FE9 +#define GL_INT64_VEC3_NV 0x8FEA +#define GL_INT64_VEC4_NV 0x8FEB +#define GL_UNSIGNED_INT8_NV 0x8FEC +#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED +#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE +#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF +#define GL_UNSIGNED_INT16_NV 0x8FF0 +#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 +#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 +#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 +#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 +#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 +#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 +#define GL_FLOAT16_NV 0x8FF8 +#define GL_FLOAT16_VEC2_NV 0x8FF9 +#define GL_FLOAT16_VEC3_NV 0x8FFA +#define GL_FLOAT16_VEC4_NV 0x8FFB +#define GL_PATCHES 0x000E +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); +GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); +GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); +GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); +GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); +GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); +GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); +GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_NV_gpu_shader5 */ + #ifndef GL_NV_image_formats #define GL_NV_image_formats 1 #endif /* GL_NV_image_formats */ @@ -2713,6 +2945,10 @@ GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void); #define GL_NV_sample_mask_override_coverage 1 #endif /* GL_NV_sample_mask_override_coverage */ +#ifndef GL_NV_shader_atomic_fp16_vector +#define GL_NV_shader_atomic_fp16_vector 1 +#endif /* GL_NV_shader_atomic_fp16_vector */ + #ifndef GL_NV_shader_noperspective_interpolation #define GL_NV_shader_noperspective_interpolation 1 #endif /* GL_NV_shader_noperspective_interpolation */ @@ -2779,6 +3015,26 @@ GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index); #define GL_NV_viewport_array2 1 #endif /* GL_NV_viewport_array2 */ +#ifndef GL_NV_viewport_swizzle +#define GL_NV_viewport_swizzle 1 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355 +#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356 +#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357 +#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358 +#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359 +#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A +#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B +typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew); +#endif +#endif /* GL_NV_viewport_swizzle */ + #ifndef GL_OVR_multiview #define GL_OVR_multiview 1 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630 diff --git a/include/GLES2/gl2platform.h b/include/GLES2/gl2platform.h index c9fa3c4d64..89d4d44dc1 100644 --- a/include/GLES2/gl2platform.h +++ b/include/GLES2/gl2platform.h @@ -1,7 +1,7 @@ #ifndef __gl2platform_h_ #define __gl2platform_h_ -/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ +/* $Revision: 23328 $ on $Date:: 2013-10-02 02:28:28 -0700 #$ */ /* * This document is licensed under the SGI Free Software B License Version diff --git a/include/GLES3/gl3.h b/include/GLES3/gl3.h index 807fda8aa3..963d85efa0 100644 --- a/include/GLES3/gl3.h +++ b/include/GLES3/gl3.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -33,17 +33,21 @@ extern "C" { ** used to make the header, and the header can be found at ** http://www.opengl.org/registry/ ** -** Khronos $Revision: 24614 $ on $Date: 2013-12-30 04:44:46 -0800 (Mon, 30 Dec 2013) $ +** Khronos $Revision: 32749 $ on $Date: 2016-04-28 09:03:03 -0700 (Thu, 28 Apr 2016) $ */ #include <GLES3/gl3platform.h> -/* Generated on date 20131230 */ +#ifndef GL_APIENTRYP +#define GL_APIENTRYP GL_APIENTRY* +#endif + +/* Generated on date 20160428 */ /* Generated C header for: * API: gles2 * Profile: common - * Versions considered: [23]\.[0-9] + * Versions considered: 2\.[0-9]|3\.0 * Versions emitted: .* * Default extensions included: None * Additional extensions included: _nomatch_^ @@ -374,6 +378,149 @@ typedef khronos_uint8_t GLubyte; #define GL_RENDERBUFFER_BINDING 0x8CA7 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); +typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); +typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); +typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); +typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); +typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); +typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); +typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); +typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); +typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); +typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); +typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -516,6 +663,7 @@ GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif #endif /* GL_ES_VERSION_2_0 */ #ifndef GL_ES_VERSION_3_0 @@ -705,6 +853,22 @@ typedef unsigned short GLhalf; #define GL_COLOR_ATTACHMENT13 0x8CED #define GL_COLOR_ATTACHMENT14 0x8CEE #define GL_COLOR_ATTACHMENT15 0x8CEF +#define GL_COLOR_ATTACHMENT16 0x8CF0 +#define GL_COLOR_ATTACHMENT17 0x8CF1 +#define GL_COLOR_ATTACHMENT18 0x8CF2 +#define GL_COLOR_ATTACHMENT19 0x8CF3 +#define GL_COLOR_ATTACHMENT20 0x8CF4 +#define GL_COLOR_ATTACHMENT21 0x8CF5 +#define GL_COLOR_ATTACHMENT22 0x8CF6 +#define GL_COLOR_ATTACHMENT23 0x8CF7 +#define GL_COLOR_ATTACHMENT24 0x8CF8 +#define GL_COLOR_ATTACHMENT25 0x8CF9 +#define GL_COLOR_ATTACHMENT26 0x8CFA +#define GL_COLOR_ATTACHMENT27 0x8CFB +#define GL_COLOR_ATTACHMENT28 0x8CFC +#define GL_COLOR_ATTACHMENT29 0x8CFD +#define GL_COLOR_ATTACHMENT30 0x8CFE +#define GL_COLOR_ATTACHMENT31 0x8CFF #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 #define GL_MAX_SAMPLES 0x8D57 #define GL_HALF_FLOAT 0x140B @@ -826,7 +990,112 @@ typedef unsigned short GLhalf; #define GL_MAX_ELEMENT_INDEX 0x8D6B #define GL_NUM_SAMPLE_COUNTS 0x9380 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); +typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); +typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); +typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); +typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); +typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); +typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); +typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); +typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); +typedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); +typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); @@ -930,6 +1199,7 @@ GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei n GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#endif #endif /* GL_ES_VERSION_3_0 */ #ifdef __cplusplus diff --git a/include/GLES3/gl31.h b/include/GLES3/gl31.h index cb41e981b0..5786c93006 100644 --- a/include/GLES3/gl31.h +++ b/include/GLES3/gl31.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** Copyright (c) 2013-2014 The Khronos Group Inc. +** Copyright (c) 2013-2016 The Khronos Group Inc. ** ** Permission is hereby granted, free of charge, to any person obtaining a ** copy of this software and/or associated documentation files (the @@ -38,12 +38,16 @@ extern "C" { #include <GLES3/gl3platform.h> -/* Generated on date 20140317 */ +#ifndef GL_APIENTRYP +#define GL_APIENTRYP GL_APIENTRY* +#endif + +/* Generated on date 20160428 */ /* Generated C header for: * API: gles2 * Profile: common - * Versions considered: 2.[0-9]|3.[01] + * Versions considered: 2\.[0-9]|3\.[01] * Versions emitted: .* * Default extensions included: None * Additional extensions included: _nomatch_^ @@ -374,6 +378,149 @@ typedef khronos_uint8_t GLubyte; #define GL_RENDERBUFFER_BINDING 0x8CA7 #define GL_MAX_RENDERBUFFER_SIZE 0x84E8 #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); +typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); +typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); +typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); +typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); +typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); +typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); +typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); +typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); +typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); +typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); +typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); @@ -516,6 +663,7 @@ GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif #endif /* GL_ES_VERSION_2_0 */ #ifndef GL_ES_VERSION_3_0 @@ -705,6 +853,22 @@ typedef unsigned short GLhalf; #define GL_COLOR_ATTACHMENT13 0x8CED #define GL_COLOR_ATTACHMENT14 0x8CEE #define GL_COLOR_ATTACHMENT15 0x8CEF +#define GL_COLOR_ATTACHMENT16 0x8CF0 +#define GL_COLOR_ATTACHMENT17 0x8CF1 +#define GL_COLOR_ATTACHMENT18 0x8CF2 +#define GL_COLOR_ATTACHMENT19 0x8CF3 +#define GL_COLOR_ATTACHMENT20 0x8CF4 +#define GL_COLOR_ATTACHMENT21 0x8CF5 +#define GL_COLOR_ATTACHMENT22 0x8CF6 +#define GL_COLOR_ATTACHMENT23 0x8CF7 +#define GL_COLOR_ATTACHMENT24 0x8CF8 +#define GL_COLOR_ATTACHMENT25 0x8CF9 +#define GL_COLOR_ATTACHMENT26 0x8CFA +#define GL_COLOR_ATTACHMENT27 0x8CFB +#define GL_COLOR_ATTACHMENT28 0x8CFC +#define GL_COLOR_ATTACHMENT29 0x8CFD +#define GL_COLOR_ATTACHMENT30 0x8CFE +#define GL_COLOR_ATTACHMENT31 0x8CFF #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 #define GL_MAX_SAMPLES 0x8D57 #define GL_HALF_FLOAT 0x140B @@ -826,7 +990,112 @@ typedef unsigned short GLhalf; #define GL_MAX_ELEMENT_INDEX 0x8D6B #define GL_NUM_SAMPLE_COUNTS 0x9380 #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF -GL_APICALL void GL_APIENTRY glReadBuffer (GLenum mode); +typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); +typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); +typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); +typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); +typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); +typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); +typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); +typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); +typedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); +typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); @@ -930,6 +1199,7 @@ GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei n GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#endif #endif /* GL_ES_VERSION_3_0 */ #ifndef GL_ES_VERSION_3_1 @@ -1107,6 +1377,75 @@ GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum interna #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); +typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); +typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); +typedef void (GL_APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); +typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); @@ -1175,6 +1514,7 @@ GL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size GL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); GL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); +#endif #endif /* GL_ES_VERSION_3_1 */ #ifdef __cplusplus diff --git a/include/GLES3/gl32.h b/include/GLES3/gl32.h new file mode 100644 index 0000000000..f3932e6276 --- /dev/null +++ b/include/GLES3/gl32.h @@ -0,0 +1,1825 @@ +#ifndef __gl32_h_ +#define __gl32_h_ 1 + +#ifdef __cplusplus +extern "C" { +#endif + +/* +** Copyright (c) 2013-2016 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** http://www.opengl.org/registry/ +** +** Khronos $Revision$ on $Date$ +*/ + +#include <GLES3/gl3platform.h> + +#ifndef GL_APIENTRYP +#define GL_APIENTRYP GL_APIENTRY* +#endif + +/* Generated on date 20160428 */ + +/* Generated C header for: + * API: gles2 + * Profile: common + * Versions considered: 2\.[0-9]|3\.[012] + * Versions emitted: .* + * Default extensions included: None + * Additional extensions included: _nomatch_^ + * Extensions removed: _nomatch_^ + */ + +#ifndef GL_ES_VERSION_2_0 +#define GL_ES_VERSION_2_0 1 +#include <KHR/khrplatform.h> +typedef khronos_int8_t GLbyte; +typedef khronos_float_t GLclampf; +typedef khronos_int32_t GLfixed; +typedef short GLshort; +typedef unsigned short GLushort; +typedef void GLvoid; +typedef struct __GLsync *GLsync; +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef unsigned int GLenum; +typedef unsigned int GLuint; +typedef char GLchar; +typedef khronos_float_t GLfloat; +typedef khronos_ssize_t GLsizeiptr; +typedef khronos_intptr_t GLintptr; +typedef unsigned int GLbitfield; +typedef int GLint; +typedef unsigned char GLboolean; +typedef int GLsizei; +typedef khronos_uint8_t GLubyte; +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 +#define GL_FALSE 0 +#define GL_TRUE 1 +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +#define GL_FUNC_ADD 0x8006 +#define GL_BLEND_EQUATION 0x8009 +#define GL_BLEND_EQUATION_RGB 0x8009 +#define GL_BLEND_EQUATION_ALPHA 0x883D +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_BLEND_COLOR 0x8005 +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_STREAM_DRAW 0x88E0 +#define GL_STATIC_DRAW 0x88E4 +#define GL_DYNAMIC_DRAW 0x88E8 +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_FRONT_AND_BACK 0x0408 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_CULL_FACE 0x0B44 +#define GL_BLEND 0x0BE2 +#define GL_DITHER 0x0BD0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_DEPTH_TEST 0x0B71 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_OUT_OF_MEMORY 0x0505 +#define GL_CW 0x0900 +#define GL_CCW 0x0901 +#define GL_LINE_WIDTH 0x0B21 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#define GL_VIEWPORT 0x0BA2 +#define GL_SCISSOR_BOX 0x0C10 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 +#define GL_GENERATE_MIPMAP_HINT 0x8192 +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_FIXED 0x140C +#define GL_DEPTH_COMPONENT 0x1902 +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#define GL_SHADER_TYPE 0x8B4F +#define GL_DELETE_STATUS 0x8B80 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +#define GL_INVERT 0x150A +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_TEXTURE 0x1702 +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_REPEAT 0x2901 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_MIRRORED_REPEAT 0x8370 +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_CUBE 0x8B60 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F +#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B +#define GL_COMPILE_STATUS 0x8B81 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_SHADER_COMPILER 0x8DFA +#define GL_SHADER_BINARY_FORMATS 0x8DF8 +#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 +#define GL_LOW_FLOAT 0x8DF0 +#define GL_MEDIUM_FLOAT 0x8DF1 +#define GL_HIGH_FLOAT 0x8DF2 +#define GL_LOW_INT 0x8DF3 +#define GL_MEDIUM_INT 0x8DF4 +#define GL_HIGH_INT 0x8DF5 +#define GL_FRAMEBUFFER 0x8D40 +#define GL_RENDERBUFFER 0x8D41 +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGB565 0x8D62 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_STENCIL_INDEX8 0x8D48 +#define GL_RENDERBUFFER_WIDTH 0x8D42 +#define GL_RENDERBUFFER_HEIGHT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 +#define GL_RENDERBUFFER_RED_SIZE 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 +#define GL_COLOR_ATTACHMENT0 0x8CE0 +#define GL_DEPTH_ATTACHMENT 0x8D00 +#define GL_STENCIL_ATTACHMENT 0x8D20 +#define GL_NONE 0 +#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 +#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD +#define GL_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_RENDERBUFFER_BINDING 0x8CA7 +#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 +#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture); +typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); +typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s); +typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures); +typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func); +typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap); +typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode); +typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures); +typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); +typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode); +typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width); +typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units); +typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass); +typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); +GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); +GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); +GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); +GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode); +GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); +GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); +GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d); +GL_APICALL void GL_APIENTRY glClearStencil (GLint s); +GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); +GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); +GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); +GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); +GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); +GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); +GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); +GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures); +GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); +GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); +GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glDisable (GLenum cap); +GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glEnable (GLenum cap); +GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glFinish (void); +GL_APICALL void GL_APIENTRY glFlush (void); +GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); +GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); +GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); +GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures); +GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data); +GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL GLenum GL_APIENTRY glGetError (void); +GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data); +GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name); +GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); +GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); +GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); +GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); +GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); +GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); +GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); +GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); +GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); +GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); +GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); +GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); +GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); +GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); +GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); +GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); +GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); +#endif +#endif /* GL_ES_VERSION_2_0 */ + +#ifndef GL_ES_VERSION_3_0 +#define GL_ES_VERSION_3_0 1 +typedef unsigned short GLhalf; +#define GL_READ_BUFFER 0x0C02 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_COLOR 0x1800 +#define GL_DEPTH 0x1801 +#define GL_STENCIL 0x1802 +#define GL_RED 0x1903 +#define GL_RGB8 0x8051 +#define GL_RGBA8 0x8058 +#define GL_RGB10_A2 0x8059 +#define GL_TEXTURE_BINDING_3D 0x806A +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_DEPTH_COMPONENT24 0x81A6 +#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_TEXTURE_COMPARE_MODE 0x884C +#define GL_TEXTURE_COMPARE_FUNC 0x884D +#define GL_CURRENT_QUERY 0x8865 +#define GL_QUERY_RESULT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE 0x8867 +#define GL_BUFFER_MAPPED 0x88BC +#define GL_BUFFER_MAP_POINTER 0x88BD +#define GL_STREAM_READ 0x88E1 +#define GL_STREAM_COPY 0x88E2 +#define GL_STATIC_READ 0x88E5 +#define GL_STATIC_COPY 0x88E6 +#define GL_DYNAMIC_READ 0x88E9 +#define GL_DYNAMIC_COPY 0x88EA +#define GL_MAX_DRAW_BUFFERS 0x8824 +#define GL_DRAW_BUFFER0 0x8825 +#define GL_DRAW_BUFFER1 0x8826 +#define GL_DRAW_BUFFER2 0x8827 +#define GL_DRAW_BUFFER3 0x8828 +#define GL_DRAW_BUFFER4 0x8829 +#define GL_DRAW_BUFFER5 0x882A +#define GL_DRAW_BUFFER6 0x882B +#define GL_DRAW_BUFFER7 0x882C +#define GL_DRAW_BUFFER8 0x882D +#define GL_DRAW_BUFFER9 0x882E +#define GL_DRAW_BUFFER10 0x882F +#define GL_DRAW_BUFFER11 0x8830 +#define GL_DRAW_BUFFER12 0x8831 +#define GL_DRAW_BUFFER13 0x8832 +#define GL_DRAW_BUFFER14 0x8833 +#define GL_DRAW_BUFFER15 0x8834 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A +#define GL_SAMPLER_3D 0x8B5F +#define GL_SAMPLER_2D_SHADOW 0x8B62 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B +#define GL_PIXEL_PACK_BUFFER 0x88EB +#define GL_PIXEL_UNPACK_BUFFER 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF +#define GL_FLOAT_MAT2x3 0x8B65 +#define GL_FLOAT_MAT2x4 0x8B66 +#define GL_FLOAT_MAT3x2 0x8B67 +#define GL_FLOAT_MAT3x4 0x8B68 +#define GL_FLOAT_MAT4x2 0x8B69 +#define GL_FLOAT_MAT4x3 0x8B6A +#define GL_SRGB 0x8C40 +#define GL_SRGB8 0x8C41 +#define GL_SRGB8_ALPHA8 0x8C43 +#define GL_COMPARE_REF_TO_TEXTURE 0x884E +#define GL_MAJOR_VERSION 0x821B +#define GL_MINOR_VERSION 0x821C +#define GL_NUM_EXTENSIONS 0x821D +#define GL_RGBA32F 0x8814 +#define GL_RGB32F 0x8815 +#define GL_RGBA16F 0x881A +#define GL_RGB16F 0x881B +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD +#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF +#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 +#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 +#define GL_MAX_VARYING_COMPONENTS 0x8B4B +#define GL_TEXTURE_2D_ARRAY 0x8C1A +#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D +#define GL_R11F_G11F_B10F 0x8C3A +#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B +#define GL_RGB9_E5 0x8C3D +#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 +#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 +#define GL_RASTERIZER_DISCARD 0x8C89 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B +#define GL_INTERLEAVED_ATTRIBS 0x8C8C +#define GL_SEPARATE_ATTRIBS 0x8C8D +#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F +#define GL_RGBA32UI 0x8D70 +#define GL_RGB32UI 0x8D71 +#define GL_RGBA16UI 0x8D76 +#define GL_RGB16UI 0x8D77 +#define GL_RGBA8UI 0x8D7C +#define GL_RGB8UI 0x8D7D +#define GL_RGBA32I 0x8D82 +#define GL_RGB32I 0x8D83 +#define GL_RGBA16I 0x8D88 +#define GL_RGB16I 0x8D89 +#define GL_RGBA8I 0x8D8E +#define GL_RGB8I 0x8D8F +#define GL_RED_INTEGER 0x8D94 +#define GL_RGB_INTEGER 0x8D98 +#define GL_RGBA_INTEGER 0x8D99 +#define GL_SAMPLER_2D_ARRAY 0x8DC1 +#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 +#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 +#define GL_UNSIGNED_INT_VEC2 0x8DC6 +#define GL_UNSIGNED_INT_VEC3 0x8DC7 +#define GL_UNSIGNED_INT_VEC4 0x8DC8 +#define GL_INT_SAMPLER_2D 0x8DCA +#define GL_INT_SAMPLER_3D 0x8DCB +#define GL_INT_SAMPLER_CUBE 0x8DCC +#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF +#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 +#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 +#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 +#define GL_BUFFER_ACCESS_FLAGS 0x911F +#define GL_BUFFER_MAP_LENGTH 0x9120 +#define GL_BUFFER_MAP_OFFSET 0x9121 +#define GL_DEPTH_COMPONENT32F 0x8CAC +#define GL_DEPTH32F_STENCIL8 0x8CAD +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 +#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 +#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 +#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 +#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 +#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 +#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 +#define GL_FRAMEBUFFER_DEFAULT 0x8218 +#define GL_FRAMEBUFFER_UNDEFINED 0x8219 +#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A +#define GL_DEPTH_STENCIL 0x84F9 +#define GL_UNSIGNED_INT_24_8 0x84FA +#define GL_DEPTH24_STENCIL8 0x88F0 +#define GL_UNSIGNED_NORMALIZED 0x8C17 +#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_READ_FRAMEBUFFER 0x8CA8 +#define GL_DRAW_FRAMEBUFFER 0x8CA9 +#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA +#define GL_RENDERBUFFER_SAMPLES 0x8CAB +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 +#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF +#define GL_COLOR_ATTACHMENT1 0x8CE1 +#define GL_COLOR_ATTACHMENT2 0x8CE2 +#define GL_COLOR_ATTACHMENT3 0x8CE3 +#define GL_COLOR_ATTACHMENT4 0x8CE4 +#define GL_COLOR_ATTACHMENT5 0x8CE5 +#define GL_COLOR_ATTACHMENT6 0x8CE6 +#define GL_COLOR_ATTACHMENT7 0x8CE7 +#define GL_COLOR_ATTACHMENT8 0x8CE8 +#define GL_COLOR_ATTACHMENT9 0x8CE9 +#define GL_COLOR_ATTACHMENT10 0x8CEA +#define GL_COLOR_ATTACHMENT11 0x8CEB +#define GL_COLOR_ATTACHMENT12 0x8CEC +#define GL_COLOR_ATTACHMENT13 0x8CED +#define GL_COLOR_ATTACHMENT14 0x8CEE +#define GL_COLOR_ATTACHMENT15 0x8CEF +#define GL_COLOR_ATTACHMENT16 0x8CF0 +#define GL_COLOR_ATTACHMENT17 0x8CF1 +#define GL_COLOR_ATTACHMENT18 0x8CF2 +#define GL_COLOR_ATTACHMENT19 0x8CF3 +#define GL_COLOR_ATTACHMENT20 0x8CF4 +#define GL_COLOR_ATTACHMENT21 0x8CF5 +#define GL_COLOR_ATTACHMENT22 0x8CF6 +#define GL_COLOR_ATTACHMENT23 0x8CF7 +#define GL_COLOR_ATTACHMENT24 0x8CF8 +#define GL_COLOR_ATTACHMENT25 0x8CF9 +#define GL_COLOR_ATTACHMENT26 0x8CFA +#define GL_COLOR_ATTACHMENT27 0x8CFB +#define GL_COLOR_ATTACHMENT28 0x8CFC +#define GL_COLOR_ATTACHMENT29 0x8CFD +#define GL_COLOR_ATTACHMENT30 0x8CFE +#define GL_COLOR_ATTACHMENT31 0x8CFF +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 +#define GL_MAX_SAMPLES 0x8D57 +#define GL_HALF_FLOAT 0x140B +#define GL_MAP_READ_BIT 0x0001 +#define GL_MAP_WRITE_BIT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 +#define GL_RG 0x8227 +#define GL_RG_INTEGER 0x8228 +#define GL_R8 0x8229 +#define GL_RG8 0x822B +#define GL_R16F 0x822D +#define GL_R32F 0x822E +#define GL_RG16F 0x822F +#define GL_RG32F 0x8230 +#define GL_R8I 0x8231 +#define GL_R8UI 0x8232 +#define GL_R16I 0x8233 +#define GL_R16UI 0x8234 +#define GL_R32I 0x8235 +#define GL_R32UI 0x8236 +#define GL_RG8I 0x8237 +#define GL_RG8UI 0x8238 +#define GL_RG16I 0x8239 +#define GL_RG16UI 0x823A +#define GL_RG32I 0x823B +#define GL_RG32UI 0x823C +#define GL_VERTEX_ARRAY_BINDING 0x85B5 +#define GL_R8_SNORM 0x8F94 +#define GL_RG8_SNORM 0x8F95 +#define GL_RGB8_SNORM 0x8F96 +#define GL_RGBA8_SNORM 0x8F97 +#define GL_SIGNED_NORMALIZED 0x8F9C +#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 +#define GL_COPY_READ_BUFFER 0x8F36 +#define GL_COPY_WRITE_BUFFER 0x8F37 +#define GL_COPY_READ_BUFFER_BINDING 0x8F36 +#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 +#define GL_UNIFORM_BUFFER 0x8A11 +#define GL_UNIFORM_BUFFER_BINDING 0x8A28 +#define GL_UNIFORM_BUFFER_START 0x8A29 +#define GL_UNIFORM_BUFFER_SIZE 0x8A2A +#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B +#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D +#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E +#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F +#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 +#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 +#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 +#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 +#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 +#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 +#define GL_UNIFORM_TYPE 0x8A37 +#define GL_UNIFORM_SIZE 0x8A38 +#define GL_UNIFORM_NAME_LENGTH 0x8A39 +#define GL_UNIFORM_BLOCK_INDEX 0x8A3A +#define GL_UNIFORM_OFFSET 0x8A3B +#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C +#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D +#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E +#define GL_UNIFORM_BLOCK_BINDING 0x8A3F +#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 +#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 +#define GL_INVALID_INDEX 0xFFFFFFFFu +#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 +#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 +#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 +#define GL_OBJECT_TYPE 0x9112 +#define GL_SYNC_CONDITION 0x9113 +#define GL_SYNC_STATUS 0x9114 +#define GL_SYNC_FLAGS 0x9115 +#define GL_SYNC_FENCE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 +#define GL_UNSIGNALED 0x9118 +#define GL_SIGNALED 0x9119 +#define GL_ALREADY_SIGNALED 0x911A +#define GL_TIMEOUT_EXPIRED 0x911B +#define GL_CONDITION_SATISFIED 0x911C +#define GL_WAIT_FAILED 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 +#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE +#define GL_ANY_SAMPLES_PASSED 0x8C2F +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A +#define GL_SAMPLER_BINDING 0x8919 +#define GL_RGB10_A2UI 0x906F +#define GL_TEXTURE_SWIZZLE_R 0x8E42 +#define GL_TEXTURE_SWIZZLE_G 0x8E43 +#define GL_TEXTURE_SWIZZLE_B 0x8E44 +#define GL_TEXTURE_SWIZZLE_A 0x8E45 +#define GL_GREEN 0x1904 +#define GL_BLUE 0x1905 +#define GL_INT_2_10_10_10_REV 0x8D9F +#define GL_TRANSFORM_FEEDBACK 0x8E22 +#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 +#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 +#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 +#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 +#define GL_PROGRAM_BINARY_LENGTH 0x8741 +#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE +#define GL_PROGRAM_BINARY_FORMATS 0x87FF +#define GL_COMPRESSED_R11_EAC 0x9270 +#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 +#define GL_COMPRESSED_RG11_EAC 0x9272 +#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 +#define GL_COMPRESSED_RGB8_ETC2 0x9274 +#define GL_COMPRESSED_SRGB8_ETC2 0x9275 +#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 +#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 +#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 +#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 +#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F +#define GL_MAX_ELEMENT_INDEX 0x8D6B +#define GL_NUM_SAMPLE_COUNTS 0x9380 +#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF +typedef void (GL_APIENTRYP PFNGLREADBUFFERPROC) (GLenum src); +typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLENDQUERYPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); +typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); +typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); +typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); +typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); +typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); +typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); +typedef void (GL_APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); +typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBuffer (GLenum src); +GL_APICALL void GL_APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glGenQueries (GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); +GL_APICALL GLboolean GL_APIENTRY glIsQuery (GLuint id); +GL_APICALL void GL_APIENTRY glBeginQuery (GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glEndQuery (GLenum target); +GL_APICALL void GL_APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); +GL_APICALL GLboolean GL_APIENTRY glUnmapBuffer (GLenum target); +GL_APICALL void GL_APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); +GL_APICALL void GL_APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); +GL_APICALL void GL_APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GL_APICALL void *GL_APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); +GL_APICALL void GL_APIENTRY glBindVertexArray (GLuint array); +GL_APICALL void GL_APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); +GL_APICALL void GL_APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); +GL_APICALL GLboolean GL_APIENTRY glIsVertexArray (GLuint array); +GL_APICALL void GL_APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); +GL_APICALL void GL_APIENTRY glBeginTransformFeedback (GLenum primitiveMode); +GL_APICALL void GL_APIENTRY glEndTransformFeedback (void); +GL_APICALL void GL_APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); +GL_APICALL void GL_APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +GL_APICALL void GL_APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); +GL_APICALL void GL_APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); +GL_APICALL void GL_APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); +GL_APICALL GLint GL_APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glUniform1ui (GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); +GL_APICALL void GL_APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); +GL_APICALL void GL_APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); +GL_APICALL void GL_APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +GL_APICALL const GLubyte *GL_APIENTRY glGetStringi (GLenum name, GLuint index); +GL_APICALL void GL_APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +GL_APICALL void GL_APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +GL_APICALL void GL_APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +GL_APICALL void GL_APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +GL_APICALL GLsync GL_APIENTRY glFenceSync (GLenum condition, GLbitfield flags); +GL_APICALL GLboolean GL_APIENTRY glIsSync (GLsync sync); +GL_APICALL void GL_APIENTRY glDeleteSync (GLsync sync); +GL_APICALL GLenum GL_APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); +GL_APICALL void GL_APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); +GL_APICALL GLboolean GL_APIENTRY glIsSampler (GLuint sampler); +GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler); +GL_APICALL void GL_APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); +GL_APICALL void GL_APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); +GL_APICALL void GL_APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); +GL_APICALL void GL_APIENTRY glBindTransformFeedback (GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); +GL_APICALL void GL_APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); +GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedback (GLuint id); +GL_APICALL void GL_APIENTRY glPauseTransformFeedback (void); +GL_APICALL void GL_APIENTRY glResumeTransformFeedback (void); +GL_APICALL void GL_APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GL_APICALL void GL_APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); +GL_APICALL void GL_APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GL_APICALL void GL_APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +#endif +#endif /* GL_ES_VERSION_3_0 */ + +#ifndef GL_ES_VERSION_3_1 +#define GL_ES_VERSION_3_1 1 +#define GL_COMPUTE_SHADER 0x91B9 +#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB +#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC +#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD +#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 +#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 +#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 +#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 +#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 +#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB +#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE +#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF +#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 +#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE +#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF +#define GL_COMPUTE_SHADER_BIT 0x00000020 +#define GL_DRAW_INDIRECT_BUFFER 0x8F3F +#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 +#define GL_MAX_UNIFORM_LOCATIONS 0x826E +#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 +#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 +#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 +#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 +#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 +#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 +#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 +#define GL_UNIFORM 0x92E1 +#define GL_UNIFORM_BLOCK 0x92E2 +#define GL_PROGRAM_INPUT 0x92E3 +#define GL_PROGRAM_OUTPUT 0x92E4 +#define GL_BUFFER_VARIABLE 0x92E5 +#define GL_SHADER_STORAGE_BLOCK 0x92E6 +#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 +#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 +#define GL_ACTIVE_RESOURCES 0x92F5 +#define GL_MAX_NAME_LENGTH 0x92F6 +#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 +#define GL_NAME_LENGTH 0x92F9 +#define GL_TYPE 0x92FA +#define GL_ARRAY_SIZE 0x92FB +#define GL_OFFSET 0x92FC +#define GL_BLOCK_INDEX 0x92FD +#define GL_ARRAY_STRIDE 0x92FE +#define GL_MATRIX_STRIDE 0x92FF +#define GL_IS_ROW_MAJOR 0x9300 +#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 +#define GL_BUFFER_BINDING 0x9302 +#define GL_BUFFER_DATA_SIZE 0x9303 +#define GL_NUM_ACTIVE_VARIABLES 0x9304 +#define GL_ACTIVE_VARIABLES 0x9305 +#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 +#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A +#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B +#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C +#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D +#define GL_LOCATION 0x930E +#define GL_VERTEX_SHADER_BIT 0x00000001 +#define GL_FRAGMENT_SHADER_BIT 0x00000002 +#define GL_ALL_SHADER_BITS 0xFFFFFFFF +#define GL_PROGRAM_SEPARABLE 0x8258 +#define GL_ACTIVE_PROGRAM 0x8259 +#define GL_PROGRAM_PIPELINE_BINDING 0x825A +#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 +#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 +#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 +#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC +#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 +#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 +#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 +#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 +#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC +#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 +#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB +#define GL_MAX_IMAGE_UNITS 0x8F38 +#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA +#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE +#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF +#define GL_IMAGE_BINDING_NAME 0x8F3A +#define GL_IMAGE_BINDING_LEVEL 0x8F3B +#define GL_IMAGE_BINDING_LAYERED 0x8F3C +#define GL_IMAGE_BINDING_LAYER 0x8F3D +#define GL_IMAGE_BINDING_ACCESS 0x8F3E +#define GL_IMAGE_BINDING_FORMAT 0x906E +#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 +#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 +#define GL_UNIFORM_BARRIER_BIT 0x00000004 +#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 +#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 +#define GL_COMMAND_BARRIER_BIT 0x00000040 +#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 +#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 +#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 +#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 +#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 +#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 +#define GL_ALL_BARRIER_BITS 0xFFFFFFFF +#define GL_IMAGE_2D 0x904D +#define GL_IMAGE_3D 0x904E +#define GL_IMAGE_CUBE 0x9050 +#define GL_IMAGE_2D_ARRAY 0x9053 +#define GL_INT_IMAGE_2D 0x9058 +#define GL_INT_IMAGE_3D 0x9059 +#define GL_INT_IMAGE_CUBE 0x905B +#define GL_INT_IMAGE_2D_ARRAY 0x905E +#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 +#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 +#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 +#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 +#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 +#define GL_READ_ONLY 0x88B8 +#define GL_WRITE_ONLY 0x88B9 +#define GL_READ_WRITE 0x88BA +#define GL_SHADER_STORAGE_BUFFER 0x90D2 +#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 +#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 +#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 +#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 +#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA +#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB +#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC +#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD +#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE +#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF +#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 +#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 +#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA +#define GL_STENCIL_INDEX 0x1901 +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F +#define GL_SAMPLE_POSITION 0x8E50 +#define GL_SAMPLE_MASK 0x8E51 +#define GL_SAMPLE_MASK_VALUE 0x8E52 +#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 +#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 +#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E +#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F +#define GL_MAX_INTEGER_SAMPLES 0x9110 +#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 +#define GL_TEXTURE_SAMPLES 0x9106 +#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 +#define GL_TEXTURE_WIDTH 0x1000 +#define GL_TEXTURE_HEIGHT 0x1001 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 +#define GL_TEXTURE_RED_SIZE 0x805C +#define GL_TEXTURE_GREEN_SIZE 0x805D +#define GL_TEXTURE_BLUE_SIZE 0x805E +#define GL_TEXTURE_ALPHA_SIZE 0x805F +#define GL_TEXTURE_DEPTH_SIZE 0x884A +#define GL_TEXTURE_STENCIL_SIZE 0x88F1 +#define GL_TEXTURE_SHARED_SIZE 0x8C3F +#define GL_TEXTURE_RED_TYPE 0x8C10 +#define GL_TEXTURE_GREEN_TYPE 0x8C11 +#define GL_TEXTURE_BLUE_TYPE 0x8C12 +#define GL_TEXTURE_ALPHA_TYPE 0x8C13 +#define GL_TEXTURE_DEPTH_TYPE 0x8C16 +#define GL_TEXTURE_COMPRESSED 0x86A1 +#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 +#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 +#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A +#define GL_VERTEX_ATTRIB_BINDING 0x82D4 +#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 +#define GL_VERTEX_BINDING_DIVISOR 0x82D6 +#define GL_VERTEX_BINDING_OFFSET 0x82D7 +#define GL_VERTEX_BINDING_STRIDE 0x82D8 +#define GL_VERTEX_BINDING_BUFFER 0x8F4F +#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 +#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA +#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); +typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); +typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); +typedef void (GL_APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); +typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +GL_APICALL void GL_APIENTRY glDispatchComputeIndirect (GLintptr indirect); +GL_APICALL void GL_APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); +GL_APICALL void GL_APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); +GL_APICALL void GL_APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); +GL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +GL_APICALL void GL_APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); +GL_APICALL void GL_APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); +GL_APICALL void GL_APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); +GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); +GL_APICALL void GL_APIENTRY glBindProgramPipeline (GLuint pipeline); +GL_APICALL void GL_APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); +GL_APICALL void GL_APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); +GL_APICALL GLboolean GL_APIENTRY glIsProgramPipeline (GLuint pipeline); +GL_APICALL void GL_APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glValidateProgramPipeline (GLuint pipeline); +GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +GL_APICALL void GL_APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); +GL_APICALL void GL_APIENTRY glMemoryBarrier (GLbitfield barriers); +GL_APICALL void GL_APIENTRY glMemoryBarrierByRegion (GLbitfield barriers); +GL_APICALL void GL_APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GL_APICALL void GL_APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); +GL_APICALL void GL_APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); +GL_APICALL void GL_APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +GL_APICALL void GL_APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +GL_APICALL void GL_APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GL_APICALL void GL_APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); +GL_APICALL void GL_APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); +#endif +#endif /* GL_ES_VERSION_3_1 */ + +#ifndef GL_ES_VERSION_3_2 +#define GL_ES_VERSION_3_2 1 +typedef void (GL_APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); +#define GL_MULTISAMPLE_LINE_WIDTH_RANGE 0x9381 +#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY 0x9382 +#define GL_MULTIPLY 0x9294 +#define GL_SCREEN 0x9295 +#define GL_OVERLAY 0x9296 +#define GL_DARKEN 0x9297 +#define GL_LIGHTEN 0x9298 +#define GL_COLORDODGE 0x9299 +#define GL_COLORBURN 0x929A +#define GL_HARDLIGHT 0x929B +#define GL_SOFTLIGHT 0x929C +#define GL_DIFFERENCE 0x929E +#define GL_EXCLUSION 0x92A0 +#define GL_HSL_HUE 0x92AD +#define GL_HSL_SATURATION 0x92AE +#define GL_HSL_COLOR 0x92AF +#define GL_HSL_LUMINOSITY 0x92B0 +#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 +#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 +#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 +#define GL_DEBUG_SOURCE_API 0x8246 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 +#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 +#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 +#define GL_DEBUG_SOURCE_APPLICATION 0x824A +#define GL_DEBUG_SOURCE_OTHER 0x824B +#define GL_DEBUG_TYPE_ERROR 0x824C +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E +#define GL_DEBUG_TYPE_PORTABILITY 0x824F +#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 +#define GL_DEBUG_TYPE_OTHER 0x8251 +#define GL_DEBUG_TYPE_MARKER 0x8268 +#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 +#define GL_DEBUG_TYPE_POP_GROUP 0x826A +#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B +#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C +#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D +#define GL_BUFFER 0x82E0 +#define GL_SHADER 0x82E1 +#define GL_PROGRAM 0x82E2 +#define GL_VERTEX_ARRAY 0x8074 +#define GL_QUERY 0x82E3 +#define GL_PROGRAM_PIPELINE 0x82E4 +#define GL_SAMPLER 0x82E6 +#define GL_MAX_LABEL_LENGTH 0x82E8 +#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES 0x9145 +#define GL_DEBUG_SEVERITY_HIGH 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 +#define GL_DEBUG_SEVERITY_LOW 0x9148 +#define GL_DEBUG_OUTPUT 0x92E0 +#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_GEOMETRY_SHADER 0x8DD9 +#define GL_GEOMETRY_SHADER_BIT 0x00000004 +#define GL_GEOMETRY_VERTICES_OUT 0x8916 +#define GL_GEOMETRY_INPUT_TYPE 0x8917 +#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 +#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F +#define GL_LAYER_PROVOKING_VERTEX 0x825E +#define GL_LINES_ADJACENCY 0x000A +#define GL_LINE_STRIP_ADJACENCY 0x000B +#define GL_TRIANGLES_ADJACENCY 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF +#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C +#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 +#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 +#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 +#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 +#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF +#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 +#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD +#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 +#define GL_FIRST_VERTEX_CONVENTION 0x8E4D +#define GL_LAST_VERTEX_CONVENTION 0x8E4E +#define GL_UNDEFINED_VERTEX 0x8260 +#define GL_PRIMITIVES_GENERATED 0x8C87 +#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 +#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 +#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 +#define GL_PRIMITIVE_BOUNDING_BOX 0x92BE +#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 +#define GL_CONTEXT_FLAGS 0x821E +#define GL_LOSE_CONTEXT_ON_RESET 0x8252 +#define GL_GUILTY_CONTEXT_RESET 0x8253 +#define GL_INNOCENT_CONTEXT_RESET 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET 0x8255 +#define GL_RESET_NOTIFICATION_STRATEGY 0x8256 +#define GL_NO_RESET_NOTIFICATION 0x8261 +#define GL_CONTEXT_LOST 0x0507 +#define GL_SAMPLE_SHADING 0x8C36 +#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 +#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B +#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C +#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D +#define GL_PATCHES 0x000E +#define GL_PATCH_VERTICES 0x8E72 +#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 +#define GL_TESS_GEN_MODE 0x8E76 +#define GL_TESS_GEN_SPACING 0x8E77 +#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 +#define GL_TESS_GEN_POINT_MODE 0x8E79 +#define GL_ISOLINES 0x8E7A +#define GL_QUADS 0x0007 +#define GL_FRACTIONAL_ODD 0x8E7B +#define GL_FRACTIONAL_EVEN 0x8E7C +#define GL_MAX_PATCH_VERTICES 0x8E7D +#define GL_MAX_TESS_GEN_LEVEL 0x8E7E +#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F +#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 +#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 +#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 +#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 +#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 +#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 +#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 +#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 +#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A +#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C +#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D +#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E +#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 +#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB +#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC +#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 +#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 +#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 +#define GL_IS_PER_PATCH 0x92E7 +#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 +#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 +#define GL_TESS_CONTROL_SHADER 0x8E88 +#define GL_TESS_EVALUATION_SHADER 0x8E87 +#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 +#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 +#define GL_TEXTURE_BORDER_COLOR 0x1004 +#define GL_CLAMP_TO_BORDER 0x812D +#define GL_TEXTURE_BUFFER 0x8C2A +#define GL_TEXTURE_BUFFER_BINDING 0x8C2A +#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B +#define GL_TEXTURE_BINDING_BUFFER 0x8C2C +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D +#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F +#define GL_SAMPLER_BUFFER 0x8DC2 +#define GL_INT_SAMPLER_BUFFER 0x8DD0 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 +#define GL_IMAGE_BUFFER 0x9051 +#define GL_INT_IMAGE_BUFFER 0x905C +#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 +#define GL_TEXTURE_BUFFER_OFFSET 0x919D +#define GL_TEXTURE_BUFFER_SIZE 0x919E +#define GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0 +#define GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1 +#define GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2 +#define GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3 +#define GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4 +#define GL_COMPRESSED_RGBA_ASTC_8x5 0x93B5 +#define GL_COMPRESSED_RGBA_ASTC_8x6 0x93B6 +#define GL_COMPRESSED_RGBA_ASTC_8x8 0x93B7 +#define GL_COMPRESSED_RGBA_ASTC_10x5 0x93B8 +#define GL_COMPRESSED_RGBA_ASTC_10x6 0x93B9 +#define GL_COMPRESSED_RGBA_ASTC_10x8 0x93BA +#define GL_COMPRESSED_RGBA_ASTC_10x10 0x93BB +#define GL_COMPRESSED_RGBA_ASTC_12x10 0x93BC +#define GL_COMPRESSED_RGBA_ASTC_12x12 0x93BD +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD +#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A +#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C +#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D +#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E +#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F +#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 +#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F +#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A +#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 +#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 +#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B +#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C +#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D +typedef void (GL_APIENTRYP PFNGLBLENDBARRIERPROC) (void); +typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); +typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); +typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); +typedef void (GL_APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); +typedef void (GL_APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +typedef void (GL_APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); +typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); +typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); +typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); +typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlendBarrier (void); +GL_APICALL void GL_APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +GL_APICALL void GL_APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GL_APICALL void GL_APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GL_APICALL void GL_APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); +GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GL_APICALL void GL_APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); +GL_APICALL void GL_APIENTRY glPopDebugGroup (void); +GL_APICALL void GL_APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glGetPointerv (GLenum pname, void **params); +GL_APICALL void GL_APIENTRY glEnablei (GLenum target, GLuint index); +GL_APICALL void GL_APIENTRY glDisablei (GLenum target, GLuint index); +GL_APICALL void GL_APIENTRY glBlendEquationi (GLuint buf, GLenum mode); +GL_APICALL void GL_APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); +GL_APICALL void GL_APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +GL_APICALL void GL_APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +GL_APICALL GLboolean GL_APIENTRY glIsEnabledi (GLenum target, GLuint index); +GL_APICALL void GL_APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); +GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); +GL_APICALL void GL_APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glPrimitiveBoundingBox (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW); +GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatus (void); +GL_APICALL void GL_APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +GL_APICALL void GL_APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params); +GL_APICALL void GL_APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params); +GL_APICALL void GL_APIENTRY glMinSampleShading (GLfloat value); +GL_APICALL void GL_APIENTRY glPatchParameteri (GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); +GL_APICALL void GL_APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); +GL_APICALL void GL_APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); +GL_APICALL void GL_APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); +GL_APICALL void GL_APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +#endif +#endif /* GL_ES_VERSION_3_2 */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/mapi/glapi/registry/gl.xml b/src/mapi/glapi/registry/gl.xml index 0e12acc9b5..3fc8863bf7 100755 --- a/src/mapi/glapi/registry/gl.xml +++ b/src/mapi/glapi/registry/gl.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <registry> <comment> -Copyright (c) 2013-2014 The Khronos Group Inc. +Copyright (c) 2013-2016 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the @@ -142,6 +142,11 @@ typedef unsigned int GLhandleARB; <type api="gles2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> <type api="gles2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> <!-- GLES 2 types (none currently) --> + <!-- GLSC 2 types --> + <type api="glsc2" requires="khrplatform">typedef khronos_uint8_t <name>GLubyte</name>;</type> + <type api="glsc2" requires="khrplatform">typedef khronos_float_t <name>GLfloat</name>;</type> + <type api="glsc2" requires="khrplatform">typedef khronos_intptr_t <name>GLintptr</name>;</type> + <type api="glsc2" requires="khrplatform">typedef khronos_ssize_t <name>GLsizeiptr</name>;</type> <!-- Vendor extension types --> <type>typedef void (<apientry/> *<name>GLDEBUGPROCAMD</name>)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam);</type> <type>typedef unsigned short <name>GLhalfNV</name>;</type> @@ -330,6 +335,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_CONTEXT_FLAG_DEBUG_BIT_KHR"/> <enum name="GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT"/> <enum name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/> + <enum name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/> </group> <group name="ContextProfileMask"> @@ -2058,9 +2064,10 @@ typedef unsigned int GLhandleARB; <enum value="0x00000001" name="GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT"/> <enum value="0x00000002" name="GL_CONTEXT_FLAG_DEBUG_BIT"/> <enum value="0x00000002" name="GL_CONTEXT_FLAG_DEBUG_BIT_KHR"/> - <enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/> <enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT"/> + <enum value="0x00000004" name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB"/> <enum value="0x00000008" name="GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR"/> + <enum value="0x00000010" name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/> </enums> <enums namespace="GL" group="ContextProfileMask" type="bitmask"> @@ -2090,6 +2097,7 @@ typedef unsigned int GLhandleARB; <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT"/> <enum value="0x0200" name="GL_CLIENT_STORAGE_BIT_EXT"/> <enum value="0x0400" name="GL_SPARSE_STORAGE_BIT_ARB"/> + <!-- Bits 0x1000 and 0x0800 reserved for Joshua Schnarr, jschnarr@nvidia.com --> </enums> <enums namespace="GL" group="MemoryBarrierMask" type="bitmask"> @@ -2468,6 +2476,7 @@ typedef unsigned int GLhandleARB; <enum value="0x0306" name="GL_DST_COLOR"/> <enum value="0x0307" name="GL_ONE_MINUS_DST_COLOR"/> <enum value="0x0308" name="GL_SRC_ALPHA_SATURATE"/> + <enum value="0x0308" name="GL_SRC_ALPHA_SATURATE_EXT"/> <unused start="0x0309" end="0x03FF" comment="Unused for BlendingFactor"/> <enum value="0x0400" name="GL_FRONT_LEFT"/> <enum value="0x0401" name="GL_FRONT_RIGHT"/> @@ -2730,6 +2739,7 @@ typedef unsigned int GLhandleARB; <enum value="0x0D32" name="GL_MAX_CLIP_PLANES"/> <enum value="0x0D32" name="GL_MAX_CLIP_PLANES_IMG"/> <enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES" alias="GL_MAX_CLIP_PLANES"/> + <enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES_EXT" alias="GL_MAX_CLIP_PLANES"/> <enum value="0x0D32" name="GL_MAX_CLIP_DISTANCES_APPLE"/> <enum value="0x0D33" name="GL_MAX_TEXTURE_SIZE"/> <enum value="0x0D34" name="GL_MAX_PIXEL_MAP_TABLE"/> @@ -2845,6 +2855,7 @@ typedef unsigned int GLhandleARB; <enum value="0x140C" name="GL_FIXED"/> <enum value="0x140C" name="GL_FIXED_OES"/> <unused start="0x140D" comment="Leave gap to preserve even/odd int/uint token values"/> + <enum value="0x140E" name="GL_INT64_ARB"/> <enum value="0x140E" name="GL_INT64_NV"/> <enum value="0x140F" name="GL_UNSIGNED_INT64_ARB"/> <enum value="0x140F" name="GL_UNSIGNED_INT64_NV"/> @@ -2996,30 +3007,38 @@ typedef unsigned int GLhandleARB; <enum value="0x3000" name="GL_CLIP_PLANE0"/> <enum value="0x3000" name="GL_CLIP_PLANE0_IMG"/> <enum value="0x3000" name="GL_CLIP_DISTANCE0" alias="GL_CLIP_PLANE0"/> + <enum value="0x3000" name="GL_CLIP_DISTANCE0_EXT" alias="GL_CLIP_PLANE0"/> <enum value="0x3000" name="GL_CLIP_DISTANCE0_APPLE"/> <enum value="0x3001" name="GL_CLIP_PLANE1"/> <enum value="0x3001" name="GL_CLIP_PLANE1_IMG"/> <enum value="0x3001" name="GL_CLIP_DISTANCE1" alias="GL_CLIP_PLANE1"/> + <enum value="0x3001" name="GL_CLIP_DISTANCE1_EXT" alias="GL_CLIP_PLANE1"/> <enum value="0x3001" name="GL_CLIP_DISTANCE1_APPLE"/> <enum value="0x3002" name="GL_CLIP_PLANE2"/> <enum value="0x3002" name="GL_CLIP_PLANE2_IMG"/> <enum value="0x3002" name="GL_CLIP_DISTANCE2" alias="GL_CLIP_PLANE2"/> + <enum value="0x3002" name="GL_CLIP_DISTANCE2_EXT" alias="GL_CLIP_PLANE2"/> <enum value="0x3002" name="GL_CLIP_DISTANCE2_APPLE"/> <enum value="0x3003" name="GL_CLIP_PLANE3"/> <enum value="0x3003" name="GL_CLIP_PLANE3_IMG"/> <enum value="0x3003" name="GL_CLIP_DISTANCE3" alias="GL_CLIP_PLANE3"/> + <enum value="0x3003" name="GL_CLIP_DISTANCE3_EXT" alias="GL_CLIP_PLANE3"/> <enum value="0x3003" name="GL_CLIP_DISTANCE3_APPLE"/> <enum value="0x3004" name="GL_CLIP_PLANE4"/> <enum value="0x3004" name="GL_CLIP_PLANE4_IMG"/> <enum value="0x3004" name="GL_CLIP_DISTANCE4" alias="GL_CLIP_PLANE4"/> + <enum value="0x3004" name="GL_CLIP_DISTANCE4_EXT" alias="GL_CLIP_PLANE4"/> <enum value="0x3004" name="GL_CLIP_DISTANCE4_APPLE"/> <enum value="0x3005" name="GL_CLIP_PLANE5"/> <enum value="0x3005" name="GL_CLIP_PLANE5_IMG"/> <enum value="0x3005" name="GL_CLIP_DISTANCE5" alias="GL_CLIP_PLANE5"/> + <enum value="0x3005" name="GL_CLIP_DISTANCE5_EXT" alias="GL_CLIP_PLANE5"/> <enum value="0x3005" name="GL_CLIP_DISTANCE5_APPLE"/> <enum value="0x3006" name="GL_CLIP_DISTANCE6"/> + <enum value="0x3006" name="GL_CLIP_DISTANCE6_EXT" alias="GL_CLIP_DISTANCE6"/> <enum value="0x3006" name="GL_CLIP_DISTANCE6_APPLE"/> <enum value="0x3007" name="GL_CLIP_DISTANCE7"/> + <enum value="0x3007" name="GL_CLIP_DISTANCE7_EXT" alias="GL_CLIP_DISTANCE7"/> <enum value="0x3007" name="GL_CLIP_DISTANCE7_APPLE"/> <unused start="0x3008" end="0x3FFF" comment="Unused for ClipPlaneName"/> <enum value="0x4000" name="GL_LIGHT0"/> @@ -3953,18 +3972,22 @@ typedef unsigned int GLhandleARB; <enum value="0x825A" name="GL_PROGRAM_PIPELINE_BINDING_EXT"/> <enum value="0x825B" name="GL_MAX_VIEWPORTS"/> <enum value="0x825B" name="GL_MAX_VIEWPORTS_NV"/> + <enum value="0x825B" name="GL_MAX_VIEWPORTS_OES"/> <enum value="0x825C" name="GL_VIEWPORT_SUBPIXEL_BITS"/> <enum value="0x825C" name="GL_VIEWPORT_SUBPIXEL_BITS_EXT"/> <enum value="0x825C" name="GL_VIEWPORT_SUBPIXEL_BITS_NV"/> + <enum value="0x825C" name="GL_VIEWPORT_SUBPIXEL_BITS_OES"/> <enum value="0x825D" name="GL_VIEWPORT_BOUNDS_RANGE"/> <enum value="0x825D" name="GL_VIEWPORT_BOUNDS_RANGE_EXT"/> <enum value="0x825D" name="GL_VIEWPORT_BOUNDS_RANGE_NV"/> + <enum value="0x825D" name="GL_VIEWPORT_BOUNDS_RANGE_OES"/> <enum value="0x825E" name="GL_LAYER_PROVOKING_VERTEX"/> <enum value="0x825E" name="GL_LAYER_PROVOKING_VERTEX_EXT"/> <enum value="0x825E" name="GL_LAYER_PROVOKING_VERTEX_OES"/> <enum value="0x825F" name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX"/> <enum value="0x825F" name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX_EXT"/> <enum value="0x825F" name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV"/> + <enum value="0x825F" name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES"/> <enum value="0x8260" name="GL_UNDEFINED_VERTEX"/> <enum value="0x8260" name="GL_UNDEFINED_VERTEX_EXT"/> <enum value="0x8260" name="GL_UNDEFINED_VERTEX_OES"/> @@ -4060,7 +4083,6 @@ typedef unsigned int GLhandleARB; <enums namespace="GL" start="0x82B0" end="0x830F" vendor="ARB" comment="Range reclaimed from ADD on 2012/05/10"> <unused start="0x82B0" vendor="ARB"/> - <!-- future: <enum value="0x82B0" name="GL_MULTISAMPLE_LINE_WIDTH_RANGE"/> --> <enum value="0x82B1" name="GL_TEXTURE_COMPRESSED_BLOCK_WIDTH"/> <enum value="0x82B2" name="GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT"/> <enum value="0x82B3" name="GL_TEXTURE_COMPRESSED_BLOCK_SIZE"/> @@ -4152,7 +4174,9 @@ typedef unsigned int GLhandleARB; <enum value="0x82F7" name="GL_CLIPPING_OUTPUT_PRIMITIVES_ARB"/> <enum value="0x82F8" name="GL_SPARSE_BUFFER_PAGE_SIZE_ARB"/> <enum value="0x82F9" name="GL_MAX_CULL_DISTANCES"/> + <enum value="0x82F9" name="GL_MAX_CULL_DISTANCES_EXT" alias="GL_MAX_CULL_DISTANCES"/> <enum value="0x82FA" name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES"/> + <enum value="0x82FA" name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT" alias="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES"/> <enum value="0x82FB" name="GL_CONTEXT_RELEASE_BEHAVIOR"/> <enum value="0x82FB" name="GL_CONTEXT_RELEASE_BEHAVIOR_KHR"/> <enum value="0x82FC" name="GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH"/> @@ -4353,7 +4377,8 @@ typedef unsigned int GLhandleARB; <enum value="0x83F9" name="GL_PERFQUERY_DONOT_FLUSH_INTEL"/> <enum value="0x83FA" name="GL_PERFQUERY_FLUSH_INTEL"/> <enum value="0x83FB" name="GL_PERFQUERY_WAIT_INTEL"/> - <unused start="0x83FC" end="0x83FE" vendor="INTEL"/> + <unused start="0x83FC" end="0x83FD" vendor="INTEL"/> + <enum value="0x83FE" name="GL_CONSERVATIVE_RASTERIZATION_INTEL"/> <enum value="0x83FF" name="GL_TEXTURE_MEMORY_LAYOUT_INTEL"/> </enums> @@ -4847,6 +4872,7 @@ typedef unsigned int GLhandleARB; <enum value="0x8589" name="GL_SOURCE1_ALPHA_ARB"/> <enum value="0x8589" name="GL_SOURCE1_ALPHA_EXT"/> <enum value="0x8589" name="GL_SRC1_ALPHA" alias="GL_SOURCE1_ALPHA"/> + <enum value="0x8589" name="GL_SRC1_ALPHA_EXT"/> <enum value="0x858A" name="GL_SOURCE2_ALPHA"/> <enum value="0x858A" name="GL_SOURCE2_ALPHA_ARB"/> <enum value="0x858A" name="GL_SOURCE2_ALPHA_EXT"/> @@ -5962,9 +5988,13 @@ typedef unsigned int GLhandleARB; <enum value="0x88F7" name="GL_MAX_PROGRAM_LOOP_DEPTH_NV"/> <enum value="0x88F8" name="GL_MAX_PROGRAM_LOOP_COUNT_NV"/> <enum value="0x88F9" name="GL_SRC1_COLOR"/> + <enum value="0x88F9" name="GL_SRC1_COLOR_EXT"/> <enum value="0x88FA" name="GL_ONE_MINUS_SRC1_COLOR"/> + <enum value="0x88FA" name="GL_ONE_MINUS_SRC1_COLOR_EXT"/> <enum value="0x88FB" name="GL_ONE_MINUS_SRC1_ALPHA"/> + <enum value="0x88FB" name="GL_ONE_MINUS_SRC1_ALPHA_EXT"/> <enum value="0x88FC" name="GL_MAX_DUAL_SOURCE_DRAW_BUFFERS"/> + <enum value="0x88FC" name="GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT"/> <enum value="0x88FD" name="GL_VERTEX_ATTRIB_ARRAY_INTEGER"/> <enum value="0x88FD" name="GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT"/> <enum value="0x88FD" name="GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV"/> @@ -6415,7 +6445,9 @@ typedef unsigned int GLhandleARB; <enum value="0x8BDC" name="GL_STATE_RESTORE"/> <unused start="0x8BDD" end="0x8BE6" vendor="QCOM"/> <enum value="0x8BE7" name="GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT"/> - <unused start="0x8BE8" end="0x8BFF" vendor="QCOM"/> + <unused start="0x8BE8" end="0x8BEF" vendor="QCOM"/> + <enum value="0x8BFA" name="GL_TEXTURE_PROTECTED_EXT"/> + <unused start="0x8BFB" end="0x8BFF" vendor="QCOM"/> </enums> <enums namespace="GL" start="0x8C00" end="0x8C0F" vendor="IMG"> @@ -7170,6 +7202,7 @@ typedef unsigned int GLhandleARB; <enum value="0x8E4F" name="GL_PROVOKING_VERTEX_EXT"/> <enum value="0x8E50" name="GL_SAMPLE_POSITION"/> <enum value="0x8E50" name="GL_SAMPLE_POSITION_NV"/> + <enum value="0x8E50" name="GL_SAMPLE_LOCATION_ARB" alias="GL_SAMPLE_POSITION"/> <enum value="0x8E50" name="GL_SAMPLE_LOCATION_NV" alias="GL_SAMPLE_POSITION_NV"/> <enum value="0x8E51" name="GL_SAMPLE_MASK"/> <enum value="0x8E51" name="GL_SAMPLE_MASK_NV"/> @@ -7314,7 +7347,14 @@ typedef unsigned int GLhandleARB; <enum value="0x8ED5" name="GL_COVERAGE_ALL_FRAGMENTS_NV"/> <enum value="0x8ED6" name="GL_COVERAGE_EDGE_FRAGMENTS_NV"/> <enum value="0x8ED7" name="GL_COVERAGE_AUTOMATIC_NV"/> - <unused start="0x8ED8" end="0x8F1C" vendor="NV"/> + <unused start="0x8ED8" end="0x8F0F" vendor="NV"/> + <enum value="0x8F10" name="GL_INCLUSIVE_EXT"/> + <enum value="0x8F11" name="GL_EXCLUSIVE_EXT"/> + <enum value="0x8F12" name="GL_WINDOW_RECTANGLE_EXT"/> + <enum value="0x8F13" name="GL_WINDOW_RECTANGLE_MODE_EXT"/> + <enum value="0x8F14" name="GL_MAX_WINDOW_RECTANGLES_EXT"/> + <enum value="0x8F15" name="GL_NUM_WINDOW_RECTANGLES_EXT"/> + <unused start="0x8F16" end="0x8F1C" vendor="NV"/> <enum value="0x8F1D" name="GL_BUFFER_GPU_ADDRESS_NV"/> <enum value="0x8F1E" name="GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV"/> <enum value="0x8F1F" name="GL_ELEMENT_ARRAY_UNIFIED_NV"/> @@ -7464,8 +7504,11 @@ typedef unsigned int GLhandleARB; <enum value="0x8FE5" name="GL_INT16_VEC2_NV"/> <enum value="0x8FE6" name="GL_INT16_VEC3_NV"/> <enum value="0x8FE7" name="GL_INT16_VEC4_NV"/> + <enum value="0x8FE9" name="GL_INT64_VEC2_ARB"/> <enum value="0x8FE9" name="GL_INT64_VEC2_NV"/> + <enum value="0x8FEA" name="GL_INT64_VEC3_ARB"/> <enum value="0x8FEA" name="GL_INT64_VEC3_NV"/> + <enum value="0x8FEB" name="GL_INT64_VEC4_ARB"/> <enum value="0x8FEB" name="GL_INT64_VEC4_NV"/> <enum value="0x8FEC" name="GL_UNSIGNED_INT8_NV"/> <enum value="0x8FED" name="GL_UNSIGNED_INT8_VEC2_NV"/> @@ -7475,8 +7518,11 @@ typedef unsigned int GLhandleARB; <enum value="0x8FF1" name="GL_UNSIGNED_INT16_VEC2_NV"/> <enum value="0x8FF2" name="GL_UNSIGNED_INT16_VEC3_NV"/> <enum value="0x8FF3" name="GL_UNSIGNED_INT16_VEC4_NV"/> + <enum value="0x8FF5" name="GL_UNSIGNED_INT64_VEC2_ARB"/> <enum value="0x8FF5" name="GL_UNSIGNED_INT64_VEC2_NV"/> + <enum value="0x8FF6" name="GL_UNSIGNED_INT64_VEC3_ARB"/> <enum value="0x8FF6" name="GL_UNSIGNED_INT64_VEC3_NV"/> + <enum value="0x8FF7" name="GL_UNSIGNED_INT64_VEC4_ARB"/> <enum value="0x8FF7" name="GL_UNSIGNED_INT64_VEC4_NV"/> <enum value="0x8FF8" name="GL_FLOAT16_NV"/> <enum value="0x8FF9" name="GL_FLOAT16_VEC2_NV"/> @@ -7881,7 +7927,13 @@ typedef unsigned int GLhandleARB; <enum value="0x9136" name="GL_TEXTURE_SAMPLES_IMG"/> <enum value="0x9137" name="GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG"/> <enum value="0x9138" name="GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG"/> - <unused start="0x9139" end="0x913F" vendor="IMG"/> + <enum value="0x9139" name="GL_CUBIC_IMG"/> + <enum value="0x913A" name="GL_CUBIC_MIPMAP_NEAREST_IMG"/> + <enum value="0x913B" name="GL_CUBIC_MIPMAP_LINEAR_IMG"/> + <enum value="0x913C" name="GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG"/> + <enum value="0x913D" name="GL_NUM_DOWNSAMPLE_SCALES_IMG"/> + <enum value="0x913E" name="GL_DOWNSAMPLE_SCALES_IMG"/> + <enum value="0x913F" name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG"/> </enums> <enums namespace="GL" start="0x9140" end="0x923F" vendor="AMD" comment="Khronos bugs 5899, 6004"> @@ -7978,7 +8030,10 @@ typedef unsigned int GLhandleARB; <enum value="0x91A9" name="GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT"/> <enum value="0x91AA" name="GL_NUM_SPARSE_LEVELS_ARB"/> <enum value="0x91AA" name="GL_NUM_SPARSE_LEVELS_EXT"/> - <unused start="0x91AB" end="0x91B8" vendor="AMD"/> + <unused start="0x91AB" end="0x91AF" vendor="AMD"/> + <enum value="0x91B0" name="GL_MAX_SHADER_COMPILER_THREADS_ARB"/> + <enum value="0x91B1" name="GL_COMPLETION_STATUS_ARB"/> + <unused start="0x91B2" end="0x91B8" vendor="AMD"/> <enum value="0x91B9" name="GL_COMPUTE_SHADER"/> <unused start="0x91BA" vendor="AMD"/> <enum value="0x91BB" name="GL_MAX_COMPUTE_UNIFORM_BLOCKS"/> @@ -8058,28 +8113,39 @@ typedef unsigned int GLhandleARB; <enum value="0x9291" name="GL_PLUS_NV"/> <enum value="0x9292" name="GL_PLUS_DARKER_NV"/> <unused start="0x9293" vendor="NV"/> + <enum value="0x9294" name="GL_MULTIPLY"/> <enum value="0x9294" name="GL_MULTIPLY_KHR"/> <enum value="0x9294" name="GL_MULTIPLY_NV"/> + <enum value="0x9295" name="GL_SCREEN"/> <enum value="0x9295" name="GL_SCREEN_KHR"/> <enum value="0x9295" name="GL_SCREEN_NV"/> + <enum value="0x9296" name="GL_OVERLAY"/> <enum value="0x9296" name="GL_OVERLAY_KHR"/> <enum value="0x9296" name="GL_OVERLAY_NV"/> + <enum value="0x9297" name="GL_DARKEN"/> <enum value="0x9297" name="GL_DARKEN_KHR"/> <enum value="0x9297" name="GL_DARKEN_NV"/> + <enum value="0x9298" name="GL_LIGHTEN"/> <enum value="0x9298" name="GL_LIGHTEN_KHR"/> <enum value="0x9298" name="GL_LIGHTEN_NV"/> + <enum value="0x9299" name="GL_COLORDODGE"/> <enum value="0x9299" name="GL_COLORDODGE_KHR"/> <enum value="0x9299" name="GL_COLORDODGE_NV"/> + <enum value="0x929A" name="GL_COLORBURN"/> <enum value="0x929A" name="GL_COLORBURN_KHR"/> <enum value="0x929A" name="GL_COLORBURN_NV"/> + <enum value="0x929B" name="GL_HARDLIGHT"/> <enum value="0x929B" name="GL_HARDLIGHT_KHR"/> <enum value="0x929B" name="GL_HARDLIGHT_NV"/> + <enum value="0x929C" name="GL_SOFTLIGHT"/> <enum value="0x929C" name="GL_SOFTLIGHT_KHR"/> <enum value="0x929C" name="GL_SOFTLIGHT_NV"/> <unused start="0x929D" vendor="NV"/> + <enum value="0x929E" name="GL_DIFFERENCE"/> <enum value="0x929E" name="GL_DIFFERENCE_KHR"/> <enum value="0x929E" name="GL_DIFFERENCE_NV"/> <enum value="0x929F" name="GL_MINUS_NV"/> + <enum value="0x92A0" name="GL_EXCLUSION"/> <enum value="0x92A0" name="GL_EXCLUSION_KHR"/> <enum value="0x92A0" name="GL_EXCLUSION_NV"/> <enum value="0x92A1" name="GL_CONTRAST_NV"/> @@ -8092,19 +8158,27 @@ typedef unsigned int GLhandleARB; <enum value="0x92A8" name="GL_PINLIGHT_NV"/> <enum value="0x92A9" name="GL_HARDMIX_NV"/> <unused start="0x92AA" end="0x92AC" vendor="NV"/> + <enum value="0x92AD" name="GL_HSL_HUE"/> <enum value="0x92AD" name="GL_HSL_HUE_KHR"/> <enum value="0x92AD" name="GL_HSL_HUE_NV"/> + <enum value="0x92AE" name="GL_HSL_SATURATION"/> <enum value="0x92AE" name="GL_HSL_SATURATION_KHR"/> <enum value="0x92AE" name="GL_HSL_SATURATION_NV"/> + <enum value="0x92AF" name="GL_HSL_COLOR"/> <enum value="0x92AF" name="GL_HSL_COLOR_KHR"/> <enum value="0x92AF" name="GL_HSL_COLOR_NV"/> + <enum value="0x92B0" name="GL_HSL_LUMINOSITY"/> <enum value="0x92B0" name="GL_HSL_LUMINOSITY_KHR"/> <enum value="0x92B0" name="GL_HSL_LUMINOSITY_NV"/> <enum value="0x92B1" name="GL_PLUS_CLAMPED_NV"/> <enum value="0x92B2" name="GL_PLUS_CLAMPED_ALPHA_NV"/> <enum value="0x92B3" name="GL_MINUS_CLAMPED_NV"/> <enum value="0x92B4" name="GL_INVERT_OVG_NV"/> - <unused start="0x92B5" end="0x92BD" vendor="NV"/> + <unused start="0x92B5" end="0x92BA" vendor="NV"/> + <enum value="0x92BB" name="GL_PURGED_CONTEXT_RESET_NV"/> + <unused start="0x92BC" end="0x92BD" vendor="NV"/> + <enum value="0x92BE" name="GL_PRIMITIVE_BOUNDING_BOX_ARB"/> + <enum value="0x92BE" name="GL_PRIMITIVE_BOUNDING_BOX"/> <enum value="0x92BE" name="GL_PRIMITIVE_BOUNDING_BOX_EXT"/> <enum value="0x92BE" name="GL_PRIMITIVE_BOUNDING_BOX_OES"/> <unused start="0x92BF" vendor="NV"/> @@ -8209,6 +8283,7 @@ typedef unsigned int GLhandleARB; <enum value="0x930D" name="GL_TOP_LEVEL_ARRAY_STRIDE"/> <enum value="0x930E" name="GL_LOCATION"/> <enum value="0x930F" name="GL_LOCATION_INDEX"/> + <enum value="0x930F" name="GL_LOCATION_INDEX_EXT"/> <enum value="0x9310" name="GL_FRAMEBUFFER_DEFAULT_WIDTH"/> <enum value="0x9311" name="GL_FRAMEBUFFER_DEFAULT_HEIGHT"/> <enum value="0x9312" name="GL_FRAMEBUFFER_DEFAULT_LAYERS"/> @@ -8241,12 +8316,19 @@ typedef unsigned int GLhandleARB; <enum value="0x933A" name="GL_WARPS_PER_SM_NV"/> <enum value="0x933B" name="GL_SM_COUNT_NV"/> <enum value="0x933C" name="GL_FILL_RECTANGLE_NV"/> + <enum value="0x933D" name="GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB"/> <enum value="0x933D" name="GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV"/> + <enum value="0x933E" name="GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB"/> <enum value="0x933E" name="GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV"/> + <enum value="0x933F" name="GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB"/> <enum value="0x933F" name="GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV"/> + <enum value="0x9340" name="GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB"/> <enum value="0x9340" name="GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV"/> + <enum value="0x9341" name="GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB"/> <enum value="0x9341" name="GL_PROGRAMMABLE_SAMPLE_LOCATION_NV"/> + <enum value="0x9342" name="GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB"/> <enum value="0x9342" name="GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV"/> + <enum value="0x9343" name="GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB"/> <enum value="0x9343" name="GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV"/> <enum value="0x9344" name="GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB"/> <enum value="0x9345" name="GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB"/> @@ -8257,14 +8339,27 @@ typedef unsigned int GLhandleARB; <enum value="0x934A" name="GL_LOCATION_COMPONENT"/> <enum value="0x934B" name="GL_TRANSFORM_FEEDBACK_BUFFER_INDEX"/> <enum value="0x934C" name="GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE"/> - <unused start="0x934D" end="0x935B" vendor="NV"/> + <unused start="0x934D" end="0x934F" vendor="NV"/> + <enum value="0x9350" name="GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV"/> + <enum value="0x9351" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV"/> + <enum value="0x9352" name="GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV"/> + <enum value="0x9353" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV"/> + <enum value="0x9354" name="GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV"/> + <enum value="0x9355" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV"/> + <enum value="0x9356" name="GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV"/> + <enum value="0x9357" name="GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV"/> + <enum value="0x9358" name="GL_VIEWPORT_SWIZZLE_X_NV"/> + <enum value="0x9359" name="GL_VIEWPORT_SWIZZLE_Y_NV"/> + <enum value="0x935A" name="GL_VIEWPORT_SWIZZLE_Z_NV"/> + <enum value="0x935B" name="GL_VIEWPORT_SWIZZLE_W_NV"/> <enum value="0x935C" name="GL_CLIP_ORIGIN"/> <enum value="0x935D" name="GL_CLIP_DEPTH_MODE"/> <enum value="0x935E" name="GL_NEGATIVE_ONE_TO_ONE"/> <enum value="0x935F" name="GL_ZERO_TO_ONE"/> <unused start="0x9360" end="0x9364" vendor="NV"/> <enum value="0x9365" name="GL_CLEAR_TEXTURE"/> - <unused start="0x9366" end="0x9367" vendor="NV"/> + <enum value="0x9366" name="GL_TEXTURE_REDUCTION_MODE_ARB"/> + <enum value="0x9367" name="GL_WEIGHTED_AVERAGE_ARB"/> <enum value="0x9368" name="GL_FONT_GLYPHS_AVAILABLE_NV"/> <enum value="0x9369" name="GL_FONT_TARGET_UNAVAILABLE_NV"/> <enum value="0x936A" name="GL_FONT_UNAVAILABLE_NV"/> @@ -8278,12 +8373,23 @@ typedef unsigned int GLhandleARB; <enum value="0x9372" name="GL_SUPERSAMPLE_SCALE_X_NV"/> <enum value="0x9373" name="GL_SUPERSAMPLE_SCALE_Y_NV"/> <enum value="0x9374" name="GL_CONFORMANT_NV"/> - <unused start="0x9375" end="0x937F" vendor="NV"/> + <unused start="0x9375" end="0x9378" vendor="NV"/> + <enum value="0x9379" name="GL_CONSERVATIVE_RASTER_DILATE_NV"/> + <enum value="0x937A" name="GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV"/> + <enum value="0x937B" name="GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV"/> + <enum value="0x937C" name="GL_VIEWPORT_POSITION_W_SCALE_NV"/> + <enum value="0x937D" name="GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV"/> + <enum value="0x937E" name="GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV"/> + <unused start="0x937F" vendor="NV"/> </enums> <enums namespace="GL" start="0x9380" end="0x939F" vendor="ARB"> <enum value="0x9380" name="GL_NUM_SAMPLE_COUNTS"/> - <unused start="0x9381" end="0x939F" vendor="ARB"/> + <enum value="0x9381" name="GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB"/> + <enum value="0x9381" name="GL_MULTISAMPLE_LINE_WIDTH_RANGE"/> + <enum value="0x9382" name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB"/> + <enum value="0x9382" name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY"/> + <unused start="0x9383" end="0x939F" vendor="ARB"/> </enums> <enums namespace="GL" start="0x93A0" end="0x93AF" vendor="ANGLE" comment="Khronos bug 8100"> @@ -8298,19 +8404,33 @@ typedef unsigned int GLhandleARB; </enums> <enums namespace="GL" start="0x93B0" end="0x93EF" vendor="OES" comment="Khronos bug 8853"> + <enum value="0x93B0" name="GL_COMPRESSED_RGBA_ASTC_4x4"/> <enum value="0x93B0" name="GL_COMPRESSED_RGBA_ASTC_4x4_KHR"/> + <enum value="0x93B1" name="GL_COMPRESSED_RGBA_ASTC_5x4"/> <enum value="0x93B1" name="GL_COMPRESSED_RGBA_ASTC_5x4_KHR"/> + <enum value="0x93B2" name="GL_COMPRESSED_RGBA_ASTC_5x5"/> <enum value="0x93B2" name="GL_COMPRESSED_RGBA_ASTC_5x5_KHR"/> + <enum value="0x93B3" name="GL_COMPRESSED_RGBA_ASTC_6x5"/> <enum value="0x93B3" name="GL_COMPRESSED_RGBA_ASTC_6x5_KHR"/> + <enum value="0x93B4" name="GL_COMPRESSED_RGBA_ASTC_6x6"/> <enum value="0x93B4" name="GL_COMPRESSED_RGBA_ASTC_6x6_KHR"/> + <enum value="0x93B5" name="GL_COMPRESSED_RGBA_ASTC_8x5"/> <enum value="0x93B5" name="GL_COMPRESSED_RGBA_ASTC_8x5_KHR"/> + <enum value="0x93B6" name="GL_COMPRESSED_RGBA_ASTC_8x6"/> <enum value="0x93B6" name="GL_COMPRESSED_RGBA_ASTC_8x6_KHR"/> + <enum value="0x93B7" name="GL_COMPRESSED_RGBA_ASTC_8x8"/> <enum value="0x93B7" name="GL_COMPRESSED_RGBA_ASTC_8x8_KHR"/> + <enum value="0x93B8" name="GL_COMPRESSED_RGBA_ASTC_10x5"/> <enum value="0x93B8" name="GL_COMPRESSED_RGBA_ASTC_10x5_KHR"/> + <enum value="0x93B9" name="GL_COMPRESSED_RGBA_ASTC_10x6"/> <enum value="0x93B9" name="GL_COMPRESSED_RGBA_ASTC_10x6_KHR"/> + <enum value="0x93BA" name="GL_COMPRESSED_RGBA_ASTC_10x8"/> <enum value="0x93BA" name="GL_COMPRESSED_RGBA_ASTC_10x8_KHR"/> + <enum value="0x93BB" name="GL_COMPRESSED_RGBA_ASTC_10x10"/> <enum value="0x93BB" name="GL_COMPRESSED_RGBA_ASTC_10x10_KHR"/> + <enum value="0x93BC" name="GL_COMPRESSED_RGBA_ASTC_12x10"/> <enum value="0x93BC" name="GL_COMPRESSED_RGBA_ASTC_12x10_KHR"/> + <enum value="0x93BD" name="GL_COMPRESSED_RGBA_ASTC_12x12"/> <enum value="0x93BD" name="GL_COMPRESSED_RGBA_ASTC_12x12_KHR"/> <unused start="0x93BE" end="0x93BF" vendor="OES"/> <enum value="0x93C0" name="GL_COMPRESSED_RGBA_ASTC_3x3x3_OES"/> @@ -8324,19 +8444,33 @@ typedef unsigned int GLhandleARB; <enum value="0x93C8" name="GL_COMPRESSED_RGBA_ASTC_6x6x5_OES"/> <enum value="0x93C9" name="GL_COMPRESSED_RGBA_ASTC_6x6x6_OES"/> <unused start="0x93CA" end="0x93CF" vendor="OES"/> + <enum value="0x93D0" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4"/> <enum value="0x93D0" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR"/> + <enum value="0x93D1" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4"/> <enum value="0x93D1" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR"/> + <enum value="0x93D2" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5"/> <enum value="0x93D2" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR"/> + <enum value="0x93D3" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5"/> <enum value="0x93D3" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR"/> + <enum value="0x93D4" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6"/> <enum value="0x93D4" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR"/> + <enum value="0x93D5" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5"/> <enum value="0x93D5" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR"/> + <enum value="0x93D6" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6"/> <enum value="0x93D6" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR"/> + <enum value="0x93D7" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8"/> <enum value="0x93D7" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR"/> + <enum value="0x93D8" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5"/> <enum value="0x93D8" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR"/> + <enum value="0x93D9" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6"/> <enum value="0x93D9" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR"/> + <enum value="0x93DA" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8"/> <enum value="0x93DA" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR"/> + <enum value="0x93DB" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10"/> <enum value="0x93DB" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR"/> + <enum value="0x93DC" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10"/> <enum value="0x93DC" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR"/> + <enum value="0x93DD" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12"/> <enum value="0x93DD" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR"/> <unused start="0x93DE" end="0x93DF" vendor="OES"/> <enum value="0x93E0" name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES"/> @@ -8383,7 +8517,11 @@ typedef unsigned int GLhandleARB; </enums> <enums namespace="GL" start="0x9530" end="0x962F" vendor="NV" comment="Khronos bug 12977"> - <unused start="0x9530" end="0x962F" vendor="NV"/> + <unused start="0x9530" end="0x954C" vendor="NV"/> + <enum value="0x954D" name="GL_CONSERVATIVE_RASTER_MODE_NV"/> + <enum value="0x954E" name="GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV"/> + <enum value="0x954F" name="GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV"/> + <unused start="0x9550" end="0x962F" vendor="NV"/> </enums> <enums namespace="GL" start="0x9630" end="0x963F" vendor="Oculus" comment="Email from Cass Everitt"> @@ -8399,6 +8537,21 @@ typedef unsigned int GLhandleARB; <unused start="0x9642" end="0x964F" vendor="Mediatek"/> </enums> + <enums namespace="GL" start="0x9650" end="0x968F" vendor="IMG" comment="Khronos bug 14977"> + <enum value="0x9650" name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT"/> + <enum value="0x9651" name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT"/> + <enum value="0x9652" name="GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT"/> + <unused start="0x9653" end="0x968F" vendor="IMG"/> + </enums> + + <enums namespace="GL" start="0x9690" end="0x969F" vendor="ANGLE" comment="Khronos bug 15423"> + <unused start="0x9690" end="0x969F" vendor="ANGLE"/> + </enums> + + <enums namespace="GL" start="0x96A0" end="0x96AF" vendor="Qualcomm" comment="contact Maurice Ribble"> + <unused start="0x96A0" end="0x96AF" vendor="Qualcomm"/> + </enums> + <!-- Enums reservable for future use. To reserve a new range, allocate one or more multiples of 16 starting at the lowest available point in this block and note it in a new <enums> block immediately above. @@ -8408,8 +8561,8 @@ typedef unsigned int GLhandleARB; file) File requests in the Khronos Bugzilla, OpenGL project, Registry component. --> - <enums namespace="GL" start="0x9640" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS"> - <unused start="0x9640" end="99999" comment="RESERVED"/> + <enums namespace="GL" start="0x96B0" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS"> + <unused start="0x96B0" end="99999" comment="RESERVED"/> </enums> <!-- Historical large block allocations, all unused except (in older days) by IBM --> @@ -8579,6 +8732,9 @@ typedef unsigned int GLhandleARB; <param group="ClampedFixed"><ptype>GLfixed</ptype> <name>ref</name></param> </command> <command> + <proto>void <name>glApplyFramebufferAttachmentCMAAINTEL</name></proto> + </command> + <command> <proto>void <name>glApplyTextureEXT</name></proto> <param group="LightTextureModeEXT"><ptype>GLenum</ptype> <name>mode</name></param> </command> @@ -8838,6 +8994,14 @@ typedef unsigned int GLhandleARB; <param>const <ptype>GLchar</ptype> *<name>name</name></param> </command> <command> + <proto>void <name>glBindFragDataLocationIndexedEXT</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLuint</ptype> <name>colorNumber</name></param> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param>const <ptype>GLchar</ptype> *<name>name</name></param> + <alias name="glBindFragDataLocationIndexed"/> + </command> + <command> <proto>void <name>glBindFragmentShaderATI</name></proto> <param><ptype>GLuint</ptype> <name>id</name></param> </command> @@ -9130,10 +9294,15 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(width,height)">const <ptype>GLubyte</ptype> *<name>bitmap</name></param> </command> <command> + <proto>void <name>glBlendBarrier</name></proto> + </command> + <command> <proto>void <name>glBlendBarrierKHR</name></proto> + <alias name="glBlendBarrier"/> </command> <command> <proto>void <name>glBlendBarrierNV</name></proto> + <alias name="glBlendBarrier"/> </command> <command> <proto>void <name>glBlendColor</name></proto> @@ -9741,7 +9910,8 @@ typedef unsigned int GLhandleARB; <proto>void <name>glClearNamedFramebufferfi</name></proto> <param><ptype>GLuint</ptype> <name>framebuffer</name></param> <param><ptype>GLenum</ptype> <name>buffer</name></param> - <param>const <ptype>GLfloat</ptype> <name>depth</name></param> + <param><ptype>GLint</ptype> <name>drawbuffer</name></param> + <param><ptype>GLfloat</ptype> <name>depth</name></param> <param><ptype>GLint</ptype> <name>stencil</name></param> </command> <command> @@ -9766,6 +9936,12 @@ typedef unsigned int GLhandleARB; <param>const <ptype>GLuint</ptype> *<name>value</name></param> </command> <command> + <proto>void <name>glClearPixelLocalStorageuiEXT</name></proto> + <param><ptype>GLsizei</ptype> <name>offset</name></param> + <param><ptype>GLsizei</ptype> <name>n</name></param> + <param>const <ptype>GLuint</ptype> *<name>values</name></param> + </command> + <command> <proto>void <name>glClearStencil</name></proto> <param group="StencilValue"><ptype>GLint</ptype> <name>s</name></param> <glx type="render" opcode="131"/> @@ -10861,6 +11037,16 @@ typedef unsigned int GLhandleARB; <param len="imageSize">const void *<name>bits</name></param> </command> <command> + <proto>void <name>glConservativeRasterParameterfNV</name></proto> + <param><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLfloat</ptype> <name>value</name></param> + </command> + <command> + <proto>void <name>glConservativeRasterParameteriNV</name></proto> + <param><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLint</ptype> <name>param</name></param> + </command> + <command> <proto>void <name>glConvolutionFilter1D</name></proto> <param group="ConvolutionTarget"><ptype>GLenum</ptype> <name>target</name></param> <param group="PixelInternalFormat"><ptype>GLenum</ptype> <name>internalformat</name></param> @@ -11110,7 +11296,7 @@ typedef unsigned int GLhandleARB; <alias name="glCopyImageSubData"/> </command> <command> - <proto>void <name>glCopyImageSubDataOES</name></proto> + <proto>void <name>glCopyImageSubDataNV</name></proto> <param><ptype>GLuint</ptype> <name>srcName</name></param> <param><ptype>GLenum</ptype> <name>srcTarget</name></param> <param><ptype>GLint</ptype> <name>srcLevel</name></param> @@ -11123,13 +11309,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>dstX</name></param> <param><ptype>GLint</ptype> <name>dstY</name></param> <param><ptype>GLint</ptype> <name>dstZ</name></param> - <param><ptype>GLsizei</ptype> <name>srcWidth</name></param> - <param><ptype>GLsizei</ptype> <name>srcHeight</name></param> - <param><ptype>GLsizei</ptype> <name>srcDepth</name></param> - <alias name="glCopyImageSubData"/> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + <param><ptype>GLsizei</ptype> <name>depth</name></param> + <glx type="render" opcode="4291"/> </command> <command> - <proto>void <name>glCopyImageSubDataNV</name></proto> + <proto>void <name>glCopyImageSubDataOES</name></proto> <param><ptype>GLuint</ptype> <name>srcName</name></param> <param><ptype>GLenum</ptype> <name>srcTarget</name></param> <param><ptype>GLint</ptype> <name>srcLevel</name></param> @@ -11142,10 +11328,10 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>dstX</name></param> <param><ptype>GLint</ptype> <name>dstY</name></param> <param><ptype>GLint</ptype> <name>dstZ</name></param> - <param><ptype>GLsizei</ptype> <name>width</name></param> - <param><ptype>GLsizei</ptype> <name>height</name></param> - <param><ptype>GLsizei</ptype> <name>depth</name></param> - <glx type="render" opcode="4291"/> + <param><ptype>GLsizei</ptype> <name>srcWidth</name></param> + <param><ptype>GLsizei</ptype> <name>srcHeight</name></param> + <param><ptype>GLsizei</ptype> <name>srcDepth</name></param> + <alias name="glCopyImageSubData"/> </command> <command> <proto>void <name>glCopyMultiTexImage1DEXT</name></proto> @@ -11493,6 +11679,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLboolean</ptype> <name>mask</name></param> </command> <command> + <proto>void <name>glCoverageModulationNV</name></proto> + <param><ptype>GLenum</ptype> <name>components</name></param> + </command> + <command> + <proto>void <name>glCoverageModulationTableNV</name></proto> + <param><ptype>GLsizei</ptype> <name>n</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> <proto>void <name>glCoverageOperationNV</name></proto> <param><ptype>GLenum</ptype> <name>operation</name></param> </command> @@ -11507,11 +11702,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> *<name>lists</name></param> </command> <command> - <proto>void <name>glCreateStatesNV</name></proto> - <param><ptype>GLsizei</ptype> <name>n</name></param> - <param><ptype>GLuint</ptype> *<name>states</name></param> - </command> - <command> <proto>void <name>glCreateFramebuffers</name></proto> <param><ptype>GLsizei</ptype> <name>n</name></param> <param><ptype>GLuint</ptype> *<name>framebuffers</name></param> @@ -11576,6 +11766,11 @@ typedef unsigned int GLhandleARB; <param len="count">const <ptype>GLchar</ptype> **<name>strings</name></param> </command> <command> + <proto>void <name>glCreateStatesNV</name></proto> + <param><ptype>GLsizei</ptype> <name>n</name></param> + <param><ptype>GLuint</ptype> *<name>states</name></param> + </command> + <command> <proto group="sync"><ptype>GLsync</ptype> <name>glCreateSyncFromCLeventARB</name></proto> <param group="cl_context"><ptype>struct _cl_context</ptype> *<name>context</name></param> <param group="cl_event"><ptype>struct _cl_event</ptype> *<name>event</name></param> @@ -11780,11 +11975,6 @@ typedef unsigned int GLhandleARB; <param>const <ptype>GLuint</ptype> *<name>lists</name></param> </command> <command> - <proto>void <name>glDeleteStatesNV</name></proto> - <param><ptype>GLsizei</ptype> <name>n</name></param> - <param>const <ptype>GLuint</ptype> *<name>states</name></param> - </command> - <command> <proto>void <name>glDeleteFencesAPPLE</name></proto> <param><ptype>GLsizei</ptype> <name>n</name></param> <param group="FenceNV" len="n">const <ptype>GLuint</ptype> *<name>fences</name></param> @@ -11931,6 +12121,11 @@ typedef unsigned int GLhandleARB; <glx type="single" opcode="195"/> </command> <command> + <proto>void <name>glDeleteStatesNV</name></proto> + <param><ptype>GLsizei</ptype> <name>n</name></param> + <param>const <ptype>GLuint</ptype> *<name>states</name></param> + </command> + <command> <proto>void <name>glDeleteSync</name></proto> <param group="sync"><ptype>GLsync</ptype> <name>sync</name></param> </command> @@ -12013,18 +12208,24 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="174"/> </command> <command> - <proto>void <name>glDepthRangeArrayv</name></proto> + <proto>void <name>glDepthRangeArrayfvNV</name></proto> <param><ptype>GLuint</ptype> <name>first</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param len="COMPSIZE(count)">const <ptype>GLdouble</ptype> *<name>v</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> </command> <command> - <proto>void <name>glDepthRangeArrayfvNV</name></proto> + <proto>void <name>glDepthRangeArrayfvOES</name></proto> <param><ptype>GLuint</ptype> <name>first</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> <param>const <ptype>GLfloat</ptype> *<name>v</name></param> </command> <command> + <proto>void <name>glDepthRangeArrayv</name></proto> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLdouble</ptype> *<name>v</name></param> + </command> + <command> <proto>void <name>glDepthRangeIndexed</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLdouble</ptype> <name>n</name></param> @@ -12037,6 +12238,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>f</name></param> </command> <command> + <proto>void <name>glDepthRangeIndexedfOES</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLfloat</ptype> <name>n</name></param> + <param><ptype>GLfloat</ptype> <name>f</name></param> + </command> + <command> <proto>void <name>glDepthRangedNV</name></proto> <param><ptype>GLdouble</ptype> <name>zNear</name></param> <param><ptype>GLdouble</ptype> <name>zFar</name></param> @@ -12310,32 +12517,32 @@ typedef unsigned int GLhandleARB; <param len="n">const <ptype>GLenum</ptype> *<name>bufs</name></param> </command> <command> - <proto>void <name>glDrawCommandsNV</name></proto> + <proto>void <name>glDrawCommandsAddressNV</name></proto> <param><ptype>GLenum</ptype> <name>primitiveMode</name></param> - <param><ptype>GLuint</ptype> <name>buffer</name></param> - <param>const <ptype>GLintptr</ptype> *<name>indirects</name></param> + <param>const <ptype>GLuint64</ptype> *<name>indirects</name></param> <param>const <ptype>GLsizei</ptype> *<name>sizes</name></param> <param><ptype>GLuint</ptype> <name>count</name></param> </command> <command> - <proto>void <name>glDrawCommandsAddressNV</name></proto> + <proto>void <name>glDrawCommandsNV</name></proto> <param><ptype>GLenum</ptype> <name>primitiveMode</name></param> - <param>const <ptype>GLuint64</ptype> *<name>indirects</name></param> + <param><ptype>GLuint</ptype> <name>buffer</name></param> + <param>const <ptype>GLintptr</ptype> *<name>indirects</name></param> <param>const <ptype>GLsizei</ptype> *<name>sizes</name></param> <param><ptype>GLuint</ptype> <name>count</name></param> </command> <command> - <proto>void <name>glDrawCommandsStatesNV</name></proto> - <param><ptype>GLuint</ptype> <name>buffer</name></param> - <param>const <ptype>GLintptr</ptype> *<name>indirects</name></param> + <proto>void <name>glDrawCommandsStatesAddressNV</name></proto> + <param>const <ptype>GLuint64</ptype> *<name>indirects</name></param> <param>const <ptype>GLsizei</ptype> *<name>sizes</name></param> <param>const <ptype>GLuint</ptype> *<name>states</name></param> <param>const <ptype>GLuint</ptype> *<name>fbos</name></param> <param><ptype>GLuint</ptype> <name>count</name></param> </command> <command> - <proto>void <name>glDrawCommandsStatesAddressNV</name></proto> - <param>const <ptype>GLuint64</ptype> *<name>indirects</name></param> + <proto>void <name>glDrawCommandsStatesNV</name></proto> + <param><ptype>GLuint</ptype> <name>buffer</name></param> + <param>const <ptype>GLintptr</ptype> *<name>indirects</name></param> <param>const <ptype>GLsizei</ptype> *<name>sizes</name></param> <param>const <ptype>GLuint</ptype> *<name>states</name></param> <param>const <ptype>GLuint</ptype> *<name>fbos</name></param> @@ -12446,45 +12653,45 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>basevertex</name></param> </command> <command> - <proto>void <name>glDrawElementsInstancedBaseVertexEXT</name></proto> + <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstance</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> - <param len="COMPSIZE(count,type)">const void *<name>indices</name></param> + <param><ptype>GLenum</ptype> <name>type</name></param> + <param len="count">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> - <alias name="glDrawElementsInstancedBaseVertex"/> + <param><ptype>GLuint</ptype> <name>baseinstance</name></param> </command> <command> - <proto>void <name>glDrawElementsInstancedBaseVertexOES</name></proto> + <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstanceEXT</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> - <param len="COMPSIZE(count,type)">const void *<name>indices</name></param> + <param><ptype>GLenum</ptype> <name>type</name></param> + <param len="count">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> - <alias name="glDrawElementsInstancedBaseVertex"/> + <param><ptype>GLuint</ptype> <name>baseinstance</name></param> + <alias name="glDrawElementsInstancedBaseVertexBaseInstance"/> </command> <command> - <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstance</name></proto> + <proto>void <name>glDrawElementsInstancedBaseVertexEXT</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> - <param len="count">const void *<name>indices</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> + <param len="COMPSIZE(count,type)">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> - <param><ptype>GLuint</ptype> <name>baseinstance</name></param> + <alias name="glDrawElementsInstancedBaseVertex"/> </command> <command> - <proto>void <name>glDrawElementsInstancedBaseVertexBaseInstanceEXT</name></proto> + <proto>void <name>glDrawElementsInstancedBaseVertexOES</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> - <param len="count">const void *<name>indices</name></param> + <param group="DrawElementsType"><ptype>GLenum</ptype> <name>type</name></param> + <param len="COMPSIZE(count,type)">const void *<name>indices</name></param> <param><ptype>GLsizei</ptype> <name>instancecount</name></param> <param><ptype>GLint</ptype> <name>basevertex</name></param> - <param><ptype>GLuint</ptype> <name>baseinstance</name></param> - <alias name="glDrawElementsInstancedBaseVertexBaseInstance"/> + <alias name="glDrawElementsInstancedBaseVertex"/> </command> <command comment="primcount should be renamed to instanceCount for OpenGL ES"> <proto>void <name>glDrawElementsInstancedEXT</name></proto> @@ -12982,6 +13189,9 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="158"/> </command> <command> + <proto>void <name>glEvaluateDepthValuesARB</name></proto> + </command> + <command> <proto>void <name>glExecuteProgramNV</name></proto> <param group="VertexAttribEnumNV"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>id</name></param> @@ -13322,6 +13532,10 @@ typedef unsigned int GLhandleARB; <param group="MaterialParameter"><ptype>GLenum</ptype> <name>mode</name></param> </command> <command> + <proto>void <name>glFragmentCoverageColorNV</name></proto> + <param><ptype>GLuint</ptype> <name>color</name></param> + </command> + <command> <proto>void <name>glFragmentLightModelfSGIX</name></proto> <param group="FragmentLightModelParameterSGIX"><ptype>GLenum</ptype> <name>pname</name></param> <param group="CheckedFloat32"><ptype>GLfloat</ptype> <name>param</name></param> @@ -13415,6 +13629,11 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>param</name></param> </command> <command> + <proto>void <name>glFramebufferPixelLocalStorageSizeEXT</name></proto> + <param><ptype>GLuint</ptype> <name>target</name></param> + <param><ptype>GLsizei</ptype> <name>size</name></param> + </command> + <command> <proto>void <name>glFramebufferReadBufferEXT</name></proto> <param group="Framebuffer"><ptype>GLuint</ptype> <name>framebuffer</name></param> <param group="ReadBufferMode"><ptype>GLenum</ptype> <name>mode</name></param> @@ -13444,6 +13663,20 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>renderbuffer</name></param> </command> <command> + <proto>void <name>glFramebufferSampleLocationsfvARB</name></proto> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLuint</ptype> <name>start</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> + <proto>void <name>glFramebufferSampleLocationsfvNV</name></proto> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLuint</ptype> <name>start</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> <proto>void <name>glFramebufferTexture</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLenum</ptype> <name>attachment</name></param> @@ -13489,6 +13722,16 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="4322"/> </command> <command> + <proto>void <name>glFramebufferTexture2DDownsampleIMG</name></proto> + <param><ptype>GLenum</ptype> <name>target</name></param> + <param><ptype>GLenum</ptype> <name>attachment</name></param> + <param><ptype>GLenum</ptype> <name>textarget</name></param> + <param><ptype>GLuint</ptype> <name>texture</name></param> + <param><ptype>GLint</ptype> <name>level</name></param> + <param><ptype>GLint</ptype> <name>xscale</name></param> + <param><ptype>GLint</ptype> <name>yscale</name></param> + </command> + <command> <proto>void <name>glFramebufferTexture2DMultisampleEXT</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLenum</ptype> <name>attachment</name></param> @@ -13562,14 +13805,6 @@ typedef unsigned int GLhandleARB; <alias name="glFramebufferTexture"/> </command> <command> - <proto>void <name>glFramebufferTextureOES</name></proto> - <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> - <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> - <param group="Texture"><ptype>GLuint</ptype> <name>texture</name></param> - <param group="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param> - <alias name="glFramebufferTexture"/> - </command> - <command> <proto>void <name>glFramebufferTextureFaceARB</name></proto> <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> @@ -13614,6 +13849,26 @@ typedef unsigned int GLhandleARB; <alias name="glFramebufferTextureLayer"/> </command> <command> + <proto>void <name>glFramebufferTextureLayerDownsampleIMG</name></proto> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> + <param group="Texture"><ptype>GLuint</ptype> <name>texture</name></param> + <param group="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param> + <param group="CheckedInt32"><ptype>GLint</ptype> <name>layer</name></param> + <param><ptype>GLint</ptype> <name>xscale</name></param> + <param><ptype>GLint</ptype> <name>yscale</name></param> + </command> + <command> + <proto>void <name>glFramebufferTextureMultisampleMultiviewOVR</name></proto> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> + <param group="Texture"><ptype>GLuint</ptype> <name>texture</name></param> + <param group="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param> + <param><ptype>GLsizei</ptype> <name>samples</name></param> + <param><ptype>GLint</ptype> <name>baseViewIndex</name></param> + <param><ptype>GLsizei</ptype> <name>numViews</name></param> + </command> + <command> <proto>void <name>glFramebufferTextureMultiviewOVR</name></proto> <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> @@ -13623,6 +13878,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>numViews</name></param> </command> <command> + <proto>void <name>glFramebufferTextureOES</name></proto> + <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param> + <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param> + <param group="Texture"><ptype>GLuint</ptype> <name>texture</name></param> + <param group="CheckedInt32"><ptype>GLint</ptype> <name>level</name></param> + <alias name="glFramebufferTexture"/> + </command> + <command> <proto>void <name>glFreeObjectBufferATI</name></proto> <param><ptype>GLuint</ptype> <name>buffer</name></param> </command> @@ -14368,6 +14631,11 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(pname)"><ptype>GLfixed</ptype> *<name>params</name></param> </command> <command> + <proto>void <name>glGetCoverageModulationTableNV</name></proto> + <param><ptype>GLsizei</ptype> <name>bufsize</name></param> + <param><ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> <proto><ptype>GLuint</ptype> <name>glGetDebugMessageLog</name></proto> <param><ptype>GLuint</ptype> <name>count</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> @@ -14510,6 +14778,13 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> </command> <command> + <proto>void <name>glGetFloati_vEXT</name></proto> + <param group="TypeEnum"><ptype>GLenum</ptype> <name>pname</name></param> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param len="COMPSIZE(pname)"><ptype>GLfloat</ptype> *<name>params</name></param> + <alias name="glGetFloati_v"/> + </command> + <command> <proto>void <name>glGetFloati_vNV</name></proto> <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> @@ -14517,10 +14792,10 @@ typedef unsigned int GLhandleARB; <alias name="glGetFloati_v"/> </command> <command> - <proto>void <name>glGetFloati_vEXT</name></proto> - <param group="TypeEnum"><ptype>GLenum</ptype> <name>pname</name></param> + <proto>void <name>glGetFloati_vOES</name></proto> + <param group="TypeEnum"><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> - <param len="COMPSIZE(pname)"><ptype>GLfloat</ptype> *<name>params</name></param> + <param len="COMPSIZE(target)"><ptype>GLfloat</ptype> *<name>data</name></param> <alias name="glGetFloati_v"/> </command> <command> @@ -14539,6 +14814,12 @@ typedef unsigned int GLhandleARB; <param>const <ptype>GLchar</ptype> *<name>name</name></param> </command> <command> + <proto><ptype>GLint</ptype> <name>glGetFragDataIndexEXT</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param>const <ptype>GLchar</ptype> *<name>name</name></param> + <alias name="glGetFragDataIndex"/> + </command> + <command> <proto><ptype>GLint</ptype> <name>glGetFragDataLocation</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param len="COMPSIZE(name)">const <ptype>GLchar</ptype> *<name>name</name></param> @@ -14610,6 +14891,10 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(pname)"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> + <proto><ptype>GLsizei</ptype> <name>glGetFramebufferPixelLocalStorageSizeEXT</name></proto> + <param><ptype>GLuint</ptype> <name>target</name></param> + </command> + <command> <proto><ptype>GLenum</ptype> <name>glGetGraphicsResetStatus</name></proto> </command> <command> @@ -14772,26 +15057,26 @@ typedef unsigned int GLhandleARB; <glx type="single" opcode="117"/> </command> <command> - <proto>void <name>glGetInternalformati64v</name></proto> + <proto>void <name>glGetInternalformatSampleivNV</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLenum</ptype> <name>internalformat</name></param> + <param><ptype>GLsizei</ptype> <name>samples</name></param> <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param len="bufSize"><ptype>GLint64</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> - <proto>void <name>glGetInternalformativ</name></proto> + <proto>void <name>glGetInternalformati64v</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLenum</ptype> <name>internalformat</name></param> <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint64</ptype> *<name>params</name></param> </command> <command> - <proto>void <name>glGetInternalformatSampleivNV</name></proto> + <proto>void <name>glGetInternalformativ</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLenum</ptype> <name>internalformat</name></param> - <param><ptype>GLsizei</ptype> <name>samples</name></param> <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> @@ -15764,6 +16049,12 @@ typedef unsigned int GLhandleARB; <param len="COMPSIZE(name)">const <ptype>GLchar</ptype> *<name>name</name></param> </command> <command> + <proto><ptype>GLint</ptype> <name>glGetProgramResourceLocationIndexEXT</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLenum</ptype> <name>programInterface</name></param> + <param len="COMPSIZE(name)">const <ptype>GLchar</ptype> *<name>name</name></param> + </command> + <command> <proto>void <name>glGetProgramResourceName</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLenum</ptype> <name>programInterface</name></param> @@ -16587,6 +16878,12 @@ typedef unsigned int GLhandleARB; <alias name="glGetUniformfv"/> </command> <command> + <proto>void <name>glGetUniformi64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param len="COMPSIZE(program,location)"><ptype>GLint64</ptype> *<name>params</name></param> + </command> + <command> <proto>void <name>glGetUniformi64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -16606,6 +16903,12 @@ typedef unsigned int GLhandleARB; <alias name="glGetUniformiv"/> </command> <command> + <proto>void <name>glGetUniformui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param len="COMPSIZE(program,location)"><ptype>GLuint64</ptype> *<name>params</name></param> + </command> + <command> <proto>void <name>glGetUniformui64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -17175,6 +17478,13 @@ typedef unsigned int GLhandleARB; <alias name="glGetnUniformfv"/> </command> <command> + <proto>void <name>glGetnUniformi64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>bufSize</name></param> + <param><ptype>GLint64</ptype> *<name>params</name></param> + </command> + <command> <proto>void <name>glGetnUniformiv</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -17204,6 +17514,13 @@ typedef unsigned int GLhandleARB; <alias name="glGetnUniformiv"/> </command> <command> + <proto>void <name>glGetnUniformui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>bufSize</name></param> + <param><ptype>GLuint64</ptype> *<name>params</name></param> + </command> + <command> <proto>void <name>glGetnUniformuiv</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -17555,13 +17872,13 @@ typedef unsigned int GLhandleARB; <alias name="glIsEnabledi"/> </command> <command> - <proto group="Boolean"><ptype>GLboolean</ptype> <name>glIsEnablediOES</name></proto> + <proto group="Boolean"><ptype>GLboolean</ptype> <name>glIsEnablediNV</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <alias name="glIsEnabledi"/> </command> <command> - <proto group="Boolean"><ptype>GLboolean</ptype> <name>glIsEnablediNV</name></proto> + <proto group="Boolean"><ptype>GLboolean</ptype> <name>glIsEnablediOES</name></proto> <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLuint</ptype> <name>index</name></param> <alias name="glIsEnabledi"/> @@ -18570,6 +18887,10 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>z</name></param> </command> <command> + <proto>void <name>glMaxShaderCompilerThreadsARB</name></proto> + <param><ptype>GLuint</ptype> <name>count</name></param> + </command> + <command> <proto>void <name>glMemoryBarrier</name></proto> <param><ptype>GLbitfield</ptype> <name>barriers</name></param> </command> @@ -18682,14 +19003,6 @@ typedef unsigned int GLhandleARB; <alias name="glMultiDrawArraysIndirect"/> </command> <command> - <proto>void <name>glMultiDrawArraysIndirectEXT</name></proto> - <param><ptype>GLenum</ptype> <name>mode</name></param> - <param len="COMPSIZE(drawcount,stride)">const void *<name>indirect</name></param> - <param><ptype>GLsizei</ptype> <name>drawcount</name></param> - <param><ptype>GLsizei</ptype> <name>stride</name></param> - <alias name="glMultiDrawArraysIndirect"/> - </command> - <command> <proto>void <name>glMultiDrawArraysIndirectBindlessCountNV</name></proto> <param><ptype>GLenum</ptype> <name>mode</name></param> <param>const void *<name>indirect</name></param> @@ -18715,6 +19028,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> <command> + <proto>void <name>glMultiDrawArraysIndirectEXT</name></proto> + <param><ptype>GLenum</ptype> <name>mode</name></param> + <param len="COMPSIZE(drawcount,stride)">const void *<name>indirect</name></param> + <param><ptype>GLsizei</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + <alias name="glMultiDrawArraysIndirect"/> + </command> + <command> <proto>void <name>glMultiDrawElementArrayAPPLE</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param len="primcount">const <ptype>GLint</ptype> *<name>first</name></param> @@ -18776,15 +19097,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> <command> - <proto>void <name>glMultiDrawElementsIndirectEXT</name></proto> - <param><ptype>GLenum</ptype> <name>mode</name></param> - <param><ptype>GLenum</ptype> <name>type</name></param> - <param len="COMPSIZE(drawcount,stride)">const void *<name>indirect</name></param> - <param><ptype>GLsizei</ptype> <name>drawcount</name></param> - <param><ptype>GLsizei</ptype> <name>stride</name></param> - <alias name="glMultiDrawElementsIndirect"/> - </command> - <command> <proto>void <name>glMultiDrawElementsIndirectAMD</name></proto> <param><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLenum</ptype> <name>type</name></param> @@ -18822,6 +19134,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>stride</name></param> </command> <command> + <proto>void <name>glMultiDrawElementsIndirectEXT</name></proto> + <param><ptype>GLenum</ptype> <name>mode</name></param> + <param><ptype>GLenum</ptype> <name>type</name></param> + <param len="COMPSIZE(drawcount,stride)">const void *<name>indirect</name></param> + <param><ptype>GLsizei</ptype> <name>drawcount</name></param> + <param><ptype>GLsizei</ptype> <name>stride</name></param> + <alias name="glMultiDrawElementsIndirect"/> + </command> + <command> <proto>void <name>glMultiDrawRangeElementArrayAPPLE</name></proto> <param group="PrimitiveType"><ptype>GLenum</ptype> <name>mode</name></param> <param><ptype>GLuint</ptype> <name>start</name></param> @@ -19840,6 +20161,20 @@ typedef unsigned int GLhandleARB; <param group="Renderbuffer"><ptype>GLuint</ptype> <name>renderbuffer</name></param> </command> <command> + <proto>void <name>glNamedFramebufferSampleLocationsfvARB</name></proto> + <param><ptype>GLuint</ptype> <name>framebuffer</name></param> + <param><ptype>GLuint</ptype> <name>start</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> + <proto>void <name>glNamedFramebufferSampleLocationsfvNV</name></proto> + <param><ptype>GLuint</ptype> <name>framebuffer</name></param> + <param><ptype>GLuint</ptype> <name>start</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param>const <ptype>GLfloat</ptype> *<name>v</name></param> + </command> + <command> <proto>void <name>glNamedFramebufferTexture</name></proto> <param><ptype>GLuint</ptype> <name>framebuffer</name></param> <param><ptype>GLenum</ptype> <name>attachment</name></param> @@ -20856,6 +21191,13 @@ typedef unsigned int GLhandleARB; <glx type="render" opcode="192"/> </command> <command> + <proto>void <name>glPolygonOffsetClampEXT</name></proto> + <param><ptype>GLfloat</ptype> <name>factor</name></param> + <param><ptype>GLfloat</ptype> <name>units</name></param> + <param><ptype>GLfloat</ptype> <name>clamp</name></param> + <glx type="render" opcode="4225"/> + </command> + <command> <proto>void <name>glPolygonOffsetEXT</name></proto> <param><ptype>GLfloat</ptype> <name>factor</name></param> <param><ptype>GLfloat</ptype> <name>bias</name></param> @@ -20872,13 +21214,6 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfixed</ptype> <name>units</name></param> </command> <command> - <proto>void <name>glPolygonOffsetClampEXT</name></proto> - <param><ptype>GLfloat</ptype> <name>factor</name></param> - <param><ptype>GLfloat</ptype> <name>units</name></param> - <param><ptype>GLfloat</ptype> <name>clamp</name></param> - <glx type="render" opcode="4225"/> - </command> - <command> <proto>void <name>glPolygonStipple</name></proto> <param len="COMPSIZE()">const <ptype>GLubyte</ptype> *<name>mask</name></param> <glx type="render" opcode="102"/> @@ -20940,6 +21275,29 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>key1</name></param> </command> <command> + <proto>void <name>glPrimitiveBoundingBox</name></proto> + <param><ptype>GLfloat</ptype> <name>minX</name></param> + <param><ptype>GLfloat</ptype> <name>minY</name></param> + <param><ptype>GLfloat</ptype> <name>minZ</name></param> + <param><ptype>GLfloat</ptype> <name>minW</name></param> + <param><ptype>GLfloat</ptype> <name>maxX</name></param> + <param><ptype>GLfloat</ptype> <name>maxY</name></param> + <param><ptype>GLfloat</ptype> <name>maxZ</name></param> + <param><ptype>GLfloat</ptype> <name>maxW</name></param> + </command> + <command> + <proto>void <name>glPrimitiveBoundingBoxARB</name></proto> + <param><ptype>GLfloat</ptype> <name>minX</name></param> + <param><ptype>GLfloat</ptype> <name>minY</name></param> + <param><ptype>GLfloat</ptype> <name>minZ</name></param> + <param><ptype>GLfloat</ptype> <name>minW</name></param> + <param><ptype>GLfloat</ptype> <name>maxX</name></param> + <param><ptype>GLfloat</ptype> <name>maxY</name></param> + <param><ptype>GLfloat</ptype> <name>maxZ</name></param> + <param><ptype>GLfloat</ptype> <name>maxW</name></param> + <alias name="glPrimitiveBoundingBox"/> + </command> + <command> <proto>void <name>glPrimitiveBoundingBoxEXT</name></proto> <param><ptype>GLfloat</ptype> <name>minX</name></param> <param><ptype>GLfloat</ptype> <name>minY</name></param> @@ -20949,6 +21307,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>maxY</name></param> <param><ptype>GLfloat</ptype> <name>maxZ</name></param> <param><ptype>GLfloat</ptype> <name>maxW</name></param> + <alias name="glPrimitiveBoundingBox"/> </command> <command> <proto>void <name>glPrimitiveBoundingBoxOES</name></proto> @@ -20960,6 +21319,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>maxY</name></param> <param><ptype>GLfloat</ptype> <name>maxZ</name></param> <param><ptype>GLfloat</ptype> <name>maxW</name></param> + <alias name="glPrimitiveBoundingBox"/> </command> <command> <proto>void <name>glPrimitiveRestartIndex</name></proto> @@ -21394,12 +21754,25 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v0</name></param> </command> <command> + <proto>void <name>glProgramUniform1i64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + </command> + <command> <proto>void <name>glProgramUniform1i64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLint64EXT</ptype> <name>x</name></param> </command> <command> + <proto>void <name>glProgramUniform1i64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform1i64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21435,12 +21808,25 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v0</name></param> </command> <command> + <proto>void <name>glProgramUniform1ui64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + </command> + <command> <proto>void <name>glProgramUniform1ui64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLuint64EXT</ptype> <name>x</name></param> </command> <command> + <proto>void <name>glProgramUniform1ui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform1ui64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21535,6 +21921,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v1</name></param> </command> <command> + <proto>void <name>glProgramUniform2i64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + </command> + <command> <proto>void <name>glProgramUniform2i64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21542,6 +21935,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint64EXT</ptype> <name>y</name></param> </command> <command> + <proto>void <name>glProgramUniform2i64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*2">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform2i64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21579,6 +21979,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v1</name></param> </command> <command> + <proto>void <name>glProgramUniform2ui64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + </command> + <command> <proto>void <name>glProgramUniform2ui64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21586,6 +21993,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint64EXT</ptype> <name>y</name></param> </command> <command> + <proto>void <name>glProgramUniform2ui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*2">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform2ui64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21686,6 +22100,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v2</name></param> </command> <command> + <proto>void <name>glProgramUniform3i64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + <param><ptype>GLint64</ptype> <name>z</name></param> + </command> + <command> <proto>void <name>glProgramUniform3i64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21694,6 +22116,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint64EXT</ptype> <name>z</name></param> </command> <command> + <proto>void <name>glProgramUniform3i64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*3">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform3i64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21733,6 +22162,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v2</name></param> </command> <command> + <proto>void <name>glProgramUniform3ui64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + <param><ptype>GLuint64</ptype> <name>z</name></param> + </command> + <command> <proto>void <name>glProgramUniform3ui64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21741,6 +22178,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint64EXT</ptype> <name>z</name></param> </command> <command> + <proto>void <name>glProgramUniform3ui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*3">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform3ui64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21847,6 +22291,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v3</name></param> </command> <command> + <proto>void <name>glProgramUniform4i64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + <param><ptype>GLint64</ptype> <name>z</name></param> + <param><ptype>GLint64</ptype> <name>w</name></param> + </command> + <command> <proto>void <name>glProgramUniform4i64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21856,6 +22309,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint64EXT</ptype> <name>w</name></param> </command> <command> + <proto>void <name>glProgramUniform4i64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*4">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform4i64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21897,6 +22357,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v3</name></param> </command> <command> + <proto>void <name>glProgramUniform4ui64ARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + <param><ptype>GLuint64</ptype> <name>z</name></param> + <param><ptype>GLuint64</ptype> <name>w</name></param> + </command> + <command> <proto>void <name>glProgramUniform4ui64NV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -21906,6 +22375,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint64EXT</ptype> <name>w</name></param> </command> <command> + <proto>void <name>glProgramUniform4ui64vARB</name></proto> + <param><ptype>GLuint</ptype> <name>program</name></param> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*4">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glProgramUniform4ui64vNV</name></proto> <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> @@ -22527,6 +23003,11 @@ typedef unsigned int GLhandleARB; <param len="4">const <ptype>GLfixed</ptype> *<name>coords</name></param> </command> <command> + <proto>void <name>glRasterSamplesEXT</name></proto> + <param><ptype>GLuint</ptype> <name>samples</name></param> + <param><ptype>GLboolean</ptype> <name>fixedsamplelocations</name></param> + </command> + <command> <proto>void <name>glReadBuffer</name></proto> <param group="ReadBufferMode"><ptype>GLenum</ptype> <name>src</name></param> <glx type="render" opcode="171"/> @@ -22972,6 +23453,9 @@ typedef unsigned int GLhandleARB; <proto>void <name>glResizeBuffersMESA</name></proto> </command> <command> + <proto>void <name>glResolveDepthValuesNV</name></proto> + </command> + <command> <proto>void <name>glResolveMultisampleFramebufferAPPLE</name></proto> </command> <command> @@ -23183,6 +23667,13 @@ typedef unsigned int GLhandleARB; <alias name="glScissorArrayv"/> </command> <command> + <proto>void <name>glScissorArrayvOES</name></proto> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLint</ptype> *<name>v</name></param> + <alias name="glScissorArrayv"/> + </command> + <command> <proto>void <name>glScissorIndexed</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLint</ptype> <name>left</name></param> @@ -23200,6 +23691,15 @@ typedef unsigned int GLhandleARB; <alias name="glScissorIndexed"/> </command> <command> + <proto>void <name>glScissorIndexedOES</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLint</ptype> <name>left</name></param> + <param><ptype>GLint</ptype> <name>bottom</name></param> + <param><ptype>GLsizei</ptype> <name>width</name></param> + <param><ptype>GLsizei</ptype> <name>height</name></param> + <alias name="glScissorIndexed"/> + </command> + <command> <proto>void <name>glScissorIndexedv</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="4">const <ptype>GLint</ptype> *<name>v</name></param> @@ -23211,6 +23711,12 @@ typedef unsigned int GLhandleARB; <alias name="glScissorIndexedv"/> </command> <command> + <proto>void <name>glScissorIndexedvOES</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param len="4">const <ptype>GLint</ptype> *<name>v</name></param> + <alias name="glScissorIndexedv"/> + </command> + <command> <proto>void <name>glSecondaryColor3b</name></proto> <param group="ColorB"><ptype>GLbyte</ptype> <name>red</name></param> <param group="ColorB"><ptype>GLbyte</ptype> <name>green</name></param> @@ -23791,6 +24297,11 @@ typedef unsigned int GLhandleARB; <param len="len">const void *<name>string</name></param> </command> <command> + <proto>void <name>glSubpixelPrecisionBiasNV</name></proto> + <param><ptype>GLuint</ptype> <name>xbits</name></param> + <param><ptype>GLuint</ptype> <name>ybits</name></param> + </command> + <command> <proto>void <name>glSwizzleEXT</name></proto> <param><ptype>GLuint</ptype> <name>res</name></param> <param><ptype>GLuint</ptype> <name>in</name></param> @@ -25650,11 +26161,22 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v0</name></param> </command> <command> + <proto>void <name>glUniform1i64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + </command> + <command> <proto>void <name>glUniform1i64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLint64EXT</ptype> <name>x</name></param> </command> <command> + <proto>void <name>glUniform1i64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*1">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform1i64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -25685,11 +26207,22 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v0</name></param> </command> <command> + <proto>void <name>glUniform1ui64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + </command> + <command> <proto>void <name>glUniform1ui64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLuint64EXT</ptype> <name>x</name></param> </command> <command> + <proto>void <name>glUniform1ui64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*1">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform1ui64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -25759,12 +26292,24 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v1</name></param> </command> <command> + <proto>void <name>glUniform2i64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + </command> + <command> <proto>void <name>glUniform2i64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLint64EXT</ptype> <name>x</name></param> <param><ptype>GLint64EXT</ptype> <name>y</name></param> </command> <command> + <proto>void <name>glUniform2i64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*2">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform2i64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -25797,12 +26342,24 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v1</name></param> </command> <command> + <proto>void <name>glUniform2ui64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + </command> + <command> <proto>void <name>glUniform2ui64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLuint64EXT</ptype> <name>x</name></param> <param><ptype>GLuint64EXT</ptype> <name>y</name></param> </command> <command> + <proto>void <name>glUniform2ui64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*2">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform2ui64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -25877,6 +26434,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v2</name></param> </command> <command> + <proto>void <name>glUniform3i64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + <param><ptype>GLint64</ptype> <name>z</name></param> + </command> + <command> <proto>void <name>glUniform3i64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLint64EXT</ptype> <name>x</name></param> @@ -25884,6 +26448,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint64EXT</ptype> <name>z</name></param> </command> <command> + <proto>void <name>glUniform3i64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*3">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform3i64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -25918,6 +26488,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v2</name></param> </command> <command> + <proto>void <name>glUniform3ui64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + <param><ptype>GLuint64</ptype> <name>z</name></param> + </command> + <command> <proto>void <name>glUniform3ui64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLuint64EXT</ptype> <name>x</name></param> @@ -25925,6 +26502,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint64EXT</ptype> <name>z</name></param> </command> <command> + <proto>void <name>glUniform3ui64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*3">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform3ui64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -26004,6 +26587,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint</ptype> <name>v3</name></param> </command> <command> + <proto>void <name>glUniform4i64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLint64</ptype> <name>x</name></param> + <param><ptype>GLint64</ptype> <name>y</name></param> + <param><ptype>GLint64</ptype> <name>z</name></param> + <param><ptype>GLint64</ptype> <name>w</name></param> + </command> + <command> <proto>void <name>glUniform4i64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLint64EXT</ptype> <name>x</name></param> @@ -26012,6 +26603,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLint64EXT</ptype> <name>w</name></param> </command> <command> + <proto>void <name>glUniform4i64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*4">const <ptype>GLint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform4i64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -26048,6 +26645,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>v3</name></param> </command> <command> + <proto>void <name>glUniform4ui64ARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLuint64</ptype> <name>x</name></param> + <param><ptype>GLuint64</ptype> <name>y</name></param> + <param><ptype>GLuint64</ptype> <name>z</name></param> + <param><ptype>GLuint64</ptype> <name>w</name></param> + </command> + <command> <proto>void <name>glUniform4ui64NV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLuint64EXT</ptype> <name>x</name></param> @@ -26056,6 +26661,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint64EXT</ptype> <name>w</name></param> </command> <command> + <proto>void <name>glUniform4ui64vARB</name></proto> + <param><ptype>GLint</ptype> <name>location</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="count*4">const <ptype>GLuint64</ptype> *<name>value</name></param> + </command> + <command> <proto>void <name>glUniform4ui64vNV</name></proto> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>count</name></param> @@ -28883,6 +29494,13 @@ typedef unsigned int GLhandleARB; <alias name="glViewportArrayv"/> </command> <command> + <proto>void <name>glViewportArrayvOES</name></proto> + <param><ptype>GLuint</ptype> <name>first</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLfloat</ptype> *<name>v</name></param> + <alias name="glViewportArrayv"/> + </command> + <command> <proto>void <name>glViewportIndexedf</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLfloat</ptype> <name>x</name></param> @@ -28891,6 +29509,15 @@ typedef unsigned int GLhandleARB; <param><ptype>GLfloat</ptype> <name>h</name></param> </command> <command> + <proto>void <name>glViewportIndexedfOES</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLfloat</ptype> <name>x</name></param> + <param><ptype>GLfloat</ptype> <name>y</name></param> + <param><ptype>GLfloat</ptype> <name>w</name></param> + <param><ptype>GLfloat</ptype> <name>h</name></param> + <alias name="glViewportIndexedf"/> + </command> + <command> <proto>void <name>glViewportIndexedfNV</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param><ptype>GLfloat</ptype> <name>x</name></param> @@ -28905,12 +29532,32 @@ typedef unsigned int GLhandleARB; <param len="4">const <ptype>GLfloat</ptype> *<name>v</name></param> </command> <command> + <proto>void <name>glViewportIndexedfvOES</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param len="4">const <ptype>GLfloat</ptype> *<name>v</name></param> + <alias name="glViewportIndexedfv"/> + </command> + <command> <proto>void <name>glViewportIndexedfvNV</name></proto> <param><ptype>GLuint</ptype> <name>index</name></param> <param len="4">const <ptype>GLfloat</ptype> *<name>v</name></param> <alias name="glViewportIndexedfv"/> </command> <command> + <proto>void <name>glViewportPositionWScaleNV</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLfloat</ptype> <name>xcoeff</name></param> + <param><ptype>GLfloat</ptype> <name>ycoeff</name></param> + </command> + <command> + <proto>void <name>glViewportSwizzleNV</name></proto> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLenum</ptype> <name>swizzlex</name></param> + <param><ptype>GLenum</ptype> <name>swizzley</name></param> + <param><ptype>GLenum</ptype> <name>swizzlez</name></param> + <param><ptype>GLenum</ptype> <name>swizzlew</name></param> + </command> + <command> <proto>void <name>glWaitSync</name></proto> <param group="sync"><ptype>GLsync</ptype> <name>sync</name></param> <param><ptype>GLbitfield</ptype> <name>flags</name></param> @@ -29341,6 +29988,12 @@ typedef unsigned int GLhandleARB; <param group="CoordS" len="4">const <ptype>GLshort</ptype> *<name>v</name></param> </command> <command> + <proto>void <name>glWindowRectanglesEXT</name></proto> + <param><ptype>GLenum</ptype> <name>mode</name></param> + <param><ptype>GLsizei</ptype> <name>count</name></param> + <param len="COMPSIZE(count)">const <ptype>GLint</ptype> *<name>box</name></param> + </command> + <command> <proto>void <name>glWriteMaskEXT</name></proto> <param><ptype>GLuint</ptype> <name>res</name></param> <param><ptype>GLuint</ptype> <name>in</name></param> @@ -29349,51 +30002,7 @@ typedef unsigned int GLhandleARB; <param group="VertexShaderWriteMaskEXT"><ptype>GLenum</ptype> <name>outZ</name></param> <param group="VertexShaderWriteMaskEXT"><ptype>GLenum</ptype> <name>outW</name></param> </command> - <command> - <proto>void <name>glCoverageModulationNV</name></proto> - <param><ptype>GLenum</ptype> <name>components</name></param> - </command> - <command> - <proto>void <name>glCoverageModulationTableNV</name></proto> - <param><ptype>GLsizei</ptype> <name>n</name></param> - <param>const <ptype>GLfloat</ptype> *<name>v</name></param> - </command> - <command> - <proto>void <name>glFragmentCoverageColorNV</name></proto> - <param><ptype>GLuint</ptype> <name>color</name></param> - </command> - <command> - <proto>void <name>glFramebufferSampleLocationsfvNV</name></proto> - <param><ptype>GLenum</ptype> <name>target</name></param> - <param><ptype>GLuint</ptype> <name>start</name></param> - <param><ptype>GLsizei</ptype> <name>count</name></param> - <param>const <ptype>GLfloat</ptype> *<name>v</name></param> - </command> - <command> - <proto>void <name>glGetCoverageModulationTableNV</name></proto> - <param><ptype>GLsizei</ptype> <name>bufsize</name></param> - <param><ptype>GLfloat</ptype> *<name>v</name></param> - </command> - <command> - <proto>void <name>glNamedFramebufferSampleLocationsfvNV</name></proto> - <param><ptype>GLuint</ptype> <name>framebuffer</name></param> - <param><ptype>GLuint</ptype> <name>start</name></param> - <param><ptype>GLsizei</ptype> <name>count</name></param> - <param>const <ptype>GLfloat</ptype> *<name>v</name></param> - </command> - <command> - <proto>void <name>glRasterSamplesEXT</name></proto> - <param><ptype>GLuint</ptype> <name>samples</name></param> - <param><ptype>GLboolean</ptype> <name>fixedsamplelocations</name></param> - </command> - <command> - <proto>void <name>glResolveDepthValuesNV</name></proto> - </command> - <command> - <proto>void <name>glSubpixelPrecisionBiasNV</name></proto> - <param><ptype>GLuint</ptype> <name>xbits</name></param> - <param><ptype>GLuint</ptype> <name>ybits</name></param> - </command> + </commands> <!-- SECTION: GL API interface definitions. --> @@ -35100,6 +35709,726 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAX_VERTEX_ATTRIB_STRIDE"/> </require> </feature> + <feature api="gles2" name="GL_ES_VERSION_3_2" number="3.2"> + <!-- 3.2-specific point features --> + <require> + <enum name="GL_MULTISAMPLE_LINE_WIDTH_RANGE"/> + <enum name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY"/> + </require> + <!-- Android extension pack features --> + <require/> + <!-- blend_equation_advanced features --> + <require> + <enum name="GL_MULTIPLY"/> + <enum name="GL_SCREEN"/> + <enum name="GL_OVERLAY"/> + <enum name="GL_DARKEN"/> + <enum name="GL_LIGHTEN"/> + <enum name="GL_COLORDODGE"/> + <enum name="GL_COLORBURN"/> + <enum name="GL_HARDLIGHT"/> + <enum name="GL_SOFTLIGHT"/> + <enum name="GL_DIFFERENCE"/> + <enum name="GL_EXCLUSION"/> + <enum name="GL_HSL_HUE"/> + <enum name="GL_HSL_SATURATION"/> + <enum name="GL_HSL_COLOR"/> + <enum name="GL_HSL_LUMINOSITY"/> + <command name="glBlendBarrier"/> + </require> + <!-- color_buffer_float features --> + <require/> + <!-- copy_image features --> + <require> + <command name="glCopyImageSubData"/> + </require> + <!-- debug features --> + <require> + <enum name="GL_DEBUG_OUTPUT_SYNCHRONOUS"/> + <enum name="GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH"/> + <enum name="GL_DEBUG_CALLBACK_FUNCTION"/> + <enum name="GL_DEBUG_CALLBACK_USER_PARAM"/> + <enum name="GL_DEBUG_SOURCE_API"/> + <enum name="GL_DEBUG_SOURCE_WINDOW_SYSTEM"/> + <enum name="GL_DEBUG_SOURCE_SHADER_COMPILER"/> + <enum name="GL_DEBUG_SOURCE_THIRD_PARTY"/> + <enum name="GL_DEBUG_SOURCE_APPLICATION"/> + <enum name="GL_DEBUG_SOURCE_OTHER"/> + <enum name="GL_DEBUG_TYPE_ERROR"/> + <enum name="GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR"/> + <enum name="GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR"/> + <enum name="GL_DEBUG_TYPE_PORTABILITY"/> + <enum name="GL_DEBUG_TYPE_PERFORMANCE"/> + <enum name="GL_DEBUG_TYPE_OTHER"/> + <enum name="GL_DEBUG_TYPE_MARKER"/> + <enum name="GL_DEBUG_TYPE_PUSH_GROUP"/> + <enum name="GL_DEBUG_TYPE_POP_GROUP"/> + <enum name="GL_DEBUG_SEVERITY_NOTIFICATION"/> + <enum name="GL_MAX_DEBUG_GROUP_STACK_DEPTH"/> + <enum name="GL_DEBUG_GROUP_STACK_DEPTH"/> + <enum name="GL_BUFFER"/> + <enum name="GL_SHADER"/> + <enum name="GL_PROGRAM"/> + <enum name="GL_VERTEX_ARRAY"/> + <enum name="GL_QUERY"/> + <enum name="GL_PROGRAM_PIPELINE"/> + <enum name="GL_SAMPLER"/> + <enum name="GL_MAX_LABEL_LENGTH"/> + <enum name="GL_MAX_DEBUG_MESSAGE_LENGTH"/> + <enum name="GL_MAX_DEBUG_LOGGED_MESSAGES"/> + <enum name="GL_DEBUG_LOGGED_MESSAGES"/> + <enum name="GL_DEBUG_SEVERITY_HIGH"/> + <enum name="GL_DEBUG_SEVERITY_MEDIUM"/> + <enum name="GL_DEBUG_SEVERITY_LOW"/> + <enum name="GL_DEBUG_OUTPUT"/> + <enum name="GL_CONTEXT_FLAG_DEBUG_BIT"/> + <enum name="GL_STACK_OVERFLOW"/> + <enum name="GL_STACK_UNDERFLOW"/> + <command name="glDebugMessageControl"/> + <command name="glDebugMessageInsert"/> + <command name="glDebugMessageCallback"/> + <command name="glGetDebugMessageLog"/> + <command name="glPushDebugGroup"/> + <command name="glPopDebugGroup"/> + <command name="glObjectLabel"/> + <command name="glGetObjectLabel"/> + <command name="glObjectPtrLabel"/> + <command name="glGetObjectPtrLabel"/> + <command name="glGetPointerv"/> + </require> + <!-- draw_buffers_indexed features --> + <require> + <!-- All tokens are already part of ES 3.0 --> + <command name="glEnablei"/> + <command name="glDisablei"/> + <command name="glBlendEquationi"/> + <command name="glBlendEquationSeparatei"/> + <command name="glBlendFunci"/> + <command name="glBlendFuncSeparatei"/> + <command name="glColorMaski"/> + <command name="glIsEnabledi"/> + </require> + <!-- draw_elements_base_vertex features --> + <require> + <command name="glDrawElementsBaseVertex"/> + <command name="glDrawRangeElementsBaseVertex"/> + <command name="glDrawElementsInstancedBaseVertex"/> + </require> + <!-- geometry_shader features --> + <require> + <enum name="GL_GEOMETRY_SHADER"/> + <enum name="GL_GEOMETRY_SHADER_BIT"/> + <enum name="GL_GEOMETRY_VERTICES_OUT"/> + <enum name="GL_GEOMETRY_INPUT_TYPE"/> + <enum name="GL_GEOMETRY_OUTPUT_TYPE"/> + <enum name="GL_GEOMETRY_SHADER_INVOCATIONS"/> + <enum name="GL_LAYER_PROVOKING_VERTEX"/> + <enum name="GL_LINES_ADJACENCY"/> + <enum name="GL_LINE_STRIP_ADJACENCY"/> + <enum name="GL_TRIANGLES_ADJACENCY"/> + <enum name="GL_TRIANGLE_STRIP_ADJACENCY"/> + <enum name="GL_MAX_GEOMETRY_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_INPUT_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_OUTPUT_VERTICES"/> + <enum name="GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_GEOMETRY_SHADER_INVOCATIONS"/> + <enum name="GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS"/> + <enum name="GL_MAX_GEOMETRY_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_GEOMETRY_IMAGE_UNIFORMS"/> + <enum name="GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_FIRST_VERTEX_CONVENTION"/> + <enum name="GL_LAST_VERTEX_CONVENTION"/> + <enum name="GL_UNDEFINED_VERTEX"/> + <enum name="GL_PRIMITIVES_GENERATED"/> + <enum name="GL_FRAMEBUFFER_DEFAULT_LAYERS"/> + <enum name="GL_MAX_FRAMEBUFFER_LAYERS"/> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS"/> + <enum name="GL_FRAMEBUFFER_ATTACHMENT_LAYERED"/> + <enum name="GL_REFERENCED_BY_GEOMETRY_SHADER"/> + <command name="glFramebufferTexture"/> + </require> + <!-- gpu_shader5 features --> + <require/> + <!-- primitive_bounding_box features --> + <require> + <enum name="GL_PRIMITIVE_BOUNDING_BOX"/> + <command name="glPrimitiveBoundingBox"/> + </require> + <!-- robustness features --> + <require> + <enum name="GL_NO_ERROR"/> + <enum name="GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT"/> + <enum name="GL_CONTEXT_FLAGS"/> + <enum name="GL_LOSE_CONTEXT_ON_RESET"/> + <enum name="GL_GUILTY_CONTEXT_RESET"/> + <enum name="GL_INNOCENT_CONTEXT_RESET"/> + <enum name="GL_UNKNOWN_CONTEXT_RESET"/> + <enum name="GL_RESET_NOTIFICATION_STRATEGY"/> + <enum name="GL_NO_RESET_NOTIFICATION"/> + <enum name="GL_CONTEXT_LOST"/> + <command name="glGetGraphicsResetStatus"/> + <command name="glReadnPixels"/> + <command name="glGetnUniformfv"/> + <command name="glGetnUniformiv"/> + <command name="glGetnUniformuiv"/> + </require> + <!-- sample_shading features --> + <require> + <command name="glMinSampleShading"/> + <enum name="GL_SAMPLE_SHADING"/> + <enum name="GL_MIN_SAMPLE_SHADING_VALUE"/> + </require> + <!-- sample_variables features --> + <require/> + <!-- shader_image_atomic features --> + <require/> + <!-- shader_io_blocks features --> + <require/> + <!-- shader_multisample_interpolation features --> + <require> + <enum name="GL_MIN_FRAGMENT_INTERPOLATION_OFFSET"/> + <enum name="GL_MAX_FRAGMENT_INTERPOLATION_OFFSET"/> + <enum name="GL_FRAGMENT_INTERPOLATION_OFFSET_BITS"/> + </require> + <!-- tessellation_shader features --> + <require> + <enum name="GL_PATCHES"/> + <enum name="GL_PATCH_VERTICES"/> + <enum name="GL_TESS_CONTROL_OUTPUT_VERTICES"/> + <enum name="GL_TESS_GEN_MODE"/> + <enum name="GL_TESS_GEN_SPACING"/> + <enum name="GL_TESS_GEN_VERTEX_ORDER"/> + <enum name="GL_TESS_GEN_POINT_MODE"/> + <enum name="GL_TRIANGLES"/> + <enum name="GL_ISOLINES"/> + <enum name="GL_QUADS"/> + <enum name="GL_EQUAL"/> + <enum name="GL_FRACTIONAL_ODD"/> + <enum name="GL_FRACTIONAL_EVEN"/> + <enum name="GL_CCW"/> + <enum name="GL_CW"/> + <enum name="GL_MAX_PATCH_VERTICES"/> + <enum name="GL_MAX_TESS_GEN_LEVEL"/> + <enum name="GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_TESS_PATCH_COMPONENTS"/> + <enum name="GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS"/> + <enum name="GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS"/> + <enum name="GL_MAX_TESS_CONTROL_INPUT_COMPONENTS"/> + <enum name="GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS"/> + <enum name="GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS"/> + <enum name="GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS"/> + <enum name="GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS"/> + <enum name="GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS"/> + <enum name="GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS"/> + <enum name="GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS"/> + <enum name="GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS"/> + <enum name="GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED"/> + <enum name="GL_IS_PER_PATCH"/> + <enum name="GL_REFERENCED_BY_TESS_CONTROL_SHADER"/> + <enum name="GL_REFERENCED_BY_TESS_EVALUATION_SHADER"/> + <enum name="GL_TESS_CONTROL_SHADER"/> + <enum name="GL_TESS_EVALUATION_SHADER"/> + <enum name="GL_TESS_CONTROL_SHADER_BIT"/> + <enum name="GL_TESS_EVALUATION_SHADER_BIT"/> + <command name="glPatchParameteri"/> + </require> + <!-- texture_border_clamp features --> + <require> + <enum name="GL_TEXTURE_BORDER_COLOR"/> + <enum name="GL_CLAMP_TO_BORDER"/> + <command name="glTexParameterIiv"/> + <command name="glTexParameterIuiv"/> + <command name="glGetTexParameterIiv"/> + <command name="glGetTexParameterIuiv"/> + <command name="glSamplerParameterIiv"/> + <command name="glSamplerParameterIuiv"/> + <command name="glGetSamplerParameterIiv"/> + <command name="glGetSamplerParameterIuiv"/> + </require> + <!-- texture_buffer features --> + <require> + <enum name="GL_TEXTURE_BUFFER"/> + <enum name="GL_TEXTURE_BUFFER_BINDING"/> + <enum name="GL_MAX_TEXTURE_BUFFER_SIZE"/> + <enum name="GL_TEXTURE_BINDING_BUFFER"/> + <enum name="GL_TEXTURE_BUFFER_DATA_STORE_BINDING"/> + <enum name="GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT"/> + <enum name="GL_SAMPLER_BUFFER"/> + <enum name="GL_INT_SAMPLER_BUFFER"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_BUFFER"/> + <enum name="GL_IMAGE_BUFFER"/> + <enum name="GL_INT_IMAGE_BUFFER"/> + <enum name="GL_UNSIGNED_INT_IMAGE_BUFFER"/> + <enum name="GL_TEXTURE_BUFFER_OFFSET"/> + <enum name="GL_TEXTURE_BUFFER_SIZE"/> + <command name="glTexBuffer"/> + <command name="glTexBufferRange"/> + </require> + <!-- texture_compression_astc_ldr features --> + <require> + <enum name="GL_COMPRESSED_RGBA_ASTC_4x4"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x4"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_5x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_6x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_8x8"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x5"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x6"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x8"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_10x10"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x10"/> + <enum name="GL_COMPRESSED_RGBA_ASTC_12x12"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10"/> + <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12"/> + </require> + <!-- texture_cube_map_array features --> + <require> + <enum name="GL_TEXTURE_CUBE_MAP_ARRAY"/> + <enum name="GL_TEXTURE_BINDING_CUBE_MAP_ARRAY"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW"/> + <enum name="GL_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY"/> + <enum name="GL_IMAGE_CUBE_MAP_ARRAY"/> + <enum name="GL_INT_IMAGE_CUBE_MAP_ARRAY"/> + <enum name="GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY"/> + </require> + <!-- texture_stencil8 features --> + <require> + <enum name="GL_STENCIL_INDEX"/> + <enum name="GL_STENCIL_INDEX8"/> + </require> + <!-- texture_storage_multisample_2d_array features --> + <require> + <enum name="GL_TEXTURE_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY"/> + <command name="glTexStorage3DMultisample"/> + </require> + </feature> + <feature api="glsc2" name="GL_SC_VERSION_2_0" number="2.0"> + <require comment="Not used by the API, but could be used by applications"> + <type name="GLbyte" comment="Used to define GL_BYTE data"/> + <type name="GLshort" comment="Used to define GL_SHORT data"/> + <type name="GLushort" comment="Used to define GL_UNSIGNED_SHORT data"/> + </require> + <require> + <enum name="GL_DEPTH_BUFFER_BIT"/> + <enum name="GL_STENCIL_BUFFER_BIT"/> + <enum name="GL_COLOR_BUFFER_BIT"/> + <enum name="GL_FALSE"/> + <enum name="GL_TRUE"/> + <enum name="GL_POINTS"/> + <enum name="GL_LINES"/> + <enum name="GL_LINE_LOOP"/> + <enum name="GL_LINE_STRIP"/> + <enum name="GL_TRIANGLES"/> + <enum name="GL_TRIANGLE_STRIP"/> + <enum name="GL_TRIANGLE_FAN"/> + <enum name="GL_ZERO"/> + <enum name="GL_ONE"/> + <enum name="GL_SRC_COLOR"/> + <enum name="GL_ONE_MINUS_SRC_COLOR"/> + <enum name="GL_SRC_ALPHA"/> + <enum name="GL_ONE_MINUS_SRC_ALPHA"/> + <enum name="GL_DST_ALPHA"/> + <enum name="GL_ONE_MINUS_DST_ALPHA"/> + <enum name="GL_DST_COLOR"/> + <enum name="GL_ONE_MINUS_DST_COLOR"/> + <enum name="GL_SRC_ALPHA_SATURATE"/> + <enum name="GL_FUNC_ADD"/> + <enum name="GL_BLEND_EQUATION"/> + <enum name="GL_BLEND_EQUATION_RGB"/> + <enum name="GL_BLEND_EQUATION_ALPHA"/> + <enum name="GL_FUNC_SUBTRACT"/> + <enum name="GL_FUNC_REVERSE_SUBTRACT"/> + <enum name="GL_BLEND_DST_RGB"/> + <enum name="GL_BLEND_SRC_RGB"/> + <enum name="GL_BLEND_DST_ALPHA"/> + <enum name="GL_BLEND_SRC_ALPHA"/> + <enum name="GL_CONSTANT_COLOR"/> + <enum name="GL_ONE_MINUS_CONSTANT_COLOR"/> + <enum name="GL_CONSTANT_ALPHA"/> + <enum name="GL_ONE_MINUS_CONSTANT_ALPHA"/> + <enum name="GL_BLEND_COLOR"/> + <enum name="GL_ARRAY_BUFFER"/> + <enum name="GL_ELEMENT_ARRAY_BUFFER"/> + <enum name="GL_ARRAY_BUFFER_BINDING"/> + <enum name="GL_ELEMENT_ARRAY_BUFFER_BINDING"/> + <enum name="GL_STREAM_DRAW"/> + <enum name="GL_STATIC_DRAW"/> + <enum name="GL_DYNAMIC_DRAW"/> + <enum name="GL_BUFFER_SIZE"/> + <enum name="GL_BUFFER_USAGE"/> + <enum name="GL_CURRENT_VERTEX_ATTRIB"/> + <enum name="GL_FRONT"/> + <enum name="GL_BACK"/> + <enum name="GL_FRONT_AND_BACK"/> + <enum name="GL_TEXTURE_2D"/> + <enum name="GL_CULL_FACE"/> + <enum name="GL_BLEND"/> + <enum name="GL_DITHER"/> + <enum name="GL_STENCIL_TEST"/> + <enum name="GL_DEPTH_TEST"/> + <enum name="GL_SCISSOR_TEST"/> + <enum name="GL_POLYGON_OFFSET_FILL"/> + <enum name="GL_SAMPLE_ALPHA_TO_COVERAGE"/> + <enum name="GL_SAMPLE_COVERAGE"/> + <enum name="GL_NO_ERROR"/> + <enum name="GL_INVALID_ENUM"/> + <enum name="GL_INVALID_VALUE"/> + <enum name="GL_INVALID_OPERATION"/> + <enum name="GL_OUT_OF_MEMORY"/> + <enum name="GL_INVALID_FRAMEBUFFER_OPERATION"/> + <enum name="GL_CONTEXT_LOST"/> + <enum name="GL_CW"/> + <enum name="GL_CCW"/> + <enum name="GL_LINE_WIDTH"/> + <enum name="GL_ALIASED_POINT_SIZE_RANGE"/> + <enum name="GL_ALIASED_LINE_WIDTH_RANGE"/> + <enum name="GL_CULL_FACE_MODE"/> + <enum name="GL_FRONT_FACE"/> + <enum name="GL_DEPTH_RANGE"/> + <enum name="GL_DEPTH_WRITEMASK"/> + <enum name="GL_DEPTH_CLEAR_VALUE"/> + <enum name="GL_DEPTH_FUNC"/> + <enum name="GL_STENCIL_CLEAR_VALUE"/> + <enum name="GL_STENCIL_FUNC"/> + <enum name="GL_STENCIL_FAIL"/> + <enum name="GL_STENCIL_PASS_DEPTH_FAIL"/> + <enum name="GL_STENCIL_PASS_DEPTH_PASS"/> + <enum name="GL_STENCIL_REF"/> + <enum name="GL_STENCIL_VALUE_MASK"/> + <enum name="GL_STENCIL_WRITEMASK"/> + <enum name="GL_STENCIL_BACK_FUNC"/> + <enum name="GL_STENCIL_BACK_FAIL"/> + <enum name="GL_STENCIL_BACK_PASS_DEPTH_FAIL"/> + <enum name="GL_STENCIL_BACK_PASS_DEPTH_PASS"/> + <enum name="GL_STENCIL_BACK_REF"/> + <enum name="GL_STENCIL_BACK_VALUE_MASK"/> + <enum name="GL_STENCIL_BACK_WRITEMASK"/> + <enum name="GL_VIEWPORT"/> + <enum name="GL_SCISSOR_BOX"/> + <enum name="GL_COLOR_CLEAR_VALUE"/> + <enum name="GL_COLOR_WRITEMASK"/> + <enum name="GL_UNPACK_ALIGNMENT"/> + <enum name="GL_PACK_ALIGNMENT"/> + <enum name="GL_MAX_TEXTURE_SIZE"/> + <enum name="GL_MAX_VIEWPORT_DIMS"/> + <enum name="GL_SUBPIXEL_BITS"/> + <enum name="GL_RED_BITS"/> + <enum name="GL_GREEN_BITS"/> + <enum name="GL_BLUE_BITS"/> + <enum name="GL_ALPHA_BITS"/> + <enum name="GL_DEPTH_BITS"/> + <enum name="GL_STENCIL_BITS"/> + <enum name="GL_POLYGON_OFFSET_UNITS"/> + <enum name="GL_POLYGON_OFFSET_FACTOR"/> + <enum name="GL_TEXTURE_BINDING_2D"/> + <enum name="GL_SAMPLE_BUFFERS"/> + <enum name="GL_SAMPLES"/> + <enum name="GL_SAMPLE_COVERAGE_VALUE"/> + <enum name="GL_SAMPLE_COVERAGE_INVERT"/> + <enum name="GL_NUM_COMPRESSED_TEXTURE_FORMATS"/> + <enum name="GL_COMPRESSED_TEXTURE_FORMATS"/> + <enum name="GL_DONT_CARE"/> + <enum name="GL_FASTEST"/> + <enum name="GL_NICEST"/> + <enum name="GL_GENERATE_MIPMAP_HINT"/> + <enum name="GL_BYTE"/> + <enum name="GL_UNSIGNED_BYTE"/> + <enum name="GL_SHORT"/> + <enum name="GL_UNSIGNED_SHORT"/> + <enum name="GL_INT"/> + <enum name="GL_UNSIGNED_INT"/> + <enum name="GL_FLOAT"/> + <enum name="GL_RED"/> + <enum name="GL_RG"/> + <enum name="GL_RGB"/> + <enum name="GL_RGBA"/> + <enum name="GL_UNSIGNED_SHORT_4_4_4_4"/> + <enum name="GL_UNSIGNED_SHORT_5_5_5_1"/> + <enum name="GL_UNSIGNED_SHORT_5_6_5"/> + <enum name="GL_MAX_VERTEX_ATTRIBS"/> + <enum name="GL_MAX_VERTEX_UNIFORM_VECTORS"/> + <enum name="GL_MAX_VARYING_VECTORS"/> + <enum name="GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_TEXTURE_IMAGE_UNITS"/> + <enum name="GL_MAX_FRAGMENT_UNIFORM_VECTORS"/> + <enum name="GL_LINK_STATUS"/> + <enum name="GL_SHADING_LANGUAGE_VERSION"/> + <enum name="GL_CURRENT_PROGRAM"/> + <enum name="GL_NEVER"/> + <enum name="GL_LESS"/> + <enum name="GL_EQUAL"/> + <enum name="GL_LEQUAL"/> + <enum name="GL_GREATER"/> + <enum name="GL_NOTEQUAL"/> + <enum name="GL_GEQUAL"/> + <enum name="GL_ALWAYS"/> + <enum name="GL_KEEP"/> + <enum name="GL_REPLACE"/> + <enum name="GL_INCR"/> + <enum name="GL_DECR"/> + <enum name="GL_INVERT"/> + <enum name="GL_INCR_WRAP"/> + <enum name="GL_DECR_WRAP"/> + <enum name="GL_VENDOR"/> + <enum name="GL_RENDERER"/> + <enum name="GL_VERSION"/> + <enum name="GL_EXTENSIONS"/> + <enum name="GL_NEAREST"/> + <enum name="GL_LINEAR"/> + <enum name="GL_NEAREST_MIPMAP_NEAREST"/> + <enum name="GL_LINEAR_MIPMAP_NEAREST"/> + <enum name="GL_NEAREST_MIPMAP_LINEAR"/> + <enum name="GL_LINEAR_MIPMAP_LINEAR"/> + <enum name="GL_TEXTURE_MAG_FILTER"/> + <enum name="GL_TEXTURE_MIN_FILTER"/> + <enum name="GL_TEXTURE_WRAP_S"/> + <enum name="GL_TEXTURE_WRAP_T"/> + <enum name="GL_TEXTURE_IMMUTABLE_FORMAT"/> + <enum name="GL_TEXTURE"/> + <enum name="GL_TEXTURE0"/> + <enum name="GL_TEXTURE1"/> + <enum name="GL_TEXTURE2"/> + <enum name="GL_TEXTURE3"/> + <enum name="GL_TEXTURE4"/> + <enum name="GL_TEXTURE5"/> + <enum name="GL_TEXTURE6"/> + <enum name="GL_TEXTURE7"/> + <enum name="GL_TEXTURE8"/> + <enum name="GL_TEXTURE9"/> + <enum name="GL_TEXTURE10"/> + <enum name="GL_TEXTURE11"/> + <enum name="GL_TEXTURE12"/> + <enum name="GL_TEXTURE13"/> + <enum name="GL_TEXTURE14"/> + <enum name="GL_TEXTURE15"/> + <enum name="GL_TEXTURE16"/> + <enum name="GL_TEXTURE17"/> + <enum name="GL_TEXTURE18"/> + <enum name="GL_TEXTURE19"/> + <enum name="GL_TEXTURE20"/> + <enum name="GL_TEXTURE21"/> + <enum name="GL_TEXTURE22"/> + <enum name="GL_TEXTURE23"/> + <enum name="GL_TEXTURE24"/> + <enum name="GL_TEXTURE25"/> + <enum name="GL_TEXTURE26"/> + <enum name="GL_TEXTURE27"/> + <enum name="GL_TEXTURE28"/> + <enum name="GL_TEXTURE29"/> + <enum name="GL_TEXTURE30"/> + <enum name="GL_TEXTURE31"/> + <enum name="GL_ACTIVE_TEXTURE"/> + <enum name="GL_REPEAT"/> + <enum name="GL_CLAMP_TO_EDGE"/> + <enum name="GL_MIRRORED_REPEAT"/> + <enum name="GL_SAMPLER_2D"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_ENABLED"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_SIZE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_STRIDE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_TYPE"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_NORMALIZED"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_POINTER"/> + <enum name="GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING"/> + <enum name="GL_IMPLEMENTATION_COLOR_READ_TYPE"/> + <enum name="GL_IMPLEMENTATION_COLOR_READ_FORMAT"/> + <enum name="GL_NUM_PROGRAM_BINARY_FORMATS"/> + <enum name="GL_PROGRAM_BINARY_FORMATS"/> + <enum name="GL_LOW_FLOAT"/> + <enum name="GL_MEDIUM_FLOAT"/> + <enum name="GL_HIGH_FLOAT"/> + <enum name="GL_LOW_INT"/> + <enum name="GL_MEDIUM_INT"/> + <enum name="GL_HIGH_INT"/> + <enum name="GL_FRAMEBUFFER"/> + <enum name="GL_RENDERBUFFER"/> + <enum name="GL_R8"/> + <enum name="GL_RG8"/> + <enum name="GL_RGB8"/> + <enum name="GL_RGBA8"/> + <enum name="GL_RGBA4"/> + <enum name="GL_RGB5_A1"/> + <enum name="GL_RGB565"/> + <enum name="GL_DEPTH_COMPONENT16"/> + <enum name="GL_STENCIL_INDEX8"/> + <enum name="GL_RENDERBUFFER_WIDTH"/> + <enum name="GL_RENDERBUFFER_HEIGHT"/> + <enum name="GL_RENDERBUFFER_INTERNAL_FORMAT"/> + <enum name="GL_RENDERBUFFER_RED_SIZE"/> + <enum name="GL_RENDERBUFFER_GREEN_SIZE"/> + <enum name="GL_RENDERBUFFER_BLUE_SIZE"/> + <enum name="GL_RENDERBUFFER_ALPHA_SIZE"/> + <enum name="GL_RENDERBUFFER_DEPTH_SIZE"/> + <enum name="GL_RENDERBUFFER_STENCIL_SIZE"/> + <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE"/> + <enum name="GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME"/> + <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL"/> + <enum name="GL_COLOR_ATTACHMENT0"/> + <enum name="GL_DEPTH_ATTACHMENT"/> + <enum name="GL_STENCIL_ATTACHMENT"/> + <enum name="GL_NONE"/> + <enum name="GL_FRAMEBUFFER_COMPLETE"/> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"/> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"/> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS"/> + <enum name="GL_FRAMEBUFFER_UNSUPPORTED"/> + <enum name="GL_FRAMEBUFFER_UNDEFINED"/> + <enum name="GL_FRAMEBUFFER_BINDING"/> + <enum name="GL_RENDERBUFFER_BINDING"/> + <enum name="GL_MAX_RENDERBUFFER_SIZE"/> + <enum name="GL_NO_ERROR"/> + <enum name="GL_GUILTY_CONTEXT_RESET"/> + <enum name="GL_INNOCENT_CONTEXT_RESET"/> + <enum name="GL_UNKNOWN_CONTEXT_RESET"/> + <enum name="GL_CONTEXT_ROBUST_ACCESS"/> + <enum name="GL_RESET_NOTIFICATION_STRATEGY"/> + <enum name="GL_LOSE_CONTEXT_ON_RESET"/> + <command name="glActiveTexture"/> + <command name="glBindBuffer"/> + <command name="glBindFramebuffer"/> + <command name="glBindRenderbuffer"/> + <command name="glBindTexture"/> + <command name="glBlendColor"/> + <command name="glBlendEquation"/> + <command name="glBlendEquationSeparate"/> + <command name="glBlendFunc"/> + <command name="glBlendFuncSeparate"/> + <command name="glBufferData"/> + <command name="glBufferSubData"/> + <command name="glCheckFramebufferStatus"/> + <command name="glClear"/> + <command name="glClearColor"/> + <command name="glClearDepthf"/> + <command name="glClearStencil"/> + <command name="glColorMask"/> + <command name="glCompressedTexSubImage2D"/> + <command name="glCreateProgram"/> + <command name="glCullFace"/> + <command name="glDepthFunc"/> + <command name="glDepthMask"/> + <command name="glDepthRangef"/> + <command name="glDisable"/> + <command name="glDisableVertexAttribArray"/> + <command name="glDrawArrays"/> + <command name="glDrawRangeElements"/> + <command name="glEnable"/> + <command name="glEnableVertexAttribArray"/> + <command name="glFinish"/> + <command name="glFlush"/> + <command name="glFramebufferRenderbuffer"/> + <command name="glFramebufferTexture2D"/> + <command name="glFrontFace"/> + <command name="glGenBuffers"/> + <command name="glGenerateMipmap"/> + <command name="glGenFramebuffers"/> + <command name="glGenRenderbuffers"/> + <command name="glGenTextures"/> + <command name="glGetAttribLocation"/> + <command name="glGetBooleanv"/> + <command name="glGetBufferParameteriv"/> + <command name="glGetError"/> + <command name="glGetFloatv"/> + <command name="glGetFramebufferAttachmentParameteriv"/> + <command name="glGetGraphicsResetStatus"/> + <command name="glGetIntegerv"/> + <command name="glGetProgramiv"/> + <command name="glGetRenderbufferParameteriv"/> + <command name="glGetString"/> + <command name="glGetTexParameterfv"/> + <command name="glGetTexParameteriv"/> + <command name="glGetnUniformfv"/> + <command name="glGetnUniformiv"/> + <command name="glGetUniformLocation"/> + <command name="glGetVertexAttribfv"/> + <command name="glGetVertexAttribiv"/> + <command name="glGetVertexAttribPointerv"/> + <command name="glHint"/> + <command name="glIsEnabled"/> + <command name="glLineWidth"/> + <command name="glPixelStorei"/> + <command name="glPolygonOffset"/> + <command name="glProgramBinary"/> + <command name="glReadnPixels"/> + <command name="glRenderbufferStorage"/> + <command name="glSampleCoverage"/> + <command name="glScissor"/> + <command name="glStencilFunc"/> + <command name="glStencilFuncSeparate"/> + <command name="glStencilMask"/> + <command name="glStencilMaskSeparate"/> + <command name="glStencilOp"/> + <command name="glStencilOpSeparate"/> + <command name="glTexStorage2D"/> + <command name="glTexParameterf"/> + <command name="glTexParameterfv"/> + <command name="glTexParameteri"/> + <command name="glTexParameteriv"/> + <command name="glTexSubImage2D"/> + <command name="glUniform1f"/> + <command name="glUniform1fv"/> + <command name="glUniform1i"/> + <command name="glUniform1iv"/> + <command name="glUniform2f"/> + <command name="glUniform2fv"/> + <command name="glUniform2i"/> + <command name="glUniform2iv"/> + <command name="glUniform3f"/> + <command name="glUniform3fv"/> + <command name="glUniform3i"/> + <command name="glUniform3iv"/> + <command name="glUniform4f"/> + <command name="glUniform4fv"/> + <command name="glUniform4i"/> + <command name="glUniform4iv"/> + <command name="glUniformMatrix2fv"/> + <command name="glUniformMatrix3fv"/> + <command name="glUniformMatrix4fv"/> + <command name="glUseProgram"/> + <command name="glVertexAttrib1f"/> + <command name="glVertexAttrib1fv"/> + <command name="glVertexAttrib2f"/> + <command name="glVertexAttrib2fv"/> + <command name="glVertexAttrib3f"/> + <command name="glVertexAttrib3fv"/> + <command name="glVertexAttrib4f"/> + <command name="glVertexAttrib4fv"/> + <command name="glVertexAttribPointer"/> + <command name="glViewport"/> + </require> + </feature> <!-- SECTION: OpenGL / OpenGL ES extension interface definitions --> <extensions> @@ -35343,6 +36672,7 @@ typedef unsigned int GLhandleARB; <extension name="GL_AMD_shader_atomic_counter_ops" supported="gl"/> <extension name="GL_AMD_shader_stencil_export" supported="gl"/> <extension name="GL_AMD_shader_trinary_minmax" supported="gl"/> + <extension name="GL_AMD_shader_explicit_vertex_parameter" supported="gl"/> <extension name="GL_AMD_sparse_texture" supported="gl"> <require> <enum name="GL_VIRTUAL_PAGE_SIZE_X_AMD"/> @@ -35760,6 +37090,14 @@ typedef unsigned int GLhandleARB; <command name="glMemoryBarrierByRegion"/> </require> </extension> + <extension name="GL_ARB_ES3_2_compatibility" supported="gl"> + <require> + <enum name="GL_PRIMITIVE_BOUNDING_BOX_ARB"/> + <enum name="GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB"/> + <enum name="GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB"/> + <command name="glPrimitiveBoundingBoxARB"/> + </require> + </extension> <extension name="GL_ARB_ES3_compatibility" supported="gl|glcore"> <require> <enum name="GL_COMPRESSED_RGB8_ETC2"/> @@ -36311,6 +37649,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB"/> </require> </extension> + <extension name="GL_ARB_fragment_shader_interlock" supported="gl"/> <extension name="GL_ARB_framebuffer_no_attachments" supported="gl|glcore"> <require> <enum name="GL_FRAMEBUFFER_DEFAULT_WIDTH"/> @@ -36520,6 +37859,54 @@ typedef unsigned int GLhandleARB; <command name="glGetUniformdv"/> </require> </extension> + <extension name="GL_ARB_gpu_shader_int64" supported="gl"> + <require> + <enum name="GL_INT64_ARB"/> + <enum name="GL_UNSIGNED_INT64_ARB"/> + <enum name="GL_INT64_VEC2_ARB"/> + <enum name="GL_INT64_VEC3_ARB"/> + <enum name="GL_INT64_VEC4_ARB"/> + <enum name="GL_UNSIGNED_INT64_VEC2_ARB"/> + <enum name="GL_UNSIGNED_INT64_VEC3_ARB"/> + <enum name="GL_UNSIGNED_INT64_VEC4_ARB"/> + <command name="glUniform1i64ARB"/> + <command name="glUniform2i64ARB"/> + <command name="glUniform3i64ARB"/> + <command name="glUniform4i64ARB"/> + <command name="glUniform1i64vARB"/> + <command name="glUniform2i64vARB"/> + <command name="glUniform3i64vARB"/> + <command name="glUniform4i64vARB"/> + <command name="glUniform1ui64ARB"/> + <command name="glUniform2ui64ARB"/> + <command name="glUniform3ui64ARB"/> + <command name="glUniform4ui64ARB"/> + <command name="glUniform1ui64vARB"/> + <command name="glUniform2ui64vARB"/> + <command name="glUniform3ui64vARB"/> + <command name="glUniform4ui64vARB"/> + <command name="glGetUniformi64vARB"/> + <command name="glGetUniformui64vARB"/> + <command name="glGetnUniformi64vARB"/> + <command name="glGetnUniformui64vARB"/> + <command name="glProgramUniform1i64ARB"/> + <command name="glProgramUniform2i64ARB"/> + <command name="glProgramUniform3i64ARB"/> + <command name="glProgramUniform4i64ARB"/> + <command name="glProgramUniform1i64vARB"/> + <command name="glProgramUniform2i64vARB"/> + <command name="glProgramUniform3i64vARB"/> + <command name="glProgramUniform4i64vARB"/> + <command name="glProgramUniform1ui64ARB"/> + <command name="glProgramUniform2ui64ARB"/> + <command name="glProgramUniform3ui64ARB"/> + <command name="glProgramUniform4ui64ARB"/> + <command name="glProgramUniform1ui64vARB"/> + <command name="glProgramUniform2ui64vARB"/> + <command name="glProgramUniform3ui64vARB"/> + <command name="glProgramUniform4ui64vARB"/> + </require> + </extension> <extension name="GL_ARB_half_float_pixel" supported="gl"> <require> <type name="GLhalfARB"/> @@ -36958,6 +38345,13 @@ typedef unsigned int GLhandleARB; <enum name="GL_ANY_SAMPLES_PASSED"/> </require> </extension> + <extension name="GL_ARB_parallel_shader_compile" supported="gl"> + <require> + <enum name="GL_MAX_SHADER_COMPILER_THREADS_ARB"/> + <enum name="GL_COMPLETION_STATUS_ARB"/> + <command name="glMaxShaderCompilerThreadsARB"/> + </require> + </extension> <extension name="GL_ARB_pipeline_statistics_query" supported="gl|glcore"> <require> <enum name="GL_VERTICES_SUBMITTED_ARB"/> @@ -36997,6 +38391,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COORD_REPLACE_ARB"/> </require> </extension> + <extension name="GL_ARB_post_depth_coverage" supported="gl"/> <extension name="GL_ARB_program_interface_query" supported="gl|glcore"> <require> <enum name="GL_UNIFORM"/> @@ -37110,6 +38505,21 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_ARB_robustness_isolation" supported="gl|glcore"/> + <extension name="GL_ARB_sample_locations" supported="gl"> + <require> + <enum name="GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB"/> + <enum name="GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB"/> + <enum name="GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB"/> + <enum name="GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB"/> + <enum name="GL_SAMPLE_LOCATION_ARB"/> + <enum name="GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB"/> + <enum name="GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB"/> + <enum name="GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB"/> + <command name="glFramebufferSampleLocationsfvARB"/> + <command name="glNamedFramebufferSampleLocationsfvARB"/> + <command name="glEvaluateDepthValuesARB"/> + </require> + </extension> <extension name="GL_ARB_sample_shading" supported="gl|glcore"> <require> <enum name="GL_SAMPLE_SHADING_ARB"/> @@ -37219,6 +38629,7 @@ typedef unsigned int GLhandleARB; <command name="glGetProgramPipelineInfoLog"/> </require> </extension> + <extension name="GL_ARB_shader_atomic_counter_ops" supported="gl"/> <extension name="GL_ARB_shader_atomic_counters" supported="gl|glcore"> <require> <enum name="GL_ATOMIC_COUNTER_BUFFER"/> @@ -37253,7 +38664,9 @@ typedef unsigned int GLhandleARB; <command name="glGetActiveAtomicCounterBufferiv"/> </require> </extension> + <extension name="GL_ARB_shader_ballot" supported="gl"/> <extension name="GL_ARB_shader_bit_encoding" supported="gl|glcore"/> + <extension name="GL_ARB_shader_clock" supported="gl"/> <extension name="GL_ARB_shader_draw_parameters" supported="gl|glcore"/> <extension name="GL_ARB_shader_group_vote" supported="gl|glcore"/> <extension name="GL_ARB_shader_image_load_store" supported="gl|glcore"> @@ -37453,6 +38866,7 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_ARB_shader_texture_image_samples" supported="gl|glcore"/> <extension name="GL_ARB_shader_texture_lod" supported="gl"/> + <extension name="GL_ARB_shader_viewport_layer_array" supported="gl"/> <extension name="GL_ARB_shading_language_100" supported="gl"> <require> <enum name="GL_SHADING_LANGUAGE_VERSION_ARB"/> @@ -37514,6 +38928,8 @@ typedef unsigned int GLhandleARB; <command name="glTexPageCommitmentARB"/> </require> </extension> + <extension name="GL_ARB_sparse_texture2" supported="gl|gles2"/> + <extension name="GL_ARB_sparse_texture_clamp" supported="gl"/> <extension name="GL_ARB_stencil_texturing" supported="gl|glcore"> <require> <enum name="GL_DEPTH_STENCIL_TEXTURE_MODE"/> @@ -37722,6 +39138,12 @@ typedef unsigned int GLhandleARB; <enum name="GL_DOT3_RGBA_ARB"/> </require> </extension> + <extension name="GL_ARB_texture_filter_minmax" supported="gl"> + <require> + <enum name="GL_TEXTURE_REDUCTION_MODE_ARB"/> + <enum name="GL_WEIGHTED_AVERAGE_ARB"/> + </require> + </extension> <extension name="GL_ARB_texture_float" supported="gl"> <require> <enum name="GL_TEXTURE_RED_TYPE_ARB"/> @@ -38833,6 +40255,14 @@ typedef unsigned int GLhandleARB; <enum name="GL_422_REV_AVERAGE_EXT"/> </require> </extension> + <extension name="GL_EXT_YUV_target" supported="gles2"> + <require> + <enum name="GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT"/> + <enum name="GL_TEXTURE_EXTERNAL_OES"/> + <enum name="GL_TEXTURE_BINDING_EXTERNAL_OES"/> + <enum name="GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES"/> + </require> + </extension> <extension name="GL_EXT_abgr" supported="gl"> <require> <enum name="GL_ABGR_EXT"/> @@ -38881,6 +40311,21 @@ typedef unsigned int GLhandleARB; <command name="glBlendEquationSeparateEXT"/> </require> </extension> + <extension name="GL_EXT_blend_func_extended" supported="gles2"> + <require> + <enum name="GL_SRC1_COLOR_EXT"/> + <enum name="GL_SRC1_ALPHA_EXT"/> + <enum name="GL_ONE_MINUS_SRC1_COLOR_EXT"/> + <enum name="GL_ONE_MINUS_SRC1_ALPHA_EXT"/> + <enum name="GL_SRC_ALPHA_SATURATE_EXT"/> + <enum name="GL_LOCATION_INDEX_EXT"/> + <enum name="GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT"/> + <command name="glBindFragDataLocationIndexedEXT"/> + <command name="glBindFragDataLocationEXT"/> + <command name="glGetProgramResourceLocationIndexEXT"/> + <command name="glGetFragDataIndexEXT"/> + </require> + </extension> <extension name="GL_EXT_blend_func_separate" supported="gl"> <require> <enum name="GL_BLEND_DST_RGB_EXT"/> @@ -38923,6 +40368,21 @@ typedef unsigned int GLhandleARB; <!-- <command name="glNamedBufferStorageEXT"/> --> </require> </extension> + <extension name="GL_EXT_clip_cull_distance" supported="gles2"> + <require> + <enum name="GL_MAX_CLIP_DISTANCES_EXT"/> + <enum name="GL_MAX_CULL_DISTANCES_EXT"/> + <enum name="GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT"/> + <enum name="GL_CLIP_DISTANCE0_EXT"/> + <enum name="GL_CLIP_DISTANCE1_EXT"/> + <enum name="GL_CLIP_DISTANCE2_EXT"/> + <enum name="GL_CLIP_DISTANCE3_EXT"/> + <enum name="GL_CLIP_DISTANCE4_EXT"/> + <enum name="GL_CLIP_DISTANCE5_EXT"/> + <enum name="GL_CLIP_DISTANCE6_EXT"/> + <enum name="GL_CLIP_DISTANCE7_EXT"/> + </require> + </extension> <extension name="GL_EXT_clip_volume_hint" supported="gl"> <require> <enum name="GL_CLIP_VOLUME_CLIPPING_HINT_EXT"/> @@ -38936,6 +40396,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_UNPACK_CMYK_HINT_EXT"/> </require> </extension> + <extension name="GL_EXT_color_buffer_float" supported="gles2"/> <extension name="GL_EXT_color_buffer_half_float" supported="gles2"> <require> <enum name="GL_RGBA16F_EXT"/> @@ -39947,6 +41408,12 @@ typedef unsigned int GLhandleARB; <command name="glSamplePatternEXT"/> </require> </extension> + <extension name="GL_EXT_multisampled_compatibility" supported="gles2"> + <require> + <enum name="GL_MULTISAMPLE_EXT"/> + <enum name="GL_SAMPLE_ALPHA_TO_ONE_EXT"/> + </require> + </extension> <extension name="GL_EXT_multisampled_render_to_texture" supported="gles1|gles2"> <require> <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT"/> @@ -40070,7 +41537,7 @@ typedef unsigned int GLhandleARB; <command name="glPolygonOffsetEXT"/> </require> </extension> - <extension name="GL_EXT_polygon_offset_clamp" supported="gl"> + <extension name="GL_EXT_polygon_offset_clamp" supported="gl|gles2"> <require> <enum name="GL_POLYGON_OFFSET_CLAMP_EXT"/> <command name="glPolygonOffsetClampEXT"/> @@ -40083,6 +41550,12 @@ typedef unsigned int GLhandleARB; <command name="glPrimitiveBoundingBoxEXT"/> </require> </extension> + <extension name="GL_EXT_protected_textures" supported="gles2"> + <require> + <enum name="GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT"/> + <enum name="GL_TEXTURE_PROTECTED_EXT"/> + </require> + </extension> <extension name="GL_EXT_provoking_vertex" supported="gl"> <require> <enum name="GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT"/> @@ -40269,6 +41742,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT"/> </require> </extension> + <extension name="GL_EXT_shader_group_vote" supported="gles2"/> <extension name="GL_EXT_shader_image_load_formatted" supported="gl"/> <extension name="GL_EXT_shader_image_load_store" supported="gl"> <require> @@ -40334,6 +41808,7 @@ typedef unsigned int GLhandleARB; <extension name="GL_EXT_shader_implicit_conversions" supported="gles2"/> <extension name="GL_EXT_shader_integer_mix" supported="gl|gles2"/> <extension name="GL_EXT_shader_io_blocks" supported="gles2"/> + <extension name="GL_EXT_shader_non_constant_global_initializers" supported="gles2"/> <extension name="GL_EXT_shader_pixel_local_storage" supported="gles2"> <require> <enum name="GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT"/> @@ -40341,6 +41816,16 @@ typedef unsigned int GLhandleARB; <enum name="GL_SHADER_PIXEL_LOCAL_STORAGE_EXT"/> </require> </extension> + <extension name="GL_EXT_shader_pixel_local_storage2" supported="gles2"> + <require> + <enum name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT"/> + <enum name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT"/> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT"/> + <command name="glFramebufferPixelLocalStorageSizeEXT"/> + <command name="glGetFramebufferPixelLocalStorageSizeEXT"/> + <command name="glClearPixelLocalStorageuiEXT"/> + </require> + </extension> <extension name="GL_EXT_shader_texture_lod" supported="gles2"/> <extension name="GL_EXT_shadow_funcs" supported="gl"/> <extension name="GL_EXT_shadow_samplers" supported="gles2"> @@ -40374,7 +41859,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT"/> <enum name="GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT"/> <enum name="GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT"/> - <command name="glTexPageCommitmentARB"/> + <command name="glTexPageCommitmentEXT"/> <!-- <command name="glTexturePageCommitmentEXT"/> --> </require> </extension> @@ -40600,7 +42085,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT"/> </require> </extension> - <extension name="GL_EXT_texture_compression_s3tc" supported="gl|gles2"> + <extension name="GL_EXT_texture_compression_s3tc" supported="gl|gles2|glsc2"> <require> <enum name="GL_COMPRESSED_RGB_S3TC_DXT1_EXT"/> <enum name="GL_COMPRESSED_RGBA_S3TC_DXT1_EXT"/> @@ -40824,13 +42309,6 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT"/> </require> </extension> - <extension name="GL_EXT_texture_sRGB_decode" supported="gl|gles2"> - <require> - <enum name="GL_TEXTURE_SRGB_DECODE_EXT"/> - <enum name="GL_DECODE_EXT"/> - <enum name="GL_SKIP_DECODE_EXT"/> - </require> - </extension> <extension name="GL_EXT_texture_sRGB_R8" supported="gles2"> <require> <enum name="GL_SR8_EXT"/> @@ -40841,6 +42319,13 @@ typedef unsigned int GLhandleARB; <enum name="GL_SRG8_EXT"/> </require> </extension> + <extension name="GL_EXT_texture_sRGB_decode" supported="gl|gles2"> + <require> + <enum name="GL_TEXTURE_SRGB_DECODE_EXT"/> + <enum name="GL_DECODE_EXT"/> + <enum name="GL_SKIP_DECODE_EXT"/> + </require> + </extension> <extension name="GL_EXT_texture_shared_exponent" supported="gl"> <require> <enum name="GL_RGB9_E5_EXT"/> @@ -41229,12 +42714,15 @@ typedef unsigned int GLhandleARB; <command name="glVertexWeightPointerEXT"/> </require> </extension> - <extension name="GL_EXT_YUV_target" supported="gles2"> + <extension name="GL_EXT_window_rectangles" supported="gl|gles2"> <require> - <enum name="GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT"/> - <enum name="GL_TEXTURE_EXTERNAL_OES"/> - <enum name="GL_TEXTURE_BINDING_EXTERNAL_OES"/> - <enum name="GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES"/> + <enum name="GL_INCLUSIVE_EXT"/> + <enum name="GL_EXCLUSIVE_EXT"/> + <enum name="GL_WINDOW_RECTANGLE_EXT"/> + <enum name="GL_WINDOW_RECTANGLE_MODE_EXT"/> + <enum name="GL_MAX_WINDOW_RECTANGLES_EXT"/> + <enum name="GL_NUM_WINDOW_RECTANGLES_EXT"/> + <command name="glWindowRectanglesEXT"/> </require> </extension> <extension name="GL_EXT_x11_sync_object" supported="gl"> @@ -41360,6 +42848,16 @@ typedef unsigned int GLhandleARB; <command name="glVertexPointerListIBM"/> </require> </extension> + <extension name="GL_IMG_framebuffer_downsample" supported="gles2"> + <require> + <enum name="GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG"/> + <enum name="GL_NUM_DOWNSAMPLE_SCALES_IMG"/> + <enum name="GL_DOWNSAMPLE_SCALES_IMG"/> + <enum name="GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG"/> + <command name="glFramebufferTexture2DDownsampleIMG"/> + <command name="glFramebufferTextureLayerDownsampleIMG"/> + </require> + </extension> <extension name="GL_IMG_multisampled_render_to_texture" supported="gles1|gles2"> <require> <enum name="GL_RENDERBUFFER_SAMPLES_IMG"/> @@ -41411,6 +42909,13 @@ typedef unsigned int GLhandleARB; <enum name="GL_DOT3_RGBA_IMG"/> </require> </extension> + <extension name="GL_IMG_texture_filter_cubic" supported="gles2"> + <require> + <enum name="GL_CUBIC_IMG"/> + <enum name="GL_CUBIC_MIPMAP_NEAREST_IMG"/> + <enum name="GL_CUBIC_MIPMAP_LINEAR_IMG"/> + </require> + </extension> <extension name="GL_IMG_user_clip_plane" supported="gles1"> <require> <enum name="GL_CLIP_PLANE0_IMG"/> @@ -41446,7 +42951,17 @@ typedef unsigned int GLhandleARB; <enum name="GL_INTERLACE_READ_INGR"/> </require> </extension> + <extension name="GL_INTEL_conservative_rasterization" supported="gl|gles2"> + <require> + <enum name="GL_CONSERVATIVE_RASTERIZATION_INTEL"/> + </require> + </extension> <extension name="GL_INTEL_fragment_shader_ordering" supported="gl"/> + <extension name="GL_INTEL_framebuffer_CMAA" supported="gl|gles2"> + <require> + <command name="glApplyFramebufferAttachmentCMAAINTEL"/> + </require> + </extension> <extension name="GL_INTEL_map_texture" supported="gl"> <require> <enum name="GL_TEXTURE_MEMORY_LAYOUT_INTEL"/> @@ -41507,7 +43022,6 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_KHR_blend_equation_advanced" supported="gl|gles2"> <require> - <command name="glBlendBarrierKHR"/> <enum name="GL_MULTIPLY_KHR"/> <enum name="GL_SCREEN_KHR"/> <enum name="GL_OVERLAY_KHR"/> @@ -41523,6 +43037,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_HSL_SATURATION_KHR"/> <enum name="GL_HSL_COLOR_KHR"/> <enum name="GL_HSL_LUMINOSITY_KHR"/> + <command name="glBlendBarrierKHR"/> </require> </extension> <extension name="GL_KHR_blend_equation_advanced_coherent" supported="gl|gles2"> @@ -41757,6 +43272,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR"/> </require> </extension> + <extension name="GL_KHR_texture_compression_astc_sliced_3d" supported="gl|glcore|gles2"/> <extension name="GL_MESAX_texture_stack" supported="gl"> <require> <enum name="GL_TEXTURE_1D_STACK_MESAX"/> @@ -41919,6 +43435,14 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_NV_blend_square" supported="gl"/> + <extension name="GL_NV_clip_space_w_scaling" supported="gl"> + <require> + <enum name="GL_VIEWPORT_POSITION_W_SCALE_NV"/> + <enum name="GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV"/> + <enum name="GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV"/> + <command name="glViewportPositionWScaleNV"/> + </require> + </extension> <extension name="GL_NV_command_list" supported="gl"> <require> <enum name="GL_TERMINATE_SEQUENCE_COMMAND_NV"/> @@ -41984,6 +43508,23 @@ typedef unsigned int GLhandleARB; <command name="glSubpixelPrecisionBiasNV"/> </require> </extension> + <extension name="GL_NV_conservative_raster_dilate" supported="gl"> + <require> + <enum name="GL_CONSERVATIVE_RASTER_DILATE_NV"/> + <enum name="GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV"/> + <enum name="GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV"/> + <command name="glConservativeRasterParameterfNV"/> + </require> + </extension> + <extension name="GL_NV_conservative_raster_pre_snap_triangles" supported="gl|gles2"> + <require> + <enum name="GL_CONSERVATIVE_RASTER_MODE_NV"/> + <enum name="GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV"/> + <enum name="GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV"/> + <enum name="GL_CONSERVATIVE_RASTER_MODE_NV"/> + <command name="glConservativeRasterParameteriNV"/> + </require> + </extension> <extension name="GL_NV_copy_buffer" supported="gles2"> <require> <enum name="GL_COPY_READ_BUFFER_NV"/> @@ -42370,7 +43911,7 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_NV_gpu_program5_mem_extended" supported="gl"/> - <extension name="GL_NV_gpu_shader5" supported="gl"> + <extension name="GL_NV_gpu_shader5" supported="gl|gles2"> <require> <enum name="GL_INT64_NV"/> <enum name="GL_UNSIGNED_INT64_NV"/> @@ -42815,6 +44356,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAGMENT_INPUT_NV"/> </require> </extension> + <extension name="GL_NV_path_rendering_shared_edge" supported="gl|gles2"> + <require> + <enum name="GL_SHARED_EDGE_NV"/> + </require> + </extension> <extension name="GL_NV_pixel_data_range" supported="gl"> <require> <enum name="GL_WRITE_PIXEL_DATA_RANGE_NV"/> @@ -42954,11 +44500,6 @@ typedef unsigned int GLhandleARB; <command name="glGetFinalCombinerInputParameterivNV"/> </require> </extension> - <extension name="GL_NV_path_rendering_shared_edge" supported="gl|gles2"> - <require> - <enum name="GL_SHARED_EDGE_NV"/> - </require> - </extension> <extension name="GL_NV_register_combiners2" supported="gl"> <require> <enum name="GL_PER_STAGE_CONSTANTS_NV"/> @@ -42966,6 +44507,11 @@ typedef unsigned int GLhandleARB; <command name="glGetCombinerStageParameterfvNV"/> </require> </extension> + <extension name="GL_NV_robustness_video_memory_purge" supported="gl"> + <require> + <enum name="GL_PURGED_CONTEXT_RESET_NV"/> + </require> + </extension> <extension name="GL_NV_sRGB_formats" supported="gles2"> <require> <enum name="GL_SLUMINANCE_NV"/> @@ -42998,7 +44544,8 @@ typedef unsigned int GLhandleARB; <extension name="GL_NV_sample_mask_override_coverage" supported="gl|gles2"/> <extension name="GL_NV_shader_atomic_counters" supported="gl"/> <extension name="GL_NV_shader_atomic_float" supported="gl"/> - <extension name="GL_NV_shader_atomic_fp16_vector" supported="gl"/> + <extension name="GL_NV_shader_atomic_float64" supported="gl"/> + <extension name="GL_NV_shader_atomic_fp16_vector" supported="gl|gles2"/> <extension name="GL_NV_shader_atomic_int64" supported="gl"/> <extension name="GL_NV_shader_buffer_load" supported="gl"> <require> @@ -43048,6 +44595,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_SAMPLER_CUBE_SHADOW_NV"/> </require> </extension> + <extension name="GL_NV_stereo_view_rendering" supported="gl"/> <extension name="GL_NV_tessellation_program5" supported="gl"> <require> <enum name="GL_MAX_PROGRAM_PATCH_ATTRIBS_NV"/> @@ -43656,6 +45204,23 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_NV_viewport_array2" supported="gl|gles2"/> + <extension name="GL_NV_viewport_swizzle" supported="gl|gles2"> + <require> + <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_X_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_Y_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_Z_NV"/> + <enum name="GL_VIEWPORT_SWIZZLE_W_NV"/> + <command name="glViewportSwizzleNV"/> + </require> + </extension> <extension name="GL_OES_EGL_image" supported="gles1|gles2"> <require> <type name="GLeglImageOES"/> @@ -43755,12 +45320,12 @@ typedef unsigned int GLhandleARB; <command name="glCopyImageSubDataOES"/> </require> </extension> - <extension name="GL_OES_depth24" supported="gles1|gles2"> + <extension name="GL_OES_depth24" supported="gles1|gles2|glsc2"> <require> <enum name="GL_DEPTH_COMPONENT24_OES"/> </require> </extension> - <extension name="GL_OES_depth32" supported="gles1|gles2"> + <extension name="GL_OES_depth32" supported="gles1|gles2|glsc2"> <require> <enum name="GL_DEPTH_COMPONENT32_OES"/> </require> @@ -44012,6 +45577,7 @@ typedef unsigned int GLhandleARB; <command name="glGenerateMipmapOES"/> </require> </extension> + <extension name="GL_OES_geometry_point_size" supported="gles2"/> <extension name="GL_OES_geometry_shader" supported="gles2"> <require> <enum name="GL_GEOMETRY_SHADER_OES"/> @@ -44050,7 +45616,6 @@ typedef unsigned int GLhandleARB; <command name="glFramebufferTextureOES"/> </require> </extension> - <extension name="GL_OES_geometry_point_size" supported="gles2"/> <extension name="GL_OES_get_program_binary" supported="gles2"> <require> <enum name="GL_PROGRAM_BINARY_LENGTH_OES"/> @@ -44162,7 +45727,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_RGB10_A2_EXT"/> </require> </extension> - <extension name="GL_OES_rgb8_rgba8" supported="gles1|gles2"> + <extension name="GL_OES_rgb8_rgba8" supported="gles1|gles2|glsc2"> <require> <enum name="GL_RGB8_OES"/> <enum name="GL_RGBA8_OES"/> @@ -44195,7 +45760,7 @@ typedef unsigned int GLhandleARB; <command name="glOrthofOES"/> </require> </extension> - <extension name="GL_OES_standard_derivatives" supported="gles2"> + <extension name="GL_OES_standard_derivatives" supported="gles2|glsc2"> <require> <enum name="GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES"/> </require> @@ -44226,6 +45791,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAMEBUFFER_UNDEFINED_OES"/> </require> </extension> + <extension name="GL_OES_tessellation_point_size" supported="gles2"/> <extension name="GL_OES_tessellation_shader" supported="gles2"> <require> <enum name="GL_PATCHES_OES"/> @@ -44278,7 +45844,6 @@ typedef unsigned int GLhandleARB; <command name="glPatchParameteriOES"/> </require> </extension> - <extension name="GL_OES_tessellation_point_size" supported="gles2"/> <extension name="GL_OES_texture_3D" supported="gles2"> <require> <enum name="GL_TEXTURE_WRAP_R_OES"/> @@ -44447,12 +46012,12 @@ typedef unsigned int GLhandleARB; </extension> <extension name="GL_OES_texture_storage_multisample_2d_array" supported="gles2"> <require> - <command name="glTexStorage3DMultisampleOES"/> <enum name="GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES"/> <enum name="GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES"/> <enum name="GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES"/> <enum name="GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES"/> <enum name="GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES"/> + <command name="glTexStorage3DMultisampleOES"/> </require> </extension> <extension name="GL_OES_texture_view" supported="gles2"> @@ -44485,6 +46050,30 @@ typedef unsigned int GLhandleARB; <enum name="GL_INT_10_10_10_2_OES"/> </require> </extension> + <extension name="GL_OES_viewport_array" supported="gles2"> + <require> + <enum name="GL_SCISSOR_BOX"/> + <enum name="GL_VIEWPORT"/> + <enum name="GL_DEPTH_RANGE"/> + <enum name="GL_SCISSOR_TEST"/> + <enum name="GL_MAX_VIEWPORTS_OES"/> + <enum name="GL_VIEWPORT_SUBPIXEL_BITS_OES"/> + <enum name="GL_VIEWPORT_BOUNDS_RANGE_OES"/> + <enum name="GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES"/> + <command name="glViewportArrayvOES"/> + <command name="glViewportIndexedfOES"/> + <command name="glViewportIndexedfvOES"/> + <command name="glScissorArrayvOES"/> + <command name="glScissorIndexedOES"/> + <command name="glScissorIndexedvOES"/> + <command name="glDepthRangeArrayfvOES"/> + <command name="glDepthRangeIndexedfOES"/> + <command name="glGetFloati_vOES"/> + <command name="glEnableiOES"/> + <command name="glDisableiOES"/> + <command name="glIsEnablediOES"/> + </require> + </extension> <extension name="GL_OML_interlace" supported="gl"> <require> <enum name="GL_INTERLACE_OML"/> @@ -44516,6 +46105,11 @@ typedef unsigned int GLhandleARB; </require> </extension> <extension name="GL_OVR_multiview2" supported="gl|gles2"/> + <extension name="GL_OVR_multiview_multisampled_render_to_texture" supported="gles2"> + <require> + <command name="glFramebufferTextureMultisampleMultiviewOVR"/> + </require> + </extension> <extension name="GL_PGI_misc_hints" supported="gl"> <require> <enum name="GL_PREFER_DOUBLEBUFFER_HINT_PGI"/> |