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 GLint GL_BINDING_CALL
445 Mock_glGetProgramResourceLocation(GLuint program
,
446 GLenum programInterface
,
448 static void GL_BINDING_CALL
449 Mock_glGetProgramiv(GLuint program
, GLenum pname
, GLint
* params
);
450 static void GL_BINDING_CALL
451 Mock_glGetQueryObjecti64v(GLuint id
, GLenum pname
, GLint64
* params
);
452 static void GL_BINDING_CALL
453 Mock_glGetQueryObjecti64vEXT(GLuint id
, GLenum pname
, GLint64
* params
);
454 static void GL_BINDING_CALL
455 Mock_glGetQueryObjectiv(GLuint id
, GLenum pname
, GLint
* params
);
456 static void GL_BINDING_CALL
457 Mock_glGetQueryObjectivARB(GLuint id
, GLenum pname
, GLint
* params
);
458 static void GL_BINDING_CALL
459 Mock_glGetQueryObjectivEXT(GLuint id
, GLenum pname
, GLint
* params
);
460 static void GL_BINDING_CALL
461 Mock_glGetQueryObjectui64v(GLuint id
, GLenum pname
, GLuint64
* params
);
462 static void GL_BINDING_CALL
463 Mock_glGetQueryObjectui64vEXT(GLuint id
, GLenum pname
, GLuint64
* params
);
464 static void GL_BINDING_CALL
465 Mock_glGetQueryObjectuiv(GLuint id
, GLenum pname
, GLuint
* params
);
466 static void GL_BINDING_CALL
467 Mock_glGetQueryObjectuivARB(GLuint id
, GLenum pname
, GLuint
* params
);
468 static void GL_BINDING_CALL
469 Mock_glGetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
);
470 static void GL_BINDING_CALL
471 Mock_glGetQueryiv(GLenum target
, GLenum pname
, GLint
* params
);
472 static void GL_BINDING_CALL
473 Mock_glGetQueryivARB(GLenum target
, GLenum pname
, GLint
* params
);
474 static void GL_BINDING_CALL
475 Mock_glGetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
);
476 static void GL_BINDING_CALL
477 Mock_glGetRenderbufferParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
478 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
481 static void GL_BINDING_CALL
482 Mock_glGetSamplerParameterfv(GLuint sampler
, GLenum pname
, GLfloat
* params
);
483 static void GL_BINDING_CALL
484 Mock_glGetSamplerParameteriv(GLuint sampler
, GLenum pname
, GLint
* params
);
485 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
489 static void GL_BINDING_CALL
490 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
491 GLenum precisiontype
,
494 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
498 static void GL_BINDING_CALL
499 Mock_glGetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
);
500 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
501 static const GLubyte
* GL_BINDING_CALL
502 Mock_glGetStringi(GLenum name
, GLuint index
);
503 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
508 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
512 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
516 static void GL_BINDING_CALL
517 Mock_glGetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
);
518 static void GL_BINDING_CALL
519 Mock_glGetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
);
520 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
527 static void GL_BINDING_CALL
528 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
532 static GLuint GL_BINDING_CALL
533 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
534 static void GL_BINDING_CALL
535 Mock_glGetUniformIndices(GLuint program
,
536 GLsizei uniformCount
,
537 const char* const* uniformNames
,
538 GLuint
* uniformIndices
);
539 static GLint GL_BINDING_CALL
540 Mock_glGetUniformLocation(GLuint program
, const char* name
);
541 static void GL_BINDING_CALL
542 Mock_glGetUniformfv(GLuint program
, GLint location
, GLfloat
* params
);
543 static void GL_BINDING_CALL
544 Mock_glGetUniformiv(GLuint program
, GLint location
, GLint
* params
);
545 static void GL_BINDING_CALL
546 Mock_glGetVertexAttribPointerv(GLuint index
, GLenum pname
, void** pointer
);
547 static void GL_BINDING_CALL
548 Mock_glGetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
);
549 static void GL_BINDING_CALL
550 Mock_glGetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
);
551 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
552 static void GL_BINDING_CALL
553 Mock_glInsertEventMarkerEXT(GLsizei length
, const char* marker
);
554 static void GL_BINDING_CALL
555 Mock_glInvalidateFramebuffer(GLenum target
,
556 GLsizei numAttachments
,
557 const GLenum
* attachments
);
558 static void GL_BINDING_CALL
559 Mock_glInvalidateSubFramebuffer(GLenum target
,
560 GLsizei numAttachments
,
561 const GLenum
* attachments
,
566 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
567 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
568 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
569 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
570 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
571 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
572 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
573 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
574 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
575 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
576 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
577 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
578 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
579 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
580 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
581 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
582 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
583 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
584 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
585 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
586 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
587 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
588 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
589 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
590 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
594 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
598 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
599 static void GL_BINDING_CALL
600 Mock_glMatrixLoadfEXT(GLenum matrixMode
, const GLfloat
* m
);
601 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
602 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
603 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
604 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
605 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
606 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
608 const GLvoid
* binary
,
610 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
612 const GLvoid
* binary
,
614 static void GL_BINDING_CALL
615 Mock_glProgramParameteri(GLuint program
, GLenum pname
, GLint value
);
616 static void GL_BINDING_CALL
617 Mock_glPushGroupMarkerEXT(GLsizei length
, const char* marker
);
618 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
619 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
620 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
621 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
628 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
629 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
630 GLenum internalformat
,
633 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
634 GLenum internalformat
,
637 static void GL_BINDING_CALL
638 Mock_glRenderbufferStorageMultisample(GLenum target
,
640 GLenum internalformat
,
643 static void GL_BINDING_CALL
644 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
646 GLenum internalformat
,
649 static void GL_BINDING_CALL
650 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
652 GLenum internalformat
,
655 static void GL_BINDING_CALL
656 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
658 GLenum internalformat
,
661 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
662 static void GL_BINDING_CALL
663 Mock_glSampleCoverage(GLclampf value
, GLboolean invert
);
664 static void GL_BINDING_CALL
665 Mock_glSamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
);
666 static void GL_BINDING_CALL
667 Mock_glSamplerParameterfv(GLuint sampler
, GLenum pname
, const GLfloat
* params
);
668 static void GL_BINDING_CALL
669 Mock_glSamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
);
670 static void GL_BINDING_CALL
671 Mock_glSamplerParameteriv(GLuint sampler
, GLenum pname
, const GLint
* params
);
672 static void GL_BINDING_CALL
673 Mock_glScissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
674 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
675 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
676 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
677 const GLuint
* shaders
,
681 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
683 const char* const* str
,
684 const GLint
* length
);
685 static void GL_BINDING_CALL
686 Mock_glStencilFunc(GLenum func
, GLint ref
, GLuint mask
);
687 static void GL_BINDING_CALL
688 Mock_glStencilFuncSeparate(GLenum face
, GLenum func
, GLint ref
, GLuint mask
);
689 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
690 static void GL_BINDING_CALL
691 Mock_glStencilMaskSeparate(GLenum face
, GLuint mask
);
692 static void GL_BINDING_CALL
693 Mock_glStencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
);
694 static void GL_BINDING_CALL
695 Mock_glStencilOpSeparate(GLenum face
, GLenum fail
, GLenum zfail
, GLenum zpass
);
696 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
697 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
698 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
700 GLint internalformat
,
707 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
709 GLint internalformat
,
717 static void GL_BINDING_CALL
718 Mock_glTexParameterf(GLenum target
, GLenum pname
, GLfloat param
);
719 static void GL_BINDING_CALL
720 Mock_glTexParameterfv(GLenum target
, GLenum pname
, const GLfloat
* params
);
721 static void GL_BINDING_CALL
722 Mock_glTexParameteri(GLenum target
, GLenum pname
, GLint param
);
723 static void GL_BINDING_CALL
724 Mock_glTexParameteriv(GLenum target
, GLenum pname
, const GLint
* params
);
725 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
727 GLenum internalformat
,
730 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
732 GLenum internalformat
,
735 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
737 GLenum internalformat
,
741 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
750 static void GL_BINDING_CALL
751 Mock_glTransformFeedbackVaryings(GLuint program
,
753 const char* const* varyings
,
755 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
756 static void GL_BINDING_CALL
757 Mock_glUniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
);
758 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
759 static void GL_BINDING_CALL
760 Mock_glUniform1iv(GLint location
, GLsizei count
, const GLint
* v
);
761 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
762 static void GL_BINDING_CALL
763 Mock_glUniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
);
764 static void GL_BINDING_CALL
765 Mock_glUniform2f(GLint location
, GLfloat x
, GLfloat y
);
766 static void GL_BINDING_CALL
767 Mock_glUniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
);
768 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
769 static void GL_BINDING_CALL
770 Mock_glUniform2iv(GLint location
, GLsizei count
, const GLint
* v
);
771 static void GL_BINDING_CALL
772 Mock_glUniform2ui(GLint location
, GLuint v0
, GLuint v1
);
773 static void GL_BINDING_CALL
774 Mock_glUniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
);
775 static void GL_BINDING_CALL
776 Mock_glUniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
);
777 static void GL_BINDING_CALL
778 Mock_glUniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
);
779 static void GL_BINDING_CALL
780 Mock_glUniform3i(GLint location
, GLint x
, GLint y
, GLint z
);
781 static void GL_BINDING_CALL
782 Mock_glUniform3iv(GLint location
, GLsizei count
, const GLint
* v
);
783 static void GL_BINDING_CALL
784 Mock_glUniform3ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
);
785 static void GL_BINDING_CALL
786 Mock_glUniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
);
787 static void GL_BINDING_CALL
788 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
789 static void GL_BINDING_CALL
790 Mock_glUniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
);
791 static void GL_BINDING_CALL
792 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
793 static void GL_BINDING_CALL
794 Mock_glUniform4iv(GLint location
, GLsizei count
, const GLint
* v
);
795 static void GL_BINDING_CALL
796 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
797 static void GL_BINDING_CALL
798 Mock_glUniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
);
799 static void GL_BINDING_CALL
800 Mock_glUniformBlockBinding(GLuint program
,
801 GLuint uniformBlockIndex
,
802 GLuint uniformBlockBinding
);
803 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
806 const GLfloat
* value
);
807 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
810 const GLfloat
* value
);
811 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
814 const GLfloat
* value
);
815 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
818 const GLfloat
* value
);
819 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
822 const GLfloat
* value
);
823 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
826 const GLfloat
* value
);
827 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
830 const GLfloat
* value
);
831 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
834 const GLfloat
* value
);
835 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
838 const GLfloat
* value
);
839 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
840 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
841 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
842 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
843 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
844 static void GL_BINDING_CALL
845 Mock_glVertexAttrib1fv(GLuint indx
, const GLfloat
* values
);
846 static void GL_BINDING_CALL
847 Mock_glVertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
);
848 static void GL_BINDING_CALL
849 Mock_glVertexAttrib2fv(GLuint indx
, const GLfloat
* values
);
850 static void GL_BINDING_CALL
851 Mock_glVertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
);
852 static void GL_BINDING_CALL
853 Mock_glVertexAttrib3fv(GLuint indx
, const GLfloat
* values
);
854 static void GL_BINDING_CALL
855 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
856 static void GL_BINDING_CALL
857 Mock_glVertexAttrib4fv(GLuint indx
, const GLfloat
* values
);
858 static void GL_BINDING_CALL
859 Mock_glVertexAttribDivisor(GLuint index
, GLuint divisor
);
860 static void GL_BINDING_CALL
861 Mock_glVertexAttribDivisorANGLE(GLuint index
, GLuint divisor
);
862 static void GL_BINDING_CALL
863 Mock_glVertexAttribDivisorARB(GLuint index
, GLuint divisor
);
864 static void GL_BINDING_CALL
865 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
866 static void GL_BINDING_CALL
867 Mock_glVertexAttribI4iv(GLuint indx
, const GLint
* values
);
868 static void GL_BINDING_CALL
869 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
870 static void GL_BINDING_CALL
871 Mock_glVertexAttribI4uiv(GLuint indx
, const GLuint
* values
);
872 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
877 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
880 GLboolean normalized
,
883 static void GL_BINDING_CALL
884 Mock_glViewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
);
885 static GLenum GL_BINDING_CALL
886 Mock_glWaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
);