1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
11 #ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
12 #define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
18 typedef void(GL_BINDING_CALL
* glActiveTextureProc
)(GLenum texture
);
19 typedef void(GL_BINDING_CALL
* glAttachShaderProc
)(GLuint program
,
21 typedef void(GL_BINDING_CALL
* glBeginQueryProc
)(GLenum target
, GLuint id
);
22 typedef void(GL_BINDING_CALL
* glBeginTransformFeedbackProc
)(
23 GLenum primitiveMode
);
24 typedef void(GL_BINDING_CALL
* glBindAttribLocationProc
)(GLuint program
,
27 typedef void(GL_BINDING_CALL
* glBindBufferProc
)(GLenum target
, GLuint buffer
);
28 typedef void(GL_BINDING_CALL
* glBindBufferBaseProc
)(GLenum target
,
31 typedef void(GL_BINDING_CALL
* glBindBufferRangeProc
)(GLenum target
,
36 typedef void(GL_BINDING_CALL
* glBindFragDataLocationProc
)(GLuint program
,
39 typedef void(GL_BINDING_CALL
* glBindFragDataLocationIndexedProc
)(
44 typedef void(GL_BINDING_CALL
* glBindFramebufferEXTProc
)(GLenum target
,
46 typedef void(GL_BINDING_CALL
* glBindRenderbufferEXTProc
)(GLenum target
,
48 typedef void(GL_BINDING_CALL
* glBindSamplerProc
)(GLuint unit
, GLuint sampler
);
49 typedef void(GL_BINDING_CALL
* glBindTextureProc
)(GLenum target
, GLuint texture
);
50 typedef void(GL_BINDING_CALL
* glBindTransformFeedbackProc
)(GLenum target
,
52 typedef void(GL_BINDING_CALL
* glBindVertexArrayOESProc
)(GLuint array
);
53 typedef void(GL_BINDING_CALL
* glBlendBarrierKHRProc
)(void);
54 typedef void(GL_BINDING_CALL
* glBlendColorProc
)(GLclampf red
,
58 typedef void(GL_BINDING_CALL
* glBlendEquationProc
)(GLenum mode
);
59 typedef void(GL_BINDING_CALL
* glBlendEquationSeparateProc
)(GLenum modeRGB
,
61 typedef void(GL_BINDING_CALL
* glBlendFuncProc
)(GLenum sfactor
, GLenum dfactor
);
62 typedef void(GL_BINDING_CALL
* glBlendFuncSeparateProc
)(GLenum srcRGB
,
66 typedef void(GL_BINDING_CALL
* glBlitFramebufferProc
)(GLint srcX0
,
76 typedef void(GL_BINDING_CALL
* glBlitFramebufferANGLEProc
)(GLint srcX0
,
86 typedef void(GL_BINDING_CALL
* glBlitFramebufferEXTProc
)(GLint srcX0
,
96 typedef void(GL_BINDING_CALL
* glBufferDataProc
)(GLenum target
,
100 typedef void(GL_BINDING_CALL
* glBufferSubDataProc
)(GLenum target
,
104 typedef GLenum(GL_BINDING_CALL
* glCheckFramebufferStatusEXTProc
)(GLenum target
);
105 typedef void(GL_BINDING_CALL
* glClearProc
)(GLbitfield mask
);
106 typedef void(GL_BINDING_CALL
* glClearBufferfiProc
)(GLenum buffer
,
110 typedef void(GL_BINDING_CALL
* glClearBufferfvProc
)(GLenum buffer
,
112 const GLfloat
* value
);
113 typedef void(GL_BINDING_CALL
* glClearBufferivProc
)(GLenum buffer
,
116 typedef void(GL_BINDING_CALL
* glClearBufferuivProc
)(GLenum buffer
,
118 const GLuint
* value
);
119 typedef void(GL_BINDING_CALL
* glClearColorProc
)(GLclampf red
,
123 typedef void(GL_BINDING_CALL
* glClearDepthProc
)(GLclampd depth
);
124 typedef void(GL_BINDING_CALL
* glClearDepthfProc
)(GLclampf depth
);
125 typedef void(GL_BINDING_CALL
* glClearStencilProc
)(GLint s
);
126 typedef GLenum(GL_BINDING_CALL
* glClientWaitSyncProc
)(GLsync sync
,
129 typedef void(GL_BINDING_CALL
* glColorMaskProc
)(GLboolean red
,
133 typedef void(GL_BINDING_CALL
* glCompileShaderProc
)(GLuint shader
);
134 typedef void(GL_BINDING_CALL
* glCompressedTexImage2DProc
)(GLenum target
,
136 GLenum internalformat
,
142 typedef void(GL_BINDING_CALL
* glCompressedTexImage3DProc
)(GLenum target
,
144 GLenum internalformat
,
151 typedef void(GL_BINDING_CALL
* glCompressedTexSubImage2DProc
)(GLenum target
,
160 typedef void(GL_BINDING_CALL
* glCopyBufferSubDataProc
)(GLenum readTarget
,
163 GLintptr writeOffset
,
165 typedef void(GL_BINDING_CALL
* glCopyTexImage2DProc
)(GLenum target
,
167 GLenum internalformat
,
173 typedef void(GL_BINDING_CALL
* glCopyTexSubImage2DProc
)(GLenum target
,
181 typedef void(GL_BINDING_CALL
* glCopyTexSubImage3DProc
)(GLenum target
,
190 typedef GLuint(GL_BINDING_CALL
* glCreateProgramProc
)(void);
191 typedef GLuint(GL_BINDING_CALL
* glCreateShaderProc
)(GLenum type
);
192 typedef void(GL_BINDING_CALL
* glCullFaceProc
)(GLenum mode
);
193 typedef void(GL_BINDING_CALL
* glDeleteBuffersARBProc
)(GLsizei n
,
194 const GLuint
* buffers
);
195 typedef void(GL_BINDING_CALL
* glDeleteFencesAPPLEProc
)(GLsizei n
,
196 const GLuint
* fences
);
197 typedef void(GL_BINDING_CALL
* glDeleteFencesNVProc
)(GLsizei n
,
198 const GLuint
* fences
);
199 typedef void(GL_BINDING_CALL
* glDeleteFramebuffersEXTProc
)(
201 const GLuint
* framebuffers
);
202 typedef void(GL_BINDING_CALL
* glDeleteProgramProc
)(GLuint program
);
203 typedef void(GL_BINDING_CALL
* glDeleteQueriesProc
)(GLsizei n
,
205 typedef void(GL_BINDING_CALL
* glDeleteRenderbuffersEXTProc
)(
207 const GLuint
* renderbuffers
);
208 typedef void(GL_BINDING_CALL
* glDeleteSamplersProc
)(GLsizei n
,
209 const GLuint
* samplers
);
210 typedef void(GL_BINDING_CALL
* glDeleteShaderProc
)(GLuint shader
);
211 typedef void(GL_BINDING_CALL
* glDeleteSyncProc
)(GLsync sync
);
212 typedef void(GL_BINDING_CALL
* glDeleteTexturesProc
)(GLsizei n
,
213 const GLuint
* textures
);
214 typedef void(GL_BINDING_CALL
* glDeleteTransformFeedbacksProc
)(
217 typedef void(GL_BINDING_CALL
* glDeleteVertexArraysOESProc
)(
219 const GLuint
* arrays
);
220 typedef void(GL_BINDING_CALL
* glDepthFuncProc
)(GLenum func
);
221 typedef void(GL_BINDING_CALL
* glDepthMaskProc
)(GLboolean flag
);
222 typedef void(GL_BINDING_CALL
* glDepthRangeProc
)(GLclampd zNear
, GLclampd zFar
);
223 typedef void(GL_BINDING_CALL
* glDepthRangefProc
)(GLclampf zNear
, GLclampf zFar
);
224 typedef void(GL_BINDING_CALL
* glDetachShaderProc
)(GLuint program
,
226 typedef void(GL_BINDING_CALL
* glDisableProc
)(GLenum cap
);
227 typedef void(GL_BINDING_CALL
* glDisableVertexAttribArrayProc
)(GLuint index
);
228 typedef void(GL_BINDING_CALL
* glDiscardFramebufferEXTProc
)(
230 GLsizei numAttachments
,
231 const GLenum
* attachments
);
232 typedef void(GL_BINDING_CALL
* glDrawArraysProc
)(GLenum mode
,
235 typedef void(GL_BINDING_CALL
* glDrawArraysInstancedANGLEProc
)(
240 typedef void(GL_BINDING_CALL
* glDrawBufferProc
)(GLenum mode
);
241 typedef void(GL_BINDING_CALL
* glDrawBuffersARBProc
)(GLsizei n
,
243 typedef void(GL_BINDING_CALL
* glDrawElementsProc
)(GLenum mode
,
246 const void* indices
);
247 typedef void(GL_BINDING_CALL
* glDrawElementsInstancedANGLEProc
)(
253 typedef void(GL_BINDING_CALL
* glDrawRangeElementsProc
)(GLenum mode
,
258 const void* indices
);
259 typedef void(GL_BINDING_CALL
* glEGLImageTargetRenderbufferStorageOESProc
)(
261 GLeglImageOES image
);
262 typedef void(GL_BINDING_CALL
* glEGLImageTargetTexture2DOESProc
)(
264 GLeglImageOES image
);
265 typedef void(GL_BINDING_CALL
* glEnableProc
)(GLenum cap
);
266 typedef void(GL_BINDING_CALL
* glEnableVertexAttribArrayProc
)(GLuint index
);
267 typedef void(GL_BINDING_CALL
* glEndQueryProc
)(GLenum target
);
268 typedef void(GL_BINDING_CALL
* glEndTransformFeedbackProc
)(void);
269 typedef GLsync(GL_BINDING_CALL
* glFenceSyncProc
)(GLenum condition
,
271 typedef void(GL_BINDING_CALL
* glFinishProc
)(void);
272 typedef void(GL_BINDING_CALL
* glFinishFenceAPPLEProc
)(GLuint fence
);
273 typedef void(GL_BINDING_CALL
* glFinishFenceNVProc
)(GLuint fence
);
274 typedef void(GL_BINDING_CALL
* glFlushProc
)(void);
275 typedef void(GL_BINDING_CALL
* glFlushMappedBufferRangeProc
)(GLenum target
,
278 typedef void(GL_BINDING_CALL
* glFramebufferRenderbufferEXTProc
)(
281 GLenum renderbuffertarget
,
282 GLuint renderbuffer
);
283 typedef void(GL_BINDING_CALL
* glFramebufferTexture2DEXTProc
)(GLenum target
,
288 typedef void(GL_BINDING_CALL
* glFramebufferTexture2DMultisampleEXTProc
)(
295 typedef void(GL_BINDING_CALL
* glFramebufferTexture2DMultisampleIMGProc
)(
302 typedef void(GL_BINDING_CALL
* glFramebufferTextureLayerProc
)(GLenum target
,
307 typedef void(GL_BINDING_CALL
* glFrontFaceProc
)(GLenum mode
);
308 typedef void(GL_BINDING_CALL
* glGenBuffersARBProc
)(GLsizei n
, GLuint
* buffers
);
309 typedef void(GL_BINDING_CALL
* glGenerateMipmapEXTProc
)(GLenum target
);
310 typedef void(GL_BINDING_CALL
* glGenFencesAPPLEProc
)(GLsizei n
, GLuint
* fences
);
311 typedef void(GL_BINDING_CALL
* glGenFencesNVProc
)(GLsizei n
, GLuint
* fences
);
312 typedef void(GL_BINDING_CALL
* glGenFramebuffersEXTProc
)(GLsizei n
,
313 GLuint
* framebuffers
);
314 typedef void(GL_BINDING_CALL
* glGenQueriesProc
)(GLsizei n
, GLuint
* ids
);
315 typedef void(GL_BINDING_CALL
* glGenRenderbuffersEXTProc
)(GLsizei n
,
316 GLuint
* renderbuffers
);
317 typedef void(GL_BINDING_CALL
* glGenSamplersProc
)(GLsizei n
, GLuint
* samplers
);
318 typedef void(GL_BINDING_CALL
* glGenTexturesProc
)(GLsizei n
, GLuint
* textures
);
319 typedef void(GL_BINDING_CALL
* glGenTransformFeedbacksProc
)(GLsizei n
,
321 typedef void(GL_BINDING_CALL
* glGenVertexArraysOESProc
)(GLsizei n
,
323 typedef void(GL_BINDING_CALL
* glGetActiveAttribProc
)(GLuint program
,
330 typedef void(GL_BINDING_CALL
* glGetActiveUniformProc
)(GLuint program
,
337 typedef void(GL_BINDING_CALL
* glGetActiveUniformBlockivProc
)(
339 GLuint uniformBlockIndex
,
342 typedef void(GL_BINDING_CALL
* glGetActiveUniformBlockNameProc
)(
344 GLuint uniformBlockIndex
,
347 char* uniformBlockName
);
348 typedef void(GL_BINDING_CALL
* glGetActiveUniformsivProc
)(
350 GLsizei uniformCount
,
351 const GLuint
* uniformIndices
,
354 typedef void(GL_BINDING_CALL
* glGetAttachedShadersProc
)(GLuint program
,
358 typedef GLint(GL_BINDING_CALL
* glGetAttribLocationProc
)(GLuint program
,
360 typedef void(GL_BINDING_CALL
* glGetBooleanvProc
)(GLenum pname
,
362 typedef void(GL_BINDING_CALL
* glGetBufferParameterivProc
)(GLenum target
,
365 typedef GLenum(GL_BINDING_CALL
* glGetErrorProc
)(void);
366 typedef void(GL_BINDING_CALL
* glGetFenceivNVProc
)(GLuint fence
,
369 typedef void(GL_BINDING_CALL
* glGetFloatvProc
)(GLenum pname
, GLfloat
* params
);
370 typedef GLint(GL_BINDING_CALL
* glGetFragDataLocationProc
)(GLuint program
,
372 typedef void(GL_BINDING_CALL
* glGetFramebufferAttachmentParameterivEXTProc
)(
377 typedef GLenum(GL_BINDING_CALL
* glGetGraphicsResetStatusARBProc
)(void);
378 typedef void(GL_BINDING_CALL
* glGetInteger64i_vProc
)(GLenum target
,
381 typedef void(GL_BINDING_CALL
* glGetInteger64vProc
)(GLenum pname
,
383 typedef void(GL_BINDING_CALL
* glGetIntegeri_vProc
)(GLenum target
,
386 typedef void(GL_BINDING_CALL
* glGetIntegervProc
)(GLenum pname
, GLint
* params
);
387 typedef void(GL_BINDING_CALL
* glGetInternalformativProc
)(GLenum target
,
388 GLenum internalformat
,
392 typedef void(GL_BINDING_CALL
* glGetProgramBinaryProc
)(GLuint program
,
395 GLenum
* binaryFormat
,
397 typedef void(GL_BINDING_CALL
* glGetProgramInfoLogProc
)(GLuint program
,
401 typedef void(GL_BINDING_CALL
* glGetProgramivProc
)(GLuint program
,
404 typedef GLint(GL_BINDING_CALL
* glGetProgramResourceLocationProc
)(
406 GLenum programInterface
,
408 typedef void(GL_BINDING_CALL
* glGetQueryivProc
)(GLenum target
,
411 typedef void(GL_BINDING_CALL
* glGetQueryObjecti64vProc
)(GLuint id
,
414 typedef void(GL_BINDING_CALL
* glGetQueryObjectivProc
)(GLuint id
,
417 typedef void(GL_BINDING_CALL
* glGetQueryObjectui64vProc
)(GLuint id
,
420 typedef void(GL_BINDING_CALL
* glGetQueryObjectuivProc
)(GLuint id
,
423 typedef void(GL_BINDING_CALL
* glGetRenderbufferParameterivEXTProc
)(
427 typedef void(GL_BINDING_CALL
* glGetSamplerParameterfvProc
)(GLuint sampler
,
430 typedef void(GL_BINDING_CALL
* glGetSamplerParameterivProc
)(GLuint sampler
,
433 typedef void(GL_BINDING_CALL
* glGetShaderInfoLogProc
)(GLuint shader
,
437 typedef void(GL_BINDING_CALL
* glGetShaderivProc
)(GLuint shader
,
440 typedef void(GL_BINDING_CALL
* glGetShaderPrecisionFormatProc
)(
442 GLenum precisiontype
,
445 typedef void(GL_BINDING_CALL
* glGetShaderSourceProc
)(GLuint shader
,
449 typedef const GLubyte
*(GL_BINDING_CALL
* glGetStringProc
)(GLenum name
);
450 typedef const GLubyte
*(GL_BINDING_CALL
* glGetStringiProc
)(GLenum name
,
452 typedef void(GL_BINDING_CALL
* glGetSyncivProc
)(GLsync sync
,
457 typedef void(GL_BINDING_CALL
* glGetTexLevelParameterfvProc
)(GLenum target
,
461 typedef void(GL_BINDING_CALL
* glGetTexLevelParameterivProc
)(GLenum target
,
465 typedef void(GL_BINDING_CALL
* glGetTexParameterfvProc
)(GLenum target
,
468 typedef void(GL_BINDING_CALL
* glGetTexParameterivProc
)(GLenum target
,
471 typedef void(GL_BINDING_CALL
* glGetTransformFeedbackVaryingProc
)(
479 typedef void(GL_BINDING_CALL
* glGetTranslatedShaderSourceANGLEProc
)(
484 typedef GLuint(GL_BINDING_CALL
* glGetUniformBlockIndexProc
)(
486 const char* uniformBlockName
);
487 typedef void(GL_BINDING_CALL
* glGetUniformfvProc
)(GLuint program
,
490 typedef void(GL_BINDING_CALL
* glGetUniformIndicesProc
)(
492 GLsizei uniformCount
,
493 const char* const* uniformNames
,
494 GLuint
* uniformIndices
);
495 typedef void(GL_BINDING_CALL
* glGetUniformivProc
)(GLuint program
,
498 typedef GLint(GL_BINDING_CALL
* glGetUniformLocationProc
)(GLuint program
,
500 typedef void(GL_BINDING_CALL
* glGetVertexAttribfvProc
)(GLuint index
,
503 typedef void(GL_BINDING_CALL
* glGetVertexAttribivProc
)(GLuint index
,
506 typedef void(GL_BINDING_CALL
* glGetVertexAttribPointervProc
)(GLuint index
,
509 typedef void(GL_BINDING_CALL
* glHintProc
)(GLenum target
, GLenum mode
);
510 typedef void(GL_BINDING_CALL
* glInsertEventMarkerEXTProc
)(GLsizei length
,
512 typedef void(GL_BINDING_CALL
* glInvalidateFramebufferProc
)(
514 GLsizei numAttachments
,
515 const GLenum
* attachments
);
516 typedef void(GL_BINDING_CALL
* glInvalidateSubFramebufferProc
)(
518 GLsizei numAttachments
,
519 const GLenum
* attachments
,
524 typedef GLboolean(GL_BINDING_CALL
* glIsBufferProc
)(GLuint buffer
);
525 typedef GLboolean(GL_BINDING_CALL
* glIsEnabledProc
)(GLenum cap
);
526 typedef GLboolean(GL_BINDING_CALL
* glIsFenceAPPLEProc
)(GLuint fence
);
527 typedef GLboolean(GL_BINDING_CALL
* glIsFenceNVProc
)(GLuint fence
);
528 typedef GLboolean(GL_BINDING_CALL
* glIsFramebufferEXTProc
)(GLuint framebuffer
);
529 typedef GLboolean(GL_BINDING_CALL
* glIsProgramProc
)(GLuint program
);
530 typedef GLboolean(GL_BINDING_CALL
* glIsQueryProc
)(GLuint query
);
531 typedef GLboolean(GL_BINDING_CALL
* glIsRenderbufferEXTProc
)(
532 GLuint renderbuffer
);
533 typedef GLboolean(GL_BINDING_CALL
* glIsSamplerProc
)(GLuint sampler
);
534 typedef GLboolean(GL_BINDING_CALL
* glIsShaderProc
)(GLuint shader
);
535 typedef GLboolean(GL_BINDING_CALL
* glIsSyncProc
)(GLsync sync
);
536 typedef GLboolean(GL_BINDING_CALL
* glIsTextureProc
)(GLuint texture
);
537 typedef GLboolean(GL_BINDING_CALL
* glIsTransformFeedbackProc
)(GLuint id
);
538 typedef GLboolean(GL_BINDING_CALL
* glIsVertexArrayOESProc
)(GLuint array
);
539 typedef void(GL_BINDING_CALL
* glLineWidthProc
)(GLfloat width
);
540 typedef void(GL_BINDING_CALL
* glLinkProgramProc
)(GLuint program
);
541 typedef void*(GL_BINDING_CALL
* glMapBufferProc
)(GLenum target
, GLenum access
);
542 typedef void*(GL_BINDING_CALL
* glMapBufferRangeProc
)(GLenum target
,
546 typedef void(GL_BINDING_CALL
* glMatrixLoadfEXTProc
)(GLenum matrixMode
,
548 typedef void(GL_BINDING_CALL
* glMatrixLoadIdentityEXTProc
)(GLenum matrixMode
);
549 typedef void(GL_BINDING_CALL
* glPauseTransformFeedbackProc
)(void);
550 typedef void(GL_BINDING_CALL
* glPixelStoreiProc
)(GLenum pname
, GLint param
);
551 typedef void(GL_BINDING_CALL
* glPointParameteriProc
)(GLenum pname
, GLint param
);
552 typedef void(GL_BINDING_CALL
* glPolygonOffsetProc
)(GLfloat factor
,
554 typedef void(GL_BINDING_CALL
* glPopGroupMarkerEXTProc
)(void);
555 typedef void(GL_BINDING_CALL
* glProgramBinaryProc
)(GLuint program
,
557 const GLvoid
* binary
,
559 typedef void(GL_BINDING_CALL
* glProgramParameteriProc
)(GLuint program
,
562 typedef void(GL_BINDING_CALL
* glPushGroupMarkerEXTProc
)(GLsizei length
,
564 typedef void(GL_BINDING_CALL
* glQueryCounterProc
)(GLuint id
, GLenum target
);
565 typedef void(GL_BINDING_CALL
* glReadBufferProc
)(GLenum src
);
566 typedef void(GL_BINDING_CALL
* glReadPixelsProc
)(GLint x
,
573 typedef void(GL_BINDING_CALL
* glReleaseShaderCompilerProc
)(void);
574 typedef void(GL_BINDING_CALL
* glRenderbufferStorageEXTProc
)(
576 GLenum internalformat
,
579 typedef void(GL_BINDING_CALL
* glRenderbufferStorageMultisampleProc
)(
582 GLenum internalformat
,
585 typedef void(GL_BINDING_CALL
* glRenderbufferStorageMultisampleANGLEProc
)(
588 GLenum internalformat
,
591 typedef void(GL_BINDING_CALL
* glRenderbufferStorageMultisampleEXTProc
)(
594 GLenum internalformat
,
597 typedef void(GL_BINDING_CALL
* glRenderbufferStorageMultisampleIMGProc
)(
600 GLenum internalformat
,
603 typedef void(GL_BINDING_CALL
* glResumeTransformFeedbackProc
)(void);
604 typedef void(GL_BINDING_CALL
* glSampleCoverageProc
)(GLclampf value
,
606 typedef void(GL_BINDING_CALL
* glSamplerParameterfProc
)(GLuint sampler
,
609 typedef void(GL_BINDING_CALL
* glSamplerParameterfvProc
)(GLuint sampler
,
611 const GLfloat
* params
);
612 typedef void(GL_BINDING_CALL
* glSamplerParameteriProc
)(GLuint sampler
,
615 typedef void(GL_BINDING_CALL
* glSamplerParameterivProc
)(GLuint sampler
,
617 const GLint
* params
);
618 typedef void(GL_BINDING_CALL
* glScissorProc
)(GLint x
,
622 typedef void(GL_BINDING_CALL
* glSetFenceAPPLEProc
)(GLuint fence
);
623 typedef void(GL_BINDING_CALL
* glSetFenceNVProc
)(GLuint fence
, GLenum condition
);
624 typedef void(GL_BINDING_CALL
* glShaderBinaryProc
)(GLsizei n
,
625 const GLuint
* shaders
,
629 typedef void(GL_BINDING_CALL
* glShaderSourceProc
)(GLuint shader
,
631 const char* const* str
,
632 const GLint
* length
);
633 typedef void(GL_BINDING_CALL
* glStencilFuncProc
)(GLenum func
,
636 typedef void(GL_BINDING_CALL
* glStencilFuncSeparateProc
)(GLenum face
,
640 typedef void(GL_BINDING_CALL
* glStencilMaskProc
)(GLuint mask
);
641 typedef void(GL_BINDING_CALL
* glStencilMaskSeparateProc
)(GLenum face
,
643 typedef void(GL_BINDING_CALL
* glStencilOpProc
)(GLenum fail
,
646 typedef void(GL_BINDING_CALL
* glStencilOpSeparateProc
)(GLenum face
,
650 typedef GLboolean(GL_BINDING_CALL
* glTestFenceAPPLEProc
)(GLuint fence
);
651 typedef GLboolean(GL_BINDING_CALL
* glTestFenceNVProc
)(GLuint fence
);
652 typedef void(GL_BINDING_CALL
* glTexImage2DProc
)(GLenum target
,
654 GLint internalformat
,
661 typedef void(GL_BINDING_CALL
* glTexImage3DProc
)(GLenum target
,
663 GLint internalformat
,
671 typedef void(GL_BINDING_CALL
* glTexParameterfProc
)(GLenum target
,
674 typedef void(GL_BINDING_CALL
* glTexParameterfvProc
)(GLenum target
,
676 const GLfloat
* params
);
677 typedef void(GL_BINDING_CALL
* glTexParameteriProc
)(GLenum target
,
680 typedef void(GL_BINDING_CALL
* glTexParameterivProc
)(GLenum target
,
682 const GLint
* params
);
683 typedef void(GL_BINDING_CALL
* glTexStorage2DEXTProc
)(GLenum target
,
685 GLenum internalformat
,
688 typedef void(GL_BINDING_CALL
* glTexStorage3DProc
)(GLenum target
,
690 GLenum internalformat
,
694 typedef void(GL_BINDING_CALL
* glTexSubImage2DProc
)(GLenum target
,
703 typedef void(GL_BINDING_CALL
* glTransformFeedbackVaryingsProc
)(
706 const char* const* varyings
,
708 typedef void(GL_BINDING_CALL
* glUniform1fProc
)(GLint location
, GLfloat x
);
709 typedef void(GL_BINDING_CALL
* glUniform1fvProc
)(GLint location
,
712 typedef void(GL_BINDING_CALL
* glUniform1iProc
)(GLint location
, GLint x
);
713 typedef void(GL_BINDING_CALL
* glUniform1ivProc
)(GLint location
,
716 typedef void(GL_BINDING_CALL
* glUniform1uiProc
)(GLint location
, GLuint v0
);
717 typedef void(GL_BINDING_CALL
* glUniform1uivProc
)(GLint location
,
720 typedef void(GL_BINDING_CALL
* glUniform2fProc
)(GLint location
,
723 typedef void(GL_BINDING_CALL
* glUniform2fvProc
)(GLint location
,
726 typedef void(GL_BINDING_CALL
* glUniform2iProc
)(GLint location
,
729 typedef void(GL_BINDING_CALL
* glUniform2ivProc
)(GLint location
,
732 typedef void(GL_BINDING_CALL
* glUniform2uiProc
)(GLint location
,
735 typedef void(GL_BINDING_CALL
* glUniform2uivProc
)(GLint location
,
738 typedef void(GL_BINDING_CALL
* glUniform3fProc
)(GLint location
,
742 typedef void(GL_BINDING_CALL
* glUniform3fvProc
)(GLint location
,
745 typedef void(GL_BINDING_CALL
* glUniform3iProc
)(GLint location
,
749 typedef void(GL_BINDING_CALL
* glUniform3ivProc
)(GLint location
,
752 typedef void(GL_BINDING_CALL
* glUniform3uiProc
)(GLint location
,
756 typedef void(GL_BINDING_CALL
* glUniform3uivProc
)(GLint location
,
759 typedef void(GL_BINDING_CALL
* glUniform4fProc
)(GLint location
,
764 typedef void(GL_BINDING_CALL
* glUniform4fvProc
)(GLint location
,
767 typedef void(GL_BINDING_CALL
* glUniform4iProc
)(GLint location
,
772 typedef void(GL_BINDING_CALL
* glUniform4ivProc
)(GLint location
,
775 typedef void(GL_BINDING_CALL
* glUniform4uiProc
)(GLint location
,
780 typedef void(GL_BINDING_CALL
* glUniform4uivProc
)(GLint location
,
783 typedef void(GL_BINDING_CALL
* glUniformBlockBindingProc
)(
785 GLuint uniformBlockIndex
,
786 GLuint uniformBlockBinding
);
787 typedef void(GL_BINDING_CALL
* glUniformMatrix2fvProc
)(GLint location
,
790 const GLfloat
* value
);
791 typedef void(GL_BINDING_CALL
* glUniformMatrix2x3fvProc
)(GLint location
,
794 const GLfloat
* value
);
795 typedef void(GL_BINDING_CALL
* glUniformMatrix2x4fvProc
)(GLint location
,
798 const GLfloat
* value
);
799 typedef void(GL_BINDING_CALL
* glUniformMatrix3fvProc
)(GLint location
,
802 const GLfloat
* value
);
803 typedef void(GL_BINDING_CALL
* glUniformMatrix3x2fvProc
)(GLint location
,
806 const GLfloat
* value
);
807 typedef void(GL_BINDING_CALL
* glUniformMatrix3x4fvProc
)(GLint location
,
810 const GLfloat
* value
);
811 typedef void(GL_BINDING_CALL
* glUniformMatrix4fvProc
)(GLint location
,
814 const GLfloat
* value
);
815 typedef void(GL_BINDING_CALL
* glUniformMatrix4x2fvProc
)(GLint location
,
818 const GLfloat
* value
);
819 typedef void(GL_BINDING_CALL
* glUniformMatrix4x3fvProc
)(GLint location
,
822 const GLfloat
* value
);
823 typedef GLboolean(GL_BINDING_CALL
* glUnmapBufferProc
)(GLenum target
);
824 typedef void(GL_BINDING_CALL
* glUseProgramProc
)(GLuint program
);
825 typedef void(GL_BINDING_CALL
* glValidateProgramProc
)(GLuint program
);
826 typedef void(GL_BINDING_CALL
* glVertexAttrib1fProc
)(GLuint indx
, GLfloat x
);
827 typedef void(GL_BINDING_CALL
* glVertexAttrib1fvProc
)(GLuint indx
,
828 const GLfloat
* values
);
829 typedef void(GL_BINDING_CALL
* glVertexAttrib2fProc
)(GLuint indx
,
832 typedef void(GL_BINDING_CALL
* glVertexAttrib2fvProc
)(GLuint indx
,
833 const GLfloat
* values
);
834 typedef void(GL_BINDING_CALL
* glVertexAttrib3fProc
)(GLuint indx
,
838 typedef void(GL_BINDING_CALL
* glVertexAttrib3fvProc
)(GLuint indx
,
839 const GLfloat
* values
);
840 typedef void(GL_BINDING_CALL
* glVertexAttrib4fProc
)(GLuint indx
,
845 typedef void(GL_BINDING_CALL
* glVertexAttrib4fvProc
)(GLuint indx
,
846 const GLfloat
* values
);
847 typedef void(GL_BINDING_CALL
* glVertexAttribDivisorANGLEProc
)(GLuint index
,
849 typedef void(GL_BINDING_CALL
* glVertexAttribI4iProc
)(GLuint indx
,
854 typedef void(GL_BINDING_CALL
* glVertexAttribI4ivProc
)(GLuint indx
,
855 const GLint
* values
);
856 typedef void(GL_BINDING_CALL
* glVertexAttribI4uiProc
)(GLuint indx
,
861 typedef void(GL_BINDING_CALL
* glVertexAttribI4uivProc
)(GLuint indx
,
862 const GLuint
* values
);
863 typedef void(GL_BINDING_CALL
* glVertexAttribIPointerProc
)(GLuint indx
,
868 typedef void(GL_BINDING_CALL
* glVertexAttribPointerProc
)(GLuint indx
,
871 GLboolean normalized
,
874 typedef void(GL_BINDING_CALL
* glViewportProc
)(GLint x
,
878 typedef GLenum(GL_BINDING_CALL
* glWaitSyncProc
)(GLsync sync
,
882 struct ExtensionsGL
{
883 bool b_GL_ANGLE_framebuffer_blit
;
884 bool b_GL_ANGLE_framebuffer_multisample
;
885 bool b_GL_ANGLE_instanced_arrays
;
886 bool b_GL_ANGLE_translated_shader_source
;
887 bool b_GL_APPLE_fence
;
888 bool b_GL_APPLE_vertex_array_object
;
889 bool b_GL_ARB_draw_buffers
;
890 bool b_GL_ARB_draw_instanced
;
891 bool b_GL_ARB_get_program_binary
;
892 bool b_GL_ARB_instanced_arrays
;
893 bool b_GL_ARB_map_buffer_range
;
894 bool b_GL_ARB_occlusion_query
;
895 bool b_GL_ARB_robustness
;
897 bool b_GL_ARB_texture_storage
;
898 bool b_GL_ARB_timer_query
;
899 bool b_GL_ARB_vertex_array_object
;
900 bool b_GL_CHROMIUM_gles_depth_binding_hack
;
901 bool b_GL_CHROMIUM_glgetstringi_hack
;
902 bool b_GL_EXT_debug_marker
;
903 bool b_GL_EXT_direct_state_access
;
904 bool b_GL_EXT_discard_framebuffer
;
905 bool b_GL_EXT_disjoint_timer_query
;
906 bool b_GL_EXT_draw_buffers
;
907 bool b_GL_EXT_framebuffer_blit
;
908 bool b_GL_EXT_framebuffer_multisample
;
909 bool b_GL_EXT_framebuffer_object
;
910 bool b_GL_EXT_map_buffer_range
;
911 bool b_GL_EXT_multisampled_render_to_texture
;
912 bool b_GL_EXT_occlusion_query_boolean
;
913 bool b_GL_EXT_robustness
;
914 bool b_GL_EXT_texture_storage
;
915 bool b_GL_EXT_timer_query
;
916 bool b_GL_IMG_multisampled_render_to_texture
;
917 bool b_GL_KHR_blend_equation_advanced
;
918 bool b_GL_KHR_robustness
;
919 bool b_GL_NV_blend_equation_advanced
;
921 bool b_GL_NV_path_rendering
;
922 bool b_GL_OES_EGL_image
;
923 bool b_GL_OES_get_program_binary
;
924 bool b_GL_OES_mapbuffer
;
925 bool b_GL_OES_vertex_array_object
;
929 glActiveTextureProc glActiveTextureFn
;
930 glAttachShaderProc glAttachShaderFn
;
931 glBeginQueryProc glBeginQueryFn
;
932 glBeginTransformFeedbackProc glBeginTransformFeedbackFn
;
933 glBindAttribLocationProc glBindAttribLocationFn
;
934 glBindBufferProc glBindBufferFn
;
935 glBindBufferBaseProc glBindBufferBaseFn
;
936 glBindBufferRangeProc glBindBufferRangeFn
;
937 glBindFragDataLocationProc glBindFragDataLocationFn
;
938 glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn
;
939 glBindFramebufferEXTProc glBindFramebufferEXTFn
;
940 glBindRenderbufferEXTProc glBindRenderbufferEXTFn
;
941 glBindSamplerProc glBindSamplerFn
;
942 glBindTextureProc glBindTextureFn
;
943 glBindTransformFeedbackProc glBindTransformFeedbackFn
;
944 glBindVertexArrayOESProc glBindVertexArrayOESFn
;
945 glBlendBarrierKHRProc glBlendBarrierKHRFn
;
946 glBlendColorProc glBlendColorFn
;
947 glBlendEquationProc glBlendEquationFn
;
948 glBlendEquationSeparateProc glBlendEquationSeparateFn
;
949 glBlendFuncProc glBlendFuncFn
;
950 glBlendFuncSeparateProc glBlendFuncSeparateFn
;
951 glBlitFramebufferProc glBlitFramebufferFn
;
952 glBlitFramebufferANGLEProc glBlitFramebufferANGLEFn
;
953 glBlitFramebufferEXTProc glBlitFramebufferEXTFn
;
954 glBufferDataProc glBufferDataFn
;
955 glBufferSubDataProc glBufferSubDataFn
;
956 glCheckFramebufferStatusEXTProc glCheckFramebufferStatusEXTFn
;
957 glClearProc glClearFn
;
958 glClearBufferfiProc glClearBufferfiFn
;
959 glClearBufferfvProc glClearBufferfvFn
;
960 glClearBufferivProc glClearBufferivFn
;
961 glClearBufferuivProc glClearBufferuivFn
;
962 glClearColorProc glClearColorFn
;
963 glClearDepthProc glClearDepthFn
;
964 glClearDepthfProc glClearDepthfFn
;
965 glClearStencilProc glClearStencilFn
;
966 glClientWaitSyncProc glClientWaitSyncFn
;
967 glColorMaskProc glColorMaskFn
;
968 glCompileShaderProc glCompileShaderFn
;
969 glCompressedTexImage2DProc glCompressedTexImage2DFn
;
970 glCompressedTexImage3DProc glCompressedTexImage3DFn
;
971 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn
;
972 glCopyBufferSubDataProc glCopyBufferSubDataFn
;
973 glCopyTexImage2DProc glCopyTexImage2DFn
;
974 glCopyTexSubImage2DProc glCopyTexSubImage2DFn
;
975 glCopyTexSubImage3DProc glCopyTexSubImage3DFn
;
976 glCreateProgramProc glCreateProgramFn
;
977 glCreateShaderProc glCreateShaderFn
;
978 glCullFaceProc glCullFaceFn
;
979 glDeleteBuffersARBProc glDeleteBuffersARBFn
;
980 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn
;
981 glDeleteFencesNVProc glDeleteFencesNVFn
;
982 glDeleteFramebuffersEXTProc glDeleteFramebuffersEXTFn
;
983 glDeleteProgramProc glDeleteProgramFn
;
984 glDeleteQueriesProc glDeleteQueriesFn
;
985 glDeleteRenderbuffersEXTProc glDeleteRenderbuffersEXTFn
;
986 glDeleteSamplersProc glDeleteSamplersFn
;
987 glDeleteShaderProc glDeleteShaderFn
;
988 glDeleteSyncProc glDeleteSyncFn
;
989 glDeleteTexturesProc glDeleteTexturesFn
;
990 glDeleteTransformFeedbacksProc glDeleteTransformFeedbacksFn
;
991 glDeleteVertexArraysOESProc glDeleteVertexArraysOESFn
;
992 glDepthFuncProc glDepthFuncFn
;
993 glDepthMaskProc glDepthMaskFn
;
994 glDepthRangeProc glDepthRangeFn
;
995 glDepthRangefProc glDepthRangefFn
;
996 glDetachShaderProc glDetachShaderFn
;
997 glDisableProc glDisableFn
;
998 glDisableVertexAttribArrayProc glDisableVertexAttribArrayFn
;
999 glDiscardFramebufferEXTProc glDiscardFramebufferEXTFn
;
1000 glDrawArraysProc glDrawArraysFn
;
1001 glDrawArraysInstancedANGLEProc glDrawArraysInstancedANGLEFn
;
1002 glDrawBufferProc glDrawBufferFn
;
1003 glDrawBuffersARBProc glDrawBuffersARBFn
;
1004 glDrawElementsProc glDrawElementsFn
;
1005 glDrawElementsInstancedANGLEProc glDrawElementsInstancedANGLEFn
;
1006 glDrawRangeElementsProc glDrawRangeElementsFn
;
1007 glEGLImageTargetRenderbufferStorageOESProc
1008 glEGLImageTargetRenderbufferStorageOESFn
;
1009 glEGLImageTargetTexture2DOESProc glEGLImageTargetTexture2DOESFn
;
1010 glEnableProc glEnableFn
;
1011 glEnableVertexAttribArrayProc glEnableVertexAttribArrayFn
;
1012 glEndQueryProc glEndQueryFn
;
1013 glEndTransformFeedbackProc glEndTransformFeedbackFn
;
1014 glFenceSyncProc glFenceSyncFn
;
1015 glFinishProc glFinishFn
;
1016 glFinishFenceAPPLEProc glFinishFenceAPPLEFn
;
1017 glFinishFenceNVProc glFinishFenceNVFn
;
1018 glFlushProc glFlushFn
;
1019 glFlushMappedBufferRangeProc glFlushMappedBufferRangeFn
;
1020 glFramebufferRenderbufferEXTProc glFramebufferRenderbufferEXTFn
;
1021 glFramebufferTexture2DEXTProc glFramebufferTexture2DEXTFn
;
1022 glFramebufferTexture2DMultisampleEXTProc
1023 glFramebufferTexture2DMultisampleEXTFn
;
1024 glFramebufferTexture2DMultisampleIMGProc
1025 glFramebufferTexture2DMultisampleIMGFn
;
1026 glFramebufferTextureLayerProc glFramebufferTextureLayerFn
;
1027 glFrontFaceProc glFrontFaceFn
;
1028 glGenBuffersARBProc glGenBuffersARBFn
;
1029 glGenerateMipmapEXTProc glGenerateMipmapEXTFn
;
1030 glGenFencesAPPLEProc glGenFencesAPPLEFn
;
1031 glGenFencesNVProc glGenFencesNVFn
;
1032 glGenFramebuffersEXTProc glGenFramebuffersEXTFn
;
1033 glGenQueriesProc glGenQueriesFn
;
1034 glGenRenderbuffersEXTProc glGenRenderbuffersEXTFn
;
1035 glGenSamplersProc glGenSamplersFn
;
1036 glGenTexturesProc glGenTexturesFn
;
1037 glGenTransformFeedbacksProc glGenTransformFeedbacksFn
;
1038 glGenVertexArraysOESProc glGenVertexArraysOESFn
;
1039 glGetActiveAttribProc glGetActiveAttribFn
;
1040 glGetActiveUniformProc glGetActiveUniformFn
;
1041 glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn
;
1042 glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn
;
1043 glGetActiveUniformsivProc glGetActiveUniformsivFn
;
1044 glGetAttachedShadersProc glGetAttachedShadersFn
;
1045 glGetAttribLocationProc glGetAttribLocationFn
;
1046 glGetBooleanvProc glGetBooleanvFn
;
1047 glGetBufferParameterivProc glGetBufferParameterivFn
;
1048 glGetErrorProc glGetErrorFn
;
1049 glGetFenceivNVProc glGetFenceivNVFn
;
1050 glGetFloatvProc glGetFloatvFn
;
1051 glGetFragDataLocationProc glGetFragDataLocationFn
;
1052 glGetFramebufferAttachmentParameterivEXTProc
1053 glGetFramebufferAttachmentParameterivEXTFn
;
1054 glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn
;
1055 glGetInteger64i_vProc glGetInteger64i_vFn
;
1056 glGetInteger64vProc glGetInteger64vFn
;
1057 glGetIntegeri_vProc glGetIntegeri_vFn
;
1058 glGetIntegervProc glGetIntegervFn
;
1059 glGetInternalformativProc glGetInternalformativFn
;
1060 glGetProgramBinaryProc glGetProgramBinaryFn
;
1061 glGetProgramInfoLogProc glGetProgramInfoLogFn
;
1062 glGetProgramivProc glGetProgramivFn
;
1063 glGetProgramResourceLocationProc glGetProgramResourceLocationFn
;
1064 glGetQueryivProc glGetQueryivFn
;
1065 glGetQueryObjecti64vProc glGetQueryObjecti64vFn
;
1066 glGetQueryObjectivProc glGetQueryObjectivFn
;
1067 glGetQueryObjectui64vProc glGetQueryObjectui64vFn
;
1068 glGetQueryObjectuivProc glGetQueryObjectuivFn
;
1069 glGetRenderbufferParameterivEXTProc glGetRenderbufferParameterivEXTFn
;
1070 glGetSamplerParameterfvProc glGetSamplerParameterfvFn
;
1071 glGetSamplerParameterivProc glGetSamplerParameterivFn
;
1072 glGetShaderInfoLogProc glGetShaderInfoLogFn
;
1073 glGetShaderivProc glGetShaderivFn
;
1074 glGetShaderPrecisionFormatProc glGetShaderPrecisionFormatFn
;
1075 glGetShaderSourceProc glGetShaderSourceFn
;
1076 glGetStringProc glGetStringFn
;
1077 glGetStringiProc glGetStringiFn
;
1078 glGetSyncivProc glGetSyncivFn
;
1079 glGetTexLevelParameterfvProc glGetTexLevelParameterfvFn
;
1080 glGetTexLevelParameterivProc glGetTexLevelParameterivFn
;
1081 glGetTexParameterfvProc glGetTexParameterfvFn
;
1082 glGetTexParameterivProc glGetTexParameterivFn
;
1083 glGetTransformFeedbackVaryingProc glGetTransformFeedbackVaryingFn
;
1084 glGetTranslatedShaderSourceANGLEProc glGetTranslatedShaderSourceANGLEFn
;
1085 glGetUniformBlockIndexProc glGetUniformBlockIndexFn
;
1086 glGetUniformfvProc glGetUniformfvFn
;
1087 glGetUniformIndicesProc glGetUniformIndicesFn
;
1088 glGetUniformivProc glGetUniformivFn
;
1089 glGetUniformLocationProc glGetUniformLocationFn
;
1090 glGetVertexAttribfvProc glGetVertexAttribfvFn
;
1091 glGetVertexAttribivProc glGetVertexAttribivFn
;
1092 glGetVertexAttribPointervProc glGetVertexAttribPointervFn
;
1093 glHintProc glHintFn
;
1094 glInsertEventMarkerEXTProc glInsertEventMarkerEXTFn
;
1095 glInvalidateFramebufferProc glInvalidateFramebufferFn
;
1096 glInvalidateSubFramebufferProc glInvalidateSubFramebufferFn
;
1097 glIsBufferProc glIsBufferFn
;
1098 glIsEnabledProc glIsEnabledFn
;
1099 glIsFenceAPPLEProc glIsFenceAPPLEFn
;
1100 glIsFenceNVProc glIsFenceNVFn
;
1101 glIsFramebufferEXTProc glIsFramebufferEXTFn
;
1102 glIsProgramProc glIsProgramFn
;
1103 glIsQueryProc glIsQueryFn
;
1104 glIsRenderbufferEXTProc glIsRenderbufferEXTFn
;
1105 glIsSamplerProc glIsSamplerFn
;
1106 glIsShaderProc glIsShaderFn
;
1107 glIsSyncProc glIsSyncFn
;
1108 glIsTextureProc glIsTextureFn
;
1109 glIsTransformFeedbackProc glIsTransformFeedbackFn
;
1110 glIsVertexArrayOESProc glIsVertexArrayOESFn
;
1111 glLineWidthProc glLineWidthFn
;
1112 glLinkProgramProc glLinkProgramFn
;
1113 glMapBufferProc glMapBufferFn
;
1114 glMapBufferRangeProc glMapBufferRangeFn
;
1115 glMatrixLoadfEXTProc glMatrixLoadfEXTFn
;
1116 glMatrixLoadIdentityEXTProc glMatrixLoadIdentityEXTFn
;
1117 glPauseTransformFeedbackProc glPauseTransformFeedbackFn
;
1118 glPixelStoreiProc glPixelStoreiFn
;
1119 glPointParameteriProc glPointParameteriFn
;
1120 glPolygonOffsetProc glPolygonOffsetFn
;
1121 glPopGroupMarkerEXTProc glPopGroupMarkerEXTFn
;
1122 glProgramBinaryProc glProgramBinaryFn
;
1123 glProgramParameteriProc glProgramParameteriFn
;
1124 glPushGroupMarkerEXTProc glPushGroupMarkerEXTFn
;
1125 glQueryCounterProc glQueryCounterFn
;
1126 glReadBufferProc glReadBufferFn
;
1127 glReadPixelsProc glReadPixelsFn
;
1128 glReleaseShaderCompilerProc glReleaseShaderCompilerFn
;
1129 glRenderbufferStorageEXTProc glRenderbufferStorageEXTFn
;
1130 glRenderbufferStorageMultisampleProc glRenderbufferStorageMultisampleFn
;
1131 glRenderbufferStorageMultisampleANGLEProc
1132 glRenderbufferStorageMultisampleANGLEFn
;
1133 glRenderbufferStorageMultisampleEXTProc glRenderbufferStorageMultisampleEXTFn
;
1134 glRenderbufferStorageMultisampleIMGProc glRenderbufferStorageMultisampleIMGFn
;
1135 glResumeTransformFeedbackProc glResumeTransformFeedbackFn
;
1136 glSampleCoverageProc glSampleCoverageFn
;
1137 glSamplerParameterfProc glSamplerParameterfFn
;
1138 glSamplerParameterfvProc glSamplerParameterfvFn
;
1139 glSamplerParameteriProc glSamplerParameteriFn
;
1140 glSamplerParameterivProc glSamplerParameterivFn
;
1141 glScissorProc glScissorFn
;
1142 glSetFenceAPPLEProc glSetFenceAPPLEFn
;
1143 glSetFenceNVProc glSetFenceNVFn
;
1144 glShaderBinaryProc glShaderBinaryFn
;
1145 glShaderSourceProc glShaderSourceFn
;
1146 glStencilFuncProc glStencilFuncFn
;
1147 glStencilFuncSeparateProc glStencilFuncSeparateFn
;
1148 glStencilMaskProc glStencilMaskFn
;
1149 glStencilMaskSeparateProc glStencilMaskSeparateFn
;
1150 glStencilOpProc glStencilOpFn
;
1151 glStencilOpSeparateProc glStencilOpSeparateFn
;
1152 glTestFenceAPPLEProc glTestFenceAPPLEFn
;
1153 glTestFenceNVProc glTestFenceNVFn
;
1154 glTexImage2DProc glTexImage2DFn
;
1155 glTexImage3DProc glTexImage3DFn
;
1156 glTexParameterfProc glTexParameterfFn
;
1157 glTexParameterfvProc glTexParameterfvFn
;
1158 glTexParameteriProc glTexParameteriFn
;
1159 glTexParameterivProc glTexParameterivFn
;
1160 glTexStorage2DEXTProc glTexStorage2DEXTFn
;
1161 glTexStorage3DProc glTexStorage3DFn
;
1162 glTexSubImage2DProc glTexSubImage2DFn
;
1163 glTransformFeedbackVaryingsProc glTransformFeedbackVaryingsFn
;
1164 glUniform1fProc glUniform1fFn
;
1165 glUniform1fvProc glUniform1fvFn
;
1166 glUniform1iProc glUniform1iFn
;
1167 glUniform1ivProc glUniform1ivFn
;
1168 glUniform1uiProc glUniform1uiFn
;
1169 glUniform1uivProc glUniform1uivFn
;
1170 glUniform2fProc glUniform2fFn
;
1171 glUniform2fvProc glUniform2fvFn
;
1172 glUniform2iProc glUniform2iFn
;
1173 glUniform2ivProc glUniform2ivFn
;
1174 glUniform2uiProc glUniform2uiFn
;
1175 glUniform2uivProc glUniform2uivFn
;
1176 glUniform3fProc glUniform3fFn
;
1177 glUniform3fvProc glUniform3fvFn
;
1178 glUniform3iProc glUniform3iFn
;
1179 glUniform3ivProc glUniform3ivFn
;
1180 glUniform3uiProc glUniform3uiFn
;
1181 glUniform3uivProc glUniform3uivFn
;
1182 glUniform4fProc glUniform4fFn
;
1183 glUniform4fvProc glUniform4fvFn
;
1184 glUniform4iProc glUniform4iFn
;
1185 glUniform4ivProc glUniform4ivFn
;
1186 glUniform4uiProc glUniform4uiFn
;
1187 glUniform4uivProc glUniform4uivFn
;
1188 glUniformBlockBindingProc glUniformBlockBindingFn
;
1189 glUniformMatrix2fvProc glUniformMatrix2fvFn
;
1190 glUniformMatrix2x3fvProc glUniformMatrix2x3fvFn
;
1191 glUniformMatrix2x4fvProc glUniformMatrix2x4fvFn
;
1192 glUniformMatrix3fvProc glUniformMatrix3fvFn
;
1193 glUniformMatrix3x2fvProc glUniformMatrix3x2fvFn
;
1194 glUniformMatrix3x4fvProc glUniformMatrix3x4fvFn
;
1195 glUniformMatrix4fvProc glUniformMatrix4fvFn
;
1196 glUniformMatrix4x2fvProc glUniformMatrix4x2fvFn
;
1197 glUniformMatrix4x3fvProc glUniformMatrix4x3fvFn
;
1198 glUnmapBufferProc glUnmapBufferFn
;
1199 glUseProgramProc glUseProgramFn
;
1200 glValidateProgramProc glValidateProgramFn
;
1201 glVertexAttrib1fProc glVertexAttrib1fFn
;
1202 glVertexAttrib1fvProc glVertexAttrib1fvFn
;
1203 glVertexAttrib2fProc glVertexAttrib2fFn
;
1204 glVertexAttrib2fvProc glVertexAttrib2fvFn
;
1205 glVertexAttrib3fProc glVertexAttrib3fFn
;
1206 glVertexAttrib3fvProc glVertexAttrib3fvFn
;
1207 glVertexAttrib4fProc glVertexAttrib4fFn
;
1208 glVertexAttrib4fvProc glVertexAttrib4fvFn
;
1209 glVertexAttribDivisorANGLEProc glVertexAttribDivisorANGLEFn
;
1210 glVertexAttribI4iProc glVertexAttribI4iFn
;
1211 glVertexAttribI4ivProc glVertexAttribI4ivFn
;
1212 glVertexAttribI4uiProc glVertexAttribI4uiFn
;
1213 glVertexAttribI4uivProc glVertexAttribI4uivFn
;
1214 glVertexAttribIPointerProc glVertexAttribIPointerFn
;
1215 glVertexAttribPointerProc glVertexAttribPointerFn
;
1216 glViewportProc glViewportFn
;
1217 glWaitSyncProc glWaitSyncFn
;
1220 class GL_EXPORT GLApi
{
1225 virtual void glActiveTextureFn(GLenum texture
) = 0;
1226 virtual void glAttachShaderFn(GLuint program
, GLuint shader
) = 0;
1227 virtual void glBeginQueryFn(GLenum target
, GLuint id
) = 0;
1228 virtual void glBeginTransformFeedbackFn(GLenum primitiveMode
) = 0;
1229 virtual void glBindAttribLocationFn(GLuint program
,
1231 const char* name
) = 0;
1232 virtual void glBindBufferFn(GLenum target
, GLuint buffer
) = 0;
1233 virtual void glBindBufferBaseFn(GLenum target
,
1236 virtual void glBindBufferRangeFn(GLenum target
,
1240 GLsizeiptr size
) = 0;
1241 virtual void glBindFragDataLocationFn(GLuint program
,
1243 const char* name
) = 0;
1244 virtual void glBindFragDataLocationIndexedFn(GLuint program
,
1247 const char* name
) = 0;
1248 virtual void glBindFramebufferEXTFn(GLenum target
, GLuint framebuffer
) = 0;
1249 virtual void glBindRenderbufferEXTFn(GLenum target
, GLuint renderbuffer
) = 0;
1250 virtual void glBindSamplerFn(GLuint unit
, GLuint sampler
) = 0;
1251 virtual void glBindTextureFn(GLenum target
, GLuint texture
) = 0;
1252 virtual void glBindTransformFeedbackFn(GLenum target
, GLuint id
) = 0;
1253 virtual void glBindVertexArrayOESFn(GLuint array
) = 0;
1254 virtual void glBlendBarrierKHRFn(void) = 0;
1255 virtual void glBlendColorFn(GLclampf red
,
1258 GLclampf alpha
) = 0;
1259 virtual void glBlendEquationFn(GLenum mode
) = 0;
1260 virtual void glBlendEquationSeparateFn(GLenum modeRGB
, GLenum modeAlpha
) = 0;
1261 virtual void glBlendFuncFn(GLenum sfactor
, GLenum dfactor
) = 0;
1262 virtual void glBlendFuncSeparateFn(GLenum srcRGB
,
1265 GLenum dstAlpha
) = 0;
1266 virtual void glBlitFramebufferFn(GLint srcX0
,
1276 virtual void glBlitFramebufferANGLEFn(GLint srcX0
,
1286 virtual void glBlitFramebufferEXTFn(GLint srcX0
,
1296 virtual void glBufferDataFn(GLenum target
,
1300 virtual void glBufferSubDataFn(GLenum target
,
1303 const void* data
) = 0;
1304 virtual GLenum
glCheckFramebufferStatusEXTFn(GLenum target
) = 0;
1305 virtual void glClearFn(GLbitfield mask
) = 0;
1306 virtual void glClearBufferfiFn(GLenum buffer
,
1308 const GLfloat depth
,
1310 virtual void glClearBufferfvFn(GLenum buffer
,
1312 const GLfloat
* value
) = 0;
1313 virtual void glClearBufferivFn(GLenum buffer
,
1315 const GLint
* value
) = 0;
1316 virtual void glClearBufferuivFn(GLenum buffer
,
1318 const GLuint
* value
) = 0;
1319 virtual void glClearColorFn(GLclampf red
,
1322 GLclampf alpha
) = 0;
1323 virtual void glClearDepthFn(GLclampd depth
) = 0;
1324 virtual void glClearDepthfFn(GLclampf depth
) = 0;
1325 virtual void glClearStencilFn(GLint s
) = 0;
1326 virtual GLenum
glClientWaitSyncFn(GLsync sync
,
1328 GLuint64 timeout
) = 0;
1329 virtual void glColorMaskFn(GLboolean red
,
1332 GLboolean alpha
) = 0;
1333 virtual void glCompileShaderFn(GLuint shader
) = 0;
1334 virtual void glCompressedTexImage2DFn(GLenum target
,
1336 GLenum internalformat
,
1341 const void* data
) = 0;
1342 virtual void glCompressedTexImage3DFn(GLenum target
,
1344 GLenum internalformat
,
1350 const void* data
) = 0;
1351 virtual void glCompressedTexSubImage2DFn(GLenum target
,
1359 const void* data
) = 0;
1360 virtual void glCopyBufferSubDataFn(GLenum readTarget
,
1362 GLintptr readOffset
,
1363 GLintptr writeOffset
,
1364 GLsizeiptr size
) = 0;
1365 virtual void glCopyTexImage2DFn(GLenum target
,
1367 GLenum internalformat
,
1373 virtual void glCopyTexSubImage2DFn(GLenum target
,
1380 GLsizei height
) = 0;
1381 virtual void glCopyTexSubImage3DFn(GLenum target
,
1389 GLsizei height
) = 0;
1390 virtual GLuint
glCreateProgramFn(void) = 0;
1391 virtual GLuint
glCreateShaderFn(GLenum type
) = 0;
1392 virtual void glCullFaceFn(GLenum mode
) = 0;
1393 virtual void glDeleteBuffersARBFn(GLsizei n
, const GLuint
* buffers
) = 0;
1394 virtual void glDeleteFencesAPPLEFn(GLsizei n
, const GLuint
* fences
) = 0;
1395 virtual void glDeleteFencesNVFn(GLsizei n
, const GLuint
* fences
) = 0;
1396 virtual void glDeleteFramebuffersEXTFn(GLsizei n
,
1397 const GLuint
* framebuffers
) = 0;
1398 virtual void glDeleteProgramFn(GLuint program
) = 0;
1399 virtual void glDeleteQueriesFn(GLsizei n
, const GLuint
* ids
) = 0;
1400 virtual void glDeleteRenderbuffersEXTFn(GLsizei n
,
1401 const GLuint
* renderbuffers
) = 0;
1402 virtual void glDeleteSamplersFn(GLsizei n
, const GLuint
* samplers
) = 0;
1403 virtual void glDeleteShaderFn(GLuint shader
) = 0;
1404 virtual void glDeleteSyncFn(GLsync sync
) = 0;
1405 virtual void glDeleteTexturesFn(GLsizei n
, const GLuint
* textures
) = 0;
1406 virtual void glDeleteTransformFeedbacksFn(GLsizei n
, const GLuint
* ids
) = 0;
1407 virtual void glDeleteVertexArraysOESFn(GLsizei n
, const GLuint
* arrays
) = 0;
1408 virtual void glDepthFuncFn(GLenum func
) = 0;
1409 virtual void glDepthMaskFn(GLboolean flag
) = 0;
1410 virtual void glDepthRangeFn(GLclampd zNear
, GLclampd zFar
) = 0;
1411 virtual void glDepthRangefFn(GLclampf zNear
, GLclampf zFar
) = 0;
1412 virtual void glDetachShaderFn(GLuint program
, GLuint shader
) = 0;
1413 virtual void glDisableFn(GLenum cap
) = 0;
1414 virtual void glDisableVertexAttribArrayFn(GLuint index
) = 0;
1415 virtual void glDiscardFramebufferEXTFn(GLenum target
,
1416 GLsizei numAttachments
,
1417 const GLenum
* attachments
) = 0;
1418 virtual void glDrawArraysFn(GLenum mode
, GLint first
, GLsizei count
) = 0;
1419 virtual void glDrawArraysInstancedANGLEFn(GLenum mode
,
1422 GLsizei primcount
) = 0;
1423 virtual void glDrawBufferFn(GLenum mode
) = 0;
1424 virtual void glDrawBuffersARBFn(GLsizei n
, const GLenum
* bufs
) = 0;
1425 virtual void glDrawElementsFn(GLenum mode
,
1428 const void* indices
) = 0;
1429 virtual void glDrawElementsInstancedANGLEFn(GLenum mode
,
1432 const void* indices
,
1433 GLsizei primcount
) = 0;
1434 virtual void glDrawRangeElementsFn(GLenum mode
,
1439 const void* indices
) = 0;
1440 virtual void glEGLImageTargetRenderbufferStorageOESFn(
1442 GLeglImageOES image
) = 0;
1443 virtual void glEGLImageTargetTexture2DOESFn(GLenum target
,
1444 GLeglImageOES image
) = 0;
1445 virtual void glEnableFn(GLenum cap
) = 0;
1446 virtual void glEnableVertexAttribArrayFn(GLuint index
) = 0;
1447 virtual void glEndQueryFn(GLenum target
) = 0;
1448 virtual void glEndTransformFeedbackFn(void) = 0;
1449 virtual GLsync
glFenceSyncFn(GLenum condition
, GLbitfield flags
) = 0;
1450 virtual void glFinishFn(void) = 0;
1451 virtual void glFinishFenceAPPLEFn(GLuint fence
) = 0;
1452 virtual void glFinishFenceNVFn(GLuint fence
) = 0;
1453 virtual void glFlushFn(void) = 0;
1454 virtual void glFlushMappedBufferRangeFn(GLenum target
,
1456 GLsizeiptr length
) = 0;
1457 virtual void glFramebufferRenderbufferEXTFn(GLenum target
,
1459 GLenum renderbuffertarget
,
1460 GLuint renderbuffer
) = 0;
1461 virtual void glFramebufferTexture2DEXTFn(GLenum target
,
1466 virtual void glFramebufferTexture2DMultisampleEXTFn(GLenum target
,
1471 GLsizei samples
) = 0;
1472 virtual void glFramebufferTexture2DMultisampleIMGFn(GLenum target
,
1477 GLsizei samples
) = 0;
1478 virtual void glFramebufferTextureLayerFn(GLenum target
,
1483 virtual void glFrontFaceFn(GLenum mode
) = 0;
1484 virtual void glGenBuffersARBFn(GLsizei n
, GLuint
* buffers
) = 0;
1485 virtual void glGenerateMipmapEXTFn(GLenum target
) = 0;
1486 virtual void glGenFencesAPPLEFn(GLsizei n
, GLuint
* fences
) = 0;
1487 virtual void glGenFencesNVFn(GLsizei n
, GLuint
* fences
) = 0;
1488 virtual void glGenFramebuffersEXTFn(GLsizei n
, GLuint
* framebuffers
) = 0;
1489 virtual void glGenQueriesFn(GLsizei n
, GLuint
* ids
) = 0;
1490 virtual void glGenRenderbuffersEXTFn(GLsizei n
, GLuint
* renderbuffers
) = 0;
1491 virtual void glGenSamplersFn(GLsizei n
, GLuint
* samplers
) = 0;
1492 virtual void glGenTexturesFn(GLsizei n
, GLuint
* textures
) = 0;
1493 virtual void glGenTransformFeedbacksFn(GLsizei n
, GLuint
* ids
) = 0;
1494 virtual void glGenVertexArraysOESFn(GLsizei n
, GLuint
* arrays
) = 0;
1495 virtual void glGetActiveAttribFn(GLuint program
,
1502 virtual void glGetActiveUniformFn(GLuint program
,
1509 virtual void glGetActiveUniformBlockivFn(GLuint program
,
1510 GLuint uniformBlockIndex
,
1513 virtual void glGetActiveUniformBlockNameFn(GLuint program
,
1514 GLuint uniformBlockIndex
,
1517 char* uniformBlockName
) = 0;
1518 virtual void glGetActiveUniformsivFn(GLuint program
,
1519 GLsizei uniformCount
,
1520 const GLuint
* uniformIndices
,
1523 virtual void glGetAttachedShadersFn(GLuint program
,
1526 GLuint
* shaders
) = 0;
1527 virtual GLint
glGetAttribLocationFn(GLuint program
, const char* name
) = 0;
1528 virtual void glGetBooleanvFn(GLenum pname
, GLboolean
* params
) = 0;
1529 virtual void glGetBufferParameterivFn(GLenum target
,
1532 virtual GLenum
glGetErrorFn(void) = 0;
1533 virtual void glGetFenceivNVFn(GLuint fence
, GLenum pname
, GLint
* params
) = 0;
1534 virtual void glGetFloatvFn(GLenum pname
, GLfloat
* params
) = 0;
1535 virtual GLint
glGetFragDataLocationFn(GLuint program
, const char* name
) = 0;
1536 virtual void glGetFramebufferAttachmentParameterivEXTFn(GLenum target
,
1540 virtual GLenum
glGetGraphicsResetStatusARBFn(void) = 0;
1541 virtual void glGetInteger64i_vFn(GLenum target
,
1544 virtual void glGetInteger64vFn(GLenum pname
, GLint64
* params
) = 0;
1545 virtual void glGetIntegeri_vFn(GLenum target
, GLuint index
, GLint
* data
) = 0;
1546 virtual void glGetIntegervFn(GLenum pname
, GLint
* params
) = 0;
1547 virtual void glGetInternalformativFn(GLenum target
,
1548 GLenum internalformat
,
1552 virtual void glGetProgramBinaryFn(GLuint program
,
1555 GLenum
* binaryFormat
,
1556 GLvoid
* binary
) = 0;
1557 virtual void glGetProgramInfoLogFn(GLuint program
,
1561 virtual void glGetProgramivFn(GLuint program
,
1564 virtual GLint
glGetProgramResourceLocationFn(GLuint program
,
1565 GLenum programInterface
,
1566 const char* name
) = 0;
1567 virtual void glGetQueryivFn(GLenum target
, GLenum pname
, GLint
* params
) = 0;
1568 virtual void glGetQueryObjecti64vFn(GLuint id
,
1570 GLint64
* params
) = 0;
1571 virtual void glGetQueryObjectivFn(GLuint id
, GLenum pname
, GLint
* params
) = 0;
1572 virtual void glGetQueryObjectui64vFn(GLuint id
,
1574 GLuint64
* params
) = 0;
1575 virtual void glGetQueryObjectuivFn(GLuint id
,
1577 GLuint
* params
) = 0;
1578 virtual void glGetRenderbufferParameterivEXTFn(GLenum target
,
1581 virtual void glGetSamplerParameterfvFn(GLuint sampler
,
1583 GLfloat
* params
) = 0;
1584 virtual void glGetSamplerParameterivFn(GLuint sampler
,
1587 virtual void glGetShaderInfoLogFn(GLuint shader
,
1591 virtual void glGetShaderivFn(GLuint shader
, GLenum pname
, GLint
* params
) = 0;
1592 virtual void glGetShaderPrecisionFormatFn(GLenum shadertype
,
1593 GLenum precisiontype
,
1595 GLint
* precision
) = 0;
1596 virtual void glGetShaderSourceFn(GLuint shader
,
1600 virtual const GLubyte
* glGetStringFn(GLenum name
) = 0;
1601 virtual const GLubyte
* glGetStringiFn(GLenum name
, GLuint index
) = 0;
1602 virtual void glGetSyncivFn(GLsync sync
,
1607 virtual void glGetTexLevelParameterfvFn(GLenum target
,
1610 GLfloat
* params
) = 0;
1611 virtual void glGetTexLevelParameterivFn(GLenum target
,
1615 virtual void glGetTexParameterfvFn(GLenum target
,
1617 GLfloat
* params
) = 0;
1618 virtual void glGetTexParameterivFn(GLenum target
,
1621 virtual void glGetTransformFeedbackVaryingFn(GLuint program
,
1628 virtual void glGetTranslatedShaderSourceANGLEFn(GLuint shader
,
1632 virtual GLuint
glGetUniformBlockIndexFn(GLuint program
,
1633 const char* uniformBlockName
) = 0;
1634 virtual void glGetUniformfvFn(GLuint program
,
1636 GLfloat
* params
) = 0;
1637 virtual void glGetUniformIndicesFn(GLuint program
,
1638 GLsizei uniformCount
,
1639 const char* const* uniformNames
,
1640 GLuint
* uniformIndices
) = 0;
1641 virtual void glGetUniformivFn(GLuint program
,
1644 virtual GLint
glGetUniformLocationFn(GLuint program
, const char* name
) = 0;
1645 virtual void glGetVertexAttribfvFn(GLuint index
,
1647 GLfloat
* params
) = 0;
1648 virtual void glGetVertexAttribivFn(GLuint index
,
1651 virtual void glGetVertexAttribPointervFn(GLuint index
,
1653 void** pointer
) = 0;
1654 virtual void glHintFn(GLenum target
, GLenum mode
) = 0;
1655 virtual void glInsertEventMarkerEXTFn(GLsizei length
, const char* marker
) = 0;
1656 virtual void glInvalidateFramebufferFn(GLenum target
,
1657 GLsizei numAttachments
,
1658 const GLenum
* attachments
) = 0;
1659 virtual void glInvalidateSubFramebufferFn(GLenum target
,
1660 GLsizei numAttachments
,
1661 const GLenum
* attachments
,
1666 virtual GLboolean
glIsBufferFn(GLuint buffer
) = 0;
1667 virtual GLboolean
glIsEnabledFn(GLenum cap
) = 0;
1668 virtual GLboolean
glIsFenceAPPLEFn(GLuint fence
) = 0;
1669 virtual GLboolean
glIsFenceNVFn(GLuint fence
) = 0;
1670 virtual GLboolean
glIsFramebufferEXTFn(GLuint framebuffer
) = 0;
1671 virtual GLboolean
glIsProgramFn(GLuint program
) = 0;
1672 virtual GLboolean
glIsQueryFn(GLuint query
) = 0;
1673 virtual GLboolean
glIsRenderbufferEXTFn(GLuint renderbuffer
) = 0;
1674 virtual GLboolean
glIsSamplerFn(GLuint sampler
) = 0;
1675 virtual GLboolean
glIsShaderFn(GLuint shader
) = 0;
1676 virtual GLboolean
glIsSyncFn(GLsync sync
) = 0;
1677 virtual GLboolean
glIsTextureFn(GLuint texture
) = 0;
1678 virtual GLboolean
glIsTransformFeedbackFn(GLuint id
) = 0;
1679 virtual GLboolean
glIsVertexArrayOESFn(GLuint array
) = 0;
1680 virtual void glLineWidthFn(GLfloat width
) = 0;
1681 virtual void glLinkProgramFn(GLuint program
) = 0;
1682 virtual void* glMapBufferFn(GLenum target
, GLenum access
) = 0;
1683 virtual void* glMapBufferRangeFn(GLenum target
,
1686 GLbitfield access
) = 0;
1687 virtual void glMatrixLoadfEXTFn(GLenum matrixMode
, const GLfloat
* m
) = 0;
1688 virtual void glMatrixLoadIdentityEXTFn(GLenum matrixMode
) = 0;
1689 virtual void glPauseTransformFeedbackFn(void) = 0;
1690 virtual void glPixelStoreiFn(GLenum pname
, GLint param
) = 0;
1691 virtual void glPointParameteriFn(GLenum pname
, GLint param
) = 0;
1692 virtual void glPolygonOffsetFn(GLfloat factor
, GLfloat units
) = 0;
1693 virtual void glPopGroupMarkerEXTFn(void) = 0;
1694 virtual void glProgramBinaryFn(GLuint program
,
1695 GLenum binaryFormat
,
1696 const GLvoid
* binary
,
1697 GLsizei length
) = 0;
1698 virtual void glProgramParameteriFn(GLuint program
,
1701 virtual void glPushGroupMarkerEXTFn(GLsizei length
, const char* marker
) = 0;
1702 virtual void glQueryCounterFn(GLuint id
, GLenum target
) = 0;
1703 virtual void glReadBufferFn(GLenum src
) = 0;
1704 virtual void glReadPixelsFn(GLint x
,
1711 virtual void glReleaseShaderCompilerFn(void) = 0;
1712 virtual void glRenderbufferStorageEXTFn(GLenum target
,
1713 GLenum internalformat
,
1715 GLsizei height
) = 0;
1716 virtual void glRenderbufferStorageMultisampleFn(GLenum target
,
1718 GLenum internalformat
,
1720 GLsizei height
) = 0;
1721 virtual void glRenderbufferStorageMultisampleANGLEFn(GLenum target
,
1723 GLenum internalformat
,
1725 GLsizei height
) = 0;
1726 virtual void glRenderbufferStorageMultisampleEXTFn(GLenum target
,
1728 GLenum internalformat
,
1730 GLsizei height
) = 0;
1731 virtual void glRenderbufferStorageMultisampleIMGFn(GLenum target
,
1733 GLenum internalformat
,
1735 GLsizei height
) = 0;
1736 virtual void glResumeTransformFeedbackFn(void) = 0;
1737 virtual void glSampleCoverageFn(GLclampf value
, GLboolean invert
) = 0;
1738 virtual void glSamplerParameterfFn(GLuint sampler
,
1741 virtual void glSamplerParameterfvFn(GLuint sampler
,
1743 const GLfloat
* params
) = 0;
1744 virtual void glSamplerParameteriFn(GLuint sampler
,
1747 virtual void glSamplerParameterivFn(GLuint sampler
,
1749 const GLint
* params
) = 0;
1750 virtual void glScissorFn(GLint x
, GLint y
, GLsizei width
, GLsizei height
) = 0;
1751 virtual void glSetFenceAPPLEFn(GLuint fence
) = 0;
1752 virtual void glSetFenceNVFn(GLuint fence
, GLenum condition
) = 0;
1753 virtual void glShaderBinaryFn(GLsizei n
,
1754 const GLuint
* shaders
,
1755 GLenum binaryformat
,
1757 GLsizei length
) = 0;
1758 virtual void glShaderSourceFn(GLuint shader
,
1760 const char* const* str
,
1761 const GLint
* length
) = 0;
1762 virtual void glStencilFuncFn(GLenum func
, GLint ref
, GLuint mask
) = 0;
1763 virtual void glStencilFuncSeparateFn(GLenum face
,
1767 virtual void glStencilMaskFn(GLuint mask
) = 0;
1768 virtual void glStencilMaskSeparateFn(GLenum face
, GLuint mask
) = 0;
1769 virtual void glStencilOpFn(GLenum fail
, GLenum zfail
, GLenum zpass
) = 0;
1770 virtual void glStencilOpSeparateFn(GLenum face
,
1774 virtual GLboolean
glTestFenceAPPLEFn(GLuint fence
) = 0;
1775 virtual GLboolean
glTestFenceNVFn(GLuint fence
) = 0;
1776 virtual void glTexImage2DFn(GLenum target
,
1778 GLint internalformat
,
1784 const void* pixels
) = 0;
1785 virtual void glTexImage3DFn(GLenum target
,
1787 GLint internalformat
,
1794 const void* pixels
) = 0;
1795 virtual void glTexParameterfFn(GLenum target
,
1798 virtual void glTexParameterfvFn(GLenum target
,
1800 const GLfloat
* params
) = 0;
1801 virtual void glTexParameteriFn(GLenum target
, GLenum pname
, GLint param
) = 0;
1802 virtual void glTexParameterivFn(GLenum target
,
1804 const GLint
* params
) = 0;
1805 virtual void glTexStorage2DEXTFn(GLenum target
,
1807 GLenum internalformat
,
1809 GLsizei height
) = 0;
1810 virtual void glTexStorage3DFn(GLenum target
,
1812 GLenum internalformat
,
1816 virtual void glTexSubImage2DFn(GLenum target
,
1824 const void* pixels
) = 0;
1825 virtual void glTransformFeedbackVaryingsFn(GLuint program
,
1827 const char* const* varyings
,
1828 GLenum bufferMode
) = 0;
1829 virtual void glUniform1fFn(GLint location
, GLfloat x
) = 0;
1830 virtual void glUniform1fvFn(GLint location
,
1832 const GLfloat
* v
) = 0;
1833 virtual void glUniform1iFn(GLint location
, GLint x
) = 0;
1834 virtual void glUniform1ivFn(GLint location
,
1836 const GLint
* v
) = 0;
1837 virtual void glUniform1uiFn(GLint location
, GLuint v0
) = 0;
1838 virtual void glUniform1uivFn(GLint location
,
1840 const GLuint
* v
) = 0;
1841 virtual void glUniform2fFn(GLint location
, GLfloat x
, GLfloat y
) = 0;
1842 virtual void glUniform2fvFn(GLint location
,
1844 const GLfloat
* v
) = 0;
1845 virtual void glUniform2iFn(GLint location
, GLint x
, GLint y
) = 0;
1846 virtual void glUniform2ivFn(GLint location
,
1848 const GLint
* v
) = 0;
1849 virtual void glUniform2uiFn(GLint location
, GLuint v0
, GLuint v1
) = 0;
1850 virtual void glUniform2uivFn(GLint location
,
1852 const GLuint
* v
) = 0;
1853 virtual void glUniform3fFn(GLint location
,
1857 virtual void glUniform3fvFn(GLint location
,
1859 const GLfloat
* v
) = 0;
1860 virtual void glUniform3iFn(GLint location
, GLint x
, GLint y
, GLint z
) = 0;
1861 virtual void glUniform3ivFn(GLint location
,
1863 const GLint
* v
) = 0;
1864 virtual void glUniform3uiFn(GLint location
,
1868 virtual void glUniform3uivFn(GLint location
,
1870 const GLuint
* v
) = 0;
1871 virtual void glUniform4fFn(GLint location
,
1876 virtual void glUniform4fvFn(GLint location
,
1878 const GLfloat
* v
) = 0;
1879 virtual void glUniform4iFn(GLint location
,
1884 virtual void glUniform4ivFn(GLint location
,
1886 const GLint
* v
) = 0;
1887 virtual void glUniform4uiFn(GLint location
,
1892 virtual void glUniform4uivFn(GLint location
,
1894 const GLuint
* v
) = 0;
1895 virtual void glUniformBlockBindingFn(GLuint program
,
1896 GLuint uniformBlockIndex
,
1897 GLuint uniformBlockBinding
) = 0;
1898 virtual void glUniformMatrix2fvFn(GLint location
,
1900 GLboolean transpose
,
1901 const GLfloat
* value
) = 0;
1902 virtual void glUniformMatrix2x3fvFn(GLint location
,
1904 GLboolean transpose
,
1905 const GLfloat
* value
) = 0;
1906 virtual void glUniformMatrix2x4fvFn(GLint location
,
1908 GLboolean transpose
,
1909 const GLfloat
* value
) = 0;
1910 virtual void glUniformMatrix3fvFn(GLint location
,
1912 GLboolean transpose
,
1913 const GLfloat
* value
) = 0;
1914 virtual void glUniformMatrix3x2fvFn(GLint location
,
1916 GLboolean transpose
,
1917 const GLfloat
* value
) = 0;
1918 virtual void glUniformMatrix3x4fvFn(GLint location
,
1920 GLboolean transpose
,
1921 const GLfloat
* value
) = 0;
1922 virtual void glUniformMatrix4fvFn(GLint location
,
1924 GLboolean transpose
,
1925 const GLfloat
* value
) = 0;
1926 virtual void glUniformMatrix4x2fvFn(GLint location
,
1928 GLboolean transpose
,
1929 const GLfloat
* value
) = 0;
1930 virtual void glUniformMatrix4x3fvFn(GLint location
,
1932 GLboolean transpose
,
1933 const GLfloat
* value
) = 0;
1934 virtual GLboolean
glUnmapBufferFn(GLenum target
) = 0;
1935 virtual void glUseProgramFn(GLuint program
) = 0;
1936 virtual void glValidateProgramFn(GLuint program
) = 0;
1937 virtual void glVertexAttrib1fFn(GLuint indx
, GLfloat x
) = 0;
1938 virtual void glVertexAttrib1fvFn(GLuint indx
, const GLfloat
* values
) = 0;
1939 virtual void glVertexAttrib2fFn(GLuint indx
, GLfloat x
, GLfloat y
) = 0;
1940 virtual void glVertexAttrib2fvFn(GLuint indx
, const GLfloat
* values
) = 0;
1941 virtual void glVertexAttrib3fFn(GLuint indx
,
1945 virtual void glVertexAttrib3fvFn(GLuint indx
, const GLfloat
* values
) = 0;
1946 virtual void glVertexAttrib4fFn(GLuint indx
,
1951 virtual void glVertexAttrib4fvFn(GLuint indx
, const GLfloat
* values
) = 0;
1952 virtual void glVertexAttribDivisorANGLEFn(GLuint index
, GLuint divisor
) = 0;
1953 virtual void glVertexAttribI4iFn(GLuint indx
,
1958 virtual void glVertexAttribI4ivFn(GLuint indx
, const GLint
* values
) = 0;
1959 virtual void glVertexAttribI4uiFn(GLuint indx
,
1964 virtual void glVertexAttribI4uivFn(GLuint indx
, const GLuint
* values
) = 0;
1965 virtual void glVertexAttribIPointerFn(GLuint indx
,
1969 const void* ptr
) = 0;
1970 virtual void glVertexAttribPointerFn(GLuint indx
,
1973 GLboolean normalized
,
1975 const void* ptr
) = 0;
1976 virtual void glViewportFn(GLint x
,
1979 GLsizei height
) = 0;
1980 virtual GLenum
glWaitSyncFn(GLsync sync
,
1982 GLuint64 timeout
) = 0;
1987 #define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn
1988 #define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn
1989 #define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn
1990 #define glBeginTransformFeedback \
1991 ::gfx::g_current_gl_context->glBeginTransformFeedbackFn
1992 #define glBindAttribLocation ::gfx::g_current_gl_context->glBindAttribLocationFn
1993 #define glBindBuffer ::gfx::g_current_gl_context->glBindBufferFn
1994 #define glBindBufferBase ::gfx::g_current_gl_context->glBindBufferBaseFn
1995 #define glBindBufferRange ::gfx::g_current_gl_context->glBindBufferRangeFn
1996 #define glBindFragDataLocation \
1997 ::gfx::g_current_gl_context->glBindFragDataLocationFn
1998 #define glBindFragDataLocationIndexed \
1999 ::gfx::g_current_gl_context->glBindFragDataLocationIndexedFn
2000 #define glBindFramebufferEXT ::gfx::g_current_gl_context->glBindFramebufferEXTFn
2001 #define glBindRenderbufferEXT \
2002 ::gfx::g_current_gl_context->glBindRenderbufferEXTFn
2003 #define glBindSampler ::gfx::g_current_gl_context->glBindSamplerFn
2004 #define glBindTexture ::gfx::g_current_gl_context->glBindTextureFn
2005 #define glBindTransformFeedback \
2006 ::gfx::g_current_gl_context->glBindTransformFeedbackFn
2007 #define glBindVertexArrayOES ::gfx::g_current_gl_context->glBindVertexArrayOESFn
2008 #define glBlendBarrierKHR ::gfx::g_current_gl_context->glBlendBarrierKHRFn
2009 #define glBlendColor ::gfx::g_current_gl_context->glBlendColorFn
2010 #define glBlendEquation ::gfx::g_current_gl_context->glBlendEquationFn
2011 #define glBlendEquationSeparate \
2012 ::gfx::g_current_gl_context->glBlendEquationSeparateFn
2013 #define glBlendFunc ::gfx::g_current_gl_context->glBlendFuncFn
2014 #define glBlendFuncSeparate ::gfx::g_current_gl_context->glBlendFuncSeparateFn
2015 #define glBlitFramebuffer ::gfx::g_current_gl_context->glBlitFramebufferFn
2016 #define glBlitFramebufferANGLE \
2017 ::gfx::g_current_gl_context->glBlitFramebufferANGLEFn
2018 #define glBlitFramebufferEXT ::gfx::g_current_gl_context->glBlitFramebufferEXTFn
2019 #define glBufferData ::gfx::g_current_gl_context->glBufferDataFn
2020 #define glBufferSubData ::gfx::g_current_gl_context->glBufferSubDataFn
2021 #define glCheckFramebufferStatusEXT \
2022 ::gfx::g_current_gl_context->glCheckFramebufferStatusEXTFn
2023 #define glClear ::gfx::g_current_gl_context->glClearFn
2024 #define glClearBufferfi ::gfx::g_current_gl_context->glClearBufferfiFn
2025 #define glClearBufferfv ::gfx::g_current_gl_context->glClearBufferfvFn
2026 #define glClearBufferiv ::gfx::g_current_gl_context->glClearBufferivFn
2027 #define glClearBufferuiv ::gfx::g_current_gl_context->glClearBufferuivFn
2028 #define glClearColor ::gfx::g_current_gl_context->glClearColorFn
2029 #define glClearDepth ::gfx::g_current_gl_context->glClearDepthFn
2030 #define glClearDepthf ::gfx::g_current_gl_context->glClearDepthfFn
2031 #define glClearStencil ::gfx::g_current_gl_context->glClearStencilFn
2032 #define glClientWaitSync ::gfx::g_current_gl_context->glClientWaitSyncFn
2033 #define glColorMask ::gfx::g_current_gl_context->glColorMaskFn
2034 #define glCompileShader ::gfx::g_current_gl_context->glCompileShaderFn
2035 #define glCompressedTexImage2D \
2036 ::gfx::g_current_gl_context->glCompressedTexImage2DFn
2037 #define glCompressedTexImage3D \
2038 ::gfx::g_current_gl_context->glCompressedTexImage3DFn
2039 #define glCompressedTexSubImage2D \
2040 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn
2041 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn
2042 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn
2043 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn
2044 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn
2045 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn
2046 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn
2047 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn
2048 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn
2049 #define glDeleteFencesAPPLE ::gfx::g_current_gl_context->glDeleteFencesAPPLEFn
2050 #define glDeleteFencesNV ::gfx::g_current_gl_context->glDeleteFencesNVFn
2051 #define glDeleteFramebuffersEXT \
2052 ::gfx::g_current_gl_context->glDeleteFramebuffersEXTFn
2053 #define glDeleteProgram ::gfx::g_current_gl_context->glDeleteProgramFn
2054 #define glDeleteQueries ::gfx::g_current_gl_context->glDeleteQueriesFn
2055 #define glDeleteRenderbuffersEXT \
2056 ::gfx::g_current_gl_context->glDeleteRenderbuffersEXTFn
2057 #define glDeleteSamplers ::gfx::g_current_gl_context->glDeleteSamplersFn
2058 #define glDeleteShader ::gfx::g_current_gl_context->glDeleteShaderFn
2059 #define glDeleteSync ::gfx::g_current_gl_context->glDeleteSyncFn
2060 #define glDeleteTextures ::gfx::g_current_gl_context->glDeleteTexturesFn
2061 #define glDeleteTransformFeedbacks \
2062 ::gfx::g_current_gl_context->glDeleteTransformFeedbacksFn
2063 #define glDeleteVertexArraysOES \
2064 ::gfx::g_current_gl_context->glDeleteVertexArraysOESFn
2065 #define glDepthFunc ::gfx::g_current_gl_context->glDepthFuncFn
2066 #define glDepthMask ::gfx::g_current_gl_context->glDepthMaskFn
2067 #define glDepthRange ::gfx::g_current_gl_context->glDepthRangeFn
2068 #define glDepthRangef ::gfx::g_current_gl_context->glDepthRangefFn
2069 #define glDetachShader ::gfx::g_current_gl_context->glDetachShaderFn
2070 #define glDisable ::gfx::g_current_gl_context->glDisableFn
2071 #define glDisableVertexAttribArray \
2072 ::gfx::g_current_gl_context->glDisableVertexAttribArrayFn
2073 #define glDiscardFramebufferEXT \
2074 ::gfx::g_current_gl_context->glDiscardFramebufferEXTFn
2075 #define glDrawArrays ::gfx::g_current_gl_context->glDrawArraysFn
2076 #define glDrawArraysInstancedANGLE \
2077 ::gfx::g_current_gl_context->glDrawArraysInstancedANGLEFn
2078 #define glDrawBuffer ::gfx::g_current_gl_context->glDrawBufferFn
2079 #define glDrawBuffersARB ::gfx::g_current_gl_context->glDrawBuffersARBFn
2080 #define glDrawElements ::gfx::g_current_gl_context->glDrawElementsFn
2081 #define glDrawElementsInstancedANGLE \
2082 ::gfx::g_current_gl_context->glDrawElementsInstancedANGLEFn
2083 #define glDrawRangeElements ::gfx::g_current_gl_context->glDrawRangeElementsFn
2084 #define glEGLImageTargetRenderbufferStorageOES \
2085 ::gfx::g_current_gl_context->glEGLImageTargetRenderbufferStorageOESFn
2086 #define glEGLImageTargetTexture2DOES \
2087 ::gfx::g_current_gl_context->glEGLImageTargetTexture2DOESFn
2088 #define glEnable ::gfx::g_current_gl_context->glEnableFn
2089 #define glEnableVertexAttribArray \
2090 ::gfx::g_current_gl_context->glEnableVertexAttribArrayFn
2091 #define glEndQuery ::gfx::g_current_gl_context->glEndQueryFn
2092 #define glEndTransformFeedback \
2093 ::gfx::g_current_gl_context->glEndTransformFeedbackFn
2094 #define glFenceSync ::gfx::g_current_gl_context->glFenceSyncFn
2095 #define glFinish ::gfx::g_current_gl_context->glFinishFn
2096 #define glFinishFenceAPPLE ::gfx::g_current_gl_context->glFinishFenceAPPLEFn
2097 #define glFinishFenceNV ::gfx::g_current_gl_context->glFinishFenceNVFn
2098 #define glFlush ::gfx::g_current_gl_context->glFlushFn
2099 #define glFlushMappedBufferRange \
2100 ::gfx::g_current_gl_context->glFlushMappedBufferRangeFn
2101 #define glFramebufferRenderbufferEXT \
2102 ::gfx::g_current_gl_context->glFramebufferRenderbufferEXTFn
2103 #define glFramebufferTexture2DEXT \
2104 ::gfx::g_current_gl_context->glFramebufferTexture2DEXTFn
2105 #define glFramebufferTexture2DMultisampleEXT \
2106 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleEXTFn
2107 #define glFramebufferTexture2DMultisampleIMG \
2108 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleIMGFn
2109 #define glFramebufferTextureLayer \
2110 ::gfx::g_current_gl_context->glFramebufferTextureLayerFn
2111 #define glFrontFace ::gfx::g_current_gl_context->glFrontFaceFn
2112 #define glGenBuffersARB ::gfx::g_current_gl_context->glGenBuffersARBFn
2113 #define glGenerateMipmapEXT ::gfx::g_current_gl_context->glGenerateMipmapEXTFn
2114 #define glGenFencesAPPLE ::gfx::g_current_gl_context->glGenFencesAPPLEFn
2115 #define glGenFencesNV ::gfx::g_current_gl_context->glGenFencesNVFn
2116 #define glGenFramebuffersEXT ::gfx::g_current_gl_context->glGenFramebuffersEXTFn
2117 #define glGenQueries ::gfx::g_current_gl_context->glGenQueriesFn
2118 #define glGenRenderbuffersEXT \
2119 ::gfx::g_current_gl_context->glGenRenderbuffersEXTFn
2120 #define glGenSamplers ::gfx::g_current_gl_context->glGenSamplersFn
2121 #define glGenTextures ::gfx::g_current_gl_context->glGenTexturesFn
2122 #define glGenTransformFeedbacks \
2123 ::gfx::g_current_gl_context->glGenTransformFeedbacksFn
2124 #define glGenVertexArraysOES ::gfx::g_current_gl_context->glGenVertexArraysOESFn
2125 #define glGetActiveAttrib ::gfx::g_current_gl_context->glGetActiveAttribFn
2126 #define glGetActiveUniform ::gfx::g_current_gl_context->glGetActiveUniformFn
2127 #define glGetActiveUniformBlockiv \
2128 ::gfx::g_current_gl_context->glGetActiveUniformBlockivFn
2129 #define glGetActiveUniformBlockName \
2130 ::gfx::g_current_gl_context->glGetActiveUniformBlockNameFn
2131 #define glGetActiveUniformsiv \
2132 ::gfx::g_current_gl_context->glGetActiveUniformsivFn
2133 #define glGetAttachedShaders ::gfx::g_current_gl_context->glGetAttachedShadersFn
2134 #define glGetAttribLocation ::gfx::g_current_gl_context->glGetAttribLocationFn
2135 #define glGetBooleanv ::gfx::g_current_gl_context->glGetBooleanvFn
2136 #define glGetBufferParameteriv \
2137 ::gfx::g_current_gl_context->glGetBufferParameterivFn
2138 #define glGetError ::gfx::g_current_gl_context->glGetErrorFn
2139 #define glGetFenceivNV ::gfx::g_current_gl_context->glGetFenceivNVFn
2140 #define glGetFloatv ::gfx::g_current_gl_context->glGetFloatvFn
2141 #define glGetFragDataLocation \
2142 ::gfx::g_current_gl_context->glGetFragDataLocationFn
2143 #define glGetFramebufferAttachmentParameterivEXT \
2144 ::gfx::g_current_gl_context->glGetFramebufferAttachmentParameterivEXTFn
2145 #define glGetGraphicsResetStatusARB \
2146 ::gfx::g_current_gl_context->glGetGraphicsResetStatusARBFn
2147 #define glGetInteger64i_v ::gfx::g_current_gl_context->glGetInteger64i_vFn
2148 #define glGetInteger64v ::gfx::g_current_gl_context->glGetInteger64vFn
2149 #define glGetIntegeri_v ::gfx::g_current_gl_context->glGetIntegeri_vFn
2150 #define glGetIntegerv ::gfx::g_current_gl_context->glGetIntegervFn
2151 #define glGetInternalformativ \
2152 ::gfx::g_current_gl_context->glGetInternalformativFn
2153 #define glGetProgramBinary ::gfx::g_current_gl_context->glGetProgramBinaryFn
2154 #define glGetProgramInfoLog ::gfx::g_current_gl_context->glGetProgramInfoLogFn
2155 #define glGetProgramiv ::gfx::g_current_gl_context->glGetProgramivFn
2156 #define glGetProgramResourceLocation \
2157 ::gfx::g_current_gl_context->glGetProgramResourceLocationFn
2158 #define glGetQueryiv ::gfx::g_current_gl_context->glGetQueryivFn
2159 #define glGetQueryObjecti64v ::gfx::g_current_gl_context->glGetQueryObjecti64vFn
2160 #define glGetQueryObjectiv ::gfx::g_current_gl_context->glGetQueryObjectivFn
2161 #define glGetQueryObjectui64v \
2162 ::gfx::g_current_gl_context->glGetQueryObjectui64vFn
2163 #define glGetQueryObjectuiv ::gfx::g_current_gl_context->glGetQueryObjectuivFn
2164 #define glGetRenderbufferParameterivEXT \
2165 ::gfx::g_current_gl_context->glGetRenderbufferParameterivEXTFn
2166 #define glGetSamplerParameterfv \
2167 ::gfx::g_current_gl_context->glGetSamplerParameterfvFn
2168 #define glGetSamplerParameteriv \
2169 ::gfx::g_current_gl_context->glGetSamplerParameterivFn
2170 #define glGetShaderInfoLog ::gfx::g_current_gl_context->glGetShaderInfoLogFn
2171 #define glGetShaderiv ::gfx::g_current_gl_context->glGetShaderivFn
2172 #define glGetShaderPrecisionFormat \
2173 ::gfx::g_current_gl_context->glGetShaderPrecisionFormatFn
2174 #define glGetShaderSource ::gfx::g_current_gl_context->glGetShaderSourceFn
2175 #define glGetString ::gfx::g_current_gl_context->glGetStringFn
2176 #define glGetStringi ::gfx::g_current_gl_context->glGetStringiFn
2177 #define glGetSynciv ::gfx::g_current_gl_context->glGetSyncivFn
2178 #define glGetTexLevelParameterfv \
2179 ::gfx::g_current_gl_context->glGetTexLevelParameterfvFn
2180 #define glGetTexLevelParameteriv \
2181 ::gfx::g_current_gl_context->glGetTexLevelParameterivFn
2182 #define glGetTexParameterfv ::gfx::g_current_gl_context->glGetTexParameterfvFn
2183 #define glGetTexParameteriv ::gfx::g_current_gl_context->glGetTexParameterivFn
2184 #define glGetTransformFeedbackVarying \
2185 ::gfx::g_current_gl_context->glGetTransformFeedbackVaryingFn
2186 #define glGetTranslatedShaderSourceANGLE \
2187 ::gfx::g_current_gl_context->glGetTranslatedShaderSourceANGLEFn
2188 #define glGetUniformBlockIndex \
2189 ::gfx::g_current_gl_context->glGetUniformBlockIndexFn
2190 #define glGetUniformfv ::gfx::g_current_gl_context->glGetUniformfvFn
2191 #define glGetUniformIndices ::gfx::g_current_gl_context->glGetUniformIndicesFn
2192 #define glGetUniformiv ::gfx::g_current_gl_context->glGetUniformivFn
2193 #define glGetUniformLocation ::gfx::g_current_gl_context->glGetUniformLocationFn
2194 #define glGetVertexAttribfv ::gfx::g_current_gl_context->glGetVertexAttribfvFn
2195 #define glGetVertexAttribiv ::gfx::g_current_gl_context->glGetVertexAttribivFn
2196 #define glGetVertexAttribPointerv \
2197 ::gfx::g_current_gl_context->glGetVertexAttribPointervFn
2198 #define glHint ::gfx::g_current_gl_context->glHintFn
2199 #define glInsertEventMarkerEXT \
2200 ::gfx::g_current_gl_context->glInsertEventMarkerEXTFn
2201 #define glInvalidateFramebuffer \
2202 ::gfx::g_current_gl_context->glInvalidateFramebufferFn
2203 #define glInvalidateSubFramebuffer \
2204 ::gfx::g_current_gl_context->glInvalidateSubFramebufferFn
2205 #define glIsBuffer ::gfx::g_current_gl_context->glIsBufferFn
2206 #define glIsEnabled ::gfx::g_current_gl_context->glIsEnabledFn
2207 #define glIsFenceAPPLE ::gfx::g_current_gl_context->glIsFenceAPPLEFn
2208 #define glIsFenceNV ::gfx::g_current_gl_context->glIsFenceNVFn
2209 #define glIsFramebufferEXT ::gfx::g_current_gl_context->glIsFramebufferEXTFn
2210 #define glIsProgram ::gfx::g_current_gl_context->glIsProgramFn
2211 #define glIsQuery ::gfx::g_current_gl_context->glIsQueryFn
2212 #define glIsRenderbufferEXT ::gfx::g_current_gl_context->glIsRenderbufferEXTFn
2213 #define glIsSampler ::gfx::g_current_gl_context->glIsSamplerFn
2214 #define glIsShader ::gfx::g_current_gl_context->glIsShaderFn
2215 #define glIsSync ::gfx::g_current_gl_context->glIsSyncFn
2216 #define glIsTexture ::gfx::g_current_gl_context->glIsTextureFn
2217 #define glIsTransformFeedback \
2218 ::gfx::g_current_gl_context->glIsTransformFeedbackFn
2219 #define glIsVertexArrayOES ::gfx::g_current_gl_context->glIsVertexArrayOESFn
2220 #define glLineWidth ::gfx::g_current_gl_context->glLineWidthFn
2221 #define glLinkProgram ::gfx::g_current_gl_context->glLinkProgramFn
2222 #define glMapBuffer ::gfx::g_current_gl_context->glMapBufferFn
2223 #define glMapBufferRange ::gfx::g_current_gl_context->glMapBufferRangeFn
2224 #define glMatrixLoadfEXT ::gfx::g_current_gl_context->glMatrixLoadfEXTFn
2225 #define glMatrixLoadIdentityEXT \
2226 ::gfx::g_current_gl_context->glMatrixLoadIdentityEXTFn
2227 #define glPauseTransformFeedback \
2228 ::gfx::g_current_gl_context->glPauseTransformFeedbackFn
2229 #define glPixelStorei ::gfx::g_current_gl_context->glPixelStoreiFn
2230 #define glPointParameteri ::gfx::g_current_gl_context->glPointParameteriFn
2231 #define glPolygonOffset ::gfx::g_current_gl_context->glPolygonOffsetFn
2232 #define glPopGroupMarkerEXT ::gfx::g_current_gl_context->glPopGroupMarkerEXTFn
2233 #define glProgramBinary ::gfx::g_current_gl_context->glProgramBinaryFn
2234 #define glProgramParameteri ::gfx::g_current_gl_context->glProgramParameteriFn
2235 #define glPushGroupMarkerEXT ::gfx::g_current_gl_context->glPushGroupMarkerEXTFn
2236 #define glQueryCounter ::gfx::g_current_gl_context->glQueryCounterFn
2237 #define glReadBuffer ::gfx::g_current_gl_context->glReadBufferFn
2238 #define glReadPixels ::gfx::g_current_gl_context->glReadPixelsFn
2239 #define glReleaseShaderCompiler \
2240 ::gfx::g_current_gl_context->glReleaseShaderCompilerFn
2241 #define glRenderbufferStorageEXT \
2242 ::gfx::g_current_gl_context->glRenderbufferStorageEXTFn
2243 #define glRenderbufferStorageMultisample \
2244 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleFn
2245 #define glRenderbufferStorageMultisampleANGLE \
2246 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleANGLEFn
2247 #define glRenderbufferStorageMultisampleEXT \
2248 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleEXTFn
2249 #define glRenderbufferStorageMultisampleIMG \
2250 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleIMGFn
2251 #define glResumeTransformFeedback \
2252 ::gfx::g_current_gl_context->glResumeTransformFeedbackFn
2253 #define glSampleCoverage ::gfx::g_current_gl_context->glSampleCoverageFn
2254 #define glSamplerParameterf ::gfx::g_current_gl_context->glSamplerParameterfFn
2255 #define glSamplerParameterfv ::gfx::g_current_gl_context->glSamplerParameterfvFn
2256 #define glSamplerParameteri ::gfx::g_current_gl_context->glSamplerParameteriFn
2257 #define glSamplerParameteriv ::gfx::g_current_gl_context->glSamplerParameterivFn
2258 #define glScissor ::gfx::g_current_gl_context->glScissorFn
2259 #define glSetFenceAPPLE ::gfx::g_current_gl_context->glSetFenceAPPLEFn
2260 #define glSetFenceNV ::gfx::g_current_gl_context->glSetFenceNVFn
2261 #define glShaderBinary ::gfx::g_current_gl_context->glShaderBinaryFn
2262 #define glShaderSource ::gfx::g_current_gl_context->glShaderSourceFn
2263 #define glStencilFunc ::gfx::g_current_gl_context->glStencilFuncFn
2264 #define glStencilFuncSeparate \
2265 ::gfx::g_current_gl_context->glStencilFuncSeparateFn
2266 #define glStencilMask ::gfx::g_current_gl_context->glStencilMaskFn
2267 #define glStencilMaskSeparate \
2268 ::gfx::g_current_gl_context->glStencilMaskSeparateFn
2269 #define glStencilOp ::gfx::g_current_gl_context->glStencilOpFn
2270 #define glStencilOpSeparate ::gfx::g_current_gl_context->glStencilOpSeparateFn
2271 #define glTestFenceAPPLE ::gfx::g_current_gl_context->glTestFenceAPPLEFn
2272 #define glTestFenceNV ::gfx::g_current_gl_context->glTestFenceNVFn
2273 #define glTexImage2D ::gfx::g_current_gl_context->glTexImage2DFn
2274 #define glTexImage3D ::gfx::g_current_gl_context->glTexImage3DFn
2275 #define glTexParameterf ::gfx::g_current_gl_context->glTexParameterfFn
2276 #define glTexParameterfv ::gfx::g_current_gl_context->glTexParameterfvFn
2277 #define glTexParameteri ::gfx::g_current_gl_context->glTexParameteriFn
2278 #define glTexParameteriv ::gfx::g_current_gl_context->glTexParameterivFn
2279 #define glTexStorage2DEXT ::gfx::g_current_gl_context->glTexStorage2DEXTFn
2280 #define glTexStorage3D ::gfx::g_current_gl_context->glTexStorage3DFn
2281 #define glTexSubImage2D ::gfx::g_current_gl_context->glTexSubImage2DFn
2282 #define glTransformFeedbackVaryings \
2283 ::gfx::g_current_gl_context->glTransformFeedbackVaryingsFn
2284 #define glUniform1f ::gfx::g_current_gl_context->glUniform1fFn
2285 #define glUniform1fv ::gfx::g_current_gl_context->glUniform1fvFn
2286 #define glUniform1i ::gfx::g_current_gl_context->glUniform1iFn
2287 #define glUniform1iv ::gfx::g_current_gl_context->glUniform1ivFn
2288 #define glUniform1ui ::gfx::g_current_gl_context->glUniform1uiFn
2289 #define glUniform1uiv ::gfx::g_current_gl_context->glUniform1uivFn
2290 #define glUniform2f ::gfx::g_current_gl_context->glUniform2fFn
2291 #define glUniform2fv ::gfx::g_current_gl_context->glUniform2fvFn
2292 #define glUniform2i ::gfx::g_current_gl_context->glUniform2iFn
2293 #define glUniform2iv ::gfx::g_current_gl_context->glUniform2ivFn
2294 #define glUniform2ui ::gfx::g_current_gl_context->glUniform2uiFn
2295 #define glUniform2uiv ::gfx::g_current_gl_context->glUniform2uivFn
2296 #define glUniform3f ::gfx::g_current_gl_context->glUniform3fFn
2297 #define glUniform3fv ::gfx::g_current_gl_context->glUniform3fvFn
2298 #define glUniform3i ::gfx::g_current_gl_context->glUniform3iFn
2299 #define glUniform3iv ::gfx::g_current_gl_context->glUniform3ivFn
2300 #define glUniform3ui ::gfx::g_current_gl_context->glUniform3uiFn
2301 #define glUniform3uiv ::gfx::g_current_gl_context->glUniform3uivFn
2302 #define glUniform4f ::gfx::g_current_gl_context->glUniform4fFn
2303 #define glUniform4fv ::gfx::g_current_gl_context->glUniform4fvFn
2304 #define glUniform4i ::gfx::g_current_gl_context->glUniform4iFn
2305 #define glUniform4iv ::gfx::g_current_gl_context->glUniform4ivFn
2306 #define glUniform4ui ::gfx::g_current_gl_context->glUniform4uiFn
2307 #define glUniform4uiv ::gfx::g_current_gl_context->glUniform4uivFn
2308 #define glUniformBlockBinding \
2309 ::gfx::g_current_gl_context->glUniformBlockBindingFn
2310 #define glUniformMatrix2fv ::gfx::g_current_gl_context->glUniformMatrix2fvFn
2311 #define glUniformMatrix2x3fv ::gfx::g_current_gl_context->glUniformMatrix2x3fvFn
2312 #define glUniformMatrix2x4fv ::gfx::g_current_gl_context->glUniformMatrix2x4fvFn
2313 #define glUniformMatrix3fv ::gfx::g_current_gl_context->glUniformMatrix3fvFn
2314 #define glUniformMatrix3x2fv ::gfx::g_current_gl_context->glUniformMatrix3x2fvFn
2315 #define glUniformMatrix3x4fv ::gfx::g_current_gl_context->glUniformMatrix3x4fvFn
2316 #define glUniformMatrix4fv ::gfx::g_current_gl_context->glUniformMatrix4fvFn
2317 #define glUniformMatrix4x2fv ::gfx::g_current_gl_context->glUniformMatrix4x2fvFn
2318 #define glUniformMatrix4x3fv ::gfx::g_current_gl_context->glUniformMatrix4x3fvFn
2319 #define glUnmapBuffer ::gfx::g_current_gl_context->glUnmapBufferFn
2320 #define glUseProgram ::gfx::g_current_gl_context->glUseProgramFn
2321 #define glValidateProgram ::gfx::g_current_gl_context->glValidateProgramFn
2322 #define glVertexAttrib1f ::gfx::g_current_gl_context->glVertexAttrib1fFn
2323 #define glVertexAttrib1fv ::gfx::g_current_gl_context->glVertexAttrib1fvFn
2324 #define glVertexAttrib2f ::gfx::g_current_gl_context->glVertexAttrib2fFn
2325 #define glVertexAttrib2fv ::gfx::g_current_gl_context->glVertexAttrib2fvFn
2326 #define glVertexAttrib3f ::gfx::g_current_gl_context->glVertexAttrib3fFn
2327 #define glVertexAttrib3fv ::gfx::g_current_gl_context->glVertexAttrib3fvFn
2328 #define glVertexAttrib4f ::gfx::g_current_gl_context->glVertexAttrib4fFn
2329 #define glVertexAttrib4fv ::gfx::g_current_gl_context->glVertexAttrib4fvFn
2330 #define glVertexAttribDivisorANGLE \
2331 ::gfx::g_current_gl_context->glVertexAttribDivisorANGLEFn
2332 #define glVertexAttribI4i ::gfx::g_current_gl_context->glVertexAttribI4iFn
2333 #define glVertexAttribI4iv ::gfx::g_current_gl_context->glVertexAttribI4ivFn
2334 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn
2335 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn
2336 #define glVertexAttribIPointer \
2337 ::gfx::g_current_gl_context->glVertexAttribIPointerFn
2338 #define glVertexAttribPointer \
2339 ::gfx::g_current_gl_context->glVertexAttribPointerFn
2340 #define glViewport ::gfx::g_current_gl_context->glViewportFn
2341 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn
2343 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_