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_glCopyBufferSubData(GLenum readTarget
,
154 GLintptr writeOffset
,
156 static void GL_BINDING_CALL
Mock_glCopyTexImage2D(GLenum target
,
158 GLenum internalformat
,
164 static void GL_BINDING_CALL
Mock_glCopyTexSubImage2D(GLenum target
,
172 static void GL_BINDING_CALL
Mock_glCopyTexSubImage3D(GLenum target
,
181 static GLuint GL_BINDING_CALL
Mock_glCreateProgram(void);
182 static GLuint GL_BINDING_CALL
Mock_glCreateShader(GLenum type
);
183 static void GL_BINDING_CALL
Mock_glCullFace(GLenum mode
);
184 static void GL_BINDING_CALL
185 Mock_glDeleteBuffers(GLsizei n
, const GLuint
* buffers
);
186 static void GL_BINDING_CALL
187 Mock_glDeleteFencesAPPLE(GLsizei n
, const GLuint
* fences
);
188 static void GL_BINDING_CALL
189 Mock_glDeleteFencesNV(GLsizei n
, const GLuint
* fences
);
190 static void GL_BINDING_CALL
191 Mock_glDeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
);
192 static void GL_BINDING_CALL
193 Mock_glDeleteFramebuffersEXT(GLsizei n
, const GLuint
* framebuffers
);
194 static void GL_BINDING_CALL
Mock_glDeleteProgram(GLuint program
);
195 static void GL_BINDING_CALL
Mock_glDeleteQueries(GLsizei n
, const GLuint
* ids
);
196 static void GL_BINDING_CALL
197 Mock_glDeleteQueriesARB(GLsizei n
, const GLuint
* ids
);
198 static void GL_BINDING_CALL
199 Mock_glDeleteQueriesEXT(GLsizei n
, const GLuint
* ids
);
200 static void GL_BINDING_CALL
201 Mock_glDeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
);
202 static void GL_BINDING_CALL
203 Mock_glDeleteRenderbuffersEXT(GLsizei n
, const GLuint
* renderbuffers
);
204 static void GL_BINDING_CALL
205 Mock_glDeleteSamplers(GLsizei n
, const GLuint
* samplers
);
206 static void GL_BINDING_CALL
Mock_glDeleteShader(GLuint shader
);
207 static void GL_BINDING_CALL
Mock_glDeleteSync(GLsync sync
);
208 static void GL_BINDING_CALL
209 Mock_glDeleteTextures(GLsizei n
, const GLuint
* textures
);
210 static void GL_BINDING_CALL
211 Mock_glDeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
);
212 static void GL_BINDING_CALL
213 Mock_glDeleteVertexArrays(GLsizei n
, const GLuint
* arrays
);
214 static void GL_BINDING_CALL
215 Mock_glDeleteVertexArraysAPPLE(GLsizei n
, const GLuint
* arrays
);
216 static void GL_BINDING_CALL
217 Mock_glDeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
);
218 static void GL_BINDING_CALL
Mock_glDepthFunc(GLenum func
);
219 static void GL_BINDING_CALL
Mock_glDepthMask(GLboolean flag
);
220 static void GL_BINDING_CALL
Mock_glDepthRange(GLclampd zNear
, GLclampd zFar
);
221 static void GL_BINDING_CALL
Mock_glDepthRangef(GLclampf zNear
, GLclampf zFar
);
222 static void GL_BINDING_CALL
Mock_glDetachShader(GLuint program
, GLuint shader
);
223 static void GL_BINDING_CALL
Mock_glDisable(GLenum cap
);
224 static void GL_BINDING_CALL
Mock_glDisableVertexAttribArray(GLuint index
);
225 static void GL_BINDING_CALL
226 Mock_glDiscardFramebufferEXT(GLenum target
,
227 GLsizei numAttachments
,
228 const GLenum
* attachments
);
229 static void GL_BINDING_CALL
230 Mock_glDrawArrays(GLenum mode
, GLint first
, GLsizei count
);
231 static void GL_BINDING_CALL
Mock_glDrawArraysInstanced(GLenum mode
,
235 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedANGLE(GLenum mode
,
239 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedARB(GLenum mode
,
243 static void GL_BINDING_CALL
Mock_glDrawBuffer(GLenum mode
);
244 static void GL_BINDING_CALL
Mock_glDrawBuffers(GLsizei n
, const GLenum
* bufs
);
245 static void GL_BINDING_CALL
246 Mock_glDrawBuffersARB(GLsizei n
, const GLenum
* bufs
);
247 static void GL_BINDING_CALL
248 Mock_glDrawBuffersEXT(GLsizei n
, const GLenum
* bufs
);
249 static void GL_BINDING_CALL
Mock_glDrawElements(GLenum mode
,
252 const void* indices
);
253 static void GL_BINDING_CALL
Mock_glDrawElementsInstanced(GLenum mode
,
258 static void GL_BINDING_CALL
259 Mock_glDrawElementsInstancedANGLE(GLenum mode
,
264 static void GL_BINDING_CALL
Mock_glDrawElementsInstancedARB(GLenum mode
,
269 static void GL_BINDING_CALL
Mock_glDrawRangeElements(GLenum mode
,
274 const void* indices
);
275 static void GL_BINDING_CALL
276 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target
, GLeglImageOES image
);
277 static void GL_BINDING_CALL
278 Mock_glEGLImageTargetTexture2DOES(GLenum target
, GLeglImageOES image
);
279 static void GL_BINDING_CALL
Mock_glEnable(GLenum cap
);
280 static void GL_BINDING_CALL
Mock_glEnableVertexAttribArray(GLuint index
);
281 static void GL_BINDING_CALL
Mock_glEndQuery(GLenum target
);
282 static void GL_BINDING_CALL
Mock_glEndQueryARB(GLenum target
);
283 static void GL_BINDING_CALL
Mock_glEndQueryEXT(GLenum target
);
284 static void GL_BINDING_CALL
Mock_glEndTransformFeedback(void);
285 static GLsync GL_BINDING_CALL
286 Mock_glFenceSync(GLenum condition
, GLbitfield flags
);
287 static void GL_BINDING_CALL
Mock_glFinish(void);
288 static void GL_BINDING_CALL
Mock_glFinishFenceAPPLE(GLuint fence
);
289 static void GL_BINDING_CALL
Mock_glFinishFenceNV(GLuint fence
);
290 static void GL_BINDING_CALL
Mock_glFlush(void);
291 static void GL_BINDING_CALL
Mock_glFlushMappedBufferRange(GLenum target
,
294 static void GL_BINDING_CALL
295 Mock_glFramebufferRenderbuffer(GLenum target
,
297 GLenum renderbuffertarget
,
298 GLuint renderbuffer
);
299 static void GL_BINDING_CALL
300 Mock_glFramebufferRenderbufferEXT(GLenum target
,
302 GLenum renderbuffertarget
,
303 GLuint renderbuffer
);
304 static void GL_BINDING_CALL
Mock_glFramebufferTexture2D(GLenum target
,
309 static void GL_BINDING_CALL
Mock_glFramebufferTexture2DEXT(GLenum target
,
314 static void GL_BINDING_CALL
315 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
321 static void GL_BINDING_CALL
322 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
328 static void GL_BINDING_CALL
Mock_glFramebufferTextureLayer(GLenum target
,
333 static void GL_BINDING_CALL
Mock_glFrontFace(GLenum mode
);
334 static void GL_BINDING_CALL
Mock_glGenBuffers(GLsizei n
, GLuint
* buffers
);
335 static void GL_BINDING_CALL
Mock_glGenFencesAPPLE(GLsizei n
, GLuint
* fences
);
336 static void GL_BINDING_CALL
Mock_glGenFencesNV(GLsizei n
, GLuint
* fences
);
337 static void GL_BINDING_CALL
338 Mock_glGenFramebuffers(GLsizei n
, GLuint
* framebuffers
);
339 static void GL_BINDING_CALL
340 Mock_glGenFramebuffersEXT(GLsizei n
, GLuint
* framebuffers
);
341 static void GL_BINDING_CALL
Mock_glGenQueries(GLsizei n
, GLuint
* ids
);
342 static void GL_BINDING_CALL
Mock_glGenQueriesARB(GLsizei n
, GLuint
* ids
);
343 static void GL_BINDING_CALL
Mock_glGenQueriesEXT(GLsizei n
, GLuint
* ids
);
344 static void GL_BINDING_CALL
345 Mock_glGenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
);
346 static void GL_BINDING_CALL
347 Mock_glGenRenderbuffersEXT(GLsizei n
, GLuint
* renderbuffers
);
348 static void GL_BINDING_CALL
Mock_glGenSamplers(GLsizei n
, GLuint
* samplers
);
349 static void GL_BINDING_CALL
Mock_glGenTextures(GLsizei n
, GLuint
* textures
);
350 static void GL_BINDING_CALL
351 Mock_glGenTransformFeedbacks(GLsizei n
, GLuint
* ids
);
352 static void GL_BINDING_CALL
Mock_glGenVertexArrays(GLsizei n
, GLuint
* arrays
);
353 static void GL_BINDING_CALL
354 Mock_glGenVertexArraysAPPLE(GLsizei n
, GLuint
* arrays
);
355 static void GL_BINDING_CALL
356 Mock_glGenVertexArraysOES(GLsizei n
, GLuint
* arrays
);
357 static void GL_BINDING_CALL
Mock_glGenerateMipmap(GLenum target
);
358 static void GL_BINDING_CALL
Mock_glGenerateMipmapEXT(GLenum target
);
359 static void GL_BINDING_CALL
Mock_glGetActiveAttrib(GLuint program
,
366 static void GL_BINDING_CALL
Mock_glGetActiveUniform(GLuint program
,
373 static void GL_BINDING_CALL
374 Mock_glGetActiveUniformBlockName(GLuint program
,
375 GLuint uniformBlockIndex
,
378 char* uniformBlockName
);
379 static void GL_BINDING_CALL
380 Mock_glGetActiveUniformBlockiv(GLuint program
,
381 GLuint uniformBlockIndex
,
384 static void GL_BINDING_CALL
385 Mock_glGetActiveUniformsiv(GLuint program
,
386 GLsizei uniformCount
,
387 const GLuint
* uniformIndices
,
390 static void GL_BINDING_CALL
Mock_glGetAttachedShaders(GLuint program
,
394 static GLint GL_BINDING_CALL
395 Mock_glGetAttribLocation(GLuint program
, const char* name
);
396 static void GL_BINDING_CALL
Mock_glGetBooleanv(GLenum pname
, GLboolean
* params
);
397 static void GL_BINDING_CALL
398 Mock_glGetBufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
399 static GLenum GL_BINDING_CALL
Mock_glGetError(void);
400 static void GL_BINDING_CALL
401 Mock_glGetFenceivNV(GLuint fence
, GLenum pname
, GLint
* params
);
402 static void GL_BINDING_CALL
Mock_glGetFloatv(GLenum pname
, GLfloat
* params
);
403 static GLint GL_BINDING_CALL
404 Mock_glGetFragDataLocation(GLuint program
, const char* name
);
405 static void GL_BINDING_CALL
406 Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
410 static void GL_BINDING_CALL
411 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target
,
415 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatus(void);
416 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusARB(void);
417 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusEXT(void);
418 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusKHR(void);
419 static void GL_BINDING_CALL
420 Mock_glGetInteger64i_v(GLenum target
, GLuint index
, GLint64
* data
);
421 static void GL_BINDING_CALL
Mock_glGetInteger64v(GLenum pname
, GLint64
* params
);
422 static void GL_BINDING_CALL
423 Mock_glGetIntegeri_v(GLenum target
, GLuint index
, GLint
* data
);
424 static void GL_BINDING_CALL
Mock_glGetIntegerv(GLenum pname
, GLint
* params
);
425 static void GL_BINDING_CALL
Mock_glGetInternalformativ(GLenum target
,
426 GLenum internalformat
,
430 static void GL_BINDING_CALL
Mock_glGetProgramBinary(GLuint program
,
433 GLenum
* binaryFormat
,
435 static void GL_BINDING_CALL
Mock_glGetProgramBinaryOES(GLuint program
,
438 GLenum
* binaryFormat
,
440 static void GL_BINDING_CALL
Mock_glGetProgramInfoLog(GLuint program
,
444 static void GL_BINDING_CALL
445 Mock_glGetProgramiv(GLuint program
, GLenum pname
, GLint
* params
);
446 static void GL_BINDING_CALL
447 Mock_glGetQueryObjecti64v(GLuint id
, GLenum pname
, GLint64
* params
);
448 static void GL_BINDING_CALL
449 Mock_glGetQueryObjecti64vEXT(GLuint id
, GLenum pname
, GLint64
* params
);
450 static void GL_BINDING_CALL
451 Mock_glGetQueryObjectiv(GLuint id
, GLenum pname
, GLint
* params
);
452 static void GL_BINDING_CALL
453 Mock_glGetQueryObjectivARB(GLuint id
, GLenum pname
, GLint
* params
);
454 static void GL_BINDING_CALL
455 Mock_glGetQueryObjectivEXT(GLuint id
, GLenum pname
, GLint
* params
);
456 static void GL_BINDING_CALL
457 Mock_glGetQueryObjectui64v(GLuint id
, GLenum pname
, GLuint64
* params
);
458 static void GL_BINDING_CALL
459 Mock_glGetQueryObjectui64vEXT(GLuint id
, GLenum pname
, GLuint64
* params
);
460 static void GL_BINDING_CALL
461 Mock_glGetQueryObjectuiv(GLuint id
, GLenum pname
, GLuint
* params
);
462 static void GL_BINDING_CALL
463 Mock_glGetQueryObjectuivARB(GLuint id
, GLenum pname
, GLuint
* params
);
464 static void GL_BINDING_CALL
465 Mock_glGetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
);
466 static void GL_BINDING_CALL
467 Mock_glGetQueryiv(GLenum target
, GLenum pname
, GLint
* params
);
468 static void GL_BINDING_CALL
469 Mock_glGetQueryivARB(GLenum target
, GLenum pname
, GLint
* params
);
470 static void GL_BINDING_CALL
471 Mock_glGetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
);
472 static void GL_BINDING_CALL
473 Mock_glGetRenderbufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
474 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
477 static void GL_BINDING_CALL
478 Mock_glGetSamplerParameterfv(GLuint sampler
, GLenum pname
, GLfloat
* params
);
479 static void GL_BINDING_CALL
480 Mock_glGetSamplerParameteriv(GLuint sampler
, GLenum pname
, GLint
* params
);
481 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
485 static void GL_BINDING_CALL
486 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
487 GLenum precisiontype
,
490 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
494 static void GL_BINDING_CALL
495 Mock_glGetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
);
496 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
497 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
502 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
506 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
510 static void GL_BINDING_CALL
511 Mock_glGetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
);
512 static void GL_BINDING_CALL
513 Mock_glGetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
514 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
520 static void GL_BINDING_CALL
521 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
525 static GLuint GL_BINDING_CALL
526 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
527 static void GL_BINDING_CALL
528 Mock_glGetUniformIndices(GLuint program
,
529 GLsizei uniformCount
,
530 const char* const* uniformNames
,
531 GLuint
* uniformIndices
);
532 static GLint GL_BINDING_CALL
533 Mock_glGetUniformLocation(GLuint program
, const char* name
);
534 static void GL_BINDING_CALL
535 Mock_glGetUniformfv(GLuint program
, GLint location
, GLfloat
* params
);
536 static void GL_BINDING_CALL
537 Mock_glGetUniformiv(GLuint program
, GLint location
, GLint
* params
);
538 static void GL_BINDING_CALL
539 Mock_glGetVertexAttribPointerv(GLuint index
, GLenum pname
, void** pointer
);
540 static void GL_BINDING_CALL
541 Mock_glGetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
);
542 static void GL_BINDING_CALL
543 Mock_glGetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
);
544 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
545 static void GL_BINDING_CALL
546 Mock_glInsertEventMarkerEXT(GLsizei length
, const char* marker
);
547 static void GL_BINDING_CALL
548 Mock_glInvalidateFramebuffer(GLenum target
,
549 GLsizei numAttachments
,
550 const GLenum
* attachments
);
551 static void GL_BINDING_CALL
552 Mock_glInvalidateSubFramebuffer(GLenum target
,
553 GLsizei numAttachments
,
554 const GLenum
* attachments
,
559 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
560 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
561 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
562 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
563 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
564 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
565 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
566 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
567 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
568 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
569 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
570 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
571 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
572 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
573 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
574 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
575 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
576 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
577 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
578 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
579 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
580 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
581 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
582 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
583 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
587 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
591 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
592 static void GL_BINDING_CALL
593 Mock_glMatrixLoadfEXT(GLenum matrixMode
, const GLfloat
* m
);
594 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
595 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
596 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
597 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
598 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
599 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
601 const GLvoid
* binary
,
603 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
605 const GLvoid
* binary
,
607 static void GL_BINDING_CALL
608 Mock_glProgramParameteri(GLuint program
, GLenum pname
, GLint value
);
609 static void GL_BINDING_CALL
610 Mock_glPushGroupMarkerEXT(GLsizei length
, const char* marker
);
611 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
612 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
613 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
614 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
621 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
622 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
623 GLenum internalformat
,
626 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
627 GLenum internalformat
,
630 static void GL_BINDING_CALL
631 Mock_glRenderbufferStorageMultisample(GLenum target
,
633 GLenum internalformat
,
636 static void GL_BINDING_CALL
637 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
639 GLenum internalformat
,
642 static void GL_BINDING_CALL
643 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
645 GLenum internalformat
,
648 static void GL_BINDING_CALL
649 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
651 GLenum internalformat
,
654 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
655 static void GL_BINDING_CALL
656 Mock_glSampleCoverage(GLclampf value
, GLboolean invert
);
657 static void GL_BINDING_CALL
658 Mock_glSamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
);
659 static void GL_BINDING_CALL
660 Mock_glSamplerParameterfv(GLuint sampler
, GLenum pname
, const GLfloat
* params
);
661 static void GL_BINDING_CALL
662 Mock_glSamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
);
663 static void GL_BINDING_CALL
664 Mock_glSamplerParameteriv(GLuint sampler
, GLenum pname
, const GLint
* params
);
665 static void GL_BINDING_CALL
666 Mock_glScissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
667 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
668 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
669 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
670 const GLuint
* shaders
,
674 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
676 const char* const* str
,
677 const GLint
* length
);
678 static void GL_BINDING_CALL
679 Mock_glStencilFunc(GLenum func
, GLint ref
, GLuint mask
);
680 static void GL_BINDING_CALL
681 Mock_glStencilFuncSeparate(GLenum face
, GLenum func
, GLint ref
, GLuint mask
);
682 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
683 static void GL_BINDING_CALL
684 Mock_glStencilMaskSeparate(GLenum face
, GLuint mask
);
685 static void GL_BINDING_CALL
686 Mock_glStencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
);
687 static void GL_BINDING_CALL
688 Mock_glStencilOpSeparate(GLenum face
, GLenum fail
, GLenum zfail
, GLenum zpass
);
689 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
690 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
691 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
693 GLint internalformat
,
700 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
702 GLint internalformat
,
710 static void GL_BINDING_CALL
711 Mock_glTexParameterf(GLenum target
, GLenum pname
, GLfloat param
);
712 static void GL_BINDING_CALL
713 Mock_glTexParameterfv(GLenum target
, GLenum pname
, const GLfloat
* params
);
714 static void GL_BINDING_CALL
715 Mock_glTexParameteri(GLenum target
, GLenum pname
, GLint param
);
716 static void GL_BINDING_CALL
717 Mock_glTexParameteriv(GLenum target
, GLenum pname
, const GLint
* params
);
718 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
720 GLenum internalformat
,
723 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
725 GLenum internalformat
,
728 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
730 GLenum internalformat
,
734 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
743 static void GL_BINDING_CALL
744 Mock_glTransformFeedbackVaryings(GLuint program
,
746 const char* const* varyings
,
748 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
749 static void GL_BINDING_CALL
750 Mock_glUniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
);
751 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
752 static void GL_BINDING_CALL
753 Mock_glUniform1iv(GLint location
, GLsizei count
, const GLint
* v
);
754 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
755 static void GL_BINDING_CALL
756 Mock_glUniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
);
757 static void GL_BINDING_CALL
758 Mock_glUniform2f(GLint location
, GLfloat x
, GLfloat y
);
759 static void GL_BINDING_CALL
760 Mock_glUniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
);
761 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
762 static void GL_BINDING_CALL
763 Mock_glUniform2iv(GLint location
, GLsizei count
, const GLint
* v
);
764 static void GL_BINDING_CALL
765 Mock_glUniform2ui(GLint location
, GLuint v0
, GLuint v1
);
766 static void GL_BINDING_CALL
767 Mock_glUniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
);
768 static void GL_BINDING_CALL
769 Mock_glUniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
);
770 static void GL_BINDING_CALL
771 Mock_glUniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
);
772 static void GL_BINDING_CALL
773 Mock_glUniform3i(GLint location
, GLint x
, GLint y
, GLint z
);
774 static void GL_BINDING_CALL
775 Mock_glUniform3iv(GLint location
, GLsizei count
, const GLint
* v
);
776 static void GL_BINDING_CALL
777 Mock_glUniform3ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
);
778 static void GL_BINDING_CALL
779 Mock_glUniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
);
780 static void GL_BINDING_CALL
781 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
782 static void GL_BINDING_CALL
783 Mock_glUniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
);
784 static void GL_BINDING_CALL
785 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
786 static void GL_BINDING_CALL
787 Mock_glUniform4iv(GLint location
, GLsizei count
, const GLint
* v
);
788 static void GL_BINDING_CALL
789 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
790 static void GL_BINDING_CALL
791 Mock_glUniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
);
792 static void GL_BINDING_CALL
793 Mock_glUniformBlockBinding(GLuint program
,
794 GLuint uniformBlockIndex
,
795 GLuint uniformBlockBinding
);
796 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
799 const GLfloat
* value
);
800 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
803 const GLfloat
* value
);
804 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
807 const GLfloat
* value
);
808 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
811 const GLfloat
* value
);
812 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
815 const GLfloat
* value
);
816 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
819 const GLfloat
* value
);
820 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
823 const GLfloat
* value
);
824 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
827 const GLfloat
* value
);
828 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
831 const GLfloat
* value
);
832 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
833 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
834 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
835 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
836 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
837 static void GL_BINDING_CALL
838 Mock_glVertexAttrib1fv(GLuint indx
, const GLfloat
* values
);
839 static void GL_BINDING_CALL
840 Mock_glVertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
);
841 static void GL_BINDING_CALL
842 Mock_glVertexAttrib2fv(GLuint indx
, const GLfloat
* values
);
843 static void GL_BINDING_CALL
844 Mock_glVertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
);
845 static void GL_BINDING_CALL
846 Mock_glVertexAttrib3fv(GLuint indx
, const GLfloat
* values
);
847 static void GL_BINDING_CALL
848 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
849 static void GL_BINDING_CALL
850 Mock_glVertexAttrib4fv(GLuint indx
, const GLfloat
* values
);
851 static void GL_BINDING_CALL
852 Mock_glVertexAttribDivisor(GLuint index
, GLuint divisor
);
853 static void GL_BINDING_CALL
854 Mock_glVertexAttribDivisorANGLE(GLuint index
, GLuint divisor
);
855 static void GL_BINDING_CALL
856 Mock_glVertexAttribDivisorARB(GLuint index
, GLuint divisor
);
857 static void GL_BINDING_CALL
858 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
859 static void GL_BINDING_CALL
860 Mock_glVertexAttribI4iv(GLuint indx
, const GLint
* values
);
861 static void GL_BINDING_CALL
862 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
863 static void GL_BINDING_CALL
864 Mock_glVertexAttribI4uiv(GLuint indx
, const GLuint
* values
);
865 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
870 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
873 GLboolean normalized
,
876 static void GL_BINDING_CALL
877 Mock_glViewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
878 static GLenum GL_BINDING_CALL
879 Mock_glWaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
);