3 // Copyright (C) 1999 Allen Akin All Rights Reserved.
5 // Permission is hereby granted, free of charge, to any person
6 // obtaining a copy of this software and associated documentation
7 // files (the "Software"), to deal in the Software without
8 // restriction, including without limitation the rights to use,
9 // copy, modify, merge, publish, distribute, sublicense, and/or
10 // sell copies of the Software, and to permit persons to whom the
11 // Software is furnished to do so, subject to the following
14 // The above copyright notice and this permission notice shall be
15 // included in all copies or substantial portions of the
18 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
19 // KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
20 // WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
21 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL ALLEN AKIN BE
22 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 // AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
24 // OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25 // DEALINGS IN THE SOFTWARE.
32 // Microsoft's version of gl.h invokes macros that are defined in
33 // windows.h. To avoid a conditional #include <windows.h> in
34 // every file, we wrap gl.h with the proper conditions here, and
35 // have our source files #include "glwrap.h" instead.
37 // As a bonus we ensure that all declarations for GLU are included,
38 // and on X11-based systems, we cover X11 and GLX as well. This
39 // should cover nearly everything needed by a typical glean test.
41 // It's unfortunate that both Windows and Xlib are so casual about
42 // polluting the global namespace. The problem isn't easily resolved,
43 // even with the use of C++ namespace directives, because (a) macros
44 // in the include files refer to unqualified global variables, and (b)
45 // preprocessor macros themselves aren't affected by namespaces.
55 # if !defined(GLAPIENTRY)
56 # define GLAPIENTRY __stdcall
58 # if !defined(GLCALLBACK)
59 # define GLCALLBACK __stdcall
61 # include <GL/glext.h>
62 #elif defined(__X11__)
64 // glx.h covers Xlib.h and gl.h, among others
66 # if !defined(GLAPIENTRY)
69 # if !defined(GLCALLBACK)
72 # include <GL/glext.h>
73 #elif defined(__AGL__)
74 # include <Carbon/Carbon.h>
75 # include <OpenGL/glu.h>
76 # include <OpenGL/glext.h>
77 # include <GLUT/glut.h>
79 # include <AGL/aglRenderers.h>
80 # if !defined(APIENTRY)
83 # if !defined(GLAPIENTRY)
86 # if !defined(GLCALLBACK)
95 # error "Improper window system configuration; must be __WIN__ or __X11__."
98 #ifndef GL_COMBINE_EXT
100 #define GL_COMBINE_EXT GL_COMBINE_ARB
101 #define GL_COMBINE_RGB_EXT GL_COMBINE_RGB_ARB
102 #define GL_COMBINE_ALPHA_EXT GL_COMBINE_ALPHA_ARB
103 #define GL_RGB_SCALE_EXT GL_RGB_SCALE_ARB
104 #define GL_ADD_SIGNED_EXT GL_ADD_SIGNED_ARB
105 #define GL_INTERPOLATE_EXT GL_INTERPOLATE_ARB
106 #define GL_CONSTANT_EXT GL_CONSTANT_ARB
107 #define GL_PRIMARY_COLOR_EXT GL_PRIMARY_COLOR_ARB
108 #define GL_PREVIOUS_EXT GL_PREVIOUS_ARB
109 #define GL_SUBTRACT_EXT GL_SUBTRACT_ARB
110 #define GL_SOURCE0_RGB_EXT GL_SOURCE0_RGB_ARB
111 #define GL_SOURCE1_RGB_EXT GL_SOURCE1_RGB_ARB
112 #define GL_SOURCE2_RGB_EXT GL_SOURCE2_RGB_ARB
113 #define GL_SOURCE0_ALPHA_EXT GL_SOURCE0_ALPHA_ARB
114 #define GL_SOURCE1_ALPHA_EXT GL_SOURCE1_ALPHA_ARB
115 #define GL_SOURCE2_ALPHA_EXT GL_SOURCE2_ALPHA_ARB
116 #define GL_OPERAND0_RGB_EXT GL_OPERAND0_RGB_ARB
117 #define GL_OPERAND1_RGB_EXT GL_OPERAND1_RGB_ARB
118 #define GL_OPERAND2_RGB_EXT GL_OPERAND2_RGB_ARB
119 #define GL_OPERAND0_ALPHA_EXT GL_OPERAND0_ALPHA_ARB
120 #define GL_OPERAND1_ALPHA_EXT GL_OPERAND1_ALPHA_ARB
121 #define GL_OPERAND2_ALPHA_EXT GL_OPERAND2_ALPHA_ARB
126 #ifndef GL_EXT_texture_swizzle
127 #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
128 #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
129 #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
130 #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
131 #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
135 #ifndef GL_EXT_texture_sRGB
136 #define GL_SRGB_EXT 0x8C40
137 #define GL_SRGB8_EXT 0x8C41
138 #define GL_SRGB_ALPHA_EXT 0x8C42
139 #define GL_SRGB8_ALPHA8_EXT 0x8C43
140 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
141 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
142 #define GL_SLUMINANCE_EXT 0x8C46
143 #define GL_SLUMINANCE8_EXT 0x8C47
144 #define GL_COMPRESSED_SRGB_EXT 0x8C48
145 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
146 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
147 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
148 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
149 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
150 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
151 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
155 #ifndef GL_NV_texture_env_combine4
156 #define GL_COMBINE4_NV 0x8503
157 #define GL_SOURCE3_RGB_NV 0x8583
158 #define GL_SOURCE3_ALPHA_NV 0x858B
159 #define GL_OPERAND3_RGB_NV 0x8593
160 #define GL_OPERAND3_ALPHA_NV 0x859B
164 #ifndef GL_NV_texture_env_combine4
165 #define GL_COMBINE4_NV 0x8503
166 #define GL_SOURCE3_RGB_NV 0x8583
167 #define GL_SOURCE3_ALPHA_NV 0x858B
168 #define GL_OPERAND3_RGB_NV 0x8593
169 #define GL_OPERAND3_ALPHA_NV 0x859B
173 #ifndef GL_EXT_provoking_vertex
174 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
175 #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
176 #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
177 #define GL_PROVOKING_VERTEX_EXT 0x8E4F
181 #ifndef GL_ARB_provoking_vertex
182 #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
183 #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
184 #define GL_LAST_VERTEX_CONVENTION 0x8E4E
185 #define GL_PROVOKING_VERTEX 0x8E4F
189 #ifndef GL_ARB_map_buffer_range
190 #define GL_MAP_READ_BIT 0x0001
191 #define GL_MAP_WRITE_BIT 0x0002
192 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
193 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
194 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
195 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
200 typedef unsigned short GLhalfARB
;
204 // Windows has a convention for typedef'ing pointers to OpenGL functions
205 // which encapsulates some of the oddities of Win32 calling conventions.
206 // Identical conventions are being established for Linux, but they are
207 // not yet in place, and are not necessarily supported in other UNIX
208 // variants. Therefore we need a similar mechanism that accomplishes
209 // the same goal. We'll use the standard typedef names, but put them
210 // in the GLEAN namespace; that should preserve as much source-code
211 // compatibility as possible elsewhere in glean.
214 typedef void (GLAPIENTRY
* PFNGLBLENDCOLOREXTPROC
) (GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
);
215 typedef void (GLAPIENTRY
* PFNGLPOLYGONOFFSETEXTPROC
) (GLfloat factor
, GLfloat bias
);
216 typedef void (GLAPIENTRY
* PFNGLTEXIMAGE3DEXTPROC
) (GLenum target
, GLint level
, GLenum internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
217 typedef void (GLAPIENTRY
* PFNGLTEXSUBIMAGE3DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
218 typedef void (GLAPIENTRY
* PFNGLCOPYTEXSUBIMAGE3DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
219 typedef void (GLAPIENTRY
* PFNGLGETTEXFILTERFUNCSGISPROC
) (GLenum target
, GLenum filter
, GLfloat
*weights
);
220 typedef void (GLAPIENTRY
* PFNGLTEXFILTERFUNCSGISPROC
) (GLenum target
, GLenum filter
, GLsizei n
, const GLfloat
*weights
);
221 typedef void (GLAPIENTRY
* PFNGLCOPYTEXSUBIMAGE1DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint x
, GLint y
, GLsizei width
);
222 typedef void (GLAPIENTRY
* PFNGLTEXSUBIMAGE1DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
223 typedef void (GLAPIENTRY
* PFNGLTEXSUBIMAGE2DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
224 typedef void (GLAPIENTRY
* PFNGLCOPYTEXIMAGE1DEXTPROC
) (GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLint border
);
225 typedef void (GLAPIENTRY
* PFNGLCOPYTEXIMAGE2DEXTPROC
) (GLenum target
, GLint level
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
, GLint border
);
226 typedef void (GLAPIENTRY
* PFNGLCOPYTEXSUBIMAGE2DEXTPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
227 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMEXTPROC
) (GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
);
228 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMPARAMETERFVEXTPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
229 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
230 typedef void (GLAPIENTRY
* PFNGLGETMINMAXEXTPROC
) (GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
);
231 typedef void (GLAPIENTRY
* PFNGLGETMINMAXPARAMETERFVEXTPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
232 typedef void (GLAPIENTRY
* PFNGLGETMINMAXPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
233 typedef void (GLAPIENTRY
* PFNGLHISTOGRAMEXTPROC
) (GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
);
234 typedef void (GLAPIENTRY
* PFNGLMINMAXEXTPROC
) (GLenum target
, GLenum internalformat
, GLboolean sink
);
235 typedef void (GLAPIENTRY
* PFNGLRESETHISTOGRAMEXTPROC
) (GLenum target
);
236 typedef void (GLAPIENTRY
* PFNGLRESETMINMAXEXTPROC
) (GLenum target
);
237 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONFILTER1DEXTPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
);
238 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONFILTER2DEXTPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
);
239 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERFEXTPROC
) (GLenum target
, GLenum pname
, GLfloat params
);
240 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERFVEXTPROC
) (GLenum target
, GLenum pname
, const GLfloat
*params
);
241 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERIEXTPROC
) (GLenum target
, GLenum pname
, GLint params
);
242 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, const GLint
*params
);
243 typedef void (GLAPIENTRY
* PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC
) (GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
);
244 typedef void (GLAPIENTRY
* PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC
) (GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
245 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONFILTEREXTPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
);
246 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
247 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
248 typedef void (GLAPIENTRY
* PFNGLGETSEPARABLEFILTEREXTPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
);
249 typedef void (GLAPIENTRY
* PFNGLSEPARABLEFILTER2DEXTPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
);
250 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEPARAMETERFVSGIPROC
) (GLenum target
, GLenum pname
, const GLfloat
*params
);
251 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEPARAMETERIVSGIPROC
) (GLenum target
, GLenum pname
, const GLint
*params
);
252 typedef void (GLAPIENTRY
* PFNGLCOLORTABLESGIPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
);
253 typedef void (GLAPIENTRY
* PFNGLCOPYCOLORTABLESGIPROC
) (GLenum target
, GLenum internalFormat
, GLint x
, GLint y
, GLsizei width
);
254 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERFVSGIPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
255 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERIVSGIPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
256 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLESGIPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
);
257 typedef void (GLAPIENTRY
* PFNGLPIXELTEXGENSGIXPROC
) (GLenum mode
);
258 typedef void (GLAPIENTRY
* PFNGLPIXELTEXGENPARAMETERFSGISPROC
) (GLenum target
, GLfloat value
);
259 typedef void (GLAPIENTRY
* PFNGLPIXELTEXGENPARAMETERFVSGISPROC
) (GLenum target
, const GLfloat
*value
);
260 typedef void (GLAPIENTRY
* PFNGLPIXELTEXGENPARAMETERISGISPROC
) (GLenum target
, GLint value
);
261 typedef void (GLAPIENTRY
* PFNGLPIXELTEXGENPARAMETERIVSGISPROC
) (GLenum target
, const GLint
*value
);
262 typedef void (GLAPIENTRY
* PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC
) (GLenum target
, GLfloat
*value
);
263 typedef void (GLAPIENTRY
* PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC
) (GLenum target
, GLint
*value
);
264 typedef void (GLAPIENTRY
* PFNGLTEXIMAGE4DSGISPROC
) (GLenum target
, GLint level
, GLint internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLsizei extent
, GLint border
, GLenum format
, GLenum type
, const void *pixels
);
265 typedef void (GLAPIENTRY
* PFNGLTEXSUBIMAGE4DSGISPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint woffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLsizei extent
, GLenum format
, GLenum type
, const void *pixels
);
266 typedef void (GLAPIENTRY
* PFNGLGENTEXTURESEXTPROC
) (GLsizei n
, GLuint
*textures
);
267 typedef void (GLAPIENTRY
* PFNGLDELETETEXTURESEXTPROC
) (GLsizei n
, const GLuint
*textures
);
268 typedef void (GLAPIENTRY
* PFNGLBINDTEXTUREEXTPROC
) (GLenum target
, GLuint texture
);
269 typedef void (GLAPIENTRY
* PFNGLPRIORITIZETEXTURESEXTPROC
) (GLsizei n
, const GLuint
*textures
, const GLclampf
*priorities
);
270 typedef GLboolean (GLAPIENTRY
* PFNGLARETEXTURESRESIDENTEXTPROC
) (GLsizei n
, const GLuint
*textures
, GLboolean
*residences
);
271 typedef GLboolean (GLAPIENTRY
* PFNGLISTEXTUREEXTPROC
) (GLuint texture
);
272 typedef void (GLAPIENTRY
* PFNGLDETAILTEXFUNCSGISPROC
) (GLenum target
, GLsizei n
, const GLfloat
*points
);
273 typedef void (GLAPIENTRY
* PFNGLGETDETAILTEXFUNCSGISPROC
) (GLenum target
, GLfloat
*points
);
274 typedef void (GLAPIENTRY
* PFNGLGETSHARPENTEXFUNCSGISPROC
) (GLenum target
, GLfloat
*points
);
275 typedef void (GLAPIENTRY
* PFNGLSHARPENTEXFUNCSGISPROC
) (GLenum target
, GLsizei n
, const GLfloat
*points
);
276 typedef void (GLAPIENTRY
* PFNGLSAMPLEMASKSGISPROC
) (GLclampf value
, GLboolean invert
);
277 typedef void (GLAPIENTRY
* PFNGLSAMPLEPATTERNSGISPROC
) (GLenum pattern
);
278 typedef void (GLAPIENTRY
* PFNGLARRAYELEMENTEXTPROC
) (GLint i
);
279 typedef void (GLAPIENTRY
* PFNGLCOLORPOINTEREXTPROC
) (GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*pointer
);
280 typedef void (GLAPIENTRY
* PFNGLDRAWARRAYSEXTPROC
) (GLenum mode
, GLint first
, GLsizei count
);
281 typedef void (GLAPIENTRY
* PFNGLEDGEFLAGPOINTEREXTPROC
) (GLsizei stride
, GLsizei count
, const GLboolean
*pointer
);
282 typedef void (GLAPIENTRY
* PFNGLGETPOINTERVEXTPROC
) (GLenum pname
, GLvoid
* *params
);
283 typedef void (GLAPIENTRY
* PFNGLINDEXPOINTEREXTPROC
) (GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*pointer
);
284 typedef void (GLAPIENTRY
* PFNGLNORMALPOINTEREXTPROC
) (GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*pointer
);
285 typedef void (GLAPIENTRY
* PFNGLTEXCOORDPOINTEREXTPROC
) (GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*pointer
);
286 typedef void (GLAPIENTRY
* PFNGLVERTEXPOINTEREXTPROC
) (GLint size
, GLenum type
, GLsizei stride
, GLsizei count
, const GLvoid
*pointer
);
287 typedef void (GLAPIENTRY
* PFNGLBLENDEQUATIONEXTPROC
) (GLenum mode
);
288 typedef void (GLAPIENTRY
* PFNGLSPRITEPARAMETERFSGIXPROC
) (GLenum pname
, GLfloat param
);
289 typedef void (GLAPIENTRY
* PFNGLSPRITEPARAMETERFVSGIXPROC
) (GLenum pname
, const GLfloat
*param
);
290 typedef void (GLAPIENTRY
* PFNGLSPRITEPARAMETERISGIXPROC
) (GLenum pname
, GLint param
);
291 typedef void (GLAPIENTRY
* PFNGLSPRITEPARAMETERIVSGIXPROC
) (GLenum pname
, const GLint
*param
);
292 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFEXTPROC
) (GLenum pname
, GLfloat param
);
293 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFVEXTPROC
) (GLenum pname
, const GLfloat
*params
);
294 typedef GLint (GLAPIENTRY
* PFNGLGETINSTRUMENTSSGIXPROC
) (void);
295 typedef void (GLAPIENTRY
* PFNGLINSTRUMENTSBUFFERSGIXPROC
) (GLsizei size
, GLint
*buf
);
296 typedef GLint (GLAPIENTRY
* PFNGLPOLLINSTRUMENTSSGIXPROC
) (GLint
*markerp
);
297 typedef void (GLAPIENTRY
* PFNGLREADINSTRUMENTSSGIXPROC
) (GLint marker
);
298 typedef void (GLAPIENTRY
* PFNGLSTARTINSTRUMENTSSGIXPROC
) (void);
299 typedef void (GLAPIENTRY
* PFNGLSTOPINSTRUMENTSSGIXPROC
) (GLint marker
);
300 typedef void (GLAPIENTRY
* PFNGLFRAMEZOOMSGIXPROC
) (GLint factor
);
301 typedef void (GLAPIENTRY
* PFNGLTAGSAMPLEBUFFERSGIXPROC
) (void);
302 typedef void (GLAPIENTRY
* PFNGLREFERENCEPLANESGIXPROC
) (const GLdouble
*plane
);
303 typedef void (GLAPIENTRY
* PFNGLFLUSHRASTERSGIXPROC
) (void);
304 typedef void (GLAPIENTRY
* PFNGLCOLORSUBTABLEEXTPROC
) (GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const void *data
);
305 typedef void (GLAPIENTRY
* PFNGLCOPYCOLORSUBTABLEEXTPROC
) (GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
);
306 typedef void (GLAPIENTRY
* PFNGLHINTPGIPROC
) (GLenum target
, GLint mode
);
307 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEEXTPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
);
308 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEEXTPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
);
309 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERFVEXTPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
310 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
311 typedef void (GLAPIENTRY
* PFNGLGETLISTPARAMETERFVSGIXPROC
) (GLuint list
, GLenum name
, GLfloat
*param
);
312 typedef void (GLAPIENTRY
* PFNGLGETLISTPARAMETERIVSGIXPROC
) (GLuint list
, GLenum name
, GLint
*param
);
313 typedef void (GLAPIENTRY
* PFNGLLISTPARAMETERFSGIXPROC
) (GLuint list
, GLenum name
, GLfloat param
);
314 typedef void (GLAPIENTRY
* PFNGLLISTPARAMETERFVSGIXPROC
) (GLuint list
, GLenum name
, const GLfloat
*param
);
315 typedef void (GLAPIENTRY
* PFNGLLISTPARAMETERISGIXPROC
) (GLuint list
, GLenum name
, GLint param
);
316 typedef void (GLAPIENTRY
* PFNGLLISTPARAMETERIVSGIXPROC
) (GLuint list
, GLenum name
, const GLint
*param
);
317 typedef void (GLAPIENTRY
* PFNGLINDEXMATERIALEXTPROC
) (GLenum face
, GLenum mode
);
318 typedef void (GLAPIENTRY
* PFNGLINDEXFUNCEXTPROC
) (GLenum func
, GLfloat ref
);
319 typedef void (GLAPIENTRY
* PFNGLLOCKARRAYSEXTPROC
) (GLint first
, GLsizei count
);
320 typedef void (GLAPIENTRY
* PFNGLUNLOCKARRAYSEXTPROC
) (void);
321 typedef void (GLAPIENTRY
* PFNGLCULLPARAMETERDVEXTPROC
) (GLenum pname
, GLdouble
* params
);
322 typedef void (GLAPIENTRY
* PFNGLCULLPARAMETERFVEXTPROC
) (GLenum pname
, GLfloat
* params
);
323 typedef void (GLAPIENTRY
* PFNGLFRAGMENTCOLORMATERIALSGIXPROC
) (GLenum face
, GLenum mode
);
324 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTFSGIXPROC
) (GLenum light
, GLenum pname
, GLfloat param
);
325 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTFVSGIXPROC
) (GLenum light
, GLenum pname
, const GLfloat
* params
);
326 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTISGIXPROC
) (GLenum light
, GLenum pname
, GLint param
);
327 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTIVSGIXPROC
) (GLenum light
, GLenum pname
, const GLint
* params
);
328 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTMODELFSGIXPROC
) (GLenum pname
, GLfloat param
);
329 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTMODELFVSGIXPROC
) (GLenum pname
, const GLfloat
* params
);
330 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTMODELISGIXPROC
) (GLenum pname
, GLint param
);
331 typedef void (GLAPIENTRY
* PFNGLFRAGMENTLIGHTMODELIVSGIXPROC
) (GLenum pname
, const GLint
* params
);
332 typedef void (GLAPIENTRY
* PFNGLFRAGMENTMATERIALFSGIXPROC
) (GLenum face
, GLenum pname
, GLfloat param
);
333 typedef void (GLAPIENTRY
* PFNGLFRAGMENTMATERIALFVSGIXPROC
) (GLenum face
, GLenum pname
, const GLfloat
* params
);
334 typedef void (GLAPIENTRY
* PFNGLFRAGMENTMATERIALISGIXPROC
) (GLenum face
, GLenum pname
, GLint param
);
335 typedef void (GLAPIENTRY
* PFNGLFRAGMENTMATERIALIVSGIXPROC
) (GLenum face
, GLenum pname
, const GLint
* params
);
336 typedef void (GLAPIENTRY
* PFNGLGETFRAGMENTLIGHTFVSGIXPROC
) (GLenum light
, GLenum pname
, GLfloat
* params
);
337 typedef void (GLAPIENTRY
* PFNGLGETFRAGMENTLIGHTIVSGIXPROC
) (GLenum light
, GLenum pname
, GLint
* params
);
338 typedef void (GLAPIENTRY
* PFNGLGETFRAGMENTMATERIALFVSGIXPROC
) (GLenum face
, GLenum pname
, GLfloat
* params
);
339 typedef void (GLAPIENTRY
* PFNGLGETFRAGMENTMATERIALIVSGIXPROC
) (GLenum face
, GLenum pname
, GLint
* params
);
340 typedef void (GLAPIENTRY
* PFNGLLIGHTENVISGIXPROC
) (GLenum pname
, GLint param
);
341 typedef void (GLAPIENTRY
* PFNGLFOGCOORDFEXTPROC
) (GLfloat coord
);
342 typedef void (GLAPIENTRY
* PFNGLFOGCOORDFVEXTPROC
) (const GLfloat
* coord
);
343 typedef void (GLAPIENTRY
* PFNGLFOGCOORDDEXTPROC
) (GLdouble coord
);
344 typedef void (GLAPIENTRY
* PFNGLFOGCOORDDVEXTPROC
) (const GLdouble
* coord
);
345 typedef void (GLAPIENTRY
* PFNGLFOGCOORDPOINTEREXTPROC
) (GLenum type
, GLsizei stride
, const GLvoid
* pointer
);
346 typedef void (GLAPIENTRY
* PFNGLBLENDFUNCSEPARATEEXTPROC
) (GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
);
347 typedef void (GLAPIENTRY
* PFNGLBLENDFUNCSEPARATEINGRPROC
) (GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
);
348 typedef void (GLAPIENTRY
* PFNGLADDSWAPHINTRECTWINPROC
) (GLint x
, GLint y
, GLsizei width
, GLsizei height
);
349 typedef void (GLAPIENTRY
* PFNGLVERTEXWEIGHTFEXTPROC
) (GLfloat weight
);
350 typedef void (GLAPIENTRY
* PFNGLVERTEXWEIGHTFVEXTPROC
) (const GLfloat
*weight
);
351 typedef void (GLAPIENTRY
* PFNGLVERTEXWEIGHTPOINTEREXTPROC
) (GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*pointer
);
352 typedef void (GLAPIENTRY
* PFNGLFLUSHVERTEXARRAYRANGENVPROC
) (void);
353 typedef void (GLAPIENTRY
* PFNGLVERTEXARRAYRANGENVPROC
) (GLsizei size
, const GLvoid
* pointer
);
354 typedef void (GLAPIENTRY
* PFNGLCOMBINERPARAMETERFVNVPROC
) (GLenum pname
, const GLfloat
* params
);
355 typedef void (GLAPIENTRY
* PFNGLCOMBINERPARAMETERFNVPROC
) (GLenum pname
, GLfloat param
);
356 typedef void (GLAPIENTRY
* PFNGLCOMBINERPARAMETERIVNVPROC
) (GLenum pname
, const GLint
* params
);
357 typedef void (GLAPIENTRY
* PFNGLCOMBINERPARAMETERINVPROC
) (GLenum pname
, GLint param
);
358 typedef void (GLAPIENTRY
* PFNGLCOMBINERINPUTNVPROC
) (GLenum stage
, GLenum portion
, GLenum variable
, GLenum input
, GLenum mapping
, GLenum componentUsage
);
359 typedef void (GLAPIENTRY
* PFNGLCOMBINEROUTPUTNVPROC
) (GLenum stage
, GLenum portion
, GLenum abOutput
, GLenum cdOutput
, GLenum sumOutput
, GLenum scale
, GLenum bias
, GLboolean abDotProduct
, GLboolean cdDotProduct
, GLboolean muxSum
);
360 typedef void (GLAPIENTRY
* PFNGLFINALCOMBINERINPUTNVPROC
) (GLenum variable
, GLenum input
, GLenum mapping
, GLenum componentUsage
);
361 typedef void (GLAPIENTRY
* PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC
) (GLenum stage
, GLenum portion
, GLenum variable
, GLenum pname
, GLfloat
* params
);
362 typedef void (GLAPIENTRY
* PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC
) (GLenum stage
, GLenum portion
, GLenum variable
, GLenum pname
, GLint
* params
);
363 typedef void (GLAPIENTRY
* PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC
) (GLenum stage
, GLenum portion
, GLenum pname
, GLfloat
* params
);
364 typedef void (GLAPIENTRY
* PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC
) (GLenum stage
, GLenum portion
, GLenum pname
, GLint
* params
);
365 typedef void (GLAPIENTRY
* PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC
) (GLenum variable
, GLenum pname
, GLfloat
* params
);
366 typedef void (GLAPIENTRY
* PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC
) (GLenum variable
, GLenum pname
, GLint
* params
);
367 typedef void (GLAPIENTRY
* PFNGLRESIZEBUFFERSMESAPROC
) (void);
368 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2IMESAPROC
) (GLint x
, GLint y
);
369 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2SMESAPROC
) (GLshort x
, GLshort y
);
370 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2FMESAPROC
) (GLfloat x
, GLfloat y
);
371 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2DMESAPROC
) (GLdouble x
, GLdouble y
);
372 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2IVMESAPROC
) (const GLint
*p
);
373 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2SVMESAPROC
) (const GLshort
*p
);
374 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2FVMESAPROC
) (const GLfloat
*p
);
375 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2DVMESAPROC
) (const GLdouble
*p
);
376 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3IMESAPROC
) (GLint x
, GLint y
, GLint z
);
377 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3SMESAPROC
) (GLshort x
, GLshort y
, GLshort z
);
378 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3FMESAPROC
) (GLfloat x
, GLfloat y
, GLfloat z
);
379 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3DMESAPROC
) (GLdouble x
, GLdouble y
, GLdouble z
);
380 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3IVMESAPROC
) (const GLint
*p
);
381 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3SVMESAPROC
) (const GLshort
*p
);
382 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3FVMESAPROC
) (const GLfloat
*p
);
383 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS3DVMESAPROC
) (const GLdouble
*p
);
384 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4SMESAPROC
) (GLshort x
, GLshort y
, GLshort z
, GLshort w
);
385 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4FMESAPROC
) (GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
386 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4DMESAPROC
) (GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
387 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4IVMESAPROC
) (const GLint
*p
);
388 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4SVMESAPROC
) (const GLshort
*p
);
389 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4FVMESAPROC
) (const GLfloat
*p
);
390 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS4DVMESAPROC
) (const GLdouble
*p
);
391 typedef void (GLAPIENTRY
* PFNGLACTIVETEXTUREARBPROC
) (GLenum texture
);
392 typedef void (GLAPIENTRY
* PFNGLCLIENTACTIVETEXTUREARBPROC
) (GLenum texture
);
393 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1DARBPROC
) (GLenum target
, GLdouble s
);
394 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1DVARBPROC
) (GLenum target
, const GLdouble
*v
);
395 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1FARBPROC
) (GLenum target
, GLfloat s
);
396 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1FVARBPROC
) (GLenum target
, const GLfloat
*v
);
397 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1IARBPROC
) (GLenum target
, GLint s
);
398 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1IVARBPROC
) (GLenum target
, const GLint
*v
);
399 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1SARBPROC
) (GLenum target
, GLshort s
);
400 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1SVARBPROC
) (GLenum target
, const GLshort
*v
);
401 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
);
402 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2DVARBPROC
) (GLenum target
, const GLdouble
*v
);
403 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
);
404 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2FVARBPROC
) (GLenum target
, const GLfloat
*v
);
405 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2IARBPROC
) (GLenum target
, GLint s
, GLint t
);
406 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2IVARBPROC
) (GLenum target
, const GLint
*v
);
407 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2SARBPROC
) (GLenum target
, GLshort s
, GLshort t
);
408 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2SVARBPROC
) (GLenum target
, const GLshort
*v
);
409 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
);
410 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3DVARBPROC
) (GLenum target
, const GLdouble
*v
);
411 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
);
412 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3FVARBPROC
) (GLenum target
, const GLfloat
*v
);
413 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3IARBPROC
) (GLenum target
, GLint s
, GLint t
, GLint r
);
414 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3IVARBPROC
) (GLenum target
, const GLint
*v
);
415 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3SARBPROC
) (GLenum target
, GLshort s
, GLshort t
, GLshort r
);
416 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3SVARBPROC
) (GLenum target
, const GLshort
*v
);
417 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
);
418 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4DVARBPROC
) (GLenum target
, const GLdouble
*v
);
419 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
);
420 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4FVARBPROC
) (GLenum target
, const GLfloat
*v
);
421 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4IARBPROC
) (GLenum target
, GLint s
, GLint t
, GLint r
, GLint q
);
422 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4IVARBPROC
) (GLenum target
, const GLint
*v
);
423 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4SARBPROC
) (GLenum target
, GLshort s
, GLshort t
, GLshort r
, GLshort q
);
424 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4SVARBPROC
) (GLenum target
, const GLshort
*v
);
425 typedef void (GLAPIENTRY
* PFNGLLOADTRANSPOSEMATRIXDARBPROC
) ( const GLdouble m
[16] );
426 typedef void (GLAPIENTRY
* PFNGLLOADTRANSPOSEMATRIXFARBPROC
) ( const GLfloat m
[16] );
427 typedef void (GLAPIENTRY
* PFNGLMULTTRANSPOSEMATRIXDARBPROC
) ( const GLdouble m
[16] );
428 typedef void (GLAPIENTRY
* PFNGLMULTTRANSPOSEMATRIXFARBPROC
) ( const GLfloat m
[16] );
429 typedef void (GLAPIENTRY
* PFNGLSAMPLEPASSARBPROC
) (GLenum pass
);
430 typedef void (GLAPIENTRY
* PFNGLSAMPLECOVERAGEARBPROC
) (GLclampf value
, GLboolean invert
);
433 typedef void (GLAPIENTRY
* PFNGLBLENDCOLORPROC
) (GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
);
434 typedef void (GLAPIENTRY
* PFNGLBLENDEQUATIONPROC
) (GLenum mode
);
435 typedef void (GLAPIENTRY
* PFNGLTEXIMAGE3DPROC
) (GLenum target
, GLint level
, GLint internalformat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
436 typedef void (GLAPIENTRY
* PFNGLCOPYTEXSUBIMAGE3DPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
439 typedef void (GLAPIENTRY
* PFNGLACTIVETEXTUREPROC
) (GLenum texture
);
440 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2FPROC
) (GLenum target
, GLfloat s
, GLfloat t
);
442 // GL_VERSION_1_3_DEPRECATED
443 typedef void (GLAPIENTRY
* PFNGLCLIENTACTIVETEXTUREPROC
) (GLenum texture
);
446 typedef void (GLAPIENTRY
* PFNGLBLENDFUNCSEPARATEPROC
) (GLenum sfactorRGB
, GLenum dfactorRGB
, GLenum sfactorAlpha
, GLenum dfactorAlpha
);
447 typedef void (GLAPIENTRY
* PFNGLFOGCOORDFPROC
) (GLfloat coord
);
448 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFPROC
) (GLenum pname
, GLfloat param
);
449 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFVPROC
) (GLenum pname
, const GLfloat
*params
);
450 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERIPROC
) (GLenum pname
, GLint param
);
451 typedef void (GLAPIENTRY
* PFNGLSECONDARYCOLOR3FVPROC
) (const GLfloat
*v
);
452 typedef void (GLAPIENTRY
* PFNGLSECONDARYCOLORPOINTERPROC
) (GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*pointer
);
455 typedef void (GLAPIENTRY
* PFNGLBEGINQUERYPROC
) (GLenum target
, GLuint id
);
456 typedef void (GLAPIENTRY
* PFNGLENDQUERYPROC
) (GLenum target
);
457 typedef void (GLAPIENTRY
* PFNGLBINDBUFFERPROC
) (GLenum target
, GLuint buffer
);
458 typedef GLvoid
* (GLAPIENTRY
* PFNGLMAPBUFFERPROC
) (GLenum target
, GLenum access
);
459 typedef GLboolean (GLAPIENTRY
* PFNGLUNMAPBUFFERPROC
) (GLenum target
);
462 typedef void (GLAPIENTRY
* PFNGLBLENDEQUATIONSEPARATEPROC
) (GLenum modeRGB
, GLenum modeAlpha
);
463 typedef void (GLAPIENTRY
* PFNGLDRAWBUFFERSPROC
) (GLsizei n
, const GLenum
*bufs
);
464 typedef void (GLAPIENTRY
* PFNGLSTENCILOPSEPARATEPROC
) (GLenum face
, GLenum sfail
, GLenum dpfail
, GLenum dppass
);
465 typedef void (GLAPIENTRY
* PFNGLSTENCILFUNCSEPARATEPROC
) (GLenum frontfunc
, GLenum backfunc
, GLint ref
, GLuint mask
);
466 typedef void (GLAPIENTRY
* PFNGLSTENCILMASKSEPARATEPROC
) (GLenum face
, GLuint mask
);
467 typedef void (GLAPIENTRY
* PFNGLATTACHSHADERPROC
) (GLuint program
, GLuint shader
);
468 typedef void (GLAPIENTRY
* PFNGLBINDATTRIBLOCATIONPROC
) (GLuint program
, GLuint index
, const GLchar
*name
);
469 typedef void (GLAPIENTRY
* PFNGLCOMPILESHADERPROC
) (GLuint shader
);
470 typedef GLuint (GLAPIENTRY
* PFNGLCREATEPROGRAMPROC
) (void);
471 typedef GLuint (GLAPIENTRY
* PFNGLCREATESHADERPROC
) (GLenum type
);
472 typedef void (GLAPIENTRY
* PFNGLDELETEPROGRAMPROC
) (GLuint program
);
473 typedef void (GLAPIENTRY
* PFNGLDELETESHADERPROC
) (GLuint shader
);
474 typedef void (GLAPIENTRY
* PFNGLDETACHSHADERPROC
) (GLuint program
, GLuint shader
);
475 typedef void (GLAPIENTRY
* PFNGLDISABLEVERTEXATTRIBARRAYPROC
) (GLuint index
);
476 typedef void (GLAPIENTRY
* PFNGLENABLEVERTEXATTRIBARRAYPROC
) (GLuint index
);
477 typedef void (GLAPIENTRY
* PFNGLGETACTIVEATTRIBPROC
) (GLuint program
, GLuint index
, GLsizei bufSize
, GLsizei
*length
, GLint
*size
, GLenum
*type
, GLchar
*name
);
478 typedef void (GLAPIENTRY
* PFNGLGETACTIVEUNIFORMPROC
) (GLuint program
, GLuint index
, GLsizei bufSize
, GLsizei
*length
, GLint
*size
, GLenum
*type
, GLchar
*name
);
479 typedef void (GLAPIENTRY
* PFNGLGETATTACHEDSHADERSPROC
) (GLuint program
, GLsizei maxCount
, GLsizei
*count
, GLuint
*obj
);
480 typedef GLint (GLAPIENTRY
* PFNGLGETATTRIBLOCATIONPROC
) (GLuint program
, const GLchar
*name
);
481 typedef void (GLAPIENTRY
* PFNGLGETPROGRAMIVPROC
) (GLuint program
, GLenum pname
, GLint
*params
);
482 typedef void (GLAPIENTRY
* PFNGLGETPROGRAMINFOLOGPROC
) (GLuint program
, GLsizei bufSize
, GLsizei
*length
, GLchar
*infoLog
);
483 typedef void (GLAPIENTRY
* PFNGLGETSHADERIVPROC
) (GLuint shader
, GLenum pname
, GLint
*params
);
484 typedef void (GLAPIENTRY
* PFNGLGETSHADERINFOLOGPROC
) (GLuint shader
, GLsizei bufSize
, GLsizei
*length
, GLchar
*infoLog
);
485 typedef void (GLAPIENTRY
* PFNGLGETSHADERSOURCEPROC
) (GLuint shader
, GLsizei bufSize
, GLsizei
*length
, GLchar
*source
);
486 typedef GLint (GLAPIENTRY
* PFNGLGETUNIFORMLOCATIONPROC
) (GLuint program
, const GLchar
*name
);
487 typedef void (GLAPIENTRY
* PFNGLGETUNIFORMFVPROC
) (GLuint program
, GLint location
, GLfloat
*params
);
488 typedef void (GLAPIENTRY
* PFNGLGETUNIFORMIVPROC
) (GLuint program
, GLint location
, GLint
*params
);
489 typedef void (GLAPIENTRY
* PFNGLGETVERTEXATTRIBFVPROC
) (GLuint index
, GLenum pname
, GLfloat
*params
);
490 typedef GLboolean (GLAPIENTRY
* PFNGLISPROGRAMPROC
) (GLuint program
);
491 typedef GLboolean (GLAPIENTRY
* PFNGLISSHADERPROC
) (GLuint shader
);
492 typedef void (GLAPIENTRY
* PFNGLLINKPROGRAMPROC
) (GLuint program
);
493 typedef void (GLAPIENTRY
* PFNGLSHADERSOURCEPROC
) (GLuint shader
, GLsizei count
, const GLchar
* *string
, const GLint
*length
);
494 typedef void (GLAPIENTRY
* PFNGLUSEPROGRAMPROC
) (GLuint program
);
495 typedef void (GLAPIENTRY
* PFNGLUNIFORM1FPROC
) (GLint location
, GLfloat v0
);
496 typedef void (GLAPIENTRY
* PFNGLUNIFORM2FPROC
) (GLint location
, GLfloat v0
, GLfloat v1
);
497 typedef void (GLAPIENTRY
* PFNGLUNIFORM3FPROC
) (GLint location
, GLfloat v0
, GLfloat v1
, GLfloat v2
);
498 typedef void (GLAPIENTRY
* PFNGLUNIFORM4FPROC
) (GLint location
, GLfloat v0
, GLfloat v1
, GLfloat v2
, GLfloat v3
);
499 typedef void (GLAPIENTRY
* PFNGLUNIFORM1IPROC
) (GLint location
, GLint v0
);
500 typedef void (GLAPIENTRY
* PFNGLUNIFORM2IPROC
) (GLint location
, GLint v0
, GLint v1
);
501 typedef void (GLAPIENTRY
* PFNGLUNIFORM3IPROC
) (GLint location
, GLint v0
, GLint v1
, GLint v2
);
502 typedef void (GLAPIENTRY
* PFNGLUNIFORM4IPROC
) (GLint location
, GLint v0
, GLint v1
, GLint v2
, GLint v3
);
503 typedef void (GLAPIENTRY
* PFNGLUNIFORM1FVPROC
) (GLint location
, GLsizei count
, const GLfloat
*value
);
504 typedef void (GLAPIENTRY
* PFNGLUNIFORM2FVPROC
) (GLint location
, GLsizei count
, const GLfloat
*value
);
505 typedef void (GLAPIENTRY
* PFNGLUNIFORM3FVPROC
) (GLint location
, GLsizei count
, const GLfloat
*value
);
506 typedef void (GLAPIENTRY
* PFNGLUNIFORM4FVPROC
) (GLint location
, GLsizei count
, const GLfloat
*value
);
507 typedef void (GLAPIENTRY
* PFNGLUNIFORM1IVPROC
) (GLint location
, GLsizei count
, const GLint
*value
);
508 typedef void (GLAPIENTRY
* PFNGLUNIFORM2IVPROC
) (GLint location
, GLsizei count
, const GLint
*value
);
509 typedef void (GLAPIENTRY
* PFNGLUNIFORM3IVPROC
) (GLint location
, GLsizei count
, const GLint
*value
);
510 typedef void (GLAPIENTRY
* PFNGLUNIFORM4IVPROC
) (GLint location
, GLsizei count
, const GLint
*value
);
511 typedef void (GLAPIENTRY
* PFNGLUNIFORMMATRIX2FVPROC
) (GLint location
, GLsizei count
, GLboolean transpose
, const GLfloat
*value
);
512 typedef void (GLAPIENTRY
* PFNGLUNIFORMMATRIX3FVPROC
) (GLint location
, GLsizei count
, GLboolean transpose
, const GLfloat
*value
);
513 typedef void (GLAPIENTRY
* PFNGLUNIFORMMATRIX4FVPROC
) (GLint location
, GLsizei count
, GLboolean transpose
, const GLfloat
*value
);
514 typedef void (GLAPIENTRY
* PFNGLVALIDATEPROGRAMPROC
) (GLuint program
);
515 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1DPROC
) (GLuint index
, GLdouble x
);
516 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1DVPROC
) (GLuint index
, const GLdouble
*v
);
517 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1FPROC
) (GLuint index
, GLfloat x
);
518 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1FVPROC
) (GLuint index
, const GLfloat
*v
);
519 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1SPROC
) (GLuint index
, GLshort x
);
520 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1SVPROC
) (GLuint index
, const GLshort
*v
);
521 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2DPROC
) (GLuint index
, GLdouble x
, GLdouble y
);
522 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2DVPROC
) (GLuint index
, const GLdouble
*v
);
523 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2FPROC
) (GLuint index
, GLfloat x
, GLfloat y
);
524 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2FVPROC
) (GLuint index
, const GLfloat
*v
);
525 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2SPROC
) (GLuint index
, GLshort x
, GLshort y
);
526 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2SVPROC
) (GLuint index
, const GLshort
*v
);
527 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3DPROC
) (GLuint index
, GLdouble x
, GLdouble y
, GLdouble z
);
528 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3DVPROC
) (GLuint index
, const GLdouble
*v
);
529 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3FPROC
) (GLuint index
, GLfloat x
, GLfloat y
, GLfloat z
);
530 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3FVPROC
) (GLuint index
, const GLfloat
*v
);
531 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3SPROC
) (GLuint index
, GLshort x
, GLshort y
, GLshort z
);
532 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3SVPROC
) (GLuint index
, const GLshort
*v
);
533 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NBVPROC
) (GLuint index
, const GLbyte
*v
);
534 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NIVPROC
) (GLuint index
, const GLint
*v
);
535 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NSVPROC
) (GLuint index
, const GLshort
*v
);
536 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUBPROC
) (GLuint index
, GLubyte x
, GLubyte y
, GLubyte z
, GLubyte w
);
537 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUBVPROC
) (GLuint index
, const GLubyte
*v
);
538 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUIVPROC
) (GLuint index
, const GLuint
*v
);
539 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUSVPROC
) (GLuint index
, const GLushort
*v
);
540 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4BVPROC
) (GLuint index
, const GLbyte
*v
);
541 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4DPROC
) (GLuint index
, GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
542 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4DVPROC
) (GLuint index
, const GLdouble
*v
);
543 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4FPROC
) (GLuint index
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
544 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4FVPROC
) (GLuint index
, const GLfloat
*v
);
545 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4IVPROC
) (GLuint index
, const GLint
*v
);
546 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4SPROC
) (GLuint index
, GLshort x
, GLshort y
, GLshort z
, GLshort w
);
547 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4SVPROC
) (GLuint index
, const GLshort
*v
);
548 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4UBVPROC
) (GLuint index
, const GLubyte
*v
);
549 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4UIVPROC
) (GLuint index
, const GLuint
*v
);
550 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4USVPROC
) (GLuint index
, const GLushort
*v
);
551 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIBPOINTERPROC
) (GLuint index
, GLint size
, GLenum type
, GLboolean normalized
, GLsizei stride
, const GLvoid
*pointer
);
554 typedef void (GLAPIENTRY
* PFNGLUNIFORMMATRIX2X4FVPROC
) (GLint location
, GLsizei count
, GLboolean transpose
, const GLfloat
*value
);
555 typedef void (GLAPIENTRY
* PFNGLUNIFORMMATRIX4X3FVPROC
) (GLint location
, GLsizei count
, GLboolean transpose
, const GLfloat
*value
);
557 // GL_ARB_point_parameters
558 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFARBPROC
) (GLenum pname
, GLfloat param
);
559 typedef void (GLAPIENTRY
* PFNGLPOINTPARAMETERFVARBPROC
) (GLenum pname
, const GLfloat
*params
);
562 typedef void (GLAPIENTRY
* PFNGLWINDOWPOS2IARBPROC
) (GLint x
, GLint y
);
564 // GL_ARB_vertex_program
565 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1DARBPROC
) (GLuint index
, GLdouble x
);
566 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1DVARBPROC
) (GLuint index
, const GLdouble
*v
);
567 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1FARBPROC
) (GLuint index
, GLfloat x
);
568 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1FVARBPROC
) (GLuint index
, const GLfloat
*v
);
569 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1SARBPROC
) (GLuint index
, GLshort x
);
570 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB1SVARBPROC
) (GLuint index
, const GLshort
*v
);
571 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2DARBPROC
) (GLuint index
, GLdouble x
, GLdouble y
);
572 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2DVARBPROC
) (GLuint index
, const GLdouble
*v
);
573 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2FARBPROC
) (GLuint index
, GLfloat x
, GLfloat y
);
574 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2FVARBPROC
) (GLuint index
, const GLfloat
*v
);
575 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2SARBPROC
) (GLuint index
, GLshort x
, GLshort y
);
576 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB2SVARBPROC
) (GLuint index
, const GLshort
*v
);
577 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3DARBPROC
) (GLuint index
, GLdouble x
, GLdouble y
, GLdouble z
);
578 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3DVARBPROC
) (GLuint index
, const GLdouble
*v
);
579 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3FARBPROC
) (GLuint index
, GLfloat x
, GLfloat y
, GLfloat z
);
580 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3FVARBPROC
) (GLuint index
, const GLfloat
*v
);
581 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3SARBPROC
) (GLuint index
, GLshort x
, GLshort y
, GLshort z
);
582 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB3SVARBPROC
) (GLuint index
, const GLshort
*v
);
583 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NBVARBPROC
) (GLuint index
, const GLbyte
*v
);
584 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NIVARBPROC
) (GLuint index
, const GLint
*v
);
585 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NSVARBPROC
) (GLuint index
, const GLshort
*v
);
586 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUBARBPROC
) (GLuint index
, GLubyte x
, GLubyte y
, GLubyte z
, GLubyte w
);
587 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUBVARBPROC
) (GLuint index
, const GLubyte
*v
);
588 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUIVARBPROC
) (GLuint index
, const GLuint
*v
);
589 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4NUSVARBPROC
) (GLuint index
, const GLushort
*v
);
590 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4BVARBPROC
) (GLuint index
, const GLbyte
*v
);
591 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4DARBPROC
) (GLuint index
, GLdouble x
, GLdouble y
, GLdouble z
, GLdouble w
);
592 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4DVARBPROC
) (GLuint index
, const GLdouble
*v
);
593 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4FARBPROC
) (GLuint index
, GLfloat x
, GLfloat y
, GLfloat z
, GLfloat w
);
594 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4FVARBPROC
) (GLuint index
, const GLfloat
*v
);
595 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4IVARBPROC
) (GLuint index
, const GLint
*v
);
596 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4SARBPROC
) (GLuint index
, GLshort x
, GLshort y
, GLshort z
, GLshort w
);
597 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4SVARBPROC
) (GLuint index
, const GLshort
*v
);
598 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4UBVARBPROC
) (GLuint index
, const GLubyte
*v
);
599 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4UIVARBPROC
) (GLuint index
, const GLuint
*v
);
600 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIB4USVARBPROC
) (GLuint index
, const GLushort
*v
);
601 typedef void (GLAPIENTRY
* PFNGLVERTEXATTRIBPOINTERARBPROC
) (GLuint index
, GLint size
, GLenum type
, GLboolean normalized
, GLsizei stride
, const GLvoid
*pointer
);
602 typedef void (GLAPIENTRY
* PFNGLPROGRAMSTRINGARBPROC
) (GLenum target
, GLenum format
, GLsizei len
, const GLvoid
*string
);
603 typedef void (GLAPIENTRY
* PFNGLBINDPROGRAMARBPROC
) (GLenum target
, GLuint program
);
604 typedef void (GLAPIENTRY
* PFNGLDELETEPROGRAMSARBPROC
) (GLsizei n
, const GLuint
*programs
);
605 typedef void (GLAPIENTRY
* PFNGLGENPROGRAMSARBPROC
) (GLsizei n
, GLuint
*programs
);
606 typedef void (GLAPIENTRY
* PFNGLPROGRAMLOCALPARAMETER4FVARBPROC
) (GLenum target
, GLuint index
, const GLfloat
*params
);
607 typedef void (GLAPIENTRY
* PFNGLGETPROGRAMIVARBPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
608 typedef void (GLAPIENTRY
* PFNGLGETVERTEXATTRIBFVARBPROC
) (GLuint index
, GLenum pname
, GLfloat
*params
);
609 typedef GLboolean (GLAPIENTRY
* PFNGLISPROGRAMARBPROC
) (GLuint program
);
611 // GL_ARB_vertex_buffer_object
612 typedef void (GLAPIENTRY
* PFNGLBINDBUFFERARBPROC
) (GLenum target
, GLuint buffer
);
613 typedef void (GLAPIENTRY
* PFNGLDELETEBUFFERSARBPROC
) (GLsizei n
, const GLuint
*buffers
);
614 typedef void (GLAPIENTRY
* PFNGLGENBUFFERSARBPROC
) (GLsizei n
, GLuint
*buffers
);
615 typedef GLboolean (GLAPIENTRY
* PFNGLISBUFFERARBPROC
) (GLuint buffer
);
616 typedef void (GLAPIENTRY
* PFNGLBUFFERDATAARBPROC
) (GLenum target
, GLsizeiptrARB size
, const GLvoid
*data
, GLenum usage
);
617 typedef void (GLAPIENTRY
* PFNGLGETBUFFERSUBDATAARBPROC
) (GLenum target
, GLintptrARB offset
, GLsizeiptrARB size
, GLvoid
*data
);
618 typedef GLvoid
* (GLAPIENTRY
* PFNGLMAPBUFFERARBPROC
) (GLenum target
, GLenum access
);
619 typedef GLboolean (GLAPIENTRY
* PFNGLUNMAPBUFFERARBPROC
) (GLenum target
);
621 // GL_ARB_occlusion_query
622 typedef void (GLAPIENTRY
* PFNGLGENQUERIESARBPROC
) (GLsizei n
, GLuint
*ids
);
623 typedef void (GLAPIENTRY
* PFNGLDELETEQUERIESARBPROC
) (GLsizei n
, const GLuint
*ids
);
624 typedef GLboolean (GLAPIENTRY
* PFNGLISQUERYARBPROC
) (GLuint id
);
625 typedef void (GLAPIENTRY
* PFNGLBEGINQUERYARBPROC
) (GLenum target
, GLuint id
);
626 typedef void (GLAPIENTRY
* PFNGLENDQUERYARBPROC
) (GLenum target
);
627 typedef void (GLAPIENTRY
* PFNGLGETQUERYIVARBPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
628 typedef void (GLAPIENTRY
* PFNGLGETQUERYOBJECTIVARBPROC
) (GLuint id
, GLenum pname
, GLint
*params
);
629 typedef void (GLAPIENTRY
* PFNGLGETQUERYOBJECTUIVARBPROC
) (GLuint id
, GLenum pname
, GLuint
*params
);
631 // GL_ARB_map_buffer_range
632 typedef GLvoid
* (GLAPIENTRY
* PFNGLMAPBUFFERRANGEPROC
) (GLenum target
, GLintptr offset
, GLsizeiptr length
, GLbitfield access
);
633 typedef void (GLAPIENTRY
* PFNGLFLUSHMAPPEDBUFFERRANGEPROC
) (GLenum target
, GLintptr offset
, GLsizeiptr length
);
635 // GL_ARB_copy_buffer
636 typedef void (GLAPIENTRY
* PFNGLCOPYBUFFERSUBDATAPROC
) (GLenum readTarget
, GLenum writeTarget
, GLintptr readOffset
, GLintptr writeOffset
, GLsizeiptr size
);
638 // GL_EXT_stencil_two_side
639 typedef void (GLAPIENTRY
* PFNGLACTIVESTENCILFACEEXTPROC
) (GLenum face
);
641 // GL_ATI_separate_stencil
642 typedef void (GLAPIENTRY
* PFNGLSTENCILOPSEPARATEATIPROC
) (GLenum face
, GLenum sfail
, GLenum dpfail
, GLenum dppass
);
643 typedef void (GLAPIENTRY
* PFNGLSTENCILFUNCSEPARATEATIPROC
) (GLenum frontfunc
, GLenum backfunc
, GLint ref
, GLuint mask
);
645 // GL_EXT_framebuffer_object
646 typedef GLboolean (GLAPIENTRY
* PFNGLISRENDERBUFFEREXTPROC
) (GLuint renderbuffer
);
647 typedef void (GLAPIENTRY
* PFNGLBINDRENDERBUFFEREXTPROC
) (GLenum target
, GLuint renderbuffer
);
648 typedef void (GLAPIENTRY
* PFNGLDELETERENDERBUFFERSEXTPROC
) (GLsizei n
, const GLuint
*renderbuffers
);
649 typedef void (GLAPIENTRY
* PFNGLGENRENDERBUFFERSEXTPROC
) (GLsizei n
, GLuint
*renderbuffers
);
650 typedef void (GLAPIENTRY
* PFNGLRENDERBUFFERSTORAGEEXTPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
);
651 typedef void (GLAPIENTRY
* PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
652 typedef GLboolean (GLAPIENTRY
* PFNGLISFRAMEBUFFEREXTPROC
) (GLuint framebuffer
);
653 typedef void (GLAPIENTRY
* PFNGLBINDFRAMEBUFFEREXTPROC
) (GLenum target
, GLuint framebuffer
);
654 typedef void (GLAPIENTRY
* PFNGLDELETEFRAMEBUFFERSEXTPROC
) (GLsizei n
, const GLuint
*framebuffers
);
655 typedef void (GLAPIENTRY
* PFNGLGENFRAMEBUFFERSEXTPROC
) (GLsizei n
, GLuint
*framebuffers
);
656 typedef GLenum (GLAPIENTRY
* PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC
) (GLenum target
);
657 typedef void (GLAPIENTRY
* PFNGLFRAMEBUFFERTEXTURE1DEXTPROC
) (GLenum target
, GLenum attachment
, GLenum textarget
, GLuint texture
, GLint level
);
658 typedef void (GLAPIENTRY
* PFNGLFRAMEBUFFERTEXTURE2DEXTPROC
) (GLenum target
, GLenum attachment
, GLenum textarget
, GLuint texture
, GLint level
);
659 typedef void (GLAPIENTRY
* PFNGLFRAMEBUFFERTEXTURE3DEXTPROC
) (GLenum target
, GLenum attachment
, GLenum textarget
, GLuint texture
, GLint level
, GLint zoffset
);
660 typedef void (GLAPIENTRY
* PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC
) (GLenum target
, GLenum attachment
, GLenum renderbuffertarget
, GLuint renderbuffer
);
661 typedef void (GLAPIENTRY
* PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC
) (GLenum target
, GLenum attachment
, GLenum pname
, GLint
*params
);
663 // GL_EXT_provoking_vertex
664 typedef void (GLAPIENTRY
* PFNGLPROVOKINGVERTEXEXTPROC
) (GLenum mode
);
666 // GL_ARB_provoking_vertex
667 typedef void (GLAPIENTRY
* PFNGLPROVOKINGVERTEXPROC
) (GLenum mode
);
669 // OpenGL 1.2 enumerants, to allow glean to be compiled on OpenGL 1.1 systems.
670 // (This odd workaround is needed to handle problems with some copies of
671 // glext.h that are floating around the net.)
673 #ifndef GL_PACK_SKIP_IMAGES
674 #define GL_PACK_SKIP_IMAGES 0x806B
676 #ifndef GL_PACK_IMAGE_HEIGHT
677 #define GL_PACK_IMAGE_HEIGHT 0x806C
679 #ifndef GL_UNPACK_SKIP_IMAGES
680 #define GL_UNPACK_SKIP_IMAGES 0x806D
682 #ifndef GL_UNPACK_IMAGE_HEIGHT
683 #define GL_UNPACK_IMAGE_HEIGHT 0x806E
685 #ifndef GL_TEXTURE_3D
686 #define GL_TEXTURE_3D 0x806F
688 #ifndef GL_PROXY_TEXTURE_3D
689 #define GL_PROXY_TEXTURE_3D 0x8070
691 #ifndef GL_TEXTURE_DEPTH
692 #define GL_TEXTURE_DEPTH 0x8071
694 #ifndef GL_TEXTURE_WRAP_R
695 #define GL_TEXTURE_WRAP_R 0x8072
697 #ifndef GL_MAX_3D_TEXTURE_SIZE
698 #define GL_MAX_3D_TEXTURE_SIZE 0x8073
700 #ifndef GL_TEXTURE_BINDING_3D
701 #define GL_TEXTURE_BINDING_3D 0x806A
703 #ifndef GL_RESCALE_NORMAL
704 #define GL_RESCALE_NORMAL 0x803A
706 #ifndef GL_CLAMP_TO_EDGE
707 #define GL_CLAMP_TO_EDGE 0x812F
709 #ifndef GL_MAX_ELEMENTS_VERTICES
710 #define GL_MAX_ELEMENTS_VERTICES 0x80E8
712 #ifndef GL_MAX_ELEMENTS_INDICES
713 #define GL_MAX_ELEMENTS_INDICES 0x80E9
716 #define GL_BGR 0x80E0
719 #define GL_BGRA 0x80E1
721 #ifndef GL_UNSIGNED_BYTE_3_3_2
722 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
724 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV
725 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
727 #ifndef GL_UNSIGNED_SHORT_5_6_5
728 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
730 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV
731 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
733 #ifndef GL_UNSIGNED_SHORT_4_4_4_4
734 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
736 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV
737 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
739 #ifndef GL_UNSIGNED_SHORT_5_5_5_1
740 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
742 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV
743 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
745 #ifndef GL_UNSIGNED_INT_8_8_8_8
746 #define GL_UNSIGNED_INT_8_8_8_8 0x8035
748 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV
749 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
751 #ifndef GL_UNSIGNED_INT_10_10_10_2
752 #define GL_UNSIGNED_INT_10_10_10_2 0x8036
754 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV
755 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
757 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL
758 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
760 #ifndef GL_SINGLE_COLOR
761 #define GL_SINGLE_COLOR 0x81F9
763 #ifndef GL_SEPARATE_SPECULAR_COLOR
764 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
766 #ifndef GL_TEXTURE_MIN_LOD
767 #define GL_TEXTURE_MIN_LOD 0x813A
769 #ifndef GL_TEXTURE_MAX_LOD
770 #define GL_TEXTURE_MAX_LOD 0x813B
772 #ifndef GL_TEXTURE_BASE_LEVEL
773 #define GL_TEXTURE_BASE_LEVEL 0x813C
775 #ifndef GL_TEXTURE_MAX_LEVEL
776 #define GL_TEXTURE_MAX_LEVEL 0x813D
778 #ifndef GL_SMOOTH_POINT_SIZE_RANGE
779 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
781 #ifndef GL_SMOOTH_POINT_SIZE_GRANULARITY
782 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
784 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
785 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
787 #ifndef GL_SMOOTH_LINE_WIDTH_GRANULARITY
788 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
790 #ifndef GL_ALIASED_POINT_SIZE_RANGE
791 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
793 #ifndef GL_ALIASED_LINE_WIDTH_RANGE
794 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
796 #ifndef GL_COLOR_TABLE
797 #define GL_COLOR_TABLE 0x80D0
799 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE
800 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
802 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE
803 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
805 #ifndef GL_PROXY_COLOR_TABLE
806 #define GL_PROXY_COLOR_TABLE 0x80D3
808 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
809 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
811 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
812 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
814 #ifndef GL_COLOR_TABLE_SCALE
815 #define GL_COLOR_TABLE_SCALE 0x80D6
817 #ifndef GL_COLOR_TABLE_BIAS
818 #define GL_COLOR_TABLE_BIAS 0x80D7
820 #ifndef GL_COLOR_TABLE_FORMAT
821 #define GL_COLOR_TABLE_FORMAT 0x80D8
823 #ifndef GL_COLOR_TABLE_WIDTH
824 #define GL_COLOR_TABLE_WIDTH 0x80D9
826 #ifndef GL_COLOR_TABLE_RED_SIZE
827 #define GL_COLOR_TABLE_RED_SIZE 0x80DA
829 #ifndef GL_COLOR_TABLE_GREEN_SIZE
830 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
832 #ifndef GL_COLOR_TABLE_BLUE_SIZE
833 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
835 #ifndef GL_COLOR_TABLE_ALPHA_SIZE
836 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
838 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE
839 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
841 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE
842 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
844 #ifndef GL_CONVOLUTION_1D
845 #define GL_CONVOLUTION_1D 0x8010
847 #ifndef GL_CONVOLUTION_2D
848 #define GL_CONVOLUTION_2D 0x8011
850 #ifndef GL_SEPARABLE_2D
851 #define GL_SEPARABLE_2D 0x8012
853 #ifndef GL_CONVOLUTION_BORDER_MODE
854 #define GL_CONVOLUTION_BORDER_MODE 0x8013
856 #ifndef GL_CONVOLUTION_FILTER_SCALE
857 #define GL_CONVOLUTION_FILTER_SCALE 0x8014
859 #ifndef GL_CONVOLUTION_FILTER_BIAS
860 #define GL_CONVOLUTION_FILTER_BIAS 0x8015
863 #define GL_REDUCE 0x8016
865 #ifndef GL_CONVOLUTION_FORMAT
866 #define GL_CONVOLUTION_FORMAT 0x8017
868 #ifndef GL_CONVOLUTION_WIDTH
869 #define GL_CONVOLUTION_WIDTH 0x8018
871 #ifndef GL_CONVOLUTION_HEIGHT
872 #define GL_CONVOLUTION_HEIGHT 0x8019
874 #ifndef GL_MAX_CONVOLUTION_WIDTH
875 #define GL_MAX_CONVOLUTION_WIDTH 0x801A
877 #ifndef GL_MAX_CONVOLUTION_HEIGHT
878 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
880 #ifndef GL_POST_CONVOLUTION_RED_SCALE
881 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
883 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE
884 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
886 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE
887 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
889 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE
890 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
892 #ifndef GL_POST_CONVOLUTION_RED_BIAS
893 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
895 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS
896 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
898 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS
899 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
901 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS
902 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
904 #ifndef GL_CONSTANT_BORDER
905 #define GL_CONSTANT_BORDER 0x8151
907 #ifndef GL_REPLICATE_BORDER
908 #define GL_REPLICATE_BORDER 0x8153
910 #ifndef GL_CONVOLUTION_BORDER_COLOR
911 #define GL_CONVOLUTION_BORDER_COLOR 0x8154
913 #ifndef GL_COLOR_MATRIX
914 #define GL_COLOR_MATRIX 0x80B1
916 #ifndef GL_COLOR_MATRIX_STACK_DEPTH
917 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
919 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH
920 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
922 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE
923 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
925 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE
926 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
928 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE
929 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
931 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE
932 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
934 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS
935 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
937 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS
938 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
940 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS
941 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
943 #ifndef GL_POST_COLOR_MATRIX_ALPHA_BIAS
944 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
947 #define GL_HISTOGRAM 0x8024
949 #ifndef GL_PROXY_HISTOGRAM
950 #define GL_PROXY_HISTOGRAM 0x8025
952 #ifndef GL_HISTOGRAM_WIDTH
953 #define GL_HISTOGRAM_WIDTH 0x8026
955 #ifndef GL_HISTOGRAM_FORMAT
956 #define GL_HISTOGRAM_FORMAT 0x8027
958 #ifndef GL_HISTOGRAM_RED_SIZE
959 #define GL_HISTOGRAM_RED_SIZE 0x8028
961 #ifndef GL_HISTOGRAM_GREEN_SIZE
962 #define GL_HISTOGRAM_GREEN_SIZE 0x8029
964 #ifndef GL_HISTOGRAM_BLUE_SIZE
965 #define GL_HISTOGRAM_BLUE_SIZE 0x802A
967 #ifndef GL_HISTOGRAM_ALPHA_SIZE
968 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
970 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE
971 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
973 #ifndef GL_HISTOGRAM_SINK
974 #define GL_HISTOGRAM_SINK 0x802D
977 #define GL_MINMAX 0x802E
979 #ifndef GL_MINMAX_FORMAT
980 #define GL_MINMAX_FORMAT 0x802F
982 #ifndef GL_MINMAX_SINK
983 #define GL_MINMAX_SINK 0x8030
985 #ifndef GL_TABLE_TOO_LARGE
986 #define GL_TABLE_TOO_LARGE 0x8031
988 #ifndef GL_BLEND_EQUATION
989 #define GL_BLEND_EQUATION 0x8009
992 #define GL_MIN 0x8007
995 #define GL_MAX 0x8008
998 #define GL_FUNC_ADD 0x8006
1000 #ifndef GL_FUNC_SUBTRACT
1001 #define GL_FUNC_SUBTRACT 0x800A
1003 #ifndef GL_FUNC_REVERSE_SUBTRACT
1004 #define GL_FUNC_REVERSE_SUBTRACT 0x800B
1006 #ifndef GL_BLEND_COLOR
1007 #define GL_BLEND_COLOR 0x8005
1010 // Extension enumerants, in case they're not defined in glext.h.
1012 #ifndef GL_DOT3_RGB_EXT
1013 #define GL_DOT3_RGB_EXT 0x8740
1015 #ifndef GL_DOT3_RGBA_EXT
1016 #define GL_DOT3_RGBA_EXT 0x8741
1018 #ifndef GL_DOT3_RGB_ARB
1019 #define GL_DOT3_RGB_ARB 0x86AE
1021 #ifndef GL_DOT3_RGBA_ARB
1022 #define GL_DOT3_RGBA_ARB 0x86AF
1026 #ifndef GL_VERSION_1_2
1027 // OpenGL 1.2 function pointer types, to allow glean to
1028 // be compiled on OpenGL 1.1 systems.
1029 typedef void (GLAPIENTRY
* PFNGLDRAWRANGEELEMENTSPROC
) (GLenum mode
, GLuint start
, GLuint end
, GLsizei count
, GLenum type
, const GLvoid
*indices
);
1030 typedef void (GLAPIENTRY
* PFNGLTEXIMAGE3DPROC
) (GLenum target
, GLint level
, GLint internalFormat
, GLsizei width
, GLsizei height
, GLsizei depth
, GLint border
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
1031 typedef void (GLAPIENTRY
* PFNGLTEXSUBIMAGE3DPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLsizei width
, GLsizei height
, GLsizei depth
, GLenum format
, GLenum type
, const GLvoid
*pixels
);
1032 typedef void (GLAPIENTRY
* PFNGLCOPYTEXSUBIMAGE3DPROC
) (GLenum target
, GLint level
, GLint xoffset
, GLint yoffset
, GLint zoffset
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
1033 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*table
);
1034 typedef void (GLAPIENTRY
* PFNGLCOLORSUBTABLEPROC
) (GLenum target
, GLsizei start
, GLsizei count
, GLenum format
, GLenum type
, const GLvoid
*data
);
1035 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEPARAMETERIVPROC
) (GLenum target
, GLenum pname
, const GLint
*params
);
1036 typedef void (GLAPIENTRY
* PFNGLCOLORTABLEPARAMETERFVPROC
) (GLenum target
, GLenum pname
, const GLfloat
*params
);
1037 typedef void (GLAPIENTRY
* PFNGLCOPYCOLORSUBTABLEPROC
) (GLenum target
, GLsizei start
, GLint x
, GLint y
, GLsizei width
);
1038 typedef void (GLAPIENTRY
* PFNGLCOPYCOLORTABLEPROC
) (GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
);
1039 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*table
);
1040 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERFVPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
1041 typedef void (GLAPIENTRY
* PFNGLGETCOLORTABLEPARAMETERIVPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
1042 typedef void (GLAPIENTRY
* PFNGLBLENDEQUATIONPROC
) (GLenum mode
);
1043 typedef void (GLAPIENTRY
* PFNGLBLENDCOLORPROC
) (GLclampf red
, GLclampf green
, GLclampf blue
, GLclampf alpha
);
1044 typedef void (GLAPIENTRY
* PFNGLHISTOGRAMPROC
) (GLenum target
, GLsizei width
, GLenum internalformat
, GLboolean sink
);
1045 typedef void (GLAPIENTRY
* PFNGLRESETHISTOGRAMPROC
) (GLenum target
);
1046 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMPROC
) (GLenum target
, GLboolean reset
, GLenum format
, GLenum type
, GLvoid
*values
);
1047 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMPARAMETERFVPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
1048 typedef void (GLAPIENTRY
* PFNGLGETHISTOGRAMPARAMETERIVPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
1049 typedef void (GLAPIENTRY
* PFNGLMINMAXPROC
) (GLenum target
, GLenum internalformat
, GLboolean sink
);
1050 typedef void (GLAPIENTRY
* PFNGLRESETMINMAXPROC
) (GLenum target
);
1051 typedef void (GLAPIENTRY
* PFNGLGETMINMAXPROC
) (GLenum target
, GLboolean reset
, GLenum format
, GLenum types
, GLvoid
*values
);
1052 typedef void (GLAPIENTRY
* PFNGLGETMINMAXPARAMETERFVPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
1053 typedef void (GLAPIENTRY
* PFNGLGETMINMAXPARAMETERIVPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
1054 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONFILTER1DPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLenum format
, GLenum type
, const GLvoid
*image
);
1055 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONFILTER2DPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*image
);
1056 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERFPROC
) (GLenum target
, GLenum pname
, GLfloat params
);
1057 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERFVPROC
) (GLenum target
, GLenum pname
, const GLfloat
*params
);
1058 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERIPROC
) (GLenum target
, GLenum pname
, GLint params
);
1059 typedef void (GLAPIENTRY
* PFNGLCONVOLUTIONPARAMETERIVPROC
) (GLenum target
, GLenum pname
, const GLint
*params
);
1060 typedef void (GLAPIENTRY
* PFNGLCOPYCONVOLUTIONFILTER1DPROC
) (GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
);
1061 typedef void (GLAPIENTRY
* PFNGLCOPYCONVOLUTIONFILTER2DPROC
) (GLenum target
, GLenum internalformat
, GLint x
, GLint y
, GLsizei width
, GLsizei height
);
1062 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONFILTERPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*image
);
1063 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONPARAMETERFVPROC
) (GLenum target
, GLenum pname
, GLfloat
*params
);
1064 typedef void (GLAPIENTRY
* PFNGLGETCONVOLUTIONPARAMETERIVPROC
) (GLenum target
, GLenum pname
, GLint
*params
);
1065 typedef void (GLAPIENTRY
* PFNGLSEPARABLEFILTER2DPROC
) (GLenum target
, GLenum internalformat
, GLsizei width
, GLsizei height
, GLenum format
, GLenum type
, const GLvoid
*row
, const GLvoid
*column
);
1066 typedef void (GLAPIENTRY
* PFNGLGETSEPARABLEFILTERPROC
) (GLenum target
, GLenum format
, GLenum type
, GLvoid
*row
, GLvoid
*column
, GLvoid
*span
);
1067 typedef void (GLAPIENTRY
* PFNGLACTIVETEXTUREARBPROC
) (GLenum texture
);
1068 typedef void (GLAPIENTRY
* PFNGLCLIENTACTIVETEXTUREARBPROC
) (GLenum texture
);
1069 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1DARBPROC
) (GLenum target
, GLdouble s
);
1070 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1DVARBPROC
) (GLenum target
, const GLdouble
*v
);
1071 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1FARBPROC
) (GLenum target
, GLfloat s
);
1072 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1FVARBPROC
) (GLenum target
, const GLfloat
*v
);
1073 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1IARBPROC
) (GLenum target
, GLint s
);
1074 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1IVARBPROC
) (GLenum target
, const GLint
*v
);
1075 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1SARBPROC
) (GLenum target
, GLshort s
);
1076 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD1SVARBPROC
) (GLenum target
, const GLshort
*v
);
1077 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
);
1078 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2DVARBPROC
) (GLenum target
, const GLdouble
*v
);
1079 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
);
1080 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2FVARBPROC
) (GLenum target
, const GLfloat
*v
);
1081 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2IARBPROC
) (GLenum target
, GLint s
, GLint t
);
1082 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2IVARBPROC
) (GLenum target
, const GLint
*v
);
1083 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2SARBPROC
) (GLenum target
, GLshort s
, GLshort t
);
1084 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD2SVARBPROC
) (GLenum target
, const GLshort
*v
);
1085 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
);
1086 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3DVARBPROC
) (GLenum target
, const GLdouble
*v
);
1087 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
);
1088 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3FVARBPROC
) (GLenum target
, const GLfloat
*v
);
1089 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3IARBPROC
) (GLenum target
, GLint s
, GLint t
, GLint r
);
1090 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3IVARBPROC
) (GLenum target
, const GLint
*v
);
1091 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3SARBPROC
) (GLenum target
, GLshort s
, GLshort t
, GLshort r
);
1092 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD3SVARBPROC
) (GLenum target
, const GLshort
*v
);
1093 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4DARBPROC
) (GLenum target
, GLdouble s
, GLdouble t
, GLdouble r
, GLdouble q
);
1094 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4DVARBPROC
) (GLenum target
, const GLdouble
*v
);
1095 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4FARBPROC
) (GLenum target
, GLfloat s
, GLfloat t
, GLfloat r
, GLfloat q
);
1096 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4FVARBPROC
) (GLenum target
, const GLfloat
*v
);
1097 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4IARBPROC
) (GLenum target
, GLint s
, GLint t
, GLint r
, GLint q
);
1098 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4IVARBPROC
) (GLenum target
, const GLint
*v
);
1099 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4SARBPROC
) (GLenum target
, GLshort s
, GLshort t
, GLshort r
, GLshort q
);
1100 typedef void (GLAPIENTRY
* PFNGLMULTITEXCOORD4SVARBPROC
) (GLenum target
, const GLshort
*v
);
1102 } // namespace GLEAN
1105 #endif // __glwrap_h__