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
Mock_glBindAttribLocation(GLuint program
,
20 static void GL_BINDING_CALL
Mock_glBindBuffer(GLenum target
, GLuint buffer
);
21 static void GL_BINDING_CALL
Mock_glBindBufferBase(GLenum target
,
24 static void GL_BINDING_CALL
Mock_glBindBufferRange(GLenum target
,
29 static void GL_BINDING_CALL
Mock_glBindFragDataLocation(GLuint program
,
32 static void GL_BINDING_CALL
33 Mock_glBindFragDataLocationIndexed(GLuint program
,
37 static void GL_BINDING_CALL
Mock_glBindFramebuffer(GLenum target
,
39 static void GL_BINDING_CALL
Mock_glBindFramebufferEXT(GLenum target
,
41 static void GL_BINDING_CALL
Mock_glBindRenderbuffer(GLenum target
,
43 static void GL_BINDING_CALL
Mock_glBindRenderbufferEXT(GLenum target
,
45 static void GL_BINDING_CALL
Mock_glBindSampler(GLuint unit
, GLuint sampler
);
46 static void GL_BINDING_CALL
Mock_glBindTexture(GLenum target
, GLuint texture
);
47 static void GL_BINDING_CALL
Mock_glBindTransformFeedback(GLenum target
,
49 static void GL_BINDING_CALL
Mock_glBindVertexArray(GLuint array
);
50 static void GL_BINDING_CALL
Mock_glBindVertexArrayAPPLE(GLuint array
);
51 static void GL_BINDING_CALL
Mock_glBindVertexArrayOES(GLuint array
);
52 static void GL_BINDING_CALL
Mock_glBlendBarrierKHR(void);
53 static void GL_BINDING_CALL
Mock_glBlendBarrierNV(void);
54 static void GL_BINDING_CALL
Mock_glBlendColor(GLclampf red
,
58 static void GL_BINDING_CALL
Mock_glBlendEquation(GLenum mode
);
59 static void GL_BINDING_CALL
Mock_glBlendEquationSeparate(GLenum modeRGB
,
61 static void GL_BINDING_CALL
Mock_glBlendFunc(GLenum sfactor
, GLenum dfactor
);
62 static void GL_BINDING_CALL
Mock_glBlendFuncSeparate(GLenum srcRGB
,
66 static void GL_BINDING_CALL
Mock_glBlitFramebuffer(GLint srcX0
,
76 static void GL_BINDING_CALL
Mock_glBlitFramebufferANGLE(GLint srcX0
,
86 static void GL_BINDING_CALL
Mock_glBlitFramebufferEXT(GLint srcX0
,
96 static void GL_BINDING_CALL
Mock_glBufferData(GLenum target
,
100 static void GL_BINDING_CALL
Mock_glBufferSubData(GLenum target
,
104 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatus(GLenum target
);
105 static GLenum GL_BINDING_CALL
Mock_glCheckFramebufferStatusEXT(GLenum target
);
106 static void GL_BINDING_CALL
Mock_glClear(GLbitfield mask
);
107 static void GL_BINDING_CALL
Mock_glClearBufferfi(GLenum buffer
,
111 static void GL_BINDING_CALL
Mock_glClearBufferfv(GLenum buffer
,
113 const GLfloat
* value
);
114 static void GL_BINDING_CALL
Mock_glClearBufferiv(GLenum buffer
,
117 static void GL_BINDING_CALL
Mock_glClearBufferuiv(GLenum buffer
,
119 const GLuint
* value
);
120 static void GL_BINDING_CALL
Mock_glClearColor(GLclampf red
,
124 static void GL_BINDING_CALL
Mock_glClearDepth(GLclampd depth
);
125 static void GL_BINDING_CALL
Mock_glClearDepthf(GLclampf depth
);
126 static void GL_BINDING_CALL
Mock_glClearStencil(GLint s
);
127 static GLenum GL_BINDING_CALL
Mock_glClientWaitSync(GLsync sync
,
130 static void GL_BINDING_CALL
Mock_glColorMask(GLboolean red
,
134 static void GL_BINDING_CALL
Mock_glCompileShader(GLuint shader
);
135 static void GL_BINDING_CALL
Mock_glCompressedTexImage2D(GLenum target
,
137 GLenum internalformat
,
143 static void GL_BINDING_CALL
Mock_glCompressedTexImage3D(GLenum target
,
145 GLenum internalformat
,
152 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage2D(GLenum target
,
161 static void GL_BINDING_CALL
Mock_glCompressedTexSubImage3D(GLenum target
,
172 static void GL_BINDING_CALL
Mock_glCopyBufferSubData(GLenum readTarget
,
175 GLintptr writeOffset
,
177 static void GL_BINDING_CALL
Mock_glCopyTexImage2D(GLenum target
,
179 GLenum internalformat
,
185 static void GL_BINDING_CALL
Mock_glCopyTexSubImage2D(GLenum target
,
193 static void GL_BINDING_CALL
Mock_glCopyTexSubImage3D(GLenum target
,
202 static void GL_BINDING_CALL
Mock_glCoverFillPathNV(GLuint path
,
204 static void GL_BINDING_CALL
Mock_glCoverStrokePathNV(GLuint name
,
206 static GLuint GL_BINDING_CALL
Mock_glCreateProgram(void);
207 static GLuint GL_BINDING_CALL
Mock_glCreateShader(GLenum type
);
208 static void GL_BINDING_CALL
Mock_glCullFace(GLenum mode
);
209 static void GL_BINDING_CALL
Mock_glDeleteBuffers(GLsizei n
,
210 const GLuint
* buffers
);
211 static void GL_BINDING_CALL
Mock_glDeleteFencesAPPLE(GLsizei n
,
212 const GLuint
* fences
);
213 static void GL_BINDING_CALL
Mock_glDeleteFencesNV(GLsizei n
,
214 const GLuint
* fences
);
215 static void GL_BINDING_CALL
216 Mock_glDeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
);
217 static void GL_BINDING_CALL
218 Mock_glDeleteFramebuffersEXT(GLsizei n
, const GLuint
* framebuffers
);
219 static void GL_BINDING_CALL
Mock_glDeletePathsNV(GLuint path
, GLsizei range
);
220 static void GL_BINDING_CALL
Mock_glDeleteProgram(GLuint program
);
221 static void GL_BINDING_CALL
Mock_glDeleteQueries(GLsizei n
, const GLuint
* ids
);
222 static void GL_BINDING_CALL
Mock_glDeleteQueriesARB(GLsizei n
,
224 static void GL_BINDING_CALL
Mock_glDeleteQueriesEXT(GLsizei n
,
226 static void GL_BINDING_CALL
227 Mock_glDeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
);
228 static void GL_BINDING_CALL
229 Mock_glDeleteRenderbuffersEXT(GLsizei n
, const GLuint
* renderbuffers
);
230 static void GL_BINDING_CALL
Mock_glDeleteSamplers(GLsizei n
,
231 const GLuint
* samplers
);
232 static void GL_BINDING_CALL
Mock_glDeleteShader(GLuint shader
);
233 static void GL_BINDING_CALL
Mock_glDeleteSync(GLsync sync
);
234 static void GL_BINDING_CALL
Mock_glDeleteTextures(GLsizei n
,
235 const GLuint
* textures
);
236 static void GL_BINDING_CALL
Mock_glDeleteTransformFeedbacks(GLsizei n
,
238 static void GL_BINDING_CALL
Mock_glDeleteVertexArrays(GLsizei n
,
239 const GLuint
* arrays
);
240 static void GL_BINDING_CALL
241 Mock_glDeleteVertexArraysAPPLE(GLsizei n
, const GLuint
* arrays
);
242 static void GL_BINDING_CALL
Mock_glDeleteVertexArraysOES(GLsizei n
,
243 const GLuint
* arrays
);
244 static void GL_BINDING_CALL
Mock_glDepthFunc(GLenum func
);
245 static void GL_BINDING_CALL
Mock_glDepthMask(GLboolean flag
);
246 static void GL_BINDING_CALL
Mock_glDepthRange(GLclampd zNear
, GLclampd zFar
);
247 static void GL_BINDING_CALL
Mock_glDepthRangef(GLclampf zNear
, GLclampf zFar
);
248 static void GL_BINDING_CALL
Mock_glDetachShader(GLuint program
, GLuint shader
);
249 static void GL_BINDING_CALL
Mock_glDisable(GLenum cap
);
250 static void GL_BINDING_CALL
Mock_glDisableVertexAttribArray(GLuint index
);
251 static void GL_BINDING_CALL
252 Mock_glDiscardFramebufferEXT(GLenum target
,
253 GLsizei numAttachments
,
254 const GLenum
* attachments
);
255 static void GL_BINDING_CALL
Mock_glDrawArrays(GLenum mode
,
258 static void GL_BINDING_CALL
Mock_glDrawArraysInstanced(GLenum mode
,
262 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedANGLE(GLenum mode
,
266 static void GL_BINDING_CALL
Mock_glDrawArraysInstancedARB(GLenum mode
,
270 static void GL_BINDING_CALL
Mock_glDrawBuffer(GLenum mode
);
271 static void GL_BINDING_CALL
Mock_glDrawBuffers(GLsizei n
, const GLenum
* bufs
);
272 static void GL_BINDING_CALL
Mock_glDrawBuffersARB(GLsizei n
,
274 static void GL_BINDING_CALL
Mock_glDrawBuffersEXT(GLsizei n
,
276 static void GL_BINDING_CALL
Mock_glDrawElements(GLenum mode
,
279 const void* indices
);
280 static void GL_BINDING_CALL
Mock_glDrawElementsInstanced(GLenum mode
,
285 static void GL_BINDING_CALL
286 Mock_glDrawElementsInstancedANGLE(GLenum mode
,
291 static void GL_BINDING_CALL
Mock_glDrawElementsInstancedARB(GLenum mode
,
296 static void GL_BINDING_CALL
Mock_glDrawRangeElements(GLenum mode
,
301 const void* indices
);
302 static void GL_BINDING_CALL
303 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target
, GLeglImageOES image
);
304 static void GL_BINDING_CALL
305 Mock_glEGLImageTargetTexture2DOES(GLenum target
, GLeglImageOES image
);
306 static void GL_BINDING_CALL
Mock_glEnable(GLenum cap
);
307 static void GL_BINDING_CALL
Mock_glEnableVertexAttribArray(GLuint index
);
308 static void GL_BINDING_CALL
Mock_glEndQuery(GLenum target
);
309 static void GL_BINDING_CALL
Mock_glEndQueryARB(GLenum target
);
310 static void GL_BINDING_CALL
Mock_glEndQueryEXT(GLenum target
);
311 static void GL_BINDING_CALL
Mock_glEndTransformFeedback(void);
312 static GLsync GL_BINDING_CALL
Mock_glFenceSync(GLenum condition
,
314 static void GL_BINDING_CALL
Mock_glFinish(void);
315 static void GL_BINDING_CALL
Mock_glFinishFenceAPPLE(GLuint fence
);
316 static void GL_BINDING_CALL
Mock_glFinishFenceNV(GLuint fence
);
317 static void GL_BINDING_CALL
Mock_glFlush(void);
318 static void GL_BINDING_CALL
Mock_glFlushMappedBufferRange(GLenum target
,
321 static void GL_BINDING_CALL
322 Mock_glFramebufferRenderbuffer(GLenum target
,
324 GLenum renderbuffertarget
,
325 GLuint renderbuffer
);
326 static void GL_BINDING_CALL
327 Mock_glFramebufferRenderbufferEXT(GLenum target
,
329 GLenum renderbuffertarget
,
330 GLuint renderbuffer
);
331 static void GL_BINDING_CALL
Mock_glFramebufferTexture2D(GLenum target
,
336 static void GL_BINDING_CALL
Mock_glFramebufferTexture2DEXT(GLenum target
,
341 static void GL_BINDING_CALL
342 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target
,
348 static void GL_BINDING_CALL
349 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target
,
355 static void GL_BINDING_CALL
Mock_glFramebufferTextureLayer(GLenum target
,
360 static void GL_BINDING_CALL
Mock_glFrontFace(GLenum mode
);
361 static void GL_BINDING_CALL
Mock_glGenBuffers(GLsizei n
, GLuint
* buffers
);
362 static void GL_BINDING_CALL
Mock_glGenFencesAPPLE(GLsizei n
, GLuint
* fences
);
363 static void GL_BINDING_CALL
Mock_glGenFencesNV(GLsizei n
, GLuint
* fences
);
364 static void GL_BINDING_CALL
Mock_glGenFramebuffers(GLsizei n
,
365 GLuint
* framebuffers
);
366 static void GL_BINDING_CALL
Mock_glGenFramebuffersEXT(GLsizei n
,
367 GLuint
* framebuffers
);
368 static GLuint GL_BINDING_CALL
Mock_glGenPathsNV(GLsizei range
);
369 static void GL_BINDING_CALL
Mock_glGenQueries(GLsizei n
, GLuint
* ids
);
370 static void GL_BINDING_CALL
Mock_glGenQueriesARB(GLsizei n
, GLuint
* ids
);
371 static void GL_BINDING_CALL
Mock_glGenQueriesEXT(GLsizei n
, GLuint
* ids
);
372 static void GL_BINDING_CALL
Mock_glGenRenderbuffers(GLsizei n
,
373 GLuint
* renderbuffers
);
374 static void GL_BINDING_CALL
Mock_glGenRenderbuffersEXT(GLsizei n
,
375 GLuint
* renderbuffers
);
376 static void GL_BINDING_CALL
Mock_glGenSamplers(GLsizei n
, GLuint
* samplers
);
377 static void GL_BINDING_CALL
Mock_glGenTextures(GLsizei n
, GLuint
* textures
);
378 static void GL_BINDING_CALL
Mock_glGenTransformFeedbacks(GLsizei n
,
380 static void GL_BINDING_CALL
Mock_glGenVertexArrays(GLsizei n
, GLuint
* arrays
);
381 static void GL_BINDING_CALL
Mock_glGenVertexArraysAPPLE(GLsizei n
,
383 static void GL_BINDING_CALL
Mock_glGenVertexArraysOES(GLsizei n
,
385 static void GL_BINDING_CALL
Mock_glGenerateMipmap(GLenum target
);
386 static void GL_BINDING_CALL
Mock_glGenerateMipmapEXT(GLenum target
);
387 static void GL_BINDING_CALL
Mock_glGetActiveAttrib(GLuint program
,
394 static void GL_BINDING_CALL
Mock_glGetActiveUniform(GLuint program
,
401 static void GL_BINDING_CALL
402 Mock_glGetActiveUniformBlockName(GLuint program
,
403 GLuint uniformBlockIndex
,
406 char* uniformBlockName
);
407 static void GL_BINDING_CALL
408 Mock_glGetActiveUniformBlockiv(GLuint program
,
409 GLuint uniformBlockIndex
,
412 static void GL_BINDING_CALL
413 Mock_glGetActiveUniformsiv(GLuint program
,
414 GLsizei uniformCount
,
415 const GLuint
* uniformIndices
,
418 static void GL_BINDING_CALL
Mock_glGetAttachedShaders(GLuint program
,
422 static GLint GL_BINDING_CALL
Mock_glGetAttribLocation(GLuint program
,
424 static void GL_BINDING_CALL
Mock_glGetBooleanv(GLenum pname
, GLboolean
* params
);
425 static void GL_BINDING_CALL
Mock_glGetBufferParameteriv(GLenum target
,
428 static GLenum GL_BINDING_CALL
Mock_glGetError(void);
429 static void GL_BINDING_CALL
Mock_glGetFenceivNV(GLuint fence
,
432 static void GL_BINDING_CALL
Mock_glGetFloatv(GLenum pname
, GLfloat
* params
);
433 static GLint GL_BINDING_CALL
Mock_glGetFragDataLocation(GLuint program
,
435 static void GL_BINDING_CALL
436 Mock_glGetFramebufferAttachmentParameteriv(GLenum target
,
440 static void GL_BINDING_CALL
441 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target
,
445 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatus(void);
446 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusARB(void);
447 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusEXT(void);
448 static GLenum GL_BINDING_CALL
Mock_glGetGraphicsResetStatusKHR(void);
449 static void GL_BINDING_CALL
Mock_glGetInteger64i_v(GLenum target
,
452 static void GL_BINDING_CALL
Mock_glGetInteger64v(GLenum pname
, GLint64
* params
);
453 static void GL_BINDING_CALL
Mock_glGetIntegeri_v(GLenum target
,
456 static void GL_BINDING_CALL
Mock_glGetIntegerv(GLenum pname
, GLint
* params
);
457 static void GL_BINDING_CALL
Mock_glGetInternalformativ(GLenum target
,
458 GLenum internalformat
,
462 static void GL_BINDING_CALL
Mock_glGetProgramBinary(GLuint program
,
465 GLenum
* binaryFormat
,
467 static void GL_BINDING_CALL
Mock_glGetProgramBinaryOES(GLuint program
,
470 GLenum
* binaryFormat
,
472 static void GL_BINDING_CALL
Mock_glGetProgramInfoLog(GLuint program
,
476 static GLint GL_BINDING_CALL
477 Mock_glGetProgramResourceLocation(GLuint program
,
478 GLenum programInterface
,
480 static void GL_BINDING_CALL
Mock_glGetProgramiv(GLuint program
,
483 static void GL_BINDING_CALL
Mock_glGetQueryObjecti64v(GLuint id
,
486 static void GL_BINDING_CALL
Mock_glGetQueryObjecti64vEXT(GLuint id
,
489 static void GL_BINDING_CALL
Mock_glGetQueryObjectiv(GLuint id
,
492 static void GL_BINDING_CALL
Mock_glGetQueryObjectivARB(GLuint id
,
495 static void GL_BINDING_CALL
Mock_glGetQueryObjectivEXT(GLuint id
,
498 static void GL_BINDING_CALL
Mock_glGetQueryObjectui64v(GLuint id
,
501 static void GL_BINDING_CALL
Mock_glGetQueryObjectui64vEXT(GLuint id
,
504 static void GL_BINDING_CALL
Mock_glGetQueryObjectuiv(GLuint id
,
507 static void GL_BINDING_CALL
Mock_glGetQueryObjectuivARB(GLuint id
,
510 static void GL_BINDING_CALL
Mock_glGetQueryObjectuivEXT(GLuint id
,
513 static void GL_BINDING_CALL
Mock_glGetQueryiv(GLenum target
,
516 static void GL_BINDING_CALL
Mock_glGetQueryivARB(GLenum target
,
519 static void GL_BINDING_CALL
Mock_glGetQueryivEXT(GLenum target
,
522 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameteriv(GLenum target
,
525 static void GL_BINDING_CALL
Mock_glGetRenderbufferParameterivEXT(GLenum target
,
528 static void GL_BINDING_CALL
Mock_glGetSamplerParameterfv(GLuint sampler
,
531 static void GL_BINDING_CALL
Mock_glGetSamplerParameteriv(GLuint sampler
,
534 static void GL_BINDING_CALL
Mock_glGetShaderInfoLog(GLuint shader
,
538 static void GL_BINDING_CALL
539 Mock_glGetShaderPrecisionFormat(GLenum shadertype
,
540 GLenum precisiontype
,
543 static void GL_BINDING_CALL
Mock_glGetShaderSource(GLuint shader
,
547 static void GL_BINDING_CALL
Mock_glGetShaderiv(GLuint shader
,
550 static const GLubyte
* GL_BINDING_CALL
Mock_glGetString(GLenum name
);
551 static const GLubyte
* GL_BINDING_CALL
Mock_glGetStringi(GLenum name
,
553 static void GL_BINDING_CALL
Mock_glGetSynciv(GLsync sync
,
558 static void GL_BINDING_CALL
Mock_glGetTexLevelParameterfv(GLenum target
,
562 static void GL_BINDING_CALL
Mock_glGetTexLevelParameteriv(GLenum target
,
566 static void GL_BINDING_CALL
Mock_glGetTexParameterfv(GLenum target
,
569 static void GL_BINDING_CALL
Mock_glGetTexParameteriv(GLenum target
,
572 static void GL_BINDING_CALL
Mock_glGetTransformFeedbackVarying(GLuint program
,
579 static void GL_BINDING_CALL
580 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader
,
584 static GLuint GL_BINDING_CALL
585 Mock_glGetUniformBlockIndex(GLuint program
, const char* uniformBlockName
);
586 static void GL_BINDING_CALL
587 Mock_glGetUniformIndices(GLuint program
,
588 GLsizei uniformCount
,
589 const char* const* uniformNames
,
590 GLuint
* uniformIndices
);
591 static GLint GL_BINDING_CALL
Mock_glGetUniformLocation(GLuint program
,
593 static void GL_BINDING_CALL
Mock_glGetUniformfv(GLuint program
,
596 static void GL_BINDING_CALL
Mock_glGetUniformiv(GLuint program
,
599 static void GL_BINDING_CALL
Mock_glGetUniformuiv(GLuint program
,
602 static void GL_BINDING_CALL
Mock_glGetVertexAttribPointerv(GLuint index
,
605 static void GL_BINDING_CALL
Mock_glGetVertexAttribfv(GLuint index
,
608 static void GL_BINDING_CALL
Mock_glGetVertexAttribiv(GLuint index
,
611 static void GL_BINDING_CALL
Mock_glHint(GLenum target
, GLenum mode
);
612 static void GL_BINDING_CALL
Mock_glInsertEventMarkerEXT(GLsizei length
,
614 static void GL_BINDING_CALL
615 Mock_glInvalidateFramebuffer(GLenum target
,
616 GLsizei numAttachments
,
617 const GLenum
* attachments
);
618 static void GL_BINDING_CALL
619 Mock_glInvalidateSubFramebuffer(GLenum target
,
620 GLsizei numAttachments
,
621 const GLenum
* attachments
,
626 static GLboolean GL_BINDING_CALL
Mock_glIsBuffer(GLuint buffer
);
627 static GLboolean GL_BINDING_CALL
Mock_glIsEnabled(GLenum cap
);
628 static GLboolean GL_BINDING_CALL
Mock_glIsFenceAPPLE(GLuint fence
);
629 static GLboolean GL_BINDING_CALL
Mock_glIsFenceNV(GLuint fence
);
630 static GLboolean GL_BINDING_CALL
Mock_glIsFramebuffer(GLuint framebuffer
);
631 static GLboolean GL_BINDING_CALL
Mock_glIsFramebufferEXT(GLuint framebuffer
);
632 static GLboolean GL_BINDING_CALL
Mock_glIsPathNV(GLuint path
);
633 static GLboolean GL_BINDING_CALL
Mock_glIsProgram(GLuint program
);
634 static GLboolean GL_BINDING_CALL
Mock_glIsQuery(GLuint query
);
635 static GLboolean GL_BINDING_CALL
Mock_glIsQueryARB(GLuint query
);
636 static GLboolean GL_BINDING_CALL
Mock_glIsQueryEXT(GLuint query
);
637 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbuffer(GLuint renderbuffer
);
638 static GLboolean GL_BINDING_CALL
Mock_glIsRenderbufferEXT(GLuint renderbuffer
);
639 static GLboolean GL_BINDING_CALL
Mock_glIsSampler(GLuint sampler
);
640 static GLboolean GL_BINDING_CALL
Mock_glIsShader(GLuint shader
);
641 static GLboolean GL_BINDING_CALL
Mock_glIsSync(GLsync sync
);
642 static GLboolean GL_BINDING_CALL
Mock_glIsTexture(GLuint texture
);
643 static GLboolean GL_BINDING_CALL
Mock_glIsTransformFeedback(GLuint id
);
644 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArray(GLuint array
);
645 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayAPPLE(GLuint array
);
646 static GLboolean GL_BINDING_CALL
Mock_glIsVertexArrayOES(GLuint array
);
647 static void GL_BINDING_CALL
Mock_glLineWidth(GLfloat width
);
648 static void GL_BINDING_CALL
Mock_glLinkProgram(GLuint program
);
649 static void* GL_BINDING_CALL
Mock_glMapBuffer(GLenum target
, GLenum access
);
650 static void* GL_BINDING_CALL
Mock_glMapBufferOES(GLenum target
, GLenum access
);
651 static void* GL_BINDING_CALL
Mock_glMapBufferRange(GLenum target
,
655 static void* GL_BINDING_CALL
Mock_glMapBufferRangeEXT(GLenum target
,
659 static void GL_BINDING_CALL
Mock_glMatrixLoadIdentityEXT(GLenum matrixMode
);
660 static void GL_BINDING_CALL
Mock_glMatrixLoadfEXT(GLenum matrixMode
,
662 static void GL_BINDING_CALL
Mock_glPathCommandsNV(GLuint path
,
664 const GLubyte
* commands
,
667 const GLvoid
* coords
);
668 static void GL_BINDING_CALL
Mock_glPathParameterfNV(GLuint path
,
671 static void GL_BINDING_CALL
Mock_glPathParameteriNV(GLuint path
,
674 static void GL_BINDING_CALL
Mock_glPathStencilFuncNV(GLenum func
,
677 static void GL_BINDING_CALL
Mock_glPauseTransformFeedback(void);
678 static void GL_BINDING_CALL
Mock_glPixelStorei(GLenum pname
, GLint param
);
679 static void GL_BINDING_CALL
Mock_glPointParameteri(GLenum pname
, GLint param
);
680 static void GL_BINDING_CALL
Mock_glPolygonOffset(GLfloat factor
, GLfloat units
);
681 static void GL_BINDING_CALL
Mock_glPopGroupMarkerEXT(void);
682 static void GL_BINDING_CALL
Mock_glProgramBinary(GLuint program
,
684 const GLvoid
* binary
,
686 static void GL_BINDING_CALL
Mock_glProgramBinaryOES(GLuint program
,
688 const GLvoid
* binary
,
690 static void GL_BINDING_CALL
Mock_glProgramParameteri(GLuint program
,
693 static void GL_BINDING_CALL
Mock_glPushGroupMarkerEXT(GLsizei length
,
695 static void GL_BINDING_CALL
Mock_glQueryCounter(GLuint id
, GLenum target
);
696 static void GL_BINDING_CALL
Mock_glQueryCounterEXT(GLuint id
, GLenum target
);
697 static void GL_BINDING_CALL
Mock_glReadBuffer(GLenum src
);
698 static void GL_BINDING_CALL
Mock_glReadPixels(GLint x
,
705 static void GL_BINDING_CALL
Mock_glReleaseShaderCompiler(void);
706 static void GL_BINDING_CALL
Mock_glRenderbufferStorage(GLenum target
,
707 GLenum internalformat
,
710 static void GL_BINDING_CALL
Mock_glRenderbufferStorageEXT(GLenum target
,
711 GLenum internalformat
,
714 static void GL_BINDING_CALL
715 Mock_glRenderbufferStorageMultisample(GLenum target
,
717 GLenum internalformat
,
720 static void GL_BINDING_CALL
721 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target
,
723 GLenum internalformat
,
726 static void GL_BINDING_CALL
727 Mock_glRenderbufferStorageMultisampleEXT(GLenum target
,
729 GLenum internalformat
,
732 static void GL_BINDING_CALL
733 Mock_glRenderbufferStorageMultisampleIMG(GLenum target
,
735 GLenum internalformat
,
738 static void GL_BINDING_CALL
Mock_glResumeTransformFeedback(void);
739 static void GL_BINDING_CALL
Mock_glSampleCoverage(GLclampf value
,
741 static void GL_BINDING_CALL
Mock_glSamplerParameterf(GLuint sampler
,
744 static void GL_BINDING_CALL
Mock_glSamplerParameterfv(GLuint sampler
,
746 const GLfloat
* params
);
747 static void GL_BINDING_CALL
Mock_glSamplerParameteri(GLuint sampler
,
750 static void GL_BINDING_CALL
Mock_glSamplerParameteriv(GLuint sampler
,
752 const GLint
* params
);
753 static void GL_BINDING_CALL
Mock_glScissor(GLint x
,
757 static void GL_BINDING_CALL
Mock_glSetFenceAPPLE(GLuint fence
);
758 static void GL_BINDING_CALL
Mock_glSetFenceNV(GLuint fence
, GLenum condition
);
759 static void GL_BINDING_CALL
Mock_glShaderBinary(GLsizei n
,
760 const GLuint
* shaders
,
764 static void GL_BINDING_CALL
Mock_glShaderSource(GLuint shader
,
766 const char* const* str
,
767 const GLint
* length
);
768 static void GL_BINDING_CALL
Mock_glStencilFillPathNV(GLuint path
,
771 static void GL_BINDING_CALL
Mock_glStencilFunc(GLenum func
,
774 static void GL_BINDING_CALL
Mock_glStencilFuncSeparate(GLenum face
,
778 static void GL_BINDING_CALL
Mock_glStencilMask(GLuint mask
);
779 static void GL_BINDING_CALL
Mock_glStencilMaskSeparate(GLenum face
,
781 static void GL_BINDING_CALL
Mock_glStencilOp(GLenum fail
,
784 static void GL_BINDING_CALL
Mock_glStencilOpSeparate(GLenum face
,
788 static void GL_BINDING_CALL
Mock_glStencilStrokePathNV(GLuint path
,
791 static void GL_BINDING_CALL
Mock_glStencilThenCoverFillPathNV(GLuint path
,
795 static void GL_BINDING_CALL
796 Mock_glStencilThenCoverStrokePathNV(GLuint path
,
800 static GLboolean GL_BINDING_CALL
Mock_glTestFenceAPPLE(GLuint fence
);
801 static GLboolean GL_BINDING_CALL
Mock_glTestFenceNV(GLuint fence
);
802 static void GL_BINDING_CALL
Mock_glTexImage2D(GLenum target
,
804 GLint internalformat
,
811 static void GL_BINDING_CALL
Mock_glTexImage3D(GLenum target
,
813 GLint internalformat
,
821 static void GL_BINDING_CALL
Mock_glTexParameterf(GLenum target
,
824 static void GL_BINDING_CALL
Mock_glTexParameterfv(GLenum target
,
826 const GLfloat
* params
);
827 static void GL_BINDING_CALL
Mock_glTexParameteri(GLenum target
,
830 static void GL_BINDING_CALL
Mock_glTexParameteriv(GLenum target
,
832 const GLint
* params
);
833 static void GL_BINDING_CALL
Mock_glTexStorage2D(GLenum target
,
835 GLenum internalformat
,
838 static void GL_BINDING_CALL
Mock_glTexStorage2DEXT(GLenum target
,
840 GLenum internalformat
,
843 static void GL_BINDING_CALL
Mock_glTexStorage3D(GLenum target
,
845 GLenum internalformat
,
849 static void GL_BINDING_CALL
Mock_glTexSubImage2D(GLenum target
,
858 static void GL_BINDING_CALL
Mock_glTexSubImage3D(GLenum target
,
869 static void GL_BINDING_CALL
870 Mock_glTransformFeedbackVaryings(GLuint program
,
872 const char* const* varyings
,
874 static void GL_BINDING_CALL
Mock_glUniform1f(GLint location
, GLfloat x
);
875 static void GL_BINDING_CALL
Mock_glUniform1fv(GLint location
,
878 static void GL_BINDING_CALL
Mock_glUniform1i(GLint location
, GLint x
);
879 static void GL_BINDING_CALL
Mock_glUniform1iv(GLint location
,
882 static void GL_BINDING_CALL
Mock_glUniform1ui(GLint location
, GLuint v0
);
883 static void GL_BINDING_CALL
Mock_glUniform1uiv(GLint location
,
886 static void GL_BINDING_CALL
Mock_glUniform2f(GLint location
,
889 static void GL_BINDING_CALL
Mock_glUniform2fv(GLint location
,
892 static void GL_BINDING_CALL
Mock_glUniform2i(GLint location
, GLint x
, GLint y
);
893 static void GL_BINDING_CALL
Mock_glUniform2iv(GLint location
,
896 static void GL_BINDING_CALL
Mock_glUniform2ui(GLint location
,
899 static void GL_BINDING_CALL
Mock_glUniform2uiv(GLint location
,
902 static void GL_BINDING_CALL
Mock_glUniform3f(GLint location
,
906 static void GL_BINDING_CALL
Mock_glUniform3fv(GLint location
,
909 static void GL_BINDING_CALL
Mock_glUniform3i(GLint location
,
913 static void GL_BINDING_CALL
Mock_glUniform3iv(GLint location
,
916 static void GL_BINDING_CALL
Mock_glUniform3ui(GLint location
,
920 static void GL_BINDING_CALL
Mock_glUniform3uiv(GLint location
,
923 static void GL_BINDING_CALL
924 Mock_glUniform4f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
925 static void GL_BINDING_CALL
Mock_glUniform4fv(GLint location
,
928 static void GL_BINDING_CALL
929 Mock_glUniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
);
930 static void GL_BINDING_CALL
Mock_glUniform4iv(GLint location
,
933 static void GL_BINDING_CALL
934 Mock_glUniform4ui(GLint location
, GLuint v0
, GLuint v1
, GLuint v2
, GLuint v3
);
935 static void GL_BINDING_CALL
Mock_glUniform4uiv(GLint location
,
938 static void GL_BINDING_CALL
939 Mock_glUniformBlockBinding(GLuint program
,
940 GLuint uniformBlockIndex
,
941 GLuint uniformBlockBinding
);
942 static void GL_BINDING_CALL
Mock_glUniformMatrix2fv(GLint location
,
945 const GLfloat
* value
);
946 static void GL_BINDING_CALL
Mock_glUniformMatrix2x3fv(GLint location
,
949 const GLfloat
* value
);
950 static void GL_BINDING_CALL
Mock_glUniformMatrix2x4fv(GLint location
,
953 const GLfloat
* value
);
954 static void GL_BINDING_CALL
Mock_glUniformMatrix3fv(GLint location
,
957 const GLfloat
* value
);
958 static void GL_BINDING_CALL
Mock_glUniformMatrix3x2fv(GLint location
,
961 const GLfloat
* value
);
962 static void GL_BINDING_CALL
Mock_glUniformMatrix3x4fv(GLint location
,
965 const GLfloat
* value
);
966 static void GL_BINDING_CALL
Mock_glUniformMatrix4fv(GLint location
,
969 const GLfloat
* value
);
970 static void GL_BINDING_CALL
Mock_glUniformMatrix4x2fv(GLint location
,
973 const GLfloat
* value
);
974 static void GL_BINDING_CALL
Mock_glUniformMatrix4x3fv(GLint location
,
977 const GLfloat
* value
);
978 static GLboolean GL_BINDING_CALL
Mock_glUnmapBuffer(GLenum target
);
979 static GLboolean GL_BINDING_CALL
Mock_glUnmapBufferOES(GLenum target
);
980 static void GL_BINDING_CALL
Mock_glUseProgram(GLuint program
);
981 static void GL_BINDING_CALL
Mock_glValidateProgram(GLuint program
);
982 static void GL_BINDING_CALL
Mock_glVertexAttrib1f(GLuint indx
, GLfloat x
);
983 static void GL_BINDING_CALL
Mock_glVertexAttrib1fv(GLuint indx
,
984 const GLfloat
* values
);
985 static void GL_BINDING_CALL
Mock_glVertexAttrib2f(GLuint indx
,
988 static void GL_BINDING_CALL
Mock_glVertexAttrib2fv(GLuint indx
,
989 const GLfloat
* values
);
990 static void GL_BINDING_CALL
Mock_glVertexAttrib3f(GLuint indx
,
994 static void GL_BINDING_CALL
Mock_glVertexAttrib3fv(GLuint indx
,
995 const GLfloat
* values
);
996 static void GL_BINDING_CALL
997 Mock_glVertexAttrib4f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
998 static void GL_BINDING_CALL
Mock_glVertexAttrib4fv(GLuint indx
,
999 const GLfloat
* values
);
1000 static void GL_BINDING_CALL
Mock_glVertexAttribDivisor(GLuint index
,
1002 static void GL_BINDING_CALL
Mock_glVertexAttribDivisorANGLE(GLuint index
,
1004 static void GL_BINDING_CALL
Mock_glVertexAttribDivisorARB(GLuint index
,
1006 static void GL_BINDING_CALL
1007 Mock_glVertexAttribI4i(GLuint indx
, GLint x
, GLint y
, GLint z
, GLint w
);
1008 static void GL_BINDING_CALL
Mock_glVertexAttribI4iv(GLuint indx
,
1009 const GLint
* values
);
1010 static void GL_BINDING_CALL
1011 Mock_glVertexAttribI4ui(GLuint indx
, GLuint x
, GLuint y
, GLuint z
, GLuint w
);
1012 static void GL_BINDING_CALL
Mock_glVertexAttribI4uiv(GLuint indx
,
1013 const GLuint
* values
);
1014 static void GL_BINDING_CALL
Mock_glVertexAttribIPointer(GLuint indx
,
1019 static void GL_BINDING_CALL
Mock_glVertexAttribPointer(GLuint indx
,
1022 GLboolean normalized
,
1025 static void GL_BINDING_CALL
Mock_glViewport(GLint x
,
1029 static GLenum GL_BINDING_CALL
Mock_glWaitSync(GLsync sync
,