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_glAttachShader(GLuint program
, GLuint shader
);
13 static void GL_BINDING_CALL
Mock_glBeginQuery(GLenum target
, GLuint id
);
14 static void GL_BINDING_CALL
Mock_glBeginQueryARB(GLenum target
, GLuint id
);
15 static void GL_BINDING_CALL
Mock_glBeginQueryEXT(GLenum target
, GLuint id
);
16 static void GL_BINDING_CALL
Mock_glBeginTransformFeedback(GLenum primitiveMode
);
17 static void GL_BINDING_CALL
18 Mock_glBindAttribLocation(GLuint program
, GLuint index
, const char* name
);
19 static void GL_BINDING_CALL
Mock_glBindBuffer(GLenum target
, GLuint buffer
);
20 static void GL_BINDING_CALL
21 Mock_glBindBufferBase(GLenum target
, GLuint index
, GLuint buffer
);
22 static void GL_BINDING_CALL
Mock_glBindBufferRange(GLenum target
,
27 static void GL_BINDING_CALL
Mock_glBindFragDataLocation(GLuint program
,
30 static void GL_BINDING_CALL
31 Mock_glBindFragDataLocationIndexed(GLuint program
,
35 static void GL_BINDING_CALL
36 Mock_glBindFramebuffer(GLenum target
, GLuint framebuffer
);
37 static void GL_BINDING_CALL
38 Mock_glBindFramebufferEXT(GLenum target
, GLuint framebuffer
);
39 static void GL_BINDING_CALL
40 Mock_glBindRenderbuffer(GLenum target
, GLuint renderbuffer
);
41 static void GL_BINDING_CALL
42 Mock_glBindRenderbufferEXT(GLenum target
, GLuint renderbuffer
);
43 static void GL_BINDING_CALL
Mock_glBindSampler(GLuint unit
, GLuint sampler
);
44 static void GL_BINDING_CALL
Mock_glBindTexture(GLenum target
, GLuint texture
);
45 static void GL_BINDING_CALL
46 Mock_glBindTransformFeedback(GLenum target
, GLuint id
);
47 static void GL_BINDING_CALL
Mock_glBindVertexArray(GLuint array
);
48 static void GL_BINDING_CALL
Mock_glBindVertexArrayAPPLE(GLuint array
);
49 static void GL_BINDING_CALL
Mock_glBindVertexArrayOES(GLuint array
);
50 static void GL_BINDING_CALL
Mock_glBlendBarrierKHR(void);
51 static void GL_BINDING_CALL
Mock_glBlendBarrierNV(void);
52 static void GL_BINDING_CALL
53 Mock_glBlendColor(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
);
54 static void GL_BINDING_CALL
Mock_glBlendEquation(GLenum mode
);
55 static void GL_BINDING_CALL
56 Mock_glBlendEquationSeparate(GLenum modeRGB
, GLenum modeAlpha
);
57 static void GL_BINDING_CALL
Mock_glBlendFunc(GLenum sfactor
, GLenum dfactor
);
58 static void GL_BINDING_CALL
Mock_glBlendFuncSeparate(GLenum srcRGB
,
62 static void GL_BINDING_CALL
Mock_glBlitFramebuffer(GLint srcX0
,
72 static void GL_BINDING_CALL
Mock_glBlitFramebufferANGLE(GLint srcX0
,
82 static void GL_BINDING_CALL
Mock_glBlitFramebufferEXT(GLint srcX0
,
92 static void GL_BINDING_CALL
Mock_glBufferData(GLenum target
,
96 static void GL_BINDING_CALL
Mock_glBufferSubData(GLenum target
,
100 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatus(GLenum target
);
101 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatusEXT(GLenum target
);
102 static void GL_BINDING_CALL
Mock_glClear(GLbitfield mask
);
103 static void GL_BINDING_CALL
Mock_glClearBufferfi(GLenum buffer
,
107 static void GL_BINDING_CALL
108 Mock_glClearBufferfv(GLenum buffer
, GLint drawbuffer
, const GLfloat
* value
);
109 static void GL_BINDING_CALL
110 Mock_glClearBufferiv(GLenum buffer
, GLint drawbuffer
, const GLint
* value
);
111 static void GL_BINDING_CALL
112 Mock_glClearBufferuiv(GLenum buffer
, GLint drawbuffer
, const GLuint
* value
);
113 static void GL_BINDING_CALL
114 Mock_glClearColor(GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
);
115 static void GL_BINDING_CALL
Mock_glClearDepth(GLclampd depth
);
116 static void GL_BINDING_CALL
Mock_glClearDepthf(GLclampf depth
);
117 static void GL_BINDING_CALL
Mock_glClearStencil(GLint s
);
118 static GLenum GL_BINDING_CALL
119 Mock_glClientWaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
);
120 static void GL_BINDING_CALL
Mock_glColorMask(GLboolean red
,
124 static void GL_BINDING_CALL
Mock_glCompileShader(GLuint shader
);
125 static void GL_BINDING_CALL
Mock_glCompressedTexImage2D(GLenum target
,
127 GLenum internalformat
,
133 static void GL_BINDING_CALL
Mock_glCompressedTexImage3D(GLenum target
,
135 GLenum internalformat
,
142 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage2D(GLenum target
,
151 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage3D(GLenum target
,
162 static void GL_BINDING_CALL
Mock_glCopyBufferSubData(GLenum readTarget
,
165 GLintptr writeOffset
,
167 static void GL_BINDING_CALL
Mock_glCopyTexImage2D(GLenum target
,
169 GLenum internalformat
,
175 static void GL_BINDING_CALL
Mock_glCopyTexSubImage2D(GLenum target
,
183 static void GL_BINDING_CALL
Mock_glCopyTexSubImage3D(GLenum target
,
192 static GLuint GL_BINDING_CALL
Mock_glCreateProgram(void);
193 static GLuint GL_BINDING_CALL
Mock_glCreateShader(GLenum type
);
194 static void GL_BINDING_CALL
Mock_glCullFace(GLenum mode
);
195 static void GL_BINDING_CALL
196 Mock_glDeleteBuffers(GLsizei n
, const GLuint
* buffers
);
197 static void GL_BINDING_CALL
198 Mock_glDeleteFencesAPPLE(GLsizei n
, const GLuint
* fences
);
199 static void GL_BINDING_CALL
200 Mock_glDeleteFencesNV(GLsizei n
, const GLuint
* fences
);
201 static void GL_BINDING_CALL
202 Mock_glDeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
);
203 static void GL_BINDING_CALL
204 Mock_glDeleteFramebuffersEXT(GLsizei n
, const GLuint
* framebuffers
);
205 static void GL_BINDING_CALL
Mock_glDeleteProgram(GLuint program
);
206 static void GL_BINDING_CALL
Mock_glDeleteQueries(GLsizei n
, const GLuint
* ids
);
207 static void GL_BINDING_CALL
208 Mock_glDeleteQueriesARB(GLsizei n
, const GLuint
* ids
);
209 static void GL_BINDING_CALL
210 Mock_glDeleteQueriesEXT(GLsizei n
, const GLuint
* ids
);
211 static void GL_BINDING_CALL
212 Mock_glDeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
);
213 static void GL_BINDING_CALL
214 Mock_glDeleteRenderbuffersEXT(GLsizei n
, const GLuint
* renderbuffers
);
215 static void GL_BINDING_CALL
216 Mock_glDeleteSamplers(GLsizei n
, const GLuint
* samplers
);
217 static void GL_BINDING_CALL
Mock_glDeleteShader(GLuint shader
);
218 static void GL_BINDING_CALL
Mock_glDeleteSync(GLsync sync
);
219 static void GL_BINDING_CALL
220 Mock_glDeleteTextures(GLsizei n
, const GLuint
* textures
);
221 static void GL_BINDING_CALL
222 Mock_glDeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
);
223 static void GL_BINDING_CALL
224 Mock_glDeleteVertexArrays(GLsizei n
, const GLuint
* arrays
);
225 static void GL_BINDING_CALL
226 Mock_glDeleteVertexArraysAPPLE(GLsizei n
, const GLuint
* arrays
);
227 static void GL_BINDING_CALL
228 Mock_glDeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
);
229 static void GL_BINDING_CALL
Mock_glDepthFunc(GLenum func
);
230 static void GL_BINDING_CALL
Mock_glDepthMask(GLboolean flag
);
231 static void GL_BINDING_CALL
Mock_glDepthRange(GLclampd zNear
, GLclampd zFar
);
232 static void GL_BINDING_CALL
Mock_glDepthRangef(GLclampf zNear
, GLclampf zFar
);
233 static void GL_BINDING_CALL
Mock_glDetachShader(GLuint program
, GLuint shader
);
234 static void GL_BINDING_CALL
Mock_glDisable(GLenum cap
);
235 static void GL_BINDING_CALL
Mock_glDisableVertexAttribArray(GLuint index
);
236 static void GL_BINDING_CALL
237 Mock_glDiscardFramebufferEXT(GLenum target
,
238 GLsizei numAttachments
,
239 const GLenum
* attachments
);
240 static void GL_BINDING_CALL
241 Mock_glDrawArrays(GLenum mode
, GLint first
, GLsizei count
);
242 static void GL_BINDING_CALL
Mock_glDrawArraysInstanced(GLenum mode
,
246 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedANGLE(GLenum mode
,
250 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedARB(GLenum mode
,
254 static void GL_BINDING_CALL
Mock_glDrawBuffer(GLenum mode
);
255 static void GL_BINDING_CALL
Mock_glDrawBuffers(GLsizei n
, const GLenum
* bufs
);
256 static void GL_BINDING_CALL
257 Mock_glDrawBuffersARB(GLsizei n
, const GLenum
* bufs
);
258 static void GL_BINDING_CALL
259 Mock_glDrawBuffersEXT(GLsizei n
, const GLenum
* bufs
);
260 static void GL_BINDING_CALL
Mock_glDrawElements(GLenum mode
,
263 const void* indices
);
264 static void GL_BINDING_CALL
Mock_glDrawElementsInstanced(GLenum mode
,
269 static void GL_BINDING_CALL
270 Mock_glDrawElementsInstancedANGLE(GLenum mode
,
275 static void GL_BINDING_CALL
Mock_glDrawElementsInstancedARB(GLenum mode
,
280 static void GL_BINDING_CALL
Mock_glDrawRangeElements(GLenum mode
,
285 const void* indices
);
286 static void GL_BINDING_CALL
287 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target
, GLeglImageOES image
);
288 static void GL_BINDING_CALL
289 Mock_glEGLImageTargetTexture2DOES(GLenum target
, GLeglImageOES image
);
290 static void GL_BINDING_CALL
Mock_glEnable(GLenum cap
);
291 static void GL_BINDING_CALL
Mock_glEnableVertexAttribArray(GLuint index
);
292 static void GL_BINDING_CALL
Mock_glEndQuery(GLenum target
);
293 static void GL_BINDING_CALL
Mock_glEndQueryARB(GLenum target
);
294 static void GL_BINDING_CALL
Mock_glEndQueryEXT(GLenum target
);
295 static void GL_BINDING_CALL
Mock_glEndTransformFeedback(void);
296 static GLsync GL_BINDING_CALL
297 Mock_glFenceSync(GLenum condition
, GLbitfield flags
);
298 static void GL_BINDING_CALL
Mock_glFinish(void);
299 static void GL_BINDING_CALL
Mock_glFinishFenceAPPLE(GLuint fence
);
300 static void GL_BINDING_CALL
Mock_glFinishFenceNV(GLuint fence
);
301 static void GL_BINDING_CALL
Mock_glFlush(void);
302 static void GL_BINDING_CALL
Mock_glFlushMappedBufferRange(GLenum target
,
305 static void GL_BINDING_CALL
306 Mock_glFramebufferRenderbuffer(GLenum target
,
308 GLenum renderbuffertarget
,
309 GLuint renderbuffer
);
310 static void GL_BINDING_CALL
311 Mock_glFramebufferRenderbufferEXT(GLenum target
,
313 GLenum renderbuffertarget
,
314 GLuint renderbuffer
);
315 static void GL_BINDING_CALL
Mock_glFramebufferTexture2D(GLenum target
,
320 static void GL_BINDING_CALL
Mock_glFramebufferTexture2DEXT(GLenum target
,
325 static void GL_BINDING_CALL
326 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
332 static void GL_BINDING_CALL
333 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
339 static void GL_BINDING_CALL
Mock_glFramebufferTextureLayer(GLenum target
,
344 static void GL_BINDING_CALL
Mock_glFrontFace(GLenum mode
);
345 static void GL_BINDING_CALL
Mock_glGenBuffers(GLsizei n
, GLuint
* buffers
);
346 static void GL_BINDING_CALL
Mock_glGenFencesAPPLE(GLsizei n
, GLuint
* fences
);
347 static void GL_BINDING_CALL
Mock_glGenFencesNV(GLsizei n
, GLuint
* fences
);
348 static void GL_BINDING_CALL
349 Mock_glGenFramebuffers(GLsizei n
, GLuint
* framebuffers
);
350 static void GL_BINDING_CALL
351 Mock_glGenFramebuffersEXT(GLsizei n
, GLuint
* framebuffers
);
352 static void GL_BINDING_CALL
Mock_glGenQueries(GLsizei n
, GLuint
* ids
);
353 static void GL_BINDING_CALL
Mock_glGenQueriesARB(GLsizei n
, GLuint
* ids
);
354 static void GL_BINDING_CALL
Mock_glGenQueriesEXT(GLsizei n
, GLuint
* ids
);
355 static void GL_BINDING_CALL
356 Mock_glGenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
);
357 static void GL_BINDING_CALL
358 Mock_glGenRenderbuffersEXT(GLsizei n
, GLuint
* renderbuffers
);
359 static void GL_BINDING_CALL
Mock_glGenSamplers(GLsizei n
, GLuint
* samplers
);
360 static void GL_BINDING_CALL
Mock_glGenTextures(GLsizei n
, GLuint
* textures
);
361 static void GL_BINDING_CALL
362 Mock_glGenTransformFeedbacks(GLsizei n
, GLuint
* ids
);
363 static void GL_BINDING_CALL
Mock_glGenVertexArrays(GLsizei n
, GLuint
* arrays
);
364 static void GL_BINDING_CALL
365 Mock_glGenVertexArraysAPPLE(GLsizei n
, GLuint
* arrays
);
366 static void GL_BINDING_CALL
367 Mock_glGenVertexArraysOES(GLsizei n
, GLuint
* arrays
);
368 static void GL_BINDING_CALL
Mock_glGenerateMipmap(GLenum target
);
369 static void GL_BINDING_CALL
Mock_glGenerateMipmapEXT(GLenum target
);
370 static void GL_BINDING_CALL
Mock_glGetActiveAttrib(GLuint program
,
377 static void GL_BINDING_CALL
Mock_glGetActiveUniform(GLuint program
,
384 static void GL_BINDING_CALL
385 Mock_glGetActiveUniformBlockName(GLuint program
,
386 GLuint uniformBlockIndex
,
389 char* uniformBlockName
);
390 static void GL_BINDING_CALL
391 Mock_glGetActiveUniformBlockiv(GLuint program
,
392 GLuint uniformBlockIndex
,
395 static void GL_BINDING_CALL
396 Mock_glGetActiveUniformsiv(GLuint program
,
397 GLsizei uniformCount
,
398 const GLuint
* uniformIndices
,
401 static void GL_BINDING_CALL
Mock_glGetAttachedShaders(GLuint program
,
405 static GLint GL_BINDING_CALL
406 Mock_glGetAttribLocation(GLuint program
, const char* name
);
407 static void GL_BINDING_CALL
Mock_glGetBooleanv(GLenum pname
, GLboolean
* params
);
408 static void GL_BINDING_CALL
409 Mock_glGetBufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
410 static GLenum GL_BINDING_CALL
Mock_glGetError(void);
411 static void GL_BINDING_CALL
412 Mock_glGetFenceivNV(GLuint fence
, GLenum pname
, GLint
* params
);
413 static void GL_BINDING_CALL
Mock_glGetFloatv(GLenum pname
, GLfloat
* params
);
414 static GLint GL_BINDING_CALL
415 Mock_glGetFragDataLocation(GLuint program
, const char* name
);
416 static void GL_BINDING_CALL
417 Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
421 static void GL_BINDING_CALL
422 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target
,
426 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatus(void);
427 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusARB(void);
428 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusEXT(void);
429 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusKHR(void);
430 static void GL_BINDING_CALL
431 Mock_glGetInteger64i_v(GLenum target
, GLuint index
, GLint64
* data
);
432 static void GL_BINDING_CALL
Mock_glGetInteger64v(GLenum pname
, GLint64
* params
);
433 static void GL_BINDING_CALL
434 Mock_glGetIntegeri_v(GLenum target
, GLuint index
, GLint
* data
);
435 static void GL_BINDING_CALL
Mock_glGetIntegerv(GLenum pname
, GLint
* params
);
436 static void GL_BINDING_CALL
Mock_glGetInternalformativ(GLenum target
,
437 GLenum internalformat
,
441 static void GL_BINDING_CALL
Mock_glGetProgramBinary(GLuint program
,
444 GLenum
* binaryFormat
,
446 static void GL_BINDING_CALL
Mock_glGetProgramBinaryOES(GLuint program
,
449 GLenum
* binaryFormat
,
451 static void GL_BINDING_CALL
Mock_glGetProgramInfoLog(GLuint program
,
455 static GLint GL_BINDING_CALL
456 Mock_glGetProgramResourceLocation(GLuint program
,
457 GLenum programInterface
,
459 static void GL_BINDING_CALL
460 Mock_glGetProgramiv(GLuint program
, GLenum pname
, GLint
* params
);
461 static void GL_BINDING_CALL
462 Mock_glGetQueryObjecti64v(GLuint id
, GLenum pname
, GLint64
* params
);
463 static void GL_BINDING_CALL
464 Mock_glGetQueryObjecti64vEXT(GLuint id
, GLenum pname
, GLint64
* params
);
465 static void GL_BINDING_CALL
466 Mock_glGetQueryObjectiv(GLuint id
, GLenum pname
, GLint
* params
);
467 static void GL_BINDING_CALL
468 Mock_glGetQueryObjectivARB(GLuint id
, GLenum pname
, GLint
* params
);
469 static void GL_BINDING_CALL
470 Mock_glGetQueryObjectivEXT(GLuint id
, GLenum pname
, GLint
* params
);
471 static void GL_BINDING_CALL
472 Mock_glGetQueryObjectui64v(GLuint id
, GLenum pname
, GLuint64
* params
);
473 static void GL_BINDING_CALL
474 Mock_glGetQueryObjectui64vEXT(GLuint id
, GLenum pname
, GLuint64
* params
);
475 static void GL_BINDING_CALL
476 Mock_glGetQueryObjectuiv(GLuint id
, GLenum pname
, GLuint
* params
);
477 static void GL_BINDING_CALL
478 Mock_glGetQueryObjectuivARB(GLuint id
, GLenum pname
, GLuint
* params
);
479 static void GL_BINDING_CALL
480 Mock_glGetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
);
481 static void GL_BINDING_CALL
482 Mock_glGetQueryiv(GLenum target
, GLenum pname
, GLint
* params
);
483 static void GL_BINDING_CALL
484 Mock_glGetQueryivARB(GLenum target
, GLenum pname
, GLint
* params
);
485 static void GL_BINDING_CALL
486 Mock_glGetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
);
487 static void GL_BINDING_CALL
488 Mock_glGetRenderbufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
489 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
492 static void GL_BINDING_CALL
493 Mock_glGetSamplerParameterfv(GLuint sampler
, GLenum pname
, GLfloat
* params
);
494 static void GL_BINDING_CALL
495 Mock_glGetSamplerParameteriv(GLuint sampler
, GLenum pname
, GLint
* params
);
496 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
500 static void GL_BINDING_CALL
501 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
502 GLenum precisiontype
,
505 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
509 static void GL_BINDING_CALL
510 Mock_glGetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
);
511 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
512 static const GLubyte
* GL_BINDING_CALL
513 Mock_glGetStringi(GLenum name
, GLuint index
);
514 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
519 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
523 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
527 static void GL_BINDING_CALL
528 Mock_glGetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
);
529 static void GL_BINDING_CALL
530 Mock_glGetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
531 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
538 static void GL_BINDING_CALL
539 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
543 static GLuint GL_BINDING_CALL
544 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
545 static void GL_BINDING_CALL
546 Mock_glGetUniformIndices(GLuint program
,
547 GLsizei uniformCount
,
548 const char* const* uniformNames
,
549 GLuint
* uniformIndices
);
550 static GLint GL_BINDING_CALL
551 Mock_glGetUniformLocation(GLuint program
, const char* name
);
552 static void GL_BINDING_CALL
553 Mock_glGetUniformfv(GLuint program
, GLint location
, GLfloat
* params
);
554 static void GL_BINDING_CALL
555 Mock_glGetUniformiv(GLuint program
, GLint location
, GLint
* params
);
556 static void GL_BINDING_CALL
557 Mock_glGetUniformuiv(GLuint program
, GLint location
, GLuint
* params
);
558 static void GL_BINDING_CALL
559 Mock_glGetVertexAttribPointerv(GLuint index
, GLenum pname
, void** pointer
);
560 static void GL_BINDING_CALL
561 Mock_glGetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
);
562 static void GL_BINDING_CALL
563 Mock_glGetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
);
564 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
565 static void GL_BINDING_CALL
566 Mock_glInsertEventMarkerEXT(GLsizei length
, const char* marker
);
567 static void GL_BINDING_CALL
568 Mock_glInvalidateFramebuffer(GLenum target
,
569 GLsizei numAttachments
,
570 const GLenum
* attachments
);
571 static void GL_BINDING_CALL
572 Mock_glInvalidateSubFramebuffer(GLenum target
,
573 GLsizei numAttachments
,
574 const GLenum
* attachments
,
579 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
580 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
581 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
582 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
583 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
584 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
585 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
586 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
587 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
588 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
589 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
590 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
591 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
592 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
593 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
594 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
595 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
596 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
597 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
598 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
599 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
600 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
601 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
602 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
603 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
607 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
611 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
612 static void GL_BINDING_CALL
613 Mock_glMatrixLoadfEXT(GLenum matrixMode
, const GLfloat
* m
);
614 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
615 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
616 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
617 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
618 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
619 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
621 const GLvoid
* binary
,
623 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
625 const GLvoid
* binary
,
627 static void GL_BINDING_CALL
628 Mock_glProgramParameteri(GLuint program
, GLenum pname
, GLint value
);
629 static void GL_BINDING_CALL
630 Mock_glPushGroupMarkerEXT(GLsizei length
, const char* marker
);
631 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
632 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
633 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
634 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
641 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
642 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
643 GLenum internalformat
,
646 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
647 GLenum internalformat
,
650 static void GL_BINDING_CALL
651 Mock_glRenderbufferStorageMultisample(GLenum target
,
653 GLenum internalformat
,
656 static void GL_BINDING_CALL
657 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
659 GLenum internalformat
,
662 static void GL_BINDING_CALL
663 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
665 GLenum internalformat
,
668 static void GL_BINDING_CALL
669 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
671 GLenum internalformat
,
674 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
675 static void GL_BINDING_CALL
676 Mock_glSampleCoverage(GLclampf value
, GLboolean invert
);
677 static void GL_BINDING_CALL
678 Mock_glSamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
);
679 static void GL_BINDING_CALL
680 Mock_glSamplerParameterfv(GLuint sampler
, GLenum pname
, const GLfloat
* params
);
681 static void GL_BINDING_CALL
682 Mock_glSamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
);
683 static void GL_BINDING_CALL
684 Mock_glSamplerParameteriv(GLuint sampler
, GLenum pname
, const GLint
* params
);
685 static void GL_BINDING_CALL
686 Mock_glScissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
687 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
688 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
689 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
690 const GLuint
* shaders
,
694 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
696 const char* const* str
,
697 const GLint
* length
);
698 static void GL_BINDING_CALL
699 Mock_glStencilFunc(GLenum func
, GLint ref
, GLuint mask
);
700 static void GL_BINDING_CALL
701 Mock_glStencilFuncSeparate(GLenum face
, GLenum func
, GLint ref
, GLuint mask
);
702 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
703 static void GL_BINDING_CALL
704 Mock_glStencilMaskSeparate(GLenum face
, GLuint mask
);
705 static void GL_BINDING_CALL
706 Mock_glStencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
);
707 static void GL_BINDING_CALL
708 Mock_glStencilOpSeparate(GLenum face
, GLenum fail
, GLenum zfail
, GLenum zpass
);
709 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
710 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
711 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
713 GLint internalformat
,
720 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
722 GLint internalformat
,
730 static void GL_BINDING_CALL
731 Mock_glTexParameterf(GLenum target
, GLenum pname
, GLfloat param
);
732 static void GL_BINDING_CALL
733 Mock_glTexParameterfv(GLenum target
, GLenum pname
, const GLfloat
* params
);
734 static void GL_BINDING_CALL
735 Mock_glTexParameteri(GLenum target
, GLenum pname
, GLint param
);
736 static void GL_BINDING_CALL
737 Mock_glTexParameteriv(GLenum target
, GLenum pname
, const GLint
* params
);
738 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
740 GLenum internalformat
,
743 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
745 GLenum internalformat
,
748 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
750 GLenum internalformat
,
754 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
763 static void GL_BINDING_CALL
Mock_glTexSubImage3D(GLenum target
,
774 static void GL_BINDING_CALL
775 Mock_glTransformFeedbackVaryings(GLuint program
,
777 const char* const* varyings
,
779 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
780 static void GL_BINDING_CALL
781 Mock_glUniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
);
782 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
783 static void GL_BINDING_CALL
784 Mock_glUniform1iv(GLint location
, GLsizei count
, const GLint
* v
);
785 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
786 static void GL_BINDING_CALL
787 Mock_glUniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
);
788 static void GL_BINDING_CALL
789 Mock_glUniform2f(GLint location
, GLfloat x
, GLfloat y
);
790 static void GL_BINDING_CALL
791 Mock_glUniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
);
792 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
793 static void GL_BINDING_CALL
794 Mock_glUniform2iv(GLint location
, GLsizei count
, const GLint
* v
);
795 static void GL_BINDING_CALL
796 Mock_glUniform2ui(GLint location
, GLuint v0
, GLuint v1
);
797 static void GL_BINDING_CALL
798 Mock_glUniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
);
799 static void GL_BINDING_CALL
800 Mock_glUniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
);
801 static void GL_BINDING_CALL
802 Mock_glUniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
);
803 static void GL_BINDING_CALL
804 Mock_glUniform3i(GLint location
, GLint x
, GLint y
, GLint z
);
805 static void GL_BINDING_CALL
806 Mock_glUniform3iv(GLint location
, GLsizei count
, const GLint
* v
);
807 static void GL_BINDING_CALL
808 Mock_glUniform3ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
);
809 static void GL_BINDING_CALL
810 Mock_glUniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
);
811 static void GL_BINDING_CALL
812 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
813 static void GL_BINDING_CALL
814 Mock_glUniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
);
815 static void GL_BINDING_CALL
816 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
817 static void GL_BINDING_CALL
818 Mock_glUniform4iv(GLint location
, GLsizei count
, const GLint
* v
);
819 static void GL_BINDING_CALL
820 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
821 static void GL_BINDING_CALL
822 Mock_glUniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
);
823 static void GL_BINDING_CALL
824 Mock_glUniformBlockBinding(GLuint program
,
825 GLuint uniformBlockIndex
,
826 GLuint uniformBlockBinding
);
827 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
830 const GLfloat
* value
);
831 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
834 const GLfloat
* value
);
835 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
838 const GLfloat
* value
);
839 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
842 const GLfloat
* value
);
843 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
846 const GLfloat
* value
);
847 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
850 const GLfloat
* value
);
851 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
854 const GLfloat
* value
);
855 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
858 const GLfloat
* value
);
859 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
862 const GLfloat
* value
);
863 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
864 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
865 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
866 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
867 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
868 static void GL_BINDING_CALL
869 Mock_glVertexAttrib1fv(GLuint indx
, const GLfloat
* values
);
870 static void GL_BINDING_CALL
871 Mock_glVertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
);
872 static void GL_BINDING_CALL
873 Mock_glVertexAttrib2fv(GLuint indx
, const GLfloat
* values
);
874 static void GL_BINDING_CALL
875 Mock_glVertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
);
876 static void GL_BINDING_CALL
877 Mock_glVertexAttrib3fv(GLuint indx
, const GLfloat
* values
);
878 static void GL_BINDING_CALL
879 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
880 static void GL_BINDING_CALL
881 Mock_glVertexAttrib4fv(GLuint indx
, const GLfloat
* values
);
882 static void GL_BINDING_CALL
883 Mock_glVertexAttribDivisor(GLuint index
, GLuint divisor
);
884 static void GL_BINDING_CALL
885 Mock_glVertexAttribDivisorANGLE(GLuint index
, GLuint divisor
);
886 static void GL_BINDING_CALL
887 Mock_glVertexAttribDivisorARB(GLuint index
, GLuint divisor
);
888 static void GL_BINDING_CALL
889 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
890 static void GL_BINDING_CALL
891 Mock_glVertexAttribI4iv(GLuint indx
, const GLint
* values
);
892 static void GL_BINDING_CALL
893 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
894 static void GL_BINDING_CALL
895 Mock_glVertexAttribI4uiv(GLuint indx
, const GLuint
* values
);
896 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
901 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
904 GLboolean normalized
,
907 static void GL_BINDING_CALL
908 Mock_glViewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
909 static GLenum GL_BINDING_CALL
910 Mock_glWaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
);