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 void GL_BINDING_CALL
193 Mock_glCoverFillPathNV(GLuint path
, GLenum coverMode
);
194 static void GL_BINDING_CALL
195 Mock_glCoverStrokePathNV(GLuint name
, GLenum coverMode
);
196 static GLuint GL_BINDING_CALL
Mock_glCreateProgram(void);
197 static GLuint GL_BINDING_CALL
Mock_glCreateShader(GLenum type
);
198 static void GL_BINDING_CALL
Mock_glCullFace(GLenum mode
);
199 static void GL_BINDING_CALL
200 Mock_glDeleteBuffers(GLsizei n
, const GLuint
* buffers
);
201 static void GL_BINDING_CALL
202 Mock_glDeleteFencesAPPLE(GLsizei n
, const GLuint
* fences
);
203 static void GL_BINDING_CALL
204 Mock_glDeleteFencesNV(GLsizei n
, const GLuint
* fences
);
205 static void GL_BINDING_CALL
206 Mock_glDeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
);
207 static void GL_BINDING_CALL
208 Mock_glDeleteFramebuffersEXT(GLsizei n
, const GLuint
* framebuffers
);
209 static void GL_BINDING_CALL
Mock_glDeletePathsNV(GLuint path
, GLsizei range
);
210 static void GL_BINDING_CALL
Mock_glDeleteProgram(GLuint program
);
211 static void GL_BINDING_CALL
Mock_glDeleteQueries(GLsizei n
, const GLuint
* ids
);
212 static void GL_BINDING_CALL
213 Mock_glDeleteQueriesARB(GLsizei n
, const GLuint
* ids
);
214 static void GL_BINDING_CALL
215 Mock_glDeleteQueriesEXT(GLsizei n
, const GLuint
* ids
);
216 static void GL_BINDING_CALL
217 Mock_glDeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
);
218 static void GL_BINDING_CALL
219 Mock_glDeleteRenderbuffersEXT(GLsizei n
, const GLuint
* renderbuffers
);
220 static void GL_BINDING_CALL
221 Mock_glDeleteSamplers(GLsizei n
, const GLuint
* samplers
);
222 static void GL_BINDING_CALL
Mock_glDeleteShader(GLuint shader
);
223 static void GL_BINDING_CALL
Mock_glDeleteSync(GLsync sync
);
224 static void GL_BINDING_CALL
225 Mock_glDeleteTextures(GLsizei n
, const GLuint
* textures
);
226 static void GL_BINDING_CALL
227 Mock_glDeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
);
228 static void GL_BINDING_CALL
229 Mock_glDeleteVertexArrays(GLsizei n
, const GLuint
* arrays
);
230 static void GL_BINDING_CALL
231 Mock_glDeleteVertexArraysAPPLE(GLsizei n
, const GLuint
* arrays
);
232 static void GL_BINDING_CALL
233 Mock_glDeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
);
234 static void GL_BINDING_CALL
Mock_glDepthFunc(GLenum func
);
235 static void GL_BINDING_CALL
Mock_glDepthMask(GLboolean flag
);
236 static void GL_BINDING_CALL
Mock_glDepthRange(GLclampd zNear
, GLclampd zFar
);
237 static void GL_BINDING_CALL
Mock_glDepthRangef(GLclampf zNear
, GLclampf zFar
);
238 static void GL_BINDING_CALL
Mock_glDetachShader(GLuint program
, GLuint shader
);
239 static void GL_BINDING_CALL
Mock_glDisable(GLenum cap
);
240 static void GL_BINDING_CALL
Mock_glDisableVertexAttribArray(GLuint index
);
241 static void GL_BINDING_CALL
242 Mock_glDiscardFramebufferEXT(GLenum target
,
243 GLsizei numAttachments
,
244 const GLenum
* attachments
);
245 static void GL_BINDING_CALL
246 Mock_glDrawArrays(GLenum mode
, GLint first
, GLsizei count
);
247 static void GL_BINDING_CALL
Mock_glDrawArraysInstanced(GLenum mode
,
251 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedANGLE(GLenum mode
,
255 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedARB(GLenum mode
,
259 static void GL_BINDING_CALL
Mock_glDrawBuffer(GLenum mode
);
260 static void GL_BINDING_CALL
Mock_glDrawBuffers(GLsizei n
, const GLenum
* bufs
);
261 static void GL_BINDING_CALL
262 Mock_glDrawBuffersARB(GLsizei n
, const GLenum
* bufs
);
263 static void GL_BINDING_CALL
264 Mock_glDrawBuffersEXT(GLsizei n
, const GLenum
* bufs
);
265 static void GL_BINDING_CALL
Mock_glDrawElements(GLenum mode
,
268 const void* indices
);
269 static void GL_BINDING_CALL
Mock_glDrawElementsInstanced(GLenum mode
,
274 static void GL_BINDING_CALL
275 Mock_glDrawElementsInstancedANGLE(GLenum mode
,
280 static void GL_BINDING_CALL
Mock_glDrawElementsInstancedARB(GLenum mode
,
285 static void GL_BINDING_CALL
Mock_glDrawRangeElements(GLenum mode
,
290 const void* indices
);
291 static void GL_BINDING_CALL
292 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target
, GLeglImageOES image
);
293 static void GL_BINDING_CALL
294 Mock_glEGLImageTargetTexture2DOES(GLenum target
, GLeglImageOES image
);
295 static void GL_BINDING_CALL
Mock_glEnable(GLenum cap
);
296 static void GL_BINDING_CALL
Mock_glEnableVertexAttribArray(GLuint index
);
297 static void GL_BINDING_CALL
Mock_glEndQuery(GLenum target
);
298 static void GL_BINDING_CALL
Mock_glEndQueryARB(GLenum target
);
299 static void GL_BINDING_CALL
Mock_glEndQueryEXT(GLenum target
);
300 static void GL_BINDING_CALL
Mock_glEndTransformFeedback(void);
301 static GLsync GL_BINDING_CALL
302 Mock_glFenceSync(GLenum condition
, GLbitfield flags
);
303 static void GL_BINDING_CALL
Mock_glFinish(void);
304 static void GL_BINDING_CALL
Mock_glFinishFenceAPPLE(GLuint fence
);
305 static void GL_BINDING_CALL
Mock_glFinishFenceNV(GLuint fence
);
306 static void GL_BINDING_CALL
Mock_glFlush(void);
307 static void GL_BINDING_CALL
Mock_glFlushMappedBufferRange(GLenum target
,
310 static void GL_BINDING_CALL
311 Mock_glFramebufferRenderbuffer(GLenum target
,
313 GLenum renderbuffertarget
,
314 GLuint renderbuffer
);
315 static void GL_BINDING_CALL
316 Mock_glFramebufferRenderbufferEXT(GLenum target
,
318 GLenum renderbuffertarget
,
319 GLuint renderbuffer
);
320 static void GL_BINDING_CALL
Mock_glFramebufferTexture2D(GLenum target
,
325 static void GL_BINDING_CALL
Mock_glFramebufferTexture2DEXT(GLenum target
,
330 static void GL_BINDING_CALL
331 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
337 static void GL_BINDING_CALL
338 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
344 static void GL_BINDING_CALL
Mock_glFramebufferTextureLayer(GLenum target
,
349 static void GL_BINDING_CALL
Mock_glFrontFace(GLenum mode
);
350 static void GL_BINDING_CALL
Mock_glGenBuffers(GLsizei n
, GLuint
* buffers
);
351 static void GL_BINDING_CALL
Mock_glGenFencesAPPLE(GLsizei n
, GLuint
* fences
);
352 static void GL_BINDING_CALL
Mock_glGenFencesNV(GLsizei n
, GLuint
* fences
);
353 static void GL_BINDING_CALL
354 Mock_glGenFramebuffers(GLsizei n
, GLuint
* framebuffers
);
355 static void GL_BINDING_CALL
356 Mock_glGenFramebuffersEXT(GLsizei n
, GLuint
* framebuffers
);
357 static GLuint GL_BINDING_CALL
Mock_glGenPathsNV(GLsizei range
);
358 static void GL_BINDING_CALL
Mock_glGenQueries(GLsizei n
, GLuint
* ids
);
359 static void GL_BINDING_CALL
Mock_glGenQueriesARB(GLsizei n
, GLuint
* ids
);
360 static void GL_BINDING_CALL
Mock_glGenQueriesEXT(GLsizei n
, GLuint
* ids
);
361 static void GL_BINDING_CALL
362 Mock_glGenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
);
363 static void GL_BINDING_CALL
364 Mock_glGenRenderbuffersEXT(GLsizei n
, GLuint
* renderbuffers
);
365 static void GL_BINDING_CALL
Mock_glGenSamplers(GLsizei n
, GLuint
* samplers
);
366 static void GL_BINDING_CALL
Mock_glGenTextures(GLsizei n
, GLuint
* textures
);
367 static void GL_BINDING_CALL
368 Mock_glGenTransformFeedbacks(GLsizei n
, GLuint
* ids
);
369 static void GL_BINDING_CALL
Mock_glGenVertexArrays(GLsizei n
, GLuint
* arrays
);
370 static void GL_BINDING_CALL
371 Mock_glGenVertexArraysAPPLE(GLsizei n
, GLuint
* arrays
);
372 static void GL_BINDING_CALL
373 Mock_glGenVertexArraysOES(GLsizei n
, GLuint
* arrays
);
374 static void GL_BINDING_CALL
Mock_glGenerateMipmap(GLenum target
);
375 static void GL_BINDING_CALL
Mock_glGenerateMipmapEXT(GLenum target
);
376 static void GL_BINDING_CALL
Mock_glGetActiveAttrib(GLuint program
,
383 static void GL_BINDING_CALL
Mock_glGetActiveUniform(GLuint program
,
390 static void GL_BINDING_CALL
391 Mock_glGetActiveUniformBlockName(GLuint program
,
392 GLuint uniformBlockIndex
,
395 char* uniformBlockName
);
396 static void GL_BINDING_CALL
397 Mock_glGetActiveUniformBlockiv(GLuint program
,
398 GLuint uniformBlockIndex
,
401 static void GL_BINDING_CALL
402 Mock_glGetActiveUniformsiv(GLuint program
,
403 GLsizei uniformCount
,
404 const GLuint
* uniformIndices
,
407 static void GL_BINDING_CALL
Mock_glGetAttachedShaders(GLuint program
,
411 static GLint GL_BINDING_CALL
412 Mock_glGetAttribLocation(GLuint program
, const char* name
);
413 static void GL_BINDING_CALL
Mock_glGetBooleanv(GLenum pname
, GLboolean
* params
);
414 static void GL_BINDING_CALL
415 Mock_glGetBufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
416 static GLenum GL_BINDING_CALL
Mock_glGetError(void);
417 static void GL_BINDING_CALL
418 Mock_glGetFenceivNV(GLuint fence
, GLenum pname
, GLint
* params
);
419 static void GL_BINDING_CALL
Mock_glGetFloatv(GLenum pname
, GLfloat
* params
);
420 static GLint GL_BINDING_CALL
421 Mock_glGetFragDataLocation(GLuint program
, const char* name
);
422 static void GL_BINDING_CALL
423 Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
427 static void GL_BINDING_CALL
428 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target
,
432 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatus(void);
433 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusARB(void);
434 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusEXT(void);
435 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusKHR(void);
436 static void GL_BINDING_CALL
437 Mock_glGetInteger64i_v(GLenum target
, GLuint index
, GLint64
* data
);
438 static void GL_BINDING_CALL
Mock_glGetInteger64v(GLenum pname
, GLint64
* params
);
439 static void GL_BINDING_CALL
440 Mock_glGetIntegeri_v(GLenum target
, GLuint index
, GLint
* data
);
441 static void GL_BINDING_CALL
Mock_glGetIntegerv(GLenum pname
, GLint
* params
);
442 static void GL_BINDING_CALL
Mock_glGetInternalformativ(GLenum target
,
443 GLenum internalformat
,
447 static void GL_BINDING_CALL
Mock_glGetProgramBinary(GLuint program
,
450 GLenum
* binaryFormat
,
452 static void GL_BINDING_CALL
Mock_glGetProgramBinaryOES(GLuint program
,
455 GLenum
* binaryFormat
,
457 static void GL_BINDING_CALL
Mock_glGetProgramInfoLog(GLuint program
,
461 static GLint GL_BINDING_CALL
462 Mock_glGetProgramResourceLocation(GLuint program
,
463 GLenum programInterface
,
465 static void GL_BINDING_CALL
466 Mock_glGetProgramiv(GLuint program
, GLenum pname
, GLint
* params
);
467 static void GL_BINDING_CALL
468 Mock_glGetQueryObjecti64v(GLuint id
, GLenum pname
, GLint64
* params
);
469 static void GL_BINDING_CALL
470 Mock_glGetQueryObjecti64vEXT(GLuint id
, GLenum pname
, GLint64
* params
);
471 static void GL_BINDING_CALL
472 Mock_glGetQueryObjectiv(GLuint id
, GLenum pname
, GLint
* params
);
473 static void GL_BINDING_CALL
474 Mock_glGetQueryObjectivARB(GLuint id
, GLenum pname
, GLint
* params
);
475 static void GL_BINDING_CALL
476 Mock_glGetQueryObjectivEXT(GLuint id
, GLenum pname
, GLint
* params
);
477 static void GL_BINDING_CALL
478 Mock_glGetQueryObjectui64v(GLuint id
, GLenum pname
, GLuint64
* params
);
479 static void GL_BINDING_CALL
480 Mock_glGetQueryObjectui64vEXT(GLuint id
, GLenum pname
, GLuint64
* params
);
481 static void GL_BINDING_CALL
482 Mock_glGetQueryObjectuiv(GLuint id
, GLenum pname
, GLuint
* params
);
483 static void GL_BINDING_CALL
484 Mock_glGetQueryObjectuivARB(GLuint id
, GLenum pname
, GLuint
* params
);
485 static void GL_BINDING_CALL
486 Mock_glGetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
);
487 static void GL_BINDING_CALL
488 Mock_glGetQueryiv(GLenum target
, GLenum pname
, GLint
* params
);
489 static void GL_BINDING_CALL
490 Mock_glGetQueryivARB(GLenum target
, GLenum pname
, GLint
* params
);
491 static void GL_BINDING_CALL
492 Mock_glGetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
);
493 static void GL_BINDING_CALL
494 Mock_glGetRenderbufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
495 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
498 static void GL_BINDING_CALL
499 Mock_glGetSamplerParameterfv(GLuint sampler
, GLenum pname
, GLfloat
* params
);
500 static void GL_BINDING_CALL
501 Mock_glGetSamplerParameteriv(GLuint sampler
, GLenum pname
, GLint
* params
);
502 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
506 static void GL_BINDING_CALL
507 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
508 GLenum precisiontype
,
511 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
515 static void GL_BINDING_CALL
516 Mock_glGetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
);
517 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
518 static const GLubyte
* GL_BINDING_CALL
519 Mock_glGetStringi(GLenum name
, GLuint index
);
520 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
525 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
529 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
533 static void GL_BINDING_CALL
534 Mock_glGetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
);
535 static void GL_BINDING_CALL
536 Mock_glGetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
537 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
544 static void GL_BINDING_CALL
545 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
549 static GLuint GL_BINDING_CALL
550 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
551 static void GL_BINDING_CALL
552 Mock_glGetUniformIndices(GLuint program
,
553 GLsizei uniformCount
,
554 const char* const* uniformNames
,
555 GLuint
* uniformIndices
);
556 static GLint GL_BINDING_CALL
557 Mock_glGetUniformLocation(GLuint program
, const char* name
);
558 static void GL_BINDING_CALL
559 Mock_glGetUniformfv(GLuint program
, GLint location
, GLfloat
* params
);
560 static void GL_BINDING_CALL
561 Mock_glGetUniformiv(GLuint program
, GLint location
, GLint
* params
);
562 static void GL_BINDING_CALL
563 Mock_glGetUniformuiv(GLuint program
, GLint location
, GLuint
* params
);
564 static void GL_BINDING_CALL
565 Mock_glGetVertexAttribPointerv(GLuint index
, GLenum pname
, void** pointer
);
566 static void GL_BINDING_CALL
567 Mock_glGetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
);
568 static void GL_BINDING_CALL
569 Mock_glGetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
);
570 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
571 static void GL_BINDING_CALL
572 Mock_glInsertEventMarkerEXT(GLsizei length
, const char* marker
);
573 static void GL_BINDING_CALL
574 Mock_glInvalidateFramebuffer(GLenum target
,
575 GLsizei numAttachments
,
576 const GLenum
* attachments
);
577 static void GL_BINDING_CALL
578 Mock_glInvalidateSubFramebuffer(GLenum target
,
579 GLsizei numAttachments
,
580 const GLenum
* attachments
,
585 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
586 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
587 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
588 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
589 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
590 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
591 static GLboolean GL_BINDING_CALL
Mock_glIsPathNV(GLuint path
);
592 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
593 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
594 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
595 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
596 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
597 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
598 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
599 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
600 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
601 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
602 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
603 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
604 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
605 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
606 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
607 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
608 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
609 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
610 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
614 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
618 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
619 static void GL_BINDING_CALL
620 Mock_glMatrixLoadfEXT(GLenum matrixMode
, const GLfloat
* m
);
621 static void GL_BINDING_CALL
Mock_glPathCommandsNV(GLuint path
,
623 const GLubyte
* commands
,
626 const GLvoid
* coords
);
627 static void GL_BINDING_CALL
628 Mock_glPathParameterfNV(GLuint path
, GLenum pname
, GLfloat value
);
629 static void GL_BINDING_CALL
630 Mock_glPathParameteriNV(GLuint path
, GLenum pname
, GLint value
);
631 static void GL_BINDING_CALL
632 Mock_glPathStencilFuncNV(GLenum func
, GLint ref
, GLuint mask
);
633 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
634 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
635 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
636 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
637 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
638 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
640 const GLvoid
* binary
,
642 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
644 const GLvoid
* binary
,
646 static void GL_BINDING_CALL
647 Mock_glProgramParameteri(GLuint program
, GLenum pname
, GLint value
);
648 static void GL_BINDING_CALL
649 Mock_glPushGroupMarkerEXT(GLsizei length
, const char* marker
);
650 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
651 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
652 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
653 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
660 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
661 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
662 GLenum internalformat
,
665 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
666 GLenum internalformat
,
669 static void GL_BINDING_CALL
670 Mock_glRenderbufferStorageMultisample(GLenum target
,
672 GLenum internalformat
,
675 static void GL_BINDING_CALL
676 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
678 GLenum internalformat
,
681 static void GL_BINDING_CALL
682 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
684 GLenum internalformat
,
687 static void GL_BINDING_CALL
688 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
690 GLenum internalformat
,
693 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
694 static void GL_BINDING_CALL
695 Mock_glSampleCoverage(GLclampf value
, GLboolean invert
);
696 static void GL_BINDING_CALL
697 Mock_glSamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
);
698 static void GL_BINDING_CALL
699 Mock_glSamplerParameterfv(GLuint sampler
, GLenum pname
, const GLfloat
* params
);
700 static void GL_BINDING_CALL
701 Mock_glSamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
);
702 static void GL_BINDING_CALL
703 Mock_glSamplerParameteriv(GLuint sampler
, GLenum pname
, const GLint
* params
);
704 static void GL_BINDING_CALL
705 Mock_glScissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
706 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
707 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
708 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
709 const GLuint
* shaders
,
713 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
715 const char* const* str
,
716 const GLint
* length
);
717 static void GL_BINDING_CALL
718 Mock_glStencilFillPathNV(GLuint path
, GLenum fillMode
, GLuint mask
);
719 static void GL_BINDING_CALL
720 Mock_glStencilFunc(GLenum func
, GLint ref
, GLuint mask
);
721 static void GL_BINDING_CALL
722 Mock_glStencilFuncSeparate(GLenum face
, GLenum func
, GLint ref
, GLuint mask
);
723 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
724 static void GL_BINDING_CALL
725 Mock_glStencilMaskSeparate(GLenum face
, GLuint mask
);
726 static void GL_BINDING_CALL
727 Mock_glStencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
);
728 static void GL_BINDING_CALL
729 Mock_glStencilOpSeparate(GLenum face
, GLenum fail
, GLenum zfail
, GLenum zpass
);
730 static void GL_BINDING_CALL
731 Mock_glStencilStrokePathNV(GLuint path
, GLint reference
, GLuint mask
);
732 static void GL_BINDING_CALL
Mock_glStencilThenCoverFillPathNV(GLuint path
,
736 static void GL_BINDING_CALL
737 Mock_glStencilThenCoverStrokePathNV(GLuint path
,
741 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
742 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
743 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
745 GLint internalformat
,
752 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
754 GLint internalformat
,
762 static void GL_BINDING_CALL
763 Mock_glTexParameterf(GLenum target
, GLenum pname
, GLfloat param
);
764 static void GL_BINDING_CALL
765 Mock_glTexParameterfv(GLenum target
, GLenum pname
, const GLfloat
* params
);
766 static void GL_BINDING_CALL
767 Mock_glTexParameteri(GLenum target
, GLenum pname
, GLint param
);
768 static void GL_BINDING_CALL
769 Mock_glTexParameteriv(GLenum target
, GLenum pname
, const GLint
* params
);
770 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
772 GLenum internalformat
,
775 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
777 GLenum internalformat
,
780 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
782 GLenum internalformat
,
786 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
795 static void GL_BINDING_CALL
Mock_glTexSubImage3D(GLenum target
,
806 static void GL_BINDING_CALL
807 Mock_glTransformFeedbackVaryings(GLuint program
,
809 const char* const* varyings
,
811 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
812 static void GL_BINDING_CALL
813 Mock_glUniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
);
814 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
815 static void GL_BINDING_CALL
816 Mock_glUniform1iv(GLint location
, GLsizei count
, const GLint
* v
);
817 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
818 static void GL_BINDING_CALL
819 Mock_glUniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
);
820 static void GL_BINDING_CALL
821 Mock_glUniform2f(GLint location
, GLfloat x
, GLfloat y
);
822 static void GL_BINDING_CALL
823 Mock_glUniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
);
824 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
825 static void GL_BINDING_CALL
826 Mock_glUniform2iv(GLint location
, GLsizei count
, const GLint
* v
);
827 static void GL_BINDING_CALL
828 Mock_glUniform2ui(GLint location
, GLuint v0
, GLuint v1
);
829 static void GL_BINDING_CALL
830 Mock_glUniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
);
831 static void GL_BINDING_CALL
832 Mock_glUniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
);
833 static void GL_BINDING_CALL
834 Mock_glUniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
);
835 static void GL_BINDING_CALL
836 Mock_glUniform3i(GLint location
, GLint x
, GLint y
, GLint z
);
837 static void GL_BINDING_CALL
838 Mock_glUniform3iv(GLint location
, GLsizei count
, const GLint
* v
);
839 static void GL_BINDING_CALL
840 Mock_glUniform3ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
);
841 static void GL_BINDING_CALL
842 Mock_glUniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
);
843 static void GL_BINDING_CALL
844 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
845 static void GL_BINDING_CALL
846 Mock_glUniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
);
847 static void GL_BINDING_CALL
848 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
849 static void GL_BINDING_CALL
850 Mock_glUniform4iv(GLint location
, GLsizei count
, const GLint
* v
);
851 static void GL_BINDING_CALL
852 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
853 static void GL_BINDING_CALL
854 Mock_glUniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
);
855 static void GL_BINDING_CALL
856 Mock_glUniformBlockBinding(GLuint program
,
857 GLuint uniformBlockIndex
,
858 GLuint uniformBlockBinding
);
859 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
862 const GLfloat
* value
);
863 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
866 const GLfloat
* value
);
867 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
870 const GLfloat
* value
);
871 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
874 const GLfloat
* value
);
875 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
878 const GLfloat
* value
);
879 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
882 const GLfloat
* value
);
883 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
886 const GLfloat
* value
);
887 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
890 const GLfloat
* value
);
891 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
894 const GLfloat
* value
);
895 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
896 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
897 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
898 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
899 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
900 static void GL_BINDING_CALL
901 Mock_glVertexAttrib1fv(GLuint indx
, const GLfloat
* values
);
902 static void GL_BINDING_CALL
903 Mock_glVertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
);
904 static void GL_BINDING_CALL
905 Mock_glVertexAttrib2fv(GLuint indx
, const GLfloat
* values
);
906 static void GL_BINDING_CALL
907 Mock_glVertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
);
908 static void GL_BINDING_CALL
909 Mock_glVertexAttrib3fv(GLuint indx
, const GLfloat
* values
);
910 static void GL_BINDING_CALL
911 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
912 static void GL_BINDING_CALL
913 Mock_glVertexAttrib4fv(GLuint indx
, const GLfloat
* values
);
914 static void GL_BINDING_CALL
915 Mock_glVertexAttribDivisor(GLuint index
, GLuint divisor
);
916 static void GL_BINDING_CALL
917 Mock_glVertexAttribDivisorANGLE(GLuint index
, GLuint divisor
);
918 static void GL_BINDING_CALL
919 Mock_glVertexAttribDivisorARB(GLuint index
, GLuint divisor
);
920 static void GL_BINDING_CALL
921 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
922 static void GL_BINDING_CALL
923 Mock_glVertexAttribI4iv(GLuint indx
, const GLint
* values
);
924 static void GL_BINDING_CALL
925 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
926 static void GL_BINDING_CALL
927 Mock_glVertexAttribI4uiv(GLuint indx
, const GLuint
* values
);
928 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
933 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
936 GLboolean normalized
,
939 static void GL_BINDING_CALL
940 Mock_glViewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
941 static GLenum GL_BINDING_CALL
942 Mock_glWaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
);