ozone: evdev: Sync caps lock LED state to evdev
[chromium-blink-merge.git] / ui / gl / gl_bindings_autogen_gl.h
blob643a2365adb44bc297e104e97382cd2243d0b5ea
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 #ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
12 #define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
14 namespace gfx {
16 class GLContext;
18 typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture);
19 typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program,
20 GLuint shader);
21 typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id);
22 typedef void(GL_BINDING_CALL* glBeginQueryARBProc)(GLenum target, GLuint id);
23 typedef void(GL_BINDING_CALL* glBeginTransformFeedbackProc)(
24 GLenum primitiveMode);
25 typedef void(GL_BINDING_CALL* glBindAttribLocationProc)(GLuint program,
26 GLuint index,
27 const char* name);
28 typedef void(GL_BINDING_CALL* glBindBufferProc)(GLenum target, GLuint buffer);
29 typedef void(GL_BINDING_CALL* glBindBufferBaseProc)(GLenum target,
30 GLuint index,
31 GLuint buffer);
32 typedef void(GL_BINDING_CALL* glBindBufferRangeProc)(GLenum target,
33 GLuint index,
34 GLuint buffer,
35 GLintptr offset,
36 GLsizeiptr size);
37 typedef void(GL_BINDING_CALL* glBindFragDataLocationProc)(GLuint program,
38 GLuint colorNumber,
39 const char* name);
40 typedef void(GL_BINDING_CALL* glBindFragDataLocationIndexedProc)(
41 GLuint program,
42 GLuint colorNumber,
43 GLuint index,
44 const char* name);
45 typedef void(GL_BINDING_CALL* glBindFramebufferEXTProc)(GLenum target,
46 GLuint framebuffer);
47 typedef void(GL_BINDING_CALL* glBindRenderbufferEXTProc)(GLenum target,
48 GLuint renderbuffer);
49 typedef void(GL_BINDING_CALL* glBindSamplerProc)(GLuint unit, GLuint sampler);
50 typedef void(GL_BINDING_CALL* glBindTextureProc)(GLenum target, GLuint texture);
51 typedef void(GL_BINDING_CALL* glBindTransformFeedbackProc)(GLenum target,
52 GLuint id);
53 typedef void(GL_BINDING_CALL* glBindVertexArrayOESProc)(GLuint array);
54 typedef void(GL_BINDING_CALL* glBlendBarrierKHRProc)(void);
55 typedef void(GL_BINDING_CALL* glBlendColorProc)(GLclampf red,
56 GLclampf green,
57 GLclampf blue,
58 GLclampf alpha);
59 typedef void(GL_BINDING_CALL* glBlendEquationProc)(GLenum mode);
60 typedef void(GL_BINDING_CALL* glBlendEquationSeparateProc)(GLenum modeRGB,
61 GLenum modeAlpha);
62 typedef void(GL_BINDING_CALL* glBlendFuncProc)(GLenum sfactor, GLenum dfactor);
63 typedef void(GL_BINDING_CALL* glBlendFuncSeparateProc)(GLenum srcRGB,
64 GLenum dstRGB,
65 GLenum srcAlpha,
66 GLenum dstAlpha);
67 typedef void(GL_BINDING_CALL* glBlitFramebufferProc)(GLint srcX0,
68 GLint srcY0,
69 GLint srcX1,
70 GLint srcY1,
71 GLint dstX0,
72 GLint dstY0,
73 GLint dstX1,
74 GLint dstY1,
75 GLbitfield mask,
76 GLenum filter);
77 typedef void(GL_BINDING_CALL* glBlitFramebufferANGLEProc)(GLint srcX0,
78 GLint srcY0,
79 GLint srcX1,
80 GLint srcY1,
81 GLint dstX0,
82 GLint dstY0,
83 GLint dstX1,
84 GLint dstY1,
85 GLbitfield mask,
86 GLenum filter);
87 typedef void(GL_BINDING_CALL* glBlitFramebufferEXTProc)(GLint srcX0,
88 GLint srcY0,
89 GLint srcX1,
90 GLint srcY1,
91 GLint dstX0,
92 GLint dstY0,
93 GLint dstX1,
94 GLint dstY1,
95 GLbitfield mask,
96 GLenum filter);
97 typedef void(GL_BINDING_CALL* glBufferDataProc)(GLenum target,
98 GLsizeiptr size,
99 const void* data,
100 GLenum usage);
101 typedef void(GL_BINDING_CALL* glBufferSubDataProc)(GLenum target,
102 GLintptr offset,
103 GLsizeiptr size,
104 const void* data);
105 typedef GLenum(GL_BINDING_CALL* glCheckFramebufferStatusEXTProc)(GLenum target);
106 typedef void(GL_BINDING_CALL* glClearProc)(GLbitfield mask);
107 typedef void(GL_BINDING_CALL* glClearBufferfiProc)(GLenum buffer,
108 GLint drawbuffer,
109 const GLfloat depth,
110 GLint stencil);
111 typedef void(GL_BINDING_CALL* glClearBufferfvProc)(GLenum buffer,
112 GLint drawbuffer,
113 const GLfloat* value);
114 typedef void(GL_BINDING_CALL* glClearBufferivProc)(GLenum buffer,
115 GLint drawbuffer,
116 const GLint* value);
117 typedef void(GL_BINDING_CALL* glClearBufferuivProc)(GLenum buffer,
118 GLint drawbuffer,
119 const GLuint* value);
120 typedef void(GL_BINDING_CALL* glClearColorProc)(GLclampf red,
121 GLclampf green,
122 GLclampf blue,
123 GLclampf alpha);
124 typedef void(GL_BINDING_CALL* glClearDepthProc)(GLclampd depth);
125 typedef void(GL_BINDING_CALL* glClearDepthfProc)(GLclampf depth);
126 typedef void(GL_BINDING_CALL* glClearStencilProc)(GLint s);
127 typedef GLenum(GL_BINDING_CALL* glClientWaitSyncProc)(GLsync sync,
128 GLbitfield flags,
129 GLuint64 timeout);
130 typedef void(GL_BINDING_CALL* glColorMaskProc)(GLboolean red,
131 GLboolean green,
132 GLboolean blue,
133 GLboolean alpha);
134 typedef void(GL_BINDING_CALL* glCompileShaderProc)(GLuint shader);
135 typedef void(GL_BINDING_CALL* glCompressedTexImage2DProc)(GLenum target,
136 GLint level,
137 GLenum internalformat,
138 GLsizei width,
139 GLsizei height,
140 GLint border,
141 GLsizei imageSize,
142 const void* data);
143 typedef void(GL_BINDING_CALL* glCompressedTexImage3DProc)(GLenum target,
144 GLint level,
145 GLenum internalformat,
146 GLsizei width,
147 GLsizei height,
148 GLsizei depth,
149 GLint border,
150 GLsizei imageSize,
151 const void* data);
152 typedef void(GL_BINDING_CALL* glCompressedTexSubImage2DProc)(GLenum target,
153 GLint level,
154 GLint xoffset,
155 GLint yoffset,
156 GLsizei width,
157 GLsizei height,
158 GLenum format,
159 GLsizei imageSize,
160 const void* data);
161 typedef void(GL_BINDING_CALL* glCopyBufferSubDataProc)(GLenum readTarget,
162 GLenum writeTarget,
163 GLintptr readOffset,
164 GLintptr writeOffset,
165 GLsizeiptr size);
166 typedef void(GL_BINDING_CALL* glCopyTexImage2DProc)(GLenum target,
167 GLint level,
168 GLenum internalformat,
169 GLint x,
170 GLint y,
171 GLsizei width,
172 GLsizei height,
173 GLint border);
174 typedef void(GL_BINDING_CALL* glCopyTexSubImage2DProc)(GLenum target,
175 GLint level,
176 GLint xoffset,
177 GLint yoffset,
178 GLint x,
179 GLint y,
180 GLsizei width,
181 GLsizei height);
182 typedef void(GL_BINDING_CALL* glCopyTexSubImage3DProc)(GLenum target,
183 GLint level,
184 GLint xoffset,
185 GLint yoffset,
186 GLint zoffset,
187 GLint x,
188 GLint y,
189 GLsizei width,
190 GLsizei height);
191 typedef GLuint(GL_BINDING_CALL* glCreateProgramProc)(void);
192 typedef GLuint(GL_BINDING_CALL* glCreateShaderProc)(GLenum type);
193 typedef void(GL_BINDING_CALL* glCullFaceProc)(GLenum mode);
194 typedef void(GL_BINDING_CALL* glDeleteBuffersARBProc)(GLsizei n,
195 const GLuint* buffers);
196 typedef void(GL_BINDING_CALL* glDeleteFencesAPPLEProc)(GLsizei n,
197 const GLuint* fences);
198 typedef void(GL_BINDING_CALL* glDeleteFencesNVProc)(GLsizei n,
199 const GLuint* fences);
200 typedef void(GL_BINDING_CALL* glDeleteFramebuffersEXTProc)(
201 GLsizei n,
202 const GLuint* framebuffers);
203 typedef void(GL_BINDING_CALL* glDeleteProgramProc)(GLuint program);
204 typedef void(GL_BINDING_CALL* glDeleteQueriesProc)(GLsizei n,
205 const GLuint* ids);
206 typedef void(GL_BINDING_CALL* glDeleteQueriesARBProc)(GLsizei n,
207 const GLuint* ids);
208 typedef void(GL_BINDING_CALL* glDeleteRenderbuffersEXTProc)(
209 GLsizei n,
210 const GLuint* renderbuffers);
211 typedef void(GL_BINDING_CALL* glDeleteSamplersProc)(GLsizei n,
212 const GLuint* samplers);
213 typedef void(GL_BINDING_CALL* glDeleteShaderProc)(GLuint shader);
214 typedef void(GL_BINDING_CALL* glDeleteSyncProc)(GLsync sync);
215 typedef void(GL_BINDING_CALL* glDeleteTexturesProc)(GLsizei n,
216 const GLuint* textures);
217 typedef void(GL_BINDING_CALL* glDeleteTransformFeedbacksProc)(
218 GLsizei n,
219 const GLuint* ids);
220 typedef void(GL_BINDING_CALL* glDeleteVertexArraysOESProc)(
221 GLsizei n,
222 const GLuint* arrays);
223 typedef void(GL_BINDING_CALL* glDepthFuncProc)(GLenum func);
224 typedef void(GL_BINDING_CALL* glDepthMaskProc)(GLboolean flag);
225 typedef void(GL_BINDING_CALL* glDepthRangeProc)(GLclampd zNear, GLclampd zFar);
226 typedef void(GL_BINDING_CALL* glDepthRangefProc)(GLclampf zNear, GLclampf zFar);
227 typedef void(GL_BINDING_CALL* glDetachShaderProc)(GLuint program,
228 GLuint shader);
229 typedef void(GL_BINDING_CALL* glDisableProc)(GLenum cap);
230 typedef void(GL_BINDING_CALL* glDisableVertexAttribArrayProc)(GLuint index);
231 typedef void(GL_BINDING_CALL* glDiscardFramebufferEXTProc)(
232 GLenum target,
233 GLsizei numAttachments,
234 const GLenum* attachments);
235 typedef void(GL_BINDING_CALL* glDrawArraysProc)(GLenum mode,
236 GLint first,
237 GLsizei count);
238 typedef void(GL_BINDING_CALL* glDrawArraysInstancedANGLEProc)(
239 GLenum mode,
240 GLint first,
241 GLsizei count,
242 GLsizei primcount);
243 typedef void(GL_BINDING_CALL* glDrawBufferProc)(GLenum mode);
244 typedef void(GL_BINDING_CALL* glDrawBuffersARBProc)(GLsizei n,
245 const GLenum* bufs);
246 typedef void(GL_BINDING_CALL* glDrawElementsProc)(GLenum mode,
247 GLsizei count,
248 GLenum type,
249 const void* indices);
250 typedef void(GL_BINDING_CALL* glDrawElementsInstancedANGLEProc)(
251 GLenum mode,
252 GLsizei count,
253 GLenum type,
254 const void* indices,
255 GLsizei primcount);
256 typedef void(GL_BINDING_CALL* glDrawRangeElementsProc)(GLenum mode,
257 GLuint start,
258 GLuint end,
259 GLsizei count,
260 GLenum type,
261 const void* indices);
262 typedef void(GL_BINDING_CALL* glEGLImageTargetRenderbufferStorageOESProc)(
263 GLenum target,
264 GLeglImageOES image);
265 typedef void(GL_BINDING_CALL* glEGLImageTargetTexture2DOESProc)(
266 GLenum target,
267 GLeglImageOES image);
268 typedef void(GL_BINDING_CALL* glEnableProc)(GLenum cap);
269 typedef void(GL_BINDING_CALL* glEnableVertexAttribArrayProc)(GLuint index);
270 typedef void(GL_BINDING_CALL* glEndQueryProc)(GLenum target);
271 typedef void(GL_BINDING_CALL* glEndQueryARBProc)(GLenum target);
272 typedef void(GL_BINDING_CALL* glEndTransformFeedbackProc)(void);
273 typedef GLsync(GL_BINDING_CALL* glFenceSyncProc)(GLenum condition,
274 GLbitfield flags);
275 typedef void(GL_BINDING_CALL* glFinishProc)(void);
276 typedef void(GL_BINDING_CALL* glFinishFenceAPPLEProc)(GLuint fence);
277 typedef void(GL_BINDING_CALL* glFinishFenceNVProc)(GLuint fence);
278 typedef void(GL_BINDING_CALL* glFlushProc)(void);
279 typedef void(GL_BINDING_CALL* glFlushMappedBufferRangeProc)(GLenum target,
280 GLintptr offset,
281 GLsizeiptr length);
282 typedef void(GL_BINDING_CALL* glFramebufferRenderbufferEXTProc)(
283 GLenum target,
284 GLenum attachment,
285 GLenum renderbuffertarget,
286 GLuint renderbuffer);
287 typedef void(GL_BINDING_CALL* glFramebufferTexture2DEXTProc)(GLenum target,
288 GLenum attachment,
289 GLenum textarget,
290 GLuint texture,
291 GLint level);
292 typedef void(GL_BINDING_CALL* glFramebufferTexture2DMultisampleEXTProc)(
293 GLenum target,
294 GLenum attachment,
295 GLenum textarget,
296 GLuint texture,
297 GLint level,
298 GLsizei samples);
299 typedef void(GL_BINDING_CALL* glFramebufferTexture2DMultisampleIMGProc)(
300 GLenum target,
301 GLenum attachment,
302 GLenum textarget,
303 GLuint texture,
304 GLint level,
305 GLsizei samples);
306 typedef void(GL_BINDING_CALL* glFramebufferTextureLayerProc)(GLenum target,
307 GLenum attachment,
308 GLuint texture,
309 GLint level,
310 GLint layer);
311 typedef void(GL_BINDING_CALL* glFrontFaceProc)(GLenum mode);
312 typedef void(GL_BINDING_CALL* glGenBuffersARBProc)(GLsizei n, GLuint* buffers);
313 typedef void(GL_BINDING_CALL* glGenerateMipmapEXTProc)(GLenum target);
314 typedef void(GL_BINDING_CALL* glGenFencesAPPLEProc)(GLsizei n, GLuint* fences);
315 typedef void(GL_BINDING_CALL* glGenFencesNVProc)(GLsizei n, GLuint* fences);
316 typedef void(GL_BINDING_CALL* glGenFramebuffersEXTProc)(GLsizei n,
317 GLuint* framebuffers);
318 typedef void(GL_BINDING_CALL* glGenQueriesProc)(GLsizei n, GLuint* ids);
319 typedef void(GL_BINDING_CALL* glGenQueriesARBProc)(GLsizei n, GLuint* ids);
320 typedef void(GL_BINDING_CALL* glGenRenderbuffersEXTProc)(GLsizei n,
321 GLuint* renderbuffers);
322 typedef void(GL_BINDING_CALL* glGenSamplersProc)(GLsizei n, GLuint* samplers);
323 typedef void(GL_BINDING_CALL* glGenTexturesProc)(GLsizei n, GLuint* textures);
324 typedef void(GL_BINDING_CALL* glGenTransformFeedbacksProc)(GLsizei n,
325 GLuint* ids);
326 typedef void(GL_BINDING_CALL* glGenVertexArraysOESProc)(GLsizei n,
327 GLuint* arrays);
328 typedef void(GL_BINDING_CALL* glGetActiveAttribProc)(GLuint program,
329 GLuint index,
330 GLsizei bufsize,
331 GLsizei* length,
332 GLint* size,
333 GLenum* type,
334 char* name);
335 typedef void(GL_BINDING_CALL* glGetActiveUniformProc)(GLuint program,
336 GLuint index,
337 GLsizei bufsize,
338 GLsizei* length,
339 GLint* size,
340 GLenum* type,
341 char* name);
342 typedef void(GL_BINDING_CALL* glGetActiveUniformBlockivProc)(
343 GLuint program,
344 GLuint uniformBlockIndex,
345 GLenum pname,
346 GLint* params);
347 typedef void(GL_BINDING_CALL* glGetActiveUniformBlockNameProc)(
348 GLuint program,
349 GLuint uniformBlockIndex,
350 GLsizei bufSize,
351 GLsizei* length,
352 char* uniformBlockName);
353 typedef void(GL_BINDING_CALL* glGetActiveUniformsivProc)(
354 GLuint program,
355 GLsizei uniformCount,
356 const GLuint* uniformIndices,
357 GLenum pname,
358 GLint* params);
359 typedef void(GL_BINDING_CALL* glGetAttachedShadersProc)(GLuint program,
360 GLsizei maxcount,
361 GLsizei* count,
362 GLuint* shaders);
363 typedef GLint(GL_BINDING_CALL* glGetAttribLocationProc)(GLuint program,
364 const char* name);
365 typedef void(GL_BINDING_CALL* glGetBooleanvProc)(GLenum pname,
366 GLboolean* params);
367 typedef void(GL_BINDING_CALL* glGetBufferParameterivProc)(GLenum target,
368 GLenum pname,
369 GLint* params);
370 typedef GLenum(GL_BINDING_CALL* glGetErrorProc)(void);
371 typedef void(GL_BINDING_CALL* glGetFenceivNVProc)(GLuint fence,
372 GLenum pname,
373 GLint* params);
374 typedef void(GL_BINDING_CALL* glGetFloatvProc)(GLenum pname, GLfloat* params);
375 typedef GLint(GL_BINDING_CALL* glGetFragDataLocationProc)(GLuint program,
376 const char* name);
377 typedef void(GL_BINDING_CALL* glGetFramebufferAttachmentParameterivEXTProc)(
378 GLenum target,
379 GLenum attachment,
380 GLenum pname,
381 GLint* params);
382 typedef GLenum(GL_BINDING_CALL* glGetGraphicsResetStatusARBProc)(void);
383 typedef void(GL_BINDING_CALL* glGetInteger64i_vProc)(GLenum target,
384 GLuint index,
385 GLint64* data);
386 typedef void(GL_BINDING_CALL* glGetInteger64vProc)(GLenum pname,
387 GLint64* params);
388 typedef void(GL_BINDING_CALL* glGetIntegeri_vProc)(GLenum target,
389 GLuint index,
390 GLint* data);
391 typedef void(GL_BINDING_CALL* glGetIntegervProc)(GLenum pname, GLint* params);
392 typedef void(GL_BINDING_CALL* glGetInternalformativProc)(GLenum target,
393 GLenum internalformat,
394 GLenum pname,
395 GLsizei bufSize,
396 GLint* params);
397 typedef void(GL_BINDING_CALL* glGetProgramBinaryProc)(GLuint program,
398 GLsizei bufSize,
399 GLsizei* length,
400 GLenum* binaryFormat,
401 GLvoid* binary);
402 typedef void(GL_BINDING_CALL* glGetProgramInfoLogProc)(GLuint program,
403 GLsizei bufsize,
404 GLsizei* length,
405 char* infolog);
406 typedef void(GL_BINDING_CALL* glGetProgramivProc)(GLuint program,
407 GLenum pname,
408 GLint* params);
409 typedef GLint(GL_BINDING_CALL* glGetProgramResourceLocationProc)(
410 GLuint program,
411 GLenum programInterface,
412 const char* name);
413 typedef void(GL_BINDING_CALL* glGetQueryivProc)(GLenum target,
414 GLenum pname,
415 GLint* params);
416 typedef void(GL_BINDING_CALL* glGetQueryivARBProc)(GLenum target,
417 GLenum pname,
418 GLint* params);
419 typedef void(GL_BINDING_CALL* glGetQueryObjecti64vProc)(GLuint id,
420 GLenum pname,
421 GLint64* params);
422 typedef void(GL_BINDING_CALL* glGetQueryObjectivProc)(GLuint id,
423 GLenum pname,
424 GLint* params);
425 typedef void(GL_BINDING_CALL* glGetQueryObjectivARBProc)(GLuint id,
426 GLenum pname,
427 GLint* params);
428 typedef void(GL_BINDING_CALL* glGetQueryObjectui64vProc)(GLuint id,
429 GLenum pname,
430 GLuint64* params);
431 typedef void(GL_BINDING_CALL* glGetQueryObjectuivProc)(GLuint id,
432 GLenum pname,
433 GLuint* params);
434 typedef void(GL_BINDING_CALL* glGetQueryObjectuivARBProc)(GLuint id,
435 GLenum pname,
436 GLuint* params);
437 typedef void(GL_BINDING_CALL* glGetRenderbufferParameterivEXTProc)(
438 GLenum target,
439 GLenum pname,
440 GLint* params);
441 typedef void(GL_BINDING_CALL* glGetSamplerParameterfvProc)(GLuint sampler,
442 GLenum pname,
443 GLfloat* params);
444 typedef void(GL_BINDING_CALL* glGetSamplerParameterivProc)(GLuint sampler,
445 GLenum pname,
446 GLint* params);
447 typedef void(GL_BINDING_CALL* glGetShaderInfoLogProc)(GLuint shader,
448 GLsizei bufsize,
449 GLsizei* length,
450 char* infolog);
451 typedef void(GL_BINDING_CALL* glGetShaderivProc)(GLuint shader,
452 GLenum pname,
453 GLint* params);
454 typedef void(GL_BINDING_CALL* glGetShaderPrecisionFormatProc)(
455 GLenum shadertype,
456 GLenum precisiontype,
457 GLint* range,
458 GLint* precision);
459 typedef void(GL_BINDING_CALL* glGetShaderSourceProc)(GLuint shader,
460 GLsizei bufsize,
461 GLsizei* length,
462 char* source);
463 typedef const GLubyte*(GL_BINDING_CALL* glGetStringProc)(GLenum name);
464 typedef const GLubyte*(GL_BINDING_CALL* glGetStringiProc)(GLenum name,
465 GLuint index);
466 typedef void(GL_BINDING_CALL* glGetSyncivProc)(GLsync sync,
467 GLenum pname,
468 GLsizei bufSize,
469 GLsizei* length,
470 GLint* values);
471 typedef void(GL_BINDING_CALL* glGetTexLevelParameterfvProc)(GLenum target,
472 GLint level,
473 GLenum pname,
474 GLfloat* params);
475 typedef void(GL_BINDING_CALL* glGetTexLevelParameterivProc)(GLenum target,
476 GLint level,
477 GLenum pname,
478 GLint* params);
479 typedef void(GL_BINDING_CALL* glGetTexParameterfvProc)(GLenum target,
480 GLenum pname,
481 GLfloat* params);
482 typedef void(GL_BINDING_CALL* glGetTexParameterivProc)(GLenum target,
483 GLenum pname,
484 GLint* params);
485 typedef void(GL_BINDING_CALL* glGetTransformFeedbackVaryingProc)(
486 GLuint program,
487 GLuint index,
488 GLsizei bufSize,
489 GLsizei* length,
490 GLsizei* size,
491 GLenum* type,
492 char* name);
493 typedef void(GL_BINDING_CALL* glGetTranslatedShaderSourceANGLEProc)(
494 GLuint shader,
495 GLsizei bufsize,
496 GLsizei* length,
497 char* source);
498 typedef GLuint(GL_BINDING_CALL* glGetUniformBlockIndexProc)(
499 GLuint program,
500 const char* uniformBlockName);
501 typedef void(GL_BINDING_CALL* glGetUniformfvProc)(GLuint program,
502 GLint location,
503 GLfloat* params);
504 typedef void(GL_BINDING_CALL* glGetUniformIndicesProc)(
505 GLuint program,
506 GLsizei uniformCount,
507 const char* const* uniformNames,
508 GLuint* uniformIndices);
509 typedef void(GL_BINDING_CALL* glGetUniformivProc)(GLuint program,
510 GLint location,
511 GLint* params);
512 typedef GLint(GL_BINDING_CALL* glGetUniformLocationProc)(GLuint program,
513 const char* name);
514 typedef void(GL_BINDING_CALL* glGetVertexAttribfvProc)(GLuint index,
515 GLenum pname,
516 GLfloat* params);
517 typedef void(GL_BINDING_CALL* glGetVertexAttribivProc)(GLuint index,
518 GLenum pname,
519 GLint* params);
520 typedef void(GL_BINDING_CALL* glGetVertexAttribPointervProc)(GLuint index,
521 GLenum pname,
522 void** pointer);
523 typedef void(GL_BINDING_CALL* glHintProc)(GLenum target, GLenum mode);
524 typedef void(GL_BINDING_CALL* glInsertEventMarkerEXTProc)(GLsizei length,
525 const char* marker);
526 typedef void(GL_BINDING_CALL* glInvalidateFramebufferProc)(
527 GLenum target,
528 GLsizei numAttachments,
529 const GLenum* attachments);
530 typedef void(GL_BINDING_CALL* glInvalidateSubFramebufferProc)(
531 GLenum target,
532 GLsizei numAttachments,
533 const GLenum* attachments,
534 GLint x,
535 GLint y,
536 GLint width,
537 GLint height);
538 typedef GLboolean(GL_BINDING_CALL* glIsBufferProc)(GLuint buffer);
539 typedef GLboolean(GL_BINDING_CALL* glIsEnabledProc)(GLenum cap);
540 typedef GLboolean(GL_BINDING_CALL* glIsFenceAPPLEProc)(GLuint fence);
541 typedef GLboolean(GL_BINDING_CALL* glIsFenceNVProc)(GLuint fence);
542 typedef GLboolean(GL_BINDING_CALL* glIsFramebufferEXTProc)(GLuint framebuffer);
543 typedef GLboolean(GL_BINDING_CALL* glIsProgramProc)(GLuint program);
544 typedef GLboolean(GL_BINDING_CALL* glIsQueryProc)(GLuint query);
545 typedef GLboolean(GL_BINDING_CALL* glIsQueryARBProc)(GLuint query);
546 typedef GLboolean(GL_BINDING_CALL* glIsRenderbufferEXTProc)(
547 GLuint renderbuffer);
548 typedef GLboolean(GL_BINDING_CALL* glIsSamplerProc)(GLuint sampler);
549 typedef GLboolean(GL_BINDING_CALL* glIsShaderProc)(GLuint shader);
550 typedef GLboolean(GL_BINDING_CALL* glIsSyncProc)(GLsync sync);
551 typedef GLboolean(GL_BINDING_CALL* glIsTextureProc)(GLuint texture);
552 typedef GLboolean(GL_BINDING_CALL* glIsTransformFeedbackProc)(GLuint id);
553 typedef GLboolean(GL_BINDING_CALL* glIsVertexArrayOESProc)(GLuint array);
554 typedef void(GL_BINDING_CALL* glLineWidthProc)(GLfloat width);
555 typedef void(GL_BINDING_CALL* glLinkProgramProc)(GLuint program);
556 typedef void*(GL_BINDING_CALL* glMapBufferProc)(GLenum target, GLenum access);
557 typedef void*(GL_BINDING_CALL* glMapBufferRangeProc)(GLenum target,
558 GLintptr offset,
559 GLsizeiptr length,
560 GLbitfield access);
561 typedef void(GL_BINDING_CALL* glMatrixLoadfEXTProc)(GLenum matrixMode,
562 const GLfloat* m);
563 typedef void(GL_BINDING_CALL* glMatrixLoadIdentityEXTProc)(GLenum matrixMode);
564 typedef void(GL_BINDING_CALL* glPauseTransformFeedbackProc)(void);
565 typedef void(GL_BINDING_CALL* glPixelStoreiProc)(GLenum pname, GLint param);
566 typedef void(GL_BINDING_CALL* glPointParameteriProc)(GLenum pname, GLint param);
567 typedef void(GL_BINDING_CALL* glPolygonOffsetProc)(GLfloat factor,
568 GLfloat units);
569 typedef void(GL_BINDING_CALL* glPopGroupMarkerEXTProc)(void);
570 typedef void(GL_BINDING_CALL* glProgramBinaryProc)(GLuint program,
571 GLenum binaryFormat,
572 const GLvoid* binary,
573 GLsizei length);
574 typedef void(GL_BINDING_CALL* glProgramParameteriProc)(GLuint program,
575 GLenum pname,
576 GLint value);
577 typedef void(GL_BINDING_CALL* glPushGroupMarkerEXTProc)(GLsizei length,
578 const char* marker);
579 typedef void(GL_BINDING_CALL* glQueryCounterProc)(GLuint id, GLenum target);
580 typedef void(GL_BINDING_CALL* glReadBufferProc)(GLenum src);
581 typedef void(GL_BINDING_CALL* glReadPixelsProc)(GLint x,
582 GLint y,
583 GLsizei width,
584 GLsizei height,
585 GLenum format,
586 GLenum type,
587 void* pixels);
588 typedef void(GL_BINDING_CALL* glReleaseShaderCompilerProc)(void);
589 typedef void(GL_BINDING_CALL* glRenderbufferStorageEXTProc)(
590 GLenum target,
591 GLenum internalformat,
592 GLsizei width,
593 GLsizei height);
594 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleProc)(
595 GLenum target,
596 GLsizei samples,
597 GLenum internalformat,
598 GLsizei width,
599 GLsizei height);
600 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleANGLEProc)(
601 GLenum target,
602 GLsizei samples,
603 GLenum internalformat,
604 GLsizei width,
605 GLsizei height);
606 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleEXTProc)(
607 GLenum target,
608 GLsizei samples,
609 GLenum internalformat,
610 GLsizei width,
611 GLsizei height);
612 typedef void(GL_BINDING_CALL* glRenderbufferStorageMultisampleIMGProc)(
613 GLenum target,
614 GLsizei samples,
615 GLenum internalformat,
616 GLsizei width,
617 GLsizei height);
618 typedef void(GL_BINDING_CALL* glResumeTransformFeedbackProc)(void);
619 typedef void(GL_BINDING_CALL* glSampleCoverageProc)(GLclampf value,
620 GLboolean invert);
621 typedef void(GL_BINDING_CALL* glSamplerParameterfProc)(GLuint sampler,
622 GLenum pname,
623 GLfloat param);
624 typedef void(GL_BINDING_CALL* glSamplerParameterfvProc)(GLuint sampler,
625 GLenum pname,
626 const GLfloat* params);
627 typedef void(GL_BINDING_CALL* glSamplerParameteriProc)(GLuint sampler,
628 GLenum pname,
629 GLint param);
630 typedef void(GL_BINDING_CALL* glSamplerParameterivProc)(GLuint sampler,
631 GLenum pname,
632 const GLint* params);
633 typedef void(GL_BINDING_CALL* glScissorProc)(GLint x,
634 GLint y,
635 GLsizei width,
636 GLsizei height);
637 typedef void(GL_BINDING_CALL* glSetFenceAPPLEProc)(GLuint fence);
638 typedef void(GL_BINDING_CALL* glSetFenceNVProc)(GLuint fence, GLenum condition);
639 typedef void(GL_BINDING_CALL* glShaderBinaryProc)(GLsizei n,
640 const GLuint* shaders,
641 GLenum binaryformat,
642 const void* binary,
643 GLsizei length);
644 typedef void(GL_BINDING_CALL* glShaderSourceProc)(GLuint shader,
645 GLsizei count,
646 const char* const* str,
647 const GLint* length);
648 typedef void(GL_BINDING_CALL* glStencilFuncProc)(GLenum func,
649 GLint ref,
650 GLuint mask);
651 typedef void(GL_BINDING_CALL* glStencilFuncSeparateProc)(GLenum face,
652 GLenum func,
653 GLint ref,
654 GLuint mask);
655 typedef void(GL_BINDING_CALL* glStencilMaskProc)(GLuint mask);
656 typedef void(GL_BINDING_CALL* glStencilMaskSeparateProc)(GLenum face,
657 GLuint mask);
658 typedef void(GL_BINDING_CALL* glStencilOpProc)(GLenum fail,
659 GLenum zfail,
660 GLenum zpass);
661 typedef void(GL_BINDING_CALL* glStencilOpSeparateProc)(GLenum face,
662 GLenum fail,
663 GLenum zfail,
664 GLenum zpass);
665 typedef GLboolean(GL_BINDING_CALL* glTestFenceAPPLEProc)(GLuint fence);
666 typedef GLboolean(GL_BINDING_CALL* glTestFenceNVProc)(GLuint fence);
667 typedef void(GL_BINDING_CALL* glTexImage2DProc)(GLenum target,
668 GLint level,
669 GLint internalformat,
670 GLsizei width,
671 GLsizei height,
672 GLint border,
673 GLenum format,
674 GLenum type,
675 const void* pixels);
676 typedef void(GL_BINDING_CALL* glTexImage3DProc)(GLenum target,
677 GLint level,
678 GLint internalformat,
679 GLsizei width,
680 GLsizei height,
681 GLsizei depth,
682 GLint border,
683 GLenum format,
684 GLenum type,
685 const void* pixels);
686 typedef void(GL_BINDING_CALL* glTexParameterfProc)(GLenum target,
687 GLenum pname,
688 GLfloat param);
689 typedef void(GL_BINDING_CALL* glTexParameterfvProc)(GLenum target,
690 GLenum pname,
691 const GLfloat* params);
692 typedef void(GL_BINDING_CALL* glTexParameteriProc)(GLenum target,
693 GLenum pname,
694 GLint param);
695 typedef void(GL_BINDING_CALL* glTexParameterivProc)(GLenum target,
696 GLenum pname,
697 const GLint* params);
698 typedef void(GL_BINDING_CALL* glTexStorage2DEXTProc)(GLenum target,
699 GLsizei levels,
700 GLenum internalformat,
701 GLsizei width,
702 GLsizei height);
703 typedef void(GL_BINDING_CALL* glTexStorage3DProc)(GLenum target,
704 GLsizei levels,
705 GLenum internalformat,
706 GLsizei width,
707 GLsizei height,
708 GLsizei depth);
709 typedef void(GL_BINDING_CALL* glTexSubImage2DProc)(GLenum target,
710 GLint level,
711 GLint xoffset,
712 GLint yoffset,
713 GLsizei width,
714 GLsizei height,
715 GLenum format,
716 GLenum type,
717 const void* pixels);
718 typedef void(GL_BINDING_CALL* glTransformFeedbackVaryingsProc)(
719 GLuint program,
720 GLsizei count,
721 const char* const* varyings,
722 GLenum bufferMode);
723 typedef void(GL_BINDING_CALL* glUniform1fProc)(GLint location, GLfloat x);
724 typedef void(GL_BINDING_CALL* glUniform1fvProc)(GLint location,
725 GLsizei count,
726 const GLfloat* v);
727 typedef void(GL_BINDING_CALL* glUniform1iProc)(GLint location, GLint x);
728 typedef void(GL_BINDING_CALL* glUniform1ivProc)(GLint location,
729 GLsizei count,
730 const GLint* v);
731 typedef void(GL_BINDING_CALL* glUniform1uiProc)(GLint location, GLuint v0);
732 typedef void(GL_BINDING_CALL* glUniform1uivProc)(GLint location,
733 GLsizei count,
734 const GLuint* v);
735 typedef void(GL_BINDING_CALL* glUniform2fProc)(GLint location,
736 GLfloat x,
737 GLfloat y);
738 typedef void(GL_BINDING_CALL* glUniform2fvProc)(GLint location,
739 GLsizei count,
740 const GLfloat* v);
741 typedef void(GL_BINDING_CALL* glUniform2iProc)(GLint location,
742 GLint x,
743 GLint y);
744 typedef void(GL_BINDING_CALL* glUniform2ivProc)(GLint location,
745 GLsizei count,
746 const GLint* v);
747 typedef void(GL_BINDING_CALL* glUniform2uiProc)(GLint location,
748 GLuint v0,
749 GLuint v1);
750 typedef void(GL_BINDING_CALL* glUniform2uivProc)(GLint location,
751 GLsizei count,
752 const GLuint* v);
753 typedef void(GL_BINDING_CALL* glUniform3fProc)(GLint location,
754 GLfloat x,
755 GLfloat y,
756 GLfloat z);
757 typedef void(GL_BINDING_CALL* glUniform3fvProc)(GLint location,
758 GLsizei count,
759 const GLfloat* v);
760 typedef void(GL_BINDING_CALL* glUniform3iProc)(GLint location,
761 GLint x,
762 GLint y,
763 GLint z);
764 typedef void(GL_BINDING_CALL* glUniform3ivProc)(GLint location,
765 GLsizei count,
766 const GLint* v);
767 typedef void(GL_BINDING_CALL* glUniform3uiProc)(GLint location,
768 GLuint v0,
769 GLuint v1,
770 GLuint v2);
771 typedef void(GL_BINDING_CALL* glUniform3uivProc)(GLint location,
772 GLsizei count,
773 const GLuint* v);
774 typedef void(GL_BINDING_CALL* glUniform4fProc)(GLint location,
775 GLfloat x,
776 GLfloat y,
777 GLfloat z,
778 GLfloat w);
779 typedef void(GL_BINDING_CALL* glUniform4fvProc)(GLint location,
780 GLsizei count,
781 const GLfloat* v);
782 typedef void(GL_BINDING_CALL* glUniform4iProc)(GLint location,
783 GLint x,
784 GLint y,
785 GLint z,
786 GLint w);
787 typedef void(GL_BINDING_CALL* glUniform4ivProc)(GLint location,
788 GLsizei count,
789 const GLint* v);
790 typedef void(GL_BINDING_CALL* glUniform4uiProc)(GLint location,
791 GLuint v0,
792 GLuint v1,
793 GLuint v2,
794 GLuint v3);
795 typedef void(GL_BINDING_CALL* glUniform4uivProc)(GLint location,
796 GLsizei count,
797 const GLuint* v);
798 typedef void(GL_BINDING_CALL* glUniformBlockBindingProc)(
799 GLuint program,
800 GLuint uniformBlockIndex,
801 GLuint uniformBlockBinding);
802 typedef void(GL_BINDING_CALL* glUniformMatrix2fvProc)(GLint location,
803 GLsizei count,
804 GLboolean transpose,
805 const GLfloat* value);
806 typedef void(GL_BINDING_CALL* glUniformMatrix2x3fvProc)(GLint location,
807 GLsizei count,
808 GLboolean transpose,
809 const GLfloat* value);
810 typedef void(GL_BINDING_CALL* glUniformMatrix2x4fvProc)(GLint location,
811 GLsizei count,
812 GLboolean transpose,
813 const GLfloat* value);
814 typedef void(GL_BINDING_CALL* glUniformMatrix3fvProc)(GLint location,
815 GLsizei count,
816 GLboolean transpose,
817 const GLfloat* value);
818 typedef void(GL_BINDING_CALL* glUniformMatrix3x2fvProc)(GLint location,
819 GLsizei count,
820 GLboolean transpose,
821 const GLfloat* value);
822 typedef void(GL_BINDING_CALL* glUniformMatrix3x4fvProc)(GLint location,
823 GLsizei count,
824 GLboolean transpose,
825 const GLfloat* value);
826 typedef void(GL_BINDING_CALL* glUniformMatrix4fvProc)(GLint location,
827 GLsizei count,
828 GLboolean transpose,
829 const GLfloat* value);
830 typedef void(GL_BINDING_CALL* glUniformMatrix4x2fvProc)(GLint location,
831 GLsizei count,
832 GLboolean transpose,
833 const GLfloat* value);
834 typedef void(GL_BINDING_CALL* glUniformMatrix4x3fvProc)(GLint location,
835 GLsizei count,
836 GLboolean transpose,
837 const GLfloat* value);
838 typedef GLboolean(GL_BINDING_CALL* glUnmapBufferProc)(GLenum target);
839 typedef void(GL_BINDING_CALL* glUseProgramProc)(GLuint program);
840 typedef void(GL_BINDING_CALL* glValidateProgramProc)(GLuint program);
841 typedef void(GL_BINDING_CALL* glVertexAttrib1fProc)(GLuint indx, GLfloat x);
842 typedef void(GL_BINDING_CALL* glVertexAttrib1fvProc)(GLuint indx,
843 const GLfloat* values);
844 typedef void(GL_BINDING_CALL* glVertexAttrib2fProc)(GLuint indx,
845 GLfloat x,
846 GLfloat y);
847 typedef void(GL_BINDING_CALL* glVertexAttrib2fvProc)(GLuint indx,
848 const GLfloat* values);
849 typedef void(GL_BINDING_CALL* glVertexAttrib3fProc)(GLuint indx,
850 GLfloat x,
851 GLfloat y,
852 GLfloat z);
853 typedef void(GL_BINDING_CALL* glVertexAttrib3fvProc)(GLuint indx,
854 const GLfloat* values);
855 typedef void(GL_BINDING_CALL* glVertexAttrib4fProc)(GLuint indx,
856 GLfloat x,
857 GLfloat y,
858 GLfloat z,
859 GLfloat w);
860 typedef void(GL_BINDING_CALL* glVertexAttrib4fvProc)(GLuint indx,
861 const GLfloat* values);
862 typedef void(GL_BINDING_CALL* glVertexAttribDivisorANGLEProc)(GLuint index,
863 GLuint divisor);
864 typedef void(GL_BINDING_CALL* glVertexAttribI4iProc)(GLuint indx,
865 GLint x,
866 GLint y,
867 GLint z,
868 GLint w);
869 typedef void(GL_BINDING_CALL* glVertexAttribI4ivProc)(GLuint indx,
870 const GLint* values);
871 typedef void(GL_BINDING_CALL* glVertexAttribI4uiProc)(GLuint indx,
872 GLuint x,
873 GLuint y,
874 GLuint z,
875 GLuint w);
876 typedef void(GL_BINDING_CALL* glVertexAttribI4uivProc)(GLuint indx,
877 const GLuint* values);
878 typedef void(GL_BINDING_CALL* glVertexAttribIPointerProc)(GLuint indx,
879 GLint size,
880 GLenum type,
881 GLsizei stride,
882 const void* ptr);
883 typedef void(GL_BINDING_CALL* glVertexAttribPointerProc)(GLuint indx,
884 GLint size,
885 GLenum type,
886 GLboolean normalized,
887 GLsizei stride,
888 const void* ptr);
889 typedef void(GL_BINDING_CALL* glViewportProc)(GLint x,
890 GLint y,
891 GLsizei width,
892 GLsizei height);
893 typedef GLenum(GL_BINDING_CALL* glWaitSyncProc)(GLsync sync,
894 GLbitfield flags,
895 GLuint64 timeout);
897 struct ExtensionsGL {
898 bool b_GL_ANGLE_framebuffer_blit;
899 bool b_GL_ANGLE_framebuffer_multisample;
900 bool b_GL_ANGLE_instanced_arrays;
901 bool b_GL_ANGLE_translated_shader_source;
902 bool b_GL_APPLE_fence;
903 bool b_GL_APPLE_vertex_array_object;
904 bool b_GL_ARB_draw_buffers;
905 bool b_GL_ARB_draw_instanced;
906 bool b_GL_ARB_get_program_binary;
907 bool b_GL_ARB_instanced_arrays;
908 bool b_GL_ARB_map_buffer_range;
909 bool b_GL_ARB_occlusion_query;
910 bool b_GL_ARB_robustness;
911 bool b_GL_ARB_sync;
912 bool b_GL_ARB_texture_storage;
913 bool b_GL_ARB_timer_query;
914 bool b_GL_ARB_vertex_array_object;
915 bool b_GL_CHROMIUM_gles_depth_binding_hack;
916 bool b_GL_EXT_debug_marker;
917 bool b_GL_EXT_direct_state_access;
918 bool b_GL_EXT_discard_framebuffer;
919 bool b_GL_EXT_disjoint_timer_query;
920 bool b_GL_EXT_draw_buffers;
921 bool b_GL_EXT_framebuffer_blit;
922 bool b_GL_EXT_framebuffer_multisample;
923 bool b_GL_EXT_framebuffer_object;
924 bool b_GL_EXT_map_buffer_range;
925 bool b_GL_EXT_multisampled_render_to_texture;
926 bool b_GL_EXT_occlusion_query_boolean;
927 bool b_GL_EXT_robustness;
928 bool b_GL_EXT_texture_storage;
929 bool b_GL_EXT_timer_query;
930 bool b_GL_IMG_multisampled_render_to_texture;
931 bool b_GL_KHR_blend_equation_advanced;
932 bool b_GL_KHR_robustness;
933 bool b_GL_NV_blend_equation_advanced;
934 bool b_GL_NV_fence;
935 bool b_GL_NV_path_rendering;
936 bool b_GL_OES_EGL_image;
937 bool b_GL_OES_get_program_binary;
938 bool b_GL_OES_mapbuffer;
939 bool b_GL_OES_vertex_array_object;
942 struct ProcsGL {
943 glActiveTextureProc glActiveTextureFn;
944 glAttachShaderProc glAttachShaderFn;
945 glBeginQueryProc glBeginQueryFn;
946 glBeginQueryARBProc glBeginQueryARBFn;
947 glBeginTransformFeedbackProc glBeginTransformFeedbackFn;
948 glBindAttribLocationProc glBindAttribLocationFn;
949 glBindBufferProc glBindBufferFn;
950 glBindBufferBaseProc glBindBufferBaseFn;
951 glBindBufferRangeProc glBindBufferRangeFn;
952 glBindFragDataLocationProc glBindFragDataLocationFn;
953 glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn;
954 glBindFramebufferEXTProc glBindFramebufferEXTFn;
955 glBindRenderbufferEXTProc glBindRenderbufferEXTFn;
956 glBindSamplerProc glBindSamplerFn;
957 glBindTextureProc glBindTextureFn;
958 glBindTransformFeedbackProc glBindTransformFeedbackFn;
959 glBindVertexArrayOESProc glBindVertexArrayOESFn;
960 glBlendBarrierKHRProc glBlendBarrierKHRFn;
961 glBlendColorProc glBlendColorFn;
962 glBlendEquationProc glBlendEquationFn;
963 glBlendEquationSeparateProc glBlendEquationSeparateFn;
964 glBlendFuncProc glBlendFuncFn;
965 glBlendFuncSeparateProc glBlendFuncSeparateFn;
966 glBlitFramebufferProc glBlitFramebufferFn;
967 glBlitFramebufferANGLEProc glBlitFramebufferANGLEFn;
968 glBlitFramebufferEXTProc glBlitFramebufferEXTFn;
969 glBufferDataProc glBufferDataFn;
970 glBufferSubDataProc glBufferSubDataFn;
971 glCheckFramebufferStatusEXTProc glCheckFramebufferStatusEXTFn;
972 glClearProc glClearFn;
973 glClearBufferfiProc glClearBufferfiFn;
974 glClearBufferfvProc glClearBufferfvFn;
975 glClearBufferivProc glClearBufferivFn;
976 glClearBufferuivProc glClearBufferuivFn;
977 glClearColorProc glClearColorFn;
978 glClearDepthProc glClearDepthFn;
979 glClearDepthfProc glClearDepthfFn;
980 glClearStencilProc glClearStencilFn;
981 glClientWaitSyncProc glClientWaitSyncFn;
982 glColorMaskProc glColorMaskFn;
983 glCompileShaderProc glCompileShaderFn;
984 glCompressedTexImage2DProc glCompressedTexImage2DFn;
985 glCompressedTexImage3DProc glCompressedTexImage3DFn;
986 glCompressedTexSubImage2DProc glCompressedTexSubImage2DFn;
987 glCopyBufferSubDataProc glCopyBufferSubDataFn;
988 glCopyTexImage2DProc glCopyTexImage2DFn;
989 glCopyTexSubImage2DProc glCopyTexSubImage2DFn;
990 glCopyTexSubImage3DProc glCopyTexSubImage3DFn;
991 glCreateProgramProc glCreateProgramFn;
992 glCreateShaderProc glCreateShaderFn;
993 glCullFaceProc glCullFaceFn;
994 glDeleteBuffersARBProc glDeleteBuffersARBFn;
995 glDeleteFencesAPPLEProc glDeleteFencesAPPLEFn;
996 glDeleteFencesNVProc glDeleteFencesNVFn;
997 glDeleteFramebuffersEXTProc glDeleteFramebuffersEXTFn;
998 glDeleteProgramProc glDeleteProgramFn;
999 glDeleteQueriesProc glDeleteQueriesFn;
1000 glDeleteQueriesARBProc glDeleteQueriesARBFn;
1001 glDeleteRenderbuffersEXTProc glDeleteRenderbuffersEXTFn;
1002 glDeleteSamplersProc glDeleteSamplersFn;
1003 glDeleteShaderProc glDeleteShaderFn;
1004 glDeleteSyncProc glDeleteSyncFn;
1005 glDeleteTexturesProc glDeleteTexturesFn;
1006 glDeleteTransformFeedbacksProc glDeleteTransformFeedbacksFn;
1007 glDeleteVertexArraysOESProc glDeleteVertexArraysOESFn;
1008 glDepthFuncProc glDepthFuncFn;
1009 glDepthMaskProc glDepthMaskFn;
1010 glDepthRangeProc glDepthRangeFn;
1011 glDepthRangefProc glDepthRangefFn;
1012 glDetachShaderProc glDetachShaderFn;
1013 glDisableProc glDisableFn;
1014 glDisableVertexAttribArrayProc glDisableVertexAttribArrayFn;
1015 glDiscardFramebufferEXTProc glDiscardFramebufferEXTFn;
1016 glDrawArraysProc glDrawArraysFn;
1017 glDrawArraysInstancedANGLEProc glDrawArraysInstancedANGLEFn;
1018 glDrawBufferProc glDrawBufferFn;
1019 glDrawBuffersARBProc glDrawBuffersARBFn;
1020 glDrawElementsProc glDrawElementsFn;
1021 glDrawElementsInstancedANGLEProc glDrawElementsInstancedANGLEFn;
1022 glDrawRangeElementsProc glDrawRangeElementsFn;
1023 glEGLImageTargetRenderbufferStorageOESProc
1024 glEGLImageTargetRenderbufferStorageOESFn;
1025 glEGLImageTargetTexture2DOESProc glEGLImageTargetTexture2DOESFn;
1026 glEnableProc glEnableFn;
1027 glEnableVertexAttribArrayProc glEnableVertexAttribArrayFn;
1028 glEndQueryProc glEndQueryFn;
1029 glEndQueryARBProc glEndQueryARBFn;
1030 glEndTransformFeedbackProc glEndTransformFeedbackFn;
1031 glFenceSyncProc glFenceSyncFn;
1032 glFinishProc glFinishFn;
1033 glFinishFenceAPPLEProc glFinishFenceAPPLEFn;
1034 glFinishFenceNVProc glFinishFenceNVFn;
1035 glFlushProc glFlushFn;
1036 glFlushMappedBufferRangeProc glFlushMappedBufferRangeFn;
1037 glFramebufferRenderbufferEXTProc glFramebufferRenderbufferEXTFn;
1038 glFramebufferTexture2DEXTProc glFramebufferTexture2DEXTFn;
1039 glFramebufferTexture2DMultisampleEXTProc
1040 glFramebufferTexture2DMultisampleEXTFn;
1041 glFramebufferTexture2DMultisampleIMGProc
1042 glFramebufferTexture2DMultisampleIMGFn;
1043 glFramebufferTextureLayerProc glFramebufferTextureLayerFn;
1044 glFrontFaceProc glFrontFaceFn;
1045 glGenBuffersARBProc glGenBuffersARBFn;
1046 glGenerateMipmapEXTProc glGenerateMipmapEXTFn;
1047 glGenFencesAPPLEProc glGenFencesAPPLEFn;
1048 glGenFencesNVProc glGenFencesNVFn;
1049 glGenFramebuffersEXTProc glGenFramebuffersEXTFn;
1050 glGenQueriesProc glGenQueriesFn;
1051 glGenQueriesARBProc glGenQueriesARBFn;
1052 glGenRenderbuffersEXTProc glGenRenderbuffersEXTFn;
1053 glGenSamplersProc glGenSamplersFn;
1054 glGenTexturesProc glGenTexturesFn;
1055 glGenTransformFeedbacksProc glGenTransformFeedbacksFn;
1056 glGenVertexArraysOESProc glGenVertexArraysOESFn;
1057 glGetActiveAttribProc glGetActiveAttribFn;
1058 glGetActiveUniformProc glGetActiveUniformFn;
1059 glGetActiveUniformBlockivProc glGetActiveUniformBlockivFn;
1060 glGetActiveUniformBlockNameProc glGetActiveUniformBlockNameFn;
1061 glGetActiveUniformsivProc glGetActiveUniformsivFn;
1062 glGetAttachedShadersProc glGetAttachedShadersFn;
1063 glGetAttribLocationProc glGetAttribLocationFn;
1064 glGetBooleanvProc glGetBooleanvFn;
1065 glGetBufferParameterivProc glGetBufferParameterivFn;
1066 glGetErrorProc glGetErrorFn;
1067 glGetFenceivNVProc glGetFenceivNVFn;
1068 glGetFloatvProc glGetFloatvFn;
1069 glGetFragDataLocationProc glGetFragDataLocationFn;
1070 glGetFramebufferAttachmentParameterivEXTProc
1071 glGetFramebufferAttachmentParameterivEXTFn;
1072 glGetGraphicsResetStatusARBProc glGetGraphicsResetStatusARBFn;
1073 glGetInteger64i_vProc glGetInteger64i_vFn;
1074 glGetInteger64vProc glGetInteger64vFn;
1075 glGetIntegeri_vProc glGetIntegeri_vFn;
1076 glGetIntegervProc glGetIntegervFn;
1077 glGetInternalformativProc glGetInternalformativFn;
1078 glGetProgramBinaryProc glGetProgramBinaryFn;
1079 glGetProgramInfoLogProc glGetProgramInfoLogFn;
1080 glGetProgramivProc glGetProgramivFn;
1081 glGetProgramResourceLocationProc glGetProgramResourceLocationFn;
1082 glGetQueryivProc glGetQueryivFn;
1083 glGetQueryivARBProc glGetQueryivARBFn;
1084 glGetQueryObjecti64vProc glGetQueryObjecti64vFn;
1085 glGetQueryObjectivProc glGetQueryObjectivFn;
1086 glGetQueryObjectivARBProc glGetQueryObjectivARBFn;
1087 glGetQueryObjectui64vProc glGetQueryObjectui64vFn;
1088 glGetQueryObjectuivProc glGetQueryObjectuivFn;
1089 glGetQueryObjectuivARBProc glGetQueryObjectuivARBFn;
1090 glGetRenderbufferParameterivEXTProc glGetRenderbufferParameterivEXTFn;
1091 glGetSamplerParameterfvProc glGetSamplerParameterfvFn;
1092 glGetSamplerParameterivProc glGetSamplerParameterivFn;
1093 glGetShaderInfoLogProc glGetShaderInfoLogFn;
1094 glGetShaderivProc glGetShaderivFn;
1095 glGetShaderPrecisionFormatProc glGetShaderPrecisionFormatFn;
1096 glGetShaderSourceProc glGetShaderSourceFn;
1097 glGetStringProc glGetStringFn;
1098 glGetStringiProc glGetStringiFn;
1099 glGetSyncivProc glGetSyncivFn;
1100 glGetTexLevelParameterfvProc glGetTexLevelParameterfvFn;
1101 glGetTexLevelParameterivProc glGetTexLevelParameterivFn;
1102 glGetTexParameterfvProc glGetTexParameterfvFn;
1103 glGetTexParameterivProc glGetTexParameterivFn;
1104 glGetTransformFeedbackVaryingProc glGetTransformFeedbackVaryingFn;
1105 glGetTranslatedShaderSourceANGLEProc glGetTranslatedShaderSourceANGLEFn;
1106 glGetUniformBlockIndexProc glGetUniformBlockIndexFn;
1107 glGetUniformfvProc glGetUniformfvFn;
1108 glGetUniformIndicesProc glGetUniformIndicesFn;
1109 glGetUniformivProc glGetUniformivFn;
1110 glGetUniformLocationProc glGetUniformLocationFn;
1111 glGetVertexAttribfvProc glGetVertexAttribfvFn;
1112 glGetVertexAttribivProc glGetVertexAttribivFn;
1113 glGetVertexAttribPointervProc glGetVertexAttribPointervFn;
1114 glHintProc glHintFn;
1115 glInsertEventMarkerEXTProc glInsertEventMarkerEXTFn;
1116 glInvalidateFramebufferProc glInvalidateFramebufferFn;
1117 glInvalidateSubFramebufferProc glInvalidateSubFramebufferFn;
1118 glIsBufferProc glIsBufferFn;
1119 glIsEnabledProc glIsEnabledFn;
1120 glIsFenceAPPLEProc glIsFenceAPPLEFn;
1121 glIsFenceNVProc glIsFenceNVFn;
1122 glIsFramebufferEXTProc glIsFramebufferEXTFn;
1123 glIsProgramProc glIsProgramFn;
1124 glIsQueryProc glIsQueryFn;
1125 glIsQueryARBProc glIsQueryARBFn;
1126 glIsRenderbufferEXTProc glIsRenderbufferEXTFn;
1127 glIsSamplerProc glIsSamplerFn;
1128 glIsShaderProc glIsShaderFn;
1129 glIsSyncProc glIsSyncFn;
1130 glIsTextureProc glIsTextureFn;
1131 glIsTransformFeedbackProc glIsTransformFeedbackFn;
1132 glIsVertexArrayOESProc glIsVertexArrayOESFn;
1133 glLineWidthProc glLineWidthFn;
1134 glLinkProgramProc glLinkProgramFn;
1135 glMapBufferProc glMapBufferFn;
1136 glMapBufferRangeProc glMapBufferRangeFn;
1137 glMatrixLoadfEXTProc glMatrixLoadfEXTFn;
1138 glMatrixLoadIdentityEXTProc glMatrixLoadIdentityEXTFn;
1139 glPauseTransformFeedbackProc glPauseTransformFeedbackFn;
1140 glPixelStoreiProc glPixelStoreiFn;
1141 glPointParameteriProc glPointParameteriFn;
1142 glPolygonOffsetProc glPolygonOffsetFn;
1143 glPopGroupMarkerEXTProc glPopGroupMarkerEXTFn;
1144 glProgramBinaryProc glProgramBinaryFn;
1145 glProgramParameteriProc glProgramParameteriFn;
1146 glPushGroupMarkerEXTProc glPushGroupMarkerEXTFn;
1147 glQueryCounterProc glQueryCounterFn;
1148 glReadBufferProc glReadBufferFn;
1149 glReadPixelsProc glReadPixelsFn;
1150 glReleaseShaderCompilerProc glReleaseShaderCompilerFn;
1151 glRenderbufferStorageEXTProc glRenderbufferStorageEXTFn;
1152 glRenderbufferStorageMultisampleProc glRenderbufferStorageMultisampleFn;
1153 glRenderbufferStorageMultisampleANGLEProc
1154 glRenderbufferStorageMultisampleANGLEFn;
1155 glRenderbufferStorageMultisampleEXTProc glRenderbufferStorageMultisampleEXTFn;
1156 glRenderbufferStorageMultisampleIMGProc glRenderbufferStorageMultisampleIMGFn;
1157 glResumeTransformFeedbackProc glResumeTransformFeedbackFn;
1158 glSampleCoverageProc glSampleCoverageFn;
1159 glSamplerParameterfProc glSamplerParameterfFn;
1160 glSamplerParameterfvProc glSamplerParameterfvFn;
1161 glSamplerParameteriProc glSamplerParameteriFn;
1162 glSamplerParameterivProc glSamplerParameterivFn;
1163 glScissorProc glScissorFn;
1164 glSetFenceAPPLEProc glSetFenceAPPLEFn;
1165 glSetFenceNVProc glSetFenceNVFn;
1166 glShaderBinaryProc glShaderBinaryFn;
1167 glShaderSourceProc glShaderSourceFn;
1168 glStencilFuncProc glStencilFuncFn;
1169 glStencilFuncSeparateProc glStencilFuncSeparateFn;
1170 glStencilMaskProc glStencilMaskFn;
1171 glStencilMaskSeparateProc glStencilMaskSeparateFn;
1172 glStencilOpProc glStencilOpFn;
1173 glStencilOpSeparateProc glStencilOpSeparateFn;
1174 glTestFenceAPPLEProc glTestFenceAPPLEFn;
1175 glTestFenceNVProc glTestFenceNVFn;
1176 glTexImage2DProc glTexImage2DFn;
1177 glTexImage3DProc glTexImage3DFn;
1178 glTexParameterfProc glTexParameterfFn;
1179 glTexParameterfvProc glTexParameterfvFn;
1180 glTexParameteriProc glTexParameteriFn;
1181 glTexParameterivProc glTexParameterivFn;
1182 glTexStorage2DEXTProc glTexStorage2DEXTFn;
1183 glTexStorage3DProc glTexStorage3DFn;
1184 glTexSubImage2DProc glTexSubImage2DFn;
1185 glTransformFeedbackVaryingsProc glTransformFeedbackVaryingsFn;
1186 glUniform1fProc glUniform1fFn;
1187 glUniform1fvProc glUniform1fvFn;
1188 glUniform1iProc glUniform1iFn;
1189 glUniform1ivProc glUniform1ivFn;
1190 glUniform1uiProc glUniform1uiFn;
1191 glUniform1uivProc glUniform1uivFn;
1192 glUniform2fProc glUniform2fFn;
1193 glUniform2fvProc glUniform2fvFn;
1194 glUniform2iProc glUniform2iFn;
1195 glUniform2ivProc glUniform2ivFn;
1196 glUniform2uiProc glUniform2uiFn;
1197 glUniform2uivProc glUniform2uivFn;
1198 glUniform3fProc glUniform3fFn;
1199 glUniform3fvProc glUniform3fvFn;
1200 glUniform3iProc glUniform3iFn;
1201 glUniform3ivProc glUniform3ivFn;
1202 glUniform3uiProc glUniform3uiFn;
1203 glUniform3uivProc glUniform3uivFn;
1204 glUniform4fProc glUniform4fFn;
1205 glUniform4fvProc glUniform4fvFn;
1206 glUniform4iProc glUniform4iFn;
1207 glUniform4ivProc glUniform4ivFn;
1208 glUniform4uiProc glUniform4uiFn;
1209 glUniform4uivProc glUniform4uivFn;
1210 glUniformBlockBindingProc glUniformBlockBindingFn;
1211 glUniformMatrix2fvProc glUniformMatrix2fvFn;
1212 glUniformMatrix2x3fvProc glUniformMatrix2x3fvFn;
1213 glUniformMatrix2x4fvProc glUniformMatrix2x4fvFn;
1214 glUniformMatrix3fvProc glUniformMatrix3fvFn;
1215 glUniformMatrix3x2fvProc glUniformMatrix3x2fvFn;
1216 glUniformMatrix3x4fvProc glUniformMatrix3x4fvFn;
1217 glUniformMatrix4fvProc glUniformMatrix4fvFn;
1218 glUniformMatrix4x2fvProc glUniformMatrix4x2fvFn;
1219 glUniformMatrix4x3fvProc glUniformMatrix4x3fvFn;
1220 glUnmapBufferProc glUnmapBufferFn;
1221 glUseProgramProc glUseProgramFn;
1222 glValidateProgramProc glValidateProgramFn;
1223 glVertexAttrib1fProc glVertexAttrib1fFn;
1224 glVertexAttrib1fvProc glVertexAttrib1fvFn;
1225 glVertexAttrib2fProc glVertexAttrib2fFn;
1226 glVertexAttrib2fvProc glVertexAttrib2fvFn;
1227 glVertexAttrib3fProc glVertexAttrib3fFn;
1228 glVertexAttrib3fvProc glVertexAttrib3fvFn;
1229 glVertexAttrib4fProc glVertexAttrib4fFn;
1230 glVertexAttrib4fvProc glVertexAttrib4fvFn;
1231 glVertexAttribDivisorANGLEProc glVertexAttribDivisorANGLEFn;
1232 glVertexAttribI4iProc glVertexAttribI4iFn;
1233 glVertexAttribI4ivProc glVertexAttribI4ivFn;
1234 glVertexAttribI4uiProc glVertexAttribI4uiFn;
1235 glVertexAttribI4uivProc glVertexAttribI4uivFn;
1236 glVertexAttribIPointerProc glVertexAttribIPointerFn;
1237 glVertexAttribPointerProc glVertexAttribPointerFn;
1238 glViewportProc glViewportFn;
1239 glWaitSyncProc glWaitSyncFn;
1242 class GL_EXPORT GLApi {
1243 public:
1244 GLApi();
1245 virtual ~GLApi();
1247 virtual void glActiveTextureFn(GLenum texture) = 0;
1248 virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0;
1249 virtual void glBeginQueryFn(GLenum target, GLuint id) = 0;
1250 virtual void glBeginQueryARBFn(GLenum target, GLuint id) = 0;
1251 virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0;
1252 virtual void glBindAttribLocationFn(GLuint program,
1253 GLuint index,
1254 const char* name) = 0;
1255 virtual void glBindBufferFn(GLenum target, GLuint buffer) = 0;
1256 virtual void glBindBufferBaseFn(GLenum target,
1257 GLuint index,
1258 GLuint buffer) = 0;
1259 virtual void glBindBufferRangeFn(GLenum target,
1260 GLuint index,
1261 GLuint buffer,
1262 GLintptr offset,
1263 GLsizeiptr size) = 0;
1264 virtual void glBindFragDataLocationFn(GLuint program,
1265 GLuint colorNumber,
1266 const char* name) = 0;
1267 virtual void glBindFragDataLocationIndexedFn(GLuint program,
1268 GLuint colorNumber,
1269 GLuint index,
1270 const char* name) = 0;
1271 virtual void glBindFramebufferEXTFn(GLenum target, GLuint framebuffer) = 0;
1272 virtual void glBindRenderbufferEXTFn(GLenum target, GLuint renderbuffer) = 0;
1273 virtual void glBindSamplerFn(GLuint unit, GLuint sampler) = 0;
1274 virtual void glBindTextureFn(GLenum target, GLuint texture) = 0;
1275 virtual void glBindTransformFeedbackFn(GLenum target, GLuint id) = 0;
1276 virtual void glBindVertexArrayOESFn(GLuint array) = 0;
1277 virtual void glBlendBarrierKHRFn(void) = 0;
1278 virtual void glBlendColorFn(GLclampf red,
1279 GLclampf green,
1280 GLclampf blue,
1281 GLclampf alpha) = 0;
1282 virtual void glBlendEquationFn(GLenum mode) = 0;
1283 virtual void glBlendEquationSeparateFn(GLenum modeRGB, GLenum modeAlpha) = 0;
1284 virtual void glBlendFuncFn(GLenum sfactor, GLenum dfactor) = 0;
1285 virtual void glBlendFuncSeparateFn(GLenum srcRGB,
1286 GLenum dstRGB,
1287 GLenum srcAlpha,
1288 GLenum dstAlpha) = 0;
1289 virtual void glBlitFramebufferFn(GLint srcX0,
1290 GLint srcY0,
1291 GLint srcX1,
1292 GLint srcY1,
1293 GLint dstX0,
1294 GLint dstY0,
1295 GLint dstX1,
1296 GLint dstY1,
1297 GLbitfield mask,
1298 GLenum filter) = 0;
1299 virtual void glBlitFramebufferANGLEFn(GLint srcX0,
1300 GLint srcY0,
1301 GLint srcX1,
1302 GLint srcY1,
1303 GLint dstX0,
1304 GLint dstY0,
1305 GLint dstX1,
1306 GLint dstY1,
1307 GLbitfield mask,
1308 GLenum filter) = 0;
1309 virtual void glBlitFramebufferEXTFn(GLint srcX0,
1310 GLint srcY0,
1311 GLint srcX1,
1312 GLint srcY1,
1313 GLint dstX0,
1314 GLint dstY0,
1315 GLint dstX1,
1316 GLint dstY1,
1317 GLbitfield mask,
1318 GLenum filter) = 0;
1319 virtual void glBufferDataFn(GLenum target,
1320 GLsizeiptr size,
1321 const void* data,
1322 GLenum usage) = 0;
1323 virtual void glBufferSubDataFn(GLenum target,
1324 GLintptr offset,
1325 GLsizeiptr size,
1326 const void* data) = 0;
1327 virtual GLenum glCheckFramebufferStatusEXTFn(GLenum target) = 0;
1328 virtual void glClearFn(GLbitfield mask) = 0;
1329 virtual void glClearBufferfiFn(GLenum buffer,
1330 GLint drawbuffer,
1331 const GLfloat depth,
1332 GLint stencil) = 0;
1333 virtual void glClearBufferfvFn(GLenum buffer,
1334 GLint drawbuffer,
1335 const GLfloat* value) = 0;
1336 virtual void glClearBufferivFn(GLenum buffer,
1337 GLint drawbuffer,
1338 const GLint* value) = 0;
1339 virtual void glClearBufferuivFn(GLenum buffer,
1340 GLint drawbuffer,
1341 const GLuint* value) = 0;
1342 virtual void glClearColorFn(GLclampf red,
1343 GLclampf green,
1344 GLclampf blue,
1345 GLclampf alpha) = 0;
1346 virtual void glClearDepthFn(GLclampd depth) = 0;
1347 virtual void glClearDepthfFn(GLclampf depth) = 0;
1348 virtual void glClearStencilFn(GLint s) = 0;
1349 virtual GLenum glClientWaitSyncFn(GLsync sync,
1350 GLbitfield flags,
1351 GLuint64 timeout) = 0;
1352 virtual void glColorMaskFn(GLboolean red,
1353 GLboolean green,
1354 GLboolean blue,
1355 GLboolean alpha) = 0;
1356 virtual void glCompileShaderFn(GLuint shader) = 0;
1357 virtual void glCompressedTexImage2DFn(GLenum target,
1358 GLint level,
1359 GLenum internalformat,
1360 GLsizei width,
1361 GLsizei height,
1362 GLint border,
1363 GLsizei imageSize,
1364 const void* data) = 0;
1365 virtual void glCompressedTexImage3DFn(GLenum target,
1366 GLint level,
1367 GLenum internalformat,
1368 GLsizei width,
1369 GLsizei height,
1370 GLsizei depth,
1371 GLint border,
1372 GLsizei imageSize,
1373 const void* data) = 0;
1374 virtual void glCompressedTexSubImage2DFn(GLenum target,
1375 GLint level,
1376 GLint xoffset,
1377 GLint yoffset,
1378 GLsizei width,
1379 GLsizei height,
1380 GLenum format,
1381 GLsizei imageSize,
1382 const void* data) = 0;
1383 virtual void glCopyBufferSubDataFn(GLenum readTarget,
1384 GLenum writeTarget,
1385 GLintptr readOffset,
1386 GLintptr writeOffset,
1387 GLsizeiptr size) = 0;
1388 virtual void glCopyTexImage2DFn(GLenum target,
1389 GLint level,
1390 GLenum internalformat,
1391 GLint x,
1392 GLint y,
1393 GLsizei width,
1394 GLsizei height,
1395 GLint border) = 0;
1396 virtual void glCopyTexSubImage2DFn(GLenum target,
1397 GLint level,
1398 GLint xoffset,
1399 GLint yoffset,
1400 GLint x,
1401 GLint y,
1402 GLsizei width,
1403 GLsizei height) = 0;
1404 virtual void glCopyTexSubImage3DFn(GLenum target,
1405 GLint level,
1406 GLint xoffset,
1407 GLint yoffset,
1408 GLint zoffset,
1409 GLint x,
1410 GLint y,
1411 GLsizei width,
1412 GLsizei height) = 0;
1413 virtual GLuint glCreateProgramFn(void) = 0;
1414 virtual GLuint glCreateShaderFn(GLenum type) = 0;
1415 virtual void glCullFaceFn(GLenum mode) = 0;
1416 virtual void glDeleteBuffersARBFn(GLsizei n, const GLuint* buffers) = 0;
1417 virtual void glDeleteFencesAPPLEFn(GLsizei n, const GLuint* fences) = 0;
1418 virtual void glDeleteFencesNVFn(GLsizei n, const GLuint* fences) = 0;
1419 virtual void glDeleteFramebuffersEXTFn(GLsizei n,
1420 const GLuint* framebuffers) = 0;
1421 virtual void glDeleteProgramFn(GLuint program) = 0;
1422 virtual void glDeleteQueriesFn(GLsizei n, const GLuint* ids) = 0;
1423 virtual void glDeleteQueriesARBFn(GLsizei n, const GLuint* ids) = 0;
1424 virtual void glDeleteRenderbuffersEXTFn(GLsizei n,
1425 const GLuint* renderbuffers) = 0;
1426 virtual void glDeleteSamplersFn(GLsizei n, const GLuint* samplers) = 0;
1427 virtual void glDeleteShaderFn(GLuint shader) = 0;
1428 virtual void glDeleteSyncFn(GLsync sync) = 0;
1429 virtual void glDeleteTexturesFn(GLsizei n, const GLuint* textures) = 0;
1430 virtual void glDeleteTransformFeedbacksFn(GLsizei n, const GLuint* ids) = 0;
1431 virtual void glDeleteVertexArraysOESFn(GLsizei n, const GLuint* arrays) = 0;
1432 virtual void glDepthFuncFn(GLenum func) = 0;
1433 virtual void glDepthMaskFn(GLboolean flag) = 0;
1434 virtual void glDepthRangeFn(GLclampd zNear, GLclampd zFar) = 0;
1435 virtual void glDepthRangefFn(GLclampf zNear, GLclampf zFar) = 0;
1436 virtual void glDetachShaderFn(GLuint program, GLuint shader) = 0;
1437 virtual void glDisableFn(GLenum cap) = 0;
1438 virtual void glDisableVertexAttribArrayFn(GLuint index) = 0;
1439 virtual void glDiscardFramebufferEXTFn(GLenum target,
1440 GLsizei numAttachments,
1441 const GLenum* attachments) = 0;
1442 virtual void glDrawArraysFn(GLenum mode, GLint first, GLsizei count) = 0;
1443 virtual void glDrawArraysInstancedANGLEFn(GLenum mode,
1444 GLint first,
1445 GLsizei count,
1446 GLsizei primcount) = 0;
1447 virtual void glDrawBufferFn(GLenum mode) = 0;
1448 virtual void glDrawBuffersARBFn(GLsizei n, const GLenum* bufs) = 0;
1449 virtual void glDrawElementsFn(GLenum mode,
1450 GLsizei count,
1451 GLenum type,
1452 const void* indices) = 0;
1453 virtual void glDrawElementsInstancedANGLEFn(GLenum mode,
1454 GLsizei count,
1455 GLenum type,
1456 const void* indices,
1457 GLsizei primcount) = 0;
1458 virtual void glDrawRangeElementsFn(GLenum mode,
1459 GLuint start,
1460 GLuint end,
1461 GLsizei count,
1462 GLenum type,
1463 const void* indices) = 0;
1464 virtual void glEGLImageTargetRenderbufferStorageOESFn(
1465 GLenum target,
1466 GLeglImageOES image) = 0;
1467 virtual void glEGLImageTargetTexture2DOESFn(GLenum target,
1468 GLeglImageOES image) = 0;
1469 virtual void glEnableFn(GLenum cap) = 0;
1470 virtual void glEnableVertexAttribArrayFn(GLuint index) = 0;
1471 virtual void glEndQueryFn(GLenum target) = 0;
1472 virtual void glEndQueryARBFn(GLenum target) = 0;
1473 virtual void glEndTransformFeedbackFn(void) = 0;
1474 virtual GLsync glFenceSyncFn(GLenum condition, GLbitfield flags) = 0;
1475 virtual void glFinishFn(void) = 0;
1476 virtual void glFinishFenceAPPLEFn(GLuint fence) = 0;
1477 virtual void glFinishFenceNVFn(GLuint fence) = 0;
1478 virtual void glFlushFn(void) = 0;
1479 virtual void glFlushMappedBufferRangeFn(GLenum target,
1480 GLintptr offset,
1481 GLsizeiptr length) = 0;
1482 virtual void glFramebufferRenderbufferEXTFn(GLenum target,
1483 GLenum attachment,
1484 GLenum renderbuffertarget,
1485 GLuint renderbuffer) = 0;
1486 virtual void glFramebufferTexture2DEXTFn(GLenum target,
1487 GLenum attachment,
1488 GLenum textarget,
1489 GLuint texture,
1490 GLint level) = 0;
1491 virtual void glFramebufferTexture2DMultisampleEXTFn(GLenum target,
1492 GLenum attachment,
1493 GLenum textarget,
1494 GLuint texture,
1495 GLint level,
1496 GLsizei samples) = 0;
1497 virtual void glFramebufferTexture2DMultisampleIMGFn(GLenum target,
1498 GLenum attachment,
1499 GLenum textarget,
1500 GLuint texture,
1501 GLint level,
1502 GLsizei samples) = 0;
1503 virtual void glFramebufferTextureLayerFn(GLenum target,
1504 GLenum attachment,
1505 GLuint texture,
1506 GLint level,
1507 GLint layer) = 0;
1508 virtual void glFrontFaceFn(GLenum mode) = 0;
1509 virtual void glGenBuffersARBFn(GLsizei n, GLuint* buffers) = 0;
1510 virtual void glGenerateMipmapEXTFn(GLenum target) = 0;
1511 virtual void glGenFencesAPPLEFn(GLsizei n, GLuint* fences) = 0;
1512 virtual void glGenFencesNVFn(GLsizei n, GLuint* fences) = 0;
1513 virtual void glGenFramebuffersEXTFn(GLsizei n, GLuint* framebuffers) = 0;
1514 virtual void glGenQueriesFn(GLsizei n, GLuint* ids) = 0;
1515 virtual void glGenQueriesARBFn(GLsizei n, GLuint* ids) = 0;
1516 virtual void glGenRenderbuffersEXTFn(GLsizei n, GLuint* renderbuffers) = 0;
1517 virtual void glGenSamplersFn(GLsizei n, GLuint* samplers) = 0;
1518 virtual void glGenTexturesFn(GLsizei n, GLuint* textures) = 0;
1519 virtual void glGenTransformFeedbacksFn(GLsizei n, GLuint* ids) = 0;
1520 virtual void glGenVertexArraysOESFn(GLsizei n, GLuint* arrays) = 0;
1521 virtual void glGetActiveAttribFn(GLuint program,
1522 GLuint index,
1523 GLsizei bufsize,
1524 GLsizei* length,
1525 GLint* size,
1526 GLenum* type,
1527 char* name) = 0;
1528 virtual void glGetActiveUniformFn(GLuint program,
1529 GLuint index,
1530 GLsizei bufsize,
1531 GLsizei* length,
1532 GLint* size,
1533 GLenum* type,
1534 char* name) = 0;
1535 virtual void glGetActiveUniformBlockivFn(GLuint program,
1536 GLuint uniformBlockIndex,
1537 GLenum pname,
1538 GLint* params) = 0;
1539 virtual void glGetActiveUniformBlockNameFn(GLuint program,
1540 GLuint uniformBlockIndex,
1541 GLsizei bufSize,
1542 GLsizei* length,
1543 char* uniformBlockName) = 0;
1544 virtual void glGetActiveUniformsivFn(GLuint program,
1545 GLsizei uniformCount,
1546 const GLuint* uniformIndices,
1547 GLenum pname,
1548 GLint* params) = 0;
1549 virtual void glGetAttachedShadersFn(GLuint program,
1550 GLsizei maxcount,
1551 GLsizei* count,
1552 GLuint* shaders) = 0;
1553 virtual GLint glGetAttribLocationFn(GLuint program, const char* name) = 0;
1554 virtual void glGetBooleanvFn(GLenum pname, GLboolean* params) = 0;
1555 virtual void glGetBufferParameterivFn(GLenum target,
1556 GLenum pname,
1557 GLint* params) = 0;
1558 virtual GLenum glGetErrorFn(void) = 0;
1559 virtual void glGetFenceivNVFn(GLuint fence, GLenum pname, GLint* params) = 0;
1560 virtual void glGetFloatvFn(GLenum pname, GLfloat* params) = 0;
1561 virtual GLint glGetFragDataLocationFn(GLuint program, const char* name) = 0;
1562 virtual void glGetFramebufferAttachmentParameterivEXTFn(GLenum target,
1563 GLenum attachment,
1564 GLenum pname,
1565 GLint* params) = 0;
1566 virtual GLenum glGetGraphicsResetStatusARBFn(void) = 0;
1567 virtual void glGetInteger64i_vFn(GLenum target,
1568 GLuint index,
1569 GLint64* data) = 0;
1570 virtual void glGetInteger64vFn(GLenum pname, GLint64* params) = 0;
1571 virtual void glGetIntegeri_vFn(GLenum target, GLuint index, GLint* data) = 0;
1572 virtual void glGetIntegervFn(GLenum pname, GLint* params) = 0;
1573 virtual void glGetInternalformativFn(GLenum target,
1574 GLenum internalformat,
1575 GLenum pname,
1576 GLsizei bufSize,
1577 GLint* params) = 0;
1578 virtual void glGetProgramBinaryFn(GLuint program,
1579 GLsizei bufSize,
1580 GLsizei* length,
1581 GLenum* binaryFormat,
1582 GLvoid* binary) = 0;
1583 virtual void glGetProgramInfoLogFn(GLuint program,
1584 GLsizei bufsize,
1585 GLsizei* length,
1586 char* infolog) = 0;
1587 virtual void glGetProgramivFn(GLuint program,
1588 GLenum pname,
1589 GLint* params) = 0;
1590 virtual GLint glGetProgramResourceLocationFn(GLuint program,
1591 GLenum programInterface,
1592 const char* name) = 0;
1593 virtual void glGetQueryivFn(GLenum target, GLenum pname, GLint* params) = 0;
1594 virtual void glGetQueryivARBFn(GLenum target,
1595 GLenum pname,
1596 GLint* params) = 0;
1597 virtual void glGetQueryObjecti64vFn(GLuint id,
1598 GLenum pname,
1599 GLint64* params) = 0;
1600 virtual void glGetQueryObjectivFn(GLuint id, GLenum pname, GLint* params) = 0;
1601 virtual void glGetQueryObjectivARBFn(GLuint id,
1602 GLenum pname,
1603 GLint* params) = 0;
1604 virtual void glGetQueryObjectui64vFn(GLuint id,
1605 GLenum pname,
1606 GLuint64* params) = 0;
1607 virtual void glGetQueryObjectuivFn(GLuint id,
1608 GLenum pname,
1609 GLuint* params) = 0;
1610 virtual void glGetQueryObjectuivARBFn(GLuint id,
1611 GLenum pname,
1612 GLuint* params) = 0;
1613 virtual void glGetRenderbufferParameterivEXTFn(GLenum target,
1614 GLenum pname,
1615 GLint* params) = 0;
1616 virtual void glGetSamplerParameterfvFn(GLuint sampler,
1617 GLenum pname,
1618 GLfloat* params) = 0;
1619 virtual void glGetSamplerParameterivFn(GLuint sampler,
1620 GLenum pname,
1621 GLint* params) = 0;
1622 virtual void glGetShaderInfoLogFn(GLuint shader,
1623 GLsizei bufsize,
1624 GLsizei* length,
1625 char* infolog) = 0;
1626 virtual void glGetShaderivFn(GLuint shader, GLenum pname, GLint* params) = 0;
1627 virtual void glGetShaderPrecisionFormatFn(GLenum shadertype,
1628 GLenum precisiontype,
1629 GLint* range,
1630 GLint* precision) = 0;
1631 virtual void glGetShaderSourceFn(GLuint shader,
1632 GLsizei bufsize,
1633 GLsizei* length,
1634 char* source) = 0;
1635 virtual const GLubyte* glGetStringFn(GLenum name) = 0;
1636 virtual const GLubyte* glGetStringiFn(GLenum name, GLuint index) = 0;
1637 virtual void glGetSyncivFn(GLsync sync,
1638 GLenum pname,
1639 GLsizei bufSize,
1640 GLsizei* length,
1641 GLint* values) = 0;
1642 virtual void glGetTexLevelParameterfvFn(GLenum target,
1643 GLint level,
1644 GLenum pname,
1645 GLfloat* params) = 0;
1646 virtual void glGetTexLevelParameterivFn(GLenum target,
1647 GLint level,
1648 GLenum pname,
1649 GLint* params) = 0;
1650 virtual void glGetTexParameterfvFn(GLenum target,
1651 GLenum pname,
1652 GLfloat* params) = 0;
1653 virtual void glGetTexParameterivFn(GLenum target,
1654 GLenum pname,
1655 GLint* params) = 0;
1656 virtual void glGetTransformFeedbackVaryingFn(GLuint program,
1657 GLuint index,
1658 GLsizei bufSize,
1659 GLsizei* length,
1660 GLsizei* size,
1661 GLenum* type,
1662 char* name) = 0;
1663 virtual void glGetTranslatedShaderSourceANGLEFn(GLuint shader,
1664 GLsizei bufsize,
1665 GLsizei* length,
1666 char* source) = 0;
1667 virtual GLuint glGetUniformBlockIndexFn(GLuint program,
1668 const char* uniformBlockName) = 0;
1669 virtual void glGetUniformfvFn(GLuint program,
1670 GLint location,
1671 GLfloat* params) = 0;
1672 virtual void glGetUniformIndicesFn(GLuint program,
1673 GLsizei uniformCount,
1674 const char* const* uniformNames,
1675 GLuint* uniformIndices) = 0;
1676 virtual void glGetUniformivFn(GLuint program,
1677 GLint location,
1678 GLint* params) = 0;
1679 virtual GLint glGetUniformLocationFn(GLuint program, const char* name) = 0;
1680 virtual void glGetVertexAttribfvFn(GLuint index,
1681 GLenum pname,
1682 GLfloat* params) = 0;
1683 virtual void glGetVertexAttribivFn(GLuint index,
1684 GLenum pname,
1685 GLint* params) = 0;
1686 virtual void glGetVertexAttribPointervFn(GLuint index,
1687 GLenum pname,
1688 void** pointer) = 0;
1689 virtual void glHintFn(GLenum target, GLenum mode) = 0;
1690 virtual void glInsertEventMarkerEXTFn(GLsizei length, const char* marker) = 0;
1691 virtual void glInvalidateFramebufferFn(GLenum target,
1692 GLsizei numAttachments,
1693 const GLenum* attachments) = 0;
1694 virtual void glInvalidateSubFramebufferFn(GLenum target,
1695 GLsizei numAttachments,
1696 const GLenum* attachments,
1697 GLint x,
1698 GLint y,
1699 GLint width,
1700 GLint height) = 0;
1701 virtual GLboolean glIsBufferFn(GLuint buffer) = 0;
1702 virtual GLboolean glIsEnabledFn(GLenum cap) = 0;
1703 virtual GLboolean glIsFenceAPPLEFn(GLuint fence) = 0;
1704 virtual GLboolean glIsFenceNVFn(GLuint fence) = 0;
1705 virtual GLboolean glIsFramebufferEXTFn(GLuint framebuffer) = 0;
1706 virtual GLboolean glIsProgramFn(GLuint program) = 0;
1707 virtual GLboolean glIsQueryFn(GLuint query) = 0;
1708 virtual GLboolean glIsQueryARBFn(GLuint query) = 0;
1709 virtual GLboolean glIsRenderbufferEXTFn(GLuint renderbuffer) = 0;
1710 virtual GLboolean glIsSamplerFn(GLuint sampler) = 0;
1711 virtual GLboolean glIsShaderFn(GLuint shader) = 0;
1712 virtual GLboolean glIsSyncFn(GLsync sync) = 0;
1713 virtual GLboolean glIsTextureFn(GLuint texture) = 0;
1714 virtual GLboolean glIsTransformFeedbackFn(GLuint id) = 0;
1715 virtual GLboolean glIsVertexArrayOESFn(GLuint array) = 0;
1716 virtual void glLineWidthFn(GLfloat width) = 0;
1717 virtual void glLinkProgramFn(GLuint program) = 0;
1718 virtual void* glMapBufferFn(GLenum target, GLenum access) = 0;
1719 virtual void* glMapBufferRangeFn(GLenum target,
1720 GLintptr offset,
1721 GLsizeiptr length,
1722 GLbitfield access) = 0;
1723 virtual void glMatrixLoadfEXTFn(GLenum matrixMode, const GLfloat* m) = 0;
1724 virtual void glMatrixLoadIdentityEXTFn(GLenum matrixMode) = 0;
1725 virtual void glPauseTransformFeedbackFn(void) = 0;
1726 virtual void glPixelStoreiFn(GLenum pname, GLint param) = 0;
1727 virtual void glPointParameteriFn(GLenum pname, GLint param) = 0;
1728 virtual void glPolygonOffsetFn(GLfloat factor, GLfloat units) = 0;
1729 virtual void glPopGroupMarkerEXTFn(void) = 0;
1730 virtual void glProgramBinaryFn(GLuint program,
1731 GLenum binaryFormat,
1732 const GLvoid* binary,
1733 GLsizei length) = 0;
1734 virtual void glProgramParameteriFn(GLuint program,
1735 GLenum pname,
1736 GLint value) = 0;
1737 virtual void glPushGroupMarkerEXTFn(GLsizei length, const char* marker) = 0;
1738 virtual void glQueryCounterFn(GLuint id, GLenum target) = 0;
1739 virtual void glReadBufferFn(GLenum src) = 0;
1740 virtual void glReadPixelsFn(GLint x,
1741 GLint y,
1742 GLsizei width,
1743 GLsizei height,
1744 GLenum format,
1745 GLenum type,
1746 void* pixels) = 0;
1747 virtual void glReleaseShaderCompilerFn(void) = 0;
1748 virtual void glRenderbufferStorageEXTFn(GLenum target,
1749 GLenum internalformat,
1750 GLsizei width,
1751 GLsizei height) = 0;
1752 virtual void glRenderbufferStorageMultisampleFn(GLenum target,
1753 GLsizei samples,
1754 GLenum internalformat,
1755 GLsizei width,
1756 GLsizei height) = 0;
1757 virtual void glRenderbufferStorageMultisampleANGLEFn(GLenum target,
1758 GLsizei samples,
1759 GLenum internalformat,
1760 GLsizei width,
1761 GLsizei height) = 0;
1762 virtual void glRenderbufferStorageMultisampleEXTFn(GLenum target,
1763 GLsizei samples,
1764 GLenum internalformat,
1765 GLsizei width,
1766 GLsizei height) = 0;
1767 virtual void glRenderbufferStorageMultisampleIMGFn(GLenum target,
1768 GLsizei samples,
1769 GLenum internalformat,
1770 GLsizei width,
1771 GLsizei height) = 0;
1772 virtual void glResumeTransformFeedbackFn(void) = 0;
1773 virtual void glSampleCoverageFn(GLclampf value, GLboolean invert) = 0;
1774 virtual void glSamplerParameterfFn(GLuint sampler,
1775 GLenum pname,
1776 GLfloat param) = 0;
1777 virtual void glSamplerParameterfvFn(GLuint sampler,
1778 GLenum pname,
1779 const GLfloat* params) = 0;
1780 virtual void glSamplerParameteriFn(GLuint sampler,
1781 GLenum pname,
1782 GLint param) = 0;
1783 virtual void glSamplerParameterivFn(GLuint sampler,
1784 GLenum pname,
1785 const GLint* params) = 0;
1786 virtual void glScissorFn(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
1787 virtual void glSetFenceAPPLEFn(GLuint fence) = 0;
1788 virtual void glSetFenceNVFn(GLuint fence, GLenum condition) = 0;
1789 virtual void glShaderBinaryFn(GLsizei n,
1790 const GLuint* shaders,
1791 GLenum binaryformat,
1792 const void* binary,
1793 GLsizei length) = 0;
1794 virtual void glShaderSourceFn(GLuint shader,
1795 GLsizei count,
1796 const char* const* str,
1797 const GLint* length) = 0;
1798 virtual void glStencilFuncFn(GLenum func, GLint ref, GLuint mask) = 0;
1799 virtual void glStencilFuncSeparateFn(GLenum face,
1800 GLenum func,
1801 GLint ref,
1802 GLuint mask) = 0;
1803 virtual void glStencilMaskFn(GLuint mask) = 0;
1804 virtual void glStencilMaskSeparateFn(GLenum face, GLuint mask) = 0;
1805 virtual void glStencilOpFn(GLenum fail, GLenum zfail, GLenum zpass) = 0;
1806 virtual void glStencilOpSeparateFn(GLenum face,
1807 GLenum fail,
1808 GLenum zfail,
1809 GLenum zpass) = 0;
1810 virtual GLboolean glTestFenceAPPLEFn(GLuint fence) = 0;
1811 virtual GLboolean glTestFenceNVFn(GLuint fence) = 0;
1812 virtual void glTexImage2DFn(GLenum target,
1813 GLint level,
1814 GLint internalformat,
1815 GLsizei width,
1816 GLsizei height,
1817 GLint border,
1818 GLenum format,
1819 GLenum type,
1820 const void* pixels) = 0;
1821 virtual void glTexImage3DFn(GLenum target,
1822 GLint level,
1823 GLint internalformat,
1824 GLsizei width,
1825 GLsizei height,
1826 GLsizei depth,
1827 GLint border,
1828 GLenum format,
1829 GLenum type,
1830 const void* pixels) = 0;
1831 virtual void glTexParameterfFn(GLenum target,
1832 GLenum pname,
1833 GLfloat param) = 0;
1834 virtual void glTexParameterfvFn(GLenum target,
1835 GLenum pname,
1836 const GLfloat* params) = 0;
1837 virtual void glTexParameteriFn(GLenum target, GLenum pname, GLint param) = 0;
1838 virtual void glTexParameterivFn(GLenum target,
1839 GLenum pname,
1840 const GLint* params) = 0;
1841 virtual void glTexStorage2DEXTFn(GLenum target,
1842 GLsizei levels,
1843 GLenum internalformat,
1844 GLsizei width,
1845 GLsizei height) = 0;
1846 virtual void glTexStorage3DFn(GLenum target,
1847 GLsizei levels,
1848 GLenum internalformat,
1849 GLsizei width,
1850 GLsizei height,
1851 GLsizei depth) = 0;
1852 virtual void glTexSubImage2DFn(GLenum target,
1853 GLint level,
1854 GLint xoffset,
1855 GLint yoffset,
1856 GLsizei width,
1857 GLsizei height,
1858 GLenum format,
1859 GLenum type,
1860 const void* pixels) = 0;
1861 virtual void glTransformFeedbackVaryingsFn(GLuint program,
1862 GLsizei count,
1863 const char* const* varyings,
1864 GLenum bufferMode) = 0;
1865 virtual void glUniform1fFn(GLint location, GLfloat x) = 0;
1866 virtual void glUniform1fvFn(GLint location,
1867 GLsizei count,
1868 const GLfloat* v) = 0;
1869 virtual void glUniform1iFn(GLint location, GLint x) = 0;
1870 virtual void glUniform1ivFn(GLint location,
1871 GLsizei count,
1872 const GLint* v) = 0;
1873 virtual void glUniform1uiFn(GLint location, GLuint v0) = 0;
1874 virtual void glUniform1uivFn(GLint location,
1875 GLsizei count,
1876 const GLuint* v) = 0;
1877 virtual void glUniform2fFn(GLint location, GLfloat x, GLfloat y) = 0;
1878 virtual void glUniform2fvFn(GLint location,
1879 GLsizei count,
1880 const GLfloat* v) = 0;
1881 virtual void glUniform2iFn(GLint location, GLint x, GLint y) = 0;
1882 virtual void glUniform2ivFn(GLint location,
1883 GLsizei count,
1884 const GLint* v) = 0;
1885 virtual void glUniform2uiFn(GLint location, GLuint v0, GLuint v1) = 0;
1886 virtual void glUniform2uivFn(GLint location,
1887 GLsizei count,
1888 const GLuint* v) = 0;
1889 virtual void glUniform3fFn(GLint location,
1890 GLfloat x,
1891 GLfloat y,
1892 GLfloat z) = 0;
1893 virtual void glUniform3fvFn(GLint location,
1894 GLsizei count,
1895 const GLfloat* v) = 0;
1896 virtual void glUniform3iFn(GLint location, GLint x, GLint y, GLint z) = 0;
1897 virtual void glUniform3ivFn(GLint location,
1898 GLsizei count,
1899 const GLint* v) = 0;
1900 virtual void glUniform3uiFn(GLint location,
1901 GLuint v0,
1902 GLuint v1,
1903 GLuint v2) = 0;
1904 virtual void glUniform3uivFn(GLint location,
1905 GLsizei count,
1906 const GLuint* v) = 0;
1907 virtual void glUniform4fFn(GLint location,
1908 GLfloat x,
1909 GLfloat y,
1910 GLfloat z,
1911 GLfloat w) = 0;
1912 virtual void glUniform4fvFn(GLint location,
1913 GLsizei count,
1914 const GLfloat* v) = 0;
1915 virtual void glUniform4iFn(GLint location,
1916 GLint x,
1917 GLint y,
1918 GLint z,
1919 GLint w) = 0;
1920 virtual void glUniform4ivFn(GLint location,
1921 GLsizei count,
1922 const GLint* v) = 0;
1923 virtual void glUniform4uiFn(GLint location,
1924 GLuint v0,
1925 GLuint v1,
1926 GLuint v2,
1927 GLuint v3) = 0;
1928 virtual void glUniform4uivFn(GLint location,
1929 GLsizei count,
1930 const GLuint* v) = 0;
1931 virtual void glUniformBlockBindingFn(GLuint program,
1932 GLuint uniformBlockIndex,
1933 GLuint uniformBlockBinding) = 0;
1934 virtual void glUniformMatrix2fvFn(GLint location,
1935 GLsizei count,
1936 GLboolean transpose,
1937 const GLfloat* value) = 0;
1938 virtual void glUniformMatrix2x3fvFn(GLint location,
1939 GLsizei count,
1940 GLboolean transpose,
1941 const GLfloat* value) = 0;
1942 virtual void glUniformMatrix2x4fvFn(GLint location,
1943 GLsizei count,
1944 GLboolean transpose,
1945 const GLfloat* value) = 0;
1946 virtual void glUniformMatrix3fvFn(GLint location,
1947 GLsizei count,
1948 GLboolean transpose,
1949 const GLfloat* value) = 0;
1950 virtual void glUniformMatrix3x2fvFn(GLint location,
1951 GLsizei count,
1952 GLboolean transpose,
1953 const GLfloat* value) = 0;
1954 virtual void glUniformMatrix3x4fvFn(GLint location,
1955 GLsizei count,
1956 GLboolean transpose,
1957 const GLfloat* value) = 0;
1958 virtual void glUniformMatrix4fvFn(GLint location,
1959 GLsizei count,
1960 GLboolean transpose,
1961 const GLfloat* value) = 0;
1962 virtual void glUniformMatrix4x2fvFn(GLint location,
1963 GLsizei count,
1964 GLboolean transpose,
1965 const GLfloat* value) = 0;
1966 virtual void glUniformMatrix4x3fvFn(GLint location,
1967 GLsizei count,
1968 GLboolean transpose,
1969 const GLfloat* value) = 0;
1970 virtual GLboolean glUnmapBufferFn(GLenum target) = 0;
1971 virtual void glUseProgramFn(GLuint program) = 0;
1972 virtual void glValidateProgramFn(GLuint program) = 0;
1973 virtual void glVertexAttrib1fFn(GLuint indx, GLfloat x) = 0;
1974 virtual void glVertexAttrib1fvFn(GLuint indx, const GLfloat* values) = 0;
1975 virtual void glVertexAttrib2fFn(GLuint indx, GLfloat x, GLfloat y) = 0;
1976 virtual void glVertexAttrib2fvFn(GLuint indx, const GLfloat* values) = 0;
1977 virtual void glVertexAttrib3fFn(GLuint indx,
1978 GLfloat x,
1979 GLfloat y,
1980 GLfloat z) = 0;
1981 virtual void glVertexAttrib3fvFn(GLuint indx, const GLfloat* values) = 0;
1982 virtual void glVertexAttrib4fFn(GLuint indx,
1983 GLfloat x,
1984 GLfloat y,
1985 GLfloat z,
1986 GLfloat w) = 0;
1987 virtual void glVertexAttrib4fvFn(GLuint indx, const GLfloat* values) = 0;
1988 virtual void glVertexAttribDivisorANGLEFn(GLuint index, GLuint divisor) = 0;
1989 virtual void glVertexAttribI4iFn(GLuint indx,
1990 GLint x,
1991 GLint y,
1992 GLint z,
1993 GLint w) = 0;
1994 virtual void glVertexAttribI4ivFn(GLuint indx, const GLint* values) = 0;
1995 virtual void glVertexAttribI4uiFn(GLuint indx,
1996 GLuint x,
1997 GLuint y,
1998 GLuint z,
1999 GLuint w) = 0;
2000 virtual void glVertexAttribI4uivFn(GLuint indx, const GLuint* values) = 0;
2001 virtual void glVertexAttribIPointerFn(GLuint indx,
2002 GLint size,
2003 GLenum type,
2004 GLsizei stride,
2005 const void* ptr) = 0;
2006 virtual void glVertexAttribPointerFn(GLuint indx,
2007 GLint size,
2008 GLenum type,
2009 GLboolean normalized,
2010 GLsizei stride,
2011 const void* ptr) = 0;
2012 virtual void glViewportFn(GLint x,
2013 GLint y,
2014 GLsizei width,
2015 GLsizei height) = 0;
2016 virtual GLenum glWaitSyncFn(GLsync sync,
2017 GLbitfield flags,
2018 GLuint64 timeout) = 0;
2021 } // namespace gfx
2023 #define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn
2024 #define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn
2025 #define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn
2026 #define glBeginQueryARB ::gfx::g_current_gl_context->glBeginQueryARBFn
2027 #define glBeginTransformFeedback \
2028 ::gfx::g_current_gl_context->glBeginTransformFeedbackFn
2029 #define glBindAttribLocation ::gfx::g_current_gl_context->glBindAttribLocationFn
2030 #define glBindBuffer ::gfx::g_current_gl_context->glBindBufferFn
2031 #define glBindBufferBase ::gfx::g_current_gl_context->glBindBufferBaseFn
2032 #define glBindBufferRange ::gfx::g_current_gl_context->glBindBufferRangeFn
2033 #define glBindFragDataLocation \
2034 ::gfx::g_current_gl_context->glBindFragDataLocationFn
2035 #define glBindFragDataLocationIndexed \
2036 ::gfx::g_current_gl_context->glBindFragDataLocationIndexedFn
2037 #define glBindFramebufferEXT ::gfx::g_current_gl_context->glBindFramebufferEXTFn
2038 #define glBindRenderbufferEXT \
2039 ::gfx::g_current_gl_context->glBindRenderbufferEXTFn
2040 #define glBindSampler ::gfx::g_current_gl_context->glBindSamplerFn
2041 #define glBindTexture ::gfx::g_current_gl_context->glBindTextureFn
2042 #define glBindTransformFeedback \
2043 ::gfx::g_current_gl_context->glBindTransformFeedbackFn
2044 #define glBindVertexArrayOES ::gfx::g_current_gl_context->glBindVertexArrayOESFn
2045 #define glBlendBarrierKHR ::gfx::g_current_gl_context->glBlendBarrierKHRFn
2046 #define glBlendColor ::gfx::g_current_gl_context->glBlendColorFn
2047 #define glBlendEquation ::gfx::g_current_gl_context->glBlendEquationFn
2048 #define glBlendEquationSeparate \
2049 ::gfx::g_current_gl_context->glBlendEquationSeparateFn
2050 #define glBlendFunc ::gfx::g_current_gl_context->glBlendFuncFn
2051 #define glBlendFuncSeparate ::gfx::g_current_gl_context->glBlendFuncSeparateFn
2052 #define glBlitFramebuffer ::gfx::g_current_gl_context->glBlitFramebufferFn
2053 #define glBlitFramebufferANGLE \
2054 ::gfx::g_current_gl_context->glBlitFramebufferANGLEFn
2055 #define glBlitFramebufferEXT ::gfx::g_current_gl_context->glBlitFramebufferEXTFn
2056 #define glBufferData ::gfx::g_current_gl_context->glBufferDataFn
2057 #define glBufferSubData ::gfx::g_current_gl_context->glBufferSubDataFn
2058 #define glCheckFramebufferStatusEXT \
2059 ::gfx::g_current_gl_context->glCheckFramebufferStatusEXTFn
2060 #define glClear ::gfx::g_current_gl_context->glClearFn
2061 #define glClearBufferfi ::gfx::g_current_gl_context->glClearBufferfiFn
2062 #define glClearBufferfv ::gfx::g_current_gl_context->glClearBufferfvFn
2063 #define glClearBufferiv ::gfx::g_current_gl_context->glClearBufferivFn
2064 #define glClearBufferuiv ::gfx::g_current_gl_context->glClearBufferuivFn
2065 #define glClearColor ::gfx::g_current_gl_context->glClearColorFn
2066 #define glClearDepth ::gfx::g_current_gl_context->glClearDepthFn
2067 #define glClearDepthf ::gfx::g_current_gl_context->glClearDepthfFn
2068 #define glClearStencil ::gfx::g_current_gl_context->glClearStencilFn
2069 #define glClientWaitSync ::gfx::g_current_gl_context->glClientWaitSyncFn
2070 #define glColorMask ::gfx::g_current_gl_context->glColorMaskFn
2071 #define glCompileShader ::gfx::g_current_gl_context->glCompileShaderFn
2072 #define glCompressedTexImage2D \
2073 ::gfx::g_current_gl_context->glCompressedTexImage2DFn
2074 #define glCompressedTexImage3D \
2075 ::gfx::g_current_gl_context->glCompressedTexImage3DFn
2076 #define glCompressedTexSubImage2D \
2077 ::gfx::g_current_gl_context->glCompressedTexSubImage2DFn
2078 #define glCopyBufferSubData ::gfx::g_current_gl_context->glCopyBufferSubDataFn
2079 #define glCopyTexImage2D ::gfx::g_current_gl_context->glCopyTexImage2DFn
2080 #define glCopyTexSubImage2D ::gfx::g_current_gl_context->glCopyTexSubImage2DFn
2081 #define glCopyTexSubImage3D ::gfx::g_current_gl_context->glCopyTexSubImage3DFn
2082 #define glCreateProgram ::gfx::g_current_gl_context->glCreateProgramFn
2083 #define glCreateShader ::gfx::g_current_gl_context->glCreateShaderFn
2084 #define glCullFace ::gfx::g_current_gl_context->glCullFaceFn
2085 #define glDeleteBuffersARB ::gfx::g_current_gl_context->glDeleteBuffersARBFn
2086 #define glDeleteFencesAPPLE ::gfx::g_current_gl_context->glDeleteFencesAPPLEFn
2087 #define glDeleteFencesNV ::gfx::g_current_gl_context->glDeleteFencesNVFn
2088 #define glDeleteFramebuffersEXT \
2089 ::gfx::g_current_gl_context->glDeleteFramebuffersEXTFn
2090 #define glDeleteProgram ::gfx::g_current_gl_context->glDeleteProgramFn
2091 #define glDeleteQueries ::gfx::g_current_gl_context->glDeleteQueriesFn
2092 #define glDeleteQueriesARB ::gfx::g_current_gl_context->glDeleteQueriesARBFn
2093 #define glDeleteRenderbuffersEXT \
2094 ::gfx::g_current_gl_context->glDeleteRenderbuffersEXTFn
2095 #define glDeleteSamplers ::gfx::g_current_gl_context->glDeleteSamplersFn
2096 #define glDeleteShader ::gfx::g_current_gl_context->glDeleteShaderFn
2097 #define glDeleteSync ::gfx::g_current_gl_context->glDeleteSyncFn
2098 #define glDeleteTextures ::gfx::g_current_gl_context->glDeleteTexturesFn
2099 #define glDeleteTransformFeedbacks \
2100 ::gfx::g_current_gl_context->glDeleteTransformFeedbacksFn
2101 #define glDeleteVertexArraysOES \
2102 ::gfx::g_current_gl_context->glDeleteVertexArraysOESFn
2103 #define glDepthFunc ::gfx::g_current_gl_context->glDepthFuncFn
2104 #define glDepthMask ::gfx::g_current_gl_context->glDepthMaskFn
2105 #define glDepthRange ::gfx::g_current_gl_context->glDepthRangeFn
2106 #define glDepthRangef ::gfx::g_current_gl_context->glDepthRangefFn
2107 #define glDetachShader ::gfx::g_current_gl_context->glDetachShaderFn
2108 #define glDisable ::gfx::g_current_gl_context->glDisableFn
2109 #define glDisableVertexAttribArray \
2110 ::gfx::g_current_gl_context->glDisableVertexAttribArrayFn
2111 #define glDiscardFramebufferEXT \
2112 ::gfx::g_current_gl_context->glDiscardFramebufferEXTFn
2113 #define glDrawArrays ::gfx::g_current_gl_context->glDrawArraysFn
2114 #define glDrawArraysInstancedANGLE \
2115 ::gfx::g_current_gl_context->glDrawArraysInstancedANGLEFn
2116 #define glDrawBuffer ::gfx::g_current_gl_context->glDrawBufferFn
2117 #define glDrawBuffersARB ::gfx::g_current_gl_context->glDrawBuffersARBFn
2118 #define glDrawElements ::gfx::g_current_gl_context->glDrawElementsFn
2119 #define glDrawElementsInstancedANGLE \
2120 ::gfx::g_current_gl_context->glDrawElementsInstancedANGLEFn
2121 #define glDrawRangeElements ::gfx::g_current_gl_context->glDrawRangeElementsFn
2122 #define glEGLImageTargetRenderbufferStorageOES \
2123 ::gfx::g_current_gl_context->glEGLImageTargetRenderbufferStorageOESFn
2124 #define glEGLImageTargetTexture2DOES \
2125 ::gfx::g_current_gl_context->glEGLImageTargetTexture2DOESFn
2126 #define glEnable ::gfx::g_current_gl_context->glEnableFn
2127 #define glEnableVertexAttribArray \
2128 ::gfx::g_current_gl_context->glEnableVertexAttribArrayFn
2129 #define glEndQuery ::gfx::g_current_gl_context->glEndQueryFn
2130 #define glEndQueryARB ::gfx::g_current_gl_context->glEndQueryARBFn
2131 #define glEndTransformFeedback \
2132 ::gfx::g_current_gl_context->glEndTransformFeedbackFn
2133 #define glFenceSync ::gfx::g_current_gl_context->glFenceSyncFn
2134 #define glFinish ::gfx::g_current_gl_context->glFinishFn
2135 #define glFinishFenceAPPLE ::gfx::g_current_gl_context->glFinishFenceAPPLEFn
2136 #define glFinishFenceNV ::gfx::g_current_gl_context->glFinishFenceNVFn
2137 #define glFlush ::gfx::g_current_gl_context->glFlushFn
2138 #define glFlushMappedBufferRange \
2139 ::gfx::g_current_gl_context->glFlushMappedBufferRangeFn
2140 #define glFramebufferRenderbufferEXT \
2141 ::gfx::g_current_gl_context->glFramebufferRenderbufferEXTFn
2142 #define glFramebufferTexture2DEXT \
2143 ::gfx::g_current_gl_context->glFramebufferTexture2DEXTFn
2144 #define glFramebufferTexture2DMultisampleEXT \
2145 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleEXTFn
2146 #define glFramebufferTexture2DMultisampleIMG \
2147 ::gfx::g_current_gl_context->glFramebufferTexture2DMultisampleIMGFn
2148 #define glFramebufferTextureLayer \
2149 ::gfx::g_current_gl_context->glFramebufferTextureLayerFn
2150 #define glFrontFace ::gfx::g_current_gl_context->glFrontFaceFn
2151 #define glGenBuffersARB ::gfx::g_current_gl_context->glGenBuffersARBFn
2152 #define glGenerateMipmapEXT ::gfx::g_current_gl_context->glGenerateMipmapEXTFn
2153 #define glGenFencesAPPLE ::gfx::g_current_gl_context->glGenFencesAPPLEFn
2154 #define glGenFencesNV ::gfx::g_current_gl_context->glGenFencesNVFn
2155 #define glGenFramebuffersEXT ::gfx::g_current_gl_context->glGenFramebuffersEXTFn
2156 #define glGenQueries ::gfx::g_current_gl_context->glGenQueriesFn
2157 #define glGenQueriesARB ::gfx::g_current_gl_context->glGenQueriesARBFn
2158 #define glGenRenderbuffersEXT \
2159 ::gfx::g_current_gl_context->glGenRenderbuffersEXTFn
2160 #define glGenSamplers ::gfx::g_current_gl_context->glGenSamplersFn
2161 #define glGenTextures ::gfx::g_current_gl_context->glGenTexturesFn
2162 #define glGenTransformFeedbacks \
2163 ::gfx::g_current_gl_context->glGenTransformFeedbacksFn
2164 #define glGenVertexArraysOES ::gfx::g_current_gl_context->glGenVertexArraysOESFn
2165 #define glGetActiveAttrib ::gfx::g_current_gl_context->glGetActiveAttribFn
2166 #define glGetActiveUniform ::gfx::g_current_gl_context->glGetActiveUniformFn
2167 #define glGetActiveUniformBlockiv \
2168 ::gfx::g_current_gl_context->glGetActiveUniformBlockivFn
2169 #define glGetActiveUniformBlockName \
2170 ::gfx::g_current_gl_context->glGetActiveUniformBlockNameFn
2171 #define glGetActiveUniformsiv \
2172 ::gfx::g_current_gl_context->glGetActiveUniformsivFn
2173 #define glGetAttachedShaders ::gfx::g_current_gl_context->glGetAttachedShadersFn
2174 #define glGetAttribLocation ::gfx::g_current_gl_context->glGetAttribLocationFn
2175 #define glGetBooleanv ::gfx::g_current_gl_context->glGetBooleanvFn
2176 #define glGetBufferParameteriv \
2177 ::gfx::g_current_gl_context->glGetBufferParameterivFn
2178 #define glGetError ::gfx::g_current_gl_context->glGetErrorFn
2179 #define glGetFenceivNV ::gfx::g_current_gl_context->glGetFenceivNVFn
2180 #define glGetFloatv ::gfx::g_current_gl_context->glGetFloatvFn
2181 #define glGetFragDataLocation \
2182 ::gfx::g_current_gl_context->glGetFragDataLocationFn
2183 #define glGetFramebufferAttachmentParameterivEXT \
2184 ::gfx::g_current_gl_context->glGetFramebufferAttachmentParameterivEXTFn
2185 #define glGetGraphicsResetStatusARB \
2186 ::gfx::g_current_gl_context->glGetGraphicsResetStatusARBFn
2187 #define glGetInteger64i_v ::gfx::g_current_gl_context->glGetInteger64i_vFn
2188 #define glGetInteger64v ::gfx::g_current_gl_context->glGetInteger64vFn
2189 #define glGetIntegeri_v ::gfx::g_current_gl_context->glGetIntegeri_vFn
2190 #define glGetIntegerv ::gfx::g_current_gl_context->glGetIntegervFn
2191 #define glGetInternalformativ \
2192 ::gfx::g_current_gl_context->glGetInternalformativFn
2193 #define glGetProgramBinary ::gfx::g_current_gl_context->glGetProgramBinaryFn
2194 #define glGetProgramInfoLog ::gfx::g_current_gl_context->glGetProgramInfoLogFn
2195 #define glGetProgramiv ::gfx::g_current_gl_context->glGetProgramivFn
2196 #define glGetProgramResourceLocation \
2197 ::gfx::g_current_gl_context->glGetProgramResourceLocationFn
2198 #define glGetQueryiv ::gfx::g_current_gl_context->glGetQueryivFn
2199 #define glGetQueryivARB ::gfx::g_current_gl_context->glGetQueryivARBFn
2200 #define glGetQueryObjecti64v ::gfx::g_current_gl_context->glGetQueryObjecti64vFn
2201 #define glGetQueryObjectiv ::gfx::g_current_gl_context->glGetQueryObjectivFn
2202 #define glGetQueryObjectivARB \
2203 ::gfx::g_current_gl_context->glGetQueryObjectivARBFn
2204 #define glGetQueryObjectui64v \
2205 ::gfx::g_current_gl_context->glGetQueryObjectui64vFn
2206 #define glGetQueryObjectuiv ::gfx::g_current_gl_context->glGetQueryObjectuivFn
2207 #define glGetQueryObjectuivARB \
2208 ::gfx::g_current_gl_context->glGetQueryObjectuivARBFn
2209 #define glGetRenderbufferParameterivEXT \
2210 ::gfx::g_current_gl_context->glGetRenderbufferParameterivEXTFn
2211 #define glGetSamplerParameterfv \
2212 ::gfx::g_current_gl_context->glGetSamplerParameterfvFn
2213 #define glGetSamplerParameteriv \
2214 ::gfx::g_current_gl_context->glGetSamplerParameterivFn
2215 #define glGetShaderInfoLog ::gfx::g_current_gl_context->glGetShaderInfoLogFn
2216 #define glGetShaderiv ::gfx::g_current_gl_context->glGetShaderivFn
2217 #define glGetShaderPrecisionFormat \
2218 ::gfx::g_current_gl_context->glGetShaderPrecisionFormatFn
2219 #define glGetShaderSource ::gfx::g_current_gl_context->glGetShaderSourceFn
2220 #define glGetString ::gfx::g_current_gl_context->glGetStringFn
2221 #define glGetStringi ::gfx::g_current_gl_context->glGetStringiFn
2222 #define glGetSynciv ::gfx::g_current_gl_context->glGetSyncivFn
2223 #define glGetTexLevelParameterfv \
2224 ::gfx::g_current_gl_context->glGetTexLevelParameterfvFn
2225 #define glGetTexLevelParameteriv \
2226 ::gfx::g_current_gl_context->glGetTexLevelParameterivFn
2227 #define glGetTexParameterfv ::gfx::g_current_gl_context->glGetTexParameterfvFn
2228 #define glGetTexParameteriv ::gfx::g_current_gl_context->glGetTexParameterivFn
2229 #define glGetTransformFeedbackVarying \
2230 ::gfx::g_current_gl_context->glGetTransformFeedbackVaryingFn
2231 #define glGetTranslatedShaderSourceANGLE \
2232 ::gfx::g_current_gl_context->glGetTranslatedShaderSourceANGLEFn
2233 #define glGetUniformBlockIndex \
2234 ::gfx::g_current_gl_context->glGetUniformBlockIndexFn
2235 #define glGetUniformfv ::gfx::g_current_gl_context->glGetUniformfvFn
2236 #define glGetUniformIndices ::gfx::g_current_gl_context->glGetUniformIndicesFn
2237 #define glGetUniformiv ::gfx::g_current_gl_context->glGetUniformivFn
2238 #define glGetUniformLocation ::gfx::g_current_gl_context->glGetUniformLocationFn
2239 #define glGetVertexAttribfv ::gfx::g_current_gl_context->glGetVertexAttribfvFn
2240 #define glGetVertexAttribiv ::gfx::g_current_gl_context->glGetVertexAttribivFn
2241 #define glGetVertexAttribPointerv \
2242 ::gfx::g_current_gl_context->glGetVertexAttribPointervFn
2243 #define glHint ::gfx::g_current_gl_context->glHintFn
2244 #define glInsertEventMarkerEXT \
2245 ::gfx::g_current_gl_context->glInsertEventMarkerEXTFn
2246 #define glInvalidateFramebuffer \
2247 ::gfx::g_current_gl_context->glInvalidateFramebufferFn
2248 #define glInvalidateSubFramebuffer \
2249 ::gfx::g_current_gl_context->glInvalidateSubFramebufferFn
2250 #define glIsBuffer ::gfx::g_current_gl_context->glIsBufferFn
2251 #define glIsEnabled ::gfx::g_current_gl_context->glIsEnabledFn
2252 #define glIsFenceAPPLE ::gfx::g_current_gl_context->glIsFenceAPPLEFn
2253 #define glIsFenceNV ::gfx::g_current_gl_context->glIsFenceNVFn
2254 #define glIsFramebufferEXT ::gfx::g_current_gl_context->glIsFramebufferEXTFn
2255 #define glIsProgram ::gfx::g_current_gl_context->glIsProgramFn
2256 #define glIsQuery ::gfx::g_current_gl_context->glIsQueryFn
2257 #define glIsQueryARB ::gfx::g_current_gl_context->glIsQueryARBFn
2258 #define glIsRenderbufferEXT ::gfx::g_current_gl_context->glIsRenderbufferEXTFn
2259 #define glIsSampler ::gfx::g_current_gl_context->glIsSamplerFn
2260 #define glIsShader ::gfx::g_current_gl_context->glIsShaderFn
2261 #define glIsSync ::gfx::g_current_gl_context->glIsSyncFn
2262 #define glIsTexture ::gfx::g_current_gl_context->glIsTextureFn
2263 #define glIsTransformFeedback \
2264 ::gfx::g_current_gl_context->glIsTransformFeedbackFn
2265 #define glIsVertexArrayOES ::gfx::g_current_gl_context->glIsVertexArrayOESFn
2266 #define glLineWidth ::gfx::g_current_gl_context->glLineWidthFn
2267 #define glLinkProgram ::gfx::g_current_gl_context->glLinkProgramFn
2268 #define glMapBuffer ::gfx::g_current_gl_context->glMapBufferFn
2269 #define glMapBufferRange ::gfx::g_current_gl_context->glMapBufferRangeFn
2270 #define glMatrixLoadfEXT ::gfx::g_current_gl_context->glMatrixLoadfEXTFn
2271 #define glMatrixLoadIdentityEXT \
2272 ::gfx::g_current_gl_context->glMatrixLoadIdentityEXTFn
2273 #define glPauseTransformFeedback \
2274 ::gfx::g_current_gl_context->glPauseTransformFeedbackFn
2275 #define glPixelStorei ::gfx::g_current_gl_context->glPixelStoreiFn
2276 #define glPointParameteri ::gfx::g_current_gl_context->glPointParameteriFn
2277 #define glPolygonOffset ::gfx::g_current_gl_context->glPolygonOffsetFn
2278 #define glPopGroupMarkerEXT ::gfx::g_current_gl_context->glPopGroupMarkerEXTFn
2279 #define glProgramBinary ::gfx::g_current_gl_context->glProgramBinaryFn
2280 #define glProgramParameteri ::gfx::g_current_gl_context->glProgramParameteriFn
2281 #define glPushGroupMarkerEXT ::gfx::g_current_gl_context->glPushGroupMarkerEXTFn
2282 #define glQueryCounter ::gfx::g_current_gl_context->glQueryCounterFn
2283 #define glReadBuffer ::gfx::g_current_gl_context->glReadBufferFn
2284 #define glReadPixels ::gfx::g_current_gl_context->glReadPixelsFn
2285 #define glReleaseShaderCompiler \
2286 ::gfx::g_current_gl_context->glReleaseShaderCompilerFn
2287 #define glRenderbufferStorageEXT \
2288 ::gfx::g_current_gl_context->glRenderbufferStorageEXTFn
2289 #define glRenderbufferStorageMultisample \
2290 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleFn
2291 #define glRenderbufferStorageMultisampleANGLE \
2292 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleANGLEFn
2293 #define glRenderbufferStorageMultisampleEXT \
2294 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleEXTFn
2295 #define glRenderbufferStorageMultisampleIMG \
2296 ::gfx::g_current_gl_context->glRenderbufferStorageMultisampleIMGFn
2297 #define glResumeTransformFeedback \
2298 ::gfx::g_current_gl_context->glResumeTransformFeedbackFn
2299 #define glSampleCoverage ::gfx::g_current_gl_context->glSampleCoverageFn
2300 #define glSamplerParameterf ::gfx::g_current_gl_context->glSamplerParameterfFn
2301 #define glSamplerParameterfv ::gfx::g_current_gl_context->glSamplerParameterfvFn
2302 #define glSamplerParameteri ::gfx::g_current_gl_context->glSamplerParameteriFn
2303 #define glSamplerParameteriv ::gfx::g_current_gl_context->glSamplerParameterivFn
2304 #define glScissor ::gfx::g_current_gl_context->glScissorFn
2305 #define glSetFenceAPPLE ::gfx::g_current_gl_context->glSetFenceAPPLEFn
2306 #define glSetFenceNV ::gfx::g_current_gl_context->glSetFenceNVFn
2307 #define glShaderBinary ::gfx::g_current_gl_context->glShaderBinaryFn
2308 #define glShaderSource ::gfx::g_current_gl_context->glShaderSourceFn
2309 #define glStencilFunc ::gfx::g_current_gl_context->glStencilFuncFn
2310 #define glStencilFuncSeparate \
2311 ::gfx::g_current_gl_context->glStencilFuncSeparateFn
2312 #define glStencilMask ::gfx::g_current_gl_context->glStencilMaskFn
2313 #define glStencilMaskSeparate \
2314 ::gfx::g_current_gl_context->glStencilMaskSeparateFn
2315 #define glStencilOp ::gfx::g_current_gl_context->glStencilOpFn
2316 #define glStencilOpSeparate ::gfx::g_current_gl_context->glStencilOpSeparateFn
2317 #define glTestFenceAPPLE ::gfx::g_current_gl_context->glTestFenceAPPLEFn
2318 #define glTestFenceNV ::gfx::g_current_gl_context->glTestFenceNVFn
2319 #define glTexImage2D ::gfx::g_current_gl_context->glTexImage2DFn
2320 #define glTexImage3D ::gfx::g_current_gl_context->glTexImage3DFn
2321 #define glTexParameterf ::gfx::g_current_gl_context->glTexParameterfFn
2322 #define glTexParameterfv ::gfx::g_current_gl_context->glTexParameterfvFn
2323 #define glTexParameteri ::gfx::g_current_gl_context->glTexParameteriFn
2324 #define glTexParameteriv ::gfx::g_current_gl_context->glTexParameterivFn
2325 #define glTexStorage2DEXT ::gfx::g_current_gl_context->glTexStorage2DEXTFn
2326 #define glTexStorage3D ::gfx::g_current_gl_context->glTexStorage3DFn
2327 #define glTexSubImage2D ::gfx::g_current_gl_context->glTexSubImage2DFn
2328 #define glTransformFeedbackVaryings \
2329 ::gfx::g_current_gl_context->glTransformFeedbackVaryingsFn
2330 #define glUniform1f ::gfx::g_current_gl_context->glUniform1fFn
2331 #define glUniform1fv ::gfx::g_current_gl_context->glUniform1fvFn
2332 #define glUniform1i ::gfx::g_current_gl_context->glUniform1iFn
2333 #define glUniform1iv ::gfx::g_current_gl_context->glUniform1ivFn
2334 #define glUniform1ui ::gfx::g_current_gl_context->glUniform1uiFn
2335 #define glUniform1uiv ::gfx::g_current_gl_context->glUniform1uivFn
2336 #define glUniform2f ::gfx::g_current_gl_context->glUniform2fFn
2337 #define glUniform2fv ::gfx::g_current_gl_context->glUniform2fvFn
2338 #define glUniform2i ::gfx::g_current_gl_context->glUniform2iFn
2339 #define glUniform2iv ::gfx::g_current_gl_context->glUniform2ivFn
2340 #define glUniform2ui ::gfx::g_current_gl_context->glUniform2uiFn
2341 #define glUniform2uiv ::gfx::g_current_gl_context->glUniform2uivFn
2342 #define glUniform3f ::gfx::g_current_gl_context->glUniform3fFn
2343 #define glUniform3fv ::gfx::g_current_gl_context->glUniform3fvFn
2344 #define glUniform3i ::gfx::g_current_gl_context->glUniform3iFn
2345 #define glUniform3iv ::gfx::g_current_gl_context->glUniform3ivFn
2346 #define glUniform3ui ::gfx::g_current_gl_context->glUniform3uiFn
2347 #define glUniform3uiv ::gfx::g_current_gl_context->glUniform3uivFn
2348 #define glUniform4f ::gfx::g_current_gl_context->glUniform4fFn
2349 #define glUniform4fv ::gfx::g_current_gl_context->glUniform4fvFn
2350 #define glUniform4i ::gfx::g_current_gl_context->glUniform4iFn
2351 #define glUniform4iv ::gfx::g_current_gl_context->glUniform4ivFn
2352 #define glUniform4ui ::gfx::g_current_gl_context->glUniform4uiFn
2353 #define glUniform4uiv ::gfx::g_current_gl_context->glUniform4uivFn
2354 #define glUniformBlockBinding \
2355 ::gfx::g_current_gl_context->glUniformBlockBindingFn
2356 #define glUniformMatrix2fv ::gfx::g_current_gl_context->glUniformMatrix2fvFn
2357 #define glUniformMatrix2x3fv ::gfx::g_current_gl_context->glUniformMatrix2x3fvFn
2358 #define glUniformMatrix2x4fv ::gfx::g_current_gl_context->glUniformMatrix2x4fvFn
2359 #define glUniformMatrix3fv ::gfx::g_current_gl_context->glUniformMatrix3fvFn
2360 #define glUniformMatrix3x2fv ::gfx::g_current_gl_context->glUniformMatrix3x2fvFn
2361 #define glUniformMatrix3x4fv ::gfx::g_current_gl_context->glUniformMatrix3x4fvFn
2362 #define glUniformMatrix4fv ::gfx::g_current_gl_context->glUniformMatrix4fvFn
2363 #define glUniformMatrix4x2fv ::gfx::g_current_gl_context->glUniformMatrix4x2fvFn
2364 #define glUniformMatrix4x3fv ::gfx::g_current_gl_context->glUniformMatrix4x3fvFn
2365 #define glUnmapBuffer ::gfx::g_current_gl_context->glUnmapBufferFn
2366 #define glUseProgram ::gfx::g_current_gl_context->glUseProgramFn
2367 #define glValidateProgram ::gfx::g_current_gl_context->glValidateProgramFn
2368 #define glVertexAttrib1f ::gfx::g_current_gl_context->glVertexAttrib1fFn
2369 #define glVertexAttrib1fv ::gfx::g_current_gl_context->glVertexAttrib1fvFn
2370 #define glVertexAttrib2f ::gfx::g_current_gl_context->glVertexAttrib2fFn
2371 #define glVertexAttrib2fv ::gfx::g_current_gl_context->glVertexAttrib2fvFn
2372 #define glVertexAttrib3f ::gfx::g_current_gl_context->glVertexAttrib3fFn
2373 #define glVertexAttrib3fv ::gfx::g_current_gl_context->glVertexAttrib3fvFn
2374 #define glVertexAttrib4f ::gfx::g_current_gl_context->glVertexAttrib4fFn
2375 #define glVertexAttrib4fv ::gfx::g_current_gl_context->glVertexAttrib4fvFn
2376 #define glVertexAttribDivisorANGLE \
2377 ::gfx::g_current_gl_context->glVertexAttribDivisorANGLEFn
2378 #define glVertexAttribI4i ::gfx::g_current_gl_context->glVertexAttribI4iFn
2379 #define glVertexAttribI4iv ::gfx::g_current_gl_context->glVertexAttribI4ivFn
2380 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn
2381 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn
2382 #define glVertexAttribIPointer \
2383 ::gfx::g_current_gl_context->glVertexAttribIPointerFn
2384 #define glVertexAttribPointer \
2385 ::gfx::g_current_gl_context->glVertexAttribPointerFn
2386 #define glViewport ::gfx::g_current_gl_context->glViewportFn
2387 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn
2389 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_