Add a stub __cxa_demangle to disable LLVM's demangler.
[chromium-blink-merge.git] / ui / gl / gl_bindings_autogen_mock.h
blob9dc82a0500459c3180c425b0de35464d14f1c227
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.
4 //
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
9 // DO NOT EDIT!
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,
23 GLuint index,
24 GLuint buffer,
25 GLintptr offset,
26 GLsizeiptr size);
27 static void GL_BINDING_CALL Mock_glBindFragDataLocation(GLuint program,
28 GLuint colorNumber,
29 const char* name);
30 static void GL_BINDING_CALL
31 Mock_glBindFragDataLocationIndexed(GLuint program,
32 GLuint colorNumber,
33 GLuint index,
34 const char* name);
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,
59 GLenum dstRGB,
60 GLenum srcAlpha,
61 GLenum dstAlpha);
62 static void GL_BINDING_CALL Mock_glBlitFramebuffer(GLint srcX0,
63 GLint srcY0,
64 GLint srcX1,
65 GLint srcY1,
66 GLint dstX0,
67 GLint dstY0,
68 GLint dstX1,
69 GLint dstY1,
70 GLbitfield mask,
71 GLenum filter);
72 static void GL_BINDING_CALL Mock_glBlitFramebufferANGLE(GLint srcX0,
73 GLint srcY0,
74 GLint srcX1,
75 GLint srcY1,
76 GLint dstX0,
77 GLint dstY0,
78 GLint dstX1,
79 GLint dstY1,
80 GLbitfield mask,
81 GLenum filter);
82 static void GL_BINDING_CALL Mock_glBlitFramebufferEXT(GLint srcX0,
83 GLint srcY0,
84 GLint srcX1,
85 GLint srcY1,
86 GLint dstX0,
87 GLint dstY0,
88 GLint dstX1,
89 GLint dstY1,
90 GLbitfield mask,
91 GLenum filter);
92 static void GL_BINDING_CALL Mock_glBufferData(GLenum target,
93 GLsizeiptr size,
94 const void* data,
95 GLenum usage);
96 static void GL_BINDING_CALL Mock_glBufferSubData(GLenum target,
97 GLintptr offset,
98 GLsizeiptr size,
99 const void* data);
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,
104 GLint drawbuffer,
105 const GLfloat depth,
106 GLint stencil);
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,
121 GLboolean green,
122 GLboolean blue,
123 GLboolean alpha);
124 static void GL_BINDING_CALL Mock_glCompileShader(GLuint shader);
125 static void GL_BINDING_CALL Mock_glCompressedTexImage2D(GLenum target,
126 GLint level,
127 GLenum internalformat,
128 GLsizei width,
129 GLsizei height,
130 GLint border,
131 GLsizei imageSize,
132 const void* data);
133 static void GL_BINDING_CALL Mock_glCompressedTexImage3D(GLenum target,
134 GLint level,
135 GLenum internalformat,
136 GLsizei width,
137 GLsizei height,
138 GLsizei depth,
139 GLint border,
140 GLsizei imageSize,
141 const void* data);
142 static void GL_BINDING_CALL Mock_glCompressedTexSubImage2D(GLenum target,
143 GLint level,
144 GLint xoffset,
145 GLint yoffset,
146 GLsizei width,
147 GLsizei height,
148 GLenum format,
149 GLsizei imageSize,
150 const void* data);
151 static void GL_BINDING_CALL Mock_glCompressedTexSubImage3D(GLenum target,
152 GLint level,
153 GLint xoffset,
154 GLint yoffset,
155 GLint zoffset,
156 GLsizei width,
157 GLsizei height,
158 GLsizei depth,
159 GLenum format,
160 GLsizei imageSize,
161 const void* data);
162 static void GL_BINDING_CALL Mock_glCopyBufferSubData(GLenum readTarget,
163 GLenum writeTarget,
164 GLintptr readOffset,
165 GLintptr writeOffset,
166 GLsizeiptr size);
167 static void GL_BINDING_CALL Mock_glCopyTexImage2D(GLenum target,
168 GLint level,
169 GLenum internalformat,
170 GLint x,
171 GLint y,
172 GLsizei width,
173 GLsizei height,
174 GLint border);
175 static void GL_BINDING_CALL Mock_glCopyTexSubImage2D(GLenum target,
176 GLint level,
177 GLint xoffset,
178 GLint yoffset,
179 GLint x,
180 GLint y,
181 GLsizei width,
182 GLsizei height);
183 static void GL_BINDING_CALL Mock_glCopyTexSubImage3D(GLenum target,
184 GLint level,
185 GLint xoffset,
186 GLint yoffset,
187 GLint zoffset,
188 GLint x,
189 GLint y,
190 GLsizei width,
191 GLsizei height);
192 static GLuint GL_BINDING_CALL Mock_glCreateProgram(void);
193 static GLuint GL_BINDING_CALL Mock_glCreateShader(GLenum type);
194 static void GL_BINDING_CALL Mock_glCullFace(GLenum mode);
195 static void GL_BINDING_CALL
196 Mock_glDeleteBuffers(GLsizei n, const GLuint* buffers);
197 static void GL_BINDING_CALL
198 Mock_glDeleteFencesAPPLE(GLsizei n, const GLuint* fences);
199 static void GL_BINDING_CALL
200 Mock_glDeleteFencesNV(GLsizei n, const GLuint* fences);
201 static void GL_BINDING_CALL
202 Mock_glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers);
203 static void GL_BINDING_CALL
204 Mock_glDeleteFramebuffersEXT(GLsizei n, const GLuint* framebuffers);
205 static void GL_BINDING_CALL Mock_glDeleteProgram(GLuint program);
206 static void GL_BINDING_CALL Mock_glDeleteQueries(GLsizei n, const GLuint* ids);
207 static void GL_BINDING_CALL
208 Mock_glDeleteQueriesARB(GLsizei n, const GLuint* ids);
209 static void GL_BINDING_CALL
210 Mock_glDeleteQueriesEXT(GLsizei n, const GLuint* ids);
211 static void GL_BINDING_CALL
212 Mock_glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers);
213 static void GL_BINDING_CALL
214 Mock_glDeleteRenderbuffersEXT(GLsizei n, const GLuint* renderbuffers);
215 static void GL_BINDING_CALL
216 Mock_glDeleteSamplers(GLsizei n, const GLuint* samplers);
217 static void GL_BINDING_CALL Mock_glDeleteShader(GLuint shader);
218 static void GL_BINDING_CALL Mock_glDeleteSync(GLsync sync);
219 static void GL_BINDING_CALL
220 Mock_glDeleteTextures(GLsizei n, const GLuint* textures);
221 static void GL_BINDING_CALL
222 Mock_glDeleteTransformFeedbacks(GLsizei n, const GLuint* ids);
223 static void GL_BINDING_CALL
224 Mock_glDeleteVertexArrays(GLsizei n, const GLuint* arrays);
225 static void GL_BINDING_CALL
226 Mock_glDeleteVertexArraysAPPLE(GLsizei n, const GLuint* arrays);
227 static void GL_BINDING_CALL
228 Mock_glDeleteVertexArraysOES(GLsizei n, const GLuint* arrays);
229 static void GL_BINDING_CALL Mock_glDepthFunc(GLenum func);
230 static void GL_BINDING_CALL Mock_glDepthMask(GLboolean flag);
231 static void GL_BINDING_CALL Mock_glDepthRange(GLclampd zNear, GLclampd zFar);
232 static void GL_BINDING_CALL Mock_glDepthRangef(GLclampf zNear, GLclampf zFar);
233 static void GL_BINDING_CALL Mock_glDetachShader(GLuint program, GLuint shader);
234 static void GL_BINDING_CALL Mock_glDisable(GLenum cap);
235 static void GL_BINDING_CALL Mock_glDisableVertexAttribArray(GLuint index);
236 static void GL_BINDING_CALL
237 Mock_glDiscardFramebufferEXT(GLenum target,
238 GLsizei numAttachments,
239 const GLenum* attachments);
240 static void GL_BINDING_CALL
241 Mock_glDrawArrays(GLenum mode, GLint first, GLsizei count);
242 static void GL_BINDING_CALL Mock_glDrawArraysInstanced(GLenum mode,
243 GLint first,
244 GLsizei count,
245 GLsizei primcount);
246 static void GL_BINDING_CALL Mock_glDrawArraysInstancedANGLE(GLenum mode,
247 GLint first,
248 GLsizei count,
249 GLsizei primcount);
250 static void GL_BINDING_CALL Mock_glDrawArraysInstancedARB(GLenum mode,
251 GLint first,
252 GLsizei count,
253 GLsizei primcount);
254 static void GL_BINDING_CALL Mock_glDrawBuffer(GLenum mode);
255 static void GL_BINDING_CALL Mock_glDrawBuffers(GLsizei n, const GLenum* bufs);
256 static void GL_BINDING_CALL
257 Mock_glDrawBuffersARB(GLsizei n, const GLenum* bufs);
258 static void GL_BINDING_CALL
259 Mock_glDrawBuffersEXT(GLsizei n, const GLenum* bufs);
260 static void GL_BINDING_CALL Mock_glDrawElements(GLenum mode,
261 GLsizei count,
262 GLenum type,
263 const void* indices);
264 static void GL_BINDING_CALL Mock_glDrawElementsInstanced(GLenum mode,
265 GLsizei count,
266 GLenum type,
267 const void* indices,
268 GLsizei primcount);
269 static void GL_BINDING_CALL
270 Mock_glDrawElementsInstancedANGLE(GLenum mode,
271 GLsizei count,
272 GLenum type,
273 const void* indices,
274 GLsizei primcount);
275 static void GL_BINDING_CALL Mock_glDrawElementsInstancedARB(GLenum mode,
276 GLsizei count,
277 GLenum type,
278 const void* indices,
279 GLsizei primcount);
280 static void GL_BINDING_CALL Mock_glDrawRangeElements(GLenum mode,
281 GLuint start,
282 GLuint end,
283 GLsizei count,
284 GLenum type,
285 const void* indices);
286 static void GL_BINDING_CALL
287 Mock_glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image);
288 static void GL_BINDING_CALL
289 Mock_glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image);
290 static void GL_BINDING_CALL Mock_glEnable(GLenum cap);
291 static void GL_BINDING_CALL Mock_glEnableVertexAttribArray(GLuint index);
292 static void GL_BINDING_CALL Mock_glEndQuery(GLenum target);
293 static void GL_BINDING_CALL Mock_glEndQueryARB(GLenum target);
294 static void GL_BINDING_CALL Mock_glEndQueryEXT(GLenum target);
295 static void GL_BINDING_CALL Mock_glEndTransformFeedback(void);
296 static GLsync GL_BINDING_CALL
297 Mock_glFenceSync(GLenum condition, GLbitfield flags);
298 static void GL_BINDING_CALL Mock_glFinish(void);
299 static void GL_BINDING_CALL Mock_glFinishFenceAPPLE(GLuint fence);
300 static void GL_BINDING_CALL Mock_glFinishFenceNV(GLuint fence);
301 static void GL_BINDING_CALL Mock_glFlush(void);
302 static void GL_BINDING_CALL Mock_glFlushMappedBufferRange(GLenum target,
303 GLintptr offset,
304 GLsizeiptr length);
305 static void GL_BINDING_CALL
306 Mock_glFramebufferRenderbuffer(GLenum target,
307 GLenum attachment,
308 GLenum renderbuffertarget,
309 GLuint renderbuffer);
310 static void GL_BINDING_CALL
311 Mock_glFramebufferRenderbufferEXT(GLenum target,
312 GLenum attachment,
313 GLenum renderbuffertarget,
314 GLuint renderbuffer);
315 static void GL_BINDING_CALL Mock_glFramebufferTexture2D(GLenum target,
316 GLenum attachment,
317 GLenum textarget,
318 GLuint texture,
319 GLint level);
320 static void GL_BINDING_CALL Mock_glFramebufferTexture2DEXT(GLenum target,
321 GLenum attachment,
322 GLenum textarget,
323 GLuint texture,
324 GLint level);
325 static void GL_BINDING_CALL
326 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target,
327 GLenum attachment,
328 GLenum textarget,
329 GLuint texture,
330 GLint level,
331 GLsizei samples);
332 static void GL_BINDING_CALL
333 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target,
334 GLenum attachment,
335 GLenum textarget,
336 GLuint texture,
337 GLint level,
338 GLsizei samples);
339 static void GL_BINDING_CALL Mock_glFramebufferTextureLayer(GLenum target,
340 GLenum attachment,
341 GLuint texture,
342 GLint level,
343 GLint layer);
344 static void GL_BINDING_CALL Mock_glFrontFace(GLenum mode);
345 static void GL_BINDING_CALL Mock_glGenBuffers(GLsizei n, GLuint* buffers);
346 static void GL_BINDING_CALL Mock_glGenFencesAPPLE(GLsizei n, GLuint* fences);
347 static void GL_BINDING_CALL Mock_glGenFencesNV(GLsizei n, GLuint* fences);
348 static void GL_BINDING_CALL
349 Mock_glGenFramebuffers(GLsizei n, GLuint* framebuffers);
350 static void GL_BINDING_CALL
351 Mock_glGenFramebuffersEXT(GLsizei n, GLuint* framebuffers);
352 static void GL_BINDING_CALL Mock_glGenQueries(GLsizei n, GLuint* ids);
353 static void GL_BINDING_CALL Mock_glGenQueriesARB(GLsizei n, GLuint* ids);
354 static void GL_BINDING_CALL Mock_glGenQueriesEXT(GLsizei n, GLuint* ids);
355 static void GL_BINDING_CALL
356 Mock_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers);
357 static void GL_BINDING_CALL
358 Mock_glGenRenderbuffersEXT(GLsizei n, GLuint* renderbuffers);
359 static void GL_BINDING_CALL Mock_glGenSamplers(GLsizei n, GLuint* samplers);
360 static void GL_BINDING_CALL Mock_glGenTextures(GLsizei n, GLuint* textures);
361 static void GL_BINDING_CALL
362 Mock_glGenTransformFeedbacks(GLsizei n, GLuint* ids);
363 static void GL_BINDING_CALL Mock_glGenVertexArrays(GLsizei n, GLuint* arrays);
364 static void GL_BINDING_CALL
365 Mock_glGenVertexArraysAPPLE(GLsizei n, GLuint* arrays);
366 static void GL_BINDING_CALL
367 Mock_glGenVertexArraysOES(GLsizei n, GLuint* arrays);
368 static void GL_BINDING_CALL Mock_glGenerateMipmap(GLenum target);
369 static void GL_BINDING_CALL Mock_glGenerateMipmapEXT(GLenum target);
370 static void GL_BINDING_CALL Mock_glGetActiveAttrib(GLuint program,
371 GLuint index,
372 GLsizei bufsize,
373 GLsizei* length,
374 GLint* size,
375 GLenum* type,
376 char* name);
377 static void GL_BINDING_CALL Mock_glGetActiveUniform(GLuint program,
378 GLuint index,
379 GLsizei bufsize,
380 GLsizei* length,
381 GLint* size,
382 GLenum* type,
383 char* name);
384 static void GL_BINDING_CALL
385 Mock_glGetActiveUniformBlockName(GLuint program,
386 GLuint uniformBlockIndex,
387 GLsizei bufSize,
388 GLsizei* length,
389 char* uniformBlockName);
390 static void GL_BINDING_CALL
391 Mock_glGetActiveUniformBlockiv(GLuint program,
392 GLuint uniformBlockIndex,
393 GLenum pname,
394 GLint* params);
395 static void GL_BINDING_CALL
396 Mock_glGetActiveUniformsiv(GLuint program,
397 GLsizei uniformCount,
398 const GLuint* uniformIndices,
399 GLenum pname,
400 GLint* params);
401 static void GL_BINDING_CALL Mock_glGetAttachedShaders(GLuint program,
402 GLsizei maxcount,
403 GLsizei* count,
404 GLuint* shaders);
405 static GLint GL_BINDING_CALL
406 Mock_glGetAttribLocation(GLuint program, const char* name);
407 static void GL_BINDING_CALL Mock_glGetBooleanv(GLenum pname, GLboolean* params);
408 static void GL_BINDING_CALL
409 Mock_glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params);
410 static GLenum GL_BINDING_CALL Mock_glGetError(void);
411 static void GL_BINDING_CALL
412 Mock_glGetFenceivNV(GLuint fence, GLenum pname, GLint* params);
413 static void GL_BINDING_CALL Mock_glGetFloatv(GLenum pname, GLfloat* params);
414 static GLint GL_BINDING_CALL
415 Mock_glGetFragDataLocation(GLuint program, const char* name);
416 static void GL_BINDING_CALL
417 Mock_glGetFramebufferAttachmentParameteriv(GLenum target,
418 GLenum attachment,
419 GLenum pname,
420 GLint* params);
421 static void GL_BINDING_CALL
422 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target,
423 GLenum attachment,
424 GLenum pname,
425 GLint* params);
426 static GLenum GL_BINDING_CALL Mock_glGetGraphicsResetStatus(void);
427 static GLenum GL_BINDING_CALL Mock_glGetGraphicsResetStatusARB(void);
428 static GLenum GL_BINDING_CALL Mock_glGetGraphicsResetStatusEXT(void);
429 static GLenum GL_BINDING_CALL Mock_glGetGraphicsResetStatusKHR(void);
430 static void GL_BINDING_CALL
431 Mock_glGetInteger64i_v(GLenum target, GLuint index, GLint64* data);
432 static void GL_BINDING_CALL Mock_glGetInteger64v(GLenum pname, GLint64* params);
433 static void GL_BINDING_CALL
434 Mock_glGetIntegeri_v(GLenum target, GLuint index, GLint* data);
435 static void GL_BINDING_CALL Mock_glGetIntegerv(GLenum pname, GLint* params);
436 static void GL_BINDING_CALL Mock_glGetInternalformativ(GLenum target,
437 GLenum internalformat,
438 GLenum pname,
439 GLsizei bufSize,
440 GLint* params);
441 static void GL_BINDING_CALL Mock_glGetProgramBinary(GLuint program,
442 GLsizei bufSize,
443 GLsizei* length,
444 GLenum* binaryFormat,
445 GLvoid* binary);
446 static void GL_BINDING_CALL Mock_glGetProgramBinaryOES(GLuint program,
447 GLsizei bufSize,
448 GLsizei* length,
449 GLenum* binaryFormat,
450 GLvoid* binary);
451 static void GL_BINDING_CALL Mock_glGetProgramInfoLog(GLuint program,
452 GLsizei bufsize,
453 GLsizei* length,
454 char* infolog);
455 static GLint GL_BINDING_CALL
456 Mock_glGetProgramResourceLocation(GLuint program,
457 GLenum programInterface,
458 const char* name);
459 static void GL_BINDING_CALL
460 Mock_glGetProgramiv(GLuint program, GLenum pname, GLint* params);
461 static void GL_BINDING_CALL
462 Mock_glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64* params);
463 static void GL_BINDING_CALL
464 Mock_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64* params);
465 static void GL_BINDING_CALL
466 Mock_glGetQueryObjectiv(GLuint id, GLenum pname, GLint* params);
467 static void GL_BINDING_CALL
468 Mock_glGetQueryObjectivARB(GLuint id, GLenum pname, GLint* params);
469 static void GL_BINDING_CALL
470 Mock_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint* params);
471 static void GL_BINDING_CALL
472 Mock_glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64* params);
473 static void GL_BINDING_CALL
474 Mock_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params);
475 static void GL_BINDING_CALL
476 Mock_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params);
477 static void GL_BINDING_CALL
478 Mock_glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint* params);
479 static void GL_BINDING_CALL
480 Mock_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params);
481 static void GL_BINDING_CALL
482 Mock_glGetQueryiv(GLenum target, GLenum pname, GLint* params);
483 static void GL_BINDING_CALL
484 Mock_glGetQueryivARB(GLenum target, GLenum pname, GLint* params);
485 static void GL_BINDING_CALL
486 Mock_glGetQueryivEXT(GLenum target, GLenum pname, GLint* params);
487 static void GL_BINDING_CALL
488 Mock_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
489 static void GL_BINDING_CALL Mock_glGetRenderbufferParameterivEXT(GLenum target,
490 GLenum pname,
491 GLint* params);
492 static void GL_BINDING_CALL
493 Mock_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
494 static void GL_BINDING_CALL
495 Mock_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
496 static void GL_BINDING_CALL Mock_glGetShaderInfoLog(GLuint shader,
497 GLsizei bufsize,
498 GLsizei* length,
499 char* infolog);
500 static void GL_BINDING_CALL
501 Mock_glGetShaderPrecisionFormat(GLenum shadertype,
502 GLenum precisiontype,
503 GLint* range,
504 GLint* precision);
505 static void GL_BINDING_CALL Mock_glGetShaderSource(GLuint shader,
506 GLsizei bufsize,
507 GLsizei* length,
508 char* source);
509 static void GL_BINDING_CALL
510 Mock_glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
511 static const GLubyte* GL_BINDING_CALL Mock_glGetString(GLenum name);
512 static const GLubyte* GL_BINDING_CALL
513 Mock_glGetStringi(GLenum name, GLuint index);
514 static void GL_BINDING_CALL Mock_glGetSynciv(GLsync sync,
515 GLenum pname,
516 GLsizei bufSize,
517 GLsizei* length,
518 GLint* values);
519 static void GL_BINDING_CALL Mock_glGetTexLevelParameterfv(GLenum target,
520 GLint level,
521 GLenum pname,
522 GLfloat* params);
523 static void GL_BINDING_CALL Mock_glGetTexLevelParameteriv(GLenum target,
524 GLint level,
525 GLenum pname,
526 GLint* params);
527 static void GL_BINDING_CALL
528 Mock_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
529 static void GL_BINDING_CALL
530 Mock_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
531 static void GL_BINDING_CALL Mock_glGetTransformFeedbackVarying(GLuint program,
532 GLuint index,
533 GLsizei bufSize,
534 GLsizei* length,
535 GLsizei* size,
536 GLenum* type,
537 char* name);
538 static void GL_BINDING_CALL
539 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader,
540 GLsizei bufsize,
541 GLsizei* length,
542 char* source);
543 static GLuint GL_BINDING_CALL
544 Mock_glGetUniformBlockIndex(GLuint program, const char* uniformBlockName);
545 static void GL_BINDING_CALL
546 Mock_glGetUniformIndices(GLuint program,
547 GLsizei uniformCount,
548 const char* const* uniformNames,
549 GLuint* uniformIndices);
550 static GLint GL_BINDING_CALL
551 Mock_glGetUniformLocation(GLuint program, const char* name);
552 static void GL_BINDING_CALL
553 Mock_glGetUniformfv(GLuint program, GLint location, GLfloat* params);
554 static void GL_BINDING_CALL
555 Mock_glGetUniformiv(GLuint program, GLint location, GLint* params);
556 static void GL_BINDING_CALL
557 Mock_glGetUniformuiv(GLuint program, GLint location, GLuint* params);
558 static void GL_BINDING_CALL
559 Mock_glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
560 static void GL_BINDING_CALL
561 Mock_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
562 static void GL_BINDING_CALL
563 Mock_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
564 static void GL_BINDING_CALL Mock_glHint(GLenum target, GLenum mode);
565 static void GL_BINDING_CALL
566 Mock_glInsertEventMarkerEXT(GLsizei length, const char* marker);
567 static void GL_BINDING_CALL
568 Mock_glInvalidateFramebuffer(GLenum target,
569 GLsizei numAttachments,
570 const GLenum* attachments);
571 static void GL_BINDING_CALL
572 Mock_glInvalidateSubFramebuffer(GLenum target,
573 GLsizei numAttachments,
574 const GLenum* attachments,
575 GLint x,
576 GLint y,
577 GLint width,
578 GLint height);
579 static GLboolean GL_BINDING_CALL Mock_glIsBuffer(GLuint buffer);
580 static GLboolean GL_BINDING_CALL Mock_glIsEnabled(GLenum cap);
581 static GLboolean GL_BINDING_CALL Mock_glIsFenceAPPLE(GLuint fence);
582 static GLboolean GL_BINDING_CALL Mock_glIsFenceNV(GLuint fence);
583 static GLboolean GL_BINDING_CALL Mock_glIsFramebuffer(GLuint framebuffer);
584 static GLboolean GL_BINDING_CALL Mock_glIsFramebufferEXT(GLuint framebuffer);
585 static GLboolean GL_BINDING_CALL Mock_glIsProgram(GLuint program);
586 static GLboolean GL_BINDING_CALL Mock_glIsQuery(GLuint query);
587 static GLboolean GL_BINDING_CALL Mock_glIsQueryARB(GLuint query);
588 static GLboolean GL_BINDING_CALL Mock_glIsQueryEXT(GLuint query);
589 static GLboolean GL_BINDING_CALL Mock_glIsRenderbuffer(GLuint renderbuffer);
590 static GLboolean GL_BINDING_CALL Mock_glIsRenderbufferEXT(GLuint renderbuffer);
591 static GLboolean GL_BINDING_CALL Mock_glIsSampler(GLuint sampler);
592 static GLboolean GL_BINDING_CALL Mock_glIsShader(GLuint shader);
593 static GLboolean GL_BINDING_CALL Mock_glIsSync(GLsync sync);
594 static GLboolean GL_BINDING_CALL Mock_glIsTexture(GLuint texture);
595 static GLboolean GL_BINDING_CALL Mock_glIsTransformFeedback(GLuint id);
596 static GLboolean GL_BINDING_CALL Mock_glIsVertexArray(GLuint array);
597 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayAPPLE(GLuint array);
598 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayOES(GLuint array);
599 static void GL_BINDING_CALL Mock_glLineWidth(GLfloat width);
600 static void GL_BINDING_CALL Mock_glLinkProgram(GLuint program);
601 static void* GL_BINDING_CALL Mock_glMapBuffer(GLenum target, GLenum access);
602 static void* GL_BINDING_CALL Mock_glMapBufferOES(GLenum target, GLenum access);
603 static void* GL_BINDING_CALL Mock_glMapBufferRange(GLenum target,
604 GLintptr offset,
605 GLsizeiptr length,
606 GLbitfield access);
607 static void* GL_BINDING_CALL Mock_glMapBufferRangeEXT(GLenum target,
608 GLintptr offset,
609 GLsizeiptr length,
610 GLbitfield access);
611 static void GL_BINDING_CALL Mock_glMatrixLoadIdentityEXT(GLenum matrixMode);
612 static void GL_BINDING_CALL
613 Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m);
614 static void GL_BINDING_CALL Mock_glPauseTransformFeedback(void);
615 static void GL_BINDING_CALL Mock_glPixelStorei(GLenum pname, GLint param);
616 static void GL_BINDING_CALL Mock_glPointParameteri(GLenum pname, GLint param);
617 static void GL_BINDING_CALL Mock_glPolygonOffset(GLfloat factor, GLfloat units);
618 static void GL_BINDING_CALL Mock_glPopGroupMarkerEXT(void);
619 static void GL_BINDING_CALL Mock_glProgramBinary(GLuint program,
620 GLenum binaryFormat,
621 const GLvoid* binary,
622 GLsizei length);
623 static void GL_BINDING_CALL Mock_glProgramBinaryOES(GLuint program,
624 GLenum binaryFormat,
625 const GLvoid* binary,
626 GLsizei length);
627 static void GL_BINDING_CALL
628 Mock_glProgramParameteri(GLuint program, GLenum pname, GLint value);
629 static void GL_BINDING_CALL
630 Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker);
631 static void GL_BINDING_CALL Mock_glQueryCounter(GLuint id, GLenum target);
632 static void GL_BINDING_CALL Mock_glQueryCounterEXT(GLuint id, GLenum target);
633 static void GL_BINDING_CALL Mock_glReadBuffer(GLenum src);
634 static void GL_BINDING_CALL Mock_glReadPixels(GLint x,
635 GLint y,
636 GLsizei width,
637 GLsizei height,
638 GLenum format,
639 GLenum type,
640 void* pixels);
641 static void GL_BINDING_CALL Mock_glReleaseShaderCompiler(void);
642 static void GL_BINDING_CALL Mock_glRenderbufferStorage(GLenum target,
643 GLenum internalformat,
644 GLsizei width,
645 GLsizei height);
646 static void GL_BINDING_CALL Mock_glRenderbufferStorageEXT(GLenum target,
647 GLenum internalformat,
648 GLsizei width,
649 GLsizei height);
650 static void GL_BINDING_CALL
651 Mock_glRenderbufferStorageMultisample(GLenum target,
652 GLsizei samples,
653 GLenum internalformat,
654 GLsizei width,
655 GLsizei height);
656 static void GL_BINDING_CALL
657 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target,
658 GLsizei samples,
659 GLenum internalformat,
660 GLsizei width,
661 GLsizei height);
662 static void GL_BINDING_CALL
663 Mock_glRenderbufferStorageMultisampleEXT(GLenum target,
664 GLsizei samples,
665 GLenum internalformat,
666 GLsizei width,
667 GLsizei height);
668 static void GL_BINDING_CALL
669 Mock_glRenderbufferStorageMultisampleIMG(GLenum target,
670 GLsizei samples,
671 GLenum internalformat,
672 GLsizei width,
673 GLsizei height);
674 static void GL_BINDING_CALL Mock_glResumeTransformFeedback(void);
675 static void GL_BINDING_CALL
676 Mock_glSampleCoverage(GLclampf value, GLboolean invert);
677 static void GL_BINDING_CALL
678 Mock_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
679 static void GL_BINDING_CALL
680 Mock_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* params);
681 static void GL_BINDING_CALL
682 Mock_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
683 static void GL_BINDING_CALL
684 Mock_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* params);
685 static void GL_BINDING_CALL
686 Mock_glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
687 static void GL_BINDING_CALL Mock_glSetFenceAPPLE(GLuint fence);
688 static void GL_BINDING_CALL Mock_glSetFenceNV(GLuint fence, GLenum condition);
689 static void GL_BINDING_CALL Mock_glShaderBinary(GLsizei n,
690 const GLuint* shaders,
691 GLenum binaryformat,
692 const void* binary,
693 GLsizei length);
694 static void GL_BINDING_CALL Mock_glShaderSource(GLuint shader,
695 GLsizei count,
696 const char* const* str,
697 const GLint* length);
698 static void GL_BINDING_CALL
699 Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask);
700 static void GL_BINDING_CALL
701 Mock_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
702 static void GL_BINDING_CALL Mock_glStencilMask(GLuint mask);
703 static void GL_BINDING_CALL
704 Mock_glStencilMaskSeparate(GLenum face, GLuint mask);
705 static void GL_BINDING_CALL
706 Mock_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
707 static void GL_BINDING_CALL
708 Mock_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
709 static GLboolean GL_BINDING_CALL Mock_glTestFenceAPPLE(GLuint fence);
710 static GLboolean GL_BINDING_CALL Mock_glTestFenceNV(GLuint fence);
711 static void GL_BINDING_CALL Mock_glTexImage2D(GLenum target,
712 GLint level,
713 GLint internalformat,
714 GLsizei width,
715 GLsizei height,
716 GLint border,
717 GLenum format,
718 GLenum type,
719 const void* pixels);
720 static void GL_BINDING_CALL Mock_glTexImage3D(GLenum target,
721 GLint level,
722 GLint internalformat,
723 GLsizei width,
724 GLsizei height,
725 GLsizei depth,
726 GLint border,
727 GLenum format,
728 GLenum type,
729 const void* pixels);
730 static void GL_BINDING_CALL
731 Mock_glTexParameterf(GLenum target, GLenum pname, GLfloat param);
732 static void GL_BINDING_CALL
733 Mock_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
734 static void GL_BINDING_CALL
735 Mock_glTexParameteri(GLenum target, GLenum pname, GLint param);
736 static void GL_BINDING_CALL
737 Mock_glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
738 static void GL_BINDING_CALL Mock_glTexStorage2D(GLenum target,
739 GLsizei levels,
740 GLenum internalformat,
741 GLsizei width,
742 GLsizei height);
743 static void GL_BINDING_CALL Mock_glTexStorage2DEXT(GLenum target,
744 GLsizei levels,
745 GLenum internalformat,
746 GLsizei width,
747 GLsizei height);
748 static void GL_BINDING_CALL Mock_glTexStorage3D(GLenum target,
749 GLsizei levels,
750 GLenum internalformat,
751 GLsizei width,
752 GLsizei height,
753 GLsizei depth);
754 static void GL_BINDING_CALL Mock_glTexSubImage2D(GLenum target,
755 GLint level,
756 GLint xoffset,
757 GLint yoffset,
758 GLsizei width,
759 GLsizei height,
760 GLenum format,
761 GLenum type,
762 const void* pixels);
763 static void GL_BINDING_CALL Mock_glTexSubImage3D(GLenum target,
764 GLint level,
765 GLint xoffset,
766 GLint yoffset,
767 GLint zoffset,
768 GLsizei width,
769 GLsizei height,
770 GLsizei depth,
771 GLenum format,
772 GLenum type,
773 const void* pixels);
774 static void GL_BINDING_CALL
775 Mock_glTransformFeedbackVaryings(GLuint program,
776 GLsizei count,
777 const char* const* varyings,
778 GLenum bufferMode);
779 static void GL_BINDING_CALL Mock_glUniform1f(GLint location, GLfloat x);
780 static void GL_BINDING_CALL
781 Mock_glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
782 static void GL_BINDING_CALL Mock_glUniform1i(GLint location, GLint x);
783 static void GL_BINDING_CALL
784 Mock_glUniform1iv(GLint location, GLsizei count, const GLint* v);
785 static void GL_BINDING_CALL Mock_glUniform1ui(GLint location, GLuint v0);
786 static void GL_BINDING_CALL
787 Mock_glUniform1uiv(GLint location, GLsizei count, const GLuint* v);
788 static void GL_BINDING_CALL
789 Mock_glUniform2f(GLint location, GLfloat x, GLfloat y);
790 static void GL_BINDING_CALL
791 Mock_glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
792 static void GL_BINDING_CALL Mock_glUniform2i(GLint location, GLint x, GLint y);
793 static void GL_BINDING_CALL
794 Mock_glUniform2iv(GLint location, GLsizei count, const GLint* v);
795 static void GL_BINDING_CALL
796 Mock_glUniform2ui(GLint location, GLuint v0, GLuint v1);
797 static void GL_BINDING_CALL
798 Mock_glUniform2uiv(GLint location, GLsizei count, const GLuint* v);
799 static void GL_BINDING_CALL
800 Mock_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
801 static void GL_BINDING_CALL
802 Mock_glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
803 static void GL_BINDING_CALL
804 Mock_glUniform3i(GLint location, GLint x, GLint y, GLint z);
805 static void GL_BINDING_CALL
806 Mock_glUniform3iv(GLint location, GLsizei count, const GLint* v);
807 static void GL_BINDING_CALL
808 Mock_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
809 static void GL_BINDING_CALL
810 Mock_glUniform3uiv(GLint location, GLsizei count, const GLuint* v);
811 static void GL_BINDING_CALL
812 Mock_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
813 static void GL_BINDING_CALL
814 Mock_glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
815 static void GL_BINDING_CALL
816 Mock_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
817 static void GL_BINDING_CALL
818 Mock_glUniform4iv(GLint location, GLsizei count, const GLint* v);
819 static void GL_BINDING_CALL
820 Mock_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
821 static void GL_BINDING_CALL
822 Mock_glUniform4uiv(GLint location, GLsizei count, const GLuint* v);
823 static void GL_BINDING_CALL
824 Mock_glUniformBlockBinding(GLuint program,
825 GLuint uniformBlockIndex,
826 GLuint uniformBlockBinding);
827 static void GL_BINDING_CALL Mock_glUniformMatrix2fv(GLint location,
828 GLsizei count,
829 GLboolean transpose,
830 const GLfloat* value);
831 static void GL_BINDING_CALL Mock_glUniformMatrix2x3fv(GLint location,
832 GLsizei count,
833 GLboolean transpose,
834 const GLfloat* value);
835 static void GL_BINDING_CALL Mock_glUniformMatrix2x4fv(GLint location,
836 GLsizei count,
837 GLboolean transpose,
838 const GLfloat* value);
839 static void GL_BINDING_CALL Mock_glUniformMatrix3fv(GLint location,
840 GLsizei count,
841 GLboolean transpose,
842 const GLfloat* value);
843 static void GL_BINDING_CALL Mock_glUniformMatrix3x2fv(GLint location,
844 GLsizei count,
845 GLboolean transpose,
846 const GLfloat* value);
847 static void GL_BINDING_CALL Mock_glUniformMatrix3x4fv(GLint location,
848 GLsizei count,
849 GLboolean transpose,
850 const GLfloat* value);
851 static void GL_BINDING_CALL Mock_glUniformMatrix4fv(GLint location,
852 GLsizei count,
853 GLboolean transpose,
854 const GLfloat* value);
855 static void GL_BINDING_CALL Mock_glUniformMatrix4x2fv(GLint location,
856 GLsizei count,
857 GLboolean transpose,
858 const GLfloat* value);
859 static void GL_BINDING_CALL Mock_glUniformMatrix4x3fv(GLint location,
860 GLsizei count,
861 GLboolean transpose,
862 const GLfloat* value);
863 static GLboolean GL_BINDING_CALL Mock_glUnmapBuffer(GLenum target);
864 static GLboolean GL_BINDING_CALL Mock_glUnmapBufferOES(GLenum target);
865 static void GL_BINDING_CALL Mock_glUseProgram(GLuint program);
866 static void GL_BINDING_CALL Mock_glValidateProgram(GLuint program);
867 static void GL_BINDING_CALL Mock_glVertexAttrib1f(GLuint indx, GLfloat x);
868 static void GL_BINDING_CALL
869 Mock_glVertexAttrib1fv(GLuint indx, const GLfloat* values);
870 static void GL_BINDING_CALL
871 Mock_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
872 static void GL_BINDING_CALL
873 Mock_glVertexAttrib2fv(GLuint indx, const GLfloat* values);
874 static void GL_BINDING_CALL
875 Mock_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
876 static void GL_BINDING_CALL
877 Mock_glVertexAttrib3fv(GLuint indx, const GLfloat* values);
878 static void GL_BINDING_CALL
879 Mock_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
880 static void GL_BINDING_CALL
881 Mock_glVertexAttrib4fv(GLuint indx, const GLfloat* values);
882 static void GL_BINDING_CALL
883 Mock_glVertexAttribDivisor(GLuint index, GLuint divisor);
884 static void GL_BINDING_CALL
885 Mock_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor);
886 static void GL_BINDING_CALL
887 Mock_glVertexAttribDivisorARB(GLuint index, GLuint divisor);
888 static void GL_BINDING_CALL
889 Mock_glVertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w);
890 static void GL_BINDING_CALL
891 Mock_glVertexAttribI4iv(GLuint indx, const GLint* values);
892 static void GL_BINDING_CALL
893 Mock_glVertexAttribI4ui(GLuint indx, GLuint x, GLuint y, GLuint z, GLuint w);
894 static void GL_BINDING_CALL
895 Mock_glVertexAttribI4uiv(GLuint indx, const GLuint* values);
896 static void GL_BINDING_CALL Mock_glVertexAttribIPointer(GLuint indx,
897 GLint size,
898 GLenum type,
899 GLsizei stride,
900 const void* ptr);
901 static void GL_BINDING_CALL Mock_glVertexAttribPointer(GLuint indx,
902 GLint size,
903 GLenum type,
904 GLboolean normalized,
905 GLsizei stride,
906 const void* ptr);
907 static void GL_BINDING_CALL
908 Mock_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
909 static GLenum GL_BINDING_CALL
910 Mock_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);