diff --git a/include/GLES/glext_angle.h b/include/GLES/glext_angle.h index 21f811fbd..2f8ae9208 100644 --- a/include/GLES/glext_angle.h +++ b/include/GLES/glext_angle.h @@ -12,6 +12,12 @@ // clang-format off +#ifndef GL_ANGLE_explicit_context_gles1 +#define GL_ANGLE_explicit_context_gles1 +typedef void *GLeglContext; +#include "glext_explicit_context_autogen.inc" +#endif /* GL_ANGLE_explicit_context_gles1 */ + // clang-format on #endif // INCLUDE_GLES_GLEXT_ANGLE_H_ diff --git a/include/GLES/glext_explicit_context_autogen.inc b/include/GLES/glext_explicit_context_autogen.inc new file mode 100644 index 000000000..bc4709b75 --- /dev/null +++ b/include/GLES/glext_explicit_context_autogen.inc @@ -0,0 +1,260 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml. +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// glext_explicit_context_autogen.inc: +// Function declarations for the EGL_ANGLE_explicit_context extension + +typedef void (GL_APIENTRYP PFNGLALPHAFUNCCONTEXTANGLE)(GLeglContext ctx, GLenum func, GLfloat ref); +typedef void (GL_APIENTRYP PFNGLALPHAFUNCXCONTEXTANGLE)(GLeglContext ctx, GLenum func, GLfixed ref); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORXCONTEXTANGLE)(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXCONTEXTANGLE)(GLeglContext ctx, GLfixed depth); +typedef void (GL_APIENTRYP PFNGLCLIENTACTIVETEXTURECONTEXTANGLE)(GLeglContext ctx, GLenum texture); +typedef void (GL_APIENTRYP PFNGLCLIPPLANEFCONTEXTANGLE)(GLeglContext ctx, GLenum p, const GLfloat *eqn); +typedef void (GL_APIENTRYP PFNGLCLIPPLANEXCONTEXTANGLE)(GLeglContext ctx, GLenum plane, const GLfixed *equation); +typedef void (GL_APIENTRYP PFNGLCOLOR4FCONTEXTANGLE)(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCOLOR4UBCONTEXTANGLE)(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +typedef void (GL_APIENTRYP PFNGLCOLOR4XCONTEXTANGLE)(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (GL_APIENTRYP PFNGLCOLORPOINTERCONTEXTANGLE)(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXCONTEXTANGLE)(GLeglContext ctx, GLfixed n, GLfixed f); +typedef void (GL_APIENTRYP PFNGLDISABLECLIENTSTATECONTEXTANGLE)(GLeglContext ctx, GLenum array); +typedef void (GL_APIENTRYP PFNGLENABLECLIENTSTATECONTEXTANGLE)(GLeglContext ctx, GLenum array); +typedef void (GL_APIENTRYP PFNGLFOGFCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLFOGFVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLFOGXCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLFOGXVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfixed *param); +typedef void (GL_APIENTRYP PFNGLFRUSTUMFCONTEXTANGLE)(GLeglContext ctx, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLFRUSTUMXCONTEXTANGLE)(GLeglContext ctx, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFCONTEXTANGLE)(GLeglContext ctx, GLenum plane, GLfloat *equation); +typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXCONTEXTANGLE)(GLeglContext ctx, GLenum plane, GLfixed *equation); +typedef void (GL_APIENTRYP PFNGLGETFIXEDVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETLIGHTFVCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETLIGHTXVCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETMATERIALFVCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETMATERIALXVCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLGETTEXENVFVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXENVIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXENVXVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfixed *params); +typedef void (GL_APIENTRYP PFNGLLIGHTMODELFCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLLIGHTMODELFVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLLIGHTMODELXCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfixed *param); +typedef void (GL_APIENTRYP PFNGLLIGHTFCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLLIGHTFVCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLLIGHTXCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLLIGHTXVCONTEXTANGLE)(GLeglContext ctx, GLenum light, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHXCONTEXTANGLE)(GLeglContext ctx, GLfixed width); +typedef void (GL_APIENTRYP PFNGLLOADIDENTITYCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLLOADMATRIXFCONTEXTANGLE)(GLeglContext ctx, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLLOADMATRIXXCONTEXTANGLE)(GLeglContext ctx, const GLfixed *m); +typedef void (GL_APIENTRYP PFNGLLOGICOPCONTEXTANGLE)(GLeglContext ctx, GLenum opcode); +typedef void (GL_APIENTRYP PFNGLMATERIALFCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLMATERIALFVCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLMATERIALXCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLMATERIALXVCONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum pname, const GLfixed *param); +typedef void (GL_APIENTRYP PFNGLMATRIXMODECONTEXTANGLE)(GLeglContext ctx, GLenum mode); +typedef void (GL_APIENTRYP PFNGLMULTMATRIXFCONTEXTANGLE)(GLeglContext ctx, const GLfloat *m); +typedef void (GL_APIENTRYP PFNGLMULTMATRIXXCONTEXTANGLE)(GLeglContext ctx, const GLfixed *m); +typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4FCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XCONTEXTANGLE)(GLeglContext ctx, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +typedef void (GL_APIENTRYP PFNGLNORMAL3FCONTEXTANGLE)(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz); +typedef void (GL_APIENTRYP PFNGLNORMAL3XCONTEXTANGLE)(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz); +typedef void (GL_APIENTRYP PFNGLNORMALPOINTERCONTEXTANGLE)(GLeglContext ctx, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLORTHOFCONTEXTANGLE)(GLeglContext ctx, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLORTHOXCONTEXTANGLE)(GLeglContext ctx, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERFCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLPOINTSIZECONTEXTANGLE)(GLeglContext ctx, GLfloat size); +typedef void (GL_APIENTRYP PFNGLPOINTSIZEXCONTEXTANGLE)(GLeglContext ctx, GLfixed size); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXCONTEXTANGLE)(GLeglContext ctx, GLfixed factor, GLfixed units); +typedef void (GL_APIENTRYP PFNGLPOPMATRIXCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLPUSHMATRIXCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLROTATEFCONTEXTANGLE)(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLROTATEXCONTEXTANGLE)(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXCONTEXTANGLE)(GLeglContext ctx, GLclampx value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCALEFCONTEXTANGLE)(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLSCALEXCONTEXTANGLE)(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); +typedef void (GL_APIENTRYP PFNGLSHADEMODELCONTEXTANGLE)(GLeglContext ctx, GLenum mode); +typedef void (GL_APIENTRYP PFNGLTEXCOORDPOINTERCONTEXTANGLE)(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLTEXENVFCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXENVFVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXENVICONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXENVIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXENVXCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLTEXENVXVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLTRANSLATEFCONTEXTANGLE)(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLTRANSLATEXCONTEXTANGLE)(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); +typedef void (GL_APIENTRYP PFNGLVERTEXPOINTERCONTEXTANGLE)(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint renderbuffer); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESCONTEXTANGLE)(GLeglContext ctx, GLuint matrixpaletteindex); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESCONTEXTANGLE)(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); +typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESCONTEXTANGLE)(GLeglContext ctx, const GLfloat *coords); +typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESCONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height); +typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESCONTEXTANGLE)(GLeglContext ctx, const GLint *coords); +typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESCONTEXTANGLE)(GLeglContext ctx, GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); +typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESCONTEXTANGLE)(GLeglContext ctx, const GLshort *coords); +typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESCONTEXTANGLE)(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); +typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESCONTEXTANGLE)(GLeglContext ctx, const GLfixed *coords); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed *params); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESCONTEXTANGLE)(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLPOINTSIZEPOINTEROESCONTEXTANGLE)(GLeglContext ctx, GLenum type, GLsizei stride, const void *pointer); +typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESCONTEXTANGLE)(GLeglContext ctx, GLfixed *mantissa, GLint *exponent); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXGENFOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXGENFVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXGENIOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXGENIVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXGENXOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed param); +typedef void (GL_APIENTRYP PFNGLTEXGENXVOESCONTEXTANGLE)(GLeglContext ctx, GLenum coord, GLenum pname, const GLfixed *params); +typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESCONTEXTANGLE)(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GL_API void GL_APIENTRY glAlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref); +GL_API void GL_APIENTRY glAlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref); +GL_API void GL_APIENTRY glClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GL_API void GL_APIENTRY glClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth); +GL_API void GL_APIENTRY glClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +GL_API void GL_APIENTRY glClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn); +GL_API void GL_APIENTRY glClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation); +GL_API void GL_APIENTRY glColor4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_API void GL_APIENTRY glColor4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +GL_API void GL_APIENTRY glColor4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GL_API void GL_APIENTRY glColorPointerContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glDepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glDisableClientStateContextANGLE(GLeglContext ctx, GLenum array); +GL_API void GL_APIENTRY glEnableClientStateContextANGLE(GLeglContext ctx, GLenum array); +GL_API void GL_APIENTRY glFogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glFogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glFogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glFogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glFrustumfContextANGLE(GLeglContext ctx, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +GL_API void GL_APIENTRY glFrustumxContextANGLE(GLeglContext ctx, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glGetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation); +GL_API void GL_APIENTRY glGetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation); +GL_API void GL_APIENTRY glGetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetLightfvContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glGetLightxvContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetMaterialfvContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glGetMaterialxvContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params); +GL_API void GL_APIENTRY glGetTexEnvfvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glGetTexEnvivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetTexEnvxvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glGetTexParameterxvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed *params); +GL_API void GL_APIENTRY glLightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glLightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glLightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glLightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glLightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glLightfvContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glLightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glLightxvContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glLineWidthxContextANGLE(GLeglContext ctx, GLfixed width); +GL_API void GL_APIENTRY glLoadIdentityContextANGLE(GLeglContext ctx); +GL_API void GL_APIENTRY glLoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +GL_API void GL_APIENTRY glLoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +GL_API void GL_APIENTRY glLogicOpContextANGLE(GLeglContext ctx, GLenum opcode); +GL_API void GL_APIENTRY glMaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glMaterialfvContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glMaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glMaterialxvContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, const GLfixed *param); +GL_API void GL_APIENTRY glMatrixModeContextANGLE(GLeglContext ctx, GLenum mode); +GL_API void GL_APIENTRY glMultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +GL_API void GL_APIENTRY glMultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +GL_API void GL_APIENTRY glMultiTexCoord4fContextANGLE(GLeglContext ctx, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GL_API void GL_APIENTRY glMultiTexCoord4xContextANGLE(GLeglContext ctx, GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GL_API void GL_APIENTRY glNormal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz); +GL_API void GL_APIENTRY glNormal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz); +GL_API void GL_APIENTRY glNormalPointerContextANGLE(GLeglContext ctx, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glOrthofContextANGLE(GLeglContext ctx, GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +GL_API void GL_APIENTRY glOrthoxContextANGLE(GLeglContext ctx, GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GL_API void GL_APIENTRY glPointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glPointParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glPointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glPointParameterxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glPointSizeContextANGLE(GLeglContext ctx, GLfloat size); +GL_API void GL_APIENTRY glPointSizexContextANGLE(GLeglContext ctx, GLfixed size); +GL_API void GL_APIENTRY glPolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units); +GL_API void GL_APIENTRY glPopMatrixContextANGLE(GLeglContext ctx); +GL_API void GL_APIENTRY glPushMatrixContextANGLE(GLeglContext ctx); +GL_API void GL_APIENTRY glRotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GL_API void GL_APIENTRY glRotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glSampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert); +GL_API void GL_APIENTRY glScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +GL_API void GL_APIENTRY glScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glShadeModelContextANGLE(GLeglContext ctx, GLenum mode); +GL_API void GL_APIENTRY glTexCoordPointerContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glTexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glTexEnvfvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glTexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +GL_API void GL_APIENTRY glTexEnvivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); +GL_API void GL_APIENTRY glTexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexEnvxvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glTexParameterxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexParameterxvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glTranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +GL_API void GL_APIENTRY glTranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); +GL_API void GL_APIENTRY glVertexPointerContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glBindFramebufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer); +GL_API void GL_APIENTRY glBindRenderbufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer); +GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target); +GL_API void GL_APIENTRY glCurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex); +GL_API void GL_APIENTRY glDeleteFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *framebuffers); +GL_API void GL_APIENTRY glDeleteRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers); +GL_API void GL_APIENTRY glDrawTexfOESContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); +GL_API void GL_APIENTRY glDrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords); +GL_API void GL_APIENTRY glDrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height); +GL_API void GL_APIENTRY glDrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords); +GL_API void GL_APIENTRY glDrawTexsOESContextANGLE(GLeglContext ctx, GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); +GL_API void GL_APIENTRY glDrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords); +GL_API void GL_APIENTRY glDrawTexxOESContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); +GL_API void GL_APIENTRY glDrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords); +GL_API void GL_APIENTRY glFramebufferRenderbufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_API void GL_APIENTRY glFramebufferTexture2DOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_API void GL_APIENTRY glGenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers); +GL_API void GL_APIENTRY glGenRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers); +GL_API void GL_APIENTRY glGenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target); +GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetTexGenfvOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat *params); +GL_API void GL_APIENTRY glGetTexGenivOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint *params); +GL_API void GL_APIENTRY glGetTexGenxvOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed *params); +GL_API GLboolean GL_APIENTRY glIsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer); +GL_API GLboolean GL_APIENTRY glIsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer); +GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx); +GL_API void GL_APIENTRY glMatrixIndexPointerOESContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_API void GL_APIENTRY glPointSizePointerOESContextANGLE(GLeglContext ctx, GLenum type, GLsizei stride, const void *pointer); +GL_API GLbitfield GL_APIENTRY glQueryMatrixxOESContextANGLE(GLeglContext ctx, GLfixed *mantissa, GLint *exponent); +GL_API void GL_APIENTRY glRenderbufferStorageOESContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_API void GL_APIENTRY glTexGenfOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat param); +GL_API void GL_APIENTRY glTexGenfvOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, const GLfloat *params); +GL_API void GL_APIENTRY glTexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param); +GL_API void GL_APIENTRY glTexGenivOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, const GLint *params); +GL_API void GL_APIENTRY glTexGenxOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed param); +GL_API void GL_APIENTRY glTexGenxvOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, const GLfixed *params); +GL_API void GL_APIENTRY glWeightPointerOESContextANGLE(GLeglContext ctx, GLint size, GLenum type, GLsizei stride, const void *pointer); +#endif \ No newline at end of file diff --git a/include/GLES2/gl2ext_angle.h b/include/GLES2/gl2ext_angle.h index fc5a4bf35..4764dda3b 100644 --- a/include/GLES2/gl2ext_angle.h +++ b/include/GLES2/gl2ext_angle.h @@ -546,6 +546,14 @@ GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewSideBySideANGLE(GLenum #define GL_SAMPLER_2D_RECT_ANGLE 0x8B63 #endif /* GL_ANGLE_texture_rectangle */ +#ifndef GL_ANGLE_explicit_context +#define GL_ANGLE_explicit_context +typedef void *GLeglContext; +#include "gl2ext_explicit_context_autogen.inc" +#include "../GLES3/gl3ext_explicit_context_autogen.inc" +#include "../GLES3/gl31ext_explicit_context_autogen.inc" +#endif /* GL_ANGLE_explicit_context */ + // clang-format on #endif // INCLUDE_GLES2_GL2EXT_ANGLE_H_ diff --git a/include/GLES2/gl2ext_explicit_context_autogen.inc b/include/GLES2/gl2ext_explicit_context_autogen.inc new file mode 100644 index 000000000..84131122c --- /dev/null +++ b/include/GLES2/gl2ext_explicit_context_autogen.inc @@ -0,0 +1,610 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml. +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// gl2ext_explicit_context_autogen.inc: +// Function declarations for the EGL_ANGLE_explicit_context extension + +typedef void (GL_APIENTRYP PFNGLACTIVETEXTURECONTEXTANGLE)(GLeglContext ctx, GLenum texture); +typedef void (GL_APIENTRYP PFNGLATTACHSHADERCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint index, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint framebuffer); +typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLBINDTEXTURECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint texture); +typedef void (GL_APIENTRYP PFNGLBLENDCOLORCONTEXTANGLE)(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONCONTEXTANGLE)(GLeglContext ctx, GLenum mode); +typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATECONTEXTANGLE)(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCCONTEXTANGLE)(GLeglContext ctx, GLenum sfactor, GLenum dfactor); +typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATECONTEXTANGLE)(GLeglContext ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (GL_APIENTRYP PFNGLBUFFERDATACONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATACONTEXTANGLE)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLCLEARCONTEXTANGLE)(GLeglContext ctx, GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLCLEARCOLORCONTEXTANGLE)(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFCONTEXTANGLE)(GLeglContext ctx, GLfloat d); +typedef void (GL_APIENTRYP PFNGLCLEARSTENCILCONTEXTANGLE)(GLeglContext ctx, GLint s); +typedef void (GL_APIENTRYP PFNGLCOLORMASKCONTEXTANGLE)(GLeglContext ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +typedef void (GL_APIENTRYP PFNGLCOMPILESHADERCONTEXTANGLE)(GLeglContext ctx, GLuint shader); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMCONTEXTANGLE)(GLeglContext ctx); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERCONTEXTANGLE)(GLeglContext ctx, GLenum type); +typedef void (GL_APIENTRYP PFNGLCULLFACECONTEXTANGLE)(GLeglContext ctx, GLenum mode); +typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint program); +typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLDELETESHADERCONTEXTANGLE)(GLeglContext ctx, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDELETETEXTURESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *textures); +typedef void (GL_APIENTRYP PFNGLDEPTHFUNCCONTEXTANGLE)(GLeglContext ctx, GLenum func); +typedef void (GL_APIENTRYP PFNGLDEPTHMASKCONTEXTANGLE)(GLeglContext ctx, GLboolean flag); +typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFCONTEXTANGLE)(GLeglContext ctx, GLfloat n, GLfloat f); +typedef void (GL_APIENTRYP PFNGLDETACHSHADERCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint shader); +typedef void (GL_APIENTRYP PFNGLDISABLECONTEXTANGLE)(GLeglContext ctx, GLenum cap); +typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYCONTEXTANGLE)(GLeglContext ctx, GLuint index); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLint first, GLsizei count); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENABLECONTEXTANGLE)(GLeglContext ctx, GLenum cap); +typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYCONTEXTANGLE)(GLeglContext ctx, GLuint index); +typedef void (GL_APIENTRYP PFNGLFINISHCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLFLUSHCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (GL_APIENTRYP PFNGLFRONTFACECONTEXTANGLE)(GLeglContext ctx, GLenum mode); +typedef void (GL_APIENTRYP PFNGLGENBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *buffers); +typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *framebuffers); +typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *renderbuffers); +typedef void (GL_APIENTRYP PFNGLGENTEXTURESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *textures); +typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONCONTEXTANGLE)(GLeglContext ctx, GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETERRORCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLGETFLOATVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLfloat *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGCONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATCONTEXTANGLE)(GLeglContext ctx, GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCECONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVCONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLenum pname, GLint *params); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGCONTEXTANGLE)(GLeglContext ctx, GLenum name); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONCONTEXTANGLE)(GLeglContext ctx, GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, void **pointer); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLHINTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum mode); +typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERCONTEXTANGLE)(GLeglContext ctx, GLuint buffer); +typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDCONTEXTANGLE)(GLeglContext ctx, GLenum cap); +typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERCONTEXTANGLE)(GLeglContext ctx, GLuint framebuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint program); +typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERCONTEXTANGLE)(GLeglContext ctx, GLuint renderbuffer); +typedef GLboolean (GL_APIENTRYP PFNGLISSHADERCONTEXTANGLE)(GLeglContext ctx, GLuint shader); +typedef GLboolean (GL_APIENTRYP PFNGLISTEXTURECONTEXTANGLE)(GLeglContext ctx, GLuint texture); +typedef void (GL_APIENTRYP PFNGLLINEWIDTHCONTEXTANGLE)(GLeglContext ctx, GLfloat width); +typedef void (GL_APIENTRYP PFNGLLINKPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint program); +typedef void (GL_APIENTRYP PFNGLPIXELSTOREICONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCONTEXTANGLE)(GLeglContext ctx, GLfloat factor, GLfloat units); +typedef void (GL_APIENTRYP PFNGLREADPIXELSCONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGECONTEXTANGLE)(GLeglContext ctx, GLfloat value, GLboolean invert); +typedef void (GL_APIENTRYP PFNGLSCISSORCONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSHADERBINARYCONTEXTANGLE)(GLeglContext ctx, GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLSHADERSOURCECONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCCONTEXTANGLE)(GLeglContext ctx, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATECONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKCONTEXTANGLE)(GLeglContext ctx, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATECONTEXTANGLE)(GLeglContext ctx, GLenum face, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILOPCONTEXTANGLE)(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass); +typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATECONTEXTANGLE)(GLeglContext ctx, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLfloat *params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERICONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FCONTEXTANGLE)(GLeglContext ctx, GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM1ICONTEXTANGLE)(GLeglContext ctx, GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1IVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FCONTEXTANGLE)(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2ICONTEXTANGLE)(GLeglContext ctx, GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2IVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FCONTEXTANGLE)(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3ICONTEXTANGLE)(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3IVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FCONTEXTANGLE)(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4ICONTEXTANGLE)(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4IVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint program); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLfloat x); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLfloat *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLVIEWPORTCONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESCONTEXTANGLE)(GLeglContext ctx, GLuint array); +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLECONTEXTANGLE)(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRCONTEXTANGLE)(GLeglContext ctx, GLDEBUGPROCKHR callback, const void *userParam); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRCONTEXTANGLE)(GLeglContext ctx, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRCONTEXTANGLE)(GLeglContext ctx, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *fences); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLECONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLenum *bufs); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLECONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLeglImageOES image); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLeglImageOES image); +typedef void (GL_APIENTRYP PFNGLENDQUERYEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLFINISHFENCENVCONTEXTANGLE)(GLeglContext ctx, GLuint fence); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLGENFENCESNVCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *fences); +typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, void **params); +typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRCONTEXTANGLE)(GLeglContext ctx, GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVCONTEXTANGLE)(GLeglContext ctx, GLuint fence, GLenum pname, GLint *params); +typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRCONTEXTANGLE)(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRCONTEXTANGLE)(GLeglContext ctx, const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRCONTEXTANGLE)(GLeglContext ctx, GLenum pname, void **params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLuint64 *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLECONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLint *params); +typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTCONTEXTANGLE)(GLeglContext ctx, GLsizei length, const GLchar *marker); +typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVCONTEXTANGLE)(GLeglContext ctx, GLuint fence); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTCONTEXTANGLE)(GLeglContext ctx, GLuint id); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESCONTEXTANGLE)(GLeglContext ctx, GLuint array); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum access); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRCONTEXTANGLE)(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRCONTEXTANGLE)(GLeglContext ctx, const void *ptr, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLint length); +typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRCONTEXTANGLE)(GLeglContext ctx, GLenum source, GLuint id, GLsizei length, const GLchar *message); +typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTCONTEXTANGLE)(GLeglContext ctx, GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum target); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTCONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLSETFENCENVCONTEXTANGLE)(GLeglContext ctx, GLuint fence, GLenum condition); +typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVCONTEXTANGLE)(GLeglContext ctx, GLuint fence); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLuint divisor); +typedef void (GL_APIENTRYP PFNGLBINDUNIFORMLOCATIONCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, const GLchar* name); +typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLenum components); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLenum matrixMode, const GLfloat * matrix); +typedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLenum matrixMode); +typedef GLuint (GL_APIENTRYP PFNGLGENPATHSCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei range); +typedef void (GL_APIENTRYP PFNGLDELETEPATHSCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint first, GLsizei range); +typedef GLboolean (GL_APIENTRYP PFNGLISPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path); +typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void* coords); +typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum pname, GLfloat value); +typedef void (GL_APIENTRYP PFNGLPATHPARAMETERICHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum pname, GLfloat * value); +typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum pname, GLint * value); +typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLenum func, GLint ref, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum fillMode, GLuint mask); +typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLint reference, GLuint mask); +typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum coverMode); +typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum coverMode); +typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); +typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint path, GLint reference, GLuint mask, GLenum coverMode); +typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +typedef void (GL_APIENTRYP PFNGLBINDFRAGMENTINPUTLOCATIONCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint programs, GLint location, const GLchar * name); +typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENCHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint internalFormat, GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); +typedef void (GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint xoffset, GLint yoffset, GLint x, GLint y, GLint width, GLint height, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDCOPYTEXTURECHROMIUMCONTEXTANGLE)(GLeglContext ctx, GLuint sourceId, GLuint destId); +typedef void (GL_APIENTRYP PFNGLREQUESTEXTENSIONANGLECONTEXTANGLE)(GLeglContext ctx, const GLchar * name); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLboolean * params); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETFLOATVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * data); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETSHADERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint shader, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, void ** pointer); +typedef void (GL_APIENTRYP PFNGLREADPIXELSROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei * length, GLsizei * columns, GLsizei * rows, void * pixels); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLfloat * params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLint * params); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLsizei xoffset, GLsizei yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, void ** params); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLint * data); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * data); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLint64 * data); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * params); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLuint pname, GLsizei bufSize, const GLint * param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat * param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLboolean * data); +typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLuint index, GLsizei bufSize, GLsizei * length, GLfloat * val); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVROBUSTANGLEROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, void ** params); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei * length, GLsizei * columns, GLsizei * rows, void * data); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLfloat * params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLint * params); +typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLuint * params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLint * param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint * param); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VROBUSTANGLECONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint64 * params); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWLAYEREDANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWSIDEBYSIDEANGLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei numViews, const GLint * viewportOffsets); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +GL_APICALL void GL_APIENTRY glAttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glBindAttribLocationContextANGLE(GLeglContext ctx, GLuint program, GLuint index, const GLchar *name); +GL_APICALL void GL_APIENTRY glBindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer); +GL_APICALL void GL_APIENTRY glBindRenderbufferContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glBindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture); +GL_APICALL void GL_APIENTRY glBlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glBlendEquationContextANGLE(GLeglContext ctx, GLenum mode); +GL_APICALL void GL_APIENTRY glBlendEquationSeparateContextANGLE(GLeglContext ctx, GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor); +GL_APICALL void GL_APIENTRY glBlendFuncSeparateContextANGLE(GLeglContext ctx, GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +GL_APICALL void GL_APIENTRY glBufferDataContextANGLE(GLeglContext ctx, GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GL_APICALL void GL_APIENTRY glBufferSubDataContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glClearContextANGLE(GLeglContext ctx, GLbitfield mask); +GL_APICALL void GL_APIENTRY glClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GL_APICALL void GL_APIENTRY glClearDepthfContextANGLE(GLeglContext ctx, GLfloat d); +GL_APICALL void GL_APIENTRY glClearStencilContextANGLE(GLeglContext ctx, GLint s); +GL_APICALL void GL_APIENTRY glColorMaskContextANGLE(GLeglContext ctx, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GL_APICALL void GL_APIENTRY glCompileShaderContextANGLE(GLeglContext ctx, GLuint shader); +GL_APICALL void GL_APIENTRY glCompressedTexImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCopyTexImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GL_APICALL void GL_APIENTRY glCopyTexSubImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLuint GL_APIENTRY glCreateProgramContextANGLE(GLeglContext ctx); +GL_APICALL GLuint GL_APIENTRY glCreateShaderContextANGLE(GLeglContext ctx, GLenum type); +GL_APICALL void GL_APIENTRY glCullFaceContextANGLE(GLeglContext ctx, GLenum mode); +GL_APICALL void GL_APIENTRY glDeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers); +GL_APICALL void GL_APIENTRY glDeleteFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glDeleteProgramContextANGLE(GLeglContext ctx, GLuint program); +GL_APICALL void GL_APIENTRY glDeleteRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glDeleteShaderContextANGLE(GLeglContext ctx, GLuint shader); +GL_APICALL void GL_APIENTRY glDeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures); +GL_APICALL void GL_APIENTRY glDepthFuncContextANGLE(GLeglContext ctx, GLenum func); +GL_APICALL void GL_APIENTRY glDepthMaskContextANGLE(GLeglContext ctx, GLboolean flag); +GL_APICALL void GL_APIENTRY glDepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f); +GL_APICALL void GL_APIENTRY glDetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glDisableContextANGLE(GLeglContext ctx, GLenum cap); +GL_APICALL void GL_APIENTRY glDisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +GL_APICALL void GL_APIENTRY glDrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count); +GL_APICALL void GL_APIENTRY glDrawElementsContextANGLE(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glEnableContextANGLE(GLeglContext ctx, GLenum cap); +GL_APICALL void GL_APIENTRY glEnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +GL_APICALL void GL_APIENTRY glFinishContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glFlushContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glFramebufferRenderbufferContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glFramebufferTexture2DContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glFrontFaceContextANGLE(GLeglContext ctx, GLenum mode); +GL_APICALL void GL_APIENTRY glGenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers); +GL_APICALL void GL_APIENTRY glGenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers); +GL_APICALL void GL_APIENTRY glGenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers); +GL_APICALL void GL_APIENTRY glGenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures); +GL_APICALL void GL_APIENTRY glGenerateMipmapContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glGetActiveAttribContextANGLE(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetActiveUniformContextANGLE(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GL_APICALL void GL_APIENTRY glGetAttachedShadersContextANGLE(GLeglContext ctx, GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +GL_APICALL GLint GL_APIENTRY glGetAttribLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data); +GL_APICALL void GL_APIENTRY glGetBufferParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL GLenum GL_APIENTRY glGetErrorContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glGetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data); +GL_APICALL void GL_APIENTRY glGetProgramInfoLogContextANGLE(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetProgramivContextANGLE(GLeglContext ctx, GLuint program, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetShaderInfoLogContextANGLE(GLeglContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormatContextANGLE(GLeglContext ctx, GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +GL_APICALL void GL_APIENTRY glGetShaderSourceContextANGLE(GLeglContext ctx, GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +GL_APICALL void GL_APIENTRY glGetShaderivContextANGLE(GLeglContext ctx, GLuint shader, GLenum pname, GLint *params); +GL_APICALL const GLubyte *GL_APIENTRY glGetStringContextANGLE(GLeglContext ctx, GLenum name); +GL_APICALL void GL_APIENTRY glGetTexParameterfvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetTexParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL GLint GL_APIENTRY glGetUniformLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetUniformfvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetUniformivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointervContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, void **pointer); +GL_APICALL void GL_APIENTRY glGetVertexAttribfvContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribivContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glHintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode); +GL_APICALL GLboolean GL_APIENTRY glIsBufferContextANGLE(GLeglContext ctx, GLuint buffer); +GL_APICALL GLboolean GL_APIENTRY glIsEnabledContextANGLE(GLeglContext ctx, GLenum cap); +GL_APICALL GLboolean GL_APIENTRY glIsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer); +GL_APICALL GLboolean GL_APIENTRY glIsProgramContextANGLE(GLeglContext ctx, GLuint program); +GL_APICALL GLboolean GL_APIENTRY glIsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer); +GL_APICALL GLboolean GL_APIENTRY glIsShaderContextANGLE(GLeglContext ctx, GLuint shader); +GL_APICALL GLboolean GL_APIENTRY glIsTextureContextANGLE(GLeglContext ctx, GLuint texture); +GL_APICALL void GL_APIENTRY glLineWidthContextANGLE(GLeglContext ctx, GLfloat width); +GL_APICALL void GL_APIENTRY glLinkProgramContextANGLE(GLeglContext ctx, GLuint program); +GL_APICALL void GL_APIENTRY glPixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glPolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units); +GL_APICALL void GL_APIENTRY glReadPixelsContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); +GL_APICALL void GL_APIENTRY glReleaseShaderCompilerContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glRenderbufferStorageContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert); +GL_APICALL void GL_APIENTRY glScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glShaderBinaryContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderSourceContextANGLE(GLeglContext ctx, GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +GL_APICALL void GL_APIENTRY glStencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFuncSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskContextANGLE(GLeglContext ctx, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glStencilOpSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GL_APICALL void GL_APIENTRY glTexImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glTexParameterfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glTexParameterfvContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLfloat *params); +GL_APICALL void GL_APIENTRY glTexParameteriContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glTexParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, const GLint *params); +GL_APICALL void GL_APIENTRY glTexSubImage2DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GL_APICALL void GL_APIENTRY glUniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glUniform1fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glUniform1ivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glUniform2fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glUniform2ivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glUniform3fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glUniform3ivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniform4fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glUniform4fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glUniform4ivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUseProgramContextANGLE(GLeglContext ctx, GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgramContextANGLE(GLeglContext ctx, GLuint program); +GL_APICALL void GL_APIENTRY glVertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x); +GL_APICALL void GL_APIENTRY glVertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glVertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glVertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glVertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v); +GL_APICALL void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glBeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glBindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +GL_APICALL void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, 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 glDebugMessageCallbackKHRContextANGLE(GLeglContext ctx, GLDEBUGPROCKHR callback, const void *userParam); +GL_APICALL void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GL_APICALL void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GL_APICALL void GL_APIENTRY glDeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences); +GL_APICALL void GL_APIENTRY glDeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays); +GL_APICALL void GL_APIENTRY glDiscardFramebufferEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments); +GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, GLenum target, GLeglImageOES image); +GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, GLenum target, GLeglImageOES image); +GL_APICALL void GL_APIENTRY glEndQueryEXTContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glFinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); +GL_APICALL void GL_APIENTRY glGenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences); +GL_APICALL void GL_APIENTRY glGenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glGenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays); +GL_APICALL void GL_APIENTRY glGetBufferPointervOESContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, void **params); +GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHRContextANGLE(GLeglContext ctx, GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GL_APICALL void GL_APIENTRY glGetFenceivNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum pname, GLint *params); +GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glGetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params); +GL_APICALL void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint64 *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +GL_APICALL void GL_APIENTRY glGetnUniformfvEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetnUniformivEXTContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLint *params); +GL_APICALL void GL_APIENTRY glInsertEventMarkerEXTContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *marker); +GL_APICALL GLboolean GL_APIENTRY glIsFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +GL_APICALL GLboolean GL_APIENTRY glIsQueryEXTContextANGLE(GLeglContext ctx, GLuint id); +GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +GL_APICALL void *GL_APIENTRY glMapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access); +GL_APICALL void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, const void *ptr, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glPopDebugGroupKHRContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glPopGroupMarkerEXTContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLint length); +GL_APICALL void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, GLenum source, GLuint id, GLsizei length, const GLchar *message); +GL_APICALL void GL_APIENTRY glPushGroupMarkerEXTContextANGLE(GLeglContext ctx, GLsizei length, const GLchar *marker); +GL_APICALL void GL_APIENTRY glQueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target); +GL_APICALL void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition); +GL_APICALL GLboolean GL_APIENTRY glTestFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +GL_APICALL void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GL_APICALL void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage3DEXTContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor); +GL_APICALL void GL_APIENTRY glBindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, GLuint program, GLint location, const GLchar* name); +GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components); +GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUMContextANGLE(GLeglContext ctx, GLenum matrixMode, const GLfloat * matrix); +GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUMContextANGLE(GLeglContext ctx, GLenum matrixMode); +GL_APICALL GLuint GL_APIENTRY glGenPathsCHROMIUMContextANGLE(GLeglContext ctx, GLsizei range); +GL_APICALL void GL_APIENTRY glDeletePathsCHROMIUMContextANGLE(GLeglContext ctx, GLuint first, GLsizei range); +GL_APICALL GLboolean GL_APIENTRY glIsPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path); +GL_APICALL void GL_APIENTRY glPathCommandsCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLsizei numCommands, const GLubyte * commands, GLsizei numCoords, GLenum coordType, const void* coords); +GL_APICALL void GL_APIENTRY glPathParameterfCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum pname, GLfloat value); +GL_APICALL void GL_APIENTRY glPathParameteriCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glGetPathParameterfvCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum pname, GLfloat * value); +GL_APICALL void GL_APIENTRY glGetPathParameterivCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum pname, GLint * value); +GL_APICALL void GL_APIENTRY glPathStencilFuncCHROMIUMContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFillPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum fillMode, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilStrokePathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLint reference, GLuint mask); +GL_APICALL void GL_APIENTRY glCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum coverMode); +GL_APICALL void GL_APIENTRY glCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum coverMode); +GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode); +GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLint reference, GLuint mask, GLenum coverMode); +GL_APICALL void GL_APIENTRY glCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPath, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glStencilFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, GLsizei numPaths, GLenum pathNameType, const void * paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat * transformValues); +GL_APICALL void GL_APIENTRY glBindFragmentInputLocationCHROMIUMContextANGLE(GLeglContext ctx, GLuint programs, GLint location, const GLchar * name); +GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenCHROMIUMContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat * coeffs); +GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint internalFormat, GLenum destType, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); +GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, GLuint sourceId, GLint sourceLevel, GLenum destTarget, GLuint destId, GLint destLevel, GLint xoffset, GLint yoffset, GLint x, GLint y, GLint width, GLint height, GLboolean unpackFlipY, GLboolean unpackPremultiplyAlpha, GLboolean unpackUnmultiplyAlpha); +GL_APICALL void GL_APIENTRY glCompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, GLuint sourceId, GLuint destId); +GL_APICALL void GL_APIENTRY glRequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar * name); +GL_APICALL void GL_APIENTRY glGetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLboolean * params); +GL_APICALL void GL_APIENTRY glGetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetFloatvRobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetIntegervRobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * data); +GL_APICALL void GL_APIENTRY glGetProgramivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetShaderivRobustANGLEContextANGLE(GLeglContext ctx, GLuint shader, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetUniformivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, void ** pointer); +GL_APICALL void GL_APIENTRY glReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei * length, GLsizei * columns, GLsizei * rows, void * pixels); +GL_APICALL void GL_APIENTRY glTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +GL_APICALL void GL_APIENTRY glTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLfloat * params); +GL_APICALL void GL_APIENTRY glTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLint * params); +GL_APICALL void GL_APIENTRY glTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +GL_APICALL void GL_APIENTRY glTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +GL_APICALL void GL_APIENTRY glTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, const void * pixels); +GL_APICALL void GL_APIENTRY glCompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLsizei xoffset, GLsizei yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +GL_APICALL void GL_APIENTRY glCompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei dataSize, const GLvoid * data); +GL_APICALL void GL_APIENTRY glGetQueryivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glGetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, void ** params); +GL_APICALL void GL_APIENTRY glGetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLint * data); +GL_APICALL void GL_APIENTRY glGetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glGetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * data); +GL_APICALL void GL_APIENTRY glGetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLint64 * data); +GL_APICALL void GL_APIENTRY glGetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * params); +GL_APICALL void GL_APIENTRY glSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLuint pname, GLsizei bufSize, const GLint * param); +GL_APICALL void GL_APIENTRY glSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLfloat * param); +GL_APICALL void GL_APIENTRY glGetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLsizei bufSize, GLsizei * length, GLboolean * data); +GL_APICALL void GL_APIENTRY glGetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLuint index, GLsizei bufSize, GLsizei * length, GLfloat * val); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, GLenum pname, GLsizei bufSize, GLsizei * length, void ** params); +GL_APICALL void GL_APIENTRY glReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLsizei * length, GLsizei * columns, GLsizei * rows, void * data); +GL_APICALL void GL_APIENTRY glGetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLfloat * params); +GL_APICALL void GL_APIENTRY glGetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLint * params); +GL_APICALL void GL_APIENTRY glTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, const GLuint * params); +GL_APICALL void GL_APIENTRY glGetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLint * param); +GL_APICALL void GL_APIENTRY glSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, const GLuint * param); +GL_APICALL void GL_APIENTRY glGetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint * params); +GL_APICALL void GL_APIENTRY glGetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * params); +GL_APICALL void GL_APIENTRY glGetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLint64 * params); +GL_APICALL void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLsizei bufSize, GLsizei * length, GLuint64 * params); +GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewLayeredANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews); +GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewSideBySideANGLEContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei numViews, const GLint * viewportOffsets); +#endif diff --git a/include/GLES3/gl31ext_explicit_context_autogen.inc b/include/GLES3/gl31ext_explicit_context_autogen.inc new file mode 100644 index 000000000..8ec5065a9 --- /dev/null +++ b/include/GLES3/gl31ext_explicit_context_autogen.inc @@ -0,0 +1,148 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml. +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// gl31ext_explicit_context_autogen.inc: +// Function declarations for the EGL_ANGLE_explicit_context extension + +typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMCONTEXTANGLE)(GLeglContext ctx, GLuint pipeline, GLuint program); +typedef void (GL_APIENTRYP PFNGLBINDIMAGETEXTURECONTEXTANGLE)(GLeglContext ctx, GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINECONTEXTANGLE)(GLeglContext ctx, GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXBUFFERCONTEXTANGLE)(GLeglContext ctx, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVCONTEXTANGLE)(GLeglContext ctx, GLenum type, GLsizei count, const GLchar *const*strings); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTECONTEXTANGLE)(GLeglContext ctx, GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +typedef void (GL_APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTCONTEXTANGLE)(GLeglContext ctx, GLintptr indirect); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINDIRECTCONTEXTANGLE)(GLeglContext ctx, GLenum mode, const void *indirect); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINDIRECTCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLenum type, const void *indirect); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERICONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLGETBOOLEANI_VCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLboolean *data); +typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETMULTISAMPLEFVCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLuint index, GLfloat *val); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMINTERFACEIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGCONTEXTANGLE)(GLeglContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVCONTEXTANGLE)(GLeglContext ctx, GLuint pipeline, GLenum pname, GLint *params); +typedef GLuint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); +typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCENAMECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETTEXLEVELPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint *params); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINECONTEXTANGLE)(GLeglContext ctx, GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERCONTEXTANGLE)(GLeglContext ctx, GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLMEMORYBARRIERBYREGIONCONTEXTANGLE)(GLeglContext ctx, GLbitfield barriers); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1ICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2ICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3ICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4ICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLSAMPLEMASKICONTEXTANGLE)(GLeglContext ctx, GLuint maskNumber, GLbitfield mask); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESCONTEXTANGLE)(GLeglContext ctx, GLuint pipeline, GLbitfield stages, GLuint program); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINECONTEXTANGLE)(GLeglContext ctx, GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBBINDINGCONTEXTANGLE)(GLeglContext ctx, GLuint attribindex, GLuint bindingindex); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBFORMATCONTEXTANGLE)(GLeglContext ctx, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIFORMATCONTEXTANGLE)(GLeglContext ctx, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (GL_APIENTRYP PFNGLVERTEXBINDINGDIVISORCONTEXTANGLE)(GLeglContext ctx, GLuint bindingindex, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glActiveShaderProgramContextANGLE(GLeglContext ctx, GLuint pipeline, GLuint program); +GL_APICALL void GL_APIENTRY glBindImageTextureContextANGLE(GLeglContext ctx, GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +GL_APICALL void GL_APIENTRY glBindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +GL_APICALL void GL_APIENTRY glBindVertexBufferContextANGLE(GLeglContext ctx, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvContextANGLE(GLeglContext ctx, GLenum type, GLsizei count, const GLchar *const*strings); +GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *pipelines); +GL_APICALL void GL_APIENTRY glDispatchComputeContextANGLE(GLeglContext ctx, GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +GL_APICALL void GL_APIENTRY glDispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect); +GL_APICALL void GL_APIENTRY glDrawArraysIndirectContextANGLE(GLeglContext ctx, GLenum mode, const void *indirect); +GL_APICALL void GL_APIENTRY glDrawElementsIndirectContextANGLE(GLeglContext ctx, GLenum mode, GLenum type, const void *indirect); +GL_APICALL void GL_APIENTRY glFramebufferParameteriContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glGenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines); +GL_APICALL void GL_APIENTRY glGetBooleani_vContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLboolean *data); +GL_APICALL void GL_APIENTRY glGetFramebufferParameterivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetMultisamplefvContextANGLE(GLeglContext ctx, GLenum pname, GLuint index, GLfloat *val); +GL_APICALL void GL_APIENTRY glGetProgramInterfaceivContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GL_APICALL void GL_APIENTRY glGetProgramPipelineivContextANGLE(GLeglContext ctx, GLuint pipeline, GLenum pname, GLint *params); +GL_APICALL GLuint GL_APIENTRY glGetProgramResourceIndexContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); +GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetProgramResourceNameContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +GL_APICALL void GL_APIENTRY glGetProgramResourceivContextANGLE(GLeglContext ctx, GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterfvContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetTexLevelParameterivContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum pname, GLint *params); +GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +GL_APICALL void GL_APIENTRY glMemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers); +GL_APICALL void GL_APIENTRY glMemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers); +GL_APICALL void GL_APIENTRY glProgramUniform1fContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0); +GL_APICALL void GL_APIENTRY glProgramUniform1fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform1iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0); +GL_APICALL void GL_APIENTRY glProgramUniform1ivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform1uiContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glProgramUniform1uivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2fContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1); +GL_APICALL void GL_APIENTRY glProgramUniform2fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); +GL_APICALL void GL_APIENTRY glProgramUniform2ivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2uiContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glProgramUniform2uivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3fContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GL_APICALL void GL_APIENTRY glProgramUniform3fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform3iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GL_APICALL void GL_APIENTRY glProgramUniform3ivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3uiContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glProgramUniform3uivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4fContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GL_APICALL void GL_APIENTRY glProgramUniform4fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform4iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GL_APICALL void GL_APIENTRY glProgramUniform4ivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4uiContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glProgramUniform4uivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glSampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask); +GL_APICALL void GL_APIENTRY glTexStorage2DMultisampleContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GL_APICALL void GL_APIENTRY glUseProgramStagesContextANGLE(GLeglContext ctx, GLuint pipeline, GLbitfield stages, GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +GL_APICALL void GL_APIENTRY glVertexAttribBindingContextANGLE(GLeglContext ctx, GLuint attribindex, GLuint bindingindex); +GL_APICALL void GL_APIENTRY glVertexAttribFormatContextANGLE(GLeglContext ctx, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +GL_APICALL void GL_APIENTRY glVertexAttribIFormatContextANGLE(GLeglContext ctx, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GL_APICALL void GL_APIENTRY glVertexBindingDivisorContextANGLE(GLeglContext ctx, GLuint bindingindex, GLuint divisor); +#endif diff --git a/include/GLES3/gl3ext_explicit_context_autogen.inc b/include/GLES3/gl3ext_explicit_context_autogen.inc new file mode 100644 index 000000000..4e43879e3 --- /dev/null +++ b/include/GLES3/gl3ext_explicit_context_autogen.inc @@ -0,0 +1,220 @@ +// GENERATED FILE - DO NOT EDIT. +// Generated by generate_entry_points.py using data from gl.xml and gl_angle_ext.xml. +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// gl3ext_explicit_context_autogen.inc: +// Function declarations for the EGL_ANGLE_explicit_context extension + +typedef void (GL_APIENTRYP PFNGLBEGINQUERYCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx, GLenum primitiveMode); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERBASECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLuint buffer); +typedef void (GL_APIENTRYP PFNGLBINDBUFFERRANGECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLBINDSAMPLERCONTEXTANGLE)(GLeglContext ctx, GLuint unit, GLuint sampler); +typedef void (GL_APIENTRYP PFNGLBINDTRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYCONTEXTANGLE)(GLeglContext ctx, GLuint array); +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERCONTEXTANGLE)(GLeglContext ctx, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFICONTEXTANGLE)(GLeglContext ctx, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERFVCONTEXTANGLE)(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERIVCONTEXTANGLE)(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLint *value); +typedef void (GL_APIENTRYP PFNGLCLEARBUFFERUIVCONTEXTANGLE)(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLuint *value); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCCONTEXTANGLE)(GLeglContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DCONTEXTANGLE)(GLeglContext ctx, 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 PFNGLCOPYBUFFERSUBDATACONTEXTANGLE)(GLeglContext ctx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETESAMPLERSCONTEXTANGLE)(GLeglContext ctx, GLsizei count, const GLuint *samplers); +typedef void (GL_APIENTRYP PFNGLDELETESYNCCONTEXTANGLE)(GLeglContext ctx, GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, const GLenum *bufs); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSCONTEXTANGLE)(GLeglContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +typedef void (GL_APIENTRYP PFNGLENDQUERYCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLENDTRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx); +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCCONTEXTANGLE)(GLeglContext ctx, GLenum condition, GLbitfield flags); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (GL_APIENTRYP PFNGLGENQUERIESCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENSAMPLERSCONTEXTANGLE)(GLeglContext ctx, GLsizei count, GLuint *samplers); +typedef void (GL_APIENTRYP PFNGLGENTRANSFORMFEEDBACKSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSCONTEXTANGLE)(GLeglContext ctx, GLsizei n, GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMECONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMSIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERI64VCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, void **params); +typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATALOCATIONCONTEXTANGLE)(GLeglContext ctx, GLuint program, const GLchar *name); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64I_VCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VCONTEXTANGLE)(GLeglContext ctx, GLenum pname, GLint64 *data); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLuint index, GLint *data); +typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVCONTEXTANGLE)(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); +typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGICONTEXTANGLE)(GLeglContext ctx, GLenum name, GLuint index); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVCONTEXTANGLE)(GLeglContext ctx, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (GL_APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef GLuint (GL_APIENTRYP PFNGLGETUNIFORMBLOCKINDEXCONTEXTANGLE)(GLeglContext ctx, GLuint program, const GLchar *uniformBlockName); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMINDICESCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +typedef void (GL_APIENTRYP PFNGLGETUNIFORMUIVCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLint location, GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIIVCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIUIVCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLINVALIDATEFRAMEBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (GL_APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYCONTEXTANGLE)(GLeglContext ctx, GLuint id); +typedef GLboolean (GL_APIENTRYP PFNGLISSAMPLERCONTEXTANGLE)(GLeglContext ctx, GLuint sampler); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCCONTEXTANGLE)(GLeglContext ctx, GLsync sync); +typedef GLboolean (GL_APIENTRYP PFNGLISTRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx, GLuint id); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYCONTEXTANGLE)(GLeglContext ctx, GLuint array); +typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERICONTEXTANGLE)(GLeglContext ctx, GLuint program, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLREADBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum src); +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKCONTEXTANGLE)(GLeglContext ctx); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFCONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLfloat param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERFVCONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLfloat *param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERICONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIVCONTEXTANGLE)(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DCONTEXTANGLE)(GLeglContext ctx, 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 PFNGLTEXSTORAGE2DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DCONTEXTANGLE)(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DCONTEXTANGLE)(GLeglContext ctx, 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 PFNGLTRANSFORMFEEDBACKVARYINGSCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UICONTEXTANGLE)(GLeglContext ctx, GLint location, GLuint v0); +typedef void (GL_APIENTRYP PFNGLUNIFORM1UIVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UICONTEXTANGLE)(GLeglContext ctx, GLint location, GLuint v0, GLuint v1); +typedef void (GL_APIENTRYP PFNGLUNIFORM2UIVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UICONTEXTANGLE)(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (GL_APIENTRYP PFNGLUNIFORM3UIVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UICONTEXTANGLE)(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (GL_APIENTRYP PFNGLUNIFORM4UIVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMBLOCKBINDINGCONTEXTANGLE)(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVCONTEXTANGLE)(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFERCONTEXTANGLE)(GLeglContext ctx, GLenum target); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLuint divisor); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4ICONTEXTANGLE)(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4IVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLint *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UICONTEXTANGLE)(GLeglContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBI4UIVCONTEXTANGLE)(GLeglContext ctx, GLuint index, const GLuint *v); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBIPOINTERCONTEXTANGLE)(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (GL_APIENTRYP PFNGLWAITSYNCCONTEXTANGLE)(GLeglContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glBeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode); +GL_APICALL void GL_APIENTRY glBindBufferBaseContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindBufferRangeContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glBindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler); +GL_APICALL void GL_APIENTRY glBindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glBindVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +GL_APICALL void GL_APIENTRY glBlitFramebufferContextANGLE(GLeglContext ctx, 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 glClearBufferfiContextANGLE(GLeglContext ctx, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +GL_APICALL void GL_APIENTRY glClearBufferfvContextANGLE(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLfloat *value); +GL_APICALL void GL_APIENTRY glClearBufferivContextANGLE(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLint *value); +GL_APICALL void GL_APIENTRY glClearBufferuivContextANGLE(GLeglContext ctx, GLenum buffer, GLint drawbuffer, const GLuint *value); +GL_APICALL GLenum GL_APIENTRY glClientWaitSyncContextANGLE(GLeglContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glCompressedTexImage3DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DContextANGLE(GLeglContext ctx, 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 glCopyBufferSubDataContextANGLE(GLeglContext ctx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GL_APICALL void GL_APIENTRY glCopyTexSubImage3DContextANGLE(GLeglContext ctx, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glDeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteSamplersContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *samplers); +GL_APICALL void GL_APIENTRY glDeleteSyncContextANGLE(GLeglContext ctx, GLsync sync); +GL_APICALL void GL_APIENTRY glDeleteTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays); +GL_APICALL void GL_APIENTRY glDrawArraysInstancedContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +GL_APICALL void GL_APIENTRY glDrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedContextANGLE(GLeglContext ctx, GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +GL_APICALL void GL_APIENTRY glDrawRangeElementsContextANGLE(GLeglContext ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +GL_APICALL void GL_APIENTRY glEndQueryContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glEndTransformFeedbackContextANGLE(GLeglContext ctx); +GL_APICALL GLsync GL_APIENTRY glFenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length); +GL_APICALL void GL_APIENTRY glFramebufferTextureLayerContextANGLE(GLeglContext ctx, GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GL_APICALL void GL_APIENTRY glGenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glGenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers); +GL_APICALL void GL_APIENTRY glGenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glGenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockNameContextANGLE(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glGetActiveUniformBlockivContextANGLE(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetActiveUniformsivContextANGLE(GLeglContext ctx, GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetBufferParameteri64vContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetBufferPointervContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, void **params); +GL_APICALL GLint GL_APIENTRY glGetFragDataLocationContextANGLE(GLeglContext ctx, GLuint program, const GLchar *name); +GL_APICALL void GL_APIENTRY glGetInteger64i_vContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data); +GL_APICALL void GL_APIENTRY glGetIntegeri_vContextANGLE(GLeglContext ctx, GLenum target, GLuint index, GLint *data); +GL_APICALL void GL_APIENTRY glGetInternalformativContextANGLE(GLeglContext ctx, GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +GL_APICALL void GL_APIENTRY glGetProgramBinaryContextANGLE(GLeglContext ctx, GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GL_APICALL void GL_APIENTRY glGetQueryObjectuivContextANGLE(GLeglContext ctx, GLuint id, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glGetQueryivContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterfvContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetSamplerParameterivContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLint *params); +GL_APICALL const GLubyte *GL_APIENTRY glGetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index); +GL_APICALL void GL_APIENTRY glGetSyncivContextANGLE(GLeglContext ctx, GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GL_APICALL void GL_APIENTRY glGetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +GL_APICALL GLuint GL_APIENTRY glGetUniformBlockIndexContextANGLE(GLeglContext ctx, GLuint program, const GLchar *uniformBlockName); +GL_APICALL void GL_APIENTRY glGetUniformIndicesContextANGLE(GLeglContext ctx, GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +GL_APICALL void GL_APIENTRY glGetUniformuivContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLuint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIivContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetVertexAttribIuivContextANGLE(GLeglContext ctx, GLuint index, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glInvalidateFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments); +GL_APICALL void GL_APIENTRY glInvalidateSubFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLboolean GL_APIENTRY glIsQueryContextANGLE(GLeglContext ctx, GLuint id); +GL_APICALL GLboolean GL_APIENTRY glIsSamplerContextANGLE(GLeglContext ctx, GLuint sampler); +GL_APICALL GLboolean GL_APIENTRY glIsSyncContextANGLE(GLeglContext ctx, GLsync sync); +GL_APICALL GLboolean GL_APIENTRY glIsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id); +GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +GL_APICALL void *GL_APIENTRY glMapBufferRangeContextANGLE(GLeglContext ctx, GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glPauseTransformFeedbackContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glProgramBinaryContextANGLE(GLeglContext ctx, GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +GL_APICALL void GL_APIENTRY glProgramParameteriContextANGLE(GLeglContext ctx, GLuint program, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glReadBufferContextANGLE(GLeglContext ctx, GLenum src); +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glResumeTransformFeedbackContextANGLE(GLeglContext ctx); +GL_APICALL void GL_APIENTRY glSamplerParameterfContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glSamplerParameterfvContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLfloat *param); +GL_APICALL void GL_APIENTRY glSamplerParameteriContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glSamplerParameterivContextANGLE(GLeglContext ctx, GLuint sampler, GLenum pname, const GLint *param); +GL_APICALL void GL_APIENTRY glTexImage3DContextANGLE(GLeglContext ctx, 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 glTexStorage2DContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage3DContextANGLE(GLeglContext ctx, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GL_APICALL void GL_APIENTRY glTexSubImage3DContextANGLE(GLeglContext ctx, 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 glTransformFeedbackVaryingsContextANGLE(GLeglContext ctx, GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +GL_APICALL void GL_APIENTRY glUniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0); +GL_APICALL void GL_APIENTRY glUniform1uivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1); +GL_APICALL void GL_APIENTRY glUniform2uivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); +GL_APICALL void GL_APIENTRY glUniform3uivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniform4uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GL_APICALL void GL_APIENTRY glUniform4uivContextANGLE(GLeglContext ctx, GLint location, GLsizei count, const GLuint *value); +GL_APICALL void GL_APIENTRY glUniformBlockBindingContextANGLE(GLeglContext ctx, GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvContextANGLE(GLeglContext ctx, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL GLboolean GL_APIENTRY glUnmapBufferContextANGLE(GLeglContext ctx, GLenum target); +GL_APICALL void GL_APIENTRY glVertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor); +GL_APICALL void GL_APIENTRY glVertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v); +GL_APICALL void GL_APIENTRY glVertexAttribI4uiContextANGLE(GLeglContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GL_APICALL void GL_APIENTRY glVertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v); +GL_APICALL void GL_APIENTRY glVertexAttribIPointerContextANGLE(GLeglContext ctx, GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GL_APICALL void GL_APIENTRY glWaitSyncContextANGLE(GLeglContext ctx, GLsync sync, GLbitfield flags, GLuint64 timeout); +#endif diff --git a/scripts/generate_entry_points.py b/scripts/generate_entry_points.py index 6dc9a13eb..3a4948cc6 100755 --- a/scripts/generate_entry_points.py +++ b/scripts/generate_entry_points.py @@ -69,6 +69,10 @@ supported_extensions = sorted(angle_extensions + gles1_extensions + [ "GL_OES_vertex_array_object", ]) +# The EGL_ANGLE_explicit_context extension is generated differently from other extensions. +# Toggle generation here. +support_EGL_ANGLE_explicit_context = True + # This is a list of exceptions for entry points which don't want to have # the EVENT macro. This is required for some debug marker entry points. no_event_marker_exceptions_list = sorted([ @@ -170,14 +174,15 @@ EXPORTS """ template_entry_point_decl = """ANGLE_EXPORT {return_type}GL_APIENTRY {name}({params});""" +template_entry_point_decl = """ANGLE_EXPORT {return_type}GL_APIENTRY {name}{explicit_context_suffix}({explicit_context_param}{explicit_context_comma}{params});""" -template_entry_point_def = """{return_type}GL_APIENTRY {name}({params}) +template_entry_point_def = """{return_type}GL_APIENTRY {name}{explicit_context_suffix}({explicit_context_param}{explicit_context_comma}{params}) {{ {event_comment}EVENT("({format_params})"{comma_if_needed}{pass_params}); - Context *context = {context_getter}(); + Context *context = {context_getter}; if (context) - {{{packed_gl_enum_conversions} + {{{assert_explicit_context}{packed_gl_enum_conversions} context->gatherParams({internal_params}); if (context->skipValidation() || Validate{name}({validate_params})) @@ -208,13 +213,32 @@ context_gles_header = """// GENERATED FILE - DO NOT EDIT. context_gles_decl = """ {return_type} {name_lower_no_suffix}({internal_params}); \\""" -libgles_entry_point_def = """{return_type}GL_APIENTRY gl{name}({params}) +libgles_entry_point_def = """{return_type}GL_APIENTRY gl{name}{explicit_context_suffix}({explicit_context_param}{explicit_context_comma}{params}) {{ - return gl::{name}({internal_params}); + return gl::{name}{explicit_context_suffix}({explicit_context_internal_param}{explicit_context_comma}{internal_params}); }} """ -libgles_entry_point_export = """ {name}{spaces}@{ordinal}""" +libgles_entry_point_export = """ {name}{explicit_context_suffix}{spaces}@{ordinal}""" + +template_glext_explicit_context_inc = """// GENERATED FILE - DO NOT EDIT. +// Generated by {script_name} using data from {data_source_name}. +// +// Copyright {year} The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// +// gl{version}ext_explicit_context_autogen.inc: +// Function declarations for the EGL_ANGLE_explicit_context extension + +{function_pointers} +#ifdef GL_GLEXT_PROTOTYPES +{function_prototypes} +#endif +""" + +template_glext_function_pointer = """typedef {return_type}(GL_APIENTRYP PFN{name_upper}{explicit_context_suffix_upper})({explicit_context_param}{explicit_context_comma}{params});""" +template_glext_function_prototype = """{apicall} {return_type}GL_APIENTRY {name}{explicit_context_suffix}({explicit_context_param}{explicit_context_comma}{params});""" def script_relative(path): return os.path.join(os.path.dirname(sys.argv[0]), path) @@ -226,11 +250,16 @@ commands = root.find(".//commands[@namespace='GL']") with open(script_relative('entry_point_packed_gl_enums.json')) as f: cmd_packed_gl_enums = json.loads(f.read()) -def format_entry_point_decl(cmd_name, proto, params): +def format_entry_point_decl(cmd_name, proto, params, is_explicit_context): + comma_if_needed = ", " if len(params) > 0 else "" return template_entry_point_decl.format( name = cmd_name[2:], return_type = proto[:-len(cmd_name)], - params = ", ".join(params)) + params = ", ".join(params), + comma_if_needed = comma_if_needed, + explicit_context_suffix = "ContextANGLE" if is_explicit_context else "", + explicit_context_param = "GLeglContext ctx" if is_explicit_context else "", + explicit_context_comma = ", " if is_explicit_context and len(params) > 0 else "") def type_name_sep_index(param): space = param.rfind(" ") @@ -298,17 +327,19 @@ def default_return_value(cmd_name, return_type): return "" return "GetDefaultReturnValue()" -def get_context_getter_function(cmd_name): +def get_context_getter_function(cmd_name, is_explicit_context): if cmd_name == "glGetError": - return "GetGlobalContext" + return "GetGlobalContext()" + elif is_explicit_context: + return "static_cast(ctx)" else: - return "GetValidGlobalContext" + return "GetValidGlobalContext()" template_event_comment = """// Don't run an EVENT() macro on the EXT_debug_marker entry points. // It can interfere with the debug events being set by the caller. // """ -def format_entry_point_def(cmd_name, proto, params): +def format_entry_point_def(cmd_name, proto, params, is_explicit_context): packed_gl_enums = cmd_packed_gl_enums.get(cmd_name, {}) internal_params = [just_the_name_packed(param, packed_gl_enums) for param in params] packed_gl_enum_conversions = [] @@ -344,8 +375,13 @@ def format_entry_point_def(cmd_name, proto, params): format_params = ", ".join(format_params), return_if_needed = "" if default_return == "" else "return ", default_return_if_needed = "" if default_return == "" else "\n return " + default_return + ";\n", - context_getter = get_context_getter_function(cmd_name), - event_comment = event_comment) + context_getter = get_context_getter_function(cmd_name, is_explicit_context), + event_comment = event_comment, + explicit_context_suffix = "ContextANGLE" if is_explicit_context else "", + explicit_context_param = "GLeglContext ctx" if is_explicit_context else "", + explicit_context_comma = ", " if is_explicit_context and len(params) > 0 else "", + assert_explicit_context = "\nASSERT(context == GetValidGlobalContext());" + if is_explicit_context else "") def format_context_gles_decl(cmd_name, proto, params): packed_gl_enums = cmd_packed_gl_enums.get(cmd_name, {}) @@ -364,7 +400,7 @@ def format_context_gles_decl(cmd_name, proto, params): name_lower_no_suffix = name_lower_no_suffix, internal_params = internal_params) -def format_libgles_entry_point_def(cmd_name, proto, params): +def format_libgles_entry_point_def(cmd_name, proto, params, is_explicit_context): internal_params = [just_the_name(param) for param in params] return_type = proto[:-len(cmd_name)] @@ -372,20 +408,23 @@ def format_libgles_entry_point_def(cmd_name, proto, params): name = cmd_name[2:], return_type = return_type, params = ", ".join(params), - internal_params = ", ".join(internal_params) - ) + internal_params = ", ".join(internal_params), + explicit_context_suffix = "ContextANGLE" if is_explicit_context else "", + explicit_context_param = "GLeglContext ctx" if is_explicit_context else "", + explicit_context_comma = ", " if is_explicit_context and len(params) > 0 else "", + explicit_context_internal_param = "ctx" if is_explicit_context else "") -def format_libgles_entry_point_export(cmd_name, ordinal): +def format_libgles_entry_point_export(cmd_name, ordinal, is_explicit_context): return libgles_entry_point_export.format( name = cmd_name, ordinal = ordinal, - spaces = " "*(50 - len(cmd_name)) - ) + spaces = " "*(50 - len(cmd_name)), + explicit_context_suffix = "ContextANGLE" if is_explicit_context else "") def path_to(folder, file): return os.path.join(script_relative(".."), "src", folder, file) -def get_entry_points(all_commands, gles_commands, ordinal): +def get_entry_points(all_commands, gles_commands, ordinal, is_explicit_context): decls = [] defs = [] export_defs = [] @@ -400,12 +439,13 @@ def get_entry_points(all_commands, gles_commands, ordinal): param_text = ["".join(param.itertext()) for param in command.findall('param')] proto_text = "".join(proto.itertext()) + decls.append(format_entry_point_decl(cmd_name, proto_text, param_text, + is_explicit_context)) + defs.append(format_entry_point_def(cmd_name, proto_text, param_text, is_explicit_context)) - decls.append(format_entry_point_decl(cmd_name, proto_text, param_text)) - defs.append(format_entry_point_def(cmd_name, proto_text, param_text)) - - export_defs.append(format_libgles_entry_point_def(cmd_name, proto_text, param_text)) - exports.append(format_libgles_entry_point_export(cmd_name, ordinal)) + export_defs.append(format_libgles_entry_point_def(cmd_name, proto_text, param_text, + is_explicit_context)) + exports.append(format_libgles_entry_point_export(cmd_name, ordinal, is_explicit_context)) ordinal = ordinal + 1 return decls, defs, export_defs, exports @@ -428,6 +468,45 @@ def get_gles1_decls(all_commands, gles_commands): return decls +def get_glext_decls(all_commands, gles_commands, version, is_explicit_context): + glext_ptrs = [] + glext_protos = [] + is_gles1 = False + + if(version == ""): + is_gles1 = True + + for command in all_commands: + proto = command.find('proto') + cmd_name = proto.find('name').text + + if cmd_name not in gles_commands: + continue + + param_text = ["".join(param.itertext()) for param in command.findall('param')] + proto_text = "".join(proto.itertext()) + + return_type = proto_text[:-len(cmd_name)] + params = ", ".join(param_text) + + format_params = { + "apicall": "GL_API" if is_gles1 else "GL_APICALL", + "name": cmd_name, + "name_upper": cmd_name.upper(), + "return_type": return_type, + "params": params, + "explicit_context_comma": ", " if is_explicit_context and len(params) > 0 else "", + "explicit_context_suffix": "ContextANGLE" if is_explicit_context else "", + "explicit_context_suffix_upper": "CONTEXTANGLE" if is_explicit_context else "", + "explicit_context_param": "GLeglContext ctx" if is_explicit_context else ""} + + glext_ptrs.append(template_glext_function_pointer.format( + **format_params)) + glext_protos.append(template_glext_function_prototype.format( + **format_params)) + + return glext_ptrs, glext_protos + def write_file(annotation, comment, template, entry_points, suffix, includes, file): content = template.format( @@ -499,6 +578,24 @@ def write_context_api_decls(annotation, template, decls): out.write(content) out.close() +def write_glext_explicit_context_inc(version, ptrs, protos): + folder_version = version if version != "31" else "3" + + content = template_glext_explicit_context_inc.format( + script_name = os.path.basename(sys.argv[0]), + data_source_name = "gl.xml and gl_angle_ext.xml", + year = date.today().year, + version = version, + function_pointers = ptrs, + function_prototypes = protos) + + path = path_to("..\include\GLES{}".format(folder_version), + "gl{}ext_explicit_context_autogen.inc".format(version)) + + with open(path, "w") as out: + out.write(content) + out.close() + def append_angle_extensions(base_root): angle_ext_tree = etree.parse(script_relative('gl_angle_ext.xml')) angle_ext_root = angle_ext_tree.getroot() @@ -512,10 +609,32 @@ def append_angle_extensions(base_root): insertion_point.extend(extension) return base_root +class GLCommandNames: + def __init__(self): + self.command_names = {} + + def get_commands(self, version): + return self.command_names[version] + + def get_all_commands(self): + cmd_names = [] + # Combine all the version lists into a single list + for version, version_cmd_names in sorted(self.command_names.iteritems()): + cmd_names += version_cmd_names + + return cmd_names + + def add_commands(self, version, commands): + # Add key if it doesn't exist + if version not in self.command_names: + self.command_names[version] = [] + # Add the commands that aren't duplicates + self.command_names[version] += commands + root = append_angle_extensions(root) all_commands = root.findall('commands/command') -all_cmd_names = [] +all_cmd_names = GLCommandNames() template_header_includes = """#include #include """ @@ -552,12 +671,12 @@ for major_version, minor_version in [[2, 0], [3, 0], [3, 1], [1, 0]]: gles_commands = [cmd.attrib['name'] for cmd in root.findall(gles_xpath)] # Remove commands that have already been processed - gles_commands = [cmd for cmd in gles_commands if cmd not in all_cmd_names] + gles_commands = [cmd for cmd in gles_commands if cmd not in all_cmd_names.get_all_commands()] - all_cmd_names += gles_commands + all_cmd_names.add_commands(annotation, gles_commands) decls, defs, libgles_defs, libgles_exports = get_entry_points( - all_commands, gles_commands, ordinal_start) + all_commands, gles_commands, ordinal_start, False) # Increment the ordinal before inserting the version comment ordinal_start += len(libgles_exports) @@ -580,7 +699,7 @@ for major_version, minor_version in [[2, 0], [3, 0], [3, 1], [1, 0]]: header_includes += "\n#include \"common/platform.h\"\n" source_includes = template_sources_includes.format( - annotation.lower(), major_version,minor_if_not_zero) + annotation.lower(), major_version, minor_if_not_zero) write_file(annotation, comment, template_entry_point_header, "\n".join(decls), "h", header_includes, "gl.xml") @@ -631,16 +750,19 @@ for extension_name, ext_cmd_names in sorted(ext_data.iteritems()): # Detect and filter duplicate extensions. dupes = [] for ext_cmd in ext_cmd_names: - if ext_cmd in all_cmd_names: + if ext_cmd in all_cmd_names.get_all_commands(): dupes.append(ext_cmd) for dupe in dupes: ext_cmd_names.remove(dupe) - all_cmd_names += ext_cmd_names + if extension_name in gles1_extensions: + all_cmd_names.add_commands("glext", ext_cmd_names) + else: + all_cmd_names.add_commands("gl2ext", ext_cmd_names) decls, defs, libgles_defs, libgles_exports = get_entry_points( - all_commands, ext_cmd_names, ordinal_start) + all_commands, ext_cmd_names, ordinal_start, False) # Avoid writing out entry points defined by a prior extension. for dupe in dupes: @@ -667,6 +789,51 @@ for extension_name, ext_cmd_names in sorted(ext_data.iteritems()): if extension_name not in gles1_no_context_decl_extensions: gles1decls['exts'][extension_name] = get_gles1_decls(all_commands, ext_cmd_names) +# Special handling for EGL_ANGLE_explicit_context extension +if support_EGL_ANGLE_explicit_context: + comment = "\n// EGL_ANGLE_explicit_context" + extension_defs.append(comment) + extension_decls.append(comment) + libgles_ep_defs.append(comment) + libgles_ep_exports.append("\n ; EGL_ANGLE_explicit_context") + + # Get the explicit context entry points + decls, defs, libgles_defs, libgles_exports = get_entry_points(all_commands, + all_cmd_names.get_all_commands(), ordinal_start, True) + + # Append the explicit context entry points + extension_decls += decls + extension_defs += defs + libgles_ep_defs += libgles_defs + libgles_ep_exports += libgles_exports + + # Generate .inc files for extension function pointers and declarations + for major, minor in [[2, 0], [3, 0], [3, 1], [1, 0]]: + annotation = "{}_{}".format(major, minor) + + major_if_not_one = major if major != 1 else "" + minor_if_not_zero = minor if minor != 0 else "" + version = "{}{}".format(major_if_not_one, minor_if_not_zero) + + glext_ptrs, glext_protos = get_glext_decls(all_commands, + all_cmd_names.get_commands(annotation), version, True) + + glext_ext_ptrs = [] + glext_ext_protos = [] + + # Append extensions for 1.0 and 2.0 + if(annotation == "1_0"): + glext_ext_ptrs, glext_ext_protos = get_glext_decls(all_commands, + all_cmd_names.get_commands("glext"), version, True) + elif(annotation == "2_0"): + glext_ext_ptrs, glext_ext_protos = get_glext_decls(all_commands, + all_cmd_names.get_commands("gl2ext"), version, True) + + glext_ptrs += glext_ext_ptrs + glext_protos += glext_ext_protos + + write_glext_explicit_context_inc(version, "\n".join(glext_ptrs), "\n".join(glext_protos)) + header_includes = template_header_includes.format( major="", minor="") header_includes += """ @@ -693,7 +860,7 @@ write_file("ext", "extension", template_entry_point_source, write_context_api_decls("1_0", context_gles_header, gles1decls) -sorted_cmd_names = ["Invalid"] + [cmd[2:] for cmd in sorted(all_cmd_names)] +sorted_cmd_names = ["Invalid"] + [cmd[2:] for cmd in sorted(all_cmd_names.get_all_commands())] entry_points_enum = template_entry_points_enum_header.format( script_name = os.path.basename(sys.argv[0]), diff --git a/src/libANGLE/Caps.cpp b/src/libANGLE/Caps.cpp index dedb87dc0..fb719ff0a 100644 --- a/src/libANGLE/Caps.cpp +++ b/src/libANGLE/Caps.cpp @@ -238,7 +238,9 @@ Extensions::Extensions() textureRectangle(false), geometryShader(false), pointSizeArray(false), - textureCubeMap(false) + textureCubeMap(false), + explicitContextGles1(false), + explicitContext(false) { } @@ -832,6 +834,8 @@ const ExtensionInfoMap &GetExtensionInfoMap() map["GL_ANGLE_program_cache_control"] = esOnlyExtension(&Extensions::programCacheControl); map["GL_ANGLE_texture_rectangle"] = enableableExtension(&Extensions::textureRectangle); map["GL_EXT_geometry_shader"] = enableableExtension(&Extensions::geometryShader); + map["GL_ANGLE_explicit_context_gles1"] = enableableExtension(&Extensions::explicitContextGles1); + map["GL_ANGLE_explicit_context"] = enableableExtension(&Extensions::explicitContext); // GLES1 extensinos map["GL_OES_point_size_array"] = enableableExtension(&Extensions::pointSizeArray); map["GL_OES_texture_cube_map"] = enableableExtension(&Extensions::textureCubeMap); @@ -1391,7 +1395,8 @@ ClientExtensions::ClientExtensions() deviceCreationD3D11(false), x11Visual(false), experimentalPresentPath(false), - clientGetAllProcAddresses(false) + clientGetAllProcAddresses(false), + explicitContext(false) { } @@ -1416,6 +1421,7 @@ std::vector ClientExtensions::getStrings() const InsertExtensionString("EGL_ANGLE_x11_visual", x11Visual, &extensionStrings); InsertExtensionString("EGL_ANGLE_experimental_present_path", experimentalPresentPath, &extensionStrings); InsertExtensionString("EGL_KHR_client_get_all_proc_addresses", clientGetAllProcAddresses, &extensionStrings); + InsertExtensionString("EGL_ANGLE_explicit_context", explicitContext, &extensionStrings); // clang-format on return extensionStrings; diff --git a/src/libANGLE/Caps.h b/src/libANGLE/Caps.h index f527869a6..ed9dcf79b 100644 --- a/src/libANGLE/Caps.h +++ b/src/libANGLE/Caps.h @@ -410,6 +410,12 @@ struct Extensions bool pointSizeArray; // GL_OES_texture_cube_map bool textureCubeMap; + + // EGL_ANGLE_explicit_context GL subextensions + // GL_ANGLE_explicit_context_gles1 + bool explicitContextGles1; + // GL_ANGLE_explicit_context + bool explicitContext; }; struct ExtensionInfo @@ -823,6 +829,9 @@ struct ClientExtensions // EGL_KHR_client_get_all_proc_addresses bool clientGetAllProcAddresses; + + // EGL_ANGLE_explicit_context + bool explicitContext; }; } // namespace egl diff --git a/src/libANGLE/Context.cpp b/src/libANGLE/Context.cpp index 54bc41d01..1441f71b0 100644 --- a/src/libANGLE/Context.cpp +++ b/src/libANGLE/Context.cpp @@ -265,7 +265,8 @@ Context::Context(rx::EGLImplFactory *implFactory, TextureManager *shareTextures, MemoryProgramCache *memoryProgramCache, const egl::AttributeMap &attribs, - const egl::DisplayExtensions &displayExtensions) + const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions) : mState(reinterpret_cast(this), shareContext ? &shareContext->mState : nullptr, shareTextures, @@ -304,7 +305,7 @@ Context::Context(rx::EGLImplFactory *implFactory, mImplementation->setMemoryProgramCache(memoryProgramCache); bool robustResourceInit = GetRobustResourceInit(attribs); - initCaps(displayExtensions, robustResourceInit); + initCaps(displayExtensions, clientExtensions, robustResourceInit); initWorkarounds(); mGLState.initialize(this, GetDebug(attribs), GetBindGeneratesResource(attribs), @@ -3020,6 +3021,7 @@ bool Context::hasActiveTransformFeedback(GLuint program) const } Extensions Context::generateSupportedExtensions(const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions, bool robustResourceInit) const { Extensions supportedExtensions = mImplementation->getNativeExtensions(); @@ -3087,14 +3089,26 @@ Extensions Context::generateSupportedExtensions(const egl::DisplayExtensions &di // Enable the cache control query unconditionally. supportedExtensions.programCacheControl = true; + // Enable EGL_ANGLE_explicit_context subextensions + if (clientExtensions.explicitContext) + { + // GL_ANGLE_explicit_context_gles1 + supportedExtensions.explicitContextGles1 = true; + // GL_ANGLE_explicit_context + supportedExtensions.explicitContext = true; + } + return supportedExtensions; } -void Context::initCaps(const egl::DisplayExtensions &displayExtensions, bool robustResourceInit) +void Context::initCaps(const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions, + bool robustResourceInit) { mCaps = mImplementation->getNativeCaps(); - mSupportedExtensions = generateSupportedExtensions(displayExtensions, robustResourceInit); + mSupportedExtensions = + generateSupportedExtensions(displayExtensions, clientExtensions, robustResourceInit); mExtensions = mSupportedExtensions; mLimitations = mImplementation->getNativeLimitations(); diff --git a/src/libANGLE/Context.h b/src/libANGLE/Context.h index 5aa10d327..4a7dbe1a7 100644 --- a/src/libANGLE/Context.h +++ b/src/libANGLE/Context.h @@ -72,7 +72,8 @@ class Context final : angle::NonCopyable TextureManager *shareTextures, MemoryProgramCache *memoryProgramCache, const egl::AttributeMap &attribs, - const egl::DisplayExtensions &displayExtensions); + const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions); egl::Error onDestroy(const egl::Display *display); ~Context(); @@ -1493,8 +1494,11 @@ class Context final : angle::NonCopyable void initExtensionStrings(); Extensions generateSupportedExtensions(const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions, bool robustResourceInit) const; - void initCaps(const egl::DisplayExtensions &displayExtensions, bool robustResourceInit); + void initCaps(const egl::DisplayExtensions &displayExtensions, + const egl::ClientExtensions &clientExtensions, + bool robustResourceInit); void updateCaps(); void initWorkarounds(); diff --git a/src/libANGLE/Display.cpp b/src/libANGLE/Display.cpp index 3f2d71db6..93cfda9fd 100644 --- a/src/libANGLE/Display.cpp +++ b/src/libANGLE/Display.cpp @@ -522,8 +522,9 @@ Error Display::initialize() } mProxyContext.reset(nullptr); - gl::Context *proxyContext = new gl::Context(mImplementation, nullptr, nullptr, nullptr, nullptr, - egl::AttributeMap(), mDisplayExtensions); + gl::Context *proxyContext = + new gl::Context(mImplementation, nullptr, nullptr, nullptr, nullptr, egl::AttributeMap(), + mDisplayExtensions, GetClientExtensions()); mProxyContext.reset(proxyContext); mInitialized = true; @@ -793,7 +794,7 @@ Error Display::createContext(const Config *configuration, gl::Context *context = new gl::Context(mImplementation, configuration, shareContext, shareTextures, cachePointer, - attribs, mDisplayExtensions); + attribs, mDisplayExtensions, GetClientExtensions()); ASSERT(context != nullptr); mContextSet.insert(context); @@ -1015,6 +1016,7 @@ static ClientExtensions GenerateClientExtensions() #endif extensions.clientGetAllProcAddresses = true; + extensions.explicitContext = true; return extensions; } diff --git a/src/libGLESv2.gypi b/src/libGLESv2.gypi index 83e21d2e9..e5ade176b 100644 --- a/src/libGLESv2.gypi +++ b/src/libGLESv2.gypi @@ -116,13 +116,19 @@ '../include/GLES/glplatform.h', '../include/GLES/glext.h', '../include/GLES/glext_angle.h', + '../include/GLES/glext_explicit_context_autogen.inc', '../include/GLES2/gl2.h', '../include/GLES2/gl2ext.h', '../include/GLES2/gl2ext_angle.h', + '../include/GLES2/gl2ext_explicit_context_autogen.inc', '../include/GLES2/gl2platform.h', '../include/GLES3/gl3.h', + '../include/GLES3/gl3ext_angle.h', + '../include/GLES3/gl3ext_explicit_context_autogen.inc', '../include/GLES3/gl3platform.h', '../include/GLES3/gl31.h', + '../include/GLES3/gl31ext_angle.h', + '../include/GLES3/gl31ext_explicit_context_autogen.inc', '../include/GLES3/gl32.h', '../include/GLSLANG/ShaderLang.h', '../include/GLSLANG/ShaderVars.h', diff --git a/src/libGLESv2/entry_points_gles_ext_autogen.cpp b/src/libGLESv2/entry_points_gles_ext_autogen.cpp index 61dced034..840dd2953 100644 --- a/src/libGLESv2/entry_points_gles_ext_autogen.cpp +++ b/src/libGLESv2/entry_points_gles_ext_autogen.cpp @@ -4392,4 +4392,13269 @@ GLboolean GL_APIENTRY IsVertexArrayOES(GLuint array) return GetDefaultReturnValue(); } + +// EGL_ANGLE_explicit_context +void GL_APIENTRY ActiveShaderProgramContextANGLE(GLeglContext ctx, GLuint pipeline, GLuint program) +{ + EVENT("(GLuint pipeline = %u, GLuint program = %u)", pipeline, program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline, program); + + if (context->skipValidation() || ValidateActiveShaderProgram(context, pipeline, program)) + { + context->activeShaderProgram(pipeline, program); + } + } +} + +void GL_APIENTRY ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) +{ + EVENT("(GLenum texture = 0x%X)", texture); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(texture); + + if (context->skipValidation() || ValidateActiveTexture(context, texture)) + { + context->activeTexture(texture); + } + } +} + +void GL_APIENTRY AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) +{ + EVENT("(GLenum func = 0x%X, GLfloat ref = %f)", func, ref); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + AlphaTestFunc funcPacked = FromGLenum(func); + context->gatherParams(funcPacked, ref); + + if (context->skipValidation() || ValidateAlphaFunc(context, funcPacked, ref)) + { + context->alphaFunc(funcPacked, ref); + } + } +} + +void GL_APIENTRY AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) +{ + EVENT("(GLenum func = 0x%X, GLfixed ref = 0x%X)", func, ref); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + AlphaTestFunc funcPacked = FromGLenum(func); + context->gatherParams(funcPacked, ref); + + if (context->skipValidation() || ValidateAlphaFuncx(context, funcPacked, ref)) + { + context->alphaFuncx(funcPacked, ref); + } + } +} + +void GL_APIENTRY AttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +{ + EVENT("(GLuint program = %u, GLuint shader = %u)", program, shader); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, shader); + + if (context->skipValidation() || ValidateAttachShader(context, program, shader)) + { + context->attachShader(program, shader); + } + } +} + +void GL_APIENTRY BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + EVENT("(GLenum target = 0x%X, GLuint id = %u)", target, id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, id); + + if (context->skipValidation() || ValidateBeginQuery(context, targetPacked, id)) + { + context->beginQuery(targetPacked, id); + } + } +} + +void GL_APIENTRY BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + EVENT("(GLenum target = 0x%X, GLuint id = %u)", target, id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, id); + + if (context->skipValidation() || ValidateBeginQueryEXT(context, targetPacked, id)) + { + context->beginQuery(targetPacked, id); + } + } +} + +void GL_APIENTRY BeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) +{ + EVENT("(GLenum primitiveMode = 0x%X)", primitiveMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(primitiveMode); + + if (context->skipValidation() || ValidateBeginTransformFeedback(context, primitiveMode)) + { + context->beginTransformFeedback(primitiveMode); + } + } +} + +void GL_APIENTRY BindAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + const GLchar *name) +{ + EVENT("(GLuint program = %u, GLuint index = %u, const GLchar *name = 0x%0.8p)", program, index, + name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, index, name); + + if (context->skipValidation() || ValidateBindAttribLocation(context, program, index, name)) + { + context->bindAttribLocation(program, index, name); + } + } +} + +void GL_APIENTRY BindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) +{ + EVENT("(GLenum target = 0x%X, GLuint buffer = %u)", target, buffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, buffer); + + if (context->skipValidation() || ValidateBindBuffer(context, targetPacked, buffer)) + { + context->bindBuffer(targetPacked, buffer); + } + } +} + +void GL_APIENTRY BindBufferBaseContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer) +{ + EVENT("(GLenum target = 0x%X, GLuint index = %u, GLuint buffer = %u)", target, index, buffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, index, buffer); + + if (context->skipValidation() || + ValidateBindBufferBase(context, targetPacked, index, buffer)) + { + context->bindBufferBase(targetPacked, index, buffer); + } + } +} + +void GL_APIENTRY BindBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) +{ + EVENT( + "(GLenum target = 0x%X, GLuint index = %u, GLuint buffer = %u, GLintptr offset = %d, " + "GLsizeiptr size = %d)", + target, index, buffer, offset, size); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, index, buffer, offset, + size); + + if (context->skipValidation() || + ValidateBindBufferRange(context, targetPacked, index, buffer, offset, size)) + { + context->bindBufferRange(targetPacked, index, buffer, offset, size); + } + } +} + +void GL_APIENTRY BindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) +{ + EVENT("(GLenum target = 0x%X, GLuint framebuffer = %u)", target, framebuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, framebuffer); + + if (context->skipValidation() || ValidateBindFramebuffer(context, target, framebuffer)) + { + context->bindFramebuffer(target, framebuffer); + } + } +} + +void GL_APIENTRY BindFramebufferOESContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) +{ + EVENT("(GLenum target = 0x%X, GLuint framebuffer = %u)", target, framebuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, framebuffer); + + if (context->skipValidation() || ValidateBindFramebufferOES(context, target, framebuffer)) + { + context->bindFramebuffer(target, framebuffer); + } + } +} + +void GL_APIENTRY BindImageTextureContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format) +{ + EVENT( + "(GLuint unit = %u, GLuint texture = %u, GLint level = %d, GLboolean layered = %u, GLint " + "layer = %d, GLenum access = 0x%X, GLenum format = 0x%X)", + unit, texture, level, layered, layer, access, format); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(unit, texture, level, layered, layer, + access, format); + + if (context->skipValidation() || + ValidateBindImageTexture(context, unit, texture, level, layered, layer, access, format)) + { + context->bindImageTexture(unit, texture, level, layered, layer, access, format); + } + } +} + +void GL_APIENTRY BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + EVENT("(GLuint pipeline = %u)", pipeline); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline); + + if (context->skipValidation() || ValidateBindProgramPipeline(context, pipeline)) + { + context->bindProgramPipeline(pipeline); + } + } +} + +void GL_APIENTRY BindRenderbufferContextANGLE(GLeglContext ctx, GLenum target, GLuint renderbuffer) +{ + EVENT("(GLenum target = 0x%X, GLuint renderbuffer = %u)", target, renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, renderbuffer); + + if (context->skipValidation() || ValidateBindRenderbuffer(context, target, renderbuffer)) + { + context->bindRenderbuffer(target, renderbuffer); + } + } +} + +void GL_APIENTRY BindRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer) +{ + EVENT("(GLenum target = 0x%X, GLuint renderbuffer = %u)", target, renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, renderbuffer); + + if (context->skipValidation() || ValidateBindRenderbufferOES(context, target, renderbuffer)) + { + context->bindRenderbuffer(target, renderbuffer); + } + } +} + +void GL_APIENTRY BindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) +{ + EVENT("(GLuint unit = %u, GLuint sampler = %u)", unit, sampler); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(unit, sampler); + + if (context->skipValidation() || ValidateBindSampler(context, unit, sampler)) + { + context->bindSampler(unit, sampler); + } + } +} + +void GL_APIENTRY BindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) +{ + EVENT("(GLenum target = 0x%X, GLuint texture = %u)", target, texture); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, texture); + + if (context->skipValidation() || ValidateBindTexture(context, targetPacked, texture)) + { + context->bindTexture(targetPacked, texture); + } + } +} + +void GL_APIENTRY BindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + EVENT("(GLenum target = 0x%X, GLuint id = %u)", target, id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, id); + + if (context->skipValidation() || ValidateBindTransformFeedback(context, target, id)) + { + context->bindTransformFeedback(target, id); + } + } +} + +void GL_APIENTRY BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +{ + EVENT("(GLuint array = %u)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(array); + + if (context->skipValidation() || ValidateBindVertexArray(context, array)) + { + context->bindVertexArray(array); + } + } +} + +void GL_APIENTRY BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +{ + EVENT("(GLuint array = %u)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(array); + + if (context->skipValidation() || ValidateBindVertexArrayOES(context, array)) + { + context->bindVertexArray(array); + } + } +} + +void GL_APIENTRY BindVertexBufferContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride) +{ + EVENT( + "(GLuint bindingindex = %u, GLuint buffer = %u, GLintptr offset = %d, GLsizei stride = %d)", + bindingindex, buffer, offset, stride); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(bindingindex, buffer, offset, stride); + + if (context->skipValidation() || + ValidateBindVertexBuffer(context, bindingindex, buffer, offset, stride)) + { + context->bindVertexBuffer(bindingindex, buffer, offset, stride); + } + } +} + +void GL_APIENTRY +BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + EVENT("(GLfloat red = %f, GLfloat green = %f, GLfloat blue = %f, GLfloat alpha = %f)", red, + green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateBlendColor(context, red, green, blue, alpha)) + { + context->blendColor(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY BlendEquationContextANGLE(GLeglContext ctx, GLenum mode) +{ + EVENT("(GLenum mode = 0x%X)", mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode); + + if (context->skipValidation() || ValidateBlendEquation(context, mode)) + { + context->blendEquation(mode); + } + } +} + +void GL_APIENTRY BlendEquationSeparateContextANGLE(GLeglContext ctx, + GLenum modeRGB, + GLenum modeAlpha) +{ + EVENT("(GLenum modeRGB = 0x%X, GLenum modeAlpha = 0x%X)", modeRGB, modeAlpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(modeRGB, modeAlpha); + + if (context->skipValidation() || ValidateBlendEquationSeparate(context, modeRGB, modeAlpha)) + { + context->blendEquationSeparate(modeRGB, modeAlpha); + } + } +} + +void GL_APIENTRY BlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) +{ + EVENT("(GLenum sfactor = 0x%X, GLenum dfactor = 0x%X)", sfactor, dfactor); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sfactor, dfactor); + + if (context->skipValidation() || ValidateBlendFunc(context, sfactor, dfactor)) + { + context->blendFunc(sfactor, dfactor); + } + } +} + +void GL_APIENTRY BlendFuncSeparateContextANGLE(GLeglContext ctx, + GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha) +{ + EVENT( + "(GLenum sfactorRGB = 0x%X, GLenum dfactorRGB = 0x%X, GLenum sfactorAlpha = 0x%X, GLenum " + "dfactorAlpha = 0x%X)", + sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sfactorRGB, dfactorRGB, sfactorAlpha, + dfactorAlpha); + + if (context->skipValidation() || + ValidateBlendFuncSeparate(context, sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha)) + { + context->blendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); + } + } +} + +void GL_APIENTRY BlitFramebufferContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) +{ + EVENT( + "(GLint srcX0 = %d, GLint srcY0 = %d, GLint srcX1 = %d, GLint srcY1 = %d, GLint dstX0 = " + "%d, GLint dstY0 = %d, GLint dstX1 = %d, GLint dstY1 = %d, GLbitfield mask = 0x%X, GLenum " + "filter = 0x%X)", + srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, + dstX1, dstY1, mask, filter); + + if (context->skipValidation() || + ValidateBlitFramebuffer(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, + mask, filter)) + { + context->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, + filter); + } + } +} + +void GL_APIENTRY BlitFramebufferANGLEContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) +{ + EVENT( + "(GLint srcX0 = %d, GLint srcY0 = %d, GLint srcX1 = %d, GLint srcY1 = %d, GLint dstX0 = " + "%d, GLint dstY0 = %d, GLint dstX1 = %d, GLint dstY1 = %d, GLbitfield mask = 0x%X, GLenum " + "filter = 0x%X)", + srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(srcX0, srcY0, srcX1, srcY1, dstX0, + dstY0, dstX1, dstY1, mask, filter); + + if (context->skipValidation() || + ValidateBlitFramebufferANGLE(context, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, + dstY1, mask, filter)) + { + context->blitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, + filter); + } + } +} + +void GL_APIENTRY BufferDataContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage) +{ + EVENT( + "(GLenum target = 0x%X, GLsizeiptr size = %d, const void *data = 0x%0.8p, GLenum usage = " + "0x%X)", + target, size, data, usage); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + BufferUsage usagePacked = FromGLenum(usage); + context->gatherParams(targetPacked, size, data, usagePacked); + + if (context->skipValidation() || + ValidateBufferData(context, targetPacked, size, data, usagePacked)) + { + context->bufferData(targetPacked, size, data, usagePacked); + } + } +} + +void GL_APIENTRY BufferSubDataContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data) +{ + EVENT( + "(GLenum target = 0x%X, GLintptr offset = %d, GLsizeiptr size = %d, const void *data = " + "0x%0.8p)", + target, offset, size, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, offset, size, data); + + if (context->skipValidation() || + ValidateBufferSubData(context, targetPacked, offset, size, data)) + { + context->bufferSubData(targetPacked, offset, size, data); + } + } +} + +GLenum GL_APIENTRY CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target); + + if (context->skipValidation() || ValidateCheckFramebufferStatus(context, target)) + { + return context->checkFramebufferStatus(target); + } + } + + return GetDefaultReturnValue(); +} + +GLenum GL_APIENTRY CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target); + + if (context->skipValidation() || ValidateCheckFramebufferStatusOES(context, target)) + { + return context->checkFramebufferStatus(target); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY ClearContextANGLE(GLeglContext ctx, GLbitfield mask) +{ + EVENT("(GLbitfield mask = 0x%X)", mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mask); + + if (context->skipValidation() || ValidateClear(context, mask)) + { + context->clear(mask); + } + } +} + +void GL_APIENTRY ClearBufferfiContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil) +{ + EVENT("(GLenum buffer = 0x%X, GLint drawbuffer = %d, GLfloat depth = %f, GLint stencil = %d)", + buffer, drawbuffer, depth, stencil); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(buffer, drawbuffer, depth, stencil); + + if (context->skipValidation() || + ValidateClearBufferfi(context, buffer, drawbuffer, depth, stencil)) + { + context->clearBufferfi(buffer, drawbuffer, depth, stencil); + } + } +} + +void GL_APIENTRY ClearBufferfvContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value) +{ + EVENT("(GLenum buffer = 0x%X, GLint drawbuffer = %d, const GLfloat *value = 0x%0.8p)", buffer, + drawbuffer, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(buffer, drawbuffer, value); + + if (context->skipValidation() || ValidateClearBufferfv(context, buffer, drawbuffer, value)) + { + context->clearBufferfv(buffer, drawbuffer, value); + } + } +} + +void GL_APIENTRY ClearBufferivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLint *value) +{ + EVENT("(GLenum buffer = 0x%X, GLint drawbuffer = %d, const GLint *value = 0x%0.8p)", buffer, + drawbuffer, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(buffer, drawbuffer, value); + + if (context->skipValidation() || ValidateClearBufferiv(context, buffer, drawbuffer, value)) + { + context->clearBufferiv(buffer, drawbuffer, value); + } + } +} + +void GL_APIENTRY ClearBufferuivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLuint *value) +{ + EVENT("(GLenum buffer = 0x%X, GLint drawbuffer = %d, const GLuint *value = 0x%0.8p)", buffer, + drawbuffer, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(buffer, drawbuffer, value); + + if (context->skipValidation() || ValidateClearBufferuiv(context, buffer, drawbuffer, value)) + { + context->clearBufferuiv(buffer, drawbuffer, value); + } + } +} + +void GL_APIENTRY +ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + EVENT("(GLfloat red = %f, GLfloat green = %f, GLfloat blue = %f, GLfloat alpha = %f)", red, + green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateClearColor(context, red, green, blue, alpha)) + { + context->clearColor(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY +ClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +{ + EVENT("(GLfixed red = 0x%X, GLfixed green = 0x%X, GLfixed blue = 0x%X, GLfixed alpha = 0x%X)", + red, green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateClearColorx(context, red, green, blue, alpha)) + { + context->clearColorx(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) +{ + EVENT("(GLfloat d = %f)", d); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(d); + + if (context->skipValidation() || ValidateClearDepthf(context, d)) + { + context->clearDepthf(d); + } + } +} + +void GL_APIENTRY ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) +{ + EVENT("(GLfixed depth = 0x%X)", depth); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(depth); + + if (context->skipValidation() || ValidateClearDepthx(context, depth)) + { + context->clearDepthx(depth); + } + } +} + +void GL_APIENTRY ClearStencilContextANGLE(GLeglContext ctx, GLint s) +{ + EVENT("(GLint s = %d)", s); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(s); + + if (context->skipValidation() || ValidateClearStencil(context, s)) + { + context->clearStencil(s); + } + } +} + +void GL_APIENTRY ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) +{ + EVENT("(GLenum texture = 0x%X)", texture); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(texture); + + if (context->skipValidation() || ValidateClientActiveTexture(context, texture)) + { + context->clientActiveTexture(texture); + } + } +} + +GLenum GL_APIENTRY ClientWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) +{ + EVENT("(GLsync sync = 0x%0.8p, GLbitfield flags = 0x%X, GLuint64 timeout = %llu)", sync, flags, + timeout); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sync, flags, timeout); + + if (context->skipValidation() || ValidateClientWaitSync(context, sync, flags, timeout)) + { + return context->clientWaitSync(sync, flags, timeout); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY ClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) +{ + EVENT("(GLenum p = 0x%X, const GLfloat *eqn = 0x%0.8p)", p, eqn); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(p, eqn); + + if (context->skipValidation() || ValidateClipPlanef(context, p, eqn)) + { + context->clipPlanef(p, eqn); + } + } +} + +void GL_APIENTRY ClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) +{ + EVENT("(GLenum plane = 0x%X, const GLfixed *equation = 0x%0.8p)", plane, equation); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(plane, equation); + + if (context->skipValidation() || ValidateClipPlanex(context, plane, equation)) + { + context->clipPlanex(plane, equation); + } + } +} + +void GL_APIENTRY +Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + EVENT("(GLfloat red = %f, GLfloat green = %f, GLfloat blue = %f, GLfloat alpha = %f)", red, + green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateColor4f(context, red, green, blue, alpha)) + { + context->color4f(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY +Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +{ + EVENT("(GLubyte red = %d, GLubyte green = %d, GLubyte blue = %d, GLubyte alpha = %d)", red, + green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateColor4ub(context, red, green, blue, alpha)) + { + context->color4ub(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY +Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +{ + EVENT("(GLfixed red = 0x%X, GLfixed green = 0x%X, GLfixed blue = 0x%X, GLfixed alpha = 0x%X)", + red, green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateColor4x(context, red, green, blue, alpha)) + { + context->color4x(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY ColorMaskContextANGLE(GLeglContext ctx, + GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha) +{ + EVENT("(GLboolean red = %u, GLboolean green = %u, GLboolean blue = %u, GLboolean alpha = %u)", + red, green, blue, alpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(red, green, blue, alpha); + + if (context->skipValidation() || ValidateColorMask(context, red, green, blue, alpha)) + { + context->colorMask(red, green, blue, alpha); + } + } +} + +void GL_APIENTRY ColorPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", + size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size, type, stride, pointer); + + if (context->skipValidation() || ValidateColorPointer(context, size, type, stride, pointer)) + { + context->colorPointer(size, type, stride, pointer); + } + } +} + +void GL_APIENTRY CompileShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + EVENT("(GLuint shader = %u)", shader); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader); + + if (context->skipValidation() || ValidateCompileShader(context, shader)) + { + context->compileShader(shader); + } + } +} + +void GL_APIENTRY CompressedTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLint border = %d, GLsizei imageSize = %d, const void *data = " + "0x%0.8p)", + target, level, internalformat, width, height, border, imageSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, border, imageSize, data); + + if (context->skipValidation() || + ValidateCompressedTexImage2D(context, targetPacked, level, internalformat, width, + height, border, imageSize, data)) + { + context->compressedTexImage2D(targetPacked, level, internalformat, width, height, + border, imageSize, data); + } + } +} + +void GL_APIENTRY CompressedTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLsizei depth = %d, GLint border = %d, GLsizei imageSize = %d, " + "const void *data = 0x%0.8p)", + target, level, internalformat, width, height, depth, border, imageSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, depth, border, imageSize, data); + + if (context->skipValidation() || + ValidateCompressedTexImage3D(context, targetPacked, level, internalformat, width, + height, depth, border, imageSize, data)) + { + context->compressedTexImage3D(targetPacked, level, internalformat, width, height, depth, + border, imageSize, data); + } + } +} + +void GL_APIENTRY CompressedTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLsizei " + "width = %d, GLsizei height = %d, GLenum format = 0x%X, GLsizei imageSize = %d, const void " + "*data = 0x%0.8p)", + target, level, xoffset, yoffset, width, height, format, imageSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, xoffset, yoffset, width, height, format, imageSize, data); + + if (context->skipValidation() || + ValidateCompressedTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, + height, format, imageSize, data)) + { + context->compressedTexSubImage2D(targetPacked, level, xoffset, yoffset, width, height, + format, imageSize, data); + } + } +} + +void GL_APIENTRY CompressedTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint " + "zoffset = %d, GLsizei width = %d, GLsizei height = %d, GLsizei depth = %d, GLenum format " + "= 0x%X, GLsizei imageSize = %d, const void *data = 0x%0.8p)", + target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, xoffset, + yoffset, zoffset, width, height, + depth, format, imageSize, data); + + if (context->skipValidation() || + ValidateCompressedTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, + width, height, depth, format, imageSize, data)) + { + context->compressedTexSubImage3D(targetPacked, level, xoffset, yoffset, zoffset, width, + height, depth, format, imageSize, data); + } + } +} + +void GL_APIENTRY CopyBufferSubDataContextANGLE(GLeglContext ctx, + GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size) +{ + EVENT( + "(GLenum readTarget = 0x%X, GLenum writeTarget = 0x%X, GLintptr readOffset = %d, GLintptr " + "writeOffset = %d, GLsizeiptr size = %d)", + readTarget, writeTarget, readOffset, writeOffset, size); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding readTargetPacked = FromGLenum(readTarget); + BufferBinding writeTargetPacked = FromGLenum(writeTarget); + context->gatherParams(readTargetPacked, writeTargetPacked, + readOffset, writeOffset, size); + + if (context->skipValidation() || + ValidateCopyBufferSubData(context, readTargetPacked, writeTargetPacked, readOffset, + writeOffset, size)) + { + context->copyBufferSubData(readTargetPacked, writeTargetPacked, readOffset, writeOffset, + size); + } + } +} + +void GL_APIENTRY CopyTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum internalformat = 0x%X, GLint x = %d, " + "GLint y = %d, GLsizei width = %d, GLsizei height = %d, GLint border = %d)", + target, level, internalformat, x, y, width, height, border); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, internalformat, x, y, + width, height, border); + + if (context->skipValidation() || + ValidateCopyTexImage2D(context, targetPacked, level, internalformat, x, y, width, + height, border)) + { + context->copyTexImage2D(targetPacked, level, internalformat, x, y, width, height, + border); + } + } +} + +void GL_APIENTRY CopyTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint x " + "= %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d)", + target, level, xoffset, yoffset, x, y, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, xoffset, yoffset, + x, y, width, height); + + if (context->skipValidation() || + ValidateCopyTexSubImage2D(context, targetPacked, level, xoffset, yoffset, x, y, width, + height)) + { + context->copyTexSubImage2D(targetPacked, level, xoffset, yoffset, x, y, width, height); + } + } +} + +void GL_APIENTRY CopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint " + "zoffset = %d, GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d)", + target, level, xoffset, yoffset, zoffset, x, y, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, xoffset, yoffset, + zoffset, x, y, width, height); + + if (context->skipValidation() || + ValidateCopyTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, x, y, + width, height)) + { + context->copyTexSubImage3D(targetPacked, level, xoffset, yoffset, zoffset, x, y, width, + height); + } + } +} + +GLuint GL_APIENTRY CreateProgramContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateCreateProgram(context)) + { + return context->createProgram(); + } + } + + return GetDefaultReturnValue(); +} + +GLuint GL_APIENTRY CreateShaderContextANGLE(GLeglContext ctx, GLenum type) +{ + EVENT("(GLenum type = 0x%X)", type); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + ShaderType typePacked = FromGLenum(type); + context->gatherParams(typePacked); + + if (context->skipValidation() || ValidateCreateShader(context, typePacked)) + { + return context->createShader(typePacked); + } + } + + return GetDefaultReturnValue(); +} + +GLuint GL_APIENTRY CreateShaderProgramvContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei count, + const GLchar *const *strings) +{ + EVENT("(GLenum type = 0x%X, GLsizei count = %d, const GLchar *const*strings = 0x%0.8p)", type, + count, strings); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + ShaderType typePacked = FromGLenum(type); + context->gatherParams(typePacked, count, strings); + + if (context->skipValidation() || + ValidateCreateShaderProgramv(context, typePacked, count, strings)) + { + return context->createShaderProgramv(typePacked, count, strings); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY CullFaceContextANGLE(GLeglContext ctx, GLenum mode) +{ + EVENT("(GLenum mode = 0x%X)", mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + CullFaceMode modePacked = FromGLenum(mode); + context->gatherParams(modePacked); + + if (context->skipValidation() || ValidateCullFace(context, modePacked)) + { + context->cullFace(modePacked); + } + } +} + +void GL_APIENTRY CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) +{ + EVENT("(GLuint matrixpaletteindex = %u)", matrixpaletteindex); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(matrixpaletteindex); + + if (context->skipValidation() || + ValidateCurrentPaletteMatrixOES(context, matrixpaletteindex)) + { + context->currentPaletteMatrix(matrixpaletteindex); + } + } +} + +void GL_APIENTRY DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, + GLDEBUGPROCKHR callback, + const void *userParam) +{ + EVENT("(GLDEBUGPROCKHR callback = 0x%0.8p, const void *userParam = 0x%0.8p)", callback, + userParam); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(callback, userParam); + + if (context->skipValidation() || + ValidateDebugMessageCallbackKHR(context, callback, userParam)) + { + context->debugMessageCallback(callback, userParam); + } + } +} + +void GL_APIENTRY DebugMessageControlKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) +{ + EVENT( + "(GLenum source = 0x%X, GLenum type = 0x%X, GLenum severity = 0x%X, GLsizei count = %d, " + "const GLuint *ids = 0x%0.8p, GLboolean enabled = %u)", + source, type, severity, count, ids, enabled); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(source, type, severity, count, + ids, enabled); + + if (context->skipValidation() || + ValidateDebugMessageControlKHR(context, source, type, severity, count, ids, enabled)) + { + context->debugMessageControl(source, type, severity, count, ids, enabled); + } + } +} + +void GL_APIENTRY DebugMessageInsertKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) +{ + EVENT( + "(GLenum source = 0x%X, GLenum type = 0x%X, GLuint id = %u, GLenum severity = 0x%X, " + "GLsizei length = %d, const GLchar *buf = 0x%0.8p)", + source, type, id, severity, length, buf); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(source, type, id, severity, length, + buf); + + if (context->skipValidation() || + ValidateDebugMessageInsertKHR(context, source, type, id, severity, length, buf)) + { + context->debugMessageInsert(source, type, id, severity, length, buf); + } + } +} + +void GL_APIENTRY DeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) +{ + EVENT("(GLsizei n = %d, const GLuint *buffers = 0x%0.8p)", n, buffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, buffers); + + if (context->skipValidation() || ValidateDeleteBuffers(context, n, buffers)) + { + context->deleteBuffers(n, buffers); + } + } +} + +void GL_APIENTRY DeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) +{ + EVENT("(GLsizei n = %d, const GLuint *fences = 0x%0.8p)", n, fences); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, fences); + + if (context->skipValidation() || ValidateDeleteFencesNV(context, n, fences)) + { + context->deleteFencesNV(n, fences); + } + } +} + +void GL_APIENTRY DeleteFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) +{ + EVENT("(GLsizei n = %d, const GLuint *framebuffers = 0x%0.8p)", n, framebuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, framebuffers); + + if (context->skipValidation() || ValidateDeleteFramebuffers(context, n, framebuffers)) + { + context->deleteFramebuffers(n, framebuffers); + } + } +} + +void GL_APIENTRY DeleteFramebuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) +{ + EVENT("(GLsizei n = %d, const GLuint *framebuffers = 0x%0.8p)", n, framebuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, framebuffers); + + if (context->skipValidation() || ValidateDeleteFramebuffersOES(context, n, framebuffers)) + { + context->deleteFramebuffers(n, framebuffers); + } + } +} + +void GL_APIENTRY DeleteProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + EVENT("(GLuint program = %u)", program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program); + + if (context->skipValidation() || ValidateDeleteProgram(context, program)) + { + context->deleteProgram(program); + } + } +} + +void GL_APIENTRY DeleteProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *pipelines) +{ + EVENT("(GLsizei n = %d, const GLuint *pipelines = 0x%0.8p)", n, pipelines); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, pipelines); + + if (context->skipValidation() || ValidateDeleteProgramPipelines(context, n, pipelines)) + { + context->deleteProgramPipelines(n, pipelines); + } + } +} + +void GL_APIENTRY DeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) +{ + EVENT("(GLsizei n = %d, const GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateDeleteQueries(context, n, ids)) + { + context->deleteQueries(n, ids); + } + } +} + +void GL_APIENTRY DeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) +{ + EVENT("(GLsizei n = %d, const GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateDeleteQueriesEXT(context, n, ids)) + { + context->deleteQueries(n, ids); + } + } +} + +void GL_APIENTRY DeleteRenderbuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) +{ + EVENT("(GLsizei n = %d, const GLuint *renderbuffers = 0x%0.8p)", n, renderbuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, renderbuffers); + + if (context->skipValidation() || ValidateDeleteRenderbuffers(context, n, renderbuffers)) + { + context->deleteRenderbuffers(n, renderbuffers); + } + } +} + +void GL_APIENTRY DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) +{ + EVENT("(GLsizei n = %d, const GLuint *renderbuffers = 0x%0.8p)", n, renderbuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, renderbuffers); + + if (context->skipValidation() || ValidateDeleteRenderbuffersOES(context, n, renderbuffers)) + { + context->deleteRenderbuffers(n, renderbuffers); + } + } +} + +void GL_APIENTRY DeleteSamplersContextANGLE(GLeglContext ctx, GLsizei count, const GLuint *samplers) +{ + EVENT("(GLsizei count = %d, const GLuint *samplers = 0x%0.8p)", count, samplers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(count, samplers); + + if (context->skipValidation() || ValidateDeleteSamplers(context, count, samplers)) + { + context->deleteSamplers(count, samplers); + } + } +} + +void GL_APIENTRY DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + EVENT("(GLuint shader = %u)", shader); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader); + + if (context->skipValidation() || ValidateDeleteShader(context, shader)) + { + context->deleteShader(shader); + } + } +} + +void GL_APIENTRY DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) +{ + EVENT("(GLsync sync = 0x%0.8p)", sync); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sync); + + if (context->skipValidation() || ValidateDeleteSync(context, sync)) + { + context->deleteSync(sync); + } + } +} + +void GL_APIENTRY DeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) +{ + EVENT("(GLsizei n = %d, const GLuint *textures = 0x%0.8p)", n, textures); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, textures); + + if (context->skipValidation() || ValidateDeleteTextures(context, n, textures)) + { + context->deleteTextures(n, textures); + } + } +} + +void GL_APIENTRY DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids) +{ + EVENT("(GLsizei n = %d, const GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateDeleteTransformFeedbacks(context, n, ids)) + { + context->deleteTransformFeedbacks(n, ids); + } + } +} + +void GL_APIENTRY DeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) +{ + EVENT("(GLsizei n = %d, const GLuint *arrays = 0x%0.8p)", n, arrays); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, arrays); + + if (context->skipValidation() || ValidateDeleteVertexArrays(context, n, arrays)) + { + context->deleteVertexArrays(n, arrays); + } + } +} + +void GL_APIENTRY DeleteVertexArraysOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays) +{ + EVENT("(GLsizei n = %d, const GLuint *arrays = 0x%0.8p)", n, arrays); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, arrays); + + if (context->skipValidation() || ValidateDeleteVertexArraysOES(context, n, arrays)) + { + context->deleteVertexArrays(n, arrays); + } + } +} + +void GL_APIENTRY DepthFuncContextANGLE(GLeglContext ctx, GLenum func) +{ + EVENT("(GLenum func = 0x%X)", func); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(func); + + if (context->skipValidation() || ValidateDepthFunc(context, func)) + { + context->depthFunc(func); + } + } +} + +void GL_APIENTRY DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) +{ + EVENT("(GLboolean flag = %u)", flag); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(flag); + + if (context->skipValidation() || ValidateDepthMask(context, flag)) + { + context->depthMask(flag); + } + } +} + +void GL_APIENTRY DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) +{ + EVENT("(GLfloat n = %f, GLfloat f = %f)", n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, f); + + if (context->skipValidation() || ValidateDepthRangef(context, n, f)) + { + context->depthRangef(n, f); + } + } +} + +void GL_APIENTRY DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) +{ + EVENT("(GLfixed n = 0x%X, GLfixed f = 0x%X)", n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, f); + + if (context->skipValidation() || ValidateDepthRangex(context, n, f)) + { + context->depthRangex(n, f); + } + } +} + +void GL_APIENTRY DetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +{ + EVENT("(GLuint program = %u, GLuint shader = %u)", program, shader); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, shader); + + if (context->skipValidation() || ValidateDetachShader(context, program, shader)) + { + context->detachShader(program, shader); + } + } +} + +void GL_APIENTRY DisableContextANGLE(GLeglContext ctx, GLenum cap) +{ + EVENT("(GLenum cap = 0x%X)", cap); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(cap); + + if (context->skipValidation() || ValidateDisable(context, cap)) + { + context->disable(cap); + } + } +} + +void GL_APIENTRY DisableClientStateContextANGLE(GLeglContext ctx, GLenum array) +{ + EVENT("(GLenum array = 0x%X)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + ClientVertexArrayType arrayPacked = FromGLenum(array); + context->gatherParams(arrayPacked); + + if (context->skipValidation() || ValidateDisableClientState(context, arrayPacked)) + { + context->disableClientState(arrayPacked); + } + } +} + +void GL_APIENTRY DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +{ + EVENT("(GLuint index = %u)", index); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index); + + if (context->skipValidation() || ValidateDisableVertexAttribArray(context, index)) + { + context->disableVertexAttribArray(index); + } + } +} + +void GL_APIENTRY DiscardFramebufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei numAttachments = %d, const GLenum *attachments = 0x%0.8p)", + target, numAttachments, attachments); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, numAttachments, + attachments); + + if (context->skipValidation() || + ValidateDiscardFramebufferEXT(context, target, numAttachments, attachments)) + { + context->discardFramebuffer(target, numAttachments, attachments); + } + } +} + +void GL_APIENTRY DispatchComputeContextANGLE(GLeglContext ctx, + GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z) +{ + EVENT("(GLuint num_groups_x = %u, GLuint num_groups_y = %u, GLuint num_groups_z = %u)", + num_groups_x, num_groups_y, num_groups_z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(num_groups_x, num_groups_y, + num_groups_z); + + if (context->skipValidation() || + ValidateDispatchCompute(context, num_groups_x, num_groups_y, num_groups_z)) + { + context->dispatchCompute(num_groups_x, num_groups_y, num_groups_z); + } + } +} + +void GL_APIENTRY DispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) +{ + EVENT("(GLintptr indirect = %d)", indirect); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(indirect); + + if (context->skipValidation() || ValidateDispatchComputeIndirect(context, indirect)) + { + context->dispatchComputeIndirect(indirect); + } + } +} + +void GL_APIENTRY DrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count) +{ + EVENT("(GLenum mode = 0x%X, GLint first = %d, GLsizei count = %d)", mode, first, count); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, first, count); + + if (context->skipValidation() || ValidateDrawArrays(context, mode, first, count)) + { + context->drawArrays(mode, first, count); + } + } +} + +void GL_APIENTRY DrawArraysIndirectContextANGLE(GLeglContext ctx, GLenum mode, const void *indirect) +{ + EVENT("(GLenum mode = 0x%X, const void *indirect = 0x%0.8p)", mode, indirect); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, indirect); + + if (context->skipValidation() || ValidateDrawArraysIndirect(context, mode, indirect)) + { + context->drawArraysIndirect(mode, indirect); + } + } +} + +void GL_APIENTRY DrawArraysInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount) +{ + EVENT("(GLenum mode = 0x%X, GLint first = %d, GLsizei count = %d, GLsizei instancecount = %d)", + mode, first, count, instancecount); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, first, count, instancecount); + + if (context->skipValidation() || + ValidateDrawArraysInstanced(context, mode, first, count, instancecount)) + { + context->drawArraysInstanced(mode, first, count, instancecount); + } + } +} + +void GL_APIENTRY DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount) +{ + EVENT("(GLenum mode = 0x%X, GLint first = %d, GLsizei count = %d, GLsizei primcount = %d)", + mode, first, count, primcount); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, first, count, primcount); + + if (context->skipValidation() || + ValidateDrawArraysInstancedANGLE(context, mode, first, count, primcount)) + { + context->drawArraysInstanced(mode, first, count, primcount); + } + } +} + +void GL_APIENTRY DrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +{ + EVENT("(GLsizei n = %d, const GLenum *bufs = 0x%0.8p)", n, bufs); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, bufs); + + if (context->skipValidation() || ValidateDrawBuffers(context, n, bufs)) + { + context->drawBuffers(n, bufs); + } + } +} + +void GL_APIENTRY DrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +{ + EVENT("(GLsizei n = %d, const GLenum *bufs = 0x%0.8p)", n, bufs); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, bufs); + + if (context->skipValidation() || ValidateDrawBuffersEXT(context, n, bufs)) + { + context->drawBuffers(n, bufs); + } + } +} + +void GL_APIENTRY DrawElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices) +{ + EVENT( + "(GLenum mode = 0x%X, GLsizei count = %d, GLenum type = 0x%X, const void *indices = " + "0x%0.8p)", + mode, count, type, indices); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, count, type, indices); + + if (context->skipValidation() || ValidateDrawElements(context, mode, count, type, indices)) + { + context->drawElements(mode, count, type, indices); + } + } +} + +void GL_APIENTRY DrawElementsIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + GLenum type, + const void *indirect) +{ + EVENT("(GLenum mode = 0x%X, GLenum type = 0x%X, const void *indirect = 0x%0.8p)", mode, type, + indirect); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, type, indirect); + + if (context->skipValidation() || + ValidateDrawElementsIndirect(context, mode, type, indirect)) + { + context->drawElementsIndirect(mode, type, indirect); + } + } +} + +void GL_APIENTRY DrawElementsInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount) +{ + EVENT( + "(GLenum mode = 0x%X, GLsizei count = %d, GLenum type = 0x%X, const void *indices = " + "0x%0.8p, GLsizei instancecount = %d)", + mode, count, type, indices, instancecount); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, count, type, indices, + instancecount); + + if (context->skipValidation() || + ValidateDrawElementsInstanced(context, mode, count, type, indices, instancecount)) + { + context->drawElementsInstanced(mode, count, type, indices, instancecount); + } + } +} + +void GL_APIENTRY DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) +{ + EVENT( + "(GLenum mode = 0x%X, GLsizei count = %d, GLenum type = 0x%X, const void *indices = " + "0x%0.8p, GLsizei primcount = %d)", + mode, count, type, indices, primcount); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, count, type, indices, + primcount); + + if (context->skipValidation() || + ValidateDrawElementsInstancedANGLE(context, mode, count, type, indices, primcount)) + { + context->drawElementsInstanced(mode, count, type, indices, primcount); + } + } +} + +void GL_APIENTRY DrawRangeElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices) +{ + EVENT( + "(GLenum mode = 0x%X, GLuint start = %u, GLuint end = %u, GLsizei count = %d, GLenum type " + "= 0x%X, const void *indices = 0x%0.8p)", + mode, start, end, count, type, indices); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode, start, end, count, type, + indices); + + if (context->skipValidation() || + ValidateDrawRangeElements(context, mode, start, end, count, type, indices)) + { + context->drawRangeElements(mode, start, end, count, type, indices); + } + } +} + +void GL_APIENTRY DrawTexfOESContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat width, + GLfloat height) +{ + EVENT( + "(GLfloat x = %f, GLfloat y = %f, GLfloat z = %f, GLfloat width = %f, GLfloat height = %f)", + x, y, z, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z, width, height); + + if (context->skipValidation() || ValidateDrawTexfOES(context, x, y, z, width, height)) + { + context->drawTexf(x, y, z, width, height); + } + } +} + +void GL_APIENTRY DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) +{ + EVENT("(const GLfloat *coords = 0x%0.8p)", coords); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coords); + + if (context->skipValidation() || ValidateDrawTexfvOES(context, coords)) + { + context->drawTexfv(coords); + } + } +} + +void GL_APIENTRY +DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) +{ + EVENT("(GLint x = %d, GLint y = %d, GLint z = %d, GLint width = %d, GLint height = %d)", x, y, + z, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z, width, height); + + if (context->skipValidation() || ValidateDrawTexiOES(context, x, y, z, width, height)) + { + context->drawTexi(x, y, z, width, height); + } + } +} + +void GL_APIENTRY DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) +{ + EVENT("(const GLint *coords = 0x%0.8p)", coords); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coords); + + if (context->skipValidation() || ValidateDrawTexivOES(context, coords)) + { + context->drawTexiv(coords); + } + } +} + +void GL_APIENTRY DrawTexsOESContextANGLE(GLeglContext ctx, + GLshort x, + GLshort y, + GLshort z, + GLshort width, + GLshort height) +{ + EVENT( + "(GLshort x = %d, GLshort y = %d, GLshort z = %d, GLshort width = %d, GLshort height = %d)", + x, y, z, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z, width, height); + + if (context->skipValidation() || ValidateDrawTexsOES(context, x, y, z, width, height)) + { + context->drawTexs(x, y, z, width, height); + } + } +} + +void GL_APIENTRY DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) +{ + EVENT("(const GLshort *coords = 0x%0.8p)", coords); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coords); + + if (context->skipValidation() || ValidateDrawTexsvOES(context, coords)) + { + context->drawTexsv(coords); + } + } +} + +void GL_APIENTRY DrawTexxOESContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z, + GLfixed width, + GLfixed height) +{ + EVENT( + "(GLfixed x = 0x%X, GLfixed y = 0x%X, GLfixed z = 0x%X, GLfixed width = 0x%X, GLfixed " + "height = 0x%X)", + x, y, z, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z, width, height); + + if (context->skipValidation() || ValidateDrawTexxOES(context, x, y, z, width, height)) + { + context->drawTexx(x, y, z, width, height); + } + } +} + +void GL_APIENTRY DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) +{ + EVENT("(const GLfixed *coords = 0x%0.8p)", coords); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coords); + + if (context->skipValidation() || ValidateDrawTexxvOES(context, coords)) + { + context->drawTexxv(coords); + } + } +} + +void GL_APIENTRY EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) +{ + EVENT("(GLenum target = 0x%X, GLeglImageOES image = 0x%0.8p)", target, image); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, image); + + if (context->skipValidation() || + ValidateEGLImageTargetRenderbufferStorageOES(context, target, image)) + { + context->eGLImageTargetRenderbufferStorage(target, image); + } + } +} + +void GL_APIENTRY EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) +{ + EVENT("(GLenum target = 0x%X, GLeglImageOES image = 0x%0.8p)", target, image); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, image); + + if (context->skipValidation() || + ValidateEGLImageTargetTexture2DOES(context, targetPacked, image)) + { + context->eGLImageTargetTexture2D(targetPacked, image); + } + } +} + +void GL_APIENTRY EnableContextANGLE(GLeglContext ctx, GLenum cap) +{ + EVENT("(GLenum cap = 0x%X)", cap); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(cap); + + if (context->skipValidation() || ValidateEnable(context, cap)) + { + context->enable(cap); + } + } +} + +void GL_APIENTRY EnableClientStateContextANGLE(GLeglContext ctx, GLenum array) +{ + EVENT("(GLenum array = 0x%X)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + ClientVertexArrayType arrayPacked = FromGLenum(array); + context->gatherParams(arrayPacked); + + if (context->skipValidation() || ValidateEnableClientState(context, arrayPacked)) + { + context->enableClientState(arrayPacked); + } + } +} + +void GL_APIENTRY EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +{ + EVENT("(GLuint index = %u)", index); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index); + + if (context->skipValidation() || ValidateEnableVertexAttribArray(context, index)) + { + context->enableVertexAttribArray(index); + } + } +} + +void GL_APIENTRY EndQueryContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateEndQuery(context, targetPacked)) + { + context->endQuery(targetPacked); + } + } +} + +void GL_APIENTRY EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateEndQueryEXT(context, targetPacked)) + { + context->endQuery(targetPacked); + } + } +} + +void GL_APIENTRY EndTransformFeedbackContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateEndTransformFeedback(context)) + { + context->endTransformFeedback(); + } + } +} + +GLsync GL_APIENTRY FenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) +{ + EVENT("(GLenum condition = 0x%X, GLbitfield flags = 0x%X)", condition, flags); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(condition, flags); + + if (context->skipValidation() || ValidateFenceSync(context, condition, flags)) + { + return context->fenceSync(condition, flags); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY FinishContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateFinish(context)) + { + context->finish(); + } + } +} + +void GL_APIENTRY FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + EVENT("(GLuint fence = %u)", fence); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fence); + + if (context->skipValidation() || ValidateFinishFenceNV(context, fence)) + { + context->finishFenceNV(fence); + } + } +} + +void GL_APIENTRY FlushContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateFlush(context)) + { + context->flush(); + } + } +} + +void GL_APIENTRY FlushMappedBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) +{ + EVENT("(GLenum target = 0x%X, GLintptr offset = %d, GLsizeiptr length = %d)", target, offset, + length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, offset, length); + + if (context->skipValidation() || + ValidateFlushMappedBufferRange(context, targetPacked, offset, length)) + { + context->flushMappedBufferRange(targetPacked, offset, length); + } + } +} + +void GL_APIENTRY FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) +{ + EVENT("(GLenum target = 0x%X, GLintptr offset = %d, GLsizeiptr length = %d)", target, offset, + length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, offset, length); + + if (context->skipValidation() || + ValidateFlushMappedBufferRangeEXT(context, targetPacked, offset, length)) + { + context->flushMappedBufferRange(targetPacked, offset, length); + } + } +} + +void GL_APIENTRY FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + EVENT("(GLenum pname = 0x%X, GLfloat param = %f)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateFogf(context, pname, param)) + { + context->fogf(pname, param); + } + } +} + +void GL_APIENTRY FogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +{ + EVENT("(GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidateFogfv(context, pname, params)) + { + context->fogfv(pname, params); + } + } +} + +void GL_APIENTRY FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + EVENT("(GLenum pname = 0x%X, GLfixed param = 0x%X)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateFogx(context, pname, param)) + { + context->fogx(pname, param); + } + } +} + +void GL_APIENTRY FogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +{ + EVENT("(GLenum pname = 0x%X, const GLfixed *param = 0x%0.8p)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateFogxv(context, pname, param)) + { + context->fogxv(pname, param); + } + } +} + +void GL_APIENTRY FramebufferParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint param = %d)", target, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, param); + + if (context->skipValidation() || + ValidateFramebufferParameteri(context, target, pname, param)) + { + context->framebufferParameteri(target, pname, param); + } + } +} + +void GL_APIENTRY FramebufferRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum renderbuffertarget = 0x%X, GLuint " + "renderbuffer = %u)", + target, attachment, renderbuffertarget, renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, renderbuffertarget, renderbuffer); + + if (context->skipValidation() || + ValidateFramebufferRenderbuffer(context, target, attachment, renderbuffertarget, + renderbuffer)) + { + context->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); + } + } +} + +void GL_APIENTRY FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum renderbuffertarget = 0x%X, GLuint " + "renderbuffer = %u)", + target, attachment, renderbuffertarget, renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, renderbuffertarget, renderbuffer); + + if (context->skipValidation() || + ValidateFramebufferRenderbufferOES(context, target, attachment, renderbuffertarget, + renderbuffer)) + { + context->framebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); + } + } +} + +void GL_APIENTRY FramebufferTexture2DContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum textarget = 0x%X, GLuint texture " + "= %u, GLint level = %d)", + target, attachment, textarget, texture, level); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget textargetPacked = FromGLenum(textarget); + context->gatherParams(target, attachment, textargetPacked, + texture, level); + + if (context->skipValidation() || + ValidateFramebufferTexture2D(context, target, attachment, textargetPacked, texture, + level)) + { + context->framebufferTexture2D(target, attachment, textargetPacked, texture, level); + } + } +} + +void GL_APIENTRY FramebufferTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum textarget = 0x%X, GLuint texture " + "= %u, GLint level = %d)", + target, attachment, textarget, texture, level); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget textargetPacked = FromGLenum(textarget); + context->gatherParams(target, attachment, + textargetPacked, texture, level); + + if (context->skipValidation() || + ValidateFramebufferTexture2DOES(context, target, attachment, textargetPacked, texture, + level)) + { + context->framebufferTexture2D(target, attachment, textargetPacked, texture, level); + } + } +} + +void GL_APIENTRY FramebufferTextureLayerContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint layer) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLuint texture = %u, GLint level = %d, " + "GLint layer = %d)", + target, attachment, texture, level, layer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, attachment, texture, + level, layer); + + if (context->skipValidation() || + ValidateFramebufferTextureLayer(context, target, attachment, texture, level, layer)) + { + context->framebufferTextureLayer(target, attachment, texture, level, layer); + } + } +} + +void GL_APIENTRY FrontFaceContextANGLE(GLeglContext ctx, GLenum mode) +{ + EVENT("(GLenum mode = 0x%X)", mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode); + + if (context->skipValidation() || ValidateFrontFace(context, mode)) + { + context->frontFace(mode); + } + } +} + +void GL_APIENTRY FrustumfContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) +{ + EVENT( + "(GLfloat l = %f, GLfloat r = %f, GLfloat b = %f, GLfloat t = %f, GLfloat n = %f, GLfloat " + "f = %f)", + l, r, b, t, n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(l, r, b, t, n, f); + + if (context->skipValidation() || ValidateFrustumf(context, l, r, b, t, n, f)) + { + context->frustumf(l, r, b, t, n, f); + } + } +} + +void GL_APIENTRY FrustumxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) +{ + EVENT( + "(GLfixed l = 0x%X, GLfixed r = 0x%X, GLfixed b = 0x%X, GLfixed t = 0x%X, GLfixed n = " + "0x%X, GLfixed f = 0x%X)", + l, r, b, t, n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(l, r, b, t, n, f); + + if (context->skipValidation() || ValidateFrustumx(context, l, r, b, t, n, f)) + { + context->frustumx(l, r, b, t, n, f); + } + } +} + +void GL_APIENTRY GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) +{ + EVENT("(GLsizei n = %d, GLuint *buffers = 0x%0.8p)", n, buffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, buffers); + + if (context->skipValidation() || ValidateGenBuffers(context, n, buffers)) + { + context->genBuffers(n, buffers); + } + } +} + +void GL_APIENTRY GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) +{ + EVENT("(GLsizei n = %d, GLuint *fences = 0x%0.8p)", n, fences); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, fences); + + if (context->skipValidation() || ValidateGenFencesNV(context, n, fences)) + { + context->genFencesNV(n, fences); + } + } +} + +void GL_APIENTRY GenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) +{ + EVENT("(GLsizei n = %d, GLuint *framebuffers = 0x%0.8p)", n, framebuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, framebuffers); + + if (context->skipValidation() || ValidateGenFramebuffers(context, n, framebuffers)) + { + context->genFramebuffers(n, framebuffers); + } + } +} + +void GL_APIENTRY GenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) +{ + EVENT("(GLsizei n = %d, GLuint *framebuffers = 0x%0.8p)", n, framebuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, framebuffers); + + if (context->skipValidation() || ValidateGenFramebuffersOES(context, n, framebuffers)) + { + context->genFramebuffers(n, framebuffers); + } + } +} + +void GL_APIENTRY GenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) +{ + EVENT("(GLsizei n = %d, GLuint *pipelines = 0x%0.8p)", n, pipelines); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, pipelines); + + if (context->skipValidation() || ValidateGenProgramPipelines(context, n, pipelines)) + { + context->genProgramPipelines(n, pipelines); + } + } +} + +void GL_APIENTRY GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + EVENT("(GLsizei n = %d, GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateGenQueries(context, n, ids)) + { + context->genQueries(n, ids); + } + } +} + +void GL_APIENTRY GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + EVENT("(GLsizei n = %d, GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateGenQueriesEXT(context, n, ids)) + { + context->genQueries(n, ids); + } + } +} + +void GL_APIENTRY GenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) +{ + EVENT("(GLsizei n = %d, GLuint *renderbuffers = 0x%0.8p)", n, renderbuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, renderbuffers); + + if (context->skipValidation() || ValidateGenRenderbuffers(context, n, renderbuffers)) + { + context->genRenderbuffers(n, renderbuffers); + } + } +} + +void GL_APIENTRY GenRenderbuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) +{ + EVENT("(GLsizei n = %d, GLuint *renderbuffers = 0x%0.8p)", n, renderbuffers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, renderbuffers); + + if (context->skipValidation() || ValidateGenRenderbuffersOES(context, n, renderbuffers)) + { + context->genRenderbuffers(n, renderbuffers); + } + } +} + +void GL_APIENTRY GenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) +{ + EVENT("(GLsizei count = %d, GLuint *samplers = 0x%0.8p)", count, samplers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(count, samplers); + + if (context->skipValidation() || ValidateGenSamplers(context, count, samplers)) + { + context->genSamplers(count, samplers); + } + } +} + +void GL_APIENTRY GenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) +{ + EVENT("(GLsizei n = %d, GLuint *textures = 0x%0.8p)", n, textures); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, textures); + + if (context->skipValidation() || ValidateGenTextures(context, n, textures)) + { + context->genTextures(n, textures); + } + } +} + +void GL_APIENTRY GenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + EVENT("(GLsizei n = %d, GLuint *ids = 0x%0.8p)", n, ids); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, ids); + + if (context->skipValidation() || ValidateGenTransformFeedbacks(context, n, ids)) + { + context->genTransformFeedbacks(n, ids); + } + } +} + +void GL_APIENTRY GenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +{ + EVENT("(GLsizei n = %d, GLuint *arrays = 0x%0.8p)", n, arrays); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, arrays); + + if (context->skipValidation() || ValidateGenVertexArrays(context, n, arrays)) + { + context->genVertexArrays(n, arrays); + } + } +} + +void GL_APIENTRY GenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +{ + EVENT("(GLsizei n = %d, GLuint *arrays = 0x%0.8p)", n, arrays); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(n, arrays); + + if (context->skipValidation() || ValidateGenVertexArraysOES(context, n, arrays)) + { + context->genVertexArrays(n, arrays); + } + } +} + +void GL_APIENTRY GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateGenerateMipmap(context, targetPacked)) + { + context->generateMipmap(targetPacked); + } + } +} + +void GL_APIENTRY GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateGenerateMipmapOES(context, targetPacked)) + { + context->generateMipmap(targetPacked); + } + } +} + +void GL_APIENTRY GetActiveAttribContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) +{ + EVENT( + "(GLuint program = %u, GLuint index = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, " + "GLint *size = 0x%0.8p, GLenum *type = 0x%0.8p, GLchar *name = 0x%0.8p)", + program, index, bufSize, length, size, type, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, index, bufSize, length, size, + type, name); + + if (context->skipValidation() || + ValidateGetActiveAttrib(context, program, index, bufSize, length, size, type, name)) + { + context->getActiveAttrib(program, index, bufSize, length, size, type, name); + } + } +} + +void GL_APIENTRY GetActiveUniformContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) +{ + EVENT( + "(GLuint program = %u, GLuint index = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, " + "GLint *size = 0x%0.8p, GLenum *type = 0x%0.8p, GLchar *name = 0x%0.8p)", + program, index, bufSize, length, size, type, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, index, bufSize, length, size, + type, name); + + if (context->skipValidation() || + ValidateGetActiveUniform(context, program, index, bufSize, length, size, type, name)) + { + context->getActiveUniform(program, index, bufSize, length, size, type, name); + } + } +} + +void GL_APIENTRY GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName) +{ + EVENT( + "(GLuint program = %u, GLuint uniformBlockIndex = %u, GLsizei bufSize = %d, GLsizei " + "*length = 0x%0.8p, GLchar *uniformBlockName = 0x%0.8p)", + program, uniformBlockIndex, bufSize, length, uniformBlockName); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + program, uniformBlockIndex, bufSize, length, uniformBlockName); + + if (context->skipValidation() || + ValidateGetActiveUniformBlockName(context, program, uniformBlockIndex, bufSize, length, + uniformBlockName)) + { + context->getActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, + uniformBlockName); + } + } +} + +void GL_APIENTRY GetActiveUniformBlockivContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLuint uniformBlockIndex = %u, GLenum pname = 0x%X, GLint *params = " + "0x%0.8p)", + program, uniformBlockIndex, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, uniformBlockIndex, + pname, params); + + if (context->skipValidation() || + ValidateGetActiveUniformBlockiv(context, program, uniformBlockIndex, pname, params)) + { + context->getActiveUniformBlockiv(program, uniformBlockIndex, pname, params); + } + } +} + +void GL_APIENTRY GetActiveUniformsivContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLsizei uniformCount = %d, const GLuint *uniformIndices = 0x%0.8p, " + "GLenum pname = 0x%X, GLint *params = 0x%0.8p)", + program, uniformCount, uniformIndices, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, uniformCount, + uniformIndices, pname, params); + + if (context->skipValidation() || ValidateGetActiveUniformsiv(context, program, uniformCount, + uniformIndices, pname, params)) + { + context->getActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); + } + } +} + +void GL_APIENTRY GetAttachedShadersContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders) +{ + EVENT( + "(GLuint program = %u, GLsizei maxCount = %d, GLsizei *count = 0x%0.8p, GLuint *shaders = " + "0x%0.8p)", + program, maxCount, count, shaders); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, maxCount, count, shaders); + + if (context->skipValidation() || + ValidateGetAttachedShaders(context, program, maxCount, count, shaders)) + { + context->getAttachedShaders(program, maxCount, count, shaders); + } + } +} + +GLint GL_APIENTRY GetAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + EVENT("(GLuint program = %u, const GLchar *name = 0x%0.8p)", program, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, name); + + if (context->skipValidation() || ValidateGetAttribLocation(context, program, name)) + { + return context->getAttribLocation(program, name); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetBooleani_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLboolean *data) +{ + EVENT("(GLenum target = 0x%X, GLuint index = %u, GLboolean *data = 0x%0.8p)", target, index, + data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, data); + + if (context->skipValidation() || ValidateGetBooleani_v(context, target, index, data)) + { + context->getBooleani_v(target, index, data); + } + } +} + +void GL_APIENTRY GetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) +{ + EVENT("(GLenum pname = 0x%X, GLboolean *data = 0x%0.8p)", pname, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, data); + + if (context->skipValidation() || ValidateGetBooleanv(context, pname, data)) + { + context->getBooleanv(pname, data); + } + } +} + +void GL_APIENTRY GetBufferParameteri64vContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint64 *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint64 *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetBufferParameteri64v(context, targetPacked, pname, params)) + { + context->getBufferParameteri64v(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetBufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetBufferParameteriv(context, targetPacked, pname, params)) + { + context->getBufferParameteriv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetBufferPointervContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, void **params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetBufferPointerv(context, targetPacked, pname, params)) + { + context->getBufferPointerv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetBufferPointervOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, void **params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetBufferPointervOES(context, targetPacked, pname, params)) + { + context->getBufferPointerv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) +{ + EVENT("(GLenum plane = 0x%X, GLfloat *equation = 0x%0.8p)", plane, equation); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(plane, equation); + + if (context->skipValidation() || ValidateGetClipPlanef(context, plane, equation)) + { + context->getClipPlanef(plane, equation); + } + } +} + +void GL_APIENTRY GetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) +{ + EVENT("(GLenum plane = 0x%X, GLfixed *equation = 0x%0.8p)", plane, equation); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(plane, equation); + + if (context->skipValidation() || ValidateGetClipPlanex(context, plane, equation)) + { + context->getClipPlanex(plane, equation); + } + } +} + +GLuint GL_APIENTRY GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) +{ + EVENT( + "(GLuint count = %u, GLsizei bufSize = %d, GLenum *sources = 0x%0.8p, GLenum *types = " + "0x%0.8p, GLuint *ids = 0x%0.8p, GLenum *severities = 0x%0.8p, GLsizei *lengths = 0x%0.8p, " + "GLchar *messageLog = 0x%0.8p)", + count, bufSize, sources, types, ids, severities, lengths, messageLog); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + count, bufSize, sources, types, ids, severities, lengths, messageLog); + + if (context->skipValidation() || + ValidateGetDebugMessageLogKHR(context, count, bufSize, sources, types, ids, severities, + lengths, messageLog)) + { + return context->getDebugMessageLog(count, bufSize, sources, types, ids, severities, + lengths, messageLog); + } + } + + return GetDefaultReturnValue(); +} + +GLenum GL_APIENTRY GetErrorContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = GetGlobalContext(); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateGetError(context)) + { + return context->getError(); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetFenceivNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint fence = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", fence, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fence, pname, params); + + if (context->skipValidation() || ValidateGetFenceivNV(context, fence, pname, params)) + { + context->getFenceivNV(fence, pname, params); + } + } +} + +void GL_APIENTRY GetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) +{ + EVENT("(GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidateGetFixedv(context, pname, params)) + { + context->getFixedv(pname, params); + } + } +} + +void GL_APIENTRY GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) +{ + EVENT("(GLenum pname = 0x%X, GLfloat *data = 0x%0.8p)", pname, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, data); + + if (context->skipValidation() || ValidateGetFloatv(context, pname, data)) + { + context->getFloatv(pname, data); + } + } +} + +GLint GL_APIENTRY GetFragDataLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + EVENT("(GLuint program = %u, const GLchar *name = 0x%0.8p)", program, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, name); + + if (context->skipValidation() || ValidateGetFragDataLocation(context, program, name)) + { + return context->getFragDataLocation(program, name); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum pname = 0x%X, GLint *params = " + "0x%0.8p)", + target, attachment, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, attachment, + pname, params); + + if (context->skipValidation() || + ValidateGetFramebufferAttachmentParameteriv(context, target, attachment, pname, params)) + { + context->getFramebufferAttachmentParameteriv(target, attachment, pname, params); + } + } +} + +void GL_APIENTRY GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum pname = 0x%X, GLint *params = " + "0x%0.8p)", + target, attachment, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, pname, params); + + if (context->skipValidation() || ValidateGetFramebufferAttachmentParameterivOES( + context, target, attachment, pname, params)) + { + context->getFramebufferAttachmentParameteriv(target, attachment, pname, params); + } + } +} + +void GL_APIENTRY GetFramebufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || + ValidateGetFramebufferParameteriv(context, target, pname, params)) + { + context->getFramebufferParameteriv(target, pname, params); + } + } +} + +GLenum GL_APIENTRY GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateGetGraphicsResetStatusEXT(context)) + { + return context->getGraphicsResetStatus(); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetInteger64i_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint64 *data) +{ + EVENT("(GLenum target = 0x%X, GLuint index = %u, GLint64 *data = 0x%0.8p)", target, index, + data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, data); + + if (context->skipValidation() || ValidateGetInteger64i_v(context, target, index, data)) + { + context->getInteger64i_v(target, index, data); + } + } +} + +void GL_APIENTRY GetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) +{ + EVENT("(GLenum pname = 0x%X, GLint64 *data = 0x%0.8p)", pname, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, data); + + if (context->skipValidation() || ValidateGetInteger64v(context, pname, data)) + { + context->getInteger64v(pname, data); + } + } +} + +void GL_APIENTRY GetIntegeri_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint *data) +{ + EVENT("(GLenum target = 0x%X, GLuint index = %u, GLint *data = 0x%0.8p)", target, index, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, data); + + if (context->skipValidation() || ValidateGetIntegeri_v(context, target, index, data)) + { + context->getIntegeri_v(target, index, data); + } + } +} + +void GL_APIENTRY GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) +{ + EVENT("(GLenum pname = 0x%X, GLint *data = 0x%0.8p)", pname, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, data); + + if (context->skipValidation() || ValidateGetIntegerv(context, pname, data)) + { + context->getIntegerv(pname, data); + } + } +} + +void GL_APIENTRY GetInternalformativContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum internalformat = 0x%X, GLenum pname = 0x%X, GLsizei bufSize " + "= %d, GLint *params = 0x%0.8p)", + target, internalformat, pname, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, internalformat, pname, + bufSize, params); + + if (context->skipValidation() || + ValidateGetInternalformativ(context, target, internalformat, pname, bufSize, params)) + { + context->getInternalformativ(target, internalformat, pname, bufSize, params); + } + } +} + +void GL_APIENTRY GetLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", light, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, params); + + if (context->skipValidation() || ValidateGetLightfv(context, light, pname, params)) + { + context->getLightfv(light, pname, params); + } + } +} + +void GL_APIENTRY GetLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed *params) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", light, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, params); + + if (context->skipValidation() || ValidateGetLightxv(context, light, pname, params)) + { + context->getLightxv(light, pname, params); + } + } +} + +void GL_APIENTRY GetMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", face, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, params); + + if (context->skipValidation() || ValidateGetMaterialfv(context, face, pname, params)) + { + context->getMaterialfv(face, pname, params); + } + } +} + +void GL_APIENTRY GetMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed *params) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", face, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, params); + + if (context->skipValidation() || ValidateGetMaterialxv(context, face, pname, params)) + { + context->getMaterialxv(face, pname, params); + } + } +} + +void GL_APIENTRY GetMultisamplefvContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val) +{ + EVENT("(GLenum pname = 0x%X, GLuint index = %u, GLfloat *val = 0x%0.8p)", pname, index, val); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, index, val); + + if (context->skipValidation() || ValidateGetMultisamplefv(context, pname, index, val)) + { + context->getMultisamplefv(pname, index, val); + } + } +} + +void GL_APIENTRY GetObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label) +{ + EVENT( + "(GLenum identifier = 0x%X, GLuint name = %u, GLsizei bufSize = %d, GLsizei *length = " + "0x%0.8p, GLchar *label = 0x%0.8p)", + identifier, name, bufSize, length, label); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(identifier, name, bufSize, length, + label); + + if (context->skipValidation() || + ValidateGetObjectLabelKHR(context, identifier, name, bufSize, length, label)) + { + context->getObjectLabel(identifier, name, bufSize, length, label); + } + } +} + +void GL_APIENTRY GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label) +{ + EVENT( + "(const void *ptr = 0x%0.8p, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLchar " + "*label = 0x%0.8p)", + ptr, bufSize, length, label); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(ptr, bufSize, length, label); + + if (context->skipValidation() || + ValidateGetObjectPtrLabelKHR(context, ptr, bufSize, length, label)) + { + context->getObjectPtrLabel(ptr, bufSize, length, label); + } + } +} + +void GL_APIENTRY GetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) +{ + EVENT("(GLenum pname = 0x%X, void **params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidateGetPointerv(context, pname, params)) + { + context->getPointerv(pname, params); + } + } +} + +void GL_APIENTRY GetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) +{ + EVENT("(GLenum pname = 0x%X, void **params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidateGetPointervKHR(context, pname, params)) + { + context->getPointerv(pname, params); + } + } +} + +void GL_APIENTRY GetProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) +{ + EVENT( + "(GLuint program = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLenum " + "*binaryFormat = 0x%0.8p, void *binary = 0x%0.8p)", + program, bufSize, length, binaryFormat, binary); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, bufSize, length, binaryFormat, + binary); + + if (context->skipValidation() || + ValidateGetProgramBinary(context, program, bufSize, length, binaryFormat, binary)) + { + context->getProgramBinary(program, bufSize, length, binaryFormat, binary); + } + } +} + +void GL_APIENTRY GetProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) +{ + EVENT( + "(GLuint program = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLenum " + "*binaryFormat = 0x%0.8p, void *binary = 0x%0.8p)", + program, bufSize, length, binaryFormat, binary); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, bufSize, length, + binaryFormat, binary); + + if (context->skipValidation() || + ValidateGetProgramBinaryOES(context, program, bufSize, length, binaryFormat, binary)) + { + context->getProgramBinary(program, bufSize, length, binaryFormat, binary); + } + } +} + +void GL_APIENTRY GetProgramInfoLogContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + EVENT( + "(GLuint program = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLchar *infoLog = " + "0x%0.8p)", + program, bufSize, length, infoLog); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, bufSize, length, infoLog); + + if (context->skipValidation() || + ValidateGetProgramInfoLog(context, program, bufSize, length, infoLog)) + { + context->getProgramInfoLog(program, bufSize, length, infoLog); + } + } +} + +void GL_APIENTRY GetProgramInterfaceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLenum programInterface = 0x%X, GLenum pname = 0x%X, GLint *params " + "= 0x%0.8p)", + program, programInterface, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, programInterface, pname, + params); + + if (context->skipValidation() || + ValidateGetProgramInterfaceiv(context, program, programInterface, pname, params)) + { + context->getProgramInterfaceiv(program, programInterface, pname, params); + } + } +} + +void GL_APIENTRY GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + EVENT( + "(GLuint pipeline = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLchar *infoLog = " + "0x%0.8p)", + pipeline, bufSize, length, infoLog); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline, bufSize, length, + infoLog); + + if (context->skipValidation() || + ValidateGetProgramPipelineInfoLog(context, pipeline, bufSize, length, infoLog)) + { + context->getProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); + } + } +} + +void GL_APIENTRY GetProgramPipelineivContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint pipeline = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", pipeline, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline, pname, params); + + if (context->skipValidation() || + ValidateGetProgramPipelineiv(context, pipeline, pname, params)) + { + context->getProgramPipelineiv(pipeline, pname, params); + } + } +} + +GLuint GL_APIENTRY GetProgramResourceIndexContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) +{ + EVENT("(GLuint program = %u, GLenum programInterface = 0x%X, const GLchar *name = 0x%0.8p)", + program, programInterface, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, programInterface, name); + + if (context->skipValidation() || + ValidateGetProgramResourceIndex(context, program, programInterface, name)) + { + return context->getProgramResourceIndex(program, programInterface, name); + } + } + + return GetDefaultReturnValue(); +} + +GLint GL_APIENTRY GetProgramResourceLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) +{ + EVENT("(GLuint program = %u, GLenum programInterface = 0x%X, const GLchar *name = 0x%0.8p)", + program, programInterface, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, programInterface, + name); + + if (context->skipValidation() || + ValidateGetProgramResourceLocation(context, program, programInterface, name)) + { + return context->getProgramResourceLocation(program, programInterface, name); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetProgramResourceNameContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name) +{ + EVENT( + "(GLuint program = %u, GLenum programInterface = 0x%X, GLuint index = %u, GLsizei bufSize " + "= %d, GLsizei *length = 0x%0.8p, GLchar *name = 0x%0.8p)", + program, programInterface, index, bufSize, length, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, programInterface, index, + bufSize, length, name); + + if (context->skipValidation() || + ValidateGetProgramResourceName(context, program, programInterface, index, bufSize, + length, name)) + { + context->getProgramResourceName(program, programInterface, index, bufSize, length, + name); + } + } +} + +void GL_APIENTRY GetProgramResourceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLenum programInterface = 0x%X, GLuint index = %u, GLsizei " + "propCount = %d, const GLenum *props = 0x%0.8p, GLsizei bufSize = %d, GLsizei *length = " + "0x%0.8p, GLint *params = 0x%0.8p)", + program, programInterface, index, propCount, props, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + program, programInterface, index, propCount, props, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetProgramResourceiv(context, program, programInterface, index, propCount, + props, bufSize, length, params)) + { + context->getProgramResourceiv(program, programInterface, index, propCount, props, + bufSize, length, params); + } + } +} + +void GL_APIENTRY GetProgramivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint program = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", program, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, pname, params); + + if (context->skipValidation() || ValidateGetProgramiv(context, program, pname, params)) + { + context->getProgramiv(program, pname, params); + } + } +} + +void GL_APIENTRY GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint64 *params) +{ + EVENT("(GLuint id = %u, GLenum pname = 0x%X, GLint64 *params = 0x%0.8p)", id, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, params); + + if (context->skipValidation() || ValidateGetQueryObjecti64vEXT(context, id, pname, params)) + { + context->getQueryObjecti64v(id, pname, params); + } + } +} + +void GL_APIENTRY GetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint id = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", id, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, params); + + if (context->skipValidation() || ValidateGetQueryObjectivEXT(context, id, pname, params)) + { + context->getQueryObjectiv(id, pname, params); + } + } +} + +void GL_APIENTRY GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint64 *params) +{ + EVENT("(GLuint id = %u, GLenum pname = 0x%X, GLuint64 *params = 0x%0.8p)", id, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, params); + + if (context->skipValidation() || ValidateGetQueryObjectui64vEXT(context, id, pname, params)) + { + context->getQueryObjectui64v(id, pname, params); + } + } +} + +void GL_APIENTRY GetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) +{ + EVENT("(GLuint id = %u, GLenum pname = 0x%X, GLuint *params = 0x%0.8p)", id, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, params); + + if (context->skipValidation() || ValidateGetQueryObjectuiv(context, id, pname, params)) + { + context->getQueryObjectuiv(id, pname, params); + } + } +} + +void GL_APIENTRY GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) +{ + EVENT("(GLuint id = %u, GLenum pname = 0x%X, GLuint *params = 0x%0.8p)", id, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, params); + + if (context->skipValidation() || ValidateGetQueryObjectuivEXT(context, id, pname, params)) + { + context->getQueryObjectuiv(id, pname, params); + } + } +} + +void GL_APIENTRY GetQueryivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || ValidateGetQueryiv(context, targetPacked, pname, params)) + { + context->getQueryiv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetQueryivEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetQueryivEXT(context, targetPacked, pname, params)) + { + context->getQueryiv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetRenderbufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || + ValidateGetRenderbufferParameteriv(context, target, pname, params)) + { + context->getRenderbufferParameteriv(target, pname, params); + } + } +} + +void GL_APIENTRY GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || + ValidateGetRenderbufferParameterivOES(context, target, pname, params)) + { + context->getRenderbufferParameteriv(target, pname, params); + } + } +} + +void GL_APIENTRY GetSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", sampler, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, params); + + if (context->skipValidation() || + ValidateGetSamplerParameterfv(context, sampler, pname, params)) + { + context->getSamplerParameterfv(sampler, pname, params); + } + } +} + +void GL_APIENTRY GetSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", sampler, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, params); + + if (context->skipValidation() || + ValidateGetSamplerParameteriv(context, sampler, pname, params)) + { + context->getSamplerParameteriv(sampler, pname, params); + } + } +} + +void GL_APIENTRY GetShaderInfoLogContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + EVENT( + "(GLuint shader = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLchar *infoLog = " + "0x%0.8p)", + shader, bufSize, length, infoLog); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, bufSize, length, infoLog); + + if (context->skipValidation() || + ValidateGetShaderInfoLog(context, shader, bufSize, length, infoLog)) + { + context->getShaderInfoLog(shader, bufSize, length, infoLog); + } + } +} + +void GL_APIENTRY GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, + GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision) +{ + EVENT( + "(GLenum shadertype = 0x%X, GLenum precisiontype = 0x%X, GLint *range = 0x%0.8p, GLint " + "*precision = 0x%0.8p)", + shadertype, precisiontype, range, precision); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shadertype, precisiontype, + range, precision); + + if (context->skipValidation() || + ValidateGetShaderPrecisionFormat(context, shadertype, precisiontype, range, precision)) + { + context->getShaderPrecisionFormat(shadertype, precisiontype, range, precision); + } + } +} + +void GL_APIENTRY GetShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source) +{ + EVENT( + "(GLuint shader = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, GLchar *source = " + "0x%0.8p)", + shader, bufSize, length, source); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, bufSize, length, source); + + if (context->skipValidation() || + ValidateGetShaderSource(context, shader, bufSize, length, source)) + { + context->getShaderSource(shader, bufSize, length, source); + } + } +} + +void GL_APIENTRY GetShaderivContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint shader = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", shader, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, pname, params); + + if (context->skipValidation() || ValidateGetShaderiv(context, shader, pname, params)) + { + context->getShaderiv(shader, pname, params); + } + } +} + +const GLubyte *GL_APIENTRY GetStringContextANGLE(GLeglContext ctx, GLenum name) +{ + EVENT("(GLenum name = 0x%X)", name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(name); + + if (context->skipValidation() || ValidateGetString(context, name)) + { + return context->getString(name); + } + } + + return GetDefaultReturnValue(); +} + +const GLubyte *GL_APIENTRY GetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) +{ + EVENT("(GLenum name = 0x%X, GLuint index = %u)", name, index); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(name, index); + + if (context->skipValidation() || ValidateGetStringi(context, name, index)) + { + return context->getStringi(name, index); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetSyncivContextANGLE(GLeglContext ctx, + GLsync sync, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *values) +{ + EVENT( + "(GLsync sync = 0x%0.8p, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei *length = " + "0x%0.8p, GLint *values = 0x%0.8p)", + sync, pname, bufSize, length, values); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sync, pname, bufSize, length, values); + + if (context->skipValidation() || + ValidateGetSynciv(context, sync, pname, bufSize, length, values)) + { + context->getSynciv(sync, pname, bufSize, length, values); + } + } +} + +void GL_APIENTRY GetTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateGetTexEnvfv(context, target, pname, params)) + { + context->getTexEnvfv(target, pname, params); + } + } +} + +void GL_APIENTRY GetTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateGetTexEnviv(context, target, pname, params)) + { + context->getTexEnviv(target, pname, params); + } + } +} + +void GL_APIENTRY GetTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateGetTexEnvxv(context, target, pname, params)) + { + context->getTexEnvxv(target, pname, params); + } + } +} + +void GL_APIENTRY GetTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", coord, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateGetTexGenfvOES(context, coord, pname, params)) + { + context->getTexGenfv(coord, pname, params); + } + } +} + +void GL_APIENTRY GetTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", coord, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateGetTexGenivOES(context, coord, pname, params)) + { + context->getTexGeniv(coord, pname, params); + } + } +} + +void GL_APIENTRY GetTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", coord, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateGetTexGenxvOES(context, coord, pname, params)) + { + context->getTexGenxv(coord, pname, params); + } + } +} + +void GL_APIENTRY GetTexLevelParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", + target, level, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, pname, + params); + + if (context->skipValidation() || + ValidateGetTexLevelParameterfv(context, targetPacked, level, pname, params)) + { + context->getTexLevelParameterfv(targetPacked, level, pname, params); + } + } +} + +void GL_APIENTRY GetTexLevelParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLint level = %d, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", + target, level, pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, pname, + params); + + if (context->skipValidation() || + ValidateGetTexLevelParameteriv(context, targetPacked, level, pname, params)) + { + context->getTexLevelParameteriv(targetPacked, level, pname, params); + } + } +} + +void GL_APIENTRY GetTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetTexParameterfv(context, targetPacked, pname, params)) + { + context->getTexParameterfv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetTexParameteriv(context, targetPacked, pname, params)) + { + context->getTexParameteriv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfixed *params = 0x%0.8p)", target, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateGetTexParameterxv(context, targetPacked, pname, params)) + { + context->getTexParameterxv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name) +{ + EVENT( + "(GLuint program = %u, GLuint index = %u, GLsizei bufSize = %d, GLsizei *length = 0x%0.8p, " + "GLsizei *size = 0x%0.8p, GLenum *type = 0x%0.8p, GLchar *name = 0x%0.8p)", + program, index, bufSize, length, size, type, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, index, bufSize, + length, size, type, name); + + if (context->skipValidation() || + ValidateGetTransformFeedbackVarying(context, program, index, bufSize, length, size, + type, name)) + { + context->getTransformFeedbackVarying(program, index, bufSize, length, size, type, name); + } + } +} + +void GL_APIENTRY GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source) +{ + EVENT( + "(GLuint shader = %u, GLsizei bufsize = %d, GLsizei *length = 0x%0.8p, GLchar *source = " + "0x%0.8p)", + shader, bufsize, length, source); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, bufsize, length, + source); + + if (context->skipValidation() || + ValidateGetTranslatedShaderSourceANGLE(context, shader, bufsize, length, source)) + { + context->getTranslatedShaderSource(shader, bufsize, length, source); + } + } +} + +GLuint GL_APIENTRY GetUniformBlockIndexContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *uniformBlockName) +{ + EVENT("(GLuint program = %u, const GLchar *uniformBlockName = 0x%0.8p)", program, + uniformBlockName); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, uniformBlockName); + + if (context->skipValidation() || + ValidateGetUniformBlockIndex(context, program, uniformBlockName)) + { + return context->getUniformBlockIndex(program, uniformBlockName); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetUniformIndicesContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices) +{ + EVENT( + "(GLuint program = %u, GLsizei uniformCount = %d, const GLchar *const*uniformNames = " + "0x%0.8p, GLuint *uniformIndices = 0x%0.8p)", + program, uniformCount, uniformNames, uniformIndices); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, uniformCount, uniformNames, + uniformIndices); + + if (context->skipValidation() || + ValidateGetUniformIndices(context, program, uniformCount, uniformNames, uniformIndices)) + { + context->getUniformIndices(program, uniformCount, uniformNames, uniformIndices); + } + } +} + +GLint GL_APIENTRY GetUniformLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + EVENT("(GLuint program = %u, const GLchar *name = 0x%0.8p)", program, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, name); + + if (context->skipValidation() || ValidateGetUniformLocation(context, program, name)) + { + return context->getUniformLocation(program, name); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY GetUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat *params) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLfloat *params = 0x%0.8p)", program, + location, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, params); + + if (context->skipValidation() || ValidateGetUniformfv(context, program, location, params)) + { + context->getUniformfv(program, location, params); + } + } +} + +void GL_APIENTRY GetUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint *params) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLint *params = 0x%0.8p)", program, location, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, params); + + if (context->skipValidation() || ValidateGetUniformiv(context, program, location, params)) + { + context->getUniformiv(program, location, params); + } + } +} + +void GL_APIENTRY GetUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint *params) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLuint *params = 0x%0.8p)", program, location, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, params); + + if (context->skipValidation() || ValidateGetUniformuiv(context, program, location, params)) + { + context->getUniformuiv(program, location, params); + } + } +} + +void GL_APIENTRY GetVertexAttribIivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint index = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", index, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, params); + + if (context->skipValidation() || ValidateGetVertexAttribIiv(context, index, pname, params)) + { + context->getVertexAttribIiv(index, pname, params); + } + } +} + +void GL_APIENTRY GetVertexAttribIuivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLuint *params) +{ + EVENT("(GLuint index = %u, GLenum pname = 0x%X, GLuint *params = 0x%0.8p)", index, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, params); + + if (context->skipValidation() || ValidateGetVertexAttribIuiv(context, index, pname, params)) + { + context->getVertexAttribIuiv(index, pname, params); + } + } +} + +void GL_APIENTRY GetVertexAttribPointervContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + void **pointer) +{ + EVENT("(GLuint index = %u, GLenum pname = 0x%X, void **pointer = 0x%0.8p)", index, pname, + pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, pointer); + + if (context->skipValidation() || + ValidateGetVertexAttribPointerv(context, index, pname, pointer)) + { + context->getVertexAttribPointerv(index, pname, pointer); + } + } +} + +void GL_APIENTRY GetVertexAttribfvContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLfloat *params) +{ + EVENT("(GLuint index = %u, GLenum pname = 0x%X, GLfloat *params = 0x%0.8p)", index, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, params); + + if (context->skipValidation() || ValidateGetVertexAttribfv(context, index, pname, params)) + { + context->getVertexAttribfv(index, pname, params); + } + } +} + +void GL_APIENTRY GetVertexAttribivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) +{ + EVENT("(GLuint index = %u, GLenum pname = 0x%X, GLint *params = 0x%0.8p)", index, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, params); + + if (context->skipValidation() || ValidateGetVertexAttribiv(context, index, pname, params)) + { + context->getVertexAttribiv(index, pname, params); + } + } +} + +void GL_APIENTRY GetnUniformfvEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLfloat *params = " + "0x%0.8p)", + program, location, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, params); + + if (context->skipValidation() || + ValidateGetnUniformfvEXT(context, program, location, bufSize, params)) + { + context->getnUniformfv(program, location, bufSize, params); + } + } +} + +void GL_APIENTRY GetnUniformivEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLint *params = 0x%0.8p)", + program, location, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, params); + + if (context->skipValidation() || + ValidateGetnUniformivEXT(context, program, location, bufSize, params)) + { + context->getnUniformiv(program, location, bufSize, params); + } + } +} + +void GL_APIENTRY HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) +{ + EVENT("(GLenum target = 0x%X, GLenum mode = 0x%X)", target, mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, mode); + + if (context->skipValidation() || ValidateHint(context, target, mode)) + { + context->hint(target, mode); + } + } +} + +void GL_APIENTRY InsertEventMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) +{ + // Don't run an EVENT() macro on the EXT_debug_marker entry points. + // It can interfere with the debug events being set by the caller. + // EVENT("(GLsizei length = %d, const GLchar *marker = 0x%0.8p)", length, marker); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(length, marker); + + if (context->skipValidation() || ValidateInsertEventMarkerEXT(context, length, marker)) + { + context->insertEventMarker(length, marker); + } + } +} + +void GL_APIENTRY InvalidateFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei numAttachments = %d, const GLenum *attachments = 0x%0.8p)", + target, numAttachments, attachments); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, numAttachments, + attachments); + + if (context->skipValidation() || + ValidateInvalidateFramebuffer(context, target, numAttachments, attachments)) + { + context->invalidateFramebuffer(target, numAttachments, attachments); + } + } +} + +void GL_APIENTRY InvalidateSubFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei numAttachments = %d, const GLenum *attachments = 0x%0.8p, " + "GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d)", + target, numAttachments, attachments, x, y, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, numAttachments, attachments, x, y, width, height); + + if (context->skipValidation() || + ValidateInvalidateSubFramebuffer(context, target, numAttachments, attachments, x, y, + width, height)) + { + context->invalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, + height); + } + } +} + +GLboolean GL_APIENTRY IsBufferContextANGLE(GLeglContext ctx, GLuint buffer) +{ + EVENT("(GLuint buffer = %u)", buffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(buffer); + + if (context->skipValidation() || ValidateIsBuffer(context, buffer)) + { + return context->isBuffer(buffer); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsEnabledContextANGLE(GLeglContext ctx, GLenum cap) +{ + EVENT("(GLenum cap = 0x%X)", cap); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(cap); + + if (context->skipValidation() || ValidateIsEnabled(context, cap)) + { + return context->isEnabled(cap); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + EVENT("(GLuint fence = %u)", fence); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fence); + + if (context->skipValidation() || ValidateIsFenceNV(context, fence)) + { + return context->isFenceNV(fence); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) +{ + EVENT("(GLuint framebuffer = %u)", framebuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(framebuffer); + + if (context->skipValidation() || ValidateIsFramebuffer(context, framebuffer)) + { + return context->isFramebuffer(framebuffer); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) +{ + EVENT("(GLuint framebuffer = %u)", framebuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(framebuffer); + + if (context->skipValidation() || ValidateIsFramebufferOES(context, framebuffer)) + { + return context->isFramebuffer(framebuffer); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + EVENT("(GLuint program = %u)", program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program); + + if (context->skipValidation() || ValidateIsProgram(context, program)) + { + return context->isProgram(program); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + EVENT("(GLuint pipeline = %u)", pipeline); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline); + + if (context->skipValidation() || ValidateIsProgramPipeline(context, pipeline)) + { + return context->isProgramPipeline(pipeline); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsQueryContextANGLE(GLeglContext ctx, GLuint id) +{ + EVENT("(GLuint id = %u)", id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id); + + if (context->skipValidation() || ValidateIsQuery(context, id)) + { + return context->isQuery(id); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) +{ + EVENT("(GLuint id = %u)", id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id); + + if (context->skipValidation() || ValidateIsQueryEXT(context, id)) + { + return context->isQuery(id); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) +{ + EVENT("(GLuint renderbuffer = %u)", renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(renderbuffer); + + if (context->skipValidation() || ValidateIsRenderbuffer(context, renderbuffer)) + { + return context->isRenderbuffer(renderbuffer); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) +{ + EVENT("(GLuint renderbuffer = %u)", renderbuffer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(renderbuffer); + + if (context->skipValidation() || ValidateIsRenderbufferOES(context, renderbuffer)) + { + return context->isRenderbuffer(renderbuffer); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) +{ + EVENT("(GLuint sampler = %u)", sampler); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler); + + if (context->skipValidation() || ValidateIsSampler(context, sampler)) + { + return context->isSampler(sampler); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + EVENT("(GLuint shader = %u)", shader); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader); + + if (context->skipValidation() || ValidateIsShader(context, shader)) + { + return context->isShader(shader); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsSyncContextANGLE(GLeglContext ctx, GLsync sync) +{ + EVENT("(GLsync sync = 0x%0.8p)", sync); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sync); + + if (context->skipValidation() || ValidateIsSync(context, sync)) + { + return context->isSync(sync); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsTextureContextANGLE(GLeglContext ctx, GLuint texture) +{ + EVENT("(GLuint texture = %u)", texture); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(texture); + + if (context->skipValidation() || ValidateIsTexture(context, texture)) + { + return context->isTexture(texture); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) +{ + EVENT("(GLuint id = %u)", id); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id); + + if (context->skipValidation() || ValidateIsTransformFeedback(context, id)) + { + return context->isTransformFeedback(id); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +{ + EVENT("(GLuint array = %u)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(array); + + if (context->skipValidation() || ValidateIsVertexArray(context, array)) + { + return context->isVertexArray(array); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +{ + EVENT("(GLuint array = %u)", array); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(array); + + if (context->skipValidation() || ValidateIsVertexArrayOES(context, array)) + { + return context->isVertexArray(array); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY LightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + EVENT("(GLenum pname = 0x%X, GLfloat param = %f)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateLightModelf(context, pname, param)) + { + context->lightModelf(pname, param); + } + } +} + +void GL_APIENTRY LightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +{ + EVENT("(GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidateLightModelfv(context, pname, params)) + { + context->lightModelfv(pname, params); + } + } +} + +void GL_APIENTRY LightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + EVENT("(GLenum pname = 0x%X, GLfixed param = 0x%X)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateLightModelx(context, pname, param)) + { + context->lightModelx(pname, param); + } + } +} + +void GL_APIENTRY LightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +{ + EVENT("(GLenum pname = 0x%X, const GLfixed *param = 0x%0.8p)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidateLightModelxv(context, pname, param)) + { + context->lightModelxv(pname, param); + } + } +} + +void GL_APIENTRY LightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", light, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, param); + + if (context->skipValidation() || ValidateLightf(context, light, pname, param)) + { + context->lightf(light, pname, param); + } + } +} + +void GL_APIENTRY LightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfloat *params) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", light, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, params); + + if (context->skipValidation() || ValidateLightfv(context, light, pname, params)) + { + context->lightfv(light, pname, params); + } + } +} + +void GL_APIENTRY LightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, GLfixed param = 0x%X)", light, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, param); + + if (context->skipValidation() || ValidateLightx(context, light, pname, param)) + { + context->lightx(light, pname, param); + } + } +} + +void GL_APIENTRY LightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfixed *params) +{ + EVENT("(GLenum light = 0x%X, GLenum pname = 0x%X, const GLfixed *params = 0x%0.8p)", light, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(light, pname, params); + + if (context->skipValidation() || ValidateLightxv(context, light, pname, params)) + { + context->lightxv(light, pname, params); + } + } +} + +void GL_APIENTRY LineWidthContextANGLE(GLeglContext ctx, GLfloat width) +{ + EVENT("(GLfloat width = %f)", width); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(width); + + if (context->skipValidation() || ValidateLineWidth(context, width)) + { + context->lineWidth(width); + } + } +} + +void GL_APIENTRY LineWidthxContextANGLE(GLeglContext ctx, GLfixed width) +{ + EVENT("(GLfixed width = 0x%X)", width); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(width); + + if (context->skipValidation() || ValidateLineWidthx(context, width)) + { + context->lineWidthx(width); + } + } +} + +void GL_APIENTRY LinkProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + EVENT("(GLuint program = %u)", program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program); + + if (context->skipValidation() || ValidateLinkProgram(context, program)) + { + context->linkProgram(program); + } + } +} + +void GL_APIENTRY LoadIdentityContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateLoadIdentity(context)) + { + context->loadIdentity(); + } + } +} + +void GL_APIENTRY LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +{ + EVENT("(const GLfloat *m = 0x%0.8p)", m); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(m); + + if (context->skipValidation() || ValidateLoadMatrixf(context, m)) + { + context->loadMatrixf(m); + } + } +} + +void GL_APIENTRY LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +{ + EVENT("(const GLfixed *m = 0x%0.8p)", m); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(m); + + if (context->skipValidation() || ValidateLoadMatrixx(context, m)) + { + context->loadMatrixx(m); + } + } +} + +void GL_APIENTRY LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateLoadPaletteFromModelViewMatrixOES(context)) + { + context->loadPaletteFromModelViewMatrix(); + } + } +} + +void GL_APIENTRY LogicOpContextANGLE(GLeglContext ctx, GLenum opcode) +{ + EVENT("(GLenum opcode = 0x%X)", opcode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(opcode); + + if (context->skipValidation() || ValidateLogicOp(context, opcode)) + { + context->logicOp(opcode); + } + } +} + +void *GL_APIENTRY MapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) +{ + EVENT("(GLenum target = 0x%X, GLenum access = 0x%X)", target, access); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, access); + + if (context->skipValidation() || ValidateMapBufferOES(context, targetPacked, access)) + { + return context->mapBuffer(targetPacked, access); + } + } + + return GetDefaultReturnValue(); +} + +void *GL_APIENTRY MapBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) +{ + EVENT( + "(GLenum target = 0x%X, GLintptr offset = %d, GLsizeiptr length = %d, GLbitfield access = " + "0x%X)", + target, offset, length, access); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, offset, length, access); + + if (context->skipValidation() || + ValidateMapBufferRange(context, targetPacked, offset, length, access)) + { + return context->mapBufferRange(targetPacked, offset, length, access); + } + } + + return GetDefaultReturnValue(); +} + +void *GL_APIENTRY MapBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) +{ + EVENT( + "(GLenum target = 0x%X, GLintptr offset = %d, GLsizeiptr length = %d, GLbitfield access = " + "0x%X)", + target, offset, length, access); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, offset, length, access); + + if (context->skipValidation() || + ValidateMapBufferRangeEXT(context, targetPacked, offset, length, access)) + { + return context->mapBufferRange(targetPacked, offset, length, access); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY MaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", face, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, param); + + if (context->skipValidation() || ValidateMaterialf(context, face, pname, param)) + { + context->materialf(face, pname, param); + } + } +} + +void GL_APIENTRY MaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfloat *params) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", face, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, params); + + if (context->skipValidation() || ValidateMaterialfv(context, face, pname, params)) + { + context->materialfv(face, pname, params); + } + } +} + +void GL_APIENTRY MaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, GLfixed param = 0x%X)", face, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, param); + + if (context->skipValidation() || ValidateMaterialx(context, face, pname, param)) + { + context->materialx(face, pname, param); + } + } +} + +void GL_APIENTRY MaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfixed *param) +{ + EVENT("(GLenum face = 0x%X, GLenum pname = 0x%X, const GLfixed *param = 0x%0.8p)", face, pname, + param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, pname, param); + + if (context->skipValidation() || ValidateMaterialxv(context, face, pname, param)) + { + context->materialxv(face, pname, param); + } + } +} + +void GL_APIENTRY MatrixIndexPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", + size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size, type, stride, pointer); + + if (context->skipValidation() || + ValidateMatrixIndexPointerOES(context, size, type, stride, pointer)) + { + context->matrixIndexPointer(size, type, stride, pointer); + } + } +} + +void GL_APIENTRY MatrixModeContextANGLE(GLeglContext ctx, GLenum mode) +{ + EVENT("(GLenum mode = 0x%X)", mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + MatrixType modePacked = FromGLenum(mode); + context->gatherParams(modePacked); + + if (context->skipValidation() || ValidateMatrixMode(context, modePacked)) + { + context->matrixMode(modePacked); + } + } +} + +void GL_APIENTRY MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) +{ + EVENT("(GLbitfield barriers = 0x%X)", barriers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(barriers); + + if (context->skipValidation() || ValidateMemoryBarrier(context, barriers)) + { + context->memoryBarrier(barriers); + } + } +} + +void GL_APIENTRY MemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) +{ + EVENT("(GLbitfield barriers = 0x%X)", barriers); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(barriers); + + if (context->skipValidation() || ValidateMemoryBarrierByRegion(context, barriers)) + { + context->memoryBarrierByRegion(barriers); + } + } +} + +void GL_APIENTRY MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +{ + EVENT("(const GLfloat *m = 0x%0.8p)", m); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(m); + + if (context->skipValidation() || ValidateMultMatrixf(context, m)) + { + context->multMatrixf(m); + } + } +} + +void GL_APIENTRY MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +{ + EVENT("(const GLfixed *m = 0x%0.8p)", m); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(m); + + if (context->skipValidation() || ValidateMultMatrixx(context, m)) + { + context->multMatrixx(m); + } + } +} + +void GL_APIENTRY MultiTexCoord4fContextANGLE(GLeglContext ctx, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r, + GLfloat q) +{ + EVENT("(GLenum target = 0x%X, GLfloat s = %f, GLfloat t = %f, GLfloat r = %f, GLfloat q = %f)", + target, s, t, r, q); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, s, t, r, q); + + if (context->skipValidation() || ValidateMultiTexCoord4f(context, target, s, t, r, q)) + { + context->multiTexCoord4f(target, s, t, r, q); + } + } +} + +void GL_APIENTRY MultiTexCoord4xContextANGLE(GLeglContext ctx, + GLenum texture, + GLfixed s, + GLfixed t, + GLfixed r, + GLfixed q) +{ + EVENT( + "(GLenum texture = 0x%X, GLfixed s = 0x%X, GLfixed t = 0x%X, GLfixed r = 0x%X, GLfixed q = " + "0x%X)", + texture, s, t, r, q); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(texture, s, t, r, q); + + if (context->skipValidation() || ValidateMultiTexCoord4x(context, texture, s, t, r, q)) + { + context->multiTexCoord4x(texture, s, t, r, q); + } + } +} + +void GL_APIENTRY Normal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) +{ + EVENT("(GLfloat nx = %f, GLfloat ny = %f, GLfloat nz = %f)", nx, ny, nz); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(nx, ny, nz); + + if (context->skipValidation() || ValidateNormal3f(context, nx, ny, nz)) + { + context->normal3f(nx, ny, nz); + } + } +} + +void GL_APIENTRY Normal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) +{ + EVENT("(GLfixed nx = 0x%X, GLfixed ny = 0x%X, GLfixed nz = 0x%X)", nx, ny, nz); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(nx, ny, nz); + + if (context->skipValidation() || ValidateNormal3x(context, nx, ny, nz)) + { + context->normal3x(nx, ny, nz); + } + } +} + +void GL_APIENTRY NormalPointerContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT("(GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", type, stride, + pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(type, stride, pointer); + + if (context->skipValidation() || ValidateNormalPointer(context, type, stride, pointer)) + { + context->normalPointer(type, stride, pointer); + } + } +} + +void GL_APIENTRY ObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label) +{ + EVENT( + "(GLenum identifier = 0x%X, GLuint name = %u, GLsizei length = %d, const GLchar *label = " + "0x%0.8p)", + identifier, name, length, label); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(identifier, name, length, label); + + if (context->skipValidation() || + ValidateObjectLabelKHR(context, identifier, name, length, label)) + { + context->objectLabel(identifier, name, length, label); + } + } +} + +void GL_APIENTRY ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label) +{ + EVENT("(const void *ptr = 0x%0.8p, GLsizei length = %d, const GLchar *label = 0x%0.8p)", ptr, + length, label); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(ptr, length, label); + + if (context->skipValidation() || ValidateObjectPtrLabelKHR(context, ptr, length, label)) + { + context->objectPtrLabel(ptr, length, label); + } + } +} + +void GL_APIENTRY OrthofContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) +{ + EVENT( + "(GLfloat l = %f, GLfloat r = %f, GLfloat b = %f, GLfloat t = %f, GLfloat n = %f, GLfloat " + "f = %f)", + l, r, b, t, n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(l, r, b, t, n, f); + + if (context->skipValidation() || ValidateOrthof(context, l, r, b, t, n, f)) + { + context->orthof(l, r, b, t, n, f); + } + } +} + +void GL_APIENTRY OrthoxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) +{ + EVENT( + "(GLfixed l = 0x%X, GLfixed r = 0x%X, GLfixed b = 0x%X, GLfixed t = 0x%X, GLfixed n = " + "0x%X, GLfixed f = 0x%X)", + l, r, b, t, n, f); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(l, r, b, t, n, f); + + if (context->skipValidation() || ValidateOrthox(context, l, r, b, t, n, f)) + { + context->orthox(l, r, b, t, n, f); + } + } +} + +void GL_APIENTRY PauseTransformFeedbackContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidatePauseTransformFeedback(context)) + { + context->pauseTransformFeedback(); + } + } +} + +void GL_APIENTRY PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) +{ + EVENT("(GLenum pname = 0x%X, GLint param = %d)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidatePixelStorei(context, pname, param)) + { + context->pixelStorei(pname, param); + } + } +} + +void GL_APIENTRY PointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + EVENT("(GLenum pname = 0x%X, GLfloat param = %f)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidatePointParameterf(context, pname, param)) + { + context->pointParameterf(pname, param); + } + } +} + +void GL_APIENTRY PointParameterfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +{ + EVENT("(GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidatePointParameterfv(context, pname, params)) + { + context->pointParameterfv(pname, params); + } + } +} + +void GL_APIENTRY PointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + EVENT("(GLenum pname = 0x%X, GLfixed param = 0x%X)", pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, param); + + if (context->skipValidation() || ValidatePointParameterx(context, pname, param)) + { + context->pointParameterx(pname, param); + } + } +} + +void GL_APIENTRY PointParameterxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *params) +{ + EVENT("(GLenum pname = 0x%X, const GLfixed *params = 0x%0.8p)", pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, params); + + if (context->skipValidation() || ValidatePointParameterxv(context, pname, params)) + { + context->pointParameterxv(pname, params); + } + } +} + +void GL_APIENTRY PointSizeContextANGLE(GLeglContext ctx, GLfloat size) +{ + EVENT("(GLfloat size = %f)", size); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size); + + if (context->skipValidation() || ValidatePointSize(context, size)) + { + context->pointSize(size); + } + } +} + +void GL_APIENTRY PointSizePointerOESContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT("(GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", type, stride, + pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(type, stride, pointer); + + if (context->skipValidation() || + ValidatePointSizePointerOES(context, type, stride, pointer)) + { + context->pointSizePointer(type, stride, pointer); + } + } +} + +void GL_APIENTRY PointSizexContextANGLE(GLeglContext ctx, GLfixed size) +{ + EVENT("(GLfixed size = 0x%X)", size); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size); + + if (context->skipValidation() || ValidatePointSizex(context, size)) + { + context->pointSizex(size); + } + } +} + +void GL_APIENTRY PolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) +{ + EVENT("(GLfloat factor = %f, GLfloat units = %f)", factor, units); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(factor, units); + + if (context->skipValidation() || ValidatePolygonOffset(context, factor, units)) + { + context->polygonOffset(factor, units); + } + } +} + +void GL_APIENTRY PolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) +{ + EVENT("(GLfixed factor = 0x%X, GLfixed units = 0x%X)", factor, units); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(factor, units); + + if (context->skipValidation() || ValidatePolygonOffsetx(context, factor, units)) + { + context->polygonOffsetx(factor, units); + } + } +} + +void GL_APIENTRY PopDebugGroupKHRContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidatePopDebugGroupKHR(context)) + { + context->popDebugGroup(); + } + } +} + +void GL_APIENTRY PopGroupMarkerEXTContextANGLE(GLeglContext ctx) +{ + // Don't run an EVENT() macro on the EXT_debug_marker entry points. + // It can interfere with the debug events being set by the caller. + // EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidatePopGroupMarkerEXT(context)) + { + context->popGroupMarker(); + } + } +} + +void GL_APIENTRY PopMatrixContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidatePopMatrix(context)) + { + context->popMatrix(); + } + } +} + +void GL_APIENTRY ProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length) +{ + EVENT( + "(GLuint program = %u, GLenum binaryFormat = 0x%X, const void *binary = 0x%0.8p, GLsizei " + "length = %d)", + program, binaryFormat, binary, length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, binaryFormat, binary, length); + + if (context->skipValidation() || + ValidateProgramBinary(context, program, binaryFormat, binary, length)) + { + context->programBinary(program, binaryFormat, binary, length); + } + } +} + +void GL_APIENTRY ProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length) +{ + EVENT( + "(GLuint program = %u, GLenum binaryFormat = 0x%X, const void *binary = 0x%0.8p, GLint " + "length = %d)", + program, binaryFormat, binary, length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, binaryFormat, binary, length); + + if (context->skipValidation() || + ValidateProgramBinaryOES(context, program, binaryFormat, binary, length)) + { + context->programBinary(program, binaryFormat, binary, length); + } + } +} + +void GL_APIENTRY ProgramParameteriContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint value) +{ + EVENT("(GLuint program = %u, GLenum pname = 0x%X, GLint value = %d)", program, pname, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, pname, value); + + if (context->skipValidation() || ValidateProgramParameteri(context, program, pname, value)) + { + context->programParameteri(program, pname, value); + } + } +} + +void GL_APIENTRY ProgramUniform1fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLfloat v0 = %f)", program, location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0); + + if (context->skipValidation() || ValidateProgramUniform1f(context, program, location, v0)) + { + context->programUniform1f(program, location, v0); + } + } +} + +void GL_APIENTRY ProgramUniform1fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLfloat *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform1fv(context, program, location, count, value)) + { + context->programUniform1fv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform1iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLint v0 = %d)", program, location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0); + + if (context->skipValidation() || ValidateProgramUniform1i(context, program, location, v0)) + { + context->programUniform1i(program, location, v0); + } + } +} + +void GL_APIENTRY ProgramUniform1ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform1iv(context, program, location, count, value)) + { + context->programUniform1iv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform1uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLuint v0 = %u)", program, location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0); + + if (context->skipValidation() || ValidateProgramUniform1ui(context, program, location, v0)) + { + context->programUniform1ui(program, location, v0); + } + } +} + +void GL_APIENTRY ProgramUniform1uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLuint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform1uiv(context, program, location, count, value)) + { + context->programUniform1uiv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform2fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f)", program, + location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1); + + if (context->skipValidation() || + ValidateProgramUniform2f(context, program, location, v0, v1)) + { + context->programUniform2f(program, location, v0, v1); + } + } +} + +void GL_APIENTRY ProgramUniform2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLfloat *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform2fv(context, program, location, count, value)) + { + context->programUniform2fv(program, location, count, value); + } + } +} + +void GL_APIENTRY +ProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLint v0 = %d, GLint v1 = %d)", program, + location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1); + + if (context->skipValidation() || + ValidateProgramUniform2i(context, program, location, v0, v1)) + { + context->programUniform2i(program, location, v0, v1); + } + } +} + +void GL_APIENTRY ProgramUniform2ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform2iv(context, program, location, count, value)) + { + context->programUniform2iv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform2uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLuint v0 = %u, GLuint v1 = %u)", program, + location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1); + + if (context->skipValidation() || + ValidateProgramUniform2ui(context, program, location, v0, v1)) + { + context->programUniform2ui(program, location, v0, v1); + } + } +} + +void GL_APIENTRY ProgramUniform2uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLuint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform2uiv(context, program, location, count, value)) + { + context->programUniform2uiv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform3fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f, GLfloat v2 = " + "%f)", + program, location, v0, v1, v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2); + + if (context->skipValidation() || + ValidateProgramUniform3f(context, program, location, v0, v1, v2)) + { + context->programUniform3f(program, location, v0, v1, v2); + } + } +} + +void GL_APIENTRY ProgramUniform3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLfloat *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform3fv(context, program, location, count, value)) + { + context->programUniform3fv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform3iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2) +{ + EVENT("(GLuint program = %u, GLint location = %d, GLint v0 = %d, GLint v1 = %d, GLint v2 = %d)", + program, location, v0, v1, v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2); + + if (context->skipValidation() || + ValidateProgramUniform3i(context, program, location, v0, v1, v2)) + { + context->programUniform3i(program, location, v0, v1, v2); + } + } +} + +void GL_APIENTRY ProgramUniform3ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform3iv(context, program, location, count, value)) + { + context->programUniform3iv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform3uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLuint v0 = %u, GLuint v1 = %u, GLuint v2 = " + "%u)", + program, location, v0, v1, v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2); + + if (context->skipValidation() || + ValidateProgramUniform3ui(context, program, location, v0, v1, v2)) + { + context->programUniform3ui(program, location, v0, v1, v2); + } + } +} + +void GL_APIENTRY ProgramUniform3uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLuint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform3uiv(context, program, location, count, value)) + { + context->programUniform3uiv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform4fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f, GLfloat v2 = " + "%f, GLfloat v3 = %f)", + program, location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2, v3); + + if (context->skipValidation() || + ValidateProgramUniform4f(context, program, location, v0, v1, v2, v3)) + { + context->programUniform4f(program, location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY ProgramUniform4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLfloat *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform4fv(context, program, location, count, value)) + { + context->programUniform4fv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform4iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2, + GLint v3) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLint v0 = %d, GLint v1 = %d, GLint v2 = %d, " + "GLint v3 = %d)", + program, location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2, v3); + + if (context->skipValidation() || + ValidateProgramUniform4i(context, program, location, v0, v1, v2, v3)) + { + context->programUniform4i(program, location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY ProgramUniform4ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform4iv(context, program, location, count, value)) + { + context->programUniform4iv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniform4uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLuint v0 = %u, GLuint v1 = %u, GLuint v2 = " + "%u, GLuint v3 = %u)", + program, location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, v0, v1, v2, v3); + + if (context->skipValidation() || + ValidateProgramUniform4ui(context, program, location, v0, v1, v2, v3)) + { + context->programUniform4ui(program, location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY ProgramUniform4uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, const GLuint *value = " + "0x%0.8p)", + program, location, count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, value); + + if (context->skipValidation() || + ValidateProgramUniform4uiv(context, program, location, count, value)) + { + context->programUniform4uiv(program, location, count, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix2fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix2fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix2x3fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix2x3fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix2x4fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix2x4fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix3fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix3fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix3x2fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix3x2fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix3x4fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix3x4fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix4fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix4fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix4x2fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix4x2fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, " + "const GLfloat *value = 0x%0.8p)", + program, location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, count, + transpose, value); + + if (context->skipValidation() || + ValidateProgramUniformMatrix4x3fv(context, program, location, count, transpose, value)) + { + context->programUniformMatrix4x3fv(program, location, count, transpose, value); + } + } +} + +void GL_APIENTRY PushDebugGroupKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message) +{ + EVENT( + "(GLenum source = 0x%X, GLuint id = %u, GLsizei length = %d, const GLchar *message = " + "0x%0.8p)", + source, id, length, message); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(source, id, length, message); + + if (context->skipValidation() || + ValidatePushDebugGroupKHR(context, source, id, length, message)) + { + context->pushDebugGroup(source, id, length, message); + } + } +} + +void GL_APIENTRY PushGroupMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) +{ + // Don't run an EVENT() macro on the EXT_debug_marker entry points. + // It can interfere with the debug events being set by the caller. + // EVENT("(GLsizei length = %d, const GLchar *marker = 0x%0.8p)", length, marker); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(length, marker); + + if (context->skipValidation() || ValidatePushGroupMarkerEXT(context, length, marker)) + { + context->pushGroupMarker(length, marker); + } + } +} + +void GL_APIENTRY PushMatrixContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidatePushMatrix(context)) + { + context->pushMatrix(); + } + } +} + +void GL_APIENTRY QueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) +{ + EVENT("(GLuint id = %u, GLenum target = 0x%X)", id, target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(id, targetPacked); + + if (context->skipValidation() || ValidateQueryCounterEXT(context, id, targetPacked)) + { + context->queryCounter(id, targetPacked); + } + } +} + +GLbitfield GL_APIENTRY QueryMatrixxOESContextANGLE(GLeglContext ctx, + GLfixed *mantissa, + GLint *exponent) +{ + EVENT("(GLfixed *mantissa = 0x%0.8p, GLint *exponent = 0x%0.8p)", mantissa, exponent); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mantissa, exponent); + + if (context->skipValidation() || ValidateQueryMatrixxOES(context, mantissa, exponent)) + { + return context->queryMatrixx(mantissa, exponent); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY ReadBufferContextANGLE(GLeglContext ctx, GLenum src) +{ + EVENT("(GLenum src = 0x%X)", src); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(src); + + if (context->skipValidation() || ValidateReadBuffer(context, src)) + { + context->readBuffer(src); + } + } +} + +void GL_APIENTRY ReadPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels) +{ + EVENT( + "(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d, GLenum format = " + "0x%X, GLenum type = 0x%X, void *pixels = 0x%0.8p)", + x, y, width, height, format, type, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, width, height, format, type, pixels); + + if (context->skipValidation() || + ValidateReadPixels(context, x, y, width, height, format, type, pixels)) + { + context->readPixels(x, y, width, height, format, type, pixels); + } + } +} + +void GL_APIENTRY ReadnPixelsEXTContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) +{ + EVENT( + "(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d, GLenum format = " + "0x%X, GLenum type = 0x%X, GLsizei bufSize = %d, void *data = 0x%0.8p)", + x, y, width, height, format, type, bufSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, width, height, format, type, + bufSize, data); + + if (context->skipValidation() || + ValidateReadnPixelsEXT(context, x, y, width, height, format, type, bufSize, data)) + { + context->readnPixels(x, y, width, height, format, type, bufSize, data); + } + } +} + +void GL_APIENTRY ReleaseShaderCompilerContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateReleaseShaderCompiler(context)) + { + context->releaseShaderCompiler(); + } + } +} + +void GL_APIENTRY RenderbufferStorageContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLenum internalformat = 0x%X, GLsizei width = %d, GLsizei height = " + "%d)", + target, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, internalformat, width, + height); + + if (context->skipValidation() || + ValidateRenderbufferStorage(context, target, internalformat, width, height)) + { + context->renderbufferStorage(target, internalformat, width, height); + } + } +} + +void GL_APIENTRY RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei samples = %d, GLenum internalformat = 0x%X, GLsizei width " + "= %d, GLsizei height = %d)", + target, samples, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, samples, internalformat, width, height); + + if (context->skipValidation() || + ValidateRenderbufferStorageMultisample(context, target, samples, internalformat, width, + height)) + { + context->renderbufferStorageMultisample(target, samples, internalformat, width, height); + } + } +} + +void GL_APIENTRY RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei samples = %d, GLenum internalformat = 0x%X, GLsizei width " + "= %d, GLsizei height = %d)", + target, samples, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, samples, internalformat, width, height); + + if (context->skipValidation() || + ValidateRenderbufferStorageMultisampleANGLE(context, target, samples, internalformat, + width, height)) + { + context->renderbufferStorageMultisample(target, samples, internalformat, width, height); + } + } +} + +void GL_APIENTRY RenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLenum internalformat = 0x%X, GLsizei width = %d, GLsizei height = " + "%d)", + target, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, internalformat, width, + height); + + if (context->skipValidation() || + ValidateRenderbufferStorageOES(context, target, internalformat, width, height)) + { + context->renderbufferStorage(target, internalformat, width, height); + } + } +} + +void GL_APIENTRY ResumeTransformFeedbackContextANGLE(GLeglContext ctx) +{ + EVENT("()"); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(); + + if (context->skipValidation() || ValidateResumeTransformFeedback(context)) + { + context->resumeTransformFeedback(); + } + } +} + +void GL_APIENTRY +RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) +{ + EVENT("(GLfloat angle = %f, GLfloat x = %f, GLfloat y = %f, GLfloat z = %f)", angle, x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(angle, x, y, z); + + if (context->skipValidation() || ValidateRotatef(context, angle, x, y, z)) + { + context->rotatef(angle, x, y, z); + } + } +} + +void GL_APIENTRY +RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) +{ + EVENT("(GLfixed angle = 0x%X, GLfixed x = 0x%X, GLfixed y = 0x%X, GLfixed z = 0x%X)", angle, x, + y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(angle, x, y, z); + + if (context->skipValidation() || ValidateRotatex(context, angle, x, y, z)) + { + context->rotatex(angle, x, y, z); + } + } +} + +void GL_APIENTRY SampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) +{ + EVENT("(GLfloat value = %f, GLboolean invert = %u)", value, invert); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(value, invert); + + if (context->skipValidation() || ValidateSampleCoverage(context, value, invert)) + { + context->sampleCoverage(value, invert); + } + } +} + +void GL_APIENTRY SampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) +{ + EVENT("(GLclampx value = 0x%X, GLboolean invert = %u)", value, invert); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(value, invert); + + if (context->skipValidation() || ValidateSampleCoveragex(context, value, invert)) + { + context->sampleCoveragex(value, invert); + } + } +} + +void GL_APIENTRY SampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) +{ + EVENT("(GLuint maskNumber = %u, GLbitfield mask = 0x%X)", maskNumber, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(maskNumber, mask); + + if (context->skipValidation() || ValidateSampleMaski(context, maskNumber, mask)) + { + context->sampleMaski(maskNumber, mask); + } + } +} + +void GL_APIENTRY SamplerParameterfContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat param) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, GLfloat param = %f)", sampler, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, param); + + if (context->skipValidation() || ValidateSamplerParameterf(context, sampler, pname, param)) + { + context->samplerParameterf(sampler, pname, param); + } + } +} + +void GL_APIENTRY SamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLfloat *param) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, const GLfloat *param = 0x%0.8p)", sampler, + pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, param); + + if (context->skipValidation() || ValidateSamplerParameterfv(context, sampler, pname, param)) + { + context->samplerParameterfv(sampler, pname, param); + } + } +} + +void GL_APIENTRY SamplerParameteriContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint param) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, GLint param = %d)", sampler, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, param); + + if (context->skipValidation() || ValidateSamplerParameteri(context, sampler, pname, param)) + { + context->samplerParameteri(sampler, pname, param); + } + } +} + +void GL_APIENTRY SamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param) +{ + EVENT("(GLuint sampler = %u, GLenum pname = 0x%X, const GLint *param = 0x%0.8p)", sampler, + pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, param); + + if (context->skipValidation() || ValidateSamplerParameteriv(context, sampler, pname, param)) + { + context->samplerParameteriv(sampler, pname, param); + } + } +} + +void GL_APIENTRY ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +{ + EVENT("(GLfloat x = %f, GLfloat y = %f, GLfloat z = %f)", x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z); + + if (context->skipValidation() || ValidateScalef(context, x, y, z)) + { + context->scalef(x, y, z); + } + } +} + +void GL_APIENTRY ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +{ + EVENT("(GLfixed x = 0x%X, GLfixed y = 0x%X, GLfixed z = 0x%X)", x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z); + + if (context->skipValidation() || ValidateScalex(context, x, y, z)) + { + context->scalex(x, y, z); + } + } +} + +void GL_APIENTRY +ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +{ + EVENT("(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d)", x, y, width, + height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, width, height); + + if (context->skipValidation() || ValidateScissor(context, x, y, width, height)) + { + context->scissor(x, y, width, height); + } + } +} + +void GL_APIENTRY SetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) +{ + EVENT("(GLuint fence = %u, GLenum condition = 0x%X)", fence, condition); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fence, condition); + + if (context->skipValidation() || ValidateSetFenceNV(context, fence, condition)) + { + context->setFenceNV(fence, condition); + } + } +} + +void GL_APIENTRY ShadeModelContextANGLE(GLeglContext ctx, GLenum mode) +{ + EVENT("(GLenum mode = 0x%X)", mode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mode); + + if (context->skipValidation() || ValidateShadeModel(context, mode)) + { + context->shadeModel(mode); + } + } +} + +void GL_APIENTRY ShaderBinaryContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length) +{ + EVENT( + "(GLsizei count = %d, const GLuint *shaders = 0x%0.8p, GLenum binaryformat = 0x%X, const " + "void *binary = 0x%0.8p, GLsizei length = %d)", + count, shaders, binaryformat, binary, length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(count, shaders, binaryformat, binary, + length); + + if (context->skipValidation() || + ValidateShaderBinary(context, count, shaders, binaryformat, binary, length)) + { + context->shaderBinary(count, shaders, binaryformat, binary, length); + } + } +} + +void GL_APIENTRY ShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length) +{ + EVENT( + "(GLuint shader = %u, GLsizei count = %d, const GLchar *const*string = 0x%0.8p, const " + "GLint *length = 0x%0.8p)", + shader, count, string, length); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, count, string, length); + + if (context->skipValidation() || + ValidateShaderSource(context, shader, count, string, length)) + { + context->shaderSource(shader, count, string, length); + } + } +} + +void GL_APIENTRY StencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) +{ + EVENT("(GLenum func = 0x%X, GLint ref = %d, GLuint mask = %u)", func, ref, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(func, ref, mask); + + if (context->skipValidation() || ValidateStencilFunc(context, func, ref, mask)) + { + context->stencilFunc(func, ref, mask); + } + } +} + +void GL_APIENTRY +StencilFuncSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask) +{ + EVENT("(GLenum face = 0x%X, GLenum func = 0x%X, GLint ref = %d, GLuint mask = %u)", face, func, + ref, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, func, ref, mask); + + if (context->skipValidation() || + ValidateStencilFuncSeparate(context, face, func, ref, mask)) + { + context->stencilFuncSeparate(face, func, ref, mask); + } + } +} + +void GL_APIENTRY StencilMaskContextANGLE(GLeglContext ctx, GLuint mask) +{ + EVENT("(GLuint mask = %u)", mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(mask); + + if (context->skipValidation() || ValidateStencilMask(context, mask)) + { + context->stencilMask(mask); + } + } +} + +void GL_APIENTRY StencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) +{ + EVENT("(GLenum face = 0x%X, GLuint mask = %u)", face, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, mask); + + if (context->skipValidation() || ValidateStencilMaskSeparate(context, face, mask)) + { + context->stencilMaskSeparate(face, mask); + } + } +} + +void GL_APIENTRY StencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) +{ + EVENT("(GLenum fail = 0x%X, GLenum zfail = 0x%X, GLenum zpass = 0x%X)", fail, zfail, zpass); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fail, zfail, zpass); + + if (context->skipValidation() || ValidateStencilOp(context, fail, zfail, zpass)) + { + context->stencilOp(fail, zfail, zpass); + } + } +} + +void GL_APIENTRY StencilOpSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass) +{ + EVENT("(GLenum face = 0x%X, GLenum sfail = 0x%X, GLenum dpfail = 0x%X, GLenum dppass = 0x%X)", + face, sfail, dpfail, dppass); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(face, sfail, dpfail, dppass); + + if (context->skipValidation() || + ValidateStencilOpSeparate(context, face, sfail, dpfail, dppass)) + { + context->stencilOpSeparate(face, sfail, dpfail, dppass); + } + } +} + +GLboolean GL_APIENTRY TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + EVENT("(GLuint fence = %u)", fence); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(fence); + + if (context->skipValidation() || ValidateTestFenceNV(context, fence)) + { + return context->testFenceNV(fence); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY TexCoordPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", + size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size, type, stride, pointer); + + if (context->skipValidation() || + ValidateTexCoordPointer(context, size, type, stride, pointer)) + { + context->texCoordPointer(size, type, stride, pointer); + } + } +} + +void GL_APIENTRY TexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", target, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, param); + + if (context->skipValidation() || ValidateTexEnvf(context, target, pname, param)) + { + context->texEnvf(target, pname, param); + } + } +} + +void GL_APIENTRY TexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateTexEnvfv(context, target, pname, params)) + { + context->texEnvfv(target, pname, params); + } + } +} + +void GL_APIENTRY TexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint param = %d)", target, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, param); + + if (context->skipValidation() || ValidateTexEnvi(context, target, pname, param)) + { + context->texEnvi(target, pname, param); + } + } +} + +void GL_APIENTRY TexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLint *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateTexEnviv(context, target, pname, params)) + { + context->texEnviv(target, pname, params); + } + } +} + +void GL_APIENTRY TexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfixed param = 0x%X)", target, pname, + param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, param); + + if (context->skipValidation() || ValidateTexEnvx(context, target, pname, param)) + { + context->texEnvx(target, pname, param); + } + } +} + +void GL_APIENTRY TexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLfixed *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, pname, params); + + if (context->skipValidation() || ValidateTexEnvxv(context, target, pname, params)) + { + context->texEnvxv(target, pname, params); + } + } +} + +void GL_APIENTRY TexGenfOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfloat param) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", coord, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, param); + + if (context->skipValidation() || ValidateTexGenfOES(context, coord, pname, param)) + { + context->texGenf(coord, pname, param); + } + } +} + +void GL_APIENTRY TexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfloat *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", coord, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateTexGenfvOES(context, coord, pname, params)) + { + context->texGenfv(coord, pname, params); + } + } +} + +void GL_APIENTRY TexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLint param = %d)", coord, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, param); + + if (context->skipValidation() || ValidateTexGeniOES(context, coord, pname, param)) + { + context->texGeni(coord, pname, param); + } + } +} + +void GL_APIENTRY TexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLint *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, const GLint *params = 0x%0.8p)", coord, pname, + params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateTexGenivOES(context, coord, pname, params)) + { + context->texGeniv(coord, pname, params); + } + } +} + +void GL_APIENTRY TexGenxOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLfixed param) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, GLfixed param = 0x%X)", coord, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, param); + + if (context->skipValidation() || ValidateTexGenxOES(context, coord, pname, param)) + { + context->texGenx(coord, pname, param); + } + } +} + +void GL_APIENTRY TexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfixed *params) +{ + EVENT("(GLenum coord = 0x%X, GLenum pname = 0x%X, const GLfixed *params = 0x%0.8p)", coord, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(coord, pname, params); + + if (context->skipValidation() || ValidateTexGenxvOES(context, coord, pname, params)) + { + context->texGenxv(coord, pname, params); + } + } +} + +void GL_APIENTRY TexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint internalformat = %d, GLsizei width = %d, " + "GLsizei height = %d, GLint border = %d, GLenum format = 0x%X, GLenum type = 0x%X, const " + "void *pixels = 0x%0.8p)", + target, level, internalformat, width, height, border, format, type, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, internalformat, width, + height, border, format, type, pixels); + + if (context->skipValidation() || + ValidateTexImage2D(context, targetPacked, level, internalformat, width, height, border, + format, type, pixels)) + { + context->texImage2D(targetPacked, level, internalformat, width, height, border, format, + type, pixels); + } + } +} + +void GL_APIENTRY TexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint internalformat = %d, GLsizei width = %d, " + "GLsizei height = %d, GLsizei depth = %d, GLint border = %d, GLenum format = 0x%X, GLenum " + "type = 0x%X, const void *pixels = 0x%0.8p)", + target, level, internalformat, width, height, depth, border, format, type, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, internalformat, width, + height, depth, border, format, type, pixels); + + if (context->skipValidation() || + ValidateTexImage3D(context, targetPacked, level, internalformat, width, height, depth, + border, format, type, pixels)) + { + context->texImage3D(targetPacked, level, internalformat, width, height, depth, border, + format, type, pixels); + } + } +} + +void GL_APIENTRY TexParameterfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfloat param = %f)", target, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, param); + + if (context->skipValidation() || ValidateTexParameterf(context, targetPacked, pname, param)) + { + context->texParameterf(targetPacked, pname, param); + } + } +} + +void GL_APIENTRY TexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLfloat *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateTexParameterfv(context, targetPacked, pname, params)) + { + context->texParameterfv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY TexParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLint param = %d)", target, pname, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, param); + + if (context->skipValidation() || ValidateTexParameteri(context, targetPacked, pname, param)) + { + context->texParameteri(targetPacked, pname, param); + } + } +} + +void GL_APIENTRY TexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLint *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateTexParameteriv(context, targetPacked, pname, params)) + { + context->texParameteriv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY TexParameterxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, GLfixed param = 0x%X)", target, pname, + param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, param); + + if (context->skipValidation() || ValidateTexParameterx(context, targetPacked, pname, param)) + { + context->texParameterx(targetPacked, pname, param); + } + } +} + +void GL_APIENTRY TexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) +{ + EVENT("(GLenum target = 0x%X, GLenum pname = 0x%X, const GLfixed *params = 0x%0.8p)", target, + pname, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, params); + + if (context->skipValidation() || + ValidateTexParameterxv(context, targetPacked, pname, params)) + { + context->texParameterxv(targetPacked, pname, params); + } + } +} + +void GL_APIENTRY TexStorage1DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei levels = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d)", + target, levels, internalformat, width); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, levels, internalformat, width); + + if (context->skipValidation() || + ValidateTexStorage1DEXT(context, target, levels, internalformat, width)) + { + context->texStorage1D(target, levels, internalformat, width); + } + } +} + +void GL_APIENTRY TexStorage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei levels = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d)", + target, levels, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, levels, internalformat, width, + height); + + if (context->skipValidation() || + ValidateTexStorage2D(context, targetPacked, levels, internalformat, width, height)) + { + context->texStorage2D(targetPacked, levels, internalformat, width, height); + } + } +} + +void GL_APIENTRY TexStorage2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei levels = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d)", + target, levels, internalformat, width, height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, levels, internalformat, + width, height); + + if (context->skipValidation() || + ValidateTexStorage2DEXT(context, targetPacked, levels, internalformat, width, height)) + { + context->texStorage2D(targetPacked, levels, internalformat, width, height); + } + } +} + +void GL_APIENTRY TexStorage2DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei samples = %d, GLenum internalformat = 0x%X, GLsizei width " + "= %d, GLsizei height = %d, GLboolean fixedsamplelocations = %u)", + target, samples, internalformat, width, height, fixedsamplelocations); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, samples, internalformat, width, height, fixedsamplelocations); + + if (context->skipValidation() || + ValidateTexStorage2DMultisample(context, targetPacked, samples, internalformat, width, + height, fixedsamplelocations)) + { + context->texStorage2DMultisample(targetPacked, samples, internalformat, width, height, + fixedsamplelocations); + } + } +} + +void GL_APIENTRY TexStorage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei levels = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLsizei depth = %d)", + target, levels, internalformat, width, height, depth); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, levels, internalformat, width, + height, depth); + + if (context->skipValidation() || ValidateTexStorage3D(context, targetPacked, levels, + internalformat, width, height, depth)) + { + context->texStorage3D(targetPacked, levels, internalformat, width, height, depth); + } + } +} + +void GL_APIENTRY TexStorage3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + EVENT( + "(GLenum target = 0x%X, GLsizei levels = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLsizei depth = %d)", + target, levels, internalformat, width, height, depth); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, levels, internalformat, + width, height, depth); + + if (context->skipValidation() || + ValidateTexStorage3DEXT(context, targetPacked, levels, internalformat, width, height, + depth)) + { + context->texStorage3D(targetPacked, levels, internalformat, width, height, depth); + } + } +} + +void GL_APIENTRY TexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLsizei " + "width = %d, GLsizei height = %d, GLenum format = 0x%X, GLenum type = 0x%X, const void " + "*pixels = 0x%0.8p)", + target, level, xoffset, yoffset, width, height, format, type, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, xoffset, yoffset, + width, height, format, type, pixels); + + if (context->skipValidation() || + ValidateTexSubImage2D(context, targetPacked, level, xoffset, yoffset, width, height, + format, type, pixels)) + { + context->texSubImage2D(targetPacked, level, xoffset, yoffset, width, height, format, + type, pixels); + } + } +} + +void GL_APIENTRY TexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint " + "zoffset = %d, GLsizei width = %d, GLsizei height = %d, GLsizei depth = %d, GLenum format " + "= 0x%X, GLenum type = 0x%X, const void *pixels = 0x%0.8p)", + target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, level, xoffset, yoffset, + zoffset, width, height, depth, format, + type, pixels); + + if (context->skipValidation() || + ValidateTexSubImage3D(context, targetPacked, level, xoffset, yoffset, zoffset, width, + height, depth, format, type, pixels)) + { + context->texSubImage3D(targetPacked, level, xoffset, yoffset, zoffset, width, height, + depth, format, type, pixels); + } + } +} + +void GL_APIENTRY TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode) +{ + EVENT( + "(GLuint program = %u, GLsizei count = %d, const GLchar *const*varyings = 0x%0.8p, GLenum " + "bufferMode = 0x%X)", + program, count, varyings, bufferMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, count, varyings, + bufferMode); + + if (context->skipValidation() || + ValidateTransformFeedbackVaryings(context, program, count, varyings, bufferMode)) + { + context->transformFeedbackVaryings(program, count, varyings, bufferMode); + } + } +} + +void GL_APIENTRY TranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +{ + EVENT("(GLfloat x = %f, GLfloat y = %f, GLfloat z = %f)", x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z); + + if (context->skipValidation() || ValidateTranslatef(context, x, y, z)) + { + context->translatef(x, y, z); + } + } +} + +void GL_APIENTRY TranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +{ + EVENT("(GLfixed x = 0x%X, GLfixed y = 0x%X, GLfixed z = 0x%X)", x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, z); + + if (context->skipValidation() || ValidateTranslatex(context, x, y, z)) + { + context->translatex(x, y, z); + } + } +} + +void GL_APIENTRY Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) +{ + EVENT("(GLint location = %d, GLfloat v0 = %f)", location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0); + + if (context->skipValidation() || ValidateUniform1f(context, location, v0)) + { + context->uniform1f(location, v0); + } + } +} + +void GL_APIENTRY Uniform1fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLfloat *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform1fv(context, location, count, value)) + { + context->uniform1fv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) +{ + EVENT("(GLint location = %d, GLint v0 = %d)", location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0); + + if (context->skipValidation() || ValidateUniform1i(context, location, v0)) + { + context->uniform1i(location, v0); + } + } +} + +void GL_APIENTRY Uniform1ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform1iv(context, location, count, value)) + { + context->uniform1iv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) +{ + EVENT("(GLint location = %d, GLuint v0 = %u)", location, v0); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0); + + if (context->skipValidation() || ValidateUniform1ui(context, location, v0)) + { + context->uniform1ui(location, v0); + } + } +} + +void GL_APIENTRY Uniform1uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLuint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform1uiv(context, location, count, value)) + { + context->uniform1uiv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) +{ + EVENT("(GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f)", location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1); + + if (context->skipValidation() || ValidateUniform2f(context, location, v0, v1)) + { + context->uniform2f(location, v0, v1); + } + } +} + +void GL_APIENTRY Uniform2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLfloat *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform2fv(context, location, count, value)) + { + context->uniform2fv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) +{ + EVENT("(GLint location = %d, GLint v0 = %d, GLint v1 = %d)", location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1); + + if (context->skipValidation() || ValidateUniform2i(context, location, v0, v1)) + { + context->uniform2i(location, v0, v1); + } + } +} + +void GL_APIENTRY Uniform2ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform2iv(context, location, count, value)) + { + context->uniform2iv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) +{ + EVENT("(GLint location = %d, GLuint v0 = %u, GLuint v1 = %u)", location, v0, v1); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1); + + if (context->skipValidation() || ValidateUniform2ui(context, location, v0, v1)) + { + context->uniform2ui(location, v0, v1); + } + } +} + +void GL_APIENTRY Uniform2uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLuint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform2uiv(context, location, count, value)) + { + context->uniform2uiv(location, count, value); + } + } +} + +void GL_APIENTRY +Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +{ + EVENT("(GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f, GLfloat v2 = %f)", location, v0, + v1, v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2); + + if (context->skipValidation() || ValidateUniform3f(context, location, v0, v1, v2)) + { + context->uniform3f(location, v0, v1, v2); + } + } +} + +void GL_APIENTRY Uniform3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLfloat *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform3fv(context, location, count, value)) + { + context->uniform3fv(location, count, value); + } + } +} + +void GL_APIENTRY +Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) +{ + EVENT("(GLint location = %d, GLint v0 = %d, GLint v1 = %d, GLint v2 = %d)", location, v0, v1, + v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2); + + if (context->skipValidation() || ValidateUniform3i(context, location, v0, v1, v2)) + { + context->uniform3i(location, v0, v1, v2); + } + } +} + +void GL_APIENTRY Uniform3ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform3iv(context, location, count, value)) + { + context->uniform3iv(location, count, value); + } + } +} + +void GL_APIENTRY +Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) +{ + EVENT("(GLint location = %d, GLuint v0 = %u, GLuint v1 = %u, GLuint v2 = %u)", location, v0, v1, + v2); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2); + + if (context->skipValidation() || ValidateUniform3ui(context, location, v0, v1, v2)) + { + context->uniform3ui(location, v0, v1, v2); + } + } +} + +void GL_APIENTRY Uniform3uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLuint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform3uiv(context, location, count, value)) + { + context->uniform3uiv(location, count, value); + } + } +} + +void GL_APIENTRY Uniform4fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) +{ + EVENT( + "(GLint location = %d, GLfloat v0 = %f, GLfloat v1 = %f, GLfloat v2 = %f, GLfloat v3 = %f)", + location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2, v3); + + if (context->skipValidation() || ValidateUniform4f(context, location, v0, v1, v2, v3)) + { + context->uniform4f(location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY Uniform4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLfloat *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform4fv(context, location, count, value)) + { + context->uniform4fv(location, count, value); + } + } +} + +void GL_APIENTRY +Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +{ + EVENT("(GLint location = %d, GLint v0 = %d, GLint v1 = %d, GLint v2 = %d, GLint v3 = %d)", + location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2, v3); + + if (context->skipValidation() || ValidateUniform4i(context, location, v0, v1, v2, v3)) + { + context->uniform4i(location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY Uniform4ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform4iv(context, location, count, value)) + { + context->uniform4iv(location, count, value); + } + } +} + +void GL_APIENTRY +Uniform4uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) +{ + EVENT("(GLint location = %d, GLuint v0 = %u, GLuint v1 = %u, GLuint v2 = %u, GLuint v3 = %u)", + location, v0, v1, v2, v3); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, v0, v1, v2, v3); + + if (context->skipValidation() || ValidateUniform4ui(context, location, v0, v1, v2, v3)) + { + context->uniform4ui(location, v0, v1, v2, v3); + } + } +} + +void GL_APIENTRY Uniform4uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + EVENT("(GLint location = %d, GLsizei count = %d, const GLuint *value = 0x%0.8p)", location, + count, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, value); + + if (context->skipValidation() || ValidateUniform4uiv(context, location, count, value)) + { + context->uniform4uiv(location, count, value); + } + } +} + +void GL_APIENTRY UniformBlockBindingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding) +{ + EVENT("(GLuint program = %u, GLuint uniformBlockIndex = %u, GLuint uniformBlockBinding = %u)", + program, uniformBlockIndex, uniformBlockBinding); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, uniformBlockIndex, + uniformBlockBinding); + + if (context->skipValidation() || + ValidateUniformBlockBinding(context, program, uniformBlockIndex, uniformBlockBinding)) + { + context->uniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); + } + } +} + +void GL_APIENTRY UniformMatrix2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix2fv(context, location, count, transpose, value)) + { + context->uniformMatrix2fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix2x3fv(context, location, count, transpose, value)) + { + context->uniformMatrix2x3fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix2x4fv(context, location, count, transpose, value)) + { + context->uniformMatrix2x4fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix3fv(context, location, count, transpose, value)) + { + context->uniformMatrix3fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix3x2fv(context, location, count, transpose, value)) + { + context->uniformMatrix3x2fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix3x4fv(context, location, count, transpose, value)) + { + context->uniformMatrix3x4fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix4fv(context, location, count, transpose, value)) + { + context->uniformMatrix4fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix4x2fv(context, location, count, transpose, value)) + { + context->uniformMatrix4x2fv(location, count, transpose, value); + } + } +} + +void GL_APIENTRY UniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + EVENT( + "(GLint location = %d, GLsizei count = %d, GLboolean transpose = %u, const GLfloat *value " + "= 0x%0.8p)", + location, count, transpose, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(location, count, transpose, value); + + if (context->skipValidation() || + ValidateUniformMatrix4x3fv(context, location, count, transpose, value)) + { + context->uniformMatrix4x3fv(location, count, transpose, value); + } + } +} + +GLboolean GL_APIENTRY UnmapBufferContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateUnmapBuffer(context, targetPacked)) + { + return context->unmapBuffer(targetPacked); + } + } + + return GetDefaultReturnValue(); +} + +GLboolean GL_APIENTRY UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) +{ + EVENT("(GLenum target = 0x%X)", target); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked); + + if (context->skipValidation() || ValidateUnmapBufferOES(context, targetPacked)) + { + return context->unmapBuffer(targetPacked); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY UseProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + EVENT("(GLuint program = %u)", program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program); + + if (context->skipValidation() || ValidateUseProgram(context, program)) + { + context->useProgram(program); + } + } +} + +void GL_APIENTRY UseProgramStagesContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLbitfield stages, + GLuint program) +{ + EVENT("(GLuint pipeline = %u, GLbitfield stages = 0x%X, GLuint program = %u)", pipeline, stages, + program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline, stages, program); + + if (context->skipValidation() || + ValidateUseProgramStages(context, pipeline, stages, program)) + { + context->useProgramStages(pipeline, stages, program); + } + } +} + +void GL_APIENTRY ValidateProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + EVENT("(GLuint program = %u)", program); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program); + + if (context->skipValidation() || ValidateValidateProgram(context, program)) + { + context->validateProgram(program); + } + } +} + +void GL_APIENTRY ValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + EVENT("(GLuint pipeline = %u)", pipeline); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pipeline); + + if (context->skipValidation() || ValidateValidateProgramPipeline(context, pipeline)) + { + context->validateProgramPipeline(pipeline); + } + } +} + +void GL_APIENTRY VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) +{ + EVENT("(GLuint index = %u, GLfloat x = %f)", index, x); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x); + + if (context->skipValidation() || ValidateVertexAttrib1f(context, index, x)) + { + context->vertexAttrib1f(index, x); + } + } +} + +void GL_APIENTRY VertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + EVENT("(GLuint index = %u, const GLfloat *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttrib1fv(context, index, v)) + { + context->vertexAttrib1fv(index, v); + } + } +} + +void GL_APIENTRY VertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) +{ + EVENT("(GLuint index = %u, GLfloat x = %f, GLfloat y = %f)", index, x, y); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x, y); + + if (context->skipValidation() || ValidateVertexAttrib2f(context, index, x, y)) + { + context->vertexAttrib2f(index, x, y); + } + } +} + +void GL_APIENTRY VertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + EVENT("(GLuint index = %u, const GLfloat *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttrib2fv(context, index, v)) + { + context->vertexAttrib2fv(index, v); + } + } +} + +void GL_APIENTRY +VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) +{ + EVENT("(GLuint index = %u, GLfloat x = %f, GLfloat y = %f, GLfloat z = %f)", index, x, y, z); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x, y, z); + + if (context->skipValidation() || ValidateVertexAttrib3f(context, index, x, y, z)) + { + context->vertexAttrib3f(index, x, y, z); + } + } +} + +void GL_APIENTRY VertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + EVENT("(GLuint index = %u, const GLfloat *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttrib3fv(context, index, v)) + { + context->vertexAttrib3fv(index, v); + } + } +} + +void GL_APIENTRY VertexAttrib4fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat w) +{ + EVENT("(GLuint index = %u, GLfloat x = %f, GLfloat y = %f, GLfloat z = %f, GLfloat w = %f)", + index, x, y, z, w); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x, y, z, w); + + if (context->skipValidation() || ValidateVertexAttrib4f(context, index, x, y, z, w)) + { + context->vertexAttrib4f(index, x, y, z, w); + } + } +} + +void GL_APIENTRY VertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + EVENT("(GLuint index = %u, const GLfloat *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttrib4fv(context, index, v)) + { + context->vertexAttrib4fv(index, v); + } + } +} + +void GL_APIENTRY VertexAttribBindingContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLuint bindingindex) +{ + EVENT("(GLuint attribindex = %u, GLuint bindingindex = %u)", attribindex, bindingindex); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(attribindex, bindingindex); + + if (context->skipValidation() || + ValidateVertexAttribBinding(context, attribindex, bindingindex)) + { + context->vertexAttribBinding(attribindex, bindingindex); + } + } +} + +void GL_APIENTRY VertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) +{ + EVENT("(GLuint index = %u, GLuint divisor = %u)", index, divisor); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, divisor); + + if (context->skipValidation() || ValidateVertexAttribDivisor(context, index, divisor)) + { + context->vertexAttribDivisor(index, divisor); + } + } +} + +void GL_APIENTRY VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor) +{ + EVENT("(GLuint index = %u, GLuint divisor = %u)", index, divisor); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, divisor); + + if (context->skipValidation() || ValidateVertexAttribDivisorANGLE(context, index, divisor)) + { + context->vertexAttribDivisor(index, divisor); + } + } +} + +void GL_APIENTRY VertexAttribFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset) +{ + EVENT( + "(GLuint attribindex = %u, GLint size = %d, GLenum type = 0x%X, GLboolean normalized = %u, " + "GLuint relativeoffset = %u)", + attribindex, size, type, normalized, relativeoffset); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(attribindex, size, type, normalized, + relativeoffset); + + if (context->skipValidation() || + ValidateVertexAttribFormat(context, attribindex, size, type, normalized, + relativeoffset)) + { + context->vertexAttribFormat(attribindex, size, type, normalized, relativeoffset); + } + } +} + +void GL_APIENTRY +VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) +{ + EVENT("(GLuint index = %u, GLint x = %d, GLint y = %d, GLint z = %d, GLint w = %d)", index, x, + y, z, w); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x, y, z, w); + + if (context->skipValidation() || ValidateVertexAttribI4i(context, index, x, y, z, w)) + { + context->vertexAttribI4i(index, x, y, z, w); + } + } +} + +void GL_APIENTRY VertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) +{ + EVENT("(GLuint index = %u, const GLint *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttribI4iv(context, index, v)) + { + context->vertexAttribI4iv(index, v); + } + } +} + +void GL_APIENTRY +VertexAttribI4uiContextANGLE(GLeglContext ctx, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) +{ + EVENT("(GLuint index = %u, GLuint x = %u, GLuint y = %u, GLuint z = %u, GLuint w = %u)", index, + x, y, z, w); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, x, y, z, w); + + if (context->skipValidation() || ValidateVertexAttribI4ui(context, index, x, y, z, w)) + { + context->vertexAttribI4ui(index, x, y, z, w); + } + } +} + +void GL_APIENTRY VertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) +{ + EVENT("(GLuint index = %u, const GLuint *v = 0x%0.8p)", index, v); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, v); + + if (context->skipValidation() || ValidateVertexAttribI4uiv(context, index, v)) + { + context->vertexAttribI4uiv(index, v); + } + } +} + +void GL_APIENTRY VertexAttribIFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) +{ + EVENT( + "(GLuint attribindex = %u, GLint size = %d, GLenum type = 0x%X, GLuint relativeoffset = " + "%u)", + attribindex, size, type, relativeoffset); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(attribindex, size, type, + relativeoffset); + + if (context->skipValidation() || + ValidateVertexAttribIFormat(context, attribindex, size, type, relativeoffset)) + { + context->vertexAttribIFormat(attribindex, size, type, relativeoffset); + } + } +} + +void GL_APIENTRY VertexAttribIPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLuint index = %u, GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void " + "*pointer = 0x%0.8p)", + index, size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, size, type, stride, pointer); + + if (context->skipValidation() || + ValidateVertexAttribIPointer(context, index, size, type, stride, pointer)) + { + context->vertexAttribIPointer(index, size, type, stride, pointer); + } + } +} + +void GL_APIENTRY VertexAttribPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLuint index = %u, GLint size = %d, GLenum type = 0x%X, GLboolean normalized = %u, " + "GLsizei stride = %d, const void *pointer = 0x%0.8p)", + index, size, type, normalized, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, size, type, normalized, + stride, pointer); + + if (context->skipValidation() || + ValidateVertexAttribPointer(context, index, size, type, normalized, stride, pointer)) + { + context->vertexAttribPointer(index, size, type, normalized, stride, pointer); + } + } +} + +void GL_APIENTRY VertexBindingDivisorContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint divisor) +{ + EVENT("(GLuint bindingindex = %u, GLuint divisor = %u)", bindingindex, divisor); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(bindingindex, divisor); + + if (context->skipValidation() || + ValidateVertexBindingDivisor(context, bindingindex, divisor)) + { + context->vertexBindingDivisor(bindingindex, divisor); + } + } +} + +void GL_APIENTRY VertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", + size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size, type, stride, pointer); + + if (context->skipValidation() || + ValidateVertexPointer(context, size, type, stride, pointer)) + { + context->vertexPointer(size, type, stride, pointer); + } + } +} + +void GL_APIENTRY +ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +{ + EVENT("(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d)", x, y, width, + height); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(x, y, width, height); + + if (context->skipValidation() || ValidateViewport(context, x, y, width, height)) + { + context->viewport(x, y, width, height); + } + } +} + +void GL_APIENTRY WaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) +{ + EVENT("(GLsync sync = 0x%0.8p, GLbitfield flags = 0x%X, GLuint64 timeout = %llu)", sync, flags, + timeout); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sync, flags, timeout); + + if (context->skipValidation() || ValidateWaitSync(context, sync, flags, timeout)) + { + context->waitSync(sync, flags, timeout); + } + } +} + +void GL_APIENTRY WeightPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + EVENT( + "(GLint size = %d, GLenum type = 0x%X, GLsizei stride = %d, const void *pointer = 0x%0.8p)", + size, type, stride, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(size, type, stride, pointer); + + if (context->skipValidation() || + ValidateWeightPointerOES(context, size, type, stride, pointer)) + { + context->weightPointer(size, type, stride, pointer); + } + } +} + +void GL_APIENTRY BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + const GLchar *name) +{ + EVENT("(GLuint program = %u, GLint location = %d, const GLchar* name = 0x%0.8p)", program, + location, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, name); + + if (context->skipValidation() || + ValidateBindUniformLocationCHROMIUM(context, program, location, name)) + { + context->bindUniformLocation(program, location, name); + } + } +} + +void GL_APIENTRY CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) +{ + EVENT("(GLenum components = 0x%X)", components); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(components); + + if (context->skipValidation() || ValidateCoverageModulationCHROMIUM(context, components)) + { + context->coverageModulation(components); + } + } +} + +void GL_APIENTRY MatrixLoadfCHROMIUMContextANGLE(GLeglContext ctx, + GLenum matrixMode, + const GLfloat *matrix) +{ + EVENT("(GLenum matrixMode = 0x%X, const GLfloat * matrix = 0x%0.8p)", matrixMode, matrix); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(matrixMode, matrix); + + if (context->skipValidation() || ValidateMatrixLoadfCHROMIUM(context, matrixMode, matrix)) + { + context->matrixLoadf(matrixMode, matrix); + } + } +} + +void GL_APIENTRY MatrixLoadIdentityCHROMIUMContextANGLE(GLeglContext ctx, GLenum matrixMode) +{ + EVENT("(GLenum matrixMode = 0x%X)", matrixMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(matrixMode); + + if (context->skipValidation() || ValidateMatrixLoadIdentityCHROMIUM(context, matrixMode)) + { + context->matrixLoadIdentity(matrixMode); + } + } +} + +GLuint GL_APIENTRY GenPathsCHROMIUMContextANGLE(GLeglContext ctx, GLsizei range) +{ + EVENT("(GLsizei range = %d)", range); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(range); + + if (context->skipValidation() || ValidateGenPathsCHROMIUM(context, range)) + { + return context->genPaths(range); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY DeletePathsCHROMIUMContextANGLE(GLeglContext ctx, GLuint first, GLsizei range) +{ + EVENT("(GLuint first = %u, GLsizei range = %d)", first, range); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(first, range); + + if (context->skipValidation() || ValidateDeletePathsCHROMIUM(context, first, range)) + { + context->deletePaths(first, range); + } + } +} + +GLboolean GL_APIENTRY IsPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path) +{ + EVENT("(GLuint path = %u)", path); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path); + + if (context->skipValidation() || ValidateIsPathCHROMIUM(context, path)) + { + return context->isPath(path); + } + } + + return GetDefaultReturnValue(); +} + +void GL_APIENTRY PathCommandsCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLsizei numCommands, + const GLubyte *commands, + GLsizei numCoords, + GLenum coordType, + const void *coords) +{ + EVENT( + "(GLuint path = %u, GLsizei numCommands = %d, const GLubyte * commands = 0x%0.8p, GLsizei " + "numCoords = %d, GLenum coordType = 0x%X, const void* coords = 0x%0.8p)", + path, numCommands, commands, numCoords, coordType, coords); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, numCommands, commands, + numCoords, coordType, coords); + + if (context->skipValidation() || + ValidatePathCommandsCHROMIUM(context, path, numCommands, commands, numCoords, coordType, + coords)) + { + context->pathCommands(path, numCommands, commands, numCoords, coordType, coords); + } + } +} + +void GL_APIENTRY PathParameterfCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat value) +{ + EVENT("(GLuint path = %u, GLenum pname = 0x%X, GLfloat value = %f)", path, pname, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, pname, value); + + if (context->skipValidation() || + ValidatePathParameterfCHROMIUM(context, path, pname, value)) + { + context->pathParameterf(path, pname, value); + } + } +} + +void GL_APIENTRY PathParameteriCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint value) +{ + EVENT("(GLuint path = %u, GLenum pname = 0x%X, GLint value = %d)", path, pname, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, pname, value); + + if (context->skipValidation() || + ValidatePathParameteriCHROMIUM(context, path, pname, value)) + { + context->pathParameteri(path, pname, value); + } + } +} + +void GL_APIENTRY GetPathParameterfvCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat *value) +{ + EVENT("(GLuint path = %u, GLenum pname = 0x%X, GLfloat * value = 0x%0.8p)", path, pname, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, pname, value); + + if (context->skipValidation() || + ValidateGetPathParameterfvCHROMIUM(context, path, pname, value)) + { + context->getPathParameterfv(path, pname, value); + } + } +} + +void GL_APIENTRY GetPathParameterivCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint *value) +{ + EVENT("(GLuint path = %u, GLenum pname = 0x%X, GLint * value = 0x%0.8p)", path, pname, value); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, pname, value); + + if (context->skipValidation() || + ValidateGetPathParameterivCHROMIUM(context, path, pname, value)) + { + context->getPathParameteriv(path, pname, value); + } + } +} + +void GL_APIENTRY PathStencilFuncCHROMIUMContextANGLE(GLeglContext ctx, + GLenum func, + GLint ref, + GLuint mask) +{ + EVENT("(GLenum func = 0x%X, GLint ref = %d, GLuint mask = %u)", func, ref, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(func, ref, mask); + + if (context->skipValidation() || ValidatePathStencilFuncCHROMIUM(context, func, ref, mask)) + { + context->pathStencilFunc(func, ref, mask); + } + } +} + +void GL_APIENTRY StencilFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask) +{ + EVENT("(GLuint path = %u, GLenum fillMode = 0x%X, GLuint mask = %u)", path, fillMode, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, fillMode, mask); + + if (context->skipValidation() || + ValidateStencilFillPathCHROMIUM(context, path, fillMode, mask)) + { + context->stencilFillPath(path, fillMode, mask); + } + } +} + +void GL_APIENTRY StencilStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask) +{ + EVENT("(GLuint path = %u, GLint reference = %d, GLuint mask = %u)", path, reference, mask); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, reference, mask); + + if (context->skipValidation() || + ValidateStencilStrokePathCHROMIUM(context, path, reference, mask)) + { + context->stencilStrokePath(path, reference, mask); + } + } +} + +void GL_APIENTRY CoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path, GLenum coverMode) +{ + EVENT("(GLuint path = %u, GLenum coverMode = 0x%X)", path, coverMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, coverMode); + + if (context->skipValidation() || ValidateCoverFillPathCHROMIUM(context, path, coverMode)) + { + context->coverFillPath(path, coverMode); + } + } +} + +void GL_APIENTRY CoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum coverMode) +{ + EVENT("(GLuint path = %u, GLenum coverMode = 0x%X)", path, coverMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, coverMode); + + if (context->skipValidation() || ValidateCoverStrokePathCHROMIUM(context, path, coverMode)) + { + context->coverStrokePath(path, coverMode); + } + } +} + +void GL_APIENTRY StencilThenCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask, + GLenum coverMode) +{ + EVENT("(GLuint path = %u, GLenum fillMode = 0x%X, GLuint mask = %u, GLenum coverMode = 0x%X)", + path, fillMode, mask, coverMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, fillMode, mask, + coverMode); + + if (context->skipValidation() || + ValidateStencilThenCoverFillPathCHROMIUM(context, path, fillMode, mask, coverMode)) + { + context->stencilThenCoverFillPath(path, fillMode, mask, coverMode); + } + } +} + +void GL_APIENTRY StencilThenCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask, + GLenum coverMode) +{ + EVENT("(GLuint path = %u, GLint reference = %d, GLuint mask = %u, GLenum coverMode = 0x%X)", + path, reference, mask, coverMode); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(path, reference, mask, + coverMode); + + if (context->skipValidation() || + ValidateStencilThenCoverStrokePathCHROMIUM(context, path, reference, mask, coverMode)) + { + context->stencilThenCoverStrokePath(path, reference, mask, coverMode); + } + } +} + +void GL_APIENTRY CoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPath = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLenum coverMode = 0x%X, GLenum transformType = 0x%X, const GLfloat * " + "transformValues = 0x%0.8p)", + numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + + if (context->skipValidation() || + ValidateCoverFillPathInstancedCHROMIUM(context, numPath, pathNameType, paths, pathBase, + coverMode, transformType, transformValues)) + { + context->coverFillPathInstanced(numPath, pathNameType, paths, pathBase, coverMode, + transformType, transformValues); + } + } +} + +void GL_APIENTRY CoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPath = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLenum coverMode = 0x%X, GLenum transformType = 0x%X, const GLfloat * " + "transformValues = 0x%0.8p)", + numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); + + if (context->skipValidation() || ValidateCoverStrokePathInstancedCHROMIUM( + context, numPath, pathNameType, paths, pathBase, + coverMode, transformType, transformValues)) + { + context->coverStrokePathInstanced(numPath, pathNameType, paths, pathBase, coverMode, + transformType, transformValues); + } + } +} + +void GL_APIENTRY StencilStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPath = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLint reference = %d, GLuint mask = %u, GLenum transformType = 0x%X, const " + "GLfloat * transformValues = 0x%0.8p)", + numPath, pathNameType, paths, pathBase, reference, mask, transformType, transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPath, pathNameType, paths, pathBase, reference, mask, transformType, + transformValues); + + if (context->skipValidation() || ValidateStencilStrokePathInstancedCHROMIUM( + context, numPath, pathNameType, paths, pathBase, + reference, mask, transformType, transformValues)) + { + context->stencilStrokePathInstanced(numPath, pathNameType, paths, pathBase, reference, + mask, transformType, transformValues); + } + } +} + +void GL_APIENTRY StencilFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPaths = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLenum fillMode = 0x%X, GLuint mask = %u, GLenum transformType = 0x%X, " + "const GLfloat * transformValues = 0x%0.8p)", + numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPaths, pathNameType, paths, pathBase, fillMode, mask, transformType, + transformValues); + + if (context->skipValidation() || ValidateStencilFillPathInstancedCHROMIUM( + context, numPaths, pathNameType, paths, pathBase, + fillMode, mask, transformType, transformValues)) + { + context->stencilFillPathInstanced(numPaths, pathNameType, paths, pathBase, fillMode, + mask, transformType, transformValues); + } + } +} + +void GL_APIENTRY +StencilThenCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPaths = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLenum fillMode = 0x%X, GLuint mask = %u, GLenum coverMode = 0x%X, GLenum " + "transformType = 0x%X, const GLfloat * transformValues = 0x%0.8p)", + numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, + transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, + transformValues); + + if (context->skipValidation() || + ValidateStencilThenCoverFillPathInstancedCHROMIUM( + context, numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, + transformType, transformValues)) + { + context->stencilThenCoverFillPathInstanced(numPaths, pathNameType, paths, pathBase, + fillMode, mask, coverMode, transformType, + transformValues); + } + } +} + +void GL_APIENTRY +StencilThenCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + EVENT( + "(GLsizei numPaths = %d, GLenum pathNameType = 0x%X, const void * paths = 0x%0.8p, GLuint " + "pathBase = %u, GLint reference = %d, GLuint mask = %u, GLenum coverMode = 0x%X, GLenum " + "transformType = 0x%X, const GLfloat * transformValues = 0x%0.8p)", + numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, + transformValues); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, + transformValues); + + if (context->skipValidation() || + ValidateStencilThenCoverStrokePathInstancedCHROMIUM( + context, numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, + transformType, transformValues)) + { + context->stencilThenCoverStrokePathInstanced(numPaths, pathNameType, paths, pathBase, + reference, mask, coverMode, transformType, + transformValues); + } + } +} + +void GL_APIENTRY BindFragmentInputLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint programs, + GLint location, + const GLchar *name) +{ + EVENT("(GLuint programs = %u, GLint location = %d, const GLchar * name = 0x%0.8p)", programs, + location, name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(programs, location, + name); + + if (context->skipValidation() || + ValidateBindFragmentInputLocationCHROMIUM(context, programs, location, name)) + { + context->bindFragmentInputLocation(programs, location, name); + } + } +} + +void GL_APIENTRY ProgramPathFragmentInputGenCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLenum genMode, + GLint components, + const GLfloat *coeffs) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLenum genMode = 0x%X, GLint components = %d, " + "const GLfloat * coeffs = 0x%0.8p)", + program, location, genMode, components, coeffs); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + program, location, genMode, components, coeffs); + + if (context->skipValidation() || + ValidateProgramPathFragmentInputGenCHROMIUM(context, program, location, genMode, + components, coeffs)) + { + context->programPathFragmentInputGen(program, location, genMode, components, coeffs); + } + } +} + +void GL_APIENTRY CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) +{ + EVENT( + "(GLuint sourceId = %u, GLint sourceLevel = %d, GLenum destTarget = 0x%X, GLuint destId = " + "%u, GLint destLevel = %d, GLint internalFormat = %d, GLenum destType = 0x%X, GLboolean " + "unpackFlipY = %u, GLboolean unpackPremultiplyAlpha = %u, GLboolean unpackUnmultiplyAlpha " + "= %u)", + sourceId, sourceLevel, destTarget, destId, destLevel, internalFormat, destType, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget destTargetPacked = FromGLenum(destTarget); + context->gatherParams( + sourceId, sourceLevel, destTargetPacked, destId, destLevel, internalFormat, destType, + unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + + if (context->skipValidation() || + ValidateCopyTextureCHROMIUM(context, sourceId, sourceLevel, destTargetPacked, destId, + destLevel, internalFormat, destType, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha)) + { + context->copyTexture(sourceId, sourceLevel, destTargetPacked, destId, destLevel, + internalFormat, destType, unpackFlipY, unpackPremultiplyAlpha, + unpackUnmultiplyAlpha); + } + } +} + +void GL_APIENTRY CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) +{ + EVENT( + "(GLuint sourceId = %u, GLint sourceLevel = %d, GLenum destTarget = 0x%X, GLuint destId = " + "%u, GLint destLevel = %d, GLint xoffset = %d, GLint yoffset = %d, GLint x = %d, GLint y = " + "%d, GLint width = %d, GLint height = %d, GLboolean unpackFlipY = %u, GLboolean " + "unpackPremultiplyAlpha = %u, GLboolean unpackUnmultiplyAlpha = %u)", + sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, y, width, height, + unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget destTargetPacked = FromGLenum(destTarget); + context->gatherParams( + sourceId, sourceLevel, destTargetPacked, destId, destLevel, xoffset, yoffset, x, y, + width, height, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + + if (context->skipValidation() || + ValidateCopySubTextureCHROMIUM(context, sourceId, sourceLevel, destTargetPacked, destId, + destLevel, xoffset, yoffset, x, y, width, height, + unpackFlipY, unpackPremultiplyAlpha, + unpackUnmultiplyAlpha)) + { + context->copySubTexture(sourceId, sourceLevel, destTargetPacked, destId, destLevel, + xoffset, yoffset, x, y, width, height, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); + } + } +} + +void GL_APIENTRY CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLuint destId) +{ + EVENT("(GLuint sourceId = %u, GLuint destId = %u)", sourceId, destId); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sourceId, destId); + + if (context->skipValidation() || + ValidateCompressedCopyTextureCHROMIUM(context, sourceId, destId)) + { + context->compressedCopyTexture(sourceId, destId); + } + } +} + +void GL_APIENTRY RequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) +{ + EVENT("(const GLchar * name = 0x%0.8p)", name); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(name); + + if (context->skipValidation() || ValidateRequestExtensionANGLE(context, name)) + { + context->requestExtension(name); + } + } +} + +void GL_APIENTRY GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params) +{ + EVENT( + "(GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLboolean * " + "params = 0x%0.8p)", + pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetBooleanvRobustANGLE(context, pname, bufSize, length, params)) + { + context->getBooleanvRobust(pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetBufferParameterivRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getBufferParameterivRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLfloat * params " + "= 0x%0.8p)", + pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetFloatvRobustANGLE(context, pname, bufSize, length, params)) + { + context->getFloatvRobust(pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = " + "%d, GLsizei * length = 0x%0.8p, GLint * params = 0x%0.8p)", + target, attachment, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetFramebufferAttachmentParameterivRobustANGLE(context, target, attachment, + pname, bufSize, length, params)) + { + context->getFramebufferAttachmentParameterivRobust(target, attachment, pname, bufSize, + length, params); + } + } +} + +void GL_APIENTRY GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data) +{ + EVENT( + "(GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLint * data = " + "0x%0.8p)", + pname, bufSize, length, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, bufSize, length, data); + + if (context->skipValidation() || + ValidateGetIntegervRobustANGLE(context, pname, bufSize, length, data)) + { + context->getIntegervRobust(pname, bufSize, length, data); + } + } +} + +void GL_APIENTRY GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + program, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetProgramivRobustANGLE(context, program, pname, bufSize, length, params)) + { + context->getProgramivRobust(program, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, pname, bufSize, length, params); + + if (context->skipValidation() || ValidateGetRenderbufferParameterivRobustANGLE( + context, target, pname, bufSize, length, params)) + { + context->getRenderbufferParameterivRobust(target, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint shader = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + shader, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(shader, pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetShaderivRobustANGLE(context, shader, pname, bufSize, length, params)) + { + context->getShaderivRobust(shader, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetTexParameterfvRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getTexParameterfvRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetTexParameterivRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getTexParameterivRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetUniformfvRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getUniformfvRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetUniformivRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getUniformivRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLuint index = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * params = 0x%0.8p)", + index, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetVertexAttribfvRobustANGLE(context, index, pname, bufSize, length, params)) + { + context->getVertexAttribfvRobust(index, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint index = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + index, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetVertexAttribivRobustANGLE(context, index, pname, bufSize, length, params)) + { + context->getVertexAttribivRobust(index, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer) +{ + EVENT( + "(GLuint index = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, void ** pointer = 0x%0.8p)", + index, pname, bufSize, length, pointer); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, bufSize, + length, pointer); + + if (context->skipValidation() || ValidateGetVertexAttribPointervRobustANGLE( + context, index, pname, bufSize, length, pointer)) + { + context->getVertexAttribPointervRobust(index, pname, bufSize, length, pointer); + } + } +} + +void GL_APIENTRY ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels) +{ + EVENT( + "(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d, GLenum format = " + "0x%X, GLenum type = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLsizei * " + "columns = 0x%0.8p, GLsizei * rows = 0x%0.8p, void * pixels = 0x%0.8p)", + x, y, width, height, format, type, bufSize, length, columns, rows, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + x, y, width, height, format, type, bufSize, length, columns, rows, pixels); + + if (context->skipValidation() || + ValidateReadPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, + length, columns, rows, pixels)) + { + context->readPixelsRobust(x, y, width, height, format, type, bufSize, length, columns, + rows, pixels); + } + } +} + +void GL_APIENTRY TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint internalformat = %d, GLsizei width = %d, " + "GLsizei height = %d, GLint border = %d, GLenum format = 0x%X, GLenum type = 0x%X, GLsizei " + "bufSize = %d, const void * pixels = 0x%0.8p)", + target, level, internalformat, width, height, border, format, type, bufSize, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, border, format, type, bufSize, + pixels); + + if (context->skipValidation() || + ValidateTexImage2DRobustANGLE(context, targetPacked, level, internalformat, width, + height, border, format, type, bufSize, pixels)) + { + context->texImage2DRobust(targetPacked, level, internalformat, width, height, border, + format, type, bufSize, pixels); + } + } +} + +void GL_APIENTRY TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLfloat * params " + "= 0x%0.8p)", + target, pname, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, bufSize, + params); + + if (context->skipValidation() || + ValidateTexParameterfvRobustANGLE(context, targetPacked, pname, bufSize, params)) + { + context->texParameterfvRobust(targetPacked, pname, bufSize, params); + } + } +} + +void GL_APIENTRY TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLint * params = " + "0x%0.8p)", + target, pname, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, bufSize, + params); + + if (context->skipValidation() || + ValidateTexParameterivRobustANGLE(context, targetPacked, pname, bufSize, params)) + { + context->texParameterivRobust(targetPacked, pname, bufSize, params); + } + } +} + +void GL_APIENTRY TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLsizei " + "width = %d, GLsizei height = %d, GLenum format = 0x%X, GLenum type = 0x%X, GLsizei " + "bufSize = %d, const void * pixels = 0x%0.8p)", + target, level, xoffset, yoffset, width, height, format, type, bufSize, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, xoffset, yoffset, width, height, format, type, bufSize, pixels); + + if (context->skipValidation() || + ValidateTexSubImage2DRobustANGLE(context, targetPacked, level, xoffset, yoffset, width, + height, format, type, bufSize, pixels)) + { + context->texSubImage2DRobust(targetPacked, level, xoffset, yoffset, width, height, + format, type, bufSize, pixels); + } + } +} + +void GL_APIENTRY TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint internalformat = %d, GLsizei width = %d, " + "GLsizei height = %d, GLsizei depth = %d, GLint border = %d, GLenum format = 0x%X, GLenum " + "type = 0x%X, GLsizei bufSize = %d, const void * pixels = 0x%0.8p)", + target, level, internalformat, width, height, depth, border, format, type, bufSize, pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, depth, border, format, type, + bufSize, pixels); + + if (context->skipValidation() || + ValidateTexImage3DRobustANGLE(context, targetPacked, level, internalformat, width, + height, depth, border, format, type, bufSize, pixels)) + { + context->texImage3DRobust(targetPacked, level, internalformat, width, height, depth, + border, format, type, bufSize, pixels); + } + } +} + +void GL_APIENTRY TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint " + "zoffset = %d, GLsizei width = %d, GLsizei height = %d, GLsizei depth = %d, GLenum format " + "= 0x%X, GLenum type = 0x%X, GLsizei bufSize = %d, const void * pixels = 0x%0.8p)", + target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, bufSize, + pixels); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, format, type, + bufSize, pixels); + + if (context->skipValidation() || + ValidateTexSubImage3DRobustANGLE(context, targetPacked, level, xoffset, yoffset, + zoffset, width, height, depth, format, type, bufSize, + pixels)) + { + context->texSubImage3DRobust(targetPacked, level, xoffset, yoffset, zoffset, width, + height, depth, format, type, bufSize, pixels); + } + } +} + +void GL_APIENTRY CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLint border = %d, GLsizei imageSize = %d, GLsizei dataSize = " + "%d, const GLvoid * data = 0x%0.8p)", + target, level, internalformat, width, height, border, imageSize, dataSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, border, imageSize, dataSize, data); + + if (context->skipValidation() || ValidateCompressedTexImage2DRobustANGLE( + context, targetPacked, level, internalformat, width, + height, border, imageSize, dataSize, data)) + { + context->compressedTexImage2DRobust(targetPacked, level, internalformat, width, height, + border, imageSize, dataSize, data); + } + } +} + +void GL_APIENTRY CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLsizei xoffset = %d, GLsizei yoffset = %d, " + "GLsizei width = %d, GLsizei height = %d, GLenum format = 0x%X, GLsizei imageSize = %d, " + "GLsizei dataSize = %d, const GLvoid * data = 0x%0.8p)", + target, level, xoffset, yoffset, width, height, format, imageSize, dataSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, xoffset, yoffset, width, height, format, imageSize, dataSize, + data); + + if (context->skipValidation() || ValidateCompressedTexSubImage2DRobustANGLE( + context, targetPacked, level, xoffset, yoffset, width, + height, format, imageSize, dataSize, data)) + { + context->compressedTexSubImage2DRobust(targetPacked, level, xoffset, yoffset, width, + height, format, imageSize, dataSize, data); + } + } +} + +void GL_APIENTRY CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum internalformat = 0x%X, GLsizei width = " + "%d, GLsizei height = %d, GLsizei depth = %d, GLint border = %d, GLsizei imageSize = %d, " + "GLsizei dataSize = %d, const GLvoid * data = 0x%0.8p)", + target, level, internalformat, width, height, depth, border, imageSize, dataSize, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, internalformat, width, height, depth, border, imageSize, dataSize, + data); + + if (context->skipValidation() || ValidateCompressedTexImage3DRobustANGLE( + context, targetPacked, level, internalformat, width, + height, depth, border, imageSize, dataSize, data)) + { + context->compressedTexImage3DRobust(targetPacked, level, internalformat, width, height, + depth, border, imageSize, dataSize, data); + } + } +} + +void GL_APIENTRY CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLint xoffset = %d, GLint yoffset = %d, GLint " + "zoffset = %d, GLsizei width = %d, GLsizei height = %d, GLsizei depth = %d, GLenum format " + "= 0x%X, GLsizei imageSize = %d, GLsizei dataSize = %d, const GLvoid * data = 0x%0.8p)", + target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, dataSize, + data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, + dataSize, data); + + if (context->skipValidation() || + ValidateCompressedTexSubImage3DRobustANGLE(context, targetPacked, level, xoffset, + yoffset, zoffset, width, height, depth, + format, imageSize, dataSize, data)) + { + context->compressedTexSubImage3DRobust(targetPacked, level, xoffset, yoffset, zoffset, + width, height, depth, format, imageSize, + dataSize, data); + } + } +} + +void GL_APIENTRY GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + QueryType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetQueryivRobustANGLE(context, targetPacked, pname, bufSize, length, params)) + { + context->getQueryivRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLuint id = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, " + "GLuint * params = 0x%0.8p)", + id, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetQueryObjectuivRobustANGLE(context, id, pname, bufSize, length, params)) + { + context->getQueryObjectuivRobust(id, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, void ** params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetBufferPointervRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getBufferPointervRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data) +{ + EVENT( + "(GLenum target = 0x%X, GLuint index = %u, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * data = 0x%0.8p)", + target, index, bufSize, length, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, bufSize, length, + data); + + if (context->skipValidation() || + ValidateGetIntegeri_vRobustANGLE(context, target, index, bufSize, length, data)) + { + context->getIntegeri_vRobust(target, index, bufSize, length, data); + } + } +} + +void GL_APIENTRY GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum internalformat = 0x%X, GLenum pname = 0x%X, GLsizei bufSize " + "= %d, GLsizei * length = 0x%0.8p, GLint * params = 0x%0.8p)", + target, internalformat, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, internalformat, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetInternalformativRobustANGLE(context, target, internalformat, pname, bufSize, + length, params)) + { + context->getInternalformativRobust(target, internalformat, pname, bufSize, length, + params); + } + } +} + +void GL_APIENTRY GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint index = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + index, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetVertexAttribIivRobustANGLE(context, index, pname, bufSize, length, params)) + { + context->getVertexAttribIivRobust(index, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLuint index = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLuint * params = 0x%0.8p)", + index, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(index, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetVertexAttribIuivRobustANGLE(context, index, pname, bufSize, length, params)) + { + context->getVertexAttribIuivRobust(index, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLuint * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetUniformuivRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getUniformuivRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLuint uniformBlockIndex = %u, GLenum pname = 0x%X, GLsizei bufSize " + "= %d, GLsizei * length = 0x%0.8p, GLint * params = 0x%0.8p)", + program, uniformBlockIndex, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + program, uniformBlockIndex, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetActiveUniformBlockivRobustANGLE(context, program, uniformBlockIndex, pname, + bufSize, length, params)) + { + context->getActiveUniformBlockivRobust(program, uniformBlockIndex, pname, bufSize, + length, params); + } + } +} + +void GL_APIENTRY GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) +{ + EVENT( + "(GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLint64 * data = " + "0x%0.8p)", + pname, bufSize, length, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, bufSize, length, data); + + if (context->skipValidation() || + ValidateGetInteger64vRobustANGLE(context, pname, bufSize, length, data)) + { + context->getInteger64vRobust(pname, bufSize, length, data); + } + } +} + +void GL_APIENTRY GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) +{ + EVENT( + "(GLenum target = 0x%X, GLuint index = %u, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint64 * data = 0x%0.8p)", + target, index, bufSize, length, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, bufSize, + length, data); + + if (context->skipValidation() || + ValidateGetInteger64i_vRobustANGLE(context, target, index, bufSize, length, data)) + { + context->getInteger64i_vRobust(target, index, bufSize, length, data); + } + } +} + +void GL_APIENTRY GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint64 * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + BufferBinding targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, pname, bufSize, length, params); + + if (context->skipValidation() || ValidateGetBufferParameteri64vRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getBufferParameteri64vRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param) +{ + EVENT( + "(GLuint sampler = %u, GLuint pname = %u, GLsizei bufSize = %d, const GLint * param = " + "0x%0.8p)", + sampler, pname, bufSize, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + param); + + if (context->skipValidation() || + ValidateSamplerParameterivRobustANGLE(context, sampler, pname, bufSize, param)) + { + context->samplerParameterivRobust(sampler, pname, bufSize, param); + } + } +} + +void GL_APIENTRY SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLfloat * param = " + "0x%0.8p)", + sampler, pname, bufSize, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + param); + + if (context->skipValidation() || + ValidateSamplerParameterfvRobustANGLE(context, sampler, pname, bufSize, param)) + { + context->samplerParameterfvRobust(sampler, pname, bufSize, param); + } + } +} + +void GL_APIENTRY GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + sampler, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + length, params); + + if (context->skipValidation() || ValidateGetSamplerParameterivRobustANGLE( + context, sampler, pname, bufSize, length, params)) + { + context->getSamplerParameterivRobust(sampler, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * params = 0x%0.8p)", + sampler, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + length, params); + + if (context->skipValidation() || ValidateGetSamplerParameterfvRobustANGLE( + context, sampler, pname, bufSize, length, params)) + { + context->getSamplerParameterfvRobust(sampler, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + sampler, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + sampler, pname, bufSize, length, params); + + if (context->skipValidation() || ValidateGetFramebufferParameterivRobustANGLE( + context, sampler, pname, bufSize, length, params)) + { + context->getFramebufferParameterivRobust(sampler, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLenum programInterface = 0x%X, GLenum pname = 0x%X, GLsizei " + "bufSize = %d, GLsizei * length = 0x%0.8p, GLint * params = 0x%0.8p)", + program, programInterface, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + program, programInterface, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetProgramInterfaceivRobustANGLE(context, program, programInterface, pname, + bufSize, length, params)) + { + context->getProgramInterfaceivRobust(program, programInterface, pname, bufSize, length, + params); + } + } +} + +void GL_APIENTRY GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data) +{ + EVENT( + "(GLenum target = 0x%X, GLuint index = %u, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLboolean * data = 0x%0.8p)", + target, index, bufSize, length, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(target, index, bufSize, length, + data); + + if (context->skipValidation() || + ValidateGetBooleani_vRobustANGLE(context, target, index, bufSize, length, data)) + { + context->getBooleani_vRobust(target, index, bufSize, length, data); + } + } +} + +void GL_APIENTRY GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val) +{ + EVENT( + "(GLenum pname = 0x%X, GLuint index = %u, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * val = 0x%0.8p)", + pname, index, bufSize, length, val); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, index, bufSize, + length, val); + + if (context->skipValidation() || + ValidateGetMultisamplefvRobustANGLE(context, pname, index, bufSize, length, val)) + { + context->getMultisamplefvRobust(pname, index, bufSize, length, val); + } + } +} + +void GL_APIENTRY GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum pname = 0x%X, GLsizei bufSize = %d, " + "GLsizei * length = 0x%0.8p, GLint * params = 0x%0.8p)", + target, level, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetTexLevelParameterivRobustANGLE(context, targetPacked, level, pname, bufSize, + length, params)) + { + context->getTexLevelParameterivRobust(targetPacked, level, pname, bufSize, length, + params); + } + } +} + +void GL_APIENTRY GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLenum target = 0x%X, GLint level = %d, GLenum pname = 0x%X, GLsizei bufSize = %d, " + "GLsizei * length = 0x%0.8p, GLfloat * params = 0x%0.8p)", + target, level, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureTarget targetPacked = FromGLenum(target); + context->gatherParams( + targetPacked, level, pname, bufSize, length, params); + + if (context->skipValidation() || + ValidateGetTexLevelParameterfvRobustANGLE(context, targetPacked, level, pname, bufSize, + length, params)) + { + context->getTexLevelParameterfvRobust(targetPacked, level, pname, bufSize, length, + params); + } + } +} + +void GL_APIENTRY GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) +{ + EVENT( + "(GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, void ** params = " + "0x%0.8p)", + pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetPointervRobustANGLERobustANGLE(context, pname, bufSize, length, params)) + { + context->getPointervRobustANGLERobust(pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data) +{ + EVENT( + "(GLint x = %d, GLint y = %d, GLsizei width = %d, GLsizei height = %d, GLenum format = " + "0x%X, GLenum type = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, GLsizei * " + "columns = 0x%0.8p, GLsizei * rows = 0x%0.8p, void * data = 0x%0.8p)", + x, y, width, height, format, type, bufSize, length, columns, rows, data); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + x, y, width, height, format, type, bufSize, length, columns, rows, data); + + if (context->skipValidation() || + ValidateReadnPixelsRobustANGLE(context, x, y, width, height, format, type, bufSize, + length, columns, rows, data)) + { + context->readnPixelsRobust(x, y, width, height, format, type, bufSize, length, columns, + rows, data); + } + } +} + +void GL_APIENTRY GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLfloat * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetnUniformfvRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getnUniformfvRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetnUniformivRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getnUniformivRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLuint program = %u, GLint location = %d, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLuint * params = 0x%0.8p)", + program, location, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(program, location, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetnUniformuivRobustANGLE(context, program, location, bufSize, length, params)) + { + context->getnUniformuivRobust(program, location, bufSize, length, params); + } + } +} + +void GL_APIENTRY TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLint * params = " + "0x%0.8p)", + target, pname, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, bufSize, + params); + + if (context->skipValidation() || + ValidateTexParameterIivRobustANGLE(context, targetPacked, pname, bufSize, params)) + { + context->texParameterIivRobust(targetPacked, pname, bufSize, params); + } + } +} + +void GL_APIENTRY TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLuint * params = " + "0x%0.8p)", + target, pname, bufSize, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, bufSize, + params); + + if (context->skipValidation() || + ValidateTexParameterIuivRobustANGLE(context, targetPacked, pname, bufSize, params)) + { + context->texParameterIuivRobust(targetPacked, pname, bufSize, params); + } + } +} + +void GL_APIENTRY GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetTexParameterIivRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getTexParameterIivRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLenum target = 0x%X, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLuint * params = 0x%0.8p)", + target, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + TextureType targetPacked = FromGLenum(target); + context->gatherParams(targetPacked, pname, + bufSize, length, params); + + if (context->skipValidation() || ValidateGetTexParameterIuivRobustANGLE( + context, targetPacked, pname, bufSize, length, params)) + { + context->getTexParameterIuivRobust(targetPacked, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLint * param = " + "0x%0.8p)", + sampler, pname, bufSize, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + param); + + if (context->skipValidation() || + ValidateSamplerParameterIivRobustANGLE(context, sampler, pname, bufSize, param)) + { + context->samplerParameterIivRobust(sampler, pname, bufSize, param); + } + } +} + +void GL_APIENTRY SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, const GLuint * param = " + "0x%0.8p)", + sampler, pname, bufSize, param); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(sampler, pname, bufSize, + param); + + if (context->skipValidation() || + ValidateSamplerParameterIuivRobustANGLE(context, sampler, pname, bufSize, param)) + { + context->samplerParameterIuivRobust(sampler, pname, bufSize, param); + } + } +} + +void GL_APIENTRY GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLint * params = 0x%0.8p)", + sampler, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + sampler, pname, bufSize, length, params); + + if (context->skipValidation() || ValidateGetSamplerParameterIivRobustANGLE( + context, sampler, pname, bufSize, length, params)) + { + context->getSamplerParameterIivRobust(sampler, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + EVENT( + "(GLuint sampler = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = " + "0x%0.8p, GLuint * params = 0x%0.8p)", + sampler, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + sampler, pname, bufSize, length, params); + + if (context->skipValidation() || ValidateGetSamplerParameterIuivRobustANGLE( + context, sampler, pname, bufSize, length, params)) + { + context->getSamplerParameterIuivRobust(sampler, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + EVENT( + "(GLuint id = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, " + "GLint * params = 0x%0.8p)", + id, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetQueryObjectivRobustANGLE(context, id, pname, bufSize, length, params)) + { + context->getQueryObjectivRobust(id, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) +{ + EVENT( + "(GLuint id = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, " + "GLint64 * params = 0x%0.8p)", + id, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, bufSize, length, + params); + + if (context->skipValidation() || + ValidateGetQueryObjecti64vRobustANGLE(context, id, pname, bufSize, length, params)) + { + context->getQueryObjecti64vRobust(id, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params) +{ + EVENT( + "(GLuint id = %u, GLenum pname = 0x%X, GLsizei bufSize = %d, GLsizei * length = 0x%0.8p, " + "GLuint64 * params = 0x%0.8p)", + id, pname, bufSize, length, params); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams(id, pname, bufSize, + length, params); + + if (context->skipValidation() || + ValidateGetQueryObjectui64vRobustANGLE(context, id, pname, bufSize, length, params)) + { + context->getQueryObjectui64vRobust(id, pname, bufSize, length, params); + } + } +} + +void GL_APIENTRY FramebufferTextureMultiviewLayeredANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLuint texture = %u, GLint level = %d, " + "GLint baseViewIndex = %d, GLsizei numViews = %d)", + target, attachment, texture, level, baseViewIndex, numViews); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, texture, level, baseViewIndex, numViews); + + if (context->skipValidation() || + ValidateFramebufferTextureMultiviewLayeredANGLE(context, target, attachment, texture, + level, baseViewIndex, numViews)) + { + context->framebufferTextureMultiviewLayered(target, attachment, texture, level, + baseViewIndex, numViews); + } + } +} + +void GL_APIENTRY +FramebufferTextureMultiviewSideBySideANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLsizei numViews, + const GLint *viewportOffsets) +{ + EVENT( + "(GLenum target = 0x%X, GLenum attachment = 0x%X, GLuint texture = %u, GLint level = %d, " + "GLsizei numViews = %d, const GLint * viewportOffsets = 0x%0.8p)", + target, attachment, texture, level, numViews, viewportOffsets); + + Context *context = static_cast(ctx); + if (context) + { + ASSERT(context == GetValidGlobalContext()); + context->gatherParams( + target, attachment, texture, level, numViews, viewportOffsets); + + if (context->skipValidation() || + ValidateFramebufferTextureMultiviewSideBySideANGLE(context, target, attachment, texture, + level, numViews, viewportOffsets)) + { + context->framebufferTextureMultiviewSideBySide(target, attachment, texture, level, + numViews, viewportOffsets); + } + } +} } // namespace gl diff --git a/src/libGLESv2/entry_points_gles_ext_autogen.h b/src/libGLESv2/entry_points_gles_ext_autogen.h index 380bb2060..dd61a0d31 100644 --- a/src/libGLESv2/entry_points_gles_ext_autogen.h +++ b/src/libGLESv2/entry_points_gles_ext_autogen.h @@ -793,6 +793,2469 @@ ANGLE_EXPORT void GL_APIENTRY BindVertexArrayOES(GLuint array); ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysOES(GLsizei n, const GLuint *arrays); ANGLE_EXPORT void GL_APIENTRY GenVertexArraysOES(GLsizei n, GLuint *arrays); ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayOES(GLuint array); + +// EGL_ANGLE_explicit_context +ANGLE_EXPORT void GL_APIENTRY ActiveShaderProgramContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLuint program); +ANGLE_EXPORT void GL_APIENTRY ActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +ANGLE_EXPORT void GL_APIENTRY AlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref); +ANGLE_EXPORT void GL_APIENTRY AlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref); +ANGLE_EXPORT void GL_APIENTRY AttachShaderContextANGLE(GLeglContext ctx, + GLuint program, + GLuint shader); +ANGLE_EXPORT void GL_APIENTRY BeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id); +ANGLE_EXPORT void GL_APIENTRY BeginTransformFeedbackContextANGLE(GLeglContext ctx, + GLenum primitiveMode); +ANGLE_EXPORT void GL_APIENTRY BindAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY BindBufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY BindBufferBaseContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer); +ANGLE_EXPORT void GL_APIENTRY BindBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer, + GLintptr offset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY BindFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint framebuffer); +ANGLE_EXPORT void GL_APIENTRY BindFramebufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint framebuffer); +ANGLE_EXPORT void GL_APIENTRY BindImageTextureContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format); +ANGLE_EXPORT void GL_APIENTRY BindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY BindRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY BindRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY BindSamplerContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint sampler); +ANGLE_EXPORT void GL_APIENTRY BindTextureContextANGLE(GLeglContext ctx, + GLenum target, + GLuint texture); +ANGLE_EXPORT void GL_APIENTRY BindTransformFeedbackContextANGLE(GLeglContext ctx, + GLenum target, + GLuint id); +ANGLE_EXPORT void GL_APIENTRY BindVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY BindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY BindVertexBufferContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride); +ANGLE_EXPORT void GL_APIENTRY +BlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY BlendEquationContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY BlendEquationSeparateContextANGLE(GLeglContext ctx, + GLenum modeRGB, + GLenum modeAlpha); +ANGLE_EXPORT void GL_APIENTRY BlendFuncContextANGLE(GLeglContext ctx, + GLenum sfactor, + GLenum dfactor); +ANGLE_EXPORT void GL_APIENTRY BlendFuncSeparateContextANGLE(GLeglContext ctx, + GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha); +ANGLE_EXPORT void GL_APIENTRY BlitFramebufferContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); +ANGLE_EXPORT void GL_APIENTRY BlitFramebufferANGLEContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter); +ANGLE_EXPORT void GL_APIENTRY BufferDataContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage); +ANGLE_EXPORT void GL_APIENTRY BufferSubDataContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT GLenum GL_APIENTRY CheckFramebufferStatusOESContextANGLE(GLeglContext ctx, + GLenum target); +ANGLE_EXPORT void GL_APIENTRY ClearContextANGLE(GLeglContext ctx, GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfiContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil); +ANGLE_EXPORT void GL_APIENTRY ClearBufferfvContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ClearBufferuivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY +ClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY +ClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ClearDepthfContextANGLE(GLeglContext ctx, GLfloat d); +ANGLE_EXPORT void GL_APIENTRY ClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth); +ANGLE_EXPORT void GL_APIENTRY ClearStencilContextANGLE(GLeglContext ctx, GLint s); +ANGLE_EXPORT void GL_APIENTRY ClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture); +ANGLE_EXPORT GLenum GL_APIENTRY ClientWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout); +ANGLE_EXPORT void GL_APIENTRY ClipPlanefContextANGLE(GLeglContext ctx, + GLenum p, + const GLfloat *eqn); +ANGLE_EXPORT void GL_APIENTRY ClipPlanexContextANGLE(GLeglContext ctx, + GLenum plane, + const GLfixed *equation); +ANGLE_EXPORT void GL_APIENTRY +Color4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +ANGLE_EXPORT void GL_APIENTRY +Color4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); +ANGLE_EXPORT void GL_APIENTRY +Color4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +ANGLE_EXPORT void GL_APIENTRY ColorMaskContextANGLE(GLeglContext ctx, + GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha); +ANGLE_EXPORT void GL_APIENTRY ColorPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY CompileShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data); +ANGLE_EXPORT void GL_APIENTRY CopyBufferSubDataContextANGLE(GLeglContext ctx, + GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size); +ANGLE_EXPORT void GL_APIENTRY CopyTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY CopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT GLuint GL_APIENTRY CreateProgramContextANGLE(GLeglContext ctx); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShaderContextANGLE(GLeglContext ctx, GLenum type); +ANGLE_EXPORT GLuint GL_APIENTRY CreateShaderProgramvContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei count, + const GLchar *const *strings); +ANGLE_EXPORT void GL_APIENTRY CullFaceContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY CurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, + GLuint matrixpaletteindex); +ANGLE_EXPORT void GL_APIENTRY DebugMessageCallbackKHRContextANGLE(GLeglContext ctx, + GLDEBUGPROCKHR callback, + const void *userParam); +ANGLE_EXPORT void GL_APIENTRY DebugMessageControlKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled); +ANGLE_EXPORT void GL_APIENTRY DebugMessageInsertKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf); +ANGLE_EXPORT void GL_APIENTRY DeleteBuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY DeleteFencesNVContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteFramebuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY DeleteProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY DeleteQueriesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteQueriesEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY DeleteSamplersContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY DeleteShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT void GL_APIENTRY DeleteSyncContextANGLE(GLeglContext ctx, GLsync sync); +ANGLE_EXPORT void GL_APIENTRY DeleteTexturesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY DeleteTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY DeleteVertexArraysOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY DepthFuncContextANGLE(GLeglContext ctx, GLenum func); +ANGLE_EXPORT void GL_APIENTRY DepthMaskContextANGLE(GLeglContext ctx, GLboolean flag); +ANGLE_EXPORT void GL_APIENTRY DepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f); +ANGLE_EXPORT void GL_APIENTRY DepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f); +ANGLE_EXPORT void GL_APIENTRY DetachShaderContextANGLE(GLeglContext ctx, + GLuint program, + GLuint shader); +ANGLE_EXPORT void GL_APIENTRY DisableContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT void GL_APIENTRY DisableClientStateContextANGLE(GLeglContext ctx, GLenum array); +ANGLE_EXPORT void GL_APIENTRY DisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +ANGLE_EXPORT void GL_APIENTRY DiscardFramebufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY DispatchComputeContextANGLE(GLeglContext ctx, + GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z); +ANGLE_EXPORT void GL_APIENTRY DispatchComputeIndirectContextANGLE(GLeglContext ctx, + GLintptr indirect); +ANGLE_EXPORT void GL_APIENTRY DrawArraysContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count); +ANGLE_EXPORT void GL_APIENTRY DrawArraysIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + const void *indirect); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawBuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLenum *bufs); +ANGLE_EXPORT void GL_APIENTRY DrawBuffersEXTContextANGLE(GLeglContext ctx, + GLsizei n, + const GLenum *bufs); +ANGLE_EXPORT void GL_APIENTRY DrawElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY DrawElementsIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + GLenum type, + const void *indirect); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount); +ANGLE_EXPORT void GL_APIENTRY DrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount); +ANGLE_EXPORT void GL_APIENTRY DrawRangeElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices); +ANGLE_EXPORT void GL_APIENTRY DrawTexfOESContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat width, + GLfloat height); +ANGLE_EXPORT void GL_APIENTRY DrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords); +ANGLE_EXPORT void GL_APIENTRY +DrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height); +ANGLE_EXPORT void GL_APIENTRY DrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords); +ANGLE_EXPORT void GL_APIENTRY DrawTexsOESContextANGLE(GLeglContext ctx, + GLshort x, + GLshort y, + GLshort z, + GLshort width, + GLshort height); +ANGLE_EXPORT void GL_APIENTRY DrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords); +ANGLE_EXPORT void GL_APIENTRY DrawTexxOESContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z, + GLfixed width, + GLfixed height); +ANGLE_EXPORT void GL_APIENTRY DrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image); +ANGLE_EXPORT void GL_APIENTRY EnableContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT void GL_APIENTRY EnableClientStateContextANGLE(GLeglContext ctx, GLenum array); +ANGLE_EXPORT void GL_APIENTRY EnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index); +ANGLE_EXPORT void GL_APIENTRY EndQueryContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY EndQueryEXTContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY EndTransformFeedbackContextANGLE(GLeglContext ctx); +ANGLE_EXPORT GLsync GL_APIENTRY FenceSyncContextANGLE(GLeglContext ctx, + GLenum condition, + GLbitfield flags); +ANGLE_EXPORT void GL_APIENTRY FinishContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY FinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT void GL_APIENTRY FlushContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length); +ANGLE_EXPORT void GL_APIENTRY FlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length); +ANGLE_EXPORT void GL_APIENTRY FogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param); +ANGLE_EXPORT void GL_APIENTRY FogfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY FogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param); +ANGLE_EXPORT void GL_APIENTRY FogxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY FramebufferParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY FramebufferRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level); +ANGLE_EXPORT void GL_APIENTRY FramebufferTextureLayerContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint layer); +ANGLE_EXPORT void GL_APIENTRY FrontFaceContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY FrustumfContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f); +ANGLE_EXPORT void GL_APIENTRY FrustumxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f); +ANGLE_EXPORT void GL_APIENTRY GenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers); +ANGLE_EXPORT void GL_APIENTRY GenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY GenFramebuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *framebuffers); +ANGLE_EXPORT void GL_APIENTRY GenProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *pipelines); +ANGLE_EXPORT void GL_APIENTRY GenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffersContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY GenRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *renderbuffers); +ANGLE_EXPORT void GL_APIENTRY GenSamplersContextANGLE(GLeglContext ctx, + GLsizei count, + GLuint *samplers); +ANGLE_EXPORT void GL_APIENTRY GenTexturesContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *textures); +ANGLE_EXPORT void GL_APIENTRY GenTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *ids); +ANGLE_EXPORT void GL_APIENTRY GenVertexArraysContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY GenVertexArraysOESContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *arrays); +ANGLE_EXPORT void GL_APIENTRY GenerateMipmapContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY GenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY GetActiveAttribContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockNameContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformBlockivContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetActiveUniformsivContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetAttachedShadersContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders); +ANGLE_EXPORT GLint GL_APIENTRY GetAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetBooleanvContextANGLE(GLeglContext ctx, + GLenum pname, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64vContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetClipPlanefContextANGLE(GLeglContext ctx, + GLenum plane, + GLfloat *equation); +ANGLE_EXPORT void GL_APIENTRY GetClipPlanexContextANGLE(GLeglContext ctx, + GLenum plane, + GLfixed *equation); +ANGLE_EXPORT GLuint GL_APIENTRY GetDebugMessageLogKHRContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog); +ANGLE_EXPORT GLenum GL_APIENTRY GetErrorContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY GetFenceivNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFixedvContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data); +ANGLE_EXPORT GLint GL_APIENTRY GetFragDataLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLenum GL_APIENTRY GetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vContextANGLE(GLeglContext ctx, + GLenum pname, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label); +ANGLE_EXPORT void GL_APIENTRY GetPointervContextANGLE(GLeglContext ctx, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetPointervKHRContextANGLE(GLeglContext ctx, + GLenum pname, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary); +ANGLE_EXPORT void GL_APIENTRY GetProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary); +ANGLE_EXPORT void GL_APIENTRY GetProgramInfoLogContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetProgramPipelineivContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLenum pname, + GLint *params); +ANGLE_EXPORT GLuint GL_APIENTRY GetProgramResourceIndexContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT GLint GL_APIENTRY GetProgramResourceLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceNameContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetProgramResourceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryivEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetShaderInfoLogContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog); +ANGLE_EXPORT void GL_APIENTRY GetShaderPrecisionFormatContextANGLE(GLeglContext ctx, + GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision); +ANGLE_EXPORT void GL_APIENTRY GetShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source); +ANGLE_EXPORT void GL_APIENTRY GetShaderivContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLint *params); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetStringContextANGLE(GLeglContext ctx, GLenum name); +ANGLE_EXPORT const GLubyte *GL_APIENTRY GetStringiContextANGLE(GLeglContext ctx, + GLenum name, + GLuint index); +ANGLE_EXPORT void GL_APIENTRY GetSyncivContextANGLE(GLeglContext ctx, + GLsync sync, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *values); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY GetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source); +ANGLE_EXPORT GLuint GL_APIENTRY GetUniformBlockIndexContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *uniformBlockName); +ANGLE_EXPORT void GL_APIENTRY GetUniformIndicesContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices); +ANGLE_EXPORT GLint GL_APIENTRY GetUniformLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointervContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + void **pointer); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfvContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY HintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY InsertEventMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY InvalidateFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments); +ANGLE_EXPORT void GL_APIENTRY InvalidateSubFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height); +ANGLE_EXPORT GLboolean GL_APIENTRY IsBufferContextANGLE(GLeglContext ctx, GLuint buffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsEnabledContextANGLE(GLeglContext ctx, GLenum cap); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsFramebufferOESContextANGLE(GLeglContext ctx, + GLuint framebuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT GLboolean GL_APIENTRY IsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQueryContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsQueryEXTContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbufferContextANGLE(GLeglContext ctx, + GLuint renderbuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsRenderbufferOESContextANGLE(GLeglContext ctx, + GLuint renderbuffer); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSamplerContextANGLE(GLeglContext ctx, GLuint sampler); +ANGLE_EXPORT GLboolean GL_APIENTRY IsShaderContextANGLE(GLeglContext ctx, GLuint shader); +ANGLE_EXPORT GLboolean GL_APIENTRY IsSyncContextANGLE(GLeglContext ctx, GLsync sync); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTextureContextANGLE(GLeglContext ctx, GLuint texture); +ANGLE_EXPORT GLboolean GL_APIENTRY IsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT GLboolean GL_APIENTRY IsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array); +ANGLE_EXPORT void GL_APIENTRY LightModelfContextANGLE(GLeglContext ctx, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY LightModelfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY LightModelxContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY LightModelxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY LightfContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY LightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY LightxContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY LightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY LineWidthContextANGLE(GLeglContext ctx, GLfloat width); +ANGLE_EXPORT void GL_APIENTRY LineWidthxContextANGLE(GLeglContext ctx, GLfixed width); +ANGLE_EXPORT void GL_APIENTRY LinkProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY LoadIdentityContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY LoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY LoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY LogicOpContextANGLE(GLeglContext ctx, GLenum opcode); +ANGLE_EXPORT void *GL_APIENTRY MapBufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum access); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); +ANGLE_EXPORT void *GL_APIENTRY MapBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access); +ANGLE_EXPORT void GL_APIENTRY MaterialfContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY MaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY MaterialxContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY MaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfixed *param); +ANGLE_EXPORT void GL_APIENTRY MatrixIndexPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY MatrixModeContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY MemoryBarrierByRegionContextANGLE(GLeglContext ctx, + GLbitfield barriers); +ANGLE_EXPORT void GL_APIENTRY MultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m); +ANGLE_EXPORT void GL_APIENTRY MultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m); +ANGLE_EXPORT void GL_APIENTRY MultiTexCoord4fContextANGLE(GLeglContext ctx, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r, + GLfloat q); +ANGLE_EXPORT void GL_APIENTRY MultiTexCoord4xContextANGLE(GLeglContext ctx, + GLenum texture, + GLfixed s, + GLfixed t, + GLfixed r, + GLfixed q); +ANGLE_EXPORT void GL_APIENTRY Normal3fContextANGLE(GLeglContext ctx, + GLfloat nx, + GLfloat ny, + GLfloat nz); +ANGLE_EXPORT void GL_APIENTRY Normal3xContextANGLE(GLeglContext ctx, + GLfixed nx, + GLfixed ny, + GLfixed nz); +ANGLE_EXPORT void GL_APIENTRY NormalPointerContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY ObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY ObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label); +ANGLE_EXPORT void GL_APIENTRY OrthofContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f); +ANGLE_EXPORT void GL_APIENTRY OrthoxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f); +ANGLE_EXPORT void GL_APIENTRY PauseTransformFeedbackContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param); +ANGLE_EXPORT void GL_APIENTRY PointParameterfContextANGLE(GLeglContext ctx, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY PointParameterfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY PointParameterxContextANGLE(GLeglContext ctx, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY PointParameterxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY PointSizeContextANGLE(GLeglContext ctx, GLfloat size); +ANGLE_EXPORT void GL_APIENTRY PointSizePointerOESContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY PointSizexContextANGLE(GLeglContext ctx, GLfixed size); +ANGLE_EXPORT void GL_APIENTRY PolygonOffsetContextANGLE(GLeglContext ctx, + GLfloat factor, + GLfloat units); +ANGLE_EXPORT void GL_APIENTRY PolygonOffsetxContextANGLE(GLeglContext ctx, + GLfixed factor, + GLfixed units); +ANGLE_EXPORT void GL_APIENTRY PopDebugGroupKHRContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PopGroupMarkerEXTContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY PopMatrixContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY ProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length); +ANGLE_EXPORT void GL_APIENTRY ProgramParameteriContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform1uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY +ProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform2uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform3uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2, + GLint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3); +ANGLE_EXPORT void GL_APIENTRY ProgramUniform4uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY ProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY PushDebugGroupKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message); +ANGLE_EXPORT void GL_APIENTRY PushGroupMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker); +ANGLE_EXPORT void GL_APIENTRY PushMatrixContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY QueryCounterEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum target); +ANGLE_EXPORT GLbitfield GL_APIENTRY QueryMatrixxOESContextANGLE(GLeglContext ctx, + GLfixed *mantissa, + GLint *exponent); +ANGLE_EXPORT void GL_APIENTRY ReadBufferContextANGLE(GLeglContext ctx, GLenum src); +ANGLE_EXPORT void GL_APIENTRY ReadPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsEXTContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data); +ANGLE_EXPORT void GL_APIENTRY ReleaseShaderCompilerContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY RenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY ResumeTransformFeedbackContextANGLE(GLeglContext ctx); +ANGLE_EXPORT void GL_APIENTRY +RotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY +RotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY SampleCoverageContextANGLE(GLeglContext ctx, + GLfloat value, + GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY SampleCoveragexContextANGLE(GLeglContext ctx, + GLclampx value, + GLboolean invert); +ANGLE_EXPORT void GL_APIENTRY SampleMaskiContextANGLE(GLeglContext ctx, + GLuint maskNumber, + GLbitfield mask); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameteriContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY ScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY ScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z); +ANGLE_EXPORT void GL_APIENTRY +ScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY SetFenceNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum condition); +ANGLE_EXPORT void GL_APIENTRY ShadeModelContextANGLE(GLeglContext ctx, GLenum mode); +ANGLE_EXPORT void GL_APIENTRY ShaderBinaryContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length); +ANGLE_EXPORT void GL_APIENTRY ShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length); +ANGLE_EXPORT void GL_APIENTRY StencilFuncContextANGLE(GLeglContext ctx, + GLenum func, + GLint ref, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY +StencilFuncSeparateContextANGLE(GLeglContext ctx, GLenum face, GLenum func, GLint ref, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMaskContextANGLE(GLeglContext ctx, GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilMaskSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilOpContextANGLE(GLeglContext ctx, + GLenum fail, + GLenum zfail, + GLenum zpass); +ANGLE_EXPORT void GL_APIENTRY StencilOpSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass); +ANGLE_EXPORT GLboolean GL_APIENTRY TestFenceNVContextANGLE(GLeglContext ctx, GLuint fence); +ANGLE_EXPORT void GL_APIENTRY TexCoordPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY TexEnvfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexEnviContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY TexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexEnvxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexGenfOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexGeniOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY TexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexGenxOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexParameterfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param); +ANGLE_EXPORT void GL_APIENTRY TexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param); +ANGLE_EXPORT void GL_APIENTRY TexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param); +ANGLE_EXPORT void GL_APIENTRY TexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params); +ANGLE_EXPORT void GL_APIENTRY TexStorage1DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height); +ANGLE_EXPORT void GL_APIENTRY TexStorage2DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); +ANGLE_EXPORT void GL_APIENTRY TexStorage3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TransformFeedbackVaryingsContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode); +ANGLE_EXPORT void GL_APIENTRY TranslatefContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z); +ANGLE_EXPORT void GL_APIENTRY TranslatexContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z); +ANGLE_EXPORT void GL_APIENTRY Uniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0); +ANGLE_EXPORT void GL_APIENTRY Uniform1uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2iContextANGLE(GLeglContext ctx, + GLint location, + GLint v0, + GLint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform2uiContextANGLE(GLeglContext ctx, + GLint location, + GLuint v0, + GLuint v1); +ANGLE_EXPORT void GL_APIENTRY Uniform2uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY +Uniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY +Uniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY +Uniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2); +ANGLE_EXPORT void GL_APIENTRY Uniform3uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform4fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY +Uniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value); +ANGLE_EXPORT void GL_APIENTRY Uniform4uiContextANGLE(GLeglContext ctx, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3); +ANGLE_EXPORT void GL_APIENTRY Uniform4uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value); +ANGLE_EXPORT void GL_APIENTRY UniformBlockBindingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY UniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBufferContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT GLboolean GL_APIENTRY UnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target); +ANGLE_EXPORT void GL_APIENTRY UseProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY UseProgramStagesContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLbitfield stages, + GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgramContextANGLE(GLeglContext ctx, GLuint program); +ANGLE_EXPORT void GL_APIENTRY ValidateProgramPipelineContextANGLE(GLeglContext ctx, + GLuint pipeline); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib1fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib2fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY +VertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib3fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib4fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat w); +ANGLE_EXPORT void GL_APIENTRY VertexAttrib4fvContextANGLE(GLeglContext ctx, + GLuint index, + const GLfloat *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribBindingContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLuint bindingindex); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexAttribFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY +VertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4ivContextANGLE(GLeglContext ctx, + GLuint index, + const GLint *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4uiContextANGLE(GLeglContext ctx, + GLuint index, + GLuint x, + GLuint y, + GLuint z, + GLuint w); +ANGLE_EXPORT void GL_APIENTRY VertexAttribI4uivContextANGLE(GLeglContext ctx, + GLuint index, + const GLuint *v); +ANGLE_EXPORT void GL_APIENTRY VertexAttribIFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset); +ANGLE_EXPORT void GL_APIENTRY VertexAttribIPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY VertexAttribPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY VertexBindingDivisorContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint divisor); +ANGLE_EXPORT void GL_APIENTRY VertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY +ViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height); +ANGLE_EXPORT void GL_APIENTRY WaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout); +ANGLE_EXPORT void GL_APIENTRY WeightPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer); +ANGLE_EXPORT void GL_APIENTRY BindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY CoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, + GLenum components); +ANGLE_EXPORT void GL_APIENTRY MatrixLoadfCHROMIUMContextANGLE(GLeglContext ctx, + GLenum matrixMode, + const GLfloat *matrix); +ANGLE_EXPORT void GL_APIENTRY MatrixLoadIdentityCHROMIUMContextANGLE(GLeglContext ctx, + GLenum matrixMode); +ANGLE_EXPORT GLuint GL_APIENTRY GenPathsCHROMIUMContextANGLE(GLeglContext ctx, GLsizei range); +ANGLE_EXPORT void GL_APIENTRY DeletePathsCHROMIUMContextANGLE(GLeglContext ctx, + GLuint first, + GLsizei range); +ANGLE_EXPORT GLboolean GL_APIENTRY IsPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path); +ANGLE_EXPORT void GL_APIENTRY PathCommandsCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLsizei numCommands, + const GLubyte *commands, + GLsizei numCoords, + GLenum coordType, + const void *coords); +ANGLE_EXPORT void GL_APIENTRY PathParameterfCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat value); +ANGLE_EXPORT void GL_APIENTRY PathParameteriCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint value); +ANGLE_EXPORT void GL_APIENTRY GetPathParameterfvCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat *value); +ANGLE_EXPORT void GL_APIENTRY GetPathParameterivCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint *value); +ANGLE_EXPORT void GL_APIENTRY PathStencilFuncCHROMIUMContextANGLE(GLeglContext ctx, + GLenum func, + GLint ref, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY StencilStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask); +ANGLE_EXPORT void GL_APIENTRY CoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum coverMode); +ANGLE_EXPORT void GL_APIENTRY CoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum coverMode); +ANGLE_EXPORT void GL_APIENTRY StencilThenCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask, + GLenum coverMode); +ANGLE_EXPORT void GL_APIENTRY StencilThenCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask, + GLenum coverMode); +ANGLE_EXPORT void GL_APIENTRY +CoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY +CoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY +StencilStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY +StencilFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY +StencilThenCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY +StencilThenCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues); +ANGLE_EXPORT void GL_APIENTRY BindFragmentInputLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint programs, + GLint location, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY +ProgramPathFragmentInputGenCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLenum genMode, + GLint components, + const GLfloat *coeffs); +ANGLE_EXPORT void GL_APIENTRY CopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha); +ANGLE_EXPORT void GL_APIENTRY CompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLuint destId); +ANGLE_EXPORT void GL_APIENTRY RequestExtensionANGLEContextANGLE(GLeglContext ctx, + const GLchar *name); +ANGLE_EXPORT void GL_APIENTRY GetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetFloatvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY +GetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetIntegervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetProgramivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetShaderivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer); +ANGLE_EXPORT void GL_APIENTRY ReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY TexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY CompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data); +ANGLE_EXPORT void GL_APIENTRY GetQueryivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY GetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data); +ANGLE_EXPORT void GL_APIENTRY GetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY +GetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data); +ANGLE_EXPORT void GL_APIENTRY GetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data); +ANGLE_EXPORT void GL_APIENTRY GetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params); +ANGLE_EXPORT void GL_APIENTRY ReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data); +ANGLE_EXPORT void GL_APIENTRY GetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params); +ANGLE_EXPORT void GL_APIENTRY TexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param); +ANGLE_EXPORT void GL_APIENTRY SamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params); +ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params); +ANGLE_EXPORT void GL_APIENTRY +FramebufferTextureMultiviewLayeredANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews); +ANGLE_EXPORT void GL_APIENTRY +FramebufferTextureMultiviewSideBySideANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLsizei numViews, + const GLint *viewportOffsets); } // namespace gl #endif // LIBGLESV2_ENTRY_POINTS_GLES_EXT_AUTOGEN_H_ diff --git a/src/libGLESv2/gen_proc_table.py b/src/libGLESv2/gen_proc_table.py index cd2a3abdd..172022ec4 100644 --- a/src/libGLESv2/gen_proc_table.py +++ b/src/libGLESv2/gen_proc_table.py @@ -14,6 +14,10 @@ from datetime import date data_source_name = "proc_table_data.json" out_file_name = "proc_table_autogen.cpp" +# The EGL_ANGLE_explicit_context extension is generated differently from other extensions. +# Toggle generation here. +support_egl_ANGLE_explicit_context = True + template_cpp = """// GENERATED FILE - DO NOT EDIT. // Generated by {script_name} using data from {data_source_name}. // @@ -59,6 +63,9 @@ for description, functions in json_data.iteritems(): for function in functions: if function.startswith("gl"): all_functions[function] = "gl::" + function[2:] + # Special handling for EGL_ANGLE_explicit_context extension + if support_egl_ANGLE_explicit_context: + all_functions[function + "ContextANGLE"] = "gl::" + function[2:] + "ContextANGLE" elif function.startswith("egl"): all_functions[function] = "egl::" + function[3:] else: @@ -74,5 +81,4 @@ with open(out_file_name, 'wb') as out_file: proc_data = ",\n".join(proc_data), num_procs = len(proc_data)) out_file.write(output_cpp) - out_file.close() - + out_file.close() \ No newline at end of file diff --git a/src/libGLESv2/libGLESv2_autogen.cpp b/src/libGLESv2/libGLESv2_autogen.cpp index 7e1a10f2d..2d4d64d7d 100644 --- a/src/libGLESv2/libGLESv2_autogen.cpp +++ b/src/libGLESv2/libGLESv2_autogen.cpp @@ -3952,4 +3952,4750 @@ GLboolean GL_APIENTRY glIsVertexArrayOES(GLuint array) return gl::IsVertexArrayOES(array); } +// EGL_ANGLE_explicit_context +void GL_APIENTRY glActiveShaderProgramContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLuint program) +{ + return gl::ActiveShaderProgramContextANGLE(ctx, pipeline, program); +} + +void GL_APIENTRY glActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) +{ + return gl::ActiveTextureContextANGLE(ctx, texture); +} + +void GL_APIENTRY glAlphaFuncContextANGLE(GLeglContext ctx, GLenum func, GLfloat ref) +{ + return gl::AlphaFuncContextANGLE(ctx, func, ref); +} + +void GL_APIENTRY glAlphaFuncxContextANGLE(GLeglContext ctx, GLenum func, GLfixed ref) +{ + return gl::AlphaFuncxContextANGLE(ctx, func, ref); +} + +void GL_APIENTRY glAttachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +{ + return gl::AttachShaderContextANGLE(ctx, program, shader); +} + +void GL_APIENTRY glBeginQueryContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + return gl::BeginQueryContextANGLE(ctx, target, id); +} + +void GL_APIENTRY glBeginQueryEXTContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + return gl::BeginQueryEXTContextANGLE(ctx, target, id); +} + +void GL_APIENTRY glBeginTransformFeedbackContextANGLE(GLeglContext ctx, GLenum primitiveMode) +{ + return gl::BeginTransformFeedbackContextANGLE(ctx, primitiveMode); +} + +void GL_APIENTRY glBindAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + const GLchar *name) +{ + return gl::BindAttribLocationContextANGLE(ctx, program, index, name); +} + +void GL_APIENTRY glBindBufferContextANGLE(GLeglContext ctx, GLenum target, GLuint buffer) +{ + return gl::BindBufferContextANGLE(ctx, target, buffer); +} + +void GL_APIENTRY glBindBufferBaseContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer) +{ + return gl::BindBufferBaseContextANGLE(ctx, target, index, buffer); +} + +void GL_APIENTRY glBindBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLuint buffer, + GLintptr offset, + GLsizeiptr size) +{ + return gl::BindBufferRangeContextANGLE(ctx, target, index, buffer, offset, size); +} + +void GL_APIENTRY glBindFramebufferContextANGLE(GLeglContext ctx, GLenum target, GLuint framebuffer) +{ + return gl::BindFramebufferContextANGLE(ctx, target, framebuffer); +} + +void GL_APIENTRY glBindFramebufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint framebuffer) +{ + return gl::BindFramebufferOESContextANGLE(ctx, target, framebuffer); +} + +void GL_APIENTRY glBindImageTextureContextANGLE(GLeglContext ctx, + GLuint unit, + GLuint texture, + GLint level, + GLboolean layered, + GLint layer, + GLenum access, + GLenum format) +{ + return gl::BindImageTextureContextANGLE(ctx, unit, texture, level, layered, layer, access, + format); +} + +void GL_APIENTRY glBindProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + return gl::BindProgramPipelineContextANGLE(ctx, pipeline); +} + +void GL_APIENTRY glBindRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer) +{ + return gl::BindRenderbufferContextANGLE(ctx, target, renderbuffer); +} + +void GL_APIENTRY glBindRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLuint renderbuffer) +{ + return gl::BindRenderbufferOESContextANGLE(ctx, target, renderbuffer); +} + +void GL_APIENTRY glBindSamplerContextANGLE(GLeglContext ctx, GLuint unit, GLuint sampler) +{ + return gl::BindSamplerContextANGLE(ctx, unit, sampler); +} + +void GL_APIENTRY glBindTextureContextANGLE(GLeglContext ctx, GLenum target, GLuint texture) +{ + return gl::BindTextureContextANGLE(ctx, target, texture); +} + +void GL_APIENTRY glBindTransformFeedbackContextANGLE(GLeglContext ctx, GLenum target, GLuint id) +{ + return gl::BindTransformFeedbackContextANGLE(ctx, target, id); +} + +void GL_APIENTRY glBindVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +{ + return gl::BindVertexArrayContextANGLE(ctx, array); +} + +void GL_APIENTRY glBindVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +{ + return gl::BindVertexArrayOESContextANGLE(ctx, array); +} + +void GL_APIENTRY glBindVertexBufferContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint buffer, + GLintptr offset, + GLsizei stride) +{ + return gl::BindVertexBufferContextANGLE(ctx, bindingindex, buffer, offset, stride); +} + +void GL_APIENTRY +glBlendColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + return gl::BlendColorContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY glBlendEquationContextANGLE(GLeglContext ctx, GLenum mode) +{ + return gl::BlendEquationContextANGLE(ctx, mode); +} + +void GL_APIENTRY glBlendEquationSeparateContextANGLE(GLeglContext ctx, + GLenum modeRGB, + GLenum modeAlpha) +{ + return gl::BlendEquationSeparateContextANGLE(ctx, modeRGB, modeAlpha); +} + +void GL_APIENTRY glBlendFuncContextANGLE(GLeglContext ctx, GLenum sfactor, GLenum dfactor) +{ + return gl::BlendFuncContextANGLE(ctx, sfactor, dfactor); +} + +void GL_APIENTRY glBlendFuncSeparateContextANGLE(GLeglContext ctx, + GLenum sfactorRGB, + GLenum dfactorRGB, + GLenum sfactorAlpha, + GLenum dfactorAlpha) +{ + return gl::BlendFuncSeparateContextANGLE(ctx, sfactorRGB, dfactorRGB, sfactorAlpha, + dfactorAlpha); +} + +void GL_APIENTRY glBlitFramebufferContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) +{ + return gl::BlitFramebufferContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, + dstY1, mask, filter); +} + +void GL_APIENTRY glBlitFramebufferANGLEContextANGLE(GLeglContext ctx, + GLint srcX0, + GLint srcY0, + GLint srcX1, + GLint srcY1, + GLint dstX0, + GLint dstY0, + GLint dstX1, + GLint dstY1, + GLbitfield mask, + GLenum filter) +{ + return gl::BlitFramebufferANGLEContextANGLE(ctx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, + dstX1, dstY1, mask, filter); +} + +void GL_APIENTRY glBufferDataContextANGLE(GLeglContext ctx, + GLenum target, + GLsizeiptr size, + const void *data, + GLenum usage) +{ + return gl::BufferDataContextANGLE(ctx, target, size, data, usage); +} + +void GL_APIENTRY glBufferSubDataContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr size, + const void *data) +{ + return gl::BufferSubDataContextANGLE(ctx, target, offset, size, data); +} + +GLenum GL_APIENTRY glCheckFramebufferStatusContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::CheckFramebufferStatusContextANGLE(ctx, target); +} + +GLenum GL_APIENTRY glCheckFramebufferStatusOESContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::CheckFramebufferStatusOESContextANGLE(ctx, target); +} + +void GL_APIENTRY glClearContextANGLE(GLeglContext ctx, GLbitfield mask) +{ + return gl::ClearContextANGLE(ctx, mask); +} + +void GL_APIENTRY glClearBufferfiContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + GLfloat depth, + GLint stencil) +{ + return gl::ClearBufferfiContextANGLE(ctx, buffer, drawbuffer, depth, stencil); +} + +void GL_APIENTRY glClearBufferfvContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLfloat *value) +{ + return gl::ClearBufferfvContextANGLE(ctx, buffer, drawbuffer, value); +} + +void GL_APIENTRY glClearBufferivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLint *value) +{ + return gl::ClearBufferivContextANGLE(ctx, buffer, drawbuffer, value); +} + +void GL_APIENTRY glClearBufferuivContextANGLE(GLeglContext ctx, + GLenum buffer, + GLint drawbuffer, + const GLuint *value) +{ + return gl::ClearBufferuivContextANGLE(ctx, buffer, drawbuffer, value); +} + +void GL_APIENTRY +glClearColorContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + return gl::ClearColorContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY +glClearColorxContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +{ + return gl::ClearColorxContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY glClearDepthfContextANGLE(GLeglContext ctx, GLfloat d) +{ + return gl::ClearDepthfContextANGLE(ctx, d); +} + +void GL_APIENTRY glClearDepthxContextANGLE(GLeglContext ctx, GLfixed depth) +{ + return gl::ClearDepthxContextANGLE(ctx, depth); +} + +void GL_APIENTRY glClearStencilContextANGLE(GLeglContext ctx, GLint s) +{ + return gl::ClearStencilContextANGLE(ctx, s); +} + +void GL_APIENTRY glClientActiveTextureContextANGLE(GLeglContext ctx, GLenum texture) +{ + return gl::ClientActiveTextureContextANGLE(ctx, texture); +} + +GLenum GL_APIENTRY glClientWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) +{ + return gl::ClientWaitSyncContextANGLE(ctx, sync, flags, timeout); +} + +void GL_APIENTRY glClipPlanefContextANGLE(GLeglContext ctx, GLenum p, const GLfloat *eqn) +{ + return gl::ClipPlanefContextANGLE(ctx, p, eqn); +} + +void GL_APIENTRY glClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, const GLfixed *equation) +{ + return gl::ClipPlanexContextANGLE(ctx, plane, equation); +} + +void GL_APIENTRY +glColor4fContextANGLE(GLeglContext ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) +{ + return gl::Color4fContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY +glColor4ubContextANGLE(GLeglContext ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) +{ + return gl::Color4ubContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY +glColor4xContextANGLE(GLeglContext ctx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) +{ + return gl::Color4xContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY glColorMaskContextANGLE(GLeglContext ctx, + GLboolean red, + GLboolean green, + GLboolean blue, + GLboolean alpha) +{ + return gl::ColorMaskContextANGLE(ctx, red, green, blue, alpha); +} + +void GL_APIENTRY glColorPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::ColorPointerContextANGLE(ctx, size, type, stride, pointer); +} + +void GL_APIENTRY glCompileShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + return gl::CompileShaderContextANGLE(ctx, shader); +} + +void GL_APIENTRY glCompressedTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + const void *data) +{ + return gl::CompressedTexImage2DContextANGLE(ctx, target, level, internalformat, width, height, + border, imageSize, data); +} + +void GL_APIENTRY glCompressedTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + const void *data) +{ + return gl::CompressedTexImage3DContextANGLE(ctx, target, level, internalformat, width, height, + depth, border, imageSize, data); +} + +void GL_APIENTRY glCompressedTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return gl::CompressedTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, + height, format, imageSize, data); +} + +void GL_APIENTRY glCompressedTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + const void *data) +{ + return gl::CompressedTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, + width, height, depth, format, imageSize, data); +} + +void GL_APIENTRY glCopyBufferSubDataContextANGLE(GLeglContext ctx, + GLenum readTarget, + GLenum writeTarget, + GLintptr readOffset, + GLintptr writeOffset, + GLsizeiptr size) +{ + return gl::CopyBufferSubDataContextANGLE(ctx, readTarget, writeTarget, readOffset, writeOffset, + size); +} + +void GL_APIENTRY glCopyTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLint border) +{ + return gl::CopyTexImage2DContextANGLE(ctx, target, level, internalformat, x, y, width, height, + border); +} + +void GL_APIENTRY glCopyTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return gl::CopyTexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, x, y, width, + height); +} + +void GL_APIENTRY glCopyTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return gl::CopyTexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, x, y, + width, height); +} + +GLuint GL_APIENTRY glCreateProgramContextANGLE(GLeglContext ctx) +{ + return gl::CreateProgramContextANGLE(ctx); +} + +GLuint GL_APIENTRY glCreateShaderContextANGLE(GLeglContext ctx, GLenum type) +{ + return gl::CreateShaderContextANGLE(ctx, type); +} + +GLuint GL_APIENTRY glCreateShaderProgramvContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei count, + const GLchar *const *strings) +{ + return gl::CreateShaderProgramvContextANGLE(ctx, type, count, strings); +} + +void GL_APIENTRY glCullFaceContextANGLE(GLeglContext ctx, GLenum mode) +{ + return gl::CullFaceContextANGLE(ctx, mode); +} + +void GL_APIENTRY glCurrentPaletteMatrixOESContextANGLE(GLeglContext ctx, GLuint matrixpaletteindex) +{ + return gl::CurrentPaletteMatrixOESContextANGLE(ctx, matrixpaletteindex); +} + +void GL_APIENTRY glDebugMessageCallbackKHRContextANGLE(GLeglContext ctx, + GLDEBUGPROCKHR callback, + const void *userParam) +{ + return gl::DebugMessageCallbackKHRContextANGLE(ctx, callback, userParam); +} + +void GL_APIENTRY glDebugMessageControlKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLenum severity, + GLsizei count, + const GLuint *ids, + GLboolean enabled) +{ + return gl::DebugMessageControlKHRContextANGLE(ctx, source, type, severity, count, ids, enabled); +} + +void GL_APIENTRY glDebugMessageInsertKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLenum type, + GLuint id, + GLenum severity, + GLsizei length, + const GLchar *buf) +{ + return gl::DebugMessageInsertKHRContextANGLE(ctx, source, type, id, severity, length, buf); +} + +void GL_APIENTRY glDeleteBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *buffers) +{ + return gl::DeleteBuffersContextANGLE(ctx, n, buffers); +} + +void GL_APIENTRY glDeleteFencesNVContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *fences) +{ + return gl::DeleteFencesNVContextANGLE(ctx, n, fences); +} + +void GL_APIENTRY glDeleteFramebuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) +{ + return gl::DeleteFramebuffersContextANGLE(ctx, n, framebuffers); +} + +void GL_APIENTRY glDeleteFramebuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *framebuffers) +{ + return gl::DeleteFramebuffersOESContextANGLE(ctx, n, framebuffers); +} + +void GL_APIENTRY glDeleteProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + return gl::DeleteProgramContextANGLE(ctx, program); +} + +void GL_APIENTRY glDeleteProgramPipelinesContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *pipelines) +{ + return gl::DeleteProgramPipelinesContextANGLE(ctx, n, pipelines); +} + +void GL_APIENTRY glDeleteQueriesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) +{ + return gl::DeleteQueriesContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glDeleteQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *ids) +{ + return gl::DeleteQueriesEXTContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glDeleteRenderbuffersContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) +{ + return gl::DeleteRenderbuffersContextANGLE(ctx, n, renderbuffers); +} + +void GL_APIENTRY glDeleteRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *renderbuffers) +{ + return gl::DeleteRenderbuffersOESContextANGLE(ctx, n, renderbuffers); +} + +void GL_APIENTRY glDeleteSamplersContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *samplers) +{ + return gl::DeleteSamplersContextANGLE(ctx, count, samplers); +} + +void GL_APIENTRY glDeleteShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + return gl::DeleteShaderContextANGLE(ctx, shader); +} + +void GL_APIENTRY glDeleteSyncContextANGLE(GLeglContext ctx, GLsync sync) +{ + return gl::DeleteSyncContextANGLE(ctx, sync); +} + +void GL_APIENTRY glDeleteTexturesContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *textures) +{ + return gl::DeleteTexturesContextANGLE(ctx, n, textures); +} + +void GL_APIENTRY glDeleteTransformFeedbacksContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *ids) +{ + return gl::DeleteTransformFeedbacksContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glDeleteVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, const GLuint *arrays) +{ + return gl::DeleteVertexArraysContextANGLE(ctx, n, arrays); +} + +void GL_APIENTRY glDeleteVertexArraysOESContextANGLE(GLeglContext ctx, + GLsizei n, + const GLuint *arrays) +{ + return gl::DeleteVertexArraysOESContextANGLE(ctx, n, arrays); +} + +void GL_APIENTRY glDepthFuncContextANGLE(GLeglContext ctx, GLenum func) +{ + return gl::DepthFuncContextANGLE(ctx, func); +} + +void GL_APIENTRY glDepthMaskContextANGLE(GLeglContext ctx, GLboolean flag) +{ + return gl::DepthMaskContextANGLE(ctx, flag); +} + +void GL_APIENTRY glDepthRangefContextANGLE(GLeglContext ctx, GLfloat n, GLfloat f) +{ + return gl::DepthRangefContextANGLE(ctx, n, f); +} + +void GL_APIENTRY glDepthRangexContextANGLE(GLeglContext ctx, GLfixed n, GLfixed f) +{ + return gl::DepthRangexContextANGLE(ctx, n, f); +} + +void GL_APIENTRY glDetachShaderContextANGLE(GLeglContext ctx, GLuint program, GLuint shader) +{ + return gl::DetachShaderContextANGLE(ctx, program, shader); +} + +void GL_APIENTRY glDisableContextANGLE(GLeglContext ctx, GLenum cap) +{ + return gl::DisableContextANGLE(ctx, cap); +} + +void GL_APIENTRY glDisableClientStateContextANGLE(GLeglContext ctx, GLenum array) +{ + return gl::DisableClientStateContextANGLE(ctx, array); +} + +void GL_APIENTRY glDisableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +{ + return gl::DisableVertexAttribArrayContextANGLE(ctx, index); +} + +void GL_APIENTRY glDiscardFramebufferEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) +{ + return gl::DiscardFramebufferEXTContextANGLE(ctx, target, numAttachments, attachments); +} + +void GL_APIENTRY glDispatchComputeContextANGLE(GLeglContext ctx, + GLuint num_groups_x, + GLuint num_groups_y, + GLuint num_groups_z) +{ + return gl::DispatchComputeContextANGLE(ctx, num_groups_x, num_groups_y, num_groups_z); +} + +void GL_APIENTRY glDispatchComputeIndirectContextANGLE(GLeglContext ctx, GLintptr indirect) +{ + return gl::DispatchComputeIndirectContextANGLE(ctx, indirect); +} + +void GL_APIENTRY glDrawArraysContextANGLE(GLeglContext ctx, GLenum mode, GLint first, GLsizei count) +{ + return gl::DrawArraysContextANGLE(ctx, mode, first, count); +} + +void GL_APIENTRY glDrawArraysIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + const void *indirect) +{ + return gl::DrawArraysIndirectContextANGLE(ctx, mode, indirect); +} + +void GL_APIENTRY glDrawArraysInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei instancecount) +{ + return gl::DrawArraysInstancedContextANGLE(ctx, mode, first, count, instancecount); +} + +void GL_APIENTRY glDrawArraysInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLint first, + GLsizei count, + GLsizei primcount) +{ + return gl::DrawArraysInstancedANGLEContextANGLE(ctx, mode, first, count, primcount); +} + +void GL_APIENTRY glDrawBuffersContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +{ + return gl::DrawBuffersContextANGLE(ctx, n, bufs); +} + +void GL_APIENTRY glDrawBuffersEXTContextANGLE(GLeglContext ctx, GLsizei n, const GLenum *bufs) +{ + return gl::DrawBuffersEXTContextANGLE(ctx, n, bufs); +} + +void GL_APIENTRY glDrawElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices) +{ + return gl::DrawElementsContextANGLE(ctx, mode, count, type, indices); +} + +void GL_APIENTRY glDrawElementsIndirectContextANGLE(GLeglContext ctx, + GLenum mode, + GLenum type, + const void *indirect) +{ + return gl::DrawElementsIndirectContextANGLE(ctx, mode, type, indirect); +} + +void GL_APIENTRY glDrawElementsInstancedContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei instancecount) +{ + return gl::DrawElementsInstancedContextANGLE(ctx, mode, count, type, indices, instancecount); +} + +void GL_APIENTRY glDrawElementsInstancedANGLEContextANGLE(GLeglContext ctx, + GLenum mode, + GLsizei count, + GLenum type, + const void *indices, + GLsizei primcount) +{ + return gl::DrawElementsInstancedANGLEContextANGLE(ctx, mode, count, type, indices, primcount); +} + +void GL_APIENTRY glDrawRangeElementsContextANGLE(GLeglContext ctx, + GLenum mode, + GLuint start, + GLuint end, + GLsizei count, + GLenum type, + const void *indices) +{ + return gl::DrawRangeElementsContextANGLE(ctx, mode, start, end, count, type, indices); +} + +void GL_APIENTRY glDrawTexfOESContextANGLE(GLeglContext ctx, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat width, + GLfloat height) +{ + return gl::DrawTexfOESContextANGLE(ctx, x, y, z, width, height); +} + +void GL_APIENTRY glDrawTexfvOESContextANGLE(GLeglContext ctx, const GLfloat *coords) +{ + return gl::DrawTexfvOESContextANGLE(ctx, coords); +} + +void GL_APIENTRY +glDrawTexiOESContextANGLE(GLeglContext ctx, GLint x, GLint y, GLint z, GLint width, GLint height) +{ + return gl::DrawTexiOESContextANGLE(ctx, x, y, z, width, height); +} + +void GL_APIENTRY glDrawTexivOESContextANGLE(GLeglContext ctx, const GLint *coords) +{ + return gl::DrawTexivOESContextANGLE(ctx, coords); +} + +void GL_APIENTRY glDrawTexsOESContextANGLE(GLeglContext ctx, + GLshort x, + GLshort y, + GLshort z, + GLshort width, + GLshort height) +{ + return gl::DrawTexsOESContextANGLE(ctx, x, y, z, width, height); +} + +void GL_APIENTRY glDrawTexsvOESContextANGLE(GLeglContext ctx, const GLshort *coords) +{ + return gl::DrawTexsvOESContextANGLE(ctx, coords); +} + +void GL_APIENTRY glDrawTexxOESContextANGLE(GLeglContext ctx, + GLfixed x, + GLfixed y, + GLfixed z, + GLfixed width, + GLfixed height) +{ + return gl::DrawTexxOESContextANGLE(ctx, x, y, z, width, height); +} + +void GL_APIENTRY glDrawTexxvOESContextANGLE(GLeglContext ctx, const GLfixed *coords) +{ + return gl::DrawTexxvOESContextANGLE(ctx, coords); +} + +void GL_APIENTRY glEGLImageTargetRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) +{ + return gl::EGLImageTargetRenderbufferStorageOESContextANGLE(ctx, target, image); +} + +void GL_APIENTRY glEGLImageTargetTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLeglImageOES image) +{ + return gl::EGLImageTargetTexture2DOESContextANGLE(ctx, target, image); +} + +void GL_APIENTRY glEnableContextANGLE(GLeglContext ctx, GLenum cap) +{ + return gl::EnableContextANGLE(ctx, cap); +} + +void GL_APIENTRY glEnableClientStateContextANGLE(GLeglContext ctx, GLenum array) +{ + return gl::EnableClientStateContextANGLE(ctx, array); +} + +void GL_APIENTRY glEnableVertexAttribArrayContextANGLE(GLeglContext ctx, GLuint index) +{ + return gl::EnableVertexAttribArrayContextANGLE(ctx, index); +} + +void GL_APIENTRY glEndQueryContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::EndQueryContextANGLE(ctx, target); +} + +void GL_APIENTRY glEndQueryEXTContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::EndQueryEXTContextANGLE(ctx, target); +} + +void GL_APIENTRY glEndTransformFeedbackContextANGLE(GLeglContext ctx) +{ + return gl::EndTransformFeedbackContextANGLE(ctx); +} + +GLsync GL_APIENTRY glFenceSyncContextANGLE(GLeglContext ctx, GLenum condition, GLbitfield flags) +{ + return gl::FenceSyncContextANGLE(ctx, condition, flags); +} + +void GL_APIENTRY glFinishContextANGLE(GLeglContext ctx) +{ + return gl::FinishContextANGLE(ctx); +} + +void GL_APIENTRY glFinishFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + return gl::FinishFenceNVContextANGLE(ctx, fence); +} + +void GL_APIENTRY glFlushContextANGLE(GLeglContext ctx) +{ + return gl::FlushContextANGLE(ctx); +} + +void GL_APIENTRY glFlushMappedBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) +{ + return gl::FlushMappedBufferRangeContextANGLE(ctx, target, offset, length); +} + +void GL_APIENTRY glFlushMappedBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length) +{ + return gl::FlushMappedBufferRangeEXTContextANGLE(ctx, target, offset, length); +} + +void GL_APIENTRY glFogfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + return gl::FogfContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glFogfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +{ + return gl::FogfvContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glFogxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + return gl::FogxContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glFogxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +{ + return gl::FogxvContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glFramebufferParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) +{ + return gl::FramebufferParameteriContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glFramebufferRenderbufferContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) +{ + return gl::FramebufferRenderbufferContextANGLE(ctx, target, attachment, renderbuffertarget, + renderbuffer); +} + +void GL_APIENTRY glFramebufferRenderbufferOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum renderbuffertarget, + GLuint renderbuffer) +{ + return gl::FramebufferRenderbufferOESContextANGLE(ctx, target, attachment, renderbuffertarget, + renderbuffer); +} + +void GL_APIENTRY glFramebufferTexture2DContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) +{ + return gl::FramebufferTexture2DContextANGLE(ctx, target, attachment, textarget, texture, level); +} + +void GL_APIENTRY glFramebufferTexture2DOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum textarget, + GLuint texture, + GLint level) +{ + return gl::FramebufferTexture2DOESContextANGLE(ctx, target, attachment, textarget, texture, + level); +} + +void GL_APIENTRY glFramebufferTextureLayerContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint layer) +{ + return gl::FramebufferTextureLayerContextANGLE(ctx, target, attachment, texture, level, layer); +} + +void GL_APIENTRY glFrontFaceContextANGLE(GLeglContext ctx, GLenum mode) +{ + return gl::FrontFaceContextANGLE(ctx, mode); +} + +void GL_APIENTRY glFrustumfContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) +{ + return gl::FrustumfContextANGLE(ctx, l, r, b, t, n, f); +} + +void GL_APIENTRY glFrustumxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) +{ + return gl::FrustumxContextANGLE(ctx, l, r, b, t, n, f); +} + +void GL_APIENTRY glGenBuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *buffers) +{ + return gl::GenBuffersContextANGLE(ctx, n, buffers); +} + +void GL_APIENTRY glGenFencesNVContextANGLE(GLeglContext ctx, GLsizei n, GLuint *fences) +{ + return gl::GenFencesNVContextANGLE(ctx, n, fences); +} + +void GL_APIENTRY glGenFramebuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) +{ + return gl::GenFramebuffersContextANGLE(ctx, n, framebuffers); +} + +void GL_APIENTRY glGenFramebuffersOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *framebuffers) +{ + return gl::GenFramebuffersOESContextANGLE(ctx, n, framebuffers); +} + +void GL_APIENTRY glGenProgramPipelinesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *pipelines) +{ + return gl::GenProgramPipelinesContextANGLE(ctx, n, pipelines); +} + +void GL_APIENTRY glGenQueriesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + return gl::GenQueriesContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glGenQueriesEXTContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + return gl::GenQueriesEXTContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glGenRenderbuffersContextANGLE(GLeglContext ctx, GLsizei n, GLuint *renderbuffers) +{ + return gl::GenRenderbuffersContextANGLE(ctx, n, renderbuffers); +} + +void GL_APIENTRY glGenRenderbuffersOESContextANGLE(GLeglContext ctx, + GLsizei n, + GLuint *renderbuffers) +{ + return gl::GenRenderbuffersOESContextANGLE(ctx, n, renderbuffers); +} + +void GL_APIENTRY glGenSamplersContextANGLE(GLeglContext ctx, GLsizei count, GLuint *samplers) +{ + return gl::GenSamplersContextANGLE(ctx, count, samplers); +} + +void GL_APIENTRY glGenTexturesContextANGLE(GLeglContext ctx, GLsizei n, GLuint *textures) +{ + return gl::GenTexturesContextANGLE(ctx, n, textures); +} + +void GL_APIENTRY glGenTransformFeedbacksContextANGLE(GLeglContext ctx, GLsizei n, GLuint *ids) +{ + return gl::GenTransformFeedbacksContextANGLE(ctx, n, ids); +} + +void GL_APIENTRY glGenVertexArraysContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +{ + return gl::GenVertexArraysContextANGLE(ctx, n, arrays); +} + +void GL_APIENTRY glGenVertexArraysOESContextANGLE(GLeglContext ctx, GLsizei n, GLuint *arrays) +{ + return gl::GenVertexArraysOESContextANGLE(ctx, n, arrays); +} + +void GL_APIENTRY glGenerateMipmapContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::GenerateMipmapContextANGLE(ctx, target); +} + +void GL_APIENTRY glGenerateMipmapOESContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::GenerateMipmapOESContextANGLE(ctx, target); +} + +void GL_APIENTRY glGetActiveAttribContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) +{ + return gl::GetActiveAttribContextANGLE(ctx, program, index, bufSize, length, size, type, name); +} + +void GL_APIENTRY glGetActiveUniformContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *size, + GLenum *type, + GLchar *name) +{ + return gl::GetActiveUniformContextANGLE(ctx, program, index, bufSize, length, size, type, name); +} + +void GL_APIENTRY glGetActiveUniformBlockNameContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLsizei bufSize, + GLsizei *length, + GLchar *uniformBlockName) +{ + return gl::GetActiveUniformBlockNameContextANGLE(ctx, program, uniformBlockIndex, bufSize, + length, uniformBlockName); +} + +void GL_APIENTRY glGetActiveUniformBlockivContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLint *params) +{ + return gl::GetActiveUniformBlockivContextANGLE(ctx, program, uniformBlockIndex, pname, params); +} + +void GL_APIENTRY glGetActiveUniformsivContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLuint *uniformIndices, + GLenum pname, + GLint *params) +{ + return gl::GetActiveUniformsivContextANGLE(ctx, program, uniformCount, uniformIndices, pname, + params); +} + +void GL_APIENTRY glGetAttachedShadersContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei maxCount, + GLsizei *count, + GLuint *shaders) +{ + return gl::GetAttachedShadersContextANGLE(ctx, program, maxCount, count, shaders); +} + +GLint GL_APIENTRY glGetAttribLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + return gl::GetAttribLocationContextANGLE(ctx, program, name); +} + +void GL_APIENTRY glGetBooleani_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLboolean *data) +{ + return gl::GetBooleani_vContextANGLE(ctx, target, index, data); +} + +void GL_APIENTRY glGetBooleanvContextANGLE(GLeglContext ctx, GLenum pname, GLboolean *data) +{ + return gl::GetBooleanvContextANGLE(ctx, pname, data); +} + +void GL_APIENTRY glGetBufferParameteri64vContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint64 *params) +{ + return gl::GetBufferParameteri64vContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetBufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetBufferParameterivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetBufferPointervContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) +{ + return gl::GetBufferPointervContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetBufferPointervOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + void **params) +{ + return gl::GetBufferPointervOESContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetClipPlanefContextANGLE(GLeglContext ctx, GLenum plane, GLfloat *equation) +{ + return gl::GetClipPlanefContextANGLE(ctx, plane, equation); +} + +void GL_APIENTRY glGetClipPlanexContextANGLE(GLeglContext ctx, GLenum plane, GLfixed *equation) +{ + return gl::GetClipPlanexContextANGLE(ctx, plane, equation); +} + +GLuint GL_APIENTRY glGetDebugMessageLogKHRContextANGLE(GLeglContext ctx, + GLuint count, + GLsizei bufSize, + GLenum *sources, + GLenum *types, + GLuint *ids, + GLenum *severities, + GLsizei *lengths, + GLchar *messageLog) +{ + return gl::GetDebugMessageLogKHRContextANGLE(ctx, count, bufSize, sources, types, ids, + severities, lengths, messageLog); +} + +GLenum GL_APIENTRY glGetErrorContextANGLE(GLeglContext ctx) +{ + return gl::GetErrorContextANGLE(ctx); +} + +void GL_APIENTRY glGetFenceivNVContextANGLE(GLeglContext ctx, + GLuint fence, + GLenum pname, + GLint *params) +{ + return gl::GetFenceivNVContextANGLE(ctx, fence, pname, params); +} + +void GL_APIENTRY glGetFixedvContextANGLE(GLeglContext ctx, GLenum pname, GLfixed *params) +{ + return gl::GetFixedvContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glGetFloatvContextANGLE(GLeglContext ctx, GLenum pname, GLfloat *data) +{ + return gl::GetFloatvContextANGLE(ctx, pname, data); +} + +GLint GL_APIENTRY glGetFragDataLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + return gl::GetFragDataLocationContextANGLE(ctx, program, name); +} + +void GL_APIENTRY glGetFramebufferAttachmentParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) +{ + return gl::GetFramebufferAttachmentParameterivContextANGLE(ctx, target, attachment, pname, + params); +} + +void GL_APIENTRY glGetFramebufferAttachmentParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLint *params) +{ + return gl::GetFramebufferAttachmentParameterivOESContextANGLE(ctx, target, attachment, pname, + params); +} + +void GL_APIENTRY glGetFramebufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetFramebufferParameterivContextANGLE(ctx, target, pname, params); +} + +GLenum GL_APIENTRY glGetGraphicsResetStatusEXTContextANGLE(GLeglContext ctx) +{ + return gl::GetGraphicsResetStatusEXTContextANGLE(ctx); +} + +void GL_APIENTRY glGetInteger64i_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint64 *data) +{ + return gl::GetInteger64i_vContextANGLE(ctx, target, index, data); +} + +void GL_APIENTRY glGetInteger64vContextANGLE(GLeglContext ctx, GLenum pname, GLint64 *data) +{ + return gl::GetInteger64vContextANGLE(ctx, pname, data); +} + +void GL_APIENTRY glGetIntegeri_vContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLint *data) +{ + return gl::GetIntegeri_vContextANGLE(ctx, target, index, data); +} + +void GL_APIENTRY glGetIntegervContextANGLE(GLeglContext ctx, GLenum pname, GLint *data) +{ + return gl::GetIntegervContextANGLE(ctx, pname, data); +} + +void GL_APIENTRY glGetInternalformativContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLint *params) +{ + return gl::GetInternalformativContextANGLE(ctx, target, internalformat, pname, bufSize, params); +} + +void GL_APIENTRY glGetLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfloat *params) +{ + return gl::GetLightfvContextANGLE(ctx, light, pname, params); +} + +void GL_APIENTRY glGetLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + GLfixed *params) +{ + return gl::GetLightxvContextANGLE(ctx, light, pname, params); +} + +void GL_APIENTRY glGetMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfloat *params) +{ + return gl::GetMaterialfvContextANGLE(ctx, face, pname, params); +} + +void GL_APIENTRY glGetMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + GLfixed *params) +{ + return gl::GetMaterialxvContextANGLE(ctx, face, pname, params); +} + +void GL_APIENTRY glGetMultisamplefvContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLfloat *val) +{ + return gl::GetMultisamplefvContextANGLE(ctx, pname, index, val); +} + +void GL_APIENTRY glGetObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei bufSize, + GLsizei *length, + GLchar *label) +{ + return gl::GetObjectLabelKHRContextANGLE(ctx, identifier, name, bufSize, length, label); +} + +void GL_APIENTRY glGetObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei bufSize, + GLsizei *length, + GLchar *label) +{ + return gl::GetObjectPtrLabelKHRContextANGLE(ctx, ptr, bufSize, length, label); +} + +void GL_APIENTRY glGetPointervContextANGLE(GLeglContext ctx, GLenum pname, void **params) +{ + return gl::GetPointervContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glGetPointervKHRContextANGLE(GLeglContext ctx, GLenum pname, void **params) +{ + return gl::GetPointervKHRContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glGetProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) +{ + return gl::GetProgramBinaryContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); +} + +void GL_APIENTRY glGetProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLenum *binaryFormat, + void *binary) +{ + return gl::GetProgramBinaryOESContextANGLE(ctx, program, bufSize, length, binaryFormat, binary); +} + +void GL_APIENTRY glGetProgramInfoLogContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + return gl::GetProgramInfoLogContextANGLE(ctx, program, bufSize, length, infoLog); +} + +void GL_APIENTRY glGetProgramInterfaceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLint *params) +{ + return gl::GetProgramInterfaceivContextANGLE(ctx, program, programInterface, pname, params); +} + +void GL_APIENTRY glGetProgramPipelineInfoLogContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + return gl::GetProgramPipelineInfoLogContextANGLE(ctx, pipeline, bufSize, length, infoLog); +} + +void GL_APIENTRY glGetProgramPipelineivContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLenum pname, + GLint *params) +{ + return gl::GetProgramPipelineivContextANGLE(ctx, pipeline, pname, params); +} + +GLuint GL_APIENTRY glGetProgramResourceIndexContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) +{ + return gl::GetProgramResourceIndexContextANGLE(ctx, program, programInterface, name); +} + +GLint GL_APIENTRY glGetProgramResourceLocationContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + const GLchar *name) +{ + return gl::GetProgramResourceLocationContextANGLE(ctx, program, programInterface, name); +} + +void GL_APIENTRY glGetProgramResourceNameContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLchar *name) +{ + return gl::GetProgramResourceNameContextANGLE(ctx, program, programInterface, index, bufSize, + length, name); +} + +void GL_APIENTRY glGetProgramResourceivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLuint index, + GLsizei propCount, + const GLenum *props, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetProgramResourceivContextANGLE(ctx, program, programInterface, index, propCount, + props, bufSize, length, params); +} + +void GL_APIENTRY glGetProgramivContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint *params) +{ + return gl::GetProgramivContextANGLE(ctx, program, pname, params); +} + +void GL_APIENTRY glGetQueryObjecti64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint64 *params) +{ + return gl::GetQueryObjecti64vEXTContextANGLE(ctx, id, pname, params); +} + +void GL_APIENTRY glGetQueryObjectivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLint *params) +{ + return gl::GetQueryObjectivEXTContextANGLE(ctx, id, pname, params); +} + +void GL_APIENTRY glGetQueryObjectui64vEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint64 *params) +{ + return gl::GetQueryObjectui64vEXTContextANGLE(ctx, id, pname, params); +} + +void GL_APIENTRY glGetQueryObjectuivContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) +{ + return gl::GetQueryObjectuivContextANGLE(ctx, id, pname, params); +} + +void GL_APIENTRY glGetQueryObjectuivEXTContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLuint *params) +{ + return gl::GetQueryObjectuivEXTContextANGLE(ctx, id, pname, params); +} + +void GL_APIENTRY glGetQueryivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetQueryivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetQueryivEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetQueryivEXTContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetRenderbufferParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetRenderbufferParameterivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetRenderbufferParameterivOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetRenderbufferParameterivOESContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat *params) +{ + return gl::GetSamplerParameterfvContextANGLE(ctx, sampler, pname, params); +} + +void GL_APIENTRY glGetSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint *params) +{ + return gl::GetSamplerParameterivContextANGLE(ctx, sampler, pname, params); +} + +void GL_APIENTRY glGetShaderInfoLogContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *infoLog) +{ + return gl::GetShaderInfoLogContextANGLE(ctx, shader, bufSize, length, infoLog); +} + +void GL_APIENTRY glGetShaderPrecisionFormatContextANGLE(GLeglContext ctx, + GLenum shadertype, + GLenum precisiontype, + GLint *range, + GLint *precision) +{ + return gl::GetShaderPrecisionFormatContextANGLE(ctx, shadertype, precisiontype, range, + precision); +} + +void GL_APIENTRY glGetShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufSize, + GLsizei *length, + GLchar *source) +{ + return gl::GetShaderSourceContextANGLE(ctx, shader, bufSize, length, source); +} + +void GL_APIENTRY glGetShaderivContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLint *params) +{ + return gl::GetShaderivContextANGLE(ctx, shader, pname, params); +} + +const GLubyte *GL_APIENTRY glGetStringContextANGLE(GLeglContext ctx, GLenum name) +{ + return gl::GetStringContextANGLE(ctx, name); +} + +const GLubyte *GL_APIENTRY glGetStringiContextANGLE(GLeglContext ctx, GLenum name, GLuint index) +{ + return gl::GetStringiContextANGLE(ctx, name, index); +} + +void GL_APIENTRY glGetSyncivContextANGLE(GLeglContext ctx, + GLsync sync, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *values) +{ + return gl::GetSyncivContextANGLE(ctx, sync, pname, bufSize, length, values); +} + +void GL_APIENTRY glGetTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) +{ + return gl::GetTexEnvfvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetTexEnvivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) +{ + return gl::GetTexEnvxvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat *params) +{ + return gl::GetTexGenfvOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glGetTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLint *params) +{ + return gl::GetTexGenivOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glGetTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed *params) +{ + return gl::GetTexGenxvOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glGetTexLevelParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLfloat *params) +{ + return gl::GetTexLevelParameterfvContextANGLE(ctx, target, level, pname, params); +} + +void GL_APIENTRY glGetTexLevelParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLint *params) +{ + return gl::GetTexLevelParameterivContextANGLE(ctx, target, level, pname, params); +} + +void GL_APIENTRY glGetTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat *params) +{ + return gl::GetTexParameterfvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint *params) +{ + return gl::GetTexParameterivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed *params) +{ + return gl::GetTexParameterxvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glGetTransformFeedbackVaryingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLsizei *size, + GLenum *type, + GLchar *name) +{ + return gl::GetTransformFeedbackVaryingContextANGLE(ctx, program, index, bufSize, length, size, + type, name); +} + +void GL_APIENTRY glGetTranslatedShaderSourceANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei bufsize, + GLsizei *length, + GLchar *source) +{ + return gl::GetTranslatedShaderSourceANGLEContextANGLE(ctx, shader, bufsize, length, source); +} + +GLuint GL_APIENTRY glGetUniformBlockIndexContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *uniformBlockName) +{ + return gl::GetUniformBlockIndexContextANGLE(ctx, program, uniformBlockName); +} + +void GL_APIENTRY glGetUniformIndicesContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei uniformCount, + const GLchar *const *uniformNames, + GLuint *uniformIndices) +{ + return gl::GetUniformIndicesContextANGLE(ctx, program, uniformCount, uniformNames, + uniformIndices); +} + +GLint GL_APIENTRY glGetUniformLocationContextANGLE(GLeglContext ctx, + GLuint program, + const GLchar *name) +{ + return gl::GetUniformLocationContextANGLE(ctx, program, name); +} + +void GL_APIENTRY glGetUniformfvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat *params) +{ + return gl::GetUniformfvContextANGLE(ctx, program, location, params); +} + +void GL_APIENTRY glGetUniformivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint *params) +{ + return gl::GetUniformivContextANGLE(ctx, program, location, params); +} + +void GL_APIENTRY glGetUniformuivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint *params) +{ + return gl::GetUniformuivContextANGLE(ctx, program, location, params); +} + +void GL_APIENTRY glGetVertexAttribIivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) +{ + return gl::GetVertexAttribIivContextANGLE(ctx, index, pname, params); +} + +void GL_APIENTRY glGetVertexAttribIuivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLuint *params) +{ + return gl::GetVertexAttribIuivContextANGLE(ctx, index, pname, params); +} + +void GL_APIENTRY glGetVertexAttribPointervContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + void **pointer) +{ + return gl::GetVertexAttribPointervContextANGLE(ctx, index, pname, pointer); +} + +void GL_APIENTRY glGetVertexAttribfvContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLfloat *params) +{ + return gl::GetVertexAttribfvContextANGLE(ctx, index, pname, params); +} + +void GL_APIENTRY glGetVertexAttribivContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLint *params) +{ + return gl::GetVertexAttribivContextANGLE(ctx, index, pname, params); +} + +void GL_APIENTRY glGetnUniformfvEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLfloat *params) +{ + return gl::GetnUniformfvEXTContextANGLE(ctx, program, location, bufSize, params); +} + +void GL_APIENTRY glGetnUniformivEXTContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLint *params) +{ + return gl::GetnUniformivEXTContextANGLE(ctx, program, location, bufSize, params); +} + +void GL_APIENTRY glHintContextANGLE(GLeglContext ctx, GLenum target, GLenum mode) +{ + return gl::HintContextANGLE(ctx, target, mode); +} + +void GL_APIENTRY glInsertEventMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) +{ + return gl::InsertEventMarkerEXTContextANGLE(ctx, length, marker); +} + +void GL_APIENTRY glInvalidateFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments) +{ + return gl::InvalidateFramebufferContextANGLE(ctx, target, numAttachments, attachments); +} + +void GL_APIENTRY glInvalidateSubFramebufferContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei numAttachments, + const GLenum *attachments, + GLint x, + GLint y, + GLsizei width, + GLsizei height) +{ + return gl::InvalidateSubFramebufferContextANGLE(ctx, target, numAttachments, attachments, x, y, + width, height); +} + +GLboolean GL_APIENTRY glIsBufferContextANGLE(GLeglContext ctx, GLuint buffer) +{ + return gl::IsBufferContextANGLE(ctx, buffer); +} + +GLboolean GL_APIENTRY glIsEnabledContextANGLE(GLeglContext ctx, GLenum cap) +{ + return gl::IsEnabledContextANGLE(ctx, cap); +} + +GLboolean GL_APIENTRY glIsFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + return gl::IsFenceNVContextANGLE(ctx, fence); +} + +GLboolean GL_APIENTRY glIsFramebufferContextANGLE(GLeglContext ctx, GLuint framebuffer) +{ + return gl::IsFramebufferContextANGLE(ctx, framebuffer); +} + +GLboolean GL_APIENTRY glIsFramebufferOESContextANGLE(GLeglContext ctx, GLuint framebuffer) +{ + return gl::IsFramebufferOESContextANGLE(ctx, framebuffer); +} + +GLboolean GL_APIENTRY glIsProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + return gl::IsProgramContextANGLE(ctx, program); +} + +GLboolean GL_APIENTRY glIsProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + return gl::IsProgramPipelineContextANGLE(ctx, pipeline); +} + +GLboolean GL_APIENTRY glIsQueryContextANGLE(GLeglContext ctx, GLuint id) +{ + return gl::IsQueryContextANGLE(ctx, id); +} + +GLboolean GL_APIENTRY glIsQueryEXTContextANGLE(GLeglContext ctx, GLuint id) +{ + return gl::IsQueryEXTContextANGLE(ctx, id); +} + +GLboolean GL_APIENTRY glIsRenderbufferContextANGLE(GLeglContext ctx, GLuint renderbuffer) +{ + return gl::IsRenderbufferContextANGLE(ctx, renderbuffer); +} + +GLboolean GL_APIENTRY glIsRenderbufferOESContextANGLE(GLeglContext ctx, GLuint renderbuffer) +{ + return gl::IsRenderbufferOESContextANGLE(ctx, renderbuffer); +} + +GLboolean GL_APIENTRY glIsSamplerContextANGLE(GLeglContext ctx, GLuint sampler) +{ + return gl::IsSamplerContextANGLE(ctx, sampler); +} + +GLboolean GL_APIENTRY glIsShaderContextANGLE(GLeglContext ctx, GLuint shader) +{ + return gl::IsShaderContextANGLE(ctx, shader); +} + +GLboolean GL_APIENTRY glIsSyncContextANGLE(GLeglContext ctx, GLsync sync) +{ + return gl::IsSyncContextANGLE(ctx, sync); +} + +GLboolean GL_APIENTRY glIsTextureContextANGLE(GLeglContext ctx, GLuint texture) +{ + return gl::IsTextureContextANGLE(ctx, texture); +} + +GLboolean GL_APIENTRY glIsTransformFeedbackContextANGLE(GLeglContext ctx, GLuint id) +{ + return gl::IsTransformFeedbackContextANGLE(ctx, id); +} + +GLboolean GL_APIENTRY glIsVertexArrayContextANGLE(GLeglContext ctx, GLuint array) +{ + return gl::IsVertexArrayContextANGLE(ctx, array); +} + +GLboolean GL_APIENTRY glIsVertexArrayOESContextANGLE(GLeglContext ctx, GLuint array) +{ + return gl::IsVertexArrayOESContextANGLE(ctx, array); +} + +void GL_APIENTRY glLightModelfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + return gl::LightModelfContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glLightModelfvContextANGLE(GLeglContext ctx, GLenum pname, const GLfloat *params) +{ + return gl::LightModelfvContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glLightModelxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + return gl::LightModelxContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glLightModelxvContextANGLE(GLeglContext ctx, GLenum pname, const GLfixed *param) +{ + return gl::LightModelxvContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glLightfContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfloat param) +{ + return gl::LightfContextANGLE(ctx, light, pname, param); +} + +void GL_APIENTRY glLightfvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfloat *params) +{ + return gl::LightfvContextANGLE(ctx, light, pname, params); +} + +void GL_APIENTRY glLightxContextANGLE(GLeglContext ctx, GLenum light, GLenum pname, GLfixed param) +{ + return gl::LightxContextANGLE(ctx, light, pname, param); +} + +void GL_APIENTRY glLightxvContextANGLE(GLeglContext ctx, + GLenum light, + GLenum pname, + const GLfixed *params) +{ + return gl::LightxvContextANGLE(ctx, light, pname, params); +} + +void GL_APIENTRY glLineWidthContextANGLE(GLeglContext ctx, GLfloat width) +{ + return gl::LineWidthContextANGLE(ctx, width); +} + +void GL_APIENTRY glLineWidthxContextANGLE(GLeglContext ctx, GLfixed width) +{ + return gl::LineWidthxContextANGLE(ctx, width); +} + +void GL_APIENTRY glLinkProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + return gl::LinkProgramContextANGLE(ctx, program); +} + +void GL_APIENTRY glLoadIdentityContextANGLE(GLeglContext ctx) +{ + return gl::LoadIdentityContextANGLE(ctx); +} + +void GL_APIENTRY glLoadMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +{ + return gl::LoadMatrixfContextANGLE(ctx, m); +} + +void GL_APIENTRY glLoadMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +{ + return gl::LoadMatrixxContextANGLE(ctx, m); +} + +void GL_APIENTRY glLoadPaletteFromModelViewMatrixOESContextANGLE(GLeglContext ctx) +{ + return gl::LoadPaletteFromModelViewMatrixOESContextANGLE(ctx); +} + +void GL_APIENTRY glLogicOpContextANGLE(GLeglContext ctx, GLenum opcode) +{ + return gl::LogicOpContextANGLE(ctx, opcode); +} + +void *GL_APIENTRY glMapBufferOESContextANGLE(GLeglContext ctx, GLenum target, GLenum access) +{ + return gl::MapBufferOESContextANGLE(ctx, target, access); +} + +void *GL_APIENTRY glMapBufferRangeContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) +{ + return gl::MapBufferRangeContextANGLE(ctx, target, offset, length, access); +} + +void *GL_APIENTRY glMapBufferRangeEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLintptr offset, + GLsizeiptr length, + GLbitfield access) +{ + return gl::MapBufferRangeEXTContextANGLE(ctx, target, offset, length, access); +} + +void GL_APIENTRY glMaterialfContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfloat param) +{ + return gl::MaterialfContextANGLE(ctx, face, pname, param); +} + +void GL_APIENTRY glMaterialfvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfloat *params) +{ + return gl::MaterialfvContextANGLE(ctx, face, pname, params); +} + +void GL_APIENTRY glMaterialxContextANGLE(GLeglContext ctx, GLenum face, GLenum pname, GLfixed param) +{ + return gl::MaterialxContextANGLE(ctx, face, pname, param); +} + +void GL_APIENTRY glMaterialxvContextANGLE(GLeglContext ctx, + GLenum face, + GLenum pname, + const GLfixed *param) +{ + return gl::MaterialxvContextANGLE(ctx, face, pname, param); +} + +void GL_APIENTRY glMatrixIndexPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::MatrixIndexPointerOESContextANGLE(ctx, size, type, stride, pointer); +} + +void GL_APIENTRY glMatrixModeContextANGLE(GLeglContext ctx, GLenum mode) +{ + return gl::MatrixModeContextANGLE(ctx, mode); +} + +void GL_APIENTRY glMemoryBarrierContextANGLE(GLeglContext ctx, GLbitfield barriers) +{ + return gl::MemoryBarrierContextANGLE(ctx, barriers); +} + +void GL_APIENTRY glMemoryBarrierByRegionContextANGLE(GLeglContext ctx, GLbitfield barriers) +{ + return gl::MemoryBarrierByRegionContextANGLE(ctx, barriers); +} + +void GL_APIENTRY glMultMatrixfContextANGLE(GLeglContext ctx, const GLfloat *m) +{ + return gl::MultMatrixfContextANGLE(ctx, m); +} + +void GL_APIENTRY glMultMatrixxContextANGLE(GLeglContext ctx, const GLfixed *m) +{ + return gl::MultMatrixxContextANGLE(ctx, m); +} + +void GL_APIENTRY glMultiTexCoord4fContextANGLE(GLeglContext ctx, + GLenum target, + GLfloat s, + GLfloat t, + GLfloat r, + GLfloat q) +{ + return gl::MultiTexCoord4fContextANGLE(ctx, target, s, t, r, q); +} + +void GL_APIENTRY glMultiTexCoord4xContextANGLE(GLeglContext ctx, + GLenum texture, + GLfixed s, + GLfixed t, + GLfixed r, + GLfixed q) +{ + return gl::MultiTexCoord4xContextANGLE(ctx, texture, s, t, r, q); +} + +void GL_APIENTRY glNormal3fContextANGLE(GLeglContext ctx, GLfloat nx, GLfloat ny, GLfloat nz) +{ + return gl::Normal3fContextANGLE(ctx, nx, ny, nz); +} + +void GL_APIENTRY glNormal3xContextANGLE(GLeglContext ctx, GLfixed nx, GLfixed ny, GLfixed nz) +{ + return gl::Normal3xContextANGLE(ctx, nx, ny, nz); +} + +void GL_APIENTRY glNormalPointerContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::NormalPointerContextANGLE(ctx, type, stride, pointer); +} + +void GL_APIENTRY glObjectLabelKHRContextANGLE(GLeglContext ctx, + GLenum identifier, + GLuint name, + GLsizei length, + const GLchar *label) +{ + return gl::ObjectLabelKHRContextANGLE(ctx, identifier, name, length, label); +} + +void GL_APIENTRY glObjectPtrLabelKHRContextANGLE(GLeglContext ctx, + const void *ptr, + GLsizei length, + const GLchar *label) +{ + return gl::ObjectPtrLabelKHRContextANGLE(ctx, ptr, length, label); +} + +void GL_APIENTRY glOrthofContextANGLE(GLeglContext ctx, + GLfloat l, + GLfloat r, + GLfloat b, + GLfloat t, + GLfloat n, + GLfloat f) +{ + return gl::OrthofContextANGLE(ctx, l, r, b, t, n, f); +} + +void GL_APIENTRY glOrthoxContextANGLE(GLeglContext ctx, + GLfixed l, + GLfixed r, + GLfixed b, + GLfixed t, + GLfixed n, + GLfixed f) +{ + return gl::OrthoxContextANGLE(ctx, l, r, b, t, n, f); +} + +void GL_APIENTRY glPauseTransformFeedbackContextANGLE(GLeglContext ctx) +{ + return gl::PauseTransformFeedbackContextANGLE(ctx); +} + +void GL_APIENTRY glPixelStoreiContextANGLE(GLeglContext ctx, GLenum pname, GLint param) +{ + return gl::PixelStoreiContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glPointParameterfContextANGLE(GLeglContext ctx, GLenum pname, GLfloat param) +{ + return gl::PointParameterfContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glPointParameterfvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfloat *params) +{ + return gl::PointParameterfvContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glPointParameterxContextANGLE(GLeglContext ctx, GLenum pname, GLfixed param) +{ + return gl::PointParameterxContextANGLE(ctx, pname, param); +} + +void GL_APIENTRY glPointParameterxvContextANGLE(GLeglContext ctx, + GLenum pname, + const GLfixed *params) +{ + return gl::PointParameterxvContextANGLE(ctx, pname, params); +} + +void GL_APIENTRY glPointSizeContextANGLE(GLeglContext ctx, GLfloat size) +{ + return gl::PointSizeContextANGLE(ctx, size); +} + +void GL_APIENTRY glPointSizePointerOESContextANGLE(GLeglContext ctx, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::PointSizePointerOESContextANGLE(ctx, type, stride, pointer); +} + +void GL_APIENTRY glPointSizexContextANGLE(GLeglContext ctx, GLfixed size) +{ + return gl::PointSizexContextANGLE(ctx, size); +} + +void GL_APIENTRY glPolygonOffsetContextANGLE(GLeglContext ctx, GLfloat factor, GLfloat units) +{ + return gl::PolygonOffsetContextANGLE(ctx, factor, units); +} + +void GL_APIENTRY glPolygonOffsetxContextANGLE(GLeglContext ctx, GLfixed factor, GLfixed units) +{ + return gl::PolygonOffsetxContextANGLE(ctx, factor, units); +} + +void GL_APIENTRY glPopDebugGroupKHRContextANGLE(GLeglContext ctx) +{ + return gl::PopDebugGroupKHRContextANGLE(ctx); +} + +void GL_APIENTRY glPopGroupMarkerEXTContextANGLE(GLeglContext ctx) +{ + return gl::PopGroupMarkerEXTContextANGLE(ctx); +} + +void GL_APIENTRY glPopMatrixContextANGLE(GLeglContext ctx) +{ + return gl::PopMatrixContextANGLE(ctx); +} + +void GL_APIENTRY glProgramBinaryContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLsizei length) +{ + return gl::ProgramBinaryContextANGLE(ctx, program, binaryFormat, binary, length); +} + +void GL_APIENTRY glProgramBinaryOESContextANGLE(GLeglContext ctx, + GLuint program, + GLenum binaryFormat, + const void *binary, + GLint length) +{ + return gl::ProgramBinaryOESContextANGLE(ctx, program, binaryFormat, binary, length); +} + +void GL_APIENTRY glProgramParameteriContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLint value) +{ + return gl::ProgramParameteriContextANGLE(ctx, program, pname, value); +} + +void GL_APIENTRY glProgramUniform1fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0) +{ + return gl::ProgramUniform1fContextANGLE(ctx, program, location, v0); +} + +void GL_APIENTRY glProgramUniform1fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::ProgramUniform1fvContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform1iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0) +{ + return gl::ProgramUniform1iContextANGLE(ctx, program, location, v0); +} + +void GL_APIENTRY glProgramUniform1ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::ProgramUniform1ivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform1uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0) +{ + return gl::ProgramUniform1uiContextANGLE(ctx, program, location, v0); +} + +void GL_APIENTRY glProgramUniform1uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::ProgramUniform1uivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform2fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1) +{ + return gl::ProgramUniform2fContextANGLE(ctx, program, location, v0, v1); +} + +void GL_APIENTRY glProgramUniform2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::ProgramUniform2fvContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY +glProgramUniform2iContextANGLE(GLeglContext ctx, GLuint program, GLint location, GLint v0, GLint v1) +{ + return gl::ProgramUniform2iContextANGLE(ctx, program, location, v0, v1); +} + +void GL_APIENTRY glProgramUniform2ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::ProgramUniform2ivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform2uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1) +{ + return gl::ProgramUniform2uiContextANGLE(ctx, program, location, v0, v1); +} + +void GL_APIENTRY glProgramUniform2uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::ProgramUniform2uivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform3fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2) +{ + return gl::ProgramUniform3fContextANGLE(ctx, program, location, v0, v1, v2); +} + +void GL_APIENTRY glProgramUniform3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::ProgramUniform3fvContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform3iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2) +{ + return gl::ProgramUniform3iContextANGLE(ctx, program, location, v0, v1, v2); +} + +void GL_APIENTRY glProgramUniform3ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::ProgramUniform3ivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform3uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2) +{ + return gl::ProgramUniform3uiContextANGLE(ctx, program, location, v0, v1, v2); +} + +void GL_APIENTRY glProgramUniform3uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::ProgramUniform3uivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform4fContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) +{ + return gl::ProgramUniform4fContextANGLE(ctx, program, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glProgramUniform4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::ProgramUniform4fvContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform4iContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLint v0, + GLint v1, + GLint v2, + GLint v3) +{ + return gl::ProgramUniform4iContextANGLE(ctx, program, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glProgramUniform4ivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::ProgramUniform4ivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniform4uiContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3) +{ + return gl::ProgramUniform4uiContextANGLE(ctx, program, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glProgramUniform4uivContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::ProgramUniform4uivContextANGLE(ctx, program, location, count, value); +} + +void GL_APIENTRY glProgramUniformMatrix2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix2fvContextANGLE(ctx, program, location, count, transpose, value); +} + +void GL_APIENTRY glProgramUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix2x3fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glProgramUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix2x4fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glProgramUniformMatrix3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix3fvContextANGLE(ctx, program, location, count, transpose, value); +} + +void GL_APIENTRY glProgramUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix3x2fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glProgramUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix3x4fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glProgramUniformMatrix4fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix4fvContextANGLE(ctx, program, location, count, transpose, value); +} + +void GL_APIENTRY glProgramUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix4x2fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glProgramUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::ProgramUniformMatrix4x3fvContextANGLE(ctx, program, location, count, transpose, + value); +} + +void GL_APIENTRY glPushDebugGroupKHRContextANGLE(GLeglContext ctx, + GLenum source, + GLuint id, + GLsizei length, + const GLchar *message) +{ + return gl::PushDebugGroupKHRContextANGLE(ctx, source, id, length, message); +} + +void GL_APIENTRY glPushGroupMarkerEXTContextANGLE(GLeglContext ctx, + GLsizei length, + const GLchar *marker) +{ + return gl::PushGroupMarkerEXTContextANGLE(ctx, length, marker); +} + +void GL_APIENTRY glPushMatrixContextANGLE(GLeglContext ctx) +{ + return gl::PushMatrixContextANGLE(ctx); +} + +void GL_APIENTRY glQueryCounterEXTContextANGLE(GLeglContext ctx, GLuint id, GLenum target) +{ + return gl::QueryCounterEXTContextANGLE(ctx, id, target); +} + +GLbitfield GL_APIENTRY glQueryMatrixxOESContextANGLE(GLeglContext ctx, + GLfixed *mantissa, + GLint *exponent) +{ + return gl::QueryMatrixxOESContextANGLE(ctx, mantissa, exponent); +} + +void GL_APIENTRY glReadBufferContextANGLE(GLeglContext ctx, GLenum src) +{ + return gl::ReadBufferContextANGLE(ctx, src); +} + +void GL_APIENTRY glReadPixelsContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + void *pixels) +{ + return gl::ReadPixelsContextANGLE(ctx, x, y, width, height, format, type, pixels); +} + +void GL_APIENTRY glReadnPixelsEXTContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + void *data) +{ + return gl::ReadnPixelsEXTContextANGLE(ctx, x, y, width, height, format, type, bufSize, data); +} + +void GL_APIENTRY glReleaseShaderCompilerContextANGLE(GLeglContext ctx) +{ + return gl::ReleaseShaderCompilerContextANGLE(ctx); +} + +void GL_APIENTRY glRenderbufferStorageContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::RenderbufferStorageContextANGLE(ctx, target, internalformat, width, height); +} + +void GL_APIENTRY glRenderbufferStorageMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::RenderbufferStorageMultisampleContextANGLE(ctx, target, samples, internalformat, + width, height); +} + +void GL_APIENTRY glRenderbufferStorageMultisampleANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::RenderbufferStorageMultisampleANGLEContextANGLE(ctx, target, samples, internalformat, + width, height); +} + +void GL_APIENTRY glRenderbufferStorageOESContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::RenderbufferStorageOESContextANGLE(ctx, target, internalformat, width, height); +} + +void GL_APIENTRY glResumeTransformFeedbackContextANGLE(GLeglContext ctx) +{ + return gl::ResumeTransformFeedbackContextANGLE(ctx); +} + +void GL_APIENTRY +glRotatefContextANGLE(GLeglContext ctx, GLfloat angle, GLfloat x, GLfloat y, GLfloat z) +{ + return gl::RotatefContextANGLE(ctx, angle, x, y, z); +} + +void GL_APIENTRY +glRotatexContextANGLE(GLeglContext ctx, GLfixed angle, GLfixed x, GLfixed y, GLfixed z) +{ + return gl::RotatexContextANGLE(ctx, angle, x, y, z); +} + +void GL_APIENTRY glSampleCoverageContextANGLE(GLeglContext ctx, GLfloat value, GLboolean invert) +{ + return gl::SampleCoverageContextANGLE(ctx, value, invert); +} + +void GL_APIENTRY glSampleCoveragexContextANGLE(GLeglContext ctx, GLclampx value, GLboolean invert) +{ + return gl::SampleCoveragexContextANGLE(ctx, value, invert); +} + +void GL_APIENTRY glSampleMaskiContextANGLE(GLeglContext ctx, GLuint maskNumber, GLbitfield mask) +{ + return gl::SampleMaskiContextANGLE(ctx, maskNumber, mask); +} + +void GL_APIENTRY glSamplerParameterfContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLfloat param) +{ + return gl::SamplerParameterfContextANGLE(ctx, sampler, pname, param); +} + +void GL_APIENTRY glSamplerParameterfvContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLfloat *param) +{ + return gl::SamplerParameterfvContextANGLE(ctx, sampler, pname, param); +} + +void GL_APIENTRY glSamplerParameteriContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLint param) +{ + return gl::SamplerParameteriContextANGLE(ctx, sampler, pname, param); +} + +void GL_APIENTRY glSamplerParameterivContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + const GLint *param) +{ + return gl::SamplerParameterivContextANGLE(ctx, sampler, pname, param); +} + +void GL_APIENTRY glScalefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +{ + return gl::ScalefContextANGLE(ctx, x, y, z); +} + +void GL_APIENTRY glScalexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +{ + return gl::ScalexContextANGLE(ctx, x, y, z); +} + +void GL_APIENTRY +glScissorContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +{ + return gl::ScissorContextANGLE(ctx, x, y, width, height); +} + +void GL_APIENTRY glSetFenceNVContextANGLE(GLeglContext ctx, GLuint fence, GLenum condition) +{ + return gl::SetFenceNVContextANGLE(ctx, fence, condition); +} + +void GL_APIENTRY glShadeModelContextANGLE(GLeglContext ctx, GLenum mode) +{ + return gl::ShadeModelContextANGLE(ctx, mode); +} + +void GL_APIENTRY glShaderBinaryContextANGLE(GLeglContext ctx, + GLsizei count, + const GLuint *shaders, + GLenum binaryformat, + const void *binary, + GLsizei length) +{ + return gl::ShaderBinaryContextANGLE(ctx, count, shaders, binaryformat, binary, length); +} + +void GL_APIENTRY glShaderSourceContextANGLE(GLeglContext ctx, + GLuint shader, + GLsizei count, + const GLchar *const *string, + const GLint *length) +{ + return gl::ShaderSourceContextANGLE(ctx, shader, count, string, length); +} + +void GL_APIENTRY glStencilFuncContextANGLE(GLeglContext ctx, GLenum func, GLint ref, GLuint mask) +{ + return gl::StencilFuncContextANGLE(ctx, func, ref, mask); +} + +void GL_APIENTRY glStencilFuncSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum func, + GLint ref, + GLuint mask) +{ + return gl::StencilFuncSeparateContextANGLE(ctx, face, func, ref, mask); +} + +void GL_APIENTRY glStencilMaskContextANGLE(GLeglContext ctx, GLuint mask) +{ + return gl::StencilMaskContextANGLE(ctx, mask); +} + +void GL_APIENTRY glStencilMaskSeparateContextANGLE(GLeglContext ctx, GLenum face, GLuint mask) +{ + return gl::StencilMaskSeparateContextANGLE(ctx, face, mask); +} + +void GL_APIENTRY glStencilOpContextANGLE(GLeglContext ctx, GLenum fail, GLenum zfail, GLenum zpass) +{ + return gl::StencilOpContextANGLE(ctx, fail, zfail, zpass); +} + +void GL_APIENTRY glStencilOpSeparateContextANGLE(GLeglContext ctx, + GLenum face, + GLenum sfail, + GLenum dpfail, + GLenum dppass) +{ + return gl::StencilOpSeparateContextANGLE(ctx, face, sfail, dpfail, dppass); +} + +GLboolean GL_APIENTRY glTestFenceNVContextANGLE(GLeglContext ctx, GLuint fence) +{ + return gl::TestFenceNVContextANGLE(ctx, fence); +} + +void GL_APIENTRY glTexCoordPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::TexCoordPointerContextANGLE(ctx, size, type, stride, pointer); +} + +void GL_APIENTRY glTexEnvfContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfloat param) +{ + return gl::TexEnvfContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexEnvfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) +{ + return gl::TexEnvfvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexEnviContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLint param) +{ + return gl::TexEnviContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexEnvivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) +{ + return gl::TexEnvivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexEnvxContextANGLE(GLeglContext ctx, GLenum target, GLenum pname, GLfixed param) +{ + return gl::TexEnvxContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexEnvxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) +{ + return gl::TexEnvxvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexGenfOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfloat param) +{ + return gl::TexGenfOESContextANGLE(ctx, coord, pname, param); +} + +void GL_APIENTRY glTexGenfvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfloat *params) +{ + return gl::TexGenfvOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glTexGeniOESContextANGLE(GLeglContext ctx, GLenum coord, GLenum pname, GLint param) +{ + return gl::TexGeniOESContextANGLE(ctx, coord, pname, param); +} + +void GL_APIENTRY glTexGenivOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLint *params) +{ + return gl::TexGenivOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glTexGenxOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + GLfixed param) +{ + return gl::TexGenxOESContextANGLE(ctx, coord, pname, param); +} + +void GL_APIENTRY glTexGenxvOESContextANGLE(GLeglContext ctx, + GLenum coord, + GLenum pname, + const GLfixed *params) +{ + return gl::TexGenxvOESContextANGLE(ctx, coord, pname, params); +} + +void GL_APIENTRY glTexImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + const void *pixels) +{ + return gl::TexImage2DContextANGLE(ctx, target, level, internalformat, width, height, border, + format, type, pixels); +} + +void GL_APIENTRY glTexImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + const void *pixels) +{ + return gl::TexImage3DContextANGLE(ctx, target, level, internalformat, width, height, depth, + border, format, type, pixels); +} + +void GL_APIENTRY glTexParameterfContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfloat param) +{ + return gl::TexParameterfContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexParameterfvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfloat *params) +{ + return gl::TexParameterfvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexParameteriContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLint param) +{ + return gl::TexParameteriContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexParameterivContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLint *params) +{ + return gl::TexParameterivContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexParameterxContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLfixed param) +{ + return gl::TexParameterxContextANGLE(ctx, target, pname, param); +} + +void GL_APIENTRY glTexParameterxvContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + const GLfixed *params) +{ + return gl::TexParameterxvContextANGLE(ctx, target, pname, params); +} + +void GL_APIENTRY glTexStorage1DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width) +{ + return gl::TexStorage1DEXTContextANGLE(ctx, target, levels, internalformat, width); +} + +void GL_APIENTRY glTexStorage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::TexStorage2DContextANGLE(ctx, target, levels, internalformat, width, height); +} + +void GL_APIENTRY glTexStorage2DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height) +{ + return gl::TexStorage2DEXTContextANGLE(ctx, target, levels, internalformat, width, height); +} + +void GL_APIENTRY glTexStorage2DMultisampleContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei samples, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLboolean fixedsamplelocations) +{ + return gl::TexStorage2DMultisampleContextANGLE(ctx, target, samples, internalformat, width, + height, fixedsamplelocations); +} + +void GL_APIENTRY glTexStorage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + return gl::TexStorage3DContextANGLE(ctx, target, levels, internalformat, width, height, depth); +} + +void GL_APIENTRY glTexStorage3DEXTContextANGLE(GLeglContext ctx, + GLenum target, + GLsizei levels, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth) +{ + return gl::TexStorage3DEXTContextANGLE(ctx, target, levels, internalformat, width, height, + depth); +} + +void GL_APIENTRY glTexSubImage2DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + const void *pixels) +{ + return gl::TexSubImage2DContextANGLE(ctx, target, level, xoffset, yoffset, width, height, + format, type, pixels); +} + +void GL_APIENTRY glTexSubImage3DContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + const void *pixels) +{ + return gl::TexSubImage3DContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, width, + height, depth, format, type, pixels); +} + +void GL_APIENTRY glTransformFeedbackVaryingsContextANGLE(GLeglContext ctx, + GLuint program, + GLsizei count, + const GLchar *const *varyings, + GLenum bufferMode) +{ + return gl::TransformFeedbackVaryingsContextANGLE(ctx, program, count, varyings, bufferMode); +} + +void GL_APIENTRY glTranslatefContextANGLE(GLeglContext ctx, GLfloat x, GLfloat y, GLfloat z) +{ + return gl::TranslatefContextANGLE(ctx, x, y, z); +} + +void GL_APIENTRY glTranslatexContextANGLE(GLeglContext ctx, GLfixed x, GLfixed y, GLfixed z) +{ + return gl::TranslatexContextANGLE(ctx, x, y, z); +} + +void GL_APIENTRY glUniform1fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0) +{ + return gl::Uniform1fContextANGLE(ctx, location, v0); +} + +void GL_APIENTRY glUniform1fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::Uniform1fvContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform1iContextANGLE(GLeglContext ctx, GLint location, GLint v0) +{ + return gl::Uniform1iContextANGLE(ctx, location, v0); +} + +void GL_APIENTRY glUniform1ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::Uniform1ivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform1uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0) +{ + return gl::Uniform1uiContextANGLE(ctx, location, v0); +} + +void GL_APIENTRY glUniform1uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::Uniform1uivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform2fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1) +{ + return gl::Uniform2fContextANGLE(ctx, location, v0, v1); +} + +void GL_APIENTRY glUniform2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::Uniform2fvContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform2iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1) +{ + return gl::Uniform2iContextANGLE(ctx, location, v0, v1); +} + +void GL_APIENTRY glUniform2ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::Uniform2ivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform2uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1) +{ + return gl::Uniform2uiContextANGLE(ctx, location, v0, v1); +} + +void GL_APIENTRY glUniform2uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::Uniform2uivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY +glUniform3fContextANGLE(GLeglContext ctx, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) +{ + return gl::Uniform3fContextANGLE(ctx, location, v0, v1, v2); +} + +void GL_APIENTRY glUniform3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::Uniform3fvContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY +glUniform3iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2) +{ + return gl::Uniform3iContextANGLE(ctx, location, v0, v1, v2); +} + +void GL_APIENTRY glUniform3ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::Uniform3ivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY +glUniform3uiContextANGLE(GLeglContext ctx, GLint location, GLuint v0, GLuint v1, GLuint v2) +{ + return gl::Uniform3uiContextANGLE(ctx, location, v0, v1, v2); +} + +void GL_APIENTRY glUniform3uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::Uniform3uivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform4fContextANGLE(GLeglContext ctx, + GLint location, + GLfloat v0, + GLfloat v1, + GLfloat v2, + GLfloat v3) +{ + return gl::Uniform4fContextANGLE(ctx, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glUniform4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLfloat *value) +{ + return gl::Uniform4fvContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY +glUniform4iContextANGLE(GLeglContext ctx, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) +{ + return gl::Uniform4iContextANGLE(ctx, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glUniform4ivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLint *value) +{ + return gl::Uniform4ivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniform4uiContextANGLE(GLeglContext ctx, + GLint location, + GLuint v0, + GLuint v1, + GLuint v2, + GLuint v3) +{ + return gl::Uniform4uiContextANGLE(ctx, location, v0, v1, v2, v3); +} + +void GL_APIENTRY glUniform4uivContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + const GLuint *value) +{ + return gl::Uniform4uivContextANGLE(ctx, location, count, value); +} + +void GL_APIENTRY glUniformBlockBindingContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLuint uniformBlockBinding) +{ + return gl::UniformBlockBindingContextANGLE(ctx, program, uniformBlockIndex, + uniformBlockBinding); +} + +void GL_APIENTRY glUniformMatrix2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix2fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix2x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix2x3fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix2x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix2x4fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix3fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix3x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix3x2fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix3x4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix3x4fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix4fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix4fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix4x2fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix4x2fvContextANGLE(ctx, location, count, transpose, value); +} + +void GL_APIENTRY glUniformMatrix4x3fvContextANGLE(GLeglContext ctx, + GLint location, + GLsizei count, + GLboolean transpose, + const GLfloat *value) +{ + return gl::UniformMatrix4x3fvContextANGLE(ctx, location, count, transpose, value); +} + +GLboolean GL_APIENTRY glUnmapBufferContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::UnmapBufferContextANGLE(ctx, target); +} + +GLboolean GL_APIENTRY glUnmapBufferOESContextANGLE(GLeglContext ctx, GLenum target) +{ + return gl::UnmapBufferOESContextANGLE(ctx, target); +} + +void GL_APIENTRY glUseProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + return gl::UseProgramContextANGLE(ctx, program); +} + +void GL_APIENTRY glUseProgramStagesContextANGLE(GLeglContext ctx, + GLuint pipeline, + GLbitfield stages, + GLuint program) +{ + return gl::UseProgramStagesContextANGLE(ctx, pipeline, stages, program); +} + +void GL_APIENTRY glValidateProgramContextANGLE(GLeglContext ctx, GLuint program) +{ + return gl::ValidateProgramContextANGLE(ctx, program); +} + +void GL_APIENTRY glValidateProgramPipelineContextANGLE(GLeglContext ctx, GLuint pipeline) +{ + return gl::ValidateProgramPipelineContextANGLE(ctx, pipeline); +} + +void GL_APIENTRY glVertexAttrib1fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x) +{ + return gl::VertexAttrib1fContextANGLE(ctx, index, x); +} + +void GL_APIENTRY glVertexAttrib1fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + return gl::VertexAttrib1fvContextANGLE(ctx, index, v); +} + +void GL_APIENTRY glVertexAttrib2fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y) +{ + return gl::VertexAttrib2fContextANGLE(ctx, index, x, y); +} + +void GL_APIENTRY glVertexAttrib2fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + return gl::VertexAttrib2fvContextANGLE(ctx, index, v); +} + +void GL_APIENTRY +glVertexAttrib3fContextANGLE(GLeglContext ctx, GLuint index, GLfloat x, GLfloat y, GLfloat z) +{ + return gl::VertexAttrib3fContextANGLE(ctx, index, x, y, z); +} + +void GL_APIENTRY glVertexAttrib3fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + return gl::VertexAttrib3fvContextANGLE(ctx, index, v); +} + +void GL_APIENTRY glVertexAttrib4fContextANGLE(GLeglContext ctx, + GLuint index, + GLfloat x, + GLfloat y, + GLfloat z, + GLfloat w) +{ + return gl::VertexAttrib4fContextANGLE(ctx, index, x, y, z, w); +} + +void GL_APIENTRY glVertexAttrib4fvContextANGLE(GLeglContext ctx, GLuint index, const GLfloat *v) +{ + return gl::VertexAttrib4fvContextANGLE(ctx, index, v); +} + +void GL_APIENTRY glVertexAttribBindingContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLuint bindingindex) +{ + return gl::VertexAttribBindingContextANGLE(ctx, attribindex, bindingindex); +} + +void GL_APIENTRY glVertexAttribDivisorContextANGLE(GLeglContext ctx, GLuint index, GLuint divisor) +{ + return gl::VertexAttribDivisorContextANGLE(ctx, index, divisor); +} + +void GL_APIENTRY glVertexAttribDivisorANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLuint divisor) +{ + return gl::VertexAttribDivisorANGLEContextANGLE(ctx, index, divisor); +} + +void GL_APIENTRY glVertexAttribFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLboolean normalized, + GLuint relativeoffset) +{ + return gl::VertexAttribFormatContextANGLE(ctx, attribindex, size, type, normalized, + relativeoffset); +} + +void GL_APIENTRY +glVertexAttribI4iContextANGLE(GLeglContext ctx, GLuint index, GLint x, GLint y, GLint z, GLint w) +{ + return gl::VertexAttribI4iContextANGLE(ctx, index, x, y, z, w); +} + +void GL_APIENTRY glVertexAttribI4ivContextANGLE(GLeglContext ctx, GLuint index, const GLint *v) +{ + return gl::VertexAttribI4ivContextANGLE(ctx, index, v); +} + +void GL_APIENTRY glVertexAttribI4uiContextANGLE(GLeglContext ctx, + GLuint index, + GLuint x, + GLuint y, + GLuint z, + GLuint w) +{ + return gl::VertexAttribI4uiContextANGLE(ctx, index, x, y, z, w); +} + +void GL_APIENTRY glVertexAttribI4uivContextANGLE(GLeglContext ctx, GLuint index, const GLuint *v) +{ + return gl::VertexAttribI4uivContextANGLE(ctx, index, v); +} + +void GL_APIENTRY glVertexAttribIFormatContextANGLE(GLeglContext ctx, + GLuint attribindex, + GLint size, + GLenum type, + GLuint relativeoffset) +{ + return gl::VertexAttribIFormatContextANGLE(ctx, attribindex, size, type, relativeoffset); +} + +void GL_APIENTRY glVertexAttribIPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::VertexAttribIPointerContextANGLE(ctx, index, size, type, stride, pointer); +} + +void GL_APIENTRY glVertexAttribPointerContextANGLE(GLeglContext ctx, + GLuint index, + GLint size, + GLenum type, + GLboolean normalized, + GLsizei stride, + const void *pointer) +{ + return gl::VertexAttribPointerContextANGLE(ctx, index, size, type, normalized, stride, pointer); +} + +void GL_APIENTRY glVertexBindingDivisorContextANGLE(GLeglContext ctx, + GLuint bindingindex, + GLuint divisor) +{ + return gl::VertexBindingDivisorContextANGLE(ctx, bindingindex, divisor); +} + +void GL_APIENTRY glVertexPointerContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::VertexPointerContextANGLE(ctx, size, type, stride, pointer); +} + +void GL_APIENTRY +glViewportContextANGLE(GLeglContext ctx, GLint x, GLint y, GLsizei width, GLsizei height) +{ + return gl::ViewportContextANGLE(ctx, x, y, width, height); +} + +void GL_APIENTRY glWaitSyncContextANGLE(GLeglContext ctx, + GLsync sync, + GLbitfield flags, + GLuint64 timeout) +{ + return gl::WaitSyncContextANGLE(ctx, sync, flags, timeout); +} + +void GL_APIENTRY glWeightPointerOESContextANGLE(GLeglContext ctx, + GLint size, + GLenum type, + GLsizei stride, + const void *pointer) +{ + return gl::WeightPointerOESContextANGLE(ctx, size, type, stride, pointer); +} + +void GL_APIENTRY glBindUniformLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + const GLchar *name) +{ + return gl::BindUniformLocationCHROMIUMContextANGLE(ctx, program, location, name); +} + +void GL_APIENTRY glCoverageModulationCHROMIUMContextANGLE(GLeglContext ctx, GLenum components) +{ + return gl::CoverageModulationCHROMIUMContextANGLE(ctx, components); +} + +void GL_APIENTRY glMatrixLoadfCHROMIUMContextANGLE(GLeglContext ctx, + GLenum matrixMode, + const GLfloat *matrix) +{ + return gl::MatrixLoadfCHROMIUMContextANGLE(ctx, matrixMode, matrix); +} + +void GL_APIENTRY glMatrixLoadIdentityCHROMIUMContextANGLE(GLeglContext ctx, GLenum matrixMode) +{ + return gl::MatrixLoadIdentityCHROMIUMContextANGLE(ctx, matrixMode); +} + +GLuint GL_APIENTRY glGenPathsCHROMIUMContextANGLE(GLeglContext ctx, GLsizei range) +{ + return gl::GenPathsCHROMIUMContextANGLE(ctx, range); +} + +void GL_APIENTRY glDeletePathsCHROMIUMContextANGLE(GLeglContext ctx, GLuint first, GLsizei range) +{ + return gl::DeletePathsCHROMIUMContextANGLE(ctx, first, range); +} + +GLboolean GL_APIENTRY glIsPathCHROMIUMContextANGLE(GLeglContext ctx, GLuint path) +{ + return gl::IsPathCHROMIUMContextANGLE(ctx, path); +} + +void GL_APIENTRY glPathCommandsCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLsizei numCommands, + const GLubyte *commands, + GLsizei numCoords, + GLenum coordType, + const void *coords) +{ + return gl::PathCommandsCHROMIUMContextANGLE(ctx, path, numCommands, commands, numCoords, + coordType, coords); +} + +void GL_APIENTRY glPathParameterfCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat value) +{ + return gl::PathParameterfCHROMIUMContextANGLE(ctx, path, pname, value); +} + +void GL_APIENTRY glPathParameteriCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint value) +{ + return gl::PathParameteriCHROMIUMContextANGLE(ctx, path, pname, value); +} + +void GL_APIENTRY glGetPathParameterfvCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLfloat *value) +{ + return gl::GetPathParameterfvCHROMIUMContextANGLE(ctx, path, pname, value); +} + +void GL_APIENTRY glGetPathParameterivCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum pname, + GLint *value) +{ + return gl::GetPathParameterivCHROMIUMContextANGLE(ctx, path, pname, value); +} + +void GL_APIENTRY glPathStencilFuncCHROMIUMContextANGLE(GLeglContext ctx, + GLenum func, + GLint ref, + GLuint mask) +{ + return gl::PathStencilFuncCHROMIUMContextANGLE(ctx, func, ref, mask); +} + +void GL_APIENTRY glStencilFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask) +{ + return gl::StencilFillPathCHROMIUMContextANGLE(ctx, path, fillMode, mask); +} + +void GL_APIENTRY glStencilStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask) +{ + return gl::StencilStrokePathCHROMIUMContextANGLE(ctx, path, reference, mask); +} + +void GL_APIENTRY glCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum coverMode) +{ + return gl::CoverFillPathCHROMIUMContextANGLE(ctx, path, coverMode); +} + +void GL_APIENTRY glCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum coverMode) +{ + return gl::CoverStrokePathCHROMIUMContextANGLE(ctx, path, coverMode); +} + +void GL_APIENTRY glStencilThenCoverFillPathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLenum fillMode, + GLuint mask, + GLenum coverMode) +{ + return gl::StencilThenCoverFillPathCHROMIUMContextANGLE(ctx, path, fillMode, mask, coverMode); +} + +void GL_APIENTRY glStencilThenCoverStrokePathCHROMIUMContextANGLE(GLeglContext ctx, + GLuint path, + GLint reference, + GLuint mask, + GLenum coverMode) +{ + return gl::StencilThenCoverStrokePathCHROMIUMContextANGLE(ctx, path, reference, mask, + coverMode); +} + +void GL_APIENTRY glCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::CoverFillPathInstancedCHROMIUMContextANGLE( + ctx, numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); +} + +void GL_APIENTRY glCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::CoverStrokePathInstancedCHROMIUMContextANGLE( + ctx, numPath, pathNameType, paths, pathBase, coverMode, transformType, transformValues); +} + +void GL_APIENTRY glStencilStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPath, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::StencilStrokePathInstancedCHROMIUMContextANGLE(ctx, numPath, pathNameType, paths, + pathBase, reference, mask, + transformType, transformValues); +} + +void GL_APIENTRY glStencilFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::StencilFillPathInstancedCHROMIUMContextANGLE(ctx, numPaths, pathNameType, paths, + pathBase, fillMode, mask, transformType, + transformValues); +} + +void GL_APIENTRY +glStencilThenCoverFillPathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLenum fillMode, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::StencilThenCoverFillPathInstancedCHROMIUMContextANGLE( + ctx, numPaths, pathNameType, paths, pathBase, fillMode, mask, coverMode, transformType, + transformValues); +} + +void GL_APIENTRY +glStencilThenCoverStrokePathInstancedCHROMIUMContextANGLE(GLeglContext ctx, + GLsizei numPaths, + GLenum pathNameType, + const void *paths, + GLuint pathBase, + GLint reference, + GLuint mask, + GLenum coverMode, + GLenum transformType, + const GLfloat *transformValues) +{ + return gl::StencilThenCoverStrokePathInstancedCHROMIUMContextANGLE( + ctx, numPaths, pathNameType, paths, pathBase, reference, mask, coverMode, transformType, + transformValues); +} + +void GL_APIENTRY glBindFragmentInputLocationCHROMIUMContextANGLE(GLeglContext ctx, + GLuint programs, + GLint location, + const GLchar *name) +{ + return gl::BindFragmentInputLocationCHROMIUMContextANGLE(ctx, programs, location, name); +} + +void GL_APIENTRY glProgramPathFragmentInputGenCHROMIUMContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLenum genMode, + GLint components, + const GLfloat *coeffs) +{ + return gl::ProgramPathFragmentInputGenCHROMIUMContextANGLE(ctx, program, location, genMode, + components, coeffs); +} + +void GL_APIENTRY glCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint internalFormat, + GLenum destType, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) +{ + return gl::CopyTextureCHROMIUMContextANGLE(ctx, sourceId, sourceLevel, destTarget, destId, + destLevel, internalFormat, destType, unpackFlipY, + unpackPremultiplyAlpha, unpackUnmultiplyAlpha); +} + +void GL_APIENTRY glCopySubTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLint sourceLevel, + GLenum destTarget, + GLuint destId, + GLint destLevel, + GLint xoffset, + GLint yoffset, + GLint x, + GLint y, + GLint width, + GLint height, + GLboolean unpackFlipY, + GLboolean unpackPremultiplyAlpha, + GLboolean unpackUnmultiplyAlpha) +{ + return gl::CopySubTextureCHROMIUMContextANGLE( + ctx, sourceId, sourceLevel, destTarget, destId, destLevel, xoffset, yoffset, x, y, width, + height, unpackFlipY, unpackPremultiplyAlpha, unpackUnmultiplyAlpha); +} + +void GL_APIENTRY glCompressedCopyTextureCHROMIUMContextANGLE(GLeglContext ctx, + GLuint sourceId, + GLuint destId) +{ + return gl::CompressedCopyTextureCHROMIUMContextANGLE(ctx, sourceId, destId); +} + +void GL_APIENTRY glRequestExtensionANGLEContextANGLE(GLeglContext ctx, const GLchar *name) +{ + return gl::RequestExtensionANGLEContextANGLE(ctx, name); +} + +void GL_APIENTRY glGetBooleanvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLboolean *params) +{ + return gl::GetBooleanvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetBufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetBufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetFloatvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetFloatvRobustANGLEContextANGLE(ctx, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetFramebufferAttachmentParameterivRobustANGLEContextANGLE( + ctx, target, attachment, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetIntegervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *data) +{ + return gl::GetIntegervRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); +} + +void GL_APIENTRY glGetProgramivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetProgramivRobustANGLEContextANGLE(ctx, program, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetRenderbufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetRenderbufferParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, + length, params); +} + +void GL_APIENTRY glGetShaderivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint shader, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetShaderivRobustANGLEContextANGLE(ctx, shader, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetTexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetTexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); +} + +void GL_APIENTRY glGetUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, params); +} + +void GL_APIENTRY glGetVertexAttribfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetVertexAttribfvRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetVertexAttribivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetVertexAttribivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetVertexAttribPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **pointer) +{ + return gl::GetVertexAttribPointervRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + pointer); +} + +void GL_APIENTRY glReadPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *pixels) +{ + return gl::ReadPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, + length, columns, rows, pixels); +} + +void GL_APIENTRY glTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return gl::TexImage2DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, + border, format, type, bufSize, pixels); +} + +void GL_APIENTRY glTexParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLfloat *params) +{ + return gl::TexParameterfvRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); +} + +void GL_APIENTRY glTexParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) +{ + return gl::TexParameterivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); +} + +void GL_APIENTRY glTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return gl::TexSubImage2DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, width, + height, format, type, bufSize, pixels); +} + +void GL_APIENTRY glTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return gl::TexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, width, height, + depth, border, format, type, bufSize, pixels); +} + +void GL_APIENTRY glTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLenum type, + GLsizei bufSize, + const void *pixels) +{ + return gl::TexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, zoffset, + width, height, depth, format, type, bufSize, + pixels); +} + +void GL_APIENTRY glCompressedTexImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + return gl::CompressedTexImage2DRobustANGLEContextANGLE( + ctx, target, level, internalformat, width, height, border, imageSize, dataSize, data); +} + +void GL_APIENTRY glCompressedTexSubImage2DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLsizei xoffset, + GLsizei yoffset, + GLsizei width, + GLsizei height, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + return gl::CompressedTexSubImage2DRobustANGLEContextANGLE( + ctx, target, level, xoffset, yoffset, width, height, format, imageSize, dataSize, data); +} + +void GL_APIENTRY glCompressedTexImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum internalformat, + GLsizei width, + GLsizei height, + GLsizei depth, + GLint border, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + return gl::CompressedTexImage3DRobustANGLEContextANGLE(ctx, target, level, internalformat, + width, height, depth, border, imageSize, + dataSize, data); +} + +void GL_APIENTRY glCompressedTexSubImage3DRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLint xoffset, + GLint yoffset, + GLint zoffset, + GLsizei width, + GLsizei height, + GLsizei depth, + GLenum format, + GLsizei imageSize, + GLsizei dataSize, + const GLvoid *data) +{ + return gl::CompressedTexSubImage3DRobustANGLEContextANGLE(ctx, target, level, xoffset, yoffset, + zoffset, width, height, depth, format, + imageSize, dataSize, data); +} + +void GL_APIENTRY glGetQueryivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetQueryivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetQueryObjectuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetQueryObjectuivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetBufferPointervRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) +{ + return gl::GetBufferPointervRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetIntegeri_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint *data) +{ + return gl::GetIntegeri_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); +} + +void GL_APIENTRY glGetInternalformativRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum internalformat, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetInternalformativRobustANGLEContextANGLE(ctx, target, internalformat, pname, + bufSize, length, params); +} + +void GL_APIENTRY glGetVertexAttribIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetVertexAttribIivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetVertexAttribIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint index, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetVertexAttribIuivRobustANGLEContextANGLE(ctx, index, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); +} + +void GL_APIENTRY glGetActiveUniformBlockivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLuint uniformBlockIndex, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetActiveUniformBlockivRobustANGLEContextANGLE(ctx, program, uniformBlockIndex, + pname, bufSize, length, params); +} + +void GL_APIENTRY glGetInteger64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) +{ + return gl::GetInteger64vRobustANGLEContextANGLE(ctx, pname, bufSize, length, data); +} + +void GL_APIENTRY glGetInteger64i_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLint64 *data) +{ + return gl::GetInteger64i_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); +} + +void GL_APIENTRY glGetBufferParameteri64vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) +{ + return gl::GetBufferParameteri64vRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLuint pname, + GLsizei bufSize, + const GLint *param) +{ + return gl::SamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); +} + +void GL_APIENTRY glSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLfloat *param) +{ + return gl::SamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); +} + +void GL_APIENTRY glGetSamplerParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetSamplerParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetSamplerParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetSamplerParameterfvRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetFramebufferParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetFramebufferParameterivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, + length, params); +} + +void GL_APIENTRY glGetProgramInterfaceivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLenum programInterface, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetProgramInterfaceivRobustANGLEContextANGLE(ctx, program, programInterface, pname, + bufSize, length, params); +} + +void GL_APIENTRY glGetBooleani_vRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLboolean *data) +{ + return gl::GetBooleani_vRobustANGLEContextANGLE(ctx, target, index, bufSize, length, data); +} + +void GL_APIENTRY glGetMultisamplefvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLuint index, + GLsizei bufSize, + GLsizei *length, + GLfloat *val) +{ + return gl::GetMultisamplefvRobustANGLEContextANGLE(ctx, pname, index, bufSize, length, val); +} + +void GL_APIENTRY glGetTexLevelParameterivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetTexLevelParameterivRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, + length, params); +} + +void GL_APIENTRY glGetTexLevelParameterfvRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLint level, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetTexLevelParameterfvRobustANGLEContextANGLE(ctx, target, level, pname, bufSize, + length, params); +} + +void GL_APIENTRY glGetPointervRobustANGLERobustANGLEContextANGLE(GLeglContext ctx, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + void **params) +{ + return gl::GetPointervRobustANGLERobustANGLEContextANGLE(ctx, pname, bufSize, length, params); +} + +void GL_APIENTRY glReadnPixelsRobustANGLEContextANGLE(GLeglContext ctx, + GLint x, + GLint y, + GLsizei width, + GLsizei height, + GLenum format, + GLenum type, + GLsizei bufSize, + GLsizei *length, + GLsizei *columns, + GLsizei *rows, + void *data) +{ + return gl::ReadnPixelsRobustANGLEContextANGLE(ctx, x, y, width, height, format, type, bufSize, + length, columns, rows, data); +} + +void GL_APIENTRY glGetnUniformfvRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLfloat *params) +{ + return gl::GetnUniformfvRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); +} + +void GL_APIENTRY glGetnUniformivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetnUniformivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); +} + +void GL_APIENTRY glGetnUniformuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint program, + GLint location, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetnUniformuivRobustANGLEContextANGLE(ctx, program, location, bufSize, length, + params); +} + +void GL_APIENTRY glTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLint *params) +{ + return gl::TexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); +} + +void GL_APIENTRY glTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + const GLuint *params) +{ + return gl::TexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, params); +} + +void GL_APIENTRY glGetTexParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetTexParameterIivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetTexParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetTexParameterIuivRobustANGLEContextANGLE(ctx, target, pname, bufSize, length, + params); +} + +void GL_APIENTRY glSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLint *param) +{ + return gl::SamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); +} + +void GL_APIENTRY glSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + const GLuint *param) +{ + return gl::SamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, param); +} + +void GL_APIENTRY glGetSamplerParameterIivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetSamplerParameterIivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetSamplerParameterIuivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint sampler, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint *params) +{ + return gl::GetSamplerParameterIuivRobustANGLEContextANGLE(ctx, sampler, pname, bufSize, length, + params); +} + +void GL_APIENTRY glGetQueryObjectivRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint *params) +{ + return gl::GetQueryObjectivRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetQueryObjecti64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLint64 *params) +{ + return gl::GetQueryObjecti64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); +} + +void GL_APIENTRY glGetQueryObjectui64vRobustANGLEContextANGLE(GLeglContext ctx, + GLuint id, + GLenum pname, + GLsizei bufSize, + GLsizei *length, + GLuint64 *params) +{ + return gl::GetQueryObjectui64vRobustANGLEContextANGLE(ctx, id, pname, bufSize, length, params); +} + +void GL_APIENTRY glFramebufferTextureMultiviewLayeredANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLint baseViewIndex, + GLsizei numViews) +{ + return gl::FramebufferTextureMultiviewLayeredANGLEContextANGLE(ctx, target, attachment, texture, + level, baseViewIndex, numViews); +} + +void GL_APIENTRY +glFramebufferTextureMultiviewSideBySideANGLEContextANGLE(GLeglContext ctx, + GLenum target, + GLenum attachment, + GLuint texture, + GLint level, + GLsizei numViews, + const GLint *viewportOffsets) +{ + return gl::FramebufferTextureMultiviewSideBySideANGLEContextANGLE( + ctx, target, attachment, texture, level, numViews, viewportOffsets); +} + } // extern "C" diff --git a/src/libGLESv2/libGLESv2_autogen.def b/src/libGLESv2/libGLESv2_autogen.def index 4a1964978..b602c14ac 100644 --- a/src/libGLESv2/libGLESv2_autogen.def +++ b/src/libGLESv2/libGLESv2_autogen.def @@ -673,3 +673,600 @@ EXPORTS glDeleteVertexArraysOES @593 glGenVertexArraysOES @594 glIsVertexArrayOES @595 + + ; EGL_ANGLE_explicit_context + glActiveShaderProgramContextANGLE @596 + glActiveTextureContextANGLE @597 + glAlphaFuncContextANGLE @598 + glAlphaFuncxContextANGLE @599 + glAttachShaderContextANGLE @600 + glBeginQueryContextANGLE @601 + glBeginQueryEXTContextANGLE @602 + glBeginTransformFeedbackContextANGLE @603 + glBindAttribLocationContextANGLE @604 + glBindBufferContextANGLE @605 + glBindBufferBaseContextANGLE @606 + glBindBufferRangeContextANGLE @607 + glBindFramebufferContextANGLE @608 + glBindFramebufferOESContextANGLE @609 + glBindImageTextureContextANGLE @610 + glBindProgramPipelineContextANGLE @611 + glBindRenderbufferContextANGLE @612 + glBindRenderbufferOESContextANGLE @613 + glBindSamplerContextANGLE @614 + glBindTextureContextANGLE @615 + glBindTransformFeedbackContextANGLE @616 + glBindVertexArrayContextANGLE @617 + glBindVertexArrayOESContextANGLE @618 + glBindVertexBufferContextANGLE @619 + glBlendColorContextANGLE @620 + glBlendEquationContextANGLE @621 + glBlendEquationSeparateContextANGLE @622 + glBlendFuncContextANGLE @623 + glBlendFuncSeparateContextANGLE @624 + glBlitFramebufferContextANGLE @625 + glBlitFramebufferANGLEContextANGLE @626 + glBufferDataContextANGLE @627 + glBufferSubDataContextANGLE @628 + glCheckFramebufferStatusContextANGLE @629 + glCheckFramebufferStatusOESContextANGLE @630 + glClearContextANGLE @631 + glClearBufferfiContextANGLE @632 + glClearBufferfvContextANGLE @633 + glClearBufferivContextANGLE @634 + glClearBufferuivContextANGLE @635 + glClearColorContextANGLE @636 + glClearColorxContextANGLE @637 + glClearDepthfContextANGLE @638 + glClearDepthxContextANGLE @639 + glClearStencilContextANGLE @640 + glClientActiveTextureContextANGLE @641 + glClientWaitSyncContextANGLE @642 + glClipPlanefContextANGLE @643 + glClipPlanexContextANGLE @644 + glColor4fContextANGLE @645 + glColor4ubContextANGLE @646 + glColor4xContextANGLE @647 + glColorMaskContextANGLE @648 + glColorPointerContextANGLE @649 + glCompileShaderContextANGLE @650 + glCompressedTexImage2DContextANGLE @651 + glCompressedTexImage3DContextANGLE @652 + glCompressedTexSubImage2DContextANGLE @653 + glCompressedTexSubImage3DContextANGLE @654 + glCopyBufferSubDataContextANGLE @655 + glCopyTexImage2DContextANGLE @656 + glCopyTexSubImage2DContextANGLE @657 + glCopyTexSubImage3DContextANGLE @658 + glCreateProgramContextANGLE @659 + glCreateShaderContextANGLE @660 + glCreateShaderProgramvContextANGLE @661 + glCullFaceContextANGLE @662 + glCurrentPaletteMatrixOESContextANGLE @663 + glDebugMessageCallbackKHRContextANGLE @664 + glDebugMessageControlKHRContextANGLE @665 + glDebugMessageInsertKHRContextANGLE @666 + glDeleteBuffersContextANGLE @667 + glDeleteFencesNVContextANGLE @668 + glDeleteFramebuffersContextANGLE @669 + glDeleteFramebuffersOESContextANGLE @670 + glDeleteProgramContextANGLE @671 + glDeleteProgramPipelinesContextANGLE @672 + glDeleteQueriesContextANGLE @673 + glDeleteQueriesEXTContextANGLE @674 + glDeleteRenderbuffersContextANGLE @675 + glDeleteRenderbuffersOESContextANGLE @676 + glDeleteSamplersContextANGLE @677 + glDeleteShaderContextANGLE @678 + glDeleteSyncContextANGLE @679 + glDeleteTexturesContextANGLE @680 + glDeleteTransformFeedbacksContextANGLE @681 + glDeleteVertexArraysContextANGLE @682 + glDeleteVertexArraysOESContextANGLE @683 + glDepthFuncContextANGLE @684 + glDepthMaskContextANGLE @685 + glDepthRangefContextANGLE @686 + glDepthRangexContextANGLE @687 + glDetachShaderContextANGLE @688 + glDisableContextANGLE @689 + glDisableClientStateContextANGLE @690 + glDisableVertexAttribArrayContextANGLE @691 + glDiscardFramebufferEXTContextANGLE @692 + glDispatchComputeContextANGLE @693 + glDispatchComputeIndirectContextANGLE @694 + glDrawArraysContextANGLE @695 + glDrawArraysIndirectContextANGLE @696 + glDrawArraysInstancedContextANGLE @697 + glDrawArraysInstancedANGLEContextANGLE @698 + glDrawBuffersContextANGLE @699 + glDrawBuffersEXTContextANGLE @700 + glDrawElementsContextANGLE @701 + glDrawElementsIndirectContextANGLE @702 + glDrawElementsInstancedContextANGLE @703 + glDrawElementsInstancedANGLEContextANGLE @704 + glDrawRangeElementsContextANGLE @705 + glDrawTexfOESContextANGLE @706 + glDrawTexfvOESContextANGLE @707 + glDrawTexiOESContextANGLE @708 + glDrawTexivOESContextANGLE @709 + glDrawTexsOESContextANGLE @710 + glDrawTexsvOESContextANGLE @711 + glDrawTexxOESContextANGLE @712 + glDrawTexxvOESContextANGLE @713 + glEGLImageTargetRenderbufferStorageOESContextANGLE @714 + glEGLImageTargetTexture2DOESContextANGLE @715 + glEnableContextANGLE @716 + glEnableClientStateContextANGLE @717 + glEnableVertexAttribArrayContextANGLE @718 + glEndQueryContextANGLE @719 + glEndQueryEXTContextANGLE @720 + glEndTransformFeedbackContextANGLE @721 + glFenceSyncContextANGLE @722 + glFinishContextANGLE @723 + glFinishFenceNVContextANGLE @724 + glFlushContextANGLE @725 + glFlushMappedBufferRangeContextANGLE @726 + glFlushMappedBufferRangeEXTContextANGLE @727 + glFogfContextANGLE @728 + glFogfvContextANGLE @729 + glFogxContextANGLE @730 + glFogxvContextANGLE @731 + glFramebufferParameteriContextANGLE @732 + glFramebufferRenderbufferContextANGLE @733 + glFramebufferRenderbufferOESContextANGLE @734 + glFramebufferTexture2DContextANGLE @735 + glFramebufferTexture2DOESContextANGLE @736 + glFramebufferTextureLayerContextANGLE @737 + glFrontFaceContextANGLE @738 + glFrustumfContextANGLE @739 + glFrustumxContextANGLE @740 + glGenBuffersContextANGLE @741 + glGenFencesNVContextANGLE @742 + glGenFramebuffersContextANGLE @743 + glGenFramebuffersOESContextANGLE @744 + glGenProgramPipelinesContextANGLE @745 + glGenQueriesContextANGLE @746 + glGenQueriesEXTContextANGLE @747 + glGenRenderbuffersContextANGLE @748 + glGenRenderbuffersOESContextANGLE @749 + glGenSamplersContextANGLE @750 + glGenTexturesContextANGLE @751 + glGenTransformFeedbacksContextANGLE @752 + glGenVertexArraysContextANGLE @753 + glGenVertexArraysOESContextANGLE @754 + glGenerateMipmapContextANGLE @755 + glGenerateMipmapOESContextANGLE @756 + glGetActiveAttribContextANGLE @757 + glGetActiveUniformContextANGLE @758 + glGetActiveUniformBlockNameContextANGLE @759 + glGetActiveUniformBlockivContextANGLE @760 + glGetActiveUniformsivContextANGLE @761 + glGetAttachedShadersContextANGLE @762 + glGetAttribLocationContextANGLE @763 + glGetBooleani_vContextANGLE @764 + glGetBooleanvContextANGLE @765 + glGetBufferParameteri64vContextANGLE @766 + glGetBufferParameterivContextANGLE @767 + glGetBufferPointervContextANGLE @768 + glGetBufferPointervOESContextANGLE @769 + glGetClipPlanefContextANGLE @770 + glGetClipPlanexContextANGLE @771 + glGetDebugMessageLogKHRContextANGLE @772 + glGetErrorContextANGLE @773 + glGetFenceivNVContextANGLE @774 + glGetFixedvContextANGLE @775 + glGetFloatvContextANGLE @776 + glGetFragDataLocationContextANGLE @777 + glGetFramebufferAttachmentParameterivContextANGLE @778 + glGetFramebufferAttachmentParameterivOESContextANGLE @779 + glGetFramebufferParameterivContextANGLE @780 + glGetGraphicsResetStatusEXTContextANGLE @781 + glGetInteger64i_vContextANGLE @782 + glGetInteger64vContextANGLE @783 + glGetIntegeri_vContextANGLE @784 + glGetIntegervContextANGLE @785 + glGetInternalformativContextANGLE @786 + glGetLightfvContextANGLE @787 + glGetLightxvContextANGLE @788 + glGetMaterialfvContextANGLE @789 + glGetMaterialxvContextANGLE @790 + glGetMultisamplefvContextANGLE @791 + glGetObjectLabelKHRContextANGLE @792 + glGetObjectPtrLabelKHRContextANGLE @793 + glGetPointervContextANGLE @794 + glGetPointervKHRContextANGLE @795 + glGetProgramBinaryContextANGLE @796 + glGetProgramBinaryOESContextANGLE @797 + glGetProgramInfoLogContextANGLE @798 + glGetProgramInterfaceivContextANGLE @799 + glGetProgramPipelineInfoLogContextANGLE @800 + glGetProgramPipelineivContextANGLE @801 + glGetProgramResourceIndexContextANGLE @802 + glGetProgramResourceLocationContextANGLE @803 + glGetProgramResourceNameContextANGLE @804 + glGetProgramResourceivContextANGLE @805 + glGetProgramivContextANGLE @806 + glGetQueryObjecti64vEXTContextANGLE @807 + glGetQueryObjectivEXTContextANGLE @808 + glGetQueryObjectui64vEXTContextANGLE @809 + glGetQueryObjectuivContextANGLE @810 + glGetQueryObjectuivEXTContextANGLE @811 + glGetQueryivContextANGLE @812 + glGetQueryivEXTContextANGLE @813 + glGetRenderbufferParameterivContextANGLE @814 + glGetRenderbufferParameterivOESContextANGLE @815 + glGetSamplerParameterfvContextANGLE @816 + glGetSamplerParameterivContextANGLE @817 + glGetShaderInfoLogContextANGLE @818 + glGetShaderPrecisionFormatContextANGLE @819 + glGetShaderSourceContextANGLE @820 + glGetShaderivContextANGLE @821 + glGetStringContextANGLE @822 + glGetStringiContextANGLE @823 + glGetSyncivContextANGLE @824 + glGetTexEnvfvContextANGLE @825 + glGetTexEnvivContextANGLE @826 + glGetTexEnvxvContextANGLE @827 + glGetTexGenfvOESContextANGLE @828 + glGetTexGenivOESContextANGLE @829 + glGetTexGenxvOESContextANGLE @830 + glGetTexLevelParameterfvContextANGLE @831 + glGetTexLevelParameterivContextANGLE @832 + glGetTexParameterfvContextANGLE @833 + glGetTexParameterivContextANGLE @834 + glGetTexParameterxvContextANGLE @835 + glGetTransformFeedbackVaryingContextANGLE @836 + glGetTranslatedShaderSourceANGLEContextANGLE @837 + glGetUniformBlockIndexContextANGLE @838 + glGetUniformIndicesContextANGLE @839 + glGetUniformLocationContextANGLE @840 + glGetUniformfvContextANGLE @841 + glGetUniformivContextANGLE @842 + glGetUniformuivContextANGLE @843 + glGetVertexAttribIivContextANGLE @844 + glGetVertexAttribIuivContextANGLE @845 + glGetVertexAttribPointervContextANGLE @846 + glGetVertexAttribfvContextANGLE @847 + glGetVertexAttribivContextANGLE @848 + glGetnUniformfvEXTContextANGLE @849 + glGetnUniformivEXTContextANGLE @850 + glHintContextANGLE @851 + glInsertEventMarkerEXTContextANGLE @852 + glInvalidateFramebufferContextANGLE @853 + glInvalidateSubFramebufferContextANGLE @854 + glIsBufferContextANGLE @855 + glIsEnabledContextANGLE @856 + glIsFenceNVContextANGLE @857 + glIsFramebufferContextANGLE @858 + glIsFramebufferOESContextANGLE @859 + glIsProgramContextANGLE @860 + glIsProgramPipelineContextANGLE @861 + glIsQueryContextANGLE @862 + glIsQueryEXTContextANGLE @863 + glIsRenderbufferContextANGLE @864 + glIsRenderbufferOESContextANGLE @865 + glIsSamplerContextANGLE @866 + glIsShaderContextANGLE @867 + glIsSyncContextANGLE @868 + glIsTextureContextANGLE @869 + glIsTransformFeedbackContextANGLE @870 + glIsVertexArrayContextANGLE @871 + glIsVertexArrayOESContextANGLE @872 + glLightModelfContextANGLE @873 + glLightModelfvContextANGLE @874 + glLightModelxContextANGLE @875 + glLightModelxvContextANGLE @876 + glLightfContextANGLE @877 + glLightfvContextANGLE @878 + glLightxContextANGLE @879 + glLightxvContextANGLE @880 + glLineWidthContextANGLE @881 + glLineWidthxContextANGLE @882 + glLinkProgramContextANGLE @883 + glLoadIdentityContextANGLE @884 + glLoadMatrixfContextANGLE @885 + glLoadMatrixxContextANGLE @886 + glLoadPaletteFromModelViewMatrixOESContextANGLE @887 + glLogicOpContextANGLE @888 + glMapBufferOESContextANGLE @889 + glMapBufferRangeContextANGLE @890 + glMapBufferRangeEXTContextANGLE @891 + glMaterialfContextANGLE @892 + glMaterialfvContextANGLE @893 + glMaterialxContextANGLE @894 + glMaterialxvContextANGLE @895 + glMatrixIndexPointerOESContextANGLE @896 + glMatrixModeContextANGLE @897 + glMemoryBarrierContextANGLE @898 + glMemoryBarrierByRegionContextANGLE @899 + glMultMatrixfContextANGLE @900 + glMultMatrixxContextANGLE @901 + glMultiTexCoord4fContextANGLE @902 + glMultiTexCoord4xContextANGLE @903 + glNormal3fContextANGLE @904 + glNormal3xContextANGLE @905 + glNormalPointerContextANGLE @906 + glObjectLabelKHRContextANGLE @907 + glObjectPtrLabelKHRContextANGLE @908 + glOrthofContextANGLE @909 + glOrthoxContextANGLE @910 + glPauseTransformFeedbackContextANGLE @911 + glPixelStoreiContextANGLE @912 + glPointParameterfContextANGLE @913 + glPointParameterfvContextANGLE @914 + glPointParameterxContextANGLE @915 + glPointParameterxvContextANGLE @916 + glPointSizeContextANGLE @917 + glPointSizePointerOESContextANGLE @918 + glPointSizexContextANGLE @919 + glPolygonOffsetContextANGLE @920 + glPolygonOffsetxContextANGLE @921 + glPopDebugGroupKHRContextANGLE @922 + glPopGroupMarkerEXTContextANGLE @923 + glPopMatrixContextANGLE @924 + glProgramBinaryContextANGLE @925 + glProgramBinaryOESContextANGLE @926 + glProgramParameteriContextANGLE @927 + glProgramUniform1fContextANGLE @928 + glProgramUniform1fvContextANGLE @929 + glProgramUniform1iContextANGLE @930 + glProgramUniform1ivContextANGLE @931 + glProgramUniform1uiContextANGLE @932 + glProgramUniform1uivContextANGLE @933 + glProgramUniform2fContextANGLE @934 + glProgramUniform2fvContextANGLE @935 + glProgramUniform2iContextANGLE @936 + glProgramUniform2ivContextANGLE @937 + glProgramUniform2uiContextANGLE @938 + glProgramUniform2uivContextANGLE @939 + glProgramUniform3fContextANGLE @940 + glProgramUniform3fvContextANGLE @941 + glProgramUniform3iContextANGLE @942 + glProgramUniform3ivContextANGLE @943 + glProgramUniform3uiContextANGLE @944 + glProgramUniform3uivContextANGLE @945 + glProgramUniform4fContextANGLE @946 + glProgramUniform4fvContextANGLE @947 + glProgramUniform4iContextANGLE @948 + glProgramUniform4ivContextANGLE @949 + glProgramUniform4uiContextANGLE @950 + glProgramUniform4uivContextANGLE @951 + glProgramUniformMatrix2fvContextANGLE @952 + glProgramUniformMatrix2x3fvContextANGLE @953 + glProgramUniformMatrix2x4fvContextANGLE @954 + glProgramUniformMatrix3fvContextANGLE @955 + glProgramUniformMatrix3x2fvContextANGLE @956 + glProgramUniformMatrix3x4fvContextANGLE @957 + glProgramUniformMatrix4fvContextANGLE @958 + glProgramUniformMatrix4x2fvContextANGLE @959 + glProgramUniformMatrix4x3fvContextANGLE @960 + glPushDebugGroupKHRContextANGLE @961 + glPushGroupMarkerEXTContextANGLE @962 + glPushMatrixContextANGLE @963 + glQueryCounterEXTContextANGLE @964 + glQueryMatrixxOESContextANGLE @965 + glReadBufferContextANGLE @966 + glReadPixelsContextANGLE @967 + glReadnPixelsEXTContextANGLE @968 + glReleaseShaderCompilerContextANGLE @969 + glRenderbufferStorageContextANGLE @970 + glRenderbufferStorageMultisampleContextANGLE @971 + glRenderbufferStorageMultisampleANGLEContextANGLE @972 + glRenderbufferStorageOESContextANGLE @973 + glResumeTransformFeedbackContextANGLE @974 + glRotatefContextANGLE @975 + glRotatexContextANGLE @976 + glSampleCoverageContextANGLE @977 + glSampleCoveragexContextANGLE @978 + glSampleMaskiContextANGLE @979 + glSamplerParameterfContextANGLE @980 + glSamplerParameterfvContextANGLE @981 + glSamplerParameteriContextANGLE @982 + glSamplerParameterivContextANGLE @983 + glScalefContextANGLE @984 + glScalexContextANGLE @985 + glScissorContextANGLE @986 + glSetFenceNVContextANGLE @987 + glShadeModelContextANGLE @988 + glShaderBinaryContextANGLE @989 + glShaderSourceContextANGLE @990 + glStencilFuncContextANGLE @991 + glStencilFuncSeparateContextANGLE @992 + glStencilMaskContextANGLE @993 + glStencilMaskSeparateContextANGLE @994 + glStencilOpContextANGLE @995 + glStencilOpSeparateContextANGLE @996 + glTestFenceNVContextANGLE @997 + glTexCoordPointerContextANGLE @998 + glTexEnvfContextANGLE @999 + glTexEnvfvContextANGLE @1000 + glTexEnviContextANGLE @1001 + glTexEnvivContextANGLE @1002 + glTexEnvxContextANGLE @1003 + glTexEnvxvContextANGLE @1004 + glTexGenfOESContextANGLE @1005 + glTexGenfvOESContextANGLE @1006 + glTexGeniOESContextANGLE @1007 + glTexGenivOESContextANGLE @1008 + glTexGenxOESContextANGLE @1009 + glTexGenxvOESContextANGLE @1010 + glTexImage2DContextANGLE @1011 + glTexImage3DContextANGLE @1012 + glTexParameterfContextANGLE @1013 + glTexParameterfvContextANGLE @1014 + glTexParameteriContextANGLE @1015 + glTexParameterivContextANGLE @1016 + glTexParameterxContextANGLE @1017 + glTexParameterxvContextANGLE @1018 + glTexStorage1DEXTContextANGLE @1019 + glTexStorage2DContextANGLE @1020 + glTexStorage2DEXTContextANGLE @1021 + glTexStorage2DMultisampleContextANGLE @1022 + glTexStorage3DContextANGLE @1023 + glTexStorage3DEXTContextANGLE @1024 + glTexSubImage2DContextANGLE @1025 + glTexSubImage3DContextANGLE @1026 + glTransformFeedbackVaryingsContextANGLE @1027 + glTranslatefContextANGLE @1028 + glTranslatexContextANGLE @1029 + glUniform1fContextANGLE @1030 + glUniform1fvContextANGLE @1031 + glUniform1iContextANGLE @1032 + glUniform1ivContextANGLE @1033 + glUniform1uiContextANGLE @1034 + glUniform1uivContextANGLE @1035 + glUniform2fContextANGLE @1036 + glUniform2fvContextANGLE @1037 + glUniform2iContextANGLE @1038 + glUniform2ivContextANGLE @1039 + glUniform2uiContextANGLE @1040 + glUniform2uivContextANGLE @1041 + glUniform3fContextANGLE @1042 + glUniform3fvContextANGLE @1043 + glUniform3iContextANGLE @1044 + glUniform3ivContextANGLE @1045 + glUniform3uiContextANGLE @1046 + glUniform3uivContextANGLE @1047 + glUniform4fContextANGLE @1048 + glUniform4fvContextANGLE @1049 + glUniform4iContextANGLE @1050 + glUniform4ivContextANGLE @1051 + glUniform4uiContextANGLE @1052 + glUniform4uivContextANGLE @1053 + glUniformBlockBindingContextANGLE @1054 + glUniformMatrix2fvContextANGLE @1055 + glUniformMatrix2x3fvContextANGLE @1056 + glUniformMatrix2x4fvContextANGLE @1057 + glUniformMatrix3fvContextANGLE @1058 + glUniformMatrix3x2fvContextANGLE @1059 + glUniformMatrix3x4fvContextANGLE @1060 + glUniformMatrix4fvContextANGLE @1061 + glUniformMatrix4x2fvContextANGLE @1062 + glUniformMatrix4x3fvContextANGLE @1063 + glUnmapBufferContextANGLE @1064 + glUnmapBufferOESContextANGLE @1065 + glUseProgramContextANGLE @1066 + glUseProgramStagesContextANGLE @1067 + glValidateProgramContextANGLE @1068 + glValidateProgramPipelineContextANGLE @1069 + glVertexAttrib1fContextANGLE @1070 + glVertexAttrib1fvContextANGLE @1071 + glVertexAttrib2fContextANGLE @1072 + glVertexAttrib2fvContextANGLE @1073 + glVertexAttrib3fContextANGLE @1074 + glVertexAttrib3fvContextANGLE @1075 + glVertexAttrib4fContextANGLE @1076 + glVertexAttrib4fvContextANGLE @1077 + glVertexAttribBindingContextANGLE @1078 + glVertexAttribDivisorContextANGLE @1079 + glVertexAttribDivisorANGLEContextANGLE @1080 + glVertexAttribFormatContextANGLE @1081 + glVertexAttribI4iContextANGLE @1082 + glVertexAttribI4ivContextANGLE @1083 + glVertexAttribI4uiContextANGLE @1084 + glVertexAttribI4uivContextANGLE @1085 + glVertexAttribIFormatContextANGLE @1086 + glVertexAttribIPointerContextANGLE @1087 + glVertexAttribPointerContextANGLE @1088 + glVertexBindingDivisorContextANGLE @1089 + glVertexPointerContextANGLE @1090 + glViewportContextANGLE @1091 + glWaitSyncContextANGLE @1092 + glWeightPointerOESContextANGLE @1093 + glBindUniformLocationCHROMIUMContextANGLE @1094 + glCoverageModulationCHROMIUMContextANGLE @1095 + glMatrixLoadfCHROMIUMContextANGLE @1096 + glMatrixLoadIdentityCHROMIUMContextANGLE @1097 + glGenPathsCHROMIUMContextANGLE @1098 + glDeletePathsCHROMIUMContextANGLE @1099 + glIsPathCHROMIUMContextANGLE @1100 + glPathCommandsCHROMIUMContextANGLE @1101 + glPathParameterfCHROMIUMContextANGLE @1102 + glPathParameteriCHROMIUMContextANGLE @1103 + glGetPathParameterfvCHROMIUMContextANGLE @1104 + glGetPathParameterivCHROMIUMContextANGLE @1105 + glPathStencilFuncCHROMIUMContextANGLE @1106 + glStencilFillPathCHROMIUMContextANGLE @1107 + glStencilStrokePathCHROMIUMContextANGLE @1108 + glCoverFillPathCHROMIUMContextANGLE @1109 + glCoverStrokePathCHROMIUMContextANGLE @1110 + glStencilThenCoverFillPathCHROMIUMContextANGLE @1111 + glStencilThenCoverStrokePathCHROMIUMContextANGLE @1112 + glCoverFillPathInstancedCHROMIUMContextANGLE @1113 + glCoverStrokePathInstancedCHROMIUMContextANGLE @1114 + glStencilStrokePathInstancedCHROMIUMContextANGLE @1115 + glStencilFillPathInstancedCHROMIUMContextANGLE @1116 + glStencilThenCoverFillPathInstancedCHROMIUMContextANGLE @1117 + glStencilThenCoverStrokePathInstancedCHROMIUMContextANGLE @1118 + glBindFragmentInputLocationCHROMIUMContextANGLE @1119 + glProgramPathFragmentInputGenCHROMIUMContextANGLE @1120 + glCopyTextureCHROMIUMContextANGLE @1121 + glCopySubTextureCHROMIUMContextANGLE @1122 + glCompressedCopyTextureCHROMIUMContextANGLE @1123 + glRequestExtensionANGLEContextANGLE @1124 + glGetBooleanvRobustANGLEContextANGLE @1125 + glGetBufferParameterivRobustANGLEContextANGLE @1126 + glGetFloatvRobustANGLEContextANGLE @1127 + glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE @1128 + glGetIntegervRobustANGLEContextANGLE @1129 + glGetProgramivRobustANGLEContextANGLE @1130 + glGetRenderbufferParameterivRobustANGLEContextANGLE @1131 + glGetShaderivRobustANGLEContextANGLE @1132 + glGetTexParameterfvRobustANGLEContextANGLE @1133 + glGetTexParameterivRobustANGLEContextANGLE @1134 + glGetUniformfvRobustANGLEContextANGLE @1135 + glGetUniformivRobustANGLEContextANGLE @1136 + glGetVertexAttribfvRobustANGLEContextANGLE @1137 + glGetVertexAttribivRobustANGLEContextANGLE @1138 + glGetVertexAttribPointervRobustANGLEContextANGLE @1139 + glReadPixelsRobustANGLEContextANGLE @1140 + glTexImage2DRobustANGLEContextANGLE @1141 + glTexParameterfvRobustANGLEContextANGLE @1142 + glTexParameterivRobustANGLEContextANGLE @1143 + glTexSubImage2DRobustANGLEContextANGLE @1144 + glTexImage3DRobustANGLEContextANGLE @1145 + glTexSubImage3DRobustANGLEContextANGLE @1146 + glCompressedTexImage2DRobustANGLEContextANGLE @1147 + glCompressedTexSubImage2DRobustANGLEContextANGLE @1148 + glCompressedTexImage3DRobustANGLEContextANGLE @1149 + glCompressedTexSubImage3DRobustANGLEContextANGLE @1150 + glGetQueryivRobustANGLEContextANGLE @1151 + glGetQueryObjectuivRobustANGLEContextANGLE @1152 + glGetBufferPointervRobustANGLEContextANGLE @1153 + glGetIntegeri_vRobustANGLEContextANGLE @1154 + glGetInternalformativRobustANGLEContextANGLE @1155 + glGetVertexAttribIivRobustANGLEContextANGLE @1156 + glGetVertexAttribIuivRobustANGLEContextANGLE @1157 + glGetUniformuivRobustANGLEContextANGLE @1158 + glGetActiveUniformBlockivRobustANGLEContextANGLE @1159 + glGetInteger64vRobustANGLEContextANGLE @1160 + glGetInteger64i_vRobustANGLEContextANGLE @1161 + glGetBufferParameteri64vRobustANGLEContextANGLE @1162 + glSamplerParameterivRobustANGLEContextANGLE @1163 + glSamplerParameterfvRobustANGLEContextANGLE @1164 + glGetSamplerParameterivRobustANGLEContextANGLE @1165 + glGetSamplerParameterfvRobustANGLEContextANGLE @1166 + glGetFramebufferParameterivRobustANGLEContextANGLE @1167 + glGetProgramInterfaceivRobustANGLEContextANGLE @1168 + glGetBooleani_vRobustANGLEContextANGLE @1169 + glGetMultisamplefvRobustANGLEContextANGLE @1170 + glGetTexLevelParameterivRobustANGLEContextANGLE @1171 + glGetTexLevelParameterfvRobustANGLEContextANGLE @1172 + glGetPointervRobustANGLERobustANGLEContextANGLE @1173 + glReadnPixelsRobustANGLEContextANGLE @1174 + glGetnUniformfvRobustANGLEContextANGLE @1175 + glGetnUniformivRobustANGLEContextANGLE @1176 + glGetnUniformuivRobustANGLEContextANGLE @1177 + glTexParameterIivRobustANGLEContextANGLE @1178 + glTexParameterIuivRobustANGLEContextANGLE @1179 + glGetTexParameterIivRobustANGLEContextANGLE @1180 + glGetTexParameterIuivRobustANGLEContextANGLE @1181 + glSamplerParameterIivRobustANGLEContextANGLE @1182 + glSamplerParameterIuivRobustANGLEContextANGLE @1183 + glGetSamplerParameterIivRobustANGLEContextANGLE @1184 + glGetSamplerParameterIuivRobustANGLEContextANGLE @1185 + glGetQueryObjectivRobustANGLEContextANGLE @1186 + glGetQueryObjecti64vRobustANGLEContextANGLE @1187 + glGetQueryObjectui64vRobustANGLEContextANGLE @1188 + glFramebufferTextureMultiviewLayeredANGLEContextANGLE @1189 + glFramebufferTextureMultiviewSideBySideANGLEContextANGLE @1190 diff --git a/src/libGLESv2/proc_table_autogen.cpp b/src/libGLESv2/proc_table_autogen.cpp index 6ec6001d9..17ba2c693 100644 --- a/src/libGLESv2/proc_table_autogen.cpp +++ b/src/libGLESv2/proc_table_autogen.cpp @@ -100,551 +100,1134 @@ ProcEntry g_procTable[] = { {"eglWaitNative", P(egl::WaitNative)}, {"eglWaitSync", P(egl::WaitSync)}, {"glActiveShaderProgram", P(gl::ActiveShaderProgram)}, + {"glActiveShaderProgramContextANGLE", P(gl::ActiveShaderProgramContextANGLE)}, {"glActiveTexture", P(gl::ActiveTexture)}, + {"glActiveTextureContextANGLE", P(gl::ActiveTextureContextANGLE)}, {"glAlphaFunc", P(gl::AlphaFunc)}, + {"glAlphaFuncContextANGLE", P(gl::AlphaFuncContextANGLE)}, {"glAlphaFuncx", P(gl::AlphaFuncx)}, + {"glAlphaFuncxContextANGLE", P(gl::AlphaFuncxContextANGLE)}, {"glAttachShader", P(gl::AttachShader)}, + {"glAttachShaderContextANGLE", P(gl::AttachShaderContextANGLE)}, {"glBeginQuery", P(gl::BeginQuery)}, + {"glBeginQueryContextANGLE", P(gl::BeginQueryContextANGLE)}, {"glBeginQueryEXT", P(gl::BeginQueryEXT)}, + {"glBeginQueryEXTContextANGLE", P(gl::BeginQueryEXTContextANGLE)}, {"glBeginTransformFeedback", P(gl::BeginTransformFeedback)}, + {"glBeginTransformFeedbackContextANGLE", P(gl::BeginTransformFeedbackContextANGLE)}, {"glBindAttribLocation", P(gl::BindAttribLocation)}, + {"glBindAttribLocationContextANGLE", P(gl::BindAttribLocationContextANGLE)}, {"glBindBuffer", P(gl::BindBuffer)}, {"glBindBufferBase", P(gl::BindBufferBase)}, + {"glBindBufferBaseContextANGLE", P(gl::BindBufferBaseContextANGLE)}, + {"glBindBufferContextANGLE", P(gl::BindBufferContextANGLE)}, {"glBindBufferRange", P(gl::BindBufferRange)}, + {"glBindBufferRangeContextANGLE", P(gl::BindBufferRangeContextANGLE)}, {"glBindFramebuffer", P(gl::BindFramebuffer)}, + {"glBindFramebufferContextANGLE", P(gl::BindFramebufferContextANGLE)}, {"glBindImageTexture", P(gl::BindImageTexture)}, + {"glBindImageTextureContextANGLE", P(gl::BindImageTextureContextANGLE)}, {"glBindProgramPipeline", P(gl::BindProgramPipeline)}, + {"glBindProgramPipelineContextANGLE", P(gl::BindProgramPipelineContextANGLE)}, {"glBindRenderbuffer", P(gl::BindRenderbuffer)}, + {"glBindRenderbufferContextANGLE", P(gl::BindRenderbufferContextANGLE)}, {"glBindSampler", P(gl::BindSampler)}, + {"glBindSamplerContextANGLE", P(gl::BindSamplerContextANGLE)}, {"glBindTexture", P(gl::BindTexture)}, + {"glBindTextureContextANGLE", P(gl::BindTextureContextANGLE)}, {"glBindTransformFeedback", P(gl::BindTransformFeedback)}, + {"glBindTransformFeedbackContextANGLE", P(gl::BindTransformFeedbackContextANGLE)}, {"glBindUniformLocationCHROMIUM", P(gl::BindUniformLocationCHROMIUM)}, + {"glBindUniformLocationCHROMIUMContextANGLE", P(gl::BindUniformLocationCHROMIUMContextANGLE)}, {"glBindVertexArray", P(gl::BindVertexArray)}, + {"glBindVertexArrayContextANGLE", P(gl::BindVertexArrayContextANGLE)}, {"glBindVertexArrayOES", P(gl::BindVertexArrayOES)}, + {"glBindVertexArrayOESContextANGLE", P(gl::BindVertexArrayOESContextANGLE)}, {"glBindVertexBuffer", P(gl::BindVertexBuffer)}, + {"glBindVertexBufferContextANGLE", P(gl::BindVertexBufferContextANGLE)}, {"glBlendColor", P(gl::BlendColor)}, + {"glBlendColorContextANGLE", P(gl::BlendColorContextANGLE)}, {"glBlendEquation", P(gl::BlendEquation)}, + {"glBlendEquationContextANGLE", P(gl::BlendEquationContextANGLE)}, {"glBlendEquationSeparate", P(gl::BlendEquationSeparate)}, + {"glBlendEquationSeparateContextANGLE", P(gl::BlendEquationSeparateContextANGLE)}, {"glBlendFunc", P(gl::BlendFunc)}, + {"glBlendFuncContextANGLE", P(gl::BlendFuncContextANGLE)}, {"glBlendFuncSeparate", P(gl::BlendFuncSeparate)}, + {"glBlendFuncSeparateContextANGLE", P(gl::BlendFuncSeparateContextANGLE)}, {"glBlitFramebuffer", P(gl::BlitFramebuffer)}, {"glBlitFramebufferANGLE", P(gl::BlitFramebufferANGLE)}, + {"glBlitFramebufferANGLEContextANGLE", P(gl::BlitFramebufferANGLEContextANGLE)}, + {"glBlitFramebufferContextANGLE", P(gl::BlitFramebufferContextANGLE)}, {"glBufferData", P(gl::BufferData)}, + {"glBufferDataContextANGLE", P(gl::BufferDataContextANGLE)}, {"glBufferSubData", P(gl::BufferSubData)}, + {"glBufferSubDataContextANGLE", P(gl::BufferSubDataContextANGLE)}, {"glCheckFramebufferStatus", P(gl::CheckFramebufferStatus)}, + {"glCheckFramebufferStatusContextANGLE", P(gl::CheckFramebufferStatusContextANGLE)}, {"glClear", P(gl::Clear)}, {"glClearBufferfi", P(gl::ClearBufferfi)}, + {"glClearBufferfiContextANGLE", P(gl::ClearBufferfiContextANGLE)}, {"glClearBufferfv", P(gl::ClearBufferfv)}, + {"glClearBufferfvContextANGLE", P(gl::ClearBufferfvContextANGLE)}, {"glClearBufferiv", P(gl::ClearBufferiv)}, + {"glClearBufferivContextANGLE", P(gl::ClearBufferivContextANGLE)}, {"glClearBufferuiv", P(gl::ClearBufferuiv)}, + {"glClearBufferuivContextANGLE", P(gl::ClearBufferuivContextANGLE)}, {"glClearColor", P(gl::ClearColor)}, + {"glClearColorContextANGLE", P(gl::ClearColorContextANGLE)}, {"glClearColorx", P(gl::ClearColorx)}, + {"glClearColorxContextANGLE", P(gl::ClearColorxContextANGLE)}, + {"glClearContextANGLE", P(gl::ClearContextANGLE)}, {"glClearDepthf", P(gl::ClearDepthf)}, + {"glClearDepthfContextANGLE", P(gl::ClearDepthfContextANGLE)}, {"glClearDepthx", P(gl::ClearDepthx)}, + {"glClearDepthxContextANGLE", P(gl::ClearDepthxContextANGLE)}, {"glClearStencil", P(gl::ClearStencil)}, + {"glClearStencilContextANGLE", P(gl::ClearStencilContextANGLE)}, {"glClientActiveTexture", P(gl::ClientActiveTexture)}, + {"glClientActiveTextureContextANGLE", P(gl::ClientActiveTextureContextANGLE)}, {"glClientWaitSync", P(gl::ClientWaitSync)}, + {"glClientWaitSyncContextANGLE", P(gl::ClientWaitSyncContextANGLE)}, {"glClipPlanef", P(gl::ClipPlanef)}, + {"glClipPlanefContextANGLE", P(gl::ClipPlanefContextANGLE)}, {"glClipPlanex", P(gl::ClipPlanex)}, + {"glClipPlanexContextANGLE", P(gl::ClipPlanexContextANGLE)}, {"glColor4f", P(gl::Color4f)}, + {"glColor4fContextANGLE", P(gl::Color4fContextANGLE)}, {"glColor4ub", P(gl::Color4ub)}, + {"glColor4ubContextANGLE", P(gl::Color4ubContextANGLE)}, {"glColor4x", P(gl::Color4x)}, + {"glColor4xContextANGLE", P(gl::Color4xContextANGLE)}, {"glColorMask", P(gl::ColorMask)}, + {"glColorMaskContextANGLE", P(gl::ColorMaskContextANGLE)}, {"glColorPointer", P(gl::ColorPointer)}, + {"glColorPointerContextANGLE", P(gl::ColorPointerContextANGLE)}, {"glCompileShader", P(gl::CompileShader)}, + {"glCompileShaderContextANGLE", P(gl::CompileShaderContextANGLE)}, {"glCompressedCopyTextureCHROMIUM", P(gl::CompressedCopyTextureCHROMIUM)}, + {"glCompressedCopyTextureCHROMIUMContextANGLE", + P(gl::CompressedCopyTextureCHROMIUMContextANGLE)}, {"glCompressedTexImage2D", P(gl::CompressedTexImage2D)}, + {"glCompressedTexImage2DContextANGLE", P(gl::CompressedTexImage2DContextANGLE)}, {"glCompressedTexImage2DRobustANGLE", P(gl::CompressedTexImage2DRobustANGLE)}, + {"glCompressedTexImage2DRobustANGLEContextANGLE", + P(gl::CompressedTexImage2DRobustANGLEContextANGLE)}, {"glCompressedTexImage3D", P(gl::CompressedTexImage3D)}, + {"glCompressedTexImage3DContextANGLE", P(gl::CompressedTexImage3DContextANGLE)}, {"glCompressedTexImage3DRobustANGLE", P(gl::CompressedTexImage3DRobustANGLE)}, + {"glCompressedTexImage3DRobustANGLEContextANGLE", + P(gl::CompressedTexImage3DRobustANGLEContextANGLE)}, {"glCompressedTexSubImage2D", P(gl::CompressedTexSubImage2D)}, + {"glCompressedTexSubImage2DContextANGLE", P(gl::CompressedTexSubImage2DContextANGLE)}, {"glCompressedTexSubImage2DRobustANGLE", P(gl::CompressedTexSubImage2DRobustANGLE)}, + {"glCompressedTexSubImage2DRobustANGLEContextANGLE", + P(gl::CompressedTexSubImage2DRobustANGLEContextANGLE)}, {"glCompressedTexSubImage3D", P(gl::CompressedTexSubImage3D)}, + {"glCompressedTexSubImage3DContextANGLE", P(gl::CompressedTexSubImage3DContextANGLE)}, {"glCompressedTexSubImage3DRobustANGLE", P(gl::CompressedTexSubImage3DRobustANGLE)}, + {"glCompressedTexSubImage3DRobustANGLEContextANGLE", + P(gl::CompressedTexSubImage3DRobustANGLEContextANGLE)}, {"glCopyBufferSubData", P(gl::CopyBufferSubData)}, + {"glCopyBufferSubDataContextANGLE", P(gl::CopyBufferSubDataContextANGLE)}, {"glCopySubTextureCHROMIUM", P(gl::CopySubTextureCHROMIUM)}, + {"glCopySubTextureCHROMIUMContextANGLE", P(gl::CopySubTextureCHROMIUMContextANGLE)}, {"glCopyTexImage2D", P(gl::CopyTexImage2D)}, + {"glCopyTexImage2DContextANGLE", P(gl::CopyTexImage2DContextANGLE)}, {"glCopyTexSubImage2D", P(gl::CopyTexSubImage2D)}, + {"glCopyTexSubImage2DContextANGLE", P(gl::CopyTexSubImage2DContextANGLE)}, {"glCopyTexSubImage3D", P(gl::CopyTexSubImage3D)}, + {"glCopyTexSubImage3DContextANGLE", P(gl::CopyTexSubImage3DContextANGLE)}, {"glCopyTextureCHROMIUM", P(gl::CopyTextureCHROMIUM)}, + {"glCopyTextureCHROMIUMContextANGLE", P(gl::CopyTextureCHROMIUMContextANGLE)}, {"glCreateProgram", P(gl::CreateProgram)}, + {"glCreateProgramContextANGLE", P(gl::CreateProgramContextANGLE)}, {"glCreateShader", P(gl::CreateShader)}, + {"glCreateShaderContextANGLE", P(gl::CreateShaderContextANGLE)}, {"glCreateShaderProgramv", P(gl::CreateShaderProgramv)}, + {"glCreateShaderProgramvContextANGLE", P(gl::CreateShaderProgramvContextANGLE)}, {"glCullFace", P(gl::CullFace)}, + {"glCullFaceContextANGLE", P(gl::CullFaceContextANGLE)}, {"glCurrentPaletteMatrixOES", P(gl::CurrentPaletteMatrixOES)}, + {"glCurrentPaletteMatrixOESContextANGLE", P(gl::CurrentPaletteMatrixOESContextANGLE)}, {"glDebugMessageCallbackKHR", P(gl::DebugMessageCallbackKHR)}, + {"glDebugMessageCallbackKHRContextANGLE", P(gl::DebugMessageCallbackKHRContextANGLE)}, {"glDebugMessageControlKHR", P(gl::DebugMessageControlKHR)}, + {"glDebugMessageControlKHRContextANGLE", P(gl::DebugMessageControlKHRContextANGLE)}, {"glDebugMessageInsertKHR", P(gl::DebugMessageInsertKHR)}, + {"glDebugMessageInsertKHRContextANGLE", P(gl::DebugMessageInsertKHRContextANGLE)}, {"glDeleteBuffers", P(gl::DeleteBuffers)}, + {"glDeleteBuffersContextANGLE", P(gl::DeleteBuffersContextANGLE)}, {"glDeleteFencesNV", P(gl::DeleteFencesNV)}, + {"glDeleteFencesNVContextANGLE", P(gl::DeleteFencesNVContextANGLE)}, {"glDeleteFramebuffers", P(gl::DeleteFramebuffers)}, + {"glDeleteFramebuffersContextANGLE", P(gl::DeleteFramebuffersContextANGLE)}, {"glDeleteProgram", P(gl::DeleteProgram)}, + {"glDeleteProgramContextANGLE", P(gl::DeleteProgramContextANGLE)}, {"glDeleteProgramPipelines", P(gl::DeleteProgramPipelines)}, + {"glDeleteProgramPipelinesContextANGLE", P(gl::DeleteProgramPipelinesContextANGLE)}, {"glDeleteQueries", P(gl::DeleteQueries)}, + {"glDeleteQueriesContextANGLE", P(gl::DeleteQueriesContextANGLE)}, {"glDeleteQueriesEXT", P(gl::DeleteQueriesEXT)}, + {"glDeleteQueriesEXTContextANGLE", P(gl::DeleteQueriesEXTContextANGLE)}, {"glDeleteRenderbuffers", P(gl::DeleteRenderbuffers)}, + {"glDeleteRenderbuffersContextANGLE", P(gl::DeleteRenderbuffersContextANGLE)}, {"glDeleteSamplers", P(gl::DeleteSamplers)}, + {"glDeleteSamplersContextANGLE", P(gl::DeleteSamplersContextANGLE)}, {"glDeleteShader", P(gl::DeleteShader)}, + {"glDeleteShaderContextANGLE", P(gl::DeleteShaderContextANGLE)}, {"glDeleteSync", P(gl::DeleteSync)}, + {"glDeleteSyncContextANGLE", P(gl::DeleteSyncContextANGLE)}, {"glDeleteTextures", P(gl::DeleteTextures)}, + {"glDeleteTexturesContextANGLE", P(gl::DeleteTexturesContextANGLE)}, {"glDeleteTransformFeedbacks", P(gl::DeleteTransformFeedbacks)}, + {"glDeleteTransformFeedbacksContextANGLE", P(gl::DeleteTransformFeedbacksContextANGLE)}, {"glDeleteVertexArrays", P(gl::DeleteVertexArrays)}, + {"glDeleteVertexArraysContextANGLE", P(gl::DeleteVertexArraysContextANGLE)}, {"glDeleteVertexArraysOES", P(gl::DeleteVertexArraysOES)}, + {"glDeleteVertexArraysOESContextANGLE", P(gl::DeleteVertexArraysOESContextANGLE)}, {"glDepthFunc", P(gl::DepthFunc)}, + {"glDepthFuncContextANGLE", P(gl::DepthFuncContextANGLE)}, {"glDepthMask", P(gl::DepthMask)}, + {"glDepthMaskContextANGLE", P(gl::DepthMaskContextANGLE)}, {"glDepthRangef", P(gl::DepthRangef)}, + {"glDepthRangefContextANGLE", P(gl::DepthRangefContextANGLE)}, {"glDepthRangex", P(gl::DepthRangex)}, + {"glDepthRangexContextANGLE", P(gl::DepthRangexContextANGLE)}, {"glDetachShader", P(gl::DetachShader)}, + {"glDetachShaderContextANGLE", P(gl::DetachShaderContextANGLE)}, {"glDisable", P(gl::Disable)}, {"glDisableClientState", P(gl::DisableClientState)}, + {"glDisableClientStateContextANGLE", P(gl::DisableClientStateContextANGLE)}, + {"glDisableContextANGLE", P(gl::DisableContextANGLE)}, {"glDisableVertexAttribArray", P(gl::DisableVertexAttribArray)}, + {"glDisableVertexAttribArrayContextANGLE", P(gl::DisableVertexAttribArrayContextANGLE)}, {"glDiscardFramebufferEXT", P(gl::DiscardFramebufferEXT)}, + {"glDiscardFramebufferEXTContextANGLE", P(gl::DiscardFramebufferEXTContextANGLE)}, {"glDispatchCompute", P(gl::DispatchCompute)}, + {"glDispatchComputeContextANGLE", P(gl::DispatchComputeContextANGLE)}, {"glDispatchComputeIndirect", P(gl::DispatchComputeIndirect)}, + {"glDispatchComputeIndirectContextANGLE", P(gl::DispatchComputeIndirectContextANGLE)}, {"glDrawArrays", P(gl::DrawArrays)}, + {"glDrawArraysContextANGLE", P(gl::DrawArraysContextANGLE)}, {"glDrawArraysIndirect", P(gl::DrawArraysIndirect)}, + {"glDrawArraysIndirectContextANGLE", P(gl::DrawArraysIndirectContextANGLE)}, {"glDrawArraysInstanced", P(gl::DrawArraysInstanced)}, {"glDrawArraysInstancedANGLE", P(gl::DrawArraysInstancedANGLE)}, + {"glDrawArraysInstancedANGLEContextANGLE", P(gl::DrawArraysInstancedANGLEContextANGLE)}, + {"glDrawArraysInstancedContextANGLE", P(gl::DrawArraysInstancedContextANGLE)}, {"glDrawBuffers", P(gl::DrawBuffers)}, + {"glDrawBuffersContextANGLE", P(gl::DrawBuffersContextANGLE)}, {"glDrawBuffersEXT", P(gl::DrawBuffersEXT)}, + {"glDrawBuffersEXTContextANGLE", P(gl::DrawBuffersEXTContextANGLE)}, {"glDrawElements", P(gl::DrawElements)}, + {"glDrawElementsContextANGLE", P(gl::DrawElementsContextANGLE)}, {"glDrawElementsIndirect", P(gl::DrawElementsIndirect)}, + {"glDrawElementsIndirectContextANGLE", P(gl::DrawElementsIndirectContextANGLE)}, {"glDrawElementsInstanced", P(gl::DrawElementsInstanced)}, {"glDrawElementsInstancedANGLE", P(gl::DrawElementsInstancedANGLE)}, + {"glDrawElementsInstancedANGLEContextANGLE", P(gl::DrawElementsInstancedANGLEContextANGLE)}, + {"glDrawElementsInstancedContextANGLE", P(gl::DrawElementsInstancedContextANGLE)}, {"glDrawRangeElements", P(gl::DrawRangeElements)}, + {"glDrawRangeElementsContextANGLE", P(gl::DrawRangeElementsContextANGLE)}, {"glDrawTexfOES", P(gl::DrawTexfOES)}, + {"glDrawTexfOESContextANGLE", P(gl::DrawTexfOESContextANGLE)}, {"glDrawTexfvOES", P(gl::DrawTexfvOES)}, + {"glDrawTexfvOESContextANGLE", P(gl::DrawTexfvOESContextANGLE)}, {"glDrawTexiOES", P(gl::DrawTexiOES)}, + {"glDrawTexiOESContextANGLE", P(gl::DrawTexiOESContextANGLE)}, {"glDrawTexivOES", P(gl::DrawTexivOES)}, + {"glDrawTexivOESContextANGLE", P(gl::DrawTexivOESContextANGLE)}, {"glDrawTexsOES", P(gl::DrawTexsOES)}, + {"glDrawTexsOESContextANGLE", P(gl::DrawTexsOESContextANGLE)}, {"glDrawTexsvOES", P(gl::DrawTexsvOES)}, + {"glDrawTexsvOESContextANGLE", P(gl::DrawTexsvOESContextANGLE)}, {"glDrawTexxOES", P(gl::DrawTexxOES)}, + {"glDrawTexxOESContextANGLE", P(gl::DrawTexxOESContextANGLE)}, {"glDrawTexxvOES", P(gl::DrawTexxvOES)}, + {"glDrawTexxvOESContextANGLE", P(gl::DrawTexxvOESContextANGLE)}, {"glEGLImageTargetRenderbufferStorageOES", P(gl::EGLImageTargetRenderbufferStorageOES)}, + {"glEGLImageTargetRenderbufferStorageOESContextANGLE", + P(gl::EGLImageTargetRenderbufferStorageOESContextANGLE)}, {"glEGLImageTargetTexture2DOES", P(gl::EGLImageTargetTexture2DOES)}, + {"glEGLImageTargetTexture2DOESContextANGLE", P(gl::EGLImageTargetTexture2DOESContextANGLE)}, {"glEnable", P(gl::Enable)}, {"glEnableClientState", P(gl::EnableClientState)}, + {"glEnableClientStateContextANGLE", P(gl::EnableClientStateContextANGLE)}, + {"glEnableContextANGLE", P(gl::EnableContextANGLE)}, {"glEnableVertexAttribArray", P(gl::EnableVertexAttribArray)}, + {"glEnableVertexAttribArrayContextANGLE", P(gl::EnableVertexAttribArrayContextANGLE)}, {"glEndQuery", P(gl::EndQuery)}, + {"glEndQueryContextANGLE", P(gl::EndQueryContextANGLE)}, {"glEndQueryEXT", P(gl::EndQueryEXT)}, + {"glEndQueryEXTContextANGLE", P(gl::EndQueryEXTContextANGLE)}, {"glEndTransformFeedback", P(gl::EndTransformFeedback)}, + {"glEndTransformFeedbackContextANGLE", P(gl::EndTransformFeedbackContextANGLE)}, {"glFenceSync", P(gl::FenceSync)}, + {"glFenceSyncContextANGLE", P(gl::FenceSyncContextANGLE)}, {"glFinish", P(gl::Finish)}, + {"glFinishContextANGLE", P(gl::FinishContextANGLE)}, {"glFinishFenceNV", P(gl::FinishFenceNV)}, + {"glFinishFenceNVContextANGLE", P(gl::FinishFenceNVContextANGLE)}, {"glFlush", P(gl::Flush)}, + {"glFlushContextANGLE", P(gl::FlushContextANGLE)}, {"glFlushMappedBufferRange", P(gl::FlushMappedBufferRange)}, + {"glFlushMappedBufferRangeContextANGLE", P(gl::FlushMappedBufferRangeContextANGLE)}, {"glFlushMappedBufferRangeEXT", P(gl::FlushMappedBufferRangeEXT)}, + {"glFlushMappedBufferRangeEXTContextANGLE", P(gl::FlushMappedBufferRangeEXTContextANGLE)}, {"glFogf", P(gl::Fogf)}, + {"glFogfContextANGLE", P(gl::FogfContextANGLE)}, {"glFogfv", P(gl::Fogfv)}, + {"glFogfvContextANGLE", P(gl::FogfvContextANGLE)}, {"glFogx", P(gl::Fogx)}, + {"glFogxContextANGLE", P(gl::FogxContextANGLE)}, {"glFogxv", P(gl::Fogxv)}, + {"glFogxvContextANGLE", P(gl::FogxvContextANGLE)}, {"glFramebufferParameteri", P(gl::FramebufferParameteri)}, + {"glFramebufferParameteriContextANGLE", P(gl::FramebufferParameteriContextANGLE)}, {"glFramebufferRenderbuffer", P(gl::FramebufferRenderbuffer)}, + {"glFramebufferRenderbufferContextANGLE", P(gl::FramebufferRenderbufferContextANGLE)}, {"glFramebufferTexture2D", P(gl::FramebufferTexture2D)}, + {"glFramebufferTexture2DContextANGLE", P(gl::FramebufferTexture2DContextANGLE)}, {"glFramebufferTextureLayer", P(gl::FramebufferTextureLayer)}, + {"glFramebufferTextureLayerContextANGLE", P(gl::FramebufferTextureLayerContextANGLE)}, {"glFramebufferTextureMultiviewLayeredANGLE", P(gl::FramebufferTextureMultiviewLayeredANGLE)}, + {"glFramebufferTextureMultiviewLayeredANGLEContextANGLE", + P(gl::FramebufferTextureMultiviewLayeredANGLEContextANGLE)}, {"glFramebufferTextureMultiviewSideBySideANGLE", P(gl::FramebufferTextureMultiviewSideBySideANGLE)}, + {"glFramebufferTextureMultiviewSideBySideANGLEContextANGLE", + P(gl::FramebufferTextureMultiviewSideBySideANGLEContextANGLE)}, {"glFrontFace", P(gl::FrontFace)}, + {"glFrontFaceContextANGLE", P(gl::FrontFaceContextANGLE)}, {"glFrustumf", P(gl::Frustumf)}, + {"glFrustumfContextANGLE", P(gl::FrustumfContextANGLE)}, {"glFrustumx", P(gl::Frustumx)}, + {"glFrustumxContextANGLE", P(gl::FrustumxContextANGLE)}, {"glGenBuffers", P(gl::GenBuffers)}, + {"glGenBuffersContextANGLE", P(gl::GenBuffersContextANGLE)}, {"glGenFencesNV", P(gl::GenFencesNV)}, + {"glGenFencesNVContextANGLE", P(gl::GenFencesNVContextANGLE)}, {"glGenFramebuffers", P(gl::GenFramebuffers)}, + {"glGenFramebuffersContextANGLE", P(gl::GenFramebuffersContextANGLE)}, {"glGenProgramPipelines", P(gl::GenProgramPipelines)}, + {"glGenProgramPipelinesContextANGLE", P(gl::GenProgramPipelinesContextANGLE)}, {"glGenQueries", P(gl::GenQueries)}, + {"glGenQueriesContextANGLE", P(gl::GenQueriesContextANGLE)}, {"glGenQueriesEXT", P(gl::GenQueriesEXT)}, + {"glGenQueriesEXTContextANGLE", P(gl::GenQueriesEXTContextANGLE)}, {"glGenRenderbuffers", P(gl::GenRenderbuffers)}, + {"glGenRenderbuffersContextANGLE", P(gl::GenRenderbuffersContextANGLE)}, {"glGenSamplers", P(gl::GenSamplers)}, + {"glGenSamplersContextANGLE", P(gl::GenSamplersContextANGLE)}, {"glGenTextures", P(gl::GenTextures)}, + {"glGenTexturesContextANGLE", P(gl::GenTexturesContextANGLE)}, {"glGenTransformFeedbacks", P(gl::GenTransformFeedbacks)}, + {"glGenTransformFeedbacksContextANGLE", P(gl::GenTransformFeedbacksContextANGLE)}, {"glGenVertexArrays", P(gl::GenVertexArrays)}, + {"glGenVertexArraysContextANGLE", P(gl::GenVertexArraysContextANGLE)}, {"glGenVertexArraysOES", P(gl::GenVertexArraysOES)}, + {"glGenVertexArraysOESContextANGLE", P(gl::GenVertexArraysOESContextANGLE)}, {"glGenerateMipmap", P(gl::GenerateMipmap)}, + {"glGenerateMipmapContextANGLE", P(gl::GenerateMipmapContextANGLE)}, {"glGetActiveAttrib", P(gl::GetActiveAttrib)}, + {"glGetActiveAttribContextANGLE", P(gl::GetActiveAttribContextANGLE)}, {"glGetActiveUniform", P(gl::GetActiveUniform)}, {"glGetActiveUniformBlockName", P(gl::GetActiveUniformBlockName)}, + {"glGetActiveUniformBlockNameContextANGLE", P(gl::GetActiveUniformBlockNameContextANGLE)}, {"glGetActiveUniformBlockiv", P(gl::GetActiveUniformBlockiv)}, + {"glGetActiveUniformBlockivContextANGLE", P(gl::GetActiveUniformBlockivContextANGLE)}, {"glGetActiveUniformBlockivRobustANGLE", P(gl::GetActiveUniformBlockivRobustANGLE)}, + {"glGetActiveUniformBlockivRobustANGLEContextANGLE", + P(gl::GetActiveUniformBlockivRobustANGLEContextANGLE)}, + {"glGetActiveUniformContextANGLE", P(gl::GetActiveUniformContextANGLE)}, {"glGetActiveUniformsiv", P(gl::GetActiveUniformsiv)}, + {"glGetActiveUniformsivContextANGLE", P(gl::GetActiveUniformsivContextANGLE)}, {"glGetAttachedShaders", P(gl::GetAttachedShaders)}, + {"glGetAttachedShadersContextANGLE", P(gl::GetAttachedShadersContextANGLE)}, {"glGetAttribLocation", P(gl::GetAttribLocation)}, + {"glGetAttribLocationContextANGLE", P(gl::GetAttribLocationContextANGLE)}, {"glGetBooleani_v", P(gl::GetBooleani_v)}, + {"glGetBooleani_vContextANGLE", P(gl::GetBooleani_vContextANGLE)}, {"glGetBooleani_vRobustANGLE", P(gl::GetBooleani_vRobustANGLE)}, + {"glGetBooleani_vRobustANGLEContextANGLE", P(gl::GetBooleani_vRobustANGLEContextANGLE)}, {"glGetBooleanv", P(gl::GetBooleanv)}, + {"glGetBooleanvContextANGLE", P(gl::GetBooleanvContextANGLE)}, {"glGetBooleanvRobustANGLE", P(gl::GetBooleanvRobustANGLE)}, + {"glGetBooleanvRobustANGLEContextANGLE", P(gl::GetBooleanvRobustANGLEContextANGLE)}, {"glGetBufferParameteri64v", P(gl::GetBufferParameteri64v)}, + {"glGetBufferParameteri64vContextANGLE", P(gl::GetBufferParameteri64vContextANGLE)}, {"glGetBufferParameteri64vRobustANGLE", P(gl::GetBufferParameteri64vRobustANGLE)}, + {"glGetBufferParameteri64vRobustANGLEContextANGLE", + P(gl::GetBufferParameteri64vRobustANGLEContextANGLE)}, {"glGetBufferParameteriv", P(gl::GetBufferParameteriv)}, + {"glGetBufferParameterivContextANGLE", P(gl::GetBufferParameterivContextANGLE)}, {"glGetBufferParameterivRobustANGLE", P(gl::GetBufferParameterivRobustANGLE)}, + {"glGetBufferParameterivRobustANGLEContextANGLE", + P(gl::GetBufferParameterivRobustANGLEContextANGLE)}, {"glGetBufferPointerv", P(gl::GetBufferPointerv)}, + {"glGetBufferPointervContextANGLE", P(gl::GetBufferPointervContextANGLE)}, {"glGetBufferPointervOES", P(gl::GetBufferPointervOES)}, + {"glGetBufferPointervOESContextANGLE", P(gl::GetBufferPointervOESContextANGLE)}, {"glGetBufferPointervRobustANGLE", P(gl::GetBufferPointervRobustANGLE)}, + {"glGetBufferPointervRobustANGLEContextANGLE", P(gl::GetBufferPointervRobustANGLEContextANGLE)}, {"glGetClipPlanef", P(gl::GetClipPlanef)}, + {"glGetClipPlanefContextANGLE", P(gl::GetClipPlanefContextANGLE)}, {"glGetClipPlanex", P(gl::GetClipPlanex)}, + {"glGetClipPlanexContextANGLE", P(gl::GetClipPlanexContextANGLE)}, {"glGetDebugMessageLogKHR", P(gl::GetDebugMessageLogKHR)}, + {"glGetDebugMessageLogKHRContextANGLE", P(gl::GetDebugMessageLogKHRContextANGLE)}, {"glGetError", P(gl::GetError)}, + {"glGetErrorContextANGLE", P(gl::GetErrorContextANGLE)}, {"glGetFenceivNV", P(gl::GetFenceivNV)}, + {"glGetFenceivNVContextANGLE", P(gl::GetFenceivNVContextANGLE)}, {"glGetFixedv", P(gl::GetFixedv)}, + {"glGetFixedvContextANGLE", P(gl::GetFixedvContextANGLE)}, {"glGetFloatv", P(gl::GetFloatv)}, + {"glGetFloatvContextANGLE", P(gl::GetFloatvContextANGLE)}, {"glGetFloatvRobustANGLE", P(gl::GetFloatvRobustANGLE)}, + {"glGetFloatvRobustANGLEContextANGLE", P(gl::GetFloatvRobustANGLEContextANGLE)}, {"glGetFragDataLocation", P(gl::GetFragDataLocation)}, + {"glGetFragDataLocationContextANGLE", P(gl::GetFragDataLocationContextANGLE)}, {"glGetFramebufferAttachmentParameteriv", P(gl::GetFramebufferAttachmentParameteriv)}, + {"glGetFramebufferAttachmentParameterivContextANGLE", + P(gl::GetFramebufferAttachmentParameterivContextANGLE)}, {"glGetFramebufferAttachmentParameterivRobustANGLE", P(gl::GetFramebufferAttachmentParameterivRobustANGLE)}, + {"glGetFramebufferAttachmentParameterivRobustANGLEContextANGLE", + P(gl::GetFramebufferAttachmentParameterivRobustANGLEContextANGLE)}, {"glGetFramebufferParameteriv", P(gl::GetFramebufferParameteriv)}, + {"glGetFramebufferParameterivContextANGLE", P(gl::GetFramebufferParameterivContextANGLE)}, {"glGetFramebufferParameterivRobustANGLE", P(gl::GetFramebufferParameterivRobustANGLE)}, + {"glGetFramebufferParameterivRobustANGLEContextANGLE", + P(gl::GetFramebufferParameterivRobustANGLEContextANGLE)}, {"glGetGraphicsResetStatusEXT", P(gl::GetGraphicsResetStatusEXT)}, + {"glGetGraphicsResetStatusEXTContextANGLE", P(gl::GetGraphicsResetStatusEXTContextANGLE)}, {"glGetInteger64i_v", P(gl::GetInteger64i_v)}, + {"glGetInteger64i_vContextANGLE", P(gl::GetInteger64i_vContextANGLE)}, {"glGetInteger64i_vRobustANGLE", P(gl::GetInteger64i_vRobustANGLE)}, + {"glGetInteger64i_vRobustANGLEContextANGLE", P(gl::GetInteger64i_vRobustANGLEContextANGLE)}, {"glGetInteger64v", P(gl::GetInteger64v)}, + {"glGetInteger64vContextANGLE", P(gl::GetInteger64vContextANGLE)}, {"glGetInteger64vRobustANGLE", P(gl::GetInteger64vRobustANGLE)}, + {"glGetInteger64vRobustANGLEContextANGLE", P(gl::GetInteger64vRobustANGLEContextANGLE)}, {"glGetIntegeri_v", P(gl::GetIntegeri_v)}, + {"glGetIntegeri_vContextANGLE", P(gl::GetIntegeri_vContextANGLE)}, {"glGetIntegeri_vRobustANGLE", P(gl::GetIntegeri_vRobustANGLE)}, + {"glGetIntegeri_vRobustANGLEContextANGLE", P(gl::GetIntegeri_vRobustANGLEContextANGLE)}, {"glGetIntegerv", P(gl::GetIntegerv)}, + {"glGetIntegervContextANGLE", P(gl::GetIntegervContextANGLE)}, {"glGetIntegervRobustANGLE", P(gl::GetIntegervRobustANGLE)}, + {"glGetIntegervRobustANGLEContextANGLE", P(gl::GetIntegervRobustANGLEContextANGLE)}, {"glGetInternalformativ", P(gl::GetInternalformativ)}, + {"glGetInternalformativContextANGLE", P(gl::GetInternalformativContextANGLE)}, {"glGetInternalformativRobustANGLE", P(gl::GetInternalformativRobustANGLE)}, + {"glGetInternalformativRobustANGLEContextANGLE", + P(gl::GetInternalformativRobustANGLEContextANGLE)}, {"glGetLightfv", P(gl::GetLightfv)}, + {"glGetLightfvContextANGLE", P(gl::GetLightfvContextANGLE)}, {"glGetLightxv", P(gl::GetLightxv)}, + {"glGetLightxvContextANGLE", P(gl::GetLightxvContextANGLE)}, {"glGetMaterialfv", P(gl::GetMaterialfv)}, + {"glGetMaterialfvContextANGLE", P(gl::GetMaterialfvContextANGLE)}, {"glGetMaterialxv", P(gl::GetMaterialxv)}, + {"glGetMaterialxvContextANGLE", P(gl::GetMaterialxvContextANGLE)}, {"glGetMultisamplefv", P(gl::GetMultisamplefv)}, + {"glGetMultisamplefvContextANGLE", P(gl::GetMultisamplefvContextANGLE)}, {"glGetMultisamplefvRobustANGLE", P(gl::GetMultisamplefvRobustANGLE)}, + {"glGetMultisamplefvRobustANGLEContextANGLE", P(gl::GetMultisamplefvRobustANGLEContextANGLE)}, {"glGetObjectLabelKHR", P(gl::GetObjectLabelKHR)}, + {"glGetObjectLabelKHRContextANGLE", P(gl::GetObjectLabelKHRContextANGLE)}, {"glGetObjectPtrLabelKHR", P(gl::GetObjectPtrLabelKHR)}, + {"glGetObjectPtrLabelKHRContextANGLE", P(gl::GetObjectPtrLabelKHRContextANGLE)}, {"glGetPointerv", P(gl::GetPointerv)}, + {"glGetPointervContextANGLE", P(gl::GetPointervContextANGLE)}, {"glGetPointervKHR", P(gl::GetPointervKHR)}, + {"glGetPointervKHRContextANGLE", P(gl::GetPointervKHRContextANGLE)}, {"glGetPointervRobustANGLERobustANGLE", P(gl::GetPointervRobustANGLERobustANGLE)}, + {"glGetPointervRobustANGLERobustANGLEContextANGLE", + P(gl::GetPointervRobustANGLERobustANGLEContextANGLE)}, {"glGetProgramBinary", P(gl::GetProgramBinary)}, + {"glGetProgramBinaryContextANGLE", P(gl::GetProgramBinaryContextANGLE)}, {"glGetProgramBinaryOES", P(gl::GetProgramBinaryOES)}, + {"glGetProgramBinaryOESContextANGLE", P(gl::GetProgramBinaryOESContextANGLE)}, {"glGetProgramInfoLog", P(gl::GetProgramInfoLog)}, + {"glGetProgramInfoLogContextANGLE", P(gl::GetProgramInfoLogContextANGLE)}, {"glGetProgramInterfaceiv", P(gl::GetProgramInterfaceiv)}, + {"glGetProgramInterfaceivContextANGLE", P(gl::GetProgramInterfaceivContextANGLE)}, {"glGetProgramInterfaceivRobustANGLE", P(gl::GetProgramInterfaceivRobustANGLE)}, + {"glGetProgramInterfaceivRobustANGLEContextANGLE", + P(gl::GetProgramInterfaceivRobustANGLEContextANGLE)}, {"glGetProgramPipelineInfoLog", P(gl::GetProgramPipelineInfoLog)}, + {"glGetProgramPipelineInfoLogContextANGLE", P(gl::GetProgramPipelineInfoLogContextANGLE)}, {"glGetProgramPipelineiv", P(gl::GetProgramPipelineiv)}, + {"glGetProgramPipelineivContextANGLE", P(gl::GetProgramPipelineivContextANGLE)}, {"glGetProgramResourceIndex", P(gl::GetProgramResourceIndex)}, + {"glGetProgramResourceIndexContextANGLE", P(gl::GetProgramResourceIndexContextANGLE)}, {"glGetProgramResourceLocation", P(gl::GetProgramResourceLocation)}, + {"glGetProgramResourceLocationContextANGLE", P(gl::GetProgramResourceLocationContextANGLE)}, {"glGetProgramResourceName", P(gl::GetProgramResourceName)}, + {"glGetProgramResourceNameContextANGLE", P(gl::GetProgramResourceNameContextANGLE)}, {"glGetProgramResourceiv", P(gl::GetProgramResourceiv)}, + {"glGetProgramResourceivContextANGLE", P(gl::GetProgramResourceivContextANGLE)}, {"glGetProgramiv", P(gl::GetProgramiv)}, + {"glGetProgramivContextANGLE", P(gl::GetProgramivContextANGLE)}, {"glGetProgramivRobustANGLE", P(gl::GetProgramivRobustANGLE)}, + {"glGetProgramivRobustANGLEContextANGLE", P(gl::GetProgramivRobustANGLEContextANGLE)}, {"glGetQueryObjecti64vEXT", P(gl::GetQueryObjecti64vEXT)}, + {"glGetQueryObjecti64vEXTContextANGLE", P(gl::GetQueryObjecti64vEXTContextANGLE)}, {"glGetQueryObjecti64vRobustANGLE", P(gl::GetQueryObjecti64vRobustANGLE)}, + {"glGetQueryObjecti64vRobustANGLEContextANGLE", + P(gl::GetQueryObjecti64vRobustANGLEContextANGLE)}, {"glGetQueryObjectivEXT", P(gl::GetQueryObjectivEXT)}, + {"glGetQueryObjectivEXTContextANGLE", P(gl::GetQueryObjectivEXTContextANGLE)}, {"glGetQueryObjectivRobustANGLE", P(gl::GetQueryObjectivRobustANGLE)}, + {"glGetQueryObjectivRobustANGLEContextANGLE", P(gl::GetQueryObjectivRobustANGLEContextANGLE)}, {"glGetQueryObjectui64vEXT", P(gl::GetQueryObjectui64vEXT)}, + {"glGetQueryObjectui64vEXTContextANGLE", P(gl::GetQueryObjectui64vEXTContextANGLE)}, {"glGetQueryObjectui64vRobustANGLE", P(gl::GetQueryObjectui64vRobustANGLE)}, + {"glGetQueryObjectui64vRobustANGLEContextANGLE", + P(gl::GetQueryObjectui64vRobustANGLEContextANGLE)}, {"glGetQueryObjectuiv", P(gl::GetQueryObjectuiv)}, + {"glGetQueryObjectuivContextANGLE", P(gl::GetQueryObjectuivContextANGLE)}, {"glGetQueryObjectuivEXT", P(gl::GetQueryObjectuivEXT)}, + {"glGetQueryObjectuivEXTContextANGLE", P(gl::GetQueryObjectuivEXTContextANGLE)}, {"glGetQueryObjectuivRobustANGLE", P(gl::GetQueryObjectuivRobustANGLE)}, + {"glGetQueryObjectuivRobustANGLEContextANGLE", P(gl::GetQueryObjectuivRobustANGLEContextANGLE)}, {"glGetQueryiv", P(gl::GetQueryiv)}, + {"glGetQueryivContextANGLE", P(gl::GetQueryivContextANGLE)}, {"glGetQueryivEXT", P(gl::GetQueryivEXT)}, + {"glGetQueryivEXTContextANGLE", P(gl::GetQueryivEXTContextANGLE)}, {"glGetQueryivRobustANGLE", P(gl::GetQueryivRobustANGLE)}, + {"glGetQueryivRobustANGLEContextANGLE", P(gl::GetQueryivRobustANGLEContextANGLE)}, {"glGetRenderbufferParameteriv", P(gl::GetRenderbufferParameteriv)}, + {"glGetRenderbufferParameterivContextANGLE", P(gl::GetRenderbufferParameterivContextANGLE)}, {"glGetRenderbufferParameterivRobustANGLE", P(gl::GetRenderbufferParameterivRobustANGLE)}, + {"glGetRenderbufferParameterivRobustANGLEContextANGLE", + P(gl::GetRenderbufferParameterivRobustANGLEContextANGLE)}, {"glGetSamplerParameterIivRobustANGLE", P(gl::GetSamplerParameterIivRobustANGLE)}, + {"glGetSamplerParameterIivRobustANGLEContextANGLE", + P(gl::GetSamplerParameterIivRobustANGLEContextANGLE)}, {"glGetSamplerParameterIuivRobustANGLE", P(gl::GetSamplerParameterIuivRobustANGLE)}, + {"glGetSamplerParameterIuivRobustANGLEContextANGLE", + P(gl::GetSamplerParameterIuivRobustANGLEContextANGLE)}, {"glGetSamplerParameterfv", P(gl::GetSamplerParameterfv)}, + {"glGetSamplerParameterfvContextANGLE", P(gl::GetSamplerParameterfvContextANGLE)}, {"glGetSamplerParameterfvRobustANGLE", P(gl::GetSamplerParameterfvRobustANGLE)}, + {"glGetSamplerParameterfvRobustANGLEContextANGLE", + P(gl::GetSamplerParameterfvRobustANGLEContextANGLE)}, {"glGetSamplerParameteriv", P(gl::GetSamplerParameteriv)}, + {"glGetSamplerParameterivContextANGLE", P(gl::GetSamplerParameterivContextANGLE)}, {"glGetSamplerParameterivRobustANGLE", P(gl::GetSamplerParameterivRobustANGLE)}, + {"glGetSamplerParameterivRobustANGLEContextANGLE", + P(gl::GetSamplerParameterivRobustANGLEContextANGLE)}, {"glGetShaderInfoLog", P(gl::GetShaderInfoLog)}, + {"glGetShaderInfoLogContextANGLE", P(gl::GetShaderInfoLogContextANGLE)}, {"glGetShaderPrecisionFormat", P(gl::GetShaderPrecisionFormat)}, + {"glGetShaderPrecisionFormatContextANGLE", P(gl::GetShaderPrecisionFormatContextANGLE)}, {"glGetShaderSource", P(gl::GetShaderSource)}, + {"glGetShaderSourceContextANGLE", P(gl::GetShaderSourceContextANGLE)}, {"glGetShaderiv", P(gl::GetShaderiv)}, + {"glGetShaderivContextANGLE", P(gl::GetShaderivContextANGLE)}, {"glGetShaderivRobustANGLE", P(gl::GetShaderivRobustANGLE)}, + {"glGetShaderivRobustANGLEContextANGLE", P(gl::GetShaderivRobustANGLEContextANGLE)}, {"glGetString", P(gl::GetString)}, + {"glGetStringContextANGLE", P(gl::GetStringContextANGLE)}, {"glGetStringi", P(gl::GetStringi)}, + {"glGetStringiContextANGLE", P(gl::GetStringiContextANGLE)}, {"glGetSynciv", P(gl::GetSynciv)}, + {"glGetSyncivContextANGLE", P(gl::GetSyncivContextANGLE)}, {"glGetTexEnvfv", P(gl::GetTexEnvfv)}, + {"glGetTexEnvfvContextANGLE", P(gl::GetTexEnvfvContextANGLE)}, {"glGetTexEnviv", P(gl::GetTexEnviv)}, + {"glGetTexEnvivContextANGLE", P(gl::GetTexEnvivContextANGLE)}, {"glGetTexEnvxv", P(gl::GetTexEnvxv)}, + {"glGetTexEnvxvContextANGLE", P(gl::GetTexEnvxvContextANGLE)}, {"glGetTexLevelParameterfv", P(gl::GetTexLevelParameterfv)}, + {"glGetTexLevelParameterfvContextANGLE", P(gl::GetTexLevelParameterfvContextANGLE)}, {"glGetTexLevelParameterfvRobustANGLE", P(gl::GetTexLevelParameterfvRobustANGLE)}, + {"glGetTexLevelParameterfvRobustANGLEContextANGLE", + P(gl::GetTexLevelParameterfvRobustANGLEContextANGLE)}, {"glGetTexLevelParameteriv", P(gl::GetTexLevelParameteriv)}, + {"glGetTexLevelParameterivContextANGLE", P(gl::GetTexLevelParameterivContextANGLE)}, {"glGetTexLevelParameterivRobustANGLE", P(gl::GetTexLevelParameterivRobustANGLE)}, + {"glGetTexLevelParameterivRobustANGLEContextANGLE", + P(gl::GetTexLevelParameterivRobustANGLEContextANGLE)}, {"glGetTexParameterIivRobustANGLE", P(gl::GetTexParameterIivRobustANGLE)}, + {"glGetTexParameterIivRobustANGLEContextANGLE", + P(gl::GetTexParameterIivRobustANGLEContextANGLE)}, {"glGetTexParameterIuivRobustANGLE", P(gl::GetTexParameterIuivRobustANGLE)}, + {"glGetTexParameterIuivRobustANGLEContextANGLE", + P(gl::GetTexParameterIuivRobustANGLEContextANGLE)}, {"glGetTexParameterfv", P(gl::GetTexParameterfv)}, + {"glGetTexParameterfvContextANGLE", P(gl::GetTexParameterfvContextANGLE)}, {"glGetTexParameterfvRobustANGLE", P(gl::GetTexParameterfvRobustANGLE)}, + {"glGetTexParameterfvRobustANGLEContextANGLE", P(gl::GetTexParameterfvRobustANGLEContextANGLE)}, {"glGetTexParameteriv", P(gl::GetTexParameteriv)}, + {"glGetTexParameterivContextANGLE", P(gl::GetTexParameterivContextANGLE)}, {"glGetTexParameterivRobustANGLE", P(gl::GetTexParameterivRobustANGLE)}, + {"glGetTexParameterivRobustANGLEContextANGLE", P(gl::GetTexParameterivRobustANGLEContextANGLE)}, {"glGetTexParameterxv", P(gl::GetTexParameterxv)}, + {"glGetTexParameterxvContextANGLE", P(gl::GetTexParameterxvContextANGLE)}, {"glGetTransformFeedbackVarying", P(gl::GetTransformFeedbackVarying)}, + {"glGetTransformFeedbackVaryingContextANGLE", P(gl::GetTransformFeedbackVaryingContextANGLE)}, {"glGetTranslatedShaderSourceANGLE", P(gl::GetTranslatedShaderSourceANGLE)}, + {"glGetTranslatedShaderSourceANGLEContextANGLE", + P(gl::GetTranslatedShaderSourceANGLEContextANGLE)}, {"glGetUniformBlockIndex", P(gl::GetUniformBlockIndex)}, + {"glGetUniformBlockIndexContextANGLE", P(gl::GetUniformBlockIndexContextANGLE)}, {"glGetUniformIndices", P(gl::GetUniformIndices)}, + {"glGetUniformIndicesContextANGLE", P(gl::GetUniformIndicesContextANGLE)}, {"glGetUniformLocation", P(gl::GetUniformLocation)}, + {"glGetUniformLocationContextANGLE", P(gl::GetUniformLocationContextANGLE)}, {"glGetUniformfv", P(gl::GetUniformfv)}, + {"glGetUniformfvContextANGLE", P(gl::GetUniformfvContextANGLE)}, {"glGetUniformfvRobustANGLE", P(gl::GetUniformfvRobustANGLE)}, + {"glGetUniformfvRobustANGLEContextANGLE", P(gl::GetUniformfvRobustANGLEContextANGLE)}, {"glGetUniformiv", P(gl::GetUniformiv)}, + {"glGetUniformivContextANGLE", P(gl::GetUniformivContextANGLE)}, {"glGetUniformivRobustANGLE", P(gl::GetUniformivRobustANGLE)}, + {"glGetUniformivRobustANGLEContextANGLE", P(gl::GetUniformivRobustANGLEContextANGLE)}, {"glGetUniformuiv", P(gl::GetUniformuiv)}, + {"glGetUniformuivContextANGLE", P(gl::GetUniformuivContextANGLE)}, {"glGetUniformuivRobustANGLE", P(gl::GetUniformuivRobustANGLE)}, + {"glGetUniformuivRobustANGLEContextANGLE", P(gl::GetUniformuivRobustANGLEContextANGLE)}, {"glGetVertexAttribIiv", P(gl::GetVertexAttribIiv)}, + {"glGetVertexAttribIivContextANGLE", P(gl::GetVertexAttribIivContextANGLE)}, {"glGetVertexAttribIivRobustANGLE", P(gl::GetVertexAttribIivRobustANGLE)}, + {"glGetVertexAttribIivRobustANGLEContextANGLE", + P(gl::GetVertexAttribIivRobustANGLEContextANGLE)}, {"glGetVertexAttribIuiv", P(gl::GetVertexAttribIuiv)}, + {"glGetVertexAttribIuivContextANGLE", P(gl::GetVertexAttribIuivContextANGLE)}, {"glGetVertexAttribIuivRobustANGLE", P(gl::GetVertexAttribIuivRobustANGLE)}, + {"glGetVertexAttribIuivRobustANGLEContextANGLE", + P(gl::GetVertexAttribIuivRobustANGLEContextANGLE)}, {"glGetVertexAttribPointerv", P(gl::GetVertexAttribPointerv)}, + {"glGetVertexAttribPointervContextANGLE", P(gl::GetVertexAttribPointervContextANGLE)}, {"glGetVertexAttribPointervRobustANGLE", P(gl::GetVertexAttribPointervRobustANGLE)}, + {"glGetVertexAttribPointervRobustANGLEContextANGLE", + P(gl::GetVertexAttribPointervRobustANGLEContextANGLE)}, {"glGetVertexAttribfv", P(gl::GetVertexAttribfv)}, + {"glGetVertexAttribfvContextANGLE", P(gl::GetVertexAttribfvContextANGLE)}, {"glGetVertexAttribfvRobustANGLE", P(gl::GetVertexAttribfvRobustANGLE)}, + {"glGetVertexAttribfvRobustANGLEContextANGLE", P(gl::GetVertexAttribfvRobustANGLEContextANGLE)}, {"glGetVertexAttribiv", P(gl::GetVertexAttribiv)}, + {"glGetVertexAttribivContextANGLE", P(gl::GetVertexAttribivContextANGLE)}, {"glGetVertexAttribivRobustANGLE", P(gl::GetVertexAttribivRobustANGLE)}, + {"glGetVertexAttribivRobustANGLEContextANGLE", P(gl::GetVertexAttribivRobustANGLEContextANGLE)}, {"glGetnUniformfvEXT", P(gl::GetnUniformfvEXT)}, + {"glGetnUniformfvEXTContextANGLE", P(gl::GetnUniformfvEXTContextANGLE)}, {"glGetnUniformfvRobustANGLE", P(gl::GetnUniformfvRobustANGLE)}, + {"glGetnUniformfvRobustANGLEContextANGLE", P(gl::GetnUniformfvRobustANGLEContextANGLE)}, {"glGetnUniformivEXT", P(gl::GetnUniformivEXT)}, + {"glGetnUniformivEXTContextANGLE", P(gl::GetnUniformivEXTContextANGLE)}, {"glGetnUniformivRobustANGLE", P(gl::GetnUniformivRobustANGLE)}, + {"glGetnUniformivRobustANGLEContextANGLE", P(gl::GetnUniformivRobustANGLEContextANGLE)}, {"glGetnUniformuivRobustANGLE", P(gl::GetnUniformuivRobustANGLE)}, + {"glGetnUniformuivRobustANGLEContextANGLE", P(gl::GetnUniformuivRobustANGLEContextANGLE)}, {"glHint", P(gl::Hint)}, + {"glHintContextANGLE", P(gl::HintContextANGLE)}, {"glInsertEventMarkerEXT", P(gl::InsertEventMarkerEXT)}, + {"glInsertEventMarkerEXTContextANGLE", P(gl::InsertEventMarkerEXTContextANGLE)}, {"glInvalidateFramebuffer", P(gl::InvalidateFramebuffer)}, + {"glInvalidateFramebufferContextANGLE", P(gl::InvalidateFramebufferContextANGLE)}, {"glInvalidateSubFramebuffer", P(gl::InvalidateSubFramebuffer)}, + {"glInvalidateSubFramebufferContextANGLE", P(gl::InvalidateSubFramebufferContextANGLE)}, {"glIsBuffer", P(gl::IsBuffer)}, + {"glIsBufferContextANGLE", P(gl::IsBufferContextANGLE)}, {"glIsEnabled", P(gl::IsEnabled)}, + {"glIsEnabledContextANGLE", P(gl::IsEnabledContextANGLE)}, {"glIsFenceNV", P(gl::IsFenceNV)}, + {"glIsFenceNVContextANGLE", P(gl::IsFenceNVContextANGLE)}, {"glIsFramebuffer", P(gl::IsFramebuffer)}, + {"glIsFramebufferContextANGLE", P(gl::IsFramebufferContextANGLE)}, {"glIsProgram", P(gl::IsProgram)}, + {"glIsProgramContextANGLE", P(gl::IsProgramContextANGLE)}, {"glIsProgramPipeline", P(gl::IsProgramPipeline)}, + {"glIsProgramPipelineContextANGLE", P(gl::IsProgramPipelineContextANGLE)}, {"glIsQuery", P(gl::IsQuery)}, + {"glIsQueryContextANGLE", P(gl::IsQueryContextANGLE)}, {"glIsQueryEXT", P(gl::IsQueryEXT)}, + {"glIsQueryEXTContextANGLE", P(gl::IsQueryEXTContextANGLE)}, {"glIsRenderbuffer", P(gl::IsRenderbuffer)}, + {"glIsRenderbufferContextANGLE", P(gl::IsRenderbufferContextANGLE)}, {"glIsSampler", P(gl::IsSampler)}, + {"glIsSamplerContextANGLE", P(gl::IsSamplerContextANGLE)}, {"glIsShader", P(gl::IsShader)}, + {"glIsShaderContextANGLE", P(gl::IsShaderContextANGLE)}, {"glIsSync", P(gl::IsSync)}, + {"glIsSyncContextANGLE", P(gl::IsSyncContextANGLE)}, {"glIsTexture", P(gl::IsTexture)}, + {"glIsTextureContextANGLE", P(gl::IsTextureContextANGLE)}, {"glIsTransformFeedback", P(gl::IsTransformFeedback)}, + {"glIsTransformFeedbackContextANGLE", P(gl::IsTransformFeedbackContextANGLE)}, {"glIsVertexArray", P(gl::IsVertexArray)}, + {"glIsVertexArrayContextANGLE", P(gl::IsVertexArrayContextANGLE)}, {"glIsVertexArrayOES", P(gl::IsVertexArrayOES)}, + {"glIsVertexArrayOESContextANGLE", P(gl::IsVertexArrayOESContextANGLE)}, {"glLightModelf", P(gl::LightModelf)}, + {"glLightModelfContextANGLE", P(gl::LightModelfContextANGLE)}, {"glLightModelfv", P(gl::LightModelfv)}, + {"glLightModelfvContextANGLE", P(gl::LightModelfvContextANGLE)}, {"glLightModelx", P(gl::LightModelx)}, + {"glLightModelxContextANGLE", P(gl::LightModelxContextANGLE)}, {"glLightModelxv", P(gl::LightModelxv)}, + {"glLightModelxvContextANGLE", P(gl::LightModelxvContextANGLE)}, {"glLightf", P(gl::Lightf)}, + {"glLightfContextANGLE", P(gl::LightfContextANGLE)}, {"glLightfv", P(gl::Lightfv)}, + {"glLightfvContextANGLE", P(gl::LightfvContextANGLE)}, {"glLightx", P(gl::Lightx)}, + {"glLightxContextANGLE", P(gl::LightxContextANGLE)}, {"glLightxv", P(gl::Lightxv)}, + {"glLightxvContextANGLE", P(gl::LightxvContextANGLE)}, {"glLineWidth", P(gl::LineWidth)}, + {"glLineWidthContextANGLE", P(gl::LineWidthContextANGLE)}, {"glLineWidthx", P(gl::LineWidthx)}, + {"glLineWidthxContextANGLE", P(gl::LineWidthxContextANGLE)}, {"glLinkProgram", P(gl::LinkProgram)}, + {"glLinkProgramContextANGLE", P(gl::LinkProgramContextANGLE)}, {"glLoadIdentity", P(gl::LoadIdentity)}, + {"glLoadIdentityContextANGLE", P(gl::LoadIdentityContextANGLE)}, {"glLoadMatrixf", P(gl::LoadMatrixf)}, + {"glLoadMatrixfContextANGLE", P(gl::LoadMatrixfContextANGLE)}, {"glLoadMatrixx", P(gl::LoadMatrixx)}, + {"glLoadMatrixxContextANGLE", P(gl::LoadMatrixxContextANGLE)}, {"glLoadPaletteFromModelViewMatrixOES", P(gl::LoadPaletteFromModelViewMatrixOES)}, + {"glLoadPaletteFromModelViewMatrixOESContextANGLE", + P(gl::LoadPaletteFromModelViewMatrixOESContextANGLE)}, {"glLogicOp", P(gl::LogicOp)}, + {"glLogicOpContextANGLE", P(gl::LogicOpContextANGLE)}, {"glMapBufferOES", P(gl::MapBufferOES)}, + {"glMapBufferOESContextANGLE", P(gl::MapBufferOESContextANGLE)}, {"glMapBufferRange", P(gl::MapBufferRange)}, + {"glMapBufferRangeContextANGLE", P(gl::MapBufferRangeContextANGLE)}, {"glMapBufferRangeEXT", P(gl::MapBufferRangeEXT)}, + {"glMapBufferRangeEXTContextANGLE", P(gl::MapBufferRangeEXTContextANGLE)}, {"glMaterialf", P(gl::Materialf)}, + {"glMaterialfContextANGLE", P(gl::MaterialfContextANGLE)}, {"glMaterialfv", P(gl::Materialfv)}, + {"glMaterialfvContextANGLE", P(gl::MaterialfvContextANGLE)}, {"glMaterialx", P(gl::Materialx)}, + {"glMaterialxContextANGLE", P(gl::MaterialxContextANGLE)}, {"glMaterialxv", P(gl::Materialxv)}, + {"glMaterialxvContextANGLE", P(gl::MaterialxvContextANGLE)}, {"glMatrixIndexPointerOES", P(gl::MatrixIndexPointerOES)}, + {"glMatrixIndexPointerOESContextANGLE", P(gl::MatrixIndexPointerOESContextANGLE)}, {"glMatrixMode", P(gl::MatrixMode)}, + {"glMatrixModeContextANGLE", P(gl::MatrixModeContextANGLE)}, {"glMemoryBarrier", P(gl::MemoryBarrier)}, {"glMemoryBarrierByRegion", P(gl::MemoryBarrierByRegion)}, + {"glMemoryBarrierByRegionContextANGLE", P(gl::MemoryBarrierByRegionContextANGLE)}, + {"glMemoryBarrierContextANGLE", P(gl::MemoryBarrierContextANGLE)}, {"glMultMatrixf", P(gl::MultMatrixf)}, + {"glMultMatrixfContextANGLE", P(gl::MultMatrixfContextANGLE)}, {"glMultMatrixx", P(gl::MultMatrixx)}, + {"glMultMatrixxContextANGLE", P(gl::MultMatrixxContextANGLE)}, {"glMultiTexCoord4f", P(gl::MultiTexCoord4f)}, + {"glMultiTexCoord4fContextANGLE", P(gl::MultiTexCoord4fContextANGLE)}, {"glMultiTexCoord4x", P(gl::MultiTexCoord4x)}, + {"glMultiTexCoord4xContextANGLE", P(gl::MultiTexCoord4xContextANGLE)}, {"glNormal3f", P(gl::Normal3f)}, + {"glNormal3fContextANGLE", P(gl::Normal3fContextANGLE)}, {"glNormal3x", P(gl::Normal3x)}, + {"glNormal3xContextANGLE", P(gl::Normal3xContextANGLE)}, {"glNormalPointer", P(gl::NormalPointer)}, + {"glNormalPointerContextANGLE", P(gl::NormalPointerContextANGLE)}, {"glObjectLabelKHR", P(gl::ObjectLabelKHR)}, + {"glObjectLabelKHRContextANGLE", P(gl::ObjectLabelKHRContextANGLE)}, {"glObjectPtrLabelKHR", P(gl::ObjectPtrLabelKHR)}, + {"glObjectPtrLabelKHRContextANGLE", P(gl::ObjectPtrLabelKHRContextANGLE)}, {"glOrthof", P(gl::Orthof)}, + {"glOrthofContextANGLE", P(gl::OrthofContextANGLE)}, {"glOrthox", P(gl::Orthox)}, + {"glOrthoxContextANGLE", P(gl::OrthoxContextANGLE)}, {"glPauseTransformFeedback", P(gl::PauseTransformFeedback)}, + {"glPauseTransformFeedbackContextANGLE", P(gl::PauseTransformFeedbackContextANGLE)}, {"glPixelStorei", P(gl::PixelStorei)}, + {"glPixelStoreiContextANGLE", P(gl::PixelStoreiContextANGLE)}, {"glPointParameterf", P(gl::PointParameterf)}, + {"glPointParameterfContextANGLE", P(gl::PointParameterfContextANGLE)}, {"glPointParameterfv", P(gl::PointParameterfv)}, + {"glPointParameterfvContextANGLE", P(gl::PointParameterfvContextANGLE)}, {"glPointParameterx", P(gl::PointParameterx)}, + {"glPointParameterxContextANGLE", P(gl::PointParameterxContextANGLE)}, {"glPointParameterxv", P(gl::PointParameterxv)}, + {"glPointParameterxvContextANGLE", P(gl::PointParameterxvContextANGLE)}, {"glPointSize", P(gl::PointSize)}, + {"glPointSizeContextANGLE", P(gl::PointSizeContextANGLE)}, {"glPointSizePointerOES", P(gl::PointSizePointerOES)}, + {"glPointSizePointerOESContextANGLE", P(gl::PointSizePointerOESContextANGLE)}, {"glPointSizex", P(gl::PointSizex)}, + {"glPointSizexContextANGLE", P(gl::PointSizexContextANGLE)}, {"glPolygonOffset", P(gl::PolygonOffset)}, + {"glPolygonOffsetContextANGLE", P(gl::PolygonOffsetContextANGLE)}, {"glPolygonOffsetx", P(gl::PolygonOffsetx)}, + {"glPolygonOffsetxContextANGLE", P(gl::PolygonOffsetxContextANGLE)}, {"glPopDebugGroupKHR", P(gl::PopDebugGroupKHR)}, + {"glPopDebugGroupKHRContextANGLE", P(gl::PopDebugGroupKHRContextANGLE)}, {"glPopGroupMarkerEXT", P(gl::PopGroupMarkerEXT)}, + {"glPopGroupMarkerEXTContextANGLE", P(gl::PopGroupMarkerEXTContextANGLE)}, {"glPopMatrix", P(gl::PopMatrix)}, + {"glPopMatrixContextANGLE", P(gl::PopMatrixContextANGLE)}, {"glProgramBinary", P(gl::ProgramBinary)}, + {"glProgramBinaryContextANGLE", P(gl::ProgramBinaryContextANGLE)}, {"glProgramBinaryOES", P(gl::ProgramBinaryOES)}, + {"glProgramBinaryOESContextANGLE", P(gl::ProgramBinaryOESContextANGLE)}, {"glProgramParameteri", P(gl::ProgramParameteri)}, + {"glProgramParameteriContextANGLE", P(gl::ProgramParameteriContextANGLE)}, {"glProgramUniform1f", P(gl::ProgramUniform1f)}, + {"glProgramUniform1fContextANGLE", P(gl::ProgramUniform1fContextANGLE)}, {"glProgramUniform1fv", P(gl::ProgramUniform1fv)}, + {"glProgramUniform1fvContextANGLE", P(gl::ProgramUniform1fvContextANGLE)}, {"glProgramUniform1i", P(gl::ProgramUniform1i)}, + {"glProgramUniform1iContextANGLE", P(gl::ProgramUniform1iContextANGLE)}, {"glProgramUniform1iv", P(gl::ProgramUniform1iv)}, + {"glProgramUniform1ivContextANGLE", P(gl::ProgramUniform1ivContextANGLE)}, {"glProgramUniform1ui", P(gl::ProgramUniform1ui)}, + {"glProgramUniform1uiContextANGLE", P(gl::ProgramUniform1uiContextANGLE)}, {"glProgramUniform1uiv", P(gl::ProgramUniform1uiv)}, + {"glProgramUniform1uivContextANGLE", P(gl::ProgramUniform1uivContextANGLE)}, {"glProgramUniform2f", P(gl::ProgramUniform2f)}, + {"glProgramUniform2fContextANGLE", P(gl::ProgramUniform2fContextANGLE)}, {"glProgramUniform2fv", P(gl::ProgramUniform2fv)}, + {"glProgramUniform2fvContextANGLE", P(gl::ProgramUniform2fvContextANGLE)}, {"glProgramUniform2i", P(gl::ProgramUniform2i)}, + {"glProgramUniform2iContextANGLE", P(gl::ProgramUniform2iContextANGLE)}, {"glProgramUniform2iv", P(gl::ProgramUniform2iv)}, + {"glProgramUniform2ivContextANGLE", P(gl::ProgramUniform2ivContextANGLE)}, {"glProgramUniform2ui", P(gl::ProgramUniform2ui)}, + {"glProgramUniform2uiContextANGLE", P(gl::ProgramUniform2uiContextANGLE)}, {"glProgramUniform2uiv", P(gl::ProgramUniform2uiv)}, + {"glProgramUniform2uivContextANGLE", P(gl::ProgramUniform2uivContextANGLE)}, {"glProgramUniform3f", P(gl::ProgramUniform3f)}, + {"glProgramUniform3fContextANGLE", P(gl::ProgramUniform3fContextANGLE)}, {"glProgramUniform3fv", P(gl::ProgramUniform3fv)}, + {"glProgramUniform3fvContextANGLE", P(gl::ProgramUniform3fvContextANGLE)}, {"glProgramUniform3i", P(gl::ProgramUniform3i)}, + {"glProgramUniform3iContextANGLE", P(gl::ProgramUniform3iContextANGLE)}, {"glProgramUniform3iv", P(gl::ProgramUniform3iv)}, + {"glProgramUniform3ivContextANGLE", P(gl::ProgramUniform3ivContextANGLE)}, {"glProgramUniform3ui", P(gl::ProgramUniform3ui)}, + {"glProgramUniform3uiContextANGLE", P(gl::ProgramUniform3uiContextANGLE)}, {"glProgramUniform3uiv", P(gl::ProgramUniform3uiv)}, + {"glProgramUniform3uivContextANGLE", P(gl::ProgramUniform3uivContextANGLE)}, {"glProgramUniform4f", P(gl::ProgramUniform4f)}, + {"glProgramUniform4fContextANGLE", P(gl::ProgramUniform4fContextANGLE)}, {"glProgramUniform4fv", P(gl::ProgramUniform4fv)}, + {"glProgramUniform4fvContextANGLE", P(gl::ProgramUniform4fvContextANGLE)}, {"glProgramUniform4i", P(gl::ProgramUniform4i)}, + {"glProgramUniform4iContextANGLE", P(gl::ProgramUniform4iContextANGLE)}, {"glProgramUniform4iv", P(gl::ProgramUniform4iv)}, + {"glProgramUniform4ivContextANGLE", P(gl::ProgramUniform4ivContextANGLE)}, {"glProgramUniform4ui", P(gl::ProgramUniform4ui)}, + {"glProgramUniform4uiContextANGLE", P(gl::ProgramUniform4uiContextANGLE)}, {"glProgramUniform4uiv", P(gl::ProgramUniform4uiv)}, + {"glProgramUniform4uivContextANGLE", P(gl::ProgramUniform4uivContextANGLE)}, {"glProgramUniformMatrix2fv", P(gl::ProgramUniformMatrix2fv)}, + {"glProgramUniformMatrix2fvContextANGLE", P(gl::ProgramUniformMatrix2fvContextANGLE)}, {"glProgramUniformMatrix2x3fv", P(gl::ProgramUniformMatrix2x3fv)}, + {"glProgramUniformMatrix2x3fvContextANGLE", P(gl::ProgramUniformMatrix2x3fvContextANGLE)}, {"glProgramUniformMatrix2x4fv", P(gl::ProgramUniformMatrix2x4fv)}, + {"glProgramUniformMatrix2x4fvContextANGLE", P(gl::ProgramUniformMatrix2x4fvContextANGLE)}, {"glProgramUniformMatrix3fv", P(gl::ProgramUniformMatrix3fv)}, + {"glProgramUniformMatrix3fvContextANGLE", P(gl::ProgramUniformMatrix3fvContextANGLE)}, {"glProgramUniformMatrix3x2fv", P(gl::ProgramUniformMatrix3x2fv)}, + {"glProgramUniformMatrix3x2fvContextANGLE", P(gl::ProgramUniformMatrix3x2fvContextANGLE)}, {"glProgramUniformMatrix3x4fv", P(gl::ProgramUniformMatrix3x4fv)}, + {"glProgramUniformMatrix3x4fvContextANGLE", P(gl::ProgramUniformMatrix3x4fvContextANGLE)}, {"glProgramUniformMatrix4fv", P(gl::ProgramUniformMatrix4fv)}, + {"glProgramUniformMatrix4fvContextANGLE", P(gl::ProgramUniformMatrix4fvContextANGLE)}, {"glProgramUniformMatrix4x2fv", P(gl::ProgramUniformMatrix4x2fv)}, + {"glProgramUniformMatrix4x2fvContextANGLE", P(gl::ProgramUniformMatrix4x2fvContextANGLE)}, {"glProgramUniformMatrix4x3fv", P(gl::ProgramUniformMatrix4x3fv)}, + {"glProgramUniformMatrix4x3fvContextANGLE", P(gl::ProgramUniformMatrix4x3fvContextANGLE)}, {"glPushDebugGroupKHR", P(gl::PushDebugGroupKHR)}, + {"glPushDebugGroupKHRContextANGLE", P(gl::PushDebugGroupKHRContextANGLE)}, {"glPushGroupMarkerEXT", P(gl::PushGroupMarkerEXT)}, + {"glPushGroupMarkerEXTContextANGLE", P(gl::PushGroupMarkerEXTContextANGLE)}, {"glPushMatrix", P(gl::PushMatrix)}, + {"glPushMatrixContextANGLE", P(gl::PushMatrixContextANGLE)}, {"glQueryCounterEXT", P(gl::QueryCounterEXT)}, + {"glQueryCounterEXTContextANGLE", P(gl::QueryCounterEXTContextANGLE)}, {"glQueryMatrixxOES", P(gl::QueryMatrixxOES)}, + {"glQueryMatrixxOESContextANGLE", P(gl::QueryMatrixxOESContextANGLE)}, {"glReadBuffer", P(gl::ReadBuffer)}, + {"glReadBufferContextANGLE", P(gl::ReadBufferContextANGLE)}, {"glReadPixels", P(gl::ReadPixels)}, + {"glReadPixelsContextANGLE", P(gl::ReadPixelsContextANGLE)}, {"glReadPixelsRobustANGLE", P(gl::ReadPixelsRobustANGLE)}, + {"glReadPixelsRobustANGLEContextANGLE", P(gl::ReadPixelsRobustANGLEContextANGLE)}, {"glReadnPixelsEXT", P(gl::ReadnPixelsEXT)}, + {"glReadnPixelsEXTContextANGLE", P(gl::ReadnPixelsEXTContextANGLE)}, {"glReadnPixelsRobustANGLE", P(gl::ReadnPixelsRobustANGLE)}, + {"glReadnPixelsRobustANGLEContextANGLE", P(gl::ReadnPixelsRobustANGLEContextANGLE)}, {"glReleaseShaderCompiler", P(gl::ReleaseShaderCompiler)}, + {"glReleaseShaderCompilerContextANGLE", P(gl::ReleaseShaderCompilerContextANGLE)}, {"glRenderbufferStorage", P(gl::RenderbufferStorage)}, + {"glRenderbufferStorageContextANGLE", P(gl::RenderbufferStorageContextANGLE)}, {"glRenderbufferStorageMultisample", P(gl::RenderbufferStorageMultisample)}, {"glRenderbufferStorageMultisampleANGLE", P(gl::RenderbufferStorageMultisampleANGLE)}, + {"glRenderbufferStorageMultisampleANGLEContextANGLE", + P(gl::RenderbufferStorageMultisampleANGLEContextANGLE)}, + {"glRenderbufferStorageMultisampleContextANGLE", + P(gl::RenderbufferStorageMultisampleContextANGLE)}, {"glRequestExtensionANGLE", P(gl::RequestExtensionANGLE)}, + {"glRequestExtensionANGLEContextANGLE", P(gl::RequestExtensionANGLEContextANGLE)}, {"glResumeTransformFeedback", P(gl::ResumeTransformFeedback)}, + {"glResumeTransformFeedbackContextANGLE", P(gl::ResumeTransformFeedbackContextANGLE)}, {"glRotatef", P(gl::Rotatef)}, + {"glRotatefContextANGLE", P(gl::RotatefContextANGLE)}, {"glRotatex", P(gl::Rotatex)}, + {"glRotatexContextANGLE", P(gl::RotatexContextANGLE)}, {"glSampleCoverage", P(gl::SampleCoverage)}, + {"glSampleCoverageContextANGLE", P(gl::SampleCoverageContextANGLE)}, {"glSampleCoveragex", P(gl::SampleCoveragex)}, + {"glSampleCoveragexContextANGLE", P(gl::SampleCoveragexContextANGLE)}, {"glSampleMaski", P(gl::SampleMaski)}, + {"glSampleMaskiContextANGLE", P(gl::SampleMaskiContextANGLE)}, {"glSamplerParameterIivRobustANGLE", P(gl::SamplerParameterIivRobustANGLE)}, + {"glSamplerParameterIivRobustANGLEContextANGLE", + P(gl::SamplerParameterIivRobustANGLEContextANGLE)}, {"glSamplerParameterIuivRobustANGLE", P(gl::SamplerParameterIuivRobustANGLE)}, + {"glSamplerParameterIuivRobustANGLEContextANGLE", + P(gl::SamplerParameterIuivRobustANGLEContextANGLE)}, {"glSamplerParameterf", P(gl::SamplerParameterf)}, + {"glSamplerParameterfContextANGLE", P(gl::SamplerParameterfContextANGLE)}, {"glSamplerParameterfv", P(gl::SamplerParameterfv)}, + {"glSamplerParameterfvContextANGLE", P(gl::SamplerParameterfvContextANGLE)}, {"glSamplerParameterfvRobustANGLE", P(gl::SamplerParameterfvRobustANGLE)}, + {"glSamplerParameterfvRobustANGLEContextANGLE", + P(gl::SamplerParameterfvRobustANGLEContextANGLE)}, {"glSamplerParameteri", P(gl::SamplerParameteri)}, + {"glSamplerParameteriContextANGLE", P(gl::SamplerParameteriContextANGLE)}, {"glSamplerParameteriv", P(gl::SamplerParameteriv)}, + {"glSamplerParameterivContextANGLE", P(gl::SamplerParameterivContextANGLE)}, {"glSamplerParameterivRobustANGLE", P(gl::SamplerParameterivRobustANGLE)}, + {"glSamplerParameterivRobustANGLEContextANGLE", + P(gl::SamplerParameterivRobustANGLEContextANGLE)}, {"glScalef", P(gl::Scalef)}, + {"glScalefContextANGLE", P(gl::ScalefContextANGLE)}, {"glScalex", P(gl::Scalex)}, + {"glScalexContextANGLE", P(gl::ScalexContextANGLE)}, {"glScissor", P(gl::Scissor)}, + {"glScissorContextANGLE", P(gl::ScissorContextANGLE)}, {"glSetFenceNV", P(gl::SetFenceNV)}, + {"glSetFenceNVContextANGLE", P(gl::SetFenceNVContextANGLE)}, {"glShadeModel", P(gl::ShadeModel)}, + {"glShadeModelContextANGLE", P(gl::ShadeModelContextANGLE)}, {"glShaderBinary", P(gl::ShaderBinary)}, + {"glShaderBinaryContextANGLE", P(gl::ShaderBinaryContextANGLE)}, {"glShaderSource", P(gl::ShaderSource)}, + {"glShaderSourceContextANGLE", P(gl::ShaderSourceContextANGLE)}, {"glStencilFunc", P(gl::StencilFunc)}, + {"glStencilFuncContextANGLE", P(gl::StencilFuncContextANGLE)}, {"glStencilFuncSeparate", P(gl::StencilFuncSeparate)}, + {"glStencilFuncSeparateContextANGLE", P(gl::StencilFuncSeparateContextANGLE)}, {"glStencilMask", P(gl::StencilMask)}, + {"glStencilMaskContextANGLE", P(gl::StencilMaskContextANGLE)}, {"glStencilMaskSeparate", P(gl::StencilMaskSeparate)}, + {"glStencilMaskSeparateContextANGLE", P(gl::StencilMaskSeparateContextANGLE)}, {"glStencilOp", P(gl::StencilOp)}, + {"glStencilOpContextANGLE", P(gl::StencilOpContextANGLE)}, {"glStencilOpSeparate", P(gl::StencilOpSeparate)}, + {"glStencilOpSeparateContextANGLE", P(gl::StencilOpSeparateContextANGLE)}, {"glTestFenceNV", P(gl::TestFenceNV)}, + {"glTestFenceNVContextANGLE", P(gl::TestFenceNVContextANGLE)}, {"glTexCoordPointer", P(gl::TexCoordPointer)}, + {"glTexCoordPointerContextANGLE", P(gl::TexCoordPointerContextANGLE)}, {"glTexEnvf", P(gl::TexEnvf)}, + {"glTexEnvfContextANGLE", P(gl::TexEnvfContextANGLE)}, {"glTexEnvfv", P(gl::TexEnvfv)}, + {"glTexEnvfvContextANGLE", P(gl::TexEnvfvContextANGLE)}, {"glTexEnvi", P(gl::TexEnvi)}, + {"glTexEnviContextANGLE", P(gl::TexEnviContextANGLE)}, {"glTexEnviv", P(gl::TexEnviv)}, + {"glTexEnvivContextANGLE", P(gl::TexEnvivContextANGLE)}, {"glTexEnvx", P(gl::TexEnvx)}, + {"glTexEnvxContextANGLE", P(gl::TexEnvxContextANGLE)}, {"glTexEnvxv", P(gl::TexEnvxv)}, + {"glTexEnvxvContextANGLE", P(gl::TexEnvxvContextANGLE)}, {"glTexImage2D", P(gl::TexImage2D)}, + {"glTexImage2DContextANGLE", P(gl::TexImage2DContextANGLE)}, {"glTexImage2DRobustANGLE", P(gl::TexImage2DRobustANGLE)}, + {"glTexImage2DRobustANGLEContextANGLE", P(gl::TexImage2DRobustANGLEContextANGLE)}, {"glTexImage3D", P(gl::TexImage3D)}, + {"glTexImage3DContextANGLE", P(gl::TexImage3DContextANGLE)}, {"glTexImage3DRobustANGLE", P(gl::TexImage3DRobustANGLE)}, + {"glTexImage3DRobustANGLEContextANGLE", P(gl::TexImage3DRobustANGLEContextANGLE)}, {"glTexParameterIivRobustANGLE", P(gl::TexParameterIivRobustANGLE)}, + {"glTexParameterIivRobustANGLEContextANGLE", P(gl::TexParameterIivRobustANGLEContextANGLE)}, {"glTexParameterIuivRobustANGLE", P(gl::TexParameterIuivRobustANGLE)}, + {"glTexParameterIuivRobustANGLEContextANGLE", P(gl::TexParameterIuivRobustANGLEContextANGLE)}, {"glTexParameterf", P(gl::TexParameterf)}, + {"glTexParameterfContextANGLE", P(gl::TexParameterfContextANGLE)}, {"glTexParameterfv", P(gl::TexParameterfv)}, + {"glTexParameterfvContextANGLE", P(gl::TexParameterfvContextANGLE)}, {"glTexParameterfvRobustANGLE", P(gl::TexParameterfvRobustANGLE)}, + {"glTexParameterfvRobustANGLEContextANGLE", P(gl::TexParameterfvRobustANGLEContextANGLE)}, {"glTexParameteri", P(gl::TexParameteri)}, + {"glTexParameteriContextANGLE", P(gl::TexParameteriContextANGLE)}, {"glTexParameteriv", P(gl::TexParameteriv)}, + {"glTexParameterivContextANGLE", P(gl::TexParameterivContextANGLE)}, {"glTexParameterivRobustANGLE", P(gl::TexParameterivRobustANGLE)}, + {"glTexParameterivRobustANGLEContextANGLE", P(gl::TexParameterivRobustANGLEContextANGLE)}, {"glTexParameterx", P(gl::TexParameterx)}, + {"glTexParameterxContextANGLE", P(gl::TexParameterxContextANGLE)}, {"glTexParameterxv", P(gl::TexParameterxv)}, + {"glTexParameterxvContextANGLE", P(gl::TexParameterxvContextANGLE)}, {"glTexStorage2D", P(gl::TexStorage2D)}, + {"glTexStorage2DContextANGLE", P(gl::TexStorage2DContextANGLE)}, {"glTexStorage2DEXT", P(gl::TexStorage2DEXT)}, + {"glTexStorage2DEXTContextANGLE", P(gl::TexStorage2DEXTContextANGLE)}, {"glTexStorage2DMultisample", P(gl::TexStorage2DMultisample)}, + {"glTexStorage2DMultisampleContextANGLE", P(gl::TexStorage2DMultisampleContextANGLE)}, {"glTexStorage3D", P(gl::TexStorage3D)}, + {"glTexStorage3DContextANGLE", P(gl::TexStorage3DContextANGLE)}, {"glTexStorage3DEXT", P(gl::TexStorage3DEXT)}, + {"glTexStorage3DEXTContextANGLE", P(gl::TexStorage3DEXTContextANGLE)}, {"glTexSubImage2D", P(gl::TexSubImage2D)}, + {"glTexSubImage2DContextANGLE", P(gl::TexSubImage2DContextANGLE)}, {"glTexSubImage2DRobustANGLE", P(gl::TexSubImage2DRobustANGLE)}, + {"glTexSubImage2DRobustANGLEContextANGLE", P(gl::TexSubImage2DRobustANGLEContextANGLE)}, {"glTexSubImage3D", P(gl::TexSubImage3D)}, + {"glTexSubImage3DContextANGLE", P(gl::TexSubImage3DContextANGLE)}, {"glTexSubImage3DRobustANGLE", P(gl::TexSubImage3DRobustANGLE)}, + {"glTexSubImage3DRobustANGLEContextANGLE", P(gl::TexSubImage3DRobustANGLEContextANGLE)}, {"glTransformFeedbackVaryings", P(gl::TransformFeedbackVaryings)}, + {"glTransformFeedbackVaryingsContextANGLE", P(gl::TransformFeedbackVaryingsContextANGLE)}, {"glTranslatef", P(gl::Translatef)}, + {"glTranslatefContextANGLE", P(gl::TranslatefContextANGLE)}, {"glTranslatex", P(gl::Translatex)}, + {"glTranslatexContextANGLE", P(gl::TranslatexContextANGLE)}, {"glUniform1f", P(gl::Uniform1f)}, + {"glUniform1fContextANGLE", P(gl::Uniform1fContextANGLE)}, {"glUniform1fv", P(gl::Uniform1fv)}, + {"glUniform1fvContextANGLE", P(gl::Uniform1fvContextANGLE)}, {"glUniform1i", P(gl::Uniform1i)}, + {"glUniform1iContextANGLE", P(gl::Uniform1iContextANGLE)}, {"glUniform1iv", P(gl::Uniform1iv)}, + {"glUniform1ivContextANGLE", P(gl::Uniform1ivContextANGLE)}, {"glUniform1ui", P(gl::Uniform1ui)}, + {"glUniform1uiContextANGLE", P(gl::Uniform1uiContextANGLE)}, {"glUniform1uiv", P(gl::Uniform1uiv)}, + {"glUniform1uivContextANGLE", P(gl::Uniform1uivContextANGLE)}, {"glUniform2f", P(gl::Uniform2f)}, + {"glUniform2fContextANGLE", P(gl::Uniform2fContextANGLE)}, {"glUniform2fv", P(gl::Uniform2fv)}, + {"glUniform2fvContextANGLE", P(gl::Uniform2fvContextANGLE)}, {"glUniform2i", P(gl::Uniform2i)}, + {"glUniform2iContextANGLE", P(gl::Uniform2iContextANGLE)}, {"glUniform2iv", P(gl::Uniform2iv)}, + {"glUniform2ivContextANGLE", P(gl::Uniform2ivContextANGLE)}, {"glUniform2ui", P(gl::Uniform2ui)}, + {"glUniform2uiContextANGLE", P(gl::Uniform2uiContextANGLE)}, {"glUniform2uiv", P(gl::Uniform2uiv)}, + {"glUniform2uivContextANGLE", P(gl::Uniform2uivContextANGLE)}, {"glUniform3f", P(gl::Uniform3f)}, + {"glUniform3fContextANGLE", P(gl::Uniform3fContextANGLE)}, {"glUniform3fv", P(gl::Uniform3fv)}, + {"glUniform3fvContextANGLE", P(gl::Uniform3fvContextANGLE)}, {"glUniform3i", P(gl::Uniform3i)}, + {"glUniform3iContextANGLE", P(gl::Uniform3iContextANGLE)}, {"glUniform3iv", P(gl::Uniform3iv)}, + {"glUniform3ivContextANGLE", P(gl::Uniform3ivContextANGLE)}, {"glUniform3ui", P(gl::Uniform3ui)}, + {"glUniform3uiContextANGLE", P(gl::Uniform3uiContextANGLE)}, {"glUniform3uiv", P(gl::Uniform3uiv)}, + {"glUniform3uivContextANGLE", P(gl::Uniform3uivContextANGLE)}, {"glUniform4f", P(gl::Uniform4f)}, + {"glUniform4fContextANGLE", P(gl::Uniform4fContextANGLE)}, {"glUniform4fv", P(gl::Uniform4fv)}, + {"glUniform4fvContextANGLE", P(gl::Uniform4fvContextANGLE)}, {"glUniform4i", P(gl::Uniform4i)}, + {"glUniform4iContextANGLE", P(gl::Uniform4iContextANGLE)}, {"glUniform4iv", P(gl::Uniform4iv)}, + {"glUniform4ivContextANGLE", P(gl::Uniform4ivContextANGLE)}, {"glUniform4ui", P(gl::Uniform4ui)}, + {"glUniform4uiContextANGLE", P(gl::Uniform4uiContextANGLE)}, {"glUniform4uiv", P(gl::Uniform4uiv)}, + {"glUniform4uivContextANGLE", P(gl::Uniform4uivContextANGLE)}, {"glUniformBlockBinding", P(gl::UniformBlockBinding)}, + {"glUniformBlockBindingContextANGLE", P(gl::UniformBlockBindingContextANGLE)}, {"glUniformMatrix2fv", P(gl::UniformMatrix2fv)}, + {"glUniformMatrix2fvContextANGLE", P(gl::UniformMatrix2fvContextANGLE)}, {"glUniformMatrix2x3fv", P(gl::UniformMatrix2x3fv)}, + {"glUniformMatrix2x3fvContextANGLE", P(gl::UniformMatrix2x3fvContextANGLE)}, {"glUniformMatrix2x4fv", P(gl::UniformMatrix2x4fv)}, + {"glUniformMatrix2x4fvContextANGLE", P(gl::UniformMatrix2x4fvContextANGLE)}, {"glUniformMatrix3fv", P(gl::UniformMatrix3fv)}, + {"glUniformMatrix3fvContextANGLE", P(gl::UniformMatrix3fvContextANGLE)}, {"glUniformMatrix3x2fv", P(gl::UniformMatrix3x2fv)}, + {"glUniformMatrix3x2fvContextANGLE", P(gl::UniformMatrix3x2fvContextANGLE)}, {"glUniformMatrix3x4fv", P(gl::UniformMatrix3x4fv)}, + {"glUniformMatrix3x4fvContextANGLE", P(gl::UniformMatrix3x4fvContextANGLE)}, {"glUniformMatrix4fv", P(gl::UniformMatrix4fv)}, + {"glUniformMatrix4fvContextANGLE", P(gl::UniformMatrix4fvContextANGLE)}, {"glUniformMatrix4x2fv", P(gl::UniformMatrix4x2fv)}, + {"glUniformMatrix4x2fvContextANGLE", P(gl::UniformMatrix4x2fvContextANGLE)}, {"glUniformMatrix4x3fv", P(gl::UniformMatrix4x3fv)}, + {"glUniformMatrix4x3fvContextANGLE", P(gl::UniformMatrix4x3fvContextANGLE)}, {"glUnmapBuffer", P(gl::UnmapBuffer)}, + {"glUnmapBufferContextANGLE", P(gl::UnmapBufferContextANGLE)}, {"glUnmapBufferOES", P(gl::UnmapBufferOES)}, + {"glUnmapBufferOESContextANGLE", P(gl::UnmapBufferOESContextANGLE)}, {"glUseProgram", P(gl::UseProgram)}, + {"glUseProgramContextANGLE", P(gl::UseProgramContextANGLE)}, {"glUseProgramStages", P(gl::UseProgramStages)}, + {"glUseProgramStagesContextANGLE", P(gl::UseProgramStagesContextANGLE)}, {"glValidateProgram", P(gl::ValidateProgram)}, + {"glValidateProgramContextANGLE", P(gl::ValidateProgramContextANGLE)}, {"glValidateProgramPipeline", P(gl::ValidateProgramPipeline)}, + {"glValidateProgramPipelineContextANGLE", P(gl::ValidateProgramPipelineContextANGLE)}, {"glVertexAttrib1f", P(gl::VertexAttrib1f)}, + {"glVertexAttrib1fContextANGLE", P(gl::VertexAttrib1fContextANGLE)}, {"glVertexAttrib1fv", P(gl::VertexAttrib1fv)}, + {"glVertexAttrib1fvContextANGLE", P(gl::VertexAttrib1fvContextANGLE)}, {"glVertexAttrib2f", P(gl::VertexAttrib2f)}, + {"glVertexAttrib2fContextANGLE", P(gl::VertexAttrib2fContextANGLE)}, {"glVertexAttrib2fv", P(gl::VertexAttrib2fv)}, + {"glVertexAttrib2fvContextANGLE", P(gl::VertexAttrib2fvContextANGLE)}, {"glVertexAttrib3f", P(gl::VertexAttrib3f)}, + {"glVertexAttrib3fContextANGLE", P(gl::VertexAttrib3fContextANGLE)}, {"glVertexAttrib3fv", P(gl::VertexAttrib3fv)}, + {"glVertexAttrib3fvContextANGLE", P(gl::VertexAttrib3fvContextANGLE)}, {"glVertexAttrib4f", P(gl::VertexAttrib4f)}, + {"glVertexAttrib4fContextANGLE", P(gl::VertexAttrib4fContextANGLE)}, {"glVertexAttrib4fv", P(gl::VertexAttrib4fv)}, + {"glVertexAttrib4fvContextANGLE", P(gl::VertexAttrib4fvContextANGLE)}, {"glVertexAttribBinding", P(gl::VertexAttribBinding)}, + {"glVertexAttribBindingContextANGLE", P(gl::VertexAttribBindingContextANGLE)}, {"glVertexAttribDivisor", P(gl::VertexAttribDivisor)}, {"glVertexAttribDivisorANGLE", P(gl::VertexAttribDivisorANGLE)}, + {"glVertexAttribDivisorANGLEContextANGLE", P(gl::VertexAttribDivisorANGLEContextANGLE)}, + {"glVertexAttribDivisorContextANGLE", P(gl::VertexAttribDivisorContextANGLE)}, {"glVertexAttribFormat", P(gl::VertexAttribFormat)}, + {"glVertexAttribFormatContextANGLE", P(gl::VertexAttribFormatContextANGLE)}, {"glVertexAttribI4i", P(gl::VertexAttribI4i)}, + {"glVertexAttribI4iContextANGLE", P(gl::VertexAttribI4iContextANGLE)}, {"glVertexAttribI4iv", P(gl::VertexAttribI4iv)}, + {"glVertexAttribI4ivContextANGLE", P(gl::VertexAttribI4ivContextANGLE)}, {"glVertexAttribI4ui", P(gl::VertexAttribI4ui)}, + {"glVertexAttribI4uiContextANGLE", P(gl::VertexAttribI4uiContextANGLE)}, {"glVertexAttribI4uiv", P(gl::VertexAttribI4uiv)}, + {"glVertexAttribI4uivContextANGLE", P(gl::VertexAttribI4uivContextANGLE)}, {"glVertexAttribIFormat", P(gl::VertexAttribIFormat)}, + {"glVertexAttribIFormatContextANGLE", P(gl::VertexAttribIFormatContextANGLE)}, {"glVertexAttribIPointer", P(gl::VertexAttribIPointer)}, + {"glVertexAttribIPointerContextANGLE", P(gl::VertexAttribIPointerContextANGLE)}, {"glVertexAttribPointer", P(gl::VertexAttribPointer)}, + {"glVertexAttribPointerContextANGLE", P(gl::VertexAttribPointerContextANGLE)}, {"glVertexBindingDivisor", P(gl::VertexBindingDivisor)}, + {"glVertexBindingDivisorContextANGLE", P(gl::VertexBindingDivisorContextANGLE)}, {"glVertexPointer", P(gl::VertexPointer)}, + {"glVertexPointerContextANGLE", P(gl::VertexPointerContextANGLE)}, {"glViewport", P(gl::Viewport)}, + {"glViewportContextANGLE", P(gl::ViewportContextANGLE)}, {"glWaitSync", P(gl::WaitSync)}, - {"glWeightPointerOES", P(gl::WeightPointerOES)}}; + {"glWaitSyncContextANGLE", P(gl::WaitSyncContextANGLE)}, + {"glWeightPointerOES", P(gl::WeightPointerOES)}, + {"glWeightPointerOESContextANGLE", P(gl::WeightPointerOESContextANGLE)}}; -size_t g_numProcs = 617; +size_t g_numProcs = 1161; } // namespace egl diff --git a/src/tests/angle_end2end_tests.gypi b/src/tests/angle_end2end_tests.gypi index 5aba2b169..339708b21 100644 --- a/src/tests/angle_end2end_tests.gypi +++ b/src/tests/angle_end2end_tests.gypi @@ -40,6 +40,7 @@ '<(angle_path)/src/tests/gl_tests/DXT1CompressedTextureTest.cpp', '<(angle_path)/src/tests/gl_tests/DXTSRGBCompressedTextureTest.cpp', '<(angle_path)/src/tests/gl_tests/ETCTextureTest.cpp', + '<(angle_path)/src/tests/gl_tests/ExplicitContextTest.cpp', '<(angle_path)/src/tests/gl_tests/FenceSyncTests.cpp', '<(angle_path)/src/tests/gl_tests/FloatingPointSurfaceTest.cpp', '<(angle_path)/src/tests/gl_tests/FramebufferMixedSamplesTest.cpp', diff --git a/src/tests/gl_tests/ExplicitContextTest.cpp b/src/tests/gl_tests/ExplicitContextTest.cpp new file mode 100644 index 000000000..44c3e0a8b --- /dev/null +++ b/src/tests/gl_tests/ExplicitContextTest.cpp @@ -0,0 +1,96 @@ +// +// Copyright 2018 The ANGLE Project Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. +// + +// ExplicitContextTest.cpp: Tests of the EGL_ANGLE_explicit_context extension + +#include "test_utils/ANGLETest.h" + +#include "test_utils/gl_raii.h" + +namespace angle +{ + +class ExplicitContextTest : public ANGLETest +{ + protected: + ExplicitContextTest() + { + setWindowWidth(256); + setWindowHeight(256); + setConfigRedBits(8); + setConfigGreenBits(8); + setConfigBlueBits(8); + setConfigAlphaBits(8); + } +}; + +// Test to ensure that the basic functionality of the extension works. +TEST_P(ExplicitContextTest, BasicTest) +{ + ANGLE_SKIP_TEST_IF(!extensionEnabled("GL_ANGLE_explicit_context") || + !extensionEnabled("GL_ANGLE_explicit_context_gles1")); + + EGLContext context = getEGLWindow()->getContext(); + + // Clear to green + glClearColorContextANGLE(context, 0.0f, 1.0f, 0.0f, 1.0f); + glClearContextANGLE(context, GL_COLOR_BUFFER_BIT); + + // Check for green + EXPECT_PIXEL_EQ(0, 0, 0, 255, 0, 255); + ASSERT_GL_NO_ERROR(); +} + +// Test to ensure that extension works with eglGetProcAddress +TEST_P(ExplicitContextTest, GetProcAddress) +{ + ANGLE_SKIP_TEST_IF(!extensionEnabled("GL_ANGLE_explicit_context") || + !extensionEnabled("GL_ANGLE_explicit_context_gles1")); + + EGLContext context = getEGLWindow()->getContext(); + + PFNGLCLEARCOLORCONTEXTANGLE clearColor = reinterpret_cast( + eglGetProcAddress("glClearColorContextANGLE")); + PFNGLCLEARCONTEXTANGLE clear = + reinterpret_cast(eglGetProcAddress("glClearContextANGLE")); + + // Clear to green + clearColor(context, 1.0f, 0, 0, 1.0f); + clear(context, GL_COLOR_BUFFER_BIT); + + // Check for green + EXPECT_PIXEL_EQ(0, 0, 255, 0, 0, 255); + EXPECT_GL_NO_ERROR(); +} + +// Test to ensure that a passed context of null results in a no-op +TEST_P(ExplicitContextTest, NullContext) +{ + ANGLE_SKIP_TEST_IF(!extensionEnabled("GL_ANGLE_explicit_context") || + !extensionEnabled("GL_ANGLE_explicit_context_gles1")); + + EGLContext context = getEGLWindow()->getContext(); + + // Set clear color to red + glClearColorContextANGLE(context, 1.0f, 0, 0, 1.0f); + // Clear to red + glClearContextANGLE(context, GL_COLOR_BUFFER_BIT); + + // Set clear color to green + glClearColorContextANGLE(context, 0.0f, 1.0f, 0.0f, 1.0f); + // Call clear with null context, which should perform a silent no-op + glClearContextANGLE(nullptr, GL_COLOR_BUFFER_BIT); + + // Check that the color is red + EXPECT_PIXEL_EQ(0, 0, 255, 0, 0, 255); + EXPECT_GL_NO_ERROR(); +} + +// Use this to select which configurations (e.g. which renderer, which GLES major version) these +// tests should be run against. +ANGLE_INSTANTIATE_TEST(ExplicitContextTest, ES2_D3D9(), ES2_D3D11(), ES2_OPENGL(), ES2_OPENGLES()); + +} // namespace angle