blob: 6ec922d1a07799e612c1da4d618b42c7fd24084c [file] [log] [blame]
Brian Paule3a49d01999-12-16 12:36:54 +00001/* $Id: glapitable.h,v 1.5 1999/12/16 12:36:54 brianp Exp $ */
Brian Paul1210b0d1999-11-25 18:16:13 +00002
3/*
4 * Mesa 3-D graphics library
5 * Version: 3.3
6 *
7 * Copyright (C) 1999 Brian Paul All Rights Reserved.
8 *
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25 */
26
27
28/*
29 * This file is not specific to Mesa. It defines a dispatch table
30 * which could be used by any number of OpenGL implementations.
31 * It's designed to be gl.h-independent as well. That is, it does
32 * not depend on any particular extensions being defined in the gl.h
33 * header. We #define extension symbols (like _GLAPI_EXT_blend_color)
34 * to determine which entry points to compile. Clients of this dispatcher
35 * (like Mesa) can #ifdef test these symbols to know how to fill in the
36 * table.
37 */
38
39
40#ifndef _GLAPI_TABLE_H
41#define _GLAPI_TABLE_H
42
43
44#include "GL/gl.h"
45
46
Brian Paul4329fd51999-11-27 21:30:10 +000047#define _GLAPI_EXTRA_SLOTS 1000
48
Brian Paul1210b0d1999-11-25 18:16:13 +000049
50/*
51 * This struct contains pointers for all the GL API entrypoints
52 * plus some reserved slots for dynamic extensions.
53 *
54 */
55struct _glapi_table
56{
Brian Paule3a49d01999-12-16 12:36:54 +000057 void (*Dummy)(void);
58
Brian Paul1210b0d1999-11-25 18:16:13 +000059 /*
60 * OpenGL 1.0
61 */
62 void (*Accum)(GLenum, GLfloat);
63 void (*AlphaFunc)(GLenum, GLclampf);
64 void (*Begin)(GLenum);
65 void (*Bitmap)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *);
66 void (*BlendFunc)(GLenum, GLenum);
67 void (*CallList)(GLuint list);
68 void (*CallLists)(GLsizei, GLenum, const GLvoid *);
69 void (*Clear)(GLbitfield);
70 void (*ClearAccum)(GLfloat, GLfloat, GLfloat, GLfloat);
71 void (*ClearColor)(GLclampf, GLclampf, GLclampf, GLclampf);
72 void (*ClearDepth)(GLclampd);
73 void (*ClearIndex)(GLfloat);
74 void (*ClearStencil)(GLint);
75 void (*ClipPlane)(GLenum, const GLdouble *);
76 void (*Color3b)(GLbyte, GLbyte, GLbyte);
77 void (*Color3bv)(const GLbyte *);
78 void (*Color3d)(GLdouble, GLdouble, GLdouble);
79 void (*Color3dv)(const GLdouble *);
80 void (*Color3f)(GLfloat, GLfloat, GLfloat);
81 void (*Color3fv)(const GLfloat *);
82 void (*Color3i)(GLint, GLint, GLint);
83 void (*Color3iv)(const GLint *);
84 void (*Color3s)(GLshort, GLshort, GLshort);
85 void (*Color3sv)(const GLshort *);
86 void (*Color3ub)(GLubyte, GLubyte, GLubyte);
87 void (*Color3ubv)(const GLubyte *);
88 void (*Color3ui)(GLuint, GLuint, GLuint);
89 void (*Color3uiv)(const GLuint *);
90 void (*Color3us)(GLushort, GLushort, GLushort);
91 void (*Color3usv)(const GLushort *);
92 void (*Color4b)(GLbyte, GLbyte, GLbyte, GLbyte);
93 void (*Color4bv)(const GLbyte *);
94 void (*Color4d)(GLdouble, GLdouble, GLdouble, GLdouble);
95 void (*Color4dv)(const GLdouble *);
96 void (*Color4f)(GLfloat, GLfloat, GLfloat, GLfloat);
97 void (*Color4fv)(const GLfloat *);
98 void (*Color4i)(GLint, GLint, GLint, GLint);
99 void (*Color4iv)(const GLint *);
100 void (*Color4s)(GLshort, GLshort, GLshort, GLshort);
101 void (*Color4sv)(const GLshort *);
102 void (*Color4ub)(GLubyte, GLubyte, GLubyte, GLubyte);
103 void (*Color4ubv)(const GLubyte *);
104 void (*Color4ui)(GLuint, GLuint, GLuint, GLuint);
105 void (*Color4uiv)(const GLuint *);
106 void (*Color4us)(GLushort, GLushort, GLushort, GLushort);
107 void (*Color4usv)(const GLushort *);
108 void (*ColorMask)(GLboolean, GLboolean, GLboolean, GLboolean);
109 void (*ColorMaterial)(GLenum, GLenum);
110 void (*CopyPixels)(GLint, GLint, GLsizei, GLsizei, GLenum);
111 void (*CullFace)(GLenum);
112 void (*DeleteLists)(GLuint, GLsizei);
113 void (*DepthFunc)(GLenum);
114 void (*DepthMask)(GLboolean);
115 void (*DepthRange)(GLclampd, GLclampd);
116 void (*Disable)(GLenum);
117 void (*DrawBuffer)(GLenum);
118 void (*DrawPixels)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
119 void (*EdgeFlag)(GLboolean);
120 void (*EdgeFlagv)(const GLboolean *);
121 void (*Enable)(GLenum);
122 void (*End)(void);
123 void (*EndList)(void);
124 void (*EvalCoord1d)(GLdouble);
125 void (*EvalCoord1dv)(const GLdouble *);
126 void (*EvalCoord1f)(GLfloat);
127 void (*EvalCoord1fv)(const GLfloat *);
128 void (*EvalCoord2d)(GLdouble u, GLdouble);
129 void (*EvalCoord2dv)(const GLdouble *);
130 void (*EvalCoord2f)(GLfloat u, GLfloat);
131 void (*EvalCoord2fv)(const GLfloat *);
132 void (*EvalMesh1)(GLenum, GLint, GLint);
133 void (*EvalMesh2)(GLenum, GLint, GLint, GLint, GLint);
134 void (*EvalPoint1)(GLint);
135 void (*EvalPoint2)(GLint, GLint);
136 void (*FeedbackBuffer)(GLsizei, GLenum, GLfloat *);
137 void (*Finish)(void);
138 void (*Flush)(void);
139 void (*Fogf)(GLenum, GLfloat);
140 void (*Fogfv)(GLenum, const GLfloat *);
141 void (*Fogi)(GLenum, GLint);
142 void (*Fogiv)(GLenum, const GLint *);
143 void (*FrontFace)(GLenum);
144 void (*Frustum)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
145 GLuint (*GenLists)(GLsizei);
146 void (*GetBooleanv)(GLenum, GLboolean *);
147 void (*GetClipPlane)(GLenum, GLdouble *);
148 void (*GetDoublev)(GLenum, GLdouble *);
149 GLenum (*GetError)(void);
150 void (*GetFloatv)(GLenum, GLfloat *);
151 void (*GetIntegerv)(GLenum, GLint *);
152 void (*GetLightfv)(GLenum light, GLenum, GLfloat *);
153 void (*GetLightiv)(GLenum light, GLenum, GLint *);
154 void (*GetMapdv)(GLenum, GLenum, GLdouble *);
155 void (*GetMapfv)(GLenum, GLenum, GLfloat *);
156 void (*GetMapiv)(GLenum, GLenum, GLint *);
157 void (*GetMaterialfv)(GLenum, GLenum, GLfloat *);
158 void (*GetMaterialiv)(GLenum, GLenum, GLint *);
159 void (*GetPixelMapfv)(GLenum, GLfloat *);
160 void (*GetPixelMapuiv)(GLenum, GLuint *);
161 void (*GetPixelMapusv)(GLenum, GLushort *);
162 void (*GetPolygonStipple)(GLubyte *);
163 const GLubyte* (*GetString)(GLenum name);
164 void (*GetTexEnvfv)(GLenum, GLenum, GLfloat *);
165 void (*GetTexEnviv)(GLenum, GLenum, GLint *);
166 void (*GetTexGendv)(GLenum coord, GLenum, GLdouble *);
167 void (*GetTexGenfv)(GLenum coord, GLenum, GLfloat *);
168 void (*GetTexGeniv)(GLenum coord, GLenum, GLint *);
169 void (*GetTexImage)(GLenum, GLint level, GLenum, GLenum, GLvoid *);
170 void (*GetTexLevelParameterfv)(GLenum, GLint, GLenum, GLfloat *);
171 void (*GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *);
172 void (*GetTexParameterfv)(GLenum, GLenum, GLfloat *);
173 void (*GetTexParameteriv)(GLenum, GLenum, GLint *);
174 void (*Hint)(GLenum, GLenum);
175 void (*IndexMask)(GLuint);
176 void (*Indexd)(GLdouble);
177 void (*Indexdv)(const GLdouble *);
178 void (*Indexf)(GLfloat);
179 void (*Indexfv)(const GLfloat *);
180 void (*Indexi)(GLint);
181 void (*Indexiv)(const GLint *);
182 void (*Indexs)(GLshort);
183 void (*Indexsv)(const GLshort *);
184 void (*InitNames)(void);
185 GLboolean (*IsEnabled)(GLenum);
186 GLboolean (*IsList)(GLuint);
187 void (*LightModelf)(GLenum, GLfloat);
188 void (*LightModelfv)(GLenum, const GLfloat *);
189 void (*LightModeli)(GLenum, GLint);
190 void (*LightModeliv)(GLenum, const GLint *);
191 void (*Lightf)(GLenum light, GLenum, GLfloat);
192 void (*Lightfv)(GLenum light, GLenum, const GLfloat *);
193 void (*Lighti)(GLenum light, GLenum, GLint);
194 void (*Lightiv)(GLenum light, GLenum, const GLint *);
195 void (*LineStipple)(GLint factor, GLushort);
196 void (*LineWidth)(GLfloat);
197 void (*ListBase)(GLuint);
198 void (*LoadIdentity)(void);
199 void (*LoadMatrixd)(const GLdouble *);
200 void (*LoadMatrixf)(const GLfloat *);
201 void (*LoadName)(GLuint);
202 void (*LogicOp)(GLenum);
203 void (*Map1d)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
204 void (*Map1f)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
205 void (*Map2d)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
206 void (*Map2f)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
207 void (*MapGrid1d)(GLint, GLdouble, GLdouble);
208 void (*MapGrid1f)(GLint, GLfloat, GLfloat);
209 void (*MapGrid2d)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble);
210 void (*MapGrid2f)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat);
211 void (*Materialf)(GLenum, GLenum, GLfloat);
212 void (*Materialfv)(GLenum, GLenum, const GLfloat *);
213 void (*Materiali)(GLenum, GLenum, GLint);
214 void (*Materialiv)(GLenum, GLenum, const GLint *);
215 void (*MatrixMode)(GLenum);
216 void (*MultMatrixd)(const GLdouble *);
217 void (*MultMatrixf)(const GLfloat *);
218 void (*NewList)(GLuint list, GLenum);
219 void (*Normal3b)(GLbyte, GLbyte, GLbyte);
220 void (*Normal3bv)(const GLbyte *);
221 void (*Normal3d)(GLdouble, GLdouble, GLdouble);
222 void (*Normal3dv)(const GLdouble *);
223 void (*Normal3f)(GLfloat, GLfloat, GLfloat);
224 void (*Normal3fv)(const GLfloat *);
225 void (*Normal3i)(GLint, GLint, GLint);
226 void (*Normal3iv)(const GLint *);
227 void (*Normal3s)(GLshort, GLshort, GLshort);
228 void (*Normal3sv)(const GLshort *);
229 void (*Ortho)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble);
230 void (*PassThrough)(GLfloat);
231 void (*PixelMapfv)(GLenum, GLint, const GLfloat *);
232 void (*PixelMapuiv)(GLenum, GLint, const GLuint *);
233 void (*PixelMapusv)(GLenum, GLint, const GLushort *);
234 void (*PixelStoref)(GLenum, GLfloat);
235 void (*PixelStorei)(GLenum, GLint);
236 void (*PixelTransferf)(GLenum, GLfloat);
237 void (*PixelTransferi)(GLenum, GLint);
238 void (*PixelZoom)(GLfloat, GLfloat);
239 void (*PointSize)(GLfloat);
240 void (*PolygonMode)(GLenum, GLenum);
241 void (*PolygonOffset)(GLfloat, GLfloat);
242 void (*PolygonStipple)(const GLubyte *);
243 void (*PopAttrib)(void);
244 void (*PopMatrix)(void);
245 void (*PopName)(void);
246 void (*PushAttrib)(GLbitfield);
247 void (*PushMatrix)(void);
248 void (*PushName)(GLuint);
249 void (*RasterPos2d)(GLdouble, GLdouble);
250 void (*RasterPos2dv)(const GLdouble *);
251 void (*RasterPos2f)(GLfloat, GLfloat);
252 void (*RasterPos2fv)(const GLfloat *);
253 void (*RasterPos2i)(GLint, GLint);
254 void (*RasterPos2iv)(const GLint *);
255 void (*RasterPos2s)(GLshort, GLshort);
256 void (*RasterPos2sv)(const GLshort *);
257 void (*RasterPos3d)(GLdouble, GLdouble, GLdouble);
258 void (*RasterPos3dv)(const GLdouble *);
259 void (*RasterPos3f)(GLfloat, GLfloat, GLfloat);
260 void (*RasterPos3fv)(const GLfloat *);
261 void (*RasterPos3i)(GLint, GLint, GLint);
262 void (*RasterPos3iv)(const GLint *);
263 void (*RasterPos3s)(GLshort, GLshort, GLshort);
264 void (*RasterPos3sv)(const GLshort *);
265 void (*RasterPos4d)(GLdouble, GLdouble, GLdouble, GLdouble);
266 void (*RasterPos4dv)(const GLdouble *);
267 void (*RasterPos4f)(GLfloat, GLfloat, GLfloat, GLfloat);
268 void (*RasterPos4fv)(const GLfloat *);
269 void (*RasterPos4i)(GLint, GLint, GLint, GLint);
270 void (*RasterPos4iv)(const GLint *);
271 void (*RasterPos4s)(GLshort, GLshort, GLshort, GLshort);
272 void (*RasterPos4sv)(const GLshort *);
273 void (*ReadBuffer)(GLenum);
274 void (*ReadPixels)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *);
275 void (*Rectd)(GLdouble, GLdouble, GLdouble, GLdouble);
276 void (*Rectdv)(const GLdouble *, const GLdouble *);
277 void (*Rectf)(GLfloat, GLfloat, GLfloat, GLfloat);
278 void (*Rectfv)(const GLfloat *, const GLfloat *);
279 void (*Recti)(GLint, GLint, GLint, GLint);
280 void (*Rectiv)(const GLint *, const GLint *);
281 void (*Rects)(GLshort, GLshort, GLshort, GLshort);
282 void (*Rectsv)(const GLshort *, const GLshort *);
283 GLint (*RenderMode)(GLenum);
284 void (*Rotated)(GLdouble, GLdouble, GLdouble, GLdouble);
285 void (*Rotatef)(GLfloat, GLfloat, GLfloat, GLfloat);
286 void (*Scaled)(GLdouble, GLdouble, GLdouble);
287 void (*Scalef)(GLfloat, GLfloat, GLfloat);
288 void (*Scissor)(GLint, GLint, GLsizei, GLsizei);
289 void (*SelectBuffer)(GLsizei, GLuint *);
290 void (*ShadeModel)(GLenum);
291 void (*StencilFunc)(GLenum, GLint, GLuint);
292 void (*StencilMask)(GLuint);
293 void (*StencilOp)(GLenum, GLenum, GLenum);
294 void (*TexCoord1d)(GLdouble);
295 void (*TexCoord1dv)(const GLdouble *);
296 void (*TexCoord1f)(GLfloat);
297 void (*TexCoord1fv)(const GLfloat *);
298 void (*TexCoord1i)(GLint);
299 void (*TexCoord1iv)(const GLint *);
300 void (*TexCoord1s)(GLshort);
301 void (*TexCoord1sv)(const GLshort *);
302 void (*TexCoord2d)(GLdouble, GLdouble);
303 void (*TexCoord2dv)(const GLdouble *);
304 void (*TexCoord2f)(GLfloat, GLfloat);
305 void (*TexCoord2fv)(const GLfloat *);
306 void (*TexCoord2i)(GLint, GLint);
307 void (*TexCoord2iv)(const GLint *);
308 void (*TexCoord2s)(GLshort, GLshort);
309 void (*TexCoord2sv)(const GLshort *);
310 void (*TexCoord3d)(GLdouble, GLdouble, GLdouble);
311 void (*TexCoord3dv)(const GLdouble *);
312 void (*TexCoord3f)(GLfloat, GLfloat, GLfloat);
313 void (*TexCoord3fv)(const GLfloat *);
314 void (*TexCoord3i)(GLint, GLint, GLint);
315 void (*TexCoord3iv)(const GLint *);
316 void (*TexCoord3s)(GLshort, GLshort, GLshort);
317 void (*TexCoord3sv)(const GLshort *);
318 void (*TexCoord4d)(GLdouble, GLdouble, GLdouble, GLdouble);
319 void (*TexCoord4dv)(const GLdouble *);
320 void (*TexCoord4f)(GLfloat, GLfloat, GLfloat, GLfloat);
321 void (*TexCoord4fv)(const GLfloat *);
322 void (*TexCoord4i)(GLint, GLint, GLint, GLint);
323 void (*TexCoord4iv)(const GLint *);
324 void (*TexCoord4s)(GLshort, GLshort, GLshort, GLshort);
325 void (*TexCoord4sv)(const GLshort *);
326 void (*TexEnvf)(GLenum, GLenum, GLfloat);
327 void (*TexEnvfv)(GLenum, GLenum, const GLfloat *);
328 void (*TexEnvi)(GLenum, GLenum, GLint);
329 void (*TexEnviv)(GLenum, GLenum, const GLint *);
330 void (*TexGend)(GLenum, GLenum, GLdouble);
331 void (*TexGendv)(GLenum, GLenum, const GLdouble *);
332 void (*TexGenf)(GLenum, GLenum, GLfloat);
333 void (*TexGenfv)(GLenum, GLenum, const GLfloat *);
334 void (*TexGeni)(GLenum, GLenum, GLint);
335 void (*TexGeniv)(GLenum, GLenum, const GLint *);
336 void (*TexImage1D)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
337 void (*TexImage2D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
338 void (*TexParameterf)(GLenum, GLenum, GLfloat);
339 void (*TexParameterfv)(GLenum, GLenum, const GLfloat *);
340 void (*TexParameteri)(GLenum, GLenum, GLint);
341 void (*TexParameteriv)(GLenum, GLenum, const GLint *);
342 void (*Translated)(GLdouble, GLdouble, GLdouble);
343 void (*Translatef)(GLfloat, GLfloat, GLfloat);
344 void (*Vertex2d)(GLdouble, GLdouble);
345 void (*Vertex2dv)(const GLdouble *);
346 void (*Vertex2f)(GLfloat, GLfloat);
347 void (*Vertex2fv)(const GLfloat *);
348 void (*Vertex2i)(GLint, GLint);
349 void (*Vertex2iv)(const GLint *);
350 void (*Vertex2s)(GLshort, GLshort);
351 void (*Vertex2sv)(const GLshort *);
352 void (*Vertex3d)(GLdouble, GLdouble, GLdouble);
353 void (*Vertex3dv)(const GLdouble *);
354 void (*Vertex3f)(GLfloat, GLfloat, GLfloat);
355 void (*Vertex3fv)(const GLfloat *);
356 void (*Vertex3i)(GLint, GLint, GLint);
357 void (*Vertex3iv)(const GLint *);
358 void (*Vertex3s)(GLshort, GLshort, GLshort);
359 void (*Vertex3sv)(const GLshort *);
360 void (*Vertex4d)(GLdouble, GLdouble, GLdouble, GLdouble);
361 void (*Vertex4dv)(const GLdouble *);
362 void (*Vertex4f)(GLfloat, GLfloat, GLfloat, GLfloat);
363 void (*Vertex4fv)(const GLfloat *);
364 void (*Vertex4i)(GLint, GLint, GLint, GLint);
365 void (*Vertex4iv)(const GLint *);
366 void (*Vertex4s)(GLshort, GLshort, GLshort, GLshort);
367 void (*Vertex4sv)(const GLshort *);
368 void (*Viewport)(GLint, GLint, GLsizei, GLsizei);
369
370 /*
371 * OpenGL 1.1
372 */
Brian Paul1210b0d1999-11-25 18:16:13 +0000373 GLboolean (*AreTexturesResident)(GLsizei, const GLuint *, GLboolean *);
374 void (*ArrayElement)(GLint);
375 void (*BindTexture)(GLenum, GLuint);
376 void (*ColorPointer)(GLint, GLenum, GLsizei, const GLvoid *);
377 void (*CopyTexImage1D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
378 void (*CopyTexImage2D)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
379 void (*CopyTexSubImage1D)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
380 void (*CopyTexSubImage2D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
381 void (*DeleteTextures)(GLsizei, const GLuint *);
382 void (*DisableClientState)(GLenum);
383 void (*DrawArrays)(GLenum, GLint, GLsizei);
384 void (*DrawElements)(GLenum, GLsizei, GLenum, const GLvoid *);
385 void (*EdgeFlagPointer)(GLsizei, const GLvoid *);
386 void (*EnableClientState)(GLenum);
387 void (*GenTextures)(GLsizei, GLuint *);
388 void (*GetPointerv)(GLenum, GLvoid **);
389 void (*IndexPointer)(GLenum, GLsizei, const GLvoid *);
390 void (*Indexub)(GLubyte);
391 void (*Indexubv)(const GLubyte *);
392 void (*InterleavedArrays)(GLenum, GLsizei, const GLvoid *);
393 GLboolean (*IsTexture)(GLuint);
394 void (*NormalPointer)(GLenum, GLsizei, const GLvoid *);
395 void (*PopClientAttrib)(void);
396 void (*PrioritizeTextures)(GLsizei, const GLuint *, const GLclampf *);
397 void (*PushClientAttrib)(GLbitfield);
398 void (*TexCoordPointer)(GLint, GLenum, GLsizei, const GLvoid *);
399 void (*TexSubImage1D)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
400 void (*TexSubImage2D)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
401 void (*VertexPointer)(GLint, GLenum, GLsizei, const GLvoid *);
Brian Paul67661b01999-12-15 12:52:31 +0000402
Brian Paul1210b0d1999-11-25 18:16:13 +0000403
404 /*
405 * OpenGL 1.2
406 */
Brian Paul1210b0d1999-11-25 18:16:13 +0000407 void (*CopyTexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
408 void (*DrawRangeElements)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
409 void (*TexImage3D)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
410 void (*TexSubImage3D)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
411
Brian Paul67661b01999-12-15 12:52:31 +0000412
413 /*
414 * GL_ARB_imaging
415 */
Brian Paul1210b0d1999-11-25 18:16:13 +0000416 void (*BlendColor)(GLclampf, GLclampf, GLclampf, GLclampf);
417 void (*BlendEquation)(GLenum);
418 void (*ColorSubTable)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
419 void (*ColorTable)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
420 void (*ColorTableParameterfv)(GLenum, GLenum, const GLfloat *);
421 void (*ColorTableParameteriv)(GLenum, GLenum, const GLint *);
422 void (*ConvolutionFilter1D)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
423 void (*ConvolutionFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
424 void (*ConvolutionParameterf)(GLenum, GLenum, GLfloat);
425 void (*ConvolutionParameterfv)(GLenum, GLenum, const GLfloat *);
426 void (*ConvolutionParameteri)(GLenum, GLenum, GLint);
427 void (*ConvolutionParameteriv)(GLenum, GLenum, const GLint *);
428 void (*CopyColorSubTable)(GLenum, GLsizei, GLint, GLint, GLsizei);
429 void (*CopyColorTable)(GLenum, GLenum, GLint, GLint, GLsizei);
430 void (*CopyConvolutionFilter1D)(GLenum, GLenum, GLint x, GLint y, GLsizei);
431 void (*CopyConvolutionFilter2D)(GLenum, GLenum, GLint x, GLint y, GLsizei, GLsizei);
432 void (*GetColorTable)(GLenum, GLenum, GLenum, GLvoid *);
433 void (*GetColorTableParameterfv)(GLenum, GLenum, GLfloat *);
434 void (*GetColorTableParameteriv)(GLenum, GLenum, GLint *);
435 void (*GetConvolutionFilter)(GLenum, GLenum, GLenum, GLvoid *);
436 void (*GetConvolutionParameterfv)(GLenum, GLenum, GLfloat *);
437 void (*GetConvolutionParameteriv)(GLenum, GLenum, GLint *);
438 void (*GetHistogram)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
439 void (*GetHistogramParameterfv)(GLenum, GLenum, GLfloat *);
440 void (*GetHistogramParameteriv)(GLenum, GLenum, GLint *);
441 void (*GetMinmax)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
442 void (*GetMinmaxParameterfv)(GLenum, GLenum, GLfloat *);
443 void (*GetMinmaxParameteriv)(GLenum, GLenum, GLint *);
444 void (*GetSeparableFilter)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
445 void (*Histogram)(GLenum, GLsizei, GLenum, GLboolean);
446 void (*Minmax)(GLenum, GLenum, GLboolean);
447 void (*ResetHistogram)(GLenum);
448 void (*ResetMinmax)(GLenum);
449 void (*SeparableFilter2D)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
Brian Paul1210b0d1999-11-25 18:16:13 +0000450
451 /*
Brian Paul67661b01999-12-15 12:52:31 +0000452 * GL_ARB_multitexture
Brian Paul1210b0d1999-11-25 18:16:13 +0000453 */
Brian Paul1210b0d1999-11-25 18:16:13 +0000454 void (*ActiveTextureARB)(GLenum);
455 void (*ClientActiveTextureARB)(GLenum);
456 void (*MultiTexCoord1dARB)(GLenum, GLdouble);
457 void (*MultiTexCoord1dvARB)(GLenum, const GLdouble *);
458 void (*MultiTexCoord1fARB)(GLenum, GLfloat);
459 void (*MultiTexCoord1fvARB)(GLenum, const GLfloat *);
460 void (*MultiTexCoord1iARB)(GLenum, GLint);
461 void (*MultiTexCoord1ivARB)(GLenum, const GLint *);
462 void (*MultiTexCoord1sARB)(GLenum, GLshort);
463 void (*MultiTexCoord1svARB)(GLenum, const GLshort *);
464 void (*MultiTexCoord2dARB)(GLenum, GLdouble, GLdouble);
465 void (*MultiTexCoord2dvARB)(GLenum, const GLdouble *);
466 void (*MultiTexCoord2fARB)(GLenum, GLfloat, GLfloat);
467 void (*MultiTexCoord2fvARB)(GLenum, const GLfloat *);
468 void (*MultiTexCoord2iARB)(GLenum, GLint, GLint);
469 void (*MultiTexCoord2ivARB)(GLenum, const GLint *);
470 void (*MultiTexCoord2sARB)(GLenum, GLshort, GLshort);
471 void (*MultiTexCoord2svARB)(GLenum, const GLshort *);
472 void (*MultiTexCoord3dARB)(GLenum, GLdouble, GLdouble, GLdouble);
473 void (*MultiTexCoord3dvARB)(GLenum, const GLdouble *);
474 void (*MultiTexCoord3fARB)(GLenum, GLfloat, GLfloat, GLfloat);
475 void (*MultiTexCoord3fvARB)(GLenum, const GLfloat *);
476 void (*MultiTexCoord3iARB)(GLenum, GLint, GLint, GLint);
477 void (*MultiTexCoord3ivARB)(GLenum, const GLint *);
478 void (*MultiTexCoord3sARB)(GLenum, GLshort, GLshort, GLshort);
479 void (*MultiTexCoord3svARB)(GLenum, const GLshort *);
480 void (*MultiTexCoord4dARB)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
481 void (*MultiTexCoord4dvARB)(GLenum, const GLdouble *);
482 void (*MultiTexCoord4fARB)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
483 void (*MultiTexCoord4fvARB)(GLenum, const GLfloat *);
484 void (*MultiTexCoord4iARB)(GLenum, GLint, GLint, GLint, GLint);
485 void (*MultiTexCoord4ivARB)(GLenum, const GLint *);
486 void (*MultiTexCoord4sARB)(GLenum, GLshort, GLshort, GLshort, GLshort);
487 void (*MultiTexCoord4svARB)(GLenum, const GLshort *);
Brian Paul1210b0d1999-11-25 18:16:13 +0000488
Brian Paul67661b01999-12-15 12:52:31 +0000489
490 /*
491 * Extensions
492 */
493
494 /* 1. GL_EXT_abgr - no functions */
495
496 /* 2. GL_EXT_blend_color */
497 void (*BlendColorEXT)(GLclampf, GLclampf, GLclampf, GLclampf);
498
499 /* 3. GL_EXT_polygon_offset */
500 void (*PolygonOffsetEXT)(GLfloat, GLfloat);
501
502 /* 4. GL_EXT_texture - no functions */
503
504 /* 5. ??? */
505
506 /* 6. GL_EXT_texture3D */
507 void (*CopyTexSubImage3DEXT)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
508 void (*TexImage3DEXT)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
509 void (*TexSubImage3DEXT)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
510
511 /* 7. GL_SGI_texture_filter4 */
512 void (*GetTexFilterFuncSGIS)(GLenum, GLenum, GLsizei, const GLfloat *);
513 void (*TexFilterFuncSGIS)(GLenum, GLenum, GLfloat *);
514
515 /* 8. ??? */
516
517 /* 9. GL_EXT_subtexture */
518 void (*TexSubImage1DEXT)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
519 void (*TexSubImage2DEXT)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
520
521 /* 10. GL_EXT_copy_texture */
522 void (*CopyTexImage1DEXT)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
523 void (*CopyTexImage2DEXT)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
524 void (*CopyTexSubImage1DEXT)(GLenum, GLint, GLint, GLint, GLint, GLsizei);
525 void (*CopyTexSubImage2DEXT)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
526
527 /* 11. GL_EXT_histogram */
528 void (*GetHistogramEXT)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
529 void (*GetHistogramParameterfvEXT)(GLenum, GLenum, GLfloat *);
530 void (*GetHistogramParameterivEXT)(GLenum, GLenum, GLint *);
531 void (*GetMinmaxEXT)(GLenum, GLboolean, GLenum, GLenum, GLvoid *);
532 void (*GetMinmaxParameterfvEXT)(GLenum, GLenum, GLfloat *);
533 void (*GetMinmaxParameterivEXT)(GLenum, GLenum, GLint *);
534 void (*HistogramEXT)(GLenum, GLsizei, GLenum, GLboolean);
535 void (*MinmaxEXT)(GLenum, GLenum, GLboolean);
536 void (*ResetHistogramEXT)(GLenum);
537 void (*ResetMinmaxEXT)(GLenum);
538
539 /* 12. GL_EXT_convolution */
540 void (*ConvolutionFilter1DEXT)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
541 void (*ConvolutionFilter2DEXT)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
542 void (*ConvolutionParameterfEXT)(GLenum, GLenum, GLfloat);
543 void (*ConvolutionParameterfvEXT)(GLenum, GLenum, const GLfloat *);
544 void (*ConvolutionParameteriEXT)(GLenum, GLenum, GLint);
545 void (*ConvolutionParameterivEXT)(GLenum, GLenum, const GLint *);
546 void (*CopyConvolutionFilter1DEXT)(GLenum, GLenum, GLint x, GLint y, GLsizei);
547 void (*CopyConvolutionFilter2DEXT)(GLenum, GLenum, GLint x, GLint y, GLsizei, GLsizei);
548 void (*GetConvolutionFilterEXT)(GLenum, GLenum, GLenum, GLvoid *);
549 void (*GetConvolutionParameterfvEXT)(GLenum, GLenum, GLfloat *);
550 void (*GetConvolutionParameterivEXT)(GLenum, GLenum, GLint *);
551 void (*GetSeparableFilterEXT)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
552 void (*SeparableFilter2DEXT)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
553
554 /* 13. GL_SGI_color_matrix - no functions */
555
556 /* 14. GL_SGI_color_table */
557 void (*ColorTableSGI)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
Brian Paule3a49d01999-12-16 12:36:54 +0000558 void (*ColorTableParameterfvSGI)(GLenum, GLenum, const GLfloat *);
559 void (*ColorTableParameterivSGI)(GLenum, GLenum, const GLint *);
Brian Paul67661b01999-12-15 12:52:31 +0000560 void (*CopyColorTableSGI)(GLenum, GLenum, GLint, GLint, GLsizei);
561 void (*GetColorTableSGI)(GLenum, GLenum, GLenum, GLvoid *);
562 void (*GetColorTableParameterfvSGI)(GLenum, GLenum, GLfloat *);
563 void (*GetColorTableParameterivSGI)(GLenum, GLenum, GLint *);
564
565 /* 15. GL_SGIS_pixel_texture */
566 void (*PixelTexGenParameterfSGIS)(GLenum, GLfloat);
567 void (*PixelTexGenParameteriSGIS)(GLenum, GLint);
568 void (*GetPixelTexGenParameterfvSGIS)(GLenum, GLfloat *);
569 void (*GetPixelTexGenParameterivSGIS)(GLenum, GLint *);
570
571 /* 16. GL_SGIS_texture4D */
572 void (*TexImage4DSGIS)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const void *);
573 void (*TexSubImage4DSGIS)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const void *);
574
575 /* 17. GL_SGI_texture_color_table - no functions */
576
577 /* 18. GL_EXT_cmyka - no functions */
578
579 /* 19. ??? */
580
581 /* 20. GL_EXT_texture_object */
582 GLboolean (*AreTexturesResidentEXT)(GLsizei, const GLuint *, GLboolean *);
583 void (*BindTextureEXT)(GLenum, GLuint);
584 void (*DeleteTexturesEXT)(GLsizei, const GLuint *);
Brian Paule3a49d01999-12-16 12:36:54 +0000585 void (*GenTexturesEXT)(GLsizei, GLuint *);
Brian Paul67661b01999-12-15 12:52:31 +0000586 GLboolean (*IsTextureEXT)(GLuint);
587 void (*PrioritizeTexturesEXT)(GLsizei, const GLuint *, const GLclampf *);
588
589 /* 21. GL_SGIS_detail_texture */
590 void (*DetailTexFuncSGIS)(GLenum, GLsizei, const GLfloat *);
591 void (*GetDetailTexFuncSGIS)(GLenum target, GLfloat *);
592
593 /* 22. GL_SGIS_sharpen_texture */
594 void (*GetSharpenTexFuncSGIS)(GLenum, GLfloat *);
595 void (*SharpenTexFuncSGIS)(GLenum, GLsizei, const GLfloat *);
596
597 /* 23. GL_EXT_packed_pixels - no functions */
598
599 /* 24. GL_SGIS_texture_lod - no functions */
600
601 /* 25. GL_SGIS_multisample */
602 void (*SampleMaskSGIS)(GLclampf, GLboolean);
603 void (*SamplePatternSGIS)(GLenum);
604
605 /* 26. ??? */
606
607 /* 27. GL_EXT_rescale_normal - no functions */
608
609 /* 28. GLX_EXT_visual_info - no functions */
610
611 /* 29. ??? */
612
613 /* 30. GL_EXT_vertex_array */
614 void (*ArrayElementEXT)(GLint);
615 void (*ColorPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const void *);
616 void (*DrawArraysEXT)(GLenum, GLint, GLsizei);
617 void (*EdgeFlagPointerEXT)(GLsizei, GLsizei, const GLboolean *);
618 void (*GetPointervEXT)(GLenum, void **);
619 void (*IndexPointerEXT)(GLenum, GLsizei, GLsizei, const void *);
620 void (*NormalPointerEXT)(GLenum, GLsizei, GLsizei, const void *);
621 void (*TexCoordPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const void *);
622 void (*VertexPointerEXT)(GLint, GLenum, GLsizei, GLsizei, const void *);
623
624 /* 31. GL_EXT_misc_attribute - no functions */
625
626 /* 32. GL_SGIS_generate_mipmap - no functions */
627
628 /* 33. GL_SGIX_clipmap - no functions */
629
630 /* 34. GL_SGIX_shadow - no functions */
631
632 /* 35. GL_SGIS_texture_edge_clamp - no functions */
633
634 /* 36. GL_SGIS_texture_border_clamp - no functions */
635
636 /* 37. GL_EXT_blend_minmax */
637 void (*BlendEquationEXT)(GLenum);
638
639 /* 38. GL_EXT_blend_subtract - no functions */
640
641 /* 39. GL_EXT_blend_logic_op - no functions */
642
643 /* 40. GLX_SGI_swap_control - GLX functions */
644
645 /* 41. GLX_SGI_video_sync - GLX functions */
646
647 /* 42. GLX_SGI_make_current_read - GLX functions */
648
649 /* 43. GLX_SGIX_video_source - GLX functions */
650
651 /* 44. GLX_EXT_visual_rating - no functions */
652
653 /* 45. GL_SGIX_interlace - no functions */
654
655 /* 46. ??? */
656
657 /* 47. GLX_EXT_import_context - GLX functions */
658
659 /* 48. ??? */
660
661 /* 49. GLX_SGIX_fbconfig - GLX functions */
662
663 /* 50. GLX_SGIX_pbuffer - GLX functions */
664
665 /* 51. GL_SGIS_texture_select - no functions */
666
667 /* 52. GL_SGIX_sprite */
668 void (*SpriteParameterfSGIX)(GLenum, GLfloat);
669 void (*SpriteParameterfvSGIX)(GLenum, const GLfloat *);
670 void (*SpriteParameteriSGIX)(GLenum, GLint);
671 void (*SpriteParameterivSGIX)(GLenum, const GLint *);
672
673 /* 53. ??? */
674
675 /* 54. GL_EXT_point_parameters */
676 void (*PointParameterfEXT)(GLenum, GLfloat);
677 void (*PointParameterfvEXT)(GLenum, const GLfloat *);
678
679 /* 55. GL_SGIX_instruments */
680 GLint (*GetInstrumentsSGIX)(void);
681 void (*InstrumentsBufferSGIX)(GLsizei, GLint *);
682 GLint (*PollInstrumentsSGIX)(GLint *);
683 void (*ReadInstrumentsSGIX)(GLint);
684 void (*StartInstrumentsSGIX)(void);
685 void (*StopInstrumentsSGIX)(GLint);
686
687 /* 56. GL_SGIX_texture_scale_bias - no functions */
688
689 /* 57. GL_SGIX_framezoom */
690 void (*FrameZoomSGIX)(GLint);
691
692 /* 58. GL_SGIX_tag_sample_buffer - no functions */
693
694 /* 59. ??? */
695
696 /* 60. GL_SGIX_reference_plane */
697 void (*ReferencePlaneSGIX)(const GLdouble *);
698
699 /* 61. GL_SGIX_flush_raster */
700 void (*FlushRasterSGIX)(void);
701
702 /* 62. GLX_SGI_cushion - GLX functions */
703
704 /* 63. GL_SGIX_depth_texture - no functions */
705
706 /* 64. ??? */
707
708 /* 65. GL_SGIX_fog_offset - no functions */
709
710 /* 66. GL_HP_image_transform */
711 void (*GetImageTransformParameterfvHP)(GLenum, GLenum, GLfloat *);
712 void (*GetImageTransformParameterivHP)(GLenum, GLenum, GLint *);
713 void (*ImageTransformParameterfHP)(GLenum, GLenum, const GLfloat);
714 void (*ImageTransformParameterfvHP)(GLenum, GLenum, const GLfloat *);
715 void (*ImageTransformParameteriHP)(GLenum, GLenum, const GLint);
716 void (*ImageTransformParameterivHP)(GLenum, GLenum, const GLint *);
717
718 /* 67. GL_HP_convolution_border_modes - no functions */
719
720 /* 68. ??? */
721
722 /* 69. GL_SGIX_texture_add_env - no functions */
723
724 /* 70. ??? */
725
726 /* 71. ??? */
727
728 /* 72. ??? */
729
730 /* 73. ??? */
731
732 /* 74. GL_EXT_color_subtable */
733 void (*ColorSubTableEXT)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const void *);
734 void (*CopyColorSubTableEXT)(GLenum, GLsizei, GLint, GLint, GLsizei);
735
736 /* 75. GLU_EXT_object_space_tess - GLU functions */
737
738 /* 76. GL_PGI_vertex_hints - no functions */
739
740 /* 77. GL_PGI_misc_hints */
741 void (*HintPGI)(GLenum, GLint);
742
743 /* 78. GL_EXT_paletted_texture */
744 /* ColorSubTableEXT already defined */
745 void (*ColorTableEXT)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
746 void (*GetColorTableEXT)(GLenum, GLenum, GLenum, GLvoid *);
747 void (*GetColorTableParameterfvEXT)(GLenum, GLenum, GLfloat *);
748 void (*GetColorTableParameterivEXT)(GLenum, GLenum, GLint *);
749
750 /* 79. GL_EXT_clip_volume_hint - no functions */
751
752 /* 80. GL_SGIX_list_priority */
753 void (*GetListParameterfvSGIX)(GLuint, GLenum, GLfloat *);
754 void (*GetListParameterivSGIX)(GLuint, GLenum, GLint *);
755 void (*ListParameterfSGIX)(GLuint, GLenum, GLfloat);
756 void (*ListParameterfvSGIX)(GLuint, GLenum, const GLfloat *);
757 void (*ListParameteriSGIX)(GLuint, GLenum, GLint);
758 void (*ListParameterivSGIX)(GLuint, GLenum, const GLint *);
759
760 /* 81. GL_SGIX_ir_instrument1 - no functions */
761
762 /* 82. ??? */
763
764 /* 83. GLX_SGIX_video_resize - GLX functions */
765
766 /* 84. GL_SGIX_texture_lod_bias - no functions */
767
768 /* 85. GLU_SGI_filter4_parameters - GLU functions */
769
770 /* 86. GLX_SGIX_dm_buffer - GLX functions */
771
772 /* 87. ??? */
773
774 /* 88. ??? */
775
776 /* 89. ??? */
777
778 /* 90. ??? */
779
780 /* 91. GLX_SGIX_swap_group - GLX functions */
781
782 /* 92. GLX_SGIX_swap_barrier - GLX functions */
783
784 /* 93. GL_EXT_index_texture - no functions */
785
786 /* 94. GL_EXT_index_material */
787 void (*IndexMaterialEXT)(GLenum, GLenum);
788
789 /* 95. GL_EXT_index_func */
790 void (*IndexFuncEXT)(GLenum, GLfloat);
791
792 /* 96. GL_EXT_index_array_formats - no functions */
793
794 /* 97. GL_EXT_compiled_vertex_array */
795 void (*LockArraysEXT)(GLint, GLsizei);
796 void (*UnlockArraysEXT)(void);
797
798 /* 98. GL_EXT_cull_vertex */
799 void (*CullParameterfvEXT)(GLenum, const GLfloat *);
800 void (*CullParameterdvEXT)(GLenum, const GLdouble *);
801
802 /* 99. ??? */
803
804 /* 100. GLU_EXT_nurbs_tessellator - GLU functions */
805
806 /* 173. GL_EXT/INGR_blend_func_separate */
Brian Paul1210b0d1999-11-25 18:16:13 +0000807 void (*BlendFuncSeparateINGR)(GLenum, GLenum, GLenum, GLenum);
Brian Paul1210b0d1999-11-25 18:16:13 +0000808
Brian Paul67661b01999-12-15 12:52:31 +0000809 /* GL_MESA_window_pos */
Brian Paul1210b0d1999-11-25 18:16:13 +0000810 void (*WindowPos4fMESA)(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
Brian Paul1210b0d1999-11-25 18:16:13 +0000811
Brian Paul67661b01999-12-15 12:52:31 +0000812 /* GL_MESA_resize_buffers */
Brian Paul1210b0d1999-11-25 18:16:13 +0000813 void (*ResizeBuffersMESA)(void);
Brian Paul1210b0d1999-11-25 18:16:13 +0000814
Brian Paul67661b01999-12-15 12:52:31 +0000815 /* GL_ARB_transpose_matrix */
Brian Paulcd963881999-12-10 20:01:06 +0000816 void (*LoadTransposeMatrixdARB)(const GLdouble m[16]);
817 void (*LoadTransposeMatrixfARB)(const GLfloat m[16]);
818 void (*MultTransposeMatrixdARB)(const GLdouble m[16]);
819 void (*MultTransposeMatrixfARB)(const GLfloat m[16]);
Brian Paul1210b0d1999-11-25 18:16:13 +0000820
Brian Paul67661b01999-12-15 12:52:31 +0000821#if 0
Brian Paul4329fd51999-11-27 21:30:10 +0000822 void *ExtensionFuncs[_GLAPI_EXTRA_SLOTS];
Brian Paul67661b01999-12-15 12:52:31 +0000823#endif
Brian Paul1210b0d1999-11-25 18:16:13 +0000824};
825
826
827#endif