2 * Copyright © 2012 Intel Corporation
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 * DEALINGS IN THE SOFTWARE.
25 * \name dispatch_sanity.cpp
27 * Verify that only set of functions that should be available in a particular
28 * API are available in that API.
30 * The list of expected functions originally came from the functions set by
31 * api_exec_es2.c. This file no longer exists in Mesa (but api_exec_es1.c was
32 * still generated at the time this test was written). It was the generated
33 * file that configured the dispatch table for ES2 contexts. This test
34 * verifies that all of the functions set by the old api_exec_es2.c (with the
35 * recent addition of VAO functions) are set in the dispatch table and
36 * everything else is a NOP.
38 * When adding extensions that add new functions, this test will need to be
39 * modified to expect dispatch functions for the new extension functions.
42 #include <gtest/gtest.h>
46 #include "main/compiler.h"
47 #include "main/api_exec.h"
48 #include "main/context.h"
49 #include "main/remap.h"
50 #include "main/vtxfmt.h"
51 #include "glapi/glapi.h"
52 #include "drivers/common/driverfuncs.h"
54 #include "swrast/swrast.h"
57 #include "swrast_setup/swrast_setup.h"
60 #define GLAPIENTRYP GL_APIENTRYP
63 #include "main/dispatch.h"
71 extern const struct function common_desktop_functions_possible
[];
72 extern const struct function gl_compatibility_functions_possible
[];
73 extern const struct function gl_core_functions_possible
[];
74 extern const struct function gles11_functions_possible
[];
75 extern const struct function gles2_functions_possible
[];
76 extern const struct function gles3_functions_possible
[];
77 extern const struct function gles31_functions_possible
[];
79 class DispatchSanity_test
: public ::testing::Test
{
82 void SetUpCtx(gl_api api
, unsigned int version
);
84 struct gl_config visual
;
85 struct dd_function_table driver_functions
;
86 struct gl_context share_list
;
87 struct gl_context ctx
;
88 _glapi_proc
*nop_table
;
92 DispatchSanity_test::SetUp()
94 memset(&visual
, 0, sizeof(visual
));
95 memset(&driver_functions
, 0, sizeof(driver_functions
));
96 memset(&share_list
, 0, sizeof(share_list
));
97 memset(&ctx
, 0, sizeof(ctx
));
99 _mesa_init_driver_functions(&driver_functions
);
101 const unsigned size
= _glapi_get_dispatch_table_size();
102 nop_table
= (_glapi_proc
*) _mesa_new_nop_table(size
);
106 DispatchSanity_test::SetUpCtx(gl_api api
, unsigned int version
)
108 _mesa_initialize_context(&ctx
,
113 _vbo_CreateContext(&ctx
);
115 ctx
.Version
= version
;
117 _mesa_initialize_dispatch_tables(&ctx
);
118 _mesa_initialize_vbo_vtxfmt(&ctx
);
122 offset_to_proc_name_safe(unsigned offset
)
124 const char *name
= _glapi_get_proc_name(offset
);
125 return name
? name
: "???";
128 /* Scan through the dispatch table and check that all the functions in
129 * _glapi_proc *table exist.
132 validate_functions(struct gl_context
*ctx
, const struct function
*function_table
,
133 const _glapi_proc
*nop_table
)
135 _glapi_proc
*table
= (_glapi_proc
*) ctx
->Exec
;
137 for (unsigned i
= 0; function_table
[i
].name
!= NULL
; i
++) {
138 /* The context version is >= the GL version where the function was
139 * introduced. Therefore, the function cannot be set to the nop
142 const bool cant_be_nop
= ctx
->Version
>= function_table
[i
].Version
;
144 const int offset
= (function_table
[i
].offset
!= -1)
145 ? function_table
[i
].offset
146 : _glapi_get_proc_offset(function_table
[i
].name
);
148 ASSERT_NE(-1, offset
)
149 << "Function: " << function_table
[i
].name
;
151 _glapi_get_proc_offset(function_table
[i
].name
))
152 << "Function: " << function_table
[i
].name
;
154 EXPECT_NE(nop_table
[offset
], table
[offset
])
155 << "Function: " << function_table
[i
].name
156 << " at offset " << offset
;
159 table
[offset
] = nop_table
[offset
];
163 /* Scan through the table and ensure that there is nothing except
164 * nop functions (as set by validate_functions().
167 validate_nops(struct gl_context
*ctx
, const _glapi_proc
*nop_table
)
169 _glapi_proc
*table
= (_glapi_proc
*) ctx
->Exec
;
171 const unsigned size
= _glapi_get_dispatch_table_size();
172 for (unsigned i
= 0; i
< size
; i
++) {
173 EXPECT_EQ(nop_table
[i
], table
[i
])
174 << "i = " << i
<< " (" << offset_to_proc_name_safe(i
) << ")";
178 TEST_F(DispatchSanity_test
, GL31_CORE
)
180 SetUpCtx(API_OPENGL_CORE
, 31);
181 validate_functions(&ctx
, common_desktop_functions_possible
, nop_table
);
182 validate_functions(&ctx
, gl_core_functions_possible
, nop_table
);
183 validate_nops(&ctx
, nop_table
);
186 TEST_F(DispatchSanity_test
, GL30
)
188 SetUpCtx(API_OPENGL_COMPAT
, 30);
189 validate_functions(&ctx
, common_desktop_functions_possible
, nop_table
);
190 validate_functions(&ctx
, gl_compatibility_functions_possible
, nop_table
);
191 validate_nops(&ctx
, nop_table
);
194 TEST_F(DispatchSanity_test
, GLES11
)
196 SetUpCtx(API_OPENGLES
, 11);
197 validate_functions(&ctx
, gles11_functions_possible
, nop_table
);
198 validate_nops(&ctx
, nop_table
);
201 TEST_F(DispatchSanity_test
, GLES2
)
203 SetUpCtx(API_OPENGLES2
, 20);
204 validate_functions(&ctx
, gles2_functions_possible
, nop_table
);
205 validate_nops(&ctx
, nop_table
);
208 TEST_F(DispatchSanity_test
, GLES3
)
210 SetUpCtx(API_OPENGLES2
, 30);
211 validate_functions(&ctx
, gles2_functions_possible
, nop_table
);
212 validate_functions(&ctx
, gles3_functions_possible
, nop_table
);
213 validate_nops(&ctx
, nop_table
);
216 TEST_F(DispatchSanity_test
, GLES31
)
218 SetUpCtx(API_OPENGLES2
, 31);
219 validate_functions(&ctx
, gles2_functions_possible
, nop_table
);
220 validate_functions(&ctx
, gles3_functions_possible
, nop_table
);
221 validate_functions(&ctx
, gles31_functions_possible
, nop_table
);
222 validate_nops(&ctx
, nop_table
);
225 const struct function common_desktop_functions_possible
[] = {
226 { "glCullFace", 10, -1 },
227 { "glFrontFace", 10, -1 },
228 { "glHint", 10, -1 },
229 { "glLineWidth", 10, -1 },
230 { "glPointSize", 10, -1 },
231 { "glPolygonMode", 10, -1 },
232 { "glScissor", 10, -1 },
233 { "glTexParameterf", 10, -1 },
234 { "glTexParameterfv", 10, -1 },
235 { "glTexParameteri", 10, -1 },
236 { "glTexParameteriv", 10, -1 },
237 { "glTexImage1D", 10, _gloffset_TexImage1D
},
238 { "glTexImage2D", 10, _gloffset_TexImage2D
},
239 { "glDrawBuffer", 10, -1 },
240 { "glClear", 10, -1 },
241 { "glClearColor", 10, -1 },
242 { "glClearStencil", 10, -1 },
243 { "glClearDepth", 10, -1 },
244 { "glStencilMask", 10, -1 },
245 { "glColorMask", 10, -1 },
246 { "glDepthMask", 10, -1 },
247 { "glDisable", 10, -1 },
248 { "glEnable", 10, -1 },
249 { "glFinish", 10, -1 },
250 { "glFlush", 10, -1 },
251 { "glBlendFunc", 10, -1 },
252 { "glLogicOp", 10, -1 },
253 { "glStencilFunc", 10, -1 },
254 { "glStencilOp", 10, -1 },
255 { "glDepthFunc", 10, -1 },
256 { "glPixelStoref", 10, -1 },
257 { "glPixelStorei", 10, -1 },
258 { "glReadBuffer", 10, -1 },
259 { "glReadPixels", 10, -1 },
260 { "glGetBooleanv", 10, -1 },
261 { "glGetDoublev", 10, -1 },
262 { "glGetError", 10, -1 },
263 { "glGetFloatv", 10, -1 },
264 { "glGetIntegerv", 10, -1 },
265 { "glGetString", 10, -1 },
266 { "glGetTexImage", 10, -1 },
267 { "glGetTexParameterfv", 10, -1 },
268 { "glGetTexParameteriv", 10, -1 },
269 { "glGetTexLevelParameterfv", 10, -1 },
270 { "glGetTexLevelParameteriv", 10, -1 },
271 { "glIsEnabled", 10, -1 },
272 { "glDepthRange", 10, -1 },
273 { "glViewport", 10, -1 },
276 { "glDrawArrays", 11, -1 },
277 { "glDrawElements", 11, -1 },
278 { "glGetPointerv", 11, -1 },
279 { "glPolygonOffset", 11, -1 },
280 { "glCopyTexImage1D", 11, -1 },
281 { "glCopyTexImage2D", 11, -1 },
282 { "glCopyTexSubImage1D", 11, -1 },
283 { "glCopyTexSubImage2D", 11, -1 },
284 { "glTexSubImage1D", 11, -1 },
285 { "glTexSubImage2D", 11, -1 },
286 { "glBindTexture", 11, -1 },
287 { "glDeleteTextures", 11, -1 },
288 { "glGenTextures", 11, -1 },
289 { "glIsTexture", 11, -1 },
292 { "glBlendColor", 12, -1 },
293 { "glBlendEquation", 12, -1 },
294 { "glDrawRangeElements", 12, -1 },
295 { "glTexImage3D", 12, -1 },
296 { "glTexSubImage3D", 12, -1 },
297 { "glCopyTexSubImage3D", 12, -1 },
300 { "glActiveTexture", 13, -1 },
301 { "glSampleCoverage", 13, -1 },
302 { "glCompressedTexImage3D", 13, -1 },
303 { "glCompressedTexImage2D", 13, -1 },
304 { "glCompressedTexImage1D", 13, -1 },
305 { "glCompressedTexSubImage3D", 13, -1 },
306 { "glCompressedTexSubImage2D", 13, -1 },
307 { "glCompressedTexSubImage1D", 13, -1 },
308 { "glGetCompressedTexImage", 13, -1 },
311 { "glBlendFuncSeparate", 14, -1 },
312 { "glMultiDrawArrays", 14, -1 },
313 { "glMultiDrawElements", 14, -1 },
314 { "glPointParameterf", 14, -1 },
315 { "glPointParameterfv", 14, -1 },
316 { "glPointParameteri", 14, -1 },
317 { "glPointParameteriv", 14, -1 },
320 { "glGenQueries", 15, -1 },
321 { "glDeleteQueries", 15, -1 },
322 { "glIsQuery", 15, -1 },
323 { "glBeginQuery", 15, -1 },
324 { "glEndQuery", 15, -1 },
325 { "glGetQueryiv", 15, -1 },
326 { "glGetQueryObjectiv", 15, -1 },
327 { "glGetQueryObjectuiv", 15, -1 },
328 { "glBindBuffer", 15, -1 },
329 { "glDeleteBuffers", 15, -1 },
330 { "glGenBuffers", 15, -1 },
331 { "glIsBuffer", 15, -1 },
332 { "glBufferData", 15, -1 },
333 { "glBufferSubData", 15, -1 },
334 { "glGetBufferSubData", 15, -1 },
335 { "glMapBuffer", 15, -1 },
336 { "glUnmapBuffer", 15, -1 },
337 { "glGetBufferParameteriv", 15, -1 },
338 { "glGetBufferPointerv", 15, -1 },
341 { "glBlendEquationSeparate", 20, -1 },
342 { "glDrawBuffers", 20, -1 },
343 { "glStencilOpSeparate", 20, -1 },
344 { "glStencilFuncSeparate", 20, -1 },
345 { "glStencilMaskSeparate", 20, -1 },
346 { "glAttachShader", 20, -1 },
347 { "glBindAttribLocation", 20, -1 },
348 { "glCompileShader", 20, -1 },
349 { "glCreateProgram", 20, -1 },
350 { "glCreateShader", 20, -1 },
351 { "glDeleteProgram", 20, -1 },
352 { "glDeleteShader", 20, -1 },
353 { "glDetachShader", 20, -1 },
354 { "glDisableVertexAttribArray", 20, -1 },
355 { "glEnableVertexAttribArray", 20, -1 },
356 { "glGetActiveAttrib", 20, -1 },
357 { "glGetActiveUniform", 20, -1 },
358 { "glGetAttachedShaders", 20, -1 },
359 { "glGetAttribLocation", 20, -1 },
360 { "glGetProgramiv", 20, -1 },
361 { "glGetProgramInfoLog", 20, -1 },
362 { "glGetShaderiv", 20, -1 },
363 { "glGetShaderInfoLog", 20, -1 },
364 { "glGetShaderSource", 20, -1 },
365 { "glGetUniformLocation", 20, -1 },
366 { "glGetUniformfv", 20, -1 },
367 { "glGetUniformiv", 20, -1 },
368 { "glGetVertexAttribdv", 20, -1 },
369 { "glGetVertexAttribfv", 20, -1 },
370 { "glGetVertexAttribiv", 20, -1 },
371 { "glGetVertexAttribPointerv", 20, -1 },
372 { "glIsProgram", 20, -1 },
373 { "glIsShader", 20, -1 },
374 { "glLinkProgram", 20, -1 },
375 { "glShaderSource", 20, -1 },
376 { "glUseProgram", 20, -1 },
377 { "glUniform1f", 20, -1 },
378 { "glUniform2f", 20, -1 },
379 { "glUniform3f", 20, -1 },
380 { "glUniform4f", 20, -1 },
381 { "glUniform1i", 20, -1 },
382 { "glUniform2i", 20, -1 },
383 { "glUniform3i", 20, -1 },
384 { "glUniform4i", 20, -1 },
385 { "glUniform1fv", 20, -1 },
386 { "glUniform2fv", 20, -1 },
387 { "glUniform3fv", 20, -1 },
388 { "glUniform4fv", 20, -1 },
389 { "glUniform1iv", 20, -1 },
390 { "glUniform2iv", 20, -1 },
391 { "glUniform3iv", 20, -1 },
392 { "glUniform4iv", 20, -1 },
393 { "glUniformMatrix2fv", 20, -1 },
394 { "glUniformMatrix3fv", 20, -1 },
395 { "glUniformMatrix4fv", 20, -1 },
396 { "glValidateProgram", 20, -1 },
397 { "glVertexAttrib1d", 20, -1 },
398 { "glVertexAttrib1dv", 20, -1 },
399 { "glVertexAttrib1f", 20, -1 },
400 { "glVertexAttrib1fv", 20, -1 },
401 { "glVertexAttrib1s", 20, -1 },
402 { "glVertexAttrib1sv", 20, -1 },
403 { "glVertexAttrib2d", 20, -1 },
404 { "glVertexAttrib2dv", 20, -1 },
405 { "glVertexAttrib2f", 20, -1 },
406 { "glVertexAttrib2fv", 20, -1 },
407 { "glVertexAttrib2s", 20, -1 },
408 { "glVertexAttrib2sv", 20, -1 },
409 { "glVertexAttrib3d", 20, -1 },
410 { "glVertexAttrib3dv", 20, -1 },
411 { "glVertexAttrib3f", 20, -1 },
412 { "glVertexAttrib3fv", 20, -1 },
413 { "glVertexAttrib3s", 20, -1 },
414 { "glVertexAttrib3sv", 20, -1 },
415 { "glVertexAttrib4Nbv", 20, -1 },
416 { "glVertexAttrib4Niv", 20, -1 },
417 { "glVertexAttrib4Nsv", 20, -1 },
418 { "glVertexAttrib4Nub", 20, -1 },
419 { "glVertexAttrib4Nubv", 20, -1 },
420 { "glVertexAttrib4Nuiv", 20, -1 },
421 { "glVertexAttrib4Nusv", 20, -1 },
422 { "glVertexAttrib4bv", 20, -1 },
423 { "glVertexAttrib4d", 20, -1 },
424 { "glVertexAttrib4dv", 20, -1 },
425 { "glVertexAttrib4f", 20, -1 },
426 { "glVertexAttrib4fv", 20, -1 },
427 { "glVertexAttrib4iv", 20, -1 },
428 { "glVertexAttrib4s", 20, -1 },
429 { "glVertexAttrib4sv", 20, -1 },
430 { "glVertexAttrib4ubv", 20, -1 },
431 { "glVertexAttrib4uiv", 20, -1 },
432 { "glVertexAttrib4usv", 20, -1 },
433 { "glVertexAttribPointer", 20, -1 },
436 { "glUniformMatrix2x3fv", 21, -1 },
437 { "glUniformMatrix3x2fv", 21, -1 },
438 { "glUniformMatrix2x4fv", 21, -1 },
439 { "glUniformMatrix4x2fv", 21, -1 },
440 { "glUniformMatrix3x4fv", 21, -1 },
441 { "glUniformMatrix4x3fv", 21, -1 },
444 { "glColorMaski", 30, -1 },
445 { "glGetBooleani_v", 30, -1 },
446 { "glGetIntegeri_v", 30, -1 },
447 { "glEnablei", 30, -1 },
448 { "glDisablei", 30, -1 },
449 { "glIsEnabledi", 30, -1 },
450 { "glBeginTransformFeedback", 30, -1 },
451 { "glEndTransformFeedback", 30, -1 },
452 { "glBindBufferRange", 30, -1 },
453 { "glBindBufferBase", 30, -1 },
454 { "glTransformFeedbackVaryings", 30, -1 },
455 { "glGetTransformFeedbackVarying", 30, -1 },
456 { "glClampColor", 30, -1 },
457 { "glBeginConditionalRender", 30, -1 },
458 { "glEndConditionalRender", 30, -1 },
459 { "glVertexAttribIPointer", 30, -1 },
460 { "glGetVertexAttribIiv", 30, -1 },
461 { "glGetVertexAttribIuiv", 30, -1 },
462 { "glVertexAttribI1i", 30, -1 },
463 { "glVertexAttribI2i", 30, -1 },
464 { "glVertexAttribI3i", 30, -1 },
465 { "glVertexAttribI4i", 30, -1 },
466 { "glVertexAttribI1ui", 30, -1 },
467 { "glVertexAttribI2ui", 30, -1 },
468 { "glVertexAttribI3ui", 30, -1 },
469 { "glVertexAttribI4ui", 30, -1 },
470 { "glVertexAttribI1iv", 30, -1 },
471 { "glVertexAttribI2iv", 30, -1 },
472 { "glVertexAttribI3iv", 30, -1 },
473 { "glVertexAttribI4iv", 30, -1 },
474 { "glVertexAttribI1uiv", 30, -1 },
475 { "glVertexAttribI2uiv", 30, -1 },
476 { "glVertexAttribI3uiv", 30, -1 },
477 { "glVertexAttribI4uiv", 30, -1 },
478 { "glVertexAttribI4bv", 30, -1 },
479 { "glVertexAttribI4sv", 30, -1 },
480 { "glVertexAttribI4ubv", 30, -1 },
481 { "glVertexAttribI4usv", 30, -1 },
482 { "glGetUniformuiv", 30, -1 },
483 { "glBindFragDataLocation", 30, -1 },
484 { "glGetFragDataLocation", 30, -1 },
485 { "glUniform1ui", 30, -1 },
486 { "glUniform2ui", 30, -1 },
487 { "glUniform3ui", 30, -1 },
488 { "glUniform4ui", 30, -1 },
489 { "glUniform1uiv", 30, -1 },
490 { "glUniform2uiv", 30, -1 },
491 { "glUniform3uiv", 30, -1 },
492 { "glUniform4uiv", 30, -1 },
493 { "glTexParameterIiv", 30, -1 },
494 { "glTexParameterIuiv", 30, -1 },
495 { "glGetTexParameterIiv", 30, -1 },
496 { "glGetTexParameterIuiv", 30, -1 },
497 { "glClearBufferiv", 30, -1 },
498 { "glClearBufferuiv", 30, -1 },
499 { "glClearBufferfv", 30, -1 },
500 { "glClearBufferfi", 30, -1 },
501 { "glGetStringi", 30, -1 },
504 { "glDrawArraysInstanced", 31, -1 },
505 { "glDrawElementsInstanced", 31, -1 },
506 { "glPrimitiveRestartIndex", 31, -1 },
508 /* GL_ARB_shader_objects */
509 { "glDeleteObjectARB", 31, -1 },
510 { "glGetHandleARB", 31, -1 },
511 { "glDetachObjectARB", 31, -1 },
512 { "glCreateShaderObjectARB", 31, -1 },
513 { "glCreateProgramObjectARB", 31, -1 },
514 { "glAttachObjectARB", 31, -1 },
515 { "glGetObjectParameterfvARB", 31, -1 },
516 { "glGetObjectParameterivARB", 31, -1 },
517 { "glGetInfoLogARB", 31, -1 },
518 { "glGetAttachedObjectsARB", 31, -1 },
520 /* GL_ARB_get_program_binary */
521 { "glGetProgramBinary", 30, -1 },
522 { "glProgramBinary", 30, -1 },
523 { "glProgramParameteri", 30, -1 },
525 /* GL_EXT_transform_feedback */
526 { "glBindBufferOffsetEXT", 31, -1 },
528 /* GL_IBM_multimode_draw_arrays */
529 { "glMultiModeDrawArraysIBM", 31, -1 },
530 { "glMultiModeDrawElementsIBM", 31, -1 },
532 /* GL_EXT_depth_bounds_test */
533 { "glDepthBoundsEXT", 31, -1 },
535 /* GL_apple_object_purgeable */
536 { "glObjectPurgeableAPPLE", 31, -1 },
537 { "glObjectUnpurgeableAPPLE", 31, -1 },
538 { "glGetObjectParameterivAPPLE", 31, -1 },
540 /* GL_ARB_instanced_arrays */
541 { "glVertexAttribDivisorARB", 31, -1 },
543 /* GL_NV_texture_barrier */
544 { "glTextureBarrierNV", 31, -1 },
546 /* GL_EXT_texture_integer */
547 { "glClearColorIiEXT", 31, -1 },
548 { "glClearColorIuiEXT", 31, -1 },
550 /* GL_OES_EGL_image */
551 { "glEGLImageTargetRenderbufferStorageOES", 31, -1 },
552 { "glEGLImageTargetTexture2DOES", 31, -1 },
555 { "glGetInteger64i_v", 32, -1 },
556 { "glGetBufferParameteri64v", 32, -1 },
557 { "glFramebufferTexture", 32, -1 },
558 { "glProgramParameteri", 32, -1 },
559 { "glFramebufferTextureLayer", 32, -1 },
562 { "glVertexAttribDivisor", 33, -1 },
565 { "glMinSampleShading", 40, -1 },
566 { "glPatchParameteri", 40, -1 },
567 { "glPatchParameterfv", 40, -1 },
568 { "glBlendEquationi", 40, -1 },
569 { "glBlendEquationSeparatei", 40, -1 },
570 { "glBlendFunci", 40, -1 },
571 { "glBlendFuncSeparatei", 40, -1 },
574 { "glIsRenderbuffer", 43, -1 },
575 { "glBindRenderbuffer", 43, -1 },
576 { "glDeleteRenderbuffers", 43, -1 },
577 { "glGenRenderbuffers", 43, -1 },
578 { "glRenderbufferStorage", 43, -1 },
579 { "glGetRenderbufferParameteriv", 43, -1 },
580 { "glIsFramebuffer", 43, -1 },
581 { "glBindFramebuffer", 43, -1 },
582 { "glDeleteFramebuffers", 43, -1 },
583 { "glGenFramebuffers", 43, -1 },
584 { "glCheckFramebufferStatus", 43, -1 },
585 { "glFramebufferTexture1D", 43, -1 },
586 { "glFramebufferTexture2D", 43, -1 },
587 { "glFramebufferTexture3D", 43, -1 },
588 { "glFramebufferRenderbuffer", 43, -1 },
589 { "glGetFramebufferAttachmentParameteriv", 43, -1 },
590 { "glGenerateMipmap", 43, -1 },
591 { "glBlitFramebuffer", 43, -1 },
592 { "glRenderbufferStorageMultisample", 43, -1 },
593 { "glFramebufferTextureLayer", 43, -1 },
594 { "glMapBufferRange", 43, -1 },
595 { "glFlushMappedBufferRange", 43, -1 },
596 { "glBindVertexArray", 43, -1 },
597 { "glDeleteVertexArrays", 43, -1 },
598 { "glGenVertexArrays", 43, -1 },
599 { "glIsVertexArray", 43, -1 },
600 { "glGetUniformIndices", 43, -1 },
601 { "glGetActiveUniformsiv", 43, -1 },
602 { "glGetActiveUniformName", 43, -1 },
603 { "glGetUniformBlockIndex", 43, -1 },
604 { "glGetActiveUniformBlockiv", 43, -1 },
605 { "glGetActiveUniformBlockName", 43, -1 },
606 { "glUniformBlockBinding", 43, -1 },
607 { "glCopyBufferSubData", 43, -1 },
608 { "glDrawElementsBaseVertex", 43, -1 },
609 { "glDrawRangeElementsBaseVertex", 43, -1 },
610 { "glDrawElementsInstancedBaseVertex", 43, -1 },
611 { "glMultiDrawElementsBaseVertex", 43, -1 },
612 { "glProvokingVertex", 43, -1 },
613 { "glFenceSync", 43, -1 },
614 { "glIsSync", 43, -1 },
615 { "glDeleteSync", 43, -1 },
616 { "glClientWaitSync", 43, -1 },
617 { "glWaitSync", 43, -1 },
618 { "glGetInteger64v", 43, -1 },
619 { "glGetSynciv", 43, -1 },
620 { "glTexImage2DMultisample", 43, -1 },
621 { "glTexImage3DMultisample", 43, -1 },
622 { "glGetMultisamplefv", 43, -1 },
623 { "glSampleMaski", 43, -1 },
624 { "glBlendEquationiARB", 43, -1 },
625 { "glBlendEquationSeparateiARB", 43, -1 },
626 { "glBlendFunciARB", 43, -1 },
627 { "glBlendFuncSeparateiARB", 43, -1 },
628 { "glMinSampleShadingARB", 43, -1 }, // XXX: Add to xml
629 // { "glNamedStringARB", 43, -1 }, // XXX: Add to xml
630 // { "glDeleteNamedStringARB", 43, -1 }, // XXX: Add to xml
631 // { "glCompileShaderIncludeARB", 43, -1 }, // XXX: Add to xml
632 // { "glIsNamedStringARB", 43, -1 }, // XXX: Add to xml
633 // { "glGetNamedStringARB", 43, -1 }, // XXX: Add to xml
634 // { "glGetNamedStringivARB", 43, -1 }, // XXX: Add to xml
635 { "glBindFragDataLocationIndexed", 43, -1 },
636 { "glGetFragDataIndex", 43, -1 },
637 { "glGenSamplers", 43, -1 },
638 { "glDeleteSamplers", 43, -1 },
639 { "glIsSampler", 43, -1 },
640 { "glBindSampler", 43, -1 },
641 { "glSamplerParameteri", 43, -1 },
642 { "glSamplerParameteriv", 43, -1 },
643 { "glSamplerParameterf", 43, -1 },
644 { "glSamplerParameterfv", 43, -1 },
645 { "glSamplerParameterIiv", 43, -1 },
646 { "glSamplerParameterIuiv", 43, -1 },
647 { "glGetSamplerParameteriv", 43, -1 },
648 { "glGetSamplerParameterIiv", 43, -1 },
649 { "glGetSamplerParameterfv", 43, -1 },
650 { "glGetSamplerParameterIuiv", 43, -1 },
651 { "glQueryCounter", 43, -1 },
652 { "glGetQueryObjecti64v", 43, -1 },
653 { "glGetQueryObjectui64v", 43, -1 },
654 { "glVertexP2ui", 43, -1 },
655 { "glVertexP2uiv", 43, -1 },
656 { "glVertexP3ui", 43, -1 },
657 { "glVertexP3uiv", 43, -1 },
658 { "glVertexP4ui", 43, -1 },
659 { "glVertexP4uiv", 43, -1 },
660 { "glTexCoordP1ui", 43, -1 },
661 { "glTexCoordP1uiv", 43, -1 },
662 { "glTexCoordP2ui", 43, -1 },
663 { "glTexCoordP2uiv", 43, -1 },
664 { "glTexCoordP3ui", 43, -1 },
665 { "glTexCoordP3uiv", 43, -1 },
666 { "glTexCoordP4ui", 43, -1 },
667 { "glTexCoordP4uiv", 43, -1 },
668 { "glMultiTexCoordP1ui", 43, -1 },
669 { "glMultiTexCoordP1uiv", 43, -1 },
670 { "glMultiTexCoordP2ui", 43, -1 },
671 { "glMultiTexCoordP2uiv", 43, -1 },
672 { "glMultiTexCoordP3ui", 43, -1 },
673 { "glMultiTexCoordP3uiv", 43, -1 },
674 { "glMultiTexCoordP4ui", 43, -1 },
675 { "glMultiTexCoordP4uiv", 43, -1 },
676 { "glNormalP3ui", 43, -1 },
677 { "glNormalP3uiv", 43, -1 },
678 { "glColorP3ui", 43, -1 },
679 { "glColorP3uiv", 43, -1 },
680 { "glColorP4ui", 43, -1 },
681 { "glColorP4uiv", 43, -1 },
682 { "glSecondaryColorP3ui", 43, -1 },
683 { "glSecondaryColorP3uiv", 43, -1 },
684 { "glVertexAttribP1ui", 43, -1 },
685 { "glVertexAttribP1uiv", 43, -1 },
686 { "glVertexAttribP2ui", 43, -1 },
687 { "glVertexAttribP2uiv", 43, -1 },
688 { "glVertexAttribP3ui", 43, -1 },
689 { "glVertexAttribP3uiv", 43, -1 },
690 { "glVertexAttribP4ui", 43, -1 },
691 { "glVertexAttribP4uiv", 43, -1 },
692 { "glDrawArraysIndirect", 43, -1 },
693 { "glDrawElementsIndirect", 43, -1 },
694 { "glBindTransformFeedback", 43, -1 },
695 { "glDeleteTransformFeedbacks", 43, -1 },
696 { "glGenTransformFeedbacks", 43, -1 },
697 { "glIsTransformFeedback", 43, -1 },
698 { "glPauseTransformFeedback", 43, -1 },
699 { "glResumeTransformFeedback", 43, -1 },
700 { "glDrawTransformFeedback", 43, -1 },
701 { "glDrawTransformFeedbackStream", 43, -1 },
702 { "glBeginQueryIndexed", 43, -1 },
703 { "glEndQueryIndexed", 43, -1 },
704 { "glGetQueryIndexediv", 43, -1 },
705 { "glReleaseShaderCompiler", 43, -1 },
706 { "glShaderBinary", 43, -1 },
707 { "glGetShaderPrecisionFormat", 43, -1 },
708 { "glDepthRangef", 43, -1 },
709 { "glClearDepthf", 43, -1 },
710 { "glGetProgramBinary", 43, -1 },
711 { "glProgramBinary", 43, -1 },
712 { "glProgramParameteri", 43, -1 },
713 { "glUseProgramStages", 43, -1 },
714 { "glActiveShaderProgram", 43, -1 },
715 { "glCreateShaderProgramv", 43, -1 },
716 { "glBindProgramPipeline", 43, -1 },
717 { "glDeleteProgramPipelines", 43, -1 },
718 { "glGenProgramPipelines", 43, -1 },
719 { "glIsProgramPipeline", 43, -1 },
720 { "glGetProgramPipelineiv", 43, -1 },
721 { "glProgramUniform1d", 43, -1 },
722 { "glProgramUniform1dv", 43, -1 },
723 { "glProgramUniform1i", 43, -1 },
724 { "glProgramUniform1iv", 43, -1 },
725 { "glProgramUniform1f", 43, -1 },
726 { "glProgramUniform1fv", 43, -1 },
727 { "glProgramUniform1ui", 43, -1 },
728 { "glProgramUniform1uiv", 43, -1 },
729 { "glProgramUniform2i", 43, -1 },
730 { "glProgramUniform2iv", 43, -1 },
731 { "glProgramUniform2f", 43, -1 },
732 { "glProgramUniform2fv", 43, -1 },
733 { "glProgramUniform2d", 40, -1 },
734 { "glProgramUniform2dv", 40, -1 },
735 { "glProgramUniform2ui", 43, -1 },
736 { "glProgramUniform2uiv", 43, -1 },
737 { "glProgramUniform3i", 43, -1 },
738 { "glProgramUniform3iv", 43, -1 },
739 { "glProgramUniform3f", 43, -1 },
740 { "glProgramUniform3fv", 43, -1 },
741 { "glProgramUniform3d", 40, -1 },
742 { "glProgramUniform3dv", 40, -1 },
743 { "glProgramUniform3ui", 43, -1 },
744 { "glProgramUniform3uiv", 43, -1 },
745 { "glProgramUniform4i", 43, -1 },
746 { "glProgramUniform4iv", 43, -1 },
747 { "glProgramUniform4d", 43, -1 },
748 { "glProgramUniform4dv", 43, -1 },
749 { "glProgramUniform4f", 43, -1 },
750 { "glProgramUniform4fv", 43, -1 },
751 { "glProgramUniform4ui", 43, -1 },
752 { "glProgramUniform4uiv", 43, -1 },
753 { "glProgramUniformMatrix2dv", 43, -1 },
754 { "glProgramUniformMatrix2fv", 43, -1 },
755 { "glProgramUniformMatrix3dv", 43, -1 },
756 { "glProgramUniformMatrix3fv", 43, -1 },
757 { "glProgramUniformMatrix4dv", 43, -1 },
758 { "glProgramUniformMatrix4fv", 43, -1 },
759 { "glProgramUniformMatrix2x3dv", 43, -1 },
760 { "glProgramUniformMatrix2x3fv", 43, -1 },
761 { "glProgramUniformMatrix3x2dv", 43, -1 },
762 { "glProgramUniformMatrix3x2fv", 43, -1 },
763 { "glProgramUniformMatrix2x4dv", 43, -1 },
764 { "glProgramUniformMatrix2x4fv", 43, -1 },
765 { "glProgramUniformMatrix4x2dv", 43, -1 },
766 { "glProgramUniformMatrix4x2fv", 43, -1 },
767 { "glProgramUniformMatrix3x4dv", 43, -1 },
768 { "glProgramUniformMatrix3x4fv", 43, -1 },
769 { "glProgramUniformMatrix4x3dv", 43, -1 },
770 { "glProgramUniformMatrix4x3fv", 43, -1 },
771 { "glValidateProgramPipeline", 43, -1 },
772 { "glGetProgramPipelineInfoLog", 43, -1 },
773 { "glGetFloati_v", 43, -1 },
774 { "glGetDoublei_v", 43, -1 },
775 // { "glCreateSyncFromCLeventARB", 43, -1 }, // XXX: Add to xml
776 { "glGetGraphicsResetStatusARB", 43, -1 },
777 { "glGetnMapdvARB", 43, -1 },
778 { "glGetnMapfvARB", 43, -1 },
779 { "glGetnMapivARB", 43, -1 },
780 { "glGetnPixelMapfvARB", 43, -1 },
781 { "glGetnPixelMapuivARB", 43, -1 },
782 { "glGetnPixelMapusvARB", 43, -1 },
783 { "glGetnPolygonStippleARB", 43, -1 },
784 { "glGetnColorTableARB", 43, -1 },
785 { "glGetnConvolutionFilterARB", 43, -1 },
786 { "glGetnSeparableFilterARB", 43, -1 },
787 { "glGetnHistogramARB", 43, -1 },
788 { "glGetnMinmaxARB", 43, -1 },
789 { "glGetnTexImageARB", 43, -1 },
790 { "glReadnPixelsARB", 43, -1 },
791 { "glGetnCompressedTexImageARB", 43, -1 },
792 { "glGetnUniformfvARB", 43, -1 },
793 { "glGetnUniformivARB", 43, -1 },
794 { "glGetnUniformuivARB", 43, -1 },
795 { "glGetnUniformdvARB", 43, -1 },
796 { "glDrawArraysInstancedBaseInstance", 43, -1 },
797 { "glDrawElementsInstancedBaseInstance", 43, -1 },
798 { "glDrawElementsInstancedBaseVertexBaseInstance", 43, -1 },
799 { "glDrawTransformFeedbackInstanced", 43, -1 },
800 { "glDrawTransformFeedbackStreamInstanced", 43, -1 },
801 // { "glGetInternalformativ", 43, -1 }, // XXX: Add to xml
802 { "glGetActiveAtomicCounterBufferiv", 43, -1 },
803 { "glBindImageTexture", 43, -1 },
804 { "glMemoryBarrier", 43, -1 },
805 { "glTexStorage1D", 43, -1 },
806 { "glTexStorage2D", 43, -1 },
807 { "glTexStorage3D", 43, -1 },
808 { "glTextureStorage1DEXT", 43, -1 },
809 { "glTextureStorage2DEXT", 43, -1 },
810 { "glTextureStorage3DEXT", 43, -1 },
811 { "glClearBufferData", 43, -1 },
812 { "glClearBufferSubData", 43, -1 },
813 // { "glClearNamedBufferDataEXT", 43, -1 }, // XXX: Add to xml
814 // { "glClearNamedBufferSubDataEXT", 43, -1 }, // XXX: Add to xml
815 { "glCopyImageSubData", 43, -1 },
816 { "glTextureView", 43, -1 },
817 { "glBindVertexBuffer", 43, -1 },
818 { "glVertexAttribFormat", 43, -1 },
819 { "glVertexAttribIFormat", 43, -1 },
820 { "glVertexAttribLFormat", 43, -1 },
821 { "glVertexAttribBinding", 43, -1 },
822 { "glVertexBindingDivisor", 43, -1 },
823 // { "glVertexArrayBindVertexBufferEXT", 43, -1 }, // XXX: Add to xml
824 // { "glVertexArrayVertexAttribFormatEXT", 43, -1 }, // XXX: Add to xml
825 // { "glVertexArrayVertexAttribIFormatEXT", 43, -1 }, // XXX: Add to xml
826 // { "glVertexArrayVertexAttribBindingEXT", 43, -1 }, // XXX: Add to xml
827 // { "glVertexArrayVertexBindingDivisorEXT", 43, -1 }, // XXX: Add to xml
828 { "glFramebufferParameteri", 43, -1 },
829 { "glGetFramebufferParameteriv", 43, -1 },
830 // { "glNamedFramebufferParameteriEXT", 43, -1 }, // XXX: Add to xml
831 // { "glGetNamedFramebufferParameterivEXT", 43, -1 }, // XXX: Add to xml
832 // { "glGetInternalformati64v", 43, -1 }, // XXX: Add to xml
833 { "glInvalidateTexSubImage", 43, -1 },
834 { "glInvalidateTexImage", 43, -1 },
835 { "glInvalidateBufferSubData", 43, -1 },
836 { "glInvalidateBufferData", 43, -1 },
837 { "glInvalidateFramebuffer", 43, -1 },
838 { "glInvalidateSubFramebuffer", 43, -1 },
839 { "glMultiDrawArraysIndirect", 43, -1 },
840 { "glMultiDrawElementsIndirect", 43, -1 },
841 { "glGetProgramInterfaceiv", 43, -1 },
842 { "glGetProgramResourceIndex", 43, -1 },
843 { "glGetProgramResourceName", 43, -1 },
844 { "glGetProgramResourceiv", 43, -1 },
845 { "glGetProgramResourceLocation", 43, -1 },
846 { "glGetProgramResourceLocationIndex", 43, -1 },
847 { "glShaderStorageBlockBinding", 43, -1 },
848 // { "glTextureBufferRangeEXT", 43, -1 }, // XXX: Add to xml
849 { "glTexStorage2DMultisample", 43, -1 },
850 { "glTexStorage3DMultisample", 43, -1 },
851 // { "glTextureStorage2DMultisampleEXT", 43, -1 }, // XXX: Add to xml
852 // { "glTextureStorage3DMultisampleEXT", 43, -1 }, // XXX: Add to xml
855 /* aliased versions checked above */
856 //{ "glGetGraphicsResetStatus", 45, -1 },
857 //{ "glReadnPixels", 45, -1 },
858 //{ "glGetnUniformfv", 45, -1 },
859 //{ "glGetnUniformiv", 45, -1 },
860 //{ "glGetnUniformuiv", 45, -1 },
861 { "glMemoryBarrierByRegion", 45, -1 },
863 /* GL_ARB_internalformat_query */
864 { "glGetInternalformativ", 30, -1 },
866 /* GL_ARB_internalformat_query */
867 { "glGetInternalformati64v", 30, -1 },
869 /* GL_ARB_multi_bind */
870 { "glBindBuffersBase", 44, -1 },
871 { "glBindBuffersRange", 44, -1 },
872 { "glBindTextures", 44, -1 },
873 { "glBindSamplers", 44, -1 },
874 { "glBindImageTextures", 44, -1 },
875 { "glBindVertexBuffers", 44, -1 },
877 /* GL_KHR_debug/GL_ARB_debug_output */
878 { "glPushDebugGroup", 11, -1 },
879 { "glPopDebugGroup", 11, -1 },
880 { "glDebugMessageCallback", 11, -1 },
881 { "glDebugMessageControl", 11, -1 },
882 { "glDebugMessageInsert", 11, -1 },
883 { "glGetDebugMessageLog", 11, -1 },
884 { "glGetObjectLabel", 11, -1 },
885 { "glGetObjectPtrLabel", 11, -1 },
886 { "glObjectLabel", 11, -1 },
887 { "glObjectPtrLabel", 11, -1 },
888 /* aliased versions checked above */
889 //{ "glDebugMessageControlARB", 11, -1 },
890 //{ "glDebugMessageInsertARB", 11, -1 },
891 //{ "glDebugMessageCallbackARB", 11, -1 },
892 //{ "glGetDebugMessageLogARB", 11, -1 },
894 /* GL_AMD_performance_monitor */
895 { "glGetPerfMonitorGroupsAMD", 11, -1 },
896 { "glGetPerfMonitorCountersAMD", 11, -1 },
897 { "glGetPerfMonitorGroupStringAMD", 11, -1 },
898 { "glGetPerfMonitorCounterStringAMD", 11, -1 },
899 { "glGetPerfMonitorCounterInfoAMD", 11, -1 },
900 { "glGenPerfMonitorsAMD", 11, -1 },
901 { "glDeletePerfMonitorsAMD", 11, -1 },
902 { "glSelectPerfMonitorCountersAMD", 11, -1 },
903 { "glBeginPerfMonitorAMD", 11, -1 },
904 { "glEndPerfMonitorAMD", 11, -1 },
905 { "glGetPerfMonitorCounterDataAMD", 11, -1 },
907 /* GL_INTEL_performance_query */
908 { "glGetFirstPerfQueryIdINTEL", 30, -1 },
909 { "glGetNextPerfQueryIdINTEL", 30, -1 },
910 { "glGetPerfQueryIdByNameINTEL", 30, -1 },
911 { "glGetPerfQueryInfoINTEL", 30, -1 },
912 { "glGetPerfCounterInfoINTEL", 30, -1 },
913 { "glCreatePerfQueryINTEL", 30, -1 },
914 { "glDeletePerfQueryINTEL", 30, -1 },
915 { "glBeginPerfQueryINTEL", 30, -1 },
916 { "glEndPerfQueryINTEL", 30, -1 },
917 { "glGetPerfQueryDataINTEL", 30, -1 },
919 /* GL_NV_vdpau_interop */
920 { "glVDPAUInitNV", 11, -1 },
921 { "glVDPAUFiniNV", 11, -1 },
922 { "glVDPAURegisterVideoSurfaceNV", 11, -1 },
923 { "glVDPAURegisterOutputSurfaceNV", 11, -1 },
924 { "glVDPAUIsSurfaceNV", 11, -1 },
925 { "glVDPAUUnregisterSurfaceNV", 11, -1 },
926 { "glVDPAUGetSurfaceivNV", 11, -1 },
927 { "glVDPAUSurfaceAccessNV", 11, -1 },
928 { "glVDPAUMapSurfacesNV", 11, -1 },
929 { "glVDPAUUnmapSurfacesNV", 11, -1 },
931 /* GL_ARB_buffer_storage */
932 { "glBufferStorage", 43, -1 },
934 /* GL_ARB_clear_texture */
935 { "glClearTexImage", 13, -1 },
936 { "glClearTexSubImage", 13, -1 },
938 /* GL_ARB_clip_control */
939 { "glClipControl", 45, -1 },
941 /* GL_ARB_compute_shader */
942 { "glDispatchCompute", 43, -1 },
943 { "glDispatchComputeIndirect", 43, -1 },
945 /* GL_EXT_polygon_offset_clamp */
946 { "glPolygonOffsetClampEXT", 11, -1 },
948 /* GL_ARB_get_texture_sub_image */
949 { "glGetTextureSubImage", 20, -1 },
950 { "glGetCompressedTextureSubImage", 20, -1 },
952 /* GL_GREMEDY_string_marker */
953 { "glStringMarkerGREMEDY", 15, -1 },
955 /* GL_EXT_window_rectangles */
956 { "glWindowRectanglesEXT", 30, -1 },
961 const struct function gl_compatibility_functions_possible
[] = {
962 { "glBindVertexArrayAPPLE", 10, -1 },
963 { "glGenVertexArraysAPPLE", 10, -1 },
964 { "glBindRenderbufferEXT", 10, -1 },
965 { "glBindFramebufferEXT", 10, -1 },
966 { "glNewList", 10, _gloffset_NewList
},
967 { "glEndList", 10, _gloffset_EndList
},
968 { "glCallList", 10, _gloffset_CallList
},
969 { "glCallLists", 10, _gloffset_CallLists
},
970 { "glDeleteLists", 10, _gloffset_DeleteLists
},
971 { "glGenLists", 10, _gloffset_GenLists
},
972 { "glListBase", 10, _gloffset_ListBase
},
973 { "glBegin", 10, _gloffset_Begin
},
974 { "glBitmap", 10, _gloffset_Bitmap
},
975 { "glColor3b", 10, _gloffset_Color3b
},
976 { "glColor3bv", 10, _gloffset_Color3bv
},
977 { "glColor3d", 10, _gloffset_Color3d
},
978 { "glColor3dv", 10, _gloffset_Color3dv
},
979 { "glColor3f", 10, _gloffset_Color3f
},
980 { "glColor3fv", 10, _gloffset_Color3fv
},
981 { "glColor3i", 10, _gloffset_Color3i
},
982 { "glColor3iv", 10, _gloffset_Color3iv
},
983 { "glColor3s", 10, _gloffset_Color3s
},
984 { "glColor3sv", 10, _gloffset_Color3sv
},
985 { "glColor3ub", 10, _gloffset_Color3ub
},
986 { "glColor3ubv", 10, _gloffset_Color3ubv
},
987 { "glColor3ui", 10, _gloffset_Color3ui
},
988 { "glColor3uiv", 10, _gloffset_Color3uiv
},
989 { "glColor3us", 10, _gloffset_Color3us
},
990 { "glColor3usv", 10, _gloffset_Color3usv
},
991 { "glColor4b", 10, _gloffset_Color4b
},
992 { "glColor4bv", 10, _gloffset_Color4bv
},
993 { "glColor4d", 10, _gloffset_Color4d
},
994 { "glColor4dv", 10, _gloffset_Color4dv
},
995 { "glColor4f", 10, _gloffset_Color4f
},
996 { "glColor4fv", 10, _gloffset_Color4fv
},
997 { "glColor4i", 10, _gloffset_Color4i
},
998 { "glColor4iv", 10, _gloffset_Color4iv
},
999 { "glColor4s", 10, _gloffset_Color4s
},
1000 { "glColor4sv", 10, _gloffset_Color4sv
},
1001 { "glColor4ub", 10, _gloffset_Color4ub
},
1002 { "glColor4ubv", 10, _gloffset_Color4ubv
},
1003 { "glColor4ui", 10, _gloffset_Color4ui
},
1004 { "glColor4uiv", 10, _gloffset_Color4uiv
},
1005 { "glColor4us", 10, _gloffset_Color4us
},
1006 { "glColor4usv", 10, _gloffset_Color4usv
},
1007 { "glEdgeFlag", 10, _gloffset_EdgeFlag
},
1008 { "glEdgeFlagv", 10, _gloffset_EdgeFlagv
},
1009 { "glEnd", 10, _gloffset_End
},
1010 { "glIndexd", 10, _gloffset_Indexd
},
1011 { "glIndexdv", 10, _gloffset_Indexdv
},
1012 { "glIndexf", 10, _gloffset_Indexf
},
1013 { "glIndexfv", 10, _gloffset_Indexfv
},
1014 { "glIndexi", 10, _gloffset_Indexi
},
1015 { "glIndexiv", 10, _gloffset_Indexiv
},
1016 { "glIndexs", 10, _gloffset_Indexs
},
1017 { "glIndexsv", 10, _gloffset_Indexsv
},
1018 { "glNormal3b", 10, _gloffset_Normal3b
},
1019 { "glNormal3bv", 10, _gloffset_Normal3bv
},
1020 { "glNormal3d", 10, _gloffset_Normal3d
},
1021 { "glNormal3dv", 10, _gloffset_Normal3dv
},
1022 { "glNormal3f", 10, _gloffset_Normal3f
},
1023 { "glNormal3fv", 10, _gloffset_Normal3fv
},
1024 { "glNormal3i", 10, _gloffset_Normal3i
},
1025 { "glNormal3iv", 10, _gloffset_Normal3iv
},
1026 { "glNormal3s", 10, _gloffset_Normal3s
},
1027 { "glNormal3sv", 10, _gloffset_Normal3sv
},
1028 { "glRasterPos2d", 10, _gloffset_RasterPos2d
},
1029 { "glRasterPos2dv", 10, _gloffset_RasterPos2dv
},
1030 { "glRasterPos2f", 10, _gloffset_RasterPos2f
},
1031 { "glRasterPos2fv", 10, _gloffset_RasterPos2fv
},
1032 { "glRasterPos2i", 10, _gloffset_RasterPos2i
},
1033 { "glRasterPos2iv", 10, _gloffset_RasterPos2iv
},
1034 { "glRasterPos2s", 10, _gloffset_RasterPos2s
},
1035 { "glRasterPos2sv", 10, _gloffset_RasterPos2sv
},
1036 { "glRasterPos3d", 10, _gloffset_RasterPos3d
},
1037 { "glRasterPos3dv", 10, _gloffset_RasterPos3dv
},
1038 { "glRasterPos3f", 10, _gloffset_RasterPos3f
},
1039 { "glRasterPos3fv", 10, _gloffset_RasterPos3fv
},
1040 { "glRasterPos3i", 10, _gloffset_RasterPos3i
},
1041 { "glRasterPos3iv", 10, _gloffset_RasterPos3iv
},
1042 { "glRasterPos3s", 10, _gloffset_RasterPos3s
},
1043 { "glRasterPos3sv", 10, _gloffset_RasterPos3sv
},
1044 { "glRasterPos4d", 10, _gloffset_RasterPos4d
},
1045 { "glRasterPos4dv", 10, _gloffset_RasterPos4dv
},
1046 { "glRasterPos4f", 10, _gloffset_RasterPos4f
},
1047 { "glRasterPos4fv", 10, _gloffset_RasterPos4fv
},
1048 { "glRasterPos4i", 10, _gloffset_RasterPos4i
},
1049 { "glRasterPos4iv", 10, _gloffset_RasterPos4iv
},
1050 { "glRasterPos4s", 10, _gloffset_RasterPos4s
},
1051 { "glRasterPos4sv", 10, _gloffset_RasterPos4sv
},
1052 { "glRectd", 10, _gloffset_Rectd
},
1053 { "glRectdv", 10, _gloffset_Rectdv
},
1054 { "glRectf", 10, _gloffset_Rectf
},
1055 { "glRectfv", 10, _gloffset_Rectfv
},
1056 { "glRecti", 10, _gloffset_Recti
},
1057 { "glRectiv", 10, _gloffset_Rectiv
},
1058 { "glRects", 10, _gloffset_Rects
},
1059 { "glRectsv", 10, _gloffset_Rectsv
},
1060 { "glTexCoord1d", 10, _gloffset_TexCoord1d
},
1061 { "glTexCoord1dv", 10, _gloffset_TexCoord1dv
},
1062 { "glTexCoord1f", 10, _gloffset_TexCoord1f
},
1063 { "glTexCoord1fv", 10, _gloffset_TexCoord1fv
},
1064 { "glTexCoord1i", 10, _gloffset_TexCoord1i
},
1065 { "glTexCoord1iv", 10, _gloffset_TexCoord1iv
},
1066 { "glTexCoord1s", 10, _gloffset_TexCoord1s
},
1067 { "glTexCoord1sv", 10, _gloffset_TexCoord1sv
},
1068 { "glTexCoord2d", 10, _gloffset_TexCoord2d
},
1069 { "glTexCoord2dv", 10, _gloffset_TexCoord2dv
},
1070 { "glTexCoord2f", 10, _gloffset_TexCoord2f
},
1071 { "glTexCoord2fv", 10, _gloffset_TexCoord2fv
},
1072 { "glTexCoord2i", 10, _gloffset_TexCoord2i
},
1073 { "glTexCoord2iv", 10, _gloffset_TexCoord2iv
},
1074 { "glTexCoord2s", 10, _gloffset_TexCoord2s
},
1075 { "glTexCoord2sv", 10, _gloffset_TexCoord2sv
},
1076 { "glTexCoord3d", 10, _gloffset_TexCoord3d
},
1077 { "glTexCoord3dv", 10, _gloffset_TexCoord3dv
},
1078 { "glTexCoord3f", 10, _gloffset_TexCoord3f
},
1079 { "glTexCoord3fv", 10, _gloffset_TexCoord3fv
},
1080 { "glTexCoord3i", 10, _gloffset_TexCoord3i
},
1081 { "glTexCoord3iv", 10, _gloffset_TexCoord3iv
},
1082 { "glTexCoord3s", 10, _gloffset_TexCoord3s
},
1083 { "glTexCoord3sv", 10, _gloffset_TexCoord3sv
},
1084 { "glTexCoord4d", 10, _gloffset_TexCoord4d
},
1085 { "glTexCoord4dv", 10, _gloffset_TexCoord4dv
},
1086 { "glTexCoord4f", 10, _gloffset_TexCoord4f
},
1087 { "glTexCoord4fv", 10, _gloffset_TexCoord4fv
},
1088 { "glTexCoord4i", 10, _gloffset_TexCoord4i
},
1089 { "glTexCoord4iv", 10, _gloffset_TexCoord4iv
},
1090 { "glTexCoord4s", 10, _gloffset_TexCoord4s
},
1091 { "glTexCoord4sv", 10, _gloffset_TexCoord4sv
},
1092 { "glVertex2d", 10, _gloffset_Vertex2d
},
1093 { "glVertex2dv", 10, _gloffset_Vertex2dv
},
1094 { "glVertex2f", 10, _gloffset_Vertex2f
},
1095 { "glVertex2fv", 10, _gloffset_Vertex2fv
},
1096 { "glVertex2i", 10, _gloffset_Vertex2i
},
1097 { "glVertex2iv", 10, _gloffset_Vertex2iv
},
1098 { "glVertex2s", 10, _gloffset_Vertex2s
},
1099 { "glVertex2sv", 10, _gloffset_Vertex2sv
},
1100 { "glVertex3d", 10, _gloffset_Vertex3d
},
1101 { "glVertex3dv", 10, _gloffset_Vertex3dv
},
1102 { "glVertex3f", 10, _gloffset_Vertex3f
},
1103 { "glVertex3fv", 10, _gloffset_Vertex3fv
},
1104 { "glVertex3i", 10, _gloffset_Vertex3i
},
1105 { "glVertex3iv", 10, _gloffset_Vertex3iv
},
1106 { "glVertex3s", 10, _gloffset_Vertex3s
},
1107 { "glVertex3sv", 10, _gloffset_Vertex3sv
},
1108 { "glVertex4d", 10, _gloffset_Vertex4d
},
1109 { "glVertex4dv", 10, _gloffset_Vertex4dv
},
1110 { "glVertex4f", 10, _gloffset_Vertex4f
},
1111 { "glVertex4fv", 10, _gloffset_Vertex4fv
},
1112 { "glVertex4i", 10, _gloffset_Vertex4i
},
1113 { "glVertex4iv", 10, _gloffset_Vertex4iv
},
1114 { "glVertex4s", 10, _gloffset_Vertex4s
},
1115 { "glVertex4sv", 10, _gloffset_Vertex4sv
},
1116 { "glClipPlane", 10, _gloffset_ClipPlane
},
1117 { "glColorMaterial", 10, _gloffset_ColorMaterial
},
1118 { "glFogf", 10, _gloffset_Fogf
},
1119 { "glFogfv", 10, _gloffset_Fogfv
},
1120 { "glFogi", 10, _gloffset_Fogi
},
1121 { "glFogiv", 10, _gloffset_Fogiv
},
1122 { "glLightf", 10, _gloffset_Lightf
},
1123 { "glLightfv", 10, _gloffset_Lightfv
},
1124 { "glLighti", 10, _gloffset_Lighti
},
1125 { "glLightiv", 10, _gloffset_Lightiv
},
1126 { "glLightModelf", 10, _gloffset_LightModelf
},
1127 { "glLightModelfv", 10, _gloffset_LightModelfv
},
1128 { "glLightModeli", 10, _gloffset_LightModeli
},
1129 { "glLightModeliv", 10, _gloffset_LightModeliv
},
1130 { "glLineStipple", 10, _gloffset_LineStipple
},
1131 { "glMaterialf", 10, _gloffset_Materialf
},
1132 { "glMaterialfv", 10, _gloffset_Materialfv
},
1133 { "glMateriali", 10, _gloffset_Materiali
},
1134 { "glMaterialiv", 10, _gloffset_Materialiv
},
1135 { "glPolygonStipple", 10, _gloffset_PolygonStipple
},
1136 { "glShadeModel", 10, _gloffset_ShadeModel
},
1137 { "glTexEnvf", 10, _gloffset_TexEnvf
},
1138 { "glTexEnvfv", 10, _gloffset_TexEnvfv
},
1139 { "glTexEnvi", 10, _gloffset_TexEnvi
},
1140 { "glTexEnviv", 10, _gloffset_TexEnviv
},
1141 { "glTexGend", 10, _gloffset_TexGend
},
1142 { "glTexGendv", 10, _gloffset_TexGendv
},
1143 { "glTexGenf", 10, _gloffset_TexGenf
},
1144 { "glTexGenfv", 10, _gloffset_TexGenfv
},
1145 { "glTexGeni", 10, _gloffset_TexGeni
},
1146 { "glTexGeniv", 10, _gloffset_TexGeniv
},
1147 { "glFeedbackBuffer", 10, _gloffset_FeedbackBuffer
},
1148 { "glSelectBuffer", 10, _gloffset_SelectBuffer
},
1149 { "glRenderMode", 10, _gloffset_RenderMode
},
1150 { "glInitNames", 10, _gloffset_InitNames
},
1151 { "glLoadName", 10, _gloffset_LoadName
},
1152 { "glPassThrough", 10, _gloffset_PassThrough
},
1153 { "glPopName", 10, _gloffset_PopName
},
1154 { "glPushName", 10, _gloffset_PushName
},
1155 { "glClearAccum", 10, _gloffset_ClearAccum
},
1156 { "glClearIndex", 10, _gloffset_ClearIndex
},
1157 { "glIndexMask", 10, _gloffset_IndexMask
},
1158 { "glAccum", 10, _gloffset_Accum
},
1159 { "glPopAttrib", 10, _gloffset_PopAttrib
},
1160 { "glPushAttrib", 10, _gloffset_PushAttrib
},
1161 { "glMap1d", 10, _gloffset_Map1d
},
1162 { "glMap1f", 10, _gloffset_Map1f
},
1163 { "glMap2d", 10, _gloffset_Map2d
},
1164 { "glMap2f", 10, _gloffset_Map2f
},
1165 { "glMapGrid1d", 10, _gloffset_MapGrid1d
},
1166 { "glMapGrid1f", 10, _gloffset_MapGrid1f
},
1167 { "glMapGrid2d", 10, _gloffset_MapGrid2d
},
1168 { "glMapGrid2f", 10, _gloffset_MapGrid2f
},
1169 { "glEvalCoord1d", 10, _gloffset_EvalCoord1d
},
1170 { "glEvalCoord1dv", 10, _gloffset_EvalCoord1dv
},
1171 { "glEvalCoord1f", 10, _gloffset_EvalCoord1f
},
1172 { "glEvalCoord1fv", 10, _gloffset_EvalCoord1fv
},
1173 { "glEvalCoord2d", 10, _gloffset_EvalCoord2d
},
1174 { "glEvalCoord2dv", 10, _gloffset_EvalCoord2dv
},
1175 { "glEvalCoord2f", 10, _gloffset_EvalCoord2f
},
1176 { "glEvalCoord2fv", 10, _gloffset_EvalCoord2fv
},
1177 { "glEvalMesh1", 10, _gloffset_EvalMesh1
},
1178 { "glEvalPoint1", 10, _gloffset_EvalPoint1
},
1179 { "glEvalMesh2", 10, _gloffset_EvalMesh2
},
1180 { "glEvalPoint2", 10, _gloffset_EvalPoint2
},
1181 { "glAlphaFunc", 10, _gloffset_AlphaFunc
},
1182 { "glPixelZoom", 10, _gloffset_PixelZoom
},
1183 { "glPixelTransferf", 10, _gloffset_PixelTransferf
},
1184 { "glPixelTransferi", 10, _gloffset_PixelTransferi
},
1185 { "glPixelMapfv", 10, _gloffset_PixelMapfv
},
1186 { "glPixelMapuiv", 10, _gloffset_PixelMapuiv
},
1187 { "glPixelMapusv", 10, _gloffset_PixelMapusv
},
1188 { "glCopyPixels", 10, _gloffset_CopyPixels
},
1189 { "glDrawPixels", 10, _gloffset_DrawPixels
},
1190 { "glGetClipPlane", 10, _gloffset_GetClipPlane
},
1191 { "glGetLightfv", 10, _gloffset_GetLightfv
},
1192 { "glGetLightiv", 10, _gloffset_GetLightiv
},
1193 { "glGetMapdv", 10, _gloffset_GetMapdv
},
1194 { "glGetMapfv", 10, _gloffset_GetMapfv
},
1195 { "glGetMapiv", 10, _gloffset_GetMapiv
},
1196 { "glGetMaterialfv", 10, _gloffset_GetMaterialfv
},
1197 { "glGetMaterialiv", 10, _gloffset_GetMaterialiv
},
1198 { "glGetPixelMapfv", 10, _gloffset_GetPixelMapfv
},
1199 { "glGetPixelMapuiv", 10, _gloffset_GetPixelMapuiv
},
1200 { "glGetPixelMapusv", 10, _gloffset_GetPixelMapusv
},
1201 { "glGetPolygonStipple", 10, _gloffset_GetPolygonStipple
},
1202 { "glGetTexEnvfv", 10, _gloffset_GetTexEnvfv
},
1203 { "glGetTexEnviv", 10, _gloffset_GetTexEnviv
},
1204 { "glGetTexGendv", 10, _gloffset_GetTexGendv
},
1205 { "glGetTexGenfv", 10, _gloffset_GetTexGenfv
},
1206 { "glGetTexGeniv", 10, _gloffset_GetTexGeniv
},
1207 { "glIsList", 10, _gloffset_IsList
},
1208 { "glFrustum", 10, _gloffset_Frustum
},
1209 { "glLoadIdentity", 10, _gloffset_LoadIdentity
},
1210 { "glLoadMatrixf", 10, _gloffset_LoadMatrixf
},
1211 { "glLoadMatrixd", 10, _gloffset_LoadMatrixd
},
1212 { "glMatrixMode", 10, _gloffset_MatrixMode
},
1213 { "glMultMatrixf", 10, _gloffset_MultMatrixf
},
1214 { "glMultMatrixd", 10, _gloffset_MultMatrixd
},
1215 { "glOrtho", 10, _gloffset_Ortho
},
1216 { "glPopMatrix", 10, _gloffset_PopMatrix
},
1217 { "glPushMatrix", 10, _gloffset_PushMatrix
},
1218 { "glRotated", 10, _gloffset_Rotated
},
1219 { "glRotatef", 10, _gloffset_Rotatef
},
1220 { "glScaled", 10, _gloffset_Scaled
},
1221 { "glScalef", 10, _gloffset_Scalef
},
1222 { "glTranslated", 10, _gloffset_Translated
},
1223 { "glTranslatef", 10, _gloffset_Translatef
},
1224 { "glArrayElement", 10, _gloffset_ArrayElement
},
1225 { "glColorPointer", 10, _gloffset_ColorPointer
},
1226 { "glDisableClientState", 10, _gloffset_DisableClientState
},
1227 { "glEdgeFlagPointer", 10, _gloffset_EdgeFlagPointer
},
1228 { "glEnableClientState", 10, _gloffset_EnableClientState
},
1229 { "glIndexPointer", 10, _gloffset_IndexPointer
},
1230 { "glInterleavedArrays", 10, _gloffset_InterleavedArrays
},
1231 { "glNormalPointer", 10, _gloffset_NormalPointer
},
1232 { "glTexCoordPointer", 10, _gloffset_TexCoordPointer
},
1233 { "glVertexPointer", 10, _gloffset_VertexPointer
},
1234 { "glAreTexturesResident", 10, _gloffset_AreTexturesResident
},
1235 { "glPrioritizeTextures", 10, _gloffset_PrioritizeTextures
},
1236 { "glIndexub", 10, _gloffset_Indexub
},
1237 { "glIndexubv", 10, _gloffset_Indexubv
},
1238 { "glPopClientAttrib", 10, _gloffset_PopClientAttrib
},
1239 { "glPushClientAttrib", 10, _gloffset_PushClientAttrib
},
1240 { "glColorTable", 10, _gloffset_ColorTable
},
1241 { "glColorTableParameterfv", 10, _gloffset_ColorTableParameterfv
},
1242 { "glColorTableParameteriv", 10, _gloffset_ColorTableParameteriv
},
1243 { "glCopyColorTable", 10, _gloffset_CopyColorTable
},
1244 { "glGetColorTable", 10, _gloffset_GetColorTable
},
1245 { "glGetColorTableParameterfv", 10, _gloffset_GetColorTableParameterfv
},
1246 { "glGetColorTableParameteriv", 10, _gloffset_GetColorTableParameteriv
},
1247 { "glColorSubTable", 10, _gloffset_ColorSubTable
},
1248 { "glCopyColorSubTable", 10, _gloffset_CopyColorSubTable
},
1249 { "glConvolutionFilter1D", 10, _gloffset_ConvolutionFilter1D
},
1250 { "glConvolutionFilter2D", 10, _gloffset_ConvolutionFilter2D
},
1251 { "glConvolutionParameterf", 10, _gloffset_ConvolutionParameterf
},
1252 { "glConvolutionParameterfv", 10, _gloffset_ConvolutionParameterfv
},
1253 { "glConvolutionParameteri", 10, _gloffset_ConvolutionParameteri
},
1254 { "glConvolutionParameteriv", 10, _gloffset_ConvolutionParameteriv
},
1255 { "glCopyConvolutionFilter1D", 10, _gloffset_CopyConvolutionFilter1D
},
1256 { "glCopyConvolutionFilter2D", 10, _gloffset_CopyConvolutionFilter2D
},
1257 { "glGetConvolutionFilter", 10, _gloffset_GetConvolutionFilter
},
1258 { "glGetConvolutionParameterfv", 10, _gloffset_GetConvolutionParameterfv
},
1259 { "glGetConvolutionParameteriv", 10, _gloffset_GetConvolutionParameteriv
},
1260 { "glGetSeparableFilter", 10, _gloffset_GetSeparableFilter
},
1261 { "glSeparableFilter2D", 10, _gloffset_SeparableFilter2D
},
1262 { "glGetHistogram", 10, _gloffset_GetHistogram
},
1263 { "glGetHistogramParameterfv", 10, _gloffset_GetHistogramParameterfv
},
1264 { "glGetHistogramParameteriv", 10, _gloffset_GetHistogramParameteriv
},
1265 { "glGetMinmax", 10, _gloffset_GetMinmax
},
1266 { "glGetMinmaxParameterfv", 10, _gloffset_GetMinmaxParameterfv
},
1267 { "glGetMinmaxParameteriv", 10, _gloffset_GetMinmaxParameteriv
},
1268 { "glHistogram", 10, _gloffset_Histogram
},
1269 { "glMinmax", 10, _gloffset_Minmax
},
1270 { "glResetHistogram", 10, _gloffset_ResetHistogram
},
1271 { "glResetMinmax", 10, _gloffset_ResetMinmax
},
1272 { "glClientActiveTexture", 10, _gloffset_ClientActiveTexture
},
1273 { "glMultiTexCoord1d", 10, _gloffset_MultiTexCoord1d
},
1274 { "glMultiTexCoord1dv", 10, _gloffset_MultiTexCoord1dv
},
1275 { "glMultiTexCoord1f", 10, _gloffset_MultiTexCoord1fARB
},
1276 { "glMultiTexCoord1fv", 10, _gloffset_MultiTexCoord1fvARB
},
1277 { "glMultiTexCoord1i", 10, _gloffset_MultiTexCoord1i
},
1278 { "glMultiTexCoord1iv", 10, _gloffset_MultiTexCoord1iv
},
1279 { "glMultiTexCoord1s", 10, _gloffset_MultiTexCoord1s
},
1280 { "glMultiTexCoord1sv", 10, _gloffset_MultiTexCoord1sv
},
1281 { "glMultiTexCoord2d", 10, _gloffset_MultiTexCoord2d
},
1282 { "glMultiTexCoord2dv", 10, _gloffset_MultiTexCoord2dv
},
1283 { "glMultiTexCoord2f", 10, _gloffset_MultiTexCoord2fARB
},
1284 { "glMultiTexCoord2fv", 10, _gloffset_MultiTexCoord2fvARB
},
1285 { "glMultiTexCoord2i", 10, _gloffset_MultiTexCoord2i
},
1286 { "glMultiTexCoord2iv", 10, _gloffset_MultiTexCoord2iv
},
1287 { "glMultiTexCoord2s", 10, _gloffset_MultiTexCoord2s
},
1288 { "glMultiTexCoord2sv", 10, _gloffset_MultiTexCoord2sv
},
1289 { "glMultiTexCoord3d", 10, _gloffset_MultiTexCoord3d
},
1290 { "glMultiTexCoord3dv", 10, _gloffset_MultiTexCoord3dv
},
1291 { "glMultiTexCoord3f", 10, _gloffset_MultiTexCoord3fARB
},
1292 { "glMultiTexCoord3fv", 10, _gloffset_MultiTexCoord3fvARB
},
1293 { "glMultiTexCoord3i", 10, _gloffset_MultiTexCoord3i
},
1294 { "glMultiTexCoord3iv", 10, _gloffset_MultiTexCoord3iv
},
1295 { "glMultiTexCoord3s", 10, _gloffset_MultiTexCoord3s
},
1296 { "glMultiTexCoord3sv", 10, _gloffset_MultiTexCoord3sv
},
1297 { "glMultiTexCoord4d", 10, _gloffset_MultiTexCoord4d
},
1298 { "glMultiTexCoord4dv", 10, _gloffset_MultiTexCoord4dv
},
1299 { "glMultiTexCoord4f", 10, _gloffset_MultiTexCoord4fARB
},
1300 { "glMultiTexCoord4fv", 10, _gloffset_MultiTexCoord4fvARB
},
1301 { "glMultiTexCoord4i", 10, _gloffset_MultiTexCoord4i
},
1302 { "glMultiTexCoord4iv", 10, _gloffset_MultiTexCoord4iv
},
1303 { "glMultiTexCoord4s", 10, _gloffset_MultiTexCoord4s
},
1304 { "glMultiTexCoord4sv", 10, _gloffset_MultiTexCoord4sv
},
1305 { "glLoadTransposeMatrixf", 10, -1 },
1306 { "glLoadTransposeMatrixd", 10, -1 },
1307 { "glMultTransposeMatrixf", 10, -1 },
1308 { "glMultTransposeMatrixd", 10, -1 },
1309 { "glFogCoordf", 10, -1 },
1310 { "glFogCoordfv", 10, -1 },
1311 { "glFogCoordd", 10, -1 },
1312 { "glFogCoorddv", 10, -1 },
1313 { "glFogCoordPointer", 10, -1 },
1314 { "glSecondaryColor3b", 10, -1 },
1315 { "glSecondaryColor3bv", 10, -1 },
1316 { "glSecondaryColor3d", 10, -1 },
1317 { "glSecondaryColor3dv", 10, -1 },
1318 { "glSecondaryColor3f", 10, -1 },
1319 { "glSecondaryColor3fv", 10, -1 },
1320 { "glSecondaryColor3i", 10, -1 },
1321 { "glSecondaryColor3iv", 10, -1 },
1322 { "glSecondaryColor3s", 10, -1 },
1323 { "glSecondaryColor3sv", 10, -1 },
1324 { "glSecondaryColor3ub", 10, -1 },
1325 { "glSecondaryColor3ubv", 10, -1 },
1326 { "glSecondaryColor3ui", 10, -1 },
1327 { "glSecondaryColor3uiv", 10, -1 },
1328 { "glSecondaryColor3us", 10, -1 },
1329 { "glSecondaryColor3usv", 10, -1 },
1330 { "glSecondaryColorPointer", 10, -1 },
1331 { "glWindowPos2d", 10, -1 },
1332 { "glWindowPos2dv", 10, -1 },
1333 { "glWindowPos2f", 10, -1 },
1334 { "glWindowPos2fv", 10, -1 },
1335 { "glWindowPos2i", 10, -1 },
1336 { "glWindowPos2iv", 10, -1 },
1337 { "glWindowPos2s", 10, -1 },
1338 { "glWindowPos2sv", 10, -1 },
1339 { "glWindowPos3d", 10, -1 },
1340 { "glWindowPos3dv", 10, -1 },
1341 { "glWindowPos3f", 10, -1 },
1342 { "glWindowPos3fv", 10, -1 },
1343 { "glWindowPos3i", 10, -1 },
1344 { "glWindowPos3iv", 10, -1 },
1345 { "glWindowPos3s", 10, -1 },
1346 { "glWindowPos3sv", 10, -1 },
1347 { "glProgramStringARB", 10, -1 },
1348 { "glProgramEnvParameter4dARB", 10, -1 },
1349 { "glProgramEnvParameter4dvARB", 10, -1 },
1350 { "glProgramEnvParameter4fARB", 10, -1 },
1351 { "glProgramEnvParameter4fvARB", 10, -1 },
1352 { "glProgramLocalParameter4dARB", 10, -1 },
1353 { "glProgramLocalParameter4dvARB", 10, -1 },
1354 { "glProgramLocalParameter4fARB", 10, -1 },
1355 { "glProgramLocalParameter4fvARB", 10, -1 },
1356 { "glGetProgramEnvParameterdvARB", 10, -1 },
1357 { "glGetProgramEnvParameterfvARB", 10, -1 },
1358 { "glGetProgramLocalParameterdvARB", 10, -1 },
1359 { "glGetProgramLocalParameterfvARB", 10, -1 },
1360 { "glGetProgramivARB", 10, -1 },
1361 { "glGetProgramStringARB", 10, -1 },
1362 { "glPolygonOffsetEXT", 10, -1 },
1363 { "glColorPointerEXT", 10, -1 },
1364 { "glEdgeFlagPointerEXT", 10, -1 },
1365 { "glIndexPointerEXT", 10, -1 },
1366 { "glNormalPointerEXT", 10, -1 },
1367 { "glTexCoordPointerEXT", 10, -1 },
1368 { "glVertexPointerEXT", 10, -1 },
1369 { "glLockArraysEXT", 10, -1 },
1370 { "glUnlockArraysEXT", 10, -1 },
1371 { "glWindowPos4dMESA", 10, -1 },
1372 { "glWindowPos4dvMESA", 10, -1 },
1373 { "glWindowPos4fMESA", 10, -1 },
1374 { "glWindowPos4fvMESA", 10, -1 },
1375 { "glWindowPos4iMESA", 10, -1 },
1376 { "glWindowPos4ivMESA", 10, -1 },
1377 { "glWindowPos4sMESA", 10, -1 },
1378 { "glWindowPos4svMESA", 10, -1 },
1379 { "glBindProgramNV", 10, -1 },
1380 { "glDeleteProgramsNV", 10, -1 },
1381 { "glGenProgramsNV", 10, -1 },
1382 { "glIsProgramNV", 10, -1 },
1383 { "glVertexAttrib1sNV", 10, -1 },
1384 { "glVertexAttrib1svNV", 10, -1 },
1385 { "glVertexAttrib2sNV", 10, -1 },
1386 { "glVertexAttrib2svNV", 10, -1 },
1387 { "glVertexAttrib3sNV", 10, -1 },
1388 { "glVertexAttrib3svNV", 10, -1 },
1389 { "glVertexAttrib4sNV", 10, -1 },
1390 { "glVertexAttrib4svNV", 10, -1 },
1391 { "glVertexAttrib1fNV", 10, -1 },
1392 { "glVertexAttrib1fvNV", 10, -1 },
1393 { "glVertexAttrib2fNV", 10, -1 },
1394 { "glVertexAttrib2fvNV", 10, -1 },
1395 { "glVertexAttrib3fNV", 10, -1 },
1396 { "glVertexAttrib3fvNV", 10, -1 },
1397 { "glVertexAttrib4fNV", 10, -1 },
1398 { "glVertexAttrib4fvNV", 10, -1 },
1399 { "glVertexAttrib1dNV", 10, -1 },
1400 { "glVertexAttrib1dvNV", 10, -1 },
1401 { "glVertexAttrib2dNV", 10, -1 },
1402 { "glVertexAttrib2dvNV", 10, -1 },
1403 { "glVertexAttrib3dNV", 10, -1 },
1404 { "glVertexAttrib3dvNV", 10, -1 },
1405 { "glVertexAttrib4dNV", 10, -1 },
1406 { "glVertexAttrib4dvNV", 10, -1 },
1407 { "glVertexAttrib4ubNV", 10, -1 },
1408 { "glVertexAttrib4ubvNV", 10, -1 },
1409 { "glVertexAttribs1svNV", 10, -1 },
1410 { "glVertexAttribs2svNV", 10, -1 },
1411 { "glVertexAttribs3svNV", 10, -1 },
1412 { "glVertexAttribs4svNV", 10, -1 },
1413 { "glVertexAttribs1fvNV", 10, -1 },
1414 { "glVertexAttribs2fvNV", 10, -1 },
1415 { "glVertexAttribs3fvNV", 10, -1 },
1416 { "glVertexAttribs4fvNV", 10, -1 },
1417 { "glVertexAttribs1dvNV", 10, -1 },
1418 { "glVertexAttribs2dvNV", 10, -1 },
1419 { "glVertexAttribs3dvNV", 10, -1 },
1420 { "glVertexAttribs4dvNV", 10, -1 },
1421 { "glVertexAttribs4ubvNV", 10, -1 },
1422 { "glGenFragmentShadersATI", 10, -1 },
1423 { "glBindFragmentShaderATI", 10, -1 },
1424 { "glDeleteFragmentShaderATI", 10, -1 },
1425 { "glBeginFragmentShaderATI", 10, -1 },
1426 { "glEndFragmentShaderATI", 10, -1 },
1427 { "glPassTexCoordATI", 10, -1 },
1428 { "glSampleMapATI", 10, -1 },
1429 { "glColorFragmentOp1ATI", 10, -1 },
1430 { "glColorFragmentOp2ATI", 10, -1 },
1431 { "glColorFragmentOp3ATI", 10, -1 },
1432 { "glAlphaFragmentOp1ATI", 10, -1 },
1433 { "glAlphaFragmentOp2ATI", 10, -1 },
1434 { "glAlphaFragmentOp3ATI", 10, -1 },
1435 { "glSetFragmentShaderConstantATI", 10, -1 },
1436 { "glActiveStencilFaceEXT", 10, -1 },
1437 { "glStencilFuncSeparateATI", 10, -1 },
1438 { "glProgramEnvParameters4fvEXT", 10, -1 },
1439 { "glProgramLocalParameters4fvEXT", 10, -1 },
1440 { "glPrimitiveRestartNV", 10, -1 },
1445 const struct function gl_core_functions_possible
[] = {
1447 { "glTexBuffer", 31, -1 },
1450 { "glFramebufferTexture", 32, -1 },
1453 { "glGetSubroutineUniformLocation", 40, -1 },
1454 { "glGetSubroutineIndex", 40, -1 },
1455 { "glGetActiveSubroutineUniformiv", 40, -1 },
1456 { "glGetActiveSubroutineUniformName", 40, -1 },
1457 { "glGetActiveSubroutineName", 40, -1 },
1458 { "glUniformSubroutinesuiv", 40, -1 },
1459 { "glGetUniformSubroutineuiv", 40, -1 },
1460 { "glGetProgramStageiv", 40, -1 },
1463 { "glIsRenderbuffer", 43, -1 },
1464 { "glBindRenderbuffer", 43, -1 },
1465 { "glDeleteRenderbuffers", 43, -1 },
1466 { "glGenRenderbuffers", 43, -1 },
1467 { "glRenderbufferStorage", 43, -1 },
1468 { "glGetRenderbufferParameteriv", 43, -1 },
1469 { "glIsFramebuffer", 43, -1 },
1470 { "glBindFramebuffer", 43, -1 },
1471 { "glDeleteFramebuffers", 43, -1 },
1472 { "glGenFramebuffers", 43, -1 },
1473 { "glCheckFramebufferStatus", 43, -1 },
1474 { "glFramebufferTexture1D", 43, -1 },
1475 { "glFramebufferTexture2D", 43, -1 },
1476 { "glFramebufferTexture3D", 43, -1 },
1477 { "glFramebufferRenderbuffer", 43, -1 },
1478 { "glGetFramebufferAttachmentParameteriv", 43, -1 },
1479 { "glGenerateMipmap", 43, -1 },
1480 { "glBlitFramebuffer", 43, -1 },
1481 { "glRenderbufferStorageMultisample", 43, -1 },
1482 { "glFramebufferTextureLayer", 43, -1 },
1483 { "glMapBufferRange", 43, -1 },
1484 { "glFlushMappedBufferRange", 43, -1 },
1485 { "glBindVertexArray", 43, -1 },
1486 { "glDeleteVertexArrays", 43, -1 },
1487 { "glGenVertexArrays", 43, -1 },
1488 { "glIsVertexArray", 43, -1 },
1489 { "glGetUniformIndices", 43, -1 },
1490 { "glGetActiveUniformsiv", 43, -1 },
1491 { "glGetActiveUniformName", 43, -1 },
1492 { "glGetUniformBlockIndex", 43, -1 },
1493 { "glGetActiveUniformBlockiv", 43, -1 },
1494 { "glGetActiveUniformBlockName", 43, -1 },
1495 { "glUniformBlockBinding", 43, -1 },
1496 { "glCopyBufferSubData", 43, -1 },
1497 { "glDrawElementsBaseVertex", 43, -1 },
1498 { "glDrawRangeElementsBaseVertex", 43, -1 },
1499 { "glDrawElementsInstancedBaseVertex", 43, -1 },
1500 { "glMultiDrawElementsBaseVertex", 43, -1 },
1501 { "glProvokingVertex", 43, -1 },
1502 { "glFenceSync", 43, -1 },
1503 { "glIsSync", 43, -1 },
1504 { "glDeleteSync", 43, -1 },
1505 { "glClientWaitSync", 43, -1 },
1506 { "glWaitSync", 43, -1 },
1507 { "glGetInteger64v", 43, -1 },
1508 { "glGetSynciv", 43, -1 },
1509 { "glTexImage2DMultisample", 43, -1 },
1510 { "glTexImage3DMultisample", 43, -1 },
1511 { "glGetMultisamplefv", 43, -1 },
1512 { "glSampleMaski", 43, -1 },
1513 { "glBlendEquationiARB", 43, -1 },
1514 { "glBlendEquationSeparateiARB", 43, -1 },
1515 { "glBlendFunciARB", 43, -1 },
1516 { "glBlendFuncSeparateiARB", 43, -1 },
1517 { "glMinSampleShadingARB", 43, -1 }, // XXX: Add to xml
1518 // { "glNamedStringARB", 43, -1 }, // XXX: Add to xml
1519 // { "glDeleteNamedStringARB", 43, -1 }, // XXX: Add to xml
1520 // { "glCompileShaderIncludeARB", 43, -1 }, // XXX: Add to xml
1521 // { "glIsNamedStringARB", 43, -1 }, // XXX: Add to xml
1522 // { "glGetNamedStringARB", 43, -1 }, // XXX: Add to xml
1523 // { "glGetNamedStringivARB", 43, -1 }, // XXX: Add to xml
1524 { "glBindFragDataLocationIndexed", 43, -1 },
1525 { "glGetFragDataIndex", 43, -1 },
1526 { "glGenSamplers", 43, -1 },
1527 { "glDeleteSamplers", 43, -1 },
1528 { "glIsSampler", 43, -1 },
1529 { "glBindSampler", 43, -1 },
1530 { "glSamplerParameteri", 43, -1 },
1531 { "glSamplerParameteriv", 43, -1 },
1532 { "glSamplerParameterf", 43, -1 },
1533 { "glSamplerParameterfv", 43, -1 },
1534 { "glSamplerParameterIiv", 43, -1 },
1535 { "glSamplerParameterIuiv", 43, -1 },
1536 { "glGetSamplerParameteriv", 43, -1 },
1537 { "glGetSamplerParameterIiv", 43, -1 },
1538 { "glGetSamplerParameterfv", 43, -1 },
1539 { "glGetSamplerParameterIuiv", 43, -1 },
1540 { "glQueryCounter", 43, -1 },
1541 { "glGetQueryObjecti64v", 43, -1 },
1542 { "glGetQueryObjectui64v", 43, -1 },
1543 { "glVertexP2ui", 43, -1 },
1544 { "glVertexP2uiv", 43, -1 },
1545 { "glVertexP3ui", 43, -1 },
1546 { "glVertexP3uiv", 43, -1 },
1547 { "glVertexP4ui", 43, -1 },
1548 { "glVertexP4uiv", 43, -1 },
1549 { "glTexCoordP1ui", 43, -1 },
1550 { "glTexCoordP1uiv", 43, -1 },
1551 { "glTexCoordP2ui", 43, -1 },
1552 { "glTexCoordP2uiv", 43, -1 },
1553 { "glTexCoordP3ui", 43, -1 },
1554 { "glTexCoordP3uiv", 43, -1 },
1555 { "glTexCoordP4ui", 43, -1 },
1556 { "glTexCoordP4uiv", 43, -1 },
1557 { "glMultiTexCoordP1ui", 43, -1 },
1558 { "glMultiTexCoordP1uiv", 43, -1 },
1559 { "glMultiTexCoordP2ui", 43, -1 },
1560 { "glMultiTexCoordP2uiv", 43, -1 },
1561 { "glMultiTexCoordP3ui", 43, -1 },
1562 { "glMultiTexCoordP3uiv", 43, -1 },
1563 { "glMultiTexCoordP4ui", 43, -1 },
1564 { "glMultiTexCoordP4uiv", 43, -1 },
1565 { "glNormalP3ui", 43, -1 },
1566 { "glNormalP3uiv", 43, -1 },
1567 { "glColorP3ui", 43, -1 },
1568 { "glColorP3uiv", 43, -1 },
1569 { "glColorP4ui", 43, -1 },
1570 { "glColorP4uiv", 43, -1 },
1571 { "glVertexAttribP1ui", 43, -1 },
1572 { "glVertexAttribP1uiv", 43, -1 },
1573 { "glVertexAttribP2ui", 43, -1 },
1574 { "glVertexAttribP2uiv", 43, -1 },
1575 { "glVertexAttribP3ui", 43, -1 },
1576 { "glVertexAttribP3uiv", 43, -1 },
1577 { "glVertexAttribP4ui", 43, -1 },
1578 { "glVertexAttribP4uiv", 43, -1 },
1579 { "glDrawArraysIndirect", 43, -1 },
1580 { "glDrawElementsIndirect", 43, -1 },
1582 { "glUniform1d", 40, -1 },
1583 { "glUniform2d", 40, -1 },
1584 { "glUniform3d", 40, -1 },
1585 { "glUniform4d", 40, -1 },
1586 { "glUniform1dv", 40, -1 },
1587 { "glUniform2dv", 40, -1 },
1588 { "glUniform3dv", 40, -1 },
1589 { "glUniform4dv", 40, -1 },
1590 { "glUniformMatrix2dv", 40, -1 },
1591 { "glUniformMatrix3dv", 40, -1 },
1592 { "glUniformMatrix4dv", 40, -1 },
1593 { "glUniformMatrix2x3dv", 40, -1 },
1594 { "glUniformMatrix2x4dv", 40, -1 },
1595 { "glUniformMatrix3x2dv", 40, -1 },
1596 { "glUniformMatrix3x4dv", 40, -1 },
1597 { "glUniformMatrix4x2dv", 40, -1 },
1598 { "glUniformMatrix4x3dv", 40, -1 },
1599 { "glGetUniformdv", 43, -1 },
1601 { "glBindTransformFeedback", 43, -1 },
1602 { "glDeleteTransformFeedbacks", 43, -1 },
1603 { "glGenTransformFeedbacks", 43, -1 },
1604 { "glIsTransformFeedback", 43, -1 },
1605 { "glPauseTransformFeedback", 43, -1 },
1606 { "glResumeTransformFeedback", 43, -1 },
1607 { "glDrawTransformFeedback", 43, -1 },
1608 { "glDrawTransformFeedbackStream", 43, -1 },
1609 { "glBeginQueryIndexed", 43, -1 },
1610 { "glEndQueryIndexed", 43, -1 },
1611 { "glGetQueryIndexediv", 43, -1 },
1612 { "glReleaseShaderCompiler", 43, -1 },
1613 { "glShaderBinary", 43, -1 },
1614 { "glGetShaderPrecisionFormat", 43, -1 },
1615 { "glDepthRangef", 43, -1 },
1616 { "glClearDepthf", 43, -1 },
1617 { "glGetProgramBinary", 43, -1 },
1618 { "glProgramBinary", 43, -1 },
1619 { "glProgramParameteri", 43, -1 },
1620 { "glUseProgramStages", 43, -1 },
1621 { "glActiveShaderProgram", 43, -1 },
1622 { "glCreateShaderProgramv", 43, -1 },
1623 { "glBindProgramPipeline", 43, -1 },
1624 { "glDeleteProgramPipelines", 43, -1 },
1625 { "glGenProgramPipelines", 43, -1 },
1626 { "glIsProgramPipeline", 43, -1 },
1627 { "glGetProgramPipelineiv", 43, -1 },
1628 { "glProgramUniform1i", 43, -1 },
1629 { "glProgramUniform1iv", 43, -1 },
1630 { "glProgramUniform1f", 43, -1 },
1631 { "glProgramUniform1fv", 43, -1 },
1632 { "glProgramUniform1d", 40, -1 },
1633 { "glProgramUniform1dv", 40, -1 },
1634 { "glProgramUniform1ui", 43, -1 },
1635 { "glProgramUniform1uiv", 43, -1 },
1636 { "glProgramUniform2i", 43, -1 },
1637 { "glProgramUniform2iv", 43, -1 },
1638 { "glProgramUniform2f", 43, -1 },
1639 { "glProgramUniform2fv", 43, -1 },
1640 { "glProgramUniform2d", 40, -1 },
1641 { "glProgramUniform2dv", 40, -1 },
1642 { "glProgramUniform2ui", 43, -1 },
1643 { "glProgramUniform2uiv", 43, -1 },
1644 { "glProgramUniform3i", 43, -1 },
1645 { "glProgramUniform3iv", 43, -1 },
1646 { "glProgramUniform3f", 43, -1 },
1647 { "glProgramUniform3fv", 43, -1 },
1648 { "glProgramUniform3d", 40, -1 },
1649 { "glProgramUniform3dv", 40, -1 },
1650 { "glProgramUniform3ui", 43, -1 },
1651 { "glProgramUniform3uiv", 43, -1 },
1652 { "glProgramUniform4i", 43, -1 },
1653 { "glProgramUniform4iv", 43, -1 },
1654 { "glProgramUniform4f", 43, -1 },
1655 { "glProgramUniform4fv", 43, -1 },
1656 { "glProgramUniform4d", 40, -1 },
1657 { "glProgramUniform4dv", 40, -1 },
1658 { "glProgramUniform4ui", 43, -1 },
1659 { "glProgramUniform4uiv", 43, -1 },
1660 { "glProgramUniformMatrix2fv", 43, -1 },
1661 { "glProgramUniformMatrix3fv", 43, -1 },
1662 { "glProgramUniformMatrix4fv", 43, -1 },
1663 { "glProgramUniformMatrix2dv", 40, -1 },
1664 { "glProgramUniformMatrix3dv", 40, -1 },
1665 { "glProgramUniformMatrix4dv", 40, -1 },
1666 { "glProgramUniformMatrix2x3fv", 43, -1 },
1667 { "glProgramUniformMatrix3x2fv", 43, -1 },
1668 { "glProgramUniformMatrix2x4fv", 43, -1 },
1669 { "glProgramUniformMatrix4x2fv", 43, -1 },
1670 { "glProgramUniformMatrix3x4fv", 43, -1 },
1671 { "glProgramUniformMatrix4x3fv", 43, -1 },
1672 { "glProgramUniformMatrix2x3dv", 40, -1 },
1673 { "glProgramUniformMatrix3x2dv", 40, -1 },
1674 { "glProgramUniformMatrix2x4dv", 40, -1 },
1675 { "glProgramUniformMatrix4x2dv", 40, -1 },
1676 { "glProgramUniformMatrix3x4dv", 40, -1 },
1677 { "glProgramUniformMatrix4x3dv", 40, -1 },
1678 { "glValidateProgramPipeline", 43, -1 },
1679 { "glGetProgramPipelineInfoLog", 43, -1 },
1681 { "glVertexAttribL1d", 41, -1 },
1682 { "glVertexAttribL2d", 41, -1 },
1683 { "glVertexAttribL3d", 41, -1 },
1684 { "glVertexAttribL4d", 41, -1 },
1685 { "glVertexAttribL1dv", 41, -1 },
1686 { "glVertexAttribL2dv", 41, -1 },
1687 { "glVertexAttribL3dv", 41, -1 },
1688 { "glVertexAttribL4dv", 41, -1 },
1689 { "glVertexAttribLPointer", 41, -1 },
1690 { "glGetVertexAttribLdv", 41, -1 },
1691 { "glViewportArrayv", 43, -1 },
1692 { "glViewportIndexedf", 43, -1 },
1693 { "glViewportIndexedfv", 43, -1 },
1694 { "glScissorArrayv", 43, -1 },
1695 { "glScissorIndexed", 43, -1 },
1696 { "glScissorIndexedv", 43, -1 },
1697 { "glDepthRangeArrayv", 43, -1 },
1698 { "glDepthRangeIndexed", 43, -1 },
1700 // { "glCreateSyncFromCLeventARB", 43, -1 }, // XXX: Add to xml
1702 { "glDrawArraysInstancedBaseInstance", 43, -1 },
1703 { "glDrawElementsInstancedBaseInstance", 43, -1 },
1704 { "glDrawElementsInstancedBaseVertexBaseInstance", 43, -1 },
1705 { "glDrawTransformFeedbackInstanced", 43, -1 },
1706 { "glDrawTransformFeedbackStreamInstanced", 43, -1 },
1707 { "glGetActiveAtomicCounterBufferiv", 43, -1 },
1708 { "glBindImageTexture", 43, -1 },
1709 { "glMemoryBarrier", 43, -1 },
1710 { "glTexStorage1D", 43, -1 },
1711 { "glTexStorage2D", 43, -1 },
1712 { "glTexStorage3D", 43, -1 },
1713 { "glTextureStorage1DEXT", 43, -1 },
1714 { "glTextureStorage2DEXT", 43, -1 },
1715 { "glTextureStorage3DEXT", 43, -1 },
1716 { "glClearBufferData", 43, -1 },
1717 { "glClearBufferSubData", 43, -1 },
1718 // { "glClearNamedBufferDataEXT", 43, -1 }, // XXX: Add to xml
1719 // { "glClearNamedBufferSubDataEXT", 43, -1 }, // XXX: Add to xml
1720 { "glCopyImageSubData", 43, -1 },
1721 { "glTextureView", 43, -1 },
1722 { "glBindVertexBuffer", 43, -1 },
1723 { "glVertexAttribFormat", 43, -1 },
1724 { "glVertexAttribIFormat", 43, -1 },
1725 { "glVertexAttribBinding", 43, -1 },
1726 { "glVertexBindingDivisor", 43, -1 },
1727 // { "glVertexArrayBindVertexBufferEXT", 43, -1 }, // XXX: Add to xml
1728 // { "glVertexArrayVertexAttribFormatEXT", 43, -1 }, // XXX: Add to xml
1729 // { "glVertexArrayVertexAttribIFormatEXT", 43, -1 }, // XXX: Add to xml
1730 // { "glVertexArrayVertexAttribLFormatEXT", 43, -1 }, // XXX: Add to xml
1731 // { "glVertexArrayVertexAttribBindingEXT", 43, -1 }, // XXX: Add to xml
1732 // { "glVertexArrayVertexBindingDivisorEXT", 43, -1 }, // XXX: Add to xml
1733 // { "glFramebufferParameteri", 43, -1 }, // XXX: Add to xml
1734 // { "glGetFramebufferParameteriv", 43, -1 }, // XXX: Add to xml
1735 // { "glNamedFramebufferParameteriEXT", 43, -1 }, // XXX: Add to xml
1736 // { "glGetNamedFramebufferParameterivEXT", 43, -1 }, // XXX: Add to xml
1737 // { "glGetInternalformati64v", 43, -1 }, // XXX: Add to xml
1738 { "glInvalidateTexSubImage", 43, -1 },
1739 { "glInvalidateTexImage", 43, -1 },
1740 { "glInvalidateBufferSubData", 43, -1 },
1741 { "glInvalidateBufferData", 43, -1 },
1742 { "glInvalidateFramebuffer", 43, -1 },
1743 { "glInvalidateSubFramebuffer", 43, -1 },
1744 { "glMultiDrawArraysIndirect", 43, -1 },
1745 { "glMultiDrawElementsIndirect", 43, -1 },
1746 { "glGetProgramInterfaceiv", 43, -1 },
1747 { "glGetProgramResourceIndex", 43, -1 },
1748 { "glGetProgramResourceName", 43, -1 },
1749 { "glGetProgramResourceiv", 43, -1 },
1750 { "glGetProgramResourceLocation", 43, -1 },
1751 { "glGetProgramResourceLocationIndex", 43, -1 },
1752 // { "glShaderStorageBlockBinding", 43, -1 }, // XXX: Add to xml
1753 { "glTexBufferRange", 43, -1 },
1754 // { "glTextureBufferRangeEXT", 43, -1 }, // XXX: Add to xml
1755 { "glTexStorage2DMultisample", 43, -1 },
1756 { "glTexStorage3DMultisample", 43, -1 },
1757 // { "glTextureStorage2DMultisampleEXT", 43, -1 }, // XXX: Add to xml
1758 // { "glTextureStorage3DMultisampleEXT", 43, -1 }, // XXX: Add to xml
1761 { "glMemoryBarrierByRegion", 45, -1 },
1763 /* GL_ARB_direct_state_access */
1764 { "glCreateTransformFeedbacks", 45, -1 },
1765 { "glTransformFeedbackBufferBase", 45, -1 },
1766 { "glTransformFeedbackBufferRange", 45, -1 },
1767 { "glGetTransformFeedbackiv", 45, -1 },
1768 { "glGetTransformFeedbacki_v", 45, -1 },
1769 { "glGetTransformFeedbacki64_v", 45, -1 },
1770 { "glCreateBuffers", 45, -1 },
1771 { "glNamedBufferStorage", 45, -1 },
1772 { "glNamedBufferData", 45, -1 },
1773 { "glNamedBufferSubData", 45, -1 },
1774 { "glCopyNamedBufferSubData", 45, -1 },
1775 { "glClearNamedBufferData", 45, -1 },
1776 { "glClearNamedBufferSubData", 45, -1 },
1777 { "glMapNamedBuffer", 45, -1 },
1778 { "glMapNamedBufferRange", 45, -1 },
1779 { "glUnmapNamedBuffer", 45, -1 },
1780 { "glFlushMappedNamedBufferRange", 45, -1 },
1781 { "glGetNamedBufferParameteriv", 45, -1 },
1782 { "glGetNamedBufferParameteri64v", 45, -1 },
1783 { "glGetNamedBufferPointerv", 45, -1 },
1784 { "glGetNamedBufferSubData", 45, -1 },
1785 { "glCreateFramebuffers", 45, -1 },
1786 { "glNamedFramebufferRenderbuffer", 45, -1 },
1787 { "glNamedFramebufferParameteri", 45, -1 },
1788 { "glNamedFramebufferTexture", 45, -1 },
1789 { "glNamedFramebufferTextureLayer", 45, -1 },
1790 { "glNamedFramebufferDrawBuffer", 45, -1 },
1791 { "glNamedFramebufferDrawBuffers", 45, -1 },
1792 { "glNamedFramebufferReadBuffer", 45, -1 },
1793 { "glInvalidateNamedFramebufferSubData", 45, -1 },
1794 { "glInvalidateNamedFramebufferData", 45, -1 },
1795 { "glClearNamedFramebufferiv", 45, -1 },
1796 { "glClearNamedFramebufferuiv", 45, -1 },
1797 { "glClearNamedFramebufferfv", 45, -1 },
1798 { "glClearNamedFramebufferfi", 45, -1 },
1799 { "glBlitNamedFramebuffer", 45, -1 },
1800 { "glCheckNamedFramebufferStatus", 45, -1 },
1801 { "glGetNamedFramebufferParameteriv", 45, -1 },
1802 { "glGetNamedFramebufferAttachmentParameteriv", 45, -1 },
1803 { "glCreateRenderbuffers", 45, -1 },
1804 { "glNamedRenderbufferStorage", 45, -1 },
1805 { "glNamedRenderbufferStorageMultisample", 45, -1 },
1806 { "glGetNamedRenderbufferParameteriv", 45, -1 },
1807 { "glCreateTextures", 45, -1 },
1808 { "glTextureStorage1D", 45, -1 },
1809 { "glTextureStorage2D", 45, -1 },
1810 { "glTextureStorage3D", 45, -1 },
1811 { "glTextureSubImage1D", 45, -1 },
1812 { "glTextureSubImage2D", 45, -1 },
1813 { "glTextureSubImage3D", 45, -1 },
1814 { "glBindTextureUnit", 45, -1 },
1815 { "glTextureParameterf", 45, -1 },
1816 { "glTextureParameterfv", 45, -1 },
1817 { "glTextureParameteri", 45, -1 },
1818 { "glTextureParameterIiv", 45, -1 },
1819 { "glTextureParameterIuiv", 45, -1 },
1820 { "glTextureParameteriv", 45, -1 },
1821 { "glGetTextureLevelParameterfv", 45, -1 },
1822 { "glGetTextureLevelParameteriv", 45, -1 },
1823 { "glGetTextureParameterfv", 45, -1 },
1824 { "glGetTextureParameterIiv", 45, -1 },
1825 { "glGetTextureParameterIuiv", 45, -1 },
1826 { "glGetTextureParameteriv", 45, -1 },
1827 { "glCopyTextureSubImage1D", 45, -1 },
1828 { "glCopyTextureSubImage2D", 45, -1 },
1829 { "glCopyTextureSubImage3D", 45, -1 },
1830 { "glGetTextureImage", 45, -1 },
1831 { "glGetCompressedTextureImage", 45, -1 },
1832 { "glCompressedTextureSubImage1D", 45, -1 },
1833 { "glCompressedTextureSubImage2D", 45, -1 },
1834 { "glCompressedTextureSubImage3D", 45, -1 },
1835 { "glGenerateTextureMipmap", 45, -1 },
1836 { "glTextureStorage2DMultisample", 45, -1 },
1837 { "glTextureStorage3DMultisample", 45, -1 },
1838 { "glTextureBuffer", 45, -1 },
1839 { "glTextureBufferRange", 45, -1 },
1840 { "glCreateVertexArrays", 45, -1 },
1841 { "glDisableVertexArrayAttrib", 45, -1 },
1842 { "glEnableVertexArrayAttrib", 45, -1 },
1843 { "glVertexArrayElementBuffer", 45, -1 },
1844 { "glVertexArrayVertexBuffer", 45, -1 },
1845 { "glVertexArrayVertexBuffers", 45, -1 },
1846 { "glVertexArrayAttribFormat", 45, -1 },
1847 { "glVertexArrayAttribIFormat", 45, -1 },
1848 { "glVertexArrayAttribLFormat", 45, -1 },
1849 { "glVertexArrayAttribBinding", 45, -1 },
1850 { "glVertexArrayBindingDivisor", 45, -1 },
1851 { "glGetVertexArrayiv", 45, -1 },
1852 { "glGetVertexArrayIndexediv", 45, -1 },
1853 { "glGetVertexArrayIndexed64iv", 45, -1 },
1854 { "glCreateSamplers", 45, -1 },
1855 { "glCreateProgramPipelines", 45, -1 },
1856 { "glCreateQueries", 45, -1 },
1857 { "glGetQueryBufferObjectiv", 45, -1 },
1858 { "glGetQueryBufferObjectuiv", 45, -1 },
1859 { "glGetQueryBufferObjecti64v", 45, -1 },
1860 { "glGetQueryBufferObjectui64v", 45, -1 },
1862 /* GL_ARB_indirect_parameters */
1863 { "glMultiDrawArraysIndirectCountARB", 31, -1 },
1864 { "glMultiDrawElementsIndirectCountARB", 31, -1 },
1869 const struct function gles11_functions_possible
[] = {
1870 { "glActiveTexture", 11, _gloffset_ActiveTexture
},
1871 { "glAlphaFunc", 11, _gloffset_AlphaFunc
},
1872 { "glAlphaFuncx", 11, -1 },
1873 { "glBindBuffer", 11, -1 },
1874 { "glBindFramebufferOES", 11, -1 },
1875 { "glBindRenderbufferOES", 11, -1 },
1876 { "glBindTexture", 11, _gloffset_BindTexture
},
1877 { "glBlendEquationOES", 11, _gloffset_BlendEquation
},
1878 { "glBlendEquationSeparateOES", 11, -1 },
1879 { "glBlendFunc", 11, _gloffset_BlendFunc
},
1880 { "glBlendFuncSeparateOES", 11, -1 },
1881 { "glBufferData", 11, -1 },
1882 { "glBufferSubData", 11, -1 },
1883 { "glCheckFramebufferStatusOES", 11, -1 },
1884 { "glClear", 11, _gloffset_Clear
},
1885 { "glClearColor", 11, _gloffset_ClearColor
},
1886 { "glClearColorx", 11, -1 },
1887 { "glClearDepthf", 11, -1 },
1888 { "glClearDepthx", 11, -1 },
1889 { "glClearStencil", 11, _gloffset_ClearStencil
},
1890 { "glClientActiveTexture", 11, _gloffset_ClientActiveTexture
},
1891 { "glClipPlanef", 11, -1 },
1892 { "glClipPlanex", 11, -1 },
1893 { "glColor4f", 11, _gloffset_Color4f
},
1894 { "glColor4ub", 11, _gloffset_Color4ub
},
1895 { "glColor4x", 11, -1 },
1896 { "glColorMask", 11, _gloffset_ColorMask
},
1897 { "glColorPointer", 11, _gloffset_ColorPointer
},
1898 { "glCompressedTexImage2D", 11, -1 },
1899 { "glCompressedTexSubImage2D", 11, -1 },
1900 { "glCopyTexImage2D", 11, _gloffset_CopyTexImage2D
},
1901 { "glCopyTexSubImage2D", 11, _gloffset_CopyTexSubImage2D
},
1902 { "glCullFace", 11, _gloffset_CullFace
},
1903 { "glDeleteBuffers", 11, -1 },
1904 { "glDeleteFramebuffersOES", 11, -1 },
1905 { "glDeleteRenderbuffersOES", 11, -1 },
1906 { "glDeleteTextures", 11, _gloffset_DeleteTextures
},
1907 { "glDepthFunc", 11, _gloffset_DepthFunc
},
1908 { "glDepthMask", 11, _gloffset_DepthMask
},
1909 { "glDepthRangef", 11, -1 },
1910 { "glDepthRangex", 11, -1 },
1911 { "glDisable", 11, _gloffset_Disable
},
1912 { "glDiscardFramebufferEXT", 11, -1 },
1913 { "glDisableClientState", 11, _gloffset_DisableClientState
},
1914 { "glDrawArrays", 11, _gloffset_DrawArrays
},
1915 { "glDrawElements", 11, _gloffset_DrawElements
},
1916 { "glDrawTexfOES", 11, -1 },
1917 { "glDrawTexfvOES", 11, -1 },
1918 { "glDrawTexiOES", 11, -1 },
1919 { "glDrawTexivOES", 11, -1 },
1920 { "glDrawTexsOES", 11, -1 },
1921 { "glDrawTexsvOES", 11, -1 },
1922 { "glDrawTexxOES", 11, -1 },
1923 { "glDrawTexxvOES", 11, -1 },
1924 { "glEGLImageTargetRenderbufferStorageOES", 11, -1 },
1925 { "glEGLImageTargetTexture2DOES", 11, -1 },
1926 { "glEnable", 11, _gloffset_Enable
},
1927 { "glEnableClientState", 11, _gloffset_EnableClientState
},
1928 { "glFinish", 11, _gloffset_Finish
},
1929 { "glFlush", 11, _gloffset_Flush
},
1930 { "glFlushMappedBufferRangeEXT", 11, -1 },
1931 { "glFogf", 11, _gloffset_Fogf
},
1932 { "glFogfv", 11, _gloffset_Fogfv
},
1933 { "glFogx", 11, -1 },
1934 { "glFogxv", 11, -1 },
1935 { "glFramebufferRenderbufferOES", 11, -1 },
1936 { "glFramebufferTexture2DOES", 11, -1 },
1937 { "glFrontFace", 11, _gloffset_FrontFace
},
1938 { "glFrustumf", 11, -1 },
1939 { "glFrustumx", 11, -1 },
1940 { "glGenBuffers", 11, -1 },
1941 { "glGenFramebuffersOES", 11, -1 },
1942 { "glGenRenderbuffersOES", 11, -1 },
1943 { "glGenTextures", 11, _gloffset_GenTextures
},
1944 { "glGenerateMipmapOES", 11, -1 },
1945 { "glGetBooleanv", 11, _gloffset_GetBooleanv
},
1946 { "glGetBufferParameteriv", 11, -1 },
1947 { "glGetBufferPointervOES", 11, -1 },
1948 { "glGetClipPlanef", 11, -1 },
1949 { "glGetClipPlanex", 11, -1 },
1950 { "glGetError", 11, _gloffset_GetError
},
1951 { "glGetFixedv", 11, -1 },
1952 { "glGetFloatv", 11, _gloffset_GetFloatv
},
1953 { "glGetFramebufferAttachmentParameterivOES", 11, -1 },
1954 { "glGetIntegerv", 11, _gloffset_GetIntegerv
},
1955 { "glGetLightfv", 11, _gloffset_GetLightfv
},
1956 { "glGetLightxv", 11, -1 },
1957 { "glGetMaterialfv", 11, _gloffset_GetMaterialfv
},
1958 { "glGetMaterialxv", 11, -1 },
1959 // We check for the aliased -KHR version in GLES 1.1
1960 // { "glGetPointerv", 11, _gloffset_GetPointerv },
1961 { "glGetRenderbufferParameterivOES", 11, -1 },
1962 { "glGetString", 11, _gloffset_GetString
},
1963 { "glGetTexEnvfv", 11, _gloffset_GetTexEnvfv
},
1964 { "glGetTexEnviv", 11, _gloffset_GetTexEnviv
},
1965 { "glGetTexEnvxv", 11, -1 },
1966 { "glGetTexGenfvOES", 11, _gloffset_GetTexGenfv
},
1967 { "glGetTexGenivOES", 11, _gloffset_GetTexGeniv
},
1968 { "glGetTexGenxvOES", 11, -1 },
1969 { "glGetTexParameterfv", 11, _gloffset_GetTexParameterfv
},
1970 { "glGetTexParameteriv", 11, _gloffset_GetTexParameteriv
},
1971 { "glGetTexParameterxv", 11, -1 },
1972 { "glHint", 11, _gloffset_Hint
},
1973 { "glIsBuffer", 11, -1 },
1974 { "glIsEnabled", 11, _gloffset_IsEnabled
},
1975 { "glIsFramebufferOES", 11, -1 },
1976 { "glIsRenderbufferOES", 11, -1 },
1977 { "glIsTexture", 11, _gloffset_IsTexture
},
1978 { "glLightModelf", 11, _gloffset_LightModelf
},
1979 { "glLightModelfv", 11, _gloffset_LightModelfv
},
1980 { "glLightModelx", 11, -1 },
1981 { "glLightModelxv", 11, -1 },
1982 { "glLightf", 11, _gloffset_Lightf
},
1983 { "glLightfv", 11, _gloffset_Lightfv
},
1984 { "glLightx", 11, -1 },
1985 { "glLightxv", 11, -1 },
1986 { "glLineWidth", 11, _gloffset_LineWidth
},
1987 { "glLineWidthx", 11, -1 },
1988 { "glLoadIdentity", 11, _gloffset_LoadIdentity
},
1989 { "glLoadMatrixf", 11, _gloffset_LoadMatrixf
},
1990 { "glLoadMatrixx", 11, -1 },
1991 { "glLogicOp", 11, _gloffset_LogicOp
},
1992 { "glMapBufferOES", 11, -1 },
1993 { "glMapBufferRangeEXT", 11, -1 },
1994 { "glMaterialf", 11, _gloffset_Materialf
},
1995 { "glMaterialfv", 11, _gloffset_Materialfv
},
1996 { "glMaterialx", 11, -1 },
1997 { "glMaterialxv", 11, -1 },
1998 { "glMatrixMode", 11, _gloffset_MatrixMode
},
1999 { "glMultMatrixf", 11, _gloffset_MultMatrixf
},
2000 { "glMultMatrixx", 11, -1 },
2001 { "glMultiDrawArraysEXT", 11, -1 },
2002 { "glMultiDrawElementsEXT", 11, -1 },
2003 { "glMultiTexCoord4f", 11, _gloffset_MultiTexCoord4fARB
},
2004 { "glMultiTexCoord4x", 11, -1 },
2005 { "glNormal3f", 11, _gloffset_Normal3f
},
2006 { "glNormal3x", 11, -1 },
2007 { "glNormalPointer", 11, _gloffset_NormalPointer
},
2008 { "glOrthof", 11, -1 },
2009 { "glOrthox", 11, -1 },
2010 { "glPixelStorei", 11, _gloffset_PixelStorei
},
2011 { "glPointParameterf", 11, -1 },
2012 { "glPointParameterfv", 11, -1 },
2013 { "glPointParameterx", 11, -1 },
2014 { "glPointParameterxv", 11, -1 },
2015 { "glPointSize", 11, _gloffset_PointSize
},
2016 { "glPointSizePointerOES", 11, -1 },
2017 { "glPointSizex", 11, -1 },
2018 { "glPolygonOffset", 11, _gloffset_PolygonOffset
},
2019 { "glPolygonOffsetx", 11, -1 },
2020 { "glPopMatrix", 11, _gloffset_PopMatrix
},
2021 { "glPushMatrix", 11, _gloffset_PushMatrix
},
2022 { "glQueryMatrixxOES", 11, -1 },
2023 { "glReadPixels", 11, _gloffset_ReadPixels
},
2024 { "glRenderbufferStorageOES", 11, -1 },
2025 { "glRotatef", 11, _gloffset_Rotatef
},
2026 { "glRotatex", 11, -1 },
2027 { "glSampleCoverage", 11, -1 },
2028 { "glSampleCoveragex", 11, -1 },
2029 { "glScalef", 11, _gloffset_Scalef
},
2030 { "glScalex", 11, -1 },
2031 { "glScissor", 11, _gloffset_Scissor
},
2032 { "glShadeModel", 11, _gloffset_ShadeModel
},
2033 { "glStencilFunc", 11, _gloffset_StencilFunc
},
2034 { "glStencilMask", 11, _gloffset_StencilMask
},
2035 { "glStencilOp", 11, _gloffset_StencilOp
},
2036 { "glTexCoordPointer", 11, _gloffset_TexCoordPointer
},
2037 { "glTexEnvf", 11, _gloffset_TexEnvf
},
2038 { "glTexEnvfv", 11, _gloffset_TexEnvfv
},
2039 { "glTexEnvi", 11, _gloffset_TexEnvi
},
2040 { "glTexEnviv", 11, _gloffset_TexEnviv
},
2041 { "glTexEnvx", 11, -1 },
2042 { "glTexEnvxv", 11, -1 },
2043 { "glTexGenfOES", 11, _gloffset_TexGenf
},
2044 { "glTexGenfvOES", 11, _gloffset_TexGenfv
},
2045 { "glTexGeniOES", 11, _gloffset_TexGeni
},
2046 { "glTexGenivOES", 11, _gloffset_TexGeniv
},
2047 { "glTexGenxOES", 11, -1 },
2048 { "glTexGenxvOES", 11, -1 },
2049 { "glTexImage2D", 11, _gloffset_TexImage2D
},
2050 { "glTexParameterf", 11, _gloffset_TexParameterf
},
2051 { "glTexParameterfv", 11, _gloffset_TexParameterfv
},
2052 { "glTexParameteri", 11, _gloffset_TexParameteri
},
2053 { "glTexParameteriv", 11, _gloffset_TexParameteriv
},
2054 { "glTexParameterx", 11, -1 },
2055 { "glTexParameterxv", 11, -1 },
2056 { "glTexSubImage2D", 11, _gloffset_TexSubImage2D
},
2057 { "glTranslatef", 11, _gloffset_Translatef
},
2058 { "glTranslatex", 11, -1 },
2059 { "glUnmapBufferOES", 11, -1 },
2060 { "glVertexPointer", 11, _gloffset_VertexPointer
},
2061 { "glViewport", 11, _gloffset_Viewport
},
2064 { "glPushDebugGroupKHR", 11, -1 },
2065 { "glPopDebugGroupKHR", 11, -1 },
2066 { "glDebugMessageCallbackKHR", 11, -1 },
2067 { "glDebugMessageControlKHR", 11, -1 },
2068 { "glDebugMessageInsertKHR", 11, -1 },
2069 { "glGetDebugMessageLogKHR", 11, -1 },
2070 { "glGetObjectLabelKHR", 11, -1 },
2071 { "glGetObjectPtrLabelKHR", 11, -1 },
2072 { "glGetPointervKHR", 11, _gloffset_GetPointerv
},
2073 { "glObjectLabelKHR", 11, -1 },
2074 { "glObjectPtrLabelKHR", 11, -1 },
2076 /* GL_EXT_polygon_offset_clamp */
2077 { "glPolygonOffsetClampEXT", 11, -1 },
2082 const struct function gles2_functions_possible
[] = {
2083 { "glActiveTexture", 20, _gloffset_ActiveTexture
},
2084 { "glAttachShader", 20, -1 },
2085 { "glBindAttribLocation", 20, -1 },
2086 { "glBindBuffer", 20, -1 },
2087 { "glBindFramebuffer", 20, -1 },
2088 { "glBindRenderbuffer", 20, -1 },
2089 { "glBindTexture", 20, _gloffset_BindTexture
},
2090 { "glBindVertexArrayOES", 20, -1 },
2091 { "glBlendColor", 20, _gloffset_BlendColor
},
2092 { "glBlendEquation", 20, _gloffset_BlendEquation
},
2093 { "glBlendEquationSeparate", 20, -1 },
2094 { "glBlendFunc", 20, _gloffset_BlendFunc
},
2095 { "glBlendFuncSeparate", 20, -1 },
2096 { "glBufferData", 20, -1 },
2097 { "glBufferSubData", 20, -1 },
2098 { "glCheckFramebufferStatus", 20, -1 },
2099 { "glClear", 20, _gloffset_Clear
},
2100 { "glClearColor", 20, _gloffset_ClearColor
},
2101 { "glClearDepthf", 20, -1 },
2102 { "glClearStencil", 20, _gloffset_ClearStencil
},
2103 { "glColorMask", 20, _gloffset_ColorMask
},
2104 { "glCompileShader", 20, -1 },
2105 { "glCompressedTexImage2D", 20, -1 },
2106 { "glCompressedTexImage3DOES", 20, -1 },
2107 { "glCompressedTexSubImage2D", 20, -1 },
2108 { "glCompressedTexSubImage3DOES", 20, -1 },
2109 { "glCopyTexImage2D", 20, _gloffset_CopyTexImage2D
},
2110 { "glCopyTexSubImage2D", 20, _gloffset_CopyTexSubImage2D
},
2111 { "glCopyTexSubImage3DOES", 20, _gloffset_CopyTexSubImage3D
},
2112 { "glCreateProgram", 20, -1 },
2113 { "glCreateShader", 20, -1 },
2114 { "glCullFace", 20, _gloffset_CullFace
},
2115 { "glDeleteBuffers", 20, -1 },
2116 { "glDeleteFramebuffers", 20, -1 },
2117 { "glDeleteProgram", 20, -1 },
2118 { "glDeleteRenderbuffers", 20, -1 },
2119 { "glDeleteShader", 20, -1 },
2120 { "glDeleteTextures", 20, _gloffset_DeleteTextures
},
2121 { "glDeleteVertexArraysOES", 20, -1 },
2122 { "glDepthFunc", 20, _gloffset_DepthFunc
},
2123 { "glDepthMask", 20, _gloffset_DepthMask
},
2124 { "glDepthRangef", 20, -1 },
2125 { "glDetachShader", 20, -1 },
2126 { "glDisable", 20, _gloffset_Disable
},
2127 { "glDiscardFramebufferEXT", 20, -1 },
2128 { "glDisableVertexAttribArray", 20, -1 },
2129 { "glDrawArrays", 20, _gloffset_DrawArrays
},
2130 { "glDrawBuffersNV", 20, -1 },
2131 { "glDrawElements", 20, _gloffset_DrawElements
},
2132 { "glEGLImageTargetRenderbufferStorageOES", 20, -1 },
2133 { "glEGLImageTargetTexture2DOES", 20, -1 },
2134 { "glEnable", 20, _gloffset_Enable
},
2135 { "glEnableVertexAttribArray", 20, -1 },
2136 { "glFinish", 20, _gloffset_Finish
},
2137 { "glFlush", 20, _gloffset_Flush
},
2138 { "glFlushMappedBufferRangeEXT", 20, -1 },
2139 { "glFramebufferRenderbuffer", 20, -1 },
2140 { "glFramebufferTexture2D", 20, -1 },
2141 { "glFramebufferTexture3DOES", 20, -1 },
2142 { "glFrontFace", 20, _gloffset_FrontFace
},
2143 { "glGenBuffers", 20, -1 },
2144 { "glGenFramebuffers", 20, -1 },
2145 { "glGenRenderbuffers", 20, -1 },
2146 { "glGenTextures", 20, _gloffset_GenTextures
},
2147 { "glGenVertexArraysOES", 20, -1 },
2148 { "glGenerateMipmap", 20, -1 },
2149 { "glGetActiveAttrib", 20, -1 },
2150 { "glGetActiveUniform", 20, -1 },
2151 { "glGetAttachedShaders", 20, -1 },
2152 { "glGetAttribLocation", 20, -1 },
2153 { "glGetBooleanv", 20, _gloffset_GetBooleanv
},
2154 { "glGetBufferParameteriv", 20, -1 },
2155 { "glGetBufferPointervOES", 20, -1 },
2156 { "glGetError", 20, _gloffset_GetError
},
2157 { "glGetFloatv", 20, _gloffset_GetFloatv
},
2158 { "glGetFramebufferAttachmentParameteriv", 20, -1 },
2159 { "glGetIntegerv", 20, _gloffset_GetIntegerv
},
2160 { "glGetProgramInfoLog", 20, -1 },
2161 { "glGetProgramiv", 20, -1 },
2162 { "glGetRenderbufferParameteriv", 20, -1 },
2163 { "glGetShaderInfoLog", 20, -1 },
2164 { "glGetShaderPrecisionFormat", 20, -1 },
2165 { "glGetShaderSource", 20, -1 },
2166 { "glGetShaderiv", 20, -1 },
2167 { "glGetString", 20, _gloffset_GetString
},
2168 { "glGetTexParameterfv", 20, _gloffset_GetTexParameterfv
},
2169 { "glGetTexParameteriv", 20, _gloffset_GetTexParameteriv
},
2170 { "glGetUniformLocation", 20, -1 },
2171 { "glGetUniformfv", 20, -1 },
2172 { "glGetUniformiv", 20, -1 },
2173 { "glGetVertexAttribPointerv", 20, -1 },
2174 { "glGetVertexAttribfv", 20, -1 },
2175 { "glGetVertexAttribiv", 20, -1 },
2176 { "glHint", 20, _gloffset_Hint
},
2177 { "glIsBuffer", 20, -1 },
2178 { "glIsEnabled", 20, _gloffset_IsEnabled
},
2179 { "glIsFramebuffer", 20, -1 },
2180 { "glIsProgram", 20, -1 },
2181 { "glIsRenderbuffer", 20, -1 },
2182 { "glIsShader", 20, -1 },
2183 { "glIsTexture", 20, _gloffset_IsTexture
},
2184 { "glIsVertexArrayOES", 20, -1 },
2185 { "glLineWidth", 20, _gloffset_LineWidth
},
2186 { "glLinkProgram", 20, -1 },
2187 { "glMapBufferOES", 20, -1 },
2188 { "glMapBufferRangeEXT", 20, -1 },
2189 { "glMultiDrawArraysEXT", 20, -1 },
2190 { "glMultiDrawElementsEXT", 20, -1 },
2191 { "glPixelStorei", 20, _gloffset_PixelStorei
},
2192 { "glPolygonOffset", 20, _gloffset_PolygonOffset
},
2193 { "glReadBufferNV", 20, _gloffset_ReadBuffer
},
2194 { "glReadPixels", 20, _gloffset_ReadPixels
},
2195 { "glReleaseShaderCompiler", 20, -1 },
2196 { "glRenderbufferStorage", 20, -1 },
2197 { "glSampleCoverage", 20, -1 },
2198 { "glScissor", 20, _gloffset_Scissor
},
2199 { "glShaderBinary", 20, -1 },
2200 { "glShaderSource", 20, -1 },
2201 { "glStencilFunc", 20, _gloffset_StencilFunc
},
2202 { "glStencilFuncSeparate", 20, -1 },
2203 { "glStencilMask", 20, _gloffset_StencilMask
},
2204 { "glStencilMaskSeparate", 20, -1 },
2205 { "glStencilOp", 20, _gloffset_StencilOp
},
2206 { "glStencilOpSeparate", 20, -1 },
2207 { "glTexImage2D", 20, _gloffset_TexImage2D
},
2208 { "glTexImage3DOES", 20, _gloffset_TexImage3D
},
2209 { "glTexParameterf", 20, _gloffset_TexParameterf
},
2210 { "glTexParameterfv", 20, _gloffset_TexParameterfv
},
2211 { "glTexParameteri", 20, _gloffset_TexParameteri
},
2212 { "glTexParameteriv", 20, _gloffset_TexParameteriv
},
2213 { "glTexSubImage2D", 20, _gloffset_TexSubImage2D
},
2214 { "glTexSubImage3DOES", 20, _gloffset_TexSubImage3D
},
2215 { "glUniform1f", 20, -1 },
2216 { "glUniform1fv", 20, -1 },
2217 { "glUniform1i", 20, -1 },
2218 { "glUniform1iv", 20, -1 },
2219 { "glUniform2f", 20, -1 },
2220 { "glUniform2fv", 20, -1 },
2221 { "glUniform2i", 20, -1 },
2222 { "glUniform2iv", 20, -1 },
2223 { "glUniform3f", 20, -1 },
2224 { "glUniform3fv", 20, -1 },
2225 { "glUniform3i", 20, -1 },
2226 { "glUniform3iv", 20, -1 },
2227 { "glUniform4f", 20, -1 },
2228 { "glUniform4fv", 20, -1 },
2229 { "glUniform4i", 20, -1 },
2230 { "glUniform4iv", 20, -1 },
2231 { "glUniformMatrix2fv", 20, -1 },
2232 { "glUniformMatrix3fv", 20, -1 },
2233 { "glUniformMatrix4fv", 20, -1 },
2234 { "glUnmapBufferOES", 20, -1 },
2235 { "glUseProgram", 20, -1 },
2236 { "glValidateProgram", 20, -1 },
2237 { "glVertexAttrib1f", 20, -1 },
2238 { "glVertexAttrib1fv", 20, -1 },
2239 { "glVertexAttrib2f", 20, -1 },
2240 { "glVertexAttrib2fv", 20, -1 },
2241 { "glVertexAttrib3f", 20, -1 },
2242 { "glVertexAttrib3fv", 20, -1 },
2243 { "glVertexAttrib4f", 20, -1 },
2244 { "glVertexAttrib4fv", 20, -1 },
2245 { "glVertexAttribPointer", 20, -1 },
2246 { "glViewport", 20, _gloffset_Viewport
},
2248 /* GL_OES_get_program_binary - Also part of OpenGL ES 3.0. */
2249 { "glGetProgramBinaryOES", 20, -1 },
2250 { "glProgramBinaryOES", 20, -1 },
2252 /* GL_EXT_separate_shader_objects - Also part of OpenGL ES 3.1. */
2253 { "glProgramParameteriEXT", 20, -1 },
2254 { "glUseProgramStagesEXT", 20, -1 },
2255 { "glActiveShaderProgramEXT", 20, -1 },
2256 { "glCreateShaderProgramvEXT", 20, -1 },
2257 { "glBindProgramPipelineEXT", 20, -1 },
2258 { "glDeleteProgramPipelinesEXT", 20, -1 },
2259 { "glGenProgramPipelinesEXT", 20, -1 },
2260 { "glIsProgramPipelineEXT", 20, -1 },
2261 { "glGetProgramPipelineivEXT", 20, -1 },
2262 { "glProgramUniform1iEXT", 20, -1 },
2263 { "glProgramUniform1ivEXT", 20, -1 },
2264 { "glProgramUniform1fEXT", 20, -1 },
2265 { "glProgramUniform1fvEXT", 20, -1 },
2266 { "glProgramUniform2iEXT", 20, -1 },
2267 { "glProgramUniform2ivEXT", 20, -1 },
2268 { "glProgramUniform2fEXT", 20, -1 },
2269 { "glProgramUniform2fvEXT", 20, -1 },
2270 { "glProgramUniform3iEXT", 20, -1 },
2271 { "glProgramUniform3ivEXT", 20, -1 },
2272 { "glProgramUniform3fEXT", 20, -1 },
2273 { "glProgramUniform3fvEXT", 20, -1 },
2274 { "glProgramUniform4iEXT", 20, -1 },
2275 { "glProgramUniform4ivEXT", 20, -1 },
2276 { "glProgramUniform4fEXT", 20, -1 },
2277 { "glProgramUniform4fvEXT", 20, -1 },
2278 { "glProgramUniformMatrix2fvEXT", 20, -1 },
2279 { "glProgramUniformMatrix3fvEXT", 20, -1 },
2280 { "glProgramUniformMatrix4fvEXT", 20, -1 },
2281 { "glProgramUniformMatrix2x3fvEXT", 20, -1 },
2282 { "glProgramUniformMatrix3x2fvEXT", 20, -1 },
2283 { "glProgramUniformMatrix2x4fvEXT", 20, -1 },
2284 { "glProgramUniformMatrix4x2fvEXT", 20, -1 },
2285 { "glProgramUniformMatrix3x4fvEXT", 20, -1 },
2286 { "glProgramUniformMatrix4x3fvEXT", 20, -1 },
2287 { "glValidateProgramPipelineEXT", 20, -1 },
2288 { "glGetProgramPipelineInfoLogEXT", 20, -1 },
2290 /* GL_INTEL_performance_query */
2291 { "glGetFirstPerfQueryIdINTEL", 20, -1 },
2292 { "glGetNextPerfQueryIdINTEL", 20, -1 },
2293 { "glGetPerfQueryIdByNameINTEL", 20, -1 },
2294 { "glGetPerfQueryInfoINTEL", 20, -1 },
2295 { "glGetPerfCounterInfoINTEL", 20, -1 },
2296 { "glCreatePerfQueryINTEL", 20, -1 },
2297 { "glDeletePerfQueryINTEL", 20, -1 },
2298 { "glBeginPerfQueryINTEL", 20, -1 },
2299 { "glEndPerfQueryINTEL", 20, -1 },
2300 { "glGetPerfQueryDataINTEL", 20, -1 },
2303 { "glPushDebugGroupKHR", 20, -1 },
2304 { "glPopDebugGroupKHR", 20, -1 },
2305 { "glDebugMessageCallbackKHR", 20, -1 },
2306 { "glDebugMessageControlKHR", 20, -1 },
2307 { "glDebugMessageInsertKHR", 20, -1 },
2308 { "glGetDebugMessageLogKHR", 20, -1 },
2309 { "glGetObjectLabelKHR", 20, -1 },
2310 { "glGetObjectPtrLabelKHR", 20, -1 },
2311 { "glGetPointervKHR", 20, -1 },
2312 { "glObjectLabelKHR", 20, -1 },
2313 { "glObjectPtrLabelKHR", 20, -1 },
2315 /* GL_EXT_polygon_offset_clamp */
2316 { "glPolygonOffsetClampEXT", 11, -1 },
2318 /* GL_KHR_robustness */
2319 { "glGetGraphicsResetStatusKHR", 20, -1 },
2320 { "glReadnPixelsKHR", 20, -1 },
2321 { "glGetnUniformfvKHR", 20, -1 },
2322 { "glGetnUniformivKHR", 20, -1 },
2323 { "glGetnUniformuivKHR", 20, -1 },
2328 const struct function gles3_functions_possible
[] = {
2329 { "glBeginQuery", 30, -1 },
2330 { "glBeginTransformFeedback", 30, -1 },
2331 { "glBindBufferBase", 30, -1 },
2332 { "glBindBufferRange", 30, -1 },
2333 { "glBindSampler", 30, -1 },
2334 { "glBindTransformFeedback", 30, -1 },
2335 // We check for the aliased -OES version in GLES 2
2336 // { "glBindVertexArray", 30, -1 },
2337 { "glBlitFramebuffer", 30, -1 },
2338 { "glClearBufferfi", 30, -1 },
2339 { "glClearBufferfv", 30, -1 },
2340 { "glClearBufferiv", 30, -1 },
2341 { "glClearBufferuiv", 30, -1 },
2342 { "glClientWaitSync", 30, -1 },
2343 // We check for the aliased -OES version in GLES 2
2344 // { "glCompressedTexImage3D", 30, -1 },
2345 // We check for the aliased -OES version in GLES 2
2346 // { "glCompressedTexSubImage3D", 30, -1 },
2347 { "glCopyBufferSubData", 30, -1 },
2348 // We check for the aliased -OES version in GLES 2
2349 // { "glCopyTexSubImage3D", 30, -1 },
2350 { "glDeleteQueries", 30, -1 },
2351 { "glDeleteSamplers", 30, -1 },
2352 { "glDeleteSync", 30, -1 },
2353 { "glDeleteTransformFeedbacks", 30, -1 },
2354 // We check for the aliased -OES version in GLES 2
2355 // { "glDeleteVertexArrays", 30, -1 },
2356 { "glDrawArraysInstanced", 30, -1 },
2357 // We check for the aliased -NV version in GLES 2
2358 // { "glDrawBuffers", 30, -1 },
2359 { "glDrawElementsInstanced", 30, -1 },
2360 { "glDrawRangeElements", 30, -1 },
2361 { "glEndQuery", 30, -1 },
2362 { "glEndTransformFeedback", 30, -1 },
2363 { "glFenceSync", 30, -1 },
2364 // We check for the aliased -EXT version in GLES 2
2365 // { "glFlushMappedBufferRange", 30, -1 },
2366 { "glFramebufferTextureLayer", 30, -1 },
2367 { "glGenQueries", 30, -1 },
2368 { "glGenSamplers", 30, -1 },
2369 { "glGenTransformFeedbacks", 30, -1 },
2370 // We check for the aliased -OES version in GLES 2
2371 // { "glGenVertexArrays", 30, -1 },
2372 { "glGetActiveUniformBlockiv", 30, -1 },
2373 { "glGetActiveUniformBlockName", 30, -1 },
2374 { "glGetActiveUniformsiv", 30, -1 },
2375 { "glGetBufferParameteri64v", 30, -1 },
2376 // We check for the aliased -OES version in GLES 2
2377 // { "glGetBufferPointerv", 30, -1 },
2378 { "glGetFragDataLocation", 30, -1 },
2379 { "glGetInteger64i_v", 30, -1 },
2380 { "glGetInteger64v", 30, -1 },
2381 { "glGetIntegeri_v", 30, -1 },
2382 { "glGetInternalformativ", 30, -1 },
2383 { "glGetInternalformati64v", 30, -1 },
2384 // glGetProgramBinary aliases glGetProgramBinaryOES in GLES 2
2385 { "glGetQueryiv", 30, -1 },
2386 { "glGetQueryObjectuiv", 30, -1 },
2387 { "glGetSamplerParameterfv", 30, -1 },
2388 { "glGetSamplerParameteriv", 30, -1 },
2389 { "glGetStringi", 30, -1 },
2390 { "glGetSynciv", 30, -1 },
2391 { "glGetTransformFeedbackVarying", 30, -1 },
2392 { "glGetUniformBlockIndex", 30, -1 },
2393 { "glGetUniformIndices", 30, -1 },
2394 { "glGetUniformuiv", 30, -1 },
2395 { "glGetVertexAttribIiv", 30, -1 },
2396 { "glGetVertexAttribIuiv", 30, -1 },
2397 { "glInvalidateFramebuffer", 30, -1 },
2398 { "glInvalidateSubFramebuffer", 30, -1 },
2399 { "glIsQuery", 30, -1 },
2400 { "glIsSampler", 30, -1 },
2401 { "glIsSync", 30, -1 },
2402 { "glIsTransformFeedback", 30, -1 },
2403 // We check for the aliased -OES version in GLES 2
2404 // { "glIsVertexArray", 30, -1 },
2405 // We check for the aliased -EXT version in GLES 2
2406 // { "glMapBufferRange", 30, -1 },
2407 { "glPauseTransformFeedback", 30, -1 },
2408 // glProgramBinary aliases glProgramBinaryOES in GLES 2
2409 // glProgramParameteri aliases glProgramParameteriEXT in GLES 2
2410 // We check for the aliased -NV version in GLES 2
2411 // { "glReadBuffer", 30, -1 },
2412 { "glRenderbufferStorageMultisample", 30, -1 },
2413 { "glResumeTransformFeedback", 30, -1 },
2414 { "glSamplerParameterf", 30, -1 },
2415 { "glSamplerParameterfv", 30, -1 },
2416 { "glSamplerParameteri", 30, -1 },
2417 { "glSamplerParameteriv", 30, -1 },
2418 // We check for the aliased -OES version in GLES 2
2419 // { "glTexImage3D", 30, -1 },
2420 { "glTexStorage2D", 30, -1 },
2421 { "glTexStorage3D", 30, -1 },
2422 // We check for the aliased -OES version in GLES 2
2423 // { "glTexSubImage3D", 30, -1 },
2424 { "glTransformFeedbackVaryings", 30, -1 },
2425 { "glUniform1ui", 30, -1 },
2426 { "glUniform1uiv", 30, -1 },
2427 { "glUniform2ui", 30, -1 },
2428 { "glUniform2uiv", 30, -1 },
2429 { "glUniform3ui", 30, -1 },
2430 { "glUniform3uiv", 30, -1 },
2431 { "glUniform4ui", 30, -1 },
2432 { "glUniform4uiv", 30, -1 },
2433 { "glUniformBlockBinding", 30, -1 },
2434 { "glUniformMatrix2x3fv", 30, -1 },
2435 { "glUniformMatrix2x4fv", 30, -1 },
2436 { "glUniformMatrix3x2fv", 30, -1 },
2437 { "glUniformMatrix3x4fv", 30, -1 },
2438 { "glUniformMatrix4x2fv", 30, -1 },
2439 { "glUniformMatrix4x3fv", 30, -1 },
2440 // We check for the aliased -OES version in GLES 2
2441 // { "glUnmapBuffer", 30, -1 },
2442 { "glVertexAttribDivisor", 30, -1 },
2443 { "glVertexAttribI4i", 30, -1 },
2444 { "glVertexAttribI4iv", 30, -1 },
2445 { "glVertexAttribI4ui", 30, -1 },
2446 { "glVertexAttribI4uiv", 30, -1 },
2447 { "glVertexAttribIPointer", 30, -1 },
2448 { "glWaitSync", 30, -1 },
2450 /* GL_EXT_separate_shader_objects - Also part of OpenGL ES 3.1. */
2451 { "glProgramUniform1uiEXT", 30, -1 },
2452 { "glProgramUniform1uivEXT", 30, -1 },
2453 { "glProgramUniform2uiEXT", 30, -1 },
2454 { "glProgramUniform2uivEXT", 30, -1 },
2455 { "glProgramUniform3uiEXT", 30, -1 },
2456 { "glProgramUniform3uivEXT", 30, -1 },
2457 { "glProgramUniform4uiEXT", 30, -1 },
2458 { "glProgramUniform4uivEXT", 30, -1 },
2460 /* GL_EXT_blend_func_extended */
2461 { "glBindFragDataLocationIndexedEXT", 30, -1 },
2462 { "glGetFragDataIndexEXT", 30, -1 },
2463 { "glBindFragDataLocationEXT", 30, -1 },
2465 /* GL_OES_texture_border_clamp */
2466 { "glTexParameterIivOES", 30, -1 },
2467 { "glTexParameterIuivOES", 30, -1 },
2468 { "glGetTexParameterIivOES", 30, -1 },
2469 { "glGetTexParameterIuivOES", 30, -1 },
2470 { "glSamplerParameterIivOES", 30, -1 },
2471 { "glSamplerParameterIuivOES", 30, -1 },
2472 { "glGetSamplerParameterIivOES", 30, -1 },
2473 { "glGetSamplerParameterIuivOES", 30, -1 },
2475 /* GL_OES_texture_buffer */
2476 { "glTexBufferOES", 31, -1 },
2477 { "glTexBufferRangeOES", 31, -1 },
2479 /* GL_OES_sample_shading */
2480 { "glMinSampleShadingOES", 30, -1 },
2482 /* GL_OES_copy_image */
2483 { "glCopyImageSubDataOES", 30, -1 },
2485 /* GL_OES_draw_buffers_indexed */
2486 { "glBlendFunciOES", 30, -1 },
2487 { "glBlendFuncSeparateiOES", 30, -1 },
2488 { "glBlendEquationiOES", 30, -1 },
2489 { "glBlendEquationSeparateiOES", 30, -1 },
2490 { "glColorMaskiOES", 30, -1 },
2491 { "glEnableiOES", 30, -1 },
2492 { "glDisableiOES", 30, -1 },
2493 { "glIsEnablediOES", 30, -1 },
2495 /* GL_EXT_base_instance */
2496 { "glDrawArraysInstancedBaseInstanceEXT", 30, -1 },
2497 { "glDrawElementsInstancedBaseInstanceEXT", 30, -1 },
2498 { "glDrawElementsInstancedBaseVertexBaseInstanceEXT", 30, -1 },
2500 /* GL_EXT_window_rectangles */
2501 { "glWindowRectanglesEXT", 30, -1 },
2506 const struct function gles31_functions_possible
[] = {
2507 { "glDispatchCompute", 31, -1 },
2508 { "glDispatchComputeIndirect", 31, -1 },
2509 { "glDrawArraysIndirect", 31, -1 },
2510 { "glDrawElementsIndirect", 31, -1 },
2512 { "glFramebufferParameteri", 31, -1 },
2513 { "glGetFramebufferParameteriv", 31, -1 },
2515 { "glGetProgramInterfaceiv", 31, -1 },
2516 { "glGetProgramResourceIndex", 31, -1 },
2517 { "glGetProgramResourceName", 31, -1 },
2518 { "glGetProgramResourceiv", 31, -1 },
2519 { "glGetProgramResourceLocation", 31, -1 },
2521 // We check for the aliased EXT versions in GLES 2
2522 // { "glUseProgramStages", 31, -1 },
2523 // { "glActiveShaderProgram", 31, -1 },
2524 // { "glCreateShaderProgramv", 31, -1 },
2525 // { "glBindProgramPipeline", 31, -1 },
2526 // { "glDeleteProgramPipelines", 31, -1 },
2527 // { "glGenProgramPipelines", 31, -1 },
2528 // { "glIsProgramPipeline", 31, -1 },
2529 // { "glGetProgramPipelineiv", 31, -1 },
2530 // { "glProgramUniform1i", 31, -1 },
2531 // { "glProgramUniform2i", 31, -1 },
2532 // { "glProgramUniform3i", 31, -1 },
2533 // { "glProgramUniform4i", 31, -1 },
2534 // { "glProgramUniform1f", 31, -1 },
2535 // { "glProgramUniform2f", 31, -1 },
2536 // { "glProgramUniform3f", 31, -1 },
2537 // { "glProgramUniform4f", 31, -1 },
2538 // { "glProgramUniform1iv", 31, -1 },
2539 // { "glProgramUniform2iv", 31, -1 },
2540 // { "glProgramUniform3iv", 31, -1 },
2541 // { "glProgramUniform4iv", 31, -1 },
2542 // { "glProgramUniform1fv", 31, -1 },
2543 // { "glProgramUniform2fv", 31, -1 },
2544 // { "glProgramUniform3fv", 31, -1 },
2545 // { "glProgramUniform4fv", 31, -1 },
2546 // { "glProgramUniformMatrix2fv", 31, -1 },
2547 // { "glProgramUniformMatrix3fv", 31, -1 },
2548 // { "glProgramUniformMatrix4fv", 31, -1 },
2549 // { "glProgramUniformMatrix2x3fv", 31, -1 },
2550 // { "glProgramUniformMatrix3x2fv", 31, -1 },
2551 // { "glProgramUniformMatrix2x4fv", 31, -1 },
2552 // { "glProgramUniformMatrix4x2fv", 31, -1 },
2553 // { "glProgramUniformMatrix3x4fv", 31, -1 },
2554 // { "glProgramUniformMatrix4x3fv", 31, -1 },
2555 // { "glValidateProgramPipeline", 31, -1 },
2556 // { "glGetProgramPipelineInfoLog", 31, -1 },
2558 // We check for the aliased EXT versions in GLES 3
2559 // { "glProgramUniform1ui", 31, -1 },
2560 // { "glProgramUniform2ui", 31, -1 },
2561 // { "glProgramUniform3ui", 31, -1 },
2562 // { "glProgramUniform4ui", 31, -1 },
2563 // { "glProgramUniform1uiv", 31, -1 },
2564 // { "glProgramUniform2uiv", 31, -1 },
2565 // { "glProgramUniform3uiv", 31, -1 },
2566 // { "glProgramUniform4uiv", 31, -1 },
2568 { "glBindImageTexture", 31, -1 },
2569 { "glGetBooleani_v", 31, -1 },
2570 { "glMemoryBarrier", 31, -1 },
2572 { "glMemoryBarrierByRegion", 31, -1 },
2574 { "glTexStorage2DMultisample", 31, -1 },
2575 { "glGetMultisamplefv", 31, -1 },
2576 { "glSampleMaski", 31, -1 },
2577 { "glGetTexLevelParameteriv", 31, -1 },
2578 { "glGetTexLevelParameterfv", 31, -1 },
2579 { "glBindVertexBuffer", 31, -1 },
2580 { "glVertexAttribFormat", 31, -1 },
2581 { "glVertexAttribIFormat", 31, -1 },
2582 { "glVertexAttribBinding", 31, -1 },
2583 { "glVertexBindingDivisor", 31, -1 },
2585 /* GL_OES_texture_storage_multisample_2d_array */
2586 { "glTexStorage3DMultisampleOES", 31, -1 },
2588 /* GL_EXT_buffer_storage */
2589 { "glBufferStorageEXT", 31, -1 },
2591 /* GL_EXT_blend_func_extended */
2592 { "glGetProgramResourceLocationIndexEXT", 31, -1 },
2594 /* GL_OES_geometry_shader */
2595 { "glFramebufferTextureOES", 31, -1},
2597 /* GL_OES_tessellation_shader */
2598 { "glPatchParameteriOES", 31, -1 },