Brian Paul | fbd8f21 | 1999-11-11 01:22:25 +0000 | [diff] [blame^] | 1 | /* $Id: glapi.c,v 1.1 1999/11/11 01:22:26 brianp Exp $ */ |
| 2 | |
| 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 | #include <assert.h> |
| 29 | #include <stdio.h> |
| 30 | #include <stdlib.h> |
| 31 | #include <strings.h> |
| 32 | #include "glapi.h" |
| 33 | #include "glapinoop.h" |
| 34 | |
| 35 | |
| 36 | |
| 37 | #if defined(MULTI_THREAD) |
| 38 | |
| 39 | /* XXX to do */ |
| 40 | |
| 41 | #else |
| 42 | |
| 43 | static struct _glapi_table *Dispatch = &__glapi_noop_table; |
| 44 | #define DISPATCH(FUNC) (Dispatch->FUNC) |
| 45 | |
| 46 | #endif |
| 47 | |
| 48 | |
| 49 | void GLAPIENTRY glAccum(GLenum op, GLfloat value) |
| 50 | { |
| 51 | DISPATCH(Accum)(op, value); |
| 52 | } |
| 53 | |
| 54 | void GLAPIENTRY glAlphaFunc(GLenum func, GLclampf ref) |
| 55 | { |
| 56 | DISPATCH(AlphaFunc)(func, ref); |
| 57 | } |
| 58 | |
| 59 | void GLAPIENTRY glBegin(GLenum mode) |
| 60 | { |
| 61 | DISPATCH(Begin)(mode); |
| 62 | } |
| 63 | |
| 64 | void GLAPIENTRY glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
| 65 | { |
| 66 | DISPATCH(Bitmap)(width, height, xorig, yorig, xmove, ymove, bitmap); |
| 67 | } |
| 68 | |
| 69 | void GLAPIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor) |
| 70 | { |
| 71 | DISPATCH(BlendFunc)(sfactor, dfactor); |
| 72 | } |
| 73 | |
| 74 | void GLAPIENTRY glCallList(GLuint list) |
| 75 | { |
| 76 | DISPATCH(CallList)(list); |
| 77 | } |
| 78 | |
| 79 | void GLAPIENTRY glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
| 80 | { |
| 81 | DISPATCH(CallLists)(n, type, lists); |
| 82 | } |
| 83 | |
| 84 | void GLAPIENTRY glClear(GLbitfield mask) |
| 85 | { |
| 86 | DISPATCH(Clear)(mask); |
| 87 | } |
| 88 | |
| 89 | void GLAPIENTRY glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 90 | { |
| 91 | DISPATCH(ClearAccum)(red, green, blue, alpha); |
| 92 | } |
| 93 | |
| 94 | void GLAPIENTRY glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| 95 | { |
| 96 | DISPATCH(ClearColor)(red, green, blue, alpha); |
| 97 | } |
| 98 | |
| 99 | void GLAPIENTRY glClearDepth(GLclampd depth) |
| 100 | { |
| 101 | DISPATCH(ClearDepth)(depth); |
| 102 | } |
| 103 | |
| 104 | void GLAPIENTRY glClearIndex(GLfloat c) |
| 105 | { |
| 106 | DISPATCH(ClearIndex)(c); |
| 107 | } |
| 108 | |
| 109 | void GLAPIENTRY glClearStencil(GLint s) |
| 110 | { |
| 111 | DISPATCH(ClearStencil)(s); |
| 112 | } |
| 113 | |
| 114 | void GLAPIENTRY glClipPlane(GLenum plane, const GLdouble *equation) |
| 115 | { |
| 116 | DISPATCH(ClipPlane)(plane, equation); |
| 117 | } |
| 118 | |
| 119 | void GLAPIENTRY glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| 120 | { |
| 121 | DISPATCH(Color3b)(red, green, blue); |
| 122 | } |
| 123 | |
| 124 | void GLAPIENTRY glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| 125 | { |
| 126 | DISPATCH(Color3d)(red, green, blue); |
| 127 | } |
| 128 | |
| 129 | void GLAPIENTRY glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| 130 | { |
| 131 | DISPATCH(Color3f)(red, green, blue); |
| 132 | } |
| 133 | |
| 134 | void GLAPIENTRY glColor3i(GLint red, GLint green, GLint blue) |
| 135 | { |
| 136 | DISPATCH(Color3i)(red, green, blue); |
| 137 | } |
| 138 | |
| 139 | void GLAPIENTRY glColor3s(GLshort red, GLshort green, GLshort blue) |
| 140 | { |
| 141 | DISPATCH(Color3s)(red, green, blue); |
| 142 | } |
| 143 | |
| 144 | void GLAPIENTRY glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| 145 | { |
| 146 | DISPATCH(Color3ub)(red, green, blue); |
| 147 | } |
| 148 | |
| 149 | void GLAPIENTRY glColor3ui(GLuint red, GLuint green, GLuint blue) |
| 150 | { |
| 151 | DISPATCH(Color3ui)(red, green, blue); |
| 152 | } |
| 153 | |
| 154 | void GLAPIENTRY glColor3us(GLushort red, GLushort green, GLushort blue) |
| 155 | { |
| 156 | DISPATCH(Color3us)(red, green, blue); |
| 157 | } |
| 158 | |
| 159 | void GLAPIENTRY glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
| 160 | { |
| 161 | DISPATCH(Color4b)(red, green, blue, alpha); |
| 162 | } |
| 163 | |
| 164 | void GLAPIENTRY glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
| 165 | { |
| 166 | DISPATCH(Color4d)(red, green, blue, alpha); |
| 167 | } |
| 168 | |
| 169 | void GLAPIENTRY glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 170 | { |
| 171 | DISPATCH(Color4f)(red, green, blue, alpha); |
| 172 | } |
| 173 | |
| 174 | void GLAPIENTRY glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
| 175 | { |
| 176 | DISPATCH(Color4i)(red, green, blue, alpha); |
| 177 | } |
| 178 | |
| 179 | void GLAPIENTRY glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
| 180 | { |
| 181 | DISPATCH(Color4s)(red, green, blue, alpha); |
| 182 | } |
| 183 | |
| 184 | void GLAPIENTRY glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| 185 | { |
| 186 | DISPATCH(Color4ub)(red, green, blue, alpha); |
| 187 | } |
| 188 | |
| 189 | void GLAPIENTRY glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
| 190 | { |
| 191 | DISPATCH(Color4ui)(red, green, blue, alpha); |
| 192 | } |
| 193 | |
| 194 | void GLAPIENTRY glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
| 195 | { |
| 196 | DISPATCH(Color4us)(red, green, blue, alpha); |
| 197 | } |
| 198 | |
| 199 | void GLAPIENTRY glColor3bv(const GLbyte *v) |
| 200 | { |
| 201 | DISPATCH(Color3bv)(v); |
| 202 | } |
| 203 | |
| 204 | void GLAPIENTRY glColor3dv(const GLdouble *v) |
| 205 | { |
| 206 | DISPATCH(Color3dv)(v); |
| 207 | } |
| 208 | |
| 209 | void GLAPIENTRY glColor3fv(const GLfloat *v) |
| 210 | { |
| 211 | DISPATCH(Color3fv)(v); |
| 212 | } |
| 213 | |
| 214 | void GLAPIENTRY glColor3iv(const GLint *v) |
| 215 | { |
| 216 | DISPATCH(Color3iv)(v); |
| 217 | } |
| 218 | |
| 219 | void GLAPIENTRY glColor3sv(const GLshort *v) |
| 220 | { |
| 221 | DISPATCH(Color3sv)(v); |
| 222 | } |
| 223 | |
| 224 | void GLAPIENTRY glColor3ubv(const GLubyte *v) |
| 225 | { |
| 226 | DISPATCH(Color3ubv)(v); |
| 227 | } |
| 228 | |
| 229 | void GLAPIENTRY glColor3uiv(const GLuint *v) |
| 230 | { |
| 231 | DISPATCH(Color3uiv)(v); |
| 232 | } |
| 233 | |
| 234 | void GLAPIENTRY glColor3usv(const GLushort *v) |
| 235 | { |
| 236 | DISPATCH(Color3usv)(v); |
| 237 | } |
| 238 | |
| 239 | void GLAPIENTRY glColor4bv(const GLbyte *v) |
| 240 | { |
| 241 | DISPATCH(Color4bv)(v); |
| 242 | } |
| 243 | |
| 244 | void GLAPIENTRY glColor4dv(const GLdouble *v) |
| 245 | { |
| 246 | DISPATCH(Color4dv)(v); |
| 247 | } |
| 248 | |
| 249 | void GLAPIENTRY glColor4fv(const GLfloat *v) |
| 250 | { |
| 251 | DISPATCH(Color4fv)(v); |
| 252 | } |
| 253 | |
| 254 | void GLAPIENTRY glColor4iv(const GLint *v) |
| 255 | { |
| 256 | DISPATCH(Color4iv)(v); |
| 257 | } |
| 258 | |
| 259 | void GLAPIENTRY glColor4sv(const GLshort *v) |
| 260 | { |
| 261 | DISPATCH(Color4sv)(v); |
| 262 | } |
| 263 | |
| 264 | void GLAPIENTRY glColor4ubv(const GLubyte *v) |
| 265 | { |
| 266 | DISPATCH(Color4ubv)(v); |
| 267 | } |
| 268 | |
| 269 | void GLAPIENTRY glColor4uiv(const GLuint *v) |
| 270 | { |
| 271 | DISPATCH(Color4uiv)(v); |
| 272 | } |
| 273 | |
| 274 | void GLAPIENTRY glColor4usv(const GLushort *v) |
| 275 | { |
| 276 | DISPATCH(Color4usv)(v); |
| 277 | } |
| 278 | |
| 279 | void GLAPIENTRY glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| 280 | { |
| 281 | DISPATCH(ColorMask)(red, green, blue, alpha); |
| 282 | } |
| 283 | |
| 284 | void GLAPIENTRY glColorMaterial(GLenum face, GLenum mode) |
| 285 | { |
| 286 | DISPATCH(ColorMaterial)(face, mode); |
| 287 | } |
| 288 | |
| 289 | void GLAPIENTRY glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
| 290 | { |
| 291 | DISPATCH(CopyPixels)(x, y, width, height, type); |
| 292 | } |
| 293 | |
| 294 | void GLAPIENTRY glCullFace(GLenum mode) |
| 295 | { |
| 296 | DISPATCH(CullFace)(mode); |
| 297 | } |
| 298 | |
| 299 | void GLAPIENTRY glDepthFunc(GLenum func) |
| 300 | { |
| 301 | DISPATCH(DepthFunc)(func); |
| 302 | } |
| 303 | |
| 304 | void GLAPIENTRY glDepthMask(GLboolean flag) |
| 305 | { |
| 306 | DISPATCH(DepthMask)(flag); |
| 307 | } |
| 308 | |
| 309 | void GLAPIENTRY glDepthRange(GLclampd nearVal, GLclampd farVal) |
| 310 | { |
| 311 | DISPATCH(DepthRange)(nearVal, farVal); |
| 312 | } |
| 313 | |
| 314 | void GLAPIENTRY glDeleteLists(GLuint list, GLsizei range) |
| 315 | { |
| 316 | DISPATCH(DeleteLists)(list, range); |
| 317 | } |
| 318 | |
| 319 | void GLAPIENTRY glDisable(GLenum cap) |
| 320 | { |
| 321 | DISPATCH(Disable)(cap); |
| 322 | } |
| 323 | |
| 324 | void GLAPIENTRY glDisableClientState(GLenum cap) |
| 325 | { |
| 326 | DISPATCH(DisableClientState)(cap); |
| 327 | } |
| 328 | |
| 329 | void GLAPIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) |
| 330 | { |
| 331 | DISPATCH(DrawArrays)(mode, first, count); |
| 332 | } |
| 333 | |
| 334 | void GLAPIENTRY glDrawBuffer(GLenum mode) |
| 335 | { |
| 336 | DISPATCH(DrawBuffer)(mode); |
| 337 | } |
| 338 | |
| 339 | void GLAPIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
| 340 | { |
| 341 | DISPATCH(DrawElements)(mode, count, type, indices); |
| 342 | } |
| 343 | |
| 344 | void GLAPIENTRY glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 345 | { |
| 346 | DISPATCH(DrawPixels)(width, height, format, type, pixels); |
| 347 | } |
| 348 | |
| 349 | void GLAPIENTRY glEnable(GLenum mode) |
| 350 | { |
| 351 | DISPATCH(Enable)(mode); |
| 352 | } |
| 353 | |
| 354 | void GLAPIENTRY glEnableClientState(GLenum cap) |
| 355 | { |
| 356 | DISPATCH(EnableClientState)(cap); |
| 357 | } |
| 358 | |
| 359 | void GLAPIENTRY glEnd(void) |
| 360 | { |
| 361 | DISPATCH(End)(); |
| 362 | } |
| 363 | |
| 364 | void GLAPIENTRY glEndList(void) |
| 365 | { |
| 366 | DISPATCH(EndList)(); |
| 367 | } |
| 368 | |
| 369 | void GLAPIENTRY glEvalCoord1d(GLdouble u) |
| 370 | { |
| 371 | DISPATCH(EvalCoord1d)(u); |
| 372 | } |
| 373 | |
| 374 | void GLAPIENTRY glEvalCoord1f(GLfloat u) |
| 375 | { |
| 376 | DISPATCH(EvalCoord1f)(u); |
| 377 | } |
| 378 | |
| 379 | void GLAPIENTRY glEvalCoord1dv(const GLdouble *u) |
| 380 | { |
| 381 | DISPATCH(EvalCoord1dv)(u); |
| 382 | } |
| 383 | |
| 384 | void GLAPIENTRY glEvalCoord1fv(const GLfloat *u) |
| 385 | { |
| 386 | DISPATCH(EvalCoord1fv)(u); |
| 387 | } |
| 388 | |
| 389 | void GLAPIENTRY glEvalCoord2d(GLdouble u, GLdouble v) |
| 390 | { |
| 391 | DISPATCH(EvalCoord2d)(u, v); |
| 392 | } |
| 393 | |
| 394 | void GLAPIENTRY glEvalCoord2f(GLfloat u, GLfloat v) |
| 395 | { |
| 396 | DISPATCH(EvalCoord2f)(u, v); |
| 397 | } |
| 398 | |
| 399 | void GLAPIENTRY glEvalCoord2dv(const GLdouble *u) |
| 400 | { |
| 401 | DISPATCH(EvalCoord2dv)(u); |
| 402 | } |
| 403 | |
| 404 | void GLAPIENTRY glEvalCoord2fv(const GLfloat *u) |
| 405 | { |
| 406 | DISPATCH(EvalCoord2fv)(u); |
| 407 | } |
| 408 | |
| 409 | void GLAPIENTRY glEvalPoint1(GLint i) |
| 410 | { |
| 411 | DISPATCH(EvalPoint1)(i); |
| 412 | } |
| 413 | |
| 414 | void GLAPIENTRY glEvalPoint2(GLint i, GLint j) |
| 415 | { |
| 416 | DISPATCH(EvalPoint2)(i, j); |
| 417 | } |
| 418 | |
| 419 | void GLAPIENTRY glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
| 420 | { |
| 421 | DISPATCH(EvalMesh1)(mode, i1, i2); |
| 422 | } |
| 423 | |
| 424 | void GLAPIENTRY glEdgeFlag(GLboolean flag) |
| 425 | { |
| 426 | DISPATCH(EdgeFlag)(flag); |
| 427 | } |
| 428 | |
| 429 | void GLAPIENTRY glEdgeFlagv(const GLboolean *flag) |
| 430 | { |
| 431 | DISPATCH(EdgeFlagv)(flag); |
| 432 | } |
| 433 | |
| 434 | void GLAPIENTRY glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
| 435 | { |
| 436 | DISPATCH(EvalMesh2)(mode, i1, i2, j1, j2); |
| 437 | } |
| 438 | |
| 439 | void GLAPIENTRY glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
| 440 | { |
| 441 | DISPATCH(FeedbackBuffer)(size, type, buffer); |
| 442 | } |
| 443 | |
| 444 | void GLAPIENTRY glFinish(void) |
| 445 | { |
| 446 | DISPATCH(Finish)(); |
| 447 | } |
| 448 | |
| 449 | void GLAPIENTRY glFlush(void) |
| 450 | { |
| 451 | DISPATCH(Flush)(); |
| 452 | } |
| 453 | |
| 454 | void GLAPIENTRY glFogf(GLenum pname, GLfloat param) |
| 455 | { |
| 456 | DISPATCH(Fogf)(pname, param); |
| 457 | } |
| 458 | |
| 459 | void GLAPIENTRY glFogi(GLenum pname, GLint param) |
| 460 | { |
| 461 | DISPATCH(Fogi)(pname, param); |
| 462 | } |
| 463 | |
| 464 | void GLAPIENTRY glFogfv(GLenum pname, const GLfloat *params) |
| 465 | { |
| 466 | DISPATCH(Fogfv)(pname, params); |
| 467 | } |
| 468 | |
| 469 | void GLAPIENTRY glFogiv(GLenum pname, const GLint *params) |
| 470 | { |
| 471 | DISPATCH(Fogiv)(pname, params); |
| 472 | } |
| 473 | |
| 474 | void GLAPIENTRY glFrontFace(GLenum mode) |
| 475 | { |
| 476 | DISPATCH(FrontFace)(mode); |
| 477 | } |
| 478 | |
| 479 | void GLAPIENTRY glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) |
| 480 | { |
| 481 | DISPATCH(Frustum)(left, right, bottom, top, nearval, farval); |
| 482 | } |
| 483 | |
| 484 | GLuint GLAPIENTRY glGenLists(GLsizei range) |
| 485 | { |
| 486 | return DISPATCH(GenLists)(range); |
| 487 | } |
| 488 | |
| 489 | void GLAPIENTRY glGenTextures(GLsizei n, GLuint *textures) |
| 490 | { |
| 491 | DISPATCH(GenTextures)(n, textures); |
| 492 | } |
| 493 | |
| 494 | void GLAPIENTRY glGetBooleanv(GLenum pname, GLboolean *params) |
| 495 | { |
| 496 | DISPATCH(GetBooleanv)(pname, params); |
| 497 | } |
| 498 | |
| 499 | void GLAPIENTRY glGetClipPlane(GLenum plane, GLdouble *equation) |
| 500 | { |
| 501 | DISPATCH(GetClipPlane)(plane, equation); |
| 502 | } |
| 503 | |
| 504 | void GLAPIENTRY glGetDoublev(GLenum pname, GLdouble *params) |
| 505 | { |
| 506 | DISPATCH(GetDoublev)(pname, params); |
| 507 | } |
| 508 | |
| 509 | GLenum GLAPIENTRY glGetError(void) |
| 510 | { |
| 511 | return DISPATCH(GetError)(); |
| 512 | } |
| 513 | |
| 514 | void GLAPIENTRY glGetFloatv(GLenum pname, GLfloat *params) |
| 515 | { |
| 516 | DISPATCH(GetFloatv)(pname, params); |
| 517 | } |
| 518 | |
| 519 | void GLAPIENTRY glGetIntegerv(GLenum pname, GLint *params) |
| 520 | { |
| 521 | DISPATCH(GetIntegerv)(pname, params); |
| 522 | } |
| 523 | |
| 524 | void GLAPIENTRY glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
| 525 | { |
| 526 | DISPATCH(GetLightfv)(light, pname, params); |
| 527 | } |
| 528 | |
| 529 | void GLAPIENTRY glGetLightiv(GLenum light, GLenum pname, GLint *params) |
| 530 | { |
| 531 | DISPATCH(GetLightiv)(light, pname, params); |
| 532 | } |
| 533 | |
| 534 | void GLAPIENTRY glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
| 535 | { |
| 536 | DISPATCH(GetMapdv)(target, query, v); |
| 537 | } |
| 538 | |
| 539 | void GLAPIENTRY glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
| 540 | { |
| 541 | DISPATCH(GetMapfv)(target, query, v); |
| 542 | } |
| 543 | |
| 544 | void GLAPIENTRY glGetMapiv(GLenum target, GLenum query, GLint *v) |
| 545 | { |
| 546 | DISPATCH(GetMapiv)(target, query, v); |
| 547 | } |
| 548 | |
| 549 | void GLAPIENTRY glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
| 550 | { |
| 551 | DISPATCH(GetMaterialfv)(face, pname, params); |
| 552 | } |
| 553 | |
| 554 | void GLAPIENTRY glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
| 555 | { |
| 556 | DISPATCH(GetMaterialiv)(face, pname, params); |
| 557 | } |
| 558 | |
| 559 | void GLAPIENTRY glGetPixelMapfv(GLenum map, GLfloat *values) |
| 560 | { |
| 561 | DISPATCH(GetPixelMapfv)(map, values); |
| 562 | } |
| 563 | |
| 564 | void GLAPIENTRY glGetPixelMapuiv(GLenum map, GLuint *values) |
| 565 | { |
| 566 | DISPATCH(GetPixelMapuiv)(map, values); |
| 567 | } |
| 568 | |
| 569 | void GLAPIENTRY glGetPixelMapusv(GLenum map, GLushort *values) |
| 570 | { |
| 571 | DISPATCH(GetPixelMapusv)(map, values); |
| 572 | } |
| 573 | |
| 574 | void GLAPIENTRY glGetPointerv(GLenum pname, GLvoid **params) |
| 575 | { |
| 576 | DISPATCH(GetPointerv)(pname, params); |
| 577 | } |
| 578 | |
| 579 | void GLAPIENTRY glGetPolygonStipple(GLubyte *mask) |
| 580 | { |
| 581 | DISPATCH(GetPolygonStipple)(mask); |
| 582 | } |
| 583 | |
| 584 | const GLubyte * GLAPIENTRY glGetString(GLenum name) |
| 585 | { |
| 586 | return DISPATCH(GetString)(name); |
| 587 | } |
| 588 | |
| 589 | void GLAPIENTRY glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
| 590 | { |
| 591 | DISPATCH(GetTexEnvfv)(target, pname, params); |
| 592 | } |
| 593 | |
| 594 | void GLAPIENTRY glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
| 595 | { |
| 596 | DISPATCH(GetTexEnviv)(target, pname, params); |
| 597 | } |
| 598 | |
| 599 | void GLAPIENTRY glGetTexGeniv(GLenum target, GLenum pname, GLint *params) |
| 600 | { |
| 601 | DISPATCH(GetTexGeniv)(target, pname, params); |
| 602 | } |
| 603 | |
| 604 | void GLAPIENTRY glGetTexGendv(GLenum target, GLenum pname, GLdouble *params) |
| 605 | { |
| 606 | DISPATCH(GetTexGendv)(target, pname, params); |
| 607 | } |
| 608 | |
| 609 | void GLAPIENTRY glGetTexGenfv(GLenum target, GLenum pname, GLfloat *params) |
| 610 | { |
| 611 | DISPATCH(GetTexGenfv)(target, pname, params); |
| 612 | } |
| 613 | |
| 614 | void GLAPIENTRY glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| 615 | { |
| 616 | DISPATCH(GetTexImage)(target, level, format, type, pixels); |
| 617 | } |
| 618 | |
| 619 | void GLAPIENTRY glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
| 620 | { |
| 621 | DISPATCH(GetTexLevelParameterfv)(target, level, pname, params); |
| 622 | } |
| 623 | |
| 624 | void GLAPIENTRY glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
| 625 | { |
| 626 | DISPATCH(GetTexLevelParameteriv)(target, level, pname, params); |
| 627 | } |
| 628 | |
| 629 | void GLAPIENTRY glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 630 | { |
| 631 | DISPATCH(GetTexParameterfv)(target, pname, params); |
| 632 | } |
| 633 | |
| 634 | void GLAPIENTRY glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
| 635 | { |
| 636 | DISPATCH(GetTexParameteriv)(target, pname, params); |
| 637 | } |
| 638 | |
| 639 | void GLAPIENTRY glHint(GLenum target, GLenum mode) |
| 640 | { |
| 641 | DISPATCH(Hint)(target, mode); |
| 642 | } |
| 643 | |
| 644 | void GLAPIENTRY glIndexd(GLdouble c) |
| 645 | { |
| 646 | DISPATCH(Indexd)(c); |
| 647 | } |
| 648 | |
| 649 | void GLAPIENTRY glIndexdv(const GLdouble *c) |
| 650 | { |
| 651 | DISPATCH(Indexdv)(c); |
| 652 | } |
| 653 | |
| 654 | void GLAPIENTRY glIndexf(GLfloat c) |
| 655 | { |
| 656 | DISPATCH(Indexf)(c); |
| 657 | } |
| 658 | |
| 659 | void GLAPIENTRY glIndexfv(const GLfloat *c) |
| 660 | { |
| 661 | DISPATCH(Indexfv)(c); |
| 662 | } |
| 663 | |
| 664 | void GLAPIENTRY glIndexi(GLint c) |
| 665 | { |
| 666 | DISPATCH(Indexi)(c); |
| 667 | } |
| 668 | |
| 669 | void GLAPIENTRY glIndexiv(const GLint *c) |
| 670 | { |
| 671 | DISPATCH(Indexiv)(c); |
| 672 | } |
| 673 | |
| 674 | void GLAPIENTRY glIndexs(GLshort c) |
| 675 | { |
| 676 | DISPATCH(Indexs)(c); |
| 677 | } |
| 678 | |
| 679 | void GLAPIENTRY glIndexsv(const GLshort *c) |
| 680 | { |
| 681 | DISPATCH(Indexsv)(c); |
| 682 | } |
| 683 | |
| 684 | void GLAPIENTRY glIndexub(GLubyte c) |
| 685 | { |
| 686 | DISPATCH(Indexub)(c); |
| 687 | } |
| 688 | |
| 689 | void GLAPIENTRY glIndexubv(const GLubyte *c) |
| 690 | { |
| 691 | DISPATCH(Indexubv)(c); |
| 692 | } |
| 693 | |
| 694 | void GLAPIENTRY glIndexMask(GLuint mask) |
| 695 | { |
| 696 | DISPATCH(IndexMask)(mask); |
| 697 | } |
| 698 | |
| 699 | void GLAPIENTRY glInitNames(void) |
| 700 | { |
| 701 | DISPATCH(InitNames)(); |
| 702 | } |
| 703 | |
| 704 | void GLAPIENTRY glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
| 705 | { |
| 706 | DISPATCH(InterleavedArrays)(format, stride, pointer); |
| 707 | } |
| 708 | |
| 709 | GLboolean GLAPIENTRY glIsList(GLuint list) |
| 710 | { |
| 711 | return DISPATCH(IsList)(list); |
| 712 | } |
| 713 | |
| 714 | GLboolean GLAPIENTRY glIsTexture(GLuint texture) |
| 715 | { |
| 716 | return DISPATCH(IsTexture)(texture); |
| 717 | } |
| 718 | |
| 719 | void GLAPIENTRY glLightf(GLenum light, GLenum pname, GLfloat param) |
| 720 | { |
| 721 | DISPATCH(Lightf)(light, pname, param); |
| 722 | } |
| 723 | |
| 724 | void GLAPIENTRY glLighti(GLenum light, GLenum pname, GLint param) |
| 725 | { |
| 726 | DISPATCH(Lighti)(light, pname, param); |
| 727 | } |
| 728 | |
| 729 | void GLAPIENTRY glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
| 730 | { |
| 731 | DISPATCH(Lightfv)(light, pname, params); |
| 732 | } |
| 733 | |
| 734 | void GLAPIENTRY glLightiv(GLenum light, GLenum pname, const GLint *params) |
| 735 | { |
| 736 | DISPATCH(Lightiv)(light, pname, params); |
| 737 | } |
| 738 | |
| 739 | void GLAPIENTRY glLightModelf(GLenum pname, GLfloat param) |
| 740 | { |
| 741 | DISPATCH(LightModelf)(pname, param); |
| 742 | } |
| 743 | |
| 744 | void GLAPIENTRY glLightModeli(GLenum pname, GLint param) |
| 745 | { |
| 746 | DISPATCH(LightModeli)(pname, param); |
| 747 | } |
| 748 | |
| 749 | void GLAPIENTRY glLightModelfv(GLenum pname, const GLfloat *params) |
| 750 | { |
| 751 | DISPATCH(LightModelfv)(pname, params); |
| 752 | } |
| 753 | |
| 754 | void GLAPIENTRY glLightModeliv(GLenum pname, const GLint *params) |
| 755 | { |
| 756 | DISPATCH(LightModeliv)(pname, params); |
| 757 | } |
| 758 | |
| 759 | void GLAPIENTRY glLineWidth(GLfloat width) |
| 760 | { |
| 761 | DISPATCH(LineWidth)(width); |
| 762 | } |
| 763 | |
| 764 | void GLAPIENTRY glLineStipple(GLint factor, GLushort pattern) |
| 765 | { |
| 766 | DISPATCH(LineStipple)(factor, pattern); |
| 767 | } |
| 768 | |
| 769 | void GLAPIENTRY glListBase(GLuint base) |
| 770 | { |
| 771 | DISPATCH(ListBase)(base); |
| 772 | } |
| 773 | |
| 774 | void GLAPIENTRY glLoadIdentity(void) |
| 775 | { |
| 776 | DISPATCH(LoadIdentity)(); |
| 777 | } |
| 778 | |
| 779 | void GLAPIENTRY glLoadMatrixd(const GLdouble *m) |
| 780 | { |
| 781 | DISPATCH(LoadMatrixd)(m); |
| 782 | } |
| 783 | |
| 784 | void GLAPIENTRY glLoadMatrixf(const GLfloat *m) |
| 785 | { |
| 786 | DISPATCH(LoadMatrixf)(m); |
| 787 | } |
| 788 | |
| 789 | void GLAPIENTRY glLoadName(GLuint name) |
| 790 | { |
| 791 | DISPATCH(LoadName)(name); |
| 792 | } |
| 793 | |
| 794 | void GLAPIENTRY glLogicOp(GLenum opcode) |
| 795 | { |
| 796 | DISPATCH(LogicOp)(opcode); |
| 797 | } |
| 798 | |
| 799 | void GLAPIENTRY glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
| 800 | { |
| 801 | DISPATCH(Map1d)(target, u1, u2, stride, order, points); |
| 802 | } |
| 803 | |
| 804 | void GLAPIENTRY glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
| 805 | { |
| 806 | DISPATCH(Map1f)(target, u1, u2, stride, order, points); |
| 807 | } |
| 808 | |
| 809 | void GLAPIENTRY glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
| 810 | { |
| 811 | DISPATCH(Map2d)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 812 | } |
| 813 | |
| 814 | void GLAPIENTRY glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
| 815 | { |
| 816 | DISPATCH(Map2f)(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 817 | } |
| 818 | |
| 819 | void GLAPIENTRY glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
| 820 | { |
| 821 | DISPATCH(MapGrid1d)(un, u1, u2); |
| 822 | } |
| 823 | |
| 824 | void GLAPIENTRY glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
| 825 | { |
| 826 | DISPATCH(MapGrid1f)(un, u1, u2); |
| 827 | } |
| 828 | |
| 829 | void GLAPIENTRY glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
| 830 | { |
| 831 | DISPATCH(MapGrid2d)(un, u1, u2, vn, v1, v2); |
| 832 | } |
| 833 | |
| 834 | void GLAPIENTRY glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
| 835 | { |
| 836 | DISPATCH(MapGrid2f)(un, u1, u2, vn, v1, v2); |
| 837 | } |
| 838 | |
| 839 | void GLAPIENTRY glMaterialf(GLenum face, GLenum pname, GLfloat param) |
| 840 | { |
| 841 | DISPATCH(Materialf)(face, pname, param); |
| 842 | } |
| 843 | |
| 844 | void GLAPIENTRY glMateriali(GLenum face, GLenum pname, GLint param) |
| 845 | { |
| 846 | DISPATCH(Materiali)(face, pname, param); |
| 847 | } |
| 848 | |
| 849 | void GLAPIENTRY glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
| 850 | { |
| 851 | DISPATCH(Materialfv)(face, pname, params); |
| 852 | } |
| 853 | |
| 854 | void GLAPIENTRY glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
| 855 | { |
| 856 | DISPATCH(Materialiv)(face, pname, params); |
| 857 | } |
| 858 | |
| 859 | void GLAPIENTRY glMatrixMode(GLenum mode) |
| 860 | { |
| 861 | DISPATCH(MatrixMode)(mode); |
| 862 | } |
| 863 | |
| 864 | void GLAPIENTRY glMultMatrixd(const GLdouble *m) |
| 865 | { |
| 866 | DISPATCH(MultMatrixd)(m); |
| 867 | } |
| 868 | |
| 869 | void GLAPIENTRY glMultMatrixf(const GLfloat *m) |
| 870 | { |
| 871 | DISPATCH(MultMatrixf)(m); |
| 872 | } |
| 873 | |
| 874 | void GLAPIENTRY glNewList(GLuint list, GLenum mode) |
| 875 | { |
| 876 | DISPATCH(NewList)(list, mode); |
| 877 | } |
| 878 | |
| 879 | void GLAPIENTRY glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
| 880 | { |
| 881 | DISPATCH(Normal3b)(nx, ny, nz); |
| 882 | } |
| 883 | |
| 884 | void GLAPIENTRY glNormal3bv(const GLbyte *v) |
| 885 | { |
| 886 | DISPATCH(Normal3bv)(v); |
| 887 | } |
| 888 | |
| 889 | void GLAPIENTRY glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
| 890 | { |
| 891 | DISPATCH(Normal3d)(nx, ny, nz); |
| 892 | } |
| 893 | |
| 894 | void GLAPIENTRY glNormal3dv(const GLdouble *v) |
| 895 | { |
| 896 | DISPATCH(Normal3dv)(v); |
| 897 | } |
| 898 | |
| 899 | void GLAPIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
| 900 | { |
| 901 | DISPATCH(Normal3f)(nx, ny, nz); |
| 902 | } |
| 903 | |
| 904 | void GLAPIENTRY glNormal3fv(const GLfloat *v) |
| 905 | { |
| 906 | DISPATCH(Normal3fv)(v); |
| 907 | } |
| 908 | |
| 909 | void GLAPIENTRY glNormal3i(GLint nx, GLint ny, GLint nz) |
| 910 | { |
| 911 | DISPATCH(Normal3i)(nx, ny, nz); |
| 912 | } |
| 913 | |
| 914 | void GLAPIENTRY glNormal3iv(const GLint *v) |
| 915 | { |
| 916 | DISPATCH(Normal3iv)(v); |
| 917 | } |
| 918 | |
| 919 | void GLAPIENTRY glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
| 920 | { |
| 921 | DISPATCH(Normal3s)(nx, ny, nz); |
| 922 | } |
| 923 | |
| 924 | void GLAPIENTRY glNormal3sv(const GLshort *v) |
| 925 | { |
| 926 | DISPATCH(Normal3sv)(v); |
| 927 | } |
| 928 | |
| 929 | void GLAPIENTRY glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble nearval, GLdouble farval) |
| 930 | { |
| 931 | DISPATCH(Ortho)(left, right, bottom, top, nearval, farval); |
| 932 | } |
| 933 | |
| 934 | void GLAPIENTRY glPassThrough(GLfloat token) |
| 935 | { |
| 936 | DISPATCH(PassThrough)(token); |
| 937 | } |
| 938 | |
| 939 | void GLAPIENTRY glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) |
| 940 | { |
| 941 | DISPATCH(PixelMapfv)(map, mapsize, values); |
| 942 | } |
| 943 | |
| 944 | void GLAPIENTRY glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) |
| 945 | { |
| 946 | DISPATCH(PixelMapuiv)(map, mapsize, values); |
| 947 | } |
| 948 | |
| 949 | void GLAPIENTRY glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) |
| 950 | { |
| 951 | DISPATCH(PixelMapusv)(map, mapsize, values); |
| 952 | } |
| 953 | |
| 954 | void GLAPIENTRY glPixelStoref(GLenum pname, GLfloat param) |
| 955 | { |
| 956 | DISPATCH(PixelStoref)(pname, param); |
| 957 | } |
| 958 | |
| 959 | void GLAPIENTRY glPixelStorei(GLenum pname, GLint param) |
| 960 | { |
| 961 | DISPATCH(PixelStorei)(pname, param); |
| 962 | } |
| 963 | |
| 964 | void GLAPIENTRY glPixelTransferf(GLenum pname, GLfloat param) |
| 965 | { |
| 966 | DISPATCH(PixelTransferf)(pname, param); |
| 967 | } |
| 968 | |
| 969 | void GLAPIENTRY glPixelTransferi(GLenum pname, GLint param) |
| 970 | { |
| 971 | DISPATCH(PixelTransferi)(pname, param); |
| 972 | } |
| 973 | |
| 974 | void GLAPIENTRY glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
| 975 | { |
| 976 | DISPATCH(PixelZoom)(xfactor, yfactor); |
| 977 | } |
| 978 | |
| 979 | void GLAPIENTRY glPointSize(GLfloat size) |
| 980 | { |
| 981 | DISPATCH(PointSize)(size); |
| 982 | } |
| 983 | |
| 984 | void GLAPIENTRY glPolygonMode(GLenum face, GLenum mode) |
| 985 | { |
| 986 | DISPATCH(PolygonMode)(face, mode); |
| 987 | } |
| 988 | |
| 989 | void GLAPIENTRY glPolygonOffset(GLfloat factor, GLfloat units) |
| 990 | { |
| 991 | DISPATCH(PolygonOffset)(factor, units); |
| 992 | } |
| 993 | |
| 994 | void GLAPIENTRY glPolygonStipple(const GLubyte *pattern) |
| 995 | { |
| 996 | DISPATCH(PolygonStipple)(pattern); |
| 997 | } |
| 998 | |
| 999 | void GLAPIENTRY glPopAttrib(void) |
| 1000 | { |
| 1001 | DISPATCH(PopAttrib)(); |
| 1002 | } |
| 1003 | |
| 1004 | void GLAPIENTRY glPopClientAttrib(void) |
| 1005 | { |
| 1006 | DISPATCH(PopClientAttrib)(); |
| 1007 | } |
| 1008 | |
| 1009 | void GLAPIENTRY glPopMatrix(void) |
| 1010 | { |
| 1011 | DISPATCH(PopMatrix)(); |
| 1012 | } |
| 1013 | |
| 1014 | void GLAPIENTRY glPopName(void) |
| 1015 | { |
| 1016 | DISPATCH(PopName)(); |
| 1017 | } |
| 1018 | |
| 1019 | void GLAPIENTRY glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLclampf *priorities) |
| 1020 | { |
| 1021 | DISPATCH(PrioritizeTextures)(n, textures, priorities); |
| 1022 | } |
| 1023 | |
| 1024 | void GLAPIENTRY glPushMatrix(void) |
| 1025 | { |
| 1026 | DISPATCH(PushMatrix)(); |
| 1027 | } |
| 1028 | |
| 1029 | void GLAPIENTRY glRasterPos2d(GLdouble x, GLdouble y) |
| 1030 | { |
| 1031 | DISPATCH(RasterPos2d)(x, y); |
| 1032 | } |
| 1033 | |
| 1034 | void GLAPIENTRY glRasterPos2f(GLfloat x, GLfloat y) |
| 1035 | { |
| 1036 | DISPATCH(RasterPos2f)(x, y); |
| 1037 | } |
| 1038 | |
| 1039 | void GLAPIENTRY glRasterPos2i(GLint x, GLint y) |
| 1040 | { |
| 1041 | DISPATCH(RasterPos2i)(x, y); |
| 1042 | } |
| 1043 | |
| 1044 | void GLAPIENTRY glRasterPos2s(GLshort x, GLshort y) |
| 1045 | { |
| 1046 | DISPATCH(RasterPos2s)(x, y); |
| 1047 | } |
| 1048 | |
| 1049 | void GLAPIENTRY glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
| 1050 | { |
| 1051 | DISPATCH(RasterPos3d)(x, y, z); |
| 1052 | } |
| 1053 | |
| 1054 | void GLAPIENTRY glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
| 1055 | { |
| 1056 | DISPATCH(RasterPos3f)(x, y, z); |
| 1057 | } |
| 1058 | |
| 1059 | void GLAPIENTRY glRasterPos3i(GLint x, GLint y, GLint z) |
| 1060 | { |
| 1061 | DISPATCH(RasterPos3i)(x, y, z); |
| 1062 | } |
| 1063 | |
| 1064 | void GLAPIENTRY glRasterPos3s(GLshort x, GLshort y, GLshort z) |
| 1065 | { |
| 1066 | DISPATCH(RasterPos3s)(x, y, z); |
| 1067 | } |
| 1068 | |
| 1069 | void GLAPIENTRY glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 1070 | { |
| 1071 | DISPATCH(RasterPos4d)(x, y, z, w); |
| 1072 | } |
| 1073 | |
| 1074 | void GLAPIENTRY glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 1075 | { |
| 1076 | DISPATCH(RasterPos4f)(x, y, z, w); |
| 1077 | } |
| 1078 | |
| 1079 | void GLAPIENTRY glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
| 1080 | { |
| 1081 | DISPATCH(RasterPos4i)(x, y, z, w); |
| 1082 | } |
| 1083 | |
| 1084 | void GLAPIENTRY glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 1085 | { |
| 1086 | DISPATCH(RasterPos4s)(x, y, z, w); |
| 1087 | } |
| 1088 | |
| 1089 | void GLAPIENTRY glRasterPos2dv(const GLdouble *v) |
| 1090 | { |
| 1091 | DISPATCH(RasterPos2dv)(v); |
| 1092 | } |
| 1093 | |
| 1094 | void GLAPIENTRY glRasterPos2fv(const GLfloat *v) |
| 1095 | { |
| 1096 | DISPATCH(RasterPos2fv)(v); |
| 1097 | } |
| 1098 | |
| 1099 | void GLAPIENTRY glRasterPos2iv(const GLint *v) |
| 1100 | { |
| 1101 | DISPATCH(RasterPos2iv)(v); |
| 1102 | } |
| 1103 | |
| 1104 | void GLAPIENTRY glRasterPos2sv(const GLshort *v) |
| 1105 | { |
| 1106 | DISPATCH(RasterPos2sv)(v); |
| 1107 | } |
| 1108 | |
| 1109 | void GLAPIENTRY glRasterPos3dv(const GLdouble *v) |
| 1110 | { |
| 1111 | DISPATCH(RasterPos3dv)(v); |
| 1112 | } |
| 1113 | |
| 1114 | void GLAPIENTRY glRasterPos3fv(const GLfloat *v) |
| 1115 | { |
| 1116 | DISPATCH(RasterPos3fv)(v); |
| 1117 | } |
| 1118 | |
| 1119 | void GLAPIENTRY glRasterPos3iv(const GLint *v) |
| 1120 | { |
| 1121 | DISPATCH(RasterPos3iv)(v); |
| 1122 | } |
| 1123 | |
| 1124 | void GLAPIENTRY glRasterPos3sv(const GLshort *v) |
| 1125 | { |
| 1126 | DISPATCH(RasterPos3sv)(v); |
| 1127 | } |
| 1128 | |
| 1129 | void GLAPIENTRY glRasterPos4dv(const GLdouble *v) |
| 1130 | { |
| 1131 | DISPATCH(RasterPos4dv)(v); |
| 1132 | } |
| 1133 | |
| 1134 | void GLAPIENTRY glRasterPos4fv(const GLfloat *v) |
| 1135 | { |
| 1136 | DISPATCH(RasterPos4fv)(v); |
| 1137 | } |
| 1138 | |
| 1139 | void GLAPIENTRY glRasterPos4iv(const GLint *v) |
| 1140 | { |
| 1141 | DISPATCH(RasterPos4iv)(v); |
| 1142 | } |
| 1143 | |
| 1144 | void GLAPIENTRY glRasterPos4sv(const GLshort *v) |
| 1145 | { |
| 1146 | DISPATCH(RasterPos4sv)(v); |
| 1147 | } |
| 1148 | |
| 1149 | void GLAPIENTRY glReadBuffer(GLenum mode) |
| 1150 | { |
| 1151 | DISPATCH(ReadBuffer)(mode); |
| 1152 | } |
| 1153 | |
| 1154 | void GLAPIENTRY glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
| 1155 | { |
| 1156 | DISPATCH(ReadPixels)(x, y, width, height, format, type, pixels); |
| 1157 | } |
| 1158 | |
| 1159 | void GLAPIENTRY glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
| 1160 | { |
| 1161 | DISPATCH(Rectd)(x1, y1, x2, y2); |
| 1162 | } |
| 1163 | |
| 1164 | void GLAPIENTRY glRectdv(const GLdouble *v1, const GLdouble *v2) |
| 1165 | { |
| 1166 | DISPATCH(Rectdv)(v1, v2); |
| 1167 | } |
| 1168 | |
| 1169 | void GLAPIENTRY glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
| 1170 | { |
| 1171 | DISPATCH(Rectf)(x1, y1, x2, y2); |
| 1172 | } |
| 1173 | |
| 1174 | void GLAPIENTRY glRectfv(const GLfloat *v1, const GLfloat *v2) |
| 1175 | { |
| 1176 | DISPATCH(Rectfv)(v1, v2); |
| 1177 | } |
| 1178 | |
| 1179 | void GLAPIENTRY glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
| 1180 | { |
| 1181 | DISPATCH(Recti)(x1, y1, x2, y2); |
| 1182 | } |
| 1183 | |
| 1184 | void GLAPIENTRY glRectiv(const GLint *v1, const GLint *v2) |
| 1185 | { |
| 1186 | DISPATCH(Rectiv)(v1, v2); |
| 1187 | } |
| 1188 | |
| 1189 | void GLAPIENTRY glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
| 1190 | { |
| 1191 | DISPATCH(Rects)(x1, y1, x2, y2); |
| 1192 | } |
| 1193 | |
| 1194 | void GLAPIENTRY glRectsv(const GLshort *v1, const GLshort *v2) |
| 1195 | { |
| 1196 | DISPATCH(Rectsv)(v1, v2); |
| 1197 | } |
| 1198 | |
| 1199 | void GLAPIENTRY glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
| 1200 | { |
| 1201 | DISPATCH(Scissor)(x, y, width, height); |
| 1202 | } |
| 1203 | |
| 1204 | GLboolean GLAPIENTRY glIsEnabled(GLenum cap) |
| 1205 | { |
| 1206 | return DISPATCH(IsEnabled)(cap); |
| 1207 | } |
| 1208 | |
| 1209 | void GLAPIENTRY glPushAttrib(GLbitfield mask) |
| 1210 | { |
| 1211 | DISPATCH(PushAttrib)(mask); |
| 1212 | } |
| 1213 | |
| 1214 | void GLAPIENTRY glPushClientAttrib(GLbitfield mask) |
| 1215 | { |
| 1216 | DISPATCH(PushClientAttrib)(mask); |
| 1217 | } |
| 1218 | |
| 1219 | void GLAPIENTRY glPushName(GLuint name) |
| 1220 | { |
| 1221 | DISPATCH(PushName)(name); |
| 1222 | } |
| 1223 | |
| 1224 | GLint GLAPIENTRY glRenderMode(GLenum mode) |
| 1225 | { |
| 1226 | return DISPATCH(RenderMode)(mode); |
| 1227 | } |
| 1228 | |
| 1229 | void GLAPIENTRY glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
| 1230 | { |
| 1231 | DISPATCH(Rotated)(angle, x, y, z); |
| 1232 | } |
| 1233 | |
| 1234 | void GLAPIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| 1235 | { |
| 1236 | DISPATCH(Rotatef)(angle, x, y, z); |
| 1237 | } |
| 1238 | |
| 1239 | void GLAPIENTRY glSelectBuffer(GLsizei size, GLuint *buffer) |
| 1240 | { |
| 1241 | DISPATCH(SelectBuffer)(size, buffer); |
| 1242 | } |
| 1243 | |
| 1244 | void GLAPIENTRY glScaled(GLdouble x, GLdouble y, GLdouble z) |
| 1245 | { |
| 1246 | DISPATCH(Scaled)(x, y, z); |
| 1247 | } |
| 1248 | |
| 1249 | void GLAPIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z) |
| 1250 | { |
| 1251 | DISPATCH(Scalef)(x, y, z); |
| 1252 | } |
| 1253 | |
| 1254 | void GLAPIENTRY glShadeModel(GLenum mode) |
| 1255 | { |
| 1256 | DISPATCH(ShadeModel)(mode); |
| 1257 | } |
| 1258 | |
| 1259 | void GLAPIENTRY glStencilFunc(GLenum func, GLint ref, GLuint mask) |
| 1260 | { |
| 1261 | DISPATCH(StencilFunc)(func, ref, mask); |
| 1262 | } |
| 1263 | |
| 1264 | void GLAPIENTRY glStencilMask(GLuint mask) |
| 1265 | { |
| 1266 | DISPATCH(StencilMask)(mask); |
| 1267 | } |
| 1268 | |
| 1269 | void GLAPIENTRY glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
| 1270 | { |
| 1271 | DISPATCH(StencilOp)(fail, zfail, zpass); |
| 1272 | } |
| 1273 | |
| 1274 | void GLAPIENTRY glTexCoord1d(GLdouble s) |
| 1275 | { |
| 1276 | DISPATCH(TexCoord1d)(s); |
| 1277 | } |
| 1278 | |
| 1279 | void GLAPIENTRY glTexCoord1f(GLfloat s) |
| 1280 | { |
| 1281 | DISPATCH(TexCoord1f)(s); |
| 1282 | } |
| 1283 | |
| 1284 | void GLAPIENTRY glTexCoord1i(GLint s) |
| 1285 | { |
| 1286 | DISPATCH(TexCoord1i)(s); |
| 1287 | } |
| 1288 | |
| 1289 | void GLAPIENTRY glTexCoord1s(GLshort s) |
| 1290 | { |
| 1291 | DISPATCH(TexCoord1s)(s); |
| 1292 | } |
| 1293 | |
| 1294 | void GLAPIENTRY glTexCoord2d(GLdouble s, GLdouble t) |
| 1295 | { |
| 1296 | DISPATCH(TexCoord2d)(s, t); |
| 1297 | } |
| 1298 | |
| 1299 | void GLAPIENTRY glTexCoord2f(GLfloat s, GLfloat t) |
| 1300 | { |
| 1301 | DISPATCH(TexCoord2f)(s, t); |
| 1302 | } |
| 1303 | |
| 1304 | void GLAPIENTRY glTexCoord2s(GLshort s, GLshort t) |
| 1305 | { |
| 1306 | DISPATCH(TexCoord2s)(s, t); |
| 1307 | } |
| 1308 | |
| 1309 | void GLAPIENTRY glTexCoord2i(GLint s, GLint t) |
| 1310 | { |
| 1311 | DISPATCH(TexCoord2i)(s, t); |
| 1312 | } |
| 1313 | |
| 1314 | void GLAPIENTRY glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
| 1315 | { |
| 1316 | DISPATCH(TexCoord3d)(s, t, r); |
| 1317 | } |
| 1318 | |
| 1319 | void GLAPIENTRY glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
| 1320 | { |
| 1321 | DISPATCH(TexCoord3f)(s, t, r); |
| 1322 | } |
| 1323 | |
| 1324 | void GLAPIENTRY glTexCoord3i(GLint s, GLint t, GLint r) |
| 1325 | { |
| 1326 | DISPATCH(TexCoord3i)(s, t, r); |
| 1327 | } |
| 1328 | |
| 1329 | void GLAPIENTRY glTexCoord3s(GLshort s, GLshort t, GLshort r) |
| 1330 | { |
| 1331 | DISPATCH(TexCoord3s)(s, t, r); |
| 1332 | } |
| 1333 | |
| 1334 | void GLAPIENTRY glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| 1335 | { |
| 1336 | DISPATCH(TexCoord4d)(s, t, r, q); |
| 1337 | } |
| 1338 | |
| 1339 | void GLAPIENTRY glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 1340 | { |
| 1341 | DISPATCH(TexCoord4f)(s, t, r, q); |
| 1342 | } |
| 1343 | |
| 1344 | void GLAPIENTRY glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
| 1345 | { |
| 1346 | DISPATCH(TexCoord4i)(s, t, r, q); |
| 1347 | } |
| 1348 | |
| 1349 | void GLAPIENTRY glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
| 1350 | { |
| 1351 | DISPATCH(TexCoord4s)(s, t, r, q); |
| 1352 | } |
| 1353 | |
| 1354 | void GLAPIENTRY glTexCoord1dv(const GLdouble *v) |
| 1355 | { |
| 1356 | DISPATCH(TexCoord1dv)(v); |
| 1357 | } |
| 1358 | |
| 1359 | void GLAPIENTRY glTexCoord1fv(const GLfloat *v) |
| 1360 | { |
| 1361 | DISPATCH(TexCoord1fv)(v); |
| 1362 | } |
| 1363 | |
| 1364 | void GLAPIENTRY glTexCoord1iv(const GLint *v) |
| 1365 | { |
| 1366 | DISPATCH(TexCoord1iv)(v); |
| 1367 | } |
| 1368 | |
| 1369 | void GLAPIENTRY glTexCoord1sv(const GLshort *v) |
| 1370 | { |
| 1371 | DISPATCH(TexCoord1sv)(v); |
| 1372 | } |
| 1373 | |
| 1374 | void GLAPIENTRY glTexCoord2dv(const GLdouble *v) |
| 1375 | { |
| 1376 | DISPATCH(TexCoord2dv)(v); |
| 1377 | } |
| 1378 | |
| 1379 | void GLAPIENTRY glTexCoord2fv(const GLfloat *v) |
| 1380 | { |
| 1381 | DISPATCH(TexCoord2fv)(v); |
| 1382 | } |
| 1383 | |
| 1384 | void GLAPIENTRY glTexCoord2iv(const GLint *v) |
| 1385 | { |
| 1386 | DISPATCH(TexCoord2iv)(v); |
| 1387 | } |
| 1388 | |
| 1389 | void GLAPIENTRY glTexCoord2sv(const GLshort *v) |
| 1390 | { |
| 1391 | DISPATCH(TexCoord2sv)(v); |
| 1392 | } |
| 1393 | |
| 1394 | void GLAPIENTRY glTexCoord3dv(const GLdouble *v) |
| 1395 | { |
| 1396 | DISPATCH(TexCoord3dv)(v); |
| 1397 | } |
| 1398 | |
| 1399 | void GLAPIENTRY glTexCoord3fv(const GLfloat *v) |
| 1400 | { |
| 1401 | DISPATCH(TexCoord3fv)(v); |
| 1402 | } |
| 1403 | |
| 1404 | void GLAPIENTRY glTexCoord3iv(const GLint *v) |
| 1405 | { |
| 1406 | DISPATCH(TexCoord3iv)(v); |
| 1407 | } |
| 1408 | |
| 1409 | void GLAPIENTRY glTexCoord3sv(const GLshort *v) |
| 1410 | { |
| 1411 | DISPATCH(TexCoord3sv)(v); |
| 1412 | } |
| 1413 | |
| 1414 | void GLAPIENTRY glTexCoord4dv(const GLdouble *v) |
| 1415 | { |
| 1416 | DISPATCH(TexCoord4dv)(v); |
| 1417 | } |
| 1418 | |
| 1419 | void GLAPIENTRY glTexCoord4fv(const GLfloat *v) |
| 1420 | { |
| 1421 | DISPATCH(TexCoord4fv)(v); |
| 1422 | } |
| 1423 | |
| 1424 | void GLAPIENTRY glTexCoord4iv(const GLint *v) |
| 1425 | { |
| 1426 | DISPATCH(TexCoord4iv)(v); |
| 1427 | } |
| 1428 | |
| 1429 | void GLAPIENTRY glTexCoord4sv(const GLshort *v) |
| 1430 | { |
| 1431 | DISPATCH(TexCoord4sv)(v); |
| 1432 | } |
| 1433 | |
| 1434 | void GLAPIENTRY glTexGend(GLenum coord, GLenum pname, GLdouble param) |
| 1435 | { |
| 1436 | DISPATCH(TexGend)(coord, pname, param); |
| 1437 | } |
| 1438 | |
| 1439 | void GLAPIENTRY glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
| 1440 | { |
| 1441 | DISPATCH(TexGendv)(coord, pname, params); |
| 1442 | } |
| 1443 | |
| 1444 | void GLAPIENTRY glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
| 1445 | { |
| 1446 | DISPATCH(TexGenf)(coord, pname, param); |
| 1447 | } |
| 1448 | |
| 1449 | void GLAPIENTRY glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
| 1450 | { |
| 1451 | DISPATCH(TexGenfv)(coord, pname, params); |
| 1452 | } |
| 1453 | |
| 1454 | void GLAPIENTRY glTexGeni(GLenum coord, GLenum pname, GLint param) |
| 1455 | { |
| 1456 | DISPATCH(TexGeni)(coord, pname, param); |
| 1457 | } |
| 1458 | |
| 1459 | void GLAPIENTRY glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
| 1460 | { |
| 1461 | DISPATCH(TexGeniv)(coord, pname, params); |
| 1462 | } |
| 1463 | |
| 1464 | void GLAPIENTRY glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
| 1465 | { |
| 1466 | DISPATCH(TexEnvf)(target, pname, param); |
| 1467 | } |
| 1468 | |
| 1469 | void GLAPIENTRY glTexEnvfv(GLenum target, GLenum pname, const GLfloat *param) |
| 1470 | { |
| 1471 | DISPATCH(TexEnvfv)(target, pname, param); |
| 1472 | } |
| 1473 | |
| 1474 | void GLAPIENTRY glTexEnvi(GLenum target, GLenum pname, GLint param) |
| 1475 | { |
| 1476 | DISPATCH(TexEnvi)(target, pname, param); |
| 1477 | } |
| 1478 | |
| 1479 | void GLAPIENTRY glTexEnviv(GLenum target, GLenum pname, const GLint *param) |
| 1480 | { |
| 1481 | DISPATCH(TexEnviv)(target, pname, param); |
| 1482 | } |
| 1483 | |
| 1484 | void GLAPIENTRY glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 1485 | { |
| 1486 | DISPATCH(TexImage1D)(target, level, internalformat, width, border, format, type, pixels); |
| 1487 | } |
| 1488 | |
| 1489 | void GLAPIENTRY glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 1490 | { |
| 1491 | DISPATCH(TexImage2D)(target, level, internalformat, width, height, border, format, type, pixels); |
| 1492 | } |
| 1493 | |
| 1494 | void GLAPIENTRY glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
| 1495 | { |
| 1496 | DISPATCH(TexParameterf)(target, pname, param); |
| 1497 | } |
| 1498 | |
| 1499 | void GLAPIENTRY glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 1500 | { |
| 1501 | DISPATCH(TexParameterfv)(target, pname, params); |
| 1502 | } |
| 1503 | |
| 1504 | void GLAPIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) |
| 1505 | { |
| 1506 | DISPATCH(TexParameteri)(target, pname, param); |
| 1507 | } |
| 1508 | |
| 1509 | void GLAPIENTRY glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 1510 | { |
| 1511 | DISPATCH(TexParameteriv)(target, pname, params); |
| 1512 | } |
| 1513 | |
| 1514 | void GLAPIENTRY glTranslated(GLdouble x, GLdouble y, GLdouble z) |
| 1515 | { |
| 1516 | DISPATCH(Translated)(x, y, z); |
| 1517 | } |
| 1518 | |
| 1519 | void GLAPIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
| 1520 | { |
| 1521 | DISPATCH(Translatef)(x, y, z); |
| 1522 | } |
| 1523 | |
| 1524 | void GLAPIENTRY glVertex2d(GLdouble x, GLdouble y) |
| 1525 | { |
| 1526 | DISPATCH(Vertex2d)(x, y); |
| 1527 | } |
| 1528 | |
| 1529 | void GLAPIENTRY glVertex2dv(const GLdouble *v) |
| 1530 | { |
| 1531 | DISPATCH(Vertex2dv)(v); |
| 1532 | } |
| 1533 | |
| 1534 | void GLAPIENTRY glVertex2f(GLfloat x, GLfloat y) |
| 1535 | { |
| 1536 | DISPATCH(Vertex2f)(x, y); |
| 1537 | } |
| 1538 | |
| 1539 | void GLAPIENTRY glVertex2fv(const GLfloat *v) |
| 1540 | { |
| 1541 | DISPATCH(Vertex2fv)(v); |
| 1542 | } |
| 1543 | |
| 1544 | void GLAPIENTRY glVertex2i(GLint x, GLint y) |
| 1545 | { |
| 1546 | DISPATCH(Vertex2i)(x, y); |
| 1547 | } |
| 1548 | |
| 1549 | void GLAPIENTRY glVertex2iv(const GLint *v) |
| 1550 | { |
| 1551 | DISPATCH(Vertex2iv)(v); |
| 1552 | } |
| 1553 | |
| 1554 | void GLAPIENTRY glVertex2s(GLshort x, GLshort y) |
| 1555 | { |
| 1556 | DISPATCH(Vertex2s)(x, y); |
| 1557 | } |
| 1558 | |
| 1559 | void GLAPIENTRY glVertex2sv(const GLshort *v) |
| 1560 | { |
| 1561 | DISPATCH(Vertex2sv)(v); |
| 1562 | } |
| 1563 | |
| 1564 | void GLAPIENTRY glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
| 1565 | { |
| 1566 | DISPATCH(Vertex3d)(x, y, z); |
| 1567 | } |
| 1568 | |
| 1569 | void GLAPIENTRY glVertex3dv(const GLdouble *v) |
| 1570 | { |
| 1571 | DISPATCH(Vertex3dv)(v); |
| 1572 | } |
| 1573 | |
| 1574 | void GLAPIENTRY glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
| 1575 | { |
| 1576 | DISPATCH(Vertex3f)(x, y, z); |
| 1577 | } |
| 1578 | |
| 1579 | void GLAPIENTRY glVertex3fv(const GLfloat *v) |
| 1580 | { |
| 1581 | DISPATCH(Vertex3fv)(v); |
| 1582 | } |
| 1583 | |
| 1584 | void GLAPIENTRY glVertex3i(GLint x, GLint y, GLint z) |
| 1585 | { |
| 1586 | DISPATCH(Vertex3i)(x, y, z); |
| 1587 | } |
| 1588 | |
| 1589 | void GLAPIENTRY glVertex3iv(const GLint *v) |
| 1590 | { |
| 1591 | DISPATCH(Vertex3iv)(v); |
| 1592 | } |
| 1593 | |
| 1594 | void GLAPIENTRY glVertex3s(GLshort x, GLshort y, GLshort z) |
| 1595 | { |
| 1596 | DISPATCH(Vertex3s)(x, y, z); |
| 1597 | } |
| 1598 | |
| 1599 | void GLAPIENTRY glVertex3sv(const GLshort *v) |
| 1600 | { |
| 1601 | DISPATCH(Vertex3sv)(v); |
| 1602 | } |
| 1603 | |
| 1604 | void GLAPIENTRY glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 1605 | { |
| 1606 | DISPATCH(Vertex4d)(x, y, z, w); |
| 1607 | } |
| 1608 | |
| 1609 | void GLAPIENTRY glVertex4dv(const GLdouble *v) |
| 1610 | { |
| 1611 | DISPATCH(Vertex4dv)(v); |
| 1612 | } |
| 1613 | |
| 1614 | void GLAPIENTRY glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 1615 | { |
| 1616 | DISPATCH(Vertex4f)(x, y, z, w); |
| 1617 | } |
| 1618 | |
| 1619 | void GLAPIENTRY glVertex4fv(const GLfloat *v) |
| 1620 | { |
| 1621 | DISPATCH(Vertex4fv)(v); |
| 1622 | } |
| 1623 | |
| 1624 | void GLAPIENTRY glVertex4i(GLint x, GLint y, GLint z, GLint w) |
| 1625 | { |
| 1626 | DISPATCH(Vertex4i)(x, y, z, w); |
| 1627 | } |
| 1628 | |
| 1629 | void GLAPIENTRY glVertex4iv(const GLint *v) |
| 1630 | { |
| 1631 | DISPATCH(Vertex4iv)(v); |
| 1632 | } |
| 1633 | |
| 1634 | void GLAPIENTRY glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 1635 | { |
| 1636 | DISPATCH(Vertex4s)(x, y, z, w); |
| 1637 | } |
| 1638 | |
| 1639 | void GLAPIENTRY glVertex4sv(const GLshort *v) |
| 1640 | { |
| 1641 | DISPATCH(Vertex4sv)(v); |
| 1642 | } |
| 1643 | |
| 1644 | void GLAPIENTRY glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
| 1645 | { |
| 1646 | DISPATCH(Viewport)(x, y, width, height); |
| 1647 | } |
| 1648 | |
| 1649 | |
| 1650 | |
| 1651 | |
| 1652 | #ifdef _GLAPI_VERSION_1_1 |
| 1653 | |
| 1654 | GLboolean GLAPIENTRY glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
| 1655 | { |
| 1656 | return DISPATCH(AreTexturesResident)(n, textures, residences); |
| 1657 | } |
| 1658 | |
| 1659 | void GLAPIENTRY glArrayElement(GLint i) |
| 1660 | { |
| 1661 | DISPATCH(ArrayElement)(i); |
| 1662 | } |
| 1663 | |
| 1664 | void GLAPIENTRY glBindTexture(GLenum target, GLuint texture) |
| 1665 | { |
| 1666 | DISPATCH(BindTexture)(target, texture); |
| 1667 | } |
| 1668 | |
| 1669 | void GLAPIENTRY glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| 1670 | { |
| 1671 | DISPATCH(ColorPointer)(size, type, stride, ptr); |
| 1672 | } |
| 1673 | |
| 1674 | void GLAPIENTRY glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| 1675 | { |
| 1676 | DISPATCH(CopyTexImage1D)(target, level, internalformat, x, y, width, border); |
| 1677 | } |
| 1678 | |
| 1679 | void GLAPIENTRY glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| 1680 | { |
| 1681 | DISPATCH(CopyTexImage2D)(target, level, internalformat, x, y, width, height, border); |
| 1682 | } |
| 1683 | |
| 1684 | void GLAPIENTRY glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| 1685 | { |
| 1686 | DISPATCH(CopyTexSubImage1D)(target, level, xoffset, x, y, width); |
| 1687 | } |
| 1688 | |
| 1689 | void GLAPIENTRY glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 1690 | { |
| 1691 | DISPATCH(CopyTexSubImage2D)(target, level, xoffset, yoffset, x, y, width, height); |
| 1692 | } |
| 1693 | |
| 1694 | void GLAPIENTRY glDeleteTextures(GLsizei n, const GLuint *textures) |
| 1695 | { |
| 1696 | DISPATCH(DeleteTextures)(n, textures); |
| 1697 | } |
| 1698 | |
| 1699 | void GLAPIENTRY glEdgeFlagPointer(GLsizei stride, const GLvoid *ptr) |
| 1700 | { |
| 1701 | DISPATCH(EdgeFlagPointer)(stride, ptr); |
| 1702 | } |
| 1703 | |
| 1704 | void GLAPIENTRY glIndexPointer(GLenum type, GLsizei stride, const GLvoid *ptr) |
| 1705 | { |
| 1706 | DISPATCH(IndexPointer)(type, stride, ptr); |
| 1707 | } |
| 1708 | |
| 1709 | void GLAPIENTRY glNormalPointer(GLenum type, GLsizei stride, const GLvoid *ptr) |
| 1710 | { |
| 1711 | DISPATCH(NormalPointer)(type, stride, ptr); |
| 1712 | } |
| 1713 | |
| 1714 | void GLAPIENTRY glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| 1715 | { |
| 1716 | DISPATCH(TexCoordPointer)(size, type, stride, ptr); |
| 1717 | } |
| 1718 | |
| 1719 | void GLAPIENTRY glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| 1720 | { |
| 1721 | DISPATCH(TexSubImage1D)(target, level, xoffset, width, format, type, pixels); |
| 1722 | } |
| 1723 | |
| 1724 | void GLAPIENTRY glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 1725 | { |
| 1726 | DISPATCH(TexSubImage2D)(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| 1727 | } |
| 1728 | |
| 1729 | void GLAPIENTRY glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr) |
| 1730 | { |
| 1731 | DISPATCH(VertexPointer)(size, type, stride, ptr); |
| 1732 | } |
| 1733 | |
| 1734 | #endif /*GL_VERSION_1_1*/ |
| 1735 | |
| 1736 | |
| 1737 | |
| 1738 | #ifdef _GLAPI_VERSION_1_2 |
| 1739 | |
| 1740 | void GLAPIENTRY glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 1741 | { |
| 1742 | DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 1743 | } |
| 1744 | |
| 1745 | void GLAPIENTRY glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
| 1746 | { |
| 1747 | DISPATCH(DrawRangeElements)(mode, start, end, count, type, indices); |
| 1748 | } |
| 1749 | |
| 1750 | void GLAPIENTRY glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 1751 | { |
| 1752 | DISPATCH(TexImage3D)(target, level, internalformat, width, height, depth, border, format, type, pixels); |
| 1753 | } |
| 1754 | |
| 1755 | void GLAPIENTRY glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| 1756 | { |
| 1757 | DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| 1758 | } |
| 1759 | |
| 1760 | |
| 1761 | #ifdef _GLAPI_ARB_imaging |
| 1762 | |
| 1763 | void GLAPIENTRY glBlendColor(GLclampf r, GLclampf g, GLclampf b, GLclampf a) |
| 1764 | { |
| 1765 | DISPATCH(BlendColor)(r, g, b, a); |
| 1766 | } |
| 1767 | |
| 1768 | void GLAPIENTRY glBlendEquation(GLenum mode) |
| 1769 | { |
| 1770 | DISPATCH(BlendEquation)(mode); |
| 1771 | } |
| 1772 | |
| 1773 | void GLAPIENTRY glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
| 1774 | { |
| 1775 | DISPATCH(ColorSubTable)(target, start, count, format, type, data); |
| 1776 | } |
| 1777 | |
| 1778 | void GLAPIENTRY glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| 1779 | { |
| 1780 | DISPATCH(ColorTable)(target, internalformat, width, format, type, table); |
| 1781 | } |
| 1782 | |
| 1783 | void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 1784 | { |
| 1785 | DISPATCH(ColorTableParameterfv)(target, pname, params); |
| 1786 | } |
| 1787 | |
| 1788 | void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 1789 | { |
| 1790 | DISPATCH(ColorTableParameteriv)(target, pname, params); |
| 1791 | } |
| 1792 | |
| 1793 | void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
| 1794 | { |
| 1795 | DISPATCH(ConvolutionFilter1D)(target, internalformat, width, format, type, image); |
| 1796 | } |
| 1797 | |
| 1798 | void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
| 1799 | { |
| 1800 | DISPATCH(ConvolutionFilter2D)(target, internalformat, width, height, format, type, image); |
| 1801 | } |
| 1802 | |
| 1803 | void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
| 1804 | { |
| 1805 | DISPATCH(ConvolutionParameterf)(target, pname, params); |
| 1806 | } |
| 1807 | |
| 1808 | void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 1809 | { |
| 1810 | DISPATCH(ConvolutionParameterfv)(target, pname, params); |
| 1811 | } |
| 1812 | |
| 1813 | void glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
| 1814 | { |
| 1815 | DISPATCH(ConvolutionParameteri)(target, pname, params); |
| 1816 | } |
| 1817 | |
| 1818 | void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 1819 | { |
| 1820 | DISPATCH(ConvolutionParameteriv)(target, pname, params); |
| 1821 | } |
| 1822 | |
| 1823 | void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| 1824 | { |
| 1825 | DISPATCH(CopyColorSubTable)(target, start, x, y, width); |
| 1826 | } |
| 1827 | |
| 1828 | void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 1829 | { |
| 1830 | DISPATCH(CopyColorTable)(target, internalformat, x, y, width); |
| 1831 | } |
| 1832 | |
| 1833 | void GLAPIENTRY glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 1834 | { |
| 1835 | DISPATCH(CopyConvolutionFilter1D)(target, internalformat, x, y, width); |
| 1836 | } |
| 1837 | |
| 1838 | void GLAPIENTRY glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
| 1839 | { |
| 1840 | DISPATCH(CopyConvolutionFilter2D)(target, internalformat, x, y, width, height); |
| 1841 | } |
| 1842 | |
| 1843 | void GLAPIENTRY glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| 1844 | { |
| 1845 | DISPATCH(GetColorTable)(target, format, type, table); |
| 1846 | } |
| 1847 | |
| 1848 | void GLAPIENTRY glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 1849 | { |
| 1850 | DISPATCH(GetColorTableParameterfv)(target, pname, params); |
| 1851 | } |
| 1852 | |
| 1853 | void GLAPIENTRY glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1854 | { |
| 1855 | DISPATCH(GetColorTableParameteriv)(target, pname, params); |
| 1856 | } |
| 1857 | |
| 1858 | void GLAPIENTRY glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
| 1859 | { |
| 1860 | DISPATCH(GetConvolutionFilter)(target, format, type, image); |
| 1861 | } |
| 1862 | |
| 1863 | void GLAPIENTRY glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 1864 | { |
| 1865 | DISPATCH(GetConvolutionParameterfv)(target, pname, params); |
| 1866 | } |
| 1867 | |
| 1868 | void GLAPIENTRY glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1869 | { |
| 1870 | DISPATCH(GetConvolutionParameteriv)(target, pname, params); |
| 1871 | } |
| 1872 | |
| 1873 | void GLAPIENTRY glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| 1874 | { |
| 1875 | DISPATCH(GetHistogram)(target, reset, format, type, values); |
| 1876 | } |
| 1877 | |
| 1878 | void GLAPIENTRY glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 1879 | { |
| 1880 | DISPATCH(GetHistogramParameterfv)(target, pname, params); |
| 1881 | } |
| 1882 | |
| 1883 | void GLAPIENTRY glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1884 | { |
| 1885 | DISPATCH(GetHistogramParameteriv)(target, pname, params); |
| 1886 | } |
| 1887 | |
| 1888 | void GLAPIENTRY glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values) |
| 1889 | { |
| 1890 | DISPATCH(GetMinmax)(target, reset, format, types, values); |
| 1891 | } |
| 1892 | |
| 1893 | void GLAPIENTRY glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 1894 | { |
| 1895 | DISPATCH(GetMinmaxParameterfv)(target, pname, params); |
| 1896 | } |
| 1897 | |
| 1898 | void GLAPIENTRY glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1899 | { |
| 1900 | DISPATCH(GetMinmaxParameteriv)(target, pname, params); |
| 1901 | } |
| 1902 | |
| 1903 | void GLAPIENTRY glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
| 1904 | { |
| 1905 | DISPATCH(GetSeparableFilter)(target, format, type, row, column, span); |
| 1906 | } |
| 1907 | |
| 1908 | void GLAPIENTRY glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
| 1909 | { |
| 1910 | DISPATCH(Histogram)(target, width, internalformat, sink); |
| 1911 | } |
| 1912 | |
| 1913 | void GLAPIENTRY glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
| 1914 | { |
| 1915 | DISPATCH(Minmax)(target, internalformat, sink); |
| 1916 | } |
| 1917 | |
| 1918 | void GLAPIENTRY glResetMinmax(GLenum target) |
| 1919 | { |
| 1920 | DISPATCH(ResetMinmax)(target); |
| 1921 | } |
| 1922 | |
| 1923 | void GLAPIENTRY glResetHistogram(GLenum target) |
| 1924 | { |
| 1925 | DISPATCH(ResetHistogram)(target); |
| 1926 | } |
| 1927 | |
| 1928 | void GLAPIENTRY glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
| 1929 | { |
| 1930 | DISPATCH(SeparableFilter2D)(target, internalformat, width, height, format, type, row, column); |
| 1931 | } |
| 1932 | |
| 1933 | |
| 1934 | #endif /*GL_ARB_imaging*/ |
| 1935 | #endif /*GL_VERSION_1_2*/ |
| 1936 | |
| 1937 | |
| 1938 | |
| 1939 | /*** |
| 1940 | *** Extension functions |
| 1941 | ***/ |
| 1942 | |
| 1943 | #ifdef _GLAPI_EXT_blend_minmax |
| 1944 | void GLAPIENTRY glBlendEquationEXT(GLenum mode) |
| 1945 | { |
| 1946 | DISPATCH(BlendEquationEXT)(mode); |
| 1947 | } |
| 1948 | #endif |
| 1949 | |
| 1950 | |
| 1951 | #ifdef _GLAPI_EXT_blend_color |
| 1952 | void GLAPIENTRY glBlendColorEXT(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) |
| 1953 | { |
| 1954 | DISPATCH(BlendColorEXT)(red, green, blue, alpha); |
| 1955 | } |
| 1956 | #endif |
| 1957 | |
| 1958 | |
| 1959 | #ifdef _GLAPI_EXT_polygon_offset |
| 1960 | void GLAPIENTRY glPolygonOffsetEXT(GLfloat factor, GLfloat bias) |
| 1961 | { |
| 1962 | DISPATCH(PolygonOffsetEXT)(factor, bias); |
| 1963 | } |
| 1964 | #endif |
| 1965 | |
| 1966 | |
| 1967 | |
| 1968 | #ifdef _GLAPI_EXT_vertex_array |
| 1969 | |
| 1970 | void GLAPIENTRY glVertexPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) |
| 1971 | { |
| 1972 | (void) count; |
| 1973 | DISPATCH(VertexPointer)(size, type, stride, ptr); |
| 1974 | } |
| 1975 | |
| 1976 | void GLAPIENTRY glNormalPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) |
| 1977 | { |
| 1978 | (void) count; |
| 1979 | DISPATCH(NormalPointer)(type, stride, ptr); |
| 1980 | } |
| 1981 | |
| 1982 | void GLAPIENTRY glColorPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) |
| 1983 | { |
| 1984 | (void) count; |
| 1985 | DISPATCH(ColorPointer)(size, type, stride, ptr); |
| 1986 | } |
| 1987 | |
| 1988 | void GLAPIENTRY glIndexPointerEXT(GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) |
| 1989 | { |
| 1990 | (void) count; |
| 1991 | DISPATCH(IndexPointer)(type, stride, ptr); |
| 1992 | } |
| 1993 | |
| 1994 | void GLAPIENTRY glTexCoordPointerEXT(GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *ptr) |
| 1995 | { |
| 1996 | (void) count; |
| 1997 | DISPATCH(ColorPointer)(size, type, stride, ptr); |
| 1998 | } |
| 1999 | |
| 2000 | void GLAPIENTRY glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *ptr) |
| 2001 | { |
| 2002 | (void) count; |
| 2003 | DISPATCH(EdgeFlagPointer)(stride, ptr); |
| 2004 | } |
| 2005 | |
| 2006 | void GLAPIENTRY glGetPointervEXT(GLenum pname, void **params) |
| 2007 | { |
| 2008 | DISPATCH(GetPointerv)(pname, params); |
| 2009 | } |
| 2010 | |
| 2011 | void GLAPIENTRY glArrayElementEXT(GLint i) |
| 2012 | { |
| 2013 | DISPATCH(ArrayElement)(i); |
| 2014 | } |
| 2015 | |
| 2016 | void GLAPIENTRY glDrawArraysEXT(GLenum mode, GLint first, GLsizei count) |
| 2017 | { |
| 2018 | DISPATCH(DrawArrays)(mode, first, count); |
| 2019 | } |
| 2020 | |
| 2021 | #endif /* GL_EXT_vertex_arrays */ |
| 2022 | |
| 2023 | |
| 2024 | |
| 2025 | #ifdef _GLAPI_EXT_texture_object |
| 2026 | |
| 2027 | void GLAPIENTRY glGenTexturesEXT(GLsizei n, GLuint *textures) |
| 2028 | { |
| 2029 | DISPATCH(GenTextures)(n, textures); |
| 2030 | } |
| 2031 | |
| 2032 | void GLAPIENTRY glDeleteTexturesEXT(GLsizei n, const GLuint *texture) |
| 2033 | { |
| 2034 | DISPATCH(DeleteTextures)(n, texture); |
| 2035 | } |
| 2036 | |
| 2037 | void GLAPIENTRY glBindTextureEXT(GLenum target, GLuint texture) |
| 2038 | { |
| 2039 | DISPATCH(BindTexture)(target, texture); |
| 2040 | } |
| 2041 | |
| 2042 | void GLAPIENTRY glPrioritizeTexturesEXT(GLsizei n, const GLuint *textures, const GLclampf *priorities) |
| 2043 | { |
| 2044 | DISPATCH(PrioritizeTextures)(n, textures, priorities); |
| 2045 | } |
| 2046 | |
| 2047 | GLboolean GLAPIENTRY glAreTexturesResidentEXT(GLsizei n, const GLuint *textures, GLboolean *residences) |
| 2048 | { |
| 2049 | DISPATCH(AreTexturesResident)(n, textures, residences); |
| 2050 | return GL_FALSE; |
| 2051 | } |
| 2052 | |
| 2053 | GLboolean GLAPIENTRY glIsTextureEXT(GLuint texture) |
| 2054 | { |
| 2055 | DISPATCH(IsTexture)(texture); |
| 2056 | return GL_FALSE; |
| 2057 | } |
| 2058 | #endif /* GL_EXT_texture_object */ |
| 2059 | |
| 2060 | |
| 2061 | |
| 2062 | #ifdef _GLAPI_EXT_texture3D |
| 2063 | |
| 2064 | void GLAPIENTRY glTexImage3DEXT(GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 2065 | { |
| 2066 | DISPATCH(TexImage3D)(target, level, internalFormat, width, height, depth, border, format, type, pixels); |
| 2067 | } |
| 2068 | |
| 2069 | void GLAPIENTRY glTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| 2070 | { |
| 2071 | DISPATCH(TexSubImage3D)(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| 2072 | } |
| 2073 | |
| 2074 | void GLAPIENTRY glCopyTexSubImage3DEXT(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 2075 | { |
| 2076 | DISPATCH(CopyTexSubImage3D)(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 2077 | } |
| 2078 | |
| 2079 | #endif /* GL_EXT_texture3D*/ |
| 2080 | |
| 2081 | |
| 2082 | |
| 2083 | #ifdef _GLAPI_EXT_color_table |
| 2084 | |
| 2085 | void GLAPIENTRY glColorTableEXT(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| 2086 | { |
| 2087 | DISPATCH(ColorTableEXT)(target, internalformat, width, format, type, table); |
| 2088 | } |
| 2089 | |
| 2090 | void GLAPIENTRY glColorSubTableEXT(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
| 2091 | { |
| 2092 | DISPATCH(ColorSubTableEXT)(target, start, count, format, type, data); |
| 2093 | } |
| 2094 | |
| 2095 | void GLAPIENTRY glGetColorTableEXT(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| 2096 | { |
| 2097 | DISPATCH(GetColorTableEXT)(target, format, type, table); |
| 2098 | } |
| 2099 | |
| 2100 | void GLAPIENTRY glGetColorTableParameterfvEXT(GLenum target, GLenum pname, GLfloat *params) |
| 2101 | { |
| 2102 | DISPATCH(GetColorTableParameterfvEXT)(target, pname, params); |
| 2103 | } |
| 2104 | |
| 2105 | void GLAPIENTRY glGetColorTableParameterivEXT(GLenum target, GLenum pname, GLint *params) |
| 2106 | { |
| 2107 | DISPATCH(GetColorTableParameterivEXT)(target, pname, params); |
| 2108 | } |
| 2109 | |
| 2110 | #endif /* GL_EXT_color_table */ |
| 2111 | |
| 2112 | |
| 2113 | |
| 2114 | #ifdef _GLAPI_EXT_compiled_vertex_array |
| 2115 | |
| 2116 | void GLAPIENTRY glLockArraysEXT(GLint first, GLsizei count) |
| 2117 | { |
| 2118 | DISPATCH(LockArraysEXT)(first, count); |
| 2119 | } |
| 2120 | |
| 2121 | void GLAPIENTRY glUnlockArraysEXT(void) |
| 2122 | { |
| 2123 | DISPATCH(UnlockArraysEXT)(); |
| 2124 | } |
| 2125 | |
| 2126 | #endif /* GL_EXT_compiled_vertex_array */ |
| 2127 | |
| 2128 | |
| 2129 | |
| 2130 | #ifdef _GLAPI_EXT_point_parameters |
| 2131 | |
| 2132 | void GLAPIENTRY glPointParameterfEXT(GLenum target, GLfloat param) |
| 2133 | { |
| 2134 | DISPATCH(PointParameterfEXT)(target, param); |
| 2135 | } |
| 2136 | |
| 2137 | void GLAPIENTRY glPointParameterfvEXT(GLenum target, const GLfloat *param) |
| 2138 | { |
| 2139 | DISPATCH(PointParameterfvEXT)(target, param); |
| 2140 | } |
| 2141 | |
| 2142 | #endif /* GL_EXT_point_parameters */ |
| 2143 | |
| 2144 | |
| 2145 | |
| 2146 | #ifdef _GLAPI_ARB_multitexture |
| 2147 | |
| 2148 | void GLAPIENTRY glActiveTextureARB(GLenum texture) |
| 2149 | { |
| 2150 | DISPATCH(ActiveTextureARB)(texture); |
| 2151 | } |
| 2152 | |
| 2153 | void GLAPIENTRY glClientActiveTextureARB(GLenum texture) |
| 2154 | { |
| 2155 | DISPATCH(ClientActiveTextureARB)(texture); |
| 2156 | } |
| 2157 | |
| 2158 | void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s) |
| 2159 | { |
| 2160 | DISPATCH(MultiTexCoord1dARB)(target, s); |
| 2161 | } |
| 2162 | |
| 2163 | void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v) |
| 2164 | { |
| 2165 | DISPATCH(MultiTexCoord1dvARB)(target, v); |
| 2166 | } |
| 2167 | |
| 2168 | void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s) |
| 2169 | { |
| 2170 | DISPATCH(MultiTexCoord1fARB)(target, s); |
| 2171 | } |
| 2172 | |
| 2173 | void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v) |
| 2174 | { |
| 2175 | DISPATCH(MultiTexCoord1fvARB)(target, v); |
| 2176 | } |
| 2177 | |
| 2178 | void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s) |
| 2179 | { |
| 2180 | DISPATCH(MultiTexCoord1iARB)(target, s); |
| 2181 | } |
| 2182 | |
| 2183 | void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v) |
| 2184 | { |
| 2185 | DISPATCH(MultiTexCoord1ivARB)(target, v); |
| 2186 | } |
| 2187 | |
| 2188 | void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s) |
| 2189 | { |
| 2190 | DISPATCH(MultiTexCoord1sARB)(target, s); |
| 2191 | } |
| 2192 | |
| 2193 | void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v) |
| 2194 | { |
| 2195 | DISPATCH(MultiTexCoord1svARB)(target, v); |
| 2196 | } |
| 2197 | |
| 2198 | void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t) |
| 2199 | { |
| 2200 | DISPATCH(MultiTexCoord2dARB)(target, s, t); |
| 2201 | } |
| 2202 | |
| 2203 | void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v) |
| 2204 | { |
| 2205 | DISPATCH(MultiTexCoord2dvARB)(target, v); |
| 2206 | } |
| 2207 | |
| 2208 | void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t) |
| 2209 | { |
| 2210 | DISPATCH(MultiTexCoord2fARB)(target, s, t); |
| 2211 | } |
| 2212 | |
| 2213 | void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v) |
| 2214 | { |
| 2215 | DISPATCH(MultiTexCoord2fvARB)(target, v); |
| 2216 | } |
| 2217 | |
| 2218 | void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) |
| 2219 | { |
| 2220 | DISPATCH(MultiTexCoord2iARB)(target, s, t); |
| 2221 | } |
| 2222 | |
| 2223 | void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v) |
| 2224 | { |
| 2225 | DISPATCH(MultiTexCoord2ivARB)(target, v); |
| 2226 | } |
| 2227 | |
| 2228 | void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t) |
| 2229 | { |
| 2230 | DISPATCH(MultiTexCoord2sARB)(target, s, t); |
| 2231 | } |
| 2232 | |
| 2233 | void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v) |
| 2234 | { |
| 2235 | DISPATCH(MultiTexCoord2svARB)(target, v); |
| 2236 | } |
| 2237 | |
| 2238 | void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
| 2239 | { |
| 2240 | DISPATCH(MultiTexCoord3dARB)(target, s, t, r); |
| 2241 | } |
| 2242 | |
| 2243 | void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v) |
| 2244 | { |
| 2245 | DISPATCH(MultiTexCoord3dvARB)(target, v); |
| 2246 | } |
| 2247 | |
| 2248 | void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
| 2249 | { |
| 2250 | DISPATCH(MultiTexCoord3fARB)(target, s, t, r); |
| 2251 | } |
| 2252 | |
| 2253 | void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v) |
| 2254 | { |
| 2255 | DISPATCH(MultiTexCoord3fvARB)(target, v); |
| 2256 | } |
| 2257 | |
| 2258 | void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r) |
| 2259 | { |
| 2260 | DISPATCH(MultiTexCoord3iARB)(target, s, t, r); |
| 2261 | } |
| 2262 | |
| 2263 | void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v) |
| 2264 | { |
| 2265 | DISPATCH(MultiTexCoord3ivARB)(target, v); |
| 2266 | } |
| 2267 | |
| 2268 | void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r) |
| 2269 | { |
| 2270 | DISPATCH(MultiTexCoord3sARB)(target, s, t, r); |
| 2271 | } |
| 2272 | |
| 2273 | void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v) |
| 2274 | { |
| 2275 | DISPATCH(MultiTexCoord3svARB)(target, v); |
| 2276 | } |
| 2277 | |
| 2278 | void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| 2279 | { |
| 2280 | DISPATCH(MultiTexCoord4dARB)(target, s, t, r, q); |
| 2281 | } |
| 2282 | |
| 2283 | void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v) |
| 2284 | { |
| 2285 | DISPATCH(MultiTexCoord4dvARB)(target, v); |
| 2286 | } |
| 2287 | |
| 2288 | void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 2289 | { |
| 2290 | DISPATCH(MultiTexCoord4fARB)(target, s, t, r, q); |
| 2291 | } |
| 2292 | |
| 2293 | void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v) |
| 2294 | { |
| 2295 | DISPATCH(MultiTexCoord4fvARB)(target, v); |
| 2296 | } |
| 2297 | |
| 2298 | void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q) |
| 2299 | { |
| 2300 | DISPATCH(MultiTexCoord4iARB)(target, s, t, r, q); |
| 2301 | } |
| 2302 | |
| 2303 | void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v) |
| 2304 | { |
| 2305 | DISPATCH(MultiTexCoord4ivARB)(target, v); |
| 2306 | } |
| 2307 | |
| 2308 | void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
| 2309 | { |
| 2310 | DISPATCH(MultiTexCoord4sARB)(target, s, t, r, q); |
| 2311 | } |
| 2312 | |
| 2313 | void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v) |
| 2314 | { |
| 2315 | DISPATCH(MultiTexCoord4svARB)(target, v); |
| 2316 | } |
| 2317 | |
| 2318 | #endif /* GL_ARB_multitexture */ |
| 2319 | |
| 2320 | |
| 2321 | |
| 2322 | #ifdef _GLAPI_INGR_blend_func_separate |
| 2323 | void GLAPIENTRY glBlendFuncSeparateINGR(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| 2324 | { |
| 2325 | DISPATCH(BlendFuncSeparateINGR)(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| 2326 | } |
| 2327 | #endif /* GL_INGR_blend_func_separate */ |
| 2328 | |
| 2329 | |
| 2330 | |
| 2331 | #ifdef _GLAPI_MESA_window_pos |
| 2332 | |
| 2333 | void GLAPIENTRY glWindowPos2iMESA(GLint x, GLint y) |
| 2334 | { |
| 2335 | DISPATCH(WindowPos4fMESA)(x, y, 0, 1); |
| 2336 | } |
| 2337 | |
| 2338 | void GLAPIENTRY glWindowPos2sMESA(GLshort x, GLshort y) |
| 2339 | { |
| 2340 | DISPATCH(WindowPos4fMESA)(x, y, 0, 1); |
| 2341 | } |
| 2342 | |
| 2343 | void GLAPIENTRY glWindowPos2fMESA(GLfloat x, GLfloat y) |
| 2344 | { |
| 2345 | DISPATCH(WindowPos4fMESA)(x, y, 0, 1); |
| 2346 | } |
| 2347 | |
| 2348 | void GLAPIENTRY glWindowPos2dMESA(GLdouble x, GLdouble y) |
| 2349 | { |
| 2350 | DISPATCH(WindowPos4fMESA)(x, y, 0, 1); |
| 2351 | } |
| 2352 | |
| 2353 | void GLAPIENTRY glWindowPos2ivMESA(const GLint *p) |
| 2354 | { |
| 2355 | DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1); |
| 2356 | } |
| 2357 | |
| 2358 | void GLAPIENTRY glWindowPos2svMESA(const GLshort *p) |
| 2359 | { |
| 2360 | DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1); |
| 2361 | } |
| 2362 | |
| 2363 | void GLAPIENTRY glWindowPos2fvMESA(const GLfloat *p) |
| 2364 | { |
| 2365 | DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1); |
| 2366 | } |
| 2367 | |
| 2368 | void GLAPIENTRY glWindowPos2dvMESA(const GLdouble *p) |
| 2369 | { |
| 2370 | DISPATCH(WindowPos4fMESA)(p[0], p[1], 0, 1); |
| 2371 | } |
| 2372 | |
| 2373 | void GLAPIENTRY glWindowPos3iMESA(GLint x, GLint y, GLint z) |
| 2374 | { |
| 2375 | DISPATCH(WindowPos4fMESA)(x, y, z, 1); |
| 2376 | } |
| 2377 | |
| 2378 | void GLAPIENTRY glWindowPos3sMESA(GLshort x, GLshort y, GLshort z) |
| 2379 | { |
| 2380 | DISPATCH(WindowPos4fMESA)(x, y, z, 1); |
| 2381 | } |
| 2382 | |
| 2383 | void GLAPIENTRY glWindowPos3fMESA(GLfloat x, GLfloat y, GLfloat z) |
| 2384 | { |
| 2385 | DISPATCH(WindowPos4fMESA)(x, y, z, 1); |
| 2386 | } |
| 2387 | |
| 2388 | void GLAPIENTRY glWindowPos3dMESA(GLdouble x, GLdouble y, GLdouble z) |
| 2389 | { |
| 2390 | DISPATCH(WindowPos4fMESA)(x, y, z, 1); |
| 2391 | } |
| 2392 | |
| 2393 | void GLAPIENTRY glWindowPos3ivMESA(const GLint *p) |
| 2394 | { |
| 2395 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0); |
| 2396 | } |
| 2397 | |
| 2398 | void GLAPIENTRY glWindowPos3svMESA(const GLshort *p) |
| 2399 | { |
| 2400 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0); |
| 2401 | } |
| 2402 | |
| 2403 | void GLAPIENTRY glWindowPos3fvMESA(const GLfloat *p) |
| 2404 | { |
| 2405 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0); |
| 2406 | } |
| 2407 | |
| 2408 | void GLAPIENTRY glWindowPos3dvMESA(const GLdouble *p) |
| 2409 | { |
| 2410 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], 1.0); |
| 2411 | } |
| 2412 | |
| 2413 | void GLAPIENTRY glWindowPos4iMESA(GLint x, GLint y, GLint z, GLint w) |
| 2414 | { |
| 2415 | DISPATCH(WindowPos4fMESA)(x, y, z, w); |
| 2416 | } |
| 2417 | |
| 2418 | void GLAPIENTRY glWindowPos4sMESA(GLshort x, GLshort y, GLshort z, GLshort w) |
| 2419 | { |
| 2420 | DISPATCH(WindowPos4fMESA)(x, y, z, w); |
| 2421 | } |
| 2422 | |
| 2423 | void GLAPIENTRY glWindowPos4fMESA(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 2424 | { |
| 2425 | DISPATCH(WindowPos4fMESA)(x, y, z, w); |
| 2426 | } |
| 2427 | |
| 2428 | void GLAPIENTRY glWindowPos4dMESA(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 2429 | { |
| 2430 | DISPATCH(WindowPos4fMESA)(x, y, z, w); |
| 2431 | } |
| 2432 | |
| 2433 | void GLAPIENTRY glWindowPos4ivMESA(const GLint *p) |
| 2434 | { |
| 2435 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]); |
| 2436 | } |
| 2437 | |
| 2438 | void GLAPIENTRY glWindowPos4svMESA(const GLshort *p) |
| 2439 | { |
| 2440 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]); |
| 2441 | } |
| 2442 | |
| 2443 | void GLAPIENTRY glWindowPos4fvMESA(const GLfloat *p) |
| 2444 | { |
| 2445 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]); |
| 2446 | } |
| 2447 | |
| 2448 | void GLAPIENTRY glWindowPos4dvMESA(const GLdouble *p) |
| 2449 | { |
| 2450 | DISPATCH(WindowPos4fMESA)(p[0], p[1], p[2], p[3]); |
| 2451 | } |
| 2452 | |
| 2453 | #endif /* GL_MESA_window_pos */ |
| 2454 | |
| 2455 | |
| 2456 | |
| 2457 | #ifdef _GLAPI_MESA_resize_buffers |
| 2458 | GLAPI void GLAPIENTRY glResizeBuffersMESA(void) |
| 2459 | { |
| 2460 | DISPATCH(ResizeBuffersMESA)(); |
| 2461 | } |
| 2462 | #endif /* GL_MESA_resize_buffers */ |
| 2463 | |
| 2464 | |
| 2465 | #ifdef DEBUG |
| 2466 | /* |
| 2467 | * This struct is just used to be sure we've defined all the API functions. |
| 2468 | */ |
| 2469 | static struct _glapi_table completeness_test = { |
| 2470 | glAccum, |
| 2471 | glAlphaFunc, |
| 2472 | glBegin, |
| 2473 | glBitmap, |
| 2474 | glBlendFunc, |
| 2475 | glCallList, |
| 2476 | glCallLists, |
| 2477 | glClear, |
| 2478 | glClearAccum, |
| 2479 | glClearColor, |
| 2480 | glClearDepth, |
| 2481 | glClearIndex, |
| 2482 | glClearStencil, |
| 2483 | glClipPlane, |
| 2484 | glColor3b, |
| 2485 | glColor3bv, |
| 2486 | glColor3d, |
| 2487 | glColor3dv, |
| 2488 | glColor3f, |
| 2489 | glColor3fv, |
| 2490 | glColor3i, |
| 2491 | glColor3iv, |
| 2492 | glColor3s, |
| 2493 | glColor3sv, |
| 2494 | glColor3ub, |
| 2495 | glColor3ubv, |
| 2496 | glColor3ui, |
| 2497 | glColor3uiv, |
| 2498 | glColor3us, |
| 2499 | glColor3usv, |
| 2500 | glColor4b, |
| 2501 | glColor4bv, |
| 2502 | glColor4d, |
| 2503 | glColor4dv, |
| 2504 | glColor4f, |
| 2505 | glColor4fv, |
| 2506 | glColor4i, |
| 2507 | glColor4iv, |
| 2508 | glColor4s, |
| 2509 | glColor4sv, |
| 2510 | glColor4ub, |
| 2511 | glColor4ubv, |
| 2512 | glColor4ui, |
| 2513 | glColor4uiv, |
| 2514 | glColor4us, |
| 2515 | glColor4usv, |
| 2516 | glColorMask, |
| 2517 | glColorMaterial, |
| 2518 | glCopyPixels, |
| 2519 | glCullFace, |
| 2520 | glDeleteLists, |
| 2521 | glDepthFunc, |
| 2522 | glDepthMask, |
| 2523 | glDepthRange, |
| 2524 | glDisable, |
| 2525 | glDrawBuffer, |
| 2526 | glDrawPixels, |
| 2527 | glEdgeFlag, |
| 2528 | glEdgeFlagv, |
| 2529 | glEnable, |
| 2530 | glEnd, |
| 2531 | glEndList, |
| 2532 | glEvalCoord1d, |
| 2533 | glEvalCoord1dv, |
| 2534 | glEvalCoord1f, |
| 2535 | glEvalCoord1fv, |
| 2536 | glEvalCoord2d, |
| 2537 | glEvalCoord2dv, |
| 2538 | glEvalCoord2f, |
| 2539 | glEvalCoord2fv, |
| 2540 | glEvalMesh1, |
| 2541 | glEvalMesh2, |
| 2542 | glEvalPoint1, |
| 2543 | glEvalPoint2, |
| 2544 | glFeedbackBuffer, |
| 2545 | glFinish, |
| 2546 | glFlush, |
| 2547 | glFogf, |
| 2548 | glFogfv, |
| 2549 | glFogi, |
| 2550 | glFogiv, |
| 2551 | glFrontFace, |
| 2552 | glFrustum, |
| 2553 | glGenLists, |
| 2554 | glGetBooleanv, |
| 2555 | glGetClipPlane, |
| 2556 | glGetDoublev, |
| 2557 | glGetError, |
| 2558 | glGetFloatv, |
| 2559 | glGetIntegerv, |
| 2560 | glGetLightfv, |
| 2561 | glGetLightiv, |
| 2562 | glGetMapdv, |
| 2563 | glGetMapfv, |
| 2564 | glGetMapiv, |
| 2565 | glGetMaterialfv, |
| 2566 | glGetMaterialiv, |
| 2567 | glGetPixelMapfv, |
| 2568 | glGetPixelMapuiv, |
| 2569 | glGetPixelMapusv, |
| 2570 | glGetPolygonStipple, |
| 2571 | glGetString, |
| 2572 | glGetTexEnvfv, |
| 2573 | glGetTexEnviv, |
| 2574 | glGetTexGendv, |
| 2575 | glGetTexGenfv, |
| 2576 | glGetTexGeniv, |
| 2577 | glGetTexImage, |
| 2578 | glGetTexLevelParameterfv, |
| 2579 | glGetTexLevelParameteriv, |
| 2580 | glGetTexParameterfv, |
| 2581 | glGetTexParameteriv, |
| 2582 | glHint, |
| 2583 | glIndexMask, |
| 2584 | glIndexd, |
| 2585 | glIndexdv, |
| 2586 | glIndexf, |
| 2587 | glIndexfv, |
| 2588 | glIndexi, |
| 2589 | glIndexiv, |
| 2590 | glIndexs, |
| 2591 | glIndexsv, |
| 2592 | glInitNames, |
| 2593 | glIsEnabled, |
| 2594 | glIsList, |
| 2595 | glLightModelf, |
| 2596 | glLightModelfv, |
| 2597 | glLightModeli, |
| 2598 | glLightModeliv, |
| 2599 | glLightf, |
| 2600 | glLightfv, |
| 2601 | glLighti, |
| 2602 | glLightiv, |
| 2603 | glLineStipple, |
| 2604 | glLineWidth, |
| 2605 | glListBase, |
| 2606 | glLoadIdentity, |
| 2607 | glLoadMatrixd, |
| 2608 | glLoadMatrixf, |
| 2609 | glLoadName, |
| 2610 | glLogicOp, |
| 2611 | glMap1d, |
| 2612 | glMap1f, |
| 2613 | glMap2d, |
| 2614 | glMap2f, |
| 2615 | glMapGrid1d, |
| 2616 | glMapGrid1f, |
| 2617 | glMapGrid2d, |
| 2618 | glMapGrid2f, |
| 2619 | glMaterialf, |
| 2620 | glMaterialfv, |
| 2621 | glMateriali, |
| 2622 | glMaterialiv, |
| 2623 | glMatrixMode, |
| 2624 | glMultMatrixd, |
| 2625 | glMultMatrixf, |
| 2626 | glNewList, |
| 2627 | glNormal3b, |
| 2628 | glNormal3bv, |
| 2629 | glNormal3d, |
| 2630 | glNormal3dv, |
| 2631 | glNormal3f, |
| 2632 | glNormal3fv, |
| 2633 | glNormal3i, |
| 2634 | glNormal3iv, |
| 2635 | glNormal3s, |
| 2636 | glNormal3sv, |
| 2637 | glOrtho, |
| 2638 | glPassThrough, |
| 2639 | glPixelMapfv, |
| 2640 | glPixelMapuiv, |
| 2641 | glPixelMapusv, |
| 2642 | glPixelStoref, |
| 2643 | glPixelStorei, |
| 2644 | glPixelTransferf, |
| 2645 | glPixelTransferi, |
| 2646 | glPixelZoom, |
| 2647 | glPointSize, |
| 2648 | glPolygonMode, |
| 2649 | glPolygonOffset, |
| 2650 | glPolygonStipple, |
| 2651 | glPopAttrib, |
| 2652 | glPopMatrix, |
| 2653 | glPopName, |
| 2654 | glPushAttrib, |
| 2655 | glPushMatrix, |
| 2656 | glPushName, |
| 2657 | glRasterPos2d, |
| 2658 | glRasterPos2dv, |
| 2659 | glRasterPos2f, |
| 2660 | glRasterPos2fv, |
| 2661 | glRasterPos2i, |
| 2662 | glRasterPos2iv, |
| 2663 | glRasterPos2s, |
| 2664 | glRasterPos2sv, |
| 2665 | glRasterPos3d, |
| 2666 | glRasterPos3dv, |
| 2667 | glRasterPos3f, |
| 2668 | glRasterPos3fv, |
| 2669 | glRasterPos3i, |
| 2670 | glRasterPos3iv, |
| 2671 | glRasterPos3s, |
| 2672 | glRasterPos3sv, |
| 2673 | glRasterPos4d, |
| 2674 | glRasterPos4dv, |
| 2675 | glRasterPos4f, |
| 2676 | glRasterPos4fv, |
| 2677 | glRasterPos4i, |
| 2678 | glRasterPos4iv, |
| 2679 | glRasterPos4s, |
| 2680 | glRasterPos4sv, |
| 2681 | glReadBuffer, |
| 2682 | glReadPixels, |
| 2683 | glRectd, |
| 2684 | glRectdv, |
| 2685 | glRectf, |
| 2686 | glRectfv, |
| 2687 | glRecti, |
| 2688 | glRectiv, |
| 2689 | glRects, |
| 2690 | glRectsv, |
| 2691 | glRenderMode, |
| 2692 | glRotated, |
| 2693 | glRotatef, |
| 2694 | glScaled, |
| 2695 | glScalef, |
| 2696 | glScissor, |
| 2697 | glSelectBuffer, |
| 2698 | glShadeModel, |
| 2699 | glStencilFunc, |
| 2700 | glStencilMask, |
| 2701 | glStencilOp, |
| 2702 | glTexCoord1d, |
| 2703 | glTexCoord1dv, |
| 2704 | glTexCoord1f, |
| 2705 | glTexCoord1fv, |
| 2706 | glTexCoord1i, |
| 2707 | glTexCoord1iv, |
| 2708 | glTexCoord1s, |
| 2709 | glTexCoord1sv, |
| 2710 | glTexCoord2d, |
| 2711 | glTexCoord2dv, |
| 2712 | glTexCoord2f, |
| 2713 | glTexCoord2fv, |
| 2714 | glTexCoord2i, |
| 2715 | glTexCoord2iv, |
| 2716 | glTexCoord2s, |
| 2717 | glTexCoord2sv, |
| 2718 | glTexCoord3d, |
| 2719 | glTexCoord3dv, |
| 2720 | glTexCoord3f, |
| 2721 | glTexCoord3fv, |
| 2722 | glTexCoord3i, |
| 2723 | glTexCoord3iv, |
| 2724 | glTexCoord3s, |
| 2725 | glTexCoord3sv, |
| 2726 | glTexCoord4d, |
| 2727 | glTexCoord4dv, |
| 2728 | glTexCoord4f, |
| 2729 | glTexCoord4fv, |
| 2730 | glTexCoord4i, |
| 2731 | glTexCoord4iv, |
| 2732 | glTexCoord4s, |
| 2733 | glTexCoord4sv, |
| 2734 | glTexEnvf, |
| 2735 | glTexEnvfv, |
| 2736 | glTexEnvi, |
| 2737 | glTexEnviv, |
| 2738 | glTexGend, |
| 2739 | glTexGendv, |
| 2740 | glTexGenf, |
| 2741 | glTexGenfv, |
| 2742 | glTexGeni, |
| 2743 | glTexGeniv, |
| 2744 | glTexImage1D, |
| 2745 | glTexImage2D, |
| 2746 | glTexParameterf, |
| 2747 | glTexParameterfv, |
| 2748 | glTexParameteri, |
| 2749 | glTexParameteriv, |
| 2750 | glTranslated, |
| 2751 | glTranslatef, |
| 2752 | glVertex2d, |
| 2753 | glVertex2dv, |
| 2754 | glVertex2f, |
| 2755 | glVertex2fv, |
| 2756 | glVertex2i, |
| 2757 | glVertex2iv, |
| 2758 | glVertex2s, |
| 2759 | glVertex2sv, |
| 2760 | glVertex3d, |
| 2761 | glVertex3dv, |
| 2762 | glVertex3f, |
| 2763 | glVertex3fv, |
| 2764 | glVertex3i, |
| 2765 | glVertex3iv, |
| 2766 | glVertex3s, |
| 2767 | glVertex3sv, |
| 2768 | glVertex4d, |
| 2769 | glVertex4dv, |
| 2770 | glVertex4f, |
| 2771 | glVertex4fv, |
| 2772 | glVertex4i, |
| 2773 | glVertex4iv, |
| 2774 | glVertex4s, |
| 2775 | glVertex4sv, |
| 2776 | glViewport, |
| 2777 | |
| 2778 | #ifdef _GLAPI_VERSION_1_1 |
| 2779 | glAreTexturesResident, |
| 2780 | glArrayElement, |
| 2781 | glBindTexture, |
| 2782 | glColorPointer, |
| 2783 | glCopyTexImage1D, |
| 2784 | glCopyTexImage2D, |
| 2785 | glCopyTexSubImage1D, |
| 2786 | glCopyTexSubImage2D, |
| 2787 | glDeleteTextures, |
| 2788 | glDisableClientState, |
| 2789 | glDrawArrays, |
| 2790 | glDrawElements, |
| 2791 | glEdgeFlagPointer, |
| 2792 | glEnableClientState, |
| 2793 | glGenTextures, |
| 2794 | glGetPointerv, |
| 2795 | glIndexPointer, |
| 2796 | glIndexub, |
| 2797 | glIndexubv, |
| 2798 | glInterleavedArrays, |
| 2799 | glIsTexture, |
| 2800 | glNormalPointer, |
| 2801 | glPopClientAttrib, |
| 2802 | glPrioritizeTextures, |
| 2803 | glPushClientAttrib, |
| 2804 | glTexCoordPointer, |
| 2805 | glTexSubImage1D, |
| 2806 | glTexSubImage2D, |
| 2807 | glVertexPointer, |
| 2808 | #endif |
| 2809 | |
| 2810 | #ifdef _GLAPI_VERSION_1_2 |
| 2811 | glCopyTexSubImage3D, |
| 2812 | glDrawRangeElements, |
| 2813 | glTexImage3D, |
| 2814 | glTexSubImage3D, |
| 2815 | |
| 2816 | #ifdef _GLAPI_ARB_imaging |
| 2817 | glBlendColor, |
| 2818 | glBlendEquation, |
| 2819 | glColorSubTable, |
| 2820 | glColorTable, |
| 2821 | glColorTableParameterfv, |
| 2822 | glColorTableParameteriv, |
| 2823 | glConvolutionFilter1D, |
| 2824 | glConvolutionFilter2D, |
| 2825 | glConvolutionParameterf, |
| 2826 | glConvolutionParameterfv, |
| 2827 | glConvolutionParameteri, |
| 2828 | glConvolutionParameteriv, |
| 2829 | glCopyColorSubTable, |
| 2830 | glCopyColorTable, |
| 2831 | glCopyConvolutionFilter1D, |
| 2832 | glCopyConvolutionFilter2D, |
| 2833 | glGetColorTable, |
| 2834 | glGetColorTableParameterfv, |
| 2835 | glGetColorTableParameteriv, |
| 2836 | glGetConvolutionFilter, |
| 2837 | glGetConvolutionParameterfv, |
| 2838 | glGetConvolutionParameteriv, |
| 2839 | glGetHistogram, |
| 2840 | glGetHistogramParameterfv, |
| 2841 | glGetHistogramParameteriv, |
| 2842 | glGetMinmax, |
| 2843 | glGetMinmaxParameterfv, |
| 2844 | glGetMinmaxParameteriv, |
| 2845 | glGetSeparableFilter, |
| 2846 | glHistogram, |
| 2847 | glMinmax, |
| 2848 | glResetHistogram, |
| 2849 | glResetMinmax, |
| 2850 | glSeparableFilter2D, |
| 2851 | #endif |
| 2852 | #endif |
| 2853 | |
| 2854 | |
| 2855 | /* |
| 2856 | * Extensions |
| 2857 | */ |
| 2858 | |
| 2859 | #ifdef _GLAPI_EXT_color_table |
| 2860 | glColorTableEXT, |
| 2861 | glColorSubTableEXT, |
| 2862 | glGetColorTableEXT, |
| 2863 | glGetColorTableParameterfvEXT, |
| 2864 | glGetColorTableParameterivEXT, |
| 2865 | #endif |
| 2866 | |
| 2867 | #ifdef _GLAPI_EXT_compiled_vertex_array |
| 2868 | glLockArraysEXT, |
| 2869 | glUnlockArraysEXT, |
| 2870 | #endif |
| 2871 | |
| 2872 | #ifdef _GLAPI_EXT_point_parameters |
| 2873 | glPointParameterfEXT, |
| 2874 | glPointParameterfvEXT, |
| 2875 | #endif |
| 2876 | |
| 2877 | #ifdef _GLAPI_EXT_polygon_offset |
| 2878 | glPolygonOffsetEXT, |
| 2879 | #endif |
| 2880 | |
| 2881 | #ifdef _GLAPI_EXT_blend_minmax |
| 2882 | glBlendEquationEXT, |
| 2883 | #endif |
| 2884 | |
| 2885 | #ifdef _GLAPI_EXT_blend_color |
| 2886 | glBlendColorEXT, |
| 2887 | #endif |
| 2888 | |
| 2889 | #ifdef _GLAPI_ARB_multitexture |
| 2890 | glActiveTextureARB, |
| 2891 | glClientActiveTextureARB, |
| 2892 | glMultiTexCoord1dARB, |
| 2893 | glMultiTexCoord1dvARB, |
| 2894 | glMultiTexCoord1fARB, |
| 2895 | glMultiTexCoord1fvARB, |
| 2896 | glMultiTexCoord1iARB, |
| 2897 | glMultiTexCoord1ivARB, |
| 2898 | glMultiTexCoord1sARB, |
| 2899 | glMultiTexCoord1svARB, |
| 2900 | glMultiTexCoord2dARB, |
| 2901 | glMultiTexCoord2dvARB, |
| 2902 | glMultiTexCoord2fARB, |
| 2903 | glMultiTexCoord2fvARB, |
| 2904 | glMultiTexCoord2iARB, |
| 2905 | glMultiTexCoord2ivARB, |
| 2906 | glMultiTexCoord2sARB, |
| 2907 | glMultiTexCoord2svARB, |
| 2908 | glMultiTexCoord3dARB, |
| 2909 | glMultiTexCoord3dvARB, |
| 2910 | glMultiTexCoord3fARB, |
| 2911 | glMultiTexCoord3fvARB, |
| 2912 | glMultiTexCoord3iARB, |
| 2913 | glMultiTexCoord3ivARB, |
| 2914 | glMultiTexCoord3sARB, |
| 2915 | glMultiTexCoord3svARB, |
| 2916 | glMultiTexCoord4dARB, |
| 2917 | glMultiTexCoord4dvARB, |
| 2918 | glMultiTexCoord4fARB, |
| 2919 | glMultiTexCoord4fvARB, |
| 2920 | glMultiTexCoord4iARB, |
| 2921 | glMultiTexCoord4ivARB, |
| 2922 | glMultiTexCoord4sARB, |
| 2923 | glMultiTexCoord4svARB, |
| 2924 | #endif |
| 2925 | |
| 2926 | #ifdef _GLAPI_INGR_blend_func_separate |
| 2927 | glBlendFuncSeparateINGR, |
| 2928 | #endif |
| 2929 | |
| 2930 | #ifdef _GLAPI_MESA_window_pos |
| 2931 | glWindowPos4fMESA, |
| 2932 | #endif |
| 2933 | |
| 2934 | #ifdef _GLAPI_MESA_resize_buffers |
| 2935 | glResizeBuffersMESA |
| 2936 | #endif |
| 2937 | |
| 2938 | }; |
| 2939 | |
| 2940 | #endif /*DEBUG*/ |
| 2941 | |
| 2942 | |
| 2943 | |
| 2944 | |
| 2945 | |
| 2946 | |
| 2947 | |
| 2948 | /* |
| 2949 | * Set the global or per-thread dispatch table pointer. |
| 2950 | */ |
| 2951 | void |
| 2952 | _glapi_set_dispatch(struct _glapi_table *dispatch) |
| 2953 | { |
| 2954 | #ifdef DEBUG |
| 2955 | (void) completeness_test; /* to silence compiler warnings */ |
| 2956 | #endif |
| 2957 | |
| 2958 | if (dispatch) { |
| 2959 | #ifdef DEBUG |
| 2960 | _glapi_check_table(dispatch); |
| 2961 | #endif |
| 2962 | #if defined(MULTI_THREAD) |
| 2963 | /* set this thread's dispatch pointer */ |
| 2964 | /* XXX To Do */ |
| 2965 | #else |
| 2966 | Dispatch = dispatch; |
| 2967 | #endif |
| 2968 | } |
| 2969 | else { |
| 2970 | /* no current context, each function is a no-op */ |
| 2971 | Dispatch = &__glapi_noop_table; |
| 2972 | } |
| 2973 | } |
| 2974 | |
| 2975 | |
| 2976 | /* |
| 2977 | * Get the global or per-thread dispatch table pointer. |
| 2978 | */ |
| 2979 | struct _glapi_table * |
| 2980 | _glapi_get_dispatch(void) |
| 2981 | { |
| 2982 | #if defined(MULTI_THREAD) |
| 2983 | /* return this thread's dispatch pointer */ |
| 2984 | return NULL; |
| 2985 | #else |
| 2986 | return Dispatch; |
| 2987 | #endif |
| 2988 | } |
| 2989 | |
| 2990 | |
| 2991 | /* |
| 2992 | * Get API dispatcher version string. |
| 2993 | */ |
| 2994 | const char * |
| 2995 | _glapi_get_version(void) |
| 2996 | { |
| 2997 | return "1.2"; /* XXX this isn't well defined yet */ |
| 2998 | } |
| 2999 | |
| 3000 | |
| 3001 | /* |
| 3002 | * Return list of hard-coded extension entrypoints in the dispatch table. |
| 3003 | */ |
| 3004 | const char * |
| 3005 | _glapi_get_extensions(void) |
| 3006 | { |
| 3007 | return "GL_EXT_color_table GL_EXT_compiled_vertex_array GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_blend_minmax GL_EXT_blend_color GL_ARB_multitexture GL_INGR_blend_func_separate GL_MESA_window_pos GL_MESA_resize_buffers"; |
| 3008 | } |
| 3009 | |
| 3010 | |
| 3011 | |
| 3012 | /* |
| 3013 | * Dynamically allocate an extension entry point. Return a slot number. |
| 3014 | */ |
| 3015 | GLint |
| 3016 | _glapi_alloc_entrypoint(const char *funcName) |
| 3017 | { |
| 3018 | return -1; |
| 3019 | } |
| 3020 | |
| 3021 | |
| 3022 | |
| 3023 | /* |
| 3024 | * Find the dynamic entry point for the named function. |
| 3025 | */ |
| 3026 | GLint |
| 3027 | _glapi_get_entrypoint(const char *funcName) |
| 3028 | { |
| 3029 | return -1; |
| 3030 | } |
| 3031 | |
| 3032 | |
| 3033 | /* |
| 3034 | * Return entrypoint for named function. |
| 3035 | */ |
| 3036 | const GLvoid * |
| 3037 | _glapi_get_proc_address(const char *funcName) |
| 3038 | { |
| 3039 | return NULL; |
| 3040 | } |
| 3041 | |
| 3042 | |
| 3043 | |
| 3044 | /* |
| 3045 | * Make sure there are no NULL pointers in the given dispatch table. |
| 3046 | * Intented for debugging purposes. |
| 3047 | */ |
| 3048 | void |
| 3049 | _glapi_check_table(const struct _glapi_table *table) |
| 3050 | { |
| 3051 | assert(table->Accum); |
| 3052 | assert(table->AlphaFunc); |
| 3053 | assert(table->Begin); |
| 3054 | assert(table->Bitmap); |
| 3055 | assert(table->BlendFunc); |
| 3056 | assert(table->CallList); |
| 3057 | assert(table->CallLists); |
| 3058 | assert(table->Clear); |
| 3059 | assert(table->ClearAccum); |
| 3060 | assert(table->ClearColor); |
| 3061 | assert(table->ClearDepth); |
| 3062 | assert(table->ClearIndex); |
| 3063 | assert(table->ClearStencil); |
| 3064 | assert(table->ClipPlane); |
| 3065 | assert(table->Color3b); |
| 3066 | assert(table->Color3bv); |
| 3067 | assert(table->Color3d); |
| 3068 | assert(table->Color3dv); |
| 3069 | assert(table->Color3f); |
| 3070 | assert(table->Color3fv); |
| 3071 | assert(table->Color3i); |
| 3072 | assert(table->Color3iv); |
| 3073 | assert(table->Color3s); |
| 3074 | assert(table->Color3sv); |
| 3075 | assert(table->Color3ub); |
| 3076 | assert(table->Color3ubv); |
| 3077 | assert(table->Color3ui); |
| 3078 | assert(table->Color3uiv); |
| 3079 | assert(table->Color3us); |
| 3080 | assert(table->Color3usv); |
| 3081 | assert(table->Color4b); |
| 3082 | assert(table->Color4bv); |
| 3083 | assert(table->Color4d); |
| 3084 | assert(table->Color4dv); |
| 3085 | assert(table->Color4f); |
| 3086 | assert(table->Color4fv); |
| 3087 | assert(table->Color4i); |
| 3088 | assert(table->Color4iv); |
| 3089 | assert(table->Color4s); |
| 3090 | assert(table->Color4sv); |
| 3091 | assert(table->Color4ub); |
| 3092 | assert(table->Color4ubv); |
| 3093 | assert(table->Color4ui); |
| 3094 | assert(table->Color4uiv); |
| 3095 | assert(table->Color4us); |
| 3096 | assert(table->Color4usv); |
| 3097 | assert(table->ColorMask); |
| 3098 | assert(table->ColorMaterial); |
| 3099 | assert(table->CopyPixels); |
| 3100 | assert(table->CullFace); |
| 3101 | assert(table->DeleteLists); |
| 3102 | assert(table->DepthFunc); |
| 3103 | assert(table->DepthMask); |
| 3104 | assert(table->DepthRange); |
| 3105 | assert(table->Disable); |
| 3106 | assert(table->DrawBuffer); |
| 3107 | assert(table->DrawElements); |
| 3108 | assert(table->DrawPixels); |
| 3109 | assert(table->EdgeFlag); |
| 3110 | assert(table->EdgeFlagv); |
| 3111 | assert(table->Enable); |
| 3112 | assert(table->End); |
| 3113 | assert(table->EndList); |
| 3114 | assert(table->EvalCoord1d); |
| 3115 | assert(table->EvalCoord1dv); |
| 3116 | assert(table->EvalCoord1f); |
| 3117 | assert(table->EvalCoord1fv); |
| 3118 | assert(table->EvalCoord2d); |
| 3119 | assert(table->EvalCoord2dv); |
| 3120 | assert(table->EvalCoord2f); |
| 3121 | assert(table->EvalCoord2fv); |
| 3122 | assert(table->EvalMesh1); |
| 3123 | assert(table->EvalMesh2); |
| 3124 | assert(table->EvalPoint1); |
| 3125 | assert(table->EvalPoint2); |
| 3126 | assert(table->FeedbackBuffer); |
| 3127 | assert(table->Finish); |
| 3128 | assert(table->Flush); |
| 3129 | assert(table->Fogf); |
| 3130 | assert(table->Fogfv); |
| 3131 | assert(table->Fogi); |
| 3132 | assert(table->Fogiv); |
| 3133 | assert(table->FrontFace); |
| 3134 | assert(table->Frustum); |
| 3135 | assert(table->GenLists); |
| 3136 | assert(table->GetBooleanv); |
| 3137 | assert(table->GetClipPlane); |
| 3138 | assert(table->GetDoublev); |
| 3139 | assert(table->GetError); |
| 3140 | assert(table->GetFloatv); |
| 3141 | assert(table->GetIntegerv); |
| 3142 | assert(table->GetLightfv); |
| 3143 | assert(table->GetLightiv); |
| 3144 | assert(table->GetMapdv); |
| 3145 | assert(table->GetMapfv); |
| 3146 | assert(table->GetMapiv); |
| 3147 | assert(table->GetMaterialfv); |
| 3148 | assert(table->GetMaterialiv); |
| 3149 | assert(table->GetPixelMapfv); |
| 3150 | assert(table->GetPixelMapuiv); |
| 3151 | assert(table->GetPixelMapusv); |
| 3152 | assert(table->GetPolygonStipple); |
| 3153 | assert(table->GetString); |
| 3154 | assert(table->GetTexEnvfv); |
| 3155 | assert(table->GetTexEnviv); |
| 3156 | assert(table->GetTexGendv); |
| 3157 | assert(table->GetTexGenfv); |
| 3158 | assert(table->GetTexGeniv); |
| 3159 | assert(table->GetTexImage); |
| 3160 | assert(table->GetTexLevelParameterfv); |
| 3161 | assert(table->GetTexLevelParameteriv); |
| 3162 | assert(table->GetTexParameterfv); |
| 3163 | assert(table->GetTexParameteriv); |
| 3164 | assert(table->Hint); |
| 3165 | assert(table->IndexMask); |
| 3166 | assert(table->Indexd); |
| 3167 | assert(table->Indexdv); |
| 3168 | assert(table->Indexf); |
| 3169 | assert(table->Indexfv); |
| 3170 | assert(table->Indexi); |
| 3171 | assert(table->Indexiv); |
| 3172 | assert(table->Indexs); |
| 3173 | assert(table->Indexsv); |
| 3174 | assert(table->InitNames); |
| 3175 | assert(table->IsEnabled); |
| 3176 | assert(table->IsList); |
| 3177 | assert(table->LightModelf); |
| 3178 | assert(table->LightModelfv); |
| 3179 | assert(table->LightModeli); |
| 3180 | assert(table->LightModeliv); |
| 3181 | assert(table->Lightf); |
| 3182 | assert(table->Lightfv); |
| 3183 | assert(table->Lighti); |
| 3184 | assert(table->Lightiv); |
| 3185 | assert(table->LineStipple); |
| 3186 | assert(table->LineWidth); |
| 3187 | assert(table->ListBase); |
| 3188 | assert(table->LoadIdentity); |
| 3189 | assert(table->LoadMatrixd); |
| 3190 | assert(table->LoadMatrixf); |
| 3191 | assert(table->LoadName); |
| 3192 | assert(table->LogicOp); |
| 3193 | assert(table->Map1d); |
| 3194 | assert(table->Map1f); |
| 3195 | assert(table->Map2d); |
| 3196 | assert(table->Map2f); |
| 3197 | assert(table->MapGrid1d); |
| 3198 | assert(table->MapGrid1f); |
| 3199 | assert(table->MapGrid2d); |
| 3200 | assert(table->MapGrid2f); |
| 3201 | assert(table->Materialf); |
| 3202 | assert(table->Materialfv); |
| 3203 | assert(table->Materiali); |
| 3204 | assert(table->Materialiv); |
| 3205 | assert(table->MatrixMode); |
| 3206 | assert(table->MultMatrixd); |
| 3207 | assert(table->MultMatrixf); |
| 3208 | assert(table->NewList); |
| 3209 | assert(table->Normal3b); |
| 3210 | assert(table->Normal3bv); |
| 3211 | assert(table->Normal3d); |
| 3212 | assert(table->Normal3dv); |
| 3213 | assert(table->Normal3f); |
| 3214 | assert(table->Normal3fv); |
| 3215 | assert(table->Normal3i); |
| 3216 | assert(table->Normal3iv); |
| 3217 | assert(table->Normal3s); |
| 3218 | assert(table->Normal3sv); |
| 3219 | assert(table->Ortho); |
| 3220 | assert(table->PassThrough); |
| 3221 | assert(table->PixelMapfv); |
| 3222 | assert(table->PixelMapuiv); |
| 3223 | assert(table->PixelMapusv); |
| 3224 | assert(table->PixelStoref); |
| 3225 | assert(table->PixelStorei); |
| 3226 | assert(table->PixelTransferf); |
| 3227 | assert(table->PixelTransferi); |
| 3228 | assert(table->PixelZoom); |
| 3229 | assert(table->PointSize); |
| 3230 | assert(table->PolygonMode); |
| 3231 | assert(table->PolygonOffset); |
| 3232 | assert(table->PolygonStipple); |
| 3233 | assert(table->PopAttrib); |
| 3234 | assert(table->PopMatrix); |
| 3235 | assert(table->PopName); |
| 3236 | assert(table->PushAttrib); |
| 3237 | assert(table->PushMatrix); |
| 3238 | assert(table->PushName); |
| 3239 | assert(table->RasterPos2d); |
| 3240 | assert(table->RasterPos2dv); |
| 3241 | assert(table->RasterPos2f); |
| 3242 | assert(table->RasterPos2fv); |
| 3243 | assert(table->RasterPos2i); |
| 3244 | assert(table->RasterPos2iv); |
| 3245 | assert(table->RasterPos2s); |
| 3246 | assert(table->RasterPos2sv); |
| 3247 | assert(table->RasterPos3d); |
| 3248 | assert(table->RasterPos3dv); |
| 3249 | assert(table->RasterPos3f); |
| 3250 | assert(table->RasterPos3fv); |
| 3251 | assert(table->RasterPos3i); |
| 3252 | assert(table->RasterPos3iv); |
| 3253 | assert(table->RasterPos3s); |
| 3254 | assert(table->RasterPos3sv); |
| 3255 | assert(table->RasterPos4d); |
| 3256 | assert(table->RasterPos4dv); |
| 3257 | assert(table->RasterPos4f); |
| 3258 | assert(table->RasterPos4fv); |
| 3259 | assert(table->RasterPos4i); |
| 3260 | assert(table->RasterPos4iv); |
| 3261 | assert(table->RasterPos4s); |
| 3262 | assert(table->RasterPos4sv); |
| 3263 | assert(table->ReadBuffer); |
| 3264 | assert(table->ReadPixels); |
| 3265 | assert(table->Rectd); |
| 3266 | assert(table->Rectdv); |
| 3267 | assert(table->Rectf); |
| 3268 | assert(table->Rectfv); |
| 3269 | assert(table->Recti); |
| 3270 | assert(table->Rectiv); |
| 3271 | assert(table->Rects); |
| 3272 | assert(table->Rectsv); |
| 3273 | assert(table->RenderMode); |
| 3274 | assert(table->Rotated); |
| 3275 | assert(table->Rotatef); |
| 3276 | assert(table->Scaled); |
| 3277 | assert(table->Scalef); |
| 3278 | assert(table->Scissor); |
| 3279 | assert(table->SelectBuffer); |
| 3280 | assert(table->ShadeModel); |
| 3281 | assert(table->StencilFunc); |
| 3282 | assert(table->StencilMask); |
| 3283 | assert(table->StencilOp); |
| 3284 | assert(table->TexCoord1d); |
| 3285 | assert(table->TexCoord1dv); |
| 3286 | assert(table->TexCoord1f); |
| 3287 | assert(table->TexCoord1fv); |
| 3288 | assert(table->TexCoord1i); |
| 3289 | assert(table->TexCoord1iv); |
| 3290 | assert(table->TexCoord1s); |
| 3291 | assert(table->TexCoord1sv); |
| 3292 | assert(table->TexCoord2d); |
| 3293 | assert(table->TexCoord2dv); |
| 3294 | assert(table->TexCoord2f); |
| 3295 | assert(table->TexCoord2fv); |
| 3296 | assert(table->TexCoord2i); |
| 3297 | assert(table->TexCoord2iv); |
| 3298 | assert(table->TexCoord2s); |
| 3299 | assert(table->TexCoord2sv); |
| 3300 | assert(table->TexCoord3d); |
| 3301 | assert(table->TexCoord3dv); |
| 3302 | assert(table->TexCoord3f); |
| 3303 | assert(table->TexCoord3fv); |
| 3304 | assert(table->TexCoord3i); |
| 3305 | assert(table->TexCoord3iv); |
| 3306 | assert(table->TexCoord3s); |
| 3307 | assert(table->TexCoord3sv); |
| 3308 | assert(table->TexCoord4d); |
| 3309 | assert(table->TexCoord4dv); |
| 3310 | assert(table->TexCoord4f); |
| 3311 | assert(table->TexCoord4fv); |
| 3312 | assert(table->TexCoord4i); |
| 3313 | assert(table->TexCoord4iv); |
| 3314 | assert(table->TexCoord4s); |
| 3315 | assert(table->TexCoord4sv); |
| 3316 | assert(table->TexEnvf); |
| 3317 | assert(table->TexEnvfv); |
| 3318 | assert(table->TexEnvi); |
| 3319 | assert(table->TexEnviv); |
| 3320 | assert(table->TexGend); |
| 3321 | assert(table->TexGendv); |
| 3322 | assert(table->TexGenf); |
| 3323 | assert(table->TexGenfv); |
| 3324 | assert(table->TexGeni); |
| 3325 | assert(table->TexGeniv); |
| 3326 | assert(table->TexImage1D); |
| 3327 | assert(table->TexImage2D); |
| 3328 | assert(table->TexParameterf); |
| 3329 | assert(table->TexParameterfv); |
| 3330 | assert(table->TexParameteri); |
| 3331 | assert(table->TexParameteriv); |
| 3332 | assert(table->Translated); |
| 3333 | assert(table->Translatef); |
| 3334 | assert(table->Vertex2d); |
| 3335 | assert(table->Vertex2dv); |
| 3336 | assert(table->Vertex2f); |
| 3337 | assert(table->Vertex2fv); |
| 3338 | assert(table->Vertex2i); |
| 3339 | assert(table->Vertex2iv); |
| 3340 | assert(table->Vertex2s); |
| 3341 | assert(table->Vertex2sv); |
| 3342 | assert(table->Vertex3d); |
| 3343 | assert(table->Vertex3dv); |
| 3344 | assert(table->Vertex3f); |
| 3345 | assert(table->Vertex3fv); |
| 3346 | assert(table->Vertex3i); |
| 3347 | assert(table->Vertex3iv); |
| 3348 | assert(table->Vertex3s); |
| 3349 | assert(table->Vertex3sv); |
| 3350 | assert(table->Vertex4d); |
| 3351 | assert(table->Vertex4dv); |
| 3352 | assert(table->Vertex4f); |
| 3353 | assert(table->Vertex4fv); |
| 3354 | assert(table->Vertex4i); |
| 3355 | assert(table->Vertex4iv); |
| 3356 | assert(table->Vertex4s); |
| 3357 | assert(table->Vertex4sv); |
| 3358 | assert(table->Viewport); |
| 3359 | |
| 3360 | #ifdef _GLAPI_VERSION_1_1 |
| 3361 | assert(table->AreTexturesResident); |
| 3362 | assert(table->ArrayElement); |
| 3363 | assert(table->BindTexture); |
| 3364 | assert(table->ColorPointer); |
| 3365 | assert(table->CopyTexImage1D); |
| 3366 | assert(table->CopyTexImage2D); |
| 3367 | assert(table->CopyTexSubImage1D); |
| 3368 | assert(table->CopyTexSubImage2D); |
| 3369 | assert(table->DeleteTextures); |
| 3370 | assert(table->DisableClientState); |
| 3371 | assert(table->DrawArrays); |
| 3372 | assert(table->EdgeFlagPointer); |
| 3373 | assert(table->EnableClientState); |
| 3374 | assert(table->GenTextures); |
| 3375 | assert(table->GetPointerv); |
| 3376 | assert(table->IndexPointer); |
| 3377 | assert(table->Indexub); |
| 3378 | assert(table->Indexubv); |
| 3379 | assert(table->InterleavedArrays); |
| 3380 | assert(table->IsTexture); |
| 3381 | assert(table->NormalPointer); |
| 3382 | assert(table->PopClientAttrib); |
| 3383 | assert(table->PrioritizeTextures); |
| 3384 | assert(table->PushClientAttrib); |
| 3385 | assert(table->TexCoordPointer); |
| 3386 | assert(table->TexSubImage1D); |
| 3387 | assert(table->TexSubImage2D); |
| 3388 | assert(table->VertexPointer); |
| 3389 | #endif |
| 3390 | |
| 3391 | #ifdef _GLAPI_VERSION_1_2 |
| 3392 | assert(table->CopyTexSubImage3D); |
| 3393 | assert(table->DrawRangeElements); |
| 3394 | assert(table->TexImage3D); |
| 3395 | assert(table->TexSubImage3D); |
| 3396 | #ifdef _GLAPI_ARB_imaging |
| 3397 | assert(table->BlendColor); |
| 3398 | assert(table->BlendEquation); |
| 3399 | assert(table->ColorSubTable); |
| 3400 | assert(table->ColorTable); |
| 3401 | assert(table->ColorTableParameterfv); |
| 3402 | assert(table->ColorTableParameteriv); |
| 3403 | assert(table->ConvolutionFilter1D); |
| 3404 | assert(table->ConvolutionFilter2D); |
| 3405 | assert(table->ConvolutionParameterf); |
| 3406 | assert(table->ConvolutionParameterfv); |
| 3407 | assert(table->ConvolutionParameteri); |
| 3408 | assert(table->ConvolutionParameteriv); |
| 3409 | assert(table->CopyColorSubTable); |
| 3410 | assert(table->CopyColorTable); |
| 3411 | assert(table->CopyConvolutionFilter1D); |
| 3412 | assert(table->CopyConvolutionFilter2D); |
| 3413 | assert(table->GetColorTable); |
| 3414 | assert(table->GetColorTableParameterfv); |
| 3415 | assert(table->GetColorTableParameteriv); |
| 3416 | assert(table->GetConvolutionFilter); |
| 3417 | assert(table->GetConvolutionParameterfv); |
| 3418 | assert(table->GetConvolutionParameteriv); |
| 3419 | assert(table->GetHistogram); |
| 3420 | assert(table->GetHistogramParameterfv); |
| 3421 | assert(table->GetHistogramParameteriv); |
| 3422 | assert(table->GetMinmax); |
| 3423 | assert(table->GetMinmaxParameterfv); |
| 3424 | assert(table->GetMinmaxParameteriv); |
| 3425 | assert(table->Histogram); |
| 3426 | assert(table->Minmax); |
| 3427 | assert(table->ResetHistogram); |
| 3428 | assert(table->ResetMinmax); |
| 3429 | assert(table->SeparableFilter2D); |
| 3430 | #endif |
| 3431 | #endif |
| 3432 | |
| 3433 | |
| 3434 | #ifdef _GLAPI_EXT_color_table |
| 3435 | assert(table->ColorTableEXT); |
| 3436 | assert(table->ColorSubTableEXT); |
| 3437 | assert(table->GetColorTableEXT); |
| 3438 | assert(table->GetColorTableParameterfvEXT); |
| 3439 | assert(table->GetColorTableParameterivEXT); |
| 3440 | #endif |
| 3441 | |
| 3442 | #ifdef _GLAPI_EXT_compiled_vertex_array |
| 3443 | assert(table->LockArraysEXT); |
| 3444 | assert(table->UnlockArraysEXT); |
| 3445 | #endif |
| 3446 | |
| 3447 | #ifdef _GLAPI_EXT_point_parameter |
| 3448 | assert(table->PointParameterfEXT); |
| 3449 | assert(table->PointParameterfvEXT); |
| 3450 | #endif |
| 3451 | |
| 3452 | #ifdef _GLAPI_EXT_polygon_offset |
| 3453 | assert(table->PolygonOffsetEXT); |
| 3454 | #endif |
| 3455 | |
| 3456 | #ifdef _GLAPI_ARB_multitexture |
| 3457 | assert(table->ActiveTextureARB); |
| 3458 | assert(table->ClientActiveTextureARB); |
| 3459 | assert(table->MultiTexCoord1dARB); |
| 3460 | assert(table->MultiTexCoord1dvARB); |
| 3461 | assert(table->MultiTexCoord1fARB); |
| 3462 | assert(table->MultiTexCoord1fvARB); |
| 3463 | assert(table->MultiTexCoord1iARB); |
| 3464 | assert(table->MultiTexCoord1ivARB); |
| 3465 | assert(table->MultiTexCoord1sARB); |
| 3466 | assert(table->MultiTexCoord1svARB); |
| 3467 | assert(table->MultiTexCoord2dARB); |
| 3468 | assert(table->MultiTexCoord2dvARB); |
| 3469 | assert(table->MultiTexCoord2fARB); |
| 3470 | assert(table->MultiTexCoord2fvARB); |
| 3471 | assert(table->MultiTexCoord2iARB); |
| 3472 | assert(table->MultiTexCoord2ivARB); |
| 3473 | assert(table->MultiTexCoord2sARB); |
| 3474 | assert(table->MultiTexCoord2svARB); |
| 3475 | assert(table->MultiTexCoord3dARB); |
| 3476 | assert(table->MultiTexCoord3dvARB); |
| 3477 | assert(table->MultiTexCoord3fARB); |
| 3478 | assert(table->MultiTexCoord3fvARB); |
| 3479 | assert(table->MultiTexCoord3iARB); |
| 3480 | assert(table->MultiTexCoord3ivARB); |
| 3481 | assert(table->MultiTexCoord3sARB); |
| 3482 | assert(table->MultiTexCoord3svARB); |
| 3483 | assert(table->MultiTexCoord4dARB); |
| 3484 | assert(table->MultiTexCoord4dvARB); |
| 3485 | assert(table->MultiTexCoord4fARB); |
| 3486 | assert(table->MultiTexCoord4fvARB); |
| 3487 | assert(table->MultiTexCoord4iARB); |
| 3488 | assert(table->MultiTexCoord4ivARB); |
| 3489 | assert(table->MultiTexCoord4sARB); |
| 3490 | assert(table->MultiTexCoord4svARB); |
| 3491 | #endif |
| 3492 | |
| 3493 | #ifdef _GLAPI_INGR_blend_func_separate |
| 3494 | assert(table->BlendFuncSeparateINGR); |
| 3495 | #endif |
| 3496 | |
| 3497 | #ifdef _GLAPI_MESA_window_pos |
| 3498 | assert(table->WindowPos4fMESA); |
| 3499 | #endif |
| 3500 | |
| 3501 | #ifdef _GLAPI_MESA_resize_buffers |
| 3502 | assert(table->ResizeBuffersMESA); |
| 3503 | #endif |
| 3504 | } |
| 3505 | |