• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // GENERATED FILE - DO NOT EDIT.
2 // Generated by generate_entry_points.py using data from gl.xml and wgl.xml.
3 //
4 // Copyright 2020 The ANGLE Project Authors. All rights reserved.
5 // Use of this source code is governed by a BSD-style license that can be
6 // found in the LICENSE file.
7 //
8 // libGL.cpp: Implements the exported Windows GL functions.
9 
10 #include "angle_gl.h"
11 
12 #include "libGL/entry_points_gl_1_0_autogen.h"
13 #include "libGL/entry_points_gl_1_1_autogen.h"
14 #include "libGL/entry_points_gl_1_2_autogen.h"
15 #include "libGL/entry_points_gl_1_3_autogen.h"
16 #include "libGL/entry_points_gl_1_4_autogen.h"
17 #include "libGL/entry_points_gl_1_5_autogen.h"
18 #include "libGL/entry_points_gl_2_0_autogen.h"
19 #include "libGL/entry_points_gl_2_1_autogen.h"
20 #include "libGL/entry_points_gl_3_0_autogen.h"
21 #include "libGL/entry_points_gl_3_1_autogen.h"
22 #include "libGL/entry_points_gl_3_2_autogen.h"
23 #include "libGL/entry_points_gl_3_3_autogen.h"
24 #include "libGL/entry_points_gl_4_0_autogen.h"
25 #include "libGL/entry_points_gl_4_1_autogen.h"
26 #include "libGL/entry_points_gl_4_2_autogen.h"
27 #include "libGL/entry_points_gl_4_3_autogen.h"
28 #include "libGL/entry_points_gl_4_4_autogen.h"
29 #include "libGL/entry_points_gl_4_5_autogen.h"
30 #include "libGL/entry_points_gl_4_6_autogen.h"
31 
32 #include "common/event_tracer.h"
33 
34 extern "C" {
35 
36 // GL 1.0
glAccum(GLenum op,GLfloat value)37 void GL_APIENTRY glAccum(GLenum op, GLfloat value)
38 {
39     return gl::Accum(op, value);
40 }
41 
glAlphaFunc(GLenum func,GLfloat ref)42 void GL_APIENTRY glAlphaFunc(GLenum func, GLfloat ref)
43 {
44     return gl::AlphaFunc(func, ref);
45 }
46 
glBegin(GLenum mode)47 void GL_APIENTRY glBegin(GLenum mode)
48 {
49     return gl::Begin(mode);
50 }
51 
glBitmap(GLsizei width,GLsizei height,GLfloat xorig,GLfloat yorig,GLfloat xmove,GLfloat ymove,const GLubyte * bitmap)52 void GL_APIENTRY glBitmap(GLsizei width,
53                           GLsizei height,
54                           GLfloat xorig,
55                           GLfloat yorig,
56                           GLfloat xmove,
57                           GLfloat ymove,
58                           const GLubyte *bitmap)
59 {
60     return gl::Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
61 }
62 
glBlendFunc(GLenum sfactor,GLenum dfactor)63 void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor)
64 {
65     return gl::BlendFunc(sfactor, dfactor);
66 }
67 
glCallList(GLuint list)68 void GL_APIENTRY glCallList(GLuint list)
69 {
70     return gl::CallList(list);
71 }
72 
glCallLists(GLsizei n,GLenum type,const void * lists)73 void GL_APIENTRY glCallLists(GLsizei n, GLenum type, const void *lists)
74 {
75     return gl::CallLists(n, type, lists);
76 }
77 
glClear(GLbitfield mask)78 void GL_APIENTRY glClear(GLbitfield mask)
79 {
80     return gl::Clear(mask);
81 }
82 
glClearAccum(GLfloat red,GLfloat green,GLfloat blue,GLfloat alpha)83 void GL_APIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
84 {
85     return gl::ClearAccum(red, green, blue, alpha);
86 }
87 
glClearColor(GLfloat red,GLfloat green,GLfloat blue,GLfloat alpha)88 void GL_APIENTRY glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
89 {
90     return gl::ClearColor(red, green, blue, alpha);
91 }
92 
glClearDepth(GLdouble depth)93 void GL_APIENTRY glClearDepth(GLdouble depth)
94 {
95     return gl::ClearDepth(depth);
96 }
97 
glClearIndex(GLfloat c)98 void GL_APIENTRY glClearIndex(GLfloat c)
99 {
100     return gl::ClearIndex(c);
101 }
102 
glClearStencil(GLint s)103 void GL_APIENTRY glClearStencil(GLint s)
104 {
105     return gl::ClearStencil(s);
106 }
107 
glClipPlane(GLenum plane,const GLdouble * equation)108 void GL_APIENTRY glClipPlane(GLenum plane, const GLdouble *equation)
109 {
110     return gl::ClipPlane(plane, equation);
111 }
112 
glColor3b(GLbyte red,GLbyte green,GLbyte blue)113 void GL_APIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue)
114 {
115     return gl::Color3b(red, green, blue);
116 }
117 
glColor3bv(const GLbyte * v)118 void GL_APIENTRY glColor3bv(const GLbyte *v)
119 {
120     return gl::Color3bv(v);
121 }
122 
glColor3d(GLdouble red,GLdouble green,GLdouble blue)123 void GL_APIENTRY glColor3d(GLdouble red, GLdouble green, GLdouble blue)
124 {
125     return gl::Color3d(red, green, blue);
126 }
127 
glColor3dv(const GLdouble * v)128 void GL_APIENTRY glColor3dv(const GLdouble *v)
129 {
130     return gl::Color3dv(v);
131 }
132 
glColor3f(GLfloat red,GLfloat green,GLfloat blue)133 void GL_APIENTRY glColor3f(GLfloat red, GLfloat green, GLfloat blue)
134 {
135     return gl::Color3f(red, green, blue);
136 }
137 
glColor3fv(const GLfloat * v)138 void GL_APIENTRY glColor3fv(const GLfloat *v)
139 {
140     return gl::Color3fv(v);
141 }
142 
glColor3i(GLint red,GLint green,GLint blue)143 void GL_APIENTRY glColor3i(GLint red, GLint green, GLint blue)
144 {
145     return gl::Color3i(red, green, blue);
146 }
147 
glColor3iv(const GLint * v)148 void GL_APIENTRY glColor3iv(const GLint *v)
149 {
150     return gl::Color3iv(v);
151 }
152 
glColor3s(GLshort red,GLshort green,GLshort blue)153 void GL_APIENTRY glColor3s(GLshort red, GLshort green, GLshort blue)
154 {
155     return gl::Color3s(red, green, blue);
156 }
157 
glColor3sv(const GLshort * v)158 void GL_APIENTRY glColor3sv(const GLshort *v)
159 {
160     return gl::Color3sv(v);
161 }
162 
glColor3ub(GLubyte red,GLubyte green,GLubyte blue)163 void GL_APIENTRY glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
164 {
165     return gl::Color3ub(red, green, blue);
166 }
167 
glColor3ubv(const GLubyte * v)168 void GL_APIENTRY glColor3ubv(const GLubyte *v)
169 {
170     return gl::Color3ubv(v);
171 }
172 
glColor3ui(GLuint red,GLuint green,GLuint blue)173 void GL_APIENTRY glColor3ui(GLuint red, GLuint green, GLuint blue)
174 {
175     return gl::Color3ui(red, green, blue);
176 }
177 
glColor3uiv(const GLuint * v)178 void GL_APIENTRY glColor3uiv(const GLuint *v)
179 {
180     return gl::Color3uiv(v);
181 }
182 
glColor3us(GLushort red,GLushort green,GLushort blue)183 void GL_APIENTRY glColor3us(GLushort red, GLushort green, GLushort blue)
184 {
185     return gl::Color3us(red, green, blue);
186 }
187 
glColor3usv(const GLushort * v)188 void GL_APIENTRY glColor3usv(const GLushort *v)
189 {
190     return gl::Color3usv(v);
191 }
192 
glColor4b(GLbyte red,GLbyte green,GLbyte blue,GLbyte alpha)193 void GL_APIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
194 {
195     return gl::Color4b(red, green, blue, alpha);
196 }
197 
glColor4bv(const GLbyte * v)198 void GL_APIENTRY glColor4bv(const GLbyte *v)
199 {
200     return gl::Color4bv(v);
201 }
202 
glColor4d(GLdouble red,GLdouble green,GLdouble blue,GLdouble alpha)203 void GL_APIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
204 {
205     return gl::Color4d(red, green, blue, alpha);
206 }
207 
glColor4dv(const GLdouble * v)208 void GL_APIENTRY glColor4dv(const GLdouble *v)
209 {
210     return gl::Color4dv(v);
211 }
212 
glColor4f(GLfloat red,GLfloat green,GLfloat blue,GLfloat alpha)213 void GL_APIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
214 {
215     return gl::Color4f(red, green, blue, alpha);
216 }
217 
glColor4fv(const GLfloat * v)218 void GL_APIENTRY glColor4fv(const GLfloat *v)
219 {
220     return gl::Color4fv(v);
221 }
222 
glColor4i(GLint red,GLint green,GLint blue,GLint alpha)223 void GL_APIENTRY glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
224 {
225     return gl::Color4i(red, green, blue, alpha);
226 }
227 
glColor4iv(const GLint * v)228 void GL_APIENTRY glColor4iv(const GLint *v)
229 {
230     return gl::Color4iv(v);
231 }
232 
glColor4s(GLshort red,GLshort green,GLshort blue,GLshort alpha)233 void GL_APIENTRY glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
234 {
235     return gl::Color4s(red, green, blue, alpha);
236 }
237 
glColor4sv(const GLshort * v)238 void GL_APIENTRY glColor4sv(const GLshort *v)
239 {
240     return gl::Color4sv(v);
241 }
242 
glColor4ub(GLubyte red,GLubyte green,GLubyte blue,GLubyte alpha)243 void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
244 {
245     return gl::Color4ub(red, green, blue, alpha);
246 }
247 
glColor4ubv(const GLubyte * v)248 void GL_APIENTRY glColor4ubv(const GLubyte *v)
249 {
250     return gl::Color4ubv(v);
251 }
252 
glColor4ui(GLuint red,GLuint green,GLuint blue,GLuint alpha)253 void GL_APIENTRY glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
254 {
255     return gl::Color4ui(red, green, blue, alpha);
256 }
257 
glColor4uiv(const GLuint * v)258 void GL_APIENTRY glColor4uiv(const GLuint *v)
259 {
260     return gl::Color4uiv(v);
261 }
262 
glColor4us(GLushort red,GLushort green,GLushort blue,GLushort alpha)263 void GL_APIENTRY glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
264 {
265     return gl::Color4us(red, green, blue, alpha);
266 }
267 
glColor4usv(const GLushort * v)268 void GL_APIENTRY glColor4usv(const GLushort *v)
269 {
270     return gl::Color4usv(v);
271 }
272 
glColorMask(GLboolean red,GLboolean green,GLboolean blue,GLboolean alpha)273 void GL_APIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
274 {
275     return gl::ColorMask(red, green, blue, alpha);
276 }
277 
glColorMaterial(GLenum face,GLenum mode)278 void GL_APIENTRY glColorMaterial(GLenum face, GLenum mode)
279 {
280     return gl::ColorMaterial(face, mode);
281 }
282 
glCopyPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum type)283 void GL_APIENTRY glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
284 {
285     return gl::CopyPixels(x, y, width, height, type);
286 }
287 
glCullFace(GLenum mode)288 void GL_APIENTRY glCullFace(GLenum mode)
289 {
290     return gl::CullFace(mode);
291 }
292 
glDeleteLists(GLuint list,GLsizei range)293 void GL_APIENTRY glDeleteLists(GLuint list, GLsizei range)
294 {
295     return gl::DeleteLists(list, range);
296 }
297 
glDepthFunc(GLenum func)298 void GL_APIENTRY glDepthFunc(GLenum func)
299 {
300     return gl::DepthFunc(func);
301 }
302 
glDepthMask(GLboolean flag)303 void GL_APIENTRY glDepthMask(GLboolean flag)
304 {
305     return gl::DepthMask(flag);
306 }
307 
glDepthRange(GLdouble n,GLdouble f)308 void GL_APIENTRY glDepthRange(GLdouble n, GLdouble f)
309 {
310     return gl::DepthRange(n, f);
311 }
312 
glDisable(GLenum cap)313 void GL_APIENTRY glDisable(GLenum cap)
314 {
315     return gl::Disable(cap);
316 }
317 
glDrawBuffer(GLenum buf)318 void GL_APIENTRY glDrawBuffer(GLenum buf)
319 {
320     return gl::DrawBuffer(buf);
321 }
322 
323 void GL_APIENTRY
glDrawPixels(GLsizei width,GLsizei height,GLenum format,GLenum type,const void * pixels)324 glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels)
325 {
326     return gl::DrawPixels(width, height, format, type, pixels);
327 }
328 
glEdgeFlag(GLboolean flag)329 void GL_APIENTRY glEdgeFlag(GLboolean flag)
330 {
331     return gl::EdgeFlag(flag);
332 }
333 
glEdgeFlagv(const GLboolean * flag)334 void GL_APIENTRY glEdgeFlagv(const GLboolean *flag)
335 {
336     return gl::EdgeFlagv(flag);
337 }
338 
glEnable(GLenum cap)339 void GL_APIENTRY glEnable(GLenum cap)
340 {
341     return gl::Enable(cap);
342 }
343 
glEnd()344 void GL_APIENTRY glEnd()
345 {
346     return gl::End();
347 }
348 
glEndList()349 void GL_APIENTRY glEndList()
350 {
351     return gl::EndList();
352 }
353 
glEvalCoord1d(GLdouble u)354 void GL_APIENTRY glEvalCoord1d(GLdouble u)
355 {
356     return gl::EvalCoord1d(u);
357 }
358 
glEvalCoord1dv(const GLdouble * u)359 void GL_APIENTRY glEvalCoord1dv(const GLdouble *u)
360 {
361     return gl::EvalCoord1dv(u);
362 }
363 
glEvalCoord1f(GLfloat u)364 void GL_APIENTRY glEvalCoord1f(GLfloat u)
365 {
366     return gl::EvalCoord1f(u);
367 }
368 
glEvalCoord1fv(const GLfloat * u)369 void GL_APIENTRY glEvalCoord1fv(const GLfloat *u)
370 {
371     return gl::EvalCoord1fv(u);
372 }
373 
glEvalCoord2d(GLdouble u,GLdouble v)374 void GL_APIENTRY glEvalCoord2d(GLdouble u, GLdouble v)
375 {
376     return gl::EvalCoord2d(u, v);
377 }
378 
glEvalCoord2dv(const GLdouble * u)379 void GL_APIENTRY glEvalCoord2dv(const GLdouble *u)
380 {
381     return gl::EvalCoord2dv(u);
382 }
383 
glEvalCoord2f(GLfloat u,GLfloat v)384 void GL_APIENTRY glEvalCoord2f(GLfloat u, GLfloat v)
385 {
386     return gl::EvalCoord2f(u, v);
387 }
388 
glEvalCoord2fv(const GLfloat * u)389 void GL_APIENTRY glEvalCoord2fv(const GLfloat *u)
390 {
391     return gl::EvalCoord2fv(u);
392 }
393 
glEvalMesh1(GLenum mode,GLint i1,GLint i2)394 void GL_APIENTRY glEvalMesh1(GLenum mode, GLint i1, GLint i2)
395 {
396     return gl::EvalMesh1(mode, i1, i2);
397 }
398 
glEvalMesh2(GLenum mode,GLint i1,GLint i2,GLint j1,GLint j2)399 void GL_APIENTRY glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
400 {
401     return gl::EvalMesh2(mode, i1, i2, j1, j2);
402 }
403 
glEvalPoint1(GLint i)404 void GL_APIENTRY glEvalPoint1(GLint i)
405 {
406     return gl::EvalPoint1(i);
407 }
408 
glEvalPoint2(GLint i,GLint j)409 void GL_APIENTRY glEvalPoint2(GLint i, GLint j)
410 {
411     return gl::EvalPoint2(i, j);
412 }
413 
glFeedbackBuffer(GLsizei size,GLenum type,GLfloat * buffer)414 void GL_APIENTRY glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
415 {
416     return gl::FeedbackBuffer(size, type, buffer);
417 }
418 
glFinish()419 void GL_APIENTRY glFinish()
420 {
421     return gl::Finish();
422 }
423 
glFlush()424 void GL_APIENTRY glFlush()
425 {
426     return gl::Flush();
427 }
428 
glFogf(GLenum pname,GLfloat param)429 void GL_APIENTRY glFogf(GLenum pname, GLfloat param)
430 {
431     return gl::Fogf(pname, param);
432 }
433 
glFogfv(GLenum pname,const GLfloat * params)434 void GL_APIENTRY glFogfv(GLenum pname, const GLfloat *params)
435 {
436     return gl::Fogfv(pname, params);
437 }
438 
glFogi(GLenum pname,GLint param)439 void GL_APIENTRY glFogi(GLenum pname, GLint param)
440 {
441     return gl::Fogi(pname, param);
442 }
443 
glFogiv(GLenum pname,const GLint * params)444 void GL_APIENTRY glFogiv(GLenum pname, const GLint *params)
445 {
446     return gl::Fogiv(pname, params);
447 }
448 
glFrontFace(GLenum mode)449 void GL_APIENTRY glFrontFace(GLenum mode)
450 {
451     return gl::FrontFace(mode);
452 }
453 
glFrustum(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top,GLdouble zNear,GLdouble zFar)454 void GL_APIENTRY glFrustum(GLdouble left,
455                            GLdouble right,
456                            GLdouble bottom,
457                            GLdouble top,
458                            GLdouble zNear,
459                            GLdouble zFar)
460 {
461     return gl::Frustum(left, right, bottom, top, zNear, zFar);
462 }
463 
glGenLists(GLsizei range)464 GLuint GL_APIENTRY glGenLists(GLsizei range)
465 {
466     return gl::GenLists(range);
467 }
468 
glGetBooleanv(GLenum pname,GLboolean * data)469 void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean *data)
470 {
471     return gl::GetBooleanv(pname, data);
472 }
473 
glGetClipPlane(GLenum plane,GLdouble * equation)474 void GL_APIENTRY glGetClipPlane(GLenum plane, GLdouble *equation)
475 {
476     return gl::GetClipPlane(plane, equation);
477 }
478 
glGetDoublev(GLenum pname,GLdouble * data)479 void GL_APIENTRY glGetDoublev(GLenum pname, GLdouble *data)
480 {
481     return gl::GetDoublev(pname, data);
482 }
483 
glGetError()484 GLenum GL_APIENTRY glGetError()
485 {
486     return gl::GetError();
487 }
488 
glGetFloatv(GLenum pname,GLfloat * data)489 void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat *data)
490 {
491     return gl::GetFloatv(pname, data);
492 }
493 
glGetIntegerv(GLenum pname,GLint * data)494 void GL_APIENTRY glGetIntegerv(GLenum pname, GLint *data)
495 {
496     return gl::GetIntegerv(pname, data);
497 }
498 
glGetLightfv(GLenum light,GLenum pname,GLfloat * params)499 void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
500 {
501     return gl::GetLightfv(light, pname, params);
502 }
503 
glGetLightiv(GLenum light,GLenum pname,GLint * params)504 void GL_APIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params)
505 {
506     return gl::GetLightiv(light, pname, params);
507 }
508 
glGetMapdv(GLenum target,GLenum query,GLdouble * v)509 void GL_APIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble *v)
510 {
511     return gl::GetMapdv(target, query, v);
512 }
513 
glGetMapfv(GLenum target,GLenum query,GLfloat * v)514 void GL_APIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat *v)
515 {
516     return gl::GetMapfv(target, query, v);
517 }
518 
glGetMapiv(GLenum target,GLenum query,GLint * v)519 void GL_APIENTRY glGetMapiv(GLenum target, GLenum query, GLint *v)
520 {
521     return gl::GetMapiv(target, query, v);
522 }
523 
glGetMaterialfv(GLenum face,GLenum pname,GLfloat * params)524 void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
525 {
526     return gl::GetMaterialfv(face, pname, params);
527 }
528 
glGetMaterialiv(GLenum face,GLenum pname,GLint * params)529 void GL_APIENTRY glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
530 {
531     return gl::GetMaterialiv(face, pname, params);
532 }
533 
glGetPixelMapfv(GLenum map,GLfloat * values)534 void GL_APIENTRY glGetPixelMapfv(GLenum map, GLfloat *values)
535 {
536     return gl::GetPixelMapfv(map, values);
537 }
538 
glGetPixelMapuiv(GLenum map,GLuint * values)539 void GL_APIENTRY glGetPixelMapuiv(GLenum map, GLuint *values)
540 {
541     return gl::GetPixelMapuiv(map, values);
542 }
543 
glGetPixelMapusv(GLenum map,GLushort * values)544 void GL_APIENTRY glGetPixelMapusv(GLenum map, GLushort *values)
545 {
546     return gl::GetPixelMapusv(map, values);
547 }
548 
glGetPolygonStipple(GLubyte * mask)549 void GL_APIENTRY glGetPolygonStipple(GLubyte *mask)
550 {
551     return gl::GetPolygonStipple(mask);
552 }
553 
glGetString(GLenum name)554 const GLubyte *GL_APIENTRY glGetString(GLenum name)
555 {
556     return gl::GetString(name);
557 }
558 
glGetTexEnvfv(GLenum target,GLenum pname,GLfloat * params)559 void GL_APIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
560 {
561     return gl::GetTexEnvfv(target, pname, params);
562 }
563 
glGetTexEnviv(GLenum target,GLenum pname,GLint * params)564 void GL_APIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
565 {
566     return gl::GetTexEnviv(target, pname, params);
567 }
568 
glGetTexGendv(GLenum coord,GLenum pname,GLdouble * params)569 void GL_APIENTRY glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
570 {
571     return gl::GetTexGendv(coord, pname, params);
572 }
573 
glGetTexGenfv(GLenum coord,GLenum pname,GLfloat * params)574 void GL_APIENTRY glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
575 {
576     return gl::GetTexGenfv(coord, pname, params);
577 }
578 
glGetTexGeniv(GLenum coord,GLenum pname,GLint * params)579 void GL_APIENTRY glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
580 {
581     return gl::GetTexGeniv(coord, pname, params);
582 }
583 
glGetTexImage(GLenum target,GLint level,GLenum format,GLenum type,void * pixels)584 void GL_APIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, void *pixels)
585 {
586     return gl::GetTexImage(target, level, format, type, pixels);
587 }
588 
glGetTexLevelParameterfv(GLenum target,GLint level,GLenum pname,GLfloat * params)589 void GL_APIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
590 {
591     return gl::GetTexLevelParameterfv(target, level, pname, params);
592 }
593 
glGetTexLevelParameteriv(GLenum target,GLint level,GLenum pname,GLint * params)594 void GL_APIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
595 {
596     return gl::GetTexLevelParameteriv(target, level, pname, params);
597 }
598 
glGetTexParameterfv(GLenum target,GLenum pname,GLfloat * params)599 void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
600 {
601     return gl::GetTexParameterfv(target, pname, params);
602 }
603 
glGetTexParameteriv(GLenum target,GLenum pname,GLint * params)604 void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
605 {
606     return gl::GetTexParameteriv(target, pname, params);
607 }
608 
glHint(GLenum target,GLenum mode)609 void GL_APIENTRY glHint(GLenum target, GLenum mode)
610 {
611     return gl::Hint(target, mode);
612 }
613 
glIndexMask(GLuint mask)614 void GL_APIENTRY glIndexMask(GLuint mask)
615 {
616     return gl::IndexMask(mask);
617 }
618 
glIndexd(GLdouble c)619 void GL_APIENTRY glIndexd(GLdouble c)
620 {
621     return gl::Indexd(c);
622 }
623 
glIndexdv(const GLdouble * c)624 void GL_APIENTRY glIndexdv(const GLdouble *c)
625 {
626     return gl::Indexdv(c);
627 }
628 
glIndexf(GLfloat c)629 void GL_APIENTRY glIndexf(GLfloat c)
630 {
631     return gl::Indexf(c);
632 }
633 
glIndexfv(const GLfloat * c)634 void GL_APIENTRY glIndexfv(const GLfloat *c)
635 {
636     return gl::Indexfv(c);
637 }
638 
glIndexi(GLint c)639 void GL_APIENTRY glIndexi(GLint c)
640 {
641     return gl::Indexi(c);
642 }
643 
glIndexiv(const GLint * c)644 void GL_APIENTRY glIndexiv(const GLint *c)
645 {
646     return gl::Indexiv(c);
647 }
648 
glIndexs(GLshort c)649 void GL_APIENTRY glIndexs(GLshort c)
650 {
651     return gl::Indexs(c);
652 }
653 
glIndexsv(const GLshort * c)654 void GL_APIENTRY glIndexsv(const GLshort *c)
655 {
656     return gl::Indexsv(c);
657 }
658 
glInitNames()659 void GL_APIENTRY glInitNames()
660 {
661     return gl::InitNames();
662 }
663 
glIsEnabled(GLenum cap)664 GLboolean GL_APIENTRY glIsEnabled(GLenum cap)
665 {
666     return gl::IsEnabled(cap);
667 }
668 
glIsList(GLuint list)669 GLboolean GL_APIENTRY glIsList(GLuint list)
670 {
671     return gl::IsList(list);
672 }
673 
glLightModelf(GLenum pname,GLfloat param)674 void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param)
675 {
676     return gl::LightModelf(pname, param);
677 }
678 
glLightModelfv(GLenum pname,const GLfloat * params)679 void GL_APIENTRY glLightModelfv(GLenum pname, const GLfloat *params)
680 {
681     return gl::LightModelfv(pname, params);
682 }
683 
glLightModeli(GLenum pname,GLint param)684 void GL_APIENTRY glLightModeli(GLenum pname, GLint param)
685 {
686     return gl::LightModeli(pname, param);
687 }
688 
glLightModeliv(GLenum pname,const GLint * params)689 void GL_APIENTRY glLightModeliv(GLenum pname, const GLint *params)
690 {
691     return gl::LightModeliv(pname, params);
692 }
693 
glLightf(GLenum light,GLenum pname,GLfloat param)694 void GL_APIENTRY glLightf(GLenum light, GLenum pname, GLfloat param)
695 {
696     return gl::Lightf(light, pname, param);
697 }
698 
glLightfv(GLenum light,GLenum pname,const GLfloat * params)699 void GL_APIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params)
700 {
701     return gl::Lightfv(light, pname, params);
702 }
703 
glLighti(GLenum light,GLenum pname,GLint param)704 void GL_APIENTRY glLighti(GLenum light, GLenum pname, GLint param)
705 {
706     return gl::Lighti(light, pname, param);
707 }
708 
glLightiv(GLenum light,GLenum pname,const GLint * params)709 void GL_APIENTRY glLightiv(GLenum light, GLenum pname, const GLint *params)
710 {
711     return gl::Lightiv(light, pname, params);
712 }
713 
glLineStipple(GLint factor,GLushort pattern)714 void GL_APIENTRY glLineStipple(GLint factor, GLushort pattern)
715 {
716     return gl::LineStipple(factor, pattern);
717 }
718 
glLineWidth(GLfloat width)719 void GL_APIENTRY glLineWidth(GLfloat width)
720 {
721     return gl::LineWidth(width);
722 }
723 
glListBase(GLuint base)724 void GL_APIENTRY glListBase(GLuint base)
725 {
726     return gl::ListBase(base);
727 }
728 
glLoadIdentity()729 void GL_APIENTRY glLoadIdentity()
730 {
731     return gl::LoadIdentity();
732 }
733 
glLoadMatrixd(const GLdouble * m)734 void GL_APIENTRY glLoadMatrixd(const GLdouble *m)
735 {
736     return gl::LoadMatrixd(m);
737 }
738 
glLoadMatrixf(const GLfloat * m)739 void GL_APIENTRY glLoadMatrixf(const GLfloat *m)
740 {
741     return gl::LoadMatrixf(m);
742 }
743 
glLoadName(GLuint name)744 void GL_APIENTRY glLoadName(GLuint name)
745 {
746     return gl::LoadName(name);
747 }
748 
glLogicOp(GLenum opcode)749 void GL_APIENTRY glLogicOp(GLenum opcode)
750 {
751     return gl::LogicOp(opcode);
752 }
753 
754 void GL_APIENTRY
glMap1d(GLenum target,GLdouble u1,GLdouble u2,GLint stride,GLint order,const GLdouble * points)755 glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
756 {
757     return gl::Map1d(target, u1, u2, stride, order, points);
758 }
759 
760 void GL_APIENTRY
glMap1f(GLenum target,GLfloat u1,GLfloat u2,GLint stride,GLint order,const GLfloat * points)761 glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
762 {
763     return gl::Map1f(target, u1, u2, stride, order, points);
764 }
765 
glMap2d(GLenum target,GLdouble u1,GLdouble u2,GLint ustride,GLint uorder,GLdouble v1,GLdouble v2,GLint vstride,GLint vorder,const GLdouble * points)766 void GL_APIENTRY glMap2d(GLenum target,
767                          GLdouble u1,
768                          GLdouble u2,
769                          GLint ustride,
770                          GLint uorder,
771                          GLdouble v1,
772                          GLdouble v2,
773                          GLint vstride,
774                          GLint vorder,
775                          const GLdouble *points)
776 {
777     return gl::Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
778 }
779 
glMap2f(GLenum target,GLfloat u1,GLfloat u2,GLint ustride,GLint uorder,GLfloat v1,GLfloat v2,GLint vstride,GLint vorder,const GLfloat * points)780 void GL_APIENTRY glMap2f(GLenum target,
781                          GLfloat u1,
782                          GLfloat u2,
783                          GLint ustride,
784                          GLint uorder,
785                          GLfloat v1,
786                          GLfloat v2,
787                          GLint vstride,
788                          GLint vorder,
789                          const GLfloat *points)
790 {
791     return gl::Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
792 }
793 
glMapGrid1d(GLint un,GLdouble u1,GLdouble u2)794 void GL_APIENTRY glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
795 {
796     return gl::MapGrid1d(un, u1, u2);
797 }
798 
glMapGrid1f(GLint un,GLfloat u1,GLfloat u2)799 void GL_APIENTRY glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
800 {
801     return gl::MapGrid1f(un, u1, u2);
802 }
803 
glMapGrid2d(GLint un,GLdouble u1,GLdouble u2,GLint vn,GLdouble v1,GLdouble v2)804 void GL_APIENTRY glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
805 {
806     return gl::MapGrid2d(un, u1, u2, vn, v1, v2);
807 }
808 
glMapGrid2f(GLint un,GLfloat u1,GLfloat u2,GLint vn,GLfloat v1,GLfloat v2)809 void GL_APIENTRY glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
810 {
811     return gl::MapGrid2f(un, u1, u2, vn, v1, v2);
812 }
813 
glMaterialf(GLenum face,GLenum pname,GLfloat param)814 void GL_APIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param)
815 {
816     return gl::Materialf(face, pname, param);
817 }
818 
glMaterialfv(GLenum face,GLenum pname,const GLfloat * params)819 void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
820 {
821     return gl::Materialfv(face, pname, params);
822 }
823 
glMateriali(GLenum face,GLenum pname,GLint param)824 void GL_APIENTRY glMateriali(GLenum face, GLenum pname, GLint param)
825 {
826     return gl::Materiali(face, pname, param);
827 }
828 
glMaterialiv(GLenum face,GLenum pname,const GLint * params)829 void GL_APIENTRY glMaterialiv(GLenum face, GLenum pname, const GLint *params)
830 {
831     return gl::Materialiv(face, pname, params);
832 }
833 
glMatrixMode(GLenum mode)834 void GL_APIENTRY glMatrixMode(GLenum mode)
835 {
836     return gl::MatrixMode(mode);
837 }
838 
glMultMatrixd(const GLdouble * m)839 void GL_APIENTRY glMultMatrixd(const GLdouble *m)
840 {
841     return gl::MultMatrixd(m);
842 }
843 
glMultMatrixf(const GLfloat * m)844 void GL_APIENTRY glMultMatrixf(const GLfloat *m)
845 {
846     return gl::MultMatrixf(m);
847 }
848 
glNewList(GLuint list,GLenum mode)849 void GL_APIENTRY glNewList(GLuint list, GLenum mode)
850 {
851     return gl::NewList(list, mode);
852 }
853 
glNormal3b(GLbyte nx,GLbyte ny,GLbyte nz)854 void GL_APIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
855 {
856     return gl::Normal3b(nx, ny, nz);
857 }
858 
glNormal3bv(const GLbyte * v)859 void GL_APIENTRY glNormal3bv(const GLbyte *v)
860 {
861     return gl::Normal3bv(v);
862 }
863 
glNormal3d(GLdouble nx,GLdouble ny,GLdouble nz)864 void GL_APIENTRY glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
865 {
866     return gl::Normal3d(nx, ny, nz);
867 }
868 
glNormal3dv(const GLdouble * v)869 void GL_APIENTRY glNormal3dv(const GLdouble *v)
870 {
871     return gl::Normal3dv(v);
872 }
873 
glNormal3f(GLfloat nx,GLfloat ny,GLfloat nz)874 void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
875 {
876     return gl::Normal3f(nx, ny, nz);
877 }
878 
glNormal3fv(const GLfloat * v)879 void GL_APIENTRY glNormal3fv(const GLfloat *v)
880 {
881     return gl::Normal3fv(v);
882 }
883 
glNormal3i(GLint nx,GLint ny,GLint nz)884 void GL_APIENTRY glNormal3i(GLint nx, GLint ny, GLint nz)
885 {
886     return gl::Normal3i(nx, ny, nz);
887 }
888 
glNormal3iv(const GLint * v)889 void GL_APIENTRY glNormal3iv(const GLint *v)
890 {
891     return gl::Normal3iv(v);
892 }
893 
glNormal3s(GLshort nx,GLshort ny,GLshort nz)894 void GL_APIENTRY glNormal3s(GLshort nx, GLshort ny, GLshort nz)
895 {
896     return gl::Normal3s(nx, ny, nz);
897 }
898 
glNormal3sv(const GLshort * v)899 void GL_APIENTRY glNormal3sv(const GLshort *v)
900 {
901     return gl::Normal3sv(v);
902 }
903 
904 void GL_APIENTRY
glOrtho(GLdouble left,GLdouble right,GLdouble bottom,GLdouble top,GLdouble zNear,GLdouble zFar)905 glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
906 {
907     return gl::Ortho(left, right, bottom, top, zNear, zFar);
908 }
909 
glPassThrough(GLfloat token)910 void GL_APIENTRY glPassThrough(GLfloat token)
911 {
912     return gl::PassThrough(token);
913 }
914 
glPixelMapfv(GLenum map,GLsizei mapsize,const GLfloat * values)915 void GL_APIENTRY glPixelMapfv(GLenum map, GLsizei mapsize, const GLfloat *values)
916 {
917     return gl::PixelMapfv(map, mapsize, values);
918 }
919 
glPixelMapuiv(GLenum map,GLsizei mapsize,const GLuint * values)920 void GL_APIENTRY glPixelMapuiv(GLenum map, GLsizei mapsize, const GLuint *values)
921 {
922     return gl::PixelMapuiv(map, mapsize, values);
923 }
924 
glPixelMapusv(GLenum map,GLsizei mapsize,const GLushort * values)925 void GL_APIENTRY glPixelMapusv(GLenum map, GLsizei mapsize, const GLushort *values)
926 {
927     return gl::PixelMapusv(map, mapsize, values);
928 }
929 
glPixelStoref(GLenum pname,GLfloat param)930 void GL_APIENTRY glPixelStoref(GLenum pname, GLfloat param)
931 {
932     return gl::PixelStoref(pname, param);
933 }
934 
glPixelStorei(GLenum pname,GLint param)935 void GL_APIENTRY glPixelStorei(GLenum pname, GLint param)
936 {
937     return gl::PixelStorei(pname, param);
938 }
939 
glPixelTransferf(GLenum pname,GLfloat param)940 void GL_APIENTRY glPixelTransferf(GLenum pname, GLfloat param)
941 {
942     return gl::PixelTransferf(pname, param);
943 }
944 
glPixelTransferi(GLenum pname,GLint param)945 void GL_APIENTRY glPixelTransferi(GLenum pname, GLint param)
946 {
947     return gl::PixelTransferi(pname, param);
948 }
949 
glPixelZoom(GLfloat xfactor,GLfloat yfactor)950 void GL_APIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor)
951 {
952     return gl::PixelZoom(xfactor, yfactor);
953 }
954 
glPointSize(GLfloat size)955 void GL_APIENTRY glPointSize(GLfloat size)
956 {
957     return gl::PointSize(size);
958 }
959 
glPolygonMode(GLenum face,GLenum mode)960 void GL_APIENTRY glPolygonMode(GLenum face, GLenum mode)
961 {
962     return gl::PolygonMode(face, mode);
963 }
964 
glPolygonStipple(const GLubyte * mask)965 void GL_APIENTRY glPolygonStipple(const GLubyte *mask)
966 {
967     return gl::PolygonStipple(mask);
968 }
969 
glPopAttrib()970 void GL_APIENTRY glPopAttrib()
971 {
972     return gl::PopAttrib();
973 }
974 
glPopMatrix()975 void GL_APIENTRY glPopMatrix()
976 {
977     return gl::PopMatrix();
978 }
979 
glPopName()980 void GL_APIENTRY glPopName()
981 {
982     return gl::PopName();
983 }
984 
glPushAttrib(GLbitfield mask)985 void GL_APIENTRY glPushAttrib(GLbitfield mask)
986 {
987     return gl::PushAttrib(mask);
988 }
989 
glPushMatrix()990 void GL_APIENTRY glPushMatrix()
991 {
992     return gl::PushMatrix();
993 }
994 
glPushName(GLuint name)995 void GL_APIENTRY glPushName(GLuint name)
996 {
997     return gl::PushName(name);
998 }
999 
glRasterPos2d(GLdouble x,GLdouble y)1000 void GL_APIENTRY glRasterPos2d(GLdouble x, GLdouble y)
1001 {
1002     return gl::RasterPos2d(x, y);
1003 }
1004 
glRasterPos2dv(const GLdouble * v)1005 void GL_APIENTRY glRasterPos2dv(const GLdouble *v)
1006 {
1007     return gl::RasterPos2dv(v);
1008 }
1009 
glRasterPos2f(GLfloat x,GLfloat y)1010 void GL_APIENTRY glRasterPos2f(GLfloat x, GLfloat y)
1011 {
1012     return gl::RasterPos2f(x, y);
1013 }
1014 
glRasterPos2fv(const GLfloat * v)1015 void GL_APIENTRY glRasterPos2fv(const GLfloat *v)
1016 {
1017     return gl::RasterPos2fv(v);
1018 }
1019 
glRasterPos2i(GLint x,GLint y)1020 void GL_APIENTRY glRasterPos2i(GLint x, GLint y)
1021 {
1022     return gl::RasterPos2i(x, y);
1023 }
1024 
glRasterPos2iv(const GLint * v)1025 void GL_APIENTRY glRasterPos2iv(const GLint *v)
1026 {
1027     return gl::RasterPos2iv(v);
1028 }
1029 
glRasterPos2s(GLshort x,GLshort y)1030 void GL_APIENTRY glRasterPos2s(GLshort x, GLshort y)
1031 {
1032     return gl::RasterPos2s(x, y);
1033 }
1034 
glRasterPos2sv(const GLshort * v)1035 void GL_APIENTRY glRasterPos2sv(const GLshort *v)
1036 {
1037     return gl::RasterPos2sv(v);
1038 }
1039 
glRasterPos3d(GLdouble x,GLdouble y,GLdouble z)1040 void GL_APIENTRY glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
1041 {
1042     return gl::RasterPos3d(x, y, z);
1043 }
1044 
glRasterPos3dv(const GLdouble * v)1045 void GL_APIENTRY glRasterPos3dv(const GLdouble *v)
1046 {
1047     return gl::RasterPos3dv(v);
1048 }
1049 
glRasterPos3f(GLfloat x,GLfloat y,GLfloat z)1050 void GL_APIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
1051 {
1052     return gl::RasterPos3f(x, y, z);
1053 }
1054 
glRasterPos3fv(const GLfloat * v)1055 void GL_APIENTRY glRasterPos3fv(const GLfloat *v)
1056 {
1057     return gl::RasterPos3fv(v);
1058 }
1059 
glRasterPos3i(GLint x,GLint y,GLint z)1060 void GL_APIENTRY glRasterPos3i(GLint x, GLint y, GLint z)
1061 {
1062     return gl::RasterPos3i(x, y, z);
1063 }
1064 
glRasterPos3iv(const GLint * v)1065 void GL_APIENTRY glRasterPos3iv(const GLint *v)
1066 {
1067     return gl::RasterPos3iv(v);
1068 }
1069 
glRasterPos3s(GLshort x,GLshort y,GLshort z)1070 void GL_APIENTRY glRasterPos3s(GLshort x, GLshort y, GLshort z)
1071 {
1072     return gl::RasterPos3s(x, y, z);
1073 }
1074 
glRasterPos3sv(const GLshort * v)1075 void GL_APIENTRY glRasterPos3sv(const GLshort *v)
1076 {
1077     return gl::RasterPos3sv(v);
1078 }
1079 
glRasterPos4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w)1080 void GL_APIENTRY glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1081 {
1082     return gl::RasterPos4d(x, y, z, w);
1083 }
1084 
glRasterPos4dv(const GLdouble * v)1085 void GL_APIENTRY glRasterPos4dv(const GLdouble *v)
1086 {
1087     return gl::RasterPos4dv(v);
1088 }
1089 
glRasterPos4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w)1090 void GL_APIENTRY glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1091 {
1092     return gl::RasterPos4f(x, y, z, w);
1093 }
1094 
glRasterPos4fv(const GLfloat * v)1095 void GL_APIENTRY glRasterPos4fv(const GLfloat *v)
1096 {
1097     return gl::RasterPos4fv(v);
1098 }
1099 
glRasterPos4i(GLint x,GLint y,GLint z,GLint w)1100 void GL_APIENTRY glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
1101 {
1102     return gl::RasterPos4i(x, y, z, w);
1103 }
1104 
glRasterPos4iv(const GLint * v)1105 void GL_APIENTRY glRasterPos4iv(const GLint *v)
1106 {
1107     return gl::RasterPos4iv(v);
1108 }
1109 
glRasterPos4s(GLshort x,GLshort y,GLshort z,GLshort w)1110 void GL_APIENTRY glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
1111 {
1112     return gl::RasterPos4s(x, y, z, w);
1113 }
1114 
glRasterPos4sv(const GLshort * v)1115 void GL_APIENTRY glRasterPos4sv(const GLshort *v)
1116 {
1117     return gl::RasterPos4sv(v);
1118 }
1119 
glReadBuffer(GLenum src)1120 void GL_APIENTRY glReadBuffer(GLenum src)
1121 {
1122     return gl::ReadBuffer(src);
1123 }
1124 
glReadPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,void * pixels)1125 void GL_APIENTRY glReadPixels(GLint x,
1126                               GLint y,
1127                               GLsizei width,
1128                               GLsizei height,
1129                               GLenum format,
1130                               GLenum type,
1131                               void *pixels)
1132 {
1133     return gl::ReadPixels(x, y, width, height, format, type, pixels);
1134 }
1135 
glRectd(GLdouble x1,GLdouble y1,GLdouble x2,GLdouble y2)1136 void GL_APIENTRY glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
1137 {
1138     return gl::Rectd(x1, y1, x2, y2);
1139 }
1140 
glRectdv(const GLdouble * v1,const GLdouble * v2)1141 void GL_APIENTRY glRectdv(const GLdouble *v1, const GLdouble *v2)
1142 {
1143     return gl::Rectdv(v1, v2);
1144 }
1145 
glRectf(GLfloat x1,GLfloat y1,GLfloat x2,GLfloat y2)1146 void GL_APIENTRY glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
1147 {
1148     return gl::Rectf(x1, y1, x2, y2);
1149 }
1150 
glRectfv(const GLfloat * v1,const GLfloat * v2)1151 void GL_APIENTRY glRectfv(const GLfloat *v1, const GLfloat *v2)
1152 {
1153     return gl::Rectfv(v1, v2);
1154 }
1155 
glRecti(GLint x1,GLint y1,GLint x2,GLint y2)1156 void GL_APIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
1157 {
1158     return gl::Recti(x1, y1, x2, y2);
1159 }
1160 
glRectiv(const GLint * v1,const GLint * v2)1161 void GL_APIENTRY glRectiv(const GLint *v1, const GLint *v2)
1162 {
1163     return gl::Rectiv(v1, v2);
1164 }
1165 
glRects(GLshort x1,GLshort y1,GLshort x2,GLshort y2)1166 void GL_APIENTRY glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
1167 {
1168     return gl::Rects(x1, y1, x2, y2);
1169 }
1170 
glRectsv(const GLshort * v1,const GLshort * v2)1171 void GL_APIENTRY glRectsv(const GLshort *v1, const GLshort *v2)
1172 {
1173     return gl::Rectsv(v1, v2);
1174 }
1175 
glRenderMode(GLenum mode)1176 GLint GL_APIENTRY glRenderMode(GLenum mode)
1177 {
1178     return gl::RenderMode(mode);
1179 }
1180 
glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)1181 void GL_APIENTRY glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
1182 {
1183     return gl::Rotated(angle, x, y, z);
1184 }
1185 
glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLfloat z)1186 void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
1187 {
1188     return gl::Rotatef(angle, x, y, z);
1189 }
1190 
glScaled(GLdouble x,GLdouble y,GLdouble z)1191 void GL_APIENTRY glScaled(GLdouble x, GLdouble y, GLdouble z)
1192 {
1193     return gl::Scaled(x, y, z);
1194 }
1195 
glScalef(GLfloat x,GLfloat y,GLfloat z)1196 void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z)
1197 {
1198     return gl::Scalef(x, y, z);
1199 }
1200 
glScissor(GLint x,GLint y,GLsizei width,GLsizei height)1201 void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
1202 {
1203     return gl::Scissor(x, y, width, height);
1204 }
1205 
glSelectBuffer(GLsizei size,GLuint * buffer)1206 void GL_APIENTRY glSelectBuffer(GLsizei size, GLuint *buffer)
1207 {
1208     return gl::SelectBuffer(size, buffer);
1209 }
1210 
glShadeModel(GLenum mode)1211 void GL_APIENTRY glShadeModel(GLenum mode)
1212 {
1213     return gl::ShadeModel(mode);
1214 }
1215 
glStencilFunc(GLenum func,GLint ref,GLuint mask)1216 void GL_APIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask)
1217 {
1218     return gl::StencilFunc(func, ref, mask);
1219 }
1220 
glStencilMask(GLuint mask)1221 void GL_APIENTRY glStencilMask(GLuint mask)
1222 {
1223     return gl::StencilMask(mask);
1224 }
1225 
glStencilOp(GLenum fail,GLenum zfail,GLenum zpass)1226 void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
1227 {
1228     return gl::StencilOp(fail, zfail, zpass);
1229 }
1230 
glTexCoord1d(GLdouble s)1231 void GL_APIENTRY glTexCoord1d(GLdouble s)
1232 {
1233     return gl::TexCoord1d(s);
1234 }
1235 
glTexCoord1dv(const GLdouble * v)1236 void GL_APIENTRY glTexCoord1dv(const GLdouble *v)
1237 {
1238     return gl::TexCoord1dv(v);
1239 }
1240 
glTexCoord1f(GLfloat s)1241 void GL_APIENTRY glTexCoord1f(GLfloat s)
1242 {
1243     return gl::TexCoord1f(s);
1244 }
1245 
glTexCoord1fv(const GLfloat * v)1246 void GL_APIENTRY glTexCoord1fv(const GLfloat *v)
1247 {
1248     return gl::TexCoord1fv(v);
1249 }
1250 
glTexCoord1i(GLint s)1251 void GL_APIENTRY glTexCoord1i(GLint s)
1252 {
1253     return gl::TexCoord1i(s);
1254 }
1255 
glTexCoord1iv(const GLint * v)1256 void GL_APIENTRY glTexCoord1iv(const GLint *v)
1257 {
1258     return gl::TexCoord1iv(v);
1259 }
1260 
glTexCoord1s(GLshort s)1261 void GL_APIENTRY glTexCoord1s(GLshort s)
1262 {
1263     return gl::TexCoord1s(s);
1264 }
1265 
glTexCoord1sv(const GLshort * v)1266 void GL_APIENTRY glTexCoord1sv(const GLshort *v)
1267 {
1268     return gl::TexCoord1sv(v);
1269 }
1270 
glTexCoord2d(GLdouble s,GLdouble t)1271 void GL_APIENTRY glTexCoord2d(GLdouble s, GLdouble t)
1272 {
1273     return gl::TexCoord2d(s, t);
1274 }
1275 
glTexCoord2dv(const GLdouble * v)1276 void GL_APIENTRY glTexCoord2dv(const GLdouble *v)
1277 {
1278     return gl::TexCoord2dv(v);
1279 }
1280 
glTexCoord2f(GLfloat s,GLfloat t)1281 void GL_APIENTRY glTexCoord2f(GLfloat s, GLfloat t)
1282 {
1283     return gl::TexCoord2f(s, t);
1284 }
1285 
glTexCoord2fv(const GLfloat * v)1286 void GL_APIENTRY glTexCoord2fv(const GLfloat *v)
1287 {
1288     return gl::TexCoord2fv(v);
1289 }
1290 
glTexCoord2i(GLint s,GLint t)1291 void GL_APIENTRY glTexCoord2i(GLint s, GLint t)
1292 {
1293     return gl::TexCoord2i(s, t);
1294 }
1295 
glTexCoord2iv(const GLint * v)1296 void GL_APIENTRY glTexCoord2iv(const GLint *v)
1297 {
1298     return gl::TexCoord2iv(v);
1299 }
1300 
glTexCoord2s(GLshort s,GLshort t)1301 void GL_APIENTRY glTexCoord2s(GLshort s, GLshort t)
1302 {
1303     return gl::TexCoord2s(s, t);
1304 }
1305 
glTexCoord2sv(const GLshort * v)1306 void GL_APIENTRY glTexCoord2sv(const GLshort *v)
1307 {
1308     return gl::TexCoord2sv(v);
1309 }
1310 
glTexCoord3d(GLdouble s,GLdouble t,GLdouble r)1311 void GL_APIENTRY glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
1312 {
1313     return gl::TexCoord3d(s, t, r);
1314 }
1315 
glTexCoord3dv(const GLdouble * v)1316 void GL_APIENTRY glTexCoord3dv(const GLdouble *v)
1317 {
1318     return gl::TexCoord3dv(v);
1319 }
1320 
glTexCoord3f(GLfloat s,GLfloat t,GLfloat r)1321 void GL_APIENTRY glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
1322 {
1323     return gl::TexCoord3f(s, t, r);
1324 }
1325 
glTexCoord3fv(const GLfloat * v)1326 void GL_APIENTRY glTexCoord3fv(const GLfloat *v)
1327 {
1328     return gl::TexCoord3fv(v);
1329 }
1330 
glTexCoord3i(GLint s,GLint t,GLint r)1331 void GL_APIENTRY glTexCoord3i(GLint s, GLint t, GLint r)
1332 {
1333     return gl::TexCoord3i(s, t, r);
1334 }
1335 
glTexCoord3iv(const GLint * v)1336 void GL_APIENTRY glTexCoord3iv(const GLint *v)
1337 {
1338     return gl::TexCoord3iv(v);
1339 }
1340 
glTexCoord3s(GLshort s,GLshort t,GLshort r)1341 void GL_APIENTRY glTexCoord3s(GLshort s, GLshort t, GLshort r)
1342 {
1343     return gl::TexCoord3s(s, t, r);
1344 }
1345 
glTexCoord3sv(const GLshort * v)1346 void GL_APIENTRY glTexCoord3sv(const GLshort *v)
1347 {
1348     return gl::TexCoord3sv(v);
1349 }
1350 
glTexCoord4d(GLdouble s,GLdouble t,GLdouble r,GLdouble q)1351 void GL_APIENTRY glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
1352 {
1353     return gl::TexCoord4d(s, t, r, q);
1354 }
1355 
glTexCoord4dv(const GLdouble * v)1356 void GL_APIENTRY glTexCoord4dv(const GLdouble *v)
1357 {
1358     return gl::TexCoord4dv(v);
1359 }
1360 
glTexCoord4f(GLfloat s,GLfloat t,GLfloat r,GLfloat q)1361 void GL_APIENTRY glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
1362 {
1363     return gl::TexCoord4f(s, t, r, q);
1364 }
1365 
glTexCoord4fv(const GLfloat * v)1366 void GL_APIENTRY glTexCoord4fv(const GLfloat *v)
1367 {
1368     return gl::TexCoord4fv(v);
1369 }
1370 
glTexCoord4i(GLint s,GLint t,GLint r,GLint q)1371 void GL_APIENTRY glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
1372 {
1373     return gl::TexCoord4i(s, t, r, q);
1374 }
1375 
glTexCoord4iv(const GLint * v)1376 void GL_APIENTRY glTexCoord4iv(const GLint *v)
1377 {
1378     return gl::TexCoord4iv(v);
1379 }
1380 
glTexCoord4s(GLshort s,GLshort t,GLshort r,GLshort q)1381 void GL_APIENTRY glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
1382 {
1383     return gl::TexCoord4s(s, t, r, q);
1384 }
1385 
glTexCoord4sv(const GLshort * v)1386 void GL_APIENTRY glTexCoord4sv(const GLshort *v)
1387 {
1388     return gl::TexCoord4sv(v);
1389 }
1390 
glTexEnvf(GLenum target,GLenum pname,GLfloat param)1391 void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1392 {
1393     return gl::TexEnvf(target, pname, param);
1394 }
1395 
glTexEnvfv(GLenum target,GLenum pname,const GLfloat * params)1396 void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
1397 {
1398     return gl::TexEnvfv(target, pname, params);
1399 }
1400 
glTexEnvi(GLenum target,GLenum pname,GLint param)1401 void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param)
1402 {
1403     return gl::TexEnvi(target, pname, param);
1404 }
1405 
glTexEnviv(GLenum target,GLenum pname,const GLint * params)1406 void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *params)
1407 {
1408     return gl::TexEnviv(target, pname, params);
1409 }
1410 
glTexGend(GLenum coord,GLenum pname,GLdouble param)1411 void GL_APIENTRY glTexGend(GLenum coord, GLenum pname, GLdouble param)
1412 {
1413     return gl::TexGend(coord, pname, param);
1414 }
1415 
glTexGendv(GLenum coord,GLenum pname,const GLdouble * params)1416 void GL_APIENTRY glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1417 {
1418     return gl::TexGendv(coord, pname, params);
1419 }
1420 
glTexGenf(GLenum coord,GLenum pname,GLfloat param)1421 void GL_APIENTRY glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1422 {
1423     return gl::TexGenf(coord, pname, param);
1424 }
1425 
glTexGenfv(GLenum coord,GLenum pname,const GLfloat * params)1426 void GL_APIENTRY glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1427 {
1428     return gl::TexGenfv(coord, pname, params);
1429 }
1430 
glTexGeni(GLenum coord,GLenum pname,GLint param)1431 void GL_APIENTRY glTexGeni(GLenum coord, GLenum pname, GLint param)
1432 {
1433     return gl::TexGeni(coord, pname, param);
1434 }
1435 
glTexGeniv(GLenum coord,GLenum pname,const GLint * params)1436 void GL_APIENTRY glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1437 {
1438     return gl::TexGeniv(coord, pname, params);
1439 }
1440 
glTexImage1D(GLenum target,GLint level,GLint internalformat,GLsizei width,GLint border,GLenum format,GLenum type,const void * pixels)1441 void GL_APIENTRY glTexImage1D(GLenum target,
1442                               GLint level,
1443                               GLint internalformat,
1444                               GLsizei width,
1445                               GLint border,
1446                               GLenum format,
1447                               GLenum type,
1448                               const void *pixels)
1449 {
1450     return gl::TexImage1D(target, level, internalformat, width, border, format, type, pixels);
1451 }
1452 
glTexImage2D(GLenum target,GLint level,GLint internalformat,GLsizei width,GLsizei height,GLint border,GLenum format,GLenum type,const void * pixels)1453 void GL_APIENTRY glTexImage2D(GLenum target,
1454                               GLint level,
1455                               GLint internalformat,
1456                               GLsizei width,
1457                               GLsizei height,
1458                               GLint border,
1459                               GLenum format,
1460                               GLenum type,
1461                               const void *pixels)
1462 {
1463     return gl::TexImage2D(target, level, internalformat, width, height, border, format, type,
1464                           pixels);
1465 }
1466 
glTexParameterf(GLenum target,GLenum pname,GLfloat param)1467 void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param)
1468 {
1469     return gl::TexParameterf(target, pname, param);
1470 }
1471 
glTexParameterfv(GLenum target,GLenum pname,const GLfloat * params)1472 void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1473 {
1474     return gl::TexParameterfv(target, pname, params);
1475 }
1476 
glTexParameteri(GLenum target,GLenum pname,GLint param)1477 void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param)
1478 {
1479     return gl::TexParameteri(target, pname, param);
1480 }
1481 
glTexParameteriv(GLenum target,GLenum pname,const GLint * params)1482 void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
1483 {
1484     return gl::TexParameteriv(target, pname, params);
1485 }
1486 
glTranslated(GLdouble x,GLdouble y,GLdouble z)1487 void GL_APIENTRY glTranslated(GLdouble x, GLdouble y, GLdouble z)
1488 {
1489     return gl::Translated(x, y, z);
1490 }
1491 
glTranslatef(GLfloat x,GLfloat y,GLfloat z)1492 void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z)
1493 {
1494     return gl::Translatef(x, y, z);
1495 }
1496 
glVertex2d(GLdouble x,GLdouble y)1497 void GL_APIENTRY glVertex2d(GLdouble x, GLdouble y)
1498 {
1499     return gl::Vertex2d(x, y);
1500 }
1501 
glVertex2dv(const GLdouble * v)1502 void GL_APIENTRY glVertex2dv(const GLdouble *v)
1503 {
1504     return gl::Vertex2dv(v);
1505 }
1506 
glVertex2f(GLfloat x,GLfloat y)1507 void GL_APIENTRY glVertex2f(GLfloat x, GLfloat y)
1508 {
1509     return gl::Vertex2f(x, y);
1510 }
1511 
glVertex2fv(const GLfloat * v)1512 void GL_APIENTRY glVertex2fv(const GLfloat *v)
1513 {
1514     return gl::Vertex2fv(v);
1515 }
1516 
glVertex2i(GLint x,GLint y)1517 void GL_APIENTRY glVertex2i(GLint x, GLint y)
1518 {
1519     return gl::Vertex2i(x, y);
1520 }
1521 
glVertex2iv(const GLint * v)1522 void GL_APIENTRY glVertex2iv(const GLint *v)
1523 {
1524     return gl::Vertex2iv(v);
1525 }
1526 
glVertex2s(GLshort x,GLshort y)1527 void GL_APIENTRY glVertex2s(GLshort x, GLshort y)
1528 {
1529     return gl::Vertex2s(x, y);
1530 }
1531 
glVertex2sv(const GLshort * v)1532 void GL_APIENTRY glVertex2sv(const GLshort *v)
1533 {
1534     return gl::Vertex2sv(v);
1535 }
1536 
glVertex3d(GLdouble x,GLdouble y,GLdouble z)1537 void GL_APIENTRY glVertex3d(GLdouble x, GLdouble y, GLdouble z)
1538 {
1539     return gl::Vertex3d(x, y, z);
1540 }
1541 
glVertex3dv(const GLdouble * v)1542 void GL_APIENTRY glVertex3dv(const GLdouble *v)
1543 {
1544     return gl::Vertex3dv(v);
1545 }
1546 
glVertex3f(GLfloat x,GLfloat y,GLfloat z)1547 void GL_APIENTRY glVertex3f(GLfloat x, GLfloat y, GLfloat z)
1548 {
1549     return gl::Vertex3f(x, y, z);
1550 }
1551 
glVertex3fv(const GLfloat * v)1552 void GL_APIENTRY glVertex3fv(const GLfloat *v)
1553 {
1554     return gl::Vertex3fv(v);
1555 }
1556 
glVertex3i(GLint x,GLint y,GLint z)1557 void GL_APIENTRY glVertex3i(GLint x, GLint y, GLint z)
1558 {
1559     return gl::Vertex3i(x, y, z);
1560 }
1561 
glVertex3iv(const GLint * v)1562 void GL_APIENTRY glVertex3iv(const GLint *v)
1563 {
1564     return gl::Vertex3iv(v);
1565 }
1566 
glVertex3s(GLshort x,GLshort y,GLshort z)1567 void GL_APIENTRY glVertex3s(GLshort x, GLshort y, GLshort z)
1568 {
1569     return gl::Vertex3s(x, y, z);
1570 }
1571 
glVertex3sv(const GLshort * v)1572 void GL_APIENTRY glVertex3sv(const GLshort *v)
1573 {
1574     return gl::Vertex3sv(v);
1575 }
1576 
glVertex4d(GLdouble x,GLdouble y,GLdouble z,GLdouble w)1577 void GL_APIENTRY glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1578 {
1579     return gl::Vertex4d(x, y, z, w);
1580 }
1581 
glVertex4dv(const GLdouble * v)1582 void GL_APIENTRY glVertex4dv(const GLdouble *v)
1583 {
1584     return gl::Vertex4dv(v);
1585 }
1586 
glVertex4f(GLfloat x,GLfloat y,GLfloat z,GLfloat w)1587 void GL_APIENTRY glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1588 {
1589     return gl::Vertex4f(x, y, z, w);
1590 }
1591 
glVertex4fv(const GLfloat * v)1592 void GL_APIENTRY glVertex4fv(const GLfloat *v)
1593 {
1594     return gl::Vertex4fv(v);
1595 }
1596 
glVertex4i(GLint x,GLint y,GLint z,GLint w)1597 void GL_APIENTRY glVertex4i(GLint x, GLint y, GLint z, GLint w)
1598 {
1599     return gl::Vertex4i(x, y, z, w);
1600 }
1601 
glVertex4iv(const GLint * v)1602 void GL_APIENTRY glVertex4iv(const GLint *v)
1603 {
1604     return gl::Vertex4iv(v);
1605 }
1606 
glVertex4s(GLshort x,GLshort y,GLshort z,GLshort w)1607 void GL_APIENTRY glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
1608 {
1609     return gl::Vertex4s(x, y, z, w);
1610 }
1611 
glVertex4sv(const GLshort * v)1612 void GL_APIENTRY glVertex4sv(const GLshort *v)
1613 {
1614     return gl::Vertex4sv(v);
1615 }
1616 
glViewport(GLint x,GLint y,GLsizei width,GLsizei height)1617 void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
1618 {
1619     return gl::Viewport(x, y, width, height);
1620 }
1621 
1622 // GL 1.1
glAreTexturesResident(GLsizei n,const GLuint * textures,GLboolean * residences)1623 GLboolean GL_APIENTRY glAreTexturesResident(GLsizei n,
1624                                             const GLuint *textures,
1625                                             GLboolean *residences)
1626 {
1627     return gl::AreTexturesResident(n, textures, residences);
1628 }
1629 
glArrayElement(GLint i)1630 void GL_APIENTRY glArrayElement(GLint i)
1631 {
1632     return gl::ArrayElement(i);
1633 }
1634 
glBindTexture(GLenum target,GLuint texture)1635 void GL_APIENTRY glBindTexture(GLenum target, GLuint texture)
1636 {
1637     return gl::BindTexture(target, texture);
1638 }
1639 
glColorPointer(GLint size,GLenum type,GLsizei stride,const void * pointer)1640 void GL_APIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
1641 {
1642     return gl::ColorPointer(size, type, stride, pointer);
1643 }
1644 
glCopyTexImage1D(GLenum target,GLint level,GLenum internalformat,GLint x,GLint y,GLsizei width,GLint border)1645 void GL_APIENTRY glCopyTexImage1D(GLenum target,
1646                                   GLint level,
1647                                   GLenum internalformat,
1648                                   GLint x,
1649                                   GLint y,
1650                                   GLsizei width,
1651                                   GLint border)
1652 {
1653     return gl::CopyTexImage1D(target, level, internalformat, x, y, width, border);
1654 }
1655 
glCopyTexImage2D(GLenum target,GLint level,GLenum internalformat,GLint x,GLint y,GLsizei width,GLsizei height,GLint border)1656 void GL_APIENTRY glCopyTexImage2D(GLenum target,
1657                                   GLint level,
1658                                   GLenum internalformat,
1659                                   GLint x,
1660                                   GLint y,
1661                                   GLsizei width,
1662                                   GLsizei height,
1663                                   GLint border)
1664 {
1665     return gl::CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
1666 }
1667 
1668 void GL_APIENTRY
glCopyTexSubImage1D(GLenum target,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)1669 glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
1670 {
1671     return gl::CopyTexSubImage1D(target, level, xoffset, x, y, width);
1672 }
1673 
glCopyTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint x,GLint y,GLsizei width,GLsizei height)1674 void GL_APIENTRY glCopyTexSubImage2D(GLenum target,
1675                                      GLint level,
1676                                      GLint xoffset,
1677                                      GLint yoffset,
1678                                      GLint x,
1679                                      GLint y,
1680                                      GLsizei width,
1681                                      GLsizei height)
1682 {
1683     return gl::CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
1684 }
1685 
glDeleteTextures(GLsizei n,const GLuint * textures)1686 void GL_APIENTRY glDeleteTextures(GLsizei n, const GLuint *textures)
1687 {
1688     return gl::DeleteTextures(n, textures);
1689 }
1690 
glDisableClientState(GLenum array)1691 void GL_APIENTRY glDisableClientState(GLenum array)
1692 {
1693     return gl::DisableClientState(array);
1694 }
1695 
glDrawArrays(GLenum mode,GLint first,GLsizei count)1696 void GL_APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count)
1697 {
1698     return gl::DrawArrays(mode, first, count);
1699 }
1700 
glDrawElements(GLenum mode,GLsizei count,GLenum type,const void * indices)1701 void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const void *indices)
1702 {
1703     return gl::DrawElements(mode, count, type, indices);
1704 }
1705 
glEdgeFlagPointer(GLsizei stride,const void * pointer)1706 void GL_APIENTRY glEdgeFlagPointer(GLsizei stride, const void *pointer)
1707 {
1708     return gl::EdgeFlagPointer(stride, pointer);
1709 }
1710 
glEnableClientState(GLenum array)1711 void GL_APIENTRY glEnableClientState(GLenum array)
1712 {
1713     return gl::EnableClientState(array);
1714 }
1715 
glGenTextures(GLsizei n,GLuint * textures)1716 void GL_APIENTRY glGenTextures(GLsizei n, GLuint *textures)
1717 {
1718     return gl::GenTextures(n, textures);
1719 }
1720 
glGetPointerv(GLenum pname,void ** params)1721 void GL_APIENTRY glGetPointerv(GLenum pname, void **params)
1722 {
1723     return gl::GetPointerv(pname, params);
1724 }
1725 
glIndexPointer(GLenum type,GLsizei stride,const void * pointer)1726 void GL_APIENTRY glIndexPointer(GLenum type, GLsizei stride, const void *pointer)
1727 {
1728     return gl::IndexPointer(type, stride, pointer);
1729 }
1730 
glIndexub(GLubyte c)1731 void GL_APIENTRY glIndexub(GLubyte c)
1732 {
1733     return gl::Indexub(c);
1734 }
1735 
glIndexubv(const GLubyte * c)1736 void GL_APIENTRY glIndexubv(const GLubyte *c)
1737 {
1738     return gl::Indexubv(c);
1739 }
1740 
glInterleavedArrays(GLenum format,GLsizei stride,const void * pointer)1741 void GL_APIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const void *pointer)
1742 {
1743     return gl::InterleavedArrays(format, stride, pointer);
1744 }
1745 
glIsTexture(GLuint texture)1746 GLboolean GL_APIENTRY glIsTexture(GLuint texture)
1747 {
1748     return gl::IsTexture(texture);
1749 }
1750 
glNormalPointer(GLenum type,GLsizei stride,const void * pointer)1751 void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride, const void *pointer)
1752 {
1753     return gl::NormalPointer(type, stride, pointer);
1754 }
1755 
glPolygonOffset(GLfloat factor,GLfloat units)1756 void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units)
1757 {
1758     return gl::PolygonOffset(factor, units);
1759 }
1760 
glPopClientAttrib()1761 void GL_APIENTRY glPopClientAttrib()
1762 {
1763     return gl::PopClientAttrib();
1764 }
1765 
glPrioritizeTextures(GLsizei n,const GLuint * textures,const GLfloat * priorities)1766 void GL_APIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
1767 {
1768     return gl::PrioritizeTextures(n, textures, priorities);
1769 }
1770 
glPushClientAttrib(GLbitfield mask)1771 void GL_APIENTRY glPushClientAttrib(GLbitfield mask)
1772 {
1773     return gl::PushClientAttrib(mask);
1774 }
1775 
glTexCoordPointer(GLint size,GLenum type,GLsizei stride,const void * pointer)1776 void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
1777 {
1778     return gl::TexCoordPointer(size, type, stride, pointer);
1779 }
1780 
glTexSubImage1D(GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)1781 void GL_APIENTRY glTexSubImage1D(GLenum target,
1782                                  GLint level,
1783                                  GLint xoffset,
1784                                  GLsizei width,
1785                                  GLenum format,
1786                                  GLenum type,
1787                                  const void *pixels)
1788 {
1789     return gl::TexSubImage1D(target, level, xoffset, width, format, type, pixels);
1790 }
1791 
glTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const void * pixels)1792 void GL_APIENTRY glTexSubImage2D(GLenum target,
1793                                  GLint level,
1794                                  GLint xoffset,
1795                                  GLint yoffset,
1796                                  GLsizei width,
1797                                  GLsizei height,
1798                                  GLenum format,
1799                                  GLenum type,
1800                                  const void *pixels)
1801 {
1802     return gl::TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
1803 }
1804 
glVertexPointer(GLint size,GLenum type,GLsizei stride,const void * pointer)1805 void GL_APIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const void *pointer)
1806 {
1807     return gl::VertexPointer(size, type, stride, pointer);
1808 }
1809 
1810 // GL 1.2
glCopyTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)1811 void GL_APIENTRY glCopyTexSubImage3D(GLenum target,
1812                                      GLint level,
1813                                      GLint xoffset,
1814                                      GLint yoffset,
1815                                      GLint zoffset,
1816                                      GLint x,
1817                                      GLint y,
1818                                      GLsizei width,
1819                                      GLsizei height)
1820 {
1821     return gl::CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1822 }
1823 
glDrawRangeElements(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void * indices)1824 void GL_APIENTRY glDrawRangeElements(GLenum mode,
1825                                      GLuint start,
1826                                      GLuint end,
1827                                      GLsizei count,
1828                                      GLenum type,
1829                                      const void *indices)
1830 {
1831     return gl::DrawRangeElements(mode, start, end, count, type, indices);
1832 }
1833 
glTexImage3D(GLenum target,GLint level,GLint internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLenum format,GLenum type,const void * pixels)1834 void GL_APIENTRY glTexImage3D(GLenum target,
1835                               GLint level,
1836                               GLint internalformat,
1837                               GLsizei width,
1838                               GLsizei height,
1839                               GLsizei depth,
1840                               GLint border,
1841                               GLenum format,
1842                               GLenum type,
1843                               const void *pixels)
1844 {
1845     return gl::TexImage3D(target, level, internalformat, width, height, depth, border, format, type,
1846                           pixels);
1847 }
1848 
glTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * pixels)1849 void GL_APIENTRY glTexSubImage3D(GLenum target,
1850                                  GLint level,
1851                                  GLint xoffset,
1852                                  GLint yoffset,
1853                                  GLint zoffset,
1854                                  GLsizei width,
1855                                  GLsizei height,
1856                                  GLsizei depth,
1857                                  GLenum format,
1858                                  GLenum type,
1859                                  const void *pixels)
1860 {
1861     return gl::TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format,
1862                              type, pixels);
1863 }
1864 
1865 // GL 1.3
glActiveTexture(GLenum texture)1866 void GL_APIENTRY glActiveTexture(GLenum texture)
1867 {
1868     return gl::ActiveTexture(texture);
1869 }
1870 
glClientActiveTexture(GLenum texture)1871 void GL_APIENTRY glClientActiveTexture(GLenum texture)
1872 {
1873     return gl::ClientActiveTexture(texture);
1874 }
1875 
glCompressedTexImage1D(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLint border,GLsizei imageSize,const void * data)1876 void GL_APIENTRY glCompressedTexImage1D(GLenum target,
1877                                         GLint level,
1878                                         GLenum internalformat,
1879                                         GLsizei width,
1880                                         GLint border,
1881                                         GLsizei imageSize,
1882                                         const void *data)
1883 {
1884     return gl::CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
1885 }
1886 
glCompressedTexImage2D(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLint border,GLsizei imageSize,const void * data)1887 void GL_APIENTRY glCompressedTexImage2D(GLenum target,
1888                                         GLint level,
1889                                         GLenum internalformat,
1890                                         GLsizei width,
1891                                         GLsizei height,
1892                                         GLint border,
1893                                         GLsizei imageSize,
1894                                         const void *data)
1895 {
1896     return gl::CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize,
1897                                     data);
1898 }
1899 
glCompressedTexImage3D(GLenum target,GLint level,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLint border,GLsizei imageSize,const void * data)1900 void GL_APIENTRY glCompressedTexImage3D(GLenum target,
1901                                         GLint level,
1902                                         GLenum internalformat,
1903                                         GLsizei width,
1904                                         GLsizei height,
1905                                         GLsizei depth,
1906                                         GLint border,
1907                                         GLsizei imageSize,
1908                                         const void *data)
1909 {
1910     return gl::CompressedTexImage3D(target, level, internalformat, width, height, depth, border,
1911                                     imageSize, data);
1912 }
1913 
glCompressedTexSubImage1D(GLenum target,GLint level,GLint xoffset,GLsizei width,GLenum format,GLsizei imageSize,const void * data)1914 void GL_APIENTRY glCompressedTexSubImage1D(GLenum target,
1915                                            GLint level,
1916                                            GLint xoffset,
1917                                            GLsizei width,
1918                                            GLenum format,
1919                                            GLsizei imageSize,
1920                                            const void *data)
1921 {
1922     return gl::CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
1923 }
1924 
glCompressedTexSubImage2D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,const void * data)1925 void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
1926                                            GLint level,
1927                                            GLint xoffset,
1928                                            GLint yoffset,
1929                                            GLsizei width,
1930                                            GLsizei height,
1931                                            GLenum format,
1932                                            GLsizei imageSize,
1933                                            const void *data)
1934 {
1935     return gl::CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format,
1936                                        imageSize, data);
1937 }
1938 
glCompressedTexSubImage3D(GLenum target,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const void * data)1939 void GL_APIENTRY glCompressedTexSubImage3D(GLenum target,
1940                                            GLint level,
1941                                            GLint xoffset,
1942                                            GLint yoffset,
1943                                            GLint zoffset,
1944                                            GLsizei width,
1945                                            GLsizei height,
1946                                            GLsizei depth,
1947                                            GLenum format,
1948                                            GLsizei imageSize,
1949                                            const void *data)
1950 {
1951     return gl::CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height,
1952                                        depth, format, imageSize, data);
1953 }
1954 
glGetCompressedTexImage(GLenum target,GLint level,void * img)1955 void GL_APIENTRY glGetCompressedTexImage(GLenum target, GLint level, void *img)
1956 {
1957     return gl::GetCompressedTexImage(target, level, img);
1958 }
1959 
glLoadTransposeMatrixd(const GLdouble * m)1960 void GL_APIENTRY glLoadTransposeMatrixd(const GLdouble *m)
1961 {
1962     return gl::LoadTransposeMatrixd(m);
1963 }
1964 
glLoadTransposeMatrixf(const GLfloat * m)1965 void GL_APIENTRY glLoadTransposeMatrixf(const GLfloat *m)
1966 {
1967     return gl::LoadTransposeMatrixf(m);
1968 }
1969 
glMultTransposeMatrixd(const GLdouble * m)1970 void GL_APIENTRY glMultTransposeMatrixd(const GLdouble *m)
1971 {
1972     return gl::MultTransposeMatrixd(m);
1973 }
1974 
glMultTransposeMatrixf(const GLfloat * m)1975 void GL_APIENTRY glMultTransposeMatrixf(const GLfloat *m)
1976 {
1977     return gl::MultTransposeMatrixf(m);
1978 }
1979 
glMultiTexCoord1d(GLenum target,GLdouble s)1980 void GL_APIENTRY glMultiTexCoord1d(GLenum target, GLdouble s)
1981 {
1982     return gl::MultiTexCoord1d(target, s);
1983 }
1984 
glMultiTexCoord1dv(GLenum target,const GLdouble * v)1985 void GL_APIENTRY glMultiTexCoord1dv(GLenum target, const GLdouble *v)
1986 {
1987     return gl::MultiTexCoord1dv(target, v);
1988 }
1989 
glMultiTexCoord1f(GLenum target,GLfloat s)1990 void GL_APIENTRY glMultiTexCoord1f(GLenum target, GLfloat s)
1991 {
1992     return gl::MultiTexCoord1f(target, s);
1993 }
1994 
glMultiTexCoord1fv(GLenum target,const GLfloat * v)1995 void GL_APIENTRY glMultiTexCoord1fv(GLenum target, const GLfloat *v)
1996 {
1997     return gl::MultiTexCoord1fv(target, v);
1998 }
1999 
glMultiTexCoord1i(GLenum target,GLint s)2000 void GL_APIENTRY glMultiTexCoord1i(GLenum target, GLint s)
2001 {
2002     return gl::MultiTexCoord1i(target, s);
2003 }
2004 
glMultiTexCoord1iv(GLenum target,const GLint * v)2005 void GL_APIENTRY glMultiTexCoord1iv(GLenum target, const GLint *v)
2006 {
2007     return gl::MultiTexCoord1iv(target, v);
2008 }
2009 
glMultiTexCoord1s(GLenum target,GLshort s)2010 void GL_APIENTRY glMultiTexCoord1s(GLenum target, GLshort s)
2011 {
2012     return gl::MultiTexCoord1s(target, s);
2013 }
2014 
glMultiTexCoord1sv(GLenum target,const GLshort * v)2015 void GL_APIENTRY glMultiTexCoord1sv(GLenum target, const GLshort *v)
2016 {
2017     return gl::MultiTexCoord1sv(target, v);
2018 }
2019 
glMultiTexCoord2d(GLenum target,GLdouble s,GLdouble t)2020 void GL_APIENTRY glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t)
2021 {
2022     return gl::MultiTexCoord2d(target, s, t);
2023 }
2024 
glMultiTexCoord2dv(GLenum target,const GLdouble * v)2025 void GL_APIENTRY glMultiTexCoord2dv(GLenum target, const GLdouble *v)
2026 {
2027     return gl::MultiTexCoord2dv(target, v);
2028 }
2029 
glMultiTexCoord2f(GLenum target,GLfloat s,GLfloat t)2030 void GL_APIENTRY glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
2031 {
2032     return gl::MultiTexCoord2f(target, s, t);
2033 }
2034 
glMultiTexCoord2fv(GLenum target,const GLfloat * v)2035 void GL_APIENTRY glMultiTexCoord2fv(GLenum target, const GLfloat *v)
2036 {
2037     return gl::MultiTexCoord2fv(target, v);
2038 }
2039 
glMultiTexCoord2i(GLenum target,GLint s,GLint t)2040 void GL_APIENTRY glMultiTexCoord2i(GLenum target, GLint s, GLint t)
2041 {
2042     return gl::MultiTexCoord2i(target, s, t);
2043 }
2044 
glMultiTexCoord2iv(GLenum target,const GLint * v)2045 void GL_APIENTRY glMultiTexCoord2iv(GLenum target, const GLint *v)
2046 {
2047     return gl::MultiTexCoord2iv(target, v);
2048 }
2049 
glMultiTexCoord2s(GLenum target,GLshort s,GLshort t)2050 void GL_APIENTRY glMultiTexCoord2s(GLenum target, GLshort s, GLshort t)
2051 {
2052     return gl::MultiTexCoord2s(target, s, t);
2053 }
2054 
glMultiTexCoord2sv(GLenum target,const GLshort * v)2055 void GL_APIENTRY glMultiTexCoord2sv(GLenum target, const GLshort *v)
2056 {
2057     return gl::MultiTexCoord2sv(target, v);
2058 }
2059 
glMultiTexCoord3d(GLenum target,GLdouble s,GLdouble t,GLdouble r)2060 void GL_APIENTRY glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r)
2061 {
2062     return gl::MultiTexCoord3d(target, s, t, r);
2063 }
2064 
glMultiTexCoord3dv(GLenum target,const GLdouble * v)2065 void GL_APIENTRY glMultiTexCoord3dv(GLenum target, const GLdouble *v)
2066 {
2067     return gl::MultiTexCoord3dv(target, v);
2068 }
2069 
glMultiTexCoord3f(GLenum target,GLfloat s,GLfloat t,GLfloat r)2070 void GL_APIENTRY glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r)
2071 {
2072     return gl::MultiTexCoord3f(target, s, t, r);
2073 }
2074 
glMultiTexCoord3fv(GLenum target,const GLfloat * v)2075 void GL_APIENTRY glMultiTexCoord3fv(GLenum target, const GLfloat *v)
2076 {
2077     return gl::MultiTexCoord3fv(target, v);
2078 }
2079 
glMultiTexCoord3i(GLenum target,GLint s,GLint t,GLint r)2080 void GL_APIENTRY glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r)
2081 {
2082     return gl::MultiTexCoord3i(target, s, t, r);
2083 }
2084 
glMultiTexCoord3iv(GLenum target,const GLint * v)2085 void GL_APIENTRY glMultiTexCoord3iv(GLenum target, const GLint *v)
2086 {
2087     return gl::MultiTexCoord3iv(target, v);
2088 }
2089 
glMultiTexCoord3s(GLenum target,GLshort s,GLshort t,GLshort r)2090 void GL_APIENTRY glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r)
2091 {
2092     return gl::MultiTexCoord3s(target, s, t, r);
2093 }
2094 
glMultiTexCoord3sv(GLenum target,const GLshort * v)2095 void GL_APIENTRY glMultiTexCoord3sv(GLenum target, const GLshort *v)
2096 {
2097     return gl::MultiTexCoord3sv(target, v);
2098 }
2099 
glMultiTexCoord4d(GLenum target,GLdouble s,GLdouble t,GLdouble r,GLdouble q)2100 void GL_APIENTRY glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
2101 {
2102     return gl::MultiTexCoord4d(target, s, t, r, q);
2103 }
2104 
glMultiTexCoord4dv(GLenum target,const GLdouble * v)2105 void GL_APIENTRY glMultiTexCoord4dv(GLenum target, const GLdouble *v)
2106 {
2107     return gl::MultiTexCoord4dv(target, v);
2108 }
2109 
glMultiTexCoord4f(GLenum target,GLfloat s,GLfloat t,GLfloat r,GLfloat q)2110 void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
2111 {
2112     return gl::MultiTexCoord4f(target, s, t, r, q);
2113 }
2114 
glMultiTexCoord4fv(GLenum target,const GLfloat * v)2115 void GL_APIENTRY glMultiTexCoord4fv(GLenum target, const GLfloat *v)
2116 {
2117     return gl::MultiTexCoord4fv(target, v);
2118 }
2119 
glMultiTexCoord4i(GLenum target,GLint s,GLint t,GLint r,GLint q)2120 void GL_APIENTRY glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q)
2121 {
2122     return gl::MultiTexCoord4i(target, s, t, r, q);
2123 }
2124 
glMultiTexCoord4iv(GLenum target,const GLint * v)2125 void GL_APIENTRY glMultiTexCoord4iv(GLenum target, const GLint *v)
2126 {
2127     return gl::MultiTexCoord4iv(target, v);
2128 }
2129 
glMultiTexCoord4s(GLenum target,GLshort s,GLshort t,GLshort r,GLshort q)2130 void GL_APIENTRY glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
2131 {
2132     return gl::MultiTexCoord4s(target, s, t, r, q);
2133 }
2134 
glMultiTexCoord4sv(GLenum target,const GLshort * v)2135 void GL_APIENTRY glMultiTexCoord4sv(GLenum target, const GLshort *v)
2136 {
2137     return gl::MultiTexCoord4sv(target, v);
2138 }
2139 
glSampleCoverage(GLfloat value,GLboolean invert)2140 void GL_APIENTRY glSampleCoverage(GLfloat value, GLboolean invert)
2141 {
2142     return gl::SampleCoverage(value, invert);
2143 }
2144 
2145 // GL 1.4
glBlendColor(GLfloat red,GLfloat green,GLfloat blue,GLfloat alpha)2146 void GL_APIENTRY glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
2147 {
2148     return gl::BlendColor(red, green, blue, alpha);
2149 }
2150 
glBlendEquation(GLenum mode)2151 void GL_APIENTRY glBlendEquation(GLenum mode)
2152 {
2153     return gl::BlendEquation(mode);
2154 }
2155 
glBlendFuncSeparate(GLenum sfactorRGB,GLenum dfactorRGB,GLenum sfactorAlpha,GLenum dfactorAlpha)2156 void GL_APIENTRY glBlendFuncSeparate(GLenum sfactorRGB,
2157                                      GLenum dfactorRGB,
2158                                      GLenum sfactorAlpha,
2159                                      GLenum dfactorAlpha)
2160 {
2161     return gl::BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
2162 }
2163 
glFogCoordPointer(GLenum type,GLsizei stride,const void * pointer)2164 void GL_APIENTRY glFogCoordPointer(GLenum type, GLsizei stride, const void *pointer)
2165 {
2166     return gl::FogCoordPointer(type, stride, pointer);
2167 }
2168 
glFogCoordd(GLdouble coord)2169 void GL_APIENTRY glFogCoordd(GLdouble coord)
2170 {
2171     return gl::FogCoordd(coord);
2172 }
2173 
glFogCoorddv(const GLdouble * coord)2174 void GL_APIENTRY glFogCoorddv(const GLdouble *coord)
2175 {
2176     return gl::FogCoorddv(coord);
2177 }
2178 
glFogCoordf(GLfloat coord)2179 void GL_APIENTRY glFogCoordf(GLfloat coord)
2180 {
2181     return gl::FogCoordf(coord);
2182 }
2183 
glFogCoordfv(const GLfloat * coord)2184 void GL_APIENTRY glFogCoordfv(const GLfloat *coord)
2185 {
2186     return gl::FogCoordfv(coord);
2187 }
2188 
glMultiDrawArrays(GLenum mode,const GLint * first,const GLsizei * count,GLsizei drawcount)2189 void GL_APIENTRY glMultiDrawArrays(GLenum mode,
2190                                    const GLint *first,
2191                                    const GLsizei *count,
2192                                    GLsizei drawcount)
2193 {
2194     return gl::MultiDrawArrays(mode, first, count, drawcount);
2195 }
2196 
glMultiDrawElements(GLenum mode,const GLsizei * count,GLenum type,const void * const * indices,GLsizei drawcount)2197 void GL_APIENTRY glMultiDrawElements(GLenum mode,
2198                                      const GLsizei *count,
2199                                      GLenum type,
2200                                      const void *const *indices,
2201                                      GLsizei drawcount)
2202 {
2203     return gl::MultiDrawElements(mode, count, type, indices, drawcount);
2204 }
2205 
glPointParameterf(GLenum pname,GLfloat param)2206 void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param)
2207 {
2208     return gl::PointParameterf(pname, param);
2209 }
2210 
glPointParameterfv(GLenum pname,const GLfloat * params)2211 void GL_APIENTRY glPointParameterfv(GLenum pname, const GLfloat *params)
2212 {
2213     return gl::PointParameterfv(pname, params);
2214 }
2215 
glPointParameteri(GLenum pname,GLint param)2216 void GL_APIENTRY glPointParameteri(GLenum pname, GLint param)
2217 {
2218     return gl::PointParameteri(pname, param);
2219 }
2220 
glPointParameteriv(GLenum pname,const GLint * params)2221 void GL_APIENTRY glPointParameteriv(GLenum pname, const GLint *params)
2222 {
2223     return gl::PointParameteriv(pname, params);
2224 }
2225 
glSecondaryColor3b(GLbyte red,GLbyte green,GLbyte blue)2226 void GL_APIENTRY glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue)
2227 {
2228     return gl::SecondaryColor3b(red, green, blue);
2229 }
2230 
glSecondaryColor3bv(const GLbyte * v)2231 void GL_APIENTRY glSecondaryColor3bv(const GLbyte *v)
2232 {
2233     return gl::SecondaryColor3bv(v);
2234 }
2235 
glSecondaryColor3d(GLdouble red,GLdouble green,GLdouble blue)2236 void GL_APIENTRY glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue)
2237 {
2238     return gl::SecondaryColor3d(red, green, blue);
2239 }
2240 
glSecondaryColor3dv(const GLdouble * v)2241 void GL_APIENTRY glSecondaryColor3dv(const GLdouble *v)
2242 {
2243     return gl::SecondaryColor3dv(v);
2244 }
2245 
glSecondaryColor3f(GLfloat red,GLfloat green,GLfloat blue)2246 void GL_APIENTRY glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue)
2247 {
2248     return gl::SecondaryColor3f(red, green, blue);
2249 }
2250 
glSecondaryColor3fv(const GLfloat * v)2251 void GL_APIENTRY glSecondaryColor3fv(const GLfloat *v)
2252 {
2253     return gl::SecondaryColor3fv(v);
2254 }
2255 
glSecondaryColor3i(GLint red,GLint green,GLint blue)2256 void GL_APIENTRY glSecondaryColor3i(GLint red, GLint green, GLint blue)
2257 {
2258     return gl::SecondaryColor3i(red, green, blue);
2259 }
2260 
glSecondaryColor3iv(const GLint * v)2261 void GL_APIENTRY glSecondaryColor3iv(const GLint *v)
2262 {
2263     return gl::SecondaryColor3iv(v);
2264 }
2265 
glSecondaryColor3s(GLshort red,GLshort green,GLshort blue)2266 void GL_APIENTRY glSecondaryColor3s(GLshort red, GLshort green, GLshort blue)
2267 {
2268     return gl::SecondaryColor3s(red, green, blue);
2269 }
2270 
glSecondaryColor3sv(const GLshort * v)2271 void GL_APIENTRY glSecondaryColor3sv(const GLshort *v)
2272 {
2273     return gl::SecondaryColor3sv(v);
2274 }
2275 
glSecondaryColor3ub(GLubyte red,GLubyte green,GLubyte blue)2276 void GL_APIENTRY glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue)
2277 {
2278     return gl::SecondaryColor3ub(red, green, blue);
2279 }
2280 
glSecondaryColor3ubv(const GLubyte * v)2281 void GL_APIENTRY glSecondaryColor3ubv(const GLubyte *v)
2282 {
2283     return gl::SecondaryColor3ubv(v);
2284 }
2285 
glSecondaryColor3ui(GLuint red,GLuint green,GLuint blue)2286 void GL_APIENTRY glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue)
2287 {
2288     return gl::SecondaryColor3ui(red, green, blue);
2289 }
2290 
glSecondaryColor3uiv(const GLuint * v)2291 void GL_APIENTRY glSecondaryColor3uiv(const GLuint *v)
2292 {
2293     return gl::SecondaryColor3uiv(v);
2294 }
2295 
glSecondaryColor3us(GLushort red,GLushort green,GLushort blue)2296 void GL_APIENTRY glSecondaryColor3us(GLushort red, GLushort green, GLushort blue)
2297 {
2298     return gl::SecondaryColor3us(red, green, blue);
2299 }
2300 
glSecondaryColor3usv(const GLushort * v)2301 void GL_APIENTRY glSecondaryColor3usv(const GLushort *v)
2302 {
2303     return gl::SecondaryColor3usv(v);
2304 }
2305 
glSecondaryColorPointer(GLint size,GLenum type,GLsizei stride,const void * pointer)2306 void GL_APIENTRY glSecondaryColorPointer(GLint size,
2307                                          GLenum type,
2308                                          GLsizei stride,
2309                                          const void *pointer)
2310 {
2311     return gl::SecondaryColorPointer(size, type, stride, pointer);
2312 }
2313 
glWindowPos2d(GLdouble x,GLdouble y)2314 void GL_APIENTRY glWindowPos2d(GLdouble x, GLdouble y)
2315 {
2316     return gl::WindowPos2d(x, y);
2317 }
2318 
glWindowPos2dv(const GLdouble * v)2319 void GL_APIENTRY glWindowPos2dv(const GLdouble *v)
2320 {
2321     return gl::WindowPos2dv(v);
2322 }
2323 
glWindowPos2f(GLfloat x,GLfloat y)2324 void GL_APIENTRY glWindowPos2f(GLfloat x, GLfloat y)
2325 {
2326     return gl::WindowPos2f(x, y);
2327 }
2328 
glWindowPos2fv(const GLfloat * v)2329 void GL_APIENTRY glWindowPos2fv(const GLfloat *v)
2330 {
2331     return gl::WindowPos2fv(v);
2332 }
2333 
glWindowPos2i(GLint x,GLint y)2334 void GL_APIENTRY glWindowPos2i(GLint x, GLint y)
2335 {
2336     return gl::WindowPos2i(x, y);
2337 }
2338 
glWindowPos2iv(const GLint * v)2339 void GL_APIENTRY glWindowPos2iv(const GLint *v)
2340 {
2341     return gl::WindowPos2iv(v);
2342 }
2343 
glWindowPos2s(GLshort x,GLshort y)2344 void GL_APIENTRY glWindowPos2s(GLshort x, GLshort y)
2345 {
2346     return gl::WindowPos2s(x, y);
2347 }
2348 
glWindowPos2sv(const GLshort * v)2349 void GL_APIENTRY glWindowPos2sv(const GLshort *v)
2350 {
2351     return gl::WindowPos2sv(v);
2352 }
2353 
glWindowPos3d(GLdouble x,GLdouble y,GLdouble z)2354 void GL_APIENTRY glWindowPos3d(GLdouble x, GLdouble y, GLdouble z)
2355 {
2356     return gl::WindowPos3d(x, y, z);
2357 }
2358 
glWindowPos3dv(const GLdouble * v)2359 void GL_APIENTRY glWindowPos3dv(const GLdouble *v)
2360 {
2361     return gl::WindowPos3dv(v);
2362 }
2363 
glWindowPos3f(GLfloat x,GLfloat y,GLfloat z)2364 void GL_APIENTRY glWindowPos3f(GLfloat x, GLfloat y, GLfloat z)
2365 {
2366     return gl::WindowPos3f(x, y, z);
2367 }
2368 
glWindowPos3fv(const GLfloat * v)2369 void GL_APIENTRY glWindowPos3fv(const GLfloat *v)
2370 {
2371     return gl::WindowPos3fv(v);
2372 }
2373 
glWindowPos3i(GLint x,GLint y,GLint z)2374 void GL_APIENTRY glWindowPos3i(GLint x, GLint y, GLint z)
2375 {
2376     return gl::WindowPos3i(x, y, z);
2377 }
2378 
glWindowPos3iv(const GLint * v)2379 void GL_APIENTRY glWindowPos3iv(const GLint *v)
2380 {
2381     return gl::WindowPos3iv(v);
2382 }
2383 
glWindowPos3s(GLshort x,GLshort y,GLshort z)2384 void GL_APIENTRY glWindowPos3s(GLshort x, GLshort y, GLshort z)
2385 {
2386     return gl::WindowPos3s(x, y, z);
2387 }
2388 
glWindowPos3sv(const GLshort * v)2389 void GL_APIENTRY glWindowPos3sv(const GLshort *v)
2390 {
2391     return gl::WindowPos3sv(v);
2392 }
2393 
2394 // GL 1.5
glBeginQuery(GLenum target,GLuint id)2395 void GL_APIENTRY glBeginQuery(GLenum target, GLuint id)
2396 {
2397     return gl::BeginQuery(target, id);
2398 }
2399 
glBindBuffer(GLenum target,GLuint buffer)2400 void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer)
2401 {
2402     return gl::BindBuffer(target, buffer);
2403 }
2404 
glBufferData(GLenum target,GLsizeiptr size,const void * data,GLenum usage)2405 void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage)
2406 {
2407     return gl::BufferData(target, size, data, usage);
2408 }
2409 
glBufferSubData(GLenum target,GLintptr offset,GLsizeiptr size,const void * data)2410 void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const void *data)
2411 {
2412     return gl::BufferSubData(target, offset, size, data);
2413 }
2414 
glDeleteBuffers(GLsizei n,const GLuint * buffers)2415 void GL_APIENTRY glDeleteBuffers(GLsizei n, const GLuint *buffers)
2416 {
2417     return gl::DeleteBuffers(n, buffers);
2418 }
2419 
glDeleteQueries(GLsizei n,const GLuint * ids)2420 void GL_APIENTRY glDeleteQueries(GLsizei n, const GLuint *ids)
2421 {
2422     return gl::DeleteQueries(n, ids);
2423 }
2424 
glEndQuery(GLenum target)2425 void GL_APIENTRY glEndQuery(GLenum target)
2426 {
2427     return gl::EndQuery(target);
2428 }
2429 
glGenBuffers(GLsizei n,GLuint * buffers)2430 void GL_APIENTRY glGenBuffers(GLsizei n, GLuint *buffers)
2431 {
2432     return gl::GenBuffers(n, buffers);
2433 }
2434 
glGenQueries(GLsizei n,GLuint * ids)2435 void GL_APIENTRY glGenQueries(GLsizei n, GLuint *ids)
2436 {
2437     return gl::GenQueries(n, ids);
2438 }
2439 
glGetBufferParameteriv(GLenum target,GLenum pname,GLint * params)2440 void GL_APIENTRY glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
2441 {
2442     return gl::GetBufferParameteriv(target, pname, params);
2443 }
2444 
glGetBufferPointerv(GLenum target,GLenum pname,void ** params)2445 void GL_APIENTRY glGetBufferPointerv(GLenum target, GLenum pname, void **params)
2446 {
2447     return gl::GetBufferPointerv(target, pname, params);
2448 }
2449 
glGetBufferSubData(GLenum target,GLintptr offset,GLsizeiptr size,void * data)2450 void GL_APIENTRY glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, void *data)
2451 {
2452     return gl::GetBufferSubData(target, offset, size, data);
2453 }
2454 
glGetQueryObjectiv(GLuint id,GLenum pname,GLint * params)2455 void GL_APIENTRY glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
2456 {
2457     return gl::GetQueryObjectiv(id, pname, params);
2458 }
2459 
glGetQueryObjectuiv(GLuint id,GLenum pname,GLuint * params)2460 void GL_APIENTRY glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
2461 {
2462     return gl::GetQueryObjectuiv(id, pname, params);
2463 }
2464 
glGetQueryiv(GLenum target,GLenum pname,GLint * params)2465 void GL_APIENTRY glGetQueryiv(GLenum target, GLenum pname, GLint *params)
2466 {
2467     return gl::GetQueryiv(target, pname, params);
2468 }
2469 
glIsBuffer(GLuint buffer)2470 GLboolean GL_APIENTRY glIsBuffer(GLuint buffer)
2471 {
2472     return gl::IsBuffer(buffer);
2473 }
2474 
glIsQuery(GLuint id)2475 GLboolean GL_APIENTRY glIsQuery(GLuint id)
2476 {
2477     return gl::IsQuery(id);
2478 }
2479 
glMapBuffer(GLenum target,GLenum access)2480 void *GL_APIENTRY glMapBuffer(GLenum target, GLenum access)
2481 {
2482     return gl::MapBuffer(target, access);
2483 }
2484 
glUnmapBuffer(GLenum target)2485 GLboolean GL_APIENTRY glUnmapBuffer(GLenum target)
2486 {
2487     return gl::UnmapBuffer(target);
2488 }
2489 
2490 // GL 2.0
glAttachShader(GLuint program,GLuint shader)2491 void GL_APIENTRY glAttachShader(GLuint program, GLuint shader)
2492 {
2493     return gl::AttachShader(program, shader);
2494 }
2495 
glBindAttribLocation(GLuint program,GLuint index,const GLchar * name)2496 void GL_APIENTRY glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
2497 {
2498     return gl::BindAttribLocation(program, index, name);
2499 }
2500 
glBlendEquationSeparate(GLenum modeRGB,GLenum modeAlpha)2501 void GL_APIENTRY glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
2502 {
2503     return gl::BlendEquationSeparate(modeRGB, modeAlpha);
2504 }
2505 
glCompileShader(GLuint shader)2506 void GL_APIENTRY glCompileShader(GLuint shader)
2507 {
2508     return gl::CompileShader(shader);
2509 }
2510 
glCreateProgram()2511 GLuint GL_APIENTRY glCreateProgram()
2512 {
2513     return gl::CreateProgram();
2514 }
2515 
glCreateShader(GLenum type)2516 GLuint GL_APIENTRY glCreateShader(GLenum type)
2517 {
2518     return gl::CreateShader(type);
2519 }
2520 
glDeleteProgram(GLuint program)2521 void GL_APIENTRY glDeleteProgram(GLuint program)
2522 {
2523     return gl::DeleteProgram(program);
2524 }
2525 
glDeleteShader(GLuint shader)2526 void GL_APIENTRY glDeleteShader(GLuint shader)
2527 {
2528     return gl::DeleteShader(shader);
2529 }
2530 
glDetachShader(GLuint program,GLuint shader)2531 void GL_APIENTRY glDetachShader(GLuint program, GLuint shader)
2532 {
2533     return gl::DetachShader(program, shader);
2534 }
2535 
glDisableVertexAttribArray(GLuint index)2536 void GL_APIENTRY glDisableVertexAttribArray(GLuint index)
2537 {
2538     return gl::DisableVertexAttribArray(index);
2539 }
2540 
glDrawBuffers(GLsizei n,const GLenum * bufs)2541 void GL_APIENTRY glDrawBuffers(GLsizei n, const GLenum *bufs)
2542 {
2543     return gl::DrawBuffers(n, bufs);
2544 }
2545 
glEnableVertexAttribArray(GLuint index)2546 void GL_APIENTRY glEnableVertexAttribArray(GLuint index)
2547 {
2548     return gl::EnableVertexAttribArray(index);
2549 }
2550 
glGetActiveAttrib(GLuint program,GLuint index,GLsizei bufSize,GLsizei * length,GLint * size,GLenum * type,GLchar * name)2551 void GL_APIENTRY glGetActiveAttrib(GLuint program,
2552                                    GLuint index,
2553                                    GLsizei bufSize,
2554                                    GLsizei *length,
2555                                    GLint *size,
2556                                    GLenum *type,
2557                                    GLchar *name)
2558 {
2559     return gl::GetActiveAttrib(program, index, bufSize, length, size, type, name);
2560 }
2561 
glGetActiveUniform(GLuint program,GLuint index,GLsizei bufSize,GLsizei * length,GLint * size,GLenum * type,GLchar * name)2562 void GL_APIENTRY glGetActiveUniform(GLuint program,
2563                                     GLuint index,
2564                                     GLsizei bufSize,
2565                                     GLsizei *length,
2566                                     GLint *size,
2567                                     GLenum *type,
2568                                     GLchar *name)
2569 {
2570     return gl::GetActiveUniform(program, index, bufSize, length, size, type, name);
2571 }
2572 
glGetAttachedShaders(GLuint program,GLsizei maxCount,GLsizei * count,GLuint * shaders)2573 void GL_APIENTRY glGetAttachedShaders(GLuint program,
2574                                       GLsizei maxCount,
2575                                       GLsizei *count,
2576                                       GLuint *shaders)
2577 {
2578     return gl::GetAttachedShaders(program, maxCount, count, shaders);
2579 }
2580 
glGetAttribLocation(GLuint program,const GLchar * name)2581 GLint GL_APIENTRY glGetAttribLocation(GLuint program, const GLchar *name)
2582 {
2583     return gl::GetAttribLocation(program, name);
2584 }
2585 
glGetProgramInfoLog(GLuint program,GLsizei bufSize,GLsizei * length,GLchar * infoLog)2586 void GL_APIENTRY glGetProgramInfoLog(GLuint program,
2587                                      GLsizei bufSize,
2588                                      GLsizei *length,
2589                                      GLchar *infoLog)
2590 {
2591     return gl::GetProgramInfoLog(program, bufSize, length, infoLog);
2592 }
2593 
glGetProgramiv(GLuint program,GLenum pname,GLint * params)2594 void GL_APIENTRY glGetProgramiv(GLuint program, GLenum pname, GLint *params)
2595 {
2596     return gl::GetProgramiv(program, pname, params);
2597 }
2598 
glGetShaderInfoLog(GLuint shader,GLsizei bufSize,GLsizei * length,GLchar * infoLog)2599 void GL_APIENTRY glGetShaderInfoLog(GLuint shader,
2600                                     GLsizei bufSize,
2601                                     GLsizei *length,
2602                                     GLchar *infoLog)
2603 {
2604     return gl::GetShaderInfoLog(shader, bufSize, length, infoLog);
2605 }
2606 
glGetShaderSource(GLuint shader,GLsizei bufSize,GLsizei * length,GLchar * source)2607 void GL_APIENTRY glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
2608 {
2609     return gl::GetShaderSource(shader, bufSize, length, source);
2610 }
2611 
glGetShaderiv(GLuint shader,GLenum pname,GLint * params)2612 void GL_APIENTRY glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
2613 {
2614     return gl::GetShaderiv(shader, pname, params);
2615 }
2616 
glGetUniformLocation(GLuint program,const GLchar * name)2617 GLint GL_APIENTRY glGetUniformLocation(GLuint program, const GLchar *name)
2618 {
2619     return gl::GetUniformLocation(program, name);
2620 }
2621 
glGetUniformfv(GLuint program,GLint location,GLfloat * params)2622 void GL_APIENTRY glGetUniformfv(GLuint program, GLint location, GLfloat *params)
2623 {
2624     return gl::GetUniformfv(program, location, params);
2625 }
2626 
glGetUniformiv(GLuint program,GLint location,GLint * params)2627 void GL_APIENTRY glGetUniformiv(GLuint program, GLint location, GLint *params)
2628 {
2629     return gl::GetUniformiv(program, location, params);
2630 }
2631 
glGetVertexAttribPointerv(GLuint index,GLenum pname,void ** pointer)2632 void GL_APIENTRY glGetVertexAttribPointerv(GLuint index, GLenum pname, void **pointer)
2633 {
2634     return gl::GetVertexAttribPointerv(index, pname, pointer);
2635 }
2636 
glGetVertexAttribdv(GLuint index,GLenum pname,GLdouble * params)2637 void GL_APIENTRY glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
2638 {
2639     return gl::GetVertexAttribdv(index, pname, params);
2640 }
2641 
glGetVertexAttribfv(GLuint index,GLenum pname,GLfloat * params)2642 void GL_APIENTRY glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
2643 {
2644     return gl::GetVertexAttribfv(index, pname, params);
2645 }
2646 
glGetVertexAttribiv(GLuint index,GLenum pname,GLint * params)2647 void GL_APIENTRY glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
2648 {
2649     return gl::GetVertexAttribiv(index, pname, params);
2650 }
2651 
glIsProgram(GLuint program)2652 GLboolean GL_APIENTRY glIsProgram(GLuint program)
2653 {
2654     return gl::IsProgram(program);
2655 }
2656 
glIsShader(GLuint shader)2657 GLboolean GL_APIENTRY glIsShader(GLuint shader)
2658 {
2659     return gl::IsShader(shader);
2660 }
2661 
glLinkProgram(GLuint program)2662 void GL_APIENTRY glLinkProgram(GLuint program)
2663 {
2664     return gl::LinkProgram(program);
2665 }
2666 
glShaderSource(GLuint shader,GLsizei count,const GLchar * const * string,const GLint * length)2667 void GL_APIENTRY glShaderSource(GLuint shader,
2668                                 GLsizei count,
2669                                 const GLchar *const *string,
2670                                 const GLint *length)
2671 {
2672     return gl::ShaderSource(shader, count, string, length);
2673 }
2674 
glStencilFuncSeparate(GLenum face,GLenum func,GLint ref,GLuint mask)2675 void GL_APIENTRY glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
2676 {
2677     return gl::StencilFuncSeparate(face, func, ref, mask);
2678 }
2679 
glStencilMaskSeparate(GLenum face,GLuint mask)2680 void GL_APIENTRY glStencilMaskSeparate(GLenum face, GLuint mask)
2681 {
2682     return gl::StencilMaskSeparate(face, mask);
2683 }
2684 
glStencilOpSeparate(GLenum face,GLenum sfail,GLenum dpfail,GLenum dppass)2685 void GL_APIENTRY glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
2686 {
2687     return gl::StencilOpSeparate(face, sfail, dpfail, dppass);
2688 }
2689 
glUniform1f(GLint location,GLfloat v0)2690 void GL_APIENTRY glUniform1f(GLint location, GLfloat v0)
2691 {
2692     return gl::Uniform1f(location, v0);
2693 }
2694 
glUniform1fv(GLint location,GLsizei count,const GLfloat * value)2695 void GL_APIENTRY glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
2696 {
2697     return gl::Uniform1fv(location, count, value);
2698 }
2699 
glUniform1i(GLint location,GLint v0)2700 void GL_APIENTRY glUniform1i(GLint location, GLint v0)
2701 {
2702     return gl::Uniform1i(location, v0);
2703 }
2704 
glUniform1iv(GLint location,GLsizei count,const GLint * value)2705 void GL_APIENTRY glUniform1iv(GLint location, GLsizei count, const GLint *value)
2706 {
2707     return gl::Uniform1iv(location, count, value);
2708 }
2709 
glUniform2f(GLint location,GLfloat v0,GLfloat v1)2710 void GL_APIENTRY glUniform2f(GLint location, GLfloat v0, GLfloat v1)
2711 {
2712     return gl::Uniform2f(location, v0, v1);
2713 }
2714 
glUniform2fv(GLint location,GLsizei count,const GLfloat * value)2715 void GL_APIENTRY glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
2716 {
2717     return gl::Uniform2fv(location, count, value);
2718 }
2719 
glUniform2i(GLint location,GLint v0,GLint v1)2720 void GL_APIENTRY glUniform2i(GLint location, GLint v0, GLint v1)
2721 {
2722     return gl::Uniform2i(location, v0, v1);
2723 }
2724 
glUniform2iv(GLint location,GLsizei count,const GLint * value)2725 void GL_APIENTRY glUniform2iv(GLint location, GLsizei count, const GLint *value)
2726 {
2727     return gl::Uniform2iv(location, count, value);
2728 }
2729 
glUniform3f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2)2730 void GL_APIENTRY glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
2731 {
2732     return gl::Uniform3f(location, v0, v1, v2);
2733 }
2734 
glUniform3fv(GLint location,GLsizei count,const GLfloat * value)2735 void GL_APIENTRY glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
2736 {
2737     return gl::Uniform3fv(location, count, value);
2738 }
2739 
glUniform3i(GLint location,GLint v0,GLint v1,GLint v2)2740 void GL_APIENTRY glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
2741 {
2742     return gl::Uniform3i(location, v0, v1, v2);
2743 }
2744 
glUniform3iv(GLint location,GLsizei count,const GLint * value)2745 void GL_APIENTRY glUniform3iv(GLint location, GLsizei count, const GLint *value)
2746 {
2747     return gl::Uniform3iv(location, count, value);
2748 }
2749 
glUniform4f(GLint location,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3)2750 void GL_APIENTRY glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
2751 {
2752     return gl::Uniform4f(location, v0, v1, v2, v3);
2753 }
2754 
glUniform4fv(GLint location,GLsizei count,const GLfloat * value)2755 void GL_APIENTRY glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
2756 {
2757     return gl::Uniform4fv(location, count, value);
2758 }
2759 
glUniform4i(GLint location,GLint v0,GLint v1,GLint v2,GLint v3)2760 void GL_APIENTRY glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
2761 {
2762     return gl::Uniform4i(location, v0, v1, v2, v3);
2763 }
2764 
glUniform4iv(GLint location,GLsizei count,const GLint * value)2765 void GL_APIENTRY glUniform4iv(GLint location, GLsizei count, const GLint *value)
2766 {
2767     return gl::Uniform4iv(location, count, value);
2768 }
2769 
glUniformMatrix2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2770 void GL_APIENTRY glUniformMatrix2fv(GLint location,
2771                                     GLsizei count,
2772                                     GLboolean transpose,
2773                                     const GLfloat *value)
2774 {
2775     return gl::UniformMatrix2fv(location, count, transpose, value);
2776 }
2777 
glUniformMatrix3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2778 void GL_APIENTRY glUniformMatrix3fv(GLint location,
2779                                     GLsizei count,
2780                                     GLboolean transpose,
2781                                     const GLfloat *value)
2782 {
2783     return gl::UniformMatrix3fv(location, count, transpose, value);
2784 }
2785 
glUniformMatrix4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2786 void GL_APIENTRY glUniformMatrix4fv(GLint location,
2787                                     GLsizei count,
2788                                     GLboolean transpose,
2789                                     const GLfloat *value)
2790 {
2791     return gl::UniformMatrix4fv(location, count, transpose, value);
2792 }
2793 
glUseProgram(GLuint program)2794 void GL_APIENTRY glUseProgram(GLuint program)
2795 {
2796     return gl::UseProgram(program);
2797 }
2798 
glValidateProgram(GLuint program)2799 void GL_APIENTRY glValidateProgram(GLuint program)
2800 {
2801     return gl::ValidateProgram(program);
2802 }
2803 
glVertexAttrib1d(GLuint index,GLdouble x)2804 void GL_APIENTRY glVertexAttrib1d(GLuint index, GLdouble x)
2805 {
2806     return gl::VertexAttrib1d(index, x);
2807 }
2808 
glVertexAttrib1dv(GLuint index,const GLdouble * v)2809 void GL_APIENTRY glVertexAttrib1dv(GLuint index, const GLdouble *v)
2810 {
2811     return gl::VertexAttrib1dv(index, v);
2812 }
2813 
glVertexAttrib1f(GLuint index,GLfloat x)2814 void GL_APIENTRY glVertexAttrib1f(GLuint index, GLfloat x)
2815 {
2816     return gl::VertexAttrib1f(index, x);
2817 }
2818 
glVertexAttrib1fv(GLuint index,const GLfloat * v)2819 void GL_APIENTRY glVertexAttrib1fv(GLuint index, const GLfloat *v)
2820 {
2821     return gl::VertexAttrib1fv(index, v);
2822 }
2823 
glVertexAttrib1s(GLuint index,GLshort x)2824 void GL_APIENTRY glVertexAttrib1s(GLuint index, GLshort x)
2825 {
2826     return gl::VertexAttrib1s(index, x);
2827 }
2828 
glVertexAttrib1sv(GLuint index,const GLshort * v)2829 void GL_APIENTRY glVertexAttrib1sv(GLuint index, const GLshort *v)
2830 {
2831     return gl::VertexAttrib1sv(index, v);
2832 }
2833 
glVertexAttrib2d(GLuint index,GLdouble x,GLdouble y)2834 void GL_APIENTRY glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y)
2835 {
2836     return gl::VertexAttrib2d(index, x, y);
2837 }
2838 
glVertexAttrib2dv(GLuint index,const GLdouble * v)2839 void GL_APIENTRY glVertexAttrib2dv(GLuint index, const GLdouble *v)
2840 {
2841     return gl::VertexAttrib2dv(index, v);
2842 }
2843 
glVertexAttrib2f(GLuint index,GLfloat x,GLfloat y)2844 void GL_APIENTRY glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)
2845 {
2846     return gl::VertexAttrib2f(index, x, y);
2847 }
2848 
glVertexAttrib2fv(GLuint index,const GLfloat * v)2849 void GL_APIENTRY glVertexAttrib2fv(GLuint index, const GLfloat *v)
2850 {
2851     return gl::VertexAttrib2fv(index, v);
2852 }
2853 
glVertexAttrib2s(GLuint index,GLshort x,GLshort y)2854 void GL_APIENTRY glVertexAttrib2s(GLuint index, GLshort x, GLshort y)
2855 {
2856     return gl::VertexAttrib2s(index, x, y);
2857 }
2858 
glVertexAttrib2sv(GLuint index,const GLshort * v)2859 void GL_APIENTRY glVertexAttrib2sv(GLuint index, const GLshort *v)
2860 {
2861     return gl::VertexAttrib2sv(index, v);
2862 }
2863 
glVertexAttrib3d(GLuint index,GLdouble x,GLdouble y,GLdouble z)2864 void GL_APIENTRY glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
2865 {
2866     return gl::VertexAttrib3d(index, x, y, z);
2867 }
2868 
glVertexAttrib3dv(GLuint index,const GLdouble * v)2869 void GL_APIENTRY glVertexAttrib3dv(GLuint index, const GLdouble *v)
2870 {
2871     return gl::VertexAttrib3dv(index, v);
2872 }
2873 
glVertexAttrib3f(GLuint index,GLfloat x,GLfloat y,GLfloat z)2874 void GL_APIENTRY glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z)
2875 {
2876     return gl::VertexAttrib3f(index, x, y, z);
2877 }
2878 
glVertexAttrib3fv(GLuint index,const GLfloat * v)2879 void GL_APIENTRY glVertexAttrib3fv(GLuint index, const GLfloat *v)
2880 {
2881     return gl::VertexAttrib3fv(index, v);
2882 }
2883 
glVertexAttrib3s(GLuint index,GLshort x,GLshort y,GLshort z)2884 void GL_APIENTRY glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z)
2885 {
2886     return gl::VertexAttrib3s(index, x, y, z);
2887 }
2888 
glVertexAttrib3sv(GLuint index,const GLshort * v)2889 void GL_APIENTRY glVertexAttrib3sv(GLuint index, const GLshort *v)
2890 {
2891     return gl::VertexAttrib3sv(index, v);
2892 }
2893 
glVertexAttrib4Nbv(GLuint index,const GLbyte * v)2894 void GL_APIENTRY glVertexAttrib4Nbv(GLuint index, const GLbyte *v)
2895 {
2896     return gl::VertexAttrib4Nbv(index, v);
2897 }
2898 
glVertexAttrib4Niv(GLuint index,const GLint * v)2899 void GL_APIENTRY glVertexAttrib4Niv(GLuint index, const GLint *v)
2900 {
2901     return gl::VertexAttrib4Niv(index, v);
2902 }
2903 
glVertexAttrib4Nsv(GLuint index,const GLshort * v)2904 void GL_APIENTRY glVertexAttrib4Nsv(GLuint index, const GLshort *v)
2905 {
2906     return gl::VertexAttrib4Nsv(index, v);
2907 }
2908 
glVertexAttrib4Nub(GLuint index,GLubyte x,GLubyte y,GLubyte z,GLubyte w)2909 void GL_APIENTRY glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
2910 {
2911     return gl::VertexAttrib4Nub(index, x, y, z, w);
2912 }
2913 
glVertexAttrib4Nubv(GLuint index,const GLubyte * v)2914 void GL_APIENTRY glVertexAttrib4Nubv(GLuint index, const GLubyte *v)
2915 {
2916     return gl::VertexAttrib4Nubv(index, v);
2917 }
2918 
glVertexAttrib4Nuiv(GLuint index,const GLuint * v)2919 void GL_APIENTRY glVertexAttrib4Nuiv(GLuint index, const GLuint *v)
2920 {
2921     return gl::VertexAttrib4Nuiv(index, v);
2922 }
2923 
glVertexAttrib4Nusv(GLuint index,const GLushort * v)2924 void GL_APIENTRY glVertexAttrib4Nusv(GLuint index, const GLushort *v)
2925 {
2926     return gl::VertexAttrib4Nusv(index, v);
2927 }
2928 
glVertexAttrib4bv(GLuint index,const GLbyte * v)2929 void GL_APIENTRY glVertexAttrib4bv(GLuint index, const GLbyte *v)
2930 {
2931     return gl::VertexAttrib4bv(index, v);
2932 }
2933 
glVertexAttrib4d(GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)2934 void GL_APIENTRY glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2935 {
2936     return gl::VertexAttrib4d(index, x, y, z, w);
2937 }
2938 
glVertexAttrib4dv(GLuint index,const GLdouble * v)2939 void GL_APIENTRY glVertexAttrib4dv(GLuint index, const GLdouble *v)
2940 {
2941     return gl::VertexAttrib4dv(index, v);
2942 }
2943 
glVertexAttrib4f(GLuint index,GLfloat x,GLfloat y,GLfloat z,GLfloat w)2944 void GL_APIENTRY glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2945 {
2946     return gl::VertexAttrib4f(index, x, y, z, w);
2947 }
2948 
glVertexAttrib4fv(GLuint index,const GLfloat * v)2949 void GL_APIENTRY glVertexAttrib4fv(GLuint index, const GLfloat *v)
2950 {
2951     return gl::VertexAttrib4fv(index, v);
2952 }
2953 
glVertexAttrib4iv(GLuint index,const GLint * v)2954 void GL_APIENTRY glVertexAttrib4iv(GLuint index, const GLint *v)
2955 {
2956     return gl::VertexAttrib4iv(index, v);
2957 }
2958 
glVertexAttrib4s(GLuint index,GLshort x,GLshort y,GLshort z,GLshort w)2959 void GL_APIENTRY glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
2960 {
2961     return gl::VertexAttrib4s(index, x, y, z, w);
2962 }
2963 
glVertexAttrib4sv(GLuint index,const GLshort * v)2964 void GL_APIENTRY glVertexAttrib4sv(GLuint index, const GLshort *v)
2965 {
2966     return gl::VertexAttrib4sv(index, v);
2967 }
2968 
glVertexAttrib4ubv(GLuint index,const GLubyte * v)2969 void GL_APIENTRY glVertexAttrib4ubv(GLuint index, const GLubyte *v)
2970 {
2971     return gl::VertexAttrib4ubv(index, v);
2972 }
2973 
glVertexAttrib4uiv(GLuint index,const GLuint * v)2974 void GL_APIENTRY glVertexAttrib4uiv(GLuint index, const GLuint *v)
2975 {
2976     return gl::VertexAttrib4uiv(index, v);
2977 }
2978 
glVertexAttrib4usv(GLuint index,const GLushort * v)2979 void GL_APIENTRY glVertexAttrib4usv(GLuint index, const GLushort *v)
2980 {
2981     return gl::VertexAttrib4usv(index, v);
2982 }
2983 
glVertexAttribPointer(GLuint index,GLint size,GLenum type,GLboolean normalized,GLsizei stride,const void * pointer)2984 void GL_APIENTRY glVertexAttribPointer(GLuint index,
2985                                        GLint size,
2986                                        GLenum type,
2987                                        GLboolean normalized,
2988                                        GLsizei stride,
2989                                        const void *pointer)
2990 {
2991     return gl::VertexAttribPointer(index, size, type, normalized, stride, pointer);
2992 }
2993 
2994 // GL 2.1
glUniformMatrix2x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)2995 void GL_APIENTRY glUniformMatrix2x3fv(GLint location,
2996                                       GLsizei count,
2997                                       GLboolean transpose,
2998                                       const GLfloat *value)
2999 {
3000     return gl::UniformMatrix2x3fv(location, count, transpose, value);
3001 }
3002 
glUniformMatrix2x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)3003 void GL_APIENTRY glUniformMatrix2x4fv(GLint location,
3004                                       GLsizei count,
3005                                       GLboolean transpose,
3006                                       const GLfloat *value)
3007 {
3008     return gl::UniformMatrix2x4fv(location, count, transpose, value);
3009 }
3010 
glUniformMatrix3x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)3011 void GL_APIENTRY glUniformMatrix3x2fv(GLint location,
3012                                       GLsizei count,
3013                                       GLboolean transpose,
3014                                       const GLfloat *value)
3015 {
3016     return gl::UniformMatrix3x2fv(location, count, transpose, value);
3017 }
3018 
glUniformMatrix3x4fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)3019 void GL_APIENTRY glUniformMatrix3x4fv(GLint location,
3020                                       GLsizei count,
3021                                       GLboolean transpose,
3022                                       const GLfloat *value)
3023 {
3024     return gl::UniformMatrix3x4fv(location, count, transpose, value);
3025 }
3026 
glUniformMatrix4x2fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)3027 void GL_APIENTRY glUniformMatrix4x2fv(GLint location,
3028                                       GLsizei count,
3029                                       GLboolean transpose,
3030                                       const GLfloat *value)
3031 {
3032     return gl::UniformMatrix4x2fv(location, count, transpose, value);
3033 }
3034 
glUniformMatrix4x3fv(GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)3035 void GL_APIENTRY glUniformMatrix4x3fv(GLint location,
3036                                       GLsizei count,
3037                                       GLboolean transpose,
3038                                       const GLfloat *value)
3039 {
3040     return gl::UniformMatrix4x3fv(location, count, transpose, value);
3041 }
3042 
3043 // GL 3.0
glBeginConditionalRender(GLuint id,GLenum mode)3044 void GL_APIENTRY glBeginConditionalRender(GLuint id, GLenum mode)
3045 {
3046     return gl::BeginConditionalRender(id, mode);
3047 }
3048 
glBeginTransformFeedback(GLenum primitiveMode)3049 void GL_APIENTRY glBeginTransformFeedback(GLenum primitiveMode)
3050 {
3051     return gl::BeginTransformFeedback(primitiveMode);
3052 }
3053 
glBindBufferBase(GLenum target,GLuint index,GLuint buffer)3054 void GL_APIENTRY glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
3055 {
3056     return gl::BindBufferBase(target, index, buffer);
3057 }
3058 
3059 void GL_APIENTRY
glBindBufferRange(GLenum target,GLuint index,GLuint buffer,GLintptr offset,GLsizeiptr size)3060 glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
3061 {
3062     return gl::BindBufferRange(target, index, buffer, offset, size);
3063 }
3064 
glBindFragDataLocation(GLuint program,GLuint color,const GLchar * name)3065 void GL_APIENTRY glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
3066 {
3067     return gl::BindFragDataLocation(program, color, name);
3068 }
3069 
glBindFramebuffer(GLenum target,GLuint framebuffer)3070 void GL_APIENTRY glBindFramebuffer(GLenum target, GLuint framebuffer)
3071 {
3072     return gl::BindFramebuffer(target, framebuffer);
3073 }
3074 
glBindRenderbuffer(GLenum target,GLuint renderbuffer)3075 void GL_APIENTRY glBindRenderbuffer(GLenum target, GLuint renderbuffer)
3076 {
3077     return gl::BindRenderbuffer(target, renderbuffer);
3078 }
3079 
glBindVertexArray(GLuint array)3080 void GL_APIENTRY glBindVertexArray(GLuint array)
3081 {
3082     return gl::BindVertexArray(array);
3083 }
3084 
glBlitFramebuffer(GLint srcX0,GLint srcY0,GLint srcX1,GLint srcY1,GLint dstX0,GLint dstY0,GLint dstX1,GLint dstY1,GLbitfield mask,GLenum filter)3085 void GL_APIENTRY glBlitFramebuffer(GLint srcX0,
3086                                    GLint srcY0,
3087                                    GLint srcX1,
3088                                    GLint srcY1,
3089                                    GLint dstX0,
3090                                    GLint dstY0,
3091                                    GLint dstX1,
3092                                    GLint dstY1,
3093                                    GLbitfield mask,
3094                                    GLenum filter)
3095 {
3096     return gl::BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask,
3097                                filter);
3098 }
3099 
glCheckFramebufferStatus(GLenum target)3100 GLenum GL_APIENTRY glCheckFramebufferStatus(GLenum target)
3101 {
3102     return gl::CheckFramebufferStatus(target);
3103 }
3104 
glClampColor(GLenum target,GLenum clamp)3105 void GL_APIENTRY glClampColor(GLenum target, GLenum clamp)
3106 {
3107     return gl::ClampColor(target, clamp);
3108 }
3109 
glClearBufferfi(GLenum buffer,GLint drawbuffer,GLfloat depth,GLint stencil)3110 void GL_APIENTRY glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
3111 {
3112     return gl::ClearBufferfi(buffer, drawbuffer, depth, stencil);
3113 }
3114 
glClearBufferfv(GLenum buffer,GLint drawbuffer,const GLfloat * value)3115 void GL_APIENTRY glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
3116 {
3117     return gl::ClearBufferfv(buffer, drawbuffer, value);
3118 }
3119 
glClearBufferiv(GLenum buffer,GLint drawbuffer,const GLint * value)3120 void GL_APIENTRY glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
3121 {
3122     return gl::ClearBufferiv(buffer, drawbuffer, value);
3123 }
3124 
glClearBufferuiv(GLenum buffer,GLint drawbuffer,const GLuint * value)3125 void GL_APIENTRY glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
3126 {
3127     return gl::ClearBufferuiv(buffer, drawbuffer, value);
3128 }
3129 
glColorMaski(GLuint index,GLboolean r,GLboolean g,GLboolean b,GLboolean a)3130 void GL_APIENTRY glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
3131 {
3132     return gl::ColorMaski(index, r, g, b, a);
3133 }
3134 
glDeleteFramebuffers(GLsizei n,const GLuint * framebuffers)3135 void GL_APIENTRY glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
3136 {
3137     return gl::DeleteFramebuffers(n, framebuffers);
3138 }
3139 
glDeleteRenderbuffers(GLsizei n,const GLuint * renderbuffers)3140 void GL_APIENTRY glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
3141 {
3142     return gl::DeleteRenderbuffers(n, renderbuffers);
3143 }
3144 
glDeleteVertexArrays(GLsizei n,const GLuint * arrays)3145 void GL_APIENTRY glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
3146 {
3147     return gl::DeleteVertexArrays(n, arrays);
3148 }
3149 
glDisablei(GLenum target,GLuint index)3150 void GL_APIENTRY glDisablei(GLenum target, GLuint index)
3151 {
3152     return gl::Disablei(target, index);
3153 }
3154 
glEnablei(GLenum target,GLuint index)3155 void GL_APIENTRY glEnablei(GLenum target, GLuint index)
3156 {
3157     return gl::Enablei(target, index);
3158 }
3159 
glEndConditionalRender()3160 void GL_APIENTRY glEndConditionalRender()
3161 {
3162     return gl::EndConditionalRender();
3163 }
3164 
glEndTransformFeedback()3165 void GL_APIENTRY glEndTransformFeedback()
3166 {
3167     return gl::EndTransformFeedback();
3168 }
3169 
glFlushMappedBufferRange(GLenum target,GLintptr offset,GLsizeiptr length)3170 void GL_APIENTRY glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
3171 {
3172     return gl::FlushMappedBufferRange(target, offset, length);
3173 }
3174 
glFramebufferRenderbuffer(GLenum target,GLenum attachment,GLenum renderbuffertarget,GLuint renderbuffer)3175 void GL_APIENTRY glFramebufferRenderbuffer(GLenum target,
3176                                            GLenum attachment,
3177                                            GLenum renderbuffertarget,
3178                                            GLuint renderbuffer)
3179 {
3180     return gl::FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
3181 }
3182 
glFramebufferTexture1D(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level)3183 void GL_APIENTRY glFramebufferTexture1D(GLenum target,
3184                                         GLenum attachment,
3185                                         GLenum textarget,
3186                                         GLuint texture,
3187                                         GLint level)
3188 {
3189     return gl::FramebufferTexture1D(target, attachment, textarget, texture, level);
3190 }
3191 
glFramebufferTexture2D(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level)3192 void GL_APIENTRY glFramebufferTexture2D(GLenum target,
3193                                         GLenum attachment,
3194                                         GLenum textarget,
3195                                         GLuint texture,
3196                                         GLint level)
3197 {
3198     return gl::FramebufferTexture2D(target, attachment, textarget, texture, level);
3199 }
3200 
glFramebufferTexture3D(GLenum target,GLenum attachment,GLenum textarget,GLuint texture,GLint level,GLint zoffset)3201 void GL_APIENTRY glFramebufferTexture3D(GLenum target,
3202                                         GLenum attachment,
3203                                         GLenum textarget,
3204                                         GLuint texture,
3205                                         GLint level,
3206                                         GLint zoffset)
3207 {
3208     return gl::FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
3209 }
3210 
glFramebufferTextureLayer(GLenum target,GLenum attachment,GLuint texture,GLint level,GLint layer)3211 void GL_APIENTRY glFramebufferTextureLayer(GLenum target,
3212                                            GLenum attachment,
3213                                            GLuint texture,
3214                                            GLint level,
3215                                            GLint layer)
3216 {
3217     return gl::FramebufferTextureLayer(target, attachment, texture, level, layer);
3218 }
3219 
glGenFramebuffers(GLsizei n,GLuint * framebuffers)3220 void GL_APIENTRY glGenFramebuffers(GLsizei n, GLuint *framebuffers)
3221 {
3222     return gl::GenFramebuffers(n, framebuffers);
3223 }
3224 
glGenRenderbuffers(GLsizei n,GLuint * renderbuffers)3225 void GL_APIENTRY glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
3226 {
3227     return gl::GenRenderbuffers(n, renderbuffers);
3228 }
3229 
glGenVertexArrays(GLsizei n,GLuint * arrays)3230 void GL_APIENTRY glGenVertexArrays(GLsizei n, GLuint *arrays)
3231 {
3232     return gl::GenVertexArrays(n, arrays);
3233 }
3234 
glGenerateMipmap(GLenum target)3235 void GL_APIENTRY glGenerateMipmap(GLenum target)
3236 {
3237     return gl::GenerateMipmap(target);
3238 }
3239 
glGetBooleani_v(GLenum target,GLuint index,GLboolean * data)3240 void GL_APIENTRY glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
3241 {
3242     return gl::GetBooleani_v(target, index, data);
3243 }
3244 
glGetFragDataLocation(GLuint program,const GLchar * name)3245 GLint GL_APIENTRY glGetFragDataLocation(GLuint program, const GLchar *name)
3246 {
3247     return gl::GetFragDataLocation(program, name);
3248 }
3249 
glGetFramebufferAttachmentParameteriv(GLenum target,GLenum attachment,GLenum pname,GLint * params)3250 void GL_APIENTRY glGetFramebufferAttachmentParameteriv(GLenum target,
3251                                                        GLenum attachment,
3252                                                        GLenum pname,
3253                                                        GLint *params)
3254 {
3255     return gl::GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
3256 }
3257 
glGetIntegeri_v(GLenum target,GLuint index,GLint * data)3258 void GL_APIENTRY glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
3259 {
3260     return gl::GetIntegeri_v(target, index, data);
3261 }
3262 
glGetRenderbufferParameteriv(GLenum target,GLenum pname,GLint * params)3263 void GL_APIENTRY glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
3264 {
3265     return gl::GetRenderbufferParameteriv(target, pname, params);
3266 }
3267 
glGetStringi(GLenum name,GLuint index)3268 const GLubyte *GL_APIENTRY glGetStringi(GLenum name, GLuint index)
3269 {
3270     return gl::GetStringi(name, index);
3271 }
3272 
glGetTexParameterIiv(GLenum target,GLenum pname,GLint * params)3273 void GL_APIENTRY glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
3274 {
3275     return gl::GetTexParameterIiv(target, pname, params);
3276 }
3277 
glGetTexParameterIuiv(GLenum target,GLenum pname,GLuint * params)3278 void GL_APIENTRY glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
3279 {
3280     return gl::GetTexParameterIuiv(target, pname, params);
3281 }
3282 
glGetTransformFeedbackVarying(GLuint program,GLuint index,GLsizei bufSize,GLsizei * length,GLsizei * size,GLenum * type,GLchar * name)3283 void GL_APIENTRY glGetTransformFeedbackVarying(GLuint program,
3284                                                GLuint index,
3285                                                GLsizei bufSize,
3286                                                GLsizei *length,
3287                                                GLsizei *size,
3288                                                GLenum *type,
3289                                                GLchar *name)
3290 {
3291     return gl::GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
3292 }
3293 
glGetUniformuiv(GLuint program,GLint location,GLuint * params)3294 void GL_APIENTRY glGetUniformuiv(GLuint program, GLint location, GLuint *params)
3295 {
3296     return gl::GetUniformuiv(program, location, params);
3297 }
3298 
glGetVertexAttribIiv(GLuint index,GLenum pname,GLint * params)3299 void GL_APIENTRY glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
3300 {
3301     return gl::GetVertexAttribIiv(index, pname, params);
3302 }
3303 
glGetVertexAttribIuiv(GLuint index,GLenum pname,GLuint * params)3304 void GL_APIENTRY glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
3305 {
3306     return gl::GetVertexAttribIuiv(index, pname, params);
3307 }
3308 
glIsEnabledi(GLenum target,GLuint index)3309 GLboolean GL_APIENTRY glIsEnabledi(GLenum target, GLuint index)
3310 {
3311     return gl::IsEnabledi(target, index);
3312 }
3313 
glIsFramebuffer(GLuint framebuffer)3314 GLboolean GL_APIENTRY glIsFramebuffer(GLuint framebuffer)
3315 {
3316     return gl::IsFramebuffer(framebuffer);
3317 }
3318 
glIsRenderbuffer(GLuint renderbuffer)3319 GLboolean GL_APIENTRY glIsRenderbuffer(GLuint renderbuffer)
3320 {
3321     return gl::IsRenderbuffer(renderbuffer);
3322 }
3323 
glIsVertexArray(GLuint array)3324 GLboolean GL_APIENTRY glIsVertexArray(GLuint array)
3325 {
3326     return gl::IsVertexArray(array);
3327 }
3328 
glMapBufferRange(GLenum target,GLintptr offset,GLsizeiptr length,GLbitfield access)3329 void *GL_APIENTRY glMapBufferRange(GLenum target,
3330                                    GLintptr offset,
3331                                    GLsizeiptr length,
3332                                    GLbitfield access)
3333 {
3334     return gl::MapBufferRange(target, offset, length, access);
3335 }
3336 
glRenderbufferStorage(GLenum target,GLenum internalformat,GLsizei width,GLsizei height)3337 void GL_APIENTRY glRenderbufferStorage(GLenum target,
3338                                        GLenum internalformat,
3339                                        GLsizei width,
3340                                        GLsizei height)
3341 {
3342     return gl::RenderbufferStorage(target, internalformat, width, height);
3343 }
3344 
glRenderbufferStorageMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)3345 void GL_APIENTRY glRenderbufferStorageMultisample(GLenum target,
3346                                                   GLsizei samples,
3347                                                   GLenum internalformat,
3348                                                   GLsizei width,
3349                                                   GLsizei height)
3350 {
3351     return gl::RenderbufferStorageMultisample(target, samples, internalformat, width, height);
3352 }
3353 
glTexParameterIiv(GLenum target,GLenum pname,const GLint * params)3354 void GL_APIENTRY glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
3355 {
3356     return gl::TexParameterIiv(target, pname, params);
3357 }
3358 
glTexParameterIuiv(GLenum target,GLenum pname,const GLuint * params)3359 void GL_APIENTRY glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
3360 {
3361     return gl::TexParameterIuiv(target, pname, params);
3362 }
3363 
glTransformFeedbackVaryings(GLuint program,GLsizei count,const GLchar * const * varyings,GLenum bufferMode)3364 void GL_APIENTRY glTransformFeedbackVaryings(GLuint program,
3365                                              GLsizei count,
3366                                              const GLchar *const *varyings,
3367                                              GLenum bufferMode)
3368 {
3369     return gl::TransformFeedbackVaryings(program, count, varyings, bufferMode);
3370 }
3371 
glUniform1ui(GLint location,GLuint v0)3372 void GL_APIENTRY glUniform1ui(GLint location, GLuint v0)
3373 {
3374     return gl::Uniform1ui(location, v0);
3375 }
3376 
glUniform1uiv(GLint location,GLsizei count,const GLuint * value)3377 void GL_APIENTRY glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
3378 {
3379     return gl::Uniform1uiv(location, count, value);
3380 }
3381 
glUniform2ui(GLint location,GLuint v0,GLuint v1)3382 void GL_APIENTRY glUniform2ui(GLint location, GLuint v0, GLuint v1)
3383 {
3384     return gl::Uniform2ui(location, v0, v1);
3385 }
3386 
glUniform2uiv(GLint location,GLsizei count,const GLuint * value)3387 void GL_APIENTRY glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
3388 {
3389     return gl::Uniform2uiv(location, count, value);
3390 }
3391 
glUniform3ui(GLint location,GLuint v0,GLuint v1,GLuint v2)3392 void GL_APIENTRY glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
3393 {
3394     return gl::Uniform3ui(location, v0, v1, v2);
3395 }
3396 
glUniform3uiv(GLint location,GLsizei count,const GLuint * value)3397 void GL_APIENTRY glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
3398 {
3399     return gl::Uniform3uiv(location, count, value);
3400 }
3401 
glUniform4ui(GLint location,GLuint v0,GLuint v1,GLuint v2,GLuint v3)3402 void GL_APIENTRY glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
3403 {
3404     return gl::Uniform4ui(location, v0, v1, v2, v3);
3405 }
3406 
glUniform4uiv(GLint location,GLsizei count,const GLuint * value)3407 void GL_APIENTRY glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
3408 {
3409     return gl::Uniform4uiv(location, count, value);
3410 }
3411 
glVertexAttribI1i(GLuint index,GLint x)3412 void GL_APIENTRY glVertexAttribI1i(GLuint index, GLint x)
3413 {
3414     return gl::VertexAttribI1i(index, x);
3415 }
3416 
glVertexAttribI1iv(GLuint index,const GLint * v)3417 void GL_APIENTRY glVertexAttribI1iv(GLuint index, const GLint *v)
3418 {
3419     return gl::VertexAttribI1iv(index, v);
3420 }
3421 
glVertexAttribI1ui(GLuint index,GLuint x)3422 void GL_APIENTRY glVertexAttribI1ui(GLuint index, GLuint x)
3423 {
3424     return gl::VertexAttribI1ui(index, x);
3425 }
3426 
glVertexAttribI1uiv(GLuint index,const GLuint * v)3427 void GL_APIENTRY glVertexAttribI1uiv(GLuint index, const GLuint *v)
3428 {
3429     return gl::VertexAttribI1uiv(index, v);
3430 }
3431 
glVertexAttribI2i(GLuint index,GLint x,GLint y)3432 void GL_APIENTRY glVertexAttribI2i(GLuint index, GLint x, GLint y)
3433 {
3434     return gl::VertexAttribI2i(index, x, y);
3435 }
3436 
glVertexAttribI2iv(GLuint index,const GLint * v)3437 void GL_APIENTRY glVertexAttribI2iv(GLuint index, const GLint *v)
3438 {
3439     return gl::VertexAttribI2iv(index, v);
3440 }
3441 
glVertexAttribI2ui(GLuint index,GLuint x,GLuint y)3442 void GL_APIENTRY glVertexAttribI2ui(GLuint index, GLuint x, GLuint y)
3443 {
3444     return gl::VertexAttribI2ui(index, x, y);
3445 }
3446 
glVertexAttribI2uiv(GLuint index,const GLuint * v)3447 void GL_APIENTRY glVertexAttribI2uiv(GLuint index, const GLuint *v)
3448 {
3449     return gl::VertexAttribI2uiv(index, v);
3450 }
3451 
glVertexAttribI3i(GLuint index,GLint x,GLint y,GLint z)3452 void GL_APIENTRY glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z)
3453 {
3454     return gl::VertexAttribI3i(index, x, y, z);
3455 }
3456 
glVertexAttribI3iv(GLuint index,const GLint * v)3457 void GL_APIENTRY glVertexAttribI3iv(GLuint index, const GLint *v)
3458 {
3459     return gl::VertexAttribI3iv(index, v);
3460 }
3461 
glVertexAttribI3ui(GLuint index,GLuint x,GLuint y,GLuint z)3462 void GL_APIENTRY glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z)
3463 {
3464     return gl::VertexAttribI3ui(index, x, y, z);
3465 }
3466 
glVertexAttribI3uiv(GLuint index,const GLuint * v)3467 void GL_APIENTRY glVertexAttribI3uiv(GLuint index, const GLuint *v)
3468 {
3469     return gl::VertexAttribI3uiv(index, v);
3470 }
3471 
glVertexAttribI4bv(GLuint index,const GLbyte * v)3472 void GL_APIENTRY glVertexAttribI4bv(GLuint index, const GLbyte *v)
3473 {
3474     return gl::VertexAttribI4bv(index, v);
3475 }
3476 
glVertexAttribI4i(GLuint index,GLint x,GLint y,GLint z,GLint w)3477 void GL_APIENTRY glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w)
3478 {
3479     return gl::VertexAttribI4i(index, x, y, z, w);
3480 }
3481 
glVertexAttribI4iv(GLuint index,const GLint * v)3482 void GL_APIENTRY glVertexAttribI4iv(GLuint index, const GLint *v)
3483 {
3484     return gl::VertexAttribI4iv(index, v);
3485 }
3486 
glVertexAttribI4sv(GLuint index,const GLshort * v)3487 void GL_APIENTRY glVertexAttribI4sv(GLuint index, const GLshort *v)
3488 {
3489     return gl::VertexAttribI4sv(index, v);
3490 }
3491 
glVertexAttribI4ubv(GLuint index,const GLubyte * v)3492 void GL_APIENTRY glVertexAttribI4ubv(GLuint index, const GLubyte *v)
3493 {
3494     return gl::VertexAttribI4ubv(index, v);
3495 }
3496 
glVertexAttribI4ui(GLuint index,GLuint x,GLuint y,GLuint z,GLuint w)3497 void GL_APIENTRY glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w)
3498 {
3499     return gl::VertexAttribI4ui(index, x, y, z, w);
3500 }
3501 
glVertexAttribI4uiv(GLuint index,const GLuint * v)3502 void GL_APIENTRY glVertexAttribI4uiv(GLuint index, const GLuint *v)
3503 {
3504     return gl::VertexAttribI4uiv(index, v);
3505 }
3506 
glVertexAttribI4usv(GLuint index,const GLushort * v)3507 void GL_APIENTRY glVertexAttribI4usv(GLuint index, const GLushort *v)
3508 {
3509     return gl::VertexAttribI4usv(index, v);
3510 }
3511 
3512 void GL_APIENTRY
glVertexAttribIPointer(GLuint index,GLint size,GLenum type,GLsizei stride,const void * pointer)3513 glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
3514 {
3515     return gl::VertexAttribIPointer(index, size, type, stride, pointer);
3516 }
3517 
3518 // GL 3.1
glCopyBufferSubData(GLenum readTarget,GLenum writeTarget,GLintptr readOffset,GLintptr writeOffset,GLsizeiptr size)3519 void GL_APIENTRY glCopyBufferSubData(GLenum readTarget,
3520                                      GLenum writeTarget,
3521                                      GLintptr readOffset,
3522                                      GLintptr writeOffset,
3523                                      GLsizeiptr size)
3524 {
3525     return gl::CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
3526 }
3527 
glDrawArraysInstanced(GLenum mode,GLint first,GLsizei count,GLsizei instancecount)3528 void GL_APIENTRY glDrawArraysInstanced(GLenum mode,
3529                                        GLint first,
3530                                        GLsizei count,
3531                                        GLsizei instancecount)
3532 {
3533     return gl::DrawArraysInstanced(mode, first, count, instancecount);
3534 }
3535 
glDrawElementsInstanced(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei instancecount)3536 void GL_APIENTRY glDrawElementsInstanced(GLenum mode,
3537                                          GLsizei count,
3538                                          GLenum type,
3539                                          const void *indices,
3540                                          GLsizei instancecount)
3541 {
3542     return gl::DrawElementsInstanced(mode, count, type, indices, instancecount);
3543 }
3544 
glGetActiveUniformBlockName(GLuint program,GLuint uniformBlockIndex,GLsizei bufSize,GLsizei * length,GLchar * uniformBlockName)3545 void GL_APIENTRY glGetActiveUniformBlockName(GLuint program,
3546                                              GLuint uniformBlockIndex,
3547                                              GLsizei bufSize,
3548                                              GLsizei *length,
3549                                              GLchar *uniformBlockName)
3550 {
3551     return gl::GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length,
3552                                          uniformBlockName);
3553 }
3554 
glGetActiveUniformBlockiv(GLuint program,GLuint uniformBlockIndex,GLenum pname,GLint * params)3555 void GL_APIENTRY glGetActiveUniformBlockiv(GLuint program,
3556                                            GLuint uniformBlockIndex,
3557                                            GLenum pname,
3558                                            GLint *params)
3559 {
3560     return gl::GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
3561 }
3562 
glGetActiveUniformName(GLuint program,GLuint uniformIndex,GLsizei bufSize,GLsizei * length,GLchar * uniformName)3563 void GL_APIENTRY glGetActiveUniformName(GLuint program,
3564                                         GLuint uniformIndex,
3565                                         GLsizei bufSize,
3566                                         GLsizei *length,
3567                                         GLchar *uniformName)
3568 {
3569     return gl::GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
3570 }
3571 
glGetActiveUniformsiv(GLuint program,GLsizei uniformCount,const GLuint * uniformIndices,GLenum pname,GLint * params)3572 void GL_APIENTRY glGetActiveUniformsiv(GLuint program,
3573                                        GLsizei uniformCount,
3574                                        const GLuint *uniformIndices,
3575                                        GLenum pname,
3576                                        GLint *params)
3577 {
3578     return gl::GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
3579 }
3580 
glGetUniformBlockIndex(GLuint program,const GLchar * uniformBlockName)3581 GLuint GL_APIENTRY glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
3582 {
3583     return gl::GetUniformBlockIndex(program, uniformBlockName);
3584 }
3585 
glGetUniformIndices(GLuint program,GLsizei uniformCount,const GLchar * const * uniformNames,GLuint * uniformIndices)3586 void GL_APIENTRY glGetUniformIndices(GLuint program,
3587                                      GLsizei uniformCount,
3588                                      const GLchar *const *uniformNames,
3589                                      GLuint *uniformIndices)
3590 {
3591     return gl::GetUniformIndices(program, uniformCount, uniformNames, uniformIndices);
3592 }
3593 
glPrimitiveRestartIndex(GLuint index)3594 void GL_APIENTRY glPrimitiveRestartIndex(GLuint index)
3595 {
3596     return gl::PrimitiveRestartIndex(index);
3597 }
3598 
glTexBuffer(GLenum target,GLenum internalformat,GLuint buffer)3599 void GL_APIENTRY glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
3600 {
3601     return gl::TexBuffer(target, internalformat, buffer);
3602 }
3603 
glUniformBlockBinding(GLuint program,GLuint uniformBlockIndex,GLuint uniformBlockBinding)3604 void GL_APIENTRY glUniformBlockBinding(GLuint program,
3605                                        GLuint uniformBlockIndex,
3606                                        GLuint uniformBlockBinding)
3607 {
3608     return gl::UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
3609 }
3610 
3611 // GL 3.2
glClientWaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout)3612 GLenum GL_APIENTRY glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
3613 {
3614     return gl::ClientWaitSync(sync, flags, timeout);
3615 }
3616 
glDeleteSync(GLsync sync)3617 void GL_APIENTRY glDeleteSync(GLsync sync)
3618 {
3619     return gl::DeleteSync(sync);
3620 }
3621 
glDrawElementsBaseVertex(GLenum mode,GLsizei count,GLenum type,const void * indices,GLint basevertex)3622 void GL_APIENTRY glDrawElementsBaseVertex(GLenum mode,
3623                                           GLsizei count,
3624                                           GLenum type,
3625                                           const void *indices,
3626                                           GLint basevertex)
3627 {
3628     return gl::DrawElementsBaseVertex(mode, count, type, indices, basevertex);
3629 }
3630 
glDrawElementsInstancedBaseVertex(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei instancecount,GLint basevertex)3631 void GL_APIENTRY glDrawElementsInstancedBaseVertex(GLenum mode,
3632                                                    GLsizei count,
3633                                                    GLenum type,
3634                                                    const void *indices,
3635                                                    GLsizei instancecount,
3636                                                    GLint basevertex)
3637 {
3638     return gl::DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount,
3639                                                basevertex);
3640 }
3641 
glDrawRangeElementsBaseVertex(GLenum mode,GLuint start,GLuint end,GLsizei count,GLenum type,const void * indices,GLint basevertex)3642 void GL_APIENTRY glDrawRangeElementsBaseVertex(GLenum mode,
3643                                                GLuint start,
3644                                                GLuint end,
3645                                                GLsizei count,
3646                                                GLenum type,
3647                                                const void *indices,
3648                                                GLint basevertex)
3649 {
3650     return gl::DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
3651 }
3652 
glFenceSync(GLenum condition,GLbitfield flags)3653 GLsync GL_APIENTRY glFenceSync(GLenum condition, GLbitfield flags)
3654 {
3655     return gl::FenceSync(condition, flags);
3656 }
3657 
glFramebufferTexture(GLenum target,GLenum attachment,GLuint texture,GLint level)3658 void GL_APIENTRY glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
3659 {
3660     return gl::FramebufferTexture(target, attachment, texture, level);
3661 }
3662 
glGetBufferParameteri64v(GLenum target,GLenum pname,GLint64 * params)3663 void GL_APIENTRY glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
3664 {
3665     return gl::GetBufferParameteri64v(target, pname, params);
3666 }
3667 
glGetInteger64i_v(GLenum target,GLuint index,GLint64 * data)3668 void GL_APIENTRY glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
3669 {
3670     return gl::GetInteger64i_v(target, index, data);
3671 }
3672 
glGetInteger64v(GLenum pname,GLint64 * data)3673 void GL_APIENTRY glGetInteger64v(GLenum pname, GLint64 *data)
3674 {
3675     return gl::GetInteger64v(pname, data);
3676 }
3677 
glGetMultisamplefv(GLenum pname,GLuint index,GLfloat * val)3678 void GL_APIENTRY glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
3679 {
3680     return gl::GetMultisamplefv(pname, index, val);
3681 }
3682 
3683 void GL_APIENTRY
glGetSynciv(GLsync sync,GLenum pname,GLsizei bufSize,GLsizei * length,GLint * values)3684 glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
3685 {
3686     return gl::GetSynciv(sync, pname, bufSize, length, values);
3687 }
3688 
glIsSync(GLsync sync)3689 GLboolean GL_APIENTRY glIsSync(GLsync sync)
3690 {
3691     return gl::IsSync(sync);
3692 }
3693 
glMultiDrawElementsBaseVertex(GLenum mode,const GLsizei * count,GLenum type,const void * const * indices,GLsizei drawcount,const GLint * basevertex)3694 void GL_APIENTRY glMultiDrawElementsBaseVertex(GLenum mode,
3695                                                const GLsizei *count,
3696                                                GLenum type,
3697                                                const void *const *indices,
3698                                                GLsizei drawcount,
3699                                                const GLint *basevertex)
3700 {
3701     return gl::MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
3702 }
3703 
glProvokingVertex(GLenum mode)3704 void GL_APIENTRY glProvokingVertex(GLenum mode)
3705 {
3706     return gl::ProvokingVertex(mode);
3707 }
3708 
glSampleMaski(GLuint maskNumber,GLbitfield mask)3709 void GL_APIENTRY glSampleMaski(GLuint maskNumber, GLbitfield mask)
3710 {
3711     return gl::SampleMaski(maskNumber, mask);
3712 }
3713 
glTexImage2DMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)3714 void GL_APIENTRY glTexImage2DMultisample(GLenum target,
3715                                          GLsizei samples,
3716                                          GLenum internalformat,
3717                                          GLsizei width,
3718                                          GLsizei height,
3719                                          GLboolean fixedsamplelocations)
3720 {
3721     return gl::TexImage2DMultisample(target, samples, internalformat, width, height,
3722                                      fixedsamplelocations);
3723 }
3724 
glTexImage3DMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)3725 void GL_APIENTRY glTexImage3DMultisample(GLenum target,
3726                                          GLsizei samples,
3727                                          GLenum internalformat,
3728                                          GLsizei width,
3729                                          GLsizei height,
3730                                          GLsizei depth,
3731                                          GLboolean fixedsamplelocations)
3732 {
3733     return gl::TexImage3DMultisample(target, samples, internalformat, width, height, depth,
3734                                      fixedsamplelocations);
3735 }
3736 
glWaitSync(GLsync sync,GLbitfield flags,GLuint64 timeout)3737 void GL_APIENTRY glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
3738 {
3739     return gl::WaitSync(sync, flags, timeout);
3740 }
3741 
3742 // GL 3.3
glBindFragDataLocationIndexed(GLuint program,GLuint colorNumber,GLuint index,const GLchar * name)3743 void GL_APIENTRY glBindFragDataLocationIndexed(GLuint program,
3744                                                GLuint colorNumber,
3745                                                GLuint index,
3746                                                const GLchar *name)
3747 {
3748     return gl::BindFragDataLocationIndexed(program, colorNumber, index, name);
3749 }
3750 
glBindSampler(GLuint unit,GLuint sampler)3751 void GL_APIENTRY glBindSampler(GLuint unit, GLuint sampler)
3752 {
3753     return gl::BindSampler(unit, sampler);
3754 }
3755 
glColorP3ui(GLenum type,GLuint color)3756 void GL_APIENTRY glColorP3ui(GLenum type, GLuint color)
3757 {
3758     return gl::ColorP3ui(type, color);
3759 }
3760 
glColorP3uiv(GLenum type,const GLuint * color)3761 void GL_APIENTRY glColorP3uiv(GLenum type, const GLuint *color)
3762 {
3763     return gl::ColorP3uiv(type, color);
3764 }
3765 
glColorP4ui(GLenum type,GLuint color)3766 void GL_APIENTRY glColorP4ui(GLenum type, GLuint color)
3767 {
3768     return gl::ColorP4ui(type, color);
3769 }
3770 
glColorP4uiv(GLenum type,const GLuint * color)3771 void GL_APIENTRY glColorP4uiv(GLenum type, const GLuint *color)
3772 {
3773     return gl::ColorP4uiv(type, color);
3774 }
3775 
glDeleteSamplers(GLsizei count,const GLuint * samplers)3776 void GL_APIENTRY glDeleteSamplers(GLsizei count, const GLuint *samplers)
3777 {
3778     return gl::DeleteSamplers(count, samplers);
3779 }
3780 
glGenSamplers(GLsizei count,GLuint * samplers)3781 void GL_APIENTRY glGenSamplers(GLsizei count, GLuint *samplers)
3782 {
3783     return gl::GenSamplers(count, samplers);
3784 }
3785 
glGetFragDataIndex(GLuint program,const GLchar * name)3786 GLint GL_APIENTRY glGetFragDataIndex(GLuint program, const GLchar *name)
3787 {
3788     return gl::GetFragDataIndex(program, name);
3789 }
3790 
glGetQueryObjecti64v(GLuint id,GLenum pname,GLint64 * params)3791 void GL_APIENTRY glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
3792 {
3793     return gl::GetQueryObjecti64v(id, pname, params);
3794 }
3795 
glGetQueryObjectui64v(GLuint id,GLenum pname,GLuint64 * params)3796 void GL_APIENTRY glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
3797 {
3798     return gl::GetQueryObjectui64v(id, pname, params);
3799 }
3800 
glGetSamplerParameterIiv(GLuint sampler,GLenum pname,GLint * params)3801 void GL_APIENTRY glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
3802 {
3803     return gl::GetSamplerParameterIiv(sampler, pname, params);
3804 }
3805 
glGetSamplerParameterIuiv(GLuint sampler,GLenum pname,GLuint * params)3806 void GL_APIENTRY glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
3807 {
3808     return gl::GetSamplerParameterIuiv(sampler, pname, params);
3809 }
3810 
glGetSamplerParameterfv(GLuint sampler,GLenum pname,GLfloat * params)3811 void GL_APIENTRY glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
3812 {
3813     return gl::GetSamplerParameterfv(sampler, pname, params);
3814 }
3815 
glGetSamplerParameteriv(GLuint sampler,GLenum pname,GLint * params)3816 void GL_APIENTRY glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
3817 {
3818     return gl::GetSamplerParameteriv(sampler, pname, params);
3819 }
3820 
glIsSampler(GLuint sampler)3821 GLboolean GL_APIENTRY glIsSampler(GLuint sampler)
3822 {
3823     return gl::IsSampler(sampler);
3824 }
3825 
glMultiTexCoordP1ui(GLenum texture,GLenum type,GLuint coords)3826 void GL_APIENTRY glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords)
3827 {
3828     return gl::MultiTexCoordP1ui(texture, type, coords);
3829 }
3830 
glMultiTexCoordP1uiv(GLenum texture,GLenum type,const GLuint * coords)3831 void GL_APIENTRY glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords)
3832 {
3833     return gl::MultiTexCoordP1uiv(texture, type, coords);
3834 }
3835 
glMultiTexCoordP2ui(GLenum texture,GLenum type,GLuint coords)3836 void GL_APIENTRY glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords)
3837 {
3838     return gl::MultiTexCoordP2ui(texture, type, coords);
3839 }
3840 
glMultiTexCoordP2uiv(GLenum texture,GLenum type,const GLuint * coords)3841 void GL_APIENTRY glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords)
3842 {
3843     return gl::MultiTexCoordP2uiv(texture, type, coords);
3844 }
3845 
glMultiTexCoordP3ui(GLenum texture,GLenum type,GLuint coords)3846 void GL_APIENTRY glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords)
3847 {
3848     return gl::MultiTexCoordP3ui(texture, type, coords);
3849 }
3850 
glMultiTexCoordP3uiv(GLenum texture,GLenum type,const GLuint * coords)3851 void GL_APIENTRY glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords)
3852 {
3853     return gl::MultiTexCoordP3uiv(texture, type, coords);
3854 }
3855 
glMultiTexCoordP4ui(GLenum texture,GLenum type,GLuint coords)3856 void GL_APIENTRY glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords)
3857 {
3858     return gl::MultiTexCoordP4ui(texture, type, coords);
3859 }
3860 
glMultiTexCoordP4uiv(GLenum texture,GLenum type,const GLuint * coords)3861 void GL_APIENTRY glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords)
3862 {
3863     return gl::MultiTexCoordP4uiv(texture, type, coords);
3864 }
3865 
glNormalP3ui(GLenum type,GLuint coords)3866 void GL_APIENTRY glNormalP3ui(GLenum type, GLuint coords)
3867 {
3868     return gl::NormalP3ui(type, coords);
3869 }
3870 
glNormalP3uiv(GLenum type,const GLuint * coords)3871 void GL_APIENTRY glNormalP3uiv(GLenum type, const GLuint *coords)
3872 {
3873     return gl::NormalP3uiv(type, coords);
3874 }
3875 
glQueryCounter(GLuint id,GLenum target)3876 void GL_APIENTRY glQueryCounter(GLuint id, GLenum target)
3877 {
3878     return gl::QueryCounter(id, target);
3879 }
3880 
glSamplerParameterIiv(GLuint sampler,GLenum pname,const GLint * param)3881 void GL_APIENTRY glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
3882 {
3883     return gl::SamplerParameterIiv(sampler, pname, param);
3884 }
3885 
glSamplerParameterIuiv(GLuint sampler,GLenum pname,const GLuint * param)3886 void GL_APIENTRY glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
3887 {
3888     return gl::SamplerParameterIuiv(sampler, pname, param);
3889 }
3890 
glSamplerParameterf(GLuint sampler,GLenum pname,GLfloat param)3891 void GL_APIENTRY glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
3892 {
3893     return gl::SamplerParameterf(sampler, pname, param);
3894 }
3895 
glSamplerParameterfv(GLuint sampler,GLenum pname,const GLfloat * param)3896 void GL_APIENTRY glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
3897 {
3898     return gl::SamplerParameterfv(sampler, pname, param);
3899 }
3900 
glSamplerParameteri(GLuint sampler,GLenum pname,GLint param)3901 void GL_APIENTRY glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
3902 {
3903     return gl::SamplerParameteri(sampler, pname, param);
3904 }
3905 
glSamplerParameteriv(GLuint sampler,GLenum pname,const GLint * param)3906 void GL_APIENTRY glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
3907 {
3908     return gl::SamplerParameteriv(sampler, pname, param);
3909 }
3910 
glSecondaryColorP3ui(GLenum type,GLuint color)3911 void GL_APIENTRY glSecondaryColorP3ui(GLenum type, GLuint color)
3912 {
3913     return gl::SecondaryColorP3ui(type, color);
3914 }
3915 
glSecondaryColorP3uiv(GLenum type,const GLuint * color)3916 void GL_APIENTRY glSecondaryColorP3uiv(GLenum type, const GLuint *color)
3917 {
3918     return gl::SecondaryColorP3uiv(type, color);
3919 }
3920 
glTexCoordP1ui(GLenum type,GLuint coords)3921 void GL_APIENTRY glTexCoordP1ui(GLenum type, GLuint coords)
3922 {
3923     return gl::TexCoordP1ui(type, coords);
3924 }
3925 
glTexCoordP1uiv(GLenum type,const GLuint * coords)3926 void GL_APIENTRY glTexCoordP1uiv(GLenum type, const GLuint *coords)
3927 {
3928     return gl::TexCoordP1uiv(type, coords);
3929 }
3930 
glTexCoordP2ui(GLenum type,GLuint coords)3931 void GL_APIENTRY glTexCoordP2ui(GLenum type, GLuint coords)
3932 {
3933     return gl::TexCoordP2ui(type, coords);
3934 }
3935 
glTexCoordP2uiv(GLenum type,const GLuint * coords)3936 void GL_APIENTRY glTexCoordP2uiv(GLenum type, const GLuint *coords)
3937 {
3938     return gl::TexCoordP2uiv(type, coords);
3939 }
3940 
glTexCoordP3ui(GLenum type,GLuint coords)3941 void GL_APIENTRY glTexCoordP3ui(GLenum type, GLuint coords)
3942 {
3943     return gl::TexCoordP3ui(type, coords);
3944 }
3945 
glTexCoordP3uiv(GLenum type,const GLuint * coords)3946 void GL_APIENTRY glTexCoordP3uiv(GLenum type, const GLuint *coords)
3947 {
3948     return gl::TexCoordP3uiv(type, coords);
3949 }
3950 
glTexCoordP4ui(GLenum type,GLuint coords)3951 void GL_APIENTRY glTexCoordP4ui(GLenum type, GLuint coords)
3952 {
3953     return gl::TexCoordP4ui(type, coords);
3954 }
3955 
glTexCoordP4uiv(GLenum type,const GLuint * coords)3956 void GL_APIENTRY glTexCoordP4uiv(GLenum type, const GLuint *coords)
3957 {
3958     return gl::TexCoordP4uiv(type, coords);
3959 }
3960 
glVertexAttribDivisor(GLuint index,GLuint divisor)3961 void GL_APIENTRY glVertexAttribDivisor(GLuint index, GLuint divisor)
3962 {
3963     return gl::VertexAttribDivisor(index, divisor);
3964 }
3965 
glVertexAttribP1ui(GLuint index,GLenum type,GLboolean normalized,GLuint value)3966 void GL_APIENTRY glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
3967 {
3968     return gl::VertexAttribP1ui(index, type, normalized, value);
3969 }
3970 
glVertexAttribP1uiv(GLuint index,GLenum type,GLboolean normalized,const GLuint * value)3971 void GL_APIENTRY glVertexAttribP1uiv(GLuint index,
3972                                      GLenum type,
3973                                      GLboolean normalized,
3974                                      const GLuint *value)
3975 {
3976     return gl::VertexAttribP1uiv(index, type, normalized, value);
3977 }
3978 
glVertexAttribP2ui(GLuint index,GLenum type,GLboolean normalized,GLuint value)3979 void GL_APIENTRY glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
3980 {
3981     return gl::VertexAttribP2ui(index, type, normalized, value);
3982 }
3983 
glVertexAttribP2uiv(GLuint index,GLenum type,GLboolean normalized,const GLuint * value)3984 void GL_APIENTRY glVertexAttribP2uiv(GLuint index,
3985                                      GLenum type,
3986                                      GLboolean normalized,
3987                                      const GLuint *value)
3988 {
3989     return gl::VertexAttribP2uiv(index, type, normalized, value);
3990 }
3991 
glVertexAttribP3ui(GLuint index,GLenum type,GLboolean normalized,GLuint value)3992 void GL_APIENTRY glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
3993 {
3994     return gl::VertexAttribP3ui(index, type, normalized, value);
3995 }
3996 
glVertexAttribP3uiv(GLuint index,GLenum type,GLboolean normalized,const GLuint * value)3997 void GL_APIENTRY glVertexAttribP3uiv(GLuint index,
3998                                      GLenum type,
3999                                      GLboolean normalized,
4000                                      const GLuint *value)
4001 {
4002     return gl::VertexAttribP3uiv(index, type, normalized, value);
4003 }
4004 
glVertexAttribP4ui(GLuint index,GLenum type,GLboolean normalized,GLuint value)4005 void GL_APIENTRY glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
4006 {
4007     return gl::VertexAttribP4ui(index, type, normalized, value);
4008 }
4009 
glVertexAttribP4uiv(GLuint index,GLenum type,GLboolean normalized,const GLuint * value)4010 void GL_APIENTRY glVertexAttribP4uiv(GLuint index,
4011                                      GLenum type,
4012                                      GLboolean normalized,
4013                                      const GLuint *value)
4014 {
4015     return gl::VertexAttribP4uiv(index, type, normalized, value);
4016 }
4017 
glVertexP2ui(GLenum type,GLuint value)4018 void GL_APIENTRY glVertexP2ui(GLenum type, GLuint value)
4019 {
4020     return gl::VertexP2ui(type, value);
4021 }
4022 
glVertexP2uiv(GLenum type,const GLuint * value)4023 void GL_APIENTRY glVertexP2uiv(GLenum type, const GLuint *value)
4024 {
4025     return gl::VertexP2uiv(type, value);
4026 }
4027 
glVertexP3ui(GLenum type,GLuint value)4028 void GL_APIENTRY glVertexP3ui(GLenum type, GLuint value)
4029 {
4030     return gl::VertexP3ui(type, value);
4031 }
4032 
glVertexP3uiv(GLenum type,const GLuint * value)4033 void GL_APIENTRY glVertexP3uiv(GLenum type, const GLuint *value)
4034 {
4035     return gl::VertexP3uiv(type, value);
4036 }
4037 
glVertexP4ui(GLenum type,GLuint value)4038 void GL_APIENTRY glVertexP4ui(GLenum type, GLuint value)
4039 {
4040     return gl::VertexP4ui(type, value);
4041 }
4042 
glVertexP4uiv(GLenum type,const GLuint * value)4043 void GL_APIENTRY glVertexP4uiv(GLenum type, const GLuint *value)
4044 {
4045     return gl::VertexP4uiv(type, value);
4046 }
4047 
4048 // GL 4.0
glBeginQueryIndexed(GLenum target,GLuint index,GLuint id)4049 void GL_APIENTRY glBeginQueryIndexed(GLenum target, GLuint index, GLuint id)
4050 {
4051     return gl::BeginQueryIndexed(target, index, id);
4052 }
4053 
glBindTransformFeedback(GLenum target,GLuint id)4054 void GL_APIENTRY glBindTransformFeedback(GLenum target, GLuint id)
4055 {
4056     return gl::BindTransformFeedback(target, id);
4057 }
4058 
glBlendEquationSeparatei(GLuint buf,GLenum modeRGB,GLenum modeAlpha)4059 void GL_APIENTRY glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)
4060 {
4061     return gl::BlendEquationSeparatei(buf, modeRGB, modeAlpha);
4062 }
4063 
glBlendEquationi(GLuint buf,GLenum mode)4064 void GL_APIENTRY glBlendEquationi(GLuint buf, GLenum mode)
4065 {
4066     return gl::BlendEquationi(buf, mode);
4067 }
4068 
4069 void GL_APIENTRY
glBlendFuncSeparatei(GLuint buf,GLenum srcRGB,GLenum dstRGB,GLenum srcAlpha,GLenum dstAlpha)4070 glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
4071 {
4072     return gl::BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
4073 }
4074 
glBlendFunci(GLuint buf,GLenum src,GLenum dst)4075 void GL_APIENTRY glBlendFunci(GLuint buf, GLenum src, GLenum dst)
4076 {
4077     return gl::BlendFunci(buf, src, dst);
4078 }
4079 
glDeleteTransformFeedbacks(GLsizei n,const GLuint * ids)4080 void GL_APIENTRY glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids)
4081 {
4082     return gl::DeleteTransformFeedbacks(n, ids);
4083 }
4084 
glDrawArraysIndirect(GLenum mode,const void * indirect)4085 void GL_APIENTRY glDrawArraysIndirect(GLenum mode, const void *indirect)
4086 {
4087     return gl::DrawArraysIndirect(mode, indirect);
4088 }
4089 
glDrawElementsIndirect(GLenum mode,GLenum type,const void * indirect)4090 void GL_APIENTRY glDrawElementsIndirect(GLenum mode, GLenum type, const void *indirect)
4091 {
4092     return gl::DrawElementsIndirect(mode, type, indirect);
4093 }
4094 
glDrawTransformFeedback(GLenum mode,GLuint id)4095 void GL_APIENTRY glDrawTransformFeedback(GLenum mode, GLuint id)
4096 {
4097     return gl::DrawTransformFeedback(mode, id);
4098 }
4099 
glDrawTransformFeedbackStream(GLenum mode,GLuint id,GLuint stream)4100 void GL_APIENTRY glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream)
4101 {
4102     return gl::DrawTransformFeedbackStream(mode, id, stream);
4103 }
4104 
glEndQueryIndexed(GLenum target,GLuint index)4105 void GL_APIENTRY glEndQueryIndexed(GLenum target, GLuint index)
4106 {
4107     return gl::EndQueryIndexed(target, index);
4108 }
4109 
glGenTransformFeedbacks(GLsizei n,GLuint * ids)4110 void GL_APIENTRY glGenTransformFeedbacks(GLsizei n, GLuint *ids)
4111 {
4112     return gl::GenTransformFeedbacks(n, ids);
4113 }
4114 
glGetActiveSubroutineName(GLuint program,GLenum shadertype,GLuint index,GLsizei bufsize,GLsizei * length,GLchar * name)4115 void GL_APIENTRY glGetActiveSubroutineName(GLuint program,
4116                                            GLenum shadertype,
4117                                            GLuint index,
4118                                            GLsizei bufsize,
4119                                            GLsizei *length,
4120                                            GLchar *name)
4121 {
4122     return gl::GetActiveSubroutineName(program, shadertype, index, bufsize, length, name);
4123 }
4124 
glGetActiveSubroutineUniformName(GLuint program,GLenum shadertype,GLuint index,GLsizei bufsize,GLsizei * length,GLchar * name)4125 void GL_APIENTRY glGetActiveSubroutineUniformName(GLuint program,
4126                                                   GLenum shadertype,
4127                                                   GLuint index,
4128                                                   GLsizei bufsize,
4129                                                   GLsizei *length,
4130                                                   GLchar *name)
4131 {
4132     return gl::GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name);
4133 }
4134 
glGetActiveSubroutineUniformiv(GLuint program,GLenum shadertype,GLuint index,GLenum pname,GLint * values)4135 void GL_APIENTRY glGetActiveSubroutineUniformiv(GLuint program,
4136                                                 GLenum shadertype,
4137                                                 GLuint index,
4138                                                 GLenum pname,
4139                                                 GLint *values)
4140 {
4141     return gl::GetActiveSubroutineUniformiv(program, shadertype, index, pname, values);
4142 }
4143 
glGetProgramStageiv(GLuint program,GLenum shadertype,GLenum pname,GLint * values)4144 void GL_APIENTRY glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values)
4145 {
4146     return gl::GetProgramStageiv(program, shadertype, pname, values);
4147 }
4148 
glGetQueryIndexediv(GLenum target,GLuint index,GLenum pname,GLint * params)4149 void GL_APIENTRY glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params)
4150 {
4151     return gl::GetQueryIndexediv(target, index, pname, params);
4152 }
4153 
glGetSubroutineIndex(GLuint program,GLenum shadertype,const GLchar * name)4154 GLuint GL_APIENTRY glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name)
4155 {
4156     return gl::GetSubroutineIndex(program, shadertype, name);
4157 }
4158 
glGetSubroutineUniformLocation(GLuint program,GLenum shadertype,const GLchar * name)4159 GLint GL_APIENTRY glGetSubroutineUniformLocation(GLuint program,
4160                                                  GLenum shadertype,
4161                                                  const GLchar *name)
4162 {
4163     return gl::GetSubroutineUniformLocation(program, shadertype, name);
4164 }
4165 
glGetUniformSubroutineuiv(GLenum shadertype,GLint location,GLuint * params)4166 void GL_APIENTRY glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params)
4167 {
4168     return gl::GetUniformSubroutineuiv(shadertype, location, params);
4169 }
4170 
glGetUniformdv(GLuint program,GLint location,GLdouble * params)4171 void GL_APIENTRY glGetUniformdv(GLuint program, GLint location, GLdouble *params)
4172 {
4173     return gl::GetUniformdv(program, location, params);
4174 }
4175 
glIsTransformFeedback(GLuint id)4176 GLboolean GL_APIENTRY glIsTransformFeedback(GLuint id)
4177 {
4178     return gl::IsTransformFeedback(id);
4179 }
4180 
glMinSampleShading(GLfloat value)4181 void GL_APIENTRY glMinSampleShading(GLfloat value)
4182 {
4183     return gl::MinSampleShading(value);
4184 }
4185 
glPatchParameterfv(GLenum pname,const GLfloat * values)4186 void GL_APIENTRY glPatchParameterfv(GLenum pname, const GLfloat *values)
4187 {
4188     return gl::PatchParameterfv(pname, values);
4189 }
4190 
glPatchParameteri(GLenum pname,GLint value)4191 void GL_APIENTRY glPatchParameteri(GLenum pname, GLint value)
4192 {
4193     return gl::PatchParameteri(pname, value);
4194 }
4195 
glPauseTransformFeedback()4196 void GL_APIENTRY glPauseTransformFeedback()
4197 {
4198     return gl::PauseTransformFeedback();
4199 }
4200 
glResumeTransformFeedback()4201 void GL_APIENTRY glResumeTransformFeedback()
4202 {
4203     return gl::ResumeTransformFeedback();
4204 }
4205 
glUniform1d(GLint location,GLdouble x)4206 void GL_APIENTRY glUniform1d(GLint location, GLdouble x)
4207 {
4208     return gl::Uniform1d(location, x);
4209 }
4210 
glUniform1dv(GLint location,GLsizei count,const GLdouble * value)4211 void GL_APIENTRY glUniform1dv(GLint location, GLsizei count, const GLdouble *value)
4212 {
4213     return gl::Uniform1dv(location, count, value);
4214 }
4215 
glUniform2d(GLint location,GLdouble x,GLdouble y)4216 void GL_APIENTRY glUniform2d(GLint location, GLdouble x, GLdouble y)
4217 {
4218     return gl::Uniform2d(location, x, y);
4219 }
4220 
glUniform2dv(GLint location,GLsizei count,const GLdouble * value)4221 void GL_APIENTRY glUniform2dv(GLint location, GLsizei count, const GLdouble *value)
4222 {
4223     return gl::Uniform2dv(location, count, value);
4224 }
4225 
glUniform3d(GLint location,GLdouble x,GLdouble y,GLdouble z)4226 void GL_APIENTRY glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z)
4227 {
4228     return gl::Uniform3d(location, x, y, z);
4229 }
4230 
glUniform3dv(GLint location,GLsizei count,const GLdouble * value)4231 void GL_APIENTRY glUniform3dv(GLint location, GLsizei count, const GLdouble *value)
4232 {
4233     return gl::Uniform3dv(location, count, value);
4234 }
4235 
glUniform4d(GLint location,GLdouble x,GLdouble y,GLdouble z,GLdouble w)4236 void GL_APIENTRY glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
4237 {
4238     return gl::Uniform4d(location, x, y, z, w);
4239 }
4240 
glUniform4dv(GLint location,GLsizei count,const GLdouble * value)4241 void GL_APIENTRY glUniform4dv(GLint location, GLsizei count, const GLdouble *value)
4242 {
4243     return gl::Uniform4dv(location, count, value);
4244 }
4245 
glUniformMatrix2dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4246 void GL_APIENTRY glUniformMatrix2dv(GLint location,
4247                                     GLsizei count,
4248                                     GLboolean transpose,
4249                                     const GLdouble *value)
4250 {
4251     return gl::UniformMatrix2dv(location, count, transpose, value);
4252 }
4253 
glUniformMatrix2x3dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4254 void GL_APIENTRY glUniformMatrix2x3dv(GLint location,
4255                                       GLsizei count,
4256                                       GLboolean transpose,
4257                                       const GLdouble *value)
4258 {
4259     return gl::UniformMatrix2x3dv(location, count, transpose, value);
4260 }
4261 
glUniformMatrix2x4dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4262 void GL_APIENTRY glUniformMatrix2x4dv(GLint location,
4263                                       GLsizei count,
4264                                       GLboolean transpose,
4265                                       const GLdouble *value)
4266 {
4267     return gl::UniformMatrix2x4dv(location, count, transpose, value);
4268 }
4269 
glUniformMatrix3dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4270 void GL_APIENTRY glUniformMatrix3dv(GLint location,
4271                                     GLsizei count,
4272                                     GLboolean transpose,
4273                                     const GLdouble *value)
4274 {
4275     return gl::UniformMatrix3dv(location, count, transpose, value);
4276 }
4277 
glUniformMatrix3x2dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4278 void GL_APIENTRY glUniformMatrix3x2dv(GLint location,
4279                                       GLsizei count,
4280                                       GLboolean transpose,
4281                                       const GLdouble *value)
4282 {
4283     return gl::UniformMatrix3x2dv(location, count, transpose, value);
4284 }
4285 
glUniformMatrix3x4dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4286 void GL_APIENTRY glUniformMatrix3x4dv(GLint location,
4287                                       GLsizei count,
4288                                       GLboolean transpose,
4289                                       const GLdouble *value)
4290 {
4291     return gl::UniformMatrix3x4dv(location, count, transpose, value);
4292 }
4293 
glUniformMatrix4dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4294 void GL_APIENTRY glUniformMatrix4dv(GLint location,
4295                                     GLsizei count,
4296                                     GLboolean transpose,
4297                                     const GLdouble *value)
4298 {
4299     return gl::UniformMatrix4dv(location, count, transpose, value);
4300 }
4301 
glUniformMatrix4x2dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4302 void GL_APIENTRY glUniformMatrix4x2dv(GLint location,
4303                                       GLsizei count,
4304                                       GLboolean transpose,
4305                                       const GLdouble *value)
4306 {
4307     return gl::UniformMatrix4x2dv(location, count, transpose, value);
4308 }
4309 
glUniformMatrix4x3dv(GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4310 void GL_APIENTRY glUniformMatrix4x3dv(GLint location,
4311                                       GLsizei count,
4312                                       GLboolean transpose,
4313                                       const GLdouble *value)
4314 {
4315     return gl::UniformMatrix4x3dv(location, count, transpose, value);
4316 }
4317 
glUniformSubroutinesuiv(GLenum shadertype,GLsizei count,const GLuint * indices)4318 void GL_APIENTRY glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices)
4319 {
4320     return gl::UniformSubroutinesuiv(shadertype, count, indices);
4321 }
4322 
4323 // GL 4.1
glActiveShaderProgram(GLuint pipeline,GLuint program)4324 void GL_APIENTRY glActiveShaderProgram(GLuint pipeline, GLuint program)
4325 {
4326     return gl::ActiveShaderProgram(pipeline, program);
4327 }
4328 
glBindProgramPipeline(GLuint pipeline)4329 void GL_APIENTRY glBindProgramPipeline(GLuint pipeline)
4330 {
4331     return gl::BindProgramPipeline(pipeline);
4332 }
4333 
glClearDepthf(GLfloat d)4334 void GL_APIENTRY glClearDepthf(GLfloat d)
4335 {
4336     return gl::ClearDepthf(d);
4337 }
4338 
glCreateShaderProgramv(GLenum type,GLsizei count,const GLchar * const * strings)4339 GLuint GL_APIENTRY glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar *const *strings)
4340 {
4341     return gl::CreateShaderProgramv(type, count, strings);
4342 }
4343 
glDeleteProgramPipelines(GLsizei n,const GLuint * pipelines)4344 void GL_APIENTRY glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines)
4345 {
4346     return gl::DeleteProgramPipelines(n, pipelines);
4347 }
4348 
glDepthRangeArrayv(GLuint first,GLsizei count,const GLdouble * v)4349 void GL_APIENTRY glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v)
4350 {
4351     return gl::DepthRangeArrayv(first, count, v);
4352 }
4353 
glDepthRangeIndexed(GLuint index,GLdouble n,GLdouble f)4354 void GL_APIENTRY glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f)
4355 {
4356     return gl::DepthRangeIndexed(index, n, f);
4357 }
4358 
glDepthRangef(GLfloat n,GLfloat f)4359 void GL_APIENTRY glDepthRangef(GLfloat n, GLfloat f)
4360 {
4361     return gl::DepthRangef(n, f);
4362 }
4363 
glGenProgramPipelines(GLsizei n,GLuint * pipelines)4364 void GL_APIENTRY glGenProgramPipelines(GLsizei n, GLuint *pipelines)
4365 {
4366     return gl::GenProgramPipelines(n, pipelines);
4367 }
4368 
glGetDoublei_v(GLenum target,GLuint index,GLdouble * data)4369 void GL_APIENTRY glGetDoublei_v(GLenum target, GLuint index, GLdouble *data)
4370 {
4371     return gl::GetDoublei_v(target, index, data);
4372 }
4373 
glGetFloati_v(GLenum target,GLuint index,GLfloat * data)4374 void GL_APIENTRY glGetFloati_v(GLenum target, GLuint index, GLfloat *data)
4375 {
4376     return gl::GetFloati_v(target, index, data);
4377 }
4378 
glGetProgramBinary(GLuint program,GLsizei bufSize,GLsizei * length,GLenum * binaryFormat,void * binary)4379 void GL_APIENTRY glGetProgramBinary(GLuint program,
4380                                     GLsizei bufSize,
4381                                     GLsizei *length,
4382                                     GLenum *binaryFormat,
4383                                     void *binary)
4384 {
4385     return gl::GetProgramBinary(program, bufSize, length, binaryFormat, binary);
4386 }
4387 
glGetProgramPipelineInfoLog(GLuint pipeline,GLsizei bufSize,GLsizei * length,GLchar * infoLog)4388 void GL_APIENTRY glGetProgramPipelineInfoLog(GLuint pipeline,
4389                                              GLsizei bufSize,
4390                                              GLsizei *length,
4391                                              GLchar *infoLog)
4392 {
4393     return gl::GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog);
4394 }
4395 
glGetProgramPipelineiv(GLuint pipeline,GLenum pname,GLint * params)4396 void GL_APIENTRY glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
4397 {
4398     return gl::GetProgramPipelineiv(pipeline, pname, params);
4399 }
4400 
glGetShaderPrecisionFormat(GLenum shadertype,GLenum precisiontype,GLint * range,GLint * precision)4401 void GL_APIENTRY glGetShaderPrecisionFormat(GLenum shadertype,
4402                                             GLenum precisiontype,
4403                                             GLint *range,
4404                                             GLint *precision)
4405 {
4406     return gl::GetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
4407 }
4408 
glGetVertexAttribLdv(GLuint index,GLenum pname,GLdouble * params)4409 void GL_APIENTRY glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params)
4410 {
4411     return gl::GetVertexAttribLdv(index, pname, params);
4412 }
4413 
glIsProgramPipeline(GLuint pipeline)4414 GLboolean GL_APIENTRY glIsProgramPipeline(GLuint pipeline)
4415 {
4416     return gl::IsProgramPipeline(pipeline);
4417 }
4418 
glProgramBinary(GLuint program,GLenum binaryFormat,const void * binary,GLsizei length)4419 void GL_APIENTRY glProgramBinary(GLuint program,
4420                                  GLenum binaryFormat,
4421                                  const void *binary,
4422                                  GLsizei length)
4423 {
4424     return gl::ProgramBinary(program, binaryFormat, binary, length);
4425 }
4426 
glProgramParameteri(GLuint program,GLenum pname,GLint value)4427 void GL_APIENTRY glProgramParameteri(GLuint program, GLenum pname, GLint value)
4428 {
4429     return gl::ProgramParameteri(program, pname, value);
4430 }
4431 
glProgramUniform1d(GLuint program,GLint location,GLdouble v0)4432 void GL_APIENTRY glProgramUniform1d(GLuint program, GLint location, GLdouble v0)
4433 {
4434     return gl::ProgramUniform1d(program, location, v0);
4435 }
4436 
glProgramUniform1dv(GLuint program,GLint location,GLsizei count,const GLdouble * value)4437 void GL_APIENTRY glProgramUniform1dv(GLuint program,
4438                                      GLint location,
4439                                      GLsizei count,
4440                                      const GLdouble *value)
4441 {
4442     return gl::ProgramUniform1dv(program, location, count, value);
4443 }
4444 
glProgramUniform1f(GLuint program,GLint location,GLfloat v0)4445 void GL_APIENTRY glProgramUniform1f(GLuint program, GLint location, GLfloat v0)
4446 {
4447     return gl::ProgramUniform1f(program, location, v0);
4448 }
4449 
glProgramUniform1fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)4450 void GL_APIENTRY glProgramUniform1fv(GLuint program,
4451                                      GLint location,
4452                                      GLsizei count,
4453                                      const GLfloat *value)
4454 {
4455     return gl::ProgramUniform1fv(program, location, count, value);
4456 }
4457 
glProgramUniform1i(GLuint program,GLint location,GLint v0)4458 void GL_APIENTRY glProgramUniform1i(GLuint program, GLint location, GLint v0)
4459 {
4460     return gl::ProgramUniform1i(program, location, v0);
4461 }
4462 
glProgramUniform1iv(GLuint program,GLint location,GLsizei count,const GLint * value)4463 void GL_APIENTRY glProgramUniform1iv(GLuint program,
4464                                      GLint location,
4465                                      GLsizei count,
4466                                      const GLint *value)
4467 {
4468     return gl::ProgramUniform1iv(program, location, count, value);
4469 }
4470 
glProgramUniform1ui(GLuint program,GLint location,GLuint v0)4471 void GL_APIENTRY glProgramUniform1ui(GLuint program, GLint location, GLuint v0)
4472 {
4473     return gl::ProgramUniform1ui(program, location, v0);
4474 }
4475 
glProgramUniform1uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)4476 void GL_APIENTRY glProgramUniform1uiv(GLuint program,
4477                                       GLint location,
4478                                       GLsizei count,
4479                                       const GLuint *value)
4480 {
4481     return gl::ProgramUniform1uiv(program, location, count, value);
4482 }
4483 
glProgramUniform2d(GLuint program,GLint location,GLdouble v0,GLdouble v1)4484 void GL_APIENTRY glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1)
4485 {
4486     return gl::ProgramUniform2d(program, location, v0, v1);
4487 }
4488 
glProgramUniform2dv(GLuint program,GLint location,GLsizei count,const GLdouble * value)4489 void GL_APIENTRY glProgramUniform2dv(GLuint program,
4490                                      GLint location,
4491                                      GLsizei count,
4492                                      const GLdouble *value)
4493 {
4494     return gl::ProgramUniform2dv(program, location, count, value);
4495 }
4496 
glProgramUniform2f(GLuint program,GLint location,GLfloat v0,GLfloat v1)4497 void GL_APIENTRY glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1)
4498 {
4499     return gl::ProgramUniform2f(program, location, v0, v1);
4500 }
4501 
glProgramUniform2fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)4502 void GL_APIENTRY glProgramUniform2fv(GLuint program,
4503                                      GLint location,
4504                                      GLsizei count,
4505                                      const GLfloat *value)
4506 {
4507     return gl::ProgramUniform2fv(program, location, count, value);
4508 }
4509 
glProgramUniform2i(GLuint program,GLint location,GLint v0,GLint v1)4510 void GL_APIENTRY glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1)
4511 {
4512     return gl::ProgramUniform2i(program, location, v0, v1);
4513 }
4514 
glProgramUniform2iv(GLuint program,GLint location,GLsizei count,const GLint * value)4515 void GL_APIENTRY glProgramUniform2iv(GLuint program,
4516                                      GLint location,
4517                                      GLsizei count,
4518                                      const GLint *value)
4519 {
4520     return gl::ProgramUniform2iv(program, location, count, value);
4521 }
4522 
glProgramUniform2ui(GLuint program,GLint location,GLuint v0,GLuint v1)4523 void GL_APIENTRY glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1)
4524 {
4525     return gl::ProgramUniform2ui(program, location, v0, v1);
4526 }
4527 
glProgramUniform2uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)4528 void GL_APIENTRY glProgramUniform2uiv(GLuint program,
4529                                       GLint location,
4530                                       GLsizei count,
4531                                       const GLuint *value)
4532 {
4533     return gl::ProgramUniform2uiv(program, location, count, value);
4534 }
4535 
4536 void GL_APIENTRY
glProgramUniform3d(GLuint program,GLint location,GLdouble v0,GLdouble v1,GLdouble v2)4537 glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2)
4538 {
4539     return gl::ProgramUniform3d(program, location, v0, v1, v2);
4540 }
4541 
glProgramUniform3dv(GLuint program,GLint location,GLsizei count,const GLdouble * value)4542 void GL_APIENTRY glProgramUniform3dv(GLuint program,
4543                                      GLint location,
4544                                      GLsizei count,
4545                                      const GLdouble *value)
4546 {
4547     return gl::ProgramUniform3dv(program, location, count, value);
4548 }
4549 
4550 void GL_APIENTRY
glProgramUniform3f(GLuint program,GLint location,GLfloat v0,GLfloat v1,GLfloat v2)4551 glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
4552 {
4553     return gl::ProgramUniform3f(program, location, v0, v1, v2);
4554 }
4555 
glProgramUniform3fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)4556 void GL_APIENTRY glProgramUniform3fv(GLuint program,
4557                                      GLint location,
4558                                      GLsizei count,
4559                                      const GLfloat *value)
4560 {
4561     return gl::ProgramUniform3fv(program, location, count, value);
4562 }
4563 
glProgramUniform3i(GLuint program,GLint location,GLint v0,GLint v1,GLint v2)4564 void GL_APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
4565 {
4566     return gl::ProgramUniform3i(program, location, v0, v1, v2);
4567 }
4568 
glProgramUniform3iv(GLuint program,GLint location,GLsizei count,const GLint * value)4569 void GL_APIENTRY glProgramUniform3iv(GLuint program,
4570                                      GLint location,
4571                                      GLsizei count,
4572                                      const GLint *value)
4573 {
4574     return gl::ProgramUniform3iv(program, location, count, value);
4575 }
4576 
4577 void GL_APIENTRY
glProgramUniform3ui(GLuint program,GLint location,GLuint v0,GLuint v1,GLuint v2)4578 glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2)
4579 {
4580     return gl::ProgramUniform3ui(program, location, v0, v1, v2);
4581 }
4582 
glProgramUniform3uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)4583 void GL_APIENTRY glProgramUniform3uiv(GLuint program,
4584                                       GLint location,
4585                                       GLsizei count,
4586                                       const GLuint *value)
4587 {
4588     return gl::ProgramUniform3uiv(program, location, count, value);
4589 }
4590 
glProgramUniform4d(GLuint program,GLint location,GLdouble v0,GLdouble v1,GLdouble v2,GLdouble v3)4591 void GL_APIENTRY glProgramUniform4d(GLuint program,
4592                                     GLint location,
4593                                     GLdouble v0,
4594                                     GLdouble v1,
4595                                     GLdouble v2,
4596                                     GLdouble v3)
4597 {
4598     return gl::ProgramUniform4d(program, location, v0, v1, v2, v3);
4599 }
4600 
glProgramUniform4dv(GLuint program,GLint location,GLsizei count,const GLdouble * value)4601 void GL_APIENTRY glProgramUniform4dv(GLuint program,
4602                                      GLint location,
4603                                      GLsizei count,
4604                                      const GLdouble *value)
4605 {
4606     return gl::ProgramUniform4dv(program, location, count, value);
4607 }
4608 
4609 void GL_APIENTRY
glProgramUniform4f(GLuint program,GLint location,GLfloat v0,GLfloat v1,GLfloat v2,GLfloat v3)4610 glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
4611 {
4612     return gl::ProgramUniform4f(program, location, v0, v1, v2, v3);
4613 }
4614 
glProgramUniform4fv(GLuint program,GLint location,GLsizei count,const GLfloat * value)4615 void GL_APIENTRY glProgramUniform4fv(GLuint program,
4616                                      GLint location,
4617                                      GLsizei count,
4618                                      const GLfloat *value)
4619 {
4620     return gl::ProgramUniform4fv(program, location, count, value);
4621 }
4622 
4623 void GL_APIENTRY
glProgramUniform4i(GLuint program,GLint location,GLint v0,GLint v1,GLint v2,GLint v3)4624 glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
4625 {
4626     return gl::ProgramUniform4i(program, location, v0, v1, v2, v3);
4627 }
4628 
glProgramUniform4iv(GLuint program,GLint location,GLsizei count,const GLint * value)4629 void GL_APIENTRY glProgramUniform4iv(GLuint program,
4630                                      GLint location,
4631                                      GLsizei count,
4632                                      const GLint *value)
4633 {
4634     return gl::ProgramUniform4iv(program, location, count, value);
4635 }
4636 
4637 void GL_APIENTRY
glProgramUniform4ui(GLuint program,GLint location,GLuint v0,GLuint v1,GLuint v2,GLuint v3)4638 glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
4639 {
4640     return gl::ProgramUniform4ui(program, location, v0, v1, v2, v3);
4641 }
4642 
glProgramUniform4uiv(GLuint program,GLint location,GLsizei count,const GLuint * value)4643 void GL_APIENTRY glProgramUniform4uiv(GLuint program,
4644                                       GLint location,
4645                                       GLsizei count,
4646                                       const GLuint *value)
4647 {
4648     return gl::ProgramUniform4uiv(program, location, count, value);
4649 }
4650 
glProgramUniformMatrix2dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4651 void GL_APIENTRY glProgramUniformMatrix2dv(GLuint program,
4652                                            GLint location,
4653                                            GLsizei count,
4654                                            GLboolean transpose,
4655                                            const GLdouble *value)
4656 {
4657     return gl::ProgramUniformMatrix2dv(program, location, count, transpose, value);
4658 }
4659 
glProgramUniformMatrix2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4660 void GL_APIENTRY glProgramUniformMatrix2fv(GLuint program,
4661                                            GLint location,
4662                                            GLsizei count,
4663                                            GLboolean transpose,
4664                                            const GLfloat *value)
4665 {
4666     return gl::ProgramUniformMatrix2fv(program, location, count, transpose, value);
4667 }
4668 
glProgramUniformMatrix2x3dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4669 void GL_APIENTRY glProgramUniformMatrix2x3dv(GLuint program,
4670                                              GLint location,
4671                                              GLsizei count,
4672                                              GLboolean transpose,
4673                                              const GLdouble *value)
4674 {
4675     return gl::ProgramUniformMatrix2x3dv(program, location, count, transpose, value);
4676 }
4677 
glProgramUniformMatrix2x3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4678 void GL_APIENTRY glProgramUniformMatrix2x3fv(GLuint program,
4679                                              GLint location,
4680                                              GLsizei count,
4681                                              GLboolean transpose,
4682                                              const GLfloat *value)
4683 {
4684     return gl::ProgramUniformMatrix2x3fv(program, location, count, transpose, value);
4685 }
4686 
glProgramUniformMatrix2x4dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4687 void GL_APIENTRY glProgramUniformMatrix2x4dv(GLuint program,
4688                                              GLint location,
4689                                              GLsizei count,
4690                                              GLboolean transpose,
4691                                              const GLdouble *value)
4692 {
4693     return gl::ProgramUniformMatrix2x4dv(program, location, count, transpose, value);
4694 }
4695 
glProgramUniformMatrix2x4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4696 void GL_APIENTRY glProgramUniformMatrix2x4fv(GLuint program,
4697                                              GLint location,
4698                                              GLsizei count,
4699                                              GLboolean transpose,
4700                                              const GLfloat *value)
4701 {
4702     return gl::ProgramUniformMatrix2x4fv(program, location, count, transpose, value);
4703 }
4704 
glProgramUniformMatrix3dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4705 void GL_APIENTRY glProgramUniformMatrix3dv(GLuint program,
4706                                            GLint location,
4707                                            GLsizei count,
4708                                            GLboolean transpose,
4709                                            const GLdouble *value)
4710 {
4711     return gl::ProgramUniformMatrix3dv(program, location, count, transpose, value);
4712 }
4713 
glProgramUniformMatrix3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4714 void GL_APIENTRY glProgramUniformMatrix3fv(GLuint program,
4715                                            GLint location,
4716                                            GLsizei count,
4717                                            GLboolean transpose,
4718                                            const GLfloat *value)
4719 {
4720     return gl::ProgramUniformMatrix3fv(program, location, count, transpose, value);
4721 }
4722 
glProgramUniformMatrix3x2dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4723 void GL_APIENTRY glProgramUniformMatrix3x2dv(GLuint program,
4724                                              GLint location,
4725                                              GLsizei count,
4726                                              GLboolean transpose,
4727                                              const GLdouble *value)
4728 {
4729     return gl::ProgramUniformMatrix3x2dv(program, location, count, transpose, value);
4730 }
4731 
glProgramUniformMatrix3x2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4732 void GL_APIENTRY glProgramUniformMatrix3x2fv(GLuint program,
4733                                              GLint location,
4734                                              GLsizei count,
4735                                              GLboolean transpose,
4736                                              const GLfloat *value)
4737 {
4738     return gl::ProgramUniformMatrix3x2fv(program, location, count, transpose, value);
4739 }
4740 
glProgramUniformMatrix3x4dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4741 void GL_APIENTRY glProgramUniformMatrix3x4dv(GLuint program,
4742                                              GLint location,
4743                                              GLsizei count,
4744                                              GLboolean transpose,
4745                                              const GLdouble *value)
4746 {
4747     return gl::ProgramUniformMatrix3x4dv(program, location, count, transpose, value);
4748 }
4749 
glProgramUniformMatrix3x4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4750 void GL_APIENTRY glProgramUniformMatrix3x4fv(GLuint program,
4751                                              GLint location,
4752                                              GLsizei count,
4753                                              GLboolean transpose,
4754                                              const GLfloat *value)
4755 {
4756     return gl::ProgramUniformMatrix3x4fv(program, location, count, transpose, value);
4757 }
4758 
glProgramUniformMatrix4dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4759 void GL_APIENTRY glProgramUniformMatrix4dv(GLuint program,
4760                                            GLint location,
4761                                            GLsizei count,
4762                                            GLboolean transpose,
4763                                            const GLdouble *value)
4764 {
4765     return gl::ProgramUniformMatrix4dv(program, location, count, transpose, value);
4766 }
4767 
glProgramUniformMatrix4fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4768 void GL_APIENTRY glProgramUniformMatrix4fv(GLuint program,
4769                                            GLint location,
4770                                            GLsizei count,
4771                                            GLboolean transpose,
4772                                            const GLfloat *value)
4773 {
4774     return gl::ProgramUniformMatrix4fv(program, location, count, transpose, value);
4775 }
4776 
glProgramUniformMatrix4x2dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4777 void GL_APIENTRY glProgramUniformMatrix4x2dv(GLuint program,
4778                                              GLint location,
4779                                              GLsizei count,
4780                                              GLboolean transpose,
4781                                              const GLdouble *value)
4782 {
4783     return gl::ProgramUniformMatrix4x2dv(program, location, count, transpose, value);
4784 }
4785 
glProgramUniformMatrix4x2fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4786 void GL_APIENTRY glProgramUniformMatrix4x2fv(GLuint program,
4787                                              GLint location,
4788                                              GLsizei count,
4789                                              GLboolean transpose,
4790                                              const GLfloat *value)
4791 {
4792     return gl::ProgramUniformMatrix4x2fv(program, location, count, transpose, value);
4793 }
4794 
glProgramUniformMatrix4x3dv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLdouble * value)4795 void GL_APIENTRY glProgramUniformMatrix4x3dv(GLuint program,
4796                                              GLint location,
4797                                              GLsizei count,
4798                                              GLboolean transpose,
4799                                              const GLdouble *value)
4800 {
4801     return gl::ProgramUniformMatrix4x3dv(program, location, count, transpose, value);
4802 }
4803 
glProgramUniformMatrix4x3fv(GLuint program,GLint location,GLsizei count,GLboolean transpose,const GLfloat * value)4804 void GL_APIENTRY glProgramUniformMatrix4x3fv(GLuint program,
4805                                              GLint location,
4806                                              GLsizei count,
4807                                              GLboolean transpose,
4808                                              const GLfloat *value)
4809 {
4810     return gl::ProgramUniformMatrix4x3fv(program, location, count, transpose, value);
4811 }
4812 
glReleaseShaderCompiler()4813 void GL_APIENTRY glReleaseShaderCompiler()
4814 {
4815     return gl::ReleaseShaderCompiler();
4816 }
4817 
glScissorArrayv(GLuint first,GLsizei count,const GLint * v)4818 void GL_APIENTRY glScissorArrayv(GLuint first, GLsizei count, const GLint *v)
4819 {
4820     return gl::ScissorArrayv(first, count, v);
4821 }
4822 
4823 void GL_APIENTRY
glScissorIndexed(GLuint index,GLint left,GLint bottom,GLsizei width,GLsizei height)4824 glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height)
4825 {
4826     return gl::ScissorIndexed(index, left, bottom, width, height);
4827 }
4828 
glScissorIndexedv(GLuint index,const GLint * v)4829 void GL_APIENTRY glScissorIndexedv(GLuint index, const GLint *v)
4830 {
4831     return gl::ScissorIndexedv(index, v);
4832 }
4833 
glShaderBinary(GLsizei count,const GLuint * shaders,GLenum binaryformat,const void * binary,GLsizei length)4834 void GL_APIENTRY glShaderBinary(GLsizei count,
4835                                 const GLuint *shaders,
4836                                 GLenum binaryformat,
4837                                 const void *binary,
4838                                 GLsizei length)
4839 {
4840     return gl::ShaderBinary(count, shaders, binaryformat, binary, length);
4841 }
4842 
glUseProgramStages(GLuint pipeline,GLbitfield stages,GLuint program)4843 void GL_APIENTRY glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
4844 {
4845     return gl::UseProgramStages(pipeline, stages, program);
4846 }
4847 
glValidateProgramPipeline(GLuint pipeline)4848 void GL_APIENTRY glValidateProgramPipeline(GLuint pipeline)
4849 {
4850     return gl::ValidateProgramPipeline(pipeline);
4851 }
4852 
glVertexAttribL1d(GLuint index,GLdouble x)4853 void GL_APIENTRY glVertexAttribL1d(GLuint index, GLdouble x)
4854 {
4855     return gl::VertexAttribL1d(index, x);
4856 }
4857 
glVertexAttribL1dv(GLuint index,const GLdouble * v)4858 void GL_APIENTRY glVertexAttribL1dv(GLuint index, const GLdouble *v)
4859 {
4860     return gl::VertexAttribL1dv(index, v);
4861 }
4862 
glVertexAttribL2d(GLuint index,GLdouble x,GLdouble y)4863 void GL_APIENTRY glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y)
4864 {
4865     return gl::VertexAttribL2d(index, x, y);
4866 }
4867 
glVertexAttribL2dv(GLuint index,const GLdouble * v)4868 void GL_APIENTRY glVertexAttribL2dv(GLuint index, const GLdouble *v)
4869 {
4870     return gl::VertexAttribL2dv(index, v);
4871 }
4872 
glVertexAttribL3d(GLuint index,GLdouble x,GLdouble y,GLdouble z)4873 void GL_APIENTRY glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
4874 {
4875     return gl::VertexAttribL3d(index, x, y, z);
4876 }
4877 
glVertexAttribL3dv(GLuint index,const GLdouble * v)4878 void GL_APIENTRY glVertexAttribL3dv(GLuint index, const GLdouble *v)
4879 {
4880     return gl::VertexAttribL3dv(index, v);
4881 }
4882 
glVertexAttribL4d(GLuint index,GLdouble x,GLdouble y,GLdouble z,GLdouble w)4883 void GL_APIENTRY glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
4884 {
4885     return gl::VertexAttribL4d(index, x, y, z, w);
4886 }
4887 
glVertexAttribL4dv(GLuint index,const GLdouble * v)4888 void GL_APIENTRY glVertexAttribL4dv(GLuint index, const GLdouble *v)
4889 {
4890     return gl::VertexAttribL4dv(index, v);
4891 }
4892 
4893 void GL_APIENTRY
glVertexAttribLPointer(GLuint index,GLint size,GLenum type,GLsizei stride,const void * pointer)4894 glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer)
4895 {
4896     return gl::VertexAttribLPointer(index, size, type, stride, pointer);
4897 }
4898 
glViewportArrayv(GLuint first,GLsizei count,const GLfloat * v)4899 void GL_APIENTRY glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v)
4900 {
4901     return gl::ViewportArrayv(first, count, v);
4902 }
4903 
glViewportIndexedf(GLuint index,GLfloat x,GLfloat y,GLfloat w,GLfloat h)4904 void GL_APIENTRY glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
4905 {
4906     return gl::ViewportIndexedf(index, x, y, w, h);
4907 }
4908 
glViewportIndexedfv(GLuint index,const GLfloat * v)4909 void GL_APIENTRY glViewportIndexedfv(GLuint index, const GLfloat *v)
4910 {
4911     return gl::ViewportIndexedfv(index, v);
4912 }
4913 
4914 // GL 4.2
glBindImageTexture(GLuint unit,GLuint texture,GLint level,GLboolean layered,GLint layer,GLenum access,GLenum format)4915 void GL_APIENTRY glBindImageTexture(GLuint unit,
4916                                     GLuint texture,
4917                                     GLint level,
4918                                     GLboolean layered,
4919                                     GLint layer,
4920                                     GLenum access,
4921                                     GLenum format)
4922 {
4923     return gl::BindImageTexture(unit, texture, level, layered, layer, access, format);
4924 }
4925 
glDrawArraysInstancedBaseInstance(GLenum mode,GLint first,GLsizei count,GLsizei instancecount,GLuint baseinstance)4926 void GL_APIENTRY glDrawArraysInstancedBaseInstance(GLenum mode,
4927                                                    GLint first,
4928                                                    GLsizei count,
4929                                                    GLsizei instancecount,
4930                                                    GLuint baseinstance)
4931 {
4932     return gl::DrawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance);
4933 }
4934 
glDrawElementsInstancedBaseInstance(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei instancecount,GLuint baseinstance)4935 void GL_APIENTRY glDrawElementsInstancedBaseInstance(GLenum mode,
4936                                                      GLsizei count,
4937                                                      GLenum type,
4938                                                      const void *indices,
4939                                                      GLsizei instancecount,
4940                                                      GLuint baseinstance)
4941 {
4942     return gl::DrawElementsInstancedBaseInstance(mode, count, type, indices, instancecount,
4943                                                  baseinstance);
4944 }
4945 
glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode,GLsizei count,GLenum type,const void * indices,GLsizei instancecount,GLint basevertex,GLuint baseinstance)4946 void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode,
4947                                                                GLsizei count,
4948                                                                GLenum type,
4949                                                                const void *indices,
4950                                                                GLsizei instancecount,
4951                                                                GLint basevertex,
4952                                                                GLuint baseinstance)
4953 {
4954     return gl::DrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices,
4955                                                            instancecount, basevertex, baseinstance);
4956 }
4957 
glDrawTransformFeedbackInstanced(GLenum mode,GLuint id,GLsizei instancecount)4958 void GL_APIENTRY glDrawTransformFeedbackInstanced(GLenum mode, GLuint id, GLsizei instancecount)
4959 {
4960     return gl::DrawTransformFeedbackInstanced(mode, id, instancecount);
4961 }
4962 
glDrawTransformFeedbackStreamInstanced(GLenum mode,GLuint id,GLuint stream,GLsizei instancecount)4963 void GL_APIENTRY glDrawTransformFeedbackStreamInstanced(GLenum mode,
4964                                                         GLuint id,
4965                                                         GLuint stream,
4966                                                         GLsizei instancecount)
4967 {
4968     return gl::DrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount);
4969 }
4970 
glGetActiveAtomicCounterBufferiv(GLuint program,GLuint bufferIndex,GLenum pname,GLint * params)4971 void GL_APIENTRY glGetActiveAtomicCounterBufferiv(GLuint program,
4972                                                   GLuint bufferIndex,
4973                                                   GLenum pname,
4974                                                   GLint *params)
4975 {
4976     return gl::GetActiveAtomicCounterBufferiv(program, bufferIndex, pname, params);
4977 }
4978 
glGetInternalformativ(GLenum target,GLenum internalformat,GLenum pname,GLsizei bufSize,GLint * params)4979 void GL_APIENTRY glGetInternalformativ(GLenum target,
4980                                        GLenum internalformat,
4981                                        GLenum pname,
4982                                        GLsizei bufSize,
4983                                        GLint *params)
4984 {
4985     return gl::GetInternalformativ(target, internalformat, pname, bufSize, params);
4986 }
4987 
glMemoryBarrier(GLbitfield barriers)4988 void GL_APIENTRY glMemoryBarrier(GLbitfield barriers)
4989 {
4990     return gl::MemoryBarrier(barriers);
4991 }
4992 
glTexStorage1D(GLenum target,GLsizei levels,GLenum internalformat,GLsizei width)4993 void GL_APIENTRY glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
4994 {
4995     return gl::TexStorage1D(target, levels, internalformat, width);
4996 }
4997 
4998 void GL_APIENTRY
glTexStorage2D(GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height)4999 glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
5000 {
5001     return gl::TexStorage2D(target, levels, internalformat, width, height);
5002 }
5003 
glTexStorage3D(GLenum target,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth)5004 void GL_APIENTRY glTexStorage3D(GLenum target,
5005                                 GLsizei levels,
5006                                 GLenum internalformat,
5007                                 GLsizei width,
5008                                 GLsizei height,
5009                                 GLsizei depth)
5010 {
5011     return gl::TexStorage3D(target, levels, internalformat, width, height, depth);
5012 }
5013 
5014 // GL 4.3
glBindVertexBuffer(GLuint bindingindex,GLuint buffer,GLintptr offset,GLsizei stride)5015 void GL_APIENTRY glBindVertexBuffer(GLuint bindingindex,
5016                                     GLuint buffer,
5017                                     GLintptr offset,
5018                                     GLsizei stride)
5019 {
5020     return gl::BindVertexBuffer(bindingindex, buffer, offset, stride);
5021 }
5022 
glClearBufferData(GLenum target,GLenum internalformat,GLenum format,GLenum type,const void * data)5023 void GL_APIENTRY glClearBufferData(GLenum target,
5024                                    GLenum internalformat,
5025                                    GLenum format,
5026                                    GLenum type,
5027                                    const void *data)
5028 {
5029     return gl::ClearBufferData(target, internalformat, format, type, data);
5030 }
5031 
glClearBufferSubData(GLenum target,GLenum internalformat,GLintptr offset,GLsizeiptr size,GLenum format,GLenum type,const void * data)5032 void GL_APIENTRY glClearBufferSubData(GLenum target,
5033                                       GLenum internalformat,
5034                                       GLintptr offset,
5035                                       GLsizeiptr size,
5036                                       GLenum format,
5037                                       GLenum type,
5038                                       const void *data)
5039 {
5040     return gl::ClearBufferSubData(target, internalformat, offset, size, format, type, data);
5041 }
5042 
glCopyImageSubData(GLuint srcName,GLenum srcTarget,GLint srcLevel,GLint srcX,GLint srcY,GLint srcZ,GLuint dstName,GLenum dstTarget,GLint dstLevel,GLint dstX,GLint dstY,GLint dstZ,GLsizei srcWidth,GLsizei srcHeight,GLsizei srcDepth)5043 void GL_APIENTRY glCopyImageSubData(GLuint srcName,
5044                                     GLenum srcTarget,
5045                                     GLint srcLevel,
5046                                     GLint srcX,
5047                                     GLint srcY,
5048                                     GLint srcZ,
5049                                     GLuint dstName,
5050                                     GLenum dstTarget,
5051                                     GLint dstLevel,
5052                                     GLint dstX,
5053                                     GLint dstY,
5054                                     GLint dstZ,
5055                                     GLsizei srcWidth,
5056                                     GLsizei srcHeight,
5057                                     GLsizei srcDepth)
5058 {
5059     return gl::CopyImageSubData(srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstName, dstTarget,
5060                                 dstLevel, dstX, dstY, dstZ, srcWidth, srcHeight, srcDepth);
5061 }
5062 
glDebugMessageCallback(GLDEBUGPROC callback,const void * userParam)5063 void GL_APIENTRY glDebugMessageCallback(GLDEBUGPROC callback, const void *userParam)
5064 {
5065     return gl::DebugMessageCallback(callback, userParam);
5066 }
5067 
glDebugMessageControl(GLenum source,GLenum type,GLenum severity,GLsizei count,const GLuint * ids,GLboolean enabled)5068 void GL_APIENTRY glDebugMessageControl(GLenum source,
5069                                        GLenum type,
5070                                        GLenum severity,
5071                                        GLsizei count,
5072                                        const GLuint *ids,
5073                                        GLboolean enabled)
5074 {
5075     return gl::DebugMessageControl(source, type, severity, count, ids, enabled);
5076 }
5077 
glDebugMessageInsert(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar * buf)5078 void GL_APIENTRY glDebugMessageInsert(GLenum source,
5079                                       GLenum type,
5080                                       GLuint id,
5081                                       GLenum severity,
5082                                       GLsizei length,
5083                                       const GLchar *buf)
5084 {
5085     return gl::DebugMessageInsert(source, type, id, severity, length, buf);
5086 }
5087 
glDispatchCompute(GLuint num_groups_x,GLuint num_groups_y,GLuint num_groups_z)5088 void GL_APIENTRY glDispatchCompute(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z)
5089 {
5090     return gl::DispatchCompute(num_groups_x, num_groups_y, num_groups_z);
5091 }
5092 
glDispatchComputeIndirect(GLintptr indirect)5093 void GL_APIENTRY glDispatchComputeIndirect(GLintptr indirect)
5094 {
5095     return gl::DispatchComputeIndirect(indirect);
5096 }
5097 
glFramebufferParameteri(GLenum target,GLenum pname,GLint param)5098 void GL_APIENTRY glFramebufferParameteri(GLenum target, GLenum pname, GLint param)
5099 {
5100     return gl::FramebufferParameteri(target, pname, param);
5101 }
5102 
glGetDebugMessageLog(GLuint count,GLsizei bufSize,GLenum * sources,GLenum * types,GLuint * ids,GLenum * severities,GLsizei * lengths,GLchar * messageLog)5103 GLuint GL_APIENTRY glGetDebugMessageLog(GLuint count,
5104                                         GLsizei bufSize,
5105                                         GLenum *sources,
5106                                         GLenum *types,
5107                                         GLuint *ids,
5108                                         GLenum *severities,
5109                                         GLsizei *lengths,
5110                                         GLchar *messageLog)
5111 {
5112     return gl::GetDebugMessageLog(count, bufSize, sources, types, ids, severities, lengths,
5113                                   messageLog);
5114 }
5115 
glGetFramebufferParameteriv(GLenum target,GLenum pname,GLint * params)5116 void GL_APIENTRY glGetFramebufferParameteriv(GLenum target, GLenum pname, GLint *params)
5117 {
5118     return gl::GetFramebufferParameteriv(target, pname, params);
5119 }
5120 
glGetInternalformati64v(GLenum target,GLenum internalformat,GLenum pname,GLsizei bufSize,GLint64 * params)5121 void GL_APIENTRY glGetInternalformati64v(GLenum target,
5122                                          GLenum internalformat,
5123                                          GLenum pname,
5124                                          GLsizei bufSize,
5125                                          GLint64 *params)
5126 {
5127     return gl::GetInternalformati64v(target, internalformat, pname, bufSize, params);
5128 }
5129 
5130 void GL_APIENTRY
glGetObjectLabel(GLenum identifier,GLuint name,GLsizei bufSize,GLsizei * length,GLchar * label)5131 glGetObjectLabel(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label)
5132 {
5133     return gl::GetObjectLabel(identifier, name, bufSize, length, label);
5134 }
5135 
glGetObjectPtrLabel(const void * ptr,GLsizei bufSize,GLsizei * length,GLchar * label)5136 void GL_APIENTRY glGetObjectPtrLabel(const void *ptr,
5137                                      GLsizei bufSize,
5138                                      GLsizei *length,
5139                                      GLchar *label)
5140 {
5141     return gl::GetObjectPtrLabel(ptr, bufSize, length, label);
5142 }
5143 
glGetProgramInterfaceiv(GLuint program,GLenum programInterface,GLenum pname,GLint * params)5144 void GL_APIENTRY glGetProgramInterfaceiv(GLuint program,
5145                                          GLenum programInterface,
5146                                          GLenum pname,
5147                                          GLint *params)
5148 {
5149     return gl::GetProgramInterfaceiv(program, programInterface, pname, params);
5150 }
5151 
glGetProgramResourceIndex(GLuint program,GLenum programInterface,const GLchar * name)5152 GLuint GL_APIENTRY glGetProgramResourceIndex(GLuint program,
5153                                              GLenum programInterface,
5154                                              const GLchar *name)
5155 {
5156     return gl::GetProgramResourceIndex(program, programInterface, name);
5157 }
5158 
glGetProgramResourceLocation(GLuint program,GLenum programInterface,const GLchar * name)5159 GLint GL_APIENTRY glGetProgramResourceLocation(GLuint program,
5160                                                GLenum programInterface,
5161                                                const GLchar *name)
5162 {
5163     return gl::GetProgramResourceLocation(program, programInterface, name);
5164 }
5165 
glGetProgramResourceLocationIndex(GLuint program,GLenum programInterface,const GLchar * name)5166 GLint GL_APIENTRY glGetProgramResourceLocationIndex(GLuint program,
5167                                                     GLenum programInterface,
5168                                                     const GLchar *name)
5169 {
5170     return gl::GetProgramResourceLocationIndex(program, programInterface, name);
5171 }
5172 
glGetProgramResourceName(GLuint program,GLenum programInterface,GLuint index,GLsizei bufSize,GLsizei * length,GLchar * name)5173 void GL_APIENTRY glGetProgramResourceName(GLuint program,
5174                                           GLenum programInterface,
5175                                           GLuint index,
5176                                           GLsizei bufSize,
5177                                           GLsizei *length,
5178                                           GLchar *name)
5179 {
5180     return gl::GetProgramResourceName(program, programInterface, index, bufSize, length, name);
5181 }
5182 
glGetProgramResourceiv(GLuint program,GLenum programInterface,GLuint index,GLsizei propCount,const GLenum * props,GLsizei bufSize,GLsizei * length,GLint * params)5183 void GL_APIENTRY glGetProgramResourceiv(GLuint program,
5184                                         GLenum programInterface,
5185                                         GLuint index,
5186                                         GLsizei propCount,
5187                                         const GLenum *props,
5188                                         GLsizei bufSize,
5189                                         GLsizei *length,
5190                                         GLint *params)
5191 {
5192     return gl::GetProgramResourceiv(program, programInterface, index, propCount, props, bufSize,
5193                                     length, params);
5194 }
5195 
glInvalidateBufferData(GLuint buffer)5196 void GL_APIENTRY glInvalidateBufferData(GLuint buffer)
5197 {
5198     return gl::InvalidateBufferData(buffer);
5199 }
5200 
glInvalidateBufferSubData(GLuint buffer,GLintptr offset,GLsizeiptr length)5201 void GL_APIENTRY glInvalidateBufferSubData(GLuint buffer, GLintptr offset, GLsizeiptr length)
5202 {
5203     return gl::InvalidateBufferSubData(buffer, offset, length);
5204 }
5205 
glInvalidateFramebuffer(GLenum target,GLsizei numAttachments,const GLenum * attachments)5206 void GL_APIENTRY glInvalidateFramebuffer(GLenum target,
5207                                          GLsizei numAttachments,
5208                                          const GLenum *attachments)
5209 {
5210     return gl::InvalidateFramebuffer(target, numAttachments, attachments);
5211 }
5212 
glInvalidateSubFramebuffer(GLenum target,GLsizei numAttachments,const GLenum * attachments,GLint x,GLint y,GLsizei width,GLsizei height)5213 void GL_APIENTRY glInvalidateSubFramebuffer(GLenum target,
5214                                             GLsizei numAttachments,
5215                                             const GLenum *attachments,
5216                                             GLint x,
5217                                             GLint y,
5218                                             GLsizei width,
5219                                             GLsizei height)
5220 {
5221     return gl::InvalidateSubFramebuffer(target, numAttachments, attachments, x, y, width, height);
5222 }
5223 
glInvalidateTexImage(GLuint texture,GLint level)5224 void GL_APIENTRY glInvalidateTexImage(GLuint texture, GLint level)
5225 {
5226     return gl::InvalidateTexImage(texture, level);
5227 }
5228 
glInvalidateTexSubImage(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth)5229 void GL_APIENTRY glInvalidateTexSubImage(GLuint texture,
5230                                          GLint level,
5231                                          GLint xoffset,
5232                                          GLint yoffset,
5233                                          GLint zoffset,
5234                                          GLsizei width,
5235                                          GLsizei height,
5236                                          GLsizei depth)
5237 {
5238     return gl::InvalidateTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height,
5239                                      depth);
5240 }
5241 
glMultiDrawArraysIndirect(GLenum mode,const void * indirect,GLsizei drawcount,GLsizei stride)5242 void GL_APIENTRY glMultiDrawArraysIndirect(GLenum mode,
5243                                            const void *indirect,
5244                                            GLsizei drawcount,
5245                                            GLsizei stride)
5246 {
5247     return gl::MultiDrawArraysIndirect(mode, indirect, drawcount, stride);
5248 }
5249 
glMultiDrawElementsIndirect(GLenum mode,GLenum type,const void * indirect,GLsizei drawcount,GLsizei stride)5250 void GL_APIENTRY glMultiDrawElementsIndirect(GLenum mode,
5251                                              GLenum type,
5252                                              const void *indirect,
5253                                              GLsizei drawcount,
5254                                              GLsizei stride)
5255 {
5256     return gl::MultiDrawElementsIndirect(mode, type, indirect, drawcount, stride);
5257 }
5258 
glObjectLabel(GLenum identifier,GLuint name,GLsizei length,const GLchar * label)5259 void GL_APIENTRY glObjectLabel(GLenum identifier, GLuint name, GLsizei length, const GLchar *label)
5260 {
5261     return gl::ObjectLabel(identifier, name, length, label);
5262 }
5263 
glObjectPtrLabel(const void * ptr,GLsizei length,const GLchar * label)5264 void GL_APIENTRY glObjectPtrLabel(const void *ptr, GLsizei length, const GLchar *label)
5265 {
5266     return gl::ObjectPtrLabel(ptr, length, label);
5267 }
5268 
glPopDebugGroup()5269 void GL_APIENTRY glPopDebugGroup()
5270 {
5271     return gl::PopDebugGroup();
5272 }
5273 
glPushDebugGroup(GLenum source,GLuint id,GLsizei length,const GLchar * message)5274 void GL_APIENTRY glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message)
5275 {
5276     return gl::PushDebugGroup(source, id, length, message);
5277 }
5278 
glShaderStorageBlockBinding(GLuint program,GLuint storageBlockIndex,GLuint storageBlockBinding)5279 void GL_APIENTRY glShaderStorageBlockBinding(GLuint program,
5280                                              GLuint storageBlockIndex,
5281                                              GLuint storageBlockBinding)
5282 {
5283     return gl::ShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding);
5284 }
5285 
glTexBufferRange(GLenum target,GLenum internalformat,GLuint buffer,GLintptr offset,GLsizeiptr size)5286 void GL_APIENTRY glTexBufferRange(GLenum target,
5287                                   GLenum internalformat,
5288                                   GLuint buffer,
5289                                   GLintptr offset,
5290                                   GLsizeiptr size)
5291 {
5292     return gl::TexBufferRange(target, internalformat, buffer, offset, size);
5293 }
5294 
glTexStorage2DMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)5295 void GL_APIENTRY glTexStorage2DMultisample(GLenum target,
5296                                            GLsizei samples,
5297                                            GLenum internalformat,
5298                                            GLsizei width,
5299                                            GLsizei height,
5300                                            GLboolean fixedsamplelocations)
5301 {
5302     return gl::TexStorage2DMultisample(target, samples, internalformat, width, height,
5303                                        fixedsamplelocations);
5304 }
5305 
glTexStorage3DMultisample(GLenum target,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)5306 void GL_APIENTRY glTexStorage3DMultisample(GLenum target,
5307                                            GLsizei samples,
5308                                            GLenum internalformat,
5309                                            GLsizei width,
5310                                            GLsizei height,
5311                                            GLsizei depth,
5312                                            GLboolean fixedsamplelocations)
5313 {
5314     return gl::TexStorage3DMultisample(target, samples, internalformat, width, height, depth,
5315                                        fixedsamplelocations);
5316 }
5317 
glTextureView(GLuint texture,GLenum target,GLuint origtexture,GLenum internalformat,GLuint minlevel,GLuint numlevels,GLuint minlayer,GLuint numlayers)5318 void GL_APIENTRY glTextureView(GLuint texture,
5319                                GLenum target,
5320                                GLuint origtexture,
5321                                GLenum internalformat,
5322                                GLuint minlevel,
5323                                GLuint numlevels,
5324                                GLuint minlayer,
5325                                GLuint numlayers)
5326 {
5327     return gl::TextureView(texture, target, origtexture, internalformat, minlevel, numlevels,
5328                            minlayer, numlayers);
5329 }
5330 
glVertexAttribBinding(GLuint attribindex,GLuint bindingindex)5331 void GL_APIENTRY glVertexAttribBinding(GLuint attribindex, GLuint bindingindex)
5332 {
5333     return gl::VertexAttribBinding(attribindex, bindingindex);
5334 }
5335 
glVertexAttribFormat(GLuint attribindex,GLint size,GLenum type,GLboolean normalized,GLuint relativeoffset)5336 void GL_APIENTRY glVertexAttribFormat(GLuint attribindex,
5337                                       GLint size,
5338                                       GLenum type,
5339                                       GLboolean normalized,
5340                                       GLuint relativeoffset)
5341 {
5342     return gl::VertexAttribFormat(attribindex, size, type, normalized, relativeoffset);
5343 }
5344 
glVertexAttribIFormat(GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)5345 void GL_APIENTRY glVertexAttribIFormat(GLuint attribindex,
5346                                        GLint size,
5347                                        GLenum type,
5348                                        GLuint relativeoffset)
5349 {
5350     return gl::VertexAttribIFormat(attribindex, size, type, relativeoffset);
5351 }
5352 
glVertexAttribLFormat(GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)5353 void GL_APIENTRY glVertexAttribLFormat(GLuint attribindex,
5354                                        GLint size,
5355                                        GLenum type,
5356                                        GLuint relativeoffset)
5357 {
5358     return gl::VertexAttribLFormat(attribindex, size, type, relativeoffset);
5359 }
5360 
glVertexBindingDivisor(GLuint bindingindex,GLuint divisor)5361 void GL_APIENTRY glVertexBindingDivisor(GLuint bindingindex, GLuint divisor)
5362 {
5363     return gl::VertexBindingDivisor(bindingindex, divisor);
5364 }
5365 
5366 // GL 4.4
glBindBuffersBase(GLenum target,GLuint first,GLsizei count,const GLuint * buffers)5367 void GL_APIENTRY glBindBuffersBase(GLenum target,
5368                                    GLuint first,
5369                                    GLsizei count,
5370                                    const GLuint *buffers)
5371 {
5372     return gl::BindBuffersBase(target, first, count, buffers);
5373 }
5374 
glBindBuffersRange(GLenum target,GLuint first,GLsizei count,const GLuint * buffers,const GLintptr * offsets,const GLsizeiptr * sizes)5375 void GL_APIENTRY glBindBuffersRange(GLenum target,
5376                                     GLuint first,
5377                                     GLsizei count,
5378                                     const GLuint *buffers,
5379                                     const GLintptr *offsets,
5380                                     const GLsizeiptr *sizes)
5381 {
5382     return gl::BindBuffersRange(target, first, count, buffers, offsets, sizes);
5383 }
5384 
glBindImageTextures(GLuint first,GLsizei count,const GLuint * textures)5385 void GL_APIENTRY glBindImageTextures(GLuint first, GLsizei count, const GLuint *textures)
5386 {
5387     return gl::BindImageTextures(first, count, textures);
5388 }
5389 
glBindSamplers(GLuint first,GLsizei count,const GLuint * samplers)5390 void GL_APIENTRY glBindSamplers(GLuint first, GLsizei count, const GLuint *samplers)
5391 {
5392     return gl::BindSamplers(first, count, samplers);
5393 }
5394 
glBindTextures(GLuint first,GLsizei count,const GLuint * textures)5395 void GL_APIENTRY glBindTextures(GLuint first, GLsizei count, const GLuint *textures)
5396 {
5397     return gl::BindTextures(first, count, textures);
5398 }
5399 
glBindVertexBuffers(GLuint first,GLsizei count,const GLuint * buffers,const GLintptr * offsets,const GLsizei * strides)5400 void GL_APIENTRY glBindVertexBuffers(GLuint first,
5401                                      GLsizei count,
5402                                      const GLuint *buffers,
5403                                      const GLintptr *offsets,
5404                                      const GLsizei *strides)
5405 {
5406     return gl::BindVertexBuffers(first, count, buffers, offsets, strides);
5407 }
5408 
glBufferStorage(GLenum target,GLsizeiptr size,const void * data,GLbitfield flags)5409 void GL_APIENTRY glBufferStorage(GLenum target, GLsizeiptr size, const void *data, GLbitfield flags)
5410 {
5411     return gl::BufferStorage(target, size, data, flags);
5412 }
5413 
5414 void GL_APIENTRY
glClearTexImage(GLuint texture,GLint level,GLenum format,GLenum type,const void * data)5415 glClearTexImage(GLuint texture, GLint level, GLenum format, GLenum type, const void *data)
5416 {
5417     return gl::ClearTexImage(texture, level, format, type, data);
5418 }
5419 
glClearTexSubImage(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * data)5420 void GL_APIENTRY glClearTexSubImage(GLuint texture,
5421                                     GLint level,
5422                                     GLint xoffset,
5423                                     GLint yoffset,
5424                                     GLint zoffset,
5425                                     GLsizei width,
5426                                     GLsizei height,
5427                                     GLsizei depth,
5428                                     GLenum format,
5429                                     GLenum type,
5430                                     const void *data)
5431 {
5432     return gl::ClearTexSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth,
5433                                 format, type, data);
5434 }
5435 
5436 // GL 4.5
glBindTextureUnit(GLuint unit,GLuint texture)5437 void GL_APIENTRY glBindTextureUnit(GLuint unit, GLuint texture)
5438 {
5439     return gl::BindTextureUnit(unit, texture);
5440 }
5441 
glBlitNamedFramebuffer(GLuint readFramebuffer,GLuint drawFramebuffer,GLint srcX0,GLint srcY0,GLint srcX1,GLint srcY1,GLint dstX0,GLint dstY0,GLint dstX1,GLint dstY1,GLbitfield mask,GLenum filter)5442 void GL_APIENTRY glBlitNamedFramebuffer(GLuint readFramebuffer,
5443                                         GLuint drawFramebuffer,
5444                                         GLint srcX0,
5445                                         GLint srcY0,
5446                                         GLint srcX1,
5447                                         GLint srcY1,
5448                                         GLint dstX0,
5449                                         GLint dstY0,
5450                                         GLint dstX1,
5451                                         GLint dstY1,
5452                                         GLbitfield mask,
5453                                         GLenum filter)
5454 {
5455     return gl::BlitNamedFramebuffer(readFramebuffer, drawFramebuffer, srcX0, srcY0, srcX1, srcY1,
5456                                     dstX0, dstY0, dstX1, dstY1, mask, filter);
5457 }
5458 
glCheckNamedFramebufferStatus(GLuint framebuffer,GLenum target)5459 GLenum GL_APIENTRY glCheckNamedFramebufferStatus(GLuint framebuffer, GLenum target)
5460 {
5461     return gl::CheckNamedFramebufferStatus(framebuffer, target);
5462 }
5463 
glClearNamedBufferData(GLuint buffer,GLenum internalformat,GLenum format,GLenum type,const void * data)5464 void GL_APIENTRY glClearNamedBufferData(GLuint buffer,
5465                                         GLenum internalformat,
5466                                         GLenum format,
5467                                         GLenum type,
5468                                         const void *data)
5469 {
5470     return gl::ClearNamedBufferData(buffer, internalformat, format, type, data);
5471 }
5472 
glClearNamedBufferSubData(GLuint buffer,GLenum internalformat,GLintptr offset,GLsizeiptr size,GLenum format,GLenum type,const void * data)5473 void GL_APIENTRY glClearNamedBufferSubData(GLuint buffer,
5474                                            GLenum internalformat,
5475                                            GLintptr offset,
5476                                            GLsizeiptr size,
5477                                            GLenum format,
5478                                            GLenum type,
5479                                            const void *data)
5480 {
5481     return gl::ClearNamedBufferSubData(buffer, internalformat, offset, size, format, type, data);
5482 }
5483 
glClearNamedFramebufferfi(GLuint framebuffer,GLenum buffer,GLint drawbuffer,GLfloat depth,GLint stencil)5484 void GL_APIENTRY glClearNamedFramebufferfi(GLuint framebuffer,
5485                                            GLenum buffer,
5486                                            GLint drawbuffer,
5487                                            GLfloat depth,
5488                                            GLint stencil)
5489 {
5490     return gl::ClearNamedFramebufferfi(framebuffer, buffer, drawbuffer, depth, stencil);
5491 }
5492 
glClearNamedFramebufferfv(GLuint framebuffer,GLenum buffer,GLint drawbuffer,const GLfloat * value)5493 void GL_APIENTRY glClearNamedFramebufferfv(GLuint framebuffer,
5494                                            GLenum buffer,
5495                                            GLint drawbuffer,
5496                                            const GLfloat *value)
5497 {
5498     return gl::ClearNamedFramebufferfv(framebuffer, buffer, drawbuffer, value);
5499 }
5500 
glClearNamedFramebufferiv(GLuint framebuffer,GLenum buffer,GLint drawbuffer,const GLint * value)5501 void GL_APIENTRY glClearNamedFramebufferiv(GLuint framebuffer,
5502                                            GLenum buffer,
5503                                            GLint drawbuffer,
5504                                            const GLint *value)
5505 {
5506     return gl::ClearNamedFramebufferiv(framebuffer, buffer, drawbuffer, value);
5507 }
5508 
glClearNamedFramebufferuiv(GLuint framebuffer,GLenum buffer,GLint drawbuffer,const GLuint * value)5509 void GL_APIENTRY glClearNamedFramebufferuiv(GLuint framebuffer,
5510                                             GLenum buffer,
5511                                             GLint drawbuffer,
5512                                             const GLuint *value)
5513 {
5514     return gl::ClearNamedFramebufferuiv(framebuffer, buffer, drawbuffer, value);
5515 }
5516 
glClipControl(GLenum origin,GLenum depth)5517 void GL_APIENTRY glClipControl(GLenum origin, GLenum depth)
5518 {
5519     return gl::ClipControl(origin, depth);
5520 }
5521 
glCompressedTextureSubImage1D(GLuint texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLsizei imageSize,const void * data)5522 void GL_APIENTRY glCompressedTextureSubImage1D(GLuint texture,
5523                                                GLint level,
5524                                                GLint xoffset,
5525                                                GLsizei width,
5526                                                GLenum format,
5527                                                GLsizei imageSize,
5528                                                const void *data)
5529 {
5530     return gl::CompressedTextureSubImage1D(texture, level, xoffset, width, format, imageSize, data);
5531 }
5532 
glCompressedTextureSubImage2D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLsizei imageSize,const void * data)5533 void GL_APIENTRY glCompressedTextureSubImage2D(GLuint texture,
5534                                                GLint level,
5535                                                GLint xoffset,
5536                                                GLint yoffset,
5537                                                GLsizei width,
5538                                                GLsizei height,
5539                                                GLenum format,
5540                                                GLsizei imageSize,
5541                                                const void *data)
5542 {
5543     return gl::CompressedTextureSubImage2D(texture, level, xoffset, yoffset, width, height, format,
5544                                            imageSize, data);
5545 }
5546 
glCompressedTextureSubImage3D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLsizei imageSize,const void * data)5547 void GL_APIENTRY glCompressedTextureSubImage3D(GLuint texture,
5548                                                GLint level,
5549                                                GLint xoffset,
5550                                                GLint yoffset,
5551                                                GLint zoffset,
5552                                                GLsizei width,
5553                                                GLsizei height,
5554                                                GLsizei depth,
5555                                                GLenum format,
5556                                                GLsizei imageSize,
5557                                                const void *data)
5558 {
5559     return gl::CompressedTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height,
5560                                            depth, format, imageSize, data);
5561 }
5562 
glCopyNamedBufferSubData(GLuint readBuffer,GLuint writeBuffer,GLintptr readOffset,GLintptr writeOffset,GLsizeiptr size)5563 void GL_APIENTRY glCopyNamedBufferSubData(GLuint readBuffer,
5564                                           GLuint writeBuffer,
5565                                           GLintptr readOffset,
5566                                           GLintptr writeOffset,
5567                                           GLsizeiptr size)
5568 {
5569     return gl::CopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size);
5570 }
5571 
5572 void GL_APIENTRY
glCopyTextureSubImage1D(GLuint texture,GLint level,GLint xoffset,GLint x,GLint y,GLsizei width)5573 glCopyTextureSubImage1D(GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
5574 {
5575     return gl::CopyTextureSubImage1D(texture, level, xoffset, x, y, width);
5576 }
5577 
glCopyTextureSubImage2D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint x,GLint y,GLsizei width,GLsizei height)5578 void GL_APIENTRY glCopyTextureSubImage2D(GLuint texture,
5579                                          GLint level,
5580                                          GLint xoffset,
5581                                          GLint yoffset,
5582                                          GLint x,
5583                                          GLint y,
5584                                          GLsizei width,
5585                                          GLsizei height)
5586 {
5587     return gl::CopyTextureSubImage2D(texture, level, xoffset, yoffset, x, y, width, height);
5588 }
5589 
glCopyTextureSubImage3D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLint x,GLint y,GLsizei width,GLsizei height)5590 void GL_APIENTRY glCopyTextureSubImage3D(GLuint texture,
5591                                          GLint level,
5592                                          GLint xoffset,
5593                                          GLint yoffset,
5594                                          GLint zoffset,
5595                                          GLint x,
5596                                          GLint y,
5597                                          GLsizei width,
5598                                          GLsizei height)
5599 {
5600     return gl::CopyTextureSubImage3D(texture, level, xoffset, yoffset, zoffset, x, y, width,
5601                                      height);
5602 }
5603 
glCreateBuffers(GLsizei n,GLuint * buffers)5604 void GL_APIENTRY glCreateBuffers(GLsizei n, GLuint *buffers)
5605 {
5606     return gl::CreateBuffers(n, buffers);
5607 }
5608 
glCreateFramebuffers(GLsizei n,GLuint * framebuffers)5609 void GL_APIENTRY glCreateFramebuffers(GLsizei n, GLuint *framebuffers)
5610 {
5611     return gl::CreateFramebuffers(n, framebuffers);
5612 }
5613 
glCreateProgramPipelines(GLsizei n,GLuint * pipelines)5614 void GL_APIENTRY glCreateProgramPipelines(GLsizei n, GLuint *pipelines)
5615 {
5616     return gl::CreateProgramPipelines(n, pipelines);
5617 }
5618 
glCreateQueries(GLenum target,GLsizei n,GLuint * ids)5619 void GL_APIENTRY glCreateQueries(GLenum target, GLsizei n, GLuint *ids)
5620 {
5621     return gl::CreateQueries(target, n, ids);
5622 }
5623 
glCreateRenderbuffers(GLsizei n,GLuint * renderbuffers)5624 void GL_APIENTRY glCreateRenderbuffers(GLsizei n, GLuint *renderbuffers)
5625 {
5626     return gl::CreateRenderbuffers(n, renderbuffers);
5627 }
5628 
glCreateSamplers(GLsizei n,GLuint * samplers)5629 void GL_APIENTRY glCreateSamplers(GLsizei n, GLuint *samplers)
5630 {
5631     return gl::CreateSamplers(n, samplers);
5632 }
5633 
glCreateTextures(GLenum target,GLsizei n,GLuint * textures)5634 void GL_APIENTRY glCreateTextures(GLenum target, GLsizei n, GLuint *textures)
5635 {
5636     return gl::CreateTextures(target, n, textures);
5637 }
5638 
glCreateTransformFeedbacks(GLsizei n,GLuint * ids)5639 void GL_APIENTRY glCreateTransformFeedbacks(GLsizei n, GLuint *ids)
5640 {
5641     return gl::CreateTransformFeedbacks(n, ids);
5642 }
5643 
glCreateVertexArrays(GLsizei n,GLuint * arrays)5644 void GL_APIENTRY glCreateVertexArrays(GLsizei n, GLuint *arrays)
5645 {
5646     return gl::CreateVertexArrays(n, arrays);
5647 }
5648 
glDisableVertexArrayAttrib(GLuint vaobj,GLuint index)5649 void GL_APIENTRY glDisableVertexArrayAttrib(GLuint vaobj, GLuint index)
5650 {
5651     return gl::DisableVertexArrayAttrib(vaobj, index);
5652 }
5653 
glEnableVertexArrayAttrib(GLuint vaobj,GLuint index)5654 void GL_APIENTRY glEnableVertexArrayAttrib(GLuint vaobj, GLuint index)
5655 {
5656     return gl::EnableVertexArrayAttrib(vaobj, index);
5657 }
5658 
glFlushMappedNamedBufferRange(GLuint buffer,GLintptr offset,GLsizeiptr length)5659 void GL_APIENTRY glFlushMappedNamedBufferRange(GLuint buffer, GLintptr offset, GLsizeiptr length)
5660 {
5661     return gl::FlushMappedNamedBufferRange(buffer, offset, length);
5662 }
5663 
glGenerateTextureMipmap(GLuint texture)5664 void GL_APIENTRY glGenerateTextureMipmap(GLuint texture)
5665 {
5666     return gl::GenerateTextureMipmap(texture);
5667 }
5668 
glGetCompressedTextureImage(GLuint texture,GLint level,GLsizei bufSize,void * pixels)5669 void GL_APIENTRY glGetCompressedTextureImage(GLuint texture,
5670                                              GLint level,
5671                                              GLsizei bufSize,
5672                                              void *pixels)
5673 {
5674     return gl::GetCompressedTextureImage(texture, level, bufSize, pixels);
5675 }
5676 
glGetCompressedTextureSubImage(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLsizei bufSize,void * pixels)5677 void GL_APIENTRY glGetCompressedTextureSubImage(GLuint texture,
5678                                                 GLint level,
5679                                                 GLint xoffset,
5680                                                 GLint yoffset,
5681                                                 GLint zoffset,
5682                                                 GLsizei width,
5683                                                 GLsizei height,
5684                                                 GLsizei depth,
5685                                                 GLsizei bufSize,
5686                                                 void *pixels)
5687 {
5688     return gl::GetCompressedTextureSubImage(texture, level, xoffset, yoffset, zoffset, width,
5689                                             height, depth, bufSize, pixels);
5690 }
5691 
glGetGraphicsResetStatus()5692 GLenum GL_APIENTRY glGetGraphicsResetStatus()
5693 {
5694     return gl::GetGraphicsResetStatus();
5695 }
5696 
glGetNamedBufferParameteri64v(GLuint buffer,GLenum pname,GLint64 * params)5697 void GL_APIENTRY glGetNamedBufferParameteri64v(GLuint buffer, GLenum pname, GLint64 *params)
5698 {
5699     return gl::GetNamedBufferParameteri64v(buffer, pname, params);
5700 }
5701 
glGetNamedBufferParameteriv(GLuint buffer,GLenum pname,GLint * params)5702 void GL_APIENTRY glGetNamedBufferParameteriv(GLuint buffer, GLenum pname, GLint *params)
5703 {
5704     return gl::GetNamedBufferParameteriv(buffer, pname, params);
5705 }
5706 
glGetNamedBufferPointerv(GLuint buffer,GLenum pname,void ** params)5707 void GL_APIENTRY glGetNamedBufferPointerv(GLuint buffer, GLenum pname, void **params)
5708 {
5709     return gl::GetNamedBufferPointerv(buffer, pname, params);
5710 }
5711 
glGetNamedBufferSubData(GLuint buffer,GLintptr offset,GLsizeiptr size,void * data)5712 void GL_APIENTRY glGetNamedBufferSubData(GLuint buffer,
5713                                          GLintptr offset,
5714                                          GLsizeiptr size,
5715                                          void *data)
5716 {
5717     return gl::GetNamedBufferSubData(buffer, offset, size, data);
5718 }
5719 
glGetNamedFramebufferAttachmentParameteriv(GLuint framebuffer,GLenum attachment,GLenum pname,GLint * params)5720 void GL_APIENTRY glGetNamedFramebufferAttachmentParameteriv(GLuint framebuffer,
5721                                                             GLenum attachment,
5722                                                             GLenum pname,
5723                                                             GLint *params)
5724 {
5725     return gl::GetNamedFramebufferAttachmentParameteriv(framebuffer, attachment, pname, params);
5726 }
5727 
glGetNamedFramebufferParameteriv(GLuint framebuffer,GLenum pname,GLint * param)5728 void GL_APIENTRY glGetNamedFramebufferParameteriv(GLuint framebuffer, GLenum pname, GLint *param)
5729 {
5730     return gl::GetNamedFramebufferParameteriv(framebuffer, pname, param);
5731 }
5732 
glGetNamedRenderbufferParameteriv(GLuint renderbuffer,GLenum pname,GLint * params)5733 void GL_APIENTRY glGetNamedRenderbufferParameteriv(GLuint renderbuffer, GLenum pname, GLint *params)
5734 {
5735     return gl::GetNamedRenderbufferParameteriv(renderbuffer, pname, params);
5736 }
5737 
glGetQueryBufferObjecti64v(GLuint id,GLuint buffer,GLenum pname,GLintptr offset)5738 void GL_APIENTRY glGetQueryBufferObjecti64v(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
5739 {
5740     return gl::GetQueryBufferObjecti64v(id, buffer, pname, offset);
5741 }
5742 
glGetQueryBufferObjectiv(GLuint id,GLuint buffer,GLenum pname,GLintptr offset)5743 void GL_APIENTRY glGetQueryBufferObjectiv(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
5744 {
5745     return gl::GetQueryBufferObjectiv(id, buffer, pname, offset);
5746 }
5747 
glGetQueryBufferObjectui64v(GLuint id,GLuint buffer,GLenum pname,GLintptr offset)5748 void GL_APIENTRY glGetQueryBufferObjectui64v(GLuint id,
5749                                              GLuint buffer,
5750                                              GLenum pname,
5751                                              GLintptr offset)
5752 {
5753     return gl::GetQueryBufferObjectui64v(id, buffer, pname, offset);
5754 }
5755 
glGetQueryBufferObjectuiv(GLuint id,GLuint buffer,GLenum pname,GLintptr offset)5756 void GL_APIENTRY glGetQueryBufferObjectuiv(GLuint id, GLuint buffer, GLenum pname, GLintptr offset)
5757 {
5758     return gl::GetQueryBufferObjectuiv(id, buffer, pname, offset);
5759 }
5760 
glGetTextureImage(GLuint texture,GLint level,GLenum format,GLenum type,GLsizei bufSize,void * pixels)5761 void GL_APIENTRY glGetTextureImage(GLuint texture,
5762                                    GLint level,
5763                                    GLenum format,
5764                                    GLenum type,
5765                                    GLsizei bufSize,
5766                                    void *pixels)
5767 {
5768     return gl::GetTextureImage(texture, level, format, type, bufSize, pixels);
5769 }
5770 
glGetTextureLevelParameterfv(GLuint texture,GLint level,GLenum pname,GLfloat * params)5771 void GL_APIENTRY glGetTextureLevelParameterfv(GLuint texture,
5772                                               GLint level,
5773                                               GLenum pname,
5774                                               GLfloat *params)
5775 {
5776     return gl::GetTextureLevelParameterfv(texture, level, pname, params);
5777 }
5778 
glGetTextureLevelParameteriv(GLuint texture,GLint level,GLenum pname,GLint * params)5779 void GL_APIENTRY glGetTextureLevelParameteriv(GLuint texture,
5780                                               GLint level,
5781                                               GLenum pname,
5782                                               GLint *params)
5783 {
5784     return gl::GetTextureLevelParameteriv(texture, level, pname, params);
5785 }
5786 
glGetTextureParameterIiv(GLuint texture,GLenum pname,GLint * params)5787 void GL_APIENTRY glGetTextureParameterIiv(GLuint texture, GLenum pname, GLint *params)
5788 {
5789     return gl::GetTextureParameterIiv(texture, pname, params);
5790 }
5791 
glGetTextureParameterIuiv(GLuint texture,GLenum pname,GLuint * params)5792 void GL_APIENTRY glGetTextureParameterIuiv(GLuint texture, GLenum pname, GLuint *params)
5793 {
5794     return gl::GetTextureParameterIuiv(texture, pname, params);
5795 }
5796 
glGetTextureParameterfv(GLuint texture,GLenum pname,GLfloat * params)5797 void GL_APIENTRY glGetTextureParameterfv(GLuint texture, GLenum pname, GLfloat *params)
5798 {
5799     return gl::GetTextureParameterfv(texture, pname, params);
5800 }
5801 
glGetTextureParameteriv(GLuint texture,GLenum pname,GLint * params)5802 void GL_APIENTRY glGetTextureParameteriv(GLuint texture, GLenum pname, GLint *params)
5803 {
5804     return gl::GetTextureParameteriv(texture, pname, params);
5805 }
5806 
glGetTextureSubImage(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,GLsizei bufSize,void * pixels)5807 void GL_APIENTRY glGetTextureSubImage(GLuint texture,
5808                                       GLint level,
5809                                       GLint xoffset,
5810                                       GLint yoffset,
5811                                       GLint zoffset,
5812                                       GLsizei width,
5813                                       GLsizei height,
5814                                       GLsizei depth,
5815                                       GLenum format,
5816                                       GLenum type,
5817                                       GLsizei bufSize,
5818                                       void *pixels)
5819 {
5820     return gl::GetTextureSubImage(texture, level, xoffset, yoffset, zoffset, width, height, depth,
5821                                   format, type, bufSize, pixels);
5822 }
5823 
glGetTransformFeedbacki64_v(GLuint xfb,GLenum pname,GLuint index,GLint64 * param)5824 void GL_APIENTRY glGetTransformFeedbacki64_v(GLuint xfb, GLenum pname, GLuint index, GLint64 *param)
5825 {
5826     return gl::GetTransformFeedbacki64_v(xfb, pname, index, param);
5827 }
5828 
glGetTransformFeedbacki_v(GLuint xfb,GLenum pname,GLuint index,GLint * param)5829 void GL_APIENTRY glGetTransformFeedbacki_v(GLuint xfb, GLenum pname, GLuint index, GLint *param)
5830 {
5831     return gl::GetTransformFeedbacki_v(xfb, pname, index, param);
5832 }
5833 
glGetTransformFeedbackiv(GLuint xfb,GLenum pname,GLint * param)5834 void GL_APIENTRY glGetTransformFeedbackiv(GLuint xfb, GLenum pname, GLint *param)
5835 {
5836     return gl::GetTransformFeedbackiv(xfb, pname, param);
5837 }
5838 
glGetVertexArrayIndexed64iv(GLuint vaobj,GLuint index,GLenum pname,GLint64 * param)5839 void GL_APIENTRY glGetVertexArrayIndexed64iv(GLuint vaobj,
5840                                              GLuint index,
5841                                              GLenum pname,
5842                                              GLint64 *param)
5843 {
5844     return gl::GetVertexArrayIndexed64iv(vaobj, index, pname, param);
5845 }
5846 
glGetVertexArrayIndexediv(GLuint vaobj,GLuint index,GLenum pname,GLint * param)5847 void GL_APIENTRY glGetVertexArrayIndexediv(GLuint vaobj, GLuint index, GLenum pname, GLint *param)
5848 {
5849     return gl::GetVertexArrayIndexediv(vaobj, index, pname, param);
5850 }
5851 
glGetVertexArrayiv(GLuint vaobj,GLenum pname,GLint * param)5852 void GL_APIENTRY glGetVertexArrayiv(GLuint vaobj, GLenum pname, GLint *param)
5853 {
5854     return gl::GetVertexArrayiv(vaobj, pname, param);
5855 }
5856 
5857 void GL_APIENTRY
glGetnColorTable(GLenum target,GLenum format,GLenum type,GLsizei bufSize,void * table)5858 glGetnColorTable(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table)
5859 {
5860     return gl::GetnColorTable(target, format, type, bufSize, table);
5861 }
5862 
glGetnCompressedTexImage(GLenum target,GLint lod,GLsizei bufSize,void * pixels)5863 void GL_APIENTRY glGetnCompressedTexImage(GLenum target, GLint lod, GLsizei bufSize, void *pixels)
5864 {
5865     return gl::GetnCompressedTexImage(target, lod, bufSize, pixels);
5866 }
5867 
5868 void GL_APIENTRY
glGetnConvolutionFilter(GLenum target,GLenum format,GLenum type,GLsizei bufSize,void * image)5869 glGetnConvolutionFilter(GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image)
5870 {
5871     return gl::GetnConvolutionFilter(target, format, type, bufSize, image);
5872 }
5873 
glGetnHistogram(GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,void * values)5874 void GL_APIENTRY glGetnHistogram(GLenum target,
5875                                  GLboolean reset,
5876                                  GLenum format,
5877                                  GLenum type,
5878                                  GLsizei bufSize,
5879                                  void *values)
5880 {
5881     return gl::GetnHistogram(target, reset, format, type, bufSize, values);
5882 }
5883 
glGetnMapdv(GLenum target,GLenum query,GLsizei bufSize,GLdouble * v)5884 void GL_APIENTRY glGetnMapdv(GLenum target, GLenum query, GLsizei bufSize, GLdouble *v)
5885 {
5886     return gl::GetnMapdv(target, query, bufSize, v);
5887 }
5888 
glGetnMapfv(GLenum target,GLenum query,GLsizei bufSize,GLfloat * v)5889 void GL_APIENTRY glGetnMapfv(GLenum target, GLenum query, GLsizei bufSize, GLfloat *v)
5890 {
5891     return gl::GetnMapfv(target, query, bufSize, v);
5892 }
5893 
glGetnMapiv(GLenum target,GLenum query,GLsizei bufSize,GLint * v)5894 void GL_APIENTRY glGetnMapiv(GLenum target, GLenum query, GLsizei bufSize, GLint *v)
5895 {
5896     return gl::GetnMapiv(target, query, bufSize, v);
5897 }
5898 
glGetnMinmax(GLenum target,GLboolean reset,GLenum format,GLenum type,GLsizei bufSize,void * values)5899 void GL_APIENTRY glGetnMinmax(GLenum target,
5900                               GLboolean reset,
5901                               GLenum format,
5902                               GLenum type,
5903                               GLsizei bufSize,
5904                               void *values)
5905 {
5906     return gl::GetnMinmax(target, reset, format, type, bufSize, values);
5907 }
5908 
glGetnPixelMapfv(GLenum map,GLsizei bufSize,GLfloat * values)5909 void GL_APIENTRY glGetnPixelMapfv(GLenum map, GLsizei bufSize, GLfloat *values)
5910 {
5911     return gl::GetnPixelMapfv(map, bufSize, values);
5912 }
5913 
glGetnPixelMapuiv(GLenum map,GLsizei bufSize,GLuint * values)5914 void GL_APIENTRY glGetnPixelMapuiv(GLenum map, GLsizei bufSize, GLuint *values)
5915 {
5916     return gl::GetnPixelMapuiv(map, bufSize, values);
5917 }
5918 
glGetnPixelMapusv(GLenum map,GLsizei bufSize,GLushort * values)5919 void GL_APIENTRY glGetnPixelMapusv(GLenum map, GLsizei bufSize, GLushort *values)
5920 {
5921     return gl::GetnPixelMapusv(map, bufSize, values);
5922 }
5923 
glGetnPolygonStipple(GLsizei bufSize,GLubyte * pattern)5924 void GL_APIENTRY glGetnPolygonStipple(GLsizei bufSize, GLubyte *pattern)
5925 {
5926     return gl::GetnPolygonStipple(bufSize, pattern);
5927 }
5928 
glGetnSeparableFilter(GLenum target,GLenum format,GLenum type,GLsizei rowBufSize,void * row,GLsizei columnBufSize,void * column,void * span)5929 void GL_APIENTRY glGetnSeparableFilter(GLenum target,
5930                                        GLenum format,
5931                                        GLenum type,
5932                                        GLsizei rowBufSize,
5933                                        void *row,
5934                                        GLsizei columnBufSize,
5935                                        void *column,
5936                                        void *span)
5937 {
5938     return gl::GetnSeparableFilter(target, format, type, rowBufSize, row, columnBufSize, column,
5939                                    span);
5940 }
5941 
glGetnTexImage(GLenum target,GLint level,GLenum format,GLenum type,GLsizei bufSize,void * pixels)5942 void GL_APIENTRY glGetnTexImage(GLenum target,
5943                                 GLint level,
5944                                 GLenum format,
5945                                 GLenum type,
5946                                 GLsizei bufSize,
5947                                 void *pixels)
5948 {
5949     return gl::GetnTexImage(target, level, format, type, bufSize, pixels);
5950 }
5951 
glGetnUniformdv(GLuint program,GLint location,GLsizei bufSize,GLdouble * params)5952 void GL_APIENTRY glGetnUniformdv(GLuint program, GLint location, GLsizei bufSize, GLdouble *params)
5953 {
5954     return gl::GetnUniformdv(program, location, bufSize, params);
5955 }
5956 
glGetnUniformfv(GLuint program,GLint location,GLsizei bufSize,GLfloat * params)5957 void GL_APIENTRY glGetnUniformfv(GLuint program, GLint location, GLsizei bufSize, GLfloat *params)
5958 {
5959     return gl::GetnUniformfv(program, location, bufSize, params);
5960 }
5961 
glGetnUniformiv(GLuint program,GLint location,GLsizei bufSize,GLint * params)5962 void GL_APIENTRY glGetnUniformiv(GLuint program, GLint location, GLsizei bufSize, GLint *params)
5963 {
5964     return gl::GetnUniformiv(program, location, bufSize, params);
5965 }
5966 
glGetnUniformuiv(GLuint program,GLint location,GLsizei bufSize,GLuint * params)5967 void GL_APIENTRY glGetnUniformuiv(GLuint program, GLint location, GLsizei bufSize, GLuint *params)
5968 {
5969     return gl::GetnUniformuiv(program, location, bufSize, params);
5970 }
5971 
glInvalidateNamedFramebufferData(GLuint framebuffer,GLsizei numAttachments,const GLenum * attachments)5972 void GL_APIENTRY glInvalidateNamedFramebufferData(GLuint framebuffer,
5973                                                   GLsizei numAttachments,
5974                                                   const GLenum *attachments)
5975 {
5976     return gl::InvalidateNamedFramebufferData(framebuffer, numAttachments, attachments);
5977 }
5978 
glInvalidateNamedFramebufferSubData(GLuint framebuffer,GLsizei numAttachments,const GLenum * attachments,GLint x,GLint y,GLsizei width,GLsizei height)5979 void GL_APIENTRY glInvalidateNamedFramebufferSubData(GLuint framebuffer,
5980                                                      GLsizei numAttachments,
5981                                                      const GLenum *attachments,
5982                                                      GLint x,
5983                                                      GLint y,
5984                                                      GLsizei width,
5985                                                      GLsizei height)
5986 {
5987     return gl::InvalidateNamedFramebufferSubData(framebuffer, numAttachments, attachments, x, y,
5988                                                  width, height);
5989 }
5990 
glMapNamedBuffer(GLuint buffer,GLenum access)5991 void *GL_APIENTRY glMapNamedBuffer(GLuint buffer, GLenum access)
5992 {
5993     return gl::MapNamedBuffer(buffer, access);
5994 }
5995 
glMapNamedBufferRange(GLuint buffer,GLintptr offset,GLsizeiptr length,GLbitfield access)5996 void *GL_APIENTRY glMapNamedBufferRange(GLuint buffer,
5997                                         GLintptr offset,
5998                                         GLsizeiptr length,
5999                                         GLbitfield access)
6000 {
6001     return gl::MapNamedBufferRange(buffer, offset, length, access);
6002 }
6003 
glMemoryBarrierByRegion(GLbitfield barriers)6004 void GL_APIENTRY glMemoryBarrierByRegion(GLbitfield barriers)
6005 {
6006     return gl::MemoryBarrierByRegion(barriers);
6007 }
6008 
glNamedBufferData(GLuint buffer,GLsizeiptr size,const void * data,GLenum usage)6009 void GL_APIENTRY glNamedBufferData(GLuint buffer, GLsizeiptr size, const void *data, GLenum usage)
6010 {
6011     return gl::NamedBufferData(buffer, size, data, usage);
6012 }
6013 
glNamedBufferStorage(GLuint buffer,GLsizeiptr size,const void * data,GLbitfield flags)6014 void GL_APIENTRY glNamedBufferStorage(GLuint buffer,
6015                                       GLsizeiptr size,
6016                                       const void *data,
6017                                       GLbitfield flags)
6018 {
6019     return gl::NamedBufferStorage(buffer, size, data, flags);
6020 }
6021 
glNamedBufferSubData(GLuint buffer,GLintptr offset,GLsizeiptr size,const void * data)6022 void GL_APIENTRY glNamedBufferSubData(GLuint buffer,
6023                                       GLintptr offset,
6024                                       GLsizeiptr size,
6025                                       const void *data)
6026 {
6027     return gl::NamedBufferSubData(buffer, offset, size, data);
6028 }
6029 
glNamedFramebufferDrawBuffer(GLuint framebuffer,GLenum buf)6030 void GL_APIENTRY glNamedFramebufferDrawBuffer(GLuint framebuffer, GLenum buf)
6031 {
6032     return gl::NamedFramebufferDrawBuffer(framebuffer, buf);
6033 }
6034 
glNamedFramebufferDrawBuffers(GLuint framebuffer,GLsizei n,const GLenum * bufs)6035 void GL_APIENTRY glNamedFramebufferDrawBuffers(GLuint framebuffer, GLsizei n, const GLenum *bufs)
6036 {
6037     return gl::NamedFramebufferDrawBuffers(framebuffer, n, bufs);
6038 }
6039 
glNamedFramebufferParameteri(GLuint framebuffer,GLenum pname,GLint param)6040 void GL_APIENTRY glNamedFramebufferParameteri(GLuint framebuffer, GLenum pname, GLint param)
6041 {
6042     return gl::NamedFramebufferParameteri(framebuffer, pname, param);
6043 }
6044 
glNamedFramebufferReadBuffer(GLuint framebuffer,GLenum src)6045 void GL_APIENTRY glNamedFramebufferReadBuffer(GLuint framebuffer, GLenum src)
6046 {
6047     return gl::NamedFramebufferReadBuffer(framebuffer, src);
6048 }
6049 
glNamedFramebufferRenderbuffer(GLuint framebuffer,GLenum attachment,GLenum renderbuffertarget,GLuint renderbuffer)6050 void GL_APIENTRY glNamedFramebufferRenderbuffer(GLuint framebuffer,
6051                                                 GLenum attachment,
6052                                                 GLenum renderbuffertarget,
6053                                                 GLuint renderbuffer)
6054 {
6055     return gl::NamedFramebufferRenderbuffer(framebuffer, attachment, renderbuffertarget,
6056                                             renderbuffer);
6057 }
6058 
glNamedFramebufferTexture(GLuint framebuffer,GLenum attachment,GLuint texture,GLint level)6059 void GL_APIENTRY glNamedFramebufferTexture(GLuint framebuffer,
6060                                            GLenum attachment,
6061                                            GLuint texture,
6062                                            GLint level)
6063 {
6064     return gl::NamedFramebufferTexture(framebuffer, attachment, texture, level);
6065 }
6066 
glNamedFramebufferTextureLayer(GLuint framebuffer,GLenum attachment,GLuint texture,GLint level,GLint layer)6067 void GL_APIENTRY glNamedFramebufferTextureLayer(GLuint framebuffer,
6068                                                 GLenum attachment,
6069                                                 GLuint texture,
6070                                                 GLint level,
6071                                                 GLint layer)
6072 {
6073     return gl::NamedFramebufferTextureLayer(framebuffer, attachment, texture, level, layer);
6074 }
6075 
glNamedRenderbufferStorage(GLuint renderbuffer,GLenum internalformat,GLsizei width,GLsizei height)6076 void GL_APIENTRY glNamedRenderbufferStorage(GLuint renderbuffer,
6077                                             GLenum internalformat,
6078                                             GLsizei width,
6079                                             GLsizei height)
6080 {
6081     return gl::NamedRenderbufferStorage(renderbuffer, internalformat, width, height);
6082 }
6083 
glNamedRenderbufferStorageMultisample(GLuint renderbuffer,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height)6084 void GL_APIENTRY glNamedRenderbufferStorageMultisample(GLuint renderbuffer,
6085                                                        GLsizei samples,
6086                                                        GLenum internalformat,
6087                                                        GLsizei width,
6088                                                        GLsizei height)
6089 {
6090     return gl::NamedRenderbufferStorageMultisample(renderbuffer, samples, internalformat, width,
6091                                                    height);
6092 }
6093 
glReadnPixels(GLint x,GLint y,GLsizei width,GLsizei height,GLenum format,GLenum type,GLsizei bufSize,void * data)6094 void GL_APIENTRY glReadnPixels(GLint x,
6095                                GLint y,
6096                                GLsizei width,
6097                                GLsizei height,
6098                                GLenum format,
6099                                GLenum type,
6100                                GLsizei bufSize,
6101                                void *data)
6102 {
6103     return gl::ReadnPixels(x, y, width, height, format, type, bufSize, data);
6104 }
6105 
glTextureBarrier()6106 void GL_APIENTRY glTextureBarrier()
6107 {
6108     return gl::TextureBarrier();
6109 }
6110 
glTextureBuffer(GLuint texture,GLenum internalformat,GLuint buffer)6111 void GL_APIENTRY glTextureBuffer(GLuint texture, GLenum internalformat, GLuint buffer)
6112 {
6113     return gl::TextureBuffer(texture, internalformat, buffer);
6114 }
6115 
glTextureBufferRange(GLuint texture,GLenum internalformat,GLuint buffer,GLintptr offset,GLsizeiptr size)6116 void GL_APIENTRY glTextureBufferRange(GLuint texture,
6117                                       GLenum internalformat,
6118                                       GLuint buffer,
6119                                       GLintptr offset,
6120                                       GLsizeiptr size)
6121 {
6122     return gl::TextureBufferRange(texture, internalformat, buffer, offset, size);
6123 }
6124 
glTextureParameterIiv(GLuint texture,GLenum pname,const GLint * params)6125 void GL_APIENTRY glTextureParameterIiv(GLuint texture, GLenum pname, const GLint *params)
6126 {
6127     return gl::TextureParameterIiv(texture, pname, params);
6128 }
6129 
glTextureParameterIuiv(GLuint texture,GLenum pname,const GLuint * params)6130 void GL_APIENTRY glTextureParameterIuiv(GLuint texture, GLenum pname, const GLuint *params)
6131 {
6132     return gl::TextureParameterIuiv(texture, pname, params);
6133 }
6134 
glTextureParameterf(GLuint texture,GLenum pname,GLfloat param)6135 void GL_APIENTRY glTextureParameterf(GLuint texture, GLenum pname, GLfloat param)
6136 {
6137     return gl::TextureParameterf(texture, pname, param);
6138 }
6139 
glTextureParameterfv(GLuint texture,GLenum pname,const GLfloat * param)6140 void GL_APIENTRY glTextureParameterfv(GLuint texture, GLenum pname, const GLfloat *param)
6141 {
6142     return gl::TextureParameterfv(texture, pname, param);
6143 }
6144 
glTextureParameteri(GLuint texture,GLenum pname,GLint param)6145 void GL_APIENTRY glTextureParameteri(GLuint texture, GLenum pname, GLint param)
6146 {
6147     return gl::TextureParameteri(texture, pname, param);
6148 }
6149 
glTextureParameteriv(GLuint texture,GLenum pname,const GLint * param)6150 void GL_APIENTRY glTextureParameteriv(GLuint texture, GLenum pname, const GLint *param)
6151 {
6152     return gl::TextureParameteriv(texture, pname, param);
6153 }
6154 
glTextureStorage1D(GLuint texture,GLsizei levels,GLenum internalformat,GLsizei width)6155 void GL_APIENTRY glTextureStorage1D(GLuint texture,
6156                                     GLsizei levels,
6157                                     GLenum internalformat,
6158                                     GLsizei width)
6159 {
6160     return gl::TextureStorage1D(texture, levels, internalformat, width);
6161 }
6162 
glTextureStorage2D(GLuint texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height)6163 void GL_APIENTRY glTextureStorage2D(GLuint texture,
6164                                     GLsizei levels,
6165                                     GLenum internalformat,
6166                                     GLsizei width,
6167                                     GLsizei height)
6168 {
6169     return gl::TextureStorage2D(texture, levels, internalformat, width, height);
6170 }
6171 
glTextureStorage2DMultisample(GLuint texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLboolean fixedsamplelocations)6172 void GL_APIENTRY glTextureStorage2DMultisample(GLuint texture,
6173                                                GLsizei samples,
6174                                                GLenum internalformat,
6175                                                GLsizei width,
6176                                                GLsizei height,
6177                                                GLboolean fixedsamplelocations)
6178 {
6179     return gl::TextureStorage2DMultisample(texture, samples, internalformat, width, height,
6180                                            fixedsamplelocations);
6181 }
6182 
glTextureStorage3D(GLuint texture,GLsizei levels,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth)6183 void GL_APIENTRY glTextureStorage3D(GLuint texture,
6184                                     GLsizei levels,
6185                                     GLenum internalformat,
6186                                     GLsizei width,
6187                                     GLsizei height,
6188                                     GLsizei depth)
6189 {
6190     return gl::TextureStorage3D(texture, levels, internalformat, width, height, depth);
6191 }
6192 
glTextureStorage3DMultisample(GLuint texture,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,GLsizei depth,GLboolean fixedsamplelocations)6193 void GL_APIENTRY glTextureStorage3DMultisample(GLuint texture,
6194                                                GLsizei samples,
6195                                                GLenum internalformat,
6196                                                GLsizei width,
6197                                                GLsizei height,
6198                                                GLsizei depth,
6199                                                GLboolean fixedsamplelocations)
6200 {
6201     return gl::TextureStorage3DMultisample(texture, samples, internalformat, width, height, depth,
6202                                            fixedsamplelocations);
6203 }
6204 
glTextureSubImage1D(GLuint texture,GLint level,GLint xoffset,GLsizei width,GLenum format,GLenum type,const void * pixels)6205 void GL_APIENTRY glTextureSubImage1D(GLuint texture,
6206                                      GLint level,
6207                                      GLint xoffset,
6208                                      GLsizei width,
6209                                      GLenum format,
6210                                      GLenum type,
6211                                      const void *pixels)
6212 {
6213     return gl::TextureSubImage1D(texture, level, xoffset, width, format, type, pixels);
6214 }
6215 
glTextureSubImage2D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLsizei width,GLsizei height,GLenum format,GLenum type,const void * pixels)6216 void GL_APIENTRY glTextureSubImage2D(GLuint texture,
6217                                      GLint level,
6218                                      GLint xoffset,
6219                                      GLint yoffset,
6220                                      GLsizei width,
6221                                      GLsizei height,
6222                                      GLenum format,
6223                                      GLenum type,
6224                                      const void *pixels)
6225 {
6226     return gl::TextureSubImage2D(texture, level, xoffset, yoffset, width, height, format, type,
6227                                  pixels);
6228 }
6229 
glTextureSubImage3D(GLuint texture,GLint level,GLint xoffset,GLint yoffset,GLint zoffset,GLsizei width,GLsizei height,GLsizei depth,GLenum format,GLenum type,const void * pixels)6230 void GL_APIENTRY glTextureSubImage3D(GLuint texture,
6231                                      GLint level,
6232                                      GLint xoffset,
6233                                      GLint yoffset,
6234                                      GLint zoffset,
6235                                      GLsizei width,
6236                                      GLsizei height,
6237                                      GLsizei depth,
6238                                      GLenum format,
6239                                      GLenum type,
6240                                      const void *pixels)
6241 {
6242     return gl::TextureSubImage3D(texture, level, xoffset, yoffset, zoffset, width, height, depth,
6243                                  format, type, pixels);
6244 }
6245 
glTransformFeedbackBufferBase(GLuint xfb,GLuint index,GLuint buffer)6246 void GL_APIENTRY glTransformFeedbackBufferBase(GLuint xfb, GLuint index, GLuint buffer)
6247 {
6248     return gl::TransformFeedbackBufferBase(xfb, index, buffer);
6249 }
6250 
glTransformFeedbackBufferRange(GLuint xfb,GLuint index,GLuint buffer,GLintptr offset,GLsizeiptr size)6251 void GL_APIENTRY glTransformFeedbackBufferRange(GLuint xfb,
6252                                                 GLuint index,
6253                                                 GLuint buffer,
6254                                                 GLintptr offset,
6255                                                 GLsizeiptr size)
6256 {
6257     return gl::TransformFeedbackBufferRange(xfb, index, buffer, offset, size);
6258 }
6259 
glUnmapNamedBuffer(GLuint buffer)6260 GLboolean GL_APIENTRY glUnmapNamedBuffer(GLuint buffer)
6261 {
6262     return gl::UnmapNamedBuffer(buffer);
6263 }
6264 
glVertexArrayAttribBinding(GLuint vaobj,GLuint attribindex,GLuint bindingindex)6265 void GL_APIENTRY glVertexArrayAttribBinding(GLuint vaobj, GLuint attribindex, GLuint bindingindex)
6266 {
6267     return gl::VertexArrayAttribBinding(vaobj, attribindex, bindingindex);
6268 }
6269 
glVertexArrayAttribFormat(GLuint vaobj,GLuint attribindex,GLint size,GLenum type,GLboolean normalized,GLuint relativeoffset)6270 void GL_APIENTRY glVertexArrayAttribFormat(GLuint vaobj,
6271                                            GLuint attribindex,
6272                                            GLint size,
6273                                            GLenum type,
6274                                            GLboolean normalized,
6275                                            GLuint relativeoffset)
6276 {
6277     return gl::VertexArrayAttribFormat(vaobj, attribindex, size, type, normalized, relativeoffset);
6278 }
6279 
glVertexArrayAttribIFormat(GLuint vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)6280 void GL_APIENTRY glVertexArrayAttribIFormat(GLuint vaobj,
6281                                             GLuint attribindex,
6282                                             GLint size,
6283                                             GLenum type,
6284                                             GLuint relativeoffset)
6285 {
6286     return gl::VertexArrayAttribIFormat(vaobj, attribindex, size, type, relativeoffset);
6287 }
6288 
glVertexArrayAttribLFormat(GLuint vaobj,GLuint attribindex,GLint size,GLenum type,GLuint relativeoffset)6289 void GL_APIENTRY glVertexArrayAttribLFormat(GLuint vaobj,
6290                                             GLuint attribindex,
6291                                             GLint size,
6292                                             GLenum type,
6293                                             GLuint relativeoffset)
6294 {
6295     return gl::VertexArrayAttribLFormat(vaobj, attribindex, size, type, relativeoffset);
6296 }
6297 
glVertexArrayBindingDivisor(GLuint vaobj,GLuint bindingindex,GLuint divisor)6298 void GL_APIENTRY glVertexArrayBindingDivisor(GLuint vaobj, GLuint bindingindex, GLuint divisor)
6299 {
6300     return gl::VertexArrayBindingDivisor(vaobj, bindingindex, divisor);
6301 }
6302 
glVertexArrayElementBuffer(GLuint vaobj,GLuint buffer)6303 void GL_APIENTRY glVertexArrayElementBuffer(GLuint vaobj, GLuint buffer)
6304 {
6305     return gl::VertexArrayElementBuffer(vaobj, buffer);
6306 }
6307 
glVertexArrayVertexBuffer(GLuint vaobj,GLuint bindingindex,GLuint buffer,GLintptr offset,GLsizei stride)6308 void GL_APIENTRY glVertexArrayVertexBuffer(GLuint vaobj,
6309                                            GLuint bindingindex,
6310                                            GLuint buffer,
6311                                            GLintptr offset,
6312                                            GLsizei stride)
6313 {
6314     return gl::VertexArrayVertexBuffer(vaobj, bindingindex, buffer, offset, stride);
6315 }
6316 
glVertexArrayVertexBuffers(GLuint vaobj,GLuint first,GLsizei count,const GLuint * buffers,const GLintptr * offsets,const GLsizei * strides)6317 void GL_APIENTRY glVertexArrayVertexBuffers(GLuint vaobj,
6318                                             GLuint first,
6319                                             GLsizei count,
6320                                             const GLuint *buffers,
6321                                             const GLintptr *offsets,
6322                                             const GLsizei *strides)
6323 {
6324     return gl::VertexArrayVertexBuffers(vaobj, first, count, buffers, offsets, strides);
6325 }
6326 
6327 // GL 4.6
glMultiDrawArraysIndirectCount(GLenum mode,const void * indirect,GLintptr drawcount,GLsizei maxdrawcount,GLsizei stride)6328 void GL_APIENTRY glMultiDrawArraysIndirectCount(GLenum mode,
6329                                                 const void *indirect,
6330                                                 GLintptr drawcount,
6331                                                 GLsizei maxdrawcount,
6332                                                 GLsizei stride)
6333 {
6334     return gl::MultiDrawArraysIndirectCount(mode, indirect, drawcount, maxdrawcount, stride);
6335 }
6336 
glMultiDrawElementsIndirectCount(GLenum mode,GLenum type,const void * indirect,GLintptr drawcount,GLsizei maxdrawcount,GLsizei stride)6337 void GL_APIENTRY glMultiDrawElementsIndirectCount(GLenum mode,
6338                                                   GLenum type,
6339                                                   const void *indirect,
6340                                                   GLintptr drawcount,
6341                                                   GLsizei maxdrawcount,
6342                                                   GLsizei stride)
6343 {
6344     return gl::MultiDrawElementsIndirectCount(mode, type, indirect, drawcount, maxdrawcount,
6345                                               stride);
6346 }
6347 
glPolygonOffsetClamp(GLfloat factor,GLfloat units,GLfloat clamp)6348 void GL_APIENTRY glPolygonOffsetClamp(GLfloat factor, GLfloat units, GLfloat clamp)
6349 {
6350     return gl::PolygonOffsetClamp(factor, units, clamp);
6351 }
6352 
glSpecializeShader(GLuint shader,const GLchar * pEntryPoint,GLuint numSpecializationConstants,const GLuint * pConstantIndex,const GLuint * pConstantValue)6353 void GL_APIENTRY glSpecializeShader(GLuint shader,
6354                                     const GLchar *pEntryPoint,
6355                                     GLuint numSpecializationConstants,
6356                                     const GLuint *pConstantIndex,
6357                                     const GLuint *pConstantValue)
6358 {
6359     return gl::SpecializeShader(shader, pEntryPoint, numSpecializationConstants, pConstantIndex,
6360                                 pConstantValue);
6361 }
6362 
6363 }  // extern "C"
6364