Squashed commit of the following:
[mesa.git] / src / glx / indirect_init.c
1 /* DO NOT EDIT - This file generated automatically by glX_proto_send.py (from Mesa) script */
2
3 /*
4 * Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas.
5 * (C) Copyright IBM Corporation 2004
6 * All Rights Reserved.
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sub license,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice (including the next
16 * paragraph) shall be included in all copies or substantial portions of the
17 * Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
22 * PRECISION INSIGHT, IBM,
23 * AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
24 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
25 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26 * SOFTWARE.
27 */
28
29 /**
30 * \file indirect_init.c
31 * Initialize indirect rendering dispatch table.
32 *
33 * \author Kevin E. Martin <kevin@precisioninsight.com>
34 * \author Brian Paul <brian@precisioninsight.com>
35 * \author Ian Romanick <idr@us.ibm.com>
36 */
37
38 #include "indirect_init.h"
39 #include "indirect.h"
40 #include "glapi.h"
41
42
43 /**
44 * No-op function used to initialize functions that have no GLX protocol
45 * support.
46 */
47 static int NoOp(void)
48 {
49 return 0;
50 }
51
52 /**
53 * Create and initialize a new GL dispatch table. The table is initialized
54 * with GLX indirect rendering protocol functions.
55 */
56 struct _glapi_table * __glXNewIndirectAPI( void )
57 {
58 struct _glapi_table *glAPI;
59 GLuint entries;
60
61 entries = _glapi_get_dispatch_table_size();
62 glAPI = (struct _glapi_table *) Xmalloc(entries * sizeof(void *));
63
64 /* first, set all entries to point to no-op functions */
65 {
66 int i;
67 void **dispatch = (void **) glAPI;
68 for (i = 0; i < entries; i++) {
69 dispatch[i] = (void *) NoOp;
70 }
71 }
72
73 /* now, initialize the entries we understand */
74
75 /* 1.0 */
76
77 glAPI->Accum = __indirect_glAccum;
78 glAPI->AlphaFunc = __indirect_glAlphaFunc;
79 glAPI->Begin = __indirect_glBegin;
80 glAPI->Bitmap = __indirect_glBitmap;
81 glAPI->BlendFunc = __indirect_glBlendFunc;
82 glAPI->CallList = __indirect_glCallList;
83 glAPI->CallLists = __indirect_glCallLists;
84 glAPI->Clear = __indirect_glClear;
85 glAPI->ClearAccum = __indirect_glClearAccum;
86 glAPI->ClearColor = __indirect_glClearColor;
87 glAPI->ClearDepth = __indirect_glClearDepth;
88 glAPI->ClearIndex = __indirect_glClearIndex;
89 glAPI->ClearStencil = __indirect_glClearStencil;
90 glAPI->ClipPlane = __indirect_glClipPlane;
91 glAPI->Color3b = __indirect_glColor3b;
92 glAPI->Color3bv = __indirect_glColor3bv;
93 glAPI->Color3d = __indirect_glColor3d;
94 glAPI->Color3dv = __indirect_glColor3dv;
95 glAPI->Color3f = __indirect_glColor3f;
96 glAPI->Color3fv = __indirect_glColor3fv;
97 glAPI->Color3i = __indirect_glColor3i;
98 glAPI->Color3iv = __indirect_glColor3iv;
99 glAPI->Color3s = __indirect_glColor3s;
100 glAPI->Color3sv = __indirect_glColor3sv;
101 glAPI->Color3ub = __indirect_glColor3ub;
102 glAPI->Color3ubv = __indirect_glColor3ubv;
103 glAPI->Color3ui = __indirect_glColor3ui;
104 glAPI->Color3uiv = __indirect_glColor3uiv;
105 glAPI->Color3us = __indirect_glColor3us;
106 glAPI->Color3usv = __indirect_glColor3usv;
107 glAPI->Color4b = __indirect_glColor4b;
108 glAPI->Color4bv = __indirect_glColor4bv;
109 glAPI->Color4d = __indirect_glColor4d;
110 glAPI->Color4dv = __indirect_glColor4dv;
111 glAPI->Color4f = __indirect_glColor4f;
112 glAPI->Color4fv = __indirect_glColor4fv;
113 glAPI->Color4i = __indirect_glColor4i;
114 glAPI->Color4iv = __indirect_glColor4iv;
115 glAPI->Color4s = __indirect_glColor4s;
116 glAPI->Color4sv = __indirect_glColor4sv;
117 glAPI->Color4ub = __indirect_glColor4ub;
118 glAPI->Color4ubv = __indirect_glColor4ubv;
119 glAPI->Color4ui = __indirect_glColor4ui;
120 glAPI->Color4uiv = __indirect_glColor4uiv;
121 glAPI->Color4us = __indirect_glColor4us;
122 glAPI->Color4usv = __indirect_glColor4usv;
123 glAPI->ColorMask = __indirect_glColorMask;
124 glAPI->ColorMaterial = __indirect_glColorMaterial;
125 glAPI->CopyPixels = __indirect_glCopyPixels;
126 glAPI->CullFace = __indirect_glCullFace;
127 glAPI->DeleteLists = __indirect_glDeleteLists;
128 glAPI->DepthFunc = __indirect_glDepthFunc;
129 glAPI->DepthMask = __indirect_glDepthMask;
130 glAPI->DepthRange = __indirect_glDepthRange;
131 glAPI->Disable = __indirect_glDisable;
132 glAPI->DrawBuffer = __indirect_glDrawBuffer;
133 glAPI->DrawPixels = __indirect_glDrawPixels;
134 glAPI->EdgeFlag = __indirect_glEdgeFlag;
135 glAPI->EdgeFlagv = __indirect_glEdgeFlagv;
136 glAPI->Enable = __indirect_glEnable;
137 glAPI->End = __indirect_glEnd;
138 glAPI->EndList = __indirect_glEndList;
139 glAPI->EvalCoord1d = __indirect_glEvalCoord1d;
140 glAPI->EvalCoord1dv = __indirect_glEvalCoord1dv;
141 glAPI->EvalCoord1f = __indirect_glEvalCoord1f;
142 glAPI->EvalCoord1fv = __indirect_glEvalCoord1fv;
143 glAPI->EvalCoord2d = __indirect_glEvalCoord2d;
144 glAPI->EvalCoord2dv = __indirect_glEvalCoord2dv;
145 glAPI->EvalCoord2f = __indirect_glEvalCoord2f;
146 glAPI->EvalCoord2fv = __indirect_glEvalCoord2fv;
147 glAPI->EvalMesh1 = __indirect_glEvalMesh1;
148 glAPI->EvalMesh2 = __indirect_glEvalMesh2;
149 glAPI->EvalPoint1 = __indirect_glEvalPoint1;
150 glAPI->EvalPoint2 = __indirect_glEvalPoint2;
151 glAPI->FeedbackBuffer = __indirect_glFeedbackBuffer;
152 glAPI->Finish = __indirect_glFinish;
153 glAPI->Flush = __indirect_glFlush;
154 glAPI->Fogf = __indirect_glFogf;
155 glAPI->Fogfv = __indirect_glFogfv;
156 glAPI->Fogi = __indirect_glFogi;
157 glAPI->Fogiv = __indirect_glFogiv;
158 glAPI->FrontFace = __indirect_glFrontFace;
159 glAPI->Frustum = __indirect_glFrustum;
160 glAPI->GenLists = __indirect_glGenLists;
161 glAPI->GetBooleanv = __indirect_glGetBooleanv;
162 glAPI->GetClipPlane = __indirect_glGetClipPlane;
163 glAPI->GetDoublev = __indirect_glGetDoublev;
164 glAPI->GetError = __indirect_glGetError;
165 glAPI->GetFloatv = __indirect_glGetFloatv;
166 glAPI->GetIntegerv = __indirect_glGetIntegerv;
167 glAPI->GetLightfv = __indirect_glGetLightfv;
168 glAPI->GetLightiv = __indirect_glGetLightiv;
169 glAPI->GetMapdv = __indirect_glGetMapdv;
170 glAPI->GetMapfv = __indirect_glGetMapfv;
171 glAPI->GetMapiv = __indirect_glGetMapiv;
172 glAPI->GetMaterialfv = __indirect_glGetMaterialfv;
173 glAPI->GetMaterialiv = __indirect_glGetMaterialiv;
174 glAPI->GetPixelMapfv = __indirect_glGetPixelMapfv;
175 glAPI->GetPixelMapuiv = __indirect_glGetPixelMapuiv;
176 glAPI->GetPixelMapusv = __indirect_glGetPixelMapusv;
177 glAPI->GetPolygonStipple = __indirect_glGetPolygonStipple;
178 glAPI->GetString = __indirect_glGetString;
179 glAPI->GetTexEnvfv = __indirect_glGetTexEnvfv;
180 glAPI->GetTexEnviv = __indirect_glGetTexEnviv;
181 glAPI->GetTexGendv = __indirect_glGetTexGendv;
182 glAPI->GetTexGenfv = __indirect_glGetTexGenfv;
183 glAPI->GetTexGeniv = __indirect_glGetTexGeniv;
184 glAPI->GetTexImage = __indirect_glGetTexImage;
185 glAPI->GetTexLevelParameterfv = __indirect_glGetTexLevelParameterfv;
186 glAPI->GetTexLevelParameteriv = __indirect_glGetTexLevelParameteriv;
187 glAPI->GetTexParameterfv = __indirect_glGetTexParameterfv;
188 glAPI->GetTexParameteriv = __indirect_glGetTexParameteriv;
189 glAPI->Hint = __indirect_glHint;
190 glAPI->IndexMask = __indirect_glIndexMask;
191 glAPI->Indexd = __indirect_glIndexd;
192 glAPI->Indexdv = __indirect_glIndexdv;
193 glAPI->Indexf = __indirect_glIndexf;
194 glAPI->Indexfv = __indirect_glIndexfv;
195 glAPI->Indexi = __indirect_glIndexi;
196 glAPI->Indexiv = __indirect_glIndexiv;
197 glAPI->Indexs = __indirect_glIndexs;
198 glAPI->Indexsv = __indirect_glIndexsv;
199 glAPI->InitNames = __indirect_glInitNames;
200 glAPI->IsEnabled = __indirect_glIsEnabled;
201 glAPI->IsList = __indirect_glIsList;
202 glAPI->LightModelf = __indirect_glLightModelf;
203 glAPI->LightModelfv = __indirect_glLightModelfv;
204 glAPI->LightModeli = __indirect_glLightModeli;
205 glAPI->LightModeliv = __indirect_glLightModeliv;
206 glAPI->Lightf = __indirect_glLightf;
207 glAPI->Lightfv = __indirect_glLightfv;
208 glAPI->Lighti = __indirect_glLighti;
209 glAPI->Lightiv = __indirect_glLightiv;
210 glAPI->LineStipple = __indirect_glLineStipple;
211 glAPI->LineWidth = __indirect_glLineWidth;
212 glAPI->ListBase = __indirect_glListBase;
213 glAPI->LoadIdentity = __indirect_glLoadIdentity;
214 glAPI->LoadMatrixd = __indirect_glLoadMatrixd;
215 glAPI->LoadMatrixf = __indirect_glLoadMatrixf;
216 glAPI->LoadName = __indirect_glLoadName;
217 glAPI->LogicOp = __indirect_glLogicOp;
218 glAPI->Map1d = __indirect_glMap1d;
219 glAPI->Map1f = __indirect_glMap1f;
220 glAPI->Map2d = __indirect_glMap2d;
221 glAPI->Map2f = __indirect_glMap2f;
222 glAPI->MapGrid1d = __indirect_glMapGrid1d;
223 glAPI->MapGrid1f = __indirect_glMapGrid1f;
224 glAPI->MapGrid2d = __indirect_glMapGrid2d;
225 glAPI->MapGrid2f = __indirect_glMapGrid2f;
226 glAPI->Materialf = __indirect_glMaterialf;
227 glAPI->Materialfv = __indirect_glMaterialfv;
228 glAPI->Materiali = __indirect_glMateriali;
229 glAPI->Materialiv = __indirect_glMaterialiv;
230 glAPI->MatrixMode = __indirect_glMatrixMode;
231 glAPI->MultMatrixd = __indirect_glMultMatrixd;
232 glAPI->MultMatrixf = __indirect_glMultMatrixf;
233 glAPI->NewList = __indirect_glNewList;
234 glAPI->Normal3b = __indirect_glNormal3b;
235 glAPI->Normal3bv = __indirect_glNormal3bv;
236 glAPI->Normal3d = __indirect_glNormal3d;
237 glAPI->Normal3dv = __indirect_glNormal3dv;
238 glAPI->Normal3f = __indirect_glNormal3f;
239 glAPI->Normal3fv = __indirect_glNormal3fv;
240 glAPI->Normal3i = __indirect_glNormal3i;
241 glAPI->Normal3iv = __indirect_glNormal3iv;
242 glAPI->Normal3s = __indirect_glNormal3s;
243 glAPI->Normal3sv = __indirect_glNormal3sv;
244 glAPI->Ortho = __indirect_glOrtho;
245 glAPI->PassThrough = __indirect_glPassThrough;
246 glAPI->PixelMapfv = __indirect_glPixelMapfv;
247 glAPI->PixelMapuiv = __indirect_glPixelMapuiv;
248 glAPI->PixelMapusv = __indirect_glPixelMapusv;
249 glAPI->PixelStoref = __indirect_glPixelStoref;
250 glAPI->PixelStorei = __indirect_glPixelStorei;
251 glAPI->PixelTransferf = __indirect_glPixelTransferf;
252 glAPI->PixelTransferi = __indirect_glPixelTransferi;
253 glAPI->PixelZoom = __indirect_glPixelZoom;
254 glAPI->PointSize = __indirect_glPointSize;
255 glAPI->PolygonMode = __indirect_glPolygonMode;
256 glAPI->PolygonStipple = __indirect_glPolygonStipple;
257 glAPI->PopAttrib = __indirect_glPopAttrib;
258 glAPI->PopMatrix = __indirect_glPopMatrix;
259 glAPI->PopName = __indirect_glPopName;
260 glAPI->PushAttrib = __indirect_glPushAttrib;
261 glAPI->PushMatrix = __indirect_glPushMatrix;
262 glAPI->PushName = __indirect_glPushName;
263 glAPI->RasterPos2d = __indirect_glRasterPos2d;
264 glAPI->RasterPos2dv = __indirect_glRasterPos2dv;
265 glAPI->RasterPos2f = __indirect_glRasterPos2f;
266 glAPI->RasterPos2fv = __indirect_glRasterPos2fv;
267 glAPI->RasterPos2i = __indirect_glRasterPos2i;
268 glAPI->RasterPos2iv = __indirect_glRasterPos2iv;
269 glAPI->RasterPos2s = __indirect_glRasterPos2s;
270 glAPI->RasterPos2sv = __indirect_glRasterPos2sv;
271 glAPI->RasterPos3d = __indirect_glRasterPos3d;
272 glAPI->RasterPos3dv = __indirect_glRasterPos3dv;
273 glAPI->RasterPos3f = __indirect_glRasterPos3f;
274 glAPI->RasterPos3fv = __indirect_glRasterPos3fv;
275 glAPI->RasterPos3i = __indirect_glRasterPos3i;
276 glAPI->RasterPos3iv = __indirect_glRasterPos3iv;
277 glAPI->RasterPos3s = __indirect_glRasterPos3s;
278 glAPI->RasterPos3sv = __indirect_glRasterPos3sv;
279 glAPI->RasterPos4d = __indirect_glRasterPos4d;
280 glAPI->RasterPos4dv = __indirect_glRasterPos4dv;
281 glAPI->RasterPos4f = __indirect_glRasterPos4f;
282 glAPI->RasterPos4fv = __indirect_glRasterPos4fv;
283 glAPI->RasterPos4i = __indirect_glRasterPos4i;
284 glAPI->RasterPos4iv = __indirect_glRasterPos4iv;
285 glAPI->RasterPos4s = __indirect_glRasterPos4s;
286 glAPI->RasterPos4sv = __indirect_glRasterPos4sv;
287 glAPI->ReadBuffer = __indirect_glReadBuffer;
288 glAPI->ReadPixels = __indirect_glReadPixels;
289 glAPI->Rectd = __indirect_glRectd;
290 glAPI->Rectdv = __indirect_glRectdv;
291 glAPI->Rectf = __indirect_glRectf;
292 glAPI->Rectfv = __indirect_glRectfv;
293 glAPI->Recti = __indirect_glRecti;
294 glAPI->Rectiv = __indirect_glRectiv;
295 glAPI->Rects = __indirect_glRects;
296 glAPI->Rectsv = __indirect_glRectsv;
297 glAPI->RenderMode = __indirect_glRenderMode;
298 glAPI->Rotated = __indirect_glRotated;
299 glAPI->Rotatef = __indirect_glRotatef;
300 glAPI->Scaled = __indirect_glScaled;
301 glAPI->Scalef = __indirect_glScalef;
302 glAPI->Scissor = __indirect_glScissor;
303 glAPI->SelectBuffer = __indirect_glSelectBuffer;
304 glAPI->ShadeModel = __indirect_glShadeModel;
305 glAPI->StencilFunc = __indirect_glStencilFunc;
306 glAPI->StencilMask = __indirect_glStencilMask;
307 glAPI->StencilOp = __indirect_glStencilOp;
308 glAPI->TexCoord1d = __indirect_glTexCoord1d;
309 glAPI->TexCoord1dv = __indirect_glTexCoord1dv;
310 glAPI->TexCoord1f = __indirect_glTexCoord1f;
311 glAPI->TexCoord1fv = __indirect_glTexCoord1fv;
312 glAPI->TexCoord1i = __indirect_glTexCoord1i;
313 glAPI->TexCoord1iv = __indirect_glTexCoord1iv;
314 glAPI->TexCoord1s = __indirect_glTexCoord1s;
315 glAPI->TexCoord1sv = __indirect_glTexCoord1sv;
316 glAPI->TexCoord2d = __indirect_glTexCoord2d;
317 glAPI->TexCoord2dv = __indirect_glTexCoord2dv;
318 glAPI->TexCoord2f = __indirect_glTexCoord2f;
319 glAPI->TexCoord2fv = __indirect_glTexCoord2fv;
320 glAPI->TexCoord2i = __indirect_glTexCoord2i;
321 glAPI->TexCoord2iv = __indirect_glTexCoord2iv;
322 glAPI->TexCoord2s = __indirect_glTexCoord2s;
323 glAPI->TexCoord2sv = __indirect_glTexCoord2sv;
324 glAPI->TexCoord3d = __indirect_glTexCoord3d;
325 glAPI->TexCoord3dv = __indirect_glTexCoord3dv;
326 glAPI->TexCoord3f = __indirect_glTexCoord3f;
327 glAPI->TexCoord3fv = __indirect_glTexCoord3fv;
328 glAPI->TexCoord3i = __indirect_glTexCoord3i;
329 glAPI->TexCoord3iv = __indirect_glTexCoord3iv;
330 glAPI->TexCoord3s = __indirect_glTexCoord3s;
331 glAPI->TexCoord3sv = __indirect_glTexCoord3sv;
332 glAPI->TexCoord4d = __indirect_glTexCoord4d;
333 glAPI->TexCoord4dv = __indirect_glTexCoord4dv;
334 glAPI->TexCoord4f = __indirect_glTexCoord4f;
335 glAPI->TexCoord4fv = __indirect_glTexCoord4fv;
336 glAPI->TexCoord4i = __indirect_glTexCoord4i;
337 glAPI->TexCoord4iv = __indirect_glTexCoord4iv;
338 glAPI->TexCoord4s = __indirect_glTexCoord4s;
339 glAPI->TexCoord4sv = __indirect_glTexCoord4sv;
340 glAPI->TexEnvf = __indirect_glTexEnvf;
341 glAPI->TexEnvfv = __indirect_glTexEnvfv;
342 glAPI->TexEnvi = __indirect_glTexEnvi;
343 glAPI->TexEnviv = __indirect_glTexEnviv;
344 glAPI->TexGend = __indirect_glTexGend;
345 glAPI->TexGendv = __indirect_glTexGendv;
346 glAPI->TexGenf = __indirect_glTexGenf;
347 glAPI->TexGenfv = __indirect_glTexGenfv;
348 glAPI->TexGeni = __indirect_glTexGeni;
349 glAPI->TexGeniv = __indirect_glTexGeniv;
350 glAPI->TexImage1D = __indirect_glTexImage1D;
351 glAPI->TexImage2D = __indirect_glTexImage2D;
352 glAPI->TexParameterf = __indirect_glTexParameterf;
353 glAPI->TexParameterfv = __indirect_glTexParameterfv;
354 glAPI->TexParameteri = __indirect_glTexParameteri;
355 glAPI->TexParameteriv = __indirect_glTexParameteriv;
356 glAPI->Translated = __indirect_glTranslated;
357 glAPI->Translatef = __indirect_glTranslatef;
358 glAPI->Vertex2d = __indirect_glVertex2d;
359 glAPI->Vertex2dv = __indirect_glVertex2dv;
360 glAPI->Vertex2f = __indirect_glVertex2f;
361 glAPI->Vertex2fv = __indirect_glVertex2fv;
362 glAPI->Vertex2i = __indirect_glVertex2i;
363 glAPI->Vertex2iv = __indirect_glVertex2iv;
364 glAPI->Vertex2s = __indirect_glVertex2s;
365 glAPI->Vertex2sv = __indirect_glVertex2sv;
366 glAPI->Vertex3d = __indirect_glVertex3d;
367 glAPI->Vertex3dv = __indirect_glVertex3dv;
368 glAPI->Vertex3f = __indirect_glVertex3f;
369 glAPI->Vertex3fv = __indirect_glVertex3fv;
370 glAPI->Vertex3i = __indirect_glVertex3i;
371 glAPI->Vertex3iv = __indirect_glVertex3iv;
372 glAPI->Vertex3s = __indirect_glVertex3s;
373 glAPI->Vertex3sv = __indirect_glVertex3sv;
374 glAPI->Vertex4d = __indirect_glVertex4d;
375 glAPI->Vertex4dv = __indirect_glVertex4dv;
376 glAPI->Vertex4f = __indirect_glVertex4f;
377 glAPI->Vertex4fv = __indirect_glVertex4fv;
378 glAPI->Vertex4i = __indirect_glVertex4i;
379 glAPI->Vertex4iv = __indirect_glVertex4iv;
380 glAPI->Vertex4s = __indirect_glVertex4s;
381 glAPI->Vertex4sv = __indirect_glVertex4sv;
382 glAPI->Viewport = __indirect_glViewport;
383
384 /* 1.1 */
385
386 glAPI->AreTexturesResident = __indirect_glAreTexturesResident;
387 glAPI->ArrayElement = __indirect_glArrayElement;
388 glAPI->BindTexture = __indirect_glBindTexture;
389 glAPI->ColorPointer = __indirect_glColorPointer;
390 glAPI->CopyTexImage1D = __indirect_glCopyTexImage1D;
391 glAPI->CopyTexImage2D = __indirect_glCopyTexImage2D;
392 glAPI->CopyTexSubImage1D = __indirect_glCopyTexSubImage1D;
393 glAPI->CopyTexSubImage2D = __indirect_glCopyTexSubImage2D;
394 glAPI->DeleteTextures = __indirect_glDeleteTextures;
395 glAPI->DisableClientState = __indirect_glDisableClientState;
396 glAPI->DrawArrays = __indirect_glDrawArrays;
397 glAPI->DrawElements = __indirect_glDrawElements;
398 glAPI->EdgeFlagPointer = __indirect_glEdgeFlagPointer;
399 glAPI->EnableClientState = __indirect_glEnableClientState;
400 glAPI->GenTextures = __indirect_glGenTextures;
401 glAPI->GetPointerv = __indirect_glGetPointerv;
402 glAPI->IndexPointer = __indirect_glIndexPointer;
403 glAPI->Indexub = __indirect_glIndexub;
404 glAPI->Indexubv = __indirect_glIndexubv;
405 glAPI->InterleavedArrays = __indirect_glInterleavedArrays;
406 glAPI->IsTexture = __indirect_glIsTexture;
407 glAPI->NormalPointer = __indirect_glNormalPointer;
408 glAPI->PolygonOffset = __indirect_glPolygonOffset;
409 glAPI->PopClientAttrib = __indirect_glPopClientAttrib;
410 glAPI->PrioritizeTextures = __indirect_glPrioritizeTextures;
411 glAPI->PushClientAttrib = __indirect_glPushClientAttrib;
412 glAPI->TexCoordPointer = __indirect_glTexCoordPointer;
413 glAPI->TexSubImage1D = __indirect_glTexSubImage1D;
414 glAPI->TexSubImage2D = __indirect_glTexSubImage2D;
415 glAPI->VertexPointer = __indirect_glVertexPointer;
416
417 /* 1.2 */
418
419 glAPI->BlendColor = __indirect_glBlendColor;
420 glAPI->BlendEquation = __indirect_glBlendEquation;
421 glAPI->ColorSubTable = __indirect_glColorSubTable;
422 glAPI->ColorTable = __indirect_glColorTable;
423 glAPI->ColorTableParameterfv = __indirect_glColorTableParameterfv;
424 glAPI->ColorTableParameteriv = __indirect_glColorTableParameteriv;
425 glAPI->ConvolutionFilter1D = __indirect_glConvolutionFilter1D;
426 glAPI->ConvolutionFilter2D = __indirect_glConvolutionFilter2D;
427 glAPI->ConvolutionParameterf = __indirect_glConvolutionParameterf;
428 glAPI->ConvolutionParameterfv = __indirect_glConvolutionParameterfv;
429 glAPI->ConvolutionParameteri = __indirect_glConvolutionParameteri;
430 glAPI->ConvolutionParameteriv = __indirect_glConvolutionParameteriv;
431 glAPI->CopyColorSubTable = __indirect_glCopyColorSubTable;
432 glAPI->CopyColorTable = __indirect_glCopyColorTable;
433 glAPI->CopyConvolutionFilter1D = __indirect_glCopyConvolutionFilter1D;
434 glAPI->CopyConvolutionFilter2D = __indirect_glCopyConvolutionFilter2D;
435 glAPI->CopyTexSubImage3D = __indirect_glCopyTexSubImage3D;
436 glAPI->DrawRangeElements = __indirect_glDrawRangeElements;
437 glAPI->GetColorTable = __indirect_glGetColorTable;
438 glAPI->GetColorTableParameterfv = __indirect_glGetColorTableParameterfv;
439 glAPI->GetColorTableParameteriv = __indirect_glGetColorTableParameteriv;
440 glAPI->GetConvolutionFilter = __indirect_glGetConvolutionFilter;
441 glAPI->GetConvolutionParameterfv = __indirect_glGetConvolutionParameterfv;
442 glAPI->GetConvolutionParameteriv = __indirect_glGetConvolutionParameteriv;
443 glAPI->GetHistogram = __indirect_glGetHistogram;
444 glAPI->GetHistogramParameterfv = __indirect_glGetHistogramParameterfv;
445 glAPI->GetHistogramParameteriv = __indirect_glGetHistogramParameteriv;
446 glAPI->GetMinmax = __indirect_glGetMinmax;
447 glAPI->GetMinmaxParameterfv = __indirect_glGetMinmaxParameterfv;
448 glAPI->GetMinmaxParameteriv = __indirect_glGetMinmaxParameteriv;
449 glAPI->GetSeparableFilter = __indirect_glGetSeparableFilter;
450 glAPI->Histogram = __indirect_glHistogram;
451 glAPI->Minmax = __indirect_glMinmax;
452 glAPI->ResetHistogram = __indirect_glResetHistogram;
453 glAPI->ResetMinmax = __indirect_glResetMinmax;
454 glAPI->SeparableFilter2D = __indirect_glSeparableFilter2D;
455 glAPI->TexImage3D = __indirect_glTexImage3D;
456 glAPI->TexSubImage3D = __indirect_glTexSubImage3D;
457
458 /* 1. GL_ARB_multitexture */
459
460 glAPI->ActiveTextureARB = __indirect_glActiveTextureARB;
461 glAPI->ClientActiveTextureARB = __indirect_glClientActiveTextureARB;
462 glAPI->MultiTexCoord1dARB = __indirect_glMultiTexCoord1dARB;
463 glAPI->MultiTexCoord1dvARB = __indirect_glMultiTexCoord1dvARB;
464 glAPI->MultiTexCoord1fARB = __indirect_glMultiTexCoord1fARB;
465 glAPI->MultiTexCoord1fvARB = __indirect_glMultiTexCoord1fvARB;
466 glAPI->MultiTexCoord1iARB = __indirect_glMultiTexCoord1iARB;
467 glAPI->MultiTexCoord1ivARB = __indirect_glMultiTexCoord1ivARB;
468 glAPI->MultiTexCoord1sARB = __indirect_glMultiTexCoord1sARB;
469 glAPI->MultiTexCoord1svARB = __indirect_glMultiTexCoord1svARB;
470 glAPI->MultiTexCoord2dARB = __indirect_glMultiTexCoord2dARB;
471 glAPI->MultiTexCoord2dvARB = __indirect_glMultiTexCoord2dvARB;
472 glAPI->MultiTexCoord2fARB = __indirect_glMultiTexCoord2fARB;
473 glAPI->MultiTexCoord2fvARB = __indirect_glMultiTexCoord2fvARB;
474 glAPI->MultiTexCoord2iARB = __indirect_glMultiTexCoord2iARB;
475 glAPI->MultiTexCoord2ivARB = __indirect_glMultiTexCoord2ivARB;
476 glAPI->MultiTexCoord2sARB = __indirect_glMultiTexCoord2sARB;
477 glAPI->MultiTexCoord2svARB = __indirect_glMultiTexCoord2svARB;
478 glAPI->MultiTexCoord3dARB = __indirect_glMultiTexCoord3dARB;
479 glAPI->MultiTexCoord3dvARB = __indirect_glMultiTexCoord3dvARB;
480 glAPI->MultiTexCoord3fARB = __indirect_glMultiTexCoord3fARB;
481 glAPI->MultiTexCoord3fvARB = __indirect_glMultiTexCoord3fvARB;
482 glAPI->MultiTexCoord3iARB = __indirect_glMultiTexCoord3iARB;
483 glAPI->MultiTexCoord3ivARB = __indirect_glMultiTexCoord3ivARB;
484 glAPI->MultiTexCoord3sARB = __indirect_glMultiTexCoord3sARB;
485 glAPI->MultiTexCoord3svARB = __indirect_glMultiTexCoord3svARB;
486 glAPI->MultiTexCoord4dARB = __indirect_glMultiTexCoord4dARB;
487 glAPI->MultiTexCoord4dvARB = __indirect_glMultiTexCoord4dvARB;
488 glAPI->MultiTexCoord4fARB = __indirect_glMultiTexCoord4fARB;
489 glAPI->MultiTexCoord4fvARB = __indirect_glMultiTexCoord4fvARB;
490 glAPI->MultiTexCoord4iARB = __indirect_glMultiTexCoord4iARB;
491 glAPI->MultiTexCoord4ivARB = __indirect_glMultiTexCoord4ivARB;
492 glAPI->MultiTexCoord4sARB = __indirect_glMultiTexCoord4sARB;
493 glAPI->MultiTexCoord4svARB = __indirect_glMultiTexCoord4svARB;
494
495 /* 3. GL_ARB_transpose_matrix */
496
497 glAPI->LoadTransposeMatrixdARB = __indirect_glLoadTransposeMatrixdARB;
498 glAPI->LoadTransposeMatrixfARB = __indirect_glLoadTransposeMatrixfARB;
499 glAPI->MultTransposeMatrixdARB = __indirect_glMultTransposeMatrixdARB;
500 glAPI->MultTransposeMatrixfARB = __indirect_glMultTransposeMatrixfARB;
501
502 /* 5. GL_ARB_multisample */
503
504 glAPI->SampleCoverageARB = __indirect_glSampleCoverageARB;
505
506 /* 12. GL_ARB_texture_compression */
507
508 glAPI->CompressedTexImage1DARB = __indirect_glCompressedTexImage1DARB;
509 glAPI->CompressedTexImage2DARB = __indirect_glCompressedTexImage2DARB;
510 glAPI->CompressedTexImage3DARB = __indirect_glCompressedTexImage3DARB;
511 glAPI->CompressedTexSubImage1DARB = __indirect_glCompressedTexSubImage1DARB;
512 glAPI->CompressedTexSubImage2DARB = __indirect_glCompressedTexSubImage2DARB;
513 glAPI->CompressedTexSubImage3DARB = __indirect_glCompressedTexSubImage3DARB;
514 glAPI->GetCompressedTexImageARB = __indirect_glGetCompressedTexImageARB;
515
516 /* 26. GL_ARB_vertex_program */
517
518 glAPI->DisableVertexAttribArrayARB = __indirect_glDisableVertexAttribArrayARB;
519 glAPI->EnableVertexAttribArrayARB = __indirect_glEnableVertexAttribArrayARB;
520 glAPI->GetProgramEnvParameterdvARB = __indirect_glGetProgramEnvParameterdvARB;
521 glAPI->GetProgramEnvParameterfvARB = __indirect_glGetProgramEnvParameterfvARB;
522 glAPI->GetProgramLocalParameterdvARB = __indirect_glGetProgramLocalParameterdvARB;
523 glAPI->GetProgramLocalParameterfvARB = __indirect_glGetProgramLocalParameterfvARB;
524 glAPI->GetProgramStringARB = __indirect_glGetProgramStringARB;
525 glAPI->GetProgramivARB = __indirect_glGetProgramivARB;
526 glAPI->GetVertexAttribdvARB = __indirect_glGetVertexAttribdvARB;
527 glAPI->GetVertexAttribfvARB = __indirect_glGetVertexAttribfvARB;
528 glAPI->GetVertexAttribivARB = __indirect_glGetVertexAttribivARB;
529 glAPI->ProgramEnvParameter4dARB = __indirect_glProgramEnvParameter4dARB;
530 glAPI->ProgramEnvParameter4dvARB = __indirect_glProgramEnvParameter4dvARB;
531 glAPI->ProgramEnvParameter4fARB = __indirect_glProgramEnvParameter4fARB;
532 glAPI->ProgramEnvParameter4fvARB = __indirect_glProgramEnvParameter4fvARB;
533 glAPI->ProgramLocalParameter4dARB = __indirect_glProgramLocalParameter4dARB;
534 glAPI->ProgramLocalParameter4dvARB = __indirect_glProgramLocalParameter4dvARB;
535 glAPI->ProgramLocalParameter4fARB = __indirect_glProgramLocalParameter4fARB;
536 glAPI->ProgramLocalParameter4fvARB = __indirect_glProgramLocalParameter4fvARB;
537 glAPI->ProgramStringARB = __indirect_glProgramStringARB;
538 glAPI->VertexAttrib1dARB = __indirect_glVertexAttrib1dARB;
539 glAPI->VertexAttrib1dvARB = __indirect_glVertexAttrib1dvARB;
540 glAPI->VertexAttrib1fARB = __indirect_glVertexAttrib1fARB;
541 glAPI->VertexAttrib1fvARB = __indirect_glVertexAttrib1fvARB;
542 glAPI->VertexAttrib1sARB = __indirect_glVertexAttrib1sARB;
543 glAPI->VertexAttrib1svARB = __indirect_glVertexAttrib1svARB;
544 glAPI->VertexAttrib2dARB = __indirect_glVertexAttrib2dARB;
545 glAPI->VertexAttrib2dvARB = __indirect_glVertexAttrib2dvARB;
546 glAPI->VertexAttrib2fARB = __indirect_glVertexAttrib2fARB;
547 glAPI->VertexAttrib2fvARB = __indirect_glVertexAttrib2fvARB;
548 glAPI->VertexAttrib2sARB = __indirect_glVertexAttrib2sARB;
549 glAPI->VertexAttrib2svARB = __indirect_glVertexAttrib2svARB;
550 glAPI->VertexAttrib3dARB = __indirect_glVertexAttrib3dARB;
551 glAPI->VertexAttrib3dvARB = __indirect_glVertexAttrib3dvARB;
552 glAPI->VertexAttrib3fARB = __indirect_glVertexAttrib3fARB;
553 glAPI->VertexAttrib3fvARB = __indirect_glVertexAttrib3fvARB;
554 glAPI->VertexAttrib3sARB = __indirect_glVertexAttrib3sARB;
555 glAPI->VertexAttrib3svARB = __indirect_glVertexAttrib3svARB;
556 glAPI->VertexAttrib4NbvARB = __indirect_glVertexAttrib4NbvARB;
557 glAPI->VertexAttrib4NivARB = __indirect_glVertexAttrib4NivARB;
558 glAPI->VertexAttrib4NsvARB = __indirect_glVertexAttrib4NsvARB;
559 glAPI->VertexAttrib4NubARB = __indirect_glVertexAttrib4NubARB;
560 glAPI->VertexAttrib4NubvARB = __indirect_glVertexAttrib4NubvARB;
561 glAPI->VertexAttrib4NuivARB = __indirect_glVertexAttrib4NuivARB;
562 glAPI->VertexAttrib4NusvARB = __indirect_glVertexAttrib4NusvARB;
563 glAPI->VertexAttrib4bvARB = __indirect_glVertexAttrib4bvARB;
564 glAPI->VertexAttrib4dARB = __indirect_glVertexAttrib4dARB;
565 glAPI->VertexAttrib4dvARB = __indirect_glVertexAttrib4dvARB;
566 glAPI->VertexAttrib4fARB = __indirect_glVertexAttrib4fARB;
567 glAPI->VertexAttrib4fvARB = __indirect_glVertexAttrib4fvARB;
568 glAPI->VertexAttrib4ivARB = __indirect_glVertexAttrib4ivARB;
569 glAPI->VertexAttrib4sARB = __indirect_glVertexAttrib4sARB;
570 glAPI->VertexAttrib4svARB = __indirect_glVertexAttrib4svARB;
571 glAPI->VertexAttrib4ubvARB = __indirect_glVertexAttrib4ubvARB;
572 glAPI->VertexAttrib4uivARB = __indirect_glVertexAttrib4uivARB;
573 glAPI->VertexAttrib4usvARB = __indirect_glVertexAttrib4usvARB;
574 glAPI->VertexAttribPointerARB = __indirect_glVertexAttribPointerARB;
575
576 /* 29. GL_ARB_occlusion_query */
577
578 glAPI->BeginQueryARB = __indirect_glBeginQueryARB;
579 glAPI->DeleteQueriesARB = __indirect_glDeleteQueriesARB;
580 glAPI->EndQueryARB = __indirect_glEndQueryARB;
581 glAPI->GenQueriesARB = __indirect_glGenQueriesARB;
582 glAPI->GetQueryObjectivARB = __indirect_glGetQueryObjectivARB;
583 glAPI->GetQueryObjectuivARB = __indirect_glGetQueryObjectuivARB;
584 glAPI->GetQueryivARB = __indirect_glGetQueryivARB;
585 glAPI->IsQueryARB = __indirect_glIsQueryARB;
586
587 /* 37. GL_ARB_draw_buffers */
588
589 glAPI->DrawBuffersARB = __indirect_glDrawBuffersARB;
590
591 /* 39. GL_ARB_color_buffer_float */
592
593 glAPI->ClampColorARB = __indirect_glClampColorARB;
594
595 /* 45. GL_ARB_framebuffer_object */
596
597 glAPI->RenderbufferStorageMultisample = __indirect_glRenderbufferStorageMultisample;
598
599 /* 25. GL_SGIS_multisample */
600
601 glAPI->SampleMaskSGIS = __indirect_glSampleMaskSGIS;
602 glAPI->SamplePatternSGIS = __indirect_glSamplePatternSGIS;
603
604 /* 30. GL_EXT_vertex_array */
605
606 glAPI->ColorPointerEXT = __indirect_glColorPointerEXT;
607 glAPI->EdgeFlagPointerEXT = __indirect_glEdgeFlagPointerEXT;
608 glAPI->IndexPointerEXT = __indirect_glIndexPointerEXT;
609 glAPI->NormalPointerEXT = __indirect_glNormalPointerEXT;
610 glAPI->TexCoordPointerEXT = __indirect_glTexCoordPointerEXT;
611 glAPI->VertexPointerEXT = __indirect_glVertexPointerEXT;
612
613 /* 54. GL_EXT_point_parameters */
614
615 glAPI->PointParameterfEXT = __indirect_glPointParameterfEXT;
616 glAPI->PointParameterfvEXT = __indirect_glPointParameterfvEXT;
617
618 /* 145. GL_EXT_secondary_color */
619
620 glAPI->SecondaryColor3bEXT = __indirect_glSecondaryColor3bEXT;
621 glAPI->SecondaryColor3bvEXT = __indirect_glSecondaryColor3bvEXT;
622 glAPI->SecondaryColor3dEXT = __indirect_glSecondaryColor3dEXT;
623 glAPI->SecondaryColor3dvEXT = __indirect_glSecondaryColor3dvEXT;
624 glAPI->SecondaryColor3fEXT = __indirect_glSecondaryColor3fEXT;
625 glAPI->SecondaryColor3fvEXT = __indirect_glSecondaryColor3fvEXT;
626 glAPI->SecondaryColor3iEXT = __indirect_glSecondaryColor3iEXT;
627 glAPI->SecondaryColor3ivEXT = __indirect_glSecondaryColor3ivEXT;
628 glAPI->SecondaryColor3sEXT = __indirect_glSecondaryColor3sEXT;
629 glAPI->SecondaryColor3svEXT = __indirect_glSecondaryColor3svEXT;
630 glAPI->SecondaryColor3ubEXT = __indirect_glSecondaryColor3ubEXT;
631 glAPI->SecondaryColor3ubvEXT = __indirect_glSecondaryColor3ubvEXT;
632 glAPI->SecondaryColor3uiEXT = __indirect_glSecondaryColor3uiEXT;
633 glAPI->SecondaryColor3uivEXT = __indirect_glSecondaryColor3uivEXT;
634 glAPI->SecondaryColor3usEXT = __indirect_glSecondaryColor3usEXT;
635 glAPI->SecondaryColor3usvEXT = __indirect_glSecondaryColor3usvEXT;
636 glAPI->SecondaryColorPointerEXT = __indirect_glSecondaryColorPointerEXT;
637
638 /* 148. GL_EXT_multi_draw_arrays */
639
640 glAPI->MultiDrawArraysEXT = __indirect_glMultiDrawArraysEXT;
641 glAPI->MultiDrawElementsEXT = __indirect_glMultiDrawElementsEXT;
642
643 /* 149. GL_EXT_fog_coord */
644
645 glAPI->FogCoordPointerEXT = __indirect_glFogCoordPointerEXT;
646 glAPI->FogCoorddEXT = __indirect_glFogCoorddEXT;
647 glAPI->FogCoorddvEXT = __indirect_glFogCoorddvEXT;
648 glAPI->FogCoordfEXT = __indirect_glFogCoordfEXT;
649 glAPI->FogCoordfvEXT = __indirect_glFogCoordfvEXT;
650
651 /* 173. GL_EXT_blend_func_separate */
652
653 glAPI->BlendFuncSeparateEXT = __indirect_glBlendFuncSeparateEXT;
654
655 /* 197. GL_MESA_window_pos */
656
657 glAPI->WindowPos2dMESA = __indirect_glWindowPos2dMESA;
658 glAPI->WindowPos2dvMESA = __indirect_glWindowPos2dvMESA;
659 glAPI->WindowPos2fMESA = __indirect_glWindowPos2fMESA;
660 glAPI->WindowPos2fvMESA = __indirect_glWindowPos2fvMESA;
661 glAPI->WindowPos2iMESA = __indirect_glWindowPos2iMESA;
662 glAPI->WindowPos2ivMESA = __indirect_glWindowPos2ivMESA;
663 glAPI->WindowPos2sMESA = __indirect_glWindowPos2sMESA;
664 glAPI->WindowPos2svMESA = __indirect_glWindowPos2svMESA;
665 glAPI->WindowPos3dMESA = __indirect_glWindowPos3dMESA;
666 glAPI->WindowPos3dvMESA = __indirect_glWindowPos3dvMESA;
667 glAPI->WindowPos3fMESA = __indirect_glWindowPos3fMESA;
668 glAPI->WindowPos3fvMESA = __indirect_glWindowPos3fvMESA;
669 glAPI->WindowPos3iMESA = __indirect_glWindowPos3iMESA;
670 glAPI->WindowPos3ivMESA = __indirect_glWindowPos3ivMESA;
671 glAPI->WindowPos3sMESA = __indirect_glWindowPos3sMESA;
672 glAPI->WindowPos3svMESA = __indirect_glWindowPos3svMESA;
673
674 /* 233. GL_NV_vertex_program */
675
676 glAPI->AreProgramsResidentNV = __indirect_glAreProgramsResidentNV;
677 glAPI->BindProgramNV = __indirect_glBindProgramNV;
678 glAPI->DeleteProgramsNV = __indirect_glDeleteProgramsNV;
679 glAPI->ExecuteProgramNV = __indirect_glExecuteProgramNV;
680 glAPI->GenProgramsNV = __indirect_glGenProgramsNV;
681 glAPI->GetProgramParameterdvNV = __indirect_glGetProgramParameterdvNV;
682 glAPI->GetProgramParameterfvNV = __indirect_glGetProgramParameterfvNV;
683 glAPI->GetProgramStringNV = __indirect_glGetProgramStringNV;
684 glAPI->GetProgramivNV = __indirect_glGetProgramivNV;
685 glAPI->GetTrackMatrixivNV = __indirect_glGetTrackMatrixivNV;
686 glAPI->GetVertexAttribPointervNV = __indirect_glGetVertexAttribPointervNV;
687 glAPI->GetVertexAttribdvNV = __indirect_glGetVertexAttribdvNV;
688 glAPI->GetVertexAttribfvNV = __indirect_glGetVertexAttribfvNV;
689 glAPI->GetVertexAttribivNV = __indirect_glGetVertexAttribivNV;
690 glAPI->IsProgramNV = __indirect_glIsProgramNV;
691 glAPI->LoadProgramNV = __indirect_glLoadProgramNV;
692 glAPI->ProgramParameters4dvNV = __indirect_glProgramParameters4dvNV;
693 glAPI->ProgramParameters4fvNV = __indirect_glProgramParameters4fvNV;
694 glAPI->RequestResidentProgramsNV = __indirect_glRequestResidentProgramsNV;
695 glAPI->TrackMatrixNV = __indirect_glTrackMatrixNV;
696 glAPI->VertexAttrib1dNV = __indirect_glVertexAttrib1dNV;
697 glAPI->VertexAttrib1dvNV = __indirect_glVertexAttrib1dvNV;
698 glAPI->VertexAttrib1fNV = __indirect_glVertexAttrib1fNV;
699 glAPI->VertexAttrib1fvNV = __indirect_glVertexAttrib1fvNV;
700 glAPI->VertexAttrib1sNV = __indirect_glVertexAttrib1sNV;
701 glAPI->VertexAttrib1svNV = __indirect_glVertexAttrib1svNV;
702 glAPI->VertexAttrib2dNV = __indirect_glVertexAttrib2dNV;
703 glAPI->VertexAttrib2dvNV = __indirect_glVertexAttrib2dvNV;
704 glAPI->VertexAttrib2fNV = __indirect_glVertexAttrib2fNV;
705 glAPI->VertexAttrib2fvNV = __indirect_glVertexAttrib2fvNV;
706 glAPI->VertexAttrib2sNV = __indirect_glVertexAttrib2sNV;
707 glAPI->VertexAttrib2svNV = __indirect_glVertexAttrib2svNV;
708 glAPI->VertexAttrib3dNV = __indirect_glVertexAttrib3dNV;
709 glAPI->VertexAttrib3dvNV = __indirect_glVertexAttrib3dvNV;
710 glAPI->VertexAttrib3fNV = __indirect_glVertexAttrib3fNV;
711 glAPI->VertexAttrib3fvNV = __indirect_glVertexAttrib3fvNV;
712 glAPI->VertexAttrib3sNV = __indirect_glVertexAttrib3sNV;
713 glAPI->VertexAttrib3svNV = __indirect_glVertexAttrib3svNV;
714 glAPI->VertexAttrib4dNV = __indirect_glVertexAttrib4dNV;
715 glAPI->VertexAttrib4dvNV = __indirect_glVertexAttrib4dvNV;
716 glAPI->VertexAttrib4fNV = __indirect_glVertexAttrib4fNV;
717 glAPI->VertexAttrib4fvNV = __indirect_glVertexAttrib4fvNV;
718 glAPI->VertexAttrib4sNV = __indirect_glVertexAttrib4sNV;
719 glAPI->VertexAttrib4svNV = __indirect_glVertexAttrib4svNV;
720 glAPI->VertexAttrib4ubNV = __indirect_glVertexAttrib4ubNV;
721 glAPI->VertexAttrib4ubvNV = __indirect_glVertexAttrib4ubvNV;
722 glAPI->VertexAttribPointerNV = __indirect_glVertexAttribPointerNV;
723 glAPI->VertexAttribs1dvNV = __indirect_glVertexAttribs1dvNV;
724 glAPI->VertexAttribs1fvNV = __indirect_glVertexAttribs1fvNV;
725 glAPI->VertexAttribs1svNV = __indirect_glVertexAttribs1svNV;
726 glAPI->VertexAttribs2dvNV = __indirect_glVertexAttribs2dvNV;
727 glAPI->VertexAttribs2fvNV = __indirect_glVertexAttribs2fvNV;
728 glAPI->VertexAttribs2svNV = __indirect_glVertexAttribs2svNV;
729 glAPI->VertexAttribs3dvNV = __indirect_glVertexAttribs3dvNV;
730 glAPI->VertexAttribs3fvNV = __indirect_glVertexAttribs3fvNV;
731 glAPI->VertexAttribs3svNV = __indirect_glVertexAttribs3svNV;
732 glAPI->VertexAttribs4dvNV = __indirect_glVertexAttribs4dvNV;
733 glAPI->VertexAttribs4fvNV = __indirect_glVertexAttribs4fvNV;
734 glAPI->VertexAttribs4svNV = __indirect_glVertexAttribs4svNV;
735 glAPI->VertexAttribs4ubvNV = __indirect_glVertexAttribs4ubvNV;
736
737 /* 262. GL_NV_point_sprite */
738
739 glAPI->PointParameteriNV = __indirect_glPointParameteriNV;
740 glAPI->PointParameterivNV = __indirect_glPointParameterivNV;
741
742 /* 268. GL_EXT_stencil_two_side */
743
744 glAPI->ActiveStencilFaceEXT = __indirect_glActiveStencilFaceEXT;
745
746 /* 282. GL_NV_fragment_program */
747
748 glAPI->GetProgramNamedParameterdvNV = __indirect_glGetProgramNamedParameterdvNV;
749 glAPI->GetProgramNamedParameterfvNV = __indirect_glGetProgramNamedParameterfvNV;
750 glAPI->ProgramNamedParameter4dNV = __indirect_glProgramNamedParameter4dNV;
751 glAPI->ProgramNamedParameter4dvNV = __indirect_glProgramNamedParameter4dvNV;
752 glAPI->ProgramNamedParameter4fNV = __indirect_glProgramNamedParameter4fNV;
753 glAPI->ProgramNamedParameter4fvNV = __indirect_glProgramNamedParameter4fvNV;
754
755 /* 299. GL_EXT_blend_equation_separate */
756
757 glAPI->BlendEquationSeparateEXT = __indirect_glBlendEquationSeparateEXT;
758
759 /* 310. GL_EXT_framebuffer_object */
760
761 glAPI->BindFramebufferEXT = __indirect_glBindFramebufferEXT;
762 glAPI->BindRenderbufferEXT = __indirect_glBindRenderbufferEXT;
763 glAPI->CheckFramebufferStatusEXT = __indirect_glCheckFramebufferStatusEXT;
764 glAPI->DeleteFramebuffersEXT = __indirect_glDeleteFramebuffersEXT;
765 glAPI->DeleteRenderbuffersEXT = __indirect_glDeleteRenderbuffersEXT;
766 glAPI->FramebufferRenderbufferEXT = __indirect_glFramebufferRenderbufferEXT;
767 glAPI->FramebufferTexture1DEXT = __indirect_glFramebufferTexture1DEXT;
768 glAPI->FramebufferTexture2DEXT = __indirect_glFramebufferTexture2DEXT;
769 glAPI->FramebufferTexture3DEXT = __indirect_glFramebufferTexture3DEXT;
770 glAPI->GenFramebuffersEXT = __indirect_glGenFramebuffersEXT;
771 glAPI->GenRenderbuffersEXT = __indirect_glGenRenderbuffersEXT;
772 glAPI->GenerateMipmapEXT = __indirect_glGenerateMipmapEXT;
773 glAPI->GetFramebufferAttachmentParameterivEXT = __indirect_glGetFramebufferAttachmentParameterivEXT;
774 glAPI->GetRenderbufferParameterivEXT = __indirect_glGetRenderbufferParameterivEXT;
775 glAPI->IsFramebufferEXT = __indirect_glIsFramebufferEXT;
776 glAPI->IsRenderbufferEXT = __indirect_glIsRenderbufferEXT;
777 glAPI->RenderbufferStorageEXT = __indirect_glRenderbufferStorageEXT;
778
779 /* 316. GL_EXT_framebuffer_blit */
780
781 glAPI->BlitFramebufferEXT = __indirect_glBlitFramebufferEXT;
782
783 /* 329. GL_EXT_texture_array */
784
785 glAPI->FramebufferTextureLayerEXT = __indirect_glFramebufferTextureLayerEXT;
786
787 return glAPI;
788 }
789