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