chromium/third_party/khronos/GLES2/gl2.h

#ifndef __gles2_gl2_h_
#define __gles2_gl2_h_

#ifdef __cplusplus
extern "C" {
#endif

/*
** Copyright (c) 2013-2018 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
**   https://github.com/KhronosGroup/OpenGL-Registry
*/

/* Chromium-specific GLES2 declarations */
#include <GLES2/gl2chromium.h>

#include <GLES2/gl2platform.h>

#ifndef GL_APIENTRYP
#define GL_APIENTRYP
#endif

#ifndef GL_GLES_PROTOTYPES
#define GL_GLES_PROTOTYPES
#endif

/* Generated on date 20190911 */

/* Generated C header for:
 * API: gles2
 * Profile: common
 * Versions considered: 2\.[0-9]
 * 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
#include <KHR/khrplatform.h>
GLbyte;
GLclampf;
GLfixed;
GLshort;
GLushort;
GLvoid;
GLsync;
GLint64;
GLuint64;
GLenum;
GLuint;
GLchar;
GLfloat;
GLsizeiptr;
GLintptr;
GLbitfield;
GLint;
GLboolean;
GLsizei;
GLubyte;
#define GL_DEPTH_BUFFER_BIT
#define GL_STENCIL_BUFFER_BIT
#define GL_COLOR_BUFFER_BIT
#define GL_FALSE
#define GL_TRUE
#define GL_POINTS
#define GL_LINES
#define GL_LINE_LOOP
#define GL_LINE_STRIP
#define GL_TRIANGLES
#define GL_TRIANGLE_STRIP
#define GL_TRIANGLE_FAN
#define GL_ZERO
#define GL_ONE
#define GL_SRC_COLOR
#define GL_ONE_MINUS_SRC_COLOR
#define GL_SRC_ALPHA
#define GL_ONE_MINUS_SRC_ALPHA
#define GL_DST_ALPHA
#define GL_ONE_MINUS_DST_ALPHA
#define GL_DST_COLOR
#define GL_ONE_MINUS_DST_COLOR
#define GL_SRC_ALPHA_SATURATE
#define GL_FUNC_ADD
#define GL_BLEND_EQUATION
#define GL_BLEND_EQUATION_RGB
#define GL_BLEND_EQUATION_ALPHA
#define GL_FUNC_SUBTRACT
#define GL_FUNC_REVERSE_SUBTRACT
#define GL_BLEND_DST_RGB
#define GL_BLEND_SRC_RGB
#define GL_BLEND_DST_ALPHA
#define GL_BLEND_SRC_ALPHA
#define GL_CONSTANT_COLOR
#define GL_ONE_MINUS_CONSTANT_COLOR
#define GL_CONSTANT_ALPHA
#define GL_ONE_MINUS_CONSTANT_ALPHA
#define GL_BLEND_COLOR
#define GL_ARRAY_BUFFER
#define GL_ELEMENT_ARRAY_BUFFER
#define GL_ARRAY_BUFFER_BINDING
#define GL_ELEMENT_ARRAY_BUFFER_BINDING
#define GL_STREAM_DRAW
#define GL_STATIC_DRAW
#define GL_DYNAMIC_DRAW
#define GL_BUFFER_SIZE
#define GL_BUFFER_USAGE
#define GL_CURRENT_VERTEX_ATTRIB
#define GL_FRONT
#define GL_BACK
#define GL_FRONT_AND_BACK
#define GL_TEXTURE_2D
#define GL_CULL_FACE
#define GL_BLEND
#define GL_DITHER
#define GL_STENCIL_TEST
#define GL_DEPTH_TEST
#define GL_SCISSOR_TEST
#define GL_POLYGON_OFFSET_FILL
#define GL_SAMPLE_ALPHA_TO_COVERAGE
#define GL_SAMPLE_COVERAGE
#define GL_NO_ERROR
#define GL_INVALID_ENUM
#define GL_INVALID_VALUE
#define GL_INVALID_OPERATION
#define GL_OUT_OF_MEMORY
#define GL_CW
#define GL_CCW
#define GL_LINE_WIDTH
#define GL_ALIASED_POINT_SIZE_RANGE
#define GL_ALIASED_LINE_WIDTH_RANGE
#define GL_CULL_FACE_MODE
#define GL_FRONT_FACE
#define GL_DEPTH_RANGE
#define GL_DEPTH_WRITEMASK
#define GL_DEPTH_CLEAR_VALUE
#define GL_DEPTH_FUNC
#define GL_STENCIL_CLEAR_VALUE
#define GL_STENCIL_FUNC
#define GL_STENCIL_FAIL
#define GL_STENCIL_PASS_DEPTH_FAIL
#define GL_STENCIL_PASS_DEPTH_PASS
#define GL_STENCIL_REF
#define GL_STENCIL_VALUE_MASK
#define GL_STENCIL_WRITEMASK
#define GL_STENCIL_BACK_FUNC
#define GL_STENCIL_BACK_FAIL
#define GL_STENCIL_BACK_PASS_DEPTH_FAIL
#define GL_STENCIL_BACK_PASS_DEPTH_PASS
#define GL_STENCIL_BACK_REF
#define GL_STENCIL_BACK_VALUE_MASK
#define GL_STENCIL_BACK_WRITEMASK
#define GL_VIEWPORT
#define GL_SCISSOR_BOX
#define GL_COLOR_CLEAR_VALUE
#define GL_COLOR_WRITEMASK
#define GL_UNPACK_ALIGNMENT
#define GL_PACK_ALIGNMENT
#define GL_MAX_TEXTURE_SIZE
#define GL_MAX_VIEWPORT_DIMS
#define GL_SUBPIXEL_BITS
#define GL_RED_BITS
#define GL_GREEN_BITS
#define GL_BLUE_BITS
#define GL_ALPHA_BITS
#define GL_DEPTH_BITS
#define GL_STENCIL_BITS
#define GL_POLYGON_OFFSET_UNITS
#define GL_POLYGON_OFFSET_FACTOR
#define GL_TEXTURE_BINDING_2D
#define GL_SAMPLE_BUFFERS
#define GL_SAMPLES
#define GL_SAMPLE_COVERAGE_VALUE
#define GL_SAMPLE_COVERAGE_INVERT
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS
#define GL_COMPRESSED_TEXTURE_FORMATS
#define GL_DONT_CARE
#define GL_FASTEST
#define GL_NICEST
#define GL_GENERATE_MIPMAP_HINT
#define GL_BYTE
#define GL_UNSIGNED_BYTE
#define GL_SHORT
#define GL_UNSIGNED_SHORT
#define GL_INT
#define GL_UNSIGNED_INT
#define GL_FLOAT
#define GL_FIXED
#define GL_DEPTH_COMPONENT
#define GL_ALPHA
#define GL_RGB
#define GL_RGBA
#define GL_LUMINANCE
#define GL_LUMINANCE_ALPHA
#define GL_UNSIGNED_SHORT_4_4_4_4
#define GL_UNSIGNED_SHORT_5_5_5_1
#define GL_UNSIGNED_SHORT_5_6_5
#define GL_FRAGMENT_SHADER
#define GL_VERTEX_SHADER
#define GL_MAX_VERTEX_ATTRIBS
#define GL_MAX_VERTEX_UNIFORM_VECTORS
#define GL_MAX_VARYING_VECTORS
#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
#define GL_MAX_TEXTURE_IMAGE_UNITS
#define GL_MAX_FRAGMENT_UNIFORM_VECTORS
#define GL_SHADER_TYPE
#define GL_DELETE_STATUS
#define GL_LINK_STATUS
#define GL_VALIDATE_STATUS
#define GL_ATTACHED_SHADERS
#define GL_ACTIVE_UNIFORMS
#define GL_ACTIVE_UNIFORM_MAX_LENGTH
#define GL_ACTIVE_ATTRIBUTES
#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH
#define GL_SHADING_LANGUAGE_VERSION
#define GL_CURRENT_PROGRAM
#define GL_NEVER
#define GL_LESS
#define GL_EQUAL
#define GL_LEQUAL
#define GL_GREATER
#define GL_NOTEQUAL
#define GL_GEQUAL
#define GL_ALWAYS
#define GL_KEEP
#define GL_REPLACE
#define GL_INCR
#define GL_DECR
#define GL_INVERT
#define GL_INCR_WRAP
#define GL_DECR_WRAP
#define GL_VENDOR
#define GL_RENDERER
#define GL_VERSION
#define GL_EXTENSIONS
#define GL_NEAREST
#define GL_LINEAR
#define GL_NEAREST_MIPMAP_NEAREST
#define GL_LINEAR_MIPMAP_NEAREST
#define GL_NEAREST_MIPMAP_LINEAR
#define GL_LINEAR_MIPMAP_LINEAR
#define GL_TEXTURE_MAG_FILTER
#define GL_TEXTURE_MIN_FILTER
#define GL_TEXTURE_WRAP_S
#define GL_TEXTURE_WRAP_T
#define GL_TEXTURE
#define GL_TEXTURE_CUBE_MAP
#define GL_TEXTURE_BINDING_CUBE_MAP
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE
#define GL_TEXTURE0
#define GL_TEXTURE1
#define GL_TEXTURE2
#define GL_TEXTURE3
#define GL_TEXTURE4
#define GL_TEXTURE5
#define GL_TEXTURE6
#define GL_TEXTURE7
#define GL_TEXTURE8
#define GL_TEXTURE9
#define GL_TEXTURE10
#define GL_TEXTURE11
#define GL_TEXTURE12
#define GL_TEXTURE13
#define GL_TEXTURE14
#define GL_TEXTURE15
#define GL_TEXTURE16
#define GL_TEXTURE17
#define GL_TEXTURE18
#define GL_TEXTURE19
#define GL_TEXTURE20
#define GL_TEXTURE21
#define GL_TEXTURE22
#define GL_TEXTURE23
#define GL_TEXTURE24
#define GL_TEXTURE25
#define GL_TEXTURE26
#define GL_TEXTURE27
#define GL_TEXTURE28
#define GL_TEXTURE29
#define GL_TEXTURE30
#define GL_TEXTURE31
#define GL_ACTIVE_TEXTURE
#define GL_REPEAT
#define GL_CLAMP_TO_EDGE
#define GL_MIRRORED_REPEAT
#define GL_FLOAT_VEC2
#define GL_FLOAT_VEC3
#define GL_FLOAT_VEC4
#define GL_INT_VEC2
#define GL_INT_VEC3
#define GL_INT_VEC4
#define GL_BOOL
#define GL_BOOL_VEC2
#define GL_BOOL_VEC3
#define GL_BOOL_VEC4
#define GL_FLOAT_MAT2
#define GL_FLOAT_MAT3
#define GL_FLOAT_MAT4
#define GL_SAMPLER_2D
#define GL_SAMPLER_CUBE
#define GL_VERTEX_ATTRIB_ARRAY_ENABLED
#define GL_VERTEX_ATTRIB_ARRAY_SIZE
#define GL_VERTEX_ATTRIB_ARRAY_STRIDE
#define GL_VERTEX_ATTRIB_ARRAY_TYPE
#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
#define GL_VERTEX_ATTRIB_ARRAY_POINTER
#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
#define GL_IMPLEMENTATION_COLOR_READ_TYPE
#define GL_IMPLEMENTATION_COLOR_READ_FORMAT
#define GL_COMPILE_STATUS
#define GL_INFO_LOG_LENGTH
#define GL_SHADER_SOURCE_LENGTH
#define GL_SHADER_COMPILER
#define GL_SHADER_BINARY_FORMATS
#define GL_NUM_SHADER_BINARY_FORMATS
#define GL_LOW_FLOAT
#define GL_MEDIUM_FLOAT
#define GL_HIGH_FLOAT
#define GL_LOW_INT
#define GL_MEDIUM_INT
#define GL_HIGH_INT
#define GL_FRAMEBUFFER
#define GL_RENDERBUFFER
#define GL_RGBA4
#define GL_RGB5_A1
#define GL_RGB565
#define GL_DEPTH_COMPONENT16
#define GL_STENCIL_INDEX8
#define GL_RENDERBUFFER_WIDTH
#define GL_RENDERBUFFER_HEIGHT
#define GL_RENDERBUFFER_INTERNAL_FORMAT
#define GL_RENDERBUFFER_RED_SIZE
#define GL_RENDERBUFFER_GREEN_SIZE
#define GL_RENDERBUFFER_BLUE_SIZE
#define GL_RENDERBUFFER_ALPHA_SIZE
#define GL_RENDERBUFFER_DEPTH_SIZE
#define GL_RENDERBUFFER_STENCIL_SIZE
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
#define GL_COLOR_ATTACHMENT0
#define GL_DEPTH_ATTACHMENT
#define GL_STENCIL_ATTACHMENT
#define GL_NONE
#define GL_FRAMEBUFFER_COMPLETE
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS
#define GL_FRAMEBUFFER_UNSUPPORTED
#define GL_FRAMEBUFFER_BINDING
#define GL_RENDERBUFFER_BINDING
#define GL_MAX_RENDERBUFFER_SIZE
#define GL_INVALID_FRAMEBUFFER_OPERATION
PFNGLACTIVETEXTUREPROC;
PFNGLATTACHSHADERPROC;
PFNGLBINDATTRIBLOCATIONPROC;
PFNGLBINDBUFFERPROC;
PFNGLBINDFRAMEBUFFERPROC;
PFNGLBINDRENDERBUFFERPROC;
PFNGLBINDTEXTUREPROC;
PFNGLBLENDCOLORPROC;
PFNGLBLENDEQUATIONPROC;
PFNGLBLENDEQUATIONSEPARATEPROC;
PFNGLBLENDFUNCPROC;
PFNGLBLENDFUNCSEPARATEPROC;
PFNGLBUFFERDATAPROC;
PFNGLBUFFERSUBDATAPROC;
PFNGLCHECKFRAMEBUFFERSTATUSPROC;
PFNGLCLEARPROC;
PFNGLCLEARCOLORPROC;
PFNGLCLEARDEPTHFPROC;
PFNGLCLEARSTENCILPROC;
PFNGLCOLORMASKPROC;
PFNGLCOMPILESHADERPROC;
PFNGLCOMPRESSEDTEXIMAGE2DPROC;
PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC;
PFNGLCOPYTEXIMAGE2DPROC;
PFNGLCOPYTEXSUBIMAGE2DPROC;
PFNGLCREATEPROGRAMPROC;
PFNGLCREATESHADERPROC;
PFNGLCULLFACEPROC;
PFNGLDELETEBUFFERSPROC;
PFNGLDELETEFRAMEBUFFERSPROC;
PFNGLDELETEPROGRAMPROC;
PFNGLDELETERENDERBUFFERSPROC;
PFNGLDELETESHADERPROC;
PFNGLDELETETEXTURESPROC;
PFNGLDEPTHFUNCPROC;
PFNGLDEPTHMASKPROC;
PFNGLDEPTHRANGEFPROC;
PFNGLDETACHSHADERPROC;
PFNGLDISABLEPROC;
PFNGLDISABLEVERTEXATTRIBARRAYPROC;
PFNGLDRAWARRAYSPROC;
PFNGLDRAWELEMENTSPROC;
PFNGLENABLEPROC;
PFNGLENABLEVERTEXATTRIBARRAYPROC;
PFNGLFINISHPROC;
PFNGLFLUSHPROC;
PFNGLFRAMEBUFFERRENDERBUFFERPROC;
PFNGLFRAMEBUFFERTEXTURE2DPROC;
PFNGLFRONTFACEPROC;
PFNGLGENBUFFERSPROC;
PFNGLGENERATEMIPMAPPROC;
PFNGLGENFRAMEBUFFERSPROC;
PFNGLGENRENDERBUFFERSPROC;
PFNGLGENTEXTURESPROC;
PFNGLGETACTIVEATTRIBPROC;
PFNGLGETACTIVEUNIFORMPROC;
PFNGLGETATTACHEDSHADERSPROC;
PFNGLGETATTRIBLOCATIONPROC;
PFNGLGETBOOLEANVPROC;
PFNGLGETBUFFERPARAMETERIVPROC;
PFNGLGETERRORPROC;
PFNGLGETFLOATVPROC;
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC;
PFNGLGETINTEGERVPROC;
PFNGLGETPROGRAMIVPROC;
PFNGLGETPROGRAMINFOLOGPROC;
PFNGLGETRENDERBUFFERPARAMETERIVPROC;
PFNGLGETSHADERIVPROC;
PFNGLGETSHADERINFOLOGPROC;
PFNGLGETSHADERPRECISIONFORMATPROC;
PFNGLGETSHADERSOURCEPROC;
PFNGLGETSTRINGPROC;
PFNGLGETTEXPARAMETERFVPROC;
PFNGLGETTEXPARAMETERIVPROC;
PFNGLGETUNIFORMFVPROC;
PFNGLGETUNIFORMIVPROC;
PFNGLGETUNIFORMLOCATIONPROC;
PFNGLGETVERTEXATTRIBFVPROC;
PFNGLGETVERTEXATTRIBIVPROC;
PFNGLGETVERTEXATTRIBPOINTERVPROC;
PFNGLHINTPROC;
PFNGLISBUFFERPROC;
PFNGLISENABLEDPROC;
PFNGLISFRAMEBUFFERPROC;
PFNGLISPROGRAMPROC;
PFNGLISRENDERBUFFERPROC;
PFNGLISSHADERPROC;
PFNGLISTEXTUREPROC;
PFNGLLINEWIDTHPROC;
PFNGLLINKPROGRAMPROC;
PFNGLPIXELSTOREIPROC;
PFNGLPOLYGONOFFSETPROC;
PFNGLREADPIXELSPROC;
PFNGLRELEASESHADERCOMPILERPROC;
PFNGLRENDERBUFFERSTORAGEPROC;
PFNGLSAMPLECOVERAGEPROC;
PFNGLSCISSORPROC;
PFNGLSHADERBINARYPROC;
PFNGLSHADERSOURCEPROC;
PFNGLSTENCILFUNCPROC;
PFNGLSTENCILFUNCSEPARATEPROC;
PFNGLSTENCILMASKPROC;
PFNGLSTENCILMASKSEPARATEPROC;
PFNGLSTENCILOPPROC;
PFNGLSTENCILOPSEPARATEPROC;
PFNGLTEXIMAGE2DPROC;
PFNGLTEXPARAMETERFPROC;
PFNGLTEXPARAMETERFVPROC;
PFNGLTEXPARAMETERIPROC;
PFNGLTEXPARAMETERIVPROC;
PFNGLTEXSUBIMAGE2DPROC;
PFNGLUNIFORM1FPROC;
PFNGLUNIFORM1FVPROC;
PFNGLUNIFORM1IPROC;
PFNGLUNIFORM1IVPROC;
PFNGLUNIFORM2FPROC;
PFNGLUNIFORM2FVPROC;
PFNGLUNIFORM2IPROC;
PFNGLUNIFORM2IVPROC;
PFNGLUNIFORM3FPROC;
PFNGLUNIFORM3FVPROC;
PFNGLUNIFORM3IPROC;
PFNGLUNIFORM3IVPROC;
PFNGLUNIFORM4FPROC;
PFNGLUNIFORM4FVPROC;
PFNGLUNIFORM4IPROC;
PFNGLUNIFORM4IVPROC;
PFNGLUNIFORMMATRIX2FVPROC;
PFNGLUNIFORMMATRIX3FVPROC;
PFNGLUNIFORMMATRIX4FVPROC;
PFNGLUSEPROGRAMPROC;
PFNGLVALIDATEPROGRAMPROC;
PFNGLVERTEXATTRIB1FPROC;
PFNGLVERTEXATTRIB1FVPROC;
PFNGLVERTEXATTRIB2FPROC;
PFNGLVERTEXATTRIB2FVPROC;
PFNGLVERTEXATTRIB3FPROC;
PFNGLVERTEXATTRIB3FVPROC;
PFNGLVERTEXATTRIB4FPROC;
PFNGLVERTEXATTRIB4FVPROC;
PFNGLVERTEXATTRIBPOINTERPROC;
PFNGLVIEWPORTPROC;
#if GL_GLES_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 */

#ifdef __cplusplus
}
#endif

#endif