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