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
13 #include "ui/gl/gl_mock.h"
17 // This is called mainly to prevent the compiler combining the code of mock
18 // functions with identical contents, so that their function pointers will be
20 void MakeFunctionUnique(const char* func_name
) {
21 VLOG(2) << "Calling mock " << func_name
;
24 void GL_BINDING_CALL
MockGLInterface::Mock_glActiveTexture(GLenum texture
) {
25 MakeFunctionUnique("glActiveTexture");
26 interface_
->ActiveTexture(texture
);
30 MockGLInterface::Mock_glApplyFramebufferAttachmentCMAAINTEL(void) {
31 MakeFunctionUnique("glApplyFramebufferAttachmentCMAAINTEL");
32 interface_
->ApplyFramebufferAttachmentCMAAINTEL();
35 void GL_BINDING_CALL
MockGLInterface::Mock_glAttachShader(GLuint program
,
37 MakeFunctionUnique("glAttachShader");
38 interface_
->AttachShader(program
, shader
);
41 void GL_BINDING_CALL
MockGLInterface::Mock_glBeginQuery(GLenum target
,
43 MakeFunctionUnique("glBeginQuery");
44 interface_
->BeginQuery(target
, id
);
47 void GL_BINDING_CALL
MockGLInterface::Mock_glBeginQueryARB(GLenum target
,
49 MakeFunctionUnique("glBeginQueryARB");
50 interface_
->BeginQuery(target
, id
);
53 void GL_BINDING_CALL
MockGLInterface::Mock_glBeginQueryEXT(GLenum target
,
55 MakeFunctionUnique("glBeginQueryEXT");
56 interface_
->BeginQuery(target
, id
);
60 MockGLInterface::Mock_glBeginTransformFeedback(GLenum primitiveMode
) {
61 MakeFunctionUnique("glBeginTransformFeedback");
62 interface_
->BeginTransformFeedback(primitiveMode
);
66 MockGLInterface::Mock_glBindAttribLocation(GLuint program
,
69 MakeFunctionUnique("glBindAttribLocation");
70 interface_
->BindAttribLocation(program
, index
, name
);
73 void GL_BINDING_CALL
MockGLInterface::Mock_glBindBuffer(GLenum target
,
75 MakeFunctionUnique("glBindBuffer");
76 interface_
->BindBuffer(target
, buffer
);
79 void GL_BINDING_CALL
MockGLInterface::Mock_glBindBufferBase(GLenum target
,
82 MakeFunctionUnique("glBindBufferBase");
83 interface_
->BindBufferBase(target
, index
, buffer
);
86 void GL_BINDING_CALL
MockGLInterface::Mock_glBindBufferRange(GLenum target
,
91 MakeFunctionUnique("glBindBufferRange");
92 interface_
->BindBufferRange(target
, index
, buffer
, offset
, size
);
96 MockGLInterface::Mock_glBindFragDataLocation(GLuint program
,
99 MakeFunctionUnique("glBindFragDataLocation");
100 interface_
->BindFragDataLocation(program
, colorNumber
, name
);
104 MockGLInterface::Mock_glBindFragDataLocationIndexed(GLuint program
,
108 MakeFunctionUnique("glBindFragDataLocationIndexed");
109 interface_
->BindFragDataLocationIndexed(program
, colorNumber
, index
, name
);
113 MockGLInterface::Mock_glBindFramebuffer(GLenum target
, GLuint framebuffer
) {
114 MakeFunctionUnique("glBindFramebuffer");
115 interface_
->BindFramebufferEXT(target
, framebuffer
);
119 MockGLInterface::Mock_glBindFramebufferEXT(GLenum target
, GLuint framebuffer
) {
120 MakeFunctionUnique("glBindFramebufferEXT");
121 interface_
->BindFramebufferEXT(target
, framebuffer
);
125 MockGLInterface::Mock_glBindRenderbuffer(GLenum target
, GLuint renderbuffer
) {
126 MakeFunctionUnique("glBindRenderbuffer");
127 interface_
->BindRenderbufferEXT(target
, renderbuffer
);
131 MockGLInterface::Mock_glBindRenderbufferEXT(GLenum target
,
132 GLuint renderbuffer
) {
133 MakeFunctionUnique("glBindRenderbufferEXT");
134 interface_
->BindRenderbufferEXT(target
, renderbuffer
);
137 void GL_BINDING_CALL
MockGLInterface::Mock_glBindSampler(GLuint unit
,
139 MakeFunctionUnique("glBindSampler");
140 interface_
->BindSampler(unit
, sampler
);
143 void GL_BINDING_CALL
MockGLInterface::Mock_glBindTexture(GLenum target
,
145 MakeFunctionUnique("glBindTexture");
146 interface_
->BindTexture(target
, texture
);
150 MockGLInterface::Mock_glBindTransformFeedback(GLenum target
, GLuint id
) {
151 MakeFunctionUnique("glBindTransformFeedback");
152 interface_
->BindTransformFeedback(target
, id
);
155 void GL_BINDING_CALL
MockGLInterface::Mock_glBindVertexArray(GLuint array
) {
156 MakeFunctionUnique("glBindVertexArray");
157 interface_
->BindVertexArrayOES(array
);
161 MockGLInterface::Mock_glBindVertexArrayAPPLE(GLuint array
) {
162 MakeFunctionUnique("glBindVertexArrayAPPLE");
163 interface_
->BindVertexArrayOES(array
);
166 void GL_BINDING_CALL
MockGLInterface::Mock_glBindVertexArrayOES(GLuint array
) {
167 MakeFunctionUnique("glBindVertexArrayOES");
168 interface_
->BindVertexArrayOES(array
);
171 void GL_BINDING_CALL
MockGLInterface::Mock_glBlendBarrierKHR(void) {
172 MakeFunctionUnique("glBlendBarrierKHR");
173 interface_
->BlendBarrierKHR();
176 void GL_BINDING_CALL
MockGLInterface::Mock_glBlendBarrierNV(void) {
177 MakeFunctionUnique("glBlendBarrierNV");
178 interface_
->BlendBarrierKHR();
181 void GL_BINDING_CALL
MockGLInterface::Mock_glBlendColor(GLclampf red
,
185 MakeFunctionUnique("glBlendColor");
186 interface_
->BlendColor(red
, green
, blue
, alpha
);
189 void GL_BINDING_CALL
MockGLInterface::Mock_glBlendEquation(GLenum mode
) {
190 MakeFunctionUnique("glBlendEquation");
191 interface_
->BlendEquation(mode
);
195 MockGLInterface::Mock_glBlendEquationSeparate(GLenum modeRGB
,
197 MakeFunctionUnique("glBlendEquationSeparate");
198 interface_
->BlendEquationSeparate(modeRGB
, modeAlpha
);
201 void GL_BINDING_CALL
MockGLInterface::Mock_glBlendFunc(GLenum sfactor
,
203 MakeFunctionUnique("glBlendFunc");
204 interface_
->BlendFunc(sfactor
, dfactor
);
208 MockGLInterface::Mock_glBlendFuncSeparate(GLenum srcRGB
,
212 MakeFunctionUnique("glBlendFuncSeparate");
213 interface_
->BlendFuncSeparate(srcRGB
, dstRGB
, srcAlpha
, dstAlpha
);
216 void GL_BINDING_CALL
MockGLInterface::Mock_glBlitFramebuffer(GLint srcX0
,
226 MakeFunctionUnique("glBlitFramebuffer");
227 interface_
->BlitFramebufferEXT(srcX0
, srcY0
, srcX1
, srcY1
, dstX0
, dstY0
,
228 dstX1
, dstY1
, mask
, filter
);
232 MockGLInterface::Mock_glBlitFramebufferANGLE(GLint srcX0
,
242 MakeFunctionUnique("glBlitFramebufferANGLE");
243 interface_
->BlitFramebufferANGLE(srcX0
, srcY0
, srcX1
, srcY1
, dstX0
, dstY0
,
244 dstX1
, dstY1
, mask
, filter
);
247 void GL_BINDING_CALL
MockGLInterface::Mock_glBlitFramebufferEXT(GLint srcX0
,
257 MakeFunctionUnique("glBlitFramebufferEXT");
258 interface_
->BlitFramebufferEXT(srcX0
, srcY0
, srcX1
, srcY1
, dstX0
, dstY0
,
259 dstX1
, dstY1
, mask
, filter
);
262 void GL_BINDING_CALL
MockGLInterface::Mock_glBufferData(GLenum target
,
266 MakeFunctionUnique("glBufferData");
267 interface_
->BufferData(target
, size
, data
, usage
);
270 void GL_BINDING_CALL
MockGLInterface::Mock_glBufferSubData(GLenum target
,
274 MakeFunctionUnique("glBufferSubData");
275 interface_
->BufferSubData(target
, offset
, size
, data
);
278 GLenum GL_BINDING_CALL
279 MockGLInterface::Mock_glCheckFramebufferStatus(GLenum target
) {
280 MakeFunctionUnique("glCheckFramebufferStatus");
281 return interface_
->CheckFramebufferStatusEXT(target
);
284 GLenum GL_BINDING_CALL
285 MockGLInterface::Mock_glCheckFramebufferStatusEXT(GLenum target
) {
286 MakeFunctionUnique("glCheckFramebufferStatusEXT");
287 return interface_
->CheckFramebufferStatusEXT(target
);
290 void GL_BINDING_CALL
MockGLInterface::Mock_glClear(GLbitfield mask
) {
291 MakeFunctionUnique("glClear");
292 interface_
->Clear(mask
);
295 void GL_BINDING_CALL
MockGLInterface::Mock_glClearBufferfi(GLenum buffer
,
299 MakeFunctionUnique("glClearBufferfi");
300 interface_
->ClearBufferfi(buffer
, drawbuffer
, depth
, stencil
);
304 MockGLInterface::Mock_glClearBufferfv(GLenum buffer
,
306 const GLfloat
* value
) {
307 MakeFunctionUnique("glClearBufferfv");
308 interface_
->ClearBufferfv(buffer
, drawbuffer
, value
);
311 void GL_BINDING_CALL
MockGLInterface::Mock_glClearBufferiv(GLenum buffer
,
313 const GLint
* value
) {
314 MakeFunctionUnique("glClearBufferiv");
315 interface_
->ClearBufferiv(buffer
, drawbuffer
, value
);
319 MockGLInterface::Mock_glClearBufferuiv(GLenum buffer
,
321 const GLuint
* value
) {
322 MakeFunctionUnique("glClearBufferuiv");
323 interface_
->ClearBufferuiv(buffer
, drawbuffer
, value
);
326 void GL_BINDING_CALL
MockGLInterface::Mock_glClearColor(GLclampf red
,
330 MakeFunctionUnique("glClearColor");
331 interface_
->ClearColor(red
, green
, blue
, alpha
);
334 void GL_BINDING_CALL
MockGLInterface::Mock_glClearDepth(GLclampd depth
) {
335 MakeFunctionUnique("glClearDepth");
336 interface_
->ClearDepth(depth
);
339 void GL_BINDING_CALL
MockGLInterface::Mock_glClearDepthf(GLclampf depth
) {
340 MakeFunctionUnique("glClearDepthf");
341 interface_
->ClearDepthf(depth
);
344 void GL_BINDING_CALL
MockGLInterface::Mock_glClearStencil(GLint s
) {
345 MakeFunctionUnique("glClearStencil");
346 interface_
->ClearStencil(s
);
349 GLenum GL_BINDING_CALL
350 MockGLInterface::Mock_glClientWaitSync(GLsync sync
,
353 MakeFunctionUnique("glClientWaitSync");
354 return interface_
->ClientWaitSync(sync
, flags
, timeout
);
357 void GL_BINDING_CALL
MockGLInterface::Mock_glColorMask(GLboolean red
,
361 MakeFunctionUnique("glColorMask");
362 interface_
->ColorMask(red
, green
, blue
, alpha
);
365 void GL_BINDING_CALL
MockGLInterface::Mock_glCompileShader(GLuint shader
) {
366 MakeFunctionUnique("glCompileShader");
367 interface_
->CompileShader(shader
);
371 MockGLInterface::Mock_glCompressedTexImage2D(GLenum target
,
373 GLenum internalformat
,
379 MakeFunctionUnique("glCompressedTexImage2D");
380 interface_
->CompressedTexImage2D(target
, level
, internalformat
, width
, height
,
381 border
, imageSize
, data
);
385 MockGLInterface::Mock_glCompressedTexImage3D(GLenum target
,
387 GLenum internalformat
,
394 MakeFunctionUnique("glCompressedTexImage3D");
395 interface_
->CompressedTexImage3D(target
, level
, internalformat
, width
, height
,
396 depth
, border
, imageSize
, data
);
400 MockGLInterface::Mock_glCompressedTexSubImage2D(GLenum target
,
409 MakeFunctionUnique("glCompressedTexSubImage2D");
410 interface_
->CompressedTexSubImage2D(target
, level
, xoffset
, yoffset
, width
,
411 height
, format
, imageSize
, data
);
415 MockGLInterface::Mock_glCompressedTexSubImage3D(GLenum target
,
426 MakeFunctionUnique("glCompressedTexSubImage3D");
427 interface_
->CompressedTexSubImage3D(target
, level
, xoffset
, yoffset
, zoffset
,
428 width
, height
, depth
, format
, imageSize
,
433 MockGLInterface::Mock_glCopyBufferSubData(GLenum readTarget
,
436 GLintptr writeOffset
,
438 MakeFunctionUnique("glCopyBufferSubData");
439 interface_
->CopyBufferSubData(readTarget
, writeTarget
, readOffset
,
444 MockGLInterface::Mock_glCopyTexImage2D(GLenum target
,
446 GLenum internalformat
,
452 MakeFunctionUnique("glCopyTexImage2D");
453 interface_
->CopyTexImage2D(target
, level
, internalformat
, x
, y
, width
, height
,
457 void GL_BINDING_CALL
MockGLInterface::Mock_glCopyTexSubImage2D(GLenum target
,
465 MakeFunctionUnique("glCopyTexSubImage2D");
466 interface_
->CopyTexSubImage2D(target
, level
, xoffset
, yoffset
, x
, y
, width
,
470 void GL_BINDING_CALL
MockGLInterface::Mock_glCopyTexSubImage3D(GLenum target
,
479 MakeFunctionUnique("glCopyTexSubImage3D");
480 interface_
->CopyTexSubImage3D(target
, level
, xoffset
, yoffset
, zoffset
, x
, y
,
484 void GL_BINDING_CALL
MockGLInterface::Mock_glCoverFillPathNV(GLuint path
,
486 MakeFunctionUnique("glCoverFillPathNV");
487 interface_
->CoverFillPathNV(path
, coverMode
);
491 MockGLInterface::Mock_glCoverStrokePathNV(GLuint name
, GLenum coverMode
) {
492 MakeFunctionUnique("glCoverStrokePathNV");
493 interface_
->CoverStrokePathNV(name
, coverMode
);
496 GLuint GL_BINDING_CALL
MockGLInterface::Mock_glCreateProgram(void) {
497 MakeFunctionUnique("glCreateProgram");
498 return interface_
->CreateProgram();
501 GLuint GL_BINDING_CALL
MockGLInterface::Mock_glCreateShader(GLenum type
) {
502 MakeFunctionUnique("glCreateShader");
503 return interface_
->CreateShader(type
);
506 void GL_BINDING_CALL
MockGLInterface::Mock_glCullFace(GLenum mode
) {
507 MakeFunctionUnique("glCullFace");
508 interface_
->CullFace(mode
);
512 MockGLInterface::Mock_glDeleteBuffers(GLsizei n
, const GLuint
* buffers
) {
513 MakeFunctionUnique("glDeleteBuffers");
514 interface_
->DeleteBuffersARB(n
, buffers
);
518 MockGLInterface::Mock_glDeleteFencesAPPLE(GLsizei n
, const GLuint
* fences
) {
519 MakeFunctionUnique("glDeleteFencesAPPLE");
520 interface_
->DeleteFencesAPPLE(n
, fences
);
524 MockGLInterface::Mock_glDeleteFencesNV(GLsizei n
, const GLuint
* fences
) {
525 MakeFunctionUnique("glDeleteFencesNV");
526 interface_
->DeleteFencesNV(n
, fences
);
530 MockGLInterface::Mock_glDeleteFramebuffers(GLsizei n
,
531 const GLuint
* framebuffers
) {
532 MakeFunctionUnique("glDeleteFramebuffers");
533 interface_
->DeleteFramebuffersEXT(n
, framebuffers
);
537 MockGLInterface::Mock_glDeleteFramebuffersEXT(GLsizei n
,
538 const GLuint
* framebuffers
) {
539 MakeFunctionUnique("glDeleteFramebuffersEXT");
540 interface_
->DeleteFramebuffersEXT(n
, framebuffers
);
543 void GL_BINDING_CALL
MockGLInterface::Mock_glDeletePathsNV(GLuint path
,
545 MakeFunctionUnique("glDeletePathsNV");
546 interface_
->DeletePathsNV(path
, range
);
549 void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteProgram(GLuint program
) {
550 MakeFunctionUnique("glDeleteProgram");
551 interface_
->DeleteProgram(program
);
554 void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteQueries(GLsizei n
,
556 MakeFunctionUnique("glDeleteQueries");
557 interface_
->DeleteQueries(n
, ids
);
561 MockGLInterface::Mock_glDeleteQueriesARB(GLsizei n
, const GLuint
* ids
) {
562 MakeFunctionUnique("glDeleteQueriesARB");
563 interface_
->DeleteQueries(n
, ids
);
567 MockGLInterface::Mock_glDeleteQueriesEXT(GLsizei n
, const GLuint
* ids
) {
568 MakeFunctionUnique("glDeleteQueriesEXT");
569 interface_
->DeleteQueries(n
, ids
);
573 MockGLInterface::Mock_glDeleteRenderbuffers(GLsizei n
,
574 const GLuint
* renderbuffers
) {
575 MakeFunctionUnique("glDeleteRenderbuffers");
576 interface_
->DeleteRenderbuffersEXT(n
, renderbuffers
);
580 MockGLInterface::Mock_glDeleteRenderbuffersEXT(GLsizei n
,
581 const GLuint
* renderbuffers
) {
582 MakeFunctionUnique("glDeleteRenderbuffersEXT");
583 interface_
->DeleteRenderbuffersEXT(n
, renderbuffers
);
587 MockGLInterface::Mock_glDeleteSamplers(GLsizei n
, const GLuint
* samplers
) {
588 MakeFunctionUnique("glDeleteSamplers");
589 interface_
->DeleteSamplers(n
, samplers
);
592 void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteShader(GLuint shader
) {
593 MakeFunctionUnique("glDeleteShader");
594 interface_
->DeleteShader(shader
);
597 void GL_BINDING_CALL
MockGLInterface::Mock_glDeleteSync(GLsync sync
) {
598 MakeFunctionUnique("glDeleteSync");
599 interface_
->DeleteSync(sync
);
603 MockGLInterface::Mock_glDeleteTextures(GLsizei n
, const GLuint
* textures
) {
604 MakeFunctionUnique("glDeleteTextures");
605 interface_
->DeleteTextures(n
, textures
);
609 MockGLInterface::Mock_glDeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
) {
610 MakeFunctionUnique("glDeleteTransformFeedbacks");
611 interface_
->DeleteTransformFeedbacks(n
, ids
);
615 MockGLInterface::Mock_glDeleteVertexArrays(GLsizei n
, const GLuint
* arrays
) {
616 MakeFunctionUnique("glDeleteVertexArrays");
617 interface_
->DeleteVertexArraysOES(n
, arrays
);
621 MockGLInterface::Mock_glDeleteVertexArraysAPPLE(GLsizei n
,
622 const GLuint
* arrays
) {
623 MakeFunctionUnique("glDeleteVertexArraysAPPLE");
624 interface_
->DeleteVertexArraysOES(n
, arrays
);
628 MockGLInterface::Mock_glDeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) {
629 MakeFunctionUnique("glDeleteVertexArraysOES");
630 interface_
->DeleteVertexArraysOES(n
, arrays
);
633 void GL_BINDING_CALL
MockGLInterface::Mock_glDepthFunc(GLenum func
) {
634 MakeFunctionUnique("glDepthFunc");
635 interface_
->DepthFunc(func
);
638 void GL_BINDING_CALL
MockGLInterface::Mock_glDepthMask(GLboolean flag
) {
639 MakeFunctionUnique("glDepthMask");
640 interface_
->DepthMask(flag
);
643 void GL_BINDING_CALL
MockGLInterface::Mock_glDepthRange(GLclampd zNear
,
645 MakeFunctionUnique("glDepthRange");
646 interface_
->DepthRange(zNear
, zFar
);
649 void GL_BINDING_CALL
MockGLInterface::Mock_glDepthRangef(GLclampf zNear
,
651 MakeFunctionUnique("glDepthRangef");
652 interface_
->DepthRangef(zNear
, zFar
);
655 void GL_BINDING_CALL
MockGLInterface::Mock_glDetachShader(GLuint program
,
657 MakeFunctionUnique("glDetachShader");
658 interface_
->DetachShader(program
, shader
);
661 void GL_BINDING_CALL
MockGLInterface::Mock_glDisable(GLenum cap
) {
662 MakeFunctionUnique("glDisable");
663 interface_
->Disable(cap
);
667 MockGLInterface::Mock_glDisableVertexAttribArray(GLuint index
) {
668 MakeFunctionUnique("glDisableVertexAttribArray");
669 interface_
->DisableVertexAttribArray(index
);
673 MockGLInterface::Mock_glDiscardFramebufferEXT(GLenum target
,
674 GLsizei numAttachments
,
675 const GLenum
* attachments
) {
676 MakeFunctionUnique("glDiscardFramebufferEXT");
677 interface_
->DiscardFramebufferEXT(target
, numAttachments
, attachments
);
680 void GL_BINDING_CALL
MockGLInterface::Mock_glDrawArrays(GLenum mode
,
683 MakeFunctionUnique("glDrawArrays");
684 interface_
->DrawArrays(mode
, first
, count
);
688 MockGLInterface::Mock_glDrawArraysInstanced(GLenum mode
,
692 MakeFunctionUnique("glDrawArraysInstanced");
693 interface_
->DrawArraysInstancedANGLE(mode
, first
, count
, primcount
);
697 MockGLInterface::Mock_glDrawArraysInstancedANGLE(GLenum mode
,
701 MakeFunctionUnique("glDrawArraysInstancedANGLE");
702 interface_
->DrawArraysInstancedANGLE(mode
, first
, count
, primcount
);
706 MockGLInterface::Mock_glDrawArraysInstancedARB(GLenum mode
,
710 MakeFunctionUnique("glDrawArraysInstancedARB");
711 interface_
->DrawArraysInstancedANGLE(mode
, first
, count
, primcount
);
714 void GL_BINDING_CALL
MockGLInterface::Mock_glDrawBuffer(GLenum mode
) {
715 MakeFunctionUnique("glDrawBuffer");
716 interface_
->DrawBuffer(mode
);
719 void GL_BINDING_CALL
MockGLInterface::Mock_glDrawBuffers(GLsizei n
,
720 const GLenum
* bufs
) {
721 MakeFunctionUnique("glDrawBuffers");
722 interface_
->DrawBuffersARB(n
, bufs
);
726 MockGLInterface::Mock_glDrawBuffersARB(GLsizei n
, const GLenum
* bufs
) {
727 MakeFunctionUnique("glDrawBuffersARB");
728 interface_
->DrawBuffersARB(n
, bufs
);
732 MockGLInterface::Mock_glDrawBuffersEXT(GLsizei n
, const GLenum
* bufs
) {
733 MakeFunctionUnique("glDrawBuffersEXT");
734 interface_
->DrawBuffersARB(n
, bufs
);
737 void GL_BINDING_CALL
MockGLInterface::Mock_glDrawElements(GLenum mode
,
740 const void* indices
) {
741 MakeFunctionUnique("glDrawElements");
742 interface_
->DrawElements(mode
, count
, type
, indices
);
746 MockGLInterface::Mock_glDrawElementsInstanced(GLenum mode
,
751 MakeFunctionUnique("glDrawElementsInstanced");
752 interface_
->DrawElementsInstancedANGLE(mode
, count
, type
, indices
, primcount
);
756 MockGLInterface::Mock_glDrawElementsInstancedANGLE(GLenum mode
,
761 MakeFunctionUnique("glDrawElementsInstancedANGLE");
762 interface_
->DrawElementsInstancedANGLE(mode
, count
, type
, indices
, primcount
);
766 MockGLInterface::Mock_glDrawElementsInstancedARB(GLenum mode
,
771 MakeFunctionUnique("glDrawElementsInstancedARB");
772 interface_
->DrawElementsInstancedANGLE(mode
, count
, type
, indices
, primcount
);
776 MockGLInterface::Mock_glDrawRangeElements(GLenum mode
,
781 const void* indices
) {
782 MakeFunctionUnique("glDrawRangeElements");
783 interface_
->DrawRangeElements(mode
, start
, end
, count
, type
, indices
);
787 MockGLInterface::Mock_glEGLImageTargetRenderbufferStorageOES(
789 GLeglImageOES image
) {
790 MakeFunctionUnique("glEGLImageTargetRenderbufferStorageOES");
791 interface_
->EGLImageTargetRenderbufferStorageOES(target
, image
);
795 MockGLInterface::Mock_glEGLImageTargetTexture2DOES(GLenum target
,
796 GLeglImageOES image
) {
797 MakeFunctionUnique("glEGLImageTargetTexture2DOES");
798 interface_
->EGLImageTargetTexture2DOES(target
, image
);
801 void GL_BINDING_CALL
MockGLInterface::Mock_glEnable(GLenum cap
) {
802 MakeFunctionUnique("glEnable");
803 interface_
->Enable(cap
);
807 MockGLInterface::Mock_glEnableVertexAttribArray(GLuint index
) {
808 MakeFunctionUnique("glEnableVertexAttribArray");
809 interface_
->EnableVertexAttribArray(index
);
812 void GL_BINDING_CALL
MockGLInterface::Mock_glEndQuery(GLenum target
) {
813 MakeFunctionUnique("glEndQuery");
814 interface_
->EndQuery(target
);
817 void GL_BINDING_CALL
MockGLInterface::Mock_glEndQueryARB(GLenum target
) {
818 MakeFunctionUnique("glEndQueryARB");
819 interface_
->EndQuery(target
);
822 void GL_BINDING_CALL
MockGLInterface::Mock_glEndQueryEXT(GLenum target
) {
823 MakeFunctionUnique("glEndQueryEXT");
824 interface_
->EndQuery(target
);
827 void GL_BINDING_CALL
MockGLInterface::Mock_glEndTransformFeedback(void) {
828 MakeFunctionUnique("glEndTransformFeedback");
829 interface_
->EndTransformFeedback();
832 GLsync GL_BINDING_CALL
MockGLInterface::Mock_glFenceSync(GLenum condition
,
834 MakeFunctionUnique("glFenceSync");
835 return interface_
->FenceSync(condition
, flags
);
838 void GL_BINDING_CALL
MockGLInterface::Mock_glFinish(void) {
839 MakeFunctionUnique("glFinish");
840 interface_
->Finish();
843 void GL_BINDING_CALL
MockGLInterface::Mock_glFinishFenceAPPLE(GLuint fence
) {
844 MakeFunctionUnique("glFinishFenceAPPLE");
845 interface_
->FinishFenceAPPLE(fence
);
848 void GL_BINDING_CALL
MockGLInterface::Mock_glFinishFenceNV(GLuint fence
) {
849 MakeFunctionUnique("glFinishFenceNV");
850 interface_
->FinishFenceNV(fence
);
853 void GL_BINDING_CALL
MockGLInterface::Mock_glFlush(void) {
854 MakeFunctionUnique("glFlush");
859 MockGLInterface::Mock_glFlushMappedBufferRange(GLenum target
,
862 MakeFunctionUnique("glFlushMappedBufferRange");
863 interface_
->FlushMappedBufferRange(target
, offset
, length
);
867 MockGLInterface::Mock_glFramebufferRenderbuffer(GLenum target
,
869 GLenum renderbuffertarget
,
870 GLuint renderbuffer
) {
871 MakeFunctionUnique("glFramebufferRenderbuffer");
872 interface_
->FramebufferRenderbufferEXT(target
, attachment
, renderbuffertarget
,
877 MockGLInterface::Mock_glFramebufferRenderbufferEXT(GLenum target
,
879 GLenum renderbuffertarget
,
880 GLuint renderbuffer
) {
881 MakeFunctionUnique("glFramebufferRenderbufferEXT");
882 interface_
->FramebufferRenderbufferEXT(target
, attachment
, renderbuffertarget
,
887 MockGLInterface::Mock_glFramebufferTexture2D(GLenum target
,
892 MakeFunctionUnique("glFramebufferTexture2D");
893 interface_
->FramebufferTexture2DEXT(target
, attachment
, textarget
, texture
,
898 MockGLInterface::Mock_glFramebufferTexture2DEXT(GLenum target
,
903 MakeFunctionUnique("glFramebufferTexture2DEXT");
904 interface_
->FramebufferTexture2DEXT(target
, attachment
, textarget
, texture
,
909 MockGLInterface::Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
915 MakeFunctionUnique("glFramebufferTexture2DMultisampleEXT");
916 interface_
->FramebufferTexture2DMultisampleEXT(target
, attachment
, textarget
,
917 texture
, level
, samples
);
921 MockGLInterface::Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
927 MakeFunctionUnique("glFramebufferTexture2DMultisampleIMG");
928 interface_
->FramebufferTexture2DMultisampleIMG(target
, attachment
, textarget
,
929 texture
, level
, samples
);
933 MockGLInterface::Mock_glFramebufferTextureLayer(GLenum target
,
938 MakeFunctionUnique("glFramebufferTextureLayer");
939 interface_
->FramebufferTextureLayer(target
, attachment
, texture
, level
,
943 void GL_BINDING_CALL
MockGLInterface::Mock_glFrontFace(GLenum mode
) {
944 MakeFunctionUnique("glFrontFace");
945 interface_
->FrontFace(mode
);
948 void GL_BINDING_CALL
MockGLInterface::Mock_glGenBuffers(GLsizei n
,
950 MakeFunctionUnique("glGenBuffers");
951 interface_
->GenBuffersARB(n
, buffers
);
954 void GL_BINDING_CALL
MockGLInterface::Mock_glGenFencesAPPLE(GLsizei n
,
956 MakeFunctionUnique("glGenFencesAPPLE");
957 interface_
->GenFencesAPPLE(n
, fences
);
960 void GL_BINDING_CALL
MockGLInterface::Mock_glGenFencesNV(GLsizei n
,
962 MakeFunctionUnique("glGenFencesNV");
963 interface_
->GenFencesNV(n
, fences
);
967 MockGLInterface::Mock_glGenFramebuffers(GLsizei n
, GLuint
* framebuffers
) {
968 MakeFunctionUnique("glGenFramebuffers");
969 interface_
->GenFramebuffersEXT(n
, framebuffers
);
973 MockGLInterface::Mock_glGenFramebuffersEXT(GLsizei n
, GLuint
* framebuffers
) {
974 MakeFunctionUnique("glGenFramebuffersEXT");
975 interface_
->GenFramebuffersEXT(n
, framebuffers
);
978 GLuint GL_BINDING_CALL
MockGLInterface::Mock_glGenPathsNV(GLsizei range
) {
979 MakeFunctionUnique("glGenPathsNV");
980 return interface_
->GenPathsNV(range
);
983 void GL_BINDING_CALL
MockGLInterface::Mock_glGenQueries(GLsizei n
,
985 MakeFunctionUnique("glGenQueries");
986 interface_
->GenQueries(n
, ids
);
989 void GL_BINDING_CALL
MockGLInterface::Mock_glGenQueriesARB(GLsizei n
,
991 MakeFunctionUnique("glGenQueriesARB");
992 interface_
->GenQueries(n
, ids
);
995 void GL_BINDING_CALL
MockGLInterface::Mock_glGenQueriesEXT(GLsizei n
,
997 MakeFunctionUnique("glGenQueriesEXT");
998 interface_
->GenQueries(n
, ids
);
1001 void GL_BINDING_CALL
1002 MockGLInterface::Mock_glGenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
) {
1003 MakeFunctionUnique("glGenRenderbuffers");
1004 interface_
->GenRenderbuffersEXT(n
, renderbuffers
);
1007 void GL_BINDING_CALL
1008 MockGLInterface::Mock_glGenRenderbuffersEXT(GLsizei n
, GLuint
* renderbuffers
) {
1009 MakeFunctionUnique("glGenRenderbuffersEXT");
1010 interface_
->GenRenderbuffersEXT(n
, renderbuffers
);
1013 void GL_BINDING_CALL
MockGLInterface::Mock_glGenSamplers(GLsizei n
,
1015 MakeFunctionUnique("glGenSamplers");
1016 interface_
->GenSamplers(n
, samplers
);
1019 void GL_BINDING_CALL
MockGLInterface::Mock_glGenTextures(GLsizei n
,
1021 MakeFunctionUnique("glGenTextures");
1022 interface_
->GenTextures(n
, textures
);
1025 void GL_BINDING_CALL
1026 MockGLInterface::Mock_glGenTransformFeedbacks(GLsizei n
, GLuint
* ids
) {
1027 MakeFunctionUnique("glGenTransformFeedbacks");
1028 interface_
->GenTransformFeedbacks(n
, ids
);
1031 void GL_BINDING_CALL
MockGLInterface::Mock_glGenVertexArrays(GLsizei n
,
1033 MakeFunctionUnique("glGenVertexArrays");
1034 interface_
->GenVertexArraysOES(n
, arrays
);
1037 void GL_BINDING_CALL
1038 MockGLInterface::Mock_glGenVertexArraysAPPLE(GLsizei n
, GLuint
* arrays
) {
1039 MakeFunctionUnique("glGenVertexArraysAPPLE");
1040 interface_
->GenVertexArraysOES(n
, arrays
);
1043 void GL_BINDING_CALL
1044 MockGLInterface::Mock_glGenVertexArraysOES(GLsizei n
, GLuint
* arrays
) {
1045 MakeFunctionUnique("glGenVertexArraysOES");
1046 interface_
->GenVertexArraysOES(n
, arrays
);
1049 void GL_BINDING_CALL
MockGLInterface::Mock_glGenerateMipmap(GLenum target
) {
1050 MakeFunctionUnique("glGenerateMipmap");
1051 interface_
->GenerateMipmapEXT(target
);
1054 void GL_BINDING_CALL
MockGLInterface::Mock_glGenerateMipmapEXT(GLenum target
) {
1055 MakeFunctionUnique("glGenerateMipmapEXT");
1056 interface_
->GenerateMipmapEXT(target
);
1059 void GL_BINDING_CALL
MockGLInterface::Mock_glGetActiveAttrib(GLuint program
,
1066 MakeFunctionUnique("glGetActiveAttrib");
1067 interface_
->GetActiveAttrib(program
, index
, bufsize
, length
, size
, type
,
1071 void GL_BINDING_CALL
MockGLInterface::Mock_glGetActiveUniform(GLuint program
,
1078 MakeFunctionUnique("glGetActiveUniform");
1079 interface_
->GetActiveUniform(program
, index
, bufsize
, length
, size
, type
,
1083 void GL_BINDING_CALL
1084 MockGLInterface::Mock_glGetActiveUniformBlockName(GLuint program
,
1085 GLuint uniformBlockIndex
,
1088 char* uniformBlockName
) {
1089 MakeFunctionUnique("glGetActiveUniformBlockName");
1090 interface_
->GetActiveUniformBlockName(program
, uniformBlockIndex
, bufSize
,
1091 length
, uniformBlockName
);
1094 void GL_BINDING_CALL
1095 MockGLInterface::Mock_glGetActiveUniformBlockiv(GLuint program
,
1096 GLuint uniformBlockIndex
,
1099 MakeFunctionUnique("glGetActiveUniformBlockiv");
1100 interface_
->GetActiveUniformBlockiv(program
, uniformBlockIndex
, pname
,
1104 void GL_BINDING_CALL
1105 MockGLInterface::Mock_glGetActiveUniformsiv(GLuint program
,
1106 GLsizei uniformCount
,
1107 const GLuint
* uniformIndices
,
1110 MakeFunctionUnique("glGetActiveUniformsiv");
1111 interface_
->GetActiveUniformsiv(program
, uniformCount
, uniformIndices
, pname
,
1115 void GL_BINDING_CALL
1116 MockGLInterface::Mock_glGetAttachedShaders(GLuint program
,
1120 MakeFunctionUnique("glGetAttachedShaders");
1121 interface_
->GetAttachedShaders(program
, maxcount
, count
, shaders
);
1124 GLint GL_BINDING_CALL
1125 MockGLInterface::Mock_glGetAttribLocation(GLuint program
, const char* name
) {
1126 MakeFunctionUnique("glGetAttribLocation");
1127 return interface_
->GetAttribLocation(program
, name
);
1130 void GL_BINDING_CALL
MockGLInterface::Mock_glGetBooleanv(GLenum pname
,
1131 GLboolean
* params
) {
1132 MakeFunctionUnique("glGetBooleanv");
1133 interface_
->GetBooleanv(pname
, params
);
1136 void GL_BINDING_CALL
1137 MockGLInterface::Mock_glGetBufferParameteriv(GLenum target
,
1140 MakeFunctionUnique("glGetBufferParameteriv");
1141 interface_
->GetBufferParameteriv(target
, pname
, params
);
1144 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glGetError(void) {
1145 MakeFunctionUnique("glGetError");
1146 return interface_
->GetError();
1149 void GL_BINDING_CALL
MockGLInterface::Mock_glGetFenceivNV(GLuint fence
,
1152 MakeFunctionUnique("glGetFenceivNV");
1153 interface_
->GetFenceivNV(fence
, pname
, params
);
1156 void GL_BINDING_CALL
MockGLInterface::Mock_glGetFloatv(GLenum pname
,
1158 MakeFunctionUnique("glGetFloatv");
1159 interface_
->GetFloatv(pname
, params
);
1162 GLint GL_BINDING_CALL
1163 MockGLInterface::Mock_glGetFragDataLocation(GLuint program
, const char* name
) {
1164 MakeFunctionUnique("glGetFragDataLocation");
1165 return interface_
->GetFragDataLocation(program
, name
);
1168 void GL_BINDING_CALL
1169 MockGLInterface::Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
1173 MakeFunctionUnique("glGetFramebufferAttachmentParameteriv");
1174 interface_
->GetFramebufferAttachmentParameterivEXT(target
, attachment
, pname
,
1178 void GL_BINDING_CALL
1179 MockGLInterface::Mock_glGetFramebufferAttachmentParameterivEXT(
1184 MakeFunctionUnique("glGetFramebufferAttachmentParameterivEXT");
1185 interface_
->GetFramebufferAttachmentParameterivEXT(target
, attachment
, pname
,
1189 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glGetGraphicsResetStatus(void) {
1190 MakeFunctionUnique("glGetGraphicsResetStatus");
1191 return interface_
->GetGraphicsResetStatusARB();
1194 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glGetGraphicsResetStatusARB(void) {
1195 MakeFunctionUnique("glGetGraphicsResetStatusARB");
1196 return interface_
->GetGraphicsResetStatusARB();
1199 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glGetGraphicsResetStatusEXT(void) {
1200 MakeFunctionUnique("glGetGraphicsResetStatusEXT");
1201 return interface_
->GetGraphicsResetStatusARB();
1204 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glGetGraphicsResetStatusKHR(void) {
1205 MakeFunctionUnique("glGetGraphicsResetStatusKHR");
1206 return interface_
->GetGraphicsResetStatusARB();
1209 void GL_BINDING_CALL
MockGLInterface::Mock_glGetInteger64i_v(GLenum target
,
1212 MakeFunctionUnique("glGetInteger64i_v");
1213 interface_
->GetInteger64i_v(target
, index
, data
);
1216 void GL_BINDING_CALL
MockGLInterface::Mock_glGetInteger64v(GLenum pname
,
1218 MakeFunctionUnique("glGetInteger64v");
1219 interface_
->GetInteger64v(pname
, params
);
1222 void GL_BINDING_CALL
MockGLInterface::Mock_glGetIntegeri_v(GLenum target
,
1225 MakeFunctionUnique("glGetIntegeri_v");
1226 interface_
->GetIntegeri_v(target
, index
, data
);
1229 void GL_BINDING_CALL
MockGLInterface::Mock_glGetIntegerv(GLenum pname
,
1231 MakeFunctionUnique("glGetIntegerv");
1232 interface_
->GetIntegerv(pname
, params
);
1235 void GL_BINDING_CALL
1236 MockGLInterface::Mock_glGetInternalformativ(GLenum target
,
1237 GLenum internalformat
,
1241 MakeFunctionUnique("glGetInternalformativ");
1242 interface_
->GetInternalformativ(target
, internalformat
, pname
, bufSize
,
1246 void GL_BINDING_CALL
1247 MockGLInterface::Mock_glGetProgramBinary(GLuint program
,
1250 GLenum
* binaryFormat
,
1252 MakeFunctionUnique("glGetProgramBinary");
1253 interface_
->GetProgramBinary(program
, bufSize
, length
, binaryFormat
, binary
);
1256 void GL_BINDING_CALL
1257 MockGLInterface::Mock_glGetProgramBinaryOES(GLuint program
,
1260 GLenum
* binaryFormat
,
1262 MakeFunctionUnique("glGetProgramBinaryOES");
1263 interface_
->GetProgramBinary(program
, bufSize
, length
, binaryFormat
, binary
);
1266 void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramInfoLog(GLuint program
,
1270 MakeFunctionUnique("glGetProgramInfoLog");
1271 interface_
->GetProgramInfoLog(program
, bufsize
, length
, infolog
);
1274 GLint GL_BINDING_CALL
1275 MockGLInterface::Mock_glGetProgramResourceLocation(GLuint program
,
1276 GLenum programInterface
,
1278 MakeFunctionUnique("glGetProgramResourceLocation");
1279 return interface_
->GetProgramResourceLocation(program
, programInterface
,
1283 void GL_BINDING_CALL
MockGLInterface::Mock_glGetProgramiv(GLuint program
,
1286 MakeFunctionUnique("glGetProgramiv");
1287 interface_
->GetProgramiv(program
, pname
, params
);
1290 void GL_BINDING_CALL
1291 MockGLInterface::Mock_glGetQueryObjecti64v(GLuint id
,
1294 MakeFunctionUnique("glGetQueryObjecti64v");
1295 interface_
->GetQueryObjecti64v(id
, pname
, params
);
1298 void GL_BINDING_CALL
1299 MockGLInterface::Mock_glGetQueryObjecti64vEXT(GLuint id
,
1302 MakeFunctionUnique("glGetQueryObjecti64vEXT");
1303 interface_
->GetQueryObjecti64v(id
, pname
, params
);
1306 void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectiv(GLuint id
,
1309 MakeFunctionUnique("glGetQueryObjectiv");
1310 interface_
->GetQueryObjectiv(id
, pname
, params
);
1313 void GL_BINDING_CALL
1314 MockGLInterface::Mock_glGetQueryObjectivARB(GLuint id
,
1317 MakeFunctionUnique("glGetQueryObjectivARB");
1318 interface_
->GetQueryObjectiv(id
, pname
, params
);
1321 void GL_BINDING_CALL
1322 MockGLInterface::Mock_glGetQueryObjectivEXT(GLuint id
,
1325 MakeFunctionUnique("glGetQueryObjectivEXT");
1326 interface_
->GetQueryObjectiv(id
, pname
, params
);
1329 void GL_BINDING_CALL
1330 MockGLInterface::Mock_glGetQueryObjectui64v(GLuint id
,
1333 MakeFunctionUnique("glGetQueryObjectui64v");
1334 interface_
->GetQueryObjectui64v(id
, pname
, params
);
1337 void GL_BINDING_CALL
1338 MockGLInterface::Mock_glGetQueryObjectui64vEXT(GLuint id
,
1341 MakeFunctionUnique("glGetQueryObjectui64vEXT");
1342 interface_
->GetQueryObjectui64v(id
, pname
, params
);
1345 void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryObjectuiv(GLuint id
,
1348 MakeFunctionUnique("glGetQueryObjectuiv");
1349 interface_
->GetQueryObjectuiv(id
, pname
, params
);
1352 void GL_BINDING_CALL
1353 MockGLInterface::Mock_glGetQueryObjectuivARB(GLuint id
,
1356 MakeFunctionUnique("glGetQueryObjectuivARB");
1357 interface_
->GetQueryObjectuiv(id
, pname
, params
);
1360 void GL_BINDING_CALL
1361 MockGLInterface::Mock_glGetQueryObjectuivEXT(GLuint id
,
1364 MakeFunctionUnique("glGetQueryObjectuivEXT");
1365 interface_
->GetQueryObjectuiv(id
, pname
, params
);
1368 void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryiv(GLenum target
,
1371 MakeFunctionUnique("glGetQueryiv");
1372 interface_
->GetQueryiv(target
, pname
, params
);
1375 void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryivARB(GLenum target
,
1378 MakeFunctionUnique("glGetQueryivARB");
1379 interface_
->GetQueryiv(target
, pname
, params
);
1382 void GL_BINDING_CALL
MockGLInterface::Mock_glGetQueryivEXT(GLenum target
,
1385 MakeFunctionUnique("glGetQueryivEXT");
1386 interface_
->GetQueryiv(target
, pname
, params
);
1389 void GL_BINDING_CALL
1390 MockGLInterface::Mock_glGetRenderbufferParameteriv(GLenum target
,
1393 MakeFunctionUnique("glGetRenderbufferParameteriv");
1394 interface_
->GetRenderbufferParameterivEXT(target
, pname
, params
);
1397 void GL_BINDING_CALL
1398 MockGLInterface::Mock_glGetRenderbufferParameterivEXT(GLenum target
,
1401 MakeFunctionUnique("glGetRenderbufferParameterivEXT");
1402 interface_
->GetRenderbufferParameterivEXT(target
, pname
, params
);
1405 void GL_BINDING_CALL
1406 MockGLInterface::Mock_glGetSamplerParameterfv(GLuint sampler
,
1409 MakeFunctionUnique("glGetSamplerParameterfv");
1410 interface_
->GetSamplerParameterfv(sampler
, pname
, params
);
1413 void GL_BINDING_CALL
1414 MockGLInterface::Mock_glGetSamplerParameteriv(GLuint sampler
,
1417 MakeFunctionUnique("glGetSamplerParameteriv");
1418 interface_
->GetSamplerParameteriv(sampler
, pname
, params
);
1421 void GL_BINDING_CALL
MockGLInterface::Mock_glGetShaderInfoLog(GLuint shader
,
1425 MakeFunctionUnique("glGetShaderInfoLog");
1426 interface_
->GetShaderInfoLog(shader
, bufsize
, length
, infolog
);
1429 void GL_BINDING_CALL
1430 MockGLInterface::Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
1431 GLenum precisiontype
,
1434 MakeFunctionUnique("glGetShaderPrecisionFormat");
1435 interface_
->GetShaderPrecisionFormat(shadertype
, precisiontype
, range
,
1439 void GL_BINDING_CALL
MockGLInterface::Mock_glGetShaderSource(GLuint shader
,
1443 MakeFunctionUnique("glGetShaderSource");
1444 interface_
->GetShaderSource(shader
, bufsize
, length
, source
);
1447 void GL_BINDING_CALL
MockGLInterface::Mock_glGetShaderiv(GLuint shader
,
1450 MakeFunctionUnique("glGetShaderiv");
1451 interface_
->GetShaderiv(shader
, pname
, params
);
1454 const GLubyte
* GL_BINDING_CALL
MockGLInterface::Mock_glGetString(GLenum name
) {
1455 MakeFunctionUnique("glGetString");
1456 return interface_
->GetString(name
);
1459 const GLubyte
* GL_BINDING_CALL
1460 MockGLInterface::Mock_glGetStringi(GLenum name
, GLuint index
) {
1461 MakeFunctionUnique("glGetStringi");
1462 return interface_
->GetStringi(name
, index
);
1465 void GL_BINDING_CALL
MockGLInterface::Mock_glGetSynciv(GLsync sync
,
1470 MakeFunctionUnique("glGetSynciv");
1471 interface_
->GetSynciv(sync
, pname
, bufSize
, length
, values
);
1474 void GL_BINDING_CALL
1475 MockGLInterface::Mock_glGetTexLevelParameterfv(GLenum target
,
1479 MakeFunctionUnique("glGetTexLevelParameterfv");
1480 interface_
->GetTexLevelParameterfv(target
, level
, pname
, params
);
1483 void GL_BINDING_CALL
1484 MockGLInterface::Mock_glGetTexLevelParameteriv(GLenum target
,
1488 MakeFunctionUnique("glGetTexLevelParameteriv");
1489 interface_
->GetTexLevelParameteriv(target
, level
, pname
, params
);
1492 void GL_BINDING_CALL
1493 MockGLInterface::Mock_glGetTexParameterfv(GLenum target
,
1496 MakeFunctionUnique("glGetTexParameterfv");
1497 interface_
->GetTexParameterfv(target
, pname
, params
);
1500 void GL_BINDING_CALL
MockGLInterface::Mock_glGetTexParameteriv(GLenum target
,
1503 MakeFunctionUnique("glGetTexParameteriv");
1504 interface_
->GetTexParameteriv(target
, pname
, params
);
1507 void GL_BINDING_CALL
1508 MockGLInterface::Mock_glGetTransformFeedbackVarying(GLuint program
,
1515 MakeFunctionUnique("glGetTransformFeedbackVarying");
1516 interface_
->GetTransformFeedbackVarying(program
, index
, bufSize
, length
, size
,
1520 void GL_BINDING_CALL
1521 MockGLInterface::Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
1525 MakeFunctionUnique("glGetTranslatedShaderSourceANGLE");
1526 interface_
->GetTranslatedShaderSourceANGLE(shader
, bufsize
, length
, source
);
1529 GLuint GL_BINDING_CALL
1530 MockGLInterface::Mock_glGetUniformBlockIndex(GLuint program
,
1531 const char* uniformBlockName
) {
1532 MakeFunctionUnique("glGetUniformBlockIndex");
1533 return interface_
->GetUniformBlockIndex(program
, uniformBlockName
);
1536 void GL_BINDING_CALL
1537 MockGLInterface::Mock_glGetUniformIndices(GLuint program
,
1538 GLsizei uniformCount
,
1539 const char* const* uniformNames
,
1540 GLuint
* uniformIndices
) {
1541 MakeFunctionUnique("glGetUniformIndices");
1542 interface_
->GetUniformIndices(program
, uniformCount
, uniformNames
,
1546 GLint GL_BINDING_CALL
1547 MockGLInterface::Mock_glGetUniformLocation(GLuint program
, const char* name
) {
1548 MakeFunctionUnique("glGetUniformLocation");
1549 return interface_
->GetUniformLocation(program
, name
);
1552 void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformfv(GLuint program
,
1555 MakeFunctionUnique("glGetUniformfv");
1556 interface_
->GetUniformfv(program
, location
, params
);
1559 void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformiv(GLuint program
,
1562 MakeFunctionUnique("glGetUniformiv");
1563 interface_
->GetUniformiv(program
, location
, params
);
1566 void GL_BINDING_CALL
MockGLInterface::Mock_glGetUniformuiv(GLuint program
,
1569 MakeFunctionUnique("glGetUniformuiv");
1570 interface_
->GetUniformuiv(program
, location
, params
);
1573 void GL_BINDING_CALL
1574 MockGLInterface::Mock_glGetVertexAttribPointerv(GLuint index
,
1577 MakeFunctionUnique("glGetVertexAttribPointerv");
1578 interface_
->GetVertexAttribPointerv(index
, pname
, pointer
);
1581 void GL_BINDING_CALL
1582 MockGLInterface::Mock_glGetVertexAttribfv(GLuint index
,
1585 MakeFunctionUnique("glGetVertexAttribfv");
1586 interface_
->GetVertexAttribfv(index
, pname
, params
);
1589 void GL_BINDING_CALL
MockGLInterface::Mock_glGetVertexAttribiv(GLuint index
,
1592 MakeFunctionUnique("glGetVertexAttribiv");
1593 interface_
->GetVertexAttribiv(index
, pname
, params
);
1596 void GL_BINDING_CALL
MockGLInterface::Mock_glHint(GLenum target
, GLenum mode
) {
1597 MakeFunctionUnique("glHint");
1598 interface_
->Hint(target
, mode
);
1601 void GL_BINDING_CALL
1602 MockGLInterface::Mock_glInsertEventMarkerEXT(GLsizei length
,
1603 const char* marker
) {
1604 MakeFunctionUnique("glInsertEventMarkerEXT");
1605 interface_
->InsertEventMarkerEXT(length
, marker
);
1608 void GL_BINDING_CALL
1609 MockGLInterface::Mock_glInvalidateFramebuffer(GLenum target
,
1610 GLsizei numAttachments
,
1611 const GLenum
* attachments
) {
1612 MakeFunctionUnique("glInvalidateFramebuffer");
1613 interface_
->InvalidateFramebuffer(target
, numAttachments
, attachments
);
1616 void GL_BINDING_CALL
1617 MockGLInterface::Mock_glInvalidateSubFramebuffer(GLenum target
,
1618 GLsizei numAttachments
,
1619 const GLenum
* attachments
,
1624 MakeFunctionUnique("glInvalidateSubFramebuffer");
1625 interface_
->InvalidateSubFramebuffer(target
, numAttachments
, attachments
, x
,
1629 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsBuffer(GLuint buffer
) {
1630 MakeFunctionUnique("glIsBuffer");
1631 return interface_
->IsBuffer(buffer
);
1634 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsEnabled(GLenum cap
) {
1635 MakeFunctionUnique("glIsEnabled");
1636 return interface_
->IsEnabled(cap
);
1639 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsFenceAPPLE(GLuint fence
) {
1640 MakeFunctionUnique("glIsFenceAPPLE");
1641 return interface_
->IsFenceAPPLE(fence
);
1644 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsFenceNV(GLuint fence
) {
1645 MakeFunctionUnique("glIsFenceNV");
1646 return interface_
->IsFenceNV(fence
);
1649 GLboolean GL_BINDING_CALL
1650 MockGLInterface::Mock_glIsFramebuffer(GLuint framebuffer
) {
1651 MakeFunctionUnique("glIsFramebuffer");
1652 return interface_
->IsFramebufferEXT(framebuffer
);
1655 GLboolean GL_BINDING_CALL
1656 MockGLInterface::Mock_glIsFramebufferEXT(GLuint framebuffer
) {
1657 MakeFunctionUnique("glIsFramebufferEXT");
1658 return interface_
->IsFramebufferEXT(framebuffer
);
1661 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsPathNV(GLuint path
) {
1662 MakeFunctionUnique("glIsPathNV");
1663 return interface_
->IsPathNV(path
);
1666 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsProgram(GLuint program
) {
1667 MakeFunctionUnique("glIsProgram");
1668 return interface_
->IsProgram(program
);
1671 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsQuery(GLuint query
) {
1672 MakeFunctionUnique("glIsQuery");
1673 return interface_
->IsQuery(query
);
1676 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsQueryARB(GLuint query
) {
1677 MakeFunctionUnique("glIsQueryARB");
1678 return interface_
->IsQuery(query
);
1681 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsQueryEXT(GLuint query
) {
1682 MakeFunctionUnique("glIsQueryEXT");
1683 return interface_
->IsQuery(query
);
1686 GLboolean GL_BINDING_CALL
1687 MockGLInterface::Mock_glIsRenderbuffer(GLuint renderbuffer
) {
1688 MakeFunctionUnique("glIsRenderbuffer");
1689 return interface_
->IsRenderbufferEXT(renderbuffer
);
1692 GLboolean GL_BINDING_CALL
1693 MockGLInterface::Mock_glIsRenderbufferEXT(GLuint renderbuffer
) {
1694 MakeFunctionUnique("glIsRenderbufferEXT");
1695 return interface_
->IsRenderbufferEXT(renderbuffer
);
1698 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsSampler(GLuint sampler
) {
1699 MakeFunctionUnique("glIsSampler");
1700 return interface_
->IsSampler(sampler
);
1703 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsShader(GLuint shader
) {
1704 MakeFunctionUnique("glIsShader");
1705 return interface_
->IsShader(shader
);
1708 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsSync(GLsync sync
) {
1709 MakeFunctionUnique("glIsSync");
1710 return interface_
->IsSync(sync
);
1713 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsTexture(GLuint texture
) {
1714 MakeFunctionUnique("glIsTexture");
1715 return interface_
->IsTexture(texture
);
1718 GLboolean GL_BINDING_CALL
1719 MockGLInterface::Mock_glIsTransformFeedback(GLuint id
) {
1720 MakeFunctionUnique("glIsTransformFeedback");
1721 return interface_
->IsTransformFeedback(id
);
1724 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glIsVertexArray(GLuint array
) {
1725 MakeFunctionUnique("glIsVertexArray");
1726 return interface_
->IsVertexArrayOES(array
);
1729 GLboolean GL_BINDING_CALL
1730 MockGLInterface::Mock_glIsVertexArrayAPPLE(GLuint array
) {
1731 MakeFunctionUnique("glIsVertexArrayAPPLE");
1732 return interface_
->IsVertexArrayOES(array
);
1735 GLboolean GL_BINDING_CALL
1736 MockGLInterface::Mock_glIsVertexArrayOES(GLuint array
) {
1737 MakeFunctionUnique("glIsVertexArrayOES");
1738 return interface_
->IsVertexArrayOES(array
);
1741 void GL_BINDING_CALL
MockGLInterface::Mock_glLineWidth(GLfloat width
) {
1742 MakeFunctionUnique("glLineWidth");
1743 interface_
->LineWidth(width
);
1746 void GL_BINDING_CALL
MockGLInterface::Mock_glLinkProgram(GLuint program
) {
1747 MakeFunctionUnique("glLinkProgram");
1748 interface_
->LinkProgram(program
);
1751 void* GL_BINDING_CALL
MockGLInterface::Mock_glMapBuffer(GLenum target
,
1753 MakeFunctionUnique("glMapBuffer");
1754 return interface_
->MapBuffer(target
, access
);
1757 void* GL_BINDING_CALL
MockGLInterface::Mock_glMapBufferOES(GLenum target
,
1759 MakeFunctionUnique("glMapBufferOES");
1760 return interface_
->MapBuffer(target
, access
);
1763 void* GL_BINDING_CALL
1764 MockGLInterface::Mock_glMapBufferRange(GLenum target
,
1767 GLbitfield access
) {
1768 MakeFunctionUnique("glMapBufferRange");
1769 return interface_
->MapBufferRange(target
, offset
, length
, access
);
1772 void* GL_BINDING_CALL
1773 MockGLInterface::Mock_glMapBufferRangeEXT(GLenum target
,
1776 GLbitfield access
) {
1777 MakeFunctionUnique("glMapBufferRangeEXT");
1778 return interface_
->MapBufferRange(target
, offset
, length
, access
);
1781 void GL_BINDING_CALL
1782 MockGLInterface::Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
) {
1783 MakeFunctionUnique("glMatrixLoadIdentityEXT");
1784 interface_
->MatrixLoadIdentityEXT(matrixMode
);
1787 void GL_BINDING_CALL
MockGLInterface::Mock_glMatrixLoadfEXT(GLenum matrixMode
,
1789 MakeFunctionUnique("glMatrixLoadfEXT");
1790 interface_
->MatrixLoadfEXT(matrixMode
, m
);
1793 void GL_BINDING_CALL
1794 MockGLInterface::Mock_glPathCommandsNV(GLuint path
,
1795 GLsizei numCommands
,
1796 const GLubyte
* commands
,
1799 const GLvoid
* coords
) {
1800 MakeFunctionUnique("glPathCommandsNV");
1801 interface_
->PathCommandsNV(path
, numCommands
, commands
, numCoords
, coordType
,
1805 void GL_BINDING_CALL
MockGLInterface::Mock_glPathParameterfNV(GLuint path
,
1808 MakeFunctionUnique("glPathParameterfNV");
1809 interface_
->PathParameterfNV(path
, pname
, value
);
1812 void GL_BINDING_CALL
MockGLInterface::Mock_glPathParameteriNV(GLuint path
,
1815 MakeFunctionUnique("glPathParameteriNV");
1816 interface_
->PathParameteriNV(path
, pname
, value
);
1819 void GL_BINDING_CALL
MockGLInterface::Mock_glPathStencilFuncNV(GLenum func
,
1822 MakeFunctionUnique("glPathStencilFuncNV");
1823 interface_
->PathStencilFuncNV(func
, ref
, mask
);
1826 void GL_BINDING_CALL
MockGLInterface::Mock_glPauseTransformFeedback(void) {
1827 MakeFunctionUnique("glPauseTransformFeedback");
1828 interface_
->PauseTransformFeedback();
1831 void GL_BINDING_CALL
MockGLInterface::Mock_glPixelStorei(GLenum pname
,
1833 MakeFunctionUnique("glPixelStorei");
1834 interface_
->PixelStorei(pname
, param
);
1837 void GL_BINDING_CALL
MockGLInterface::Mock_glPointParameteri(GLenum pname
,
1839 MakeFunctionUnique("glPointParameteri");
1840 interface_
->PointParameteri(pname
, param
);
1843 void GL_BINDING_CALL
MockGLInterface::Mock_glPolygonOffset(GLfloat factor
,
1845 MakeFunctionUnique("glPolygonOffset");
1846 interface_
->PolygonOffset(factor
, units
);
1849 void GL_BINDING_CALL
MockGLInterface::Mock_glPopGroupMarkerEXT(void) {
1850 MakeFunctionUnique("glPopGroupMarkerEXT");
1851 interface_
->PopGroupMarkerEXT();
1854 void GL_BINDING_CALL
MockGLInterface::Mock_glProgramBinary(GLuint program
,
1855 GLenum binaryFormat
,
1856 const GLvoid
* binary
,
1858 MakeFunctionUnique("glProgramBinary");
1859 interface_
->ProgramBinary(program
, binaryFormat
, binary
, length
);
1862 void GL_BINDING_CALL
1863 MockGLInterface::Mock_glProgramBinaryOES(GLuint program
,
1864 GLenum binaryFormat
,
1865 const GLvoid
* binary
,
1867 MakeFunctionUnique("glProgramBinaryOES");
1868 interface_
->ProgramBinary(program
, binaryFormat
, binary
, length
);
1871 void GL_BINDING_CALL
MockGLInterface::Mock_glProgramParameteri(GLuint program
,
1874 MakeFunctionUnique("glProgramParameteri");
1875 interface_
->ProgramParameteri(program
, pname
, value
);
1878 void GL_BINDING_CALL
1879 MockGLInterface::Mock_glPushGroupMarkerEXT(GLsizei length
, const char* marker
) {
1880 MakeFunctionUnique("glPushGroupMarkerEXT");
1881 interface_
->PushGroupMarkerEXT(length
, marker
);
1884 void GL_BINDING_CALL
MockGLInterface::Mock_glQueryCounter(GLuint id
,
1886 MakeFunctionUnique("glQueryCounter");
1887 interface_
->QueryCounter(id
, target
);
1890 void GL_BINDING_CALL
MockGLInterface::Mock_glQueryCounterEXT(GLuint id
,
1892 MakeFunctionUnique("glQueryCounterEXT");
1893 interface_
->QueryCounter(id
, target
);
1896 void GL_BINDING_CALL
MockGLInterface::Mock_glReadBuffer(GLenum src
) {
1897 MakeFunctionUnique("glReadBuffer");
1898 interface_
->ReadBuffer(src
);
1901 void GL_BINDING_CALL
MockGLInterface::Mock_glReadPixels(GLint x
,
1908 MakeFunctionUnique("glReadPixels");
1909 interface_
->ReadPixels(x
, y
, width
, height
, format
, type
, pixels
);
1912 void GL_BINDING_CALL
MockGLInterface::Mock_glReleaseShaderCompiler(void) {
1913 MakeFunctionUnique("glReleaseShaderCompiler");
1914 interface_
->ReleaseShaderCompiler();
1917 void GL_BINDING_CALL
1918 MockGLInterface::Mock_glRenderbufferStorage(GLenum target
,
1919 GLenum internalformat
,
1922 MakeFunctionUnique("glRenderbufferStorage");
1923 interface_
->RenderbufferStorageEXT(target
, internalformat
, width
, height
);
1926 void GL_BINDING_CALL
1927 MockGLInterface::Mock_glRenderbufferStorageEXT(GLenum target
,
1928 GLenum internalformat
,
1931 MakeFunctionUnique("glRenderbufferStorageEXT");
1932 interface_
->RenderbufferStorageEXT(target
, internalformat
, width
, height
);
1935 void GL_BINDING_CALL
1936 MockGLInterface::Mock_glRenderbufferStorageMultisample(GLenum target
,
1938 GLenum internalformat
,
1941 MakeFunctionUnique("glRenderbufferStorageMultisample");
1942 interface_
->RenderbufferStorageMultisample(target
, samples
, internalformat
,
1946 void GL_BINDING_CALL
1947 MockGLInterface::Mock_glRenderbufferStorageMultisampleANGLE(
1950 GLenum internalformat
,
1953 MakeFunctionUnique("glRenderbufferStorageMultisampleANGLE");
1954 interface_
->RenderbufferStorageMultisampleANGLE(
1955 target
, samples
, internalformat
, width
, height
);
1958 void GL_BINDING_CALL
1959 MockGLInterface::Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
1961 GLenum internalformat
,
1964 MakeFunctionUnique("glRenderbufferStorageMultisampleEXT");
1965 interface_
->RenderbufferStorageMultisampleEXT(target
, samples
, internalformat
,
1969 void GL_BINDING_CALL
1970 MockGLInterface::Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
1972 GLenum internalformat
,
1975 MakeFunctionUnique("glRenderbufferStorageMultisampleIMG");
1976 interface_
->RenderbufferStorageMultisampleIMG(target
, samples
, internalformat
,
1980 void GL_BINDING_CALL
MockGLInterface::Mock_glResumeTransformFeedback(void) {
1981 MakeFunctionUnique("glResumeTransformFeedback");
1982 interface_
->ResumeTransformFeedback();
1985 void GL_BINDING_CALL
MockGLInterface::Mock_glSampleCoverage(GLclampf value
,
1987 MakeFunctionUnique("glSampleCoverage");
1988 interface_
->SampleCoverage(value
, invert
);
1991 void GL_BINDING_CALL
MockGLInterface::Mock_glSamplerParameterf(GLuint sampler
,
1994 MakeFunctionUnique("glSamplerParameterf");
1995 interface_
->SamplerParameterf(sampler
, pname
, param
);
1998 void GL_BINDING_CALL
1999 MockGLInterface::Mock_glSamplerParameterfv(GLuint sampler
,
2001 const GLfloat
* params
) {
2002 MakeFunctionUnique("glSamplerParameterfv");
2003 interface_
->SamplerParameterfv(sampler
, pname
, params
);
2006 void GL_BINDING_CALL
MockGLInterface::Mock_glSamplerParameteri(GLuint sampler
,
2009 MakeFunctionUnique("glSamplerParameteri");
2010 interface_
->SamplerParameteri(sampler
, pname
, param
);
2013 void GL_BINDING_CALL
2014 MockGLInterface::Mock_glSamplerParameteriv(GLuint sampler
,
2016 const GLint
* params
) {
2017 MakeFunctionUnique("glSamplerParameteriv");
2018 interface_
->SamplerParameteriv(sampler
, pname
, params
);
2021 void GL_BINDING_CALL
MockGLInterface::Mock_glScissor(GLint x
,
2025 MakeFunctionUnique("glScissor");
2026 interface_
->Scissor(x
, y
, width
, height
);
2029 void GL_BINDING_CALL
MockGLInterface::Mock_glSetFenceAPPLE(GLuint fence
) {
2030 MakeFunctionUnique("glSetFenceAPPLE");
2031 interface_
->SetFenceAPPLE(fence
);
2034 void GL_BINDING_CALL
MockGLInterface::Mock_glSetFenceNV(GLuint fence
,
2036 MakeFunctionUnique("glSetFenceNV");
2037 interface_
->SetFenceNV(fence
, condition
);
2040 void GL_BINDING_CALL
MockGLInterface::Mock_glShaderBinary(GLsizei n
,
2041 const GLuint
* shaders
,
2042 GLenum binaryformat
,
2045 MakeFunctionUnique("glShaderBinary");
2046 interface_
->ShaderBinary(n
, shaders
, binaryformat
, binary
, length
);
2049 void GL_BINDING_CALL
2050 MockGLInterface::Mock_glShaderSource(GLuint shader
,
2052 const char* const* str
,
2053 const GLint
* length
) {
2054 MakeFunctionUnique("glShaderSource");
2055 interface_
->ShaderSource(shader
, count
, str
, length
);
2058 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilFillPathNV(GLuint path
,
2061 MakeFunctionUnique("glStencilFillPathNV");
2062 interface_
->StencilFillPathNV(path
, fillMode
, mask
);
2065 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilFunc(GLenum func
,
2068 MakeFunctionUnique("glStencilFunc");
2069 interface_
->StencilFunc(func
, ref
, mask
);
2072 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilFuncSeparate(GLenum face
,
2076 MakeFunctionUnique("glStencilFuncSeparate");
2077 interface_
->StencilFuncSeparate(face
, func
, ref
, mask
);
2080 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilMask(GLuint mask
) {
2081 MakeFunctionUnique("glStencilMask");
2082 interface_
->StencilMask(mask
);
2085 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilMaskSeparate(GLenum face
,
2087 MakeFunctionUnique("glStencilMaskSeparate");
2088 interface_
->StencilMaskSeparate(face
, mask
);
2091 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilOp(GLenum fail
,
2094 MakeFunctionUnique("glStencilOp");
2095 interface_
->StencilOp(fail
, zfail
, zpass
);
2098 void GL_BINDING_CALL
MockGLInterface::Mock_glStencilOpSeparate(GLenum face
,
2102 MakeFunctionUnique("glStencilOpSeparate");
2103 interface_
->StencilOpSeparate(face
, fail
, zfail
, zpass
);
2106 void GL_BINDING_CALL
2107 MockGLInterface::Mock_glStencilStrokePathNV(GLuint path
,
2110 MakeFunctionUnique("glStencilStrokePathNV");
2111 interface_
->StencilStrokePathNV(path
, reference
, mask
);
2114 void GL_BINDING_CALL
2115 MockGLInterface::Mock_glStencilThenCoverFillPathNV(GLuint path
,
2119 MakeFunctionUnique("glStencilThenCoverFillPathNV");
2120 interface_
->StencilThenCoverFillPathNV(path
, fillMode
, mask
, coverMode
);
2123 void GL_BINDING_CALL
2124 MockGLInterface::Mock_glStencilThenCoverStrokePathNV(GLuint path
,
2128 MakeFunctionUnique("glStencilThenCoverStrokePathNV");
2129 interface_
->StencilThenCoverStrokePathNV(path
, reference
, mask
, coverMode
);
2132 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glTestFenceAPPLE(GLuint fence
) {
2133 MakeFunctionUnique("glTestFenceAPPLE");
2134 return interface_
->TestFenceAPPLE(fence
);
2137 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glTestFenceNV(GLuint fence
) {
2138 MakeFunctionUnique("glTestFenceNV");
2139 return interface_
->TestFenceNV(fence
);
2142 void GL_BINDING_CALL
MockGLInterface::Mock_glTexImage2D(GLenum target
,
2144 GLint internalformat
,
2150 const void* pixels
) {
2151 MakeFunctionUnique("glTexImage2D");
2152 interface_
->TexImage2D(target
, level
, internalformat
, width
, height
, border
,
2153 format
, type
, pixels
);
2156 void GL_BINDING_CALL
MockGLInterface::Mock_glTexImage3D(GLenum target
,
2158 GLint internalformat
,
2165 const void* pixels
) {
2166 MakeFunctionUnique("glTexImage3D");
2167 interface_
->TexImage3D(target
, level
, internalformat
, width
, height
, depth
,
2168 border
, format
, type
, pixels
);
2171 void GL_BINDING_CALL
MockGLInterface::Mock_glTexParameterf(GLenum target
,
2174 MakeFunctionUnique("glTexParameterf");
2175 interface_
->TexParameterf(target
, pname
, param
);
2178 void GL_BINDING_CALL
2179 MockGLInterface::Mock_glTexParameterfv(GLenum target
,
2181 const GLfloat
* params
) {
2182 MakeFunctionUnique("glTexParameterfv");
2183 interface_
->TexParameterfv(target
, pname
, params
);
2186 void GL_BINDING_CALL
MockGLInterface::Mock_glTexParameteri(GLenum target
,
2189 MakeFunctionUnique("glTexParameteri");
2190 interface_
->TexParameteri(target
, pname
, param
);
2193 void GL_BINDING_CALL
2194 MockGLInterface::Mock_glTexParameteriv(GLenum target
,
2196 const GLint
* params
) {
2197 MakeFunctionUnique("glTexParameteriv");
2198 interface_
->TexParameteriv(target
, pname
, params
);
2201 void GL_BINDING_CALL
MockGLInterface::Mock_glTexStorage2D(GLenum target
,
2203 GLenum internalformat
,
2206 MakeFunctionUnique("glTexStorage2D");
2207 interface_
->TexStorage2DEXT(target
, levels
, internalformat
, width
, height
);
2210 void GL_BINDING_CALL
2211 MockGLInterface::Mock_glTexStorage2DEXT(GLenum target
,
2213 GLenum internalformat
,
2216 MakeFunctionUnique("glTexStorage2DEXT");
2217 interface_
->TexStorage2DEXT(target
, levels
, internalformat
, width
, height
);
2220 void GL_BINDING_CALL
MockGLInterface::Mock_glTexStorage3D(GLenum target
,
2222 GLenum internalformat
,
2226 MakeFunctionUnique("glTexStorage3D");
2227 interface_
->TexStorage3D(target
, levels
, internalformat
, width
, height
,
2231 void GL_BINDING_CALL
MockGLInterface::Mock_glTexSubImage2D(GLenum target
,
2239 const void* pixels
) {
2240 MakeFunctionUnique("glTexSubImage2D");
2241 interface_
->TexSubImage2D(target
, level
, xoffset
, yoffset
, width
, height
,
2242 format
, type
, pixels
);
2245 void GL_BINDING_CALL
MockGLInterface::Mock_glTexSubImage3D(GLenum target
,
2255 const void* pixels
) {
2256 MakeFunctionUnique("glTexSubImage3D");
2257 interface_
->TexSubImage3D(target
, level
, xoffset
, yoffset
, zoffset
, width
,
2258 height
, depth
, format
, type
, pixels
);
2261 void GL_BINDING_CALL
2262 MockGLInterface::Mock_glTransformFeedbackVaryings(GLuint program
,
2264 const char* const* varyings
,
2265 GLenum bufferMode
) {
2266 MakeFunctionUnique("glTransformFeedbackVaryings");
2267 interface_
->TransformFeedbackVaryings(program
, count
, varyings
, bufferMode
);
2270 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1f(GLint location
,
2272 MakeFunctionUnique("glUniform1f");
2273 interface_
->Uniform1f(location
, x
);
2276 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1fv(GLint location
,
2279 MakeFunctionUnique("glUniform1fv");
2280 interface_
->Uniform1fv(location
, count
, v
);
2283 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1i(GLint location
,
2285 MakeFunctionUnique("glUniform1i");
2286 interface_
->Uniform1i(location
, x
);
2289 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1iv(GLint location
,
2292 MakeFunctionUnique("glUniform1iv");
2293 interface_
->Uniform1iv(location
, count
, v
);
2296 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1ui(GLint location
,
2298 MakeFunctionUnique("glUniform1ui");
2299 interface_
->Uniform1ui(location
, v0
);
2302 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform1uiv(GLint location
,
2305 MakeFunctionUnique("glUniform1uiv");
2306 interface_
->Uniform1uiv(location
, count
, v
);
2309 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2f(GLint location
,
2312 MakeFunctionUnique("glUniform2f");
2313 interface_
->Uniform2f(location
, x
, y
);
2316 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2fv(GLint location
,
2319 MakeFunctionUnique("glUniform2fv");
2320 interface_
->Uniform2fv(location
, count
, v
);
2323 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2i(GLint location
,
2326 MakeFunctionUnique("glUniform2i");
2327 interface_
->Uniform2i(location
, x
, y
);
2330 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2iv(GLint location
,
2333 MakeFunctionUnique("glUniform2iv");
2334 interface_
->Uniform2iv(location
, count
, v
);
2337 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2ui(GLint location
,
2340 MakeFunctionUnique("glUniform2ui");
2341 interface_
->Uniform2ui(location
, v0
, v1
);
2344 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform2uiv(GLint location
,
2347 MakeFunctionUnique("glUniform2uiv");
2348 interface_
->Uniform2uiv(location
, count
, v
);
2351 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3f(GLint location
,
2355 MakeFunctionUnique("glUniform3f");
2356 interface_
->Uniform3f(location
, x
, y
, z
);
2359 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3fv(GLint location
,
2362 MakeFunctionUnique("glUniform3fv");
2363 interface_
->Uniform3fv(location
, count
, v
);
2366 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3i(GLint location
,
2370 MakeFunctionUnique("glUniform3i");
2371 interface_
->Uniform3i(location
, x
, y
, z
);
2374 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3iv(GLint location
,
2377 MakeFunctionUnique("glUniform3iv");
2378 interface_
->Uniform3iv(location
, count
, v
);
2381 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3ui(GLint location
,
2385 MakeFunctionUnique("glUniform3ui");
2386 interface_
->Uniform3ui(location
, v0
, v1
, v2
);
2389 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform3uiv(GLint location
,
2392 MakeFunctionUnique("glUniform3uiv");
2393 interface_
->Uniform3uiv(location
, count
, v
);
2396 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4f(GLint location
,
2401 MakeFunctionUnique("glUniform4f");
2402 interface_
->Uniform4f(location
, x
, y
, z
, w
);
2405 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4fv(GLint location
,
2408 MakeFunctionUnique("glUniform4fv");
2409 interface_
->Uniform4fv(location
, count
, v
);
2412 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4i(GLint location
,
2417 MakeFunctionUnique("glUniform4i");
2418 interface_
->Uniform4i(location
, x
, y
, z
, w
);
2421 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4iv(GLint location
,
2424 MakeFunctionUnique("glUniform4iv");
2425 interface_
->Uniform4iv(location
, count
, v
);
2428 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4ui(GLint location
,
2433 MakeFunctionUnique("glUniform4ui");
2434 interface_
->Uniform4ui(location
, v0
, v1
, v2
, v3
);
2437 void GL_BINDING_CALL
MockGLInterface::Mock_glUniform4uiv(GLint location
,
2440 MakeFunctionUnique("glUniform4uiv");
2441 interface_
->Uniform4uiv(location
, count
, v
);
2444 void GL_BINDING_CALL
2445 MockGLInterface::Mock_glUniformBlockBinding(GLuint program
,
2446 GLuint uniformBlockIndex
,
2447 GLuint uniformBlockBinding
) {
2448 MakeFunctionUnique("glUniformBlockBinding");
2449 interface_
->UniformBlockBinding(program
, uniformBlockIndex
,
2450 uniformBlockBinding
);
2453 void GL_BINDING_CALL
2454 MockGLInterface::Mock_glUniformMatrix2fv(GLint location
,
2456 GLboolean transpose
,
2457 const GLfloat
* value
) {
2458 MakeFunctionUnique("glUniformMatrix2fv");
2459 interface_
->UniformMatrix2fv(location
, count
, transpose
, value
);
2462 void GL_BINDING_CALL
2463 MockGLInterface::Mock_glUniformMatrix2x3fv(GLint location
,
2465 GLboolean transpose
,
2466 const GLfloat
* value
) {
2467 MakeFunctionUnique("glUniformMatrix2x3fv");
2468 interface_
->UniformMatrix2x3fv(location
, count
, transpose
, value
);
2471 void GL_BINDING_CALL
2472 MockGLInterface::Mock_glUniformMatrix2x4fv(GLint location
,
2474 GLboolean transpose
,
2475 const GLfloat
* value
) {
2476 MakeFunctionUnique("glUniformMatrix2x4fv");
2477 interface_
->UniformMatrix2x4fv(location
, count
, transpose
, value
);
2480 void GL_BINDING_CALL
2481 MockGLInterface::Mock_glUniformMatrix3fv(GLint location
,
2483 GLboolean transpose
,
2484 const GLfloat
* value
) {
2485 MakeFunctionUnique("glUniformMatrix3fv");
2486 interface_
->UniformMatrix3fv(location
, count
, transpose
, value
);
2489 void GL_BINDING_CALL
2490 MockGLInterface::Mock_glUniformMatrix3x2fv(GLint location
,
2492 GLboolean transpose
,
2493 const GLfloat
* value
) {
2494 MakeFunctionUnique("glUniformMatrix3x2fv");
2495 interface_
->UniformMatrix3x2fv(location
, count
, transpose
, value
);
2498 void GL_BINDING_CALL
2499 MockGLInterface::Mock_glUniformMatrix3x4fv(GLint location
,
2501 GLboolean transpose
,
2502 const GLfloat
* value
) {
2503 MakeFunctionUnique("glUniformMatrix3x4fv");
2504 interface_
->UniformMatrix3x4fv(location
, count
, transpose
, value
);
2507 void GL_BINDING_CALL
2508 MockGLInterface::Mock_glUniformMatrix4fv(GLint location
,
2510 GLboolean transpose
,
2511 const GLfloat
* value
) {
2512 MakeFunctionUnique("glUniformMatrix4fv");
2513 interface_
->UniformMatrix4fv(location
, count
, transpose
, value
);
2516 void GL_BINDING_CALL
2517 MockGLInterface::Mock_glUniformMatrix4x2fv(GLint location
,
2519 GLboolean transpose
,
2520 const GLfloat
* value
) {
2521 MakeFunctionUnique("glUniformMatrix4x2fv");
2522 interface_
->UniformMatrix4x2fv(location
, count
, transpose
, value
);
2525 void GL_BINDING_CALL
2526 MockGLInterface::Mock_glUniformMatrix4x3fv(GLint location
,
2528 GLboolean transpose
,
2529 const GLfloat
* value
) {
2530 MakeFunctionUnique("glUniformMatrix4x3fv");
2531 interface_
->UniformMatrix4x3fv(location
, count
, transpose
, value
);
2534 GLboolean GL_BINDING_CALL
MockGLInterface::Mock_glUnmapBuffer(GLenum target
) {
2535 MakeFunctionUnique("glUnmapBuffer");
2536 return interface_
->UnmapBuffer(target
);
2539 GLboolean GL_BINDING_CALL
2540 MockGLInterface::Mock_glUnmapBufferOES(GLenum target
) {
2541 MakeFunctionUnique("glUnmapBufferOES");
2542 return interface_
->UnmapBuffer(target
);
2545 void GL_BINDING_CALL
MockGLInterface::Mock_glUseProgram(GLuint program
) {
2546 MakeFunctionUnique("glUseProgram");
2547 interface_
->UseProgram(program
);
2550 void GL_BINDING_CALL
MockGLInterface::Mock_glValidateProgram(GLuint program
) {
2551 MakeFunctionUnique("glValidateProgram");
2552 interface_
->ValidateProgram(program
);
2555 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttrib1f(GLuint indx
,
2557 MakeFunctionUnique("glVertexAttrib1f");
2558 interface_
->VertexAttrib1f(indx
, x
);
2561 void GL_BINDING_CALL
2562 MockGLInterface::Mock_glVertexAttrib1fv(GLuint indx
, const GLfloat
* values
) {
2563 MakeFunctionUnique("glVertexAttrib1fv");
2564 interface_
->VertexAttrib1fv(indx
, values
);
2567 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttrib2f(GLuint indx
,
2570 MakeFunctionUnique("glVertexAttrib2f");
2571 interface_
->VertexAttrib2f(indx
, x
, y
);
2574 void GL_BINDING_CALL
2575 MockGLInterface::Mock_glVertexAttrib2fv(GLuint indx
, const GLfloat
* values
) {
2576 MakeFunctionUnique("glVertexAttrib2fv");
2577 interface_
->VertexAttrib2fv(indx
, values
);
2580 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttrib3f(GLuint indx
,
2584 MakeFunctionUnique("glVertexAttrib3f");
2585 interface_
->VertexAttrib3f(indx
, x
, y
, z
);
2588 void GL_BINDING_CALL
2589 MockGLInterface::Mock_glVertexAttrib3fv(GLuint indx
, const GLfloat
* values
) {
2590 MakeFunctionUnique("glVertexAttrib3fv");
2591 interface_
->VertexAttrib3fv(indx
, values
);
2594 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttrib4f(GLuint indx
,
2599 MakeFunctionUnique("glVertexAttrib4f");
2600 interface_
->VertexAttrib4f(indx
, x
, y
, z
, w
);
2603 void GL_BINDING_CALL
2604 MockGLInterface::Mock_glVertexAttrib4fv(GLuint indx
, const GLfloat
* values
) {
2605 MakeFunctionUnique("glVertexAttrib4fv");
2606 interface_
->VertexAttrib4fv(indx
, values
);
2609 void GL_BINDING_CALL
2610 MockGLInterface::Mock_glVertexAttribDivisor(GLuint index
, GLuint divisor
) {
2611 MakeFunctionUnique("glVertexAttribDivisor");
2612 interface_
->VertexAttribDivisorANGLE(index
, divisor
);
2615 void GL_BINDING_CALL
2616 MockGLInterface::Mock_glVertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) {
2617 MakeFunctionUnique("glVertexAttribDivisorANGLE");
2618 interface_
->VertexAttribDivisorANGLE(index
, divisor
);
2621 void GL_BINDING_CALL
2622 MockGLInterface::Mock_glVertexAttribDivisorARB(GLuint index
, GLuint divisor
) {
2623 MakeFunctionUnique("glVertexAttribDivisorARB");
2624 interface_
->VertexAttribDivisorANGLE(index
, divisor
);
2627 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttribI4i(GLuint indx
,
2632 MakeFunctionUnique("glVertexAttribI4i");
2633 interface_
->VertexAttribI4i(indx
, x
, y
, z
, w
);
2636 void GL_BINDING_CALL
2637 MockGLInterface::Mock_glVertexAttribI4iv(GLuint indx
, const GLint
* values
) {
2638 MakeFunctionUnique("glVertexAttribI4iv");
2639 interface_
->VertexAttribI4iv(indx
, values
);
2642 void GL_BINDING_CALL
MockGLInterface::Mock_glVertexAttribI4ui(GLuint indx
,
2647 MakeFunctionUnique("glVertexAttribI4ui");
2648 interface_
->VertexAttribI4ui(indx
, x
, y
, z
, w
);
2651 void GL_BINDING_CALL
2652 MockGLInterface::Mock_glVertexAttribI4uiv(GLuint indx
, const GLuint
* values
) {
2653 MakeFunctionUnique("glVertexAttribI4uiv");
2654 interface_
->VertexAttribI4uiv(indx
, values
);
2657 void GL_BINDING_CALL
2658 MockGLInterface::Mock_glVertexAttribIPointer(GLuint indx
,
2663 MakeFunctionUnique("glVertexAttribIPointer");
2664 interface_
->VertexAttribIPointer(indx
, size
, type
, stride
, ptr
);
2667 void GL_BINDING_CALL
2668 MockGLInterface::Mock_glVertexAttribPointer(GLuint indx
,
2671 GLboolean normalized
,
2674 MakeFunctionUnique("glVertexAttribPointer");
2675 interface_
->VertexAttribPointer(indx
, size
, type
, normalized
, stride
, ptr
);
2678 void GL_BINDING_CALL
MockGLInterface::Mock_glViewport(GLint x
,
2682 MakeFunctionUnique("glViewport");
2683 interface_
->Viewport(x
, y
, width
, height
);
2686 GLenum GL_BINDING_CALL
MockGLInterface::Mock_glWaitSync(GLsync sync
,
2689 MakeFunctionUnique("glWaitSync");
2690 return interface_
->WaitSync(sync
, flags
, timeout
);
2693 static void MockInvalidFunction() {
2697 void* GL_BINDING_CALL
MockGLInterface::GetGLProcAddress(const char* name
) {
2698 if (strcmp(name
, "glActiveTexture") == 0)
2699 return reinterpret_cast<void*>(Mock_glActiveTexture
);
2700 if (strcmp(name
, "glApplyFramebufferAttachmentCMAAINTEL") == 0)
2701 return reinterpret_cast<void*>(Mock_glApplyFramebufferAttachmentCMAAINTEL
);
2702 if (strcmp(name
, "glAttachShader") == 0)
2703 return reinterpret_cast<void*>(Mock_glAttachShader
);
2704 if (strcmp(name
, "glBeginQuery") == 0)
2705 return reinterpret_cast<void*>(Mock_glBeginQuery
);
2706 if (strcmp(name
, "glBeginQueryARB") == 0)
2707 return reinterpret_cast<void*>(Mock_glBeginQueryARB
);
2708 if (strcmp(name
, "glBeginQueryEXT") == 0)
2709 return reinterpret_cast<void*>(Mock_glBeginQueryEXT
);
2710 if (strcmp(name
, "glBeginTransformFeedback") == 0)
2711 return reinterpret_cast<void*>(Mock_glBeginTransformFeedback
);
2712 if (strcmp(name
, "glBindAttribLocation") == 0)
2713 return reinterpret_cast<void*>(Mock_glBindAttribLocation
);
2714 if (strcmp(name
, "glBindBuffer") == 0)
2715 return reinterpret_cast<void*>(Mock_glBindBuffer
);
2716 if (strcmp(name
, "glBindBufferBase") == 0)
2717 return reinterpret_cast<void*>(Mock_glBindBufferBase
);
2718 if (strcmp(name
, "glBindBufferRange") == 0)
2719 return reinterpret_cast<void*>(Mock_glBindBufferRange
);
2720 if (strcmp(name
, "glBindFragDataLocation") == 0)
2721 return reinterpret_cast<void*>(Mock_glBindFragDataLocation
);
2722 if (strcmp(name
, "glBindFragDataLocationIndexed") == 0)
2723 return reinterpret_cast<void*>(Mock_glBindFragDataLocationIndexed
);
2724 if (strcmp(name
, "glBindFramebuffer") == 0)
2725 return reinterpret_cast<void*>(Mock_glBindFramebuffer
);
2726 if (strcmp(name
, "glBindFramebufferEXT") == 0)
2727 return reinterpret_cast<void*>(Mock_glBindFramebufferEXT
);
2728 if (strcmp(name
, "glBindRenderbuffer") == 0)
2729 return reinterpret_cast<void*>(Mock_glBindRenderbuffer
);
2730 if (strcmp(name
, "glBindRenderbufferEXT") == 0)
2731 return reinterpret_cast<void*>(Mock_glBindRenderbufferEXT
);
2732 if (strcmp(name
, "glBindSampler") == 0)
2733 return reinterpret_cast<void*>(Mock_glBindSampler
);
2734 if (strcmp(name
, "glBindTexture") == 0)
2735 return reinterpret_cast<void*>(Mock_glBindTexture
);
2736 if (strcmp(name
, "glBindTransformFeedback") == 0)
2737 return reinterpret_cast<void*>(Mock_glBindTransformFeedback
);
2738 if (strcmp(name
, "glBindVertexArray") == 0)
2739 return reinterpret_cast<void*>(Mock_glBindVertexArray
);
2740 if (strcmp(name
, "glBindVertexArrayAPPLE") == 0)
2741 return reinterpret_cast<void*>(Mock_glBindVertexArrayAPPLE
);
2742 if (strcmp(name
, "glBindVertexArrayOES") == 0)
2743 return reinterpret_cast<void*>(Mock_glBindVertexArrayOES
);
2744 if (strcmp(name
, "glBlendBarrierKHR") == 0)
2745 return reinterpret_cast<void*>(Mock_glBlendBarrierKHR
);
2746 if (strcmp(name
, "glBlendBarrierNV") == 0)
2747 return reinterpret_cast<void*>(Mock_glBlendBarrierNV
);
2748 if (strcmp(name
, "glBlendColor") == 0)
2749 return reinterpret_cast<void*>(Mock_glBlendColor
);
2750 if (strcmp(name
, "glBlendEquation") == 0)
2751 return reinterpret_cast<void*>(Mock_glBlendEquation
);
2752 if (strcmp(name
, "glBlendEquationSeparate") == 0)
2753 return reinterpret_cast<void*>(Mock_glBlendEquationSeparate
);
2754 if (strcmp(name
, "glBlendFunc") == 0)
2755 return reinterpret_cast<void*>(Mock_glBlendFunc
);
2756 if (strcmp(name
, "glBlendFuncSeparate") == 0)
2757 return reinterpret_cast<void*>(Mock_glBlendFuncSeparate
);
2758 if (strcmp(name
, "glBlitFramebuffer") == 0)
2759 return reinterpret_cast<void*>(Mock_glBlitFramebuffer
);
2760 if (strcmp(name
, "glBlitFramebufferANGLE") == 0)
2761 return reinterpret_cast<void*>(Mock_glBlitFramebufferANGLE
);
2762 if (strcmp(name
, "glBlitFramebufferEXT") == 0)
2763 return reinterpret_cast<void*>(Mock_glBlitFramebufferEXT
);
2764 if (strcmp(name
, "glBufferData") == 0)
2765 return reinterpret_cast<void*>(Mock_glBufferData
);
2766 if (strcmp(name
, "glBufferSubData") == 0)
2767 return reinterpret_cast<void*>(Mock_glBufferSubData
);
2768 if (strcmp(name
, "glCheckFramebufferStatus") == 0)
2769 return reinterpret_cast<void*>(Mock_glCheckFramebufferStatus
);
2770 if (strcmp(name
, "glCheckFramebufferStatusEXT") == 0)
2771 return reinterpret_cast<void*>(Mock_glCheckFramebufferStatusEXT
);
2772 if (strcmp(name
, "glClear") == 0)
2773 return reinterpret_cast<void*>(Mock_glClear
);
2774 if (strcmp(name
, "glClearBufferfi") == 0)
2775 return reinterpret_cast<void*>(Mock_glClearBufferfi
);
2776 if (strcmp(name
, "glClearBufferfv") == 0)
2777 return reinterpret_cast<void*>(Mock_glClearBufferfv
);
2778 if (strcmp(name
, "glClearBufferiv") == 0)
2779 return reinterpret_cast<void*>(Mock_glClearBufferiv
);
2780 if (strcmp(name
, "glClearBufferuiv") == 0)
2781 return reinterpret_cast<void*>(Mock_glClearBufferuiv
);
2782 if (strcmp(name
, "glClearColor") == 0)
2783 return reinterpret_cast<void*>(Mock_glClearColor
);
2784 if (strcmp(name
, "glClearDepth") == 0)
2785 return reinterpret_cast<void*>(Mock_glClearDepth
);
2786 if (strcmp(name
, "glClearDepthf") == 0)
2787 return reinterpret_cast<void*>(Mock_glClearDepthf
);
2788 if (strcmp(name
, "glClearStencil") == 0)
2789 return reinterpret_cast<void*>(Mock_glClearStencil
);
2790 if (strcmp(name
, "glClientWaitSync") == 0)
2791 return reinterpret_cast<void*>(Mock_glClientWaitSync
);
2792 if (strcmp(name
, "glColorMask") == 0)
2793 return reinterpret_cast<void*>(Mock_glColorMask
);
2794 if (strcmp(name
, "glCompileShader") == 0)
2795 return reinterpret_cast<void*>(Mock_glCompileShader
);
2796 if (strcmp(name
, "glCompressedTexImage2D") == 0)
2797 return reinterpret_cast<void*>(Mock_glCompressedTexImage2D
);
2798 if (strcmp(name
, "glCompressedTexImage3D") == 0)
2799 return reinterpret_cast<void*>(Mock_glCompressedTexImage3D
);
2800 if (strcmp(name
, "glCompressedTexSubImage2D") == 0)
2801 return reinterpret_cast<void*>(Mock_glCompressedTexSubImage2D
);
2802 if (strcmp(name
, "glCompressedTexSubImage3D") == 0)
2803 return reinterpret_cast<void*>(Mock_glCompressedTexSubImage3D
);
2804 if (strcmp(name
, "glCopyBufferSubData") == 0)
2805 return reinterpret_cast<void*>(Mock_glCopyBufferSubData
);
2806 if (strcmp(name
, "glCopyTexImage2D") == 0)
2807 return reinterpret_cast<void*>(Mock_glCopyTexImage2D
);
2808 if (strcmp(name
, "glCopyTexSubImage2D") == 0)
2809 return reinterpret_cast<void*>(Mock_glCopyTexSubImage2D
);
2810 if (strcmp(name
, "glCopyTexSubImage3D") == 0)
2811 return reinterpret_cast<void*>(Mock_glCopyTexSubImage3D
);
2812 if (strcmp(name
, "glCoverFillPathNV") == 0)
2813 return reinterpret_cast<void*>(Mock_glCoverFillPathNV
);
2814 if (strcmp(name
, "glCoverStrokePathNV") == 0)
2815 return reinterpret_cast<void*>(Mock_glCoverStrokePathNV
);
2816 if (strcmp(name
, "glCreateProgram") == 0)
2817 return reinterpret_cast<void*>(Mock_glCreateProgram
);
2818 if (strcmp(name
, "glCreateShader") == 0)
2819 return reinterpret_cast<void*>(Mock_glCreateShader
);
2820 if (strcmp(name
, "glCullFace") == 0)
2821 return reinterpret_cast<void*>(Mock_glCullFace
);
2822 if (strcmp(name
, "glDeleteBuffers") == 0)
2823 return reinterpret_cast<void*>(Mock_glDeleteBuffers
);
2824 if (strcmp(name
, "glDeleteFencesAPPLE") == 0)
2825 return reinterpret_cast<void*>(Mock_glDeleteFencesAPPLE
);
2826 if (strcmp(name
, "glDeleteFencesNV") == 0)
2827 return reinterpret_cast<void*>(Mock_glDeleteFencesNV
);
2828 if (strcmp(name
, "glDeleteFramebuffers") == 0)
2829 return reinterpret_cast<void*>(Mock_glDeleteFramebuffers
);
2830 if (strcmp(name
, "glDeleteFramebuffersEXT") == 0)
2831 return reinterpret_cast<void*>(Mock_glDeleteFramebuffersEXT
);
2832 if (strcmp(name
, "glDeletePathsNV") == 0)
2833 return reinterpret_cast<void*>(Mock_glDeletePathsNV
);
2834 if (strcmp(name
, "glDeleteProgram") == 0)
2835 return reinterpret_cast<void*>(Mock_glDeleteProgram
);
2836 if (strcmp(name
, "glDeleteQueries") == 0)
2837 return reinterpret_cast<void*>(Mock_glDeleteQueries
);
2838 if (strcmp(name
, "glDeleteQueriesARB") == 0)
2839 return reinterpret_cast<void*>(Mock_glDeleteQueriesARB
);
2840 if (strcmp(name
, "glDeleteQueriesEXT") == 0)
2841 return reinterpret_cast<void*>(Mock_glDeleteQueriesEXT
);
2842 if (strcmp(name
, "glDeleteRenderbuffers") == 0)
2843 return reinterpret_cast<void*>(Mock_glDeleteRenderbuffers
);
2844 if (strcmp(name
, "glDeleteRenderbuffersEXT") == 0)
2845 return reinterpret_cast<void*>(Mock_glDeleteRenderbuffersEXT
);
2846 if (strcmp(name
, "glDeleteSamplers") == 0)
2847 return reinterpret_cast<void*>(Mock_glDeleteSamplers
);
2848 if (strcmp(name
, "glDeleteShader") == 0)
2849 return reinterpret_cast<void*>(Mock_glDeleteShader
);
2850 if (strcmp(name
, "glDeleteSync") == 0)
2851 return reinterpret_cast<void*>(Mock_glDeleteSync
);
2852 if (strcmp(name
, "glDeleteTextures") == 0)
2853 return reinterpret_cast<void*>(Mock_glDeleteTextures
);
2854 if (strcmp(name
, "glDeleteTransformFeedbacks") == 0)
2855 return reinterpret_cast<void*>(Mock_glDeleteTransformFeedbacks
);
2856 if (strcmp(name
, "glDeleteVertexArrays") == 0)
2857 return reinterpret_cast<void*>(Mock_glDeleteVertexArrays
);
2858 if (strcmp(name
, "glDeleteVertexArraysAPPLE") == 0)
2859 return reinterpret_cast<void*>(Mock_glDeleteVertexArraysAPPLE
);
2860 if (strcmp(name
, "glDeleteVertexArraysOES") == 0)
2861 return reinterpret_cast<void*>(Mock_glDeleteVertexArraysOES
);
2862 if (strcmp(name
, "glDepthFunc") == 0)
2863 return reinterpret_cast<void*>(Mock_glDepthFunc
);
2864 if (strcmp(name
, "glDepthMask") == 0)
2865 return reinterpret_cast<void*>(Mock_glDepthMask
);
2866 if (strcmp(name
, "glDepthRange") == 0)
2867 return reinterpret_cast<void*>(Mock_glDepthRange
);
2868 if (strcmp(name
, "glDepthRangef") == 0)
2869 return reinterpret_cast<void*>(Mock_glDepthRangef
);
2870 if (strcmp(name
, "glDetachShader") == 0)
2871 return reinterpret_cast<void*>(Mock_glDetachShader
);
2872 if (strcmp(name
, "glDisable") == 0)
2873 return reinterpret_cast<void*>(Mock_glDisable
);
2874 if (strcmp(name
, "glDisableVertexAttribArray") == 0)
2875 return reinterpret_cast<void*>(Mock_glDisableVertexAttribArray
);
2876 if (strcmp(name
, "glDiscardFramebufferEXT") == 0)
2877 return reinterpret_cast<void*>(Mock_glDiscardFramebufferEXT
);
2878 if (strcmp(name
, "glDrawArrays") == 0)
2879 return reinterpret_cast<void*>(Mock_glDrawArrays
);
2880 if (strcmp(name
, "glDrawArraysInstanced") == 0)
2881 return reinterpret_cast<void*>(Mock_glDrawArraysInstanced
);
2882 if (strcmp(name
, "glDrawArraysInstancedANGLE") == 0)
2883 return reinterpret_cast<void*>(Mock_glDrawArraysInstancedANGLE
);
2884 if (strcmp(name
, "glDrawArraysInstancedARB") == 0)
2885 return reinterpret_cast<void*>(Mock_glDrawArraysInstancedARB
);
2886 if (strcmp(name
, "glDrawBuffer") == 0)
2887 return reinterpret_cast<void*>(Mock_glDrawBuffer
);
2888 if (strcmp(name
, "glDrawBuffers") == 0)
2889 return reinterpret_cast<void*>(Mock_glDrawBuffers
);
2890 if (strcmp(name
, "glDrawBuffersARB") == 0)
2891 return reinterpret_cast<void*>(Mock_glDrawBuffersARB
);
2892 if (strcmp(name
, "glDrawBuffersEXT") == 0)
2893 return reinterpret_cast<void*>(Mock_glDrawBuffersEXT
);
2894 if (strcmp(name
, "glDrawElements") == 0)
2895 return reinterpret_cast<void*>(Mock_glDrawElements
);
2896 if (strcmp(name
, "glDrawElementsInstanced") == 0)
2897 return reinterpret_cast<void*>(Mock_glDrawElementsInstanced
);
2898 if (strcmp(name
, "glDrawElementsInstancedANGLE") == 0)
2899 return reinterpret_cast<void*>(Mock_glDrawElementsInstancedANGLE
);
2900 if (strcmp(name
, "glDrawElementsInstancedARB") == 0)
2901 return reinterpret_cast<void*>(Mock_glDrawElementsInstancedARB
);
2902 if (strcmp(name
, "glDrawRangeElements") == 0)
2903 return reinterpret_cast<void*>(Mock_glDrawRangeElements
);
2904 if (strcmp(name
, "glEGLImageTargetRenderbufferStorageOES") == 0)
2905 return reinterpret_cast<void*>(Mock_glEGLImageTargetRenderbufferStorageOES
);
2906 if (strcmp(name
, "glEGLImageTargetTexture2DOES") == 0)
2907 return reinterpret_cast<void*>(Mock_glEGLImageTargetTexture2DOES
);
2908 if (strcmp(name
, "glEnable") == 0)
2909 return reinterpret_cast<void*>(Mock_glEnable
);
2910 if (strcmp(name
, "glEnableVertexAttribArray") == 0)
2911 return reinterpret_cast<void*>(Mock_glEnableVertexAttribArray
);
2912 if (strcmp(name
, "glEndQuery") == 0)
2913 return reinterpret_cast<void*>(Mock_glEndQuery
);
2914 if (strcmp(name
, "glEndQueryARB") == 0)
2915 return reinterpret_cast<void*>(Mock_glEndQueryARB
);
2916 if (strcmp(name
, "glEndQueryEXT") == 0)
2917 return reinterpret_cast<void*>(Mock_glEndQueryEXT
);
2918 if (strcmp(name
, "glEndTransformFeedback") == 0)
2919 return reinterpret_cast<void*>(Mock_glEndTransformFeedback
);
2920 if (strcmp(name
, "glFenceSync") == 0)
2921 return reinterpret_cast<void*>(Mock_glFenceSync
);
2922 if (strcmp(name
, "glFinish") == 0)
2923 return reinterpret_cast<void*>(Mock_glFinish
);
2924 if (strcmp(name
, "glFinishFenceAPPLE") == 0)
2925 return reinterpret_cast<void*>(Mock_glFinishFenceAPPLE
);
2926 if (strcmp(name
, "glFinishFenceNV") == 0)
2927 return reinterpret_cast<void*>(Mock_glFinishFenceNV
);
2928 if (strcmp(name
, "glFlush") == 0)
2929 return reinterpret_cast<void*>(Mock_glFlush
);
2930 if (strcmp(name
, "glFlushMappedBufferRange") == 0)
2931 return reinterpret_cast<void*>(Mock_glFlushMappedBufferRange
);
2932 if (strcmp(name
, "glFramebufferRenderbuffer") == 0)
2933 return reinterpret_cast<void*>(Mock_glFramebufferRenderbuffer
);
2934 if (strcmp(name
, "glFramebufferRenderbufferEXT") == 0)
2935 return reinterpret_cast<void*>(Mock_glFramebufferRenderbufferEXT
);
2936 if (strcmp(name
, "glFramebufferTexture2D") == 0)
2937 return reinterpret_cast<void*>(Mock_glFramebufferTexture2D
);
2938 if (strcmp(name
, "glFramebufferTexture2DEXT") == 0)
2939 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DEXT
);
2940 if (strcmp(name
, "glFramebufferTexture2DMultisampleEXT") == 0)
2941 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DMultisampleEXT
);
2942 if (strcmp(name
, "glFramebufferTexture2DMultisampleIMG") == 0)
2943 return reinterpret_cast<void*>(Mock_glFramebufferTexture2DMultisampleIMG
);
2944 if (strcmp(name
, "glFramebufferTextureLayer") == 0)
2945 return reinterpret_cast<void*>(Mock_glFramebufferTextureLayer
);
2946 if (strcmp(name
, "glFrontFace") == 0)
2947 return reinterpret_cast<void*>(Mock_glFrontFace
);
2948 if (strcmp(name
, "glGenBuffers") == 0)
2949 return reinterpret_cast<void*>(Mock_glGenBuffers
);
2950 if (strcmp(name
, "glGenFencesAPPLE") == 0)
2951 return reinterpret_cast<void*>(Mock_glGenFencesAPPLE
);
2952 if (strcmp(name
, "glGenFencesNV") == 0)
2953 return reinterpret_cast<void*>(Mock_glGenFencesNV
);
2954 if (strcmp(name
, "glGenFramebuffers") == 0)
2955 return reinterpret_cast<void*>(Mock_glGenFramebuffers
);
2956 if (strcmp(name
, "glGenFramebuffersEXT") == 0)
2957 return reinterpret_cast<void*>(Mock_glGenFramebuffersEXT
);
2958 if (strcmp(name
, "glGenPathsNV") == 0)
2959 return reinterpret_cast<void*>(Mock_glGenPathsNV
);
2960 if (strcmp(name
, "glGenQueries") == 0)
2961 return reinterpret_cast<void*>(Mock_glGenQueries
);
2962 if (strcmp(name
, "glGenQueriesARB") == 0)
2963 return reinterpret_cast<void*>(Mock_glGenQueriesARB
);
2964 if (strcmp(name
, "glGenQueriesEXT") == 0)
2965 return reinterpret_cast<void*>(Mock_glGenQueriesEXT
);
2966 if (strcmp(name
, "glGenRenderbuffers") == 0)
2967 return reinterpret_cast<void*>(Mock_glGenRenderbuffers
);
2968 if (strcmp(name
, "glGenRenderbuffersEXT") == 0)
2969 return reinterpret_cast<void*>(Mock_glGenRenderbuffersEXT
);
2970 if (strcmp(name
, "glGenSamplers") == 0)
2971 return reinterpret_cast<void*>(Mock_glGenSamplers
);
2972 if (strcmp(name
, "glGenTextures") == 0)
2973 return reinterpret_cast<void*>(Mock_glGenTextures
);
2974 if (strcmp(name
, "glGenTransformFeedbacks") == 0)
2975 return reinterpret_cast<void*>(Mock_glGenTransformFeedbacks
);
2976 if (strcmp(name
, "glGenVertexArrays") == 0)
2977 return reinterpret_cast<void*>(Mock_glGenVertexArrays
);
2978 if (strcmp(name
, "glGenVertexArraysAPPLE") == 0)
2979 return reinterpret_cast<void*>(Mock_glGenVertexArraysAPPLE
);
2980 if (strcmp(name
, "glGenVertexArraysOES") == 0)
2981 return reinterpret_cast<void*>(Mock_glGenVertexArraysOES
);
2982 if (strcmp(name
, "glGenerateMipmap") == 0)
2983 return reinterpret_cast<void*>(Mock_glGenerateMipmap
);
2984 if (strcmp(name
, "glGenerateMipmapEXT") == 0)
2985 return reinterpret_cast<void*>(Mock_glGenerateMipmapEXT
);
2986 if (strcmp(name
, "glGetActiveAttrib") == 0)
2987 return reinterpret_cast<void*>(Mock_glGetActiveAttrib
);
2988 if (strcmp(name
, "glGetActiveUniform") == 0)
2989 return reinterpret_cast<void*>(Mock_glGetActiveUniform
);
2990 if (strcmp(name
, "glGetActiveUniformBlockName") == 0)
2991 return reinterpret_cast<void*>(Mock_glGetActiveUniformBlockName
);
2992 if (strcmp(name
, "glGetActiveUniformBlockiv") == 0)
2993 return reinterpret_cast<void*>(Mock_glGetActiveUniformBlockiv
);
2994 if (strcmp(name
, "glGetActiveUniformsiv") == 0)
2995 return reinterpret_cast<void*>(Mock_glGetActiveUniformsiv
);
2996 if (strcmp(name
, "glGetAttachedShaders") == 0)
2997 return reinterpret_cast<void*>(Mock_glGetAttachedShaders
);
2998 if (strcmp(name
, "glGetAttribLocation") == 0)
2999 return reinterpret_cast<void*>(Mock_glGetAttribLocation
);
3000 if (strcmp(name
, "glGetBooleanv") == 0)
3001 return reinterpret_cast<void*>(Mock_glGetBooleanv
);
3002 if (strcmp(name
, "glGetBufferParameteriv") == 0)
3003 return reinterpret_cast<void*>(Mock_glGetBufferParameteriv
);
3004 if (strcmp(name
, "glGetError") == 0)
3005 return reinterpret_cast<void*>(Mock_glGetError
);
3006 if (strcmp(name
, "glGetFenceivNV") == 0)
3007 return reinterpret_cast<void*>(Mock_glGetFenceivNV
);
3008 if (strcmp(name
, "glGetFloatv") == 0)
3009 return reinterpret_cast<void*>(Mock_glGetFloatv
);
3010 if (strcmp(name
, "glGetFragDataLocation") == 0)
3011 return reinterpret_cast<void*>(Mock_glGetFragDataLocation
);
3012 if (strcmp(name
, "glGetFramebufferAttachmentParameteriv") == 0)
3013 return reinterpret_cast<void*>(Mock_glGetFramebufferAttachmentParameteriv
);
3014 if (strcmp(name
, "glGetFramebufferAttachmentParameterivEXT") == 0)
3015 return reinterpret_cast<void*>(
3016 Mock_glGetFramebufferAttachmentParameterivEXT
);
3017 if (strcmp(name
, "glGetGraphicsResetStatus") == 0)
3018 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatus
);
3019 if (strcmp(name
, "glGetGraphicsResetStatusARB") == 0)
3020 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusARB
);
3021 if (strcmp(name
, "glGetGraphicsResetStatusEXT") == 0)
3022 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusEXT
);
3023 if (strcmp(name
, "glGetGraphicsResetStatusKHR") == 0)
3024 return reinterpret_cast<void*>(Mock_glGetGraphicsResetStatusKHR
);
3025 if (strcmp(name
, "glGetInteger64i_v") == 0)
3026 return reinterpret_cast<void*>(Mock_glGetInteger64i_v
);
3027 if (strcmp(name
, "glGetInteger64v") == 0)
3028 return reinterpret_cast<void*>(Mock_glGetInteger64v
);
3029 if (strcmp(name
, "glGetIntegeri_v") == 0)
3030 return reinterpret_cast<void*>(Mock_glGetIntegeri_v
);
3031 if (strcmp(name
, "glGetIntegerv") == 0)
3032 return reinterpret_cast<void*>(Mock_glGetIntegerv
);
3033 if (strcmp(name
, "glGetInternalformativ") == 0)
3034 return reinterpret_cast<void*>(Mock_glGetInternalformativ
);
3035 if (strcmp(name
, "glGetProgramBinary") == 0)
3036 return reinterpret_cast<void*>(Mock_glGetProgramBinary
);
3037 if (strcmp(name
, "glGetProgramBinaryOES") == 0)
3038 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES
);
3039 if (strcmp(name
, "glGetProgramInfoLog") == 0)
3040 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog
);
3041 if (strcmp(name
, "glGetProgramResourceLocation") == 0)
3042 return reinterpret_cast<void*>(Mock_glGetProgramResourceLocation
);
3043 if (strcmp(name
, "glGetProgramiv") == 0)
3044 return reinterpret_cast<void*>(Mock_glGetProgramiv
);
3045 if (strcmp(name
, "glGetQueryObjecti64v") == 0)
3046 return reinterpret_cast<void*>(Mock_glGetQueryObjecti64v
);
3047 if (strcmp(name
, "glGetQueryObjecti64vEXT") == 0)
3048 return reinterpret_cast<void*>(Mock_glGetQueryObjecti64vEXT
);
3049 if (strcmp(name
, "glGetQueryObjectiv") == 0)
3050 return reinterpret_cast<void*>(Mock_glGetQueryObjectiv
);
3051 if (strcmp(name
, "glGetQueryObjectivARB") == 0)
3052 return reinterpret_cast<void*>(Mock_glGetQueryObjectivARB
);
3053 if (strcmp(name
, "glGetQueryObjectivEXT") == 0)
3054 return reinterpret_cast<void*>(Mock_glGetQueryObjectivEXT
);
3055 if (strcmp(name
, "glGetQueryObjectui64v") == 0)
3056 return reinterpret_cast<void*>(Mock_glGetQueryObjectui64v
);
3057 if (strcmp(name
, "glGetQueryObjectui64vEXT") == 0)
3058 return reinterpret_cast<void*>(Mock_glGetQueryObjectui64vEXT
);
3059 if (strcmp(name
, "glGetQueryObjectuiv") == 0)
3060 return reinterpret_cast<void*>(Mock_glGetQueryObjectuiv
);
3061 if (strcmp(name
, "glGetQueryObjectuivARB") == 0)
3062 return reinterpret_cast<void*>(Mock_glGetQueryObjectuivARB
);
3063 if (strcmp(name
, "glGetQueryObjectuivEXT") == 0)
3064 return reinterpret_cast<void*>(Mock_glGetQueryObjectuivEXT
);
3065 if (strcmp(name
, "glGetQueryiv") == 0)
3066 return reinterpret_cast<void*>(Mock_glGetQueryiv
);
3067 if (strcmp(name
, "glGetQueryivARB") == 0)
3068 return reinterpret_cast<void*>(Mock_glGetQueryivARB
);
3069 if (strcmp(name
, "glGetQueryivEXT") == 0)
3070 return reinterpret_cast<void*>(Mock_glGetQueryivEXT
);
3071 if (strcmp(name
, "glGetRenderbufferParameteriv") == 0)
3072 return reinterpret_cast<void*>(Mock_glGetRenderbufferParameteriv
);
3073 if (strcmp(name
, "glGetRenderbufferParameterivEXT") == 0)
3074 return reinterpret_cast<void*>(Mock_glGetRenderbufferParameterivEXT
);
3075 if (strcmp(name
, "glGetSamplerParameterfv") == 0)
3076 return reinterpret_cast<void*>(Mock_glGetSamplerParameterfv
);
3077 if (strcmp(name
, "glGetSamplerParameteriv") == 0)
3078 return reinterpret_cast<void*>(Mock_glGetSamplerParameteriv
);
3079 if (strcmp(name
, "glGetShaderInfoLog") == 0)
3080 return reinterpret_cast<void*>(Mock_glGetShaderInfoLog
);
3081 if (strcmp(name
, "glGetShaderPrecisionFormat") == 0)
3082 return reinterpret_cast<void*>(Mock_glGetShaderPrecisionFormat
);
3083 if (strcmp(name
, "glGetShaderSource") == 0)
3084 return reinterpret_cast<void*>(Mock_glGetShaderSource
);
3085 if (strcmp(name
, "glGetShaderiv") == 0)
3086 return reinterpret_cast<void*>(Mock_glGetShaderiv
);
3087 if (strcmp(name
, "glGetString") == 0)
3088 return reinterpret_cast<void*>(Mock_glGetString
);
3089 if (strcmp(name
, "glGetStringi") == 0)
3090 return reinterpret_cast<void*>(Mock_glGetStringi
);
3091 if (strcmp(name
, "glGetSynciv") == 0)
3092 return reinterpret_cast<void*>(Mock_glGetSynciv
);
3093 if (strcmp(name
, "glGetTexLevelParameterfv") == 0)
3094 return reinterpret_cast<void*>(Mock_glGetTexLevelParameterfv
);
3095 if (strcmp(name
, "glGetTexLevelParameteriv") == 0)
3096 return reinterpret_cast<void*>(Mock_glGetTexLevelParameteriv
);
3097 if (strcmp(name
, "glGetTexParameterfv") == 0)
3098 return reinterpret_cast<void*>(Mock_glGetTexParameterfv
);
3099 if (strcmp(name
, "glGetTexParameteriv") == 0)
3100 return reinterpret_cast<void*>(Mock_glGetTexParameteriv
);
3101 if (strcmp(name
, "glGetTransformFeedbackVarying") == 0)
3102 return reinterpret_cast<void*>(Mock_glGetTransformFeedbackVarying
);
3103 if (strcmp(name
, "glGetTranslatedShaderSourceANGLE") == 0)
3104 return reinterpret_cast<void*>(Mock_glGetTranslatedShaderSourceANGLE
);
3105 if (strcmp(name
, "glGetUniformBlockIndex") == 0)
3106 return reinterpret_cast<void*>(Mock_glGetUniformBlockIndex
);
3107 if (strcmp(name
, "glGetUniformIndices") == 0)
3108 return reinterpret_cast<void*>(Mock_glGetUniformIndices
);
3109 if (strcmp(name
, "glGetUniformLocation") == 0)
3110 return reinterpret_cast<void*>(Mock_glGetUniformLocation
);
3111 if (strcmp(name
, "glGetUniformfv") == 0)
3112 return reinterpret_cast<void*>(Mock_glGetUniformfv
);
3113 if (strcmp(name
, "glGetUniformiv") == 0)
3114 return reinterpret_cast<void*>(Mock_glGetUniformiv
);
3115 if (strcmp(name
, "glGetUniformuiv") == 0)
3116 return reinterpret_cast<void*>(Mock_glGetUniformuiv
);
3117 if (strcmp(name
, "glGetVertexAttribPointerv") == 0)
3118 return reinterpret_cast<void*>(Mock_glGetVertexAttribPointerv
);
3119 if (strcmp(name
, "glGetVertexAttribfv") == 0)
3120 return reinterpret_cast<void*>(Mock_glGetVertexAttribfv
);
3121 if (strcmp(name
, "glGetVertexAttribiv") == 0)
3122 return reinterpret_cast<void*>(Mock_glGetVertexAttribiv
);
3123 if (strcmp(name
, "glHint") == 0)
3124 return reinterpret_cast<void*>(Mock_glHint
);
3125 if (strcmp(name
, "glInsertEventMarkerEXT") == 0)
3126 return reinterpret_cast<void*>(Mock_glInsertEventMarkerEXT
);
3127 if (strcmp(name
, "glInvalidateFramebuffer") == 0)
3128 return reinterpret_cast<void*>(Mock_glInvalidateFramebuffer
);
3129 if (strcmp(name
, "glInvalidateSubFramebuffer") == 0)
3130 return reinterpret_cast<void*>(Mock_glInvalidateSubFramebuffer
);
3131 if (strcmp(name
, "glIsBuffer") == 0)
3132 return reinterpret_cast<void*>(Mock_glIsBuffer
);
3133 if (strcmp(name
, "glIsEnabled") == 0)
3134 return reinterpret_cast<void*>(Mock_glIsEnabled
);
3135 if (strcmp(name
, "glIsFenceAPPLE") == 0)
3136 return reinterpret_cast<void*>(Mock_glIsFenceAPPLE
);
3137 if (strcmp(name
, "glIsFenceNV") == 0)
3138 return reinterpret_cast<void*>(Mock_glIsFenceNV
);
3139 if (strcmp(name
, "glIsFramebuffer") == 0)
3140 return reinterpret_cast<void*>(Mock_glIsFramebuffer
);
3141 if (strcmp(name
, "glIsFramebufferEXT") == 0)
3142 return reinterpret_cast<void*>(Mock_glIsFramebufferEXT
);
3143 if (strcmp(name
, "glIsPathNV") == 0)
3144 return reinterpret_cast<void*>(Mock_glIsPathNV
);
3145 if (strcmp(name
, "glIsProgram") == 0)
3146 return reinterpret_cast<void*>(Mock_glIsProgram
);
3147 if (strcmp(name
, "glIsQuery") == 0)
3148 return reinterpret_cast<void*>(Mock_glIsQuery
);
3149 if (strcmp(name
, "glIsQueryARB") == 0)
3150 return reinterpret_cast<void*>(Mock_glIsQueryARB
);
3151 if (strcmp(name
, "glIsQueryEXT") == 0)
3152 return reinterpret_cast<void*>(Mock_glIsQueryEXT
);
3153 if (strcmp(name
, "glIsRenderbuffer") == 0)
3154 return reinterpret_cast<void*>(Mock_glIsRenderbuffer
);
3155 if (strcmp(name
, "glIsRenderbufferEXT") == 0)
3156 return reinterpret_cast<void*>(Mock_glIsRenderbufferEXT
);
3157 if (strcmp(name
, "glIsSampler") == 0)
3158 return reinterpret_cast<void*>(Mock_glIsSampler
);
3159 if (strcmp(name
, "glIsShader") == 0)
3160 return reinterpret_cast<void*>(Mock_glIsShader
);
3161 if (strcmp(name
, "glIsSync") == 0)
3162 return reinterpret_cast<void*>(Mock_glIsSync
);
3163 if (strcmp(name
, "glIsTexture") == 0)
3164 return reinterpret_cast<void*>(Mock_glIsTexture
);
3165 if (strcmp(name
, "glIsTransformFeedback") == 0)
3166 return reinterpret_cast<void*>(Mock_glIsTransformFeedback
);
3167 if (strcmp(name
, "glIsVertexArray") == 0)
3168 return reinterpret_cast<void*>(Mock_glIsVertexArray
);
3169 if (strcmp(name
, "glIsVertexArrayAPPLE") == 0)
3170 return reinterpret_cast<void*>(Mock_glIsVertexArrayAPPLE
);
3171 if (strcmp(name
, "glIsVertexArrayOES") == 0)
3172 return reinterpret_cast<void*>(Mock_glIsVertexArrayOES
);
3173 if (strcmp(name
, "glLineWidth") == 0)
3174 return reinterpret_cast<void*>(Mock_glLineWidth
);
3175 if (strcmp(name
, "glLinkProgram") == 0)
3176 return reinterpret_cast<void*>(Mock_glLinkProgram
);
3177 if (strcmp(name
, "glMapBuffer") == 0)
3178 return reinterpret_cast<void*>(Mock_glMapBuffer
);
3179 if (strcmp(name
, "glMapBufferOES") == 0)
3180 return reinterpret_cast<void*>(Mock_glMapBufferOES
);
3181 if (strcmp(name
, "glMapBufferRange") == 0)
3182 return reinterpret_cast<void*>(Mock_glMapBufferRange
);
3183 if (strcmp(name
, "glMapBufferRangeEXT") == 0)
3184 return reinterpret_cast<void*>(Mock_glMapBufferRangeEXT
);
3185 if (strcmp(name
, "glMatrixLoadIdentityEXT") == 0)
3186 return reinterpret_cast<void*>(Mock_glMatrixLoadIdentityEXT
);
3187 if (strcmp(name
, "glMatrixLoadfEXT") == 0)
3188 return reinterpret_cast<void*>(Mock_glMatrixLoadfEXT
);
3189 if (strcmp(name
, "glPathCommandsNV") == 0)
3190 return reinterpret_cast<void*>(Mock_glPathCommandsNV
);
3191 if (strcmp(name
, "glPathParameterfNV") == 0)
3192 return reinterpret_cast<void*>(Mock_glPathParameterfNV
);
3193 if (strcmp(name
, "glPathParameteriNV") == 0)
3194 return reinterpret_cast<void*>(Mock_glPathParameteriNV
);
3195 if (strcmp(name
, "glPathStencilFuncNV") == 0)
3196 return reinterpret_cast<void*>(Mock_glPathStencilFuncNV
);
3197 if (strcmp(name
, "glPauseTransformFeedback") == 0)
3198 return reinterpret_cast<void*>(Mock_glPauseTransformFeedback
);
3199 if (strcmp(name
, "glPixelStorei") == 0)
3200 return reinterpret_cast<void*>(Mock_glPixelStorei
);
3201 if (strcmp(name
, "glPointParameteri") == 0)
3202 return reinterpret_cast<void*>(Mock_glPointParameteri
);
3203 if (strcmp(name
, "glPolygonOffset") == 0)
3204 return reinterpret_cast<void*>(Mock_glPolygonOffset
);
3205 if (strcmp(name
, "glPopGroupMarkerEXT") == 0)
3206 return reinterpret_cast<void*>(Mock_glPopGroupMarkerEXT
);
3207 if (strcmp(name
, "glProgramBinary") == 0)
3208 return reinterpret_cast<void*>(Mock_glProgramBinary
);
3209 if (strcmp(name
, "glProgramBinaryOES") == 0)
3210 return reinterpret_cast<void*>(Mock_glProgramBinaryOES
);
3211 if (strcmp(name
, "glProgramParameteri") == 0)
3212 return reinterpret_cast<void*>(Mock_glProgramParameteri
);
3213 if (strcmp(name
, "glPushGroupMarkerEXT") == 0)
3214 return reinterpret_cast<void*>(Mock_glPushGroupMarkerEXT
);
3215 if (strcmp(name
, "glQueryCounter") == 0)
3216 return reinterpret_cast<void*>(Mock_glQueryCounter
);
3217 if (strcmp(name
, "glQueryCounterEXT") == 0)
3218 return reinterpret_cast<void*>(Mock_glQueryCounterEXT
);
3219 if (strcmp(name
, "glReadBuffer") == 0)
3220 return reinterpret_cast<void*>(Mock_glReadBuffer
);
3221 if (strcmp(name
, "glReadPixels") == 0)
3222 return reinterpret_cast<void*>(Mock_glReadPixels
);
3223 if (strcmp(name
, "glReleaseShaderCompiler") == 0)
3224 return reinterpret_cast<void*>(Mock_glReleaseShaderCompiler
);
3225 if (strcmp(name
, "glRenderbufferStorage") == 0)
3226 return reinterpret_cast<void*>(Mock_glRenderbufferStorage
);
3227 if (strcmp(name
, "glRenderbufferStorageEXT") == 0)
3228 return reinterpret_cast<void*>(Mock_glRenderbufferStorageEXT
);
3229 if (strcmp(name
, "glRenderbufferStorageMultisample") == 0)
3230 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisample
);
3231 if (strcmp(name
, "glRenderbufferStorageMultisampleANGLE") == 0)
3232 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleANGLE
);
3233 if (strcmp(name
, "glRenderbufferStorageMultisampleEXT") == 0)
3234 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleEXT
);
3235 if (strcmp(name
, "glRenderbufferStorageMultisampleIMG") == 0)
3236 return reinterpret_cast<void*>(Mock_glRenderbufferStorageMultisampleIMG
);
3237 if (strcmp(name
, "glResumeTransformFeedback") == 0)
3238 return reinterpret_cast<void*>(Mock_glResumeTransformFeedback
);
3239 if (strcmp(name
, "glSampleCoverage") == 0)
3240 return reinterpret_cast<void*>(Mock_glSampleCoverage
);
3241 if (strcmp(name
, "glSamplerParameterf") == 0)
3242 return reinterpret_cast<void*>(Mock_glSamplerParameterf
);
3243 if (strcmp(name
, "glSamplerParameterfv") == 0)
3244 return reinterpret_cast<void*>(Mock_glSamplerParameterfv
);
3245 if (strcmp(name
, "glSamplerParameteri") == 0)
3246 return reinterpret_cast<void*>(Mock_glSamplerParameteri
);
3247 if (strcmp(name
, "glSamplerParameteriv") == 0)
3248 return reinterpret_cast<void*>(Mock_glSamplerParameteriv
);
3249 if (strcmp(name
, "glScissor") == 0)
3250 return reinterpret_cast<void*>(Mock_glScissor
);
3251 if (strcmp(name
, "glSetFenceAPPLE") == 0)
3252 return reinterpret_cast<void*>(Mock_glSetFenceAPPLE
);
3253 if (strcmp(name
, "glSetFenceNV") == 0)
3254 return reinterpret_cast<void*>(Mock_glSetFenceNV
);
3255 if (strcmp(name
, "glShaderBinary") == 0)
3256 return reinterpret_cast<void*>(Mock_glShaderBinary
);
3257 if (strcmp(name
, "glShaderSource") == 0)
3258 return reinterpret_cast<void*>(Mock_glShaderSource
);
3259 if (strcmp(name
, "glStencilFillPathNV") == 0)
3260 return reinterpret_cast<void*>(Mock_glStencilFillPathNV
);
3261 if (strcmp(name
, "glStencilFunc") == 0)
3262 return reinterpret_cast<void*>(Mock_glStencilFunc
);
3263 if (strcmp(name
, "glStencilFuncSeparate") == 0)
3264 return reinterpret_cast<void*>(Mock_glStencilFuncSeparate
);
3265 if (strcmp(name
, "glStencilMask") == 0)
3266 return reinterpret_cast<void*>(Mock_glStencilMask
);
3267 if (strcmp(name
, "glStencilMaskSeparate") == 0)
3268 return reinterpret_cast<void*>(Mock_glStencilMaskSeparate
);
3269 if (strcmp(name
, "glStencilOp") == 0)
3270 return reinterpret_cast<void*>(Mock_glStencilOp
);
3271 if (strcmp(name
, "glStencilOpSeparate") == 0)
3272 return reinterpret_cast<void*>(Mock_glStencilOpSeparate
);
3273 if (strcmp(name
, "glStencilStrokePathNV") == 0)
3274 return reinterpret_cast<void*>(Mock_glStencilStrokePathNV
);
3275 if (strcmp(name
, "glStencilThenCoverFillPathNV") == 0)
3276 return reinterpret_cast<void*>(Mock_glStencilThenCoverFillPathNV
);
3277 if (strcmp(name
, "glStencilThenCoverStrokePathNV") == 0)
3278 return reinterpret_cast<void*>(Mock_glStencilThenCoverStrokePathNV
);
3279 if (strcmp(name
, "glTestFenceAPPLE") == 0)
3280 return reinterpret_cast<void*>(Mock_glTestFenceAPPLE
);
3281 if (strcmp(name
, "glTestFenceNV") == 0)
3282 return reinterpret_cast<void*>(Mock_glTestFenceNV
);
3283 if (strcmp(name
, "glTexImage2D") == 0)
3284 return reinterpret_cast<void*>(Mock_glTexImage2D
);
3285 if (strcmp(name
, "glTexImage3D") == 0)
3286 return reinterpret_cast<void*>(Mock_glTexImage3D
);
3287 if (strcmp(name
, "glTexParameterf") == 0)
3288 return reinterpret_cast<void*>(Mock_glTexParameterf
);
3289 if (strcmp(name
, "glTexParameterfv") == 0)
3290 return reinterpret_cast<void*>(Mock_glTexParameterfv
);
3291 if (strcmp(name
, "glTexParameteri") == 0)
3292 return reinterpret_cast<void*>(Mock_glTexParameteri
);
3293 if (strcmp(name
, "glTexParameteriv") == 0)
3294 return reinterpret_cast<void*>(Mock_glTexParameteriv
);
3295 if (strcmp(name
, "glTexStorage2D") == 0)
3296 return reinterpret_cast<void*>(Mock_glTexStorage2D
);
3297 if (strcmp(name
, "glTexStorage2DEXT") == 0)
3298 return reinterpret_cast<void*>(Mock_glTexStorage2DEXT
);
3299 if (strcmp(name
, "glTexStorage3D") == 0)
3300 return reinterpret_cast<void*>(Mock_glTexStorage3D
);
3301 if (strcmp(name
, "glTexSubImage2D") == 0)
3302 return reinterpret_cast<void*>(Mock_glTexSubImage2D
);
3303 if (strcmp(name
, "glTexSubImage3D") == 0)
3304 return reinterpret_cast<void*>(Mock_glTexSubImage3D
);
3305 if (strcmp(name
, "glTransformFeedbackVaryings") == 0)
3306 return reinterpret_cast<void*>(Mock_glTransformFeedbackVaryings
);
3307 if (strcmp(name
, "glUniform1f") == 0)
3308 return reinterpret_cast<void*>(Mock_glUniform1f
);
3309 if (strcmp(name
, "glUniform1fv") == 0)
3310 return reinterpret_cast<void*>(Mock_glUniform1fv
);
3311 if (strcmp(name
, "glUniform1i") == 0)
3312 return reinterpret_cast<void*>(Mock_glUniform1i
);
3313 if (strcmp(name
, "glUniform1iv") == 0)
3314 return reinterpret_cast<void*>(Mock_glUniform1iv
);
3315 if (strcmp(name
, "glUniform1ui") == 0)
3316 return reinterpret_cast<void*>(Mock_glUniform1ui
);
3317 if (strcmp(name
, "glUniform1uiv") == 0)
3318 return reinterpret_cast<void*>(Mock_glUniform1uiv
);
3319 if (strcmp(name
, "glUniform2f") == 0)
3320 return reinterpret_cast<void*>(Mock_glUniform2f
);
3321 if (strcmp(name
, "glUniform2fv") == 0)
3322 return reinterpret_cast<void*>(Mock_glUniform2fv
);
3323 if (strcmp(name
, "glUniform2i") == 0)
3324 return reinterpret_cast<void*>(Mock_glUniform2i
);
3325 if (strcmp(name
, "glUniform2iv") == 0)
3326 return reinterpret_cast<void*>(Mock_glUniform2iv
);
3327 if (strcmp(name
, "glUniform2ui") == 0)
3328 return reinterpret_cast<void*>(Mock_glUniform2ui
);
3329 if (strcmp(name
, "glUniform2uiv") == 0)
3330 return reinterpret_cast<void*>(Mock_glUniform2uiv
);
3331 if (strcmp(name
, "glUniform3f") == 0)
3332 return reinterpret_cast<void*>(Mock_glUniform3f
);
3333 if (strcmp(name
, "glUniform3fv") == 0)
3334 return reinterpret_cast<void*>(Mock_glUniform3fv
);
3335 if (strcmp(name
, "glUniform3i") == 0)
3336 return reinterpret_cast<void*>(Mock_glUniform3i
);
3337 if (strcmp(name
, "glUniform3iv") == 0)
3338 return reinterpret_cast<void*>(Mock_glUniform3iv
);
3339 if (strcmp(name
, "glUniform3ui") == 0)
3340 return reinterpret_cast<void*>(Mock_glUniform3ui
);
3341 if (strcmp(name
, "glUniform3uiv") == 0)
3342 return reinterpret_cast<void*>(Mock_glUniform3uiv
);
3343 if (strcmp(name
, "glUniform4f") == 0)
3344 return reinterpret_cast<void*>(Mock_glUniform4f
);
3345 if (strcmp(name
, "glUniform4fv") == 0)
3346 return reinterpret_cast<void*>(Mock_glUniform4fv
);
3347 if (strcmp(name
, "glUniform4i") == 0)
3348 return reinterpret_cast<void*>(Mock_glUniform4i
);
3349 if (strcmp(name
, "glUniform4iv") == 0)
3350 return reinterpret_cast<void*>(Mock_glUniform4iv
);
3351 if (strcmp(name
, "glUniform4ui") == 0)
3352 return reinterpret_cast<void*>(Mock_glUniform4ui
);
3353 if (strcmp(name
, "glUniform4uiv") == 0)
3354 return reinterpret_cast<void*>(Mock_glUniform4uiv
);
3355 if (strcmp(name
, "glUniformBlockBinding") == 0)
3356 return reinterpret_cast<void*>(Mock_glUniformBlockBinding
);
3357 if (strcmp(name
, "glUniformMatrix2fv") == 0)
3358 return reinterpret_cast<void*>(Mock_glUniformMatrix2fv
);
3359 if (strcmp(name
, "glUniformMatrix2x3fv") == 0)
3360 return reinterpret_cast<void*>(Mock_glUniformMatrix2x3fv
);
3361 if (strcmp(name
, "glUniformMatrix2x4fv") == 0)
3362 return reinterpret_cast<void*>(Mock_glUniformMatrix2x4fv
);
3363 if (strcmp(name
, "glUniformMatrix3fv") == 0)
3364 return reinterpret_cast<void*>(Mock_glUniformMatrix3fv
);
3365 if (strcmp(name
, "glUniformMatrix3x2fv") == 0)
3366 return reinterpret_cast<void*>(Mock_glUniformMatrix3x2fv
);
3367 if (strcmp(name
, "glUniformMatrix3x4fv") == 0)
3368 return reinterpret_cast<void*>(Mock_glUniformMatrix3x4fv
);
3369 if (strcmp(name
, "glUniformMatrix4fv") == 0)
3370 return reinterpret_cast<void*>(Mock_glUniformMatrix4fv
);
3371 if (strcmp(name
, "glUniformMatrix4x2fv") == 0)
3372 return reinterpret_cast<void*>(Mock_glUniformMatrix4x2fv
);
3373 if (strcmp(name
, "glUniformMatrix4x3fv") == 0)
3374 return reinterpret_cast<void*>(Mock_glUniformMatrix4x3fv
);
3375 if (strcmp(name
, "glUnmapBuffer") == 0)
3376 return reinterpret_cast<void*>(Mock_glUnmapBuffer
);
3377 if (strcmp(name
, "glUnmapBufferOES") == 0)
3378 return reinterpret_cast<void*>(Mock_glUnmapBufferOES
);
3379 if (strcmp(name
, "glUseProgram") == 0)
3380 return reinterpret_cast<void*>(Mock_glUseProgram
);
3381 if (strcmp(name
, "glValidateProgram") == 0)
3382 return reinterpret_cast<void*>(Mock_glValidateProgram
);
3383 if (strcmp(name
, "glVertexAttrib1f") == 0)
3384 return reinterpret_cast<void*>(Mock_glVertexAttrib1f
);
3385 if (strcmp(name
, "glVertexAttrib1fv") == 0)
3386 return reinterpret_cast<void*>(Mock_glVertexAttrib1fv
);
3387 if (strcmp(name
, "glVertexAttrib2f") == 0)
3388 return reinterpret_cast<void*>(Mock_glVertexAttrib2f
);
3389 if (strcmp(name
, "glVertexAttrib2fv") == 0)
3390 return reinterpret_cast<void*>(Mock_glVertexAttrib2fv
);
3391 if (strcmp(name
, "glVertexAttrib3f") == 0)
3392 return reinterpret_cast<void*>(Mock_glVertexAttrib3f
);
3393 if (strcmp(name
, "glVertexAttrib3fv") == 0)
3394 return reinterpret_cast<void*>(Mock_glVertexAttrib3fv
);
3395 if (strcmp(name
, "glVertexAttrib4f") == 0)
3396 return reinterpret_cast<void*>(Mock_glVertexAttrib4f
);
3397 if (strcmp(name
, "glVertexAttrib4fv") == 0)
3398 return reinterpret_cast<void*>(Mock_glVertexAttrib4fv
);
3399 if (strcmp(name
, "glVertexAttribDivisor") == 0)
3400 return reinterpret_cast<void*>(Mock_glVertexAttribDivisor
);
3401 if (strcmp(name
, "glVertexAttribDivisorANGLE") == 0)
3402 return reinterpret_cast<void*>(Mock_glVertexAttribDivisorANGLE
);
3403 if (strcmp(name
, "glVertexAttribDivisorARB") == 0)
3404 return reinterpret_cast<void*>(Mock_glVertexAttribDivisorARB
);
3405 if (strcmp(name
, "glVertexAttribI4i") == 0)
3406 return reinterpret_cast<void*>(Mock_glVertexAttribI4i
);
3407 if (strcmp(name
, "glVertexAttribI4iv") == 0)
3408 return reinterpret_cast<void*>(Mock_glVertexAttribI4iv
);
3409 if (strcmp(name
, "glVertexAttribI4ui") == 0)
3410 return reinterpret_cast<void*>(Mock_glVertexAttribI4ui
);
3411 if (strcmp(name
, "glVertexAttribI4uiv") == 0)
3412 return reinterpret_cast<void*>(Mock_glVertexAttribI4uiv
);
3413 if (strcmp(name
, "glVertexAttribIPointer") == 0)
3414 return reinterpret_cast<void*>(Mock_glVertexAttribIPointer
);
3415 if (strcmp(name
, "glVertexAttribPointer") == 0)
3416 return reinterpret_cast<void*>(Mock_glVertexAttribPointer
);
3417 if (strcmp(name
, "glViewport") == 0)
3418 return reinterpret_cast<void*>(Mock_glViewport
);
3419 if (strcmp(name
, "glWaitSync") == 0)
3420 return reinterpret_cast<void*>(Mock_glWaitSync
);
3421 return reinterpret_cast<void*>(&MockInvalidFunction
);