Suppress data races in blink::Scheduler
[chromium-blink-merge.git] / ui / gl / gl_bindings_autogen_mock.h
blob4b1ff4b7fe20bff9d079d77ace30f7bc0d927d76
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_glCopyBufferSubData(GLenum readTarget,
152 GLenum writeTarget,
153 GLintptr readOffset,
154 GLintptr writeOffset,
155 GLsizeiptr size);
156 static void GL_BINDING_CALL Mock_glCopyTexImage2D(GLenum target,
157 GLint level,
158 GLenum internalformat,
159 GLint x,
160 GLint y,
161 GLsizei width,
162 GLsizei height,
163 GLint border);
164 static void GL_BINDING_CALL Mock_glCopyTexSubImage2D(GLenum target,
165 GLint level,
166 GLint xoffset,
167 GLint yoffset,
168 GLint x,
169 GLint y,
170 GLsizei width,
171 GLsizei height);
172 static void GL_BINDING_CALL Mock_glCopyTexSubImage3D(GLenum target,
173 GLint level,
174 GLint xoffset,
175 GLint yoffset,
176 GLint zoffset,
177 GLint x,
178 GLint y,
179 GLsizei width,
180 GLsizei height);
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,
232 GLint first,
233 GLsizei count,
234 GLsizei primcount);
235 static void GL_BINDING_CALL Mock_glDrawArraysInstancedANGLE(GLenum mode,
236 GLint first,
237 GLsizei count,
238 GLsizei primcount);
239 static void GL_BINDING_CALL Mock_glDrawArraysInstancedARB(GLenum mode,
240 GLint first,
241 GLsizei count,
242 GLsizei primcount);
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,
250 GLsizei count,
251 GLenum type,
252 const void* indices);
253 static void GL_BINDING_CALL Mock_glDrawElementsInstanced(GLenum mode,
254 GLsizei count,
255 GLenum type,
256 const void* indices,
257 GLsizei primcount);
258 static void GL_BINDING_CALL
259 Mock_glDrawElementsInstancedANGLE(GLenum mode,
260 GLsizei count,
261 GLenum type,
262 const void* indices,
263 GLsizei primcount);
264 static void GL_BINDING_CALL Mock_glDrawElementsInstancedARB(GLenum mode,
265 GLsizei count,
266 GLenum type,
267 const void* indices,
268 GLsizei primcount);
269 static void GL_BINDING_CALL Mock_glDrawRangeElements(GLenum mode,
270 GLuint start,
271 GLuint end,
272 GLsizei count,
273 GLenum type,
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,
292 GLintptr offset,
293 GLsizeiptr length);
294 static void GL_BINDING_CALL
295 Mock_glFramebufferRenderbuffer(GLenum target,
296 GLenum attachment,
297 GLenum renderbuffertarget,
298 GLuint renderbuffer);
299 static void GL_BINDING_CALL
300 Mock_glFramebufferRenderbufferEXT(GLenum target,
301 GLenum attachment,
302 GLenum renderbuffertarget,
303 GLuint renderbuffer);
304 static void GL_BINDING_CALL Mock_glFramebufferTexture2D(GLenum target,
305 GLenum attachment,
306 GLenum textarget,
307 GLuint texture,
308 GLint level);
309 static void GL_BINDING_CALL Mock_glFramebufferTexture2DEXT(GLenum target,
310 GLenum attachment,
311 GLenum textarget,
312 GLuint texture,
313 GLint level);
314 static void GL_BINDING_CALL
315 Mock_glFramebufferTexture2DMultisampleEXT(GLenum target,
316 GLenum attachment,
317 GLenum textarget,
318 GLuint texture,
319 GLint level,
320 GLsizei samples);
321 static void GL_BINDING_CALL
322 Mock_glFramebufferTexture2DMultisampleIMG(GLenum target,
323 GLenum attachment,
324 GLenum textarget,
325 GLuint texture,
326 GLint level,
327 GLsizei samples);
328 static void GL_BINDING_CALL Mock_glFramebufferTextureLayer(GLenum target,
329 GLenum attachment,
330 GLuint texture,
331 GLint level,
332 GLint layer);
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,
360 GLuint index,
361 GLsizei bufsize,
362 GLsizei* length,
363 GLint* size,
364 GLenum* type,
365 char* name);
366 static void GL_BINDING_CALL Mock_glGetActiveUniform(GLuint program,
367 GLuint index,
368 GLsizei bufsize,
369 GLsizei* length,
370 GLint* size,
371 GLenum* type,
372 char* name);
373 static void GL_BINDING_CALL
374 Mock_glGetActiveUniformBlockName(GLuint program,
375 GLuint uniformBlockIndex,
376 GLsizei bufSize,
377 GLsizei* length,
378 char* uniformBlockName);
379 static void GL_BINDING_CALL
380 Mock_glGetActiveUniformBlockiv(GLuint program,
381 GLuint uniformBlockIndex,
382 GLenum pname,
383 GLint* params);
384 static void GL_BINDING_CALL
385 Mock_glGetActiveUniformsiv(GLuint program,
386 GLsizei uniformCount,
387 const GLuint* uniformIndices,
388 GLenum pname,
389 GLint* params);
390 static void GL_BINDING_CALL Mock_glGetAttachedShaders(GLuint program,
391 GLsizei maxcount,
392 GLsizei* count,
393 GLuint* shaders);
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,
407 GLenum attachment,
408 GLenum pname,
409 GLint* params);
410 static void GL_BINDING_CALL
411 Mock_glGetFramebufferAttachmentParameterivEXT(GLenum target,
412 GLenum attachment,
413 GLenum pname,
414 GLint* params);
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,
427 GLenum pname,
428 GLsizei bufSize,
429 GLint* params);
430 static void GL_BINDING_CALL Mock_glGetProgramBinary(GLuint program,
431 GLsizei bufSize,
432 GLsizei* length,
433 GLenum* binaryFormat,
434 GLvoid* binary);
435 static void GL_BINDING_CALL Mock_glGetProgramBinaryOES(GLuint program,
436 GLsizei bufSize,
437 GLsizei* length,
438 GLenum* binaryFormat,
439 GLvoid* binary);
440 static void GL_BINDING_CALL Mock_glGetProgramInfoLog(GLuint program,
441 GLsizei bufsize,
442 GLsizei* length,
443 char* infolog);
444 static void GL_BINDING_CALL
445 Mock_glGetProgramiv(GLuint program, GLenum pname, GLint* params);
446 static void GL_BINDING_CALL
447 Mock_glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64* params);
448 static void GL_BINDING_CALL
449 Mock_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64* params);
450 static void GL_BINDING_CALL
451 Mock_glGetQueryObjectiv(GLuint id, GLenum pname, GLint* params);
452 static void GL_BINDING_CALL
453 Mock_glGetQueryObjectivARB(GLuint id, GLenum pname, GLint* params);
454 static void GL_BINDING_CALL
455 Mock_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint* params);
456 static void GL_BINDING_CALL
457 Mock_glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64* params);
458 static void GL_BINDING_CALL
459 Mock_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params);
460 static void GL_BINDING_CALL
461 Mock_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params);
462 static void GL_BINDING_CALL
463 Mock_glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint* params);
464 static void GL_BINDING_CALL
465 Mock_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params);
466 static void GL_BINDING_CALL
467 Mock_glGetQueryiv(GLenum target, GLenum pname, GLint* params);
468 static void GL_BINDING_CALL
469 Mock_glGetQueryivARB(GLenum target, GLenum pname, GLint* params);
470 static void GL_BINDING_CALL
471 Mock_glGetQueryivEXT(GLenum target, GLenum pname, GLint* params);
472 static void GL_BINDING_CALL
473 Mock_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
474 static void GL_BINDING_CALL Mock_glGetRenderbufferParameterivEXT(GLenum target,
475 GLenum pname,
476 GLint* params);
477 static void GL_BINDING_CALL
478 Mock_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
479 static void GL_BINDING_CALL
480 Mock_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
481 static void GL_BINDING_CALL Mock_glGetShaderInfoLog(GLuint shader,
482 GLsizei bufsize,
483 GLsizei* length,
484 char* infolog);
485 static void GL_BINDING_CALL
486 Mock_glGetShaderPrecisionFormat(GLenum shadertype,
487 GLenum precisiontype,
488 GLint* range,
489 GLint* precision);
490 static void GL_BINDING_CALL Mock_glGetShaderSource(GLuint shader,
491 GLsizei bufsize,
492 GLsizei* length,
493 char* source);
494 static void GL_BINDING_CALL
495 Mock_glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
496 static const GLubyte* GL_BINDING_CALL Mock_glGetString(GLenum name);
497 static void GL_BINDING_CALL Mock_glGetSynciv(GLsync sync,
498 GLenum pname,
499 GLsizei bufSize,
500 GLsizei* length,
501 GLint* values);
502 static void GL_BINDING_CALL Mock_glGetTexLevelParameterfv(GLenum target,
503 GLint level,
504 GLenum pname,
505 GLfloat* params);
506 static void GL_BINDING_CALL Mock_glGetTexLevelParameteriv(GLenum target,
507 GLint level,
508 GLenum pname,
509 GLint* params);
510 static void GL_BINDING_CALL
511 Mock_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
512 static void GL_BINDING_CALL
513 Mock_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
514 static void GL_BINDING_CALL Mock_glGetTransformFeedbackVarying(GLuint program,
515 GLuint index,
516 GLsizei bufSize,
517 GLsizei* length,
518 GLenum* type,
519 char* name);
520 static void GL_BINDING_CALL
521 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader,
522 GLsizei bufsize,
523 GLsizei* length,
524 char* source);
525 static GLuint GL_BINDING_CALL
526 Mock_glGetUniformBlockIndex(GLuint program, const char* uniformBlockName);
527 static void GL_BINDING_CALL
528 Mock_glGetUniformIndices(GLuint program,
529 GLsizei uniformCount,
530 const char* const* uniformNames,
531 GLuint* uniformIndices);
532 static GLint GL_BINDING_CALL
533 Mock_glGetUniformLocation(GLuint program, const char* name);
534 static void GL_BINDING_CALL
535 Mock_glGetUniformfv(GLuint program, GLint location, GLfloat* params);
536 static void GL_BINDING_CALL
537 Mock_glGetUniformiv(GLuint program, GLint location, GLint* params);
538 static void GL_BINDING_CALL
539 Mock_glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
540 static void GL_BINDING_CALL
541 Mock_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
542 static void GL_BINDING_CALL
543 Mock_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
544 static void GL_BINDING_CALL Mock_glHint(GLenum target, GLenum mode);
545 static void GL_BINDING_CALL
546 Mock_glInsertEventMarkerEXT(GLsizei length, const char* marker);
547 static void GL_BINDING_CALL
548 Mock_glInvalidateFramebuffer(GLenum target,
549 GLsizei numAttachments,
550 const GLenum* attachments);
551 static void GL_BINDING_CALL
552 Mock_glInvalidateSubFramebuffer(GLenum target,
553 GLsizei numAttachments,
554 const GLenum* attachments,
555 GLint x,
556 GLint y,
557 GLint width,
558 GLint height);
559 static GLboolean GL_BINDING_CALL Mock_glIsBuffer(GLuint buffer);
560 static GLboolean GL_BINDING_CALL Mock_glIsEnabled(GLenum cap);
561 static GLboolean GL_BINDING_CALL Mock_glIsFenceAPPLE(GLuint fence);
562 static GLboolean GL_BINDING_CALL Mock_glIsFenceNV(GLuint fence);
563 static GLboolean GL_BINDING_CALL Mock_glIsFramebuffer(GLuint framebuffer);
564 static GLboolean GL_BINDING_CALL Mock_glIsFramebufferEXT(GLuint framebuffer);
565 static GLboolean GL_BINDING_CALL Mock_glIsProgram(GLuint program);
566 static GLboolean GL_BINDING_CALL Mock_glIsQuery(GLuint query);
567 static GLboolean GL_BINDING_CALL Mock_glIsQueryARB(GLuint query);
568 static GLboolean GL_BINDING_CALL Mock_glIsQueryEXT(GLuint query);
569 static GLboolean GL_BINDING_CALL Mock_glIsRenderbuffer(GLuint renderbuffer);
570 static GLboolean GL_BINDING_CALL Mock_glIsRenderbufferEXT(GLuint renderbuffer);
571 static GLboolean GL_BINDING_CALL Mock_glIsSampler(GLuint sampler);
572 static GLboolean GL_BINDING_CALL Mock_glIsShader(GLuint shader);
573 static GLboolean GL_BINDING_CALL Mock_glIsSync(GLsync sync);
574 static GLboolean GL_BINDING_CALL Mock_glIsTexture(GLuint texture);
575 static GLboolean GL_BINDING_CALL Mock_glIsTransformFeedback(GLuint id);
576 static GLboolean GL_BINDING_CALL Mock_glIsVertexArray(GLuint array);
577 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayAPPLE(GLuint array);
578 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayOES(GLuint array);
579 static void GL_BINDING_CALL Mock_glLineWidth(GLfloat width);
580 static void GL_BINDING_CALL Mock_glLinkProgram(GLuint program);
581 static void* GL_BINDING_CALL Mock_glMapBuffer(GLenum target, GLenum access);
582 static void* GL_BINDING_CALL Mock_glMapBufferOES(GLenum target, GLenum access);
583 static void* GL_BINDING_CALL Mock_glMapBufferRange(GLenum target,
584 GLintptr offset,
585 GLsizeiptr length,
586 GLbitfield access);
587 static void* GL_BINDING_CALL Mock_glMapBufferRangeEXT(GLenum target,
588 GLintptr offset,
589 GLsizeiptr length,
590 GLbitfield access);
591 static void GL_BINDING_CALL Mock_glMatrixLoadIdentityEXT(GLenum matrixMode);
592 static void GL_BINDING_CALL
593 Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m);
594 static void GL_BINDING_CALL Mock_glPauseTransformFeedback(void);
595 static void GL_BINDING_CALL Mock_glPixelStorei(GLenum pname, GLint param);
596 static void GL_BINDING_CALL Mock_glPointParameteri(GLenum pname, GLint param);
597 static void GL_BINDING_CALL Mock_glPolygonOffset(GLfloat factor, GLfloat units);
598 static void GL_BINDING_CALL Mock_glPopGroupMarkerEXT(void);
599 static void GL_BINDING_CALL Mock_glProgramBinary(GLuint program,
600 GLenum binaryFormat,
601 const GLvoid* binary,
602 GLsizei length);
603 static void GL_BINDING_CALL Mock_glProgramBinaryOES(GLuint program,
604 GLenum binaryFormat,
605 const GLvoid* binary,
606 GLsizei length);
607 static void GL_BINDING_CALL
608 Mock_glProgramParameteri(GLuint program, GLenum pname, GLint value);
609 static void GL_BINDING_CALL
610 Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker);
611 static void GL_BINDING_CALL Mock_glQueryCounter(GLuint id, GLenum target);
612 static void GL_BINDING_CALL Mock_glQueryCounterEXT(GLuint id, GLenum target);
613 static void GL_BINDING_CALL Mock_glReadBuffer(GLenum src);
614 static void GL_BINDING_CALL Mock_glReadPixels(GLint x,
615 GLint y,
616 GLsizei width,
617 GLsizei height,
618 GLenum format,
619 GLenum type,
620 void* pixels);
621 static void GL_BINDING_CALL Mock_glReleaseShaderCompiler(void);
622 static void GL_BINDING_CALL Mock_glRenderbufferStorage(GLenum target,
623 GLenum internalformat,
624 GLsizei width,
625 GLsizei height);
626 static void GL_BINDING_CALL Mock_glRenderbufferStorageEXT(GLenum target,
627 GLenum internalformat,
628 GLsizei width,
629 GLsizei height);
630 static void GL_BINDING_CALL
631 Mock_glRenderbufferStorageMultisample(GLenum target,
632 GLsizei samples,
633 GLenum internalformat,
634 GLsizei width,
635 GLsizei height);
636 static void GL_BINDING_CALL
637 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target,
638 GLsizei samples,
639 GLenum internalformat,
640 GLsizei width,
641 GLsizei height);
642 static void GL_BINDING_CALL
643 Mock_glRenderbufferStorageMultisampleEXT(GLenum target,
644 GLsizei samples,
645 GLenum internalformat,
646 GLsizei width,
647 GLsizei height);
648 static void GL_BINDING_CALL
649 Mock_glRenderbufferStorageMultisampleIMG(GLenum target,
650 GLsizei samples,
651 GLenum internalformat,
652 GLsizei width,
653 GLsizei height);
654 static void GL_BINDING_CALL Mock_glResumeTransformFeedback(void);
655 static void GL_BINDING_CALL
656 Mock_glSampleCoverage(GLclampf value, GLboolean invert);
657 static void GL_BINDING_CALL
658 Mock_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
659 static void GL_BINDING_CALL
660 Mock_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* params);
661 static void GL_BINDING_CALL
662 Mock_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
663 static void GL_BINDING_CALL
664 Mock_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* params);
665 static void GL_BINDING_CALL
666 Mock_glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
667 static void GL_BINDING_CALL Mock_glSetFenceAPPLE(GLuint fence);
668 static void GL_BINDING_CALL Mock_glSetFenceNV(GLuint fence, GLenum condition);
669 static void GL_BINDING_CALL Mock_glShaderBinary(GLsizei n,
670 const GLuint* shaders,
671 GLenum binaryformat,
672 const void* binary,
673 GLsizei length);
674 static void GL_BINDING_CALL Mock_glShaderSource(GLuint shader,
675 GLsizei count,
676 const char* const* str,
677 const GLint* length);
678 static void GL_BINDING_CALL
679 Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask);
680 static void GL_BINDING_CALL
681 Mock_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
682 static void GL_BINDING_CALL Mock_glStencilMask(GLuint mask);
683 static void GL_BINDING_CALL
684 Mock_glStencilMaskSeparate(GLenum face, GLuint mask);
685 static void GL_BINDING_CALL
686 Mock_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
687 static void GL_BINDING_CALL
688 Mock_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
689 static GLboolean GL_BINDING_CALL Mock_glTestFenceAPPLE(GLuint fence);
690 static GLboolean GL_BINDING_CALL Mock_glTestFenceNV(GLuint fence);
691 static void GL_BINDING_CALL Mock_glTexImage2D(GLenum target,
692 GLint level,
693 GLint internalformat,
694 GLsizei width,
695 GLsizei height,
696 GLint border,
697 GLenum format,
698 GLenum type,
699 const void* pixels);
700 static void GL_BINDING_CALL Mock_glTexImage3D(GLenum target,
701 GLint level,
702 GLint internalformat,
703 GLsizei width,
704 GLsizei height,
705 GLsizei depth,
706 GLint border,
707 GLenum format,
708 GLenum type,
709 const void* pixels);
710 static void GL_BINDING_CALL
711 Mock_glTexParameterf(GLenum target, GLenum pname, GLfloat param);
712 static void GL_BINDING_CALL
713 Mock_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
714 static void GL_BINDING_CALL
715 Mock_glTexParameteri(GLenum target, GLenum pname, GLint param);
716 static void GL_BINDING_CALL
717 Mock_glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
718 static void GL_BINDING_CALL Mock_glTexStorage2D(GLenum target,
719 GLsizei levels,
720 GLenum internalformat,
721 GLsizei width,
722 GLsizei height);
723 static void GL_BINDING_CALL Mock_glTexStorage2DEXT(GLenum target,
724 GLsizei levels,
725 GLenum internalformat,
726 GLsizei width,
727 GLsizei height);
728 static void GL_BINDING_CALL Mock_glTexStorage3D(GLenum target,
729 GLsizei levels,
730 GLenum internalformat,
731 GLsizei width,
732 GLsizei height,
733 GLsizei depth);
734 static void GL_BINDING_CALL Mock_glTexSubImage2D(GLenum target,
735 GLint level,
736 GLint xoffset,
737 GLint yoffset,
738 GLsizei width,
739 GLsizei height,
740 GLenum format,
741 GLenum type,
742 const void* pixels);
743 static void GL_BINDING_CALL
744 Mock_glTransformFeedbackVaryings(GLuint program,
745 GLsizei count,
746 const char* const* varyings,
747 GLenum bufferMode);
748 static void GL_BINDING_CALL Mock_glUniform1f(GLint location, GLfloat x);
749 static void GL_BINDING_CALL
750 Mock_glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
751 static void GL_BINDING_CALL Mock_glUniform1i(GLint location, GLint x);
752 static void GL_BINDING_CALL
753 Mock_glUniform1iv(GLint location, GLsizei count, const GLint* v);
754 static void GL_BINDING_CALL Mock_glUniform1ui(GLint location, GLuint v0);
755 static void GL_BINDING_CALL
756 Mock_glUniform1uiv(GLint location, GLsizei count, const GLuint* v);
757 static void GL_BINDING_CALL
758 Mock_glUniform2f(GLint location, GLfloat x, GLfloat y);
759 static void GL_BINDING_CALL
760 Mock_glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
761 static void GL_BINDING_CALL Mock_glUniform2i(GLint location, GLint x, GLint y);
762 static void GL_BINDING_CALL
763 Mock_glUniform2iv(GLint location, GLsizei count, const GLint* v);
764 static void GL_BINDING_CALL
765 Mock_glUniform2ui(GLint location, GLuint v0, GLuint v1);
766 static void GL_BINDING_CALL
767 Mock_glUniform2uiv(GLint location, GLsizei count, const GLuint* v);
768 static void GL_BINDING_CALL
769 Mock_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
770 static void GL_BINDING_CALL
771 Mock_glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
772 static void GL_BINDING_CALL
773 Mock_glUniform3i(GLint location, GLint x, GLint y, GLint z);
774 static void GL_BINDING_CALL
775 Mock_glUniform3iv(GLint location, GLsizei count, const GLint* v);
776 static void GL_BINDING_CALL
777 Mock_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
778 static void GL_BINDING_CALL
779 Mock_glUniform3uiv(GLint location, GLsizei count, const GLuint* v);
780 static void GL_BINDING_CALL
781 Mock_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
782 static void GL_BINDING_CALL
783 Mock_glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
784 static void GL_BINDING_CALL
785 Mock_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
786 static void GL_BINDING_CALL
787 Mock_glUniform4iv(GLint location, GLsizei count, const GLint* v);
788 static void GL_BINDING_CALL
789 Mock_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
790 static void GL_BINDING_CALL
791 Mock_glUniform4uiv(GLint location, GLsizei count, const GLuint* v);
792 static void GL_BINDING_CALL
793 Mock_glUniformBlockBinding(GLuint program,
794 GLuint uniformBlockIndex,
795 GLuint uniformBlockBinding);
796 static void GL_BINDING_CALL Mock_glUniformMatrix2fv(GLint location,
797 GLsizei count,
798 GLboolean transpose,
799 const GLfloat* value);
800 static void GL_BINDING_CALL Mock_glUniformMatrix2x3fv(GLint location,
801 GLsizei count,
802 GLboolean transpose,
803 const GLfloat* value);
804 static void GL_BINDING_CALL Mock_glUniformMatrix2x4fv(GLint location,
805 GLsizei count,
806 GLboolean transpose,
807 const GLfloat* value);
808 static void GL_BINDING_CALL Mock_glUniformMatrix3fv(GLint location,
809 GLsizei count,
810 GLboolean transpose,
811 const GLfloat* value);
812 static void GL_BINDING_CALL Mock_glUniformMatrix3x2fv(GLint location,
813 GLsizei count,
814 GLboolean transpose,
815 const GLfloat* value);
816 static void GL_BINDING_CALL Mock_glUniformMatrix3x4fv(GLint location,
817 GLsizei count,
818 GLboolean transpose,
819 const GLfloat* value);
820 static void GL_BINDING_CALL Mock_glUniformMatrix4fv(GLint location,
821 GLsizei count,
822 GLboolean transpose,
823 const GLfloat* value);
824 static void GL_BINDING_CALL Mock_glUniformMatrix4x2fv(GLint location,
825 GLsizei count,
826 GLboolean transpose,
827 const GLfloat* value);
828 static void GL_BINDING_CALL Mock_glUniformMatrix4x3fv(GLint location,
829 GLsizei count,
830 GLboolean transpose,
831 const GLfloat* value);
832 static GLboolean GL_BINDING_CALL Mock_glUnmapBuffer(GLenum target);
833 static GLboolean GL_BINDING_CALL Mock_glUnmapBufferOES(GLenum target);
834 static void GL_BINDING_CALL Mock_glUseProgram(GLuint program);
835 static void GL_BINDING_CALL Mock_glValidateProgram(GLuint program);
836 static void GL_BINDING_CALL Mock_glVertexAttrib1f(GLuint indx, GLfloat x);
837 static void GL_BINDING_CALL
838 Mock_glVertexAttrib1fv(GLuint indx, const GLfloat* values);
839 static void GL_BINDING_CALL
840 Mock_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
841 static void GL_BINDING_CALL
842 Mock_glVertexAttrib2fv(GLuint indx, const GLfloat* values);
843 static void GL_BINDING_CALL
844 Mock_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
845 static void GL_BINDING_CALL
846 Mock_glVertexAttrib3fv(GLuint indx, const GLfloat* values);
847 static void GL_BINDING_CALL
848 Mock_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
849 static void GL_BINDING_CALL
850 Mock_glVertexAttrib4fv(GLuint indx, const GLfloat* values);
851 static void GL_BINDING_CALL
852 Mock_glVertexAttribDivisor(GLuint index, GLuint divisor);
853 static void GL_BINDING_CALL
854 Mock_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor);
855 static void GL_BINDING_CALL
856 Mock_glVertexAttribDivisorARB(GLuint index, GLuint divisor);
857 static void GL_BINDING_CALL
858 Mock_glVertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w);
859 static void GL_BINDING_CALL
860 Mock_glVertexAttribI4iv(GLuint indx, const GLint* values);
861 static void GL_BINDING_CALL
862 Mock_glVertexAttribI4ui(GLuint indx, GLuint x, GLuint y, GLuint z, GLuint w);
863 static void GL_BINDING_CALL
864 Mock_glVertexAttribI4uiv(GLuint indx, const GLuint* values);
865 static void GL_BINDING_CALL Mock_glVertexAttribIPointer(GLuint indx,
866 GLint size,
867 GLenum type,
868 GLsizei stride,
869 const void* ptr);
870 static void GL_BINDING_CALL Mock_glVertexAttribPointer(GLuint indx,
871 GLint size,
872 GLenum type,
873 GLboolean normalized,
874 GLsizei stride,
875 const void* ptr);
876 static void GL_BINDING_CALL
877 Mock_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
878 static GLenum GL_BINDING_CALL
879 Mock_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);