1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
11 static void GL_BINDING_CALL
Mock_glActiveTexture(GLenum texture
);
12 static void GL_BINDING_CALL
Mock_glApplyFramebufferAttachmentCMAAINTEL(void);
13 static void GL_BINDING_CALL
Mock_glAttachShader(GLuint program
, GLuint shader
);
14 static void GL_BINDING_CALL
Mock_glBeginQuery(GLenum target
, GLuint id
);
15 static void GL_BINDING_CALL
Mock_glBeginQueryARB(GLenum target
, GLuint id
);
16 static void GL_BINDING_CALL
Mock_glBeginQueryEXT(GLenum target
, GLuint id
);
17 static void GL_BINDING_CALL
Mock_glBeginTransformFeedback(GLenum primitiveMode
);
18 static void GL_BINDING_CALL
Mock_glBindAttribLocation(GLuint program
,
21 static void GL_BINDING_CALL
Mock_glBindBuffer(GLenum target
, GLuint buffer
);
22 static void GL_BINDING_CALL
Mock_glBindBufferBase(GLenum target
,
25 static void GL_BINDING_CALL
Mock_glBindBufferRange(GLenum target
,
30 static void GL_BINDING_CALL
Mock_glBindFragDataLocation(GLuint program
,
33 static void GL_BINDING_CALL
34 Mock_glBindFragDataLocationIndexed(GLuint program
,
38 static void GL_BINDING_CALL
Mock_glBindFramebuffer(GLenum target
,
40 static void GL_BINDING_CALL
Mock_glBindFramebufferEXT(GLenum target
,
42 static void GL_BINDING_CALL
Mock_glBindRenderbuffer(GLenum target
,
44 static void GL_BINDING_CALL
Mock_glBindRenderbufferEXT(GLenum target
,
46 static void GL_BINDING_CALL
Mock_glBindSampler(GLuint unit
, GLuint sampler
);
47 static void GL_BINDING_CALL
Mock_glBindTexture(GLenum target
, GLuint texture
);
48 static void GL_BINDING_CALL
Mock_glBindTransformFeedback(GLenum target
,
50 static void GL_BINDING_CALL
Mock_glBindVertexArray(GLuint array
);
51 static void GL_BINDING_CALL
Mock_glBindVertexArrayAPPLE(GLuint array
);
52 static void GL_BINDING_CALL
Mock_glBindVertexArrayOES(GLuint array
);
53 static void GL_BINDING_CALL
Mock_glBlendBarrierKHR(void);
54 static void GL_BINDING_CALL
Mock_glBlendBarrierNV(void);
55 static void GL_BINDING_CALL
Mock_glBlendColor(GLclampf red
,
59 static void GL_BINDING_CALL
Mock_glBlendEquation(GLenum mode
);
60 static void GL_BINDING_CALL
Mock_glBlendEquationSeparate(GLenum modeRGB
,
62 static void GL_BINDING_CALL
Mock_glBlendFunc(GLenum sfactor
, GLenum dfactor
);
63 static void GL_BINDING_CALL
Mock_glBlendFuncSeparate(GLenum srcRGB
,
67 static void GL_BINDING_CALL
Mock_glBlitFramebuffer(GLint srcX0
,
77 static void GL_BINDING_CALL
Mock_glBlitFramebufferANGLE(GLint srcX0
,
87 static void GL_BINDING_CALL
Mock_glBlitFramebufferEXT(GLint srcX0
,
97 static void GL_BINDING_CALL
Mock_glBufferData(GLenum target
,
101 static void GL_BINDING_CALL
Mock_glBufferSubData(GLenum target
,
105 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatus(GLenum target
);
106 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatusEXT(GLenum target
);
107 static void GL_BINDING_CALL
Mock_glClear(GLbitfield mask
);
108 static void GL_BINDING_CALL
Mock_glClearBufferfi(GLenum buffer
,
112 static void GL_BINDING_CALL
Mock_glClearBufferfv(GLenum buffer
,
114 const GLfloat
* value
);
115 static void GL_BINDING_CALL
Mock_glClearBufferiv(GLenum buffer
,
118 static void GL_BINDING_CALL
Mock_glClearBufferuiv(GLenum buffer
,
120 const GLuint
* value
);
121 static void GL_BINDING_CALL
Mock_glClearColor(GLclampf red
,
125 static void GL_BINDING_CALL
Mock_glClearDepth(GLclampd depth
);
126 static void GL_BINDING_CALL
Mock_glClearDepthf(GLclampf depth
);
127 static void GL_BINDING_CALL
Mock_glClearStencil(GLint s
);
128 static GLenum GL_BINDING_CALL
Mock_glClientWaitSync(GLsync sync
,
131 static void GL_BINDING_CALL
Mock_glColorMask(GLboolean red
,
135 static void GL_BINDING_CALL
Mock_glCompileShader(GLuint shader
);
136 static void GL_BINDING_CALL
Mock_glCompressedTexImage2D(GLenum target
,
138 GLenum internalformat
,
144 static void GL_BINDING_CALL
Mock_glCompressedTexImage3D(GLenum target
,
146 GLenum internalformat
,
153 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage2D(GLenum target
,
162 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage3D(GLenum target
,
173 static void GL_BINDING_CALL
Mock_glCopyBufferSubData(GLenum readTarget
,
176 GLintptr writeOffset
,
178 static void GL_BINDING_CALL
Mock_glCopyTexImage2D(GLenum target
,
180 GLenum internalformat
,
186 static void GL_BINDING_CALL
Mock_glCopyTexSubImage2D(GLenum target
,
194 static void GL_BINDING_CALL
Mock_glCopyTexSubImage3D(GLenum target
,
203 static void GL_BINDING_CALL
Mock_glCoverFillPathNV(GLuint path
,
205 static void GL_BINDING_CALL
Mock_glCoverStrokePathNV(GLuint name
,
207 static GLuint GL_BINDING_CALL
Mock_glCreateProgram(void);
208 static GLuint GL_BINDING_CALL
Mock_glCreateShader(GLenum type
);
209 static void GL_BINDING_CALL
Mock_glCullFace(GLenum mode
);
210 static void GL_BINDING_CALL
Mock_glDeleteBuffers(GLsizei n
,
211 const GLuint
* buffers
);
212 static void GL_BINDING_CALL
Mock_glDeleteFencesAPPLE(GLsizei n
,
213 const GLuint
* fences
);
214 static void GL_BINDING_CALL
Mock_glDeleteFencesNV(GLsizei n
,
215 const GLuint
* fences
);
216 static void GL_BINDING_CALL
217 Mock_glDeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
);
218 static void GL_BINDING_CALL
219 Mock_glDeleteFramebuffersEXT(GLsizei n
, const GLuint
* framebuffers
);
220 static void GL_BINDING_CALL
Mock_glDeletePathsNV(GLuint path
, GLsizei range
);
221 static void GL_BINDING_CALL
Mock_glDeleteProgram(GLuint program
);
222 static void GL_BINDING_CALL
Mock_glDeleteQueries(GLsizei n
, const GLuint
* ids
);
223 static void GL_BINDING_CALL
Mock_glDeleteQueriesARB(GLsizei n
,
225 static void GL_BINDING_CALL
Mock_glDeleteQueriesEXT(GLsizei n
,
227 static void GL_BINDING_CALL
228 Mock_glDeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
);
229 static void GL_BINDING_CALL
230 Mock_glDeleteRenderbuffersEXT(GLsizei n
, const GLuint
* renderbuffers
);
231 static void GL_BINDING_CALL
Mock_glDeleteSamplers(GLsizei n
,
232 const GLuint
* samplers
);
233 static void GL_BINDING_CALL
Mock_glDeleteShader(GLuint shader
);
234 static void GL_BINDING_CALL
Mock_glDeleteSync(GLsync sync
);
235 static void GL_BINDING_CALL
Mock_glDeleteTextures(GLsizei n
,
236 const GLuint
* textures
);
237 static void GL_BINDING_CALL
Mock_glDeleteTransformFeedbacks(GLsizei n
,
239 static void GL_BINDING_CALL
Mock_glDeleteVertexArrays(GLsizei n
,
240 const GLuint
* arrays
);
241 static void GL_BINDING_CALL
242 Mock_glDeleteVertexArraysAPPLE(GLsizei n
, const GLuint
* arrays
);
243 static void GL_BINDING_CALL
Mock_glDeleteVertexArraysOES(GLsizei n
,
244 const GLuint
* arrays
);
245 static void GL_BINDING_CALL
Mock_glDepthFunc(GLenum func
);
246 static void GL_BINDING_CALL
Mock_glDepthMask(GLboolean flag
);
247 static void GL_BINDING_CALL
Mock_glDepthRange(GLclampd zNear
, GLclampd zFar
);
248 static void GL_BINDING_CALL
Mock_glDepthRangef(GLclampf zNear
, GLclampf zFar
);
249 static void GL_BINDING_CALL
Mock_glDetachShader(GLuint program
, GLuint shader
);
250 static void GL_BINDING_CALL
Mock_glDisable(GLenum cap
);
251 static void GL_BINDING_CALL
Mock_glDisableVertexAttribArray(GLuint index
);
252 static void GL_BINDING_CALL
253 Mock_glDiscardFramebufferEXT(GLenum target
,
254 GLsizei numAttachments
,
255 const GLenum
* attachments
);
256 static void GL_BINDING_CALL
Mock_glDrawArrays(GLenum mode
,
259 static void GL_BINDING_CALL
Mock_glDrawArraysInstanced(GLenum mode
,
263 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedANGLE(GLenum mode
,
267 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedARB(GLenum mode
,
271 static void GL_BINDING_CALL
Mock_glDrawBuffer(GLenum mode
);
272 static void GL_BINDING_CALL
Mock_glDrawBuffers(GLsizei n
, const GLenum
* bufs
);
273 static void GL_BINDING_CALL
Mock_glDrawBuffersARB(GLsizei n
,
275 static void GL_BINDING_CALL
Mock_glDrawBuffersEXT(GLsizei n
,
277 static void GL_BINDING_CALL
Mock_glDrawElements(GLenum mode
,
280 const void* indices
);
281 static void GL_BINDING_CALL
Mock_glDrawElementsInstanced(GLenum mode
,
286 static void GL_BINDING_CALL
287 Mock_glDrawElementsInstancedANGLE(GLenum mode
,
292 static void GL_BINDING_CALL
Mock_glDrawElementsInstancedARB(GLenum mode
,
297 static void GL_BINDING_CALL
Mock_glDrawRangeElements(GLenum mode
,
302 const void* indices
);
303 static void GL_BINDING_CALL
304 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target
, GLeglImageOES image
);
305 static void GL_BINDING_CALL
306 Mock_glEGLImageTargetTexture2DOES(GLenum target
, GLeglImageOES image
);
307 static void GL_BINDING_CALL
Mock_glEnable(GLenum cap
);
308 static void GL_BINDING_CALL
Mock_glEnableVertexAttribArray(GLuint index
);
309 static void GL_BINDING_CALL
Mock_glEndQuery(GLenum target
);
310 static void GL_BINDING_CALL
Mock_glEndQueryARB(GLenum target
);
311 static void GL_BINDING_CALL
Mock_glEndQueryEXT(GLenum target
);
312 static void GL_BINDING_CALL
Mock_glEndTransformFeedback(void);
313 static GLsync GL_BINDING_CALL
Mock_glFenceSync(GLenum condition
,
315 static void GL_BINDING_CALL
Mock_glFinish(void);
316 static void GL_BINDING_CALL
Mock_glFinishFenceAPPLE(GLuint fence
);
317 static void GL_BINDING_CALL
Mock_glFinishFenceNV(GLuint fence
);
318 static void GL_BINDING_CALL
Mock_glFlush(void);
319 static void GL_BINDING_CALL
Mock_glFlushMappedBufferRange(GLenum target
,
322 static void GL_BINDING_CALL
323 Mock_glFramebufferRenderbuffer(GLenum target
,
325 GLenum renderbuffertarget
,
326 GLuint renderbuffer
);
327 static void GL_BINDING_CALL
328 Mock_glFramebufferRenderbufferEXT(GLenum target
,
330 GLenum renderbuffertarget
,
331 GLuint renderbuffer
);
332 static void GL_BINDING_CALL
Mock_glFramebufferTexture2D(GLenum target
,
337 static void GL_BINDING_CALL
Mock_glFramebufferTexture2DEXT(GLenum target
,
342 static void GL_BINDING_CALL
343 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
349 static void GL_BINDING_CALL
350 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
356 static void GL_BINDING_CALL
Mock_glFramebufferTextureLayer(GLenum target
,
361 static void GL_BINDING_CALL
Mock_glFrontFace(GLenum mode
);
362 static void GL_BINDING_CALL
Mock_glGenBuffers(GLsizei n
, GLuint
* buffers
);
363 static void GL_BINDING_CALL
Mock_glGenFencesAPPLE(GLsizei n
, GLuint
* fences
);
364 static void GL_BINDING_CALL
Mock_glGenFencesNV(GLsizei n
, GLuint
* fences
);
365 static void GL_BINDING_CALL
Mock_glGenFramebuffers(GLsizei n
,
366 GLuint
* framebuffers
);
367 static void GL_BINDING_CALL
Mock_glGenFramebuffersEXT(GLsizei n
,
368 GLuint
* framebuffers
);
369 static GLuint GL_BINDING_CALL
Mock_glGenPathsNV(GLsizei range
);
370 static void GL_BINDING_CALL
Mock_glGenQueries(GLsizei n
, GLuint
* ids
);
371 static void GL_BINDING_CALL
Mock_glGenQueriesARB(GLsizei n
, GLuint
* ids
);
372 static void GL_BINDING_CALL
Mock_glGenQueriesEXT(GLsizei n
, GLuint
* ids
);
373 static void GL_BINDING_CALL
Mock_glGenRenderbuffers(GLsizei n
,
374 GLuint
* renderbuffers
);
375 static void GL_BINDING_CALL
Mock_glGenRenderbuffersEXT(GLsizei n
,
376 GLuint
* renderbuffers
);
377 static void GL_BINDING_CALL
Mock_glGenSamplers(GLsizei n
, GLuint
* samplers
);
378 static void GL_BINDING_CALL
Mock_glGenTextures(GLsizei n
, GLuint
* textures
);
379 static void GL_BINDING_CALL
Mock_glGenTransformFeedbacks(GLsizei n
,
381 static void GL_BINDING_CALL
Mock_glGenVertexArrays(GLsizei n
, GLuint
* arrays
);
382 static void GL_BINDING_CALL
Mock_glGenVertexArraysAPPLE(GLsizei n
,
384 static void GL_BINDING_CALL
Mock_glGenVertexArraysOES(GLsizei n
,
386 static void GL_BINDING_CALL
Mock_glGenerateMipmap(GLenum target
);
387 static void GL_BINDING_CALL
Mock_glGenerateMipmapEXT(GLenum target
);
388 static void GL_BINDING_CALL
Mock_glGetActiveAttrib(GLuint program
,
395 static void GL_BINDING_CALL
Mock_glGetActiveUniform(GLuint program
,
402 static void GL_BINDING_CALL
403 Mock_glGetActiveUniformBlockName(GLuint program
,
404 GLuint uniformBlockIndex
,
407 char* uniformBlockName
);
408 static void GL_BINDING_CALL
409 Mock_glGetActiveUniformBlockiv(GLuint program
,
410 GLuint uniformBlockIndex
,
413 static void GL_BINDING_CALL
414 Mock_glGetActiveUniformsiv(GLuint program
,
415 GLsizei uniformCount
,
416 const GLuint
* uniformIndices
,
419 static void GL_BINDING_CALL
Mock_glGetAttachedShaders(GLuint program
,
423 static GLint GL_BINDING_CALL
Mock_glGetAttribLocation(GLuint program
,
425 static void GL_BINDING_CALL
Mock_glGetBooleanv(GLenum pname
, GLboolean
* params
);
426 static void GL_BINDING_CALL
Mock_glGetBufferParameteriv(GLenum target
,
429 static GLenum GL_BINDING_CALL
Mock_glGetError(void);
430 static void GL_BINDING_CALL
Mock_glGetFenceivNV(GLuint fence
,
433 static void GL_BINDING_CALL
Mock_glGetFloatv(GLenum pname
, GLfloat
* params
);
434 static GLint GL_BINDING_CALL
Mock_glGetFragDataLocation(GLuint program
,
436 static void GL_BINDING_CALL
437 Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
441 static void GL_BINDING_CALL
442 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target
,
446 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatus(void);
447 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusARB(void);
448 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusEXT(void);
449 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusKHR(void);
450 static void GL_BINDING_CALL
Mock_glGetInteger64i_v(GLenum target
,
453 static void GL_BINDING_CALL
Mock_glGetInteger64v(GLenum pname
, GLint64
* params
);
454 static void GL_BINDING_CALL
Mock_glGetIntegeri_v(GLenum target
,
457 static void GL_BINDING_CALL
Mock_glGetIntegerv(GLenum pname
, GLint
* params
);
458 static void GL_BINDING_CALL
Mock_glGetInternalformativ(GLenum target
,
459 GLenum internalformat
,
463 static void GL_BINDING_CALL
Mock_glGetProgramBinary(GLuint program
,
466 GLenum
* binaryFormat
,
468 static void GL_BINDING_CALL
Mock_glGetProgramBinaryOES(GLuint program
,
471 GLenum
* binaryFormat
,
473 static void GL_BINDING_CALL
Mock_glGetProgramInfoLog(GLuint program
,
477 static GLint GL_BINDING_CALL
478 Mock_glGetProgramResourceLocation(GLuint program
,
479 GLenum programInterface
,
481 static void GL_BINDING_CALL
Mock_glGetProgramiv(GLuint program
,
484 static void GL_BINDING_CALL
Mock_glGetQueryObjecti64v(GLuint id
,
487 static void GL_BINDING_CALL
Mock_glGetQueryObjecti64vEXT(GLuint id
,
490 static void GL_BINDING_CALL
Mock_glGetQueryObjectiv(GLuint id
,
493 static void GL_BINDING_CALL
Mock_glGetQueryObjectivARB(GLuint id
,
496 static void GL_BINDING_CALL
Mock_glGetQueryObjectivEXT(GLuint id
,
499 static void GL_BINDING_CALL
Mock_glGetQueryObjectui64v(GLuint id
,
502 static void GL_BINDING_CALL
Mock_glGetQueryObjectui64vEXT(GLuint id
,
505 static void GL_BINDING_CALL
Mock_glGetQueryObjectuiv(GLuint id
,
508 static void GL_BINDING_CALL
Mock_glGetQueryObjectuivARB(GLuint id
,
511 static void GL_BINDING_CALL
Mock_glGetQueryObjectuivEXT(GLuint id
,
514 static void GL_BINDING_CALL
Mock_glGetQueryiv(GLenum target
,
517 static void GL_BINDING_CALL
Mock_glGetQueryivARB(GLenum target
,
520 static void GL_BINDING_CALL
Mock_glGetQueryivEXT(GLenum target
,
523 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameteriv(GLenum target
,
526 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
529 static void GL_BINDING_CALL
Mock_glGetSamplerParameterfv(GLuint sampler
,
532 static void GL_BINDING_CALL
Mock_glGetSamplerParameteriv(GLuint sampler
,
535 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
539 static void GL_BINDING_CALL
540 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
541 GLenum precisiontype
,
544 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
548 static void GL_BINDING_CALL
Mock_glGetShaderiv(GLuint shader
,
551 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
552 static const GLubyte
* GL_BINDING_CALL
Mock_glGetStringi(GLenum name
,
554 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
559 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
563 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
567 static void GL_BINDING_CALL
Mock_glGetTexParameterfv(GLenum target
,
570 static void GL_BINDING_CALL
Mock_glGetTexParameteriv(GLenum target
,
573 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
580 static void GL_BINDING_CALL
581 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
585 static GLuint GL_BINDING_CALL
586 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
587 static void GL_BINDING_CALL
588 Mock_glGetUniformIndices(GLuint program
,
589 GLsizei uniformCount
,
590 const char* const* uniformNames
,
591 GLuint
* uniformIndices
);
592 static GLint GL_BINDING_CALL
Mock_glGetUniformLocation(GLuint program
,
594 static void GL_BINDING_CALL
Mock_glGetUniformfv(GLuint program
,
597 static void GL_BINDING_CALL
Mock_glGetUniformiv(GLuint program
,
600 static void GL_BINDING_CALL
Mock_glGetUniformuiv(GLuint program
,
603 static void GL_BINDING_CALL
Mock_glGetVertexAttribPointerv(GLuint index
,
606 static void GL_BINDING_CALL
Mock_glGetVertexAttribfv(GLuint index
,
609 static void GL_BINDING_CALL
Mock_glGetVertexAttribiv(GLuint index
,
612 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
613 static void GL_BINDING_CALL
Mock_glInsertEventMarkerEXT(GLsizei length
,
615 static void GL_BINDING_CALL
616 Mock_glInvalidateFramebuffer(GLenum target
,
617 GLsizei numAttachments
,
618 const GLenum
* attachments
);
619 static void GL_BINDING_CALL
620 Mock_glInvalidateSubFramebuffer(GLenum target
,
621 GLsizei numAttachments
,
622 const GLenum
* attachments
,
627 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
628 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
629 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
630 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
631 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
632 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
633 static GLboolean GL_BINDING_CALL
Mock_glIsPathNV(GLuint path
);
634 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
635 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
636 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
637 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
638 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
639 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
640 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
641 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
642 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
643 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
644 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
645 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
646 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
647 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
648 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
649 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
650 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
651 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
652 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
656 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
660 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
661 static void GL_BINDING_CALL
Mock_glMatrixLoadfEXT(GLenum matrixMode
,
663 static void GL_BINDING_CALL
Mock_glPathCommandsNV(GLuint path
,
665 const GLubyte
* commands
,
668 const GLvoid
* coords
);
669 static void GL_BINDING_CALL
Mock_glPathParameterfNV(GLuint path
,
672 static void GL_BINDING_CALL
Mock_glPathParameteriNV(GLuint path
,
675 static void GL_BINDING_CALL
Mock_glPathStencilFuncNV(GLenum func
,
678 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
679 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
680 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
681 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
682 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
683 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
685 const GLvoid
* binary
,
687 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
689 const GLvoid
* binary
,
691 static void GL_BINDING_CALL
Mock_glProgramParameteri(GLuint program
,
694 static void GL_BINDING_CALL
Mock_glPushGroupMarkerEXT(GLsizei length
,
696 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
697 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
698 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
699 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
706 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
707 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
708 GLenum internalformat
,
711 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
712 GLenum internalformat
,
715 static void GL_BINDING_CALL
716 Mock_glRenderbufferStorageMultisample(GLenum target
,
718 GLenum internalformat
,
721 static void GL_BINDING_CALL
722 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
724 GLenum internalformat
,
727 static void GL_BINDING_CALL
728 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
730 GLenum internalformat
,
733 static void GL_BINDING_CALL
734 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
736 GLenum internalformat
,
739 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
740 static void GL_BINDING_CALL
Mock_glSampleCoverage(GLclampf value
,
742 static void GL_BINDING_CALL
Mock_glSamplerParameterf(GLuint sampler
,
745 static void GL_BINDING_CALL
Mock_glSamplerParameterfv(GLuint sampler
,
747 const GLfloat
* params
);
748 static void GL_BINDING_CALL
Mock_glSamplerParameteri(GLuint sampler
,
751 static void GL_BINDING_CALL
Mock_glSamplerParameteriv(GLuint sampler
,
753 const GLint
* params
);
754 static void GL_BINDING_CALL
Mock_glScissor(GLint x
,
758 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
759 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
760 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
761 const GLuint
* shaders
,
765 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
767 const char* const* str
,
768 const GLint
* length
);
769 static void GL_BINDING_CALL
Mock_glStencilFillPathNV(GLuint path
,
772 static void GL_BINDING_CALL
Mock_glStencilFunc(GLenum func
,
775 static void GL_BINDING_CALL
Mock_glStencilFuncSeparate(GLenum face
,
779 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
780 static void GL_BINDING_CALL
Mock_glStencilMaskSeparate(GLenum face
,
782 static void GL_BINDING_CALL
Mock_glStencilOp(GLenum fail
,
785 static void GL_BINDING_CALL
Mock_glStencilOpSeparate(GLenum face
,
789 static void GL_BINDING_CALL
Mock_glStencilStrokePathNV(GLuint path
,
792 static void GL_BINDING_CALL
Mock_glStencilThenCoverFillPathNV(GLuint path
,
796 static void GL_BINDING_CALL
797 Mock_glStencilThenCoverStrokePathNV(GLuint path
,
801 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
802 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
803 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
805 GLint internalformat
,
812 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
814 GLint internalformat
,
822 static void GL_BINDING_CALL
Mock_glTexParameterf(GLenum target
,
825 static void GL_BINDING_CALL
Mock_glTexParameterfv(GLenum target
,
827 const GLfloat
* params
);
828 static void GL_BINDING_CALL
Mock_glTexParameteri(GLenum target
,
831 static void GL_BINDING_CALL
Mock_glTexParameteriv(GLenum target
,
833 const GLint
* params
);
834 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
836 GLenum internalformat
,
839 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
841 GLenum internalformat
,
844 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
846 GLenum internalformat
,
850 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
859 static void GL_BINDING_CALL
Mock_glTexSubImage3D(GLenum target
,
870 static void GL_BINDING_CALL
871 Mock_glTransformFeedbackVaryings(GLuint program
,
873 const char* const* varyings
,
875 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
876 static void GL_BINDING_CALL
Mock_glUniform1fv(GLint location
,
879 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
880 static void GL_BINDING_CALL
Mock_glUniform1iv(GLint location
,
883 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
884 static void GL_BINDING_CALL
Mock_glUniform1uiv(GLint location
,
887 static void GL_BINDING_CALL
Mock_glUniform2f(GLint location
,
890 static void GL_BINDING_CALL
Mock_glUniform2fv(GLint location
,
893 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
894 static void GL_BINDING_CALL
Mock_glUniform2iv(GLint location
,
897 static void GL_BINDING_CALL
Mock_glUniform2ui(GLint location
,
900 static void GL_BINDING_CALL
Mock_glUniform2uiv(GLint location
,
903 static void GL_BINDING_CALL
Mock_glUniform3f(GLint location
,
907 static void GL_BINDING_CALL
Mock_glUniform3fv(GLint location
,
910 static void GL_BINDING_CALL
Mock_glUniform3i(GLint location
,
914 static void GL_BINDING_CALL
Mock_glUniform3iv(GLint location
,
917 static void GL_BINDING_CALL
Mock_glUniform3ui(GLint location
,
921 static void GL_BINDING_CALL
Mock_glUniform3uiv(GLint location
,
924 static void GL_BINDING_CALL
925 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
926 static void GL_BINDING_CALL
Mock_glUniform4fv(GLint location
,
929 static void GL_BINDING_CALL
930 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
931 static void GL_BINDING_CALL
Mock_glUniform4iv(GLint location
,
934 static void GL_BINDING_CALL
935 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
936 static void GL_BINDING_CALL
Mock_glUniform4uiv(GLint location
,
939 static void GL_BINDING_CALL
940 Mock_glUniformBlockBinding(GLuint program
,
941 GLuint uniformBlockIndex
,
942 GLuint uniformBlockBinding
);
943 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
946 const GLfloat
* value
);
947 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
950 const GLfloat
* value
);
951 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
954 const GLfloat
* value
);
955 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
958 const GLfloat
* value
);
959 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
962 const GLfloat
* value
);
963 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
966 const GLfloat
* value
);
967 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
970 const GLfloat
* value
);
971 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
974 const GLfloat
* value
);
975 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
978 const GLfloat
* value
);
979 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
980 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
981 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
982 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
983 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
984 static void GL_BINDING_CALL
Mock_glVertexAttrib1fv(GLuint indx
,
985 const GLfloat
* values
);
986 static void GL_BINDING_CALL
Mock_glVertexAttrib2f(GLuint indx
,
989 static void GL_BINDING_CALL
Mock_glVertexAttrib2fv(GLuint indx
,
990 const GLfloat
* values
);
991 static void GL_BINDING_CALL
Mock_glVertexAttrib3f(GLuint indx
,
995 static void GL_BINDING_CALL
Mock_glVertexAttrib3fv(GLuint indx
,
996 const GLfloat
* values
);
997 static void GL_BINDING_CALL
998 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
999 static void GL_BINDING_CALL
Mock_glVertexAttrib4fv(GLuint indx
,
1000 const GLfloat
* values
);
1001 static void GL_BINDING_CALL
Mock_glVertexAttribDivisor(GLuint index
,
1003 static void GL_BINDING_CALL
Mock_glVertexAttribDivisorANGLE(GLuint index
,
1005 static void GL_BINDING_CALL
Mock_glVertexAttribDivisorARB(GLuint index
,
1007 static void GL_BINDING_CALL
1008 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
1009 static void GL_BINDING_CALL
Mock_glVertexAttribI4iv(GLuint indx
,
1010 const GLint
* values
);
1011 static void GL_BINDING_CALL
1012 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
1013 static void GL_BINDING_CALL
Mock_glVertexAttribI4uiv(GLuint indx
,
1014 const GLuint
* values
);
1015 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
1020 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
1023 GLboolean normalized
,
1026 static void GL_BINDING_CALL
Mock_glViewport(GLint x
,
1030 static GLenum GL_BINDING_CALL
Mock_glWaitSync(GLsync sync
,