## Public API Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Related Pages

- File List
- File Members

# csplugincommon/opengl/glextmanager.h

Go to the documentation of this file.

    00001
    00005 /*
    00006   Copyright (C) 2002 by Anders Stenberg
    00007
    00008   This library is free software; you can redistribute it and/or
    00009   modify it under the terms of the GNU Library General Public
    00010   License as published by the Free Software Foundation; either
    00011   version 2 of the License, or (at your option) any later version.
    00012
    00013   This library is distributed in the hope that it will be useful,
    00014   but WITHOUT ANY WARRANTY; without even the implied warranty of
    00015   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00016   Library General Public License for more details.
    00017
    00018   You should have received a copy of the GNU Library General Public
    00019   License along with this library; if not, write to the Free
    00020   Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00021 */
    00022
    00023 /*
    00024
    00025  Please be careful when changing this file. It's the result of roughly
    00026  78 hours of work, where approximately 14 liters of coffee where consumed,
    00027  the keyboard been replaced 4 times due to worn-out cut'n'paste combo keys
    00028  and two ambulance calls because of near-fatal RSI syndroms. Every line has
    00029  been thought of carefully and has been highly optimized by 3 members of a
    00030  Zen buddhist religion in a Tibetian monastry. Thus modifications, as they
    00031  touch the core OpenGL support, could severely affect performance. Beware!
    00032  Okay, maybe this was a bit exagerated... this file is autogenerated.
    00033
    00034  */
    00035
    00040 #ifndef __CS_GLEXTENSIONMANAGER_H__
    00041 #define __CS_GLEXTENSIONMANAGER_H__
    00042
    00043 /**********************************************************************
    00044  * Begin system-specific stuff.
    00045  */
    00046 #if defined(__BEOS__)
    00047 #include <stdlib.h>     /* to get some BeOS-isms */
    00048 #endif
    00049
    00050 #if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO))
    00051 #define OPENSTEP
    00052 #endif
    00053
    00054 #if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
    00055 #define __WIN32__
    00056 #endif
    00057
    00058 #if !defined(GLAPI)
    00059 #  if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
    00060 #    if defined(_MSC_VER) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
    00061 #      define GLAPI __declspec(dllexport)
    00062 #    elif defined(_MSC_VER) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
    00063 #      define GLAPI __declspec(dllimport)
    00064 #    else /* for use with static link lib build of Win32 edition only */
    00065 #      define GLAPI extern
    00066 #    endif /* _STATIC_MESA support */
    00067 #    define GLAPIENTRY __stdcall
    00068 #  else
    00069 /* non-Windows compilation */
    00070 /* In most cases, it seems safest to avoid defining these at all. Please report
    00071  *  if this causes trouble.
    00072  * #define GLAPI extern
    00073  * #define GLAPI
    00074  * #define GLAPIENTRY
    00075  */
    00076 #  endif /* WIN32 / CYGWIN bracket */
    00077 #endif
    00078
    00079 //#if defined(_WIN32) && !defined(_WINGDI_) && !defined(__CYGWIN__) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP)
    00080 //#include <gl/mesa_wgl.h>
    00081 //#endif
    00082
    00083 #if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED
    00084 #pragma import on
    00085 #endif
    00086
    00087 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
    00088 #define WIN32_LEAN_AND_MEAN 1
    00089 #include <windows.h>
    00090 #endif
    00091
    00092 #ifndef csAPIENTRY
    00093 #ifndef APIENTRY
    00094 #define csAPIENTRY
    00095 #else
    00096 #define csAPIENTRY APIENTRY
    00097 #endif
    00098 #endif
    00099
    00100 // In CS, we ignore Cygwin's graphical offerings and use the Windows versions.
    00101 #if defined(__CYGWIN__) && !defined(_WIN32)
    00102 #define _WIN32
    00103 #endif
    00104
    00105 /*
    00106  * End system-specific stuff.
    00107  **********************************************************************/
    00108
    00109 #ifdef DOXYGEN_RUN
    00110 typedef void GLvoid;
    00111 typedef int GLint;
    00112 typedef uint GLuint;
    00113 typedef int GLsizei;
    00114 typedef uint GLenum;
    00115 typedef float GLfloat;
    00116 typedef double GLdouble;
    00117 typedef unsigned char GLubyte;
    00118 #  define _WIN32
    00119 #else
    00120 #  if defined(CS_OPENGL_PATH)
    00121 #    include CS_HEADER_GLOBAL(CS_OPENGL_PATH,gl.h)
    00122 #  else
    00123 #    include <GL/gl.h>
    00124 #  endif
    00125 #endif
    00126
    00127 #include "cssysdef.h"
    00128
    00129 /*
    00130   Appear in the ARB_shader_objects ext spec.
    00131  */
    00132 typedef char GLcharARB;
    00133 #ifndef CS_HAVE_GLHANDLEARB_T
    00134 typedef unsigned int GLhandleARB;
    00135 #endif
    00136
    00137 #include "iutil/cmdline.h"
    00138 #include "iutil/objreg.h"
    00139 #include "iutil/verbositymanager.h"
    00140 #include "ivaria/reporter.h"
    00141 #include "ivideo/graph2d.h"
    00142 #include "csutil/cfgacc.h"
    00143 #include "csplugincommon/iopengl/openglinterface.h"
    00144
    00149 #ifndef GL_UNSIGNED_BYTE_3_3_2
    00150 #define GL_UNSIGNED_BYTE_3_3_2                                        32818
    00151 #endif
    00152
    00153 #ifndef GL_UNSIGNED_SHORT_4_4_4_4
    00154 #define GL_UNSIGNED_SHORT_4_4_4_4                                     32819
    00155 #endif
    00156
    00157 #ifndef GL_UNSIGNED_SHORT_5_5_5_1
    00158 #define GL_UNSIGNED_SHORT_5_5_5_1                                     32820
    00159 #endif
    00160
    00161 #ifndef GL_UNSIGNED_INT_8_8_8_8
    00162 #define GL_UNSIGNED_INT_8_8_8_8                                       32821
    00163 #endif
    00164
    00165 #ifndef GL_UNSIGNED_INT_10_10_10_2
    00166 #define GL_UNSIGNED_INT_10_10_10_2                                    32822
    00167 #endif
    00168
    00169 #ifndef GL_RESCALE_NORMAL
    00170 #define GL_RESCALE_NORMAL                                             32826
    00171 #endif
    00172
    00173 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV
    00174 #define GL_UNSIGNED_BYTE_2_3_3_REV                                    33634
    00175 #endif
    00176
    00177 #ifndef GL_UNSIGNED_SHORT_5_6_5
    00178 #define GL_UNSIGNED_SHORT_5_6_5                                       33635
    00179 #endif
    00180
    00181 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV
    00182 #define GL_UNSIGNED_SHORT_5_6_5_REV                                   33636
    00183 #endif
    00184
    00185 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV
    00186 #define GL_UNSIGNED_SHORT_4_4_4_4_REV                                 33637
    00187 #endif
    00188
    00189 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV
    00190 #define GL_UNSIGNED_SHORT_1_5_5_5_REV                                 33638
    00191 #endif
    00192
    00193 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV
    00194 #define GL_UNSIGNED_INT_8_8_8_8_REV                                   33639
    00195 #endif
    00196
    00197 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV
    00198 #define GL_UNSIGNED_INT_2_10_10_10_REV                                33640
    00199 #endif
    00200
    00201 #ifndef GL_BGR
    00202 #define GL_BGR                                                        32992
    00203 #endif
    00204
    00205 #ifndef GL_BGRA
    00206 #define GL_BGRA                                                       32993
    00207 #endif
    00208
    00209 #ifndef GL_MAX_ELEMENTS_VERTICES
    00210 #define GL_MAX_ELEMENTS_VERTICES                                      33000
    00211 #endif
    00212
    00213 #ifndef GL_MAX_ELEMENTS_INDICES
    00214 #define GL_MAX_ELEMENTS_INDICES                                       33001
    00215 #endif
    00216
    00217 #ifndef GL_CLAMP_TO_EDGE
    00218 #define GL_CLAMP_TO_EDGE                                              33071
    00219 #endif
    00220
    00221 #ifndef GL_TEXTURE_MIN_LOD
    00222 #define GL_TEXTURE_MIN_LOD                                            33082
    00223 #endif
    00224
    00225 #ifndef GL_TEXTURE_MAX_LOD
    00226 #define GL_TEXTURE_MAX_LOD                                            33083
    00227 #endif
    00228
    00229 #ifndef GL_TEXTURE_BASE_LEVEL
    00230 #define GL_TEXTURE_BASE_LEVEL                                         33084
    00231 #endif
    00232
    00233 #ifndef GL_TEXTURE_MAX_LEVEL
    00234 #define GL_TEXTURE_MAX_LEVEL                                          33085
    00235 #endif
    00236
    00237 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL
    00238 #define GL_LIGHT_MODEL_COLOR_CONTROL                                  33272
    00239 #endif
    00240
    00241 #ifndef GL_SINGLE_COLOR
    00242 #define GL_SINGLE_COLOR                                               33273
    00243 #endif
    00244
    00245 #ifndef GL_SEPARATE_SPECULAR_COLOR
    00246 #define GL_SEPARATE_SPECULAR_COLOR                                    33274
    00247 #endif
    00248
    00249 #ifndef GL_SMOOTH_POINT_SIZE_RANGE
    00250 #define GL_SMOOTH_POINT_SIZE_RANGE                                     2834
    00251 #endif
    00252
    00253 #ifndef GL_SMOOTH_POINT_SIZE_GRANULARITY
    00254 #define GL_SMOOTH_POINT_SIZE_GRANULARITY                               2835
    00255 #endif
    00256
    00257 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
    00258 #define GL_SMOOTH_LINE_WIDTH_RANGE                                     2850
    00259 #endif
    00260
    00261 #ifndef GL_SMOOTH_LINE_WIDTH_GRANULARITY
    00262 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY                               2851
    00263 #endif
    00264
    00265 #ifndef GL_ALIASED_POINT_SIZE_RANGE
    00266 #define GL_ALIASED_POINT_SIZE_RANGE                                   33901
    00267 #endif
    00268
    00269 #ifndef GL_ALIASED_LINE_WIDTH_RANGE
    00270 #define GL_ALIASED_LINE_WIDTH_RANGE                                   33902
    00271 #endif
    00272
    00273 #ifndef GL_PACK_SKIP_IMAGES
    00274 #define GL_PACK_SKIP_IMAGES                                           32875
    00275 #endif
    00276
    00277 #ifndef GL_PACK_IMAGE_HEIGHT
    00278 #define GL_PACK_IMAGE_HEIGHT                                          32876
    00279 #endif
    00280
    00281 #ifndef GL_UNPACK_SKIP_IMAGES
    00282 #define GL_UNPACK_SKIP_IMAGES                                         32877
    00283 #endif
    00284
    00285 #ifndef GL_UNPACK_IMAGE_HEIGHT
    00286 #define GL_UNPACK_IMAGE_HEIGHT                                        32878
    00287 #endif
    00288
    00289 #ifndef GL_TEXTURE_3D
    00290 #define GL_TEXTURE_3D                                                 32879
    00291 #endif
    00292
    00293 #ifndef GL_PROXY_TEXTURE_3D
    00294 #define GL_PROXY_TEXTURE_3D                                           32880
    00295 #endif
    00296
    00297 #ifndef GL_TEXTURE_DEPTH
    00298 #define GL_TEXTURE_DEPTH                                              32881
    00299 #endif
    00300
    00301 #ifndef GL_TEXTURE_WRAP_R
    00302 #define GL_TEXTURE_WRAP_R                                             32882
    00303 #endif
    00304
    00305 #ifndef GL_MAX_3D_TEXTURE_SIZE
    00306 #define GL_MAX_3D_TEXTURE_SIZE                                        32883
    00307 #endif
    00308
    00309
    00316 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTS) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
    00317 typedef GLvoid (csAPIENTRY* csGLTEXIMAGE3D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
    00318 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
    00319 typedef GLvoid (csAPIENTRY* csGLCOPYTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
    00320
    00326 #ifndef GL_TEXTURE0
    00327 #define GL_TEXTURE0                                                   33984
    00328 #endif
    00329
    00330 #ifndef GL_TEXTURE1
    00331 #define GL_TEXTURE1                                                   33985
    00332 #endif
    00333
    00334 #ifndef GL_TEXTURE2
    00335 #define GL_TEXTURE2                                                   33986
    00336 #endif
    00337
    00338 #ifndef GL_TEXTURE3
    00339 #define GL_TEXTURE3                                                   33987
    00340 #endif
    00341
    00342 #ifndef GL_TEXTURE4
    00343 #define GL_TEXTURE4                                                   33988
    00344 #endif
    00345
    00346 #ifndef GL_TEXTURE5
    00347 #define GL_TEXTURE5                                                   33989
    00348 #endif
    00349
    00350 #ifndef GL_TEXTURE6
    00351 #define GL_TEXTURE6                                                   33990
    00352 #endif
    00353
    00354 #ifndef GL_TEXTURE7
    00355 #define GL_TEXTURE7                                                   33991
    00356 #endif
    00357
    00358 #ifndef GL_TEXTURE8
    00359 #define GL_TEXTURE8                                                   33992
    00360 #endif
    00361
    00362 #ifndef GL_TEXTURE9
    00363 #define GL_TEXTURE9                                                   33993
    00364 #endif
    00365
    00366 #ifndef GL_TEXTURE10
    00367 #define GL_TEXTURE10                                                  33994
    00368 #endif
    00369
    00370 #ifndef GL_TEXTURE11
    00371 #define GL_TEXTURE11                                                  33995
    00372 #endif
    00373
    00374 #ifndef GL_TEXTURE12
    00375 #define GL_TEXTURE12                                                  33996
    00376 #endif
    00377
    00378 #ifndef GL_TEXTURE13
    00379 #define GL_TEXTURE13                                                  33997
    00380 #endif
    00381
    00382 #ifndef GL_TEXTURE14
    00383 #define GL_TEXTURE14                                                  33998
    00384 #endif
    00385
    00386 #ifndef GL_TEXTURE15
    00387 #define GL_TEXTURE15                                                  33999
    00388 #endif
    00389
    00390 #ifndef GL_TEXTURE16
    00391 #define GL_TEXTURE16                                                  34000
    00392 #endif
    00393
    00394 #ifndef GL_TEXTURE17
    00395 #define GL_TEXTURE17                                                  34001
    00396 #endif
    00397
    00398 #ifndef GL_TEXTURE18
    00399 #define GL_TEXTURE18                                                  34002
    00400 #endif
    00401
    00402 #ifndef GL_TEXTURE19
    00403 #define GL_TEXTURE19                                                  34003
    00404 #endif
    00405
    00406 #ifndef GL_TEXTURE20
    00407 #define GL_TEXTURE20                                                  34004
    00408 #endif
    00409
    00410 #ifndef GL_TEXTURE21
    00411 #define GL_TEXTURE21                                                  34005
    00412 #endif
    00413
    00414 #ifndef GL_TEXTURE22
    00415 #define GL_TEXTURE22                                                  34006
    00416 #endif
    00417
    00418 #ifndef GL_TEXTURE23
    00419 #define GL_TEXTURE23                                                  34007
    00420 #endif
    00421
    00422 #ifndef GL_TEXTURE24
    00423 #define GL_TEXTURE24                                                  34008
    00424 #endif
    00425
    00426 #ifndef GL_TEXTURE25
    00427 #define GL_TEXTURE25                                                  34009
    00428 #endif
    00429
    00430 #ifndef GL_TEXTURE26
    00431 #define GL_TEXTURE26                                                  34010
    00432 #endif
    00433
    00434 #ifndef GL_TEXTURE27
    00435 #define GL_TEXTURE27                                                  34011
    00436 #endif
    00437
    00438 #ifndef GL_TEXTURE28
    00439 #define GL_TEXTURE28                                                  34012
    00440 #endif
    00441
    00442 #ifndef GL_TEXTURE29
    00443 #define GL_TEXTURE29                                                  34013
    00444 #endif
    00445
    00446 #ifndef GL_TEXTURE30
    00447 #define GL_TEXTURE30                                                  34014
    00448 #endif
    00449
    00450 #ifndef GL_TEXTURE31
    00451 #define GL_TEXTURE31                                                  34015
    00452 #endif
    00453
    00454 #ifndef GL_ACTIVE_TEXTURE
    00455 #define GL_ACTIVE_TEXTURE                                             34016
    00456 #endif
    00457
    00458 #ifndef GL_CLIENT_ACTIVE_TEXTURE
    00459 #define GL_CLIENT_ACTIVE_TEXTURE                                      34017
    00460 #endif
    00461
    00462 #ifndef GL_MAX_TEXTURE_UNITS
    00463 #define GL_MAX_TEXTURE_UNITS                                          34018
    00464 #endif
    00465
    00466 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX
    00467 #define GL_TRANSPOSE_MODELVIEW_MATRIX                                 34019
    00468 #endif
    00469
    00470 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX
    00471 #define GL_TRANSPOSE_PROJECTION_MATRIX                                34020
    00472 #endif
    00473
    00474 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX
    00475 #define GL_TRANSPOSE_TEXTURE_MATRIX                                   34021
    00476 #endif
    00477
    00478 #ifndef GL_TRANSPOSE_COLOR_MATRIX
    00479 #define GL_TRANSPOSE_COLOR_MATRIX                                     34022
    00480 #endif
    00481
    00482 #ifndef GL_MULTISAMPLE
    00483 #define GL_MULTISAMPLE                                                32925
    00484 #endif
    00485
    00486 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE
    00487 #define GL_SAMPLE_ALPHA_TO_COVERAGE                                   32926
    00488 #endif
    00489
    00490 #ifndef GL_SAMPLE_ALPHA_TO_ONE
    00491 #define GL_SAMPLE_ALPHA_TO_ONE                                        32927
    00492 #endif
    00493
    00494 #ifndef GL_SAMPLE_COVERAGE
    00495 #define GL_SAMPLE_COVERAGE                                            32928
    00496 #endif
    00497
    00498 #ifndef GL_SAMPLE_BUFFERS
    00499 #define GL_SAMPLE_BUFFERS                                             32936
    00500 #endif
    00501
    00502 #ifndef GL_SAMPLES
    00503 #define GL_SAMPLES                                                    32937
    00504 #endif
    00505
    00506 #ifndef GL_SAMPLE_COVERAGE_VALUE
    00507 #define GL_SAMPLE_COVERAGE_VALUE                                      32938
    00508 #endif
    00509
    00510 #ifndef GL_SAMPLE_COVERAGE_INVERT
    00511 #define GL_SAMPLE_COVERAGE_INVERT                                     32939
    00512 #endif
    00513
    00514 #ifndef GL_MULTISAMPLE_BIT
    00515 #define GL_MULTISAMPLE_BIT                                           536870912
    00516 #endif
    00517
    00518 #ifndef GL_NORMAL_MAP
    00519 #define GL_NORMAL_MAP                                                 34065
    00520 #endif
    00521
    00522 #ifndef GL_REFLECTION_MAP
    00523 #define GL_REFLECTION_MAP                                             34066
    00524 #endif
    00525
    00526 #ifndef GL_TEXTURE_CUBE_MAP
    00527 #define GL_TEXTURE_CUBE_MAP                                           34067
    00528 #endif
    00529
    00530 #ifndef GL_TEXTURE_BINDING_CUBE_MAP
    00531 #define GL_TEXTURE_BINDING_CUBE_MAP                                   34068
    00532 #endif
    00533
    00534 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X
    00535 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X                                34069
    00536 #endif
    00537
    00538 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X
    00539 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X                                34070
    00540 #endif
    00541
    00542 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y
    00543 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y                                34071
    00544 #endif
    00545
    00546 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
    00547 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                                34072
    00548 #endif
    00549
    00550 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z
    00551 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z                                34073
    00552 #endif
    00553
    00554 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
    00555 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z                                34074
    00556 #endif
    00557
    00558 #ifndef GL_PROXY_TEXTURE_CUBE_MAP
    00559 #define GL_PROXY_TEXTURE_CUBE_MAP                                     34075
    00560 #endif
    00561
    00562 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE
    00563 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE                                  34076
    00564 #endif
    00565
    00566 #ifndef GL_COMPRESSED_ALPHA
    00567 #define GL_COMPRESSED_ALPHA                                           34025
    00568 #endif
    00569
    00570 #ifndef GL_COMPRESSED_LUMINANCE
    00571 #define GL_COMPRESSED_LUMINANCE                                       34026
    00572 #endif
    00573
    00574 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA
    00575 #define GL_COMPRESSED_LUMINANCE_ALPHA                                 34027
    00576 #endif
    00577
    00578 #ifndef GL_COMPRESSED_INTENSITY
    00579 #define GL_COMPRESSED_INTENSITY                                       34028
    00580 #endif
    00581
    00582 #ifndef GL_COMPRESSED_RGB
    00583 #define GL_COMPRESSED_RGB                                             34029
    00584 #endif
    00585
    00586 #ifndef GL_COMPRESSED_RGBA
    00587 #define GL_COMPRESSED_RGBA                                            34030
    00588 #endif
    00589
    00590 #ifndef GL_TEXTURE_COMPRESSION_HINT
    00591 #define GL_TEXTURE_COMPRESSION_HINT                                   34031
    00592 #endif
    00593
    00594 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE
    00595 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE                              34464
    00596 #endif
    00597
    00598 #ifndef GL_TEXTURE_COMPRESSED
    00599 #define GL_TEXTURE_COMPRESSED                                         34465
    00600 #endif
    00601
    00602 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS
    00603 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS                             34466
    00604 #endif
    00605
    00606 #ifndef GL_COMPRESSED_TEXTURE_FORMATS
    00607 #define GL_COMPRESSED_TEXTURE_FORMATS                                 34467
    00608 #endif
    00609
    00610 #ifndef GL_CLAMP_TO_BORDER
    00611 #define GL_CLAMP_TO_BORDER                                            33069
    00612 #endif
    00613
    00614 #ifndef GL_CLAMP_TO_BORDER_SGIS
    00615 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
    00616 #endif
    00617
    00618 #ifndef GL_COMBINE
    00619 #define GL_COMBINE                                                    34160
    00620 #endif
    00621
    00622 #ifndef GL_COMBINE_RGB
    00623 #define GL_COMBINE_RGB                                                34161
    00624 #endif
    00625
    00626 #ifndef GL_COMBINE_ALPHA
    00627 #define GL_COMBINE_ALPHA                                              34162
    00628 #endif
    00629
    00630 #ifndef GL_SOURCE0_RGB
    00631 #define GL_SOURCE0_RGB                                                34176
    00632 #endif
    00633
    00634 #ifndef GL_SOURCE1_RGB
    00635 #define GL_SOURCE1_RGB                                                34177
    00636 #endif
    00637
    00638 #ifndef GL_SOURCE2_RGB
    00639 #define GL_SOURCE2_RGB                                                34178
    00640 #endif
    00641
    00642 #ifndef GL_SOURCE0_ALPHA
    00643 #define GL_SOURCE0_ALPHA                                              34184
    00644 #endif
    00645
    00646 #ifndef GL_SOURCE1_ALPHA
    00647 #define GL_SOURCE1_ALPHA                                              34185
    00648 #endif
    00649
    00650 #ifndef GL_SOURCE2_ALPHA
    00651 #define GL_SOURCE2_ALPHA                                              34186
    00652 #endif
    00653
    00654 #ifndef GL_OPERAND0_RGB
    00655 #define GL_OPERAND0_RGB                                               34192
    00656 #endif
    00657
    00658 #ifndef GL_OPERAND1_RGB
    00659 #define GL_OPERAND1_RGB                                               34193
    00660 #endif
    00661
    00662 #ifndef GL_OPERAND2_RGB
    00663 #define GL_OPERAND2_RGB                                               34194
    00664 #endif
    00665
    00666 #ifndef GL_OPERAND0_ALPHA
    00667 #define GL_OPERAND0_ALPHA                                             34200
    00668 #endif
    00669
    00670 #ifndef GL_OPERAND1_ALPHA
    00671 #define GL_OPERAND1_ALPHA                                             34201
    00672 #endif
    00673
    00674 #ifndef GL_OPERAND2_ALPHA
    00675 #define GL_OPERAND2_ALPHA                                             34202
    00676 #endif
    00677
    00678 #ifndef GL_RGB_SCALE
    00679 #define GL_RGB_SCALE                                                  34163
    00680 #endif
    00681
    00682 #ifndef GL_ADD_SIGNED
    00683 #define GL_ADD_SIGNED                                                 34164
    00684 #endif
    00685
    00686 #ifndef GL_INTERPOLATE
    00687 #define GL_INTERPOLATE                                                34165
    00688 #endif
    00689
    00690 #ifndef GL_SUBTRACT
    00691 #define GL_SUBTRACT                                                   34023
    00692 #endif
    00693
    00694 #ifndef GL_CONSTANT
    00695 #define GL_CONSTANT                                                   34166
    00696 #endif
    00697
    00698 #ifndef GL_PRIMARY_COLOR
    00699 #define GL_PRIMARY_COLOR                                              34167
    00700 #endif
    00701
    00702 #ifndef GL_PREVIOUS
    00703 #define GL_PREVIOUS                                                   34168
    00704 #endif
    00705
    00706 #ifndef GL_DOT3_RGB
    00707 #define GL_DOT3_RGB                                                   34478
    00708 #endif
    00709
    00710 #ifndef GL_DOT3_RGBA
    00711 #define GL_DOT3_RGBA                                                  34479
    00712 #endif
    00713
    00714
    00721 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTURE) (GLenum texture);
    00722 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTURE) (GLenum texture);
    00723 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1D) (GLenum target, GLdouble s);
    00724 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DV) (GLenum target, const GLdouble* v);
    00725 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1F) (GLenum target, GLfloat s);
    00726 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FV) (GLenum target, const GLfloat* v);
    00727 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1I) (GLenum target, GLint s);
    00728 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IV) (GLenum target, const GLint* v);
    00729 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1S) (GLenum target, GLshort s);
    00730 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SV) (GLenum target, const GLshort* v);
    00731 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2D) (GLenum target, GLdouble s, GLdouble t);
    00732 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DV) (GLenum target, const GLdouble* v);
    00733 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2F) (GLenum target, GLfloat s, GLfloat t);
    00734 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FV) (GLenum target, const GLfloat* v);
    00735 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2I) (GLenum target, GLint s, GLint t);
    00736 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IV) (GLenum target, const GLint* v);
    00737 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2S) (GLenum target, GLshort s, GLshort t);
    00738 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SV) (GLenum target, const GLshort* v);
    00739 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3D) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    00740 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DV) (GLenum target, const GLdouble* v);
    00741 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3F) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    00742 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FV) (GLenum target, const GLfloat* v);
    00743 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3I) (GLenum target, GLint s, GLint t, GLint r);
    00744 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IV) (GLenum target, const GLint* v);
    00745 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3S) (GLenum target, GLshort s, GLshort t, GLshort r);
    00746 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SV) (GLenum target, const GLshort* v);
    00747 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4D) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    00748 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DV) (GLenum target, const GLdouble* v);
    00749 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4F) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    00750 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FV) (GLenum target, const GLfloat* v);
    00751 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4I) (GLenum target, GLint s, GLint t, GLint r, GLint q);
    00752 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IV) (GLenum target, const GLint* v);
    00753 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4S) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    00754 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SV) (GLenum target, const GLshort* v);
    00755 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXF) (const GLfloat* m);
    00756 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXD) (const GLdouble* m);
    00757 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXF) (const GLfloat* m);
    00758 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXD) (const GLdouble* m);
    00759 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGE) (GLclampf value, GLboolean invert);
    00760 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
    00761 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
    00762 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
    00763 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
    00764 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
    00765 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
    00766 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGE) (GLenum target, GLint level, GLvoid* img);
    00767
    00772 #ifndef GL_CONSTANT_COLOR
    00773 #define GL_CONSTANT_COLOR                                             32769
    00774 #endif
    00775
    00776 #ifndef GL_ONE_MINUS_CONSTANT_COLOR
    00777 #define GL_ONE_MINUS_CONSTANT_COLOR                                   32770
    00778 #endif
    00779
    00780 #ifndef GL_CONSTANT_ALPHA
    00781 #define GL_CONSTANT_ALPHA                                             32771
    00782 #endif
    00783
    00784 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA
    00785 #define GL_ONE_MINUS_CONSTANT_ALPHA                                   32772
    00786 #endif
    00787
    00788 #ifndef GL_BLEND_COLOR
    00789 #define GL_BLEND_COLOR                                                32773
    00790 #endif
    00791
    00792 #ifndef GL_FUNC_ADD
    00793 #define GL_FUNC_ADD                                                   32774
    00794 #endif
    00795
    00796 #ifndef GL_MIN
    00797 #define GL_MIN                                                        32775
    00798 #endif
    00799
    00800 #ifndef GL_MAX
    00801 #define GL_MAX                                                        32776
    00802 #endif
    00803
    00804 #ifndef GL_BLEND_EQUATION
    00805 #define GL_BLEND_EQUATION                                             32777
    00806 #endif
    00807
    00808 #ifndef GL_FUNC_SUBTRACT
    00809 #define GL_FUNC_SUBTRACT                                              32778
    00810 #endif
    00811
    00812 #ifndef GL_FUNC_REVERSE_SUBTRACT
    00813 #define GL_FUNC_REVERSE_SUBTRACT                                      32779
    00814 #endif
    00815
    00816 #ifndef GL_CONVOLUTION_1D
    00817 #define GL_CONVOLUTION_1D                                             32784
    00818 #endif
    00819
    00820 #ifndef GL_CONVOLUTION_2D
    00821 #define GL_CONVOLUTION_2D                                             32785
    00822 #endif
    00823
    00824 #ifndef GL_SEPARABLE_2D
    00825 #define GL_SEPARABLE_2D                                               32786
    00826 #endif
    00827
    00828 #ifndef GL_CONVOLUTION_BORDER_MODE
    00829 #define GL_CONVOLUTION_BORDER_MODE                                    32787
    00830 #endif
    00831
    00832 #ifndef GL_CONVOLUTION_FILTER_SCALE
    00833 #define GL_CONVOLUTION_FILTER_SCALE                                   32788
    00834 #endif
    00835
    00836 #ifndef GL_CONVOLUTION_FILTER_BIAS
    00837 #define GL_CONVOLUTION_FILTER_BIAS                                    32789
    00838 #endif
    00839
    00840 #ifndef GL_REDUCE
    00841 #define GL_REDUCE                                                     32790
    00842 #endif
    00843
    00844 #ifndef GL_CONVOLUTION_FORMAT
    00845 #define GL_CONVOLUTION_FORMAT                                         32791
    00846 #endif
    00847
    00848 #ifndef GL_CONVOLUTION_WIDTH
    00849 #define GL_CONVOLUTION_WIDTH                                          32792
    00850 #endif
    00851
    00852 #ifndef GL_CONVOLUTION_HEIGHT
    00853 #define GL_CONVOLUTION_HEIGHT                                         32793
    00854 #endif
    00855
    00856 #ifndef GL_MAX_CONVOLUTION_WIDTH
    00857 #define GL_MAX_CONVOLUTION_WIDTH                                      32794
    00858 #endif
    00859
    00860 #ifndef GL_MAX_CONVOLUTION_HEIGHT
    00861 #define GL_MAX_CONVOLUTION_HEIGHT                                     32795
    00862 #endif
    00863
    00864 #ifndef GL_POST_CONVOLUTION_RED_SCALE
    00865 #define GL_POST_CONVOLUTION_RED_SCALE                                 32796
    00866 #endif
    00867
    00868 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE
    00869 #define GL_POST_CONVOLUTION_GREEN_SCALE                               32797
    00870 #endif
    00871
    00872 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE
    00873 #define GL_POST_CONVOLUTION_BLUE_SCALE                                32798
    00874 #endif
    00875
    00876 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE
    00877 #define GL_POST_CONVOLUTION_ALPHA_SCALE                               32799
    00878 #endif
    00879
    00880 #ifndef GL_POST_CONVOLUTION_RED_BIAS
    00881 #define GL_POST_CONVOLUTION_RED_BIAS                                  32800
    00882 #endif
    00883
    00884 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS
    00885 #define GL_POST_CONVOLUTION_GREEN_BIAS                                32801
    00886 #endif
    00887
    00888 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS
    00889 #define GL_POST_CONVOLUTION_BLUE_BIAS                                 32802
    00890 #endif
    00891
    00892 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS
    00893 #define GL_POST_CONVOLUTION_ALPHA_BIAS                                32803
    00894 #endif
    00895
    00896 #ifndef GL_HISTOGRAM
    00897 #define GL_HISTOGRAM                                                  32804
    00898 #endif
    00899
    00900 #ifndef GL_PROXY_HISTOGRAM
    00901 #define GL_PROXY_HISTOGRAM                                            32805
    00902 #endif
    00903
    00904 #ifndef GL_HISTOGRAM_WIDTH
    00905 #define GL_HISTOGRAM_WIDTH                                            32806
    00906 #endif
    00907
    00908 #ifndef GL_HISTOGRAM_FORMAT
    00909 #define GL_HISTOGRAM_FORMAT                                           32807
    00910 #endif
    00911
    00912 #ifndef GL_HISTOGRAM_RED_SIZE
    00913 #define GL_HISTOGRAM_RED_SIZE                                         32808
    00914 #endif
    00915
    00916 #ifndef GL_HISTOGRAM_GREEN_SIZE
    00917 #define GL_HISTOGRAM_GREEN_SIZE                                       32809
    00918 #endif
    00919
    00920 #ifndef GL_HISTOGRAM_BLUE_SIZE
    00921 #define GL_HISTOGRAM_BLUE_SIZE                                        32810
    00922 #endif
    00923
    00924 #ifndef GL_HISTOGRAM_ALPHA_SIZE
    00925 #define GL_HISTOGRAM_ALPHA_SIZE                                       32811
    00926 #endif
    00927
    00928 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE
    00929 #define GL_HISTOGRAM_LUMINANCE_SIZE                                   32812
    00930 #endif
    00931
    00932 #ifndef GL_HISTOGRAM_SINK
    00933 #define GL_HISTOGRAM_SINK                                             32813
    00934 #endif
    00935
    00936 #ifndef GL_MINMAX
    00937 #define GL_MINMAX                                                     32814
    00938 #endif
    00939
    00940 #ifndef GL_MINMAX_FORMAT
    00941 #define GL_MINMAX_FORMAT                                              32815
    00942 #endif
    00943
    00944 #ifndef GL_MINMAX_SINK
    00945 #define GL_MINMAX_SINK                                                32816
    00946 #endif
    00947
    00948 #ifndef GL_TABLE_TOO_LARGE
    00949 #define GL_TABLE_TOO_LARGE                                            32817
    00950 #endif
    00951
    00952 #ifndef GL_COLOR_MATRIX
    00953 #define GL_COLOR_MATRIX                                               32945
    00954 #endif
    00955
    00956 #ifndef GL_COLOR_MATRIX_STACK_DEPTH
    00957 #define GL_COLOR_MATRIX_STACK_DEPTH                                   32946
    00958 #endif
    00959
    00960 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH
    00961 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH                               32947
    00962 #endif
    00963
    00964 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE
    00965 #define GL_POST_COLOR_MATRIX_RED_SCALE                                32948
    00966 #endif
    00967
    00968 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE
    00969 #define GL_POST_COLOR_MATRIX_GREEN_SCALE                              32949
    00970 #endif
    00971
    00972 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE
    00973 #define GL_POST_COLOR_MATRIX_BLUE_SCALE                               32950
    00974 #endif
    00975
    00976 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE
    00977 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE                              32951
    00978 #endif
    00979
    00980 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS
    00981 #define GL_POST_COLOR_MATRIX_RED_BIAS                                 32952
    00982 #endif
    00983
    00984 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS
    00985 #define GL_POST_COLOR_MATRIX_GREEN_BIAS                               32953
    00986 #endif
    00987
    00988 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS
    00989 #define GL_POST_COLOR_MATRIX_BLUE_BIAS                                32954
    00990 #endif
    00991
    00992 #ifndef GL_POST_COLOR_MATIX_ALPHA_BIAS
    00993 #define GL_POST_COLOR_MATIX_ALPHA_BIAS                                32955
    00994 #endif
    00995
    00996 #ifndef GL_COLOR_TABLE
    00997 #define GL_COLOR_TABLE                                                32976
    00998 #endif
    00999
    01000 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE
    01001 #define GL_POST_CONVOLUTION_COLOR_TABLE                               32977
    01002 #endif
    01003
    01004 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE
    01005 #define GL_POST_COLOR_MATRIX_COLOR_TABLE                              32978
    01006 #endif
    01007
    01008 #ifndef GL_PROXY_COLOR_TABLE
    01009 #define GL_PROXY_COLOR_TABLE                                          32979
    01010 #endif
    01011
    01012 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
    01013 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE                         32980
    01014 #endif
    01015
    01016 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
    01017 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE                        32981
    01018 #endif
    01019
    01020 #ifndef GL_COLOR_TABLE_SCALE
    01021 #define GL_COLOR_TABLE_SCALE                                          32982
    01022 #endif
    01023
    01024 #ifndef GL_COLOR_TABLE_BIAS
    01025 #define GL_COLOR_TABLE_BIAS                                           32983
    01026 #endif
    01027
    01028 #ifndef GL_COLOR_TABLE_FORMAT
    01029 #define GL_COLOR_TABLE_FORMAT                                         32984
    01030 #endif
    01031
    01032 #ifndef GL_COLOR_TABLE_WIDTH
    01033 #define GL_COLOR_TABLE_WIDTH                                          32985
    01034 #endif
    01035
    01036 #ifndef GL_COLOR_TABLE_RED_SIZE
    01037 #define GL_COLOR_TABLE_RED_SIZE                                       32986
    01038 #endif
    01039
    01040 #ifndef GL_COLOR_TABLE_GREEN_SIZE
    01041 #define GL_COLOR_TABLE_GREEN_SIZE                                     32987
    01042 #endif
    01043
    01044 #ifndef GL_COLOR_TABLE_BLUE_SIZE
    01045 #define GL_COLOR_TABLE_BLUE_SIZE                                      32988
    01046 #endif
    01047
    01048 #ifndef GL_COLOR_TABLE_ALPHA_SIZE
    01049 #define GL_COLOR_TABLE_ALPHA_SIZE                                     32989
    01050 #endif
    01051
    01052 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE
    01053 #define GL_COLOR_TABLE_LUMINANCE_SIZE                                 32990
    01054 #endif
    01055
    01056 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE
    01057 #define GL_COLOR_TABLE_INTENSITY_SIZE                                 32991
    01058 #endif
    01059
    01060 #ifndef GL_IGNORE_BORDER
    01061 #define GL_IGNORE_BORDER                                              33104
    01062 #endif
    01063
    01064 #ifndef GL_CONSTANT_BORDER
    01065 #define GL_CONSTANT_BORDER                                            33105
    01066 #endif
    01067
    01068 #ifndef GL_WRAP_BORDER
    01069 #define GL_WRAP_BORDER                                                33106
    01070 #endif
    01071
    01072 #ifndef GL_REPLICATE_BORDER
    01073 #define GL_REPLICATE_BORDER                                           33107
    01074 #endif
    01075
    01076 #ifndef GL_CONVOLUTION_BORDER_COLOR
    01077 #define GL_CONVOLUTION_BORDER_COLOR                                   33108
    01078 #endif
    01079
    01080
    01086 typedef GLvoid (csAPIENTRY* csGLCOLORTABLE) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
    01087 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
    01088 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
    01089 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLE) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    01090 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLE) (GLenum target, GLenum format, GLenum type, GLvoid* table);
    01091 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
    01092 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
    01093 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLE) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
    01094 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLE) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
    01095 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
    01096 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
    01097 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERF) (GLenum target, GLenum pname, GLfloat params);
    01098 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
    01099 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERI) (GLenum target, GLenum pname, GLint params);
    01100 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
    01101 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    01102 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
    01103 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* image);
    01104 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
    01105 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
    01106 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
    01107 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
    01108 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAM) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
    01109 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
    01110 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
    01111 typedef GLvoid (csAPIENTRY* csGLGETMINMAX) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
    01112 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
    01113 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
    01114 typedef GLvoid (csAPIENTRY* csGLHISTOGRAM) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
    01115 typedef GLvoid (csAPIENTRY* csGLMINMAX) (GLenum target, GLenum internalformat, GLboolean sink);
    01116 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAM) (GLenum target);
    01117 typedef GLvoid (csAPIENTRY* csGLRESETMINMAX) (GLenum target);
    01118 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOR) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
    01119 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATION) (GLenum mode);
    01120
    01125 #ifndef GL_TEXTURE0_ARB
    01126 #define GL_TEXTURE0_ARB                                               33984
    01127 #endif
    01128
    01129 #ifndef GL_TEXTURE1_ARB
    01130 #define GL_TEXTURE1_ARB                                               33985
    01131 #endif
    01132
    01133 #ifndef GL_TEXTURE2_ARB
    01134 #define GL_TEXTURE2_ARB                                               33986
    01135 #endif
    01136
    01137 #ifndef GL_TEXTURE3_ARB
    01138 #define GL_TEXTURE3_ARB                                               33987
    01139 #endif
    01140
    01141 #ifndef GL_TEXTURE4_ARB
    01142 #define GL_TEXTURE4_ARB                                               33988
    01143 #endif
    01144
    01145 #ifndef GL_TEXTURE5_ARB
    01146 #define GL_TEXTURE5_ARB                                               33989
    01147 #endif
    01148
    01149 #ifndef GL_TEXTURE6_ARB
    01150 #define GL_TEXTURE6_ARB                                               33990
    01151 #endif
    01152
    01153 #ifndef GL_TEXTURE7_ARB
    01154 #define GL_TEXTURE7_ARB                                               33991
    01155 #endif
    01156
    01157 #ifndef GL_TEXTURE8_ARB
    01158 #define GL_TEXTURE8_ARB                                               33992
    01159 #endif
    01160
    01161 #ifndef GL_TEXTURE9_ARB
    01162 #define GL_TEXTURE9_ARB                                               33993
    01163 #endif
    01164
    01165 #ifndef GL_TEXTURE10_ARB
    01166 #define GL_TEXTURE10_ARB                                              33994
    01167 #endif
    01168
    01169 #ifndef GL_TEXTURE11_ARB
    01170 #define GL_TEXTURE11_ARB                                              33995
    01171 #endif
    01172
    01173 #ifndef GL_TEXTURE12_ARB
    01174 #define GL_TEXTURE12_ARB                                              33996
    01175 #endif
    01176
    01177 #ifndef GL_TEXTURE13_ARB
    01178 #define GL_TEXTURE13_ARB                                              33997
    01179 #endif
    01180
    01181 #ifndef GL_TEXTURE14_ARB
    01182 #define GL_TEXTURE14_ARB                                              33998
    01183 #endif
    01184
    01185 #ifndef GL_TEXTURE15_ARB
    01186 #define GL_TEXTURE15_ARB                                              33999
    01187 #endif
    01188
    01189 #ifndef GL_TEXTURE16_ARB
    01190 #define GL_TEXTURE16_ARB                                              34000
    01191 #endif
    01192
    01193 #ifndef GL_TEXTURE17_ARB
    01194 #define GL_TEXTURE17_ARB                                              34001
    01195 #endif
    01196
    01197 #ifndef GL_TEXTURE18_ARB
    01198 #define GL_TEXTURE18_ARB                                              34002
    01199 #endif
    01200
    01201 #ifndef GL_TEXTURE19_ARB
    01202 #define GL_TEXTURE19_ARB                                              34003
    01203 #endif
    01204
    01205 #ifndef GL_TEXTURE20_ARB
    01206 #define GL_TEXTURE20_ARB                                              34004
    01207 #endif
    01208
    01209 #ifndef GL_TEXTURE21_ARB
    01210 #define GL_TEXTURE21_ARB                                              34005
    01211 #endif
    01212
    01213 #ifndef GL_TEXTURE22_ARB
    01214 #define GL_TEXTURE22_ARB                                              34006
    01215 #endif
    01216
    01217 #ifndef GL_TEXTURE23_ARB
    01218 #define GL_TEXTURE23_ARB                                              34007
    01219 #endif
    01220
    01221 #ifndef GL_TEXTURE24_ARB
    01222 #define GL_TEXTURE24_ARB                                              34008
    01223 #endif
    01224
    01225 #ifndef GL_TEXTURE25_ARB
    01226 #define GL_TEXTURE25_ARB                                              34009
    01227 #endif
    01228
    01229 #ifndef GL_TEXTURE26_ARB
    01230 #define GL_TEXTURE26_ARB                                              34010
    01231 #endif
    01232
    01233 #ifndef GL_TEXTURE27_ARB
    01234 #define GL_TEXTURE27_ARB                                              34011
    01235 #endif
    01236
    01237 #ifndef GL_TEXTURE28_ARB
    01238 #define GL_TEXTURE28_ARB                                              34012
    01239 #endif
    01240
    01241 #ifndef GL_TEXTURE29_ARB
    01242 #define GL_TEXTURE29_ARB                                              34013
    01243 #endif
    01244
    01245 #ifndef GL_TEXTURE30_ARB
    01246 #define GL_TEXTURE30_ARB                                              34014
    01247 #endif
    01248
    01249 #ifndef GL_TEXTURE31_ARB
    01250 #define GL_TEXTURE31_ARB                                              34015
    01251 #endif
    01252
    01253 #ifndef GL_ACTIVE_TEXTURE_ARB
    01254 #define GL_ACTIVE_TEXTURE_ARB                                         34016
    01255 #endif
    01256
    01257 #ifndef GL_CLIENT_ACTIVE_TEXTURE_ARB
    01258 #define GL_CLIENT_ACTIVE_TEXTURE_ARB                                  34017
    01259 #endif
    01260
    01261 #ifndef GL_MAX_TEXTURE_UNITS_ARB
    01262 #define GL_MAX_TEXTURE_UNITS_ARB                                      34018
    01263 #endif
    01264
    01265
    01271 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTUREARB) (GLenum texture);
    01272 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTUREARB) (GLenum texture);
    01273 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DARB) (GLenum target, GLdouble s);
    01274 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DVARB) (GLenum target, const GLdouble* v);
    01275 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FARB) (GLenum target, GLfloat s);
    01276 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FVARB) (GLenum target, const GLfloat* v);
    01277 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IARB) (GLenum target, GLint s);
    01278 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IVARB) (GLenum target, const GLint* v);
    01279 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SARB) (GLenum target, GLshort s);
    01280 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SVARB) (GLenum target, const GLshort* v);
    01281 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DARB) (GLenum target, GLdouble s, GLdouble t);
    01282 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DVARB) (GLenum target, const GLdouble* v);
    01283 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FARB) (GLenum target, GLfloat s, GLfloat t);
    01284 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FVARB) (GLenum target, const GLfloat* v);
    01285 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IARB) (GLenum target, GLint s, GLint t);
    01286 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IVARB) (GLenum target, const GLint* v);
    01287 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SARB) (GLenum target, GLshort s, GLshort t);
    01288 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SVARB) (GLenum target, const GLshort* v);
    01289 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    01290 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DVARB) (GLenum target, const GLdouble* v);
    01291 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    01292 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FVARB) (GLenum target, const GLfloat* v);
    01293 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IARB) (GLenum target, GLint s, GLint t, GLint r);
    01294 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IVARB) (GLenum target, const GLint* v);
    01295 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SARB) (GLenum target, GLshort s, GLshort t, GLshort r);
    01296 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SVARB) (GLenum target, const GLshort* v);
    01297 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    01298 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DVARB) (GLenum target, const GLdouble* v);
    01299 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    01300 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FVARB) (GLenum target, const GLfloat* v);
    01301 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IARB) (GLenum target, GLint s, GLint t, GLint r, GLint q);
    01302 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IVARB) (GLenum target, const GLint* v);
    01303 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    01304 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SVARB) (GLenum target, const GLshort* v);
    01305
    01310 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
    01311 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB                             34019
    01312 #endif
    01313
    01314 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX_ARB
    01315 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB                            34020
    01316 #endif
    01317
    01318 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX_ARB
    01319 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB                               34021
    01320 #endif
    01321
    01322 #ifndef GL_TRANSPOSE_COLOR_MATRIX_ARB
    01323 #define GL_TRANSPOSE_COLOR_MATRIX_ARB                                 34022
    01324 #endif
    01325
    01326
    01332 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXFARB) (GLfloat* m);
    01333 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXDARB) (GLdouble* m);
    01334 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXFARB) (GLfloat* m);
    01335 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXDARB) (GLdouble* m);
    01336
    01341 #ifndef WGL_SAMPLE_BUFFERS_ARB
    01342 #define WGL_SAMPLE_BUFFERS_ARB                                         8257
    01343 #endif
    01344
    01345 #ifndef WGL_SAMPLES_ARB
    01346 #define WGL_SAMPLES_ARB                                                8258
    01347 #endif
    01348
    01349 #ifndef GL_MULTISAMPLE_ARB
    01350 #define GL_MULTISAMPLE_ARB                                            32925
    01351 #endif
    01352
    01353 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
    01354 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB                               32926
    01355 #endif
    01356
    01357 #ifndef GL_SAMPLE_ALPHA_TO_ONE_ARB
    01358 #define GL_SAMPLE_ALPHA_TO_ONE_ARB                                    32927
    01359 #endif
    01360
    01361 #ifndef GL_SAMPLE_COVERAGE_ARB
    01362 #define GL_SAMPLE_COVERAGE_ARB                                        32928
    01363 #endif
    01364
    01365 #ifndef GL_MULTISAMPLE_BIT_ARB
    01366 #define GL_MULTISAMPLE_BIT_ARB                                       536870912
    01367 #endif
    01368
    01369 #ifndef GL_SAMPLE_BUFFERS_ARB
    01370 #define GL_SAMPLE_BUFFERS_ARB                                         32936
    01371 #endif
    01372
    01373 #ifndef GL_SAMPLES_ARB
    01374 #define GL_SAMPLES_ARB                                                32937
    01375 #endif
    01376
    01377 #ifndef GL_SAMPLE_COVERAGE_VALUE_ARB
    01378 #define GL_SAMPLE_COVERAGE_VALUE_ARB                                  32938
    01379 #endif
    01380
    01381 #ifndef GL_SAMPLE_COVERAGE_INVERT_ARB
    01382 #define GL_SAMPLE_COVERAGE_INVERT_ARB                                 32939
    01383 #endif
    01384
    01385
    01391 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGEARB) (GLclampf value, GLboolean invert);
    01392
    01405 #ifdef _WIN32
    01406
    01415 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGARB) (HDC hdc);
    01416
    01418 #endif
    01419
    01420 #ifdef _WIN32
    01421
    01424 #ifndef WGL_FRONT_COLOR_BUFFER_BIT_ARB
    01425 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB                                    1
    01426 #endif
    01427
    01428 #ifndef WGL_BACK_COLOR_BUFFER_BIT_ARB
    01429 #define WGL_BACK_COLOR_BUFFER_BIT_ARB                                     2
    01430 #endif
    01431
    01432 #ifndef WGL_DEPTH_BUFFER_BIT_ARB
    01433 #define WGL_DEPTH_BUFFER_BIT_ARB                                          4
    01434 #endif
    01435
    01436 #ifndef WGL_STENCIL_BUFFER_BIT_ARB
    01437 #define WGL_STENCIL_BUFFER_BIT_ARB                                        8
    01438 #endif
    01439
    01440
    01446 typedef HANDLE (csAPIENTRY* csWGLCREATEBUFFERREGIONARB) (HDC hDC, GLint iLayerPlane, GLuint uType);
    01447 typedef GLvoid (csAPIENTRY* csWGLDELETEBUFFERREGIONARB) (HANDLE hRegion);
    01448 typedef BOOL (csAPIENTRY* csWGLSAVEBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height);
    01449 typedef BOOL (csAPIENTRY* csWGLRESTOREBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height, GLint xSrc, GLint ySrc);
    01450
    01452 #endif
    01453
    01457 #ifndef GL_NORMAL_MAP_ARB
    01458 #define GL_NORMAL_MAP_ARB                                             34065
    01459 #endif
    01460
    01461 #ifndef GL_REFLECTION_MAP_ARB
    01462 #define GL_REFLECTION_MAP_ARB                                         34066
    01463 #endif
    01464
    01465 #ifndef GL_TEXTURE_CUBE_MAP_ARB
    01466 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
    01467 #endif
    01468
    01469 #ifndef GL_TEXTURE_BINDING_CUBE_MAP_ARB
    01470 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB                               34068
    01471 #endif
    01472
    01473 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
    01474 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            34069
    01475 #endif
    01476
    01477 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
    01478 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            34070
    01479 #endif
    01480
    01481 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
    01482 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            34071
    01483 #endif
    01484
    01485 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
    01486 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            34072
    01487 #endif
    01488
    01489 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
    01490 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            34073
    01491 #endif
    01492
    01493 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
    01494 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            34074
    01495 #endif
    01496
    01497 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
    01498 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
    01499 #endif
    01500
    01501 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB
    01502 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB                              34076
    01503 #endif
    01504
    01505
    01516 #ifndef GL_DEPTH_COMPONENT16_ARB
    01517 #define GL_DEPTH_COMPONENT16_ARB                                      33189
    01518 #endif
    01519
    01520 #ifndef GL_DEPTH_COMPONENT24_ARB
    01521 #define GL_DEPTH_COMPONENT24_ARB                                      33190
    01522 #endif
    01523
    01524 #ifndef GL_DEPTH_COMPONENT32_ARB
    01525 #define GL_DEPTH_COMPONENT32_ARB                                      33191
    01526 #endif
    01527
    01528 #ifndef GL_TEXTURE_DEPTH_SIZE_ARB
    01529 #define GL_TEXTURE_DEPTH_SIZE_ARB                                     34890
    01530 #endif
    01531
    01532 #ifndef GL_DEPTH_TEXTURE_MODE_ARB
    01533 #define GL_DEPTH_TEXTURE_MODE_ARB                                     34891
    01534 #endif
    01535
    01536
    01547 #ifndef GL_POINT_SIZE_MIN_ARB
    01548 #define GL_POINT_SIZE_MIN_ARB                                         33062
    01549 #endif
    01550
    01551 #ifndef GL_POINT_SIZE_MAX_ARB
    01552 #define GL_POINT_SIZE_MAX_ARB                                         33063
    01553 #endif
    01554
    01555 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_ARB
    01556 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB                              33064
    01557 #endif
    01558
    01559 #ifndef GL_POINT_DISTANCE_ATTENUATION_ARB
    01560 #define GL_POINT_DISTANCE_ATTENUATION_ARB                             33065
    01561 #endif
    01562
    01563
    01569 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFARB) (GLenum pname, GLfloat param);
    01570 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVARB) (GLenum pname, GLfloat* params);
    01571
    01576 #ifndef GL_TEXTURE_COMPARE_MODE_ARB
    01577 #define GL_TEXTURE_COMPARE_MODE_ARB                                   34892
    01578 #endif
    01579
    01580 #ifndef GL_TEXTURE_COMPARE_FUNC_ARB
    01581 #define GL_TEXTURE_COMPARE_FUNC_ARB                                   34893
    01582 #endif
    01583
    01584 #ifndef GL_COMPARE_R_TO_TEXTURE_ARB
    01585 #define GL_COMPARE_R_TO_TEXTURE_ARB                                   34894
    01586 #endif
    01587
    01588
    01599 #ifndef GL_TEXTURE_COMPARE_FAIL_VALUE_ARB
    01600 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB                             32959
    01601 #endif
    01602
    01603
    01614 #ifndef GL_CLAMP_TO_BORDER_ARB
    01615 #define GL_CLAMP_TO_BORDER_ARB                                        33069
    01616 #endif
    01617
    01618
    01629 #ifndef GL_COMPRESSED_ALPHA_ARB
    01630 #define GL_COMPRESSED_ALPHA_ARB                                       34025
    01631 #endif
    01632
    01633 #ifndef GL_COMPRESSED_LUMINANCE_ARB
    01634 #define GL_COMPRESSED_LUMINANCE_ARB                                   34026
    01635 #endif
    01636
    01637 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA_ARB
    01638 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB                             34027
    01639 #endif
    01640
    01641 #ifndef GL_COMPRESSED_INTENSITY_ARB
    01642 #define GL_COMPRESSED_INTENSITY_ARB                                   34028
    01643 #endif
    01644
    01645 #ifndef GL_COMPRESSED_RGB_ARB
    01646 #define GL_COMPRESSED_RGB_ARB                                         34029
    01647 #endif
    01648
    01649 #ifndef GL_COMPRESSED_RGBA_ARB
    01650 #define GL_COMPRESSED_RGBA_ARB                                        34030
    01651 #endif
    01652
    01653 #ifndef GL_TEXTURE_COMPRESSION_HINT_ARB
    01654 #define GL_TEXTURE_COMPRESSION_HINT_ARB                               34031
    01655 #endif
    01656
    01657 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
    01658 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB                          34464
    01659 #endif
    01660
    01661 #ifndef GL_TEXTURE_COMPRESSED_ARB
    01662 #define GL_TEXTURE_COMPRESSED_ARB                                     34465
    01663 #endif
    01664
    01665 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
    01666 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB                         34466
    01667 #endif
    01668
    01669 #ifndef GL_COMPRESSED_TEXTURE_FORMATS_ARB
    01670 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB                             34467
    01671 #endif
    01672
    01673
    01679 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
    01680 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
    01681 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
    01682 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE3DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data);
    01683 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
    01684 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
    01685 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGEARB) (GLenum target, GLint lod, GLvoid* img);
    01686
    01691 #ifndef GL_COMBINE_ARB
    01692 #define GL_COMBINE_ARB                                                34160
    01693 #endif
    01694
    01695 #ifndef GL_COMBINE_RGB_ARB
    01696 #define GL_COMBINE_RGB_ARB                                            34161
    01697 #endif
    01698
    01699 #ifndef GL_COMBINE_ALPHA_ARB
    01700 #define GL_COMBINE_ALPHA_ARB                                          34162
    01701 #endif
    01702
    01703 #ifndef GL_SOURCE0_RGB_ARB
    01704 #define GL_SOURCE0_RGB_ARB                                            34176
    01705 #endif
    01706
    01707 #ifndef GL_SOURCE1_RGB_ARB
    01708 #define GL_SOURCE1_RGB_ARB                                            34177
    01709 #endif
    01710
    01711 #ifndef GL_SOURCE2_RGB_ARB
    01712 #define GL_SOURCE2_RGB_ARB                                            34178
    01713 #endif
    01714
    01715 #ifndef GL_SOURCE0_ALPHA_ARB
    01716 #define GL_SOURCE0_ALPHA_ARB                                          34184
    01717 #endif
    01718
    01719 #ifndef GL_SOURCE1_ALPHA_ARB
    01720 #define GL_SOURCE1_ALPHA_ARB                                          34185
    01721 #endif
    01722
    01723 #ifndef GL_SOURCE2_ALPHA_ARB
    01724 #define GL_SOURCE2_ALPHA_ARB                                          34186
    01725 #endif
    01726
    01727 #ifndef GL_OPERAND0_RGB_ARB
    01728 #define GL_OPERAND0_RGB_ARB                                           34192
    01729 #endif
    01730
    01731 #ifndef GL_OPERAND1_RGB_ARB
    01732 #define GL_OPERAND1_RGB_ARB                                           34193
    01733 #endif
    01734
    01735 #ifndef GL_OPERAND2_RGB_ARB
    01736 #define GL_OPERAND2_RGB_ARB                                           34194
    01737 #endif
    01738
    01739 #ifndef GL_OPERAND0_ALPHA_ARB
    01740 #define GL_OPERAND0_ALPHA_ARB                                         34200
    01741 #endif
    01742
    01743 #ifndef GL_OPERAND1_ALPHA_ARB
    01744 #define GL_OPERAND1_ALPHA_ARB                                         34201
    01745 #endif
    01746
    01747 #ifndef GL_OPERAND2_ALPHA_ARB
    01748 #define GL_OPERAND2_ALPHA_ARB                                         34202
    01749 #endif
    01750
    01751 #ifndef GL_RGB_SCALE_ARB
    01752 #define GL_RGB_SCALE_ARB                                              34163
    01753 #endif
    01754
    01755 #ifndef GL_ADD_SIGNED_ARB
    01756 #define GL_ADD_SIGNED_ARB                                             34164
    01757 #endif
    01758
    01759 #ifndef GL_INTERPOLATE_ARB
    01760 #define GL_INTERPOLATE_ARB                                            34165
    01761 #endif
    01762
    01763 #ifndef GL_SUBTRACT_ARB
    01764 #define GL_SUBTRACT_ARB                                               34023
    01765 #endif
    01766
    01767 #ifndef GL_CONSTANT_ARB
    01768 #define GL_CONSTANT_ARB                                               34166
    01769 #endif
    01770
    01771 #ifndef GL_PRIMARY_COLOR_ARB
    01772 #define GL_PRIMARY_COLOR_ARB                                          34167
    01773 #endif
    01774
    01775 #ifndef GL_PREVIOUS_ARB
    01776 #define GL_PREVIOUS_ARB                                               34168
    01777 #endif
    01778
    01779
    01801 #ifndef GL_DOT3_RGB_ARB
    01802 #define GL_DOT3_RGB_ARB                                               34478
    01803 #endif
    01804
    01805 #ifndef GL_DOT3_RGBA_ARB
    01806 #define GL_DOT3_RGBA_ARB                                              34479
    01807 #endif
    01808
    01809
    01820 #ifndef GL_MIRRORED_REPEAT_ARB
    01821 #define GL_MIRRORED_REPEAT_ARB                                        33648
    01822 #endif
    01823
    01824
    01835 #ifndef GL_MAX_VERTEX_UNITS_ARB
    01836 #define GL_MAX_VERTEX_UNITS_ARB                                       34468
    01837 #endif
    01838
    01839 #ifndef GL_ACTIVE_VERTEX_UNITS_ARB
    01840 #define GL_ACTIVE_VERTEX_UNITS_ARB                                    34469
    01841 #endif
    01842
    01843 #ifndef GL_WEIGHT_SUM_UNITY_ARB
    01844 #define GL_WEIGHT_SUM_UNITY_ARB                                       34470
    01845 #endif
    01846
    01847 #ifndef GL_VERTEX_BLEND_ARB
    01848 #define GL_VERTEX_BLEND_ARB                                           34471
    01849 #endif
    01850
    01851 #ifndef GL_MODELVIEW0_ARB
    01852 #define GL_MODELVIEW0_ARB                                              5888
    01853 #endif
    01854
    01855 #ifndef GL_MODELVIEW1_ARB
    01856 #define GL_MODELVIEW1_ARB                                             34058
    01857 #endif
    01858
    01859 #ifndef GL_MODELVIEW2_ARB
    01860 #define GL_MODELVIEW2_ARB                                             34594
    01861 #endif
    01862
    01863 #ifndef GL_MODELVIEW3_ARB
    01864 #define GL_MODELVIEW3_ARB                                             34595
    01865 #endif
    01866
    01867 #ifndef GL_MODELVIEW4_ARB
    01868 #define GL_MODELVIEW4_ARB                                             34596
    01869 #endif
    01870
    01871 #ifndef GL_MODELVIEW5_ARB
    01872 #define GL_MODELVIEW5_ARB                                             34597
    01873 #endif
    01874
    01875 #ifndef GL_MODELVIEW6_ARB
    01876 #define GL_MODELVIEW6_ARB                                             34598
    01877 #endif
    01878
    01879 #ifndef GL_MODELVIEW7_ARB
    01880 #define GL_MODELVIEW7_ARB                                             34599
    01881 #endif
    01882
    01883 #ifndef GL_MODELVIEW8_ARB
    01884 #define GL_MODELVIEW8_ARB                                             34600
    01885 #endif
    01886
    01887 #ifndef GL_MODELVIEW9_ARB
    01888 #define GL_MODELVIEW9_ARB                                             34601
    01889 #endif
    01890
    01891 #ifndef GL_MODELVIEW10_ARB
    01892 #define GL_MODELVIEW10_ARB                                            34602
    01893 #endif
    01894
    01895 #ifndef GL_MODELVIEW11_ARB
    01896 #define GL_MODELVIEW11_ARB                                            34603
    01897 #endif
    01898
    01899 #ifndef GL_MODELVIEW12_ARB
    01900 #define GL_MODELVIEW12_ARB                                            34604
    01901 #endif
    01902
    01903 #ifndef GL_MODELVIEW13_ARB
    01904 #define GL_MODELVIEW13_ARB                                            34605
    01905 #endif
    01906
    01907 #ifndef GL_MODELVIEW14_ARB
    01908 #define GL_MODELVIEW14_ARB                                            34606
    01909 #endif
    01910
    01911 #ifndef GL_MODELVIEW15_ARB
    01912 #define GL_MODELVIEW15_ARB                                            34607
    01913 #endif
    01914
    01915 #ifndef GL_MODELVIEW16_ARB
    01916 #define GL_MODELVIEW16_ARB                                            34608
    01917 #endif
    01918
    01919 #ifndef GL_MODELVIEW17_ARB
    01920 #define GL_MODELVIEW17_ARB                                            34609
    01921 #endif
    01922
    01923 #ifndef GL_MODELVIEW18_ARB
    01924 #define GL_MODELVIEW18_ARB                                            34610
    01925 #endif
    01926
    01927 #ifndef GL_MODELVIEW19_ARB
    01928 #define GL_MODELVIEW19_ARB                                            34611
    01929 #endif
    01930
    01931 #ifndef GL_MODELVIEW20_ARB
    01932 #define GL_MODELVIEW20_ARB                                            34612
    01933 #endif
    01934
    01935 #ifndef GL_MODELVIEW21_ARB
    01936 #define GL_MODELVIEW21_ARB                                            34613
    01937 #endif
    01938
    01939 #ifndef GL_MODELVIEW22_ARB
    01940 #define GL_MODELVIEW22_ARB                                            34614
    01941 #endif
    01942
    01943 #ifndef GL_MODELVIEW23_ARB
    01944 #define GL_MODELVIEW23_ARB                                            34615
    01945 #endif
    01946
    01947 #ifndef GL_MODELVIEW24_ARB
    01948 #define GL_MODELVIEW24_ARB                                            34616
    01949 #endif
    01950
    01951 #ifndef GL_MODELVIEW25_ARB
    01952 #define GL_MODELVIEW25_ARB                                            34617
    01953 #endif
    01954
    01955 #ifndef GL_MODELVIEW26_ARB
    01956 #define GL_MODELVIEW26_ARB                                            34618
    01957 #endif
    01958
    01959 #ifndef GL_MODELVIEW27_ARB
    01960 #define GL_MODELVIEW27_ARB                                            34619
    01961 #endif
    01962
    01963 #ifndef GL_MODELVIEW28_ARB
    01964 #define GL_MODELVIEW28_ARB                                            34620
    01965 #endif
    01966
    01967 #ifndef GL_MODELVIEW29_ARB
    01968 #define GL_MODELVIEW29_ARB                                            34621
    01969 #endif
    01970
    01971 #ifndef GL_MODELVIEW30_ARB
    01972 #define GL_MODELVIEW30_ARB                                            34622
    01973 #endif
    01974
    01975 #ifndef GL_MODELVIEW31_ARB
    01976 #define GL_MODELVIEW31_ARB                                            34623
    01977 #endif
    01978
    01979 #ifndef GL_CURRENT_WEIGHT_ARB
    01980 #define GL_CURRENT_WEIGHT_ARB                                         34472
    01981 #endif
    01982
    01983 #ifndef GL_WEIGHT_ARRAY_TYPE_ARB
    01984 #define GL_WEIGHT_ARRAY_TYPE_ARB                                      34473
    01985 #endif
    01986
    01987 #ifndef GL_WEIGHT_ARRAY_STRIDE_ARB
    01988 #define GL_WEIGHT_ARRAY_STRIDE_ARB                                    34474
    01989 #endif
    01990
    01991 #ifndef GL_WEIGHT_ARRAY_SIZE_ARB
    01992 #define GL_WEIGHT_ARRAY_SIZE_ARB                                      34475
    01993 #endif
    01994
    01995 #ifndef GL_WEIGHT_ARRAY_POINTER_ARB
    01996 #define GL_WEIGHT_ARRAY_POINTER_ARB                                   34476
    01997 #endif
    01998
    01999 #ifndef GL_WEIGHT_ARRAY_ARB
    02000 #define GL_WEIGHT_ARRAY_ARB                                           34477
    02001 #endif
    02002
    02003
    02009 typedef GLvoid (csAPIENTRY* csGLWEIGHTBVARB) (GLint size, GLbyte* weights);
    02010 typedef GLvoid (csAPIENTRY* csGLWEIGHTSVARB) (GLint size, GLshort* weights);
    02011 typedef GLvoid (csAPIENTRY* csGLWEIGHTIVARB) (GLint size, GLint* weights);
    02012 typedef GLvoid (csAPIENTRY* csGLWEIGHTFVARB) (GLint size, GLfloat* weights);
    02013 typedef GLvoid (csAPIENTRY* csGLWEIGHTDVARB) (GLint size, GLdouble* weights);
    02014 typedef GLvoid (csAPIENTRY* csGLWEIGHTVARB) (GLint size, GLdouble* weights);
    02015 typedef GLvoid (csAPIENTRY* csGLWEIGHTUBVARB) (GLint size, GLubyte* weights);
    02016 typedef GLvoid (csAPIENTRY* csGLWEIGHTUSVARB) (GLint size, GLushort* weights);
    02017 typedef GLvoid (csAPIENTRY* csGLWEIGHTUIVARB) (GLint size, GLuint* weights);
    02018 typedef GLvoid (csAPIENTRY* csGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
    02019 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDARB) (GLint count);
    02020
    02025 #ifndef GL_VERTEX_PROGRAM_ARB
    02026 #define GL_VERTEX_PROGRAM_ARB                                         34336
    02027 #endif
    02028
    02029 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
    02030 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                              34370
    02031 #endif
    02032
    02033 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
    02034 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                                34371
    02035 #endif
    02036
    02037 #ifndef GL_COLOR_SUM_ARB
    02038 #define GL_COLOR_SUM_ARB                                              33880
    02039 #endif
    02040
    02041 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
    02042 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
    02043 #endif
    02044
    02045 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
    02046 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                            34338
    02047 #endif
    02048
    02049 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
    02050 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                               34339
    02051 #endif
    02052
    02053 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
    02054 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                             34340
    02055 #endif
    02056
    02057 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
    02058 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                               34341
    02059 #endif
    02060
    02061 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
    02062 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                         34922
    02063 #endif
    02064
    02065 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
    02066 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                  34342
    02067 #endif
    02068
    02069 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
    02070 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                            34373
    02071 #endif
    02072
    02073 #ifndef GL_PROGRAM_LENGTH_ARB
    02074 #define GL_PROGRAM_LENGTH_ARB                                         34343
    02075 #endif
    02076
    02077 #ifndef GL_PROGRAM_FORMAT_ARB
    02078 #define GL_PROGRAM_FORMAT_ARB                                         34934
    02079 #endif
    02080
    02081 #ifndef GL_PROGRAM_BINDING_ARB
    02082 #define GL_PROGRAM_BINDING_ARB                                        34423
    02083 #endif
    02084
    02085 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
    02086 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
    02087 #endif
    02088
    02089 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
    02090 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
    02091 #endif
    02092
    02093 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
    02094 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
    02095 #endif
    02096
    02097 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
    02098 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
    02099 #endif
    02100
    02101 #ifndef GL_PROGRAM_TEMPORARIES_ARB
    02102 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
    02103 #endif
    02104
    02105 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
    02106 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
    02107 #endif
    02108
    02109 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
    02110 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
    02111 #endif
    02112
    02113 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
    02114 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
    02115 #endif
    02116
    02117 #ifndef GL_PROGRAM_PARAMETERS_ARB
    02118 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
    02119 #endif
    02120
    02121 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
    02122 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
    02123 #endif
    02124
    02125 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
    02126 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
    02127 #endif
    02128
    02129 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
    02130 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
    02131 #endif
    02132
    02133 #ifndef GL_PROGRAM_ATTRIBS_ARB
    02134 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
    02135 #endif
    02136
    02137 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
    02138 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
    02139 #endif
    02140
    02141 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
    02142 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
    02143 #endif
    02144
    02145 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
    02146 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
    02147 #endif
    02148
    02149 #ifndef GL_PROGRAM_ADDRESS_REGISTERS_ARB
    02150 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB                              34992
    02151 #endif
    02152
    02153 #ifndef GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
    02154 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB                          34993
    02155 #endif
    02156
    02157 #ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
    02158 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                       34994
    02159 #endif
    02160
    02161 #ifndef GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
    02162 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                   34995
    02163 #endif
    02164
    02165 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
    02166 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
    02167 #endif
    02168
    02169 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
    02170 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
    02171 #endif
    02172
    02173 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
    02174 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
    02175 #endif
    02176
    02177 #ifndef GL_PROGRAM_STRING_ARB
    02178 #define GL_PROGRAM_STRING_ARB                                         34344
    02179 #endif
    02180
    02181 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
    02182 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
    02183 #endif
    02184
    02185 #ifndef GL_CURRENT_MATRIX_ARB
    02186 #define GL_CURRENT_MATRIX_ARB                                         34369
    02187 #endif
    02188
    02189 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
    02190 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
    02191 #endif
    02192
    02193 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
    02194 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
    02195 #endif
    02196
    02197 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
    02198 #define GL_MAX_VERTEX_ATTRIBS_ARB                                     34921
    02199 #endif
    02200
    02201 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
    02202 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
    02203 #endif
    02204
    02205 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
    02206 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
    02207 #endif
    02208
    02209 #ifndef GL_PROGRAM_ERROR_STRING_ARB
    02210 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
    02211 #endif
    02212
    02213 #ifndef GL_MATRIX0_ARB
    02214 #define GL_MATRIX0_ARB                                                35008
    02215 #endif
    02216
    02217 #ifndef GL_MATRIX1_ARB
    02218 #define GL_MATRIX1_ARB                                                35009
    02219 #endif
    02220
    02221 #ifndef GL_MATRIX2_ARB
    02222 #define GL_MATRIX2_ARB                                                35010
    02223 #endif
    02224
    02225 #ifndef GL_MATRIX3_ARB
    02226 #define GL_MATRIX3_ARB                                                35011
    02227 #endif
    02228
    02229 #ifndef GL_MATRIX4_ARB
    02230 #define GL_MATRIX4_ARB                                                35012
    02231 #endif
    02232
    02233 #ifndef GL_MATRIX5_ARB
    02234 #define GL_MATRIX5_ARB                                                35013
    02235 #endif
    02236
    02237 #ifndef GL_MATRIX6_ARB
    02238 #define GL_MATRIX6_ARB                                                35014
    02239 #endif
    02240
    02241 #ifndef GL_MATRIX7_ARB
    02242 #define GL_MATRIX7_ARB                                                35015
    02243 #endif
    02244
    02245 #ifndef GL_MATRIX8_ARB
    02246 #define GL_MATRIX8_ARB                                                35016
    02247 #endif
    02248
    02249 #ifndef GL_MATRIX9_ARB
    02250 #define GL_MATRIX9_ARB                                                35017
    02251 #endif
    02252
    02253 #ifndef GL_MATRIX10_ARB
    02254 #define GL_MATRIX10_ARB                                               35018
    02255 #endif
    02256
    02257 #ifndef GL_MATRIX11_ARB
    02258 #define GL_MATRIX11_ARB                                               35019
    02259 #endif
    02260
    02261 #ifndef GL_MATRIX12_ARB
    02262 #define GL_MATRIX12_ARB                                               35020
    02263 #endif
    02264
    02265 #ifndef GL_MATRIX13_ARB
    02266 #define GL_MATRIX13_ARB                                               35021
    02267 #endif
    02268
    02269 #ifndef GL_MATRIX14_ARB
    02270 #define GL_MATRIX14_ARB                                               35022
    02271 #endif
    02272
    02273 #ifndef GL_MATRIX15_ARB
    02274 #define GL_MATRIX15_ARB                                               35023
    02275 #endif
    02276
    02277 #ifndef GL_MATRIX16_ARB
    02278 #define GL_MATRIX16_ARB                                               35024
    02279 #endif
    02280
    02281 #ifndef GL_MATRIX17_ARB
    02282 #define GL_MATRIX17_ARB                                               35025
    02283 #endif
    02284
    02285 #ifndef GL_MATRIX18_ARB
    02286 #define GL_MATRIX18_ARB                                               35026
    02287 #endif
    02288
    02289 #ifndef GL_MATRIX19_ARB
    02290 #define GL_MATRIX19_ARB                                               35027
    02291 #endif
    02292
    02293 #ifndef GL_MATRIX20_ARB
    02294 #define GL_MATRIX20_ARB                                               35028
    02295 #endif
    02296
    02297 #ifndef GL_MATRIX21_ARB
    02298 #define GL_MATRIX21_ARB                                               35029
    02299 #endif
    02300
    02301 #ifndef GL_MATRIX22_ARB
    02302 #define GL_MATRIX22_ARB                                               35030
    02303 #endif
    02304
    02305 #ifndef GL_MATRIX23_ARB
    02306 #define GL_MATRIX23_ARB                                               35031
    02307 #endif
    02308
    02309 #ifndef GL_MATRIX24_ARB
    02310 #define GL_MATRIX24_ARB                                               35032
    02311 #endif
    02312
    02313 #ifndef GL_MATRIX25_ARB
    02314 #define GL_MATRIX25_ARB                                               35033
    02315 #endif
    02316
    02317 #ifndef GL_MATRIX26_ARB
    02318 #define GL_MATRIX26_ARB                                               35034
    02319 #endif
    02320
    02321 #ifndef GL_MATRIX27_ARB
    02322 #define GL_MATRIX27_ARB                                               35035
    02323 #endif
    02324
    02325 #ifndef GL_MATRIX28_ARB
    02326 #define GL_MATRIX28_ARB                                               35036
    02327 #endif
    02328
    02329 #ifndef GL_MATRIX29_ARB
    02330 #define GL_MATRIX29_ARB                                               35037
    02331 #endif
    02332
    02333 #ifndef GL_MATRIX30_ARB
    02334 #define GL_MATRIX30_ARB                                               35038
    02335 #endif
    02336
    02337 #ifndef GL_MATRIX31_ARB
    02338 #define GL_MATRIX31_ARB                                               35039
    02339 #endif
    02340
    02341
    02347 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SARB) (GLuint index, GLshort x);
    02348 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FARB) (GLuint index, GLfloat x);
    02349 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DARB) (GLuint index, GLdouble x);
    02350 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SARB) (GLuint index, GLshort x, GLshort y);
    02351 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FARB) (GLuint index, GLfloat x, GLfloat y);
    02352 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DARB) (GLuint index, GLdouble x, GLdouble y);
    02353 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SARB) (GLuint index, GLshort x, GLshort y, GLshort z);
    02354 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
    02355 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
    02356 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
    02357 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    02358 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    02359 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
    02360 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVARB) (GLuint index, const GLshort* v);
    02361 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVARB) (GLuint index, const GLfloat* v);
    02362 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVARB) (GLuint index, const GLdouble* v);
    02363 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVARB) (GLuint index, const GLshort* v);
    02364 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVARB) (GLuint index, const GLfloat* v);
    02365 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVARB) (GLuint index, const GLdouble* v);
    02366 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVARB) (GLuint index, const GLshort* v);
    02367 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVARB) (GLuint index, const GLfloat* v);
    02368 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVARB) (GLuint index, const GLdouble* v);
    02369 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BVARB) (GLuint index, const GLbyte* v);
    02370 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVARB) (GLuint index, const GLshort* v);
    02371 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IVARB) (GLuint index, const GLint* v);
    02372 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVARB) (GLuint index, const GLubyte* v);
    02373 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USVARB) (GLuint index, const GLushort* v);
    02374 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIVARB) (GLuint index, const GLuint* v);
    02375 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVARB) (GLuint index, const GLfloat* v);
    02376 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVARB) (GLuint index, const GLdouble* v);
    02377 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBVARB) (GLuint index, const GLbyte* v);
    02378 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSVARB) (GLuint index, const GLshort* v);
    02379 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIVARB) (GLuint index, const GLint* v);
    02380 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBVARB) (GLuint index, const GLubyte* v);
    02381 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSVARB) (GLuint index, const GLushort* v);
    02382 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIVARB) (GLuint index, const GLuint* v);
    02383 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
    02384 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAYARB) (GLuint index);
    02385 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAYARB) (GLuint index);
    02386 typedef GLvoid (csAPIENTRY* csGLPROGRAMSTRINGARB) (GLenum target, GLenum format, GLsizei len, const GLvoid* string);
    02387 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMARB) (GLenum target, GLuint program);
    02388 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSARB) (GLsizei n, const GLuint* programs);
    02389 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSARB) (GLsizei n, GLuint* programs);
    02390 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    02391 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
    02392 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    02393 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
    02394 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    02395 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
    02396 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    02397 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
    02398 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
    02399 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
    02400 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
    02401 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
    02402 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVARB) (GLenum target, GLenum pname, GLint* params);
    02403 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGARB) (GLenum target, GLenum pname, GLvoid* string);
    02404 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVARB) (GLuint index, GLenum pname, GLdouble* params);
    02405 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVARB) (GLuint index, GLenum pname, GLfloat* params);
    02406 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVARB) (GLuint index, GLenum pname, GLint* params);
    02407 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVARB) (GLuint index, GLenum pname, GLvoid** pointer);
    02408 typedef GLboolean (csAPIENTRY* csGLISPROGRAMARB) (GLuint program);
    02409
    02420 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DARB) (GLdouble x, GLdouble y);
    02421 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FARB) (GLfloat x, GLfloat y);
    02422 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IARB) (GLint x, GLint y);
    02423 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SARB) (GLshort x, GLshort y);
    02424 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVARB) (const GLdouble* p);
    02425 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVARB) (const GLfloat* p);
    02426 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVARB) (const GLint* p);
    02427 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVARB) (const GLshort* p);
    02428 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DARB) (GLdouble x, GLdouble y, GLdouble z);
    02429 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FARB) (GLfloat x, GLfloat y, GLfloat z);
    02430 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IARB) (GLint x, GLint y, GLint z);
    02431 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SARB) (GLshort x, GLshort y, GLshort z);
    02432 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVARB) (const GLdouble* p);
    02433 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVARB) (const GLfloat* p);
    02434 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVARB) (const GLint* p);
    02435 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVARB) (const GLshort* p);
    02436
    02441 #ifndef GL_422_EXT
    02442 #define GL_422_EXT                                                    32972
    02443 #endif
    02444
    02445 #ifndef GL_422_REV_EXT
    02446 #define GL_422_REV_EXT                                                32973
    02447 #endif
    02448
    02449 #ifndef GL_422_AVERAGE_EXT
    02450 #define GL_422_AVERAGE_EXT                                            32974
    02451 #endif
    02452
    02453 #ifndef GL_422_REV_AVERAGE_EXT
    02454 #define GL_422_REV_AVERAGE_EXT                                        32975
    02455 #endif
    02456
    02457
    02468 #ifndef GL_ABGR_EXT
    02469 #define GL_ABGR_EXT                                                   32768
    02470 #endif
    02471
    02472
    02483 #ifndef GL_BGR_EXT
    02484 #define GL_BGR_EXT                                                    32992
    02485 #endif
    02486
    02487 #ifndef GL_BGRA_EXT
    02488 #define GL_BGRA_EXT                                                   32993
    02489 #endif
    02490
    02491
    02502 #ifndef GL_CONSTANT_COLOR_EXT
    02503 #define GL_CONSTANT_COLOR_EXT                                         32769
    02504 #endif
    02505
    02506 #ifndef GL_ONE_MINUS_CONSTANT_COLOR_EXT
    02507 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT                               32770
    02508 #endif
    02509
    02510 #ifndef GL_CONSTANT_ALPHA_EXT
    02511 #define GL_CONSTANT_ALPHA_EXT                                         32771
    02512 #endif
    02513
    02514 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA_EXT
    02515 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT                               32772
    02516 #endif
    02517
    02518 #ifndef GL_BLEND_COLOR_EXT
    02519 #define GL_BLEND_COLOR_EXT                                            32773
    02520 #endif
    02521
    02522
    02528 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOREXT) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
    02529
    02534 #ifndef GL_BLEND_DST_RGB_EXT
    02535 #define GL_BLEND_DST_RGB_EXT                                          32968
    02536 #endif
    02537
    02538 #ifndef GL_BLEND_SRC_RGB_EXT
    02539 #define GL_BLEND_SRC_RGB_EXT                                          32969
    02540 #endif
    02541
    02542 #ifndef GL_BLEND_DST_ALPHA_EXT
    02543 #define GL_BLEND_DST_ALPHA_EXT                                        32970
    02544 #endif
    02545
    02546 #ifndef GL_BLEND_SRC_ALPHA_EXT
    02547 #define GL_BLEND_SRC_ALPHA_EXT                                        32971
    02548 #endif
    02549
    02550
    02556 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATEEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
    02557
    02573 #ifndef GL_FUNC_ADD_EXT
    02574 #define GL_FUNC_ADD_EXT                                               32774
    02575 #endif
    02576
    02577 #ifndef GL_MIN_EXT
    02578 #define GL_MIN_EXT                                                    32775
    02579 #endif
    02580
    02581 #ifndef GL_MAX_EXT
    02582 #define GL_MAX_EXT                                                    32776
    02583 #endif
    02584
    02585 #ifndef GL_BLEND_EQUATION_EXT
    02586 #define GL_BLEND_EQUATION_EXT                                         32777
    02587 #endif
    02588
    02589
    02595 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONEXT) (GLenum mode);
    02596
    02601 #ifndef GL_FUNC_SUBTRACT_EXT
    02602 #define GL_FUNC_SUBTRACT_EXT                                          32778
    02603 #endif
    02604
    02605 #ifndef GL_FUNC_REVERSE_SUBTRACT_EXT
    02606 #define GL_FUNC_REVERSE_SUBTRACT_EXT                                  32779
    02607 #endif
    02608
    02609
    02620 #ifndef GL_CLIP_VOLUME_CLIPPING_HINT_EXT
    02621 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT                              33008
    02622 #endif
    02623
    02624
    02641 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
    02642 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
    02643
    02648 #ifndef GL_ARRAY_ELEMENT_LOCK_FIRST_EXT
    02649 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT                               33192
    02650 #endif
    02651
    02652 #ifndef GL_ARRAY_ELEMENT_LOCK_COUNT_EXT
    02653 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT                               33193
    02654 #endif
    02655
    02656
    02662 typedef GLvoid (csAPIENTRY* csGLLOCKARRAYSEXT) (GLint first, GLsizei count);
    02663 typedef GLvoid (csAPIENTRY* csGLUNLOCKARRAYSEXT) ();
    02664
    02669 #ifndef GL_CONVOLUTION_1D_EXT
    02670 #define GL_CONVOLUTION_1D_EXT                                         32784
    02671 #endif
    02672
    02673 #ifndef GL_CONVOLUTION_2D_EXT
    02674 #define GL_CONVOLUTION_2D_EXT                                         32785
    02675 #endif
    02676
    02677 #ifndef GL_SEPARABLE_2D_EXT
    02678 #define GL_SEPARABLE_2D_EXT                                           32786
    02679 #endif
    02680
    02681 #ifndef GL_CONVOLUTION_BORDER_MODE_EXT
    02682 #define GL_CONVOLUTION_BORDER_MODE_EXT                                32787
    02683 #endif
    02684
    02685 #ifndef GL_CONVOLUTION_FILTER_SCALE_EXT
    02686 #define GL_CONVOLUTION_FILTER_SCALE_EXT                               32788
    02687 #endif
    02688
    02689 #ifndef GL_CONVOLUTION_FILTER_BIAS_EXT
    02690 #define GL_CONVOLUTION_FILTER_BIAS_EXT                                32789
    02691 #endif
    02692
    02693 #ifndef GL_REDUCE_EXT
    02694 #define GL_REDUCE_EXT                                                 32790
    02695 #endif
    02696
    02697 #ifndef GL_CONVOLUTION_FORMAT_EXT
    02698 #define GL_CONVOLUTION_FORMAT_EXT                                     32791
    02699 #endif
    02700
    02701 #ifndef GL_CONVOLUTION_WIDTH_EXT
    02702 #define GL_CONVOLUTION_WIDTH_EXT                                      32792
    02703 #endif
    02704
    02705 #ifndef GL_CONVOLUTION_HEIGHT_EXT
    02706 #define GL_CONVOLUTION_HEIGHT_EXT                                     32793
    02707 #endif
    02708
    02709 #ifndef GL_MAX_CONVOLUTION_WIDTH_EXT
    02710 #define GL_MAX_CONVOLUTION_WIDTH_EXT                                  32794
    02711 #endif
    02712
    02713 #ifndef GL_MAX_CONVOLUTION_HEIGHT_EXT
    02714 #define GL_MAX_CONVOLUTION_HEIGHT_EXT                                 32795
    02715 #endif
    02716
    02717 #ifndef GL_POST_CONVOLUTION_RED_SCALE_EXT
    02718 #define GL_POST_CONVOLUTION_RED_SCALE_EXT                             32796
    02719 #endif
    02720
    02721 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE_EXT
    02722 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT                           32797
    02723 #endif
    02724
    02725 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE_EXT
    02726 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT                            32798
    02727 #endif
    02728
    02729 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
    02730 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT                           32799
    02731 #endif
    02732
    02733 #ifndef GL_POST_CONVOLUTION_RED_BIAS_EXT
    02734 #define GL_POST_CONVOLUTION_RED_BIAS_EXT                              32800
    02735 #endif
    02736
    02737 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS_EXT
    02738 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT                            32801
    02739 #endif
    02740
    02741 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS_EXT
    02742 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT                             32802
    02743 #endif
    02744
    02745 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
    02746 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT                            32803
    02747 #endif
    02748
    02749
    02755 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
    02756 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
    02757 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    02758 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
    02759 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* image);
    02760 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
    02761 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
    02762 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIEXT) (GLenum target, GLenum pname, GLint param);
    02763 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, const GLint* params);
    02764 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFEXT) (GLenum target, GLenum pname, GLfloat param);
    02765 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, const GLfloat* params);
    02766 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
    02767 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
    02768
    02773 #ifndef GL_FOG_COORDINATE_SOURCE_EXT
    02774 #define GL_FOG_COORDINATE_SOURCE_EXT                                  33872
    02775 #endif
    02776
    02777 #ifndef GL_FOG_COORDINATE_EXT
    02778 #define GL_FOG_COORDINATE_EXT                                         33873
    02779 #endif
    02780
    02781 #ifndef GL_FRAGMENT_DEPTH_EXT
    02782 #define GL_FRAGMENT_DEPTH_EXT                                         33874
    02783 #endif
    02784
    02785 #ifndef GL_CURRENT_FOG_COORDINATE_EXT
    02786 #define GL_CURRENT_FOG_COORDINATE_EXT                                 33875
    02787 #endif
    02788
    02789 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE_EXT
    02790 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT                              33876
    02791 #endif
    02792
    02793 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE_EXT
    02794 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT                            33877
    02795 #endif
    02796
    02797 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER_EXT
    02798 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT                           33878
    02799 #endif
    02800
    02801 #ifndef GL_FOG_COORDINATE_ARRAY_EXT
    02802 #define GL_FOG_COORDINATE_ARRAY_EXT                                   33879
    02803 #endif
    02804
    02805
    02811 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFEXFLOAT) (GLfloat coord);
    02812 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDEXDOUBLE) (GLdouble coord);
    02813 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFVEXFLOAT) (GLfloat coord);
    02814 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDVEXDOUBLE) (GLdouble coord);
    02815 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTEREXT) (GLenum type, GLsizei stride, GLvoid* pointer);
    02816
    02821 #ifndef GL_HISTOGRAM_EXT
    02822 #define GL_HISTOGRAM_EXT                                              32804
    02823 #endif
    02824
    02825 #ifndef GL_PROXY_HISTOGRAM_EXT
    02826 #define GL_PROXY_HISTOGRAM_EXT                                        32805
    02827 #endif
    02828
    02829 #ifndef GL_HISTOGRAM_WIDTH_EXT
    02830 #define GL_HISTOGRAM_WIDTH_EXT                                        32806
    02831 #endif
    02832
    02833 #ifndef GL_HISTOGRAM_FORMAT_EXT
    02834 #define GL_HISTOGRAM_FORMAT_EXT                                       32807
    02835 #endif
    02836
    02837 #ifndef GL_HISTOGRAM_RED_SIZE_EXT
    02838 #define GL_HISTOGRAM_RED_SIZE_EXT                                     32808
    02839 #endif
    02840
    02841 #ifndef GL_HISTOGRAM_GREEN_SIZE_EXT
    02842 #define GL_HISTOGRAM_GREEN_SIZE_EXT                                   32809
    02843 #endif
    02844
    02845 #ifndef GL_HISTOGRAM_BLUE_SIZE_EXT
    02846 #define GL_HISTOGRAM_BLUE_SIZE_EXT                                    32810
    02847 #endif
    02848
    02849 #ifndef GL_HISTOGRAM_ALPHA_SIZE_EXT
    02850 #define GL_HISTOGRAM_ALPHA_SIZE_EXT                                   32811
    02851 #endif
    02852
    02853 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE_EXT
    02854 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT                               32812
    02855 #endif
    02856
    02857 #ifndef GL_HISTOGRAM_SINK_EXT
    02858 #define GL_HISTOGRAM_SINK_EXT                                         32813
    02859 #endif
    02860
    02861 #ifndef GL_MINMAX_EXT
    02862 #define GL_MINMAX_EXT                                                 32814
    02863 #endif
    02864
    02865 #ifndef GL_MINMAX_FORMAT_EXT
    02866 #define GL_MINMAX_FORMAT_EXT                                          32815
    02867 #endif
    02868
    02869 #ifndef GL_MINMAX_SINK_EXT
    02870 #define GL_MINMAX_SINK_EXT                                            32816
    02871 #endif
    02872
    02873
    02879 typedef GLvoid (csAPIENTRY* csGLHISTOGRAMEXT) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
    02880 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAMEXT) (GLenum target);
    02881 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
    02882 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
    02883 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
    02884 typedef GLvoid (csAPIENTRY* csGLMINMAXEXT) (GLenum target, GLenum internalformat, GLboolean sink);
    02885 typedef GLvoid (csAPIENTRY* csGLRESETMINMAXEXT) (GLenum target);
    02886 typedef GLvoid (csAPIENTRY* csGLGETMINMAXEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
    02887 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
    02888 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
    02889
    02900 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
    02901 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTSEXT) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount);
    02902
    02907 #ifndef GL_UNSIGNED_BYTE_3_3_2_EXT
    02908 #define GL_UNSIGNED_BYTE_3_3_2_EXT                                    32818
    02909 #endif
    02910
    02911 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_EXT
    02912 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT                                 32819
    02913 #endif
    02914
    02915 #ifndef GL_UNSIGNED_SHORT_5_5_5_1_EXT
    02916 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT                                 32820
    02917 #endif
    02918
    02919 #ifndef GL_UNSIGNED_INT_8_8_8_8_EXT
    02920 #define GL_UNSIGNED_INT_8_8_8_8_EXT                                   32821
    02921 #endif
    02922
    02923 #ifndef GL_UNSIGNED_INT_10_10_10_2_EXT
    02924 #define GL_UNSIGNED_INT_10_10_10_2_EXT                                32822
    02925 #endif
    02926
    02927
    02938 #ifndef GL_COLOR_INDEX1_EXT
    02939 #define GL_COLOR_INDEX1_EXT                                           32994
    02940 #endif
    02941
    02942 #ifndef GL_COLOR_INDEX2_EXT
    02943 #define GL_COLOR_INDEX2_EXT                                           32995
    02944 #endif
    02945
    02946 #ifndef GL_COLOR_INDEX4_EXT
    02947 #define GL_COLOR_INDEX4_EXT                                           32996
    02948 #endif
    02949
    02950 #ifndef GL_COLOR_INDEX8_EXT
    02951 #define GL_COLOR_INDEX8_EXT                                           32997
    02952 #endif
    02953
    02954 #ifndef GL_COLOR_INDEX12_EXT
    02955 #define GL_COLOR_INDEX12_EXT                                          32998
    02956 #endif
    02957
    02958 #ifndef GL_COLOR_INDEX16_EXT
    02959 #define GL_COLOR_INDEX16_EXT                                          32999
    02960 #endif
    02961
    02962 #ifndef GL_COLOR_TABLE_FORMAT_EXT
    02963 #define GL_COLOR_TABLE_FORMAT_EXT                                     32984
    02964 #endif
    02965
    02966 #ifndef GL_COLOR_TABLE_WIDTH_EXT
    02967 #define GL_COLOR_TABLE_WIDTH_EXT                                      32985
    02968 #endif
    02969
    02970 #ifndef GL_COLOR_TABLE_RED_SIZE_EXT
    02971 #define GL_COLOR_TABLE_RED_SIZE_EXT                                   32986
    02972 #endif
    02973
    02974 #ifndef GL_COLOR_TABLE_GREEN_SIZE_EXT
    02975 #define GL_COLOR_TABLE_GREEN_SIZE_EXT                                 32987
    02976 #endif
    02977
    02978 #ifndef GL_COLOR_TABLE_BLUE_SIZE_EXT
    02979 #define GL_COLOR_TABLE_BLUE_SIZE_EXT                                  32988
    02980 #endif
    02981
    02982 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_EXT
    02983 #define GL_COLOR_TABLE_ALPHA_SIZE_EXT                                 32989
    02984 #endif
    02985
    02986 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_EXT
    02987 #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT                             32990
    02988 #endif
    02989
    02990 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_EXT
    02991 #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT                             32991
    02992 #endif
    02993
    02994 #ifndef GL_TEXTURE_INDEX_SIZE_EXT
    02995 #define GL_TEXTURE_INDEX_SIZE_EXT                                     33005
    02996 #endif
    02997
    02998 #ifndef GL_TEXTURE_1D
    02999 #define GL_TEXTURE_1D                                                  3552
    03000 #endif
    03001
    03002 #ifndef GL_TEXTURE_2D
    03003 #define GL_TEXTURE_2D                                                  3553
    03004 #endif
    03005
    03006 #ifndef GL_TEXTURE_3D_EXT
    03007 #define GL_TEXTURE_3D_EXT                                             32879
    03008 #endif
    03009
    03010 #ifndef GL_TEXTURE_CUBE_MAP_ARB
    03011 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
    03012 #endif
    03013
    03014 #ifndef GL_PROXY_TEXTURE_1D
    03015 #define GL_PROXY_TEXTURE_1D                                           32867
    03016 #endif
    03017
    03018 #ifndef GL_PROXY_TEXTURE_2D
    03019 #define GL_PROXY_TEXTURE_2D                                           32868
    03020 #endif
    03021
    03022 #ifndef GL_PROXY_TEXTURE_3D_EXT
    03023 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
    03024 #endif
    03025
    03026 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
    03027 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
    03028 #endif
    03029
    03030 #ifndef GL_TEXTURE_1D
    03031 #define GL_TEXTURE_1D                                                  3552
    03032 #endif
    03033
    03034 #ifndef GL_TEXTURE_2D
    03035 #define GL_TEXTURE_2D                                                  3553
    03036 #endif
    03037
    03038 #ifndef GL_TEXTURE_3D_EXT
    03039 #define GL_TEXTURE_3D_EXT                                             32879
    03040 #endif
    03041
    03042 #ifndef GL_TEXTURE_CUBE_MAP_ARB
    03043 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
    03044 #endif
    03045
    03046
    03052 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEEXT) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid* data);
    03053 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEEXT) (GLenum target, GLenum format, GLenum type, GLvoid* data);
    03054 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
    03055 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
    03056
    03061 #ifndef GL_POINT_SIZE_MIN_EXT
    03062 #define GL_POINT_SIZE_MIN_EXT                                         33062
    03063 #endif
    03064
    03065 #ifndef GL_POINT_SIZE_MAX_EXT
    03066 #define GL_POINT_SIZE_MAX_EXT                                         33063
    03067 #endif
    03068
    03069 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_EXT
    03070 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT                              33064
    03071 #endif
    03072
    03073 #ifndef GL_DISTANCE_ATTENUATION_EXT
    03074 #define GL_DISTANCE_ATTENUATION_EXT                                   33065
    03075 #endif
    03076
    03077
    03083 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFEXT) (GLenum pname, GLfloat param);
    03084 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVEXT) (GLenum pname, GLfloat* params);
    03085
    03090 #ifndef GL_POLYGON_OFFSET_EXT
    03091 #define GL_POLYGON_OFFSET_EXT                                         32823
    03092 #endif
    03093
    03094 #ifndef GL_POLYGON_OFFSET_FACTOR_EXT
    03095 #define GL_POLYGON_OFFSET_FACTOR_EXT                                  32824
    03096 #endif
    03097
    03098 #ifndef GL_POLYGON_OFFSET_BIAS_EXT
    03099 #define GL_POLYGON_OFFSET_BIAS_EXT                                    32825
    03100 #endif
    03101
    03102
    03108 typedef GLvoid (csAPIENTRY* csGLPOLYGONOFFSETEXT) (GLfloat factor, GLfloat bias);
    03109
    03114 #ifndef GL_COLOR_SUM_EXT
    03115 #define GL_COLOR_SUM_EXT                                              33880
    03116 #endif
    03117
    03118 #ifndef GL_CURRENT_SECONDARY_COLOR_EXT
    03119 #define GL_CURRENT_SECONDARY_COLOR_EXT                                33881
    03120 #endif
    03121
    03122 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
    03123 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT                             33882
    03124 #endif
    03125
    03126 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
    03127 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT                             33883
    03128 #endif
    03129
    03130 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
    03131 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT                           33884
    03132 #endif
    03133
    03134 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
    03135 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT                          33885
    03136 #endif
    03137
    03138 #ifndef GL_SECONDARY_COLOR_ARRAY_EXT
    03139 #define GL_SECONDARY_COLOR_ARRAY_EXT                                  33886
    03140 #endif
    03141
    03142
    03148 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BEXT) (GLbyte components);
    03149 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SEXT) (GLshort components);
    03150 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IEXT) (GLint components);
    03151 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FEXT) (GLfloat components);
    03152 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DEXT) (GLdouble components);
    03153 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBEXT) (GLubyte components);
    03154 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USEXT) (GLushort components);
    03155 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIEXT) (GLuint components);
    03156 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BVEXT) (GLbyte components);
    03157 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SVEXT) (GLshort components);
    03158 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IVEXT) (GLint components);
    03159 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FVEXT) (GLfloat components);
    03160 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DVEXT) (GLdouble components);
    03161 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBVEXT) (GLubyte components);
    03162 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USVEXT) (GLushort components);
    03163 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIVEXT) (GLuint components);
    03164 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
    03165
    03170 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL_EXT
    03171 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT                              33272
    03172 #endif
    03173
    03174 #ifndef GL_SINGLE_COLOR_EXT
    03175 #define GL_SINGLE_COLOR_EXT                                           33273
    03176 #endif
    03177
    03178 #ifndef GL_SEPARATE_SPECULAR_COLOR_EXT
    03179 #define GL_SEPARATE_SPECULAR_COLOR_EXT                                33274
    03180 #endif
    03181
    03182
    03204 #ifndef GL_SHARED_TEXTURE_PALETTE_EXT
    03205 #define GL_SHARED_TEXTURE_PALETTE_EXT                                 33275
    03206 #endif
    03207
    03208
    03219 #ifndef GL_STENCIL_TEST_TWO_SIDE_EXT
    03220 #define GL_STENCIL_TEST_TWO_SIDE_EXT                                  35088
    03221 #endif
    03222
    03223 #ifndef GL_ACTIVE_STENCIL_FACE_EXT
    03224 #define GL_ACTIVE_STENCIL_FACE_EXT                                    35089
    03225 #endif
    03226
    03227
    03233 typedef GLvoid (csAPIENTRY* csGLACTIVESTENCILFACEEXT) (GLenum face);
    03234
    03239 #ifndef GL_INCR_WRAP_EXT
    03240 #define GL_INCR_WRAP_EXT                                              34055
    03241 #endif
    03242
    03243 #ifndef GL_DECR_WRAP_EXT
    03244 #define GL_DECR_WRAP_EXT                                              34056
    03245 #endif
    03246
    03247
    03264 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE1DEXT) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels);
    03265 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
    03266 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE3DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels);
    03267
    03272 #ifndef GL_PACK_SKIP_IMAGES_EXT
    03273 #define GL_PACK_SKIP_IMAGES_EXT                                       32875
    03274 #endif
    03275
    03276 #ifndef GL_PACK_IMAGE_HEIGHT_EXT
    03277 #define GL_PACK_IMAGE_HEIGHT_EXT                                      32876
    03278 #endif
    03279
    03280 #ifndef GL_UNPACK_SKIP_IMAGES_EXT
    03281 #define GL_UNPACK_SKIP_IMAGES_EXT                                     32877
    03282 #endif
    03283
    03284 #ifndef GL_UNPACK_IMAGE_HEIGHT_EXT
    03285 #define GL_UNPACK_IMAGE_HEIGHT_EXT                                    32878
    03286 #endif
    03287
    03288 #ifndef GL_TEXTURE_3D_EXT
    03289 #define GL_TEXTURE_3D_EXT                                             32879
    03290 #endif
    03291
    03292 #ifndef GL_PROXY_TEXTURE_3D_EXT
    03293 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
    03294 #endif
    03295
    03296 #ifndef GL_TEXTURE_DEPTH_EXT
    03297 #define GL_TEXTURE_DEPTH_EXT                                          32881
    03298 #endif
    03299
    03300 #ifndef GL_TEXTURE_WRAP_R_EXT
    03301 #define GL_TEXTURE_WRAP_R_EXT                                         32882
    03302 #endif
    03303
    03304 #ifndef GL_MAX_3D_TEXTURE_SIZE_EXT
    03305 #define GL_MAX_3D_TEXTURE_SIZE_EXT                                    32883
    03306 #endif
    03307
    03308
    03314 typedef GLvoid (csAPIENTRY* csGLTEXIMAGE3DEXT) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
    03315
    03320 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
    03321 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
    03322 #endif
    03323
    03324 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
    03325 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
    03326 #endif
    03327
    03328 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
    03329 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
    03330 #endif
    03331
    03332 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
    03333 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
    03334 #endif
    03335
    03336
    03358 #ifndef GL_COMBINE_EXT
    03359 #define GL_COMBINE_EXT                                                34160
    03360 #endif
    03361
    03362 #ifndef GL_COMBINE_RGB_EXT
    03363 #define GL_COMBINE_RGB_EXT                                            34161
    03364 #endif
    03365
    03366 #ifndef GL_COMBINE_ALPHA_EXT
    03367 #define GL_COMBINE_ALPHA_EXT                                          34162
    03368 #endif
    03369
    03370 #ifndef GL_SOURCE0_RGB_EXT
    03371 #define GL_SOURCE0_RGB_EXT                                            34176
    03372 #endif
    03373
    03374 #ifndef GL_SOURCE1_RGB_EXT
    03375 #define GL_SOURCE1_RGB_EXT                                            34177
    03376 #endif
    03377
    03378 #ifndef GL_SOURCE2_RGB_EXT
    03379 #define GL_SOURCE2_RGB_EXT                                            34178
    03380 #endif
    03381
    03382 #ifndef GL_SOURCE0_ALPHA_EXT
    03383 #define GL_SOURCE0_ALPHA_EXT                                          34184
    03384 #endif
    03385
    03386 #ifndef GL_SOURCE1_ALPHA_EXT
    03387 #define GL_SOURCE1_ALPHA_EXT                                          34185
    03388 #endif
    03389
    03390 #ifndef GL_SOURCE2_ALPHA_EXT
    03391 #define GL_SOURCE2_ALPHA_EXT                                          34186
    03392 #endif
    03393
    03394 #ifndef GL_OPERAND0_RGB_EXT
    03395 #define GL_OPERAND0_RGB_EXT                                           34192
    03396 #endif
    03397
    03398 #ifndef GL_OPERAND1_RGB_EXT
    03399 #define GL_OPERAND1_RGB_EXT                                           34193
    03400 #endif
    03401
    03402 #ifndef GL_OPERAND2_RGB_EXT
    03403 #define GL_OPERAND2_RGB_EXT                                           34194
    03404 #endif
    03405
    03406 #ifndef GL_OPERAND0_ALPHA_EXT
    03407 #define GL_OPERAND0_ALPHA_EXT                                         34200
    03408 #endif
    03409
    03410 #ifndef GL_OPERAND1_ALPHA_EXT
    03411 #define GL_OPERAND1_ALPHA_EXT                                         34201
    03412 #endif
    03413
    03414 #ifndef GL_OPERAND2_ALPHA_EXT
    03415 #define GL_OPERAND2_ALPHA_EXT                                         34202
    03416 #endif
    03417
    03418 #ifndef GL_RGB_SCALE_EXT
    03419 #define GL_RGB_SCALE_EXT                                              34163
    03420 #endif
    03421
    03422 #ifndef GL_ADD_SIGNED_EXT
    03423 #define GL_ADD_SIGNED_EXT                                             34164
    03424 #endif
    03425
    03426 #ifndef GL_INTERPOLATE_EXT
    03427 #define GL_INTERPOLATE_EXT                                            34165
    03428 #endif
    03429
    03430 #ifndef GL_CONSTANT_EXT
    03431 #define GL_CONSTANT_EXT                                               34166
    03432 #endif
    03433
    03434 #ifndef GL_PRIMARY_COLOR_EXT
    03435 #define GL_PRIMARY_COLOR_EXT                                          34167
    03436 #endif
    03437
    03438 #ifndef GL_PREVIOUS_EXT
    03439 #define GL_PREVIOUS_EXT                                               34168
    03440 #endif
    03441
    03442
    03453 #ifndef GL_DOT3_RGB_EXT
    03454 #define GL_DOT3_RGB_EXT                                               34624
    03455 #endif
    03456
    03457 #ifndef GL_DOT3_RGBA_EXT
    03458 #define GL_DOT3_RGBA_EXT                                              34625
    03459 #endif
    03460
    03461
    03472 #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
    03473 #define GL_TEXTURE_MAX_ANISOTROPY_EXT                                 34046
    03474 #endif
    03475
    03476 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
    03477 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                             34047
    03478 #endif
    03479
    03480
    03491 #ifndef GL_TEXTURE_FILTER_CONTROL_EXT
    03492 #define GL_TEXTURE_FILTER_CONTROL_EXT                                 34048
    03493 #endif
    03494
    03495 #ifndef GL_TEXTURE_LOD_BIAS_EXT
    03496 #define GL_TEXTURE_LOD_BIAS_EXT                                       34049
    03497 #endif
    03498
    03499 #ifndef GL_MAX_TEXTURE_LOD_BIAS_EXT
    03500 #define GL_MAX_TEXTURE_LOD_BIAS_EXT                                   34045
    03501 #endif
    03502
    03503
    03514 #ifndef GL_TEXTURE_PRIORITY_EXT
    03515 #define GL_TEXTURE_PRIORITY_EXT                                       32870
    03516 #endif
    03517
    03518 #ifndef GL_TEXTURE_RESIDENT_EXT
    03519 #define GL_TEXTURE_RESIDENT_EXT                                       32871
    03520 #endif
    03521
    03522 #ifndef GL_TEXTURE_1D_BINDING_EXT
    03523 #define GL_TEXTURE_1D_BINDING_EXT                                     32872
    03524 #endif
    03525
    03526 #ifndef GL_TEXTURE_2D_BINDING_EXT
    03527 #define GL_TEXTURE_2D_BINDING_EXT                                     32873
    03528 #endif
    03529
    03530 #ifndef GL_TEXTURE_3D_BINDING_EXT
    03531 #define GL_TEXTURE_3D_BINDING_EXT                                     32874
    03532 #endif
    03533
    03534
    03540 typedef GLvoid (csAPIENTRY* csGLGENTEXTURESEXT) (GLsizei n, GLuint* textures);
    03541 typedef GLvoid (csAPIENTRY* csGLDELETETEXTURESEXT) (GLsizei n, const GLuint* textures);
    03542 typedef GLvoid (csAPIENTRY* csGLBINDTEXTUREEXT) (GLenum target, GLuint texture);
    03543 typedef GLvoid (csAPIENTRY* csGLPRIORITIZETEXTURESEXT) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
    03544 typedef GLboolean (csAPIENTRY* csGLARETEXTURESRESIDENTEXT) (GLsizei n, const GLuint* textures, GLboolean* residences);
    03545 typedef GLboolean (csAPIENTRY* csGLISTEXTUREEXT) (GLuint texture);
    03546
    03551 #ifndef GL_VERTEX_ARRAY_EXT
    03552 #define GL_VERTEX_ARRAY_EXT                                           32884
    03553 #endif
    03554
    03555 #ifndef GL_NORMAL_ARRAY_EXT
    03556 #define GL_NORMAL_ARRAY_EXT                                           32885
    03557 #endif
    03558
    03559 #ifndef GL_COLOR_ARRAY_EXT
    03560 #define GL_COLOR_ARRAY_EXT                                            32886
    03561 #endif
    03562
    03563 #ifndef GL_INDEX_ARRAY_EXT
    03564 #define GL_INDEX_ARRAY_EXT                                            32887
    03565 #endif
    03566
    03567 #ifndef GL_TEXTURE_COORD_ARRAY_EXT
    03568 #define GL_TEXTURE_COORD_ARRAY_EXT                                    32888
    03569 #endif
    03570
    03571 #ifndef GL_EDGE_FLAG_ARRAY_EXT
    03572 #define GL_EDGE_FLAG_ARRAY_EXT                                        32889
    03573 #endif
    03574
    03575 #ifndef GL_DOUBLE_EXT
    03576 #define GL_DOUBLE_EXT                                                  5130
    03577 #endif
    03578
    03579 #ifndef GL_VERTEX_ARRAY_SIZE_EXT
    03580 #define GL_VERTEX_ARRAY_SIZE_EXT                                      32890
    03581 #endif
    03582
    03583 #ifndef GL_VERTEX_ARRAY_TYPE_EXT
    03584 #define GL_VERTEX_ARRAY_TYPE_EXT                                      32891
    03585 #endif
    03586
    03587 #ifndef GL_VERTEX_ARRAY_STRIDE_EXT
    03588 #define GL_VERTEX_ARRAY_STRIDE_EXT                                    32892
    03589 #endif
    03590
    03591 #ifndef GL_VERTEX_ARRAY_COUNT_EXT
    03592 #define GL_VERTEX_ARRAY_COUNT_EXT                                     32893
    03593 #endif
    03594
    03595 #ifndef GL_NORMAL_ARRAY_TYPE_EXT
    03596 #define GL_NORMAL_ARRAY_TYPE_EXT                                      32894
    03597 #endif
    03598
    03599 #ifndef GL_NORMAL_ARRAY_STRIDE_EXT
    03600 #define GL_NORMAL_ARRAY_STRIDE_EXT                                    32895
    03601 #endif
    03602
    03603 #ifndef GL_NORMAL_ARRAY_COUNT_EXT
    03604 #define GL_NORMAL_ARRAY_COUNT_EXT                                     32896
    03605 #endif
    03606
    03607 #ifndef GL_COLOR_ARRAY_SIZE_EXT
    03608 #define GL_COLOR_ARRAY_SIZE_EXT                                       32897
    03609 #endif
    03610
    03611 #ifndef GL_COLOR_ARRAY_TYPE_EXT
    03612 #define GL_COLOR_ARRAY_TYPE_EXT                                       32898
    03613 #endif
    03614
    03615 #ifndef GL_COLOR_ARRAY_STRIDE_EXT
    03616 #define GL_COLOR_ARRAY_STRIDE_EXT                                     32899
    03617 #endif
    03618
    03619 #ifndef GL_COLOR_ARRAY_COUNT_EXT
    03620 #define GL_COLOR_ARRAY_COUNT_EXT                                      32900
    03621 #endif
    03622
    03623 #ifndef GL_INDEX_ARRAY_TYPE_EXT
    03624 #define GL_INDEX_ARRAY_TYPE_EXT                                       32901
    03625 #endif
    03626
    03627 #ifndef GL_INDEX_ARRAY_STRIDE_EXT
    03628 #define GL_INDEX_ARRAY_STRIDE_EXT                                     32902
    03629 #endif
    03630
    03631 #ifndef GL_INDEX_ARRAY_COUNT_EXT
    03632 #define GL_INDEX_ARRAY_COUNT_EXT                                      32903
    03633 #endif
    03634
    03635 #ifndef GL_TEXTURE_COORD_ARRAY_SIZE_EXT
    03636 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT                               32904
    03637 #endif
    03638
    03639 #ifndef GL_TEXTURE_COORD_ARRAY_TYPE_EXT
    03640 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT                               32905
    03641 #endif
    03642
    03643 #ifndef GL_TEXTURE_COORD_ARRAY_STRIDE_EXT
    03644 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT                             32906
    03645 #endif
    03646
    03647 #ifndef GL_TEXTURE_COORD_ARRAY_COUNT_EXT
    03648 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT                              32907
    03649 #endif
    03650
    03651 #ifndef GL_EDGE_FLAG_ARRAY_STRIDE_EXT
    03652 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT                                 32908
    03653 #endif
    03654
    03655 #ifndef GL_EDGE_FLAG_ARRAY_COUNT_EXT
    03656 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT                                  32909
    03657 #endif
    03658
    03659 #ifndef GL_VERTEX_ARRAY_POINTER_EXT
    03660 #define GL_VERTEX_ARRAY_POINTER_EXT                                   32910
    03661 #endif
    03662
    03663 #ifndef GL_NORMAL_ARRAY_POINTER_EXT
    03664 #define GL_NORMAL_ARRAY_POINTER_EXT                                   32911
    03665 #endif
    03666
    03667 #ifndef GL_COLOR_ARRAY_POINTER_EXT
    03668 #define GL_COLOR_ARRAY_POINTER_EXT                                    32912
    03669 #endif
    03670
    03671 #ifndef GL_INDEX_ARRAY_POINTER_EXT
    03672 #define GL_INDEX_ARRAY_POINTER_EXT                                    32913
    03673 #endif
    03674
    03675 #ifndef GL_TEXTURE_COORD_ARRAY_POINTER_EXT
    03676 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT                            32914
    03677 #endif
    03678
    03679 #ifndef GL_EDGE_FLAG_ARRAY_POINTER_EXT
    03680 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT                                32915
    03681 #endif
    03682
    03683
    03689 typedef GLvoid (csAPIENTRY* csGLARRAYELEMENTEXT) (GLint i);
    03690 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSEXT) (GLenum mode, GLint first, GLsizei count);
    03691 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
    03692 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
    03693 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
    03694 typedef GLvoid (csAPIENTRY* csGLINDEXPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
    03695 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
    03696 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTEREXT) (GLsizei stride, GLsizei count, const GLboolean* pointer);
    03697 typedef GLvoid (csAPIENTRY* csGLGETPOINTERVEXT) (GLenum pname, GLvoid* params);
    03698
    03703 #ifndef GL_VERTEX_SHADER_EXT
    03704 #define GL_VERTEX_SHADER_EXT                                          34688
    03705 #endif
    03706
    03707 #ifndef GL_VARIANT_VALUE_EXT
    03708 #define GL_VARIANT_VALUE_EXT                                          34788
    03709 #endif
    03710
    03711 #ifndef GL_VARIANT_DATATYPE_EXT
    03712 #define GL_VARIANT_DATATYPE_EXT                                       34789
    03713 #endif
    03714
    03715 #ifndef GL_VARIANT_ARRAY_STRIDE_EXT
    03716 #define GL_VARIANT_ARRAY_STRIDE_EXT                                   34790
    03717 #endif
    03718
    03719 #ifndef GL_VARIANT_ARRAY_TYPE_EXT
    03720 #define GL_VARIANT_ARRAY_TYPE_EXT                                     34791
    03721 #endif
    03722
    03723 #ifndef GL_VARIANT_ARRAY_EXT
    03724 #define GL_VARIANT_ARRAY_EXT                                          34792
    03725 #endif
    03726
    03727 #ifndef GL_VARIANT_ARRAY_POINTER_EXT
    03728 #define GL_VARIANT_ARRAY_POINTER_EXT                                  34793
    03729 #endif
    03730
    03731 #ifndef GL_INVARIANT_VALUE_EXT
    03732 #define GL_INVARIANT_VALUE_EXT                                        34794
    03733 #endif
    03734
    03735 #ifndef GL_INVARIANT_DATATYPE_EXT
    03736 #define GL_INVARIANT_DATATYPE_EXT                                     34795
    03737 #endif
    03738
    03739 #ifndef GL_LOCAL_CONSTANT_VALUE_EXT
    03740 #define GL_LOCAL_CONSTANT_VALUE_EXT                                   34796
    03741 #endif
    03742
    03743 #ifndef GL_LOCAL_CONSTANT_DATATYPE_EXT
    03744 #define GL_LOCAL_CONSTANT_DATATYPE_EXT                                34797
    03745 #endif
    03746
    03747 #ifndef GL_OP_INDEX_EXT
    03748 #define GL_OP_INDEX_EXT                                               34690
    03749 #endif
    03750
    03751 #ifndef GL_OP_NEGATE_EXT
    03752 #define GL_OP_NEGATE_EXT                                              34691
    03753 #endif
    03754
    03755 #ifndef GL_OP_DOT3_EXT
    03756 #define GL_OP_DOT3_EXT                                                34692
    03757 #endif
    03758
    03759 #ifndef GL_OP_DOT4_EXT
    03760 #define GL_OP_DOT4_EXT                                                34693
    03761 #endif
    03762
    03763 #ifndef GL_OP_MUL_EXT
    03764 #define GL_OP_MUL_EXT                                                 34694
    03765 #endif
    03766
    03767 #ifndef GL_OP_ADD_EXT
    03768 #define GL_OP_ADD_EXT                                                 34695
    03769 #endif
    03770
    03771 #ifndef GL_OP_MADD_EXT
    03772 #define GL_OP_MADD_EXT                                                34696
    03773 #endif
    03774
    03775 #ifndef GL_OP_FRAC_EXT
    03776 #define GL_OP_FRAC_EXT                                                34697
    03777 #endif
    03778
    03779 #ifndef GL_OP_MAX_EXT
    03780 #define GL_OP_MAX_EXT                                                 34698
    03781 #endif
    03782
    03783 #ifndef GL_OP_MIN_EXT
    03784 #define GL_OP_MIN_EXT                                                 34699
    03785 #endif
    03786
    03787 #ifndef GL_OP_SET_GE_EXT
    03788 #define GL_OP_SET_GE_EXT                                              34700
    03789 #endif
    03790
    03791 #ifndef GL_OP_SET_LT_EXT
    03792 #define GL_OP_SET_LT_EXT                                              34701
    03793 #endif
    03794
    03795 #ifndef GL_OP_CLAMP_EXT
    03796 #define GL_OP_CLAMP_EXT                                               34702
    03797 #endif
    03798
    03799 #ifndef GL_OP_FLOOR_EXT
    03800 #define GL_OP_FLOOR_EXT                                               34703
    03801 #endif
    03802
    03803 #ifndef GL_OP_ROUND_EXT
    03804 #define GL_OP_ROUND_EXT                                               34704
    03805 #endif
    03806
    03807 #ifndef GL_OP_EXP_BASE_2_EXT
    03808 #define GL_OP_EXP_BASE_2_EXT                                          34705
    03809 #endif
    03810
    03811 #ifndef GL_OP_LOG_BASE_2_EXT
    03812 #define GL_OP_LOG_BASE_2_EXT                                          34706
    03813 #endif
    03814
    03815 #ifndef GL_OP_POWER_EXT
    03816 #define GL_OP_POWER_EXT                                               34707
    03817 #endif
    03818
    03819 #ifndef GL_OP_RECIP_EXT
    03820 #define GL_OP_RECIP_EXT                                               34708
    03821 #endif
    03822
    03823 #ifndef GL_OP_RECIP_SQRT_EXT
    03824 #define GL_OP_RECIP_SQRT_EXT                                          34709
    03825 #endif
    03826
    03827 #ifndef GL_OP_SUB_EXT
    03828 #define GL_OP_SUB_EXT                                                 34710
    03829 #endif
    03830
    03831 #ifndef GL_OP_CROSS_PRODUCT_EXT
    03832 #define GL_OP_CROSS_PRODUCT_EXT                                       34711
    03833 #endif
    03834
    03835 #ifndef GL_OP_MULTIPLY_MATRIX_EXT
    03836 #define GL_OP_MULTIPLY_MATRIX_EXT                                     34712
    03837 #endif
    03838
    03839 #ifndef GL_OP_MOV_EXT
    03840 #define GL_OP_MOV_EXT                                                 34713
    03841 #endif
    03842
    03843 #ifndef GL_OUTPUT_VERTEX_EXT
    03844 #define GL_OUTPUT_VERTEX_EXT                                          34714
    03845 #endif
    03846
    03847 #ifndef GL_OUTPUT_COLOR0_EXT
    03848 #define GL_OUTPUT_COLOR0_EXT                                          34715
    03849 #endif
    03850
    03851 #ifndef GL_OUTPUT_COLOR1_EXT
    03852 #define GL_OUTPUT_COLOR1_EXT                                          34716
    03853 #endif
    03854
    03855 #ifndef GL_OUTPUT_TEXTURE_COORD0_EXT
    03856 #define GL_OUTPUT_TEXTURE_COORD0_EXT                                  34717
    03857 #endif
    03858
    03859 #ifndef GL_OUTPUT_TEXTURE_COORD1_EXT
    03860 #define GL_OUTPUT_TEXTURE_COORD1_EXT                                  34718
    03861 #endif
    03862
    03863 #ifndef GL_OUTPUT_TEXTURE_COORD2_EXT
    03864 #define GL_OUTPUT_TEXTURE_COORD2_EXT                                  34719
    03865 #endif
    03866
    03867 #ifndef GL_OUTPUT_TEXTURE_COORD3_EXT
    03868 #define GL_OUTPUT_TEXTURE_COORD3_EXT                                  34720
    03869 #endif
    03870
    03871 #ifndef GL_OUTPUT_TEXTURE_COORD4_EXT
    03872 #define GL_OUTPUT_TEXTURE_COORD4_EXT                                  34721
    03873 #endif
    03874
    03875 #ifndef GL_OUTPUT_TEXTURE_COORD5_EXT
    03876 #define GL_OUTPUT_TEXTURE_COORD5_EXT                                  34722
    03877 #endif
    03878
    03879 #ifndef GL_OUTPUT_TEXTURE_COORD6_EXT
    03880 #define GL_OUTPUT_TEXTURE_COORD6_EXT                                  34723
    03881 #endif
    03882
    03883 #ifndef GL_OUTPUT_TEXTURE_COORD7_EXT
    03884 #define GL_OUTPUT_TEXTURE_COORD7_EXT                                  34724
    03885 #endif
    03886
    03887 #ifndef GL_OUTPUT_TEXTURE_COORD8_EXT
    03888 #define GL_OUTPUT_TEXTURE_COORD8_EXT                                  34725
    03889 #endif
    03890
    03891 #ifndef GL_OUTPUT_TEXTURE_COORD9_EXT
    03892 #define GL_OUTPUT_TEXTURE_COORD9_EXT                                  34726
    03893 #endif
    03894
    03895 #ifndef GL_OUTPUT_TEXTURE_COORD10_EXT
    03896 #define GL_OUTPUT_TEXTURE_COORD10_EXT                                 34727
    03897 #endif
    03898
    03899 #ifndef GL_OUTPUT_TEXTURE_COORD11_EXT
    03900 #define GL_OUTPUT_TEXTURE_COORD11_EXT                                 34728
    03901 #endif
    03902
    03903 #ifndef GL_OUTPUT_TEXTURE_COORD12_EXT
    03904 #define GL_OUTPUT_TEXTURE_COORD12_EXT                                 34729
    03905 #endif
    03906
    03907 #ifndef GL_OUTPUT_TEXTURE_COORD13_EXT
    03908 #define GL_OUTPUT_TEXTURE_COORD13_EXT                                 34730
    03909 #endif
    03910
    03911 #ifndef GL_OUTPUT_TEXTURE_COORD14_EXT
    03912 #define GL_OUTPUT_TEXTURE_COORD14_EXT                                 34731
    03913 #endif
    03914
    03915 #ifndef GL_OUTPUT_TEXTURE_COORD15_EXT
    03916 #define GL_OUTPUT_TEXTURE_COORD15_EXT                                 34732
    03917 #endif
    03918
    03919 #ifndef GL_OUTPUT_TEXTURE_COORD16_EXT
    03920 #define GL_OUTPUT_TEXTURE_COORD16_EXT                                 34733
    03921 #endif
    03922
    03923 #ifndef GL_OUTPUT_TEXTURE_COORD17_EXT
    03924 #define GL_OUTPUT_TEXTURE_COORD17_EXT                                 34734
    03925 #endif
    03926
    03927 #ifndef GL_OUTPUT_TEXTURE_COORD18_EXT
    03928 #define GL_OUTPUT_TEXTURE_COORD18_EXT                                 34735
    03929 #endif
    03930
    03931 #ifndef GL_OUTPUT_TEXTURE_COORD19_EXT
    03932 #define GL_OUTPUT_TEXTURE_COORD19_EXT                                 34736
    03933 #endif
    03934
    03935 #ifndef GL_OUTPUT_TEXTURE_COORD20_EXT
    03936 #define GL_OUTPUT_TEXTURE_COORD20_EXT                                 34737
    03937 #endif
    03938
    03939 #ifndef GL_OUTPUT_TEXTURE_COORD21_EXT
    03940 #define GL_OUTPUT_TEXTURE_COORD21_EXT                                 34738
    03941 #endif
    03942
    03943 #ifndef GL_OUTPUT_TEXTURE_COORD22_EXT
    03944 #define GL_OUTPUT_TEXTURE_COORD22_EXT                                 34739
    03945 #endif
    03946
    03947 #ifndef GL_OUTPUT_TEXTURE_COORD23_EXT
    03948 #define GL_OUTPUT_TEXTURE_COORD23_EXT                                 34740
    03949 #endif
    03950
    03951 #ifndef GL_OUTPUT_TEXTURE_COORD24_EXT
    03952 #define GL_OUTPUT_TEXTURE_COORD24_EXT                                 34741
    03953 #endif
    03954
    03955 #ifndef GL_OUTPUT_TEXTURE_COORD25_EXT
    03956 #define GL_OUTPUT_TEXTURE_COORD25_EXT                                 34742
    03957 #endif
    03958
    03959 #ifndef GL_OUTPUT_TEXTURE_COORD26_EXT
    03960 #define GL_OUTPUT_TEXTURE_COORD26_EXT                                 34743
    03961 #endif
    03962
    03963 #ifndef GL_OUTPUT_TEXTURE_COORD27_EXT
    03964 #define GL_OUTPUT_TEXTURE_COORD27_EXT                                 34744
    03965 #endif
    03966
    03967 #ifndef GL_OUTPUT_TEXTURE_COORD28_EXT
    03968 #define GL_OUTPUT_TEXTURE_COORD28_EXT                                 34745
    03969 #endif
    03970
    03971 #ifndef GL_OUTPUT_TEXTURE_COORD29_EXT
    03972 #define GL_OUTPUT_TEXTURE_COORD29_EXT                                 34746
    03973 #endif
    03974
    03975 #ifndef GL_OUTPUT_TEXTURE_COORD30_EXT
    03976 #define GL_OUTPUT_TEXTURE_COORD30_EXT                                 34747
    03977 #endif
    03978
    03979 #ifndef GL_OUTPUT_TEXTURE_COORD31_EXT
    03980 #define GL_OUTPUT_TEXTURE_COORD31_EXT                                 34748
    03981 #endif
    03982
    03983 #ifndef GL_OUTPUT_FOG_EXT
    03984 #define GL_OUTPUT_FOG_EXT                                             34749
    03985 #endif
    03986
    03987 #ifndef GL_SCALAR_EXT
    03988 #define GL_SCALAR_EXT                                                 34750
    03989 #endif
    03990
    03991 #ifndef GL_VECTOR_EXT
    03992 #define GL_VECTOR_EXT                                                 34751
    03993 #endif
    03994
    03995 #ifndef GL_MATRIX_EXT
    03996 #define GL_MATRIX_EXT                                                 34752
    03997 #endif
    03998
    03999 #ifndef GL_VARIANT_EXT
    04000 #define GL_VARIANT_EXT                                                34753
    04001 #endif
    04002
    04003 #ifndef GL_INVARIANT_EXT
    04004 #define GL_INVARIANT_EXT                                              34754
    04005 #endif
    04006
    04007 #ifndef GL_LOCAL_CONSTANT_EXT
    04008 #define GL_LOCAL_CONSTANT_EXT                                         34755
    04009 #endif
    04010
    04011 #ifndef GL_LOCAL_EXT
    04012 #define GL_LOCAL_EXT                                                  34756
    04013 #endif
    04014
    04015 #ifndef GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT
    04016 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT                         34757
    04017 #endif
    04018
    04019 #ifndef GL_MAX_VERTEX_SHADER_VARIANTS_EXT
    04020 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT                             34758
    04021 #endif
    04022
    04023 #ifndef GL_MAX_VERTEX_SHADER_INVARIANTS_EXT
    04024 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT                           34759
    04025 #endif
    04026
    04027 #ifndef GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
    04028 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                      34760
    04029 #endif
    04030
    04031 #ifndef GL_MAX_VERTEX_SHADER_LOCALS_EXT
    04032 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT                               34761
    04033 #endif
    04034
    04035 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT
    04036 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT               34762
    04037 #endif
    04038
    04039 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT
    04040 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT                   34763
    04041 #endif
    04042
    04043 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
    04044 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT            34764
    04045 #endif
    04046
    04047 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT
    04048 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT                 34765
    04049 #endif
    04050
    04051 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT
    04052 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT                     34766
    04053 #endif
    04054
    04055 #ifndef GL_VERTEX_SHADER_INSTRUCTIONS_EXT
    04056 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT                             34767
    04057 #endif
    04058
    04059 #ifndef GL_VERTEX_SHADER_VARIANTS_EXT
    04060 #define GL_VERTEX_SHADER_VARIANTS_EXT                                 34768
    04061 #endif
    04062
    04063 #ifndef GL_VERTEX_SHADER_INVARIANTS_EXT
    04064 #define GL_VERTEX_SHADER_INVARIANTS_EXT                               34769
    04065 #endif
    04066
    04067 #ifndef GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
    04068 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                          34770
    04069 #endif
    04070
    04071 #ifndef GL_VERTEX_SHADER_LOCALS_EXT
    04072 #define GL_VERTEX_SHADER_LOCALS_EXT                                   34771
    04073 #endif
    04074
    04075 #ifndef GL_VERTEX_SHADER_BINDING_EXT
    04076 #define GL_VERTEX_SHADER_BINDING_EXT                                  34689
    04077 #endif
    04078
    04079 #ifndef GL_VERTEX_SHADER_OPTIMIZED_EXT
    04080 #define GL_VERTEX_SHADER_OPTIMIZED_EXT                                34772
    04081 #endif
    04082
    04083 #ifndef GL_X_EXT
    04084 #define GL_X_EXT                                                      34773
    04085 #endif
    04086
    04087 #ifndef GL_Y_EXT
    04088 #define GL_Y_EXT                                                      34774
    04089 #endif
    04090
    04091 #ifndef GL_Z_EXT
    04092 #define GL_Z_EXT                                                      34775
    04093 #endif
    04094
    04095 #ifndef GL_W_EXT
    04096 #define GL_W_EXT                                                      34776
    04097 #endif
    04098
    04099 #ifndef GL_NEGATIVE_X_EXT
    04100 #define GL_NEGATIVE_X_EXT                                             34777
    04101 #endif
    04102
    04103 #ifndef GL_NEGATIVE_Y_EXT
    04104 #define GL_NEGATIVE_Y_EXT                                             34778
    04105 #endif
    04106
    04107 #ifndef GL_NEGATIVE_Z_EXT
    04108 #define GL_NEGATIVE_Z_EXT                                             34779
    04109 #endif
    04110
    04111 #ifndef GL_NEGATIVE_W_EXT
    04112 #define GL_NEGATIVE_W_EXT                                             34780
    04113 #endif
    04114
    04115 #ifndef GL_ZERO_EXT
    04116 #define GL_ZERO_EXT                                                   34781
    04117 #endif
    04118
    04119 #ifndef GL_ONE_EXT
    04120 #define GL_ONE_EXT                                                    34782
    04121 #endif
    04122
    04123 #ifndef GL_NEGATIVE_ONE_EXT
    04124 #define GL_NEGATIVE_ONE_EXT                                           34783
    04125 #endif
    04126
    04127 #ifndef GL_NORMALIZED_RANGE_EXT
    04128 #define GL_NORMALIZED_RANGE_EXT                                       34784
    04129 #endif
    04130
    04131 #ifndef GL_FULL_RANGE_EXT
    04132 #define GL_FULL_RANGE_EXT                                             34785
    04133 #endif
    04134
    04135 #ifndef GL_CURRENT_VERTEX_EXT
    04136 #define GL_CURRENT_VERTEX_EXT                                         34786
    04137 #endif
    04138
    04139 #ifndef GL_MVP_MATRIX_EXT
    04140 #define GL_MVP_MATRIX_EXT                                             34787
    04141 #endif
    04142
    04143
    04149 typedef GLvoid (csAPIENTRY* csGLBEGINVERTEXSHADEREXT) ();
    04150 typedef GLvoid (csAPIENTRY* csGLENDVERTEXSHADEREXT) ();
    04151 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXSHADEREXT) (GLuint id);
    04152 typedef GLuint (csAPIENTRY* csGLGENVERTEXSHADERSEXT) (GLuint range);
    04153 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXSHADEREXT) (GLuint id);
    04154 typedef GLvoid (csAPIENTRY* csGLSHADEROP1EXT) (GLenum op, GLuint res, GLuint arg1);
    04155 typedef GLvoid (csAPIENTRY* csGLSHADEROP2EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
    04156 typedef GLvoid (csAPIENTRY* csGLSHADEROP3EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
    04157 typedef GLvoid (csAPIENTRY* csGLSWIZZLEEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
    04158 typedef GLvoid (csAPIENTRY* csGLWRITEMASKEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
    04159 typedef GLvoid (csAPIENTRY* csGLINSERTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
    04160 typedef GLvoid (csAPIENTRY* csGLEXTRACTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
    04161 typedef GLuint (csAPIENTRY* csGLGENSYMBOLSEXT) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
    04162 typedef GLvoid (csAPIENTRY* csGLSETINVARIANTEXT) (GLuint id, GLenum type, GLvoid* addr);
    04163 typedef GLvoid (csAPIENTRY* csGLSETLOCALCONSTANTEXT) (GLuint id, GLenum type, GLvoid* addr);
    04164 typedef GLvoid (csAPIENTRY* csGLVARIANTBVEXT) (GLuint id, GLbyte* addr);
    04165 typedef GLvoid (csAPIENTRY* csGLVARIANTSVEXT) (GLuint id, GLshort* addr);
    04166 typedef GLvoid (csAPIENTRY* csGLVARIANTIVEXT) (GLuint id, GLint* addr);
    04167 typedef GLvoid (csAPIENTRY* csGLVARIANTFVEXT) (GLuint id, GLfloat* addr);
    04168 typedef GLvoid (csAPIENTRY* csGLVARIANTDVEXT) (GLuint id, GLdouble* addr);
    04169 typedef GLvoid (csAPIENTRY* csGLVARIANTUBVEXT) (GLuint id, GLubyte* addr);
    04170 typedef GLvoid (csAPIENTRY* csGLVARIANTUSVEXT) (GLuint id, GLushort* addr);
    04171 typedef GLvoid (csAPIENTRY* csGLVARIANTUIVEXT) (GLuint id, GLuint* addr);
    04172 typedef GLvoid (csAPIENTRY* csGLVARIANTPOINTEREXT) (GLuint id, GLenum type, GLuint stride, GLvoid* addr);
    04173 typedef GLvoid (csAPIENTRY* csGLENABLEVARIANTCLIENTSTATEEXT) (GLuint id);
    04174 typedef GLvoid (csAPIENTRY* csGLDISABLEVARIANTCLIENTSTATEEXT) (GLuint id);
    04175 typedef GLuint (csAPIENTRY* csGLBINDLIGHTPARAMETEREXT) (GLenum light, GLenum value);
    04176 typedef GLuint (csAPIENTRY* csGLBINDMATERIALPARAMETEREXT) (GLenum face, GLenum value);
    04177 typedef GLuint (csAPIENTRY* csGLBINDTEXGENPARAMETEREXT) (GLenum unit, GLenum coord, GLenum value);
    04178 typedef GLuint (csAPIENTRY* csGLBINDTEXTUREUNITPARAMETEREXT) (GLenum unit, GLenum value);
    04179 typedef GLuint (csAPIENTRY* csGLBINDPARAMETEREXT) (GLenum value);
    04180 typedef GLboolean (csAPIENTRY* csGLISVARIANTENABLEDEXT) (GLuint id, GLenum cap);
    04181 typedef GLvoid (csAPIENTRY* csGLGETVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
    04182 typedef GLvoid (csAPIENTRY* csGLGETVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
    04183 typedef GLvoid (csAPIENTRY* csGLGETVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
    04184 typedef GLvoid (csAPIENTRY* csGLGETVARIANTPOINTERVEXT) (GLuint id, GLenum value, GLvoid* data);
    04185 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
    04186 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
    04187 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
    04188 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
    04189 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
    04190 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
    04191
    04196 #ifndef GL_VERTEX_WEIGHTING_EXT
    04197 #define GL_VERTEX_WEIGHTING_EXT                                       34057
    04198 #endif
    04199
    04200 #ifndef GL_MODELVIEW0_EXT
    04201 #define GL_MODELVIEW0_EXT                                              5888
    04202 #endif
    04203
    04204 #ifndef GL_MODELVIEW1_EXT
    04205 #define GL_MODELVIEW1_EXT                                             34058
    04206 #endif
    04207
    04208 #ifndef GL_MODELVIEW0_MATRIX_EXT
    04209 #define GL_MODELVIEW0_MATRIX_EXT                                       2982
    04210 #endif
    04211
    04212 #ifndef GL_MODELVIEW1_MATRIX_EXT
    04213 #define GL_MODELVIEW1_MATRIX_EXT                                      34054
    04214 #endif
    04215
    04216 #ifndef GL_CURRENT_VERTEX_WEIGHT_EXT
    04217 #define GL_CURRENT_VERTEX_WEIGHT_EXT                                  34059
    04218 #endif
    04219
    04220 #ifndef GL_VERTEX_WEIGHT_ARRAY_EXT
    04221 #define GL_VERTEX_WEIGHT_ARRAY_EXT                                    34060
    04222 #endif
    04223
    04224 #ifndef GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT
    04225 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT                               34061
    04226 #endif
    04227
    04228 #ifndef GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT
    04229 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT                               34062
    04230 #endif
    04231
    04232 #ifndef GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT
    04233 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT                             34063
    04234 #endif
    04235
    04236 #ifndef GL_MODELVIEW0_STACK_DEPTH_EXT
    04237 #define GL_MODELVIEW0_STACK_DEPTH_EXT                                  2979
    04238 #endif
    04239
    04240 #ifndef GL_MODELVIEW1_STACK_DEPTH_EXT
    04241 #define GL_MODELVIEW1_STACK_DEPTH_EXT                                 34050
    04242 #endif
    04243
    04244 #ifndef GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT
    04245 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT                            34064
    04246 #endif
    04247
    04248
    04254 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFEXT) (GLfloat weight);
    04255 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFVEXT) (GLfloat* weight);
    04256 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
    04257
    04262 #ifndef GL_OCCLUSION_TEST_HP
    04263 #define GL_OCCLUSION_TEST_HP                                          33125
    04264 #endif
    04265
    04266 #ifndef GL_OCCLUSION_TEST_RESULT_HP
    04267 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
    04268 #endif
    04269
    04270
    04292 #ifndef GL_DEPTH_STENCIL_TO_RGBA_NV
    04293 #define GL_DEPTH_STENCIL_TO_RGBA_NV                                   34926
    04294 #endif
    04295
    04296 #ifndef GL_DEPTH_STENCIL_TO_BGRA_NV
    04297 #define GL_DEPTH_STENCIL_TO_BGRA_NV                                   34927
    04298 #endif
    04299
    04300
    04311 #ifndef GL_DEPTH_CLAMP_NV
    04312 #define GL_DEPTH_CLAMP_NV                                             34383
    04313 #endif
    04314
    04315
    04326 #ifndef GL_EVAL_2D_NV
    04327 #define GL_EVAL_2D_NV                                                 34496
    04328 #endif
    04329
    04330 #ifndef GL_EVAL_TRIANGULAR_2D_NV
    04331 #define GL_EVAL_TRIANGULAR_2D_NV                                      34497
    04332 #endif
    04333
    04334 #ifndef GL_MAP_TESSELLATION_NV
    04335 #define GL_MAP_TESSELLATION_NV                                        34498
    04336 #endif
    04337
    04338 #ifndef GL_MAP_ATTRIB_U_ORDER_NV
    04339 #define GL_MAP_ATTRIB_U_ORDER_NV                                      34499
    04340 #endif
    04341
    04342 #ifndef GL_MAP_ATTRIB_V_ORDER_NV
    04343 #define GL_MAP_ATTRIB_V_ORDER_NV                                      34500
    04344 #endif
    04345
    04346 #ifndef GL_EVAL_FRACTIONAL_TESSELLATION_NV
    04347 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV                            34501
    04348 #endif
    04349
    04350 #ifndef GL_EVAL_VERTEX_ATTRIB0_NV
    04351 #define GL_EVAL_VERTEX_ATTRIB0_NV                                     34502
    04352 #endif
    04353
    04354 #ifndef GL_EVAL_VERTEX_ATTRIB1_NV
    04355 #define GL_EVAL_VERTEX_ATTRIB1_NV                                     34503
    04356 #endif
    04357
    04358 #ifndef GL_EVAL_VERTEX_ATTRIB2_NV
    04359 #define GL_EVAL_VERTEX_ATTRIB2_NV                                     34504
    04360 #endif
    04361
    04362 #ifndef GL_EVAL_VERTEX_ATTRIB3_NV
    04363 #define GL_EVAL_VERTEX_ATTRIB3_NV                                     34505
    04364 #endif
    04365
    04366 #ifndef GL_EVAL_VERTEX_ATTRIB4_NV
    04367 #define GL_EVAL_VERTEX_ATTRIB4_NV                                     34506
    04368 #endif
    04369
    04370 #ifndef GL_EVAL_VERTEX_ATTRIB5_NV
    04371 #define GL_EVAL_VERTEX_ATTRIB5_NV                                     34507
    04372 #endif
    04373
    04374 #ifndef GL_EVAL_VERTEX_ATTRIB6_NV
    04375 #define GL_EVAL_VERTEX_ATTRIB6_NV                                     34508
    04376 #endif
    04377
    04378 #ifndef GL_EVAL_VERTEX_ATTRIB7_NV
    04379 #define GL_EVAL_VERTEX_ATTRIB7_NV                                     34509
    04380 #endif
    04381
    04382 #ifndef GL_EVAL_VERTEX_ATTRIB8_NV
    04383 #define GL_EVAL_VERTEX_ATTRIB8_NV                                     34510
    04384 #endif
    04385
    04386 #ifndef GL_EVAL_VERTEX_ATTRIB9_NV
    04387 #define GL_EVAL_VERTEX_ATTRIB9_NV                                     34511
    04388 #endif
    04389
    04390 #ifndef GL_EVAL_VERTEX_ATTRIB10_NV
    04391 #define GL_EVAL_VERTEX_ATTRIB10_NV                                    34512
    04392 #endif
    04393
    04394 #ifndef GL_EVAL_VERTEX_ATTRIB11_NV
    04395 #define GL_EVAL_VERTEX_ATTRIB11_NV                                    34513
    04396 #endif
    04397
    04398 #ifndef GL_EVAL_VERTEX_ATTRIB12_NV
    04399 #define GL_EVAL_VERTEX_ATTRIB12_NV                                    34514
    04400 #endif
    04401
    04402 #ifndef GL_EVAL_VERTEX_ATTRIB13_NV
    04403 #define GL_EVAL_VERTEX_ATTRIB13_NV                                    34515
    04404 #endif
    04405
    04406 #ifndef GL_EVAL_VERTEX_ATTRIB14_NV
    04407 #define GL_EVAL_VERTEX_ATTRIB14_NV                                    34516
    04408 #endif
    04409
    04410 #ifndef GL_EVAL_VERTEX_ATTRIB15_NV
    04411 #define GL_EVAL_VERTEX_ATTRIB15_NV                                    34517
    04412 #endif
    04413
    04414 #ifndef GL_MAX_MAP_TESSELLATION_NV
    04415 #define GL_MAX_MAP_TESSELLATION_NV                                    34518
    04416 #endif
    04417
    04418 #ifndef GL_MAX_RATIONAL_EVAL_ORDER_NV
    04419 #define GL_MAX_RATIONAL_EVAL_ORDER_NV                                 34519
    04420 #endif
    04421
    04422
    04428 typedef GLvoid (csAPIENTRY* csGLMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid* points);
    04429 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERIVNV) (GLenum target, GLenum pname, const GLint* params);
    04430 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERFVNV) (GLenum target, GLenum pname, const GLfloat* params);
    04431 typedef GLvoid (csAPIENTRY* csGLGETMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid* points);
    04432 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERIVNV) (GLenum target, GLenum pname, GLint* params);
    04433 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERFVNV) (GLenum target, GLenum pname, GLfloat* params);
    04434 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERIVNV) (GLenum target, GLuint index, GLenum pname, GLint* params);
    04435 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
    04436 typedef GLvoid (csAPIENTRY* csGLEVALMAPSNV) (GLenum target, GLenum mode);
    04437
    04442 #ifndef GL_ALL_COMPLETED_NV
    04443 #define GL_ALL_COMPLETED_NV                                           34034
    04444 #endif
    04445
    04446 #ifndef GL_FENCE_STATUS_NV
    04447 #define GL_FENCE_STATUS_NV                                            34035
    04448 #endif
    04449
    04450 #ifndef GL_FENCE_CONDITION_NV
    04451 #define GL_FENCE_CONDITION_NV                                         34036
    04452 #endif
    04453
    04454
    04460 typedef GLvoid (csAPIENTRY* csGLGENFENCESNV) (GLsizei n, GLuint* fences);
    04461 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESNV) (GLsizei n, const GLuint* fences);
    04462 typedef GLvoid (csAPIENTRY* csGLSETFENCENV) (GLuint fence, GLenum condition);
    04463 typedef GLboolean (csAPIENTRY* csGLTESTFENCENV) (GLuint fence);
    04464 typedef GLvoid (csAPIENTRY* csGLFINISHFENCENV) (GLuint fence);
    04465 typedef GLboolean (csAPIENTRY* csGLISFENCENV) (GLuint fence);
    04466 typedef GLvoid (csAPIENTRY* csGLGETFENCEIVNV) (GLuint fence, GLenum pname, GLint* params);
    04467
    04472 #ifndef GL_FOG_DISTANCE_MODE_NV
    04473 #define GL_FOG_DISTANCE_MODE_NV                                       34138
    04474 #endif
    04475
    04476 #ifndef GL_EYE_RADIAL_NV
    04477 #define GL_EYE_RADIAL_NV                                              34139
    04478 #endif
    04479
    04480 #ifndef GL_EYE_PLANE_ABSOLUTE_NV
    04481 #define GL_EYE_PLANE_ABSOLUTE_NV                                      34140
    04482 #endif
    04483
    04484
    04495 #ifndef GL_MAX_SHININESS_NV
    04496 #define GL_MAX_SHININESS_NV                                           34052
    04497 #endif
    04498
    04499 #ifndef GL_MAX_SPOT_EXPONENT_NV
    04500 #define GL_MAX_SPOT_EXPONENT_NV                                       34053
    04501 #endif
    04502
    04503
    04514 #ifndef GL_MULTISAMPLE_FILTER_HINT_NV
    04515 #define GL_MULTISAMPLE_FILTER_HINT_NV                                 34100
    04516 #endif
    04517
    04518
    04529 #ifndef GL_OCCLUSION_TEST_HP
    04530 #define GL_OCCLUSION_TEST_HP                                          33125
    04531 #endif
    04532
    04533 #ifndef GL_OCCLUSION_TEST_RESULT_HP
    04534 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
    04535 #endif
    04536
    04537 #ifndef GL_PIXEL_COUNTER_BITS_NV
    04538 #define GL_PIXEL_COUNTER_BITS_NV                                      34916
    04539 #endif
    04540
    04541 #ifndef GL_CURRENT_OCCLUSION_QUERY_ID_NV
    04542 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV                              34917
    04543 #endif
    04544
    04545 #ifndef GL_PIXEL_COUNT_NV
    04546 #define GL_PIXEL_COUNT_NV                                             34918
    04547 #endif
    04548
    04549 #ifndef GL_PIXEL_COUNT_AVAILABLE_NV
    04550 #define GL_PIXEL_COUNT_AVAILABLE_NV                                   34919
    04551 #endif
    04552
    04553
    04559 typedef GLvoid (csAPIENTRY* csGLGENOCCLUSIONQUERIESNV) (GLsizei n, GLuint* ids);
    04560 typedef GLvoid (csAPIENTRY* csGLDELETEOCCLUSIONQUERIESNV) (GLsizei n, const GLuint* ids);
    04561 typedef GLboolean (csAPIENTRY* csGLISOCCLUSIONQUERYNV) (GLuint id);
    04562 typedef GLvoid (csAPIENTRY* csGLBEGINOCCLUSIONQUERYNV) (GLuint id);
    04563 typedef GLvoid (csAPIENTRY* csGLENDOCCLUSIONQUERYNV) ();
    04564 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYIVNV) (GLuint id, GLenum pname, GLint* params);
    04565 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYUIVNV) (GLuint id, GLenum pname, GLuint* params);
    04566
    04571 #ifndef GL_DEPTH_STENCIL_NV
    04572 #define GL_DEPTH_STENCIL_NV                                           34041
    04573 #endif
    04574
    04575 #ifndef GL_UNSIGNED_INT_24_8_NV
    04576 #define GL_UNSIGNED_INT_24_8_NV                                       34042
    04577 #endif
    04578
    04579
    04590 #ifndef GL_POINT_SPRITE_NV
    04591 #define GL_POINT_SPRITE_NV                                            34913
    04592 #endif
    04593
    04594 #ifndef GL_COORD_REPLACE_NV
    04595 #define GL_COORD_REPLACE_NV                                           34914
    04596 #endif
    04597
    04598 #ifndef GL_POINT_SPRITE_R_MODE_NV
    04599 #define GL_POINT_SPRITE_R_MODE_NV                                     34915
    04600 #endif
    04601
    04602
    04608 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERINV) (GLenum pname, GLint param);
    04609 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERIVNV) (GLenum pname, const GLint* params);
    04610
    04615 #ifndef GL_REGISTER_COMBINERS_NV
    04616 #define GL_REGISTER_COMBINERS_NV                                      34082
    04617 #endif
    04618
    04619 #ifndef GL_COMBINER0_NV
    04620 #define GL_COMBINER0_NV                                               34128
    04621 #endif
    04622
    04623 #ifndef GL_COMBINER1_NV
    04624 #define GL_COMBINER1_NV                                               34129
    04625 #endif
    04626
    04627 #ifndef GL_COMBINER2_NV
    04628 #define GL_COMBINER2_NV                                               34130
    04629 #endif
    04630
    04631 #ifndef GL_COMBINER3_NV
    04632 #define GL_COMBINER3_NV                                               34131
    04633 #endif
    04634
    04635 #ifndef GL_COMBINER4_NV
    04636 #define GL_COMBINER4_NV                                               34132
    04637 #endif
    04638
    04639 #ifndef GL_COMBINER5_NV
    04640 #define GL_COMBINER5_NV                                               34133
    04641 #endif
    04642
    04643 #ifndef GL_COMBINER6_NV
    04644 #define GL_COMBINER6_NV                                               34134
    04645 #endif
    04646
    04647 #ifndef GL_COMBINER7_NV
    04648 #define GL_COMBINER7_NV                                               34135
    04649 #endif
    04650
    04651 #ifndef GL_VARIABLE_A_NV
    04652 #define GL_VARIABLE_A_NV                                              34083
    04653 #endif
    04654
    04655 #ifndef GL_VARIABLE_B_NV
    04656 #define GL_VARIABLE_B_NV                                              34084
    04657 #endif
    04658
    04659 #ifndef GL_VARIABLE_C_NV
    04660 #define GL_VARIABLE_C_NV                                              34085
    04661 #endif
    04662
    04663 #ifndef GL_VARIABLE_D_NV
    04664 #define GL_VARIABLE_D_NV                                              34086
    04665 #endif
    04666
    04667 #ifndef GL_VARIABLE_E_NV
    04668 #define GL_VARIABLE_E_NV                                              34087
    04669 #endif
    04670
    04671 #ifndef GL_VARIABLE_F_NV
    04672 #define GL_VARIABLE_F_NV                                              34088
    04673 #endif
    04674
    04675 #ifndef GL_VARIABLE_G_NV
    04676 #define GL_VARIABLE_G_NV                                              34089
    04677 #endif
    04678
    04679 #ifndef GL_CONSTANT_COLOR0_NV
    04680 #define GL_CONSTANT_COLOR0_NV                                         34090
    04681 #endif
    04682
    04683 #ifndef GL_CONSTANT_COLOR1_NV
    04684 #define GL_CONSTANT_COLOR1_NV                                         34091
    04685 #endif
    04686
    04687 #ifndef GL_PRIMARY_COLOR_NV
    04688 #define GL_PRIMARY_COLOR_NV                                           34092
    04689 #endif
    04690
    04691 #ifndef GL_SECONDARY_COLOR_NV
    04692 #define GL_SECONDARY_COLOR_NV                                         34093
    04693 #endif
    04694
    04695 #ifndef GL_SPARE0_NV
    04696 #define GL_SPARE0_NV                                                  34094
    04697 #endif
    04698
    04699 #ifndef GL_SPARE1_NV
    04700 #define GL_SPARE1_NV                                                  34095
    04701 #endif
    04702
    04703 #ifndef GL_UNSIGNED_IDENTITY_NV
    04704 #define GL_UNSIGNED_IDENTITY_NV                                       34102
    04705 #endif
    04706
    04707 #ifndef GL_UNSIGNED_INVERT_NV
    04708 #define GL_UNSIGNED_INVERT_NV                                         34103
    04709 #endif
    04710
    04711 #ifndef GL_EXPAND_NORMAL_NV
    04712 #define GL_EXPAND_NORMAL_NV                                           34104
    04713 #endif
    04714
    04715 #ifndef GL_EXPAND_NEGATE_NV
    04716 #define GL_EXPAND_NEGATE_NV                                           34105
    04717 #endif
    04718
    04719 #ifndef GL_HALF_BIAS_NORMAL_NV
    04720 #define GL_HALF_BIAS_NORMAL_NV                                        34106
    04721 #endif
    04722
    04723 #ifndef GL_HALF_BIAS_NEGATE_NV
    04724 #define GL_HALF_BIAS_NEGATE_NV                                        34107
    04725 #endif
    04726
    04727 #ifndef GL_SIGNED_IDENTITY_NV
    04728 #define GL_SIGNED_IDENTITY_NV                                         34108
    04729 #endif
    04730
    04731 #ifndef GL_SIGNED_NEGATE_NV
    04732 #define GL_SIGNED_NEGATE_NV                                           34109
    04733 #endif
    04734
    04735 #ifndef GL_E_TIMES_F_NV
    04736 #define GL_E_TIMES_F_NV                                               34097
    04737 #endif
    04738
    04739 #ifndef GL_SPARE0_PLUS_SECONDARY_COLOR_NV
    04740 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV                             34098
    04741 #endif
    04742
    04743 #ifndef GL_SCALE_BY_TWO_NV
    04744 #define GL_SCALE_BY_TWO_NV                                            34110
    04745 #endif
    04746
    04747 #ifndef GL_SCALE_BY_FOUR_NV
    04748 #define GL_SCALE_BY_FOUR_NV                                           34111
    04749 #endif
    04750
    04751 #ifndef GL_SCALE_BY_ONE_HALF_NV
    04752 #define GL_SCALE_BY_ONE_HALF_NV                                       34112
    04753 #endif
    04754
    04755 #ifndef GL_BIAS_BY_NEGATIVE_ONE_HALF_NV
    04756 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV                               34113
    04757 #endif
    04758
    04759 #ifndef GL_DISCARD_NV
    04760 #define GL_DISCARD_NV                                                 34096
    04761 #endif
    04762
    04763 #ifndef GL_COMBINER_INPUT_NV
    04764 #define GL_COMBINER_INPUT_NV                                          34114
    04765 #endif
    04766
    04767 #ifndef GL_COMBINER_MAPPING_NV
    04768 #define GL_COMBINER_MAPPING_NV                                        34115
    04769 #endif
    04770
    04771 #ifndef GL_COMBINER_COMPONENT_USAGE_NV
    04772 #define GL_COMBINER_COMPONENT_USAGE_NV                                34116
    04773 #endif
    04774
    04775 #ifndef GL_COMBINER_AB_DOT_PRODUCT_NV
    04776 #define GL_COMBINER_AB_DOT_PRODUCT_NV                                 34117
    04777 #endif
    04778
    04779 #ifndef GL_COMBINER_CD_DOT_PRODUCT_NV
    04780 #define GL_COMBINER_CD_DOT_PRODUCT_NV                                 34118
    04781 #endif
    04782
    04783 #ifndef GL_COMBINER_MUX_SUM_NV
    04784 #define GL_COMBINER_MUX_SUM_NV                                        34119
    04785 #endif
    04786
    04787 #ifndef GL_COMBINER_SCALE_NV
    04788 #define GL_COMBINER_SCALE_NV                                          34120
    04789 #endif
    04790
    04791 #ifndef GL_COMBINER_BIAS_NV
    04792 #define GL_COMBINER_BIAS_NV                                           34121
    04793 #endif
    04794
    04795 #ifndef GL_COMBINER_AB_OUTPUT_NV
    04796 #define GL_COMBINER_AB_OUTPUT_NV                                      34122
    04797 #endif
    04798
    04799 #ifndef GL_COMBINER_CD_OUTPUT_NV
    04800 #define GL_COMBINER_CD_OUTPUT_NV                                      34123
    04801 #endif
    04802
    04803 #ifndef GL_COMBINER_SUM_OUTPUT_NV
    04804 #define GL_COMBINER_SUM_OUTPUT_NV                                     34124
    04805 #endif
    04806
    04807 #ifndef GL_NUM_GENERAL_COMBINERS_NV
    04808 #define GL_NUM_GENERAL_COMBINERS_NV                                   34126
    04809 #endif
    04810
    04811 #ifndef GL_COLOR_SUM_CLAMP_NV
    04812 #define GL_COLOR_SUM_CLAMP_NV                                         34127
    04813 #endif
    04814
    04815 #ifndef GL_MAX_GENERAL_COMBINERS_NV
    04816 #define GL_MAX_GENERAL_COMBINERS_NV                                   34125
    04817 #endif
    04818
    04819
    04825 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFVNV) (GLenum pname, const GLfloat* params);
    04826 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERIVNV) (GLenum pname, const GLint* params);
    04827 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFNV) (GLenum pname, GLfloat param);
    04828 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERINV) (GLenum pname, GLint param);
    04829 typedef GLvoid (csAPIENTRY* csGLCOMBINERINPUTNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
    04830 typedef GLvoid (csAPIENTRY* csGLCOMBINEROUTPUTNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
    04831 typedef GLvoid (csAPIENTRY* csGLFINALCOMBINERINPUTNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
    04832 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params);
    04833 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params);
    04834 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params);
    04835 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum pname, GLint* params);
    04836 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERFVNV) (GLenum variable, GLenum pname, GLfloat* params);
    04837 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERIVNV) (GLenum variable, GLenum pname, GLint* params);
    04838
    04843 #ifndef GL_PER_STAGE_CONSTANTS_NV
    04844 #define GL_PER_STAGE_CONSTANTS_NV                                     34101
    04845 #endif
    04846
    04847
    04853 typedef GLvoid (csAPIENTRY* csGLCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, const GLfloat* params);
    04854 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, GLfloat* params);
    04855
    04860 #ifndef GL_EMBOSS_MAP_NV
    04861 #define GL_EMBOSS_MAP_NV                                              34143
    04862 #endif
    04863
    04864 #ifndef GL_EMBOSS_LIGHT_NV
    04865 #define GL_EMBOSS_LIGHT_NV                                            34141
    04866 #endif
    04867
    04868 #ifndef GL_EMBOSS_CONSTANT_NV
    04869 #define GL_EMBOSS_CONSTANT_NV                                         34142
    04870 #endif
    04871
    04872
    04883 #ifndef GL_NORMAL_MAP_NV
    04884 #define GL_NORMAL_MAP_NV                                              34065
    04885 #endif
    04886
    04887 #ifndef GL_REFLECTION_MAP_NV
    04888 #define GL_REFLECTION_MAP_NV                                          34066
    04889 #endif
    04890
    04891
    04902 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
    04903 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
    04904 #endif
    04905
    04906 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
    04907 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
    04908 #endif
    04909
    04910 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
    04911 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
    04912 #endif
    04913
    04914 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
    04915 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
    04916 #endif
    04917
    04918
    04929 #ifndef GL_COMBINE4_NV
    04930 #define GL_COMBINE4_NV                                                34051
    04931 #endif
    04932
    04933 #ifndef GL_SOURCE3_RGB_NV
    04934 #define GL_SOURCE3_RGB_NV                                             34179
    04935 #endif
    04936
    04937 #ifndef GL_SOURCE3_ALPHA_NV
    04938 #define GL_SOURCE3_ALPHA_NV                                           34187
    04939 #endif
    04940
    04941 #ifndef GL_OPERAND3_RGB_NV
    04942 #define GL_OPERAND3_RGB_NV                                            34195
    04943 #endif
    04944
    04945 #ifndef GL_OPERAND3_ALPHA_NV
    04946 #define GL_OPERAND3_ALPHA_NV                                          34203
    04947 #endif
    04948
    04949
    04960 #ifndef GL_TEXTURE_RECTANGLE_NV
    04961 #define GL_TEXTURE_RECTANGLE_NV                                       34037
    04962 #endif
    04963
    04964 #ifndef GL_TEXTURE_BINDING_RECTANGLE_NV
    04965 #define GL_TEXTURE_BINDING_RECTANGLE_NV                               34038
    04966 #endif
    04967
    04968 #ifndef GL_PROXY_TEXTURE_RECTANGLE_NV
    04969 #define GL_PROXY_TEXTURE_RECTANGLE_NV                                 34039
    04970 #endif
    04971
    04972 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV
    04973 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV                              34040
    04974 #endif
    04975
    04976
    04987 #ifndef GL_TEXTURE_SHADER_NV
    04988 #define GL_TEXTURE_SHADER_NV                                          34526
    04989 #endif
    04990
    04991 #ifndef GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV
    04992 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV                       34521
    04993 #endif
    04994
    04995 #ifndef GL_SHADER_OPERATION_NV
    04996 #define GL_SHADER_OPERATION_NV                                        34527
    04997 #endif
    04998
    04999 #ifndef GL_CULL_MODES_NV
    05000 #define GL_CULL_MODES_NV                                              34528
    05001 #endif
    05002
    05003 #ifndef GL_OFFSET_TEXTURE_MATRIX_NV
    05004 #define GL_OFFSET_TEXTURE_MATRIX_NV                                   34529
    05005 #endif
    05006
    05007 #ifndef GL_OFFSET_TEXTURE_SCALE_NV
    05008 #define GL_OFFSET_TEXTURE_SCALE_NV                                    34530
    05009 #endif
    05010
    05011 #ifndef GL_OFFSET_TEXTURE_BIAS_NV
    05012 #define GL_OFFSET_TEXTURE_BIAS_NV                                     34531
    05013 #endif
    05014
    05015 #ifndef GL_PREVIOUS_TEXTURE_INPUT_NV
    05016 #define GL_PREVIOUS_TEXTURE_INPUT_NV                                  34532
    05017 #endif
    05018
    05019 #ifndef GL_CONST_EYE_NV
    05020 #define GL_CONST_EYE_NV                                               34533
    05021 #endif
    05022
    05023 #ifndef GL_SHADER_CONSISTENT_NV
    05024 #define GL_SHADER_CONSISTENT_NV                                       34525
    05025 #endif
    05026
    05027 #ifndef GL_PASS_THROUGH_NV
    05028 #define GL_PASS_THROUGH_NV                                            34534
    05029 #endif
    05030
    05031 #ifndef GL_CULL_FRAGMENT_NV
    05032 #define GL_CULL_FRAGMENT_NV                                           34535
    05033 #endif
    05034
    05035 #ifndef GL_OFFSET_TEXTURE_2D_NV
    05036 #define GL_OFFSET_TEXTURE_2D_NV                                       34536
    05037 #endif
    05038
    05039 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_NV
    05040 #define GL_OFFSET_TEXTURE_RECTANGLE_NV                                34380
    05041 #endif
    05042
    05043 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV
    05044 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV                          34381
    05045 #endif
    05046
    05047 #ifndef GL_DEPENDENT_AR_TEXTURE_2D_NV
    05048 #define GL_DEPENDENT_AR_TEXTURE_2D_NV                                 34537
    05049 #endif
    05050
    05051 #ifndef GL_DEPENDENT_GB_TEXTURE_2D_NV
    05052 #define GL_DEPENDENT_GB_TEXTURE_2D_NV                                 34538
    05053 #endif
    05054
    05055 #ifndef GL_DOT_PRODUCT_NV
    05056 #define GL_DOT_PRODUCT_NV                                             34540
    05057 #endif
    05058
    05059 #ifndef GL_DOT_PRODUCT_DEPTH_REPLACE_NV
    05060 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV                               34541
    05061 #endif
    05062
    05063 #ifndef GL_DOT_PRODUCT_TEXTURE_2D_NV
    05064 #define GL_DOT_PRODUCT_TEXTURE_2D_NV                                  34542
    05065 #endif
    05066
    05067 #ifndef GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV
    05068 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV                           34382
    05069 #endif
    05070
    05071 #ifndef GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV
    05072 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV                            34544
    05073 #endif
    05074
    05075 #ifndef GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV
    05076 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV                            34545
    05077 #endif
    05078
    05079 #ifndef GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV
    05080 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV                            34546
    05081 #endif
    05082
    05083 #ifndef GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV
    05084 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV                  34547
    05085 #endif
    05086
    05087 #ifndef GL_HILO_NV
    05088 #define GL_HILO_NV                                                    34548
    05089 #endif
    05090
    05091 #ifndef GL_DSDT_NV
    05092 #define GL_DSDT_NV                                                    34549
    05093 #endif
    05094
    05095 #ifndef GL_DSDT_MAG_NV
    05096 #define GL_DSDT_MAG_NV                                                34550
    05097 #endif
    05098
    05099 #ifndef GL_DSDT_MAG_VIB_NV
    05100 #define GL_DSDT_MAG_VIB_NV                                            34551
    05101 #endif
    05102
    05103 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
    05104 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
    05105 #endif
    05106
    05107 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
    05108 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
    05109 #endif
    05110
    05111 #ifndef GL_SIGNED_RGBA_NV
    05112 #define GL_SIGNED_RGBA_NV                                             34555
    05113 #endif
    05114
    05115 #ifndef GL_SIGNED_RGBA8_NV
    05116 #define GL_SIGNED_RGBA8_NV                                            34556
    05117 #endif
    05118
    05119 #ifndef GL_SIGNED_RGB_NV
    05120 #define GL_SIGNED_RGB_NV                                              34558
    05121 #endif
    05122
    05123 #ifndef GL_SIGNED_RGB8_NV
    05124 #define GL_SIGNED_RGB8_NV                                             34559
    05125 #endif
    05126
    05127 #ifndef GL_SIGNED_LUMINANCE_NV
    05128 #define GL_SIGNED_LUMINANCE_NV                                        34561
    05129 #endif
    05130
    05131 #ifndef GL_SIGNED_LUMINANCE8_NV
    05132 #define GL_SIGNED_LUMINANCE8_NV                                       34562
    05133 #endif
    05134
    05135 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
    05136 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
    05137 #endif
    05138
    05139 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
    05140 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
    05141 #endif
    05142
    05143 #ifndef GL_SIGNED_ALPHA_NV
    05144 #define GL_SIGNED_ALPHA_NV                                            34565
    05145 #endif
    05146
    05147 #ifndef GL_SIGNED_ALPHA8_NV
    05148 #define GL_SIGNED_ALPHA8_NV                                           34566
    05149 #endif
    05150
    05151 #ifndef GL_SIGNED_INTENSITY_NV
    05152 #define GL_SIGNED_INTENSITY_NV                                        34567
    05153 #endif
    05154
    05155 #ifndef GL_SIGNED_INTENSITY8_NV
    05156 #define GL_SIGNED_INTENSITY8_NV                                       34568
    05157 #endif
    05158
    05159 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
    05160 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
    05161 #endif
    05162
    05163 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
    05164 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
    05165 #endif
    05166
    05167 #ifndef GL_HILO16_NV
    05168 #define GL_HILO16_NV                                                  34552
    05169 #endif
    05170
    05171 #ifndef GL_SIGNED_HILO_NV
    05172 #define GL_SIGNED_HILO_NV                                             34553
    05173 #endif
    05174
    05175 #ifndef GL_SIGNED_HILO16_NV
    05176 #define GL_SIGNED_HILO16_NV                                           34554
    05177 #endif
    05178
    05179 #ifndef GL_DSDT8_NV
    05180 #define GL_DSDT8_NV                                                   34569
    05181 #endif
    05182
    05183 #ifndef GL_DSDT8_MAG8_NV
    05184 #define GL_DSDT8_MAG8_NV                                              34570
    05185 #endif
    05186
    05187 #ifndef GL_DSDT_MAG_INTENSITY_NV
    05188 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
    05189 #endif
    05190
    05191 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
    05192 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
    05193 #endif
    05194
    05195 #ifndef GL_HI_SCALE_NV
    05196 #define GL_HI_SCALE_NV                                                34574
    05197 #endif
    05198
    05199 #ifndef GL_LO_SCALE_NV
    05200 #define GL_LO_SCALE_NV                                                34575
    05201 #endif
    05202
    05203 #ifndef GL_DS_SCALE_NV
    05204 #define GL_DS_SCALE_NV                                                34576
    05205 #endif
    05206
    05207 #ifndef GL_DT_SCALE_NV
    05208 #define GL_DT_SCALE_NV                                                34577
    05209 #endif
    05210
    05211 #ifndef GL_MAGNITUDE_SCALE_NV
    05212 #define GL_MAGNITUDE_SCALE_NV                                         34578
    05213 #endif
    05214
    05215 #ifndef GL_VIBRANCE_SCALE_NV
    05216 #define GL_VIBRANCE_SCALE_NV                                          34579
    05217 #endif
    05218
    05219 #ifndef GL_HI_BIAS_NV
    05220 #define GL_HI_BIAS_NV                                                 34580
    05221 #endif
    05222
    05223 #ifndef GL_LO_BIAS_NV
    05224 #define GL_LO_BIAS_NV                                                 34581
    05225 #endif
    05226
    05227 #ifndef GL_DS_BIAS_NV
    05228 #define GL_DS_BIAS_NV                                                 34582
    05229 #endif
    05230
    05231 #ifndef GL_DT_BIAS_NV
    05232 #define GL_DT_BIAS_NV                                                 34583
    05233 #endif
    05234
    05235 #ifndef GL_MAGNITUDE_BIAS_NV
    05236 #define GL_MAGNITUDE_BIAS_NV                                          34584
    05237 #endif
    05238
    05239 #ifndef GL_VIBRANCE_BIAS_NV
    05240 #define GL_VIBRANCE_BIAS_NV                                           34585
    05241 #endif
    05242
    05243 #ifndef GL_TEXTURE_BORDER_VALUES_NV
    05244 #define GL_TEXTURE_BORDER_VALUES_NV                                   34586
    05245 #endif
    05246
    05247 #ifndef GL_TEXTURE_HI_SIZE_NV
    05248 #define GL_TEXTURE_HI_SIZE_NV                                         34587
    05249 #endif
    05250
    05251 #ifndef GL_TEXTURE_LO_SIZE_NV
    05252 #define GL_TEXTURE_LO_SIZE_NV                                         34588
    05253 #endif
    05254
    05255 #ifndef GL_TEXTURE_DS_SIZE_NV
    05256 #define GL_TEXTURE_DS_SIZE_NV                                         34589
    05257 #endif
    05258
    05259 #ifndef GL_TEXTURE_DT_SIZE_NV
    05260 #define GL_TEXTURE_DT_SIZE_NV                                         34590
    05261 #endif
    05262
    05263 #ifndef GL_TEXTURE_MAG_SIZE_NV
    05264 #define GL_TEXTURE_MAG_SIZE_NV                                        34591
    05265 #endif
    05266
    05267
    05278 #ifndef GL_DOT_PRODUCT_TEXTURE_3D_NV
    05279 #define GL_DOT_PRODUCT_TEXTURE_3D_NV                                  34543
    05280 #endif
    05281
    05282 #ifndef GL_HILO_NV
    05283 #define GL_HILO_NV                                                    34548
    05284 #endif
    05285
    05286 #ifndef GL_DSDT_NV
    05287 #define GL_DSDT_NV                                                    34549
    05288 #endif
    05289
    05290 #ifndef GL_DSDT_MAG_NV
    05291 #define GL_DSDT_MAG_NV                                                34550
    05292 #endif
    05293
    05294 #ifndef GL_DSDT_MAG_VIB_NV
    05295 #define GL_DSDT_MAG_VIB_NV                                            34551
    05296 #endif
    05297
    05298 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
    05299 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
    05300 #endif
    05301
    05302 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
    05303 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
    05304 #endif
    05305
    05306 #ifndef GL_SIGNED_RGBA_NV
    05307 #define GL_SIGNED_RGBA_NV                                             34555
    05308 #endif
    05309
    05310 #ifndef GL_SIGNED_RGBA8_NV
    05311 #define GL_SIGNED_RGBA8_NV                                            34556
    05312 #endif
    05313
    05314 #ifndef GL_SIGNED_RGB_NV
    05315 #define GL_SIGNED_RGB_NV                                              34558
    05316 #endif
    05317
    05318 #ifndef GL_SIGNED_RGB8_NV
    05319 #define GL_SIGNED_RGB8_NV                                             34559
    05320 #endif
    05321
    05322 #ifndef GL_SIGNED_LUMINANCE_NV
    05323 #define GL_SIGNED_LUMINANCE_NV                                        34561
    05324 #endif
    05325
    05326 #ifndef GL_SIGNED_LUMINANCE8_NV
    05327 #define GL_SIGNED_LUMINANCE8_NV                                       34562
    05328 #endif
    05329
    05330 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
    05331 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
    05332 #endif
    05333
    05334 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
    05335 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
    05336 #endif
    05337
    05338 #ifndef GL_SIGNED_ALPHA_NV
    05339 #define GL_SIGNED_ALPHA_NV                                            34565
    05340 #endif
    05341
    05342 #ifndef GL_SIGNED_ALPHA8_NV
    05343 #define GL_SIGNED_ALPHA8_NV                                           34566
    05344 #endif
    05345
    05346 #ifndef GL_SIGNED_INTENSITY_NV
    05347 #define GL_SIGNED_INTENSITY_NV                                        34567
    05348 #endif
    05349
    05350 #ifndef GL_SIGNED_INTENSITY8_NV
    05351 #define GL_SIGNED_INTENSITY8_NV                                       34568
    05352 #endif
    05353
    05354 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
    05355 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
    05356 #endif
    05357
    05358 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
    05359 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
    05360 #endif
    05361
    05362 #ifndef GL_HILO16_NV
    05363 #define GL_HILO16_NV                                                  34552
    05364 #endif
    05365
    05366 #ifndef GL_SIGNED_HILO_NV
    05367 #define GL_SIGNED_HILO_NV                                             34553
    05368 #endif
    05369
    05370 #ifndef GL_SIGNED_HILO16_NV
    05371 #define GL_SIGNED_HILO16_NV                                           34554
    05372 #endif
    05373
    05374 #ifndef GL_DSDT8_NV
    05375 #define GL_DSDT8_NV                                                   34569
    05376 #endif
    05377
    05378 #ifndef GL_DSDT8_MAG8_NV
    05379 #define GL_DSDT8_MAG8_NV                                              34570
    05380 #endif
    05381
    05382 #ifndef GL_DSDT_MAG_INTENSITY_NV
    05383 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
    05384 #endif
    05385
    05386 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
    05387 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
    05388 #endif
    05389
    05390
    05401 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV
    05402 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV                            34896
    05403 #endif
    05404
    05405 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV
    05406 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV                      34897
    05407 #endif
    05408
    05409 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV
    05410 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV                     34898
    05411 #endif
    05412
    05413 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV
    05414 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV               34899
    05415 #endif
    05416
    05417 #ifndef GL_OFFSET_HILO_TEXTURE_2D_NV
    05418 #define GL_OFFSET_HILO_TEXTURE_2D_NV                                  34900
    05419 #endif
    05420
    05421 #ifndef GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV
    05422 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV                           34901
    05423 #endif
    05424
    05425 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV
    05426 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV                       34902
    05427 #endif
    05428
    05429 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV
    05430 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV                34903
    05431 #endif
    05432
    05433 #ifndef GL_DEPENDENT_HILO_TEXTURE_2D_NV
    05434 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV                               34904
    05435 #endif
    05436
    05437 #ifndef GL_DEPENDENT_RGB_TEXTURE_3D_NV
    05438 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV                                34905
    05439 #endif
    05440
    05441 #ifndef GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV
    05442 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV                          34906
    05443 #endif
    05444
    05445 #ifndef GL_DOT_PRODUCT_PASS_THROUGH_NV
    05446 #define GL_DOT_PRODUCT_PASS_THROUGH_NV                                34907
    05447 #endif
    05448
    05449 #ifndef GL_DOT_PRODUCT_TEXTURE_1D_NV
    05450 #define GL_DOT_PRODUCT_TEXTURE_1D_NV                                  34908
    05451 #endif
    05452
    05453 #ifndef GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV
    05454 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV                        34909
    05455 #endif
    05456
    05457 #ifndef GL_HILO8_NV
    05458 #define GL_HILO8_NV                                                   34910
    05459 #endif
    05460
    05461 #ifndef GL_SIGNED_HILO8_NV
    05462 #define GL_SIGNED_HILO8_NV                                            34911
    05463 #endif
    05464
    05465 #ifndef GL_FORCE_BLUE_TO_ONE_NV
    05466 #define GL_FORCE_BLUE_TO_ONE_NV                                       34912
    05467 #endif
    05468
    05469
    05480 #ifndef GL_VERTEX_ARRAY_RANGE_NV
    05481 #define GL_VERTEX_ARRAY_RANGE_NV                                      34077
    05482 #endif
    05483
    05484 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_NV
    05485 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV                               34078
    05486 #endif
    05487
    05488 #ifndef GL_VERTEX_ARRAY_RANGE_VALID_NV
    05489 #define GL_VERTEX_ARRAY_RANGE_VALID_NV                                34079
    05490 #endif
    05491
    05492 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV
    05493 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV                          34080
    05494 #endif
    05495
    05496 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_NV
    05497 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV                              34081
    05498 #endif
    05499
    05500
    05506 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGENV) (GLsizei length, GLvoid* pointer);
    05507 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGENV) ();
    05508 typedef GLvoid* (csAPIENTRY* csWGLALLOCATEMEMORYNV) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
    05509 typedef GLvoid (csAPIENTRY* csWGLFREEMEMORYNV) (GLvoid* pointer);
    05510
    05515 #ifndef GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV
    05516 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV                        34099
    05517 #endif
    05518
    05519
    05530 #ifndef GL_VERTEX_PROGRAM_NV
    05531 #define GL_VERTEX_PROGRAM_NV                                          34336
    05532 #endif
    05533
    05534 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_NV
    05535 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV                               34370
    05536 #endif
    05537
    05538 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_NV
    05539 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV                                 34371
    05540 #endif
    05541
    05542 #ifndef GL_VERTEX_STATE_PROGRAM_NV
    05543 #define GL_VERTEX_STATE_PROGRAM_NV                                    34337
    05544 #endif
    05545
    05546 #ifndef GL_ATTRIB_ARRAY_SIZE_NV
    05547 #define GL_ATTRIB_ARRAY_SIZE_NV                                       34339
    05548 #endif
    05549
    05550 #ifndef GL_ATTRIB_ARRAY_STRIDE_NV
    05551 #define GL_ATTRIB_ARRAY_STRIDE_NV                                     34340
    05552 #endif
    05553
    05554 #ifndef GL_ATTRIB_ARRAY_TYPE_NV
    05555 #define GL_ATTRIB_ARRAY_TYPE_NV                                       34341
    05556 #endif
    05557
    05558 #ifndef GL_CURRENT_ATTRIB_NV
    05559 #define GL_CURRENT_ATTRIB_NV                                          34342
    05560 #endif
    05561
    05562 #ifndef GL_PROGRAM_PARAMETER_NV
    05563 #define GL_PROGRAM_PARAMETER_NV                                       34372
    05564 #endif
    05565
    05566 #ifndef GL_ATTRIB_ARRAY_POINTER_NV
    05567 #define GL_ATTRIB_ARRAY_POINTER_NV                                    34373
    05568 #endif
    05569
    05570 #ifndef GL_PROGRAM_TARGET_NV
    05571 #define GL_PROGRAM_TARGET_NV                                          34374
    05572 #endif
    05573
    05574 #ifndef GL_PROGRAM_LENGTH_NV
    05575 #define GL_PROGRAM_LENGTH_NV                                          34343
    05576 #endif
    05577
    05578 #ifndef GL_PROGRAM_RESIDENT_NV
    05579 #define GL_PROGRAM_RESIDENT_NV                                        34375
    05580 #endif
    05581
    05582 #ifndef GL_PROGRAM_STRING_NV
    05583 #define GL_PROGRAM_STRING_NV                                          34344
    05584 #endif
    05585
    05586 #ifndef GL_TRACK_MATRIX_NV
    05587 #define GL_TRACK_MATRIX_NV                                            34376
    05588 #endif
    05589
    05590 #ifndef GL_TRACK_MATRIX_TRANSFORM_NV
    05591 #define GL_TRACK_MATRIX_TRANSFORM_NV                                  34377
    05592 #endif
    05593
    05594 #ifndef GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV
    05595 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV                            34350
    05596 #endif
    05597
    05598 #ifndef GL_MAX_TRACK_MATRICES_NV
    05599 #define GL_MAX_TRACK_MATRICES_NV                                      34351
    05600 #endif
    05601
    05602 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_NV
    05603 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV                              34368
    05604 #endif
    05605
    05606 #ifndef GL_CURRENT_MATRIX_NV
    05607 #define GL_CURRENT_MATRIX_NV                                          34369
    05608 #endif
    05609
    05610 #ifndef GL_VERTEX_PROGRAM_BINDING_NV
    05611 #define GL_VERTEX_PROGRAM_BINDING_NV                                  34378
    05612 #endif
    05613
    05614 #ifndef GL_PROGRAM_ERROR_POSITION_NV
    05615 #define GL_PROGRAM_ERROR_POSITION_NV                                  34379
    05616 #endif
    05617
    05618 #ifndef GL_MODELVIEW_PROJECTION_NV
    05619 #define GL_MODELVIEW_PROJECTION_NV                                    34345
    05620 #endif
    05621
    05622 #ifndef GL_MATRIX0_NV
    05623 #define GL_MATRIX0_NV                                                 34352
    05624 #endif
    05625
    05626 #ifndef GL_MATRIX1_NV
    05627 #define GL_MATRIX1_NV                                                 34353
    05628 #endif
    05629
    05630 #ifndef GL_MATRIX2_NV
    05631 #define GL_MATRIX2_NV                                                 34354
    05632 #endif
    05633
    05634 #ifndef GL_MATRIX3_NV
    05635 #define GL_MATRIX3_NV                                                 34355
    05636 #endif
    05637
    05638 #ifndef GL_MATRIX4_NV
    05639 #define GL_MATRIX4_NV                                                 34356
    05640 #endif
    05641
    05642 #ifndef GL_MATRIX5_NV
    05643 #define GL_MATRIX5_NV                                                 34357
    05644 #endif
    05645
    05646 #ifndef GL_MATRIX6_NV
    05647 #define GL_MATRIX6_NV                                                 34358
    05648 #endif
    05649
    05650 #ifndef GL_MATRIX7_NV
    05651 #define GL_MATRIX7_NV                                                 34359
    05652 #endif
    05653
    05654 #ifndef GL_IDENTITY_NV
    05655 #define GL_IDENTITY_NV                                                34346
    05656 #endif
    05657
    05658 #ifndef GL_INVERSE_NV
    05659 #define GL_INVERSE_NV                                                 34347
    05660 #endif
    05661
    05662 #ifndef GL_TRANSPOSE_NV
    05663 #define GL_TRANSPOSE_NV                                               34348
    05664 #endif
    05665
    05666 #ifndef GL_INVERSE_TRANSPOSE_NV
    05667 #define GL_INVERSE_TRANSPOSE_NV                                       34349
    05668 #endif
    05669
    05670 #ifndef GL_VERTEX_ATTRIB_ARRAY0_NV
    05671 #define GL_VERTEX_ATTRIB_ARRAY0_NV                                    34384
    05672 #endif
    05673
    05674 #ifndef GL_VERTEX_ATTRIB_ARRAY1_NV
    05675 #define GL_VERTEX_ATTRIB_ARRAY1_NV                                    34385
    05676 #endif
    05677
    05678 #ifndef GL_VERTEX_ATTRIB_ARRAY2_NV
    05679 #define GL_VERTEX_ATTRIB_ARRAY2_NV                                    34386
    05680 #endif
    05681
    05682 #ifndef GL_VERTEX_ATTRIB_ARRAY3_NV
    05683 #define GL_VERTEX_ATTRIB_ARRAY3_NV                                    34387
    05684 #endif
    05685
    05686 #ifndef GL_VERTEX_ATTRIB_ARRAY4_NV
    05687 #define GL_VERTEX_ATTRIB_ARRAY4_NV                                    34388
    05688 #endif
    05689
    05690 #ifndef GL_VERTEX_ATTRIB_ARRAY5_NV
    05691 #define GL_VERTEX_ATTRIB_ARRAY5_NV                                    34389
    05692 #endif
    05693
    05694 #ifndef GL_VERTEX_ATTRIB_ARRAY6_NV
    05695 #define GL_VERTEX_ATTRIB_ARRAY6_NV                                    34390
    05696 #endif
    05697
    05698 #ifndef GL_VERTEX_ATTRIB_ARRAY7_NV
    05699 #define GL_VERTEX_ATTRIB_ARRAY7_NV                                    34391
    05700 #endif
    05701
    05702 #ifndef GL_VERTEX_ATTRIB_ARRAY8_NV
    05703 #define GL_VERTEX_ATTRIB_ARRAY8_NV                                    34392
    05704 #endif
    05705
    05706 #ifndef GL_VERTEX_ATTRIB_ARRAY9_NV
    05707 #define GL_VERTEX_ATTRIB_ARRAY9_NV                                    34393
    05708 #endif
    05709
    05710 #ifndef GL_VERTEX_ATTRIB_ARRAY10_NV
    05711 #define GL_VERTEX_ATTRIB_ARRAY10_NV                                   34394
    05712 #endif
    05713
    05714 #ifndef GL_VERTEX_ATTRIB_ARRAY11_NV
    05715 #define GL_VERTEX_ATTRIB_ARRAY11_NV                                   34395
    05716 #endif
    05717
    05718 #ifndef GL_VERTEX_ATTRIB_ARRAY12_NV
    05719 #define GL_VERTEX_ATTRIB_ARRAY12_NV                                   34396
    05720 #endif
    05721
    05722 #ifndef GL_VERTEX_ATTRIB_ARRAY13_NV
    05723 #define GL_VERTEX_ATTRIB_ARRAY13_NV                                   34397
    05724 #endif
    05725
    05726 #ifndef GL_VERTEX_ATTRIB_ARRAY14_NV
    05727 #define GL_VERTEX_ATTRIB_ARRAY14_NV                                   34398
    05728 #endif
    05729
    05730 #ifndef GL_VERTEX_ATTRIB_ARRAY15_NV
    05731 #define GL_VERTEX_ATTRIB_ARRAY15_NV                                   34399
    05732 #endif
    05733
    05734 #ifndef GL_MAP1_VERTEX_ATTRIB0_4_NV
    05735 #define GL_MAP1_VERTEX_ATTRIB0_4_NV                                   34400
    05736 #endif
    05737
    05738 #ifndef GL_MAP1_VERTEX_ATTRIB1_4_NV
    05739 #define GL_MAP1_VERTEX_ATTRIB1_4_NV                                   34401
    05740 #endif
    05741
    05742 #ifndef GL_MAP1_VERTEX_ATTRIB2_4_NV
    05743 #define GL_MAP1_VERTEX_ATTRIB2_4_NV                                   34402
    05744 #endif
    05745
    05746 #ifndef GL_MAP1_VERTEX_ATTRIB3_4_NV
    05747 #define GL_MAP1_VERTEX_ATTRIB3_4_NV                                   34403
    05748 #endif
    05749
    05750 #ifndef GL_MAP1_VERTEX_ATTRIB4_4_NV
    05751 #define GL_MAP1_VERTEX_ATTRIB4_4_NV                                   34404
    05752 #endif
    05753
    05754 #ifndef GL_MAP1_VERTEX_ATTRIB5_4_NV
    05755 #define GL_MAP1_VERTEX_ATTRIB5_4_NV                                   34405
    05756 #endif
    05757
    05758 #ifndef GL_MAP1_VERTEX_ATTRIB6_4_NV
    05759 #define GL_MAP1_VERTEX_ATTRIB6_4_NV                                   34406
    05760 #endif
    05761
    05762 #ifndef GL_MAP1_VERTEX_ATTRIB7_4_NV
    05763 #define GL_MAP1_VERTEX_ATTRIB7_4_NV                                   34407
    05764 #endif
    05765
    05766 #ifndef GL_MAP1_VERTEX_ATTRIB8_4_NV
    05767 #define GL_MAP1_VERTEX_ATTRIB8_4_NV                                   34408
    05768 #endif
    05769
    05770 #ifndef GL_MAP1_VERTEX_ATTRIB9_4_NV
    05771 #define GL_MAP1_VERTEX_ATTRIB9_4_NV                                   34409
    05772 #endif
    05773
    05774 #ifndef GL_MAP1_VERTEX_ATTRIB10_4_NV
    05775 #define GL_MAP1_VERTEX_ATTRIB10_4_NV                                  34410
    05776 #endif
    05777
    05778 #ifndef GL_MAP1_VERTEX_ATTRIB11_4_NV
    05779 #define GL_MAP1_VERTEX_ATTRIB11_4_NV                                  34411
    05780 #endif
    05781
    05782 #ifndef GL_MAP1_VERTEX_ATTRIB12_4_NV
    05783 #define GL_MAP1_VERTEX_ATTRIB12_4_NV                                  34412
    05784 #endif
    05785
    05786 #ifndef GL_MAP1_VERTEX_ATTRIB13_4_NV
    05787 #define GL_MAP1_VERTEX_ATTRIB13_4_NV                                  34413
    05788 #endif
    05789
    05790 #ifndef GL_MAP1_VERTEX_ATTRIB14_4_NV
    05791 #define GL_MAP1_VERTEX_ATTRIB14_4_NV                                  34414
    05792 #endif
    05793
    05794 #ifndef GL_MAP1_VERTEX_ATTRIB15_4_NV
    05795 #define GL_MAP1_VERTEX_ATTRIB15_4_NV                                  34415
    05796 #endif
    05797
    05798 #ifndef GL_MAP2_VERTEX_ATTRIB0_4_NV
    05799 #define GL_MAP2_VERTEX_ATTRIB0_4_NV                                   34416
    05800 #endif
    05801
    05802 #ifndef GL_MAP2_VERTEX_ATTRIB1_4_NV
    05803 #define GL_MAP2_VERTEX_ATTRIB1_4_NV                                   34417
    05804 #endif
    05805
    05806 #ifndef GL_MAP2_VERTEX_ATTRIB2_4_NV
    05807 #define GL_MAP2_VERTEX_ATTRIB2_4_NV                                   34418
    05808 #endif
    05809
    05810 #ifndef GL_MAP2_VERTEX_ATTRIB3_4_NV
    05811 #define GL_MAP2_VERTEX_ATTRIB3_4_NV                                   34419
    05812 #endif
    05813
    05814 #ifndef GL_MAP2_VERTEX_ATTRIB4_4_NV
    05815 #define GL_MAP2_VERTEX_ATTRIB4_4_NV                                   34420
    05816 #endif
    05817
    05818 #ifndef GL_MAP2_VERTEX_ATTRIB5_4_NV
    05819 #define GL_MAP2_VERTEX_ATTRIB5_4_NV                                   34421
    05820 #endif
    05821
    05822 #ifndef GL_MAP2_VERTEX_ATTRIB6_4_NV
    05823 #define GL_MAP2_VERTEX_ATTRIB6_4_NV                                   34422
    05824 #endif
    05825
    05826 #ifndef GL_MAP2_VERTEX_ATTRIB7_4_NV
    05827 #define GL_MAP2_VERTEX_ATTRIB7_4_NV                                   34423
    05828 #endif
    05829
    05830 #ifndef GL_MAP2_VERTEX_ATTRIB8_4_NV
    05831 #define GL_MAP2_VERTEX_ATTRIB8_4_NV                                   34424
    05832 #endif
    05833
    05834 #ifndef GL_MAP2_VERTEX_ATTRIB9_4_NV
    05835 #define GL_MAP2_VERTEX_ATTRIB9_4_NV                                   34425
    05836 #endif
    05837
    05838 #ifndef GL_MAP2_VERTEX_ATTRIB10_4_NV
    05839 #define GL_MAP2_VERTEX_ATTRIB10_4_NV                                  34426
    05840 #endif
    05841
    05842 #ifndef GL_MAP2_VERTEX_ATTRIB11_4_NV
    05843 #define GL_MAP2_VERTEX_ATTRIB11_4_NV                                  34427
    05844 #endif
    05845
    05846 #ifndef GL_MAP2_VERTEX_ATTRIB12_4_NV
    05847 #define GL_MAP2_VERTEX_ATTRIB12_4_NV                                  34428
    05848 #endif
    05849
    05850 #ifndef GL_MAP2_VERTEX_ATTRIB13_4_NV
    05851 #define GL_MAP2_VERTEX_ATTRIB13_4_NV                                  34429
    05852 #endif
    05853
    05854 #ifndef GL_MAP2_VERTEX_ATTRIB14_4_NV
    05855 #define GL_MAP2_VERTEX_ATTRIB14_4_NV                                  34430
    05856 #endif
    05857
    05858 #ifndef GL_MAP2_VERTEX_ATTRIB15_4_NV
    05859 #define GL_MAP2_VERTEX_ATTRIB15_4_NV                                  34431
    05860 #endif
    05861
    05862
    05868 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMNV) (GLenum target, GLuint id);
    05869 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSNV) (GLsizei n, const GLuint* ids);
    05870 typedef GLvoid (csAPIENTRY* csGLEXECUTEPROGRAMNV) (GLenum target, GLuint id, const GLfloat* params);
    05871 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSNV) (GLsizei n, GLuint* ids);
    05872 typedef GLboolean (csAPIENTRY* csGLAREPROGRAMSRESIDENTNV) (GLsizei n, const GLuint* ids, GLboolean* residences);
    05873 typedef GLvoid (csAPIENTRY* csGLREQUESTRESIDENTPROGRAMSNV) (GLsizei n, GLuint* ids);
    05874 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
    05875 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERDVNV) (GLenum target, GLuint index, GLenum pname, GLdouble* params);
    05876 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVNV) (GLuint id, GLenum pname, GLint* params);
    05877 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGNV) (GLuint id, GLenum pname, GLubyte* program);
    05878 typedef GLvoid (csAPIENTRY* csGLGETTRACKMATRIXIVNV) (GLenum target, GLuint address, GLenum pname, GLint* params);
    05879 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVNV) (GLuint index, GLenum pname, GLdouble* params);
    05880 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVNV) (GLuint index, GLenum pname, GLfloat* params);
    05881 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVNV) (GLuint index, GLenum pname, GLint* params);
    05882 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVNV) (GLuint index, GLenum pname, GLvoid* pointer);
    05883 typedef GLboolean (csAPIENTRY* csGLISPROGRAMNV) (GLuint id);
    05884 typedef GLvoid (csAPIENTRY* csGLLOADPROGRAMNV) (GLenum target, GLuint id, GLsizei len, const GLubyte* program);
    05885 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FNV) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    05886 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FVNV) (GLenum target, GLuint index, const GLfloat* params);
    05887 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4DVNV) (GLenum target, GLuint index, GLuint num, const GLdouble* params);
    05888 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4FVNV) (GLenum target, GLuint index, GLuint num, const GLfloat* params);
    05889 typedef GLvoid (csAPIENTRY* csGLTRACKMATRIXNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
    05890 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
    05891 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SNV) (GLuint index, GLshort x);
    05892 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FNV) (GLuint index, GLfloat x);
    05893 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DNV) (GLuint index, GLdouble x);
    05894 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SNV) (GLuint index, GLshort x, GLshort y);
    05895 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FNV) (GLuint index, GLfloat x, GLfloat y);
    05896 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DNV) (GLuint index, GLdouble x, GLdouble y);
    05897 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SNV) (GLuint index, GLshort x, GLshort y, GLshort z);
    05898 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
    05899 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
    05900 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
    05901 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    05902 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    05903 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
    05904 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVNV) (GLuint index, const GLshort* v);
    05905 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVNV) (GLuint index, const GLfloat* v);
    05906 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVNV) (GLuint index, const GLdouble* v);
    05907 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVNV) (GLuint index, const GLshort* v);
    05908 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVNV) (GLuint index, const GLfloat* v);
    05909 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVNV) (GLuint index, const GLdouble* v);
    05910 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVNV) (GLuint index, const GLshort* v);
    05911 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVNV) (GLuint index, const GLfloat* v);
    05912 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVNV) (GLuint index, const GLdouble* v);
    05913 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVNV) (GLuint index, const GLshort* v);
    05914 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVNV) (GLuint index, const GLfloat* v);
    05915 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVNV) (GLuint index, const GLdouble* v);
    05916 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVNV) (GLuint index, const GLubyte* v);
    05917 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1SVNV) (GLuint index, GLsizei n, const GLshort* v);
    05918 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1FVNV) (GLuint index, GLsizei n, const GLfloat* v);
    05919 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1DVNV) (GLuint index, GLsizei n, const GLdouble* v);
    05920 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2SVNV) (GLuint index, GLsizei n, const GLshort* v);
    05921 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2FVNV) (GLuint index, GLsizei n, const GLfloat* v);
    05922 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2DVNV) (GLuint index, GLsizei n, const GLdouble* v);
    05923 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3SVNV) (GLuint index, GLsizei n, const GLshort* v);
    05924 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3FVNV) (GLuint index, GLsizei n, const GLfloat* v);
    05925 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3DVNV) (GLuint index, GLsizei n, const GLdouble* v);
    05926 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4SVNV) (GLuint index, GLsizei n, const GLshort* v);
    05927 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4FVNV) (GLuint index, GLsizei n, const GLfloat* v);
    05928 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4DVNV) (GLuint index, GLsizei n, const GLdouble* v);
    05929 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4UBVNV) (GLuint index, GLsizei n, const GLubyte* v);
    05930
    05946 #ifndef GL_ELEMENT_ARRAY_ATI
    05947 #define GL_ELEMENT_ARRAY_ATI                                          34664
    05948 #endif
    05949
    05950 #ifndef GL_ELEMENT_ARRAY_TYPE_ATI
    05951 #define GL_ELEMENT_ARRAY_TYPE_ATI                                     34665
    05952 #endif
    05953
    05954 #ifndef GL_ELEMENT_ARRAY_POINTER_ATI
    05955 #define GL_ELEMENT_ARRAY_POINTER_ATI                                  34666
    05956 #endif
    05957
    05958
    05964 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERATI) (GLenum type, const GLvoid* pointer);
    05965 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYATI) (GLenum mode, GLsizei count);
    05966 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYATI) (GLenum mode, GLuint start, GLuint end, GLsizei count);
    05967
    05972 #ifndef GL_BUMP_ROT_MATRIX_ATI
    05973 #define GL_BUMP_ROT_MATRIX_ATI                                        34677
    05974 #endif
    05975
    05976 #ifndef GL_BUMP_ROT_MATRIX_SIZE_ATI
    05977 #define GL_BUMP_ROT_MATRIX_SIZE_ATI                                   34678
    05978 #endif
    05979
    05980 #ifndef GL_BUMP_NUM_TEX_UNITS_ATI
    05981 #define GL_BUMP_NUM_TEX_UNITS_ATI                                     34679
    05982 #endif
    05983
    05984 #ifndef GL_BUMP_TEX_UNITS_ATI
    05985 #define GL_BUMP_TEX_UNITS_ATI                                         34680
    05986 #endif
    05987
    05988 #ifndef GL_DUDV_ATI
    05989 #define GL_DUDV_ATI                                                   34681
    05990 #endif
    05991
    05992 #ifndef GL_DU8DV8_ATI
    05993 #define GL_DU8DV8_ATI                                                 34682
    05994 #endif
    05995
    05996 #ifndef GL_BUMP_ENVMAP_ATI
    05997 #define GL_BUMP_ENVMAP_ATI                                            34683
    05998 #endif
    05999
    06000 #ifndef GL_BUMP_TARGET_ATI
    06001 #define GL_BUMP_TARGET_ATI                                            34684
    06002 #endif
    06003
    06004
    06010 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
    06011 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
    06012 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
    06013 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
    06014
    06019 #ifndef GL_FRAGMENT_SHADER_ATI
    06020 #define GL_FRAGMENT_SHADER_ATI                                        35104
    06021 #endif
    06022
    06023 #ifndef GL_REG_0_ATI
    06024 #define GL_REG_0_ATI                                                  35105
    06025 #endif
    06026
    06027 #ifndef GL_REG_1_ATI
    06028 #define GL_REG_1_ATI                                                  35106
    06029 #endif
    06030
    06031 #ifndef GL_REG_2_ATI
    06032 #define GL_REG_2_ATI                                                  35107
    06033 #endif
    06034
    06035 #ifndef GL_REG_3_ATI
    06036 #define GL_REG_3_ATI                                                  35108
    06037 #endif
    06038
    06039 #ifndef GL_REG_4_ATI
    06040 #define GL_REG_4_ATI                                                  35109
    06041 #endif
    06042
    06043 #ifndef GL_REG_5_ATI
    06044 #define GL_REG_5_ATI                                                  35110
    06045 #endif
    06046
    06047 #ifndef GL_CON_0_ATI
    06048 #define GL_CON_0_ATI                                                  35137
    06049 #endif
    06050
    06051 #ifndef GL_CON_1_ATI
    06052 #define GL_CON_1_ATI                                                  35138
    06053 #endif
    06054
    06055 #ifndef GL_CON_2_ATI
    06056 #define GL_CON_2_ATI                                                  35139
    06057 #endif
    06058
    06059 #ifndef GL_CON_3_ATI
    06060 #define GL_CON_3_ATI                                                  35140
    06061 #endif
    06062
    06063 #ifndef GL_CON_4_ATI
    06064 #define GL_CON_4_ATI                                                  35141
    06065 #endif
    06066
    06067 #ifndef GL_CON_5_ATI
    06068 #define GL_CON_5_ATI                                                  35142
    06069 #endif
    06070
    06071 #ifndef GL_CON_6_ATI
    06072 #define GL_CON_6_ATI                                                  35143
    06073 #endif
    06074
    06075 #ifndef GL_CON_7_ATI
    06076 #define GL_CON_7_ATI                                                  35144
    06077 #endif
    06078
    06079 #ifndef GL_MOV_ATI
    06080 #define GL_MOV_ATI                                                    35169
    06081 #endif
    06082
    06083 #ifndef GL_ADD_ATI
    06084 #define GL_ADD_ATI                                                    35171
    06085 #endif
    06086
    06087 #ifndef GL_MUL_ATI
    06088 #define GL_MUL_ATI                                                    35172
    06089 #endif
    06090
    06091 #ifndef GL_SUB_ATI
    06092 #define GL_SUB_ATI                                                    35173
    06093 #endif
    06094
    06095 #ifndef GL_DOT3_ATI
    06096 #define GL_DOT3_ATI                                                   35174
    06097 #endif
    06098
    06099 #ifndef GL_DOT4_ATI
    06100 #define GL_DOT4_ATI                                                   35175
    06101 #endif
    06102
    06103 #ifndef GL_MAD_ATI
    06104 #define GL_MAD_ATI                                                    35176
    06105 #endif
    06106
    06107 #ifndef GL_LERP_ATI
    06108 #define GL_LERP_ATI                                                   35177
    06109 #endif
    06110
    06111 #ifndef GL_CND_ATI
    06112 #define GL_CND_ATI                                                    35178
    06113 #endif
    06114
    06115 #ifndef GL_CND0_ATI
    06116 #define GL_CND0_ATI                                                   35179
    06117 #endif
    06118
    06119 #ifndef GL_DOT2_ADD_ATI
    06120 #define GL_DOT2_ADD_ATI                                               35180
    06121 #endif
    06122
    06123 #ifndef GL_SECONDARY_INTERPOLATOR_ATI
    06124 #define GL_SECONDARY_INTERPOLATOR_ATI                                 35181
    06125 #endif
    06126
    06127 #ifndef GL_SWIZZLE_STR_ATI
    06128 #define GL_SWIZZLE_STR_ATI                                            35190
    06129 #endif
    06130
    06131 #ifndef GL_SWIZZLE_STQ_ATI
    06132 #define GL_SWIZZLE_STQ_ATI                                            35191
    06133 #endif
    06134
    06135 #ifndef GL_SWIZZLE_STR_DR_ATI
    06136 #define GL_SWIZZLE_STR_DR_ATI                                         35192
    06137 #endif
    06138
    06139 #ifndef GL_SWIZZLE_STQ_DQ_ATI
    06140 #define GL_SWIZZLE_STQ_DQ_ATI                                         35193
    06141 #endif
    06142
    06143 #ifndef GL_RED_BIT_ATI
    06144 #define GL_RED_BIT_ATI                                                    1
    06145 #endif
    06146
    06147 #ifndef GL_GREEN_BIT_ATI
    06148 #define GL_GREEN_BIT_ATI                                                  2
    06149 #endif
    06150
    06151 #ifndef GL_BLUE_BIT_ATI
    06152 #define GL_BLUE_BIT_ATI                                                   4
    06153 #endif
    06154
    06155 #ifndef GL_2X_BIT_ATI
    06156 #define GL_2X_BIT_ATI                                                     1
    06157 #endif
    06158
    06159 #ifndef GL_4X_BIT_ATI
    06160 #define GL_4X_BIT_ATI                                                     2
    06161 #endif
    06162
    06163 #ifndef GL_8X_BIT_ATI
    06164 #define GL_8X_BIT_ATI                                                     4
    06165 #endif
    06166
    06167 #ifndef GL_HALF_BIT_ATI
    06168 #define GL_HALF_BIT_ATI                                                   8
    06169 #endif
    06170
    06171 #ifndef GL_QUARTER_BIT_ATI
    06172 #define GL_QUARTER_BIT_ATI                                               16
    06173 #endif
    06174
    06175 #ifndef GL_EIGHTH_BIT_ATI
    06176 #define GL_EIGHTH_BIT_ATI                                                32
    06177 #endif
    06178
    06179 #ifndef GL_SATURATE_BIT_ATI
    06180 #define GL_SATURATE_BIT_ATI                                              64
    06181 #endif
    06182
    06183 #ifndef GL_2X_BIT_ATI
    06184 #define GL_2X_BIT_ATI                                                     1
    06185 #endif
    06186
    06187 #ifndef GL_COMP_BIT_ATI
    06188 #define GL_COMP_BIT_ATI                                                   2
    06189 #endif
    06190
    06191 #ifndef GL_NEGATE_BIT_ATI
    06192 #define GL_NEGATE_BIT_ATI                                                 4
    06193 #endif
    06194
    06195 #ifndef GL_BIAS_BIT_ATI
    06196 #define GL_BIAS_BIT_ATI                                                   8
    06197 #endif
    06198
    06199
    06205 typedef GLuint (csAPIENTRY* csGLGENFRAGMENTSHADERSATI) (GLuint range);
    06206 typedef GLvoid (csAPIENTRY* csGLBINDFRAGMENTSHADERATI) (GLuint id);
    06207 typedef GLvoid (csAPIENTRY* csGLDELETEFRAGMENTSHADERATI) (GLuint id);
    06208 typedef GLvoid (csAPIENTRY* csGLBEGINFRAGMENTSHADERATI) ();
    06209 typedef GLvoid (csAPIENTRY* csGLENDFRAGMENTSHADERATI) ();
    06210 typedef GLvoid (csAPIENTRY* csGLPASSTEXCOORDATI) (GLuint dst, GLuint coord, GLenum swizzle);
    06211 typedef GLvoid (csAPIENTRY* csGLSAMPLEMAPATI) (GLuint dst, GLuint interp, GLenum swizzle);
    06212 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
    06213 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
    06214 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP3ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
    06215 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
    06216 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
    06217 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP3ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
    06218 typedef GLvoid (csAPIENTRY* csGLSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const GLfloat* value);
    06219
    06224 #ifndef GL_PN_TRIANGLES_ATI
    06225 #define GL_PN_TRIANGLES_ATI                                           34800
    06226 #endif
    06227
    06228 #ifndef GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI
    06229 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI                     34801
    06230 #endif
    06231
    06232 #ifndef GL_PN_TRIANGLES_POINT_MODE_ATI
    06233 #define GL_PN_TRIANGLES_POINT_MODE_ATI                                34802
    06234 #endif
    06235
    06236 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_ATI
    06237 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI                               34803
    06238 #endif
    06239
    06240 #ifndef GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI
    06241 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI                         34804
    06242 #endif
    06243
    06244 #ifndef GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI
    06245 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI                         34805
    06246 #endif
    06247
    06248 #ifndef GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI
    06249 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI                          34806
    06250 #endif
    06251
    06252 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI
    06253 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI                        34807
    06254 #endif
    06255
    06256 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI
    06257 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI                     34808
    06258 #endif
    06259
    06260
    06266 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESIATI) (GLenum pname, GLint param);
    06267 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESFATI) (GLenum pname, GLfloat param);
    06268
    06273 #ifndef GL_MIRROR_CLAMP_ATI
    06274 #define GL_MIRROR_CLAMP_ATI                                           34626
    06275 #endif
    06276
    06277 #ifndef GL_MIRROR_CLAMP_TO_EDGE_ATI
    06278 #define GL_MIRROR_CLAMP_TO_EDGE_ATI                                   34627
    06279 #endif
    06280
    06281
    06292 #ifndef GL_STATIC_ATI
    06293 #define GL_STATIC_ATI                                                 34656
    06294 #endif
    06295
    06296 #ifndef GL_DYNAMIC_ATI
    06297 #define GL_DYNAMIC_ATI                                                34657
    06298 #endif
    06299
    06300 #ifndef GL_PRESERVE_ATI
    06301 #define GL_PRESERVE_ATI                                               34658
    06302 #endif
    06303
    06304 #ifndef GL_DISCARD_ATI
    06305 #define GL_DISCARD_ATI                                                34659
    06306 #endif
    06307
    06308 #ifndef GL_OBJECT_BUFFER_SIZE_ATI
    06309 #define GL_OBJECT_BUFFER_SIZE_ATI                                     34660
    06310 #endif
    06311
    06312 #ifndef GL_OBJECT_BUFFER_USAGE_ATI
    06313 #define GL_OBJECT_BUFFER_USAGE_ATI                                    34661
    06314 #endif
    06315
    06316 #ifndef GL_ARRAY_OBJECT_BUFFER_ATI
    06317 #define GL_ARRAY_OBJECT_BUFFER_ATI                                    34662
    06318 #endif
    06319
    06320 #ifndef GL_ARRAY_OBJECT_OFFSET_ATI
    06321 #define GL_ARRAY_OBJECT_OFFSET_ATI                                    34663
    06322 #endif
    06323
    06324
    06330 typedef GLuint (csAPIENTRY* csGLNEWOBJECTBUFFERATI) (GLsizei size, const GLvoid* pointer, GLenum usage);
    06331 typedef GLboolean (csAPIENTRY* csGLISOBJECTBUFFERATI) (GLuint buffer);
    06332 typedef GLvoid (csAPIENTRY* csGLUPDATEOBJECTBUFFERATI) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid* pointer, GLenum preserve);
    06333 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERFVATI) (GLuint buffer, GLenum pname, GLfloat* params);
    06334 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERIVATI) (GLuint buffer, GLenum pname, GLint* params);
    06335 typedef GLvoid (csAPIENTRY* csGLFREEOBJECTBUFFERATI) (GLuint buffer);
    06336 typedef GLvoid (csAPIENTRY* csGLARRAYOBJECTATI) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
    06337 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTFVATI) (GLenum array, GLenum pname, GLfloat* params);
    06338 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTIVATI) (GLenum array, GLenum pname, GLint* params);
    06339 typedef GLvoid (csAPIENTRY* csGLVARIANTARRAYOBJECTATI) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
    06340 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTFVATI) (GLuint id, GLenum pname, GLfloat* params);
    06341 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTIVATI) (GLuint id, GLenum pname, GLint* params);
    06342
    06353 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBARRAYOBJECTATI) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
    06354 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTFVATI) (GLuint index, GLenum pname, GLfloat* params);
    06355 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTIVATI) (GLuint index, GLenum pname, GLint* params);
    06356
    06361 #ifndef GL_MAX_VERTEX_STREAMS_ATI
    06362 #define GL_MAX_VERTEX_STREAMS_ATI                                     34667
    06363 #endif
    06364
    06365 #ifndef GL_VERTEX_STREAM0_ATI
    06366 #define GL_VERTEX_STREAM0_ATI                                         34668
    06367 #endif
    06368
    06369 #ifndef GL_VERTEX_STREAM1_ATI
    06370 #define GL_VERTEX_STREAM1_ATI                                         34669
    06371 #endif
    06372
    06373 #ifndef GL_VERTEX_STREAM2_ATI
    06374 #define GL_VERTEX_STREAM2_ATI                                         34670
    06375 #endif
    06376
    06377 #ifndef GL_VERTEX_STREAM3_ATI
    06378 #define GL_VERTEX_STREAM3_ATI                                         34671
    06379 #endif
    06380
    06381 #ifndef GL_VERTEX_STREAM4_ATI
    06382 #define GL_VERTEX_STREAM4_ATI                                         34672
    06383 #endif
    06384
    06385 #ifndef GL_VERTEX_STREAM5_ATI
    06386 #define GL_VERTEX_STREAM5_ATI                                         34673
    06387 #endif
    06388
    06389 #ifndef GL_VERTEX_STREAM6_ATI
    06390 #define GL_VERTEX_STREAM6_ATI                                         34674
    06391 #endif
    06392
    06393 #ifndef GL_VERTEX_STREAM7_ATI
    06394 #define GL_VERTEX_STREAM7_ATI                                         34675
    06395 #endif
    06396
    06397 #ifndef GL_VERTEX_SOURCE_ATI
    06398 #define GL_VERTEX_SOURCE_ATI                                          34676
    06399 #endif
    06400
    06401
    06407 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1S) (GLenum stream, GLshort coords);
    06408 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1I) (GLenum stream, GLint coords);
    06409 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1F) (GLenum stream, GLfloat coords);
    06410 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1D) (GLenum stream, GLdouble coords);
    06411 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1SV) (GLenum stream, GLshort coords);
    06412 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1IV) (GLenum stream, GLint coords);
    06413 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1FV) (GLenum stream, GLfloat coords);
    06414 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1DV) (GLenum stream, GLdouble coords);
    06415 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2S) (GLenum stream, GLshort coords);
    06416 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2I) (GLenum stream, GLint coords);
    06417 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2F) (GLenum stream, GLfloat coords);
    06418 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2D) (GLenum stream, GLdouble coords);
    06419 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2SV) (GLenum stream, GLshort coords);
    06420 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2IV) (GLenum stream, GLint coords);
    06421 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2FV) (GLenum stream, GLfloat coords);
    06422 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2DV) (GLenum stream, GLdouble coords);
    06423 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3S) (GLenum stream, GLshort coords);
    06424 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3I) (GLenum stream, GLint coords);
    06425 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3F) (GLenum stream, GLfloat coords);
    06426 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3D) (GLenum stream, GLdouble coords);
    06427 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3SV) (GLenum stream, GLshort coords);
    06428 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3IV) (GLenum stream, GLint coords);
    06429 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3FV) (GLenum stream, GLfloat coords);
    06430 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3DV) (GLenum stream, GLdouble coords);
    06431 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4S) (GLenum stream, GLshort coords);
    06432 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4I) (GLenum stream, GLint coords);
    06433 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4F) (GLenum stream, GLfloat coords);
    06434 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4D) (GLenum stream, GLdouble coords);
    06435 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4SV) (GLenum stream, GLshort coords);
    06436 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4IV) (GLenum stream, GLint coords);
    06437 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4FV) (GLenum stream, GLfloat coords);
    06438 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4DV) (GLenum stream, GLdouble coords);
    06439 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3B) (GLenum stream, GLbyte coords);
    06440 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3S) (GLenum stream, GLshort coords);
    06441 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3I) (GLenum stream, GLint coords);
    06442 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3F) (GLenum stream, GLfloat coords);
    06443 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3D) (GLenum stream, GLdouble coords);
    06444 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3BV) (GLenum stream, GLbyte coords);
    06445 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3SV) (GLenum stream, GLshort coords);
    06446 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3IV) (GLenum stream, GLint coords);
    06447 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3FV) (GLenum stream, GLfloat coords);
    06448 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3DV) (GLenum stream, GLdouble coords);
    06449 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVEVERTEXSTREAM) (GLenum stream);
    06450 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVI) (GLenum pname, GLint param);
    06451 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVF) (GLenum pname, GLfloat param);
    06452
    06454 #ifdef _WIN32
    06455
    06458 #ifndef WGL_IMAGE_BUFFER_MIN_ACCESS_I3D
    06459 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D                                   1
    06460 #endif
    06461
    06462 #ifndef WGL_IMAGE_BUFFER_LOCK_I3D
    06463 #define WGL_IMAGE_BUFFER_LOCK_I3D                                         2
    06464 #endif
    06465
    06466
    06472 typedef GLvoid* (csAPIENTRY* csWGLCREATEIMAGEBUFFERI3D) (HDC hDC, DWORD dwSize, UINT uFlags);
    06473 typedef BOOL (csAPIENTRY* csWGLDESTROYIMAGEBUFFERI3D) (HDC hDC, GLvoid* pAddress);
    06474 typedef BOOL (csAPIENTRY* csWGLASSOCIATEIMAGEBUFFEREVENTSI3D) (HDC hdc, HANDLE* pEvent, GLvoid* pAddress, DWORD* pSize, UINT count);
    06475 typedef BOOL (csAPIENTRY* csWGLRELEASEIMAGEBUFFEREVENTSI3D) (HDC hdc, GLvoid* pAddress, UINT count);
    06476
    06478 #endif
    06479
    06480 #ifdef _WIN32
    06481
    06490 typedef BOOL (csAPIENTRY* csWGLENABLEFRAMELOCKI3D) ();
    06491 typedef BOOL (csAPIENTRY* csWGLDISABLEFRAMELOCKI3D) ();
    06492 typedef BOOL (csAPIENTRY* csWGLISENABLEDFRAMELOCKI3D) (BOOL* pFlag);
    06493 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMELOCKMASTERI3D) (BOOL* pFlag);
    06494
    06496 #endif
    06497
    06498 #ifdef _WIN32
    06499
    06508 typedef BOOL (csAPIENTRY* csWGLGETFRAMEUSAGEI3D) (GLfloat* pUsage);
    06509 typedef BOOL (csAPIENTRY* csWGLBEGINFRAMETRACKINGI3D) ();
    06510 typedef BOOL (csAPIENTRY* csWGLENDFRAMETRACKINGI3D) ();
    06511 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMETRACKINGI3D) (DWORD* pFrameCount, DWORD* pMissedFrames, GLfloat* pLastMissedUsage);
    06512
    06514 #endif
    06515
    06519 #ifndef GL_COMPRESSED_RGB_FXT1_3DFX
    06520 #define GL_COMPRESSED_RGB_FXT1_3DFX                                   34480
    06521 #endif
    06522
    06523 #ifndef GL_COMPRESSED_RGBA_FXT1_3DFX
    06524 #define GL_COMPRESSED_RGBA_FXT1_3DFX                                  34481
    06525 #endif
    06526
    06527
    06538 #ifndef GL_CULL_VERTEX_IBM
    06539 #define GL_CULL_VERTEX_IBM                                           103050
    06540 #endif
    06541
    06542
    06559 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWARRAYSIBM) (GLenum* mode, GLint* first, GLsizei* count, GLsizei primcount, GLint modestride);
    06560 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWELEMENTSIBM) (GLenum* mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount, GLint modestride);
    06561
    06566 #ifndef GL_RASTER_POSITION_UNCLIPPED_IBM
    06567 #define GL_RASTER_POSITION_UNCLIPPED_IBM                             103010
    06568 #endif
    06569
    06570
    06581 #ifndef GL_MIRRORED_REPEAT_IBM
    06582 #define GL_MIRRORED_REPEAT_IBM                                        33648
    06583 #endif
    06584
    06585
    06596 #ifndef GL_VERTEX_ARRAY_LIST_IBM
    06597 #define GL_VERTEX_ARRAY_LIST_IBM                                     103070
    06598 #endif
    06599
    06600 #ifndef GL_NORMAL_ARRAY_LIST_IBM
    06601 #define GL_NORMAL_ARRAY_LIST_IBM                                     103071
    06602 #endif
    06603
    06604 #ifndef GL_COLOR_ARRAY_LIST_IBM
    06605 #define GL_COLOR_ARRAY_LIST_IBM                                      103072
    06606 #endif
    06607
    06608 #ifndef GL_INDEX_ARRAY_LIST_IBM
    06609 #define GL_INDEX_ARRAY_LIST_IBM                                      103073
    06610 #endif
    06611
    06612 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_IBM
    06613 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM                              103074
    06614 #endif
    06615
    06616 #ifndef GL_EDGE_FLAG_ARRAY_LIST_IBM
    06617 #define GL_EDGE_FLAG_ARRAY_LIST_IBM                                  103075
    06618 #endif
    06619
    06620 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_IBM
    06621 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM                             103076
    06622 #endif
    06623
    06624 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_IBM
    06625 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM                            103077
    06626 #endif
    06627
    06628 #ifndef GL_VERTEX_ARRAY_LIST_STRIDE_IBM
    06629 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM                              103080
    06630 #endif
    06631
    06632 #ifndef GL_NORMAL_ARRAY_LIST_STRIDE_IBM
    06633 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM                              103081
    06634 #endif
    06635
    06636 #ifndef GL_COLOR_ARRAY_LIST_STRIDE_IBM
    06637 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM                               103082
    06638 #endif
    06639
    06640 #ifndef GL_INDEX_ARRAY_LIST_STRIDE_IBM
    06641 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM                               103083
    06642 #endif
    06643
    06644 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM
    06645 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM                       103084
    06646 #endif
    06647
    06648 #ifndef GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM
    06649 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM                           103085
    06650 #endif
    06651
    06652 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM
    06653 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM                      103086
    06654 #endif
    06655
    06656 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM
    06657 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM                     103087
    06658 #endif
    06659
    06660
    06666 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06667 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06668 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTERLISTIBM) (GLint stride, const GLboolean* pointer, GLint ptrstride);
    06669 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06670 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06671 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06672 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
    06673
    06684 typedef GLvoid (csAPIENTRY* csGLRESIZEBUFFERSMESA) ();
    06685
    06696 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DMESA) (GLdouble x, GLdouble y);
    06697 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FMESA) (GLfloat x, GLfloat y);
    06698 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IMESA) (GLint x, GLint y);
    06699 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SMESA) (GLshort x, GLshort y);
    06700 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVMESA) (const GLint* p);
    06701 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVMESA) (const GLshort* p);
    06702 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVMESA) (const GLfloat* p);
    06703 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVMESA) (const GLdouble* p);
    06704 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IMESA) (GLint x, GLint y, GLint z);
    06705 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SMESA) (GLshort x, GLshort y, GLshort z);
    06706 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FMESA) (GLfloat x, GLfloat y, GLfloat z);
    06707 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DMESA) (GLdouble x, GLdouble y, GLdouble z);
    06708 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVMESA) (const GLint* p);
    06709 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVMESA) (const GLshort* p);
    06710 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVMESA) (const GLfloat* p);
    06711 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVMESA) (const GLdouble* p);
    06712 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IMESA) (GLint x, GLint y, GLint z, GLint w);
    06713 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SMESA) (GLshort x, GLshort y, GLshort z, GLshort w);
    06714 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    06715 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    06716 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IVMESA) (const GLint* p);
    06717 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SVMESA) (const GLshort* p);
    06718 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FVMESA) (const GLfloat* p);
    06719 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DVMESA) (const GLdouble* p);
    06720
    06725 #ifndef GL_INTERLACE_OML
    06726 #define GL_INTERLACE_OML                                              35200
    06727 #endif
    06728
    06729 #ifndef GL_INTERLACE_READ_OML
    06730 #define GL_INTERLACE_READ_OML                                         35201
    06731 #endif
    06732
    06733
    06744 #ifndef GL_PACK_RESAMPLE_OML
    06745 #define GL_PACK_RESAMPLE_OML                                          35204
    06746 #endif
    06747
    06748 #ifndef GL_UNPACK_RESAMPLE_OML
    06749 #define GL_UNPACK_RESAMPLE_OML                                        35205
    06750 #endif
    06751
    06752 #ifndef GL_RESAMPLE_REPLICATE_OML
    06753 #define GL_RESAMPLE_REPLICATE_OML                                     35206
    06754 #endif
    06755
    06756 #ifndef GL_RESAMPLE_ZERO_FILL_OML
    06757 #define GL_RESAMPLE_ZERO_FILL_OML                                     35207
    06758 #endif
    06759
    06760 #ifndef GL_RESAMPLE_AVERAGE_OML
    06761 #define GL_RESAMPLE_AVERAGE_OML                                       35208
    06762 #endif
    06763
    06764 #ifndef GL_RESAMPLE_DECIMATE_OML
    06765 #define GL_RESAMPLE_DECIMATE_OML                                      35209
    06766 #endif
    06767
    06768 #ifndef GL_RESAMPLE_AVERAGE_OML
    06769 #define GL_RESAMPLE_AVERAGE_OML                                       35208
    06770 #endif
    06771
    06772
    06783 #ifndef GL_FORMAT_SUBSAMPLE_24_24_OML
    06784 #define GL_FORMAT_SUBSAMPLE_24_24_OML                                 35202
    06785 #endif
    06786
    06787 #ifndef GL_FORMAT_SUBSAMPLE_244_244_OML
    06788 #define GL_FORMAT_SUBSAMPLE_244_244_OML                               35203
    06789 #endif
    06790
    06791
    06802 #ifndef GL_GENERATE_MIPMAP_SGIS
    06803 #define GL_GENERATE_MIPMAP_SGIS                                       33169
    06804 #endif
    06805
    06806 #ifndef GL_GENERATE_MIPMAP_HINT_SGIS
    06807 #define GL_GENERATE_MIPMAP_HINT_SGIS                                  33170
    06808 #endif
    06809
    06810
    06821 #ifndef GLX_SAMPLE_BUFFERS_SGIS
    06822 #define GLX_SAMPLE_BUFFERS_SGIS                                      100000
    06823 #endif
    06824
    06825 #ifndef GLX_SAMPLES_SGIS
    06826 #define GLX_SAMPLES_SGIS                                             100001
    06827 #endif
    06828
    06829 #ifndef GL_MULTISAMPLE_SGIS
    06830 #define GL_MULTISAMPLE_SGIS                                           32925
    06831 #endif
    06832
    06833 #ifndef GL_SAMPLE_ALPHA_TO_MASK_SGIS
    06834 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS                                  32926
    06835 #endif
    06836
    06837 #ifndef GL_SAMPLE_ALPHA_TO_ONE_SGIS
    06838 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS                                   32927
    06839 #endif
    06840
    06841 #ifndef GL_SAMPLE_MASK_SGIS
    06842 #define GL_SAMPLE_MASK_SGIS                                           32928
    06843 #endif
    06844
    06845 #ifndef GL_MULTISAMPLE_BIT_EXT
    06846 #define GL_MULTISAMPLE_BIT_EXT                                       536870912
    06847 #endif
    06848
    06849 #ifndef GL_1PASS_SGIS
    06850 #define GL_1PASS_SGIS                                                 32929
    06851 #endif
    06852
    06853 #ifndef GL_2PASS_0_SGIS
    06854 #define GL_2PASS_0_SGIS                                               32930
    06855 #endif
    06856
    06857 #ifndef GL_2PASS_1_SGIS
    06858 #define GL_2PASS_1_SGIS                                               32931
    06859 #endif
    06860
    06861 #ifndef GL_4PASS_0_SGIS
    06862 #define GL_4PASS_0_SGIS                                               32932
    06863 #endif
    06864
    06865 #ifndef GL_4PASS_1_SGIS
    06866 #define GL_4PASS_1_SGIS                                               32933
    06867 #endif
    06868
    06869 #ifndef GL_4PASS_2_SGIS
    06870 #define GL_4PASS_2_SGIS                                               32934
    06871 #endif
    06872
    06873 #ifndef GL_4PASS_3_SGIS
    06874 #define GL_4PASS_3_SGIS                                               32935
    06875 #endif
    06876
    06877 #ifndef GL_SAMPLE_BUFFERS_SGIS
    06878 #define GL_SAMPLE_BUFFERS_SGIS                                        32936
    06879 #endif
    06880
    06881 #ifndef GL_SAMPLES_SGIS
    06882 #define GL_SAMPLES_SGIS                                               32937
    06883 #endif
    06884
    06885 #ifndef GL_SAMPLE_MASK_VALUE_SGIS
    06886 #define GL_SAMPLE_MASK_VALUE_SGIS                                     32938
    06887 #endif
    06888
    06889 #ifndef GL_SAMPLE_MASK_INVERT_SGIS
    06890 #define GL_SAMPLE_MASK_INVERT_SGIS                                    32939
    06891 #endif
    06892
    06893 #ifndef GL_SAMPLE_PATTERN_SGIS
    06894 #define GL_SAMPLE_PATTERN_SGIS                                        32940
    06895 #endif
    06896
    06897
    06903 typedef GLvoid (csAPIENTRY* csGLSAMPLEMASKSGIS) (GLclampf value, GLboolean invert);
    06904 typedef GLvoid (csAPIENTRY* csGLSAMPLEPATTERNSGIS) (GLenum pattern);
    06905
    06910 #ifndef GL_PIXEL_TEXTURE_SGIS
    06911 #define GL_PIXEL_TEXTURE_SGIS                                         33619
    06912 #endif
    06913
    06914 #ifndef GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS
    06915 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS                             33620
    06916 #endif
    06917
    06918 #ifndef GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS
    06919 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS                           33621
    06920 #endif
    06921
    06922 #ifndef GL_PIXEL_GROUP_COLOR_SGIS
    06923 #define GL_PIXEL_GROUP_COLOR_SGIS                                     33622
    06924 #endif
    06925
    06926
    06932 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERISGIS) (GLenum pname, GLint param);
    06933 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERFSGIS) (GLenum pname, GLfloat param);
    06934 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERIVSGIS) (GLenum pname, GLint params);
    06935 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERFVSGIS) (GLenum pname, GLfloat params);
    06936
    06941 #ifndef GL_CLAMP_TO_BORDER_SGIS
    06942 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
    06943 #endif
    06944
    06945
    06956 #ifndef GL_TEXTURE_COLOR_WRITEMASK_SGIS
    06957 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS                               33263
    06958 #endif
    06959
    06960
    06966 typedef GLvoid (csAPIENTRY* csGLTEXTURECOLORMASKSGIS) (GLboolean r, GLboolean g, GLboolean b, GLboolean a);
    06967
    06972 #ifndef GL_CLAMP_TO_EDGE_SGIS
    06973 #define GL_CLAMP_TO_EDGE_SGIS                                         33071
    06974 #endif
    06975
    06976
    06987 #ifndef GL_TEXTURE_MIN_LOD_SGIS
    06988 #define GL_TEXTURE_MIN_LOD_SGIS                                       33082
    06989 #endif
    06990
    06991 #ifndef GL_TEXTURE_MAX_LOD_SGIS
    06992 #define GL_TEXTURE_MAX_LOD_SGIS                                       33083
    06993 #endif
    06994
    06995 #ifndef GL_TEXTURE_BASE_LEVEL_SGIS
    06996 #define GL_TEXTURE_BASE_LEVEL_SGIS                                    33084
    06997 #endif
    06998
    06999 #ifndef GL_TEXTURE_MAX_LEVEL_SGIS
    07000 #define GL_TEXTURE_MAX_LEVEL_SGIS                                     33085
    07001 #endif
    07002
    07003
    07014 #ifndef GL_DEPTH_COMPONENT16_SGIX
    07015 #define GL_DEPTH_COMPONENT16_SGIX                                     33189
    07016 #endif
    07017
    07018 #ifndef GL_DEPTH_COMPONENT24_SGIX
    07019 #define GL_DEPTH_COMPONENT24_SGIX                                     33190
    07020 #endif
    07021
    07022 #ifndef GL_DEPTH_COMPONENT32_SGIX
    07023 #define GL_DEPTH_COMPONENT32_SGIX                                     33191
    07024 #endif
    07025
    07026
    07037 #ifndef GL_FOG_OFFSET_SGIX
    07038 #define GL_FOG_OFFSET_SGIX                                            33176
    07039 #endif
    07040
    07041 #ifndef GL_FOG_OFFSET_VALUE_SGIX
    07042 #define GL_FOG_OFFSET_VALUE_SGIX                                      33177
    07043 #endif
    07044
    07045
    07056 #ifndef GL_INTERLACE_SGIX
    07057 #define GL_INTERLACE_SGIX                                             32916
    07058 #endif
    07059
    07060
    07071 #ifndef GL_SHADOW_AMBIENT_SGIX
    07072 #define GL_SHADOW_AMBIENT_SGIX                                        32959
    07073 #endif
    07074
    07075
    07086 #ifndef GL_COLOR_MATRIX_SGI
    07087 #define GL_COLOR_MATRIX_SGI                                           32945
    07088 #endif
    07089
    07090 #ifndef GL_COLOR_MATRIX_STACK_DEPTH_SGI
    07091 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI                               32946
    07092 #endif
    07093
    07094 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
    07095 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI                           32947
    07096 #endif
    07097
    07098 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE_SGI
    07099 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI                            32948
    07100 #endif
    07101
    07102 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
    07103 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI                          32949
    07104 #endif
    07105
    07106 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
    07107 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI                           32950
    07108 #endif
    07109
    07110 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
    07111 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI                          32951
    07112 #endif
    07113
    07114 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS_SGI
    07115 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI                             32952
    07116 #endif
    07117
    07118 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
    07119 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI                           32953
    07120 #endif
    07121
    07122 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
    07123 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI                            32954
    07124 #endif
    07125
    07126 #ifndef GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
    07127 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI                           32955
    07128 #endif
    07129
    07130
    07141 #ifndef GL_COLOR_TABLE_SGI
    07142 #define GL_COLOR_TABLE_SGI                                            32976
    07143 #endif
    07144
    07145 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE_SGI
    07146 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI                           32977
    07147 #endif
    07148
    07149 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
    07150 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI                          32978
    07151 #endif
    07152
    07153 #ifndef GL_PROXY_COLOR_TABLE_SGI
    07154 #define GL_PROXY_COLOR_TABLE_SGI                                      32979
    07155 #endif
    07156
    07157 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
    07158 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI                     32980
    07159 #endif
    07160
    07161 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
    07162 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI                    32981
    07163 #endif
    07164
    07165 #ifndef GL_COLOR_TABLE_SCALE_SGI
    07166 #define GL_COLOR_TABLE_SCALE_SGI                                      32982
    07167 #endif
    07168
    07169 #ifndef GL_COLOR_TABLE_BIAS_SGI
    07170 #define GL_COLOR_TABLE_BIAS_SGI                                       32983
    07171 #endif
    07172
    07173 #ifndef GL_COLOR_TABLE_FORMAT_SGI
    07174 #define GL_COLOR_TABLE_FORMAT_SGI                                     32984
    07175 #endif
    07176
    07177 #ifndef GL_COLOR_TABLE_WIDTH_SGI
    07178 #define GL_COLOR_TABLE_WIDTH_SGI                                      32985
    07179 #endif
    07180
    07181 #ifndef GL_COLOR_TABLE_RED_SIZE_SGI
    07182 #define GL_COLOR_TABLE_RED_SIZE_SGI                                   32986
    07183 #endif
    07184
    07185 #ifndef GL_COLOR_TABLE_GREEN_SIZE_SGI
    07186 #define GL_COLOR_TABLE_GREEN_SIZE_SGI                                 32987
    07187 #endif
    07188
    07189 #ifndef GL_COLOR_TABLE_BLUE_SIZE_SGI
    07190 #define GL_COLOR_TABLE_BLUE_SIZE_SGI                                  32988
    07191 #endif
    07192
    07193 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_SGI
    07194 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI                                 32989
    07195 #endif
    07196
    07197 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_SGI
    07198 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI                             32990
    07199 #endif
    07200
    07201 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_SGI
    07202 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI                             32991
    07203 #endif
    07204
    07205
    07211 typedef GLvoid (csAPIENTRY* csGLCOLORTABLESGI) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
    07212 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLESGI) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    07213 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, const GLint* params);
    07214 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, const GLfloat* params);
    07215 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLESGI) (GLenum target, GLenum format, GLenum type, GLvoid* table);
    07216 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, GLint* params);
    07217 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, GLfloat* params);
    07218
    07223 #ifndef GL_TEXTURE_COLOR_TABLE_SGI
    07224 #define GL_TEXTURE_COLOR_TABLE_SGI                                    32956
    07225 #endif
    07226
    07227 #ifndef GL_PROXY_TEXTURE_COLOR_TABLE_SGI
    07228 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI                              32957
    07229 #endif
    07230
    07231
    07248 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
    07249 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FVSUN) (const GLubyte* c, const GLfloat* v);
    07250 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
    07251 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FVSUN) (const GLubyte* c, const GLfloat* v);
    07252 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
    07253 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* v);
    07254 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07255 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FVSUN) (const GLfloat* n, const GLfloat* v);
    07256 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07257 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* n, const GLfloat* v);
    07258 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
    07259 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* v);
    07260 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    07261 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* v);
    07262 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
    07263 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN) (const GLfloat* tc, const GLubyte* c, const GLfloat* v);
    07264 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
    07265 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* v);
    07266 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07267 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* n, const GLfloat* v);
    07268 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07269 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
    07270 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    07271 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
    07272 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FSUN) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
    07273 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FVSUN) (const GLuint* rc, const GLfloat* v);
    07274 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
    07275 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN) (const GLuint* rc, const GLubyte* c, const GLfloat* v);
    07276 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
    07277 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* v);
    07278 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07279 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* n, const GLfloat* v);
    07280 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07281 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
    07282 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
    07283 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* v);
    07284 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07285 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* n, const GLfloat* v);
    07286 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
    07287 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
    07288
    07293 #ifndef GL_FRAGMENT_PROGRAM_ARB
    07294 #define GL_FRAGMENT_PROGRAM_ARB                                       34820
    07295 #endif
    07296
    07297 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
    07298 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
    07299 #endif
    07300
    07301 #ifndef GL_PROGRAM_LENGTH_ARB
    07302 #define GL_PROGRAM_LENGTH_ARB                                         34343
    07303 #endif
    07304
    07305 #ifndef GL_PROGRAM_FORMAT_ARB
    07306 #define GL_PROGRAM_FORMAT_ARB                                         34934
    07307 #endif
    07308
    07309 #ifndef GL_PROGRAM_BINDING_ARB
    07310 #define GL_PROGRAM_BINDING_ARB                                        34423
    07311 #endif
    07312
    07313 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
    07314 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
    07315 #endif
    07316
    07317 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
    07318 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
    07319 #endif
    07320
    07321 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
    07322 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
    07323 #endif
    07324
    07325 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
    07326 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
    07327 #endif
    07328
    07329 #ifndef GL_PROGRAM_TEMPORARIES_ARB
    07330 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
    07331 #endif
    07332
    07333 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
    07334 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
    07335 #endif
    07336
    07337 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
    07338 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
    07339 #endif
    07340
    07341 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
    07342 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
    07343 #endif
    07344
    07345 #ifndef GL_PROGRAM_PARAMETERS_ARB
    07346 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
    07347 #endif
    07348
    07349 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
    07350 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
    07351 #endif
    07352
    07353 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
    07354 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
    07355 #endif
    07356
    07357 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
    07358 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
    07359 #endif
    07360
    07361 #ifndef GL_PROGRAM_ATTRIBS_ARB
    07362 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
    07363 #endif
    07364
    07365 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
    07366 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
    07367 #endif
    07368
    07369 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
    07370 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
    07371 #endif
    07372
    07373 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
    07374 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
    07375 #endif
    07376
    07377 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
    07378 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
    07379 #endif
    07380
    07381 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
    07382 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
    07383 #endif
    07384
    07385 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
    07386 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
    07387 #endif
    07388
    07389 #ifndef GL_PROGRAM_ALU_INSTRUCTIONS_ARB
    07390 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB                               34821
    07391 #endif
    07392
    07393 #ifndef GL_PROGRAM_TEX_INSTRUCTIONS_ARB
    07394 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB                               34822
    07395 #endif
    07396
    07397 #ifndef GL_PROGRAM_TEX_INDIRECTIONS_ARB
    07398 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB                               34823
    07399 #endif
    07400
    07401 #ifndef GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
    07402 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                        34824
    07403 #endif
    07404
    07405 #ifndef GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
    07406 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                        34825
    07407 #endif
    07408
    07409 #ifndef GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
    07410 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                        34826
    07411 #endif
    07412
    07413 #ifndef GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
    07414 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB                           34827
    07415 #endif
    07416
    07417 #ifndef GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
    07418 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB                           34828
    07419 #endif
    07420
    07421 #ifndef GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
    07422 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB                           34829
    07423 #endif
    07424
    07425 #ifndef GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
    07426 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                    34830
    07427 #endif
    07428
    07429 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
    07430 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                    34831
    07431 #endif
    07432
    07433 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
    07434 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                    34832
    07435 #endif
    07436
    07437 #ifndef GL_PROGRAM_STRING_ARB
    07438 #define GL_PROGRAM_STRING_ARB                                         34344
    07439 #endif
    07440
    07441 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
    07442 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
    07443 #endif
    07444
    07445 #ifndef GL_CURRENT_MATRIX_ARB
    07446 #define GL_CURRENT_MATRIX_ARB                                         34369
    07447 #endif
    07448
    07449 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
    07450 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
    07451 #endif
    07452
    07453 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
    07454 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
    07455 #endif
    07456
    07457 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
    07458 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
    07459 #endif
    07460
    07461 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
    07462 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
    07463 #endif
    07464
    07465 #ifndef GL_MAX_TEXTURE_COORDS_ARB
    07466 #define GL_MAX_TEXTURE_COORDS_ARB                                     34929
    07467 #endif
    07468
    07469 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
    07470 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                                34930
    07471 #endif
    07472
    07473 #ifndef GL_PROGRAM_ERROR_STRING_ARB
    07474 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
    07475 #endif
    07476
    07477 #ifndef GL_MATRIX0_ARB
    07478 #define GL_MATRIX0_ARB                                                35008
    07479 #endif
    07480
    07481 #ifndef GL_MATRIX1_ARB
    07482 #define GL_MATRIX1_ARB                                                35009
    07483 #endif
    07484
    07485 #ifndef GL_MATRIX2_ARB
    07486 #define GL_MATRIX2_ARB                                                35010
    07487 #endif
    07488
    07489 #ifndef GL_MATRIX3_ARB
    07490 #define GL_MATRIX3_ARB                                                35011
    07491 #endif
    07492
    07493 #ifndef GL_MATRIX4_ARB
    07494 #define GL_MATRIX4_ARB                                                35012
    07495 #endif
    07496
    07497 #ifndef GL_MATRIX5_ARB
    07498 #define GL_MATRIX5_ARB                                                35013
    07499 #endif
    07500
    07501 #ifndef GL_MATRIX6_ARB
    07502 #define GL_MATRIX6_ARB                                                35014
    07503 #endif
    07504
    07505 #ifndef GL_MATRIX7_ARB
    07506 #define GL_MATRIX7_ARB                                                35015
    07507 #endif
    07508
    07509 #ifndef GL_MATRIX8_ARB
    07510 #define GL_MATRIX8_ARB                                                35016
    07511 #endif
    07512
    07513 #ifndef GL_MATRIX9_ARB
    07514 #define GL_MATRIX9_ARB                                                35017
    07515 #endif
    07516
    07517 #ifndef GL_MATRIX10_ARB
    07518 #define GL_MATRIX10_ARB                                               35018
    07519 #endif
    07520
    07521 #ifndef GL_MATRIX11_ARB
    07522 #define GL_MATRIX11_ARB                                               35019
    07523 #endif
    07524
    07525 #ifndef GL_MATRIX12_ARB
    07526 #define GL_MATRIX12_ARB                                               35020
    07527 #endif
    07528
    07529 #ifndef GL_MATRIX13_ARB
    07530 #define GL_MATRIX13_ARB                                               35021
    07531 #endif
    07532
    07533 #ifndef GL_MATRIX14_ARB
    07534 #define GL_MATRIX14_ARB                                               35022
    07535 #endif
    07536
    07537 #ifndef GL_MATRIX15_ARB
    07538 #define GL_MATRIX15_ARB                                               35023
    07539 #endif
    07540
    07541 #ifndef GL_MATRIX16_ARB
    07542 #define GL_MATRIX16_ARB                                               35024
    07543 #endif
    07544
    07545 #ifndef GL_MATRIX17_ARB
    07546 #define GL_MATRIX17_ARB                                               35025
    07547 #endif
    07548
    07549 #ifndef GL_MATRIX18_ARB
    07550 #define GL_MATRIX18_ARB                                               35026
    07551 #endif
    07552
    07553 #ifndef GL_MATRIX19_ARB
    07554 #define GL_MATRIX19_ARB                                               35027
    07555 #endif
    07556
    07557 #ifndef GL_MATRIX20_ARB
    07558 #define GL_MATRIX20_ARB                                               35028
    07559 #endif
    07560
    07561 #ifndef GL_MATRIX21_ARB
    07562 #define GL_MATRIX21_ARB                                               35029
    07563 #endif
    07564
    07565 #ifndef GL_MATRIX22_ARB
    07566 #define GL_MATRIX22_ARB                                               35030
    07567 #endif
    07568
    07569 #ifndef GL_MATRIX23_ARB
    07570 #define GL_MATRIX23_ARB                                               35031
    07571 #endif
    07572
    07573 #ifndef GL_MATRIX24_ARB
    07574 #define GL_MATRIX24_ARB                                               35032
    07575 #endif
    07576
    07577 #ifndef GL_MATRIX25_ARB
    07578 #define GL_MATRIX25_ARB                                               35033
    07579 #endif
    07580
    07581 #ifndef GL_MATRIX26_ARB
    07582 #define GL_MATRIX26_ARB                                               35034
    07583 #endif
    07584
    07585 #ifndef GL_MATRIX27_ARB
    07586 #define GL_MATRIX27_ARB                                               35035
    07587 #endif
    07588
    07589 #ifndef GL_MATRIX28_ARB
    07590 #define GL_MATRIX28_ARB                                               35036
    07591 #endif
    07592
    07593 #ifndef GL_MATRIX29_ARB
    07594 #define GL_MATRIX29_ARB                                               35037
    07595 #endif
    07596
    07597 #ifndef GL_MATRIX30_ARB
    07598 #define GL_MATRIX30_ARB                                               35038
    07599 #endif
    07600
    07601 #ifndef GL_MATRIX31_ARB
    07602 #define GL_MATRIX31_ARB                                               35039
    07603 #endif
    07604
    07605
    07616 #ifndef GL_TEXT_FRAGMENT_SHADER_ATI
    07617 #define GL_TEXT_FRAGMENT_SHADER_ATI                                   33280
    07618 #endif
    07619
    07620
    07631 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE
    07632 #define GL_UNPACK_CLIENT_STORAGE_APPLE                                34226
    07633 #endif
    07634
    07635
    07646 #ifndef GL_ELEMENT_ARRAY_APPLE
    07647 #define GL_ELEMENT_ARRAY_APPLE                                        34664
    07648 #endif
    07649
    07650 #ifndef GL_ELEMENT_ARRAY_TYPE_APPLE
    07651 #define GL_ELEMENT_ARRAY_TYPE_APPLE                                   34665
    07652 #endif
    07653
    07654 #ifndef GL_ELEMENT_ARRAY_POINTER_APPLE
    07655 #define GL_ELEMENT_ARRAY_POINTER_APPLE                                34666
    07656 #endif
    07657
    07658
    07664 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERAPPLE) (GLenum type, const GLvoid* pointer);
    07665 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYAPPLE) (GLenum mode, GLint first, GLsizei count);
    07666 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
    07667 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYAPPLE) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
    07668 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
    07669
    07674 #ifndef GL_DRAW_PIXELS_APPLE
    07675 #define GL_DRAW_PIXELS_APPLE                                          35338
    07676 #endif
    07677
    07678 #ifndef GL_FENCE_APPLE
    07679 #define GL_FENCE_APPLE                                                35339
    07680 #endif
    07681
    07682
    07688 typedef GLvoid (csAPIENTRY* csGLGENFENCESAPPLE) (GLsizei n, GLuint* fences);
    07689 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESAPPLE) (GLsizei n, const GLuint* fences);
    07690 typedef GLvoid (csAPIENTRY* csGLSETFENCEAPPLE) (GLuint fence);
    07691 typedef GLboolean (csAPIENTRY* csGLISFENCEAPPLE) (GLuint fence);
    07692 typedef GLboolean (csAPIENTRY* csGLTESTFENCEAPPLE) (GLuint fence);
    07693 typedef GLvoid (csAPIENTRY* csGLFINISHFENCEAPPLE) (GLuint fence);
    07694 typedef GLboolean (csAPIENTRY* csGLTESTOBJECTAPPLE) (GLenum object, GLuint name);
    07695 typedef GLvoid (csAPIENTRY* csGLFINISHOBJECTAPPLE) (GLenum object, GLint name);
    07696
    07701 #ifndef GL_VERTEX_ARRAY_BINDING_APPLE
    07702 #define GL_VERTEX_ARRAY_BINDING_APPLE                                 34229
    07703 #endif
    07704
    07705
    07711 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXARRAYAPPLE) (GLuint array);
    07712 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
    07713 typedef GLvoid (csAPIENTRY* csGLGENVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
    07714 typedef GLboolean (csAPIENTRY* csGLISVERTEXARRAYAPPLE) (GLuint array);
    07715
    07720 #ifndef GL_VERTEX_ARRAY_RANGE_APPLE
    07721 #define GL_VERTEX_ARRAY_RANGE_APPLE                                   34077
    07722 #endif
    07723
    07724 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE
    07725 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE                            34078
    07726 #endif
    07727
    07728 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE
    07729 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE                       34080
    07730 #endif
    07731
    07732 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_APPLE
    07733 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE                           34081
    07734 #endif
    07735
    07736 #ifndef GL_VERTEX_ARRAY_STORAGE_HINT_APPLE
    07737 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE                            34079
    07738 #endif
    07739
    07740 #ifndef GL_STORAGE_CACHED_APPLE
    07741 #define GL_STORAGE_CACHED_APPLE                                       34238
    07742 #endif
    07743
    07744 #ifndef GL_STORAGE_SHARED_APPLE
    07745 #define GL_STORAGE_SHARED_APPLE                                       34239
    07746 #endif
    07747
    07748
    07754 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
    07755 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
    07756 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYPARAMETERIAPPLE) (GLenum pname, GLint param);
    07757
    07759 #ifdef _WIN32
    07760
    07763 #ifndef WGL_NUMBER_PIXEL_FORMATS_ARB
    07764 #define WGL_NUMBER_PIXEL_FORMATS_ARB                                   8192
    07765 #endif
    07766
    07767 #ifndef WGL_DRAW_TO_WINDOW_ARB
    07768 #define WGL_DRAW_TO_WINDOW_ARB                                         8193
    07769 #endif
    07770
    07771 #ifndef WGL_DRAW_TO_BITMAP_ARB
    07772 #define WGL_DRAW_TO_BITMAP_ARB                                         8194
    07773 #endif
    07774
    07775 #ifndef WGL_ACCELERATION_ARB
    07776 #define WGL_ACCELERATION_ARB                                           8195
    07777 #endif
    07778
    07779 #ifndef WGL_NEED_PALETTE_ARB
    07780 #define WGL_NEED_PALETTE_ARB                                           8196
    07781 #endif
    07782
    07783 #ifndef WGL_NEED_SYSTEM_PALETTE_ARB
    07784 #define WGL_NEED_SYSTEM_PALETTE_ARB                                    8197
    07785 #endif
    07786
    07787 #ifndef WGL_SWAP_LAYER_BUFFERS_ARB
    07788 #define WGL_SWAP_LAYER_BUFFERS_ARB                                     8198
    07789 #endif
    07790
    07791 #ifndef WGL_SWAP_METHOD_ARB
    07792 #define WGL_SWAP_METHOD_ARB                                            8199
    07793 #endif
    07794
    07795 #ifndef WGL_NUMBER_OVERLAYS_ARB
    07796 #define WGL_NUMBER_OVERLAYS_ARB                                        8200
    07797 #endif
    07798
    07799 #ifndef WGL_NUMBER_UNDERLAYS_ARB
    07800 #define WGL_NUMBER_UNDERLAYS_ARB                                       8201
    07801 #endif
    07802
    07803 #ifndef WGL_TRANSPARENT_ARB
    07804 #define WGL_TRANSPARENT_ARB                                            8202
    07805 #endif
    07806
    07807 #ifndef WGL_TRANSPARENT_RED_VALUE_ARB
    07808 #define WGL_TRANSPARENT_RED_VALUE_ARB                                  8247
    07809 #endif
    07810
    07811 #ifndef WGL_TRANSPARENT_GREEN_VALUE_ARB
    07812 #define WGL_TRANSPARENT_GREEN_VALUE_ARB                                8248
    07813 #endif
    07814
    07815 #ifndef WGL_TRANSPARENT_BLUE_VALUE_ARB
    07816 #define WGL_TRANSPARENT_BLUE_VALUE_ARB                                 8249
    07817 #endif
    07818
    07819 #ifndef WGL_TRANSPARENT_ALPHA_VALUE_ARB
    07820 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB                                8250
    07821 #endif
    07822
    07823 #ifndef WGL_TRANSPARENT_INDEX_VALUE_ARB
    07824 #define WGL_TRANSPARENT_INDEX_VALUE_ARB                                8251
    07825 #endif
    07826
    07827 #ifndef WGL_SHARE_DEPTH_ARB
    07828 #define WGL_SHARE_DEPTH_ARB                                            8204
    07829 #endif
    07830
    07831 #ifndef WGL_SHARE_STENCIL_ARB
    07832 #define WGL_SHARE_STENCIL_ARB                                          8205
    07833 #endif
    07834
    07835 #ifndef WGL_SHARE_ACCUM_ARB
    07836 #define WGL_SHARE_ACCUM_ARB                                            8206
    07837 #endif
    07838
    07839 #ifndef WGL_SUPPORT_GDI_ARB
    07840 #define WGL_SUPPORT_GDI_ARB                                            8207
    07841 #endif
    07842
    07843 #ifndef WGL_SUPPORT_OPENGL_ARB
    07844 #define WGL_SUPPORT_OPENGL_ARB                                         8208
    07845 #endif
    07846
    07847 #ifndef WGL_DOUBLE_BUFFER_ARB
    07848 #define WGL_DOUBLE_BUFFER_ARB                                          8209
    07849 #endif
    07850
    07851 #ifndef WGL_STEREO_ARB
    07852 #define WGL_STEREO_ARB                                                 8210
    07853 #endif
    07854
    07855 #ifndef WGL_PIXEL_TYPE_ARB
    07856 #define WGL_PIXEL_TYPE_ARB                                             8211
    07857 #endif
    07858
    07859 #ifndef WGL_COLOR_BITS_ARB
    07860 #define WGL_COLOR_BITS_ARB                                             8212
    07861 #endif
    07862
    07863 #ifndef WGL_RED_BITS_ARB
    07864 #define WGL_RED_BITS_ARB                                               8213
    07865 #endif
    07866
    07867 #ifndef WGL_RED_SHIFT_ARB
    07868 #define WGL_RED_SHIFT_ARB                                              8214
    07869 #endif
    07870
    07871 #ifndef WGL_GREEN_BITS_ARB
    07872 #define WGL_GREEN_BITS_ARB                                             8215
    07873 #endif
    07874
    07875 #ifndef WGL_GREEN_SHIFT_ARB
    07876 #define WGL_GREEN_SHIFT_ARB                                            8216
    07877 #endif
    07878
    07879 #ifndef WGL_BLUE_BITS_ARB
    07880 #define WGL_BLUE_BITS_ARB                                              8217
    07881 #endif
    07882
    07883 #ifndef WGL_BLUE_SHIFT_ARB
    07884 #define WGL_BLUE_SHIFT_ARB                                             8218
    07885 #endif
    07886
    07887 #ifndef WGL_ALPHA_BITS_ARB
    07888 #define WGL_ALPHA_BITS_ARB                                             8219
    07889 #endif
    07890
    07891 #ifndef WGL_ALPHA_SHIFT_ARB
    07892 #define WGL_ALPHA_SHIFT_ARB                                            8220
    07893 #endif
    07894
    07895 #ifndef WGL_ACCUM_BITS_ARB
    07896 #define WGL_ACCUM_BITS_ARB                                             8221
    07897 #endif
    07898
    07899 #ifndef WGL_ACCUM_RED_BITS_ARB
    07900 #define WGL_ACCUM_RED_BITS_ARB                                         8222
    07901 #endif
    07902
    07903 #ifndef WGL_ACCUM_GREEN_BITS_ARB
    07904 #define WGL_ACCUM_GREEN_BITS_ARB                                       8223
    07905 #endif
    07906
    07907 #ifndef WGL_ACCUM_BLUE_BITS_ARB
    07908 #define WGL_ACCUM_BLUE_BITS_ARB                                        8224
    07909 #endif
    07910
    07911 #ifndef WGL_ACCUM_ALPHA_BITS_ARB
    07912 #define WGL_ACCUM_ALPHA_BITS_ARB                                       8225
    07913 #endif
    07914
    07915 #ifndef WGL_DEPTH_BITS_ARB
    07916 #define WGL_DEPTH_BITS_ARB                                             8226
    07917 #endif
    07918
    07919 #ifndef WGL_STENCIL_BITS_ARB
    07920 #define WGL_STENCIL_BITS_ARB                                           8227
    07921 #endif
    07922
    07923 #ifndef WGL_AUX_BUFFERS_ARB
    07924 #define WGL_AUX_BUFFERS_ARB                                            8228
    07925 #endif
    07926
    07927 #ifndef WGL_NO_ACCELERATION_ARB
    07928 #define WGL_NO_ACCELERATION_ARB                                        8229
    07929 #endif
    07930
    07931 #ifndef WGL_GENERIC_ACCELERATION_ARB
    07932 #define WGL_GENERIC_ACCELERATION_ARB                                   8230
    07933 #endif
    07934
    07935 #ifndef WGL_FULL_ACCELERATION_ARB
    07936 #define WGL_FULL_ACCELERATION_ARB                                      8231
    07937 #endif
    07938
    07939 #ifndef WGL_SWAP_EXCHANGE_ARB
    07940 #define WGL_SWAP_EXCHANGE_ARB                                          8232
    07941 #endif
    07942
    07943 #ifndef WGL_SWAP_COPY_ARB
    07944 #define WGL_SWAP_COPY_ARB                                              8233
    07945 #endif
    07946
    07947 #ifndef WGL_SWAP_UNDEFINED_ARB
    07948 #define WGL_SWAP_UNDEFINED_ARB                                         8234
    07949 #endif
    07950
    07951 #ifndef WGL_TYPE_RGBA_ARB
    07952 #define WGL_TYPE_RGBA_ARB                                              8235
    07953 #endif
    07954
    07955 #ifndef WGL_TYPE_COLORINDEX_ARB
    07956 #define WGL_TYPE_COLORINDEX_ARB                                        8236
    07957 #endif
    07958
    07959
    07965 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLint* piValues);
    07966 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLfloat* pfValues);
    07967 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATARB) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
    07968
    07970 #endif
    07971
    07972 #ifdef _WIN32
    07973
    07976 #ifndef WGL_ERROR_INVALID_PIXEL_TYPE_ARB
    07977 #define WGL_ERROR_INVALID_PIXEL_TYPE_ARB                               8259
    07978 #endif
    07979
    07980 #ifndef WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB
    07981 #define WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB                     8276
    07982 #endif
    07983
    07984
    07990 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTARB) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
    07991 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCARB) ();
    07992
    07994 #endif
    07995
    07996 #ifdef _WIN32
    07997
    08000 #ifndef WGL_DRAW_TO_PBUFFER_ARB
    08001 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
    08002 #endif
    08003
    08004 #ifndef WGL_DRAW_TO_PBUFFER_ARB
    08005 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
    08006 #endif
    08007
    08008 #ifndef WGL_MAX_PBUFFER_PIXELS_ARB
    08009 #define WGL_MAX_PBUFFER_PIXELS_ARB                                     8238
    08010 #endif
    08011
    08012 #ifndef WGL_MAX_PBUFFER_WIDTH_ARB
    08013 #define WGL_MAX_PBUFFER_WIDTH_ARB                                      8239
    08014 #endif
    08015
    08016 #ifndef WGL_MAX_PBUFFER_HEIGHT_ARB
    08017 #define WGL_MAX_PBUFFER_HEIGHT_ARB                                     8240
    08018 #endif
    08019
    08020 #ifndef WGL_PBUFFER_LARGEST_ARB
    08021 #define WGL_PBUFFER_LARGEST_ARB                                        8243
    08022 #endif
    08023
    08024 #ifndef WGL_PBUFFER_WIDTH_ARB
    08025 #define WGL_PBUFFER_WIDTH_ARB                                          8244
    08026 #endif
    08027
    08028 #ifndef WGL_PBUFFER_HEIGHT_ARB
    08029 #define WGL_PBUFFER_HEIGHT_ARB                                         8245
    08030 #endif
    08031
    08032 #ifndef WGL_PBUFFER_LOST_ARB
    08033 #define WGL_PBUFFER_LOST_ARB                                           8246
    08034 #endif
    08035
    08036
    08042 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFERARB) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
    08043 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCARB) (HANDLE hPbuffer);
    08044 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCARB) (HANDLE hPbuffer, HDC hDC);
    08045 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFERARB) (HANDLE hPbuffer);
    08046 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFERARB) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
    08047
    08049 #endif
    08050
    08051 #ifdef _WIN32
    08052
    08061 typedef BOOL (csAPIENTRY* csWGLSWAPINTERVALEXT) (GLint interval);
    08062 typedef GLint (csAPIENTRY* csWGLGETSWAPINTERVALEXT) ();
    08063
    08065 #endif
    08066
    08067 #ifdef _WIN32
    08068
    08071 #ifndef WGL_BIND_TO_TEXTURE_RGB_ARB
    08072 #define WGL_BIND_TO_TEXTURE_RGB_ARB                                    8304
    08073 #endif
    08074
    08075 #ifndef WGL_BIND_TO_TEXTURE_RGBA_ARB
    08076 #define WGL_BIND_TO_TEXTURE_RGBA_ARB                                   8305
    08077 #endif
    08078
    08079 #ifndef WGL_TEXTURE_FORMAT_ARB
    08080 #define WGL_TEXTURE_FORMAT_ARB                                         8306
    08081 #endif
    08082
    08083 #ifndef WGL_TEXTURE_TARGET_ARB
    08084 #define WGL_TEXTURE_TARGET_ARB                                         8307
    08085 #endif
    08086
    08087 #ifndef WGL_MIPMAP_TEXTURE_ARB
    08088 #define WGL_MIPMAP_TEXTURE_ARB                                         8308
    08089 #endif
    08090
    08091 #ifndef WGL_TEXTURE_RGB_ARB
    08092 #define WGL_TEXTURE_RGB_ARB                                            8309
    08093 #endif
    08094
    08095 #ifndef WGL_TEXTURE_RGBA_ARB
    08096 #define WGL_TEXTURE_RGBA_ARB                                           8310
    08097 #endif
    08098
    08099 #ifndef WGL_NO_TEXTURE_ARB
    08100 #define WGL_NO_TEXTURE_ARB                                             8311
    08101 #endif
    08102
    08103 #ifndef WGL_TEXTURE_CUBE_MAP_ARB
    08104 #define WGL_TEXTURE_CUBE_MAP_ARB                                       8312
    08105 #endif
    08106
    08107 #ifndef WGL_TEXTURE_1D_ARB
    08108 #define WGL_TEXTURE_1D_ARB                                             8313
    08109 #endif
    08110
    08111 #ifndef WGL_TEXTURE_2D_ARB
    08112 #define WGL_TEXTURE_2D_ARB                                             8314
    08113 #endif
    08114
    08115 #ifndef WGL_NO_TEXTURE_ARB
    08116 #define WGL_NO_TEXTURE_ARB                                             8311
    08117 #endif
    08118
    08119 #ifndef WGL_MIPMAP_LEVEL_ARB
    08120 #define WGL_MIPMAP_LEVEL_ARB                                           8315
    08121 #endif
    08122
    08123 #ifndef WGL_CUBE_MAP_FACE_ARB
    08124 #define WGL_CUBE_MAP_FACE_ARB                                          8316
    08125 #endif
    08126
    08127 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
    08128 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            8317
    08129 #endif
    08130
    08131 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
    08132 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            8318
    08133 #endif
    08134
    08135 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
    08136 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            8319
    08137 #endif
    08138
    08139 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
    08140 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            8320
    08141 #endif
    08142
    08143 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
    08144 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            8321
    08145 #endif
    08146
    08147 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
    08148 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            8322
    08149 #endif
    08150
    08151 #ifndef WGL_FRONT_LEFT_ARB
    08152 #define WGL_FRONT_LEFT_ARB                                             8323
    08153 #endif
    08154
    08155 #ifndef WGL_FRONT_RIGHT_ARB
    08156 #define WGL_FRONT_RIGHT_ARB                                            8324
    08157 #endif
    08158
    08159 #ifndef WGL_BACK_LEFT_ARB
    08160 #define WGL_BACK_LEFT_ARB                                              8325
    08161 #endif
    08162
    08163 #ifndef WGL_BACK_RIGHT_ARB
    08164 #define WGL_BACK_RIGHT_ARB                                             8326
    08165 #endif
    08166
    08167 #ifndef WGL_AUX0_ARB
    08168 #define WGL_AUX0_ARB                                                   8327
    08169 #endif
    08170
    08171 #ifndef WGL_AUX1_ARB
    08172 #define WGL_AUX1_ARB                                                   8328
    08173 #endif
    08174
    08175 #ifndef WGL_AUX2_ARB
    08176 #define WGL_AUX2_ARB                                                   8329
    08177 #endif
    08178
    08179 #ifndef WGL_AUX3_ARB
    08180 #define WGL_AUX3_ARB                                                   8330
    08181 #endif
    08182
    08183 #ifndef WGL_AUX4_ARB
    08184 #define WGL_AUX4_ARB                                                   8331
    08185 #endif
    08186
    08187 #ifndef WGL_AUX5_ARB
    08188 #define WGL_AUX5_ARB                                                   8332
    08189 #endif
    08190
    08191 #ifndef WGL_AUX6_ARB
    08192 #define WGL_AUX6_ARB                                                   8333
    08193 #endif
    08194
    08195 #ifndef WGL_AUX7_ARB
    08196 #define WGL_AUX7_ARB                                                   8334
    08197 #endif
    08198
    08199 #ifndef WGL_AUX8_ARB
    08200 #define WGL_AUX8_ARB                                                   8335
    08201 #endif
    08202
    08203 #ifndef WGL_AUX9_ARB
    08204 #define WGL_AUX9_ARB                                                   8336
    08205 #endif
    08206
    08207
    08213 typedef BOOL (csAPIENTRY* csWGLBINDTEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
    08214 typedef BOOL (csAPIENTRY* csWGLRELEASETEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
    08215 typedef BOOL (csAPIENTRY* csWGLSETPBUFFERATTRIBARB) (HANDLE hPbuffer, const GLint* piAttribList);
    08216
    08218 #endif
    08219
    08220 #ifdef _WIN32
    08221
    08230 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGEXT) ();
    08231
    08233 #endif
    08234
    08235 #ifdef _WIN32
    08236
    08245 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTEXT) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
    08246 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCEXT) ();
    08247
    08249 #endif
    08250
    08251 #ifdef _WIN32
    08252
    08255 #ifndef WGL_DRAW_TO_PBUFFER_EXT
    08256 #define WGL_DRAW_TO_PBUFFER_EXT                                        8237
    08257 #endif
    08258
    08259 #ifndef WGL_MAX_PBUFFER_PIXELS_EXT
    08260 #define WGL_MAX_PBUFFER_PIXELS_EXT                                     8238
    08261 #endif
    08262
    08263 #ifndef WGL_MAX_PBUFFER_WIDTH_EXT
    08264 #define WGL_MAX_PBUFFER_WIDTH_EXT                                      8239
    08265 #endif
    08266
    08267 #ifndef WGL_MAX_PBUFFER_HEIGHT_EXT
    08268 #define WGL_MAX_PBUFFER_HEIGHT_EXT                                     8240
    08269 #endif
    08270
    08271 #ifndef WGL_OPTIMAL_PBUFFER_WIDTH_EXT
    08272 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT                                  8241
    08273 #endif
    08274
    08275 #ifndef WGL_OPTIMAL_PBUFFER_HEIGHT_EXT
    08276 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT                                 8242
    08277 #endif
    08278
    08279 #ifndef WGL_PBUFFER_LARGEST_EXT
    08280 #define WGL_PBUFFER_LARGEST_EXT                                        8243
    08281 #endif
    08282
    08283 #ifndef WGL_PBUFFER_WIDTH_EXT
    08284 #define WGL_PBUFFER_WIDTH_EXT                                          8244
    08285 #endif
    08286
    08287 #ifndef WGL_PBUFFER_HEIGHT_EXT
    08288 #define WGL_PBUFFER_HEIGHT_EXT                                         8245
    08289 #endif
    08290
    08291
    08297 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFEREXT) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
    08298 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCEXT) (HANDLE hPbuffer);
    08299 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCEXT) (HANDLE hPbuffer, HDC hDC);
    08300 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFEREXT) (HANDLE hPbuffer);
    08301 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFEREXT) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
    08302
    08304 #endif
    08305
    08306 #ifdef _WIN32
    08307
    08310 #ifndef WGL_NUMBER_PIXEL_FORMATS_EXT
    08311 #define WGL_NUMBER_PIXEL_FORMATS_EXT                                   8192
    08312 #endif
    08313
    08314 #ifndef WGL_DRAW_TO_WINDOW_EXT
    08315 #define WGL_DRAW_TO_WINDOW_EXT                                         8193
    08316 #endif
    08317
    08318 #ifndef WGL_DRAW_TO_BITMAP_EXT
    08319 #define WGL_DRAW_TO_BITMAP_EXT                                         8194
    08320 #endif
    08321
    08322 #ifndef WGL_ACCELERATION_EXT
    08323 #define WGL_ACCELERATION_EXT                                           8195
    08324 #endif
    08325
    08326 #ifndef WGL_NEED_PALETTE_EXT
    08327 #define WGL_NEED_PALETTE_EXT                                           8196
    08328 #endif
    08329
    08330 #ifndef WGL_NEED_SYSTEM_PALETTE_EXT
    08331 #define WGL_NEED_SYSTEM_PALETTE_EXT                                    8197
    08332 #endif
    08333
    08334 #ifndef WGL_SWAP_LAYER_BUFFERS_EXT
    08335 #define WGL_SWAP_LAYER_BUFFERS_EXT                                     8198
    08336 #endif
    08337
    08338 #ifndef WGL_SWAP_METHOD_EXT
    08339 #define WGL_SWAP_METHOD_EXT                                            8199
    08340 #endif
    08341
    08342 #ifndef WGL_NUMBER_OVERLAYS_EXT
    08343 #define WGL_NUMBER_OVERLAYS_EXT                                        8200
    08344 #endif
    08345
    08346 #ifndef WGL_NUMBER_UNDERLAYS_EXT
    08347 #define WGL_NUMBER_UNDERLAYS_EXT                                       8201
    08348 #endif
    08349
    08350 #ifndef WGL_TRANSPARENT_EXT
    08351 #define WGL_TRANSPARENT_EXT                                            8202
    08352 #endif
    08353
    08354 #ifndef WGL_TRANSPARENT_VALUE_EXT
    08355 #define WGL_TRANSPARENT_VALUE_EXT                                      8203
    08356 #endif
    08357
    08358 #ifndef WGL_SHARE_DEPTH_EXT
    08359 #define WGL_SHARE_DEPTH_EXT                                            8204
    08360 #endif
    08361
    08362 #ifndef WGL_SHARE_STENCIL_EXT
    08363 #define WGL_SHARE_STENCIL_EXT                                          8205
    08364 #endif
    08365
    08366 #ifndef WGL_SHARE_ACCUM_EXT
    08367 #define WGL_SHARE_ACCUM_EXT                                            8206
    08368 #endif
    08369
    08370 #ifndef WGL_SUPPORT_GDI_EXT
    08371 #define WGL_SUPPORT_GDI_EXT                                            8207
    08372 #endif
    08373
    08374 #ifndef WGL_SUPPORT_OPENGL_EXT
    08375 #define WGL_SUPPORT_OPENGL_EXT                                         8208
    08376 #endif
    08377
    08378 #ifndef WGL_DOUBLE_BUFFER_EXT
    08379 #define WGL_DOUBLE_BUFFER_EXT                                          8209
    08380 #endif
    08381
    08382 #ifndef WGL_STEREO_EXT
    08383 #define WGL_STEREO_EXT                                                 8210
    08384 #endif
    08385
    08386 #ifndef WGL_PIXEL_TYPE_EXT
    08387 #define WGL_PIXEL_TYPE_EXT                                             8211
    08388 #endif
    08389
    08390 #ifndef WGL_COLOR_BITS_EXT
    08391 #define WGL_COLOR_BITS_EXT                                             8212
    08392 #endif
    08393
    08394 #ifndef WGL_RED_BITS_EXT
    08395 #define WGL_RED_BITS_EXT                                               8213
    08396 #endif
    08397
    08398 #ifndef WGL_RED_SHIFT_EXT
    08399 #define WGL_RED_SHIFT_EXT                                              8214
    08400 #endif
    08401
    08402 #ifndef WGL_GREEN_BITS_EXT
    08403 #define WGL_GREEN_BITS_EXT                                             8215
    08404 #endif
    08405
    08406 #ifndef WGL_GREEN_SHIFT_EXT
    08407 #define WGL_GREEN_SHIFT_EXT                                            8216
    08408 #endif
    08409
    08410 #ifndef WGL_BLUE_BITS_EXT
    08411 #define WGL_BLUE_BITS_EXT                                              8217
    08412 #endif
    08413
    08414 #ifndef WGL_BLUE_SHIFT_EXT
    08415 #define WGL_BLUE_SHIFT_EXT                                             8218
    08416 #endif
    08417
    08418 #ifndef WGL_ALPHA_BITS_EXT
    08419 #define WGL_ALPHA_BITS_EXT                                             8219
    08420 #endif
    08421
    08422 #ifndef WGL_ALPHA_SHIFT_EXT
    08423 #define WGL_ALPHA_SHIFT_EXT                                            8220
    08424 #endif
    08425
    08426 #ifndef WGL_ACCUM_BITS_EXT
    08427 #define WGL_ACCUM_BITS_EXT                                             8221
    08428 #endif
    08429
    08430 #ifndef WGL_ACCUM_RED_BITS_EXT
    08431 #define WGL_ACCUM_RED_BITS_EXT                                         8222
    08432 #endif
    08433
    08434 #ifndef WGL_ACCUM_GREEN_BITS_EXT
    08435 #define WGL_ACCUM_GREEN_BITS_EXT                                       8223
    08436 #endif
    08437
    08438 #ifndef WGL_ACCUM_BLUE_BITS_EXT
    08439 #define WGL_ACCUM_BLUE_BITS_EXT                                        8224
    08440 #endif
    08441
    08442 #ifndef WGL_ACCUM_ALPHA_BITS_EXT
    08443 #define WGL_ACCUM_ALPHA_BITS_EXT                                       8225
    08444 #endif
    08445
    08446 #ifndef WGL_DEPTH_BITS_EXT
    08447 #define WGL_DEPTH_BITS_EXT                                             8226
    08448 #endif
    08449
    08450 #ifndef WGL_STENCIL_BITS_EXT
    08451 #define WGL_STENCIL_BITS_EXT                                           8227
    08452 #endif
    08453
    08454 #ifndef WGL_AUX_BUFFERS_EXT
    08455 #define WGL_AUX_BUFFERS_EXT                                            8228
    08456 #endif
    08457
    08458 #ifndef WGL_NO_ACCELERATION_EXT
    08459 #define WGL_NO_ACCELERATION_EXT                                        8229
    08460 #endif
    08461
    08462 #ifndef WGL_GENERIC_ACCELERATION_EXT
    08463 #define WGL_GENERIC_ACCELERATION_EXT                                   8230
    08464 #endif
    08465
    08466 #ifndef WGL_FULL_ACCELERATION_EXT
    08467 #define WGL_FULL_ACCELERATION_EXT                                      8231
    08468 #endif
    08469
    08470 #ifndef WGL_SWAP_EXCHANGE_EXT
    08471 #define WGL_SWAP_EXCHANGE_EXT                                          8232
    08472 #endif
    08473
    08474 #ifndef WGL_SWAP_COPY_EXT
    08475 #define WGL_SWAP_COPY_EXT                                              8233
    08476 #endif
    08477
    08478 #ifndef WGL_SWAP_UNDEFINED_EXT
    08479 #define WGL_SWAP_UNDEFINED_EXT                                         8234
    08480 #endif
    08481
    08482 #ifndef WGL_TYPE_RGBA_EXT
    08483 #define WGL_TYPE_RGBA_EXT                                              8235
    08484 #endif
    08485
    08486 #ifndef WGL_TYPE_COLORINDEX_EXT
    08487 #define WGL_TYPE_COLORINDEX_EXT                                        8236
    08488 #endif
    08489
    08490
    08496 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLint* piValues);
    08497 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLfloat* pfValues);
    08498 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATEXT) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
    08499
    08501 #endif
    08502
    08503 #ifdef _WIN32
    08504
    08507 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D
    08508 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D                 8272
    08509 #endif
    08510
    08511 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D
    08512 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D                       8273
    08513 #endif
    08514
    08515 #ifndef WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D
    08516 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D                          8274
    08517 #endif
    08518
    08519 #ifndef WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D
    08520 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D                          8275
    08521 #endif
    08522
    08523
    08529 typedef BOOL (csAPIENTRY* csWGLGETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
    08530 typedef BOOL (csAPIENTRY* csWGLSETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
    08531
    08533 #endif
    08534
    08535 #ifdef _WIN32
    08536
    08539 #ifndef WGL_GAMMA_TABLE_SIZE_I3D
    08540 #define WGL_GAMMA_TABLE_SIZE_I3D                                       8270
    08541 #endif
    08542
    08543 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
    08544 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
    08545 #endif
    08546
    08547 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
    08548 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
    08549 #endif
    08550
    08551
    08557 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
    08558 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
    08559 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEI3D) (HDC hDC, GLint iEntries, GLushort* puRed, GLushort* puGreen, GLushort* puBlue);
    08560 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEI3D) (HDC hDC, GLint iEntries, const GLushort* puRed, const GLushort* puGreen, const GLushort* puBlue);
    08561
    08563 #endif
    08564
    08565 #ifdef _WIN32
    08566
    08569 #ifndef WGL_GENLOCK_SOURCE_MULTIVIEW_I3D
    08570 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D                               8260
    08571 #endif
    08572
    08573 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D
    08574 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D                           8261
    08575 #endif
    08576
    08577 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D
    08578 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D                          8262
    08579 #endif
    08580
    08581 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D
    08582 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D                            8263
    08583 #endif
    08584
    08585 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D
    08586 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D                            8264
    08587 #endif
    08588
    08589 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D
    08590 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D                           8265
    08591 #endif
    08592
    08593 #ifndef WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D
    08594 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D                            8266
    08595 #endif
    08596
    08597 #ifndef WGL_GENLOCK_SOURCE_EDGE_RISING_I3D
    08598 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D                             8267
    08599 #endif
    08600
    08601 #ifndef WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D
    08602 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D                               8268
    08603 #endif
    08604
    08605
    08611 typedef BOOL (csAPIENTRY* csWGLENABLEGENLOCKI3D) (HDC hDC);
    08612 typedef BOOL (csAPIENTRY* csWGLDISABLEGENLOCKI3D) (HDC hDC);
    08613 typedef BOOL (csAPIENTRY* csWGLISENABLEDGENLOCKI3D) (HDC hDC, BOOL* pFlag);
    08614 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEI3D) (HDC hDC, GLuint uSource);
    08615 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEI3D) (HDC hDC, GLuint* uSource);
    08616 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint uEdge);
    08617 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint* uEdge);
    08618 typedef BOOL (csAPIENTRY* csWGLGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint uRate);
    08619 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint* uRate);
    08620 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint uDelay);
    08621 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint* uDelay);
    08622 typedef BOOL (csAPIENTRY* csWGLQUERYGENLOCKMAXSOURCEDELAYI3D) (HDC hDC, GLuint* uMaxLineDelay, GLuint* uMaxPixelDelay);
    08623
    08625 #endif
    08626
    08630 #ifndef GL_MATRIX_PALETTE_ARB
    08631 #define GL_MATRIX_PALETTE_ARB                                         34880
    08632 #endif
    08633
    08634 #ifndef GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB
    08635 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB                         34881
    08636 #endif
    08637
    08638 #ifndef GL_MAX_PALETTE_MATRICES_ARB
    08639 #define GL_MAX_PALETTE_MATRICES_ARB                                   34882
    08640 #endif
    08641
    08642 #ifndef GL_CURRENT_PALETTE_MATRIX_ARB
    08643 #define GL_CURRENT_PALETTE_MATRIX_ARB                                 34883
    08644 #endif
    08645
    08646 #ifndef GL_MATRIX_INDEX_ARRAY_ARB
    08647 #define GL_MATRIX_INDEX_ARRAY_ARB                                     34884
    08648 #endif
    08649
    08650 #ifndef GL_CURRENT_MATRIX_INDEX_ARB
    08651 #define GL_CURRENT_MATRIX_INDEX_ARB                                   34885
    08652 #endif
    08653
    08654 #ifndef GL_MATRIX_INDEX_ARRAY_SIZE_ARB
    08655 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB                                34886
    08656 #endif
    08657
    08658 #ifndef GL_MATRIX_INDEX_ARRAY_TYPE_ARB
    08659 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB                                34887
    08660 #endif
    08661
    08662 #ifndef GL_MATRIX_INDEX_ARRAY_STRIDE_ARB
    08663 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB                              34888
    08664 #endif
    08665
    08666 #ifndef GL_MATRIX_INDEX_ARRAY_POINTER_ARB
    08667 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB                             34889
    08668 #endif
    08669
    08670
    08676 typedef GLvoid (csAPIENTRY* csGLCURRENTPALETTEMATRIXARB) (GLint index);
    08677 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUBVARB) (GLint size, GLubyte* indices);
    08678 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUSVARB) (GLint size, GLushort* indices);
    08679 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUIVARB) (GLint size, GLuint* indices);
    08680 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
    08681
    08686 #ifndef GL_ELEMENT_ARRAY_TYPE_NV
    08687 #define GL_ELEMENT_ARRAY_TYPE_NV                                      34665
    08688 #endif
    08689
    08690 #ifndef GL_ELEMENT_ARRAY_POINTER_NV
    08691 #define GL_ELEMENT_ARRAY_POINTER_NV                                   34666
    08692 #endif
    08693
    08694
    08700 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERNV) (GLenum type, const GLvoid* pointer);
    08701 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYNV) (GLenum mode, GLint first, GLsizei count);
    08702 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
    08703 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYNV) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
    08704 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
    08705
    08710 #ifndef GL_FLOAT_R_NV
    08711 #define GL_FLOAT_R_NV                                                 34944
    08712 #endif
    08713
    08714 #ifndef GL_FLOAT_RG_NV
    08715 #define GL_FLOAT_RG_NV                                                34945
    08716 #endif
    08717
    08718 #ifndef GL_FLOAT_RGB_NV
    08719 #define GL_FLOAT_RGB_NV                                               34946
    08720 #endif
    08721
    08722 #ifndef GL_FLOAT_RGBA_NV
    08723 #define GL_FLOAT_RGBA_NV                                              34947
    08724 #endif
    08725
    08726 #ifndef GL_FLOAT_R16_NV
    08727 #define GL_FLOAT_R16_NV                                               34948
    08728 #endif
    08729
    08730 #ifndef GL_FLOAT_R32_NV
    08731 #define GL_FLOAT_R32_NV                                               34949
    08732 #endif
    08733
    08734 #ifndef GL_FLOAT_RG16_NV
    08735 #define GL_FLOAT_RG16_NV                                              34950
    08736 #endif
    08737
    08738 #ifndef GL_FLOAT_RG32_NV
    08739 #define GL_FLOAT_RG32_NV                                              34951
    08740 #endif
    08741
    08742 #ifndef GL_FLOAT_RGB16_NV
    08743 #define GL_FLOAT_RGB16_NV                                             34952
    08744 #endif
    08745
    08746 #ifndef GL_FLOAT_RGB32_NV
    08747 #define GL_FLOAT_RGB32_NV                                             34953
    08748 #endif
    08749
    08750 #ifndef GL_FLOAT_RGBA16_NV
    08751 #define GL_FLOAT_RGBA16_NV                                            34954
    08752 #endif
    08753
    08754 #ifndef GL_FLOAT_RGBA32_NV
    08755 #define GL_FLOAT_RGBA32_NV                                            34955
    08756 #endif
    08757
    08758 #ifndef GL_TEXTURE_FLOAT_COMPONENTS_NV
    08759 #define GL_TEXTURE_FLOAT_COMPONENTS_NV                                34956
    08760 #endif
    08761
    08762 #ifndef GL_FLOAT_CLEAR_COLOR_VALUE_NV
    08763 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV                                 34957
    08764 #endif
    08765
    08766 #ifndef GL_FLOAT_RGBA_MODE_NV
    08767 #define GL_FLOAT_RGBA_MODE_NV                                         34958
    08768 #endif
    08769
    08770 #ifndef WGL_FLOAT_COMPONENTS_NV
    08771 #define WGL_FLOAT_COMPONENTS_NV                                        8368
    08772 #endif
    08773
    08774 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV
    08775 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV                       8369
    08776 #endif
    08777
    08778 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV
    08779 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV                      8370
    08780 #endif
    08781
    08782 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV
    08783 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV                     8371
    08784 #endif
    08785
    08786 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV
    08787 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV                    8372
    08788 #endif
    08789
    08790 #ifndef WGL_TEXTURE_FLOAT_R_NV
    08791 #define WGL_TEXTURE_FLOAT_R_NV                                         8373
    08792 #endif
    08793
    08794 #ifndef WGL_TEXTURE_FLOAT_RG_NV
    08795 #define WGL_TEXTURE_FLOAT_RG_NV                                        8374
    08796 #endif
    08797
    08798 #ifndef WGL_TEXTURE_FLOAT_RGB_NV
    08799 #define WGL_TEXTURE_FLOAT_RGB_NV                                       8375
    08800 #endif
    08801
    08802 #ifndef WGL_TEXTURE_FLOAT_RGBA_NV
    08803 #define WGL_TEXTURE_FLOAT_RGBA_NV                                      8376
    08804 #endif
    08805
    08806
    08817 #ifndef GL_FRAGMENT_PROGRAM_NV
    08818 #define GL_FRAGMENT_PROGRAM_NV                                        34928
    08819 #endif
    08820
    08821 #ifndef GL_MAX_TEXTURE_COORDS_NV
    08822 #define GL_MAX_TEXTURE_COORDS_NV                                      34929
    08823 #endif
    08824
    08825 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_NV
    08826 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV                                 34930
    08827 #endif
    08828
    08829 #ifndef GL_FRAGMENT_PROGRAM_BINDING_NV
    08830 #define GL_FRAGMENT_PROGRAM_BINDING_NV                                34931
    08831 #endif
    08832
    08833 #ifndef GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV
    08834 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV                   34920
    08835 #endif
    08836
    08837 #ifndef GL_PROGRAM_ERROR_STRING_NV
    08838 #define GL_PROGRAM_ERROR_STRING_NV                                    34932
    08839 #endif
    08840
    08841
    08847 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4FNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
    08848 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4DNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
    08849 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERFVNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat* params);
    08850 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERDVNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble* params);
    08851
    08856 #ifndef GL_PRIMITIVE_RESTART_NV
    08857 #define GL_PRIMITIVE_RESTART_NV                                       34136
    08858 #endif
    08859
    08860 #ifndef GL_PRIMITIVE_RESTART_INDEX_NV
    08861 #define GL_PRIMITIVE_RESTART_INDEX_NV                                 34137
    08862 #endif
    08863
    08864
    08870 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTNV) ();
    08871 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTINDEXNV) (GLuint index);
    08872
    08888 #ifndef GL_ARRAY_BUFFER_ARB
    08889 #define GL_ARRAY_BUFFER_ARB                                           34962
    08890 #endif
    08891
    08892 #ifndef GL_ELEMENT_ARRAY_BUFFER_ARB
    08893 #define GL_ELEMENT_ARRAY_BUFFER_ARB                                   34963
    08894 #endif
    08895
    08896 #ifndef GL_ARRAY_BUFFER_BINDING_ARB
    08897 #define GL_ARRAY_BUFFER_BINDING_ARB                                   34964
    08898 #endif
    08899
    08900 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB
    08901 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB                           34965
    08902 #endif
    08903
    08904 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING_ARB
    08905 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB                            34966
    08906 #endif
    08907
    08908 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING_ARB
    08909 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB                            34967
    08910 #endif
    08911
    08912 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING_ARB
    08913 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB                             34968
    08914 #endif
    08915
    08916 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING_ARB
    08917 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB                             34969
    08918 #endif
    08919
    08920 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB
    08921 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB                     34970
    08922 #endif
    08923
    08924 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB
    08925 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB                         34971
    08926 #endif
    08927
    08928 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB
    08929 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB                   34972
    08930 #endif
    08931
    08932 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
    08933 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB                    34973
    08934 #endif
    08935
    08936 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB
    08937 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB                            34974
    08938 #endif
    08939
    08940 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
    08941 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB                     34975
    08942 #endif
    08943
    08944 #ifndef GL_STREAM_DRAW_ARB
    08945 #define GL_STREAM_DRAW_ARB                                            35040
    08946 #endif
    08947
    08948 #ifndef GL_STREAM_READ_ARB
    08949 #define GL_STREAM_READ_ARB                                            35041
    08950 #endif
    08951
    08952 #ifndef GL_STREAM_COPY_ARB
    08953 #define GL_STREAM_COPY_ARB                                            35042
    08954 #endif
    08955
    08956 #ifndef GL_STATIC_DRAW_ARB
    08957 #define GL_STATIC_DRAW_ARB                                            35044
    08958 #endif
    08959
    08960 #ifndef GL_STATIC_READ_ARB
    08961 #define GL_STATIC_READ_ARB                                            35045
    08962 #endif
    08963
    08964 #ifndef GL_STATIC_COPY_ARB
    08965 #define GL_STATIC_COPY_ARB                                            35046
    08966 #endif
    08967
    08968 #ifndef GL_DYNAMIC_DRAW_ARB
    08969 #define GL_DYNAMIC_DRAW_ARB                                           35048
    08970 #endif
    08971
    08972 #ifndef GL_DYNAMIC_READ_ARB
    08973 #define GL_DYNAMIC_READ_ARB                                           35049
    08974 #endif
    08975
    08976 #ifndef GL_DYNAMIC_COPY_ARB
    08977 #define GL_DYNAMIC_COPY_ARB                                           35050
    08978 #endif
    08979
    08980 #ifndef GL_READ_ONLY_ARB
    08981 #define GL_READ_ONLY_ARB                                              35000
    08982 #endif
    08983
    08984 #ifndef GL_WRITE_ONLY_ARB
    08985 #define GL_WRITE_ONLY_ARB                                             35001
    08986 #endif
    08987
    08988 #ifndef GL_READ_WRITE_ARB
    08989 #define GL_READ_WRITE_ARB                                             35002
    08990 #endif
    08991
    08992 #ifndef GL_BUFFER_SIZE_ARB
    08993 #define GL_BUFFER_SIZE_ARB                                            34660
    08994 #endif
    08995
    08996 #ifndef GL_BUFFER_USAGE_ARB
    08997 #define GL_BUFFER_USAGE_ARB                                           34661
    08998 #endif
    08999
    09000 #ifndef GL_BUFFER_ACCESS_ARB
    09001 #define GL_BUFFER_ACCESS_ARB                                          35003
    09002 #endif
    09003
    09004 #ifndef GL_BUFFER_MAPPED_ARB
    09005 #define GL_BUFFER_MAPPED_ARB                                          35004
    09006 #endif
    09007
    09008 #ifndef GL_BUFFER_MAP_POINTER_ARB
    09009 #define GL_BUFFER_MAP_POINTER_ARB                                     35005
    09010 #endif
    09011
    09012
    09018 typedef GLvoid (csAPIENTRY* csGLBINDBUFFERARB) (GLenum target, GLuint buffer);
    09019 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERSARB) (GLsizei n, const GLuint* buffers);
    09020 typedef GLvoid (csAPIENTRY* csGLGENBUFFERSARB) (GLsizei n, GLuint* buffers);
    09021 typedef GLvoid (csAPIENTRY* csGLBUFFERDATAARB) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage);
    09022 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data);
    09023 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERARB) (GLenum target, GLenum access);
    09024 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFERARB) (GLenum target);
    09025 typedef GLboolean (csAPIENTRY* csGLISBUFFERARB) (GLuint buffer);
    09026 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data);
    09027 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERVARB) (GLenum target, GLenum pname, GLvoid** params);
    09028 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIVARB) (GLenum target, GLenum pname, GLint* params);
    09029
    09034 #ifndef GL_STENCIL_BACK_FUNC_ATI
    09035 #define GL_STENCIL_BACK_FUNC_ATI                                     0x8800
    09036 #endif
    09037
    09038 #ifndef GL_STENCIL_BACK_FAIL_ATI
    09039 #define GL_STENCIL_BACK_FAIL_ATI                                     0x8801
    09040 #endif
    09041
    09042 #ifndef GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI
    09043 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI                          0x8802
    09044 #endif
    09045
    09046 #ifndef GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI
    09047 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI                          0x8803
    09048 #endif
    09049
    09050
    09056 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATEATI) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
    09057 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATEATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
    09058
    09074 #ifndef GL_POINT_SPRITE_ARB
    09075 #define GL_POINT_SPRITE_ARB                                          0x8861
    09076 #endif
    09077
    09078 #ifndef GL_COORD_REPLACE_ARB
    09079 #define GL_COORD_REPLACE_ARB                                         0x8862
    09080 #endif
    09081
    09082
    09104 #ifndef GL_PROGRAM_OBJECT_ARB
    09105 #define GL_PROGRAM_OBJECT_ARB                                        0x8B40
    09106 #endif
    09107
    09108 #ifndef GL_OBJECT_TYPE_ARB
    09109 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
    09110 #endif
    09111
    09112 #ifndef GL_OBJECT_SUBTYPE_ARB
    09113 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
    09114 #endif
    09115
    09116 #ifndef GL_OBJECT_DELETE_STATUS_ARB
    09117 #define GL_OBJECT_DELETE_STATUS_ARB                                  0x8B80
    09118 #endif
    09119
    09120 #ifndef GL_OBJECT_COMPILE_STATUS_ARB
    09121 #define GL_OBJECT_COMPILE_STATUS_ARB                                 0x8B81
    09122 #endif
    09123
    09124 #ifndef GL_OBJECT_LINK_STATUS_ARB
    09125 #define GL_OBJECT_LINK_STATUS_ARB                                    0x8B82
    09126 #endif
    09127
    09128 #ifndef GL_OBJECT_VALIDATE_STATUS_ARB
    09129 #define GL_OBJECT_VALIDATE_STATUS_ARB                                0x8B83
    09130 #endif
    09131
    09132 #ifndef GL_OBJECT_INFO_LOG_LENGTH_ARB
    09133 #define GL_OBJECT_INFO_LOG_LENGTH_ARB                                0x8B84
    09134 #endif
    09135
    09136 #ifndef GL_OBJECT_ATTACHED_OBJECTS_ARB
    09137 #define GL_OBJECT_ATTACHED_OBJECTS_ARB                               0x8B85
    09138 #endif
    09139
    09140 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_ARB
    09141 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB                                0x8B86
    09142 #endif
    09143
    09144 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB
    09145 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB                     0x8B87
    09146 #endif
    09147
    09148 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
    09149 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB                           0x8B88
    09150 #endif
    09151
    09152 #ifndef GL_SHADER_OBJECT_ARB
    09153 #define GL_SHADER_OBJECT_ARB                                         0x8B48
    09154 #endif
    09155
    09156 #ifndef GL_FLOAT_VEC2_ARB
    09157 #define GL_FLOAT_VEC2_ARB                                            0x8B50
    09158 #endif
    09159
    09160 #ifndef GL_FLOAT_VEC3_ARB
    09161 #define GL_FLOAT_VEC3_ARB                                            0x8B51
    09162 #endif
    09163
    09164 #ifndef GL_FLOAT_VEC4_ARB
    09165 #define GL_FLOAT_VEC4_ARB                                            0x8B52
    09166 #endif
    09167
    09168 #ifndef GL_INT_VEC2_ARB
    09169 #define GL_INT_VEC2_ARB                                              0x8B53
    09170 #endif
    09171
    09172 #ifndef GL_INT_VEC3_ARB
    09173 #define GL_INT_VEC3_ARB                                              0x8B54
    09174 #endif
    09175
    09176 #ifndef GL_INT_VEC4_ARB
    09177 #define GL_INT_VEC4_ARB                                              0x8B55
    09178 #endif
    09179
    09180 #ifndef GL_BOOL
    09181 #define GL_BOOL                                                      0x8B56
    09182 #endif
    09183
    09184 #ifndef GL_BOOL_VEC2_ARB
    09185 #define GL_BOOL_VEC2_ARB                                             0x8B57
    09186 #endif
    09187
    09188 #ifndef GL_BOOL_VEC3_ARB
    09189 #define GL_BOOL_VEC3_ARB                                             0x8B58
    09190 #endif
    09191
    09192 #ifndef GL_BOOL_VEC4_ARB
    09193 #define GL_BOOL_VEC4_ARB                                             0x8B59
    09194 #endif
    09195
    09196 #ifndef GL_FLOAT_MAT2_ARB
    09197 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
    09198 #endif
    09199
    09200 #ifndef GL_FLOAT_MAT3_ARB
    09201 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
    09202 #endif
    09203
    09204 #ifndef GL_FLOAT_MAT4_ARB
    09205 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
    09206 #endif
    09207
    09208
    09214 typedef GLvoid (csAPIENTRY* csGLDELETEOBJECTARB) (GLhandleARB obj);
    09215 typedef GLhandleARB (csAPIENTRY* csGLGETHANDLEARB) (GLenum pname);
    09216 typedef GLvoid (csAPIENTRY* csGLDETACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB attachedObj);
    09217 typedef GLhandleARB (csAPIENTRY* csGLCREATESHADEROBJECTARB) (GLenum shaderType);
    09218 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCEARB) (GLhandleARB shaderObj, GLsizei count, const GLcharARB** string, const GLint* length);
    09219 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADERARB) (GLhandleARB shaderObj);
    09220 typedef GLhandleARB (csAPIENTRY* csGLCREATEPROGRAMOBJECTARB) ();
    09221 typedef GLvoid (csAPIENTRY* csGLATTACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB Obj);
    09222 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAMARB) (GLhandleARB programObj);
    09223 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAMOBJECTARB) (GLhandleARB programObj);
    09224 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAMARB) (GLhandleARB programObj);
    09225 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FARB) (GLint location, GLfloat v0);
    09226 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FARB) (GLint location, GLfloat v0, GLfloat v1);
    09227 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
    09228 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
    09229 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IARB) (GLint location, GLint v0);
    09230 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IARB) (GLint location, GLint v0, GLint v1);
    09231 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IARB) (GLint location, GLint v0, GLint v1, GLint v2);
    09232 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
    09233 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FVARB) (GLint location, GLsizei count, GLfloat* value);
    09234 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FVARB) (GLint location, GLsizei count, GLfloat* value);
    09235 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FVARB) (GLint location, GLsizei count, GLfloat* value);
    09236 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FVARB) (GLint location, GLsizei count, GLfloat* value);
    09237 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IVARB) (GLint location, GLsizei count, GLint* value);
    09238 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IVARB) (GLint location, GLsizei count, GLint* value);
    09239 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IVARB) (GLint location, GLsizei count, GLint* value);
    09240 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IVARB) (GLint location, GLsizei count, GLint* value);
    09241 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
    09242 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
    09243 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
    09244 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFVARB) (GLhandleARB obj, GLenum pname, GLfloat* params);
    09245 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIVARB) (GLhandleARB obj, GLenum pname, GLint* params);
    09246 typedef GLvoid (csAPIENTRY* csGLGETINFOLOGARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog);
    09247 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTSARB) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj);
    09248 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
    09249 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORMARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
    09250 typedef GLint (csAPIENTRY* csGLGETUNIFORMFVARB) (GLhandleARB programObj, GLint location, GLfloat* params);
    09251 typedef GLint (csAPIENTRY* csGLGETUNIFORMIVARB) (GLhandleARB programObj, GLint location, GLint* params);
    09252 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCEARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source);
    09253
    09258 #ifndef GL_FRAGMENT_SHADER_ARB
    09259 #define GL_FRAGMENT_SHADER_ARB                                       0x8B30
    09260 #endif
    09261
    09262 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
    09263 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB                       0x8B49
    09264 #endif
    09265
    09266 #ifndef GL_MAX_TEXTURE_COORDS_ARB
    09267 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
    09268 #endif
    09269
    09270 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
    09271 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
    09272 #endif
    09273
    09274 #ifndef GL_OBJECT_TYPE_ARB
    09275 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
    09276 #endif
    09277
    09278 #ifndef GL_OBJECT_SUBTYPE_ARB
    09279 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
    09280 #endif
    09281
    09282 #ifndef GL_SHADER_OBJECT_ARB
    09283 #define GL_SHADER_OBJECT_ARB                                         0x8B48
    09284 #endif
    09285
    09286
    09297 #ifndef GL_VERTEX_SHADER_ARB
    09298 #define GL_VERTEX_SHADER_ARB                                         0x8B31
    09299 #endif
    09300
    09301 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
    09302 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB                         0x8B4A
    09303 #endif
    09304
    09305 #ifndef GL_MAX_VARYING_FLOATS_ARB
    09306 #define GL_MAX_VARYING_FLOATS_ARB                                    0x8B4B
    09307 #endif
    09308
    09309 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
    09310 #define GL_MAX_VERTEX_ATTRIBS_ARB                                    0x8869
    09311 #endif
    09312
    09313 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
    09314 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
    09315 #endif
    09316
    09317 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
    09318 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB                        0x884C
    09319 #endif
    09320
    09321 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
    09322 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB                      0x884D
    09323 #endif
    09324
    09325 #ifndef GL_MAX_TEXTURE_COORDS_ARB
    09326 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
    09327 #endif
    09328
    09329 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
    09330 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                             0x8642
    09331 #endif
    09332
    09333 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
    09334 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                               0x8643
    09335 #endif
    09336
    09337 #ifndef GL_OBJECT_TYPE_ARB
    09338 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
    09339 #endif
    09340
    09341 #ifndef GL_OBJECT_SUBTYPE_ARB
    09342 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
    09343 #endif
    09344
    09345 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
    09346 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB                              0x8B89
    09347 #endif
    09348
    09349 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
    09350 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB                    0x8B8A
    09351 #endif
    09352
    09353 #ifndef GL_SHADER_OBJECT_ARB
    09354 #define GL_SHADER_OBJECT_ARB                                         0x8B48
    09355 #endif
    09356
    09357 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
    09358 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                           0x8622
    09359 #endif
    09360
    09361 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
    09362 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                              0x8623
    09363 #endif
    09364
    09365 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
    09366 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                            0x8624
    09367 #endif
    09368
    09369 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
    09370 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                              0x8625
    09371 #endif
    09372
    09373 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
    09374 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                        0x886A
    09375 #endif
    09376
    09377 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
    09378 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                 0x8626
    09379 #endif
    09380
    09381 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
    09382 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                           0x8645
    09383 #endif
    09384
    09385 #ifndef GL_FLOAT_VEC2_ARB
    09386 #define GL_FLOAT_VEC2_ARB                                            0x8B50
    09387 #endif
    09388
    09389 #ifndef GL_FLOAT_VEC3_ARB
    09390 #define GL_FLOAT_VEC3_ARB                                            0x8B51
    09391 #endif
    09392
    09393 #ifndef GL_FLOAT_VEC4_ARB
    09394 #define GL_FLOAT_VEC4_ARB                                            0x8B52
    09395 #endif
    09396
    09397 #ifndef GL_FLOAT_MAT2_ARB
    09398 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
    09399 #endif
    09400
    09401 #ifndef GL_FLOAT_MAT3_ARB
    09402 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
    09403 #endif
    09404
    09405 #ifndef GL_FLOAT_MAT4_ARB
    09406 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
    09407 #endif
    09408
    09409
    09415 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATIONARB) (GLhandleARB programObj, GLuint index, const GLcharARB* name);
    09416 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIBARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
    09417 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
    09418
    09423 #ifndef GL_PIXEL_PACK_BUFFER_ARB
    09424 #define GL_PIXEL_PACK_BUFFER_ARB                                     0x88EB
    09425 #endif
    09426
    09427 #ifndef GL_PIXEL_UNPACK_BUFFER_ARB
    09428 #define GL_PIXEL_UNPACK_BUFFER_ARB                                   0x88EC
    09429 #endif
    09430
    09431 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_ARB
    09432 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB                             0x88ED
    09433 #endif
    09434
    09435 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_ARB
    09436 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB                           0x88EF
    09437 #endif
    09438
    09439
    09450 #ifndef GL_TEXTURE_RECTANGLE_ARB
    09451 #define GL_TEXTURE_RECTANGLE_ARB                                     0x84F5
    09452 #endif
    09453
    09454 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
    09455 #define GL_TEXTURE_BINDING_RECTANGLE_ARB                             0x84F6
    09456 #endif
    09457
    09458 #ifndef GL_PROXY_TEXTURE_RECTANGLE_ARB
    09459 #define GL_PROXY_TEXTURE_RECTANGLE_ARB                               0x84F7
    09460 #endif
    09461
    09462 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB
    09463 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB                            0x84F8
    09464 #endif
    09465
    09466
    09477 #ifndef GL_FRAMEBUFFER_EXT
    09478 #define GL_FRAMEBUFFER_EXT                                           0x8D40
    09479 #endif
    09480
    09481 #ifndef GL_RENDERBUFFER_EXT
    09482 #define GL_RENDERBUFFER_EXT                                          0x8D41
    09483 #endif
    09484
    09485 #ifndef GL_STENCIL_INDEX_EXT
    09486 #define GL_STENCIL_INDEX_EXT                                         0x8D45
    09487 #endif
    09488
    09489 #ifndef GL_STENCIL_INDEX1_EXT
    09490 #define GL_STENCIL_INDEX1_EXT                                        0x8D46
    09491 #endif
    09492
    09493 #ifndef GL_STENCIL_INDEX4_EXT
    09494 #define GL_STENCIL_INDEX4_EXT                                        0x8D47
    09495 #endif
    09496
    09497 #ifndef GL_STENCIL_INDEX8_EXT
    09498 #define GL_STENCIL_INDEX8_EXT                                        0x8D48
    09499 #endif
    09500
    09501 #ifndef GL_STENCIL_INDEX16_EXT
    09502 #define GL_STENCIL_INDEX16_EXT                                       0x8D49
    09503 #endif
    09504
    09505 #ifndef GL_RENDERBUFFER_WIDTH_EXT
    09506 #define GL_RENDERBUFFER_WIDTH_EXT                                    0x8D42
    09507 #endif
    09508
    09509 #ifndef GL_RENDERBUFFER_HEIGHT_EXT
    09510 #define GL_RENDERBUFFER_HEIGHT_EXT                                   0x8D43
    09511 #endif
    09512
    09513 #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
    09514 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT                          0x8D44
    09515 #endif
    09516
    09517 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
    09518 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT                    0x8CD0
    09519 #endif
    09520
    09521 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
    09522 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT                    0x8CD1
    09523 #endif
    09524
    09525 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
    09526 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT                  0x8CD2
    09527 #endif
    09528
    09529 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
    09530 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT          0x8CD3
    09531 #endif
    09532
    09533 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT
    09534 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT             0x8CD4
    09535 #endif
    09536
    09537 #ifndef GL_COLOR_ATTACHMENT0_EXT
    09538 #define GL_COLOR_ATTACHMENT0_EXT                                     0x8CE0
    09539 #endif
    09540
    09541 #ifndef GL_COLOR_ATTACHMENT1_EXT
    09542 #define GL_COLOR_ATTACHMENT1_EXT                                     0x8CE1
    09543 #endif
    09544
    09545 #ifndef GL_COLOR_ATTACHMENT2_EXT
    09546 #define GL_COLOR_ATTACHMENT2_EXT                                     0x8CE2
    09547 #endif
    09548
    09549 #ifndef GL_COLOR_ATTACHMENT3_EXT
    09550 #define GL_COLOR_ATTACHMENT3_EXT                                     0x8CE3
    09551 #endif
    09552
    09553 #ifndef GL_COLOR_ATTACHMENT4_EXT
    09554 #define GL_COLOR_ATTACHMENT4_EXT                                     0x8CE4
    09555 #endif
    09556
    09557 #ifndef GL_COLOR_ATTACHMENT5_EXT
    09558 #define GL_COLOR_ATTACHMENT5_EXT                                     0x8CE5
    09559 #endif
    09560
    09561 #ifndef GL_COLOR_ATTACHMENT6_EXT
    09562 #define GL_COLOR_ATTACHMENT6_EXT                                     0x8CE6
    09563 #endif
    09564
    09565 #ifndef GL_COLOR_ATTACHMENT7_EXT
    09566 #define GL_COLOR_ATTACHMENT7_EXT                                     0x8CE7
    09567 #endif
    09568
    09569 #ifndef GL_COLOR_ATTACHMENT8_EXT
    09570 #define GL_COLOR_ATTACHMENT8_EXT                                     0x8CE8
    09571 #endif
    09572
    09573 #ifndef GL_COLOR_ATTACHMENT9_EXT
    09574 #define GL_COLOR_ATTACHMENT9_EXT                                     0x8CE9
    09575 #endif
    09576
    09577 #ifndef GL_COLOR_ATTACHMENT10_EXT
    09578 #define GL_COLOR_ATTACHMENT10_EXT                                    0x8CEA
    09579 #endif
    09580
    09581 #ifndef GL_COLOR_ATTACHMENT11_EXT
    09582 #define GL_COLOR_ATTACHMENT11_EXT                                    0x8CEB
    09583 #endif
    09584
    09585 #ifndef GL_COLOR_ATTACHMENT12_EXT
    09586 #define GL_COLOR_ATTACHMENT12_EXT                                    0x8CEC
    09587 #endif
    09588
    09589 #ifndef GL_COLOR_ATTACHMENT13_EXT
    09590 #define GL_COLOR_ATTACHMENT13_EXT                                    0x8CED
    09591 #endif
    09592
    09593 #ifndef GL_COLOR_ATTACHMENT14_EXT
    09594 #define GL_COLOR_ATTACHMENT14_EXT                                    0x8CEE
    09595 #endif
    09596
    09597 #ifndef GL_COLOR_ATTACHMENT15_EXT
    09598 #define GL_COLOR_ATTACHMENT15_EXT                                    0x8CEF
    09599 #endif
    09600
    09601 #ifndef GL_DEPTH_ATTACHMENT_EXT
    09602 #define GL_DEPTH_ATTACHMENT_EXT                                      0x8D00
    09603 #endif
    09604
    09605 #ifndef GL_STENCIL_ATTACHMENT_EXT
    09606 #define GL_STENCIL_ATTACHMENT_EXT                                    0x8D20
    09607 #endif
    09608
    09609 #ifndef GL_FRAMEBUFFER_COMPLETE_EXT
    09610 #define GL_FRAMEBUFFER_COMPLETE_EXT                                  0x8CD5
    09611 #endif
    09612
    09613 #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
    09614 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT                     0x8CD6
    09615 #endif
    09616
    09617 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
    09618 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT             0x8CD7
    09619 #endif
    09620
    09621 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
    09622 #define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT           0x8CD8
    09623 #endif
    09624
    09625 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
    09626 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT                     0x8CD9
    09627 #endif
    09628
    09629 #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
    09630 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT                        0x8CDA
    09631 #endif
    09632
    09633 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
    09634 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT                    0x8CDB
    09635 #endif
    09636
    09637 #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
    09638 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT                    0x8CDC
    09639 #endif
    09640
    09641 #ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT
    09642 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT                               0x8CDD
    09643 #endif
    09644
    09645 #ifndef GL_FRAMEBUFFER_STATUS_ERROR_EXT
    09646 #define GL_FRAMEBUFFER_STATUS_ERROR_EXT                              0x8CDE
    09647 #endif
    09648
    09649 #ifndef GL_FRAMEBUFFER_BINDING_EXT
    09650 #define GL_FRAMEBUFFER_BINDING_EXT                                   0x8CA6
    09651 #endif
    09652
    09653 #ifndef GL_RENDERBUFFER_BINDINGS_EXT
    09654 #define GL_RENDERBUFFER_BINDINGS_EXT                                 0x8CA7
    09655 #endif
    09656
    09657 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
    09658 #define GL_MAX_COLOR_ATTACHMENTS_EXT                                 0x8CA8
    09659 #endif
    09660
    09661 #ifndef GL_RENDERBUFFER_SIZE_EXT
    09662 #define GL_RENDERBUFFER_SIZE_EXT                                     0x8CA9
    09663 #endif
    09664
    09665 #ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
    09666 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT                         0x0506
    09667 #endif
    09668
    09669
    09675 typedef GLboolean (csAPIENTRY* csGLISRENDERBUFFEREXT) (GLuint renderbuffer);
    09676 typedef GLvoid (csAPIENTRY* csGLBINDRENDERBUFFEREXT) (GLenum target, GLuint renderbuffer);
    09677 typedef GLvoid (csAPIENTRY* csGLDELETERENDERBUFFERSEXT) (GLsizei n, const GLuint* renderbuffers);
    09678 typedef GLvoid (csAPIENTRY* csGLGENRENDERBUFFERSEXT) (GLsizei n, GLuint* renderbuffers);
    09679 typedef GLvoid (csAPIENTRY* csGLRENDERBUFFERSTORAGEEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
    09680 typedef GLvoid (csAPIENTRY* csGLGETRENDERBUFFERPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
    09681 typedef GLboolean (csAPIENTRY* csGLISFRAMEBUFFEREXT) (GLuint framebuffer);
    09682 typedef GLvoid (csAPIENTRY* csGLBINDFRAMEBUFFEREXT) (GLenum target, GLuint framebuffer);
    09683 typedef GLvoid (csAPIENTRY* csGLDELETEFRAMEBUFFERSEXT) (GLsizei n, const GLuint* framebuffers);
    09684 typedef GLvoid (csAPIENTRY* csGLGENFRAMEBUFFERSEXT) (GLsizei n, GLuint* framebuffers);
    09685 typedef GLenum (csAPIENTRY* csGLCHECKFRAMEBUFFERSTATUSEXT) (GLenum target);
    09686 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
    09687 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
    09688 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
    09689 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERRENDERBUFFEREXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
    09690 typedef GLvoid (csAPIENTRY* csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
    09691 typedef GLvoid (csAPIENTRY* csGLGENERATEMIPMAPEXT) (GLenum target);
    09692
    09697 #ifndef GL_PIXEL_PACK_BUFFER_EXT
    09698 #define GL_PIXEL_PACK_BUFFER_EXT                                     0x88EB
    09699 #endif
    09700
    09701 #ifndef GL_PIXEL_UNPACK_BUFFER_EXT
    09702 #define GL_PIXEL_UNPACK_BUFFER_EXT                                   0x88EC
    09703 #endif
    09704
    09705 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_EXT
    09706 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT                             0x88ED
    09707 #endif
    09708
    09709 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_EXT
    09710 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT                           0x88EF
    09711 #endif
    09712
    09713
    09730 typedef GLvoid (csAPIENTRY* csGLSTRINGMARKERGREMEDY) (GLsizei len, const GLvoid* string);
    09731
    09736 #ifndef GL_TEXTURE_RECTANGLE_EXT
    09737 #define GL_TEXTURE_RECTANGLE_EXT                                     0x84F5
    09738 #endif
    09739
    09740 #ifndef GL_TEXTURE_BINDING_RECTANGLE_EXT
    09741 #define GL_TEXTURE_BINDING_RECTANGLE_EXT                             0x84F6
    09742 #endif
    09743
    09744 #ifndef GL_PROXY_TEXTURE_RECTANGLE_EXT
    09745 #define GL_PROXY_TEXTURE_RECTANGLE_EXT                               0x84F7
    09746 #endif
    09747
    09748 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT
    09749 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT                            0x84F8
    09750 #endif
    09751
    09752
    09762 // end of definitions
    09763
    09764 #ifdef CS_DEBUG
    09765 #  define REPORT_MISSING_ENTRIES true
    09766 #else
    09767 #  define REPORT_MISSING_ENTRIES false
    09768 #endif
    09769
    09770 #define EXTMGR_FUNC_INIT(nameNC, nameUC) \
    09771       funcTest = ((nameNC = (cs##nameUC) gl->GetProcAddress (#nameNC)) != 0); \
    09772       if (!funcTest && config->GetBool ("Video.OpenGL.ReportMissingEntries", \
    09773         REPORT_MISSING_ENTRIES)) \
    09774       { \
    09775         Report (msgExtRetrieveFail, #nameNC); \
    09776       } \
    09777       allclear &= funcTest; \
    09778
    09779 #define EXTMGR_REPORT_INIT_RESULT(exttype, nameNC) \
    09780       if (CS_##nameNC = allclear) \
    09781       { \
    09782         CS_##nameNC &= config->GetBool (cfgkey, true); \
    09783         if (CS_##nameNC) \
    09784         { \
    09785           Report (msgExtFoundAndUsed, exttype, ext); \
    09786         } \
    09787         else \
    09788         { \
    09789           Report (msgExtFoundAndNotUsed, exttype, ext); \
    09790         } \
    09791       } \
    09792       else \
    09793       { \
    09794         Report (msgExtInitFail, exttype, ext); \
    09795       }
    09796
    09798 struct csGLExtensionFunctions
    09799 {
    09800 public:
    09805   #ifndef GLDRAWRANGEELEMENTS_DECL
    09806   #define GLDRAWRANGEELEMENTS_DECL
    09807   csGLDRAWRANGEELEMENTS glDrawRangeElements;
    09808   #endif
    09809
    09810   #ifndef GLTEXIMAGE3D_DECL
    09811   #define GLTEXIMAGE3D_DECL
    09812   csGLTEXIMAGE3D glTexImage3D;
    09813   #endif
    09814
    09815   #ifndef GLTEXSUBIMAGE3D_DECL
    09816   #define GLTEXSUBIMAGE3D_DECL
    09817   csGLTEXSUBIMAGE3D glTexSubImage3D;
    09818   #endif
    09819
    09820   #ifndef GLCOPYTEXSUBIMAGE3D_DECL
    09821   #define GLCOPYTEXSUBIMAGE3D_DECL
    09822   csGLCOPYTEXSUBIMAGE3D glCopyTexSubImage3D;
    09823   #endif
    09824
    09825
    09831   #ifndef GLACTIVETEXTURE_DECL
    09832   #define GLACTIVETEXTURE_DECL
    09833   csGLACTIVETEXTURE glActiveTexture;
    09834   #endif
    09835
    09836   #ifndef GLCLIENTACTIVETEXTURE_DECL
    09837   #define GLCLIENTACTIVETEXTURE_DECL
    09838   csGLCLIENTACTIVETEXTURE glClientActiveTexture;
    09839   #endif
    09840
    09841   #ifndef GLMULTITEXCOORD1D_DECL
    09842   #define GLMULTITEXCOORD1D_DECL
    09843   csGLMULTITEXCOORD1D glMultiTexCoord1d;
    09844   #endif
    09845
    09846   #ifndef GLMULTITEXCOORD1DV_DECL
    09847   #define GLMULTITEXCOORD1DV_DECL
    09848   csGLMULTITEXCOORD1DV glMultiTexCoord1dv;
    09849   #endif
    09850
    09851   #ifndef GLMULTITEXCOORD1F_DECL
    09852   #define GLMULTITEXCOORD1F_DECL
    09853   csGLMULTITEXCOORD1F glMultiTexCoord1f;
    09854   #endif
    09855
    09856   #ifndef GLMULTITEXCOORD1FV_DECL
    09857   #define GLMULTITEXCOORD1FV_DECL
    09858   csGLMULTITEXCOORD1FV glMultiTexCoord1fv;
    09859   #endif
    09860
    09861   #ifndef GLMULTITEXCOORD1I_DECL
    09862   #define GLMULTITEXCOORD1I_DECL
    09863   csGLMULTITEXCOORD1I glMultiTexCoord1i;
    09864   #endif
    09865
    09866   #ifndef GLMULTITEXCOORD1IV_DECL
    09867   #define GLMULTITEXCOORD1IV_DECL
    09868   csGLMULTITEXCOORD1IV glMultiTexCoord1iv;
    09869   #endif
    09870
    09871   #ifndef GLMULTITEXCOORD1S_DECL
    09872   #define GLMULTITEXCOORD1S_DECL
    09873   csGLMULTITEXCOORD1S glMultiTexCoord1s;
    09874   #endif
    09875
    09876   #ifndef GLMULTITEXCOORD1SV_DECL
    09877   #define GLMULTITEXCOORD1SV_DECL
    09878   csGLMULTITEXCOORD1SV glMultiTexCoord1sv;
    09879   #endif
    09880
    09881   #ifndef GLMULTITEXCOORD2D_DECL
    09882   #define GLMULTITEXCOORD2D_DECL
    09883   csGLMULTITEXCOORD2D glMultiTexCoord2d;
    09884   #endif
    09885
    09886   #ifndef GLMULTITEXCOORD2DV_DECL
    09887   #define GLMULTITEXCOORD2DV_DECL
    09888   csGLMULTITEXCOORD2DV glMultiTexCoord2dv;
    09889   #endif
    09890
    09891   #ifndef GLMULTITEXCOORD2F_DECL
    09892   #define GLMULTITEXCOORD2F_DECL
    09893   csGLMULTITEXCOORD2F glMultiTexCoord2f;
    09894   #endif
    09895
    09896   #ifndef GLMULTITEXCOORD2FV_DECL
    09897   #define GLMULTITEXCOORD2FV_DECL
    09898   csGLMULTITEXCOORD2FV glMultiTexCoord2fv;
    09899   #endif
    09900
    09901   #ifndef GLMULTITEXCOORD2I_DECL
    09902   #define GLMULTITEXCOORD2I_DECL
    09903   csGLMULTITEXCOORD2I glMultiTexCoord2i;
    09904   #endif
    09905
    09906   #ifndef GLMULTITEXCOORD2IV_DECL
    09907   #define GLMULTITEXCOORD2IV_DECL
    09908   csGLMULTITEXCOORD2IV glMultiTexCoord2iv;
    09909   #endif
    09910
    09911   #ifndef GLMULTITEXCOORD2S_DECL
    09912   #define GLMULTITEXCOORD2S_DECL
    09913   csGLMULTITEXCOORD2S glMultiTexCoord2s;
    09914   #endif
    09915
    09916   #ifndef GLMULTITEXCOORD2SV_DECL
    09917   #define GLMULTITEXCOORD2SV_DECL
    09918   csGLMULTITEXCOORD2SV glMultiTexCoord2sv;
    09919   #endif
    09920
    09921   #ifndef GLMULTITEXCOORD3D_DECL
    09922   #define GLMULTITEXCOORD3D_DECL
    09923   csGLMULTITEXCOORD3D glMultiTexCoord3d;
    09924   #endif
    09925
    09926   #ifndef GLMULTITEXCOORD3DV_DECL
    09927   #define GLMULTITEXCOORD3DV_DECL
    09928   csGLMULTITEXCOORD3DV glMultiTexCoord3dv;
    09929   #endif
    09930
    09931   #ifndef GLMULTITEXCOORD3F_DECL
    09932   #define GLMULTITEXCOORD3F_DECL
    09933   csGLMULTITEXCOORD3F glMultiTexCoord3f;
    09934   #endif
    09935
    09936   #ifndef GLMULTITEXCOORD3FV_DECL
    09937   #define GLMULTITEXCOORD3FV_DECL
    09938   csGLMULTITEXCOORD3FV glMultiTexCoord3fv;
    09939   #endif
    09940
    09941   #ifndef GLMULTITEXCOORD3I_DECL
    09942   #define GLMULTITEXCOORD3I_DECL
    09943   csGLMULTITEXCOORD3I glMultiTexCoord3i;
    09944   #endif
    09945
    09946   #ifndef GLMULTITEXCOORD3IV_DECL
    09947   #define GLMULTITEXCOORD3IV_DECL
    09948   csGLMULTITEXCOORD3IV glMultiTexCoord3iv;
    09949   #endif
    09950
    09951   #ifndef GLMULTITEXCOORD3S_DECL
    09952   #define GLMULTITEXCOORD3S_DECL
    09953   csGLMULTITEXCOORD3S glMultiTexCoord3s;
    09954   #endif
    09955
    09956   #ifndef GLMULTITEXCOORD3SV_DECL
    09957   #define GLMULTITEXCOORD3SV_DECL
    09958   csGLMULTITEXCOORD3SV glMultiTexCoord3sv;
    09959   #endif
    09960
    09961   #ifndef GLMULTITEXCOORD4D_DECL
    09962   #define GLMULTITEXCOORD4D_DECL
    09963   csGLMULTITEXCOORD4D glMultiTexCoord4d;
    09964   #endif
    09965
    09966   #ifndef GLMULTITEXCOORD4DV_DECL
    09967   #define GLMULTITEXCOORD4DV_DECL
    09968   csGLMULTITEXCOORD4DV glMultiTexCoord4dv;
    09969   #endif
    09970
    09971   #ifndef GLMULTITEXCOORD4F_DECL
    09972   #define GLMULTITEXCOORD4F_DECL
    09973   csGLMULTITEXCOORD4F glMultiTexCoord4f;
    09974   #endif
    09975
    09976   #ifndef GLMULTITEXCOORD4FV_DECL
    09977   #define GLMULTITEXCOORD4FV_DECL
    09978   csGLMULTITEXCOORD4FV glMultiTexCoord4fv;
    09979   #endif
    09980
    09981   #ifndef GLMULTITEXCOORD4I_DECL
    09982   #define GLMULTITEXCOORD4I_DECL
    09983   csGLMULTITEXCOORD4I glMultiTexCoord4i;
    09984   #endif
    09985
    09986   #ifndef GLMULTITEXCOORD4IV_DECL
    09987   #define GLMULTITEXCOORD4IV_DECL
    09988   csGLMULTITEXCOORD4IV glMultiTexCoord4iv;
    09989   #endif
    09990
    09991   #ifndef GLMULTITEXCOORD4S_DECL
    09992   #define GLMULTITEXCOORD4S_DECL
    09993   csGLMULTITEXCOORD4S glMultiTexCoord4s;
    09994   #endif
    09995
    09996   #ifndef GLMULTITEXCOORD4SV_DECL
    09997   #define GLMULTITEXCOORD4SV_DECL
    09998   csGLMULTITEXCOORD4SV glMultiTexCoord4sv;
    09999   #endif
    10000
    10001   #ifndef GLLOADTRANSPOSEMATRIXF_DECL
    10002   #define GLLOADTRANSPOSEMATRIXF_DECL
    10003   csGLLOADTRANSPOSEMATRIXF glLoadTransposeMatrixf;
    10004   #endif
    10005
    10006   #ifndef GLLOADTRANSPOSEMATRIXD_DECL
    10007   #define GLLOADTRANSPOSEMATRIXD_DECL
    10008   csGLLOADTRANSPOSEMATRIXD glLoadTransposeMatrixd;
    10009   #endif
    10010
    10011   #ifndef GLMULTTRANSPOSEMATRIXF_DECL
    10012   #define GLMULTTRANSPOSEMATRIXF_DECL
    10013   csGLMULTTRANSPOSEMATRIXF glMultTransposeMatrixf;
    10014   #endif
    10015
    10016   #ifndef GLMULTTRANSPOSEMATRIXD_DECL
    10017   #define GLMULTTRANSPOSEMATRIXD_DECL
    10018   csGLMULTTRANSPOSEMATRIXD glMultTransposeMatrixd;
    10019   #endif
    10020
    10021   #ifndef GLSAMPLECOVERAGE_DECL
    10022   #define GLSAMPLECOVERAGE_DECL
    10023   csGLSAMPLECOVERAGE glSampleCoverage;
    10024   #endif
    10025
    10026   #ifndef GLCOMPRESSEDTEXIMAGE3D_DECL
    10027   #define GLCOMPRESSEDTEXIMAGE3D_DECL
    10028   csGLCOMPRESSEDTEXIMAGE3D glCompressedTexImage3D;
    10029   #endif
    10030
    10031   #ifndef GLCOMPRESSEDTEXIMAGE2D_DECL
    10032   #define GLCOMPRESSEDTEXIMAGE2D_DECL
    10033   csGLCOMPRESSEDTEXIMAGE2D glCompressedTexImage2D;
    10034   #endif
    10035
    10036   #ifndef GLCOMPRESSEDTEXIMAGE1D_DECL
    10037   #define GLCOMPRESSEDTEXIMAGE1D_DECL
    10038   csGLCOMPRESSEDTEXIMAGE1D glCompressedTexImage1D;
    10039   #endif
    10040
    10041   #ifndef GLCOMPRESSEDTEXSUBIMAGE3D_DECL
    10042   #define GLCOMPRESSEDTEXSUBIMAGE3D_DECL
    10043   csGLCOMPRESSEDTEXSUBIMAGE3D glCompressedTexSubImage3D;
    10044   #endif
    10045
    10046   #ifndef GLCOMPRESSEDTEXSUBIMAGE2D_DECL
    10047   #define GLCOMPRESSEDTEXSUBIMAGE2D_DECL
    10048   csGLCOMPRESSEDTEXSUBIMAGE2D glCompressedTexSubImage2D;
    10049   #endif
    10050
    10051   #ifndef GLCOMPRESSEDTEXSUBIMAGE1D_DECL
    10052   #define GLCOMPRESSEDTEXSUBIMAGE1D_DECL
    10053   csGLCOMPRESSEDTEXSUBIMAGE1D glCompressedTexSubImage1D;
    10054   #endif
    10055
    10056   #ifndef GLGETCOMPRESSEDTEXIMAGE_DECL
    10057   #define GLGETCOMPRESSEDTEXIMAGE_DECL
    10058   csGLGETCOMPRESSEDTEXIMAGE glGetCompressedTexImage;
    10059   #endif
    10060
    10061
    10066   #ifndef GLCOLORTABLE_DECL
    10067   #define GLCOLORTABLE_DECL
    10068   csGLCOLORTABLE glColorTable;
    10069   #endif
    10070
    10071   #ifndef GLCOLORTABLEPARAMETERFV_DECL
    10072   #define GLCOLORTABLEPARAMETERFV_DECL
    10073   csGLCOLORTABLEPARAMETERFV glColorTableParameterfv;
    10074   #endif
    10075
    10076   #ifndef GLCOLORTABLEPARAMETERIV_DECL
    10077   #define GLCOLORTABLEPARAMETERIV_DECL
    10078   csGLCOLORTABLEPARAMETERIV glColorTableParameteriv;
    10079   #endif
    10080
    10081   #ifndef GLCOPYCOLORTABLE_DECL
    10082   #define GLCOPYCOLORTABLE_DECL
    10083   csGLCOPYCOLORTABLE glCopyColorTable;
    10084   #endif
    10085
    10086   #ifndef GLGETCOLORTABLE_DECL
    10087   #define GLGETCOLORTABLE_DECL
    10088   csGLGETCOLORTABLE glGetColorTable;
    10089   #endif
    10090
    10091   #ifndef GLGETCOLORTABLEPARAMETERFV_DECL
    10092   #define GLGETCOLORTABLEPARAMETERFV_DECL
    10093   csGLGETCOLORTABLEPARAMETERFV glGetColorTableParameterfv;
    10094   #endif
    10095
    10096   #ifndef GLGETCOLORTABLEPARAMETERIV_DECL
    10097   #define GLGETCOLORTABLEPARAMETERIV_DECL
    10098   csGLGETCOLORTABLEPARAMETERIV glGetColorTableParameteriv;
    10099   #endif
    10100
    10101   #ifndef GLCOLORSUBTABLE_DECL
    10102   #define GLCOLORSUBTABLE_DECL
    10103   csGLCOLORSUBTABLE glColorSubTable;
    10104   #endif
    10105
    10106   #ifndef GLCOPYCOLORSUBTABLE_DECL
    10107   #define GLCOPYCOLORSUBTABLE_DECL
    10108   csGLCOPYCOLORSUBTABLE glCopyColorSubTable;
    10109   #endif
    10110
    10111   #ifndef GLCONVOLUTIONFILTER1D_DECL
    10112   #define GLCONVOLUTIONFILTER1D_DECL
    10113   csGLCONVOLUTIONFILTER1D glConvolutionFilter1D;
    10114   #endif
    10115
    10116   #ifndef GLCONVOLUTIONFILTER2D_DECL
    10117   #define GLCONVOLUTIONFILTER2D_DECL
    10118   csGLCONVOLUTIONFILTER2D glConvolutionFilter2D;
    10119   #endif
    10120
    10121   #ifndef GLCONVOLUTIONPARAMETERF_DECL
    10122   #define GLCONVOLUTIONPARAMETERF_DECL
    10123   csGLCONVOLUTIONPARAMETERF glConvolutionParameterf;
    10124   #endif
    10125
    10126   #ifndef GLCONVOLUTIONPARAMETERFV_DECL
    10127   #define GLCONVOLUTIONPARAMETERFV_DECL
    10128   csGLCONVOLUTIONPARAMETERFV glConvolutionParameterfv;
    10129   #endif
    10130
    10131   #ifndef GLCONVOLUTIONPARAMETERI_DECL
    10132   #define GLCONVOLUTIONPARAMETERI_DECL
    10133   csGLCONVOLUTIONPARAMETERI glConvolutionParameteri;
    10134   #endif
    10135
    10136   #ifndef GLCONVOLUTIONPARAMETERIV_DECL
    10137   #define GLCONVOLUTIONPARAMETERIV_DECL
    10138   csGLCONVOLUTIONPARAMETERIV glConvolutionParameteriv;
    10139   #endif
    10140
    10141   #ifndef GLCOPYCONVOLUTIONFILTER1D_DECL
    10142   #define GLCOPYCONVOLUTIONFILTER1D_DECL
    10143   csGLCOPYCONVOLUTIONFILTER1D glCopyConvolutionFilter1D;
    10144   #endif
    10145
    10146   #ifndef GLCOPYCONVOLUTIONFILTER2D_DECL
    10147   #define GLCOPYCONVOLUTIONFILTER2D_DECL
    10148   csGLCOPYCONVOLUTIONFILTER2D glCopyConvolutionFilter2D;
    10149   #endif
    10150
    10151   #ifndef GLGETCONVOLUTIONFILTER_DECL
    10152   #define GLGETCONVOLUTIONFILTER_DECL
    10153   csGLGETCONVOLUTIONFILTER glGetConvolutionFilter;
    10154   #endif
    10155
    10156   #ifndef GLGETCONVOLUTIONPARAMETERFV_DECL
    10157   #define GLGETCONVOLUTIONPARAMETERFV_DECL
    10158   csGLGETCONVOLUTIONPARAMETERFV glGetConvolutionParameterfv;
    10159   #endif
    10160
    10161   #ifndef GLGETCONVOLUTIONPARAMETERIV_DECL
    10162   #define GLGETCONVOLUTIONPARAMETERIV_DECL
    10163   csGLGETCONVOLUTIONPARAMETERIV glGetConvolutionParameteriv;
    10164   #endif
    10165
    10166   #ifndef GLGETSEPARABLEFILTER_DECL
    10167   #define GLGETSEPARABLEFILTER_DECL
    10168   csGLGETSEPARABLEFILTER glGetSeparableFilter;
    10169   #endif
    10170
    10171   #ifndef GLSEPARABLEFILTER2D_DECL
    10172   #define GLSEPARABLEFILTER2D_DECL
    10173   csGLSEPARABLEFILTER2D glSeparableFilter2D;
    10174   #endif
    10175
    10176   #ifndef GLGETHISTOGRAM_DECL
    10177   #define GLGETHISTOGRAM_DECL
    10178   csGLGETHISTOGRAM glGetHistogram;
    10179   #endif
    10180
    10181   #ifndef GLGETHISTOGRAMPARAMETERFV_DECL
    10182   #define GLGETHISTOGRAMPARAMETERFV_DECL
    10183   csGLGETHISTOGRAMPARAMETERFV glGetHistogramParameterfv;
    10184   #endif
    10185
    10186   #ifndef GLGETHISTOGRAMPARAMETERIV_DECL
    10187   #define GLGETHISTOGRAMPARAMETERIV_DECL
    10188   csGLGETHISTOGRAMPARAMETERIV glGetHistogramParameteriv;
    10189   #endif
    10190
    10191   #ifndef GLGETMINMAX_DECL
    10192   #define GLGETMINMAX_DECL
    10193   csGLGETMINMAX glGetMinmax;
    10194   #endif
    10195
    10196   #ifndef GLGETMINMAXPARAMETERFV_DECL
    10197   #define GLGETMINMAXPARAMETERFV_DECL
    10198   csGLGETMINMAXPARAMETERFV glGetMinmaxParameterfv;
    10199   #endif
    10200
    10201   #ifndef GLGETMINMAXPARAMETERIV_DECL
    10202   #define GLGETMINMAXPARAMETERIV_DECL
    10203   csGLGETMINMAXPARAMETERIV glGetMinmaxParameteriv;
    10204   #endif
    10205
    10206   #ifndef GLHISTOGRAM_DECL
    10207   #define GLHISTOGRAM_DECL
    10208   csGLHISTOGRAM glHistogram;
    10209   #endif
    10210
    10211   #ifndef GLMINMAX_DECL
    10212   #define GLMINMAX_DECL
    10213   csGLMINMAX glMinmax;
    10214   #endif
    10215
    10216   #ifndef GLRESETHISTOGRAM_DECL
    10217   #define GLRESETHISTOGRAM_DECL
    10218   csGLRESETHISTOGRAM glResetHistogram;
    10219   #endif
    10220
    10221   #ifndef GLRESETMINMAX_DECL
    10222   #define GLRESETMINMAX_DECL
    10223   csGLRESETMINMAX glResetMinmax;
    10224   #endif
    10225
    10226   #ifndef GLBLENDCOLOR_DECL
    10227   #define GLBLENDCOLOR_DECL
    10228   csGLBLENDCOLOR glBlendColor;
    10229   #endif
    10230
    10231   #ifndef GLBLENDEQUATION_DECL
    10232   #define GLBLENDEQUATION_DECL
    10233   csGLBLENDEQUATION glBlendEquation;
    10234   #endif
    10235
    10236
    10241   #ifndef GLACTIVETEXTUREARB_DECL
    10242   #define GLACTIVETEXTUREARB_DECL
    10243   csGLACTIVETEXTUREARB glActiveTextureARB;
    10244   #endif
    10245
    10246   #ifndef GLCLIENTACTIVETEXTUREARB_DECL
    10247   #define GLCLIENTACTIVETEXTUREARB_DECL
    10248   csGLCLIENTACTIVETEXTUREARB glClientActiveTextureARB;
    10249   #endif
    10250
    10251   #ifndef GLMULTITEXCOORD1DARB_DECL
    10252   #define GLMULTITEXCOORD1DARB_DECL
    10253   csGLMULTITEXCOORD1DARB glMultiTexCoord1dARB;
    10254   #endif
    10255
    10256   #ifndef GLMULTITEXCOORD1DVARB_DECL
    10257   #define GLMULTITEXCOORD1DVARB_DECL
    10258   csGLMULTITEXCOORD1DVARB glMultiTexCoord1dvARB;
    10259   #endif
    10260
    10261   #ifndef GLMULTITEXCOORD1FARB_DECL
    10262   #define GLMULTITEXCOORD1FARB_DECL
    10263   csGLMULTITEXCOORD1FARB glMultiTexCoord1fARB;
    10264   #endif
    10265
    10266   #ifndef GLMULTITEXCOORD1FVARB_DECL
    10267   #define GLMULTITEXCOORD1FVARB_DECL
    10268   csGLMULTITEXCOORD1FVARB glMultiTexCoord1fvARB;
    10269   #endif
    10270
    10271   #ifndef GLMULTITEXCOORD1IARB_DECL
    10272   #define GLMULTITEXCOORD1IARB_DECL
    10273   csGLMULTITEXCOORD1IARB glMultiTexCoord1iARB;
    10274   #endif
    10275
    10276   #ifndef GLMULTITEXCOORD1IVARB_DECL
    10277   #define GLMULTITEXCOORD1IVARB_DECL
    10278   csGLMULTITEXCOORD1IVARB glMultiTexCoord1ivARB;
    10279   #endif
    10280
    10281   #ifndef GLMULTITEXCOORD1SARB_DECL
    10282   #define GLMULTITEXCOORD1SARB_DECL
    10283   csGLMULTITEXCOORD1SARB glMultiTexCoord1sARB;
    10284   #endif
    10285
    10286   #ifndef GLMULTITEXCOORD1SVARB_DECL
    10287   #define GLMULTITEXCOORD1SVARB_DECL
    10288   csGLMULTITEXCOORD1SVARB glMultiTexCoord1svARB;
    10289   #endif
    10290
    10291   #ifndef GLMULTITEXCOORD2DARB_DECL
    10292   #define GLMULTITEXCOORD2DARB_DECL
    10293   csGLMULTITEXCOORD2DARB glMultiTexCoord2dARB;
    10294   #endif
    10295
    10296   #ifndef GLMULTITEXCOORD2DVARB_DECL
    10297   #define GLMULTITEXCOORD2DVARB_DECL
    10298   csGLMULTITEXCOORD2DVARB glMultiTexCoord2dvARB;
    10299   #endif
    10300
    10301   #ifndef GLMULTITEXCOORD2FARB_DECL
    10302   #define GLMULTITEXCOORD2FARB_DECL
    10303   csGLMULTITEXCOORD2FARB glMultiTexCoord2fARB;
    10304   #endif
    10305
    10306   #ifndef GLMULTITEXCOORD2FVARB_DECL
    10307   #define GLMULTITEXCOORD2FVARB_DECL
    10308   csGLMULTITEXCOORD2FVARB glMultiTexCoord2fvARB;
    10309   #endif
    10310
    10311   #ifndef GLMULTITEXCOORD2IARB_DECL
    10312   #define GLMULTITEXCOORD2IARB_DECL
    10313   csGLMULTITEXCOORD2IARB glMultiTexCoord2iARB;
    10314   #endif
    10315
    10316   #ifndef GLMULTITEXCOORD2IVARB_DECL
    10317   #define GLMULTITEXCOORD2IVARB_DECL
    10318   csGLMULTITEXCOORD2IVARB glMultiTexCoord2ivARB;
    10319   #endif
    10320
    10321   #ifndef GLMULTITEXCOORD2SARB_DECL
    10322   #define GLMULTITEXCOORD2SARB_DECL
    10323   csGLMULTITEXCOORD2SARB glMultiTexCoord2sARB;
    10324   #endif
    10325
    10326   #ifndef GLMULTITEXCOORD2SVARB_DECL
    10327   #define GLMULTITEXCOORD2SVARB_DECL
    10328   csGLMULTITEXCOORD2SVARB glMultiTexCoord2svARB;
    10329   #endif
    10330
    10331   #ifndef GLMULTITEXCOORD3DARB_DECL
    10332   #define GLMULTITEXCOORD3DARB_DECL
    10333   csGLMULTITEXCOORD3DARB glMultiTexCoord3dARB;
    10334   #endif
    10335
    10336   #ifndef GLMULTITEXCOORD3DVARB_DECL
    10337   #define GLMULTITEXCOORD3DVARB_DECL
    10338   csGLMULTITEXCOORD3DVARB glMultiTexCoord3dvARB;
    10339   #endif
    10340
    10341   #ifndef GLMULTITEXCOORD3FARB_DECL
    10342   #define GLMULTITEXCOORD3FARB_DECL
    10343   csGLMULTITEXCOORD3FARB glMultiTexCoord3fARB;
    10344   #endif
    10345
    10346   #ifndef GLMULTITEXCOORD3FVARB_DECL
    10347   #define GLMULTITEXCOORD3FVARB_DECL
    10348   csGLMULTITEXCOORD3FVARB glMultiTexCoord3fvARB;
    10349   #endif
    10350
    10351   #ifndef GLMULTITEXCOORD3IARB_DECL
    10352   #define GLMULTITEXCOORD3IARB_DECL
    10353   csGLMULTITEXCOORD3IARB glMultiTexCoord3iARB;
    10354   #endif
    10355
    10356   #ifndef GLMULTITEXCOORD3IVARB_DECL
    10357   #define GLMULTITEXCOORD3IVARB_DECL
    10358   csGLMULTITEXCOORD3IVARB glMultiTexCoord3ivARB;
    10359   #endif
    10360
    10361   #ifndef GLMULTITEXCOORD3SARB_DECL
    10362   #define GLMULTITEXCOORD3SARB_DECL
    10363   csGLMULTITEXCOORD3SARB glMultiTexCoord3sARB;
    10364   #endif
    10365
    10366   #ifndef GLMULTITEXCOORD3SVARB_DECL
    10367   #define GLMULTITEXCOORD3SVARB_DECL
    10368   csGLMULTITEXCOORD3SVARB glMultiTexCoord3svARB;
    10369   #endif
    10370
    10371   #ifndef GLMULTITEXCOORD4DARB_DECL
    10372   #define GLMULTITEXCOORD4DARB_DECL
    10373   csGLMULTITEXCOORD4DARB glMultiTexCoord4dARB;
    10374   #endif
    10375
    10376   #ifndef GLMULTITEXCOORD4DVARB_DECL
    10377   #define GLMULTITEXCOORD4DVARB_DECL
    10378   csGLMULTITEXCOORD4DVARB glMultiTexCoord4dvARB;
    10379   #endif
    10380
    10381   #ifndef GLMULTITEXCOORD4FARB_DECL
    10382   #define GLMULTITEXCOORD4FARB_DECL
    10383   csGLMULTITEXCOORD4FARB glMultiTexCoord4fARB;
    10384   #endif
    10385
    10386   #ifndef GLMULTITEXCOORD4FVARB_DECL
    10387   #define GLMULTITEXCOORD4FVARB_DECL
    10388   csGLMULTITEXCOORD4FVARB glMultiTexCoord4fvARB;
    10389   #endif
    10390
    10391   #ifndef GLMULTITEXCOORD4IARB_DECL
    10392   #define GLMULTITEXCOORD4IARB_DECL
    10393   csGLMULTITEXCOORD4IARB glMultiTexCoord4iARB;
    10394   #endif
    10395
    10396   #ifndef GLMULTITEXCOORD4IVARB_DECL
    10397   #define GLMULTITEXCOORD4IVARB_DECL
    10398   csGLMULTITEXCOORD4IVARB glMultiTexCoord4ivARB;
    10399   #endif
    10400
    10401   #ifndef GLMULTITEXCOORD4SARB_DECL
    10402   #define GLMULTITEXCOORD4SARB_DECL
    10403   csGLMULTITEXCOORD4SARB glMultiTexCoord4sARB;
    10404   #endif
    10405
    10406   #ifndef GLMULTITEXCOORD4SVARB_DECL
    10407   #define GLMULTITEXCOORD4SVARB_DECL
    10408   csGLMULTITEXCOORD4SVARB glMultiTexCoord4svARB;
    10409   #endif
    10410
    10411
    10416   #ifndef GLLOADTRANSPOSEMATRIXFARB_DECL
    10417   #define GLLOADTRANSPOSEMATRIXFARB_DECL
    10418   csGLLOADTRANSPOSEMATRIXFARB glLoadTransposeMatrixfARB;
    10419   #endif
    10420
    10421   #ifndef GLLOADTRANSPOSEMATRIXDARB_DECL
    10422   #define GLLOADTRANSPOSEMATRIXDARB_DECL
    10423   csGLLOADTRANSPOSEMATRIXDARB glLoadTransposeMatrixdARB;
    10424   #endif
    10425
    10426   #ifndef GLMULTTRANSPOSEMATRIXFARB_DECL
    10427   #define GLMULTTRANSPOSEMATRIXFARB_DECL
    10428   csGLMULTTRANSPOSEMATRIXFARB glMultTransposeMatrixfARB;
    10429   #endif
    10430
    10431   #ifndef GLMULTTRANSPOSEMATRIXDARB_DECL
    10432   #define GLMULTTRANSPOSEMATRIXDARB_DECL
    10433   csGLMULTTRANSPOSEMATRIXDARB glMultTransposeMatrixdARB;
    10434   #endif
    10435
    10436
    10441   #ifndef GLSAMPLECOVERAGEARB_DECL
    10442   #define GLSAMPLECOVERAGEARB_DECL
    10443   csGLSAMPLECOVERAGEARB glSampleCoverageARB;
    10444   #endif
    10445
    10446
    10453 #ifdef _WIN32
    10454
    10457   #ifndef WGLGETEXTENSIONSSTRINGARB_DECL
    10458   #define WGLGETEXTENSIONSSTRINGARB_DECL
    10459   csWGLGETEXTENSIONSSTRINGARB wglGetExtensionsStringARB;
    10460   #endif
    10461
    10462
    10464 #endif // _WIN32
    10465
    10466 #ifdef _WIN32
    10467
    10470   #ifndef WGLCREATEBUFFERREGIONARB_DECL
    10471   #define WGLCREATEBUFFERREGIONARB_DECL
    10472   csWGLCREATEBUFFERREGIONARB wglCreateBufferRegionARB;
    10473   #endif
    10474
    10475   #ifndef WGLDELETEBUFFERREGIONARB_DECL
    10476   #define WGLDELETEBUFFERREGIONARB_DECL
    10477   csWGLDELETEBUFFERREGIONARB wglDeleteBufferRegionARB;
    10478   #endif
    10479
    10480   #ifndef WGLSAVEBUFFERREGIONARB_DECL
    10481   #define WGLSAVEBUFFERREGIONARB_DECL
    10482   csWGLSAVEBUFFERREGIONARB wglSaveBufferRegionARB;
    10483   #endif
    10484
    10485   #ifndef WGLRESTOREBUFFERREGIONARB_DECL
    10486   #define WGLRESTOREBUFFERREGIONARB_DECL
    10487   csWGLRESTOREBUFFERREGIONARB wglRestoreBufferRegionARB;
    10488   #endif
    10489
    10490
    10492 #endif // _WIN32
    10493
    10507   #ifndef GLPOINTPARAMETERFARB_DECL
    10508   #define GLPOINTPARAMETERFARB_DECL
    10509   csGLPOINTPARAMETERFARB glPointParameterfARB;
    10510   #endif
    10511
    10512   #ifndef GLPOINTPARAMETERFVARB_DECL
    10513   #define GLPOINTPARAMETERFVARB_DECL
    10514   csGLPOINTPARAMETERFVARB glPointParameterfvARB;
    10515   #endif
    10516
    10517
    10537   #ifndef GLCOMPRESSEDTEXIMAGE3DARB_DECL
    10538   #define GLCOMPRESSEDTEXIMAGE3DARB_DECL
    10539   csGLCOMPRESSEDTEXIMAGE3DARB glCompressedTexImage3DARB;
    10540   #endif
    10541
    10542   #ifndef GLCOMPRESSEDTEXIMAGE2DARB_DECL
    10543   #define GLCOMPRESSEDTEXIMAGE2DARB_DECL
    10544   csGLCOMPRESSEDTEXIMAGE2DARB glCompressedTexImage2DARB;
    10545   #endif
    10546
    10547   #ifndef GLCOMPRESSEDTEXIMAGE1DARB_DECL
    10548   #define GLCOMPRESSEDTEXIMAGE1DARB_DECL
    10549   csGLCOMPRESSEDTEXIMAGE1DARB glCompressedTexImage1DARB;
    10550   #endif
    10551
    10552   #ifndef GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
    10553   #define GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
    10554   csGLCOMPRESSEDTEXSUBIMAGE3DARB glCompressedTexSubImage3DARB;
    10555   #endif
    10556
    10557   #ifndef GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
    10558   #define GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
    10559   csGLCOMPRESSEDTEXSUBIMAGE2DARB glCompressedTexSubImage2DARB;
    10560   #endif
    10561
    10562   #ifndef GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
    10563   #define GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
    10564   csGLCOMPRESSEDTEXSUBIMAGE1DARB glCompressedTexSubImage1DARB;
    10565   #endif
    10566
    10567   #ifndef GLGETCOMPRESSEDTEXIMAGEARB_DECL
    10568   #define GLGETCOMPRESSEDTEXIMAGEARB_DECL
    10569   csGLGETCOMPRESSEDTEXIMAGEARB glGetCompressedTexImageARB;
    10570   #endif
    10571
    10572
    10597   #ifndef GLWEIGHTBVARB_DECL
    10598   #define GLWEIGHTBVARB_DECL
    10599   csGLWEIGHTBVARB glWeightbvARB;
    10600   #endif
    10601
    10602   #ifndef GLWEIGHTSVARB_DECL
    10603   #define GLWEIGHTSVARB_DECL
    10604   csGLWEIGHTSVARB glWeightsvARB;
    10605   #endif
    10606
    10607   #ifndef GLWEIGHTIVARB_DECL
    10608   #define GLWEIGHTIVARB_DECL
    10609   csGLWEIGHTIVARB glWeightivARB;
    10610   #endif
    10611
    10612   #ifndef GLWEIGHTFVARB_DECL
    10613   #define GLWEIGHTFVARB_DECL
    10614   csGLWEIGHTFVARB glWeightfvARB;
    10615   #endif
    10616
    10617   #ifndef GLWEIGHTDVARB_DECL
    10618   #define GLWEIGHTDVARB_DECL
    10619   csGLWEIGHTDVARB glWeightdvARB;
    10620   #endif
    10621
    10622   #ifndef GLWEIGHTVARB_DECL
    10623   #define GLWEIGHTVARB_DECL
    10624   csGLWEIGHTVARB glWeightvARB;
    10625   #endif
    10626
    10627   #ifndef GLWEIGHTUBVARB_DECL
    10628   #define GLWEIGHTUBVARB_DECL
    10629   csGLWEIGHTUBVARB glWeightubvARB;
    10630   #endif
    10631
    10632   #ifndef GLWEIGHTUSVARB_DECL
    10633   #define GLWEIGHTUSVARB_DECL
    10634   csGLWEIGHTUSVARB glWeightusvARB;
    10635   #endif
    10636
    10637   #ifndef GLWEIGHTUIVARB_DECL
    10638   #define GLWEIGHTUIVARB_DECL
    10639   csGLWEIGHTUIVARB glWeightuivARB;
    10640   #endif
    10641
    10642   #ifndef GLWEIGHTPOINTERARB_DECL
    10643   #define GLWEIGHTPOINTERARB_DECL
    10644   csGLWEIGHTPOINTERARB glWeightPointerARB;
    10645   #endif
    10646
    10647   #ifndef GLVERTEXBLENDARB_DECL
    10648   #define GLVERTEXBLENDARB_DECL
    10649   csGLVERTEXBLENDARB glVertexBlendARB;
    10650   #endif
    10651
    10652
    10657   #ifndef GLVERTEXATTRIB1SARB_DECL
    10658   #define GLVERTEXATTRIB1SARB_DECL
    10659   csGLVERTEXATTRIB1SARB glVertexAttrib1sARB;
    10660   #endif
    10661
    10662   #ifndef GLVERTEXATTRIB1FARB_DECL
    10663   #define GLVERTEXATTRIB1FARB_DECL
    10664   csGLVERTEXATTRIB1FARB glVertexAttrib1fARB;
    10665   #endif
    10666
    10667   #ifndef GLVERTEXATTRIB1DARB_DECL
    10668   #define GLVERTEXATTRIB1DARB_DECL
    10669   csGLVERTEXATTRIB1DARB glVertexAttrib1dARB;
    10670   #endif
    10671
    10672   #ifndef GLVERTEXATTRIB2SARB_DECL
    10673   #define GLVERTEXATTRIB2SARB_DECL
    10674   csGLVERTEXATTRIB2SARB glVertexAttrib2sARB;
    10675   #endif
    10676
    10677   #ifndef GLVERTEXATTRIB2FARB_DECL
    10678   #define GLVERTEXATTRIB2FARB_DECL
    10679   csGLVERTEXATTRIB2FARB glVertexAttrib2fARB;
    10680   #endif
    10681
    10682   #ifndef GLVERTEXATTRIB2DARB_DECL
    10683   #define GLVERTEXATTRIB2DARB_DECL
    10684   csGLVERTEXATTRIB2DARB glVertexAttrib2dARB;
    10685   #endif
    10686
    10687   #ifndef GLVERTEXATTRIB3SARB_DECL
    10688   #define GLVERTEXATTRIB3SARB_DECL
    10689   csGLVERTEXATTRIB3SARB glVertexAttrib3sARB;
    10690   #endif
    10691
    10692   #ifndef GLVERTEXATTRIB3FARB_DECL
    10693   #define GLVERTEXATTRIB3FARB_DECL
    10694   csGLVERTEXATTRIB3FARB glVertexAttrib3fARB;
    10695   #endif
    10696
    10697   #ifndef GLVERTEXATTRIB3DARB_DECL
    10698   #define GLVERTEXATTRIB3DARB_DECL
    10699   csGLVERTEXATTRIB3DARB glVertexAttrib3dARB;
    10700   #endif
    10701
    10702   #ifndef GLVERTEXATTRIB4SARB_DECL
    10703   #define GLVERTEXATTRIB4SARB_DECL
    10704   csGLVERTEXATTRIB4SARB glVertexAttrib4sARB;
    10705   #endif
    10706
    10707   #ifndef GLVERTEXATTRIB4FARB_DECL
    10708   #define GLVERTEXATTRIB4FARB_DECL
    10709   csGLVERTEXATTRIB4FARB glVertexAttrib4fARB;
    10710   #endif
    10711
    10712   #ifndef GLVERTEXATTRIB4DARB_DECL
    10713   #define GLVERTEXATTRIB4DARB_DECL
    10714   csGLVERTEXATTRIB4DARB glVertexAttrib4dARB;
    10715   #endif
    10716
    10717   #ifndef GLVERTEXATTRIB4NUBARB_DECL
    10718   #define GLVERTEXATTRIB4NUBARB_DECL
    10719   csGLVERTEXATTRIB4NUBARB glVertexAttrib4NubARB;
    10720   #endif
    10721
    10722   #ifndef GLVERTEXATTRIB1SVARB_DECL
    10723   #define GLVERTEXATTRIB1SVARB_DECL
    10724   csGLVERTEXATTRIB1SVARB glVertexAttrib1svARB;
    10725   #endif
    10726
    10727   #ifndef GLVERTEXATTRIB1FVARB_DECL
    10728   #define GLVERTEXATTRIB1FVARB_DECL
    10729   csGLVERTEXATTRIB1FVARB glVertexAttrib1fvARB;
    10730   #endif
    10731
    10732   #ifndef GLVERTEXATTRIB1DVARB_DECL
    10733   #define GLVERTEXATTRIB1DVARB_DECL
    10734   csGLVERTEXATTRIB1DVARB glVertexAttrib1dvARB;
    10735   #endif
    10736
    10737   #ifndef GLVERTEXATTRIB2SVARB_DECL
    10738   #define GLVERTEXATTRIB2SVARB_DECL
    10739   csGLVERTEXATTRIB2SVARB glVertexAttrib2svARB;
    10740   #endif
    10741
    10742   #ifndef GLVERTEXATTRIB2FVARB_DECL
    10743   #define GLVERTEXATTRIB2FVARB_DECL
    10744   csGLVERTEXATTRIB2FVARB glVertexAttrib2fvARB;
    10745   #endif
    10746
    10747   #ifndef GLVERTEXATTRIB2DVARB_DECL
    10748   #define GLVERTEXATTRIB2DVARB_DECL
    10749   csGLVERTEXATTRIB2DVARB glVertexAttrib2dvARB;
    10750   #endif
    10751
    10752   #ifndef GLVERTEXATTRIB3SVARB_DECL
    10753   #define GLVERTEXATTRIB3SVARB_DECL
    10754   csGLVERTEXATTRIB3SVARB glVertexAttrib3svARB;
    10755   #endif
    10756
    10757   #ifndef GLVERTEXATTRIB3FVARB_DECL
    10758   #define GLVERTEXATTRIB3FVARB_DECL
    10759   csGLVERTEXATTRIB3FVARB glVertexAttrib3fvARB;
    10760   #endif
    10761
    10762   #ifndef GLVERTEXATTRIB3DVARB_DECL
    10763   #define GLVERTEXATTRIB3DVARB_DECL
    10764   csGLVERTEXATTRIB3DVARB glVertexAttrib3dvARB;
    10765   #endif
    10766
    10767   #ifndef GLVERTEXATTRIB4BVARB_DECL
    10768   #define GLVERTEXATTRIB4BVARB_DECL
    10769   csGLVERTEXATTRIB4BVARB glVertexAttrib4bvARB;
    10770   #endif
    10771
    10772   #ifndef GLVERTEXATTRIB4SVARB_DECL
    10773   #define GLVERTEXATTRIB4SVARB_DECL
    10774   csGLVERTEXATTRIB4SVARB glVertexAttrib4svARB;
    10775   #endif
    10776
    10777   #ifndef GLVERTEXATTRIB4IVARB_DECL
    10778   #define GLVERTEXATTRIB4IVARB_DECL
    10779   csGLVERTEXATTRIB4IVARB glVertexAttrib4ivARB;
    10780   #endif
    10781
    10782   #ifndef GLVERTEXATTRIB4UBVARB_DECL
    10783   #define GLVERTEXATTRIB4UBVARB_DECL
    10784   csGLVERTEXATTRIB4UBVARB glVertexAttrib4ubvARB;
    10785   #endif
    10786
    10787   #ifndef GLVERTEXATTRIB4USVARB_DECL
    10788   #define GLVERTEXATTRIB4USVARB_DECL
    10789   csGLVERTEXATTRIB4USVARB glVertexAttrib4usvARB;
    10790   #endif
    10791
    10792   #ifndef GLVERTEXATTRIB4UIVARB_DECL
    10793   #define GLVERTEXATTRIB4UIVARB_DECL
    10794   csGLVERTEXATTRIB4UIVARB glVertexAttrib4uivARB;
    10795   #endif
    10796
    10797   #ifndef GLVERTEXATTRIB4FVARB_DECL
    10798   #define GLVERTEXATTRIB4FVARB_DECL
    10799   csGLVERTEXATTRIB4FVARB glVertexAttrib4fvARB;
    10800   #endif
    10801
    10802   #ifndef GLVERTEXATTRIB4DVARB_DECL
    10803   #define GLVERTEXATTRIB4DVARB_DECL
    10804   csGLVERTEXATTRIB4DVARB glVertexAttrib4dvARB;
    10805   #endif
    10806
    10807   #ifndef GLVERTEXATTRIB4NBVARB_DECL
    10808   #define GLVERTEXATTRIB4NBVARB_DECL
    10809   csGLVERTEXATTRIB4NBVARB glVertexAttrib4NbvARB;
    10810   #endif
    10811
    10812   #ifndef GLVERTEXATTRIB4NSVARB_DECL
    10813   #define GLVERTEXATTRIB4NSVARB_DECL
    10814   csGLVERTEXATTRIB4NSVARB glVertexAttrib4NsvARB;
    10815   #endif
    10816
    10817   #ifndef GLVERTEXATTRIB4NIVARB_DECL
    10818   #define GLVERTEXATTRIB4NIVARB_DECL
    10819   csGLVERTEXATTRIB4NIVARB glVertexAttrib4NivARB;
    10820   #endif
    10821
    10822   #ifndef GLVERTEXATTRIB4NUBVARB_DECL
    10823   #define GLVERTEXATTRIB4NUBVARB_DECL
    10824   csGLVERTEXATTRIB4NUBVARB glVertexAttrib4NubvARB;
    10825   #endif
    10826
    10827   #ifndef GLVERTEXATTRIB4NUSVARB_DECL
    10828   #define GLVERTEXATTRIB4NUSVARB_DECL
    10829   csGLVERTEXATTRIB4NUSVARB glVertexAttrib4NusvARB;
    10830   #endif
    10831
    10832   #ifndef GLVERTEXATTRIB4NUIVARB_DECL
    10833   #define GLVERTEXATTRIB4NUIVARB_DECL
    10834   csGLVERTEXATTRIB4NUIVARB glVertexAttrib4NuivARB;
    10835   #endif
    10836
    10837   #ifndef GLVERTEXATTRIBPOINTERARB_DECL
    10838   #define GLVERTEXATTRIBPOINTERARB_DECL
    10839   csGLVERTEXATTRIBPOINTERARB glVertexAttribPointerARB;
    10840   #endif
    10841
    10842   #ifndef GLENABLEVERTEXATTRIBARRAYARB_DECL
    10843   #define GLENABLEVERTEXATTRIBARRAYARB_DECL
    10844   csGLENABLEVERTEXATTRIBARRAYARB glEnableVertexAttribArrayARB;
    10845   #endif
    10846
    10847   #ifndef GLDISABLEVERTEXATTRIBARRAYARB_DECL
    10848   #define GLDISABLEVERTEXATTRIBARRAYARB_DECL
    10849   csGLDISABLEVERTEXATTRIBARRAYARB glDisableVertexAttribArrayARB;
    10850   #endif
    10851
    10852   #ifndef GLPROGRAMSTRINGARB_DECL
    10853   #define GLPROGRAMSTRINGARB_DECL
    10854   csGLPROGRAMSTRINGARB glProgramStringARB;
    10855   #endif
    10856
    10857   #ifndef GLBINDPROGRAMARB_DECL
    10858   #define GLBINDPROGRAMARB_DECL
    10859   csGLBINDPROGRAMARB glBindProgramARB;
    10860   #endif
    10861
    10862   #ifndef GLDELETEPROGRAMSARB_DECL
    10863   #define GLDELETEPROGRAMSARB_DECL
    10864   csGLDELETEPROGRAMSARB glDeleteProgramsARB;
    10865   #endif
    10866
    10867   #ifndef GLGENPROGRAMSARB_DECL
    10868   #define GLGENPROGRAMSARB_DECL
    10869   csGLGENPROGRAMSARB glGenProgramsARB;
    10870   #endif
    10871
    10872   #ifndef GLPROGRAMENVPARAMETER4DARB_DECL
    10873   #define GLPROGRAMENVPARAMETER4DARB_DECL
    10874   csGLPROGRAMENVPARAMETER4DARB glProgramEnvParameter4dARB;
    10875   #endif
    10876
    10877   #ifndef GLPROGRAMENVPARAMETER4DVARB_DECL
    10878   #define GLPROGRAMENVPARAMETER4DVARB_DECL
    10879   csGLPROGRAMENVPARAMETER4DVARB glProgramEnvParameter4dvARB;
    10880   #endif
    10881
    10882   #ifndef GLPROGRAMENVPARAMETER4FARB_DECL
    10883   #define GLPROGRAMENVPARAMETER4FARB_DECL
    10884   csGLPROGRAMENVPARAMETER4FARB glProgramEnvParameter4fARB;
    10885   #endif
    10886
    10887   #ifndef GLPROGRAMENVPARAMETER4FVARB_DECL
    10888   #define GLPROGRAMENVPARAMETER4FVARB_DECL
    10889   csGLPROGRAMENVPARAMETER4FVARB glProgramEnvParameter4fvARB;
    10890   #endif
    10891
    10892   #ifndef GLPROGRAMLOCALPARAMETER4DARB_DECL
    10893   #define GLPROGRAMLOCALPARAMETER4DARB_DECL
    10894   csGLPROGRAMLOCALPARAMETER4DARB glProgramLocalParameter4dARB;
    10895   #endif
    10896
    10897   #ifndef GLPROGRAMLOCALPARAMETER4DVARB_DECL
    10898   #define GLPROGRAMLOCALPARAMETER4DVARB_DECL
    10899   csGLPROGRAMLOCALPARAMETER4DVARB glProgramLocalParameter4dvARB;
    10900   #endif
    10901
    10902   #ifndef GLPROGRAMLOCALPARAMETER4FARB_DECL
    10903   #define GLPROGRAMLOCALPARAMETER4FARB_DECL
    10904   csGLPROGRAMLOCALPARAMETER4FARB glProgramLocalParameter4fARB;
    10905   #endif
    10906
    10907   #ifndef GLPROGRAMLOCALPARAMETER4FVARB_DECL
    10908   #define GLPROGRAMLOCALPARAMETER4FVARB_DECL
    10909   csGLPROGRAMLOCALPARAMETER4FVARB glProgramLocalParameter4fvARB;
    10910   #endif
    10911
    10912   #ifndef GLGETPROGRAMENVPARAMETERDVARB_DECL
    10913   #define GLGETPROGRAMENVPARAMETERDVARB_DECL
    10914   csGLGETPROGRAMENVPARAMETERDVARB glGetProgramEnvParameterdvARB;
    10915   #endif
    10916
    10917   #ifndef GLGETPROGRAMENVPARAMETERFVARB_DECL
    10918   #define GLGETPROGRAMENVPARAMETERFVARB_DECL
    10919   csGLGETPROGRAMENVPARAMETERFVARB glGetProgramEnvParameterfvARB;
    10920   #endif
    10921
    10922   #ifndef GLGETPROGRAMLOCALPARAMETERDVARB_DECL
    10923   #define GLGETPROGRAMLOCALPARAMETERDVARB_DECL
    10924   csGLGETPROGRAMLOCALPARAMETERDVARB glGetProgramLocalParameterdvARB;
    10925   #endif
    10926
    10927   #ifndef GLGETPROGRAMLOCALPARAMETERFVARB_DECL
    10928   #define GLGETPROGRAMLOCALPARAMETERFVARB_DECL
    10929   csGLGETPROGRAMLOCALPARAMETERFVARB glGetProgramLocalParameterfvARB;
    10930   #endif
    10931
    10932   #ifndef GLGETPROGRAMIVARB_DECL
    10933   #define GLGETPROGRAMIVARB_DECL
    10934   csGLGETPROGRAMIVARB glGetProgramivARB;
    10935   #endif
    10936
    10937   #ifndef GLGETPROGRAMSTRINGARB_DECL
    10938   #define GLGETPROGRAMSTRINGARB_DECL
    10939   csGLGETPROGRAMSTRINGARB glGetProgramStringARB;
    10940   #endif
    10941
    10942   #ifndef GLGETVERTEXATTRIBDVARB_DECL
    10943   #define GLGETVERTEXATTRIBDVARB_DECL
    10944   csGLGETVERTEXATTRIBDVARB glGetVertexAttribdvARB;
    10945   #endif
    10946
    10947   #ifndef GLGETVERTEXATTRIBFVARB_DECL
    10948   #define GLGETVERTEXATTRIBFVARB_DECL
    10949   csGLGETVERTEXATTRIBFVARB glGetVertexAttribfvARB;
    10950   #endif
    10951
    10952   #ifndef GLGETVERTEXATTRIBIVARB_DECL
    10953   #define GLGETVERTEXATTRIBIVARB_DECL
    10954   csGLGETVERTEXATTRIBIVARB glGetVertexAttribivARB;
    10955   #endif
    10956
    10957   #ifndef GLGETVERTEXATTRIBPOINTERVARB_DECL
    10958   #define GLGETVERTEXATTRIBPOINTERVARB_DECL
    10959   csGLGETVERTEXATTRIBPOINTERVARB glGetVertexAttribPointervARB;
    10960   #endif
    10961
    10962   #ifndef GLISPROGRAMARB_DECL
    10963   #define GLISPROGRAMARB_DECL
    10964   csGLISPROGRAMARB glIsProgramARB;
    10965   #endif
    10966
    10967
    10972   #ifndef GLWINDOWPOS2DARB_DECL
    10973   #define GLWINDOWPOS2DARB_DECL
    10974   csGLWINDOWPOS2DARB glWindowPos2dARB;
    10975   #endif
    10976
    10977   #ifndef GLWINDOWPOS2FARB_DECL
    10978   #define GLWINDOWPOS2FARB_DECL
    10979   csGLWINDOWPOS2FARB glWindowPos2fARB;
    10980   #endif
    10981
    10982   #ifndef GLWINDOWPOS2IARB_DECL
    10983   #define GLWINDOWPOS2IARB_DECL
    10984   csGLWINDOWPOS2IARB glWindowPos2iARB;
    10985   #endif
    10986
    10987   #ifndef GLWINDOWPOS2SARB_DECL
    10988   #define GLWINDOWPOS2SARB_DECL
    10989   csGLWINDOWPOS2SARB glWindowPos2sARB;
    10990   #endif
    10991
    10992   #ifndef GLWINDOWPOS2DVARB_DECL
    10993   #define GLWINDOWPOS2DVARB_DECL
    10994   csGLWINDOWPOS2DVARB glWindowPos2dvARB;
    10995   #endif
    10996
    10997   #ifndef GLWINDOWPOS2FVARB_DECL
    10998   #define GLWINDOWPOS2FVARB_DECL
    10999   csGLWINDOWPOS2FVARB glWindowPos2fvARB;
    11000   #endif
    11001
    11002   #ifndef GLWINDOWPOS2IVARB_DECL
    11003   #define GLWINDOWPOS2IVARB_DECL
    11004   csGLWINDOWPOS2IVARB glWindowPos2ivARB;
    11005   #endif
    11006
    11007   #ifndef GLWINDOWPOS2SVARB_DECL
    11008   #define GLWINDOWPOS2SVARB_DECL
    11009   csGLWINDOWPOS2SVARB glWindowPos2svARB;
    11010   #endif
    11011
    11012   #ifndef GLWINDOWPOS3DARB_DECL
    11013   #define GLWINDOWPOS3DARB_DECL
    11014   csGLWINDOWPOS3DARB glWindowPos3dARB;
    11015   #endif
    11016
    11017   #ifndef GLWINDOWPOS3FARB_DECL
    11018   #define GLWINDOWPOS3FARB_DECL
    11019   csGLWINDOWPOS3FARB glWindowPos3fARB;
    11020   #endif
    11021
    11022   #ifndef GLWINDOWPOS3IARB_DECL
    11023   #define GLWINDOWPOS3IARB_DECL
    11024   csGLWINDOWPOS3IARB glWindowPos3iARB;
    11025   #endif
    11026
    11027   #ifndef GLWINDOWPOS3SARB_DECL
    11028   #define GLWINDOWPOS3SARB_DECL
    11029   csGLWINDOWPOS3SARB glWindowPos3sARB;
    11030   #endif
    11031
    11032   #ifndef GLWINDOWPOS3DVARB_DECL
    11033   #define GLWINDOWPOS3DVARB_DECL
    11034   csGLWINDOWPOS3DVARB glWindowPos3dvARB;
    11035   #endif
    11036
    11037   #ifndef GLWINDOWPOS3FVARB_DECL
    11038   #define GLWINDOWPOS3FVARB_DECL
    11039   csGLWINDOWPOS3FVARB glWindowPos3fvARB;
    11040   #endif
    11041
    11042   #ifndef GLWINDOWPOS3IVARB_DECL
    11043   #define GLWINDOWPOS3IVARB_DECL
    11044   csGLWINDOWPOS3IVARB glWindowPos3ivARB;
    11045   #endif
    11046
    11047   #ifndef GLWINDOWPOS3SVARB_DECL
    11048   #define GLWINDOWPOS3SVARB_DECL
    11049   csGLWINDOWPOS3SVARB glWindowPos3svARB;
    11050   #endif
    11051
    11052
    11072   #ifndef GLBLENDCOLOREXT_DECL
    11073   #define GLBLENDCOLOREXT_DECL
    11074   csGLBLENDCOLOREXT glBlendColorEXT;
    11075   #endif
    11076
    11077
    11082   #ifndef GLBLENDFUNCSEPARATEEXT_DECL
    11083   #define GLBLENDFUNCSEPARATEEXT_DECL
    11084   csGLBLENDFUNCSEPARATEEXT glBlendFuncSeparateEXT;
    11085   #endif
    11086
    11087
    11097   #ifndef GLBLENDEQUATIONEXT_DECL
    11098   #define GLBLENDEQUATIONEXT_DECL
    11099   csGLBLENDEQUATIONEXT glBlendEquationEXT;
    11100   #endif
    11101
    11102
    11117   #ifndef GLCOLORSUBTABLEEXT_DECL
    11118   #define GLCOLORSUBTABLEEXT_DECL
    11119   csGLCOLORSUBTABLEEXT glColorSubTableEXT;
    11120   #endif
    11121
    11122   #ifndef GLCOPYCOLORSUBTABLEEXT_DECL
    11123   #define GLCOPYCOLORSUBTABLEEXT_DECL
    11124   csGLCOPYCOLORSUBTABLEEXT glCopyColorSubTableEXT;
    11125   #endif
    11126
    11127
    11132   #ifndef GLLOCKARRAYSEXT_DECL
    11133   #define GLLOCKARRAYSEXT_DECL
    11134   csGLLOCKARRAYSEXT glLockArraysEXT;
    11135   #endif
    11136
    11137   #ifndef GLUNLOCKARRAYSEXT_DECL
    11138   #define GLUNLOCKARRAYSEXT_DECL
    11139   csGLUNLOCKARRAYSEXT glUnlockArraysEXT;
    11140   #endif
    11141
    11142
    11147   #ifndef GLCONVOLUTIONFILTER1DEXT_DECL
    11148   #define GLCONVOLUTIONFILTER1DEXT_DECL
    11149   csGLCONVOLUTIONFILTER1DEXT glConvolutionFilter1DEXT;
    11150   #endif
    11151
    11152   #ifndef GLCONVOLUTIONFILTER2DEXT_DECL
    11153   #define GLCONVOLUTIONFILTER2DEXT_DECL
    11154   csGLCONVOLUTIONFILTER2DEXT glConvolutionFilter2DEXT;
    11155   #endif
    11156
    11157   #ifndef GLCOPYCONVOLUTIONFILTER1DEXT_DECL
    11158   #define GLCOPYCONVOLUTIONFILTER1DEXT_DECL
    11159   csGLCOPYCONVOLUTIONFILTER1DEXT glCopyConvolutionFilter1DEXT;
    11160   #endif
    11161
    11162   #ifndef GLCOPYCONVOLUTIONFILTER2DEXT_DECL
    11163   #define GLCOPYCONVOLUTIONFILTER2DEXT_DECL
    11164   csGLCOPYCONVOLUTIONFILTER2DEXT glCopyConvolutionFilter2DEXT;
    11165   #endif
    11166
    11167   #ifndef GLGETCONVOLUTIONFILTEREXT_DECL
    11168   #define GLGETCONVOLUTIONFILTEREXT_DECL
    11169   csGLGETCONVOLUTIONFILTEREXT glGetConvolutionFilterEXT;
    11170   #endif
    11171
    11172   #ifndef GLSEPARABLEFILTER2DEXT_DECL
    11173   #define GLSEPARABLEFILTER2DEXT_DECL
    11174   csGLSEPARABLEFILTER2DEXT glSeparableFilter2DEXT;
    11175   #endif
    11176
    11177   #ifndef GLGETSEPARABLEFILTEREXT_DECL
    11178   #define GLGETSEPARABLEFILTEREXT_DECL
    11179   csGLGETSEPARABLEFILTEREXT glGetSeparableFilterEXT;
    11180   #endif
    11181
    11182   #ifndef GLCONVOLUTIONPARAMETERIEXT_DECL
    11183   #define GLCONVOLUTIONPARAMETERIEXT_DECL
    11184   csGLCONVOLUTIONPARAMETERIEXT glConvolutionParameteriEXT;
    11185   #endif
    11186
    11187   #ifndef GLCONVOLUTIONPARAMETERIVEXT_DECL
    11188   #define GLCONVOLUTIONPARAMETERIVEXT_DECL
    11189   csGLCONVOLUTIONPARAMETERIVEXT glConvolutionParameterivEXT;
    11190   #endif
    11191
    11192   #ifndef GLCONVOLUTIONPARAMETERFEXT_DECL
    11193   #define GLCONVOLUTIONPARAMETERFEXT_DECL
    11194   csGLCONVOLUTIONPARAMETERFEXT glConvolutionParameterfEXT;
    11195   #endif
    11196
    11197   #ifndef GLCONVOLUTIONPARAMETERFVEXT_DECL
    11198   #define GLCONVOLUTIONPARAMETERFVEXT_DECL
    11199   csGLCONVOLUTIONPARAMETERFVEXT glConvolutionParameterfvEXT;
    11200   #endif
    11201
    11202   #ifndef GLGETCONVOLUTIONPARAMETERIVEXT_DECL
    11203   #define GLGETCONVOLUTIONPARAMETERIVEXT_DECL
    11204   csGLGETCONVOLUTIONPARAMETERIVEXT glGetConvolutionParameterivEXT;
    11205   #endif
    11206
    11207   #ifndef GLGETCONVOLUTIONPARAMETERFVEXT_DECL
    11208   #define GLGETCONVOLUTIONPARAMETERFVEXT_DECL
    11209   csGLGETCONVOLUTIONPARAMETERFVEXT glGetConvolutionParameterfvEXT;
    11210   #endif
    11211
    11212
    11217   #ifndef GLFOGCOORDFEXFLOAT_DECL
    11218   #define GLFOGCOORDFEXFLOAT_DECL
    11219   csGLFOGCOORDFEXFLOAT glFogCoordfEXfloat;
    11220   #endif
    11221
    11222   #ifndef GLFOGCOORDDEXDOUBLE_DECL
    11223   #define GLFOGCOORDDEXDOUBLE_DECL
    11224   csGLFOGCOORDDEXDOUBLE glFogCoorddEXdouble;
    11225   #endif
    11226
    11227   #ifndef GLFOGCOORDFVEXFLOAT_DECL
    11228   #define GLFOGCOORDFVEXFLOAT_DECL
    11229   csGLFOGCOORDFVEXFLOAT glFogCoordfvEXfloat;
    11230   #endif
    11231
    11232   #ifndef GLFOGCOORDDVEXDOUBLE_DECL
    11233   #define GLFOGCOORDDVEXDOUBLE_DECL
    11234   csGLFOGCOORDDVEXDOUBLE glFogCoorddvEXdouble;
    11235   #endif
    11236
    11237   #ifndef GLFOGCOORDPOINTEREXT_DECL
    11238   #define GLFOGCOORDPOINTEREXT_DECL
    11239   csGLFOGCOORDPOINTEREXT glFogCoordPointerEXT;
    11240   #endif
    11241
    11242
    11247   #ifndef GLHISTOGRAMEXT_DECL
    11248   #define GLHISTOGRAMEXT_DECL
    11249   csGLHISTOGRAMEXT glHistogramEXT;
    11250   #endif
    11251
    11252   #ifndef GLRESETHISTOGRAMEXT_DECL
    11253   #define GLRESETHISTOGRAMEXT_DECL
    11254   csGLRESETHISTOGRAMEXT glResetHistogramEXT;
    11255   #endif
    11256
    11257   #ifndef GLGETHISTOGRAMEXT_DECL
    11258   #define GLGETHISTOGRAMEXT_DECL
    11259   csGLGETHISTOGRAMEXT glGetHistogramEXT;
    11260   #endif
    11261
    11262   #ifndef GLGETHISTOGRAMPARAMETERIVEXT_DECL
    11263   #define GLGETHISTOGRAMPARAMETERIVEXT_DECL
    11264   csGLGETHISTOGRAMPARAMETERIVEXT glGetHistogramParameterivEXT;
    11265   #endif
    11266
    11267   #ifndef GLGETHISTOGRAMPARAMETERFVEXT_DECL
    11268   #define GLGETHISTOGRAMPARAMETERFVEXT_DECL
    11269   csGLGETHISTOGRAMPARAMETERFVEXT glGetHistogramParameterfvEXT;
    11270   #endif
    11271
    11272   #ifndef GLMINMAXEXT_DECL
    11273   #define GLMINMAXEXT_DECL
    11274   csGLMINMAXEXT glMinmaxEXT;
    11275   #endif
    11276
    11277   #ifndef GLRESETMINMAXEXT_DECL
    11278   #define GLRESETMINMAXEXT_DECL
    11279   csGLRESETMINMAXEXT glResetMinmaxEXT;
    11280   #endif
    11281
    11282   #ifndef GLGETMINMAXEXT_DECL
    11283   #define GLGETMINMAXEXT_DECL
    11284   csGLGETMINMAXEXT glGetMinmaxEXT;
    11285   #endif
    11286
    11287   #ifndef GLGETMINMAXPARAMETERIVEXT_DECL
    11288   #define GLGETMINMAXPARAMETERIVEXT_DECL
    11289   csGLGETMINMAXPARAMETERIVEXT glGetMinmaxParameterivEXT;
    11290   #endif
    11291
    11292   #ifndef GLGETMINMAXPARAMETERFVEXT_DECL
    11293   #define GLGETMINMAXPARAMETERFVEXT_DECL
    11294   csGLGETMINMAXPARAMETERFVEXT glGetMinmaxParameterfvEXT;
    11295   #endif
    11296
    11297
    11302   #ifndef GLMULTIDRAWARRAYSEXT_DECL
    11303   #define GLMULTIDRAWARRAYSEXT_DECL
    11304   csGLMULTIDRAWARRAYSEXT glMultiDrawArraysEXT;
    11305   #endif
    11306
    11307   #ifndef GLMULTIDRAWELEMENTSEXT_DECL
    11308   #define GLMULTIDRAWELEMENTSEXT_DECL
    11309   csGLMULTIDRAWELEMENTSEXT glMultiDrawElementsEXT;
    11310   #endif
    11311
    11312
    11322   #ifndef GLCOLORTABLEEXT_DECL
    11323   #define GLCOLORTABLEEXT_DECL
    11324   csGLCOLORTABLEEXT glColorTableEXT;
    11325   #endif
    11326
    11327   #ifndef GLGETCOLORTABLEEXT_DECL
    11328   #define GLGETCOLORTABLEEXT_DECL
    11329   csGLGETCOLORTABLEEXT glGetColorTableEXT;
    11330   #endif
    11331
    11332   #ifndef GLGETCOLORTABLEPARAMETERIVEXT_DECL
    11333   #define GLGETCOLORTABLEPARAMETERIVEXT_DECL
    11334   csGLGETCOLORTABLEPARAMETERIVEXT glGetColorTableParameterivEXT;
    11335   #endif
    11336
    11337   #ifndef GLGETCOLORTABLEPARAMETERFVEXT_DECL
    11338   #define GLGETCOLORTABLEPARAMETERFVEXT_DECL
    11339   csGLGETCOLORTABLEPARAMETERFVEXT glGetColorTableParameterfvEXT;
    11340   #endif
    11341
    11342
    11347   #ifndef GLPOINTPARAMETERFEXT_DECL
    11348   #define GLPOINTPARAMETERFEXT_DECL
    11349   csGLPOINTPARAMETERFEXT glPointParameterfEXT;
    11350   #endif
    11351
    11352   #ifndef GLPOINTPARAMETERFVEXT_DECL
    11353   #define GLPOINTPARAMETERFVEXT_DECL
    11354   csGLPOINTPARAMETERFVEXT glPointParameterfvEXT;
    11355   #endif
    11356
    11357
    11362   #ifndef GLPOLYGONOFFSETEXT_DECL
    11363   #define GLPOLYGONOFFSETEXT_DECL
    11364   csGLPOLYGONOFFSETEXT glPolygonOffsetEXT;
    11365   #endif
    11366
    11367
    11372   #ifndef GLSECONDARYCOLOR3BEXT_DECL
    11373   #define GLSECONDARYCOLOR3BEXT_DECL
    11374   csGLSECONDARYCOLOR3BEXT glSecondaryColor3bEXT;
    11375   #endif
    11376
    11377   #ifndef GLSECONDARYCOLOR3SEXT_DECL
    11378   #define GLSECONDARYCOLOR3SEXT_DECL
    11379   csGLSECONDARYCOLOR3SEXT glSecondaryColor3sEXT;
    11380   #endif
    11381
    11382   #ifndef GLSECONDARYCOLOR3IEXT_DECL
    11383   #define GLSECONDARYCOLOR3IEXT_DECL
    11384   csGLSECONDARYCOLOR3IEXT glSecondaryColor3iEXT;
    11385   #endif
    11386
    11387   #ifndef GLSECONDARYCOLOR3FEXT_DECL
    11388   #define GLSECONDARYCOLOR3FEXT_DECL
    11389   csGLSECONDARYCOLOR3FEXT glSecondaryColor3fEXT;
    11390   #endif
    11391
    11392   #ifndef GLSECONDARYCOLOR3DEXT_DECL
    11393   #define GLSECONDARYCOLOR3DEXT_DECL
    11394   csGLSECONDARYCOLOR3DEXT glSecondaryColor3dEXT;
    11395   #endif
    11396
    11397   #ifndef GLSECONDARYCOLOR3UBEXT_DECL
    11398   #define GLSECONDARYCOLOR3UBEXT_DECL
    11399   csGLSECONDARYCOLOR3UBEXT glSecondaryColor3ubEXT;
    11400   #endif
    11401
    11402   #ifndef GLSECONDARYCOLOR3USEXT_DECL
    11403   #define GLSECONDARYCOLOR3USEXT_DECL
    11404   csGLSECONDARYCOLOR3USEXT glSecondaryColor3usEXT;
    11405   #endif
    11406
    11407   #ifndef GLSECONDARYCOLOR3UIEXT_DECL
    11408   #define GLSECONDARYCOLOR3UIEXT_DECL
    11409   csGLSECONDARYCOLOR3UIEXT glSecondaryColor3uiEXT;
    11410   #endif
    11411
    11412   #ifndef GLSECONDARYCOLOR3BVEXT_DECL
    11413   #define GLSECONDARYCOLOR3BVEXT_DECL
    11414   csGLSECONDARYCOLOR3BVEXT glSecondaryColor3bvEXT;
    11415   #endif
    11416
    11417   #ifndef GLSECONDARYCOLOR3SVEXT_DECL
    11418   #define GLSECONDARYCOLOR3SVEXT_DECL
    11419   csGLSECONDARYCOLOR3SVEXT glSecondaryColor3svEXT;
    11420   #endif
    11421
    11422   #ifndef GLSECONDARYCOLOR3IVEXT_DECL
    11423   #define GLSECONDARYCOLOR3IVEXT_DECL
    11424   csGLSECONDARYCOLOR3IVEXT glSecondaryColor3ivEXT;
    11425   #endif
    11426
    11427   #ifndef GLSECONDARYCOLOR3FVEXT_DECL
    11428   #define GLSECONDARYCOLOR3FVEXT_DECL
    11429   csGLSECONDARYCOLOR3FVEXT glSecondaryColor3fvEXT;
    11430   #endif
    11431
    11432   #ifndef GLSECONDARYCOLOR3DVEXT_DECL
    11433   #define GLSECONDARYCOLOR3DVEXT_DECL
    11434   csGLSECONDARYCOLOR3DVEXT glSecondaryColor3dvEXT;
    11435   #endif
    11436
    11437   #ifndef GLSECONDARYCOLOR3UBVEXT_DECL
    11438   #define GLSECONDARYCOLOR3UBVEXT_DECL
    11439   csGLSECONDARYCOLOR3UBVEXT glSecondaryColor3ubvEXT;
    11440   #endif
    11441
    11442   #ifndef GLSECONDARYCOLOR3USVEXT_DECL
    11443   #define GLSECONDARYCOLOR3USVEXT_DECL
    11444   csGLSECONDARYCOLOR3USVEXT glSecondaryColor3usvEXT;
    11445   #endif
    11446
    11447   #ifndef GLSECONDARYCOLOR3UIVEXT_DECL
    11448   #define GLSECONDARYCOLOR3UIVEXT_DECL
    11449   csGLSECONDARYCOLOR3UIVEXT glSecondaryColor3uivEXT;
    11450   #endif
    11451
    11452   #ifndef GLSECONDARYCOLORPOINTEREXT_DECL
    11453   #define GLSECONDARYCOLORPOINTEREXT_DECL
    11454   csGLSECONDARYCOLORPOINTEREXT glSecondaryColorPointerEXT;
    11455   #endif
    11456
    11457
    11477   #ifndef GLACTIVESTENCILFACEEXT_DECL
    11478   #define GLACTIVESTENCILFACEEXT_DECL
    11479   csGLACTIVESTENCILFACEEXT glActiveStencilFaceEXT;
    11480   #endif
    11481
    11482
    11492   #ifndef GLTEXSUBIMAGE1DEXT_DECL
    11493   #define GLTEXSUBIMAGE1DEXT_DECL
    11494   csGLTEXSUBIMAGE1DEXT glTexSubImage1DEXT;
    11495   #endif
    11496
    11497   #ifndef GLTEXSUBIMAGE2DEXT_DECL
    11498   #define GLTEXSUBIMAGE2DEXT_DECL
    11499   csGLTEXSUBIMAGE2DEXT glTexSubImage2DEXT;
    11500   #endif
    11501
    11502   #ifndef GLTEXSUBIMAGE3DEXT_DECL
    11503   #define GLTEXSUBIMAGE3DEXT_DECL
    11504   csGLTEXSUBIMAGE3DEXT glTexSubImage3DEXT;
    11505   #endif
    11506
    11507
    11512   #ifndef GLTEXIMAGE3DEXT_DECL
    11513   #define GLTEXIMAGE3DEXT_DECL
    11514   csGLTEXIMAGE3DEXT glTexImage3DEXT;
    11515   #endif
    11516
    11517
    11552   #ifndef GLGENTEXTURESEXT_DECL
    11553   #define GLGENTEXTURESEXT_DECL
    11554   csGLGENTEXTURESEXT glGenTexturesEXT;
    11555   #endif
    11556
    11557   #ifndef GLDELETETEXTURESEXT_DECL
    11558   #define GLDELETETEXTURESEXT_DECL
    11559   csGLDELETETEXTURESEXT glDeleteTexturesEXT;
    11560   #endif
    11561
    11562   #ifndef GLBINDTEXTUREEXT_DECL
    11563   #define GLBINDTEXTUREEXT_DECL
    11564   csGLBINDTEXTUREEXT glBindTextureEXT;
    11565   #endif
    11566
    11567   #ifndef GLPRIORITIZETEXTURESEXT_DECL
    11568   #define GLPRIORITIZETEXTURESEXT_DECL
    11569   csGLPRIORITIZETEXTURESEXT glPrioritizeTexturesEXT;
    11570   #endif
    11571
    11572   #ifndef GLARETEXTURESRESIDENTEXT_DECL
    11573   #define GLARETEXTURESRESIDENTEXT_DECL
    11574   csGLARETEXTURESRESIDENTEXT glAreTexturesResidentEXT;
    11575   #endif
    11576
    11577   #ifndef GLISTEXTUREEXT_DECL
    11578   #define GLISTEXTUREEXT_DECL
    11579   csGLISTEXTUREEXT glIsTextureEXT;
    11580   #endif
    11581
    11582
    11587   #ifndef GLARRAYELEMENTEXT_DECL
    11588   #define GLARRAYELEMENTEXT_DECL
    11589   csGLARRAYELEMENTEXT glArrayElementEXT;
    11590   #endif
    11591
    11592   #ifndef GLDRAWARRAYSEXT_DECL
    11593   #define GLDRAWARRAYSEXT_DECL
    11594   csGLDRAWARRAYSEXT glDrawArraysEXT;
    11595   #endif
    11596
    11597   #ifndef GLVERTEXPOINTEREXT_DECL
    11598   #define GLVERTEXPOINTEREXT_DECL
    11599   csGLVERTEXPOINTEREXT glVertexPointerEXT;
    11600   #endif
    11601
    11602   #ifndef GLNORMALPOINTEREXT_DECL
    11603   #define GLNORMALPOINTEREXT_DECL
    11604   csGLNORMALPOINTEREXT glNormalPointerEXT;
    11605   #endif
    11606
    11607   #ifndef GLCOLORPOINTEREXT_DECL
    11608   #define GLCOLORPOINTEREXT_DECL
    11609   csGLCOLORPOINTEREXT glColorPointerEXT;
    11610   #endif
    11611
    11612   #ifndef GLINDEXPOINTEREXT_DECL
    11613   #define GLINDEXPOINTEREXT_DECL
    11614   csGLINDEXPOINTEREXT glIndexPointerEXT;
    11615   #endif
    11616
    11617   #ifndef GLTEXCOORDPOINTEREXT_DECL
    11618   #define GLTEXCOORDPOINTEREXT_DECL
    11619   csGLTEXCOORDPOINTEREXT glTexCoordPointerEXT;
    11620   #endif
    11621
    11622   #ifndef GLEDGEFLAGPOINTEREXT_DECL
    11623   #define GLEDGEFLAGPOINTEREXT_DECL
    11624   csGLEDGEFLAGPOINTEREXT glEdgeFlagPointerEXT;
    11625   #endif
    11626
    11627   #ifndef GLGETPOINTERVEXT_DECL
    11628   #define GLGETPOINTERVEXT_DECL
    11629   csGLGETPOINTERVEXT glGetPointervEXT;
    11630   #endif
    11631
    11632
    11637   #ifndef GLBEGINVERTEXSHADEREXT_DECL
    11638   #define GLBEGINVERTEXSHADEREXT_DECL
    11639   csGLBEGINVERTEXSHADEREXT glBeginVertexShaderEXT;
    11640   #endif
    11641
    11642   #ifndef GLENDVERTEXSHADEREXT_DECL
    11643   #define GLENDVERTEXSHADEREXT_DECL
    11644   csGLENDVERTEXSHADEREXT glEndVertexShaderEXT;
    11645   #endif
    11646
    11647   #ifndef GLBINDVERTEXSHADEREXT_DECL
    11648   #define GLBINDVERTEXSHADEREXT_DECL
    11649   csGLBINDVERTEXSHADEREXT glBindVertexShaderEXT;
    11650   #endif
    11651
    11652   #ifndef GLGENVERTEXSHADERSEXT_DECL
    11653   #define GLGENVERTEXSHADERSEXT_DECL
    11654   csGLGENVERTEXSHADERSEXT glGenVertexShadersEXT;
    11655   #endif
    11656
    11657   #ifndef GLDELETEVERTEXSHADEREXT_DECL
    11658   #define GLDELETEVERTEXSHADEREXT_DECL
    11659   csGLDELETEVERTEXSHADEREXT glDeleteVertexShaderEXT;
    11660   #endif
    11661
    11662   #ifndef GLSHADEROP1EXT_DECL
    11663   #define GLSHADEROP1EXT_DECL
    11664   csGLSHADEROP1EXT glShaderOp1EXT;
    11665   #endif
    11666
    11667   #ifndef GLSHADEROP2EXT_DECL
    11668   #define GLSHADEROP2EXT_DECL
    11669   csGLSHADEROP2EXT glShaderOp2EXT;
    11670   #endif
    11671
    11672   #ifndef GLSHADEROP3EXT_DECL
    11673   #define GLSHADEROP3EXT_DECL
    11674   csGLSHADEROP3EXT glShaderOp3EXT;
    11675   #endif
    11676
    11677   #ifndef GLSWIZZLEEXT_DECL
    11678   #define GLSWIZZLEEXT_DECL
    11679   csGLSWIZZLEEXT glSwizzleEXT;
    11680   #endif
    11681
    11682   #ifndef GLWRITEMASKEXT_DECL
    11683   #define GLWRITEMASKEXT_DECL
    11684   csGLWRITEMASKEXT glWriteMaskEXT;
    11685   #endif
    11686
    11687   #ifndef GLINSERTCOMPONENTEXT_DECL
    11688   #define GLINSERTCOMPONENTEXT_DECL
    11689   csGLINSERTCOMPONENTEXT glInsertComponentEXT;
    11690   #endif
    11691
    11692   #ifndef GLEXTRACTCOMPONENTEXT_DECL
    11693   #define GLEXTRACTCOMPONENTEXT_DECL
    11694   csGLEXTRACTCOMPONENTEXT glExtractComponentEXT;
    11695   #endif
    11696
    11697   #ifndef GLGENSYMBOLSEXT_DECL
    11698   #define GLGENSYMBOLSEXT_DECL
    11699   csGLGENSYMBOLSEXT glGenSymbolsEXT;
    11700   #endif
    11701
    11702   #ifndef GLSETINVARIANTEXT_DECL
    11703   #define GLSETINVARIANTEXT_DECL
    11704   csGLSETINVARIANTEXT glSetInvariantEXT;
    11705   #endif
    11706
    11707   #ifndef GLSETLOCALCONSTANTEXT_DECL
    11708   #define GLSETLOCALCONSTANTEXT_DECL
    11709   csGLSETLOCALCONSTANTEXT glSetLocalConstantEXT;
    11710   #endif
    11711
    11712   #ifndef GLVARIANTBVEXT_DECL
    11713   #define GLVARIANTBVEXT_DECL
    11714   csGLVARIANTBVEXT glVariantbvEXT;
    11715   #endif
    11716
    11717   #ifndef GLVARIANTSVEXT_DECL
    11718   #define GLVARIANTSVEXT_DECL
    11719   csGLVARIANTSVEXT glVariantsvEXT;
    11720   #endif
    11721
    11722   #ifndef GLVARIANTIVEXT_DECL
    11723   #define GLVARIANTIVEXT_DECL
    11724   csGLVARIANTIVEXT glVariantivEXT;
    11725   #endif
    11726
    11727   #ifndef GLVARIANTFVEXT_DECL
    11728   #define GLVARIANTFVEXT_DECL
    11729   csGLVARIANTFVEXT glVariantfvEXT;
    11730   #endif
    11731
    11732   #ifndef GLVARIANTDVEXT_DECL
    11733   #define GLVARIANTDVEXT_DECL
    11734   csGLVARIANTDVEXT glVariantdvEXT;
    11735   #endif
    11736
    11737   #ifndef GLVARIANTUBVEXT_DECL
    11738   #define GLVARIANTUBVEXT_DECL
    11739   csGLVARIANTUBVEXT glVariantubvEXT;
    11740   #endif
    11741
    11742   #ifndef GLVARIANTUSVEXT_DECL
    11743   #define GLVARIANTUSVEXT_DECL
    11744   csGLVARIANTUSVEXT glVariantusvEXT;
    11745   #endif
    11746
    11747   #ifndef GLVARIANTUIVEXT_DECL
    11748   #define GLVARIANTUIVEXT_DECL
    11749   csGLVARIANTUIVEXT glVariantuivEXT;
    11750   #endif
    11751
    11752   #ifndef GLVARIANTPOINTEREXT_DECL
    11753   #define GLVARIANTPOINTEREXT_DECL
    11754   csGLVARIANTPOINTEREXT glVariantPointerEXT;
    11755   #endif
    11756
    11757   #ifndef GLENABLEVARIANTCLIENTSTATEEXT_DECL
    11758   #define GLENABLEVARIANTCLIENTSTATEEXT_DECL
    11759   csGLENABLEVARIANTCLIENTSTATEEXT glEnableVariantClientStateEXT;
    11760   #endif
    11761
    11762   #ifndef GLDISABLEVARIANTCLIENTSTATEEXT_DECL
    11763   #define GLDISABLEVARIANTCLIENTSTATEEXT_DECL
    11764   csGLDISABLEVARIANTCLIENTSTATEEXT glDisableVariantClientStateEXT;
    11765   #endif
    11766
    11767   #ifndef GLBINDLIGHTPARAMETEREXT_DECL
    11768   #define GLBINDLIGHTPARAMETEREXT_DECL
    11769   csGLBINDLIGHTPARAMETEREXT glBindLightParameterEXT;
    11770   #endif
    11771
    11772   #ifndef GLBINDMATERIALPARAMETEREXT_DECL
    11773   #define GLBINDMATERIALPARAMETEREXT_DECL
    11774   csGLBINDMATERIALPARAMETEREXT glBindMaterialParameterEXT;
    11775   #endif
    11776
    11777   #ifndef GLBINDTEXGENPARAMETEREXT_DECL
    11778   #define GLBINDTEXGENPARAMETEREXT_DECL
    11779   csGLBINDTEXGENPARAMETEREXT glBindTexGenParameterEXT;
    11780   #endif
    11781
    11782   #ifndef GLBINDTEXTUREUNITPARAMETEREXT_DECL
    11783   #define GLBINDTEXTUREUNITPARAMETEREXT_DECL
    11784   csGLBINDTEXTUREUNITPARAMETEREXT glBindTextureUnitParameterEXT;
    11785   #endif
    11786
    11787   #ifndef GLBINDPARAMETEREXT_DECL
    11788   #define GLBINDPARAMETEREXT_DECL
    11789   csGLBINDPARAMETEREXT glBindParameterEXT;
    11790   #endif
    11791
    11792   #ifndef GLISVARIANTENABLEDEXT_DECL
    11793   #define GLISVARIANTENABLEDEXT_DECL
    11794   csGLISVARIANTENABLEDEXT glIsVariantEnabledEXT;
    11795   #endif
    11796
    11797   #ifndef GLGETVARIANTBOOLEANVEXT_DECL
    11798   #define GLGETVARIANTBOOLEANVEXT_DECL
    11799   csGLGETVARIANTBOOLEANVEXT glGetVariantBooleanvEXT;
    11800   #endif
    11801
    11802   #ifndef GLGETVARIANTINTEGERVEXT_DECL
    11803   #define GLGETVARIANTINTEGERVEXT_DECL
    11804   csGLGETVARIANTINTEGERVEXT glGetVariantIntegervEXT;
    11805   #endif
    11806
    11807   #ifndef GLGETVARIANTFLOATVEXT_DECL
    11808   #define GLGETVARIANTFLOATVEXT_DECL
    11809   csGLGETVARIANTFLOATVEXT glGetVariantFloatvEXT;
    11810   #endif
    11811
    11812   #ifndef GLGETVARIANTPOINTERVEXT_DECL
    11813   #define GLGETVARIANTPOINTERVEXT_DECL
    11814   csGLGETVARIANTPOINTERVEXT glGetVariantPointervEXT;
    11815   #endif
    11816
    11817   #ifndef GLGETINVARIANTBOOLEANVEXT_DECL
    11818   #define GLGETINVARIANTBOOLEANVEXT_DECL
    11819   csGLGETINVARIANTBOOLEANVEXT glGetInvariantBooleanvEXT;
    11820   #endif
    11821
    11822   #ifndef GLGETINVARIANTINTEGERVEXT_DECL
    11823   #define GLGETINVARIANTINTEGERVEXT_DECL
    11824   csGLGETINVARIANTINTEGERVEXT glGetInvariantIntegervEXT;
    11825   #endif
    11826
    11827   #ifndef GLGETINVARIANTFLOATVEXT_DECL
    11828   #define GLGETINVARIANTFLOATVEXT_DECL
    11829   csGLGETINVARIANTFLOATVEXT glGetInvariantFloatvEXT;
    11830   #endif
    11831
    11832   #ifndef GLGETLOCALCONSTANTBOOLEANVEXT_DECL
    11833   #define GLGETLOCALCONSTANTBOOLEANVEXT_DECL
    11834   csGLGETLOCALCONSTANTBOOLEANVEXT glGetLocalConstantBooleanvEXT;
    11835   #endif
    11836
    11837   #ifndef GLGETLOCALCONSTANTINTEGERVEXT_DECL
    11838   #define GLGETLOCALCONSTANTINTEGERVEXT_DECL
    11839   csGLGETLOCALCONSTANTINTEGERVEXT glGetLocalConstantIntegervEXT;
    11840   #endif
    11841
    11842   #ifndef GLGETLOCALCONSTANTFLOATVEXT_DECL
    11843   #define GLGETLOCALCONSTANTFLOATVEXT_DECL
    11844   csGLGETLOCALCONSTANTFLOATVEXT glGetLocalConstantFloatvEXT;
    11845   #endif
    11846
    11847
    11852   #ifndef GLVERTEXWEIGHTFEXT_DECL
    11853   #define GLVERTEXWEIGHTFEXT_DECL
    11854   csGLVERTEXWEIGHTFEXT glVertexWeightfEXT;
    11855   #endif
    11856
    11857   #ifndef GLVERTEXWEIGHTFVEXT_DECL
    11858   #define GLVERTEXWEIGHTFVEXT_DECL
    11859   csGLVERTEXWEIGHTFVEXT glVertexWeightfvEXT;
    11860   #endif
    11861
    11862   #ifndef GLVERTEXWEIGHTPOINTEREXT_DECL
    11863   #define GLVERTEXWEIGHTPOINTEREXT_DECL
    11864   csGLVERTEXWEIGHTPOINTEREXT glVertexWeightPointerEXT;
    11865   #endif
    11866
    11867
    11892   #ifndef GLMAPCONTROLPOINTSNV_DECL
    11893   #define GLMAPCONTROLPOINTSNV_DECL
    11894   csGLMAPCONTROLPOINTSNV glMapControlPointsNV;
    11895   #endif
    11896
    11897   #ifndef GLMAPPARAMETERIVNV_DECL
    11898   #define GLMAPPARAMETERIVNV_DECL
    11899   csGLMAPPARAMETERIVNV glMapParameterivNV;
    11900   #endif
    11901
    11902   #ifndef GLMAPPARAMETERFVNV_DECL
    11903   #define GLMAPPARAMETERFVNV_DECL
    11904   csGLMAPPARAMETERFVNV glMapParameterfvNV;
    11905   #endif
    11906
    11907   #ifndef GLGETMAPCONTROLPOINTSNV_DECL
    11908   #define GLGETMAPCONTROLPOINTSNV_DECL
    11909   csGLGETMAPCONTROLPOINTSNV glGetMapControlPointsNV;
    11910   #endif
    11911
    11912   #ifndef GLGETMAPPARAMETERIVNV_DECL
    11913   #define GLGETMAPPARAMETERIVNV_DECL
    11914   csGLGETMAPPARAMETERIVNV glGetMapParameterivNV;
    11915   #endif
    11916
    11917   #ifndef GLGETMAPPARAMETERFVNV_DECL
    11918   #define GLGETMAPPARAMETERFVNV_DECL
    11919   csGLGETMAPPARAMETERFVNV glGetMapParameterfvNV;
    11920   #endif
    11921
    11922   #ifndef GLGETMAPATTRIBPARAMETERIVNV_DECL
    11923   #define GLGETMAPATTRIBPARAMETERIVNV_DECL
    11924   csGLGETMAPATTRIBPARAMETERIVNV glGetMapAttribParameterivNV;
    11925   #endif
    11926
    11927   #ifndef GLGETMAPATTRIBPARAMETERFVNV_DECL
    11928   #define GLGETMAPATTRIBPARAMETERFVNV_DECL
    11929   csGLGETMAPATTRIBPARAMETERFVNV glGetMapAttribParameterfvNV;
    11930   #endif
    11931
    11932   #ifndef GLEVALMAPSNV_DECL
    11933   #define GLEVALMAPSNV_DECL
    11934   csGLEVALMAPSNV glEvalMapsNV;
    11935   #endif
    11936
    11937
    11942   #ifndef GLGENFENCESNV_DECL
    11943   #define GLGENFENCESNV_DECL
    11944   csGLGENFENCESNV glGenFencesNV;
    11945   #endif
    11946
    11947   #ifndef GLDELETEFENCESNV_DECL
    11948   #define GLDELETEFENCESNV_DECL
    11949   csGLDELETEFENCESNV glDeleteFencesNV;
    11950   #endif
    11951
    11952   #ifndef GLSETFENCENV_DECL
    11953   #define GLSETFENCENV_DECL
    11954   csGLSETFENCENV glSetFenceNV;
    11955   #endif
    11956
    11957   #ifndef GLTESTFENCENV_DECL
    11958   #define GLTESTFENCENV_DECL
    11959   csGLTESTFENCENV glTestFenceNV;
    11960   #endif
    11961
    11962   #ifndef GLFINISHFENCENV_DECL
    11963   #define GLFINISHFENCENV_DECL
    11964   csGLFINISHFENCENV glFinishFenceNV;
    11965   #endif
    11966
    11967   #ifndef GLISFENCENV_DECL
    11968   #define GLISFENCENV_DECL
    11969   csGLISFENCENV glIsFenceNV;
    11970   #endif
    11971
    11972   #ifndef GLGETFENCEIVNV_DECL
    11973   #define GLGETFENCEIVNV_DECL
    11974   csGLGETFENCEIVNV glGetFenceivNV;
    11975   #endif
    11976
    11977
    11997   #ifndef GLGENOCCLUSIONQUERIESNV_DECL
    11998   #define GLGENOCCLUSIONQUERIESNV_DECL
    11999   csGLGENOCCLUSIONQUERIESNV glGenOcclusionQueriesNV;
    12000   #endif
    12001
    12002   #ifndef GLDELETEOCCLUSIONQUERIESNV_DECL
    12003   #define GLDELETEOCCLUSIONQUERIESNV_DECL
    12004   csGLDELETEOCCLUSIONQUERIESNV glDeleteOcclusionQueriesNV;
    12005   #endif
    12006
    12007   #ifndef GLISOCCLUSIONQUERYNV_DECL
    12008   #define GLISOCCLUSIONQUERYNV_DECL
    12009   csGLISOCCLUSIONQUERYNV glIsOcclusionQueryNV;
    12010   #endif
    12011
    12012   #ifndef GLBEGINOCCLUSIONQUERYNV_DECL
    12013   #define GLBEGINOCCLUSIONQUERYNV_DECL
    12014   csGLBEGINOCCLUSIONQUERYNV glBeginOcclusionQueryNV;
    12015   #endif
    12016
    12017   #ifndef GLENDOCCLUSIONQUERYNV_DECL
    12018   #define GLENDOCCLUSIONQUERYNV_DECL
    12019   csGLENDOCCLUSIONQUERYNV glEndOcclusionQueryNV;
    12020   #endif
    12021
    12022   #ifndef GLGETOCCLUSIONQUERYIVNV_DECL
    12023   #define GLGETOCCLUSIONQUERYIVNV_DECL
    12024   csGLGETOCCLUSIONQUERYIVNV glGetOcclusionQueryivNV;
    12025   #endif
    12026
    12027   #ifndef GLGETOCCLUSIONQUERYUIVNV_DECL
    12028   #define GLGETOCCLUSIONQUERYUIVNV_DECL
    12029   csGLGETOCCLUSIONQUERYUIVNV glGetOcclusionQueryuivNV;
    12030   #endif
    12031
    12032
    12042   #ifndef GLPOINTPARAMETERINV_DECL
    12043   #define GLPOINTPARAMETERINV_DECL
    12044   csGLPOINTPARAMETERINV glPointParameteriNV;
    12045   #endif
    12046
    12047   #ifndef GLPOINTPARAMETERIVNV_DECL
    12048   #define GLPOINTPARAMETERIVNV_DECL
    12049   csGLPOINTPARAMETERIVNV glPointParameterivNV;
    12050   #endif
    12051
    12052
    12057   #ifndef GLCOMBINERPARAMETERFVNV_DECL
    12058   #define GLCOMBINERPARAMETERFVNV_DECL
    12059   csGLCOMBINERPARAMETERFVNV glCombinerParameterfvNV;
    12060   #endif
    12061
    12062   #ifndef GLCOMBINERPARAMETERIVNV_DECL
    12063   #define GLCOMBINERPARAMETERIVNV_DECL
    12064   csGLCOMBINERPARAMETERIVNV glCombinerParameterivNV;
    12065   #endif
    12066
    12067   #ifndef GLCOMBINERPARAMETERFNV_DECL
    12068   #define GLCOMBINERPARAMETERFNV_DECL
    12069   csGLCOMBINERPARAMETERFNV glCombinerParameterfNV;
    12070   #endif
    12071
    12072   #ifndef GLCOMBINERPARAMETERINV_DECL
    12073   #define GLCOMBINERPARAMETERINV_DECL
    12074   csGLCOMBINERPARAMETERINV glCombinerParameteriNV;
    12075   #endif
    12076
    12077   #ifndef GLCOMBINERINPUTNV_DECL
    12078   #define GLCOMBINERINPUTNV_DECL
    12079   csGLCOMBINERINPUTNV glCombinerInputNV;
    12080   #endif
    12081
    12082   #ifndef GLCOMBINEROUTPUTNV_DECL
    12083   #define GLCOMBINEROUTPUTNV_DECL
    12084   csGLCOMBINEROUTPUTNV glCombinerOutputNV;
    12085   #endif
    12086
    12087   #ifndef GLFINALCOMBINERINPUTNV_DECL
    12088   #define GLFINALCOMBINERINPUTNV_DECL
    12089   csGLFINALCOMBINERINPUTNV glFinalCombinerInputNV;
    12090   #endif
    12091
    12092   #ifndef GLGETCOMBINERINPUTPARAMETERFVNV_DECL
    12093   #define GLGETCOMBINERINPUTPARAMETERFVNV_DECL
    12094   csGLGETCOMBINERINPUTPARAMETERFVNV glGetCombinerInputParameterfvNV;
    12095   #endif
    12096
    12097   #ifndef GLGETCOMBINERINPUTPARAMETERIVNV_DECL
    12098   #define GLGETCOMBINERINPUTPARAMETERIVNV_DECL
    12099   csGLGETCOMBINERINPUTPARAMETERIVNV glGetCombinerInputParameterivNV;
    12100   #endif
    12101
    12102   #ifndef GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
    12103   #define GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
    12104   csGLGETCOMBINEROUTPUTPARAMETERFVNV glGetCombinerOutputParameterfvNV;
    12105   #endif
    12106
    12107   #ifndef GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
    12108   #define GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
    12109   csGLGETCOMBINEROUTPUTPARAMETERIVNV glGetCombinerOutputParameterivNV;
    12110   #endif
    12111
    12112   #ifndef GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
    12113   #define GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
    12114   csGLGETFINALCOMBINERINPUTPARAMETERFVNV glGetFinalCombinerInputParameterfvNV;
    12115   #endif
    12116
    12117   #ifndef GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
    12118   #define GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
    12119   csGLGETFINALCOMBINERINPUTPARAMETERIVNV glGetFinalCombinerInputParameterivNV;
    12120   #endif
    12121
    12122
    12127   #ifndef GLCOMBINERSTAGEPARAMETERFVNV_DECL
    12128   #define GLCOMBINERSTAGEPARAMETERFVNV_DECL
    12129   csGLCOMBINERSTAGEPARAMETERFVNV glCombinerStageParameterfvNV;
    12130   #endif
    12131
    12132   #ifndef GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
    12133   #define GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
    12134   csGLGETCOMBINERSTAGEPARAMETERFVNV glGetCombinerStageParameterfvNV;
    12135   #endif
    12136
    12137
    12182   #ifndef GLVERTEXARRAYRANGENV_DECL
    12183   #define GLVERTEXARRAYRANGENV_DECL
    12184   csGLVERTEXARRAYRANGENV glVertexArrayRangeNV;
    12185   #endif
    12186
    12187   #ifndef GLFLUSHVERTEXARRAYRANGENV_DECL
    12188   #define GLFLUSHVERTEXARRAYRANGENV_DECL
    12189   csGLFLUSHVERTEXARRAYRANGENV glFlushVertexArrayRangeNV;
    12190   #endif
    12191
    12192   #ifndef WGLALLOCATEMEMORYNV_DECL
    12193   #define WGLALLOCATEMEMORYNV_DECL
    12194   csWGLALLOCATEMEMORYNV wglAllocateMemoryNV;
    12195   #endif
    12196
    12197   #ifndef WGLFREEMEMORYNV_DECL
    12198   #define WGLFREEMEMORYNV_DECL
    12199   csWGLFREEMEMORYNV wglFreeMemoryNV;
    12200   #endif
    12201
    12202
    12212   #ifndef GLBINDPROGRAMNV_DECL
    12213   #define GLBINDPROGRAMNV_DECL
    12214   csGLBINDPROGRAMNV glBindProgramNV;
    12215   #endif
    12216
    12217   #ifndef GLDELETEPROGRAMSNV_DECL
    12218   #define GLDELETEPROGRAMSNV_DECL
    12219   csGLDELETEPROGRAMSNV glDeleteProgramsNV;
    12220   #endif
    12221
    12222   #ifndef GLEXECUTEPROGRAMNV_DECL
    12223   #define GLEXECUTEPROGRAMNV_DECL
    12224   csGLEXECUTEPROGRAMNV glExecuteProgramNV;
    12225   #endif
    12226
    12227   #ifndef GLGENPROGRAMSNV_DECL
    12228   #define GLGENPROGRAMSNV_DECL
    12229   csGLGENPROGRAMSNV glGenProgramsNV;
    12230   #endif
    12231
    12232   #ifndef GLAREPROGRAMSRESIDENTNV_DECL
    12233   #define GLAREPROGRAMSRESIDENTNV_DECL
    12234   csGLAREPROGRAMSRESIDENTNV glAreProgramsResidentNV;
    12235   #endif
    12236
    12237   #ifndef GLREQUESTRESIDENTPROGRAMSNV_DECL
    12238   #define GLREQUESTRESIDENTPROGRAMSNV_DECL
    12239   csGLREQUESTRESIDENTPROGRAMSNV glRequestResidentProgramsNV;
    12240   #endif
    12241
    12242   #ifndef GLGETPROGRAMPARAMETERFVNV_DECL
    12243   #define GLGETPROGRAMPARAMETERFVNV_DECL
    12244   csGLGETPROGRAMPARAMETERFVNV glGetProgramParameterfvNV;
    12245   #endif
    12246
    12247   #ifndef GLGETPROGRAMPARAMETERDVNV_DECL
    12248   #define GLGETPROGRAMPARAMETERDVNV_DECL
    12249   csGLGETPROGRAMPARAMETERDVNV glGetProgramParameterdvNV;
    12250   #endif
    12251
    12252   #ifndef GLGETPROGRAMIVNV_DECL
    12253   #define GLGETPROGRAMIVNV_DECL
    12254   csGLGETPROGRAMIVNV glGetProgramivNV;
    12255   #endif
    12256
    12257   #ifndef GLGETPROGRAMSTRINGNV_DECL
    12258   #define GLGETPROGRAMSTRINGNV_DECL
    12259   csGLGETPROGRAMSTRINGNV glGetProgramStringNV;
    12260   #endif
    12261
    12262   #ifndef GLGETTRACKMATRIXIVNV_DECL
    12263   #define GLGETTRACKMATRIXIVNV_DECL
    12264   csGLGETTRACKMATRIXIVNV glGetTrackMatrixivNV;
    12265   #endif
    12266
    12267   #ifndef GLGETVERTEXATTRIBDVNV_DECL
    12268   #define GLGETVERTEXATTRIBDVNV_DECL
    12269   csGLGETVERTEXATTRIBDVNV glGetVertexAttribdvNV;
    12270   #endif
    12271
    12272   #ifndef GLGETVERTEXATTRIBFVNV_DECL
    12273   #define GLGETVERTEXATTRIBFVNV_DECL
    12274   csGLGETVERTEXATTRIBFVNV glGetVertexAttribfvNV;
    12275   #endif
    12276
    12277   #ifndef GLGETVERTEXATTRIBIVNV_DECL
    12278   #define GLGETVERTEXATTRIBIVNV_DECL
    12279   csGLGETVERTEXATTRIBIVNV glGetVertexAttribivNV;
    12280   #endif
    12281
    12282   #ifndef GLGETVERTEXATTRIBPOINTERVNV_DECL
    12283   #define GLGETVERTEXATTRIBPOINTERVNV_DECL
    12284   csGLGETVERTEXATTRIBPOINTERVNV glGetVertexAttribPointervNV;
    12285   #endif
    12286
    12287   #ifndef GLISPROGRAMNV_DECL
    12288   #define GLISPROGRAMNV_DECL
    12289   csGLISPROGRAMNV glIsProgramNV;
    12290   #endif
    12291
    12292   #ifndef GLLOADPROGRAMNV_DECL
    12293   #define GLLOADPROGRAMNV_DECL
    12294   csGLLOADPROGRAMNV glLoadProgramNV;
    12295   #endif
    12296
    12297   #ifndef GLPROGRAMPARAMETER4FNV_DECL
    12298   #define GLPROGRAMPARAMETER4FNV_DECL
    12299   csGLPROGRAMPARAMETER4FNV glProgramParameter4fNV;
    12300   #endif
    12301
    12302   #ifndef GLPROGRAMPARAMETER4FVNV_DECL
    12303   #define GLPROGRAMPARAMETER4FVNV_DECL
    12304   csGLPROGRAMPARAMETER4FVNV glProgramParameter4fvNV;
    12305   #endif
    12306
    12307   #ifndef GLPROGRAMPARAMETERS4DVNV_DECL
    12308   #define GLPROGRAMPARAMETERS4DVNV_DECL
    12309   csGLPROGRAMPARAMETERS4DVNV glProgramParameters4dvNV;
    12310   #endif
    12311
    12312   #ifndef GLPROGRAMPARAMETERS4FVNV_DECL
    12313   #define GLPROGRAMPARAMETERS4FVNV_DECL
    12314   csGLPROGRAMPARAMETERS4FVNV glProgramParameters4fvNV;
    12315   #endif
    12316
    12317   #ifndef GLTRACKMATRIXNV_DECL
    12318   #define GLTRACKMATRIXNV_DECL
    12319   csGLTRACKMATRIXNV glTrackMatrixNV;
    12320   #endif
    12321
    12322   #ifndef GLVERTEXATTRIBPOINTERNV_DECL
    12323   #define GLVERTEXATTRIBPOINTERNV_DECL
    12324   csGLVERTEXATTRIBPOINTERNV glVertexAttribPointerNV;
    12325   #endif
    12326
    12327   #ifndef GLVERTEXATTRIB1SNV_DECL
    12328   #define GLVERTEXATTRIB1SNV_DECL
    12329   csGLVERTEXATTRIB1SNV glVertexAttrib1sNV;
    12330   #endif
    12331
    12332   #ifndef GLVERTEXATTRIB1FNV_DECL
    12333   #define GLVERTEXATTRIB1FNV_DECL
    12334   csGLVERTEXATTRIB1FNV glVertexAttrib1fNV;
    12335   #endif
    12336
    12337   #ifndef GLVERTEXATTRIB1DNV_DECL
    12338   #define GLVERTEXATTRIB1DNV_DECL
    12339   csGLVERTEXATTRIB1DNV glVertexAttrib1dNV;
    12340   #endif
    12341
    12342   #ifndef GLVERTEXATTRIB2SNV_DECL
    12343   #define GLVERTEXATTRIB2SNV_DECL
    12344   csGLVERTEXATTRIB2SNV glVertexAttrib2sNV;
    12345   #endif
    12346
    12347   #ifndef GLVERTEXATTRIB2FNV_DECL
    12348   #define GLVERTEXATTRIB2FNV_DECL
    12349   csGLVERTEXATTRIB2FNV glVertexAttrib2fNV;
    12350   #endif
    12351
    12352   #ifndef GLVERTEXATTRIB2DNV_DECL
    12353   #define GLVERTEXATTRIB2DNV_DECL
    12354   csGLVERTEXATTRIB2DNV glVertexAttrib2dNV;
    12355   #endif
    12356
    12357   #ifndef GLVERTEXATTRIB3SNV_DECL
    12358   #define GLVERTEXATTRIB3SNV_DECL
    12359   csGLVERTEXATTRIB3SNV glVertexAttrib3sNV;
    12360   #endif
    12361
    12362   #ifndef GLVERTEXATTRIB3FNV_DECL
    12363   #define GLVERTEXATTRIB3FNV_DECL
    12364   csGLVERTEXATTRIB3FNV glVertexAttrib3fNV;
    12365   #endif
    12366
    12367   #ifndef GLVERTEXATTRIB3DNV_DECL
    12368   #define GLVERTEXATTRIB3DNV_DECL
    12369   csGLVERTEXATTRIB3DNV glVertexAttrib3dNV;
    12370   #endif
    12371
    12372   #ifndef GLVERTEXATTRIB4SNV_DECL
    12373   #define GLVERTEXATTRIB4SNV_DECL
    12374   csGLVERTEXATTRIB4SNV glVertexAttrib4sNV;
    12375   #endif
    12376
    12377   #ifndef GLVERTEXATTRIB4FNV_DECL
    12378   #define GLVERTEXATTRIB4FNV_DECL
    12379   csGLVERTEXATTRIB4FNV glVertexAttrib4fNV;
    12380   #endif
    12381
    12382   #ifndef GLVERTEXATTRIB4DNV_DECL
    12383   #define GLVERTEXATTRIB4DNV_DECL
    12384   csGLVERTEXATTRIB4DNV glVertexAttrib4dNV;
    12385   #endif
    12386
    12387   #ifndef GLVERTEXATTRIB4UBNV_DECL
    12388   #define GLVERTEXATTRIB4UBNV_DECL
    12389   csGLVERTEXATTRIB4UBNV glVertexAttrib4ubNV;
    12390   #endif
    12391
    12392   #ifndef GLVERTEXATTRIB1SVNV_DECL
    12393   #define GLVERTEXATTRIB1SVNV_DECL
    12394   csGLVERTEXATTRIB1SVNV glVertexAttrib1svNV;
    12395   #endif
    12396
    12397   #ifndef GLVERTEXATTRIB1FVNV_DECL
    12398   #define GLVERTEXATTRIB1FVNV_DECL
    12399   csGLVERTEXATTRIB1FVNV glVertexAttrib1fvNV;
    12400   #endif
    12401
    12402   #ifndef GLVERTEXATTRIB1DVNV_DECL
    12403   #define GLVERTEXATTRIB1DVNV_DECL
    12404   csGLVERTEXATTRIB1DVNV glVertexAttrib1dvNV;
    12405   #endif
    12406
    12407   #ifndef GLVERTEXATTRIB2SVNV_DECL
    12408   #define GLVERTEXATTRIB2SVNV_DECL
    12409   csGLVERTEXATTRIB2SVNV glVertexAttrib2svNV;
    12410   #endif
    12411
    12412   #ifndef GLVERTEXATTRIB2FVNV_DECL
    12413   #define GLVERTEXATTRIB2FVNV_DECL
    12414   csGLVERTEXATTRIB2FVNV glVertexAttrib2fvNV;
    12415   #endif
    12416
    12417   #ifndef GLVERTEXATTRIB2DVNV_DECL
    12418   #define GLVERTEXATTRIB2DVNV_DECL
    12419   csGLVERTEXATTRIB2DVNV glVertexAttrib2dvNV;
    12420   #endif
    12421
    12422   #ifndef GLVERTEXATTRIB3SVNV_DECL
    12423   #define GLVERTEXATTRIB3SVNV_DECL
    12424   csGLVERTEXATTRIB3SVNV glVertexAttrib3svNV;
    12425   #endif
    12426
    12427   #ifndef GLVERTEXATTRIB3FVNV_DECL
    12428   #define GLVERTEXATTRIB3FVNV_DECL
    12429   csGLVERTEXATTRIB3FVNV glVertexAttrib3fvNV;
    12430   #endif
    12431
    12432   #ifndef GLVERTEXATTRIB3DVNV_DECL
    12433   #define GLVERTEXATTRIB3DVNV_DECL
    12434   csGLVERTEXATTRIB3DVNV glVertexAttrib3dvNV;
    12435   #endif
    12436
    12437   #ifndef GLVERTEXATTRIB4SVNV_DECL
    12438   #define GLVERTEXATTRIB4SVNV_DECL
    12439   csGLVERTEXATTRIB4SVNV glVertexAttrib4svNV;
    12440   #endif
    12441
    12442   #ifndef GLVERTEXATTRIB4FVNV_DECL
    12443   #define GLVERTEXATTRIB4FVNV_DECL
    12444   csGLVERTEXATTRIB4FVNV glVertexAttrib4fvNV;
    12445   #endif
    12446
    12447   #ifndef GLVERTEXATTRIB4DVNV_DECL
    12448   #define GLVERTEXATTRIB4DVNV_DECL
    12449   csGLVERTEXATTRIB4DVNV glVertexAttrib4dvNV;
    12450   #endif
    12451
    12452   #ifndef GLVERTEXATTRIB4UBVNV_DECL
    12453   #define GLVERTEXATTRIB4UBVNV_DECL
    12454   csGLVERTEXATTRIB4UBVNV glVertexAttrib4ubvNV;
    12455   #endif
    12456
    12457   #ifndef GLVERTEXATTRIBS1SVNV_DECL
    12458   #define GLVERTEXATTRIBS1SVNV_DECL
    12459   csGLVERTEXATTRIBS1SVNV glVertexAttribs1svNV;
    12460   #endif
    12461
    12462   #ifndef GLVERTEXATTRIBS1FVNV_DECL
    12463   #define GLVERTEXATTRIBS1FVNV_DECL
    12464   csGLVERTEXATTRIBS1FVNV glVertexAttribs1fvNV;
    12465   #endif
    12466
    12467   #ifndef GLVERTEXATTRIBS1DVNV_DECL
    12468   #define GLVERTEXATTRIBS1DVNV_DECL
    12469   csGLVERTEXATTRIBS1DVNV glVertexAttribs1dvNV;
    12470   #endif
    12471
    12472   #ifndef GLVERTEXATTRIBS2SVNV_DECL
    12473   #define GLVERTEXATTRIBS2SVNV_DECL
    12474   csGLVERTEXATTRIBS2SVNV glVertexAttribs2svNV;
    12475   #endif
    12476
    12477   #ifndef GLVERTEXATTRIBS2FVNV_DECL
    12478   #define GLVERTEXATTRIBS2FVNV_DECL
    12479   csGLVERTEXATTRIBS2FVNV glVertexAttribs2fvNV;
    12480   #endif
    12481
    12482   #ifndef GLVERTEXATTRIBS2DVNV_DECL
    12483   #define GLVERTEXATTRIBS2DVNV_DECL
    12484   csGLVERTEXATTRIBS2DVNV glVertexAttribs2dvNV;
    12485   #endif
    12486
    12487   #ifndef GLVERTEXATTRIBS3SVNV_DECL
    12488   #define GLVERTEXATTRIBS3SVNV_DECL
    12489   csGLVERTEXATTRIBS3SVNV glVertexAttribs3svNV;
    12490   #endif
    12491
    12492   #ifndef GLVERTEXATTRIBS3FVNV_DECL
    12493   #define GLVERTEXATTRIBS3FVNV_DECL
    12494   csGLVERTEXATTRIBS3FVNV glVertexAttribs3fvNV;
    12495   #endif
    12496
    12497   #ifndef GLVERTEXATTRIBS3DVNV_DECL
    12498   #define GLVERTEXATTRIBS3DVNV_DECL
    12499   csGLVERTEXATTRIBS3DVNV glVertexAttribs3dvNV;
    12500   #endif
    12501
    12502   #ifndef GLVERTEXATTRIBS4SVNV_DECL
    12503   #define GLVERTEXATTRIBS4SVNV_DECL
    12504   csGLVERTEXATTRIBS4SVNV glVertexAttribs4svNV;
    12505   #endif
    12506
    12507   #ifndef GLVERTEXATTRIBS4FVNV_DECL
    12508   #define GLVERTEXATTRIBS4FVNV_DECL
    12509   csGLVERTEXATTRIBS4FVNV glVertexAttribs4fvNV;
    12510   #endif
    12511
    12512   #ifndef GLVERTEXATTRIBS4DVNV_DECL
    12513   #define GLVERTEXATTRIBS4DVNV_DECL
    12514   csGLVERTEXATTRIBS4DVNV glVertexAttribs4dvNV;
    12515   #endif
    12516
    12517   #ifndef GLVERTEXATTRIBS4UBVNV_DECL
    12518   #define GLVERTEXATTRIBS4UBVNV_DECL
    12519   csGLVERTEXATTRIBS4UBVNV glVertexAttribs4ubvNV;
    12520   #endif
    12521
    12522
    12532   #ifndef GLELEMENTPOINTERATI_DECL
    12533   #define GLELEMENTPOINTERATI_DECL
    12534   csGLELEMENTPOINTERATI glElementPointerATI;
    12535   #endif
    12536
    12537   #ifndef GLDRAWELEMENTARRAYATI_DECL
    12538   #define GLDRAWELEMENTARRAYATI_DECL
    12539   csGLDRAWELEMENTARRAYATI glDrawElementArrayATI;
    12540   #endif
    12541
    12542   #ifndef GLDRAWRANGEELEMENTARRAYATI_DECL
    12543   #define GLDRAWRANGEELEMENTARRAYATI_DECL
    12544   csGLDRAWRANGEELEMENTARRAYATI glDrawRangeElementArrayATI;
    12545   #endif
    12546
    12547
    12552   #ifndef GLTEXBUMPPARAMETERIVATI_DECL
    12553   #define GLTEXBUMPPARAMETERIVATI_DECL
    12554   csGLTEXBUMPPARAMETERIVATI glTexBumpParameterivATI;
    12555   #endif
    12556
    12557   #ifndef GLTEXBUMPPARAMETERFVATI_DECL
    12558   #define GLTEXBUMPPARAMETERFVATI_DECL
    12559   csGLTEXBUMPPARAMETERFVATI glTexBumpParameterfvATI;
    12560   #endif
    12561
    12562   #ifndef GLGETTEXBUMPPARAMETERIVATI_DECL
    12563   #define GLGETTEXBUMPPARAMETERIVATI_DECL
    12564   csGLGETTEXBUMPPARAMETERIVATI glGetTexBumpParameterivATI;
    12565   #endif
    12566
    12567   #ifndef GLGETTEXBUMPPARAMETERFVATI_DECL
    12568   #define GLGETTEXBUMPPARAMETERFVATI_DECL
    12569   csGLGETTEXBUMPPARAMETERFVATI glGetTexBumpParameterfvATI;
    12570   #endif
    12571
    12572
    12577   #ifndef GLGENFRAGMENTSHADERSATI_DECL
    12578   #define GLGENFRAGMENTSHADERSATI_DECL
    12579   csGLGENFRAGMENTSHADERSATI glGenFragmentShadersATI;
    12580   #endif
    12581
    12582   #ifndef GLBINDFRAGMENTSHADERATI_DECL
    12583   #define GLBINDFRAGMENTSHADERATI_DECL
    12584   csGLBINDFRAGMENTSHADERATI glBindFragmentShaderATI;
    12585   #endif
    12586
    12587   #ifndef GLDELETEFRAGMENTSHADERATI_DECL
    12588   #define GLDELETEFRAGMENTSHADERATI_DECL
    12589   csGLDELETEFRAGMENTSHADERATI glDeleteFragmentShaderATI;
    12590   #endif
    12591
    12592   #ifndef GLBEGINFRAGMENTSHADERATI_DECL
    12593   #define GLBEGINFRAGMENTSHADERATI_DECL
    12594   csGLBEGINFRAGMENTSHADERATI glBeginFragmentShaderATI;
    12595   #endif
    12596
    12597   #ifndef GLENDFRAGMENTSHADERATI_DECL
    12598   #define GLENDFRAGMENTSHADERATI_DECL
    12599   csGLENDFRAGMENTSHADERATI glEndFragmentShaderATI;
    12600   #endif
    12601
    12602   #ifndef GLPASSTEXCOORDATI_DECL
    12603   #define GLPASSTEXCOORDATI_DECL
    12604   csGLPASSTEXCOORDATI glPassTexCoordATI;
    12605   #endif
    12606
    12607   #ifndef GLSAMPLEMAPATI_DECL
    12608   #define GLSAMPLEMAPATI_DECL
    12609   csGLSAMPLEMAPATI glSampleMapATI;
    12610   #endif
    12611
    12612   #ifndef GLCOLORFRAGMENTOP1ATI_DECL
    12613   #define GLCOLORFRAGMENTOP1ATI_DECL
    12614   csGLCOLORFRAGMENTOP1ATI glColorFragmentOp1ATI;
    12615   #endif
    12616
    12617   #ifndef GLCOLORFRAGMENTOP2ATI_DECL
    12618   #define GLCOLORFRAGMENTOP2ATI_DECL
    12619   csGLCOLORFRAGMENTOP2ATI glColorFragmentOp2ATI;
    12620   #endif
    12621
    12622   #ifndef GLCOLORFRAGMENTOP3ATI_DECL
    12623   #define GLCOLORFRAGMENTOP3ATI_DECL
    12624   csGLCOLORFRAGMENTOP3ATI glColorFragmentOp3ATI;
    12625   #endif
    12626
    12627   #ifndef GLALPHAFRAGMENTOP1ATI_DECL
    12628   #define GLALPHAFRAGMENTOP1ATI_DECL
    12629   csGLALPHAFRAGMENTOP1ATI glAlphaFragmentOp1ATI;
    12630   #endif
    12631
    12632   #ifndef GLALPHAFRAGMENTOP2ATI_DECL
    12633   #define GLALPHAFRAGMENTOP2ATI_DECL
    12634   csGLALPHAFRAGMENTOP2ATI glAlphaFragmentOp2ATI;
    12635   #endif
    12636
    12637   #ifndef GLALPHAFRAGMENTOP3ATI_DECL
    12638   #define GLALPHAFRAGMENTOP3ATI_DECL
    12639   csGLALPHAFRAGMENTOP3ATI glAlphaFragmentOp3ATI;
    12640   #endif
    12641
    12642   #ifndef GLSETFRAGMENTSHADERCONSTANTATI_DECL
    12643   #define GLSETFRAGMENTSHADERCONSTANTATI_DECL
    12644   csGLSETFRAGMENTSHADERCONSTANTATI glSetFragmentShaderConstantATI;
    12645   #endif
    12646
    12647
    12652   #ifndef GLPNTRIANGLESIATI_DECL
    12653   #define GLPNTRIANGLESIATI_DECL
    12654   csGLPNTRIANGLESIATI glPNTrianglesiATI;
    12655   #endif
    12656
    12657   #ifndef GLPNTRIANGLESFATI_DECL
    12658   #define GLPNTRIANGLESFATI_DECL
    12659   csGLPNTRIANGLESFATI glPNTrianglesfATI;
    12660   #endif
    12661
    12662
    12672   #ifndef GLNEWOBJECTBUFFERATI_DECL
    12673   #define GLNEWOBJECTBUFFERATI_DECL
    12674   csGLNEWOBJECTBUFFERATI glNewObjectBufferATI;
    12675   #endif
    12676
    12677   #ifndef GLISOBJECTBUFFERATI_DECL
    12678   #define GLISOBJECTBUFFERATI_DECL
    12679   csGLISOBJECTBUFFERATI glIsObjectBufferATI;
    12680   #endif
    12681
    12682   #ifndef GLUPDATEOBJECTBUFFERATI_DECL
    12683   #define GLUPDATEOBJECTBUFFERATI_DECL
    12684   csGLUPDATEOBJECTBUFFERATI glUpdateObjectBufferATI;
    12685   #endif
    12686
    12687   #ifndef GLGETOBJECTBUFFERFVATI_DECL
    12688   #define GLGETOBJECTBUFFERFVATI_DECL
    12689   csGLGETOBJECTBUFFERFVATI glGetObjectBufferfvATI;
    12690   #endif
    12691
    12692   #ifndef GLGETOBJECTBUFFERIVATI_DECL
    12693   #define GLGETOBJECTBUFFERIVATI_DECL
    12694   csGLGETOBJECTBUFFERIVATI glGetObjectBufferivATI;
    12695   #endif
    12696
    12697   #ifndef GLFREEOBJECTBUFFERATI_DECL
    12698   #define GLFREEOBJECTBUFFERATI_DECL
    12699   csGLFREEOBJECTBUFFERATI glFreeObjectBufferATI;
    12700   #endif
    12701
    12702   #ifndef GLARRAYOBJECTATI_DECL
    12703   #define GLARRAYOBJECTATI_DECL
    12704   csGLARRAYOBJECTATI glArrayObjectATI;
    12705   #endif
    12706
    12707   #ifndef GLGETARRAYOBJECTFVATI_DECL
    12708   #define GLGETARRAYOBJECTFVATI_DECL
    12709   csGLGETARRAYOBJECTFVATI glGetArrayObjectfvATI;
    12710   #endif
    12711
    12712   #ifndef GLGETARRAYOBJECTIVATI_DECL
    12713   #define GLGETARRAYOBJECTIVATI_DECL
    12714   csGLGETARRAYOBJECTIVATI glGetArrayObjectivATI;
    12715   #endif
    12716
    12717   #ifndef GLVARIANTARRAYOBJECTATI_DECL
    12718   #define GLVARIANTARRAYOBJECTATI_DECL
    12719   csGLVARIANTARRAYOBJECTATI glVariantArrayObjectATI;
    12720   #endif
    12721
    12722   #ifndef GLGETVARIANTARRAYOBJECTFVATI_DECL
    12723   #define GLGETVARIANTARRAYOBJECTFVATI_DECL
    12724   csGLGETVARIANTARRAYOBJECTFVATI glGetVariantArrayObjectfvATI;
    12725   #endif
    12726
    12727   #ifndef GLGETVARIANTARRAYOBJECTIVATI_DECL
    12728   #define GLGETVARIANTARRAYOBJECTIVATI_DECL
    12729   csGLGETVARIANTARRAYOBJECTIVATI glGetVariantArrayObjectivATI;
    12730   #endif
    12731
    12732
    12737   #ifndef GLVERTEXATTRIBARRAYOBJECTATI_DECL
    12738   #define GLVERTEXATTRIBARRAYOBJECTATI_DECL
    12739   csGLVERTEXATTRIBARRAYOBJECTATI glVertexAttribArrayObjectATI;
    12740   #endif
    12741
    12742   #ifndef GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
    12743   #define GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
    12744   csGLGETVERTEXATTRIBARRAYOBJECTFVATI glGetVertexAttribArrayObjectfvATI;
    12745   #endif
    12746
    12747   #ifndef GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
    12748   #define GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
    12749   csGLGETVERTEXATTRIBARRAYOBJECTIVATI glGetVertexAttribArrayObjectivATI;
    12750   #endif
    12751
    12752
    12757   #ifndef GLVERTEXSTREAM1S_DECL
    12758   #define GLVERTEXSTREAM1S_DECL
    12759   csGLVERTEXSTREAM1S glVertexStream1s;
    12760   #endif
    12761
    12762   #ifndef GLVERTEXSTREAM1I_DECL
    12763   #define GLVERTEXSTREAM1I_DECL
    12764   csGLVERTEXSTREAM1I glVertexStream1i;
    12765   #endif
    12766
    12767   #ifndef GLVERTEXSTREAM1F_DECL
    12768   #define GLVERTEXSTREAM1F_DECL
    12769   csGLVERTEXSTREAM1F glVertexStream1f;
    12770   #endif
    12771
    12772   #ifndef GLVERTEXSTREAM1D_DECL
    12773   #define GLVERTEXSTREAM1D_DECL
    12774   csGLVERTEXSTREAM1D glVertexStream1d;
    12775   #endif
    12776
    12777   #ifndef GLVERTEXSTREAM1SV_DECL
    12778   #define GLVERTEXSTREAM1SV_DECL
    12779   csGLVERTEXSTREAM1SV glVertexStream1sv;
    12780   #endif
    12781
    12782   #ifndef GLVERTEXSTREAM1IV_DECL
    12783   #define GLVERTEXSTREAM1IV_DECL
    12784   csGLVERTEXSTREAM1IV glVertexStream1iv;
    12785   #endif
    12786
    12787   #ifndef GLVERTEXSTREAM1FV_DECL
    12788   #define GLVERTEXSTREAM1FV_DECL
    12789   csGLVERTEXSTREAM1FV glVertexStream1fv;
    12790   #endif
    12791
    12792   #ifndef GLVERTEXSTREAM1DV_DECL
    12793   #define GLVERTEXSTREAM1DV_DECL
    12794   csGLVERTEXSTREAM1DV glVertexStream1dv;
    12795   #endif
    12796
    12797   #ifndef GLVERTEXSTREAM2S_DECL
    12798   #define GLVERTEXSTREAM2S_DECL
    12799   csGLVERTEXSTREAM2S glVertexStream2s;
    12800   #endif
    12801
    12802   #ifndef GLVERTEXSTREAM2I_DECL
    12803   #define GLVERTEXSTREAM2I_DECL
    12804   csGLVERTEXSTREAM2I glVertexStream2i;
    12805   #endif
    12806
    12807   #ifndef GLVERTEXSTREAM2F_DECL
    12808   #define GLVERTEXSTREAM2F_DECL
    12809   csGLVERTEXSTREAM2F glVertexStream2f;
    12810   #endif
    12811
    12812   #ifndef GLVERTEXSTREAM2D_DECL
    12813   #define GLVERTEXSTREAM2D_DECL
    12814   csGLVERTEXSTREAM2D glVertexStream2d;
    12815   #endif
    12816
    12817   #ifndef GLVERTEXSTREAM2SV_DECL
    12818   #define GLVERTEXSTREAM2SV_DECL
    12819   csGLVERTEXSTREAM2SV glVertexStream2sv;
    12820   #endif
    12821
    12822   #ifndef GLVERTEXSTREAM2IV_DECL
    12823   #define GLVERTEXSTREAM2IV_DECL
    12824   csGLVERTEXSTREAM2IV glVertexStream2iv;
    12825   #endif
    12826
    12827   #ifndef GLVERTEXSTREAM2FV_DECL
    12828   #define GLVERTEXSTREAM2FV_DECL
    12829   csGLVERTEXSTREAM2FV glVertexStream2fv;
    12830   #endif
    12831
    12832   #ifndef GLVERTEXSTREAM2DV_DECL
    12833   #define GLVERTEXSTREAM2DV_DECL
    12834   csGLVERTEXSTREAM2DV glVertexStream2dv;
    12835   #endif
    12836
    12837   #ifndef GLVERTEXSTREAM3S_DECL
    12838   #define GLVERTEXSTREAM3S_DECL
    12839   csGLVERTEXSTREAM3S glVertexStream3s;
    12840   #endif
    12841
    12842   #ifndef GLVERTEXSTREAM3I_DECL
    12843   #define GLVERTEXSTREAM3I_DECL
    12844   csGLVERTEXSTREAM3I glVertexStream3i;
    12845   #endif
    12846
    12847   #ifndef GLVERTEXSTREAM3F_DECL
    12848   #define GLVERTEXSTREAM3F_DECL
    12849   csGLVERTEXSTREAM3F glVertexStream3f;
    12850   #endif
    12851
    12852   #ifndef GLVERTEXSTREAM3D_DECL
    12853   #define GLVERTEXSTREAM3D_DECL
    12854   csGLVERTEXSTREAM3D glVertexStream3d;
    12855   #endif
    12856
    12857   #ifndef GLVERTEXSTREAM3SV_DECL
    12858   #define GLVERTEXSTREAM3SV_DECL
    12859   csGLVERTEXSTREAM3SV glVertexStream3sv;
    12860   #endif
    12861
    12862   #ifndef GLVERTEXSTREAM3IV_DECL
    12863   #define GLVERTEXSTREAM3IV_DECL
    12864   csGLVERTEXSTREAM3IV glVertexStream3iv;
    12865   #endif
    12866
    12867   #ifndef GLVERTEXSTREAM3FV_DECL
    12868   #define GLVERTEXSTREAM3FV_DECL
    12869   csGLVERTEXSTREAM3FV glVertexStream3fv;
    12870   #endif
    12871
    12872   #ifndef GLVERTEXSTREAM3DV_DECL
    12873   #define GLVERTEXSTREAM3DV_DECL
    12874   csGLVERTEXSTREAM3DV glVertexStream3dv;
    12875   #endif
    12876
    12877   #ifndef GLVERTEXSTREAM4S_DECL
    12878   #define GLVERTEXSTREAM4S_DECL
    12879   csGLVERTEXSTREAM4S glVertexStream4s;
    12880   #endif
    12881
    12882   #ifndef GLVERTEXSTREAM4I_DECL
    12883   #define GLVERTEXSTREAM4I_DECL
    12884   csGLVERTEXSTREAM4I glVertexStream4i;
    12885   #endif
    12886
    12887   #ifndef GLVERTEXSTREAM4F_DECL
    12888   #define GLVERTEXSTREAM4F_DECL
    12889   csGLVERTEXSTREAM4F glVertexStream4f;
    12890   #endif
    12891
    12892   #ifndef GLVERTEXSTREAM4D_DECL
    12893   #define GLVERTEXSTREAM4D_DECL
    12894   csGLVERTEXSTREAM4D glVertexStream4d;
    12895   #endif
    12896
    12897   #ifndef GLVERTEXSTREAM4SV_DECL
    12898   #define GLVERTEXSTREAM4SV_DECL
    12899   csGLVERTEXSTREAM4SV glVertexStream4sv;
    12900   #endif
    12901
    12902   #ifndef GLVERTEXSTREAM4IV_DECL
    12903   #define GLVERTEXSTREAM4IV_DECL
    12904   csGLVERTEXSTREAM4IV glVertexStream4iv;
    12905   #endif
    12906
    12907   #ifndef GLVERTEXSTREAM4FV_DECL
    12908   #define GLVERTEXSTREAM4FV_DECL
    12909   csGLVERTEXSTREAM4FV glVertexStream4fv;
    12910   #endif
    12911
    12912   #ifndef GLVERTEXSTREAM4DV_DECL
    12913   #define GLVERTEXSTREAM4DV_DECL
    12914   csGLVERTEXSTREAM4DV glVertexStream4dv;
    12915   #endif
    12916
    12917   #ifndef GLNORMALSTREAM3B_DECL
    12918   #define GLNORMALSTREAM3B_DECL
    12919   csGLNORMALSTREAM3B glNormalStream3b;
    12920   #endif
    12921
    12922   #ifndef GLNORMALSTREAM3S_DECL
    12923   #define GLNORMALSTREAM3S_DECL
    12924   csGLNORMALSTREAM3S glNormalStream3s;
    12925   #endif
    12926
    12927   #ifndef GLNORMALSTREAM3I_DECL
    12928   #define GLNORMALSTREAM3I_DECL
    12929   csGLNORMALSTREAM3I glNormalStream3i;
    12930   #endif
    12931
    12932   #ifndef GLNORMALSTREAM3F_DECL
    12933   #define GLNORMALSTREAM3F_DECL
    12934   csGLNORMALSTREAM3F glNormalStream3f;
    12935   #endif
    12936
    12937   #ifndef GLNORMALSTREAM3D_DECL
    12938   #define GLNORMALSTREAM3D_DECL
    12939   csGLNORMALSTREAM3D glNormalStream3d;
    12940   #endif
    12941
    12942   #ifndef GLNORMALSTREAM3BV_DECL
    12943   #define GLNORMALSTREAM3BV_DECL
    12944   csGLNORMALSTREAM3BV glNormalStream3bv;
    12945   #endif
    12946
    12947   #ifndef GLNORMALSTREAM3SV_DECL
    12948   #define GLNORMALSTREAM3SV_DECL
    12949   csGLNORMALSTREAM3SV glNormalStream3sv;
    12950   #endif
    12951
    12952   #ifndef GLNORMALSTREAM3IV_DECL
    12953   #define GLNORMALSTREAM3IV_DECL
    12954   csGLNORMALSTREAM3IV glNormalStream3iv;
    12955   #endif
    12956
    12957   #ifndef GLNORMALSTREAM3FV_DECL
    12958   #define GLNORMALSTREAM3FV_DECL
    12959   csGLNORMALSTREAM3FV glNormalStream3fv;
    12960   #endif
    12961
    12962   #ifndef GLNORMALSTREAM3DV_DECL
    12963   #define GLNORMALSTREAM3DV_DECL
    12964   csGLNORMALSTREAM3DV glNormalStream3dv;
    12965   #endif
    12966
    12967   #ifndef GLCLIENTACTIVEVERTEXSTREAM_DECL
    12968   #define GLCLIENTACTIVEVERTEXSTREAM_DECL
    12969   csGLCLIENTACTIVEVERTEXSTREAM glClientActiveVertexStream;
    12970   #endif
    12971
    12972   #ifndef GLVERTEXBLENDENVI_DECL
    12973   #define GLVERTEXBLENDENVI_DECL
    12974   csGLVERTEXBLENDENVI glVertexBlendEnvi;
    12975   #endif
    12976
    12977   #ifndef GLVERTEXBLENDENVF_DECL
    12978   #define GLVERTEXBLENDENVF_DECL
    12979   csGLVERTEXBLENDENVF glVertexBlendEnvf;
    12980   #endif
    12981
    12982
    12984 #ifdef _WIN32
    12985
    12988   #ifndef WGLCREATEIMAGEBUFFERI3D_DECL
    12989   #define WGLCREATEIMAGEBUFFERI3D_DECL
    12990   csWGLCREATEIMAGEBUFFERI3D wglCreateImageBufferI3D;
    12991   #endif
    12992
    12993   #ifndef WGLDESTROYIMAGEBUFFERI3D_DECL
    12994   #define WGLDESTROYIMAGEBUFFERI3D_DECL
    12995   csWGLDESTROYIMAGEBUFFERI3D wglDestroyImageBufferI3D;
    12996   #endif
    12997
    12998   #ifndef WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
    12999   #define WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
    13000   csWGLASSOCIATEIMAGEBUFFEREVENTSI3D wglAssociateImageBufferEventsI3D;
    13001   #endif
    13002
    13003   #ifndef WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
    13004   #define WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
    13005   csWGLRELEASEIMAGEBUFFEREVENTSI3D wglReleaseImageBufferEventsI3D;
    13006   #endif
    13007
    13008
    13010 #endif // _WIN32
    13011
    13012 #ifdef _WIN32
    13013
    13016   #ifndef WGLENABLEFRAMELOCKI3D_DECL
    13017   #define WGLENABLEFRAMELOCKI3D_DECL
    13018   csWGLENABLEFRAMELOCKI3D wglEnableFrameLockI3D;
    13019   #endif
    13020
    13021   #ifndef WGLDISABLEFRAMELOCKI3D_DECL
    13022   #define WGLDISABLEFRAMELOCKI3D_DECL
    13023   csWGLDISABLEFRAMELOCKI3D wglDisableFrameLockI3D;
    13024   #endif
    13025
    13026   #ifndef WGLISENABLEDFRAMELOCKI3D_DECL
    13027   #define WGLISENABLEDFRAMELOCKI3D_DECL
    13028   csWGLISENABLEDFRAMELOCKI3D wglIsEnabledFrameLockI3D;
    13029   #endif
    13030
    13031   #ifndef WGLQUERYFRAMELOCKMASTERI3D_DECL
    13032   #define WGLQUERYFRAMELOCKMASTERI3D_DECL
    13033   csWGLQUERYFRAMELOCKMASTERI3D wglQueryFrameLockMasterI3D;
    13034   #endif
    13035
    13036
    13038 #endif // _WIN32
    13039
    13040 #ifdef _WIN32
    13041
    13044   #ifndef WGLGETFRAMEUSAGEI3D_DECL
    13045   #define WGLGETFRAMEUSAGEI3D_DECL
    13046   csWGLGETFRAMEUSAGEI3D wglGetFrameUsageI3D;
    13047   #endif
    13048
    13049   #ifndef WGLBEGINFRAMETRACKINGI3D_DECL
    13050   #define WGLBEGINFRAMETRACKINGI3D_DECL
    13051   csWGLBEGINFRAMETRACKINGI3D wglBeginFrameTrackingI3D;
    13052   #endif
    13053
    13054   #ifndef WGLENDFRAMETRACKINGI3D_DECL
    13055   #define WGLENDFRAMETRACKINGI3D_DECL
    13056   csWGLENDFRAMETRACKINGI3D wglEndFrameTrackingI3D;
    13057   #endif
    13058
    13059   #ifndef WGLQUERYFRAMETRACKINGI3D_DECL
    13060   #define WGLQUERYFRAMETRACKINGI3D_DECL
    13061   csWGLQUERYFRAMETRACKINGI3D wglQueryFrameTrackingI3D;
    13062   #endif
    13063
    13064
    13066 #endif // _WIN32
    13067
    13081   #ifndef GLMULTIMODEDRAWARRAYSIBM_DECL
    13082   #define GLMULTIMODEDRAWARRAYSIBM_DECL
    13083   csGLMULTIMODEDRAWARRAYSIBM glMultiModeDrawArraysIBM;
    13084   #endif
    13085
    13086   #ifndef GLMULTIMODEDRAWELEMENTSIBM_DECL
    13087   #define GLMULTIMODEDRAWELEMENTSIBM_DECL
    13088   csGLMULTIMODEDRAWELEMENTSIBM glMultiModeDrawElementsIBM;
    13089   #endif
    13090
    13091
    13106   #ifndef GLCOLORPOINTERLISTIBM_DECL
    13107   #define GLCOLORPOINTERLISTIBM_DECL
    13108   csGLCOLORPOINTERLISTIBM glColorPointerListIBM;
    13109   #endif
    13110
    13111   #ifndef GLSECONDARYCOLORPOINTERLISTIBM_DECL
    13112   #define GLSECONDARYCOLORPOINTERLISTIBM_DECL
    13113   csGLSECONDARYCOLORPOINTERLISTIBM glSecondaryColorPointerListIBM;
    13114   #endif
    13115
    13116   #ifndef GLEDGEFLAGPOINTERLISTIBM_DECL
    13117   #define GLEDGEFLAGPOINTERLISTIBM_DECL
    13118   csGLEDGEFLAGPOINTERLISTIBM glEdgeFlagPointerListIBM;
    13119   #endif
    13120
    13121   #ifndef GLFOGCOORDPOINTERLISTIBM_DECL
    13122   #define GLFOGCOORDPOINTERLISTIBM_DECL
    13123   csGLFOGCOORDPOINTERLISTIBM glFogCoordPointerListIBM;
    13124   #endif
    13125
    13126   #ifndef GLNORMALPOINTERLISTIBM_DECL
    13127   #define GLNORMALPOINTERLISTIBM_DECL
    13128   csGLNORMALPOINTERLISTIBM glNormalPointerListIBM;
    13129   #endif
    13130
    13131   #ifndef GLTEXCOORDPOINTERLISTIBM_DECL
    13132   #define GLTEXCOORDPOINTERLISTIBM_DECL
    13133   csGLTEXCOORDPOINTERLISTIBM glTexCoordPointerListIBM;
    13134   #endif
    13135
    13136   #ifndef GLVERTEXPOINTERLISTIBM_DECL
    13137   #define GLVERTEXPOINTERLISTIBM_DECL
    13138   csGLVERTEXPOINTERLISTIBM glVertexPointerListIBM;
    13139   #endif
    13140
    13141
    13146   #ifndef GLRESIZEBUFFERSMESA_DECL
    13147   #define GLRESIZEBUFFERSMESA_DECL
    13148   csGLRESIZEBUFFERSMESA glResizeBuffersMESA;
    13149   #endif
    13150
    13151
    13156   #ifndef GLWINDOWPOS2DMESA_DECL
    13157   #define GLWINDOWPOS2DMESA_DECL
    13158   csGLWINDOWPOS2DMESA glWindowPos2dMESA;
    13159   #endif
    13160
    13161   #ifndef GLWINDOWPOS2FMESA_DECL
    13162   #define GLWINDOWPOS2FMESA_DECL
    13163   csGLWINDOWPOS2FMESA glWindowPos2fMESA;
    13164   #endif
    13165
    13166   #ifndef GLWINDOWPOS2IMESA_DECL
    13167   #define GLWINDOWPOS2IMESA_DECL
    13168   csGLWINDOWPOS2IMESA glWindowPos2iMESA;
    13169   #endif
    13170
    13171   #ifndef GLWINDOWPOS2SMESA_DECL
    13172   #define GLWINDOWPOS2SMESA_DECL
    13173   csGLWINDOWPOS2SMESA glWindowPos2sMESA;
    13174   #endif
    13175
    13176   #ifndef GLWINDOWPOS2IVMESA_DECL
    13177   #define GLWINDOWPOS2IVMESA_DECL
    13178   csGLWINDOWPOS2IVMESA glWindowPos2ivMESA;
    13179   #endif
    13180
    13181   #ifndef GLWINDOWPOS2SVMESA_DECL
    13182   #define GLWINDOWPOS2SVMESA_DECL
    13183   csGLWINDOWPOS2SVMESA glWindowPos2svMESA;
    13184   #endif
    13185
    13186   #ifndef GLWINDOWPOS2FVMESA_DECL
    13187   #define GLWINDOWPOS2FVMESA_DECL
    13188   csGLWINDOWPOS2FVMESA glWindowPos2fvMESA;
    13189   #endif
    13190
    13191   #ifndef GLWINDOWPOS2DVMESA_DECL
    13192   #define GLWINDOWPOS2DVMESA_DECL
    13193   csGLWINDOWPOS2DVMESA glWindowPos2dvMESA;
    13194   #endif
    13195
    13196   #ifndef GLWINDOWPOS3IMESA_DECL
    13197   #define GLWINDOWPOS3IMESA_DECL
    13198   csGLWINDOWPOS3IMESA glWindowPos3iMESA;
    13199   #endif
    13200
    13201   #ifndef GLWINDOWPOS3SMESA_DECL
    13202   #define GLWINDOWPOS3SMESA_DECL
    13203   csGLWINDOWPOS3SMESA glWindowPos3sMESA;
    13204   #endif
    13205
    13206   #ifndef GLWINDOWPOS3FMESA_DECL
    13207   #define GLWINDOWPOS3FMESA_DECL
    13208   csGLWINDOWPOS3FMESA glWindowPos3fMESA;
    13209   #endif
    13210
    13211   #ifndef GLWINDOWPOS3DMESA_DECL
    13212   #define GLWINDOWPOS3DMESA_DECL
    13213   csGLWINDOWPOS3DMESA glWindowPos3dMESA;
    13214   #endif
    13215
    13216   #ifndef GLWINDOWPOS3IVMESA_DECL
    13217   #define GLWINDOWPOS3IVMESA_DECL
    13218   csGLWINDOWPOS3IVMESA glWindowPos3ivMESA;
    13219   #endif
    13220
    13221   #ifndef GLWINDOWPOS3SVMESA_DECL
    13222   #define GLWINDOWPOS3SVMESA_DECL
    13223   csGLWINDOWPOS3SVMESA glWindowPos3svMESA;
    13224   #endif
    13225
    13226   #ifndef GLWINDOWPOS3FVMESA_DECL
    13227   #define GLWINDOWPOS3FVMESA_DECL
    13228   csGLWINDOWPOS3FVMESA glWindowPos3fvMESA;
    13229   #endif
    13230
    13231   #ifndef GLWINDOWPOS3DVMESA_DECL
    13232   #define GLWINDOWPOS3DVMESA_DECL
    13233   csGLWINDOWPOS3DVMESA glWindowPos3dvMESA;
    13234   #endif
    13235
    13236   #ifndef GLWINDOWPOS4IMESA_DECL
    13237   #define GLWINDOWPOS4IMESA_DECL
    13238   csGLWINDOWPOS4IMESA glWindowPos4iMESA;
    13239   #endif
    13240
    13241   #ifndef GLWINDOWPOS4SMESA_DECL
    13242   #define GLWINDOWPOS4SMESA_DECL
    13243   csGLWINDOWPOS4SMESA glWindowPos4sMESA;
    13244   #endif
    13245
    13246   #ifndef GLWINDOWPOS4FMESA_DECL
    13247   #define GLWINDOWPOS4FMESA_DECL
    13248   csGLWINDOWPOS4FMESA glWindowPos4fMESA;
    13249   #endif
    13250
    13251   #ifndef GLWINDOWPOS4DMESA_DECL
    13252   #define GLWINDOWPOS4DMESA_DECL
    13253   csGLWINDOWPOS4DMESA glWindowPos4dMESA;
    13254   #endif
    13255
    13256   #ifndef GLWINDOWPOS4IVMESA_DECL
    13257   #define GLWINDOWPOS4IVMESA_DECL
    13258   csGLWINDOWPOS4IVMESA glWindowPos4ivMESA;
    13259   #endif
    13260
    13261   #ifndef GLWINDOWPOS4SVMESA_DECL
    13262   #define GLWINDOWPOS4SVMESA_DECL
    13263   csGLWINDOWPOS4SVMESA glWindowPos4svMESA;
    13264   #endif
    13265
    13266   #ifndef GLWINDOWPOS4FVMESA_DECL
    13267   #define GLWINDOWPOS4FVMESA_DECL
    13268   csGLWINDOWPOS4FVMESA glWindowPos4fvMESA;
    13269   #endif
    13270
    13271   #ifndef GLWINDOWPOS4DVMESA_DECL
    13272   #define GLWINDOWPOS4DVMESA_DECL
    13273   csGLWINDOWPOS4DVMESA glWindowPos4dvMESA;
    13274   #endif
    13275
    13276
    13301   #ifndef GLSAMPLEMASKSGIS_DECL
    13302   #define GLSAMPLEMASKSGIS_DECL
    13303   csGLSAMPLEMASKSGIS glSampleMaskSGIS;
    13304   #endif
    13305
    13306   #ifndef GLSAMPLEPATTERNSGIS_DECL
    13307   #define GLSAMPLEPATTERNSGIS_DECL
    13308   csGLSAMPLEPATTERNSGIS glSamplePatternSGIS;
    13309   #endif
    13310
    13311
    13316   #ifndef GLPIXELTEXGENPARAMETERISGIS_DECL
    13317   #define GLPIXELTEXGENPARAMETERISGIS_DECL
    13318   csGLPIXELTEXGENPARAMETERISGIS glPixelTexGenParameteriSGIS;
    13319   #endif
    13320
    13321   #ifndef GLPIXELTEXGENPARAMETERFSGIS_DECL
    13322   #define GLPIXELTEXGENPARAMETERFSGIS_DECL
    13323   csGLPIXELTEXGENPARAMETERFSGIS glPixelTexGenParameterfSGIS;
    13324   #endif
    13325
    13326   #ifndef GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
    13327   #define GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
    13328   csGLGETPIXELTEXGENPARAMETERIVSGIS glGetPixelTexGenParameterivSGIS;
    13329   #endif
    13330
    13331   #ifndef GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
    13332   #define GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
    13333   csGLGETPIXELTEXGENPARAMETERFVSGIS glGetPixelTexGenParameterfvSGIS;
    13334   #endif
    13335
    13336
    13346   #ifndef GLTEXTURECOLORMASKSGIS_DECL
    13347   #define GLTEXTURECOLORMASKSGIS_DECL
    13348   csGLTEXTURECOLORMASKSGIS glTextureColorMaskSGIS;
    13349   #endif
    13350
    13351
    13391   #ifndef GLCOLORTABLESGI_DECL
    13392   #define GLCOLORTABLESGI_DECL
    13393   csGLCOLORTABLESGI glColorTableSGI;
    13394   #endif
    13395
    13396   #ifndef GLCOPYCOLORTABLESGI_DECL
    13397   #define GLCOPYCOLORTABLESGI_DECL
    13398   csGLCOPYCOLORTABLESGI glCopyColorTableSGI;
    13399   #endif
    13400
    13401   #ifndef GLCOLORTABLEPARAMETERIVSGI_DECL
    13402   #define GLCOLORTABLEPARAMETERIVSGI_DECL
    13403   csGLCOLORTABLEPARAMETERIVSGI glColorTableParameterivSGI;
    13404   #endif
    13405
    13406   #ifndef GLCOLORTABLEPARAMETERFVSGI_DECL
    13407   #define GLCOLORTABLEPARAMETERFVSGI_DECL
    13408   csGLCOLORTABLEPARAMETERFVSGI glColorTableParameterfvSGI;
    13409   #endif
    13410
    13411   #ifndef GLGETCOLORTABLESGI_DECL
    13412   #define GLGETCOLORTABLESGI_DECL
    13413   csGLGETCOLORTABLESGI glGetColorTableSGI;
    13414   #endif
    13415
    13416   #ifndef GLGETCOLORTABLEPARAMETERIVSGI_DECL
    13417   #define GLGETCOLORTABLEPARAMETERIVSGI_DECL
    13418   csGLGETCOLORTABLEPARAMETERIVSGI glGetColorTableParameterivSGI;
    13419   #endif
    13420
    13421   #ifndef GLGETCOLORTABLEPARAMETERFVSGI_DECL
    13422   #define GLGETCOLORTABLEPARAMETERFVSGI_DECL
    13423   csGLGETCOLORTABLEPARAMETERFVSGI glGetColorTableParameterfvSGI;
    13424   #endif
    13425
    13426
    13436   #ifndef GLCOLOR4UBVERTEX2FSUN_DECL
    13437   #define GLCOLOR4UBVERTEX2FSUN_DECL
    13438   csGLCOLOR4UBVERTEX2FSUN glColor4ubVertex2fSUN;
    13439   #endif
    13440
    13441   #ifndef GLCOLOR4UBVERTEX2FVSUN_DECL
    13442   #define GLCOLOR4UBVERTEX2FVSUN_DECL
    13443   csGLCOLOR4UBVERTEX2FVSUN glColor4ubVertex2fvSUN;
    13444   #endif
    13445
    13446   #ifndef GLCOLOR4UBVERTEX3FSUN_DECL
    13447   #define GLCOLOR4UBVERTEX3FSUN_DECL
    13448   csGLCOLOR4UBVERTEX3FSUN glColor4ubVertex3fSUN;
    13449   #endif
    13450
    13451   #ifndef GLCOLOR4UBVERTEX3FVSUN_DECL
    13452   #define GLCOLOR4UBVERTEX3FVSUN_DECL
    13453   csGLCOLOR4UBVERTEX3FVSUN glColor4ubVertex3fvSUN;
    13454   #endif
    13455
    13456   #ifndef GLCOLOR3FVERTEX3FSUN_DECL
    13457   #define GLCOLOR3FVERTEX3FSUN_DECL
    13458   csGLCOLOR3FVERTEX3FSUN glColor3fVertex3fSUN;
    13459   #endif
    13460
    13461   #ifndef GLCOLOR3FVERTEX3FVSUN_DECL
    13462   #define GLCOLOR3FVERTEX3FVSUN_DECL
    13463   csGLCOLOR3FVERTEX3FVSUN glColor3fVertex3fvSUN;
    13464   #endif
    13465
    13466   #ifndef GLNORMAL3FVERTEX3FSUN_DECL
    13467   #define GLNORMAL3FVERTEX3FSUN_DECL
    13468   csGLNORMAL3FVERTEX3FSUN glNormal3fVertex3fSUN;
    13469   #endif
    13470
    13471   #ifndef GLNORMAL3FVERTEX3FVSUN_DECL
    13472   #define GLNORMAL3FVERTEX3FVSUN_DECL
    13473   csGLNORMAL3FVERTEX3FVSUN glNormal3fVertex3fvSUN;
    13474   #endif
    13475
    13476   #ifndef GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13477   #define GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13478   csGLCOLOR4FNORMAL3FVERTEX3FSUN glColor4fNormal3fVertex3fSUN;
    13479   #endif
    13480
    13481   #ifndef GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13482   #define GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13483   csGLCOLOR4FNORMAL3FVERTEX3FVSUN glColor4fNormal3fVertex3fvSUN;
    13484   #endif
    13485
    13486   #ifndef GLTEXCOORD2FVERTEX3FSUN_DECL
    13487   #define GLTEXCOORD2FVERTEX3FSUN_DECL
    13488   csGLTEXCOORD2FVERTEX3FSUN glTexCoord2fVertex3fSUN;
    13489   #endif
    13490
    13491   #ifndef GLTEXCOORD2FVERTEX3FVSUN_DECL
    13492   #define GLTEXCOORD2FVERTEX3FVSUN_DECL
    13493   csGLTEXCOORD2FVERTEX3FVSUN glTexCoord2fVertex3fvSUN;
    13494   #endif
    13495
    13496   #ifndef GLTEXCOORD4FVERTEX4FSUN_DECL
    13497   #define GLTEXCOORD4FVERTEX4FSUN_DECL
    13498   csGLTEXCOORD4FVERTEX4FSUN glTexCoord4fVertex4fSUN;
    13499   #endif
    13500
    13501   #ifndef GLTEXCOORD4FVERTEX4FVSUN_DECL
    13502   #define GLTEXCOORD4FVERTEX4FVSUN_DECL
    13503   csGLTEXCOORD4FVERTEX4FVSUN glTexCoord4fVertex4fvSUN;
    13504   #endif
    13505
    13506   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
    13507   #define GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
    13508   csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN glTexCoord2fColor4ubVertex3fSUN;
    13509   #endif
    13510
    13511   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
    13512   #define GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
    13513   csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN glTexCoord2fColor4ubVertex3fvSUN;
    13514   #endif
    13515
    13516   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
    13517   #define GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
    13518   csGLTEXCOORD2FCOLOR3FVERTEX3FSUN glTexCoord2fColor3fVertex3fSUN;
    13519   #endif
    13520
    13521   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
    13522   #define GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
    13523   csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN glTexCoord2fColor3fVertex3fvSUN;
    13524   #endif
    13525
    13526   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
    13527   #define GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
    13528   csGLTEXCOORD2FNORMAL3FVERTEX3FSUN glTexCoord2fNormal3fVertex3fSUN;
    13529   #endif
    13530
    13531   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
    13532   #define GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
    13533   csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN glTexCoord2fNormal3fVertex3fvSUN;
    13534   #endif
    13535
    13536   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13537   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13538   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glTexCoord2fColor4fNormal3fVertex3fSUN;
    13539   #endif
    13540
    13541   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13542   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13543   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glTexCoord2fColor4fNormal3fVertex3fvSUN;
    13544   #endif
    13545
    13546   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
    13547   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
    13548   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN glTexCoord4fColor4fNormal3fVertex4fSUN;
    13549   #endif
    13550
    13551   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
    13552   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
    13553   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN glTexCoord4fColor4fNormal3fVertex4fvSUN;
    13554   #endif
    13555
    13556   #ifndef GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
    13557   #define GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
    13558   csGLREPLACEMENTCODEUIVERTEX3FSUN glReplacementCodeuiVertex3fSUN;
    13559   #endif
    13560
    13561   #ifndef GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
    13562   #define GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
    13563   csGLREPLACEMENTCODEUIVERTEX3FVSUN glReplacementCodeuiVertex3fvSUN;
    13564   #endif
    13565
    13566   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
    13567   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
    13568   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN glReplacementCodeuiColor4ubVertex3fSUN;
    13569   #endif
    13570
    13571   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
    13572   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
    13573   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN glReplacementCodeuiColor4ubVertex3fvSUN;
    13574   #endif
    13575
    13576   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
    13577   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
    13578   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN glReplacementCodeuiColor3fVertex3fSUN;
    13579   #endif
    13580
    13581   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
    13582   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
    13583   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN glReplacementCodeuiColor3fVertex3fvSUN;
    13584   #endif
    13585
    13586   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
    13587   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
    13588   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN glReplacementCodeuiNormal3fVertex3fSUN;
    13589   #endif
    13590
    13591   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
    13592   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
    13593   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN glReplacementCodeuiNormal3fVertex3fvSUN;
    13594   #endif
    13595
    13596   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13597   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13598   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN;
    13599   #endif
    13600
    13601   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13602   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13603   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN;
    13604   #endif
    13605
    13606   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
    13607   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
    13608   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN glReplacementCodeuiTexCoord2fVertex3fSUN;
    13609   #endif
    13610
    13611   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
    13612   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
    13613   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN glReplacementCodeuiTexCoord2fVertex3fvSUN;
    13614   #endif
    13615
    13616   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
    13617   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
    13618   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN;
    13619   #endif
    13620
    13621   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
    13622   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
    13623   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN;
    13624   #endif
    13625
    13626   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13627   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
    13628   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN;
    13629   #endif
    13630
    13631   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13632   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
    13633   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN;
    13634   #endif
    13635
    13636
    13656   #ifndef GLELEMENTPOINTERAPPLE_DECL
    13657   #define GLELEMENTPOINTERAPPLE_DECL
    13658   csGLELEMENTPOINTERAPPLE glElementPointerAPPLE;
    13659   #endif
    13660
    13661   #ifndef GLDRAWELEMENTARRAYAPPLE_DECL
    13662   #define GLDRAWELEMENTARRAYAPPLE_DECL
    13663   csGLDRAWELEMENTARRAYAPPLE glDrawElementArrayAPPLE;
    13664   #endif
    13665
    13666   #ifndef GLDRAWRANGEELEMENTARRAYAPPLE_DECL
    13667   #define GLDRAWRANGEELEMENTARRAYAPPLE_DECL
    13668   csGLDRAWRANGEELEMENTARRAYAPPLE glDrawRangeElementArrayAPPLE;
    13669   #endif
    13670
    13671   #ifndef GLMULTIDRAWELEMENTARRAYAPPLE_DECL
    13672   #define GLMULTIDRAWELEMENTARRAYAPPLE_DECL
    13673   csGLMULTIDRAWELEMENTARRAYAPPLE glMultiDrawElementArrayAPPLE;
    13674   #endif
    13675
    13676   #ifndef GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
    13677   #define GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
    13678   csGLMULTIDRAWRANGEELEMENTARRAYAPPLE glMultiDrawRangeElementArrayAPPLE;
    13679   #endif
    13680
    13681
    13686   #ifndef GLGENFENCESAPPLE_DECL
    13687   #define GLGENFENCESAPPLE_DECL
    13688   csGLGENFENCESAPPLE glGenFencesAPPLE;
    13689   #endif
    13690
    13691   #ifndef GLDELETEFENCESAPPLE_DECL
    13692   #define GLDELETEFENCESAPPLE_DECL
    13693   csGLDELETEFENCESAPPLE glDeleteFencesAPPLE;
    13694   #endif
    13695
    13696   #ifndef GLSETFENCEAPPLE_DECL
    13697   #define GLSETFENCEAPPLE_DECL
    13698   csGLSETFENCEAPPLE glSetFenceAPPLE;
    13699   #endif
    13700
    13701   #ifndef GLISFENCEAPPLE_DECL
    13702   #define GLISFENCEAPPLE_DECL
    13703   csGLISFENCEAPPLE glIsFenceAPPLE;
    13704   #endif
    13705
    13706   #ifndef GLTESTFENCEAPPLE_DECL
    13707   #define GLTESTFENCEAPPLE_DECL
    13708   csGLTESTFENCEAPPLE glTestFenceAPPLE;
    13709   #endif
    13710
    13711   #ifndef GLFINISHFENCEAPPLE_DECL
    13712   #define GLFINISHFENCEAPPLE_DECL
    13713   csGLFINISHFENCEAPPLE glFinishFenceAPPLE;
    13714   #endif
    13715
    13716   #ifndef GLTESTOBJECTAPPLE_DECL
    13717   #define GLTESTOBJECTAPPLE_DECL
    13718   csGLTESTOBJECTAPPLE glTestObjectAPPLE;
    13719   #endif
    13720
    13721   #ifndef GLFINISHOBJECTAPPLE_DECL
    13722   #define GLFINISHOBJECTAPPLE_DECL
    13723   csGLFINISHOBJECTAPPLE glFinishObjectAPPLE;
    13724   #endif
    13725
    13726
    13731   #ifndef GLBINDVERTEXARRAYAPPLE_DECL
    13732   #define GLBINDVERTEXARRAYAPPLE_DECL
    13733   csGLBINDVERTEXARRAYAPPLE glBindVertexArrayAPPLE;
    13734   #endif
    13735
    13736   #ifndef GLDELETEVERTEXARRAYSAPPLE_DECL
    13737   #define GLDELETEVERTEXARRAYSAPPLE_DECL
    13738   csGLDELETEVERTEXARRAYSAPPLE glDeleteVertexArraysAPPLE;
    13739   #endif
    13740
    13741   #ifndef GLGENVERTEXARRAYSAPPLE_DECL
    13742   #define GLGENVERTEXARRAYSAPPLE_DECL
    13743   csGLGENVERTEXARRAYSAPPLE glGenVertexArraysAPPLE;
    13744   #endif
    13745
    13746   #ifndef GLISVERTEXARRAYAPPLE_DECL
    13747   #define GLISVERTEXARRAYAPPLE_DECL
    13748   csGLISVERTEXARRAYAPPLE glIsVertexArrayAPPLE;
    13749   #endif
    13750
    13751
    13756   #ifndef GLVERTEXARRAYRANGEAPPLE_DECL
    13757   #define GLVERTEXARRAYRANGEAPPLE_DECL
    13758   csGLVERTEXARRAYRANGEAPPLE glVertexArrayRangeAPPLE;
    13759   #endif
    13760
    13761   #ifndef GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
    13762   #define GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
    13763   csGLFLUSHVERTEXARRAYRANGEAPPLE glFlushVertexArrayRangeAPPLE;
    13764   #endif
    13765
    13766   #ifndef GLVERTEXARRAYPARAMETERIAPPLE_DECL
    13767   #define GLVERTEXARRAYPARAMETERIAPPLE_DECL
    13768   csGLVERTEXARRAYPARAMETERIAPPLE glVertexArrayParameteriAPPLE;
    13769   #endif
    13770
    13771
    13773 #ifdef _WIN32
    13774
    13777   #ifndef WGLGETPIXELFORMATATTRIBIVARB_DECL
    13778   #define WGLGETPIXELFORMATATTRIBIVARB_DECL
    13779   csWGLGETPIXELFORMATATTRIBIVARB wglGetPixelFormatAttribivARB;
    13780   #endif
    13781
    13782   #ifndef WGLGETPIXELFORMATATTRIBFVARB_DECL
    13783   #define WGLGETPIXELFORMATATTRIBFVARB_DECL
    13784   csWGLGETPIXELFORMATATTRIBFVARB wglGetPixelFormatAttribfvARB;
    13785   #endif
    13786
    13787   #ifndef WGLCHOOSEPIXELFORMATARB_DECL
    13788   #define WGLCHOOSEPIXELFORMATARB_DECL
    13789   csWGLCHOOSEPIXELFORMATARB wglChoosePixelFormatARB;
    13790   #endif
    13791
    13792
    13794 #endif // _WIN32
    13795
    13796 #ifdef _WIN32
    13797
    13800   #ifndef WGLMAKECONTEXTCURRENTARB_DECL
    13801   #define WGLMAKECONTEXTCURRENTARB_DECL
    13802   csWGLMAKECONTEXTCURRENTARB wglMakeContextCurrentARB;
    13803   #endif
    13804
    13805   #ifndef WGLGETCURRENTREADDCARB_DECL
    13806   #define WGLGETCURRENTREADDCARB_DECL
    13807   csWGLGETCURRENTREADDCARB wglGetCurrentReadDCARB;
    13808   #endif
    13809
    13810
    13812 #endif // _WIN32
    13813
    13814 #ifdef _WIN32
    13815
    13818   #ifndef WGLCREATEPBUFFERARB_DECL
    13819   #define WGLCREATEPBUFFERARB_DECL
    13820   csWGLCREATEPBUFFERARB wglCreatePbufferARB;
    13821   #endif
    13822
    13823   #ifndef WGLGETPBUFFERDCARB_DECL
    13824   #define WGLGETPBUFFERDCARB_DECL
    13825   csWGLGETPBUFFERDCARB wglGetPbufferDCARB;
    13826   #endif
    13827
    13828   #ifndef WGLRELEASEPBUFFERDCARB_DECL
    13829   #define WGLRELEASEPBUFFERDCARB_DECL
    13830   csWGLRELEASEPBUFFERDCARB wglReleasePbufferDCARB;
    13831   #endif
    13832
    13833   #ifndef WGLDESTROYPBUFFERARB_DECL
    13834   #define WGLDESTROYPBUFFERARB_DECL
    13835   csWGLDESTROYPBUFFERARB wglDestroyPbufferARB;
    13836   #endif
    13837
    13838   #ifndef WGLQUERYPBUFFERARB_DECL
    13839   #define WGLQUERYPBUFFERARB_DECL
    13840   csWGLQUERYPBUFFERARB wglQueryPbufferARB;
    13841   #endif
    13842
    13843
    13845 #endif // _WIN32
    13846
    13847 #ifdef _WIN32
    13848
    13851   #ifndef WGLSWAPINTERVALEXT_DECL
    13852   #define WGLSWAPINTERVALEXT_DECL
    13853   csWGLSWAPINTERVALEXT wglSwapIntervalEXT;
    13854   #endif
    13855
    13856   #ifndef WGLGETSWAPINTERVALEXT_DECL
    13857   #define WGLGETSWAPINTERVALEXT_DECL
    13858   csWGLGETSWAPINTERVALEXT wglGetSwapIntervalEXT;
    13859   #endif
    13860
    13861
    13863 #endif // _WIN32
    13864
    13865 #ifdef _WIN32
    13866
    13869   #ifndef WGLBINDTEXIMAGEARB_DECL
    13870   #define WGLBINDTEXIMAGEARB_DECL
    13871   csWGLBINDTEXIMAGEARB wglBindTexImageARB;
    13872   #endif
    13873
    13874   #ifndef WGLRELEASETEXIMAGEARB_DECL
    13875   #define WGLRELEASETEXIMAGEARB_DECL
    13876   csWGLRELEASETEXIMAGEARB wglReleaseTexImageARB;
    13877   #endif
    13878
    13879   #ifndef WGLSETPBUFFERATTRIBARB_DECL
    13880   #define WGLSETPBUFFERATTRIBARB_DECL
    13881   csWGLSETPBUFFERATTRIBARB wglSetPbufferAttribARB;
    13882   #endif
    13883
    13884
    13886 #endif // _WIN32
    13887
    13888 #ifdef _WIN32
    13889
    13892   #ifndef WGLGETEXTENSIONSSTRINGEXT_DECL
    13893   #define WGLGETEXTENSIONSSTRINGEXT_DECL
    13894   csWGLGETEXTENSIONSSTRINGEXT wglGetExtensionsStringEXT;
    13895   #endif
    13896
    13897
    13899 #endif // _WIN32
    13900
    13901 #ifdef _WIN32
    13902
    13905   #ifndef WGLMAKECONTEXTCURRENTEXT_DECL
    13906   #define WGLMAKECONTEXTCURRENTEXT_DECL
    13907   csWGLMAKECONTEXTCURRENTEXT wglMakeContextCurrentEXT;
    13908   #endif
    13909
    13910   #ifndef WGLGETCURRENTREADDCEXT_DECL
    13911   #define WGLGETCURRENTREADDCEXT_DECL
    13912   csWGLGETCURRENTREADDCEXT wglGetCurrentReadDCEXT;
    13913   #endif
    13914
    13915
    13917 #endif // _WIN32
    13918
    13919 #ifdef _WIN32
    13920
    13923   #ifndef WGLCREATEPBUFFEREXT_DECL
    13924   #define WGLCREATEPBUFFEREXT_DECL
    13925   csWGLCREATEPBUFFEREXT wglCreatePbufferEXT;
    13926   #endif
    13927
    13928   #ifndef WGLGETPBUFFERDCEXT_DECL
    13929   #define WGLGETPBUFFERDCEXT_DECL
    13930   csWGLGETPBUFFERDCEXT wglGetPbufferDCEXT;
    13931   #endif
    13932
    13933   #ifndef WGLRELEASEPBUFFERDCEXT_DECL
    13934   #define WGLRELEASEPBUFFERDCEXT_DECL
    13935   csWGLRELEASEPBUFFERDCEXT wglReleasePbufferDCEXT;
    13936   #endif
    13937
    13938   #ifndef WGLDESTROYPBUFFEREXT_DECL
    13939   #define WGLDESTROYPBUFFEREXT_DECL
    13940   csWGLDESTROYPBUFFEREXT wglDestroyPbufferEXT;
    13941   #endif
    13942
    13943   #ifndef WGLQUERYPBUFFEREXT_DECL
    13944   #define WGLQUERYPBUFFEREXT_DECL
    13945   csWGLQUERYPBUFFEREXT wglQueryPbufferEXT;
    13946   #endif
    13947
    13948
    13950 #endif // _WIN32
    13951
    13952 #ifdef _WIN32
    13953
    13956   #ifndef WGLGETPIXELFORMATATTRIBIVEXT_DECL
    13957   #define WGLGETPIXELFORMATATTRIBIVEXT_DECL
    13958   csWGLGETPIXELFORMATATTRIBIVEXT wglGetPixelFormatAttribivEXT;
    13959   #endif
    13960
    13961   #ifndef WGLGETPIXELFORMATATTRIBFVEXT_DECL
    13962   #define WGLGETPIXELFORMATATTRIBFVEXT_DECL
    13963   csWGLGETPIXELFORMATATTRIBFVEXT wglGetPixelFormatAttribfvEXT;
    13964   #endif
    13965
    13966   #ifndef WGLCHOOSEPIXELFORMATEXT_DECL
    13967   #define WGLCHOOSEPIXELFORMATEXT_DECL
    13968   csWGLCHOOSEPIXELFORMATEXT wglChoosePixelFormatEXT;
    13969   #endif
    13970
    13971
    13973 #endif // _WIN32
    13974
    13975 #ifdef _WIN32
    13976
    13979   #ifndef WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
    13980   #define WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
    13981   csWGLGETDIGITALVIDEOPARAMETERSI3D wglGetDigitalVideoParametersI3D;
    13982   #endif
    13983
    13984   #ifndef WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
    13985   #define WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
    13986   csWGLSETDIGITALVIDEOPARAMETERSI3D wglSetDigitalVideoParametersI3D;
    13987   #endif
    13988
    13989
    13991 #endif // _WIN32
    13992
    13993 #ifdef _WIN32
    13994
    13997   #ifndef WGLGETGAMMATABLEPARAMETERSI3D_DECL
    13998   #define WGLGETGAMMATABLEPARAMETERSI3D_DECL
    13999   csWGLGETGAMMATABLEPARAMETERSI3D wglGetGammaTableParametersI3D;
    14000   #endif
    14001
    14002   #ifndef WGLSETGAMMATABLEPARAMETERSI3D_DECL
    14003   #define WGLSETGAMMATABLEPARAMETERSI3D_DECL
    14004   csWGLSETGAMMATABLEPARAMETERSI3D wglSetGammaTableParametersI3D;
    14005   #endif
    14006
    14007   #ifndef WGLGETGAMMATABLEI3D_DECL
    14008   #define WGLGETGAMMATABLEI3D_DECL
    14009   csWGLGETGAMMATABLEI3D wglGetGammaTableI3D;
    14010   #endif
    14011
    14012   #ifndef WGLSETGAMMATABLEI3D_DECL
    14013   #define WGLSETGAMMATABLEI3D_DECL
    14014   csWGLSETGAMMATABLEI3D wglSetGammaTableI3D;
    14015   #endif
    14016
    14017
    14019 #endif // _WIN32
    14020
    14021 #ifdef _WIN32
    14022
    14025   #ifndef WGLENABLEGENLOCKI3D_DECL
    14026   #define WGLENABLEGENLOCKI3D_DECL
    14027   csWGLENABLEGENLOCKI3D wglEnableGenlockI3D;
    14028   #endif
    14029
    14030   #ifndef WGLDISABLEGENLOCKI3D_DECL
    14031   #define WGLDISABLEGENLOCKI3D_DECL
    14032   csWGLDISABLEGENLOCKI3D wglDisableGenlockI3D;
    14033   #endif
    14034
    14035   #ifndef WGLISENABLEDGENLOCKI3D_DECL
    14036   #define WGLISENABLEDGENLOCKI3D_DECL
    14037   csWGLISENABLEDGENLOCKI3D wglIsEnabledGenlockI3D;
    14038   #endif
    14039
    14040   #ifndef WGLGENLOCKSOURCEI3D_DECL
    14041   #define WGLGENLOCKSOURCEI3D_DECL
    14042   csWGLGENLOCKSOURCEI3D wglGenlockSourceI3D;
    14043   #endif
    14044
    14045   #ifndef WGLGETGENLOCKSOURCEI3D_DECL
    14046   #define WGLGETGENLOCKSOURCEI3D_DECL
    14047   csWGLGETGENLOCKSOURCEI3D wglGetGenlockSourceI3D;
    14048   #endif
    14049
    14050   #ifndef WGLGENLOCKSOURCEEDGEI3D_DECL
    14051   #define WGLGENLOCKSOURCEEDGEI3D_DECL
    14052   csWGLGENLOCKSOURCEEDGEI3D wglGenlockSourceEdgeI3D;
    14053   #endif
    14054
    14055   #ifndef WGLGETGENLOCKSOURCEEDGEI3D_DECL
    14056   #define WGLGETGENLOCKSOURCEEDGEI3D_DECL
    14057   csWGLGETGENLOCKSOURCEEDGEI3D wglGetGenlockSourceEdgeI3D;
    14058   #endif
    14059
    14060   #ifndef WGLGENLOCKSAMPLERATEI3D_DECL
    14061   #define WGLGENLOCKSAMPLERATEI3D_DECL
    14062   csWGLGENLOCKSAMPLERATEI3D wglGenlockSampleRateI3D;
    14063   #endif
    14064
    14065   #ifndef WGLGETGENLOCKSAMPLERATEI3D_DECL
    14066   #define WGLGETGENLOCKSAMPLERATEI3D_DECL
    14067   csWGLGETGENLOCKSAMPLERATEI3D wglGetGenlockSampleRateI3D;
    14068   #endif
    14069
    14070   #ifndef WGLGENLOCKSOURCEDELAYI3D_DECL
    14071   #define WGLGENLOCKSOURCEDELAYI3D_DECL
    14072   csWGLGENLOCKSOURCEDELAYI3D wglGenlockSourceDelayI3D;
    14073   #endif
    14074
    14075   #ifndef WGLGETGENLOCKSOURCEDELAYI3D_DECL
    14076   #define WGLGETGENLOCKSOURCEDELAYI3D_DECL
    14077   csWGLGETGENLOCKSOURCEDELAYI3D wglGetGenlockSourceDelayI3D;
    14078   #endif
    14079
    14080   #ifndef WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
    14081   #define WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
    14082   csWGLQUERYGENLOCKMAXSOURCEDELAYI3D wglQueryGenlockMaxSourceDelayI3D;
    14083   #endif
    14084
    14085
    14087 #endif // _WIN32
    14088
    14092   #ifndef GLCURRENTPALETTEMATRIXARB_DECL
    14093   #define GLCURRENTPALETTEMATRIXARB_DECL
    14094   csGLCURRENTPALETTEMATRIXARB glCurrentPaletteMatrixARB;
    14095   #endif
    14096
    14097   #ifndef GLMATRIXINDEXUBVARB_DECL
    14098   #define GLMATRIXINDEXUBVARB_DECL
    14099   csGLMATRIXINDEXUBVARB glMatrixIndexubvARB;
    14100   #endif
    14101
    14102   #ifndef GLMATRIXINDEXUSVARB_DECL
    14103   #define GLMATRIXINDEXUSVARB_DECL
    14104   csGLMATRIXINDEXUSVARB glMatrixIndexusvARB;
    14105   #endif
    14106
    14107   #ifndef GLMATRIXINDEXUIVARB_DECL
    14108   #define GLMATRIXINDEXUIVARB_DECL
    14109   csGLMATRIXINDEXUIVARB glMatrixIndexuivARB;
    14110   #endif
    14111
    14112   #ifndef GLMATRIXINDEXPOINTERARB_DECL
    14113   #define GLMATRIXINDEXPOINTERARB_DECL
    14114   csGLMATRIXINDEXPOINTERARB glMatrixIndexPointerARB;
    14115   #endif
    14116
    14117
    14122   #ifndef GLELEMENTPOINTERNV_DECL
    14123   #define GLELEMENTPOINTERNV_DECL
    14124   csGLELEMENTPOINTERNV glElementPointerNV;
    14125   #endif
    14126
    14127   #ifndef GLDRAWELEMENTARRAYNV_DECL
    14128   #define GLDRAWELEMENTARRAYNV_DECL
    14129   csGLDRAWELEMENTARRAYNV glDrawElementArrayNV;
    14130   #endif
    14131
    14132   #ifndef GLDRAWRANGEELEMENTARRAYNV_DECL
    14133   #define GLDRAWRANGEELEMENTARRAYNV_DECL
    14134   csGLDRAWRANGEELEMENTARRAYNV glDrawRangeElementArrayNV;
    14135   #endif
    14136
    14137   #ifndef GLMULTIDRAWELEMENTARRAYNV_DECL
    14138   #define GLMULTIDRAWELEMENTARRAYNV_DECL
    14139   csGLMULTIDRAWELEMENTARRAYNV glMultiDrawElementArrayNV;
    14140   #endif
    14141
    14142   #ifndef GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
    14143   #define GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
    14144   csGLMULTIDRAWRANGEELEMENTARRAYNV glMultiDrawRangeElementArrayNV;
    14145   #endif
    14146
    14147
    14157   #ifndef GLPROGRAMNAMEDPARAMETER4FNV_DECL
    14158   #define GLPROGRAMNAMEDPARAMETER4FNV_DECL
    14159   csGLPROGRAMNAMEDPARAMETER4FNV glProgramNamedParameter4fNV;
    14160   #endif
    14161
    14162   #ifndef GLPROGRAMNAMEDPARAMETER4DNV_DECL
    14163   #define GLPROGRAMNAMEDPARAMETER4DNV_DECL
    14164   csGLPROGRAMNAMEDPARAMETER4DNV glProgramNamedParameter4dNV;
    14165   #endif
    14166
    14167   #ifndef GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
    14168   #define GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
    14169   csGLGETPROGRAMNAMEDPARAMETERFVNV glGetProgramNamedParameterfvNV;
    14170   #endif
    14171
    14172   #ifndef GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
    14173   #define GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
    14174   csGLGETPROGRAMNAMEDPARAMETERDVNV glGetProgramNamedParameterdvNV;
    14175   #endif
    14176
    14177
    14182   #ifndef GLPRIMITIVERESTARTNV_DECL
    14183   #define GLPRIMITIVERESTARTNV_DECL
    14184   csGLPRIMITIVERESTARTNV glPrimitiveRestartNV;
    14185   #endif
    14186
    14187   #ifndef GLPRIMITIVERESTARTINDEXNV_DECL
    14188   #define GLPRIMITIVERESTARTINDEXNV_DECL
    14189   csGLPRIMITIVERESTARTINDEXNV glPrimitiveRestartIndexNV;
    14190   #endif
    14191
    14192
    14202   #ifndef GLBINDBUFFERARB_DECL
    14203   #define GLBINDBUFFERARB_DECL
    14204   csGLBINDBUFFERARB glBindBufferARB;
    14205   #endif
    14206
    14207   #ifndef GLDELETEBUFFERSARB_DECL
    14208   #define GLDELETEBUFFERSARB_DECL
    14209   csGLDELETEBUFFERSARB glDeleteBuffersARB;
    14210   #endif
    14211
    14212   #ifndef GLGENBUFFERSARB_DECL
    14213   #define GLGENBUFFERSARB_DECL
    14214   csGLGENBUFFERSARB glGenBuffersARB;
    14215   #endif
    14216
    14217   #ifndef GLBUFFERDATAARB_DECL
    14218   #define GLBUFFERDATAARB_DECL
    14219   csGLBUFFERDATAARB glBufferDataARB;
    14220   #endif
    14221
    14222   #ifndef GLBUFFERSUBDATAARB_DECL
    14223   #define GLBUFFERSUBDATAARB_DECL
    14224   csGLBUFFERSUBDATAARB glBufferSubDataARB;
    14225   #endif
    14226
    14227   #ifndef GLMAPBUFFERARB_DECL
    14228   #define GLMAPBUFFERARB_DECL
    14229   csGLMAPBUFFERARB glMapBufferARB;
    14230   #endif
    14231
    14232   #ifndef GLUNMAPBUFFERARB_DECL
    14233   #define GLUNMAPBUFFERARB_DECL
    14234   csGLUNMAPBUFFERARB glUnmapBufferARB;
    14235   #endif
    14236
    14237   #ifndef GLISBUFFERARB_DECL
    14238   #define GLISBUFFERARB_DECL
    14239   csGLISBUFFERARB glIsBufferARB;
    14240   #endif
    14241
    14242   #ifndef GLGETBUFFERSUBDATAARB_DECL
    14243   #define GLGETBUFFERSUBDATAARB_DECL
    14244   csGLGETBUFFERSUBDATAARB glGetBufferSubDataARB;
    14245   #endif
    14246
    14247   #ifndef GLGETBUFFERPOINTERVARB_DECL
    14248   #define GLGETBUFFERPOINTERVARB_DECL
    14249   csGLGETBUFFERPOINTERVARB glGetBufferPointervARB;
    14250   #endif
    14251
    14252   #ifndef GLGETBUFFERPARAMETERIVARB_DECL
    14253   #define GLGETBUFFERPARAMETERIVARB_DECL
    14254   csGLGETBUFFERPARAMETERIVARB glGetBufferParameterivARB;
    14255   #endif
    14256
    14257
    14262   #ifndef GLSTENCILOPSEPARATEATI_DECL
    14263   #define GLSTENCILOPSEPARATEATI_DECL
    14264   csGLSTENCILOPSEPARATEATI glStencilOpSeparateATI;
    14265   #endif
    14266
    14267   #ifndef GLSTENCILFUNCSEPARATEATI_DECL
    14268   #define GLSTENCILFUNCSEPARATEATI_DECL
    14269   csGLSTENCILFUNCSEPARATEATI glStencilFuncSeparateATI;
    14270   #endif
    14271
    14272
    14292   #ifndef GLDELETEOBJECTARB_DECL
    14293   #define GLDELETEOBJECTARB_DECL
    14294   csGLDELETEOBJECTARB glDeleteObjectARB;
    14295   #endif
    14296
    14297   #ifndef GLGETHANDLEARB_DECL
    14298   #define GLGETHANDLEARB_DECL
    14299   csGLGETHANDLEARB glGetHandleARB;
    14300   #endif
    14301
    14302   #ifndef GLDETACHOBJECTARB_DECL
    14303   #define GLDETACHOBJECTARB_DECL
    14304   csGLDETACHOBJECTARB glDetachObjectARB;
    14305   #endif
    14306
    14307   #ifndef GLCREATESHADEROBJECTARB_DECL
    14308   #define GLCREATESHADEROBJECTARB_DECL
    14309   csGLCREATESHADEROBJECTARB glCreateShaderObjectARB;
    14310   #endif
    14311
    14312   #ifndef GLSHADERSOURCEARB_DECL
    14313   #define GLSHADERSOURCEARB_DECL
    14314   csGLSHADERSOURCEARB glShaderSourceARB;
    14315   #endif
    14316
    14317   #ifndef GLCOMPILESHADERARB_DECL
    14318   #define GLCOMPILESHADERARB_DECL
    14319   csGLCOMPILESHADERARB glCompileShaderARB;
    14320   #endif
    14321
    14322   #ifndef GLCREATEPROGRAMOBJECTARB_DECL
    14323   #define GLCREATEPROGRAMOBJECTARB_DECL
    14324   csGLCREATEPROGRAMOBJECTARB glCreateProgramObjectARB;
    14325   #endif
    14326
    14327   #ifndef GLATTACHOBJECTARB_DECL
    14328   #define GLATTACHOBJECTARB_DECL
    14329   csGLATTACHOBJECTARB glAttachObjectARB;
    14330   #endif
    14331
    14332   #ifndef GLLINKPROGRAMARB_DECL
    14333   #define GLLINKPROGRAMARB_DECL
    14334   csGLLINKPROGRAMARB glLinkProgramARB;
    14335   #endif
    14336
    14337   #ifndef GLUSEPROGRAMOBJECTARB_DECL
    14338   #define GLUSEPROGRAMOBJECTARB_DECL
    14339   csGLUSEPROGRAMOBJECTARB glUseProgramObjectARB;
    14340   #endif
    14341
    14342   #ifndef GLVALIDATEPROGRAMARB_DECL
    14343   #define GLVALIDATEPROGRAMARB_DECL
    14344   csGLVALIDATEPROGRAMARB glValidateProgramARB;
    14345   #endif
    14346
    14347   #ifndef GLUNIFORM1FARB_DECL
    14348   #define GLUNIFORM1FARB_DECL
    14349   csGLUNIFORM1FARB glUniform1fARB;
    14350   #endif
    14351
    14352   #ifndef GLUNIFORM2FARB_DECL
    14353   #define GLUNIFORM2FARB_DECL
    14354   csGLUNIFORM2FARB glUniform2fARB;
    14355   #endif
    14356
    14357   #ifndef GLUNIFORM3FARB_DECL
    14358   #define GLUNIFORM3FARB_DECL
    14359   csGLUNIFORM3FARB glUniform3fARB;
    14360   #endif
    14361
    14362   #ifndef GLUNIFORM4FARB_DECL
    14363   #define GLUNIFORM4FARB_DECL
    14364   csGLUNIFORM4FARB glUniform4fARB;
    14365   #endif
    14366
    14367   #ifndef GLUNIFORM1IARB_DECL
    14368   #define GLUNIFORM1IARB_DECL
    14369   csGLUNIFORM1IARB glUniform1iARB;
    14370   #endif
    14371
    14372   #ifndef GLUNIFORM2IARB_DECL
    14373   #define GLUNIFORM2IARB_DECL
    14374   csGLUNIFORM2IARB glUniform2iARB;
    14375   #endif
    14376
    14377   #ifndef GLUNIFORM3IARB_DECL
    14378   #define GLUNIFORM3IARB_DECL
    14379   csGLUNIFORM3IARB glUniform3iARB;
    14380   #endif
    14381
    14382   #ifndef GLUNIFORM4IARB_DECL
    14383   #define GLUNIFORM4IARB_DECL
    14384   csGLUNIFORM4IARB glUniform4iARB;
    14385   #endif
    14386
    14387   #ifndef GLUNIFORM1FVARB_DECL
    14388   #define GLUNIFORM1FVARB_DECL
    14389   csGLUNIFORM1FVARB glUniform1fvARB;
    14390   #endif
    14391
    14392   #ifndef GLUNIFORM2FVARB_DECL
    14393   #define GLUNIFORM2FVARB_DECL
    14394   csGLUNIFORM2FVARB glUniform2fvARB;
    14395   #endif
    14396
    14397   #ifndef GLUNIFORM3FVARB_DECL
    14398   #define GLUNIFORM3FVARB_DECL
    14399   csGLUNIFORM3FVARB glUniform3fvARB;
    14400   #endif
    14401
    14402   #ifndef GLUNIFORM4FVARB_DECL
    14403   #define GLUNIFORM4FVARB_DECL
    14404   csGLUNIFORM4FVARB glUniform4fvARB;
    14405   #endif
    14406
    14407   #ifndef GLUNIFORM1IVARB_DECL
    14408   #define GLUNIFORM1IVARB_DECL
    14409   csGLUNIFORM1IVARB glUniform1ivARB;
    14410   #endif
    14411
    14412   #ifndef GLUNIFORM2IVARB_DECL
    14413   #define GLUNIFORM2IVARB_DECL
    14414   csGLUNIFORM2IVARB glUniform2ivARB;
    14415   #endif
    14416
    14417   #ifndef GLUNIFORM3IVARB_DECL
    14418   #define GLUNIFORM3IVARB_DECL
    14419   csGLUNIFORM3IVARB glUniform3ivARB;
    14420   #endif
    14421
    14422   #ifndef GLUNIFORM4IVARB_DECL
    14423   #define GLUNIFORM4IVARB_DECL
    14424   csGLUNIFORM4IVARB glUniform4ivARB;
    14425   #endif
    14426
    14427   #ifndef GLUNIFORMMATRIX2FVARB_DECL
    14428   #define GLUNIFORMMATRIX2FVARB_DECL
    14429   csGLUNIFORMMATRIX2FVARB glUniformMatrix2fvARB;
    14430   #endif
    14431
    14432   #ifndef GLUNIFORMMATRIX3FVARB_DECL
    14433   #define GLUNIFORMMATRIX3FVARB_DECL
    14434   csGLUNIFORMMATRIX3FVARB glUniformMatrix3fvARB;
    14435   #endif
    14436
    14437   #ifndef GLUNIFORMMATRIX4FVARB_DECL
    14438   #define GLUNIFORMMATRIX4FVARB_DECL
    14439   csGLUNIFORMMATRIX4FVARB glUniformMatrix4fvARB;
    14440   #endif
    14441
    14442   #ifndef GLGETOBJECTPARAMETERFVARB_DECL
    14443   #define GLGETOBJECTPARAMETERFVARB_DECL
    14444   csGLGETOBJECTPARAMETERFVARB glGetObjectParameterfvARB;
    14445   #endif
    14446
    14447   #ifndef GLGETOBJECTPARAMETERIVARB_DECL
    14448   #define GLGETOBJECTPARAMETERIVARB_DECL
    14449   csGLGETOBJECTPARAMETERIVARB glGetObjectParameterivARB;
    14450   #endif
    14451
    14452   #ifndef GLGETINFOLOGARB_DECL
    14453   #define GLGETINFOLOGARB_DECL
    14454   csGLGETINFOLOGARB glGetInfoLogARB;
    14455   #endif
    14456
    14457   #ifndef GLGETATTACHEDOBJECTSARB_DECL
    14458   #define GLGETATTACHEDOBJECTSARB_DECL
    14459   csGLGETATTACHEDOBJECTSARB glGetAttachedObjectsARB;
    14460   #endif
    14461
    14462   #ifndef GLGETUNIFORMLOCATIONARB_DECL
    14463   #define GLGETUNIFORMLOCATIONARB_DECL
    14464   csGLGETUNIFORMLOCATIONARB glGetUniformLocationARB;
    14465   #endif
    14466
    14467   #ifndef GLGETACTIVEUNIFORMARB_DECL
    14468   #define GLGETACTIVEUNIFORMARB_DECL
    14469   csGLGETACTIVEUNIFORMARB glGetActiveUniformARB;
    14470   #endif
    14471
    14472   #ifndef GLGETUNIFORMFVARB_DECL
    14473   #define GLGETUNIFORMFVARB_DECL
    14474   csGLGETUNIFORMFVARB glGetUniformfvARB;
    14475   #endif
    14476
    14477   #ifndef GLGETUNIFORMIVARB_DECL
    14478   #define GLGETUNIFORMIVARB_DECL
    14479   csGLGETUNIFORMIVARB glGetUniformivARB;
    14480   #endif
    14481
    14482   #ifndef GLGETSHADERSOURCEARB_DECL
    14483   #define GLGETSHADERSOURCEARB_DECL
    14484   csGLGETSHADERSOURCEARB glGetShaderSourceARB;
    14485   #endif
    14486
    14487
    14497   #ifndef GLBINDATTRIBLOCATIONARB_DECL
    14498   #define GLBINDATTRIBLOCATIONARB_DECL
    14499   csGLBINDATTRIBLOCATIONARB glBindAttribLocationARB;
    14500   #endif
    14501
    14502   #ifndef GLGETACTIVEATTRIBARB_DECL
    14503   #define GLGETACTIVEATTRIBARB_DECL
    14504   csGLGETACTIVEATTRIBARB glGetActiveAttribARB;
    14505   #endif
    14506
    14507   #ifndef GLGETATTRIBLOCATIONARB_DECL
    14508   #define GLGETATTRIBLOCATIONARB_DECL
    14509   csGLGETATTRIBLOCATIONARB glGetAttribLocationARB;
    14510   #endif
    14511
    14512
    14527   #ifndef GLISRENDERBUFFEREXT_DECL
    14528   #define GLISRENDERBUFFEREXT_DECL
    14529   csGLISRENDERBUFFEREXT glIsRenderbufferEXT;
    14530   #endif
    14531
    14532   #ifndef GLBINDRENDERBUFFEREXT_DECL
    14533   #define GLBINDRENDERBUFFEREXT_DECL
    14534   csGLBINDRENDERBUFFEREXT glBindRenderbufferEXT;
    14535   #endif
    14536
    14537   #ifndef GLDELETERENDERBUFFERSEXT_DECL
    14538   #define GLDELETERENDERBUFFERSEXT_DECL
    14539   csGLDELETERENDERBUFFERSEXT glDeleteRenderbuffersEXT;
    14540   #endif
    14541
    14542   #ifndef GLGENRENDERBUFFERSEXT_DECL
    14543   #define GLGENRENDERBUFFERSEXT_DECL
    14544   csGLGENRENDERBUFFERSEXT glGenRenderbuffersEXT;
    14545   #endif
    14546
    14547   #ifndef GLRENDERBUFFERSTORAGEEXT_DECL
    14548   #define GLRENDERBUFFERSTORAGEEXT_DECL
    14549   csGLRENDERBUFFERSTORAGEEXT glRenderbufferStorageEXT;
    14550   #endif
    14551
    14552   #ifndef GLGETRENDERBUFFERPARAMETERIVEXT_DECL
    14553   #define GLGETRENDERBUFFERPARAMETERIVEXT_DECL
    14554   csGLGETRENDERBUFFERPARAMETERIVEXT glGetRenderbufferParameterivEXT;
    14555   #endif
    14556
    14557   #ifndef GLISFRAMEBUFFEREXT_DECL
    14558   #define GLISFRAMEBUFFEREXT_DECL
    14559   csGLISFRAMEBUFFEREXT glIsFramebufferEXT;
    14560   #endif
    14561
    14562   #ifndef GLBINDFRAMEBUFFEREXT_DECL
    14563   #define GLBINDFRAMEBUFFEREXT_DECL
    14564   csGLBINDFRAMEBUFFEREXT glBindFramebufferEXT;
    14565   #endif
    14566
    14567   #ifndef GLDELETEFRAMEBUFFERSEXT_DECL
    14568   #define GLDELETEFRAMEBUFFERSEXT_DECL
    14569   csGLDELETEFRAMEBUFFERSEXT glDeleteFramebuffersEXT;
    14570   #endif
    14571
    14572   #ifndef GLGENFRAMEBUFFERSEXT_DECL
    14573   #define GLGENFRAMEBUFFERSEXT_DECL
    14574   csGLGENFRAMEBUFFERSEXT glGenFramebuffersEXT;
    14575   #endif
    14576
    14577   #ifndef GLCHECKFRAMEBUFFERSTATUSEXT_DECL
    14578   #define GLCHECKFRAMEBUFFERSTATUSEXT_DECL
    14579   csGLCHECKFRAMEBUFFERSTATUSEXT glCheckFramebufferStatusEXT;
    14580   #endif
    14581
    14582   #ifndef GLFRAMEBUFFERTEXTURE1DEXT_DECL
    14583   #define GLFRAMEBUFFERTEXTURE1DEXT_DECL
    14584   csGLFRAMEBUFFERTEXTURE1DEXT glFramebufferTexture1DEXT;
    14585   #endif
    14586
    14587   #ifndef GLFRAMEBUFFERTEXTURE2DEXT_DECL
    14588   #define GLFRAMEBUFFERTEXTURE2DEXT_DECL
    14589   csGLFRAMEBUFFERTEXTURE2DEXT glFramebufferTexture2DEXT;
    14590   #endif
    14591
    14592   #ifndef GLFRAMEBUFFERTEXTURE3DEXT_DECL
    14593   #define GLFRAMEBUFFERTEXTURE3DEXT_DECL
    14594   csGLFRAMEBUFFERTEXTURE3DEXT glFramebufferTexture3DEXT;
    14595   #endif
    14596
    14597   #ifndef GLFRAMEBUFFERRENDERBUFFEREXT_DECL
    14598   #define GLFRAMEBUFFERRENDERBUFFEREXT_DECL
    14599   csGLFRAMEBUFFERRENDERBUFFEREXT glFramebufferRenderbufferEXT;
    14600   #endif
    14601
    14602   #ifndef GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
    14603   #define GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
    14604   csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT glGetFramebufferAttachmentParameterivEXT;
    14605   #endif
    14606
    14607   #ifndef GLGENERATEMIPMAPEXT_DECL
    14608   #define GLGENERATEMIPMAPEXT_DECL
    14609   csGLGENERATEMIPMAPEXT glGenerateMipmapEXT;
    14610   #endif
    14611
    14612
    14622   #ifndef GLSTRINGMARKERGREMEDY_DECL
    14623   #define GLSTRINGMARKERGREMEDY_DECL
    14624   csGLSTRINGMARKERGREMEDY glStringMarkerGREMEDY;
    14625   #endif
    14626
    14627
    14635 // end of functions
    14636 };
    14637
    14639 struct csGLExtensionFlags
    14640 {
    14641 public:
    14643   bool CS_GL_version_1_2;
    14645   bool CS_GL_version_1_3;
    14648   bool CS_GL_ARB_imaging;
    14651   bool CS_GL_ARB_multitexture;
    14654   bool CS_GL_ARB_transpose_matrix;
    14657   bool CS_GL_ARB_multisample;
    14660   bool CS_GL_ARB_texture_env_add;
    14663   bool CS_WGL_ARB_extensions_string;
    14666   bool CS_WGL_ARB_buffer_region;
    14669   bool CS_GL_ARB_texture_cube_map;
    14672   bool CS_GL_ARB_depth_texture;
    14675   bool CS_GL_ARB_point_parameters;
    14678   bool CS_GL_ARB_shadow;
    14681   bool CS_GL_ARB_shadow_ambient;
    14684   bool CS_GL_ARB_texture_border_clamp;
    14687   bool CS_GL_ARB_texture_compression;
    14690   bool CS_GL_ARB_texture_env_combine;
    14693   bool CS_GL_ARB_texture_env_crossbar;
    14696   bool CS_GL_ARB_texture_env_dot3;
    14699   bool CS_GL_ARB_texture_mirrored_repeat;
    14702   bool CS_GL_ARB_vertex_blend;
    14705   bool CS_GL_ARB_vertex_program;
    14708   bool CS_GL_ARB_window_pos;
    14711   bool CS_GL_EXT_422_pixels;
    14714   bool CS_GL_EXT_abgr;
    14717   bool CS_GL_EXT_bgra;
    14720   bool CS_GL_EXT_blend_color;
    14723   bool CS_GL_EXT_blend_func_separate;
    14726   bool CS_GL_EXT_blend_logic_op;
    14729   bool CS_GL_EXT_blend_minmax;
    14732   bool CS_GL_EXT_blend_subtract;
    14735   bool CS_GL_EXT_clip_volume_hint;
    14738   bool CS_GL_EXT_color_subtable;
    14741   bool CS_GL_EXT_compiled_vertex_array;
    14744   bool CS_GL_EXT_convolution;
    14747   bool CS_GL_EXT_fog_coord;
    14750   bool CS_GL_EXT_histogram;
    14753   bool CS_GL_EXT_multi_draw_arrays;
    14756   bool CS_GL_EXT_packed_pixels;
    14759   bool CS_GL_EXT_paletted_texture;
    14762   bool CS_GL_EXT_point_parameters;
    14765   bool CS_GL_EXT_polygon_offset;
    14768   bool CS_GL_EXT_secondary_color;
    14771   bool CS_GL_EXT_separate_specular_color;
    14774   bool CS_GL_EXT_shadow_funcs;
    14777   bool CS_GL_EXT_shared_texture_palette;
    14780   bool CS_GL_EXT_stencil_two_side;
    14783   bool CS_GL_EXT_stencil_wrap;
    14786   bool CS_GL_EXT_subtexture;
    14789   bool CS_GL_EXT_texture3D;
    14792   bool CS_GL_EXT_texture_compression_s3tc;
    14795   bool CS_GL_EXT_texture_env_add;
    14798   bool CS_GL_EXT_texture_env_combine;
    14801   bool CS_GL_EXT_texture_env_dot3;
    14804   bool CS_GL_EXT_texture_filter_anisotropic;
    14807   bool CS_GL_EXT_texture_lod_bias;
    14810   bool CS_GL_EXT_texture_object;
    14813   bool CS_GL_EXT_vertex_array;
    14816   bool CS_GL_EXT_vertex_shader;
    14819   bool CS_GL_EXT_vertex_weighting;
    14822   bool CS_GL_HP_occlusion_test;
    14825   bool CS_GL_NV_blend_square;
    14828   bool CS_GL_NV_copy_depth_to_color;
    14831   bool CS_GL_NV_depth_clamp;
    14834   bool CS_GL_NV_evaluators;
    14837   bool CS_GL_NV_fence;
    14840   bool CS_GL_NV_fog_distance;
    14843   bool CS_GL_NV_light_max_exponent;
    14846   bool CS_GL_NV_multisample_filter_hint;
    14849   bool CS_GL_NV_occlusion_query;
    14852   bool CS_GL_NV_packed_depth_stencil;
    14855   bool CS_GL_NV_point_sprite;
    14858   bool CS_GL_NV_register_combiners;
    14861   bool CS_GL_NV_register_combiners2;
    14864   bool CS_GL_NV_texgen_emboss;
    14867   bool CS_GL_NV_texgen_reflection;
    14870   bool CS_GL_NV_texture_compression_vtc;
    14873   bool CS_GL_NV_texture_env_combine4;
    14876   bool CS_GL_NV_texture_rectangle;
    14879   bool CS_GL_NV_texture_shader;
    14882   bool CS_GL_NV_texture_shader2;
    14885   bool CS_GL_NV_texture_shader3;
    14888   bool CS_GL_NV_vertex_array_range;
    14891   bool CS_GL_NV_vertex_array_range2;
    14894   bool CS_GL_NV_vertex_program;
    14897   bool CS_GL_NV_vertex_program1_1;
    14900   bool CS_GL_ATI_element_array;
    14903   bool CS_GL_ATI_envmap_bumpmap;
    14906   bool CS_GL_ATI_fragment_shader;
    14909   bool CS_GL_ATI_pn_triangles;
    14912   bool CS_GL_ATI_texture_mirror_once;
    14915   bool CS_GL_ATI_vertex_array_object;
    14918   bool CS_GL_ATI_vertex_attrib_array_object;
    14921   bool CS_GL_ATI_vertex_streams;
    14924   bool CS_WGL_I3D_image_buffer;
    14927   bool CS_WGL_I3D_swap_frame_lock;
    14930   bool CS_WGL_I3D_swap_frame_usage;
    14933   bool CS_GL_3DFX_texture_compression_FXT1;
    14936   bool CS_GL_IBM_cull_vertex;
    14939   bool CS_GL_IBM_multimode_draw_arrays;
    14942   bool CS_GL_IBM_raster_pos_clip;
    14945   bool CS_GL_IBM_texture_mirrored_repeat;
    14948   bool CS_GL_IBM_vertex_array_lists;
    14951   bool CS_GL_MESA_resize_buffers;
    14954   bool CS_GL_MESA_window_pos;
    14957   bool CS_GL_OML_interlace;
    14960   bool CS_GL_OML_resample;
    14963   bool CS_GL_OML_subsample;
    14966   bool CS_GL_SGIS_generate_mipmap;
    14969   bool CS_GL_SGIS_multisample;
    14972   bool CS_GL_SGIS_pixel_texture;
    14975   bool CS_GL_SGIS_texture_border_clamp;
    14978   bool CS_GL_SGIS_texture_color_mask;
    14981   bool CS_GL_SGIS_texture_edge_clamp;
    14984   bool CS_GL_SGIS_texture_lod;
    14987   bool CS_GL_SGIS_depth_texture;
    14990   bool CS_GL_SGIX_fog_offset;
    14993   bool CS_GL_SGIX_interlace;
    14996   bool CS_GL_SGIX_shadow_ambient;
    14999   bool CS_GL_SGI_color_matrix;
    15002   bool CS_GL_SGI_color_table;
    15005   bool CS_GL_SGI_texture_color_table;
    15008   bool CS_GL_SUN_vertex;
    15011   bool CS_GL_ARB_fragment_program;
    15014   bool CS_GL_ATI_text_fragment_shader;
    15017   bool CS_GL_APPLE_client_storage;
    15020   bool CS_GL_APPLE_element_array;
    15023   bool CS_GL_APPLE_fence;
    15026   bool CS_GL_APPLE_vertex_array_object;
    15029   bool CS_GL_APPLE_vertex_array_range;
    15032   bool CS_WGL_ARB_pixel_format;
    15035   bool CS_WGL_ARB_make_current_read;
    15038   bool CS_WGL_ARB_pbuffer;
    15041   bool CS_WGL_EXT_swap_control;
    15044   bool CS_WGL_ARB_render_texture;
    15047   bool CS_WGL_EXT_extensions_string;
    15050   bool CS_WGL_EXT_make_current_read;
    15053   bool CS_WGL_EXT_pbuffer;
    15056   bool CS_WGL_EXT_pixel_format;
    15059   bool CS_WGL_I3D_digital_video_control;
    15062   bool CS_WGL_I3D_gamma;
    15065   bool CS_WGL_I3D_genlock;
    15068   bool CS_GL_ARB_matrix_palette;
    15071   bool CS_GL_NV_element_array;
    15074   bool CS_GL_NV_float_buffer;
    15077   bool CS_GL_NV_fragment_program;
    15080   bool CS_GL_NV_primitive_restart;
    15083   bool CS_GL_NV_vertex_program2;
    15086   bool CS_GL_ARB_vertex_buffer_object;
    15089   bool CS_GL_ATI_separate_stencil;
    15092   bool CS_GL_ARB_texture_non_power_of_two;
    15095   bool CS_GL_ARB_point_sprite;
    15098   bool CS_GL_ARB_shading_language_100;
    15101   bool CS_GL_ARB_shader_objects;
    15104   bool CS_GL_ARB_fragment_shader;
    15107   bool CS_GL_ARB_vertex_shader;
    15110   bool CS_GL_ARB_pixel_buffer_object;
    15113   bool CS_GL_ARB_texture_rectangle;
    15116   bool CS_GL_EXT_framebuffer_object;
    15119   bool CS_GL_EXT_pixel_buffer_object;
    15122   bool CS_GL_GREMEDY_string_marker;
    15125   bool CS_GL_EXT_texture_rectangle;
    15126
    15127 protected:
    15128   bool tested_CS_GL_version_1_2;
    15129   bool tested_CS_GL_version_1_3;
    15130   bool tested_CS_GL_ARB_imaging;
    15131   bool tested_CS_GL_ARB_multitexture;
    15132   bool tested_CS_GL_ARB_transpose_matrix;
    15133   bool tested_CS_GL_ARB_multisample;
    15134   bool tested_CS_GL_ARB_texture_env_add;
    15135   bool tested_CS_WGL_ARB_extensions_string;
    15136   bool tested_CS_WGL_ARB_buffer_region;
    15137   bool tested_CS_GL_ARB_texture_cube_map;
    15138   bool tested_CS_GL_ARB_depth_texture;
    15139   bool tested_CS_GL_ARB_point_parameters;
    15140   bool tested_CS_GL_ARB_shadow;
    15141   bool tested_CS_GL_ARB_shadow_ambient;
    15142   bool tested_CS_GL_ARB_texture_border_clamp;
    15143   bool tested_CS_GL_ARB_texture_compression;
    15144   bool tested_CS_GL_ARB_texture_env_combine;
    15145   bool tested_CS_GL_ARB_texture_env_crossbar;
    15146   bool tested_CS_GL_ARB_texture_env_dot3;
    15147   bool tested_CS_GL_ARB_texture_mirrored_repeat;
    15148   bool tested_CS_GL_ARB_vertex_blend;
    15149   bool tested_CS_GL_ARB_vertex_program;
    15150   bool tested_CS_GL_ARB_window_pos;
    15151   bool tested_CS_GL_EXT_422_pixels;
    15152   bool tested_CS_GL_EXT_abgr;
    15153   bool tested_CS_GL_EXT_bgra;
    15154   bool tested_CS_GL_EXT_blend_color;
    15155   bool tested_CS_GL_EXT_blend_func_separate;
    15156   bool tested_CS_GL_EXT_blend_logic_op;
    15157   bool tested_CS_GL_EXT_blend_minmax;
    15158   bool tested_CS_GL_EXT_blend_subtract;
    15159   bool tested_CS_GL_EXT_clip_volume_hint;
    15160   bool tested_CS_GL_EXT_color_subtable;
    15161   bool tested_CS_GL_EXT_compiled_vertex_array;
    15162   bool tested_CS_GL_EXT_convolution;
    15163   bool tested_CS_GL_EXT_fog_coord;
    15164   bool tested_CS_GL_EXT_histogram;
    15165   bool tested_CS_GL_EXT_multi_draw_arrays;
    15166   bool tested_CS_GL_EXT_packed_pixels;
    15167   bool tested_CS_GL_EXT_paletted_texture;
    15168   bool tested_CS_GL_EXT_point_parameters;
    15169   bool tested_CS_GL_EXT_polygon_offset;
    15170   bool tested_CS_GL_EXT_secondary_color;
    15171   bool tested_CS_GL_EXT_separate_specular_color;
    15172   bool tested_CS_GL_EXT_shadow_funcs;
    15173   bool tested_CS_GL_EXT_shared_texture_palette;
    15174   bool tested_CS_GL_EXT_stencil_two_side;
    15175   bool tested_CS_GL_EXT_stencil_wrap;
    15176   bool tested_CS_GL_EXT_subtexture;
    15177   bool tested_CS_GL_EXT_texture3D;
    15178   bool tested_CS_GL_EXT_texture_compression_s3tc;
    15179   bool tested_CS_GL_EXT_texture_env_add;
    15180   bool tested_CS_GL_EXT_texture_env_combine;
    15181   bool tested_CS_GL_EXT_texture_env_dot3;
    15182   bool tested_CS_GL_EXT_texture_filter_anisotropic;
    15183   bool tested_CS_GL_EXT_texture_lod_bias;
    15184   bool tested_CS_GL_EXT_texture_object;
    15185   bool tested_CS_GL_EXT_vertex_array;
    15186   bool tested_CS_GL_EXT_vertex_shader;
    15187   bool tested_CS_GL_EXT_vertex_weighting;
    15188   bool tested_CS_GL_HP_occlusion_test;
    15189   bool tested_CS_GL_NV_blend_square;
    15190   bool tested_CS_GL_NV_copy_depth_to_color;
    15191   bool tested_CS_GL_NV_depth_clamp;
    15192   bool tested_CS_GL_NV_evaluators;
    15193   bool tested_CS_GL_NV_fence;
    15194   bool tested_CS_GL_NV_fog_distance;
    15195   bool tested_CS_GL_NV_light_max_exponent;
    15196   bool tested_CS_GL_NV_multisample_filter_hint;
    15197   bool tested_CS_GL_NV_occlusion_query;
    15198   bool tested_CS_GL_NV_packed_depth_stencil;
    15199   bool tested_CS_GL_NV_point_sprite;
    15200   bool tested_CS_GL_NV_register_combiners;
    15201   bool tested_CS_GL_NV_register_combiners2;
    15202   bool tested_CS_GL_NV_texgen_emboss;
    15203   bool tested_CS_GL_NV_texgen_reflection;
    15204   bool tested_CS_GL_NV_texture_compression_vtc;
    15205   bool tested_CS_GL_NV_texture_env_combine4;
    15206   bool tested_CS_GL_NV_texture_rectangle;
    15207   bool tested_CS_GL_NV_texture_shader;
    15208   bool tested_CS_GL_NV_texture_shader2;
    15209   bool tested_CS_GL_NV_texture_shader3;
    15210   bool tested_CS_GL_NV_vertex_array_range;
    15211   bool tested_CS_GL_NV_vertex_array_range2;
    15212   bool tested_CS_GL_NV_vertex_program;
    15213   bool tested_CS_GL_NV_vertex_program1_1;
    15214   bool tested_CS_GL_ATI_element_array;
    15215   bool tested_CS_GL_ATI_envmap_bumpmap;
    15216   bool tested_CS_GL_ATI_fragment_shader;
    15217   bool tested_CS_GL_ATI_pn_triangles;
    15218   bool tested_CS_GL_ATI_texture_mirror_once;
    15219   bool tested_CS_GL_ATI_vertex_array_object;
    15220   bool tested_CS_GL_ATI_vertex_attrib_array_object;
    15221   bool tested_CS_GL_ATI_vertex_streams;
    15222   bool tested_CS_WGL_I3D_image_buffer;
    15223   bool tested_CS_WGL_I3D_swap_frame_lock;
    15224   bool tested_CS_WGL_I3D_swap_frame_usage;
    15225   bool tested_CS_GL_3DFX_texture_compression_FXT1;
    15226   bool tested_CS_GL_IBM_cull_vertex;
    15227   bool tested_CS_GL_IBM_multimode_draw_arrays;
    15228   bool tested_CS_GL_IBM_raster_pos_clip;
    15229   bool tested_CS_GL_IBM_texture_mirrored_repeat;
    15230   bool tested_CS_GL_IBM_vertex_array_lists;
    15231   bool tested_CS_GL_MESA_resize_buffers;
    15232   bool tested_CS_GL_MESA_window_pos;
    15233   bool tested_CS_GL_OML_interlace;
    15234   bool tested_CS_GL_OML_resample;
    15235   bool tested_CS_GL_OML_subsample;
    15236   bool tested_CS_GL_SGIS_generate_mipmap;
    15237   bool tested_CS_GL_SGIS_multisample;
    15238   bool tested_CS_GL_SGIS_pixel_texture;
    15239   bool tested_CS_GL_SGIS_texture_border_clamp;
    15240   bool tested_CS_GL_SGIS_texture_color_mask;
    15241   bool tested_CS_GL_SGIS_texture_edge_clamp;
    15242   bool tested_CS_GL_SGIS_texture_lod;
    15243   bool tested_CS_GL_SGIS_depth_texture;
    15244   bool tested_CS_GL_SGIX_fog_offset;
    15245   bool tested_CS_GL_SGIX_interlace;
    15246   bool tested_CS_GL_SGIX_shadow_ambient;
    15247   bool tested_CS_GL_SGI_color_matrix;
    15248   bool tested_CS_GL_SGI_color_table;
    15249   bool tested_CS_GL_SGI_texture_color_table;
    15250   bool tested_CS_GL_SUN_vertex;
    15251   bool tested_CS_GL_ARB_fragment_program;
    15252   bool tested_CS_GL_ATI_text_fragment_shader;
    15253   bool tested_CS_GL_APPLE_client_storage;
    15254   bool tested_CS_GL_APPLE_element_array;
    15255   bool tested_CS_GL_APPLE_fence;
    15256   bool tested_CS_GL_APPLE_vertex_array_object;
    15257   bool tested_CS_GL_APPLE_vertex_array_range;
    15258   bool tested_CS_WGL_ARB_pixel_format;
    15259   bool tested_CS_WGL_ARB_make_current_read;
    15260   bool tested_CS_WGL_ARB_pbuffer;
    15261   bool tested_CS_WGL_EXT_swap_control;
    15262   bool tested_CS_WGL_ARB_render_texture;
    15263   bool tested_CS_WGL_EXT_extensions_string;
    15264   bool tested_CS_WGL_EXT_make_current_read;
    15265   bool tested_CS_WGL_EXT_pbuffer;
    15266   bool tested_CS_WGL_EXT_pixel_format;
    15267   bool tested_CS_WGL_I3D_digital_video_control;
    15268   bool tested_CS_WGL_I3D_gamma;
    15269   bool tested_CS_WGL_I3D_genlock;
    15270   bool tested_CS_GL_ARB_matrix_palette;
    15271   bool tested_CS_GL_NV_element_array;
    15272   bool tested_CS_GL_NV_float_buffer;
    15273   bool tested_CS_GL_NV_fragment_program;
    15274   bool tested_CS_GL_NV_primitive_restart;
    15275   bool tested_CS_GL_NV_vertex_program2;
    15276   bool tested_CS_GL_ARB_vertex_buffer_object;
    15277   bool tested_CS_GL_ATI_separate_stencil;
    15278   bool tested_CS_GL_ARB_texture_non_power_of_two;
    15279   bool tested_CS_GL_ARB_point_sprite;
    15280   bool tested_CS_GL_ARB_shading_language_100;
    15281   bool tested_CS_GL_ARB_shader_objects;
    15282   bool tested_CS_GL_ARB_fragment_shader;
    15283   bool tested_CS_GL_ARB_vertex_shader;
    15284   bool tested_CS_GL_ARB_pixel_buffer_object;
    15285   bool tested_CS_GL_ARB_texture_rectangle;
    15286   bool tested_CS_GL_EXT_framebuffer_object;
    15287   bool tested_CS_GL_EXT_pixel_buffer_object;
    15288   bool tested_CS_GL_GREMEDY_string_marker;
    15289   bool tested_CS_GL_EXT_texture_rectangle;
    15290
    15291 };
    15292
    15297 struct csGLExtensionManager : public csGLExtensionFunctions,
    15298                               public csGLExtensionFlags
    15299 {
    15300 private:
    15301   iObjectRegistry* object_reg;
    15302   csConfigAccess config;
    15303   iOpenGLInterface* gl;
    15304
    15305   const char* extstrGL;
    15306   const char* msgExtRetrieveFail;
    15307   const char* msgExtFoundAndUsed;
    15308   const char* msgExtFoundAndNotUsed;
    15309   const char* msgExtInitFail;
    15310   const char* msgExtNotFound;
    15311   const char* msgDependencyNotFound;
    15312 #ifdef __WIN32__
    15313   const char* extstrWGL;
    15314
    15315   void SetupWGLextStr (HDC hDC)
    15316   {
    15317     if (extstrWGL != 0) return;
    15318
    15319     if (!tested_CS_WGL_ARB_extensions_string) InitWGL_ARB_extensions_string (hDC);
    15320     if (CS_WGL_ARB_extensions_string)
    15321     {
    15322       extstrWGL = wglGetExtensionsStringARB (hDC);
    15323     }
    15324     else
    15325     {
    15326       extstrWGL = extstrGL;
    15327     }
    15328   }
    15329 #endif
    15330
    15331   void Report (const char* msg, ...)
    15332   {
    15333     csRef<iVerbosityManager> verbosemgr (
    15334       CS_QUERY_REGISTRY (object_reg, iVerbosityManager));
    15335
    15336     if (!verbosemgr->Enabled ("renderer"))
    15337       return;
    15338
    15339     va_list arg;
    15340     va_start (arg, msg);
    15341     csRef<iReporter> rep (CS_QUERY_REGISTRY (object_reg, iReporter));
    15342     if (rep)
    15343       rep->ReportV (CS_REPORTER_SEVERITY_NOTIFY,
    15344          "crystalspace.canvas.opengl.extmgr", msg, arg);
    15345     else
    15346     {
    15347       csPrintfV (msg, arg);
    15348       csPrintf ("\n");
    15349     }
    15350     va_end (arg);
    15351   }
    15352
    15353 public:
    15354   void Initialize (iObjectRegistry* object_reg, iGraphics2D* g2d)
    15355   {
    15356     csGLExtensionManager::object_reg = object_reg;
    15357     gl = csRef<iOpenGLInterface>
    15358       (SCF_QUERY_INTERFACE (g2d, iOpenGLInterface));
    15359     // Low priority so canvas/renderer cfgs may override the settings
    15360     config.AddConfig (object_reg, "/config/glext.cfg", true,
    15361       iConfigManager::ConfigPriorityPlugin - 1);
    15362   }
    15363
    15364   void Open ()
    15365   {
    15366     extstrGL = (const char*)glGetString (GL_EXTENSIONS);
    15367   }
    15368
    15369   void Close () { }
    15370 public:
    15371   void Reset ()
    15372   {
    15373     extstrGL = 0;
    15374 #ifdef __WIN32__
    15375     extstrWGL = 0;
    15376 #endif
    15377
    15378     memset ((csGLExtensionFunctions*)this, 0,
    15379       sizeof (csGLExtensionFunctions));
    15380     memset ((csGLExtensionFlags*)this, 0, sizeof (csGLExtensionFlags));
    15381   }
    15382
    15383   csGLExtensionManager () : object_reg (0), gl (0)
    15384   {
    15385     msgExtRetrieveFail = "Failed to retrieve %s";
    15386     msgExtFoundAndUsed = "%s Extension '%s' found and used.";
    15387     msgExtFoundAndNotUsed = "%s Extension '%s' found, but not used.";
    15388     msgExtInitFail = "%s Extension '%s' failed to initialize.";
    15389     msgExtNotFound = "%s Extension '%s' not found.";
    15390     msgDependencyNotFound = "%s Extension '%s' depends on '%s' which did "
    15391       "not initialize.";
    15392
    15393     Reset ();
    15394   }
    15395
    15397   void InitGL_version_1_2 ()
    15398   {
    15399     if (tested_CS_GL_version_1_2) return;
    15400     if (!extstrGL) return;
    15401     tested_CS_GL_version_1_2 = true;
    15402     const char* ext = "GL_version_1_2";
    15403
    15404     char cfgkey[26 + 14 + 1];
    15405     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15406
    15407     CS_GL_version_1_2 = true;
    15408
    15409     bool allclear, funcTest;
    15410     (void)funcTest; // shut up "variable unused" warnings
    15411     bool init = CS_GL_version_1_2;
    15412     allclear = true;
    15413     if (init)   // Don't check the functions if ext isn't reported anyway
    15414     {
    15415       EXTMGR_FUNC_INIT(glDrawRangeElements, GLDRAWRANGEELEMENTS);
    15416       EXTMGR_FUNC_INIT(glTexImage3D, GLTEXIMAGE3D);
    15417       EXTMGR_FUNC_INIT(glTexSubImage3D, GLTEXSUBIMAGE3D);
    15418       EXTMGR_FUNC_INIT(glCopyTexSubImage3D, GLCOPYTEXSUBIMAGE3D);
    15419
    15420       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_2)
    15421     }
    15422     else
    15423     {
    15424       Report (msgExtNotFound, "GL", ext);
    15425     }
    15426   }
    15427
    15429   void InitGL_version_1_3 ()
    15430   {
    15431     if (tested_CS_GL_version_1_3) return;
    15432     if (!extstrGL) return;
    15433     tested_CS_GL_version_1_3 = true;
    15434     const char* ext = "GL_version_1_3";
    15435
    15436     char cfgkey[26 + 14 + 1];
    15437     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15438
    15439     CS_GL_version_1_3 = true;
    15440
    15441     bool allclear, funcTest;
    15442     (void)funcTest; // shut up "variable unused" warnings
    15443     bool init = CS_GL_version_1_3;
    15444     allclear = true;
    15445     if (init)   // Don't check the functions if ext isn't reported anyway
    15446     {
    15447       EXTMGR_FUNC_INIT(glActiveTexture, GLACTIVETEXTURE);
    15448       EXTMGR_FUNC_INIT(glClientActiveTexture, GLCLIENTACTIVETEXTURE);
    15449       EXTMGR_FUNC_INIT(glMultiTexCoord1d, GLMULTITEXCOORD1D);
    15450       EXTMGR_FUNC_INIT(glMultiTexCoord1dv, GLMULTITEXCOORD1DV);
    15451       EXTMGR_FUNC_INIT(glMultiTexCoord1f, GLMULTITEXCOORD1F);
    15452       EXTMGR_FUNC_INIT(glMultiTexCoord1fv, GLMULTITEXCOORD1FV);
    15453       EXTMGR_FUNC_INIT(glMultiTexCoord1i, GLMULTITEXCOORD1I);
    15454       EXTMGR_FUNC_INIT(glMultiTexCoord1iv, GLMULTITEXCOORD1IV);
    15455       EXTMGR_FUNC_INIT(glMultiTexCoord1s, GLMULTITEXCOORD1S);
    15456       EXTMGR_FUNC_INIT(glMultiTexCoord1sv, GLMULTITEXCOORD1SV);
    15457       EXTMGR_FUNC_INIT(glMultiTexCoord2d, GLMULTITEXCOORD2D);
    15458       EXTMGR_FUNC_INIT(glMultiTexCoord2dv, GLMULTITEXCOORD2DV);
    15459       EXTMGR_FUNC_INIT(glMultiTexCoord2f, GLMULTITEXCOORD2F);
    15460       EXTMGR_FUNC_INIT(glMultiTexCoord2fv, GLMULTITEXCOORD2FV);
    15461       EXTMGR_FUNC_INIT(glMultiTexCoord2i, GLMULTITEXCOORD2I);
    15462       EXTMGR_FUNC_INIT(glMultiTexCoord2iv, GLMULTITEXCOORD2IV);
    15463       EXTMGR_FUNC_INIT(glMultiTexCoord2s, GLMULTITEXCOORD2S);
    15464       EXTMGR_FUNC_INIT(glMultiTexCoord2sv, GLMULTITEXCOORD2SV);
    15465       EXTMGR_FUNC_INIT(glMultiTexCoord3d, GLMULTITEXCOORD3D);
    15466       EXTMGR_FUNC_INIT(glMultiTexCoord3dv, GLMULTITEXCOORD3DV);
    15467       EXTMGR_FUNC_INIT(glMultiTexCoord3f, GLMULTITEXCOORD3F);
    15468       EXTMGR_FUNC_INIT(glMultiTexCoord3fv, GLMULTITEXCOORD3FV);
    15469       EXTMGR_FUNC_INIT(glMultiTexCoord3i, GLMULTITEXCOORD3I);
    15470       EXTMGR_FUNC_INIT(glMultiTexCoord3iv, GLMULTITEXCOORD3IV);
    15471       EXTMGR_FUNC_INIT(glMultiTexCoord3s, GLMULTITEXCOORD3S);
    15472       EXTMGR_FUNC_INIT(glMultiTexCoord3sv, GLMULTITEXCOORD3SV);
    15473       EXTMGR_FUNC_INIT(glMultiTexCoord4d, GLMULTITEXCOORD4D);
    15474       EXTMGR_FUNC_INIT(glMultiTexCoord4dv, GLMULTITEXCOORD4DV);
    15475       EXTMGR_FUNC_INIT(glMultiTexCoord4f, GLMULTITEXCOORD4F);
    15476       EXTMGR_FUNC_INIT(glMultiTexCoord4fv, GLMULTITEXCOORD4FV);
    15477       EXTMGR_FUNC_INIT(glMultiTexCoord4i, GLMULTITEXCOORD4I);
    15478       EXTMGR_FUNC_INIT(glMultiTexCoord4iv, GLMULTITEXCOORD4IV);
    15479       EXTMGR_FUNC_INIT(glMultiTexCoord4s, GLMULTITEXCOORD4S);
    15480       EXTMGR_FUNC_INIT(glMultiTexCoord4sv, GLMULTITEXCOORD4SV);
    15481       EXTMGR_FUNC_INIT(glLoadTransposeMatrixf, GLLOADTRANSPOSEMATRIXF);
    15482       EXTMGR_FUNC_INIT(glLoadTransposeMatrixd, GLLOADTRANSPOSEMATRIXD);
    15483       EXTMGR_FUNC_INIT(glMultTransposeMatrixf, GLMULTTRANSPOSEMATRIXF);
    15484       EXTMGR_FUNC_INIT(glMultTransposeMatrixd, GLMULTTRANSPOSEMATRIXD);
    15485       EXTMGR_FUNC_INIT(glSampleCoverage, GLSAMPLECOVERAGE);
    15486       EXTMGR_FUNC_INIT(glCompressedTexImage3D, GLCOMPRESSEDTEXIMAGE3D);
    15487       EXTMGR_FUNC_INIT(glCompressedTexImage2D, GLCOMPRESSEDTEXIMAGE2D);
    15488       EXTMGR_FUNC_INIT(glCompressedTexImage1D, GLCOMPRESSEDTEXIMAGE1D);
    15489       EXTMGR_FUNC_INIT(glCompressedTexSubImage3D, GLCOMPRESSEDTEXSUBIMAGE3D);
    15490       EXTMGR_FUNC_INIT(glCompressedTexSubImage2D, GLCOMPRESSEDTEXSUBIMAGE2D);
    15491       EXTMGR_FUNC_INIT(glCompressedTexSubImage1D, GLCOMPRESSEDTEXSUBIMAGE1D);
    15492       EXTMGR_FUNC_INIT(glGetCompressedTexImage, GLGETCOMPRESSEDTEXIMAGE);
    15493
    15494       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_3)
    15495     }
    15496     else
    15497     {
    15498       Report (msgExtNotFound, "GL", ext);
    15499     }
    15500   }
    15501
    15504   void InitGL_ARB_imaging ()
    15505   {
    15506     if (tested_CS_GL_ARB_imaging) return;
    15507     if (!extstrGL) return;
    15508     tested_CS_GL_ARB_imaging = true;
    15509     const char* ext = "GL_ARB_imaging";
    15510
    15511     char cfgkey[26 + 14 + 1];
    15512     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15513
    15514     CS_GL_ARB_imaging = (strstr (extstrGL, ext) != 0);
    15515
    15516     bool allclear, funcTest;
    15517     (void)funcTest; // shut up "variable unused" warnings
    15518     bool init = CS_GL_ARB_imaging;
    15519     allclear = true;
    15520     if (init)   // Don't check the functions if ext isn't reported anyway
    15521     {
    15522       EXTMGR_FUNC_INIT(glColorTable, GLCOLORTABLE);
    15523       EXTMGR_FUNC_INIT(glColorTableParameterfv, GLCOLORTABLEPARAMETERFV);
    15524       EXTMGR_FUNC_INIT(glColorTableParameteriv, GLCOLORTABLEPARAMETERIV);
    15525       EXTMGR_FUNC_INIT(glCopyColorTable, GLCOPYCOLORTABLE);
    15526       EXTMGR_FUNC_INIT(glGetColorTable, GLGETCOLORTABLE);
    15527       EXTMGR_FUNC_INIT(glGetColorTableParameterfv, GLGETCOLORTABLEPARAMETERFV);
    15528       EXTMGR_FUNC_INIT(glGetColorTableParameteriv, GLGETCOLORTABLEPARAMETERIV);
    15529       EXTMGR_FUNC_INIT(glColorSubTable, GLCOLORSUBTABLE);
    15530       EXTMGR_FUNC_INIT(glCopyColorSubTable, GLCOPYCOLORSUBTABLE);
    15531       EXTMGR_FUNC_INIT(glConvolutionFilter1D, GLCONVOLUTIONFILTER1D);
    15532       EXTMGR_FUNC_INIT(glConvolutionFilter2D, GLCONVOLUTIONFILTER2D);
    15533       EXTMGR_FUNC_INIT(glConvolutionParameterf, GLCONVOLUTIONPARAMETERF);
    15534       EXTMGR_FUNC_INIT(glConvolutionParameterfv, GLCONVOLUTIONPARAMETERFV);
    15535       EXTMGR_FUNC_INIT(glConvolutionParameteri, GLCONVOLUTIONPARAMETERI);
    15536       EXTMGR_FUNC_INIT(glConvolutionParameteriv, GLCONVOLUTIONPARAMETERIV);
    15537       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1D, GLCOPYCONVOLUTIONFILTER1D);
    15538       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2D, GLCOPYCONVOLUTIONFILTER2D);
    15539       EXTMGR_FUNC_INIT(glGetConvolutionFilter, GLGETCONVOLUTIONFILTER);
    15540       EXTMGR_FUNC_INIT(glGetConvolutionParameterfv, GLGETCONVOLUTIONPARAMETERFV);
    15541       EXTMGR_FUNC_INIT(glGetConvolutionParameteriv, GLGETCONVOLUTIONPARAMETERIV);
    15542       EXTMGR_FUNC_INIT(glGetSeparableFilter, GLGETSEPARABLEFILTER);
    15543       EXTMGR_FUNC_INIT(glSeparableFilter2D, GLSEPARABLEFILTER2D);
    15544       EXTMGR_FUNC_INIT(glGetHistogram, GLGETHISTOGRAM);
    15545       EXTMGR_FUNC_INIT(glGetHistogramParameterfv, GLGETHISTOGRAMPARAMETERFV);
    15546       EXTMGR_FUNC_INIT(glGetHistogramParameteriv, GLGETHISTOGRAMPARAMETERIV);
    15547       EXTMGR_FUNC_INIT(glGetMinmax, GLGETMINMAX);
    15548       EXTMGR_FUNC_INIT(glGetMinmaxParameterfv, GLGETMINMAXPARAMETERFV);
    15549       EXTMGR_FUNC_INIT(glGetMinmaxParameteriv, GLGETMINMAXPARAMETERIV);
    15550       EXTMGR_FUNC_INIT(glHistogram, GLHISTOGRAM);
    15551       EXTMGR_FUNC_INIT(glMinmax, GLMINMAX);
    15552       EXTMGR_FUNC_INIT(glResetHistogram, GLRESETHISTOGRAM);
    15553       EXTMGR_FUNC_INIT(glResetMinmax, GLRESETMINMAX);
    15554       EXTMGR_FUNC_INIT(glBlendColor, GLBLENDCOLOR);
    15555       EXTMGR_FUNC_INIT(glBlendEquation, GLBLENDEQUATION);
    15556
    15557       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_imaging)
    15558     }
    15559     else
    15560     {
    15561       Report (msgExtNotFound, "GL", ext);
    15562     }
    15563   }
    15564
    15567   void InitGL_ARB_multitexture ()
    15568   {
    15569     if (tested_CS_GL_ARB_multitexture) return;
    15570     if (!extstrGL) return;
    15571     tested_CS_GL_ARB_multitexture = true;
    15572     const char* ext = "GL_ARB_multitexture";
    15573
    15574     char cfgkey[26 + 19 + 1];
    15575     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15576
    15577     CS_GL_ARB_multitexture = (strstr (extstrGL, ext) != 0);
    15578
    15579     bool allclear, funcTest;
    15580     (void)funcTest; // shut up "variable unused" warnings
    15581     bool init = CS_GL_ARB_multitexture;
    15582     allclear = true;
    15583     if (init)   // Don't check the functions if ext isn't reported anyway
    15584     {
    15585       EXTMGR_FUNC_INIT(glActiveTextureARB, GLACTIVETEXTUREARB);
    15586       EXTMGR_FUNC_INIT(glClientActiveTextureARB, GLCLIENTACTIVETEXTUREARB);
    15587       EXTMGR_FUNC_INIT(glMultiTexCoord1dARB, GLMULTITEXCOORD1DARB);
    15588       EXTMGR_FUNC_INIT(glMultiTexCoord1dvARB, GLMULTITEXCOORD1DVARB);
    15589       EXTMGR_FUNC_INIT(glMultiTexCoord1fARB, GLMULTITEXCOORD1FARB);
    15590       EXTMGR_FUNC_INIT(glMultiTexCoord1fvARB, GLMULTITEXCOORD1FVARB);
    15591       EXTMGR_FUNC_INIT(glMultiTexCoord1iARB, GLMULTITEXCOORD1IARB);
    15592       EXTMGR_FUNC_INIT(glMultiTexCoord1ivARB, GLMULTITEXCOORD1IVARB);
    15593       EXTMGR_FUNC_INIT(glMultiTexCoord1sARB, GLMULTITEXCOORD1SARB);
    15594       EXTMGR_FUNC_INIT(glMultiTexCoord1svARB, GLMULTITEXCOORD1SVARB);
    15595       EXTMGR_FUNC_INIT(glMultiTexCoord2dARB, GLMULTITEXCOORD2DARB);
    15596       EXTMGR_FUNC_INIT(glMultiTexCoord2dvARB, GLMULTITEXCOORD2DVARB);
    15597       EXTMGR_FUNC_INIT(glMultiTexCoord2fARB, GLMULTITEXCOORD2FARB);
    15598       EXTMGR_FUNC_INIT(glMultiTexCoord2fvARB, GLMULTITEXCOORD2FVARB);
    15599       EXTMGR_FUNC_INIT(glMultiTexCoord2iARB, GLMULTITEXCOORD2IARB);
    15600       EXTMGR_FUNC_INIT(glMultiTexCoord2ivARB, GLMULTITEXCOORD2IVARB);
    15601       EXTMGR_FUNC_INIT(glMultiTexCoord2sARB, GLMULTITEXCOORD2SARB);
    15602       EXTMGR_FUNC_INIT(glMultiTexCoord2svARB, GLMULTITEXCOORD2SVARB);
    15603       EXTMGR_FUNC_INIT(glMultiTexCoord3dARB, GLMULTITEXCOORD3DARB);
    15604       EXTMGR_FUNC_INIT(glMultiTexCoord3dvARB, GLMULTITEXCOORD3DVARB);
    15605       EXTMGR_FUNC_INIT(glMultiTexCoord3fARB, GLMULTITEXCOORD3FARB);
    15606       EXTMGR_FUNC_INIT(glMultiTexCoord3fvARB, GLMULTITEXCOORD3FVARB);
    15607       EXTMGR_FUNC_INIT(glMultiTexCoord3iARB, GLMULTITEXCOORD3IARB);
    15608       EXTMGR_FUNC_INIT(glMultiTexCoord3ivARB, GLMULTITEXCOORD3IVARB);
    15609       EXTMGR_FUNC_INIT(glMultiTexCoord3sARB, GLMULTITEXCOORD3SARB);
    15610       EXTMGR_FUNC_INIT(glMultiTexCoord3svARB, GLMULTITEXCOORD3SVARB);
    15611       EXTMGR_FUNC_INIT(glMultiTexCoord4dARB, GLMULTITEXCOORD4DARB);
    15612       EXTMGR_FUNC_INIT(glMultiTexCoord4dvARB, GLMULTITEXCOORD4DVARB);
    15613       EXTMGR_FUNC_INIT(glMultiTexCoord4fARB, GLMULTITEXCOORD4FARB);
    15614       EXTMGR_FUNC_INIT(glMultiTexCoord4fvARB, GLMULTITEXCOORD4FVARB);
    15615       EXTMGR_FUNC_INIT(glMultiTexCoord4iARB, GLMULTITEXCOORD4IARB);
    15616       EXTMGR_FUNC_INIT(glMultiTexCoord4ivARB, GLMULTITEXCOORD4IVARB);
    15617       EXTMGR_FUNC_INIT(glMultiTexCoord4sARB, GLMULTITEXCOORD4SARB);
    15618       EXTMGR_FUNC_INIT(glMultiTexCoord4svARB, GLMULTITEXCOORD4SVARB);
    15619
    15620       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multitexture)
    15621     }
    15622     else
    15623     {
    15624       Report (msgExtNotFound, "GL", ext);
    15625     }
    15626   }
    15627
    15630   void InitGL_ARB_transpose_matrix ()
    15631   {
    15632     if (tested_CS_GL_ARB_transpose_matrix) return;
    15633     if (!extstrGL) return;
    15634     tested_CS_GL_ARB_transpose_matrix = true;
    15635     const char* ext = "GL_ARB_transpose_matrix";
    15636
    15637     char cfgkey[26 + 23 + 1];
    15638     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15639
    15640     CS_GL_ARB_transpose_matrix = (strstr (extstrGL, ext) != 0);
    15641
    15642     bool allclear, funcTest;
    15643     (void)funcTest; // shut up "variable unused" warnings
    15644     bool init = CS_GL_ARB_transpose_matrix;
    15645     allclear = true;
    15646     if (init)   // Don't check the functions if ext isn't reported anyway
    15647     {
    15648       EXTMGR_FUNC_INIT(glLoadTransposeMatrixfARB, GLLOADTRANSPOSEMATRIXFARB);
    15649       EXTMGR_FUNC_INIT(glLoadTransposeMatrixdARB, GLLOADTRANSPOSEMATRIXDARB);
    15650       EXTMGR_FUNC_INIT(glMultTransposeMatrixfARB, GLMULTTRANSPOSEMATRIXFARB);
    15651       EXTMGR_FUNC_INIT(glMultTransposeMatrixdARB, GLMULTTRANSPOSEMATRIXDARB);
    15652
    15653       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_transpose_matrix)
    15654     }
    15655     else
    15656     {
    15657       Report (msgExtNotFound, "GL", ext);
    15658     }
    15659   }
    15660
    15663   void InitGL_ARB_multisample ()
    15664   {
    15665     if (tested_CS_GL_ARB_multisample) return;
    15666     if (!extstrGL) return;
    15667     tested_CS_GL_ARB_multisample = true;
    15668     const char* ext = "GL_ARB_multisample";
    15669
    15670     char cfgkey[26 + 18 + 1];
    15671     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15672
    15673     CS_GL_ARB_multisample = (strstr (extstrGL, ext) != 0);
    15674
    15675     bool allclear, funcTest;
    15676     (void)funcTest; // shut up "variable unused" warnings
    15677     bool init = CS_GL_ARB_multisample;
    15678     allclear = true;
    15679     if (init)   // Don't check the functions if ext isn't reported anyway
    15680     {
    15681       EXTMGR_FUNC_INIT(glSampleCoverageARB, GLSAMPLECOVERAGEARB);
    15682
    15683       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multisample)
    15684     }
    15685     else
    15686     {
    15687       Report (msgExtNotFound, "GL", ext);
    15688     }
    15689   }
    15690
    15693   void InitGL_ARB_texture_env_add ()
    15694   {
    15695     if (tested_CS_GL_ARB_texture_env_add) return;
    15696     if (!extstrGL) return;
    15697     tested_CS_GL_ARB_texture_env_add = true;
    15698     const char* ext = "GL_ARB_texture_env_add";
    15699
    15700     char cfgkey[26 + 22 + 1];
    15701     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15702
    15703     CS_GL_ARB_texture_env_add = (strstr (extstrGL, ext) != 0);
    15704
    15705     bool allclear, funcTest;
    15706     (void)funcTest; // shut up "variable unused" warnings
    15707     bool init = CS_GL_ARB_texture_env_add;
    15708     allclear = true;
    15709     if (init)   // Don't check the functions if ext isn't reported anyway
    15710     {
    15711
    15712       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_add)
    15713     }
    15714     else
    15715     {
    15716       Report (msgExtNotFound, "GL", ext);
    15717     }
    15718   }
    15719
    15720 #ifdef _WIN32
    15721
    15723   void InitWGL_ARB_extensions_string (HDC hDC)
    15724   {
    15725     if (tested_CS_WGL_ARB_extensions_string) return;
    15726     tested_CS_WGL_ARB_extensions_string = true;
    15727     const char* ext = "WGL_ARB_extensions_string";
    15728     char cfgkey[26 + 25 + 1];
    15729     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15730
    15731     (void)hDC;      // avoid `unused variable' warning.
    15732     CS_WGL_ARB_extensions_string = true;
    15733
    15734     bool allclear, funcTest;
    15735     (void)funcTest; // avoid `unused variable' warning.
    15736     bool init = CS_WGL_ARB_extensions_string;
    15737     allclear = true;
    15738     if (init)
    15739     {
    15740       EXTMGR_FUNC_INIT(wglGetExtensionsStringARB, WGLGETEXTENSIONSSTRINGARB);
    15741
    15742       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_extensions_string)
    15743       CS_WGL_ARB_extensions_string &= allclear;
    15744     }
    15745     else
    15746     {
    15747       Report (msgExtNotFound, "WGL", ext);
    15748     }
    15749   }
    15750 #endif
    15751
    15752 #ifdef _WIN32
    15753
    15755   void InitWGL_ARB_buffer_region (HDC hDC)
    15756   {
    15757     if (tested_CS_WGL_ARB_buffer_region) return;
    15758     tested_CS_WGL_ARB_buffer_region = true;
    15759     const char* ext = "WGL_ARB_buffer_region";
    15760     char cfgkey[26 + 21 + 1];
    15761     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15762
    15763     (void)hDC;      // avoid `unused variable' warning.
    15764     SetupWGLextStr (hDC);
    15765     if (!extstrWGL) return;
    15766     CS_WGL_ARB_buffer_region = (strstr (extstrWGL, ext) != 0);
    15767
    15768     bool allclear, funcTest;
    15769     (void)funcTest; // avoid `unused variable' warning.
    15770     bool init = CS_WGL_ARB_buffer_region;
    15771     allclear = true;
    15772     if (init)
    15773     {
    15774       EXTMGR_FUNC_INIT(wglCreateBufferRegionARB, WGLCREATEBUFFERREGIONARB);
    15775       EXTMGR_FUNC_INIT(wglDeleteBufferRegionARB, WGLDELETEBUFFERREGIONARB);
    15776       EXTMGR_FUNC_INIT(wglSaveBufferRegionARB, WGLSAVEBUFFERREGIONARB);
    15777       EXTMGR_FUNC_INIT(wglRestoreBufferRegionARB, WGLRESTOREBUFFERREGIONARB);
    15778
    15779       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_buffer_region)
    15780       CS_WGL_ARB_buffer_region &= allclear;
    15781     }
    15782     else
    15783     {
    15784       Report (msgExtNotFound, "WGL", ext);
    15785     }
    15786   }
    15787 #endif
    15788
    15791   void InitGL_ARB_texture_cube_map ()
    15792   {
    15793     if (tested_CS_GL_ARB_texture_cube_map) return;
    15794     if (!extstrGL) return;
    15795     tested_CS_GL_ARB_texture_cube_map = true;
    15796     const char* ext = "GL_ARB_texture_cube_map";
    15797
    15798     char cfgkey[26 + 23 + 1];
    15799     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15800
    15801     CS_GL_ARB_texture_cube_map = (strstr (extstrGL, ext) != 0);
    15802
    15803     bool allclear, funcTest;
    15804     (void)funcTest; // shut up "variable unused" warnings
    15805     bool init = CS_GL_ARB_texture_cube_map;
    15806     allclear = true;
    15807     if (init)   // Don't check the functions if ext isn't reported anyway
    15808     {
    15809
    15810       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_cube_map)
    15811     }
    15812     else
    15813     {
    15814       Report (msgExtNotFound, "GL", ext);
    15815     }
    15816   }
    15817
    15820   void InitGL_ARB_depth_texture ()
    15821   {
    15822     if (tested_CS_GL_ARB_depth_texture) return;
    15823     if (!extstrGL) return;
    15824     tested_CS_GL_ARB_depth_texture = true;
    15825     const char* ext = "GL_ARB_depth_texture";
    15826
    15827     char cfgkey[26 + 20 + 1];
    15828     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15829
    15830     CS_GL_ARB_depth_texture = (strstr (extstrGL, ext) != 0);
    15831
    15832     bool allclear, funcTest;
    15833     (void)funcTest; // shut up "variable unused" warnings
    15834     bool init = CS_GL_ARB_depth_texture;
    15835     allclear = true;
    15836     if (init)   // Don't check the functions if ext isn't reported anyway
    15837     {
    15838
    15839       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_texture)
    15840     }
    15841     else
    15842     {
    15843       Report (msgExtNotFound, "GL", ext);
    15844     }
    15845   }
    15846
    15849   void InitGL_ARB_point_parameters ()
    15850   {
    15851     if (tested_CS_GL_ARB_point_parameters) return;
    15852     if (!extstrGL) return;
    15853     tested_CS_GL_ARB_point_parameters = true;
    15854     const char* ext = "GL_ARB_point_parameters";
    15855
    15856     char cfgkey[26 + 23 + 1];
    15857     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15858
    15859     CS_GL_ARB_point_parameters = (strstr (extstrGL, ext) != 0);
    15860
    15861     bool allclear, funcTest;
    15862     (void)funcTest; // shut up "variable unused" warnings
    15863     bool init = CS_GL_ARB_point_parameters;
    15864     allclear = true;
    15865     if (init)   // Don't check the functions if ext isn't reported anyway
    15866     {
    15867       EXTMGR_FUNC_INIT(glPointParameterfARB, GLPOINTPARAMETERFARB);
    15868       EXTMGR_FUNC_INIT(glPointParameterfvARB, GLPOINTPARAMETERFVARB);
    15869
    15870       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_parameters)
    15871     }
    15872     else
    15873     {
    15874       Report (msgExtNotFound, "GL", ext);
    15875     }
    15876   }
    15877
    15880   void InitGL_ARB_shadow ()
    15881   {
    15882     if (tested_CS_GL_ARB_shadow) return;
    15883     if (!extstrGL) return;
    15884     tested_CS_GL_ARB_shadow = true;
    15885     const char* ext = "GL_ARB_shadow";
    15886
    15887     char cfgkey[26 + 13 + 1];
    15888     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15889
    15890     CS_GL_ARB_shadow = (strstr (extstrGL, ext) != 0);
    15891
    15892     bool allclear, funcTest;
    15893     (void)funcTest; // shut up "variable unused" warnings
    15894     bool init = CS_GL_ARB_shadow;
    15895     allclear = true;
    15896     if (init)   // Don't check the functions if ext isn't reported anyway
    15897     {
    15898
    15899       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow)
    15900     }
    15901     else
    15902     {
    15903       Report (msgExtNotFound, "GL", ext);
    15904     }
    15905   }
    15906
    15909   void InitGL_ARB_shadow_ambient ()
    15910   {
    15911     if (tested_CS_GL_ARB_shadow_ambient) return;
    15912     if (!extstrGL) return;
    15913     tested_CS_GL_ARB_shadow_ambient = true;
    15914     const char* ext = "GL_ARB_shadow_ambient";
    15915
    15916     char cfgkey[26 + 21 + 1];
    15917     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15918
    15919     CS_GL_ARB_shadow_ambient = (strstr (extstrGL, ext) != 0);
    15920
    15921     bool allclear, funcTest;
    15922     (void)funcTest; // shut up "variable unused" warnings
    15923     bool init = CS_GL_ARB_shadow_ambient;
    15924     allclear = true;
    15925     if (init)   // Don't check the functions if ext isn't reported anyway
    15926     {
    15927
    15928       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow_ambient)
    15929     }
    15930     else
    15931     {
    15932       Report (msgExtNotFound, "GL", ext);
    15933     }
    15934   }
    15935
    15938   void InitGL_ARB_texture_border_clamp ()
    15939   {
    15940     if (tested_CS_GL_ARB_texture_border_clamp) return;
    15941     if (!extstrGL) return;
    15942     tested_CS_GL_ARB_texture_border_clamp = true;
    15943     const char* ext = "GL_ARB_texture_border_clamp";
    15944
    15945     char cfgkey[26 + 27 + 1];
    15946     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15947
    15948     CS_GL_ARB_texture_border_clamp = (strstr (extstrGL, ext) != 0);
    15949
    15950     bool allclear, funcTest;
    15951     (void)funcTest; // shut up "variable unused" warnings
    15952     bool init = CS_GL_ARB_texture_border_clamp;
    15953     allclear = true;
    15954     if (init)   // Don't check the functions if ext isn't reported anyway
    15955     {
    15956
    15957       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_border_clamp)
    15958     }
    15959     else
    15960     {
    15961       Report (msgExtNotFound, "GL", ext);
    15962     }
    15963   }
    15964
    15967   void InitGL_ARB_texture_compression ()
    15968   {
    15969     if (tested_CS_GL_ARB_texture_compression) return;
    15970     if (!extstrGL) return;
    15971     tested_CS_GL_ARB_texture_compression = true;
    15972     const char* ext = "GL_ARB_texture_compression";
    15973
    15974     char cfgkey[26 + 26 + 1];
    15975     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    15976
    15977     CS_GL_ARB_texture_compression = (strstr (extstrGL, ext) != 0);
    15978
    15979     bool allclear, funcTest;
    15980     (void)funcTest; // shut up "variable unused" warnings
    15981     bool init = CS_GL_ARB_texture_compression;
    15982     allclear = true;
    15983     if (init)   // Don't check the functions if ext isn't reported anyway
    15984     {
    15985       EXTMGR_FUNC_INIT(glCompressedTexImage3DARB, GLCOMPRESSEDTEXIMAGE3DARB);
    15986       EXTMGR_FUNC_INIT(glCompressedTexImage2DARB, GLCOMPRESSEDTEXIMAGE2DARB);
    15987       EXTMGR_FUNC_INIT(glCompressedTexImage1DARB, GLCOMPRESSEDTEXIMAGE1DARB);
    15988       EXTMGR_FUNC_INIT(glCompressedTexSubImage3DARB, GLCOMPRESSEDTEXSUBIMAGE3DARB);
    15989       EXTMGR_FUNC_INIT(glCompressedTexSubImage2DARB, GLCOMPRESSEDTEXSUBIMAGE2DARB);
    15990       EXTMGR_FUNC_INIT(glCompressedTexSubImage1DARB, GLCOMPRESSEDTEXSUBIMAGE1DARB);
    15991       EXTMGR_FUNC_INIT(glGetCompressedTexImageARB, GLGETCOMPRESSEDTEXIMAGEARB);
    15992
    15993       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression)
    15994     }
    15995     else
    15996     {
    15997       Report (msgExtNotFound, "GL", ext);
    15998     }
    15999   }
    16000
    16003   void InitGL_ARB_texture_env_combine ()
    16004   {
    16005     if (tested_CS_GL_ARB_texture_env_combine) return;
    16006     if (!extstrGL) return;
    16007     tested_CS_GL_ARB_texture_env_combine = true;
    16008     const char* ext = "GL_ARB_texture_env_combine";
    16009
    16010     char cfgkey[26 + 26 + 1];
    16011     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16012
    16013     CS_GL_ARB_texture_env_combine = (strstr (extstrGL, ext) != 0);
    16014
    16015     bool allclear, funcTest;
    16016     (void)funcTest; // shut up "variable unused" warnings
    16017     bool init = CS_GL_ARB_texture_env_combine;
    16018     allclear = true;
    16019     if (init)   // Don't check the functions if ext isn't reported anyway
    16020     {
    16021
    16022       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_combine)
    16023     }
    16024     else
    16025     {
    16026       Report (msgExtNotFound, "GL", ext);
    16027     }
    16028   }
    16029
    16032   void InitGL_ARB_texture_env_crossbar ()
    16033   {
    16034     if (tested_CS_GL_ARB_texture_env_crossbar) return;
    16035     if (!extstrGL) return;
    16036     tested_CS_GL_ARB_texture_env_crossbar = true;
    16037     const char* ext = "GL_ARB_texture_env_crossbar";
    16038
    16039     char cfgkey[26 + 27 + 1];
    16040     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16041
    16042     CS_GL_ARB_texture_env_crossbar = (strstr (extstrGL, ext) != 0);
    16043
    16044     bool allclear, funcTest;
    16045     (void)funcTest; // shut up "variable unused" warnings
    16046     bool init = CS_GL_ARB_texture_env_crossbar;
    16047     allclear = true;
    16048     if (init)   // Don't check the functions if ext isn't reported anyway
    16049     {
    16050
    16051       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_crossbar)
    16052     }
    16053     else
    16054     {
    16055       Report (msgExtNotFound, "GL", ext);
    16056     }
    16057   }
    16058
    16061   void InitGL_ARB_texture_env_dot3 ()
    16062   {
    16063     if (tested_CS_GL_ARB_texture_env_dot3) return;
    16064     if (!extstrGL) return;
    16065     tested_CS_GL_ARB_texture_env_dot3 = true;
    16066     const char* ext = "GL_ARB_texture_env_dot3";
    16067
    16068     char cfgkey[26 + 23 + 1];
    16069     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16070
    16071     CS_GL_ARB_texture_env_dot3 = (strstr (extstrGL, ext) != 0);
    16072
    16073     bool allclear, funcTest;
    16074     (void)funcTest; // shut up "variable unused" warnings
    16075     bool init = CS_GL_ARB_texture_env_dot3;
    16076     allclear = true;
    16077     if (init)   // Don't check the functions if ext isn't reported anyway
    16078     {
    16079
    16080       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_dot3)
    16081     }
    16082     else
    16083     {
    16084       Report (msgExtNotFound, "GL", ext);
    16085     }
    16086   }
    16087
    16090   void InitGL_ARB_texture_mirrored_repeat ()
    16091   {
    16092     if (tested_CS_GL_ARB_texture_mirrored_repeat) return;
    16093     if (!extstrGL) return;
    16094     tested_CS_GL_ARB_texture_mirrored_repeat = true;
    16095     const char* ext = "GL_ARB_texture_mirrored_repeat";
    16096
    16097     char cfgkey[26 + 30 + 1];
    16098     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16099
    16100     CS_GL_ARB_texture_mirrored_repeat = (strstr (extstrGL, ext) != 0);
    16101
    16102     bool allclear, funcTest;
    16103     (void)funcTest; // shut up "variable unused" warnings
    16104     bool init = CS_GL_ARB_texture_mirrored_repeat;
    16105     allclear = true;
    16106     if (init)   // Don't check the functions if ext isn't reported anyway
    16107     {
    16108
    16109       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_mirrored_repeat)
    16110     }
    16111     else
    16112     {
    16113       Report (msgExtNotFound, "GL", ext);
    16114     }
    16115   }
    16116
    16119   void InitGL_ARB_vertex_blend ()
    16120   {
    16121     if (tested_CS_GL_ARB_vertex_blend) return;
    16122     if (!extstrGL) return;
    16123     tested_CS_GL_ARB_vertex_blend = true;
    16124     const char* ext = "GL_ARB_vertex_blend";
    16125
    16126     char cfgkey[26 + 19 + 1];
    16127     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16128
    16129     CS_GL_ARB_vertex_blend = (strstr (extstrGL, ext) != 0);
    16130
    16131     bool allclear, funcTest;
    16132     (void)funcTest; // shut up "variable unused" warnings
    16133     bool init = CS_GL_ARB_vertex_blend;
    16134     allclear = true;
    16135     if (init)   // Don't check the functions if ext isn't reported anyway
    16136     {
    16137       EXTMGR_FUNC_INIT(glWeightbvARB, GLWEIGHTBVARB);
    16138       EXTMGR_FUNC_INIT(glWeightsvARB, GLWEIGHTSVARB);
    16139       EXTMGR_FUNC_INIT(glWeightivARB, GLWEIGHTIVARB);
    16140       EXTMGR_FUNC_INIT(glWeightfvARB, GLWEIGHTFVARB);
    16141       EXTMGR_FUNC_INIT(glWeightdvARB, GLWEIGHTDVARB);
    16142       EXTMGR_FUNC_INIT(glWeightvARB, GLWEIGHTVARB);
    16143       EXTMGR_FUNC_INIT(glWeightubvARB, GLWEIGHTUBVARB);
    16144       EXTMGR_FUNC_INIT(glWeightusvARB, GLWEIGHTUSVARB);
    16145       EXTMGR_FUNC_INIT(glWeightuivARB, GLWEIGHTUIVARB);
    16146       EXTMGR_FUNC_INIT(glWeightPointerARB, GLWEIGHTPOINTERARB);
    16147       EXTMGR_FUNC_INIT(glVertexBlendARB, GLVERTEXBLENDARB);
    16148
    16149       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_blend)
    16150     }
    16151     else
    16152     {
    16153       Report (msgExtNotFound, "GL", ext);
    16154     }
    16155   }
    16156
    16159   void InitGL_ARB_vertex_program ()
    16160   {
    16161     if (tested_CS_GL_ARB_vertex_program) return;
    16162     if (!extstrGL) return;
    16163     tested_CS_GL_ARB_vertex_program = true;
    16164     const char* ext = "GL_ARB_vertex_program";
    16165
    16166     char cfgkey[26 + 21 + 1];
    16167     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16168
    16169     CS_GL_ARB_vertex_program = (strstr (extstrGL, ext) != 0);
    16170
    16171     bool allclear, funcTest;
    16172     (void)funcTest; // shut up "variable unused" warnings
    16173     bool init = CS_GL_ARB_vertex_program;
    16174     allclear = true;
    16175     if (init)   // Don't check the functions if ext isn't reported anyway
    16176     {
    16177       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
    16178       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
    16179       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
    16180       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
    16181       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
    16182       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
    16183       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
    16184       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
    16185       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
    16186       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
    16187       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
    16188       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
    16189       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
    16190       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
    16191       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
    16192       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
    16193       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
    16194       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
    16195       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
    16196       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
    16197       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
    16198       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
    16199       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
    16200       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
    16201       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
    16202       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
    16203       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
    16204       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
    16205       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
    16206       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
    16207       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
    16208       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
    16209       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
    16210       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
    16211       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
    16212       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
    16213       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
    16214       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
    16215       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
    16216       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
    16217       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
    16218       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
    16219       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
    16220       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
    16221       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
    16222       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
    16223       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
    16224       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
    16225       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
    16226       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
    16227       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
    16228       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
    16229       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
    16230       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
    16231       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
    16232       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
    16233       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
    16234       EXTMGR_FUNC_INIT(glGetVertexAttribdvARB, GLGETVERTEXATTRIBDVARB);
    16235       EXTMGR_FUNC_INIT(glGetVertexAttribfvARB, GLGETVERTEXATTRIBFVARB);
    16236       EXTMGR_FUNC_INIT(glGetVertexAttribivARB, GLGETVERTEXATTRIBIVARB);
    16237       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
    16238       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
    16239
    16240       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_program)
    16241     }
    16242     else
    16243     {
    16244       Report (msgExtNotFound, "GL", ext);
    16245     }
    16246   }
    16247
    16250   void InitGL_ARB_window_pos ()
    16251   {
    16252     if (tested_CS_GL_ARB_window_pos) return;
    16253     if (!extstrGL) return;
    16254     tested_CS_GL_ARB_window_pos = true;
    16255     const char* ext = "GL_ARB_window_pos";
    16256
    16257     char cfgkey[26 + 17 + 1];
    16258     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16259
    16260     CS_GL_ARB_window_pos = (strstr (extstrGL, ext) != 0);
    16261
    16262     bool allclear, funcTest;
    16263     (void)funcTest; // shut up "variable unused" warnings
    16264     bool init = CS_GL_ARB_window_pos;
    16265     allclear = true;
    16266     if (init)   // Don't check the functions if ext isn't reported anyway
    16267     {
    16268       EXTMGR_FUNC_INIT(glWindowPos2dARB, GLWINDOWPOS2DARB);
    16269       EXTMGR_FUNC_INIT(glWindowPos2fARB, GLWINDOWPOS2FARB);
    16270       EXTMGR_FUNC_INIT(glWindowPos2iARB, GLWINDOWPOS2IARB);
    16271       EXTMGR_FUNC_INIT(glWindowPos2sARB, GLWINDOWPOS2SARB);
    16272       EXTMGR_FUNC_INIT(glWindowPos2dvARB, GLWINDOWPOS2DVARB);
    16273       EXTMGR_FUNC_INIT(glWindowPos2fvARB, GLWINDOWPOS2FVARB);
    16274       EXTMGR_FUNC_INIT(glWindowPos2ivARB, GLWINDOWPOS2IVARB);
    16275       EXTMGR_FUNC_INIT(glWindowPos2svARB, GLWINDOWPOS2SVARB);
    16276       EXTMGR_FUNC_INIT(glWindowPos3dARB, GLWINDOWPOS3DARB);
    16277       EXTMGR_FUNC_INIT(glWindowPos3fARB, GLWINDOWPOS3FARB);
    16278       EXTMGR_FUNC_INIT(glWindowPos3iARB, GLWINDOWPOS3IARB);
    16279       EXTMGR_FUNC_INIT(glWindowPos3sARB, GLWINDOWPOS3SARB);
    16280       EXTMGR_FUNC_INIT(glWindowPos3dvARB, GLWINDOWPOS3DVARB);
    16281       EXTMGR_FUNC_INIT(glWindowPos3fvARB, GLWINDOWPOS3FVARB);
    16282       EXTMGR_FUNC_INIT(glWindowPos3ivARB, GLWINDOWPOS3IVARB);
    16283       EXTMGR_FUNC_INIT(glWindowPos3svARB, GLWINDOWPOS3SVARB);
    16284
    16285       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_window_pos)
    16286     }
    16287     else
    16288     {
    16289       Report (msgExtNotFound, "GL", ext);
    16290     }
    16291   }
    16292
    16295   void InitGL_EXT_422_pixels ()
    16296   {
    16297     if (tested_CS_GL_EXT_422_pixels) return;
    16298     if (!extstrGL) return;
    16299     tested_CS_GL_EXT_422_pixels = true;
    16300     const char* ext = "GL_EXT_422_pixels";
    16301
    16302     char cfgkey[26 + 17 + 1];
    16303     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16304
    16305     CS_GL_EXT_422_pixels = (strstr (extstrGL, ext) != 0);
    16306
    16307     bool allclear, funcTest;
    16308     (void)funcTest; // shut up "variable unused" warnings
    16309     bool init = CS_GL_EXT_422_pixels;
    16310     allclear = true;
    16311     if (init)   // Don't check the functions if ext isn't reported anyway
    16312     {
    16313
    16314       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_422_pixels)
    16315     }
    16316     else
    16317     {
    16318       Report (msgExtNotFound, "GL", ext);
    16319     }
    16320   }
    16321
    16324   void InitGL_EXT_abgr ()
    16325   {
    16326     if (tested_CS_GL_EXT_abgr) return;
    16327     if (!extstrGL) return;
    16328     tested_CS_GL_EXT_abgr = true;
    16329     const char* ext = "GL_EXT_abgr";
    16330
    16331     char cfgkey[26 + 11 + 1];
    16332     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16333
    16334     CS_GL_EXT_abgr = (strstr (extstrGL, ext) != 0);
    16335
    16336     bool allclear, funcTest;
    16337     (void)funcTest; // shut up "variable unused" warnings
    16338     bool init = CS_GL_EXT_abgr;
    16339     allclear = true;
    16340     if (init)   // Don't check the functions if ext isn't reported anyway
    16341     {
    16342
    16343       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_abgr)
    16344     }
    16345     else
    16346     {
    16347       Report (msgExtNotFound, "GL", ext);
    16348     }
    16349   }
    16350
    16353   void InitGL_EXT_bgra ()
    16354   {
    16355     if (tested_CS_GL_EXT_bgra) return;
    16356     if (!extstrGL) return;
    16357     tested_CS_GL_EXT_bgra = true;
    16358     const char* ext = "GL_EXT_bgra";
    16359
    16360     char cfgkey[26 + 11 + 1];
    16361     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16362
    16363     CS_GL_EXT_bgra = (strstr (extstrGL, ext) != 0);
    16364
    16365     bool allclear, funcTest;
    16366     (void)funcTest; // shut up "variable unused" warnings
    16367     bool init = CS_GL_EXT_bgra;
    16368     allclear = true;
    16369     if (init)   // Don't check the functions if ext isn't reported anyway
    16370     {
    16371
    16372       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_bgra)
    16373     }
    16374     else
    16375     {
    16376       Report (msgExtNotFound, "GL", ext);
    16377     }
    16378   }
    16379
    16382   void InitGL_EXT_blend_color ()
    16383   {
    16384     if (tested_CS_GL_EXT_blend_color) return;
    16385     if (!extstrGL) return;
    16386     tested_CS_GL_EXT_blend_color = true;
    16387     const char* ext = "GL_EXT_blend_color";
    16388
    16389     char cfgkey[26 + 18 + 1];
    16390     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16391
    16392     CS_GL_EXT_blend_color = (strstr (extstrGL, ext) != 0);
    16393
    16394     bool allclear, funcTest;
    16395     (void)funcTest; // shut up "variable unused" warnings
    16396     bool init = CS_GL_EXT_blend_color;
    16397     allclear = true;
    16398     if (init)   // Don't check the functions if ext isn't reported anyway
    16399     {
    16400       EXTMGR_FUNC_INIT(glBlendColorEXT, GLBLENDCOLOREXT);
    16401
    16402       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_color)
    16403     }
    16404     else
    16405     {
    16406       Report (msgExtNotFound, "GL", ext);
    16407     }
    16408   }
    16409
    16412   void InitGL_EXT_blend_func_separate ()
    16413   {
    16414     if (tested_CS_GL_EXT_blend_func_separate) return;
    16415     if (!extstrGL) return;
    16416     tested_CS_GL_EXT_blend_func_separate = true;
    16417     const char* ext = "GL_EXT_blend_func_separate";
    16418
    16419     char cfgkey[26 + 26 + 1];
    16420     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16421
    16422     CS_GL_EXT_blend_func_separate = (strstr (extstrGL, ext) != 0);
    16423
    16424     bool allclear, funcTest;
    16425     (void)funcTest; // shut up "variable unused" warnings
    16426     bool init = CS_GL_EXT_blend_func_separate;
    16427     allclear = true;
    16428     if (init)   // Don't check the functions if ext isn't reported anyway
    16429     {
    16430       EXTMGR_FUNC_INIT(glBlendFuncSeparateEXT, GLBLENDFUNCSEPARATEEXT);
    16431
    16432       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_func_separate)
    16433     }
    16434     else
    16435     {
    16436       Report (msgExtNotFound, "GL", ext);
    16437     }
    16438   }
    16439
    16442   void InitGL_EXT_blend_logic_op ()
    16443   {
    16444     if (tested_CS_GL_EXT_blend_logic_op) return;
    16445     if (!extstrGL) return;
    16446     tested_CS_GL_EXT_blend_logic_op = true;
    16447     const char* ext = "GL_EXT_blend_logic_op";
    16448
    16449     char cfgkey[26 + 21 + 1];
    16450     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16451
    16452     CS_GL_EXT_blend_logic_op = (strstr (extstrGL, ext) != 0);
    16453
    16454     bool allclear, funcTest;
    16455     (void)funcTest; // shut up "variable unused" warnings
    16456     bool init = CS_GL_EXT_blend_logic_op;
    16457     allclear = true;
    16458     if (init)   // Don't check the functions if ext isn't reported anyway
    16459     {
    16460
    16461       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_logic_op)
    16462     }
    16463     else
    16464     {
    16465       Report (msgExtNotFound, "GL", ext);
    16466     }
    16467   }
    16468
    16471   void InitGL_EXT_blend_minmax ()
    16472   {
    16473     if (tested_CS_GL_EXT_blend_minmax) return;
    16474     if (!extstrGL) return;
    16475     tested_CS_GL_EXT_blend_minmax = true;
    16476     const char* ext = "GL_EXT_blend_minmax";
    16477
    16478     char cfgkey[26 + 19 + 1];
    16479     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16480
    16481     CS_GL_EXT_blend_minmax = (strstr (extstrGL, ext) != 0);
    16482
    16483     bool allclear, funcTest;
    16484     (void)funcTest; // shut up "variable unused" warnings
    16485     bool init = CS_GL_EXT_blend_minmax;
    16486     allclear = true;
    16487     if (init)   // Don't check the functions if ext isn't reported anyway
    16488     {
    16489       EXTMGR_FUNC_INIT(glBlendEquationEXT, GLBLENDEQUATIONEXT);
    16490
    16491       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_minmax)
    16492     }
    16493     else
    16494     {
    16495       Report (msgExtNotFound, "GL", ext);
    16496     }
    16497   }
    16498
    16501   void InitGL_EXT_blend_subtract ()
    16502   {
    16503     if (tested_CS_GL_EXT_blend_subtract) return;
    16504     if (!extstrGL) return;
    16505     tested_CS_GL_EXT_blend_subtract = true;
    16506     const char* ext = "GL_EXT_blend_subtract";
    16507
    16508     char cfgkey[26 + 21 + 1];
    16509     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16510
    16511     CS_GL_EXT_blend_subtract = (strstr (extstrGL, ext) != 0);
    16512
    16513     bool allclear, funcTest;
    16514     (void)funcTest; // shut up "variable unused" warnings
    16515     bool init = CS_GL_EXT_blend_subtract;
    16516     allclear = true;
    16517     if (init)   // Don't check the functions if ext isn't reported anyway
    16518     {
    16519
    16520       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_subtract)
    16521     }
    16522     else
    16523     {
    16524       Report (msgExtNotFound, "GL", ext);
    16525     }
    16526   }
    16527
    16530   void InitGL_EXT_clip_volume_hint ()
    16531   {
    16532     if (tested_CS_GL_EXT_clip_volume_hint) return;
    16533     if (!extstrGL) return;
    16534     tested_CS_GL_EXT_clip_volume_hint = true;
    16535     const char* ext = "GL_EXT_clip_volume_hint";
    16536
    16537     char cfgkey[26 + 23 + 1];
    16538     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16539
    16540     CS_GL_EXT_clip_volume_hint = (strstr (extstrGL, ext) != 0);
    16541
    16542     bool allclear, funcTest;
    16543     (void)funcTest; // shut up "variable unused" warnings
    16544     bool init = CS_GL_EXT_clip_volume_hint;
    16545     allclear = true;
    16546     if (init)   // Don't check the functions if ext isn't reported anyway
    16547     {
    16548
    16549       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_clip_volume_hint)
    16550     }
    16551     else
    16552     {
    16553       Report (msgExtNotFound, "GL", ext);
    16554     }
    16555   }
    16556
    16559   void InitGL_EXT_color_subtable ()
    16560   {
    16561     if (tested_CS_GL_EXT_color_subtable) return;
    16562     if (!extstrGL) return;
    16563     tested_CS_GL_EXT_color_subtable = true;
    16564     const char* ext = "GL_EXT_color_subtable";
    16565
    16566     char cfgkey[26 + 21 + 1];
    16567     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16568
    16569     CS_GL_EXT_color_subtable = (strstr (extstrGL, ext) != 0);
    16570
    16571     bool allclear, funcTest;
    16572     (void)funcTest; // shut up "variable unused" warnings
    16573     bool init = CS_GL_EXT_color_subtable;
    16574     allclear = true;
    16575     if (init)   // Don't check the functions if ext isn't reported anyway
    16576     {
    16577       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
    16578       EXTMGR_FUNC_INIT(glCopyColorSubTableEXT, GLCOPYCOLORSUBTABLEEXT);
    16579
    16580       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_color_subtable)
    16581     }
    16582     else
    16583     {
    16584       Report (msgExtNotFound, "GL", ext);
    16585     }
    16586   }
    16587
    16590   void InitGL_EXT_compiled_vertex_array ()
    16591   {
    16592     if (tested_CS_GL_EXT_compiled_vertex_array) return;
    16593     if (!extstrGL) return;
    16594     tested_CS_GL_EXT_compiled_vertex_array = true;
    16595     const char* ext = "GL_EXT_compiled_vertex_array";
    16596
    16597     char cfgkey[26 + 28 + 1];
    16598     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16599
    16600     CS_GL_EXT_compiled_vertex_array = (strstr (extstrGL, ext) != 0);
    16601
    16602     bool allclear, funcTest;
    16603     (void)funcTest; // shut up "variable unused" warnings
    16604     bool init = CS_GL_EXT_compiled_vertex_array;
    16605     allclear = true;
    16606     if (init)   // Don't check the functions if ext isn't reported anyway
    16607     {
    16608       EXTMGR_FUNC_INIT(glLockArraysEXT, GLLOCKARRAYSEXT);
    16609       EXTMGR_FUNC_INIT(glUnlockArraysEXT, GLUNLOCKARRAYSEXT);
    16610
    16611       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_compiled_vertex_array)
    16612     }
    16613     else
    16614     {
    16615       Report (msgExtNotFound, "GL", ext);
    16616     }
    16617   }
    16618
    16621   void InitGL_EXT_convolution ()
    16622   {
    16623     if (tested_CS_GL_EXT_convolution) return;
    16624     if (!extstrGL) return;
    16625     tested_CS_GL_EXT_convolution = true;
    16626     const char* ext = "GL_EXT_convolution";
    16627
    16628     char cfgkey[26 + 18 + 1];
    16629     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16630
    16631     CS_GL_EXT_convolution = (strstr (extstrGL, ext) != 0);
    16632
    16633     bool allclear, funcTest;
    16634     (void)funcTest; // shut up "variable unused" warnings
    16635     bool init = CS_GL_EXT_convolution;
    16636     allclear = true;
    16637     if (init)   // Don't check the functions if ext isn't reported anyway
    16638     {
    16639       EXTMGR_FUNC_INIT(glConvolutionFilter1DEXT, GLCONVOLUTIONFILTER1DEXT);
    16640       EXTMGR_FUNC_INIT(glConvolutionFilter2DEXT, GLCONVOLUTIONFILTER2DEXT);
    16641       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1DEXT, GLCOPYCONVOLUTIONFILTER1DEXT);
    16642       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2DEXT, GLCOPYCONVOLUTIONFILTER2DEXT);
    16643       EXTMGR_FUNC_INIT(glGetConvolutionFilterEXT, GLGETCONVOLUTIONFILTEREXT);
    16644       EXTMGR_FUNC_INIT(glSeparableFilter2DEXT, GLSEPARABLEFILTER2DEXT);
    16645       EXTMGR_FUNC_INIT(glGetSeparableFilterEXT, GLGETSEPARABLEFILTEREXT);
    16646       EXTMGR_FUNC_INIT(glConvolutionParameteriEXT, GLCONVOLUTIONPARAMETERIEXT);
    16647       EXTMGR_FUNC_INIT(glConvolutionParameterivEXT, GLCONVOLUTIONPARAMETERIVEXT);
    16648       EXTMGR_FUNC_INIT(glConvolutionParameterfEXT, GLCONVOLUTIONPARAMETERFEXT);
    16649       EXTMGR_FUNC_INIT(glConvolutionParameterfvEXT, GLCONVOLUTIONPARAMETERFVEXT);
    16650       EXTMGR_FUNC_INIT(glGetConvolutionParameterivEXT, GLGETCONVOLUTIONPARAMETERIVEXT);
    16651       EXTMGR_FUNC_INIT(glGetConvolutionParameterfvEXT, GLGETCONVOLUTIONPARAMETERFVEXT);
    16652
    16653       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_convolution)
    16654     }
    16655     else
    16656     {
    16657       Report (msgExtNotFound, "GL", ext);
    16658     }
    16659   }
    16660
    16663   void InitGL_EXT_fog_coord ()
    16664   {
    16665     if (tested_CS_GL_EXT_fog_coord) return;
    16666     if (!extstrGL) return;
    16667     tested_CS_GL_EXT_fog_coord = true;
    16668     const char* ext = "GL_EXT_fog_coord";
    16669
    16670     char cfgkey[26 + 16 + 1];
    16671     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16672
    16673     CS_GL_EXT_fog_coord = (strstr (extstrGL, ext) != 0);
    16674
    16675     bool allclear, funcTest;
    16676     (void)funcTest; // shut up "variable unused" warnings
    16677     bool init = CS_GL_EXT_fog_coord;
    16678     allclear = true;
    16679     if (init)   // Don't check the functions if ext isn't reported anyway
    16680     {
    16681       EXTMGR_FUNC_INIT(glFogCoordfEXfloat, GLFOGCOORDFEXFLOAT);
    16682       EXTMGR_FUNC_INIT(glFogCoorddEXdouble, GLFOGCOORDDEXDOUBLE);
    16683       EXTMGR_FUNC_INIT(glFogCoordfvEXfloat, GLFOGCOORDFVEXFLOAT);
    16684       EXTMGR_FUNC_INIT(glFogCoorddvEXdouble, GLFOGCOORDDVEXDOUBLE);
    16685       EXTMGR_FUNC_INIT(glFogCoordPointerEXT, GLFOGCOORDPOINTEREXT);
    16686
    16687       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_fog_coord)
    16688     }
    16689     else
    16690     {
    16691       Report (msgExtNotFound, "GL", ext);
    16692     }
    16693   }
    16694
    16697   void InitGL_EXT_histogram ()
    16698   {
    16699     if (tested_CS_GL_EXT_histogram) return;
    16700     if (!extstrGL) return;
    16701     tested_CS_GL_EXT_histogram = true;
    16702     const char* ext = "GL_EXT_histogram";
    16703
    16704     char cfgkey[26 + 16 + 1];
    16705     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16706
    16707     CS_GL_EXT_histogram = (strstr (extstrGL, ext) != 0);
    16708
    16709     bool allclear, funcTest;
    16710     (void)funcTest; // shut up "variable unused" warnings
    16711     bool init = CS_GL_EXT_histogram;
    16712     allclear = true;
    16713     if (init)   // Don't check the functions if ext isn't reported anyway
    16714     {
    16715       EXTMGR_FUNC_INIT(glHistogramEXT, GLHISTOGRAMEXT);
    16716       EXTMGR_FUNC_INIT(glResetHistogramEXT, GLRESETHISTOGRAMEXT);
    16717       EXTMGR_FUNC_INIT(glGetHistogramEXT, GLGETHISTOGRAMEXT);
    16718       EXTMGR_FUNC_INIT(glGetHistogramParameterivEXT, GLGETHISTOGRAMPARAMETERIVEXT);
    16719       EXTMGR_FUNC_INIT(glGetHistogramParameterfvEXT, GLGETHISTOGRAMPARAMETERFVEXT);
    16720       EXTMGR_FUNC_INIT(glMinmaxEXT, GLMINMAXEXT);
    16721       EXTMGR_FUNC_INIT(glResetMinmaxEXT, GLRESETMINMAXEXT);
    16722       EXTMGR_FUNC_INIT(glGetMinmaxEXT, GLGETMINMAXEXT);
    16723       EXTMGR_FUNC_INIT(glGetMinmaxParameterivEXT, GLGETMINMAXPARAMETERIVEXT);
    16724       EXTMGR_FUNC_INIT(glGetMinmaxParameterfvEXT, GLGETMINMAXPARAMETERFVEXT);
    16725
    16726       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_histogram)
    16727     }
    16728     else
    16729     {
    16730       Report (msgExtNotFound, "GL", ext);
    16731     }
    16732   }
    16733
    16736   void InitGL_EXT_multi_draw_arrays ()
    16737   {
    16738     if (tested_CS_GL_EXT_multi_draw_arrays) return;
    16739     if (!extstrGL) return;
    16740     tested_CS_GL_EXT_multi_draw_arrays = true;
    16741     const char* ext = "GL_EXT_multi_draw_arrays";
    16742
    16743     char cfgkey[26 + 24 + 1];
    16744     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16745
    16746     CS_GL_EXT_multi_draw_arrays = (strstr (extstrGL, ext) != 0);
    16747
    16748     bool allclear, funcTest;
    16749     (void)funcTest; // shut up "variable unused" warnings
    16750     bool init = CS_GL_EXT_multi_draw_arrays;
    16751     allclear = true;
    16752     if (init)   // Don't check the functions if ext isn't reported anyway
    16753     {
    16754       EXTMGR_FUNC_INIT(glMultiDrawArraysEXT, GLMULTIDRAWARRAYSEXT);
    16755       EXTMGR_FUNC_INIT(glMultiDrawElementsEXT, GLMULTIDRAWELEMENTSEXT);
    16756
    16757       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_multi_draw_arrays)
    16758     }
    16759     else
    16760     {
    16761       Report (msgExtNotFound, "GL", ext);
    16762     }
    16763   }
    16764
    16767   void InitGL_EXT_packed_pixels ()
    16768   {
    16769     if (tested_CS_GL_EXT_packed_pixels) return;
    16770     if (!extstrGL) return;
    16771     tested_CS_GL_EXT_packed_pixels = true;
    16772     const char* ext = "GL_EXT_packed_pixels";
    16773
    16774     char cfgkey[26 + 20 + 1];
    16775     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16776
    16777     CS_GL_EXT_packed_pixels = (strstr (extstrGL, ext) != 0);
    16778
    16779     bool allclear, funcTest;
    16780     (void)funcTest; // shut up "variable unused" warnings
    16781     bool init = CS_GL_EXT_packed_pixels;
    16782     allclear = true;
    16783     if (init)   // Don't check the functions if ext isn't reported anyway
    16784     {
    16785
    16786       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_pixels)
    16787     }
    16788     else
    16789     {
    16790       Report (msgExtNotFound, "GL", ext);
    16791     }
    16792   }
    16793
    16796   void InitGL_EXT_paletted_texture ()
    16797   {
    16798     if (tested_CS_GL_EXT_paletted_texture) return;
    16799     if (!extstrGL) return;
    16800     tested_CS_GL_EXT_paletted_texture = true;
    16801     const char* ext = "GL_EXT_paletted_texture";
    16802
    16803     char cfgkey[26 + 23 + 1];
    16804     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16805
    16806     CS_GL_EXT_paletted_texture = (strstr (extstrGL, ext) != 0);
    16807
    16808     bool allclear, funcTest;
    16809     (void)funcTest; // shut up "variable unused" warnings
    16810     bool init = CS_GL_EXT_paletted_texture;
    16811     allclear = true;
    16812     if (init)   // Don't check the functions if ext isn't reported anyway
    16813     {
    16814       EXTMGR_FUNC_INIT(glColorTableEXT, GLCOLORTABLEEXT);
    16815       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
    16816       EXTMGR_FUNC_INIT(glGetColorTableEXT, GLGETCOLORTABLEEXT);
    16817       EXTMGR_FUNC_INIT(glGetColorTableParameterivEXT, GLGETCOLORTABLEPARAMETERIVEXT);
    16818       EXTMGR_FUNC_INIT(glGetColorTableParameterfvEXT, GLGETCOLORTABLEPARAMETERFVEXT);
    16819
    16820       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_paletted_texture)
    16821     }
    16822     else
    16823     {
    16824       Report (msgExtNotFound, "GL", ext);
    16825     }
    16826   }
    16827
    16830   void InitGL_EXT_point_parameters ()
    16831   {
    16832     if (tested_CS_GL_EXT_point_parameters) return;
    16833     if (!extstrGL) return;
    16834     tested_CS_GL_EXT_point_parameters = true;
    16835     const char* ext = "GL_EXT_point_parameters";
    16836
    16837     char cfgkey[26 + 23 + 1];
    16838     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16839
    16840     CS_GL_EXT_point_parameters = (strstr (extstrGL, ext) != 0);
    16841
    16842     bool allclear, funcTest;
    16843     (void)funcTest; // shut up "variable unused" warnings
    16844     bool init = CS_GL_EXT_point_parameters;
    16845     allclear = true;
    16846     if (init)   // Don't check the functions if ext isn't reported anyway
    16847     {
    16848       EXTMGR_FUNC_INIT(glPointParameterfEXT, GLPOINTPARAMETERFEXT);
    16849       EXTMGR_FUNC_INIT(glPointParameterfvEXT, GLPOINTPARAMETERFVEXT);
    16850
    16851       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_point_parameters)
    16852     }
    16853     else
    16854     {
    16855       Report (msgExtNotFound, "GL", ext);
    16856     }
    16857   }
    16858
    16861   void InitGL_EXT_polygon_offset ()
    16862   {
    16863     if (tested_CS_GL_EXT_polygon_offset) return;
    16864     if (!extstrGL) return;
    16865     tested_CS_GL_EXT_polygon_offset = true;
    16866     const char* ext = "GL_EXT_polygon_offset";
    16867
    16868     char cfgkey[26 + 21 + 1];
    16869     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16870
    16871     CS_GL_EXT_polygon_offset = (strstr (extstrGL, ext) != 0);
    16872
    16873     bool allclear, funcTest;
    16874     (void)funcTest; // shut up "variable unused" warnings
    16875     bool init = CS_GL_EXT_polygon_offset;
    16876     allclear = true;
    16877     if (init)   // Don't check the functions if ext isn't reported anyway
    16878     {
    16879       EXTMGR_FUNC_INIT(glPolygonOffsetEXT, GLPOLYGONOFFSETEXT);
    16880
    16881       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_polygon_offset)
    16882     }
    16883     else
    16884     {
    16885       Report (msgExtNotFound, "GL", ext);
    16886     }
    16887   }
    16888
    16891   void InitGL_EXT_secondary_color ()
    16892   {
    16893     if (tested_CS_GL_EXT_secondary_color) return;
    16894     if (!extstrGL) return;
    16895     tested_CS_GL_EXT_secondary_color = true;
    16896     const char* ext = "GL_EXT_secondary_color";
    16897
    16898     char cfgkey[26 + 22 + 1];
    16899     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16900
    16901     CS_GL_EXT_secondary_color = (strstr (extstrGL, ext) != 0);
    16902
    16903     bool allclear, funcTest;
    16904     (void)funcTest; // shut up "variable unused" warnings
    16905     bool init = CS_GL_EXT_secondary_color;
    16906     allclear = true;
    16907     if (init)   // Don't check the functions if ext isn't reported anyway
    16908     {
    16909       EXTMGR_FUNC_INIT(glSecondaryColor3bEXT, GLSECONDARYCOLOR3BEXT);
    16910       EXTMGR_FUNC_INIT(glSecondaryColor3sEXT, GLSECONDARYCOLOR3SEXT);
    16911       EXTMGR_FUNC_INIT(glSecondaryColor3iEXT, GLSECONDARYCOLOR3IEXT);
    16912       EXTMGR_FUNC_INIT(glSecondaryColor3fEXT, GLSECONDARYCOLOR3FEXT);
    16913       EXTMGR_FUNC_INIT(glSecondaryColor3dEXT, GLSECONDARYCOLOR3DEXT);
    16914       EXTMGR_FUNC_INIT(glSecondaryColor3ubEXT, GLSECONDARYCOLOR3UBEXT);
    16915       EXTMGR_FUNC_INIT(glSecondaryColor3usEXT, GLSECONDARYCOLOR3USEXT);
    16916       EXTMGR_FUNC_INIT(glSecondaryColor3uiEXT, GLSECONDARYCOLOR3UIEXT);
    16917       EXTMGR_FUNC_INIT(glSecondaryColor3bvEXT, GLSECONDARYCOLOR3BVEXT);
    16918       EXTMGR_FUNC_INIT(glSecondaryColor3svEXT, GLSECONDARYCOLOR3SVEXT);
    16919       EXTMGR_FUNC_INIT(glSecondaryColor3ivEXT, GLSECONDARYCOLOR3IVEXT);
    16920       EXTMGR_FUNC_INIT(glSecondaryColor3fvEXT, GLSECONDARYCOLOR3FVEXT);
    16921       EXTMGR_FUNC_INIT(glSecondaryColor3dvEXT, GLSECONDARYCOLOR3DVEXT);
    16922       EXTMGR_FUNC_INIT(glSecondaryColor3ubvEXT, GLSECONDARYCOLOR3UBVEXT);
    16923       EXTMGR_FUNC_INIT(glSecondaryColor3usvEXT, GLSECONDARYCOLOR3USVEXT);
    16924       EXTMGR_FUNC_INIT(glSecondaryColor3uivEXT, GLSECONDARYCOLOR3UIVEXT);
    16925       EXTMGR_FUNC_INIT(glSecondaryColorPointerEXT, GLSECONDARYCOLORPOINTEREXT);
    16926
    16927       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_secondary_color)
    16928     }
    16929     else
    16930     {
    16931       Report (msgExtNotFound, "GL", ext);
    16932     }
    16933   }
    16934
    16937   void InitGL_EXT_separate_specular_color ()
    16938   {
    16939     if (tested_CS_GL_EXT_separate_specular_color) return;
    16940     if (!extstrGL) return;
    16941     tested_CS_GL_EXT_separate_specular_color = true;
    16942     const char* ext = "GL_EXT_separate_specular_color";
    16943
    16944     char cfgkey[26 + 30 + 1];
    16945     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16946
    16947     CS_GL_EXT_separate_specular_color = (strstr (extstrGL, ext) != 0);
    16948
    16949     bool allclear, funcTest;
    16950     (void)funcTest; // shut up "variable unused" warnings
    16951     bool init = CS_GL_EXT_separate_specular_color;
    16952     allclear = true;
    16953     if (init)   // Don't check the functions if ext isn't reported anyway
    16954     {
    16955
    16956       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_separate_specular_color)
    16957     }
    16958     else
    16959     {
    16960       Report (msgExtNotFound, "GL", ext);
    16961     }
    16962   }
    16963
    16966   void InitGL_EXT_shadow_funcs ()
    16967   {
    16968     if (tested_CS_GL_EXT_shadow_funcs) return;
    16969     if (!extstrGL) return;
    16970     tested_CS_GL_EXT_shadow_funcs = true;
    16971     const char* ext = "GL_EXT_shadow_funcs";
    16972
    16973     char cfgkey[26 + 19 + 1];
    16974     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    16975
    16976     CS_GL_EXT_shadow_funcs = (strstr (extstrGL, ext) != 0);
    16977
    16978     bool allclear, funcTest;
    16979     (void)funcTest; // shut up "variable unused" warnings
    16980     bool init = CS_GL_EXT_shadow_funcs;
    16981     allclear = true;
    16982     if (init)   // Don't check the functions if ext isn't reported anyway
    16983     {
    16984
    16985       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shadow_funcs)
    16986     }
    16987     else
    16988     {
    16989       Report (msgExtNotFound, "GL", ext);
    16990     }
    16991   }
    16992
    16995   void InitGL_EXT_shared_texture_palette ()
    16996   {
    16997     if (tested_CS_GL_EXT_shared_texture_palette) return;
    16998     if (!extstrGL) return;
    16999     tested_CS_GL_EXT_shared_texture_palette = true;
    17000     const char* ext = "GL_EXT_shared_texture_palette";
    17001
    17002     char cfgkey[26 + 29 + 1];
    17003     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17004
    17005     CS_GL_EXT_shared_texture_palette = (strstr (extstrGL, ext) != 0);
    17006
    17007     bool allclear, funcTest;
    17008     (void)funcTest; // shut up "variable unused" warnings
    17009     bool init = CS_GL_EXT_shared_texture_palette;
    17010     allclear = true;
    17011     if (init)   // Don't check the functions if ext isn't reported anyway
    17012     {
    17013
    17014       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shared_texture_palette)
    17015     }
    17016     else
    17017     {
    17018       Report (msgExtNotFound, "GL", ext);
    17019     }
    17020   }
    17021
    17024   void InitGL_EXT_stencil_two_side ()
    17025   {
    17026     if (tested_CS_GL_EXT_stencil_two_side) return;
    17027     if (!extstrGL) return;
    17028     tested_CS_GL_EXT_stencil_two_side = true;
    17029     const char* ext = "GL_EXT_stencil_two_side";
    17030
    17031     char cfgkey[26 + 23 + 1];
    17032     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17033
    17034     CS_GL_EXT_stencil_two_side = (strstr (extstrGL, ext) != 0);
    17035
    17036     bool allclear, funcTest;
    17037     (void)funcTest; // shut up "variable unused" warnings
    17038     bool init = CS_GL_EXT_stencil_two_side;
    17039     allclear = true;
    17040     if (init)   // Don't check the functions if ext isn't reported anyway
    17041     {
    17042       EXTMGR_FUNC_INIT(glActiveStencilFaceEXT, GLACTIVESTENCILFACEEXT);
    17043
    17044       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_two_side)
    17045     }
    17046     else
    17047     {
    17048       Report (msgExtNotFound, "GL", ext);
    17049     }
    17050   }
    17051
    17054   void InitGL_EXT_stencil_wrap ()
    17055   {
    17056     if (tested_CS_GL_EXT_stencil_wrap) return;
    17057     if (!extstrGL) return;
    17058     tested_CS_GL_EXT_stencil_wrap = true;
    17059     const char* ext = "GL_EXT_stencil_wrap";
    17060
    17061     char cfgkey[26 + 19 + 1];
    17062     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17063
    17064     CS_GL_EXT_stencil_wrap = (strstr (extstrGL, ext) != 0);
    17065
    17066     bool allclear, funcTest;
    17067     (void)funcTest; // shut up "variable unused" warnings
    17068     bool init = CS_GL_EXT_stencil_wrap;
    17069     allclear = true;
    17070     if (init)   // Don't check the functions if ext isn't reported anyway
    17071     {
    17072
    17073       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_wrap)
    17074     }
    17075     else
    17076     {
    17077       Report (msgExtNotFound, "GL", ext);
    17078     }
    17079   }
    17080
    17083   void InitGL_EXT_subtexture ()
    17084   {
    17085     if (tested_CS_GL_EXT_subtexture) return;
    17086     if (!extstrGL) return;
    17087     tested_CS_GL_EXT_subtexture = true;
    17088     const char* ext = "GL_EXT_subtexture";
    17089
    17090     char cfgkey[26 + 17 + 1];
    17091     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17092
    17093     CS_GL_EXT_subtexture = (strstr (extstrGL, ext) != 0);
    17094
    17095     bool allclear, funcTest;
    17096     (void)funcTest; // shut up "variable unused" warnings
    17097     bool init = CS_GL_EXT_subtexture;
    17098     allclear = true;
    17099     if (init)   // Don't check the functions if ext isn't reported anyway
    17100     {
    17101       EXTMGR_FUNC_INIT(glTexSubImage1DEXT, GLTEXSUBIMAGE1DEXT);
    17102       EXTMGR_FUNC_INIT(glTexSubImage2DEXT, GLTEXSUBIMAGE2DEXT);
    17103       EXTMGR_FUNC_INIT(glTexSubImage3DEXT, GLTEXSUBIMAGE3DEXT);
    17104
    17105       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_subtexture)
    17106     }
    17107     else
    17108     {
    17109       Report (msgExtNotFound, "GL", ext);
    17110     }
    17111   }
    17112
    17115   void InitGL_EXT_texture3D ()
    17116   {
    17117     if (tested_CS_GL_EXT_texture3D) return;
    17118     if (!extstrGL) return;
    17119     tested_CS_GL_EXT_texture3D = true;
    17120     const char* ext = "GL_EXT_texture3D";
    17121
    17122     char cfgkey[26 + 16 + 1];
    17123     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17124
    17125     CS_GL_EXT_texture3D = (strstr (extstrGL, ext) != 0);
    17126
    17127     bool allclear, funcTest;
    17128     (void)funcTest; // shut up "variable unused" warnings
    17129     bool init = CS_GL_EXT_texture3D;
    17130     allclear = true;
    17131     if (init)   // Don't check the functions if ext isn't reported anyway
    17132     {
    17133       EXTMGR_FUNC_INIT(glTexImage3DEXT, GLTEXIMAGE3DEXT);
    17134
    17135       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture3D)
    17136     }
    17137     else
    17138     {
    17139       Report (msgExtNotFound, "GL", ext);
    17140     }
    17141   }
    17142
    17145   void InitGL_EXT_texture_compression_s3tc ()
    17146   {
    17147     if (tested_CS_GL_EXT_texture_compression_s3tc) return;
    17148     if (!extstrGL) return;
    17149     tested_CS_GL_EXT_texture_compression_s3tc = true;
    17150     const char* ext = "GL_EXT_texture_compression_s3tc";
    17151
    17152     char cfgkey[26 + 31 + 1];
    17153     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17154
    17155     CS_GL_EXT_texture_compression_s3tc = (strstr (extstrGL, ext) != 0);
    17156
    17157     bool allclear, funcTest;
    17158     (void)funcTest; // shut up "variable unused" warnings
    17159     bool init = CS_GL_EXT_texture_compression_s3tc;
    17160     allclear = true;
    17161     if (init)   // Don't check the functions if ext isn't reported anyway
    17162     {
    17163
    17164       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_compression_s3tc)
    17165     }
    17166     else
    17167     {
    17168       Report (msgExtNotFound, "GL", ext);
    17169     }
    17170   }
    17171
    17174   void InitGL_EXT_texture_env_add ()
    17175   {
    17176     if (tested_CS_GL_EXT_texture_env_add) return;
    17177     if (!extstrGL) return;
    17178     tested_CS_GL_EXT_texture_env_add = true;
    17179     const char* ext = "GL_EXT_texture_env_add";
    17180
    17181     char cfgkey[26 + 22 + 1];
    17182     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17183
    17184     CS_GL_EXT_texture_env_add = (strstr (extstrGL, ext) != 0);
    17185
    17186     bool allclear, funcTest;
    17187     (void)funcTest; // shut up "variable unused" warnings
    17188     bool init = CS_GL_EXT_texture_env_add;
    17189     allclear = true;
    17190     if (init)   // Don't check the functions if ext isn't reported anyway
    17191     {
    17192
    17193       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_add)
    17194     }
    17195     else
    17196     {
    17197       Report (msgExtNotFound, "GL", ext);
    17198     }
    17199   }
    17200
    17203   void InitGL_EXT_texture_env_combine ()
    17204   {
    17205     if (tested_CS_GL_EXT_texture_env_combine) return;
    17206     if (!extstrGL) return;
    17207     tested_CS_GL_EXT_texture_env_combine = true;
    17208     const char* ext = "GL_EXT_texture_env_combine";
    17209
    17210     char cfgkey[26 + 26 + 1];
    17211     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17212
    17213     CS_GL_EXT_texture_env_combine = (strstr (extstrGL, ext) != 0);
    17214
    17215     bool allclear, funcTest;
    17216     (void)funcTest; // shut up "variable unused" warnings
    17217     bool init = CS_GL_EXT_texture_env_combine;
    17218     allclear = true;
    17219     if (init)   // Don't check the functions if ext isn't reported anyway
    17220     {
    17221
    17222       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_combine)
    17223     }
    17224     else
    17225     {
    17226       Report (msgExtNotFound, "GL", ext);
    17227     }
    17228   }
    17229
    17232   void InitGL_EXT_texture_env_dot3 ()
    17233   {
    17234     if (tested_CS_GL_EXT_texture_env_dot3) return;
    17235     if (!extstrGL) return;
    17236     tested_CS_GL_EXT_texture_env_dot3 = true;
    17237     const char* ext = "GL_EXT_texture_env_dot3";
    17238
    17239     char cfgkey[26 + 23 + 1];
    17240     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17241
    17242     CS_GL_EXT_texture_env_dot3 = (strstr (extstrGL, ext) != 0);
    17243
    17244     bool allclear, funcTest;
    17245     (void)funcTest; // shut up "variable unused" warnings
    17246     bool init = CS_GL_EXT_texture_env_dot3;
    17247     allclear = true;
    17248     if (init)   // Don't check the functions if ext isn't reported anyway
    17249     {
    17250
    17251       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_dot3)
    17252     }
    17253     else
    17254     {
    17255       Report (msgExtNotFound, "GL", ext);
    17256     }
    17257   }
    17258
    17261   void InitGL_EXT_texture_filter_anisotropic ()
    17262   {
    17263     if (tested_CS_GL_EXT_texture_filter_anisotropic) return;
    17264     if (!extstrGL) return;
    17265     tested_CS_GL_EXT_texture_filter_anisotropic = true;
    17266     const char* ext = "GL_EXT_texture_filter_anisotropic";
    17267
    17268     char cfgkey[26 + 33 + 1];
    17269     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17270
    17271     CS_GL_EXT_texture_filter_anisotropic = (strstr (extstrGL, ext) != 0);
    17272
    17273     bool allclear, funcTest;
    17274     (void)funcTest; // shut up "variable unused" warnings
    17275     bool init = CS_GL_EXT_texture_filter_anisotropic;
    17276     allclear = true;
    17277     if (init)   // Don't check the functions if ext isn't reported anyway
    17278     {
    17279
    17280       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_filter_anisotropic)
    17281     }
    17282     else
    17283     {
    17284       Report (msgExtNotFound, "GL", ext);
    17285     }
    17286   }
    17287
    17290   void InitGL_EXT_texture_lod_bias ()
    17291   {
    17292     if (tested_CS_GL_EXT_texture_lod_bias) return;
    17293     if (!extstrGL) return;
    17294     tested_CS_GL_EXT_texture_lod_bias = true;
    17295     const char* ext = "GL_EXT_texture_lod_bias";
    17296
    17297     char cfgkey[26 + 23 + 1];
    17298     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17299
    17300     CS_GL_EXT_texture_lod_bias = (strstr (extstrGL, ext) != 0);
    17301
    17302     bool allclear, funcTest;
    17303     (void)funcTest; // shut up "variable unused" warnings
    17304     bool init = CS_GL_EXT_texture_lod_bias;
    17305     allclear = true;
    17306     if (init)   // Don't check the functions if ext isn't reported anyway
    17307     {
    17308
    17309       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_lod_bias)
    17310     }
    17311     else
    17312     {
    17313       Report (msgExtNotFound, "GL", ext);
    17314     }
    17315   }
    17316
    17319   void InitGL_EXT_texture_object ()
    17320   {
    17321     if (tested_CS_GL_EXT_texture_object) return;
    17322     if (!extstrGL) return;
    17323     tested_CS_GL_EXT_texture_object = true;
    17324     const char* ext = "GL_EXT_texture_object";
    17325
    17326     char cfgkey[26 + 21 + 1];
    17327     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17328
    17329     CS_GL_EXT_texture_object = (strstr (extstrGL, ext) != 0);
    17330
    17331     bool allclear, funcTest;
    17332     (void)funcTest; // shut up "variable unused" warnings
    17333     bool init = CS_GL_EXT_texture_object;
    17334     allclear = true;
    17335     if (init)   // Don't check the functions if ext isn't reported anyway
    17336     {
    17337       EXTMGR_FUNC_INIT(glGenTexturesEXT, GLGENTEXTURESEXT);
    17338       EXTMGR_FUNC_INIT(glDeleteTexturesEXT, GLDELETETEXTURESEXT);
    17339       EXTMGR_FUNC_INIT(glBindTextureEXT, GLBINDTEXTUREEXT);
    17340       EXTMGR_FUNC_INIT(glPrioritizeTexturesEXT, GLPRIORITIZETEXTURESEXT);
    17341       EXTMGR_FUNC_INIT(glAreTexturesResidentEXT, GLARETEXTURESRESIDENTEXT);
    17342       EXTMGR_FUNC_INIT(glIsTextureEXT, GLISTEXTUREEXT);
    17343
    17344       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_object)
    17345     }
    17346     else
    17347     {
    17348       Report (msgExtNotFound, "GL", ext);
    17349     }
    17350   }
    17351
    17354   void InitGL_EXT_vertex_array ()
    17355   {
    17356     if (tested_CS_GL_EXT_vertex_array) return;
    17357     if (!extstrGL) return;
    17358     tested_CS_GL_EXT_vertex_array = true;
    17359     const char* ext = "GL_EXT_vertex_array";
    17360
    17361     char cfgkey[26 + 19 + 1];
    17362     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17363
    17364     CS_GL_EXT_vertex_array = (strstr (extstrGL, ext) != 0);
    17365
    17366     bool allclear, funcTest;
    17367     (void)funcTest; // shut up "variable unused" warnings
    17368     bool init = CS_GL_EXT_vertex_array;
    17369     allclear = true;
    17370     if (init)   // Don't check the functions if ext isn't reported anyway
    17371     {
    17372       EXTMGR_FUNC_INIT(glArrayElementEXT, GLARRAYELEMENTEXT);
    17373       EXTMGR_FUNC_INIT(glDrawArraysEXT, GLDRAWARRAYSEXT);
    17374       EXTMGR_FUNC_INIT(glVertexPointerEXT, GLVERTEXPOINTEREXT);
    17375       EXTMGR_FUNC_INIT(glNormalPointerEXT, GLNORMALPOINTEREXT);
    17376       EXTMGR_FUNC_INIT(glColorPointerEXT, GLCOLORPOINTEREXT);
    17377       EXTMGR_FUNC_INIT(glIndexPointerEXT, GLINDEXPOINTEREXT);
    17378       EXTMGR_FUNC_INIT(glTexCoordPointerEXT, GLTEXCOORDPOINTEREXT);
    17379       EXTMGR_FUNC_INIT(glEdgeFlagPointerEXT, GLEDGEFLAGPOINTEREXT);
    17380       EXTMGR_FUNC_INIT(glGetPointervEXT, GLGETPOINTERVEXT);
    17381
    17382       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_array)
    17383     }
    17384     else
    17385     {
    17386       Report (msgExtNotFound, "GL", ext);
    17387     }
    17388   }
    17389
    17392   void InitGL_EXT_vertex_shader ()
    17393   {
    17394     if (tested_CS_GL_EXT_vertex_shader) return;
    17395     if (!extstrGL) return;
    17396     tested_CS_GL_EXT_vertex_shader = true;
    17397     const char* ext = "GL_EXT_vertex_shader";
    17398
    17399     char cfgkey[26 + 20 + 1];
    17400     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17401
    17402     CS_GL_EXT_vertex_shader = (strstr (extstrGL, ext) != 0);
    17403
    17404     bool allclear, funcTest;
    17405     (void)funcTest; // shut up "variable unused" warnings
    17406     bool init = CS_GL_EXT_vertex_shader;
    17407     allclear = true;
    17408     if (init)   // Don't check the functions if ext isn't reported anyway
    17409     {
    17410       EXTMGR_FUNC_INIT(glBeginVertexShaderEXT, GLBEGINVERTEXSHADEREXT);
    17411       EXTMGR_FUNC_INIT(glEndVertexShaderEXT, GLENDVERTEXSHADEREXT);
    17412       EXTMGR_FUNC_INIT(glBindVertexShaderEXT, GLBINDVERTEXSHADEREXT);
    17413       EXTMGR_FUNC_INIT(glGenVertexShadersEXT, GLGENVERTEXSHADERSEXT);
    17414       EXTMGR_FUNC_INIT(glDeleteVertexShaderEXT, GLDELETEVERTEXSHADEREXT);
    17415       EXTMGR_FUNC_INIT(glShaderOp1EXT, GLSHADEROP1EXT);
    17416       EXTMGR_FUNC_INIT(glShaderOp2EXT, GLSHADEROP2EXT);
    17417       EXTMGR_FUNC_INIT(glShaderOp3EXT, GLSHADEROP3EXT);
    17418       EXTMGR_FUNC_INIT(glSwizzleEXT, GLSWIZZLEEXT);
    17419       EXTMGR_FUNC_INIT(glWriteMaskEXT, GLWRITEMASKEXT);
    17420       EXTMGR_FUNC_INIT(glInsertComponentEXT, GLINSERTCOMPONENTEXT);
    17421       EXTMGR_FUNC_INIT(glExtractComponentEXT, GLEXTRACTCOMPONENTEXT);
    17422       EXTMGR_FUNC_INIT(glGenSymbolsEXT, GLGENSYMBOLSEXT);
    17423       EXTMGR_FUNC_INIT(glSetInvariantEXT, GLSETINVARIANTEXT);
    17424       EXTMGR_FUNC_INIT(glSetLocalConstantEXT, GLSETLOCALCONSTANTEXT);
    17425       EXTMGR_FUNC_INIT(glVariantbvEXT, GLVARIANTBVEXT);
    17426       EXTMGR_FUNC_INIT(glVariantsvEXT, GLVARIANTSVEXT);
    17427       EXTMGR_FUNC_INIT(glVariantivEXT, GLVARIANTIVEXT);
    17428       EXTMGR_FUNC_INIT(glVariantfvEXT, GLVARIANTFVEXT);
    17429       EXTMGR_FUNC_INIT(glVariantdvEXT, GLVARIANTDVEXT);
    17430       EXTMGR_FUNC_INIT(glVariantubvEXT, GLVARIANTUBVEXT);
    17431       EXTMGR_FUNC_INIT(glVariantusvEXT, GLVARIANTUSVEXT);
    17432       EXTMGR_FUNC_INIT(glVariantuivEXT, GLVARIANTUIVEXT);
    17433       EXTMGR_FUNC_INIT(glVariantPointerEXT, GLVARIANTPOINTEREXT);
    17434       EXTMGR_FUNC_INIT(glEnableVariantClientStateEXT, GLENABLEVARIANTCLIENTSTATEEXT);
    17435       EXTMGR_FUNC_INIT(glDisableVariantClientStateEXT, GLDISABLEVARIANTCLIENTSTATEEXT);
    17436       EXTMGR_FUNC_INIT(glBindLightParameterEXT, GLBINDLIGHTPARAMETEREXT);
    17437       EXTMGR_FUNC_INIT(glBindMaterialParameterEXT, GLBINDMATERIALPARAMETEREXT);
    17438       EXTMGR_FUNC_INIT(glBindTexGenParameterEXT, GLBINDTEXGENPARAMETEREXT);
    17439       EXTMGR_FUNC_INIT(glBindTextureUnitParameterEXT, GLBINDTEXTUREUNITPARAMETEREXT);
    17440       EXTMGR_FUNC_INIT(glBindParameterEXT, GLBINDPARAMETEREXT);
    17441       EXTMGR_FUNC_INIT(glIsVariantEnabledEXT, GLISVARIANTENABLEDEXT);
    17442       EXTMGR_FUNC_INIT(glGetVariantBooleanvEXT, GLGETVARIANTBOOLEANVEXT);
    17443       EXTMGR_FUNC_INIT(glGetVariantIntegervEXT, GLGETVARIANTINTEGERVEXT);
    17444       EXTMGR_FUNC_INIT(glGetVariantFloatvEXT, GLGETVARIANTFLOATVEXT);
    17445       EXTMGR_FUNC_INIT(glGetVariantPointervEXT, GLGETVARIANTPOINTERVEXT);
    17446       EXTMGR_FUNC_INIT(glGetInvariantBooleanvEXT, GLGETINVARIANTBOOLEANVEXT);
    17447       EXTMGR_FUNC_INIT(glGetInvariantIntegervEXT, GLGETINVARIANTINTEGERVEXT);
    17448       EXTMGR_FUNC_INIT(glGetInvariantFloatvEXT, GLGETINVARIANTFLOATVEXT);
    17449       EXTMGR_FUNC_INIT(glGetLocalConstantBooleanvEXT, GLGETLOCALCONSTANTBOOLEANVEXT);
    17450       EXTMGR_FUNC_INIT(glGetLocalConstantIntegervEXT, GLGETLOCALCONSTANTINTEGERVEXT);
    17451       EXTMGR_FUNC_INIT(glGetLocalConstantFloatvEXT, GLGETLOCALCONSTANTFLOATVEXT);
    17452
    17453       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_shader)
    17454     }
    17455     else
    17456     {
    17457       Report (msgExtNotFound, "GL", ext);
    17458     }
    17459   }
    17460
    17463   void InitGL_EXT_vertex_weighting ()
    17464   {
    17465     if (tested_CS_GL_EXT_vertex_weighting) return;
    17466     if (!extstrGL) return;
    17467     tested_CS_GL_EXT_vertex_weighting = true;
    17468     const char* ext = "GL_EXT_vertex_weighting";
    17469
    17470     char cfgkey[26 + 23 + 1];
    17471     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17472
    17473     CS_GL_EXT_vertex_weighting = (strstr (extstrGL, ext) != 0);
    17474
    17475     bool allclear, funcTest;
    17476     (void)funcTest; // shut up "variable unused" warnings
    17477     bool init = CS_GL_EXT_vertex_weighting;
    17478     allclear = true;
    17479     if (init)   // Don't check the functions if ext isn't reported anyway
    17480     {
    17481       EXTMGR_FUNC_INIT(glVertexWeightfEXT, GLVERTEXWEIGHTFEXT);
    17482       EXTMGR_FUNC_INIT(glVertexWeightfvEXT, GLVERTEXWEIGHTFVEXT);
    17483       EXTMGR_FUNC_INIT(glVertexWeightPointerEXT, GLVERTEXWEIGHTPOINTEREXT);
    17484
    17485       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_weighting)
    17486     }
    17487     else
    17488     {
    17489       Report (msgExtNotFound, "GL", ext);
    17490     }
    17491   }
    17492
    17495   void InitGL_HP_occlusion_test ()
    17496   {
    17497     if (tested_CS_GL_HP_occlusion_test) return;
    17498     if (!extstrGL) return;
    17499     tested_CS_GL_HP_occlusion_test = true;
    17500     const char* ext = "GL_HP_occlusion_test";
    17501
    17502     char cfgkey[26 + 20 + 1];
    17503     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17504
    17505     CS_GL_HP_occlusion_test = (strstr (extstrGL, ext) != 0);
    17506
    17507     bool allclear, funcTest;
    17508     (void)funcTest; // shut up "variable unused" warnings
    17509     bool init = CS_GL_HP_occlusion_test;
    17510     allclear = true;
    17511     if (init)   // Don't check the functions if ext isn't reported anyway
    17512     {
    17513
    17514       EXTMGR_REPORT_INIT_RESULT("GL", GL_HP_occlusion_test)
    17515     }
    17516     else
    17517     {
    17518       Report (msgExtNotFound, "GL", ext);
    17519     }
    17520   }
    17521
    17524   void InitGL_NV_blend_square ()
    17525   {
    17526     if (tested_CS_GL_NV_blend_square) return;
    17527     if (!extstrGL) return;
    17528     tested_CS_GL_NV_blend_square = true;
    17529     const char* ext = "GL_NV_blend_square";
    17530
    17531     char cfgkey[26 + 18 + 1];
    17532     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17533
    17534     CS_GL_NV_blend_square = (strstr (extstrGL, ext) != 0);
    17535
    17536     bool allclear, funcTest;
    17537     (void)funcTest; // shut up "variable unused" warnings
    17538     bool init = CS_GL_NV_blend_square;
    17539     allclear = true;
    17540     if (init)   // Don't check the functions if ext isn't reported anyway
    17541     {
    17542
    17543       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_blend_square)
    17544     }
    17545     else
    17546     {
    17547       Report (msgExtNotFound, "GL", ext);
    17548     }
    17549   }
    17550
    17553   void InitGL_NV_copy_depth_to_color ()
    17554   {
    17555     if (tested_CS_GL_NV_copy_depth_to_color) return;
    17556     if (!extstrGL) return;
    17557     tested_CS_GL_NV_copy_depth_to_color = true;
    17558     const char* ext = "GL_NV_copy_depth_to_color";
    17559
    17560     char cfgkey[26 + 25 + 1];
    17561     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17562
    17563     CS_GL_NV_copy_depth_to_color = (strstr (extstrGL, ext) != 0);
    17564
    17565     bool allclear, funcTest;
    17566     (void)funcTest; // shut up "variable unused" warnings
    17567     bool init = CS_GL_NV_copy_depth_to_color;
    17568     allclear = true;
    17569     if (init)   // Don't check the functions if ext isn't reported anyway
    17570     {
    17571
    17572       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_copy_depth_to_color)
    17573     }
    17574     else
    17575     {
    17576       Report (msgExtNotFound, "GL", ext);
    17577     }
    17578   }
    17579
    17582   void InitGL_NV_depth_clamp ()
    17583   {
    17584     if (tested_CS_GL_NV_depth_clamp) return;
    17585     if (!extstrGL) return;
    17586     tested_CS_GL_NV_depth_clamp = true;
    17587     const char* ext = "GL_NV_depth_clamp";
    17588
    17589     char cfgkey[26 + 17 + 1];
    17590     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17591
    17592     CS_GL_NV_depth_clamp = (strstr (extstrGL, ext) != 0);
    17593
    17594     bool allclear, funcTest;
    17595     (void)funcTest; // shut up "variable unused" warnings
    17596     bool init = CS_GL_NV_depth_clamp;
    17597     allclear = true;
    17598     if (init)   // Don't check the functions if ext isn't reported anyway
    17599     {
    17600
    17601       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_depth_clamp)
    17602     }
    17603     else
    17604     {
    17605       Report (msgExtNotFound, "GL", ext);
    17606     }
    17607   }
    17608
    17611   void InitGL_NV_evaluators ()
    17612   {
    17613     if (tested_CS_GL_NV_evaluators) return;
    17614     if (!extstrGL) return;
    17615     tested_CS_GL_NV_evaluators = true;
    17616     const char* ext = "GL_NV_evaluators";
    17617
    17618     char cfgkey[26 + 16 + 1];
    17619     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17620
    17621     CS_GL_NV_evaluators = (strstr (extstrGL, ext) != 0);
    17622
    17623     bool allclear, funcTest;
    17624     (void)funcTest; // shut up "variable unused" warnings
    17625     bool init = CS_GL_NV_evaluators;
    17626     allclear = true;
    17627     if (init)   // Don't check the functions if ext isn't reported anyway
    17628     {
    17629       EXTMGR_FUNC_INIT(glMapControlPointsNV, GLMAPCONTROLPOINTSNV);
    17630       EXTMGR_FUNC_INIT(glMapParameterivNV, GLMAPPARAMETERIVNV);
    17631       EXTMGR_FUNC_INIT(glMapParameterfvNV, GLMAPPARAMETERFVNV);
    17632       EXTMGR_FUNC_INIT(glGetMapControlPointsNV, GLGETMAPCONTROLPOINTSNV);
    17633       EXTMGR_FUNC_INIT(glGetMapParameterivNV, GLGETMAPPARAMETERIVNV);
    17634       EXTMGR_FUNC_INIT(glGetMapParameterfvNV, GLGETMAPPARAMETERFVNV);
    17635       EXTMGR_FUNC_INIT(glGetMapAttribParameterivNV, GLGETMAPATTRIBPARAMETERIVNV);
    17636       EXTMGR_FUNC_INIT(glGetMapAttribParameterfvNV, GLGETMAPATTRIBPARAMETERFVNV);
    17637       EXTMGR_FUNC_INIT(glEvalMapsNV, GLEVALMAPSNV);
    17638
    17639       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_evaluators)
    17640     }
    17641     else
    17642     {
    17643       Report (msgExtNotFound, "GL", ext);
    17644     }
    17645   }
    17646
    17649   void InitGL_NV_fence ()
    17650   {
    17651     if (tested_CS_GL_NV_fence) return;
    17652     if (!extstrGL) return;
    17653     tested_CS_GL_NV_fence = true;
    17654     const char* ext = "GL_NV_fence";
    17655
    17656     char cfgkey[26 + 11 + 1];
    17657     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17658
    17659     CS_GL_NV_fence = (strstr (extstrGL, ext) != 0);
    17660
    17661     bool allclear, funcTest;
    17662     (void)funcTest; // shut up "variable unused" warnings
    17663     bool init = CS_GL_NV_fence;
    17664     allclear = true;
    17665     if (init)   // Don't check the functions if ext isn't reported anyway
    17666     {
    17667       EXTMGR_FUNC_INIT(glGenFencesNV, GLGENFENCESNV);
    17668       EXTMGR_FUNC_INIT(glDeleteFencesNV, GLDELETEFENCESNV);
    17669       EXTMGR_FUNC_INIT(glSetFenceNV, GLSETFENCENV);
    17670       EXTMGR_FUNC_INIT(glTestFenceNV, GLTESTFENCENV);
    17671       EXTMGR_FUNC_INIT(glFinishFenceNV, GLFINISHFENCENV);
    17672       EXTMGR_FUNC_INIT(glIsFenceNV, GLISFENCENV);
    17673       EXTMGR_FUNC_INIT(glGetFenceivNV, GLGETFENCEIVNV);
    17674
    17675       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fence)
    17676     }
    17677     else
    17678     {
    17679       Report (msgExtNotFound, "GL", ext);
    17680     }
    17681   }
    17682
    17685   void InitGL_NV_fog_distance ()
    17686   {
    17687     if (tested_CS_GL_NV_fog_distance) return;
    17688     if (!extstrGL) return;
    17689     tested_CS_GL_NV_fog_distance = true;
    17690     const char* ext = "GL_NV_fog_distance";
    17691
    17692     char cfgkey[26 + 18 + 1];
    17693     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17694
    17695     CS_GL_NV_fog_distance = (strstr (extstrGL, ext) != 0);
    17696
    17697     bool allclear, funcTest;
    17698     (void)funcTest; // shut up "variable unused" warnings
    17699     bool init = CS_GL_NV_fog_distance;
    17700     allclear = true;
    17701     if (init)   // Don't check the functions if ext isn't reported anyway
    17702     {
    17703
    17704       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fog_distance)
    17705     }
    17706     else
    17707     {
    17708       Report (msgExtNotFound, "GL", ext);
    17709     }
    17710   }
    17711
    17714   void InitGL_NV_light_max_exponent ()
    17715   {
    17716     if (tested_CS_GL_NV_light_max_exponent) return;
    17717     if (!extstrGL) return;
    17718     tested_CS_GL_NV_light_max_exponent = true;
    17719     const char* ext = "GL_NV_light_max_exponent";
    17720
    17721     char cfgkey[26 + 24 + 1];
    17722     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17723
    17724     CS_GL_NV_light_max_exponent = (strstr (extstrGL, ext) != 0);
    17725
    17726     bool allclear, funcTest;
    17727     (void)funcTest; // shut up "variable unused" warnings
    17728     bool init = CS_GL_NV_light_max_exponent;
    17729     allclear = true;
    17730     if (init)   // Don't check the functions if ext isn't reported anyway
    17731     {
    17732
    17733       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_light_max_exponent)
    17734     }
    17735     else
    17736     {
    17737       Report (msgExtNotFound, "GL", ext);
    17738     }
    17739   }
    17740
    17743   void InitGL_NV_multisample_filter_hint ()
    17744   {
    17745     if (tested_CS_GL_NV_multisample_filter_hint) return;
    17746     if (!extstrGL) return;
    17747     tested_CS_GL_NV_multisample_filter_hint = true;
    17748     const char* ext = "GL_NV_multisample_filter_hint";
    17749
    17750     char cfgkey[26 + 29 + 1];
    17751     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17752
    17753     CS_GL_NV_multisample_filter_hint = (strstr (extstrGL, ext) != 0);
    17754
    17755     bool allclear, funcTest;
    17756     (void)funcTest; // shut up "variable unused" warnings
    17757     bool init = CS_GL_NV_multisample_filter_hint;
    17758     allclear = true;
    17759     if (init)   // Don't check the functions if ext isn't reported anyway
    17760     {
    17761
    17762       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_multisample_filter_hint)
    17763     }
    17764     else
    17765     {
    17766       Report (msgExtNotFound, "GL", ext);
    17767     }
    17768   }
    17769
    17772   void InitGL_NV_occlusion_query ()
    17773   {
    17774     if (tested_CS_GL_NV_occlusion_query) return;
    17775     if (!extstrGL) return;
    17776     tested_CS_GL_NV_occlusion_query = true;
    17777     const char* ext = "GL_NV_occlusion_query";
    17778
    17779     char cfgkey[26 + 21 + 1];
    17780     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17781
    17782     CS_GL_NV_occlusion_query = (strstr (extstrGL, ext) != 0);
    17783
    17784     bool allclear, funcTest;
    17785     (void)funcTest; // shut up "variable unused" warnings
    17786     bool init = CS_GL_NV_occlusion_query;
    17787     allclear = true;
    17788     if (init)   // Don't check the functions if ext isn't reported anyway
    17789     {
    17790       EXTMGR_FUNC_INIT(glGenOcclusionQueriesNV, GLGENOCCLUSIONQUERIESNV);
    17791       EXTMGR_FUNC_INIT(glDeleteOcclusionQueriesNV, GLDELETEOCCLUSIONQUERIESNV);
    17792       EXTMGR_FUNC_INIT(glIsOcclusionQueryNV, GLISOCCLUSIONQUERYNV);
    17793       EXTMGR_FUNC_INIT(glBeginOcclusionQueryNV, GLBEGINOCCLUSIONQUERYNV);
    17794       EXTMGR_FUNC_INIT(glEndOcclusionQueryNV, GLENDOCCLUSIONQUERYNV);
    17795       EXTMGR_FUNC_INIT(glGetOcclusionQueryivNV, GLGETOCCLUSIONQUERYIVNV);
    17796       EXTMGR_FUNC_INIT(glGetOcclusionQueryuivNV, GLGETOCCLUSIONQUERYUIVNV);
    17797
    17798       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_occlusion_query)
    17799     }
    17800     else
    17801     {
    17802       Report (msgExtNotFound, "GL", ext);
    17803     }
    17804   }
    17805
    17808   void InitGL_NV_packed_depth_stencil ()
    17809   {
    17810     if (tested_CS_GL_NV_packed_depth_stencil) return;
    17811     if (!extstrGL) return;
    17812     tested_CS_GL_NV_packed_depth_stencil = true;
    17813     const char* ext = "GL_NV_packed_depth_stencil";
    17814
    17815     char cfgkey[26 + 26 + 1];
    17816     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17817
    17818     CS_GL_NV_packed_depth_stencil = (strstr (extstrGL, ext) != 0);
    17819
    17820     bool allclear, funcTest;
    17821     (void)funcTest; // shut up "variable unused" warnings
    17822     bool init = CS_GL_NV_packed_depth_stencil;
    17823     allclear = true;
    17824     if (init)   // Don't check the functions if ext isn't reported anyway
    17825     {
    17826
    17827       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_packed_depth_stencil)
    17828     }
    17829     else
    17830     {
    17831       Report (msgExtNotFound, "GL", ext);
    17832     }
    17833   }
    17834
    17837   void InitGL_NV_point_sprite ()
    17838   {
    17839     if (tested_CS_GL_NV_point_sprite) return;
    17840     if (!extstrGL) return;
    17841     tested_CS_GL_NV_point_sprite = true;
    17842     const char* ext = "GL_NV_point_sprite";
    17843
    17844     char cfgkey[26 + 18 + 1];
    17845     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17846
    17847     CS_GL_NV_point_sprite = (strstr (extstrGL, ext) != 0);
    17848
    17849     bool allclear, funcTest;
    17850     (void)funcTest; // shut up "variable unused" warnings
    17851     bool init = CS_GL_NV_point_sprite;
    17852     allclear = true;
    17853     if (init)   // Don't check the functions if ext isn't reported anyway
    17854     {
    17855       EXTMGR_FUNC_INIT(glPointParameteriNV, GLPOINTPARAMETERINV);
    17856       EXTMGR_FUNC_INIT(glPointParameterivNV, GLPOINTPARAMETERIVNV);
    17857
    17858       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_point_sprite)
    17859     }
    17860     else
    17861     {
    17862       Report (msgExtNotFound, "GL", ext);
    17863     }
    17864   }
    17865
    17868   void InitGL_NV_register_combiners ()
    17869   {
    17870     if (tested_CS_GL_NV_register_combiners) return;
    17871     if (!extstrGL) return;
    17872     tested_CS_GL_NV_register_combiners = true;
    17873     const char* ext = "GL_NV_register_combiners";
    17874
    17875     char cfgkey[26 + 24 + 1];
    17876     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17877
    17878     CS_GL_NV_register_combiners = (strstr (extstrGL, ext) != 0);
    17879
    17880     bool allclear, funcTest;
    17881     (void)funcTest; // shut up "variable unused" warnings
    17882     bool init = CS_GL_NV_register_combiners;
    17883     allclear = true;
    17884     if (init)   // Don't check the functions if ext isn't reported anyway
    17885     {
    17886       EXTMGR_FUNC_INIT(glCombinerParameterfvNV, GLCOMBINERPARAMETERFVNV);
    17887       EXTMGR_FUNC_INIT(glCombinerParameterivNV, GLCOMBINERPARAMETERIVNV);
    17888       EXTMGR_FUNC_INIT(glCombinerParameterfNV, GLCOMBINERPARAMETERFNV);
    17889       EXTMGR_FUNC_INIT(glCombinerParameteriNV, GLCOMBINERPARAMETERINV);
    17890       EXTMGR_FUNC_INIT(glCombinerInputNV, GLCOMBINERINPUTNV);
    17891       EXTMGR_FUNC_INIT(glCombinerOutputNV, GLCOMBINEROUTPUTNV);
    17892       EXTMGR_FUNC_INIT(glFinalCombinerInputNV, GLFINALCOMBINERINPUTNV);
    17893       EXTMGR_FUNC_INIT(glGetCombinerInputParameterfvNV, GLGETCOMBINERINPUTPARAMETERFVNV);
    17894       EXTMGR_FUNC_INIT(glGetCombinerInputParameterivNV, GLGETCOMBINERINPUTPARAMETERIVNV);
    17895       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterfvNV, GLGETCOMBINEROUTPUTPARAMETERFVNV);
    17896       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterivNV, GLGETCOMBINEROUTPUTPARAMETERIVNV);
    17897       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterfvNV, GLGETFINALCOMBINERINPUTPARAMETERFVNV);
    17898       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterivNV, GLGETFINALCOMBINERINPUTPARAMETERIVNV);
    17899
    17900       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners)
    17901     }
    17902     else
    17903     {
    17904       Report (msgExtNotFound, "GL", ext);
    17905     }
    17906   }
    17907
    17910   void InitGL_NV_register_combiners2 ()
    17911   {
    17912     if (tested_CS_GL_NV_register_combiners2) return;
    17913     if (!extstrGL) return;
    17914     tested_CS_GL_NV_register_combiners2 = true;
    17915     const char* ext = "GL_NV_register_combiners2";
    17916
    17917     char cfgkey[26 + 25 + 1];
    17918     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17919
    17920     CS_GL_NV_register_combiners2 = (strstr (extstrGL, ext) != 0);
    17921
    17922     bool allclear, funcTest;
    17923     (void)funcTest; // shut up "variable unused" warnings
    17924     bool init = CS_GL_NV_register_combiners2;
    17925     allclear = true;
    17926     if (init)   // Don't check the functions if ext isn't reported anyway
    17927     {
    17928       EXTMGR_FUNC_INIT(glCombinerStageParameterfvNV, GLCOMBINERSTAGEPARAMETERFVNV);
    17929       EXTMGR_FUNC_INIT(glGetCombinerStageParameterfvNV, GLGETCOMBINERSTAGEPARAMETERFVNV);
    17930
    17931       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners2)
    17932     }
    17933     else
    17934     {
    17935       Report (msgExtNotFound, "GL", ext);
    17936     }
    17937   }
    17938
    17941   void InitGL_NV_texgen_emboss ()
    17942   {
    17943     if (tested_CS_GL_NV_texgen_emboss) return;
    17944     if (!extstrGL) return;
    17945     tested_CS_GL_NV_texgen_emboss = true;
    17946     const char* ext = "GL_NV_texgen_emboss";
    17947
    17948     char cfgkey[26 + 19 + 1];
    17949     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17950
    17951     CS_GL_NV_texgen_emboss = (strstr (extstrGL, ext) != 0);
    17952
    17953     bool allclear, funcTest;
    17954     (void)funcTest; // shut up "variable unused" warnings
    17955     bool init = CS_GL_NV_texgen_emboss;
    17956     allclear = true;
    17957     if (init)   // Don't check the functions if ext isn't reported anyway
    17958     {
    17959
    17960       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_emboss)
    17961     }
    17962     else
    17963     {
    17964       Report (msgExtNotFound, "GL", ext);
    17965     }
    17966   }
    17967
    17970   void InitGL_NV_texgen_reflection ()
    17971   {
    17972     if (tested_CS_GL_NV_texgen_reflection) return;
    17973     if (!extstrGL) return;
    17974     tested_CS_GL_NV_texgen_reflection = true;
    17975     const char* ext = "GL_NV_texgen_reflection";
    17976
    17977     char cfgkey[26 + 23 + 1];
    17978     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    17979
    17980     CS_GL_NV_texgen_reflection = (strstr (extstrGL, ext) != 0);
    17981
    17982     bool allclear, funcTest;
    17983     (void)funcTest; // shut up "variable unused" warnings
    17984     bool init = CS_GL_NV_texgen_reflection;
    17985     allclear = true;
    17986     if (init)   // Don't check the functions if ext isn't reported anyway
    17987     {
    17988
    17989       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_reflection)
    17990     }
    17991     else
    17992     {
    17993       Report (msgExtNotFound, "GL", ext);
    17994     }
    17995   }
    17996
    17999   void InitGL_NV_texture_compression_vtc ()
    18000   {
    18001     if (tested_CS_GL_NV_texture_compression_vtc) return;
    18002     if (!extstrGL) return;
    18003     tested_CS_GL_NV_texture_compression_vtc = true;
    18004     const char* ext = "GL_NV_texture_compression_vtc";
    18005
    18006     char cfgkey[26 + 29 + 1];
    18007     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18008
    18009     CS_GL_NV_texture_compression_vtc = (strstr (extstrGL, ext) != 0);
    18010
    18011     bool allclear, funcTest;
    18012     (void)funcTest; // shut up "variable unused" warnings
    18013     bool init = CS_GL_NV_texture_compression_vtc;
    18014     allclear = true;
    18015     if (init)   // Don't check the functions if ext isn't reported anyway
    18016     {
    18017
    18018       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_compression_vtc)
    18019     }
    18020     else
    18021     {
    18022       Report (msgExtNotFound, "GL", ext);
    18023     }
    18024   }
    18025
    18028   void InitGL_NV_texture_env_combine4 ()
    18029   {
    18030     if (tested_CS_GL_NV_texture_env_combine4) return;
    18031     if (!extstrGL) return;
    18032     tested_CS_GL_NV_texture_env_combine4 = true;
    18033     const char* ext = "GL_NV_texture_env_combine4";
    18034
    18035     char cfgkey[26 + 26 + 1];
    18036     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18037
    18038     CS_GL_NV_texture_env_combine4 = (strstr (extstrGL, ext) != 0);
    18039
    18040     bool allclear, funcTest;
    18041     (void)funcTest; // shut up "variable unused" warnings
    18042     bool init = CS_GL_NV_texture_env_combine4;
    18043     allclear = true;
    18044     if (init)   // Don't check the functions if ext isn't reported anyway
    18045     {
    18046
    18047       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_env_combine4)
    18048     }
    18049     else
    18050     {
    18051       Report (msgExtNotFound, "GL", ext);
    18052     }
    18053   }
    18054
    18057   void InitGL_NV_texture_rectangle ()
    18058   {
    18059     if (tested_CS_GL_NV_texture_rectangle) return;
    18060     if (!extstrGL) return;
    18061     tested_CS_GL_NV_texture_rectangle = true;
    18062     const char* ext = "GL_NV_texture_rectangle";
    18063
    18064     char cfgkey[26 + 23 + 1];
    18065     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18066
    18067     CS_GL_NV_texture_rectangle = (strstr (extstrGL, ext) != 0);
    18068
    18069     bool allclear, funcTest;
    18070     (void)funcTest; // shut up "variable unused" warnings
    18071     bool init = CS_GL_NV_texture_rectangle;
    18072     allclear = true;
    18073     if (init)   // Don't check the functions if ext isn't reported anyway
    18074     {
    18075
    18076       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_rectangle)
    18077     }
    18078     else
    18079     {
    18080       Report (msgExtNotFound, "GL", ext);
    18081     }
    18082   }
    18083
    18086   void InitGL_NV_texture_shader ()
    18087   {
    18088     if (tested_CS_GL_NV_texture_shader) return;
    18089     if (!extstrGL) return;
    18090     tested_CS_GL_NV_texture_shader = true;
    18091     const char* ext = "GL_NV_texture_shader";
    18092
    18093     char cfgkey[26 + 20 + 1];
    18094     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18095
    18096     CS_GL_NV_texture_shader = (strstr (extstrGL, ext) != 0);
    18097
    18098     bool allclear, funcTest;
    18099     (void)funcTest; // shut up "variable unused" warnings
    18100     bool init = CS_GL_NV_texture_shader;
    18101     allclear = true;
    18102     if (init)   // Don't check the functions if ext isn't reported anyway
    18103     {
    18104
    18105       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader)
    18106     }
    18107     else
    18108     {
    18109       Report (msgExtNotFound, "GL", ext);
    18110     }
    18111   }
    18112
    18115   void InitGL_NV_texture_shader2 ()
    18116   {
    18117     if (tested_CS_GL_NV_texture_shader2) return;
    18118     if (!extstrGL) return;
    18119     tested_CS_GL_NV_texture_shader2 = true;
    18120     const char* ext = "GL_NV_texture_shader2";
    18121
    18122     char cfgkey[26 + 21 + 1];
    18123     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18124
    18125     CS_GL_NV_texture_shader2 = (strstr (extstrGL, ext) != 0);
    18126
    18127     bool allclear, funcTest;
    18128     (void)funcTest; // shut up "variable unused" warnings
    18129     bool init = CS_GL_NV_texture_shader2;
    18130     allclear = true;
    18131     if (init)   // Don't check the functions if ext isn't reported anyway
    18132     {
    18133
    18134       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader2)
    18135     }
    18136     else
    18137     {
    18138       Report (msgExtNotFound, "GL", ext);
    18139     }
    18140   }
    18141
    18144   void InitGL_NV_texture_shader3 ()
    18145   {
    18146     if (tested_CS_GL_NV_texture_shader3) return;
    18147     if (!extstrGL) return;
    18148     tested_CS_GL_NV_texture_shader3 = true;
    18149     const char* ext = "GL_NV_texture_shader3";
    18150
    18151     char cfgkey[26 + 21 + 1];
    18152     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18153
    18154     CS_GL_NV_texture_shader3 = (strstr (extstrGL, ext) != 0);
    18155
    18156     bool allclear, funcTest;
    18157     (void)funcTest; // shut up "variable unused" warnings
    18158     bool init = CS_GL_NV_texture_shader3;
    18159     allclear = true;
    18160     if (init)   // Don't check the functions if ext isn't reported anyway
    18161     {
    18162
    18163       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader3)
    18164     }
    18165     else
    18166     {
    18167       Report (msgExtNotFound, "GL", ext);
    18168     }
    18169   }
    18170
    18173   void InitGL_NV_vertex_array_range ()
    18174   {
    18175     if (tested_CS_GL_NV_vertex_array_range) return;
    18176     if (!extstrGL) return;
    18177     tested_CS_GL_NV_vertex_array_range = true;
    18178     const char* ext = "GL_NV_vertex_array_range";
    18179
    18180     char cfgkey[26 + 24 + 1];
    18181     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18182
    18183     CS_GL_NV_vertex_array_range = (strstr (extstrGL, ext) != 0);
    18184
    18185     bool allclear, funcTest;
    18186     (void)funcTest; // shut up "variable unused" warnings
    18187     bool init = CS_GL_NV_vertex_array_range;
    18188     allclear = true;
    18189     if (init)   // Don't check the functions if ext isn't reported anyway
    18190     {
    18191       EXTMGR_FUNC_INIT(glVertexArrayRangeNV, GLVERTEXARRAYRANGENV);
    18192       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeNV, GLFLUSHVERTEXARRAYRANGENV);
    18193       EXTMGR_FUNC_INIT(wglAllocateMemoryNV, WGLALLOCATEMEMORYNV);
    18194       EXTMGR_FUNC_INIT(wglFreeMemoryNV, WGLFREEMEMORYNV);
    18195
    18196       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range)
    18197     }
    18198     else
    18199     {
    18200       Report (msgExtNotFound, "GL", ext);
    18201     }
    18202   }
    18203
    18206   void InitGL_NV_vertex_array_range2 ()
    18207   {
    18208     if (tested_CS_GL_NV_vertex_array_range2) return;
    18209     if (!extstrGL) return;
    18210     tested_CS_GL_NV_vertex_array_range2 = true;
    18211     const char* ext = "GL_NV_vertex_array_range2";
    18212
    18213     char cfgkey[26 + 25 + 1];
    18214     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18215
    18216     CS_GL_NV_vertex_array_range2 = (strstr (extstrGL, ext) != 0);
    18217
    18218     bool allclear, funcTest;
    18219     (void)funcTest; // shut up "variable unused" warnings
    18220     bool init = CS_GL_NV_vertex_array_range2;
    18221     allclear = true;
    18222     if (init)   // Don't check the functions if ext isn't reported anyway
    18223     {
    18224
    18225       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range2)
    18226     }
    18227     else
    18228     {
    18229       Report (msgExtNotFound, "GL", ext);
    18230     }
    18231   }
    18232
    18235   void InitGL_NV_vertex_program ()
    18236   {
    18237     if (tested_CS_GL_NV_vertex_program) return;
    18238     if (!extstrGL) return;
    18239     tested_CS_GL_NV_vertex_program = true;
    18240     const char* ext = "GL_NV_vertex_program";
    18241
    18242     char cfgkey[26 + 20 + 1];
    18243     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18244
    18245     CS_GL_NV_vertex_program = (strstr (extstrGL, ext) != 0);
    18246
    18247     bool allclear, funcTest;
    18248     (void)funcTest; // shut up "variable unused" warnings
    18249     bool init = CS_GL_NV_vertex_program;
    18250     allclear = true;
    18251     if (init)   // Don't check the functions if ext isn't reported anyway
    18252     {
    18253       EXTMGR_FUNC_INIT(glBindProgramNV, GLBINDPROGRAMNV);
    18254       EXTMGR_FUNC_INIT(glDeleteProgramsNV, GLDELETEPROGRAMSNV);
    18255       EXTMGR_FUNC_INIT(glExecuteProgramNV, GLEXECUTEPROGRAMNV);
    18256       EXTMGR_FUNC_INIT(glGenProgramsNV, GLGENPROGRAMSNV);
    18257       EXTMGR_FUNC_INIT(glAreProgramsResidentNV, GLAREPROGRAMSRESIDENTNV);
    18258       EXTMGR_FUNC_INIT(glRequestResidentProgramsNV, GLREQUESTRESIDENTPROGRAMSNV);
    18259       EXTMGR_FUNC_INIT(glGetProgramParameterfvNV, GLGETPROGRAMPARAMETERFVNV);
    18260       EXTMGR_FUNC_INIT(glGetProgramParameterdvNV, GLGETPROGRAMPARAMETERDVNV);
    18261       EXTMGR_FUNC_INIT(glGetProgramivNV, GLGETPROGRAMIVNV);
    18262       EXTMGR_FUNC_INIT(glGetProgramStringNV, GLGETPROGRAMSTRINGNV);
    18263       EXTMGR_FUNC_INIT(glGetTrackMatrixivNV, GLGETTRACKMATRIXIVNV);
    18264       EXTMGR_FUNC_INIT(glGetVertexAttribdvNV, GLGETVERTEXATTRIBDVNV);
    18265       EXTMGR_FUNC_INIT(glGetVertexAttribfvNV, GLGETVERTEXATTRIBFVNV);
    18266       EXTMGR_FUNC_INIT(glGetVertexAttribivNV, GLGETVERTEXATTRIBIVNV);
    18267       EXTMGR_FUNC_INIT(glGetVertexAttribPointervNV, GLGETVERTEXATTRIBPOINTERVNV);
    18268       EXTMGR_FUNC_INIT(glIsProgramNV, GLISPROGRAMNV);
    18269       EXTMGR_FUNC_INIT(glLoadProgramNV, GLLOADPROGRAMNV);
    18270       EXTMGR_FUNC_INIT(glProgramParameter4fNV, GLPROGRAMPARAMETER4FNV);
    18271       EXTMGR_FUNC_INIT(glProgramParameter4fvNV, GLPROGRAMPARAMETER4FVNV);
    18272       EXTMGR_FUNC_INIT(glProgramParameters4dvNV, GLPROGRAMPARAMETERS4DVNV);
    18273       EXTMGR_FUNC_INIT(glProgramParameters4fvNV, GLPROGRAMPARAMETERS4FVNV);
    18274       EXTMGR_FUNC_INIT(glTrackMatrixNV, GLTRACKMATRIXNV);
    18275       EXTMGR_FUNC_INIT(glVertexAttribPointerNV, GLVERTEXATTRIBPOINTERNV);
    18276       EXTMGR_FUNC_INIT(glVertexAttrib1sNV, GLVERTEXATTRIB1SNV);
    18277       EXTMGR_FUNC_INIT(glVertexAttrib1fNV, GLVERTEXATTRIB1FNV);
    18278       EXTMGR_FUNC_INIT(glVertexAttrib1dNV, GLVERTEXATTRIB1DNV);
    18279       EXTMGR_FUNC_INIT(glVertexAttrib2sNV, GLVERTEXATTRIB2SNV);
    18280       EXTMGR_FUNC_INIT(glVertexAttrib2fNV, GLVERTEXATTRIB2FNV);
    18281       EXTMGR_FUNC_INIT(glVertexAttrib2dNV, GLVERTEXATTRIB2DNV);
    18282       EXTMGR_FUNC_INIT(glVertexAttrib3sNV, GLVERTEXATTRIB3SNV);
    18283       EXTMGR_FUNC_INIT(glVertexAttrib3fNV, GLVERTEXATTRIB3FNV);
    18284       EXTMGR_FUNC_INIT(glVertexAttrib3dNV, GLVERTEXATTRIB3DNV);
    18285       EXTMGR_FUNC_INIT(glVertexAttrib4sNV, GLVERTEXATTRIB4SNV);
    18286       EXTMGR_FUNC_INIT(glVertexAttrib4fNV, GLVERTEXATTRIB4FNV);
    18287       EXTMGR_FUNC_INIT(glVertexAttrib4dNV, GLVERTEXATTRIB4DNV);
    18288       EXTMGR_FUNC_INIT(glVertexAttrib4ubNV, GLVERTEXATTRIB4UBNV);
    18289       EXTMGR_FUNC_INIT(glVertexAttrib1svNV, GLVERTEXATTRIB1SVNV);
    18290       EXTMGR_FUNC_INIT(glVertexAttrib1fvNV, GLVERTEXATTRIB1FVNV);
    18291       EXTMGR_FUNC_INIT(glVertexAttrib1dvNV, GLVERTEXATTRIB1DVNV);
    18292       EXTMGR_FUNC_INIT(glVertexAttrib2svNV, GLVERTEXATTRIB2SVNV);
    18293       EXTMGR_FUNC_INIT(glVertexAttrib2fvNV, GLVERTEXATTRIB2FVNV);
    18294       EXTMGR_FUNC_INIT(glVertexAttrib2dvNV, GLVERTEXATTRIB2DVNV);
    18295       EXTMGR_FUNC_INIT(glVertexAttrib3svNV, GLVERTEXATTRIB3SVNV);
    18296       EXTMGR_FUNC_INIT(glVertexAttrib3fvNV, GLVERTEXATTRIB3FVNV);
    18297       EXTMGR_FUNC_INIT(glVertexAttrib3dvNV, GLVERTEXATTRIB3DVNV);
    18298       EXTMGR_FUNC_INIT(glVertexAttrib4svNV, GLVERTEXATTRIB4SVNV);
    18299       EXTMGR_FUNC_INIT(glVertexAttrib4fvNV, GLVERTEXATTRIB4FVNV);
    18300       EXTMGR_FUNC_INIT(glVertexAttrib4dvNV, GLVERTEXATTRIB4DVNV);
    18301       EXTMGR_FUNC_INIT(glVertexAttrib4ubvNV, GLVERTEXATTRIB4UBVNV);
    18302       EXTMGR_FUNC_INIT(glVertexAttribs1svNV, GLVERTEXATTRIBS1SVNV);
    18303       EXTMGR_FUNC_INIT(glVertexAttribs1fvNV, GLVERTEXATTRIBS1FVNV);
    18304       EXTMGR_FUNC_INIT(glVertexAttribs1dvNV, GLVERTEXATTRIBS1DVNV);
    18305       EXTMGR_FUNC_INIT(glVertexAttribs2svNV, GLVERTEXATTRIBS2SVNV);
    18306       EXTMGR_FUNC_INIT(glVertexAttribs2fvNV, GLVERTEXATTRIBS2FVNV);
    18307       EXTMGR_FUNC_INIT(glVertexAttribs2dvNV, GLVERTEXATTRIBS2DVNV);
    18308       EXTMGR_FUNC_INIT(glVertexAttribs3svNV, GLVERTEXATTRIBS3SVNV);
    18309       EXTMGR_FUNC_INIT(glVertexAttribs3fvNV, GLVERTEXATTRIBS3FVNV);
    18310       EXTMGR_FUNC_INIT(glVertexAttribs3dvNV, GLVERTEXATTRIBS3DVNV);
    18311       EXTMGR_FUNC_INIT(glVertexAttribs4svNV, GLVERTEXATTRIBS4SVNV);
    18312       EXTMGR_FUNC_INIT(glVertexAttribs4fvNV, GLVERTEXATTRIBS4FVNV);
    18313       EXTMGR_FUNC_INIT(glVertexAttribs4dvNV, GLVERTEXATTRIBS4DVNV);
    18314       EXTMGR_FUNC_INIT(glVertexAttribs4ubvNV, GLVERTEXATTRIBS4UBVNV);
    18315
    18316       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program)
    18317     }
    18318     else
    18319     {
    18320       Report (msgExtNotFound, "GL", ext);
    18321     }
    18322   }
    18323
    18326   void InitGL_NV_vertex_program1_1 ()
    18327   {
    18328     if (tested_CS_GL_NV_vertex_program1_1) return;
    18329     if (!extstrGL) return;
    18330     tested_CS_GL_NV_vertex_program1_1 = true;
    18331     const char* ext = "GL_NV_vertex_program1_1";
    18332
    18333     char cfgkey[26 + 23 + 1];
    18334     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18335
    18336     CS_GL_NV_vertex_program1_1 = (strstr (extstrGL, ext) != 0);
    18337
    18338     bool allclear, funcTest;
    18339     (void)funcTest; // shut up "variable unused" warnings
    18340     bool init = CS_GL_NV_vertex_program1_1;
    18341     allclear = true;
    18342     if (init)   // Don't check the functions if ext isn't reported anyway
    18343     {
    18344
    18345       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program1_1)
    18346     }
    18347     else
    18348     {
    18349       Report (msgExtNotFound, "GL", ext);
    18350     }
    18351   }
    18352
    18355   void InitGL_ATI_element_array ()
    18356   {
    18357     if (tested_CS_GL_ATI_element_array) return;
    18358     if (!extstrGL) return;
    18359     tested_CS_GL_ATI_element_array = true;
    18360     const char* ext = "GL_ATI_element_array";
    18361
    18362     char cfgkey[26 + 20 + 1];
    18363     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18364
    18365     CS_GL_ATI_element_array = (strstr (extstrGL, ext) != 0);
    18366
    18367     bool allclear, funcTest;
    18368     (void)funcTest; // shut up "variable unused" warnings
    18369     bool init = CS_GL_ATI_element_array;
    18370     allclear = true;
    18371     if (init)   // Don't check the functions if ext isn't reported anyway
    18372     {
    18373       EXTMGR_FUNC_INIT(glElementPointerATI, GLELEMENTPOINTERATI);
    18374       EXTMGR_FUNC_INIT(glDrawElementArrayATI, GLDRAWELEMENTARRAYATI);
    18375       EXTMGR_FUNC_INIT(glDrawRangeElementArrayATI, GLDRAWRANGEELEMENTARRAYATI);
    18376
    18377       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_element_array)
    18378     }
    18379     else
    18380     {
    18381       Report (msgExtNotFound, "GL", ext);
    18382     }
    18383   }
    18384
    18387   void InitGL_ATI_envmap_bumpmap ()
    18388   {
    18389     if (tested_CS_GL_ATI_envmap_bumpmap) return;
    18390     if (!extstrGL) return;
    18391     tested_CS_GL_ATI_envmap_bumpmap = true;
    18392     const char* ext = "GL_ATI_envmap_bumpmap";
    18393
    18394     char cfgkey[26 + 21 + 1];
    18395     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18396
    18397     CS_GL_ATI_envmap_bumpmap = (strstr (extstrGL, ext) != 0);
    18398
    18399     bool allclear, funcTest;
    18400     (void)funcTest; // shut up "variable unused" warnings
    18401     bool init = CS_GL_ATI_envmap_bumpmap;
    18402     allclear = true;
    18403     if (init)   // Don't check the functions if ext isn't reported anyway
    18404     {
    18405       EXTMGR_FUNC_INIT(glTexBumpParameterivATI, GLTEXBUMPPARAMETERIVATI);
    18406       EXTMGR_FUNC_INIT(glTexBumpParameterfvATI, GLTEXBUMPPARAMETERFVATI);
    18407       EXTMGR_FUNC_INIT(glGetTexBumpParameterivATI, GLGETTEXBUMPPARAMETERIVATI);
    18408       EXTMGR_FUNC_INIT(glGetTexBumpParameterfvATI, GLGETTEXBUMPPARAMETERFVATI);
    18409
    18410       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_envmap_bumpmap)
    18411     }
    18412     else
    18413     {
    18414       Report (msgExtNotFound, "GL", ext);
    18415     }
    18416   }
    18417
    18420   void InitGL_ATI_fragment_shader ()
    18421   {
    18422     if (tested_CS_GL_ATI_fragment_shader) return;
    18423     if (!extstrGL) return;
    18424     tested_CS_GL_ATI_fragment_shader = true;
    18425     const char* ext = "GL_ATI_fragment_shader";
    18426
    18427     char cfgkey[26 + 22 + 1];
    18428     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18429
    18430     CS_GL_ATI_fragment_shader = (strstr (extstrGL, ext) != 0);
    18431
    18432     bool allclear, funcTest;
    18433     (void)funcTest; // shut up "variable unused" warnings
    18434     bool init = CS_GL_ATI_fragment_shader;
    18435     allclear = true;
    18436     if (init)   // Don't check the functions if ext isn't reported anyway
    18437     {
    18438       EXTMGR_FUNC_INIT(glGenFragmentShadersATI, GLGENFRAGMENTSHADERSATI);
    18439       EXTMGR_FUNC_INIT(glBindFragmentShaderATI, GLBINDFRAGMENTSHADERATI);
    18440       EXTMGR_FUNC_INIT(glDeleteFragmentShaderATI, GLDELETEFRAGMENTSHADERATI);
    18441       EXTMGR_FUNC_INIT(glBeginFragmentShaderATI, GLBEGINFRAGMENTSHADERATI);
    18442       EXTMGR_FUNC_INIT(glEndFragmentShaderATI, GLENDFRAGMENTSHADERATI);
    18443       EXTMGR_FUNC_INIT(glPassTexCoordATI, GLPASSTEXCOORDATI);
    18444       EXTMGR_FUNC_INIT(glSampleMapATI, GLSAMPLEMAPATI);
    18445       EXTMGR_FUNC_INIT(glColorFragmentOp1ATI, GLCOLORFRAGMENTOP1ATI);
    18446       EXTMGR_FUNC_INIT(glColorFragmentOp2ATI, GLCOLORFRAGMENTOP2ATI);
    18447       EXTMGR_FUNC_INIT(glColorFragmentOp3ATI, GLCOLORFRAGMENTOP3ATI);
    18448       EXTMGR_FUNC_INIT(glAlphaFragmentOp1ATI, GLALPHAFRAGMENTOP1ATI);
    18449       EXTMGR_FUNC_INIT(glAlphaFragmentOp2ATI, GLALPHAFRAGMENTOP2ATI);
    18450       EXTMGR_FUNC_INIT(glAlphaFragmentOp3ATI, GLALPHAFRAGMENTOP3ATI);
    18451       EXTMGR_FUNC_INIT(glSetFragmentShaderConstantATI, GLSETFRAGMENTSHADERCONSTANTATI);
    18452
    18453       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_fragment_shader)
    18454     }
    18455     else
    18456     {
    18457       Report (msgExtNotFound, "GL", ext);
    18458     }
    18459   }
    18460
    18463   void InitGL_ATI_pn_triangles ()
    18464   {
    18465     if (tested_CS_GL_ATI_pn_triangles) return;
    18466     if (!extstrGL) return;
    18467     tested_CS_GL_ATI_pn_triangles = true;
    18468     const char* ext = "GL_ATI_pn_triangles";
    18469
    18470     char cfgkey[26 + 19 + 1];
    18471     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18472
    18473     CS_GL_ATI_pn_triangles = (strstr (extstrGL, ext) != 0);
    18474
    18475     bool allclear, funcTest;
    18476     (void)funcTest; // shut up "variable unused" warnings
    18477     bool init = CS_GL_ATI_pn_triangles;
    18478     allclear = true;
    18479     if (init)   // Don't check the functions if ext isn't reported anyway
    18480     {
    18481       EXTMGR_FUNC_INIT(glPNTrianglesiATI, GLPNTRIANGLESIATI);
    18482       EXTMGR_FUNC_INIT(glPNTrianglesfATI, GLPNTRIANGLESFATI);
    18483
    18484       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_pn_triangles)
    18485     }
    18486     else
    18487     {
    18488       Report (msgExtNotFound, "GL", ext);
    18489     }
    18490   }
    18491
    18494   void InitGL_ATI_texture_mirror_once ()
    18495   {
    18496     if (tested_CS_GL_ATI_texture_mirror_once) return;
    18497     if (!extstrGL) return;
    18498     tested_CS_GL_ATI_texture_mirror_once = true;
    18499     const char* ext = "GL_ATI_texture_mirror_once";
    18500
    18501     char cfgkey[26 + 26 + 1];
    18502     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18503
    18504     CS_GL_ATI_texture_mirror_once = (strstr (extstrGL, ext) != 0);
    18505
    18506     bool allclear, funcTest;
    18507     (void)funcTest; // shut up "variable unused" warnings
    18508     bool init = CS_GL_ATI_texture_mirror_once;
    18509     allclear = true;
    18510     if (init)   // Don't check the functions if ext isn't reported anyway
    18511     {
    18512
    18513       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_texture_mirror_once)
    18514     }
    18515     else
    18516     {
    18517       Report (msgExtNotFound, "GL", ext);
    18518     }
    18519   }
    18520
    18523   void InitGL_ATI_vertex_array_object ()
    18524   {
    18525     if (tested_CS_GL_ATI_vertex_array_object) return;
    18526     if (!extstrGL) return;
    18527     tested_CS_GL_ATI_vertex_array_object = true;
    18528     const char* ext = "GL_ATI_vertex_array_object";
    18529
    18530     char cfgkey[26 + 26 + 1];
    18531     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18532
    18533     CS_GL_ATI_vertex_array_object = (strstr (extstrGL, ext) != 0);
    18534
    18535     bool allclear, funcTest;
    18536     (void)funcTest; // shut up "variable unused" warnings
    18537     bool init = CS_GL_ATI_vertex_array_object;
    18538     allclear = true;
    18539     if (init)   // Don't check the functions if ext isn't reported anyway
    18540     {
    18541       EXTMGR_FUNC_INIT(glNewObjectBufferATI, GLNEWOBJECTBUFFERATI);
    18542       EXTMGR_FUNC_INIT(glIsObjectBufferATI, GLISOBJECTBUFFERATI);
    18543       EXTMGR_FUNC_INIT(glUpdateObjectBufferATI, GLUPDATEOBJECTBUFFERATI);
    18544       EXTMGR_FUNC_INIT(glGetObjectBufferfvATI, GLGETOBJECTBUFFERFVATI);
    18545       EXTMGR_FUNC_INIT(glGetObjectBufferivATI, GLGETOBJECTBUFFERIVATI);
    18546       EXTMGR_FUNC_INIT(glFreeObjectBufferATI, GLFREEOBJECTBUFFERATI);
    18547       EXTMGR_FUNC_INIT(glArrayObjectATI, GLARRAYOBJECTATI);
    18548       EXTMGR_FUNC_INIT(glGetArrayObjectfvATI, GLGETARRAYOBJECTFVATI);
    18549       EXTMGR_FUNC_INIT(glGetArrayObjectivATI, GLGETARRAYOBJECTIVATI);
    18550       EXTMGR_FUNC_INIT(glVariantArrayObjectATI, GLVARIANTARRAYOBJECTATI);
    18551       EXTMGR_FUNC_INIT(glGetVariantArrayObjectfvATI, GLGETVARIANTARRAYOBJECTFVATI);
    18552       EXTMGR_FUNC_INIT(glGetVariantArrayObjectivATI, GLGETVARIANTARRAYOBJECTIVATI);
    18553
    18554       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_array_object)
    18555     }
    18556     else
    18557     {
    18558       Report (msgExtNotFound, "GL", ext);
    18559     }
    18560   }
    18561
    18564   void InitGL_ATI_vertex_attrib_array_object ()
    18565   {
    18566     if (tested_CS_GL_ATI_vertex_attrib_array_object) return;
    18567     if (!extstrGL) return;
    18568     tested_CS_GL_ATI_vertex_attrib_array_object = true;
    18569     const char* ext = "GL_ATI_vertex_attrib_array_object";
    18570
    18571     char cfgkey[26 + 33 + 1];
    18572     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18573
    18574     CS_GL_ATI_vertex_attrib_array_object = (strstr (extstrGL, ext) != 0);
    18575
    18576     bool allclear, funcTest;
    18577     (void)funcTest; // shut up "variable unused" warnings
    18578     bool init = CS_GL_ATI_vertex_attrib_array_object;
    18579     allclear = true;
    18580     if (init)   // Don't check the functions if ext isn't reported anyway
    18581     {
    18582       EXTMGR_FUNC_INIT(glVertexAttribArrayObjectATI, GLVERTEXATTRIBARRAYOBJECTATI);
    18583       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectfvATI, GLGETVERTEXATTRIBARRAYOBJECTFVATI);
    18584       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectivATI, GLGETVERTEXATTRIBARRAYOBJECTIVATI);
    18585
    18586       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_attrib_array_object)
    18587     }
    18588     else
    18589     {
    18590       Report (msgExtNotFound, "GL", ext);
    18591     }
    18592   }
    18593
    18596   void InitGL_ATI_vertex_streams ()
    18597   {
    18598     if (tested_CS_GL_ATI_vertex_streams) return;
    18599     if (!extstrGL) return;
    18600     tested_CS_GL_ATI_vertex_streams = true;
    18601     const char* ext = "GL_ATI_vertex_streams";
    18602
    18603     char cfgkey[26 + 21 + 1];
    18604     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18605
    18606     CS_GL_ATI_vertex_streams = (strstr (extstrGL, ext) != 0);
    18607
    18608     bool allclear, funcTest;
    18609     (void)funcTest; // shut up "variable unused" warnings
    18610     bool init = CS_GL_ATI_vertex_streams;
    18611     allclear = true;
    18612     if (init)   // Don't check the functions if ext isn't reported anyway
    18613     {
    18614       EXTMGR_FUNC_INIT(glVertexStream1s, GLVERTEXSTREAM1S);
    18615       EXTMGR_FUNC_INIT(glVertexStream1i, GLVERTEXSTREAM1I);
    18616       EXTMGR_FUNC_INIT(glVertexStream1f, GLVERTEXSTREAM1F);
    18617       EXTMGR_FUNC_INIT(glVertexStream1d, GLVERTEXSTREAM1D);
    18618       EXTMGR_FUNC_INIT(glVertexStream1sv, GLVERTEXSTREAM1SV);
    18619       EXTMGR_FUNC_INIT(glVertexStream1iv, GLVERTEXSTREAM1IV);
    18620       EXTMGR_FUNC_INIT(glVertexStream1fv, GLVERTEXSTREAM1FV);
    18621       EXTMGR_FUNC_INIT(glVertexStream1dv, GLVERTEXSTREAM1DV);
    18622       EXTMGR_FUNC_INIT(glVertexStream2s, GLVERTEXSTREAM2S);
    18623       EXTMGR_FUNC_INIT(glVertexStream2i, GLVERTEXSTREAM2I);
    18624       EXTMGR_FUNC_INIT(glVertexStream2f, GLVERTEXSTREAM2F);
    18625       EXTMGR_FUNC_INIT(glVertexStream2d, GLVERTEXSTREAM2D);
    18626       EXTMGR_FUNC_INIT(glVertexStream2sv, GLVERTEXSTREAM2SV);
    18627       EXTMGR_FUNC_INIT(glVertexStream2iv, GLVERTEXSTREAM2IV);
    18628       EXTMGR_FUNC_INIT(glVertexStream2fv, GLVERTEXSTREAM2FV);
    18629       EXTMGR_FUNC_INIT(glVertexStream2dv, GLVERTEXSTREAM2DV);
    18630       EXTMGR_FUNC_INIT(glVertexStream3s, GLVERTEXSTREAM3S);
    18631       EXTMGR_FUNC_INIT(glVertexStream3i, GLVERTEXSTREAM3I);
    18632       EXTMGR_FUNC_INIT(glVertexStream3f, GLVERTEXSTREAM3F);
    18633       EXTMGR_FUNC_INIT(glVertexStream3d, GLVERTEXSTREAM3D);
    18634       EXTMGR_FUNC_INIT(glVertexStream3sv, GLVERTEXSTREAM3SV);
    18635       EXTMGR_FUNC_INIT(glVertexStream3iv, GLVERTEXSTREAM3IV);
    18636       EXTMGR_FUNC_INIT(glVertexStream3fv, GLVERTEXSTREAM3FV);
    18637       EXTMGR_FUNC_INIT(glVertexStream3dv, GLVERTEXSTREAM3DV);
    18638       EXTMGR_FUNC_INIT(glVertexStream4s, GLVERTEXSTREAM4S);
    18639       EXTMGR_FUNC_INIT(glVertexStream4i, GLVERTEXSTREAM4I);
    18640       EXTMGR_FUNC_INIT(glVertexStream4f, GLVERTEXSTREAM4F);
    18641       EXTMGR_FUNC_INIT(glVertexStream4d, GLVERTEXSTREAM4D);
    18642       EXTMGR_FUNC_INIT(glVertexStream4sv, GLVERTEXSTREAM4SV);
    18643       EXTMGR_FUNC_INIT(glVertexStream4iv, GLVERTEXSTREAM4IV);
    18644       EXTMGR_FUNC_INIT(glVertexStream4fv, GLVERTEXSTREAM4FV);
    18645       EXTMGR_FUNC_INIT(glVertexStream4dv, GLVERTEXSTREAM4DV);
    18646       EXTMGR_FUNC_INIT(glNormalStream3b, GLNORMALSTREAM3B);
    18647       EXTMGR_FUNC_INIT(glNormalStream3s, GLNORMALSTREAM3S);
    18648       EXTMGR_FUNC_INIT(glNormalStream3i, GLNORMALSTREAM3I);
    18649       EXTMGR_FUNC_INIT(glNormalStream3f, GLNORMALSTREAM3F);
    18650       EXTMGR_FUNC_INIT(glNormalStream3d, GLNORMALSTREAM3D);
    18651       EXTMGR_FUNC_INIT(glNormalStream3bv, GLNORMALSTREAM3BV);
    18652       EXTMGR_FUNC_INIT(glNormalStream3sv, GLNORMALSTREAM3SV);
    18653       EXTMGR_FUNC_INIT(glNormalStream3iv, GLNORMALSTREAM3IV);
    18654       EXTMGR_FUNC_INIT(glNormalStream3fv, GLNORMALSTREAM3FV);
    18655       EXTMGR_FUNC_INIT(glNormalStream3dv, GLNORMALSTREAM3DV);
    18656       EXTMGR_FUNC_INIT(glClientActiveVertexStream, GLCLIENTACTIVEVERTEXSTREAM);
    18657       EXTMGR_FUNC_INIT(glVertexBlendEnvi, GLVERTEXBLENDENVI);
    18658       EXTMGR_FUNC_INIT(glVertexBlendEnvf, GLVERTEXBLENDENVF);
    18659
    18660       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_streams)
    18661     }
    18662     else
    18663     {
    18664       Report (msgExtNotFound, "GL", ext);
    18665     }
    18666   }
    18667
    18668 #ifdef _WIN32
    18669
    18671   void InitWGL_I3D_image_buffer (HDC hDC)
    18672   {
    18673     if (tested_CS_WGL_I3D_image_buffer) return;
    18674     tested_CS_WGL_I3D_image_buffer = true;
    18675     const char* ext = "WGL_I3D_image_buffer";
    18676     char cfgkey[26 + 20 + 1];
    18677     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18678
    18679     (void)hDC;      // avoid `unused variable' warning.
    18680     SetupWGLextStr (hDC);
    18681     if (!extstrWGL) return;
    18682     CS_WGL_I3D_image_buffer = (strstr (extstrWGL, ext) != 0);
    18683
    18684     bool allclear, funcTest;
    18685     (void)funcTest; // avoid `unused variable' warning.
    18686     bool init = CS_WGL_I3D_image_buffer;
    18687     allclear = true;
    18688     if (init)
    18689     {
    18690       EXTMGR_FUNC_INIT(wglCreateImageBufferI3D, WGLCREATEIMAGEBUFFERI3D);
    18691       EXTMGR_FUNC_INIT(wglDestroyImageBufferI3D, WGLDESTROYIMAGEBUFFERI3D);
    18692       EXTMGR_FUNC_INIT(wglAssociateImageBufferEventsI3D, WGLASSOCIATEIMAGEBUFFEREVENTSI3D);
    18693       EXTMGR_FUNC_INIT(wglReleaseImageBufferEventsI3D, WGLRELEASEIMAGEBUFFEREVENTSI3D);
    18694
    18695       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_image_buffer)
    18696       CS_WGL_I3D_image_buffer &= allclear;
    18697     }
    18698     else
    18699     {
    18700       Report (msgExtNotFound, "WGL", ext);
    18701     }
    18702   }
    18703 #endif
    18704
    18705 #ifdef _WIN32
    18706
    18708   void InitWGL_I3D_swap_frame_lock (HDC hDC)
    18709   {
    18710     if (tested_CS_WGL_I3D_swap_frame_lock) return;
    18711     tested_CS_WGL_I3D_swap_frame_lock = true;
    18712     const char* ext = "WGL_I3D_swap_frame_lock";
    18713     char cfgkey[26 + 23 + 1];
    18714     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18715
    18716     (void)hDC;      // avoid `unused variable' warning.
    18717     SetupWGLextStr (hDC);
    18718     if (!extstrWGL) return;
    18719     CS_WGL_I3D_swap_frame_lock = (strstr (extstrWGL, ext) != 0);
    18720
    18721     bool allclear, funcTest;
    18722     (void)funcTest; // avoid `unused variable' warning.
    18723     bool init = CS_WGL_I3D_swap_frame_lock;
    18724     allclear = true;
    18725     if (init)
    18726     {
    18727       EXTMGR_FUNC_INIT(wglEnableFrameLockI3D, WGLENABLEFRAMELOCKI3D);
    18728       EXTMGR_FUNC_INIT(wglDisableFrameLockI3D, WGLDISABLEFRAMELOCKI3D);
    18729       EXTMGR_FUNC_INIT(wglIsEnabledFrameLockI3D, WGLISENABLEDFRAMELOCKI3D);
    18730       EXTMGR_FUNC_INIT(wglQueryFrameLockMasterI3D, WGLQUERYFRAMELOCKMASTERI3D);
    18731
    18732       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_lock)
    18733       CS_WGL_I3D_swap_frame_lock &= allclear;
    18734     }
    18735     else
    18736     {
    18737       Report (msgExtNotFound, "WGL", ext);
    18738     }
    18739   }
    18740 #endif
    18741
    18742 #ifdef _WIN32
    18743
    18745   void InitWGL_I3D_swap_frame_usage (HDC hDC)
    18746   {
    18747     if (tested_CS_WGL_I3D_swap_frame_usage) return;
    18748     tested_CS_WGL_I3D_swap_frame_usage = true;
    18749     const char* ext = "WGL_I3D_swap_frame_usage";
    18750     char cfgkey[26 + 24 + 1];
    18751     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18752
    18753     (void)hDC;      // avoid `unused variable' warning.
    18754     SetupWGLextStr (hDC);
    18755     if (!extstrWGL) return;
    18756     CS_WGL_I3D_swap_frame_usage = (strstr (extstrWGL, ext) != 0);
    18757
    18758     bool allclear, funcTest;
    18759     (void)funcTest; // avoid `unused variable' warning.
    18760     bool init = CS_WGL_I3D_swap_frame_usage;
    18761     allclear = true;
    18762     if (init)
    18763     {
    18764       EXTMGR_FUNC_INIT(wglGetFrameUsageI3D, WGLGETFRAMEUSAGEI3D);
    18765       EXTMGR_FUNC_INIT(wglBeginFrameTrackingI3D, WGLBEGINFRAMETRACKINGI3D);
    18766       EXTMGR_FUNC_INIT(wglEndFrameTrackingI3D, WGLENDFRAMETRACKINGI3D);
    18767       EXTMGR_FUNC_INIT(wglQueryFrameTrackingI3D, WGLQUERYFRAMETRACKINGI3D);
    18768
    18769       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_usage)
    18770       CS_WGL_I3D_swap_frame_usage &= allclear;
    18771     }
    18772     else
    18773     {
    18774       Report (msgExtNotFound, "WGL", ext);
    18775     }
    18776   }
    18777 #endif
    18778
    18781   void InitGL_3DFX_texture_compression_FXT1 ()
    18782   {
    18783     if (tested_CS_GL_3DFX_texture_compression_FXT1) return;
    18784     if (!extstrGL) return;
    18785     tested_CS_GL_3DFX_texture_compression_FXT1 = true;
    18786     const char* ext = "GL_3DFX_texture_compression_FXT1";
    18787
    18788     char cfgkey[26 + 32 + 1];
    18789     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18790
    18791     CS_GL_3DFX_texture_compression_FXT1 = (strstr (extstrGL, ext) != 0);
    18792
    18793     bool allclear, funcTest;
    18794     (void)funcTest; // shut up "variable unused" warnings
    18795     bool init = CS_GL_3DFX_texture_compression_FXT1;
    18796     allclear = true;
    18797     if (init)   // Don't check the functions if ext isn't reported anyway
    18798     {
    18799
    18800       EXTMGR_REPORT_INIT_RESULT("GL", GL_3DFX_texture_compression_FXT1)
    18801     }
    18802     else
    18803     {
    18804       Report (msgExtNotFound, "GL", ext);
    18805     }
    18806   }
    18807
    18810   void InitGL_IBM_cull_vertex ()
    18811   {
    18812     if (tested_CS_GL_IBM_cull_vertex) return;
    18813     if (!extstrGL) return;
    18814     tested_CS_GL_IBM_cull_vertex = true;
    18815     const char* ext = "GL_IBM_cull_vertex";
    18816
    18817     char cfgkey[26 + 18 + 1];
    18818     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18819
    18820     CS_GL_IBM_cull_vertex = (strstr (extstrGL, ext) != 0);
    18821
    18822     bool allclear, funcTest;
    18823     (void)funcTest; // shut up "variable unused" warnings
    18824     bool init = CS_GL_IBM_cull_vertex;
    18825     allclear = true;
    18826     if (init)   // Don't check the functions if ext isn't reported anyway
    18827     {
    18828
    18829       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_cull_vertex)
    18830     }
    18831     else
    18832     {
    18833       Report (msgExtNotFound, "GL", ext);
    18834     }
    18835   }
    18836
    18839   void InitGL_IBM_multimode_draw_arrays ()
    18840   {
    18841     if (tested_CS_GL_IBM_multimode_draw_arrays) return;
    18842     if (!extstrGL) return;
    18843     tested_CS_GL_IBM_multimode_draw_arrays = true;
    18844     const char* ext = "GL_IBM_multimode_draw_arrays";
    18845
    18846     char cfgkey[26 + 28 + 1];
    18847     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18848
    18849     CS_GL_IBM_multimode_draw_arrays = (strstr (extstrGL, ext) != 0);
    18850
    18851     bool allclear, funcTest;
    18852     (void)funcTest; // shut up "variable unused" warnings
    18853     bool init = CS_GL_IBM_multimode_draw_arrays;
    18854     allclear = true;
    18855     if (init)   // Don't check the functions if ext isn't reported anyway
    18856     {
    18857       EXTMGR_FUNC_INIT(glMultiModeDrawArraysIBM, GLMULTIMODEDRAWARRAYSIBM);
    18858       EXTMGR_FUNC_INIT(glMultiModeDrawElementsIBM, GLMULTIMODEDRAWELEMENTSIBM);
    18859
    18860       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_multimode_draw_arrays)
    18861     }
    18862     else
    18863     {
    18864       Report (msgExtNotFound, "GL", ext);
    18865     }
    18866   }
    18867
    18870   void InitGL_IBM_raster_pos_clip ()
    18871   {
    18872     if (tested_CS_GL_IBM_raster_pos_clip) return;
    18873     if (!extstrGL) return;
    18874     tested_CS_GL_IBM_raster_pos_clip = true;
    18875     const char* ext = "GL_IBM_raster_pos_clip";
    18876
    18877     char cfgkey[26 + 22 + 1];
    18878     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18879
    18880     CS_GL_IBM_raster_pos_clip = (strstr (extstrGL, ext) != 0);
    18881
    18882     bool allclear, funcTest;
    18883     (void)funcTest; // shut up "variable unused" warnings
    18884     bool init = CS_GL_IBM_raster_pos_clip;
    18885     allclear = true;
    18886     if (init)   // Don't check the functions if ext isn't reported anyway
    18887     {
    18888
    18889       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_raster_pos_clip)
    18890     }
    18891     else
    18892     {
    18893       Report (msgExtNotFound, "GL", ext);
    18894     }
    18895   }
    18896
    18899   void InitGL_IBM_texture_mirrored_repeat ()
    18900   {
    18901     if (tested_CS_GL_IBM_texture_mirrored_repeat) return;
    18902     if (!extstrGL) return;
    18903     tested_CS_GL_IBM_texture_mirrored_repeat = true;
    18904     const char* ext = "GL_IBM_texture_mirrored_repeat";
    18905
    18906     char cfgkey[26 + 30 + 1];
    18907     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18908
    18909     CS_GL_IBM_texture_mirrored_repeat = (strstr (extstrGL, ext) != 0);
    18910
    18911     bool allclear, funcTest;
    18912     (void)funcTest; // shut up "variable unused" warnings
    18913     bool init = CS_GL_IBM_texture_mirrored_repeat;
    18914     allclear = true;
    18915     if (init)   // Don't check the functions if ext isn't reported anyway
    18916     {
    18917
    18918       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_texture_mirrored_repeat)
    18919     }
    18920     else
    18921     {
    18922       Report (msgExtNotFound, "GL", ext);
    18923     }
    18924   }
    18925
    18928   void InitGL_IBM_vertex_array_lists ()
    18929   {
    18930     if (tested_CS_GL_IBM_vertex_array_lists) return;
    18931     if (!extstrGL) return;
    18932     tested_CS_GL_IBM_vertex_array_lists = true;
    18933     const char* ext = "GL_IBM_vertex_array_lists";
    18934
    18935     char cfgkey[26 + 25 + 1];
    18936     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18937
    18938     CS_GL_IBM_vertex_array_lists = (strstr (extstrGL, ext) != 0);
    18939
    18940     bool allclear, funcTest;
    18941     (void)funcTest; // shut up "variable unused" warnings
    18942     bool init = CS_GL_IBM_vertex_array_lists;
    18943     allclear = true;
    18944     if (init)   // Don't check the functions if ext isn't reported anyway
    18945     {
    18946       EXTMGR_FUNC_INIT(glColorPointerListIBM, GLCOLORPOINTERLISTIBM);
    18947       EXTMGR_FUNC_INIT(glSecondaryColorPointerListIBM, GLSECONDARYCOLORPOINTERLISTIBM);
    18948       EXTMGR_FUNC_INIT(glEdgeFlagPointerListIBM, GLEDGEFLAGPOINTERLISTIBM);
    18949       EXTMGR_FUNC_INIT(glFogCoordPointerListIBM, GLFOGCOORDPOINTERLISTIBM);
    18950       EXTMGR_FUNC_INIT(glNormalPointerListIBM, GLNORMALPOINTERLISTIBM);
    18951       EXTMGR_FUNC_INIT(glTexCoordPointerListIBM, GLTEXCOORDPOINTERLISTIBM);
    18952       EXTMGR_FUNC_INIT(glVertexPointerListIBM, GLVERTEXPOINTERLISTIBM);
    18953
    18954       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_vertex_array_lists)
    18955     }
    18956     else
    18957     {
    18958       Report (msgExtNotFound, "GL", ext);
    18959     }
    18960   }
    18961
    18964   void InitGL_MESA_resize_buffers ()
    18965   {
    18966     if (tested_CS_GL_MESA_resize_buffers) return;
    18967     if (!extstrGL) return;
    18968     tested_CS_GL_MESA_resize_buffers = true;
    18969     const char* ext = "GL_MESA_resize_buffers";
    18970
    18971     char cfgkey[26 + 22 + 1];
    18972     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    18973
    18974     CS_GL_MESA_resize_buffers = (strstr (extstrGL, ext) != 0);
    18975
    18976     bool allclear, funcTest;
    18977     (void)funcTest; // shut up "variable unused" warnings
    18978     bool init = CS_GL_MESA_resize_buffers;
    18979     allclear = true;
    18980     if (init)   // Don't check the functions if ext isn't reported anyway
    18981     {
    18982       EXTMGR_FUNC_INIT(glResizeBuffersMESA, GLRESIZEBUFFERSMESA);
    18983
    18984       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_resize_buffers)
    18985     }
    18986     else
    18987     {
    18988       Report (msgExtNotFound, "GL", ext);
    18989     }
    18990   }
    18991
    18994   void InitGL_MESA_window_pos ()
    18995   {
    18996     if (tested_CS_GL_MESA_window_pos) return;
    18997     if (!extstrGL) return;
    18998     tested_CS_GL_MESA_window_pos = true;
    18999     const char* ext = "GL_MESA_window_pos";
    19000
    19001     char cfgkey[26 + 18 + 1];
    19002     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19003
    19004     CS_GL_MESA_window_pos = (strstr (extstrGL, ext) != 0);
    19005
    19006     bool allclear, funcTest;
    19007     (void)funcTest; // shut up "variable unused" warnings
    19008     bool init = CS_GL_MESA_window_pos;
    19009     allclear = true;
    19010     if (init)   // Don't check the functions if ext isn't reported anyway
    19011     {
    19012       EXTMGR_FUNC_INIT(glWindowPos2dMESA, GLWINDOWPOS2DMESA);
    19013       EXTMGR_FUNC_INIT(glWindowPos2fMESA, GLWINDOWPOS2FMESA);
    19014       EXTMGR_FUNC_INIT(glWindowPos2iMESA, GLWINDOWPOS2IMESA);
    19015       EXTMGR_FUNC_INIT(glWindowPos2sMESA, GLWINDOWPOS2SMESA);
    19016       EXTMGR_FUNC_INIT(glWindowPos2ivMESA, GLWINDOWPOS2IVMESA);
    19017       EXTMGR_FUNC_INIT(glWindowPos2svMESA, GLWINDOWPOS2SVMESA);
    19018       EXTMGR_FUNC_INIT(glWindowPos2fvMESA, GLWINDOWPOS2FVMESA);
    19019       EXTMGR_FUNC_INIT(glWindowPos2dvMESA, GLWINDOWPOS2DVMESA);
    19020       EXTMGR_FUNC_INIT(glWindowPos3iMESA, GLWINDOWPOS3IMESA);
    19021       EXTMGR_FUNC_INIT(glWindowPos3sMESA, GLWINDOWPOS3SMESA);
    19022       EXTMGR_FUNC_INIT(glWindowPos3fMESA, GLWINDOWPOS3FMESA);
    19023       EXTMGR_FUNC_INIT(glWindowPos3dMESA, GLWINDOWPOS3DMESA);
    19024       EXTMGR_FUNC_INIT(glWindowPos3ivMESA, GLWINDOWPOS3IVMESA);
    19025       EXTMGR_FUNC_INIT(glWindowPos3svMESA, GLWINDOWPOS3SVMESA);
    19026       EXTMGR_FUNC_INIT(glWindowPos3fvMESA, GLWINDOWPOS3FVMESA);
    19027       EXTMGR_FUNC_INIT(glWindowPos3dvMESA, GLWINDOWPOS3DVMESA);
    19028       EXTMGR_FUNC_INIT(glWindowPos4iMESA, GLWINDOWPOS4IMESA);
    19029       EXTMGR_FUNC_INIT(glWindowPos4sMESA, GLWINDOWPOS4SMESA);
    19030       EXTMGR_FUNC_INIT(glWindowPos4fMESA, GLWINDOWPOS4FMESA);
    19031       EXTMGR_FUNC_INIT(glWindowPos4dMESA, GLWINDOWPOS4DMESA);
    19032       EXTMGR_FUNC_INIT(glWindowPos4ivMESA, GLWINDOWPOS4IVMESA);
    19033       EXTMGR_FUNC_INIT(glWindowPos4svMESA, GLWINDOWPOS4SVMESA);
    19034       EXTMGR_FUNC_INIT(glWindowPos4fvMESA, GLWINDOWPOS4FVMESA);
    19035       EXTMGR_FUNC_INIT(glWindowPos4dvMESA, GLWINDOWPOS4DVMESA);
    19036
    19037       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_window_pos)
    19038     }
    19039     else
    19040     {
    19041       Report (msgExtNotFound, "GL", ext);
    19042     }
    19043   }
    19044
    19047   void InitGL_OML_interlace ()
    19048   {
    19049     if (tested_CS_GL_OML_interlace) return;
    19050     if (!extstrGL) return;
    19051     tested_CS_GL_OML_interlace = true;
    19052     const char* ext = "GL_OML_interlace";
    19053
    19054     char cfgkey[26 + 16 + 1];
    19055     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19056
    19057     CS_GL_OML_interlace = (strstr (extstrGL, ext) != 0);
    19058
    19059     bool allclear, funcTest;
    19060     (void)funcTest; // shut up "variable unused" warnings
    19061     bool init = CS_GL_OML_interlace;
    19062     allclear = true;
    19063     if (init)   // Don't check the functions if ext isn't reported anyway
    19064     {
    19065
    19066       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_interlace)
    19067     }
    19068     else
    19069     {
    19070       Report (msgExtNotFound, "GL", ext);
    19071     }
    19072   }
    19073
    19076   void InitGL_OML_resample ()
    19077   {
    19078     if (tested_CS_GL_OML_resample) return;
    19079     if (!extstrGL) return;
    19080     tested_CS_GL_OML_resample = true;
    19081     const char* ext = "GL_OML_resample";
    19082
    19083     char cfgkey[26 + 15 + 1];
    19084     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19085
    19086     CS_GL_OML_resample = (strstr (extstrGL, ext) != 0);
    19087
    19088     bool allclear, funcTest;
    19089     (void)funcTest; // shut up "variable unused" warnings
    19090     bool init = CS_GL_OML_resample;
    19091     allclear = true;
    19092     if (init)   // Don't check the functions if ext isn't reported anyway
    19093     {
    19094
    19095       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_resample)
    19096     }
    19097     else
    19098     {
    19099       Report (msgExtNotFound, "GL", ext);
    19100     }
    19101   }
    19102
    19105   void InitGL_OML_subsample ()
    19106   {
    19107     if (tested_CS_GL_OML_subsample) return;
    19108     if (!extstrGL) return;
    19109     tested_CS_GL_OML_subsample = true;
    19110     const char* ext = "GL_OML_subsample";
    19111
    19112     char cfgkey[26 + 16 + 1];
    19113     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19114
    19115     CS_GL_OML_subsample = (strstr (extstrGL, ext) != 0);
    19116
    19117     bool allclear, funcTest;
    19118     (void)funcTest; // shut up "variable unused" warnings
    19119     bool init = CS_GL_OML_subsample;
    19120     allclear = true;
    19121     if (init)   // Don't check the functions if ext isn't reported anyway
    19122     {
    19123
    19124       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_subsample)
    19125     }
    19126     else
    19127     {
    19128       Report (msgExtNotFound, "GL", ext);
    19129     }
    19130   }
    19131
    19134   void InitGL_SGIS_generate_mipmap ()
    19135   {
    19136     if (tested_CS_GL_SGIS_generate_mipmap) return;
    19137     if (!extstrGL) return;
    19138     tested_CS_GL_SGIS_generate_mipmap = true;
    19139     const char* ext = "GL_SGIS_generate_mipmap";
    19140
    19141     char cfgkey[26 + 23 + 1];
    19142     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19143
    19144     CS_GL_SGIS_generate_mipmap = (strstr (extstrGL, ext) != 0);
    19145
    19146     bool allclear, funcTest;
    19147     (void)funcTest; // shut up "variable unused" warnings
    19148     bool init = CS_GL_SGIS_generate_mipmap;
    19149     allclear = true;
    19150     if (init)   // Don't check the functions if ext isn't reported anyway
    19151     {
    19152
    19153       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_generate_mipmap)
    19154     }
    19155     else
    19156     {
    19157       Report (msgExtNotFound, "GL", ext);
    19158     }
    19159   }
    19160
    19163   void InitGL_SGIS_multisample ()
    19164   {
    19165     if (tested_CS_GL_SGIS_multisample) return;
    19166     if (!extstrGL) return;
    19167     tested_CS_GL_SGIS_multisample = true;
    19168     const char* ext = "GL_SGIS_multisample";
    19169
    19170     char cfgkey[26 + 19 + 1];
    19171     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19172
    19173     CS_GL_SGIS_multisample = (strstr (extstrGL, ext) != 0);
    19174
    19175     bool allclear, funcTest;
    19176     (void)funcTest; // shut up "variable unused" warnings
    19177     bool init = CS_GL_SGIS_multisample;
    19178     allclear = true;
    19179     if (init)   // Don't check the functions if ext isn't reported anyway
    19180     {
    19181       EXTMGR_FUNC_INIT(glSampleMaskSGIS, GLSAMPLEMASKSGIS);
    19182       EXTMGR_FUNC_INIT(glSamplePatternSGIS, GLSAMPLEPATTERNSGIS);
    19183
    19184       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_multisample)
    19185     }
    19186     else
    19187     {
    19188       Report (msgExtNotFound, "GL", ext);
    19189     }
    19190   }
    19191
    19194   void InitGL_SGIS_pixel_texture ()
    19195   {
    19196     if (tested_CS_GL_SGIS_pixel_texture) return;
    19197     if (!extstrGL) return;
    19198     tested_CS_GL_SGIS_pixel_texture = true;
    19199     const char* ext = "GL_SGIS_pixel_texture";
    19200
    19201     char cfgkey[26 + 21 + 1];
    19202     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19203
    19204     CS_GL_SGIS_pixel_texture = (strstr (extstrGL, ext) != 0);
    19205
    19206     bool allclear, funcTest;
    19207     (void)funcTest; // shut up "variable unused" warnings
    19208     bool init = CS_GL_SGIS_pixel_texture;
    19209     allclear = true;
    19210     if (init)   // Don't check the functions if ext isn't reported anyway
    19211     {
    19212       EXTMGR_FUNC_INIT(glPixelTexGenParameteriSGIS, GLPIXELTEXGENPARAMETERISGIS);
    19213       EXTMGR_FUNC_INIT(glPixelTexGenParameterfSGIS, GLPIXELTEXGENPARAMETERFSGIS);
    19214       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterivSGIS, GLGETPIXELTEXGENPARAMETERIVSGIS);
    19215       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterfvSGIS, GLGETPIXELTEXGENPARAMETERFVSGIS);
    19216
    19217       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_pixel_texture)
    19218     }
    19219     else
    19220     {
    19221       Report (msgExtNotFound, "GL", ext);
    19222     }
    19223   }
    19224
    19227   void InitGL_SGIS_texture_border_clamp ()
    19228   {
    19229     if (tested_CS_GL_SGIS_texture_border_clamp) return;
    19230     if (!extstrGL) return;
    19231     tested_CS_GL_SGIS_texture_border_clamp = true;
    19232     const char* ext = "GL_SGIS_texture_border_clamp";
    19233
    19234     char cfgkey[26 + 28 + 1];
    19235     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19236
    19237     CS_GL_SGIS_texture_border_clamp = (strstr (extstrGL, ext) != 0);
    19238
    19239     bool allclear, funcTest;
    19240     (void)funcTest; // shut up "variable unused" warnings
    19241     bool init = CS_GL_SGIS_texture_border_clamp;
    19242     allclear = true;
    19243     if (init)   // Don't check the functions if ext isn't reported anyway
    19244     {
    19245
    19246       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_border_clamp)
    19247     }
    19248     else
    19249     {
    19250       Report (msgExtNotFound, "GL", ext);
    19251     }
    19252   }
    19253
    19256   void InitGL_SGIS_texture_color_mask ()
    19257   {
    19258     if (tested_CS_GL_SGIS_texture_color_mask) return;
    19259     if (!extstrGL) return;
    19260     tested_CS_GL_SGIS_texture_color_mask = true;
    19261     const char* ext = "GL_SGIS_texture_color_mask";
    19262
    19263     char cfgkey[26 + 26 + 1];
    19264     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19265
    19266     CS_GL_SGIS_texture_color_mask = (strstr (extstrGL, ext) != 0);
    19267
    19268     bool allclear, funcTest;
    19269     (void)funcTest; // shut up "variable unused" warnings
    19270     bool init = CS_GL_SGIS_texture_color_mask;
    19271     allclear = true;
    19272     if (init)   // Don't check the functions if ext isn't reported anyway
    19273     {
    19274       EXTMGR_FUNC_INIT(glTextureColorMaskSGIS, GLTEXTURECOLORMASKSGIS);
    19275
    19276       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_color_mask)
    19277     }
    19278     else
    19279     {
    19280       Report (msgExtNotFound, "GL", ext);
    19281     }
    19282   }
    19283
    19286   void InitGL_SGIS_texture_edge_clamp ()
    19287   {
    19288     if (tested_CS_GL_SGIS_texture_edge_clamp) return;
    19289     if (!extstrGL) return;
    19290     tested_CS_GL_SGIS_texture_edge_clamp = true;
    19291     const char* ext = "GL_SGIS_texture_edge_clamp";
    19292
    19293     char cfgkey[26 + 26 + 1];
    19294     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19295
    19296     CS_GL_SGIS_texture_edge_clamp = (strstr (extstrGL, ext) != 0);
    19297
    19298     bool allclear, funcTest;
    19299     (void)funcTest; // shut up "variable unused" warnings
    19300     bool init = CS_GL_SGIS_texture_edge_clamp;
    19301     allclear = true;
    19302     if (init)   // Don't check the functions if ext isn't reported anyway
    19303     {
    19304
    19305       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_edge_clamp)
    19306     }
    19307     else
    19308     {
    19309       Report (msgExtNotFound, "GL", ext);
    19310     }
    19311   }
    19312
    19315   void InitGL_SGIS_texture_lod ()
    19316   {
    19317     if (tested_CS_GL_SGIS_texture_lod) return;
    19318     if (!extstrGL) return;
    19319     tested_CS_GL_SGIS_texture_lod = true;
    19320     const char* ext = "GL_SGIS_texture_lod";
    19321
    19322     char cfgkey[26 + 19 + 1];
    19323     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19324
    19325     CS_GL_SGIS_texture_lod = (strstr (extstrGL, ext) != 0);
    19326
    19327     bool allclear, funcTest;
    19328     (void)funcTest; // shut up "variable unused" warnings
    19329     bool init = CS_GL_SGIS_texture_lod;
    19330     allclear = true;
    19331     if (init)   // Don't check the functions if ext isn't reported anyway
    19332     {
    19333
    19334       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_lod)
    19335     }
    19336     else
    19337     {
    19338       Report (msgExtNotFound, "GL", ext);
    19339     }
    19340   }
    19341
    19344   void InitGL_SGIS_depth_texture ()
    19345   {
    19346     if (tested_CS_GL_SGIS_depth_texture) return;
    19347     if (!extstrGL) return;
    19348     tested_CS_GL_SGIS_depth_texture = true;
    19349     const char* ext = "GL_SGIS_depth_texture";
    19350
    19351     char cfgkey[26 + 21 + 1];
    19352     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19353
    19354     CS_GL_SGIS_depth_texture = (strstr (extstrGL, ext) != 0);
    19355
    19356     bool allclear, funcTest;
    19357     (void)funcTest; // shut up "variable unused" warnings
    19358     bool init = CS_GL_SGIS_depth_texture;
    19359     allclear = true;
    19360     if (init)   // Don't check the functions if ext isn't reported anyway
    19361     {
    19362
    19363       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_depth_texture)
    19364     }
    19365     else
    19366     {
    19367       Report (msgExtNotFound, "GL", ext);
    19368     }
    19369   }
    19370
    19373   void InitGL_SGIX_fog_offset ()
    19374   {
    19375     if (tested_CS_GL_SGIX_fog_offset) return;
    19376     if (!extstrGL) return;
    19377     tested_CS_GL_SGIX_fog_offset = true;
    19378     const char* ext = "GL_SGIX_fog_offset";
    19379
    19380     char cfgkey[26 + 18 + 1];
    19381     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19382
    19383     CS_GL_SGIX_fog_offset = (strstr (extstrGL, ext) != 0);
    19384
    19385     bool allclear, funcTest;
    19386     (void)funcTest; // shut up "variable unused" warnings
    19387     bool init = CS_GL_SGIX_fog_offset;
    19388     allclear = true;
    19389     if (init)   // Don't check the functions if ext isn't reported anyway
    19390     {
    19391
    19392       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_fog_offset)
    19393     }
    19394     else
    19395     {
    19396       Report (msgExtNotFound, "GL", ext);
    19397     }
    19398   }
    19399
    19402   void InitGL_SGIX_interlace ()
    19403   {
    19404     if (tested_CS_GL_SGIX_interlace) return;
    19405     if (!extstrGL) return;
    19406     tested_CS_GL_SGIX_interlace = true;
    19407     const char* ext = "GL_SGIX_interlace";
    19408
    19409     char cfgkey[26 + 17 + 1];
    19410     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19411
    19412     CS_GL_SGIX_interlace = (strstr (extstrGL, ext) != 0);
    19413
    19414     bool allclear, funcTest;
    19415     (void)funcTest; // shut up "variable unused" warnings
    19416     bool init = CS_GL_SGIX_interlace;
    19417     allclear = true;
    19418     if (init)   // Don't check the functions if ext isn't reported anyway
    19419     {
    19420
    19421       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_interlace)
    19422     }
    19423     else
    19424     {
    19425       Report (msgExtNotFound, "GL", ext);
    19426     }
    19427   }
    19428
    19431   void InitGL_SGIX_shadow_ambient ()
    19432   {
    19433     if (tested_CS_GL_SGIX_shadow_ambient) return;
    19434     if (!extstrGL) return;
    19435     tested_CS_GL_SGIX_shadow_ambient = true;
    19436     const char* ext = "GL_SGIX_shadow_ambient";
    19437
    19438     char cfgkey[26 + 22 + 1];
    19439     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19440
    19441     CS_GL_SGIX_shadow_ambient = (strstr (extstrGL, ext) != 0);
    19442
    19443     bool allclear, funcTest;
    19444     (void)funcTest; // shut up "variable unused" warnings
    19445     bool init = CS_GL_SGIX_shadow_ambient;
    19446     allclear = true;
    19447     if (init)   // Don't check the functions if ext isn't reported anyway
    19448     {
    19449
    19450       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_shadow_ambient)
    19451     }
    19452     else
    19453     {
    19454       Report (msgExtNotFound, "GL", ext);
    19455     }
    19456   }
    19457
    19460   void InitGL_SGI_color_matrix ()
    19461   {
    19462     if (tested_CS_GL_SGI_color_matrix) return;
    19463     if (!extstrGL) return;
    19464     tested_CS_GL_SGI_color_matrix = true;
    19465     const char* ext = "GL_SGI_color_matrix";
    19466
    19467     char cfgkey[26 + 19 + 1];
    19468     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19469
    19470     CS_GL_SGI_color_matrix = (strstr (extstrGL, ext) != 0);
    19471
    19472     bool allclear, funcTest;
    19473     (void)funcTest; // shut up "variable unused" warnings
    19474     bool init = CS_GL_SGI_color_matrix;
    19475     allclear = true;
    19476     if (init)   // Don't check the functions if ext isn't reported anyway
    19477     {
    19478
    19479       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_matrix)
    19480     }
    19481     else
    19482     {
    19483       Report (msgExtNotFound, "GL", ext);
    19484     }
    19485   }
    19486
    19489   void InitGL_SGI_color_table ()
    19490   {
    19491     if (tested_CS_GL_SGI_color_table) return;
    19492     if (!extstrGL) return;
    19493     tested_CS_GL_SGI_color_table = true;
    19494     const char* ext = "GL_SGI_color_table";
    19495
    19496     char cfgkey[26 + 18 + 1];
    19497     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19498
    19499     CS_GL_SGI_color_table = (strstr (extstrGL, ext) != 0);
    19500
    19501     bool allclear, funcTest;
    19502     (void)funcTest; // shut up "variable unused" warnings
    19503     bool init = CS_GL_SGI_color_table;
    19504     allclear = true;
    19505     if (init)   // Don't check the functions if ext isn't reported anyway
    19506     {
    19507       EXTMGR_FUNC_INIT(glColorTableSGI, GLCOLORTABLESGI);
    19508       EXTMGR_FUNC_INIT(glCopyColorTableSGI, GLCOPYCOLORTABLESGI);
    19509       EXTMGR_FUNC_INIT(glColorTableParameterivSGI, GLCOLORTABLEPARAMETERIVSGI);
    19510       EXTMGR_FUNC_INIT(glColorTableParameterfvSGI, GLCOLORTABLEPARAMETERFVSGI);
    19511       EXTMGR_FUNC_INIT(glGetColorTableSGI, GLGETCOLORTABLESGI);
    19512       EXTMGR_FUNC_INIT(glGetColorTableParameterivSGI, GLGETCOLORTABLEPARAMETERIVSGI);
    19513       EXTMGR_FUNC_INIT(glGetColorTableParameterfvSGI, GLGETCOLORTABLEPARAMETERFVSGI);
    19514
    19515       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_table)
    19516     }
    19517     else
    19518     {
    19519       Report (msgExtNotFound, "GL", ext);
    19520     }
    19521   }
    19522
    19525   void InitGL_SGI_texture_color_table ()
    19526   {
    19527     if (tested_CS_GL_SGI_texture_color_table) return;
    19528     if (!extstrGL) return;
    19529     tested_CS_GL_SGI_texture_color_table = true;
    19530     const char* ext = "GL_SGI_texture_color_table";
    19531
    19532     char cfgkey[26 + 26 + 1];
    19533     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19534
    19535     CS_GL_SGI_texture_color_table = (strstr (extstrGL, ext) != 0);
    19536
    19537     bool allclear, funcTest;
    19538     (void)funcTest; // shut up "variable unused" warnings
    19539     bool init = CS_GL_SGI_texture_color_table;
    19540     allclear = true;
    19541     if (init)   // Don't check the functions if ext isn't reported anyway
    19542     {
    19543
    19544       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_texture_color_table)
    19545     }
    19546     else
    19547     {
    19548       Report (msgExtNotFound, "GL", ext);
    19549     }
    19550   }
    19551
    19554   void InitGL_SUN_vertex ()
    19555   {
    19556     if (tested_CS_GL_SUN_vertex) return;
    19557     if (!extstrGL) return;
    19558     tested_CS_GL_SUN_vertex = true;
    19559     const char* ext = "GL_SUN_vertex";
    19560
    19561     char cfgkey[26 + 13 + 1];
    19562     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19563
    19564     CS_GL_SUN_vertex = (strstr (extstrGL, ext) != 0);
    19565
    19566     bool allclear, funcTest;
    19567     (void)funcTest; // shut up "variable unused" warnings
    19568     bool init = CS_GL_SUN_vertex;
    19569     allclear = true;
    19570     if (init)   // Don't check the functions if ext isn't reported anyway
    19571     {
    19572       EXTMGR_FUNC_INIT(glColor4ubVertex2fSUN, GLCOLOR4UBVERTEX2FSUN);
    19573       EXTMGR_FUNC_INIT(glColor4ubVertex2fvSUN, GLCOLOR4UBVERTEX2FVSUN);
    19574       EXTMGR_FUNC_INIT(glColor4ubVertex3fSUN, GLCOLOR4UBVERTEX3FSUN);
    19575       EXTMGR_FUNC_INIT(glColor4ubVertex3fvSUN, GLCOLOR4UBVERTEX3FVSUN);
    19576       EXTMGR_FUNC_INIT(glColor3fVertex3fSUN, GLCOLOR3FVERTEX3FSUN);
    19577       EXTMGR_FUNC_INIT(glColor3fVertex3fvSUN, GLCOLOR3FVERTEX3FVSUN);
    19578       EXTMGR_FUNC_INIT(glNormal3fVertex3fSUN, GLNORMAL3FVERTEX3FSUN);
    19579       EXTMGR_FUNC_INIT(glNormal3fVertex3fvSUN, GLNORMAL3FVERTEX3FVSUN);
    19580       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fSUN, GLCOLOR4FNORMAL3FVERTEX3FSUN);
    19581       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fvSUN, GLCOLOR4FNORMAL3FVERTEX3FVSUN);
    19582       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fSUN, GLTEXCOORD2FVERTEX3FSUN);
    19583       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fvSUN, GLTEXCOORD2FVERTEX3FVSUN);
    19584       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fSUN, GLTEXCOORD4FVERTEX4FSUN);
    19585       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fvSUN, GLTEXCOORD4FVERTEX4FVSUN);
    19586       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FSUN);
    19587       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fvSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN);
    19588       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fSUN, GLTEXCOORD2FCOLOR3FVERTEX3FSUN);
    19589       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fvSUN, GLTEXCOORD2FCOLOR3FVERTEX3FVSUN);
    19590       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fSUN, GLTEXCOORD2FNORMAL3FVERTEX3FSUN);
    19591       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fvSUN, GLTEXCOORD2FNORMAL3FVERTEX3FVSUN);
    19592       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
    19593       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fvSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
    19594       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN);
    19595       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fvSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN);
    19596       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fSUN, GLREPLACEMENTCODEUIVERTEX3FSUN);
    19597       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fvSUN, GLREPLACEMENTCODEUIVERTEX3FVSUN);
    19598       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN);
    19599       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN);
    19600       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN);
    19601       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN);
    19602       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN);
    19603       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fvSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN);
    19604       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN);
    19605       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN);
    19606       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN);
    19607       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN);
    19608       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN);
    19609       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN);
    19610       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
    19611       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
    19612
    19613       EXTMGR_REPORT_INIT_RESULT("GL", GL_SUN_vertex)
    19614     }
    19615     else
    19616     {
    19617       Report (msgExtNotFound, "GL", ext);
    19618     }
    19619   }
    19620
    19623   void InitGL_ARB_fragment_program ()
    19624   {
    19625     if (tested_CS_GL_ARB_fragment_program) return;
    19626     if (!extstrGL) return;
    19627     tested_CS_GL_ARB_fragment_program = true;
    19628     const char* ext = "GL_ARB_fragment_program";
    19629
    19630     char cfgkey[26 + 23 + 1];
    19631     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19632
    19633     CS_GL_ARB_fragment_program = (strstr (extstrGL, ext) != 0);
    19634
    19635     bool allclear, funcTest;
    19636     (void)funcTest; // shut up "variable unused" warnings
    19637     bool init = CS_GL_ARB_fragment_program;
    19638     allclear = true;
    19639     if (init)   // Don't check the functions if ext isn't reported anyway
    19640     {
    19641       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
    19642       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
    19643       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
    19644       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
    19645       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
    19646       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
    19647       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
    19648       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
    19649       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
    19650       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
    19651       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
    19652       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
    19653       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
    19654       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
    19655       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
    19656       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
    19657       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
    19658       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
    19659       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
    19660
    19661       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_program)
    19662     }
    19663     else
    19664     {
    19665       Report (msgExtNotFound, "GL", ext);
    19666     }
    19667   }
    19668
    19671   void InitGL_ATI_text_fragment_shader ()
    19672   {
    19673     if (tested_CS_GL_ATI_text_fragment_shader) return;
    19674     if (!extstrGL) return;
    19675     tested_CS_GL_ATI_text_fragment_shader = true;
    19676     const char* ext = "GL_ATI_text_fragment_shader";
    19677
    19678     char cfgkey[26 + 27 + 1];
    19679     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19680
    19681     CS_GL_ATI_text_fragment_shader = (strstr (extstrGL, ext) != 0);
    19682
    19683     bool allclear, funcTest;
    19684     (void)funcTest; // shut up "variable unused" warnings
    19685     bool init = CS_GL_ATI_text_fragment_shader;
    19686     allclear = true;
    19687     if (init)   // Don't check the functions if ext isn't reported anyway
    19688     {
    19689
    19690       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_text_fragment_shader)
    19691     }
    19692     else
    19693     {
    19694       Report (msgExtNotFound, "GL", ext);
    19695     }
    19696   }
    19697
    19700   void InitGL_APPLE_client_storage ()
    19701   {
    19702     if (tested_CS_GL_APPLE_client_storage) return;
    19703     if (!extstrGL) return;
    19704     tested_CS_GL_APPLE_client_storage = true;
    19705     const char* ext = "GL_APPLE_client_storage";
    19706
    19707     char cfgkey[26 + 23 + 1];
    19708     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19709
    19710     CS_GL_APPLE_client_storage = (strstr (extstrGL, ext) != 0);
    19711
    19712     bool allclear, funcTest;
    19713     (void)funcTest; // shut up "variable unused" warnings
    19714     bool init = CS_GL_APPLE_client_storage;
    19715     allclear = true;
    19716     if (init)   // Don't check the functions if ext isn't reported anyway
    19717     {
    19718
    19719       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_client_storage)
    19720     }
    19721     else
    19722     {
    19723       Report (msgExtNotFound, "GL", ext);
    19724     }
    19725   }
    19726
    19729   void InitGL_APPLE_element_array ()
    19730   {
    19731     if (tested_CS_GL_APPLE_element_array) return;
    19732     if (!extstrGL) return;
    19733     tested_CS_GL_APPLE_element_array = true;
    19734     const char* ext = "GL_APPLE_element_array";
    19735
    19736     char cfgkey[26 + 22 + 1];
    19737     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19738
    19739     CS_GL_APPLE_element_array = (strstr (extstrGL, ext) != 0);
    19740
    19741     bool allclear, funcTest;
    19742     (void)funcTest; // shut up "variable unused" warnings
    19743     bool init = CS_GL_APPLE_element_array;
    19744     allclear = true;
    19745     if (init)   // Don't check the functions if ext isn't reported anyway
    19746     {
    19747       EXTMGR_FUNC_INIT(glElementPointerAPPLE, GLELEMENTPOINTERAPPLE);
    19748       EXTMGR_FUNC_INIT(glDrawElementArrayAPPLE, GLDRAWELEMENTARRAYAPPLE);
    19749       EXTMGR_FUNC_INIT(glDrawRangeElementArrayAPPLE, GLDRAWRANGEELEMENTARRAYAPPLE);
    19750       EXTMGR_FUNC_INIT(glMultiDrawElementArrayAPPLE, GLMULTIDRAWELEMENTARRAYAPPLE);
    19751       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayAPPLE, GLMULTIDRAWRANGEELEMENTARRAYAPPLE);
    19752
    19753       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_element_array)
    19754     }
    19755     else
    19756     {
    19757       Report (msgExtNotFound, "GL", ext);
    19758     }
    19759   }
    19760
    19763   void InitGL_APPLE_fence ()
    19764   {
    19765     if (tested_CS_GL_APPLE_fence) return;
    19766     if (!extstrGL) return;
    19767     tested_CS_GL_APPLE_fence = true;
    19768     const char* ext = "GL_APPLE_fence";
    19769
    19770     char cfgkey[26 + 14 + 1];
    19771     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19772
    19773     CS_GL_APPLE_fence = (strstr (extstrGL, ext) != 0);
    19774
    19775     bool allclear, funcTest;
    19776     (void)funcTest; // shut up "variable unused" warnings
    19777     bool init = CS_GL_APPLE_fence;
    19778     allclear = true;
    19779     if (init)   // Don't check the functions if ext isn't reported anyway
    19780     {
    19781       EXTMGR_FUNC_INIT(glGenFencesAPPLE, GLGENFENCESAPPLE);
    19782       EXTMGR_FUNC_INIT(glDeleteFencesAPPLE, GLDELETEFENCESAPPLE);
    19783       EXTMGR_FUNC_INIT(glSetFenceAPPLE, GLSETFENCEAPPLE);
    19784       EXTMGR_FUNC_INIT(glIsFenceAPPLE, GLISFENCEAPPLE);
    19785       EXTMGR_FUNC_INIT(glTestFenceAPPLE, GLTESTFENCEAPPLE);
    19786       EXTMGR_FUNC_INIT(glFinishFenceAPPLE, GLFINISHFENCEAPPLE);
    19787       EXTMGR_FUNC_INIT(glTestObjectAPPLE, GLTESTOBJECTAPPLE);
    19788       EXTMGR_FUNC_INIT(glFinishObjectAPPLE, GLFINISHOBJECTAPPLE);
    19789
    19790       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_fence)
    19791     }
    19792     else
    19793     {
    19794       Report (msgExtNotFound, "GL", ext);
    19795     }
    19796   }
    19797
    19800   void InitGL_APPLE_vertex_array_object ()
    19801   {
    19802     if (tested_CS_GL_APPLE_vertex_array_object) return;
    19803     if (!extstrGL) return;
    19804     tested_CS_GL_APPLE_vertex_array_object = true;
    19805     const char* ext = "GL_APPLE_vertex_array_object";
    19806
    19807     char cfgkey[26 + 28 + 1];
    19808     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19809
    19810     CS_GL_APPLE_vertex_array_object = (strstr (extstrGL, ext) != 0);
    19811
    19812     bool allclear, funcTest;
    19813     (void)funcTest; // shut up "variable unused" warnings
    19814     bool init = CS_GL_APPLE_vertex_array_object;
    19815     allclear = true;
    19816     if (init)   // Don't check the functions if ext isn't reported anyway
    19817     {
    19818       EXTMGR_FUNC_INIT(glBindVertexArrayAPPLE, GLBINDVERTEXARRAYAPPLE);
    19819       EXTMGR_FUNC_INIT(glDeleteVertexArraysAPPLE, GLDELETEVERTEXARRAYSAPPLE);
    19820       EXTMGR_FUNC_INIT(glGenVertexArraysAPPLE, GLGENVERTEXARRAYSAPPLE);
    19821       EXTMGR_FUNC_INIT(glIsVertexArrayAPPLE, GLISVERTEXARRAYAPPLE);
    19822
    19823       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_object)
    19824     }
    19825     else
    19826     {
    19827       Report (msgExtNotFound, "GL", ext);
    19828     }
    19829   }
    19830
    19833   void InitGL_APPLE_vertex_array_range ()
    19834   {
    19835     if (tested_CS_GL_APPLE_vertex_array_range) return;
    19836     if (!extstrGL) return;
    19837     tested_CS_GL_APPLE_vertex_array_range = true;
    19838     const char* ext = "GL_APPLE_vertex_array_range";
    19839
    19840     char cfgkey[26 + 27 + 1];
    19841     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19842
    19843     CS_GL_APPLE_vertex_array_range = (strstr (extstrGL, ext) != 0);
    19844
    19845     bool allclear, funcTest;
    19846     (void)funcTest; // shut up "variable unused" warnings
    19847     bool init = CS_GL_APPLE_vertex_array_range;
    19848     allclear = true;
    19849     if (init)   // Don't check the functions if ext isn't reported anyway
    19850     {
    19851       EXTMGR_FUNC_INIT(glVertexArrayRangeAPPLE, GLVERTEXARRAYRANGEAPPLE);
    19852       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeAPPLE, GLFLUSHVERTEXARRAYRANGEAPPLE);
    19853       EXTMGR_FUNC_INIT(glVertexArrayParameteriAPPLE, GLVERTEXARRAYPARAMETERIAPPLE);
    19854
    19855       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_range)
    19856     }
    19857     else
    19858     {
    19859       Report (msgExtNotFound, "GL", ext);
    19860     }
    19861   }
    19862
    19863 #ifdef _WIN32
    19864
    19866   void InitWGL_ARB_pixel_format (HDC hDC)
    19867   {
    19868     if (tested_CS_WGL_ARB_pixel_format) return;
    19869     tested_CS_WGL_ARB_pixel_format = true;
    19870     const char* ext = "WGL_ARB_pixel_format";
    19871     char cfgkey[26 + 20 + 1];
    19872     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19873
    19874     (void)hDC;      // avoid `unused variable' warning.
    19875     SetupWGLextStr (hDC);
    19876     if (!extstrWGL) return;
    19877     CS_WGL_ARB_pixel_format = (strstr (extstrWGL, ext) != 0);
    19878
    19879     bool allclear, funcTest;
    19880     (void)funcTest; // avoid `unused variable' warning.
    19881     bool init = CS_WGL_ARB_pixel_format;
    19882     allclear = true;
    19883     if (init)
    19884     {
    19885       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivARB, WGLGETPIXELFORMATATTRIBIVARB);
    19886       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvARB, WGLGETPIXELFORMATATTRIBFVARB);
    19887       EXTMGR_FUNC_INIT(wglChoosePixelFormatARB, WGLCHOOSEPIXELFORMATARB);
    19888
    19889       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pixel_format)
    19890       CS_WGL_ARB_pixel_format &= allclear;
    19891     }
    19892     else
    19893     {
    19894       Report (msgExtNotFound, "WGL", ext);
    19895     }
    19896   }
    19897 #endif
    19898
    19899 #ifdef _WIN32
    19900
    19902   void InitWGL_ARB_make_current_read (HDC hDC)
    19903   {
    19904     if (tested_CS_WGL_ARB_make_current_read) return;
    19905     tested_CS_WGL_ARB_make_current_read = true;
    19906     const char* ext = "WGL_ARB_make_current_read";
    19907     char cfgkey[26 + 25 + 1];
    19908     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19909
    19910     (void)hDC;      // avoid `unused variable' warning.
    19911     SetupWGLextStr (hDC);
    19912     if (!extstrWGL) return;
    19913     CS_WGL_ARB_make_current_read = (strstr (extstrWGL, ext) != 0);
    19914
    19915     bool allclear, funcTest;
    19916     (void)funcTest; // avoid `unused variable' warning.
    19917     bool init = CS_WGL_ARB_make_current_read;
    19918     allclear = true;
    19919     if (init)
    19920     {
    19921       EXTMGR_FUNC_INIT(wglMakeContextCurrentARB, WGLMAKECONTEXTCURRENTARB);
    19922       EXTMGR_FUNC_INIT(wglGetCurrentReadDCARB, WGLGETCURRENTREADDCARB);
    19923
    19924       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_make_current_read)
    19925       CS_WGL_ARB_make_current_read &= allclear;
    19926     }
    19927     else
    19928     {
    19929       Report (msgExtNotFound, "WGL", ext);
    19930     }
    19931   }
    19932 #endif
    19933
    19934 #ifdef _WIN32
    19935
    19937   void InitWGL_ARB_pbuffer (HDC hDC)
    19938   {
    19939     if (tested_CS_WGL_ARB_pbuffer) return;
    19940     tested_CS_WGL_ARB_pbuffer = true;
    19941     const char* ext = "WGL_ARB_pbuffer";
    19942     char cfgkey[26 + 15 + 1];
    19943     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19944
    19945     (void)hDC;      // avoid `unused variable' warning.
    19946     SetupWGLextStr (hDC);
    19947     if (!extstrWGL) return;
    19948     CS_WGL_ARB_pbuffer = (strstr (extstrWGL, ext) != 0);
    19949
    19950     bool allclear, funcTest;
    19951     (void)funcTest; // avoid `unused variable' warning.
    19952     bool init = CS_WGL_ARB_pbuffer;
    19953     allclear = true;
    19954     if (init)
    19955     {
    19956       EXTMGR_FUNC_INIT(wglCreatePbufferARB, WGLCREATEPBUFFERARB);
    19957       EXTMGR_FUNC_INIT(wglGetPbufferDCARB, WGLGETPBUFFERDCARB);
    19958       EXTMGR_FUNC_INIT(wglReleasePbufferDCARB, WGLRELEASEPBUFFERDCARB);
    19959       EXTMGR_FUNC_INIT(wglDestroyPbufferARB, WGLDESTROYPBUFFERARB);
    19960       EXTMGR_FUNC_INIT(wglQueryPbufferARB, WGLQUERYPBUFFERARB);
    19961
    19962       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pbuffer)
    19963       CS_WGL_ARB_pbuffer &= allclear;
    19964     }
    19965     else
    19966     {
    19967       Report (msgExtNotFound, "WGL", ext);
    19968     }
    19969   }
    19970 #endif
    19971
    19972 #ifdef _WIN32
    19973
    19975   void InitWGL_EXT_swap_control (HDC hDC)
    19976   {
    19977     if (tested_CS_WGL_EXT_swap_control) return;
    19978     tested_CS_WGL_EXT_swap_control = true;
    19979     const char* ext = "WGL_EXT_swap_control";
    19980     char cfgkey[26 + 20 + 1];
    19981     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    19982
    19983     (void)hDC;      // avoid `unused variable' warning.
    19984     SetupWGLextStr (hDC);
    19985     if (!extstrWGL) return;
    19986     CS_WGL_EXT_swap_control = (strstr (extstrWGL, ext) != 0);
    19987
    19988     bool allclear, funcTest;
    19989     (void)funcTest; // avoid `unused variable' warning.
    19990     bool init = CS_WGL_EXT_swap_control;
    19991     allclear = true;
    19992     if (init)
    19993     {
    19994       EXTMGR_FUNC_INIT(wglSwapIntervalEXT, WGLSWAPINTERVALEXT);
    19995       EXTMGR_FUNC_INIT(wglGetSwapIntervalEXT, WGLGETSWAPINTERVALEXT);
    19996
    19997       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_swap_control)
    19998       CS_WGL_EXT_swap_control &= allclear;
    19999     }
    20000     else
    20001     {
    20002       Report (msgExtNotFound, "WGL", ext);
    20003     }
    20004   }
    20005 #endif
    20006
    20007 #ifdef _WIN32
    20008
    20010   void InitWGL_ARB_render_texture (HDC hDC)
    20011   {
    20012     if (tested_CS_WGL_ARB_render_texture) return;
    20013     tested_CS_WGL_ARB_render_texture = true;
    20014     const char* ext = "WGL_ARB_render_texture";
    20015     char cfgkey[26 + 22 + 1];
    20016     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20017
    20018     (void)hDC;      // avoid `unused variable' warning.
    20019     SetupWGLextStr (hDC);
    20020     if (!extstrWGL) return;
    20021     CS_WGL_ARB_render_texture = (strstr (extstrWGL, ext) != 0);
    20022
    20023     bool allclear, funcTest;
    20024     (void)funcTest; // avoid `unused variable' warning.
    20025     bool init = CS_WGL_ARB_render_texture;
    20026     allclear = true;
    20027     if (init)
    20028     {
    20029       EXTMGR_FUNC_INIT(wglBindTexImageARB, WGLBINDTEXIMAGEARB);
    20030       EXTMGR_FUNC_INIT(wglReleaseTexImageARB, WGLRELEASETEXIMAGEARB);
    20031       EXTMGR_FUNC_INIT(wglSetPbufferAttribARB, WGLSETPBUFFERATTRIBARB);
    20032
    20033       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_render_texture)
    20034       CS_WGL_ARB_render_texture &= allclear;
    20035     }
    20036     else
    20037     {
    20038       Report (msgExtNotFound, "WGL", ext);
    20039     }
    20040   }
    20041 #endif
    20042
    20043 #ifdef _WIN32
    20044
    20046   void InitWGL_EXT_extensions_string (HDC hDC)
    20047   {
    20048     if (tested_CS_WGL_EXT_extensions_string) return;
    20049     tested_CS_WGL_EXT_extensions_string = true;
    20050     const char* ext = "WGL_EXT_extensions_string";
    20051     char cfgkey[26 + 25 + 1];
    20052     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20053
    20054     (void)hDC;      // avoid `unused variable' warning.
    20055     SetupWGLextStr (hDC);
    20056     if (!extstrWGL) return;
    20057     CS_WGL_EXT_extensions_string = (strstr (extstrWGL, ext) != 0);
    20058
    20059     bool allclear, funcTest;
    20060     (void)funcTest; // avoid `unused variable' warning.
    20061     bool init = CS_WGL_EXT_extensions_string;
    20062     allclear = true;
    20063     if (init)
    20064     {
    20065       EXTMGR_FUNC_INIT(wglGetExtensionsStringEXT, WGLGETEXTENSIONSSTRINGEXT);
    20066
    20067       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_extensions_string)
    20068       CS_WGL_EXT_extensions_string &= allclear;
    20069     }
    20070     else
    20071     {
    20072       Report (msgExtNotFound, "WGL", ext);
    20073     }
    20074   }
    20075 #endif
    20076
    20077 #ifdef _WIN32
    20078
    20080   void InitWGL_EXT_make_current_read (HDC hDC)
    20081   {
    20082     if (tested_CS_WGL_EXT_make_current_read) return;
    20083     tested_CS_WGL_EXT_make_current_read = true;
    20084     const char* ext = "WGL_EXT_make_current_read";
    20085     char cfgkey[26 + 25 + 1];
    20086     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20087
    20088     (void)hDC;      // avoid `unused variable' warning.
    20089     SetupWGLextStr (hDC);
    20090     if (!extstrWGL) return;
    20091     CS_WGL_EXT_make_current_read = (strstr (extstrWGL, ext) != 0);
    20092
    20093     bool allclear, funcTest;
    20094     (void)funcTest; // avoid `unused variable' warning.
    20095     bool init = CS_WGL_EXT_make_current_read;
    20096     allclear = true;
    20097     if (init)
    20098     {
    20099       EXTMGR_FUNC_INIT(wglMakeContextCurrentEXT, WGLMAKECONTEXTCURRENTEXT);
    20100       EXTMGR_FUNC_INIT(wglGetCurrentReadDCEXT, WGLGETCURRENTREADDCEXT);
    20101
    20102       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_make_current_read)
    20103       CS_WGL_EXT_make_current_read &= allclear;
    20104     }
    20105     else
    20106     {
    20107       Report (msgExtNotFound, "WGL", ext);
    20108     }
    20109   }
    20110 #endif
    20111
    20112 #ifdef _WIN32
    20113
    20115   void InitWGL_EXT_pbuffer (HDC hDC)
    20116   {
    20117     if (tested_CS_WGL_EXT_pbuffer) return;
    20118     tested_CS_WGL_EXT_pbuffer = true;
    20119     const char* ext = "WGL_EXT_pbuffer";
    20120     char cfgkey[26 + 15 + 1];
    20121     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20122
    20123     (void)hDC;      // avoid `unused variable' warning.
    20124     SetupWGLextStr (hDC);
    20125     if (!extstrWGL) return;
    20126     CS_WGL_EXT_pbuffer = (strstr (extstrWGL, ext) != 0);
    20127
    20128     bool allclear, funcTest;
    20129     (void)funcTest; // avoid `unused variable' warning.
    20130     bool init = CS_WGL_EXT_pbuffer;
    20131     allclear = true;
    20132     if (init)
    20133     {
    20134       EXTMGR_FUNC_INIT(wglCreatePbufferEXT, WGLCREATEPBUFFEREXT);
    20135       EXTMGR_FUNC_INIT(wglGetPbufferDCEXT, WGLGETPBUFFERDCEXT);
    20136       EXTMGR_FUNC_INIT(wglReleasePbufferDCEXT, WGLRELEASEPBUFFERDCEXT);
    20137       EXTMGR_FUNC_INIT(wglDestroyPbufferEXT, WGLDESTROYPBUFFEREXT);
    20138       EXTMGR_FUNC_INIT(wglQueryPbufferEXT, WGLQUERYPBUFFEREXT);
    20139
    20140       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pbuffer)
    20141       CS_WGL_EXT_pbuffer &= allclear;
    20142     }
    20143     else
    20144     {
    20145       Report (msgExtNotFound, "WGL", ext);
    20146     }
    20147   }
    20148 #endif
    20149
    20150 #ifdef _WIN32
    20151
    20153   void InitWGL_EXT_pixel_format (HDC hDC)
    20154   {
    20155     if (tested_CS_WGL_EXT_pixel_format) return;
    20156     tested_CS_WGL_EXT_pixel_format = true;
    20157     const char* ext = "WGL_EXT_pixel_format";
    20158     char cfgkey[26 + 20 + 1];
    20159     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20160
    20161     (void)hDC;      // avoid `unused variable' warning.
    20162     SetupWGLextStr (hDC);
    20163     if (!extstrWGL) return;
    20164     CS_WGL_EXT_pixel_format = (strstr (extstrWGL, ext) != 0);
    20165
    20166     bool allclear, funcTest;
    20167     (void)funcTest; // avoid `unused variable' warning.
    20168     bool init = CS_WGL_EXT_pixel_format;
    20169     allclear = true;
    20170     if (init)
    20171     {
    20172       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivEXT, WGLGETPIXELFORMATATTRIBIVEXT);
    20173       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvEXT, WGLGETPIXELFORMATATTRIBFVEXT);
    20174       EXTMGR_FUNC_INIT(wglChoosePixelFormatEXT, WGLCHOOSEPIXELFORMATEXT);
    20175
    20176       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pixel_format)
    20177       CS_WGL_EXT_pixel_format &= allclear;
    20178     }
    20179     else
    20180     {
    20181       Report (msgExtNotFound, "WGL", ext);
    20182     }
    20183   }
    20184 #endif
    20185
    20186 #ifdef _WIN32
    20187
    20189   void InitWGL_I3D_digital_video_control (HDC hDC)
    20190   {
    20191     if (tested_CS_WGL_I3D_digital_video_control) return;
    20192     tested_CS_WGL_I3D_digital_video_control = true;
    20193     const char* ext = "WGL_I3D_digital_video_control";
    20194     char cfgkey[26 + 29 + 1];
    20195     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20196
    20197     (void)hDC;      // avoid `unused variable' warning.
    20198     SetupWGLextStr (hDC);
    20199     if (!extstrWGL) return;
    20200     CS_WGL_I3D_digital_video_control = (strstr (extstrWGL, ext) != 0);
    20201
    20202     bool allclear, funcTest;
    20203     (void)funcTest; // avoid `unused variable' warning.
    20204     bool init = CS_WGL_I3D_digital_video_control;
    20205     allclear = true;
    20206     if (init)
    20207     {
    20208       EXTMGR_FUNC_INIT(wglGetDigitalVideoParametersI3D, WGLGETDIGITALVIDEOPARAMETERSI3D);
    20209       EXTMGR_FUNC_INIT(wglSetDigitalVideoParametersI3D, WGLSETDIGITALVIDEOPARAMETERSI3D);
    20210
    20211       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_digital_video_control)
    20212       CS_WGL_I3D_digital_video_control &= allclear;
    20213     }
    20214     else
    20215     {
    20216       Report (msgExtNotFound, "WGL", ext);
    20217     }
    20218   }
    20219 #endif
    20220
    20221 #ifdef _WIN32
    20222
    20224   void InitWGL_I3D_gamma (HDC hDC)
    20225   {
    20226     if (tested_CS_WGL_I3D_gamma) return;
    20227     tested_CS_WGL_I3D_gamma = true;
    20228     const char* ext = "WGL_I3D_gamma";
    20229     char cfgkey[26 + 13 + 1];
    20230     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20231
    20232     (void)hDC;      // avoid `unused variable' warning.
    20233     SetupWGLextStr (hDC);
    20234     if (!extstrWGL) return;
    20235     CS_WGL_I3D_gamma = (strstr (extstrWGL, ext) != 0);
    20236
    20237     bool allclear, funcTest;
    20238     (void)funcTest; // avoid `unused variable' warning.
    20239     bool init = CS_WGL_I3D_gamma;
    20240     allclear = true;
    20241     if (init)
    20242     {
    20243       EXTMGR_FUNC_INIT(wglGetGammaTableParametersI3D, WGLGETGAMMATABLEPARAMETERSI3D);
    20244       EXTMGR_FUNC_INIT(wglSetGammaTableParametersI3D, WGLSETGAMMATABLEPARAMETERSI3D);
    20245       EXTMGR_FUNC_INIT(wglGetGammaTableI3D, WGLGETGAMMATABLEI3D);
    20246       EXTMGR_FUNC_INIT(wglSetGammaTableI3D, WGLSETGAMMATABLEI3D);
    20247
    20248       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_gamma)
    20249       CS_WGL_I3D_gamma &= allclear;
    20250     }
    20251     else
    20252     {
    20253       Report (msgExtNotFound, "WGL", ext);
    20254     }
    20255   }
    20256 #endif
    20257
    20258 #ifdef _WIN32
    20259
    20261   void InitWGL_I3D_genlock (HDC hDC)
    20262   {
    20263     if (tested_CS_WGL_I3D_genlock) return;
    20264     tested_CS_WGL_I3D_genlock = true;
    20265     const char* ext = "WGL_I3D_genlock";
    20266     char cfgkey[26 + 15 + 1];
    20267     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20268
    20269     (void)hDC;      // avoid `unused variable' warning.
    20270     SetupWGLextStr (hDC);
    20271     if (!extstrWGL) return;
    20272     CS_WGL_I3D_genlock = (strstr (extstrWGL, ext) != 0);
    20273
    20274     bool allclear, funcTest;
    20275     (void)funcTest; // avoid `unused variable' warning.
    20276     bool init = CS_WGL_I3D_genlock;
    20277     allclear = true;
    20278     if (init)
    20279     {
    20280       EXTMGR_FUNC_INIT(wglEnableGenlockI3D, WGLENABLEGENLOCKI3D);
    20281       EXTMGR_FUNC_INIT(wglDisableGenlockI3D, WGLDISABLEGENLOCKI3D);
    20282       EXTMGR_FUNC_INIT(wglIsEnabledGenlockI3D, WGLISENABLEDGENLOCKI3D);
    20283       EXTMGR_FUNC_INIT(wglGenlockSourceI3D, WGLGENLOCKSOURCEI3D);
    20284       EXTMGR_FUNC_INIT(wglGetGenlockSourceI3D, WGLGETGENLOCKSOURCEI3D);
    20285       EXTMGR_FUNC_INIT(wglGenlockSourceEdgeI3D, WGLGENLOCKSOURCEEDGEI3D);
    20286       EXTMGR_FUNC_INIT(wglGetGenlockSourceEdgeI3D, WGLGETGENLOCKSOURCEEDGEI3D);
    20287       EXTMGR_FUNC_INIT(wglGenlockSampleRateI3D, WGLGENLOCKSAMPLERATEI3D);
    20288       EXTMGR_FUNC_INIT(wglGetGenlockSampleRateI3D, WGLGETGENLOCKSAMPLERATEI3D);
    20289       EXTMGR_FUNC_INIT(wglGenlockSourceDelayI3D, WGLGENLOCKSOURCEDELAYI3D);
    20290       EXTMGR_FUNC_INIT(wglGetGenlockSourceDelayI3D, WGLGETGENLOCKSOURCEDELAYI3D);
    20291       EXTMGR_FUNC_INIT(wglQueryGenlockMaxSourceDelayI3D, WGLQUERYGENLOCKMAXSOURCEDELAYI3D);
    20292
    20293       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_genlock)
    20294       CS_WGL_I3D_genlock &= allclear;
    20295     }
    20296     else
    20297     {
    20298       Report (msgExtNotFound, "WGL", ext);
    20299     }
    20300   }
    20301 #endif
    20302
    20305   void InitGL_ARB_matrix_palette ()
    20306   {
    20307     if (tested_CS_GL_ARB_matrix_palette) return;
    20308     if (!extstrGL) return;
    20309     tested_CS_GL_ARB_matrix_palette = true;
    20310     const char* ext = "GL_ARB_matrix_palette";
    20311
    20312     char cfgkey[26 + 21 + 1];
    20313     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20314
    20315     CS_GL_ARB_matrix_palette = (strstr (extstrGL, ext) != 0);
    20316
    20317     bool allclear, funcTest;
    20318     (void)funcTest; // shut up "variable unused" warnings
    20319     bool init = CS_GL_ARB_matrix_palette;
    20320     allclear = true;
    20321     if (init)   // Don't check the functions if ext isn't reported anyway
    20322     {
    20323       EXTMGR_FUNC_INIT(glCurrentPaletteMatrixARB, GLCURRENTPALETTEMATRIXARB);
    20324       EXTMGR_FUNC_INIT(glMatrixIndexubvARB, GLMATRIXINDEXUBVARB);
    20325       EXTMGR_FUNC_INIT(glMatrixIndexusvARB, GLMATRIXINDEXUSVARB);
    20326       EXTMGR_FUNC_INIT(glMatrixIndexuivARB, GLMATRIXINDEXUIVARB);
    20327       EXTMGR_FUNC_INIT(glMatrixIndexPointerARB, GLMATRIXINDEXPOINTERARB);
    20328
    20329       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_matrix_palette)
    20330     }
    20331     else
    20332     {
    20333       Report (msgExtNotFound, "GL", ext);
    20334     }
    20335   }
    20336
    20339   void InitGL_NV_element_array ()
    20340   {
    20341     if (tested_CS_GL_NV_element_array) return;
    20342     if (!extstrGL) return;
    20343     tested_CS_GL_NV_element_array = true;
    20344     const char* ext = "GL_NV_element_array";
    20345
    20346     char cfgkey[26 + 19 + 1];
    20347     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20348
    20349     CS_GL_NV_element_array = (strstr (extstrGL, ext) != 0);
    20350
    20351     bool allclear, funcTest;
    20352     (void)funcTest; // shut up "variable unused" warnings
    20353     bool init = CS_GL_NV_element_array;
    20354     allclear = true;
    20355     if (init)   // Don't check the functions if ext isn't reported anyway
    20356     {
    20357       EXTMGR_FUNC_INIT(glElementPointerNV, GLELEMENTPOINTERNV);
    20358       EXTMGR_FUNC_INIT(glDrawElementArrayNV, GLDRAWELEMENTARRAYNV);
    20359       EXTMGR_FUNC_INIT(glDrawRangeElementArrayNV, GLDRAWRANGEELEMENTARRAYNV);
    20360       EXTMGR_FUNC_INIT(glMultiDrawElementArrayNV, GLMULTIDRAWELEMENTARRAYNV);
    20361       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayNV, GLMULTIDRAWRANGEELEMENTARRAYNV);
    20362
    20363       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_element_array)
    20364     }
    20365     else
    20366     {
    20367       Report (msgExtNotFound, "GL", ext);
    20368     }
    20369   }
    20370
    20373   void InitGL_NV_float_buffer ()
    20374   {
    20375     if (tested_CS_GL_NV_float_buffer) return;
    20376     if (!extstrGL) return;
    20377     tested_CS_GL_NV_float_buffer = true;
    20378     const char* ext = "GL_NV_float_buffer";
    20379
    20380     char cfgkey[26 + 18 + 1];
    20381     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20382
    20383     CS_GL_NV_float_buffer = (strstr (extstrGL, ext) != 0);
    20384
    20385     bool allclear, funcTest;
    20386     (void)funcTest; // shut up "variable unused" warnings
    20387     bool init = CS_GL_NV_float_buffer;
    20388     allclear = true;
    20389     if (init)   // Don't check the functions if ext isn't reported anyway
    20390     {
    20391
    20392       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_float_buffer)
    20393     }
    20394     else
    20395     {
    20396       Report (msgExtNotFound, "GL", ext);
    20397     }
    20398   }
    20399
    20402   void InitGL_NV_fragment_program ()
    20403   {
    20404     if (tested_CS_GL_NV_fragment_program) return;
    20405     if (!extstrGL) return;
    20406     tested_CS_GL_NV_fragment_program = true;
    20407     const char* ext = "GL_NV_fragment_program";
    20408
    20409     char cfgkey[26 + 22 + 1];
    20410     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20411
    20412     CS_GL_NV_fragment_program = (strstr (extstrGL, ext) != 0);
    20413
    20414     bool allclear, funcTest;
    20415     (void)funcTest; // shut up "variable unused" warnings
    20416     bool init = CS_GL_NV_fragment_program;
    20417     allclear = true;
    20418     if (init)   // Don't check the functions if ext isn't reported anyway
    20419     {
    20420       EXTMGR_FUNC_INIT(glProgramNamedParameter4fNV, GLPROGRAMNAMEDPARAMETER4FNV);
    20421       EXTMGR_FUNC_INIT(glProgramNamedParameter4dNV, GLPROGRAMNAMEDPARAMETER4DNV);
    20422       EXTMGR_FUNC_INIT(glGetProgramNamedParameterfvNV, GLGETPROGRAMNAMEDPARAMETERFVNV);
    20423       EXTMGR_FUNC_INIT(glGetProgramNamedParameterdvNV, GLGETPROGRAMNAMEDPARAMETERDVNV);
    20424       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
    20425       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
    20426       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
    20427       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
    20428       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
    20429       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
    20430
    20431       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fragment_program)
    20432     }
    20433     else
    20434     {
    20435       Report (msgExtNotFound, "GL", ext);
    20436     }
    20437   }
    20438
    20441   void InitGL_NV_primitive_restart ()
    20442   {
    20443     if (tested_CS_GL_NV_primitive_restart) return;
    20444     if (!extstrGL) return;
    20445     tested_CS_GL_NV_primitive_restart = true;
    20446     const char* ext = "GL_NV_primitive_restart";
    20447
    20448     char cfgkey[26 + 23 + 1];
    20449     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20450
    20451     CS_GL_NV_primitive_restart = (strstr (extstrGL, ext) != 0);
    20452
    20453     bool allclear, funcTest;
    20454     (void)funcTest; // shut up "variable unused" warnings
    20455     bool init = CS_GL_NV_primitive_restart;
    20456     allclear = true;
    20457     if (init)   // Don't check the functions if ext isn't reported anyway
    20458     {
    20459       EXTMGR_FUNC_INIT(glPrimitiveRestartNV, GLPRIMITIVERESTARTNV);
    20460       EXTMGR_FUNC_INIT(glPrimitiveRestartIndexNV, GLPRIMITIVERESTARTINDEXNV);
    20461
    20462       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_primitive_restart)
    20463     }
    20464     else
    20465     {
    20466       Report (msgExtNotFound, "GL", ext);
    20467     }
    20468   }
    20469
    20472   void InitGL_NV_vertex_program2 ()
    20473   {
    20474     if (tested_CS_GL_NV_vertex_program2) return;
    20475     if (!extstrGL) return;
    20476     tested_CS_GL_NV_vertex_program2 = true;
    20477     const char* ext = "GL_NV_vertex_program2";
    20478
    20479     char cfgkey[26 + 21 + 1];
    20480     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20481
    20482     CS_GL_NV_vertex_program2 = (strstr (extstrGL, ext) != 0);
    20483
    20484     bool allclear, funcTest;
    20485     (void)funcTest; // shut up "variable unused" warnings
    20486     bool init = CS_GL_NV_vertex_program2;
    20487     allclear = true;
    20488     if (init)   // Don't check the functions if ext isn't reported anyway
    20489     {
    20490
    20491       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program2)
    20492     }
    20493     else
    20494     {
    20495       Report (msgExtNotFound, "GL", ext);
    20496     }
    20497   }
    20498
    20501   void InitGL_ARB_vertex_buffer_object ()
    20502   {
    20503     if (tested_CS_GL_ARB_vertex_buffer_object) return;
    20504     if (!extstrGL) return;
    20505     tested_CS_GL_ARB_vertex_buffer_object = true;
    20506     const char* ext = "GL_ARB_vertex_buffer_object";
    20507
    20508     char cfgkey[26 + 27 + 1];
    20509     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20510
    20511     CS_GL_ARB_vertex_buffer_object = (strstr (extstrGL, ext) != 0);
    20512
    20513     bool allclear, funcTest;
    20514     (void)funcTest; // shut up "variable unused" warnings
    20515     bool init = CS_GL_ARB_vertex_buffer_object;
    20516     allclear = true;
    20517     if (init)   // Don't check the functions if ext isn't reported anyway
    20518     {
    20519       EXTMGR_FUNC_INIT(glBindBufferARB, GLBINDBUFFERARB);
    20520       EXTMGR_FUNC_INIT(glDeleteBuffersARB, GLDELETEBUFFERSARB);
    20521       EXTMGR_FUNC_INIT(glGenBuffersARB, GLGENBUFFERSARB);
    20522       EXTMGR_FUNC_INIT(glBufferDataARB, GLBUFFERDATAARB);
    20523       EXTMGR_FUNC_INIT(glBufferSubDataARB, GLBUFFERSUBDATAARB);
    20524       EXTMGR_FUNC_INIT(glMapBufferARB, GLMAPBUFFERARB);
    20525       EXTMGR_FUNC_INIT(glUnmapBufferARB, GLUNMAPBUFFERARB);
    20526       EXTMGR_FUNC_INIT(glIsBufferARB, GLISBUFFERARB);
    20527       EXTMGR_FUNC_INIT(glGetBufferSubDataARB, GLGETBUFFERSUBDATAARB);
    20528       EXTMGR_FUNC_INIT(glGetBufferPointervARB, GLGETBUFFERPOINTERVARB);
    20529       EXTMGR_FUNC_INIT(glGetBufferParameterivARB, GLGETBUFFERPARAMETERIVARB);
    20530
    20531       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_buffer_object)
    20532     }
    20533     else
    20534     {
    20535       Report (msgExtNotFound, "GL", ext);
    20536     }
    20537   }
    20538
    20541   void InitGL_ATI_separate_stencil ()
    20542   {
    20543     if (tested_CS_GL_ATI_separate_stencil) return;
    20544     if (!extstrGL) return;
    20545     tested_CS_GL_ATI_separate_stencil = true;
    20546     const char* ext = "GL_ATI_separate_stencil";
    20547
    20548     char cfgkey[26 + 23 + 1];
    20549     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20550
    20551     CS_GL_ATI_separate_stencil = (strstr (extstrGL, ext) != 0);
    20552
    20553     bool allclear, funcTest;
    20554     (void)funcTest; // shut up "variable unused" warnings
    20555     bool init = CS_GL_ATI_separate_stencil;
    20556     allclear = true;
    20557     if (init)   // Don't check the functions if ext isn't reported anyway
    20558     {
    20559       EXTMGR_FUNC_INIT(glStencilOpSeparateATI, GLSTENCILOPSEPARATEATI);
    20560       EXTMGR_FUNC_INIT(glStencilFuncSeparateATI, GLSTENCILFUNCSEPARATEATI);
    20561
    20562       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_separate_stencil)
    20563     }
    20564     else
    20565     {
    20566       Report (msgExtNotFound, "GL", ext);
    20567     }
    20568   }
    20569
    20572   void InitGL_ARB_texture_non_power_of_two ()
    20573   {
    20574     if (tested_CS_GL_ARB_texture_non_power_of_two) return;
    20575     if (!extstrGL) return;
    20576     tested_CS_GL_ARB_texture_non_power_of_two = true;
    20577     const char* ext = "GL_ARB_texture_non_power_of_two";
    20578
    20579     char cfgkey[26 + 31 + 1];
    20580     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20581
    20582     CS_GL_ARB_texture_non_power_of_two = (strstr (extstrGL, ext) != 0);
    20583
    20584     bool allclear, funcTest;
    20585     (void)funcTest; // shut up "variable unused" warnings
    20586     bool init = CS_GL_ARB_texture_non_power_of_two;
    20587     allclear = true;
    20588     if (init)   // Don't check the functions if ext isn't reported anyway
    20589     {
    20590
    20591       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_non_power_of_two)
    20592     }
    20593     else
    20594     {
    20595       Report (msgExtNotFound, "GL", ext);
    20596     }
    20597   }
    20598
    20601   void InitGL_ARB_point_sprite ()
    20602   {
    20603     if (tested_CS_GL_ARB_point_sprite) return;
    20604     if (!extstrGL) return;
    20605     tested_CS_GL_ARB_point_sprite = true;
    20606     const char* ext = "GL_ARB_point_sprite";
    20607
    20608     char cfgkey[26 + 19 + 1];
    20609     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20610
    20611     CS_GL_ARB_point_sprite = (strstr (extstrGL, ext) != 0);
    20612
    20613     bool allclear, funcTest;
    20614     (void)funcTest; // shut up "variable unused" warnings
    20615     bool init = CS_GL_ARB_point_sprite;
    20616     allclear = true;
    20617     if (init)   // Don't check the functions if ext isn't reported anyway
    20618     {
    20619
    20620       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_sprite)
    20621     }
    20622     else
    20623     {
    20624       Report (msgExtNotFound, "GL", ext);
    20625     }
    20626   }
    20627
    20630   void InitGL_ARB_shading_language_100 ()
    20631   {
    20632     if (tested_CS_GL_ARB_shading_language_100) return;
    20633     if (!extstrGL) return;
    20634     tested_CS_GL_ARB_shading_language_100 = true;
    20635     const char* ext = "GL_ARB_shading_language_100";
    20636
    20637     char cfgkey[26 + 27 + 1];
    20638     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20639
    20640     CS_GL_ARB_shading_language_100 = (strstr (extstrGL, ext) != 0);
    20641
    20642     bool allclear, funcTest;
    20643     (void)funcTest; // shut up "variable unused" warnings
    20644     bool init = CS_GL_ARB_shading_language_100;
    20645     allclear = true;
    20646     if (init)   // Don't check the functions if ext isn't reported anyway
    20647     {
    20648
    20649       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shading_language_100)
    20650     }
    20651     else
    20652     {
    20653       Report (msgExtNotFound, "GL", ext);
    20654     }
    20655   }
    20656
    20659   void InitGL_ARB_shader_objects ()
    20660   {
    20661     if (tested_CS_GL_ARB_shader_objects) return;
    20662     if (!extstrGL) return;
    20663     tested_CS_GL_ARB_shader_objects = true;
    20664     const char* ext = "GL_ARB_shader_objects";
    20665
    20666     char cfgkey[26 + 21 + 1];
    20667     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20668
    20669     CS_GL_ARB_shader_objects = (strstr (extstrGL, ext) != 0);
    20670
    20671     bool allclear, funcTest;
    20672     (void)funcTest; // shut up "variable unused" warnings
    20673     bool init = CS_GL_ARB_shader_objects;
    20674     allclear = true;
    20675     if (init)   // Don't check the functions if ext isn't reported anyway
    20676     {
    20677       EXTMGR_FUNC_INIT(glDeleteObjectARB, GLDELETEOBJECTARB);
    20678       EXTMGR_FUNC_INIT(glGetHandleARB, GLGETHANDLEARB);
    20679       EXTMGR_FUNC_INIT(glDetachObjectARB, GLDETACHOBJECTARB);
    20680       EXTMGR_FUNC_INIT(glCreateShaderObjectARB, GLCREATESHADEROBJECTARB);
    20681       EXTMGR_FUNC_INIT(glShaderSourceARB, GLSHADERSOURCEARB);
    20682       EXTMGR_FUNC_INIT(glCompileShaderARB, GLCOMPILESHADERARB);
    20683       EXTMGR_FUNC_INIT(glCreateProgramObjectARB, GLCREATEPROGRAMOBJECTARB);
    20684       EXTMGR_FUNC_INIT(glAttachObjectARB, GLATTACHOBJECTARB);
    20685       EXTMGR_FUNC_INIT(glLinkProgramARB, GLLINKPROGRAMARB);
    20686       EXTMGR_FUNC_INIT(glUseProgramObjectARB, GLUSEPROGRAMOBJECTARB);
    20687       EXTMGR_FUNC_INIT(glValidateProgramARB, GLVALIDATEPROGRAMARB);
    20688       EXTMGR_FUNC_INIT(glUniform1fARB, GLUNIFORM1FARB);
    20689       EXTMGR_FUNC_INIT(glUniform2fARB, GLUNIFORM2FARB);
    20690       EXTMGR_FUNC_INIT(glUniform3fARB, GLUNIFORM3FARB);
    20691       EXTMGR_FUNC_INIT(glUniform4fARB, GLUNIFORM4FARB);
    20692       EXTMGR_FUNC_INIT(glUniform1iARB, GLUNIFORM1IARB);
    20693       EXTMGR_FUNC_INIT(glUniform2iARB, GLUNIFORM2IARB);
    20694       EXTMGR_FUNC_INIT(glUniform3iARB, GLUNIFORM3IARB);
    20695       EXTMGR_FUNC_INIT(glUniform4iARB, GLUNIFORM4IARB);
    20696       EXTMGR_FUNC_INIT(glUniform1fvARB, GLUNIFORM1FVARB);
    20697       EXTMGR_FUNC_INIT(glUniform2fvARB, GLUNIFORM2FVARB);
    20698       EXTMGR_FUNC_INIT(glUniform3fvARB, GLUNIFORM3FVARB);
    20699       EXTMGR_FUNC_INIT(glUniform4fvARB, GLUNIFORM4FVARB);
    20700       EXTMGR_FUNC_INIT(glUniform1ivARB, GLUNIFORM1IVARB);
    20701       EXTMGR_FUNC_INIT(glUniform2ivARB, GLUNIFORM2IVARB);
    20702       EXTMGR_FUNC_INIT(glUniform3ivARB, GLUNIFORM3IVARB);
    20703       EXTMGR_FUNC_INIT(glUniform4ivARB, GLUNIFORM4IVARB);
    20704       EXTMGR_FUNC_INIT(glUniformMatrix2fvARB, GLUNIFORMMATRIX2FVARB);
    20705       EXTMGR_FUNC_INIT(glUniformMatrix3fvARB, GLUNIFORMMATRIX3FVARB);
    20706       EXTMGR_FUNC_INIT(glUniformMatrix4fvARB, GLUNIFORMMATRIX4FVARB);
    20707       EXTMGR_FUNC_INIT(glGetObjectParameterfvARB, GLGETOBJECTPARAMETERFVARB);
    20708       EXTMGR_FUNC_INIT(glGetObjectParameterivARB, GLGETOBJECTPARAMETERIVARB);
    20709       EXTMGR_FUNC_INIT(glGetInfoLogARB, GLGETINFOLOGARB);
    20710       EXTMGR_FUNC_INIT(glGetAttachedObjectsARB, GLGETATTACHEDOBJECTSARB);
    20711       EXTMGR_FUNC_INIT(glGetUniformLocationARB, GLGETUNIFORMLOCATIONARB);
    20712       EXTMGR_FUNC_INIT(glGetActiveUniformARB, GLGETACTIVEUNIFORMARB);
    20713       EXTMGR_FUNC_INIT(glGetUniformfvARB, GLGETUNIFORMFVARB);
    20714       EXTMGR_FUNC_INIT(glGetUniformivARB, GLGETUNIFORMIVARB);
    20715       EXTMGR_FUNC_INIT(glGetShaderSourceARB, GLGETSHADERSOURCEARB);
    20716
    20717       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shader_objects)
    20718     }
    20719     else
    20720     {
    20721       Report (msgExtNotFound, "GL", ext);
    20722     }
    20723   }
    20724
    20727   void InitGL_ARB_fragment_shader ()
    20728   {
    20729     if (tested_CS_GL_ARB_fragment_shader) return;
    20730     if (!extstrGL) return;
    20731     tested_CS_GL_ARB_fragment_shader = true;
    20732     const char* ext = "GL_ARB_fragment_shader";
    20733
    20734     char cfgkey[26 + 22 + 1];
    20735     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20736
    20737     CS_GL_ARB_fragment_shader = (strstr (extstrGL, ext) != 0);
    20738
    20739     bool allclear, funcTest;
    20740     (void)funcTest; // shut up "variable unused" warnings
    20741     bool init = CS_GL_ARB_fragment_shader;
    20742     allclear = true;
    20743     if (init)   // Don't check the functions if ext isn't reported anyway
    20744     {
    20745
    20746       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_shader)
    20747     }
    20748     else
    20749     {
    20750       Report (msgExtNotFound, "GL", ext);
    20751     }
    20752   }
    20753
    20756   void InitGL_ARB_vertex_shader ()
    20757   {
    20758     if (tested_CS_GL_ARB_vertex_shader) return;
    20759     if (!extstrGL) return;
    20760     tested_CS_GL_ARB_vertex_shader = true;
    20761     const char* ext = "GL_ARB_vertex_shader";
    20762
    20763     char cfgkey[26 + 20 + 1];
    20764     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20765
    20766     CS_GL_ARB_vertex_shader = (strstr (extstrGL, ext) != 0);
    20767
    20768     bool allclear, funcTest;
    20769     (void)funcTest; // shut up "variable unused" warnings
    20770     bool init = CS_GL_ARB_vertex_shader;
    20771     allclear = true;
    20772     if (init)   // Don't check the functions if ext isn't reported anyway
    20773     {
    20774       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
    20775       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
    20776       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
    20777       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
    20778       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
    20779       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
    20780       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
    20781       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
    20782       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
    20783       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
    20784       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
    20785       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
    20786       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
    20787       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
    20788       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
    20789       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
    20790       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
    20791       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
    20792       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
    20793       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
    20794       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
    20795       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
    20796       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
    20797       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
    20798       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
    20799       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
    20800       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
    20801       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
    20802       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
    20803       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
    20804       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
    20805       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
    20806       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
    20807       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
    20808       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
    20809       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
    20810       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
    20811       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
    20812       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
    20813       EXTMGR_FUNC_INIT(glBindAttribLocationARB, GLBINDATTRIBLOCATIONARB);
    20814       EXTMGR_FUNC_INIT(glGetActiveAttribARB, GLGETACTIVEATTRIBARB);
    20815       EXTMGR_FUNC_INIT(glGetAttribLocationARB, GLGETATTRIBLOCATIONARB);
    20816       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
    20817
    20818       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_shader)
    20819     }
    20820     else
    20821     {
    20822       Report (msgExtNotFound, "GL", ext);
    20823     }
    20824   }
    20825
    20828   void InitGL_ARB_pixel_buffer_object ()
    20829   {
    20830     if (tested_CS_GL_ARB_pixel_buffer_object) return;
    20831     if (!extstrGL) return;
    20832     tested_CS_GL_ARB_pixel_buffer_object = true;
    20833     const char* ext = "GL_ARB_pixel_buffer_object";
    20834     InitGL_ARB_vertex_buffer_object();
    20835     if (!CS_GL_ARB_vertex_buffer_object)
    20836     {
    20837       Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object");
    20838       return;
    20839     }
    20840     char cfgkey[26 + 26 + 1];
    20841     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20842
    20843     CS_GL_ARB_pixel_buffer_object = (strstr (extstrGL, ext) != 0);
    20844
    20845     bool allclear, funcTest;
    20846     (void)funcTest; // shut up "variable unused" warnings
    20847     bool init = CS_GL_ARB_pixel_buffer_object;
    20848     allclear = true;
    20849     if (init)   // Don't check the functions if ext isn't reported anyway
    20850     {
    20851
    20852       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_pixel_buffer_object)
    20853     }
    20854     else
    20855     {
    20856       Report (msgExtNotFound, "GL", ext);
    20857     }
    20858   }
    20859
    20862   void InitGL_ARB_texture_rectangle ()
    20863   {
    20864     if (tested_CS_GL_ARB_texture_rectangle) return;
    20865     if (!extstrGL) return;
    20866     tested_CS_GL_ARB_texture_rectangle = true;
    20867     const char* ext = "GL_ARB_texture_rectangle";
    20868
    20869     char cfgkey[26 + 24 + 1];
    20870     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20871
    20872     CS_GL_ARB_texture_rectangle = (strstr (extstrGL, ext) != 0);
    20873
    20874     bool allclear, funcTest;
    20875     (void)funcTest; // shut up "variable unused" warnings
    20876     bool init = CS_GL_ARB_texture_rectangle;
    20877     allclear = true;
    20878     if (init)   // Don't check the functions if ext isn't reported anyway
    20879     {
    20880
    20881       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rectangle)
    20882     }
    20883     else
    20884     {
    20885       Report (msgExtNotFound, "GL", ext);
    20886     }
    20887   }
    20888
    20891   void InitGL_EXT_framebuffer_object ()
    20892   {
    20893     if (tested_CS_GL_EXT_framebuffer_object) return;
    20894     if (!extstrGL) return;
    20895     tested_CS_GL_EXT_framebuffer_object = true;
    20896     const char* ext = "GL_EXT_framebuffer_object";
    20897
    20898     char cfgkey[26 + 25 + 1];
    20899     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20900
    20901     CS_GL_EXT_framebuffer_object = (strstr (extstrGL, ext) != 0);
    20902
    20903     bool allclear, funcTest;
    20904     (void)funcTest; // shut up "variable unused" warnings
    20905     bool init = CS_GL_EXT_framebuffer_object;
    20906     allclear = true;
    20907     if (init)   // Don't check the functions if ext isn't reported anyway
    20908     {
    20909       EXTMGR_FUNC_INIT(glIsRenderbufferEXT, GLISRENDERBUFFEREXT);
    20910       EXTMGR_FUNC_INIT(glBindRenderbufferEXT, GLBINDRENDERBUFFEREXT);
    20911       EXTMGR_FUNC_INIT(glDeleteRenderbuffersEXT, GLDELETERENDERBUFFERSEXT);
    20912       EXTMGR_FUNC_INIT(glGenRenderbuffersEXT, GLGENRENDERBUFFERSEXT);
    20913       EXTMGR_FUNC_INIT(glRenderbufferStorageEXT, GLRENDERBUFFERSTORAGEEXT);
    20914       EXTMGR_FUNC_INIT(glGetRenderbufferParameterivEXT, GLGETRENDERBUFFERPARAMETERIVEXT);
    20915       EXTMGR_FUNC_INIT(glIsFramebufferEXT, GLISFRAMEBUFFEREXT);
    20916       EXTMGR_FUNC_INIT(glBindFramebufferEXT, GLBINDFRAMEBUFFEREXT);
    20917       EXTMGR_FUNC_INIT(glDeleteFramebuffersEXT, GLDELETEFRAMEBUFFERSEXT);
    20918       EXTMGR_FUNC_INIT(glGenFramebuffersEXT, GLGENFRAMEBUFFERSEXT);
    20919       EXTMGR_FUNC_INIT(glCheckFramebufferStatusEXT, GLCHECKFRAMEBUFFERSTATUSEXT);
    20920       EXTMGR_FUNC_INIT(glFramebufferTexture1DEXT, GLFRAMEBUFFERTEXTURE1DEXT);
    20921       EXTMGR_FUNC_INIT(glFramebufferTexture2DEXT, GLFRAMEBUFFERTEXTURE2DEXT);
    20922       EXTMGR_FUNC_INIT(glFramebufferTexture3DEXT, GLFRAMEBUFFERTEXTURE3DEXT);
    20923       EXTMGR_FUNC_INIT(glFramebufferRenderbufferEXT, GLFRAMEBUFFERRENDERBUFFEREXT);
    20924       EXTMGR_FUNC_INIT(glGetFramebufferAttachmentParameterivEXT, GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT);
    20925       EXTMGR_FUNC_INIT(glGenerateMipmapEXT, GLGENERATEMIPMAPEXT);
    20926
    20927       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_framebuffer_object)
    20928     }
    20929     else
    20930     {
    20931       Report (msgExtNotFound, "GL", ext);
    20932     }
    20933   }
    20934
    20937   void InitGL_EXT_pixel_buffer_object ()
    20938   {
    20939     if (tested_CS_GL_EXT_pixel_buffer_object) return;
    20940     if (!extstrGL) return;
    20941     tested_CS_GL_EXT_pixel_buffer_object = true;
    20942     const char* ext = "GL_EXT_pixel_buffer_object";
    20943     InitGL_ARB_vertex_buffer_object();
    20944     if (!CS_GL_ARB_vertex_buffer_object)
    20945     {
    20946       Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object");
    20947       return;
    20948     }
    20949     char cfgkey[26 + 26 + 1];
    20950     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20951
    20952     CS_GL_EXT_pixel_buffer_object = (strstr (extstrGL, ext) != 0);
    20953
    20954     bool allclear, funcTest;
    20955     (void)funcTest; // shut up "variable unused" warnings
    20956     bool init = CS_GL_EXT_pixel_buffer_object;
    20957     allclear = true;
    20958     if (init)   // Don't check the functions if ext isn't reported anyway
    20959     {
    20960
    20961       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_pixel_buffer_object)
    20962     }
    20963     else
    20964     {
    20965       Report (msgExtNotFound, "GL", ext);
    20966     }
    20967   }
    20968
    20971   void InitGL_GREMEDY_string_marker ()
    20972   {
    20973     if (tested_CS_GL_GREMEDY_string_marker) return;
    20974     if (!extstrGL) return;
    20975     tested_CS_GL_GREMEDY_string_marker = true;
    20976     const char* ext = "GL_GREMEDY_string_marker";
    20977
    20978     char cfgkey[26 + 24 + 1];
    20979     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    20980
    20981     CS_GL_GREMEDY_string_marker = (strstr (extstrGL, ext) != 0);
    20982
    20983     bool allclear, funcTest;
    20984     (void)funcTest; // shut up "variable unused" warnings
    20985     bool init = CS_GL_GREMEDY_string_marker;
    20986     allclear = true;
    20987     if (init)   // Don't check the functions if ext isn't reported anyway
    20988     {
    20989       EXTMGR_FUNC_INIT(glStringMarkerGREMEDY, GLSTRINGMARKERGREMEDY);
    20990
    20991       EXTMGR_REPORT_INIT_RESULT("GL", GL_GREMEDY_string_marker)
    20992     }
    20993     else
    20994     {
    20995       Report (msgExtNotFound, "GL", ext);
    20996     }
    20997   }
    20998
    21001   void InitGL_EXT_texture_rectangle ()
    21002   {
    21003     if (tested_CS_GL_EXT_texture_rectangle) return;
    21004     if (!extstrGL) return;
    21005     tested_CS_GL_EXT_texture_rectangle = true;
    21006     const char* ext = "GL_EXT_texture_rectangle";
    21007
    21008     char cfgkey[26 + 24 + 1];
    21009     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
    21010
    21011     CS_GL_EXT_texture_rectangle = (strstr (extstrGL, ext) != 0);
    21012
    21013     bool allclear, funcTest;
    21014     (void)funcTest; // shut up "variable unused" warnings
    21015     bool init = CS_GL_EXT_texture_rectangle;
    21016     allclear = true;
    21017     if (init)   // Don't check the functions if ext isn't reported anyway
    21018     {
    21019
    21020       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_rectangle)
    21021     }
    21022     else
    21023     {
    21024       Report (msgExtNotFound, "GL", ext);
    21025     }
    21026   }
    21027
    21028
    21029 };
    21030
    21031 #undef REPORT_MISSING_ENTRIES
    21032
    21033 #undef EXTMGR_FUNC_INIT
    21034 #undef EXTMGR_REPORT_INIT_RESULT
    21035
    21036 #endif // __CS_GLEXTENSIONMANAGER_H__
    21037