CrystalSpace

Public API Reference

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 #ifndef CS_HAVE_GLCHARARB_T
00133 typedef char GLcharARB;
00134 #endif
00135 #ifndef CS_HAVE_GLHANDLEARB_T
00136 typedef unsigned int GLhandleARB;
00137 #endif
00138 /* Identifiers after promotion to core */
00139 #ifndef CS_HAVE_GLCHAR_T
00140 typedef GLcharARB GLchar;
00141 #endif
00142 
00143 #include "iutil/cmdline.h"
00144 #include "iutil/objreg.h"
00145 #include "iutil/verbositymanager.h"
00146 #include "ivaria/reporter.h"
00147 #include "ivideo/graph2d.h"
00148 #include "csutil/cfgacc.h"
00149 #include "csplugincommon/iopengl/openglinterface.h"
00150 
00155 #ifndef GL_UNSIGNED_BYTE_3_3_2
00156 #define GL_UNSIGNED_BYTE_3_3_2                                        32818
00157 #endif
00158 
00159 #ifndef GL_UNSIGNED_SHORT_4_4_4_4
00160 #define GL_UNSIGNED_SHORT_4_4_4_4                                     32819
00161 #endif
00162 
00163 #ifndef GL_UNSIGNED_SHORT_5_5_5_1
00164 #define GL_UNSIGNED_SHORT_5_5_5_1                                     32820
00165 #endif
00166 
00167 #ifndef GL_UNSIGNED_INT_8_8_8_8
00168 #define GL_UNSIGNED_INT_8_8_8_8                                       32821
00169 #endif
00170 
00171 #ifndef GL_UNSIGNED_INT_10_10_10_2
00172 #define GL_UNSIGNED_INT_10_10_10_2                                    32822
00173 #endif
00174 
00175 #ifndef GL_RESCALE_NORMAL
00176 #define GL_RESCALE_NORMAL                                             32826
00177 #endif
00178 
00179 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV
00180 #define GL_UNSIGNED_BYTE_2_3_3_REV                                    33634
00181 #endif
00182 
00183 #ifndef GL_UNSIGNED_SHORT_5_6_5
00184 #define GL_UNSIGNED_SHORT_5_6_5                                       33635
00185 #endif
00186 
00187 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV
00188 #define GL_UNSIGNED_SHORT_5_6_5_REV                                   33636
00189 #endif
00190 
00191 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV
00192 #define GL_UNSIGNED_SHORT_4_4_4_4_REV                                 33637
00193 #endif
00194 
00195 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV
00196 #define GL_UNSIGNED_SHORT_1_5_5_5_REV                                 33638
00197 #endif
00198 
00199 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV
00200 #define GL_UNSIGNED_INT_8_8_8_8_REV                                   33639
00201 #endif
00202 
00203 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV
00204 #define GL_UNSIGNED_INT_2_10_10_10_REV                                33640
00205 #endif
00206 
00207 #ifndef GL_BGR
00208 #define GL_BGR                                                        32992
00209 #endif
00210 
00211 #ifndef GL_BGRA
00212 #define GL_BGRA                                                       32993
00213 #endif
00214 
00215 #ifndef GL_MAX_ELEMENTS_VERTICES
00216 #define GL_MAX_ELEMENTS_VERTICES                                      33000
00217 #endif
00218 
00219 #ifndef GL_MAX_ELEMENTS_INDICES
00220 #define GL_MAX_ELEMENTS_INDICES                                       33001
00221 #endif
00222 
00223 #ifndef GL_CLAMP_TO_EDGE
00224 #define GL_CLAMP_TO_EDGE                                              33071
00225 #endif
00226 
00227 #ifndef GL_TEXTURE_MIN_LOD
00228 #define GL_TEXTURE_MIN_LOD                                            33082
00229 #endif
00230 
00231 #ifndef GL_TEXTURE_MAX_LOD
00232 #define GL_TEXTURE_MAX_LOD                                            33083
00233 #endif
00234 
00235 #ifndef GL_TEXTURE_BASE_LEVEL
00236 #define GL_TEXTURE_BASE_LEVEL                                         33084
00237 #endif
00238 
00239 #ifndef GL_TEXTURE_MAX_LEVEL
00240 #define GL_TEXTURE_MAX_LEVEL                                          33085
00241 #endif
00242 
00243 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL
00244 #define GL_LIGHT_MODEL_COLOR_CONTROL                                  33272
00245 #endif
00246 
00247 #ifndef GL_SINGLE_COLOR
00248 #define GL_SINGLE_COLOR                                               33273
00249 #endif
00250 
00251 #ifndef GL_SEPARATE_SPECULAR_COLOR
00252 #define GL_SEPARATE_SPECULAR_COLOR                                    33274
00253 #endif
00254 
00255 #ifndef GL_SMOOTH_POINT_SIZE_RANGE
00256 #define GL_SMOOTH_POINT_SIZE_RANGE                                     2834
00257 #endif
00258 
00259 #ifndef GL_SMOOTH_POINT_SIZE_GRANULARITY
00260 #define GL_SMOOTH_POINT_SIZE_GRANULARITY                               2835
00261 #endif
00262 
00263 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
00264 #define GL_SMOOTH_LINE_WIDTH_RANGE                                     2850
00265 #endif
00266 
00267 #ifndef GL_SMOOTH_LINE_WIDTH_GRANULARITY
00268 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY                               2851
00269 #endif
00270 
00271 #ifndef GL_ALIASED_POINT_SIZE_RANGE
00272 #define GL_ALIASED_POINT_SIZE_RANGE                                   33901
00273 #endif
00274 
00275 #ifndef GL_ALIASED_LINE_WIDTH_RANGE
00276 #define GL_ALIASED_LINE_WIDTH_RANGE                                   33902
00277 #endif
00278 
00279 #ifndef GL_PACK_SKIP_IMAGES
00280 #define GL_PACK_SKIP_IMAGES                                           32875
00281 #endif
00282 
00283 #ifndef GL_PACK_IMAGE_HEIGHT
00284 #define GL_PACK_IMAGE_HEIGHT                                          32876
00285 #endif
00286 
00287 #ifndef GL_UNPACK_SKIP_IMAGES
00288 #define GL_UNPACK_SKIP_IMAGES                                         32877
00289 #endif
00290 
00291 #ifndef GL_UNPACK_IMAGE_HEIGHT
00292 #define GL_UNPACK_IMAGE_HEIGHT                                        32878
00293 #endif
00294 
00295 #ifndef GL_TEXTURE_3D
00296 #define GL_TEXTURE_3D                                                 32879
00297 #endif
00298 
00299 #ifndef GL_PROXY_TEXTURE_3D
00300 #define GL_PROXY_TEXTURE_3D                                           32880
00301 #endif
00302 
00303 #ifndef GL_TEXTURE_DEPTH
00304 #define GL_TEXTURE_DEPTH                                              32881
00305 #endif
00306 
00307 #ifndef GL_TEXTURE_WRAP_R
00308 #define GL_TEXTURE_WRAP_R                                             32882
00309 #endif
00310 
00311 #ifndef GL_MAX_3D_TEXTURE_SIZE
00312 #define GL_MAX_3D_TEXTURE_SIZE                                        32883
00313 #endif
00314 
00315 
00322 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTS) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
00323 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);
00324 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);
00325 typedef GLvoid (csAPIENTRY* csGLCOPYTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00326 
00332 #ifndef GL_TEXTURE0
00333 #define GL_TEXTURE0                                                   33984
00334 #endif
00335 
00336 #ifndef GL_TEXTURE1
00337 #define GL_TEXTURE1                                                   33985
00338 #endif
00339 
00340 #ifndef GL_TEXTURE2
00341 #define GL_TEXTURE2                                                   33986
00342 #endif
00343 
00344 #ifndef GL_TEXTURE3
00345 #define GL_TEXTURE3                                                   33987
00346 #endif
00347 
00348 #ifndef GL_TEXTURE4
00349 #define GL_TEXTURE4                                                   33988
00350 #endif
00351 
00352 #ifndef GL_TEXTURE5
00353 #define GL_TEXTURE5                                                   33989
00354 #endif
00355 
00356 #ifndef GL_TEXTURE6
00357 #define GL_TEXTURE6                                                   33990
00358 #endif
00359 
00360 #ifndef GL_TEXTURE7
00361 #define GL_TEXTURE7                                                   33991
00362 #endif
00363 
00364 #ifndef GL_TEXTURE8
00365 #define GL_TEXTURE8                                                   33992
00366 #endif
00367 
00368 #ifndef GL_TEXTURE9
00369 #define GL_TEXTURE9                                                   33993
00370 #endif
00371 
00372 #ifndef GL_TEXTURE10
00373 #define GL_TEXTURE10                                                  33994
00374 #endif
00375 
00376 #ifndef GL_TEXTURE11
00377 #define GL_TEXTURE11                                                  33995
00378 #endif
00379 
00380 #ifndef GL_TEXTURE12
00381 #define GL_TEXTURE12                                                  33996
00382 #endif
00383 
00384 #ifndef GL_TEXTURE13
00385 #define GL_TEXTURE13                                                  33997
00386 #endif
00387 
00388 #ifndef GL_TEXTURE14
00389 #define GL_TEXTURE14                                                  33998
00390 #endif
00391 
00392 #ifndef GL_TEXTURE15
00393 #define GL_TEXTURE15                                                  33999
00394 #endif
00395 
00396 #ifndef GL_TEXTURE16
00397 #define GL_TEXTURE16                                                  34000
00398 #endif
00399 
00400 #ifndef GL_TEXTURE17
00401 #define GL_TEXTURE17                                                  34001
00402 #endif
00403 
00404 #ifndef GL_TEXTURE18
00405 #define GL_TEXTURE18                                                  34002
00406 #endif
00407 
00408 #ifndef GL_TEXTURE19
00409 #define GL_TEXTURE19                                                  34003
00410 #endif
00411 
00412 #ifndef GL_TEXTURE20
00413 #define GL_TEXTURE20                                                  34004
00414 #endif
00415 
00416 #ifndef GL_TEXTURE21
00417 #define GL_TEXTURE21                                                  34005
00418 #endif
00419 
00420 #ifndef GL_TEXTURE22
00421 #define GL_TEXTURE22                                                  34006
00422 #endif
00423 
00424 #ifndef GL_TEXTURE23
00425 #define GL_TEXTURE23                                                  34007
00426 #endif
00427 
00428 #ifndef GL_TEXTURE24
00429 #define GL_TEXTURE24                                                  34008
00430 #endif
00431 
00432 #ifndef GL_TEXTURE25
00433 #define GL_TEXTURE25                                                  34009
00434 #endif
00435 
00436 #ifndef GL_TEXTURE26
00437 #define GL_TEXTURE26                                                  34010
00438 #endif
00439 
00440 #ifndef GL_TEXTURE27
00441 #define GL_TEXTURE27                                                  34011
00442 #endif
00443 
00444 #ifndef GL_TEXTURE28
00445 #define GL_TEXTURE28                                                  34012
00446 #endif
00447 
00448 #ifndef GL_TEXTURE29
00449 #define GL_TEXTURE29                                                  34013
00450 #endif
00451 
00452 #ifndef GL_TEXTURE30
00453 #define GL_TEXTURE30                                                  34014
00454 #endif
00455 
00456 #ifndef GL_TEXTURE31
00457 #define GL_TEXTURE31                                                  34015
00458 #endif
00459 
00460 #ifndef GL_ACTIVE_TEXTURE
00461 #define GL_ACTIVE_TEXTURE                                             34016
00462 #endif
00463 
00464 #ifndef GL_CLIENT_ACTIVE_TEXTURE
00465 #define GL_CLIENT_ACTIVE_TEXTURE                                      34017
00466 #endif
00467 
00468 #ifndef GL_MAX_TEXTURE_UNITS
00469 #define GL_MAX_TEXTURE_UNITS                                          34018
00470 #endif
00471 
00472 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX
00473 #define GL_TRANSPOSE_MODELVIEW_MATRIX                                 34019
00474 #endif
00475 
00476 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX
00477 #define GL_TRANSPOSE_PROJECTION_MATRIX                                34020
00478 #endif
00479 
00480 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX
00481 #define GL_TRANSPOSE_TEXTURE_MATRIX                                   34021
00482 #endif
00483 
00484 #ifndef GL_TRANSPOSE_COLOR_MATRIX
00485 #define GL_TRANSPOSE_COLOR_MATRIX                                     34022
00486 #endif
00487 
00488 #ifndef GL_MULTISAMPLE
00489 #define GL_MULTISAMPLE                                                32925
00490 #endif
00491 
00492 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE
00493 #define GL_SAMPLE_ALPHA_TO_COVERAGE                                   32926
00494 #endif
00495 
00496 #ifndef GL_SAMPLE_ALPHA_TO_ONE
00497 #define GL_SAMPLE_ALPHA_TO_ONE                                        32927
00498 #endif
00499 
00500 #ifndef GL_SAMPLE_COVERAGE
00501 #define GL_SAMPLE_COVERAGE                                            32928
00502 #endif
00503 
00504 #ifndef GL_SAMPLE_BUFFERS
00505 #define GL_SAMPLE_BUFFERS                                             32936
00506 #endif
00507 
00508 #ifndef GL_SAMPLES
00509 #define GL_SAMPLES                                                    32937
00510 #endif
00511 
00512 #ifndef GL_SAMPLE_COVERAGE_VALUE
00513 #define GL_SAMPLE_COVERAGE_VALUE                                      32938
00514 #endif
00515 
00516 #ifndef GL_SAMPLE_COVERAGE_INVERT
00517 #define GL_SAMPLE_COVERAGE_INVERT                                     32939
00518 #endif
00519 
00520 #ifndef GL_MULTISAMPLE_BIT
00521 #define GL_MULTISAMPLE_BIT                                           536870912
00522 #endif
00523 
00524 #ifndef GL_NORMAL_MAP
00525 #define GL_NORMAL_MAP                                                 34065
00526 #endif
00527 
00528 #ifndef GL_REFLECTION_MAP
00529 #define GL_REFLECTION_MAP                                             34066
00530 #endif
00531 
00532 #ifndef GL_TEXTURE_CUBE_MAP
00533 #define GL_TEXTURE_CUBE_MAP                                           34067
00534 #endif
00535 
00536 #ifndef GL_TEXTURE_BINDING_CUBE_MAP
00537 #define GL_TEXTURE_BINDING_CUBE_MAP                                   34068
00538 #endif
00539 
00540 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X
00541 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X                                34069
00542 #endif
00543 
00544 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X
00545 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X                                34070
00546 #endif
00547 
00548 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y
00549 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y                                34071
00550 #endif
00551 
00552 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
00553 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                                34072
00554 #endif
00555 
00556 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z
00557 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z                                34073
00558 #endif
00559 
00560 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
00561 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z                                34074
00562 #endif
00563 
00564 #ifndef GL_PROXY_TEXTURE_CUBE_MAP
00565 #define GL_PROXY_TEXTURE_CUBE_MAP                                     34075
00566 #endif
00567 
00568 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE
00569 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE                                  34076
00570 #endif
00571 
00572 #ifndef GL_COMPRESSED_ALPHA
00573 #define GL_COMPRESSED_ALPHA                                           34025
00574 #endif
00575 
00576 #ifndef GL_COMPRESSED_LUMINANCE
00577 #define GL_COMPRESSED_LUMINANCE                                       34026
00578 #endif
00579 
00580 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA
00581 #define GL_COMPRESSED_LUMINANCE_ALPHA                                 34027
00582 #endif
00583 
00584 #ifndef GL_COMPRESSED_INTENSITY
00585 #define GL_COMPRESSED_INTENSITY                                       34028
00586 #endif
00587 
00588 #ifndef GL_COMPRESSED_RGB
00589 #define GL_COMPRESSED_RGB                                             34029
00590 #endif
00591 
00592 #ifndef GL_COMPRESSED_RGBA
00593 #define GL_COMPRESSED_RGBA                                            34030
00594 #endif
00595 
00596 #ifndef GL_TEXTURE_COMPRESSION_HINT
00597 #define GL_TEXTURE_COMPRESSION_HINT                                   34031
00598 #endif
00599 
00600 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE
00601 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE                              34464
00602 #endif
00603 
00604 #ifndef GL_TEXTURE_COMPRESSED
00605 #define GL_TEXTURE_COMPRESSED                                         34465
00606 #endif
00607 
00608 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS
00609 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS                             34466
00610 #endif
00611 
00612 #ifndef GL_COMPRESSED_TEXTURE_FORMATS
00613 #define GL_COMPRESSED_TEXTURE_FORMATS                                 34467
00614 #endif
00615 
00616 #ifndef GL_CLAMP_TO_BORDER
00617 #define GL_CLAMP_TO_BORDER                                            33069
00618 #endif
00619 
00620 #ifndef GL_CLAMP_TO_BORDER_SGIS
00621 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
00622 #endif
00623 
00624 #ifndef GL_COMBINE
00625 #define GL_COMBINE                                                    34160
00626 #endif
00627 
00628 #ifndef GL_COMBINE_RGB
00629 #define GL_COMBINE_RGB                                                34161
00630 #endif
00631 
00632 #ifndef GL_COMBINE_ALPHA
00633 #define GL_COMBINE_ALPHA                                              34162
00634 #endif
00635 
00636 #ifndef GL_SOURCE0_RGB
00637 #define GL_SOURCE0_RGB                                                34176
00638 #endif
00639 
00640 #ifndef GL_SOURCE1_RGB
00641 #define GL_SOURCE1_RGB                                                34177
00642 #endif
00643 
00644 #ifndef GL_SOURCE2_RGB
00645 #define GL_SOURCE2_RGB                                                34178
00646 #endif
00647 
00648 #ifndef GL_SOURCE0_ALPHA
00649 #define GL_SOURCE0_ALPHA                                              34184
00650 #endif
00651 
00652 #ifndef GL_SOURCE1_ALPHA
00653 #define GL_SOURCE1_ALPHA                                              34185
00654 #endif
00655 
00656 #ifndef GL_SOURCE2_ALPHA
00657 #define GL_SOURCE2_ALPHA                                              34186
00658 #endif
00659 
00660 #ifndef GL_OPERAND0_RGB
00661 #define GL_OPERAND0_RGB                                               34192
00662 #endif
00663 
00664 #ifndef GL_OPERAND1_RGB
00665 #define GL_OPERAND1_RGB                                               34193
00666 #endif
00667 
00668 #ifndef GL_OPERAND2_RGB
00669 #define GL_OPERAND2_RGB                                               34194
00670 #endif
00671 
00672 #ifndef GL_OPERAND0_ALPHA
00673 #define GL_OPERAND0_ALPHA                                             34200
00674 #endif
00675 
00676 #ifndef GL_OPERAND1_ALPHA
00677 #define GL_OPERAND1_ALPHA                                             34201
00678 #endif
00679 
00680 #ifndef GL_OPERAND2_ALPHA
00681 #define GL_OPERAND2_ALPHA                                             34202
00682 #endif
00683 
00684 #ifndef GL_RGB_SCALE
00685 #define GL_RGB_SCALE                                                  34163
00686 #endif
00687 
00688 #ifndef GL_ADD_SIGNED
00689 #define GL_ADD_SIGNED                                                 34164
00690 #endif
00691 
00692 #ifndef GL_INTERPOLATE
00693 #define GL_INTERPOLATE                                                34165
00694 #endif
00695 
00696 #ifndef GL_SUBTRACT
00697 #define GL_SUBTRACT                                                   34023
00698 #endif
00699 
00700 #ifndef GL_CONSTANT
00701 #define GL_CONSTANT                                                   34166
00702 #endif
00703 
00704 #ifndef GL_PRIMARY_COLOR
00705 #define GL_PRIMARY_COLOR                                              34167
00706 #endif
00707 
00708 #ifndef GL_PREVIOUS
00709 #define GL_PREVIOUS                                                   34168
00710 #endif
00711 
00712 #ifndef GL_DOT3_RGB
00713 #define GL_DOT3_RGB                                                   34478
00714 #endif
00715 
00716 #ifndef GL_DOT3_RGBA
00717 #define GL_DOT3_RGBA                                                  34479
00718 #endif
00719 
00720 
00727 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTURE) (GLenum texture);
00728 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTURE) (GLenum texture);
00729 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1D) (GLenum target, GLdouble s);
00730 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DV) (GLenum target, const GLdouble* v);
00731 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1F) (GLenum target, GLfloat s);
00732 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FV) (GLenum target, const GLfloat* v);
00733 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1I) (GLenum target, GLint s);
00734 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IV) (GLenum target, const GLint* v);
00735 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1S) (GLenum target, GLshort s);
00736 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SV) (GLenum target, const GLshort* v);
00737 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2D) (GLenum target, GLdouble s, GLdouble t);
00738 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DV) (GLenum target, const GLdouble* v);
00739 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2F) (GLenum target, GLfloat s, GLfloat t);
00740 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FV) (GLenum target, const GLfloat* v);
00741 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2I) (GLenum target, GLint s, GLint t);
00742 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IV) (GLenum target, const GLint* v);
00743 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2S) (GLenum target, GLshort s, GLshort t);
00744 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SV) (GLenum target, const GLshort* v);
00745 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3D) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
00746 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DV) (GLenum target, const GLdouble* v);
00747 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3F) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
00748 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FV) (GLenum target, const GLfloat* v);
00749 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3I) (GLenum target, GLint s, GLint t, GLint r);
00750 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IV) (GLenum target, const GLint* v);
00751 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3S) (GLenum target, GLshort s, GLshort t, GLshort r);
00752 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SV) (GLenum target, const GLshort* v);
00753 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4D) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
00754 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DV) (GLenum target, const GLdouble* v);
00755 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4F) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
00756 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FV) (GLenum target, const GLfloat* v);
00757 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4I) (GLenum target, GLint s, GLint t, GLint r, GLint q);
00758 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IV) (GLenum target, const GLint* v);
00759 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4S) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
00760 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SV) (GLenum target, const GLshort* v);
00761 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXF) (const GLfloat* m);
00762 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXD) (const GLdouble* m);
00763 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXF) (const GLfloat* m);
00764 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXD) (const GLdouble* m);
00765 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGE) (GLclampf value, GLboolean invert);
00766 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
00767 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
00768 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
00769 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);
00770 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
00771 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
00772 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGE) (GLenum target, GLint level, GLvoid* img);
00773 
00779 #ifndef GL_GENERATE_MIPMAP
00780 #define GL_GENERATE_MIPMAP                                            33169
00781 #endif
00782 
00783 #ifndef GL_DEPTH_COMPONENT16
00784 #define GL_DEPTH_COMPONENT16                                          33189
00785 #endif
00786 
00787 #ifndef GL_DEPTH_COMPONENT24
00788 #define GL_DEPTH_COMPONENT24                                          33190
00789 #endif
00790 
00791 #ifndef GL_DEPTH_COMPONENT32
00792 #define GL_DEPTH_COMPONENT32                                          33191
00793 #endif
00794 
00795 #ifndef GL_TEXTURE_DEPTH_SIZE
00796 #define GL_TEXTURE_DEPTH_SIZE                                         34890
00797 #endif
00798 
00799 #ifndef GL_DEPTH_TEXTURE_MODE
00800 #define GL_DEPTH_TEXTURE_MODE                                         34891
00801 #endif
00802 
00803 #ifndef GL_TEXTURE_COMPARE_MODE
00804 #define GL_TEXTURE_COMPARE_MODE                                       34892
00805 #endif
00806 
00807 #ifndef GL_TEXTURE_COMPARE_FUNC
00808 #define GL_TEXTURE_COMPARE_FUNC                                       34893
00809 #endif
00810 
00811 #ifndef GL_COMPARE_R_TO_TEXTURE
00812 #define GL_COMPARE_R_TO_TEXTURE                                       34894
00813 #endif
00814 
00815 #ifndef GL_FOG_COORDINATE_SOURCE
00816 #define GL_FOG_COORDINATE_SOURCE                                      33872
00817 #endif
00818 
00819 #ifndef GL_FOG_COORDINATE
00820 #define GL_FOG_COORDINATE                                             33873
00821 #endif
00822 
00823 #ifndef GL_FRAGMENT_DEPTH
00824 #define GL_FRAGMENT_DEPTH                                             33874
00825 #endif
00826 
00827 #ifndef GL_CURRENT_FOG_COORDINATE
00828 #define GL_CURRENT_FOG_COORDINATE                                     33875
00829 #endif
00830 
00831 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE
00832 #define GL_FOG_COORDINATE_ARRAY_TYPE                                  33876
00833 #endif
00834 
00835 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE
00836 #define GL_FOG_COORDINATE_ARRAY_STRIDE                                33877
00837 #endif
00838 
00839 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER
00840 #define GL_FOG_COORDINATE_ARRAY_POINTER                               33878
00841 #endif
00842 
00843 #ifndef GL_FOG_COORDINATE_ARRAY
00844 #define GL_FOG_COORDINATE_ARRAY                                       33879
00845 #endif
00846 
00847 #ifndef GL_POINT_SIZE_MIN
00848 #define GL_POINT_SIZE_MIN                                             33062
00849 #endif
00850 
00851 #ifndef GL_POINT_SIZE_MAX
00852 #define GL_POINT_SIZE_MAX                                             33063
00853 #endif
00854 
00855 #ifndef GL_POINT_FADE_THRESHOLD_SIZE
00856 #define GL_POINT_FADE_THRESHOLD_SIZE                                  33064
00857 #endif
00858 
00859 #ifndef GL_POINT_DISTANCE_ATTENUATION
00860 #define GL_POINT_DISTANCE_ATTENUATION                                 33065
00861 #endif
00862 
00863 #ifndef GL_COLOR_SUM
00864 #define GL_COLOR_SUM                                                  33880
00865 #endif
00866 
00867 #ifndef GL_CURRENT_SECONDARY_COLOR
00868 #define GL_CURRENT_SECONDARY_COLOR                                    33881
00869 #endif
00870 
00871 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE
00872 #define GL_SECONDARY_COLOR_ARRAY_SIZE                                 33882
00873 #endif
00874 
00875 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE
00876 #define GL_SECONDARY_COLOR_ARRAY_TYPE                                 33883
00877 #endif
00878 
00879 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE
00880 #define GL_SECONDARY_COLOR_ARRAY_STRIDE                               33884
00881 #endif
00882 
00883 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER
00884 #define GL_SECONDARY_COLOR_ARRAY_POINTER                              33885
00885 #endif
00886 
00887 #ifndef GL_SECONDARY_COLOR_ARRAY
00888 #define GL_SECONDARY_COLOR_ARRAY                                      33886
00889 #endif
00890 
00891 #ifndef GL_BLEND_DST_RGB
00892 #define GL_BLEND_DST_RGB                                             0x80C8
00893 #endif
00894 
00895 #ifndef GL_BLEND_SRC_RGB
00896 #define GL_BLEND_SRC_RGB                                             0x80C9
00897 #endif
00898 
00899 #ifndef GL_BLEND_DST_ALPHA
00900 #define GL_BLEND_DST_ALPHA                                           0x80CA
00901 #endif
00902 
00903 #ifndef GL_BLEND_SRC_ALPHA
00904 #define GL_BLEND_SRC_ALPHA                                           0x80CB
00905 #endif
00906 
00907 #ifndef GL_INCR_WRAP
00908 #define GL_INCR_WRAP                                                  34055
00909 #endif
00910 
00911 #ifndef GL_DECR_WRAP
00912 #define GL_DECR_WRAP                                                  34056
00913 #endif
00914 
00915 #ifndef GL_TEXTURE_FILTER_CONTROL
00916 #define GL_TEXTURE_FILTER_CONTROL                                     34048
00917 #endif
00918 
00919 #ifndef GL_TEXTURE_LOD_BIAS
00920 #define GL_TEXTURE_LOD_BIAS                                           34049
00921 #endif
00922 
00923 #ifndef GL_MAX_TEXTURE_LOD_BIAS
00924 #define GL_MAX_TEXTURE_LOD_BIAS                                       34045
00925 #endif
00926 
00927 #ifndef GL_MIRRORED_REPEAT
00928 #define GL_MIRRORED_REPEAT                                            33648
00929 #endif
00930 
00931 
00938 typedef GLvoid (csAPIENTRY* csGLFOGCOORDF) (GLfloat coord);
00939 typedef GLvoid (csAPIENTRY* csGLFOGCOORDD) (GLdouble coord);
00940 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFV) (GLfloat* coord);
00941 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDV) (GLdouble* coord);
00942 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTER) (GLenum type, GLsizei stride, GLvoid* pointer);
00943 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYS) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
00944 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTS) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount);
00945 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERF) (GLenum pname, GLfloat param);
00946 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFV) (GLenum pname, GLfloat* params);
00947 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3B) (GLbyte components);
00948 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3S) (GLshort components);
00949 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3I) (GLint components);
00950 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3F) (GLfloat components);
00951 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3D) (GLdouble components);
00952 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UB) (GLubyte components);
00953 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3US) (GLushort components);
00954 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UI) (GLuint components);
00955 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BV) (GLbyte* components);
00956 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SV) (GLshort* components);
00957 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IV) (GLint* components);
00958 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FV) (GLfloat* components);
00959 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DV) (GLdouble* components);
00960 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBV) (GLubyte* components);
00961 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USV) (GLushort* components);
00962 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIV) (GLuint* components);
00963 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTER) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
00964 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATE) (GLenum sFactorRGB, GLenum dFactorRGB, GLenum sFactorAlpha, GLenum dFactorAlpha);
00965 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2D) (GLdouble x, GLdouble y);
00966 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2F) (GLfloat x, GLfloat y);
00967 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2I) (GLint x, GLint y);
00968 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2S) (GLshort x, GLshort y);
00969 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DV) (const GLdouble* p);
00970 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FV) (const GLfloat* p);
00971 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IV) (const GLint* p);
00972 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SV) (const GLshort* p);
00973 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3D) (GLdouble x, GLdouble y, GLdouble z);
00974 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3F) (GLfloat x, GLfloat y, GLfloat z);
00975 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3I) (GLint x, GLint y, GLint z);
00976 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3S) (GLshort x, GLshort y, GLshort z);
00977 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DV) (const GLdouble* p);
00978 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FV) (const GLfloat* p);
00979 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IV) (const GLint* p);
00980 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SV) (const GLshort* p);
00981 
00987 #ifndef GL_ARRAY_BUFFER
00988 #define GL_ARRAY_BUFFER                                               34962
00989 #endif
00990 
00991 #ifndef GL_ELEMENT_ARRAY_BUFFER
00992 #define GL_ELEMENT_ARRAY_BUFFER                                       34963
00993 #endif
00994 
00995 #ifndef GL_ARRAY_BUFFER_BINDING
00996 #define GL_ARRAY_BUFFER_BINDING                                       34964
00997 #endif
00998 
00999 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING
01000 #define GL_ELEMENT_ARRAY_BUFFER_BINDING                               34965
01001 #endif
01002 
01003 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING
01004 #define GL_VERTEX_ARRAY_BUFFER_BINDING                                34966
01005 #endif
01006 
01007 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING
01008 #define GL_NORMAL_ARRAY_BUFFER_BINDING                                34967
01009 #endif
01010 
01011 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING
01012 #define GL_COLOR_ARRAY_BUFFER_BINDING                                 34968
01013 #endif
01014 
01015 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING
01016 #define GL_INDEX_ARRAY_BUFFER_BINDING                                 34969
01017 #endif
01018 
01019 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
01020 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING                         34970
01021 #endif
01022 
01023 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING
01024 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING                             34971
01025 #endif
01026 
01027 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING
01028 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING                       34972
01029 #endif
01030 
01031 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
01032 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING                        34973
01033 #endif
01034 
01035 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING
01036 #define GL_WEIGHT_ARRAY_BUFFER_BINDING                                34974
01037 #endif
01038 
01039 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
01040 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING                         34975
01041 #endif
01042 
01043 #ifndef GL_STREAM_DRAW
01044 #define GL_STREAM_DRAW                                                35040
01045 #endif
01046 
01047 #ifndef GL_STREAM_READ
01048 #define GL_STREAM_READ                                                35041
01049 #endif
01050 
01051 #ifndef GL_STREAM_COPY
01052 #define GL_STREAM_COPY                                                35042
01053 #endif
01054 
01055 #ifndef GL_STATIC_DRAW
01056 #define GL_STATIC_DRAW                                                35044
01057 #endif
01058 
01059 #ifndef GL_STATIC_READ
01060 #define GL_STATIC_READ                                                35045
01061 #endif
01062 
01063 #ifndef GL_STATIC_COPY
01064 #define GL_STATIC_COPY                                                35046
01065 #endif
01066 
01067 #ifndef GL_DYNAMIC_DRAW
01068 #define GL_DYNAMIC_DRAW                                               35048
01069 #endif
01070 
01071 #ifndef GL_DYNAMIC_READ
01072 #define GL_DYNAMIC_READ                                               35049
01073 #endif
01074 
01075 #ifndef GL_DYNAMIC_COPY
01076 #define GL_DYNAMIC_COPY                                               35050
01077 #endif
01078 
01079 #ifndef GL_READ_ONLY
01080 #define GL_READ_ONLY                                                  35000
01081 #endif
01082 
01083 #ifndef GL_WRITE_ONLY
01084 #define GL_WRITE_ONLY                                                 35001
01085 #endif
01086 
01087 #ifndef GL_READ_WRITE
01088 #define GL_READ_WRITE                                                 35002
01089 #endif
01090 
01091 #ifndef GL_BUFFER_SIZE
01092 #define GL_BUFFER_SIZE                                                34660
01093 #endif
01094 
01095 #ifndef GL_BUFFER_USAGE
01096 #define GL_BUFFER_USAGE                                               34661
01097 #endif
01098 
01099 #ifndef GL_BUFFER_ACCESS
01100 #define GL_BUFFER_ACCESS                                              35003
01101 #endif
01102 
01103 #ifndef GL_BUFFER_MAPPED
01104 #define GL_BUFFER_MAPPED                                              35004
01105 #endif
01106 
01107 #ifndef GL_BUFFER_MAP_POINTER
01108 #define GL_BUFFER_MAP_POINTER                                         35005
01109 #endif
01110 
01111 #ifndef GL_SAMPLES_PASSED
01112 #define GL_SAMPLES_PASSED                                            0x8914
01113 #endif
01114 
01115 #ifndef GL_QUERY_COUNTER_BITS
01116 #define GL_QUERY_COUNTER_BITS                                        0x8864
01117 #endif
01118 
01119 #ifndef GL_CURRENT_QUERY
01120 #define GL_CURRENT_QUERY                                             0x8865
01121 #endif
01122 
01123 #ifndef GL_QUERY_RESULT
01124 #define GL_QUERY_RESULT                                              0x8866
01125 #endif
01126 
01127 #ifndef GL_QUERY_RESULT_AVAILABLE
01128 #define GL_QUERY_RESULT_AVAILABLE                                    0x8867
01129 #endif
01130 
01131 #ifndef GL_FOG_COORD_SOURCE
01132 #define GL_FOG_COORD_SOURCE                                          GL_FOG_COORDINATE_SOURCE
01133 #endif
01134 
01135 #ifndef GL_FOG_COORD
01136 #define GL_FOG_COORD                                                 GL_FOG_COORDINATE
01137 #endif
01138 
01139 #ifndef GL_CURRENT_FOG_COORD
01140 #define GL_CURRENT_FOG_COORD                                         GL_CURRENT_FOG_COORDINATE
01141 #endif
01142 
01143 #ifndef GL_FOG_COORD_ARRAY_TYPE
01144 #define GL_FOG_COORD_ARRAY_TYPE                                      GL_FOG_COORDINATE_ARRAY_TYPE
01145 #endif
01146 
01147 #ifndef GL_FOG_COORD_ARRAY_STRIDE
01148 #define GL_FOG_COORD_ARRAY_STRIDE                                    GL_FOG_COORDINATE_ARRAY_STRIDE
01149 #endif
01150 
01151 #ifndef GL_FOG_COORD_ARRAY_POINTER
01152 #define GL_FOG_COORD_ARRAY_POINTER                                   GL_FOG_COORDINATE_ARRAY_POINTER
01153 #endif
01154 
01155 #ifndef GL_FOG_COORD_ARRAY
01156 #define GL_FOG_COORD_ARRAY                                           GL_FOG_COORDINATE_ARRAY
01157 #endif
01158 
01159 #ifndef GL_FOG_COORD_ARRAY_BUFFER_BINDING
01160 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING                            GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
01161 #endif
01162 
01163 #ifndef GL_SRC0_RGB
01164 #define GL_SRC0_RGB                                                  GL_SOURCE0_RGB
01165 #endif
01166 
01167 #ifndef GL_SRC1_RGB
01168 #define GL_SRC1_RGB                                                  GL_SOURCE1_RGB
01169 #endif
01170 
01171 #ifndef GL_SRC2_RGB
01172 #define GL_SRC2_RGB                                                  GL_SOURCE2_RGB
01173 #endif
01174 
01175 #ifndef GL_SRC0_ALPHA
01176 #define GL_SRC0_ALPHA                                                GL_SOURCE0_ALPHA
01177 #endif
01178 
01179 #ifndef GL_SRC1_ALPHA
01180 #define GL_SRC1_ALPHA                                                GL_SOURCE1_ALPHA
01181 #endif
01182 
01183 #ifndef GL_SRC2_ALPHA
01184 #define GL_SRC2_ALPHA                                                GL_SOURCE2_ALPHA
01185 #endif
01186 
01187 
01194 typedef GLvoid (csAPIENTRY* csGLBINDBUFFER) (GLenum target, GLuint buffer);
01195 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERS) (GLsizei n, const GLuint* buffers);
01196 typedef GLvoid (csAPIENTRY* csGLGENBUFFERS) (GLsizei n, GLuint* buffers);
01197 typedef GLvoid (csAPIENTRY* csGLBUFFERDATA) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage);
01198 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data);
01199 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFER) (GLenum target, GLenum access);
01200 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFER) (GLenum target);
01201 typedef GLboolean (csAPIENTRY* csGLISBUFFER) (GLuint buffer);
01202 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data);
01203 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERV) (GLenum target, GLenum pname, GLvoid** params);
01204 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
01205 typedef GLvoid (csAPIENTRY* csGLGENQUERIES) (GLsizei n, GLuint* ids);
01206 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIES) (GLsizei n, GLuint* ids);
01207 typedef GLboolean (csAPIENTRY* csGLISQUERY) (GLuint id);
01208 typedef GLvoid (csAPIENTRY* csGLBEGINQUERY) (GLenum target, GLuint id);
01209 typedef GLvoid (csAPIENTRY* csGLENDQUERY) (GLenum target);
01210 typedef GLvoid (csAPIENTRY* csGLGETQUERYIV) (GLenum target, GLenum pname, GLint* params);
01211 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIV) (GLuint id, GLenum pname, GLint* params);
01212 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIV) (GLuint id, GLenum pname, GLuint* params);
01213 
01219 #ifndef GL_PROGRAM_OBJECT
01220 #define GL_PROGRAM_OBJECT                                            0x8B40
01221 #endif
01222 
01223 #ifndef GL_OBJECT_TYPE
01224 #define GL_OBJECT_TYPE                                               0x8B4E
01225 #endif
01226 
01227 #ifndef GL_OBJECT_SUBTYPE
01228 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01229 #endif
01230 
01231 #ifndef GL_OBJECT_DELETE_STATUS
01232 #define GL_OBJECT_DELETE_STATUS                                      0x8B80
01233 #endif
01234 
01235 #ifndef GL_OBJECT_COMPILE_STATUS
01236 #define GL_OBJECT_COMPILE_STATUS                                     0x8B81
01237 #endif
01238 
01239 #ifndef GL_OBJECT_LINK_STATUS
01240 #define GL_OBJECT_LINK_STATUS                                        0x8B82
01241 #endif
01242 
01243 #ifndef GL_OBJECT_VALIDATE_STATUS
01244 #define GL_OBJECT_VALIDATE_STATUS                                    0x8B83
01245 #endif
01246 
01247 #ifndef GL_OBJECT_INFO_LOG_LENGTH
01248 #define GL_OBJECT_INFO_LOG_LENGTH                                    0x8B84
01249 #endif
01250 
01251 #ifndef GL_OBJECT_ATTACHED_OBJECTS
01252 #define GL_OBJECT_ATTACHED_OBJECTS                                   0x8B85
01253 #endif
01254 
01255 #ifndef GL_OBJECT_ACTIVE_UNIFORMS
01256 #define GL_OBJECT_ACTIVE_UNIFORMS                                    0x8B86
01257 #endif
01258 
01259 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH
01260 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH                         0x8B87
01261 #endif
01262 
01263 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH
01264 #define GL_OBJECT_SHADER_SOURCE_LENGTH                               0x8B88
01265 #endif
01266 
01267 #ifndef GL_SHADER_OBJECT
01268 #define GL_SHADER_OBJECT                                             0x8B48
01269 #endif
01270 
01271 #ifndef GL_FLOAT_VEC2
01272 #define GL_FLOAT_VEC2                                                0x8B50
01273 #endif
01274 
01275 #ifndef GL_FLOAT_VEC3
01276 #define GL_FLOAT_VEC3                                                0x8B51
01277 #endif
01278 
01279 #ifndef GL_FLOAT_VEC4
01280 #define GL_FLOAT_VEC4                                                0x8B52
01281 #endif
01282 
01283 #ifndef GL_INT_VEC2
01284 #define GL_INT_VEC2                                                  0x8B53
01285 #endif
01286 
01287 #ifndef GL_INT_VEC3
01288 #define GL_INT_VEC3                                                  0x8B54
01289 #endif
01290 
01291 #ifndef GL_INT_VEC4
01292 #define GL_INT_VEC4                                                  0x8B55
01293 #endif
01294 
01295 #ifndef GL_BOOL
01296 #define GL_BOOL                                                      0x8B56
01297 #endif
01298 
01299 #ifndef GL_BOOL_VEC2
01300 #define GL_BOOL_VEC2                                                 0x8B57
01301 #endif
01302 
01303 #ifndef GL_BOOL_VEC3
01304 #define GL_BOOL_VEC3                                                 0x8B58
01305 #endif
01306 
01307 #ifndef GL_BOOL_VEC4
01308 #define GL_BOOL_VEC4                                                 0x8B59
01309 #endif
01310 
01311 #ifndef GL_FLOAT_MAT2
01312 #define GL_FLOAT_MAT2                                                0x8B5A
01313 #endif
01314 
01315 #ifndef GL_FLOAT_MAT3
01316 #define GL_FLOAT_MAT3                                                0x8B5B
01317 #endif
01318 
01319 #ifndef GL_FLOAT_MAT4
01320 #define GL_FLOAT_MAT4                                                0x8B5C
01321 #endif
01322 
01323 #ifndef GL_FRAGMENT_SHADER
01324 #define GL_FRAGMENT_SHADER                                           0x8B30
01325 #endif
01326 
01327 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
01328 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS                           0x8B49
01329 #endif
01330 
01331 #ifndef GL_MAX_TEXTURE_COORDS
01332 #define GL_MAX_TEXTURE_COORDS                                        0x8871
01333 #endif
01334 
01335 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS
01336 #define GL_MAX_TEXTURE_IMAGE_UNITS                                   0x8872
01337 #endif
01338 
01339 #ifndef GL_OBJECT_TYPE
01340 #define GL_OBJECT_TYPE                                               0x8B4E
01341 #endif
01342 
01343 #ifndef GL_OBJECT_SUBTYPE
01344 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01345 #endif
01346 
01347 #ifndef GL_SHADER_OBJECT
01348 #define GL_SHADER_OBJECT                                             0x8B48
01349 #endif
01350 
01351 #ifndef GL_VERTEX_SHADER
01352 #define GL_VERTEX_SHADER                                             0x8B31
01353 #endif
01354 
01355 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS
01356 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS                             0x8B4A
01357 #endif
01358 
01359 #ifndef GL_MAX_VARYING_FLOATS
01360 #define GL_MAX_VARYING_FLOATS                                        0x8B4B
01361 #endif
01362 
01363 #ifndef GL_MAX_VERTEX_ATTRIBS
01364 #define GL_MAX_VERTEX_ATTRIBS                                        0x8869
01365 #endif
01366 
01367 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS
01368 #define GL_MAX_TEXTURE_IMAGE_UNITS                                   0x8872
01369 #endif
01370 
01371 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
01372 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS                            0x884C
01373 #endif
01374 
01375 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
01376 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS                          0x884D
01377 #endif
01378 
01379 #ifndef GL_MAX_TEXTURE_COORDS
01380 #define GL_MAX_TEXTURE_COORDS                                        0x8871
01381 #endif
01382 
01383 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE
01384 #define GL_VERTEX_PROGRAM_POINT_SIZE                                 0x8642
01385 #endif
01386 
01387 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE
01388 #define GL_VERTEX_PROGRAM_TWO_SIDE                                   0x8643
01389 #endif
01390 
01391 #ifndef GL_OBJECT_TYPE
01392 #define GL_OBJECT_TYPE                                               0x8B4E
01393 #endif
01394 
01395 #ifndef GL_OBJECT_SUBTYPE
01396 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01397 #endif
01398 
01399 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES
01400 #define GL_OBJECT_ACTIVE_ATTRIBUTES                                  0x8B89
01401 #endif
01402 
01403 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH
01404 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH                        0x8B8A
01405 #endif
01406 
01407 #ifndef GL_SHADER_OBJECT
01408 #define GL_SHADER_OBJECT                                             0x8B48
01409 #endif
01410 
01411 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED
01412 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED                               0x8622
01413 #endif
01414 
01415 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE
01416 #define GL_VERTEX_ATTRIB_ARRAY_SIZE                                  0x8623
01417 #endif
01418 
01419 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE
01420 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE                                0x8624
01421 #endif
01422 
01423 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE
01424 #define GL_VERTEX_ATTRIB_ARRAY_TYPE                                  0x8625
01425 #endif
01426 
01427 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
01428 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED                            0x886A
01429 #endif
01430 
01431 #ifndef GL_CURRENT_VERTEX_ATTRIB
01432 #define GL_CURRENT_VERTEX_ATTRIB                                     0x8626
01433 #endif
01434 
01435 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER
01436 #define GL_VERTEX_ATTRIB_ARRAY_POINTER                               0x8645
01437 #endif
01438 
01439 #ifndef GL_FLOAT_VEC2
01440 #define GL_FLOAT_VEC2                                                0x8B50
01441 #endif
01442 
01443 #ifndef GL_FLOAT_VEC3
01444 #define GL_FLOAT_VEC3                                                0x8B51
01445 #endif
01446 
01447 #ifndef GL_FLOAT_VEC4
01448 #define GL_FLOAT_VEC4                                                0x8B52
01449 #endif
01450 
01451 #ifndef GL_FLOAT_MAT2
01452 #define GL_FLOAT_MAT2                                                0x8B5A
01453 #endif
01454 
01455 #ifndef GL_FLOAT_MAT3
01456 #define GL_FLOAT_MAT3                                                0x8B5B
01457 #endif
01458 
01459 #ifndef GL_FLOAT_MAT4
01460 #define GL_FLOAT_MAT4                                                0x8B5C
01461 #endif
01462 
01463 #ifndef GL_MAX_DRAW_BUFFERS
01464 #define GL_MAX_DRAW_BUFFERS                                          0x8824
01465 #endif
01466 
01467 #ifndef GL_DRAW_BUFFER0
01468 #define GL_DRAW_BUFFER0                                              0x8825
01469 #endif
01470 
01471 #ifndef GL_DRAW_BUFFER1
01472 #define GL_DRAW_BUFFER1                                              0x8826
01473 #endif
01474 
01475 #ifndef GL_DRAW_BUFFER2
01476 #define GL_DRAW_BUFFER2                                              0x8827
01477 #endif
01478 
01479 #ifndef GL_DRAW_BUFFER3
01480 #define GL_DRAW_BUFFER3                                              0x8828
01481 #endif
01482 
01483 #ifndef GL_DRAW_BUFFER4
01484 #define GL_DRAW_BUFFER4                                              0x8829
01485 #endif
01486 
01487 #ifndef GL_DRAW_BUFFER5
01488 #define GL_DRAW_BUFFER5                                              0x882A
01489 #endif
01490 
01491 #ifndef GL_DRAW_BUFFER6
01492 #define GL_DRAW_BUFFER6                                              0x882B
01493 #endif
01494 
01495 #ifndef GL_DRAW_BUFFER7
01496 #define GL_DRAW_BUFFER7                                              0x882C
01497 #endif
01498 
01499 #ifndef GL_DRAW_BUFFER8
01500 #define GL_DRAW_BUFFER8                                              0x882D
01501 #endif
01502 
01503 #ifndef GL_DRAW_BUFFER9
01504 #define GL_DRAW_BUFFER9                                              0x882E
01505 #endif
01506 
01507 #ifndef GL_DRAW_BUFFER10
01508 #define GL_DRAW_BUFFER10                                             0x882F
01509 #endif
01510 
01511 #ifndef GL_DRAW_BUFFER11
01512 #define GL_DRAW_BUFFER11                                             0x8830
01513 #endif
01514 
01515 #ifndef GL_DRAW_BUFFER12
01516 #define GL_DRAW_BUFFER12                                             0x8831
01517 #endif
01518 
01519 #ifndef GL_DRAW_BUFFER13
01520 #define GL_DRAW_BUFFER13                                             0x8832
01521 #endif
01522 
01523 #ifndef GL_DRAW_BUFFER14
01524 #define GL_DRAW_BUFFER14                                             0x8833
01525 #endif
01526 
01527 #ifndef GL_DRAW_BUFFER15
01528 #define GL_DRAW_BUFFER15                                             0x8834
01529 #endif
01530 
01531 #ifndef GL_POINT_SPRITE
01532 #define GL_POINT_SPRITE                                              0x8861
01533 #endif
01534 
01535 #ifndef GL_COORD_REPLACE
01536 #define GL_COORD_REPLACE                                             0x8862
01537 #endif
01538 
01539 #ifndef GL_POINT_SPRITE_COORD_ORIGIN
01540 #define GL_POINT_SPRITE_COORD_ORIGIN                                 0x8CA0
01541 #endif
01542 
01543 #ifndef GL_LOWER_LEFT
01544 #define GL_LOWER_LEFT                                                0x8CA1
01545 #endif
01546 
01547 #ifndef GL_UPPER_LEFT
01548 #define GL_UPPER_LEFT                                                0x8CA2
01549 #endif
01550 
01551 #ifndef GL_BLEND_EQUATION_RGB
01552 #define GL_BLEND_EQUATION_RGB                                        BLEND_EQUATION
01553 #endif
01554 
01555 #ifndef GL_BLEND_EQUATION_ALPHA
01556 #define GL_BLEND_EQUATION_ALPHA                                      0x883D
01557 #endif
01558 
01559 #ifndef GL_STENCIL_BACK_REF
01560 #define GL_STENCIL_BACK_REF                                          0x8CA3
01561 #endif
01562 
01563 #ifndef GL_STENCIL_BACK_VALUE_MASK
01564 #define GL_STENCIL_BACK_VALUE_MASK                                   0x8CA4
01565 #endif
01566 
01567 #ifndef GL_STENCIL_BACK_WRITEMASK
01568 #define GL_STENCIL_BACK_WRITEMASK                                    0x8CA5
01569 #endif
01570 
01571 
01578 typedef GLvoid (csAPIENTRY* csGLDELETESHADER) (GLuint obj);
01579 typedef GLuint (csAPIENTRY* csGLGETHANDLE) (GLenum pname);
01580 typedef GLvoid (csAPIENTRY* csGLDETACHSHADER) (GLuint containerObj, GLuint attachedObj);
01581 typedef GLuint (csAPIENTRY* csGLCREATESHADER) (GLenum shaderType);
01582 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCE) (GLuint shaderObj, GLsizei count, const GLchar** string, const GLint* length);
01583 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADER) (GLuint shaderObj);
01584 typedef GLuint (csAPIENTRY* csGLCREATEPROGRAMOBJECT) ();
01585 typedef GLvoid (csAPIENTRY* csGLATTACHSHADER) (GLuint containerObj, GLuint Obj);
01586 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAM) (GLuint programObj);
01587 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAM) (GLuint programObj);
01588 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAM) (GLuint programObj);
01589 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAM) (GLuint programObj);
01590 typedef GLvoid (csAPIENTRY* csGLUNIFORM1F) (GLint location, GLfloat v0);
01591 typedef GLvoid (csAPIENTRY* csGLUNIFORM2F) (GLint location, GLfloat v0, GLfloat v1);
01592 typedef GLvoid (csAPIENTRY* csGLUNIFORM3F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
01593 typedef GLvoid (csAPIENTRY* csGLUNIFORM4F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
01594 typedef GLvoid (csAPIENTRY* csGLUNIFORM1I) (GLint location, GLint v0);
01595 typedef GLvoid (csAPIENTRY* csGLUNIFORM2I) (GLint location, GLint v0, GLint v1);
01596 typedef GLvoid (csAPIENTRY* csGLUNIFORM3I) (GLint location, GLint v0, GLint v1, GLint v2);
01597 typedef GLvoid (csAPIENTRY* csGLUNIFORM4I) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
01598 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FV) (GLint location, GLsizei count, GLfloat* value);
01599 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FV) (GLint location, GLsizei count, GLfloat* value);
01600 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FV) (GLint location, GLsizei count, GLfloat* value);
01601 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FV) (GLint location, GLsizei count, GLfloat* value);
01602 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IV) (GLint location, GLsizei count, GLint* value);
01603 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IV) (GLint location, GLsizei count, GLint* value);
01604 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IV) (GLint location, GLsizei count, GLint* value);
01605 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IV) (GLint location, GLsizei count, GLint* value);
01606 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01607 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01608 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01609 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFV) (GLuint obj, GLenum pname, GLfloat* params);
01610 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIV) (GLuint obj, GLenum pname, GLint* params);
01611 typedef GLvoid (csAPIENTRY* csGLGETINFOLOG) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* infoLog);
01612 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTS) (GLuint containerObj, GLsizei maxCount, GLsizei* count, GLuint* obj);
01613 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATION) (GLuint programObj, const GLchar* name);
01614 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORM) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
01615 typedef GLint (csAPIENTRY* csGLGETUNIFORMFV) (GLuint programObj, GLint location, GLfloat* params);
01616 typedef GLint (csAPIENTRY* csGLGETUNIFORMIV) (GLuint programObj, GLint location, GLint* params);
01617 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCE) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
01618 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1S) (GLuint index, GLshort x);
01619 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1F) (GLuint index, GLfloat x);
01620 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1D) (GLuint index, GLdouble x);
01621 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2S) (GLuint index, GLshort x, GLshort y);
01622 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2F) (GLuint index, GLfloat x, GLfloat y);
01623 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2D) (GLuint index, GLdouble x, GLdouble y);
01624 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3S) (GLuint index, GLshort x, GLshort y, GLshort z);
01625 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3F) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
01626 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3D) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
01627 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4S) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
01628 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4F) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
01629 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4D) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
01630 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
01631 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SV) (GLuint index, const GLshort* v);
01632 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FV) (GLuint index, const GLfloat* v);
01633 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DV) (GLuint index, const GLdouble* v);
01634 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SV) (GLuint index, const GLshort* v);
01635 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FV) (GLuint index, const GLfloat* v);
01636 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DV) (GLuint index, const GLdouble* v);
01637 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SV) (GLuint index, const GLshort* v);
01638 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FV) (GLuint index, const GLfloat* v);
01639 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DV) (GLuint index, const GLdouble* v);
01640 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BV) (GLuint index, const GLbyte* v);
01641 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SV) (GLuint index, const GLshort* v);
01642 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IV) (GLuint index, const GLint* v);
01643 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBV) (GLuint index, const GLubyte* v);
01644 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USV) (GLuint index, const GLushort* v);
01645 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIV) (GLuint index, const GLuint* v);
01646 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FV) (GLuint index, const GLfloat* v);
01647 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DV) (GLuint index, const GLdouble* v);
01648 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBV) (GLuint index, const GLbyte* v);
01649 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSV) (GLuint index, const GLshort* v);
01650 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIV) (GLuint index, const GLint* v);
01651 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBV) (GLuint index, const GLubyte* v);
01652 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSV) (GLuint index, const GLushort* v);
01653 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIV) (GLuint index, const GLuint* v);
01654 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTER) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
01655 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAY) (GLuint index);
01656 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAY) (GLuint index);
01657 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATION) (GLuint programObj, GLuint index, const GLchar* name);
01658 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIB) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
01659 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATION) (GLuint programObj, const GLchar* name);
01660 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERV) (GLuint index, GLenum pname, GLvoid** pointer);
01661 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATE) (GLenum modeRGB, GLenum modeAlpha);
01662 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATE) (GLenum face, GLenum func, GLint ref, GLuint mask);
01663 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATE) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
01664 
01670 #ifndef GL_PIXEL_PACK_BUFFER
01671 #define GL_PIXEL_PACK_BUFFER                                         0x88EB
01672 #endif
01673 
01674 #ifndef GL_PIXEL_UNPACK_BUFFER
01675 #define GL_PIXEL_UNPACK_BUFFER                                       0x88EC
01676 #endif
01677 
01678 #ifndef GL_PIXEL_PACK_BUFFER_BINDING
01679 #define GL_PIXEL_PACK_BUFFER_BINDING                                 0x88ED
01680 #endif
01681 
01682 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING
01683 #define GL_PIXEL_UNPACK_BUFFER_BINDING                               0x88EF
01684 #endif
01685 
01686 #ifndef GL_SRGB
01687 #define GL_SRGB                                                      0x8C40
01688 #endif
01689 
01690 #ifndef GL_SRGB8
01691 #define GL_SRGB8                                                     0x8C41
01692 #endif
01693 
01694 #ifndef GL_SRGB_ALPHA
01695 #define GL_SRGB_ALPHA                                                0x8C42
01696 #endif
01697 
01698 #ifndef GL_SRGB8_ALPHA8
01699 #define GL_SRGB8_ALPHA8                                              0x8C43
01700 #endif
01701 
01702 #ifndef GL_SLUMINANCE_ALPHA
01703 #define GL_SLUMINANCE_ALPHA                                          0x8C44
01704 #endif
01705 
01706 #ifndef GL_SLUMINANCE8_ALPHA8
01707 #define GL_SLUMINANCE8_ALPHA8                                        0x8C45
01708 #endif
01709 
01710 #ifndef GL_SLUMINANCE
01711 #define GL_SLUMINANCE                                                0x8C46
01712 #endif
01713 
01714 #ifndef GL_SLUMINANCE8
01715 #define GL_SLUMINANCE8                                               0x8C47
01716 #endif
01717 
01718 #ifndef GL_COMPRESSED_SRGB
01719 #define GL_COMPRESSED_SRGB                                           0x8C48
01720 #endif
01721 
01722 #ifndef GL_COMPRESSED_SRGB_ALPHA
01723 #define GL_COMPRESSED_SRGB_ALPHA                                     0x8C49
01724 #endif
01725 
01726 #ifndef GL_COMPRESSED_SLUMINANCE
01727 #define GL_COMPRESSED_SLUMINANCE                                     0x8C4A
01728 #endif
01729 
01730 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA
01731 #define GL_COMPRESSED_SLUMINANCE_ALPHA                               0x8C4B
01732 #endif
01733 
01734 
01741 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01742 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01743 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01744 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01745 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01746 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01747 
01752 #ifndef GL_CONSTANT_COLOR
01753 #define GL_CONSTANT_COLOR                                             32769
01754 #endif
01755 
01756 #ifndef GL_ONE_MINUS_CONSTANT_COLOR
01757 #define GL_ONE_MINUS_CONSTANT_COLOR                                   32770
01758 #endif
01759 
01760 #ifndef GL_CONSTANT_ALPHA
01761 #define GL_CONSTANT_ALPHA                                             32771
01762 #endif
01763 
01764 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA
01765 #define GL_ONE_MINUS_CONSTANT_ALPHA                                   32772
01766 #endif
01767 
01768 #ifndef GL_BLEND_COLOR
01769 #define GL_BLEND_COLOR                                                32773
01770 #endif
01771 
01772 #ifndef GL_FUNC_ADD
01773 #define GL_FUNC_ADD                                                   32774
01774 #endif
01775 
01776 #ifndef GL_MIN
01777 #define GL_MIN                                                        32775
01778 #endif
01779 
01780 #ifndef GL_MAX
01781 #define GL_MAX                                                        32776
01782 #endif
01783 
01784 #ifndef GL_BLEND_EQUATION
01785 #define GL_BLEND_EQUATION                                             32777
01786 #endif
01787 
01788 #ifndef GL_FUNC_SUBTRACT
01789 #define GL_FUNC_SUBTRACT                                              32778
01790 #endif
01791 
01792 #ifndef GL_FUNC_REVERSE_SUBTRACT
01793 #define GL_FUNC_REVERSE_SUBTRACT                                      32779
01794 #endif
01795 
01796 #ifndef GL_CONVOLUTION_1D
01797 #define GL_CONVOLUTION_1D                                             32784
01798 #endif
01799 
01800 #ifndef GL_CONVOLUTION_2D
01801 #define GL_CONVOLUTION_2D                                             32785
01802 #endif
01803 
01804 #ifndef GL_SEPARABLE_2D
01805 #define GL_SEPARABLE_2D                                               32786
01806 #endif
01807 
01808 #ifndef GL_CONVOLUTION_BORDER_MODE
01809 #define GL_CONVOLUTION_BORDER_MODE                                    32787
01810 #endif
01811 
01812 #ifndef GL_CONVOLUTION_FILTER_SCALE
01813 #define GL_CONVOLUTION_FILTER_SCALE                                   32788
01814 #endif
01815 
01816 #ifndef GL_CONVOLUTION_FILTER_BIAS
01817 #define GL_CONVOLUTION_FILTER_BIAS                                    32789
01818 #endif
01819 
01820 #ifndef GL_REDUCE
01821 #define GL_REDUCE                                                     32790
01822 #endif
01823 
01824 #ifndef GL_CONVOLUTION_FORMAT
01825 #define GL_CONVOLUTION_FORMAT                                         32791
01826 #endif
01827 
01828 #ifndef GL_CONVOLUTION_WIDTH
01829 #define GL_CONVOLUTION_WIDTH                                          32792
01830 #endif
01831 
01832 #ifndef GL_CONVOLUTION_HEIGHT
01833 #define GL_CONVOLUTION_HEIGHT                                         32793
01834 #endif
01835 
01836 #ifndef GL_MAX_CONVOLUTION_WIDTH
01837 #define GL_MAX_CONVOLUTION_WIDTH                                      32794
01838 #endif
01839 
01840 #ifndef GL_MAX_CONVOLUTION_HEIGHT
01841 #define GL_MAX_CONVOLUTION_HEIGHT                                     32795
01842 #endif
01843 
01844 #ifndef GL_POST_CONVOLUTION_RED_SCALE
01845 #define GL_POST_CONVOLUTION_RED_SCALE                                 32796
01846 #endif
01847 
01848 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE
01849 #define GL_POST_CONVOLUTION_GREEN_SCALE                               32797
01850 #endif
01851 
01852 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE
01853 #define GL_POST_CONVOLUTION_BLUE_SCALE                                32798
01854 #endif
01855 
01856 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE
01857 #define GL_POST_CONVOLUTION_ALPHA_SCALE                               32799
01858 #endif
01859 
01860 #ifndef GL_POST_CONVOLUTION_RED_BIAS
01861 #define GL_POST_CONVOLUTION_RED_BIAS                                  32800
01862 #endif
01863 
01864 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS
01865 #define GL_POST_CONVOLUTION_GREEN_BIAS                                32801
01866 #endif
01867 
01868 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS
01869 #define GL_POST_CONVOLUTION_BLUE_BIAS                                 32802
01870 #endif
01871 
01872 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS
01873 #define GL_POST_CONVOLUTION_ALPHA_BIAS                                32803
01874 #endif
01875 
01876 #ifndef GL_HISTOGRAM
01877 #define GL_HISTOGRAM                                                  32804
01878 #endif
01879 
01880 #ifndef GL_PROXY_HISTOGRAM
01881 #define GL_PROXY_HISTOGRAM                                            32805
01882 #endif
01883 
01884 #ifndef GL_HISTOGRAM_WIDTH
01885 #define GL_HISTOGRAM_WIDTH                                            32806
01886 #endif
01887 
01888 #ifndef GL_HISTOGRAM_FORMAT
01889 #define GL_HISTOGRAM_FORMAT                                           32807
01890 #endif
01891 
01892 #ifndef GL_HISTOGRAM_RED_SIZE
01893 #define GL_HISTOGRAM_RED_SIZE                                         32808
01894 #endif
01895 
01896 #ifndef GL_HISTOGRAM_GREEN_SIZE
01897 #define GL_HISTOGRAM_GREEN_SIZE                                       32809
01898 #endif
01899 
01900 #ifndef GL_HISTOGRAM_BLUE_SIZE
01901 #define GL_HISTOGRAM_BLUE_SIZE                                        32810
01902 #endif
01903 
01904 #ifndef GL_HISTOGRAM_ALPHA_SIZE
01905 #define GL_HISTOGRAM_ALPHA_SIZE                                       32811
01906 #endif
01907 
01908 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE
01909 #define GL_HISTOGRAM_LUMINANCE_SIZE                                   32812
01910 #endif
01911 
01912 #ifndef GL_HISTOGRAM_SINK
01913 #define GL_HISTOGRAM_SINK                                             32813
01914 #endif
01915 
01916 #ifndef GL_MINMAX
01917 #define GL_MINMAX                                                     32814
01918 #endif
01919 
01920 #ifndef GL_MINMAX_FORMAT
01921 #define GL_MINMAX_FORMAT                                              32815
01922 #endif
01923 
01924 #ifndef GL_MINMAX_SINK
01925 #define GL_MINMAX_SINK                                                32816
01926 #endif
01927 
01928 #ifndef GL_TABLE_TOO_LARGE
01929 #define GL_TABLE_TOO_LARGE                                            32817
01930 #endif
01931 
01932 #ifndef GL_COLOR_MATRIX
01933 #define GL_COLOR_MATRIX                                               32945
01934 #endif
01935 
01936 #ifndef GL_COLOR_MATRIX_STACK_DEPTH
01937 #define GL_COLOR_MATRIX_STACK_DEPTH                                   32946
01938 #endif
01939 
01940 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH
01941 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH                               32947
01942 #endif
01943 
01944 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE
01945 #define GL_POST_COLOR_MATRIX_RED_SCALE                                32948
01946 #endif
01947 
01948 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE
01949 #define GL_POST_COLOR_MATRIX_GREEN_SCALE                              32949
01950 #endif
01951 
01952 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE
01953 #define GL_POST_COLOR_MATRIX_BLUE_SCALE                               32950
01954 #endif
01955 
01956 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE
01957 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE                              32951
01958 #endif
01959 
01960 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS
01961 #define GL_POST_COLOR_MATRIX_RED_BIAS                                 32952
01962 #endif
01963 
01964 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS
01965 #define GL_POST_COLOR_MATRIX_GREEN_BIAS                               32953
01966 #endif
01967 
01968 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS
01969 #define GL_POST_COLOR_MATRIX_BLUE_BIAS                                32954
01970 #endif
01971 
01972 #ifndef GL_POST_COLOR_MATIX_ALPHA_BIAS
01973 #define GL_POST_COLOR_MATIX_ALPHA_BIAS                                32955
01974 #endif
01975 
01976 #ifndef GL_COLOR_TABLE
01977 #define GL_COLOR_TABLE                                                32976
01978 #endif
01979 
01980 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE
01981 #define GL_POST_CONVOLUTION_COLOR_TABLE                               32977
01982 #endif
01983 
01984 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE
01985 #define GL_POST_COLOR_MATRIX_COLOR_TABLE                              32978
01986 #endif
01987 
01988 #ifndef GL_PROXY_COLOR_TABLE
01989 #define GL_PROXY_COLOR_TABLE                                          32979
01990 #endif
01991 
01992 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
01993 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE                         32980
01994 #endif
01995 
01996 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
01997 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE                        32981
01998 #endif
01999 
02000 #ifndef GL_COLOR_TABLE_SCALE
02001 #define GL_COLOR_TABLE_SCALE                                          32982
02002 #endif
02003 
02004 #ifndef GL_COLOR_TABLE_BIAS
02005 #define GL_COLOR_TABLE_BIAS                                           32983
02006 #endif
02007 
02008 #ifndef GL_COLOR_TABLE_FORMAT
02009 #define GL_COLOR_TABLE_FORMAT                                         32984
02010 #endif
02011 
02012 #ifndef GL_COLOR_TABLE_WIDTH
02013 #define GL_COLOR_TABLE_WIDTH                                          32985
02014 #endif
02015 
02016 #ifndef GL_COLOR_TABLE_RED_SIZE
02017 #define GL_COLOR_TABLE_RED_SIZE                                       32986
02018 #endif
02019 
02020 #ifndef GL_COLOR_TABLE_GREEN_SIZE
02021 #define GL_COLOR_TABLE_GREEN_SIZE                                     32987
02022 #endif
02023 
02024 #ifndef GL_COLOR_TABLE_BLUE_SIZE
02025 #define GL_COLOR_TABLE_BLUE_SIZE                                      32988
02026 #endif
02027 
02028 #ifndef GL_COLOR_TABLE_ALPHA_SIZE
02029 #define GL_COLOR_TABLE_ALPHA_SIZE                                     32989
02030 #endif
02031 
02032 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE
02033 #define GL_COLOR_TABLE_LUMINANCE_SIZE                                 32990
02034 #endif
02035 
02036 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE
02037 #define GL_COLOR_TABLE_INTENSITY_SIZE                                 32991
02038 #endif
02039 
02040 #ifndef GL_IGNORE_BORDER
02041 #define GL_IGNORE_BORDER                                              33104
02042 #endif
02043 
02044 #ifndef GL_CONSTANT_BORDER
02045 #define GL_CONSTANT_BORDER                                            33105
02046 #endif
02047 
02048 #ifndef GL_WRAP_BORDER
02049 #define GL_WRAP_BORDER                                                33106
02050 #endif
02051 
02052 #ifndef GL_REPLICATE_BORDER
02053 #define GL_REPLICATE_BORDER                                           33107
02054 #endif
02055 
02056 #ifndef GL_CONVOLUTION_BORDER_COLOR
02057 #define GL_CONVOLUTION_BORDER_COLOR                                   33108
02058 #endif
02059 
02060 
02066 typedef GLvoid (csAPIENTRY* csGLCOLORTABLE) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
02067 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
02068 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
02069 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLE) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
02070 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLE) (GLenum target, GLenum format, GLenum type, GLvoid* table);
02071 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02072 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02073 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLE) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
02074 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLE) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
02075 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
02076 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
02077 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERF) (GLenum target, GLenum pname, GLfloat params);
02078 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
02079 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERI) (GLenum target, GLenum pname, GLint params);
02080 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
02081 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
02082 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
02083 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* image);
02084 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02085 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02086 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
02087 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
02088 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAM) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
02089 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02090 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02091 typedef GLvoid (csAPIENTRY* csGLGETMINMAX) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
02092 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02093 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02094 typedef GLvoid (csAPIENTRY* csGLHISTOGRAM) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
02095 typedef GLvoid (csAPIENTRY* csGLMINMAX) (GLenum target, GLenum internalformat, GLboolean sink);
02096 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAM) (GLenum target);
02097 typedef GLvoid (csAPIENTRY* csGLRESETMINMAX) (GLenum target);
02098 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOR) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
02099 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATION) (GLenum mode);
02100 
02105 #ifndef GL_TEXTURE0_ARB
02106 #define GL_TEXTURE0_ARB                                               33984
02107 #endif
02108 
02109 #ifndef GL_TEXTURE1_ARB
02110 #define GL_TEXTURE1_ARB                                               33985
02111 #endif
02112 
02113 #ifndef GL_TEXTURE2_ARB
02114 #define GL_TEXTURE2_ARB                                               33986
02115 #endif
02116 
02117 #ifndef GL_TEXTURE3_ARB
02118 #define GL_TEXTURE3_ARB                                               33987
02119 #endif
02120 
02121 #ifndef GL_TEXTURE4_ARB
02122 #define GL_TEXTURE4_ARB                                               33988
02123 #endif
02124 
02125 #ifndef GL_TEXTURE5_ARB
02126 #define GL_TEXTURE5_ARB                                               33989
02127 #endif
02128 
02129 #ifndef GL_TEXTURE6_ARB
02130 #define GL_TEXTURE6_ARB                                               33990
02131 #endif
02132 
02133 #ifndef GL_TEXTURE7_ARB
02134 #define GL_TEXTURE7_ARB                                               33991
02135 #endif
02136 
02137 #ifndef GL_TEXTURE8_ARB
02138 #define GL_TEXTURE8_ARB                                               33992
02139 #endif
02140 
02141 #ifndef GL_TEXTURE9_ARB
02142 #define GL_TEXTURE9_ARB                                               33993
02143 #endif
02144 
02145 #ifndef GL_TEXTURE10_ARB
02146 #define GL_TEXTURE10_ARB                                              33994
02147 #endif
02148 
02149 #ifndef GL_TEXTURE11_ARB
02150 #define GL_TEXTURE11_ARB                                              33995
02151 #endif
02152 
02153 #ifndef GL_TEXTURE12_ARB
02154 #define GL_TEXTURE12_ARB                                              33996
02155 #endif
02156 
02157 #ifndef GL_TEXTURE13_ARB
02158 #define GL_TEXTURE13_ARB                                              33997
02159 #endif
02160 
02161 #ifndef GL_TEXTURE14_ARB
02162 #define GL_TEXTURE14_ARB                                              33998
02163 #endif
02164 
02165 #ifndef GL_TEXTURE15_ARB
02166 #define GL_TEXTURE15_ARB                                              33999
02167 #endif
02168 
02169 #ifndef GL_TEXTURE16_ARB
02170 #define GL_TEXTURE16_ARB                                              34000
02171 #endif
02172 
02173 #ifndef GL_TEXTURE17_ARB
02174 #define GL_TEXTURE17_ARB                                              34001
02175 #endif
02176 
02177 #ifndef GL_TEXTURE18_ARB
02178 #define GL_TEXTURE18_ARB                                              34002
02179 #endif
02180 
02181 #ifndef GL_TEXTURE19_ARB
02182 #define GL_TEXTURE19_ARB                                              34003
02183 #endif
02184 
02185 #ifndef GL_TEXTURE20_ARB
02186 #define GL_TEXTURE20_ARB                                              34004
02187 #endif
02188 
02189 #ifndef GL_TEXTURE21_ARB
02190 #define GL_TEXTURE21_ARB                                              34005
02191 #endif
02192 
02193 #ifndef GL_TEXTURE22_ARB
02194 #define GL_TEXTURE22_ARB                                              34006
02195 #endif
02196 
02197 #ifndef GL_TEXTURE23_ARB
02198 #define GL_TEXTURE23_ARB                                              34007
02199 #endif
02200 
02201 #ifndef GL_TEXTURE24_ARB
02202 #define GL_TEXTURE24_ARB                                              34008
02203 #endif
02204 
02205 #ifndef GL_TEXTURE25_ARB
02206 #define GL_TEXTURE25_ARB                                              34009
02207 #endif
02208 
02209 #ifndef GL_TEXTURE26_ARB
02210 #define GL_TEXTURE26_ARB                                              34010
02211 #endif
02212 
02213 #ifndef GL_TEXTURE27_ARB
02214 #define GL_TEXTURE27_ARB                                              34011
02215 #endif
02216 
02217 #ifndef GL_TEXTURE28_ARB
02218 #define GL_TEXTURE28_ARB                                              34012
02219 #endif
02220 
02221 #ifndef GL_TEXTURE29_ARB
02222 #define GL_TEXTURE29_ARB                                              34013
02223 #endif
02224 
02225 #ifndef GL_TEXTURE30_ARB
02226 #define GL_TEXTURE30_ARB                                              34014
02227 #endif
02228 
02229 #ifndef GL_TEXTURE31_ARB
02230 #define GL_TEXTURE31_ARB                                              34015
02231 #endif
02232 
02233 #ifndef GL_ACTIVE_TEXTURE_ARB
02234 #define GL_ACTIVE_TEXTURE_ARB                                         34016
02235 #endif
02236 
02237 #ifndef GL_CLIENT_ACTIVE_TEXTURE_ARB
02238 #define GL_CLIENT_ACTIVE_TEXTURE_ARB                                  34017
02239 #endif
02240 
02241 #ifndef GL_MAX_TEXTURE_UNITS_ARB
02242 #define GL_MAX_TEXTURE_UNITS_ARB                                      34018
02243 #endif
02244 
02245 
02251 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTUREARB) (GLenum texture);
02252 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTUREARB) (GLenum texture);
02253 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DARB) (GLenum target, GLdouble s);
02254 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DVARB) (GLenum target, const GLdouble* v);
02255 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FARB) (GLenum target, GLfloat s);
02256 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FVARB) (GLenum target, const GLfloat* v);
02257 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IARB) (GLenum target, GLint s);
02258 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IVARB) (GLenum target, const GLint* v);
02259 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SARB) (GLenum target, GLshort s);
02260 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SVARB) (GLenum target, const GLshort* v);
02261 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DARB) (GLenum target, GLdouble s, GLdouble t);
02262 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DVARB) (GLenum target, const GLdouble* v);
02263 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FARB) (GLenum target, GLfloat s, GLfloat t);
02264 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FVARB) (GLenum target, const GLfloat* v);
02265 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IARB) (GLenum target, GLint s, GLint t);
02266 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IVARB) (GLenum target, const GLint* v);
02267 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SARB) (GLenum target, GLshort s, GLshort t);
02268 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SVARB) (GLenum target, const GLshort* v);
02269 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
02270 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DVARB) (GLenum target, const GLdouble* v);
02271 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
02272 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FVARB) (GLenum target, const GLfloat* v);
02273 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IARB) (GLenum target, GLint s, GLint t, GLint r);
02274 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IVARB) (GLenum target, const GLint* v);
02275 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SARB) (GLenum target, GLshort s, GLshort t, GLshort r);
02276 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SVARB) (GLenum target, const GLshort* v);
02277 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
02278 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DVARB) (GLenum target, const GLdouble* v);
02279 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
02280 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FVARB) (GLenum target, const GLfloat* v);
02281 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IARB) (GLenum target, GLint s, GLint t, GLint r, GLint q);
02282 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IVARB) (GLenum target, const GLint* v);
02283 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
02284 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SVARB) (GLenum target, const GLshort* v);
02285 
02290 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
02291 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB                             34019
02292 #endif
02293 
02294 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX_ARB
02295 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB                            34020
02296 #endif
02297 
02298 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX_ARB
02299 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB                               34021
02300 #endif
02301 
02302 #ifndef GL_TRANSPOSE_COLOR_MATRIX_ARB
02303 #define GL_TRANSPOSE_COLOR_MATRIX_ARB                                 34022
02304 #endif
02305 
02306 
02312 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXFARB) (GLfloat* m);
02313 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXDARB) (GLdouble* m);
02314 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXFARB) (GLfloat* m);
02315 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXDARB) (GLdouble* m);
02316 
02321 #ifndef WGL_SAMPLE_BUFFERS_ARB
02322 #define WGL_SAMPLE_BUFFERS_ARB                                         8257
02323 #endif
02324 
02325 #ifndef WGL_SAMPLES_ARB
02326 #define WGL_SAMPLES_ARB                                                8258
02327 #endif
02328 
02329 #ifndef GL_MULTISAMPLE_ARB
02330 #define GL_MULTISAMPLE_ARB                                            32925
02331 #endif
02332 
02333 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
02334 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB                               32926
02335 #endif
02336 
02337 #ifndef GL_SAMPLE_ALPHA_TO_ONE_ARB
02338 #define GL_SAMPLE_ALPHA_TO_ONE_ARB                                    32927
02339 #endif
02340 
02341 #ifndef GL_SAMPLE_COVERAGE_ARB
02342 #define GL_SAMPLE_COVERAGE_ARB                                        32928
02343 #endif
02344 
02345 #ifndef GL_MULTISAMPLE_BIT_ARB
02346 #define GL_MULTISAMPLE_BIT_ARB                                       536870912
02347 #endif
02348 
02349 #ifndef GL_SAMPLE_BUFFERS_ARB
02350 #define GL_SAMPLE_BUFFERS_ARB                                         32936
02351 #endif
02352 
02353 #ifndef GL_SAMPLES_ARB
02354 #define GL_SAMPLES_ARB                                                32937
02355 #endif
02356 
02357 #ifndef GL_SAMPLE_COVERAGE_VALUE_ARB
02358 #define GL_SAMPLE_COVERAGE_VALUE_ARB                                  32938
02359 #endif
02360 
02361 #ifndef GL_SAMPLE_COVERAGE_INVERT_ARB
02362 #define GL_SAMPLE_COVERAGE_INVERT_ARB                                 32939
02363 #endif
02364 
02365 
02371 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGEARB) (GLclampf value, GLboolean invert);
02372 
02385 #ifdef _WIN32
02386 
02395 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGARB) (HDC hdc);
02396 
02398 #endif
02399 
02400 #ifdef _WIN32
02401 
02404 #ifndef WGL_FRONT_COLOR_BUFFER_BIT_ARB
02405 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB                                    1
02406 #endif
02407 
02408 #ifndef WGL_BACK_COLOR_BUFFER_BIT_ARB
02409 #define WGL_BACK_COLOR_BUFFER_BIT_ARB                                     2
02410 #endif
02411 
02412 #ifndef WGL_DEPTH_BUFFER_BIT_ARB
02413 #define WGL_DEPTH_BUFFER_BIT_ARB                                          4
02414 #endif
02415 
02416 #ifndef WGL_STENCIL_BUFFER_BIT_ARB
02417 #define WGL_STENCIL_BUFFER_BIT_ARB                                        8
02418 #endif
02419 
02420 
02426 typedef HANDLE (csAPIENTRY* csWGLCREATEBUFFERREGIONARB) (HDC hDC, GLint iLayerPlane, GLuint uType);
02427 typedef GLvoid (csAPIENTRY* csWGLDELETEBUFFERREGIONARB) (HANDLE hRegion);
02428 typedef BOOL (csAPIENTRY* csWGLSAVEBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height);
02429 typedef BOOL (csAPIENTRY* csWGLRESTOREBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height, GLint xSrc, GLint ySrc);
02430 
02432 #endif
02433 
02437 #ifndef GL_NORMAL_MAP_ARB
02438 #define GL_NORMAL_MAP_ARB                                             34065
02439 #endif
02440 
02441 #ifndef GL_REFLECTION_MAP_ARB
02442 #define GL_REFLECTION_MAP_ARB                                         34066
02443 #endif
02444 
02445 #ifndef GL_TEXTURE_CUBE_MAP_ARB
02446 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
02447 #endif
02448 
02449 #ifndef GL_TEXTURE_BINDING_CUBE_MAP_ARB
02450 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB                               34068
02451 #endif
02452 
02453 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
02454 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            34069
02455 #endif
02456 
02457 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
02458 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            34070
02459 #endif
02460 
02461 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
02462 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            34071
02463 #endif
02464 
02465 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
02466 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            34072
02467 #endif
02468 
02469 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
02470 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            34073
02471 #endif
02472 
02473 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
02474 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            34074
02475 #endif
02476 
02477 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
02478 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
02479 #endif
02480 
02481 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB
02482 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB                              34076
02483 #endif
02484 
02485 
02496 #ifndef GL_DEPTH_COMPONENT16_ARB
02497 #define GL_DEPTH_COMPONENT16_ARB                                      33189
02498 #endif
02499 
02500 #ifndef GL_DEPTH_COMPONENT24_ARB
02501 #define GL_DEPTH_COMPONENT24_ARB                                      33190
02502 #endif
02503 
02504 #ifndef GL_DEPTH_COMPONENT32_ARB
02505 #define GL_DEPTH_COMPONENT32_ARB                                      33191
02506 #endif
02507 
02508 #ifndef GL_TEXTURE_DEPTH_SIZE_ARB
02509 #define GL_TEXTURE_DEPTH_SIZE_ARB                                     34890
02510 #endif
02511 
02512 #ifndef GL_DEPTH_TEXTURE_MODE_ARB
02513 #define GL_DEPTH_TEXTURE_MODE_ARB                                     34891
02514 #endif
02515 
02516 
02527 #ifndef GL_POINT_SIZE_MIN_ARB
02528 #define GL_POINT_SIZE_MIN_ARB                                         33062
02529 #endif
02530 
02531 #ifndef GL_POINT_SIZE_MAX_ARB
02532 #define GL_POINT_SIZE_MAX_ARB                                         33063
02533 #endif
02534 
02535 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_ARB
02536 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB                              33064
02537 #endif
02538 
02539 #ifndef GL_POINT_DISTANCE_ATTENUATION_ARB
02540 #define GL_POINT_DISTANCE_ATTENUATION_ARB                             33065
02541 #endif
02542 
02543 
02549 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFARB) (GLenum pname, GLfloat param);
02550 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVARB) (GLenum pname, GLfloat* params);
02551 
02556 #ifndef GL_TEXTURE_COMPARE_MODE_ARB
02557 #define GL_TEXTURE_COMPARE_MODE_ARB                                   34892
02558 #endif
02559 
02560 #ifndef GL_TEXTURE_COMPARE_FUNC_ARB
02561 #define GL_TEXTURE_COMPARE_FUNC_ARB                                   34893
02562 #endif
02563 
02564 #ifndef GL_COMPARE_R_TO_TEXTURE_ARB
02565 #define GL_COMPARE_R_TO_TEXTURE_ARB                                   34894
02566 #endif
02567 
02568 
02579 #ifndef GL_TEXTURE_COMPARE_FAIL_VALUE_ARB
02580 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB                             32959
02581 #endif
02582 
02583 
02594 #ifndef GL_CLAMP_TO_BORDER_ARB
02595 #define GL_CLAMP_TO_BORDER_ARB                                        33069
02596 #endif
02597 
02598 
02609 #ifndef GL_COMPRESSED_ALPHA_ARB
02610 #define GL_COMPRESSED_ALPHA_ARB                                       34025
02611 #endif
02612 
02613 #ifndef GL_COMPRESSED_LUMINANCE_ARB
02614 #define GL_COMPRESSED_LUMINANCE_ARB                                   34026
02615 #endif
02616 
02617 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA_ARB
02618 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB                             34027
02619 #endif
02620 
02621 #ifndef GL_COMPRESSED_INTENSITY_ARB
02622 #define GL_COMPRESSED_INTENSITY_ARB                                   34028
02623 #endif
02624 
02625 #ifndef GL_COMPRESSED_RGB_ARB
02626 #define GL_COMPRESSED_RGB_ARB                                         34029
02627 #endif
02628 
02629 #ifndef GL_COMPRESSED_RGBA_ARB
02630 #define GL_COMPRESSED_RGBA_ARB                                        34030
02631 #endif
02632 
02633 #ifndef GL_TEXTURE_COMPRESSION_HINT_ARB
02634 #define GL_TEXTURE_COMPRESSION_HINT_ARB                               34031
02635 #endif
02636 
02637 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
02638 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB                          34464
02639 #endif
02640 
02641 #ifndef GL_TEXTURE_COMPRESSED_ARB
02642 #define GL_TEXTURE_COMPRESSED_ARB                                     34465
02643 #endif
02644 
02645 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
02646 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB                         34466
02647 #endif
02648 
02649 #ifndef GL_COMPRESSED_TEXTURE_FORMATS_ARB
02650 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB                             34467
02651 #endif
02652 
02653 
02659 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
02660 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
02661 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
02662 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);
02663 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
02664 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
02665 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGEARB) (GLenum target, GLint lod, GLvoid* img);
02666 
02671 #ifndef GL_COMBINE_ARB
02672 #define GL_COMBINE_ARB                                                34160
02673 #endif
02674 
02675 #ifndef GL_COMBINE_RGB_ARB
02676 #define GL_COMBINE_RGB_ARB                                            34161
02677 #endif
02678 
02679 #ifndef GL_COMBINE_ALPHA_ARB
02680 #define GL_COMBINE_ALPHA_ARB                                          34162
02681 #endif
02682 
02683 #ifndef GL_SOURCE0_RGB_ARB
02684 #define GL_SOURCE0_RGB_ARB                                            34176
02685 #endif
02686 
02687 #ifndef GL_SOURCE1_RGB_ARB
02688 #define GL_SOURCE1_RGB_ARB                                            34177
02689 #endif
02690 
02691 #ifndef GL_SOURCE2_RGB_ARB
02692 #define GL_SOURCE2_RGB_ARB                                            34178
02693 #endif
02694 
02695 #ifndef GL_SOURCE0_ALPHA_ARB
02696 #define GL_SOURCE0_ALPHA_ARB                                          34184
02697 #endif
02698 
02699 #ifndef GL_SOURCE1_ALPHA_ARB
02700 #define GL_SOURCE1_ALPHA_ARB                                          34185
02701 #endif
02702 
02703 #ifndef GL_SOURCE2_ALPHA_ARB
02704 #define GL_SOURCE2_ALPHA_ARB                                          34186
02705 #endif
02706 
02707 #ifndef GL_OPERAND0_RGB_ARB
02708 #define GL_OPERAND0_RGB_ARB                                           34192
02709 #endif
02710 
02711 #ifndef GL_OPERAND1_RGB_ARB
02712 #define GL_OPERAND1_RGB_ARB                                           34193
02713 #endif
02714 
02715 #ifndef GL_OPERAND2_RGB_ARB
02716 #define GL_OPERAND2_RGB_ARB                                           34194
02717 #endif
02718 
02719 #ifndef GL_OPERAND0_ALPHA_ARB
02720 #define GL_OPERAND0_ALPHA_ARB                                         34200
02721 #endif
02722 
02723 #ifndef GL_OPERAND1_ALPHA_ARB
02724 #define GL_OPERAND1_ALPHA_ARB                                         34201
02725 #endif
02726 
02727 #ifndef GL_OPERAND2_ALPHA_ARB
02728 #define GL_OPERAND2_ALPHA_ARB                                         34202
02729 #endif
02730 
02731 #ifndef GL_RGB_SCALE_ARB
02732 #define GL_RGB_SCALE_ARB                                              34163
02733 #endif
02734 
02735 #ifndef GL_ADD_SIGNED_ARB
02736 #define GL_ADD_SIGNED_ARB                                             34164
02737 #endif
02738 
02739 #ifndef GL_INTERPOLATE_ARB
02740 #define GL_INTERPOLATE_ARB                                            34165
02741 #endif
02742 
02743 #ifndef GL_SUBTRACT_ARB
02744 #define GL_SUBTRACT_ARB                                               34023
02745 #endif
02746 
02747 #ifndef GL_CONSTANT_ARB
02748 #define GL_CONSTANT_ARB                                               34166
02749 #endif
02750 
02751 #ifndef GL_PRIMARY_COLOR_ARB
02752 #define GL_PRIMARY_COLOR_ARB                                          34167
02753 #endif
02754 
02755 #ifndef GL_PREVIOUS_ARB
02756 #define GL_PREVIOUS_ARB                                               34168
02757 #endif
02758 
02759 
02781 #ifndef GL_DOT3_RGB_ARB
02782 #define GL_DOT3_RGB_ARB                                               34478
02783 #endif
02784 
02785 #ifndef GL_DOT3_RGBA_ARB
02786 #define GL_DOT3_RGBA_ARB                                              34479
02787 #endif
02788 
02789 
02800 #ifndef GL_MIRRORED_REPEAT_ARB
02801 #define GL_MIRRORED_REPEAT_ARB                                        33648
02802 #endif
02803 
02804 
02815 #ifndef GL_MAX_VERTEX_UNITS_ARB
02816 #define GL_MAX_VERTEX_UNITS_ARB                                       34468
02817 #endif
02818 
02819 #ifndef GL_ACTIVE_VERTEX_UNITS_ARB
02820 #define GL_ACTIVE_VERTEX_UNITS_ARB                                    34469
02821 #endif
02822 
02823 #ifndef GL_WEIGHT_SUM_UNITY_ARB
02824 #define GL_WEIGHT_SUM_UNITY_ARB                                       34470
02825 #endif
02826 
02827 #ifndef GL_VERTEX_BLEND_ARB
02828 #define GL_VERTEX_BLEND_ARB                                           34471
02829 #endif
02830 
02831 #ifndef GL_MODELVIEW0_ARB
02832 #define GL_MODELVIEW0_ARB                                              5888
02833 #endif
02834 
02835 #ifndef GL_MODELVIEW1_ARB
02836 #define GL_MODELVIEW1_ARB                                             34058
02837 #endif
02838 
02839 #ifndef GL_MODELVIEW2_ARB
02840 #define GL_MODELVIEW2_ARB                                             34594
02841 #endif
02842 
02843 #ifndef GL_MODELVIEW3_ARB
02844 #define GL_MODELVIEW3_ARB                                             34595
02845 #endif
02846 
02847 #ifndef GL_MODELVIEW4_ARB
02848 #define GL_MODELVIEW4_ARB                                             34596
02849 #endif
02850 
02851 #ifndef GL_MODELVIEW5_ARB
02852 #define GL_MODELVIEW5_ARB                                             34597
02853 #endif
02854 
02855 #ifndef GL_MODELVIEW6_ARB
02856 #define GL_MODELVIEW6_ARB                                             34598
02857 #endif
02858 
02859 #ifndef GL_MODELVIEW7_ARB
02860 #define GL_MODELVIEW7_ARB                                             34599
02861 #endif
02862 
02863 #ifndef GL_MODELVIEW8_ARB
02864 #define GL_MODELVIEW8_ARB                                             34600
02865 #endif
02866 
02867 #ifndef GL_MODELVIEW9_ARB
02868 #define GL_MODELVIEW9_ARB                                             34601
02869 #endif
02870 
02871 #ifndef GL_MODELVIEW10_ARB
02872 #define GL_MODELVIEW10_ARB                                            34602
02873 #endif
02874 
02875 #ifndef GL_MODELVIEW11_ARB
02876 #define GL_MODELVIEW11_ARB                                            34603
02877 #endif
02878 
02879 #ifndef GL_MODELVIEW12_ARB
02880 #define GL_MODELVIEW12_ARB                                            34604
02881 #endif
02882 
02883 #ifndef GL_MODELVIEW13_ARB
02884 #define GL_MODELVIEW13_ARB                                            34605
02885 #endif
02886 
02887 #ifndef GL_MODELVIEW14_ARB
02888 #define GL_MODELVIEW14_ARB                                            34606
02889 #endif
02890 
02891 #ifndef GL_MODELVIEW15_ARB
02892 #define GL_MODELVIEW15_ARB                                            34607
02893 #endif
02894 
02895 #ifndef GL_MODELVIEW16_ARB
02896 #define GL_MODELVIEW16_ARB                                            34608
02897 #endif
02898 
02899 #ifndef GL_MODELVIEW17_ARB
02900 #define GL_MODELVIEW17_ARB                                            34609
02901 #endif
02902 
02903 #ifndef GL_MODELVIEW18_ARB
02904 #define GL_MODELVIEW18_ARB                                            34610
02905 #endif
02906 
02907 #ifndef GL_MODELVIEW19_ARB
02908 #define GL_MODELVIEW19_ARB                                            34611
02909 #endif
02910 
02911 #ifndef GL_MODELVIEW20_ARB
02912 #define GL_MODELVIEW20_ARB                                            34612
02913 #endif
02914 
02915 #ifndef GL_MODELVIEW21_ARB
02916 #define GL_MODELVIEW21_ARB                                            34613
02917 #endif
02918 
02919 #ifndef GL_MODELVIEW22_ARB
02920 #define GL_MODELVIEW22_ARB                                            34614
02921 #endif
02922 
02923 #ifndef GL_MODELVIEW23_ARB
02924 #define GL_MODELVIEW23_ARB                                            34615
02925 #endif
02926 
02927 #ifndef GL_MODELVIEW24_ARB
02928 #define GL_MODELVIEW24_ARB                                            34616
02929 #endif
02930 
02931 #ifndef GL_MODELVIEW25_ARB
02932 #define GL_MODELVIEW25_ARB                                            34617
02933 #endif
02934 
02935 #ifndef GL_MODELVIEW26_ARB
02936 #define GL_MODELVIEW26_ARB                                            34618
02937 #endif
02938 
02939 #ifndef GL_MODELVIEW27_ARB
02940 #define GL_MODELVIEW27_ARB                                            34619
02941 #endif
02942 
02943 #ifndef GL_MODELVIEW28_ARB
02944 #define GL_MODELVIEW28_ARB                                            34620
02945 #endif
02946 
02947 #ifndef GL_MODELVIEW29_ARB
02948 #define GL_MODELVIEW29_ARB                                            34621
02949 #endif
02950 
02951 #ifndef GL_MODELVIEW30_ARB
02952 #define GL_MODELVIEW30_ARB                                            34622
02953 #endif
02954 
02955 #ifndef GL_MODELVIEW31_ARB
02956 #define GL_MODELVIEW31_ARB                                            34623
02957 #endif
02958 
02959 #ifndef GL_CURRENT_WEIGHT_ARB
02960 #define GL_CURRENT_WEIGHT_ARB                                         34472
02961 #endif
02962 
02963 #ifndef GL_WEIGHT_ARRAY_TYPE_ARB
02964 #define GL_WEIGHT_ARRAY_TYPE_ARB                                      34473
02965 #endif
02966 
02967 #ifndef GL_WEIGHT_ARRAY_STRIDE_ARB
02968 #define GL_WEIGHT_ARRAY_STRIDE_ARB                                    34474
02969 #endif
02970 
02971 #ifndef GL_WEIGHT_ARRAY_SIZE_ARB
02972 #define GL_WEIGHT_ARRAY_SIZE_ARB                                      34475
02973 #endif
02974 
02975 #ifndef GL_WEIGHT_ARRAY_POINTER_ARB
02976 #define GL_WEIGHT_ARRAY_POINTER_ARB                                   34476
02977 #endif
02978 
02979 #ifndef GL_WEIGHT_ARRAY_ARB
02980 #define GL_WEIGHT_ARRAY_ARB                                           34477
02981 #endif
02982 
02983 
02989 typedef GLvoid (csAPIENTRY* csGLWEIGHTBVARB) (GLint size, GLbyte* weights);
02990 typedef GLvoid (csAPIENTRY* csGLWEIGHTSVARB) (GLint size, GLshort* weights);
02991 typedef GLvoid (csAPIENTRY* csGLWEIGHTIVARB) (GLint size, GLint* weights);
02992 typedef GLvoid (csAPIENTRY* csGLWEIGHTFVARB) (GLint size, GLfloat* weights);
02993 typedef GLvoid (csAPIENTRY* csGLWEIGHTDVARB) (GLint size, GLdouble* weights);
02994 typedef GLvoid (csAPIENTRY* csGLWEIGHTVARB) (GLint size, GLdouble* weights);
02995 typedef GLvoid (csAPIENTRY* csGLWEIGHTUBVARB) (GLint size, GLubyte* weights);
02996 typedef GLvoid (csAPIENTRY* csGLWEIGHTUSVARB) (GLint size, GLushort* weights);
02997 typedef GLvoid (csAPIENTRY* csGLWEIGHTUIVARB) (GLint size, GLuint* weights);
02998 typedef GLvoid (csAPIENTRY* csGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
02999 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDARB) (GLint count);
03000 
03005 #ifndef GL_VERTEX_PROGRAM_ARB
03006 #define GL_VERTEX_PROGRAM_ARB                                         34336
03007 #endif
03008 
03009 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
03010 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                              34370
03011 #endif
03012 
03013 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
03014 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                                34371
03015 #endif
03016 
03017 #ifndef GL_COLOR_SUM_ARB
03018 #define GL_COLOR_SUM_ARB                                              33880
03019 #endif
03020 
03021 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
03022 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
03023 #endif
03024 
03025 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
03026 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                            34338
03027 #endif
03028 
03029 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
03030 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                               34339
03031 #endif
03032 
03033 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
03034 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                             34340
03035 #endif
03036 
03037 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
03038 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                               34341
03039 #endif
03040 
03041 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
03042 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                         34922
03043 #endif
03044 
03045 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
03046 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                  34342
03047 #endif
03048 
03049 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
03050 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                            34373
03051 #endif
03052 
03053 #ifndef GL_PROGRAM_LENGTH_ARB
03054 #define GL_PROGRAM_LENGTH_ARB                                         34343
03055 #endif
03056 
03057 #ifndef GL_PROGRAM_FORMAT_ARB
03058 #define GL_PROGRAM_FORMAT_ARB                                         34934
03059 #endif
03060 
03061 #ifndef GL_PROGRAM_BINDING_ARB
03062 #define GL_PROGRAM_BINDING_ARB                                        34423
03063 #endif
03064 
03065 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
03066 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
03067 #endif
03068 
03069 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
03070 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
03071 #endif
03072 
03073 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
03074 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
03075 #endif
03076 
03077 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
03078 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
03079 #endif
03080 
03081 #ifndef GL_PROGRAM_TEMPORARIES_ARB
03082 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
03083 #endif
03084 
03085 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
03086 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
03087 #endif
03088 
03089 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
03090 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
03091 #endif
03092 
03093 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
03094 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
03095 #endif
03096 
03097 #ifndef GL_PROGRAM_PARAMETERS_ARB
03098 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
03099 #endif
03100 
03101 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
03102 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
03103 #endif
03104 
03105 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
03106 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
03107 #endif
03108 
03109 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
03110 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
03111 #endif
03112 
03113 #ifndef GL_PROGRAM_ATTRIBS_ARB
03114 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
03115 #endif
03116 
03117 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
03118 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
03119 #endif
03120 
03121 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
03122 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
03123 #endif
03124 
03125 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
03126 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
03127 #endif
03128 
03129 #ifndef GL_PROGRAM_ADDRESS_REGISTERS_ARB
03130 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB                              34992
03131 #endif
03132 
03133 #ifndef GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
03134 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB                          34993
03135 #endif
03136 
03137 #ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
03138 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                       34994
03139 #endif
03140 
03141 #ifndef GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
03142 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                   34995
03143 #endif
03144 
03145 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
03146 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
03147 #endif
03148 
03149 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
03150 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
03151 #endif
03152 
03153 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
03154 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
03155 #endif
03156 
03157 #ifndef GL_PROGRAM_STRING_ARB
03158 #define GL_PROGRAM_STRING_ARB                                         34344
03159 #endif
03160 
03161 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
03162 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
03163 #endif
03164 
03165 #ifndef GL_CURRENT_MATRIX_ARB
03166 #define GL_CURRENT_MATRIX_ARB                                         34369
03167 #endif
03168 
03169 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
03170 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
03171 #endif
03172 
03173 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
03174 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
03175 #endif
03176 
03177 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
03178 #define GL_MAX_VERTEX_ATTRIBS_ARB                                     34921
03179 #endif
03180 
03181 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
03182 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
03183 #endif
03184 
03185 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
03186 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
03187 #endif
03188 
03189 #ifndef GL_PROGRAM_ERROR_STRING_ARB
03190 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
03191 #endif
03192 
03193 #ifndef GL_MATRIX0_ARB
03194 #define GL_MATRIX0_ARB                                                35008
03195 #endif
03196 
03197 #ifndef GL_MATRIX1_ARB
03198 #define GL_MATRIX1_ARB                                                35009
03199 #endif
03200 
03201 #ifndef GL_MATRIX2_ARB
03202 #define GL_MATRIX2_ARB                                                35010
03203 #endif
03204 
03205 #ifndef GL_MATRIX3_ARB
03206 #define GL_MATRIX3_ARB                                                35011
03207 #endif
03208 
03209 #ifndef GL_MATRIX4_ARB
03210 #define GL_MATRIX4_ARB                                                35012
03211 #endif
03212 
03213 #ifndef GL_MATRIX5_ARB
03214 #define GL_MATRIX5_ARB                                                35013
03215 #endif
03216 
03217 #ifndef GL_MATRIX6_ARB
03218 #define GL_MATRIX6_ARB                                                35014
03219 #endif
03220 
03221 #ifndef GL_MATRIX7_ARB
03222 #define GL_MATRIX7_ARB                                                35015
03223 #endif
03224 
03225 #ifndef GL_MATRIX8_ARB
03226 #define GL_MATRIX8_ARB                                                35016
03227 #endif
03228 
03229 #ifndef GL_MATRIX9_ARB
03230 #define GL_MATRIX9_ARB                                                35017
03231 #endif
03232 
03233 #ifndef GL_MATRIX10_ARB
03234 #define GL_MATRIX10_ARB                                               35018
03235 #endif
03236 
03237 #ifndef GL_MATRIX11_ARB
03238 #define GL_MATRIX11_ARB                                               35019
03239 #endif
03240 
03241 #ifndef GL_MATRIX12_ARB
03242 #define GL_MATRIX12_ARB                                               35020
03243 #endif
03244 
03245 #ifndef GL_MATRIX13_ARB
03246 #define GL_MATRIX13_ARB                                               35021
03247 #endif
03248 
03249 #ifndef GL_MATRIX14_ARB
03250 #define GL_MATRIX14_ARB                                               35022
03251 #endif
03252 
03253 #ifndef GL_MATRIX15_ARB
03254 #define GL_MATRIX15_ARB                                               35023
03255 #endif
03256 
03257 #ifndef GL_MATRIX16_ARB
03258 #define GL_MATRIX16_ARB                                               35024
03259 #endif
03260 
03261 #ifndef GL_MATRIX17_ARB
03262 #define GL_MATRIX17_ARB                                               35025
03263 #endif
03264 
03265 #ifndef GL_MATRIX18_ARB
03266 #define GL_MATRIX18_ARB                                               35026
03267 #endif
03268 
03269 #ifndef GL_MATRIX19_ARB
03270 #define GL_MATRIX19_ARB                                               35027
03271 #endif
03272 
03273 #ifndef GL_MATRIX20_ARB
03274 #define GL_MATRIX20_ARB                                               35028
03275 #endif
03276 
03277 #ifndef GL_MATRIX21_ARB
03278 #define GL_MATRIX21_ARB                                               35029
03279 #endif
03280 
03281 #ifndef GL_MATRIX22_ARB
03282 #define GL_MATRIX22_ARB                                               35030
03283 #endif
03284 
03285 #ifndef GL_MATRIX23_ARB
03286 #define GL_MATRIX23_ARB                                               35031
03287 #endif
03288 
03289 #ifndef GL_MATRIX24_ARB
03290 #define GL_MATRIX24_ARB                                               35032
03291 #endif
03292 
03293 #ifndef GL_MATRIX25_ARB
03294 #define GL_MATRIX25_ARB                                               35033
03295 #endif
03296 
03297 #ifndef GL_MATRIX26_ARB
03298 #define GL_MATRIX26_ARB                                               35034
03299 #endif
03300 
03301 #ifndef GL_MATRIX27_ARB
03302 #define GL_MATRIX27_ARB                                               35035
03303 #endif
03304 
03305 #ifndef GL_MATRIX28_ARB
03306 #define GL_MATRIX28_ARB                                               35036
03307 #endif
03308 
03309 #ifndef GL_MATRIX29_ARB
03310 #define GL_MATRIX29_ARB                                               35037
03311 #endif
03312 
03313 #ifndef GL_MATRIX30_ARB
03314 #define GL_MATRIX30_ARB                                               35038
03315 #endif
03316 
03317 #ifndef GL_MATRIX31_ARB
03318 #define GL_MATRIX31_ARB                                               35039
03319 #endif
03320 
03321 
03327 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SARB) (GLuint index, GLshort x);
03328 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FARB) (GLuint index, GLfloat x);
03329 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DARB) (GLuint index, GLdouble x);
03330 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SARB) (GLuint index, GLshort x, GLshort y);
03331 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FARB) (GLuint index, GLfloat x, GLfloat y);
03332 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DARB) (GLuint index, GLdouble x, GLdouble y);
03333 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SARB) (GLuint index, GLshort x, GLshort y, GLshort z);
03334 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
03335 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
03336 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
03337 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03338 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03339 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
03340 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVARB) (GLuint index, const GLshort* v);
03341 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVARB) (GLuint index, const GLfloat* v);
03342 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVARB) (GLuint index, const GLdouble* v);
03343 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVARB) (GLuint index, const GLshort* v);
03344 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVARB) (GLuint index, const GLfloat* v);
03345 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVARB) (GLuint index, const GLdouble* v);
03346 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVARB) (GLuint index, const GLshort* v);
03347 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVARB) (GLuint index, const GLfloat* v);
03348 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVARB) (GLuint index, const GLdouble* v);
03349 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BVARB) (GLuint index, const GLbyte* v);
03350 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVARB) (GLuint index, const GLshort* v);
03351 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IVARB) (GLuint index, const GLint* v);
03352 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVARB) (GLuint index, const GLubyte* v);
03353 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USVARB) (GLuint index, const GLushort* v);
03354 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIVARB) (GLuint index, const GLuint* v);
03355 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVARB) (GLuint index, const GLfloat* v);
03356 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVARB) (GLuint index, const GLdouble* v);
03357 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBVARB) (GLuint index, const GLbyte* v);
03358 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSVARB) (GLuint index, const GLshort* v);
03359 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIVARB) (GLuint index, const GLint* v);
03360 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBVARB) (GLuint index, const GLubyte* v);
03361 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSVARB) (GLuint index, const GLushort* v);
03362 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIVARB) (GLuint index, const GLuint* v);
03363 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
03364 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAYARB) (GLuint index);
03365 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAYARB) (GLuint index);
03366 typedef GLvoid (csAPIENTRY* csGLPROGRAMSTRINGARB) (GLenum target, GLenum format, GLsizei len, const GLvoid* string);
03367 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMARB) (GLenum target, GLuint program);
03368 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSARB) (GLsizei n, const GLuint* programs);
03369 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSARB) (GLsizei n, GLuint* programs);
03370 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03371 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
03372 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03373 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
03374 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03375 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
03376 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03377 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
03378 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
03379 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
03380 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
03381 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
03382 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVARB) (GLenum target, GLenum pname, GLint* params);
03383 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGARB) (GLenum target, GLenum pname, GLvoid* string);
03384 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVARB) (GLuint index, GLenum pname, GLdouble* params);
03385 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVARB) (GLuint index, GLenum pname, GLfloat* params);
03386 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVARB) (GLuint index, GLenum pname, GLint* params);
03387 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVARB) (GLuint index, GLenum pname, GLvoid** pointer);
03388 typedef GLboolean (csAPIENTRY* csGLISPROGRAMARB) (GLuint program);
03389 
03400 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DARB) (GLdouble x, GLdouble y);
03401 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FARB) (GLfloat x, GLfloat y);
03402 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IARB) (GLint x, GLint y);
03403 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SARB) (GLshort x, GLshort y);
03404 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVARB) (const GLdouble* p);
03405 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVARB) (const GLfloat* p);
03406 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVARB) (const GLint* p);
03407 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVARB) (const GLshort* p);
03408 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DARB) (GLdouble x, GLdouble y, GLdouble z);
03409 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FARB) (GLfloat x, GLfloat y, GLfloat z);
03410 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IARB) (GLint x, GLint y, GLint z);
03411 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SARB) (GLshort x, GLshort y, GLshort z);
03412 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVARB) (const GLdouble* p);
03413 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVARB) (const GLfloat* p);
03414 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVARB) (const GLint* p);
03415 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVARB) (const GLshort* p);
03416 
03421 #ifndef GL_422_EXT
03422 #define GL_422_EXT                                                    32972
03423 #endif
03424 
03425 #ifndef GL_422_REV_EXT
03426 #define GL_422_REV_EXT                                                32973
03427 #endif
03428 
03429 #ifndef GL_422_AVERAGE_EXT
03430 #define GL_422_AVERAGE_EXT                                            32974
03431 #endif
03432 
03433 #ifndef GL_422_REV_AVERAGE_EXT
03434 #define GL_422_REV_AVERAGE_EXT                                        32975
03435 #endif
03436 
03437 
03448 #ifndef GL_ABGR_EXT
03449 #define GL_ABGR_EXT                                                   32768
03450 #endif
03451 
03452 
03463 #ifndef GL_BGR_EXT
03464 #define GL_BGR_EXT                                                    32992
03465 #endif
03466 
03467 #ifndef GL_BGRA_EXT
03468 #define GL_BGRA_EXT                                                   32993
03469 #endif
03470 
03471 
03482 #ifndef GL_CONSTANT_COLOR_EXT
03483 #define GL_CONSTANT_COLOR_EXT                                         32769
03484 #endif
03485 
03486 #ifndef GL_ONE_MINUS_CONSTANT_COLOR_EXT
03487 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT                               32770
03488 #endif
03489 
03490 #ifndef GL_CONSTANT_ALPHA_EXT
03491 #define GL_CONSTANT_ALPHA_EXT                                         32771
03492 #endif
03493 
03494 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA_EXT
03495 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT                               32772
03496 #endif
03497 
03498 #ifndef GL_BLEND_COLOR_EXT
03499 #define GL_BLEND_COLOR_EXT                                            32773
03500 #endif
03501 
03502 
03508 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOREXT) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
03509 
03514 #ifndef GL_BLEND_DST_RGB_EXT
03515 #define GL_BLEND_DST_RGB_EXT                                          32968
03516 #endif
03517 
03518 #ifndef GL_BLEND_SRC_RGB_EXT
03519 #define GL_BLEND_SRC_RGB_EXT                                          32969
03520 #endif
03521 
03522 #ifndef GL_BLEND_DST_ALPHA_EXT
03523 #define GL_BLEND_DST_ALPHA_EXT                                        32970
03524 #endif
03525 
03526 #ifndef GL_BLEND_SRC_ALPHA_EXT
03527 #define GL_BLEND_SRC_ALPHA_EXT                                        32971
03528 #endif
03529 
03530 
03536 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATEEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
03537 
03553 #ifndef GL_FUNC_ADD_EXT
03554 #define GL_FUNC_ADD_EXT                                               32774
03555 #endif
03556 
03557 #ifndef GL_MIN_EXT
03558 #define GL_MIN_EXT                                                    32775
03559 #endif
03560 
03561 #ifndef GL_MAX_EXT
03562 #define GL_MAX_EXT                                                    32776
03563 #endif
03564 
03565 #ifndef GL_BLEND_EQUATION_EXT
03566 #define GL_BLEND_EQUATION_EXT                                         32777
03567 #endif
03568 
03569 
03575 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONEXT) (GLenum mode);
03576 
03581 #ifndef GL_FUNC_SUBTRACT_EXT
03582 #define GL_FUNC_SUBTRACT_EXT                                          32778
03583 #endif
03584 
03585 #ifndef GL_FUNC_REVERSE_SUBTRACT_EXT
03586 #define GL_FUNC_REVERSE_SUBTRACT_EXT                                  32779
03587 #endif
03588 
03589 
03600 #ifndef GL_CLIP_VOLUME_CLIPPING_HINT_EXT
03601 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT                              33008
03602 #endif
03603 
03604 
03621 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
03622 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
03623 
03628 #ifndef GL_ARRAY_ELEMENT_LOCK_FIRST_EXT
03629 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT                               33192
03630 #endif
03631 
03632 #ifndef GL_ARRAY_ELEMENT_LOCK_COUNT_EXT
03633 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT                               33193
03634 #endif
03635 
03636 
03642 typedef GLvoid (csAPIENTRY* csGLLOCKARRAYSEXT) (GLint first, GLsizei count);
03643 typedef GLvoid (csAPIENTRY* csGLUNLOCKARRAYSEXT) ();
03644 
03649 #ifndef GL_CONVOLUTION_1D_EXT
03650 #define GL_CONVOLUTION_1D_EXT                                         32784
03651 #endif
03652 
03653 #ifndef GL_CONVOLUTION_2D_EXT
03654 #define GL_CONVOLUTION_2D_EXT                                         32785
03655 #endif
03656 
03657 #ifndef GL_SEPARABLE_2D_EXT
03658 #define GL_SEPARABLE_2D_EXT                                           32786
03659 #endif
03660 
03661 #ifndef GL_CONVOLUTION_BORDER_MODE_EXT
03662 #define GL_CONVOLUTION_BORDER_MODE_EXT                                32787
03663 #endif
03664 
03665 #ifndef GL_CONVOLUTION_FILTER_SCALE_EXT
03666 #define GL_CONVOLUTION_FILTER_SCALE_EXT                               32788
03667 #endif
03668 
03669 #ifndef GL_CONVOLUTION_FILTER_BIAS_EXT
03670 #define GL_CONVOLUTION_FILTER_BIAS_EXT                                32789
03671 #endif
03672 
03673 #ifndef GL_REDUCE_EXT
03674 #define GL_REDUCE_EXT                                                 32790
03675 #endif
03676 
03677 #ifndef GL_CONVOLUTION_FORMAT_EXT
03678 #define GL_CONVOLUTION_FORMAT_EXT                                     32791
03679 #endif
03680 
03681 #ifndef GL_CONVOLUTION_WIDTH_EXT
03682 #define GL_CONVOLUTION_WIDTH_EXT                                      32792
03683 #endif
03684 
03685 #ifndef GL_CONVOLUTION_HEIGHT_EXT
03686 #define GL_CONVOLUTION_HEIGHT_EXT                                     32793
03687 #endif
03688 
03689 #ifndef GL_MAX_CONVOLUTION_WIDTH_EXT
03690 #define GL_MAX_CONVOLUTION_WIDTH_EXT                                  32794
03691 #endif
03692 
03693 #ifndef GL_MAX_CONVOLUTION_HEIGHT_EXT
03694 #define GL_MAX_CONVOLUTION_HEIGHT_EXT                                 32795
03695 #endif
03696 
03697 #ifndef GL_POST_CONVOLUTION_RED_SCALE_EXT
03698 #define GL_POST_CONVOLUTION_RED_SCALE_EXT                             32796
03699 #endif
03700 
03701 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE_EXT
03702 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT                           32797
03703 #endif
03704 
03705 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE_EXT
03706 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT                            32798
03707 #endif
03708 
03709 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
03710 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT                           32799
03711 #endif
03712 
03713 #ifndef GL_POST_CONVOLUTION_RED_BIAS_EXT
03714 #define GL_POST_CONVOLUTION_RED_BIAS_EXT                              32800
03715 #endif
03716 
03717 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS_EXT
03718 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT                            32801
03719 #endif
03720 
03721 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS_EXT
03722 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT                             32802
03723 #endif
03724 
03725 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
03726 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT                            32803
03727 #endif
03728 
03729 
03735 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
03736 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
03737 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
03738 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
03739 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* image);
03740 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
03741 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
03742 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIEXT) (GLenum target, GLenum pname, GLint param);
03743 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, const GLint* params);
03744 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFEXT) (GLenum target, GLenum pname, GLfloat param);
03745 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, const GLfloat* params);
03746 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03747 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03748 
03753 #ifndef GL_FOG_COORDINATE_SOURCE_EXT
03754 #define GL_FOG_COORDINATE_SOURCE_EXT                                  33872
03755 #endif
03756 
03757 #ifndef GL_FOG_COORDINATE_EXT
03758 #define GL_FOG_COORDINATE_EXT                                         33873
03759 #endif
03760 
03761 #ifndef GL_FRAGMENT_DEPTH_EXT
03762 #define GL_FRAGMENT_DEPTH_EXT                                         33874
03763 #endif
03764 
03765 #ifndef GL_CURRENT_FOG_COORDINATE_EXT
03766 #define GL_CURRENT_FOG_COORDINATE_EXT                                 33875
03767 #endif
03768 
03769 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE_EXT
03770 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT                              33876
03771 #endif
03772 
03773 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE_EXT
03774 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT                            33877
03775 #endif
03776 
03777 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER_EXT
03778 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT                           33878
03779 #endif
03780 
03781 #ifndef GL_FOG_COORDINATE_ARRAY_EXT
03782 #define GL_FOG_COORDINATE_ARRAY_EXT                                   33879
03783 #endif
03784 
03785 
03791 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFEXT) (GLfloat coord);
03792 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDEXT) (GLdouble coord);
03793 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFVEXT) (GLfloat* coord);
03794 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDVEXT) (GLdouble* coord);
03795 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTEREXT) (GLenum type, GLsizei stride, GLvoid* pointer);
03796 
03801 #ifndef GL_HISTOGRAM_EXT
03802 #define GL_HISTOGRAM_EXT                                              32804
03803 #endif
03804 
03805 #ifndef GL_PROXY_HISTOGRAM_EXT
03806 #define GL_PROXY_HISTOGRAM_EXT                                        32805
03807 #endif
03808 
03809 #ifndef GL_HISTOGRAM_WIDTH_EXT
03810 #define GL_HISTOGRAM_WIDTH_EXT                                        32806
03811 #endif
03812 
03813 #ifndef GL_HISTOGRAM_FORMAT_EXT
03814 #define GL_HISTOGRAM_FORMAT_EXT                                       32807
03815 #endif
03816 
03817 #ifndef GL_HISTOGRAM_RED_SIZE_EXT
03818 #define GL_HISTOGRAM_RED_SIZE_EXT                                     32808
03819 #endif
03820 
03821 #ifndef GL_HISTOGRAM_GREEN_SIZE_EXT
03822 #define GL_HISTOGRAM_GREEN_SIZE_EXT                                   32809
03823 #endif
03824 
03825 #ifndef GL_HISTOGRAM_BLUE_SIZE_EXT
03826 #define GL_HISTOGRAM_BLUE_SIZE_EXT                                    32810
03827 #endif
03828 
03829 #ifndef GL_HISTOGRAM_ALPHA_SIZE_EXT
03830 #define GL_HISTOGRAM_ALPHA_SIZE_EXT                                   32811
03831 #endif
03832 
03833 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE_EXT
03834 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT                               32812
03835 #endif
03836 
03837 #ifndef GL_HISTOGRAM_SINK_EXT
03838 #define GL_HISTOGRAM_SINK_EXT                                         32813
03839 #endif
03840 
03841 #ifndef GL_MINMAX_EXT
03842 #define GL_MINMAX_EXT                                                 32814
03843 #endif
03844 
03845 #ifndef GL_MINMAX_FORMAT_EXT
03846 #define GL_MINMAX_FORMAT_EXT                                          32815
03847 #endif
03848 
03849 #ifndef GL_MINMAX_SINK_EXT
03850 #define GL_MINMAX_SINK_EXT                                            32816
03851 #endif
03852 
03853 
03859 typedef GLvoid (csAPIENTRY* csGLHISTOGRAMEXT) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
03860 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAMEXT) (GLenum target);
03861 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
03862 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03863 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03864 typedef GLvoid (csAPIENTRY* csGLMINMAXEXT) (GLenum target, GLenum internalformat, GLboolean sink);
03865 typedef GLvoid (csAPIENTRY* csGLRESETMINMAXEXT) (GLenum target);
03866 typedef GLvoid (csAPIENTRY* csGLGETMINMAXEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
03867 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03868 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03869 
03880 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
03881 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTSEXT) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount);
03882 
03887 #ifndef GL_UNSIGNED_BYTE_3_3_2_EXT
03888 #define GL_UNSIGNED_BYTE_3_3_2_EXT                                    32818
03889 #endif
03890 
03891 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_EXT
03892 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT                                 32819
03893 #endif
03894 
03895 #ifndef GL_UNSIGNED_SHORT_5_5_5_1_EXT
03896 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT                                 32820
03897 #endif
03898 
03899 #ifndef GL_UNSIGNED_INT_8_8_8_8_EXT
03900 #define GL_UNSIGNED_INT_8_8_8_8_EXT                                   32821
03901 #endif
03902 
03903 #ifndef GL_UNSIGNED_INT_10_10_10_2_EXT
03904 #define GL_UNSIGNED_INT_10_10_10_2_EXT                                32822
03905 #endif
03906 
03907 
03918 #ifndef GL_COLOR_INDEX1_EXT
03919 #define GL_COLOR_INDEX1_EXT                                           32994
03920 #endif
03921 
03922 #ifndef GL_COLOR_INDEX2_EXT
03923 #define GL_COLOR_INDEX2_EXT                                           32995
03924 #endif
03925 
03926 #ifndef GL_COLOR_INDEX4_EXT
03927 #define GL_COLOR_INDEX4_EXT                                           32996
03928 #endif
03929 
03930 #ifndef GL_COLOR_INDEX8_EXT
03931 #define GL_COLOR_INDEX8_EXT                                           32997
03932 #endif
03933 
03934 #ifndef GL_COLOR_INDEX12_EXT
03935 #define GL_COLOR_INDEX12_EXT                                          32998
03936 #endif
03937 
03938 #ifndef GL_COLOR_INDEX16_EXT
03939 #define GL_COLOR_INDEX16_EXT                                          32999
03940 #endif
03941 
03942 #ifndef GL_COLOR_TABLE_FORMAT_EXT
03943 #define GL_COLOR_TABLE_FORMAT_EXT                                     32984
03944 #endif
03945 
03946 #ifndef GL_COLOR_TABLE_WIDTH_EXT
03947 #define GL_COLOR_TABLE_WIDTH_EXT                                      32985
03948 #endif
03949 
03950 #ifndef GL_COLOR_TABLE_RED_SIZE_EXT
03951 #define GL_COLOR_TABLE_RED_SIZE_EXT                                   32986
03952 #endif
03953 
03954 #ifndef GL_COLOR_TABLE_GREEN_SIZE_EXT
03955 #define GL_COLOR_TABLE_GREEN_SIZE_EXT                                 32987
03956 #endif
03957 
03958 #ifndef GL_COLOR_TABLE_BLUE_SIZE_EXT
03959 #define GL_COLOR_TABLE_BLUE_SIZE_EXT                                  32988
03960 #endif
03961 
03962 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_EXT
03963 #define GL_COLOR_TABLE_ALPHA_SIZE_EXT                                 32989
03964 #endif
03965 
03966 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_EXT
03967 #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT                             32990
03968 #endif
03969 
03970 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_EXT
03971 #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT                             32991
03972 #endif
03973 
03974 #ifndef GL_TEXTURE_INDEX_SIZE_EXT
03975 #define GL_TEXTURE_INDEX_SIZE_EXT                                     33005
03976 #endif
03977 
03978 #ifndef GL_TEXTURE_1D
03979 #define GL_TEXTURE_1D                                                  3552
03980 #endif
03981 
03982 #ifndef GL_TEXTURE_2D
03983 #define GL_TEXTURE_2D                                                  3553
03984 #endif
03985 
03986 #ifndef GL_TEXTURE_3D_EXT
03987 #define GL_TEXTURE_3D_EXT                                             32879
03988 #endif
03989 
03990 #ifndef GL_TEXTURE_CUBE_MAP_ARB
03991 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
03992 #endif
03993 
03994 #ifndef GL_PROXY_TEXTURE_1D
03995 #define GL_PROXY_TEXTURE_1D                                           32867
03996 #endif
03997 
03998 #ifndef GL_PROXY_TEXTURE_2D
03999 #define GL_PROXY_TEXTURE_2D                                           32868
04000 #endif
04001 
04002 #ifndef GL_PROXY_TEXTURE_3D_EXT
04003 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
04004 #endif
04005 
04006 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
04007 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
04008 #endif
04009 
04010 #ifndef GL_TEXTURE_1D
04011 #define GL_TEXTURE_1D                                                  3552
04012 #endif
04013 
04014 #ifndef GL_TEXTURE_2D
04015 #define GL_TEXTURE_2D                                                  3553
04016 #endif
04017 
04018 #ifndef GL_TEXTURE_3D_EXT
04019 #define GL_TEXTURE_3D_EXT                                             32879
04020 #endif
04021 
04022 #ifndef GL_TEXTURE_CUBE_MAP_ARB
04023 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
04024 #endif
04025 
04026 
04032 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEEXT) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid* data);
04033 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEEXT) (GLenum target, GLenum format, GLenum type, GLvoid* data);
04034 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
04035 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
04036 
04041 #ifndef GL_POINT_SIZE_MIN_EXT
04042 #define GL_POINT_SIZE_MIN_EXT                                         33062
04043 #endif
04044 
04045 #ifndef GL_POINT_SIZE_MAX_EXT
04046 #define GL_POINT_SIZE_MAX_EXT                                         33063
04047 #endif
04048 
04049 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_EXT
04050 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT                              33064
04051 #endif
04052 
04053 #ifndef GL_DISTANCE_ATTENUATION_EXT
04054 #define GL_DISTANCE_ATTENUATION_EXT                                   33065
04055 #endif
04056 
04057 
04063 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFEXT) (GLenum pname, GLfloat param);
04064 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVEXT) (GLenum pname, GLfloat* params);
04065 
04070 #ifndef GL_POLYGON_OFFSET_EXT
04071 #define GL_POLYGON_OFFSET_EXT                                         32823
04072 #endif
04073 
04074 #ifndef GL_POLYGON_OFFSET_FACTOR_EXT
04075 #define GL_POLYGON_OFFSET_FACTOR_EXT                                  32824
04076 #endif
04077 
04078 #ifndef GL_POLYGON_OFFSET_BIAS_EXT
04079 #define GL_POLYGON_OFFSET_BIAS_EXT                                    32825
04080 #endif
04081 
04082 
04088 typedef GLvoid (csAPIENTRY* csGLPOLYGONOFFSETEXT) (GLfloat factor, GLfloat bias);
04089 
04094 #ifndef GL_COLOR_SUM_EXT
04095 #define GL_COLOR_SUM_EXT                                              33880
04096 #endif
04097 
04098 #ifndef GL_CURRENT_SECONDARY_COLOR_EXT
04099 #define GL_CURRENT_SECONDARY_COLOR_EXT                                33881
04100 #endif
04101 
04102 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
04103 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT                             33882
04104 #endif
04105 
04106 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
04107 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT                             33883
04108 #endif
04109 
04110 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
04111 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT                           33884
04112 #endif
04113 
04114 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
04115 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT                          33885
04116 #endif
04117 
04118 #ifndef GL_SECONDARY_COLOR_ARRAY_EXT
04119 #define GL_SECONDARY_COLOR_ARRAY_EXT                                  33886
04120 #endif
04121 
04122 
04128 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BEXT) (GLbyte components);
04129 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SEXT) (GLshort components);
04130 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IEXT) (GLint components);
04131 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FEXT) (GLfloat components);
04132 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DEXT) (GLdouble components);
04133 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBEXT) (GLubyte components);
04134 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USEXT) (GLushort components);
04135 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIEXT) (GLuint components);
04136 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BVEXT) (GLbyte* components);
04137 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SVEXT) (GLshort* components);
04138 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IVEXT) (GLint* components);
04139 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FVEXT) (GLfloat* components);
04140 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DVEXT) (GLdouble* components);
04141 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBVEXT) (GLubyte* components);
04142 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USVEXT) (GLushort* components);
04143 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIVEXT) (GLuint* components);
04144 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
04145 
04150 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL_EXT
04151 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT                              33272
04152 #endif
04153 
04154 #ifndef GL_SINGLE_COLOR_EXT
04155 #define GL_SINGLE_COLOR_EXT                                           33273
04156 #endif
04157 
04158 #ifndef GL_SEPARATE_SPECULAR_COLOR_EXT
04159 #define GL_SEPARATE_SPECULAR_COLOR_EXT                                33274
04160 #endif
04161 
04162 
04184 #ifndef GL_SHARED_TEXTURE_PALETTE_EXT
04185 #define GL_SHARED_TEXTURE_PALETTE_EXT                                 33275
04186 #endif
04187 
04188 
04199 #ifndef GL_STENCIL_TEST_TWO_SIDE_EXT
04200 #define GL_STENCIL_TEST_TWO_SIDE_EXT                                  35088
04201 #endif
04202 
04203 #ifndef GL_ACTIVE_STENCIL_FACE_EXT
04204 #define GL_ACTIVE_STENCIL_FACE_EXT                                    35089
04205 #endif
04206 
04207 
04213 typedef GLvoid (csAPIENTRY* csGLACTIVESTENCILFACEEXT) (GLenum face);
04214 
04219 #ifndef GL_INCR_WRAP_EXT
04220 #define GL_INCR_WRAP_EXT                                              34055
04221 #endif
04222 
04223 #ifndef GL_DECR_WRAP_EXT
04224 #define GL_DECR_WRAP_EXT                                              34056
04225 #endif
04226 
04227 
04244 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE1DEXT) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels);
04245 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
04246 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);
04247 
04252 #ifndef GL_PACK_SKIP_IMAGES_EXT
04253 #define GL_PACK_SKIP_IMAGES_EXT                                       32875
04254 #endif
04255 
04256 #ifndef GL_PACK_IMAGE_HEIGHT_EXT
04257 #define GL_PACK_IMAGE_HEIGHT_EXT                                      32876
04258 #endif
04259 
04260 #ifndef GL_UNPACK_SKIP_IMAGES_EXT
04261 #define GL_UNPACK_SKIP_IMAGES_EXT                                     32877
04262 #endif
04263 
04264 #ifndef GL_UNPACK_IMAGE_HEIGHT_EXT
04265 #define GL_UNPACK_IMAGE_HEIGHT_EXT                                    32878
04266 #endif
04267 
04268 #ifndef GL_TEXTURE_3D_EXT
04269 #define GL_TEXTURE_3D_EXT                                             32879
04270 #endif
04271 
04272 #ifndef GL_PROXY_TEXTURE_3D_EXT
04273 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
04274 #endif
04275 
04276 #ifndef GL_TEXTURE_DEPTH_EXT
04277 #define GL_TEXTURE_DEPTH_EXT                                          32881
04278 #endif
04279 
04280 #ifndef GL_TEXTURE_WRAP_R_EXT
04281 #define GL_TEXTURE_WRAP_R_EXT                                         32882
04282 #endif
04283 
04284 #ifndef GL_MAX_3D_TEXTURE_SIZE_EXT
04285 #define GL_MAX_3D_TEXTURE_SIZE_EXT                                    32883
04286 #endif
04287 
04288 
04294 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);
04295 
04300 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
04301 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
04302 #endif
04303 
04304 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
04305 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
04306 #endif
04307 
04308 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
04309 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
04310 #endif
04311 
04312 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
04313 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
04314 #endif
04315 
04316 
04338 #ifndef GL_COMBINE_EXT
04339 #define GL_COMBINE_EXT                                                34160
04340 #endif
04341 
04342 #ifndef GL_COMBINE_RGB_EXT
04343 #define GL_COMBINE_RGB_EXT                                            34161
04344 #endif
04345 
04346 #ifndef GL_COMBINE_ALPHA_EXT
04347 #define GL_COMBINE_ALPHA_EXT                                          34162
04348 #endif
04349 
04350 #ifndef GL_SOURCE0_RGB_EXT
04351 #define GL_SOURCE0_RGB_EXT                                            34176
04352 #endif
04353 
04354 #ifndef GL_SOURCE1_RGB_EXT
04355 #define GL_SOURCE1_RGB_EXT                                            34177
04356 #endif
04357 
04358 #ifndef GL_SOURCE2_RGB_EXT
04359 #define GL_SOURCE2_RGB_EXT                                            34178
04360 #endif
04361 
04362 #ifndef GL_SOURCE0_ALPHA_EXT
04363 #define GL_SOURCE0_ALPHA_EXT                                          34184
04364 #endif
04365 
04366 #ifndef GL_SOURCE1_ALPHA_EXT
04367 #define GL_SOURCE1_ALPHA_EXT                                          34185
04368 #endif
04369 
04370 #ifndef GL_SOURCE2_ALPHA_EXT
04371 #define GL_SOURCE2_ALPHA_EXT                                          34186
04372 #endif
04373 
04374 #ifndef GL_OPERAND0_RGB_EXT
04375 #define GL_OPERAND0_RGB_EXT                                           34192
04376 #endif
04377 
04378 #ifndef GL_OPERAND1_RGB_EXT
04379 #define GL_OPERAND1_RGB_EXT                                           34193
04380 #endif
04381 
04382 #ifndef GL_OPERAND2_RGB_EXT
04383 #define GL_OPERAND2_RGB_EXT                                           34194
04384 #endif
04385 
04386 #ifndef GL_OPERAND0_ALPHA_EXT
04387 #define GL_OPERAND0_ALPHA_EXT                                         34200
04388 #endif
04389 
04390 #ifndef GL_OPERAND1_ALPHA_EXT
04391 #define GL_OPERAND1_ALPHA_EXT                                         34201
04392 #endif
04393 
04394 #ifndef GL_OPERAND2_ALPHA_EXT
04395 #define GL_OPERAND2_ALPHA_EXT                                         34202
04396 #endif
04397 
04398 #ifndef GL_RGB_SCALE_EXT
04399 #define GL_RGB_SCALE_EXT                                              34163
04400 #endif
04401 
04402 #ifndef GL_ADD_SIGNED_EXT
04403 #define GL_ADD_SIGNED_EXT                                             34164
04404 #endif
04405 
04406 #ifndef GL_INTERPOLATE_EXT
04407 #define GL_INTERPOLATE_EXT                                            34165
04408 #endif
04409 
04410 #ifndef GL_CONSTANT_EXT
04411 #define GL_CONSTANT_EXT                                               34166
04412 #endif
04413 
04414 #ifndef GL_PRIMARY_COLOR_EXT
04415 #define GL_PRIMARY_COLOR_EXT                                          34167
04416 #endif
04417 
04418 #ifndef GL_PREVIOUS_EXT
04419 #define GL_PREVIOUS_EXT                                               34168
04420 #endif
04421 
04422 
04433 #ifndef GL_DOT3_RGB_EXT
04434 #define GL_DOT3_RGB_EXT                                               34624
04435 #endif
04436 
04437 #ifndef GL_DOT3_RGBA_EXT
04438 #define GL_DOT3_RGBA_EXT                                              34625
04439 #endif
04440 
04441 
04452 #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
04453 #define GL_TEXTURE_MAX_ANISOTROPY_EXT                                 34046
04454 #endif
04455 
04456 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
04457 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                             34047
04458 #endif
04459 
04460 
04471 #ifndef GL_TEXTURE_FILTER_CONTROL_EXT
04472 #define GL_TEXTURE_FILTER_CONTROL_EXT                                 34048
04473 #endif
04474 
04475 #ifndef GL_TEXTURE_LOD_BIAS_EXT
04476 #define GL_TEXTURE_LOD_BIAS_EXT                                       34049
04477 #endif
04478 
04479 #ifndef GL_MAX_TEXTURE_LOD_BIAS_EXT
04480 #define GL_MAX_TEXTURE_LOD_BIAS_EXT                                   34045
04481 #endif
04482 
04483 
04494 #ifndef GL_TEXTURE_PRIORITY_EXT
04495 #define GL_TEXTURE_PRIORITY_EXT                                       32870
04496 #endif
04497 
04498 #ifndef GL_TEXTURE_RESIDENT_EXT
04499 #define GL_TEXTURE_RESIDENT_EXT                                       32871
04500 #endif
04501 
04502 #ifndef GL_TEXTURE_1D_BINDING_EXT
04503 #define GL_TEXTURE_1D_BINDING_EXT                                     32872
04504 #endif
04505 
04506 #ifndef GL_TEXTURE_2D_BINDING_EXT
04507 #define GL_TEXTURE_2D_BINDING_EXT                                     32873
04508 #endif
04509 
04510 #ifndef GL_TEXTURE_3D_BINDING_EXT
04511 #define GL_TEXTURE_3D_BINDING_EXT                                     32874
04512 #endif
04513 
04514 
04520 typedef GLvoid (csAPIENTRY* csGLGENTEXTURESEXT) (GLsizei n, GLuint* textures);
04521 typedef GLvoid (csAPIENTRY* csGLDELETETEXTURESEXT) (GLsizei n, const GLuint* textures);
04522 typedef GLvoid (csAPIENTRY* csGLBINDTEXTUREEXT) (GLenum target, GLuint texture);
04523 typedef GLvoid (csAPIENTRY* csGLPRIORITIZETEXTURESEXT) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
04524 typedef GLboolean (csAPIENTRY* csGLARETEXTURESRESIDENTEXT) (GLsizei n, const GLuint* textures, GLboolean* residences);
04525 typedef GLboolean (csAPIENTRY* csGLISTEXTUREEXT) (GLuint texture);
04526 
04531 #ifndef GL_VERTEX_ARRAY_EXT
04532 #define GL_VERTEX_ARRAY_EXT                                           32884
04533 #endif
04534 
04535 #ifndef GL_NORMAL_ARRAY_EXT
04536 #define GL_NORMAL_ARRAY_EXT                                           32885
04537 #endif
04538 
04539 #ifndef GL_COLOR_ARRAY_EXT
04540 #define GL_COLOR_ARRAY_EXT                                            32886
04541 #endif
04542 
04543 #ifndef GL_INDEX_ARRAY_EXT
04544 #define GL_INDEX_ARRAY_EXT                                            32887
04545 #endif
04546 
04547 #ifndef GL_TEXTURE_COORD_ARRAY_EXT
04548 #define GL_TEXTURE_COORD_ARRAY_EXT                                    32888
04549 #endif
04550 
04551 #ifndef GL_EDGE_FLAG_ARRAY_EXT
04552 #define GL_EDGE_FLAG_ARRAY_EXT                                        32889
04553 #endif
04554 
04555 #ifndef GL_DOUBLE_EXT
04556 #define GL_DOUBLE_EXT                                                  5130
04557 #endif
04558 
04559 #ifndef GL_VERTEX_ARRAY_SIZE_EXT
04560 #define GL_VERTEX_ARRAY_SIZE_EXT                                      32890
04561 #endif
04562 
04563 #ifndef GL_VERTEX_ARRAY_TYPE_EXT
04564 #define GL_VERTEX_ARRAY_TYPE_EXT                                      32891
04565 #endif
04566 
04567 #ifndef GL_VERTEX_ARRAY_STRIDE_EXT
04568 #define GL_VERTEX_ARRAY_STRIDE_EXT                                    32892
04569 #endif
04570 
04571 #ifndef GL_VERTEX_ARRAY_COUNT_EXT
04572 #define GL_VERTEX_ARRAY_COUNT_EXT                                     32893
04573 #endif
04574 
04575 #ifndef GL_NORMAL_ARRAY_TYPE_EXT
04576 #define GL_NORMAL_ARRAY_TYPE_EXT                                      32894
04577 #endif
04578 
04579 #ifndef GL_NORMAL_ARRAY_STRIDE_EXT
04580 #define GL_NORMAL_ARRAY_STRIDE_EXT                                    32895
04581 #endif
04582 
04583 #ifndef GL_NORMAL_ARRAY_COUNT_EXT
04584 #define GL_NORMAL_ARRAY_COUNT_EXT                                     32896
04585 #endif
04586 
04587 #ifndef GL_COLOR_ARRAY_SIZE_EXT
04588 #define GL_COLOR_ARRAY_SIZE_EXT                                       32897
04589 #endif
04590 
04591 #ifndef GL_COLOR_ARRAY_TYPE_EXT
04592 #define GL_COLOR_ARRAY_TYPE_EXT                                       32898
04593 #endif
04594 
04595 #ifndef GL_COLOR_ARRAY_STRIDE_EXT
04596 #define GL_COLOR_ARRAY_STRIDE_EXT                                     32899
04597 #endif
04598 
04599 #ifndef GL_COLOR_ARRAY_COUNT_EXT
04600 #define GL_COLOR_ARRAY_COUNT_EXT                                      32900
04601 #endif
04602 
04603 #ifndef GL_INDEX_ARRAY_TYPE_EXT
04604 #define GL_INDEX_ARRAY_TYPE_EXT                                       32901
04605 #endif
04606 
04607 #ifndef GL_INDEX_ARRAY_STRIDE_EXT
04608 #define GL_INDEX_ARRAY_STRIDE_EXT                                     32902
04609 #endif
04610 
04611 #ifndef GL_INDEX_ARRAY_COUNT_EXT
04612 #define GL_INDEX_ARRAY_COUNT_EXT                                      32903
04613 #endif
04614 
04615 #ifndef GL_TEXTURE_COORD_ARRAY_SIZE_EXT
04616 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT                               32904
04617 #endif
04618 
04619 #ifndef GL_TEXTURE_COORD_ARRAY_TYPE_EXT
04620 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT                               32905
04621 #endif
04622 
04623 #ifndef GL_TEXTURE_COORD_ARRAY_STRIDE_EXT
04624 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT                             32906
04625 #endif
04626 
04627 #ifndef GL_TEXTURE_COORD_ARRAY_COUNT_EXT
04628 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT                              32907
04629 #endif
04630 
04631 #ifndef GL_EDGE_FLAG_ARRAY_STRIDE_EXT
04632 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT                                 32908
04633 #endif
04634 
04635 #ifndef GL_EDGE_FLAG_ARRAY_COUNT_EXT
04636 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT                                  32909
04637 #endif
04638 
04639 #ifndef GL_VERTEX_ARRAY_POINTER_EXT
04640 #define GL_VERTEX_ARRAY_POINTER_EXT                                   32910
04641 #endif
04642 
04643 #ifndef GL_NORMAL_ARRAY_POINTER_EXT
04644 #define GL_NORMAL_ARRAY_POINTER_EXT                                   32911
04645 #endif
04646 
04647 #ifndef GL_COLOR_ARRAY_POINTER_EXT
04648 #define GL_COLOR_ARRAY_POINTER_EXT                                    32912
04649 #endif
04650 
04651 #ifndef GL_INDEX_ARRAY_POINTER_EXT
04652 #define GL_INDEX_ARRAY_POINTER_EXT                                    32913
04653 #endif
04654 
04655 #ifndef GL_TEXTURE_COORD_ARRAY_POINTER_EXT
04656 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT                            32914
04657 #endif
04658 
04659 #ifndef GL_EDGE_FLAG_ARRAY_POINTER_EXT
04660 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT                                32915
04661 #endif
04662 
04663 
04669 typedef GLvoid (csAPIENTRY* csGLARRAYELEMENTEXT) (GLint i);
04670 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSEXT) (GLenum mode, GLint first, GLsizei count);
04671 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04672 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04673 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04674 typedef GLvoid (csAPIENTRY* csGLINDEXPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04675 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04676 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTEREXT) (GLsizei stride, GLsizei count, const GLboolean* pointer);
04677 typedef GLvoid (csAPIENTRY* csGLGETPOINTERVEXT) (GLenum pname, GLvoid* params);
04678 
04683 #ifndef GL_VERTEX_SHADER_EXT
04684 #define GL_VERTEX_SHADER_EXT                                          34688
04685 #endif
04686 
04687 #ifndef GL_VARIANT_VALUE_EXT
04688 #define GL_VARIANT_VALUE_EXT                                          34788
04689 #endif
04690 
04691 #ifndef GL_VARIANT_DATATYPE_EXT
04692 #define GL_VARIANT_DATATYPE_EXT                                       34789
04693 #endif
04694 
04695 #ifndef GL_VARIANT_ARRAY_STRIDE_EXT
04696 #define GL_VARIANT_ARRAY_STRIDE_EXT                                   34790
04697 #endif
04698 
04699 #ifndef GL_VARIANT_ARRAY_TYPE_EXT
04700 #define GL_VARIANT_ARRAY_TYPE_EXT                                     34791
04701 #endif
04702 
04703 #ifndef GL_VARIANT_ARRAY_EXT
04704 #define GL_VARIANT_ARRAY_EXT                                          34792
04705 #endif
04706 
04707 #ifndef GL_VARIANT_ARRAY_POINTER_EXT
04708 #define GL_VARIANT_ARRAY_POINTER_EXT                                  34793
04709 #endif
04710 
04711 #ifndef GL_INVARIANT_VALUE_EXT
04712 #define GL_INVARIANT_VALUE_EXT                                        34794
04713 #endif
04714 
04715 #ifndef GL_INVARIANT_DATATYPE_EXT
04716 #define GL_INVARIANT_DATATYPE_EXT                                     34795
04717 #endif
04718 
04719 #ifndef GL_LOCAL_CONSTANT_VALUE_EXT
04720 #define GL_LOCAL_CONSTANT_VALUE_EXT                                   34796
04721 #endif
04722 
04723 #ifndef GL_LOCAL_CONSTANT_DATATYPE_EXT
04724 #define GL_LOCAL_CONSTANT_DATATYPE_EXT                                34797
04725 #endif
04726 
04727 #ifndef GL_OP_INDEX_EXT
04728 #define GL_OP_INDEX_EXT                                               34690
04729 #endif
04730 
04731 #ifndef GL_OP_NEGATE_EXT
04732 #define GL_OP_NEGATE_EXT                                              34691
04733 #endif
04734 
04735 #ifndef GL_OP_DOT3_EXT
04736 #define GL_OP_DOT3_EXT                                                34692
04737 #endif
04738 
04739 #ifndef GL_OP_DOT4_EXT
04740 #define GL_OP_DOT4_EXT                                                34693
04741 #endif
04742 
04743 #ifndef GL_OP_MUL_EXT
04744 #define GL_OP_MUL_EXT                                                 34694
04745 #endif
04746 
04747 #ifndef GL_OP_ADD_EXT
04748 #define GL_OP_ADD_EXT                                                 34695
04749 #endif
04750 
04751 #ifndef GL_OP_MADD_EXT
04752 #define GL_OP_MADD_EXT                                                34696
04753 #endif
04754 
04755 #ifndef GL_OP_FRAC_EXT
04756 #define GL_OP_FRAC_EXT                                                34697
04757 #endif
04758 
04759 #ifndef GL_OP_MAX_EXT
04760 #define GL_OP_MAX_EXT                                                 34698
04761 #endif
04762 
04763 #ifndef GL_OP_MIN_EXT
04764 #define GL_OP_MIN_EXT                                                 34699
04765 #endif
04766 
04767 #ifndef GL_OP_SET_GE_EXT
04768 #define GL_OP_SET_GE_EXT                                              34700
04769 #endif
04770 
04771 #ifndef GL_OP_SET_LT_EXT
04772 #define GL_OP_SET_LT_EXT                                              34701
04773 #endif
04774 
04775 #ifndef GL_OP_CLAMP_EXT
04776 #define GL_OP_CLAMP_EXT                                               34702
04777 #endif
04778 
04779 #ifndef GL_OP_FLOOR_EXT
04780 #define GL_OP_FLOOR_EXT                                               34703
04781 #endif
04782 
04783 #ifndef GL_OP_ROUND_EXT
04784 #define GL_OP_ROUND_EXT                                               34704
04785 #endif
04786 
04787 #ifndef GL_OP_EXP_BASE_2_EXT
04788 #define GL_OP_EXP_BASE_2_EXT                                          34705
04789 #endif
04790 
04791 #ifndef GL_OP_LOG_BASE_2_EXT
04792 #define GL_OP_LOG_BASE_2_EXT                                          34706
04793 #endif
04794 
04795 #ifndef GL_OP_POWER_EXT
04796 #define GL_OP_POWER_EXT                                               34707
04797 #endif
04798 
04799 #ifndef GL_OP_RECIP_EXT
04800 #define GL_OP_RECIP_EXT                                               34708
04801 #endif
04802 
04803 #ifndef GL_OP_RECIP_SQRT_EXT
04804 #define GL_OP_RECIP_SQRT_EXT                                          34709
04805 #endif
04806 
04807 #ifndef GL_OP_SUB_EXT
04808 #define GL_OP_SUB_EXT                                                 34710
04809 #endif
04810 
04811 #ifndef GL_OP_CROSS_PRODUCT_EXT
04812 #define GL_OP_CROSS_PRODUCT_EXT                                       34711
04813 #endif
04814 
04815 #ifndef GL_OP_MULTIPLY_MATRIX_EXT
04816 #define GL_OP_MULTIPLY_MATRIX_EXT                                     34712
04817 #endif
04818 
04819 #ifndef GL_OP_MOV_EXT
04820 #define GL_OP_MOV_EXT                                                 34713
04821 #endif
04822 
04823 #ifndef GL_OUTPUT_VERTEX_EXT
04824 #define GL_OUTPUT_VERTEX_EXT                                          34714
04825 #endif
04826 
04827 #ifndef GL_OUTPUT_COLOR0_EXT
04828 #define GL_OUTPUT_COLOR0_EXT                                          34715
04829 #endif
04830 
04831 #ifndef GL_OUTPUT_COLOR1_EXT
04832 #define GL_OUTPUT_COLOR1_EXT                                          34716
04833 #endif
04834 
04835 #ifndef GL_OUTPUT_TEXTURE_COORD0_EXT
04836 #define GL_OUTPUT_TEXTURE_COORD0_EXT                                  34717
04837 #endif
04838 
04839 #ifndef GL_OUTPUT_TEXTURE_COORD1_EXT
04840 #define GL_OUTPUT_TEXTURE_COORD1_EXT                                  34718
04841 #endif
04842 
04843 #ifndef GL_OUTPUT_TEXTURE_COORD2_EXT
04844 #define GL_OUTPUT_TEXTURE_COORD2_EXT                                  34719
04845 #endif
04846 
04847 #ifndef GL_OUTPUT_TEXTURE_COORD3_EXT
04848 #define GL_OUTPUT_TEXTURE_COORD3_EXT                                  34720
04849 #endif
04850 
04851 #ifndef GL_OUTPUT_TEXTURE_COORD4_EXT
04852 #define GL_OUTPUT_TEXTURE_COORD4_EXT                                  34721
04853 #endif
04854 
04855 #ifndef GL_OUTPUT_TEXTURE_COORD5_EXT
04856 #define GL_OUTPUT_TEXTURE_COORD5_EXT                                  34722
04857 #endif
04858 
04859 #ifndef GL_OUTPUT_TEXTURE_COORD6_EXT
04860 #define GL_OUTPUT_TEXTURE_COORD6_EXT                                  34723
04861 #endif
04862 
04863 #ifndef GL_OUTPUT_TEXTURE_COORD7_EXT
04864 #define GL_OUTPUT_TEXTURE_COORD7_EXT                                  34724
04865 #endif
04866 
04867 #ifndef GL_OUTPUT_TEXTURE_COORD8_EXT
04868 #define GL_OUTPUT_TEXTURE_COORD8_EXT                                  34725
04869 #endif
04870 
04871 #ifndef GL_OUTPUT_TEXTURE_COORD9_EXT
04872 #define GL_OUTPUT_TEXTURE_COORD9_EXT                                  34726
04873 #endif
04874 
04875 #ifndef GL_OUTPUT_TEXTURE_COORD10_EXT
04876 #define GL_OUTPUT_TEXTURE_COORD10_EXT                                 34727
04877 #endif
04878 
04879 #ifndef GL_OUTPUT_TEXTURE_COORD11_EXT
04880 #define GL_OUTPUT_TEXTURE_COORD11_EXT                                 34728
04881 #endif
04882 
04883 #ifndef GL_OUTPUT_TEXTURE_COORD12_EXT
04884 #define GL_OUTPUT_TEXTURE_COORD12_EXT                                 34729
04885 #endif
04886 
04887 #ifndef GL_OUTPUT_TEXTURE_COORD13_EXT
04888 #define GL_OUTPUT_TEXTURE_COORD13_EXT                                 34730
04889 #endif
04890 
04891 #ifndef GL_OUTPUT_TEXTURE_COORD14_EXT
04892 #define GL_OUTPUT_TEXTURE_COORD14_EXT                                 34731
04893 #endif
04894 
04895 #ifndef GL_OUTPUT_TEXTURE_COORD15_EXT
04896 #define GL_OUTPUT_TEXTURE_COORD15_EXT                                 34732
04897 #endif
04898 
04899 #ifndef GL_OUTPUT_TEXTURE_COORD16_EXT
04900 #define GL_OUTPUT_TEXTURE_COORD16_EXT                                 34733
04901 #endif
04902 
04903 #ifndef GL_OUTPUT_TEXTURE_COORD17_EXT
04904 #define GL_OUTPUT_TEXTURE_COORD17_EXT                                 34734
04905 #endif
04906 
04907 #ifndef GL_OUTPUT_TEXTURE_COORD18_EXT
04908 #define GL_OUTPUT_TEXTURE_COORD18_EXT                                 34735
04909 #endif
04910 
04911 #ifndef GL_OUTPUT_TEXTURE_COORD19_EXT
04912 #define GL_OUTPUT_TEXTURE_COORD19_EXT                                 34736
04913 #endif
04914 
04915 #ifndef GL_OUTPUT_TEXTURE_COORD20_EXT
04916 #define GL_OUTPUT_TEXTURE_COORD20_EXT                                 34737
04917 #endif
04918 
04919 #ifndef GL_OUTPUT_TEXTURE_COORD21_EXT
04920 #define GL_OUTPUT_TEXTURE_COORD21_EXT                                 34738
04921 #endif
04922 
04923 #ifndef GL_OUTPUT_TEXTURE_COORD22_EXT
04924 #define GL_OUTPUT_TEXTURE_COORD22_EXT                                 34739
04925 #endif
04926 
04927 #ifndef GL_OUTPUT_TEXTURE_COORD23_EXT
04928 #define GL_OUTPUT_TEXTURE_COORD23_EXT                                 34740
04929 #endif
04930 
04931 #ifndef GL_OUTPUT_TEXTURE_COORD24_EXT
04932 #define GL_OUTPUT_TEXTURE_COORD24_EXT                                 34741
04933 #endif
04934 
04935 #ifndef GL_OUTPUT_TEXTURE_COORD25_EXT
04936 #define GL_OUTPUT_TEXTURE_COORD25_EXT                                 34742
04937 #endif
04938 
04939 #ifndef GL_OUTPUT_TEXTURE_COORD26_EXT
04940 #define GL_OUTPUT_TEXTURE_COORD26_EXT                                 34743
04941 #endif
04942 
04943 #ifndef GL_OUTPUT_TEXTURE_COORD27_EXT
04944 #define GL_OUTPUT_TEXTURE_COORD27_EXT                                 34744
04945 #endif
04946 
04947 #ifndef GL_OUTPUT_TEXTURE_COORD28_EXT
04948 #define GL_OUTPUT_TEXTURE_COORD28_EXT                                 34745
04949 #endif
04950 
04951 #ifndef GL_OUTPUT_TEXTURE_COORD29_EXT
04952 #define GL_OUTPUT_TEXTURE_COORD29_EXT                                 34746
04953 #endif
04954 
04955 #ifndef GL_OUTPUT_TEXTURE_COORD30_EXT
04956 #define GL_OUTPUT_TEXTURE_COORD30_EXT                                 34747
04957 #endif
04958 
04959 #ifndef GL_OUTPUT_TEXTURE_COORD31_EXT
04960 #define GL_OUTPUT_TEXTURE_COORD31_EXT                                 34748
04961 #endif
04962 
04963 #ifndef GL_OUTPUT_FOG_EXT
04964 #define GL_OUTPUT_FOG_EXT                                             34749
04965 #endif
04966 
04967 #ifndef GL_SCALAR_EXT
04968 #define GL_SCALAR_EXT                                                 34750
04969 #endif
04970 
04971 #ifndef GL_VECTOR_EXT
04972 #define GL_VECTOR_EXT                                                 34751
04973 #endif
04974 
04975 #ifndef GL_MATRIX_EXT
04976 #define GL_MATRIX_EXT                                                 34752
04977 #endif
04978 
04979 #ifndef GL_VARIANT_EXT
04980 #define GL_VARIANT_EXT                                                34753
04981 #endif
04982 
04983 #ifndef GL_INVARIANT_EXT
04984 #define GL_INVARIANT_EXT                                              34754
04985 #endif
04986 
04987 #ifndef GL_LOCAL_CONSTANT_EXT
04988 #define GL_LOCAL_CONSTANT_EXT                                         34755
04989 #endif
04990 
04991 #ifndef GL_LOCAL_EXT
04992 #define GL_LOCAL_EXT                                                  34756
04993 #endif
04994 
04995 #ifndef GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT
04996 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT                         34757
04997 #endif
04998 
04999 #ifndef GL_MAX_VERTEX_SHADER_VARIANTS_EXT
05000 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT                             34758
05001 #endif
05002 
05003 #ifndef GL_MAX_VERTEX_SHADER_INVARIANTS_EXT
05004 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT                           34759
05005 #endif
05006 
05007 #ifndef GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05008 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                      34760
05009 #endif
05010 
05011 #ifndef GL_MAX_VERTEX_SHADER_LOCALS_EXT
05012 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT                               34761
05013 #endif
05014 
05015 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT
05016 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT               34762
05017 #endif
05018 
05019 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT
05020 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT                   34763
05021 #endif
05022 
05023 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05024 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT            34764
05025 #endif
05026 
05027 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT
05028 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT                 34765
05029 #endif
05030 
05031 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT
05032 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT                     34766
05033 #endif
05034 
05035 #ifndef GL_VERTEX_SHADER_INSTRUCTIONS_EXT
05036 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT                             34767
05037 #endif
05038 
05039 #ifndef GL_VERTEX_SHADER_VARIANTS_EXT
05040 #define GL_VERTEX_SHADER_VARIANTS_EXT                                 34768
05041 #endif
05042 
05043 #ifndef GL_VERTEX_SHADER_INVARIANTS_EXT
05044 #define GL_VERTEX_SHADER_INVARIANTS_EXT                               34769
05045 #endif
05046 
05047 #ifndef GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05048 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                          34770
05049 #endif
05050 
05051 #ifndef GL_VERTEX_SHADER_LOCALS_EXT
05052 #define GL_VERTEX_SHADER_LOCALS_EXT                                   34771
05053 #endif
05054 
05055 #ifndef GL_VERTEX_SHADER_BINDING_EXT
05056 #define GL_VERTEX_SHADER_BINDING_EXT                                  34689
05057 #endif
05058 
05059 #ifndef GL_VERTEX_SHADER_OPTIMIZED_EXT
05060 #define GL_VERTEX_SHADER_OPTIMIZED_EXT                                34772
05061 #endif
05062 
05063 #ifndef GL_X_EXT
05064 #define GL_X_EXT                                                      34773
05065 #endif
05066 
05067 #ifndef GL_Y_EXT
05068 #define GL_Y_EXT                                                      34774
05069 #endif
05070 
05071 #ifndef GL_Z_EXT
05072 #define GL_Z_EXT                                                      34775
05073 #endif
05074 
05075 #ifndef GL_W_EXT
05076 #define GL_W_EXT                                                      34776
05077 #endif
05078 
05079 #ifndef GL_NEGATIVE_X_EXT
05080 #define GL_NEGATIVE_X_EXT                                             34777
05081 #endif
05082 
05083 #ifndef GL_NEGATIVE_Y_EXT
05084 #define GL_NEGATIVE_Y_EXT                                             34778
05085 #endif
05086 
05087 #ifndef GL_NEGATIVE_Z_EXT
05088 #define GL_NEGATIVE_Z_EXT                                             34779
05089 #endif
05090 
05091 #ifndef GL_NEGATIVE_W_EXT
05092 #define GL_NEGATIVE_W_EXT                                             34780
05093 #endif
05094 
05095 #ifndef GL_ZERO_EXT
05096 #define GL_ZERO_EXT                                                   34781
05097 #endif
05098 
05099 #ifndef GL_ONE_EXT
05100 #define GL_ONE_EXT                                                    34782
05101 #endif
05102 
05103 #ifndef GL_NEGATIVE_ONE_EXT
05104 #define GL_NEGATIVE_ONE_EXT                                           34783
05105 #endif
05106 
05107 #ifndef GL_NORMALIZED_RANGE_EXT
05108 #define GL_NORMALIZED_RANGE_EXT                                       34784
05109 #endif
05110 
05111 #ifndef GL_FULL_RANGE_EXT
05112 #define GL_FULL_RANGE_EXT                                             34785
05113 #endif
05114 
05115 #ifndef GL_CURRENT_VERTEX_EXT
05116 #define GL_CURRENT_VERTEX_EXT                                         34786
05117 #endif
05118 
05119 #ifndef GL_MVP_MATRIX_EXT
05120 #define GL_MVP_MATRIX_EXT                                             34787
05121 #endif
05122 
05123 
05129 typedef GLvoid (csAPIENTRY* csGLBEGINVERTEXSHADEREXT) ();
05130 typedef GLvoid (csAPIENTRY* csGLENDVERTEXSHADEREXT) ();
05131 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXSHADEREXT) (GLuint id);
05132 typedef GLuint (csAPIENTRY* csGLGENVERTEXSHADERSEXT) (GLuint range);
05133 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXSHADEREXT) (GLuint id);
05134 typedef GLvoid (csAPIENTRY* csGLSHADEROP1EXT) (GLenum op, GLuint res, GLuint arg1);
05135 typedef GLvoid (csAPIENTRY* csGLSHADEROP2EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
05136 typedef GLvoid (csAPIENTRY* csGLSHADEROP3EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
05137 typedef GLvoid (csAPIENTRY* csGLSWIZZLEEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
05138 typedef GLvoid (csAPIENTRY* csGLWRITEMASKEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
05139 typedef GLvoid (csAPIENTRY* csGLINSERTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
05140 typedef GLvoid (csAPIENTRY* csGLEXTRACTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
05141 typedef GLuint (csAPIENTRY* csGLGENSYMBOLSEXT) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
05142 typedef GLvoid (csAPIENTRY* csGLSETINVARIANTEXT) (GLuint id, GLenum type, GLvoid* addr);
05143 typedef GLvoid (csAPIENTRY* csGLSETLOCALCONSTANTEXT) (GLuint id, GLenum type, GLvoid* addr);
05144 typedef GLvoid (csAPIENTRY* csGLVARIANTBVEXT) (GLuint id, GLbyte* addr);
05145 typedef GLvoid (csAPIENTRY* csGLVARIANTSVEXT) (GLuint id, GLshort* addr);
05146 typedef GLvoid (csAPIENTRY* csGLVARIANTIVEXT) (GLuint id, GLint* addr);
05147 typedef GLvoid (csAPIENTRY* csGLVARIANTFVEXT) (GLuint id, GLfloat* addr);
05148 typedef GLvoid (csAPIENTRY* csGLVARIANTDVEXT) (GLuint id, GLdouble* addr);
05149 typedef GLvoid (csAPIENTRY* csGLVARIANTUBVEXT) (GLuint id, GLubyte* addr);
05150 typedef GLvoid (csAPIENTRY* csGLVARIANTUSVEXT) (GLuint id, GLushort* addr);
05151 typedef GLvoid (csAPIENTRY* csGLVARIANTUIVEXT) (GLuint id, GLuint* addr);
05152 typedef GLvoid (csAPIENTRY* csGLVARIANTPOINTEREXT) (GLuint id, GLenum type, GLuint stride, GLvoid* addr);
05153 typedef GLvoid (csAPIENTRY* csGLENABLEVARIANTCLIENTSTATEEXT) (GLuint id);
05154 typedef GLvoid (csAPIENTRY* csGLDISABLEVARIANTCLIENTSTATEEXT) (GLuint id);
05155 typedef GLuint (csAPIENTRY* csGLBINDLIGHTPARAMETEREXT) (GLenum light, GLenum value);
05156 typedef GLuint (csAPIENTRY* csGLBINDMATERIALPARAMETEREXT) (GLenum face, GLenum value);
05157 typedef GLuint (csAPIENTRY* csGLBINDTEXGENPARAMETEREXT) (GLenum unit, GLenum coord, GLenum value);
05158 typedef GLuint (csAPIENTRY* csGLBINDTEXTUREUNITPARAMETEREXT) (GLenum unit, GLenum value);
05159 typedef GLuint (csAPIENTRY* csGLBINDPARAMETEREXT) (GLenum value);
05160 typedef GLboolean (csAPIENTRY* csGLISVARIANTENABLEDEXT) (GLuint id, GLenum cap);
05161 typedef GLvoid (csAPIENTRY* csGLGETVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05162 typedef GLvoid (csAPIENTRY* csGLGETVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05163 typedef GLvoid (csAPIENTRY* csGLGETVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05164 typedef GLvoid (csAPIENTRY* csGLGETVARIANTPOINTERVEXT) (GLuint id, GLenum value, GLvoid* data);
05165 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05166 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05167 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05168 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05169 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05170 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05171 
05176 #ifndef GL_VERTEX_WEIGHTING_EXT
05177 #define GL_VERTEX_WEIGHTING_EXT                                       34057
05178 #endif
05179 
05180 #ifndef GL_MODELVIEW0_EXT
05181 #define GL_MODELVIEW0_EXT                                              5888
05182 #endif
05183 
05184 #ifndef GL_MODELVIEW1_EXT
05185 #define GL_MODELVIEW1_EXT                                             34058
05186 #endif
05187 
05188 #ifndef GL_MODELVIEW0_MATRIX_EXT
05189 #define GL_MODELVIEW0_MATRIX_EXT                                       2982
05190 #endif
05191 
05192 #ifndef GL_MODELVIEW1_MATRIX_EXT
05193 #define GL_MODELVIEW1_MATRIX_EXT                                      34054
05194 #endif
05195 
05196 #ifndef GL_CURRENT_VERTEX_WEIGHT_EXT
05197 #define GL_CURRENT_VERTEX_WEIGHT_EXT                                  34059
05198 #endif
05199 
05200 #ifndef GL_VERTEX_WEIGHT_ARRAY_EXT
05201 #define GL_VERTEX_WEIGHT_ARRAY_EXT                                    34060
05202 #endif
05203 
05204 #ifndef GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT
05205 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT                               34061
05206 #endif
05207 
05208 #ifndef GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT
05209 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT                               34062
05210 #endif
05211 
05212 #ifndef GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT
05213 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT                             34063
05214 #endif
05215 
05216 #ifndef GL_MODELVIEW0_STACK_DEPTH_EXT
05217 #define GL_MODELVIEW0_STACK_DEPTH_EXT                                  2979
05218 #endif
05219 
05220 #ifndef GL_MODELVIEW1_STACK_DEPTH_EXT
05221 #define GL_MODELVIEW1_STACK_DEPTH_EXT                                 34050
05222 #endif
05223 
05224 #ifndef GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT
05225 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT                            34064
05226 #endif
05227 
05228 
05234 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFEXT) (GLfloat weight);
05235 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFVEXT) (GLfloat* weight);
05236 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
05237 
05242 #ifndef GL_OCCLUSION_TEST_HP
05243 #define GL_OCCLUSION_TEST_HP                                          33125
05244 #endif
05245 
05246 #ifndef GL_OCCLUSION_TEST_RESULT_HP
05247 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
05248 #endif
05249 
05250 
05272 #ifndef GL_DEPTH_STENCIL_TO_RGBA_NV
05273 #define GL_DEPTH_STENCIL_TO_RGBA_NV                                   34926
05274 #endif
05275 
05276 #ifndef GL_DEPTH_STENCIL_TO_BGRA_NV
05277 #define GL_DEPTH_STENCIL_TO_BGRA_NV                                   34927
05278 #endif
05279 
05280 
05291 #ifndef GL_DEPTH_CLAMP_NV
05292 #define GL_DEPTH_CLAMP_NV                                             34383
05293 #endif
05294 
05295 
05306 #ifndef GL_EVAL_2D_NV
05307 #define GL_EVAL_2D_NV                                                 34496
05308 #endif
05309 
05310 #ifndef GL_EVAL_TRIANGULAR_2D_NV
05311 #define GL_EVAL_TRIANGULAR_2D_NV                                      34497
05312 #endif
05313 
05314 #ifndef GL_MAP_TESSELLATION_NV
05315 #define GL_MAP_TESSELLATION_NV                                        34498
05316 #endif
05317 
05318 #ifndef GL_MAP_ATTRIB_U_ORDER_NV
05319 #define GL_MAP_ATTRIB_U_ORDER_NV                                      34499
05320 #endif
05321 
05322 #ifndef GL_MAP_ATTRIB_V_ORDER_NV
05323 #define GL_MAP_ATTRIB_V_ORDER_NV                                      34500
05324 #endif
05325 
05326 #ifndef GL_EVAL_FRACTIONAL_TESSELLATION_NV
05327 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV                            34501
05328 #endif
05329 
05330 #ifndef GL_EVAL_VERTEX_ATTRIB0_NV
05331 #define GL_EVAL_VERTEX_ATTRIB0_NV                                     34502
05332 #endif
05333 
05334 #ifndef GL_EVAL_VERTEX_ATTRIB1_NV
05335 #define GL_EVAL_VERTEX_ATTRIB1_NV                                     34503
05336 #endif
05337 
05338 #ifndef GL_EVAL_VERTEX_ATTRIB2_NV
05339 #define GL_EVAL_VERTEX_ATTRIB2_NV                                     34504
05340 #endif
05341 
05342 #ifndef GL_EVAL_VERTEX_ATTRIB3_NV
05343 #define GL_EVAL_VERTEX_ATTRIB3_NV                                     34505
05344 #endif
05345 
05346 #ifndef GL_EVAL_VERTEX_ATTRIB4_NV
05347 #define GL_EVAL_VERTEX_ATTRIB4_NV                                     34506
05348 #endif
05349 
05350 #ifndef GL_EVAL_VERTEX_ATTRIB5_NV
05351 #define GL_EVAL_VERTEX_ATTRIB5_NV                                     34507
05352 #endif
05353 
05354 #ifndef GL_EVAL_VERTEX_ATTRIB6_NV
05355 #define GL_EVAL_VERTEX_ATTRIB6_NV                                     34508
05356 #endif
05357 
05358 #ifndef GL_EVAL_VERTEX_ATTRIB7_NV
05359 #define GL_EVAL_VERTEX_ATTRIB7_NV                                     34509
05360 #endif
05361 
05362 #ifndef GL_EVAL_VERTEX_ATTRIB8_NV
05363 #define GL_EVAL_VERTEX_ATTRIB8_NV                                     34510
05364 #endif
05365 
05366 #ifndef GL_EVAL_VERTEX_ATTRIB9_NV
05367 #define GL_EVAL_VERTEX_ATTRIB9_NV                                     34511
05368 #endif
05369 
05370 #ifndef GL_EVAL_VERTEX_ATTRIB10_NV
05371 #define GL_EVAL_VERTEX_ATTRIB10_NV                                    34512
05372 #endif
05373 
05374 #ifndef GL_EVAL_VERTEX_ATTRIB11_NV
05375 #define GL_EVAL_VERTEX_ATTRIB11_NV                                    34513
05376 #endif
05377 
05378 #ifndef GL_EVAL_VERTEX_ATTRIB12_NV
05379 #define GL_EVAL_VERTEX_ATTRIB12_NV                                    34514
05380 #endif
05381 
05382 #ifndef GL_EVAL_VERTEX_ATTRIB13_NV
05383 #define GL_EVAL_VERTEX_ATTRIB13_NV                                    34515
05384 #endif
05385 
05386 #ifndef GL_EVAL_VERTEX_ATTRIB14_NV
05387 #define GL_EVAL_VERTEX_ATTRIB14_NV                                    34516
05388 #endif
05389 
05390 #ifndef GL_EVAL_VERTEX_ATTRIB15_NV
05391 #define GL_EVAL_VERTEX_ATTRIB15_NV                                    34517
05392 #endif
05393 
05394 #ifndef GL_MAX_MAP_TESSELLATION_NV
05395 #define GL_MAX_MAP_TESSELLATION_NV                                    34518
05396 #endif
05397 
05398 #ifndef GL_MAX_RATIONAL_EVAL_ORDER_NV
05399 #define GL_MAX_RATIONAL_EVAL_ORDER_NV                                 34519
05400 #endif
05401 
05402 
05408 typedef GLvoid (csAPIENTRY* csGLMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid* points);
05409 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERIVNV) (GLenum target, GLenum pname, const GLint* params);
05410 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERFVNV) (GLenum target, GLenum pname, const GLfloat* params);
05411 typedef GLvoid (csAPIENTRY* csGLGETMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid* points);
05412 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERIVNV) (GLenum target, GLenum pname, GLint* params);
05413 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERFVNV) (GLenum target, GLenum pname, GLfloat* params);
05414 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERIVNV) (GLenum target, GLuint index, GLenum pname, GLint* params);
05415 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
05416 typedef GLvoid (csAPIENTRY* csGLEVALMAPSNV) (GLenum target, GLenum mode);
05417 
05422 #ifndef GL_ALL_COMPLETED_NV
05423 #define GL_ALL_COMPLETED_NV                                           34034
05424 #endif
05425 
05426 #ifndef GL_FENCE_STATUS_NV
05427 #define GL_FENCE_STATUS_NV                                            34035
05428 #endif
05429 
05430 #ifndef GL_FENCE_CONDITION_NV
05431 #define GL_FENCE_CONDITION_NV                                         34036
05432 #endif
05433 
05434 
05440 typedef GLvoid (csAPIENTRY* csGLGENFENCESNV) (GLsizei n, GLuint* fences);
05441 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESNV) (GLsizei n, const GLuint* fences);
05442 typedef GLvoid (csAPIENTRY* csGLSETFENCENV) (GLuint fence, GLenum condition);
05443 typedef GLboolean (csAPIENTRY* csGLTESTFENCENV) (GLuint fence);
05444 typedef GLvoid (csAPIENTRY* csGLFINISHFENCENV) (GLuint fence);
05445 typedef GLboolean (csAPIENTRY* csGLISFENCENV) (GLuint fence);
05446 typedef GLvoid (csAPIENTRY* csGLGETFENCEIVNV) (GLuint fence, GLenum pname, GLint* params);
05447 
05452 #ifndef GL_FOG_DISTANCE_MODE_NV
05453 #define GL_FOG_DISTANCE_MODE_NV                                       34138
05454 #endif
05455 
05456 #ifndef GL_EYE_RADIAL_NV
05457 #define GL_EYE_RADIAL_NV                                              34139
05458 #endif
05459 
05460 #ifndef GL_EYE_PLANE_ABSOLUTE_NV
05461 #define GL_EYE_PLANE_ABSOLUTE_NV                                      34140
05462 #endif
05463 
05464 
05475 #ifndef GL_MAX_SHININESS_NV
05476 #define GL_MAX_SHININESS_NV                                           34052
05477 #endif
05478 
05479 #ifndef GL_MAX_SPOT_EXPONENT_NV
05480 #define GL_MAX_SPOT_EXPONENT_NV                                       34053
05481 #endif
05482 
05483 
05494 #ifndef GL_MULTISAMPLE_FILTER_HINT_NV
05495 #define GL_MULTISAMPLE_FILTER_HINT_NV                                 34100
05496 #endif
05497 
05498 
05509 #ifndef GL_OCCLUSION_TEST_HP
05510 #define GL_OCCLUSION_TEST_HP                                          33125
05511 #endif
05512 
05513 #ifndef GL_OCCLUSION_TEST_RESULT_HP
05514 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
05515 #endif
05516 
05517 #ifndef GL_PIXEL_COUNTER_BITS_NV
05518 #define GL_PIXEL_COUNTER_BITS_NV                                      34916
05519 #endif
05520 
05521 #ifndef GL_CURRENT_OCCLUSION_QUERY_ID_NV
05522 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV                              34917
05523 #endif
05524 
05525 #ifndef GL_PIXEL_COUNT_NV
05526 #define GL_PIXEL_COUNT_NV                                             34918
05527 #endif
05528 
05529 #ifndef GL_PIXEL_COUNT_AVAILABLE_NV
05530 #define GL_PIXEL_COUNT_AVAILABLE_NV                                   34919
05531 #endif
05532 
05533 
05539 typedef GLvoid (csAPIENTRY* csGLGENOCCLUSIONQUERIESNV) (GLsizei n, GLuint* ids);
05540 typedef GLvoid (csAPIENTRY* csGLDELETEOCCLUSIONQUERIESNV) (GLsizei n, const GLuint* ids);
05541 typedef GLboolean (csAPIENTRY* csGLISOCCLUSIONQUERYNV) (GLuint id);
05542 typedef GLvoid (csAPIENTRY* csGLBEGINOCCLUSIONQUERYNV) (GLuint id);
05543 typedef GLvoid (csAPIENTRY* csGLENDOCCLUSIONQUERYNV) ();
05544 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYIVNV) (GLuint id, GLenum pname, GLint* params);
05545 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYUIVNV) (GLuint id, GLenum pname, GLuint* params);
05546 
05551 #ifndef GL_DEPTH_STENCIL_NV
05552 #define GL_DEPTH_STENCIL_NV                                           34041
05553 #endif
05554 
05555 #ifndef GL_UNSIGNED_INT_24_8_NV
05556 #define GL_UNSIGNED_INT_24_8_NV                                       34042
05557 #endif
05558 
05559 
05570 #ifndef GL_POINT_SPRITE_NV
05571 #define GL_POINT_SPRITE_NV                                            34913
05572 #endif
05573 
05574 #ifndef GL_COORD_REPLACE_NV
05575 #define GL_COORD_REPLACE_NV                                           34914
05576 #endif
05577 
05578 #ifndef GL_POINT_SPRITE_R_MODE_NV
05579 #define GL_POINT_SPRITE_R_MODE_NV                                     34915
05580 #endif
05581 
05582 
05588 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERINV) (GLenum pname, GLint param);
05589 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERIVNV) (GLenum pname, const GLint* params);
05590 
05595 #ifndef GL_REGISTER_COMBINERS_NV
05596 #define GL_REGISTER_COMBINERS_NV                                      34082
05597 #endif
05598 
05599 #ifndef GL_COMBINER0_NV
05600 #define GL_COMBINER0_NV                                               34128
05601 #endif
05602 
05603 #ifndef GL_COMBINER1_NV
05604 #define GL_COMBINER1_NV                                               34129
05605 #endif
05606 
05607 #ifndef GL_COMBINER2_NV
05608 #define GL_COMBINER2_NV                                               34130
05609 #endif
05610 
05611 #ifndef GL_COMBINER3_NV
05612 #define GL_COMBINER3_NV                                               34131
05613 #endif
05614 
05615 #ifndef GL_COMBINER4_NV
05616 #define GL_COMBINER4_NV                                               34132
05617 #endif
05618 
05619 #ifndef GL_COMBINER5_NV
05620 #define GL_COMBINER5_NV                                               34133
05621 #endif
05622 
05623 #ifndef GL_COMBINER6_NV
05624 #define GL_COMBINER6_NV                                               34134
05625 #endif
05626 
05627 #ifndef GL_COMBINER7_NV
05628 #define GL_COMBINER7_NV                                               34135
05629 #endif
05630 
05631 #ifndef GL_VARIABLE_A_NV
05632 #define GL_VARIABLE_A_NV                                              34083
05633 #endif
05634 
05635 #ifndef GL_VARIABLE_B_NV
05636 #define GL_VARIABLE_B_NV                                              34084
05637 #endif
05638 
05639 #ifndef GL_VARIABLE_C_NV
05640 #define GL_VARIABLE_C_NV                                              34085
05641 #endif
05642 
05643 #ifndef GL_VARIABLE_D_NV
05644 #define GL_VARIABLE_D_NV                                              34086
05645 #endif
05646 
05647 #ifndef GL_VARIABLE_E_NV
05648 #define GL_VARIABLE_E_NV                                              34087
05649 #endif
05650 
05651 #ifndef GL_VARIABLE_F_NV
05652 #define GL_VARIABLE_F_NV                                              34088
05653 #endif
05654 
05655 #ifndef GL_VARIABLE_G_NV
05656 #define GL_VARIABLE_G_NV                                              34089
05657 #endif
05658 
05659 #ifndef GL_CONSTANT_COLOR0_NV
05660 #define GL_CONSTANT_COLOR0_NV                                         34090
05661 #endif
05662 
05663 #ifndef GL_CONSTANT_COLOR1_NV
05664 #define GL_CONSTANT_COLOR1_NV                                         34091
05665 #endif
05666 
05667 #ifndef GL_PRIMARY_COLOR_NV
05668 #define GL_PRIMARY_COLOR_NV                                           34092
05669 #endif
05670 
05671 #ifndef GL_SECONDARY_COLOR_NV
05672 #define GL_SECONDARY_COLOR_NV                                         34093
05673 #endif
05674 
05675 #ifndef GL_SPARE0_NV
05676 #define GL_SPARE0_NV                                                  34094
05677 #endif
05678 
05679 #ifndef GL_SPARE1_NV
05680 #define GL_SPARE1_NV                                                  34095
05681 #endif
05682 
05683 #ifndef GL_UNSIGNED_IDENTITY_NV
05684 #define GL_UNSIGNED_IDENTITY_NV                                       34102
05685 #endif
05686 
05687 #ifndef GL_UNSIGNED_INVERT_NV
05688 #define GL_UNSIGNED_INVERT_NV                                         34103
05689 #endif
05690 
05691 #ifndef GL_EXPAND_NORMAL_NV
05692 #define GL_EXPAND_NORMAL_NV                                           34104
05693 #endif
05694 
05695 #ifndef GL_EXPAND_NEGATE_NV
05696 #define GL_EXPAND_NEGATE_NV                                           34105
05697 #endif
05698 
05699 #ifndef GL_HALF_BIAS_NORMAL_NV
05700 #define GL_HALF_BIAS_NORMAL_NV                                        34106
05701 #endif
05702 
05703 #ifndef GL_HALF_BIAS_NEGATE_NV
05704 #define GL_HALF_BIAS_NEGATE_NV                                        34107
05705 #endif
05706 
05707 #ifndef GL_SIGNED_IDENTITY_NV
05708 #define GL_SIGNED_IDENTITY_NV                                         34108
05709 #endif
05710 
05711 #ifndef GL_SIGNED_NEGATE_NV
05712 #define GL_SIGNED_NEGATE_NV                                           34109
05713 #endif
05714 
05715 #ifndef GL_E_TIMES_F_NV
05716 #define GL_E_TIMES_F_NV                                               34097
05717 #endif
05718 
05719 #ifndef GL_SPARE0_PLUS_SECONDARY_COLOR_NV
05720 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV                             34098
05721 #endif
05722 
05723 #ifndef GL_SCALE_BY_TWO_NV
05724 #define GL_SCALE_BY_TWO_NV                                            34110
05725 #endif
05726 
05727 #ifndef GL_SCALE_BY_FOUR_NV
05728 #define GL_SCALE_BY_FOUR_NV                                           34111
05729 #endif
05730 
05731 #ifndef GL_SCALE_BY_ONE_HALF_NV
05732 #define GL_SCALE_BY_ONE_HALF_NV                                       34112
05733 #endif
05734 
05735 #ifndef GL_BIAS_BY_NEGATIVE_ONE_HALF_NV
05736 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV                               34113
05737 #endif
05738 
05739 #ifndef GL_DISCARD_NV
05740 #define GL_DISCARD_NV                                                 34096
05741 #endif
05742 
05743 #ifndef GL_COMBINER_INPUT_NV
05744 #define GL_COMBINER_INPUT_NV                                          34114
05745 #endif
05746 
05747 #ifndef GL_COMBINER_MAPPING_NV
05748 #define GL_COMBINER_MAPPING_NV                                        34115
05749 #endif
05750 
05751 #ifndef GL_COMBINER_COMPONENT_USAGE_NV
05752 #define GL_COMBINER_COMPONENT_USAGE_NV                                34116
05753 #endif
05754 
05755 #ifndef GL_COMBINER_AB_DOT_PRODUCT_NV
05756 #define GL_COMBINER_AB_DOT_PRODUCT_NV                                 34117
05757 #endif
05758 
05759 #ifndef GL_COMBINER_CD_DOT_PRODUCT_NV
05760 #define GL_COMBINER_CD_DOT_PRODUCT_NV                                 34118
05761 #endif
05762 
05763 #ifndef GL_COMBINER_MUX_SUM_NV
05764 #define GL_COMBINER_MUX_SUM_NV                                        34119
05765 #endif
05766 
05767 #ifndef GL_COMBINER_SCALE_NV
05768 #define GL_COMBINER_SCALE_NV                                          34120
05769 #endif
05770 
05771 #ifndef GL_COMBINER_BIAS_NV
05772 #define GL_COMBINER_BIAS_NV                                           34121
05773 #endif
05774 
05775 #ifndef GL_COMBINER_AB_OUTPUT_NV
05776 #define GL_COMBINER_AB_OUTPUT_NV                                      34122
05777 #endif
05778 
05779 #ifndef GL_COMBINER_CD_OUTPUT_NV
05780 #define GL_COMBINER_CD_OUTPUT_NV                                      34123
05781 #endif
05782 
05783 #ifndef GL_COMBINER_SUM_OUTPUT_NV
05784 #define GL_COMBINER_SUM_OUTPUT_NV                                     34124
05785 #endif
05786 
05787 #ifndef GL_NUM_GENERAL_COMBINERS_NV
05788 #define GL_NUM_GENERAL_COMBINERS_NV                                   34126
05789 #endif
05790 
05791 #ifndef GL_COLOR_SUM_CLAMP_NV
05792 #define GL_COLOR_SUM_CLAMP_NV                                         34127
05793 #endif
05794 
05795 #ifndef GL_MAX_GENERAL_COMBINERS_NV
05796 #define GL_MAX_GENERAL_COMBINERS_NV                                   34125
05797 #endif
05798 
05799 
05805 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFVNV) (GLenum pname, const GLfloat* params);
05806 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERIVNV) (GLenum pname, const GLint* params);
05807 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFNV) (GLenum pname, GLfloat param);
05808 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERINV) (GLenum pname, GLint param);
05809 typedef GLvoid (csAPIENTRY* csGLCOMBINERINPUTNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
05810 typedef GLvoid (csAPIENTRY* csGLCOMBINEROUTPUTNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
05811 typedef GLvoid (csAPIENTRY* csGLFINALCOMBINERINPUTNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
05812 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params);
05813 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params);
05814 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params);
05815 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum pname, GLint* params);
05816 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERFVNV) (GLenum variable, GLenum pname, GLfloat* params);
05817 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERIVNV) (GLenum variable, GLenum pname, GLint* params);
05818 
05823 #ifndef GL_PER_STAGE_CONSTANTS_NV
05824 #define GL_PER_STAGE_CONSTANTS_NV                                     34101
05825 #endif
05826 
05827 
05833 typedef GLvoid (csAPIENTRY* csGLCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, const GLfloat* params);
05834 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, GLfloat* params);
05835 
05840 #ifndef GL_EMBOSS_MAP_NV
05841 #define GL_EMBOSS_MAP_NV                                              34143
05842 #endif
05843 
05844 #ifndef GL_EMBOSS_LIGHT_NV
05845 #define GL_EMBOSS_LIGHT_NV                                            34141
05846 #endif
05847 
05848 #ifndef GL_EMBOSS_CONSTANT_NV
05849 #define GL_EMBOSS_CONSTANT_NV                                         34142
05850 #endif
05851 
05852 
05863 #ifndef GL_NORMAL_MAP_NV
05864 #define GL_NORMAL_MAP_NV                                              34065
05865 #endif
05866 
05867 #ifndef GL_REFLECTION_MAP_NV
05868 #define GL_REFLECTION_MAP_NV                                          34066
05869 #endif
05870 
05871 
05882 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
05883 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
05884 #endif
05885 
05886 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
05887 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
05888 #endif
05889 
05890 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
05891 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
05892 #endif
05893 
05894 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
05895 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
05896 #endif
05897 
05898 
05909 #ifndef GL_COMBINE4_NV
05910 #define GL_COMBINE4_NV                                                34051
05911 #endif
05912 
05913 #ifndef GL_SOURCE3_RGB_NV
05914 #define GL_SOURCE3_RGB_NV                                             34179
05915 #endif
05916 
05917 #ifndef GL_SOURCE3_ALPHA_NV
05918 #define GL_SOURCE3_ALPHA_NV                                           34187
05919 #endif
05920 
05921 #ifndef GL_OPERAND3_RGB_NV
05922 #define GL_OPERAND3_RGB_NV                                            34195
05923 #endif
05924 
05925 #ifndef GL_OPERAND3_ALPHA_NV
05926 #define GL_OPERAND3_ALPHA_NV                                          34203
05927 #endif
05928 
05929 
05940 #ifndef GL_TEXTURE_RECTANGLE_NV
05941 #define GL_TEXTURE_RECTANGLE_NV                                       34037
05942 #endif
05943 
05944 #ifndef GL_TEXTURE_BINDING_RECTANGLE_NV
05945 #define GL_TEXTURE_BINDING_RECTANGLE_NV                               34038
05946 #endif
05947 
05948 #ifndef GL_PROXY_TEXTURE_RECTANGLE_NV
05949 #define GL_PROXY_TEXTURE_RECTANGLE_NV                                 34039
05950 #endif
05951 
05952 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV
05953 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV                              34040
05954 #endif
05955 
05956 
05967 #ifndef GL_TEXTURE_SHADER_NV
05968 #define GL_TEXTURE_SHADER_NV                                          34526
05969 #endif
05970 
05971 #ifndef GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV
05972 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV                       34521
05973 #endif
05974 
05975 #ifndef GL_SHADER_OPERATION_NV
05976 #define GL_SHADER_OPERATION_NV                                        34527
05977 #endif
05978 
05979 #ifndef GL_CULL_MODES_NV
05980 #define GL_CULL_MODES_NV                                              34528
05981 #endif
05982 
05983 #ifndef GL_OFFSET_TEXTURE_MATRIX_NV
05984 #define GL_OFFSET_TEXTURE_MATRIX_NV                                   34529
05985 #endif
05986 
05987 #ifndef GL_OFFSET_TEXTURE_SCALE_NV
05988 #define GL_OFFSET_TEXTURE_SCALE_NV                                    34530
05989 #endif
05990 
05991 #ifndef GL_OFFSET_TEXTURE_BIAS_NV
05992 #define GL_OFFSET_TEXTURE_BIAS_NV                                     34531
05993 #endif
05994 
05995 #ifndef GL_PREVIOUS_TEXTURE_INPUT_NV
05996 #define GL_PREVIOUS_TEXTURE_INPUT_NV                                  34532
05997 #endif
05998 
05999 #ifndef GL_CONST_EYE_NV
06000 #define GL_CONST_EYE_NV                                               34533
06001 #endif
06002 
06003 #ifndef GL_SHADER_CONSISTENT_NV
06004 #define GL_SHADER_CONSISTENT_NV                                       34525
06005 #endif
06006 
06007 #ifndef GL_PASS_THROUGH_NV
06008 #define GL_PASS_THROUGH_NV                                            34534
06009 #endif
06010 
06011 #ifndef GL_CULL_FRAGMENT_NV
06012 #define GL_CULL_FRAGMENT_NV                                           34535
06013 #endif
06014 
06015 #ifndef GL_OFFSET_TEXTURE_2D_NV
06016 #define GL_OFFSET_TEXTURE_2D_NV                                       34536
06017 #endif
06018 
06019 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_NV
06020 #define GL_OFFSET_TEXTURE_RECTANGLE_NV                                34380
06021 #endif
06022 
06023 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV
06024 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV                          34381
06025 #endif
06026 
06027 #ifndef GL_DEPENDENT_AR_TEXTURE_2D_NV
06028 #define GL_DEPENDENT_AR_TEXTURE_2D_NV                                 34537
06029 #endif
06030 
06031 #ifndef GL_DEPENDENT_GB_TEXTURE_2D_NV
06032 #define GL_DEPENDENT_GB_TEXTURE_2D_NV                                 34538
06033 #endif
06034 
06035 #ifndef GL_DOT_PRODUCT_NV
06036 #define GL_DOT_PRODUCT_NV                                             34540
06037 #endif
06038 
06039 #ifndef GL_DOT_PRODUCT_DEPTH_REPLACE_NV
06040 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV                               34541
06041 #endif
06042 
06043 #ifndef GL_DOT_PRODUCT_TEXTURE_2D_NV
06044 #define GL_DOT_PRODUCT_TEXTURE_2D_NV                                  34542
06045 #endif
06046 
06047 #ifndef GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV
06048 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV                           34382
06049 #endif
06050 
06051 #ifndef GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV
06052 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV                            34544
06053 #endif
06054 
06055 #ifndef GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV
06056 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV                            34545
06057 #endif
06058 
06059 #ifndef GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV
06060 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV                            34546
06061 #endif
06062 
06063 #ifndef GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV
06064 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV                  34547
06065 #endif
06066 
06067 #ifndef GL_HILO_NV
06068 #define GL_HILO_NV                                                    34548
06069 #endif
06070 
06071 #ifndef GL_DSDT_NV
06072 #define GL_DSDT_NV                                                    34549
06073 #endif
06074 
06075 #ifndef GL_DSDT_MAG_NV
06076 #define GL_DSDT_MAG_NV                                                34550
06077 #endif
06078 
06079 #ifndef GL_DSDT_MAG_VIB_NV
06080 #define GL_DSDT_MAG_VIB_NV                                            34551
06081 #endif
06082 
06083 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
06084 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
06085 #endif
06086 
06087 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
06088 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
06089 #endif
06090 
06091 #ifndef GL_SIGNED_RGBA_NV
06092 #define GL_SIGNED_RGBA_NV                                             34555
06093 #endif
06094 
06095 #ifndef GL_SIGNED_RGBA8_NV
06096 #define GL_SIGNED_RGBA8_NV                                            34556
06097 #endif
06098 
06099 #ifndef GL_SIGNED_RGB_NV
06100 #define GL_SIGNED_RGB_NV                                              34558
06101 #endif
06102 
06103 #ifndef GL_SIGNED_RGB8_NV
06104 #define GL_SIGNED_RGB8_NV                                             34559
06105 #endif
06106 
06107 #ifndef GL_SIGNED_LUMINANCE_NV
06108 #define GL_SIGNED_LUMINANCE_NV                                        34561
06109 #endif
06110 
06111 #ifndef GL_SIGNED_LUMINANCE8_NV
06112 #define GL_SIGNED_LUMINANCE8_NV                                       34562
06113 #endif
06114 
06115 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
06116 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
06117 #endif
06118 
06119 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
06120 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
06121 #endif
06122 
06123 #ifndef GL_SIGNED_ALPHA_NV
06124 #define GL_SIGNED_ALPHA_NV                                            34565
06125 #endif
06126 
06127 #ifndef GL_SIGNED_ALPHA8_NV
06128 #define GL_SIGNED_ALPHA8_NV                                           34566
06129 #endif
06130 
06131 #ifndef GL_SIGNED_INTENSITY_NV
06132 #define GL_SIGNED_INTENSITY_NV                                        34567
06133 #endif
06134 
06135 #ifndef GL_SIGNED_INTENSITY8_NV
06136 #define GL_SIGNED_INTENSITY8_NV                                       34568
06137 #endif
06138 
06139 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
06140 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
06141 #endif
06142 
06143 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
06144 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
06145 #endif
06146 
06147 #ifndef GL_HILO16_NV
06148 #define GL_HILO16_NV                                                  34552
06149 #endif
06150 
06151 #ifndef GL_SIGNED_HILO_NV
06152 #define GL_SIGNED_HILO_NV                                             34553
06153 #endif
06154 
06155 #ifndef GL_SIGNED_HILO16_NV
06156 #define GL_SIGNED_HILO16_NV                                           34554
06157 #endif
06158 
06159 #ifndef GL_DSDT8_NV
06160 #define GL_DSDT8_NV                                                   34569
06161 #endif
06162 
06163 #ifndef GL_DSDT8_MAG8_NV
06164 #define GL_DSDT8_MAG8_NV                                              34570
06165 #endif
06166 
06167 #ifndef GL_DSDT_MAG_INTENSITY_NV
06168 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
06169 #endif
06170 
06171 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
06172 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
06173 #endif
06174 
06175 #ifndef GL_HI_SCALE_NV
06176 #define GL_HI_SCALE_NV                                                34574
06177 #endif
06178 
06179 #ifndef GL_LO_SCALE_NV
06180 #define GL_LO_SCALE_NV                                                34575
06181 #endif
06182 
06183 #ifndef GL_DS_SCALE_NV
06184 #define GL_DS_SCALE_NV                                                34576
06185 #endif
06186 
06187 #ifndef GL_DT_SCALE_NV
06188 #define GL_DT_SCALE_NV                                                34577
06189 #endif
06190 
06191 #ifndef GL_MAGNITUDE_SCALE_NV
06192 #define GL_MAGNITUDE_SCALE_NV                                         34578
06193 #endif
06194 
06195 #ifndef GL_VIBRANCE_SCALE_NV
06196 #define GL_VIBRANCE_SCALE_NV                                          34579
06197 #endif
06198 
06199 #ifndef GL_HI_BIAS_NV
06200 #define GL_HI_BIAS_NV                                                 34580
06201 #endif
06202 
06203 #ifndef GL_LO_BIAS_NV
06204 #define GL_LO_BIAS_NV                                                 34581
06205 #endif
06206 
06207 #ifndef GL_DS_BIAS_NV
06208 #define GL_DS_BIAS_NV                                                 34582
06209 #endif
06210 
06211 #ifndef GL_DT_BIAS_NV
06212 #define GL_DT_BIAS_NV                                                 34583
06213 #endif
06214 
06215 #ifndef GL_MAGNITUDE_BIAS_NV
06216 #define GL_MAGNITUDE_BIAS_NV                                          34584
06217 #endif
06218 
06219 #ifndef GL_VIBRANCE_BIAS_NV
06220 #define GL_VIBRANCE_BIAS_NV                                           34585
06221 #endif
06222 
06223 #ifndef GL_TEXTURE_BORDER_VALUES_NV
06224 #define GL_TEXTURE_BORDER_VALUES_NV                                   34586
06225 #endif
06226 
06227 #ifndef GL_TEXTURE_HI_SIZE_NV
06228 #define GL_TEXTURE_HI_SIZE_NV                                         34587
06229 #endif
06230 
06231 #ifndef GL_TEXTURE_LO_SIZE_NV
06232 #define GL_TEXTURE_LO_SIZE_NV                                         34588
06233 #endif
06234 
06235 #ifndef GL_TEXTURE_DS_SIZE_NV
06236 #define GL_TEXTURE_DS_SIZE_NV                                         34589
06237 #endif
06238 
06239 #ifndef GL_TEXTURE_DT_SIZE_NV
06240 #define GL_TEXTURE_DT_SIZE_NV                                         34590
06241 #endif
06242 
06243 #ifndef GL_TEXTURE_MAG_SIZE_NV
06244 #define GL_TEXTURE_MAG_SIZE_NV                                        34591
06245 #endif
06246 
06247 
06258 #ifndef GL_DOT_PRODUCT_TEXTURE_3D_NV
06259 #define GL_DOT_PRODUCT_TEXTURE_3D_NV                                  34543
06260 #endif
06261 
06262 #ifndef GL_HILO_NV
06263 #define GL_HILO_NV                                                    34548
06264 #endif
06265 
06266 #ifndef GL_DSDT_NV
06267 #define GL_DSDT_NV                                                    34549
06268 #endif
06269 
06270 #ifndef GL_DSDT_MAG_NV
06271 #define GL_DSDT_MAG_NV                                                34550
06272 #endif
06273 
06274 #ifndef GL_DSDT_MAG_VIB_NV
06275 #define GL_DSDT_MAG_VIB_NV                                            34551
06276 #endif
06277 
06278 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
06279 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
06280 #endif
06281 
06282 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
06283 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
06284 #endif
06285 
06286 #ifndef GL_SIGNED_RGBA_NV
06287 #define GL_SIGNED_RGBA_NV                                             34555
06288 #endif
06289 
06290 #ifndef GL_SIGNED_RGBA8_NV
06291 #define GL_SIGNED_RGBA8_NV                                            34556
06292 #endif
06293 
06294 #ifndef GL_SIGNED_RGB_NV
06295 #define GL_SIGNED_RGB_NV                                              34558
06296 #endif
06297 
06298 #ifndef GL_SIGNED_RGB8_NV
06299 #define GL_SIGNED_RGB8_NV                                             34559
06300 #endif
06301 
06302 #ifndef GL_SIGNED_LUMINANCE_NV
06303 #define GL_SIGNED_LUMINANCE_NV                                        34561
06304 #endif
06305 
06306 #ifndef GL_SIGNED_LUMINANCE8_NV
06307 #define GL_SIGNED_LUMINANCE8_NV                                       34562
06308 #endif
06309 
06310 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
06311 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
06312 #endif
06313 
06314 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
06315 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
06316 #endif
06317 
06318 #ifndef GL_SIGNED_ALPHA_NV
06319 #define GL_SIGNED_ALPHA_NV                                            34565
06320 #endif
06321 
06322 #ifndef GL_SIGNED_ALPHA8_NV
06323 #define GL_SIGNED_ALPHA8_NV                                           34566
06324 #endif
06325 
06326 #ifndef GL_SIGNED_INTENSITY_NV
06327 #define GL_SIGNED_INTENSITY_NV                                        34567
06328 #endif
06329 
06330 #ifndef GL_SIGNED_INTENSITY8_NV
06331 #define GL_SIGNED_INTENSITY8_NV                                       34568
06332 #endif
06333 
06334 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
06335 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
06336 #endif
06337 
06338 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
06339 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
06340 #endif
06341 
06342 #ifndef GL_HILO16_NV
06343 #define GL_HILO16_NV                                                  34552
06344 #endif
06345 
06346 #ifndef GL_SIGNED_HILO_NV
06347 #define GL_SIGNED_HILO_NV                                             34553
06348 #endif
06349 
06350 #ifndef GL_SIGNED_HILO16_NV
06351 #define GL_SIGNED_HILO16_NV                                           34554
06352 #endif
06353 
06354 #ifndef GL_DSDT8_NV
06355 #define GL_DSDT8_NV                                                   34569
06356 #endif
06357 
06358 #ifndef GL_DSDT8_MAG8_NV
06359 #define GL_DSDT8_MAG8_NV                                              34570
06360 #endif
06361 
06362 #ifndef GL_DSDT_MAG_INTENSITY_NV
06363 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
06364 #endif
06365 
06366 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
06367 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
06368 #endif
06369 
06370 
06381 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV
06382 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV                            34896
06383 #endif
06384 
06385 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV
06386 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV                      34897
06387 #endif
06388 
06389 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV
06390 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV                     34898
06391 #endif
06392 
06393 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV
06394 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV               34899
06395 #endif
06396 
06397 #ifndef GL_OFFSET_HILO_TEXTURE_2D_NV
06398 #define GL_OFFSET_HILO_TEXTURE_2D_NV                                  34900
06399 #endif
06400 
06401 #ifndef GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV
06402 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV                           34901
06403 #endif
06404 
06405 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV
06406 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV                       34902
06407 #endif
06408 
06409 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV
06410 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV                34903
06411 #endif
06412 
06413 #ifndef GL_DEPENDENT_HILO_TEXTURE_2D_NV
06414 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV                               34904
06415 #endif
06416 
06417 #ifndef GL_DEPENDENT_RGB_TEXTURE_3D_NV
06418 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV                                34905
06419 #endif
06420 
06421 #ifndef GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV
06422 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV                          34906
06423 #endif
06424 
06425 #ifndef GL_DOT_PRODUCT_PASS_THROUGH_NV
06426 #define GL_DOT_PRODUCT_PASS_THROUGH_NV                                34907
06427 #endif
06428 
06429 #ifndef GL_DOT_PRODUCT_TEXTURE_1D_NV
06430 #define GL_DOT_PRODUCT_TEXTURE_1D_NV                                  34908
06431 #endif
06432 
06433 #ifndef GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV
06434 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV                        34909
06435 #endif
06436 
06437 #ifndef GL_HILO8_NV
06438 #define GL_HILO8_NV                                                   34910
06439 #endif
06440 
06441 #ifndef GL_SIGNED_HILO8_NV
06442 #define GL_SIGNED_HILO8_NV                                            34911
06443 #endif
06444 
06445 #ifndef GL_FORCE_BLUE_TO_ONE_NV
06446 #define GL_FORCE_BLUE_TO_ONE_NV                                       34912
06447 #endif
06448 
06449 
06460 #ifndef GL_VERTEX_ARRAY_RANGE_NV
06461 #define GL_VERTEX_ARRAY_RANGE_NV                                      34077
06462 #endif
06463 
06464 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_NV
06465 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV                               34078
06466 #endif
06467 
06468 #ifndef GL_VERTEX_ARRAY_RANGE_VALID_NV
06469 #define GL_VERTEX_ARRAY_RANGE_VALID_NV                                34079
06470 #endif
06471 
06472 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV
06473 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV                          34080
06474 #endif
06475 
06476 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_NV
06477 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV                              34081
06478 #endif
06479 
06480 
06486 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGENV) (GLsizei length, GLvoid* pointer);
06487 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGENV) ();
06488 typedef GLvoid* (csAPIENTRY* csWGLALLOCATEMEMORYNV) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
06489 typedef GLvoid (csAPIENTRY* csWGLFREEMEMORYNV) (GLvoid* pointer);
06490 
06495 #ifndef GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV
06496 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV                        34099
06497 #endif
06498 
06499 
06510 #ifndef GL_VERTEX_PROGRAM_NV
06511 #define GL_VERTEX_PROGRAM_NV                                          34336
06512 #endif
06513 
06514 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_NV
06515 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV                               34370
06516 #endif
06517 
06518 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_NV
06519 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV                                 34371
06520 #endif
06521 
06522 #ifndef GL_VERTEX_STATE_PROGRAM_NV
06523 #define GL_VERTEX_STATE_PROGRAM_NV                                    34337
06524 #endif
06525 
06526 #ifndef GL_ATTRIB_ARRAY_SIZE_NV
06527 #define GL_ATTRIB_ARRAY_SIZE_NV                                       34339
06528 #endif
06529 
06530 #ifndef GL_ATTRIB_ARRAY_STRIDE_NV
06531 #define GL_ATTRIB_ARRAY_STRIDE_NV                                     34340
06532 #endif
06533 
06534 #ifndef GL_ATTRIB_ARRAY_TYPE_NV
06535 #define GL_ATTRIB_ARRAY_TYPE_NV                                       34341
06536 #endif
06537 
06538 #ifndef GL_CURRENT_ATTRIB_NV
06539 #define GL_CURRENT_ATTRIB_NV                                          34342
06540 #endif
06541 
06542 #ifndef GL_PROGRAM_PARAMETER_NV
06543 #define GL_PROGRAM_PARAMETER_NV                                       34372
06544 #endif
06545 
06546 #ifndef GL_ATTRIB_ARRAY_POINTER_NV
06547 #define GL_ATTRIB_ARRAY_POINTER_NV                                    34373
06548 #endif
06549 
06550 #ifndef GL_PROGRAM_TARGET_NV
06551 #define GL_PROGRAM_TARGET_NV                                          34374
06552 #endif
06553 
06554 #ifndef GL_PROGRAM_LENGTH_NV
06555 #define GL_PROGRAM_LENGTH_NV                                          34343
06556 #endif
06557 
06558 #ifndef GL_PROGRAM_RESIDENT_NV
06559 #define GL_PROGRAM_RESIDENT_NV                                        34375
06560 #endif
06561 
06562 #ifndef GL_PROGRAM_STRING_NV
06563 #define GL_PROGRAM_STRING_NV                                          34344
06564 #endif
06565 
06566 #ifndef GL_TRACK_MATRIX_NV
06567 #define GL_TRACK_MATRIX_NV                                            34376
06568 #endif
06569 
06570 #ifndef GL_TRACK_MATRIX_TRANSFORM_NV
06571 #define GL_TRACK_MATRIX_TRANSFORM_NV                                  34377
06572 #endif
06573 
06574 #ifndef GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV
06575 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV                            34350
06576 #endif
06577 
06578 #ifndef GL_MAX_TRACK_MATRICES_NV
06579 #define GL_MAX_TRACK_MATRICES_NV                                      34351
06580 #endif
06581 
06582 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_NV
06583 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV                              34368
06584 #endif
06585 
06586 #ifndef GL_CURRENT_MATRIX_NV
06587 #define GL_CURRENT_MATRIX_NV                                          34369
06588 #endif
06589 
06590 #ifndef GL_VERTEX_PROGRAM_BINDING_NV
06591 #define GL_VERTEX_PROGRAM_BINDING_NV                                  34378
06592 #endif
06593 
06594 #ifndef GL_PROGRAM_ERROR_POSITION_NV
06595 #define GL_PROGRAM_ERROR_POSITION_NV                                  34379
06596 #endif
06597 
06598 #ifndef GL_MODELVIEW_PROJECTION_NV
06599 #define GL_MODELVIEW_PROJECTION_NV                                    34345
06600 #endif
06601 
06602 #ifndef GL_MATRIX0_NV
06603 #define GL_MATRIX0_NV                                                 34352
06604 #endif
06605 
06606 #ifndef GL_MATRIX1_NV
06607 #define GL_MATRIX1_NV                                                 34353
06608 #endif
06609 
06610 #ifndef GL_MATRIX2_NV
06611 #define GL_MATRIX2_NV                                                 34354
06612 #endif
06613 
06614 #ifndef GL_MATRIX3_NV
06615 #define GL_MATRIX3_NV                                                 34355
06616 #endif
06617 
06618 #ifndef GL_MATRIX4_NV
06619 #define GL_MATRIX4_NV                                                 34356
06620 #endif
06621 
06622 #ifndef GL_MATRIX5_NV
06623 #define GL_MATRIX5_NV                                                 34357
06624 #endif
06625 
06626 #ifndef GL_MATRIX6_NV
06627 #define GL_MATRIX6_NV                                                 34358
06628 #endif
06629 
06630 #ifndef GL_MATRIX7_NV
06631 #define GL_MATRIX7_NV                                                 34359
06632 #endif
06633 
06634 #ifndef GL_IDENTITY_NV
06635 #define GL_IDENTITY_NV                                                34346
06636 #endif
06637 
06638 #ifndef GL_INVERSE_NV
06639 #define GL_INVERSE_NV                                                 34347
06640 #endif
06641 
06642 #ifndef GL_TRANSPOSE_NV
06643 #define GL_TRANSPOSE_NV                                               34348
06644 #endif
06645 
06646 #ifndef GL_INVERSE_TRANSPOSE_NV
06647 #define GL_INVERSE_TRANSPOSE_NV                                       34349
06648 #endif
06649 
06650 #ifndef GL_VERTEX_ATTRIB_ARRAY0_NV
06651 #define GL_VERTEX_ATTRIB_ARRAY0_NV                                    34384
06652 #endif
06653 
06654 #ifndef GL_VERTEX_ATTRIB_ARRAY1_NV
06655 #define GL_VERTEX_ATTRIB_ARRAY1_NV                                    34385
06656 #endif
06657 
06658 #ifndef GL_VERTEX_ATTRIB_ARRAY2_NV
06659 #define GL_VERTEX_ATTRIB_ARRAY2_NV                                    34386
06660 #endif
06661 
06662 #ifndef GL_VERTEX_ATTRIB_ARRAY3_NV
06663 #define GL_VERTEX_ATTRIB_ARRAY3_NV                                    34387
06664 #endif
06665 
06666 #ifndef GL_VERTEX_ATTRIB_ARRAY4_NV
06667 #define GL_VERTEX_ATTRIB_ARRAY4_NV                                    34388
06668 #endif
06669 
06670 #ifndef GL_VERTEX_ATTRIB_ARRAY5_NV
06671 #define GL_VERTEX_ATTRIB_ARRAY5_NV                                    34389
06672 #endif
06673 
06674 #ifndef GL_VERTEX_ATTRIB_ARRAY6_NV
06675 #define GL_VERTEX_ATTRIB_ARRAY6_NV                                    34390
06676 #endif
06677 
06678 #ifndef GL_VERTEX_ATTRIB_ARRAY7_NV
06679 #define GL_VERTEX_ATTRIB_ARRAY7_NV                                    34391
06680 #endif
06681 
06682 #ifndef GL_VERTEX_ATTRIB_ARRAY8_NV
06683 #define GL_VERTEX_ATTRIB_ARRAY8_NV                                    34392
06684 #endif
06685 
06686 #ifndef GL_VERTEX_ATTRIB_ARRAY9_NV
06687 #define GL_VERTEX_ATTRIB_ARRAY9_NV                                    34393
06688 #endif
06689 
06690 #ifndef GL_VERTEX_ATTRIB_ARRAY10_NV
06691 #define GL_VERTEX_ATTRIB_ARRAY10_NV                                   34394
06692 #endif
06693 
06694 #ifndef GL_VERTEX_ATTRIB_ARRAY11_NV
06695 #define GL_VERTEX_ATTRIB_ARRAY11_NV                                   34395
06696 #endif
06697 
06698 #ifndef GL_VERTEX_ATTRIB_ARRAY12_NV
06699 #define GL_VERTEX_ATTRIB_ARRAY12_NV                                   34396
06700 #endif
06701 
06702 #ifndef GL_VERTEX_ATTRIB_ARRAY13_NV
06703 #define GL_VERTEX_ATTRIB_ARRAY13_NV                                   34397
06704 #endif
06705 
06706 #ifndef GL_VERTEX_ATTRIB_ARRAY14_NV
06707 #define GL_VERTEX_ATTRIB_ARRAY14_NV                                   34398
06708 #endif
06709 
06710 #ifndef GL_VERTEX_ATTRIB_ARRAY15_NV
06711 #define GL_VERTEX_ATTRIB_ARRAY15_NV                                   34399
06712 #endif
06713 
06714 #ifndef GL_MAP1_VERTEX_ATTRIB0_4_NV
06715 #define GL_MAP1_VERTEX_ATTRIB0_4_NV                                   34400
06716 #endif
06717 
06718 #ifndef GL_MAP1_VERTEX_ATTRIB1_4_NV
06719 #define GL_MAP1_VERTEX_ATTRIB1_4_NV                                   34401
06720 #endif
06721 
06722 #ifndef GL_MAP1_VERTEX_ATTRIB2_4_NV
06723 #define GL_MAP1_VERTEX_ATTRIB2_4_NV                                   34402
06724 #endif
06725 
06726 #ifndef GL_MAP1_VERTEX_ATTRIB3_4_NV
06727 #define GL_MAP1_VERTEX_ATTRIB3_4_NV                                   34403
06728 #endif
06729 
06730 #ifndef GL_MAP1_VERTEX_ATTRIB4_4_NV
06731 #define GL_MAP1_VERTEX_ATTRIB4_4_NV                                   34404
06732 #endif
06733 
06734 #ifndef GL_MAP1_VERTEX_ATTRIB5_4_NV
06735 #define GL_MAP1_VERTEX_ATTRIB5_4_NV                                   34405
06736 #endif
06737 
06738 #ifndef GL_MAP1_VERTEX_ATTRIB6_4_NV
06739 #define GL_MAP1_VERTEX_ATTRIB6_4_NV                                   34406
06740 #endif
06741 
06742 #ifndef GL_MAP1_VERTEX_ATTRIB7_4_NV
06743 #define GL_MAP1_VERTEX_ATTRIB7_4_NV                                   34407
06744 #endif
06745 
06746 #ifndef GL_MAP1_VERTEX_ATTRIB8_4_NV
06747 #define GL_MAP1_VERTEX_ATTRIB8_4_NV                                   34408
06748 #endif
06749 
06750 #ifndef GL_MAP1_VERTEX_ATTRIB9_4_NV
06751 #define GL_MAP1_VERTEX_ATTRIB9_4_NV                                   34409
06752 #endif
06753 
06754 #ifndef GL_MAP1_VERTEX_ATTRIB10_4_NV
06755 #define GL_MAP1_VERTEX_ATTRIB10_4_NV                                  34410
06756 #endif
06757 
06758 #ifndef GL_MAP1_VERTEX_ATTRIB11_4_NV
06759 #define GL_MAP1_VERTEX_ATTRIB11_4_NV                                  34411
06760 #endif
06761 
06762 #ifndef GL_MAP1_VERTEX_ATTRIB12_4_NV
06763 #define GL_MAP1_VERTEX_ATTRIB12_4_NV                                  34412
06764 #endif
06765 
06766 #ifndef GL_MAP1_VERTEX_ATTRIB13_4_NV
06767 #define GL_MAP1_VERTEX_ATTRIB13_4_NV                                  34413
06768 #endif
06769 
06770 #ifndef GL_MAP1_VERTEX_ATTRIB14_4_NV
06771 #define GL_MAP1_VERTEX_ATTRIB14_4_NV                                  34414
06772 #endif
06773 
06774 #ifndef GL_MAP1_VERTEX_ATTRIB15_4_NV
06775 #define GL_MAP1_VERTEX_ATTRIB15_4_NV                                  34415
06776 #endif
06777 
06778 #ifndef GL_MAP2_VERTEX_ATTRIB0_4_NV
06779 #define GL_MAP2_VERTEX_ATTRIB0_4_NV                                   34416
06780 #endif
06781 
06782 #ifndef GL_MAP2_VERTEX_ATTRIB1_4_NV
06783 #define GL_MAP2_VERTEX_ATTRIB1_4_NV                                   34417
06784 #endif
06785 
06786 #ifndef GL_MAP2_VERTEX_ATTRIB2_4_NV
06787 #define GL_MAP2_VERTEX_ATTRIB2_4_NV                                   34418
06788 #endif
06789 
06790 #ifndef GL_MAP2_VERTEX_ATTRIB3_4_NV
06791 #define GL_MAP2_VERTEX_ATTRIB3_4_NV                                   34419
06792 #endif
06793 
06794 #ifndef GL_MAP2_VERTEX_ATTRIB4_4_NV
06795 #define GL_MAP2_VERTEX_ATTRIB4_4_NV                                   34420
06796 #endif
06797 
06798 #ifndef GL_MAP2_VERTEX_ATTRIB5_4_NV
06799 #define GL_MAP2_VERTEX_ATTRIB5_4_NV                                   34421
06800 #endif
06801 
06802 #ifndef GL_MAP2_VERTEX_ATTRIB6_4_NV
06803 #define GL_MAP2_VERTEX_ATTRIB6_4_NV                                   34422
06804 #endif
06805 
06806 #ifndef GL_MAP2_VERTEX_ATTRIB7_4_NV
06807 #define GL_MAP2_VERTEX_ATTRIB7_4_NV                                   34423
06808 #endif
06809 
06810 #ifndef GL_MAP2_VERTEX_ATTRIB8_4_NV
06811 #define GL_MAP2_VERTEX_ATTRIB8_4_NV                                   34424
06812 #endif
06813 
06814 #ifndef GL_MAP2_VERTEX_ATTRIB9_4_NV
06815 #define GL_MAP2_VERTEX_ATTRIB9_4_NV                                   34425
06816 #endif
06817 
06818 #ifndef GL_MAP2_VERTEX_ATTRIB10_4_NV
06819 #define GL_MAP2_VERTEX_ATTRIB10_4_NV                                  34426
06820 #endif
06821 
06822 #ifndef GL_MAP2_VERTEX_ATTRIB11_4_NV
06823 #define GL_MAP2_VERTEX_ATTRIB11_4_NV                                  34427
06824 #endif
06825 
06826 #ifndef GL_MAP2_VERTEX_ATTRIB12_4_NV
06827 #define GL_MAP2_VERTEX_ATTRIB12_4_NV                                  34428
06828 #endif
06829 
06830 #ifndef GL_MAP2_VERTEX_ATTRIB13_4_NV
06831 #define GL_MAP2_VERTEX_ATTRIB13_4_NV                                  34429
06832 #endif
06833 
06834 #ifndef GL_MAP2_VERTEX_ATTRIB14_4_NV
06835 #define GL_MAP2_VERTEX_ATTRIB14_4_NV                                  34430
06836 #endif
06837 
06838 #ifndef GL_MAP2_VERTEX_ATTRIB15_4_NV
06839 #define GL_MAP2_VERTEX_ATTRIB15_4_NV                                  34431
06840 #endif
06841 
06842 
06848 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMNV) (GLenum target, GLuint id);
06849 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSNV) (GLsizei n, const GLuint* ids);
06850 typedef GLvoid (csAPIENTRY* csGLEXECUTEPROGRAMNV) (GLenum target, GLuint id, const GLfloat* params);
06851 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSNV) (GLsizei n, GLuint* ids);
06852 typedef GLboolean (csAPIENTRY* csGLAREPROGRAMSRESIDENTNV) (GLsizei n, const GLuint* ids, GLboolean* residences);
06853 typedef GLvoid (csAPIENTRY* csGLREQUESTRESIDENTPROGRAMSNV) (GLsizei n, GLuint* ids);
06854 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
06855 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERDVNV) (GLenum target, GLuint index, GLenum pname, GLdouble* params);
06856 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVNV) (GLuint id, GLenum pname, GLint* params);
06857 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGNV) (GLuint id, GLenum pname, GLubyte* program);
06858 typedef GLvoid (csAPIENTRY* csGLGETTRACKMATRIXIVNV) (GLenum target, GLuint address, GLenum pname, GLint* params);
06859 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVNV) (GLuint index, GLenum pname, GLdouble* params);
06860 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVNV) (GLuint index, GLenum pname, GLfloat* params);
06861 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVNV) (GLuint index, GLenum pname, GLint* params);
06862 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVNV) (GLuint index, GLenum pname, GLvoid* pointer);
06863 typedef GLboolean (csAPIENTRY* csGLISPROGRAMNV) (GLuint id);
06864 typedef GLvoid (csAPIENTRY* csGLLOADPROGRAMNV) (GLenum target, GLuint id, GLsizei len, const GLubyte* program);
06865 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FNV) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
06866 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FVNV) (GLenum target, GLuint index, const GLfloat* params);
06867 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4DVNV) (GLenum target, GLuint index, GLuint num, const GLdouble* params);
06868 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4FVNV) (GLenum target, GLuint index, GLuint num, const GLfloat* params);
06869 typedef GLvoid (csAPIENTRY* csGLTRACKMATRIXNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
06870 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
06871 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SNV) (GLuint index, GLshort x);
06872 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FNV) (GLuint index, GLfloat x);
06873 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DNV) (GLuint index, GLdouble x);
06874 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SNV) (GLuint index, GLshort x, GLshort y);
06875 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FNV) (GLuint index, GLfloat x, GLfloat y);
06876 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DNV) (GLuint index, GLdouble x, GLdouble y);
06877 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SNV) (GLuint index, GLshort x, GLshort y, GLshort z);
06878 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
06879 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
06880 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
06881 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
06882 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
06883 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
06884 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVNV) (GLuint index, const GLshort* v);
06885 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVNV) (GLuint index, const GLfloat* v);
06886 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVNV) (GLuint index, const GLdouble* v);
06887 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVNV) (GLuint index, const GLshort* v);
06888 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVNV) (GLuint index, const GLfloat* v);
06889 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVNV) (GLuint index, const GLdouble* v);
06890 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVNV) (GLuint index, const GLshort* v);
06891 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVNV) (GLuint index, const GLfloat* v);
06892 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVNV) (GLuint index, const GLdouble* v);
06893 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVNV) (GLuint index, const GLshort* v);
06894 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVNV) (GLuint index, const GLfloat* v);
06895 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVNV) (GLuint index, const GLdouble* v);
06896 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVNV) (GLuint index, const GLubyte* v);
06897 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1SVNV) (GLuint index, GLsizei n, const GLshort* v);
06898 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1FVNV) (GLuint index, GLsizei n, const GLfloat* v);
06899 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1DVNV) (GLuint index, GLsizei n, const GLdouble* v);
06900 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2SVNV) (GLuint index, GLsizei n, const GLshort* v);
06901 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2FVNV) (GLuint index, GLsizei n, const GLfloat* v);
06902 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2DVNV) (GLuint index, GLsizei n, const GLdouble* v);
06903 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3SVNV) (GLuint index, GLsizei n, const GLshort* v);
06904 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3FVNV) (GLuint index, GLsizei n, const GLfloat* v);
06905 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3DVNV) (GLuint index, GLsizei n, const GLdouble* v);
06906 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4SVNV) (GLuint index, GLsizei n, const GLshort* v);
06907 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4FVNV) (GLuint index, GLsizei n, const GLfloat* v);
06908 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4DVNV) (GLuint index, GLsizei n, const GLdouble* v);
06909 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4UBVNV) (GLuint index, GLsizei n, const GLubyte* v);
06910 
06926 #ifndef GL_ELEMENT_ARRAY_ATI
06927 #define GL_ELEMENT_ARRAY_ATI                                          34664
06928 #endif
06929 
06930 #ifndef GL_ELEMENT_ARRAY_TYPE_ATI
06931 #define GL_ELEMENT_ARRAY_TYPE_ATI                                     34665
06932 #endif
06933 
06934 #ifndef GL_ELEMENT_ARRAY_POINTER_ATI
06935 #define GL_ELEMENT_ARRAY_POINTER_ATI                                  34666
06936 #endif
06937 
06938 
06944 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERATI) (GLenum type, const GLvoid* pointer);
06945 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYATI) (GLenum mode, GLsizei count);
06946 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYATI) (GLenum mode, GLuint start, GLuint end, GLsizei count);
06947 
06952 #ifndef GL_BUMP_ROT_MATRIX_ATI
06953 #define GL_BUMP_ROT_MATRIX_ATI                                        34677
06954 #endif
06955 
06956 #ifndef GL_BUMP_ROT_MATRIX_SIZE_ATI
06957 #define GL_BUMP_ROT_MATRIX_SIZE_ATI                                   34678
06958 #endif
06959 
06960 #ifndef GL_BUMP_NUM_TEX_UNITS_ATI
06961 #define GL_BUMP_NUM_TEX_UNITS_ATI                                     34679
06962 #endif
06963 
06964 #ifndef GL_BUMP_TEX_UNITS_ATI
06965 #define GL_BUMP_TEX_UNITS_ATI                                         34680
06966 #endif
06967 
06968 #ifndef GL_DUDV_ATI
06969 #define GL_DUDV_ATI                                                   34681
06970 #endif
06971 
06972 #ifndef GL_DU8DV8_ATI
06973 #define GL_DU8DV8_ATI                                                 34682
06974 #endif
06975 
06976 #ifndef GL_BUMP_ENVMAP_ATI
06977 #define GL_BUMP_ENVMAP_ATI                                            34683
06978 #endif
06979 
06980 #ifndef GL_BUMP_TARGET_ATI
06981 #define GL_BUMP_TARGET_ATI                                            34684
06982 #endif
06983 
06984 
06990 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
06991 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
06992 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
06993 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
06994 
06999 #ifndef GL_FRAGMENT_SHADER_ATI
07000 #define GL_FRAGMENT_SHADER_ATI                                        35104
07001 #endif
07002 
07003 #ifndef GL_REG_0_ATI
07004 #define GL_REG_0_ATI                                                  35105
07005 #endif
07006 
07007 #ifndef GL_REG_1_ATI
07008 #define GL_REG_1_ATI                                                  35106
07009 #endif
07010 
07011 #ifndef GL_REG_2_ATI
07012 #define GL_REG_2_ATI                                                  35107
07013 #endif
07014 
07015 #ifndef GL_REG_3_ATI
07016 #define GL_REG_3_ATI                                                  35108
07017 #endif
07018 
07019 #ifndef GL_REG_4_ATI
07020 #define GL_REG_4_ATI                                                  35109
07021 #endif
07022 
07023 #ifndef GL_REG_5_ATI
07024 #define GL_REG_5_ATI                                                  35110
07025 #endif
07026 
07027 #ifndef GL_CON_0_ATI
07028 #define GL_CON_0_ATI                                                  35137
07029 #endif
07030 
07031 #ifndef GL_CON_1_ATI
07032 #define GL_CON_1_ATI                                                  35138
07033 #endif
07034 
07035 #ifndef GL_CON_2_ATI
07036 #define GL_CON_2_ATI                                                  35139
07037 #endif
07038 
07039 #ifndef GL_CON_3_ATI
07040 #define GL_CON_3_ATI                                                  35140
07041 #endif
07042 
07043 #ifndef GL_CON_4_ATI
07044 #define GL_CON_4_ATI                                                  35141
07045 #endif
07046 
07047 #ifndef GL_CON_5_ATI
07048 #define GL_CON_5_ATI                                                  35142
07049 #endif
07050 
07051 #ifndef GL_CON_6_ATI
07052 #define GL_CON_6_ATI                                                  35143
07053 #endif
07054 
07055 #ifndef GL_CON_7_ATI
07056 #define GL_CON_7_ATI                                                  35144
07057 #endif
07058 
07059 #ifndef GL_MOV_ATI
07060 #define GL_MOV_ATI                                                    35169
07061 #endif
07062 
07063 #ifndef GL_ADD_ATI
07064 #define GL_ADD_ATI                                                    35171
07065 #endif
07066 
07067 #ifndef GL_MUL_ATI
07068 #define GL_MUL_ATI                                                    35172
07069 #endif
07070 
07071 #ifndef GL_SUB_ATI
07072 #define GL_SUB_ATI                                                    35173
07073 #endif
07074 
07075 #ifndef GL_DOT3_ATI
07076 #define GL_DOT3_ATI                                                   35174
07077 #endif
07078 
07079 #ifndef GL_DOT4_ATI
07080 #define GL_DOT4_ATI                                                   35175
07081 #endif
07082 
07083 #ifndef GL_MAD_ATI
07084 #define GL_MAD_ATI                                                    35176
07085 #endif
07086 
07087 #ifndef GL_LERP_ATI
07088 #define GL_LERP_ATI                                                   35177
07089 #endif
07090 
07091 #ifndef GL_CND_ATI
07092 #define GL_CND_ATI                                                    35178
07093 #endif
07094 
07095 #ifndef GL_CND0_ATI
07096 #define GL_CND0_ATI                                                   35179
07097 #endif
07098 
07099 #ifndef GL_DOT2_ADD_ATI
07100 #define GL_DOT2_ADD_ATI                                               35180
07101 #endif
07102 
07103 #ifndef GL_SECONDARY_INTERPOLATOR_ATI
07104 #define GL_SECONDARY_INTERPOLATOR_ATI                                 35181
07105 #endif
07106 
07107 #ifndef GL_SWIZZLE_STR_ATI
07108 #define GL_SWIZZLE_STR_ATI                                            35190
07109 #endif
07110 
07111 #ifndef GL_SWIZZLE_STQ_ATI
07112 #define GL_SWIZZLE_STQ_ATI                                            35191
07113 #endif
07114 
07115 #ifndef GL_SWIZZLE_STR_DR_ATI
07116 #define GL_SWIZZLE_STR_DR_ATI                                         35192
07117 #endif
07118 
07119 #ifndef GL_SWIZZLE_STQ_DQ_ATI
07120 #define GL_SWIZZLE_STQ_DQ_ATI                                         35193
07121 #endif
07122 
07123 #ifndef GL_RED_BIT_ATI
07124 #define GL_RED_BIT_ATI                                                    1
07125 #endif
07126 
07127 #ifndef GL_GREEN_BIT_ATI
07128 #define GL_GREEN_BIT_ATI                                                  2
07129 #endif
07130 
07131 #ifndef GL_BLUE_BIT_ATI
07132 #define GL_BLUE_BIT_ATI                                                   4
07133 #endif
07134 
07135 #ifndef GL_2X_BIT_ATI
07136 #define GL_2X_BIT_ATI                                                     1
07137 #endif
07138 
07139 #ifndef GL_4X_BIT_ATI
07140 #define GL_4X_BIT_ATI                                                     2
07141 #endif
07142 
07143 #ifndef GL_8X_BIT_ATI
07144 #define GL_8X_BIT_ATI                                                     4
07145 #endif
07146 
07147 #ifndef GL_HALF_BIT_ATI
07148 #define GL_HALF_BIT_ATI                                                   8
07149 #endif
07150 
07151 #ifndef GL_QUARTER_BIT_ATI
07152 #define GL_QUARTER_BIT_ATI                                               16
07153 #endif
07154 
07155 #ifndef GL_EIGHTH_BIT_ATI
07156 #define GL_EIGHTH_BIT_ATI                                                32
07157 #endif
07158 
07159 #ifndef GL_SATURATE_BIT_ATI
07160 #define GL_SATURATE_BIT_ATI                                              64
07161 #endif
07162 
07163 #ifndef GL_2X_BIT_ATI
07164 #define GL_2X_BIT_ATI                                                     1
07165 #endif
07166 
07167 #ifndef GL_COMP_BIT_ATI
07168 #define GL_COMP_BIT_ATI                                                   2
07169 #endif
07170 
07171 #ifndef GL_NEGATE_BIT_ATI
07172 #define GL_NEGATE_BIT_ATI                                                 4
07173 #endif
07174 
07175 #ifndef GL_BIAS_BIT_ATI
07176 #define GL_BIAS_BIT_ATI                                                   8
07177 #endif
07178 
07179 
07185 typedef GLuint (csAPIENTRY* csGLGENFRAGMENTSHADERSATI) (GLuint range);
07186 typedef GLvoid (csAPIENTRY* csGLBINDFRAGMENTSHADERATI) (GLuint id);
07187 typedef GLvoid (csAPIENTRY* csGLDELETEFRAGMENTSHADERATI) (GLuint id);
07188 typedef GLvoid (csAPIENTRY* csGLBEGINFRAGMENTSHADERATI) ();
07189 typedef GLvoid (csAPIENTRY* csGLENDFRAGMENTSHADERATI) ();
07190 typedef GLvoid (csAPIENTRY* csGLPASSTEXCOORDATI) (GLuint dst, GLuint coord, GLenum swizzle);
07191 typedef GLvoid (csAPIENTRY* csGLSAMPLEMAPATI) (GLuint dst, GLuint interp, GLenum swizzle);
07192 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
07193 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
07194 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);
07195 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
07196 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
07197 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);
07198 typedef GLvoid (csAPIENTRY* csGLSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const GLfloat* value);
07199 
07204 #ifndef GL_PN_TRIANGLES_ATI
07205 #define GL_PN_TRIANGLES_ATI                                           34800
07206 #endif
07207 
07208 #ifndef GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI
07209 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI                     34801
07210 #endif
07211 
07212 #ifndef GL_PN_TRIANGLES_POINT_MODE_ATI
07213 #define GL_PN_TRIANGLES_POINT_MODE_ATI                                34802
07214 #endif
07215 
07216 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_ATI
07217 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI                               34803
07218 #endif
07219 
07220 #ifndef GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI
07221 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI                         34804
07222 #endif
07223 
07224 #ifndef GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI
07225 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI                         34805
07226 #endif
07227 
07228 #ifndef GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI
07229 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI                          34806
07230 #endif
07231 
07232 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI
07233 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI                        34807
07234 #endif
07235 
07236 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI
07237 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI                     34808
07238 #endif
07239 
07240 
07246 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESIATI) (GLenum pname, GLint param);
07247 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESFATI) (GLenum pname, GLfloat param);
07248 
07253 #ifndef GL_MIRROR_CLAMP_ATI
07254 #define GL_MIRROR_CLAMP_ATI                                           34626
07255 #endif
07256 
07257 #ifndef GL_MIRROR_CLAMP_TO_EDGE_ATI
07258 #define GL_MIRROR_CLAMP_TO_EDGE_ATI                                   34627
07259 #endif
07260 
07261 
07272 #ifndef GL_STATIC_ATI
07273 #define GL_STATIC_ATI                                                 34656
07274 #endif
07275 
07276 #ifndef GL_DYNAMIC_ATI
07277 #define GL_DYNAMIC_ATI                                                34657
07278 #endif
07279 
07280 #ifndef GL_PRESERVE_ATI
07281 #define GL_PRESERVE_ATI                                               34658
07282 #endif
07283 
07284 #ifndef GL_DISCARD_ATI
07285 #define GL_DISCARD_ATI                                                34659
07286 #endif
07287 
07288 #ifndef GL_OBJECT_BUFFER_SIZE_ATI
07289 #define GL_OBJECT_BUFFER_SIZE_ATI                                     34660
07290 #endif
07291 
07292 #ifndef GL_OBJECT_BUFFER_USAGE_ATI
07293 #define GL_OBJECT_BUFFER_USAGE_ATI                                    34661
07294 #endif
07295 
07296 #ifndef GL_ARRAY_OBJECT_BUFFER_ATI
07297 #define GL_ARRAY_OBJECT_BUFFER_ATI                                    34662
07298 #endif
07299 
07300 #ifndef GL_ARRAY_OBJECT_OFFSET_ATI
07301 #define GL_ARRAY_OBJECT_OFFSET_ATI                                    34663
07302 #endif
07303 
07304 
07310 typedef GLuint (csAPIENTRY* csGLNEWOBJECTBUFFERATI) (GLsizei size, const GLvoid* pointer, GLenum usage);
07311 typedef GLboolean (csAPIENTRY* csGLISOBJECTBUFFERATI) (GLuint buffer);
07312 typedef GLvoid (csAPIENTRY* csGLUPDATEOBJECTBUFFERATI) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid* pointer, GLenum preserve);
07313 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERFVATI) (GLuint buffer, GLenum pname, GLfloat* params);
07314 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERIVATI) (GLuint buffer, GLenum pname, GLint* params);
07315 typedef GLvoid (csAPIENTRY* csGLFREEOBJECTBUFFERATI) (GLuint buffer);
07316 typedef GLvoid (csAPIENTRY* csGLARRAYOBJECTATI) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
07317 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTFVATI) (GLenum array, GLenum pname, GLfloat* params);
07318 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTIVATI) (GLenum array, GLenum pname, GLint* params);
07319 typedef GLvoid (csAPIENTRY* csGLVARIANTARRAYOBJECTATI) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
07320 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTFVATI) (GLuint id, GLenum pname, GLfloat* params);
07321 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTIVATI) (GLuint id, GLenum pname, GLint* params);
07322 
07333 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBARRAYOBJECTATI) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
07334 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTFVATI) (GLuint index, GLenum pname, GLfloat* params);
07335 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTIVATI) (GLuint index, GLenum pname, GLint* params);
07336 
07341 #ifndef GL_MAX_VERTEX_STREAMS_ATI
07342 #define GL_MAX_VERTEX_STREAMS_ATI                                     34667
07343 #endif
07344 
07345 #ifndef GL_VERTEX_STREAM0_ATI
07346 #define GL_VERTEX_STREAM0_ATI                                         34668
07347 #endif
07348 
07349 #ifndef GL_VERTEX_STREAM1_ATI
07350 #define GL_VERTEX_STREAM1_ATI                                         34669
07351 #endif
07352 
07353 #ifndef GL_VERTEX_STREAM2_ATI
07354 #define GL_VERTEX_STREAM2_ATI                                         34670
07355 #endif
07356 
07357 #ifndef GL_VERTEX_STREAM3_ATI
07358 #define GL_VERTEX_STREAM3_ATI                                         34671
07359 #endif
07360 
07361 #ifndef GL_VERTEX_STREAM4_ATI
07362 #define GL_VERTEX_STREAM4_ATI                                         34672
07363 #endif
07364 
07365 #ifndef GL_VERTEX_STREAM5_ATI
07366 #define GL_VERTEX_STREAM5_ATI                                         34673
07367 #endif
07368 
07369 #ifndef GL_VERTEX_STREAM6_ATI
07370 #define GL_VERTEX_STREAM6_ATI                                         34674
07371 #endif
07372 
07373 #ifndef GL_VERTEX_STREAM7_ATI
07374 #define GL_VERTEX_STREAM7_ATI                                         34675
07375 #endif
07376 
07377 #ifndef GL_VERTEX_SOURCE_ATI
07378 #define GL_VERTEX_SOURCE_ATI                                          34676
07379 #endif
07380 
07381 
07387 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1S) (GLenum stream, GLshort coords);
07388 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1I) (GLenum stream, GLint coords);
07389 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1F) (GLenum stream, GLfloat coords);
07390 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1D) (GLenum stream, GLdouble coords);
07391 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1SV) (GLenum stream, GLshort coords);
07392 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1IV) (GLenum stream, GLint coords);
07393 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1FV) (GLenum stream, GLfloat coords);
07394 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1DV) (GLenum stream, GLdouble coords);
07395 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2S) (GLenum stream, GLshort coords);
07396 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2I) (GLenum stream, GLint coords);
07397 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2F) (GLenum stream, GLfloat coords);
07398 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2D) (GLenum stream, GLdouble coords);
07399 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2SV) (GLenum stream, GLshort coords);
07400 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2IV) (GLenum stream, GLint coords);
07401 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2FV) (GLenum stream, GLfloat coords);
07402 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2DV) (GLenum stream, GLdouble coords);
07403 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3S) (GLenum stream, GLshort coords);
07404 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3I) (GLenum stream, GLint coords);
07405 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3F) (GLenum stream, GLfloat coords);
07406 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3D) (GLenum stream, GLdouble coords);
07407 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3SV) (GLenum stream, GLshort coords);
07408 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3IV) (GLenum stream, GLint coords);
07409 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3FV) (GLenum stream, GLfloat coords);
07410 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3DV) (GLenum stream, GLdouble coords);
07411 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4S) (GLenum stream, GLshort coords);
07412 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4I) (GLenum stream, GLint coords);
07413 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4F) (GLenum stream, GLfloat coords);
07414 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4D) (GLenum stream, GLdouble coords);
07415 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4SV) (GLenum stream, GLshort coords);
07416 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4IV) (GLenum stream, GLint coords);
07417 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4FV) (GLenum stream, GLfloat coords);
07418 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4DV) (GLenum stream, GLdouble coords);
07419 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3B) (GLenum stream, GLbyte coords);
07420 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3S) (GLenum stream, GLshort coords);
07421 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3I) (GLenum stream, GLint coords);
07422 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3F) (GLenum stream, GLfloat coords);
07423 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3D) (GLenum stream, GLdouble coords);
07424 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3BV) (GLenum stream, GLbyte coords);
07425 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3SV) (GLenum stream, GLshort coords);
07426 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3IV) (GLenum stream, GLint coords);
07427 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3FV) (GLenum stream, GLfloat coords);
07428 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3DV) (GLenum stream, GLdouble coords);
07429 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVEVERTEXSTREAM) (GLenum stream);
07430 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVI) (GLenum pname, GLint param);
07431 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVF) (GLenum pname, GLfloat param);
07432 
07434 #ifdef _WIN32
07435 
07438 #ifndef WGL_IMAGE_BUFFER_MIN_ACCESS_I3D
07439 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D                                   1
07440 #endif
07441 
07442 #ifndef WGL_IMAGE_BUFFER_LOCK_I3D
07443 #define WGL_IMAGE_BUFFER_LOCK_I3D                                         2
07444 #endif
07445 
07446 
07452 typedef GLvoid* (csAPIENTRY* csWGLCREATEIMAGEBUFFERI3D) (HDC hDC, DWORD dwSize, UINT uFlags);
07453 typedef BOOL (csAPIENTRY* csWGLDESTROYIMAGEBUFFERI3D) (HDC hDC, GLvoid* pAddress);
07454 typedef BOOL (csAPIENTRY* csWGLASSOCIATEIMAGEBUFFEREVENTSI3D) (HDC hdc, HANDLE* pEvent, GLvoid* pAddress, DWORD* pSize, UINT count);
07455 typedef BOOL (csAPIENTRY* csWGLRELEASEIMAGEBUFFEREVENTSI3D) (HDC hdc, GLvoid* pAddress, UINT count);
07456 
07458 #endif
07459 
07460 #ifdef _WIN32
07461 
07470 typedef BOOL (csAPIENTRY* csWGLENABLEFRAMELOCKI3D) ();
07471 typedef BOOL (csAPIENTRY* csWGLDISABLEFRAMELOCKI3D) ();
07472 typedef BOOL (csAPIENTRY* csWGLISENABLEDFRAMELOCKI3D) (BOOL* pFlag);
07473 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMELOCKMASTERI3D) (BOOL* pFlag);
07474 
07476 #endif
07477 
07478 #ifdef _WIN32
07479 
07488 typedef BOOL (csAPIENTRY* csWGLGETFRAMEUSAGEI3D) (GLfloat* pUsage);
07489 typedef BOOL (csAPIENTRY* csWGLBEGINFRAMETRACKINGI3D) ();
07490 typedef BOOL (csAPIENTRY* csWGLENDFRAMETRACKINGI3D) ();
07491 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMETRACKINGI3D) (DWORD* pFrameCount, DWORD* pMissedFrames, GLfloat* pLastMissedUsage);
07492 
07494 #endif
07495 
07499 #ifndef GL_COMPRESSED_RGB_FXT1_3DFX
07500 #define GL_COMPRESSED_RGB_FXT1_3DFX                                   34480
07501 #endif
07502 
07503 #ifndef GL_COMPRESSED_RGBA_FXT1_3DFX
07504 #define GL_COMPRESSED_RGBA_FXT1_3DFX                                  34481
07505 #endif
07506 
07507 
07518 #ifndef GL_CULL_VERTEX_IBM
07519 #define GL_CULL_VERTEX_IBM                                           103050
07520 #endif
07521 
07522 
07539 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWARRAYSIBM) (GLenum* mode, GLint* first, GLsizei* count, GLsizei primcount, GLint modestride);
07540 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWELEMENTSIBM) (GLenum* mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount, GLint modestride);
07541 
07546 #ifndef GL_RASTER_POSITION_UNCLIPPED_IBM
07547 #define GL_RASTER_POSITION_UNCLIPPED_IBM                             103010
07548 #endif
07549 
07550 
07561 #ifndef GL_MIRRORED_REPEAT_IBM
07562 #define GL_MIRRORED_REPEAT_IBM                                        33648
07563 #endif
07564 
07565 
07576 #ifndef GL_VERTEX_ARRAY_LIST_IBM
07577 #define GL_VERTEX_ARRAY_LIST_IBM                                     103070
07578 #endif
07579 
07580 #ifndef GL_NORMAL_ARRAY_LIST_IBM
07581 #define GL_NORMAL_ARRAY_LIST_IBM                                     103071
07582 #endif
07583 
07584 #ifndef GL_COLOR_ARRAY_LIST_IBM
07585 #define GL_COLOR_ARRAY_LIST_IBM                                      103072
07586 #endif
07587 
07588 #ifndef GL_INDEX_ARRAY_LIST_IBM
07589 #define GL_INDEX_ARRAY_LIST_IBM                                      103073
07590 #endif
07591 
07592 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_IBM
07593 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM                              103074
07594 #endif
07595 
07596 #ifndef GL_EDGE_FLAG_ARRAY_LIST_IBM
07597 #define GL_EDGE_FLAG_ARRAY_LIST_IBM                                  103075
07598 #endif
07599 
07600 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_IBM
07601 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM                             103076
07602 #endif
07603 
07604 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_IBM
07605 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM                            103077
07606 #endif
07607 
07608 #ifndef GL_VERTEX_ARRAY_LIST_STRIDE_IBM
07609 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM                              103080
07610 #endif
07611 
07612 #ifndef GL_NORMAL_ARRAY_LIST_STRIDE_IBM
07613 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM                              103081
07614 #endif
07615 
07616 #ifndef GL_COLOR_ARRAY_LIST_STRIDE_IBM
07617 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM                               103082
07618 #endif
07619 
07620 #ifndef GL_INDEX_ARRAY_LIST_STRIDE_IBM
07621 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM                               103083
07622 #endif
07623 
07624 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM
07625 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM                       103084
07626 #endif
07627 
07628 #ifndef GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM
07629 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM                           103085
07630 #endif
07631 
07632 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM
07633 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM                      103086
07634 #endif
07635 
07636 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM
07637 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM                     103087
07638 #endif
07639 
07640 
07646 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07647 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07648 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTERLISTIBM) (GLint stride, const GLboolean* pointer, GLint ptrstride);
07649 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07650 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07651 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07652 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07653 
07664 typedef GLvoid (csAPIENTRY* csGLRESIZEBUFFERSMESA) ();
07665 
07676 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DMESA) (GLdouble x, GLdouble y);
07677 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FMESA) (GLfloat x, GLfloat y);
07678 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IMESA) (GLint x, GLint y);
07679 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SMESA) (GLshort x, GLshort y);
07680 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVMESA) (const GLint* p);
07681 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVMESA) (const GLshort* p);
07682 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVMESA) (const GLfloat* p);
07683 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVMESA) (const GLdouble* p);
07684 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IMESA) (GLint x, GLint y, GLint z);
07685 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SMESA) (GLshort x, GLshort y, GLshort z);
07686 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FMESA) (GLfloat x, GLfloat y, GLfloat z);
07687 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DMESA) (GLdouble x, GLdouble y, GLdouble z);
07688 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVMESA) (const GLint* p);
07689 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVMESA) (const GLshort* p);
07690 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVMESA) (const GLfloat* p);
07691 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVMESA) (const GLdouble* p);
07692 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IMESA) (GLint x, GLint y, GLint z, GLint w);
07693 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SMESA) (GLshort x, GLshort y, GLshort z, GLshort w);
07694 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
07695 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
07696 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IVMESA) (const GLint* p);
07697 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SVMESA) (const GLshort* p);
07698 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FVMESA) (const GLfloat* p);
07699 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DVMESA) (const GLdouble* p);
07700 
07705 #ifndef GL_INTERLACE_OML
07706 #define GL_INTERLACE_OML                                              35200
07707 #endif
07708 
07709 #ifndef GL_INTERLACE_READ_OML
07710 #define GL_INTERLACE_READ_OML                                         35201
07711 #endif
07712 
07713 
07724 #ifndef GL_PACK_RESAMPLE_OML
07725 #define GL_PACK_RESAMPLE_OML                                          35204
07726 #endif
07727 
07728 #ifndef GL_UNPACK_RESAMPLE_OML
07729 #define GL_UNPACK_RESAMPLE_OML                                        35205
07730 #endif
07731 
07732 #ifndef GL_RESAMPLE_REPLICATE_OML
07733 #define GL_RESAMPLE_REPLICATE_OML                                     35206
07734 #endif
07735 
07736 #ifndef GL_RESAMPLE_ZERO_FILL_OML
07737 #define GL_RESAMPLE_ZERO_FILL_OML                                     35207
07738 #endif
07739 
07740 #ifndef GL_RESAMPLE_AVERAGE_OML
07741 #define GL_RESAMPLE_AVERAGE_OML                                       35208
07742 #endif
07743 
07744 #ifndef GL_RESAMPLE_DECIMATE_OML
07745 #define GL_RESAMPLE_DECIMATE_OML                                      35209
07746 #endif
07747 
07748 #ifndef GL_RESAMPLE_AVERAGE_OML
07749 #define GL_RESAMPLE_AVERAGE_OML                                       35208
07750 #endif
07751 
07752 
07763 #ifndef GL_FORMAT_SUBSAMPLE_24_24_OML
07764 #define GL_FORMAT_SUBSAMPLE_24_24_OML                                 35202
07765 #endif
07766 
07767 #ifndef GL_FORMAT_SUBSAMPLE_244_244_OML
07768 #define GL_FORMAT_SUBSAMPLE_244_244_OML                               35203
07769 #endif
07770 
07771 
07782 #ifndef GL_GENERATE_MIPMAP_SGIS
07783 #define GL_GENERATE_MIPMAP_SGIS                                       33169
07784 #endif
07785 
07786 #ifndef GL_GENERATE_MIPMAP_HINT_SGIS
07787 #define GL_GENERATE_MIPMAP_HINT_SGIS                                  33170
07788 #endif
07789 
07790 
07801 #ifndef GLX_SAMPLE_BUFFERS_SGIS
07802 #define GLX_SAMPLE_BUFFERS_SGIS                                      100000
07803 #endif
07804 
07805 #ifndef GLX_SAMPLES_SGIS
07806 #define GLX_SAMPLES_SGIS                                             100001
07807 #endif
07808 
07809 #ifndef GL_MULTISAMPLE_SGIS
07810 #define GL_MULTISAMPLE_SGIS                                           32925
07811 #endif
07812 
07813 #ifndef GL_SAMPLE_ALPHA_TO_MASK_SGIS
07814 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS                                  32926
07815 #endif
07816 
07817 #ifndef GL_SAMPLE_ALPHA_TO_ONE_SGIS
07818 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS                                   32927
07819 #endif
07820 
07821 #ifndef GL_SAMPLE_MASK_SGIS
07822 #define GL_SAMPLE_MASK_SGIS                                           32928
07823 #endif
07824 
07825 #ifndef GL_MULTISAMPLE_BIT_EXT
07826 #define GL_MULTISAMPLE_BIT_EXT                                       536870912
07827 #endif
07828 
07829 #ifndef GL_1PASS_SGIS
07830 #define GL_1PASS_SGIS                                                 32929
07831 #endif
07832 
07833 #ifndef GL_2PASS_0_SGIS
07834 #define GL_2PASS_0_SGIS                                               32930
07835 #endif
07836 
07837 #ifndef GL_2PASS_1_SGIS
07838 #define GL_2PASS_1_SGIS                                               32931
07839 #endif
07840 
07841 #ifndef GL_4PASS_0_SGIS
07842 #define GL_4PASS_0_SGIS                                               32932
07843 #endif
07844 
07845 #ifndef GL_4PASS_1_SGIS
07846 #define GL_4PASS_1_SGIS                                               32933
07847 #endif
07848 
07849 #ifndef GL_4PASS_2_SGIS
07850 #define GL_4PASS_2_SGIS                                               32934
07851 #endif
07852 
07853 #ifndef GL_4PASS_3_SGIS
07854 #define GL_4PASS_3_SGIS                                               32935
07855 #endif
07856 
07857 #ifndef GL_SAMPLE_BUFFERS_SGIS
07858 #define GL_SAMPLE_BUFFERS_SGIS                                        32936
07859 #endif
07860 
07861 #ifndef GL_SAMPLES_SGIS
07862 #define GL_SAMPLES_SGIS                                               32937
07863 #endif
07864 
07865 #ifndef GL_SAMPLE_MASK_VALUE_SGIS
07866 #define GL_SAMPLE_MASK_VALUE_SGIS                                     32938
07867 #endif
07868 
07869 #ifndef GL_SAMPLE_MASK_INVERT_SGIS
07870 #define GL_SAMPLE_MASK_INVERT_SGIS                                    32939
07871 #endif
07872 
07873 #ifndef GL_SAMPLE_PATTERN_SGIS
07874 #define GL_SAMPLE_PATTERN_SGIS                                        32940
07875 #endif
07876 
07877 
07883 typedef GLvoid (csAPIENTRY* csGLSAMPLEMASKSGIS) (GLclampf value, GLboolean invert);
07884 typedef GLvoid (csAPIENTRY* csGLSAMPLEPATTERNSGIS) (GLenum pattern);
07885 
07890 #ifndef GL_PIXEL_TEXTURE_SGIS
07891 #define GL_PIXEL_TEXTURE_SGIS                                         33619
07892 #endif
07893 
07894 #ifndef GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS
07895 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS                             33620
07896 #endif
07897 
07898 #ifndef GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS
07899 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS                           33621
07900 #endif
07901 
07902 #ifndef GL_PIXEL_GROUP_COLOR_SGIS
07903 #define GL_PIXEL_GROUP_COLOR_SGIS                                     33622
07904 #endif
07905 
07906 
07912 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERISGIS) (GLenum pname, GLint param);
07913 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERFSGIS) (GLenum pname, GLfloat param);
07914 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERIVSGIS) (GLenum pname, GLint params);
07915 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERFVSGIS) (GLenum pname, GLfloat params);
07916 
07921 #ifndef GL_CLAMP_TO_BORDER_SGIS
07922 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
07923 #endif
07924 
07925 
07936 #ifndef GL_TEXTURE_COLOR_WRITEMASK_SGIS
07937 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS                               33263
07938 #endif
07939 
07940 
07946 typedef GLvoid (csAPIENTRY* csGLTEXTURECOLORMASKSGIS) (GLboolean r, GLboolean g, GLboolean b, GLboolean a);
07947 
07952 #ifndef GL_CLAMP_TO_EDGE_SGIS
07953 #define GL_CLAMP_TO_EDGE_SGIS                                         33071
07954 #endif
07955 
07956 
07967 #ifndef GL_TEXTURE_MIN_LOD_SGIS
07968 #define GL_TEXTURE_MIN_LOD_SGIS                                       33082
07969 #endif
07970 
07971 #ifndef GL_TEXTURE_MAX_LOD_SGIS
07972 #define GL_TEXTURE_MAX_LOD_SGIS                                       33083
07973 #endif
07974 
07975 #ifndef GL_TEXTURE_BASE_LEVEL_SGIS
07976 #define GL_TEXTURE_BASE_LEVEL_SGIS                                    33084
07977 #endif
07978 
07979 #ifndef GL_TEXTURE_MAX_LEVEL_SGIS
07980 #define GL_TEXTURE_MAX_LEVEL_SGIS                                     33085
07981 #endif
07982 
07983 
07994 #ifndef GL_DEPTH_COMPONENT16_SGIX
07995 #define GL_DEPTH_COMPONENT16_SGIX                                     33189
07996 #endif
07997 
07998 #ifndef GL_DEPTH_COMPONENT24_SGIX
07999 #define GL_DEPTH_COMPONENT24_SGIX                                     33190
08000 #endif
08001 
08002 #ifndef GL_DEPTH_COMPONENT32_SGIX
08003 #define GL_DEPTH_COMPONENT32_SGIX                                     33191
08004 #endif
08005 
08006 
08017 #ifndef GL_FOG_OFFSET_SGIX
08018 #define GL_FOG_OFFSET_SGIX                                            33176
08019 #endif
08020 
08021 #ifndef GL_FOG_OFFSET_VALUE_SGIX
08022 #define GL_FOG_OFFSET_VALUE_SGIX                                      33177
08023 #endif
08024 
08025 
08036 #ifndef GL_INTERLACE_SGIX
08037 #define GL_INTERLACE_SGIX                                             32916
08038 #endif
08039 
08040 
08051 #ifndef GL_SHADOW_AMBIENT_SGIX
08052 #define GL_SHADOW_AMBIENT_SGIX                                        32959
08053 #endif
08054 
08055 
08066 #ifndef GL_COLOR_MATRIX_SGI
08067 #define GL_COLOR_MATRIX_SGI                                           32945
08068 #endif
08069 
08070 #ifndef GL_COLOR_MATRIX_STACK_DEPTH_SGI
08071 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI                               32946
08072 #endif
08073 
08074 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
08075 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI                           32947
08076 #endif
08077 
08078 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE_SGI
08079 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI                            32948
08080 #endif
08081 
08082 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
08083 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI                          32949
08084 #endif
08085 
08086 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
08087 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI                           32950
08088 #endif
08089 
08090 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
08091 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI                          32951
08092 #endif
08093 
08094 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS_SGI
08095 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI                             32952
08096 #endif
08097 
08098 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
08099 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI                           32953
08100 #endif
08101 
08102 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
08103 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI                            32954
08104 #endif
08105 
08106 #ifndef GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
08107 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI                           32955
08108 #endif
08109 
08110 
08121 #ifndef GL_COLOR_TABLE_SGI
08122 #define GL_COLOR_TABLE_SGI                                            32976
08123 #endif
08124 
08125 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE_SGI
08126 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI                           32977
08127 #endif
08128 
08129 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
08130 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI                          32978
08131 #endif
08132 
08133 #ifndef GL_PROXY_COLOR_TABLE_SGI
08134 #define GL_PROXY_COLOR_TABLE_SGI                                      32979
08135 #endif
08136 
08137 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
08138 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI                     32980
08139 #endif
08140 
08141 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
08142 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI                    32981
08143 #endif
08144 
08145 #ifndef GL_COLOR_TABLE_SCALE_SGI
08146 #define GL_COLOR_TABLE_SCALE_SGI                                      32982
08147 #endif
08148 
08149 #ifndef GL_COLOR_TABLE_BIAS_SGI
08150 #define GL_COLOR_TABLE_BIAS_SGI                                       32983
08151 #endif
08152 
08153 #ifndef GL_COLOR_TABLE_FORMAT_SGI
08154 #define GL_COLOR_TABLE_FORMAT_SGI                                     32984
08155 #endif
08156 
08157 #ifndef GL_COLOR_TABLE_WIDTH_SGI
08158 #define GL_COLOR_TABLE_WIDTH_SGI                                      32985
08159 #endif
08160 
08161 #ifndef GL_COLOR_TABLE_RED_SIZE_SGI
08162 #define GL_COLOR_TABLE_RED_SIZE_SGI                                   32986
08163 #endif
08164 
08165 #ifndef GL_COLOR_TABLE_GREEN_SIZE_SGI
08166 #define GL_COLOR_TABLE_GREEN_SIZE_SGI                                 32987
08167 #endif
08168 
08169 #ifndef GL_COLOR_TABLE_BLUE_SIZE_SGI
08170 #define GL_COLOR_TABLE_BLUE_SIZE_SGI                                  32988
08171 #endif
08172 
08173 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_SGI
08174 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI                                 32989
08175 #endif
08176 
08177 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_SGI
08178 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI                             32990
08179 #endif
08180 
08181 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_SGI
08182 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI                             32991
08183 #endif
08184 
08185 
08191 typedef GLvoid (csAPIENTRY* csGLCOLORTABLESGI) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
08192 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLESGI) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
08193 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, const GLint* params);
08194 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, const GLfloat* params);
08195 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLESGI) (GLenum target, GLenum format, GLenum type, GLvoid* table);
08196 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, GLint* params);
08197 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, GLfloat* params);
08198 
08203 #ifndef GL_TEXTURE_COLOR_TABLE_SGI
08204 #define GL_TEXTURE_COLOR_TABLE_SGI                                    32956
08205 #endif
08206 
08207 #ifndef GL_PROXY_TEXTURE_COLOR_TABLE_SGI
08208 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI                              32957
08209 #endif
08210 
08211 
08228 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
08229 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FVSUN) (const GLubyte* c, const GLfloat* v);
08230 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08231 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FVSUN) (const GLubyte* c, const GLfloat* v);
08232 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08233 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* v);
08234 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08235 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FVSUN) (const GLfloat* n, const GLfloat* v);
08236 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08237 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* n, const GLfloat* v);
08238 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
08239 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* v);
08240 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
08241 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* v);
08242 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08243 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN) (const GLfloat* tc, const GLubyte* c, const GLfloat* v);
08244 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08245 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* v);
08246 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08247 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* n, const GLfloat* v);
08248 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);
08249 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08250 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);
08251 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08252 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FSUN) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
08253 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FVSUN) (const GLuint* rc, const GLfloat* v);
08254 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08255 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN) (const GLuint* rc, const GLubyte* c, const GLfloat* v);
08256 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08257 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* v);
08258 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08259 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* n, const GLfloat* v);
08260 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);
08261 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08262 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
08263 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* v);
08264 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08265 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* n, const GLfloat* v);
08266 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);
08267 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08268 
08273 #ifndef GL_FRAGMENT_PROGRAM_ARB
08274 #define GL_FRAGMENT_PROGRAM_ARB                                       34820
08275 #endif
08276 
08277 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
08278 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
08279 #endif
08280 
08281 #ifndef GL_PROGRAM_LENGTH_ARB
08282 #define GL_PROGRAM_LENGTH_ARB                                         34343
08283 #endif
08284 
08285 #ifndef GL_PROGRAM_FORMAT_ARB
08286 #define GL_PROGRAM_FORMAT_ARB                                         34934
08287 #endif
08288 
08289 #ifndef GL_PROGRAM_BINDING_ARB
08290 #define GL_PROGRAM_BINDING_ARB                                        34423
08291 #endif
08292 
08293 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
08294 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
08295 #endif
08296 
08297 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
08298 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
08299 #endif
08300 
08301 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
08302 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
08303 #endif
08304 
08305 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
08306 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
08307 #endif
08308 
08309 #ifndef GL_PROGRAM_TEMPORARIES_ARB
08310 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
08311 #endif
08312 
08313 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
08314 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
08315 #endif
08316 
08317 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
08318 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
08319 #endif
08320 
08321 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
08322 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
08323 #endif
08324 
08325 #ifndef GL_PROGRAM_PARAMETERS_ARB
08326 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
08327 #endif
08328 
08329 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
08330 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
08331 #endif
08332 
08333 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
08334 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
08335 #endif
08336 
08337 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
08338 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
08339 #endif
08340 
08341 #ifndef GL_PROGRAM_ATTRIBS_ARB
08342 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
08343 #endif
08344 
08345 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
08346 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
08347 #endif
08348 
08349 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
08350 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
08351 #endif
08352 
08353 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
08354 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
08355 #endif
08356 
08357 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
08358 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
08359 #endif
08360 
08361 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
08362 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
08363 #endif
08364 
08365 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
08366 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
08367 #endif
08368 
08369 #ifndef GL_PROGRAM_ALU_INSTRUCTIONS_ARB
08370 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB                               34821
08371 #endif
08372 
08373 #ifndef GL_PROGRAM_TEX_INSTRUCTIONS_ARB
08374 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB                               34822
08375 #endif
08376 
08377 #ifndef GL_PROGRAM_TEX_INDIRECTIONS_ARB
08378 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB                               34823
08379 #endif
08380 
08381 #ifndef GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
08382 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                        34824
08383 #endif
08384 
08385 #ifndef GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
08386 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                        34825
08387 #endif
08388 
08389 #ifndef GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
08390 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                        34826
08391 #endif
08392 
08393 #ifndef GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
08394 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB                           34827
08395 #endif
08396 
08397 #ifndef GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
08398 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB                           34828
08399 #endif
08400 
08401 #ifndef GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
08402 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB                           34829
08403 #endif
08404 
08405 #ifndef GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
08406 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                    34830
08407 #endif
08408 
08409 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
08410 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                    34831
08411 #endif
08412 
08413 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
08414 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                    34832
08415 #endif
08416 
08417 #ifndef GL_PROGRAM_STRING_ARB
08418 #define GL_PROGRAM_STRING_ARB                                         34344
08419 #endif
08420 
08421 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
08422 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
08423 #endif
08424 
08425 #ifndef GL_CURRENT_MATRIX_ARB
08426 #define GL_CURRENT_MATRIX_ARB                                         34369
08427 #endif
08428 
08429 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
08430 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
08431 #endif
08432 
08433 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
08434 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
08435 #endif
08436 
08437 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
08438 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
08439 #endif
08440 
08441 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
08442 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
08443 #endif
08444 
08445 #ifndef GL_MAX_TEXTURE_COORDS_ARB
08446 #define GL_MAX_TEXTURE_COORDS_ARB                                     34929
08447 #endif
08448 
08449 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
08450 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                                34930
08451 #endif
08452 
08453 #ifndef GL_PROGRAM_ERROR_STRING_ARB
08454 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
08455 #endif
08456 
08457 #ifndef GL_MATRIX0_ARB
08458 #define GL_MATRIX0_ARB                                                35008
08459 #endif
08460 
08461 #ifndef GL_MATRIX1_ARB
08462 #define GL_MATRIX1_ARB                                                35009
08463 #endif
08464 
08465 #ifndef GL_MATRIX2_ARB
08466 #define GL_MATRIX2_ARB                                                35010
08467 #endif
08468 
08469 #ifndef GL_MATRIX3_ARB
08470 #define GL_MATRIX3_ARB                                                35011
08471 #endif
08472 
08473 #ifndef GL_MATRIX4_ARB
08474 #define GL_MATRIX4_ARB                                                35012
08475 #endif
08476 
08477 #ifndef GL_MATRIX5_ARB
08478 #define GL_MATRIX5_ARB                                                35013
08479 #endif
08480 
08481 #ifndef GL_MATRIX6_ARB
08482 #define GL_MATRIX6_ARB                                                35014
08483 #endif
08484 
08485 #ifndef GL_MATRIX7_ARB
08486 #define GL_MATRIX7_ARB                                                35015
08487 #endif
08488 
08489 #ifndef GL_MATRIX8_ARB
08490 #define GL_MATRIX8_ARB                                                35016
08491 #endif
08492 
08493 #ifndef GL_MATRIX9_ARB
08494 #define GL_MATRIX9_ARB                                                35017
08495 #endif
08496 
08497 #ifndef GL_MATRIX10_ARB
08498 #define GL_MATRIX10_ARB                                               35018
08499 #endif
08500 
08501 #ifndef GL_MATRIX11_ARB
08502 #define GL_MATRIX11_ARB                                               35019
08503 #endif
08504 
08505 #ifndef GL_MATRIX12_ARB
08506 #define GL_MATRIX12_ARB                                               35020
08507 #endif
08508 
08509 #ifndef GL_MATRIX13_ARB
08510 #define GL_MATRIX13_ARB                                               35021
08511 #endif
08512 
08513 #ifndef GL_MATRIX14_ARB
08514 #define GL_MATRIX14_ARB                                               35022
08515 #endif
08516 
08517 #ifndef GL_MATRIX15_ARB
08518 #define GL_MATRIX15_ARB                                               35023
08519 #endif
08520 
08521 #ifndef GL_MATRIX16_ARB
08522 #define GL_MATRIX16_ARB                                               35024
08523 #endif
08524 
08525 #ifndef GL_MATRIX17_ARB
08526 #define GL_MATRIX17_ARB                                               35025
08527 #endif
08528 
08529 #ifndef GL_MATRIX18_ARB
08530 #define GL_MATRIX18_ARB                                               35026
08531 #endif
08532 
08533 #ifndef GL_MATRIX19_ARB
08534 #define GL_MATRIX19_ARB                                               35027
08535 #endif
08536 
08537 #ifndef GL_MATRIX20_ARB
08538 #define GL_MATRIX20_ARB                                               35028
08539 #endif
08540 
08541 #ifndef GL_MATRIX21_ARB
08542 #define GL_MATRIX21_ARB                                               35029
08543 #endif
08544 
08545 #ifndef GL_MATRIX22_ARB
08546 #define GL_MATRIX22_ARB                                               35030
08547 #endif
08548 
08549 #ifndef GL_MATRIX23_ARB
08550 #define GL_MATRIX23_ARB                                               35031
08551 #endif
08552 
08553 #ifndef GL_MATRIX24_ARB
08554 #define GL_MATRIX24_ARB                                               35032
08555 #endif
08556 
08557 #ifndef GL_MATRIX25_ARB
08558 #define GL_MATRIX25_ARB                                               35033
08559 #endif
08560 
08561 #ifndef GL_MATRIX26_ARB
08562 #define GL_MATRIX26_ARB                                               35034
08563 #endif
08564 
08565 #ifndef GL_MATRIX27_ARB
08566 #define GL_MATRIX27_ARB                                               35035
08567 #endif
08568 
08569 #ifndef GL_MATRIX28_ARB
08570 #define GL_MATRIX28_ARB                                               35036
08571 #endif
08572 
08573 #ifndef GL_MATRIX29_ARB
08574 #define GL_MATRIX29_ARB                                               35037
08575 #endif
08576 
08577 #ifndef GL_MATRIX30_ARB
08578 #define GL_MATRIX30_ARB                                               35038
08579 #endif
08580 
08581 #ifndef GL_MATRIX31_ARB
08582 #define GL_MATRIX31_ARB                                               35039
08583 #endif
08584 
08585 
08596 #ifndef GL_TEXT_FRAGMENT_SHADER_ATI
08597 #define GL_TEXT_FRAGMENT_SHADER_ATI                                   33280
08598 #endif
08599 
08600 
08611 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE
08612 #define GL_UNPACK_CLIENT_STORAGE_APPLE                                34226
08613 #endif
08614 
08615 
08626 #ifndef GL_ELEMENT_ARRAY_APPLE
08627 #define GL_ELEMENT_ARRAY_APPLE                                        34664
08628 #endif
08629 
08630 #ifndef GL_ELEMENT_ARRAY_TYPE_APPLE
08631 #define GL_ELEMENT_ARRAY_TYPE_APPLE                                   34665
08632 #endif
08633 
08634 #ifndef GL_ELEMENT_ARRAY_POINTER_APPLE
08635 #define GL_ELEMENT_ARRAY_POINTER_APPLE                                34666
08636 #endif
08637 
08638 
08644 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERAPPLE) (GLenum type, const GLvoid* pointer);
08645 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYAPPLE) (GLenum mode, GLint first, GLsizei count);
08646 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
08647 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYAPPLE) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
08648 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
08649 
08654 #ifndef GL_DRAW_PIXELS_APPLE
08655 #define GL_DRAW_PIXELS_APPLE                                          35338
08656 #endif
08657 
08658 #ifndef GL_FENCE_APPLE
08659 #define GL_FENCE_APPLE                                                35339
08660 #endif
08661 
08662 
08668 typedef GLvoid (csAPIENTRY* csGLGENFENCESAPPLE) (GLsizei n, GLuint* fences);
08669 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESAPPLE) (GLsizei n, const GLuint* fences);
08670 typedef GLvoid (csAPIENTRY* csGLSETFENCEAPPLE) (GLuint fence);
08671 typedef GLboolean (csAPIENTRY* csGLISFENCEAPPLE) (GLuint fence);
08672 typedef GLboolean (csAPIENTRY* csGLTESTFENCEAPPLE) (GLuint fence);
08673 typedef GLvoid (csAPIENTRY* csGLFINISHFENCEAPPLE) (GLuint fence);
08674 typedef GLboolean (csAPIENTRY* csGLTESTOBJECTAPPLE) (GLenum object, GLuint name);
08675 typedef GLvoid (csAPIENTRY* csGLFINISHOBJECTAPPLE) (GLenum object, GLint name);
08676 
08681 #ifndef GL_VERTEX_ARRAY_BINDING_APPLE
08682 #define GL_VERTEX_ARRAY_BINDING_APPLE                                 34229
08683 #endif
08684 
08685 
08691 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXARRAYAPPLE) (GLuint array);
08692 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
08693 typedef GLvoid (csAPIENTRY* csGLGENVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
08694 typedef GLboolean (csAPIENTRY* csGLISVERTEXARRAYAPPLE) (GLuint array);
08695 
08700 #ifndef GL_VERTEX_ARRAY_RANGE_APPLE
08701 #define GL_VERTEX_ARRAY_RANGE_APPLE                                   34077
08702 #endif
08703 
08704 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE
08705 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE                            34078
08706 #endif
08707 
08708 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE
08709 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE                       34080
08710 #endif
08711 
08712 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_APPLE
08713 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE                           34081
08714 #endif
08715 
08716 #ifndef GL_VERTEX_ARRAY_STORAGE_HINT_APPLE
08717 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE                            34079
08718 #endif
08719 
08720 #ifndef GL_STORAGE_CACHED_APPLE
08721 #define GL_STORAGE_CACHED_APPLE                                       34238
08722 #endif
08723 
08724 #ifndef GL_STORAGE_SHARED_APPLE
08725 #define GL_STORAGE_SHARED_APPLE                                       34239
08726 #endif
08727 
08728 
08734 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
08735 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
08736 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYPARAMETERIAPPLE) (GLenum pname, GLint param);
08737 
08739 #ifdef _WIN32
08740 
08743 #ifndef WGL_NUMBER_PIXEL_FORMATS_ARB
08744 #define WGL_NUMBER_PIXEL_FORMATS_ARB                                   8192
08745 #endif
08746 
08747 #ifndef WGL_DRAW_TO_WINDOW_ARB
08748 #define WGL_DRAW_TO_WINDOW_ARB                                         8193
08749 #endif
08750 
08751 #ifndef WGL_DRAW_TO_BITMAP_ARB
08752 #define WGL_DRAW_TO_BITMAP_ARB                                         8194
08753 #endif
08754 
08755 #ifndef WGL_ACCELERATION_ARB
08756 #define WGL_ACCELERATION_ARB                                           8195
08757 #endif
08758 
08759 #ifndef WGL_NEED_PALETTE_ARB
08760 #define WGL_NEED_PALETTE_ARB                                           8196
08761 #endif
08762 
08763 #ifndef WGL_NEED_SYSTEM_PALETTE_ARB
08764 #define WGL_NEED_SYSTEM_PALETTE_ARB                                    8197
08765 #endif
08766 
08767 #ifndef WGL_SWAP_LAYER_BUFFERS_ARB
08768 #define WGL_SWAP_LAYER_BUFFERS_ARB                                     8198
08769 #endif
08770 
08771 #ifndef WGL_SWAP_METHOD_ARB
08772 #define WGL_SWAP_METHOD_ARB                                            8199
08773 #endif
08774 
08775 #ifndef WGL_NUMBER_OVERLAYS_ARB
08776 #define WGL_NUMBER_OVERLAYS_ARB                                        8200
08777 #endif
08778 
08779 #ifndef WGL_NUMBER_UNDERLAYS_ARB
08780 #define WGL_NUMBER_UNDERLAYS_ARB                                       8201
08781 #endif
08782 
08783 #ifndef WGL_TRANSPARENT_ARB
08784 #define WGL_TRANSPARENT_ARB                                            8202
08785 #endif
08786 
08787 #ifndef WGL_TRANSPARENT_RED_VALUE_ARB
08788 #define WGL_TRANSPARENT_RED_VALUE_ARB                                  8247
08789 #endif
08790 
08791 #ifndef WGL_TRANSPARENT_GREEN_VALUE_ARB
08792 #define WGL_TRANSPARENT_GREEN_VALUE_ARB                                8248
08793 #endif
08794 
08795 #ifndef WGL_TRANSPARENT_BLUE_VALUE_ARB
08796 #define WGL_TRANSPARENT_BLUE_VALUE_ARB                                 8249
08797 #endif
08798 
08799 #ifndef WGL_TRANSPARENT_ALPHA_VALUE_ARB
08800 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB                                8250
08801 #endif
08802 
08803 #ifndef WGL_TRANSPARENT_INDEX_VALUE_ARB
08804 #define WGL_TRANSPARENT_INDEX_VALUE_ARB                                8251
08805 #endif
08806 
08807 #ifndef WGL_SHARE_DEPTH_ARB
08808 #define WGL_SHARE_DEPTH_ARB                                            8204
08809 #endif
08810 
08811 #ifndef WGL_SHARE_STENCIL_ARB
08812 #define WGL_SHARE_STENCIL_ARB                                          8205
08813 #endif
08814 
08815 #ifndef WGL_SHARE_ACCUM_ARB
08816 #define WGL_SHARE_ACCUM_ARB                                            8206
08817 #endif
08818 
08819 #ifndef WGL_SUPPORT_GDI_ARB
08820 #define WGL_SUPPORT_GDI_ARB                                            8207
08821 #endif
08822 
08823 #ifndef WGL_SUPPORT_OPENGL_ARB
08824 #define WGL_SUPPORT_OPENGL_ARB                                         8208
08825 #endif
08826 
08827 #ifndef WGL_DOUBLE_BUFFER_ARB
08828 #define WGL_DOUBLE_BUFFER_ARB                                          8209
08829 #endif
08830 
08831 #ifndef WGL_STEREO_ARB
08832 #define WGL_STEREO_ARB                                                 8210
08833 #endif
08834 
08835 #ifndef WGL_PIXEL_TYPE_ARB
08836 #define WGL_PIXEL_TYPE_ARB                                             8211
08837 #endif
08838 
08839 #ifndef WGL_COLOR_BITS_ARB
08840 #define WGL_COLOR_BITS_ARB                                             8212
08841 #endif
08842 
08843 #ifndef WGL_RED_BITS_ARB
08844 #define WGL_RED_BITS_ARB                                               8213
08845 #endif
08846 
08847 #ifndef WGL_RED_SHIFT_ARB
08848 #define WGL_RED_SHIFT_ARB                                              8214
08849 #endif
08850 
08851 #ifndef WGL_GREEN_BITS_ARB
08852 #define WGL_GREEN_BITS_ARB                                             8215
08853 #endif
08854 
08855 #ifndef WGL_GREEN_SHIFT_ARB
08856 #define WGL_GREEN_SHIFT_ARB                                            8216
08857 #endif
08858 
08859 #ifndef WGL_BLUE_BITS_ARB
08860 #define WGL_BLUE_BITS_ARB                                              8217
08861 #endif
08862 
08863 #ifndef WGL_BLUE_SHIFT_ARB
08864 #define WGL_BLUE_SHIFT_ARB                                             8218
08865 #endif
08866 
08867 #ifndef WGL_ALPHA_BITS_ARB
08868 #define WGL_ALPHA_BITS_ARB                                             8219
08869 #endif
08870 
08871 #ifndef WGL_ALPHA_SHIFT_ARB
08872 #define WGL_ALPHA_SHIFT_ARB                                            8220
08873 #endif
08874 
08875 #ifndef WGL_ACCUM_BITS_ARB
08876 #define WGL_ACCUM_BITS_ARB                                             8221
08877 #endif
08878 
08879 #ifndef WGL_ACCUM_RED_BITS_ARB
08880 #define WGL_ACCUM_RED_BITS_ARB                                         8222
08881 #endif
08882 
08883 #ifndef WGL_ACCUM_GREEN_BITS_ARB
08884 #define WGL_ACCUM_GREEN_BITS_ARB                                       8223
08885 #endif
08886 
08887 #ifndef WGL_ACCUM_BLUE_BITS_ARB
08888 #define WGL_ACCUM_BLUE_BITS_ARB                                        8224
08889 #endif
08890 
08891 #ifndef WGL_ACCUM_ALPHA_BITS_ARB
08892 #define WGL_ACCUM_ALPHA_BITS_ARB                                       8225
08893 #endif
08894 
08895 #ifndef WGL_DEPTH_BITS_ARB
08896 #define WGL_DEPTH_BITS_ARB                                             8226
08897 #endif
08898 
08899 #ifndef WGL_STENCIL_BITS_ARB
08900 #define WGL_STENCIL_BITS_ARB                                           8227
08901 #endif
08902 
08903 #ifndef WGL_AUX_BUFFERS_ARB
08904 #define WGL_AUX_BUFFERS_ARB                                            8228
08905 #endif
08906 
08907 #ifndef WGL_NO_ACCELERATION_ARB
08908 #define WGL_NO_ACCELERATION_ARB                                        8229
08909 #endif
08910 
08911 #ifndef WGL_GENERIC_ACCELERATION_ARB
08912 #define WGL_GENERIC_ACCELERATION_ARB                                   8230
08913 #endif
08914 
08915 #ifndef WGL_FULL_ACCELERATION_ARB
08916 #define WGL_FULL_ACCELERATION_ARB                                      8231
08917 #endif
08918 
08919 #ifndef WGL_SWAP_EXCHANGE_ARB
08920 #define WGL_SWAP_EXCHANGE_ARB                                          8232
08921 #endif
08922 
08923 #ifndef WGL_SWAP_COPY_ARB
08924 #define WGL_SWAP_COPY_ARB                                              8233
08925 #endif
08926 
08927 #ifndef WGL_SWAP_UNDEFINED_ARB
08928 #define WGL_SWAP_UNDEFINED_ARB                                         8234
08929 #endif
08930 
08931 #ifndef WGL_TYPE_RGBA_ARB
08932 #define WGL_TYPE_RGBA_ARB                                              8235
08933 #endif
08934 
08935 #ifndef WGL_TYPE_COLORINDEX_ARB
08936 #define WGL_TYPE_COLORINDEX_ARB                                        8236
08937 #endif
08938 
08939 
08945 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLint* piValues);
08946 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLfloat* pfValues);
08947 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATARB) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
08948 
08950 #endif
08951 
08952 #ifdef _WIN32
08953 
08956 #ifndef WGL_ERROR_INVALID_PIXEL_TYPE_ARB
08957 #define WGL_ERROR_INVALID_PIXEL_TYPE_ARB                               8259
08958 #endif
08959 
08960 #ifndef WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB
08961 #define WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB                     8276
08962 #endif
08963 
08964 
08970 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTARB) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
08971 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCARB) ();
08972 
08974 #endif
08975 
08976 #ifdef _WIN32
08977 
08980 #ifndef WGL_DRAW_TO_PBUFFER_ARB
08981 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
08982 #endif
08983 
08984 #ifndef WGL_DRAW_TO_PBUFFER_ARB
08985 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
08986 #endif
08987 
08988 #ifndef WGL_MAX_PBUFFER_PIXELS_ARB
08989 #define WGL_MAX_PBUFFER_PIXELS_ARB                                     8238
08990 #endif
08991 
08992 #ifndef WGL_MAX_PBUFFER_WIDTH_ARB
08993 #define WGL_MAX_PBUFFER_WIDTH_ARB                                      8239
08994 #endif
08995 
08996 #ifndef WGL_MAX_PBUFFER_HEIGHT_ARB
08997 #define WGL_MAX_PBUFFER_HEIGHT_ARB                                     8240
08998 #endif
08999 
09000 #ifndef WGL_PBUFFER_LARGEST_ARB
09001 #define WGL_PBUFFER_LARGEST_ARB                                        8243
09002 #endif
09003 
09004 #ifndef WGL_PBUFFER_WIDTH_ARB
09005 #define WGL_PBUFFER_WIDTH_ARB                                          8244
09006 #endif
09007 
09008 #ifndef WGL_PBUFFER_HEIGHT_ARB
09009 #define WGL_PBUFFER_HEIGHT_ARB                                         8245
09010 #endif
09011 
09012 #ifndef WGL_PBUFFER_LOST_ARB
09013 #define WGL_PBUFFER_LOST_ARB                                           8246
09014 #endif
09015 
09016 
09022 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFERARB) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
09023 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCARB) (HANDLE hPbuffer);
09024 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCARB) (HANDLE hPbuffer, HDC hDC);
09025 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFERARB) (HANDLE hPbuffer);
09026 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFERARB) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
09027 
09029 #endif
09030 
09031 #ifdef _WIN32
09032 
09041 typedef BOOL (csAPIENTRY* csWGLSWAPINTERVALEXT) (GLint interval);
09042 typedef GLint (csAPIENTRY* csWGLGETSWAPINTERVALEXT) ();
09043 
09045 #endif
09046 
09047 #ifdef _WIN32
09048 
09051 #ifndef WGL_BIND_TO_TEXTURE_RGB_ARB
09052 #define WGL_BIND_TO_TEXTURE_RGB_ARB                                    8304
09053 #endif
09054 
09055 #ifndef WGL_BIND_TO_TEXTURE_RGBA_ARB
09056 #define WGL_BIND_TO_TEXTURE_RGBA_ARB                                   8305
09057 #endif
09058 
09059 #ifndef WGL_TEXTURE_FORMAT_ARB
09060 #define WGL_TEXTURE_FORMAT_ARB                                         8306
09061 #endif
09062 
09063 #ifndef WGL_TEXTURE_TARGET_ARB
09064 #define WGL_TEXTURE_TARGET_ARB                                         8307
09065 #endif
09066 
09067 #ifndef WGL_MIPMAP_TEXTURE_ARB
09068 #define WGL_MIPMAP_TEXTURE_ARB                                         8308
09069 #endif
09070 
09071 #ifndef WGL_TEXTURE_RGB_ARB
09072 #define WGL_TEXTURE_RGB_ARB                                            8309
09073 #endif
09074 
09075 #ifndef WGL_TEXTURE_RGBA_ARB
09076 #define WGL_TEXTURE_RGBA_ARB                                           8310
09077 #endif
09078 
09079 #ifndef WGL_NO_TEXTURE_ARB
09080 #define WGL_NO_TEXTURE_ARB                                             8311
09081 #endif
09082 
09083 #ifndef WGL_TEXTURE_CUBE_MAP_ARB
09084 #define WGL_TEXTURE_CUBE_MAP_ARB                                       8312
09085 #endif
09086 
09087 #ifndef WGL_TEXTURE_1D_ARB
09088 #define WGL_TEXTURE_1D_ARB                                             8313
09089 #endif
09090 
09091 #ifndef WGL_TEXTURE_2D_ARB
09092 #define WGL_TEXTURE_2D_ARB                                             8314
09093 #endif
09094 
09095 #ifndef WGL_NO_TEXTURE_ARB
09096 #define WGL_NO_TEXTURE_ARB                                             8311
09097 #endif
09098 
09099 #ifndef WGL_MIPMAP_LEVEL_ARB
09100 #define WGL_MIPMAP_LEVEL_ARB                                           8315
09101 #endif
09102 
09103 #ifndef WGL_CUBE_MAP_FACE_ARB
09104 #define WGL_CUBE_MAP_FACE_ARB                                          8316
09105 #endif
09106 
09107 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
09108 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            8317
09109 #endif
09110 
09111 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
09112 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            8318
09113 #endif
09114 
09115 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
09116 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            8319
09117 #endif
09118 
09119 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
09120 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            8320
09121 #endif
09122 
09123 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
09124 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            8321
09125 #endif
09126 
09127 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
09128 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            8322
09129 #endif
09130 
09131 #ifndef WGL_FRONT_LEFT_ARB
09132 #define WGL_FRONT_LEFT_ARB                                             8323
09133 #endif
09134 
09135 #ifndef WGL_FRONT_RIGHT_ARB
09136 #define WGL_FRONT_RIGHT_ARB                                            8324
09137 #endif
09138 
09139 #ifndef WGL_BACK_LEFT_ARB
09140 #define WGL_BACK_LEFT_ARB                                              8325
09141 #endif
09142 
09143 #ifndef WGL_BACK_RIGHT_ARB
09144 #define WGL_BACK_RIGHT_ARB                                             8326
09145 #endif
09146 
09147 #ifndef WGL_AUX0_ARB
09148 #define WGL_AUX0_ARB                                                   8327
09149 #endif
09150 
09151 #ifndef WGL_AUX1_ARB
09152 #define WGL_AUX1_ARB                                                   8328
09153 #endif
09154 
09155 #ifndef WGL_AUX2_ARB
09156 #define WGL_AUX2_ARB                                                   8329
09157 #endif
09158 
09159 #ifndef WGL_AUX3_ARB
09160 #define WGL_AUX3_ARB                                                   8330
09161 #endif
09162 
09163 #ifndef WGL_AUX4_ARB
09164 #define WGL_AUX4_ARB                                                   8331
09165 #endif
09166 
09167 #ifndef WGL_AUX5_ARB
09168 #define WGL_AUX5_ARB                                                   8332
09169 #endif
09170 
09171 #ifndef WGL_AUX6_ARB
09172 #define WGL_AUX6_ARB                                                   8333
09173 #endif
09174 
09175 #ifndef WGL_AUX7_ARB
09176 #define WGL_AUX7_ARB                                                   8334
09177 #endif
09178 
09179 #ifndef WGL_AUX8_ARB
09180 #define WGL_AUX8_ARB                                                   8335
09181 #endif
09182 
09183 #ifndef WGL_AUX9_ARB
09184 #define WGL_AUX9_ARB                                                   8336
09185 #endif
09186 
09187 
09193 typedef BOOL (csAPIENTRY* csWGLBINDTEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
09194 typedef BOOL (csAPIENTRY* csWGLRELEASETEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
09195 typedef BOOL (csAPIENTRY* csWGLSETPBUFFERATTRIBARB) (HANDLE hPbuffer, const GLint* piAttribList);
09196 
09198 #endif
09199 
09200 #ifdef _WIN32
09201 
09210 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGEXT) ();
09211 
09213 #endif
09214 
09215 #ifdef _WIN32
09216 
09225 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTEXT) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
09226 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCEXT) ();
09227 
09229 #endif
09230 
09231 #ifdef _WIN32
09232 
09235 #ifndef WGL_DRAW_TO_PBUFFER_EXT
09236 #define WGL_DRAW_TO_PBUFFER_EXT                                        8237
09237 #endif
09238 
09239 #ifndef WGL_MAX_PBUFFER_PIXELS_EXT
09240 #define WGL_MAX_PBUFFER_PIXELS_EXT                                     8238
09241 #endif
09242 
09243 #ifndef WGL_MAX_PBUFFER_WIDTH_EXT
09244 #define WGL_MAX_PBUFFER_WIDTH_EXT                                      8239
09245 #endif
09246 
09247 #ifndef WGL_MAX_PBUFFER_HEIGHT_EXT
09248 #define WGL_MAX_PBUFFER_HEIGHT_EXT                                     8240
09249 #endif
09250 
09251 #ifndef WGL_OPTIMAL_PBUFFER_WIDTH_EXT
09252 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT                                  8241
09253 #endif
09254 
09255 #ifndef WGL_OPTIMAL_PBUFFER_HEIGHT_EXT
09256 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT                                 8242
09257 #endif
09258 
09259 #ifndef WGL_PBUFFER_LARGEST_EXT
09260 #define WGL_PBUFFER_LARGEST_EXT                                        8243
09261 #endif
09262 
09263 #ifndef WGL_PBUFFER_WIDTH_EXT
09264 #define WGL_PBUFFER_WIDTH_EXT                                          8244
09265 #endif
09266 
09267 #ifndef WGL_PBUFFER_HEIGHT_EXT
09268 #define WGL_PBUFFER_HEIGHT_EXT                                         8245
09269 #endif
09270 
09271 
09277 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFEREXT) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
09278 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCEXT) (HANDLE hPbuffer);
09279 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCEXT) (HANDLE hPbuffer, HDC hDC);
09280 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFEREXT) (HANDLE hPbuffer);
09281 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFEREXT) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
09282 
09284 #endif
09285 
09286 #ifdef _WIN32
09287 
09290 #ifndef WGL_NUMBER_PIXEL_FORMATS_EXT
09291 #define WGL_NUMBER_PIXEL_FORMATS_EXT                                   8192
09292 #endif
09293 
09294 #ifndef WGL_DRAW_TO_WINDOW_EXT
09295 #define WGL_DRAW_TO_WINDOW_EXT                                         8193
09296 #endif
09297 
09298 #ifndef WGL_DRAW_TO_BITMAP_EXT
09299 #define WGL_DRAW_TO_BITMAP_EXT                                         8194
09300 #endif
09301 
09302 #ifndef WGL_ACCELERATION_EXT
09303 #define WGL_ACCELERATION_EXT                                           8195
09304 #endif
09305 
09306 #ifndef WGL_NEED_PALETTE_EXT
09307 #define WGL_NEED_PALETTE_EXT                                           8196
09308 #endif
09309 
09310 #ifndef WGL_NEED_SYSTEM_PALETTE_EXT
09311 #define WGL_NEED_SYSTEM_PALETTE_EXT                                    8197
09312 #endif
09313 
09314 #ifndef WGL_SWAP_LAYER_BUFFERS_EXT
09315 #define WGL_SWAP_LAYER_BUFFERS_EXT                                     8198
09316 #endif
09317 
09318 #ifndef WGL_SWAP_METHOD_EXT
09319 #define WGL_SWAP_METHOD_EXT                                            8199
09320 #endif
09321 
09322 #ifndef WGL_NUMBER_OVERLAYS_EXT
09323 #define WGL_NUMBER_OVERLAYS_EXT                                        8200
09324 #endif
09325 
09326 #ifndef WGL_NUMBER_UNDERLAYS_EXT
09327 #define WGL_NUMBER_UNDERLAYS_EXT                                       8201
09328 #endif
09329 
09330 #ifndef WGL_TRANSPARENT_EXT
09331 #define WGL_TRANSPARENT_EXT                                            8202
09332 #endif
09333 
09334 #ifndef WGL_TRANSPARENT_VALUE_EXT
09335 #define WGL_TRANSPARENT_VALUE_EXT                                      8203
09336 #endif
09337 
09338 #ifndef WGL_SHARE_DEPTH_EXT
09339 #define WGL_SHARE_DEPTH_EXT                                            8204
09340 #endif
09341 
09342 #ifndef WGL_SHARE_STENCIL_EXT
09343 #define WGL_SHARE_STENCIL_EXT                                          8205
09344 #endif
09345 
09346 #ifndef WGL_SHARE_ACCUM_EXT
09347 #define WGL_SHARE_ACCUM_EXT                                            8206
09348 #endif
09349 
09350 #ifndef WGL_SUPPORT_GDI_EXT
09351 #define WGL_SUPPORT_GDI_EXT                                            8207
09352 #endif
09353 
09354 #ifndef WGL_SUPPORT_OPENGL_EXT
09355 #define WGL_SUPPORT_OPENGL_EXT                                         8208
09356 #endif
09357 
09358 #ifndef WGL_DOUBLE_BUFFER_EXT
09359 #define WGL_DOUBLE_BUFFER_EXT                                          8209
09360 #endif
09361 
09362 #ifndef WGL_STEREO_EXT
09363 #define WGL_STEREO_EXT                                                 8210
09364 #endif
09365 
09366 #ifndef WGL_PIXEL_TYPE_EXT
09367 #define WGL_PIXEL_TYPE_EXT                                             8211
09368 #endif
09369 
09370 #ifndef WGL_COLOR_BITS_EXT
09371 #define WGL_COLOR_BITS_EXT                                             8212
09372 #endif
09373 
09374 #ifndef WGL_RED_BITS_EXT
09375 #define WGL_RED_BITS_EXT                                               8213
09376 #endif
09377 
09378 #ifndef WGL_RED_SHIFT_EXT
09379 #define WGL_RED_SHIFT_EXT                                              8214
09380 #endif
09381 
09382 #ifndef WGL_GREEN_BITS_EXT
09383 #define WGL_GREEN_BITS_EXT                                             8215
09384 #endif
09385 
09386 #ifndef WGL_GREEN_SHIFT_EXT
09387 #define WGL_GREEN_SHIFT_EXT                                            8216
09388 #endif
09389 
09390 #ifndef WGL_BLUE_BITS_EXT
09391 #define WGL_BLUE_BITS_EXT                                              8217
09392 #endif
09393 
09394 #ifndef WGL_BLUE_SHIFT_EXT
09395 #define WGL_BLUE_SHIFT_EXT                                             8218
09396 #endif
09397 
09398 #ifndef WGL_ALPHA_BITS_EXT
09399 #define WGL_ALPHA_BITS_EXT                                             8219
09400 #endif
09401 
09402 #ifndef WGL_ALPHA_SHIFT_EXT
09403 #define WGL_ALPHA_SHIFT_EXT                                            8220
09404 #endif
09405 
09406 #ifndef WGL_ACCUM_BITS_EXT
09407 #define WGL_ACCUM_BITS_EXT                                             8221
09408 #endif
09409 
09410 #ifndef WGL_ACCUM_RED_BITS_EXT
09411 #define WGL_ACCUM_RED_BITS_EXT                                         8222
09412 #endif
09413 
09414 #ifndef WGL_ACCUM_GREEN_BITS_EXT
09415 #define WGL_ACCUM_GREEN_BITS_EXT                                       8223
09416 #endif
09417 
09418 #ifndef WGL_ACCUM_BLUE_BITS_EXT
09419 #define WGL_ACCUM_BLUE_BITS_EXT                                        8224
09420 #endif
09421 
09422 #ifndef WGL_ACCUM_ALPHA_BITS_EXT
09423 #define WGL_ACCUM_ALPHA_BITS_EXT                                       8225
09424 #endif
09425 
09426 #ifndef WGL_DEPTH_BITS_EXT
09427 #define WGL_DEPTH_BITS_EXT                                             8226
09428 #endif
09429 
09430 #ifndef WGL_STENCIL_BITS_EXT
09431 #define WGL_STENCIL_BITS_EXT                                           8227
09432 #endif
09433 
09434 #ifndef WGL_AUX_BUFFERS_EXT
09435 #define WGL_AUX_BUFFERS_EXT                                            8228
09436 #endif
09437 
09438 #ifndef WGL_NO_ACCELERATION_EXT
09439 #define WGL_NO_ACCELERATION_EXT                                        8229
09440 #endif
09441 
09442 #ifndef WGL_GENERIC_ACCELERATION_EXT
09443 #define WGL_GENERIC_ACCELERATION_EXT                                   8230
09444 #endif
09445 
09446 #ifndef WGL_FULL_ACCELERATION_EXT
09447 #define WGL_FULL_ACCELERATION_EXT                                      8231
09448 #endif
09449 
09450 #ifndef WGL_SWAP_EXCHANGE_EXT
09451 #define WGL_SWAP_EXCHANGE_EXT                                          8232
09452 #endif
09453 
09454 #ifndef WGL_SWAP_COPY_EXT
09455 #define WGL_SWAP_COPY_EXT                                              8233
09456 #endif
09457 
09458 #ifndef WGL_SWAP_UNDEFINED_EXT
09459 #define WGL_SWAP_UNDEFINED_EXT                                         8234
09460 #endif
09461 
09462 #ifndef WGL_TYPE_RGBA_EXT
09463 #define WGL_TYPE_RGBA_EXT                                              8235
09464 #endif
09465 
09466 #ifndef WGL_TYPE_COLORINDEX_EXT
09467 #define WGL_TYPE_COLORINDEX_EXT                                        8236
09468 #endif
09469 
09470 
09476 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLint* piValues);
09477 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLfloat* pfValues);
09478 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATEXT) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
09479 
09481 #endif
09482 
09483 #ifdef _WIN32
09484 
09487 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D
09488 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D                 8272
09489 #endif
09490 
09491 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D
09492 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D                       8273
09493 #endif
09494 
09495 #ifndef WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D
09496 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D                          8274
09497 #endif
09498 
09499 #ifndef WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D
09500 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D                          8275
09501 #endif
09502 
09503 
09509 typedef BOOL (csAPIENTRY* csWGLGETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
09510 typedef BOOL (csAPIENTRY* csWGLSETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
09511 
09513 #endif
09514 
09515 #ifdef _WIN32
09516 
09519 #ifndef WGL_GAMMA_TABLE_SIZE_I3D
09520 #define WGL_GAMMA_TABLE_SIZE_I3D                                       8270
09521 #endif
09522 
09523 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
09524 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
09525 #endif
09526 
09527 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
09528 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
09529 #endif
09530 
09531 
09537 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
09538 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
09539 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEI3D) (HDC hDC, GLint iEntries, GLushort* puRed, GLushort* puGreen, GLushort* puBlue);
09540 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEI3D) (HDC hDC, GLint iEntries, const GLushort* puRed, const GLushort* puGreen, const GLushort* puBlue);
09541 
09543 #endif
09544 
09545 #ifdef _WIN32
09546 
09549 #ifndef WGL_GENLOCK_SOURCE_MULTIVIEW_I3D
09550 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D                               8260
09551 #endif
09552 
09553 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D
09554 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D                           8261
09555 #endif
09556 
09557 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D
09558 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D                          8262
09559 #endif
09560 
09561 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D
09562 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D                            8263
09563 #endif
09564 
09565 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D
09566 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D                            8264
09567 #endif
09568 
09569 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D
09570 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D                           8265
09571 #endif
09572 
09573 #ifndef WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D
09574 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D                            8266
09575 #endif
09576 
09577 #ifndef WGL_GENLOCK_SOURCE_EDGE_RISING_I3D
09578 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D                             8267
09579 #endif
09580 
09581 #ifndef WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D
09582 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D                               8268
09583 #endif
09584 
09585 
09591 typedef BOOL (csAPIENTRY* csWGLENABLEGENLOCKI3D) (HDC hDC);
09592 typedef BOOL (csAPIENTRY* csWGLDISABLEGENLOCKI3D) (HDC hDC);
09593 typedef BOOL (csAPIENTRY* csWGLISENABLEDGENLOCKI3D) (HDC hDC, BOOL* pFlag);
09594 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEI3D) (HDC hDC, GLuint uSource);
09595 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEI3D) (HDC hDC, GLuint* uSource);
09596 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint uEdge);
09597 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint* uEdge);
09598 typedef BOOL (csAPIENTRY* csWGLGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint uRate);
09599 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint* uRate);
09600 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint uDelay);
09601 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint* uDelay);
09602 typedef BOOL (csAPIENTRY* csWGLQUERYGENLOCKMAXSOURCEDELAYI3D) (HDC hDC, GLuint* uMaxLineDelay, GLuint* uMaxPixelDelay);
09603 
09605 #endif
09606 
09610 #ifndef GL_MATRIX_PALETTE_ARB
09611 #define GL_MATRIX_PALETTE_ARB                                         34880
09612 #endif
09613 
09614 #ifndef GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB
09615 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB                         34881
09616 #endif
09617 
09618 #ifndef GL_MAX_PALETTE_MATRICES_ARB
09619 #define GL_MAX_PALETTE_MATRICES_ARB                                   34882
09620 #endif
09621 
09622 #ifndef GL_CURRENT_PALETTE_MATRIX_ARB
09623 #define GL_CURRENT_PALETTE_MATRIX_ARB                                 34883
09624 #endif
09625 
09626 #ifndef GL_MATRIX_INDEX_ARRAY_ARB
09627 #define GL_MATRIX_INDEX_ARRAY_ARB                                     34884
09628 #endif
09629 
09630 #ifndef GL_CURRENT_MATRIX_INDEX_ARB
09631 #define GL_CURRENT_MATRIX_INDEX_ARB                                   34885
09632 #endif
09633 
09634 #ifndef GL_MATRIX_INDEX_ARRAY_SIZE_ARB
09635 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB                                34886
09636 #endif
09637 
09638 #ifndef GL_MATRIX_INDEX_ARRAY_TYPE_ARB
09639 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB                                34887
09640 #endif
09641 
09642 #ifndef GL_MATRIX_INDEX_ARRAY_STRIDE_ARB
09643 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB                              34888
09644 #endif
09645 
09646 #ifndef GL_MATRIX_INDEX_ARRAY_POINTER_ARB
09647 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB                             34889
09648 #endif
09649 
09650 
09656 typedef GLvoid (csAPIENTRY* csGLCURRENTPALETTEMATRIXARB) (GLint index);
09657 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUBVARB) (GLint size, GLubyte* indices);
09658 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUSVARB) (GLint size, GLushort* indices);
09659 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUIVARB) (GLint size, GLuint* indices);
09660 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
09661 
09666 #ifndef GL_ELEMENT_ARRAY_TYPE_NV
09667 #define GL_ELEMENT_ARRAY_TYPE_NV                                      34665
09668 #endif
09669 
09670 #ifndef GL_ELEMENT_ARRAY_POINTER_NV
09671 #define GL_ELEMENT_ARRAY_POINTER_NV                                   34666
09672 #endif
09673 
09674 
09680 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERNV) (GLenum type, const GLvoid* pointer);
09681 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYNV) (GLenum mode, GLint first, GLsizei count);
09682 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
09683 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYNV) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
09684 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
09685 
09690 #ifndef GL_FLOAT_R_NV
09691 #define GL_FLOAT_R_NV                                                 34944
09692 #endif
09693 
09694 #ifndef GL_FLOAT_RG_NV
09695 #define GL_FLOAT_RG_NV                                                34945
09696 #endif
09697 
09698 #ifndef GL_FLOAT_RGB_NV
09699 #define GL_FLOAT_RGB_NV                                               34946
09700 #endif
09701 
09702 #ifndef GL_FLOAT_RGBA_NV
09703 #define GL_FLOAT_RGBA_NV                                              34947
09704 #endif
09705 
09706 #ifndef GL_FLOAT_R16_NV
09707 #define GL_FLOAT_R16_NV                                               34948
09708 #endif
09709 
09710 #ifndef GL_FLOAT_R32_NV
09711 #define GL_FLOAT_R32_NV                                               34949
09712 #endif
09713 
09714 #ifndef GL_FLOAT_RG16_NV
09715 #define GL_FLOAT_RG16_NV                                              34950
09716 #endif
09717 
09718 #ifndef GL_FLOAT_RG32_NV
09719 #define GL_FLOAT_RG32_NV                                              34951
09720 #endif
09721 
09722 #ifndef GL_FLOAT_RGB16_NV
09723 #define GL_FLOAT_RGB16_NV                                             34952
09724 #endif
09725 
09726 #ifndef GL_FLOAT_RGB32_NV
09727 #define GL_FLOAT_RGB32_NV                                             34953
09728 #endif
09729 
09730 #ifndef GL_FLOAT_RGBA16_NV
09731 #define GL_FLOAT_RGBA16_NV                                            34954
09732 #endif
09733 
09734 #ifndef GL_FLOAT_RGBA32_NV
09735 #define GL_FLOAT_RGBA32_NV                                            34955
09736 #endif
09737 
09738 #ifndef GL_TEXTURE_FLOAT_COMPONENTS_NV
09739 #define GL_TEXTURE_FLOAT_COMPONENTS_NV                                34956
09740 #endif
09741 
09742 #ifndef GL_FLOAT_CLEAR_COLOR_VALUE_NV
09743 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV                                 34957
09744 #endif
09745 
09746 #ifndef GL_FLOAT_RGBA_MODE_NV
09747 #define GL_FLOAT_RGBA_MODE_NV                                         34958
09748 #endif
09749 
09750 #ifndef WGL_FLOAT_COMPONENTS_NV
09751 #define WGL_FLOAT_COMPONENTS_NV                                        8368
09752 #endif
09753 
09754 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV
09755 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV                       8369
09756 #endif
09757 
09758 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV
09759 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV                      8370
09760 #endif
09761 
09762 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV
09763 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV                     8371
09764 #endif
09765 
09766 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV
09767 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV                    8372
09768 #endif
09769 
09770 #ifndef WGL_TEXTURE_FLOAT_R_NV
09771 #define WGL_TEXTURE_FLOAT_R_NV                                         8373
09772 #endif
09773 
09774 #ifndef WGL_TEXTURE_FLOAT_RG_NV
09775 #define WGL_TEXTURE_FLOAT_RG_NV                                        8374
09776 #endif
09777 
09778 #ifndef WGL_TEXTURE_FLOAT_RGB_NV
09779 #define WGL_TEXTURE_FLOAT_RGB_NV                                       8375
09780 #endif
09781 
09782 #ifndef WGL_TEXTURE_FLOAT_RGBA_NV
09783 #define WGL_TEXTURE_FLOAT_RGBA_NV                                      8376
09784 #endif
09785 
09786 
09797 #ifndef GL_FRAGMENT_PROGRAM_NV
09798 #define GL_FRAGMENT_PROGRAM_NV                                        34928
09799 #endif
09800 
09801 #ifndef GL_MAX_TEXTURE_COORDS_NV
09802 #define GL_MAX_TEXTURE_COORDS_NV                                      34929
09803 #endif
09804 
09805 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_NV
09806 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV                                 34930
09807 #endif
09808 
09809 #ifndef GL_FRAGMENT_PROGRAM_BINDING_NV
09810 #define GL_FRAGMENT_PROGRAM_BINDING_NV                                34931
09811 #endif
09812 
09813 #ifndef GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV
09814 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV                   34920
09815 #endif
09816 
09817 #ifndef GL_PROGRAM_ERROR_STRING_NV
09818 #define GL_PROGRAM_ERROR_STRING_NV                                    34932
09819 #endif
09820 
09821 
09827 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4FNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
09828 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4DNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
09829 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERFVNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat* params);
09830 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERDVNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble* params);
09831 
09836 #ifndef GL_PRIMITIVE_RESTART_NV
09837 #define GL_PRIMITIVE_RESTART_NV                                       34136
09838 #endif
09839 
09840 #ifndef GL_PRIMITIVE_RESTART_INDEX_NV
09841 #define GL_PRIMITIVE_RESTART_INDEX_NV                                 34137
09842 #endif
09843 
09844 
09850 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTNV) ();
09851 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTINDEXNV) (GLuint index);
09852 
09868 #ifndef GL_ARRAY_BUFFER_ARB
09869 #define GL_ARRAY_BUFFER_ARB                                           34962
09870 #endif
09871 
09872 #ifndef GL_ELEMENT_ARRAY_BUFFER_ARB
09873 #define GL_ELEMENT_ARRAY_BUFFER_ARB                                   34963
09874 #endif
09875 
09876 #ifndef GL_ARRAY_BUFFER_BINDING_ARB
09877 #define GL_ARRAY_BUFFER_BINDING_ARB                                   34964
09878 #endif
09879 
09880 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB
09881 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB                           34965
09882 #endif
09883 
09884 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING_ARB
09885 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB                            34966
09886 #endif
09887 
09888 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING_ARB
09889 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB                            34967
09890 #endif
09891 
09892 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING_ARB
09893 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB                             34968
09894 #endif
09895 
09896 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING_ARB
09897 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB                             34969
09898 #endif
09899 
09900 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB
09901 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB                     34970
09902 #endif
09903 
09904 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB
09905 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB                         34971
09906 #endif
09907 
09908 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB
09909 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB                   34972
09910 #endif
09911 
09912 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
09913 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB                    34973
09914 #endif
09915 
09916 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB
09917 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB                            34974
09918 #endif
09919 
09920 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
09921 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB                     34975
09922 #endif
09923 
09924 #ifndef GL_STREAM_DRAW_ARB
09925 #define GL_STREAM_DRAW_ARB                                            35040
09926 #endif
09927 
09928 #ifndef GL_STREAM_READ_ARB
09929 #define GL_STREAM_READ_ARB                                            35041
09930 #endif
09931 
09932 #ifndef GL_STREAM_COPY_ARB
09933 #define GL_STREAM_COPY_ARB                                            35042
09934 #endif
09935 
09936 #ifndef GL_STATIC_DRAW_ARB
09937 #define GL_STATIC_DRAW_ARB                                            35044
09938 #endif
09939 
09940 #ifndef GL_STATIC_READ_ARB
09941 #define GL_STATIC_READ_ARB                                            35045
09942 #endif
09943 
09944 #ifndef GL_STATIC_COPY_ARB
09945 #define GL_STATIC_COPY_ARB                                            35046
09946 #endif
09947 
09948 #ifndef GL_DYNAMIC_DRAW_ARB
09949 #define GL_DYNAMIC_DRAW_ARB                                           35048
09950 #endif
09951 
09952 #ifndef GL_DYNAMIC_READ_ARB
09953 #define GL_DYNAMIC_READ_ARB                                           35049
09954 #endif
09955 
09956 #ifndef GL_DYNAMIC_COPY_ARB
09957 #define GL_DYNAMIC_COPY_ARB                                           35050
09958 #endif
09959 
09960 #ifndef GL_READ_ONLY_ARB
09961 #define GL_READ_ONLY_ARB                                              35000
09962 #endif
09963 
09964 #ifndef GL_WRITE_ONLY_ARB
09965 #define GL_WRITE_ONLY_ARB                                             35001
09966 #endif
09967 
09968 #ifndef GL_READ_WRITE_ARB
09969 #define GL_READ_WRITE_ARB                                             35002
09970 #endif
09971 
09972 #ifndef GL_BUFFER_SIZE_ARB
09973 #define GL_BUFFER_SIZE_ARB                                            34660
09974 #endif
09975 
09976 #ifndef GL_BUFFER_USAGE_ARB
09977 #define GL_BUFFER_USAGE_ARB                                           34661
09978 #endif
09979 
09980 #ifndef GL_BUFFER_ACCESS_ARB
09981 #define GL_BUFFER_ACCESS_ARB                                          35003
09982 #endif
09983 
09984 #ifndef GL_BUFFER_MAPPED_ARB
09985 #define GL_BUFFER_MAPPED_ARB                                          35004
09986 #endif
09987 
09988 #ifndef GL_BUFFER_MAP_POINTER_ARB
09989 #define GL_BUFFER_MAP_POINTER_ARB                                     35005
09990 #endif
09991 
09992 
09998 typedef GLvoid (csAPIENTRY* csGLBINDBUFFERARB) (GLenum target, GLuint buffer);
09999 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERSARB) (GLsizei n, const GLuint* buffers);
10000 typedef GLvoid (csAPIENTRY* csGLGENBUFFERSARB) (GLsizei n, GLuint* buffers);
10001 typedef GLvoid (csAPIENTRY* csGLBUFFERDATAARB) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage);
10002 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data);
10003 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERARB) (GLenum target, GLenum access);
10004 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFERARB) (GLenum target);
10005 typedef GLboolean (csAPIENTRY* csGLISBUFFERARB) (GLuint buffer);
10006 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data);
10007 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERVARB) (GLenum target, GLenum pname, GLvoid** params);
10008 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIVARB) (GLenum target, GLenum pname, GLint* params);
10009 
10014 #ifndef GL_STENCIL_BACK_FUNC_ATI
10015 #define GL_STENCIL_BACK_FUNC_ATI                                     0x8800
10016 #endif
10017 
10018 #ifndef GL_STENCIL_BACK_FAIL_ATI
10019 #define GL_STENCIL_BACK_FAIL_ATI                                     0x8801
10020 #endif
10021 
10022 #ifndef GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI
10023 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI                          0x8802
10024 #endif
10025 
10026 #ifndef GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI
10027 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI                          0x8803
10028 #endif
10029 
10030 
10036 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATEATI) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
10037 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATEATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
10038 
10054 #ifndef GL_POINT_SPRITE_ARB
10055 #define GL_POINT_SPRITE_ARB                                          0x8861
10056 #endif
10057 
10058 #ifndef GL_COORD_REPLACE_ARB
10059 #define GL_COORD_REPLACE_ARB                                         0x8862
10060 #endif
10061 
10062 
10084 #ifndef GL_PROGRAM_OBJECT_ARB
10085 #define GL_PROGRAM_OBJECT_ARB                                        0x8B40
10086 #endif
10087 
10088 #ifndef GL_OBJECT_TYPE_ARB
10089 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10090 #endif
10091 
10092 #ifndef GL_OBJECT_SUBTYPE_ARB
10093 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10094 #endif
10095 
10096 #ifndef GL_OBJECT_DELETE_STATUS_ARB
10097 #define GL_OBJECT_DELETE_STATUS_ARB                                  0x8B80
10098 #endif
10099 
10100 #ifndef GL_OBJECT_COMPILE_STATUS_ARB
10101 #define GL_OBJECT_COMPILE_STATUS_ARB                                 0x8B81
10102 #endif
10103 
10104 #ifndef GL_OBJECT_LINK_STATUS_ARB
10105 #define GL_OBJECT_LINK_STATUS_ARB                                    0x8B82
10106 #endif
10107 
10108 #ifndef GL_OBJECT_VALIDATE_STATUS_ARB
10109 #define GL_OBJECT_VALIDATE_STATUS_ARB                                0x8B83
10110 #endif
10111 
10112 #ifndef GL_OBJECT_INFO_LOG_LENGTH_ARB
10113 #define GL_OBJECT_INFO_LOG_LENGTH_ARB                                0x8B84
10114 #endif
10115 
10116 #ifndef GL_OBJECT_ATTACHED_OBJECTS_ARB
10117 #define GL_OBJECT_ATTACHED_OBJECTS_ARB                               0x8B85
10118 #endif
10119 
10120 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_ARB
10121 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB                                0x8B86
10122 #endif
10123 
10124 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB
10125 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB                     0x8B87
10126 #endif
10127 
10128 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
10129 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB                           0x8B88
10130 #endif
10131 
10132 #ifndef GL_SHADER_OBJECT_ARB
10133 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10134 #endif
10135 
10136 #ifndef GL_FLOAT_VEC2_ARB
10137 #define GL_FLOAT_VEC2_ARB                                            0x8B50
10138 #endif
10139 
10140 #ifndef GL_FLOAT_VEC3_ARB
10141 #define GL_FLOAT_VEC3_ARB                                            0x8B51
10142 #endif
10143 
10144 #ifndef GL_FLOAT_VEC4_ARB
10145 #define GL_FLOAT_VEC4_ARB                                            0x8B52
10146 #endif
10147 
10148 #ifndef GL_INT_VEC2_ARB
10149 #define GL_INT_VEC2_ARB                                              0x8B53
10150 #endif
10151 
10152 #ifndef GL_INT_VEC3_ARB
10153 #define GL_INT_VEC3_ARB                                              0x8B54
10154 #endif
10155 
10156 #ifndef GL_INT_VEC4_ARB
10157 #define GL_INT_VEC4_ARB                                              0x8B55
10158 #endif
10159 
10160 #ifndef GL_BOOL
10161 #define GL_BOOL                                                      0x8B56
10162 #endif
10163 
10164 #ifndef GL_BOOL_VEC2_ARB
10165 #define GL_BOOL_VEC2_ARB                                             0x8B57
10166 #endif
10167 
10168 #ifndef GL_BOOL_VEC3_ARB
10169 #define GL_BOOL_VEC3_ARB                                             0x8B58
10170 #endif
10171 
10172 #ifndef GL_BOOL_VEC4_ARB
10173 #define GL_BOOL_VEC4_ARB                                             0x8B59
10174 #endif
10175 
10176 #ifndef GL_FLOAT_MAT2_ARB
10177 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
10178 #endif
10179 
10180 #ifndef GL_FLOAT_MAT3_ARB
10181 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
10182 #endif
10183 
10184 #ifndef GL_FLOAT_MAT4_ARB
10185 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
10186 #endif
10187 
10188 
10194 typedef GLvoid (csAPIENTRY* csGLDELETEOBJECTARB) (GLhandleARB obj);
10195 typedef GLhandleARB (csAPIENTRY* csGLGETHANDLEARB) (GLenum pname);
10196 typedef GLvoid (csAPIENTRY* csGLDETACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB attachedObj);
10197 typedef GLhandleARB (csAPIENTRY* csGLCREATESHADEROBJECTARB) (GLenum shaderType);
10198 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCEARB) (GLhandleARB shaderObj, GLsizei count, const GLcharARB** string, const GLint* length);
10199 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADERARB) (GLhandleARB shaderObj);
10200 typedef GLhandleARB (csAPIENTRY* csGLCREATEPROGRAMOBJECTARB) ();
10201 typedef GLvoid (csAPIENTRY* csGLATTACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB Obj);
10202 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAMARB) (GLhandleARB programObj);
10203 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAMOBJECTARB) (GLhandleARB programObj);
10204 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAMARB) (GLhandleARB programObj);
10205 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FARB) (GLint location, GLfloat v0);
10206 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FARB) (GLint location, GLfloat v0, GLfloat v1);
10207 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
10208 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
10209 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IARB) (GLint location, GLint v0);
10210 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IARB) (GLint location, GLint v0, GLint v1);
10211 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IARB) (GLint location, GLint v0, GLint v1, GLint v2);
10212 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
10213 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FVARB) (GLint location, GLsizei count, GLfloat* value);
10214 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FVARB) (GLint location, GLsizei count, GLfloat* value);
10215 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FVARB) (GLint location, GLsizei count, GLfloat* value);
10216 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FVARB) (GLint location, GLsizei count, GLfloat* value);
10217 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IVARB) (GLint location, GLsizei count, GLint* value);
10218 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IVARB) (GLint location, GLsizei count, GLint* value);
10219 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IVARB) (GLint location, GLsizei count, GLint* value);
10220 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IVARB) (GLint location, GLsizei count, GLint* value);
10221 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10222 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10223 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10224 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFVARB) (GLhandleARB obj, GLenum pname, GLfloat* params);
10225 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIVARB) (GLhandleARB obj, GLenum pname, GLint* params);
10226 typedef GLvoid (csAPIENTRY* csGLGETINFOLOGARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog);
10227 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTSARB) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj);
10228 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
10229 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORMARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
10230 typedef GLint (csAPIENTRY* csGLGETUNIFORMFVARB) (GLhandleARB programObj, GLint location, GLfloat* params);
10231 typedef GLint (csAPIENTRY* csGLGETUNIFORMIVARB) (GLhandleARB programObj, GLint location, GLint* params);
10232 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCEARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source);
10233 
10238 #ifndef GL_FRAGMENT_SHADER_ARB
10239 #define GL_FRAGMENT_SHADER_ARB                                       0x8B30
10240 #endif
10241 
10242 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
10243 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB                       0x8B49
10244 #endif
10245 
10246 #ifndef GL_MAX_TEXTURE_COORDS_ARB
10247 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
10248 #endif
10249 
10250 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
10251 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
10252 #endif
10253 
10254 #ifndef GL_OBJECT_TYPE_ARB
10255 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10256 #endif
10257 
10258 #ifndef GL_OBJECT_SUBTYPE_ARB
10259 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10260 #endif
10261 
10262 #ifndef GL_SHADER_OBJECT_ARB
10263 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10264 #endif
10265 
10266 
10277 #ifndef GL_VERTEX_SHADER_ARB
10278 #define GL_VERTEX_SHADER_ARB                                         0x8B31
10279 #endif
10280 
10281 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
10282 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB                         0x8B4A
10283 #endif
10284 
10285 #ifndef GL_MAX_VARYING_FLOATS_ARB
10286 #define GL_MAX_VARYING_FLOATS_ARB                                    0x8B4B
10287 #endif
10288 
10289 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
10290 #define GL_MAX_VERTEX_ATTRIBS_ARB                                    0x8869
10291 #endif
10292 
10293 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
10294 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
10295 #endif
10296 
10297 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
10298 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB                        0x884C
10299 #endif
10300 
10301 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
10302 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB                      0x884D
10303 #endif
10304 
10305 #ifndef GL_MAX_TEXTURE_COORDS_ARB
10306 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
10307 #endif
10308 
10309 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
10310 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                             0x8642
10311 #endif
10312 
10313 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
10314 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                               0x8643
10315 #endif
10316 
10317 #ifndef GL_OBJECT_TYPE_ARB
10318 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10319 #endif
10320 
10321 #ifndef GL_OBJECT_SUBTYPE_ARB
10322 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10323 #endif
10324 
10325 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
10326 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB                              0x8B89
10327 #endif
10328 
10329 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
10330 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB                    0x8B8A
10331 #endif
10332 
10333 #ifndef GL_SHADER_OBJECT_ARB
10334 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10335 #endif
10336 
10337 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
10338 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                           0x8622
10339 #endif
10340 
10341 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
10342 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                              0x8623
10343 #endif
10344 
10345 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
10346 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                            0x8624
10347 #endif
10348 
10349 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
10350 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                              0x8625
10351 #endif
10352 
10353 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
10354 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                        0x886A
10355 #endif
10356 
10357 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
10358 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                 0x8626
10359 #endif
10360 
10361 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
10362 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                           0x8645
10363 #endif
10364 
10365 #ifndef GL_FLOAT_VEC2_ARB
10366 #define GL_FLOAT_VEC2_ARB                                            0x8B50
10367 #endif
10368 
10369 #ifndef GL_FLOAT_VEC3_ARB
10370 #define GL_FLOAT_VEC3_ARB                                            0x8B51
10371 #endif
10372 
10373 #ifndef GL_FLOAT_VEC4_ARB
10374 #define GL_FLOAT_VEC4_ARB                                            0x8B52
10375 #endif
10376 
10377 #ifndef GL_FLOAT_MAT2_ARB
10378 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
10379 #endif
10380 
10381 #ifndef GL_FLOAT_MAT3_ARB
10382 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
10383 #endif
10384 
10385 #ifndef GL_FLOAT_MAT4_ARB
10386 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
10387 #endif
10388 
10389 
10395 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATIONARB) (GLhandleARB programObj, GLuint index, const GLcharARB* name);
10396 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIBARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
10397 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
10398 
10403 #ifndef GL_PIXEL_PACK_BUFFER_ARB
10404 #define GL_PIXEL_PACK_BUFFER_ARB                                     0x88EB
10405 #endif
10406 
10407 #ifndef GL_PIXEL_UNPACK_BUFFER_ARB
10408 #define GL_PIXEL_UNPACK_BUFFER_ARB                                   0x88EC
10409 #endif
10410 
10411 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_ARB
10412 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB                             0x88ED
10413 #endif
10414 
10415 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_ARB
10416 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB                           0x88EF
10417 #endif
10418 
10419 
10430 #ifndef GL_TEXTURE_RECTANGLE_ARB
10431 #define GL_TEXTURE_RECTANGLE_ARB                                     0x84F5
10432 #endif
10433 
10434 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
10435 #define GL_TEXTURE_BINDING_RECTANGLE_ARB                             0x84F6
10436 #endif
10437 
10438 #ifndef GL_PROXY_TEXTURE_RECTANGLE_ARB
10439 #define GL_PROXY_TEXTURE_RECTANGLE_ARB                               0x84F7
10440 #endif
10441 
10442 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB
10443 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB                            0x84F8
10444 #endif
10445 
10446 
10457 #ifndef GL_FRAMEBUFFER_EXT
10458 #define GL_FRAMEBUFFER_EXT                                           0x8D40
10459 #endif
10460 
10461 #ifndef GL_RENDERBUFFER_EXT
10462 #define GL_RENDERBUFFER_EXT                                          0x8D41
10463 #endif
10464 
10465 #ifndef GL_STENCIL_INDEX_EXT
10466 #define GL_STENCIL_INDEX_EXT                                         0x8D45
10467 #endif
10468 
10469 #ifndef GL_STENCIL_INDEX1_EXT
10470 #define GL_STENCIL_INDEX1_EXT                                        0x8D46
10471 #endif
10472 
10473 #ifndef GL_STENCIL_INDEX4_EXT
10474 #define GL_STENCIL_INDEX4_EXT                                        0x8D47
10475 #endif
10476 
10477 #ifndef GL_STENCIL_INDEX8_EXT
10478 #define GL_STENCIL_INDEX8_EXT                                        0x8D48
10479 #endif
10480 
10481 #ifndef GL_STENCIL_INDEX16_EXT
10482 #define GL_STENCIL_INDEX16_EXT                                       0x8D49
10483 #endif
10484 
10485 #ifndef GL_RENDERBUFFER_WIDTH_EXT
10486 #define GL_RENDERBUFFER_WIDTH_EXT                                    0x8D42
10487 #endif
10488 
10489 #ifndef GL_RENDERBUFFER_HEIGHT_EXT
10490 #define GL_RENDERBUFFER_HEIGHT_EXT                                   0x8D43
10491 #endif
10492 
10493 #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
10494 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT                          0x8D44
10495 #endif
10496 
10497 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
10498 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT                    0x8CD0
10499 #endif
10500 
10501 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
10502 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT                    0x8CD1
10503 #endif
10504 
10505 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
10506 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT                  0x8CD2
10507 #endif
10508 
10509 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
10510 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT          0x8CD3
10511 #endif
10512 
10513 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT
10514 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT             0x8CD4
10515 #endif
10516 
10517 #ifndef GL_COLOR_ATTACHMENT0_EXT
10518 #define GL_COLOR_ATTACHMENT0_EXT                                     0x8CE0
10519 #endif
10520 
10521 #ifndef GL_COLOR_ATTACHMENT1_EXT
10522 #define GL_COLOR_ATTACHMENT1_EXT                                     0x8CE1
10523 #endif
10524 
10525 #ifndef GL_COLOR_ATTACHMENT2_EXT
10526 #define GL_COLOR_ATTACHMENT2_EXT                                     0x8CE2
10527 #endif
10528 
10529 #ifndef GL_COLOR_ATTACHMENT3_EXT
10530 #define GL_COLOR_ATTACHMENT3_EXT                                     0x8CE3
10531 #endif
10532 
10533 #ifndef GL_COLOR_ATTACHMENT4_EXT
10534 #define GL_COLOR_ATTACHMENT4_EXT                                     0x8CE4
10535 #endif
10536 
10537 #ifndef GL_COLOR_ATTACHMENT5_EXT
10538 #define GL_COLOR_ATTACHMENT5_EXT                                     0x8CE5
10539 #endif
10540 
10541 #ifndef GL_COLOR_ATTACHMENT6_EXT
10542 #define GL_COLOR_ATTACHMENT6_EXT                                     0x8CE6
10543 #endif
10544 
10545 #ifndef GL_COLOR_ATTACHMENT7_EXT
10546 #define GL_COLOR_ATTACHMENT7_EXT                                     0x8CE7
10547 #endif
10548 
10549 #ifndef GL_COLOR_ATTACHMENT8_EXT
10550 #define GL_COLOR_ATTACHMENT8_EXT                                     0x8CE8
10551 #endif
10552 
10553 #ifndef GL_COLOR_ATTACHMENT9_EXT
10554 #define GL_COLOR_ATTACHMENT9_EXT                                     0x8CE9
10555 #endif
10556 
10557 #ifndef GL_COLOR_ATTACHMENT10_EXT
10558 #define GL_COLOR_ATTACHMENT10_EXT                                    0x8CEA
10559 #endif
10560 
10561 #ifndef GL_COLOR_ATTACHMENT11_EXT
10562 #define GL_COLOR_ATTACHMENT11_EXT                                    0x8CEB
10563 #endif
10564 
10565 #ifndef GL_COLOR_ATTACHMENT12_EXT
10566 #define GL_COLOR_ATTACHMENT12_EXT                                    0x8CEC
10567 #endif
10568 
10569 #ifndef GL_COLOR_ATTACHMENT13_EXT
10570 #define GL_COLOR_ATTACHMENT13_EXT                                    0x8CED
10571 #endif
10572 
10573 #ifndef GL_COLOR_ATTACHMENT14_EXT
10574 #define GL_COLOR_ATTACHMENT14_EXT                                    0x8CEE
10575 #endif
10576 
10577 #ifndef GL_COLOR_ATTACHMENT15_EXT
10578 #define GL_COLOR_ATTACHMENT15_EXT                                    0x8CEF
10579 #endif
10580 
10581 #ifndef GL_DEPTH_ATTACHMENT_EXT
10582 #define GL_DEPTH_ATTACHMENT_EXT                                      0x8D00
10583 #endif
10584 
10585 #ifndef GL_STENCIL_ATTACHMENT_EXT
10586 #define GL_STENCIL_ATTACHMENT_EXT                                    0x8D20
10587 #endif
10588 
10589 #ifndef GL_FRAMEBUFFER_COMPLETE_EXT
10590 #define GL_FRAMEBUFFER_COMPLETE_EXT                                  0x8CD5
10591 #endif
10592 
10593 #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
10594 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT                     0x8CD6
10595 #endif
10596 
10597 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
10598 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT             0x8CD7
10599 #endif
10600 
10601 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
10602 #define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT           0x8CD8
10603 #endif
10604 
10605 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
10606 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT                     0x8CD9
10607 #endif
10608 
10609 #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
10610 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT                        0x8CDA
10611 #endif
10612 
10613 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
10614 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT                    0x8CDB
10615 #endif
10616 
10617 #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
10618 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT                    0x8CDC
10619 #endif
10620 
10621 #ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT
10622 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT                               0x8CDD
10623 #endif
10624 
10625 #ifndef GL_FRAMEBUFFER_STATUS_ERROR_EXT
10626 #define GL_FRAMEBUFFER_STATUS_ERROR_EXT                              0x8CDE
10627 #endif
10628 
10629 #ifndef GL_FRAMEBUFFER_BINDING_EXT
10630 #define GL_FRAMEBUFFER_BINDING_EXT                                   0x8CA6
10631 #endif
10632 
10633 #ifndef GL_RENDERBUFFER_BINDINGS_EXT
10634 #define GL_RENDERBUFFER_BINDINGS_EXT                                 0x8CA7
10635 #endif
10636 
10637 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
10638 #define GL_MAX_COLOR_ATTACHMENTS_EXT                                 0x8CA8
10639 #endif
10640 
10641 #ifndef GL_RENDERBUFFER_SIZE_EXT
10642 #define GL_RENDERBUFFER_SIZE_EXT                                     0x8CA9
10643 #endif
10644 
10645 #ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
10646 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT                         0x0506
10647 #endif
10648 
10649 
10655 typedef GLboolean (csAPIENTRY* csGLISRENDERBUFFEREXT) (GLuint renderbuffer);
10656 typedef GLvoid (csAPIENTRY* csGLBINDRENDERBUFFEREXT) (GLenum target, GLuint renderbuffer);
10657 typedef GLvoid (csAPIENTRY* csGLDELETERENDERBUFFERSEXT) (GLsizei n, const GLuint* renderbuffers);
10658 typedef GLvoid (csAPIENTRY* csGLGENRENDERBUFFERSEXT) (GLsizei n, GLuint* renderbuffers);
10659 typedef GLvoid (csAPIENTRY* csGLRENDERBUFFERSTORAGEEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
10660 typedef GLvoid (csAPIENTRY* csGLGETRENDERBUFFERPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
10661 typedef GLboolean (csAPIENTRY* csGLISFRAMEBUFFEREXT) (GLuint framebuffer);
10662 typedef GLvoid (csAPIENTRY* csGLBINDFRAMEBUFFEREXT) (GLenum target, GLuint framebuffer);
10663 typedef GLvoid (csAPIENTRY* csGLDELETEFRAMEBUFFERSEXT) (GLsizei n, const GLuint* framebuffers);
10664 typedef GLvoid (csAPIENTRY* csGLGENFRAMEBUFFERSEXT) (GLsizei n, GLuint* framebuffers);
10665 typedef GLenum (csAPIENTRY* csGLCHECKFRAMEBUFFERSTATUSEXT) (GLenum target);
10666 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10667 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10668 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
10669 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERRENDERBUFFEREXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
10670 typedef GLvoid (csAPIENTRY* csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
10671 typedef GLvoid (csAPIENTRY* csGLGENERATEMIPMAPEXT) (GLenum target);
10672 
10677 #ifndef GL_PIXEL_PACK_BUFFER_EXT
10678 #define GL_PIXEL_PACK_BUFFER_EXT                                     0x88EB
10679 #endif
10680 
10681 #ifndef GL_PIXEL_UNPACK_BUFFER_EXT
10682 #define GL_PIXEL_UNPACK_BUFFER_EXT                                   0x88EC
10683 #endif
10684 
10685 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_EXT
10686 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT                             0x88ED
10687 #endif
10688 
10689 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_EXT
10690 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT                           0x88EF
10691 #endif
10692 
10693 
10710 typedef GLvoid (csAPIENTRY* csGLSTRINGMARKERGREMEDY) (GLsizei len, const GLvoid* string);
10711 
10716 #ifndef GL_TEXTURE_RECTANGLE_EXT
10717 #define GL_TEXTURE_RECTANGLE_EXT                                     0x84F5
10718 #endif
10719 
10720 #ifndef GL_TEXTURE_BINDING_RECTANGLE_EXT
10721 #define GL_TEXTURE_BINDING_RECTANGLE_EXT                             0x84F6
10722 #endif
10723 
10724 #ifndef GL_PROXY_TEXTURE_RECTANGLE_EXT
10725 #define GL_PROXY_TEXTURE_RECTANGLE_EXT                               0x84F7
10726 #endif
10727 
10728 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT
10729 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT                            0x84F8
10730 #endif
10731 
10732 
10743 #ifndef GL_SAMPLES_PASSED_ARB
10744 #define GL_SAMPLES_PASSED_ARB                                        0x8914
10745 #endif
10746 
10747 #ifndef GL_QUERY_COUNTER_BITS_ARB
10748 #define GL_QUERY_COUNTER_BITS_ARB                                    0x8864
10749 #endif
10750 
10751 #ifndef GL_CURRENT_QUERY_ARB
10752 #define GL_CURRENT_QUERY_ARB                                         0x8865
10753 #endif
10754 
10755 #ifndef GL_QUERY_RESULT_ARB
10756 #define GL_QUERY_RESULT_ARB                                          0x8866
10757 #endif
10758 
10759 #ifndef GL_QUERY_RESULT_AVAILABLE_ARB
10760 #define GL_QUERY_RESULT_AVAILABLE_ARB                                0x8867
10761 #endif
10762 
10763 
10769 typedef GLvoid (csAPIENTRY* csGLGENQUERIESARB) (GLsizei n, GLuint* ids);
10770 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIESARB) (GLsizei n, GLuint* ids);
10771 typedef GLboolean (csAPIENTRY* csGLISQUERYARB) (GLuint id);
10772 typedef GLvoid (csAPIENTRY* csGLBEGINQUERYARB) (GLenum target, GLuint id);
10773 typedef GLvoid (csAPIENTRY* csGLENDQUERYARB) (GLenum target);
10774 typedef GLvoid (csAPIENTRY* csGLGETQUERYIVARB) (GLenum target, GLenum pname, GLint* params);
10775 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIVARB) (GLuint id, GLenum pname, GLint* params);
10776 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIVARB) (GLuint id, GLenum pname, GLuint* params);
10777 
10782 #ifndef GL_MAX_DRAW_BUFFERS_ARB
10783 #define GL_MAX_DRAW_BUFFERS_ARB                                      0x8824
10784 #endif
10785 
10786 #ifndef GL_DRAW_BUFFER0_ARB
10787 #define GL_DRAW_BUFFER0_ARB                                          0x8825
10788 #endif
10789 
10790 #ifndef GL_DRAW_BUFFER1_ARB
10791 #define GL_DRAW_BUFFER1_ARB                                          0x8826
10792 #endif
10793 
10794 #ifndef GL_DRAW_BUFFER2_ARB
10795 #define GL_DRAW_BUFFER2_ARB                                          0x8827
10796 #endif
10797 
10798 #ifndef GL_DRAW_BUFFER3_ARB
10799 #define GL_DRAW_BUFFER3_ARB                                          0x8828
10800 #endif
10801 
10802 #ifndef GL_DRAW_BUFFER4_ARB
10803 #define GL_DRAW_BUFFER4_ARB                                          0x8829
10804 #endif
10805 
10806 #ifndef GL_DRAW_BUFFER5_ARB
10807 #define GL_DRAW_BUFFER5_ARB                                          0x882A
10808 #endif
10809 
10810 #ifndef GL_DRAW_BUFFER6_ARB
10811 #define GL_DRAW_BUFFER6_ARB                                          0x882B
10812 #endif
10813 
10814 #ifndef GL_DRAW_BUFFER7_ARB
10815 #define GL_DRAW_BUFFER7_ARB                                          0x882C
10816 #endif
10817 
10818 #ifndef GL_DRAW_BUFFER8_ARB
10819 #define GL_DRAW_BUFFER8_ARB                                          0x882D
10820 #endif
10821 
10822 #ifndef GL_DRAW_BUFFER9_ARB
10823 #define GL_DRAW_BUFFER9_ARB                                          0x882E
10824 #endif
10825 
10826 #ifndef GL_DRAW_BUFFER10_ARB
10827 #define GL_DRAW_BUFFER10_ARB                                         0x882F
10828 #endif
10829 
10830 #ifndef GL_DRAW_BUFFER11_ARB
10831 #define GL_DRAW_BUFFER11_ARB                                         0x8830
10832 #endif
10833 
10834 #ifndef GL_DRAW_BUFFER12_ARB
10835 #define GL_DRAW_BUFFER12_ARB                                         0x8831
10836 #endif
10837 
10838 #ifndef GL_DRAW_BUFFER13_ARB
10839 #define GL_DRAW_BUFFER13_ARB                                         0x8832
10840 #endif
10841 
10842 #ifndef GL_DRAW_BUFFER14_ARB
10843 #define GL_DRAW_BUFFER14_ARB                                         0x8833
10844 #endif
10845 
10846 #ifndef GL_DRAW_BUFFER15_ARB
10847 #define GL_DRAW_BUFFER15_ARB                                         0x8834
10848 #endif
10849 
10850 
10861 #ifndef GL_BLEND_EQUATION_RGB_EXT
10862 #define GL_BLEND_EQUATION_RGB_EXT                                    BLEND_EQUATION
10863 #endif
10864 
10865 #ifndef GL_BLEND_EQUATION_ALPHA_EXT
10866 #define GL_BLEND_EQUATION_ALPHA_EXT                                  0x883D
10867 #endif
10868 
10869 
10875 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATEEXT) (GLenum modeRGB, GLenum modeAlpha);
10876 
10881 #ifndef GL_SRGB_EXT
10882 #define GL_SRGB_EXT                                                  0x8C40
10883 #endif
10884 
10885 #ifndef GL_SRGB8_EXT
10886 #define GL_SRGB8_EXT                                                 0x8C41
10887 #endif
10888 
10889 #ifndef GL_SRGB_ALPHA_EXT
10890 #define GL_SRGB_ALPHA_EXT                                            0x8C42
10891 #endif
10892 
10893 #ifndef GL_SRGB8_ALPHA8_EXT
10894 #define GL_SRGB8_ALPHA8_EXT                                          0x8C43
10895 #endif
10896 
10897 #ifndef GL_SLUMINANCE_ALPHA_EXT
10898 #define GL_SLUMINANCE_ALPHA_EXT                                      0x8C44
10899 #endif
10900 
10901 #ifndef GL_SLUMINANCE8_ALPHA8_EXT
10902 #define GL_SLUMINANCE8_ALPHA8_EXT                                    0x8C45
10903 #endif
10904 
10905 #ifndef GL_SLUMINANCE_EXT
10906 #define GL_SLUMINANCE_EXT                                            0x8C46
10907 #endif
10908 
10909 #ifndef GL_SLUMINANCE8_EXT
10910 #define GL_SLUMINANCE8_EXT                                           0x8C47
10911 #endif
10912 
10913 #ifndef GL_COMPRESSED_SRGB_EXT
10914 #define GL_COMPRESSED_SRGB_EXT                                       0x8C48
10915 #endif
10916 
10917 #ifndef GL_COMPRESSED_SRGB_ALPHA_EXT
10918 #define GL_COMPRESSED_SRGB_ALPHA_EXT                                 0x8C49
10919 #endif
10920 
10921 #ifndef GL_COMPRESSED_SLUMINANCE_EXT
10922 #define GL_COMPRESSED_SLUMINANCE_EXT                                 0x8C4A
10923 #endif
10924 
10925 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA_EXT
10926 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT                           0x8C4B
10927 #endif
10928 
10929 #ifndef GL_COMPRESSED_SRGB_S3TC_DXT1_EXT
10930 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT                             0x8C4C
10931 #endif
10932 
10933 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT
10934 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT                       0x8C4D
10935 #endif
10936 
10937 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT
10938 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT                       0x8C4E
10939 #endif
10940 
10941 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT
10942 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT                       0x8C4F
10943 #endif
10944 
10945 
10956 #ifndef GL_DEPTH_STENCIL_EXT
10957 #define GL_DEPTH_STENCIL_EXT                                         0x84F9
10958 #endif
10959 
10960 #ifndef GL_UNSIGNED_INT_24_8_EXT
10961 #define GL_UNSIGNED_INT_24_8_EXT                                     0x84FA
10962 #endif
10963 
10964 #ifndef GL_DEPTH24_STENCIL8_EXT
10965 #define GL_DEPTH24_STENCIL8_EXT                                      0x88F0
10966 #endif
10967 
10968 #ifndef GL_TEXTURE_STENCIL_SIZE_EXT
10969 #define GL_TEXTURE_STENCIL_SIZE_EXT                                  0x88F1
10970 #endif
10971 
10972 
10982 // end of definitions
10983 
10984 #ifdef CS_DEBUG
10985 #  define REPORT_MISSING_ENTRIES true
10986 #else
10987 #  define REPORT_MISSING_ENTRIES false
10988 #endif
10989 
10990 #define EXTMGR_FUNC_INIT(nameNC, nameUC)                                \
10991       funcTest =                                                        \
10992         ((nameNC = (cs##nameUC) gl->GetProcAddress (#nameNC)) != 0);    \
10993       if (!funcTest && config->GetBool (                                \
10994         "Video.OpenGL.ReportMissingEntries",                            \
10995         REPORT_MISSING_ENTRIES))                                        \
10996       {                                                                 \
10997         Report (msgExtRetrieveFail, #nameNC);                           \
10998       }                                                                 \
10999       allclear &= funcTest;
11000 
11001 #define EXTMGR_REPORT_INIT_RESULT(exttype, nameNC)                      \
11002       if (CS_##nameNC = allclear)                                       \
11003       {                                                                 \
11004         CS_##nameNC &= config->GetBool (cfgkey, defaultUse);            \
11005         if (CS_##nameNC)                                                \
11006         {                                                               \
11007           Report (msgExtFoundAndUsed, exttype, ext);                    \
11008         }                                                               \
11009         else                                                            \
11010         {                                                               \
11011           Report (msgExtFoundAndNotUsed, exttype, ext);                 \
11012         }                                                               \
11013       }                                                                 \
11014       else                                                              \
11015       {                                                                 \
11016         Report (msgExtInitFail, exttype, ext);                          \
11017       }
11018 
11020 struct csGLExtensionFunctions
11021 {
11022 public:
11027   #ifndef GLDRAWRANGEELEMENTS_DECL
11028   #define GLDRAWRANGEELEMENTS_DECL
11029   csGLDRAWRANGEELEMENTS glDrawRangeElements;
11030   #endif
11031 
11032   #ifndef GLTEXIMAGE3D_DECL
11033   #define GLTEXIMAGE3D_DECL
11034   csGLTEXIMAGE3D glTexImage3D;
11035   #endif
11036 
11037   #ifndef GLTEXSUBIMAGE3D_DECL
11038   #define GLTEXSUBIMAGE3D_DECL
11039   csGLTEXSUBIMAGE3D glTexSubImage3D;
11040   #endif
11041 
11042   #ifndef GLCOPYTEXSUBIMAGE3D_DECL
11043   #define GLCOPYTEXSUBIMAGE3D_DECL
11044   csGLCOPYTEXSUBIMAGE3D glCopyTexSubImage3D;
11045   #endif
11046 
11047 
11053   #ifndef GLACTIVETEXTURE_DECL
11054   #define GLACTIVETEXTURE_DECL
11055   csGLACTIVETEXTURE glActiveTexture;
11056   #endif
11057 
11058   #ifndef GLCLIENTACTIVETEXTURE_DECL
11059   #define GLCLIENTACTIVETEXTURE_DECL
11060   csGLCLIENTACTIVETEXTURE glClientActiveTexture;
11061   #endif
11062 
11063   #ifndef GLMULTITEXCOORD1D_DECL
11064   #define GLMULTITEXCOORD1D_DECL
11065   csGLMULTITEXCOORD1D glMultiTexCoord1d;
11066   #endif
11067 
11068   #ifndef GLMULTITEXCOORD1DV_DECL
11069   #define GLMULTITEXCOORD1DV_DECL
11070   csGLMULTITEXCOORD1DV glMultiTexCoord1dv;
11071   #endif
11072 
11073   #ifndef GLMULTITEXCOORD1F_DECL
11074   #define GLMULTITEXCOORD1F_DECL
11075   csGLMULTITEXCOORD1F glMultiTexCoord1f;
11076   #endif
11077 
11078   #ifndef GLMULTITEXCOORD1FV_DECL
11079   #define GLMULTITEXCOORD1FV_DECL
11080   csGLMULTITEXCOORD1FV glMultiTexCoord1fv;
11081   #endif
11082 
11083   #ifndef GLMULTITEXCOORD1I_DECL
11084   #define GLMULTITEXCOORD1I_DECL
11085   csGLMULTITEXCOORD1I glMultiTexCoord1i;
11086   #endif
11087 
11088   #ifndef GLMULTITEXCOORD1IV_DECL
11089   #define GLMULTITEXCOORD1IV_DECL
11090   csGLMULTITEXCOORD1IV glMultiTexCoord1iv;
11091   #endif
11092 
11093   #ifndef GLMULTITEXCOORD1S_DECL
11094   #define GLMULTITEXCOORD1S_DECL
11095   csGLMULTITEXCOORD1S glMultiTexCoord1s;
11096   #endif
11097 
11098   #ifndef GLMULTITEXCOORD1SV_DECL
11099   #define GLMULTITEXCOORD1SV_DECL
11100   csGLMULTITEXCOORD1SV glMultiTexCoord1sv;
11101   #endif
11102 
11103   #ifndef GLMULTITEXCOORD2D_DECL
11104   #define GLMULTITEXCOORD2D_DECL
11105   csGLMULTITEXCOORD2D glMultiTexCoord2d;
11106   #endif
11107 
11108   #ifndef GLMULTITEXCOORD2DV_DECL
11109   #define GLMULTITEXCOORD2DV_DECL
11110   csGLMULTITEXCOORD2DV glMultiTexCoord2dv;
11111   #endif
11112 
11113   #ifndef GLMULTITEXCOORD2F_DECL
11114   #define GLMULTITEXCOORD2F_DECL
11115   csGLMULTITEXCOORD2F glMultiTexCoord2f;
11116   #endif
11117 
11118   #ifndef GLMULTITEXCOORD2FV_DECL
11119   #define GLMULTITEXCOORD2FV_DECL
11120   csGLMULTITEXCOORD2FV glMultiTexCoord2fv;
11121   #endif
11122 
11123   #ifndef GLMULTITEXCOORD2I_DECL
11124   #define GLMULTITEXCOORD2I_DECL
11125   csGLMULTITEXCOORD2I glMultiTexCoord2i;
11126   #endif
11127 
11128   #ifndef GLMULTITEXCOORD2IV_DECL
11129   #define GLMULTITEXCOORD2IV_DECL
11130   csGLMULTITEXCOORD2IV glMultiTexCoord2iv;
11131   #endif
11132 
11133   #ifndef GLMULTITEXCOORD2S_DECL
11134   #define GLMULTITEXCOORD2S_DECL
11135   csGLMULTITEXCOORD2S glMultiTexCoord2s;
11136   #endif
11137 
11138   #ifndef GLMULTITEXCOORD2SV_DECL
11139   #define GLMULTITEXCOORD2SV_DECL
11140   csGLMULTITEXCOORD2SV glMultiTexCoord2sv;
11141   #endif
11142 
11143   #ifndef GLMULTITEXCOORD3D_DECL
11144   #define GLMULTITEXCOORD3D_DECL
11145   csGLMULTITEXCOORD3D glMultiTexCoord3d;
11146   #endif
11147 
11148   #ifndef GLMULTITEXCOORD3DV_DECL
11149   #define GLMULTITEXCOORD3DV_DECL
11150   csGLMULTITEXCOORD3DV glMultiTexCoord3dv;
11151   #endif
11152 
11153   #ifndef GLMULTITEXCOORD3F_DECL
11154   #define GLMULTITEXCOORD3F_DECL
11155   csGLMULTITEXCOORD3F glMultiTexCoord3f;
11156   #endif
11157 
11158   #ifndef GLMULTITEXCOORD3FV_DECL
11159   #define GLMULTITEXCOORD3FV_DECL
11160   csGLMULTITEXCOORD3FV glMultiTexCoord3fv;
11161   #endif
11162 
11163   #ifndef GLMULTITEXCOORD3I_DECL
11164   #define GLMULTITEXCOORD3I_DECL
11165   csGLMULTITEXCOORD3I glMultiTexCoord3i;
11166   #endif
11167 
11168   #ifndef GLMULTITEXCOORD3IV_DECL
11169   #define GLMULTITEXCOORD3IV_DECL
11170   csGLMULTITEXCOORD3IV glMultiTexCoord3iv;
11171   #endif
11172 
11173   #ifndef GLMULTITEXCOORD3S_DECL
11174   #define GLMULTITEXCOORD3S_DECL
11175   csGLMULTITEXCOORD3S glMultiTexCoord3s;
11176   #endif
11177 
11178   #ifndef GLMULTITEXCOORD3SV_DECL
11179   #define GLMULTITEXCOORD3SV_DECL
11180   csGLMULTITEXCOORD3SV glMultiTexCoord3sv;
11181   #endif
11182 
11183   #ifndef GLMULTITEXCOORD4D_DECL
11184   #define GLMULTITEXCOORD4D_DECL
11185   csGLMULTITEXCOORD4D glMultiTexCoord4d;
11186   #endif
11187 
11188   #ifndef GLMULTITEXCOORD4DV_DECL
11189   #define GLMULTITEXCOORD4DV_DECL
11190   csGLMULTITEXCOORD4DV glMultiTexCoord4dv;
11191   #endif
11192 
11193   #ifndef GLMULTITEXCOORD4F_DECL
11194   #define GLMULTITEXCOORD4F_DECL
11195   csGLMULTITEXCOORD4F glMultiTexCoord4f;
11196   #endif
11197 
11198   #ifndef GLMULTITEXCOORD4FV_DECL
11199   #define GLMULTITEXCOORD4FV_DECL
11200   csGLMULTITEXCOORD4FV glMultiTexCoord4fv;
11201   #endif
11202 
11203   #ifndef GLMULTITEXCOORD4I_DECL
11204   #define GLMULTITEXCOORD4I_DECL
11205   csGLMULTITEXCOORD4I glMultiTexCoord4i;
11206   #endif
11207 
11208   #ifndef GLMULTITEXCOORD4IV_DECL
11209   #define GLMULTITEXCOORD4IV_DECL
11210   csGLMULTITEXCOORD4IV glMultiTexCoord4iv;
11211   #endif
11212 
11213   #ifndef GLMULTITEXCOORD4S_DECL
11214   #define GLMULTITEXCOORD4S_DECL
11215   csGLMULTITEXCOORD4S glMultiTexCoord4s;
11216   #endif
11217 
11218   #ifndef GLMULTITEXCOORD4SV_DECL
11219   #define GLMULTITEXCOORD4SV_DECL
11220   csGLMULTITEXCOORD4SV glMultiTexCoord4sv;
11221   #endif
11222 
11223   #ifndef GLLOADTRANSPOSEMATRIXF_DECL
11224   #define GLLOADTRANSPOSEMATRIXF_DECL
11225   csGLLOADTRANSPOSEMATRIXF glLoadTransposeMatrixf;
11226   #endif
11227 
11228   #ifndef GLLOADTRANSPOSEMATRIXD_DECL
11229   #define GLLOADTRANSPOSEMATRIXD_DECL
11230   csGLLOADTRANSPOSEMATRIXD glLoadTransposeMatrixd;
11231   #endif
11232 
11233   #ifndef GLMULTTRANSPOSEMATRIXF_DECL
11234   #define GLMULTTRANSPOSEMATRIXF_DECL
11235   csGLMULTTRANSPOSEMATRIXF glMultTransposeMatrixf;
11236   #endif
11237 
11238   #ifndef GLMULTTRANSPOSEMATRIXD_DECL
11239   #define GLMULTTRANSPOSEMATRIXD_DECL
11240   csGLMULTTRANSPOSEMATRIXD glMultTransposeMatrixd;
11241   #endif
11242 
11243   #ifndef GLSAMPLECOVERAGE_DECL
11244   #define GLSAMPLECOVERAGE_DECL
11245   csGLSAMPLECOVERAGE glSampleCoverage;
11246   #endif
11247 
11248   #ifndef GLCOMPRESSEDTEXIMAGE3D_DECL
11249   #define GLCOMPRESSEDTEXIMAGE3D_DECL
11250   csGLCOMPRESSEDTEXIMAGE3D glCompressedTexImage3D;
11251   #endif
11252 
11253   #ifndef GLCOMPRESSEDTEXIMAGE2D_DECL
11254   #define GLCOMPRESSEDTEXIMAGE2D_DECL
11255   csGLCOMPRESSEDTEXIMAGE2D glCompressedTexImage2D;
11256   #endif
11257 
11258   #ifndef GLCOMPRESSEDTEXIMAGE1D_DECL
11259   #define GLCOMPRESSEDTEXIMAGE1D_DECL
11260   csGLCOMPRESSEDTEXIMAGE1D glCompressedTexImage1D;
11261   #endif
11262 
11263   #ifndef GLCOMPRESSEDTEXSUBIMAGE3D_DECL
11264   #define GLCOMPRESSEDTEXSUBIMAGE3D_DECL
11265   csGLCOMPRESSEDTEXSUBIMAGE3D glCompressedTexSubImage3D;
11266   #endif
11267 
11268   #ifndef GLCOMPRESSEDTEXSUBIMAGE2D_DECL
11269   #define GLCOMPRESSEDTEXSUBIMAGE2D_DECL
11270   csGLCOMPRESSEDTEXSUBIMAGE2D glCompressedTexSubImage2D;
11271   #endif
11272 
11273   #ifndef GLCOMPRESSEDTEXSUBIMAGE1D_DECL
11274   #define GLCOMPRESSEDTEXSUBIMAGE1D_DECL
11275   csGLCOMPRESSEDTEXSUBIMAGE1D glCompressedTexSubImage1D;
11276   #endif
11277 
11278   #ifndef GLGETCOMPRESSEDTEXIMAGE_DECL
11279   #define GLGETCOMPRESSEDTEXIMAGE_DECL
11280   csGLGETCOMPRESSEDTEXIMAGE glGetCompressedTexImage;
11281   #endif
11282 
11283 
11289   #ifndef GLFOGCOORDF_DECL
11290   #define GLFOGCOORDF_DECL
11291   csGLFOGCOORDF glFogCoordf;
11292   #endif
11293 
11294   #ifndef GLFOGCOORDD_DECL
11295   #define GLFOGCOORDD_DECL
11296   csGLFOGCOORDD glFogCoordd;
11297   #endif
11298 
11299   #ifndef GLFOGCOORDFV_DECL
11300   #define GLFOGCOORDFV_DECL
11301   csGLFOGCOORDFV glFogCoordfv;
11302   #endif
11303 
11304   #ifndef GLFOGCOORDDV_DECL
11305   #define GLFOGCOORDDV_DECL
11306   csGLFOGCOORDDV glFogCoorddv;
11307   #endif
11308 
11309   #ifndef GLFOGCOORDPOINTER_DECL
11310   #define GLFOGCOORDPOINTER_DECL
11311   csGLFOGCOORDPOINTER glFogCoordPointer;
11312   #endif
11313 
11314   #ifndef GLMULTIDRAWARRAYS_DECL
11315   #define GLMULTIDRAWARRAYS_DECL
11316   csGLMULTIDRAWARRAYS glMultiDrawArrays;
11317   #endif
11318 
11319   #ifndef GLMULTIDRAWELEMENTS_DECL
11320   #define GLMULTIDRAWELEMENTS_DECL
11321   csGLMULTIDRAWELEMENTS glMultiDrawElements;
11322   #endif
11323 
11324   #ifndef GLPOINTPARAMETERF_DECL
11325   #define GLPOINTPARAMETERF_DECL
11326   csGLPOINTPARAMETERF glPointParameterf;
11327   #endif
11328 
11329   #ifndef GLPOINTPARAMETERFV_DECL
11330   #define GLPOINTPARAMETERFV_DECL
11331   csGLPOINTPARAMETERFV glPointParameterfv;
11332   #endif
11333 
11334   #ifndef GLSECONDARYCOLOR3B_DECL
11335   #define GLSECONDARYCOLOR3B_DECL
11336   csGLSECONDARYCOLOR3B glSecondaryColor3b;
11337   #endif
11338 
11339   #ifndef GLSECONDARYCOLOR3S_DECL
11340   #define GLSECONDARYCOLOR3S_DECL
11341   csGLSECONDARYCOLOR3S glSecondaryColor3s;
11342   #endif
11343 
11344   #ifndef GLSECONDARYCOLOR3I_DECL
11345   #define GLSECONDARYCOLOR3I_DECL
11346   csGLSECONDARYCOLOR3I glSecondaryColor3i;
11347   #endif
11348 
11349   #ifndef GLSECONDARYCOLOR3F_DECL
11350   #define GLSECONDARYCOLOR3F_DECL
11351   csGLSECONDARYCOLOR3F glSecondaryColor3f;
11352   #endif
11353 
11354   #ifndef GLSECONDARYCOLOR3D_DECL
11355   #define GLSECONDARYCOLOR3D_DECL
11356   csGLSECONDARYCOLOR3D glSecondaryColor3d;
11357   #endif
11358 
11359   #ifndef GLSECONDARYCOLOR3UB_DECL
11360   #define GLSECONDARYCOLOR3UB_DECL
11361   csGLSECONDARYCOLOR3UB glSecondaryColor3ub;
11362   #endif
11363 
11364   #ifndef GLSECONDARYCOLOR3US_DECL
11365   #define GLSECONDARYCOLOR3US_DECL
11366   csGLSECONDARYCOLOR3US glSecondaryColor3us;
11367   #endif
11368 
11369   #ifndef GLSECONDARYCOLOR3UI_DECL
11370   #define GLSECONDARYCOLOR3UI_DECL
11371   csGLSECONDARYCOLOR3UI glSecondaryColor3ui;
11372   #endif
11373 
11374   #ifndef GLSECONDARYCOLOR3BV_DECL
11375   #define GLSECONDARYCOLOR3BV_DECL
11376   csGLSECONDARYCOLOR3BV glSecondaryColor3bv;
11377   #endif
11378 
11379   #ifndef GLSECONDARYCOLOR3SV_DECL
11380   #define GLSECONDARYCOLOR3SV_DECL
11381   csGLSECONDARYCOLOR3SV glSecondaryColor3sv;
11382   #endif
11383 
11384   #ifndef GLSECONDARYCOLOR3IV_DECL
11385   #define GLSECONDARYCOLOR3IV_DECL
11386   csGLSECONDARYCOLOR3IV glSecondaryColor3iv;
11387   #endif
11388 
11389   #ifndef GLSECONDARYCOLOR3FV_DECL
11390   #define GLSECONDARYCOLOR3FV_DECL
11391   csGLSECONDARYCOLOR3FV glSecondaryColor3fv;
11392   #endif
11393 
11394   #ifndef GLSECONDARYCOLOR3DV_DECL
11395   #define GLSECONDARYCOLOR3DV_DECL
11396   csGLSECONDARYCOLOR3DV glSecondaryColor3dv;
11397   #endif
11398 
11399   #ifndef GLSECONDARYCOLOR3UBV_DECL
11400   #define GLSECONDARYCOLOR3UBV_DECL
11401   csGLSECONDARYCOLOR3UBV glSecondaryColor3ubv;
11402   #endif
11403 
11404   #ifndef GLSECONDARYCOLOR3USV_DECL
11405   #define GLSECONDARYCOLOR3USV_DECL
11406   csGLSECONDARYCOLOR3USV glSecondaryColor3usv;
11407   #endif
11408 
11409   #ifndef GLSECONDARYCOLOR3UIV_DECL
11410   #define GLSECONDARYCOLOR3UIV_DECL
11411   csGLSECONDARYCOLOR3UIV glSecondaryColor3uiv;
11412   #endif
11413 
11414   #ifndef GLSECONDARYCOLORPOINTER_DECL
11415   #define GLSECONDARYCOLORPOINTER_DECL
11416   csGLSECONDARYCOLORPOINTER glSecondaryColorPointer;
11417   #endif
11418 
11419   #ifndef GLBLENDFUNCSEPARATE_DECL
11420   #define GLBLENDFUNCSEPARATE_DECL
11421   csGLBLENDFUNCSEPARATE glBlendFuncSeparate;
11422   #endif
11423 
11424   #ifndef GLWINDOWPOS2D_DECL
11425   #define GLWINDOWPOS2D_DECL
11426   csGLWINDOWPOS2D glWindowPos2d;
11427   #endif
11428 
11429   #ifndef GLWINDOWPOS2F_DECL
11430   #define GLWINDOWPOS2F_DECL
11431   csGLWINDOWPOS2F glWindowPos2f;
11432   #endif
11433 
11434   #ifndef GLWINDOWPOS2I_DECL
11435   #define GLWINDOWPOS2I_DECL
11436   csGLWINDOWPOS2I glWindowPos2i;
11437   #endif
11438 
11439   #ifndef GLWINDOWPOS2S_DECL
11440   #define GLWINDOWPOS2S_DECL
11441   csGLWINDOWPOS2S glWindowPos2s;
11442   #endif
11443 
11444   #ifndef GLWINDOWPOS2DV_DECL
11445   #define GLWINDOWPOS2DV_DECL
11446   csGLWINDOWPOS2DV glWindowPos2dv;
11447   #endif
11448 
11449   #ifndef GLWINDOWPOS2FV_DECL
11450   #define GLWINDOWPOS2FV_DECL
11451   csGLWINDOWPOS2FV glWindowPos2fv;
11452   #endif
11453 
11454   #ifndef GLWINDOWPOS2IV_DECL
11455   #define GLWINDOWPOS2IV_DECL
11456   csGLWINDOWPOS2IV glWindowPos2iv;
11457   #endif
11458 
11459   #ifndef GLWINDOWPOS2SV_DECL
11460   #define GLWINDOWPOS2SV_DECL
11461   csGLWINDOWPOS2SV glWindowPos2sv;
11462   #endif
11463 
11464   #ifndef GLWINDOWPOS3D_DECL
11465   #define GLWINDOWPOS3D_DECL
11466   csGLWINDOWPOS3D glWindowPos3d;
11467   #endif
11468 
11469   #ifndef GLWINDOWPOS3F_DECL
11470   #define GLWINDOWPOS3F_DECL
11471   csGLWINDOWPOS3F glWindowPos3f;
11472   #endif
11473 
11474   #ifndef GLWINDOWPOS3I_DECL
11475   #define GLWINDOWPOS3I_DECL
11476   csGLWINDOWPOS3I glWindowPos3i;
11477   #endif
11478 
11479   #ifndef GLWINDOWPOS3S_DECL
11480   #define GLWINDOWPOS3S_DECL
11481   csGLWINDOWPOS3S glWindowPos3s;
11482   #endif
11483 
11484   #ifndef GLWINDOWPOS3DV_DECL
11485   #define GLWINDOWPOS3DV_DECL
11486   csGLWINDOWPOS3DV glWindowPos3dv;
11487   #endif
11488 
11489   #ifndef GLWINDOWPOS3FV_DECL
11490   #define GLWINDOWPOS3FV_DECL
11491   csGLWINDOWPOS3FV glWindowPos3fv;
11492   #endif
11493 
11494   #ifndef GLWINDOWPOS3IV_DECL
11495   #define GLWINDOWPOS3IV_DECL
11496   csGLWINDOWPOS3IV glWindowPos3iv;
11497   #endif
11498 
11499   #ifndef GLWINDOWPOS3SV_DECL
11500   #define GLWINDOWPOS3SV_DECL
11501   csGLWINDOWPOS3SV glWindowPos3sv;
11502   #endif
11503 
11504 
11510   #ifndef GLBINDBUFFER_DECL
11511   #define GLBINDBUFFER_DECL
11512   csGLBINDBUFFER glBindBuffer;
11513   #endif
11514 
11515   #ifndef GLDELETEBUFFERS_DECL
11516   #define GLDELETEBUFFERS_DECL
11517   csGLDELETEBUFFERS glDeleteBuffers;
11518   #endif
11519 
11520   #ifndef GLGENBUFFERS_DECL
11521   #define GLGENBUFFERS_DECL
11522   csGLGENBUFFERS glGenBuffers;
11523   #endif
11524 
11525   #ifndef GLBUFFERDATA_DECL
11526   #define GLBUFFERDATA_DECL
11527   csGLBUFFERDATA glBufferData;
11528   #endif
11529 
11530   #ifndef GLBUFFERSUBDATA_DECL
11531   #define GLBUFFERSUBDATA_DECL
11532   csGLBUFFERSUBDATA glBufferSubData;
11533   #endif
11534 
11535   #ifndef GLMAPBUFFER_DECL
11536   #define GLMAPBUFFER_DECL
11537   csGLMAPBUFFER glMapBuffer;
11538   #endif
11539 
11540   #ifndef GLUNMAPBUFFER_DECL
11541   #define GLUNMAPBUFFER_DECL
11542   csGLUNMAPBUFFER glUnmapBuffer;
11543   #endif
11544 
11545   #ifndef GLISBUFFER_DECL
11546   #define GLISBUFFER_DECL
11547   csGLISBUFFER glIsBuffer;
11548   #endif
11549 
11550   #ifndef GLGETBUFFERSUBDATA_DECL
11551   #define GLGETBUFFERSUBDATA_DECL
11552   csGLGETBUFFERSUBDATA glGetBufferSubData;
11553   #endif
11554 
11555   #ifndef GLGETBUFFERPOINTERV_DECL
11556   #define GLGETBUFFERPOINTERV_DECL
11557   csGLGETBUFFERPOINTERV glGetBufferPointerv;
11558   #endif
11559 
11560   #ifndef GLGETBUFFERPARAMETERIV_DECL
11561   #define GLGETBUFFERPARAMETERIV_DECL
11562   csGLGETBUFFERPARAMETERIV glGetBufferParameteriv;
11563   #endif
11564 
11565   #ifndef GLGENQUERIES_DECL
11566   #define GLGENQUERIES_DECL
11567   csGLGENQUERIES glGenQueries;
11568   #endif
11569 
11570   #ifndef GLDELETEQUERIES_DECL
11571   #define GLDELETEQUERIES_DECL
11572   csGLDELETEQUERIES glDeleteQueries;
11573   #endif
11574 
11575   #ifndef GLISQUERY_DECL
11576   #define GLISQUERY_DECL
11577   csGLISQUERY glIsQuery;
11578   #endif
11579 
11580   #ifndef GLBEGINQUERY_DECL
11581   #define GLBEGINQUERY_DECL
11582   csGLBEGINQUERY glBeginQuery;
11583   #endif
11584 
11585   #ifndef GLENDQUERY_DECL
11586   #define GLENDQUERY_DECL
11587   csGLENDQUERY glEndQuery;
11588   #endif
11589 
11590   #ifndef GLGETQUERYIV_DECL
11591   #define GLGETQUERYIV_DECL
11592   csGLGETQUERYIV glGetQueryiv;
11593   #endif
11594 
11595   #ifndef GLGETQUERYOBJECTIV_DECL
11596   #define GLGETQUERYOBJECTIV_DECL
11597   csGLGETQUERYOBJECTIV glGetQueryObjectiv;
11598   #endif
11599 
11600   #ifndef GLGETQUERYOBJECTUIV_DECL
11601   #define GLGETQUERYOBJECTUIV_DECL
11602   csGLGETQUERYOBJECTUIV glGetQueryObjectuiv;
11603   #endif
11604 
11605 
11611   #ifndef GLDELETESHADER_DECL
11612   #define GLDELETESHADER_DECL
11613   csGLDELETESHADER glDeleteShader;
11614   #endif
11615 
11616   #ifndef GLGETHANDLE_DECL
11617   #define GLGETHANDLE_DECL
11618   csGLGETHANDLE glGetHandle;
11619   #endif
11620 
11621   #ifndef GLDETACHSHADER_DECL
11622   #define GLDETACHSHADER_DECL
11623   csGLDETACHSHADER glDetachShader;
11624   #endif
11625 
11626   #ifndef GLCREATESHADER_DECL
11627   #define GLCREATESHADER_DECL
11628   csGLCREATESHADER glCreateShader;
11629   #endif
11630 
11631   #ifndef GLSHADERSOURCE_DECL
11632   #define GLSHADERSOURCE_DECL
11633   csGLSHADERSOURCE glShaderSource;
11634   #endif
11635 
11636   #ifndef GLCOMPILESHADER_DECL
11637   #define GLCOMPILESHADER_DECL
11638   csGLCOMPILESHADER glCompileShader;
11639   #endif
11640 
11641   #ifndef GLCREATEPROGRAMOBJECT_DECL
11642   #define GLCREATEPROGRAMOBJECT_DECL
11643   csGLCREATEPROGRAMOBJECT glCreateProgramObject;
11644   #endif
11645 
11646   #ifndef GLATTACHSHADER_DECL
11647   #define GLATTACHSHADER_DECL
11648   csGLATTACHSHADER glAttachShader;
11649   #endif
11650 
11651   #ifndef GLLINKPROGRAM_DECL
11652   #define GLLINKPROGRAM_DECL
11653   csGLLINKPROGRAM glLinkProgram;
11654   #endif
11655 
11656   #ifndef GLUSEPROGRAM_DECL
11657   #define GLUSEPROGRAM_DECL
11658   csGLUSEPROGRAM glUseProgram;
11659   #endif
11660 
11661   #ifndef GLDELETEPROGRAM_DECL
11662   #define GLDELETEPROGRAM_DECL
11663   csGLDELETEPROGRAM glDeleteProgram;
11664   #endif
11665 
11666   #ifndef GLVALIDATEPROGRAM_DECL
11667   #define GLVALIDATEPROGRAM_DECL
11668   csGLVALIDATEPROGRAM glValidateProgram;
11669   #endif
11670 
11671   #ifndef GLUNIFORM1F_DECL
11672   #define GLUNIFORM1F_DECL
11673   csGLUNIFORM1F glUniform1f;
11674   #endif
11675 
11676   #ifndef GLUNIFORM2F_DECL
11677   #define GLUNIFORM2F_DECL
11678   csGLUNIFORM2F glUniform2f;
11679   #endif
11680 
11681   #ifndef GLUNIFORM3F_DECL
11682   #define GLUNIFORM3F_DECL
11683   csGLUNIFORM3F glUniform3f;
11684   #endif
11685 
11686   #ifndef GLUNIFORM4F_DECL
11687   #define GLUNIFORM4F_DECL
11688   csGLUNIFORM4F glUniform4f;
11689   #endif
11690 
11691   #ifndef GLUNIFORM1I_DECL
11692   #define GLUNIFORM1I_DECL
11693   csGLUNIFORM1I glUniform1i;
11694   #endif
11695 
11696   #ifndef GLUNIFORM2I_DECL
11697   #define GLUNIFORM2I_DECL
11698   csGLUNIFORM2I glUniform2i;
11699   #endif
11700 
11701   #ifndef GLUNIFORM3I_DECL
11702   #define GLUNIFORM3I_DECL
11703   csGLUNIFORM3I glUniform3i;
11704   #endif
11705 
11706   #ifndef GLUNIFORM4I_DECL
11707   #define GLUNIFORM4I_DECL
11708   csGLUNIFORM4I glUniform4i;
11709   #endif
11710 
11711   #ifndef GLUNIFORM1FV_DECL
11712   #define GLUNIFORM1FV_DECL
11713   csGLUNIFORM1FV glUniform1fv;
11714   #endif
11715 
11716   #ifndef GLUNIFORM2FV_DECL
11717   #define GLUNIFORM2FV_DECL
11718   csGLUNIFORM2FV glUniform2fv;
11719   #endif
11720 
11721   #ifndef GLUNIFORM3FV_DECL
11722   #define GLUNIFORM3FV_DECL
11723   csGLUNIFORM3FV glUniform3fv;
11724   #endif
11725 
11726   #ifndef GLUNIFORM4FV_DECL
11727   #define GLUNIFORM4FV_DECL
11728   csGLUNIFORM4FV glUniform4fv;
11729   #endif
11730 
11731   #ifndef GLUNIFORM1IV_DECL
11732   #define GLUNIFORM1IV_DECL
11733   csGLUNIFORM1IV glUniform1iv;
11734   #endif
11735 
11736   #ifndef GLUNIFORM2IV_DECL
11737   #define GLUNIFORM2IV_DECL
11738   csGLUNIFORM2IV glUniform2iv;
11739   #endif
11740 
11741   #ifndef GLUNIFORM3IV_DECL
11742   #define GLUNIFORM3IV_DECL
11743   csGLUNIFORM3IV glUniform3iv;
11744   #endif
11745 
11746   #ifndef GLUNIFORM4IV_DECL
11747   #define GLUNIFORM4IV_DECL
11748   csGLUNIFORM4IV glUniform4iv;
11749   #endif
11750 
11751   #ifndef GLUNIFORMMATRIX2FV_DECL
11752   #define GLUNIFORMMATRIX2FV_DECL
11753   csGLUNIFORMMATRIX2FV glUniformMatrix2fv;
11754   #endif
11755 
11756   #ifndef GLUNIFORMMATRIX3FV_DECL
11757   #define GLUNIFORMMATRIX3FV_DECL
11758   csGLUNIFORMMATRIX3FV glUniformMatrix3fv;
11759   #endif
11760 
11761   #ifndef GLUNIFORMMATRIX4FV_DECL
11762   #define GLUNIFORMMATRIX4FV_DECL
11763   csGLUNIFORMMATRIX4FV glUniformMatrix4fv;
11764   #endif
11765 
11766   #ifndef GLGETOBJECTPARAMETERFV_DECL
11767   #define GLGETOBJECTPARAMETERFV_DECL
11768   csGLGETOBJECTPARAMETERFV glGetObjectParameterfv;
11769   #endif
11770 
11771   #ifndef GLGETOBJECTPARAMETERIV_DECL
11772   #define GLGETOBJECTPARAMETERIV_DECL
11773   csGLGETOBJECTPARAMETERIV glGetObjectParameteriv;
11774   #endif
11775 
11776   #ifndef GLGETINFOLOG_DECL
11777   #define GLGETINFOLOG_DECL
11778   csGLGETINFOLOG glGetInfoLog;
11779   #endif
11780 
11781   #ifndef GLGETATTACHEDOBJECTS_DECL
11782   #define GLGETATTACHEDOBJECTS_DECL
11783   csGLGETATTACHEDOBJECTS glGetAttachedObjects;
11784   #endif
11785 
11786   #ifndef GLGETUNIFORMLOCATION_DECL
11787   #define GLGETUNIFORMLOCATION_DECL
11788   csGLGETUNIFORMLOCATION glGetUniformLocation;
11789   #endif
11790 
11791   #ifndef GLGETACTIVEUNIFORM_DECL
11792   #define GLGETACTIVEUNIFORM_DECL
11793   csGLGETACTIVEUNIFORM glGetActiveUniform;
11794   #endif
11795 
11796   #ifndef GLGETUNIFORMFV_DECL
11797   #define GLGETUNIFORMFV_DECL
11798   csGLGETUNIFORMFV glGetUniformfv;
11799   #endif
11800 
11801   #ifndef GLGETUNIFORMIV_DECL
11802   #define GLGETUNIFORMIV_DECL
11803   csGLGETUNIFORMIV glGetUniformiv;
11804   #endif
11805 
11806   #ifndef GLGETSHADERSOURCE_DECL
11807   #define GLGETSHADERSOURCE_DECL
11808   csGLGETSHADERSOURCE glGetShaderSource;
11809   #endif
11810 
11811   #ifndef GLVERTEXATTRIB1S_DECL
11812   #define GLVERTEXATTRIB1S_DECL
11813   csGLVERTEXATTRIB1S glVertexAttrib1s;
11814   #endif
11815 
11816   #ifndef GLVERTEXATTRIB1F_DECL
11817   #define GLVERTEXATTRIB1F_DECL
11818   csGLVERTEXATTRIB1F glVertexAttrib1f;
11819   #endif
11820 
11821   #ifndef GLVERTEXATTRIB1D_DECL
11822   #define GLVERTEXATTRIB1D_DECL
11823   csGLVERTEXATTRIB1D glVertexAttrib1d;
11824   #endif
11825 
11826   #ifndef GLVERTEXATTRIB2S_DECL
11827   #define GLVERTEXATTRIB2S_DECL
11828   csGLVERTEXATTRIB2S glVertexAttrib2s;
11829   #endif
11830 
11831   #ifndef GLVERTEXATTRIB2F_DECL
11832   #define GLVERTEXATTRIB2F_DECL
11833   csGLVERTEXATTRIB2F glVertexAttrib2f;
11834   #endif
11835 
11836   #ifndef GLVERTEXATTRIB2D_DECL
11837   #define GLVERTEXATTRIB2D_DECL
11838   csGLVERTEXATTRIB2D glVertexAttrib2d;
11839   #endif
11840 
11841   #ifndef GLVERTEXATTRIB3S_DECL
11842   #define GLVERTEXATTRIB3S_DECL
11843   csGLVERTEXATTRIB3S glVertexAttrib3s;
11844   #endif
11845 
11846   #ifndef GLVERTEXATTRIB3F_DECL
11847   #define GLVERTEXATTRIB3F_DECL
11848   csGLVERTEXATTRIB3F glVertexAttrib3f;
11849   #endif
11850 
11851   #ifndef GLVERTEXATTRIB3D_DECL
11852   #define GLVERTEXATTRIB3D_DECL
11853   csGLVERTEXATTRIB3D glVertexAttrib3d;
11854   #endif
11855 
11856   #ifndef GLVERTEXATTRIB4S_DECL
11857   #define GLVERTEXATTRIB4S_DECL
11858   csGLVERTEXATTRIB4S glVertexAttrib4s;
11859   #endif
11860 
11861   #ifndef GLVERTEXATTRIB4F_DECL
11862   #define GLVERTEXATTRIB4F_DECL
11863   csGLVERTEXATTRIB4F glVertexAttrib4f;
11864   #endif
11865 
11866   #ifndef GLVERTEXATTRIB4D_DECL
11867   #define GLVERTEXATTRIB4D_DECL
11868   csGLVERTEXATTRIB4D glVertexAttrib4d;
11869   #endif
11870 
11871   #ifndef GLVERTEXATTRIB4NUB_DECL
11872   #define GLVERTEXATTRIB4NUB_DECL
11873   csGLVERTEXATTRIB4NUB glVertexAttrib4Nub;
11874   #endif
11875 
11876   #ifndef GLVERTEXATTRIB1SV_DECL
11877   #define GLVERTEXATTRIB1SV_DECL
11878   csGLVERTEXATTRIB1SV glVertexAttrib1sv;
11879   #endif
11880 
11881   #ifndef GLVERTEXATTRIB1FV_DECL
11882   #define GLVERTEXATTRIB1FV_DECL
11883   csGLVERTEXATTRIB1FV glVertexAttrib1fv;
11884   #endif
11885 
11886   #ifndef GLVERTEXATTRIB1DV_DECL
11887   #define GLVERTEXATTRIB1DV_DECL
11888   csGLVERTEXATTRIB1DV glVertexAttrib1dv;
11889   #endif
11890 
11891   #ifndef GLVERTEXATTRIB2SV_DECL
11892   #define GLVERTEXATTRIB2SV_DECL
11893   csGLVERTEXATTRIB2SV glVertexAttrib2sv;
11894   #endif
11895 
11896   #ifndef GLVERTEXATTRIB2FV_DECL
11897   #define GLVERTEXATTRIB2FV_DECL
11898   csGLVERTEXATTRIB2FV glVertexAttrib2fv;
11899   #endif
11900 
11901   #ifndef GLVERTEXATTRIB2DV_DECL
11902   #define GLVERTEXATTRIB2DV_DECL
11903   csGLVERTEXATTRIB2DV glVertexAttrib2dv;
11904   #endif
11905 
11906   #ifndef GLVERTEXATTRIB3SV_DECL
11907   #define GLVERTEXATTRIB3SV_DECL
11908   csGLVERTEXATTRIB3SV glVertexAttrib3sv;
11909   #endif
11910 
11911   #ifndef GLVERTEXATTRIB3FV_DECL
11912   #define GLVERTEXATTRIB3FV_DECL
11913   csGLVERTEXATTRIB3FV glVertexAttrib3fv;
11914   #endif
11915 
11916   #ifndef GLVERTEXATTRIB3DV_DECL
11917   #define GLVERTEXATTRIB3DV_DECL
11918   csGLVERTEXATTRIB3DV glVertexAttrib3dv;
11919   #endif
11920 
11921   #ifndef GLVERTEXATTRIB4BV_DECL
11922   #define GLVERTEXATTRIB4BV_DECL
11923   csGLVERTEXATTRIB4BV glVertexAttrib4bv;
11924   #endif
11925 
11926   #ifndef GLVERTEXATTRIB4SV_DECL
11927   #define GLVERTEXATTRIB4SV_DECL
11928   csGLVERTEXATTRIB4SV glVertexAttrib4sv;
11929   #endif
11930 
11931   #ifndef GLVERTEXATTRIB4IV_DECL
11932   #define GLVERTEXATTRIB4IV_DECL
11933   csGLVERTEXATTRIB4IV glVertexAttrib4iv;
11934   #endif
11935 
11936   #ifndef GLVERTEXATTRIB4UBV_DECL
11937   #define GLVERTEXATTRIB4UBV_DECL
11938   csGLVERTEXATTRIB4UBV glVertexAttrib4ubv;
11939   #endif
11940 
11941   #ifndef GLVERTEXATTRIB4USV_DECL
11942   #define GLVERTEXATTRIB4USV_DECL
11943   csGLVERTEXATTRIB4USV glVertexAttrib4usv;
11944   #endif
11945 
11946   #ifndef GLVERTEXATTRIB4UIV_DECL
11947   #define GLVERTEXATTRIB4UIV_DECL
11948   csGLVERTEXATTRIB4UIV glVertexAttrib4uiv;
11949   #endif
11950 
11951   #ifndef GLVERTEXATTRIB4FV_DECL
11952   #define GLVERTEXATTRIB4FV_DECL
11953   csGLVERTEXATTRIB4FV glVertexAttrib4fv;
11954   #endif
11955 
11956   #ifndef GLVERTEXATTRIB4DV_DECL
11957   #define GLVERTEXATTRIB4DV_DECL
11958   csGLVERTEXATTRIB4DV glVertexAttrib4dv;
11959   #endif
11960 
11961   #ifndef GLVERTEXATTRIB4NBV_DECL
11962   #define GLVERTEXATTRIB4NBV_DECL
11963   csGLVERTEXATTRIB4NBV glVertexAttrib4Nbv;
11964   #endif
11965 
11966   #ifndef GLVERTEXATTRIB4NSV_DECL
11967   #define GLVERTEXATTRIB4NSV_DECL
11968   csGLVERTEXATTRIB4NSV glVertexAttrib4Nsv;
11969   #endif
11970 
11971   #ifndef GLVERTEXATTRIB4NIV_DECL
11972   #define GLVERTEXATTRIB4NIV_DECL
11973   csGLVERTEXATTRIB4NIV glVertexAttrib4Niv;
11974   #endif
11975 
11976   #ifndef GLVERTEXATTRIB4NUBV_DECL
11977   #define GLVERTEXATTRIB4NUBV_DECL
11978   csGLVERTEXATTRIB4NUBV glVertexAttrib4Nubv;
11979   #endif
11980 
11981   #ifndef GLVERTEXATTRIB4NUSV_DECL
11982   #define GLVERTEXATTRIB4NUSV_DECL
11983   csGLVERTEXATTRIB4NUSV glVertexAttrib4Nusv;
11984   #endif
11985 
11986   #ifndef GLVERTEXATTRIB4NUIV_DECL
11987   #define GLVERTEXATTRIB4NUIV_DECL
11988   csGLVERTEXATTRIB4NUIV glVertexAttrib4Nuiv;
11989   #endif
11990 
11991   #ifndef GLVERTEXATTRIBPOINTER_DECL
11992   #define GLVERTEXATTRIBPOINTER_DECL
11993   csGLVERTEXATTRIBPOINTER glVertexAttribPointer;
11994   #endif
11995 
11996   #ifndef GLENABLEVERTEXATTRIBARRAY_DECL
11997   #define GLENABLEVERTEXATTRIBARRAY_DECL
11998   csGLENABLEVERTEXATTRIBARRAY glEnableVertexAttribArray;
11999   #endif
12000 
12001   #ifndef GLDISABLEVERTEXATTRIBARRAY_DECL
12002   #define GLDISABLEVERTEXATTRIBARRAY_DECL
12003   csGLDISABLEVERTEXATTRIBARRAY glDisableVertexAttribArray;
12004   #endif
12005 
12006   #ifndef GLBINDATTRIBLOCATION_DECL
12007   #define GLBINDATTRIBLOCATION_DECL
12008   csGLBINDATTRIBLOCATION glBindAttribLocation;
12009   #endif
12010 
12011   #ifndef GLGETACTIVEATTRIB_DECL
12012   #define GLGETACTIVEATTRIB_DECL
12013   csGLGETACTIVEATTRIB glGetActiveAttrib;
12014   #endif
12015 
12016   #ifndef GLGETATTRIBLOCATION_DECL
12017   #define GLGETATTRIBLOCATION_DECL
12018   csGLGETATTRIBLOCATION glGetAttribLocation;
12019   #endif
12020 
12021   #ifndef GLGETVERTEXATTRIBPOINTERV_DECL
12022   #define GLGETVERTEXATTRIBPOINTERV_DECL
12023   csGLGETVERTEXATTRIBPOINTERV glGetVertexAttribPointerv;
12024   #endif
12025 
12026   #ifndef GLBLENDEQUATIONSEPARATE_DECL
12027   #define GLBLENDEQUATIONSEPARATE_DECL
12028   csGLBLENDEQUATIONSEPARATE glBlendEquationSeparate;
12029   #endif
12030 
12031   #ifndef GLSTENCILFUNCSEPARATE_DECL
12032   #define GLSTENCILFUNCSEPARATE_DECL
12033   csGLSTENCILFUNCSEPARATE glStencilFuncSeparate;
12034   #endif
12035 
12036   #ifndef GLSTENCILOPSEPARATE_DECL
12037   #define GLSTENCILOPSEPARATE_DECL
12038   csGLSTENCILOPSEPARATE glStencilOpSeparate;
12039   #endif
12040 
12041 
12047   #ifndef GLUNIFORMMATRIX2X3FV_DECL
12048   #define GLUNIFORMMATRIX2X3FV_DECL
12049   csGLUNIFORMMATRIX2X3FV glUniformMatrix2x3fv;
12050   #endif
12051 
12052   #ifndef GLUNIFORMMATRIX3X2FV_DECL
12053   #define GLUNIFORMMATRIX3X2FV_DECL
12054   csGLUNIFORMMATRIX3X2FV glUniformMatrix3x2fv;
12055   #endif
12056 
12057   #ifndef GLUNIFORMMATRIX2X4FV_DECL
12058   #define GLUNIFORMMATRIX2X4FV_DECL
12059   csGLUNIFORMMATRIX2X4FV glUniformMatrix2x4fv;
12060   #endif
12061 
12062   #ifndef GLUNIFORMMATRIX4X2FV_DECL
12063   #define GLUNIFORMMATRIX4X2FV_DECL
12064   csGLUNIFORMMATRIX4X2FV glUniformMatrix4x2fv;
12065   #endif
12066 
12067   #ifndef GLUNIFORMMATRIX3X4FV_DECL
12068   #define GLUNIFORMMATRIX3X4FV_DECL
12069   csGLUNIFORMMATRIX3X4FV glUniformMatrix3x4fv;
12070   #endif
12071 
12072   #ifndef GLUNIFORMMATRIX4X3FV_DECL
12073   #define GLUNIFORMMATRIX4X3FV_DECL
12074   csGLUNIFORMMATRIX4X3FV glUniformMatrix4x3fv;
12075   #endif
12076 
12077 
12082   #ifndef GLCOLORTABLE_DECL
12083   #define GLCOLORTABLE_DECL
12084   csGLCOLORTABLE glColorTable;
12085   #endif
12086 
12087   #ifndef GLCOLORTABLEPARAMETERFV_DECL
12088   #define GLCOLORTABLEPARAMETERFV_DECL
12089   csGLCOLORTABLEPARAMETERFV glColorTableParameterfv;
12090   #endif
12091 
12092   #ifndef GLCOLORTABLEPARAMETERIV_DECL
12093   #define GLCOLORTABLEPARAMETERIV_DECL
12094   csGLCOLORTABLEPARAMETERIV glColorTableParameteriv;
12095   #endif
12096 
12097   #ifndef GLCOPYCOLORTABLE_DECL
12098   #define GLCOPYCOLORTABLE_DECL
12099   csGLCOPYCOLORTABLE glCopyColorTable;
12100   #endif
12101 
12102   #ifndef GLGETCOLORTABLE_DECL
12103   #define GLGETCOLORTABLE_DECL
12104   csGLGETCOLORTABLE glGetColorTable;
12105   #endif
12106 
12107   #ifndef GLGETCOLORTABLEPARAMETERFV_DECL
12108   #define GLGETCOLORTABLEPARAMETERFV_DECL
12109   csGLGETCOLORTABLEPARAMETERFV glGetColorTableParameterfv;
12110   #endif
12111 
12112   #ifndef GLGETCOLORTABLEPARAMETERIV_DECL
12113   #define GLGETCOLORTABLEPARAMETERIV_DECL
12114   csGLGETCOLORTABLEPARAMETERIV glGetColorTableParameteriv;
12115   #endif
12116 
12117   #ifndef GLCOLORSUBTABLE_DECL
12118   #define GLCOLORSUBTABLE_DECL
12119   csGLCOLORSUBTABLE glColorSubTable;
12120   #endif
12121 
12122   #ifndef GLCOPYCOLORSUBTABLE_DECL
12123   #define GLCOPYCOLORSUBTABLE_DECL
12124   csGLCOPYCOLORSUBTABLE glCopyColorSubTable;
12125   #endif
12126 
12127   #ifndef GLCONVOLUTIONFILTER1D_DECL
12128   #define GLCONVOLUTIONFILTER1D_DECL
12129   csGLCONVOLUTIONFILTER1D glConvolutionFilter1D;
12130   #endif
12131 
12132   #ifndef GLCONVOLUTIONFILTER2D_DECL
12133   #define GLCONVOLUTIONFILTER2D_DECL
12134   csGLCONVOLUTIONFILTER2D glConvolutionFilter2D;
12135   #endif
12136 
12137   #ifndef GLCONVOLUTIONPARAMETERF_DECL
12138   #define GLCONVOLUTIONPARAMETERF_DECL
12139   csGLCONVOLUTIONPARAMETERF glConvolutionParameterf;
12140   #endif
12141 
12142   #ifndef GLCONVOLUTIONPARAMETERFV_DECL
12143   #define GLCONVOLUTIONPARAMETERFV_DECL
12144   csGLCONVOLUTIONPARAMETERFV glConvolutionParameterfv;
12145   #endif
12146 
12147   #ifndef GLCONVOLUTIONPARAMETERI_DECL
12148   #define GLCONVOLUTIONPARAMETERI_DECL
12149   csGLCONVOLUTIONPARAMETERI glConvolutionParameteri;
12150   #endif
12151 
12152   #ifndef GLCONVOLUTIONPARAMETERIV_DECL
12153   #define GLCONVOLUTIONPARAMETERIV_DECL
12154   csGLCONVOLUTIONPARAMETERIV glConvolutionParameteriv;
12155   #endif
12156 
12157   #ifndef GLCOPYCONVOLUTIONFILTER1D_DECL
12158   #define GLCOPYCONVOLUTIONFILTER1D_DECL
12159   csGLCOPYCONVOLUTIONFILTER1D glCopyConvolutionFilter1D;
12160   #endif
12161 
12162   #ifndef GLCOPYCONVOLUTIONFILTER2D_DECL
12163   #define GLCOPYCONVOLUTIONFILTER2D_DECL
12164   csGLCOPYCONVOLUTIONFILTER2D glCopyConvolutionFilter2D;
12165   #endif
12166 
12167   #ifndef GLGETCONVOLUTIONFILTER_DECL
12168   #define GLGETCONVOLUTIONFILTER_DECL
12169   csGLGETCONVOLUTIONFILTER glGetConvolutionFilter;
12170   #endif
12171 
12172   #ifndef GLGETCONVOLUTIONPARAMETERFV_DECL
12173   #define GLGETCONVOLUTIONPARAMETERFV_DECL
12174   csGLGETCONVOLUTIONPARAMETERFV glGetConvolutionParameterfv;
12175   #endif
12176 
12177   #ifndef GLGETCONVOLUTIONPARAMETERIV_DECL
12178   #define GLGETCONVOLUTIONPARAMETERIV_DECL
12179   csGLGETCONVOLUTIONPARAMETERIV glGetConvolutionParameteriv;
12180   #endif
12181 
12182   #ifndef GLGETSEPARABLEFILTER_DECL
12183   #define GLGETSEPARABLEFILTER_DECL
12184   csGLGETSEPARABLEFILTER glGetSeparableFilter;
12185   #endif
12186 
12187   #ifndef GLSEPARABLEFILTER2D_DECL
12188   #define GLSEPARABLEFILTER2D_DECL
12189   csGLSEPARABLEFILTER2D glSeparableFilter2D;
12190   #endif
12191 
12192   #ifndef GLGETHISTOGRAM_DECL
12193   #define GLGETHISTOGRAM_DECL
12194   csGLGETHISTOGRAM glGetHistogram;
12195   #endif
12196 
12197   #ifndef GLGETHISTOGRAMPARAMETERFV_DECL
12198   #define GLGETHISTOGRAMPARAMETERFV_DECL
12199   csGLGETHISTOGRAMPARAMETERFV glGetHistogramParameterfv;
12200   #endif
12201 
12202   #ifndef GLGETHISTOGRAMPARAMETERIV_DECL
12203   #define GLGETHISTOGRAMPARAMETERIV_DECL
12204   csGLGETHISTOGRAMPARAMETERIV glGetHistogramParameteriv;
12205   #endif
12206 
12207   #ifndef GLGETMINMAX_DECL
12208   #define GLGETMINMAX_DECL
12209   csGLGETMINMAX glGetMinmax;
12210   #endif
12211 
12212   #ifndef GLGETMINMAXPARAMETERFV_DECL
12213   #define GLGETMINMAXPARAMETERFV_DECL
12214   csGLGETMINMAXPARAMETERFV glGetMinmaxParameterfv;
12215   #endif
12216 
12217   #ifndef GLGETMINMAXPARAMETERIV_DECL
12218   #define GLGETMINMAXPARAMETERIV_DECL
12219   csGLGETMINMAXPARAMETERIV glGetMinmaxParameteriv;
12220   #endif
12221 
12222   #ifndef GLHISTOGRAM_DECL
12223   #define GLHISTOGRAM_DECL
12224   csGLHISTOGRAM glHistogram;
12225   #endif
12226 
12227   #ifndef GLMINMAX_DECL
12228   #define GLMINMAX_DECL
12229   csGLMINMAX glMinmax;
12230   #endif
12231 
12232   #ifndef GLRESETHISTOGRAM_DECL
12233   #define GLRESETHISTOGRAM_DECL
12234   csGLRESETHISTOGRAM glResetHistogram;
12235   #endif
12236 
12237   #ifndef GLRESETMINMAX_DECL
12238   #define GLRESETMINMAX_DECL
12239   csGLRESETMINMAX glResetMinmax;
12240   #endif
12241 
12242   #ifndef GLBLENDCOLOR_DECL
12243   #define GLBLENDCOLOR_DECL
12244   csGLBLENDCOLOR glBlendColor;
12245   #endif
12246 
12247   #ifndef GLBLENDEQUATION_DECL
12248   #define GLBLENDEQUATION_DECL
12249   csGLBLENDEQUATION glBlendEquation;
12250   #endif
12251 
12252 
12257   #ifndef GLACTIVETEXTUREARB_DECL
12258   #define GLACTIVETEXTUREARB_DECL
12259   csGLACTIVETEXTUREARB glActiveTextureARB;
12260   #endif
12261 
12262   #ifndef GLCLIENTACTIVETEXTUREARB_DECL
12263   #define GLCLIENTACTIVETEXTUREARB_DECL
12264   csGLCLIENTACTIVETEXTUREARB glClientActiveTextureARB;
12265   #endif
12266 
12267   #ifndef GLMULTITEXCOORD1DARB_DECL
12268   #define GLMULTITEXCOORD1DARB_DECL
12269   csGLMULTITEXCOORD1DARB glMultiTexCoord1dARB;
12270   #endif
12271 
12272   #ifndef GLMULTITEXCOORD1DVARB_DECL
12273   #define GLMULTITEXCOORD1DVARB_DECL
12274   csGLMULTITEXCOORD1DVARB glMultiTexCoord1dvARB;
12275   #endif
12276 
12277   #ifndef GLMULTITEXCOORD1FARB_DECL
12278   #define GLMULTITEXCOORD1FARB_DECL
12279   csGLMULTITEXCOORD1FARB glMultiTexCoord1fARB;
12280   #endif
12281 
12282   #ifndef GLMULTITEXCOORD1FVARB_DECL
12283   #define GLMULTITEXCOORD1FVARB_DECL
12284   csGLMULTITEXCOORD1FVARB glMultiTexCoord1fvARB;
12285   #endif
12286 
12287   #ifndef GLMULTITEXCOORD1IARB_DECL
12288   #define GLMULTITEXCOORD1IARB_DECL
12289   csGLMULTITEXCOORD1IARB glMultiTexCoord1iARB;
12290   #endif
12291 
12292   #ifndef GLMULTITEXCOORD1IVARB_DECL
12293   #define GLMULTITEXCOORD1IVARB_DECL
12294   csGLMULTITEXCOORD1IVARB glMultiTexCoord1ivARB;
12295   #endif
12296 
12297   #ifndef GLMULTITEXCOORD1SARB_DECL
12298   #define GLMULTITEXCOORD1SARB_DECL
12299   csGLMULTITEXCOORD1SARB glMultiTexCoord1sARB;
12300   #endif
12301 
12302   #ifndef GLMULTITEXCOORD1SVARB_DECL
12303   #define GLMULTITEXCOORD1SVARB_DECL
12304   csGLMULTITEXCOORD1SVARB glMultiTexCoord1svARB;
12305   #endif
12306 
12307   #ifndef GLMULTITEXCOORD2DARB_DECL
12308   #define GLMULTITEXCOORD2DARB_DECL
12309   csGLMULTITEXCOORD2DARB glMultiTexCoord2dARB;
12310   #endif
12311 
12312   #ifndef GLMULTITEXCOORD2DVARB_DECL
12313   #define GLMULTITEXCOORD2DVARB_DECL
12314   csGLMULTITEXCOORD2DVARB glMultiTexCoord2dvARB;
12315   #endif
12316 
12317   #ifndef GLMULTITEXCOORD2FARB_DECL
12318   #define GLMULTITEXCOORD2FARB_DECL
12319   csGLMULTITEXCOORD2FARB glMultiTexCoord2fARB;
12320   #endif
12321 
12322   #ifndef GLMULTITEXCOORD2FVARB_DECL
12323   #define GLMULTITEXCOORD2FVARB_DECL
12324   csGLMULTITEXCOORD2FVARB glMultiTexCoord2fvARB;
12325   #endif
12326 
12327   #ifndef GLMULTITEXCOORD2IARB_DECL
12328   #define GLMULTITEXCOORD2IARB_DECL
12329   csGLMULTITEXCOORD2IARB glMultiTexCoord2iARB;
12330   #endif
12331 
12332   #ifndef GLMULTITEXCOORD2IVARB_DECL
12333   #define GLMULTITEXCOORD2IVARB_DECL
12334   csGLMULTITEXCOORD2IVARB glMultiTexCoord2ivARB;
12335   #endif
12336 
12337   #ifndef GLMULTITEXCOORD2SARB_DECL
12338   #define GLMULTITEXCOORD2SARB_DECL
12339   csGLMULTITEXCOORD2SARB glMultiTexCoord2sARB;
12340   #endif
12341 
12342   #ifndef GLMULTITEXCOORD2SVARB_DECL
12343   #define GLMULTITEXCOORD2SVARB_DECL
12344   csGLMULTITEXCOORD2SVARB glMultiTexCoord2svARB;
12345   #endif
12346 
12347   #ifndef GLMULTITEXCOORD3DARB_DECL
12348   #define GLMULTITEXCOORD3DARB_DECL
12349   csGLMULTITEXCOORD3DARB glMultiTexCoord3dARB;
12350   #endif
12351 
12352   #ifndef GLMULTITEXCOORD3DVARB_DECL
12353   #define GLMULTITEXCOORD3DVARB_DECL
12354   csGLMULTITEXCOORD3DVARB glMultiTexCoord3dvARB;
12355   #endif
12356 
12357   #ifndef GLMULTITEXCOORD3FARB_DECL
12358   #define GLMULTITEXCOORD3FARB_DECL
12359   csGLMULTITEXCOORD3FARB glMultiTexCoord3fARB;
12360   #endif
12361 
12362   #ifndef GLMULTITEXCOORD3FVARB_DECL
12363   #define GLMULTITEXCOORD3FVARB_DECL
12364   csGLMULTITEXCOORD3FVARB glMultiTexCoord3fvARB;
12365   #endif
12366 
12367   #ifndef GLMULTITEXCOORD3IARB_DECL
12368   #define GLMULTITEXCOORD3IARB_DECL
12369   csGLMULTITEXCOORD3IARB glMultiTexCoord3iARB;
12370   #endif
12371 
12372   #ifndef GLMULTITEXCOORD3IVARB_DECL
12373   #define GLMULTITEXCOORD3IVARB_DECL
12374   csGLMULTITEXCOORD3IVARB glMultiTexCoord3ivARB;
12375   #endif
12376 
12377   #ifndef GLMULTITEXCOORD3SARB_DECL
12378   #define GLMULTITEXCOORD3SARB_DECL
12379   csGLMULTITEXCOORD3SARB glMultiTexCoord3sARB;
12380   #endif
12381 
12382   #ifndef GLMULTITEXCOORD3SVARB_DECL
12383   #define GLMULTITEXCOORD3SVARB_DECL
12384   csGLMULTITEXCOORD3SVARB glMultiTexCoord3svARB;
12385   #endif
12386 
12387   #ifndef GLMULTITEXCOORD4DARB_DECL
12388   #define GLMULTITEXCOORD4DARB_DECL
12389   csGLMULTITEXCOORD4DARB glMultiTexCoord4dARB;
12390   #endif
12391 
12392   #ifndef GLMULTITEXCOORD4DVARB_DECL
12393   #define GLMULTITEXCOORD4DVARB_DECL
12394   csGLMULTITEXCOORD4DVARB glMultiTexCoord4dvARB;
12395   #endif
12396 
12397   #ifndef GLMULTITEXCOORD4FARB_DECL
12398   #define GLMULTITEXCOORD4FARB_DECL
12399   csGLMULTITEXCOORD4FARB glMultiTexCoord4fARB;
12400   #endif
12401 
12402   #ifndef GLMULTITEXCOORD4FVARB_DECL
12403   #define GLMULTITEXCOORD4FVARB_DECL
12404   csGLMULTITEXCOORD4FVARB glMultiTexCoord4fvARB;
12405   #endif
12406 
12407   #ifndef GLMULTITEXCOORD4IARB_DECL
12408   #define GLMULTITEXCOORD4IARB_DECL
12409   csGLMULTITEXCOORD4IARB glMultiTexCoord4iARB;
12410   #endif
12411 
12412   #ifndef GLMULTITEXCOORD4IVARB_DECL
12413   #define GLMULTITEXCOORD4IVARB_DECL
12414   csGLMULTITEXCOORD4IVARB glMultiTexCoord4ivARB;
12415   #endif
12416 
12417   #ifndef GLMULTITEXCOORD4SARB_DECL
12418   #define GLMULTITEXCOORD4SARB_DECL
12419   csGLMULTITEXCOORD4SARB glMultiTexCoord4sARB;
12420   #endif
12421 
12422   #ifndef GLMULTITEXCOORD4SVARB_DECL
12423   #define GLMULTITEXCOORD4SVARB_DECL
12424   csGLMULTITEXCOORD4SVARB glMultiTexCoord4svARB;
12425   #endif
12426 
12427 
12432   #ifndef GLLOADTRANSPOSEMATRIXFARB_DECL
12433   #define GLLOADTRANSPOSEMATRIXFARB_DECL
12434   csGLLOADTRANSPOSEMATRIXFARB glLoadTransposeMatrixfARB;
12435   #endif
12436 
12437   #ifndef GLLOADTRANSPOSEMATRIXDARB_DECL
12438   #define GLLOADTRANSPOSEMATRIXDARB_DECL
12439   csGLLOADTRANSPOSEMATRIXDARB glLoadTransposeMatrixdARB;
12440   #endif
12441 
12442   #ifndef GLMULTTRANSPOSEMATRIXFARB_DECL
12443   #define GLMULTTRANSPOSEMATRIXFARB_DECL
12444   csGLMULTTRANSPOSEMATRIXFARB glMultTransposeMatrixfARB;
12445   #endif
12446 
12447   #ifndef GLMULTTRANSPOSEMATRIXDARB_DECL
12448   #define GLMULTTRANSPOSEMATRIXDARB_DECL
12449   csGLMULTTRANSPOSEMATRIXDARB glMultTransposeMatrixdARB;
12450   #endif
12451 
12452 
12457   #ifndef GLSAMPLECOVERAGEARB_DECL
12458   #define GLSAMPLECOVERAGEARB_DECL
12459   csGLSAMPLECOVERAGEARB glSampleCoverageARB;
12460   #endif
12461 
12462 
12469 #ifdef _WIN32
12470 
12473   #ifndef WGLGETEXTENSIONSSTRINGARB_DECL
12474   #define WGLGETEXTENSIONSSTRINGARB_DECL
12475   csWGLGETEXTENSIONSSTRINGARB wglGetExtensionsStringARB;
12476   #endif
12477 
12478 
12480 #endif // _WIN32
12481 
12482 #ifdef _WIN32
12483 
12486   #ifndef WGLCREATEBUFFERREGIONARB_DECL
12487   #define WGLCREATEBUFFERREGIONARB_DECL
12488   csWGLCREATEBUFFERREGIONARB wglCreateBufferRegionARB;
12489   #endif
12490 
12491   #ifndef WGLDELETEBUFFERREGIONARB_DECL
12492   #define WGLDELETEBUFFERREGIONARB_DECL
12493   csWGLDELETEBUFFERREGIONARB wglDeleteBufferRegionARB;
12494   #endif
12495 
12496   #ifndef WGLSAVEBUFFERREGIONARB_DECL
12497   #define WGLSAVEBUFFERREGIONARB_DECL
12498   csWGLSAVEBUFFERREGIONARB wglSaveBufferRegionARB;
12499   #endif
12500 
12501   #ifndef WGLRESTOREBUFFERREGIONARB_DECL
12502   #define WGLRESTOREBUFFERREGIONARB_DECL
12503   csWGLRESTOREBUFFERREGIONARB wglRestoreBufferRegionARB;
12504   #endif
12505 
12506 
12508 #endif // _WIN32
12509 
12523   #ifndef GLPOINTPARAMETERFARB_DECL
12524   #define GLPOINTPARAMETERFARB_DECL
12525   csGLPOINTPARAMETERFARB glPointParameterfARB;
12526   #endif
12527 
12528   #ifndef GLPOINTPARAMETERFVARB_DECL
12529   #define GLPOINTPARAMETERFVARB_DECL
12530   csGLPOINTPARAMETERFVARB glPointParameterfvARB;
12531   #endif
12532 
12533 
12553   #ifndef GLCOMPRESSEDTEXIMAGE3DARB_DECL
12554   #define GLCOMPRESSEDTEXIMAGE3DARB_DECL
12555   csGLCOMPRESSEDTEXIMAGE3DARB glCompressedTexImage3DARB;
12556   #endif
12557 
12558   #ifndef GLCOMPRESSEDTEXIMAGE2DARB_DECL
12559   #define GLCOMPRESSEDTEXIMAGE2DARB_DECL
12560   csGLCOMPRESSEDTEXIMAGE2DARB glCompressedTexImage2DARB;
12561   #endif
12562 
12563   #ifndef GLCOMPRESSEDTEXIMAGE1DARB_DECL
12564   #define GLCOMPRESSEDTEXIMAGE1DARB_DECL
12565   csGLCOMPRESSEDTEXIMAGE1DARB glCompressedTexImage1DARB;
12566   #endif
12567 
12568   #ifndef GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
12569   #define GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
12570   csGLCOMPRESSEDTEXSUBIMAGE3DARB glCompressedTexSubImage3DARB;
12571   #endif
12572 
12573   #ifndef GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
12574   #define GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
12575   csGLCOMPRESSEDTEXSUBIMAGE2DARB glCompressedTexSubImage2DARB;
12576   #endif
12577 
12578   #ifndef GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
12579   #define GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
12580   csGLCOMPRESSEDTEXSUBIMAGE1DARB glCompressedTexSubImage1DARB;
12581   #endif
12582 
12583   #ifndef GLGETCOMPRESSEDTEXIMAGEARB_DECL
12584   #define GLGETCOMPRESSEDTEXIMAGEARB_DECL
12585   csGLGETCOMPRESSEDTEXIMAGEARB glGetCompressedTexImageARB;
12586   #endif
12587 
12588 
12613   #ifndef GLWEIGHTBVARB_DECL
12614   #define GLWEIGHTBVARB_DECL
12615   csGLWEIGHTBVARB glWeightbvARB;
12616   #endif
12617 
12618   #ifndef GLWEIGHTSVARB_DECL
12619   #define GLWEIGHTSVARB_DECL
12620   csGLWEIGHTSVARB glWeightsvARB;
12621   #endif
12622 
12623   #ifndef GLWEIGHTIVARB_DECL
12624   #define GLWEIGHTIVARB_DECL
12625   csGLWEIGHTIVARB glWeightivARB;
12626   #endif
12627 
12628   #ifndef GLWEIGHTFVARB_DECL
12629   #define GLWEIGHTFVARB_DECL
12630   csGLWEIGHTFVARB glWeightfvARB;
12631   #endif
12632 
12633   #ifndef GLWEIGHTDVARB_DECL
12634   #define GLWEIGHTDVARB_DECL
12635   csGLWEIGHTDVARB glWeightdvARB;
12636   #endif
12637 
12638   #ifndef GLWEIGHTVARB_DECL
12639   #define GLWEIGHTVARB_DECL
12640   csGLWEIGHTVARB glWeightvARB;
12641   #endif
12642 
12643   #ifndef GLWEIGHTUBVARB_DECL
12644   #define GLWEIGHTUBVARB_DECL
12645   csGLWEIGHTUBVARB glWeightubvARB;
12646   #endif
12647 
12648   #ifndef GLWEIGHTUSVARB_DECL
12649   #define GLWEIGHTUSVARB_DECL
12650   csGLWEIGHTUSVARB glWeightusvARB;
12651   #endif
12652 
12653   #ifndef GLWEIGHTUIVARB_DECL
12654   #define GLWEIGHTUIVARB_DECL
12655   csGLWEIGHTUIVARB glWeightuivARB;
12656   #endif
12657 
12658   #ifndef GLWEIGHTPOINTERARB_DECL
12659   #define GLWEIGHTPOINTERARB_DECL
12660   csGLWEIGHTPOINTERARB glWeightPointerARB;
12661   #endif
12662 
12663   #ifndef GLVERTEXBLENDARB_DECL
12664   #define GLVERTEXBLENDARB_DECL
12665   csGLVERTEXBLENDARB glVertexBlendARB;
12666   #endif
12667 
12668 
12673   #ifndef GLVERTEXATTRIB1SARB_DECL
12674   #define GLVERTEXATTRIB1SARB_DECL
12675   csGLVERTEXATTRIB1SARB glVertexAttrib1sARB;
12676   #endif
12677 
12678   #ifndef GLVERTEXATTRIB1FARB_DECL
12679   #define GLVERTEXATTRIB1FARB_DECL
12680   csGLVERTEXATTRIB1FARB glVertexAttrib1fARB;
12681   #endif
12682 
12683   #ifndef GLVERTEXATTRIB1DARB_DECL
12684   #define GLVERTEXATTRIB1DARB_DECL
12685   csGLVERTEXATTRIB1DARB glVertexAttrib1dARB;
12686   #endif
12687 
12688   #ifndef GLVERTEXATTRIB2SARB_DECL
12689   #define GLVERTEXATTRIB2SARB_DECL
12690   csGLVERTEXATTRIB2SARB glVertexAttrib2sARB;
12691   #endif
12692 
12693   #ifndef GLVERTEXATTRIB2FARB_DECL
12694   #define GLVERTEXATTRIB2FARB_DECL
12695   csGLVERTEXATTRIB2FARB glVertexAttrib2fARB;
12696   #endif
12697 
12698   #ifndef GLVERTEXATTRIB2DARB_DECL
12699   #define GLVERTEXATTRIB2DARB_DECL
12700   csGLVERTEXATTRIB2DARB glVertexAttrib2dARB;
12701   #endif
12702 
12703   #ifndef GLVERTEXATTRIB3SARB_DECL
12704   #define GLVERTEXATTRIB3SARB_DECL
12705   csGLVERTEXATTRIB3SARB glVertexAttrib3sARB;
12706   #endif
12707 
12708   #ifndef GLVERTEXATTRIB3FARB_DECL
12709   #define GLVERTEXATTRIB3FARB_DECL
12710   csGLVERTEXATTRIB3FARB glVertexAttrib3fARB;
12711   #endif
12712 
12713   #ifndef GLVERTEXATTRIB3DARB_DECL
12714   #define GLVERTEXATTRIB3DARB_DECL
12715   csGLVERTEXATTRIB3DARB glVertexAttrib3dARB;
12716   #endif
12717 
12718   #ifndef GLVERTEXATTRIB4SARB_DECL
12719   #define GLVERTEXATTRIB4SARB_DECL
12720   csGLVERTEXATTRIB4SARB glVertexAttrib4sARB;
12721   #endif
12722 
12723   #ifndef GLVERTEXATTRIB4FARB_DECL
12724   #define GLVERTEXATTRIB4FARB_DECL
12725   csGLVERTEXATTRIB4FARB glVertexAttrib4fARB;
12726   #endif
12727 
12728   #ifndef GLVERTEXATTRIB4DARB_DECL
12729   #define GLVERTEXATTRIB4DARB_DECL
12730   csGLVERTEXATTRIB4DARB glVertexAttrib4dARB;
12731   #endif
12732 
12733   #ifndef GLVERTEXATTRIB4NUBARB_DECL
12734   #define GLVERTEXATTRIB4NUBARB_DECL
12735   csGLVERTEXATTRIB4NUBARB glVertexAttrib4NubARB;
12736   #endif
12737 
12738   #ifndef GLVERTEXATTRIB1SVARB_DECL
12739   #define GLVERTEXATTRIB1SVARB_DECL
12740   csGLVERTEXATTRIB1SVARB glVertexAttrib1svARB;
12741   #endif
12742 
12743   #ifndef GLVERTEXATTRIB1FVARB_DECL
12744   #define GLVERTEXATTRIB1FVARB_DECL
12745   csGLVERTEXATTRIB1FVARB glVertexAttrib1fvARB;
12746   #endif
12747 
12748   #ifndef GLVERTEXATTRIB1DVARB_DECL
12749   #define GLVERTEXATTRIB1DVARB_DECL
12750   csGLVERTEXATTRIB1DVARB glVertexAttrib1dvARB;
12751   #endif
12752 
12753   #ifndef GLVERTEXATTRIB2SVARB_DECL
12754   #define GLVERTEXATTRIB2SVARB_DECL
12755   csGLVERTEXATTRIB2SVARB glVertexAttrib2svARB;
12756   #endif
12757 
12758   #ifndef GLVERTEXATTRIB2FVARB_DECL
12759   #define GLVERTEXATTRIB2FVARB_DECL
12760   csGLVERTEXATTRIB2FVARB glVertexAttrib2fvARB;
12761   #endif
12762 
12763   #ifndef GLVERTEXATTRIB2DVARB_DECL
12764   #define GLVERTEXATTRIB2DVARB_DECL
12765   csGLVERTEXATTRIB2DVARB glVertexAttrib2dvARB;
12766   #endif
12767 
12768   #ifndef GLVERTEXATTRIB3SVARB_DECL
12769   #define GLVERTEXATTRIB3SVARB_DECL
12770   csGLVERTEXATTRIB3SVARB glVertexAttrib3svARB;
12771   #endif
12772 
12773   #ifndef GLVERTEXATTRIB3FVARB_DECL
12774   #define GLVERTEXATTRIB3FVARB_DECL
12775   csGLVERTEXATTRIB3FVARB glVertexAttrib3fvARB;
12776   #endif
12777 
12778   #ifndef GLVERTEXATTRIB3DVARB_DECL
12779   #define GLVERTEXATTRIB3DVARB_DECL
12780   csGLVERTEXATTRIB3DVARB glVertexAttrib3dvARB;
12781   #endif
12782 
12783   #ifndef GLVERTEXATTRIB4BVARB_DECL
12784   #define GLVERTEXATTRIB4BVARB_DECL
12785   csGLVERTEXATTRIB4BVARB glVertexAttrib4bvARB;
12786   #endif
12787 
12788   #ifndef GLVERTEXATTRIB4SVARB_DECL
12789   #define GLVERTEXATTRIB4SVARB_DECL
12790   csGLVERTEXATTRIB4SVARB glVertexAttrib4svARB;
12791   #endif
12792 
12793   #ifndef GLVERTEXATTRIB4IVARB_DECL
12794   #define GLVERTEXATTRIB4IVARB_DECL
12795   csGLVERTEXATTRIB4IVARB glVertexAttrib4ivARB;
12796   #endif
12797 
12798   #ifndef GLVERTEXATTRIB4UBVARB_DECL
12799   #define GLVERTEXATTRIB4UBVARB_DECL
12800   csGLVERTEXATTRIB4UBVARB glVertexAttrib4ubvARB;
12801   #endif
12802 
12803   #ifndef GLVERTEXATTRIB4USVARB_DECL
12804   #define GLVERTEXATTRIB4USVARB_DECL
12805   csGLVERTEXATTRIB4USVARB glVertexAttrib4usvARB;
12806   #endif
12807 
12808   #ifndef GLVERTEXATTRIB4UIVARB_DECL
12809   #define GLVERTEXATTRIB4UIVARB_DECL
12810   csGLVERTEXATTRIB4UIVARB glVertexAttrib4uivARB;
12811   #endif
12812 
12813   #ifndef GLVERTEXATTRIB4FVARB_DECL
12814   #define GLVERTEXATTRIB4FVARB_DECL
12815   csGLVERTEXATTRIB4FVARB glVertexAttrib4fvARB;
12816   #endif
12817 
12818   #ifndef GLVERTEXATTRIB4DVARB_DECL
12819   #define GLVERTEXATTRIB4DVARB_DECL
12820   csGLVERTEXATTRIB4DVARB glVertexAttrib4dvARB;
12821   #endif
12822 
12823   #ifndef GLVERTEXATTRIB4NBVARB_DECL
12824   #define GLVERTEXATTRIB4NBVARB_DECL
12825   csGLVERTEXATTRIB4NBVARB glVertexAttrib4NbvARB;
12826   #endif
12827 
12828   #ifndef GLVERTEXATTRIB4NSVARB_DECL
12829   #define GLVERTEXATTRIB4NSVARB_DECL
12830   csGLVERTEXATTRIB4NSVARB glVertexAttrib4NsvARB;
12831   #endif
12832 
12833   #ifndef GLVERTEXATTRIB4NIVARB_DECL
12834   #define GLVERTEXATTRIB4NIVARB_DECL
12835   csGLVERTEXATTRIB4NIVARB glVertexAttrib4NivARB;
12836   #endif
12837 
12838   #ifndef GLVERTEXATTRIB4NUBVARB_DECL
12839   #define GLVERTEXATTRIB4NUBVARB_DECL
12840   csGLVERTEXATTRIB4NUBVARB glVertexAttrib4NubvARB;
12841   #endif
12842 
12843   #ifndef GLVERTEXATTRIB4NUSVARB_DECL
12844   #define GLVERTEXATTRIB4NUSVARB_DECL
12845   csGLVERTEXATTRIB4NUSVARB glVertexAttrib4NusvARB;
12846   #endif
12847 
12848   #ifndef GLVERTEXATTRIB4NUIVARB_DECL
12849   #define GLVERTEXATTRIB4NUIVARB_DECL
12850   csGLVERTEXATTRIB4NUIVARB glVertexAttrib4NuivARB;
12851   #endif
12852 
12853   #ifndef GLVERTEXATTRIBPOINTERARB_DECL
12854   #define GLVERTEXATTRIBPOINTERARB_DECL
12855   csGLVERTEXATTRIBPOINTERARB glVertexAttribPointerARB;
12856   #endif
12857 
12858   #ifndef GLENABLEVERTEXATTRIBARRAYARB_DECL
12859   #define GLENABLEVERTEXATTRIBARRAYARB_DECL
12860   csGLENABLEVERTEXATTRIBARRAYARB glEnableVertexAttribArrayARB;
12861   #endif
12862 
12863   #ifndef GLDISABLEVERTEXATTRIBARRAYARB_DECL
12864   #define GLDISABLEVERTEXATTRIBARRAYARB_DECL
12865   csGLDISABLEVERTEXATTRIBARRAYARB glDisableVertexAttribArrayARB;
12866   #endif
12867 
12868   #ifndef GLPROGRAMSTRINGARB_DECL
12869   #define GLPROGRAMSTRINGARB_DECL
12870   csGLPROGRAMSTRINGARB glProgramStringARB;
12871   #endif
12872 
12873   #ifndef GLBINDPROGRAMARB_DECL
12874   #define GLBINDPROGRAMARB_DECL
12875   csGLBINDPROGRAMARB glBindProgramARB;
12876   #endif
12877 
12878   #ifndef GLDELETEPROGRAMSARB_DECL
12879   #define GLDELETEPROGRAMSARB_DECL
12880   csGLDELETEPROGRAMSARB glDeleteProgramsARB;
12881   #endif
12882 
12883   #ifndef GLGENPROGRAMSARB_DECL
12884   #define GLGENPROGRAMSARB_DECL
12885   csGLGENPROGRAMSARB glGenProgramsARB;
12886   #endif
12887 
12888   #ifndef GLPROGRAMENVPARAMETER4DARB_DECL
12889   #define GLPROGRAMENVPARAMETER4DARB_DECL
12890   csGLPROGRAMENVPARAMETER4DARB glProgramEnvParameter4dARB;
12891   #endif
12892 
12893   #ifndef GLPROGRAMENVPARAMETER4DVARB_DECL
12894   #define GLPROGRAMENVPARAMETER4DVARB_DECL
12895   csGLPROGRAMENVPARAMETER4DVARB glProgramEnvParameter4dvARB;
12896   #endif
12897 
12898   #ifndef GLPROGRAMENVPARAMETER4FARB_DECL
12899   #define GLPROGRAMENVPARAMETER4FARB_DECL
12900   csGLPROGRAMENVPARAMETER4FARB glProgramEnvParameter4fARB;
12901   #endif
12902 
12903   #ifndef GLPROGRAMENVPARAMETER4FVARB_DECL
12904   #define GLPROGRAMENVPARAMETER4FVARB_DECL
12905   csGLPROGRAMENVPARAMETER4FVARB glProgramEnvParameter4fvARB;
12906   #endif
12907 
12908   #ifndef GLPROGRAMLOCALPARAMETER4DARB_DECL
12909   #define GLPROGRAMLOCALPARAMETER4DARB_DECL
12910   csGLPROGRAMLOCALPARAMETER4DARB glProgramLocalParameter4dARB;
12911   #endif
12912 
12913   #ifndef GLPROGRAMLOCALPARAMETER4DVARB_DECL
12914   #define GLPROGRAMLOCALPARAMETER4DVARB_DECL
12915   csGLPROGRAMLOCALPARAMETER4DVARB glProgramLocalParameter4dvARB;
12916   #endif
12917 
12918   #ifndef GLPROGRAMLOCALPARAMETER4FARB_DECL
12919   #define GLPROGRAMLOCALPARAMETER4FARB_DECL
12920   csGLPROGRAMLOCALPARAMETER4FARB glProgramLocalParameter4fARB;
12921   #endif
12922 
12923   #ifndef GLPROGRAMLOCALPARAMETER4FVARB_DECL
12924   #define GLPROGRAMLOCALPARAMETER4FVARB_DECL
12925   csGLPROGRAMLOCALPARAMETER4FVARB glProgramLocalParameter4fvARB;
12926   #endif
12927 
12928   #ifndef GLGETPROGRAMENVPARAMETERDVARB_DECL
12929   #define GLGETPROGRAMENVPARAMETERDVARB_DECL
12930   csGLGETPROGRAMENVPARAMETERDVARB glGetProgramEnvParameterdvARB;
12931   #endif
12932 
12933   #ifndef GLGETPROGRAMENVPARAMETERFVARB_DECL
12934   #define GLGETPROGRAMENVPARAMETERFVARB_DECL
12935   csGLGETPROGRAMENVPARAMETERFVARB glGetProgramEnvParameterfvARB;
12936   #endif
12937 
12938   #ifndef GLGETPROGRAMLOCALPARAMETERDVARB_DECL
12939   #define GLGETPROGRAMLOCALPARAMETERDVARB_DECL
12940   csGLGETPROGRAMLOCALPARAMETERDVARB glGetProgramLocalParameterdvARB;
12941   #endif
12942 
12943   #ifndef GLGETPROGRAMLOCALPARAMETERFVARB_DECL
12944   #define GLGETPROGRAMLOCALPARAMETERFVARB_DECL
12945   csGLGETPROGRAMLOCALPARAMETERFVARB glGetProgramLocalParameterfvARB;
12946   #endif
12947 
12948   #ifndef GLGETPROGRAMIVARB_DECL
12949   #define GLGETPROGRAMIVARB_DECL
12950   csGLGETPROGRAMIVARB glGetProgramivARB;
12951   #endif
12952 
12953   #ifndef GLGETPROGRAMSTRINGARB_DECL
12954   #define GLGETPROGRAMSTRINGARB_DECL
12955   csGLGETPROGRAMSTRINGARB glGetProgramStringARB;
12956   #endif
12957 
12958   #ifndef GLGETVERTEXATTRIBDVARB_DECL
12959   #define GLGETVERTEXATTRIBDVARB_DECL
12960   csGLGETVERTEXATTRIBDVARB glGetVertexAttribdvARB;
12961   #endif
12962 
12963   #ifndef GLGETVERTEXATTRIBFVARB_DECL
12964   #define GLGETVERTEXATTRIBFVARB_DECL
12965   csGLGETVERTEXATTRIBFVARB glGetVertexAttribfvARB;
12966   #endif
12967 
12968   #ifndef GLGETVERTEXATTRIBIVARB_DECL
12969   #define GLGETVERTEXATTRIBIVARB_DECL
12970   csGLGETVERTEXATTRIBIVARB glGetVertexAttribivARB;
12971   #endif
12972 
12973   #ifndef GLGETVERTEXATTRIBPOINTERVARB_DECL
12974   #define GLGETVERTEXATTRIBPOINTERVARB_DECL
12975   csGLGETVERTEXATTRIBPOINTERVARB glGetVertexAttribPointervARB;
12976   #endif
12977 
12978   #ifndef GLISPROGRAMARB_DECL
12979   #define GLISPROGRAMARB_DECL
12980   csGLISPROGRAMARB glIsProgramARB;
12981   #endif
12982 
12983 
12988   #ifndef GLWINDOWPOS2DARB_DECL
12989   #define GLWINDOWPOS2DARB_DECL
12990   csGLWINDOWPOS2DARB glWindowPos2dARB;
12991   #endif
12992 
12993   #ifndef GLWINDOWPOS2FARB_DECL
12994   #define GLWINDOWPOS2FARB_DECL
12995   csGLWINDOWPOS2FARB glWindowPos2fARB;
12996   #endif
12997 
12998   #ifndef GLWINDOWPOS2IARB_DECL
12999   #define GLWINDOWPOS2IARB_DECL
13000   csGLWINDOWPOS2IARB glWindowPos2iARB;
13001   #endif
13002 
13003   #ifndef GLWINDOWPOS2SARB_DECL
13004   #define GLWINDOWPOS2SARB_DECL
13005   csGLWINDOWPOS2SARB glWindowPos2sARB;
13006   #endif
13007 
13008   #ifndef GLWINDOWPOS2DVARB_DECL
13009   #define GLWINDOWPOS2DVARB_DECL
13010   csGLWINDOWPOS2DVARB glWindowPos2dvARB;
13011   #endif
13012 
13013   #ifndef GLWINDOWPOS2FVARB_DECL
13014   #define GLWINDOWPOS2FVARB_DECL
13015   csGLWINDOWPOS2FVARB glWindowPos2fvARB;
13016   #endif
13017 
13018   #ifndef GLWINDOWPOS2IVARB_DECL
13019   #define GLWINDOWPOS2IVARB_DECL
13020   csGLWINDOWPOS2IVARB glWindowPos2ivARB;
13021   #endif
13022 
13023   #ifndef GLWINDOWPOS2SVARB_DECL
13024   #define GLWINDOWPOS2SVARB_DECL
13025   csGLWINDOWPOS2SVARB glWindowPos2svARB;
13026   #endif
13027 
13028   #ifndef GLWINDOWPOS3DARB_DECL
13029   #define GLWINDOWPOS3DARB_DECL
13030   csGLWINDOWPOS3DARB glWindowPos3dARB;
13031   #endif
13032 
13033   #ifndef GLWINDOWPOS3FARB_DECL
13034   #define GLWINDOWPOS3FARB_DECL
13035   csGLWINDOWPOS3FARB glWindowPos3fARB;
13036   #endif
13037 
13038   #ifndef GLWINDOWPOS3IARB_DECL
13039   #define GLWINDOWPOS3IARB_DECL
13040   csGLWINDOWPOS3IARB glWindowPos3iARB;
13041   #endif
13042 
13043   #ifndef GLWINDOWPOS3SARB_DECL
13044   #define GLWINDOWPOS3SARB_DECL
13045   csGLWINDOWPOS3SARB glWindowPos3sARB;
13046   #endif
13047 
13048   #ifndef GLWINDOWPOS3DVARB_DECL
13049   #define GLWINDOWPOS3DVARB_DECL
13050   csGLWINDOWPOS3DVARB glWindowPos3dvARB;
13051   #endif
13052 
13053   #ifndef GLWINDOWPOS3FVARB_DECL
13054   #define GLWINDOWPOS3FVARB_DECL
13055   csGLWINDOWPOS3FVARB glWindowPos3fvARB;
13056   #endif
13057 
13058   #ifndef GLWINDOWPOS3IVARB_DECL
13059   #define GLWINDOWPOS3IVARB_DECL
13060   csGLWINDOWPOS3IVARB glWindowPos3ivARB;
13061   #endif
13062 
13063   #ifndef GLWINDOWPOS3SVARB_DECL
13064   #define GLWINDOWPOS3SVARB_DECL
13065   csGLWINDOWPOS3SVARB glWindowPos3svARB;
13066   #endif
13067 
13068 
13088   #ifndef GLBLENDCOLOREXT_DECL
13089   #define GLBLENDCOLOREXT_DECL
13090   csGLBLENDCOLOREXT glBlendColorEXT;
13091   #endif
13092 
13093 
13098   #ifndef GLBLENDFUNCSEPARATEEXT_DECL
13099   #define GLBLENDFUNCSEPARATEEXT_DECL
13100   csGLBLENDFUNCSEPARATEEXT glBlendFuncSeparateEXT;
13101   #endif
13102 
13103 
13113   #ifndef GLBLENDEQUATIONEXT_DECL
13114   #define GLBLENDEQUATIONEXT_DECL
13115   csGLBLENDEQUATIONEXT glBlendEquationEXT;
13116   #endif
13117 
13118 
13133   #ifndef GLCOLORSUBTABLEEXT_DECL
13134   #define GLCOLORSUBTABLEEXT_DECL
13135   csGLCOLORSUBTABLEEXT glColorSubTableEXT;
13136   #endif
13137 
13138   #ifndef GLCOPYCOLORSUBTABLEEXT_DECL
13139   #define GLCOPYCOLORSUBTABLEEXT_DECL
13140   csGLCOPYCOLORSUBTABLEEXT glCopyColorSubTableEXT;
13141   #endif
13142 
13143 
13148   #ifndef GLLOCKARRAYSEXT_DECL
13149   #define GLLOCKARRAYSEXT_DECL
13150   csGLLOCKARRAYSEXT glLockArraysEXT;
13151   #endif
13152 
13153   #ifndef GLUNLOCKARRAYSEXT_DECL
13154   #define GLUNLOCKARRAYSEXT_DECL
13155   csGLUNLOCKARRAYSEXT glUnlockArraysEXT;
13156   #endif
13157 
13158 
13163   #ifndef GLCONVOLUTIONFILTER1DEXT_DECL
13164   #define GLCONVOLUTIONFILTER1DEXT_DECL
13165   csGLCONVOLUTIONFILTER1DEXT glConvolutionFilter1DEXT;
13166   #endif
13167 
13168   #ifndef GLCONVOLUTIONFILTER2DEXT_DECL
13169   #define GLCONVOLUTIONFILTER2DEXT_DECL
13170   csGLCONVOLUTIONFILTER2DEXT glConvolutionFilter2DEXT;
13171   #endif
13172 
13173   #ifndef GLCOPYCONVOLUTIONFILTER1DEXT_DECL
13174   #define GLCOPYCONVOLUTIONFILTER1DEXT_DECL
13175   csGLCOPYCONVOLUTIONFILTER1DEXT glCopyConvolutionFilter1DEXT;
13176   #endif
13177 
13178   #ifndef GLCOPYCONVOLUTIONFILTER2DEXT_DECL
13179   #define GLCOPYCONVOLUTIONFILTER2DEXT_DECL
13180   csGLCOPYCONVOLUTIONFILTER2DEXT glCopyConvolutionFilter2DEXT;
13181   #endif
13182 
13183   #ifndef GLGETCONVOLUTIONFILTEREXT_DECL
13184   #define GLGETCONVOLUTIONFILTEREXT_DECL
13185   csGLGETCONVOLUTIONFILTEREXT glGetConvolutionFilterEXT;
13186   #endif
13187 
13188   #ifndef GLSEPARABLEFILTER2DEXT_DECL
13189   #define GLSEPARABLEFILTER2DEXT_DECL
13190   csGLSEPARABLEFILTER2DEXT glSeparableFilter2DEXT;
13191   #endif
13192 
13193   #ifndef GLGETSEPARABLEFILTEREXT_DECL
13194   #define GLGETSEPARABLEFILTEREXT_DECL
13195   csGLGETSEPARABLEFILTEREXT glGetSeparableFilterEXT;
13196   #endif
13197 
13198   #ifndef GLCONVOLUTIONPARAMETERIEXT_DECL
13199   #define GLCONVOLUTIONPARAMETERIEXT_DECL
13200   csGLCONVOLUTIONPARAMETERIEXT glConvolutionParameteriEXT;
13201   #endif
13202 
13203   #ifndef GLCONVOLUTIONPARAMETERIVEXT_DECL
13204   #define GLCONVOLUTIONPARAMETERIVEXT_DECL
13205   csGLCONVOLUTIONPARAMETERIVEXT glConvolutionParameterivEXT;
13206   #endif
13207 
13208   #ifndef GLCONVOLUTIONPARAMETERFEXT_DECL
13209   #define GLCONVOLUTIONPARAMETERFEXT_DECL
13210   csGLCONVOLUTIONPARAMETERFEXT glConvolutionParameterfEXT;
13211   #endif
13212 
13213   #ifndef GLCONVOLUTIONPARAMETERFVEXT_DECL
13214   #define GLCONVOLUTIONPARAMETERFVEXT_DECL
13215   csGLCONVOLUTIONPARAMETERFVEXT glConvolutionParameterfvEXT;
13216   #endif
13217 
13218   #ifndef GLGETCONVOLUTIONPARAMETERIVEXT_DECL
13219   #define GLGETCONVOLUTIONPARAMETERIVEXT_DECL
13220   csGLGETCONVOLUTIONPARAMETERIVEXT glGetConvolutionParameterivEXT;
13221   #endif
13222 
13223   #ifndef GLGETCONVOLUTIONPARAMETERFVEXT_DECL
13224   #define GLGETCONVOLUTIONPARAMETERFVEXT_DECL
13225   csGLGETCONVOLUTIONPARAMETERFVEXT glGetConvolutionParameterfvEXT;
13226   #endif
13227 
13228 
13233   #ifndef GLFOGCOORDFEXT_DECL
13234   #define GLFOGCOORDFEXT_DECL
13235   csGLFOGCOORDFEXT glFogCoordfEXT;
13236   #endif
13237 
13238   #ifndef GLFOGCOORDDEXT_DECL
13239   #define GLFOGCOORDDEXT_DECL
13240   csGLFOGCOORDDEXT glFogCoorddEXT;
13241   #endif
13242 
13243   #ifndef GLFOGCOORDFVEXT_DECL
13244   #define GLFOGCOORDFVEXT_DECL
13245   csGLFOGCOORDFVEXT glFogCoordfvEXT;
13246   #endif
13247 
13248   #ifndef GLFOGCOORDDVEXT_DECL
13249   #define GLFOGCOORDDVEXT_DECL
13250   csGLFOGCOORDDVEXT glFogCoorddvEXT;
13251   #endif
13252 
13253   #ifndef GLFOGCOORDPOINTEREXT_DECL
13254   #define GLFOGCOORDPOINTEREXT_DECL
13255   csGLFOGCOORDPOINTEREXT glFogCoordPointerEXT;
13256   #endif
13257 
13258 
13263   #ifndef GLHISTOGRAMEXT_DECL
13264   #define GLHISTOGRAMEXT_DECL
13265   csGLHISTOGRAMEXT glHistogramEXT;
13266   #endif
13267 
13268   #ifndef GLRESETHISTOGRAMEXT_DECL
13269   #define GLRESETHISTOGRAMEXT_DECL
13270   csGLRESETHISTOGRAMEXT glResetHistogramEXT;
13271   #endif
13272 
13273   #ifndef GLGETHISTOGRAMEXT_DECL
13274   #define GLGETHISTOGRAMEXT_DECL
13275   csGLGETHISTOGRAMEXT glGetHistogramEXT;
13276   #endif
13277 
13278   #ifndef GLGETHISTOGRAMPARAMETERIVEXT_DECL
13279   #define GLGETHISTOGRAMPARAMETERIVEXT_DECL
13280   csGLGETHISTOGRAMPARAMETERIVEXT glGetHistogramParameterivEXT;
13281   #endif
13282 
13283   #ifndef GLGETHISTOGRAMPARAMETERFVEXT_DECL
13284   #define GLGETHISTOGRAMPARAMETERFVEXT_DECL
13285   csGLGETHISTOGRAMPARAMETERFVEXT glGetHistogramParameterfvEXT;
13286   #endif
13287 
13288   #ifndef GLMINMAXEXT_DECL
13289   #define GLMINMAXEXT_DECL
13290   csGLMINMAXEXT glMinmaxEXT;
13291   #endif
13292 
13293   #ifndef GLRESETMINMAXEXT_DECL
13294   #define GLRESETMINMAXEXT_DECL
13295   csGLRESETMINMAXEXT glResetMinmaxEXT;
13296   #endif
13297 
13298   #ifndef GLGETMINMAXEXT_DECL
13299   #define GLGETMINMAXEXT_DECL
13300   csGLGETMINMAXEXT glGetMinmaxEXT;
13301   #endif
13302 
13303   #ifndef GLGETMINMAXPARAMETERIVEXT_DECL
13304   #define GLGETMINMAXPARAMETERIVEXT_DECL
13305   csGLGETMINMAXPARAMETERIVEXT glGetMinmaxParameterivEXT;
13306   #endif
13307 
13308   #ifndef GLGETMINMAXPARAMETERFVEXT_DECL
13309   #define GLGETMINMAXPARAMETERFVEXT_DECL
13310   csGLGETMINMAXPARAMETERFVEXT glGetMinmaxParameterfvEXT;
13311   #endif
13312 
13313 
13318   #ifndef GLMULTIDRAWARRAYSEXT_DECL
13319   #define GLMULTIDRAWARRAYSEXT_DECL
13320   csGLMULTIDRAWARRAYSEXT glMultiDrawArraysEXT;
13321   #endif
13322 
13323   #ifndef GLMULTIDRAWELEMENTSEXT_DECL
13324   #define GLMULTIDRAWELEMENTSEXT_DECL
13325   csGLMULTIDRAWELEMENTSEXT glMultiDrawElementsEXT;
13326   #endif
13327 
13328 
13338   #ifndef GLCOLORTABLEEXT_DECL
13339   #define GLCOLORTABLEEXT_DECL
13340   csGLCOLORTABLEEXT glColorTableEXT;
13341   #endif
13342 
13343   #ifndef GLGETCOLORTABLEEXT_DECL
13344   #define GLGETCOLORTABLEEXT_DECL
13345   csGLGETCOLORTABLEEXT glGetColorTableEXT;
13346   #endif
13347 
13348   #ifndef GLGETCOLORTABLEPARAMETERIVEXT_DECL
13349   #define GLGETCOLORTABLEPARAMETERIVEXT_DECL
13350   csGLGETCOLORTABLEPARAMETERIVEXT glGetColorTableParameterivEXT;
13351   #endif
13352 
13353   #ifndef GLGETCOLORTABLEPARAMETERFVEXT_DECL
13354   #define GLGETCOLORTABLEPARAMETERFVEXT_DECL
13355   csGLGETCOLORTABLEPARAMETERFVEXT glGetColorTableParameterfvEXT;
13356   #endif
13357 
13358 
13363   #ifndef GLPOINTPARAMETERFEXT_DECL
13364   #define GLPOINTPARAMETERFEXT_DECL
13365   csGLPOINTPARAMETERFEXT glPointParameterfEXT;
13366   #endif
13367 
13368   #ifndef GLPOINTPARAMETERFVEXT_DECL
13369   #define GLPOINTPARAMETERFVEXT_DECL
13370   csGLPOINTPARAMETERFVEXT glPointParameterfvEXT;
13371   #endif
13372 
13373 
13378   #ifndef GLPOLYGONOFFSETEXT_DECL
13379   #define GLPOLYGONOFFSETEXT_DECL
13380   csGLPOLYGONOFFSETEXT glPolygonOffsetEXT;
13381   #endif
13382 
13383 
13388   #ifndef GLSECONDARYCOLOR3BEXT_DECL
13389   #define GLSECONDARYCOLOR3BEXT_DECL
13390   csGLSECONDARYCOLOR3BEXT glSecondaryColor3bEXT;
13391   #endif
13392 
13393   #ifndef GLSECONDARYCOLOR3SEXT_DECL
13394   #define GLSECONDARYCOLOR3SEXT_DECL
13395   csGLSECONDARYCOLOR3SEXT glSecondaryColor3sEXT;
13396   #endif
13397 
13398   #ifndef GLSECONDARYCOLOR3IEXT_DECL
13399   #define GLSECONDARYCOLOR3IEXT_DECL
13400   csGLSECONDARYCOLOR3IEXT glSecondaryColor3iEXT;
13401   #endif
13402 
13403   #ifndef GLSECONDARYCOLOR3FEXT_DECL
13404   #define GLSECONDARYCOLOR3FEXT_DECL
13405   csGLSECONDARYCOLOR3FEXT glSecondaryColor3fEXT;
13406   #endif
13407 
13408   #ifndef GLSECONDARYCOLOR3DEXT_DECL
13409   #define GLSECONDARYCOLOR3DEXT_DECL
13410   csGLSECONDARYCOLOR3DEXT glSecondaryColor3dEXT;
13411   #endif
13412 
13413   #ifndef GLSECONDARYCOLOR3UBEXT_DECL
13414   #define GLSECONDARYCOLOR3UBEXT_DECL
13415   csGLSECONDARYCOLOR3UBEXT glSecondaryColor3ubEXT;
13416   #endif
13417 
13418   #ifndef GLSECONDARYCOLOR3USEXT_DECL
13419   #define GLSECONDARYCOLOR3USEXT_DECL
13420   csGLSECONDARYCOLOR3USEXT glSecondaryColor3usEXT;
13421   #endif
13422 
13423   #ifndef GLSECONDARYCOLOR3UIEXT_DECL
13424   #define GLSECONDARYCOLOR3UIEXT_DECL
13425   csGLSECONDARYCOLOR3UIEXT glSecondaryColor3uiEXT;
13426   #endif
13427 
13428   #ifndef GLSECONDARYCOLOR3BVEXT_DECL
13429   #define GLSECONDARYCOLOR3BVEXT_DECL
13430   csGLSECONDARYCOLOR3BVEXT glSecondaryColor3bvEXT;
13431   #endif
13432 
13433   #ifndef GLSECONDARYCOLOR3SVEXT_DECL
13434   #define GLSECONDARYCOLOR3SVEXT_DECL
13435   csGLSECONDARYCOLOR3SVEXT glSecondaryColor3svEXT;
13436   #endif
13437 
13438   #ifndef GLSECONDARYCOLOR3IVEXT_DECL
13439   #define GLSECONDARYCOLOR3IVEXT_DECL
13440   csGLSECONDARYCOLOR3IVEXT glSecondaryColor3ivEXT;
13441   #endif
13442 
13443   #ifndef GLSECONDARYCOLOR3FVEXT_DECL
13444   #define GLSECONDARYCOLOR3FVEXT_DECL
13445   csGLSECONDARYCOLOR3FVEXT glSecondaryColor3fvEXT;
13446   #endif
13447 
13448   #ifndef GLSECONDARYCOLOR3DVEXT_DECL
13449   #define GLSECONDARYCOLOR3DVEXT_DECL
13450   csGLSECONDARYCOLOR3DVEXT glSecondaryColor3dvEXT;
13451   #endif
13452 
13453   #ifndef GLSECONDARYCOLOR3UBVEXT_DECL
13454   #define GLSECONDARYCOLOR3UBVEXT_DECL
13455   csGLSECONDARYCOLOR3UBVEXT glSecondaryColor3ubvEXT;
13456   #endif
13457 
13458   #ifndef GLSECONDARYCOLOR3USVEXT_DECL
13459   #define GLSECONDARYCOLOR3USVEXT_DECL
13460   csGLSECONDARYCOLOR3USVEXT glSecondaryColor3usvEXT;
13461   #endif
13462 
13463   #ifndef GLSECONDARYCOLOR3UIVEXT_DECL
13464   #define GLSECONDARYCOLOR3UIVEXT_DECL
13465   csGLSECONDARYCOLOR3UIVEXT glSecondaryColor3uivEXT;
13466   #endif
13467 
13468   #ifndef GLSECONDARYCOLORPOINTEREXT_DECL
13469   #define GLSECONDARYCOLORPOINTEREXT_DECL
13470   csGLSECONDARYCOLORPOINTEREXT glSecondaryColorPointerEXT;
13471   #endif
13472 
13473 
13493   #ifndef GLACTIVESTENCILFACEEXT_DECL
13494   #define GLACTIVESTENCILFACEEXT_DECL
13495   csGLACTIVESTENCILFACEEXT glActiveStencilFaceEXT;
13496   #endif
13497 
13498 
13508   #ifndef GLTEXSUBIMAGE1DEXT_DECL
13509   #define GLTEXSUBIMAGE1DEXT_DECL
13510   csGLTEXSUBIMAGE1DEXT glTexSubImage1DEXT;
13511   #endif
13512 
13513   #ifndef GLTEXSUBIMAGE2DEXT_DECL
13514   #define GLTEXSUBIMAGE2DEXT_DECL
13515   csGLTEXSUBIMAGE2DEXT glTexSubImage2DEXT;
13516   #endif
13517 
13518   #ifndef GLTEXSUBIMAGE3DEXT_DECL
13519   #define GLTEXSUBIMAGE3DEXT_DECL
13520   csGLTEXSUBIMAGE3DEXT glTexSubImage3DEXT;
13521   #endif
13522 
13523 
13528   #ifndef GLTEXIMAGE3DEXT_DECL
13529   #define GLTEXIMAGE3DEXT_DECL
13530   csGLTEXIMAGE3DEXT glTexImage3DEXT;
13531   #endif
13532 
13533 
13568   #ifndef GLGENTEXTURESEXT_DECL
13569   #define GLGENTEXTURESEXT_DECL
13570   csGLGENTEXTURESEXT glGenTexturesEXT;
13571   #endif
13572 
13573   #ifndef GLDELETETEXTURESEXT_DECL
13574   #define GLDELETETEXTURESEXT_DECL
13575   csGLDELETETEXTURESEXT glDeleteTexturesEXT;
13576   #endif
13577 
13578   #ifndef GLBINDTEXTUREEXT_DECL
13579   #define GLBINDTEXTUREEXT_DECL
13580   csGLBINDTEXTUREEXT glBindTextureEXT;
13581   #endif
13582 
13583   #ifndef GLPRIORITIZETEXTURESEXT_DECL
13584   #define GLPRIORITIZETEXTURESEXT_DECL
13585   csGLPRIORITIZETEXTURESEXT glPrioritizeTexturesEXT;
13586   #endif
13587 
13588   #ifndef GLARETEXTURESRESIDENTEXT_DECL
13589   #define GLARETEXTURESRESIDENTEXT_DECL
13590   csGLARETEXTURESRESIDENTEXT glAreTexturesResidentEXT;
13591   #endif
13592 
13593   #ifndef GLISTEXTUREEXT_DECL
13594   #define GLISTEXTUREEXT_DECL
13595   csGLISTEXTUREEXT glIsTextureEXT;
13596   #endif
13597 
13598 
13603   #ifndef GLARRAYELEMENTEXT_DECL
13604   #define GLARRAYELEMENTEXT_DECL
13605   csGLARRAYELEMENTEXT glArrayElementEXT;
13606   #endif
13607 
13608   #ifndef GLDRAWARRAYSEXT_DECL
13609   #define GLDRAWARRAYSEXT_DECL
13610   csGLDRAWARRAYSEXT glDrawArraysEXT;
13611   #endif
13612 
13613   #ifndef GLVERTEXPOINTEREXT_DECL
13614   #define GLVERTEXPOINTEREXT_DECL
13615   csGLVERTEXPOINTEREXT glVertexPointerEXT;
13616   #endif
13617 
13618   #ifndef GLNORMALPOINTEREXT_DECL
13619   #define GLNORMALPOINTEREXT_DECL
13620   csGLNORMALPOINTEREXT glNormalPointerEXT;
13621   #endif
13622 
13623   #ifndef GLCOLORPOINTEREXT_DECL
13624   #define GLCOLORPOINTEREXT_DECL
13625   csGLCOLORPOINTEREXT glColorPointerEXT;
13626   #endif
13627 
13628   #ifndef GLINDEXPOINTEREXT_DECL
13629   #define GLINDEXPOINTEREXT_DECL
13630   csGLINDEXPOINTEREXT glIndexPointerEXT;
13631   #endif
13632 
13633   #ifndef GLTEXCOORDPOINTEREXT_DECL
13634   #define GLTEXCOORDPOINTEREXT_DECL
13635   csGLTEXCOORDPOINTEREXT glTexCoordPointerEXT;
13636   #endif
13637 
13638   #ifndef GLEDGEFLAGPOINTEREXT_DECL
13639   #define GLEDGEFLAGPOINTEREXT_DECL
13640   csGLEDGEFLAGPOINTEREXT glEdgeFlagPointerEXT;
13641   #endif
13642 
13643   #ifndef GLGETPOINTERVEXT_DECL
13644   #define GLGETPOINTERVEXT_DECL
13645   csGLGETPOINTERVEXT glGetPointervEXT;
13646   #endif
13647 
13648 
13653   #ifndef GLBEGINVERTEXSHADEREXT_DECL
13654   #define GLBEGINVERTEXSHADEREXT_DECL
13655   csGLBEGINVERTEXSHADEREXT glBeginVertexShaderEXT;
13656   #endif
13657 
13658   #ifndef GLENDVERTEXSHADEREXT_DECL
13659   #define GLENDVERTEXSHADEREXT_DECL
13660   csGLENDVERTEXSHADEREXT glEndVertexShaderEXT;
13661   #endif
13662 
13663   #ifndef GLBINDVERTEXSHADEREXT_DECL
13664   #define GLBINDVERTEXSHADEREXT_DECL
13665   csGLBINDVERTEXSHADEREXT glBindVertexShaderEXT;
13666   #endif
13667 
13668   #ifndef GLGENVERTEXSHADERSEXT_DECL
13669   #define GLGENVERTEXSHADERSEXT_DECL
13670   csGLGENVERTEXSHADERSEXT glGenVertexShadersEXT;
13671   #endif
13672 
13673   #ifndef GLDELETEVERTEXSHADEREXT_DECL
13674   #define GLDELETEVERTEXSHADEREXT_DECL
13675   csGLDELETEVERTEXSHADEREXT glDeleteVertexShaderEXT;
13676   #endif
13677 
13678   #ifndef GLSHADEROP1EXT_DECL
13679   #define GLSHADEROP1EXT_DECL
13680   csGLSHADEROP1EXT glShaderOp1EXT;
13681   #endif
13682 
13683   #ifndef GLSHADEROP2EXT_DECL
13684   #define GLSHADEROP2EXT_DECL
13685   csGLSHADEROP2EXT glShaderOp2EXT;
13686   #endif
13687 
13688   #ifndef GLSHADEROP3EXT_DECL
13689   #define GLSHADEROP3EXT_DECL
13690   csGLSHADEROP3EXT glShaderOp3EXT;
13691   #endif
13692 
13693   #ifndef GLSWIZZLEEXT_DECL
13694   #define GLSWIZZLEEXT_DECL
13695   csGLSWIZZLEEXT glSwizzleEXT;
13696   #endif
13697 
13698   #ifndef GLWRITEMASKEXT_DECL
13699   #define GLWRITEMASKEXT_DECL
13700   csGLWRITEMASKEXT glWriteMaskEXT;
13701   #endif
13702 
13703   #ifndef GLINSERTCOMPONENTEXT_DECL
13704   #define GLINSERTCOMPONENTEXT_DECL
13705   csGLINSERTCOMPONENTEXT glInsertComponentEXT;
13706   #endif
13707 
13708   #ifndef GLEXTRACTCOMPONENTEXT_DECL
13709   #define GLEXTRACTCOMPONENTEXT_DECL
13710   csGLEXTRACTCOMPONENTEXT glExtractComponentEXT;
13711   #endif
13712 
13713   #ifndef GLGENSYMBOLSEXT_DECL
13714   #define GLGENSYMBOLSEXT_DECL
13715   csGLGENSYMBOLSEXT glGenSymbolsEXT;
13716   #endif
13717 
13718   #ifndef GLSETINVARIANTEXT_DECL
13719   #define GLSETINVARIANTEXT_DECL
13720   csGLSETINVARIANTEXT glSetInvariantEXT;
13721   #endif
13722 
13723   #ifndef GLSETLOCALCONSTANTEXT_DECL
13724   #define GLSETLOCALCONSTANTEXT_DECL
13725   csGLSETLOCALCONSTANTEXT glSetLocalConstantEXT;
13726   #endif
13727 
13728   #ifndef GLVARIANTBVEXT_DECL
13729   #define GLVARIANTBVEXT_DECL
13730   csGLVARIANTBVEXT glVariantbvEXT;
13731   #endif
13732 
13733   #ifndef GLVARIANTSVEXT_DECL
13734   #define GLVARIANTSVEXT_DECL
13735   csGLVARIANTSVEXT glVariantsvEXT;
13736   #endif
13737 
13738   #ifndef GLVARIANTIVEXT_DECL
13739   #define GLVARIANTIVEXT_DECL
13740   csGLVARIANTIVEXT glVariantivEXT;
13741   #endif
13742 
13743   #ifndef GLVARIANTFVEXT_DECL
13744   #define GLVARIANTFVEXT_DECL
13745   csGLVARIANTFVEXT glVariantfvEXT;
13746   #endif
13747 
13748   #ifndef GLVARIANTDVEXT_DECL
13749   #define GLVARIANTDVEXT_DECL
13750   csGLVARIANTDVEXT glVariantdvEXT;
13751   #endif
13752 
13753   #ifndef GLVARIANTUBVEXT_DECL
13754   #define GLVARIANTUBVEXT_DECL
13755   csGLVARIANTUBVEXT glVariantubvEXT;
13756   #endif
13757 
13758   #ifndef GLVARIANTUSVEXT_DECL
13759   #define GLVARIANTUSVEXT_DECL
13760   csGLVARIANTUSVEXT glVariantusvEXT;
13761   #endif
13762 
13763   #ifndef GLVARIANTUIVEXT_DECL
13764   #define GLVARIANTUIVEXT_DECL
13765   csGLVARIANTUIVEXT glVariantuivEXT;
13766   #endif
13767 
13768   #ifndef GLVARIANTPOINTEREXT_DECL
13769   #define GLVARIANTPOINTEREXT_DECL
13770   csGLVARIANTPOINTEREXT glVariantPointerEXT;
13771   #endif
13772 
13773   #ifndef GLENABLEVARIANTCLIENTSTATEEXT_DECL
13774   #define GLENABLEVARIANTCLIENTSTATEEXT_DECL
13775   csGLENABLEVARIANTCLIENTSTATEEXT glEnableVariantClientStateEXT;
13776   #endif
13777 
13778   #ifndef GLDISABLEVARIANTCLIENTSTATEEXT_DECL
13779   #define GLDISABLEVARIANTCLIENTSTATEEXT_DECL
13780   csGLDISABLEVARIANTCLIENTSTATEEXT glDisableVariantClientStateEXT;
13781   #endif
13782 
13783   #ifndef GLBINDLIGHTPARAMETEREXT_DECL
13784   #define GLBINDLIGHTPARAMETEREXT_DECL
13785   csGLBINDLIGHTPARAMETEREXT glBindLightParameterEXT;
13786   #endif
13787 
13788   #ifndef GLBINDMATERIALPARAMETEREXT_DECL
13789   #define GLBINDMATERIALPARAMETEREXT_DECL
13790   csGLBINDMATERIALPARAMETEREXT glBindMaterialParameterEXT;
13791   #endif
13792 
13793   #ifndef GLBINDTEXGENPARAMETEREXT_DECL
13794   #define GLBINDTEXGENPARAMETEREXT_DECL
13795   csGLBINDTEXGENPARAMETEREXT glBindTexGenParameterEXT;
13796   #endif
13797 
13798   #ifndef GLBINDTEXTUREUNITPARAMETEREXT_DECL
13799   #define GLBINDTEXTUREUNITPARAMETEREXT_DECL
13800   csGLBINDTEXTUREUNITPARAMETEREXT glBindTextureUnitParameterEXT;
13801   #endif
13802 
13803   #ifndef GLBINDPARAMETEREXT_DECL
13804   #define GLBINDPARAMETEREXT_DECL
13805   csGLBINDPARAMETEREXT glBindParameterEXT;
13806   #endif
13807 
13808   #ifndef GLISVARIANTENABLEDEXT_DECL
13809   #define GLISVARIANTENABLEDEXT_DECL
13810   csGLISVARIANTENABLEDEXT glIsVariantEnabledEXT;
13811   #endif
13812 
13813   #ifndef GLGETVARIANTBOOLEANVEXT_DECL
13814   #define GLGETVARIANTBOOLEANVEXT_DECL
13815   csGLGETVARIANTBOOLEANVEXT glGetVariantBooleanvEXT;
13816   #endif
13817 
13818   #ifndef GLGETVARIANTINTEGERVEXT_DECL
13819   #define GLGETVARIANTINTEGERVEXT_DECL
13820   csGLGETVARIANTINTEGERVEXT glGetVariantIntegervEXT;
13821   #endif
13822 
13823   #ifndef GLGETVARIANTFLOATVEXT_DECL
13824   #define GLGETVARIANTFLOATVEXT_DECL
13825   csGLGETVARIANTFLOATVEXT glGetVariantFloatvEXT;
13826   #endif
13827 
13828   #ifndef GLGETVARIANTPOINTERVEXT_DECL
13829   #define GLGETVARIANTPOINTERVEXT_DECL
13830   csGLGETVARIANTPOINTERVEXT glGetVariantPointervEXT;
13831   #endif
13832 
13833   #ifndef GLGETINVARIANTBOOLEANVEXT_DECL
13834   #define GLGETINVARIANTBOOLEANVEXT_DECL
13835   csGLGETINVARIANTBOOLEANVEXT glGetInvariantBooleanvEXT;
13836   #endif
13837 
13838   #ifndef GLGETINVARIANTINTEGERVEXT_DECL
13839   #define GLGETINVARIANTINTEGERVEXT_DECL
13840   csGLGETINVARIANTINTEGERVEXT glGetInvariantIntegervEXT;
13841   #endif
13842 
13843   #ifndef GLGETINVARIANTFLOATVEXT_DECL
13844   #define GLGETINVARIANTFLOATVEXT_DECL
13845   csGLGETINVARIANTFLOATVEXT glGetInvariantFloatvEXT;
13846   #endif
13847 
13848   #ifndef GLGETLOCALCONSTANTBOOLEANVEXT_DECL
13849   #define GLGETLOCALCONSTANTBOOLEANVEXT_DECL
13850   csGLGETLOCALCONSTANTBOOLEANVEXT glGetLocalConstantBooleanvEXT;
13851   #endif
13852 
13853   #ifndef GLGETLOCALCONSTANTINTEGERVEXT_DECL
13854   #define GLGETLOCALCONSTANTINTEGERVEXT_DECL
13855   csGLGETLOCALCONSTANTINTEGERVEXT glGetLocalConstantIntegervEXT;
13856   #endif
13857 
13858   #ifndef GLGETLOCALCONSTANTFLOATVEXT_DECL
13859   #define GLGETLOCALCONSTANTFLOATVEXT_DECL
13860   csGLGETLOCALCONSTANTFLOATVEXT glGetLocalConstantFloatvEXT;
13861   #endif
13862 
13863 
13868   #ifndef GLVERTEXWEIGHTFEXT_DECL
13869   #define GLVERTEXWEIGHTFEXT_DECL
13870   csGLVERTEXWEIGHTFEXT glVertexWeightfEXT;
13871   #endif
13872 
13873   #ifndef GLVERTEXWEIGHTFVEXT_DECL
13874   #define GLVERTEXWEIGHTFVEXT_DECL
13875   csGLVERTEXWEIGHTFVEXT glVertexWeightfvEXT;
13876   #endif
13877 
13878   #ifndef GLVERTEXWEIGHTPOINTEREXT_DECL
13879   #define GLVERTEXWEIGHTPOINTEREXT_DECL
13880   csGLVERTEXWEIGHTPOINTEREXT glVertexWeightPointerEXT;
13881   #endif
13882 
13883 
13908   #ifndef GLMAPCONTROLPOINTSNV_DECL
13909   #define GLMAPCONTROLPOINTSNV_DECL
13910   csGLMAPCONTROLPOINTSNV glMapControlPointsNV;
13911   #endif
13912 
13913   #ifndef GLMAPPARAMETERIVNV_DECL
13914   #define GLMAPPARAMETERIVNV_DECL
13915   csGLMAPPARAMETERIVNV glMapParameterivNV;
13916   #endif
13917 
13918   #ifndef GLMAPPARAMETERFVNV_DECL
13919   #define GLMAPPARAMETERFVNV_DECL
13920   csGLMAPPARAMETERFVNV glMapParameterfvNV;
13921   #endif
13922 
13923   #ifndef GLGETMAPCONTROLPOINTSNV_DECL
13924   #define GLGETMAPCONTROLPOINTSNV_DECL
13925   csGLGETMAPCONTROLPOINTSNV glGetMapControlPointsNV;
13926   #endif
13927 
13928   #ifndef GLGETMAPPARAMETERIVNV_DECL
13929   #define GLGETMAPPARAMETERIVNV_DECL
13930   csGLGETMAPPARAMETERIVNV glGetMapParameterivNV;
13931   #endif
13932 
13933   #ifndef GLGETMAPPARAMETERFVNV_DECL
13934   #define GLGETMAPPARAMETERFVNV_DECL
13935   csGLGETMAPPARAMETERFVNV glGetMapParameterfvNV;
13936   #endif
13937 
13938   #ifndef GLGETMAPATTRIBPARAMETERIVNV_DECL
13939   #define GLGETMAPATTRIBPARAMETERIVNV_DECL
13940   csGLGETMAPATTRIBPARAMETERIVNV glGetMapAttribParameterivNV;
13941   #endif
13942 
13943   #ifndef GLGETMAPATTRIBPARAMETERFVNV_DECL
13944   #define GLGETMAPATTRIBPARAMETERFVNV_DECL
13945   csGLGETMAPATTRIBPARAMETERFVNV glGetMapAttribParameterfvNV;
13946   #endif
13947 
13948   #ifndef GLEVALMAPSNV_DECL
13949   #define GLEVALMAPSNV_DECL
13950   csGLEVALMAPSNV glEvalMapsNV;
13951   #endif
13952 
13953 
13958   #ifndef GLGENFENCESNV_DECL
13959   #define GLGENFENCESNV_DECL
13960   csGLGENFENCESNV glGenFencesNV;
13961   #endif
13962 
13963   #ifndef GLDELETEFENCESNV_DECL
13964   #define GLDELETEFENCESNV_DECL
13965   csGLDELETEFENCESNV glDeleteFencesNV;
13966   #endif
13967 
13968   #ifndef GLSETFENCENV_DECL
13969   #define GLSETFENCENV_DECL
13970   csGLSETFENCENV glSetFenceNV;
13971   #endif
13972 
13973   #ifndef GLTESTFENCENV_DECL
13974   #define GLTESTFENCENV_DECL
13975   csGLTESTFENCENV glTestFenceNV;
13976   #endif
13977 
13978   #ifndef GLFINISHFENCENV_DECL
13979   #define GLFINISHFENCENV_DECL
13980   csGLFINISHFENCENV glFinishFenceNV;
13981   #endif
13982 
13983   #ifndef GLISFENCENV_DECL
13984   #define GLISFENCENV_DECL
13985   csGLISFENCENV glIsFenceNV;
13986   #endif
13987 
13988   #ifndef GLGETFENCEIVNV_DECL
13989   #define GLGETFENCEIVNV_DECL
13990   csGLGETFENCEIVNV glGetFenceivNV;
13991   #endif
13992 
13993 
14013   #ifndef GLGENOCCLUSIONQUERIESNV_DECL
14014   #define GLGENOCCLUSIONQUERIESNV_DECL
14015   csGLGENOCCLUSIONQUERIESNV glGenOcclusionQueriesNV;
14016   #endif
14017 
14018   #ifndef GLDELETEOCCLUSIONQUERIESNV_DECL
14019   #define GLDELETEOCCLUSIONQUERIESNV_DECL
14020   csGLDELETEOCCLUSIONQUERIESNV glDeleteOcclusionQueriesNV;
14021   #endif
14022 
14023   #ifndef GLISOCCLUSIONQUERYNV_DECL
14024   #define GLISOCCLUSIONQUERYNV_DECL
14025   csGLISOCCLUSIONQUERYNV glIsOcclusionQueryNV;
14026   #endif
14027 
14028   #ifndef GLBEGINOCCLUSIONQUERYNV_DECL
14029   #define GLBEGINOCCLUSIONQUERYNV_DECL
14030   csGLBEGINOCCLUSIONQUERYNV glBeginOcclusionQueryNV;
14031   #endif
14032 
14033   #ifndef GLENDOCCLUSIONQUERYNV_DECL
14034   #define GLENDOCCLUSIONQUERYNV_DECL
14035   csGLENDOCCLUSIONQUERYNV glEndOcclusionQueryNV;
14036   #endif
14037 
14038   #ifndef GLGETOCCLUSIONQUERYIVNV_DECL
14039   #define GLGETOCCLUSIONQUERYIVNV_DECL
14040   csGLGETOCCLUSIONQUERYIVNV glGetOcclusionQueryivNV;
14041   #endif
14042 
14043   #ifndef GLGETOCCLUSIONQUERYUIVNV_DECL
14044   #define GLGETOCCLUSIONQUERYUIVNV_DECL
14045   csGLGETOCCLUSIONQUERYUIVNV glGetOcclusionQueryuivNV;
14046   #endif
14047 
14048 
14058   #ifndef GLPOINTPARAMETERINV_DECL
14059   #define GLPOINTPARAMETERINV_DECL
14060   csGLPOINTPARAMETERINV glPointParameteriNV;
14061   #endif
14062 
14063   #ifndef GLPOINTPARAMETERIVNV_DECL
14064   #define GLPOINTPARAMETERIVNV_DECL
14065   csGLPOINTPARAMETERIVNV glPointParameterivNV;
14066   #endif
14067 
14068 
14073   #ifndef GLCOMBINERPARAMETERFVNV_DECL
14074   #define GLCOMBINERPARAMETERFVNV_DECL
14075   csGLCOMBINERPARAMETERFVNV glCombinerParameterfvNV;
14076   #endif
14077 
14078   #ifndef GLCOMBINERPARAMETERIVNV_DECL
14079   #define GLCOMBINERPARAMETERIVNV_DECL
14080   csGLCOMBINERPARAMETERIVNV glCombinerParameterivNV;
14081   #endif
14082 
14083   #ifndef GLCOMBINERPARAMETERFNV_DECL
14084   #define GLCOMBINERPARAMETERFNV_DECL
14085   csGLCOMBINERPARAMETERFNV glCombinerParameterfNV;
14086   #endif
14087 
14088   #ifndef GLCOMBINERPARAMETERINV_DECL
14089   #define GLCOMBINERPARAMETERINV_DECL
14090   csGLCOMBINERPARAMETERINV glCombinerParameteriNV;
14091   #endif
14092 
14093   #ifndef GLCOMBINERINPUTNV_DECL
14094   #define GLCOMBINERINPUTNV_DECL
14095   csGLCOMBINERINPUTNV glCombinerInputNV;
14096   #endif
14097 
14098   #ifndef GLCOMBINEROUTPUTNV_DECL
14099   #define GLCOMBINEROUTPUTNV_DECL
14100   csGLCOMBINEROUTPUTNV glCombinerOutputNV;
14101   #endif
14102 
14103   #ifndef GLFINALCOMBINERINPUTNV_DECL
14104   #define GLFINALCOMBINERINPUTNV_DECL
14105   csGLFINALCOMBINERINPUTNV glFinalCombinerInputNV;
14106   #endif
14107 
14108   #ifndef GLGETCOMBINERINPUTPARAMETERFVNV_DECL
14109   #define GLGETCOMBINERINPUTPARAMETERFVNV_DECL
14110   csGLGETCOMBINERINPUTPARAMETERFVNV glGetCombinerInputParameterfvNV;
14111   #endif
14112 
14113   #ifndef GLGETCOMBINERINPUTPARAMETERIVNV_DECL
14114   #define GLGETCOMBINERINPUTPARAMETERIVNV_DECL
14115   csGLGETCOMBINERINPUTPARAMETERIVNV glGetCombinerInputParameterivNV;
14116   #endif
14117 
14118   #ifndef GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
14119   #define GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
14120   csGLGETCOMBINEROUTPUTPARAMETERFVNV glGetCombinerOutputParameterfvNV;
14121   #endif
14122 
14123   #ifndef GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
14124   #define GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
14125   csGLGETCOMBINEROUTPUTPARAMETERIVNV glGetCombinerOutputParameterivNV;
14126   #endif
14127 
14128   #ifndef GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
14129   #define GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
14130   csGLGETFINALCOMBINERINPUTPARAMETERFVNV glGetFinalCombinerInputParameterfvNV;
14131   #endif
14132 
14133   #ifndef GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
14134   #define GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
14135   csGLGETFINALCOMBINERINPUTPARAMETERIVNV glGetFinalCombinerInputParameterivNV;
14136   #endif
14137 
14138 
14143   #ifndef GLCOMBINERSTAGEPARAMETERFVNV_DECL
14144   #define GLCOMBINERSTAGEPARAMETERFVNV_DECL
14145   csGLCOMBINERSTAGEPARAMETERFVNV glCombinerStageParameterfvNV;
14146   #endif
14147 
14148   #ifndef GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
14149   #define GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
14150   csGLGETCOMBINERSTAGEPARAMETERFVNV glGetCombinerStageParameterfvNV;
14151   #endif
14152 
14153 
14198   #ifndef GLVERTEXARRAYRANGENV_DECL
14199   #define GLVERTEXARRAYRANGENV_DECL
14200   csGLVERTEXARRAYRANGENV glVertexArrayRangeNV;
14201   #endif
14202 
14203   #ifndef GLFLUSHVERTEXARRAYRANGENV_DECL
14204   #define GLFLUSHVERTEXARRAYRANGENV_DECL
14205   csGLFLUSHVERTEXARRAYRANGENV glFlushVertexArrayRangeNV;
14206   #endif
14207 
14208   #ifndef WGLALLOCATEMEMORYNV_DECL
14209   #define WGLALLOCATEMEMORYNV_DECL
14210   csWGLALLOCATEMEMORYNV wglAllocateMemoryNV;
14211   #endif
14212 
14213   #ifndef WGLFREEMEMORYNV_DECL
14214   #define WGLFREEMEMORYNV_DECL
14215   csWGLFREEMEMORYNV wglFreeMemoryNV;
14216   #endif
14217 
14218 
14228   #ifndef GLBINDPROGRAMNV_DECL
14229   #define GLBINDPROGRAMNV_DECL
14230   csGLBINDPROGRAMNV glBindProgramNV;
14231   #endif
14232 
14233   #ifndef GLDELETEPROGRAMSNV_DECL
14234   #define GLDELETEPROGRAMSNV_DECL
14235   csGLDELETEPROGRAMSNV glDeleteProgramsNV;
14236   #endif
14237 
14238   #ifndef GLEXECUTEPROGRAMNV_DECL
14239   #define GLEXECUTEPROGRAMNV_DECL
14240   csGLEXECUTEPROGRAMNV glExecuteProgramNV;
14241   #endif
14242 
14243   #ifndef GLGENPROGRAMSNV_DECL
14244   #define GLGENPROGRAMSNV_DECL
14245   csGLGENPROGRAMSNV glGenProgramsNV;
14246   #endif
14247 
14248   #ifndef GLAREPROGRAMSRESIDENTNV_DECL
14249   #define GLAREPROGRAMSRESIDENTNV_DECL
14250   csGLAREPROGRAMSRESIDENTNV glAreProgramsResidentNV;
14251   #endif
14252 
14253   #ifndef GLREQUESTRESIDENTPROGRAMSNV_DECL
14254   #define GLREQUESTRESIDENTPROGRAMSNV_DECL
14255   csGLREQUESTRESIDENTPROGRAMSNV glRequestResidentProgramsNV;
14256   #endif
14257 
14258   #ifndef GLGETPROGRAMPARAMETERFVNV_DECL
14259   #define GLGETPROGRAMPARAMETERFVNV_DECL
14260   csGLGETPROGRAMPARAMETERFVNV glGetProgramParameterfvNV;
14261   #endif
14262 
14263   #ifndef GLGETPROGRAMPARAMETERDVNV_DECL
14264   #define GLGETPROGRAMPARAMETERDVNV_DECL
14265   csGLGETPROGRAMPARAMETERDVNV glGetProgramParameterdvNV;
14266   #endif
14267 
14268   #ifndef GLGETPROGRAMIVNV_DECL
14269   #define GLGETPROGRAMIVNV_DECL
14270   csGLGETPROGRAMIVNV glGetProgramivNV;
14271   #endif
14272 
14273   #ifndef GLGETPROGRAMSTRINGNV_DECL
14274   #define GLGETPROGRAMSTRINGNV_DECL
14275   csGLGETPROGRAMSTRINGNV glGetProgramStringNV;
14276   #endif
14277 
14278   #ifndef GLGETTRACKMATRIXIVNV_DECL
14279   #define GLGETTRACKMATRIXIVNV_DECL
14280   csGLGETTRACKMATRIXIVNV glGetTrackMatrixivNV;
14281   #endif
14282 
14283   #ifndef GLGETVERTEXATTRIBDVNV_DECL
14284   #define GLGETVERTEXATTRIBDVNV_DECL
14285   csGLGETVERTEXATTRIBDVNV glGetVertexAttribdvNV;
14286   #endif
14287 
14288   #ifndef GLGETVERTEXATTRIBFVNV_DECL
14289   #define GLGETVERTEXATTRIBFVNV_DECL
14290   csGLGETVERTEXATTRIBFVNV glGetVertexAttribfvNV;
14291   #endif
14292 
14293   #ifndef GLGETVERTEXATTRIBIVNV_DECL
14294   #define GLGETVERTEXATTRIBIVNV_DECL
14295   csGLGETVERTEXATTRIBIVNV glGetVertexAttribivNV;
14296   #endif
14297 
14298   #ifndef GLGETVERTEXATTRIBPOINTERVNV_DECL
14299   #define GLGETVERTEXATTRIBPOINTERVNV_DECL
14300   csGLGETVERTEXATTRIBPOINTERVNV glGetVertexAttribPointervNV;
14301   #endif
14302 
14303   #ifndef GLISPROGRAMNV_DECL
14304   #define GLISPROGRAMNV_DECL
14305   csGLISPROGRAMNV glIsProgramNV;
14306   #endif
14307 
14308   #ifndef GLLOADPROGRAMNV_DECL
14309   #define GLLOADPROGRAMNV_DECL
14310   csGLLOADPROGRAMNV glLoadProgramNV;
14311   #endif
14312 
14313   #ifndef GLPROGRAMPARAMETER4FNV_DECL
14314   #define GLPROGRAMPARAMETER4FNV_DECL
14315   csGLPROGRAMPARAMETER4FNV glProgramParameter4fNV;
14316   #endif
14317 
14318   #ifndef GLPROGRAMPARAMETER4FVNV_DECL
14319   #define GLPROGRAMPARAMETER4FVNV_DECL
14320   csGLPROGRAMPARAMETER4FVNV glProgramParameter4fvNV;
14321   #endif
14322 
14323   #ifndef GLPROGRAMPARAMETERS4DVNV_DECL
14324   #define GLPROGRAMPARAMETERS4DVNV_DECL
14325   csGLPROGRAMPARAMETERS4DVNV glProgramParameters4dvNV;
14326   #endif
14327 
14328   #ifndef GLPROGRAMPARAMETERS4FVNV_DECL
14329   #define GLPROGRAMPARAMETERS4FVNV_DECL
14330   csGLPROGRAMPARAMETERS4FVNV glProgramParameters4fvNV;
14331   #endif
14332 
14333   #ifndef GLTRACKMATRIXNV_DECL
14334   #define GLTRACKMATRIXNV_DECL
14335   csGLTRACKMATRIXNV glTrackMatrixNV;
14336   #endif
14337 
14338   #ifndef GLVERTEXATTRIBPOINTERNV_DECL
14339   #define GLVERTEXATTRIBPOINTERNV_DECL
14340   csGLVERTEXATTRIBPOINTERNV glVertexAttribPointerNV;
14341   #endif
14342 
14343   #ifndef GLVERTEXATTRIB1SNV_DECL
14344   #define GLVERTEXATTRIB1SNV_DECL
14345   csGLVERTEXATTRIB1SNV glVertexAttrib1sNV;
14346   #endif
14347 
14348   #ifndef GLVERTEXATTRIB1FNV_DECL
14349   #define GLVERTEXATTRIB1FNV_DECL
14350   csGLVERTEXATTRIB1FNV glVertexAttrib1fNV;
14351   #endif
14352 
14353   #ifndef GLVERTEXATTRIB1DNV_DECL
14354   #define GLVERTEXATTRIB1DNV_DECL
14355   csGLVERTEXATTRIB1DNV glVertexAttrib1dNV;
14356   #endif
14357 
14358   #ifndef GLVERTEXATTRIB2SNV_DECL
14359   #define GLVERTEXATTRIB2SNV_DECL
14360   csGLVERTEXATTRIB2SNV glVertexAttrib2sNV;
14361   #endif
14362 
14363   #ifndef GLVERTEXATTRIB2FNV_DECL
14364   #define GLVERTEXATTRIB2FNV_DECL
14365   csGLVERTEXATTRIB2FNV glVertexAttrib2fNV;
14366   #endif
14367 
14368   #ifndef GLVERTEXATTRIB2DNV_DECL
14369   #define GLVERTEXATTRIB2DNV_DECL
14370   csGLVERTEXATTRIB2DNV glVertexAttrib2dNV;
14371   #endif
14372 
14373   #ifndef GLVERTEXATTRIB3SNV_DECL
14374   #define GLVERTEXATTRIB3SNV_DECL
14375   csGLVERTEXATTRIB3SNV glVertexAttrib3sNV;
14376   #endif
14377 
14378   #ifndef GLVERTEXATTRIB3FNV_DECL
14379   #define GLVERTEXATTRIB3FNV_DECL
14380   csGLVERTEXATTRIB3FNV glVertexAttrib3fNV;
14381   #endif
14382 
14383   #ifndef GLVERTEXATTRIB3DNV_DECL
14384   #define GLVERTEXATTRIB3DNV_DECL
14385   csGLVERTEXATTRIB3DNV glVertexAttrib3dNV;
14386   #endif
14387 
14388   #ifndef GLVERTEXATTRIB4SNV_DECL
14389   #define GLVERTEXATTRIB4SNV_DECL
14390   csGLVERTEXATTRIB4SNV glVertexAttrib4sNV;
14391   #endif
14392 
14393   #ifndef GLVERTEXATTRIB4FNV_DECL
14394   #define GLVERTEXATTRIB4FNV_DECL
14395   csGLVERTEXATTRIB4FNV glVertexAttrib4fNV;
14396   #endif
14397 
14398   #ifndef GLVERTEXATTRIB4DNV_DECL
14399   #define GLVERTEXATTRIB4DNV_DECL
14400   csGLVERTEXATTRIB4DNV glVertexAttrib4dNV;
14401   #endif
14402 
14403   #ifndef GLVERTEXATTRIB4UBNV_DECL
14404   #define GLVERTEXATTRIB4UBNV_DECL
14405   csGLVERTEXATTRIB4UBNV glVertexAttrib4ubNV;
14406   #endif
14407 
14408   #ifndef GLVERTEXATTRIB1SVNV_DECL
14409   #define GLVERTEXATTRIB1SVNV_DECL
14410   csGLVERTEXATTRIB1SVNV glVertexAttrib1svNV;
14411   #endif
14412 
14413   #ifndef GLVERTEXATTRIB1FVNV_DECL
14414   #define GLVERTEXATTRIB1FVNV_DECL
14415   csGLVERTEXATTRIB1FVNV glVertexAttrib1fvNV;
14416   #endif
14417 
14418   #ifndef GLVERTEXATTRIB1DVNV_DECL
14419   #define GLVERTEXATTRIB1DVNV_DECL
14420   csGLVERTEXATTRIB1DVNV glVertexAttrib1dvNV;
14421   #endif
14422 
14423   #ifndef GLVERTEXATTRIB2SVNV_DECL
14424   #define GLVERTEXATTRIB2SVNV_DECL
14425   csGLVERTEXATTRIB2SVNV glVertexAttrib2svNV;
14426   #endif
14427 
14428   #ifndef GLVERTEXATTRIB2FVNV_DECL
14429   #define GLVERTEXATTRIB2FVNV_DECL
14430   csGLVERTEXATTRIB2FVNV glVertexAttrib2fvNV;
14431   #endif
14432 
14433   #ifndef GLVERTEXATTRIB2DVNV_DECL
14434   #define GLVERTEXATTRIB2DVNV_DECL
14435   csGLVERTEXATTRIB2DVNV glVertexAttrib2dvNV;
14436   #endif
14437 
14438   #ifndef GLVERTEXATTRIB3SVNV_DECL
14439   #define GLVERTEXATTRIB3SVNV_DECL
14440   csGLVERTEXATTRIB3SVNV glVertexAttrib3svNV;
14441   #endif
14442 
14443   #ifndef GLVERTEXATTRIB3FVNV_DECL
14444   #define GLVERTEXATTRIB3FVNV_DECL
14445   csGLVERTEXATTRIB3FVNV glVertexAttrib3fvNV;
14446   #endif
14447 
14448   #ifndef GLVERTEXATTRIB3DVNV_DECL
14449   #define GLVERTEXATTRIB3DVNV_DECL
14450   csGLVERTEXATTRIB3DVNV glVertexAttrib3dvNV;
14451   #endif
14452 
14453   #ifndef GLVERTEXATTRIB4SVNV_DECL
14454   #define GLVERTEXATTRIB4SVNV_DECL
14455   csGLVERTEXATTRIB4SVNV glVertexAttrib4svNV;
14456   #endif
14457 
14458   #ifndef GLVERTEXATTRIB4FVNV_DECL
14459   #define GLVERTEXATTRIB4FVNV_DECL
14460   csGLVERTEXATTRIB4FVNV glVertexAttrib4fvNV;
14461   #endif
14462 
14463   #ifndef GLVERTEXATTRIB4DVNV_DECL
14464   #define GLVERTEXATTRIB4DVNV_DECL
14465   csGLVERTEXATTRIB4DVNV glVertexAttrib4dvNV;
14466   #endif
14467 
14468   #ifndef GLVERTEXATTRIB4UBVNV_DECL
14469   #define GLVERTEXATTRIB4UBVNV_DECL
14470   csGLVERTEXATTRIB4UBVNV glVertexAttrib4ubvNV;
14471   #endif
14472 
14473   #ifndef GLVERTEXATTRIBS1SVNV_DECL
14474   #define GLVERTEXATTRIBS1SVNV_DECL
14475   csGLVERTEXATTRIBS1SVNV glVertexAttribs1svNV;
14476   #endif
14477 
14478   #ifndef GLVERTEXATTRIBS1FVNV_DECL
14479   #define GLVERTEXATTRIBS1FVNV_DECL
14480   csGLVERTEXATTRIBS1FVNV glVertexAttribs1fvNV;
14481   #endif
14482 
14483   #ifndef GLVERTEXATTRIBS1DVNV_DECL
14484   #define GLVERTEXATTRIBS1DVNV_DECL
14485   csGLVERTEXATTRIBS1DVNV glVertexAttribs1dvNV;
14486   #endif
14487 
14488   #ifndef GLVERTEXATTRIBS2SVNV_DECL
14489   #define GLVERTEXATTRIBS2SVNV_DECL
14490   csGLVERTEXATTRIBS2SVNV glVertexAttribs2svNV;
14491   #endif
14492 
14493   #ifndef GLVERTEXATTRIBS2FVNV_DECL
14494   #define GLVERTEXATTRIBS2FVNV_DECL
14495   csGLVERTEXATTRIBS2FVNV glVertexAttribs2fvNV;
14496   #endif
14497 
14498   #ifndef GLVERTEXATTRIBS2DVNV_DECL
14499   #define GLVERTEXATTRIBS2DVNV_DECL
14500   csGLVERTEXATTRIBS2DVNV glVertexAttribs2dvNV;
14501   #endif
14502 
14503   #ifndef GLVERTEXATTRIBS3SVNV_DECL
14504   #define GLVERTEXATTRIBS3SVNV_DECL
14505   csGLVERTEXATTRIBS3SVNV glVertexAttribs3svNV;
14506   #endif
14507 
14508   #ifndef GLVERTEXATTRIBS3FVNV_DECL
14509   #define GLVERTEXATTRIBS3FVNV_DECL
14510   csGLVERTEXATTRIBS3FVNV glVertexAttribs3fvNV;
14511   #endif
14512 
14513   #ifndef GLVERTEXATTRIBS3DVNV_DECL
14514   #define GLVERTEXATTRIBS3DVNV_DECL
14515   csGLVERTEXATTRIBS3DVNV glVertexAttribs3dvNV;
14516   #endif
14517 
14518   #ifndef GLVERTEXATTRIBS4SVNV_DECL
14519   #define GLVERTEXATTRIBS4SVNV_DECL
14520   csGLVERTEXATTRIBS4SVNV glVertexAttribs4svNV;
14521   #endif
14522 
14523   #ifndef GLVERTEXATTRIBS4FVNV_DECL
14524   #define GLVERTEXATTRIBS4FVNV_DECL
14525   csGLVERTEXATTRIBS4FVNV glVertexAttribs4fvNV;
14526   #endif
14527 
14528   #ifndef GLVERTEXATTRIBS4DVNV_DECL
14529   #define GLVERTEXATTRIBS4DVNV_DECL
14530   csGLVERTEXATTRIBS4DVNV glVertexAttribs4dvNV;
14531   #endif
14532 
14533   #ifndef GLVERTEXATTRIBS4UBVNV_DECL
14534   #define GLVERTEXATTRIBS4UBVNV_DECL
14535   csGLVERTEXATTRIBS4UBVNV glVertexAttribs4ubvNV;
14536   #endif
14537 
14538 
14548   #ifndef GLELEMENTPOINTERATI_DECL
14549   #define GLELEMENTPOINTERATI_DECL
14550   csGLELEMENTPOINTERATI glElementPointerATI;
14551   #endif
14552 
14553   #ifndef GLDRAWELEMENTARRAYATI_DECL
14554   #define GLDRAWELEMENTARRAYATI_DECL
14555   csGLDRAWELEMENTARRAYATI glDrawElementArrayATI;
14556   #endif
14557 
14558   #ifndef GLDRAWRANGEELEMENTARRAYATI_DECL
14559   #define GLDRAWRANGEELEMENTARRAYATI_DECL
14560   csGLDRAWRANGEELEMENTARRAYATI glDrawRangeElementArrayATI;
14561   #endif
14562 
14563 
14568   #ifndef GLTEXBUMPPARAMETERIVATI_DECL
14569   #define GLTEXBUMPPARAMETERIVATI_DECL
14570   csGLTEXBUMPPARAMETERIVATI glTexBumpParameterivATI;
14571   #endif
14572 
14573   #ifndef GLTEXBUMPPARAMETERFVATI_DECL
14574   #define GLTEXBUMPPARAMETERFVATI_DECL
14575   csGLTEXBUMPPARAMETERFVATI glTexBumpParameterfvATI;
14576   #endif
14577 
14578   #ifndef GLGETTEXBUMPPARAMETERIVATI_DECL
14579   #define GLGETTEXBUMPPARAMETERIVATI_DECL
14580   csGLGETTEXBUMPPARAMETERIVATI glGetTexBumpParameterivATI;
14581   #endif
14582 
14583   #ifndef GLGETTEXBUMPPARAMETERFVATI_DECL
14584   #define GLGETTEXBUMPPARAMETERFVATI_DECL
14585   csGLGETTEXBUMPPARAMETERFVATI glGetTexBumpParameterfvATI;
14586   #endif
14587 
14588 
14593   #ifndef GLGENFRAGMENTSHADERSATI_DECL
14594   #define GLGENFRAGMENTSHADERSATI_DECL
14595   csGLGENFRAGMENTSHADERSATI glGenFragmentShadersATI;
14596   #endif
14597 
14598   #ifndef GLBINDFRAGMENTSHADERATI_DECL
14599   #define GLBINDFRAGMENTSHADERATI_DECL
14600   csGLBINDFRAGMENTSHADERATI glBindFragmentShaderATI;
14601   #endif
14602 
14603   #ifndef GLDELETEFRAGMENTSHADERATI_DECL
14604   #define GLDELETEFRAGMENTSHADERATI_DECL
14605   csGLDELETEFRAGMENTSHADERATI glDeleteFragmentShaderATI;
14606   #endif
14607 
14608   #ifndef GLBEGINFRAGMENTSHADERATI_DECL
14609   #define GLBEGINFRAGMENTSHADERATI_DECL
14610   csGLBEGINFRAGMENTSHADERATI glBeginFragmentShaderATI;
14611   #endif
14612 
14613   #ifndef GLENDFRAGMENTSHADERATI_DECL
14614   #define GLENDFRAGMENTSHADERATI_DECL
14615   csGLENDFRAGMENTSHADERATI glEndFragmentShaderATI;
14616   #endif
14617 
14618   #ifndef GLPASSTEXCOORDATI_DECL
14619   #define GLPASSTEXCOORDATI_DECL
14620   csGLPASSTEXCOORDATI glPassTexCoordATI;
14621   #endif
14622 
14623   #ifndef GLSAMPLEMAPATI_DECL
14624   #define GLSAMPLEMAPATI_DECL
14625   csGLSAMPLEMAPATI glSampleMapATI;
14626   #endif
14627 
14628   #ifndef GLCOLORFRAGMENTOP1ATI_DECL
14629   #define GLCOLORFRAGMENTOP1ATI_DECL
14630   csGLCOLORFRAGMENTOP1ATI glColorFragmentOp1ATI;
14631   #endif
14632 
14633   #ifndef GLCOLORFRAGMENTOP2ATI_DECL
14634   #define GLCOLORFRAGMENTOP2ATI_DECL
14635   csGLCOLORFRAGMENTOP2ATI glColorFragmentOp2ATI;
14636   #endif
14637 
14638   #ifndef GLCOLORFRAGMENTOP3ATI_DECL
14639   #define GLCOLORFRAGMENTOP3ATI_DECL
14640   csGLCOLORFRAGMENTOP3ATI glColorFragmentOp3ATI;
14641   #endif
14642 
14643   #ifndef GLALPHAFRAGMENTOP1ATI_DECL
14644   #define GLALPHAFRAGMENTOP1ATI_DECL
14645   csGLALPHAFRAGMENTOP1ATI glAlphaFragmentOp1ATI;
14646   #endif
14647 
14648   #ifndef GLALPHAFRAGMENTOP2ATI_DECL
14649   #define GLALPHAFRAGMENTOP2ATI_DECL
14650   csGLALPHAFRAGMENTOP2ATI glAlphaFragmentOp2ATI;
14651   #endif
14652 
14653   #ifndef GLALPHAFRAGMENTOP3ATI_DECL
14654   #define GLALPHAFRAGMENTOP3ATI_DECL
14655   csGLALPHAFRAGMENTOP3ATI glAlphaFragmentOp3ATI;
14656   #endif
14657 
14658   #ifndef GLSETFRAGMENTSHADERCONSTANTATI_DECL
14659   #define GLSETFRAGMENTSHADERCONSTANTATI_DECL
14660   csGLSETFRAGMENTSHADERCONSTANTATI glSetFragmentShaderConstantATI;
14661   #endif
14662 
14663 
14668   #ifndef GLPNTRIANGLESIATI_DECL
14669   #define GLPNTRIANGLESIATI_DECL
14670   csGLPNTRIANGLESIATI glPNTrianglesiATI;
14671   #endif
14672 
14673   #ifndef GLPNTRIANGLESFATI_DECL
14674   #define GLPNTRIANGLESFATI_DECL
14675   csGLPNTRIANGLESFATI glPNTrianglesfATI;
14676   #endif
14677 
14678 
14688   #ifndef GLNEWOBJECTBUFFERATI_DECL
14689   #define GLNEWOBJECTBUFFERATI_DECL
14690   csGLNEWOBJECTBUFFERATI glNewObjectBufferATI;
14691   #endif
14692 
14693   #ifndef GLISOBJECTBUFFERATI_DECL
14694   #define GLISOBJECTBUFFERATI_DECL
14695   csGLISOBJECTBUFFERATI glIsObjectBufferATI;
14696   #endif
14697 
14698   #ifndef GLUPDATEOBJECTBUFFERATI_DECL
14699   #define GLUPDATEOBJECTBUFFERATI_DECL
14700   csGLUPDATEOBJECTBUFFERATI glUpdateObjectBufferATI;
14701   #endif
14702 
14703   #ifndef GLGETOBJECTBUFFERFVATI_DECL
14704   #define GLGETOBJECTBUFFERFVATI_DECL
14705   csGLGETOBJECTBUFFERFVATI glGetObjectBufferfvATI;
14706   #endif
14707 
14708   #ifndef GLGETOBJECTBUFFERIVATI_DECL
14709   #define GLGETOBJECTBUFFERIVATI_DECL
14710   csGLGETOBJECTBUFFERIVATI glGetObjectBufferivATI;
14711   #endif
14712 
14713   #ifndef GLFREEOBJECTBUFFERATI_DECL
14714   #define GLFREEOBJECTBUFFERATI_DECL
14715   csGLFREEOBJECTBUFFERATI glFreeObjectBufferATI;
14716   #endif
14717 
14718   #ifndef GLARRAYOBJECTATI_DECL
14719   #define GLARRAYOBJECTATI_DECL
14720   csGLARRAYOBJECTATI glArrayObjectATI;
14721   #endif
14722 
14723   #ifndef GLGETARRAYOBJECTFVATI_DECL
14724   #define GLGETARRAYOBJECTFVATI_DECL
14725   csGLGETARRAYOBJECTFVATI glGetArrayObjectfvATI;
14726   #endif
14727 
14728   #ifndef GLGETARRAYOBJECTIVATI_DECL
14729   #define GLGETARRAYOBJECTIVATI_DECL
14730   csGLGETARRAYOBJECTIVATI glGetArrayObjectivATI;
14731   #endif
14732 
14733   #ifndef GLVARIANTARRAYOBJECTATI_DECL
14734   #define GLVARIANTARRAYOBJECTATI_DECL
14735   csGLVARIANTARRAYOBJECTATI glVariantArrayObjectATI;
14736   #endif
14737 
14738   #ifndef GLGETVARIANTARRAYOBJECTFVATI_DECL
14739   #define GLGETVARIANTARRAYOBJECTFVATI_DECL
14740   csGLGETVARIANTARRAYOBJECTFVATI glGetVariantArrayObjectfvATI;
14741   #endif
14742 
14743   #ifndef GLGETVARIANTARRAYOBJECTIVATI_DECL
14744   #define GLGETVARIANTARRAYOBJECTIVATI_DECL
14745   csGLGETVARIANTARRAYOBJECTIVATI glGetVariantArrayObjectivATI;
14746   #endif
14747 
14748 
14753   #ifndef GLVERTEXATTRIBARRAYOBJECTATI_DECL
14754   #define GLVERTEXATTRIBARRAYOBJECTATI_DECL
14755   csGLVERTEXATTRIBARRAYOBJECTATI glVertexAttribArrayObjectATI;
14756   #endif
14757 
14758   #ifndef GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
14759   #define GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
14760   csGLGETVERTEXATTRIBARRAYOBJECTFVATI glGetVertexAttribArrayObjectfvATI;
14761   #endif
14762 
14763   #ifndef GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
14764   #define GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
14765   csGLGETVERTEXATTRIBARRAYOBJECTIVATI glGetVertexAttribArrayObjectivATI;
14766   #endif
14767 
14768 
14773   #ifndef GLVERTEXSTREAM1S_DECL
14774   #define GLVERTEXSTREAM1S_DECL
14775   csGLVERTEXSTREAM1S glVertexStream1s;
14776   #endif
14777 
14778   #ifndef GLVERTEXSTREAM1I_DECL
14779   #define GLVERTEXSTREAM1I_DECL
14780   csGLVERTEXSTREAM1I glVertexStream1i;
14781   #endif
14782 
14783   #ifndef GLVERTEXSTREAM1F_DECL
14784   #define GLVERTEXSTREAM1F_DECL
14785   csGLVERTEXSTREAM1F glVertexStream1f;
14786   #endif
14787 
14788   #ifndef GLVERTEXSTREAM1D_DECL
14789   #define GLVERTEXSTREAM1D_DECL
14790   csGLVERTEXSTREAM1D glVertexStream1d;
14791   #endif
14792 
14793   #ifndef GLVERTEXSTREAM1SV_DECL
14794   #define GLVERTEXSTREAM1SV_DECL
14795   csGLVERTEXSTREAM1SV glVertexStream1sv;
14796   #endif
14797 
14798   #ifndef GLVERTEXSTREAM1IV_DECL
14799   #define GLVERTEXSTREAM1IV_DECL
14800   csGLVERTEXSTREAM1IV glVertexStream1iv;
14801   #endif
14802 
14803   #ifndef GLVERTEXSTREAM1FV_DECL
14804   #define GLVERTEXSTREAM1FV_DECL
14805   csGLVERTEXSTREAM1FV glVertexStream1fv;
14806   #endif
14807 
14808   #ifndef GLVERTEXSTREAM1DV_DECL
14809   #define GLVERTEXSTREAM1DV_DECL
14810   csGLVERTEXSTREAM1DV glVertexStream1dv;
14811   #endif
14812 
14813   #ifndef GLVERTEXSTREAM2S_DECL
14814   #define GLVERTEXSTREAM2S_DECL
14815   csGLVERTEXSTREAM2S glVertexStream2s;
14816   #endif
14817 
14818   #ifndef GLVERTEXSTREAM2I_DECL
14819   #define GLVERTEXSTREAM2I_DECL
14820   csGLVERTEXSTREAM2I glVertexStream2i;
14821   #endif
14822 
14823   #ifndef GLVERTEXSTREAM2F_DECL
14824   #define GLVERTEXSTREAM2F_DECL
14825   csGLVERTEXSTREAM2F glVertexStream2f;
14826   #endif
14827 
14828   #ifndef GLVERTEXSTREAM2D_DECL
14829   #define GLVERTEXSTREAM2D_DECL
14830   csGLVERTEXSTREAM2D glVertexStream2d;
14831   #endif
14832 
14833   #ifndef GLVERTEXSTREAM2SV_DECL
14834   #define GLVERTEXSTREAM2SV_DECL
14835   csGLVERTEXSTREAM2SV glVertexStream2sv;
14836   #endif
14837 
14838   #ifndef GLVERTEXSTREAM2IV_DECL
14839   #define GLVERTEXSTREAM2IV_DECL
14840   csGLVERTEXSTREAM2IV glVertexStream2iv;
14841   #endif
14842 
14843   #ifndef GLVERTEXSTREAM2FV_DECL
14844   #define GLVERTEXSTREAM2FV_DECL
14845   csGLVERTEXSTREAM2FV glVertexStream2fv;
14846   #endif
14847 
14848   #ifndef GLVERTEXSTREAM2DV_DECL
14849   #define GLVERTEXSTREAM2DV_DECL
14850   csGLVERTEXSTREAM2DV glVertexStream2dv;
14851   #endif
14852 
14853   #ifndef GLVERTEXSTREAM3S_DECL
14854   #define GLVERTEXSTREAM3S_DECL
14855   csGLVERTEXSTREAM3S glVertexStream3s;
14856   #endif
14857 
14858   #ifndef GLVERTEXSTREAM3I_DECL
14859   #define GLVERTEXSTREAM3I_DECL
14860   csGLVERTEXSTREAM3I glVertexStream3i;
14861   #endif
14862 
14863   #ifndef GLVERTEXSTREAM3F_DECL
14864   #define GLVERTEXSTREAM3F_DECL
14865   csGLVERTEXSTREAM3F glVertexStream3f;
14866   #endif
14867 
14868   #ifndef GLVERTEXSTREAM3D_DECL
14869   #define GLVERTEXSTREAM3D_DECL
14870   csGLVERTEXSTREAM3D glVertexStream3d;
14871   #endif
14872 
14873   #ifndef GLVERTEXSTREAM3SV_DECL
14874   #define GLVERTEXSTREAM3SV_DECL
14875   csGLVERTEXSTREAM3SV glVertexStream3sv;
14876   #endif
14877 
14878   #ifndef GLVERTEXSTREAM3IV_DECL
14879   #define GLVERTEXSTREAM3IV_DECL
14880   csGLVERTEXSTREAM3IV glVertexStream3iv;
14881   #endif
14882 
14883   #ifndef GLVERTEXSTREAM3FV_DECL
14884   #define GLVERTEXSTREAM3FV_DECL
14885   csGLVERTEXSTREAM3FV glVertexStream3fv;
14886   #endif
14887 
14888   #ifndef GLVERTEXSTREAM3DV_DECL
14889   #define GLVERTEXSTREAM3DV_DECL
14890   csGLVERTEXSTREAM3DV glVertexStream3dv;
14891   #endif
14892 
14893   #ifndef GLVERTEXSTREAM4S_DECL
14894   #define GLVERTEXSTREAM4S_DECL
14895   csGLVERTEXSTREAM4S glVertexStream4s;
14896   #endif
14897 
14898   #ifndef GLVERTEXSTREAM4I_DECL
14899   #define GLVERTEXSTREAM4I_DECL
14900   csGLVERTEXSTREAM4I glVertexStream4i;
14901   #endif
14902 
14903   #ifndef GLVERTEXSTREAM4F_DECL
14904   #define GLVERTEXSTREAM4F_DECL
14905   csGLVERTEXSTREAM4F glVertexStream4f;
14906   #endif
14907 
14908   #ifndef GLVERTEXSTREAM4D_DECL
14909   #define GLVERTEXSTREAM4D_DECL
14910   csGLVERTEXSTREAM4D glVertexStream4d;
14911   #endif
14912 
14913   #ifndef GLVERTEXSTREAM4SV_DECL
14914   #define GLVERTEXSTREAM4SV_DECL
14915   csGLVERTEXSTREAM4SV glVertexStream4sv;
14916   #endif
14917 
14918   #ifndef GLVERTEXSTREAM4IV_DECL
14919   #define GLVERTEXSTREAM4IV_DECL
14920   csGLVERTEXSTREAM4IV glVertexStream4iv;
14921   #endif
14922 
14923   #ifndef GLVERTEXSTREAM4FV_DECL
14924   #define GLVERTEXSTREAM4FV_DECL
14925   csGLVERTEXSTREAM4FV glVertexStream4fv;
14926   #endif
14927 
14928   #ifndef GLVERTEXSTREAM4DV_DECL
14929   #define GLVERTEXSTREAM4DV_DECL
14930   csGLVERTEXSTREAM4DV glVertexStream4dv;
14931   #endif
14932 
14933   #ifndef GLNORMALSTREAM3B_DECL
14934   #define GLNORMALSTREAM3B_DECL
14935   csGLNORMALSTREAM3B glNormalStream3b;
14936   #endif
14937 
14938   #ifndef GLNORMALSTREAM3S_DECL
14939   #define GLNORMALSTREAM3S_DECL
14940   csGLNORMALSTREAM3S glNormalStream3s;
14941   #endif
14942 
14943   #ifndef GLNORMALSTREAM3I_DECL
14944   #define GLNORMALSTREAM3I_DECL
14945   csGLNORMALSTREAM3I glNormalStream3i;
14946   #endif
14947 
14948   #ifndef GLNORMALSTREAM3F_DECL
14949   #define GLNORMALSTREAM3F_DECL
14950   csGLNORMALSTREAM3F glNormalStream3f;
14951   #endif
14952 
14953   #ifndef GLNORMALSTREAM3D_DECL
14954   #define GLNORMALSTREAM3D_DECL
14955   csGLNORMALSTREAM3D glNormalStream3d;
14956   #endif
14957 
14958   #ifndef GLNORMALSTREAM3BV_DECL
14959   #define GLNORMALSTREAM3BV_DECL
14960   csGLNORMALSTREAM3BV glNormalStream3bv;
14961   #endif
14962 
14963   #ifndef GLNORMALSTREAM3SV_DECL
14964   #define GLNORMALSTREAM3SV_DECL
14965   csGLNORMALSTREAM3SV glNormalStream3sv;
14966   #endif
14967 
14968   #ifndef GLNORMALSTREAM3IV_DECL
14969   #define GLNORMALSTREAM3IV_DECL
14970   csGLNORMALSTREAM3IV glNormalStream3iv;
14971   #endif
14972 
14973   #ifndef GLNORMALSTREAM3FV_DECL
14974   #define GLNORMALSTREAM3FV_DECL
14975   csGLNORMALSTREAM3FV glNormalStream3fv;
14976   #endif
14977 
14978   #ifndef GLNORMALSTREAM3DV_DECL
14979   #define GLNORMALSTREAM3DV_DECL
14980   csGLNORMALSTREAM3DV glNormalStream3dv;
14981   #endif
14982 
14983   #ifndef GLCLIENTACTIVEVERTEXSTREAM_DECL
14984   #define GLCLIENTACTIVEVERTEXSTREAM_DECL
14985   csGLCLIENTACTIVEVERTEXSTREAM glClientActiveVertexStream;
14986   #endif
14987 
14988   #ifndef GLVERTEXBLENDENVI_DECL
14989   #define GLVERTEXBLENDENVI_DECL
14990   csGLVERTEXBLENDENVI glVertexBlendEnvi;
14991   #endif
14992 
14993   #ifndef GLVERTEXBLENDENVF_DECL
14994   #define GLVERTEXBLENDENVF_DECL
14995   csGLVERTEXBLENDENVF glVertexBlendEnvf;
14996   #endif
14997 
14998 
15000 #ifdef _WIN32
15001 
15004   #ifndef WGLCREATEIMAGEBUFFERI3D_DECL
15005   #define WGLCREATEIMAGEBUFFERI3D_DECL
15006   csWGLCREATEIMAGEBUFFERI3D wglCreateImageBufferI3D;
15007   #endif
15008 
15009   #ifndef WGLDESTROYIMAGEBUFFERI3D_DECL
15010   #define WGLDESTROYIMAGEBUFFERI3D_DECL
15011   csWGLDESTROYIMAGEBUFFERI3D wglDestroyImageBufferI3D;
15012   #endif
15013 
15014   #ifndef WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
15015   #define WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
15016   csWGLASSOCIATEIMAGEBUFFEREVENTSI3D wglAssociateImageBufferEventsI3D;
15017   #endif
15018 
15019   #ifndef WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
15020   #define WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
15021   csWGLRELEASEIMAGEBUFFEREVENTSI3D wglReleaseImageBufferEventsI3D;
15022   #endif
15023 
15024 
15026 #endif // _WIN32
15027 
15028 #ifdef _WIN32
15029 
15032   #ifndef WGLENABLEFRAMELOCKI3D_DECL
15033   #define WGLENABLEFRAMELOCKI3D_DECL
15034   csWGLENABLEFRAMELOCKI3D wglEnableFrameLockI3D;
15035   #endif
15036 
15037   #ifndef WGLDISABLEFRAMELOCKI3D_DECL
15038   #define WGLDISABLEFRAMELOCKI3D_DECL
15039   csWGLDISABLEFRAMELOCKI3D wglDisableFrameLockI3D;
15040   #endif
15041 
15042   #ifndef WGLISENABLEDFRAMELOCKI3D_DECL
15043   #define WGLISENABLEDFRAMELOCKI3D_DECL
15044   csWGLISENABLEDFRAMELOCKI3D wglIsEnabledFrameLockI3D;
15045   #endif
15046 
15047   #ifndef WGLQUERYFRAMELOCKMASTERI3D_DECL
15048   #define WGLQUERYFRAMELOCKMASTERI3D_DECL
15049   csWGLQUERYFRAMELOCKMASTERI3D wglQueryFrameLockMasterI3D;
15050   #endif
15051 
15052 
15054 #endif // _WIN32
15055 
15056 #ifdef _WIN32
15057 
15060   #ifndef WGLGETFRAMEUSAGEI3D_DECL
15061   #define WGLGETFRAMEUSAGEI3D_DECL
15062   csWGLGETFRAMEUSAGEI3D wglGetFrameUsageI3D;
15063   #endif
15064 
15065   #ifndef WGLBEGINFRAMETRACKINGI3D_DECL
15066   #define WGLBEGINFRAMETRACKINGI3D_DECL
15067   csWGLBEGINFRAMETRACKINGI3D wglBeginFrameTrackingI3D;
15068   #endif
15069 
15070   #ifndef WGLENDFRAMETRACKINGI3D_DECL
15071   #define WGLENDFRAMETRACKINGI3D_DECL
15072   csWGLENDFRAMETRACKINGI3D wglEndFrameTrackingI3D;
15073   #endif
15074 
15075   #ifndef WGLQUERYFRAMETRACKINGI3D_DECL
15076   #define WGLQUERYFRAMETRACKINGI3D_DECL
15077   csWGLQUERYFRAMETRACKINGI3D wglQueryFrameTrackingI3D;
15078   #endif
15079 
15080 
15082 #endif // _WIN32
15083 
15097   #ifndef GLMULTIMODEDRAWARRAYSIBM_DECL
15098   #define GLMULTIMODEDRAWARRAYSIBM_DECL
15099   csGLMULTIMODEDRAWARRAYSIBM glMultiModeDrawArraysIBM;
15100   #endif
15101 
15102   #ifndef GLMULTIMODEDRAWELEMENTSIBM_DECL
15103   #define GLMULTIMODEDRAWELEMENTSIBM_DECL
15104   csGLMULTIMODEDRAWELEMENTSIBM glMultiModeDrawElementsIBM;
15105   #endif
15106 
15107 
15122   #ifndef GLCOLORPOINTERLISTIBM_DECL
15123   #define GLCOLORPOINTERLISTIBM_DECL
15124   csGLCOLORPOINTERLISTIBM glColorPointerListIBM;
15125   #endif
15126 
15127   #ifndef GLSECONDARYCOLORPOINTERLISTIBM_DECL
15128   #define GLSECONDARYCOLORPOINTERLISTIBM_DECL
15129   csGLSECONDARYCOLORPOINTERLISTIBM glSecondaryColorPointerListIBM;
15130   #endif
15131 
15132   #ifndef GLEDGEFLAGPOINTERLISTIBM_DECL
15133   #define GLEDGEFLAGPOINTERLISTIBM_DECL
15134   csGLEDGEFLAGPOINTERLISTIBM glEdgeFlagPointerListIBM;
15135   #endif
15136 
15137   #ifndef GLFOGCOORDPOINTERLISTIBM_DECL
15138   #define GLFOGCOORDPOINTERLISTIBM_DECL
15139   csGLFOGCOORDPOINTERLISTIBM glFogCoordPointerListIBM;
15140   #endif
15141 
15142   #ifndef GLNORMALPOINTERLISTIBM_DECL
15143   #define GLNORMALPOINTERLISTIBM_DECL
15144   csGLNORMALPOINTERLISTIBM glNormalPointerListIBM;
15145   #endif
15146 
15147   #ifndef GLTEXCOORDPOINTERLISTIBM_DECL
15148   #define GLTEXCOORDPOINTERLISTIBM_DECL
15149   csGLTEXCOORDPOINTERLISTIBM glTexCoordPointerListIBM;
15150   #endif
15151 
15152   #ifndef GLVERTEXPOINTERLISTIBM_DECL
15153   #define GLVERTEXPOINTERLISTIBM_DECL
15154   csGLVERTEXPOINTERLISTIBM glVertexPointerListIBM;
15155   #endif
15156 
15157 
15162   #ifndef GLRESIZEBUFFERSMESA_DECL
15163   #define GLRESIZEBUFFERSMESA_DECL
15164   csGLRESIZEBUFFERSMESA glResizeBuffersMESA;
15165   #endif
15166 
15167 
15172   #ifndef GLWINDOWPOS2DMESA_DECL
15173   #define GLWINDOWPOS2DMESA_DECL
15174   csGLWINDOWPOS2DMESA glWindowPos2dMESA;
15175   #endif
15176 
15177   #ifndef GLWINDOWPOS2FMESA_DECL
15178   #define GLWINDOWPOS2FMESA_DECL
15179   csGLWINDOWPOS2FMESA glWindowPos2fMESA;
15180   #endif
15181 
15182   #ifndef GLWINDOWPOS2IMESA_DECL
15183   #define GLWINDOWPOS2IMESA_DECL
15184   csGLWINDOWPOS2IMESA glWindowPos2iMESA;
15185   #endif
15186 
15187   #ifndef GLWINDOWPOS2SMESA_DECL
15188   #define GLWINDOWPOS2SMESA_DECL
15189   csGLWINDOWPOS2SMESA glWindowPos2sMESA;
15190   #endif
15191 
15192   #ifndef GLWINDOWPOS2IVMESA_DECL
15193   #define GLWINDOWPOS2IVMESA_DECL
15194   csGLWINDOWPOS2IVMESA glWindowPos2ivMESA;
15195   #endif
15196 
15197   #ifndef GLWINDOWPOS2SVMESA_DECL
15198   #define GLWINDOWPOS2SVMESA_DECL
15199   csGLWINDOWPOS2SVMESA glWindowPos2svMESA;
15200   #endif
15201 
15202   #ifndef GLWINDOWPOS2FVMESA_DECL
15203   #define GLWINDOWPOS2FVMESA_DECL
15204   csGLWINDOWPOS2FVMESA glWindowPos2fvMESA;
15205   #endif
15206 
15207   #ifndef GLWINDOWPOS2DVMESA_DECL
15208   #define GLWINDOWPOS2DVMESA_DECL
15209   csGLWINDOWPOS2DVMESA glWindowPos2dvMESA;
15210   #endif
15211 
15212   #ifndef GLWINDOWPOS3IMESA_DECL
15213   #define GLWINDOWPOS3IMESA_DECL
15214   csGLWINDOWPOS3IMESA glWindowPos3iMESA;
15215   #endif
15216 
15217   #ifndef GLWINDOWPOS3SMESA_DECL
15218   #define GLWINDOWPOS3SMESA_DECL
15219   csGLWINDOWPOS3SMESA glWindowPos3sMESA;
15220   #endif
15221 
15222   #ifndef GLWINDOWPOS3FMESA_DECL
15223   #define GLWINDOWPOS3FMESA_DECL
15224   csGLWINDOWPOS3FMESA glWindowPos3fMESA;
15225   #endif
15226 
15227   #ifndef GLWINDOWPOS3DMESA_DECL
15228   #define GLWINDOWPOS3DMESA_DECL
15229   csGLWINDOWPOS3DMESA glWindowPos3dMESA;
15230   #endif
15231 
15232   #ifndef GLWINDOWPOS3IVMESA_DECL
15233   #define GLWINDOWPOS3IVMESA_DECL
15234   csGLWINDOWPOS3IVMESA glWindowPos3ivMESA;
15235   #endif
15236 
15237   #ifndef GLWINDOWPOS3SVMESA_DECL
15238   #define GLWINDOWPOS3SVMESA_DECL
15239   csGLWINDOWPOS3SVMESA glWindowPos3svMESA;
15240   #endif
15241 
15242   #ifndef GLWINDOWPOS3FVMESA_DECL
15243   #define GLWINDOWPOS3FVMESA_DECL
15244   csGLWINDOWPOS3FVMESA glWindowPos3fvMESA;
15245   #endif
15246 
15247   #ifndef GLWINDOWPOS3DVMESA_DECL
15248   #define GLWINDOWPOS3DVMESA_DECL
15249   csGLWINDOWPOS3DVMESA glWindowPos3dvMESA;
15250   #endif
15251 
15252   #ifndef GLWINDOWPOS4IMESA_DECL
15253   #define GLWINDOWPOS4IMESA_DECL
15254   csGLWINDOWPOS4IMESA glWindowPos4iMESA;
15255   #endif
15256 
15257   #ifndef GLWINDOWPOS4SMESA_DECL
15258   #define GLWINDOWPOS4SMESA_DECL
15259   csGLWINDOWPOS4SMESA glWindowPos4sMESA;
15260   #endif
15261 
15262   #ifndef GLWINDOWPOS4FMESA_DECL
15263   #define GLWINDOWPOS4FMESA_DECL
15264   csGLWINDOWPOS4FMESA glWindowPos4fMESA;
15265   #endif
15266 
15267   #ifndef GLWINDOWPOS4DMESA_DECL
15268   #define GLWINDOWPOS4DMESA_DECL
15269   csGLWINDOWPOS4DMESA glWindowPos4dMESA;
15270   #endif
15271 
15272   #ifndef GLWINDOWPOS4IVMESA_DECL
15273   #define GLWINDOWPOS4IVMESA_DECL
15274   csGLWINDOWPOS4IVMESA glWindowPos4ivMESA;
15275   #endif
15276 
15277   #ifndef GLWINDOWPOS4SVMESA_DECL
15278   #define GLWINDOWPOS4SVMESA_DECL
15279   csGLWINDOWPOS4SVMESA glWindowPos4svMESA;
15280   #endif
15281 
15282   #ifndef GLWINDOWPOS4FVMESA_DECL
15283   #define GLWINDOWPOS4FVMESA_DECL
15284   csGLWINDOWPOS4FVMESA glWindowPos4fvMESA;
15285   #endif
15286 
15287   #ifndef GLWINDOWPOS4DVMESA_DECL
15288   #define GLWINDOWPOS4DVMESA_DECL
15289   csGLWINDOWPOS4DVMESA glWindowPos4dvMESA;
15290   #endif
15291 
15292 
15317   #ifndef GLSAMPLEMASKSGIS_DECL
15318   #define GLSAMPLEMASKSGIS_DECL
15319   csGLSAMPLEMASKSGIS glSampleMaskSGIS;
15320   #endif
15321 
15322   #ifndef GLSAMPLEPATTERNSGIS_DECL
15323   #define GLSAMPLEPATTERNSGIS_DECL
15324   csGLSAMPLEPATTERNSGIS glSamplePatternSGIS;
15325   #endif
15326 
15327 
15332   #ifndef GLPIXELTEXGENPARAMETERISGIS_DECL
15333   #define GLPIXELTEXGENPARAMETERISGIS_DECL
15334   csGLPIXELTEXGENPARAMETERISGIS glPixelTexGenParameteriSGIS;
15335   #endif
15336 
15337   #ifndef GLPIXELTEXGENPARAMETERFSGIS_DECL
15338   #define GLPIXELTEXGENPARAMETERFSGIS_DECL
15339   csGLPIXELTEXGENPARAMETERFSGIS glPixelTexGenParameterfSGIS;
15340   #endif
15341 
15342   #ifndef GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
15343   #define GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
15344   csGLGETPIXELTEXGENPARAMETERIVSGIS glGetPixelTexGenParameterivSGIS;
15345   #endif
15346 
15347   #ifndef GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
15348   #define GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
15349   csGLGETPIXELTEXGENPARAMETERFVSGIS glGetPixelTexGenParameterfvSGIS;
15350   #endif
15351 
15352 
15362   #ifndef GLTEXTURECOLORMASKSGIS_DECL
15363   #define GLTEXTURECOLORMASKSGIS_DECL
15364   csGLTEXTURECOLORMASKSGIS glTextureColorMaskSGIS;
15365   #endif
15366 
15367 
15407   #ifndef GLCOLORTABLESGI_DECL
15408   #define GLCOLORTABLESGI_DECL
15409   csGLCOLORTABLESGI glColorTableSGI;
15410   #endif
15411 
15412   #ifndef GLCOPYCOLORTABLESGI_DECL
15413   #define GLCOPYCOLORTABLESGI_DECL
15414   csGLCOPYCOLORTABLESGI glCopyColorTableSGI;
15415   #endif
15416 
15417   #ifndef GLCOLORTABLEPARAMETERIVSGI_DECL
15418   #define GLCOLORTABLEPARAMETERIVSGI_DECL
15419   csGLCOLORTABLEPARAMETERIVSGI glColorTableParameterivSGI;
15420   #endif
15421 
15422   #ifndef GLCOLORTABLEPARAMETERFVSGI_DECL
15423   #define GLCOLORTABLEPARAMETERFVSGI_DECL
15424   csGLCOLORTABLEPARAMETERFVSGI glColorTableParameterfvSGI;
15425   #endif
15426 
15427   #ifndef GLGETCOLORTABLESGI_DECL
15428   #define GLGETCOLORTABLESGI_DECL
15429   csGLGETCOLORTABLESGI glGetColorTableSGI;
15430   #endif
15431 
15432   #ifndef GLGETCOLORTABLEPARAMETERIVSGI_DECL
15433   #define GLGETCOLORTABLEPARAMETERIVSGI_DECL
15434   csGLGETCOLORTABLEPARAMETERIVSGI glGetColorTableParameterivSGI;
15435   #endif
15436 
15437   #ifndef GLGETCOLORTABLEPARAMETERFVSGI_DECL
15438   #define GLGETCOLORTABLEPARAMETERFVSGI_DECL
15439   csGLGETCOLORTABLEPARAMETERFVSGI glGetColorTableParameterfvSGI;
15440   #endif
15441 
15442 
15452   #ifndef GLCOLOR4UBVERTEX2FSUN_DECL
15453   #define GLCOLOR4UBVERTEX2FSUN_DECL
15454   csGLCOLOR4UBVERTEX2FSUN glColor4ubVertex2fSUN;
15455   #endif
15456 
15457   #ifndef GLCOLOR4UBVERTEX2FVSUN_DECL
15458   #define GLCOLOR4UBVERTEX2FVSUN_DECL
15459   csGLCOLOR4UBVERTEX2FVSUN glColor4ubVertex2fvSUN;
15460   #endif
15461 
15462   #ifndef GLCOLOR4UBVERTEX3FSUN_DECL
15463   #define GLCOLOR4UBVERTEX3FSUN_DECL
15464   csGLCOLOR4UBVERTEX3FSUN glColor4ubVertex3fSUN;
15465   #endif
15466 
15467   #ifndef GLCOLOR4UBVERTEX3FVSUN_DECL
15468   #define GLCOLOR4UBVERTEX3FVSUN_DECL
15469   csGLCOLOR4UBVERTEX3FVSUN glColor4ubVertex3fvSUN;
15470   #endif
15471 
15472   #ifndef GLCOLOR3FVERTEX3FSUN_DECL
15473   #define GLCOLOR3FVERTEX3FSUN_DECL
15474   csGLCOLOR3FVERTEX3FSUN glColor3fVertex3fSUN;
15475   #endif
15476 
15477   #ifndef GLCOLOR3FVERTEX3FVSUN_DECL
15478   #define GLCOLOR3FVERTEX3FVSUN_DECL
15479   csGLCOLOR3FVERTEX3FVSUN glColor3fVertex3fvSUN;
15480   #endif
15481 
15482   #ifndef GLNORMAL3FVERTEX3FSUN_DECL
15483   #define GLNORMAL3FVERTEX3FSUN_DECL
15484   csGLNORMAL3FVERTEX3FSUN glNormal3fVertex3fSUN;
15485   #endif
15486 
15487   #ifndef GLNORMAL3FVERTEX3FVSUN_DECL
15488   #define GLNORMAL3FVERTEX3FVSUN_DECL
15489   csGLNORMAL3FVERTEX3FVSUN glNormal3fVertex3fvSUN;
15490   #endif
15491 
15492   #ifndef GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15493   #define GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15494   csGLCOLOR4FNORMAL3FVERTEX3FSUN glColor4fNormal3fVertex3fSUN;
15495   #endif
15496 
15497   #ifndef GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15498   #define GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15499   csGLCOLOR4FNORMAL3FVERTEX3FVSUN glColor4fNormal3fVertex3fvSUN;
15500   #endif
15501 
15502   #ifndef GLTEXCOORD2FVERTEX3FSUN_DECL
15503   #define GLTEXCOORD2FVERTEX3FSUN_DECL
15504   csGLTEXCOORD2FVERTEX3FSUN glTexCoord2fVertex3fSUN;
15505   #endif
15506 
15507   #ifndef GLTEXCOORD2FVERTEX3FVSUN_DECL
15508   #define GLTEXCOORD2FVERTEX3FVSUN_DECL
15509   csGLTEXCOORD2FVERTEX3FVSUN glTexCoord2fVertex3fvSUN;
15510   #endif
15511 
15512   #ifndef GLTEXCOORD4FVERTEX4FSUN_DECL
15513   #define GLTEXCOORD4FVERTEX4FSUN_DECL
15514   csGLTEXCOORD4FVERTEX4FSUN glTexCoord4fVertex4fSUN;
15515   #endif
15516 
15517   #ifndef GLTEXCOORD4FVERTEX4FVSUN_DECL
15518   #define GLTEXCOORD4FVERTEX4FVSUN_DECL
15519   csGLTEXCOORD4FVERTEX4FVSUN glTexCoord4fVertex4fvSUN;
15520   #endif
15521 
15522   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
15523   #define GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
15524   csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN glTexCoord2fColor4ubVertex3fSUN;
15525   #endif
15526 
15527   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
15528   #define GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
15529   csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN glTexCoord2fColor4ubVertex3fvSUN;
15530   #endif
15531 
15532   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
15533   #define GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
15534   csGLTEXCOORD2FCOLOR3FVERTEX3FSUN glTexCoord2fColor3fVertex3fSUN;
15535   #endif
15536 
15537   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
15538   #define GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
15539   csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN glTexCoord2fColor3fVertex3fvSUN;
15540   #endif
15541 
15542   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
15543   #define GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
15544   csGLTEXCOORD2FNORMAL3FVERTEX3FSUN glTexCoord2fNormal3fVertex3fSUN;
15545   #endif
15546 
15547   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
15548   #define GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
15549   csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN glTexCoord2fNormal3fVertex3fvSUN;
15550   #endif
15551 
15552   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15553   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15554   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glTexCoord2fColor4fNormal3fVertex3fSUN;
15555   #endif
15556 
15557   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15558   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15559   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glTexCoord2fColor4fNormal3fVertex3fvSUN;
15560   #endif
15561 
15562   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
15563   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
15564   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN glTexCoord4fColor4fNormal3fVertex4fSUN;
15565   #endif
15566 
15567   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
15568   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
15569   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN glTexCoord4fColor4fNormal3fVertex4fvSUN;
15570   #endif
15571 
15572   #ifndef GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
15573   #define GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
15574   csGLREPLACEMENTCODEUIVERTEX3FSUN glReplacementCodeuiVertex3fSUN;
15575   #endif
15576 
15577   #ifndef GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
15578   #define GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
15579   csGLREPLACEMENTCODEUIVERTEX3FVSUN glReplacementCodeuiVertex3fvSUN;
15580   #endif
15581 
15582   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
15583   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
15584   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN glReplacementCodeuiColor4ubVertex3fSUN;
15585   #endif
15586 
15587   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
15588   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
15589   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN glReplacementCodeuiColor4ubVertex3fvSUN;
15590   #endif
15591 
15592   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
15593   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
15594   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN glReplacementCodeuiColor3fVertex3fSUN;
15595   #endif
15596 
15597   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
15598   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
15599   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN glReplacementCodeuiColor3fVertex3fvSUN;
15600   #endif
15601 
15602   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
15603   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
15604   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN glReplacementCodeuiNormal3fVertex3fSUN;
15605   #endif
15606 
15607   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
15608   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
15609   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN glReplacementCodeuiNormal3fVertex3fvSUN;
15610   #endif
15611 
15612   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
15613   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
15614   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN;
15615   #endif
15616 
15617   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15618   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15619   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN;
15620   #endif
15621 
15622   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
15623   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
15624   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN glReplacementCodeuiTexCoord2fVertex3fSUN;
15625   #endif
15626 
15627   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
15628   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
15629   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN glReplacementCodeuiTexCoord2fVertex3fvSUN;
15630   #endif
15631 
15632   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
15633   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
15634   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN;
15635   #endif
15636 
15637   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
15638   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
15639   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN;
15640   #endif
15641 
15642   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15643   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
15644   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN;
15645   #endif
15646 
15647   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15648   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
15649   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN;
15650   #endif
15651 
15652 
15672   #ifndef GLELEMENTPOINTERAPPLE_DECL
15673   #define GLELEMENTPOINTERAPPLE_DECL
15674   csGLELEMENTPOINTERAPPLE glElementPointerAPPLE;
15675   #endif
15676 
15677   #ifndef GLDRAWELEMENTARRAYAPPLE_DECL
15678   #define GLDRAWELEMENTARRAYAPPLE_DECL
15679   csGLDRAWELEMENTARRAYAPPLE glDrawElementArrayAPPLE;
15680   #endif
15681 
15682   #ifndef GLDRAWRANGEELEMENTARRAYAPPLE_DECL
15683   #define GLDRAWRANGEELEMENTARRAYAPPLE_DECL
15684   csGLDRAWRANGEELEMENTARRAYAPPLE glDrawRangeElementArrayAPPLE;
15685   #endif
15686 
15687   #ifndef GLMULTIDRAWELEMENTARRAYAPPLE_DECL
15688   #define GLMULTIDRAWELEMENTARRAYAPPLE_DECL
15689   csGLMULTIDRAWELEMENTARRAYAPPLE glMultiDrawElementArrayAPPLE;
15690   #endif
15691 
15692   #ifndef GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
15693   #define GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
15694   csGLMULTIDRAWRANGEELEMENTARRAYAPPLE glMultiDrawRangeElementArrayAPPLE;
15695   #endif
15696 
15697 
15702   #ifndef GLGENFENCESAPPLE_DECL
15703   #define GLGENFENCESAPPLE_DECL
15704   csGLGENFENCESAPPLE glGenFencesAPPLE;
15705   #endif
15706 
15707   #ifndef GLDELETEFENCESAPPLE_DECL
15708   #define GLDELETEFENCESAPPLE_DECL
15709   csGLDELETEFENCESAPPLE glDeleteFencesAPPLE;
15710   #endif
15711 
15712   #ifndef GLSETFENCEAPPLE_DECL
15713   #define GLSETFENCEAPPLE_DECL
15714   csGLSETFENCEAPPLE glSetFenceAPPLE;
15715   #endif
15716 
15717   #ifndef GLISFENCEAPPLE_DECL
15718   #define GLISFENCEAPPLE_DECL
15719   csGLISFENCEAPPLE glIsFenceAPPLE;
15720   #endif
15721 
15722   #ifndef GLTESTFENCEAPPLE_DECL
15723   #define GLTESTFENCEAPPLE_DECL
15724   csGLTESTFENCEAPPLE glTestFenceAPPLE;
15725   #endif
15726 
15727   #ifndef GLFINISHFENCEAPPLE_DECL
15728   #define GLFINISHFENCEAPPLE_DECL
15729   csGLFINISHFENCEAPPLE glFinishFenceAPPLE;
15730   #endif
15731 
15732   #ifndef GLTESTOBJECTAPPLE_DECL
15733   #define GLTESTOBJECTAPPLE_DECL
15734   csGLTESTOBJECTAPPLE glTestObjectAPPLE;
15735   #endif
15736 
15737   #ifndef GLFINISHOBJECTAPPLE_DECL
15738   #define GLFINISHOBJECTAPPLE_DECL
15739   csGLFINISHOBJECTAPPLE glFinishObjectAPPLE;
15740   #endif
15741 
15742 
15747   #ifndef GLBINDVERTEXARRAYAPPLE_DECL
15748   #define GLBINDVERTEXARRAYAPPLE_DECL
15749   csGLBINDVERTEXARRAYAPPLE glBindVertexArrayAPPLE;
15750   #endif
15751 
15752   #ifndef GLDELETEVERTEXARRAYSAPPLE_DECL
15753   #define GLDELETEVERTEXARRAYSAPPLE_DECL
15754   csGLDELETEVERTEXARRAYSAPPLE glDeleteVertexArraysAPPLE;
15755   #endif
15756 
15757   #ifndef GLGENVERTEXARRAYSAPPLE_DECL
15758   #define GLGENVERTEXARRAYSAPPLE_DECL
15759   csGLGENVERTEXARRAYSAPPLE glGenVertexArraysAPPLE;
15760   #endif
15761 
15762   #ifndef GLISVERTEXARRAYAPPLE_DECL
15763   #define GLISVERTEXARRAYAPPLE_DECL
15764   csGLISVERTEXARRAYAPPLE glIsVertexArrayAPPLE;
15765   #endif
15766 
15767 
15772   #ifndef GLVERTEXARRAYRANGEAPPLE_DECL
15773   #define GLVERTEXARRAYRANGEAPPLE_DECL
15774   csGLVERTEXARRAYRANGEAPPLE glVertexArrayRangeAPPLE;
15775   #endif
15776 
15777   #ifndef GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
15778   #define GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
15779   csGLFLUSHVERTEXARRAYRANGEAPPLE glFlushVertexArrayRangeAPPLE;
15780   #endif
15781 
15782   #ifndef GLVERTEXARRAYPARAMETERIAPPLE_DECL
15783   #define GLVERTEXARRAYPARAMETERIAPPLE_DECL
15784   csGLVERTEXARRAYPARAMETERIAPPLE glVertexArrayParameteriAPPLE;
15785   #endif
15786 
15787 
15789 #ifdef _WIN32
15790 
15793   #ifndef WGLGETPIXELFORMATATTRIBIVARB_DECL
15794   #define WGLGETPIXELFORMATATTRIBIVARB_DECL
15795   csWGLGETPIXELFORMATATTRIBIVARB wglGetPixelFormatAttribivARB;
15796   #endif
15797 
15798   #ifndef WGLGETPIXELFORMATATTRIBFVARB_DECL
15799   #define WGLGETPIXELFORMATATTRIBFVARB_DECL
15800   csWGLGETPIXELFORMATATTRIBFVARB wglGetPixelFormatAttribfvARB;
15801   #endif
15802 
15803   #ifndef WGLCHOOSEPIXELFORMATARB_DECL
15804   #define WGLCHOOSEPIXELFORMATARB_DECL
15805   csWGLCHOOSEPIXELFORMATARB wglChoosePixelFormatARB;
15806   #endif
15807 
15808 
15810 #endif // _WIN32
15811 
15812 #ifdef _WIN32
15813 
15816   #ifndef WGLMAKECONTEXTCURRENTARB_DECL
15817   #define WGLMAKECONTEXTCURRENTARB_DECL
15818   csWGLMAKECONTEXTCURRENTARB wglMakeContextCurrentARB;
15819   #endif
15820 
15821   #ifndef WGLGETCURRENTREADDCARB_DECL
15822   #define WGLGETCURRENTREADDCARB_DECL
15823   csWGLGETCURRENTREADDCARB wglGetCurrentReadDCARB;
15824   #endif
15825 
15826 
15828 #endif // _WIN32
15829 
15830 #ifdef _WIN32
15831 
15834   #ifndef WGLCREATEPBUFFERARB_DECL
15835   #define WGLCREATEPBUFFERARB_DECL
15836   csWGLCREATEPBUFFERARB wglCreatePbufferARB;
15837   #endif
15838 
15839   #ifndef WGLGETPBUFFERDCARB_DECL
15840   #define WGLGETPBUFFERDCARB_DECL
15841   csWGLGETPBUFFERDCARB wglGetPbufferDCARB;
15842   #endif
15843 
15844   #ifndef WGLRELEASEPBUFFERDCARB_DECL
15845   #define WGLRELEASEPBUFFERDCARB_DECL
15846   csWGLRELEASEPBUFFERDCARB wglReleasePbufferDCARB;
15847   #endif
15848 
15849   #ifndef WGLDESTROYPBUFFERARB_DECL
15850   #define WGLDESTROYPBUFFERARB_DECL
15851   csWGLDESTROYPBUFFERARB wglDestroyPbufferARB;
15852   #endif
15853 
15854   #ifndef WGLQUERYPBUFFERARB_DECL
15855   #define WGLQUERYPBUFFERARB_DECL
15856   csWGLQUERYPBUFFERARB wglQueryPbufferARB;
15857   #endif
15858 
15859 
15861 #endif // _WIN32
15862 
15863 #ifdef _WIN32
15864 
15867   #ifndef WGLSWAPINTERVALEXT_DECL
15868   #define WGLSWAPINTERVALEXT_DECL
15869   csWGLSWAPINTERVALEXT wglSwapIntervalEXT;
15870   #endif
15871 
15872   #ifndef WGLGETSWAPINTERVALEXT_DECL
15873   #define WGLGETSWAPINTERVALEXT_DECL
15874   csWGLGETSWAPINTERVALEXT wglGetSwapIntervalEXT;
15875   #endif
15876 
15877 
15879 #endif // _WIN32
15880 
15881 #ifdef _WIN32
15882 
15885   #ifndef WGLBINDTEXIMAGEARB_DECL
15886   #define WGLBINDTEXIMAGEARB_DECL
15887   csWGLBINDTEXIMAGEARB wglBindTexImageARB;
15888   #endif
15889 
15890   #ifndef WGLRELEASETEXIMAGEARB_DECL
15891   #define WGLRELEASETEXIMAGEARB_DECL
15892   csWGLRELEASETEXIMAGEARB wglReleaseTexImageARB;
15893   #endif
15894 
15895   #ifndef WGLSETPBUFFERATTRIBARB_DECL
15896   #define WGLSETPBUFFERATTRIBARB_DECL
15897   csWGLSETPBUFFERATTRIBARB wglSetPbufferAttribARB;
15898   #endif
15899 
15900 
15902 #endif // _WIN32
15903 
15904 #ifdef _WIN32
15905 
15908   #ifndef WGLGETEXTENSIONSSTRINGEXT_DECL
15909   #define WGLGETEXTENSIONSSTRINGEXT_DECL
15910   csWGLGETEXTENSIONSSTRINGEXT wglGetExtensionsStringEXT;
15911   #endif
15912 
15913 
15915 #endif // _WIN32
15916 
15917 #ifdef _WIN32
15918 
15921   #ifndef WGLMAKECONTEXTCURRENTEXT_DECL
15922   #define WGLMAKECONTEXTCURRENTEXT_DECL
15923   csWGLMAKECONTEXTCURRENTEXT wglMakeContextCurrentEXT;
15924   #endif
15925 
15926   #ifndef WGLGETCURRENTREADDCEXT_DECL
15927   #define WGLGETCURRENTREADDCEXT_DECL
15928   csWGLGETCURRENTREADDCEXT wglGetCurrentReadDCEXT;
15929   #endif
15930 
15931 
15933 #endif // _WIN32
15934 
15935 #ifdef _WIN32
15936 
15939   #ifndef WGLCREATEPBUFFEREXT_DECL
15940   #define WGLCREATEPBUFFEREXT_DECL
15941   csWGLCREATEPBUFFEREXT wglCreatePbufferEXT;
15942   #endif
15943 
15944   #ifndef WGLGETPBUFFERDCEXT_DECL
15945   #define WGLGETPBUFFERDCEXT_DECL
15946   csWGLGETPBUFFERDCEXT wglGetPbufferDCEXT;
15947   #endif
15948 
15949   #ifndef WGLRELEASEPBUFFERDCEXT_DECL
15950   #define WGLRELEASEPBUFFERDCEXT_DECL
15951   csWGLRELEASEPBUFFERDCEXT wglReleasePbufferDCEXT;
15952   #endif
15953 
15954   #ifndef WGLDESTROYPBUFFEREXT_DECL
15955   #define WGLDESTROYPBUFFEREXT_DECL
15956   csWGLDESTROYPBUFFEREXT wglDestroyPbufferEXT;
15957   #endif
15958 
15959   #ifndef WGLQUERYPBUFFEREXT_DECL
15960   #define WGLQUERYPBUFFEREXT_DECL
15961   csWGLQUERYPBUFFEREXT wglQueryPbufferEXT;
15962   #endif
15963 
15964 
15966 #endif // _WIN32
15967 
15968 #ifdef _WIN32
15969 
15972   #ifndef WGLGETPIXELFORMATATTRIBIVEXT_DECL
15973   #define WGLGETPIXELFORMATATTRIBIVEXT_DECL
15974   csWGLGETPIXELFORMATATTRIBIVEXT wglGetPixelFormatAttribivEXT;
15975   #endif
15976 
15977   #ifndef WGLGETPIXELFORMATATTRIBFVEXT_DECL
15978   #define WGLGETPIXELFORMATATTRIBFVEXT_DECL
15979   csWGLGETPIXELFORMATATTRIBFVEXT wglGetPixelFormatAttribfvEXT;
15980   #endif
15981 
15982   #ifndef WGLCHOOSEPIXELFORMATEXT_DECL
15983   #define WGLCHOOSEPIXELFORMATEXT_DECL
15984   csWGLCHOOSEPIXELFORMATEXT wglChoosePixelFormatEXT;
15985   #endif
15986 
15987 
15989 #endif // _WIN32
15990 
15991 #ifdef _WIN32
15992 
15995   #ifndef WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
15996   #define WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
15997   csWGLGETDIGITALVIDEOPARAMETERSI3D wglGetDigitalVideoParametersI3D;
15998   #endif
15999 
16000   #ifndef WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
16001   #define WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
16002   csWGLSETDIGITALVIDEOPARAMETERSI3D wglSetDigitalVideoParametersI3D;
16003   #endif
16004 
16005 
16007 #endif // _WIN32
16008 
16009 #ifdef _WIN32
16010 
16013   #ifndef WGLGETGAMMATABLEPARAMETERSI3D_DECL
16014   #define WGLGETGAMMATABLEPARAMETERSI3D_DECL
16015   csWGLGETGAMMATABLEPARAMETERSI3D wglGetGammaTableParametersI3D;
16016   #endif
16017 
16018   #ifndef WGLSETGAMMATABLEPARAMETERSI3D_DECL
16019   #define WGLSETGAMMATABLEPARAMETERSI3D_DECL
16020   csWGLSETGAMMATABLEPARAMETERSI3D wglSetGammaTableParametersI3D;
16021   #endif
16022 
16023   #ifndef WGLGETGAMMATABLEI3D_DECL
16024   #define WGLGETGAMMATABLEI3D_DECL
16025   csWGLGETGAMMATABLEI3D wglGetGammaTableI3D;
16026   #endif
16027 
16028   #ifndef WGLSETGAMMATABLEI3D_DECL
16029   #define WGLSETGAMMATABLEI3D_DECL
16030   csWGLSETGAMMATABLEI3D wglSetGammaTableI3D;
16031   #endif
16032 
16033 
16035 #endif // _WIN32
16036 
16037 #ifdef _WIN32
16038 
16041   #ifndef WGLENABLEGENLOCKI3D_DECL
16042   #define WGLENABLEGENLOCKI3D_DECL
16043   csWGLENABLEGENLOCKI3D wglEnableGenlockI3D;
16044   #endif
16045 
16046   #ifndef WGLDISABLEGENLOCKI3D_DECL
16047   #define WGLDISABLEGENLOCKI3D_DECL
16048   csWGLDISABLEGENLOCKI3D wglDisableGenlockI3D;
16049   #endif
16050 
16051   #ifndef WGLISENABLEDGENLOCKI3D_DECL
16052   #define WGLISENABLEDGENLOCKI3D_DECL
16053   csWGLISENABLEDGENLOCKI3D wglIsEnabledGenlockI3D;
16054   #endif
16055 
16056   #ifndef WGLGENLOCKSOURCEI3D_DECL
16057   #define WGLGENLOCKSOURCEI3D_DECL
16058   csWGLGENLOCKSOURCEI3D wglGenlockSourceI3D;
16059   #endif
16060 
16061   #ifndef WGLGETGENLOCKSOURCEI3D_DECL
16062   #define WGLGETGENLOCKSOURCEI3D_DECL
16063   csWGLGETGENLOCKSOURCEI3D wglGetGenlockSourceI3D;
16064   #endif
16065 
16066   #ifndef WGLGENLOCKSOURCEEDGEI3D_DECL
16067   #define WGLGENLOCKSOURCEEDGEI3D_DECL
16068   csWGLGENLOCKSOURCEEDGEI3D wglGenlockSourceEdgeI3D;
16069   #endif
16070 
16071   #ifndef WGLGETGENLOCKSOURCEEDGEI3D_DECL
16072   #define WGLGETGENLOCKSOURCEEDGEI3D_DECL
16073   csWGLGETGENLOCKSOURCEEDGEI3D wglGetGenlockSourceEdgeI3D;
16074   #endif
16075 
16076   #ifndef WGLGENLOCKSAMPLERATEI3D_DECL
16077   #define WGLGENLOCKSAMPLERATEI3D_DECL
16078   csWGLGENLOCKSAMPLERATEI3D wglGenlockSampleRateI3D;
16079   #endif
16080 
16081   #ifndef WGLGETGENLOCKSAMPLERATEI3D_DECL
16082   #define WGLGETGENLOCKSAMPLERATEI3D_DECL
16083   csWGLGETGENLOCKSAMPLERATEI3D wglGetGenlockSampleRateI3D;
16084   #endif
16085 
16086   #ifndef WGLGENLOCKSOURCEDELAYI3D_DECL
16087   #define WGLGENLOCKSOURCEDELAYI3D_DECL
16088   csWGLGENLOCKSOURCEDELAYI3D wglGenlockSourceDelayI3D;
16089   #endif
16090 
16091   #ifndef WGLGETGENLOCKSOURCEDELAYI3D_DECL
16092   #define WGLGETGENLOCKSOURCEDELAYI3D_DECL
16093   csWGLGETGENLOCKSOURCEDELAYI3D wglGetGenlockSourceDelayI3D;
16094   #endif
16095 
16096   #ifndef WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
16097   #define WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
16098   csWGLQUERYGENLOCKMAXSOURCEDELAYI3D wglQueryGenlockMaxSourceDelayI3D;
16099   #endif
16100 
16101 
16103 #endif // _WIN32
16104 
16108   #ifndef GLCURRENTPALETTEMATRIXARB_DECL
16109   #define GLCURRENTPALETTEMATRIXARB_DECL
16110   csGLCURRENTPALETTEMATRIXARB glCurrentPaletteMatrixARB;
16111   #endif
16112 
16113   #ifndef GLMATRIXINDEXUBVARB_DECL
16114   #define GLMATRIXINDEXUBVARB_DECL
16115   csGLMATRIXINDEXUBVARB glMatrixIndexubvARB;
16116   #endif
16117 
16118   #ifndef GLMATRIXINDEXUSVARB_DECL
16119   #define GLMATRIXINDEXUSVARB_DECL
16120   csGLMATRIXINDEXUSVARB glMatrixIndexusvARB;
16121   #endif
16122 
16123   #ifndef GLMATRIXINDEXUIVARB_DECL
16124   #define GLMATRIXINDEXUIVARB_DECL
16125   csGLMATRIXINDEXUIVARB glMatrixIndexuivARB;
16126   #endif
16127 
16128   #ifndef GLMATRIXINDEXPOINTERARB_DECL
16129   #define GLMATRIXINDEXPOINTERARB_DECL
16130   csGLMATRIXINDEXPOINTERARB glMatrixIndexPointerARB;
16131   #endif
16132 
16133 
16138   #ifndef GLELEMENTPOINTERNV_DECL
16139   #define GLELEMENTPOINTERNV_DECL
16140   csGLELEMENTPOINTERNV glElementPointerNV;
16141   #endif
16142 
16143   #ifndef GLDRAWELEMENTARRAYNV_DECL
16144   #define GLDRAWELEMENTARRAYNV_DECL
16145   csGLDRAWELEMENTARRAYNV glDrawElementArrayNV;
16146   #endif
16147 
16148   #ifndef GLDRAWRANGEELEMENTARRAYNV_DECL
16149   #define GLDRAWRANGEELEMENTARRAYNV_DECL
16150   csGLDRAWRANGEELEMENTARRAYNV glDrawRangeElementArrayNV;
16151   #endif
16152 
16153   #ifndef GLMULTIDRAWELEMENTARRAYNV_DECL
16154   #define GLMULTIDRAWELEMENTARRAYNV_DECL
16155   csGLMULTIDRAWELEMENTARRAYNV glMultiDrawElementArrayNV;
16156   #endif
16157 
16158   #ifndef GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
16159   #define GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
16160   csGLMULTIDRAWRANGEELEMENTARRAYNV glMultiDrawRangeElementArrayNV;
16161   #endif
16162 
16163 
16173   #ifndef GLPROGRAMNAMEDPARAMETER4FNV_DECL
16174   #define GLPROGRAMNAMEDPARAMETER4FNV_DECL
16175   csGLPROGRAMNAMEDPARAMETER4FNV glProgramNamedParameter4fNV;
16176   #endif
16177 
16178   #ifndef GLPROGRAMNAMEDPARAMETER4DNV_DECL
16179   #define GLPROGRAMNAMEDPARAMETER4DNV_DECL
16180   csGLPROGRAMNAMEDPARAMETER4DNV glProgramNamedParameter4dNV;
16181   #endif
16182 
16183   #ifndef GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
16184   #define GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
16185   csGLGETPROGRAMNAMEDPARAMETERFVNV glGetProgramNamedParameterfvNV;
16186   #endif
16187 
16188   #ifndef GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
16189   #define GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
16190   csGLGETPROGRAMNAMEDPARAMETERDVNV glGetProgramNamedParameterdvNV;
16191   #endif
16192 
16193 
16198   #ifndef GLPRIMITIVERESTARTNV_DECL
16199   #define GLPRIMITIVERESTARTNV_DECL
16200   csGLPRIMITIVERESTARTNV glPrimitiveRestartNV;
16201   #endif
16202 
16203   #ifndef GLPRIMITIVERESTARTINDEXNV_DECL
16204   #define GLPRIMITIVERESTARTINDEXNV_DECL
16205   csGLPRIMITIVERESTARTINDEXNV glPrimitiveRestartIndexNV;
16206   #endif
16207 
16208 
16218   #ifndef GLBINDBUFFERARB_DECL
16219   #define GLBINDBUFFERARB_DECL
16220   csGLBINDBUFFERARB glBindBufferARB;
16221   #endif
16222 
16223   #ifndef GLDELETEBUFFERSARB_DECL
16224   #define GLDELETEBUFFERSARB_DECL
16225   csGLDELETEBUFFERSARB glDeleteBuffersARB;
16226   #endif
16227 
16228   #ifndef GLGENBUFFERSARB_DECL
16229   #define GLGENBUFFERSARB_DECL
16230   csGLGENBUFFERSARB glGenBuffersARB;
16231   #endif
16232 
16233   #ifndef GLBUFFERDATAARB_DECL
16234   #define GLBUFFERDATAARB_DECL
16235   csGLBUFFERDATAARB glBufferDataARB;
16236   #endif
16237 
16238   #ifndef GLBUFFERSUBDATAARB_DECL
16239   #define GLBUFFERSUBDATAARB_DECL
16240   csGLBUFFERSUBDATAARB glBufferSubDataARB;
16241   #endif
16242 
16243   #ifndef GLMAPBUFFERARB_DECL
16244   #define GLMAPBUFFERARB_DECL
16245   csGLMAPBUFFERARB glMapBufferARB;
16246   #endif
16247 
16248   #ifndef GLUNMAPBUFFERARB_DECL
16249   #define GLUNMAPBUFFERARB_DECL
16250   csGLUNMAPBUFFERARB glUnmapBufferARB;
16251   #endif
16252 
16253   #ifndef GLISBUFFERARB_DECL
16254   #define GLISBUFFERARB_DECL
16255   csGLISBUFFERARB glIsBufferARB;
16256   #endif
16257 
16258   #ifndef GLGETBUFFERSUBDATAARB_DECL
16259   #define GLGETBUFFERSUBDATAARB_DECL
16260   csGLGETBUFFERSUBDATAARB glGetBufferSubDataARB;
16261   #endif
16262 
16263   #ifndef GLGETBUFFERPOINTERVARB_DECL
16264   #define GLGETBUFFERPOINTERVARB_DECL
16265   csGLGETBUFFERPOINTERVARB glGetBufferPointervARB;
16266   #endif
16267 
16268   #ifndef GLGETBUFFERPARAMETERIVARB_DECL
16269   #define GLGETBUFFERPARAMETERIVARB_DECL
16270   csGLGETBUFFERPARAMETERIVARB glGetBufferParameterivARB;
16271   #endif
16272 
16273 
16278   #ifndef GLSTENCILOPSEPARATEATI_DECL
16279   #define GLSTENCILOPSEPARATEATI_DECL
16280   csGLSTENCILOPSEPARATEATI glStencilOpSeparateATI;
16281   #endif
16282 
16283   #ifndef GLSTENCILFUNCSEPARATEATI_DECL
16284   #define GLSTENCILFUNCSEPARATEATI_DECL
16285   csGLSTENCILFUNCSEPARATEATI glStencilFuncSeparateATI;
16286   #endif
16287 
16288 
16308   #ifndef GLDELETEOBJECTARB_DECL
16309   #define GLDELETEOBJECTARB_DECL
16310   csGLDELETEOBJECTARB glDeleteObjectARB;
16311   #endif
16312 
16313   #ifndef GLGETHANDLEARB_DECL
16314   #define GLGETHANDLEARB_DECL
16315   csGLGETHANDLEARB glGetHandleARB;
16316   #endif
16317 
16318   #ifndef GLDETACHOBJECTARB_DECL
16319   #define GLDETACHOBJECTARB_DECL
16320   csGLDETACHOBJECTARB glDetachObjectARB;
16321   #endif
16322 
16323   #ifndef GLCREATESHADEROBJECTARB_DECL
16324   #define GLCREATESHADEROBJECTARB_DECL
16325   csGLCREATESHADEROBJECTARB glCreateShaderObjectARB;
16326   #endif
16327 
16328   #ifndef GLSHADERSOURCEARB_DECL
16329   #define GLSHADERSOURCEARB_DECL
16330   csGLSHADERSOURCEARB glShaderSourceARB;
16331   #endif
16332 
16333   #ifndef GLCOMPILESHADERARB_DECL
16334   #define GLCOMPILESHADERARB_DECL
16335   csGLCOMPILESHADERARB glCompileShaderARB;
16336   #endif
16337 
16338   #ifndef GLCREATEPROGRAMOBJECTARB_DECL
16339   #define GLCREATEPROGRAMOBJECTARB_DECL
16340   csGLCREATEPROGRAMOBJECTARB glCreateProgramObjectARB;
16341   #endif
16342 
16343   #ifndef GLATTACHOBJECTARB_DECL
16344   #define GLATTACHOBJECTARB_DECL
16345   csGLATTACHOBJECTARB glAttachObjectARB;
16346   #endif
16347 
16348   #ifndef GLLINKPROGRAMARB_DECL
16349   #define GLLINKPROGRAMARB_DECL
16350   csGLLINKPROGRAMARB glLinkProgramARB;
16351   #endif
16352 
16353   #ifndef GLUSEPROGRAMOBJECTARB_DECL
16354   #define GLUSEPROGRAMOBJECTARB_DECL
16355   csGLUSEPROGRAMOBJECTARB glUseProgramObjectARB;
16356   #endif
16357 
16358   #ifndef GLVALIDATEPROGRAMARB_DECL
16359   #define GLVALIDATEPROGRAMARB_DECL
16360   csGLVALIDATEPROGRAMARB glValidateProgramARB;
16361   #endif
16362 
16363   #ifndef GLUNIFORM1FARB_DECL
16364   #define GLUNIFORM1FARB_DECL
16365   csGLUNIFORM1FARB glUniform1fARB;
16366   #endif
16367 
16368   #ifndef GLUNIFORM2FARB_DECL
16369   #define GLUNIFORM2FARB_DECL
16370   csGLUNIFORM2FARB glUniform2fARB;
16371   #endif
16372 
16373   #ifndef GLUNIFORM3FARB_DECL
16374   #define GLUNIFORM3FARB_DECL
16375   csGLUNIFORM3FARB glUniform3fARB;
16376   #endif
16377 
16378   #ifndef GLUNIFORM4FARB_DECL
16379   #define GLUNIFORM4FARB_DECL
16380   csGLUNIFORM4FARB glUniform4fARB;
16381   #endif
16382 
16383   #ifndef GLUNIFORM1IARB_DECL
16384   #define GLUNIFORM1IARB_DECL
16385   csGLUNIFORM1IARB glUniform1iARB;
16386   #endif
16387 
16388   #ifndef GLUNIFORM2IARB_DECL
16389   #define GLUNIFORM2IARB_DECL
16390   csGLUNIFORM2IARB glUniform2iARB;
16391   #endif
16392 
16393   #ifndef GLUNIFORM3IARB_DECL
16394   #define GLUNIFORM3IARB_DECL
16395   csGLUNIFORM3IARB glUniform3iARB;
16396   #endif
16397 
16398   #ifndef GLUNIFORM4IARB_DECL
16399   #define GLUNIFORM4IARB_DECL
16400   csGLUNIFORM4IARB glUniform4iARB;
16401   #endif
16402 
16403   #ifndef GLUNIFORM1FVARB_DECL
16404   #define GLUNIFORM1FVARB_DECL
16405   csGLUNIFORM1FVARB glUniform1fvARB;
16406   #endif
16407 
16408   #ifndef GLUNIFORM2FVARB_DECL
16409   #define GLUNIFORM2FVARB_DECL
16410   csGLUNIFORM2FVARB glUniform2fvARB;
16411   #endif
16412 
16413   #ifndef GLUNIFORM3FVARB_DECL
16414   #define GLUNIFORM3FVARB_DECL
16415   csGLUNIFORM3FVARB glUniform3fvARB;
16416   #endif
16417 
16418   #ifndef GLUNIFORM4FVARB_DECL
16419   #define GLUNIFORM4FVARB_DECL
16420   csGLUNIFORM4FVARB glUniform4fvARB;
16421   #endif
16422 
16423   #ifndef GLUNIFORM1IVARB_DECL
16424   #define GLUNIFORM1IVARB_DECL
16425   csGLUNIFORM1IVARB glUniform1ivARB;
16426   #endif
16427 
16428   #ifndef GLUNIFORM2IVARB_DECL
16429   #define GLUNIFORM2IVARB_DECL
16430   csGLUNIFORM2IVARB glUniform2ivARB;
16431   #endif
16432 
16433   #ifndef GLUNIFORM3IVARB_DECL
16434   #define GLUNIFORM3IVARB_DECL
16435   csGLUNIFORM3IVARB glUniform3ivARB;
16436   #endif
16437 
16438   #ifndef GLUNIFORM4IVARB_DECL
16439   #define GLUNIFORM4IVARB_DECL
16440   csGLUNIFORM4IVARB glUniform4ivARB;
16441   #endif
16442 
16443   #ifndef GLUNIFORMMATRIX2FVARB_DECL
16444   #define GLUNIFORMMATRIX2FVARB_DECL
16445   csGLUNIFORMMATRIX2FVARB glUniformMatrix2fvARB;
16446   #endif
16447 
16448   #ifndef GLUNIFORMMATRIX3FVARB_DECL
16449   #define GLUNIFORMMATRIX3FVARB_DECL
16450   csGLUNIFORMMATRIX3FVARB glUniformMatrix3fvARB;
16451   #endif
16452 
16453   #ifndef GLUNIFORMMATRIX4FVARB_DECL
16454   #define GLUNIFORMMATRIX4FVARB_DECL
16455   csGLUNIFORMMATRIX4FVARB glUniformMatrix4fvARB;
16456   #endif
16457 
16458   #ifndef GLGETOBJECTPARAMETERFVARB_DECL
16459   #define GLGETOBJECTPARAMETERFVARB_DECL
16460   csGLGETOBJECTPARAMETERFVARB glGetObjectParameterfvARB;
16461   #endif
16462 
16463   #ifndef GLGETOBJECTPARAMETERIVARB_DECL
16464   #define GLGETOBJECTPARAMETERIVARB_DECL
16465   csGLGETOBJECTPARAMETERIVARB glGetObjectParameterivARB;
16466   #endif
16467 
16468   #ifndef GLGETINFOLOGARB_DECL
16469   #define GLGETINFOLOGARB_DECL
16470   csGLGETINFOLOGARB glGetInfoLogARB;
16471   #endif
16472 
16473   #ifndef GLGETATTACHEDOBJECTSARB_DECL
16474   #define GLGETATTACHEDOBJECTSARB_DECL
16475   csGLGETATTACHEDOBJECTSARB glGetAttachedObjectsARB;
16476   #endif
16477 
16478   #ifndef GLGETUNIFORMLOCATIONARB_DECL
16479   #define GLGETUNIFORMLOCATIONARB_DECL
16480   csGLGETUNIFORMLOCATIONARB glGetUniformLocationARB;
16481   #endif
16482 
16483   #ifndef GLGETACTIVEUNIFORMARB_DECL
16484   #define GLGETACTIVEUNIFORMARB_DECL
16485   csGLGETACTIVEUNIFORMARB glGetActiveUniformARB;
16486   #endif
16487 
16488   #ifndef GLGETUNIFORMFVARB_DECL
16489   #define GLGETUNIFORMFVARB_DECL
16490   csGLGETUNIFORMFVARB glGetUniformfvARB;
16491   #endif
16492 
16493   #ifndef GLGETUNIFORMIVARB_DECL
16494   #define GLGETUNIFORMIVARB_DECL
16495   csGLGETUNIFORMIVARB glGetUniformivARB;
16496   #endif
16497 
16498   #ifndef GLGETSHADERSOURCEARB_DECL
16499   #define GLGETSHADERSOURCEARB_DECL
16500   csGLGETSHADERSOURCEARB glGetShaderSourceARB;
16501   #endif
16502 
16503 
16513   #ifndef GLBINDATTRIBLOCATIONARB_DECL
16514   #define GLBINDATTRIBLOCATIONARB_DECL
16515   csGLBINDATTRIBLOCATIONARB glBindAttribLocationARB;
16516   #endif
16517 
16518   #ifndef GLGETACTIVEATTRIBARB_DECL
16519   #define GLGETACTIVEATTRIBARB_DECL
16520   csGLGETACTIVEATTRIBARB glGetActiveAttribARB;
16521   #endif
16522 
16523   #ifndef GLGETATTRIBLOCATIONARB_DECL
16524   #define GLGETATTRIBLOCATIONARB_DECL
16525   csGLGETATTRIBLOCATIONARB glGetAttribLocationARB;
16526   #endif
16527 
16528 
16543   #ifndef GLISRENDERBUFFEREXT_DECL
16544   #define GLISRENDERBUFFEREXT_DECL
16545   csGLISRENDERBUFFEREXT glIsRenderbufferEXT;
16546   #endif
16547 
16548   #ifndef GLBINDRENDERBUFFEREXT_DECL
16549   #define GLBINDRENDERBUFFEREXT_DECL
16550   csGLBINDRENDERBUFFEREXT glBindRenderbufferEXT;
16551   #endif
16552 
16553   #ifndef GLDELETERENDERBUFFERSEXT_DECL
16554   #define GLDELETERENDERBUFFERSEXT_DECL
16555   csGLDELETERENDERBUFFERSEXT glDeleteRenderbuffersEXT;
16556   #endif
16557 
16558   #ifndef GLGENRENDERBUFFERSEXT_DECL
16559   #define GLGENRENDERBUFFERSEXT_DECL
16560   csGLGENRENDERBUFFERSEXT glGenRenderbuffersEXT;
16561   #endif
16562 
16563   #ifndef GLRENDERBUFFERSTORAGEEXT_DECL
16564   #define GLRENDERBUFFERSTORAGEEXT_DECL
16565   csGLRENDERBUFFERSTORAGEEXT glRenderbufferStorageEXT;
16566   #endif
16567 
16568   #ifndef GLGETRENDERBUFFERPARAMETERIVEXT_DECL
16569   #define GLGETRENDERBUFFERPARAMETERIVEXT_DECL
16570   csGLGETRENDERBUFFERPARAMETERIVEXT glGetRenderbufferParameterivEXT;
16571   #endif
16572 
16573   #ifndef GLISFRAMEBUFFEREXT_DECL
16574   #define GLISFRAMEBUFFEREXT_DECL
16575   csGLISFRAMEBUFFEREXT glIsFramebufferEXT;
16576   #endif
16577 
16578   #ifndef GLBINDFRAMEBUFFEREXT_DECL
16579   #define GLBINDFRAMEBUFFEREXT_DECL
16580   csGLBINDFRAMEBUFFEREXT glBindFramebufferEXT;
16581   #endif
16582 
16583   #ifndef GLDELETEFRAMEBUFFERSEXT_DECL
16584   #define GLDELETEFRAMEBUFFERSEXT_DECL
16585   csGLDELETEFRAMEBUFFERSEXT glDeleteFramebuffersEXT;
16586   #endif
16587 
16588   #ifndef GLGENFRAMEBUFFERSEXT_DECL
16589   #define GLGENFRAMEBUFFERSEXT_DECL
16590   csGLGENFRAMEBUFFERSEXT glGenFramebuffersEXT;
16591   #endif
16592 
16593   #ifndef GLCHECKFRAMEBUFFERSTATUSEXT_DECL
16594   #define GLCHECKFRAMEBUFFERSTATUSEXT_DECL
16595   csGLCHECKFRAMEBUFFERSTATUSEXT glCheckFramebufferStatusEXT;
16596   #endif
16597 
16598   #ifndef GLFRAMEBUFFERTEXTURE1DEXT_DECL
16599   #define GLFRAMEBUFFERTEXTURE1DEXT_DECL
16600   csGLFRAMEBUFFERTEXTURE1DEXT glFramebufferTexture1DEXT;
16601   #endif
16602 
16603   #ifndef GLFRAMEBUFFERTEXTURE2DEXT_DECL
16604   #define GLFRAMEBUFFERTEXTURE2DEXT_DECL
16605   csGLFRAMEBUFFERTEXTURE2DEXT glFramebufferTexture2DEXT;
16606   #endif
16607 
16608   #ifndef GLFRAMEBUFFERTEXTURE3DEXT_DECL
16609   #define GLFRAMEBUFFERTEXTURE3DEXT_DECL
16610   csGLFRAMEBUFFERTEXTURE3DEXT glFramebufferTexture3DEXT;
16611   #endif
16612 
16613   #ifndef GLFRAMEBUFFERRENDERBUFFEREXT_DECL
16614   #define GLFRAMEBUFFERRENDERBUFFEREXT_DECL
16615   csGLFRAMEBUFFERRENDERBUFFEREXT glFramebufferRenderbufferEXT;
16616   #endif
16617 
16618   #ifndef GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
16619   #define GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
16620   csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT glGetFramebufferAttachmentParameterivEXT;
16621   #endif
16622 
16623   #ifndef GLGENERATEMIPMAPEXT_DECL
16624   #define GLGENERATEMIPMAPEXT_DECL
16625   csGLGENERATEMIPMAPEXT glGenerateMipmapEXT;
16626   #endif
16627 
16628 
16638   #ifndef GLSTRINGMARKERGREMEDY_DECL
16639   #define GLSTRINGMARKERGREMEDY_DECL
16640   csGLSTRINGMARKERGREMEDY glStringMarkerGREMEDY;
16641   #endif
16642 
16643 
16653   #ifndef GLGENQUERIESARB_DECL
16654   #define GLGENQUERIESARB_DECL
16655   csGLGENQUERIESARB glGenQueriesARB;
16656   #endif
16657 
16658   #ifndef GLDELETEQUERIESARB_DECL
16659   #define GLDELETEQUERIESARB_DECL
16660   csGLDELETEQUERIESARB glDeleteQueriesARB;
16661   #endif
16662 
16663   #ifndef GLISQUERYARB_DECL
16664   #define GLISQUERYARB_DECL
16665   csGLISQUERYARB glIsQueryARB;
16666   #endif
16667 
16668   #ifndef GLBEGINQUERYARB_DECL
16669   #define GLBEGINQUERYARB_DECL
16670   csGLBEGINQUERYARB glBeginQueryARB;
16671   #endif
16672 
16673   #ifndef GLENDQUERYARB_DECL
16674   #define GLENDQUERYARB_DECL
16675   csGLENDQUERYARB glEndQueryARB;
16676   #endif
16677 
16678   #ifndef GLGETQUERYIVARB_DECL
16679   #define GLGETQUERYIVARB_DECL
16680   csGLGETQUERYIVARB glGetQueryivARB;
16681   #endif
16682 
16683   #ifndef GLGETQUERYOBJECTIVARB_DECL
16684   #define GLGETQUERYOBJECTIVARB_DECL
16685   csGLGETQUERYOBJECTIVARB glGetQueryObjectivARB;
16686   #endif
16687 
16688   #ifndef GLGETQUERYOBJECTUIVARB_DECL
16689   #define GLGETQUERYOBJECTUIVARB_DECL
16690   csGLGETQUERYOBJECTUIVARB glGetQueryObjectuivARB;
16691   #endif
16692 
16693 
16703   #ifndef GLBLENDEQUATIONSEPARATEEXT_DECL
16704   #define GLBLENDEQUATIONSEPARATEEXT_DECL
16705   csGLBLENDEQUATIONSEPARATEEXT glBlendEquationSeparateEXT;
16706   #endif
16707 
16708 
16721 // end of functions
16722 };
16723 
16725 struct csGLExtensionFlags
16726 {
16727 public:
16729   bool CS_GL_version_1_2;
16731   bool CS_GL_version_1_3;
16733   bool CS_GL_version_1_4;
16735   bool CS_GL_version_1_5;
16737   bool CS_GL_version_2_0;
16739   bool CS_GL_version_2_1;
16742   bool CS_GL_ARB_imaging;
16745   bool CS_GL_ARB_multitexture;
16748   bool CS_GL_ARB_transpose_matrix;
16751   bool CS_GL_ARB_multisample;
16754   bool CS_GL_ARB_texture_env_add;
16757   bool CS_WGL_ARB_extensions_string;
16760   bool CS_WGL_ARB_buffer_region;
16763   bool CS_GL_ARB_texture_cube_map;
16766   bool CS_GL_ARB_depth_texture;
16769   bool CS_GL_ARB_point_parameters;
16772   bool CS_GL_ARB_shadow;
16775   bool CS_GL_ARB_shadow_ambient;
16778   bool CS_GL_ARB_texture_border_clamp;
16781   bool CS_GL_ARB_texture_compression;
16784   bool CS_GL_ARB_texture_env_combine;
16787   bool CS_GL_ARB_texture_env_crossbar;
16790   bool CS_GL_ARB_texture_env_dot3;
16793   bool CS_GL_ARB_texture_mirrored_repeat;
16796   bool CS_GL_ARB_vertex_blend;
16799   bool CS_GL_ARB_vertex_program;
16802   bool CS_GL_ARB_window_pos;
16805   bool CS_GL_EXT_422_pixels;
16808   bool CS_GL_EXT_abgr;
16811   bool CS_GL_EXT_bgra;
16814   bool CS_GL_EXT_blend_color;
16817   bool CS_GL_EXT_blend_func_separate;
16820   bool CS_GL_EXT_blend_logic_op;
16823   bool CS_GL_EXT_blend_minmax;
16826   bool CS_GL_EXT_blend_subtract;
16829   bool CS_GL_EXT_clip_volume_hint;
16832   bool CS_GL_EXT_color_subtable;
16835   bool CS_GL_EXT_compiled_vertex_array;
16838   bool CS_GL_EXT_convolution;
16841   bool CS_GL_EXT_fog_coord;
16844   bool CS_GL_EXT_histogram;
16847   bool CS_GL_EXT_multi_draw_arrays;
16850   bool CS_GL_EXT_packed_pixels;
16853   bool CS_GL_EXT_paletted_texture;
16856   bool CS_GL_EXT_point_parameters;
16859   bool CS_GL_EXT_polygon_offset;
16862   bool CS_GL_EXT_secondary_color;
16865   bool CS_GL_EXT_separate_specular_color;
16868   bool CS_GL_EXT_shadow_funcs;
16871   bool CS_GL_EXT_shared_texture_palette;
16874   bool CS_GL_EXT_stencil_two_side;
16877   bool CS_GL_EXT_stencil_wrap;
16880   bool CS_GL_EXT_subtexture;
16883   bool CS_GL_EXT_texture3D;
16886   bool CS_GL_EXT_texture_compression_s3tc;
16889   bool CS_GL_EXT_texture_env_add;
16892   bool CS_GL_EXT_texture_env_combine;
16895   bool CS_GL_EXT_texture_env_dot3;
16898   bool CS_GL_EXT_texture_filter_anisotropic;
16901   bool CS_GL_EXT_texture_lod_bias;
16904   bool CS_GL_EXT_texture_object;
16907   bool CS_GL_EXT_vertex_array;
16910   bool CS_GL_EXT_vertex_shader;
16913   bool CS_GL_EXT_vertex_weighting;
16916   bool CS_GL_HP_occlusion_test;
16919   bool CS_GL_NV_blend_square;
16922   bool CS_GL_NV_copy_depth_to_color;
16925   bool CS_GL_NV_depth_clamp;
16928   bool CS_GL_NV_evaluators;
16931   bool CS_GL_NV_fence;
16934   bool CS_GL_NV_fog_distance;
16937   bool CS_GL_NV_light_max_exponent;
16940   bool CS_GL_NV_multisample_filter_hint;
16943   bool CS_GL_NV_occlusion_query;
16946   bool CS_GL_NV_packed_depth_stencil;
16949   bool CS_GL_NV_point_sprite;
16952   bool CS_GL_NV_register_combiners;
16955   bool CS_GL_NV_register_combiners2;
16958   bool CS_GL_NV_texgen_emboss;
16961   bool CS_GL_NV_texgen_reflection;
16964   bool CS_GL_NV_texture_compression_vtc;
16967   bool CS_GL_NV_texture_env_combine4;
16970   bool CS_GL_NV_texture_rectangle;
16973   bool CS_GL_NV_texture_shader;
16976   bool CS_GL_NV_texture_shader2;
16979   bool CS_GL_NV_texture_shader3;
16982   bool CS_GL_NV_vertex_array_range;
16985   bool CS_GL_NV_vertex_array_range2;
16988   bool CS_GL_NV_vertex_program;
16991   bool CS_GL_NV_vertex_program1_1;
16994   bool CS_GL_ATI_element_array;
16997   bool CS_GL_ATI_envmap_bumpmap;
17000   bool CS_GL_ATI_fragment_shader;
17003   bool CS_GL_ATI_pn_triangles;
17006   bool CS_GL_ATI_texture_mirror_once;
17009   bool CS_GL_ATI_vertex_array_object;
17012   bool CS_GL_ATI_vertex_attrib_array_object;
17015   bool CS_GL_ATI_vertex_streams;
17018   bool CS_WGL_I3D_image_buffer;
17021   bool CS_WGL_I3D_swap_frame_lock;
17024   bool CS_WGL_I3D_swap_frame_usage;
17027   bool CS_GL_3DFX_texture_compression_FXT1;
17030   bool CS_GL_IBM_cull_vertex;
17033   bool CS_GL_IBM_multimode_draw_arrays;
17036   bool CS_GL_IBM_raster_pos_clip;
17039   bool CS_GL_IBM_texture_mirrored_repeat;
17042   bool CS_GL_IBM_vertex_array_lists;
17045   bool CS_GL_MESA_resize_buffers;
17048   bool CS_GL_MESA_window_pos;
17051   bool CS_GL_OML_interlace;
17054   bool CS_GL_OML_resample;
17057   bool CS_GL_OML_subsample;
17060   bool CS_GL_SGIS_generate_mipmap;
17063   bool CS_GL_SGIS_multisample;
17066   bool CS_GL_SGIS_pixel_texture;
17069   bool CS_GL_SGIS_texture_border_clamp;
17072   bool CS_GL_SGIS_texture_color_mask;
17075   bool CS_GL_SGIS_texture_edge_clamp;
17078   bool CS_GL_SGIS_texture_lod;
17081   bool CS_GL_SGIS_depth_texture;
17084   bool CS_GL_SGIX_fog_offset;
17087   bool CS_GL_SGIX_interlace;
17090   bool CS_GL_SGIX_shadow_ambient;
17093   bool CS_GL_SGI_color_matrix;
17096   bool CS_GL_SGI_color_table;
17099   bool CS_GL_SGI_texture_color_table;
17102   bool CS_GL_SUN_vertex;
17105   bool CS_GL_ARB_fragment_program;
17108   bool CS_GL_ATI_text_fragment_shader;
17111   bool CS_GL_APPLE_client_storage;
17114   bool CS_GL_APPLE_element_array;
17117   bool CS_GL_APPLE_fence;
17120   bool CS_GL_APPLE_vertex_array_object;
17123   bool CS_GL_APPLE_vertex_array_range;
17126   bool CS_WGL_ARB_pixel_format;
17129   bool CS_WGL_ARB_make_current_read;
17132   bool CS_WGL_ARB_pbuffer;
17135   bool CS_WGL_EXT_swap_control;
17138   bool CS_WGL_ARB_render_texture;
17141   bool CS_WGL_EXT_extensions_string;
17144   bool CS_WGL_EXT_make_current_read;
17147   bool CS_WGL_EXT_pbuffer;
17150   bool CS_WGL_EXT_pixel_format;
17153   bool CS_WGL_I3D_digital_video_control;
17156   bool CS_WGL_I3D_gamma;
17159   bool CS_WGL_I3D_genlock;
17162   bool CS_GL_ARB_matrix_palette;
17165   bool CS_GL_NV_element_array;
17168   bool CS_GL_NV_float_buffer;
17171   bool CS_GL_NV_fragment_program;
17174   bool CS_GL_NV_primitive_restart;
17177   bool CS_GL_NV_vertex_program2;
17180   bool CS_GL_ARB_vertex_buffer_object;
17183   bool CS_GL_ATI_separate_stencil;
17186   bool CS_GL_ARB_texture_non_power_of_two;
17189   bool CS_GL_ARB_point_sprite;
17192   bool CS_GL_ARB_shading_language_100;
17195   bool CS_GL_ARB_shader_objects;
17198   bool CS_GL_ARB_fragment_shader;
17201   bool CS_GL_ARB_vertex_shader;
17204   bool CS_GL_ARB_pixel_buffer_object;
17207   bool CS_GL_ARB_texture_rectangle;
17210   bool CS_GL_EXT_framebuffer_object;
17213   bool CS_GL_EXT_pixel_buffer_object;
17216   bool CS_GL_GREMEDY_string_marker;
17219   bool CS_GL_EXT_texture_rectangle;
17222   bool CS_GL_ARB_occlusion_query;
17225   bool CS_GL_ARB_draw_buffers;
17228   bool CS_GL_EXT_blend_equation_separate;
17231   bool CS_GL_EXT_texture_sRGB;
17234   bool CS_GL_EXT_packed_depth_stencil;
17235 
17236 protected:
17237   bool tested_CS_GL_version_1_2;
17238   bool tested_CS_GL_version_1_3;
17239   bool tested_CS_GL_version_1_4;
17240   bool tested_CS_GL_version_1_5;
17241   bool tested_CS_GL_version_2_0;
17242   bool tested_CS_GL_version_2_1;
17243   bool tested_CS_GL_ARB_imaging;
17244   bool tested_CS_GL_ARB_multitexture;
17245   bool tested_CS_GL_ARB_transpose_matrix;
17246   bool tested_CS_GL_ARB_multisample;
17247   bool tested_CS_GL_ARB_texture_env_add;
17248   bool tested_CS_WGL_ARB_extensions_string;
17249   bool tested_CS_WGL_ARB_buffer_region;
17250   bool tested_CS_GL_ARB_texture_cube_map;
17251   bool tested_CS_GL_ARB_depth_texture;
17252   bool tested_CS_GL_ARB_point_parameters;
17253   bool tested_CS_GL_ARB_shadow;
17254   bool tested_CS_GL_ARB_shadow_ambient;
17255   bool tested_CS_GL_ARB_texture_border_clamp;
17256   bool tested_CS_GL_ARB_texture_compression;
17257   bool tested_CS_GL_ARB_texture_env_combine;
17258   bool tested_CS_GL_ARB_texture_env_crossbar;
17259   bool tested_CS_GL_ARB_texture_env_dot3;
17260   bool tested_CS_GL_ARB_texture_mirrored_repeat;
17261   bool tested_CS_GL_ARB_vertex_blend;
17262   bool tested_CS_GL_ARB_vertex_program;
17263   bool tested_CS_GL_ARB_window_pos;
17264   bool tested_CS_GL_EXT_422_pixels;
17265   bool tested_CS_GL_EXT_abgr;
17266   bool tested_CS_GL_EXT_bgra;
17267   bool tested_CS_GL_EXT_blend_color;
17268   bool tested_CS_GL_EXT_blend_func_separate;
17269   bool tested_CS_GL_EXT_blend_logic_op;
17270   bool tested_CS_GL_EXT_blend_minmax;
17271   bool tested_CS_GL_EXT_blend_subtract;
17272   bool tested_CS_GL_EXT_clip_volume_hint;
17273   bool tested_CS_GL_EXT_color_subtable;
17274   bool tested_CS_GL_EXT_compiled_vertex_array;
17275   bool tested_CS_GL_EXT_convolution;
17276   bool tested_CS_GL_EXT_fog_coord;
17277   bool tested_CS_GL_EXT_histogram;
17278   bool tested_CS_GL_EXT_multi_draw_arrays;
17279   bool tested_CS_GL_EXT_packed_pixels;
17280   bool tested_CS_GL_EXT_paletted_texture;
17281   bool tested_CS_GL_EXT_point_parameters;
17282   bool tested_CS_GL_EXT_polygon_offset;
17283   bool tested_CS_GL_EXT_secondary_color;
17284   bool tested_CS_GL_EXT_separate_specular_color;
17285   bool tested_CS_GL_EXT_shadow_funcs;
17286   bool tested_CS_GL_EXT_shared_texture_palette;
17287   bool tested_CS_GL_EXT_stencil_two_side;
17288   bool tested_CS_GL_EXT_stencil_wrap;
17289   bool tested_CS_GL_EXT_subtexture;
17290   bool tested_CS_GL_EXT_texture3D;
17291   bool tested_CS_GL_EXT_texture_compression_s3tc;
17292   bool tested_CS_GL_EXT_texture_env_add;
17293   bool tested_CS_GL_EXT_texture_env_combine;
17294   bool tested_CS_GL_EXT_texture_env_dot3;
17295   bool tested_CS_GL_EXT_texture_filter_anisotropic;
17296   bool tested_CS_GL_EXT_texture_lod_bias;
17297   bool tested_CS_GL_EXT_texture_object;
17298   bool tested_CS_GL_EXT_vertex_array;
17299   bool tested_CS_GL_EXT_vertex_shader;
17300   bool tested_CS_GL_EXT_vertex_weighting;
17301   bool tested_CS_GL_HP_occlusion_test;
17302   bool tested_CS_GL_NV_blend_square;
17303   bool tested_CS_GL_NV_copy_depth_to_color;
17304   bool tested_CS_GL_NV_depth_clamp;
17305   bool tested_CS_GL_NV_evaluators;
17306   bool tested_CS_GL_NV_fence;
17307   bool tested_CS_GL_NV_fog_distance;
17308   bool tested_CS_GL_NV_light_max_exponent;
17309   bool tested_CS_GL_NV_multisample_filter_hint;
17310   bool tested_CS_GL_NV_occlusion_query;
17311   bool tested_CS_GL_NV_packed_depth_stencil;
17312   bool tested_CS_GL_NV_point_sprite;
17313   bool tested_CS_GL_NV_register_combiners;
17314   bool tested_CS_GL_NV_register_combiners2;
17315   bool tested_CS_GL_NV_texgen_emboss;
17316   bool tested_CS_GL_NV_texgen_reflection;
17317   bool tested_CS_GL_NV_texture_compression_vtc;
17318   bool tested_CS_GL_NV_texture_env_combine4;
17319   bool tested_CS_GL_NV_texture_rectangle;
17320   bool tested_CS_GL_NV_texture_shader;
17321   bool tested_CS_GL_NV_texture_shader2;
17322   bool tested_CS_GL_NV_texture_shader3;
17323   bool tested_CS_GL_NV_vertex_array_range;
17324   bool tested_CS_GL_NV_vertex_array_range2;
17325   bool tested_CS_GL_NV_vertex_program;
17326   bool tested_CS_GL_NV_vertex_program1_1;
17327   bool tested_CS_GL_ATI_element_array;
17328   bool tested_CS_GL_ATI_envmap_bumpmap;
17329   bool tested_CS_GL_ATI_fragment_shader;
17330   bool tested_CS_GL_ATI_pn_triangles;
17331   bool tested_CS_GL_ATI_texture_mirror_once;
17332   bool tested_CS_GL_ATI_vertex_array_object;
17333   bool tested_CS_GL_ATI_vertex_attrib_array_object;
17334   bool tested_CS_GL_ATI_vertex_streams;
17335   bool tested_CS_WGL_I3D_image_buffer;
17336   bool tested_CS_WGL_I3D_swap_frame_lock;
17337   bool tested_CS_WGL_I3D_swap_frame_usage;
17338   bool tested_CS_GL_3DFX_texture_compression_FXT1;
17339   bool tested_CS_GL_IBM_cull_vertex;
17340   bool tested_CS_GL_IBM_multimode_draw_arrays;
17341   bool tested_CS_GL_IBM_raster_pos_clip;
17342   bool tested_CS_GL_IBM_texture_mirrored_repeat;
17343   bool tested_CS_GL_IBM_vertex_array_lists;
17344   bool tested_CS_GL_MESA_resize_buffers;
17345   bool tested_CS_GL_MESA_window_pos;
17346   bool tested_CS_GL_OML_interlace;
17347   bool tested_CS_GL_OML_resample;
17348   bool tested_CS_GL_OML_subsample;
17349   bool tested_CS_GL_SGIS_generate_mipmap;
17350   bool tested_CS_GL_SGIS_multisample;
17351   bool tested_CS_GL_SGIS_pixel_texture;
17352   bool tested_CS_GL_SGIS_texture_border_clamp;
17353   bool tested_CS_GL_SGIS_texture_color_mask;
17354   bool tested_CS_GL_SGIS_texture_edge_clamp;
17355   bool tested_CS_GL_SGIS_texture_lod;
17356   bool tested_CS_GL_SGIS_depth_texture;
17357   bool tested_CS_GL_SGIX_fog_offset;
17358   bool tested_CS_GL_SGIX_interlace;
17359   bool tested_CS_GL_SGIX_shadow_ambient;
17360   bool tested_CS_GL_SGI_color_matrix;
17361   bool tested_CS_GL_SGI_color_table;
17362   bool tested_CS_GL_SGI_texture_color_table;
17363   bool tested_CS_GL_SUN_vertex;
17364   bool tested_CS_GL_ARB_fragment_program;
17365   bool tested_CS_GL_ATI_text_fragment_shader;
17366   bool tested_CS_GL_APPLE_client_storage;
17367   bool tested_CS_GL_APPLE_element_array;
17368   bool tested_CS_GL_APPLE_fence;
17369   bool tested_CS_GL_APPLE_vertex_array_object;
17370   bool tested_CS_GL_APPLE_vertex_array_range;
17371   bool tested_CS_WGL_ARB_pixel_format;
17372   bool tested_CS_WGL_ARB_make_current_read;
17373   bool tested_CS_WGL_ARB_pbuffer;
17374   bool tested_CS_WGL_EXT_swap_control;
17375   bool tested_CS_WGL_ARB_render_texture;
17376   bool tested_CS_WGL_EXT_extensions_string;
17377   bool tested_CS_WGL_EXT_make_current_read;
17378   bool tested_CS_WGL_EXT_pbuffer;
17379   bool tested_CS_WGL_EXT_pixel_format;
17380   bool tested_CS_WGL_I3D_digital_video_control;
17381   bool tested_CS_WGL_I3D_gamma;
17382   bool tested_CS_WGL_I3D_genlock;
17383   bool tested_CS_GL_ARB_matrix_palette;
17384   bool tested_CS_GL_NV_element_array;
17385   bool tested_CS_GL_NV_float_buffer;
17386   bool tested_CS_GL_NV_fragment_program;
17387   bool tested_CS_GL_NV_primitive_restart;
17388   bool tested_CS_GL_NV_vertex_program2;
17389   bool tested_CS_GL_ARB_vertex_buffer_object;
17390   bool tested_CS_GL_ATI_separate_stencil;
17391   bool tested_CS_GL_ARB_texture_non_power_of_two;
17392   bool tested_CS_GL_ARB_point_sprite;
17393   bool tested_CS_GL_ARB_shading_language_100;
17394   bool tested_CS_GL_ARB_shader_objects;
17395   bool tested_CS_GL_ARB_fragment_shader;
17396   bool tested_CS_GL_ARB_vertex_shader;
17397   bool tested_CS_GL_ARB_pixel_buffer_object;
17398   bool tested_CS_GL_ARB_texture_rectangle;
17399   bool tested_CS_GL_EXT_framebuffer_object;
17400   bool tested_CS_GL_EXT_pixel_buffer_object;
17401   bool tested_CS_GL_GREMEDY_string_marker;
17402   bool tested_CS_GL_EXT_texture_rectangle;
17403   bool tested_CS_GL_ARB_occlusion_query;
17404   bool tested_CS_GL_ARB_draw_buffers;
17405   bool tested_CS_GL_EXT_blend_equation_separate;
17406   bool tested_CS_GL_EXT_texture_sRGB;
17407   bool tested_CS_GL_EXT_packed_depth_stencil;
17408 
17409 };
17410 
17415 struct csGLExtensionManager : public csGLExtensionFunctions,
17416                               public csGLExtensionFlags
17417 {
17418 private:
17419   iObjectRegistry* object_reg;
17420   csConfigAccess config;
17421   iOpenGLInterface* gl;
17422   bool doVerbose;
17423   bool defaultUse;
17424   
17425   const char* extstrGL;
17426   const char* msgExtRetrieveFail;
17427   const char* msgExtFoundAndUsed;
17428   const char* msgExtFoundAndNotUsed;
17429   const char* msgExtInitFail;
17430   const char* msgExtNotFound;
17431   const char* msgDependencyNotFound;
17432 #ifdef __WIN32__
17433   const char* extstrWGL;
17434   
17435   void SetupWGLextStr (HDC hDC)
17436   {
17437     if (extstrWGL != 0) return;
17438   
17439     if (!tested_CS_WGL_ARB_extensions_string) InitWGL_ARB_extensions_string (hDC);
17440     if (CS_WGL_ARB_extensions_string)
17441     {
17442       extstrWGL = wglGetExtensionsStringARB (hDC);
17443     }
17444     else
17445     {
17446       extstrWGL = extstrGL;
17447     }
17448   }
17449 #endif
17450 
17451   void Report (const char* msg, ...)
17452   {
17453     if (!doVerbose)
17454       return;
17455     
17456     va_list arg;
17457     va_start (arg, msg);
17458     csReportV (object_reg, CS_REPORTER_SEVERITY_NOTIFY,
17459       "crystalspace.canvas.opengl.extmgr", msg, arg);
17460     va_end (arg);
17461   }
17462 
17463 public:
17464   void Initialize (iObjectRegistry* object_reg, iGraphics2D* g2d)
17465   {
17466     csGLExtensionManager::object_reg = object_reg;
17467     gl = csRef<iOpenGLInterface> (scfQueryInterface<iOpenGLInterface> (g2d));
17468     // Low priority so canvas/renderer cfgs may override the settings
17469     config.AddConfig (object_reg, "/config/glext.cfg", true,
17470       iConfigManager::ConfigPriorityPlugin - 1);
17471 
17472     csRef<iVerbosityManager> verbosemgr (csQueryRegistry<iVerbosityManager> (
17473       object_reg));
17474     doVerbose = verbosemgr->Enabled ("renderer");
17475   }
17476   
17477   void Open () 
17478   { 
17479     extstrGL = (const char*)glGetString (GL_EXTENSIONS);
17480     defaultUse = config->GetBool ("Video.OpenGL.UseExtension.ALL", true);
17481     if (!defaultUse)
17482       Report ("ALL extensions are disabled by default");
17483   }
17484   
17485   void Close () { }
17486 public:
17487   void Reset ()
17488   {
17489     extstrGL = 0;
17490 #ifdef __WIN32__
17491     extstrWGL = 0;
17492 #endif
17493 
17494     memset ((csGLExtensionFunctions*)this, 0, 
17495       sizeof (csGLExtensionFunctions));
17496     memset ((csGLExtensionFlags*)this, 0, sizeof (csGLExtensionFlags));
17497   }
17498   
17499   csGLExtensionManager () : object_reg (0), gl (0), doVerbose (false),
17500     defaultUse (true)
17501   {
17502     msgExtRetrieveFail = "Failed to retrieve %s";
17503     msgExtFoundAndUsed = "%s Extension '%s' found and used.";
17504     msgExtFoundAndNotUsed = "%s Extension '%s' found, but not used.";
17505     msgExtInitFail = "%s Extension '%s' failed to initialize.";
17506     msgExtNotFound = "%s Extension '%s' not found.";
17507     msgDependencyNotFound = "%s Extension '%s' depends on '%s' which did "
17508       "not initialize.";
17509     
17510     Reset ();
17511   }
17512   
17514   void InitGL_version_1_2 ()
17515   {
17516     if (tested_CS_GL_version_1_2) return;
17517     if (!extstrGL) return;
17518     tested_CS_GL_version_1_2 = true;
17519     const char* ext = "GL_version_1_2";
17520 
17521     char cfgkey[26 + 14 + 1];
17522     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17523     
17524     CS_GL_version_1_2 = true;
17525 
17526     bool allclear, funcTest;
17527     (void)funcTest; // shut up "variable unused" warnings
17528     bool init = CS_GL_version_1_2;
17529     allclear = true;
17530     if (init)   // Don't check the functions if ext isn't reported anyway
17531     {
17532       EXTMGR_FUNC_INIT(glDrawRangeElements, GLDRAWRANGEELEMENTS);
17533       EXTMGR_FUNC_INIT(glTexImage3D, GLTEXIMAGE3D);
17534       EXTMGR_FUNC_INIT(glTexSubImage3D, GLTEXSUBIMAGE3D);
17535       EXTMGR_FUNC_INIT(glCopyTexSubImage3D, GLCOPYTEXSUBIMAGE3D);
17536 
17537       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_2)
17538     }
17539     else
17540     {
17541       Report (msgExtNotFound, "GL", ext);
17542     }
17543   }
17544   
17546   void InitGL_version_1_3 ()
17547   {
17548     if (tested_CS_GL_version_1_3) return;
17549     if (!extstrGL) return;
17550     tested_CS_GL_version_1_3 = true;
17551     const char* ext = "GL_version_1_3";
17552     InitGL_version_1_2();
17553     if (!CS_GL_version_1_2)
17554     {
17555       Report (msgDependencyNotFound, "GL", ext, "GL_version_1_2");
17556       return;
17557     }
17558     char cfgkey[26 + 14 + 1];
17559     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17560     
17561     CS_GL_version_1_3 = true;
17562 
17563     bool allclear, funcTest;
17564     (void)funcTest; // shut up "variable unused" warnings
17565     bool init = CS_GL_version_1_3;
17566     allclear = true;
17567     if (init)   // Don't check the functions if ext isn't reported anyway
17568     {
17569       EXTMGR_FUNC_INIT(glActiveTexture, GLACTIVETEXTURE);
17570       EXTMGR_FUNC_INIT(glClientActiveTexture, GLCLIENTACTIVETEXTURE);
17571       EXTMGR_FUNC_INIT(glMultiTexCoord1d, GLMULTITEXCOORD1D);
17572       EXTMGR_FUNC_INIT(glMultiTexCoord1dv, GLMULTITEXCOORD1DV);
17573       EXTMGR_FUNC_INIT(glMultiTexCoord1f, GLMULTITEXCOORD1F);
17574       EXTMGR_FUNC_INIT(glMultiTexCoord1fv, GLMULTITEXCOORD1FV);
17575       EXTMGR_FUNC_INIT(glMultiTexCoord1i, GLMULTITEXCOORD1I);
17576       EXTMGR_FUNC_INIT(glMultiTexCoord1iv, GLMULTITEXCOORD1IV);
17577       EXTMGR_FUNC_INIT(glMultiTexCoord1s, GLMULTITEXCOORD1S);
17578       EXTMGR_FUNC_INIT(glMultiTexCoord1sv, GLMULTITEXCOORD1SV);
17579       EXTMGR_FUNC_INIT(glMultiTexCoord2d, GLMULTITEXCOORD2D);
17580       EXTMGR_FUNC_INIT(glMultiTexCoord2dv, GLMULTITEXCOORD2DV);
17581       EXTMGR_FUNC_INIT(glMultiTexCoord2f, GLMULTITEXCOORD2F);
17582       EXTMGR_FUNC_INIT(glMultiTexCoord2fv, GLMULTITEXCOORD2FV);
17583       EXTMGR_FUNC_INIT(glMultiTexCoord2i, GLMULTITEXCOORD2I);
17584       EXTMGR_FUNC_INIT(glMultiTexCoord2iv, GLMULTITEXCOORD2IV);
17585       EXTMGR_FUNC_INIT(glMultiTexCoord2s, GLMULTITEXCOORD2S);
17586       EXTMGR_FUNC_INIT(glMultiTexCoord2sv, GLMULTITEXCOORD2SV);
17587       EXTMGR_FUNC_INIT(glMultiTexCoord3d, GLMULTITEXCOORD3D);
17588       EXTMGR_FUNC_INIT(glMultiTexCoord3dv, GLMULTITEXCOORD3DV);
17589       EXTMGR_FUNC_INIT(glMultiTexCoord3f, GLMULTITEXCOORD3F);
17590       EXTMGR_FUNC_INIT(glMultiTexCoord3fv, GLMULTITEXCOORD3FV);
17591       EXTMGR_FUNC_INIT(glMultiTexCoord3i, GLMULTITEXCOORD3I);
17592       EXTMGR_FUNC_INIT(glMultiTexCoord3iv, GLMULTITEXCOORD3IV);
17593       EXTMGR_FUNC_INIT(glMultiTexCoord3s, GLMULTITEXCOORD3S);
17594       EXTMGR_FUNC_INIT(glMultiTexCoord3sv, GLMULTITEXCOORD3SV);
17595       EXTMGR_FUNC_INIT(glMultiTexCoord4d, GLMULTITEXCOORD4D);
17596       EXTMGR_FUNC_INIT(glMultiTexCoord4dv, GLMULTITEXCOORD4DV);
17597       EXTMGR_FUNC_INIT(glMultiTexCoord4f, GLMULTITEXCOORD4F);
17598       EXTMGR_FUNC_INIT(glMultiTexCoord4fv, GLMULTITEXCOORD4FV);
17599       EXTMGR_FUNC_INIT(glMultiTexCoord4i, GLMULTITEXCOORD4I);
17600       EXTMGR_FUNC_INIT(glMultiTexCoord4iv, GLMULTITEXCOORD4IV);
17601       EXTMGR_FUNC_INIT(glMultiTexCoord4s, GLMULTITEXCOORD4S);
17602       EXTMGR_FUNC_INIT(glMultiTexCoord4sv, GLMULTITEXCOORD4SV);
17603       EXTMGR_FUNC_INIT(glLoadTransposeMatrixf, GLLOADTRANSPOSEMATRIXF);
17604       EXTMGR_FUNC_INIT(glLoadTransposeMatrixd, GLLOADTRANSPOSEMATRIXD);
17605       EXTMGR_FUNC_INIT(glMultTransposeMatrixf, GLMULTTRANSPOSEMATRIXF);
17606       EXTMGR_FUNC_INIT(glMultTransposeMatrixd, GLMULTTRANSPOSEMATRIXD);
17607       EXTMGR_FUNC_INIT(glSampleCoverage, GLSAMPLECOVERAGE);
17608       EXTMGR_FUNC_INIT(glCompressedTexImage3D, GLCOMPRESSEDTEXIMAGE3D);
17609       EXTMGR_FUNC_INIT(glCompressedTexImage2D, GLCOMPRESSEDTEXIMAGE2D);
17610       EXTMGR_FUNC_INIT(glCompressedTexImage1D, GLCOMPRESSEDTEXIMAGE1D);
17611       EXTMGR_FUNC_INIT(glCompressedTexSubImage3D, GLCOMPRESSEDTEXSUBIMAGE3D);
17612       EXTMGR_FUNC_INIT(glCompressedTexSubImage2D, GLCOMPRESSEDTEXSUBIMAGE2D);
17613       EXTMGR_FUNC_INIT(glCompressedTexSubImage1D, GLCOMPRESSEDTEXSUBIMAGE1D);
17614       EXTMGR_FUNC_INIT(glGetCompressedTexImage, GLGETCOMPRESSEDTEXIMAGE);
17615 
17616       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_3)
17617     }
17618     else
17619     {
17620       Report (msgExtNotFound, "GL", ext);
17621     }
17622   }
17623   
17625   void InitGL_version_1_4 ()
17626   {
17627     if (tested_CS_GL_version_1_4) return;
17628     if (!extstrGL) return;
17629     tested_CS_GL_version_1_4 = true;
17630     const char* ext = "GL_version_1_4";
17631     InitGL_version_1_3();
17632     if (!CS_GL_version_1_3)
17633     {
17634       Report (msgDependencyNotFound, "GL", ext, "GL_version_1_3");
17635       return;
17636     }
17637     char cfgkey[26 + 14 + 1];
17638     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17639     
17640     CS_GL_version_1_4 = true;
17641 
17642     bool allclear, funcTest;
17643     (void)funcTest; // shut up "variable unused" warnings
17644     bool init = CS_GL_version_1_4;
17645     allclear = true;
17646     if (init)   // Don't check the functions if ext isn't reported anyway
17647     {
17648       EXTMGR_FUNC_INIT(glFogCoordf, GLFOGCOORDF);
17649       EXTMGR_FUNC_INIT(glFogCoordd, GLFOGCOORDD);
17650       EXTMGR_FUNC_INIT(glFogCoordfv, GLFOGCOORDFV);
17651       EXTMGR_FUNC_INIT(glFogCoorddv, GLFOGCOORDDV);
17652       EXTMGR_FUNC_INIT(glFogCoordPointer, GLFOGCOORDPOINTER);
17653       EXTMGR_FUNC_INIT(glMultiDrawArrays, GLMULTIDRAWARRAYS);
17654       EXTMGR_FUNC_INIT(glMultiDrawElements, GLMULTIDRAWELEMENTS);
17655       EXTMGR_FUNC_INIT(glPointParameterf, GLPOINTPARAMETERF);
17656       EXTMGR_FUNC_INIT(glPointParameterfv, GLPOINTPARAMETERFV);
17657       EXTMGR_FUNC_INIT(glSecondaryColor3b, GLSECONDARYCOLOR3B);
17658       EXTMGR_FUNC_INIT(glSecondaryColor3s, GLSECONDARYCOLOR3S);
17659       EXTMGR_FUNC_INIT(glSecondaryColor3i, GLSECONDARYCOLOR3I);
17660       EXTMGR_FUNC_INIT(glSecondaryColor3f, GLSECONDARYCOLOR3F);
17661       EXTMGR_FUNC_INIT(glSecondaryColor3d, GLSECONDARYCOLOR3D);
17662       EXTMGR_FUNC_INIT(glSecondaryColor3ub, GLSECONDARYCOLOR3UB);
17663       EXTMGR_FUNC_INIT(glSecondaryColor3us, GLSECONDARYCOLOR3US);
17664       EXTMGR_FUNC_INIT(glSecondaryColor3ui, GLSECONDARYCOLOR3UI);
17665       EXTMGR_FUNC_INIT(glSecondaryColor3bv, GLSECONDARYCOLOR3BV);
17666       EXTMGR_FUNC_INIT(glSecondaryColor3sv, GLSECONDARYCOLOR3SV);
17667       EXTMGR_FUNC_INIT(glSecondaryColor3iv, GLSECONDARYCOLOR3IV);
17668       EXTMGR_FUNC_INIT(glSecondaryColor3fv, GLSECONDARYCOLOR3FV);
17669       EXTMGR_FUNC_INIT(glSecondaryColor3dv, GLSECONDARYCOLOR3DV);
17670       EXTMGR_FUNC_INIT(glSecondaryColor3ubv, GLSECONDARYCOLOR3UBV);
17671       EXTMGR_FUNC_INIT(glSecondaryColor3usv, GLSECONDARYCOLOR3USV);
17672       EXTMGR_FUNC_INIT(glSecondaryColor3uiv, GLSECONDARYCOLOR3UIV);
17673       EXTMGR_FUNC_INIT(glSecondaryColorPointer, GLSECONDARYCOLORPOINTER);
17674       EXTMGR_FUNC_INIT(glBlendFuncSeparate, GLBLENDFUNCSEPARATE);
17675       EXTMGR_FUNC_INIT(glWindowPos2d, GLWINDOWPOS2D);
17676       EXTMGR_FUNC_INIT(glWindowPos2f, GLWINDOWPOS2F);
17677       EXTMGR_FUNC_INIT(glWindowPos2i, GLWINDOWPOS2I);
17678       EXTMGR_FUNC_INIT(glWindowPos2s, GLWINDOWPOS2S);
17679       EXTMGR_FUNC_INIT(glWindowPos2dv, GLWINDOWPOS2DV);
17680       EXTMGR_FUNC_INIT(glWindowPos2fv, GLWINDOWPOS2FV);
17681       EXTMGR_FUNC_INIT(glWindowPos2iv, GLWINDOWPOS2IV);
17682       EXTMGR_FUNC_INIT(glWindowPos2sv, GLWINDOWPOS2SV);
17683       EXTMGR_FUNC_INIT(glWindowPos3d, GLWINDOWPOS3D);
17684       EXTMGR_FUNC_INIT(glWindowPos3f, GLWINDOWPOS3F);
17685       EXTMGR_FUNC_INIT(glWindowPos3i, GLWINDOWPOS3I);
17686       EXTMGR_FUNC_INIT(glWindowPos3s, GLWINDOWPOS3S);
17687       EXTMGR_FUNC_INIT(glWindowPos3dv, GLWINDOWPOS3DV);
17688       EXTMGR_FUNC_INIT(glWindowPos3fv, GLWINDOWPOS3FV);
17689       EXTMGR_FUNC_INIT(glWindowPos3iv, GLWINDOWPOS3IV);
17690       EXTMGR_FUNC_INIT(glWindowPos3sv, GLWINDOWPOS3SV);
17691 
17692       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_4)
17693     }
17694     else
17695     {
17696       Report (msgExtNotFound, "GL", ext);
17697     }
17698   }
17699   
17701   void InitGL_version_1_5 ()
17702   {
17703     if (tested_CS_GL_version_1_5) return;
17704     if (!extstrGL) return;
17705     tested_CS_GL_version_1_5 = true;
17706     const char* ext = "GL_version_1_5";
17707     InitGL_version_1_4();
17708     if (!CS_GL_version_1_4)
17709     {
17710       Report (msgDependencyNotFound, "GL", ext, "GL_version_1_4");
17711       return;
17712     }
17713     char cfgkey[26 + 14 + 1];
17714     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17715     
17716     CS_GL_version_1_5 = true;
17717 
17718     bool allclear, funcTest;
17719     (void)funcTest; // shut up "variable unused" warnings
17720     bool init = CS_GL_version_1_5;
17721     allclear = true;
17722     if (init)   // Don't check the functions if ext isn't reported anyway
17723     {
17724       EXTMGR_FUNC_INIT(glBindBuffer, GLBINDBUFFER);
17725       EXTMGR_FUNC_INIT(glDeleteBuffers, GLDELETEBUFFERS);
17726       EXTMGR_FUNC_INIT(glGenBuffers, GLGENBUFFERS);
17727       EXTMGR_FUNC_INIT(glBufferData, GLBUFFERDATA);
17728       EXTMGR_FUNC_INIT(glBufferSubData, GLBUFFERSUBDATA);
17729       EXTMGR_FUNC_INIT(glMapBuffer, GLMAPBUFFER);
17730       EXTMGR_FUNC_INIT(glUnmapBuffer, GLUNMAPBUFFER);
17731       EXTMGR_FUNC_INIT(glIsBuffer, GLISBUFFER);
17732       EXTMGR_FUNC_INIT(glGetBufferSubData, GLGETBUFFERSUBDATA);
17733       EXTMGR_FUNC_INIT(glGetBufferPointerv, GLGETBUFFERPOINTERV);
17734       EXTMGR_FUNC_INIT(glGetBufferParameteriv, GLGETBUFFERPARAMETERIV);
17735       EXTMGR_FUNC_INIT(glGenQueries, GLGENQUERIES);
17736       EXTMGR_FUNC_INIT(glDeleteQueries, GLDELETEQUERIES);
17737       EXTMGR_FUNC_INIT(glIsQuery, GLISQUERY);
17738       EXTMGR_FUNC_INIT(glBeginQuery, GLBEGINQUERY);
17739       EXTMGR_FUNC_INIT(glEndQuery, GLENDQUERY);
17740       EXTMGR_FUNC_INIT(glGetQueryiv, GLGETQUERYIV);
17741       EXTMGR_FUNC_INIT(glGetQueryObjectiv, GLGETQUERYOBJECTIV);
17742       EXTMGR_FUNC_INIT(glGetQueryObjectuiv, GLGETQUERYOBJECTUIV);
17743 
17744       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_5)
17745     }
17746     else
17747     {
17748       Report (msgExtNotFound, "GL", ext);
17749     }
17750   }
17751   
17753   void InitGL_version_2_0 ()
17754   {
17755     if (tested_CS_GL_version_2_0) return;
17756     if (!extstrGL) return;
17757     tested_CS_GL_version_2_0 = true;
17758     const char* ext = "GL_version_2_0";
17759     InitGL_version_1_5();
17760     if (!CS_GL_version_1_5)
17761     {
17762       Report (msgDependencyNotFound, "GL", ext, "GL_version_1_5");
17763       return;
17764     }
17765     char cfgkey[26 + 14 + 1];
17766     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17767     
17768     CS_GL_version_2_0 = true;
17769 
17770     bool allclear, funcTest;
17771     (void)funcTest; // shut up "variable unused" warnings
17772     bool init = CS_GL_version_2_0;
17773     allclear = true;
17774     if (init)   // Don't check the functions if ext isn't reported anyway
17775     {
17776       EXTMGR_FUNC_INIT(glDeleteShader, GLDELETESHADER);
17777       EXTMGR_FUNC_INIT(glGetHandle, GLGETHANDLE);
17778       EXTMGR_FUNC_INIT(glDetachShader, GLDETACHSHADER);
17779       EXTMGR_FUNC_INIT(glCreateShader, GLCREATESHADER);
17780       EXTMGR_FUNC_INIT(glShaderSource, GLSHADERSOURCE);
17781       EXTMGR_FUNC_INIT(glCompileShader, GLCOMPILESHADER);
17782       EXTMGR_FUNC_INIT(glCreateProgramObject, GLCREATEPROGRAMOBJECT);
17783       EXTMGR_FUNC_INIT(glAttachShader, GLATTACHSHADER);
17784       EXTMGR_FUNC_INIT(glLinkProgram, GLLINKPROGRAM);
17785       EXTMGR_FUNC_INIT(glUseProgram, GLUSEPROGRAM);
17786       EXTMGR_FUNC_INIT(glDeleteProgram, GLDELETEPROGRAM);
17787       EXTMGR_FUNC_INIT(glValidateProgram, GLVALIDATEPROGRAM);
17788       EXTMGR_FUNC_INIT(glUniform1f, GLUNIFORM1F);
17789       EXTMGR_FUNC_INIT(glUniform2f, GLUNIFORM2F);
17790       EXTMGR_FUNC_INIT(glUniform3f, GLUNIFORM3F);
17791       EXTMGR_FUNC_INIT(glUniform4f, GLUNIFORM4F);
17792       EXTMGR_FUNC_INIT(glUniform1i, GLUNIFORM1I);
17793       EXTMGR_FUNC_INIT(glUniform2i, GLUNIFORM2I);
17794       EXTMGR_FUNC_INIT(glUniform3i, GLUNIFORM3I);
17795       EXTMGR_FUNC_INIT(glUniform4i, GLUNIFORM4I);
17796       EXTMGR_FUNC_INIT(glUniform1fv, GLUNIFORM1FV);
17797       EXTMGR_FUNC_INIT(glUniform2fv, GLUNIFORM2FV);
17798       EXTMGR_FUNC_INIT(glUniform3fv, GLUNIFORM3FV);
17799       EXTMGR_FUNC_INIT(glUniform4fv, GLUNIFORM4FV);
17800       EXTMGR_FUNC_INIT(glUniform1iv, GLUNIFORM1IV);
17801       EXTMGR_FUNC_INIT(glUniform2iv, GLUNIFORM2IV);
17802       EXTMGR_FUNC_INIT(glUniform3iv, GLUNIFORM3IV);
17803       EXTMGR_FUNC_INIT(glUniform4iv, GLUNIFORM4IV);
17804       EXTMGR_FUNC_INIT(glUniformMatrix2fv, GLUNIFORMMATRIX2FV);
17805       EXTMGR_FUNC_INIT(glUniformMatrix3fv, GLUNIFORMMATRIX3FV);
17806       EXTMGR_FUNC_INIT(glUniformMatrix4fv, GLUNIFORMMATRIX4FV);
17807       EXTMGR_FUNC_INIT(glGetObjectParameterfv, GLGETOBJECTPARAMETERFV);
17808       EXTMGR_FUNC_INIT(glGetObjectParameteriv, GLGETOBJECTPARAMETERIV);
17809       EXTMGR_FUNC_INIT(glGetInfoLog, GLGETINFOLOG);
17810       EXTMGR_FUNC_INIT(glGetAttachedObjects, GLGETATTACHEDOBJECTS);
17811       EXTMGR_FUNC_INIT(glGetUniformLocation, GLGETUNIFORMLOCATION);
17812       EXTMGR_FUNC_INIT(glGetActiveUniform, GLGETACTIVEUNIFORM);
17813       EXTMGR_FUNC_INIT(glGetUniformfv, GLGETUNIFORMFV);
17814       EXTMGR_FUNC_INIT(glGetUniformiv, GLGETUNIFORMIV);
17815       EXTMGR_FUNC_INIT(glGetShaderSource, GLGETSHADERSOURCE);
17816       EXTMGR_FUNC_INIT(glVertexAttrib1s, GLVERTEXATTRIB1S);
17817       EXTMGR_FUNC_INIT(glVertexAttrib1f, GLVERTEXATTRIB1F);
17818       EXTMGR_FUNC_INIT(glVertexAttrib1d, GLVERTEXATTRIB1D);
17819       EXTMGR_FUNC_INIT(glVertexAttrib2s, GLVERTEXATTRIB2S);
17820       EXTMGR_FUNC_INIT(glVertexAttrib2f, GLVERTEXATTRIB2F);
17821       EXTMGR_FUNC_INIT(glVertexAttrib2d, GLVERTEXATTRIB2D);
17822       EXTMGR_FUNC_INIT(glVertexAttrib3s, GLVERTEXATTRIB3S);
17823       EXTMGR_FUNC_INIT(glVertexAttrib3f, GLVERTEXATTRIB3F);
17824       EXTMGR_FUNC_INIT(glVertexAttrib3d, GLVERTEXATTRIB3D);
17825       EXTMGR_FUNC_INIT(glVertexAttrib4s, GLVERTEXATTRIB4S);
17826       EXTMGR_FUNC_INIT(glVertexAttrib4f, GLVERTEXATTRIB4F);
17827       EXTMGR_FUNC_INIT(glVertexAttrib4d, GLVERTEXATTRIB4D);
17828       EXTMGR_FUNC_INIT(glVertexAttrib4Nub, GLVERTEXATTRIB4NUB);
17829       EXTMGR_FUNC_INIT(glVertexAttrib1sv, GLVERTEXATTRIB1SV);
17830       EXTMGR_FUNC_INIT(glVertexAttrib1fv, GLVERTEXATTRIB1FV);
17831       EXTMGR_FUNC_INIT(glVertexAttrib1dv, GLVERTEXATTRIB1DV);
17832       EXTMGR_FUNC_INIT(glVertexAttrib2sv, GLVERTEXATTRIB2SV);
17833       EXTMGR_FUNC_INIT(glVertexAttrib2fv, GLVERTEXATTRIB2FV);
17834       EXTMGR_FUNC_INIT(glVertexAttrib2dv, GLVERTEXATTRIB2DV);
17835       EXTMGR_FUNC_INIT(glVertexAttrib3sv, GLVERTEXATTRIB3SV);
17836       EXTMGR_FUNC_INIT(glVertexAttrib3fv, GLVERTEXATTRIB3FV);
17837       EXTMGR_FUNC_INIT(glVertexAttrib3dv, GLVERTEXATTRIB3DV);
17838       EXTMGR_FUNC_INIT(glVertexAttrib4bv, GLVERTEXATTRIB4BV);
17839       EXTMGR_FUNC_INIT(glVertexAttrib4sv, GLVERTEXATTRIB4SV);
17840       EXTMGR_FUNC_INIT(glVertexAttrib4iv, GLVERTEXATTRIB4IV);
17841       EXTMGR_FUNC_INIT(glVertexAttrib4ubv, GLVERTEXATTRIB4UBV);
17842       EXTMGR_FUNC_INIT(glVertexAttrib4usv, GLVERTEXATTRIB4USV);
17843       EXTMGR_FUNC_INIT(glVertexAttrib4uiv, GLVERTEXATTRIB4UIV);
17844       EXTMGR_FUNC_INIT(glVertexAttrib4fv, GLVERTEXATTRIB4FV);
17845       EXTMGR_FUNC_INIT(glVertexAttrib4dv, GLVERTEXATTRIB4DV);
17846       EXTMGR_FUNC_INIT(glVertexAttrib4Nbv, GLVERTEXATTRIB4NBV);
17847       EXTMGR_FUNC_INIT(glVertexAttrib4Nsv, GLVERTEXATTRIB4NSV);
17848       EXTMGR_FUNC_INIT(glVertexAttrib4Niv, GLVERTEXATTRIB4NIV);
17849       EXTMGR_FUNC_INIT(glVertexAttrib4Nubv, GLVERTEXATTRIB4NUBV);
17850       EXTMGR_FUNC_INIT(glVertexAttrib4Nusv, GLVERTEXATTRIB4NUSV);
17851       EXTMGR_FUNC_INIT(glVertexAttrib4Nuiv, GLVERTEXATTRIB4NUIV);
17852       EXTMGR_FUNC_INIT(glVertexAttribPointer, GLVERTEXATTRIBPOINTER);
17853       EXTMGR_FUNC_INIT(glEnableVertexAttribArray, GLENABLEVERTEXATTRIBARRAY);
17854       EXTMGR_FUNC_INIT(glDisableVertexAttribArray, GLDISABLEVERTEXATTRIBARRAY);
17855       EXTMGR_FUNC_INIT(glBindAttribLocation, GLBINDATTRIBLOCATION);
17856       EXTMGR_FUNC_INIT(glGetActiveAttrib, GLGETACTIVEATTRIB);
17857       EXTMGR_FUNC_INIT(glGetAttribLocation, GLGETATTRIBLOCATION);
17858       EXTMGR_FUNC_INIT(glGetVertexAttribPointerv, GLGETVERTEXATTRIBPOINTERV);
17859       EXTMGR_FUNC_INIT(glBlendEquationSeparate, GLBLENDEQUATIONSEPARATE);
17860       EXTMGR_FUNC_INIT(glStencilFuncSeparate, GLSTENCILFUNCSEPARATE);
17861       EXTMGR_FUNC_INIT(glStencilOpSeparate, GLSTENCILOPSEPARATE);
17862 
17863       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_0)
17864     }
17865     else
17866     {
17867       Report (msgExtNotFound, "GL", ext);
17868     }
17869   }
17870   
17872   void InitGL_version_2_1 ()
17873   {
17874     if (tested_CS_GL_version_2_1) return;
17875     if (!extstrGL) return;
17876     tested_CS_GL_version_2_1 = true;
17877     const char* ext = "GL_version_2_1";
17878     InitGL_version_2_0();
17879     if (!CS_GL_version_2_0)
17880     {
17881       Report (msgDependencyNotFound, "GL", ext, "GL_version_2_0");
17882       return;
17883     }
17884     char cfgkey[26 + 14 + 1];
17885     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17886     
17887     CS_GL_version_2_1 = true;
17888 
17889     bool allclear, funcTest;
17890     (void)funcTest; // shut up "variable unused" warnings
17891     bool init = CS_GL_version_2_1;
17892     allclear = true;
17893     if (init)   // Don't check the functions if ext isn't reported anyway
17894     {
17895       EXTMGR_FUNC_INIT(glUniformMatrix2x3fv, GLUNIFORMMATRIX2X3FV);
17896       EXTMGR_FUNC_INIT(glUniformMatrix3x2fv, GLUNIFORMMATRIX3X2FV);
17897       EXTMGR_FUNC_INIT(glUniformMatrix2x4fv, GLUNIFORMMATRIX2X4FV);
17898       EXTMGR_FUNC_INIT(glUniformMatrix4x2fv, GLUNIFORMMATRIX4X2FV);
17899       EXTMGR_FUNC_INIT(glUniformMatrix3x4fv, GLUNIFORMMATRIX3X4FV);
17900       EXTMGR_FUNC_INIT(glUniformMatrix4x3fv, GLUNIFORMMATRIX4X3FV);
17901 
17902       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_1)
17903     }
17904     else
17905     {
17906       Report (msgExtNotFound, "GL", ext);
17907     }
17908   }
17909   
17912   void InitGL_ARB_imaging ()
17913   {
17914     if (tested_CS_GL_ARB_imaging) return;
17915     if (!extstrGL) return;
17916     tested_CS_GL_ARB_imaging = true;
17917     const char* ext = "GL_ARB_imaging";
17918 
17919     char cfgkey[26 + 14 + 1];
17920     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17921     
17922     CS_GL_ARB_imaging = (strstr (extstrGL, ext) != 0);
17923 
17924     bool allclear, funcTest;
17925     (void)funcTest; // shut up "variable unused" warnings
17926     bool init = CS_GL_ARB_imaging;
17927     allclear = true;
17928     if (init)   // Don't check the functions if ext isn't reported anyway
17929     {
17930       EXTMGR_FUNC_INIT(glColorTable, GLCOLORTABLE);
17931       EXTMGR_FUNC_INIT(glColorTableParameterfv, GLCOLORTABLEPARAMETERFV);
17932       EXTMGR_FUNC_INIT(glColorTableParameteriv, GLCOLORTABLEPARAMETERIV);
17933       EXTMGR_FUNC_INIT(glCopyColorTable, GLCOPYCOLORTABLE);
17934       EXTMGR_FUNC_INIT(glGetColorTable, GLGETCOLORTABLE);
17935       EXTMGR_FUNC_INIT(glGetColorTableParameterfv, GLGETCOLORTABLEPARAMETERFV);
17936       EXTMGR_FUNC_INIT(glGetColorTableParameteriv, GLGETCOLORTABLEPARAMETERIV);
17937       EXTMGR_FUNC_INIT(glColorSubTable, GLCOLORSUBTABLE);
17938       EXTMGR_FUNC_INIT(glCopyColorSubTable, GLCOPYCOLORSUBTABLE);
17939       EXTMGR_FUNC_INIT(glConvolutionFilter1D, GLCONVOLUTIONFILTER1D);
17940       EXTMGR_FUNC_INIT(glConvolutionFilter2D, GLCONVOLUTIONFILTER2D);
17941       EXTMGR_FUNC_INIT(glConvolutionParameterf, GLCONVOLUTIONPARAMETERF);
17942       EXTMGR_FUNC_INIT(glConvolutionParameterfv, GLCONVOLUTIONPARAMETERFV);
17943       EXTMGR_FUNC_INIT(glConvolutionParameteri, GLCONVOLUTIONPARAMETERI);
17944       EXTMGR_FUNC_INIT(glConvolutionParameteriv, GLCONVOLUTIONPARAMETERIV);
17945       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1D, GLCOPYCONVOLUTIONFILTER1D);
17946       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2D, GLCOPYCONVOLUTIONFILTER2D);
17947       EXTMGR_FUNC_INIT(glGetConvolutionFilter, GLGETCONVOLUTIONFILTER);
17948       EXTMGR_FUNC_INIT(glGetConvolutionParameterfv, GLGETCONVOLUTIONPARAMETERFV);
17949       EXTMGR_FUNC_INIT(glGetConvolutionParameteriv, GLGETCONVOLUTIONPARAMETERIV);
17950       EXTMGR_FUNC_INIT(glGetSeparableFilter, GLGETSEPARABLEFILTER);
17951       EXTMGR_FUNC_INIT(glSeparableFilter2D, GLSEPARABLEFILTER2D);
17952       EXTMGR_FUNC_INIT(glGetHistogram, GLGETHISTOGRAM);
17953       EXTMGR_FUNC_INIT(glGetHistogramParameterfv, GLGETHISTOGRAMPARAMETERFV);
17954       EXTMGR_FUNC_INIT(glGetHistogramParameteriv, GLGETHISTOGRAMPARAMETERIV);
17955       EXTMGR_FUNC_INIT(glGetMinmax, GLGETMINMAX);
17956       EXTMGR_FUNC_INIT(glGetMinmaxParameterfv, GLGETMINMAXPARAMETERFV);
17957       EXTMGR_FUNC_INIT(glGetMinmaxParameteriv, GLGETMINMAXPARAMETERIV);
17958       EXTMGR_FUNC_INIT(glHistogram, GLHISTOGRAM);
17959       EXTMGR_FUNC_INIT(glMinmax, GLMINMAX);
17960       EXTMGR_FUNC_INIT(glResetHistogram, GLRESETHISTOGRAM);
17961       EXTMGR_FUNC_INIT(glResetMinmax, GLRESETMINMAX);
17962       EXTMGR_FUNC_INIT(glBlendColor, GLBLENDCOLOR);
17963       EXTMGR_FUNC_INIT(glBlendEquation, GLBLENDEQUATION);
17964 
17965       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_imaging)
17966     }
17967     else
17968     {
17969       Report (msgExtNotFound, "GL", ext);
17970     }
17971   }
17972   
17975   void InitGL_ARB_multitexture ()
17976   {
17977     if (tested_CS_GL_ARB_multitexture) return;
17978     if (!extstrGL) return;
17979     tested_CS_GL_ARB_multitexture = true;
17980     const char* ext = "GL_ARB_multitexture";
17981 
17982     char cfgkey[26 + 19 + 1];
17983     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
17984     
17985     CS_GL_ARB_multitexture = (strstr (extstrGL, ext) != 0);
17986 
17987     bool allclear, funcTest;
17988     (void)funcTest; // shut up "variable unused" warnings
17989     bool init = CS_GL_ARB_multitexture;
17990     allclear = true;
17991     if (init)   // Don't check the functions if ext isn't reported anyway
17992     {
17993       EXTMGR_FUNC_INIT(glActiveTextureARB, GLACTIVETEXTUREARB);
17994       EXTMGR_FUNC_INIT(glClientActiveTextureARB, GLCLIENTACTIVETEXTUREARB);
17995       EXTMGR_FUNC_INIT(glMultiTexCoord1dARB, GLMULTITEXCOORD1DARB);
17996       EXTMGR_FUNC_INIT(glMultiTexCoord1dvARB, GLMULTITEXCOORD1DVARB);
17997       EXTMGR_FUNC_INIT(glMultiTexCoord1fARB, GLMULTITEXCOORD1FARB);
17998       EXTMGR_FUNC_INIT(glMultiTexCoord1fvARB, GLMULTITEXCOORD1FVARB);
17999       EXTMGR_FUNC_INIT(glMultiTexCoord1iARB, GLMULTITEXCOORD1IARB);
18000       EXTMGR_FUNC_INIT(glMultiTexCoord1ivARB, GLMULTITEXCOORD1IVARB);
18001       EXTMGR_FUNC_INIT(glMultiTexCoord1sARB, GLMULTITEXCOORD1SARB);
18002       EXTMGR_FUNC_INIT(glMultiTexCoord1svARB, GLMULTITEXCOORD1SVARB);
18003       EXTMGR_FUNC_INIT(glMultiTexCoord2dARB, GLMULTITEXCOORD2DARB);
18004       EXTMGR_FUNC_INIT(glMultiTexCoord2dvARB, GLMULTITEXCOORD2DVARB);
18005       EXTMGR_FUNC_INIT(glMultiTexCoord2fARB, GLMULTITEXCOORD2FARB);
18006       EXTMGR_FUNC_INIT(glMultiTexCoord2fvARB, GLMULTITEXCOORD2FVARB);
18007       EXTMGR_FUNC_INIT(glMultiTexCoord2iARB, GLMULTITEXCOORD2IARB);
18008       EXTMGR_FUNC_INIT(glMultiTexCoord2ivARB, GLMULTITEXCOORD2IVARB);
18009       EXTMGR_FUNC_INIT(glMultiTexCoord2sARB, GLMULTITEXCOORD2SARB);
18010       EXTMGR_FUNC_INIT(glMultiTexCoord2svARB, GLMULTITEXCOORD2SVARB);
18011       EXTMGR_FUNC_INIT(glMultiTexCoord3dARB, GLMULTITEXCOORD3DARB);
18012       EXTMGR_FUNC_INIT(glMultiTexCoord3dvARB, GLMULTITEXCOORD3DVARB);
18013       EXTMGR_FUNC_INIT(glMultiTexCoord3fARB, GLMULTITEXCOORD3FARB);
18014       EXTMGR_FUNC_INIT(glMultiTexCoord3fvARB, GLMULTITEXCOORD3FVARB);
18015       EXTMGR_FUNC_INIT(glMultiTexCoord3iARB, GLMULTITEXCOORD3IARB);
18016       EXTMGR_FUNC_INIT(glMultiTexCoord3ivARB, GLMULTITEXCOORD3IVARB);
18017       EXTMGR_FUNC_INIT(glMultiTexCoord3sARB, GLMULTITEXCOORD3SARB);
18018       EXTMGR_FUNC_INIT(glMultiTexCoord3svARB, GLMULTITEXCOORD3SVARB);
18019       EXTMGR_FUNC_INIT(glMultiTexCoord4dARB, GLMULTITEXCOORD4DARB);
18020       EXTMGR_FUNC_INIT(glMultiTexCoord4dvARB, GLMULTITEXCOORD4DVARB);
18021       EXTMGR_FUNC_INIT(glMultiTexCoord4fARB, GLMULTITEXCOORD4FARB);
18022       EXTMGR_FUNC_INIT(glMultiTexCoord4fvARB, GLMULTITEXCOORD4FVARB);
18023       EXTMGR_FUNC_INIT(glMultiTexCoord4iARB, GLMULTITEXCOORD4IARB);
18024       EXTMGR_FUNC_INIT(glMultiTexCoord4ivARB, GLMULTITEXCOORD4IVARB);
18025       EXTMGR_FUNC_INIT(glMultiTexCoord4sARB, GLMULTITEXCOORD4SARB);
18026       EXTMGR_FUNC_INIT(glMultiTexCoord4svARB, GLMULTITEXCOORD4SVARB);
18027 
18028       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multitexture)
18029     }
18030     else
18031     {
18032       Report (msgExtNotFound, "GL", ext);
18033     }
18034   }
18035   
18038   void InitGL_ARB_transpose_matrix ()
18039   {
18040     if (tested_CS_GL_ARB_transpose_matrix) return;
18041     if (!extstrGL) return;
18042     tested_CS_GL_ARB_transpose_matrix = true;
18043     const char* ext = "GL_ARB_transpose_matrix";
18044 
18045     char cfgkey[26 + 23 + 1];
18046     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18047     
18048     CS_GL_ARB_transpose_matrix = (strstr (extstrGL, ext) != 0);
18049 
18050     bool allclear, funcTest;
18051     (void)funcTest; // shut up "variable unused" warnings
18052     bool init = CS_GL_ARB_transpose_matrix;
18053     allclear = true;
18054     if (init)   // Don't check the functions if ext isn't reported anyway
18055     {
18056       EXTMGR_FUNC_INIT(glLoadTransposeMatrixfARB, GLLOADTRANSPOSEMATRIXFARB);
18057       EXTMGR_FUNC_INIT(glLoadTransposeMatrixdARB, GLLOADTRANSPOSEMATRIXDARB);
18058       EXTMGR_FUNC_INIT(glMultTransposeMatrixfARB, GLMULTTRANSPOSEMATRIXFARB);
18059       EXTMGR_FUNC_INIT(glMultTransposeMatrixdARB, GLMULTTRANSPOSEMATRIXDARB);
18060 
18061       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_transpose_matrix)
18062     }
18063     else
18064     {
18065       Report (msgExtNotFound, "GL", ext);
18066     }
18067   }
18068   
18071   void InitGL_ARB_multisample ()
18072   {
18073     if (tested_CS_GL_ARB_multisample) return;
18074     if (!extstrGL) return;
18075     tested_CS_GL_ARB_multisample = true;
18076     const char* ext = "GL_ARB_multisample";
18077 
18078     char cfgkey[26 + 18 + 1];
18079     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18080     
18081     CS_GL_ARB_multisample = (strstr (extstrGL, ext) != 0);
18082 
18083     bool allclear, funcTest;
18084     (void)funcTest; // shut up "variable unused" warnings
18085     bool init = CS_GL_ARB_multisample;
18086     allclear = true;
18087     if (init)   // Don't check the functions if ext isn't reported anyway
18088     {
18089       EXTMGR_FUNC_INIT(glSampleCoverageARB, GLSAMPLECOVERAGEARB);
18090 
18091       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multisample)
18092     }
18093     else
18094     {
18095       Report (msgExtNotFound, "GL", ext);
18096     }
18097   }
18098   
18101   void InitGL_ARB_texture_env_add ()
18102   {
18103     if (tested_CS_GL_ARB_texture_env_add) return;
18104     if (!extstrGL) return;
18105     tested_CS_GL_ARB_texture_env_add = true;
18106     const char* ext = "GL_ARB_texture_env_add";
18107 
18108     char cfgkey[26 + 22 + 1];
18109     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18110     
18111     CS_GL_ARB_texture_env_add = (strstr (extstrGL, ext) != 0);
18112 
18113     bool allclear, funcTest;
18114     (void)funcTest; // shut up "variable unused" warnings
18115     bool init = CS_GL_ARB_texture_env_add;
18116     allclear = true;
18117     if (init)   // Don't check the functions if ext isn't reported anyway
18118     {
18119 
18120       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_add)
18121     }
18122     else
18123     {
18124       Report (msgExtNotFound, "GL", ext);
18125     }
18126   }
18127   
18128 #ifdef _WIN32
18129 
18131   void InitWGL_ARB_extensions_string (HDC hDC)
18132   {
18133     if (tested_CS_WGL_ARB_extensions_string) return;
18134     tested_CS_WGL_ARB_extensions_string = true;
18135     const char* ext = "WGL_ARB_extensions_string";
18136     char cfgkey[26 + 25 + 1];
18137     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18138     
18139     (void)hDC;      // avoid `unused variable' warning.
18140     CS_WGL_ARB_extensions_string = true;
18141 
18142     bool allclear, funcTest;
18143     (void)funcTest; // avoid `unused variable' warning.
18144     bool init = CS_WGL_ARB_extensions_string;
18145     allclear = true;
18146     if (init)
18147     {
18148       EXTMGR_FUNC_INIT(wglGetExtensionsStringARB, WGLGETEXTENSIONSSTRINGARB);
18149 
18150       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_extensions_string)
18151       CS_WGL_ARB_extensions_string &= allclear;
18152     }
18153     else
18154     {
18155       Report (msgExtNotFound, "WGL", ext);
18156     }
18157   }
18158 #endif
18159 
18160 #ifdef _WIN32
18161 
18163   void InitWGL_ARB_buffer_region (HDC hDC)
18164   {
18165     if (tested_CS_WGL_ARB_buffer_region) return;
18166     tested_CS_WGL_ARB_buffer_region = true;
18167     const char* ext = "WGL_ARB_buffer_region";
18168     char cfgkey[26 + 21 + 1];
18169     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18170     
18171     (void)hDC;      // avoid `unused variable' warning.
18172     SetupWGLextStr (hDC);
18173     if (!extstrWGL) return;
18174     CS_WGL_ARB_buffer_region = (strstr (extstrWGL, ext) != 0);
18175 
18176     bool allclear, funcTest;
18177     (void)funcTest; // avoid `unused variable' warning.
18178     bool init = CS_WGL_ARB_buffer_region;
18179     allclear = true;
18180     if (init)
18181     {
18182       EXTMGR_FUNC_INIT(wglCreateBufferRegionARB, WGLCREATEBUFFERREGIONARB);
18183       EXTMGR_FUNC_INIT(wglDeleteBufferRegionARB, WGLDELETEBUFFERREGIONARB);
18184       EXTMGR_FUNC_INIT(wglSaveBufferRegionARB, WGLSAVEBUFFERREGIONARB);
18185       EXTMGR_FUNC_INIT(wglRestoreBufferRegionARB, WGLRESTOREBUFFERREGIONARB);
18186 
18187       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_buffer_region)
18188       CS_WGL_ARB_buffer_region &= allclear;
18189     }
18190     else
18191     {
18192       Report (msgExtNotFound, "WGL", ext);
18193     }
18194   }
18195 #endif
18196 
18199   void InitGL_ARB_texture_cube_map ()
18200   {
18201     if (tested_CS_GL_ARB_texture_cube_map) return;
18202     if (!extstrGL) return;
18203     tested_CS_GL_ARB_texture_cube_map = true;
18204     const char* ext = "GL_ARB_texture_cube_map";
18205 
18206     char cfgkey[26 + 23 + 1];
18207     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18208     
18209     CS_GL_ARB_texture_cube_map = (strstr (extstrGL, ext) != 0);
18210 
18211     bool allclear, funcTest;
18212     (void)funcTest; // shut up "variable unused" warnings
18213     bool init = CS_GL_ARB_texture_cube_map;
18214     allclear = true;
18215     if (init)   // Don't check the functions if ext isn't reported anyway
18216     {
18217 
18218       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_cube_map)
18219     }
18220     else
18221     {
18222       Report (msgExtNotFound, "GL", ext);
18223     }
18224   }
18225   
18228   void InitGL_ARB_depth_texture ()
18229   {
18230     if (tested_CS_GL_ARB_depth_texture) return;
18231     if (!extstrGL) return;
18232     tested_CS_GL_ARB_depth_texture = true;
18233     const char* ext = "GL_ARB_depth_texture";
18234 
18235     char cfgkey[26 + 20 + 1];
18236     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18237     
18238     CS_GL_ARB_depth_texture = (strstr (extstrGL, ext) != 0);
18239 
18240     bool allclear, funcTest;
18241     (void)funcTest; // shut up "variable unused" warnings
18242     bool init = CS_GL_ARB_depth_texture;
18243     allclear = true;
18244     if (init)   // Don't check the functions if ext isn't reported anyway
18245     {
18246 
18247       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_texture)
18248     }
18249     else
18250     {
18251       Report (msgExtNotFound, "GL", ext);
18252     }
18253   }
18254   
18257   void InitGL_ARB_point_parameters ()
18258   {
18259     if (tested_CS_GL_ARB_point_parameters) return;
18260     if (!extstrGL) return;
18261     tested_CS_GL_ARB_point_parameters = true;
18262     const char* ext = "GL_ARB_point_parameters";
18263 
18264     char cfgkey[26 + 23 + 1];
18265     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18266     
18267     CS_GL_ARB_point_parameters = (strstr (extstrGL, ext) != 0);
18268 
18269     bool allclear, funcTest;
18270     (void)funcTest; // shut up "variable unused" warnings
18271     bool init = CS_GL_ARB_point_parameters;
18272     allclear = true;
18273     if (init)   // Don't check the functions if ext isn't reported anyway
18274     {
18275       EXTMGR_FUNC_INIT(glPointParameterfARB, GLPOINTPARAMETERFARB);
18276       EXTMGR_FUNC_INIT(glPointParameterfvARB, GLPOINTPARAMETERFVARB);
18277 
18278       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_parameters)
18279     }
18280     else
18281     {
18282       Report (msgExtNotFound, "GL", ext);
18283     }
18284   }
18285   
18288   void InitGL_ARB_shadow ()
18289   {
18290     if (tested_CS_GL_ARB_shadow) return;
18291     if (!extstrGL) return;
18292     tested_CS_GL_ARB_shadow = true;
18293     const char* ext = "GL_ARB_shadow";
18294 
18295     char cfgkey[26 + 13 + 1];
18296     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18297     
18298     CS_GL_ARB_shadow = (strstr (extstrGL, ext) != 0);
18299 
18300     bool allclear, funcTest;
18301     (void)funcTest; // shut up "variable unused" warnings
18302     bool init = CS_GL_ARB_shadow;
18303     allclear = true;
18304     if (init)   // Don't check the functions if ext isn't reported anyway
18305     {
18306 
18307       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow)
18308     }
18309     else
18310     {
18311       Report (msgExtNotFound, "GL", ext);
18312     }
18313   }
18314   
18317   void InitGL_ARB_shadow_ambient ()
18318   {
18319     if (tested_CS_GL_ARB_shadow_ambient) return;
18320     if (!extstrGL) return;
18321     tested_CS_GL_ARB_shadow_ambient = true;
18322     const char* ext = "GL_ARB_shadow_ambient";
18323 
18324     char cfgkey[26 + 21 + 1];
18325     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18326     
18327     CS_GL_ARB_shadow_ambient = (strstr (extstrGL, ext) != 0);
18328 
18329     bool allclear, funcTest;
18330     (void)funcTest; // shut up "variable unused" warnings
18331     bool init = CS_GL_ARB_shadow_ambient;
18332     allclear = true;
18333     if (init)   // Don't check the functions if ext isn't reported anyway
18334     {
18335 
18336       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow_ambient)
18337     }
18338     else
18339     {
18340       Report (msgExtNotFound, "GL", ext);
18341     }
18342   }
18343   
18346   void InitGL_ARB_texture_border_clamp ()
18347   {
18348     if (tested_CS_GL_ARB_texture_border_clamp) return;
18349     if (!extstrGL) return;
18350     tested_CS_GL_ARB_texture_border_clamp = true;
18351     const char* ext = "GL_ARB_texture_border_clamp";
18352 
18353     char cfgkey[26 + 27 + 1];
18354     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18355     
18356     CS_GL_ARB_texture_border_clamp = (strstr (extstrGL, ext) != 0);
18357 
18358     bool allclear, funcTest;
18359     (void)funcTest; // shut up "variable unused" warnings
18360     bool init = CS_GL_ARB_texture_border_clamp;
18361     allclear = true;
18362     if (init)   // Don't check the functions if ext isn't reported anyway
18363     {
18364 
18365       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_border_clamp)
18366     }
18367     else
18368     {
18369       Report (msgExtNotFound, "GL", ext);
18370     }
18371   }
18372   
18375   void InitGL_ARB_texture_compression ()
18376   {
18377     if (tested_CS_GL_ARB_texture_compression) return;
18378     if (!extstrGL) return;
18379     tested_CS_GL_ARB_texture_compression = true;
18380     const char* ext = "GL_ARB_texture_compression";
18381 
18382     char cfgkey[26 + 26 + 1];
18383     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18384     
18385     CS_GL_ARB_texture_compression = (strstr (extstrGL, ext) != 0);
18386 
18387     bool allclear, funcTest;
18388     (void)funcTest; // shut up "variable unused" warnings
18389     bool init = CS_GL_ARB_texture_compression;
18390     allclear = true;
18391     if (init)   // Don't check the functions if ext isn't reported anyway
18392     {
18393       EXTMGR_FUNC_INIT(glCompressedTexImage3DARB, GLCOMPRESSEDTEXIMAGE3DARB);
18394       EXTMGR_FUNC_INIT(glCompressedTexImage2DARB, GLCOMPRESSEDTEXIMAGE2DARB);
18395       EXTMGR_FUNC_INIT(glCompressedTexImage1DARB, GLCOMPRESSEDTEXIMAGE1DARB);
18396       EXTMGR_FUNC_INIT(glCompressedTexSubImage3DARB, GLCOMPRESSEDTEXSUBIMAGE3DARB);
18397       EXTMGR_FUNC_INIT(glCompressedTexSubImage2DARB, GLCOMPRESSEDTEXSUBIMAGE2DARB);
18398       EXTMGR_FUNC_INIT(glCompressedTexSubImage1DARB, GLCOMPRESSEDTEXSUBIMAGE1DARB);
18399       EXTMGR_FUNC_INIT(glGetCompressedTexImageARB, GLGETCOMPRESSEDTEXIMAGEARB);
18400 
18401       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression)
18402     }
18403     else
18404     {
18405       Report (msgExtNotFound, "GL", ext);
18406     }
18407   }
18408   
18411   void InitGL_ARB_texture_env_combine ()
18412   {
18413     if (tested_CS_GL_ARB_texture_env_combine) return;
18414     if (!extstrGL) return;
18415     tested_CS_GL_ARB_texture_env_combine = true;
18416     const char* ext = "GL_ARB_texture_env_combine";
18417 
18418     char cfgkey[26 + 26 + 1];
18419     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18420     
18421     CS_GL_ARB_texture_env_combine = (strstr (extstrGL, ext) != 0);
18422 
18423     bool allclear, funcTest;
18424     (void)funcTest; // shut up "variable unused" warnings
18425     bool init = CS_GL_ARB_texture_env_combine;
18426     allclear = true;
18427     if (init)   // Don't check the functions if ext isn't reported anyway
18428     {
18429 
18430       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_combine)
18431     }
18432     else
18433     {
18434       Report (msgExtNotFound, "GL", ext);
18435     }
18436   }
18437   
18440   void InitGL_ARB_texture_env_crossbar ()
18441   {
18442     if (tested_CS_GL_ARB_texture_env_crossbar) return;
18443     if (!extstrGL) return;
18444     tested_CS_GL_ARB_texture_env_crossbar = true;
18445     const char* ext = "GL_ARB_texture_env_crossbar";
18446 
18447     char cfgkey[26 + 27 + 1];
18448     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18449     
18450     CS_GL_ARB_texture_env_crossbar = (strstr (extstrGL, ext) != 0);
18451 
18452     bool allclear, funcTest;
18453     (void)funcTest; // shut up "variable unused" warnings
18454     bool init = CS_GL_ARB_texture_env_crossbar;
18455     allclear = true;
18456     if (init)   // Don't check the functions if ext isn't reported anyway
18457     {
18458 
18459       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_crossbar)
18460     }
18461     else
18462     {
18463       Report (msgExtNotFound, "GL", ext);
18464     }
18465   }
18466   
18469   void InitGL_ARB_texture_env_dot3 ()
18470   {
18471     if (tested_CS_GL_ARB_texture_env_dot3) return;
18472     if (!extstrGL) return;
18473     tested_CS_GL_ARB_texture_env_dot3 = true;
18474     const char* ext = "GL_ARB_texture_env_dot3";
18475 
18476     char cfgkey[26 + 23 + 1];
18477     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18478     
18479     CS_GL_ARB_texture_env_dot3 = (strstr (extstrGL, ext) != 0);
18480 
18481     bool allclear, funcTest;
18482     (void)funcTest; // shut up "variable unused" warnings
18483     bool init = CS_GL_ARB_texture_env_dot3;
18484     allclear = true;
18485     if (init)   // Don't check the functions if ext isn't reported anyway
18486     {
18487 
18488       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_dot3)
18489     }
18490     else
18491     {
18492       Report (msgExtNotFound, "GL", ext);
18493     }
18494   }
18495   
18498   void InitGL_ARB_texture_mirrored_repeat ()
18499   {
18500     if (tested_CS_GL_ARB_texture_mirrored_repeat) return;
18501     if (!extstrGL) return;
18502     tested_CS_GL_ARB_texture_mirrored_repeat = true;
18503     const char* ext = "GL_ARB_texture_mirrored_repeat";
18504 
18505     char cfgkey[26 + 30 + 1];
18506     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18507     
18508     CS_GL_ARB_texture_mirrored_repeat = (strstr (extstrGL, ext) != 0);
18509 
18510     bool allclear, funcTest;
18511     (void)funcTest; // shut up "variable unused" warnings
18512     bool init = CS_GL_ARB_texture_mirrored_repeat;
18513     allclear = true;
18514     if (init)   // Don't check the functions if ext isn't reported anyway
18515     {
18516 
18517       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_mirrored_repeat)
18518     }
18519     else
18520     {
18521       Report (msgExtNotFound, "GL", ext);
18522     }
18523   }
18524   
18527   void InitGL_ARB_vertex_blend ()
18528   {
18529     if (tested_CS_GL_ARB_vertex_blend) return;
18530     if (!extstrGL) return;
18531     tested_CS_GL_ARB_vertex_blend = true;
18532     const char* ext = "GL_ARB_vertex_blend";
18533 
18534     char cfgkey[26 + 19 + 1];
18535     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18536     
18537     CS_GL_ARB_vertex_blend = (strstr (extstrGL, ext) != 0);
18538 
18539     bool allclear, funcTest;
18540     (void)funcTest; // shut up "variable unused" warnings
18541     bool init = CS_GL_ARB_vertex_blend;
18542     allclear = true;
18543     if (init)   // Don't check the functions if ext isn't reported anyway
18544     {
18545       EXTMGR_FUNC_INIT(glWeightbvARB, GLWEIGHTBVARB);
18546       EXTMGR_FUNC_INIT(glWeightsvARB, GLWEIGHTSVARB);
18547       EXTMGR_FUNC_INIT(glWeightivARB, GLWEIGHTIVARB);
18548       EXTMGR_FUNC_INIT(glWeightfvARB, GLWEIGHTFVARB);
18549       EXTMGR_FUNC_INIT(glWeightdvARB, GLWEIGHTDVARB);
18550       EXTMGR_FUNC_INIT(glWeightvARB, GLWEIGHTVARB);
18551       EXTMGR_FUNC_INIT(glWeightubvARB, GLWEIGHTUBVARB);
18552       EXTMGR_FUNC_INIT(glWeightusvARB, GLWEIGHTUSVARB);
18553       EXTMGR_FUNC_INIT(glWeightuivARB, GLWEIGHTUIVARB);
18554       EXTMGR_FUNC_INIT(glWeightPointerARB, GLWEIGHTPOINTERARB);
18555       EXTMGR_FUNC_INIT(glVertexBlendARB, GLVERTEXBLENDARB);
18556 
18557       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_blend)
18558     }
18559     else
18560     {
18561       Report (msgExtNotFound, "GL", ext);
18562     }
18563   }
18564   
18567   void InitGL_ARB_vertex_program ()
18568   {
18569     if (tested_CS_GL_ARB_vertex_program) return;
18570     if (!extstrGL) return;
18571     tested_CS_GL_ARB_vertex_program = true;
18572     const char* ext = "GL_ARB_vertex_program";
18573 
18574     char cfgkey[26 + 21 + 1];
18575     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18576     
18577     CS_GL_ARB_vertex_program = (strstr (extstrGL, ext) != 0);
18578 
18579     bool allclear, funcTest;
18580     (void)funcTest; // shut up "variable unused" warnings
18581     bool init = CS_GL_ARB_vertex_program;
18582     allclear = true;
18583     if (init)   // Don't check the functions if ext isn't reported anyway
18584     {
18585       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
18586       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
18587       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
18588       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
18589       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
18590       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
18591       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
18592       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
18593       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
18594       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
18595       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
18596       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
18597       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
18598       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
18599       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
18600       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
18601       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
18602       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
18603       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
18604       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
18605       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
18606       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
18607       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
18608       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
18609       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
18610       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
18611       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
18612       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
18613       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
18614       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
18615       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
18616       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
18617       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
18618       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
18619       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
18620       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
18621       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
18622       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
18623       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
18624       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
18625       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
18626       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
18627       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
18628       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
18629       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
18630       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
18631       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
18632       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
18633       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
18634       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
18635       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
18636       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
18637       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
18638       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
18639       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
18640       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
18641       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
18642       EXTMGR_FUNC_INIT(glGetVertexAttribdvARB, GLGETVERTEXATTRIBDVARB);
18643       EXTMGR_FUNC_INIT(glGetVertexAttribfvARB, GLGETVERTEXATTRIBFVARB);
18644       EXTMGR_FUNC_INIT(glGetVertexAttribivARB, GLGETVERTEXATTRIBIVARB);
18645       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
18646       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
18647 
18648       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_program)
18649     }
18650     else
18651     {
18652       Report (msgExtNotFound, "GL", ext);
18653     }
18654   }
18655   
18658   void InitGL_ARB_window_pos ()
18659   {
18660     if (tested_CS_GL_ARB_window_pos) return;
18661     if (!extstrGL) return;
18662     tested_CS_GL_ARB_window_pos = true;
18663     const char* ext = "GL_ARB_window_pos";
18664 
18665     char cfgkey[26 + 17 + 1];
18666     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18667     
18668     CS_GL_ARB_window_pos = (strstr (extstrGL, ext) != 0);
18669 
18670     bool allclear, funcTest;
18671     (void)funcTest; // shut up "variable unused" warnings
18672     bool init = CS_GL_ARB_window_pos;
18673     allclear = true;
18674     if (init)   // Don't check the functions if ext isn't reported anyway
18675     {
18676       EXTMGR_FUNC_INIT(glWindowPos2dARB, GLWINDOWPOS2DARB);
18677       EXTMGR_FUNC_INIT(glWindowPos2fARB, GLWINDOWPOS2FARB);
18678       EXTMGR_FUNC_INIT(glWindowPos2iARB, GLWINDOWPOS2IARB);
18679       EXTMGR_FUNC_INIT(glWindowPos2sARB, GLWINDOWPOS2SARB);
18680       EXTMGR_FUNC_INIT(glWindowPos2dvARB, GLWINDOWPOS2DVARB);
18681       EXTMGR_FUNC_INIT(glWindowPos2fvARB, GLWINDOWPOS2FVARB);
18682       EXTMGR_FUNC_INIT(glWindowPos2ivARB, GLWINDOWPOS2IVARB);
18683       EXTMGR_FUNC_INIT(glWindowPos2svARB, GLWINDOWPOS2SVARB);
18684       EXTMGR_FUNC_INIT(glWindowPos3dARB, GLWINDOWPOS3DARB);
18685       EXTMGR_FUNC_INIT(glWindowPos3fARB, GLWINDOWPOS3FARB);
18686       EXTMGR_FUNC_INIT(glWindowPos3iARB, GLWINDOWPOS3IARB);
18687       EXTMGR_FUNC_INIT(glWindowPos3sARB, GLWINDOWPOS3SARB);
18688       EXTMGR_FUNC_INIT(glWindowPos3dvARB, GLWINDOWPOS3DVARB);
18689       EXTMGR_FUNC_INIT(glWindowPos3fvARB, GLWINDOWPOS3FVARB);
18690       EXTMGR_FUNC_INIT(glWindowPos3ivARB, GLWINDOWPOS3IVARB);
18691       EXTMGR_FUNC_INIT(glWindowPos3svARB, GLWINDOWPOS3SVARB);
18692 
18693       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_window_pos)
18694     }
18695     else
18696     {
18697       Report (msgExtNotFound, "GL", ext);
18698     }
18699   }
18700   
18703   void InitGL_EXT_422_pixels ()
18704   {
18705     if (tested_CS_GL_EXT_422_pixels) return;
18706     if (!extstrGL) return;
18707     tested_CS_GL_EXT_422_pixels = true;
18708     const char* ext = "GL_EXT_422_pixels";
18709 
18710     char cfgkey[26 + 17 + 1];
18711     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18712     
18713     CS_GL_EXT_422_pixels = (strstr (extstrGL, ext) != 0);
18714 
18715     bool allclear, funcTest;
18716     (void)funcTest; // shut up "variable unused" warnings
18717     bool init = CS_GL_EXT_422_pixels;
18718     allclear = true;
18719     if (init)   // Don't check the functions if ext isn't reported anyway
18720     {
18721 
18722       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_422_pixels)
18723     }
18724     else
18725     {
18726       Report (msgExtNotFound, "GL", ext);
18727     }
18728   }
18729   
18732   void InitGL_EXT_abgr ()
18733   {
18734     if (tested_CS_GL_EXT_abgr) return;
18735     if (!extstrGL) return;
18736     tested_CS_GL_EXT_abgr = true;
18737     const char* ext = "GL_EXT_abgr";
18738 
18739     char cfgkey[26 + 11 + 1];
18740     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18741     
18742     CS_GL_EXT_abgr = (strstr (extstrGL, ext) != 0);
18743 
18744     bool allclear, funcTest;
18745     (void)funcTest; // shut up "variable unused" warnings
18746     bool init = CS_GL_EXT_abgr;
18747     allclear = true;
18748     if (init)   // Don't check the functions if ext isn't reported anyway
18749     {
18750 
18751       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_abgr)
18752     }
18753     else
18754     {
18755       Report (msgExtNotFound, "GL", ext);
18756     }
18757   }
18758   
18761   void InitGL_EXT_bgra ()
18762   {
18763     if (tested_CS_GL_EXT_bgra) return;
18764     if (!extstrGL) return;
18765     tested_CS_GL_EXT_bgra = true;
18766     const char* ext = "GL_EXT_bgra";
18767 
18768     char cfgkey[26 + 11 + 1];
18769     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18770     
18771     CS_GL_EXT_bgra = (strstr (extstrGL, ext) != 0);
18772 
18773     bool allclear, funcTest;
18774     (void)funcTest; // shut up "variable unused" warnings
18775     bool init = CS_GL_EXT_bgra;
18776     allclear = true;
18777     if (init)   // Don't check the functions if ext isn't reported anyway
18778     {
18779 
18780       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_bgra)
18781     }
18782     else
18783     {
18784       Report (msgExtNotFound, "GL", ext);
18785     }
18786   }
18787   
18790   void InitGL_EXT_blend_color ()
18791   {
18792     if (tested_CS_GL_EXT_blend_color) return;
18793     if (!extstrGL) return;
18794     tested_CS_GL_EXT_blend_color = true;
18795     const char* ext = "GL_EXT_blend_color";
18796 
18797     char cfgkey[26 + 18 + 1];
18798     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18799     
18800     CS_GL_EXT_blend_color = (strstr (extstrGL, ext) != 0);
18801 
18802     bool allclear, funcTest;
18803     (void)funcTest; // shut up "variable unused" warnings
18804     bool init = CS_GL_EXT_blend_color;
18805     allclear = true;
18806     if (init)   // Don't check the functions if ext isn't reported anyway
18807     {
18808       EXTMGR_FUNC_INIT(glBlendColorEXT, GLBLENDCOLOREXT);
18809 
18810       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_color)
18811     }
18812     else
18813     {
18814       Report (msgExtNotFound, "GL", ext);
18815     }
18816   }
18817   
18820   void InitGL_EXT_blend_func_separate ()
18821   {
18822     if (tested_CS_GL_EXT_blend_func_separate) return;
18823     if (!extstrGL) return;
18824     tested_CS_GL_EXT_blend_func_separate = true;
18825     const char* ext = "GL_EXT_blend_func_separate";
18826 
18827     char cfgkey[26 + 26 + 1];
18828     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18829     
18830     CS_GL_EXT_blend_func_separate = (strstr (extstrGL, ext) != 0);
18831 
18832     bool allclear, funcTest;
18833     (void)funcTest; // shut up "variable unused" warnings
18834     bool init = CS_GL_EXT_blend_func_separate;
18835     allclear = true;
18836     if (init)   // Don't check the functions if ext isn't reported anyway
18837     {
18838       EXTMGR_FUNC_INIT(glBlendFuncSeparateEXT, GLBLENDFUNCSEPARATEEXT);
18839 
18840       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_func_separate)
18841     }
18842     else
18843     {
18844       Report (msgExtNotFound, "GL", ext);
18845     }
18846   }
18847   
18850   void InitGL_EXT_blend_logic_op ()
18851   {
18852     if (tested_CS_GL_EXT_blend_logic_op) return;
18853     if (!extstrGL) return;
18854     tested_CS_GL_EXT_blend_logic_op = true;
18855     const char* ext = "GL_EXT_blend_logic_op";
18856 
18857     char cfgkey[26 + 21 + 1];
18858     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18859     
18860     CS_GL_EXT_blend_logic_op = (strstr (extstrGL, ext) != 0);
18861 
18862     bool allclear, funcTest;
18863     (void)funcTest; // shut up "variable unused" warnings
18864     bool init = CS_GL_EXT_blend_logic_op;
18865     allclear = true;
18866     if (init)   // Don't check the functions if ext isn't reported anyway
18867     {
18868 
18869       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_logic_op)
18870     }
18871     else
18872     {
18873       Report (msgExtNotFound, "GL", ext);
18874     }
18875   }
18876   
18879   void InitGL_EXT_blend_minmax ()
18880   {
18881     if (tested_CS_GL_EXT_blend_minmax) return;
18882     if (!extstrGL) return;
18883     tested_CS_GL_EXT_blend_minmax = true;
18884     const char* ext = "GL_EXT_blend_minmax";
18885 
18886     char cfgkey[26 + 19 + 1];
18887     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18888     
18889     CS_GL_EXT_blend_minmax = (strstr (extstrGL, ext) != 0);
18890 
18891     bool allclear, funcTest;
18892     (void)funcTest; // shut up "variable unused" warnings
18893     bool init = CS_GL_EXT_blend_minmax;
18894     allclear = true;
18895     if (init)   // Don't check the functions if ext isn't reported anyway
18896     {
18897       EXTMGR_FUNC_INIT(glBlendEquationEXT, GLBLENDEQUATIONEXT);
18898 
18899       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_minmax)
18900     }
18901     else
18902     {
18903       Report (msgExtNotFound, "GL", ext);
18904     }
18905   }
18906   
18909   void InitGL_EXT_blend_subtract ()
18910   {
18911     if (tested_CS_GL_EXT_blend_subtract) return;
18912     if (!extstrGL) return;
18913     tested_CS_GL_EXT_blend_subtract = true;
18914     const char* ext = "GL_EXT_blend_subtract";
18915 
18916     char cfgkey[26 + 21 + 1];
18917     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18918     
18919     CS_GL_EXT_blend_subtract = (strstr (extstrGL, ext) != 0);
18920 
18921     bool allclear, funcTest;
18922     (void)funcTest; // shut up "variable unused" warnings
18923     bool init = CS_GL_EXT_blend_subtract;
18924     allclear = true;
18925     if (init)   // Don't check the functions if ext isn't reported anyway
18926     {
18927 
18928       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_subtract)
18929     }
18930     else
18931     {
18932       Report (msgExtNotFound, "GL", ext);
18933     }
18934   }
18935   
18938   void InitGL_EXT_clip_volume_hint ()
18939   {
18940     if (tested_CS_GL_EXT_clip_volume_hint) return;
18941     if (!extstrGL) return;
18942     tested_CS_GL_EXT_clip_volume_hint = true;
18943     const char* ext = "GL_EXT_clip_volume_hint";
18944 
18945     char cfgkey[26 + 23 + 1];
18946     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18947     
18948     CS_GL_EXT_clip_volume_hint = (strstr (extstrGL, ext) != 0);
18949 
18950     bool allclear, funcTest;
18951     (void)funcTest; // shut up "variable unused" warnings
18952     bool init = CS_GL_EXT_clip_volume_hint;
18953     allclear = true;
18954     if (init)   // Don't check the functions if ext isn't reported anyway
18955     {
18956 
18957       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_clip_volume_hint)
18958     }
18959     else
18960     {
18961       Report (msgExtNotFound, "GL", ext);
18962     }
18963   }
18964   
18967   void InitGL_EXT_color_subtable ()
18968   {
18969     if (tested_CS_GL_EXT_color_subtable) return;
18970     if (!extstrGL) return;
18971     tested_CS_GL_EXT_color_subtable = true;
18972     const char* ext = "GL_EXT_color_subtable";
18973 
18974     char cfgkey[26 + 21 + 1];
18975     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18976     
18977     CS_GL_EXT_color_subtable = (strstr (extstrGL, ext) != 0);
18978 
18979     bool allclear, funcTest;
18980     (void)funcTest; // shut up "variable unused" warnings
18981     bool init = CS_GL_EXT_color_subtable;
18982     allclear = true;
18983     if (init)   // Don't check the functions if ext isn't reported anyway
18984     {
18985       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
18986       EXTMGR_FUNC_INIT(glCopyColorSubTableEXT, GLCOPYCOLORSUBTABLEEXT);
18987 
18988       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_color_subtable)
18989     }
18990     else
18991     {
18992       Report (msgExtNotFound, "GL", ext);
18993     }
18994   }
18995   
18998   void InitGL_EXT_compiled_vertex_array ()
18999   {
19000     if (tested_CS_GL_EXT_compiled_vertex_array) return;
19001     if (!extstrGL) return;
19002     tested_CS_GL_EXT_compiled_vertex_array = true;
19003     const char* ext = "GL_EXT_compiled_vertex_array";
19004 
19005     char cfgkey[26 + 28 + 1];
19006     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19007     
19008     CS_GL_EXT_compiled_vertex_array = (strstr (extstrGL, ext) != 0);
19009 
19010     bool allclear, funcTest;
19011     (void)funcTest; // shut up "variable unused" warnings
19012     bool init = CS_GL_EXT_compiled_vertex_array;
19013     allclear = true;
19014     if (init)   // Don't check the functions if ext isn't reported anyway
19015     {
19016       EXTMGR_FUNC_INIT(glLockArraysEXT, GLLOCKARRAYSEXT);
19017       EXTMGR_FUNC_INIT(glUnlockArraysEXT, GLUNLOCKARRAYSEXT);
19018 
19019       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_compiled_vertex_array)
19020     }
19021     else
19022     {
19023       Report (msgExtNotFound, "GL", ext);
19024     }
19025   }
19026   
19029   void InitGL_EXT_convolution ()
19030   {
19031     if (tested_CS_GL_EXT_convolution) return;
19032     if (!extstrGL) return;
19033     tested_CS_GL_EXT_convolution = true;
19034     const char* ext = "GL_EXT_convolution";
19035 
19036     char cfgkey[26 + 18 + 1];
19037     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19038     
19039     CS_GL_EXT_convolution = (strstr (extstrGL, ext) != 0);
19040 
19041     bool allclear, funcTest;
19042     (void)funcTest; // shut up "variable unused" warnings
19043     bool init = CS_GL_EXT_convolution;
19044     allclear = true;
19045     if (init)   // Don't check the functions if ext isn't reported anyway
19046     {
19047       EXTMGR_FUNC_INIT(glConvolutionFilter1DEXT, GLCONVOLUTIONFILTER1DEXT);
19048       EXTMGR_FUNC_INIT(glConvolutionFilter2DEXT, GLCONVOLUTIONFILTER2DEXT);
19049       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1DEXT, GLCOPYCONVOLUTIONFILTER1DEXT);
19050       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2DEXT, GLCOPYCONVOLUTIONFILTER2DEXT);
19051       EXTMGR_FUNC_INIT(glGetConvolutionFilterEXT, GLGETCONVOLUTIONFILTEREXT);
19052       EXTMGR_FUNC_INIT(glSeparableFilter2DEXT, GLSEPARABLEFILTER2DEXT);
19053       EXTMGR_FUNC_INIT(glGetSeparableFilterEXT, GLGETSEPARABLEFILTEREXT);
19054       EXTMGR_FUNC_INIT(glConvolutionParameteriEXT, GLCONVOLUTIONPARAMETERIEXT);
19055       EXTMGR_FUNC_INIT(glConvolutionParameterivEXT, GLCONVOLUTIONPARAMETERIVEXT);
19056       EXTMGR_FUNC_INIT(glConvolutionParameterfEXT, GLCONVOLUTIONPARAMETERFEXT);
19057       EXTMGR_FUNC_INIT(glConvolutionParameterfvEXT, GLCONVOLUTIONPARAMETERFVEXT);
19058       EXTMGR_FUNC_INIT(glGetConvolutionParameterivEXT, GLGETCONVOLUTIONPARAMETERIVEXT);
19059       EXTMGR_FUNC_INIT(glGetConvolutionParameterfvEXT, GLGETCONVOLUTIONPARAMETERFVEXT);
19060 
19061       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_convolution)
19062     }
19063     else
19064     {
19065       Report (msgExtNotFound, "GL", ext);
19066     }
19067   }
19068   
19071   void InitGL_EXT_fog_coord ()
19072   {
19073     if (tested_CS_GL_EXT_fog_coord) return;
19074     if (!extstrGL) return;
19075     tested_CS_GL_EXT_fog_coord = true;
19076     const char* ext = "GL_EXT_fog_coord";
19077 
19078     char cfgkey[26 + 16 + 1];
19079     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19080     
19081     CS_GL_EXT_fog_coord = (strstr (extstrGL, ext) != 0);
19082 
19083     bool allclear, funcTest;
19084     (void)funcTest; // shut up "variable unused" warnings
19085     bool init = CS_GL_EXT_fog_coord;
19086     allclear = true;
19087     if (init)   // Don't check the functions if ext isn't reported anyway
19088     {
19089       EXTMGR_FUNC_INIT(glFogCoordfEXT, GLFOGCOORDFEXT);
19090       EXTMGR_FUNC_INIT(glFogCoorddEXT, GLFOGCOORDDEXT);
19091       EXTMGR_FUNC_INIT(glFogCoordfvEXT, GLFOGCOORDFVEXT);
19092       EXTMGR_FUNC_INIT(glFogCoorddvEXT, GLFOGCOORDDVEXT);
19093       EXTMGR_FUNC_INIT(glFogCoordPointerEXT, GLFOGCOORDPOINTEREXT);
19094 
19095       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_fog_coord)
19096     }
19097     else
19098     {
19099       Report (msgExtNotFound, "GL", ext);
19100     }
19101   }
19102   
19105   void InitGL_EXT_histogram ()
19106   {
19107     if (tested_CS_GL_EXT_histogram) return;
19108     if (!extstrGL) return;
19109     tested_CS_GL_EXT_histogram = true;
19110     const char* ext = "GL_EXT_histogram";
19111 
19112     char cfgkey[26 + 16 + 1];
19113     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19114     
19115     CS_GL_EXT_histogram = (strstr (extstrGL, ext) != 0);
19116 
19117     bool allclear, funcTest;
19118     (void)funcTest; // shut up "variable unused" warnings
19119     bool init = CS_GL_EXT_histogram;
19120     allclear = true;
19121     if (init)   // Don't check the functions if ext isn't reported anyway
19122     {
19123       EXTMGR_FUNC_INIT(glHistogramEXT, GLHISTOGRAMEXT);
19124       EXTMGR_FUNC_INIT(glResetHistogramEXT, GLRESETHISTOGRAMEXT);
19125       EXTMGR_FUNC_INIT(glGetHistogramEXT, GLGETHISTOGRAMEXT);
19126       EXTMGR_FUNC_INIT(glGetHistogramParameterivEXT, GLGETHISTOGRAMPARAMETERIVEXT);
19127       EXTMGR_FUNC_INIT(glGetHistogramParameterfvEXT, GLGETHISTOGRAMPARAMETERFVEXT);
19128       EXTMGR_FUNC_INIT(glMinmaxEXT, GLMINMAXEXT);
19129       EXTMGR_FUNC_INIT(glResetMinmaxEXT, GLRESETMINMAXEXT);
19130       EXTMGR_FUNC_INIT(glGetMinmaxEXT, GLGETMINMAXEXT);
19131       EXTMGR_FUNC_INIT(glGetMinmaxParameterivEXT, GLGETMINMAXPARAMETERIVEXT);
19132       EXTMGR_FUNC_INIT(glGetMinmaxParameterfvEXT, GLGETMINMAXPARAMETERFVEXT);
19133 
19134       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_histogram)
19135     }
19136     else
19137     {
19138       Report (msgExtNotFound, "GL", ext);
19139     }
19140   }
19141   
19144   void InitGL_EXT_multi_draw_arrays ()
19145   {
19146     if (tested_CS_GL_EXT_multi_draw_arrays) return;
19147     if (!extstrGL) return;
19148     tested_CS_GL_EXT_multi_draw_arrays = true;
19149     const char* ext = "GL_EXT_multi_draw_arrays";
19150 
19151     char cfgkey[26 + 24 + 1];
19152     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19153     
19154     CS_GL_EXT_multi_draw_arrays = (strstr (extstrGL, ext) != 0);
19155 
19156     bool allclear, funcTest;
19157     (void)funcTest; // shut up "variable unused" warnings
19158     bool init = CS_GL_EXT_multi_draw_arrays;
19159     allclear = true;
19160     if (init)   // Don't check the functions if ext isn't reported anyway
19161     {
19162       EXTMGR_FUNC_INIT(glMultiDrawArraysEXT, GLMULTIDRAWARRAYSEXT);
19163       EXTMGR_FUNC_INIT(glMultiDrawElementsEXT, GLMULTIDRAWELEMENTSEXT);
19164 
19165       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_multi_draw_arrays)
19166     }
19167     else
19168     {
19169       Report (msgExtNotFound, "GL", ext);
19170     }
19171   }
19172   
19175   void InitGL_EXT_packed_pixels ()
19176   {
19177     if (tested_CS_GL_EXT_packed_pixels) return;
19178     if (!extstrGL) return;
19179     tested_CS_GL_EXT_packed_pixels = true;
19180     const char* ext = "GL_EXT_packed_pixels";
19181 
19182     char cfgkey[26 + 20 + 1];
19183     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19184     
19185     CS_GL_EXT_packed_pixels = (strstr (extstrGL, ext) != 0);
19186 
19187     bool allclear, funcTest;
19188     (void)funcTest; // shut up "variable unused" warnings
19189     bool init = CS_GL_EXT_packed_pixels;
19190     allclear = true;
19191     if (init)   // Don't check the functions if ext isn't reported anyway
19192     {
19193 
19194       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_pixels)
19195     }
19196     else
19197     {
19198       Report (msgExtNotFound, "GL", ext);
19199     }
19200   }
19201   
19204   void InitGL_EXT_paletted_texture ()
19205   {
19206     if (tested_CS_GL_EXT_paletted_texture) return;
19207     if (!extstrGL) return;
19208     tested_CS_GL_EXT_paletted_texture = true;
19209     const char* ext = "GL_EXT_paletted_texture";
19210 
19211     char cfgkey[26 + 23 + 1];
19212     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19213     
19214     CS_GL_EXT_paletted_texture = (strstr (extstrGL, ext) != 0);
19215 
19216     bool allclear, funcTest;
19217     (void)funcTest; // shut up "variable unused" warnings
19218     bool init = CS_GL_EXT_paletted_texture;
19219     allclear = true;
19220     if (init)   // Don't check the functions if ext isn't reported anyway
19221     {
19222       EXTMGR_FUNC_INIT(glColorTableEXT, GLCOLORTABLEEXT);
19223       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
19224       EXTMGR_FUNC_INIT(glGetColorTableEXT, GLGETCOLORTABLEEXT);
19225       EXTMGR_FUNC_INIT(glGetColorTableParameterivEXT, GLGETCOLORTABLEPARAMETERIVEXT);
19226       EXTMGR_FUNC_INIT(glGetColorTableParameterfvEXT, GLGETCOLORTABLEPARAMETERFVEXT);
19227 
19228       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_paletted_texture)
19229     }
19230     else
19231     {
19232       Report (msgExtNotFound, "GL", ext);
19233     }
19234   }
19235   
19238   void InitGL_EXT_point_parameters ()
19239   {
19240     if (tested_CS_GL_EXT_point_parameters) return;
19241     if (!extstrGL) return;
19242     tested_CS_GL_EXT_point_parameters = true;
19243     const char* ext = "GL_EXT_point_parameters";
19244 
19245     char cfgkey[26 + 23 + 1];
19246     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19247     
19248     CS_GL_EXT_point_parameters = (strstr (extstrGL, ext) != 0);
19249 
19250     bool allclear, funcTest;
19251     (void)funcTest; // shut up "variable unused" warnings
19252     bool init = CS_GL_EXT_point_parameters;
19253     allclear = true;
19254     if (init)   // Don't check the functions if ext isn't reported anyway
19255     {
19256       EXTMGR_FUNC_INIT(glPointParameterfEXT, GLPOINTPARAMETERFEXT);
19257       EXTMGR_FUNC_INIT(glPointParameterfvEXT, GLPOINTPARAMETERFVEXT);
19258 
19259       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_point_parameters)
19260     }
19261     else
19262     {
19263       Report (msgExtNotFound, "GL", ext);
19264     }
19265   }
19266   
19269   void InitGL_EXT_polygon_offset ()
19270   {
19271     if (tested_CS_GL_EXT_polygon_offset) return;
19272     if (!extstrGL) return;
19273     tested_CS_GL_EXT_polygon_offset = true;
19274     const char* ext = "GL_EXT_polygon_offset";
19275 
19276     char cfgkey[26 + 21 + 1];
19277     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19278     
19279     CS_GL_EXT_polygon_offset = (strstr (extstrGL, ext) != 0);
19280 
19281     bool allclear, funcTest;
19282     (void)funcTest; // shut up "variable unused" warnings
19283     bool init = CS_GL_EXT_polygon_offset;
19284     allclear = true;
19285     if (init)   // Don't check the functions if ext isn't reported anyway
19286     {
19287       EXTMGR_FUNC_INIT(glPolygonOffsetEXT, GLPOLYGONOFFSETEXT);
19288 
19289       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_polygon_offset)
19290     }
19291     else
19292     {
19293       Report (msgExtNotFound, "GL", ext);
19294     }
19295   }
19296   
19299   void InitGL_EXT_secondary_color ()
19300   {
19301     if (tested_CS_GL_EXT_secondary_color) return;
19302     if (!extstrGL) return;
19303     tested_CS_GL_EXT_secondary_color = true;
19304     const char* ext = "GL_EXT_secondary_color";
19305 
19306     char cfgkey[26 + 22 + 1];
19307     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19308     
19309     CS_GL_EXT_secondary_color = (strstr (extstrGL, ext) != 0);
19310 
19311     bool allclear, funcTest;
19312     (void)funcTest; // shut up "variable unused" warnings
19313     bool init = CS_GL_EXT_secondary_color;
19314     allclear = true;
19315     if (init)   // Don't check the functions if ext isn't reported anyway
19316     {
19317       EXTMGR_FUNC_INIT(glSecondaryColor3bEXT, GLSECONDARYCOLOR3BEXT);
19318       EXTMGR_FUNC_INIT(glSecondaryColor3sEXT, GLSECONDARYCOLOR3SEXT);
19319       EXTMGR_FUNC_INIT(glSecondaryColor3iEXT, GLSECONDARYCOLOR3IEXT);
19320       EXTMGR_FUNC_INIT(glSecondaryColor3fEXT, GLSECONDARYCOLOR3FEXT);
19321       EXTMGR_FUNC_INIT(glSecondaryColor3dEXT, GLSECONDARYCOLOR3DEXT);
19322       EXTMGR_FUNC_INIT(glSecondaryColor3ubEXT, GLSECONDARYCOLOR3UBEXT);
19323       EXTMGR_FUNC_INIT(glSecondaryColor3usEXT, GLSECONDARYCOLOR3USEXT);
19324       EXTMGR_FUNC_INIT(glSecondaryColor3uiEXT, GLSECONDARYCOLOR3UIEXT);
19325       EXTMGR_FUNC_INIT(glSecondaryColor3bvEXT, GLSECONDARYCOLOR3BVEXT);
19326       EXTMGR_FUNC_INIT(glSecondaryColor3svEXT, GLSECONDARYCOLOR3SVEXT);
19327       EXTMGR_FUNC_INIT(glSecondaryColor3ivEXT, GLSECONDARYCOLOR3IVEXT);
19328       EXTMGR_FUNC_INIT(glSecondaryColor3fvEXT, GLSECONDARYCOLOR3FVEXT);
19329       EXTMGR_FUNC_INIT(glSecondaryColor3dvEXT, GLSECONDARYCOLOR3DVEXT);
19330       EXTMGR_FUNC_INIT(glSecondaryColor3ubvEXT, GLSECONDARYCOLOR3UBVEXT);
19331       EXTMGR_FUNC_INIT(glSecondaryColor3usvEXT, GLSECONDARYCOLOR3USVEXT);
19332       EXTMGR_FUNC_INIT(glSecondaryColor3uivEXT, GLSECONDARYCOLOR3UIVEXT);
19333       EXTMGR_FUNC_INIT(glSecondaryColorPointerEXT, GLSECONDARYCOLORPOINTEREXT);
19334 
19335       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_secondary_color)
19336     }
19337     else
19338     {
19339       Report (msgExtNotFound, "GL", ext);
19340     }
19341   }
19342   
19345   void InitGL_EXT_separate_specular_color ()
19346   {
19347     if (tested_CS_GL_EXT_separate_specular_color) return;
19348     if (!extstrGL) return;
19349     tested_CS_GL_EXT_separate_specular_color = true;
19350     const char* ext = "GL_EXT_separate_specular_color";
19351 
19352     char cfgkey[26 + 30 + 1];
19353     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19354     
19355     CS_GL_EXT_separate_specular_color = (strstr (extstrGL, ext) != 0);
19356 
19357     bool allclear, funcTest;
19358     (void)funcTest; // shut up "variable unused" warnings
19359     bool init = CS_GL_EXT_separate_specular_color;
19360     allclear = true;
19361     if (init)   // Don't check the functions if ext isn't reported anyway
19362     {
19363 
19364       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_separate_specular_color)
19365     }
19366     else
19367     {
19368       Report (msgExtNotFound, "GL", ext);
19369     }
19370   }
19371   
19374   void InitGL_EXT_shadow_funcs ()
19375   {
19376     if (tested_CS_GL_EXT_shadow_funcs) return;
19377     if (!extstrGL) return;
19378     tested_CS_GL_EXT_shadow_funcs = true;
19379     const char* ext = "GL_EXT_shadow_funcs";
19380 
19381     char cfgkey[26 + 19 + 1];
19382     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19383     
19384     CS_GL_EXT_shadow_funcs = (strstr (extstrGL, ext) != 0);
19385 
19386     bool allclear, funcTest;
19387     (void)funcTest; // shut up "variable unused" warnings
19388     bool init = CS_GL_EXT_shadow_funcs;
19389     allclear = true;
19390     if (init)   // Don't check the functions if ext isn't reported anyway
19391     {
19392 
19393       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shadow_funcs)
19394     }
19395     else
19396     {
19397       Report (msgExtNotFound, "GL", ext);
19398     }
19399   }
19400   
19403   void InitGL_EXT_shared_texture_palette ()
19404   {
19405     if (tested_CS_GL_EXT_shared_texture_palette) return;
19406     if (!extstrGL) return;
19407     tested_CS_GL_EXT_shared_texture_palette = true;
19408     const char* ext = "GL_EXT_shared_texture_palette";
19409 
19410     char cfgkey[26 + 29 + 1];
19411     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19412     
19413     CS_GL_EXT_shared_texture_palette = (strstr (extstrGL, ext) != 0);
19414 
19415     bool allclear, funcTest;
19416     (void)funcTest; // shut up "variable unused" warnings
19417     bool init = CS_GL_EXT_shared_texture_palette;
19418     allclear = true;
19419     if (init)   // Don't check the functions if ext isn't reported anyway
19420     {
19421 
19422       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shared_texture_palette)
19423     }
19424     else
19425     {
19426       Report (msgExtNotFound, "GL", ext);
19427     }
19428   }
19429   
19432   void InitGL_EXT_stencil_two_side ()
19433   {
19434     if (tested_CS_GL_EXT_stencil_two_side) return;
19435     if (!extstrGL) return;
19436     tested_CS_GL_EXT_stencil_two_side = true;
19437     const char* ext = "GL_EXT_stencil_two_side";
19438 
19439     char cfgkey[26 + 23 + 1];
19440     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19441     
19442     CS_GL_EXT_stencil_two_side = (strstr (extstrGL, ext) != 0);
19443 
19444     bool allclear, funcTest;
19445     (void)funcTest; // shut up "variable unused" warnings
19446     bool init = CS_GL_EXT_stencil_two_side;
19447     allclear = true;
19448     if (init)   // Don't check the functions if ext isn't reported anyway
19449     {
19450       EXTMGR_FUNC_INIT(glActiveStencilFaceEXT, GLACTIVESTENCILFACEEXT);
19451 
19452       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_two_side)
19453     }
19454     else
19455     {
19456       Report (msgExtNotFound, "GL", ext);
19457     }
19458   }
19459   
19462   void InitGL_EXT_stencil_wrap ()
19463   {
19464     if (tested_CS_GL_EXT_stencil_wrap) return;
19465     if (!extstrGL) return;
19466     tested_CS_GL_EXT_stencil_wrap = true;
19467     const char* ext = "GL_EXT_stencil_wrap";
19468 
19469     char cfgkey[26 + 19 + 1];
19470     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19471     
19472     CS_GL_EXT_stencil_wrap = (strstr (extstrGL, ext) != 0);
19473 
19474     bool allclear, funcTest;
19475     (void)funcTest; // shut up "variable unused" warnings
19476     bool init = CS_GL_EXT_stencil_wrap;
19477     allclear = true;
19478     if (init)   // Don't check the functions if ext isn't reported anyway
19479     {
19480 
19481       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_wrap)
19482     }
19483     else
19484     {
19485       Report (msgExtNotFound, "GL", ext);
19486     }
19487   }
19488   
19491   void InitGL_EXT_subtexture ()
19492   {
19493     if (tested_CS_GL_EXT_subtexture) return;
19494     if (!extstrGL) return;
19495     tested_CS_GL_EXT_subtexture = true;
19496     const char* ext = "GL_EXT_subtexture";
19497 
19498     char cfgkey[26 + 17 + 1];
19499     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19500     
19501     CS_GL_EXT_subtexture = (strstr (extstrGL, ext) != 0);
19502 
19503     bool allclear, funcTest;
19504     (void)funcTest; // shut up "variable unused" warnings
19505     bool init = CS_GL_EXT_subtexture;
19506     allclear = true;
19507     if (init)   // Don't check the functions if ext isn't reported anyway
19508     {
19509       EXTMGR_FUNC_INIT(glTexSubImage1DEXT, GLTEXSUBIMAGE1DEXT);
19510       EXTMGR_FUNC_INIT(glTexSubImage2DEXT, GLTEXSUBIMAGE2DEXT);
19511       EXTMGR_FUNC_INIT(glTexSubImage3DEXT, GLTEXSUBIMAGE3DEXT);
19512 
19513       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_subtexture)
19514     }
19515     else
19516     {
19517       Report (msgExtNotFound, "GL", ext);
19518     }
19519   }
19520   
19523   void InitGL_EXT_texture3D ()
19524   {
19525     if (tested_CS_GL_EXT_texture3D) return;
19526     if (!extstrGL) return;
19527     tested_CS_GL_EXT_texture3D = true;
19528     const char* ext = "GL_EXT_texture3D";
19529 
19530     char cfgkey[26 + 16 + 1];
19531     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19532     
19533     CS_GL_EXT_texture3D = (strstr (extstrGL, ext) != 0);
19534 
19535     bool allclear, funcTest;
19536     (void)funcTest; // shut up "variable unused" warnings
19537     bool init = CS_GL_EXT_texture3D;
19538     allclear = true;
19539     if (init)   // Don't check the functions if ext isn't reported anyway
19540     {
19541       EXTMGR_FUNC_INIT(glTexImage3DEXT, GLTEXIMAGE3DEXT);
19542 
19543       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture3D)
19544     }
19545     else
19546     {
19547       Report (msgExtNotFound, "GL", ext);
19548     }
19549   }
19550   
19553   void InitGL_EXT_texture_compression_s3tc ()
19554   {
19555     if (tested_CS_GL_EXT_texture_compression_s3tc) return;
19556     if (!extstrGL) return;
19557     tested_CS_GL_EXT_texture_compression_s3tc = true;
19558     const char* ext = "GL_EXT_texture_compression_s3tc";
19559 
19560     char cfgkey[26 + 31 + 1];
19561     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19562     
19563     CS_GL_EXT_texture_compression_s3tc = (strstr (extstrGL, ext) != 0);
19564 
19565     bool allclear, funcTest;
19566     (void)funcTest; // shut up "variable unused" warnings
19567     bool init = CS_GL_EXT_texture_compression_s3tc;
19568     allclear = true;
19569     if (init)   // Don't check the functions if ext isn't reported anyway
19570     {
19571 
19572       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_compression_s3tc)
19573     }
19574     else
19575     {
19576       Report (msgExtNotFound, "GL", ext);
19577     }
19578   }
19579   
19582   void InitGL_EXT_texture_env_add ()
19583   {
19584     if (tested_CS_GL_EXT_texture_env_add) return;
19585     if (!extstrGL) return;
19586     tested_CS_GL_EXT_texture_env_add = true;
19587     const char* ext = "GL_EXT_texture_env_add";
19588 
19589     char cfgkey[26 + 22 + 1];
19590     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19591     
19592     CS_GL_EXT_texture_env_add = (strstr (extstrGL, ext) != 0);
19593 
19594     bool allclear, funcTest;
19595     (void)funcTest; // shut up "variable unused" warnings
19596     bool init = CS_GL_EXT_texture_env_add;
19597     allclear = true;
19598     if (init)   // Don't check the functions if ext isn't reported anyway
19599     {
19600 
19601       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_add)
19602     }
19603     else
19604     {
19605       Report (msgExtNotFound, "GL", ext);
19606     }
19607   }
19608   
19611   void InitGL_EXT_texture_env_combine ()
19612   {
19613     if (tested_CS_GL_EXT_texture_env_combine) return;
19614     if (!extstrGL) return;
19615     tested_CS_GL_EXT_texture_env_combine = true;
19616     const char* ext = "GL_EXT_texture_env_combine";
19617 
19618     char cfgkey[26 + 26 + 1];
19619     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19620     
19621     CS_GL_EXT_texture_env_combine = (strstr (extstrGL, ext) != 0);
19622 
19623     bool allclear, funcTest;
19624     (void)funcTest; // shut up "variable unused" warnings
19625     bool init = CS_GL_EXT_texture_env_combine;
19626     allclear = true;
19627     if (init)   // Don't check the functions if ext isn't reported anyway
19628     {
19629 
19630       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_combine)
19631     }
19632     else
19633     {
19634       Report (msgExtNotFound, "GL", ext);
19635     }
19636   }
19637   
19640   void InitGL_EXT_texture_env_dot3 ()
19641   {
19642     if (tested_CS_GL_EXT_texture_env_dot3) return;
19643     if (!extstrGL) return;
19644     tested_CS_GL_EXT_texture_env_dot3 = true;
19645     const char* ext = "GL_EXT_texture_env_dot3";
19646 
19647     char cfgkey[26 + 23 + 1];
19648     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19649     
19650     CS_GL_EXT_texture_env_dot3 = (strstr (extstrGL, ext) != 0);
19651 
19652     bool allclear, funcTest;
19653     (void)funcTest; // shut up "variable unused" warnings
19654     bool init = CS_GL_EXT_texture_env_dot3;
19655     allclear = true;
19656     if (init)   // Don't check the functions if ext isn't reported anyway
19657     {
19658 
19659       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_dot3)
19660     }
19661     else
19662     {
19663       Report (msgExtNotFound, "GL", ext);
19664     }
19665   }
19666   
19669   void InitGL_EXT_texture_filter_anisotropic ()
19670   {
19671     if (tested_CS_GL_EXT_texture_filter_anisotropic) return;
19672     if (!extstrGL) return;
19673     tested_CS_GL_EXT_texture_filter_anisotropic = true;
19674     const char* ext = "GL_EXT_texture_filter_anisotropic";
19675 
19676     char cfgkey[26 + 33 + 1];
19677     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19678     
19679     CS_GL_EXT_texture_filter_anisotropic = (strstr (extstrGL, ext) != 0);
19680 
19681     bool allclear, funcTest;
19682     (void)funcTest; // shut up "variable unused" warnings
19683     bool init = CS_GL_EXT_texture_filter_anisotropic;
19684     allclear = true;
19685     if (init)   // Don't check the functions if ext isn't reported anyway
19686     {
19687 
19688       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_filter_anisotropic)
19689     }
19690     else
19691     {
19692       Report (msgExtNotFound, "GL", ext);
19693     }
19694   }
19695   
19698   void InitGL_EXT_texture_lod_bias ()
19699   {
19700     if (tested_CS_GL_EXT_texture_lod_bias) return;
19701     if (!extstrGL) return;
19702     tested_CS_GL_EXT_texture_lod_bias = true;
19703     const char* ext = "GL_EXT_texture_lod_bias";
19704 
19705     char cfgkey[26 + 23 + 1];
19706     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19707     
19708     CS_GL_EXT_texture_lod_bias = (strstr (extstrGL, ext) != 0);
19709 
19710     bool allclear, funcTest;
19711     (void)funcTest; // shut up "variable unused" warnings
19712     bool init = CS_GL_EXT_texture_lod_bias;
19713     allclear = true;
19714     if (init)   // Don't check the functions if ext isn't reported anyway
19715     {
19716 
19717       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_lod_bias)
19718     }
19719     else
19720     {
19721       Report (msgExtNotFound, "GL", ext);
19722     }
19723   }
19724   
19727   void InitGL_EXT_texture_object ()
19728   {
19729     if (tested_CS_GL_EXT_texture_object) return;
19730     if (!extstrGL) return;
19731     tested_CS_GL_EXT_texture_object = true;
19732     const char* ext = "GL_EXT_texture_object";
19733 
19734     char cfgkey[26 + 21 + 1];
19735     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19736     
19737     CS_GL_EXT_texture_object = (strstr (extstrGL, ext) != 0);
19738 
19739     bool allclear, funcTest;
19740     (void)funcTest; // shut up "variable unused" warnings
19741     bool init = CS_GL_EXT_texture_object;
19742     allclear = true;
19743     if (init)   // Don't check the functions if ext isn't reported anyway
19744     {
19745       EXTMGR_FUNC_INIT(glGenTexturesEXT, GLGENTEXTURESEXT);
19746       EXTMGR_FUNC_INIT(glDeleteTexturesEXT, GLDELETETEXTURESEXT);
19747       EXTMGR_FUNC_INIT(glBindTextureEXT, GLBINDTEXTUREEXT);
19748       EXTMGR_FUNC_INIT(glPrioritizeTexturesEXT, GLPRIORITIZETEXTURESEXT);
19749       EXTMGR_FUNC_INIT(glAreTexturesResidentEXT, GLARETEXTURESRESIDENTEXT);
19750       EXTMGR_FUNC_INIT(glIsTextureEXT, GLISTEXTUREEXT);
19751 
19752       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_object)
19753     }
19754     else
19755     {
19756       Report (msgExtNotFound, "GL", ext);
19757     }
19758   }
19759   
19762   void InitGL_EXT_vertex_array ()
19763   {
19764     if (tested_CS_GL_EXT_vertex_array) return;
19765     if (!extstrGL) return;
19766     tested_CS_GL_EXT_vertex_array = true;
19767     const char* ext = "GL_EXT_vertex_array";
19768 
19769     char cfgkey[26 + 19 + 1];
19770     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19771     
19772     CS_GL_EXT_vertex_array = (strstr (extstrGL, ext) != 0);
19773 
19774     bool allclear, funcTest;
19775     (void)funcTest; // shut up "variable unused" warnings
19776     bool init = CS_GL_EXT_vertex_array;
19777     allclear = true;
19778     if (init)   // Don't check the functions if ext isn't reported anyway
19779     {
19780       EXTMGR_FUNC_INIT(glArrayElementEXT, GLARRAYELEMENTEXT);
19781       EXTMGR_FUNC_INIT(glDrawArraysEXT, GLDRAWARRAYSEXT);
19782       EXTMGR_FUNC_INIT(glVertexPointerEXT, GLVERTEXPOINTEREXT);
19783       EXTMGR_FUNC_INIT(glNormalPointerEXT, GLNORMALPOINTEREXT);
19784       EXTMGR_FUNC_INIT(glColorPointerEXT, GLCOLORPOINTEREXT);
19785       EXTMGR_FUNC_INIT(glIndexPointerEXT, GLINDEXPOINTEREXT);
19786       EXTMGR_FUNC_INIT(glTexCoordPointerEXT, GLTEXCOORDPOINTEREXT);
19787       EXTMGR_FUNC_INIT(glEdgeFlagPointerEXT, GLEDGEFLAGPOINTEREXT);
19788       EXTMGR_FUNC_INIT(glGetPointervEXT, GLGETPOINTERVEXT);
19789 
19790       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_array)
19791     }
19792     else
19793     {
19794       Report (msgExtNotFound, "GL", ext);
19795     }
19796   }
19797   
19800   void InitGL_EXT_vertex_shader ()
19801   {
19802     if (tested_CS_GL_EXT_vertex_shader) return;
19803     if (!extstrGL) return;
19804     tested_CS_GL_EXT_vertex_shader = true;
19805     const char* ext = "GL_EXT_vertex_shader";
19806 
19807     char cfgkey[26 + 20 + 1];
19808     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19809     
19810     CS_GL_EXT_vertex_shader = (strstr (extstrGL, ext) != 0);
19811 
19812     bool allclear, funcTest;
19813     (void)funcTest; // shut up "variable unused" warnings
19814     bool init = CS_GL_EXT_vertex_shader;
19815     allclear = true;
19816     if (init)   // Don't check the functions if ext isn't reported anyway
19817     {
19818       EXTMGR_FUNC_INIT(glBeginVertexShaderEXT, GLBEGINVERTEXSHADEREXT);
19819       EXTMGR_FUNC_INIT(glEndVertexShaderEXT, GLENDVERTEXSHADEREXT);
19820       EXTMGR_FUNC_INIT(glBindVertexShaderEXT, GLBINDVERTEXSHADEREXT);
19821       EXTMGR_FUNC_INIT(glGenVertexShadersEXT, GLGENVERTEXSHADERSEXT);
19822       EXTMGR_FUNC_INIT(glDeleteVertexShaderEXT, GLDELETEVERTEXSHADEREXT);
19823       EXTMGR_FUNC_INIT(glShaderOp1EXT, GLSHADEROP1EXT);
19824       EXTMGR_FUNC_INIT(glShaderOp2EXT, GLSHADEROP2EXT);
19825       EXTMGR_FUNC_INIT(glShaderOp3EXT, GLSHADEROP3EXT);
19826       EXTMGR_FUNC_INIT(glSwizzleEXT, GLSWIZZLEEXT);
19827       EXTMGR_FUNC_INIT(glWriteMaskEXT, GLWRITEMASKEXT);
19828       EXTMGR_FUNC_INIT(glInsertComponentEXT, GLINSERTCOMPONENTEXT);
19829       EXTMGR_FUNC_INIT(glExtractComponentEXT, GLEXTRACTCOMPONENTEXT);
19830       EXTMGR_FUNC_INIT(glGenSymbolsEXT, GLGENSYMBOLSEXT);
19831       EXTMGR_FUNC_INIT(glSetInvariantEXT, GLSETINVARIANTEXT);
19832       EXTMGR_FUNC_INIT(glSetLocalConstantEXT, GLSETLOCALCONSTANTEXT);
19833       EXTMGR_FUNC_INIT(glVariantbvEXT, GLVARIANTBVEXT);
19834       EXTMGR_FUNC_INIT(glVariantsvEXT, GLVARIANTSVEXT);
19835       EXTMGR_FUNC_INIT(glVariantivEXT, GLVARIANTIVEXT);
19836       EXTMGR_FUNC_INIT(glVariantfvEXT, GLVARIANTFVEXT);
19837       EXTMGR_FUNC_INIT(glVariantdvEXT, GLVARIANTDVEXT);
19838       EXTMGR_FUNC_INIT(glVariantubvEXT, GLVARIANTUBVEXT);
19839       EXTMGR_FUNC_INIT(glVariantusvEXT, GLVARIANTUSVEXT);
19840       EXTMGR_FUNC_INIT(glVariantuivEXT, GLVARIANTUIVEXT);
19841       EXTMGR_FUNC_INIT(glVariantPointerEXT, GLVARIANTPOINTEREXT);
19842       EXTMGR_FUNC_INIT(glEnableVariantClientStateEXT, GLENABLEVARIANTCLIENTSTATEEXT);
19843       EXTMGR_FUNC_INIT(glDisableVariantClientStateEXT, GLDISABLEVARIANTCLIENTSTATEEXT);
19844       EXTMGR_FUNC_INIT(glBindLightParameterEXT, GLBINDLIGHTPARAMETEREXT);
19845       EXTMGR_FUNC_INIT(glBindMaterialParameterEXT, GLBINDMATERIALPARAMETEREXT);
19846       EXTMGR_FUNC_INIT(glBindTexGenParameterEXT, GLBINDTEXGENPARAMETEREXT);
19847       EXTMGR_FUNC_INIT(glBindTextureUnitParameterEXT, GLBINDTEXTUREUNITPARAMETEREXT);
19848       EXTMGR_FUNC_INIT(glBindParameterEXT, GLBINDPARAMETEREXT);
19849       EXTMGR_FUNC_INIT(glIsVariantEnabledEXT, GLISVARIANTENABLEDEXT);
19850       EXTMGR_FUNC_INIT(glGetVariantBooleanvEXT, GLGETVARIANTBOOLEANVEXT);
19851       EXTMGR_FUNC_INIT(glGetVariantIntegervEXT, GLGETVARIANTINTEGERVEXT);
19852       EXTMGR_FUNC_INIT(glGetVariantFloatvEXT, GLGETVARIANTFLOATVEXT);
19853       EXTMGR_FUNC_INIT(glGetVariantPointervEXT, GLGETVARIANTPOINTERVEXT);
19854       EXTMGR_FUNC_INIT(glGetInvariantBooleanvEXT, GLGETINVARIANTBOOLEANVEXT);
19855       EXTMGR_FUNC_INIT(glGetInvariantIntegervEXT, GLGETINVARIANTINTEGERVEXT);
19856       EXTMGR_FUNC_INIT(glGetInvariantFloatvEXT, GLGETINVARIANTFLOATVEXT);
19857       EXTMGR_FUNC_INIT(glGetLocalConstantBooleanvEXT, GLGETLOCALCONSTANTBOOLEANVEXT);
19858       EXTMGR_FUNC_INIT(glGetLocalConstantIntegervEXT, GLGETLOCALCONSTANTINTEGERVEXT);
19859       EXTMGR_FUNC_INIT(glGetLocalConstantFloatvEXT, GLGETLOCALCONSTANTFLOATVEXT);
19860 
19861       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_shader)
19862     }
19863     else
19864     {
19865       Report (msgExtNotFound, "GL", ext);
19866     }
19867   }
19868   
19871   void InitGL_EXT_vertex_weighting ()
19872   {
19873     if (tested_CS_GL_EXT_vertex_weighting) return;
19874     if (!extstrGL) return;
19875     tested_CS_GL_EXT_vertex_weighting = true;
19876     const char* ext = "GL_EXT_vertex_weighting";
19877 
19878     char cfgkey[26 + 23 + 1];
19879     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19880     
19881     CS_GL_EXT_vertex_weighting = (strstr (extstrGL, ext) != 0);
19882 
19883     bool allclear, funcTest;
19884     (void)funcTest; // shut up "variable unused" warnings
19885     bool init = CS_GL_EXT_vertex_weighting;
19886     allclear = true;
19887     if (init)   // Don't check the functions if ext isn't reported anyway
19888     {
19889       EXTMGR_FUNC_INIT(glVertexWeightfEXT, GLVERTEXWEIGHTFEXT);
19890       EXTMGR_FUNC_INIT(glVertexWeightfvEXT, GLVERTEXWEIGHTFVEXT);
19891       EXTMGR_FUNC_INIT(glVertexWeightPointerEXT, GLVERTEXWEIGHTPOINTEREXT);
19892 
19893       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_weighting)
19894     }
19895     else
19896     {
19897       Report (msgExtNotFound, "GL", ext);
19898     }
19899   }
19900   
19903   void InitGL_HP_occlusion_test ()
19904   {
19905     if (tested_CS_GL_HP_occlusion_test) return;
19906     if (!extstrGL) return;
19907     tested_CS_GL_HP_occlusion_test = true;
19908     const char* ext = "GL_HP_occlusion_test";
19909 
19910     char cfgkey[26 + 20 + 1];
19911     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19912     
19913     CS_GL_HP_occlusion_test = (strstr (extstrGL, ext) != 0);
19914 
19915     bool allclear, funcTest;
19916     (void)funcTest; // shut up "variable unused" warnings
19917     bool init = CS_GL_HP_occlusion_test;
19918     allclear = true;
19919     if (init)   // Don't check the functions if ext isn't reported anyway
19920     {
19921 
19922       EXTMGR_REPORT_INIT_RESULT("GL", GL_HP_occlusion_test)
19923     }
19924     else
19925     {
19926       Report (msgExtNotFound, "GL", ext);
19927     }
19928   }
19929   
19932   void InitGL_NV_blend_square ()
19933   {
19934     if (tested_CS_GL_NV_blend_square) return;
19935     if (!extstrGL) return;
19936     tested_CS_GL_NV_blend_square = true;
19937     const char* ext = "GL_NV_blend_square";
19938 
19939     char cfgkey[26 + 18 + 1];
19940     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19941     
19942     CS_GL_NV_blend_square = (strstr (extstrGL, ext) != 0);
19943 
19944     bool allclear, funcTest;
19945     (void)funcTest; // shut up "variable unused" warnings
19946     bool init = CS_GL_NV_blend_square;
19947     allclear = true;
19948     if (init)   // Don't check the functions if ext isn't reported anyway
19949     {
19950 
19951       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_blend_square)
19952     }
19953     else
19954     {
19955       Report (msgExtNotFound, "GL", ext);
19956     }
19957   }
19958   
19961   void InitGL_NV_copy_depth_to_color ()
19962   {
19963     if (tested_CS_GL_NV_copy_depth_to_color) return;
19964     if (!extstrGL) return;
19965     tested_CS_GL_NV_copy_depth_to_color = true;
19966     const char* ext = "GL_NV_copy_depth_to_color";
19967 
19968     char cfgkey[26 + 25 + 1];
19969     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19970     
19971     CS_GL_NV_copy_depth_to_color = (strstr (extstrGL, ext) != 0);
19972 
19973     bool allclear, funcTest;
19974     (void)funcTest; // shut up "variable unused" warnings
19975     bool init = CS_GL_NV_copy_depth_to_color;
19976     allclear = true;
19977     if (init)   // Don't check the functions if ext isn't reported anyway
19978     {
19979 
19980       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_copy_depth_to_color)
19981     }
19982     else
19983     {
19984       Report (msgExtNotFound, "GL", ext);
19985     }
19986   }
19987   
19990   void InitGL_NV_depth_clamp ()
19991   {
19992     if (tested_CS_GL_NV_depth_clamp) return;
19993     if (!extstrGL) return;
19994     tested_CS_GL_NV_depth_clamp = true;
19995     const char* ext = "GL_NV_depth_clamp";
19996 
19997     char cfgkey[26 + 17 + 1];
19998     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19999     
20000     CS_GL_NV_depth_clamp = (strstr (extstrGL, ext) != 0);
20001 
20002     bool allclear, funcTest;
20003     (void)funcTest; // shut up "variable unused" warnings
20004     bool init = CS_GL_NV_depth_clamp;
20005     allclear = true;
20006     if (init)   // Don't check the functions if ext isn't reported anyway
20007     {
20008 
20009       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_depth_clamp)
20010     }
20011     else
20012     {
20013       Report (msgExtNotFound, "GL", ext);
20014     }
20015   }
20016   
20019   void InitGL_NV_evaluators ()
20020   {
20021     if (tested_CS_GL_NV_evaluators) return;
20022     if (!extstrGL) return;
20023     tested_CS_GL_NV_evaluators = true;
20024     const char* ext = "GL_NV_evaluators";
20025 
20026     char cfgkey[26 + 16 + 1];
20027     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20028     
20029     CS_GL_NV_evaluators = (strstr (extstrGL, ext) != 0);
20030 
20031     bool allclear, funcTest;
20032     (void)funcTest; // shut up "variable unused" warnings
20033     bool init = CS_GL_NV_evaluators;
20034     allclear = true;
20035     if (init)   // Don't check the functions if ext isn't reported anyway
20036     {
20037       EXTMGR_FUNC_INIT(glMapControlPointsNV, GLMAPCONTROLPOINTSNV);
20038       EXTMGR_FUNC_INIT(glMapParameterivNV, GLMAPPARAMETERIVNV);
20039       EXTMGR_FUNC_INIT(glMapParameterfvNV, GLMAPPARAMETERFVNV);
20040       EXTMGR_FUNC_INIT(glGetMapControlPointsNV, GLGETMAPCONTROLPOINTSNV);
20041       EXTMGR_FUNC_INIT(glGetMapParameterivNV, GLGETMAPPARAMETERIVNV);
20042       EXTMGR_FUNC_INIT(glGetMapParameterfvNV, GLGETMAPPARAMETERFVNV);
20043       EXTMGR_FUNC_INIT(glGetMapAttribParameterivNV, GLGETMAPATTRIBPARAMETERIVNV);
20044       EXTMGR_FUNC_INIT(glGetMapAttribParameterfvNV, GLGETMAPATTRIBPARAMETERFVNV);
20045       EXTMGR_FUNC_INIT(glEvalMapsNV, GLEVALMAPSNV);
20046 
20047       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_evaluators)
20048     }
20049     else
20050     {
20051       Report (msgExtNotFound, "GL", ext);
20052     }
20053   }
20054   
20057   void InitGL_NV_fence ()
20058   {
20059     if (tested_CS_GL_NV_fence) return;
20060     if (!extstrGL) return;
20061     tested_CS_GL_NV_fence = true;
20062     const char* ext = "GL_NV_fence";
20063 
20064     char cfgkey[26 + 11 + 1];
20065     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20066     
20067     CS_GL_NV_fence = (strstr (extstrGL, ext) != 0);
20068 
20069     bool allclear, funcTest;
20070     (void)funcTest; // shut up "variable unused" warnings
20071     bool init = CS_GL_NV_fence;
20072     allclear = true;
20073     if (init)   // Don't check the functions if ext isn't reported anyway
20074     {
20075       EXTMGR_FUNC_INIT(glGenFencesNV, GLGENFENCESNV);
20076       EXTMGR_FUNC_INIT(glDeleteFencesNV, GLDELETEFENCESNV);
20077       EXTMGR_FUNC_INIT(glSetFenceNV, GLSETFENCENV);
20078       EXTMGR_FUNC_INIT(glTestFenceNV, GLTESTFENCENV);
20079       EXTMGR_FUNC_INIT(glFinishFenceNV, GLFINISHFENCENV);
20080       EXTMGR_FUNC_INIT(glIsFenceNV, GLISFENCENV);
20081       EXTMGR_FUNC_INIT(glGetFenceivNV, GLGETFENCEIVNV);
20082 
20083       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fence)
20084     }
20085     else
20086     {
20087       Report (msgExtNotFound, "GL", ext);
20088     }
20089   }
20090   
20093   void InitGL_NV_fog_distance ()
20094   {
20095     if (tested_CS_GL_NV_fog_distance) return;
20096     if (!extstrGL) return;
20097     tested_CS_GL_NV_fog_distance = true;
20098     const char* ext = "GL_NV_fog_distance";
20099 
20100     char cfgkey[26 + 18 + 1];
20101     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20102     
20103     CS_GL_NV_fog_distance = (strstr (extstrGL, ext) != 0);
20104 
20105     bool allclear, funcTest;
20106     (void)funcTest; // shut up "variable unused" warnings
20107     bool init = CS_GL_NV_fog_distance;
20108     allclear = true;
20109     if (init)   // Don't check the functions if ext isn't reported anyway
20110     {
20111 
20112       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fog_distance)
20113     }
20114     else
20115     {
20116       Report (msgExtNotFound, "GL", ext);
20117     }
20118   }
20119   
20122   void InitGL_NV_light_max_exponent ()
20123   {
20124     if (tested_CS_GL_NV_light_max_exponent) return;
20125     if (!extstrGL) return;
20126     tested_CS_GL_NV_light_max_exponent = true;
20127     const char* ext = "GL_NV_light_max_exponent";
20128 
20129     char cfgkey[26 + 24 + 1];
20130     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20131     
20132     CS_GL_NV_light_max_exponent = (strstr (extstrGL, ext) != 0);
20133 
20134     bool allclear, funcTest;
20135     (void)funcTest; // shut up "variable unused" warnings
20136     bool init = CS_GL_NV_light_max_exponent;
20137     allclear = true;
20138     if (init)   // Don't check the functions if ext isn't reported anyway
20139     {
20140 
20141       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_light_max_exponent)
20142     }
20143     else
20144     {
20145       Report (msgExtNotFound, "GL", ext);
20146     }
20147   }
20148   
20151   void InitGL_NV_multisample_filter_hint ()
20152   {
20153     if (tested_CS_GL_NV_multisample_filter_hint) return;
20154     if (!extstrGL) return;
20155     tested_CS_GL_NV_multisample_filter_hint = true;
20156     const char* ext = "GL_NV_multisample_filter_hint";
20157 
20158     char cfgkey[26 + 29 + 1];
20159     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20160     
20161     CS_GL_NV_multisample_filter_hint = (strstr (extstrGL, ext) != 0);
20162 
20163     bool allclear, funcTest;
20164     (void)funcTest; // shut up "variable unused" warnings
20165     bool init = CS_GL_NV_multisample_filter_hint;
20166     allclear = true;
20167     if (init)   // Don't check the functions if ext isn't reported anyway
20168     {
20169 
20170       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_multisample_filter_hint)
20171     }
20172     else
20173     {
20174       Report (msgExtNotFound, "GL", ext);
20175     }
20176   }
20177   
20180   void InitGL_NV_occlusion_query ()
20181   {
20182     if (tested_CS_GL_NV_occlusion_query) return;
20183     if (!extstrGL) return;
20184     tested_CS_GL_NV_occlusion_query = true;
20185     const char* ext = "GL_NV_occlusion_query";
20186 
20187     char cfgkey[26 + 21 + 1];
20188     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20189     
20190     CS_GL_NV_occlusion_query = (strstr (extstrGL, ext) != 0);
20191 
20192     bool allclear, funcTest;
20193     (void)funcTest; // shut up "variable unused" warnings
20194     bool init = CS_GL_NV_occlusion_query;
20195     allclear = true;
20196     if (init)   // Don't check the functions if ext isn't reported anyway
20197     {
20198       EXTMGR_FUNC_INIT(glGenOcclusionQueriesNV, GLGENOCCLUSIONQUERIESNV);
20199       EXTMGR_FUNC_INIT(glDeleteOcclusionQueriesNV, GLDELETEOCCLUSIONQUERIESNV);
20200       EXTMGR_FUNC_INIT(glIsOcclusionQueryNV, GLISOCCLUSIONQUERYNV);
20201       EXTMGR_FUNC_INIT(glBeginOcclusionQueryNV, GLBEGINOCCLUSIONQUERYNV);
20202       EXTMGR_FUNC_INIT(glEndOcclusionQueryNV, GLENDOCCLUSIONQUERYNV);
20203       EXTMGR_FUNC_INIT(glGetOcclusionQueryivNV, GLGETOCCLUSIONQUERYIVNV);
20204       EXTMGR_FUNC_INIT(glGetOcclusionQueryuivNV, GLGETOCCLUSIONQUERYUIVNV);
20205 
20206       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_occlusion_query)
20207     }
20208     else
20209     {
20210       Report (msgExtNotFound, "GL", ext);
20211     }
20212   }
20213   
20216   void InitGL_NV_packed_depth_stencil ()
20217   {
20218     if (tested_CS_GL_NV_packed_depth_stencil) return;
20219     if (!extstrGL) return;
20220     tested_CS_GL_NV_packed_depth_stencil = true;
20221     const char* ext = "GL_NV_packed_depth_stencil";
20222 
20223     char cfgkey[26 + 26 + 1];
20224     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20225     
20226     CS_GL_NV_packed_depth_stencil = (strstr (extstrGL, ext) != 0);
20227 
20228     bool allclear, funcTest;
20229     (void)funcTest; // shut up "variable unused" warnings
20230     bool init = CS_GL_NV_packed_depth_stencil;
20231     allclear = true;
20232     if (init)   // Don't check the functions if ext isn't reported anyway
20233     {
20234 
20235       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_packed_depth_stencil)
20236     }
20237     else
20238     {
20239       Report (msgExtNotFound, "GL", ext);
20240     }
20241   }
20242   
20245   void InitGL_NV_point_sprite ()
20246   {
20247     if (tested_CS_GL_NV_point_sprite) return;
20248     if (!extstrGL) return;
20249     tested_CS_GL_NV_point_sprite = true;
20250     const char* ext = "GL_NV_point_sprite";
20251 
20252     char cfgkey[26 + 18 + 1];
20253     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20254     
20255     CS_GL_NV_point_sprite = (strstr (extstrGL, ext) != 0);
20256 
20257     bool allclear, funcTest;
20258     (void)funcTest; // shut up "variable unused" warnings
20259     bool init = CS_GL_NV_point_sprite;
20260     allclear = true;
20261     if (init)   // Don't check the functions if ext isn't reported anyway
20262     {
20263       EXTMGR_FUNC_INIT(glPointParameteriNV, GLPOINTPARAMETERINV);
20264       EXTMGR_FUNC_INIT(glPointParameterivNV, GLPOINTPARAMETERIVNV);
20265 
20266       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_point_sprite)
20267     }
20268     else
20269     {
20270       Report (msgExtNotFound, "GL", ext);
20271     }
20272   }
20273   
20276   void InitGL_NV_register_combiners ()
20277   {
20278     if (tested_CS_GL_NV_register_combiners) return;
20279     if (!extstrGL) return;
20280     tested_CS_GL_NV_register_combiners = true;
20281     const char* ext = "GL_NV_register_combiners";
20282 
20283     char cfgkey[26 + 24 + 1];
20284     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20285     
20286     CS_GL_NV_register_combiners = (strstr (extstrGL, ext) != 0);
20287 
20288     bool allclear, funcTest;
20289     (void)funcTest; // shut up "variable unused" warnings
20290     bool init = CS_GL_NV_register_combiners;
20291     allclear = true;
20292     if (init)   // Don't check the functions if ext isn't reported anyway
20293     {
20294       EXTMGR_FUNC_INIT(glCombinerParameterfvNV, GLCOMBINERPARAMETERFVNV);
20295       EXTMGR_FUNC_INIT(glCombinerParameterivNV, GLCOMBINERPARAMETERIVNV);
20296       EXTMGR_FUNC_INIT(glCombinerParameterfNV, GLCOMBINERPARAMETERFNV);
20297       EXTMGR_FUNC_INIT(glCombinerParameteriNV, GLCOMBINERPARAMETERINV);
20298       EXTMGR_FUNC_INIT(glCombinerInputNV, GLCOMBINERINPUTNV);
20299       EXTMGR_FUNC_INIT(glCombinerOutputNV, GLCOMBINEROUTPUTNV);
20300       EXTMGR_FUNC_INIT(glFinalCombinerInputNV, GLFINALCOMBINERINPUTNV);
20301       EXTMGR_FUNC_INIT(glGetCombinerInputParameterfvNV, GLGETCOMBINERINPUTPARAMETERFVNV);
20302       EXTMGR_FUNC_INIT(glGetCombinerInputParameterivNV, GLGETCOMBINERINPUTPARAMETERIVNV);
20303       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterfvNV, GLGETCOMBINEROUTPUTPARAMETERFVNV);
20304       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterivNV, GLGETCOMBINEROUTPUTPARAMETERIVNV);
20305       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterfvNV, GLGETFINALCOMBINERINPUTPARAMETERFVNV);
20306       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterivNV, GLGETFINALCOMBINERINPUTPARAMETERIVNV);
20307 
20308       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners)
20309     }
20310     else
20311     {
20312       Report (msgExtNotFound, "GL", ext);
20313     }
20314   }
20315   
20318   void InitGL_NV_register_combiners2 ()
20319   {
20320     if (tested_CS_GL_NV_register_combiners2) return;
20321     if (!extstrGL) return;
20322     tested_CS_GL_NV_register_combiners2 = true;
20323     const char* ext = "GL_NV_register_combiners2";
20324 
20325     char cfgkey[26 + 25 + 1];
20326     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20327     
20328     CS_GL_NV_register_combiners2 = (strstr (extstrGL, ext) != 0);
20329 
20330     bool allclear, funcTest;
20331     (void)funcTest; // shut up "variable unused" warnings
20332     bool init = CS_GL_NV_register_combiners2;
20333     allclear = true;
20334     if (init)   // Don't check the functions if ext isn't reported anyway
20335     {
20336       EXTMGR_FUNC_INIT(glCombinerStageParameterfvNV, GLCOMBINERSTAGEPARAMETERFVNV);
20337       EXTMGR_FUNC_INIT(glGetCombinerStageParameterfvNV, GLGETCOMBINERSTAGEPARAMETERFVNV);
20338 
20339       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners2)
20340     }
20341     else
20342     {
20343       Report (msgExtNotFound, "GL", ext);
20344     }
20345   }
20346   
20349   void InitGL_NV_texgen_emboss ()
20350   {
20351     if (tested_CS_GL_NV_texgen_emboss) return;
20352     if (!extstrGL) return;
20353     tested_CS_GL_NV_texgen_emboss = true;
20354     const char* ext = "GL_NV_texgen_emboss";
20355 
20356     char cfgkey[26 + 19 + 1];
20357     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20358     
20359     CS_GL_NV_texgen_emboss = (strstr (extstrGL, ext) != 0);
20360 
20361     bool allclear, funcTest;
20362     (void)funcTest; // shut up "variable unused" warnings
20363     bool init = CS_GL_NV_texgen_emboss;
20364     allclear = true;
20365     if (init)   // Don't check the functions if ext isn't reported anyway
20366     {
20367 
20368       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_emboss)
20369     }
20370     else
20371     {
20372       Report (msgExtNotFound, "GL", ext);
20373     }
20374   }
20375   
20378   void InitGL_NV_texgen_reflection ()
20379   {
20380     if (tested_CS_GL_NV_texgen_reflection) return;
20381     if (!extstrGL) return;
20382     tested_CS_GL_NV_texgen_reflection = true;
20383     const char* ext = "GL_NV_texgen_reflection";
20384 
20385     char cfgkey[26 + 23 + 1];
20386     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20387     
20388     CS_GL_NV_texgen_reflection = (strstr (extstrGL, ext) != 0);
20389 
20390     bool allclear, funcTest;
20391     (void)funcTest; // shut up "variable unused" warnings
20392     bool init = CS_GL_NV_texgen_reflection;
20393     allclear = true;
20394     if (init)   // Don't check the functions if ext isn't reported anyway
20395     {
20396 
20397       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_reflection)
20398     }
20399     else
20400     {
20401       Report (msgExtNotFound, "GL", ext);
20402     }
20403   }
20404   
20407   void InitGL_NV_texture_compression_vtc ()
20408   {
20409     if (tested_CS_GL_NV_texture_compression_vtc) return;
20410     if (!extstrGL) return;
20411     tested_CS_GL_NV_texture_compression_vtc = true;
20412     const char* ext = "GL_NV_texture_compression_vtc";
20413 
20414     char cfgkey[26 + 29 + 1];
20415     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20416     
20417     CS_GL_NV_texture_compression_vtc = (strstr (extstrGL, ext) != 0);
20418 
20419     bool allclear, funcTest;
20420     (void)funcTest; // shut up "variable unused" warnings
20421     bool init = CS_GL_NV_texture_compression_vtc;
20422     allclear = true;
20423     if (init)   // Don't check the functions if ext isn't reported anyway
20424     {
20425 
20426       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_compression_vtc)
20427     }
20428     else
20429     {
20430       Report (msgExtNotFound, "GL", ext);
20431     }
20432   }
20433   
20436   void InitGL_NV_texture_env_combine4 ()
20437   {
20438     if (tested_CS_GL_NV_texture_env_combine4) return;
20439     if (!extstrGL) return;
20440     tested_CS_GL_NV_texture_env_combine4 = true;
20441     const char* ext = "GL_NV_texture_env_combine4";
20442 
20443     char cfgkey[26 + 26 + 1];
20444     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20445     
20446     CS_GL_NV_texture_env_combine4 = (strstr (extstrGL, ext) != 0);
20447 
20448     bool allclear, funcTest;
20449     (void)funcTest; // shut up "variable unused" warnings
20450     bool init = CS_GL_NV_texture_env_combine4;
20451     allclear = true;
20452     if (init)   // Don't check the functions if ext isn't reported anyway
20453     {
20454 
20455       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_env_combine4)
20456     }
20457     else
20458     {
20459       Report (msgExtNotFound, "GL", ext);
20460     }
20461   }
20462   
20465   void InitGL_NV_texture_rectangle ()
20466   {
20467     if (tested_CS_GL_NV_texture_rectangle) return;
20468     if (!extstrGL) return;
20469     tested_CS_GL_NV_texture_rectangle = true;
20470     const char* ext = "GL_NV_texture_rectangle";
20471 
20472     char cfgkey[26 + 23 + 1];
20473     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20474     
20475     CS_GL_NV_texture_rectangle = (strstr (extstrGL, ext) != 0);
20476 
20477     bool allclear, funcTest;
20478     (void)funcTest; // shut up "variable unused" warnings
20479     bool init = CS_GL_NV_texture_rectangle;
20480     allclear = true;
20481     if (init)   // Don't check the functions if ext isn't reported anyway
20482     {
20483 
20484       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_rectangle)
20485     }
20486     else
20487     {
20488       Report (msgExtNotFound, "GL", ext);
20489     }
20490   }
20491   
20494   void InitGL_NV_texture_shader ()
20495   {
20496     if (tested_CS_GL_NV_texture_shader) return;
20497     if (!extstrGL) return;
20498     tested_CS_GL_NV_texture_shader = true;
20499     const char* ext = "GL_NV_texture_shader";
20500 
20501     char cfgkey[26 + 20 + 1];
20502     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20503     
20504     CS_GL_NV_texture_shader = (strstr (extstrGL, ext) != 0);
20505 
20506     bool allclear, funcTest;
20507     (void)funcTest; // shut up "variable unused" warnings
20508     bool init = CS_GL_NV_texture_shader;
20509     allclear = true;
20510     if (init)   // Don't check the functions if ext isn't reported anyway
20511     {
20512 
20513       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader)
20514     }
20515     else
20516     {
20517       Report (msgExtNotFound, "GL", ext);
20518     }
20519   }
20520   
20523   void InitGL_NV_texture_shader2 ()
20524   {
20525     if (tested_CS_GL_NV_texture_shader2) return;
20526     if (!extstrGL) return;
20527     tested_CS_GL_NV_texture_shader2 = true;
20528     const char* ext = "GL_NV_texture_shader2";
20529 
20530     char cfgkey[26 + 21 + 1];
20531     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20532     
20533     CS_GL_NV_texture_shader2 = (strstr (extstrGL, ext) != 0);
20534 
20535     bool allclear, funcTest;
20536     (void)funcTest; // shut up "variable unused" warnings
20537     bool init = CS_GL_NV_texture_shader2;
20538     allclear = true;
20539     if (init)   // Don't check the functions if ext isn't reported anyway
20540     {
20541 
20542       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader2)
20543     }
20544     else
20545     {
20546       Report (msgExtNotFound, "GL", ext);
20547     }
20548   }
20549   
20552   void InitGL_NV_texture_shader3 ()
20553   {
20554     if (tested_CS_GL_NV_texture_shader3) return;
20555     if (!extstrGL) return;
20556     tested_CS_GL_NV_texture_shader3 = true;
20557     const char* ext = "GL_NV_texture_shader3";
20558 
20559     char cfgkey[26 + 21 + 1];
20560     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20561     
20562     CS_GL_NV_texture_shader3 = (strstr (extstrGL, ext) != 0);
20563 
20564     bool allclear, funcTest;
20565     (void)funcTest; // shut up "variable unused" warnings
20566     bool init = CS_GL_NV_texture_shader3;
20567     allclear = true;
20568     if (init)   // Don't check the functions if ext isn't reported anyway
20569     {
20570 
20571       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader3)
20572     }
20573     else
20574     {
20575       Report (msgExtNotFound, "GL", ext);
20576     }
20577   }
20578   
20581   void InitGL_NV_vertex_array_range ()
20582   {
20583     if (tested_CS_GL_NV_vertex_array_range) return;
20584     if (!extstrGL) return;
20585     tested_CS_GL_NV_vertex_array_range = true;
20586     const char* ext = "GL_NV_vertex_array_range";
20587 
20588     char cfgkey[26 + 24 + 1];
20589     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20590     
20591     CS_GL_NV_vertex_array_range = (strstr (extstrGL, ext) != 0);
20592 
20593     bool allclear, funcTest;
20594     (void)funcTest; // shut up "variable unused" warnings
20595     bool init = CS_GL_NV_vertex_array_range;
20596     allclear = true;
20597     if (init)   // Don't check the functions if ext isn't reported anyway
20598     {
20599       EXTMGR_FUNC_INIT(glVertexArrayRangeNV, GLVERTEXARRAYRANGENV);
20600       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeNV, GLFLUSHVERTEXARRAYRANGENV);
20601       EXTMGR_FUNC_INIT(wglAllocateMemoryNV, WGLALLOCATEMEMORYNV);
20602       EXTMGR_FUNC_INIT(wglFreeMemoryNV, WGLFREEMEMORYNV);
20603 
20604       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range)
20605     }
20606     else
20607     {
20608       Report (msgExtNotFound, "GL", ext);
20609     }
20610   }
20611   
20614   void InitGL_NV_vertex_array_range2 ()
20615   {
20616     if (tested_CS_GL_NV_vertex_array_range2) return;
20617     if (!extstrGL) return;
20618     tested_CS_GL_NV_vertex_array_range2 = true;
20619     const char* ext = "GL_NV_vertex_array_range2";
20620 
20621     char cfgkey[26 + 25 + 1];
20622     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20623     
20624     CS_GL_NV_vertex_array_range2 = (strstr (extstrGL, ext) != 0);
20625 
20626     bool allclear, funcTest;
20627     (void)funcTest; // shut up "variable unused" warnings
20628     bool init = CS_GL_NV_vertex_array_range2;
20629     allclear = true;
20630     if (init)   // Don't check the functions if ext isn't reported anyway
20631     {
20632 
20633       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range2)
20634     }
20635     else
20636     {
20637       Report (msgExtNotFound, "GL", ext);
20638     }
20639   }
20640   
20643   void InitGL_NV_vertex_program ()
20644   {
20645     if (tested_CS_GL_NV_vertex_program) return;
20646     if (!extstrGL) return;
20647     tested_CS_GL_NV_vertex_program = true;
20648     const char* ext = "GL_NV_vertex_program";
20649 
20650     char cfgkey[26 + 20 + 1];
20651     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20652     
20653     CS_GL_NV_vertex_program = (strstr (extstrGL, ext) != 0);
20654 
20655     bool allclear, funcTest;
20656     (void)funcTest; // shut up "variable unused" warnings
20657     bool init = CS_GL_NV_vertex_program;
20658     allclear = true;
20659     if (init)   // Don't check the functions if ext isn't reported anyway
20660     {
20661       EXTMGR_FUNC_INIT(glBindProgramNV, GLBINDPROGRAMNV);
20662       EXTMGR_FUNC_INIT(glDeleteProgramsNV, GLDELETEPROGRAMSNV);
20663       EXTMGR_FUNC_INIT(glExecuteProgramNV, GLEXECUTEPROGRAMNV);
20664       EXTMGR_FUNC_INIT(glGenProgramsNV, GLGENPROGRAMSNV);
20665       EXTMGR_FUNC_INIT(glAreProgramsResidentNV, GLAREPROGRAMSRESIDENTNV);
20666       EXTMGR_FUNC_INIT(glRequestResidentProgramsNV, GLREQUESTRESIDENTPROGRAMSNV);
20667       EXTMGR_FUNC_INIT(glGetProgramParameterfvNV, GLGETPROGRAMPARAMETERFVNV);
20668       EXTMGR_FUNC_INIT(glGetProgramParameterdvNV, GLGETPROGRAMPARAMETERDVNV);
20669       EXTMGR_FUNC_INIT(glGetProgramivNV, GLGETPROGRAMIVNV);
20670       EXTMGR_FUNC_INIT(glGetProgramStringNV, GLGETPROGRAMSTRINGNV);
20671       EXTMGR_FUNC_INIT(glGetTrackMatrixivNV, GLGETTRACKMATRIXIVNV);
20672       EXTMGR_FUNC_INIT(glGetVertexAttribdvNV, GLGETVERTEXATTRIBDVNV);
20673       EXTMGR_FUNC_INIT(glGetVertexAttribfvNV, GLGETVERTEXATTRIBFVNV);
20674       EXTMGR_FUNC_INIT(glGetVertexAttribivNV, GLGETVERTEXATTRIBIVNV);
20675       EXTMGR_FUNC_INIT(glGetVertexAttribPointervNV, GLGETVERTEXATTRIBPOINTERVNV);
20676       EXTMGR_FUNC_INIT(glIsProgramNV, GLISPROGRAMNV);
20677       EXTMGR_FUNC_INIT(glLoadProgramNV, GLLOADPROGRAMNV);
20678       EXTMGR_FUNC_INIT(glProgramParameter4fNV, GLPROGRAMPARAMETER4FNV);
20679       EXTMGR_FUNC_INIT(glProgramParameter4fvNV, GLPROGRAMPARAMETER4FVNV);
20680       EXTMGR_FUNC_INIT(glProgramParameters4dvNV, GLPROGRAMPARAMETERS4DVNV);
20681       EXTMGR_FUNC_INIT(glProgramParameters4fvNV, GLPROGRAMPARAMETERS4FVNV);
20682       EXTMGR_FUNC_INIT(glTrackMatrixNV, GLTRACKMATRIXNV);
20683       EXTMGR_FUNC_INIT(glVertexAttribPointerNV, GLVERTEXATTRIBPOINTERNV);
20684       EXTMGR_FUNC_INIT(glVertexAttrib1sNV, GLVERTEXATTRIB1SNV);
20685       EXTMGR_FUNC_INIT(glVertexAttrib1fNV, GLVERTEXATTRIB1FNV);
20686       EXTMGR_FUNC_INIT(glVertexAttrib1dNV, GLVERTEXATTRIB1DNV);
20687       EXTMGR_FUNC_INIT(glVertexAttrib2sNV, GLVERTEXATTRIB2SNV);
20688       EXTMGR_FUNC_INIT(glVertexAttrib2fNV, GLVERTEXATTRIB2FNV);
20689       EXTMGR_FUNC_INIT(glVertexAttrib2dNV, GLVERTEXATTRIB2DNV);
20690       EXTMGR_FUNC_INIT(glVertexAttrib3sNV, GLVERTEXATTRIB3SNV);
20691       EXTMGR_FUNC_INIT(glVertexAttrib3fNV, GLVERTEXATTRIB3FNV);
20692       EXTMGR_FUNC_INIT(glVertexAttrib3dNV, GLVERTEXATTRIB3DNV);
20693       EXTMGR_FUNC_INIT(glVertexAttrib4sNV, GLVERTEXATTRIB4SNV);
20694       EXTMGR_FUNC_INIT(glVertexAttrib4fNV, GLVERTEXATTRIB4FNV);
20695       EXTMGR_FUNC_INIT(glVertexAttrib4dNV, GLVERTEXATTRIB4DNV);
20696       EXTMGR_FUNC_INIT(glVertexAttrib4ubNV, GLVERTEXATTRIB4UBNV);
20697       EXTMGR_FUNC_INIT(glVertexAttrib1svNV, GLVERTEXATTRIB1SVNV);
20698       EXTMGR_FUNC_INIT(glVertexAttrib1fvNV, GLVERTEXATTRIB1FVNV);
20699       EXTMGR_FUNC_INIT(glVertexAttrib1dvNV, GLVERTEXATTRIB1DVNV);
20700       EXTMGR_FUNC_INIT(glVertexAttrib2svNV, GLVERTEXATTRIB2SVNV);
20701       EXTMGR_FUNC_INIT(glVertexAttrib2fvNV, GLVERTEXATTRIB2FVNV);
20702       EXTMGR_FUNC_INIT(glVertexAttrib2dvNV, GLVERTEXATTRIB2DVNV);
20703       EXTMGR_FUNC_INIT(glVertexAttrib3svNV, GLVERTEXATTRIB3SVNV);
20704       EXTMGR_FUNC_INIT(glVertexAttrib3fvNV, GLVERTEXATTRIB3FVNV);
20705       EXTMGR_FUNC_INIT(glVertexAttrib3dvNV, GLVERTEXATTRIB3DVNV);
20706       EXTMGR_FUNC_INIT(glVertexAttrib4svNV, GLVERTEXATTRIB4SVNV);
20707       EXTMGR_FUNC_INIT(glVertexAttrib4fvNV, GLVERTEXATTRIB4FVNV);
20708       EXTMGR_FUNC_INIT(glVertexAttrib4dvNV, GLVERTEXATTRIB4DVNV);
20709       EXTMGR_FUNC_INIT(glVertexAttrib4ubvNV, GLVERTEXATTRIB4UBVNV);
20710       EXTMGR_FUNC_INIT(glVertexAttribs1svNV, GLVERTEXATTRIBS1SVNV);
20711       EXTMGR_FUNC_INIT(glVertexAttribs1fvNV, GLVERTEXATTRIBS1FVNV);
20712       EXTMGR_FUNC_INIT(glVertexAttribs1dvNV, GLVERTEXATTRIBS1DVNV);
20713       EXTMGR_FUNC_INIT(glVertexAttribs2svNV, GLVERTEXATTRIBS2SVNV);
20714       EXTMGR_FUNC_INIT(glVertexAttribs2fvNV, GLVERTEXATTRIBS2FVNV);
20715       EXTMGR_FUNC_INIT(glVertexAttribs2dvNV, GLVERTEXATTRIBS2DVNV);
20716       EXTMGR_FUNC_INIT(glVertexAttribs3svNV, GLVERTEXATTRIBS3SVNV);
20717       EXTMGR_FUNC_INIT(glVertexAttribs3fvNV, GLVERTEXATTRIBS3FVNV);
20718       EXTMGR_FUNC_INIT(glVertexAttribs3dvNV, GLVERTEXATTRIBS3DVNV);
20719       EXTMGR_FUNC_INIT(glVertexAttribs4svNV, GLVERTEXATTRIBS4SVNV);
20720       EXTMGR_FUNC_INIT(glVertexAttribs4fvNV, GLVERTEXATTRIBS4FVNV);
20721       EXTMGR_FUNC_INIT(glVertexAttribs4dvNV, GLVERTEXATTRIBS4DVNV);
20722       EXTMGR_FUNC_INIT(glVertexAttribs4ubvNV, GLVERTEXATTRIBS4UBVNV);
20723 
20724       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program)
20725     }
20726     else
20727     {
20728       Report (msgExtNotFound, "GL", ext);
20729     }
20730   }
20731   
20734   void InitGL_NV_vertex_program1_1 ()
20735   {
20736     if (tested_CS_GL_NV_vertex_program1_1) return;
20737     if (!extstrGL) return;
20738     tested_CS_GL_NV_vertex_program1_1 = true;
20739     const char* ext = "GL_NV_vertex_program1_1";
20740 
20741     char cfgkey[26 + 23 + 1];
20742     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20743     
20744     CS_GL_NV_vertex_program1_1 = (strstr (extstrGL, ext) != 0);
20745 
20746     bool allclear, funcTest;
20747     (void)funcTest; // shut up "variable unused" warnings
20748     bool init = CS_GL_NV_vertex_program1_1;
20749     allclear = true;
20750     if (init)   // Don't check the functions if ext isn't reported anyway
20751     {
20752 
20753       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program1_1)
20754     }
20755     else
20756     {
20757       Report (msgExtNotFound, "GL", ext);
20758     }
20759   }
20760   
20763   void InitGL_ATI_element_array ()
20764   {
20765     if (tested_CS_GL_ATI_element_array) return;
20766     if (!extstrGL) return;
20767     tested_CS_GL_ATI_element_array = true;
20768     const char* ext = "GL_ATI_element_array";
20769 
20770     char cfgkey[26 + 20 + 1];
20771     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20772     
20773     CS_GL_ATI_element_array = (strstr (extstrGL, ext) != 0);
20774 
20775     bool allclear, funcTest;
20776     (void)funcTest; // shut up "variable unused" warnings
20777     bool init = CS_GL_ATI_element_array;
20778     allclear = true;
20779     if (init)   // Don't check the functions if ext isn't reported anyway
20780     {
20781       EXTMGR_FUNC_INIT(glElementPointerATI, GLELEMENTPOINTERATI);
20782       EXTMGR_FUNC_INIT(glDrawElementArrayATI, GLDRAWELEMENTARRAYATI);
20783       EXTMGR_FUNC_INIT(glDrawRangeElementArrayATI, GLDRAWRANGEELEMENTARRAYATI);
20784 
20785       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_element_array)
20786     }
20787     else
20788     {
20789       Report (msgExtNotFound, "GL", ext);
20790     }
20791   }
20792   
20795   void InitGL_ATI_envmap_bumpmap ()
20796   {
20797     if (tested_CS_GL_ATI_envmap_bumpmap) return;
20798     if (!extstrGL) return;
20799     tested_CS_GL_ATI_envmap_bumpmap = true;
20800     const char* ext = "GL_ATI_envmap_bumpmap";
20801 
20802     char cfgkey[26 + 21 + 1];
20803     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20804     
20805     CS_GL_ATI_envmap_bumpmap = (strstr (extstrGL, ext) != 0);
20806 
20807     bool allclear, funcTest;
20808     (void)funcTest; // shut up "variable unused" warnings
20809     bool init = CS_GL_ATI_envmap_bumpmap;
20810     allclear = true;
20811     if (init)   // Don't check the functions if ext isn't reported anyway
20812     {
20813       EXTMGR_FUNC_INIT(glTexBumpParameterivATI, GLTEXBUMPPARAMETERIVATI);
20814       EXTMGR_FUNC_INIT(glTexBumpParameterfvATI, GLTEXBUMPPARAMETERFVATI);
20815       EXTMGR_FUNC_INIT(glGetTexBumpParameterivATI, GLGETTEXBUMPPARAMETERIVATI);
20816       EXTMGR_FUNC_INIT(glGetTexBumpParameterfvATI, GLGETTEXBUMPPARAMETERFVATI);
20817 
20818       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_envmap_bumpmap)
20819     }
20820     else
20821     {
20822       Report (msgExtNotFound, "GL", ext);
20823     }
20824   }
20825   
20828   void InitGL_ATI_fragment_shader ()
20829   {
20830     if (tested_CS_GL_ATI_fragment_shader) return;
20831     if (!extstrGL) return;
20832     tested_CS_GL_ATI_fragment_shader = true;
20833     const char* ext = "GL_ATI_fragment_shader";
20834 
20835     char cfgkey[26 + 22 + 1];
20836     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20837     
20838     CS_GL_ATI_fragment_shader = (strstr (extstrGL, ext) != 0);
20839 
20840     bool allclear, funcTest;
20841     (void)funcTest; // shut up "variable unused" warnings
20842     bool init = CS_GL_ATI_fragment_shader;
20843     allclear = true;
20844     if (init)   // Don't check the functions if ext isn't reported anyway
20845     {
20846       EXTMGR_FUNC_INIT(glGenFragmentShadersATI, GLGENFRAGMENTSHADERSATI);
20847       EXTMGR_FUNC_INIT(glBindFragmentShaderATI, GLBINDFRAGMENTSHADERATI);
20848       EXTMGR_FUNC_INIT(glDeleteFragmentShaderATI, GLDELETEFRAGMENTSHADERATI);
20849       EXTMGR_FUNC_INIT(glBeginFragmentShaderATI, GLBEGINFRAGMENTSHADERATI);
20850       EXTMGR_FUNC_INIT(glEndFragmentShaderATI, GLENDFRAGMENTSHADERATI);
20851       EXTMGR_FUNC_INIT(glPassTexCoordATI, GLPASSTEXCOORDATI);
20852       EXTMGR_FUNC_INIT(glSampleMapATI, GLSAMPLEMAPATI);
20853       EXTMGR_FUNC_INIT(glColorFragmentOp1ATI, GLCOLORFRAGMENTOP1ATI);
20854       EXTMGR_FUNC_INIT(glColorFragmentOp2ATI, GLCOLORFRAGMENTOP2ATI);
20855       EXTMGR_FUNC_INIT(glColorFragmentOp3ATI, GLCOLORFRAGMENTOP3ATI);
20856       EXTMGR_FUNC_INIT(glAlphaFragmentOp1ATI, GLALPHAFRAGMENTOP1ATI);
20857       EXTMGR_FUNC_INIT(glAlphaFragmentOp2ATI, GLALPHAFRAGMENTOP2ATI);
20858       EXTMGR_FUNC_INIT(glAlphaFragmentOp3ATI, GLALPHAFRAGMENTOP3ATI);
20859       EXTMGR_FUNC_INIT(glSetFragmentShaderConstantATI, GLSETFRAGMENTSHADERCONSTANTATI);
20860 
20861       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_fragment_shader)
20862     }
20863     else
20864     {
20865       Report (msgExtNotFound, "GL", ext);
20866     }
20867   }
20868   
20871   void InitGL_ATI_pn_triangles ()
20872   {
20873     if (tested_CS_GL_ATI_pn_triangles) return;
20874     if (!extstrGL) return;
20875     tested_CS_GL_ATI_pn_triangles = true;
20876     const char* ext = "GL_ATI_pn_triangles";
20877 
20878     char cfgkey[26 + 19 + 1];
20879     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20880     
20881     CS_GL_ATI_pn_triangles = (strstr (extstrGL, ext) != 0);
20882 
20883     bool allclear, funcTest;
20884     (void)funcTest; // shut up "variable unused" warnings
20885     bool init = CS_GL_ATI_pn_triangles;
20886     allclear = true;
20887     if (init)   // Don't check the functions if ext isn't reported anyway
20888     {
20889       EXTMGR_FUNC_INIT(glPNTrianglesiATI, GLPNTRIANGLESIATI);
20890       EXTMGR_FUNC_INIT(glPNTrianglesfATI, GLPNTRIANGLESFATI);
20891 
20892       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_pn_triangles)
20893     }
20894     else
20895     {
20896       Report (msgExtNotFound, "GL", ext);
20897     }
20898   }
20899   
20902   void InitGL_ATI_texture_mirror_once ()
20903   {
20904     if (tested_CS_GL_ATI_texture_mirror_once) return;
20905     if (!extstrGL) return;
20906     tested_CS_GL_ATI_texture_mirror_once = true;
20907     const char* ext = "GL_ATI_texture_mirror_once";
20908 
20909     char cfgkey[26 + 26 + 1];
20910     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20911     
20912     CS_GL_ATI_texture_mirror_once = (strstr (extstrGL, ext) != 0);
20913 
20914     bool allclear, funcTest;
20915     (void)funcTest; // shut up "variable unused" warnings
20916     bool init = CS_GL_ATI_texture_mirror_once;
20917     allclear = true;
20918     if (init)   // Don't check the functions if ext isn't reported anyway
20919     {
20920 
20921       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_texture_mirror_once)
20922     }
20923     else
20924     {
20925       Report (msgExtNotFound, "GL", ext);
20926     }
20927   }
20928   
20931   void InitGL_ATI_vertex_array_object ()
20932   {
20933     if (tested_CS_GL_ATI_vertex_array_object) return;
20934     if (!extstrGL) return;
20935     tested_CS_GL_ATI_vertex_array_object = true;
20936     const char* ext = "GL_ATI_vertex_array_object";
20937 
20938     char cfgkey[26 + 26 + 1];
20939     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20940     
20941     CS_GL_ATI_vertex_array_object = (strstr (extstrGL, ext) != 0);
20942 
20943     bool allclear, funcTest;
20944     (void)funcTest; // shut up "variable unused" warnings
20945     bool init = CS_GL_ATI_vertex_array_object;
20946     allclear = true;
20947     if (init)   // Don't check the functions if ext isn't reported anyway
20948     {
20949       EXTMGR_FUNC_INIT(glNewObjectBufferATI, GLNEWOBJECTBUFFERATI);
20950       EXTMGR_FUNC_INIT(glIsObjectBufferATI, GLISOBJECTBUFFERATI);
20951       EXTMGR_FUNC_INIT(glUpdateObjectBufferATI, GLUPDATEOBJECTBUFFERATI);
20952       EXTMGR_FUNC_INIT(glGetObjectBufferfvATI, GLGETOBJECTBUFFERFVATI);
20953       EXTMGR_FUNC_INIT(glGetObjectBufferivATI, GLGETOBJECTBUFFERIVATI);
20954       EXTMGR_FUNC_INIT(glFreeObjectBufferATI, GLFREEOBJECTBUFFERATI);
20955       EXTMGR_FUNC_INIT(glArrayObjectATI, GLARRAYOBJECTATI);
20956       EXTMGR_FUNC_INIT(glGetArrayObjectfvATI, GLGETARRAYOBJECTFVATI);
20957       EXTMGR_FUNC_INIT(glGetArrayObjectivATI, GLGETARRAYOBJECTIVATI);
20958       EXTMGR_FUNC_INIT(glVariantArrayObjectATI, GLVARIANTARRAYOBJECTATI);
20959       EXTMGR_FUNC_INIT(glGetVariantArrayObjectfvATI, GLGETVARIANTARRAYOBJECTFVATI);
20960       EXTMGR_FUNC_INIT(glGetVariantArrayObjectivATI, GLGETVARIANTARRAYOBJECTIVATI);
20961 
20962       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_array_object)
20963     }
20964     else
20965     {
20966       Report (msgExtNotFound, "GL", ext);
20967     }
20968   }
20969   
20972   void InitGL_ATI_vertex_attrib_array_object ()
20973   {
20974     if (tested_CS_GL_ATI_vertex_attrib_array_object) return;
20975     if (!extstrGL) return;
20976     tested_CS_GL_ATI_vertex_attrib_array_object = true;
20977     const char* ext = "GL_ATI_vertex_attrib_array_object";
20978 
20979     char cfgkey[26 + 33 + 1];
20980     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20981     
20982     CS_GL_ATI_vertex_attrib_array_object = (strstr (extstrGL, ext) != 0);
20983 
20984     bool allclear, funcTest;
20985     (void)funcTest; // shut up "variable unused" warnings
20986     bool init = CS_GL_ATI_vertex_attrib_array_object;
20987     allclear = true;
20988     if (init)   // Don't check the functions if ext isn't reported anyway
20989     {
20990       EXTMGR_FUNC_INIT(glVertexAttribArrayObjectATI, GLVERTEXATTRIBARRAYOBJECTATI);
20991       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectfvATI, GLGETVERTEXATTRIBARRAYOBJECTFVATI);
20992       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectivATI, GLGETVERTEXATTRIBARRAYOBJECTIVATI);
20993 
20994       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_attrib_array_object)
20995     }
20996     else
20997     {
20998       Report (msgExtNotFound, "GL", ext);
20999     }
21000   }
21001   
21004   void InitGL_ATI_vertex_streams ()
21005   {
21006     if (tested_CS_GL_ATI_vertex_streams) return;
21007     if (!extstrGL) return;
21008     tested_CS_GL_ATI_vertex_streams = true;
21009     const char* ext = "GL_ATI_vertex_streams";
21010 
21011     char cfgkey[26 + 21 + 1];
21012     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21013     
21014     CS_GL_ATI_vertex_streams = (strstr (extstrGL, ext) != 0);
21015 
21016     bool allclear, funcTest;
21017     (void)funcTest; // shut up "variable unused" warnings
21018     bool init = CS_GL_ATI_vertex_streams;
21019     allclear = true;
21020     if (init)   // Don't check the functions if ext isn't reported anyway
21021     {
21022       EXTMGR_FUNC_INIT(glVertexStream1s, GLVERTEXSTREAM1S);
21023       EXTMGR_FUNC_INIT(glVertexStream1i, GLVERTEXSTREAM1I);
21024       EXTMGR_FUNC_INIT(glVertexStream1f, GLVERTEXSTREAM1F);
21025       EXTMGR_FUNC_INIT(glVertexStream1d, GLVERTEXSTREAM1D);
21026       EXTMGR_FUNC_INIT(glVertexStream1sv, GLVERTEXSTREAM1SV);
21027       EXTMGR_FUNC_INIT(glVertexStream1iv, GLVERTEXSTREAM1IV);
21028       EXTMGR_FUNC_INIT(glVertexStream1fv, GLVERTEXSTREAM1FV);
21029       EXTMGR_FUNC_INIT(glVertexStream1dv, GLVERTEXSTREAM1DV);
21030       EXTMGR_FUNC_INIT(glVertexStream2s, GLVERTEXSTREAM2S);
21031       EXTMGR_FUNC_INIT(glVertexStream2i, GLVERTEXSTREAM2I);
21032       EXTMGR_FUNC_INIT(glVertexStream2f, GLVERTEXSTREAM2F);
21033       EXTMGR_FUNC_INIT(glVertexStream2d, GLVERTEXSTREAM2D);
21034       EXTMGR_FUNC_INIT(glVertexStream2sv, GLVERTEXSTREAM2SV);
21035       EXTMGR_FUNC_INIT(glVertexStream2iv, GLVERTEXSTREAM2IV);
21036       EXTMGR_FUNC_INIT(glVertexStream2fv, GLVERTEXSTREAM2FV);
21037       EXTMGR_FUNC_INIT(glVertexStream2dv, GLVERTEXSTREAM2DV);
21038       EXTMGR_FUNC_INIT(glVertexStream3s, GLVERTEXSTREAM3S);
21039       EXTMGR_FUNC_INIT(glVertexStream3i, GLVERTEXSTREAM3I);
21040       EXTMGR_FUNC_INIT(glVertexStream3f, GLVERTEXSTREAM3F);
21041       EXTMGR_FUNC_INIT(glVertexStream3d, GLVERTEXSTREAM3D);
21042       EXTMGR_FUNC_INIT(glVertexStream3sv, GLVERTEXSTREAM3SV);
21043       EXTMGR_FUNC_INIT(glVertexStream3iv, GLVERTEXSTREAM3IV);
21044       EXTMGR_FUNC_INIT(glVertexStream3fv, GLVERTEXSTREAM3FV);
21045       EXTMGR_FUNC_INIT(glVertexStream3dv, GLVERTEXSTREAM3DV);
21046       EXTMGR_FUNC_INIT(glVertexStream4s, GLVERTEXSTREAM4S);
21047       EXTMGR_FUNC_INIT(glVertexStream4i, GLVERTEXSTREAM4I);
21048       EXTMGR_FUNC_INIT(glVertexStream4f, GLVERTEXSTREAM4F);
21049       EXTMGR_FUNC_INIT(glVertexStream4d, GLVERTEXSTREAM4D);
21050       EXTMGR_FUNC_INIT(glVertexStream4sv, GLVERTEXSTREAM4SV);
21051       EXTMGR_FUNC_INIT(glVertexStream4iv, GLVERTEXSTREAM4IV);
21052       EXTMGR_FUNC_INIT(glVertexStream4fv, GLVERTEXSTREAM4FV);
21053       EXTMGR_FUNC_INIT(glVertexStream4dv, GLVERTEXSTREAM4DV);
21054       EXTMGR_FUNC_INIT(glNormalStream3b, GLNORMALSTREAM3B);
21055       EXTMGR_FUNC_INIT(glNormalStream3s, GLNORMALSTREAM3S);
21056       EXTMGR_FUNC_INIT(glNormalStream3i, GLNORMALSTREAM3I);
21057       EXTMGR_FUNC_INIT(glNormalStream3f, GLNORMALSTREAM3F);
21058       EXTMGR_FUNC_INIT(glNormalStream3d, GLNORMALSTREAM3D);
21059       EXTMGR_FUNC_INIT(glNormalStream3bv, GLNORMALSTREAM3BV);
21060       EXTMGR_FUNC_INIT(glNormalStream3sv, GLNORMALSTREAM3SV);
21061       EXTMGR_FUNC_INIT(glNormalStream3iv, GLNORMALSTREAM3IV);
21062       EXTMGR_FUNC_INIT(glNormalStream3fv, GLNORMALSTREAM3FV);
21063       EXTMGR_FUNC_INIT(glNormalStream3dv, GLNORMALSTREAM3DV);
21064       EXTMGR_FUNC_INIT(glClientActiveVertexStream, GLCLIENTACTIVEVERTEXSTREAM);
21065       EXTMGR_FUNC_INIT(glVertexBlendEnvi, GLVERTEXBLENDENVI);
21066       EXTMGR_FUNC_INIT(glVertexBlendEnvf, GLVERTEXBLENDENVF);
21067 
21068       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_streams)
21069     }
21070     else
21071     {
21072       Report (msgExtNotFound, "GL", ext);
21073     }
21074   }
21075   
21076 #ifdef _WIN32
21077 
21079   void InitWGL_I3D_image_buffer (HDC hDC)
21080   {
21081     if (tested_CS_WGL_I3D_image_buffer) return;
21082     tested_CS_WGL_I3D_image_buffer = true;
21083     const char* ext = "WGL_I3D_image_buffer";
21084     char cfgkey[26 + 20 + 1];
21085     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21086     
21087     (void)hDC;      // avoid `unused variable' warning.
21088     SetupWGLextStr (hDC);
21089     if (!extstrWGL) return;
21090     CS_WGL_I3D_image_buffer = (strstr (extstrWGL, ext) != 0);
21091 
21092     bool allclear, funcTest;
21093     (void)funcTest; // avoid `unused variable' warning.
21094     bool init = CS_WGL_I3D_image_buffer;
21095     allclear = true;
21096     if (init)
21097     {
21098       EXTMGR_FUNC_INIT(wglCreateImageBufferI3D, WGLCREATEIMAGEBUFFERI3D);
21099       EXTMGR_FUNC_INIT(wglDestroyImageBufferI3D, WGLDESTROYIMAGEBUFFERI3D);
21100       EXTMGR_FUNC_INIT(wglAssociateImageBufferEventsI3D, WGLASSOCIATEIMAGEBUFFEREVENTSI3D);
21101       EXTMGR_FUNC_INIT(wglReleaseImageBufferEventsI3D, WGLRELEASEIMAGEBUFFEREVENTSI3D);
21102 
21103       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_image_buffer)
21104       CS_WGL_I3D_image_buffer &= allclear;
21105     }
21106     else
21107     {
21108       Report (msgExtNotFound, "WGL", ext);
21109     }
21110   }
21111 #endif
21112 
21113 #ifdef _WIN32
21114 
21116   void InitWGL_I3D_swap_frame_lock (HDC hDC)
21117   {
21118     if (tested_CS_WGL_I3D_swap_frame_lock) return;
21119     tested_CS_WGL_I3D_swap_frame_lock = true;
21120     const char* ext = "WGL_I3D_swap_frame_lock";
21121     char cfgkey[26 + 23 + 1];
21122     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21123     
21124     (void)hDC;      // avoid `unused variable' warning.
21125     SetupWGLextStr (hDC);
21126     if (!extstrWGL) return;
21127     CS_WGL_I3D_swap_frame_lock = (strstr (extstrWGL, ext) != 0);
21128 
21129     bool allclear, funcTest;
21130     (void)funcTest; // avoid `unused variable' warning.
21131     bool init = CS_WGL_I3D_swap_frame_lock;
21132     allclear = true;
21133     if (init)
21134     {
21135       EXTMGR_FUNC_INIT(wglEnableFrameLockI3D, WGLENABLEFRAMELOCKI3D);
21136       EXTMGR_FUNC_INIT(wglDisableFrameLockI3D, WGLDISABLEFRAMELOCKI3D);
21137       EXTMGR_FUNC_INIT(wglIsEnabledFrameLockI3D, WGLISENABLEDFRAMELOCKI3D);
21138       EXTMGR_FUNC_INIT(wglQueryFrameLockMasterI3D, WGLQUERYFRAMELOCKMASTERI3D);
21139 
21140       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_lock)
21141       CS_WGL_I3D_swap_frame_lock &= allclear;
21142     }
21143     else
21144     {
21145       Report (msgExtNotFound, "WGL", ext);
21146     }
21147   }
21148 #endif
21149 
21150 #ifdef _WIN32
21151 
21153   void InitWGL_I3D_swap_frame_usage (HDC hDC)
21154   {
21155     if (tested_CS_WGL_I3D_swap_frame_usage) return;
21156     tested_CS_WGL_I3D_swap_frame_usage = true;
21157     const char* ext = "WGL_I3D_swap_frame_usage";
21158     char cfgkey[26 + 24 + 1];
21159     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21160     
21161     (void)hDC;      // avoid `unused variable' warning.
21162     SetupWGLextStr (hDC);
21163     if (!extstrWGL) return;
21164     CS_WGL_I3D_swap_frame_usage = (strstr (extstrWGL, ext) != 0);
21165 
21166     bool allclear, funcTest;
21167     (void)funcTest; // avoid `unused variable' warning.
21168     bool init = CS_WGL_I3D_swap_frame_usage;
21169     allclear = true;
21170     if (init)
21171     {
21172       EXTMGR_FUNC_INIT(wglGetFrameUsageI3D, WGLGETFRAMEUSAGEI3D);
21173       EXTMGR_FUNC_INIT(wglBeginFrameTrackingI3D, WGLBEGINFRAMETRACKINGI3D);
21174       EXTMGR_FUNC_INIT(wglEndFrameTrackingI3D, WGLENDFRAMETRACKINGI3D);
21175       EXTMGR_FUNC_INIT(wglQueryFrameTrackingI3D, WGLQUERYFRAMETRACKINGI3D);
21176 
21177       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_usage)
21178       CS_WGL_I3D_swap_frame_usage &= allclear;
21179     }
21180     else
21181     {
21182       Report (msgExtNotFound, "WGL", ext);
21183     }
21184   }
21185 #endif
21186 
21189   void InitGL_3DFX_texture_compression_FXT1 ()
21190   {
21191     if (tested_CS_GL_3DFX_texture_compression_FXT1) return;
21192     if (!extstrGL) return;
21193     tested_CS_GL_3DFX_texture_compression_FXT1 = true;
21194     const char* ext = "GL_3DFX_texture_compression_FXT1";
21195 
21196     char cfgkey[26 + 32 + 1];
21197     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21198     
21199     CS_GL_3DFX_texture_compression_FXT1 = (strstr (extstrGL, ext) != 0);
21200 
21201     bool allclear, funcTest;
21202     (void)funcTest; // shut up "variable unused" warnings
21203     bool init = CS_GL_3DFX_texture_compression_FXT1;
21204     allclear = true;
21205     if (init)   // Don't check the functions if ext isn't reported anyway
21206     {
21207 
21208       EXTMGR_REPORT_INIT_RESULT("GL", GL_3DFX_texture_compression_FXT1)
21209     }
21210     else
21211     {
21212       Report (msgExtNotFound, "GL", ext);
21213     }
21214   }
21215   
21218   void InitGL_IBM_cull_vertex ()
21219   {
21220     if (tested_CS_GL_IBM_cull_vertex) return;
21221     if (!extstrGL) return;
21222     tested_CS_GL_IBM_cull_vertex = true;
21223     const char* ext = "GL_IBM_cull_vertex";
21224 
21225     char cfgkey[26 + 18 + 1];
21226     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21227     
21228     CS_GL_IBM_cull_vertex = (strstr (extstrGL, ext) != 0);
21229 
21230     bool allclear, funcTest;
21231     (void)funcTest; // shut up "variable unused" warnings
21232     bool init = CS_GL_IBM_cull_vertex;
21233     allclear = true;
21234     if (init)   // Don't check the functions if ext isn't reported anyway
21235     {
21236 
21237       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_cull_vertex)
21238     }
21239     else
21240     {
21241       Report (msgExtNotFound, "GL", ext);
21242     }
21243   }
21244   
21247   void InitGL_IBM_multimode_draw_arrays ()
21248   {
21249     if (tested_CS_GL_IBM_multimode_draw_arrays) return;
21250     if (!extstrGL) return;
21251     tested_CS_GL_IBM_multimode_draw_arrays = true;
21252     const char* ext = "GL_IBM_multimode_draw_arrays";
21253 
21254     char cfgkey[26 + 28 + 1];
21255     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21256     
21257     CS_GL_IBM_multimode_draw_arrays = (strstr (extstrGL, ext) != 0);
21258 
21259     bool allclear, funcTest;
21260     (void)funcTest; // shut up "variable unused" warnings
21261     bool init = CS_GL_IBM_multimode_draw_arrays;
21262     allclear = true;
21263     if (init)   // Don't check the functions if ext isn't reported anyway
21264     {
21265       EXTMGR_FUNC_INIT(glMultiModeDrawArraysIBM, GLMULTIMODEDRAWARRAYSIBM);
21266       EXTMGR_FUNC_INIT(glMultiModeDrawElementsIBM, GLMULTIMODEDRAWELEMENTSIBM);
21267 
21268       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_multimode_draw_arrays)
21269     }
21270     else
21271     {
21272       Report (msgExtNotFound, "GL", ext);
21273     }
21274   }
21275   
21278   void InitGL_IBM_raster_pos_clip ()
21279   {
21280     if (tested_CS_GL_IBM_raster_pos_clip) return;
21281     if (!extstrGL) return;
21282     tested_CS_GL_IBM_raster_pos_clip = true;
21283     const char* ext = "GL_IBM_raster_pos_clip";
21284 
21285     char cfgkey[26 + 22 + 1];
21286     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21287     
21288     CS_GL_IBM_raster_pos_clip = (strstr (extstrGL, ext) != 0);
21289 
21290     bool allclear, funcTest;
21291     (void)funcTest; // shut up "variable unused" warnings
21292     bool init = CS_GL_IBM_raster_pos_clip;
21293     allclear = true;
21294     if (init)   // Don't check the functions if ext isn't reported anyway
21295     {
21296 
21297       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_raster_pos_clip)
21298     }
21299     else
21300     {
21301       Report (msgExtNotFound, "GL", ext);
21302     }
21303   }
21304   
21307   void InitGL_IBM_texture_mirrored_repeat ()
21308   {
21309     if (tested_CS_GL_IBM_texture_mirrored_repeat) return;
21310     if (!extstrGL) return;
21311     tested_CS_GL_IBM_texture_mirrored_repeat = true;
21312     const char* ext = "GL_IBM_texture_mirrored_repeat";
21313 
21314     char cfgkey[26 + 30 + 1];
21315     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21316     
21317     CS_GL_IBM_texture_mirrored_repeat = (strstr (extstrGL, ext) != 0);
21318 
21319     bool allclear, funcTest;
21320     (void)funcTest; // shut up "variable unused" warnings
21321     bool init = CS_GL_IBM_texture_mirrored_repeat;
21322     allclear = true;
21323     if (init)   // Don't check the functions if ext isn't reported anyway
21324     {
21325 
21326       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_texture_mirrored_repeat)
21327     }
21328     else
21329     {
21330       Report (msgExtNotFound, "GL", ext);
21331     }
21332   }
21333   
21336   void InitGL_IBM_vertex_array_lists ()
21337   {
21338     if (tested_CS_GL_IBM_vertex_array_lists) return;
21339     if (!extstrGL) return;
21340     tested_CS_GL_IBM_vertex_array_lists = true;
21341     const char* ext = "GL_IBM_vertex_array_lists";
21342 
21343     char cfgkey[26 + 25 + 1];
21344     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21345     
21346     CS_GL_IBM_vertex_array_lists = (strstr (extstrGL, ext) != 0);
21347 
21348     bool allclear, funcTest;
21349     (void)funcTest; // shut up "variable unused" warnings
21350     bool init = CS_GL_IBM_vertex_array_lists;
21351     allclear = true;
21352     if (init)   // Don't check the functions if ext isn't reported anyway
21353     {
21354       EXTMGR_FUNC_INIT(glColorPointerListIBM, GLCOLORPOINTERLISTIBM);
21355       EXTMGR_FUNC_INIT(glSecondaryColorPointerListIBM, GLSECONDARYCOLORPOINTERLISTIBM);
21356       EXTMGR_FUNC_INIT(glEdgeFlagPointerListIBM, GLEDGEFLAGPOINTERLISTIBM);
21357       EXTMGR_FUNC_INIT(glFogCoordPointerListIBM, GLFOGCOORDPOINTERLISTIBM);
21358       EXTMGR_FUNC_INIT(glNormalPointerListIBM, GLNORMALPOINTERLISTIBM);
21359       EXTMGR_FUNC_INIT(glTexCoordPointerListIBM, GLTEXCOORDPOINTERLISTIBM);
21360       EXTMGR_FUNC_INIT(glVertexPointerListIBM, GLVERTEXPOINTERLISTIBM);
21361 
21362       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_vertex_array_lists)
21363     }
21364     else
21365     {
21366       Report (msgExtNotFound, "GL", ext);
21367     }
21368   }
21369   
21372   void InitGL_MESA_resize_buffers ()
21373   {
21374     if (tested_CS_GL_MESA_resize_buffers) return;
21375     if (!extstrGL) return;
21376     tested_CS_GL_MESA_resize_buffers = true;
21377     const char* ext = "GL_MESA_resize_buffers";
21378 
21379     char cfgkey[26 + 22 + 1];
21380     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21381     
21382     CS_GL_MESA_resize_buffers = (strstr (extstrGL, ext) != 0);
21383 
21384     bool allclear, funcTest;
21385     (void)funcTest; // shut up "variable unused" warnings
21386     bool init = CS_GL_MESA_resize_buffers;
21387     allclear = true;
21388     if (init)   // Don't check the functions if ext isn't reported anyway
21389     {
21390       EXTMGR_FUNC_INIT(glResizeBuffersMESA, GLRESIZEBUFFERSMESA);
21391 
21392       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_resize_buffers)
21393     }
21394     else
21395     {
21396       Report (msgExtNotFound, "GL", ext);
21397     }
21398   }
21399   
21402   void InitGL_MESA_window_pos ()
21403   {
21404     if (tested_CS_GL_MESA_window_pos) return;
21405     if (!extstrGL) return;
21406     tested_CS_GL_MESA_window_pos = true;
21407     const char* ext = "GL_MESA_window_pos";
21408 
21409     char cfgkey[26 + 18 + 1];
21410     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21411     
21412     CS_GL_MESA_window_pos = (strstr (extstrGL, ext) != 0);
21413 
21414     bool allclear, funcTest;
21415     (void)funcTest; // shut up "variable unused" warnings
21416     bool init = CS_GL_MESA_window_pos;
21417     allclear = true;
21418     if (init)   // Don't check the functions if ext isn't reported anyway
21419     {
21420       EXTMGR_FUNC_INIT(glWindowPos2dMESA, GLWINDOWPOS2DMESA);
21421       EXTMGR_FUNC_INIT(glWindowPos2fMESA, GLWINDOWPOS2FMESA);
21422       EXTMGR_FUNC_INIT(glWindowPos2iMESA, GLWINDOWPOS2IMESA);
21423       EXTMGR_FUNC_INIT(glWindowPos2sMESA, GLWINDOWPOS2SMESA);
21424       EXTMGR_FUNC_INIT(glWindowPos2ivMESA, GLWINDOWPOS2IVMESA);
21425       EXTMGR_FUNC_INIT(glWindowPos2svMESA, GLWINDOWPOS2SVMESA);
21426       EXTMGR_FUNC_INIT(glWindowPos2fvMESA, GLWINDOWPOS2FVMESA);
21427       EXTMGR_FUNC_INIT(glWindowPos2dvMESA, GLWINDOWPOS2DVMESA);
21428       EXTMGR_FUNC_INIT(glWindowPos3iMESA, GLWINDOWPOS3IMESA);
21429       EXTMGR_FUNC_INIT(glWindowPos3sMESA, GLWINDOWPOS3SMESA);
21430       EXTMGR_FUNC_INIT(glWindowPos3fMESA, GLWINDOWPOS3FMESA);
21431       EXTMGR_FUNC_INIT(glWindowPos3dMESA, GLWINDOWPOS3DMESA);
21432       EXTMGR_FUNC_INIT(glWindowPos3ivMESA, GLWINDOWPOS3IVMESA);
21433       EXTMGR_FUNC_INIT(glWindowPos3svMESA, GLWINDOWPOS3SVMESA);
21434       EXTMGR_FUNC_INIT(glWindowPos3fvMESA, GLWINDOWPOS3FVMESA);
21435       EXTMGR_FUNC_INIT(glWindowPos3dvMESA, GLWINDOWPOS3DVMESA);
21436       EXTMGR_FUNC_INIT(glWindowPos4iMESA, GLWINDOWPOS4IMESA);
21437       EXTMGR_FUNC_INIT(glWindowPos4sMESA, GLWINDOWPOS4SMESA);
21438       EXTMGR_FUNC_INIT(glWindowPos4fMESA, GLWINDOWPOS4FMESA);
21439       EXTMGR_FUNC_INIT(glWindowPos4dMESA, GLWINDOWPOS4DMESA);
21440       EXTMGR_FUNC_INIT(glWindowPos4ivMESA, GLWINDOWPOS4IVMESA);
21441       EXTMGR_FUNC_INIT(glWindowPos4svMESA, GLWINDOWPOS4SVMESA);
21442       EXTMGR_FUNC_INIT(glWindowPos4fvMESA, GLWINDOWPOS4FVMESA);
21443       EXTMGR_FUNC_INIT(glWindowPos4dvMESA, GLWINDOWPOS4DVMESA);
21444 
21445       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_window_pos)
21446     }
21447     else
21448     {
21449       Report (msgExtNotFound, "GL", ext);
21450     }
21451   }
21452   
21455   void InitGL_OML_interlace ()
21456   {
21457     if (tested_CS_GL_OML_interlace) return;
21458     if (!extstrGL) return;
21459     tested_CS_GL_OML_interlace = true;
21460     const char* ext = "GL_OML_interlace";
21461 
21462     char cfgkey[26 + 16 + 1];
21463     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21464     
21465     CS_GL_OML_interlace = (strstr (extstrGL, ext) != 0);
21466 
21467     bool allclear, funcTest;
21468     (void)funcTest; // shut up "variable unused" warnings
21469     bool init = CS_GL_OML_interlace;
21470     allclear = true;
21471     if (init)   // Don't check the functions if ext isn't reported anyway
21472     {
21473 
21474       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_interlace)
21475     }
21476     else
21477     {
21478       Report (msgExtNotFound, "GL", ext);
21479     }
21480   }
21481   
21484   void InitGL_OML_resample ()
21485   {
21486     if (tested_CS_GL_OML_resample) return;
21487     if (!extstrGL) return;
21488     tested_CS_GL_OML_resample = true;
21489     const char* ext = "GL_OML_resample";
21490 
21491     char cfgkey[26 + 15 + 1];
21492     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21493     
21494     CS_GL_OML_resample = (strstr (extstrGL, ext) != 0);
21495 
21496     bool allclear, funcTest;
21497     (void)funcTest; // shut up "variable unused" warnings
21498     bool init = CS_GL_OML_resample;
21499     allclear = true;
21500     if (init)   // Don't check the functions if ext isn't reported anyway
21501     {
21502 
21503       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_resample)
21504     }
21505     else
21506     {
21507       Report (msgExtNotFound, "GL", ext);
21508     }
21509   }
21510   
21513   void InitGL_OML_subsample ()
21514   {
21515     if (tested_CS_GL_OML_subsample) return;
21516     if (!extstrGL) return;
21517     tested_CS_GL_OML_subsample = true;
21518     const char* ext = "GL_OML_subsample";
21519 
21520     char cfgkey[26 + 16 + 1];
21521     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21522     
21523     CS_GL_OML_subsample = (strstr (extstrGL, ext) != 0);
21524 
21525     bool allclear, funcTest;
21526     (void)funcTest; // shut up "variable unused" warnings
21527     bool init = CS_GL_OML_subsample;
21528     allclear = true;
21529     if (init)   // Don't check the functions if ext isn't reported anyway
21530     {
21531 
21532       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_subsample)
21533     }
21534     else
21535     {
21536       Report (msgExtNotFound, "GL", ext);
21537     }
21538   }
21539   
21542   void InitGL_SGIS_generate_mipmap ()
21543   {
21544     if (tested_CS_GL_SGIS_generate_mipmap) return;
21545     if (!extstrGL) return;
21546     tested_CS_GL_SGIS_generate_mipmap = true;
21547     const char* ext = "GL_SGIS_generate_mipmap";
21548 
21549     char cfgkey[26 + 23 + 1];
21550     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21551     
21552     CS_GL_SGIS_generate_mipmap = (strstr (extstrGL, ext) != 0);
21553 
21554     bool allclear, funcTest;
21555     (void)funcTest; // shut up "variable unused" warnings
21556     bool init = CS_GL_SGIS_generate_mipmap;
21557     allclear = true;
21558     if (init)   // Don't check the functions if ext isn't reported anyway
21559     {
21560 
21561       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_generate_mipmap)
21562     }
21563     else
21564     {
21565       Report (msgExtNotFound, "GL", ext);
21566     }
21567   }
21568   
21571   void InitGL_SGIS_multisample ()
21572   {
21573     if (tested_CS_GL_SGIS_multisample) return;
21574     if (!extstrGL) return;
21575     tested_CS_GL_SGIS_multisample = true;
21576     const char* ext = "GL_SGIS_multisample";
21577 
21578     char cfgkey[26 + 19 + 1];
21579     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21580     
21581     CS_GL_SGIS_multisample = (strstr (extstrGL, ext) != 0);
21582 
21583     bool allclear, funcTest;
21584     (void)funcTest; // shut up "variable unused" warnings
21585     bool init = CS_GL_SGIS_multisample;
21586     allclear = true;
21587     if (init)   // Don't check the functions if ext isn't reported anyway
21588     {
21589       EXTMGR_FUNC_INIT(glSampleMaskSGIS, GLSAMPLEMASKSGIS);
21590       EXTMGR_FUNC_INIT(glSamplePatternSGIS, GLSAMPLEPATTERNSGIS);
21591 
21592       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_multisample)
21593     }
21594     else
21595     {
21596       Report (msgExtNotFound, "GL", ext);
21597     }
21598   }
21599   
21602   void InitGL_SGIS_pixel_texture ()
21603   {
21604     if (tested_CS_GL_SGIS_pixel_texture) return;
21605     if (!extstrGL) return;
21606     tested_CS_GL_SGIS_pixel_texture = true;
21607     const char* ext = "GL_SGIS_pixel_texture";
21608 
21609     char cfgkey[26 + 21 + 1];
21610     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21611     
21612     CS_GL_SGIS_pixel_texture = (strstr (extstrGL, ext) != 0);
21613 
21614     bool allclear, funcTest;
21615     (void)funcTest; // shut up "variable unused" warnings
21616     bool init = CS_GL_SGIS_pixel_texture;
21617     allclear = true;
21618     if (init)   // Don't check the functions if ext isn't reported anyway
21619     {
21620       EXTMGR_FUNC_INIT(glPixelTexGenParameteriSGIS, GLPIXELTEXGENPARAMETERISGIS);
21621       EXTMGR_FUNC_INIT(glPixelTexGenParameterfSGIS, GLPIXELTEXGENPARAMETERFSGIS);
21622       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterivSGIS, GLGETPIXELTEXGENPARAMETERIVSGIS);
21623       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterfvSGIS, GLGETPIXELTEXGENPARAMETERFVSGIS);
21624 
21625       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_pixel_texture)
21626     }
21627     else
21628     {
21629       Report (msgExtNotFound, "GL", ext);
21630     }
21631   }
21632   
21635   void InitGL_SGIS_texture_border_clamp ()
21636   {
21637     if (tested_CS_GL_SGIS_texture_border_clamp) return;
21638     if (!extstrGL) return;
21639     tested_CS_GL_SGIS_texture_border_clamp = true;
21640     const char* ext = "GL_SGIS_texture_border_clamp";
21641 
21642     char cfgkey[26 + 28 + 1];
21643     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21644     
21645     CS_GL_SGIS_texture_border_clamp = (strstr (extstrGL, ext) != 0);
21646 
21647     bool allclear, funcTest;
21648     (void)funcTest; // shut up "variable unused" warnings
21649     bool init = CS_GL_SGIS_texture_border_clamp;
21650     allclear = true;
21651     if (init)   // Don't check the functions if ext isn't reported anyway
21652     {
21653 
21654       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_border_clamp)
21655     }
21656     else
21657     {
21658       Report (msgExtNotFound, "GL", ext);
21659     }
21660   }
21661   
21664   void InitGL_SGIS_texture_color_mask ()
21665   {
21666     if (tested_CS_GL_SGIS_texture_color_mask) return;
21667     if (!extstrGL) return;
21668     tested_CS_GL_SGIS_texture_color_mask = true;
21669     const char* ext = "GL_SGIS_texture_color_mask";
21670 
21671     char cfgkey[26 + 26 + 1];
21672     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21673     
21674     CS_GL_SGIS_texture_color_mask = (strstr (extstrGL, ext) != 0);
21675 
21676     bool allclear, funcTest;
21677     (void)funcTest; // shut up "variable unused" warnings
21678     bool init = CS_GL_SGIS_texture_color_mask;
21679     allclear = true;
21680     if (init)   // Don't check the functions if ext isn't reported anyway
21681     {
21682       EXTMGR_FUNC_INIT(glTextureColorMaskSGIS, GLTEXTURECOLORMASKSGIS);
21683 
21684       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_color_mask)
21685     }
21686     else
21687     {
21688       Report (msgExtNotFound, "GL", ext);
21689     }
21690   }
21691   
21694   void InitGL_SGIS_texture_edge_clamp ()
21695   {
21696     if (tested_CS_GL_SGIS_texture_edge_clamp) return;
21697     if (!extstrGL) return;
21698     tested_CS_GL_SGIS_texture_edge_clamp = true;
21699     const char* ext = "GL_SGIS_texture_edge_clamp";
21700 
21701     char cfgkey[26 + 26 + 1];
21702     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21703     
21704     CS_GL_SGIS_texture_edge_clamp = (strstr (extstrGL, ext) != 0);
21705 
21706     bool allclear, funcTest;
21707     (void)funcTest; // shut up "variable unused" warnings
21708     bool init = CS_GL_SGIS_texture_edge_clamp;
21709     allclear = true;
21710     if (init)   // Don't check the functions if ext isn't reported anyway
21711     {
21712 
21713       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_edge_clamp)
21714     }
21715     else
21716     {
21717       Report (msgExtNotFound, "GL", ext);
21718     }
21719   }
21720   
21723   void InitGL_SGIS_texture_lod ()
21724   {
21725     if (tested_CS_GL_SGIS_texture_lod) return;
21726     if (!extstrGL) return;
21727     tested_CS_GL_SGIS_texture_lod = true;
21728     const char* ext = "GL_SGIS_texture_lod";
21729 
21730     char cfgkey[26 + 19 + 1];
21731     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21732     
21733     CS_GL_SGIS_texture_lod = (strstr (extstrGL, ext) != 0);
21734 
21735     bool allclear, funcTest;
21736     (void)funcTest; // shut up "variable unused" warnings
21737     bool init = CS_GL_SGIS_texture_lod;
21738     allclear = true;
21739     if (init)   // Don't check the functions if ext isn't reported anyway
21740     {
21741 
21742       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_lod)
21743     }
21744     else
21745     {
21746       Report (msgExtNotFound, "GL", ext);
21747     }
21748   }
21749   
21752   void InitGL_SGIS_depth_texture ()
21753   {
21754     if (tested_CS_GL_SGIS_depth_texture) return;
21755     if (!extstrGL) return;
21756     tested_CS_GL_SGIS_depth_texture = true;
21757     const char* ext = "GL_SGIS_depth_texture";
21758 
21759     char cfgkey[26 + 21 + 1];
21760     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21761     
21762     CS_GL_SGIS_depth_texture = (strstr (extstrGL, ext) != 0);
21763 
21764     bool allclear, funcTest;
21765     (void)funcTest; // shut up "variable unused" warnings
21766     bool init = CS_GL_SGIS_depth_texture;
21767     allclear = true;
21768     if (init)   // Don't check the functions if ext isn't reported anyway
21769     {
21770 
21771       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_depth_texture)
21772     }
21773     else
21774     {
21775       Report (msgExtNotFound, "GL", ext);
21776     }
21777   }
21778   
21781   void InitGL_SGIX_fog_offset ()
21782   {
21783     if (tested_CS_GL_SGIX_fog_offset) return;
21784     if (!extstrGL) return;
21785     tested_CS_GL_SGIX_fog_offset = true;
21786     const char* ext = "GL_SGIX_fog_offset";
21787 
21788     char cfgkey[26 + 18 + 1];
21789     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21790     
21791     CS_GL_SGIX_fog_offset = (strstr (extstrGL, ext) != 0);
21792 
21793     bool allclear, funcTest;
21794     (void)funcTest; // shut up "variable unused" warnings
21795     bool init = CS_GL_SGIX_fog_offset;
21796     allclear = true;
21797     if (init)   // Don't check the functions if ext isn't reported anyway
21798     {
21799 
21800       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_fog_offset)
21801     }
21802     else
21803     {
21804       Report (msgExtNotFound, "GL", ext);
21805     }
21806   }
21807   
21810   void InitGL_SGIX_interlace ()
21811   {
21812     if (tested_CS_GL_SGIX_interlace) return;
21813     if (!extstrGL) return;
21814     tested_CS_GL_SGIX_interlace = true;
21815     const char* ext = "GL_SGIX_interlace";
21816 
21817     char cfgkey[26 + 17 + 1];
21818     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21819     
21820     CS_GL_SGIX_interlace = (strstr (extstrGL, ext) != 0);
21821 
21822     bool allclear, funcTest;
21823     (void)funcTest; // shut up "variable unused" warnings
21824     bool init = CS_GL_SGIX_interlace;
21825     allclear = true;
21826     if (init)   // Don't check the functions if ext isn't reported anyway
21827     {
21828 
21829       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_interlace)
21830     }
21831     else
21832     {
21833       Report (msgExtNotFound, "GL", ext);
21834     }
21835   }
21836   
21839   void InitGL_SGIX_shadow_ambient ()
21840   {
21841     if (tested_CS_GL_SGIX_shadow_ambient) return;
21842     if (!extstrGL) return;
21843     tested_CS_GL_SGIX_shadow_ambient = true;
21844     const char* ext = "GL_SGIX_shadow_ambient";
21845 
21846     char cfgkey[26 + 22 + 1];
21847     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21848     
21849     CS_GL_SGIX_shadow_ambient = (strstr (extstrGL, ext) != 0);
21850 
21851     bool allclear, funcTest;
21852     (void)funcTest; // shut up "variable unused" warnings
21853     bool init = CS_GL_SGIX_shadow_ambient;
21854     allclear = true;
21855     if (init)   // Don't check the functions if ext isn't reported anyway
21856     {
21857 
21858       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_shadow_ambient)
21859     }
21860     else
21861     {
21862       Report (msgExtNotFound, "GL", ext);
21863     }
21864   }
21865   
21868   void InitGL_SGI_color_matrix ()
21869   {
21870     if (tested_CS_GL_SGI_color_matrix) return;
21871     if (!extstrGL) return;
21872     tested_CS_GL_SGI_color_matrix = true;
21873     const char* ext = "GL_SGI_color_matrix";
21874 
21875     char cfgkey[26 + 19 + 1];
21876     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21877     
21878     CS_GL_SGI_color_matrix = (strstr (extstrGL, ext) != 0);
21879 
21880     bool allclear, funcTest;
21881     (void)funcTest; // shut up "variable unused" warnings
21882     bool init = CS_GL_SGI_color_matrix;
21883     allclear = true;
21884     if (init)   // Don't check the functions if ext isn't reported anyway
21885     {
21886 
21887       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_matrix)
21888     }
21889     else
21890     {
21891       Report (msgExtNotFound, "GL", ext);
21892     }
21893   }
21894   
21897   void InitGL_SGI_color_table ()
21898   {
21899     if (tested_CS_GL_SGI_color_table) return;
21900     if (!extstrGL) return;
21901     tested_CS_GL_SGI_color_table = true;
21902     const char* ext = "GL_SGI_color_table";
21903 
21904     char cfgkey[26 + 18 + 1];
21905     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21906     
21907     CS_GL_SGI_color_table = (strstr (extstrGL, ext) != 0);
21908 
21909     bool allclear, funcTest;
21910     (void)funcTest; // shut up "variable unused" warnings
21911     bool init = CS_GL_SGI_color_table;
21912     allclear = true;
21913     if (init)   // Don't check the functions if ext isn't reported anyway
21914     {
21915       EXTMGR_FUNC_INIT(glColorTableSGI, GLCOLORTABLESGI);
21916       EXTMGR_FUNC_INIT(glCopyColorTableSGI, GLCOPYCOLORTABLESGI);
21917       EXTMGR_FUNC_INIT(glColorTableParameterivSGI, GLCOLORTABLEPARAMETERIVSGI);
21918       EXTMGR_FUNC_INIT(glColorTableParameterfvSGI, GLCOLORTABLEPARAMETERFVSGI);
21919       EXTMGR_FUNC_INIT(glGetColorTableSGI, GLGETCOLORTABLESGI);
21920       EXTMGR_FUNC_INIT(glGetColorTableParameterivSGI, GLGETCOLORTABLEPARAMETERIVSGI);
21921       EXTMGR_FUNC_INIT(glGetColorTableParameterfvSGI, GLGETCOLORTABLEPARAMETERFVSGI);
21922 
21923       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_table)
21924     }
21925     else
21926     {
21927       Report (msgExtNotFound, "GL", ext);
21928     }
21929   }
21930   
21933   void InitGL_SGI_texture_color_table ()
21934   {
21935     if (tested_CS_GL_SGI_texture_color_table) return;
21936     if (!extstrGL) return;
21937     tested_CS_GL_SGI_texture_color_table = true;
21938     const char* ext = "GL_SGI_texture_color_table";
21939 
21940     char cfgkey[26 + 26 + 1];
21941     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21942     
21943     CS_GL_SGI_texture_color_table = (strstr (extstrGL, ext) != 0);
21944 
21945     bool allclear, funcTest;
21946     (void)funcTest; // shut up "variable unused" warnings
21947     bool init = CS_GL_SGI_texture_color_table;
21948     allclear = true;
21949     if (init)   // Don't check the functions if ext isn't reported anyway
21950     {
21951 
21952       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_texture_color_table)
21953     }
21954     else
21955     {
21956       Report (msgExtNotFound, "GL", ext);
21957     }
21958   }
21959   
21962   void InitGL_SUN_vertex ()
21963   {
21964     if (tested_CS_GL_SUN_vertex) return;
21965     if (!extstrGL) return;
21966     tested_CS_GL_SUN_vertex = true;
21967     const char* ext = "GL_SUN_vertex";
21968 
21969     char cfgkey[26 + 13 + 1];
21970     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21971     
21972     CS_GL_SUN_vertex = (strstr (extstrGL, ext) != 0);
21973 
21974     bool allclear, funcTest;
21975     (void)funcTest; // shut up "variable unused" warnings
21976     bool init = CS_GL_SUN_vertex;
21977     allclear = true;
21978     if (init)   // Don't check the functions if ext isn't reported anyway
21979     {
21980       EXTMGR_FUNC_INIT(glColor4ubVertex2fSUN, GLCOLOR4UBVERTEX2FSUN);
21981       EXTMGR_FUNC_INIT(glColor4ubVertex2fvSUN, GLCOLOR4UBVERTEX2FVSUN);
21982       EXTMGR_FUNC_INIT(glColor4ubVertex3fSUN, GLCOLOR4UBVERTEX3FSUN);
21983       EXTMGR_FUNC_INIT(glColor4ubVertex3fvSUN, GLCOLOR4UBVERTEX3FVSUN);
21984       EXTMGR_FUNC_INIT(glColor3fVertex3fSUN, GLCOLOR3FVERTEX3FSUN);
21985       EXTMGR_FUNC_INIT(glColor3fVertex3fvSUN, GLCOLOR3FVERTEX3FVSUN);
21986       EXTMGR_FUNC_INIT(glNormal3fVertex3fSUN, GLNORMAL3FVERTEX3FSUN);
21987       EXTMGR_FUNC_INIT(glNormal3fVertex3fvSUN, GLNORMAL3FVERTEX3FVSUN);
21988       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fSUN, GLCOLOR4FNORMAL3FVERTEX3FSUN);
21989       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fvSUN, GLCOLOR4FNORMAL3FVERTEX3FVSUN);
21990       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fSUN, GLTEXCOORD2FVERTEX3FSUN);
21991       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fvSUN, GLTEXCOORD2FVERTEX3FVSUN);
21992       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fSUN, GLTEXCOORD4FVERTEX4FSUN);
21993       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fvSUN, GLTEXCOORD4FVERTEX4FVSUN);
21994       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FSUN);
21995       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fvSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN);
21996       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fSUN, GLTEXCOORD2FCOLOR3FVERTEX3FSUN);
21997       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fvSUN, GLTEXCOORD2FCOLOR3FVERTEX3FVSUN);
21998       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fSUN, GLTEXCOORD2FNORMAL3FVERTEX3FSUN);
21999       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fvSUN, GLTEXCOORD2FNORMAL3FVERTEX3FVSUN);
22000       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
22001       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fvSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
22002       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN);
22003       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fvSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN);
22004       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fSUN, GLREPLACEMENTCODEUIVERTEX3FSUN);
22005       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fvSUN, GLREPLACEMENTCODEUIVERTEX3FVSUN);
22006       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN);
22007       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN);
22008       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN);
22009       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN);
22010       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN);
22011       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fvSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN);
22012       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN);
22013       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN);
22014       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN);
22015       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN);
22016       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN);
22017       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN);
22018       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
22019       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
22020 
22021       EXTMGR_REPORT_INIT_RESULT("GL", GL_SUN_vertex)
22022     }
22023     else
22024     {
22025       Report (msgExtNotFound, "GL", ext);
22026     }
22027   }
22028   
22031   void InitGL_ARB_fragment_program ()
22032   {
22033     if (tested_CS_GL_ARB_fragment_program) return;
22034     if (!extstrGL) return;
22035     tested_CS_GL_ARB_fragment_program = true;
22036     const char* ext = "GL_ARB_fragment_program";
22037 
22038     char cfgkey[26 + 23 + 1];
22039     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22040     
22041     CS_GL_ARB_fragment_program = (strstr (extstrGL, ext) != 0);
22042 
22043     bool allclear, funcTest;
22044     (void)funcTest; // shut up "variable unused" warnings
22045     bool init = CS_GL_ARB_fragment_program;
22046     allclear = true;
22047     if (init)   // Don't check the functions if ext isn't reported anyway
22048     {
22049       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
22050       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
22051       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
22052       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
22053       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
22054       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
22055       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
22056       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
22057       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
22058       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
22059       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
22060       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
22061       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
22062       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
22063       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
22064       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
22065       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
22066       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
22067       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
22068 
22069       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_program)
22070     }
22071     else
22072     {
22073       Report (msgExtNotFound, "GL", ext);
22074     }
22075   }
22076   
22079   void InitGL_ATI_text_fragment_shader ()
22080   {
22081     if (tested_CS_GL_ATI_text_fragment_shader) return;
22082     if (!extstrGL) return;
22083     tested_CS_GL_ATI_text_fragment_shader = true;
22084     const char* ext = "GL_ATI_text_fragment_shader";
22085 
22086     char cfgkey[26 + 27 + 1];
22087     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22088     
22089     CS_GL_ATI_text_fragment_shader = (strstr (extstrGL, ext) != 0);
22090 
22091     bool allclear, funcTest;
22092     (void)funcTest; // shut up "variable unused" warnings
22093     bool init = CS_GL_ATI_text_fragment_shader;
22094     allclear = true;
22095     if (init)   // Don't check the functions if ext isn't reported anyway
22096     {
22097 
22098       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_text_fragment_shader)
22099     }
22100     else
22101     {
22102       Report (msgExtNotFound, "GL", ext);
22103     }
22104   }
22105   
22108   void InitGL_APPLE_client_storage ()
22109   {
22110     if (tested_CS_GL_APPLE_client_storage) return;
22111     if (!extstrGL) return;
22112     tested_CS_GL_APPLE_client_storage = true;
22113     const char* ext = "GL_APPLE_client_storage";
22114 
22115     char cfgkey[26 + 23 + 1];
22116     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22117     
22118     CS_GL_APPLE_client_storage = (strstr (extstrGL, ext) != 0);
22119 
22120     bool allclear, funcTest;
22121     (void)funcTest; // shut up "variable unused" warnings
22122     bool init = CS_GL_APPLE_client_storage;
22123     allclear = true;
22124     if (init)   // Don't check the functions if ext isn't reported anyway
22125     {
22126 
22127       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_client_storage)
22128     }
22129     else
22130     {
22131       Report (msgExtNotFound, "GL", ext);
22132     }
22133   }
22134   
22137   void InitGL_APPLE_element_array ()
22138   {
22139     if (tested_CS_GL_APPLE_element_array) return;
22140     if (!extstrGL) return;
22141     tested_CS_GL_APPLE_element_array = true;
22142     const char* ext = "GL_APPLE_element_array";
22143 
22144     char cfgkey[26 + 22 + 1];
22145     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22146     
22147     CS_GL_APPLE_element_array = (strstr (extstrGL, ext) != 0);
22148 
22149     bool allclear, funcTest;
22150     (void)funcTest; // shut up "variable unused" warnings
22151     bool init = CS_GL_APPLE_element_array;
22152     allclear = true;
22153     if (init)   // Don't check the functions if ext isn't reported anyway
22154     {
22155       EXTMGR_FUNC_INIT(glElementPointerAPPLE, GLELEMENTPOINTERAPPLE);
22156       EXTMGR_FUNC_INIT(glDrawElementArrayAPPLE, GLDRAWELEMENTARRAYAPPLE);
22157       EXTMGR_FUNC_INIT(glDrawRangeElementArrayAPPLE, GLDRAWRANGEELEMENTARRAYAPPLE);
22158       EXTMGR_FUNC_INIT(glMultiDrawElementArrayAPPLE, GLMULTIDRAWELEMENTARRAYAPPLE);
22159       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayAPPLE, GLMULTIDRAWRANGEELEMENTARRAYAPPLE);
22160 
22161       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_element_array)
22162     }
22163     else
22164     {
22165       Report (msgExtNotFound, "GL", ext);
22166     }
22167   }
22168   
22171   void InitGL_APPLE_fence ()
22172   {
22173     if (tested_CS_GL_APPLE_fence) return;
22174     if (!extstrGL) return;
22175     tested_CS_GL_APPLE_fence = true;
22176     const char* ext = "GL_APPLE_fence";
22177 
22178     char cfgkey[26 + 14 + 1];
22179     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22180     
22181     CS_GL_APPLE_fence = (strstr (extstrGL, ext) != 0);
22182 
22183     bool allclear, funcTest;
22184     (void)funcTest; // shut up "variable unused" warnings
22185     bool init = CS_GL_APPLE_fence;
22186     allclear = true;
22187     if (init)   // Don't check the functions if ext isn't reported anyway
22188     {
22189       EXTMGR_FUNC_INIT(glGenFencesAPPLE, GLGENFENCESAPPLE);
22190       EXTMGR_FUNC_INIT(glDeleteFencesAPPLE, GLDELETEFENCESAPPLE);
22191       EXTMGR_FUNC_INIT(glSetFenceAPPLE, GLSETFENCEAPPLE);
22192       EXTMGR_FUNC_INIT(glIsFenceAPPLE, GLISFENCEAPPLE);
22193       EXTMGR_FUNC_INIT(glTestFenceAPPLE, GLTESTFENCEAPPLE);
22194       EXTMGR_FUNC_INIT(glFinishFenceAPPLE, GLFINISHFENCEAPPLE);
22195       EXTMGR_FUNC_INIT(glTestObjectAPPLE, GLTESTOBJECTAPPLE);
22196       EXTMGR_FUNC_INIT(glFinishObjectAPPLE, GLFINISHOBJECTAPPLE);
22197 
22198       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_fence)
22199     }
22200     else
22201     {
22202       Report (msgExtNotFound, "GL", ext);
22203     }
22204   }
22205   
22208   void InitGL_APPLE_vertex_array_object ()
22209   {
22210     if (tested_CS_GL_APPLE_vertex_array_object) return;
22211     if (!extstrGL) return;
22212     tested_CS_GL_APPLE_vertex_array_object = true;
22213     const char* ext = "GL_APPLE_vertex_array_object";
22214 
22215     char cfgkey[26 + 28 + 1];
22216     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22217     
22218     CS_GL_APPLE_vertex_array_object = (strstr (extstrGL, ext) != 0);
22219 
22220     bool allclear, funcTest;
22221     (void)funcTest; // shut up "variable unused" warnings
22222     bool init = CS_GL_APPLE_vertex_array_object;
22223     allclear = true;
22224     if (init)   // Don't check the functions if ext isn't reported anyway
22225     {
22226       EXTMGR_FUNC_INIT(glBindVertexArrayAPPLE, GLBINDVERTEXARRAYAPPLE);
22227       EXTMGR_FUNC_INIT(glDeleteVertexArraysAPPLE, GLDELETEVERTEXARRAYSAPPLE);
22228       EXTMGR_FUNC_INIT(glGenVertexArraysAPPLE, GLGENVERTEXARRAYSAPPLE);
22229       EXTMGR_FUNC_INIT(glIsVertexArrayAPPLE, GLISVERTEXARRAYAPPLE);
22230 
22231       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_object)
22232     }
22233     else
22234     {
22235       Report (msgExtNotFound, "GL", ext);
22236     }
22237   }
22238   
22241   void InitGL_APPLE_vertex_array_range ()
22242   {
22243     if (tested_CS_GL_APPLE_vertex_array_range) return;
22244     if (!extstrGL) return;
22245     tested_CS_GL_APPLE_vertex_array_range = true;
22246     const char* ext = "GL_APPLE_vertex_array_range";
22247 
22248     char cfgkey[26 + 27 + 1];
22249     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22250     
22251     CS_GL_APPLE_vertex_array_range = (strstr (extstrGL, ext) != 0);
22252 
22253     bool allclear, funcTest;
22254     (void)funcTest; // shut up "variable unused" warnings
22255     bool init = CS_GL_APPLE_vertex_array_range;
22256     allclear = true;
22257     if (init)   // Don't check the functions if ext isn't reported anyway
22258     {
22259       EXTMGR_FUNC_INIT(glVertexArrayRangeAPPLE, GLVERTEXARRAYRANGEAPPLE);
22260       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeAPPLE, GLFLUSHVERTEXARRAYRANGEAPPLE);
22261       EXTMGR_FUNC_INIT(glVertexArrayParameteriAPPLE, GLVERTEXARRAYPARAMETERIAPPLE);
22262 
22263       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_range)
22264     }
22265     else
22266     {
22267       Report (msgExtNotFound, "GL", ext);
22268     }
22269   }
22270   
22271 #ifdef _WIN32
22272 
22274   void InitWGL_ARB_pixel_format (HDC hDC)
22275   {
22276     if (tested_CS_WGL_ARB_pixel_format) return;
22277     tested_CS_WGL_ARB_pixel_format = true;
22278     const char* ext = "WGL_ARB_pixel_format";
22279     char cfgkey[26 + 20 + 1];
22280     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22281     
22282     (void)hDC;      // avoid `unused variable' warning.
22283     SetupWGLextStr (hDC);
22284     if (!extstrWGL) return;
22285     CS_WGL_ARB_pixel_format = (strstr (extstrWGL, ext) != 0);
22286 
22287     bool allclear, funcTest;
22288     (void)funcTest; // avoid `unused variable' warning.
22289     bool init = CS_WGL_ARB_pixel_format;
22290     allclear = true;
22291     if (init)
22292     {
22293       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivARB, WGLGETPIXELFORMATATTRIBIVARB);
22294       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvARB, WGLGETPIXELFORMATATTRIBFVARB);
22295       EXTMGR_FUNC_INIT(wglChoosePixelFormatARB, WGLCHOOSEPIXELFORMATARB);
22296 
22297       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pixel_format)
22298       CS_WGL_ARB_pixel_format &= allclear;
22299     }
22300     else
22301     {
22302       Report (msgExtNotFound, "WGL", ext);
22303     }
22304   }
22305 #endif
22306 
22307 #ifdef _WIN32
22308 
22310   void InitWGL_ARB_make_current_read (HDC hDC)
22311   {
22312     if (tested_CS_WGL_ARB_make_current_read) return;
22313     tested_CS_WGL_ARB_make_current_read = true;
22314     const char* ext = "WGL_ARB_make_current_read";
22315     char cfgkey[26 + 25 + 1];
22316     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22317     
22318     (void)hDC;      // avoid `unused variable' warning.
22319     SetupWGLextStr (hDC);
22320     if (!extstrWGL) return;
22321     CS_WGL_ARB_make_current_read = (strstr (extstrWGL, ext) != 0);
22322 
22323     bool allclear, funcTest;
22324     (void)funcTest; // avoid `unused variable' warning.
22325     bool init = CS_WGL_ARB_make_current_read;
22326     allclear = true;
22327     if (init)
22328     {
22329       EXTMGR_FUNC_INIT(wglMakeContextCurrentARB, WGLMAKECONTEXTCURRENTARB);
22330       EXTMGR_FUNC_INIT(wglGetCurrentReadDCARB, WGLGETCURRENTREADDCARB);
22331 
22332       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_make_current_read)
22333       CS_WGL_ARB_make_current_read &= allclear;
22334     }
22335     else
22336     {
22337       Report (msgExtNotFound, "WGL", ext);
22338     }
22339   }
22340 #endif
22341 
22342 #ifdef _WIN32
22343 
22345   void InitWGL_ARB_pbuffer (HDC hDC)
22346   {
22347     if (tested_CS_WGL_ARB_pbuffer) return;
22348     tested_CS_WGL_ARB_pbuffer = true;
22349     const char* ext = "WGL_ARB_pbuffer";
22350     char cfgkey[26 + 15 + 1];
22351     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22352     
22353     (void)hDC;      // avoid `unused variable' warning.
22354     SetupWGLextStr (hDC);
22355     if (!extstrWGL) return;
22356     CS_WGL_ARB_pbuffer = (strstr (extstrWGL, ext) != 0);
22357 
22358     bool allclear, funcTest;
22359     (void)funcTest; // avoid `unused variable' warning.
22360     bool init = CS_WGL_ARB_pbuffer;
22361     allclear = true;
22362     if (init)
22363     {
22364       EXTMGR_FUNC_INIT(wglCreatePbufferARB, WGLCREATEPBUFFERARB);
22365       EXTMGR_FUNC_INIT(wglGetPbufferDCARB, WGLGETPBUFFERDCARB);
22366       EXTMGR_FUNC_INIT(wglReleasePbufferDCARB, WGLRELEASEPBUFFERDCARB);
22367       EXTMGR_FUNC_INIT(wglDestroyPbufferARB, WGLDESTROYPBUFFERARB);
22368       EXTMGR_FUNC_INIT(wglQueryPbufferARB, WGLQUERYPBUFFERARB);
22369 
22370       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pbuffer)
22371       CS_WGL_ARB_pbuffer &= allclear;
22372     }
22373     else
22374     {
22375       Report (msgExtNotFound, "WGL", ext);
22376     }
22377   }
22378 #endif
22379 
22380 #ifdef _WIN32
22381 
22383   void InitWGL_EXT_swap_control (HDC hDC)
22384   {
22385     if (tested_CS_WGL_EXT_swap_control) return;
22386     tested_CS_WGL_EXT_swap_control = true;
22387     const char* ext = "WGL_EXT_swap_control";
22388     char cfgkey[26 + 20 + 1];
22389     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22390     
22391     (void)hDC;      // avoid `unused variable' warning.
22392     SetupWGLextStr (hDC);
22393     if (!extstrWGL) return;
22394     CS_WGL_EXT_swap_control = (strstr (extstrWGL, ext) != 0);
22395 
22396     bool allclear, funcTest;
22397     (void)funcTest; // avoid `unused variable' warning.
22398     bool init = CS_WGL_EXT_swap_control;
22399     allclear = true;
22400     if (init)
22401     {
22402       EXTMGR_FUNC_INIT(wglSwapIntervalEXT, WGLSWAPINTERVALEXT);
22403       EXTMGR_FUNC_INIT(wglGetSwapIntervalEXT, WGLGETSWAPINTERVALEXT);
22404 
22405       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_swap_control)
22406       CS_WGL_EXT_swap_control &= allclear;
22407     }
22408     else
22409     {
22410       Report (msgExtNotFound, "WGL", ext);
22411     }
22412   }
22413 #endif
22414 
22415 #ifdef _WIN32
22416 
22418   void InitWGL_ARB_render_texture (HDC hDC)
22419   {
22420     if (tested_CS_WGL_ARB_render_texture) return;
22421     tested_CS_WGL_ARB_render_texture = true;
22422     const char* ext = "WGL_ARB_render_texture";
22423     char cfgkey[26 + 22 + 1];
22424     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22425     
22426     (void)hDC;      // avoid `unused variable' warning.
22427     SetupWGLextStr (hDC);
22428     if (!extstrWGL) return;
22429     CS_WGL_ARB_render_texture = (strstr (extstrWGL, ext) != 0);
22430 
22431     bool allclear, funcTest;
22432     (void)funcTest; // avoid `unused variable' warning.
22433     bool init = CS_WGL_ARB_render_texture;
22434     allclear = true;
22435     if (init)
22436     {
22437       EXTMGR_FUNC_INIT(wglBindTexImageARB, WGLBINDTEXIMAGEARB);
22438       EXTMGR_FUNC_INIT(wglReleaseTexImageARB, WGLRELEASETEXIMAGEARB);
22439       EXTMGR_FUNC_INIT(wglSetPbufferAttribARB, WGLSETPBUFFERATTRIBARB);
22440 
22441       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_render_texture)
22442       CS_WGL_ARB_render_texture &= allclear;
22443     }
22444     else
22445     {
22446       Report (msgExtNotFound, "WGL", ext);
22447     }
22448   }
22449 #endif
22450 
22451 #ifdef _WIN32
22452 
22454   void InitWGL_EXT_extensions_string (HDC hDC)
22455   {
22456     if (tested_CS_WGL_EXT_extensions_string) return;
22457     tested_CS_WGL_EXT_extensions_string = true;
22458     const char* ext = "WGL_EXT_extensions_string";
22459     char cfgkey[26 + 25 + 1];
22460     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22461     
22462     (void)hDC;      // avoid `unused variable' warning.
22463     SetupWGLextStr (hDC);
22464     if (!extstrWGL) return;
22465     CS_WGL_EXT_extensions_string = (strstr (extstrWGL, ext) != 0);
22466 
22467     bool allclear, funcTest;
22468     (void)funcTest; // avoid `unused variable' warning.
22469     bool init = CS_WGL_EXT_extensions_string;
22470     allclear = true;
22471     if (init)
22472     {
22473       EXTMGR_FUNC_INIT(wglGetExtensionsStringEXT, WGLGETEXTENSIONSSTRINGEXT);
22474 
22475       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_extensions_string)
22476       CS_WGL_EXT_extensions_string &= allclear;
22477     }
22478     else
22479     {
22480       Report (msgExtNotFound, "WGL", ext);
22481     }
22482   }
22483 #endif
22484 
22485 #ifdef _WIN32
22486 
22488   void InitWGL_EXT_make_current_read (HDC hDC)
22489   {
22490     if (tested_CS_WGL_EXT_make_current_read) return;
22491     tested_CS_WGL_EXT_make_current_read = true;
22492     const char* ext = "WGL_EXT_make_current_read";
22493     char cfgkey[26 + 25 + 1];
22494     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22495     
22496     (void)hDC;      // avoid `unused variable' warning.
22497     SetupWGLextStr (hDC);
22498     if (!extstrWGL) return;
22499     CS_WGL_EXT_make_current_read = (strstr (extstrWGL, ext) != 0);
22500 
22501     bool allclear, funcTest;
22502     (void)funcTest; // avoid `unused variable' warning.
22503     bool init = CS_WGL_EXT_make_current_read;
22504     allclear = true;
22505     if (init)
22506     {
22507       EXTMGR_FUNC_INIT(wglMakeContextCurrentEXT, WGLMAKECONTEXTCURRENTEXT);
22508       EXTMGR_FUNC_INIT(wglGetCurrentReadDCEXT, WGLGETCURRENTREADDCEXT);
22509 
22510       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_make_current_read)
22511       CS_WGL_EXT_make_current_read &= allclear;
22512     }
22513     else
22514     {
22515       Report (msgExtNotFound, "WGL", ext);
22516     }
22517   }
22518 #endif
22519 
22520 #ifdef _WIN32
22521 
22523   void InitWGL_EXT_pbuffer (HDC hDC)
22524   {
22525     if (tested_CS_WGL_EXT_pbuffer) return;
22526     tested_CS_WGL_EXT_pbuffer = true;
22527     const char* ext = "WGL_EXT_pbuffer";
22528     char cfgkey[26 + 15 + 1];
22529     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22530     
22531     (void)hDC;      // avoid `unused variable' warning.
22532     SetupWGLextStr (hDC);
22533     if (!extstrWGL) return;
22534     CS_WGL_EXT_pbuffer = (strstr (extstrWGL, ext) != 0);
22535 
22536     bool allclear, funcTest;
22537     (void)funcTest; // avoid `unused variable' warning.
22538     bool init = CS_WGL_EXT_pbuffer;
22539     allclear = true;
22540     if (init)
22541     {
22542       EXTMGR_FUNC_INIT(wglCreatePbufferEXT, WGLCREATEPBUFFEREXT);
22543       EXTMGR_FUNC_INIT(wglGetPbufferDCEXT, WGLGETPBUFFERDCEXT);
22544       EXTMGR_FUNC_INIT(wglReleasePbufferDCEXT, WGLRELEASEPBUFFERDCEXT);
22545       EXTMGR_FUNC_INIT(wglDestroyPbufferEXT, WGLDESTROYPBUFFEREXT);
22546       EXTMGR_FUNC_INIT(wglQueryPbufferEXT, WGLQUERYPBUFFEREXT);
22547 
22548       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pbuffer)
22549       CS_WGL_EXT_pbuffer &= allclear;
22550     }
22551     else
22552     {
22553       Report (msgExtNotFound, "WGL", ext);
22554     }
22555   }
22556 #endif
22557 
22558 #ifdef _WIN32
22559 
22561   void InitWGL_EXT_pixel_format (HDC hDC)
22562   {
22563     if (tested_CS_WGL_EXT_pixel_format) return;
22564     tested_CS_WGL_EXT_pixel_format = true;
22565     const char* ext = "WGL_EXT_pixel_format";
22566     char cfgkey[26 + 20 + 1];
22567     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22568     
22569     (void)hDC;      // avoid `unused variable' warning.
22570     SetupWGLextStr (hDC);
22571     if (!extstrWGL) return;
22572     CS_WGL_EXT_pixel_format = (strstr (extstrWGL, ext) != 0);
22573 
22574     bool allclear, funcTest;
22575     (void)funcTest; // avoid `unused variable' warning.
22576     bool init = CS_WGL_EXT_pixel_format;
22577     allclear = true;
22578     if (init)
22579     {
22580       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivEXT, WGLGETPIXELFORMATATTRIBIVEXT);
22581       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvEXT, WGLGETPIXELFORMATATTRIBFVEXT);
22582       EXTMGR_FUNC_INIT(wglChoosePixelFormatEXT, WGLCHOOSEPIXELFORMATEXT);
22583 
22584       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pixel_format)
22585       CS_WGL_EXT_pixel_format &= allclear;
22586     }
22587     else
22588     {
22589       Report (msgExtNotFound, "WGL", ext);
22590     }
22591   }
22592 #endif
22593 
22594 #ifdef _WIN32
22595 
22597   void InitWGL_I3D_digital_video_control (HDC hDC)
22598   {
22599     if (tested_CS_WGL_I3D_digital_video_control) return;
22600     tested_CS_WGL_I3D_digital_video_control = true;
22601     const char* ext = "WGL_I3D_digital_video_control";
22602     char cfgkey[26 + 29 + 1];
22603     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22604     
22605     (void)hDC;      // avoid `unused variable' warning.
22606     SetupWGLextStr (hDC);
22607     if (!extstrWGL) return;
22608     CS_WGL_I3D_digital_video_control = (strstr (extstrWGL, ext) != 0);
22609 
22610     bool allclear, funcTest;
22611     (void)funcTest; // avoid `unused variable' warning.
22612     bool init = CS_WGL_I3D_digital_video_control;
22613     allclear = true;
22614     if (init)
22615     {
22616       EXTMGR_FUNC_INIT(wglGetDigitalVideoParametersI3D, WGLGETDIGITALVIDEOPARAMETERSI3D);
22617       EXTMGR_FUNC_INIT(wglSetDigitalVideoParametersI3D, WGLSETDIGITALVIDEOPARAMETERSI3D);
22618 
22619       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_digital_video_control)
22620       CS_WGL_I3D_digital_video_control &= allclear;
22621     }
22622     else
22623     {
22624       Report (msgExtNotFound, "WGL", ext);
22625     }
22626   }
22627 #endif
22628 
22629 #ifdef _WIN32
22630 
22632   void InitWGL_I3D_gamma (HDC hDC)
22633   {
22634     if (tested_CS_WGL_I3D_gamma) return;
22635     tested_CS_WGL_I3D_gamma = true;
22636     const char* ext = "WGL_I3D_gamma";
22637     char cfgkey[26 + 13 + 1];
22638     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22639     
22640     (void)hDC;      // avoid `unused variable' warning.
22641     SetupWGLextStr (hDC);
22642     if (!extstrWGL) return;
22643     CS_WGL_I3D_gamma = (strstr (extstrWGL, ext) != 0);
22644 
22645     bool allclear, funcTest;
22646     (void)funcTest; // avoid `unused variable' warning.
22647     bool init = CS_WGL_I3D_gamma;
22648     allclear = true;
22649     if (init)
22650     {
22651       EXTMGR_FUNC_INIT(wglGetGammaTableParametersI3D, WGLGETGAMMATABLEPARAMETERSI3D);
22652       EXTMGR_FUNC_INIT(wglSetGammaTableParametersI3D, WGLSETGAMMATABLEPARAMETERSI3D);
22653       EXTMGR_FUNC_INIT(wglGetGammaTableI3D, WGLGETGAMMATABLEI3D);
22654       EXTMGR_FUNC_INIT(wglSetGammaTableI3D, WGLSETGAMMATABLEI3D);
22655 
22656       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_gamma)
22657       CS_WGL_I3D_gamma &= allclear;
22658     }
22659     else
22660     {
22661       Report (msgExtNotFound, "WGL", ext);
22662     }
22663   }
22664 #endif
22665 
22666 #ifdef _WIN32
22667 
22669   void InitWGL_I3D_genlock (HDC hDC)
22670   {
22671     if (tested_CS_WGL_I3D_genlock) return;
22672     tested_CS_WGL_I3D_genlock = true;
22673     const char* ext = "WGL_I3D_genlock";
22674     char cfgkey[26 + 15 + 1];
22675     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22676     
22677     (void)hDC;      // avoid `unused variable' warning.
22678     SetupWGLextStr (hDC);
22679     if (!extstrWGL) return;
22680     CS_WGL_I3D_genlock = (strstr (extstrWGL, ext) != 0);
22681 
22682     bool allclear, funcTest;
22683     (void)funcTest; // avoid `unused variable' warning.
22684     bool init = CS_WGL_I3D_genlock;
22685     allclear = true;
22686     if (init)
22687     {
22688       EXTMGR_FUNC_INIT(wglEnableGenlockI3D, WGLENABLEGENLOCKI3D);
22689       EXTMGR_FUNC_INIT(wglDisableGenlockI3D, WGLDISABLEGENLOCKI3D);
22690       EXTMGR_FUNC_INIT(wglIsEnabledGenlockI3D, WGLISENABLEDGENLOCKI3D);
22691       EXTMGR_FUNC_INIT(wglGenlockSourceI3D, WGLGENLOCKSOURCEI3D);
22692       EXTMGR_FUNC_INIT(wglGetGenlockSourceI3D, WGLGETGENLOCKSOURCEI3D);
22693       EXTMGR_FUNC_INIT(wglGenlockSourceEdgeI3D, WGLGENLOCKSOURCEEDGEI3D);
22694       EXTMGR_FUNC_INIT(wglGetGenlockSourceEdgeI3D, WGLGETGENLOCKSOURCEEDGEI3D);
22695       EXTMGR_FUNC_INIT(wglGenlockSampleRateI3D, WGLGENLOCKSAMPLERATEI3D);
22696       EXTMGR_FUNC_INIT(wglGetGenlockSampleRateI3D, WGLGETGENLOCKSAMPLERATEI3D);
22697       EXTMGR_FUNC_INIT(wglGenlockSourceDelayI3D, WGLGENLOCKSOURCEDELAYI3D);
22698       EXTMGR_FUNC_INIT(wglGetGenlockSourceDelayI3D, WGLGETGENLOCKSOURCEDELAYI3D);
22699       EXTMGR_FUNC_INIT(wglQueryGenlockMaxSourceDelayI3D, WGLQUERYGENLOCKMAXSOURCEDELAYI3D);
22700 
22701       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_genlock)
22702       CS_WGL_I3D_genlock &= allclear;
22703     }
22704     else
22705     {
22706       Report (msgExtNotFound, "WGL", ext);
22707     }
22708   }
22709 #endif
22710 
22713   void InitGL_ARB_matrix_palette ()
22714   {
22715     if (tested_CS_GL_ARB_matrix_palette) return;
22716     if (!extstrGL) return;
22717     tested_CS_GL_ARB_matrix_palette = true;
22718     const char* ext = "GL_ARB_matrix_palette";
22719 
22720     char cfgkey[26 + 21 + 1];
22721     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22722     
22723     CS_GL_ARB_matrix_palette = (strstr (extstrGL, ext) != 0);
22724 
22725     bool allclear, funcTest;
22726     (void)funcTest; // shut up "variable unused" warnings
22727     bool init = CS_GL_ARB_matrix_palette;
22728     allclear = true;
22729     if (init)   // Don't check the functions if ext isn't reported anyway
22730     {
22731       EXTMGR_FUNC_INIT(glCurrentPaletteMatrixARB, GLCURRENTPALETTEMATRIXARB);
22732       EXTMGR_FUNC_INIT(glMatrixIndexubvARB, GLMATRIXINDEXUBVARB);
22733       EXTMGR_FUNC_INIT(glMatrixIndexusvARB, GLMATRIXINDEXUSVARB);
22734       EXTMGR_FUNC_INIT(glMatrixIndexuivARB, GLMATRIXINDEXUIVARB);
22735       EXTMGR_FUNC_INIT(glMatrixIndexPointerARB, GLMATRIXINDEXPOINTERARB);
22736 
22737       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_matrix_palette)
22738     }
22739     else
22740     {
22741       Report (msgExtNotFound, "GL", ext);
22742     }
22743   }
22744   
22747   void InitGL_NV_element_array ()
22748   {
22749     if (tested_CS_GL_NV_element_array) return;
22750     if (!extstrGL) return;
22751     tested_CS_GL_NV_element_array = true;
22752     const char* ext = "GL_NV_element_array";
22753 
22754     char cfgkey[26 + 19 + 1];
22755     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22756     
22757     CS_GL_NV_element_array = (strstr (extstrGL, ext) != 0);
22758 
22759     bool allclear, funcTest;
22760     (void)funcTest; // shut up "variable unused" warnings
22761     bool init = CS_GL_NV_element_array;
22762     allclear = true;
22763     if (init)   // Don't check the functions if ext isn't reported anyway
22764     {
22765       EXTMGR_FUNC_INIT(glElementPointerNV, GLELEMENTPOINTERNV);
22766       EXTMGR_FUNC_INIT(glDrawElementArrayNV, GLDRAWELEMENTARRAYNV);
22767       EXTMGR_FUNC_INIT(glDrawRangeElementArrayNV, GLDRAWRANGEELEMENTARRAYNV);
22768       EXTMGR_FUNC_INIT(glMultiDrawElementArrayNV, GLMULTIDRAWELEMENTARRAYNV);
22769       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayNV, GLMULTIDRAWRANGEELEMENTARRAYNV);
22770 
22771       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_element_array)
22772     }
22773     else
22774     {
22775       Report (msgExtNotFound, "GL", ext);
22776     }
22777   }
22778   
22781   void InitGL_NV_float_buffer ()
22782   {
22783     if (tested_CS_GL_NV_float_buffer) return;
22784     if (!extstrGL) return;
22785     tested_CS_GL_NV_float_buffer = true;
22786     const char* ext = "GL_NV_float_buffer";
22787 
22788     char cfgkey[26 + 18 + 1];
22789     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22790     
22791     CS_GL_NV_float_buffer = (strstr (extstrGL, ext) != 0);
22792 
22793     bool allclear, funcTest;
22794     (void)funcTest; // shut up "variable unused" warnings
22795     bool init = CS_GL_NV_float_buffer;
22796     allclear = true;
22797     if (init)   // Don't check the functions if ext isn't reported anyway
22798     {
22799 
22800       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_float_buffer)
22801     }
22802     else
22803     {
22804       Report (msgExtNotFound, "GL", ext);
22805     }
22806   }
22807   
22810   void InitGL_NV_fragment_program ()
22811   {
22812     if (tested_CS_GL_NV_fragment_program) return;
22813     if (!extstrGL) return;
22814     tested_CS_GL_NV_fragment_program = true;
22815     const char* ext = "GL_NV_fragment_program";
22816 
22817     char cfgkey[26 + 22 + 1];
22818     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22819     
22820     CS_GL_NV_fragment_program = (strstr (extstrGL, ext) != 0);
22821 
22822     bool allclear, funcTest;
22823     (void)funcTest; // shut up "variable unused" warnings
22824     bool init = CS_GL_NV_fragment_program;
22825     allclear = true;
22826     if (init)   // Don't check the functions if ext isn't reported anyway
22827     {
22828       EXTMGR_FUNC_INIT(glProgramNamedParameter4fNV, GLPROGRAMNAMEDPARAMETER4FNV);
22829       EXTMGR_FUNC_INIT(glProgramNamedParameter4dNV, GLPROGRAMNAMEDPARAMETER4DNV);
22830       EXTMGR_FUNC_INIT(glGetProgramNamedParameterfvNV, GLGETPROGRAMNAMEDPARAMETERFVNV);
22831       EXTMGR_FUNC_INIT(glGetProgramNamedParameterdvNV, GLGETPROGRAMNAMEDPARAMETERDVNV);
22832       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
22833       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
22834       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
22835       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
22836       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
22837       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
22838 
22839       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fragment_program)
22840     }
22841     else
22842     {
22843       Report (msgExtNotFound, "GL", ext);
22844     }
22845   }
22846   
22849   void InitGL_NV_primitive_restart ()
22850   {
22851     if (tested_CS_GL_NV_primitive_restart) return;
22852     if (!extstrGL) return;
22853     tested_CS_GL_NV_primitive_restart = true;
22854     const char* ext = "GL_NV_primitive_restart";
22855 
22856     char cfgkey[26 + 23 + 1];
22857     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22858     
22859     CS_GL_NV_primitive_restart = (strstr (extstrGL, ext) != 0);
22860 
22861     bool allclear, funcTest;
22862     (void)funcTest; // shut up "variable unused" warnings
22863     bool init = CS_GL_NV_primitive_restart;
22864     allclear = true;
22865     if (init)   // Don't check the functions if ext isn't reported anyway
22866     {
22867       EXTMGR_FUNC_INIT(glPrimitiveRestartNV, GLPRIMITIVERESTARTNV);
22868       EXTMGR_FUNC_INIT(glPrimitiveRestartIndexNV, GLPRIMITIVERESTARTINDEXNV);
22869 
22870       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_primitive_restart)
22871     }
22872     else
22873     {
22874       Report (msgExtNotFound, "GL", ext);
22875     }
22876   }
22877   
22880   void InitGL_NV_vertex_program2 ()
22881   {
22882     if (tested_CS_GL_NV_vertex_program2) return;
22883     if (!extstrGL) return;
22884     tested_CS_GL_NV_vertex_program2 = true;
22885     const char* ext = "GL_NV_vertex_program2";
22886 
22887     char cfgkey[26 + 21 + 1];
22888     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22889     
22890     CS_GL_NV_vertex_program2 = (strstr (extstrGL, ext) != 0);
22891 
22892     bool allclear, funcTest;
22893     (void)funcTest; // shut up "variable unused" warnings
22894     bool init = CS_GL_NV_vertex_program2;
22895     allclear = true;
22896     if (init)   // Don't check the functions if ext isn't reported anyway
22897     {
22898 
22899       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program2)
22900     }
22901     else
22902     {
22903       Report (msgExtNotFound, "GL", ext);
22904     }
22905   }
22906   
22909   void InitGL_ARB_vertex_buffer_object ()
22910   {
22911     if (tested_CS_GL_ARB_vertex_buffer_object) return;
22912     if (!extstrGL) return;
22913     tested_CS_GL_ARB_vertex_buffer_object = true;
22914     const char* ext = "GL_ARB_vertex_buffer_object";
22915 
22916     char cfgkey[26 + 27 + 1];
22917     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22918     
22919     CS_GL_ARB_vertex_buffer_object = (strstr (extstrGL, ext) != 0);
22920 
22921     bool allclear, funcTest;
22922     (void)funcTest; // shut up "variable unused" warnings
22923     bool init = CS_GL_ARB_vertex_buffer_object;
22924     allclear = true;
22925     if (init)   // Don't check the functions if ext isn't reported anyway
22926     {
22927       EXTMGR_FUNC_INIT(glBindBufferARB, GLBINDBUFFERARB);
22928       EXTMGR_FUNC_INIT(glDeleteBuffersARB, GLDELETEBUFFERSARB);
22929       EXTMGR_FUNC_INIT(glGenBuffersARB, GLGENBUFFERSARB);
22930       EXTMGR_FUNC_INIT(glBufferDataARB, GLBUFFERDATAARB);
22931       EXTMGR_FUNC_INIT(glBufferSubDataARB, GLBUFFERSUBDATAARB);
22932       EXTMGR_FUNC_INIT(glMapBufferARB, GLMAPBUFFERARB);
22933       EXTMGR_FUNC_INIT(glUnmapBufferARB, GLUNMAPBUFFERARB);
22934       EXTMGR_FUNC_INIT(glIsBufferARB, GLISBUFFERARB);
22935       EXTMGR_FUNC_INIT(glGetBufferSubDataARB, GLGETBUFFERSUBDATAARB);
22936       EXTMGR_FUNC_INIT(glGetBufferPointervARB, GLGETBUFFERPOINTERVARB);
22937       EXTMGR_FUNC_INIT(glGetBufferParameterivARB, GLGETBUFFERPARAMETERIVARB);
22938 
22939       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_buffer_object)
22940     }
22941     else
22942     {
22943       Report (msgExtNotFound, "GL", ext);
22944     }
22945   }
22946   
22949   void InitGL_ATI_separate_stencil ()
22950   {
22951     if (tested_CS_GL_ATI_separate_stencil) return;
22952     if (!extstrGL) return;
22953     tested_CS_GL_ATI_separate_stencil = true;
22954     const char* ext = "GL_ATI_separate_stencil";
22955 
22956     char cfgkey[26 + 23 + 1];
22957     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22958     
22959     CS_GL_ATI_separate_stencil = (strstr (extstrGL, ext) != 0);
22960 
22961     bool allclear, funcTest;
22962     (void)funcTest; // shut up "variable unused" warnings
22963     bool init = CS_GL_ATI_separate_stencil;
22964     allclear = true;
22965     if (init)   // Don't check the functions if ext isn't reported anyway
22966     {
22967       EXTMGR_FUNC_INIT(glStencilOpSeparateATI, GLSTENCILOPSEPARATEATI);
22968       EXTMGR_FUNC_INIT(glStencilFuncSeparateATI, GLSTENCILFUNCSEPARATEATI);
22969 
22970       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_separate_stencil)
22971     }
22972     else
22973     {
22974       Report (msgExtNotFound, "GL", ext);
22975     }
22976   }
22977   
22980   void InitGL_ARB_texture_non_power_of_two ()
22981   {
22982     if (tested_CS_GL_ARB_texture_non_power_of_two) return;
22983     if (!extstrGL) return;
22984     tested_CS_GL_ARB_texture_non_power_of_two = true;
22985     const char* ext = "GL_ARB_texture_non_power_of_two";
22986 
22987     char cfgkey[26 + 31 + 1];
22988     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22989     
22990     CS_GL_ARB_texture_non_power_of_two = (strstr (extstrGL, ext) != 0);
22991 
22992     bool allclear, funcTest;
22993     (void)funcTest; // shut up "variable unused" warnings
22994     bool init = CS_GL_ARB_texture_non_power_of_two;
22995     allclear = true;
22996     if (init)   // Don't check the functions if ext isn't reported anyway
22997     {
22998 
22999       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_non_power_of_two)
23000     }
23001     else
23002     {
23003       Report (msgExtNotFound, "GL", ext);
23004     }
23005   }
23006   
23009   void InitGL_ARB_point_sprite ()
23010   {
23011     if (tested_CS_GL_ARB_point_sprite) return;
23012     if (!extstrGL) return;
23013     tested_CS_GL_ARB_point_sprite = true;
23014     const char* ext = "GL_ARB_point_sprite";
23015 
23016     char cfgkey[26 + 19 + 1];
23017     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23018     
23019     CS_GL_ARB_point_sprite = (strstr (extstrGL, ext) != 0);
23020 
23021     bool allclear, funcTest;
23022     (void)funcTest; // shut up "variable unused" warnings
23023     bool init = CS_GL_ARB_point_sprite;
23024     allclear = true;
23025     if (init)   // Don't check the functions if ext isn't reported anyway
23026     {
23027 
23028       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_sprite)
23029     }
23030     else
23031     {
23032       Report (msgExtNotFound, "GL", ext);
23033     }
23034   }
23035   
23038   void InitGL_ARB_shading_language_100 ()
23039   {
23040     if (tested_CS_GL_ARB_shading_language_100) return;
23041     if (!extstrGL) return;
23042     tested_CS_GL_ARB_shading_language_100 = true;
23043     const char* ext = "GL_ARB_shading_language_100";
23044 
23045     char cfgkey[26 + 27 + 1];
23046     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23047     
23048     CS_GL_ARB_shading_language_100 = (strstr (extstrGL, ext) != 0);
23049 
23050     bool allclear, funcTest;
23051     (void)funcTest; // shut up "variable unused" warnings
23052     bool init = CS_GL_ARB_shading_language_100;
23053     allclear = true;
23054     if (init)   // Don't check the functions if ext isn't reported anyway
23055     {
23056 
23057       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shading_language_100)
23058     }
23059     else
23060     {
23061       Report (msgExtNotFound, "GL", ext);
23062     }
23063   }
23064   
23067   void InitGL_ARB_shader_objects ()
23068   {
23069     if (tested_CS_GL_ARB_shader_objects) return;
23070     if (!extstrGL) return;
23071     tested_CS_GL_ARB_shader_objects = true;
23072     const char* ext = "GL_ARB_shader_objects";
23073 
23074     char cfgkey[26 + 21 + 1];
23075     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23076     
23077     CS_GL_ARB_shader_objects = (strstr (extstrGL, ext) != 0);
23078 
23079     bool allclear, funcTest;
23080     (void)funcTest; // shut up "variable unused" warnings
23081     bool init = CS_GL_ARB_shader_objects;
23082     allclear = true;
23083     if (init)   // Don't check the functions if ext isn't reported anyway
23084     {
23085       EXTMGR_FUNC_INIT(glDeleteObjectARB, GLDELETEOBJECTARB);
23086       EXTMGR_FUNC_INIT(glGetHandleARB, GLGETHANDLEARB);
23087       EXTMGR_FUNC_INIT(glDetachObjectARB, GLDETACHOBJECTARB);
23088       EXTMGR_FUNC_INIT(glCreateShaderObjectARB, GLCREATESHADEROBJECTARB);
23089       EXTMGR_FUNC_INIT(glShaderSourceARB, GLSHADERSOURCEARB);
23090       EXTMGR_FUNC_INIT(glCompileShaderARB, GLCOMPILESHADERARB);
23091       EXTMGR_FUNC_INIT(glCreateProgramObjectARB, GLCREATEPROGRAMOBJECTARB);
23092       EXTMGR_FUNC_INIT(glAttachObjectARB, GLATTACHOBJECTARB);
23093       EXTMGR_FUNC_INIT(glLinkProgramARB, GLLINKPROGRAMARB);
23094       EXTMGR_FUNC_INIT(glUseProgramObjectARB, GLUSEPROGRAMOBJECTARB);
23095       EXTMGR_FUNC_INIT(glValidateProgramARB, GLVALIDATEPROGRAMARB);
23096       EXTMGR_FUNC_INIT(glUniform1fARB, GLUNIFORM1FARB);
23097       EXTMGR_FUNC_INIT(glUniform2fARB, GLUNIFORM2FARB);
23098       EXTMGR_FUNC_INIT(glUniform3fARB, GLUNIFORM3FARB);
23099       EXTMGR_FUNC_INIT(glUniform4fARB, GLUNIFORM4FARB);
23100       EXTMGR_FUNC_INIT(glUniform1iARB, GLUNIFORM1IARB);
23101       EXTMGR_FUNC_INIT(glUniform2iARB, GLUNIFORM2IARB);
23102       EXTMGR_FUNC_INIT(glUniform3iARB, GLUNIFORM3IARB);
23103       EXTMGR_FUNC_INIT(glUniform4iARB, GLUNIFORM4IARB);
23104       EXTMGR_FUNC_INIT(glUniform1fvARB, GLUNIFORM1FVARB);
23105       EXTMGR_FUNC_INIT(glUniform2fvARB, GLUNIFORM2FVARB);
23106       EXTMGR_FUNC_INIT(glUniform3fvARB, GLUNIFORM3FVARB);
23107       EXTMGR_FUNC_INIT(glUniform4fvARB, GLUNIFORM4FVARB);
23108       EXTMGR_FUNC_INIT(glUniform1ivARB, GLUNIFORM1IVARB);
23109       EXTMGR_FUNC_INIT(glUniform2ivARB, GLUNIFORM2IVARB);
23110       EXTMGR_FUNC_INIT(glUniform3ivARB, GLUNIFORM3IVARB);
23111       EXTMGR_FUNC_INIT(glUniform4ivARB, GLUNIFORM4IVARB);
23112       EXTMGR_FUNC_INIT(glUniformMatrix2fvARB, GLUNIFORMMATRIX2FVARB);
23113       EXTMGR_FUNC_INIT(glUniformMatrix3fvARB, GLUNIFORMMATRIX3FVARB);
23114       EXTMGR_FUNC_INIT(glUniformMatrix4fvARB, GLUNIFORMMATRIX4FVARB);
23115       EXTMGR_FUNC_INIT(glGetObjectParameterfvARB, GLGETOBJECTPARAMETERFVARB);
23116       EXTMGR_FUNC_INIT(glGetObjectParameterivARB, GLGETOBJECTPARAMETERIVARB);
23117       EXTMGR_FUNC_INIT(glGetInfoLogARB, GLGETINFOLOGARB);
23118       EXTMGR_FUNC_INIT(glGetAttachedObjectsARB, GLGETATTACHEDOBJECTSARB);
23119       EXTMGR_FUNC_INIT(glGetUniformLocationARB, GLGETUNIFORMLOCATIONARB);
23120       EXTMGR_FUNC_INIT(glGetActiveUniformARB, GLGETACTIVEUNIFORMARB);
23121       EXTMGR_FUNC_INIT(glGetUniformfvARB, GLGETUNIFORMFVARB);
23122       EXTMGR_FUNC_INIT(glGetUniformivARB, GLGETUNIFORMIVARB);
23123       EXTMGR_FUNC_INIT(glGetShaderSourceARB, GLGETSHADERSOURCEARB);
23124 
23125       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shader_objects)
23126     }
23127     else
23128     {
23129       Report (msgExtNotFound, "GL", ext);
23130     }
23131   }
23132   
23135   void InitGL_ARB_fragment_shader ()
23136   {
23137     if (tested_CS_GL_ARB_fragment_shader) return;
23138     if (!extstrGL) return;
23139     tested_CS_GL_ARB_fragment_shader = true;
23140     const char* ext = "GL_ARB_fragment_shader";
23141 
23142     char cfgkey[26 + 22 + 1];
23143     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23144     
23145     CS_GL_ARB_fragment_shader = (strstr (extstrGL, ext) != 0);
23146 
23147     bool allclear, funcTest;
23148     (void)funcTest; // shut up "variable unused" warnings
23149     bool init = CS_GL_ARB_fragment_shader;
23150     allclear = true;
23151     if (init)   // Don't check the functions if ext isn't reported anyway
23152     {
23153 
23154       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_shader)
23155     }
23156     else
23157     {
23158       Report (msgExtNotFound, "GL", ext);
23159     }
23160   }
23161   
23164   void InitGL_ARB_vertex_shader ()
23165   {
23166     if (tested_CS_GL_ARB_vertex_shader) return;
23167     if (!extstrGL) return;
23168     tested_CS_GL_ARB_vertex_shader = true;
23169     const char* ext = "GL_ARB_vertex_shader";
23170 
23171     char cfgkey[26 + 20 + 1];
23172     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23173     
23174     CS_GL_ARB_vertex_shader = (strstr (extstrGL, ext) != 0);
23175 
23176     bool allclear, funcTest;
23177     (void)funcTest; // shut up "variable unused" warnings
23178     bool init = CS_GL_ARB_vertex_shader;
23179     allclear = true;
23180     if (init)   // Don't check the functions if ext isn't reported anyway
23181     {
23182       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
23183       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
23184       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
23185       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
23186       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
23187       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
23188       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
23189       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
23190       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
23191       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
23192       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
23193       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
23194       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
23195       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
23196       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
23197       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
23198       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
23199       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
23200       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
23201       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
23202       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
23203       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
23204       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
23205       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
23206       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
23207       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
23208       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
23209       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
23210       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
23211       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
23212       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
23213       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
23214       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
23215       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
23216       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
23217       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
23218       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
23219       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
23220       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
23221       EXTMGR_FUNC_INIT(glBindAttribLocationARB, GLBINDATTRIBLOCATIONARB);
23222       EXTMGR_FUNC_INIT(glGetActiveAttribARB, GLGETACTIVEATTRIBARB);
23223       EXTMGR_FUNC_INIT(glGetAttribLocationARB, GLGETATTRIBLOCATIONARB);
23224       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
23225 
23226       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_shader)
23227     }
23228     else
23229     {
23230       Report (msgExtNotFound, "GL", ext);
23231     }
23232   }
23233   
23236   void InitGL_ARB_pixel_buffer_object ()
23237   {
23238     if (tested_CS_GL_ARB_pixel_buffer_object) return;
23239     if (!extstrGL) return;
23240     tested_CS_GL_ARB_pixel_buffer_object = true;
23241     const char* ext = "GL_ARB_pixel_buffer_object";
23242     InitGL_ARB_vertex_buffer_object();
23243     if (!CS_GL_ARB_vertex_buffer_object)
23244     {
23245       Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object");
23246       return;
23247     }
23248     char cfgkey[26 + 26 + 1];
23249     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23250     
23251     CS_GL_ARB_pixel_buffer_object = (strstr (extstrGL, ext) != 0);
23252 
23253     bool allclear, funcTest;
23254     (void)funcTest; // shut up "variable unused" warnings
23255     bool init = CS_GL_ARB_pixel_buffer_object;
23256     allclear = true;
23257     if (init)   // Don't check the functions if ext isn't reported anyway
23258     {
23259 
23260       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_pixel_buffer_object)
23261     }
23262     else
23263     {
23264       Report (msgExtNotFound, "GL", ext);
23265     }
23266   }
23267   
23270   void InitGL_ARB_texture_rectangle ()
23271   {
23272     if (tested_CS_GL_ARB_texture_rectangle) return;
23273     if (!extstrGL) return;
23274     tested_CS_GL_ARB_texture_rectangle = true;
23275     const char* ext = "GL_ARB_texture_rectangle";
23276 
23277     char cfgkey[26 + 24 + 1];
23278     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23279     
23280     CS_GL_ARB_texture_rectangle = (strstr (extstrGL, ext) != 0);
23281 
23282     bool allclear, funcTest;
23283     (void)funcTest; // shut up "variable unused" warnings
23284     bool init = CS_GL_ARB_texture_rectangle;
23285     allclear = true;
23286     if (init)   // Don't check the functions if ext isn't reported anyway
23287     {
23288 
23289       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rectangle)
23290     }
23291     else
23292     {
23293       Report (msgExtNotFound, "GL", ext);
23294     }
23295   }
23296   
23299   void InitGL_EXT_framebuffer_object ()
23300   {
23301     if (tested_CS_GL_EXT_framebuffer_object) return;
23302     if (!extstrGL) return;
23303     tested_CS_GL_EXT_framebuffer_object = true;
23304     const char* ext = "GL_EXT_framebuffer_object";
23305 
23306     char cfgkey[26 + 25 + 1];
23307     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23308     
23309     CS_GL_EXT_framebuffer_object = (strstr (extstrGL, ext) != 0);
23310 
23311     bool allclear, funcTest;
23312     (void)funcTest; // shut up "variable unused" warnings
23313     bool init = CS_GL_EXT_framebuffer_object;
23314     allclear = true;
23315     if (init)   // Don't check the functions if ext isn't reported anyway
23316     {
23317       EXTMGR_FUNC_INIT(glIsRenderbufferEXT, GLISRENDERBUFFEREXT);
23318       EXTMGR_FUNC_INIT(glBindRenderbufferEXT, GLBINDRENDERBUFFEREXT);
23319       EXTMGR_FUNC_INIT(glDeleteRenderbuffersEXT, GLDELETERENDERBUFFERSEXT);
23320       EXTMGR_FUNC_INIT(glGenRenderbuffersEXT, GLGENRENDERBUFFERSEXT);
23321       EXTMGR_FUNC_INIT(glRenderbufferStorageEXT, GLRENDERBUFFERSTORAGEEXT);
23322       EXTMGR_FUNC_INIT(glGetRenderbufferParameterivEXT, GLGETRENDERBUFFERPARAMETERIVEXT);
23323       EXTMGR_FUNC_INIT(glIsFramebufferEXT, GLISFRAMEBUFFEREXT);
23324       EXTMGR_FUNC_INIT(glBindFramebufferEXT, GLBINDFRAMEBUFFEREXT);
23325       EXTMGR_FUNC_INIT(glDeleteFramebuffersEXT, GLDELETEFRAMEBUFFERSEXT);
23326       EXTMGR_FUNC_INIT(glGenFramebuffersEXT, GLGENFRAMEBUFFERSEXT);
23327       EXTMGR_FUNC_INIT(glCheckFramebufferStatusEXT, GLCHECKFRAMEBUFFERSTATUSEXT);
23328       EXTMGR_FUNC_INIT(glFramebufferTexture1DEXT, GLFRAMEBUFFERTEXTURE1DEXT);
23329       EXTMGR_FUNC_INIT(glFramebufferTexture2DEXT, GLFRAMEBUFFERTEXTURE2DEXT);
23330       EXTMGR_FUNC_INIT(glFramebufferTexture3DEXT, GLFRAMEBUFFERTEXTURE3DEXT);
23331       EXTMGR_FUNC_INIT(glFramebufferRenderbufferEXT, GLFRAMEBUFFERRENDERBUFFEREXT);
23332       EXTMGR_FUNC_INIT(glGetFramebufferAttachmentParameterivEXT, GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT);
23333       EXTMGR_FUNC_INIT(glGenerateMipmapEXT, GLGENERATEMIPMAPEXT);
23334 
23335       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_framebuffer_object)
23336     }
23337     else
23338     {
23339       Report (msgExtNotFound, "GL", ext);
23340     }
23341   }
23342   
23345   void InitGL_EXT_pixel_buffer_object ()
23346   {
23347     if (tested_CS_GL_EXT_pixel_buffer_object) return;
23348     if (!extstrGL) return;
23349     tested_CS_GL_EXT_pixel_buffer_object = true;
23350     const char* ext = "GL_EXT_pixel_buffer_object";
23351     InitGL_ARB_vertex_buffer_object();
23352     if (!CS_GL_ARB_vertex_buffer_object)
23353     {
23354       Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object");
23355       return;
23356     }
23357     char cfgkey[26 + 26 + 1];
23358     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23359     
23360     CS_GL_EXT_pixel_buffer_object = (strstr (extstrGL, ext) != 0);
23361 
23362     bool allclear, funcTest;
23363     (void)funcTest; // shut up "variable unused" warnings
23364     bool init = CS_GL_EXT_pixel_buffer_object;
23365     allclear = true;
23366     if (init)   // Don't check the functions if ext isn't reported anyway
23367     {
23368 
23369       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_pixel_buffer_object)
23370     }
23371     else
23372     {
23373       Report (msgExtNotFound, "GL", ext);
23374     }
23375   }
23376   
23379   void InitGL_GREMEDY_string_marker ()
23380   {
23381     if (tested_CS_GL_GREMEDY_string_marker) return;
23382     if (!extstrGL) return;
23383     tested_CS_GL_GREMEDY_string_marker = true;
23384     const char* ext = "GL_GREMEDY_string_marker";
23385 
23386     char cfgkey[26 + 24 + 1];
23387     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23388     
23389     CS_GL_GREMEDY_string_marker = (strstr (extstrGL, ext) != 0);
23390 
23391     bool allclear, funcTest;
23392     (void)funcTest; // shut up "variable unused" warnings
23393     bool init = CS_GL_GREMEDY_string_marker;
23394     allclear = true;
23395     if (init)   // Don't check the functions if ext isn't reported anyway
23396     {
23397       EXTMGR_FUNC_INIT(glStringMarkerGREMEDY, GLSTRINGMARKERGREMEDY);
23398 
23399       EXTMGR_REPORT_INIT_RESULT("GL", GL_GREMEDY_string_marker)
23400     }
23401     else
23402     {
23403       Report (msgExtNotFound, "GL", ext);
23404     }
23405   }
23406   
23409   void InitGL_EXT_texture_rectangle ()
23410   {
23411     if (tested_CS_GL_EXT_texture_rectangle) return;
23412     if (!extstrGL) return;
23413     tested_CS_GL_EXT_texture_rectangle = true;
23414     const char* ext = "GL_EXT_texture_rectangle";
23415 
23416     char cfgkey[26 + 24 + 1];
23417     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23418     
23419     CS_GL_EXT_texture_rectangle = (strstr (extstrGL, ext) != 0);
23420 
23421     bool allclear, funcTest;
23422     (void)funcTest; // shut up "variable unused" warnings
23423     bool init = CS_GL_EXT_texture_rectangle;
23424     allclear = true;
23425     if (init)   // Don't check the functions if ext isn't reported anyway
23426     {
23427 
23428       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_rectangle)
23429     }
23430     else
23431     {
23432       Report (msgExtNotFound, "GL", ext);
23433     }
23434   }
23435   
23438   void InitGL_ARB_occlusion_query ()
23439   {
23440     if (tested_CS_GL_ARB_occlusion_query) return;
23441     if (!extstrGL) return;
23442     tested_CS_GL_ARB_occlusion_query = true;
23443     const char* ext = "GL_ARB_occlusion_query";
23444 
23445     char cfgkey[26 + 22 + 1];
23446     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23447     
23448     CS_GL_ARB_occlusion_query = (strstr (extstrGL, ext) != 0);
23449 
23450     bool allclear, funcTest;
23451     (void)funcTest; // shut up "variable unused" warnings
23452     bool init = CS_GL_ARB_occlusion_query;
23453     allclear = true;
23454     if (init)   // Don't check the functions if ext isn't reported anyway
23455     {
23456       EXTMGR_FUNC_INIT(glGenQueriesARB, GLGENQUERIESARB);
23457       EXTMGR_FUNC_INIT(glDeleteQueriesARB, GLDELETEQUERIESARB);
23458       EXTMGR_FUNC_INIT(glIsQueryARB, GLISQUERYARB);
23459       EXTMGR_FUNC_INIT(glBeginQueryARB, GLBEGINQUERYARB);
23460       EXTMGR_FUNC_INIT(glEndQueryARB, GLENDQUERYARB);
23461       EXTMGR_FUNC_INIT(glGetQueryivARB, GLGETQUERYIVARB);
23462       EXTMGR_FUNC_INIT(glGetQueryObjectivARB, GLGETQUERYOBJECTIVARB);
23463       EXTMGR_FUNC_INIT(glGetQueryObjectuivARB, GLGETQUERYOBJECTUIVARB);
23464 
23465       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_occlusion_query)
23466     }
23467     else
23468     {
23469       Report (msgExtNotFound, "GL", ext);
23470     }
23471   }
23472   
23475   void InitGL_ARB_draw_buffers ()
23476   {
23477     if (tested_CS_GL_ARB_draw_buffers) return;
23478     if (!extstrGL) return;
23479     tested_CS_GL_ARB_draw_buffers = true;
23480     const char* ext = "GL_ARB_draw_buffers";
23481 
23482     char cfgkey[26 + 19 + 1];
23483     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23484     
23485     CS_GL_ARB_draw_buffers = (strstr (extstrGL, ext) != 0);
23486 
23487     bool allclear, funcTest;
23488     (void)funcTest; // shut up "variable unused" warnings
23489     bool init = CS_GL_ARB_draw_buffers;
23490     allclear = true;
23491     if (init)   // Don't check the functions if ext isn't reported anyway
23492     {
23493 
23494       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_draw_buffers)
23495     }
23496     else
23497     {
23498       Report (msgExtNotFound, "GL", ext);
23499     }
23500   }
23501   
23504   void InitGL_EXT_blend_equation_separate ()
23505   {
23506     if (tested_CS_GL_EXT_blend_equation_separate) return;
23507     if (!extstrGL) return;
23508     tested_CS_GL_EXT_blend_equation_separate = true;
23509     const char* ext = "GL_EXT_blend_equation_separate";
23510 
23511     char cfgkey[26 + 30 + 1];
23512     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23513     
23514     CS_GL_EXT_blend_equation_separate = (strstr (extstrGL, ext) != 0);
23515 
23516     bool allclear, funcTest;
23517     (void)funcTest; // shut up "variable unused" warnings
23518     bool init = CS_GL_EXT_blend_equation_separate;
23519     allclear = true;
23520     if (init)   // Don't check the functions if ext isn't reported anyway
23521     {
23522       EXTMGR_FUNC_INIT(glBlendEquationSeparateEXT, GLBLENDEQUATIONSEPARATEEXT);
23523 
23524       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_equation_separate)
23525     }
23526     else
23527     {
23528       Report (msgExtNotFound, "GL", ext);
23529     }
23530   }
23531   
23534   void InitGL_EXT_texture_sRGB ()
23535   {
23536     if (tested_CS_GL_EXT_texture_sRGB) return;
23537     if (!extstrGL) return;
23538     tested_CS_GL_EXT_texture_sRGB = true;
23539     const char* ext = "GL_EXT_texture_sRGB";
23540 
23541     char cfgkey[26 + 19 + 1];
23542     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23543     
23544     CS_GL_EXT_texture_sRGB = (strstr (extstrGL, ext) != 0);
23545 
23546     bool allclear, funcTest;
23547     (void)funcTest; // shut up "variable unused" warnings
23548     bool init = CS_GL_EXT_texture_sRGB;
23549     allclear = true;
23550     if (init)   // Don't check the functions if ext isn't reported anyway
23551     {
23552 
23553       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_sRGB)
23554     }
23555     else
23556     {
23557       Report (msgExtNotFound, "GL", ext);
23558     }
23559   }
23560   
23563   void InitGL_EXT_packed_depth_stencil ()
23564   {
23565     if (tested_CS_GL_EXT_packed_depth_stencil) return;
23566     if (!extstrGL) return;
23567     tested_CS_GL_EXT_packed_depth_stencil = true;
23568     const char* ext = "GL_EXT_packed_depth_stencil";
23569 
23570     char cfgkey[26 + 27 + 1];
23571     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23572     
23573     CS_GL_EXT_packed_depth_stencil = (strstr (extstrGL, ext) != 0);
23574 
23575     bool allclear, funcTest;
23576     (void)funcTest; // shut up "variable unused" warnings
23577     bool init = CS_GL_EXT_packed_depth_stencil;
23578     allclear = true;
23579     if (init)   // Don't check the functions if ext isn't reported anyway
23580     {
23581 
23582       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_depth_stencil)
23583     }
23584     else
23585     {
23586       Report (msgExtNotFound, "GL", ext);
23587     }
23588   }
23589   
23590 
23591 };
23592 
23593 #undef REPORT_MISSING_ENTRIES
23594 
23595 #undef EXTMGR_FUNC_INIT
23596 #undef EXTMGR_REPORT_INIT_RESULT
23597 
23598 #endif // __CS_GLEXTENSIONMANAGER_H__
23599 

Generated for Crystal Space by doxygen 1.4.7