Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ui / gl / gl_bindings_autogen_mock.h
blob54c899391cf3a8e9a36903d598c738ef3045517c
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 GLint GL_BINDING_CALL
445 Mock_glGetProgramResourceLocation(GLuint program,
446 GLenum programInterface,
447 const char* name);
448 static void GL_BINDING_CALL
449 Mock_glGetProgramiv(GLuint program, GLenum pname, GLint* params);
450 static void GL_BINDING_CALL
451 Mock_glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64* params);
452 static void GL_BINDING_CALL
453 Mock_glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64* params);
454 static void GL_BINDING_CALL
455 Mock_glGetQueryObjectiv(GLuint id, GLenum pname, GLint* params);
456 static void GL_BINDING_CALL
457 Mock_glGetQueryObjectivARB(GLuint id, GLenum pname, GLint* params);
458 static void GL_BINDING_CALL
459 Mock_glGetQueryObjectivEXT(GLuint id, GLenum pname, GLint* params);
460 static void GL_BINDING_CALL
461 Mock_glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64* params);
462 static void GL_BINDING_CALL
463 Mock_glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params);
464 static void GL_BINDING_CALL
465 Mock_glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint* params);
466 static void GL_BINDING_CALL
467 Mock_glGetQueryObjectuivARB(GLuint id, GLenum pname, GLuint* params);
468 static void GL_BINDING_CALL
469 Mock_glGetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params);
470 static void GL_BINDING_CALL
471 Mock_glGetQueryiv(GLenum target, GLenum pname, GLint* params);
472 static void GL_BINDING_CALL
473 Mock_glGetQueryivARB(GLenum target, GLenum pname, GLint* params);
474 static void GL_BINDING_CALL
475 Mock_glGetQueryivEXT(GLenum target, GLenum pname, GLint* params);
476 static void GL_BINDING_CALL
477 Mock_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params);
478 static void GL_BINDING_CALL Mock_glGetRenderbufferParameterivEXT(GLenum target,
479 GLenum pname,
480 GLint* params);
481 static void GL_BINDING_CALL
482 Mock_glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat* params);
483 static void GL_BINDING_CALL
484 Mock_glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint* params);
485 static void GL_BINDING_CALL Mock_glGetShaderInfoLog(GLuint shader,
486 GLsizei bufsize,
487 GLsizei* length,
488 char* infolog);
489 static void GL_BINDING_CALL
490 Mock_glGetShaderPrecisionFormat(GLenum shadertype,
491 GLenum precisiontype,
492 GLint* range,
493 GLint* precision);
494 static void GL_BINDING_CALL Mock_glGetShaderSource(GLuint shader,
495 GLsizei bufsize,
496 GLsizei* length,
497 char* source);
498 static void GL_BINDING_CALL
499 Mock_glGetShaderiv(GLuint shader, GLenum pname, GLint* params);
500 static const GLubyte* GL_BINDING_CALL Mock_glGetString(GLenum name);
501 static const GLubyte* GL_BINDING_CALL
502 Mock_glGetStringi(GLenum name, GLuint index);
503 static void GL_BINDING_CALL Mock_glGetSynciv(GLsync sync,
504 GLenum pname,
505 GLsizei bufSize,
506 GLsizei* length,
507 GLint* values);
508 static void GL_BINDING_CALL Mock_glGetTexLevelParameterfv(GLenum target,
509 GLint level,
510 GLenum pname,
511 GLfloat* params);
512 static void GL_BINDING_CALL Mock_glGetTexLevelParameteriv(GLenum target,
513 GLint level,
514 GLenum pname,
515 GLint* params);
516 static void GL_BINDING_CALL
517 Mock_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params);
518 static void GL_BINDING_CALL
519 Mock_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params);
520 static void GL_BINDING_CALL Mock_glGetTransformFeedbackVarying(GLuint program,
521 GLuint index,
522 GLsizei bufSize,
523 GLsizei* length,
524 GLsizei* size,
525 GLenum* type,
526 char* name);
527 static void GL_BINDING_CALL
528 Mock_glGetTranslatedShaderSourceANGLE(GLuint shader,
529 GLsizei bufsize,
530 GLsizei* length,
531 char* source);
532 static GLuint GL_BINDING_CALL
533 Mock_glGetUniformBlockIndex(GLuint program, const char* uniformBlockName);
534 static void GL_BINDING_CALL
535 Mock_glGetUniformIndices(GLuint program,
536 GLsizei uniformCount,
537 const char* const* uniformNames,
538 GLuint* uniformIndices);
539 static GLint GL_BINDING_CALL
540 Mock_glGetUniformLocation(GLuint program, const char* name);
541 static void GL_BINDING_CALL
542 Mock_glGetUniformfv(GLuint program, GLint location, GLfloat* params);
543 static void GL_BINDING_CALL
544 Mock_glGetUniformiv(GLuint program, GLint location, GLint* params);
545 static void GL_BINDING_CALL
546 Mock_glGetVertexAttribPointerv(GLuint index, GLenum pname, void** pointer);
547 static void GL_BINDING_CALL
548 Mock_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params);
549 static void GL_BINDING_CALL
550 Mock_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params);
551 static void GL_BINDING_CALL Mock_glHint(GLenum target, GLenum mode);
552 static void GL_BINDING_CALL
553 Mock_glInsertEventMarkerEXT(GLsizei length, const char* marker);
554 static void GL_BINDING_CALL
555 Mock_glInvalidateFramebuffer(GLenum target,
556 GLsizei numAttachments,
557 const GLenum* attachments);
558 static void GL_BINDING_CALL
559 Mock_glInvalidateSubFramebuffer(GLenum target,
560 GLsizei numAttachments,
561 const GLenum* attachments,
562 GLint x,
563 GLint y,
564 GLint width,
565 GLint height);
566 static GLboolean GL_BINDING_CALL Mock_glIsBuffer(GLuint buffer);
567 static GLboolean GL_BINDING_CALL Mock_glIsEnabled(GLenum cap);
568 static GLboolean GL_BINDING_CALL Mock_glIsFenceAPPLE(GLuint fence);
569 static GLboolean GL_BINDING_CALL Mock_glIsFenceNV(GLuint fence);
570 static GLboolean GL_BINDING_CALL Mock_glIsFramebuffer(GLuint framebuffer);
571 static GLboolean GL_BINDING_CALL Mock_glIsFramebufferEXT(GLuint framebuffer);
572 static GLboolean GL_BINDING_CALL Mock_glIsProgram(GLuint program);
573 static GLboolean GL_BINDING_CALL Mock_glIsQuery(GLuint query);
574 static GLboolean GL_BINDING_CALL Mock_glIsQueryARB(GLuint query);
575 static GLboolean GL_BINDING_CALL Mock_glIsQueryEXT(GLuint query);
576 static GLboolean GL_BINDING_CALL Mock_glIsRenderbuffer(GLuint renderbuffer);
577 static GLboolean GL_BINDING_CALL Mock_glIsRenderbufferEXT(GLuint renderbuffer);
578 static GLboolean GL_BINDING_CALL Mock_glIsSampler(GLuint sampler);
579 static GLboolean GL_BINDING_CALL Mock_glIsShader(GLuint shader);
580 static GLboolean GL_BINDING_CALL Mock_glIsSync(GLsync sync);
581 static GLboolean GL_BINDING_CALL Mock_glIsTexture(GLuint texture);
582 static GLboolean GL_BINDING_CALL Mock_glIsTransformFeedback(GLuint id);
583 static GLboolean GL_BINDING_CALL Mock_glIsVertexArray(GLuint array);
584 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayAPPLE(GLuint array);
585 static GLboolean GL_BINDING_CALL Mock_glIsVertexArrayOES(GLuint array);
586 static void GL_BINDING_CALL Mock_glLineWidth(GLfloat width);
587 static void GL_BINDING_CALL Mock_glLinkProgram(GLuint program);
588 static void* GL_BINDING_CALL Mock_glMapBuffer(GLenum target, GLenum access);
589 static void* GL_BINDING_CALL Mock_glMapBufferOES(GLenum target, GLenum access);
590 static void* GL_BINDING_CALL Mock_glMapBufferRange(GLenum target,
591 GLintptr offset,
592 GLsizeiptr length,
593 GLbitfield access);
594 static void* GL_BINDING_CALL Mock_glMapBufferRangeEXT(GLenum target,
595 GLintptr offset,
596 GLsizeiptr length,
597 GLbitfield access);
598 static void GL_BINDING_CALL Mock_glMatrixLoadIdentityEXT(GLenum matrixMode);
599 static void GL_BINDING_CALL
600 Mock_glMatrixLoadfEXT(GLenum matrixMode, const GLfloat* m);
601 static void GL_BINDING_CALL Mock_glPauseTransformFeedback(void);
602 static void GL_BINDING_CALL Mock_glPixelStorei(GLenum pname, GLint param);
603 static void GL_BINDING_CALL Mock_glPointParameteri(GLenum pname, GLint param);
604 static void GL_BINDING_CALL Mock_glPolygonOffset(GLfloat factor, GLfloat units);
605 static void GL_BINDING_CALL Mock_glPopGroupMarkerEXT(void);
606 static void GL_BINDING_CALL Mock_glProgramBinary(GLuint program,
607 GLenum binaryFormat,
608 const GLvoid* binary,
609 GLsizei length);
610 static void GL_BINDING_CALL Mock_glProgramBinaryOES(GLuint program,
611 GLenum binaryFormat,
612 const GLvoid* binary,
613 GLsizei length);
614 static void GL_BINDING_CALL
615 Mock_glProgramParameteri(GLuint program, GLenum pname, GLint value);
616 static void GL_BINDING_CALL
617 Mock_glPushGroupMarkerEXT(GLsizei length, const char* marker);
618 static void GL_BINDING_CALL Mock_glQueryCounter(GLuint id, GLenum target);
619 static void GL_BINDING_CALL Mock_glQueryCounterEXT(GLuint id, GLenum target);
620 static void GL_BINDING_CALL Mock_glReadBuffer(GLenum src);
621 static void GL_BINDING_CALL Mock_glReadPixels(GLint x,
622 GLint y,
623 GLsizei width,
624 GLsizei height,
625 GLenum format,
626 GLenum type,
627 void* pixels);
628 static void GL_BINDING_CALL Mock_glReleaseShaderCompiler(void);
629 static void GL_BINDING_CALL Mock_glRenderbufferStorage(GLenum target,
630 GLenum internalformat,
631 GLsizei width,
632 GLsizei height);
633 static void GL_BINDING_CALL Mock_glRenderbufferStorageEXT(GLenum target,
634 GLenum internalformat,
635 GLsizei width,
636 GLsizei height);
637 static void GL_BINDING_CALL
638 Mock_glRenderbufferStorageMultisample(GLenum target,
639 GLsizei samples,
640 GLenum internalformat,
641 GLsizei width,
642 GLsizei height);
643 static void GL_BINDING_CALL
644 Mock_glRenderbufferStorageMultisampleANGLE(GLenum target,
645 GLsizei samples,
646 GLenum internalformat,
647 GLsizei width,
648 GLsizei height);
649 static void GL_BINDING_CALL
650 Mock_glRenderbufferStorageMultisampleEXT(GLenum target,
651 GLsizei samples,
652 GLenum internalformat,
653 GLsizei width,
654 GLsizei height);
655 static void GL_BINDING_CALL
656 Mock_glRenderbufferStorageMultisampleIMG(GLenum target,
657 GLsizei samples,
658 GLenum internalformat,
659 GLsizei width,
660 GLsizei height);
661 static void GL_BINDING_CALL Mock_glResumeTransformFeedback(void);
662 static void GL_BINDING_CALL
663 Mock_glSampleCoverage(GLclampf value, GLboolean invert);
664 static void GL_BINDING_CALL
665 Mock_glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
666 static void GL_BINDING_CALL
667 Mock_glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat* params);
668 static void GL_BINDING_CALL
669 Mock_glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
670 static void GL_BINDING_CALL
671 Mock_glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint* params);
672 static void GL_BINDING_CALL
673 Mock_glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
674 static void GL_BINDING_CALL Mock_glSetFenceAPPLE(GLuint fence);
675 static void GL_BINDING_CALL Mock_glSetFenceNV(GLuint fence, GLenum condition);
676 static void GL_BINDING_CALL Mock_glShaderBinary(GLsizei n,
677 const GLuint* shaders,
678 GLenum binaryformat,
679 const void* binary,
680 GLsizei length);
681 static void GL_BINDING_CALL Mock_glShaderSource(GLuint shader,
682 GLsizei count,
683 const char* const* str,
684 const GLint* length);
685 static void GL_BINDING_CALL
686 Mock_glStencilFunc(GLenum func, GLint ref, GLuint mask);
687 static void GL_BINDING_CALL
688 Mock_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
689 static void GL_BINDING_CALL Mock_glStencilMask(GLuint mask);
690 static void GL_BINDING_CALL
691 Mock_glStencilMaskSeparate(GLenum face, GLuint mask);
692 static void GL_BINDING_CALL
693 Mock_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
694 static void GL_BINDING_CALL
695 Mock_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass);
696 static GLboolean GL_BINDING_CALL Mock_glTestFenceAPPLE(GLuint fence);
697 static GLboolean GL_BINDING_CALL Mock_glTestFenceNV(GLuint fence);
698 static void GL_BINDING_CALL Mock_glTexImage2D(GLenum target,
699 GLint level,
700 GLint internalformat,
701 GLsizei width,
702 GLsizei height,
703 GLint border,
704 GLenum format,
705 GLenum type,
706 const void* pixels);
707 static void GL_BINDING_CALL Mock_glTexImage3D(GLenum target,
708 GLint level,
709 GLint internalformat,
710 GLsizei width,
711 GLsizei height,
712 GLsizei depth,
713 GLint border,
714 GLenum format,
715 GLenum type,
716 const void* pixels);
717 static void GL_BINDING_CALL
718 Mock_glTexParameterf(GLenum target, GLenum pname, GLfloat param);
719 static void GL_BINDING_CALL
720 Mock_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params);
721 static void GL_BINDING_CALL
722 Mock_glTexParameteri(GLenum target, GLenum pname, GLint param);
723 static void GL_BINDING_CALL
724 Mock_glTexParameteriv(GLenum target, GLenum pname, const GLint* params);
725 static void GL_BINDING_CALL Mock_glTexStorage2D(GLenum target,
726 GLsizei levels,
727 GLenum internalformat,
728 GLsizei width,
729 GLsizei height);
730 static void GL_BINDING_CALL Mock_glTexStorage2DEXT(GLenum target,
731 GLsizei levels,
732 GLenum internalformat,
733 GLsizei width,
734 GLsizei height);
735 static void GL_BINDING_CALL Mock_glTexStorage3D(GLenum target,
736 GLsizei levels,
737 GLenum internalformat,
738 GLsizei width,
739 GLsizei height,
740 GLsizei depth);
741 static void GL_BINDING_CALL Mock_glTexSubImage2D(GLenum target,
742 GLint level,
743 GLint xoffset,
744 GLint yoffset,
745 GLsizei width,
746 GLsizei height,
747 GLenum format,
748 GLenum type,
749 const void* pixels);
750 static void GL_BINDING_CALL
751 Mock_glTransformFeedbackVaryings(GLuint program,
752 GLsizei count,
753 const char* const* varyings,
754 GLenum bufferMode);
755 static void GL_BINDING_CALL Mock_glUniform1f(GLint location, GLfloat x);
756 static void GL_BINDING_CALL
757 Mock_glUniform1fv(GLint location, GLsizei count, const GLfloat* v);
758 static void GL_BINDING_CALL Mock_glUniform1i(GLint location, GLint x);
759 static void GL_BINDING_CALL
760 Mock_glUniform1iv(GLint location, GLsizei count, const GLint* v);
761 static void GL_BINDING_CALL Mock_glUniform1ui(GLint location, GLuint v0);
762 static void GL_BINDING_CALL
763 Mock_glUniform1uiv(GLint location, GLsizei count, const GLuint* v);
764 static void GL_BINDING_CALL
765 Mock_glUniform2f(GLint location, GLfloat x, GLfloat y);
766 static void GL_BINDING_CALL
767 Mock_glUniform2fv(GLint location, GLsizei count, const GLfloat* v);
768 static void GL_BINDING_CALL Mock_glUniform2i(GLint location, GLint x, GLint y);
769 static void GL_BINDING_CALL
770 Mock_glUniform2iv(GLint location, GLsizei count, const GLint* v);
771 static void GL_BINDING_CALL
772 Mock_glUniform2ui(GLint location, GLuint v0, GLuint v1);
773 static void GL_BINDING_CALL
774 Mock_glUniform2uiv(GLint location, GLsizei count, const GLuint* v);
775 static void GL_BINDING_CALL
776 Mock_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z);
777 static void GL_BINDING_CALL
778 Mock_glUniform3fv(GLint location, GLsizei count, const GLfloat* v);
779 static void GL_BINDING_CALL
780 Mock_glUniform3i(GLint location, GLint x, GLint y, GLint z);
781 static void GL_BINDING_CALL
782 Mock_glUniform3iv(GLint location, GLsizei count, const GLint* v);
783 static void GL_BINDING_CALL
784 Mock_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
785 static void GL_BINDING_CALL
786 Mock_glUniform3uiv(GLint location, GLsizei count, const GLuint* v);
787 static void GL_BINDING_CALL
788 Mock_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
789 static void GL_BINDING_CALL
790 Mock_glUniform4fv(GLint location, GLsizei count, const GLfloat* v);
791 static void GL_BINDING_CALL
792 Mock_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w);
793 static void GL_BINDING_CALL
794 Mock_glUniform4iv(GLint location, GLsizei count, const GLint* v);
795 static void GL_BINDING_CALL
796 Mock_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
797 static void GL_BINDING_CALL
798 Mock_glUniform4uiv(GLint location, GLsizei count, const GLuint* v);
799 static void GL_BINDING_CALL
800 Mock_glUniformBlockBinding(GLuint program,
801 GLuint uniformBlockIndex,
802 GLuint uniformBlockBinding);
803 static void GL_BINDING_CALL Mock_glUniformMatrix2fv(GLint location,
804 GLsizei count,
805 GLboolean transpose,
806 const GLfloat* value);
807 static void GL_BINDING_CALL Mock_glUniformMatrix2x3fv(GLint location,
808 GLsizei count,
809 GLboolean transpose,
810 const GLfloat* value);
811 static void GL_BINDING_CALL Mock_glUniformMatrix2x4fv(GLint location,
812 GLsizei count,
813 GLboolean transpose,
814 const GLfloat* value);
815 static void GL_BINDING_CALL Mock_glUniformMatrix3fv(GLint location,
816 GLsizei count,
817 GLboolean transpose,
818 const GLfloat* value);
819 static void GL_BINDING_CALL Mock_glUniformMatrix3x2fv(GLint location,
820 GLsizei count,
821 GLboolean transpose,
822 const GLfloat* value);
823 static void GL_BINDING_CALL Mock_glUniformMatrix3x4fv(GLint location,
824 GLsizei count,
825 GLboolean transpose,
826 const GLfloat* value);
827 static void GL_BINDING_CALL Mock_glUniformMatrix4fv(GLint location,
828 GLsizei count,
829 GLboolean transpose,
830 const GLfloat* value);
831 static void GL_BINDING_CALL Mock_glUniformMatrix4x2fv(GLint location,
832 GLsizei count,
833 GLboolean transpose,
834 const GLfloat* value);
835 static void GL_BINDING_CALL Mock_glUniformMatrix4x3fv(GLint location,
836 GLsizei count,
837 GLboolean transpose,
838 const GLfloat* value);
839 static GLboolean GL_BINDING_CALL Mock_glUnmapBuffer(GLenum target);
840 static GLboolean GL_BINDING_CALL Mock_glUnmapBufferOES(GLenum target);
841 static void GL_BINDING_CALL Mock_glUseProgram(GLuint program);
842 static void GL_BINDING_CALL Mock_glValidateProgram(GLuint program);
843 static void GL_BINDING_CALL Mock_glVertexAttrib1f(GLuint indx, GLfloat x);
844 static void GL_BINDING_CALL
845 Mock_glVertexAttrib1fv(GLuint indx, const GLfloat* values);
846 static void GL_BINDING_CALL
847 Mock_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y);
848 static void GL_BINDING_CALL
849 Mock_glVertexAttrib2fv(GLuint indx, const GLfloat* values);
850 static void GL_BINDING_CALL
851 Mock_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z);
852 static void GL_BINDING_CALL
853 Mock_glVertexAttrib3fv(GLuint indx, const GLfloat* values);
854 static void GL_BINDING_CALL
855 Mock_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
856 static void GL_BINDING_CALL
857 Mock_glVertexAttrib4fv(GLuint indx, const GLfloat* values);
858 static void GL_BINDING_CALL
859 Mock_glVertexAttribDivisor(GLuint index, GLuint divisor);
860 static void GL_BINDING_CALL
861 Mock_glVertexAttribDivisorANGLE(GLuint index, GLuint divisor);
862 static void GL_BINDING_CALL
863 Mock_glVertexAttribDivisorARB(GLuint index, GLuint divisor);
864 static void GL_BINDING_CALL
865 Mock_glVertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w);
866 static void GL_BINDING_CALL
867 Mock_glVertexAttribI4iv(GLuint indx, const GLint* values);
868 static void GL_BINDING_CALL
869 Mock_glVertexAttribI4ui(GLuint indx, GLuint x, GLuint y, GLuint z, GLuint w);
870 static void GL_BINDING_CALL
871 Mock_glVertexAttribI4uiv(GLuint indx, const GLuint* values);
872 static void GL_BINDING_CALL Mock_glVertexAttribIPointer(GLuint indx,
873 GLint size,
874 GLenum type,
875 GLsizei stride,
876 const void* ptr);
877 static void GL_BINDING_CALL Mock_glVertexAttribPointer(GLuint indx,
878 GLint size,
879 GLenum type,
880 GLboolean normalized,
881 GLsizei stride,
882 const void* ptr);
883 static void GL_BINDING_CALL
884 Mock_glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
885 static GLenum GL_BINDING_CALL
886 Mock_glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);