blob: 4151b918c286c8db2c2652f8fe951ced9617d34a [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// This file is auto-generated from
// ui/gl/generate_bindings.py
// It's formatted by clang-format using chromium coding style:
// clang-format -i -style=chromium filename
// DO NOT EDIT!
#ifndef UI_GL_GL_BINDINGS_AUTOGEN_GL_H_
#define UI_GL_GL_BINDINGS_AUTOGEN_GL_H_
#include <string>
namespace gl {
class GLContext;
typedef void(GL_BINDING_CALL* glActiveShaderProgramProc)(GLuint pipeline,
GLuint program);
typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture);
typedef void(GL_BINDING_CALL* glApplyFramebufferAttachmentCMAAINTELProc)(void);
typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program,
GLuint shader);
typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id);
typedef void(GL_BINDING_CALL* glBeginTransformFeedbackProc)(
GLenum primitiveMode);
typedef void(GL_BINDING_CALL* glBindAttribLocationProc)(GLuint program,
GLuint index,
const char* name);
typedef void(GL_BINDING_CALL* glBindBufferProc)(GLenum target, GLuint buffer);
typedef void(GL_BINDING_CALL* glBindBufferBaseProc)(GLenum target,
GLuint index,
GLuint buffer);
typedef void(GL_BINDING_CALL* glBindBufferRangeProc)(GLenum target,
GLuint index,
GLuint buffer,
GLintptr offset,
GLsizeiptr size);
typedef void(GL_BINDING_CALL* glBindFragDataLocationProc)(GLuint program,
GLuint colorNumber,
const char* name);
typedef void(GL_BINDING_CALL* glBindFragDataLocationIndexedProc)(
GLuint program,
GLuint colorNumber,
GLuint index,
const char* name);
typedef void(GL_BINDING_CALL* glBindFragmentInputLocationCHROMIUMProc)(
GLuint program,
GLint location,
const char* name);
typedef void(GL_BINDING_CALL* glBindFramebufferEXTProc)(GLenum target,
GLuint framebuffer);
typedef void(GL_BINDING_CALL* glBindImageTextureEXTProc)(GLuint index,
GLuint texture,
GLint level,
GLboolean layered,
GLint layer,
GLenum access,
GLint format);
typedef void(GL_BINDING_CALL* glBindProgramPipelineProc)(GLuint pipeline);
typedef void(GL_BINDING_CALL* glBindRenderbufferEXTProc)(GLenum target,
GLuint renderbuffer);
typedef void(GL_BINDING_CALL* glBindSamplerProc)(GLuint unit, GLuint sampler);
typedef void(GL_BINDING_CALL* glBindTextureProc)(GLenum target, GLuint texture);
typedef void(GL_BINDING_CALL* glBindTransformFeedbackProc)(GLenum target,
GLuint id);
typedef void(GL_BINDING_CALL* glBindUniformLocationCHROMIUMProc)(
GLuint program,
GLint location,
const char* name);
typedef void(GL_BINDING_CALL* glBindVertexArrayOESProc)(GLuint array);
typedef void(GL_BINDING_CALL* glBindVertexBufferProc)(GLuint bindingindex,
GLuint buffer,
GLintptr offset,
GLsizei stride);
typedef void(GL_BINDING_CALL* glBlendBarrierKHRProc)(void);
typedef void(GL_BINDING_CALL* glBlendColorProc)(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha);
typedef void(GL_BINDING_CALL* glBlendEquationProc)(GLenum mode);
typedef void(GL_BINDING_CALL* glBlendEquationSeparateProc)(GLenum modeRGB,
GLenum modeAlpha);
typedef void(GL_BINDING_CALL* glBlendFuncProc)(GLenum sfactor, GLenum dfactor);
typedef void(GL_BINDING_CALL* glBlendFuncSeparateProc)(GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha);
typedef void(GL_BINDING_CALL* glBlitFramebufferProc)(GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter);
typedef void(GL_BINDING_CALL* glBufferDataProc)(GLenum target,
GLsizeiptr size,
const void* data,
GLenum usage);
typedef void(GL_BINDING_CALL* glBufferSubDataProc)(GLenum target,
GLintptr offset,
GLsizeiptr size,
const void* data);
typedef GLenum(GL_BINDING_CALL* glCheckFramebufferStatusEXTProc)(GLenum target);
typedef void(GL_BINDING_CALL* glClearProc)(GLbitfield mask);
typedef void(GL_BINDING_CALL* glClearBufferfiProc)(GLenum buffer,
GLint drawbuffer,
const GLfloat depth,
GLint stencil);
typedef void(GL_BINDING_CALL* glClearBufferfvProc)(GLenum buffer,
GLint drawbuffer,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glClearBufferivProc)(GLenum buffer,
GLint drawbuffer,
const GLint* value);
typedef void(GL_BINDING_CALL* glClearBufferuivProc)(GLenum buffer,
GLint drawbuffer,
const GLuint* value);
typedef void(GL_BINDING_CALL* glClearColorProc)(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha);
typedef void(GL_BINDING_CALL* glClearDepthProc)(GLclampd depth);
typedef void(GL_BINDING_CALL* glClearDepthfProc)(GLclampf depth);
typedef void(GL_BINDING_CALL* glClearStencilProc)(GLint s);
typedef void(GL_BINDING_CALL* glClearTexImageProc)(GLuint texture,
GLint level,
GLenum format,
GLenum type,
const GLvoid* data);
typedef void(GL_BINDING_CALL* glClearTexSubImageProc)(GLuint texture,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint width,
GLint height,
GLint depth,
GLenum format,
GLenum type,
const GLvoid* data);
typedef GLenum(GL_BINDING_CALL* glClientWaitSyncProc)(GLsync sync,
GLbitfield flags,
GLuint64 timeout);
typedef GLenum(GL_BINDING_CALL* glClientWaitSyncAPPLEProc)(GLsync sync,
GLbitfield flags,
GLuint64 timeout);
typedef void(GL_BINDING_CALL* glColorMaskProc)(GLboolean red,
GLboolean green,
GLboolean blue,
GLboolean alpha);
typedef void(GL_BINDING_CALL* glCompileShaderProc)(GLuint shader);
typedef void(GL_BINDING_CALL* glCompressedTexImage2DProc)(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexImage2DRobustANGLEProc)(
GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexImage3DProc)(GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexImage3DRobustANGLEProc)(
GLenum target,
GLint level,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLsizei imageSize,
GLsizei dataSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexSubImage2DProc)(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexSubImage2DRobustANGLEProc)(
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const void* data);
typedef void(GL_BINDING_CALL* glCompressedTexSubImage3DProc)(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_BINDING_CALL* glCompressedTexSubImage3DRobustANGLEProc)(
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLsizei width,
GLsizei height,
GLsizei depth,
GLenum format,
GLsizei imageSize,
GLsizei dataSize,
const void* data);
typedef void(GL_BINDING_CALL* glCopyBufferSubDataProc)(GLenum readTarget,
GLenum writeTarget,
GLintptr readOffset,
GLintptr writeOffset,
GLsizeiptr size);
typedef void(GL_BINDING_CALL* glCopySubTextureCHROMIUMProc)(
GLuint sourceId,
GLint sourceLevel,
GLenum destTarget,
GLuint destId,
GLint destLevel,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
typedef void(GL_BINDING_CALL* glCopyTexImage2DProc)(GLenum target,
GLint level,
GLenum internalformat,
GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLint border);
typedef void(GL_BINDING_CALL* glCopyTexSubImage2DProc)(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLint zoffset,
GLint x,
GLint y,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glCopyTextureCHROMIUMProc)(
GLuint sourceId,
GLint sourceLevel,
GLenum destTarget,
GLuint destId,
GLint destLevel,
GLint internalFormat,
GLenum destType,
GLboolean unpackFlipY,
GLboolean unpackPremultiplyAlpha,
GLboolean unpackUnmultiplyAlpha);
typedef void(GL_BINDING_CALL* glCoverageModulationNVProc)(GLenum components);
typedef void(GL_BINDING_CALL* glCoverFillPathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glCoverFillPathNVProc)(GLuint path,
GLenum coverMode);
typedef void(GL_BINDING_CALL* glCoverStrokePathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glCoverStrokePathNVProc)(GLuint name,
GLenum coverMode);
typedef void(GL_BINDING_CALL* glCreateMemoryObjectsEXTProc)(
GLsizei n,
GLuint* memoryObjects);
typedef GLuint(GL_BINDING_CALL* glCreateProgramProc)(void);
typedef GLuint(GL_BINDING_CALL* glCreateShaderProc)(GLenum type);
typedef GLuint(GL_BINDING_CALL* glCreateShaderProgramvProc)(
GLenum type,
GLsizei count,
const char* const* strings);
typedef void(GL_BINDING_CALL* glCullFaceProc)(GLenum mode);
typedef void(GL_BINDING_CALL* glDebugMessageCallbackProc)(
GLDEBUGPROC callback,
const void* userParam);
typedef void(GL_BINDING_CALL* glDebugMessageControlProc)(GLenum source,
GLenum type,
GLenum severity,
GLsizei count,
const GLuint* ids,
GLboolean enabled);
typedef void(GL_BINDING_CALL* glDebugMessageInsertProc)(GLenum source,
GLenum type,
GLuint id,
GLenum severity,
GLsizei length,
const char* buf);
typedef void(GL_BINDING_CALL* glDeleteBuffersARBProc)(GLsizei n,
const GLuint* buffers);
typedef void(GL_BINDING_CALL* glDeleteFencesAPPLEProc)(GLsizei n,
const GLuint* fences);
typedef void(GL_BINDING_CALL* glDeleteFencesNVProc)(GLsizei n,
const GLuint* fences);
typedef void(GL_BINDING_CALL* glDeleteFramebuffersEXTProc)(
GLsizei n,
const GLuint* framebuffers);
typedef void(GL_BINDING_CALL* glDeletePathsNVProc)(GLuint path, GLsizei range);
typedef void(GL_BINDING_CALL* glDeleteProgramProc)(GLuint program);
typedef void(GL_BINDING_CALL* glDeleteProgramPipelinesProc)(
GLsizei n,
const GLuint* pipelines);
typedef void(GL_BINDING_CALL* glDeleteQueriesProc)(GLsizei n,
const GLuint* ids);
typedef void(GL_BINDING_CALL* glDeleteRenderbuffersEXTProc)(
GLsizei n,
const GLuint* renderbuffers);
typedef void(GL_BINDING_CALL* glDeleteSamplersProc)(GLsizei n,
const GLuint* samplers);
typedef void(GL_BINDING_CALL* glDeleteSemaphoresEXTProc)(
GLsizei n,
const GLuint* semaphores);
typedef void(GL_BINDING_CALL* glDeleteShaderProc)(GLuint shader);
typedef void(GL_BINDING_CALL* glDeleteSyncProc)(GLsync sync);
typedef void(GL_BINDING_CALL* glDeleteSyncAPPLEProc)(GLsync sync);
typedef void(GL_BINDING_CALL* glDeleteTexturesProc)(GLsizei n,
const GLuint* textures);
typedef void(GL_BINDING_CALL* glDeleteTransformFeedbacksProc)(
GLsizei n,
const GLuint* ids);
typedef void(GL_BINDING_CALL* glDeleteVertexArraysOESProc)(
GLsizei n,
const GLuint* arrays);
typedef void(GL_BINDING_CALL* glDepthFuncProc)(GLenum func);
typedef void(GL_BINDING_CALL* glDepthMaskProc)(GLboolean flag);
typedef void(GL_BINDING_CALL* glDepthRangeProc)(GLclampd zNear, GLclampd zFar);
typedef void(GL_BINDING_CALL* glDepthRangefProc)(GLclampf zNear, GLclampf zFar);
typedef void(GL_BINDING_CALL* glDetachShaderProc)(GLuint program,
GLuint shader);
typedef void(GL_BINDING_CALL* glDisableProc)(GLenum cap);
typedef void(GL_BINDING_CALL* glDisableVertexAttribArrayProc)(GLuint index);
typedef void(GL_BINDING_CALL* glDiscardFramebufferEXTProc)(
GLenum target,
GLsizei numAttachments,
const GLenum* attachments);
typedef void(GL_BINDING_CALL* glDispatchComputeProc)(GLuint numGroupsX,
GLuint numGroupsY,
GLuint numGroupsZ);
typedef void(GL_BINDING_CALL* glDispatchComputeIndirectProc)(GLintptr indirect);
typedef void(GL_BINDING_CALL* glDrawArraysProc)(GLenum mode,
GLint first,
GLsizei count);
typedef void(GL_BINDING_CALL* glDrawArraysIndirectProc)(GLenum mode,
const void* indirect);
typedef void(GL_BINDING_CALL* glDrawArraysInstancedANGLEProc)(
GLenum mode,
GLint first,
GLsizei count,
GLsizei primcount);
typedef void(GL_BINDING_CALL* glDrawBufferProc)(GLenum mode);
typedef void(GL_BINDING_CALL* glDrawBuffersARBProc)(GLsizei n,
const GLenum* bufs);
typedef void(GL_BINDING_CALL* glDrawElementsProc)(GLenum mode,
GLsizei count,
GLenum type,
const void* indices);
typedef void(GL_BINDING_CALL* glDrawElementsIndirectProc)(GLenum mode,
GLenum type,
const void* indirect);
typedef void(GL_BINDING_CALL* glDrawElementsInstancedANGLEProc)(
GLenum mode,
GLsizei count,
GLenum type,
const void* indices,
GLsizei primcount);
typedef void(GL_BINDING_CALL* glDrawRangeElementsProc)(GLenum mode,
GLuint start,
GLuint end,
GLsizei count,
GLenum type,
const void* indices);
typedef void(GL_BINDING_CALL* glEGLImageTargetRenderbufferStorageOESProc)(
GLenum target,
GLeglImageOES image);
typedef void(GL_BINDING_CALL* glEGLImageTargetTexture2DOESProc)(
GLenum target,
GLeglImageOES image);
typedef void(GL_BINDING_CALL* glEnableProc)(GLenum cap);
typedef void(GL_BINDING_CALL* glEnableVertexAttribArrayProc)(GLuint index);
typedef void(GL_BINDING_CALL* glEndQueryProc)(GLenum target);
typedef void(GL_BINDING_CALL* glEndTransformFeedbackProc)(void);
typedef GLsync(GL_BINDING_CALL* glFenceSyncProc)(GLenum condition,
GLbitfield flags);
typedef GLsync(GL_BINDING_CALL* glFenceSyncAPPLEProc)(GLenum condition,
GLbitfield flags);
typedef void(GL_BINDING_CALL* glFinishProc)(void);
typedef void(GL_BINDING_CALL* glFinishFenceAPPLEProc)(GLuint fence);
typedef void(GL_BINDING_CALL* glFinishFenceNVProc)(GLuint fence);
typedef void(GL_BINDING_CALL* glFlushProc)(void);
typedef void(GL_BINDING_CALL* glFlushMappedBufferRangeProc)(GLenum target,
GLintptr offset,
GLsizeiptr length);
typedef void(GL_BINDING_CALL* glFramebufferParameteriProc)(GLenum target,
GLenum pname,
GLint param);
typedef void(GL_BINDING_CALL* glFramebufferRenderbufferEXTProc)(
GLenum target,
GLenum attachment,
GLenum renderbuffertarget,
GLuint renderbuffer);
typedef void(GL_BINDING_CALL* glFramebufferTexture2DEXTProc)(GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level);
typedef void(GL_BINDING_CALL* glFramebufferTexture2DMultisampleEXTProc)(
GLenum target,
GLenum attachment,
GLenum textarget,
GLuint texture,
GLint level,
GLsizei samples);
typedef void(GL_BINDING_CALL* glFramebufferTextureLayerProc)(GLenum target,
GLenum attachment,
GLuint texture,
GLint level,
GLint layer);
typedef void(GL_BINDING_CALL* glFramebufferTextureMultiviewOVRProc)(
GLenum target,
GLenum attachment,
GLuint texture,
GLint level,
GLint baseViewIndex,
GLsizei numViews);
typedef void(GL_BINDING_CALL* glFrontFaceProc)(GLenum mode);
typedef void(GL_BINDING_CALL* glGenBuffersARBProc)(GLsizei n, GLuint* buffers);
typedef void(GL_BINDING_CALL* glGenerateMipmapEXTProc)(GLenum target);
typedef void(GL_BINDING_CALL* glGenFencesAPPLEProc)(GLsizei n, GLuint* fences);
typedef void(GL_BINDING_CALL* glGenFencesNVProc)(GLsizei n, GLuint* fences);
typedef void(GL_BINDING_CALL* glGenFramebuffersEXTProc)(GLsizei n,
GLuint* framebuffers);
typedef GLuint(GL_BINDING_CALL* glGenPathsNVProc)(GLsizei range);
typedef GLuint(GL_BINDING_CALL* glGenProgramPipelinesProc)(GLsizei n,
GLuint* pipelines);
typedef void(GL_BINDING_CALL* glGenQueriesProc)(GLsizei n, GLuint* ids);
typedef void(GL_BINDING_CALL* glGenRenderbuffersEXTProc)(GLsizei n,
GLuint* renderbuffers);
typedef void(GL_BINDING_CALL* glGenSamplersProc)(GLsizei n, GLuint* samplers);
typedef void(GL_BINDING_CALL* glGenSemaphoresEXTProc)(GLsizei n,
GLuint* semaphores);
typedef void(GL_BINDING_CALL* glGenTexturesProc)(GLsizei n, GLuint* textures);
typedef void(GL_BINDING_CALL* glGenTransformFeedbacksProc)(GLsizei n,
GLuint* ids);
typedef void(GL_BINDING_CALL* glGenVertexArraysOESProc)(GLsizei n,
GLuint* arrays);
typedef void(GL_BINDING_CALL* glGetActiveAttribProc)(GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei* length,
GLint* size,
GLenum* type,
char* name);
typedef void(GL_BINDING_CALL* glGetActiveUniformProc)(GLuint program,
GLuint index,
GLsizei bufsize,
GLsizei* length,
GLint* size,
GLenum* type,
char* name);
typedef void(GL_BINDING_CALL* glGetActiveUniformBlockivProc)(
GLuint program,
GLuint uniformBlockIndex,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetActiveUniformBlockivRobustANGLEProc)(
GLuint program,
GLuint uniformBlockIndex,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetActiveUniformBlockNameProc)(
GLuint program,
GLuint uniformBlockIndex,
GLsizei bufSize,
GLsizei* length,
char* uniformBlockName);
typedef void(GL_BINDING_CALL* glGetActiveUniformsivProc)(
GLuint program,
GLsizei uniformCount,
const GLuint* uniformIndices,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetAttachedShadersProc)(GLuint program,
GLsizei maxcount,
GLsizei* count,
GLuint* shaders);
typedef GLint(GL_BINDING_CALL* glGetAttribLocationProc)(GLuint program,
const char* name);
typedef void(GL_BINDING_CALL* glGetBooleani_vProc)(GLenum target,
GLuint index,
GLboolean* data);
typedef void(GL_BINDING_CALL* glGetBooleani_vRobustANGLEProc)(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLboolean* data);
typedef void(GL_BINDING_CALL* glGetBooleanvProc)(GLenum pname,
GLboolean* params);
typedef void(GL_BINDING_CALL* glGetBooleanvRobustANGLEProc)(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLboolean* data);
typedef void(GL_BINDING_CALL* glGetBufferParameteri64vRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* params);
typedef void(GL_BINDING_CALL* glGetBufferParameterivProc)(GLenum target,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetBufferParameterivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetBufferPointervRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** params);
typedef GLuint(GL_BINDING_CALL* glGetDebugMessageLogProc)(GLuint count,
GLsizei bufSize,
GLenum* sources,
GLenum* types,
GLuint* ids,
GLenum* severities,
GLsizei* lengths,
char* messageLog);
typedef GLenum(GL_BINDING_CALL* glGetErrorProc)(void);
typedef void(GL_BINDING_CALL* glGetFenceivNVProc)(GLuint fence,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetFloatvProc)(GLenum pname, GLfloat* params);
typedef void(GL_BINDING_CALL* glGetFloatvRobustANGLEProc)(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* data);
typedef GLint(GL_BINDING_CALL* glGetFragDataIndexProc)(GLuint program,
const char* name);
typedef GLint(GL_BINDING_CALL* glGetFragDataLocationProc)(GLuint program,
const char* name);
typedef void(GL_BINDING_CALL* glGetFramebufferAttachmentParameterivEXTProc)(
GLenum target,
GLenum attachment,
GLenum pname,
GLint* params);
typedef void(
GL_BINDING_CALL* glGetFramebufferAttachmentParameterivRobustANGLEProc)(
GLenum target,
GLenum attachment,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetFramebufferParameterivProc)(GLenum target,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetFramebufferParameterivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef GLenum(GL_BINDING_CALL* glGetGraphicsResetStatusARBProc)(void);
typedef void(GL_BINDING_CALL* glGetInteger64i_vProc)(GLenum target,
GLuint index,
GLint64* data);
typedef void(GL_BINDING_CALL* glGetInteger64i_vRobustANGLEProc)(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLint64* data);
typedef void(GL_BINDING_CALL* glGetInteger64vProc)(GLenum pname,
GLint64* params);
typedef void(GL_BINDING_CALL* glGetInteger64vRobustANGLEProc)(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* data);
typedef void(GL_BINDING_CALL* glGetIntegeri_vProc)(GLenum target,
GLuint index,
GLint* data);
typedef void(GL_BINDING_CALL* glGetIntegeri_vRobustANGLEProc)(GLenum target,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLint* data);
typedef void(GL_BINDING_CALL* glGetIntegervProc)(GLenum pname, GLint* params);
typedef void(GL_BINDING_CALL* glGetIntegervRobustANGLEProc)(GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* data);
typedef void(GL_BINDING_CALL* glGetInternalformativProc)(GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
GLint* params);
typedef void(GL_BINDING_CALL* glGetInternalformativRobustANGLEProc)(
GLenum target,
GLenum internalformat,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetInternalformatSampleivNVProc)(
GLenum target,
GLenum internalformat,
GLsizei samples,
GLenum pname,
GLsizei bufSize,
GLint* params);
typedef void(GL_BINDING_CALL* glGetMultisamplefvProc)(GLenum pname,
GLuint index,
GLfloat* val);
typedef void(GL_BINDING_CALL* glGetMultisamplefvRobustANGLEProc)(
GLenum pname,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLfloat* val);
typedef void(GL_BINDING_CALL* glGetnUniformfvRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetnUniformivRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetnUniformuivRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetObjectLabelProc)(GLenum identifier,
GLuint name,
GLsizei bufSize,
GLsizei* length,
char* label);
typedef void(GL_BINDING_CALL* glGetObjectPtrLabelProc)(void* ptr,
GLsizei bufSize,
GLsizei* length,
char* label);
typedef void(GL_BINDING_CALL* glGetPointervProc)(GLenum pname, void** params);
typedef void(GL_BINDING_CALL* glGetPointervRobustANGLERobustANGLEProc)(
GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** params);
typedef void(GL_BINDING_CALL* glGetProgramBinaryProc)(GLuint program,
GLsizei bufSize,
GLsizei* length,
GLenum* binaryFormat,
GLvoid* binary);
typedef void(GL_BINDING_CALL* glGetProgramInfoLogProc)(GLuint program,
GLsizei bufsize,
GLsizei* length,
char* infolog);
typedef void(GL_BINDING_CALL* glGetProgramInterfaceivProc)(
GLuint program,
GLenum programInterface,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetProgramInterfaceivRobustANGLEProc)(
GLuint program,
GLenum programInterface,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetProgramivProc)(GLuint program,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetProgramivRobustANGLEProc)(GLuint program,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetProgramPipelineInfoLogProc)(GLuint pipeline,
GLsizei bufSize,
GLsizei* length,
GLchar* infoLog);
typedef void(GL_BINDING_CALL* glGetProgramPipelineivProc)(GLuint pipeline,
GLenum pname,
GLint* params);
typedef GLuint(GL_BINDING_CALL* glGetProgramResourceIndexProc)(
GLuint program,
GLenum programInterface,
const GLchar* name);
typedef void(GL_BINDING_CALL* glGetProgramResourceivProc)(
GLuint program,
GLenum programInterface,
GLuint index,
GLsizei propCount,
const GLenum* props,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef GLint(GL_BINDING_CALL* glGetProgramResourceLocationProc)(
GLuint program,
GLenum programInterface,
const char* name);
typedef void(GL_BINDING_CALL* glGetProgramResourceNameProc)(
GLuint program,
GLenum programInterface,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLchar* name);
typedef void(GL_BINDING_CALL* glGetQueryivProc)(GLenum target,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetQueryivRobustANGLEProc)(GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetQueryObjecti64vProc)(GLuint id,
GLenum pname,
GLint64* params);
typedef void(GL_BINDING_CALL* glGetQueryObjecti64vRobustANGLEProc)(
GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint64* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectivProc)(GLuint id,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectivRobustANGLEProc)(
GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectui64vProc)(GLuint id,
GLenum pname,
GLuint64* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectui64vRobustANGLEProc)(
GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint64* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectuivProc)(GLuint id,
GLenum pname,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetQueryObjectuivRobustANGLEProc)(
GLuint id,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetRenderbufferParameterivEXTProc)(
GLenum target,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetRenderbufferParameterivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterfvProc)(GLuint sampler,
GLenum pname,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterfvRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterIivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterIuivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterivProc)(GLuint sampler,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetSamplerParameterivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetShaderInfoLogProc)(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* infolog);
typedef void(GL_BINDING_CALL* glGetShaderivProc)(GLuint shader,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetShaderivRobustANGLEProc)(GLuint shader,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetShaderPrecisionFormatProc)(
GLenum shadertype,
GLenum precisiontype,
GLint* range,
GLint* precision);
typedef void(GL_BINDING_CALL* glGetShaderSourceProc)(GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source);
typedef const GLubyte*(GL_BINDING_CALL* glGetStringProc)(GLenum name);
typedef const GLubyte*(GL_BINDING_CALL* glGetStringiProc)(GLenum name,
GLuint index);
typedef void(GL_BINDING_CALL* glGetSyncivProc)(GLsync sync,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* values);
typedef void(GL_BINDING_CALL* glGetTexLevelParameterfvProc)(GLenum target,
GLint level,
GLenum pname,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetTexLevelParameterfvRobustANGLEProc)(
GLenum target,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetTexLevelParameterivProc)(GLenum target,
GLint level,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetTexLevelParameterivRobustANGLEProc)(
GLenum target,
GLint level,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetTexParameterfvProc)(GLenum target,
GLenum pname,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetTexParameterfvRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetTexParameterIivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetTexParameterIuivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetTexParameterivProc)(GLenum target,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetTexParameterivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetTransformFeedbackVaryingProc)(
GLuint program,
GLuint index,
GLsizei bufSize,
GLsizei* length,
GLsizei* size,
GLenum* type,
char* name);
typedef void(GL_BINDING_CALL* glGetTranslatedShaderSourceANGLEProc)(
GLuint shader,
GLsizei bufsize,
GLsizei* length,
char* source);
typedef GLuint(GL_BINDING_CALL* glGetUniformBlockIndexProc)(
GLuint program,
const char* uniformBlockName);
typedef void(GL_BINDING_CALL* glGetUniformfvProc)(GLuint program,
GLint location,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetUniformfvRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetUniformIndicesProc)(
GLuint program,
GLsizei uniformCount,
const char* const* uniformNames,
GLuint* uniformIndices);
typedef void(GL_BINDING_CALL* glGetUniformivProc)(GLuint program,
GLint location,
GLint* params);
typedef void(GL_BINDING_CALL* glGetUniformivRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef GLint(GL_BINDING_CALL* glGetUniformLocationProc)(GLuint program,
const char* name);
typedef void(GL_BINDING_CALL* glGetUniformuivProc)(GLuint program,
GLint location,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetUniformuivRobustANGLEProc)(GLuint program,
GLint location,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribfvProc)(GLuint index,
GLenum pname,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribfvRobustANGLEProc)(
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLfloat* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribIivRobustANGLEProc)(
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribIuivRobustANGLEProc)(
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLuint* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribivProc)(GLuint index,
GLenum pname,
GLint* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribivRobustANGLEProc)(
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
GLint* params);
typedef void(GL_BINDING_CALL* glGetVertexAttribPointervProc)(GLuint index,
GLenum pname,
void** pointer);
typedef void(GL_BINDING_CALL* glGetVertexAttribPointervRobustANGLEProc)(
GLuint index,
GLenum pname,
GLsizei bufSize,
GLsizei* length,
void** pointer);
typedef void(GL_BINDING_CALL* glHintProc)(GLenum target, GLenum mode);
typedef void(GL_BINDING_CALL* glImportMemoryFdEXTProc)(GLuint memory,
GLuint64 size,
GLenum handleType,
GLint fd);
typedef void(GL_BINDING_CALL* glImportSemaphoreFdEXTProc)(GLuint semaphore,
GLenum handleType,
GLint fd);
typedef void(GL_BINDING_CALL* glInsertEventMarkerEXTProc)(GLsizei length,
const char* marker);
typedef void(GL_BINDING_CALL* glInvalidateFramebufferProc)(
GLenum target,
GLsizei numAttachments,
const GLenum* attachments);
typedef void(GL_BINDING_CALL* glInvalidateSubFramebufferProc)(
GLenum target,
GLsizei numAttachments,
const GLenum* attachments,
GLint x,
GLint y,
GLint width,
GLint height);
typedef void(GL_BINDING_CALL* glInvalidateTextureANGLEProc)(GLenum target);
typedef GLboolean(GL_BINDING_CALL* glIsBufferProc)(GLuint buffer);
typedef GLboolean(GL_BINDING_CALL* glIsEnabledProc)(GLenum cap);
typedef GLboolean(GL_BINDING_CALL* glIsFenceAPPLEProc)(GLuint fence);
typedef GLboolean(GL_BINDING_CALL* glIsFenceNVProc)(GLuint fence);
typedef GLboolean(GL_BINDING_CALL* glIsFramebufferEXTProc)(GLuint framebuffer);
typedef GLboolean(GL_BINDING_CALL* glIsPathNVProc)(GLuint path);
typedef GLboolean(GL_BINDING_CALL* glIsProgramProc)(GLuint program);
typedef GLboolean(GL_BINDING_CALL* glIsProgramPipelineProc)(GLuint pipeline);
typedef GLboolean(GL_BINDING_CALL* glIsQueryProc)(GLuint query);
typedef GLboolean(GL_BINDING_CALL* glIsRenderbufferEXTProc)(
GLuint renderbuffer);
typedef GLboolean(GL_BINDING_CALL* glIsSamplerProc)(GLuint sampler);
typedef GLboolean(GL_BINDING_CALL* glIsShaderProc)(GLuint shader);
typedef GLboolean(GL_BINDING_CALL* glIsSyncProc)(GLsync sync);
typedef GLboolean(GL_BINDING_CALL* glIsSyncAPPLEProc)(GLsync sync);
typedef GLboolean(GL_BINDING_CALL* glIsTextureProc)(GLuint texture);
typedef GLboolean(GL_BINDING_CALL* glIsTransformFeedbackProc)(GLuint id);
typedef GLboolean(GL_BINDING_CALL* glIsVertexArrayOESProc)(GLuint array);
typedef void(GL_BINDING_CALL* glLineWidthProc)(GLfloat width);
typedef void(GL_BINDING_CALL* glLinkProgramProc)(GLuint program);
typedef void*(GL_BINDING_CALL* glMapBufferProc)(GLenum target, GLenum access);
typedef void*(GL_BINDING_CALL* glMapBufferRangeProc)(GLenum target,
GLintptr offset,
GLsizeiptr length,
GLbitfield access);
typedef void(GL_BINDING_CALL* glMatrixLoadfEXTProc)(GLenum matrixMode,
const GLfloat* m);
typedef void(GL_BINDING_CALL* glMatrixLoadIdentityEXTProc)(GLenum matrixMode);
typedef void(GL_BINDING_CALL* glMaxShaderCompilerThreadsKHRProc)(GLuint count);
typedef void(GL_BINDING_CALL* glMemoryBarrierByRegionProc)(GLbitfield barriers);
typedef void(GL_BINDING_CALL* glMemoryBarrierEXTProc)(GLbitfield barriers);
typedef void(GL_BINDING_CALL* glMinSampleShadingProc)(GLfloat value);
typedef void(GL_BINDING_CALL* glMultiDrawArraysANGLEProc)(GLenum mode,
const GLint* firsts,
const GLsizei* counts,
GLsizei drawcount);
typedef void(GL_BINDING_CALL* glMultiDrawArraysInstancedANGLEProc)(
GLenum mode,
const GLint* firsts,
const GLsizei* counts,
const GLsizei* instanceCounts,
GLsizei drawcount);
typedef void(GL_BINDING_CALL* glMultiDrawElementsANGLEProc)(
GLenum mode,
const GLsizei* counts,
GLenum type,
const GLvoid* const* indices,
GLsizei drawcount);
typedef void(GL_BINDING_CALL* glMultiDrawElementsInstancedANGLEProc)(
GLenum mode,
const GLsizei* counts,
GLenum type,
const GLvoid* const* indices,
const GLsizei* instanceCounts,
GLsizei drawcount);
typedef void(GL_BINDING_CALL* glObjectLabelProc)(GLenum identifier,
GLuint name,
GLsizei length,
const char* label);
typedef void(GL_BINDING_CALL* glObjectPtrLabelProc)(void* ptr,
GLsizei length,
const char* label);
typedef void(GL_BINDING_CALL* glPathCommandsNVProc)(GLuint path,
GLsizei numCommands,
const GLubyte* commands,
GLsizei numCoords,
GLenum coordType,
const GLvoid* coords);
typedef void(GL_BINDING_CALL* glPathParameterfNVProc)(GLuint path,
GLenum pname,
GLfloat value);
typedef void(GL_BINDING_CALL* glPathParameteriNVProc)(GLuint path,
GLenum pname,
GLint value);
typedef void(GL_BINDING_CALL* glPathStencilFuncNVProc)(GLenum func,
GLint ref,
GLuint mask);
typedef void(GL_BINDING_CALL* glPauseTransformFeedbackProc)(void);
typedef void(GL_BINDING_CALL* glPixelStoreiProc)(GLenum pname, GLint param);
typedef void(GL_BINDING_CALL* glPointParameteriProc)(GLenum pname, GLint param);
typedef void(GL_BINDING_CALL* glPolygonModeProc)(GLenum face, GLenum mode);
typedef void(GL_BINDING_CALL* glPolygonOffsetProc)(GLfloat factor,
GLfloat units);
typedef void(GL_BINDING_CALL* glPopDebugGroupProc)();
typedef void(GL_BINDING_CALL* glPopGroupMarkerEXTProc)(void);
typedef void(GL_BINDING_CALL* glPrimitiveRestartIndexProc)(GLuint index);
typedef void(GL_BINDING_CALL* glProgramBinaryProc)(GLuint program,
GLenum binaryFormat,
const GLvoid* binary,
GLsizei length);
typedef void(GL_BINDING_CALL* glProgramParameteriProc)(GLuint program,
GLenum pname,
GLint value);
typedef void(GL_BINDING_CALL* glProgramPathFragmentInputGenNVProc)(
GLuint program,
GLint location,
GLenum genMode,
GLint components,
const GLfloat* coeffs);
typedef void(GL_BINDING_CALL* glProgramUniform1fProc)(GLuint program,
GLint location,
GLfloat v0);
typedef void(GL_BINDING_CALL* glProgramUniform1fvProc)(GLuint program,
GLint location,
GLsizei count,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniform1iProc)(GLuint program,
GLint location,
GLint v0);
typedef void(GL_BINDING_CALL* glProgramUniform1ivProc)(GLuint program,
GLint location,
GLsizei count,
const GLint* value);
typedef void(GL_BINDING_CALL* glProgramUniform1uiProc)(GLuint program,
GLint location,
GLuint v0);
typedef void(GL_BINDING_CALL* glProgramUniform1uivProc)(GLuint program,
GLint location,
GLsizei count,
const GLuint* value);
typedef void(GL_BINDING_CALL* glProgramUniform2fProc)(GLuint program,
GLint location,
GLfloat v0,
GLfloat v1);
typedef void(GL_BINDING_CALL* glProgramUniform2fvProc)(GLuint program,
GLint location,
GLsizei count,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniform2iProc)(GLuint program,
GLint location,
GLint v0,
GLint v1);
typedef void(GL_BINDING_CALL* glProgramUniform2ivProc)(GLuint program,
GLint location,
GLsizei count,
const GLint* value);
typedef void(GL_BINDING_CALL* glProgramUniform2uiProc)(GLuint program,
GLint location,
GLuint v0,
GLuint v1);
typedef void(GL_BINDING_CALL* glProgramUniform2uivProc)(GLuint program,
GLint location,
GLsizei count,
const GLuint* value);
typedef void(GL_BINDING_CALL* glProgramUniform3fProc)(GLuint program,
GLint location,
GLfloat v0,
GLfloat v1,
GLfloat v2);
typedef void(GL_BINDING_CALL* glProgramUniform3fvProc)(GLuint program,
GLint location,
GLsizei count,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniform3iProc)(GLuint program,
GLint location,
GLint v0,
GLint v1,
GLint v2);
typedef void(GL_BINDING_CALL* glProgramUniform3ivProc)(GLuint program,
GLint location,
GLsizei count,
const GLint* value);
typedef void(GL_BINDING_CALL* glProgramUniform3uiProc)(GLuint program,
GLint location,
GLuint v0,
GLuint v1,
GLuint v2);
typedef void(GL_BINDING_CALL* glProgramUniform3uivProc)(GLuint program,
GLint location,
GLsizei count,
const GLuint* value);
typedef void(GL_BINDING_CALL* glProgramUniform4fProc)(GLuint program,
GLint location,
GLfloat v0,
GLfloat v1,
GLfloat v2,
GLfloat v3);
typedef void(GL_BINDING_CALL* glProgramUniform4fvProc)(GLuint program,
GLint location,
GLsizei count,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniform4iProc)(GLuint program,
GLint location,
GLint v0,
GLint v1,
GLint v2,
GLint v3);
typedef void(GL_BINDING_CALL* glProgramUniform4ivProc)(GLuint program,
GLint location,
GLsizei count,
const GLint* value);
typedef void(GL_BINDING_CALL* glProgramUniform4uiProc)(GLuint program,
GLint location,
GLuint v0,
GLuint v1,
GLuint v2,
GLuint v3);
typedef void(GL_BINDING_CALL* glProgramUniform4uivProc)(GLuint program,
GLint location,
GLsizei count,
const GLuint* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix2fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix2x3fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix2x4fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix3fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix3x2fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix3x4fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix4fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix4x2fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glProgramUniformMatrix4x3fvProc)(
GLuint program,
GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glPushDebugGroupProc)(GLenum source,
GLuint id,
GLsizei length,
const char* message);
typedef void(GL_BINDING_CALL* glPushGroupMarkerEXTProc)(GLsizei length,
const char* marker);
typedef void(GL_BINDING_CALL* glQueryCounterProc)(GLuint id, GLenum target);
typedef void(GL_BINDING_CALL* glReadBufferProc)(GLenum src);
typedef void(GL_BINDING_CALL* glReadnPixelsRobustANGLEProc)(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_BINDING_CALL* glReadPixelsProc)(GLint x,
GLint y,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
void* pixels);
typedef void(GL_BINDING_CALL* glReadPixelsRobustANGLEProc)(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_BINDING_CALL* glReleaseShaderCompilerProc)(void);
typedef void(GL_BINDING_CALL* glRenderbufferStorageEXTProc)(
GLenum target,
GLenum internalformat,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleProc)(
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleAdvancedAMDProc)(
GLenum target,
GLsizei samples,
GLsizei storageSamples,
GLenum internalformat,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleEXTProc)(
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glRequestExtensionANGLEProc)(const char* name);
typedef void(GL_BINDING_CALL* glResumeTransformFeedbackProc)(void);
typedef void(GL_BINDING_CALL* glSampleCoverageProc)(GLclampf value,
GLboolean invert);
typedef void(GL_BINDING_CALL* glSampleMaskiProc)(GLuint maskNumber,
GLbitfield mask);
typedef void(GL_BINDING_CALL* glSamplerParameterfProc)(GLuint sampler,
GLenum pname,
GLfloat param);
typedef void(GL_BINDING_CALL* glSamplerParameterfvProc)(GLuint sampler,
GLenum pname,
const GLfloat* params);
typedef void(GL_BINDING_CALL* glSamplerParameterfvRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
const GLfloat* param);
typedef void(GL_BINDING_CALL* glSamplerParameteriProc)(GLuint sampler,
GLenum pname,
GLint param);
typedef void(GL_BINDING_CALL* glSamplerParameterIivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
const GLint* param);
typedef void(GL_BINDING_CALL* glSamplerParameterIuivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
const GLuint* param);
typedef void(GL_BINDING_CALL* glSamplerParameterivProc)(GLuint sampler,
GLenum pname,
const GLint* params);
typedef void(GL_BINDING_CALL* glSamplerParameterivRobustANGLEProc)(
GLuint sampler,
GLenum pname,
GLsizei bufSize,
const GLint* param);
typedef void(GL_BINDING_CALL* glScissorProc)(GLint x,
GLint y,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glSetFenceAPPLEProc)(GLuint fence);
typedef void(GL_BINDING_CALL* glSetFenceNVProc)(GLuint fence, GLenum condition);
typedef void(GL_BINDING_CALL* glShaderBinaryProc)(GLsizei n,
const GLuint* shaders,
GLenum binaryformat,
const void* binary,
GLsizei length);
typedef void(GL_BINDING_CALL* glShaderSourceProc)(GLuint shader,
GLsizei count,
const char* const* str,
const GLint* length);
typedef void(GL_BINDING_CALL* glSignalSemaphoreEXTProc)(
GLuint semaphore,
GLuint numBufferBarriers,
const GLuint* buffers,
GLuint numTextureBarriers,
const GLuint* textures,
const GLenum* dstLayouts);
typedef void(GL_BINDING_CALL* glStencilFillPathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum fillMode,
GLuint mask,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glStencilFillPathNVProc)(GLuint path,
GLenum fillMode,
GLuint mask);
typedef void(GL_BINDING_CALL* glStencilFuncProc)(GLenum func,
GLint ref,
GLuint mask);
typedef void(GL_BINDING_CALL* glStencilFuncSeparateProc)(GLenum face,
GLenum func,
GLint ref,
GLuint mask);
typedef void(GL_BINDING_CALL* glStencilMaskProc)(GLuint mask);
typedef void(GL_BINDING_CALL* glStencilMaskSeparateProc)(GLenum face,
GLuint mask);
typedef void(GL_BINDING_CALL* glStencilOpProc)(GLenum fail,
GLenum zfail,
GLenum zpass);
typedef void(GL_BINDING_CALL* glStencilOpSeparateProc)(GLenum face,
GLenum fail,
GLenum zfail,
GLenum zpass);
typedef void(GL_BINDING_CALL* glStencilStrokePathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLint ref,
GLuint mask,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glStencilStrokePathNVProc)(GLuint path,
GLint reference,
GLuint mask);
typedef void(GL_BINDING_CALL* glStencilThenCoverFillPathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLenum fillMode,
GLuint mask,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glStencilThenCoverFillPathNVProc)(
GLuint path,
GLenum fillMode,
GLuint mask,
GLenum coverMode);
typedef void(GL_BINDING_CALL* glStencilThenCoverStrokePathInstancedNVProc)(
GLsizei numPaths,
GLenum pathNameType,
const void* paths,
GLuint pathBase,
GLint ref,
GLuint mask,
GLenum coverMode,
GLenum transformType,
const GLfloat* transformValues);
typedef void(GL_BINDING_CALL* glStencilThenCoverStrokePathNVProc)(
GLuint path,
GLint reference,
GLuint mask,
GLenum coverMode);
typedef GLboolean(GL_BINDING_CALL* glTestFenceAPPLEProc)(GLuint fence);
typedef GLboolean(GL_BINDING_CALL* glTestFenceNVProc)(GLuint fence);
typedef void(GL_BINDING_CALL* glTexBufferProc)(GLenum target,
GLenum internalformat,
GLuint buffer);
typedef void(GL_BINDING_CALL* glTexBufferRangeProc)(GLenum target,
GLenum internalformat,
GLuint buffer,
GLintptr offset,
GLsizeiptr size);
typedef void(GL_BINDING_CALL* glTexImage2DProc)(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
const void* pixels);
typedef void(GL_BINDING_CALL* glTexImage2DExternalANGLEProc)(
GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type);
typedef void(GL_BINDING_CALL* glTexImage2DRobustANGLEProc)(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLint border,
GLenum format,
GLenum type,
GLsizei bufSize,
const void* pixels);
typedef void(GL_BINDING_CALL* glTexImage3DProc)(GLenum target,
GLint level,
GLint internalformat,
GLsizei width,
GLsizei height,
GLsizei depth,
GLint border,
GLenum format,
GLenum type,
const void* pixels);
typedef void(GL_BINDING_CALL* glTexImage3DRobustANGLEProc)(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_BINDING_CALL* glTexParameterfProc)(GLenum target,
GLenum pname,
GLfloat param);
typedef void(GL_BINDING_CALL* glTexParameterfvProc)(GLenum target,
GLenum pname,
const GLfloat* params);
typedef void(GL_BINDING_CALL* glTexParameterfvRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLfloat* params);
typedef void(GL_BINDING_CALL* glTexParameteriProc)(GLenum target,
GLenum pname,
GLint param);
typedef void(GL_BINDING_CALL* glTexParameterIivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLint* params);
typedef void(GL_BINDING_CALL* glTexParameterIuivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLuint* params);
typedef void(GL_BINDING_CALL* glTexParameterivProc)(GLenum target,
GLenum pname,
const GLint* params);
typedef void(GL_BINDING_CALL* glTexParameterivRobustANGLEProc)(
GLenum target,
GLenum pname,
GLsizei bufSize,
const GLint* params);
typedef void(GL_BINDING_CALL* glTexStorage2DEXTProc)(GLenum target,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glTexStorage2DMultisampleProc)(
GLenum target,
GLsizei samples,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLboolean fixedsamplelocations);
typedef void(GL_BINDING_CALL* glTexStorage3DProc)(GLenum target,
GLsizei levels,
GLenum internalformat,
GLsizei width,
GLsizei height,
GLsizei depth);
typedef void(GL_BINDING_CALL* glTexStorageMem2DEXTProc)(GLenum target,
GLsizei levels,
GLenum internalFormat,
GLsizei width,
GLsizei height,
GLuint memory,
GLuint64 offset);
typedef void(GL_BINDING_CALL* glTexSubImage2DProc)(GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
const void* pixels);
typedef void(GL_BINDING_CALL* glTexSubImage2DRobustANGLEProc)(
GLenum target,
GLint level,
GLint xoffset,
GLint yoffset,
GLsizei width,
GLsizei height,
GLenum format,
GLenum type,
GLsizei bufSize,
const void* pixels);
typedef void(GL_BINDING_CALL* glTexSubImage3DProc)(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_BINDING_CALL* glTexSubImage3DRobustANGLEProc)(
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_BINDING_CALL* glTransformFeedbackVaryingsProc)(
GLuint program,
GLsizei count,
const char* const* varyings,
GLenum bufferMode);
typedef void(GL_BINDING_CALL* glUniform1fProc)(GLint location, GLfloat x);
typedef void(GL_BINDING_CALL* glUniform1fvProc)(GLint location,
GLsizei count,
const GLfloat* v);
typedef void(GL_BINDING_CALL* glUniform1iProc)(GLint location, GLint x);
typedef void(GL_BINDING_CALL* glUniform1ivProc)(GLint location,
GLsizei count,
const GLint* v);
typedef void(GL_BINDING_CALL* glUniform1uiProc)(GLint location, GLuint v0);
typedef void(GL_BINDING_CALL* glUniform1uivProc)(GLint location,
GLsizei count,
const GLuint* v);
typedef void(GL_BINDING_CALL* glUniform2fProc)(GLint location,
GLfloat x,
GLfloat y);
typedef void(GL_BINDING_CALL* glUniform2fvProc)(GLint location,
GLsizei count,
const GLfloat* v);
typedef void(GL_BINDING_CALL* glUniform2iProc)(GLint location,
GLint x,
GLint y);
typedef void(GL_BINDING_CALL* glUniform2ivProc)(GLint location,
GLsizei count,
const GLint* v);
typedef void(GL_BINDING_CALL* glUniform2uiProc)(GLint location,
GLuint v0,
GLuint v1);
typedef void(GL_BINDING_CALL* glUniform2uivProc)(GLint location,
GLsizei count,
const GLuint* v);
typedef void(GL_BINDING_CALL* glUniform3fProc)(GLint location,
GLfloat x,
GLfloat y,
GLfloat z);
typedef void(GL_BINDING_CALL* glUniform3fvProc)(GLint location,
GLsizei count,
const GLfloat* v);
typedef void(GL_BINDING_CALL* glUniform3iProc)(GLint location,
GLint x,
GLint y,
GLint z);
typedef void(GL_BINDING_CALL* glUniform3ivProc)(GLint location,
GLsizei count,
const GLint* v);
typedef void(GL_BINDING_CALL* glUniform3uiProc)(GLint location,
GLuint v0,
GLuint v1,
GLuint v2);
typedef void(GL_BINDING_CALL* glUniform3uivProc)(GLint location,
GLsizei count,
const GLuint* v);
typedef void(GL_BINDING_CALL* glUniform4fProc)(GLint location,
GLfloat x,
GLfloat y,
GLfloat z,
GLfloat w);
typedef void(GL_BINDING_CALL* glUniform4fvProc)(GLint location,
GLsizei count,
const GLfloat* v);
typedef void(GL_BINDING_CALL* glUniform4iProc)(GLint location,
GLint x,
GLint y,
GLint z,
GLint w);
typedef void(GL_BINDING_CALL* glUniform4ivProc)(GLint location,
GLsizei count,
const GLint* v);
typedef void(GL_BINDING_CALL* glUniform4uiProc)(GLint location,
GLuint v0,
GLuint v1,
GLuint v2,
GLuint v3);
typedef void(GL_BINDING_CALL* glUniform4uivProc)(GLint location,
GLsizei count,
const GLuint* v);
typedef void(GL_BINDING_CALL* glUniformBlockBindingProc)(
GLuint program,
GLuint uniformBlockIndex,
GLuint uniformBlockBinding);
typedef void(GL_BINDING_CALL* glUniformMatrix2fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix2x3fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix2x4fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix3fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix3x2fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix3x4fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix4fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix4x2fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef void(GL_BINDING_CALL* glUniformMatrix4x3fvProc)(GLint location,
GLsizei count,
GLboolean transpose,
const GLfloat* value);
typedef GLboolean(GL_BINDING_CALL* glUnmapBufferProc)(GLenum target);
typedef void(GL_BINDING_CALL* glUseProgramProc)(GLuint program);
typedef void(GL_BINDING_CALL* glUseProgramStagesProc)(GLuint pipeline,
GLbitfield stages,
GLuint program);
typedef void(GL_BINDING_CALL* glValidateProgramProc)(GLuint program);
typedef void(GL_BINDING_CALL* glValidateProgramPipelineProc)(GLuint pipeline);
typedef void(GL_BINDING_CALL* glVertexAttrib1fProc)(GLuint indx, GLfloat x);
typedef void(GL_BINDING_CALL* glVertexAttrib1fvProc)(GLuint indx,
const GLfloat* values);
typedef void(GL_BINDING_CALL* glVertexAttrib2fProc)(GLuint indx,
GLfloat x,
GLfloat y);
typedef void(GL_BINDING_CALL* glVertexAttrib2fvProc)(GLuint indx,
const GLfloat* values);
typedef void(GL_BINDING_CALL* glVertexAttrib3fProc)(GLuint indx,
GLfloat x,
GLfloat y,
GLfloat z);
typedef void(GL_BINDING_CALL* glVertexAttrib3fvProc)(GLuint indx,
const GLfloat* values);
typedef void(GL_BINDING_CALL* glVertexAttrib4fProc)(GLuint indx,
GLfloat x,
GLfloat y,
GLfloat z,
GLfloat w);
typedef void(GL_BINDING_CALL* glVertexAttrib4fvProc)(GLuint indx,
const GLfloat* values);
typedef void(GL_BINDING_CALL* glVertexAttribBindingProc)(GLuint attribindex,
GLuint bindingindex);
typedef void(GL_BINDING_CALL* glVertexAttribDivisorANGLEProc)(GLuint index,
GLuint divisor);
typedef void(GL_BINDING_CALL* glVertexAttribFormatProc)(GLuint attribindex,
GLint size,
GLenum type,
GLboolean normalized,
GLuint relativeoffset);
typedef void(GL_BINDING_CALL* glVertexAttribI4iProc)(GLuint indx,
GLint x,
GLint y,
GLint z,
GLint w);
typedef void(GL_BINDING_CALL* glVertexAttribI4ivProc)(GLuint indx,
const GLint* values);
typedef void(GL_BINDING_CALL* glVertexAttribI4uiProc)(GLuint indx,
GLuint x,
GLuint y,
GLuint z,
GLuint w);
typedef void(GL_BINDING_CALL* glVertexAttribI4uivProc)(GLuint indx,
const GLuint* values);
typedef void(GL_BINDING_CALL* glVertexAttribIFormatProc)(GLuint attribindex,
GLint size,
GLenum type,
GLuint relativeoffset);
typedef void(GL_BINDING_CALL* glVertexAttribIPointerProc)(GLuint indx,
GLint size,
GLenum type,
GLsizei stride,
const void* ptr);
typedef void(GL_BINDING_CALL* glVertexAttribPointerProc)(GLuint indx,
GLint size,
GLenum type,
GLboolean normalized,
GLsizei stride,
const void* ptr);
typedef void(GL_BINDING_CALL* glVertexBindingDivisorProc)(GLuint bindingindex,
GLuint divisor);
typedef void(GL_BINDING_CALL* glViewportProc)(GLint x,
GLint y,
GLsizei width,
GLsizei height);
typedef void(GL_BINDING_CALL* glWaitSemaphoreEXTProc)(GLuint semaphore,
GLuint numBufferBarriers,
const GLuint* buffers,
GLuint numTextureBarriers,
const GLuint* textures,
const GLenum* srcLayouts);
typedef void(GL_BINDING_CALL* glWaitSyncProc)(GLsync sync,
GLbitfield flags,
GLuint64 timeout);
typedef void(GL_BINDING_CALL* glWaitSyncAPPLEProc)(GLsync sync,
GLbitfield flags,
GLuint64 timeout);
typedef void(GL_BINDING_CALL* glWindowRectanglesEXTProc)(GLenum mode,
GLsizei n,
const GLint* box);
struct ExtensionsGL {
bool b_GL_AMD_framebuffer_multisample_advanced;
bool b_GL_ANGLE_framebuffer_blit;
bool b_GL_ANGLE_framebuffer_multisample;
bool b_GL_ANGLE_instanced_arrays;
bool b_GL_ANGLE_multi_draw;
bool b_GL_ANGLE_request_extension;
bool b_GL_ANGLE_robust_client_memory;
bool b_GL_ANGLE_texture_external_update;
bool b_GL_ANGLE_translated_shader_source;
bool b_GL_APPLE_fence;
bool b_GL_APPLE_sync;
bool b_GL_APPLE_vertex_array_object;
bool b_GL_ARB_ES2_compatibility;
bool b_GL_ARB_blend_func_extended;
bool b_GL_ARB_clear_texture;
bool b_GL_ARB_draw_buffers;
bool b_GL_ARB_draw_instanced;
bool b_GL_ARB_framebuffer_object;
bool b_GL_ARB_get_program_binary;
bool b_GL_ARB_instanced_arrays;
bool b_GL_ARB_internalformat_query;
bool b_GL_ARB_map_buffer_range;
bool b_GL_ARB_occlusion_query;
bool b_GL_ARB_program_interface_query;
bool b_GL_ARB_robustness;
bool b_GL_ARB_sampler_objects;
bool b_GL_ARB_shader_image_load_store;
bool b_GL_ARB_sync;
bool b_GL_ARB_texture_multisample;
bool b_GL_ARB_texture_storage;
bool b_GL_ARB_timer_query;
bool b_GL_ARB_transform_feedback2;
bool b_GL_ARB_vertex_array_object;
bool b_GL_CHROMIUM_bind_uniform_location;
bool b_GL_CHROMIUM_copy_texture;
bool b_GL_CHROMIUM_framebuffer_mixed_samples;
bool b_GL_CHROMIUM_gles_depth_binding_hack;
bool b_GL_CHROMIUM_glgetstringi_hack;
bool b_GL_CHROMIUM_path_rendering;
bool b_GL_EXT_blend_func_extended;
bool b_GL_EXT_clear_texture;
bool b_GL_EXT_debug_marker;
bool b_GL_EXT_direct_state_access;
bool b_GL_EXT_discard_framebuffer;
bool b_GL_EXT_disjoint_timer_query;
bool b_GL_EXT_draw_buffers;
bool b_GL_EXT_framebuffer_blit;
bool b_GL_EXT_framebuffer_multisample;
bool b_GL_EXT_framebuffer_object;
bool b_GL_EXT_gpu_shader4;
bool b_GL_EXT_instanced_arrays;
bool b_GL_EXT_map_buffer_range;
bool b_GL_EXT_memory_object;
bool b_GL_EXT_memory_object_fd;
bool b_GL_EXT_multisampled_render_to_texture;
bool b_GL_EXT_occlusion_query_boolean;
bool b_GL_EXT_robustness;
bool b_GL_EXT_semaphore;
bool b_GL_EXT_semaphore_fd;
bool b_GL_EXT_shader_image_load_store;
bool b_GL_EXT_texture_buffer;
bool b_GL_EXT_texture_buffer_object;
bool b_GL_EXT_texture_storage;
bool b_GL_EXT_timer_query;
bool b_GL_EXT_transform_feedback;
bool b_GL_EXT_unpack_subimage;
bool b_GL_EXT_window_rectangles;
bool b_GL_IMG_multisampled_render_to_texture;
bool b_GL_INTEL_framebuffer_CMAA;
bool b_GL_KHR_blend_equation_advanced;
bool b_GL_KHR_debug;
bool b_GL_KHR_parallel_shader_compile;
bool b_GL_KHR_robustness;
bool b_GL_NV_blend_equation_advanced;
bool b_GL_NV_fence;
bool b_GL_NV_framebuffer_mixed_samples;
bool b_GL_NV_internalformat_sample_query;
bool b_GL_NV_path_rendering;
bool b_GL_OES_EGL_image;
bool b_GL_OES_get_program_binary;
bool b_GL_OES_mapbuffer;
bool b_GL_OES_texture_buffer;
bool b_GL_OES_vertex_array_object;
bool b_GL_OVR_multiview;
bool b_GL_OVR_multiview2;
};
struct ProcsGL {
glActiveShaderProgramProc glActiveShaderProgramFn;
glActiveTextureProc glActiveTextureFn;
glApplyFramebufferAttachmentCMAAINTELProc
glApplyFramebufferAttachmentCMAAINTELFn;
glAttachShaderProc glAttachShaderFn;
glBeginQueryProc glBeginQueryFn;
glBeginTransformFeedbackProc glBeginTransformFeedbackFn;
glBindAttribLocationProc glBindAttribLocationFn;
glBindBufferProc glBindBufferFn;
glBindBufferBaseProc glBindBufferBaseFn;
glBindBufferRangeProc glBindBufferRangeFn;
glBindFragDataLocationProc glBindFragDataLocationFn;
glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn;
glBindFragmentInputLocationCHROMIUMProc glBindFragmentInputLocationCHROMIUMFn;
glBindFramebufferEXTProc glBindFramebufferEXTFn;
glBindImageTextureEXTProc glBindImageTextureEXTFn;
glBindProgramPipelineProc glBindProgramPipelineFn;
glBindRenderbufferEXTProc glBindRenderbufferEXTFn;
glBindSamplerProc glBindSamplerFn;
glBindTextureProc glBindTextureFn;
glBindTransformFeedbackProc glBindTransformFeedbackFn;
glBindUniformLocationCHROMIUMProc glBindUniformLocationCHROMIUMFn;
glBindVertexArrayOESProc glBindVertexArrayOESFn;
glBindVertexBufferProc glBindVertexBufferFn;
glBlendBarrierKHRProc glBlendBarrierKHRFn;
glBlendColorProc glBlendColorFn;
glBlendEquationProc glBlendEquationFn;
glBlendEquationSeparateProc glBlendEquationSeparateFn;
glBlendFuncProc glBlendFuncFn;
glBlendFuncSeparateProc glBlendFuncSeparateFn;
glBlitFramebufferProc glBlitFramebufferFn;
glBufferDataProc glBufferDataFn;
glBufferSubDataProc glBufferSubDataFn;
glCheckFramebufferStatusEXTProc glCheckFramebufferStatusEXTFn;
glClearProc glClearFn;
glClearBufferfiProc glClearBufferfiFn;
glClearBufferfvProc glClearBufferfvFn;
glClearBufferivProc glClearBufferivFn;
glClearBufferuivProc glClearBufferuivFn;
glClearColorProc glClearColorFn;
glClearDepthProc glClearDepthFn;
glClearDepthfProc glClearDepthfFn;
glClearStencilProc glClearStencilFn;
glClearTexImageProc glClearTexImageFn;
glClearTexSubImageProc glClearTexSubImageFn;
glClientWaitSyncProc glClientWaitSyncFn;
glClientWaitSyncAPPLEProc glClientWaitSyncAPPLEFn;
glColorMaskProc glColorMaskFn;
glCompileShaderProc glCompileShaderFn;
glCompressedTexImage2DProc glCompressedTexImage2DFn;
glCompressedTexImage2DRobustANGLEProc glCompressedTexImage2DRobustANGLEFn;
glCompressedTexImage3DProc glCompressedTexImage3DFn;
glCompressedTexImage3DRobustANGLEProc glCompressedTexImage3DRobustANGLEFn;
glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn;
glCompressedTexSubImage2DRobustANGLEProc
glCompressedTexSubImage2DRobustANGLEFn;
glCompressedTexSubImage3DProc glCompressedTexSubImage3DFn;
glCompressedTexSubImage3DRobustANGLEProc
glCompressedTexSubImage3DRobustANGLEFn;
glCopyBufferSubDataProc glCopyBufferSubDataFn;
glCopySubTextureCHROMIUMProc glCopySubTextureCHROMIUMFn;
glCopyTexImage2DProc glCopyTexImage2DFn;
glCopyTexSubImage2DProc glCopyTexSubImage2DFn;
glCopyTexSubImage3DProc glCopyTexSubImage3DFn;
glCopyTextureCHROMIUMProc glCopyTextureCHROMIUMFn;
glCoverageModulationNVProc glCoverageModulationNVFn;
glCoverFillPathInstancedNVProc glCoverFillPathInstancedNVFn;
glCoverFillPathNVProc glCoverFillPathNVFn;
glCoverStrokePathInstancedNVProc glCoverStrokePathInstancedNVFn;
glCoverStrokePathNVProc glCoverStrokePathNVFn;
glCreateMemoryObjectsEXTProc glCreateMemoryObjectsEXTFn;
glCreateProgramProc glCreateProgramFn;
glCreateShaderProc glCreateShaderFn;
glCreateShaderProgramvProc glCreateShaderProgramvFn;
glCullFaceProc glCullFaceFn;
glDebugMessageCallbackProc glDebugMessageCallbackFn;
glDebugMessageControlProc glDebugMessageControlFn;
glDebugMessageInsertProc glDebugMessageInsertFn;
glDeleteBuffersARBProc glDeleteBuffersARBFn;
glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn;
glDeleteFencesNVProc glDeleteFencesNVFn;
glDeleteFramebuffersEXTProc glDeleteFramebuffersEXTFn;
glDeletePathsNVProc glDeletePathsNVFn;
glDeleteProgramProc glDeleteProgramFn;
glDeleteProgramPipelinesProc glDeleteProgramPipelinesFn;
glDeleteQueriesProc glDeleteQueriesFn;
glDeleteRenderbuffersEXTProc glDeleteRenderbuffersEXTFn;
glDeleteSamplersProc glDeleteSamplersFn;
glDeleteSemaphoresEXTProc glDeleteSemaphoresEXTFn;
glDeleteShaderProc glDeleteShaderFn;
glDeleteSyncProc glDeleteSyncFn;
glDeleteSyncAPPLEProc glDeleteSyncAPPLEFn;
glDeleteTexturesProc glDeleteTexturesFn;
glDeleteTransformFeedbacksProc glDeleteTransformFeedbacksFn;
glDeleteVertexArraysOESProc glDeleteVertexArraysOESFn;
glDepthFuncProc glDepthFuncFn;
glDepthMaskProc glDepthMaskFn;
glDepthRangeProc glDepthRangeFn;
glDepthRangefProc glDepthRangefFn;
glDetachShaderProc glDetachShaderFn;
glDisableProc glDisableFn;
glDisableVertexAttribArrayProc glDisableVertexAttribArrayFn;
glDiscardFramebufferEXTProc glDiscardFramebufferEXTFn;
glDispatchComputeProc glDispatchComputeFn;
glDispatchComputeIndirectProc glDispatchComputeIndirectFn;
glDrawArraysProc glDrawArraysFn;
glDrawArraysIndirectProc glDrawArraysIndirectFn;
glDrawArraysInstancedANGLEProc glDrawArraysInstancedANGLEFn;
glDrawBufferProc glDrawBufferFn;
glDrawBuffersARBProc glDrawBuffersARBFn;
glDrawElementsProc glDrawElementsFn;
glDrawElementsIndirectProc glDrawElementsIndirectFn;
glDrawElementsInstancedANGLEProc glDrawElementsInstancedANGLEFn;
glDrawRangeElementsProc glDrawRangeElementsFn;
glEGLImageTargetRenderbufferStorageOESProc
glEGLImageTargetRenderbufferStorageOESFn;
glEGLImageTargetTexture2DOESProc glEGLImageTargetTexture2DOESFn;
glEnableProc glEnableFn;
glEnableVertexAttribArrayProc glEnableVertexAttribArrayFn;
glEndQueryProc glEndQueryFn;
glEndTransformFeedbackProc glEndTransformFeedbackFn;
glFenceSyncProc glFenceSyncFn;
glFenceSyncAPPLEProc glFenceSyncAPPLEFn;
glFinishProc glFinishFn;
glFinishFenceAPPLEProc glFinishFenceAPPLEFn;
glFinishFenceNVProc glFinishFenceNVFn;
glFlushProc glFlushFn;
glFlushMappedBufferRangeProc glFlushMappedBufferRangeFn;
glFramebufferParameteriProc glFramebufferParameteriFn;
glFramebufferRenderbufferEXTProc glFramebufferRenderbufferEXTFn;
glFramebufferTexture2DEXTProc glFramebufferTexture2DEXTFn;
glFramebufferTexture2DMultisampleEXTProc
glFramebufferTexture2DMultisampleEXTFn;
glFramebufferTextureLayerProc glFramebufferTextureLayerFn;
glFramebufferTextureMultiviewOVRProc glFramebufferTextureMultiviewOVRFn;
glFrontFaceProc glFrontFaceFn;
glGenBuffersARBProc glGenBuffersARBFn;
glGenerateMipmapEXTProc glGenerateMipmapEXTFn;
glGenFencesAPPLEProc glGenFencesAPPLEFn;
glGenFencesNVProc glGenFencesNVFn;
glGenFramebuffersEXTProc glGenFramebuffersEXTFn;
glGenPathsNVProc glGenPathsNVFn;
glGenProgramPipelinesProc glGenProgramPipelinesFn;
glGenQueriesProc glGenQueriesFn;
glGenRenderbuffersEXTProc glGenRenderbuffersEXTFn;
glGenSamplersProc glGenSamplersFn;
glGenSemaphoresEXTProc glGenSemaphoresEXTFn;
glGenTexturesProc glGenTexturesFn;
glGenTransformFeedbacksProc glGenTransformFeedbacksFn;
glGenVertexArraysOESProc glGenVertexArraysOESFn;
glGetActiveAttribProc glGetActiveAttribFn;
glGetActiveUniformProc glGetActiveUniformFn;
glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn;
glGetActiveUniformBlockivRobustANGLEProc
glGetActiveUniformBlockivRobustANGLEFn;
glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn;
glGetActiveUniformsivProc glGetActiveUniformsivFn;
glGetAttachedShadersProc glGetAttachedShadersFn;
glGetAttribLocationProc glGetAttribLocationFn;
glGetBooleani_vProc glGetBooleani_vFn;
glGetBooleani_vRobustANGLEProc glGetBooleani_vRobustANGLEFn;
glGetBooleanvProc glGetBooleanvFn;
glGetBooleanvRobustANGLEProc glGetBooleanvRobustANGLEFn;
glGetBufferParameteri64vRobustANGLEProc glGetBufferParameteri64vRobustANGLEFn;
glGetBufferParameterivProc glGetBufferParameterivFn;
glGetBufferParameterivRobustANGLEProc glGetBufferParameterivRobustANGLEFn;
glGetBufferPointervRobustANGLEProc glGetBufferPointervRobustANGLEFn;
glGetDebugMessageLogProc glGetDebugMessageLogFn;
glGetErrorProc glGetErrorFn;
glGetFenceivNVProc glGetFenceivNVFn;
glGetFloatvProc glGetFloatvFn;
glGetFloatvRobustANGLEProc glGetFloatvRobustANGLEFn;
glGetFragDataIndexProc glGetFragDataIndexFn;
glGetFragDataLocationProc glGetFragDataLocationFn;
glGetFramebufferAttachmentParameterivEXTProc
glGetFramebufferAttachmentParameterivEXTFn;
glGetFramebufferAttachmentParameterivRobustANGLEProc
glGetFramebufferAttachmentParameterivRobustANGLEFn;
glGetFramebufferParameterivProc glGetFramebufferParameterivFn;
glGetFramebufferParameterivRobustANGLEProc
glGetFramebufferParameterivRobustANGLEFn;
glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn;
glGetInteger64i_vProc glGetInteger64i_vFn;
glGetInteger64i_vRobustANGLEProc glGetInteger64i_vRobustANGLEFn;
glGetInteger64vProc glGetInteger64vFn;
glGetInteger64vRobustANGLEProc glGetInteger64vRobustANGLEFn;
glGetIntegeri_vProc glGetIntegeri_vFn;
glGetIntegeri_vRobustANGLEProc glGetIntegeri_vRobustANGLEFn;
glGetIntegervProc glGetIntegervFn;
glGetIntegervRobustANGLEProc glGetIntegervRobustANGLEFn;
glGetInternalformativProc glGetInternalformativFn;
glGetInternalformativRobustANGLEProc glGetInternalformativRobustANGLEFn;
glGetInternalformatSampleivNVProc glGetInternalformatSampleivNVFn;
glGetMultisamplefvProc glGetMultisamplefvFn;
glGetMultisamplefvRobustANGLEProc glGetMultisamplefvRobustANGLEFn;
glGetnUniformfvRobustANGLEProc glGetnUniformfvRobustANGLEFn;
glGetnUniformivRobustANGLEProc glGetnUniformivRobustANGLEFn;
glGetnUniformuivRobustANGLEProc glGetnUniformuivRobustANGLEFn;
glGetObjectLabelProc glGetObjectLabelFn;
glGetObjectPtrLabelProc glGetObjectPtrLabelFn;
glGetPointervProc glGetPointervFn;
glGetPointervRobustANGLERobustANGLEProc glGetPointervRobustANGLERobustANGLEFn;
glGetProgramBinaryProc glGetProgramBinaryFn;
glGetProgramInfoLogProc glGetProgramInfoLogFn;
glGetProgramInterfaceivProc glGetProgramInterfaceivFn;
glGetProgramInterfaceivRobustANGLEProc glGetProgramInterfaceivRobustANGLEFn;
glGetProgramivProc glGetProgramivFn;
glGetProgramivRobustANGLEProc glGetProgramivRobustANGLEFn;
glGetProgramPipelineInfoLogProc glGetProgramPipelineInfoLogFn;
glGetProgramPipelineivProc glGetProgramPipelineivFn;
glGetProgramResourceIndexProc glGetProgramResourceIndexFn;
glGetProgramResourceivProc glGetProgramResourceivFn;
glGetProgramResourceLocationProc glGetProgramResourceLocationFn;
glGetProgramResourceNameProc glGetProgramResourceNameFn;
glGetQueryivProc glGetQueryivFn;
glGetQueryivRobustANGLEProc glGetQueryivRobustANGLEFn;
glGetQueryObjecti64vProc glGetQueryObjecti64vFn;
glGetQueryObjecti64vRobustANGLEProc glGetQueryObjecti64vRobustANGLEFn;
glGetQueryObjectivProc glGetQueryObjectivFn;
glGetQueryObjectivRobustANGLEProc glGetQueryObjectivRobustANGLEFn;
glGetQueryObjectui64vProc glGetQueryObjectui64vFn;
glGetQueryObjectui64vRobustANGLEProc glGetQueryObjectui64vRobustANGLEFn;
glGetQueryObjectuivProc glGetQueryObjectuivFn;
glGetQueryObjectuivRobustANGLEProc glGetQueryObjectuivRobustANGLEFn;
glGetRenderbufferParameterivEXTProc glGetRenderbufferParameterivEXTFn;
glGetRenderbufferParameterivRobustANGLEProc
glGetRenderbufferParameterivRobustANGLEFn;
glGetSamplerParameterfvProc glGetSamplerParameterfvFn;
glGetSamplerParameterfvRobustANGLEProc glGetSamplerParameterfvRobustANGLEFn;
glGetSamplerParameterIivRobustANGLEProc glGetSamplerParameterIivRobustANGLEFn;
glGetSamplerParameterIuivRobustANGLEProc
glGetSamplerParameterIuivRobustANGLEFn;
glGetSamplerParameterivProc glGetSamplerParameterivFn;
glGetSamplerParameterivRobustANGLEProc glGetSamplerParameterivRobustANGLEFn;
glGetShaderInfoLogProc glGetShaderInfoLogFn;
glGetShaderivProc glGetShaderivFn;
glGetShaderivRobustANGLEProc glGetShaderivRobustANGLEFn;
glGetShaderPrecisionFormatProc glGetShaderPrecisionFormatFn;
glGetShaderSourceProc glGetShaderSourceFn;
glGetStringProc glGetStringFn;
glGetStringiProc glGetStringiFn;
glGetSyncivProc glGetSyncivFn;
glGetTexLevelParameterfvProc glGetTexLevelParameterfvFn;
glGetTexLevelParameterfvRobustANGLEProc glGetTexLevelParameterfvRobustANGLEFn;
glGetTexLevelParameterivProc glGetTexLevelParameterivFn;
glGetTexLevelParameterivRobustANGLEProc glGetTexLevelParameterivRobustANGLEFn;
glGetTexParameterfvProc glGetTexParameterfvFn;
glGetTexParameterfvRobustANGLEProc glGetTexParameterfvRobustANGLEFn;
glGetTexParameterIivRobustANGLEProc glGetTexParameterIivRobustANGLEFn;
glGetTexParameterIuivRobustANGLEProc glGetTexParameterIuivRobustANGLEFn;
glGetTexParameterivProc glGetTexParameterivFn;
glGetTexParameterivRobustANGLEProc glGetTexParameterivRobustANGLEFn;
glGetTransformFeedbackVaryingProc glGetTransformFeedbackVaryingFn;
glGetTranslatedShaderSourceANGLEProc glGetTranslatedShaderSourceANGLEFn;
glGetUniformBlockIndexProc glGetUniformBlockIndexFn;
glGetUniformfvProc glGetUniformfvFn;
glGetUniformfvRobustANGLEProc glGetUniformfvRobustANGLEFn;
glGetUniformIndicesProc glGetUniformIndicesFn;
glGetUniformivProc glGetUniformivFn;
glGetUniformivRobustANGLEProc glGetUniformivRobustANGLEFn;
glGetUniformLocationProc glGetUniformLocationFn;
glGetUniformuivProc glGetUniformuivFn;
glGetUniformuivRobustANGLEProc glGetUniformuivRobustANGLEFn;
glGetVertexAttribfvProc glGetVertexAttribfvFn;
glGetVertexAttribfvRobustANGLEProc glGetVertexAttribfvRobustANGLEFn;
glGetVertexAttribIivRobustANGLEProc glGetVertexAttribIivRobustANGLEFn;
glGetVertexAttribIuivRobustANGLEProc glGetVertexAttribIuivRobustANGLEFn;
glGetVertexAttribivProc glGetVertexAttribivFn;
glGetVertexAttribivRobustANGLEProc glGetVertexAttribivRobustANGLEFn;
glGetVertexAttribPointervProc glGetVertexAttribPointervFn;
glGetVertexAttribPointervRobustANGLEProc
glGetVertexAttribPointervRobustANGLEFn;
glHintProc glHintFn;
glImportMemoryFdEXTProc glImportMemoryFdEXTFn;
glImportSemaphoreFdEXTProc glImportSemaphoreFdEXTFn;
glInsertEventMarkerEXTProc glInsertEventMarkerEXTFn;
glInvalidateFramebufferProc glInvalidateFramebufferFn;
glInvalidateSubFramebufferProc glInvalidateSubFramebufferFn;
glInvalidateTextureANGLEProc glInvalidateTextureANGLEFn;
glIsBufferProc glIsBufferFn;
glIsEnabledProc glIsEnabledFn;
glIsFenceAPPLEProc glIsFenceAPPLEFn;
glIsFenceNVProc glIsFenceNVFn;
glIsFramebufferEXTProc glIsFramebufferEXTFn;
glIsPathNVProc glIsPathNVFn;
glIsProgramProc glIsProgramFn;
glIsProgramPipelineProc glIsProgramPipelineFn;
glIsQueryProc glIsQueryFn;
glIsRenderbufferEXTProc glIsRenderbufferEXTFn;
glIsSamplerProc glIsSamplerFn;
glIsShaderProc glIsShaderFn;
glIsSyncProc glIsSyncFn;
glIsSyncAPPLEProc glIsSyncAPPLEFn;
glIsTextureProc glIsTextureFn;
glIsTransformFeedbackProc glIsTransformFeedbackFn;
glIsVertexArrayOESProc glIsVertexArrayOESFn;
glLineWidthProc glLineWidthFn;
glLinkProgramProc glLinkProgramFn;
glMapBufferProc glMapBufferFn;
glMapBufferRangeProc glMapBufferRangeFn;
glMatrixLoadfEXTProc glMatrixLoadfEXTFn;
glMatrixLoadIdentityEXTProc glMatrixLoadIdentityEXTFn;
glMaxShaderCompilerThreadsKHRProc glMaxShaderCompilerThreadsKHRFn;
glMemoryBarrierByRegionProc glMemoryBarrierByRegionFn;
glMemoryBarrierEXTProc glMemoryBarrierEXTFn;
glMinSampleShadingProc glMinSampleShadingFn;
glMultiDrawArraysANGLEProc glMultiDrawArraysANGLEFn;
glMultiDrawArraysInstancedANGLEProc glMultiDrawArraysInstancedANGLEFn;
glMultiDrawElementsANGLEProc glMultiDrawElementsANGLEFn;
glMultiDrawElementsInstancedANGLEProc glMultiDrawElementsInstancedANGLEFn;
glObjectLabelProc glObjectLabelFn;
glObjectPtrLabelProc glObjectPtrLabelFn;
glPathCommandsNVProc glPathCommandsNVFn;
glPathParameterfNVProc glPathParameterfNVFn;
glPathParameteriNVProc glPathParameteriNVFn;
glPathStencilFuncNVProc glPathStencilFuncNVFn;
glPauseTransformFeedbackProc glPauseTransformFeedbackFn;
glPixelStoreiProc glPixelStoreiFn;
glPointParameteriProc glPointParameteriFn;
glPolygonModeProc glPolygonModeFn;
glPolygonOffsetProc glPolygonOffsetFn;
glPopDebugGroupProc glPopDebugGroupFn;
glPopGroupMarkerEXTProc glPopGroupMarkerEXTFn;
glPrimitiveRestartIndexProc glPrimitiveRestartIndexFn;
glProgramBinaryProc glProgramBinaryFn;
glProgramParameteriProc glProgramParameteriFn;
glProgramPathFragmentInputGenNVProc glProgramPathFragmentInputGenNVFn;
glProgramUniform1fProc glProgramUniform1fFn;
glProgramUniform1fvProc glProgramUniform1fvFn;
glProgramUniform1iProc glProgramUniform1iFn;
glProgramUniform1ivProc glProgramUniform1ivFn;
glProgramUniform1uiProc glProgramUniform1uiFn;
glProgramUniform1uivProc glProgramUniform1uivFn;
glProgramUniform2fProc glProgramUniform2fFn;
glProgramUniform2fvProc glProgramUniform2fvFn;
glProgramUniform2iProc glProgramUniform2iFn;
glProgramUniform2ivProc glProgramUniform2ivFn;
glProgramUniform2uiProc glProgramUniform2uiFn;
glProgramUniform2uivProc glProgramUniform2uivFn;
glProgramUniform3fProc glProgramUniform3fFn;
glProgramUniform3fvProc glProgramUniform3fvFn;
glProgramUniform3iProc glProgramUniform3iFn;
glProgramUniform3ivProc glProgramUniform3ivFn;
glProgramUniform3uiProc glProgramUniform3uiFn;
glProgramUniform3uivProc glProgramUniform3uivFn;
glProgramUniform4fProc glProgramUniform4fFn;
glProgramUniform4fvProc glProgramUniform4fvFn;
glProgramUniform4iProc glProgramUniform4iFn;
glProgramUniform4ivProc glProgramUniform4ivFn;
glProgramUniform4uiProc glProgramUniform4uiFn;
glProgramUniform4uivProc glProgramUniform4uivFn;
glProgramUniformMatrix2fvProc glProgramUniformMatrix2fvFn;
glProgramUniformMatrix2x3fvProc glProgramUniformMatrix2x3fvFn;
glProgramUniformMatrix2x4fvProc glProgramUniformMatrix2x4fvFn;
glProgramUniformMatrix3fvProc glProgramUniformMatrix3fvFn;
glProgramUniformMatrix3x2fvProc glProgramUniformMatrix3x2fvFn;
glProgramUniformMatrix3x4fvProc glProgramUniformMatrix3x4fvFn;
glProgramUniformMatrix4fvProc glProgramUniformMatrix4fvFn;
glProgramUniformMatrix4x2fvProc glProgramUniformMatrix4x2fvFn;
glProgramUniformMatrix4x3fvProc glProgramUniformMatrix4x3fvFn;
glPushDebugGroupProc glPushDebugGroupFn;
glPushGroupMarkerEXTProc glPushGroupMarkerEXTFn;
glQueryCounterProc glQueryCounterFn;
glReadBufferProc glReadBufferFn;
glReadnPixelsRobustANGLEProc glReadnPixelsRobustANGLEFn;
glReadPixelsProc glReadPixelsFn;
glReadPixelsRobustANGLEProc glReadPixelsRobustANGLEFn;
glReleaseShaderCompilerProc glReleaseShaderCompilerFn;
glRenderbufferStorageEXTProc glRenderbufferStorageEXTFn;
glRenderbufferStorageMultisampleProc glRenderbufferStorageMultisampleFn;
glRenderbufferStorageMultisampleAdvancedAMDProc
glRenderbufferStorageMultisampleAdvancedAMDFn;
glRenderbufferStorageMultisampleEXTProc glRenderbufferStorageMultisampleEXTFn;
glRequestExtensionANGLEProc glRequestExtensionANGLEFn;
glResumeTransformFeedbackProc glResumeTransformFeedbackFn;
glSampleCoverageProc glSampleCoverageFn;
glSampleMaskiProc glSampleMaskiFn;
glSamplerParameterfProc glSamplerParameterfFn;
glSamplerParameterfvProc glSamplerParameterfvFn;
glSamplerParameterfvRobustANGLEProc glSamplerParameterfvRobustANGLEFn;
glSamplerParameteriProc glSamplerParameteriFn;
glSamplerParameterIivRobustANGLEProc glSamplerParameterIivRobustANGLEFn;
glSamplerParameterIuivRobustANGLEProc glSamplerParameterIuivRobustANGLEFn;
glSamplerParameterivProc glSamplerParameterivFn;
glSamplerParameterivRobustANGLEProc glSamplerParameterivRobustANGLEFn;
glScissorProc glScissorFn;
glSetFenceAPPLEProc glSetFenceAPPLEFn;
glSetFenceNVProc glSetFenceNVFn;
glShaderBinaryProc glShaderBinaryFn;
glShaderSourceProc glShaderSourceFn;
glSignalSemaphoreEXTProc glSignalSemaphoreEXTFn;
glStencilFillPathInstancedNVProc glStencilFillPathInstancedNVFn;
glStencilFillPathNVProc glStencilFillPathNVFn;
glStencilFuncProc glStencilFuncFn;
glStencilFuncSeparateProc glStencilFuncSeparateFn;
glStencilMaskProc glStencilMaskFn;
glStencilMaskSeparateProc glStencilMaskSeparateFn;
glStencilOpProc glStencilOpFn;
glStencilOpSeparateProc glStencilOpSeparateFn;
glStencilStrokePathInstancedNVProc glStencilStrokePathInstancedNVFn;
glStencilStrokePathNVProc glStencilStrokePathNVFn;
glStencilThenCoverFillPathInstancedNVProc
glStencilThenCoverFillPathInstancedNVFn;
glStencilThenCoverFillPathNVProc glStencilThenCoverFillPathNVFn;
glStencilThenCoverStrokePathInstancedNVProc
glStencilThenCoverStrokePathInstancedNVFn;
glStencilThenCoverStrokePathNVProc glStencilThenCoverStrokePathNVFn;
glTestFenceAPPLEProc glTestFenceAPPLEFn;
glTestFenceNVProc glTestFenceNVFn;
glTexBufferProc glTexBufferFn;
glTexBufferRangeProc glTexBufferRangeFn;
glTexImage2DProc glTexImage2DFn;
glTexImage2DExternalANGLEProc glTexImage2DExternalANGLEFn;
glTexImage2DRobustANGLEProc glTexImage2DRobustANGLEFn;
glTexImage3DProc glTexImage3DFn;
glTexImage3DRobustANGLEProc glTexImage3DRobustANGLEFn;
glTexParameterfProc glTexParameterfFn;
glTexParameterfvProc glTexParameterfvFn;
glTexParameterfvRobustANGLEProc glTexParameterfvRobustANGLEFn;
glTexParameteriProc glTexParameteriFn;
glTexParameterIivRobustANGLEProc glTexParameterIivRobustANGLEFn;
glTexParameterIuivRobustANGLEProc glTexParameterIuivRobustANGLEFn;
glTexParameterivProc glTexParameterivFn;
glTexParameterivRobustANGLEProc glTexParameterivRobustANGLEFn;
glTexStorage2DEXTProc glTexStorage2DEXTFn;
glTexStorage2DMultisampleProc glTexStorage2DMultisampleFn;
glTexStorage3DProc glTexStorage3DFn;
glTexStorageMem2DEXTProc glTexStorageMem2DEXTFn;
glTexSubImage2DProc glTexSubImage2DFn;
glTexSubImage2DRobustANGLEProc glTexSubImage2DRobustANGLEFn;
glTexSubImage3DProc glTexSubImage3DFn;
glTexSubImage3DRobustANGLEProc glTexSubImage3DRobustANGLEFn;
glTransformFeedbackVaryingsProc glTransformFeedbackVaryingsFn;
glUniform1fProc glUniform1fFn;
glUniform1fvProc glUniform1fvFn;
glUniform1iProc glUniform1iFn;
glUniform1ivProc glUniform1ivFn;
glUniform1uiProc glUniform1uiFn;
glUniform1uivProc glUniform1uivFn;
glUniform2fProc glUniform2fFn;
glUniform2fvProc glUniform2fvFn;
glUniform2iProc glUniform2iFn;
glUniform2ivProc glUniform2ivFn;
glUniform2uiProc glUniform2uiFn;
glUniform2uivProc glUniform2uivFn;
glUniform3fProc glUniform3fFn;
glUniform3fvProc glUniform3fvFn;
glUniform3iProc glUniform3iFn;
glUniform3ivProc glUniform3ivFn;
glUniform3uiProc glUniform3uiFn;
glUniform3uivProc glUniform3uivFn;
glUniform4fProc glUniform4fFn;
glUniform4fvProc glUniform4fvFn;
glUniform4iProc glUniform4iFn;
glUniform4ivProc glUniform4ivFn;
glUniform4uiProc glUniform4uiFn;
glUniform4uivProc glUniform4uivFn;
glUniformBlockBindingProc glUniformBlockBindingFn;
glUniformMatrix2fvProc glUniformMatrix2fvFn;
glUniformMatrix2x3fvProc glUniformMatrix2x3fvFn;
glUniformMatrix2x4fvProc glUniformMatrix2x4fvFn;
glUniformMatrix3fvProc glUniformMatrix3fvFn;
glUniformMatrix3x2fvProc glUniformMatrix3x2fvFn;
glUniformMatrix3x4fvProc glUniformMatrix3x4fvFn;
glUniformMatrix4fvProc glUniformMatrix4fvFn;
glUniformMatrix4x2fvProc glUniformMatrix4x2fvFn;
glUniformMatrix4x3fvProc glUniformMatrix4x3fvFn;
glUnmapBufferProc glUnmapBufferFn;
glUseProgramProc glUseProgramFn;
glUseProgramStagesProc glUseProgramStagesFn;
glValidateProgramProc glValidateProgramFn;
glValidateProgramPipelineProc glValidateProgramPipelineFn;
glVertexAttrib1fProc glVertexAttrib1fFn;
glVertexAttrib1fvProc glVertexAttrib1fvFn;
glVertexAttrib2fProc glVertexAttrib2fFn;
glVertexAttrib2fvProc glVertexAttrib2fvFn;
glVertexAttrib3fProc glVertexAttrib3fFn;
glVertexAttrib3fvProc glVertexAttrib3fvFn;
glVertexAttrib4fProc glVertexAttrib4fFn;
glVertexAttrib4fvProc glVertexAttrib4fvFn;
glVertexAttribBindingProc glVertexAttribBindingFn;
glVertexAttribDivisorANGLEProc glVertexAttribDivisorANGLEFn;
glVertexAttribFormatProc glVertexAttribFormatFn;
glVertexAttribI4iProc glVertexAttribI4iFn;
glVertexAttribI4ivProc glVertexAttribI4ivFn;
glVertexAttribI4uiProc glVertexAttribI4uiFn;
glVertexAttribI4uivProc glVertexAttribI4uivFn;
glVertexAttribIFormatProc glVertexAttribIFormatFn;
glVertexAttribIPointerProc glVertexAttribIPointerFn;
glVertexAttribPointerProc glVertexAttribPointerFn;
glVertexBindingDivisorProc glVertexBindingDivisorFn;
glViewportProc glViewportFn;
glWaitSemaphoreEXTProc glWaitSemaphoreEXTFn;
glWaitSyncProc glWaitSyncFn;
glWaitSyncAPPLEProc glWaitSyncAPPLEFn;
glWindowRectanglesEXTProc glWindowRectanglesEXTFn;
};
class GL_EXPORT GLApi {
public:
GLApi();
virtual ~GLApi();
virtual void SetDisabledExtensions(const std::string& disabled_extensions) {}
virtual void glActiveShaderProgramFn(GLuint pipeline, GLuint program) = 0;
virtual void glActiveTextureFn(GLenum texture) = 0;
virtual void glApplyFramebufferAttachmentCMAAINTELFn(void) = 0;
virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0;
virtual void glBeginQueryFn(GLenum target, GLuint id) = 0;
virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0;
virtual void glBindAttribLocationFn(GLuint program,
GLuint index,
const char* name) = 0;
virtual void glBindBufferFn(GLenum target, GLuint buffer) = 0;
virtual void glBindBufferBaseFn(GLenum target,
GLuint index,
GLuint buffer) = 0;
virtual void glBindBufferRangeFn(GLenum target,
GLuint index,
GLuint buffer,
GLintptr offset,
GLsizeiptr size) = 0;
virtual void glBindFragDataLocationFn(GLuint program,
GLuint colorNumber,
const char* name) = 0;
virtual void glBindFragDataLocationIndexedFn(GLuint program,
GLuint colorNumber,
GLuint index,
const char* name) = 0;
virtual void glBindFragmentInputLocationCHROMIUMFn(GLuint program,
GLint location,
const char* name) = 0;
virtual void glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) = 0;
virtual void glBindImageTextureEXTFn(GLuint index,
GLuint texture,
GLint level,
GLboolean layered,
GLint layer,
GLenum access,
GLint format) = 0;
virtual void glBindProgramPipelineFn(GLuint pipeline) = 0;
virtual void glBindRenderbufferEXTFn(GLenum target, GLuint renderbuffer) = 0;
virtual void glBindSamplerFn(GLuint unit, GLuint sampler) = 0;
virtual void glBindTextureFn(GLenum target, GLuint texture) = 0;
virtual void glBindTransformFeedbackFn(GLenum target, GLuint id) = 0;
virtual void glBindUniformLocationCHROMIUMFn(GLuint program,
GLint location,
const char* name) = 0;
virtual void glBindVertexArrayOESFn(GLuint array) = 0;
virtual void glBindVertexBufferFn(GLuint bindingindex,
GLuint buffer,
GLintptr offset,
GLsizei stride) = 0;
virtual void glBlendBarrierKHRFn(void) = 0;
virtual void glBlendColorFn(GLclampf red,
GLclampf green,
GLclampf blue,
GLclampf alpha) = 0;
virtual void glBlendEquationFn(GLenum mode) = 0;
virtual void glBlendEquationSeparateFn(GLenum modeRGB, GLenum modeAlpha) = 0;
virtual void glBlendFuncFn(GLenum sfactor, GLenum dfactor) = 0;
virtual void glBlendFuncSeparateFn(GLenum srcRGB,
GLenum dstRGB,
GLenum srcAlpha,
GLenum dstAlpha) = 0;
virtual void glBlitFramebufferFn(GLint srcX0,
GLint srcY0,
GLint srcX1,
GLint srcY1,
GLint dstX0,
GLint dstY0,
GLint dstX1,
GLint dstY1,
GLbitfield mask,
GLenum filter) = 0;
virtual void glBufferDataFn(GLenum target,
GLsizeiptr size,
const void* data,
GLenum usage) = 0;
virtual void glBufferSubDataFn(GLenum target,
GLintptr offset,
GLsizeiptr size,
const void* data) = 0;
virtual GLenum glCheckFramebufferStatusEXTFn(GLenum target) = 0;
virtual void glClearFn(GLbitfield mask) = 0;
virtual void glClearBufferfiFn(GLenum buffer,
GLint drawbuffer,
const GLfloat depth,
GLint stencil) = 0;
virtual void glClearBufferfvFn(GLenum buffer,
GLint drawbuffer,
const GLfloat* value) = 0;
virtual void glClearBufferivFn(GLenum buffer,
GLint drawbuffer,
const GLint* value) = 0;
virtual void glClearBufferuivFn(GLenum buffer,
GLint drawbuffer,
const GLuint* value) = 0;
virtual void glClearColorFn(GLclampf red,
GLclampf green,
GLclampf blue,