source: OGRE/trunk/ogrenew/RenderSystems/GL/include/glprocs.h @ 657

Revision 657, 99.2 KB checked in by mattausch, 19 years ago (diff)

added ogre dependencies and patched ogre sources

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