source: OGRE/trunk/ogre_dependencies/Dependencies/include/GL/glprocs.h @ 692

Revision 692, 96.7 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1#ifndef _GLPROCS_H_
2#define _GLPROCS_H_
3
4/*
5** GLprocs utility for getting function addresses for OpenGL(R) 1.2,
6** OpenGL 1.3 and OpenGL extension functions.
7**
8** Version:  1.0
9**
10** License Applicability. Except to the extent portions of this file are
11** made subject to an alternative license as permitted in the SGI Free
12** Software License B, Version 1.1 (the "License"), the contents of this
13** file are subject only to the provisions of the License. You may not use
14** this file except in compliance with the License. You may obtain a copy
15** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
16** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
17**
18** http://oss.sgi.com/projects/FreeB
19**
20** Note that, as provided in the License, the Software is distributed on an
21** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
22** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
23** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
24** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
25**
26** Original Code. The Original Code is: OpenGL Sample Implementation,
27** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
28** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
29** Copyright in any portions created by third parties is as indicated
30** elsewhere herein. All Rights Reserved.
31**
32** Additional Notice Provisions: This software was created using the
33** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
34** not been independently verified as being compliant with the OpenGL(R)
35** version 1.2.1 Specification.
36**
37** Initial version of glprocs.{c,h} contributed by Intel(R) Corporation.
38*/
39
40#ifdef _WIN32
41  #include "glext.h"
42  #include "wglext.h"
43#else
44  #include <GL/glext.h>
45#endif
46
47#ifndef _WIN32 /* non-Windows environment */
48  #define APIENTRY
49  #ifdef __GNUC__
50    #define _inline __inline__
51  #else
52    #define _inline
53  #endif
54#endif
55
56#ifdef __cplusplus
57extern "C" {
58#endif
59
60/* Structure of all OpenGL {1.2, 1.3}, GL extension procs.*/
61
62typedef struct {
63  void (APIENTRY *BlendColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
64  void (APIENTRY *BlendEquation) (GLenum mode);
65  void (APIENTRY *DrawRangeElements) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
66  void (APIENTRY *ColorTable) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
67  void (APIENTRY *ColorTableParameterfv) (GLenum target, GLenum pname, const GLfloat *params);
68  void (APIENTRY *ColorTableParameteriv) (GLenum target, GLenum pname, const GLint *params);
69  void (APIENTRY *CopyColorTable) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
70  void (APIENTRY *GetColorTable) (GLenum target, GLenum format, GLenum type, GLvoid *table);
71  void (APIENTRY *GetColorTableParameterfv) (GLenum target, GLenum pname, GLfloat *params);
72  void (APIENTRY *GetColorTableParameteriv) (GLenum target, GLenum pname, GLint *params);
73  void (APIENTRY *ColorSubTable) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
74  void (APIENTRY *CopyColorSubTable) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
75  void (APIENTRY *ConvolutionFilter1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
76  void (APIENTRY *ConvolutionFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
77  void (APIENTRY *ConvolutionParameterf) (GLenum target, GLenum pname, GLfloat params);
78  void (APIENTRY *ConvolutionParameterfv) (GLenum target, GLenum pname, const GLfloat *params);
79  void (APIENTRY *ConvolutionParameteri) (GLenum target, GLenum pname, GLint params);
80  void (APIENTRY *ConvolutionParameteriv) (GLenum target, GLenum pname, const GLint *params);
81  void (APIENTRY *CopyConvolutionFilter1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
82  void (APIENTRY *CopyConvolutionFilter2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
83  void (APIENTRY *GetConvolutionFilter) (GLenum target, GLenum format, GLenum type, GLvoid *image);
84  void (APIENTRY *GetConvolutionParameterfv) (GLenum target, GLenum pname, GLfloat *params);
85  void (APIENTRY *GetConvolutionParameteriv) (GLenum target, GLenum pname, GLint *params);
86  void (APIENTRY *GetSeparableFilter) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
87  void (APIENTRY *SeparableFilter2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
88  void (APIENTRY *GetHistogram) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
89  void (APIENTRY *GetHistogramParameterfv) (GLenum target, GLenum pname, GLfloat *params);
90  void (APIENTRY *GetHistogramParameteriv) (GLenum target, GLenum pname, GLint *params);
91  void (APIENTRY *GetMinmax) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
92  void (APIENTRY *GetMinmaxParameterfv) (GLenum target, GLenum pname, GLfloat *params);
93  void (APIENTRY *GetMinmaxParameteriv) (GLenum target, GLenum pname, GLint *params);
94  void (APIENTRY *Histogram) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
95  void (APIENTRY *Minmax) (GLenum target, GLenum internalformat, GLboolean sink);
96  void (APIENTRY *ResetHistogram) (GLenum target);
97  void (APIENTRY *ResetMinmax) (GLenum target);
98  void (APIENTRY *TexImage3D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
99  void (APIENTRY *TexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
100  void (APIENTRY *CopyTexSubImage3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
101  void (APIENTRY *ActiveTextureARB) (GLenum texture);
102  void (APIENTRY *ClientActiveTextureARB) (GLenum texture);
103  void (APIENTRY *MultiTexCoord1dARB) (GLenum target, GLdouble s);
104  void (APIENTRY *MultiTexCoord1dvARB) (GLenum target, const GLdouble *v);
105  void (APIENTRY *MultiTexCoord1fARB) (GLenum target, GLfloat s);
106  void (APIENTRY *MultiTexCoord1fvARB) (GLenum target, const GLfloat *v);
107  void (APIENTRY *MultiTexCoord1iARB) (GLenum target, GLint s);
108  void (APIENTRY *MultiTexCoord1ivARB) (GLenum target, const GLint *v);
109  void (APIENTRY *MultiTexCoord1sARB) (GLenum target, GLshort s);
110  void (APIENTRY *MultiTexCoord1svARB) (GLenum target, const GLshort *v);
111  void (APIENTRY *MultiTexCoord2dARB) (GLenum target, GLdouble s, GLdouble t);
112  void (APIENTRY *MultiTexCoord2dvARB) (GLenum target, const GLdouble *v);
113  void (APIENTRY *MultiTexCoord2fARB) (GLenum target, GLfloat s, GLfloat t);
114  void (APIENTRY *MultiTexCoord2fvARB) (GLenum target, const GLfloat *v);
115  void (APIENTRY *MultiTexCoord2iARB) (GLenum target, GLint s, GLint t);
116  void (APIENTRY *MultiTexCoord2ivARB) (GLenum target, const GLint *v);
117  void (APIENTRY *MultiTexCoord2sARB) (GLenum target, GLshort s, GLshort t);
118  void (APIENTRY *MultiTexCoord2svARB) (GLenum target, const GLshort *v);
119  void (APIENTRY *MultiTexCoord3dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
120  void (APIENTRY *MultiTexCoord3dvARB) (GLenum target, const GLdouble *v);
121  void (APIENTRY *MultiTexCoord3fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
122  void (APIENTRY *MultiTexCoord3fvARB) (GLenum target, const GLfloat *v);
123  void (APIENTRY *MultiTexCoord3iARB) (GLenum target, GLint s, GLint t, GLint r);
124  void (APIENTRY *MultiTexCoord3ivARB) (GLenum target, const GLint *v);
125  void (APIENTRY *MultiTexCoord3sARB) (GLenum target, GLshort s, GLshort t, GLshort r);
126  void (APIENTRY *MultiTexCoord3svARB) (GLenum target, const GLshort *v);
127  void (APIENTRY *MultiTexCoord4dARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
128  void (APIENTRY *MultiTexCoord4dvARB) (GLenum target, const GLdouble *v);
129  void (APIENTRY *MultiTexCoord4fARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
130  void (APIENTRY *MultiTexCoord4fvARB) (GLenum target, const GLfloat *v);
131  void (APIENTRY *MultiTexCoord4iARB) (GLenum target, GLint s, GLint t, GLint r, GLint q);
132  void (APIENTRY *MultiTexCoord4ivARB) (GLenum target, const GLint *v);
133  void (APIENTRY *MultiTexCoord4sARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
134  void (APIENTRY *MultiTexCoord4svARB) (GLenum target, const GLshort *v);
135  void (APIENTRY *LoadTransposeMatrixfARB) (const GLfloat *m);
136  void (APIENTRY *LoadTransposeMatrixdARB) (const GLdouble *m);
137  void (APIENTRY *MultTransposeMatrixfARB) (const GLfloat *m);
138  void (APIENTRY *MultTransposeMatrixdARB) (const GLdouble *m);
139  void (APIENTRY *SampleCoverageARB) (GLclampf value, GLboolean invert);
140  void (APIENTRY *CompressedTexImage3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
141  void (APIENTRY *CompressedTexImage2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
142  void (APIENTRY *CompressedTexImage1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
143  void (APIENTRY *CompressedTexSubImage3DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
144  void (APIENTRY *CompressedTexSubImage2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
145  void (APIENTRY *CompressedTexSubImage1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
146  void (APIENTRY *GetCompressedTexImageARB) (GLenum target, GLint level);
147  void (APIENTRY *WeightbvARB) (GLint size, const GLbyte *weights);
148  void (APIENTRY *WeightsvARB) (GLint size, const GLshort *weights);
149  void (APIENTRY *WeightivARB) (GLint size, const GLint *weights);
150  void (APIENTRY *WeightfvARB) (GLint size, const GLfloat *weights);
151  void (APIENTRY *WeightdvARB) (GLint size, const GLdouble *weights);
152  void (APIENTRY *WeightubvARB) (GLint size, const GLubyte *weights);
153  void (APIENTRY *WeightusvARB) (GLint size, const GLushort *weights);
154  void (APIENTRY *WeightuivARB) (GLint size, const GLuint *weights);
155  void (APIENTRY *WeightPointerARB) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
156  void (APIENTRY *VertexBlendARB) (GLint count);
157  void (APIENTRY *CurrentPaletteMatrixARB) (GLint index);
158  void (APIENTRY *MatrixIndexubvARB) (GLint size, const GLubyte *indices);
159  void (APIENTRY *MatrixIndexusvARB) (GLint size, const GLushort *indices);
160  void (APIENTRY *MatrixIndexuivARB) (GLint size, const GLuint *indices);
161  void (APIENTRY *MatrixIndexPointerARB) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
162  void (APIENTRY *BlendColorEXT) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
163  void (APIENTRY *PolygonOffsetEXT) (GLfloat factor, GLfloat bias);
164  void (APIENTRY *TexImage3DEXT) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
165  void (APIENTRY *TexSubImage3DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
166  void (APIENTRY *GetTexFilterFuncSGIS) (GLenum target, GLenum filter, GLfloat *weights);
167  void (APIENTRY *TexFilterFuncSGIS) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
168  void (APIENTRY *TexSubImage1DEXT) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
169  void (APIENTRY *TexSubImage2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
170  void (APIENTRY *CopyTexImage1DEXT) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
171  void (APIENTRY *CopyTexImage2DEXT) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
172  void (APIENTRY *CopyTexSubImage1DEXT) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
173  void (APIENTRY *CopyTexSubImage2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
174  void (APIENTRY *CopyTexSubImage3DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
175  void (APIENTRY *GetHistogramEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
176  void (APIENTRY *GetHistogramParameterfvEXT) (GLenum target, GLenum pname, GLfloat *params);
177  void (APIENTRY *GetHistogramParameterivEXT) (GLenum target, GLenum pname, GLint *params);
178  void (APIENTRY *GetMinmaxEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
179  void (APIENTRY *GetMinmaxParameterfvEXT) (GLenum target, GLenum pname, GLfloat *params);
180  void (APIENTRY *GetMinmaxParameterivEXT) (GLenum target, GLenum pname, GLint *params);
181  void (APIENTRY *HistogramEXT) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
182  void (APIENTRY *MinmaxEXT) (GLenum target, GLenum internalformat, GLboolean sink);
183  void (APIENTRY *ResetHistogramEXT) (GLenum target);
184  void (APIENTRY *ResetMinmaxEXT) (GLenum target);
185  void (APIENTRY *ConvolutionFilter1DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
186  void (APIENTRY *ConvolutionFilter2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
187  void (APIENTRY *ConvolutionParameterfEXT) (GLenum target, GLenum pname, GLfloat params);
188  void (APIENTRY *ConvolutionParameterfvEXT) (GLenum target, GLenum pname, const GLfloat *params);
189  void (APIENTRY *ConvolutionParameteriEXT) (GLenum target, GLenum pname, GLint params);
190  void (APIENTRY *ConvolutionParameterivEXT) (GLenum target, GLenum pname, const GLint *params);
191  void (APIENTRY *CopyConvolutionFilter1DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
192  void (APIENTRY *CopyConvolutionFilter2DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
193  void (APIENTRY *GetConvolutionFilterEXT) (GLenum target, GLenum format, GLenum type, GLvoid *image);
194  void (APIENTRY *GetConvolutionParameterfvEXT) (GLenum target, GLenum pname, GLfloat *params);
195  void (APIENTRY *GetConvolutionParameterivEXT) (GLenum target, GLenum pname, GLint *params);
196  void (APIENTRY *GetSeparableFilterEXT) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
197  void (APIENTRY *SeparableFilter2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
198  void (APIENTRY *ColorTableSGI) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
199  void (APIENTRY *ColorTableParameterfvSGI) (GLenum target, GLenum pname, const GLfloat *params);
200  void (APIENTRY *ColorTableParameterivSGI) (GLenum target, GLenum pname, const GLint *params);
201  void (APIENTRY *CopyColorTableSGI) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
202  void (APIENTRY *GetColorTableSGI) (GLenum target, GLenum format, GLenum type, GLvoid *table);
203  void (APIENTRY *GetColorTableParameterfvSGI) (GLenum target, GLenum pname, GLfloat *params);
204  void (APIENTRY *GetColorTableParameterivSGI) (GLenum target, GLenum pname, GLint *params);
205  void (APIENTRY *PixelTexGenSGIX) (GLenum mode);
206  void (APIENTRY *PixelTexGenParameteriSGIS) (GLenum pname, GLint param);
207  void (APIENTRY *PixelTexGenParameterivSGIS) (GLenum pname, const GLint *params);
208  void (APIENTRY *PixelTexGenParameterfSGIS) (GLenum pname, GLfloat param);
209  void (APIENTRY *PixelTexGenParameterfvSGIS) (GLenum pname, const GLfloat *params);
210  void (APIENTRY *GetPixelTexGenParameterivSGIS) (GLenum pname, GLint *params);
211  void (APIENTRY *GetPixelTexGenParameterfvSGIS) (GLenum pname, GLfloat *params);
212  void (APIENTRY *TexImage4DSGIS) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
213  void (APIENTRY *TexSubImage4DSGIS) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
214  GLboolean (APIENTRY *AreTexturesResidentEXT) (GLsizei n, const GLuint *textures, GLboolean *residences);
215  void (APIENTRY *BindTextureEXT) (GLenum target, GLuint texture);
216  void (APIENTRY *DeleteTexturesEXT) (GLsizei n, const GLuint *textures);
217  void (APIENTRY *GenTexturesEXT) (GLsizei n, GLuint *textures);
218  GLboolean (APIENTRY *IsTextureEXT) (GLuint texture);
219  void (APIENTRY *PrioritizeTexturesEXT) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
220  void (APIENTRY *DetailTexFuncSGIS) (GLenum target, GLsizei n, const GLfloat *points);
221  void (APIENTRY *GetDetailTexFuncSGIS) (GLenum target, GLfloat *points);
222  void (APIENTRY *SharpenTexFuncSGIS) (GLenum target, GLsizei n, const GLfloat *points);
223  void (APIENTRY *GetSharpenTexFuncSGIS) (GLenum target, GLfloat *points);
224  void (APIENTRY *SampleMaskSGIS) (GLclampf value, GLboolean invert);
225  void (APIENTRY *SamplePatternSGIS) (GLenum pattern);
226  void (APIENTRY *ArrayElementEXT) (GLint i);
227  void (APIENTRY *ColorPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
228  void (APIENTRY *DrawArraysEXT) (GLenum mode, GLint first, GLsizei count);
229  void (APIENTRY *EdgeFlagPointerEXT) (GLsizei stride, GLsizei count, const GLboolean *pointer);
230  void (APIENTRY *GetPointervEXT) (GLenum pname, GLvoid* *params);
231  void (APIENTRY *IndexPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
232  void (APIENTRY *NormalPointerEXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
233  void (APIENTRY *TexCoordPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
234  void (APIENTRY *VertexPointerEXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
235  void (APIENTRY *BlendEquationEXT) (GLenum mode);
236  void (APIENTRY *SpriteParameterfSGIX) (GLenum pname, GLfloat param);
237  void (APIENTRY *SpriteParameterfvSGIX) (GLenum pname, const GLfloat *params);
238  void (APIENTRY *SpriteParameteriSGIX) (GLenum pname, GLint param);
239  void (APIENTRY *SpriteParameterivSGIX) (GLenum pname, const GLint *params);
240  void (APIENTRY *PointParameterfARB) (GLenum pname, GLfloat param);
241  void (APIENTRY *PointParameterfvARB) (GLenum pname, const GLfloat *params);
242  void (APIENTRY *PointParameterfEXT) (GLenum pname, GLfloat param);
243  void (APIENTRY *PointParameterfvEXT) (GLenum pname, const GLfloat *params);
244  void (APIENTRY *PointParameterfSGIS) (GLenum pname, GLfloat param);
245  void (APIENTRY *PointParameterfvSGIS) (GLenum pname, const GLfloat *params);
246  GLint (APIENTRY *GetInstrumentsSGIX) (void);
247  void (APIENTRY *InstrumentsBufferSGIX) (GLsizei size, GLint *buffer);
248  GLint (APIENTRY *PollInstrumentsSGIX) (GLint *marker_p);
249  void (APIENTRY *ReadInstrumentsSGIX) (GLint marker);
250  void (APIENTRY *StartInstrumentsSGIX) (void);
251  void (APIENTRY *StopInstrumentsSGIX) (GLint marker);
252  void (APIENTRY *FrameZoomSGIX) (GLint factor);
253  void (APIENTRY *TagSampleBufferSGIX) (void);
254  void (APIENTRY *DeformationMap3dSGIX) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
255  void (APIENTRY *DeformationMap3fSGIX) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
256  void (APIENTRY *DeformSGIX) (GLbitfield mask);
257  void (APIENTRY *LoadIdentityDeformationMapSGIX) (GLbitfield mask);
258  void (APIENTRY *ReferencePlaneSGIX) (const GLdouble *equation);
259  void (APIENTRY *FlushRasterSGIX) (void);
260  void (APIENTRY *FogFuncSGIS) (GLsizei n, const GLfloat *points);
261  void (APIENTRY *GetFogFuncSGIS) (GLfloat *points);
262  void (APIENTRY *ImageTransformParameteriHP) (GLenum target, GLenum pname, GLint param);
263  void (APIENTRY *ImageTransformParameterfHP) (GLenum target, GLenum pname, GLfloat param);
264  void (APIENTRY *ImageTransformParameterivHP) (GLenum target, GLenum pname, const GLint *params);
265  void (APIENTRY *ImageTransformParameterfvHP) (GLenum target, GLenum pname, const GLfloat *params);
266  void (APIENTRY *GetImageTransformParameterivHP) (GLenum target, GLenum pname, GLint *params);
267  void (APIENTRY *GetImageTransformParameterfvHP) (GLenum target, GLenum pname, GLfloat *params);
268  void (APIENTRY *ColorSubTableEXT) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
269  void (APIENTRY *CopyColorSubTableEXT) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
270  void (APIENTRY *HintPGI) (GLenum target, GLint mode);
271  void (APIENTRY *ColorTableEXT) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
272  void (APIENTRY *GetColorTableEXT) (GLenum target, GLenum format, GLenum type, GLvoid *data);
273  void (APIENTRY *GetColorTableParameterivEXT) (GLenum target, GLenum pname, GLint *params);
274  void (APIENTRY *GetColorTableParameterfvEXT) (GLenum target, GLenum pname, GLfloat *params);
275  void (APIENTRY *GetListParameterfvSGIX) (GLuint list, GLenum pname, GLfloat *params);
276  void (APIENTRY *GetListParameterivSGIX) (GLuint list, GLenum pname, GLint *params);
277  void (APIENTRY *ListParameterfSGIX) (GLuint list, GLenum pname, GLfloat param);
278  void (APIENTRY *ListParameterfvSGIX) (GLuint list, GLenum pname, const GLfloat *params);
279  void (APIENTRY *ListParameteriSGIX) (GLuint list, GLenum pname, GLint param);
280  void (APIENTRY *ListParameterivSGIX) (GLuint list, GLenum pname, const GLint *params);
281  void (APIENTRY *IndexMaterialEXT) (GLenum face, GLenum mode);
282  void (APIENTRY *IndexFuncEXT) (GLenum func, GLclampf ref);
283  void (APIENTRY *LockArraysEXT) (GLint first, GLsizei count);
284  void (APIENTRY *UnlockArraysEXT) (void);
285  void (APIENTRY *CullParameterdvEXT) (GLenum pname, GLdouble *params);
286  void (APIENTRY *CullParameterfvEXT) (GLenum pname, GLfloat *params);
287  void (APIENTRY *FragmentColorMaterialSGIX) (GLenum face, GLenum mode);
288  void (APIENTRY *FragmentLightfSGIX) (GLenum light, GLenum pname, GLfloat param);
289  void (APIENTRY *FragmentLightfvSGIX) (GLenum light, GLenum pname, const GLfloat *params);
290  void (APIENTRY *FragmentLightiSGIX) (GLenum light, GLenum pname, GLint param);
291  void (APIENTRY *FragmentLightivSGIX) (GLenum light, GLenum pname, const GLint *params);
292  void (APIENTRY *FragmentLightModelfSGIX) (GLenum pname, GLfloat param);
293  void (APIENTRY *FragmentLightModelfvSGIX) (GLenum pname, const GLfloat *params);
294  void (APIENTRY *FragmentLightModeliSGIX) (GLenum pname, GLint param);
295  void (APIENTRY *FragmentLightModelivSGIX) (GLenum pname, const GLint *params);
296  void (APIENTRY *FragmentMaterialfSGIX) (GLenum face, GLenum pname, GLfloat param);
297  void (APIENTRY *FragmentMaterialfvSGIX) (GLenum face, GLenum pname, const GLfloat *params);
298  void (APIENTRY *FragmentMaterialiSGIX) (GLenum face, GLenum pname, GLint param);
299  void (APIENTRY *FragmentMaterialivSGIX) (GLenum face, GLenum pname, const GLint *params);
300  void (APIENTRY *GetFragmentLightfvSGIX) (GLenum light, GLenum pname, GLfloat *params);
301  void (APIENTRY *GetFragmentLightivSGIX) (GLenum light, GLenum pname, GLint *params);
302  void (APIENTRY *GetFragmentMaterialfvSGIX) (GLenum face, GLenum pname, GLfloat *params);
303  void (APIENTRY *GetFragmentMaterialivSGIX) (GLenum face, GLenum pname, GLint *params);
304  void (APIENTRY *LightEnviSGIX) (GLenum pname, GLint param);
305  void (APIENTRY *DrawRangeElementsEXT) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
306  void (APIENTRY *ApplyTextureEXT) (GLenum mode);
307  void (APIENTRY *TextureLightEXT) (GLenum pname);
308  void (APIENTRY *TextureMaterialEXT) (GLenum face, GLenum mode);
309  void (APIENTRY *AsyncMarkerSGIX) (GLuint marker);
310  GLint (APIENTRY *FinishAsyncSGIX) (GLuint *markerp);
311  GLint (APIENTRY *PollAsyncSGIX) (GLuint *markerp);
312  GLuint (APIENTRY *GenAsyncMarkersSGIX) (GLsizei range);
313  void (APIENTRY *DeleteAsyncMarkersSGIX) (GLuint marker, GLsizei range);
314  GLboolean (APIENTRY *IsAsyncMarkerSGIX) (GLuint marker);
315  void (APIENTRY *VertexPointervINTEL) (GLint size, GLenum type, const GLvoid* *pointer);
316  void (APIENTRY *NormalPointervINTEL) (GLenum type, const GLvoid* *pointer);
317  void (APIENTRY *ColorPointervINTEL) (GLint size, GLenum type, const GLvoid* *pointer);
318  void (APIENTRY *TexCoordPointervINTEL) (GLint size, GLenum type, const GLvoid* *pointer);
319  void (APIENTRY *PixelTransformParameteriEXT) (GLenum target, GLenum pname, GLint param);
320  void (APIENTRY *PixelTransformParameterfEXT) (GLenum target, GLenum pname, GLfloat param);
321  void (APIENTRY *PixelTransformParameterivEXT) (GLenum target, GLenum pname, const GLint *params);
322  void (APIENTRY *PixelTransformParameterfvEXT) (GLenum target, GLenum pname, const GLfloat *params);
323  void (APIENTRY *SecondaryColor3bEXT) (GLbyte red, GLbyte green, GLbyte blue);
324  void (APIENTRY *SecondaryColor3bvEXT) (const GLbyte *v);
325  void (APIENTRY *SecondaryColor3dEXT) (GLdouble red, GLdouble green, GLdouble blue);
326  void (APIENTRY *SecondaryColor3dvEXT) (const GLdouble *v);
327  void (APIENTRY *SecondaryColor3fEXT) (GLfloat red, GLfloat green, GLfloat blue);
328  void (APIENTRY *SecondaryColor3fvEXT) (const GLfloat *v);
329  void (APIENTRY *SecondaryColor3iEXT) (GLint red, GLint green, GLint blue);
330  void (APIENTRY *SecondaryColor3ivEXT) (const GLint *v);
331  void (APIENTRY *SecondaryColor3sEXT) (GLshort red, GLshort green, GLshort blue);
332  void (APIENTRY *SecondaryColor3svEXT) (const GLshort *v);
333  void (APIENTRY *SecondaryColor3ubEXT) (GLubyte red, GLubyte green, GLubyte blue);
334  void (APIENTRY *SecondaryColor3ubvEXT) (const GLubyte *v);
335  void (APIENTRY *SecondaryColor3uiEXT) (GLuint red, GLuint green, GLuint blue);
336  void (APIENTRY *SecondaryColor3uivEXT) (const GLuint *v);
337  void (APIENTRY *SecondaryColor3usEXT) (GLushort red, GLushort green, GLushort blue);
338  void (APIENTRY *SecondaryColor3usvEXT) (const GLushort *v);
339  void (APIENTRY *SecondaryColorPointerEXT) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
340  void (APIENTRY *TextureNormalEXT) (GLenum mode);
341  void (APIENTRY *MultiDrawArraysEXT) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
342  void (APIENTRY *MultiDrawElementsEXT) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
343  void (APIENTRY *FogCoordfEXT) (GLfloat coord);
344  void (APIENTRY *FogCoordfvEXT) (const GLfloat *coord);
345  void (APIENTRY *FogCoorddEXT) (GLdouble coord);
346  void (APIENTRY *FogCoorddvEXT) (const GLdouble *coord);
347  void (APIENTRY *FogCoordPointerEXT) (GLenum type, GLsizei stride, const GLvoid *pointer);
348  void (APIENTRY *Tangent3bEXT) (GLbyte tx, GLbyte ty, GLbyte tz);
349  void (APIENTRY *Tangent3bvEXT) (const GLbyte *v);
350  void (APIENTRY *Tangent3dEXT) (GLdouble tx, GLdouble ty, GLdouble tz);
351  void (APIENTRY *Tangent3dvEXT) (const GLdouble *v);
352  void (APIENTRY *Tangent3fEXT) (GLfloat tx, GLfloat ty, GLfloat tz);
353  void (APIENTRY *Tangent3fvEXT) (const GLfloat *v);
354  void (APIENTRY *Tangent3iEXT) (GLint tx, GLint ty, GLint tz);
355  void (APIENTRY *Tangent3ivEXT) (const GLint *v);
356  void (APIENTRY *Tangent3sEXT) (GLshort tx, GLshort ty, GLshort tz);
357  void (APIENTRY *Tangent3svEXT) (const GLshort *v);
358  void (APIENTRY *Binormal3bEXT) (GLbyte bx, GLbyte by, GLbyte bz);
359  void (APIENTRY *Binormal3bvEXT) (const GLbyte *v);
360  void (APIENTRY *Binormal3dEXT) (GLdouble bx, GLdouble by, GLdouble bz);
361  void (APIENTRY *Binormal3dvEXT) (const GLdouble *v);
362  void (APIENTRY *Binormal3fEXT) (GLfloat bx, GLfloat by, GLfloat bz);
363  void (APIENTRY *Binormal3fvEXT) (const GLfloat *v);
364  void (APIENTRY *Binormal3iEXT) (GLint bx, GLint by, GLint bz);
365  void (APIENTRY *Binormal3ivEXT) (const GLint *v);
366  void (APIENTRY *Binormal3sEXT) (GLshort bx, GLshort by, GLshort bz);
367  void (APIENTRY *Binormal3svEXT) (const GLshort *v);
368  void (APIENTRY *TangentPointerEXT) (GLenum type, GLsizei stride, const GLvoid *pointer);
369  void (APIENTRY *BinormalPointerEXT) (GLenum type, GLsizei stride, const GLvoid *pointer);
370  void (APIENTRY *FinishTextureSUNX) (void);
371  void (APIENTRY *GlobalAlphaFactorbSUN) (GLbyte factor);
372  void (APIENTRY *GlobalAlphaFactorsSUN) (GLshort factor);
373  void (APIENTRY *GlobalAlphaFactoriSUN) (GLint factor);
374  void (APIENTRY *GlobalAlphaFactorfSUN) (GLfloat factor);
375  void (APIENTRY *GlobalAlphaFactordSUN) (GLdouble factor);
376  void (APIENTRY *GlobalAlphaFactorubSUN) (GLubyte factor);
377  void (APIENTRY *GlobalAlphaFactorusSUN) (GLushort factor);
378  void (APIENTRY *GlobalAlphaFactoruiSUN) (GLuint factor);
379  void (APIENTRY *ReplacementCodeuiSUN) (GLuint code);
380  void (APIENTRY *ReplacementCodeusSUN) (GLushort code);
381  void (APIENTRY *ReplacementCodeubSUN) (GLubyte code);
382  void (APIENTRY *ReplacementCodeuivSUN) (const GLuint *code);
383  void (APIENTRY *ReplacementCodeusvSUN) (const GLushort *code);
384  void (APIENTRY *ReplacementCodeubvSUN) (const GLubyte *code);
385  void (APIENTRY *ReplacementCodePointerSUN) (GLenum type, GLsizei stride, const GLvoid* *pointer);
386  void (APIENTRY *Color4ubVertex2fSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
387  void (APIENTRY *Color4ubVertex2fvSUN) (const GLubyte *c, const GLfloat *v);
388  void (APIENTRY *Color4ubVertex3fSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
389  void (APIENTRY *Color4ubVertex3fvSUN) (const GLubyte *c, const GLfloat *v);
390  void (APIENTRY *Color3fVertex3fSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
391  void (APIENTRY *Color3fVertex3fvSUN) (const GLfloat *c, const GLfloat *v);
392  void (APIENTRY *Normal3fVertex3fSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
393  void (APIENTRY *Normal3fVertex3fvSUN) (const GLfloat *n, const GLfloat *v);
394  void (APIENTRY *Color4fNormal3fVertex3fSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
395  void (APIENTRY *Color4fNormal3fVertex3fvSUN) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
396  void (APIENTRY *TexCoord2fVertex3fSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
397  void (APIENTRY *TexCoord2fVertex3fvSUN) (const GLfloat *tc, const GLfloat *v);
398  void (APIENTRY *TexCoord4fVertex4fSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
399  void (APIENTRY *TexCoord4fVertex4fvSUN) (const GLfloat *tc, const GLfloat *v);
400  void (APIENTRY *TexCoord2fColor4ubVertex3fSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
401  void (APIENTRY *TexCoord2fColor4ubVertex3fvSUN) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
402  void (APIENTRY *TexCoord2fColor3fVertex3fSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
403  void (APIENTRY *TexCoord2fColor3fVertex3fvSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
404  void (APIENTRY *TexCoord2fNormal3fVertex3fSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
405  void (APIENTRY *TexCoord2fNormal3fVertex3fvSUN) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
406  void (APIENTRY *TexCoord2fColor4fNormal3fVertex3fSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
407  void (APIENTRY *TexCoord2fColor4fNormal3fVertex3fvSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
408  void (APIENTRY *TexCoord4fColor4fNormal3fVertex4fSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
409  void (APIENTRY *TexCoord4fColor4fNormal3fVertex4fvSUN) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
410  void (APIENTRY *ReplacementCodeuiVertex3fSUN) (GLenum rc, GLfloat x, GLfloat y, GLfloat z);
411  void (APIENTRY *ReplacementCodeuiVertex3fvSUN) (const GLenum *rc, const GLfloat *v);
412  void (APIENTRY *ReplacementCodeuiColor4ubVertex3fSUN) (GLenum rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
413  void (APIENTRY *ReplacementCodeuiColor4ubVertex3fvSUN) (const GLenum *rc, const GLubyte *c, const GLfloat *v);
414  void (APIENTRY *ReplacementCodeuiColor3fVertex3fSUN) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
415  void (APIENTRY *ReplacementCodeuiColor3fVertex3fvSUN) (const GLenum *rc, const GLfloat *c, const GLfloat *v);
416  void (APIENTRY *ReplacementCodeuiNormal3fVertex3fSUN) (GLenum rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
417  void (APIENTRY *ReplacementCodeuiNormal3fVertex3fvSUN) (const GLenum *rc, const GLfloat *n, const GLfloat *v);
418  void (APIENTRY *ReplacementCodeuiColor4fNormal3fVertex3fSUN) (GLenum rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
419  void (APIENTRY *ReplacementCodeuiColor4fNormal3fVertex3fvSUN) (const GLenum *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
420  void (APIENTRY *ReplacementCodeuiTexCoord2fVertex3fSUN) (GLenum rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
421  void (APIENTRY *ReplacementCodeuiTexCoord2fVertex3fvSUN) (const GLenum *rc, const GLfloat *tc, const GLfloat *v);
422  void (APIENTRY *ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN) (GLenum rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
423  void (APIENTRY *ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN) (const GLenum *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
424  void (APIENTRY *ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN) (GLenum rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
425  void (APIENTRY *ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN) (const GLenum *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
426  void (APIENTRY *BlendFuncSeparateEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
427  void (APIENTRY *BlendFuncSeparateINGR) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
428  void (APIENTRY *VertexWeightfEXT) (GLfloat weight);
429  void (APIENTRY *VertexWeightfvEXT) (const GLfloat *weight);
430  void (APIENTRY *VertexWeightPointerEXT) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
431  void (APIENTRY *FlushVertexArrayRangeNV) (void);
432  void (APIENTRY *VertexArrayRangeNV) (GLsizei length, const GLvoid *pointer);
433  void (APIENTRY *CombinerParameterfvNV) (GLenum pname, const GLfloat *params);
434  void (APIENTRY *CombinerParameterfNV) (GLenum pname, GLfloat param);
435  void (APIENTRY *CombinerParameterivNV) (GLenum pname, const GLint *params);
436  void (APIENTRY *CombinerParameteriNV) (GLenum pname, GLint param);
437  void (APIENTRY *CombinerInputNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
438  void (APIENTRY *CombinerOutputNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
439  void (APIENTRY *FinalCombinerInputNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
440  void (APIENTRY *GetCombinerInputParameterfvNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
441  void (APIENTRY *GetCombinerInputParameterivNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
442  void (APIENTRY *GetCombinerOutputParameterfvNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
443  void (APIENTRY *GetCombinerOutputParameterivNV) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
444  void (APIENTRY *GetFinalCombinerInputParameterfvNV) (GLenum variable, GLenum pname, GLfloat *params);
445  void (APIENTRY *GetFinalCombinerInputParameterivNV) (GLenum variable, GLenum pname, GLint *params);
446  void (APIENTRY *ResizeBuffersMESA) (void);
447  void (APIENTRY *WindowPos2dMESA) (GLdouble x, GLdouble y);
448  void (APIENTRY *WindowPos2dvMESA) (const GLdouble *v);
449  void (APIENTRY *WindowPos2fMESA) (GLfloat x, GLfloat y);
450  void (APIENTRY *WindowPos2fvMESA) (const GLfloat *v);
451  void (APIENTRY *WindowPos2iMESA) (GLint x, GLint y);
452  void (APIENTRY *WindowPos2ivMESA) (const GLint *v);
453  void (APIENTRY *WindowPos2sMESA) (GLshort x, GLshort y);
454  void (APIENTRY *WindowPos2svMESA) (const GLshort *v);
455  void (APIENTRY *WindowPos3dMESA) (GLdouble x, GLdouble y, GLdouble z);
456  void (APIENTRY *WindowPos3dvMESA) (const GLdouble *v);
457  void (APIENTRY *WindowPos3fMESA) (GLfloat x, GLfloat y, GLfloat z);
458  void (APIENTRY *WindowPos3fvMESA) (const GLfloat *v);
459  void (APIENTRY *WindowPos3iMESA) (GLint x, GLint y, GLint z);
460  void (APIENTRY *WindowPos3ivMESA) (const GLint *v);
461  void (APIENTRY *WindowPos3sMESA) (GLshort x, GLshort y, GLshort z);
462  void (APIENTRY *WindowPos3svMESA) (const GLshort *v);
463  void (APIENTRY *WindowPos4dMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
464  void (APIENTRY *WindowPos4dvMESA) (const GLdouble *v);
465  void (APIENTRY *WindowPos4fMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
466  void (APIENTRY *WindowPos4fvMESA) (const GLfloat *v);
467  void (APIENTRY *WindowPos4iMESA) (GLint x, GLint y, GLint z, GLint w);
468  void (APIENTRY *WindowPos4ivMESA) (const GLint *v);
469  void (APIENTRY *WindowPos4sMESA) (GLshort x, GLshort y, GLshort z, GLshort w);
470  void (APIENTRY *WindowPos4svMESA) (const GLshort *v);
471  void (APIENTRY *MultiModeDrawArraysIBM) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
472  void (APIENTRY *MultiModeDrawElementsIBM) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount, GLint modestride);
473  void (APIENTRY *ColorPointerListIBM) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
474  void (APIENTRY *SecondaryColorPointerListIBM) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
475  void (APIENTRY *EdgeFlagPointerListIBM) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
476  void (APIENTRY *FogCoordPointerListIBM) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
477  void (APIENTRY *IndexPointerListIBM) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
478  void (APIENTRY *NormalPointerListIBM) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
479  void (APIENTRY *TexCoordPointerListIBM) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
480  void (APIENTRY *VertexPointerListIBM) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
481  void (APIENTRY *TbufferMask3DFX) (GLuint mask);
482  void (APIENTRY *SampleMaskEXT) (GLclampf value, GLboolean invert);
483  void (APIENTRY *SamplePatternEXT) (GLenum pattern);
484  void (APIENTRY *TextureColorMaskSGIS) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
485  void (APIENTRY *IglooInterfaceSGIX) (GLenum pname, const GLvoid *params);
486  void (APIENTRY *GenFencesNV) (GLsizei n, GLuint *fences);
487  void (APIENTRY *DeleteFencesNV) (GLsizei n, const GLuint *fences);
488  void (APIENTRY *SetFenceNV) (GLuint fence, GLenum condition);
489  GLboolean (APIENTRY *TestFenceNV) (GLuint fence);
490  void (APIENTRY *FinishFenceNV) (GLuint fence);
491  GLboolean (APIENTRY *IsFenceNV) (GLuint fence);
492  void (APIENTRY *GetFenceivNV) (GLuint fence, GLenum pname, GLint *params);
493  void (APIENTRY *MapControlPointsNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
494  void (APIENTRY *MapParameterivNV) (GLenum target, GLenum pname, const GLint *params);
495  void (APIENTRY *MapParameterfvNV) (GLenum target, GLenum pname, const GLfloat *params);
496  void (APIENTRY *GetMapControlPointsNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
497  void (APIENTRY *GetMapParameterivNV) (GLenum target, GLenum pname, GLint *params);
498  void (APIENTRY *GetMapParameterfvNV) (GLenum target, GLenum pname, GLfloat *params);
499  void (APIENTRY *GetMapAttribParameterivNV) (GLenum target, GLuint index, GLenum pname, GLint *params);
500  void (APIENTRY *GetMapAttribParameterfvNV) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
501  void (APIENTRY *EvalMapsNV) (GLenum target, GLenum mode);
502  void (APIENTRY *CombinerStageParameterfvNV) (GLenum stage, GLenum pname, const GLfloat *params);
503  void (APIENTRY *GetCombinerStageParameterfvNV) (GLenum stage, GLenum pname, GLfloat *params);
504  void (APIENTRY *BindProgramNV) (GLenum target, GLuint id);
505  void (APIENTRY *DeleteProgramsNV) (GLsizei n, const GLuint *ids);
506  void (APIENTRY *ExecuteProgramNV) (GLenum target, GLuint id, const GLfloat *params);
507  void (APIENTRY *GenProgramsNV) (GLsizei n, GLuint *ids);
508  GLboolean (APIENTRY *AreProgramsResidentNV) (GLsizei n, const GLuint *ids, GLboolean *residences);
509  void (APIENTRY *RequestResidentProgramsNV) (GLsizei n, const GLuint *ids);
510  void (APIENTRY *GetProgramParameterfvNV) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
511  void (APIENTRY *GetProgramParameterdvNV) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
512  void (APIENTRY *GetProgramivNV) (GLuint id, GLenum pname, GLint *params);
513  void (APIENTRY *GetProgramStringNV) (GLuint id, GLenum pname, GLubyte *program);
514  void (APIENTRY *GetTrackMatrixivNV) (GLenum target, GLuint address, GLenum pname, GLint *params);
515  void (APIENTRY *GetVertexAttribdvNV) (GLuint index, GLenum pname, GLdouble *params);
516  void (APIENTRY *GetVertexAttribfvNV) (GLuint index, GLenum pname, GLfloat *params);
517  void (APIENTRY *GetVertexAttribivNV) (GLuint index, GLenum pname, GLint *params);
518  void (APIENTRY *GetVertexAttribPointervNV) (GLuint index, GLenum pname, GLvoid* *pointer);
519  GLboolean (APIENTRY *IsProgramNV) (GLuint id);
520  void (APIENTRY *LoadProgramNV) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
521  void (APIENTRY *ProgramParameter4fNV) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
522  void (APIENTRY *ProgramParameter4dNV) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
523  void (APIENTRY *ProgramParameter4dvNV) (GLenum target, GLuint index, const GLdouble *params);
524  void (APIENTRY *ProgramParameter4fvNV) (GLenum target, GLuint index, const GLfloat *params);
525  void (APIENTRY *ProgramParameters4dvNV) (GLenum target, GLuint index, GLuint num, const GLdouble *params);
526  void (APIENTRY *ProgramParameters4fvNV) (GLenum target, GLuint index, GLuint num, const GLfloat *params);
527  void (APIENTRY *TrackMatrixNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
528  void (APIENTRY *VertexAttribPointerNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
529  void (APIENTRY *VertexAttrib1sNV) (GLuint index, GLshort x);
530  void (APIENTRY *VertexAttrib1fNV) (GLuint index, GLfloat x);
531  void (APIENTRY *VertexAttrib1dNV) (GLuint index, GLdouble x);
532  void (APIENTRY *VertexAttrib2sNV) (GLuint index, GLshort x, GLshort y);
533  void (APIENTRY *VertexAttrib2fNV) (GLuint index, GLfloat x, GLfloat y);
534  void (APIENTRY *VertexAttrib2dNV) (GLuint index, GLdouble x, GLdouble y);
535  void (APIENTRY *VertexAttrib3sNV) (GLuint index, GLshort x, GLshort y, GLshort z);
536  void (APIENTRY *VertexAttrib3fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
537  void (APIENTRY *VertexAttrib3dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
538  void (APIENTRY *VertexAttrib4sNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
539  void (APIENTRY *VertexAttrib4fNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
540  void (APIENTRY *VertexAttrib4dNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
541  void (APIENTRY *VertexAttrib4ubNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
542  void (APIENTRY *VertexAttrib1svNV) (GLuint index, const GLshort *v);
543  void (APIENTRY *VertexAttrib1fvNV) (GLuint index, const GLfloat *v);
544  void (APIENTRY *VertexAttrib1dvNV) (GLuint index, const GLdouble *v);
545  void (APIENTRY *VertexAttrib2svNV) (GLuint index, const GLshort *v);
546  void (APIENTRY *VertexAttrib2fvNV) (GLuint index, const GLfloat *v);
547  void (APIENTRY *VertexAttrib2dvNV) (GLuint index, const GLdouble *v);
548  void (APIENTRY *VertexAttrib3svNV) (GLuint index, const GLshort *v);
549  void (APIENTRY *VertexAttrib3fvNV) (GLuint index, const GLfloat *v);
550  void (APIENTRY *VertexAttrib3dvNV) (GLuint index, const GLdouble *v);
551  void (APIENTRY *VertexAttrib4svNV) (GLuint index, const GLshort *v);
552  void (APIENTRY *VertexAttrib4fvNV) (GLuint index, const GLfloat *v);
553  void (APIENTRY *VertexAttrib4dvNV) (GLuint index, const GLdouble *v);
554  void (APIENTRY *VertexAttrib4ubvNV) (GLuint index, const GLubyte *v);
555  void (APIENTRY *VertexAttribs1svNV) (GLuint index, GLsizei n, const GLshort *v);
556  void (APIENTRY *VertexAttribs1fvNV) (GLuint index, GLsizei n, const GLfloat *v);
557  void (APIENTRY *VertexAttribs1dvNV) (GLuint index, GLsizei n, const GLdouble *v);
558  void (APIENTRY *VertexAttribs2svNV) (GLuint index, GLsizei n, const GLshort *v);
559  void (APIENTRY *VertexAttribs2fvNV) (GLuint index, GLsizei n, const GLfloat *v);
560  void (APIENTRY *VertexAttribs2dvNV) (GLuint index, GLsizei n, const GLdouble *v);
561  void (APIENTRY *VertexAttribs3svNV) (GLuint index, GLsizei n, const GLshort *v);
562  void (APIENTRY *VertexAttribs3fvNV) (GLuint index, GLsizei n, const GLfloat *v);
563  void (APIENTRY *VertexAttribs3dvNV) (GLuint index, GLsizei n, const GLdouble *v);
564  void (APIENTRY *VertexAttribs4svNV) (GLuint index, GLsizei n, const GLshort *v);
565  void (APIENTRY *VertexAttribs4fvNV) (GLuint index, GLsizei n, const GLfloat *v);
566  void (APIENTRY *VertexAttribs4dvNV) (GLuint index, GLsizei n, const GLdouble *v);
567  void (APIENTRY *VertexAttribs4ubvNV) (GLuint index, GLsizei n, const GLubyte *v);
568  void (APIENTRY *AddSwapHintRectWIN) (GLint x, GLint y, GLsizei width, GLsizei height);
569#ifdef _WIN32
570  HANDLE (WINAPI *CreateBufferRegionARB) (HDC hDC, int iLayerPlane, UINT uType);
571  VOID (WINAPI *DeleteBufferRegionARB) (HANDLE hRegion);
572  BOOL (WINAPI *SaveBufferRegionARB) (HANDLE hRegion, int x, int y, int width, int height);
573  BOOL (WINAPI *RestoreBufferRegionARB) (HANDLE hRegion, int x, int y, int width, int height, int xSrc, int ySrc);
574  const (WINAPI *GetExtensionsStringARB) (HDC hdc);
575  BOOL (WINAPI *GetPixelFormatAttribivARB) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
576  BOOL (WINAPI *GetPixelFormatAttribfvARB) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
577  BOOL (WINAPI *ChoosePixelFormatARB) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
578  BOOL (WINAPI *MakeContextCurrentARB) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
579  HDC (WINAPI *GetCurrentReadDCARB) (void);
580  HPBUFFERARB (WINAPI *CreatePbufferARB) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
581  HDC (WINAPI *GetPbufferDCARB) (HPBUFFERARB hPbuffer);
582  int (WINAPI *ReleasePbufferDCARB) (HPBUFFERARB hPbuffer, HDC hDC);
583  BOOL (WINAPI *DestroyPbufferARB) (HPBUFFERARB hPbuffer);
584  BOOL (WINAPI *QueryPbufferARB) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
585  GLboolean (WINAPI *CreateDisplayColorTableEXT) (GLushort id);
586  GLboolean (WINAPI *LoadDisplayColorTableEXT) (const GLushort *table, GLuint length);
587  GLboolean (WINAPI *BindDisplayColorTableEXT) (GLushort id);
588  VOID (WINAPI *DestroyDisplayColorTableEXT) (GLushort id);
589  const (WINAPI *GetExtensionsStringEXT) (void);
590  BOOL (WINAPI *MakeContextCurrentEXT) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
591  HDC (WINAPI *GetCurrentReadDCEXT) (void);
592  HPBUFFEREXT (WINAPI *CreatePbufferEXT) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
593  HDC (WINAPI *GetPbufferDCEXT) (HPBUFFEREXT hPbuffer);
594  int (WINAPI *ReleasePbufferDCEXT) (HPBUFFEREXT hPbuffer, HDC hDC);
595  BOOL (WINAPI *DestroyPbufferEXT) (HPBUFFEREXT hPbuffer);
596  BOOL (WINAPI *QueryPbufferEXT) (HPBUFFEREXT hPbuffer, int iAttribute, int *piValue);
597  BOOL (WINAPI *GetPixelFormatAttribivEXT) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *piValues);
598  BOOL (WINAPI *GetPixelFormatAttribfvEXT) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, FLOAT *pfValues);
599  BOOL (WINAPI *ChoosePixelFormatEXT) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
600  BOOL (WINAPI *SwapIntervalEXT) (int interval);
601  int (WINAPI *GetSwapIntervalEXT) (void);
602#endif /* _WIN32 */
603} _GLextensionProcs;
604
605#define glBlendColor                     (_GET_TLS_PROCTABLE()->BlendColor)
606#define glBlendEquation                  (_GET_TLS_PROCTABLE()->BlendEquation)
607#define glDrawRangeElements              (_GET_TLS_PROCTABLE()->DrawRangeElements)
608#define glColorTable                     (_GET_TLS_PROCTABLE()->ColorTable)
609#define glColorTableParameterfv          (_GET_TLS_PROCTABLE()->ColorTableParameterfv)
610#define glColorTableParameteriv          (_GET_TLS_PROCTABLE()->ColorTableParameteriv)
611#define glCopyColorTable                 (_GET_TLS_PROCTABLE()->CopyColorTable)
612#define glGetColorTable                  (_GET_TLS_PROCTABLE()->GetColorTable)
613#define glGetColorTableParameterfv       (_GET_TLS_PROCTABLE()->GetColorTableParameterfv)
614#define glGetColorTableParameteriv       (_GET_TLS_PROCTABLE()->GetColorTableParameteriv)
615#define glColorSubTable                  (_GET_TLS_PROCTABLE()->ColorSubTable)
616#define glCopyColorSubTable              (_GET_TLS_PROCTABLE()->CopyColorSubTable)
617#define glConvolutionFilter1D            (_GET_TLS_PROCTABLE()->ConvolutionFilter1D)
618#define glConvolutionFilter2D            (_GET_TLS_PROCTABLE()->ConvolutionFilter2D)
619#define glConvolutionParameterf          (_GET_TLS_PROCTABLE()->ConvolutionParameterf)
620#define glConvolutionParameterfv         (_GET_TLS_PROCTABLE()->ConvolutionParameterfv)
621#define glConvolutionParameteri          (_GET_TLS_PROCTABLE()->ConvolutionParameteri)
622#define glConvolutionParameteriv         (_GET_TLS_PROCTABLE()->ConvolutionParameteriv)
623#define glCopyConvolutionFilter1D        (_GET_TLS_PROCTABLE()->CopyConvolutionFilter1D)
624#define glCopyConvolutionFilter2D        (_GET_TLS_PROCTABLE()->CopyConvolutionFilter2D)
625#define glGetConvolutionFilter           (_GET_TLS_PROCTABLE()->GetConvolutionFilter)
626#define glGetConvolutionParameterfv      (_GET_TLS_PROCTABLE()->GetConvolutionParameterfv)
627#define glGetConvolutionParameteriv      (_GET_TLS_PROCTABLE()->GetConvolutionParameteriv)
628#define glGetSeparableFilter             (_GET_TLS_PROCTABLE()->GetSeparableFilter)
629#define glSeparableFilter2D              (_GET_TLS_PROCTABLE()->SeparableFilter2D)
630#define glGetHistogram                   (_GET_TLS_PROCTABLE()->GetHistogram)
631#define glGetHistogramParameterfv        (_GET_TLS_PROCTABLE()->GetHistogramParameterfv)
632#define glGetHistogramParameteriv        (_GET_TLS_PROCTABLE()->GetHistogramParameteriv)
633#define glGetMinmax                      (_GET_TLS_PROCTABLE()->GetMinmax)
634#define glGetMinmaxParameterfv           (_GET_TLS_PROCTABLE()->GetMinmaxParameterfv)
635#define glGetMinmaxParameteriv           (_GET_TLS_PROCTABLE()->GetMinmaxParameteriv)
636#define glHistogram                      (_GET_TLS_PROCTABLE()->Histogram)
637#define glMinmax                         (_GET_TLS_PROCTABLE()->Minmax)
638#define glResetHistogram                 (_GET_TLS_PROCTABLE()->ResetHistogram)
639#define glResetMinmax                    (_GET_TLS_PROCTABLE()->ResetMinmax)
640#define glTexImage3D                     (_GET_TLS_PROCTABLE()->TexImage3D)
641#define glTexSubImage3D                  (_GET_TLS_PROCTABLE()->TexSubImage3D)
642#define glCopyTexSubImage3D              (_GET_TLS_PROCTABLE()->CopyTexSubImage3D)
643#define glActiveTextureARB               (_GET_TLS_PROCTABLE()->ActiveTextureARB)
644#define glClientActiveTextureARB         (_GET_TLS_PROCTABLE()->ClientActiveTextureARB)
645#define glMultiTexCoord1dARB             (_GET_TLS_PROCTABLE()->MultiTexCoord1dARB)
646#define glMultiTexCoord1dvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord1dvARB)
647#define glMultiTexCoord1fARB             (_GET_TLS_PROCTABLE()->MultiTexCoord1fARB)
648#define glMultiTexCoord1fvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord1fvARB)
649#define glMultiTexCoord1iARB             (_GET_TLS_PROCTABLE()->MultiTexCoord1iARB)
650#define glMultiTexCoord1ivARB            (_GET_TLS_PROCTABLE()->MultiTexCoord1ivARB)
651#define glMultiTexCoord1sARB             (_GET_TLS_PROCTABLE()->MultiTexCoord1sARB)
652#define glMultiTexCoord1svARB            (_GET_TLS_PROCTABLE()->MultiTexCoord1svARB)
653#define glMultiTexCoord2dARB             (_GET_TLS_PROCTABLE()->MultiTexCoord2dARB)
654#define glMultiTexCoord2dvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord2dvARB)
655#define glMultiTexCoord2fARB             (_GET_TLS_PROCTABLE()->MultiTexCoord2fARB)
656#define glMultiTexCoord2fvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord2fvARB)
657#define glMultiTexCoord2iARB             (_GET_TLS_PROCTABLE()->MultiTexCoord2iARB)
658#define glMultiTexCoord2ivARB            (_GET_TLS_PROCTABLE()->MultiTexCoord2ivARB)
659#define glMultiTexCoord2sARB             (_GET_TLS_PROCTABLE()->MultiTexCoord2sARB)
660#define glMultiTexCoord2svARB            (_GET_TLS_PROCTABLE()->MultiTexCoord2svARB)
661#define glMultiTexCoord3dARB             (_GET_TLS_PROCTABLE()->MultiTexCoord3dARB)
662#define glMultiTexCoord3dvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord3dvARB)
663#define glMultiTexCoord3fARB             (_GET_TLS_PROCTABLE()->MultiTexCoord3fARB)
664#define glMultiTexCoord3fvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord3fvARB)
665#define glMultiTexCoord3iARB             (_GET_TLS_PROCTABLE()->MultiTexCoord3iARB)
666#define glMultiTexCoord3ivARB            (_GET_TLS_PROCTABLE()->MultiTexCoord3ivARB)
667#define glMultiTexCoord3sARB             (_GET_TLS_PROCTABLE()->MultiTexCoord3sARB)
668#define glMultiTexCoord3svARB            (_GET_TLS_PROCTABLE()->MultiTexCoord3svARB)
669#define glMultiTexCoord4dARB             (_GET_TLS_PROCTABLE()->MultiTexCoord4dARB)
670#define glMultiTexCoord4dvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord4dvARB)
671#define glMultiTexCoord4fARB             (_GET_TLS_PROCTABLE()->MultiTexCoord4fARB)
672#define glMultiTexCoord4fvARB            (_GET_TLS_PROCTABLE()->MultiTexCoord4fvARB)
673#define glMultiTexCoord4iARB             (_GET_TLS_PROCTABLE()->MultiTexCoord4iARB)
674#define glMultiTexCoord4ivARB            (_GET_TLS_PROCTABLE()->MultiTexCoord4ivARB)
675#define glMultiTexCoord4sARB             (_GET_TLS_PROCTABLE()->MultiTexCoord4sARB)
676#define glMultiTexCoord4svARB            (_GET_TLS_PROCTABLE()->MultiTexCoord4svARB)
677#define glLoadTransposeMatrixfARB        (_GET_TLS_PROCTABLE()->LoadTransposeMatrixfARB)
678#define glLoadTransposeMatrixdARB        (_GET_TLS_PROCTABLE()->LoadTransposeMatrixdARB)
679#define glMultTransposeMatrixfARB        (_GET_TLS_PROCTABLE()->MultTransposeMatrixfARB)
680#define glMultTransposeMatrixdARB        (_GET_TLS_PROCTABLE()->MultTransposeMatrixdARB)
681#define glSampleCoverageARB              (_GET_TLS_PROCTABLE()->SampleCoverageARB)
682#define glCompressedTexImage3DARB        (_GET_TLS_PROCTABLE()->CompressedTexImage3DARB)
683#define glCompressedTexImage2DARB        (_GET_TLS_PROCTABLE()->CompressedTexImage2DARB)
684#define glCompressedTexImage1DARB        (_GET_TLS_PROCTABLE()->CompressedTexImage1DARB)
685#define glCompressedTexSubImage3DARB     (_GET_TLS_PROCTABLE()->CompressedTexSubImage3DARB)
686#define glCompressedTexSubImage2DARB     (_GET_TLS_PROCTABLE()->CompressedTexSubImage2DARB)
687#define glCompressedTexSubImage1DARB     (_GET_TLS_PROCTABLE()->CompressedTexSubImage1DARB)
688#define glGetCompressedTexImageARB       (_GET_TLS_PROCTABLE()->GetCompressedTexImageARB)
689#define glWeightbvARB                    (_GET_TLS_PROCTABLE()->WeightbvARB)
690#define glWeightsvARB                    (_GET_TLS_PROCTABLE()->WeightsvARB)
691#define glWeightivARB                    (_GET_TLS_PROCTABLE()->WeightivARB)
692#define glWeightfvARB                    (_GET_TLS_PROCTABLE()->WeightfvARB)
693#define glWeightdvARB                    (_GET_TLS_PROCTABLE()->WeightdvARB)
694#define glWeightubvARB                   (_GET_TLS_PROCTABLE()->WeightubvARB)
695#define glWeightusvARB                   (_GET_TLS_PROCTABLE()->WeightusvARB)
696#define glWeightuivARB                   (_GET_TLS_PROCTABLE()->WeightuivARB)
697#define glWeightPointerARB               (_GET_TLS_PROCTABLE()->WeightPointerARB)
698#define glVertexBlendARB                 (_GET_TLS_PROCTABLE()->VertexBlendARB)
699#define glCurrentPaletteMatrixARB        (_GET_TLS_PROCTABLE()->CurrentPaletteMatrixARB)
700#define glMatrixIndexubvARB              (_GET_TLS_PROCTABLE()->MatrixIndexubvARB)
701#define glMatrixIndexusvARB              (_GET_TLS_PROCTABLE()->MatrixIndexusvARB)
702#define glMatrixIndexuivARB              (_GET_TLS_PROCTABLE()->MatrixIndexuivARB)
703#define glMatrixIndexPointerARB          (_GET_TLS_PROCTABLE()->MatrixIndexPointerARB)
704#define glBlendColorEXT                  (_GET_TLS_PROCTABLE()->BlendColorEXT)
705#define glPolygonOffsetEXT               (_GET_TLS_PROCTABLE()->PolygonOffsetEXT)
706#define glTexImage3DEXT                  (_GET_TLS_PROCTABLE()->TexImage3DEXT)
707#define glTexSubImage3DEXT               (_GET_TLS_PROCTABLE()->TexSubImage3DEXT)
708#define glGetTexFilterFuncSGIS           (_GET_TLS_PROCTABLE()->GetTexFilterFuncSGIS)
709#define glTexFilterFuncSGIS              (_GET_TLS_PROCTABLE()->TexFilterFuncSGIS)
710#define glTexSubImage1DEXT               (_GET_TLS_PROCTABLE()->TexSubImage1DEXT)
711#define glTexSubImage2DEXT               (_GET_TLS_PROCTABLE()->TexSubImage2DEXT)
712#define glCopyTexImage1DEXT              (_GET_TLS_PROCTABLE()->CopyTexImage1DEXT)
713#define glCopyTexImage2DEXT              (_GET_TLS_PROCTABLE()->CopyTexImage2DEXT)
714#define glCopyTexSubImage1DEXT           (_GET_TLS_PROCTABLE()->CopyTexSubImage1DEXT)
715#define glCopyTexSubImage2DEXT           (_GET_TLS_PROCTABLE()->CopyTexSubImage2DEXT)
716#define glCopyTexSubImage3DEXT           (_GET_TLS_PROCTABLE()->CopyTexSubImage3DEXT)
717#define glGetHistogramEXT                (_GET_TLS_PROCTABLE()->GetHistogramEXT)
718#define glGetHistogramParameterfvEXT     (_GET_TLS_PROCTABLE()->GetHistogramParameterfvEXT)
719#define glGetHistogramParameterivEXT     (_GET_TLS_PROCTABLE()->GetHistogramParameterivEXT)
720#define glGetMinmaxEXT                   (_GET_TLS_PROCTABLE()->GetMinmaxEXT)
721#define glGetMinmaxParameterfvEXT        (_GET_TLS_PROCTABLE()->GetMinmaxParameterfvEXT)
722#define glGetMinmaxParameterivEXT        (_GET_TLS_PROCTABLE()->GetMinmaxParameterivEXT)
723#define glHistogramEXT                   (_GET_TLS_PROCTABLE()->HistogramEXT)
724#define glMinmaxEXT                      (_GET_TLS_PROCTABLE()->MinmaxEXT)
725#define glResetHistogramEXT              (_GET_TLS_PROCTABLE()->ResetHistogramEXT)
726#define glResetMinmaxEXT                 (_GET_TLS_PROCTABLE()->ResetMinmaxEXT)
727#define glConvolutionFilter1DEXT         (_GET_TLS_PROCTABLE()->ConvolutionFilter1DEXT)
728#define glConvolutionFilter2DEXT         (_GET_TLS_PROCTABLE()->ConvolutionFilter2DEXT)
729#define glConvolutionParameterfEXT       (_GET_TLS_PROCTABLE()->ConvolutionParameterfEXT)
730#define glConvolutionParameterfvEXT      (_GET_TLS_PROCTABLE()->ConvolutionParameterfvEXT)
731#define glConvolutionParameteriEXT       (_GET_TLS_PROCTABLE()->ConvolutionParameteriEXT)
732#define glConvolutionParameterivEXT      (_GET_TLS_PROCTABLE()->ConvolutionParameterivEXT)
733#define glCopyConvolutionFilter1DEXT     (_GET_TLS_PROCTABLE()->CopyConvolutionFilter1DEXT)
734#define glCopyConvolutionFilter2DEXT     (_GET_TLS_PROCTABLE()->CopyConvolutionFilter2DEXT)
735#define glGetConvolutionFilterEXT        (_GET_TLS_PROCTABLE()->GetConvolutionFilterEXT)
736#define glGetConvolutionParameterfvEXT   (_GET_TLS_PROCTABLE()->GetConvolutionParameterfvEXT)
737#define glGetConvolutionParameterivEXT   (_GET_TLS_PROCTABLE()->GetConvolutionParameterivEXT)
738#define glGetSeparableFilterEXT          (_GET_TLS_PROCTABLE()->GetSeparableFilterEXT)
739#define glSeparableFilter2DEXT           (_GET_TLS_PROCTABLE()->SeparableFilter2DEXT)
740#define glColorTableSGI                  (_GET_TLS_PROCTABLE()->ColorTableSGI)
741#define glColorTableParameterfvSGI       (_GET_TLS_PROCTABLE()->ColorTableParameterfvSGI)
742#define glColorTableParameterivSGI       (_GET_TLS_PROCTABLE()->ColorTableParameterivSGI)
743#define glCopyColorTableSGI              (_GET_TLS_PROCTABLE()->CopyColorTableSGI)
744#define glGetColorTableSGI               (_GET_TLS_PROCTABLE()->GetColorTableSGI)
745#define glGetColorTableParameterfvSGI    (_GET_TLS_PROCTABLE()->GetColorTableParameterfvSGI)
746#define glGetColorTableParameterivSGI    (_GET_TLS_PROCTABLE()->GetColorTableParameterivSGI)
747#define glPixelTexGenSGIX                (_GET_TLS_PROCTABLE()->PixelTexGenSGIX)
748#define glPixelTexGenParameteriSGIS      (_GET_TLS_PROCTABLE()->PixelTexGenParameteriSGIS)
749#define glPixelTexGenParameterivSGIS     (_GET_TLS_PROCTABLE()->PixelTexGenParameterivSGIS)
750#define glPixelTexGenParameterfSGIS      (_GET_TLS_PROCTABLE()->PixelTexGenParameterfSGIS)
751#define glPixelTexGenParameterfvSGIS     (_GET_TLS_PROCTABLE()->PixelTexGenParameterfvSGIS)
752#define glGetPixelTexGenParameterivSGIS  (_GET_TLS_PROCTABLE()->GetPixelTexGenParameterivSGIS)
753#define glGetPixelTexGenParameterfvSGIS  (_GET_TLS_PROCTABLE()->GetPixelTexGenParameterfvSGIS)
754#define glTexImage4DSGIS                 (_GET_TLS_PROCTABLE()->TexImage4DSGIS)
755#define glTexSubImage4DSGIS              (_GET_TLS_PROCTABLE()->TexSubImage4DSGIS)
756#define glAreTexturesResidentEXT         (_GET_TLS_PROCTABLE()->AreTexturesResidentEXT)
757#define glBindTextureEXT                 (_GET_TLS_PROCTABLE()->BindTextureEXT)
758#define glDeleteTexturesEXT              (_GET_TLS_PROCTABLE()->DeleteTexturesEXT)
759#define glGenTexturesEXT                 (_GET_TLS_PROCTABLE()->GenTexturesEXT)
760#define glIsTextureEXT                   (_GET_TLS_PROCTABLE()->IsTextureEXT)
761#define glPrioritizeTexturesEXT          (_GET_TLS_PROCTABLE()->PrioritizeTexturesEXT)
762#define glDetailTexFuncSGIS              (_GET_TLS_PROCTABLE()->DetailTexFuncSGIS)
763#define glGetDetailTexFuncSGIS           (_GET_TLS_PROCTABLE()->GetDetailTexFuncSGIS)
764#define glSharpenTexFuncSGIS             (_GET_TLS_PROCTABLE()->SharpenTexFuncSGIS)
765#define glGetSharpenTexFuncSGIS          (_GET_TLS_PROCTABLE()->GetSharpenTexFuncSGIS)
766#define glSampleMaskSGIS                 (_GET_TLS_PROCTABLE()->SampleMaskSGIS)
767#define glSamplePatternSGIS              (_GET_TLS_PROCTABLE()->SamplePatternSGIS)
768#define glArrayElementEXT                (_GET_TLS_PROCTABLE()->ArrayElementEXT)
769#define glColorPointerEXT                (_GET_TLS_PROCTABLE()->ColorPointerEXT)
770#define glDrawArraysEXT                  (_GET_TLS_PROCTABLE()->DrawArraysEXT)
771#define glEdgeFlagPointerEXT             (_GET_TLS_PROCTABLE()->EdgeFlagPointerEXT)
772#define glGetPointervEXT                 (_GET_TLS_PROCTABLE()->GetPointervEXT)
773#define glIndexPointerEXT                (_GET_TLS_PROCTABLE()->IndexPointerEXT)
774#define glNormalPointerEXT               (_GET_TLS_PROCTABLE()->NormalPointerEXT)
775#define glTexCoordPointerEXT             (_GET_TLS_PROCTABLE()->TexCoordPointerEXT)
776#define glVertexPointerEXT               (_GET_TLS_PROCTABLE()->VertexPointerEXT)
777#define glBlendEquationEXT               (_GET_TLS_PROCTABLE()->BlendEquationEXT)
778#define glSpriteParameterfSGIX           (_GET_TLS_PROCTABLE()->SpriteParameterfSGIX)
779#define glSpriteParameterfvSGIX          (_GET_TLS_PROCTABLE()->SpriteParameterfvSGIX)
780#define glSpriteParameteriSGIX           (_GET_TLS_PROCTABLE()->SpriteParameteriSGIX)
781#define glSpriteParameterivSGIX          (_GET_TLS_PROCTABLE()->SpriteParameterivSGIX)
782#define glPointParameterfARB             (_GET_TLS_PROCTABLE()->PointParameterfARB)
783#define glPointParameterfvARB            (_GET_TLS_PROCTABLE()->PointParameterfvARB)
784#define glPointParameterfEXT             (_GET_TLS_PROCTABLE()->PointParameterfEXT)
785#define glPointParameterfvEXT            (_GET_TLS_PROCTABLE()->PointParameterfvEXT)
786#define glPointParameterfSGIS            (_GET_TLS_PROCTABLE()->PointParameterfSGIS)
787#define glPointParameterfvSGIS           (_GET_TLS_PROCTABLE()->PointParameterfvSGIS)
788#define glGetInstrumentsSGIX             (_GET_TLS_PROCTABLE()->GetInstrumentsSGIX)
789#define glInstrumentsBufferSGIX          (_GET_TLS_PROCTABLE()->InstrumentsBufferSGIX)
790#define glPollInstrumentsSGIX            (_GET_TLS_PROCTABLE()->PollInstrumentsSGIX)
791#define glReadInstrumentsSGIX            (_GET_TLS_PROCTABLE()->ReadInstrumentsSGIX)
792#define glStartInstrumentsSGIX           (_GET_TLS_PROCTABLE()->StartInstrumentsSGIX)
793#define glStopInstrumentsSGIX            (_GET_TLS_PROCTABLE()->StopInstrumentsSGIX)
794#define glFrameZoomSGIX                  (_GET_TLS_PROCTABLE()->FrameZoomSGIX)
795#define glTagSampleBufferSGIX            (_GET_TLS_PROCTABLE()->TagSampleBufferSGIX)
796#define glDeformationMap3dSGIX           (_GET_TLS_PROCTABLE()->DeformationMap3dSGIX)
797#define glDeformationMap3fSGIX           (_GET_TLS_PROCTABLE()->DeformationMap3fSGIX)
798#define glDeformSGIX                     (_GET_TLS_PROCTABLE()->DeformSGIX)
799#define glLoadIdentityDeformationMapSGIX (_GET_TLS_PROCTABLE()->LoadIdentityDeformationMapSGIX)
800#define glReferencePlaneSGIX             (_GET_TLS_PROCTABLE()->ReferencePlaneSGIX)
801#define glFlushRasterSGIX                (_GET_TLS_PROCTABLE()->FlushRasterSGIX)
802#define glFogFuncSGIS                    (_GET_TLS_PROCTABLE()->FogFuncSGIS)
803#define glGetFogFuncSGIS                 (_GET_TLS_PROCTABLE()->GetFogFuncSGIS)
804#define glImageTransformParameteriHP     (_GET_TLS_PROCTABLE()->ImageTransformParameteriHP)
805#define glImageTransformParameterfHP     (_GET_TLS_PROCTABLE()->ImageTransformParameterfHP)
806#define glImageTransformParameterivHP    (_GET_TLS_PROCTABLE()->ImageTransformParameterivHP)
807#define glImageTransformParameterfvHP    (_GET_TLS_PROCTABLE()->ImageTransformParameterfvHP)
808#define glGetImageTransformParameterivHP (_GET_TLS_PROCTABLE()->GetImageTransformParameterivHP)
809#define glGetImageTransformParameterfvHP (_GET_TLS_PROCTABLE()->GetImageTransformParameterfvHP)
810#define glColorSubTableEXT               (_GET_TLS_PROCTABLE()->ColorSubTableEXT)
811#define glCopyColorSubTableEXT           (_GET_TLS_PROCTABLE()->CopyColorSubTableEXT)
812#define glHintPGI                        (_GET_TLS_PROCTABLE()->HintPGI)
813#define glColorTableEXT                  (_GET_TLS_PROCTABLE()->ColorTableEXT)
814#define glGetColorTableEXT               (_GET_TLS_PROCTABLE()->GetColorTableEXT)
815#define glGetColorTableParameterivEXT    (_GET_TLS_PROCTABLE()->GetColorTableParameterivEXT)
816#define glGetColorTableParameterfvEXT    (_GET_TLS_PROCTABLE()->GetColorTableParameterfvEXT)
817#define glGetListParameterfvSGIX         (_GET_TLS_PROCTABLE()->GetListParameterfvSGIX)
818#define glGetListParameterivSGIX         (_GET_TLS_PROCTABLE()->GetListParameterivSGIX)
819#define glListParameterfSGIX             (_GET_TLS_PROCTABLE()->ListParameterfSGIX)
820#define glListParameterfvSGIX            (_GET_TLS_PROCTABLE()->ListParameterfvSGIX)
821#define glListParameteriSGIX             (_GET_TLS_PROCTABLE()->ListParameteriSGIX)
822#define glListParameterivSGIX            (_GET_TLS_PROCTABLE()->ListParameterivSGIX)
823#define glIndexMaterialEXT               (_GET_TLS_PROCTABLE()->IndexMaterialEXT)
824#define glIndexFuncEXT                   (_GET_TLS_PROCTABLE()->IndexFuncEXT)
825#define glLockArraysEXT                  (_GET_TLS_PROCTABLE()->LockArraysEXT)
826#define glUnlockArraysEXT                (_GET_TLS_PROCTABLE()->UnlockArraysEXT)
827#define glCullParameterdvEXT             (_GET_TLS_PROCTABLE()->CullParameterdvEXT)
828#define glCullParameterfvEXT             (_GET_TLS_PROCTABLE()->CullParameterfvEXT)
829#define glFragmentColorMaterialSGIX      (_GET_TLS_PROCTABLE()->FragmentColorMaterialSGIX)
830#define glFragmentLightfSGIX             (_GET_TLS_PROCTABLE()->FragmentLightfSGIX)
831#define glFragmentLightfvSGIX            (_GET_TLS_PROCTABLE()->FragmentLightfvSGIX)
832#define glFragmentLightiSGIX             (_GET_TLS_PROCTABLE()->FragmentLightiSGIX)
833#define glFragmentLightivSGIX            (_GET_TLS_PROCTABLE()->FragmentLightivSGIX)
834#define glFragmentLightModelfSGIX        (_GET_TLS_PROCTABLE()->FragmentLightModelfSGIX)
835#define glFragmentLightModelfvSGIX       (_GET_TLS_PROCTABLE()->FragmentLightModelfvSGIX)
836#define glFragmentLightModeliSGIX        (_GET_TLS_PROCTABLE()->FragmentLightModeliSGIX)
837#define glFragmentLightModelivSGIX       (_GET_TLS_PROCTABLE()->FragmentLightModelivSGIX)
838#define glFragmentMaterialfSGIX          (_GET_TLS_PROCTABLE()->FragmentMaterialfSGIX)
839#define glFragmentMaterialfvSGIX         (_GET_TLS_PROCTABLE()->FragmentMaterialfvSGIX)
840#define glFragmentMaterialiSGIX          (_GET_TLS_PROCTABLE()->FragmentMaterialiSGIX)
841#define glFragmentMaterialivSGIX         (_GET_TLS_PROCTABLE()->FragmentMaterialivSGIX)
842#define glGetFragmentLightfvSGIX         (_GET_TLS_PROCTABLE()->GetFragmentLightfvSGIX)
843#define glGetFragmentLightivSGIX         (_GET_TLS_PROCTABLE()->GetFragmentLightivSGIX)
844#define glGetFragmentMaterialfvSGIX      (_GET_TLS_PROCTABLE()->GetFragmentMaterialfvSGIX)
845#define glGetFragmentMaterialivSGIX      (_GET_TLS_PROCTABLE()->GetFragmentMaterialivSGIX)
846#define glLightEnviSGIX                  (_GET_TLS_PROCTABLE()->LightEnviSGIX)
847#define glDrawRangeElementsEXT           (_GET_TLS_PROCTABLE()->DrawRangeElementsEXT)
848#define glApplyTextureEXT                (_GET_TLS_PROCTABLE()->ApplyTextureEXT)
849#define glTextureLightEXT                (_GET_TLS_PROCTABLE()->TextureLightEXT)
850#define glTextureMaterialEXT             (_GET_TLS_PROCTABLE()->TextureMaterialEXT)
851#define glAsyncMarkerSGIX                (_GET_TLS_PROCTABLE()->AsyncMarkerSGIX)
852#define glFinishAsyncSGIX                (_GET_TLS_PROCTABLE()->FinishAsyncSGIX)
853#define glPollAsyncSGIX                  (_GET_TLS_PROCTABLE()->PollAsyncSGIX)
854#define glGenAsyncMarkersSGIX            (_GET_TLS_PROCTABLE()->GenAsyncMarkersSGIX)
855#define glDeleteAsyncMarkersSGIX         (_GET_TLS_PROCTABLE()->DeleteAsyncMarkersSGIX)
856#define glIsAsyncMarkerSGIX              (_GET_TLS_PROCTABLE()->IsAsyncMarkerSGIX)
857#define glVertexPointervINTEL            (_GET_TLS_PROCTABLE()->VertexPointervINTEL)
858#define glNormalPointervINTEL            (_GET_TLS_PROCTABLE()->NormalPointervINTEL)
859#define glColorPointervINTEL             (_GET_TLS_PROCTABLE()->ColorPointervINTEL)
860#define glTexCoordPointervINTEL          (_GET_TLS_PROCTABLE()->TexCoordPointervINTEL)
861#define glPixelTransformParameteriEXT    (_GET_TLS_PROCTABLE()->PixelTransformParameteriEXT)
862#define glPixelTransformParameterfEXT    (_GET_TLS_PROCTABLE()->PixelTransformParameterfEXT)
863#define glPixelTransformParameterivEXT   (_GET_TLS_PROCTABLE()->PixelTransformParameterivEXT)
864#define glPixelTransformParameterfvEXT   (_GET_TLS_PROCTABLE()->PixelTransformParameterfvEXT)
865#define glSecondaryColor3bEXT            (_GET_TLS_PROCTABLE()->SecondaryColor3bEXT)
866#define glSecondaryColor3bvEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3bvEXT)
867#define glSecondaryColor3dEXT            (_GET_TLS_PROCTABLE()->SecondaryColor3dEXT)
868#define glSecondaryColor3dvEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3dvEXT)
869#define glSecondaryColor3fEXT            (_GET_TLS_PROCTABLE()->SecondaryColor3fEXT)
870#define glSecondaryColor3fvEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3fvEXT)
871#define glSecondaryColor3iEXT            (_GET_TLS_PROCTABLE()->SecondaryColor3iEXT)
872#define glSecondaryColor3ivEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3ivEXT)
873#define glSecondaryColor3sEXT            (_GET_TLS_PROCTABLE()->SecondaryColor3sEXT)
874#define glSecondaryColor3svEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3svEXT)
875#define glSecondaryColor3ubEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3ubEXT)
876#define glSecondaryColor3ubvEXT          (_GET_TLS_PROCTABLE()->SecondaryColor3ubvEXT)
877#define glSecondaryColor3uiEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3uiEXT)
878#define glSecondaryColor3uivEXT          (_GET_TLS_PROCTABLE()->SecondaryColor3uivEXT)
879#define glSecondaryColor3usEXT           (_GET_TLS_PROCTABLE()->SecondaryColor3usEXT)
880#define glSecondaryColor3usvEXT          (_GET_TLS_PROCTABLE()->SecondaryColor3usvEXT)
881#define glSecondaryColorPointerEXT       (_GET_TLS_PROCTABLE()->SecondaryColorPointerEXT)
882#define glTextureNormalEXT               (_GET_TLS_PROCTABLE()->TextureNormalEXT)
883#define glMultiDrawArraysEXT             (_GET_TLS_PROCTABLE()->MultiDrawArraysEXT)
884#define glMultiDrawElementsEXT           (_GET_TLS_PROCTABLE()->MultiDrawElementsEXT)
885#define glFogCoordfEXT                   (_GET_TLS_PROCTABLE()->FogCoordfEXT)
886#define glFogCoordfvEXT                  (_GET_TLS_PROCTABLE()->FogCoordfvEXT)
887#define glFogCoorddEXT                   (_GET_TLS_PROCTABLE()->FogCoorddEXT)
888#define glFogCoorddvEXT                  (_GET_TLS_PROCTABLE()->FogCoorddvEXT)
889#define glFogCoordPointerEXT             (_GET_TLS_PROCTABLE()->FogCoordPointerEXT)
890#define glTangent3bEXT                   (_GET_TLS_PROCTABLE()->Tangent3bEXT)
891#define glTangent3bvEXT                  (_GET_TLS_PROCTABLE()->Tangent3bvEXT)
892#define glTangent3dEXT                   (_GET_TLS_PROCTABLE()->Tangent3dEXT)
893#define glTangent3dvEXT                  (_GET_TLS_PROCTABLE()->Tangent3dvEXT)
894#define glTangent3fEXT                   (_GET_TLS_PROCTABLE()->Tangent3fEXT)
895#define glTangent3fvEXT                  (_GET_TLS_PROCTABLE()->Tangent3fvEXT)
896#define glTangent3iEXT                   (_GET_TLS_PROCTABLE()->Tangent3iEXT)
897#define glTangent3ivEXT                  (_GET_TLS_PROCTABLE()->Tangent3ivEXT)
898#define glTangent3sEXT                   (_GET_TLS_PROCTABLE()->Tangent3sEXT)
899#define glTangent3svEXT                  (_GET_TLS_PROCTABLE()->Tangent3svEXT)
900#define glBinormal3bEXT                  (_GET_TLS_PROCTABLE()->Binormal3bEXT)
901#define glBinormal3bvEXT                 (_GET_TLS_PROCTABLE()->Binormal3bvEXT)
902#define glBinormal3dEXT                  (_GET_TLS_PROCTABLE()->Binormal3dEXT)
903#define glBinormal3dvEXT                 (_GET_TLS_PROCTABLE()->Binormal3dvEXT)
904#define glBinormal3fEXT                  (_GET_TLS_PROCTABLE()->Binormal3fEXT)
905#define glBinormal3fvEXT                 (_GET_TLS_PROCTABLE()->Binormal3fvEXT)
906#define glBinormal3iEXT                  (_GET_TLS_PROCTABLE()->Binormal3iEXT)
907#define glBinormal3ivEXT                 (_GET_TLS_PROCTABLE()->Binormal3ivEXT)
908#define glBinormal3sEXT                  (_GET_TLS_PROCTABLE()->Binormal3sEXT)
909#define glBinormal3svEXT                 (_GET_TLS_PROCTABLE()->Binormal3svEXT)
910#define glTangentPointerEXT              (_GET_TLS_PROCTABLE()->TangentPointerEXT)
911#define glBinormalPointerEXT             (_GET_TLS_PROCTABLE()->BinormalPointerEXT)
912#define glFinishTextureSUNX              (_GET_TLS_PROCTABLE()->FinishTextureSUNX)
913#define glGlobalAlphaFactorbSUN          (_GET_TLS_PROCTABLE()->GlobalAlphaFactorbSUN)
914#define glGlobalAlphaFactorsSUN          (_GET_TLS_PROCTABLE()->GlobalAlphaFactorsSUN)
915#define glGlobalAlphaFactoriSUN          (_GET_TLS_PROCTABLE()->GlobalAlphaFactoriSUN)
916#define glGlobalAlphaFactorfSUN          (_GET_TLS_PROCTABLE()->GlobalAlphaFactorfSUN)
917#define glGlobalAlphaFactordSUN          (_GET_TLS_PROCTABLE()->GlobalAlphaFactordSUN)
918#define glGlobalAlphaFactorubSUN         (_GET_TLS_PROCTABLE()->GlobalAlphaFactorubSUN)
919#define glGlobalAlphaFactorusSUN         (_GET_TLS_PROCTABLE()->GlobalAlphaFactorusSUN)
920#define glGlobalAlphaFactoruiSUN         (_GET_TLS_PROCTABLE()->GlobalAlphaFactoruiSUN)
921#define glReplacementCodeuiSUN           (_GET_TLS_PROCTABLE()->ReplacementCodeuiSUN)
922#define glReplacementCodeusSUN           (_GET_TLS_PROCTABLE()->ReplacementCodeusSUN)
923#define glReplacementCodeubSUN           (_GET_TLS_PROCTABLE()->ReplacementCodeubSUN)
924#define glReplacementCodeuivSUN          (_GET_TLS_PROCTABLE()->ReplacementCodeuivSUN)
925#define glReplacementCodeusvSUN          (_GET_TLS_PROCTABLE()->ReplacementCodeusvSUN)
926#define glReplacementCodeubvSUN          (_GET_TLS_PROCTABLE()->ReplacementCodeubvSUN)
927#define glReplacementCodePointerSUN      (_GET_TLS_PROCTABLE()->ReplacementCodePointerSUN)
928#define glColor4ubVertex2fSUN            (_GET_TLS_PROCTABLE()->Color4ubVertex2fSUN)
929#define glColor4ubVertex2fvSUN           (_GET_TLS_PROCTABLE()->Color4ubVertex2fvSUN)
930#define glColor4ubVertex3fSUN            (_GET_TLS_PROCTABLE()->Color4ubVertex3fSUN)
931#define glColor4ubVertex3fvSUN           (_GET_TLS_PROCTABLE()->Color4ubVertex3fvSUN)
932#define glColor3fVertex3fSUN             (_GET_TLS_PROCTABLE()->Color3fVertex3fSUN)
933#define glColor3fVertex3fvSUN            (_GET_TLS_PROCTABLE()->Color3fVertex3fvSUN)
934#define glNormal3fVertex3fSUN            (_GET_TLS_PROCTABLE()->Normal3fVertex3fSUN)
935#define glNormal3fVertex3fvSUN           (_GET_TLS_PROCTABLE()->Normal3fVertex3fvSUN)
936#define glColor4fNormal3fVertex3fSUN     (_GET_TLS_PROCTABLE()->Color4fNormal3fVertex3fSUN)
937#define glColor4fNormal3fVertex3fvSUN    (_GET_TLS_PROCTABLE()->Color4fNormal3fVertex3fvSUN)
938#define glTexCoord2fVertex3fSUN          (_GET_TLS_PROCTABLE()->TexCoord2fVertex3fSUN)
939#define glTexCoord2fVertex3fvSUN         (_GET_TLS_PROCTABLE()->TexCoord2fVertex3fvSUN)
940#define glTexCoord4fVertex4fSUN          (_GET_TLS_PROCTABLE()->TexCoord4fVertex4fSUN)
941#define glTexCoord4fVertex4fvSUN         (_GET_TLS_PROCTABLE()->TexCoord4fVertex4fvSUN)
942#define glTexCoord2fColor4ubVertex3fSUN  (_GET_TLS_PROCTABLE()->TexCoord2fColor4ubVertex3fSUN)
943#define glTexCoord2fColor4ubVertex3fvSUN (_GET_TLS_PROCTABLE()->TexCoord2fColor4ubVertex3fvSUN)
944#define glTexCoord2fColor3fVertex3fSUN   (_GET_TLS_PROCTABLE()->TexCoord2fColor3fVertex3fSUN)
945#define glTexCoord2fColor3fVertex3fvSUN  (_GET_TLS_PROCTABLE()->TexCoord2fColor3fVertex3fvSUN)
946#define glTexCoord2fNormal3fVertex3fSUN  (_GET_TLS_PROCTABLE()->TexCoord2fNormal3fVertex3fSUN)
947#define glTexCoord2fNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->TexCoord2fNormal3fVertex3fvSUN)
948#define glTexCoord2fColor4fNormal3fVertex3fSUN (_GET_TLS_PROCTABLE()->TexCoord2fColor4fNormal3fVertex3fSUN)
949#define glTexCoord2fColor4fNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->TexCoord2fColor4fNormal3fVertex3fvSUN)
950#define glTexCoord4fColor4fNormal3fVertex4fSUN (_GET_TLS_PROCTABLE()->TexCoord4fColor4fNormal3fVertex4fSUN)
951#define glTexCoord4fColor4fNormal3fVertex4fvSUN (_GET_TLS_PROCTABLE()->TexCoord4fColor4fNormal3fVertex4fvSUN)
952#define glReplacementCodeuiVertex3fSUN   (_GET_TLS_PROCTABLE()->ReplacementCodeuiVertex3fSUN)
953#define glReplacementCodeuiVertex3fvSUN  (_GET_TLS_PROCTABLE()->ReplacementCodeuiVertex3fvSUN)
954#define glReplacementCodeuiColor4ubVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor4ubVertex3fSUN)
955#define glReplacementCodeuiColor4ubVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor4ubVertex3fvSUN)
956#define glReplacementCodeuiColor3fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor3fVertex3fSUN)
957#define glReplacementCodeuiColor3fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor3fVertex3fvSUN)
958#define glReplacementCodeuiNormal3fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiNormal3fVertex3fSUN)
959#define glReplacementCodeuiNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiNormal3fVertex3fvSUN)
960#define glReplacementCodeuiColor4fNormal3fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor4fNormal3fVertex3fSUN)
961#define glReplacementCodeuiColor4fNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiColor4fNormal3fVertex3fvSUN)
962#define glReplacementCodeuiTexCoord2fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fVertex3fSUN)
963#define glReplacementCodeuiTexCoord2fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fVertex3fvSUN)
964#define glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)
965#define glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)
966#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)
967#define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (_GET_TLS_PROCTABLE()->ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)
968#define glBlendFuncSeparateEXT           (_GET_TLS_PROCTABLE()->BlendFuncSeparateEXT)
969#define glBlendFuncSeparateINGR          (_GET_TLS_PROCTABLE()->BlendFuncSeparateINGR)
970#define glVertexWeightfEXT               (_GET_TLS_PROCTABLE()->VertexWeightfEXT)
971#define glVertexWeightfvEXT              (_GET_TLS_PROCTABLE()->VertexWeightfvEXT)
972#define glVertexWeightPointerEXT         (_GET_TLS_PROCTABLE()->VertexWeightPointerEXT)
973#define glFlushVertexArrayRangeNV        (_GET_TLS_PROCTABLE()->FlushVertexArrayRangeNV)
974#define glVertexArrayRangeNV             (_GET_TLS_PROCTABLE()->VertexArrayRangeNV)
975#define glCombinerParameterfvNV          (_GET_TLS_PROCTABLE()->CombinerParameterfvNV)
976#define glCombinerParameterfNV           (_GET_TLS_PROCTABLE()->CombinerParameterfNV)
977#define glCombinerParameterivNV          (_GET_TLS_PROCTABLE()->CombinerParameterivNV)
978#define glCombinerParameteriNV           (_GET_TLS_PROCTABLE()->CombinerParameteriNV)
979#define glCombinerInputNV                (_GET_TLS_PROCTABLE()->CombinerInputNV)
980#define glCombinerOutputNV               (_GET_TLS_PROCTABLE()->CombinerOutputNV)
981#define glFinalCombinerInputNV           (_GET_TLS_PROCTABLE()->FinalCombinerInputNV)
982#define glGetCombinerInputParameterfvNV  (_GET_TLS_PROCTABLE()->GetCombinerInputParameterfvNV)
983#define glGetCombinerInputParameterivNV  (_GET_TLS_PROCTABLE()->GetCombinerInputParameterivNV)
984#define glGetCombinerOutputParameterfvNV (_GET_TLS_PROCTABLE()->GetCombinerOutputParameterfvNV)
985#define glGetCombinerOutputParameterivNV (_GET_TLS_PROCTABLE()->GetCombinerOutputParameterivNV)
986#define glGetFinalCombinerInputParameterfvNV (_GET_TLS_PROCTABLE()->GetFinalCombinerInputParameterfvNV)
987#define glGetFinalCombinerInputParameterivNV (_GET_TLS_PROCTABLE()->GetFinalCombinerInputParameterivNV)
988#define glResizeBuffersMESA              (_GET_TLS_PROCTABLE()->ResizeBuffersMESA)
989#define glWindowPos2dMESA                (_GET_TLS_PROCTABLE()->WindowPos2dMESA)
990#define glWindowPos2dvMESA               (_GET_TLS_PROCTABLE()->WindowPos2dvMESA)
991#define glWindowPos2fMESA                (_GET_TLS_PROCTABLE()->WindowPos2fMESA)
992#define glWindowPos2fvMESA               (_GET_TLS_PROCTABLE()->WindowPos2fvMESA)
993#define glWindowPos2iMESA                (_GET_TLS_PROCTABLE()->WindowPos2iMESA)
994#define glWindowPos2ivMESA               (_GET_TLS_PROCTABLE()->WindowPos2ivMESA)
995#define glWindowPos2sMESA                (_GET_TLS_PROCTABLE()->WindowPos2sMESA)
996#define glWindowPos2svMESA               (_GET_TLS_PROCTABLE()->WindowPos2svMESA)
997#define glWindowPos3dMESA                (_GET_TLS_PROCTABLE()->WindowPos3dMESA)
998#define glWindowPos3dvMESA               (_GET_TLS_PROCTABLE()->WindowPos3dvMESA)
999#define glWindowPos3fMESA                (_GET_TLS_PROCTABLE()->WindowPos3fMESA)
1000#define glWindowPos3fvMESA               (_GET_TLS_PROCTABLE()->WindowPos3fvMESA)
1001#define glWindowPos3iMESA                (_GET_TLS_PROCTABLE()->WindowPos3iMESA)
1002#define glWindowPos3ivMESA               (_GET_TLS_PROCTABLE()->WindowPos3ivMESA)
1003#define glWindowPos3sMESA                (_GET_TLS_PROCTABLE()->WindowPos3sMESA)
1004#define glWindowPos3svMESA               (_GET_TLS_PROCTABLE()->WindowPos3svMESA)
1005#define glWindowPos4dMESA                (_GET_TLS_PROCTABLE()->WindowPos4dMESA)
1006#define glWindowPos4dvMESA               (_GET_TLS_PROCTABLE()->WindowPos4dvMESA)
1007#define glWindowPos4fMESA                (_GET_TLS_PROCTABLE()->WindowPos4fMESA)
1008#define glWindowPos4fvMESA               (_GET_TLS_PROCTABLE()->WindowPos4fvMESA)
1009#define glWindowPos4iMESA                (_GET_TLS_PROCTABLE()->WindowPos4iMESA)
1010#define glWindowPos4ivMESA               (_GET_TLS_PROCTABLE()->WindowPos4ivMESA)
1011#define glWindowPos4sMESA                (_GET_TLS_PROCTABLE()->WindowPos4sMESA)
1012#define glWindowPos4svMESA               (_GET_TLS_PROCTABLE()->WindowPos4svMESA)
1013#define glMultiModeDrawArraysIBM         (_GET_TLS_PROCTABLE()->MultiModeDrawArraysIBM)
1014#define glMultiModeDrawElementsIBM       (_GET_TLS_PROCTABLE()->MultiModeDrawElementsIBM)
1015#define glColorPointerListIBM            (_GET_TLS_PROCTABLE()->ColorPointerListIBM)
1016#define glSecondaryColorPointerListIBM   (_GET_TLS_PROCTABLE()->SecondaryColorPointerListIBM)
1017#define glEdgeFlagPointerListIBM         (_GET_TLS_PROCTABLE()->EdgeFlagPointerListIBM)
1018#define glFogCoordPointerListIBM         (_GET_TLS_PROCTABLE()->FogCoordPointerListIBM)
1019#define glIndexPointerListIBM            (_GET_TLS_PROCTABLE()->IndexPointerListIBM)
1020#define glNormalPointerListIBM           (_GET_TLS_PROCTABLE()->NormalPointerListIBM)
1021#define glTexCoordPointerListIBM         (_GET_TLS_PROCTABLE()->TexCoordPointerListIBM)
1022#define glVertexPointerListIBM           (_GET_TLS_PROCTABLE()->VertexPointerListIBM)
1023#define glTbufferMask3DFX                (_GET_TLS_PROCTABLE()->TbufferMask3DFX)
1024#define glSampleMaskEXT                  (_GET_TLS_PROCTABLE()->SampleMaskEXT)
1025#define glSamplePatternEXT               (_GET_TLS_PROCTABLE()->SamplePatternEXT)
1026#define glTextureColorMaskSGIS           (_GET_TLS_PROCTABLE()->TextureColorMaskSGIS)
1027#define glIglooInterfaceSGIX             (_GET_TLS_PROCTABLE()->IglooInterfaceSGIX)
1028#define glGenFencesNV                    (_GET_TLS_PROCTABLE()->GenFencesNV)
1029#define glDeleteFencesNV                 (_GET_TLS_PROCTABLE()->DeleteFencesNV)
1030#define glSetFenceNV                     (_GET_TLS_PROCTABLE()->SetFenceNV)
1031#define glTestFenceNV                    (_GET_TLS_PROCTABLE()->TestFenceNV)
1032#define glFinishFenceNV                  (_GET_TLS_PROCTABLE()->FinishFenceNV)
1033#define glIsFenceNV                      (_GET_TLS_PROCTABLE()->IsFenceNV)
1034#define glGetFenceivNV                   (_GET_TLS_PROCTABLE()->GetFenceivNV)
1035#define glMapControlPointsNV             (_GET_TLS_PROCTABLE()->MapControlPointsNV)
1036#define glMapParameterivNV               (_GET_TLS_PROCTABLE()->MapParameterivNV)
1037#define glMapParameterfvNV               (_GET_TLS_PROCTABLE()->MapParameterfvNV)
1038#define glGetMapControlPointsNV          (_GET_TLS_PROCTABLE()->GetMapControlPointsNV)
1039#define glGetMapParameterivNV            (_GET_TLS_PROCTABLE()->GetMapParameterivNV)
1040#define glGetMapParameterfvNV            (_GET_TLS_PROCTABLE()->GetMapParameterfvNV)
1041#define glGetMapAttribParameterivNV      (_GET_TLS_PROCTABLE()->GetMapAttribParameterivNV)
1042#define glGetMapAttribParameterfvNV      (_GET_TLS_PROCTABLE()->GetMapAttribParameterfvNV)
1043#define glEvalMapsNV                     (_GET_TLS_PROCTABLE()->EvalMapsNV)
1044#define glCombinerStageParameterfvNV     (_GET_TLS_PROCTABLE()->CombinerStageParameterfvNV)
1045#define glGetCombinerStageParameterfvNV  (_GET_TLS_PROCTABLE()->GetCombinerStageParameterfvNV)
1046#define glBindProgramNV                  (_GET_TLS_PROCTABLE()->BindProgramNV)
1047#define glDeleteProgramsNV               (_GET_TLS_PROCTABLE()->DeleteProgramsNV)
1048#define glExecuteProgramNV               (_GET_TLS_PROCTABLE()->ExecuteProgramNV)
1049#define glGenProgramsNV                  (_GET_TLS_PROCTABLE()->GenProgramsNV)
1050#define glAreProgramsResidentNV          (_GET_TLS_PROCTABLE()->AreProgramsResidentNV)
1051#define glRequestResidentProgramsNV      (_GET_TLS_PROCTABLE()->RequestResidentProgramsNV)
1052#define glGetProgramParameterfvNV        (_GET_TLS_PROCTABLE()->GetProgramParameterfvNV)
1053#define glGetProgramParameterdvNV        (_GET_TLS_PROCTABLE()->GetProgramParameterdvNV)
1054#define glGetProgramivNV                 (_GET_TLS_PROCTABLE()->GetProgramivNV)
1055#define glGetProgramStringNV             (_GET_TLS_PROCTABLE()->GetProgramStringNV)
1056#define glGetTrackMatrixivNV             (_GET_TLS_PROCTABLE()->GetTrackMatrixivNV)
1057#define glGetVertexAttribdvNV            (_GET_TLS_PROCTABLE()->GetVertexAttribdvNV)
1058#define glGetVertexAttribfvNV            (_GET_TLS_PROCTABLE()->GetVertexAttribfvNV)
1059#define glGetVertexAttribivNV            (_GET_TLS_PROCTABLE()->GetVertexAttribivNV)
1060#define glGetVertexAttribPointervNV      (_GET_TLS_PROCTABLE()->GetVertexAttribPointervNV)
1061#define glIsProgramNV                    (_GET_TLS_PROCTABLE()->IsProgramNV)
1062#define glLoadProgramNV                  (_GET_TLS_PROCTABLE()->LoadProgramNV)
1063#define glProgramParameter4fNV           (_GET_TLS_PROCTABLE()->ProgramParameter4fNV)
1064#define glProgramParameter4dNV           (_GET_TLS_PROCTABLE()->ProgramParameter4dNV)
1065#define glProgramParameter4dvNV          (_GET_TLS_PROCTABLE()->ProgramParameter4dvNV)
1066#define glProgramParameter4fvNV          (_GET_TLS_PROCTABLE()->ProgramParameter4fvNV)
1067#define glProgramParameters4dvNV         (_GET_TLS_PROCTABLE()->ProgramParameters4dvNV)
1068#define glProgramParameters4fvNV         (_GET_TLS_PROCTABLE()->ProgramParameters4fvNV)
1069#define glTrackMatrixNV                  (_GET_TLS_PROCTABLE()->TrackMatrixNV)
1070#define glVertexAttribPointerNV          (_GET_TLS_PROCTABLE()->VertexAttribPointerNV)
1071#define glVertexAttrib1sNV               (_GET_TLS_PROCTABLE()->VertexAttrib1sNV)
1072#define glVertexAttrib1fNV               (_GET_TLS_PROCTABLE()->VertexAttrib1fNV)
1073#define glVertexAttrib1dNV               (_GET_TLS_PROCTABLE()->VertexAttrib1dNV)
1074#define glVertexAttrib2sNV               (_GET_TLS_PROCTABLE()->VertexAttrib2sNV)
1075#define glVertexAttrib2fNV               (_GET_TLS_PROCTABLE()->VertexAttrib2fNV)
1076#define glVertexAttrib2dNV               (_GET_TLS_PROCTABLE()->VertexAttrib2dNV)
1077#define glVertexAttrib3sNV               (_GET_TLS_PROCTABLE()->VertexAttrib3sNV)
1078#define glVertexAttrib3fNV               (_GET_TLS_PROCTABLE()->VertexAttrib3fNV)
1079#define glVertexAttrib3dNV               (_GET_TLS_PROCTABLE()->VertexAttrib3dNV)
1080#define glVertexAttrib4sNV               (_GET_TLS_PROCTABLE()->VertexAttrib4sNV)
1081#define glVertexAttrib4fNV               (_GET_TLS_PROCTABLE()->VertexAttrib4fNV)
1082#define glVertexAttrib4dNV               (_GET_TLS_PROCTABLE()->VertexAttrib4dNV)
1083#define glVertexAttrib4ubNV              (_GET_TLS_PROCTABLE()->VertexAttrib4ubNV)
1084#define glVertexAttrib1svNV              (_GET_TLS_PROCTABLE()->VertexAttrib1svNV)
1085#define glVertexAttrib1fvNV              (_GET_TLS_PROCTABLE()->VertexAttrib1fvNV)
1086#define glVertexAttrib1dvNV              (_GET_TLS_PROCTABLE()->VertexAttrib1dvNV)
1087#define glVertexAttrib2svNV              (_GET_TLS_PROCTABLE()->VertexAttrib2svNV)
1088#define glVertexAttrib2fvNV              (_GET_TLS_PROCTABLE()->VertexAttrib2fvNV)
1089#define glVertexAttrib2dvNV              (_GET_TLS_PROCTABLE()->VertexAttrib2dvNV)
1090#define glVertexAttrib3svNV              (_GET_TLS_PROCTABLE()->VertexAttrib3svNV)
1091#define glVertexAttrib3fvNV              (_GET_TLS_PROCTABLE()->VertexAttrib3fvNV)
1092#define glVertexAttrib3dvNV              (_GET_TLS_PROCTABLE()->VertexAttrib3dvNV)
1093#define glVertexAttrib4svNV              (_GET_TLS_PROCTABLE()->VertexAttrib4svNV)
1094#define glVertexAttrib4fvNV              (_GET_TLS_PROCTABLE()->VertexAttrib4fvNV)
1095#define glVertexAttrib4dvNV              (_GET_TLS_PROCTABLE()->VertexAttrib4dvNV)
1096#define glVertexAttrib4ubvNV             (_GET_TLS_PROCTABLE()->VertexAttrib4ubvNV)
1097#define glVertexAttribs1svNV             (_GET_TLS_PROCTABLE()->VertexAttribs1svNV)
1098#define glVertexAttribs1fvNV             (_GET_TLS_PROCTABLE()->VertexAttribs1fvNV)
1099#define glVertexAttribs1dvNV             (_GET_TLS_PROCTABLE()->VertexAttribs1dvNV)
1100#define glVertexAttribs2svNV             (_GET_TLS_PROCTABLE()->VertexAttribs2svNV)
1101#define glVertexAttribs2fvNV             (_GET_TLS_PROCTABLE()->VertexAttribs2fvNV)
1102#define glVertexAttribs2dvNV             (_GET_TLS_PROCTABLE()->VertexAttribs2dvNV)
1103#define glVertexAttribs3svNV             (_GET_TLS_PROCTABLE()->VertexAttribs3svNV)
1104#define glVertexAttribs3fvNV             (_GET_TLS_PROCTABLE()->VertexAttribs3fvNV)
1105#define glVertexAttribs3dvNV             (_GET_TLS_PROCTABLE()->VertexAttribs3dvNV)
1106#define glVertexAttribs4svNV             (_GET_TLS_PROCTABLE()->VertexAttribs4svNV)
1107#define glVertexAttribs4fvNV             (_GET_TLS_PROCTABLE()->VertexAttribs4fvNV)
1108#define glVertexAttribs4dvNV             (_GET_TLS_PROCTABLE()->VertexAttribs4dvNV)
1109#define glVertexAttribs4ubvNV            (_GET_TLS_PROCTABLE()->VertexAttribs4ubvNV)
1110#define glAddSwapHintRectWIN             (_GET_TLS_PROCTABLE()->AddSwapHintRectWIN)
1111#ifdef _WIN32
1112#define wglCreateBufferRegionARB          (_GET_TLS_PROCTABLE()->CreateBufferRegionARB)
1113#define wglDeleteBufferRegionARB          (_GET_TLS_PROCTABLE()->DeleteBufferRegionARB)
1114#define wglSaveBufferRegionARB            (_GET_TLS_PROCTABLE()->SaveBufferRegionARB)
1115#define wglRestoreBufferRegionARB         (_GET_TLS_PROCTABLE()->RestoreBufferRegionARB)
1116#define wglGetExtensionsStringARB         (_GET_TLS_PROCTABLE()->GetExtensionsStringARB)
1117#define wglGetPixelFormatAttribivARB      (_GET_TLS_PROCTABLE()->GetPixelFormatAttribivARB)
1118#define wglGetPixelFormatAttribfvARB      (_GET_TLS_PROCTABLE()->GetPixelFormatAttribfvARB)
1119#define wglChoosePixelFormatARB           (_GET_TLS_PROCTABLE()->ChoosePixelFormatARB)
1120#define wglMakeContextCurrentARB          (_GET_TLS_PROCTABLE()->MakeContextCurrentARB)
1121#define wglGetCurrentReadDCARB            (_GET_TLS_PROCTABLE()->GetCurrentReadDCARB)
1122#define wglCreatePbufferARB               (_GET_TLS_PROCTABLE()->CreatePbufferARB)
1123#define wglGetPbufferDCARB                (_GET_TLS_PROCTABLE()->GetPbufferDCARB)
1124#define wglReleasePbufferDCARB            (_GET_TLS_PROCTABLE()->ReleasePbufferDCARB)
1125#define wglDestroyPbufferARB              (_GET_TLS_PROCTABLE()->DestroyPbufferARB)
1126#define wglQueryPbufferARB                (_GET_TLS_PROCTABLE()->QueryPbufferARB)
1127#define wglCreateDisplayColorTableEXT     (_GET_TLS_PROCTABLE()->CreateDisplayColorTableEXT)
1128#define wglLoadDisplayColorTableEXT       (_GET_TLS_PROCTABLE()->LoadDisplayColorTableEXT)
1129#define wglBindDisplayColorTableEXT       (_GET_TLS_PROCTABLE()->BindDisplayColorTableEXT)
1130#define wglDestroyDisplayColorTableEXT    (_GET_TLS_PROCTABLE()->DestroyDisplayColorTableEXT)
1131#define wglGetExtensionsStringEXT         (_GET_TLS_PROCTABLE()->GetExtensionsStringEXT)
1132#define wglMakeContextCurrentEXT          (_GET_TLS_PROCTABLE()->MakeContextCurrentEXT)
1133#define wglGetCurrentReadDCEXT            (_GET_TLS_PROCTABLE()->GetCurrentReadDCEXT)
1134#define wglCreatePbufferEXT               (_GET_TLS_PROCTABLE()->CreatePbufferEXT)
1135#define wglGetPbufferDCEXT                (_GET_TLS_PROCTABLE()->GetPbufferDCEXT)
1136#define wglReleasePbufferDCEXT            (_GET_TLS_PROCTABLE()->ReleasePbufferDCEXT)
1137#define wglDestroyPbufferEXT              (_GET_TLS_PROCTABLE()->DestroyPbufferEXT)
1138#define wglQueryPbufferEXT                (_GET_TLS_PROCTABLE()->QueryPbufferEXT)
1139#define wglGetPixelFormatAttribivEXT      (_GET_TLS_PROCTABLE()->GetPixelFormatAttribivEXT)
1140#define wglGetPixelFormatAttribfvEXT      (_GET_TLS_PROCTABLE()->GetPixelFormatAttribfvEXT)
1141#define wglChoosePixelFormatEXT           (_GET_TLS_PROCTABLE()->ChoosePixelFormatEXT)
1142#define wglSwapIntervalEXT                (_GET_TLS_PROCTABLE()->SwapIntervalEXT)
1143#define wglGetSwapIntervalEXT             (_GET_TLS_PROCTABLE()->GetSwapIntervalEXT)
1144#endif /* _WIN32 */
1145
1146#ifndef _APP_PROCTABLE
1147
1148/*
1149 * Applications can replace the following function with its own function
1150 * for accessing thread local proc/context dependent proc table.
1151 * The following default function works for most applications which
1152 * are using the same device for all their contexts - even if
1153 * the contexts are on different threads.
1154 */
1155
1156static _inline _GLextensionProcs *_GET_TLS_PROCTABLE(void)
1157
1158{
1159        extern _GLextensionProcs _extensionProcs;
1160
1161        return (&_extensionProcs);
1162}
1163
1164#else
1165
1166/*
1167 * Application should replace this compiled function with
1168 * an inlined function for maximum performance.
1169 */
1170
1171extern _GLextensionProcs *_GET_TLS_PROCTABLE(void);
1172
1173#endif
1174
1175/*
1176 * Provide an initialization function for the application
1177 * to initialize its own proc tables in case the application
1178 * needs to use multiple proc tables.
1179 */
1180
1181static _inline void _InitExtensionProcs(_GLextensionProcs *appProcs)
1182{
1183        extern _GLextensionProcs _extensionProcs;
1184
1185        *appProcs = _extensionProcs;
1186}
1187
1188#ifdef __cplusplus
1189}
1190#endif
1191
1192
1193#endif /* _GLPROCS_H_ */
Note: See TracBrowser for help on using the repository browser.