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 // Assume that GLX is used on Unix platforms (except OS/X)
00106 #if defined(CS_PLATFORM_UNIX) && !defined(CS_PLATFORM_MACOSX)
00107 #define CS_OPENGL_GLX
00108 /* NOTE: CS_GLEXTMANAGER_USE_GLX must be defined to get the Init*
00109    functions for GLX extensions. (This was done to avoid pulling X
00110    headers into every component using the GL extension manager.) */
00111 #endif
00112 
00113 /*
00114  * End system-specific stuff.
00115  **********************************************************************/
00116 
00117 #ifdef DOXYGEN_RUN
00118 typedef void GLvoid;
00119 typedef int GLint;
00120 typedef uint GLuint;
00121 typedef int GLsizei;
00122 typedef uint GLenum;
00123 typedef float GLfloat;
00124 typedef double GLdouble;
00125 typedef unsigned char GLubyte;
00126 #  define _WIN32
00127 #else
00128 #  if defined(CS_OPENGL_PATH)
00129 #    include CS_HEADER_GLOBAL(CS_OPENGL_PATH,gl.h)
00130 #  else
00131 #    include <GL/gl.h>
00132 #  endif
00133 #endif
00134 
00135 #include "cssysdef.h"
00136 
00137 /*
00138   Appear in the ARB_shader_objects ext spec.
00139  */
00140 #ifndef CS_HAVE_GLCHARARB_T
00141 typedef char GLcharARB;
00142 #endif
00143 #ifndef CS_HAVE_GLHANDLEARB_T
00144 typedef unsigned int GLhandleARB;
00145 #endif
00146 /* Identifiers after promotion to core */
00147 #ifndef CS_HAVE_GLCHAR_T
00148 typedef GLcharARB GLchar;
00149 #endif
00150 /* Newer GL type identifiers */
00151 #ifndef CS_HAVE_GLINTPTR_T
00152 typedef intptr_t GLintptr;
00153 #endif
00154 #ifndef CS_HAVE_GLSIZEIPTR_T
00155 typedef uintptr_t GLsizeiptr;
00156 #endif
00157 #ifndef CS_HAVE_GLINT64_T
00158 typedef int64 GLint64;
00159 #endif
00160 #ifndef CS_HAVE_GLUINT64_T
00161 typedef uint64 GLuint64;
00162 #endif
00163 
00164 #include "iutil/cmdline.h"
00165 #include "iutil/objreg.h"
00166 #include "iutil/verbositymanager.h"
00167 #include "ivaria/reporter.h"
00168 #include "ivideo/graph2d.h"
00169 #include "csutil/cfgacc.h"
00170 #include "csutil/stringquote.h"
00171 #include "csplugincommon/iopengl/openglinterface.h"
00172 
00177 #ifndef GL_UNSIGNED_BYTE_3_3_2
00178 #define GL_UNSIGNED_BYTE_3_3_2                                        32818
00179 #endif
00180 
00181 #ifndef GL_UNSIGNED_SHORT_4_4_4_4
00182 #define GL_UNSIGNED_SHORT_4_4_4_4                                     32819
00183 #endif
00184 
00185 #ifndef GL_UNSIGNED_SHORT_5_5_5_1
00186 #define GL_UNSIGNED_SHORT_5_5_5_1                                     32820
00187 #endif
00188 
00189 #ifndef GL_UNSIGNED_INT_8_8_8_8
00190 #define GL_UNSIGNED_INT_8_8_8_8                                       32821
00191 #endif
00192 
00193 #ifndef GL_UNSIGNED_INT_10_10_10_2
00194 #define GL_UNSIGNED_INT_10_10_10_2                                    32822
00195 #endif
00196 
00197 #ifndef GL_RESCALE_NORMAL
00198 #define GL_RESCALE_NORMAL                                             32826
00199 #endif
00200 
00201 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV
00202 #define GL_UNSIGNED_BYTE_2_3_3_REV                                    33634
00203 #endif
00204 
00205 #ifndef GL_UNSIGNED_SHORT_5_6_5
00206 #define GL_UNSIGNED_SHORT_5_6_5                                       33635
00207 #endif
00208 
00209 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV
00210 #define GL_UNSIGNED_SHORT_5_6_5_REV                                   33636
00211 #endif
00212 
00213 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV
00214 #define GL_UNSIGNED_SHORT_4_4_4_4_REV                                 33637
00215 #endif
00216 
00217 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV
00218 #define GL_UNSIGNED_SHORT_1_5_5_5_REV                                 33638
00219 #endif
00220 
00221 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV
00222 #define GL_UNSIGNED_INT_8_8_8_8_REV                                   33639
00223 #endif
00224 
00225 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV
00226 #define GL_UNSIGNED_INT_2_10_10_10_REV                                33640
00227 #endif
00228 
00229 #ifndef GL_BGR
00230 #define GL_BGR                                                        32992
00231 #endif
00232 
00233 #ifndef GL_BGRA
00234 #define GL_BGRA                                                       32993
00235 #endif
00236 
00237 #ifndef GL_MAX_ELEMENTS_VERTICES
00238 #define GL_MAX_ELEMENTS_VERTICES                                      33000
00239 #endif
00240 
00241 #ifndef GL_MAX_ELEMENTS_INDICES
00242 #define GL_MAX_ELEMENTS_INDICES                                       33001
00243 #endif
00244 
00245 #ifndef GL_CLAMP_TO_EDGE
00246 #define GL_CLAMP_TO_EDGE                                              33071
00247 #endif
00248 
00249 #ifndef GL_TEXTURE_MIN_LOD
00250 #define GL_TEXTURE_MIN_LOD                                            33082
00251 #endif
00252 
00253 #ifndef GL_TEXTURE_MAX_LOD
00254 #define GL_TEXTURE_MAX_LOD                                            33083
00255 #endif
00256 
00257 #ifndef GL_TEXTURE_BASE_LEVEL
00258 #define GL_TEXTURE_BASE_LEVEL                                         33084
00259 #endif
00260 
00261 #ifndef GL_TEXTURE_MAX_LEVEL
00262 #define GL_TEXTURE_MAX_LEVEL                                          33085
00263 #endif
00264 
00265 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL
00266 #define GL_LIGHT_MODEL_COLOR_CONTROL                                  33272
00267 #endif
00268 
00269 #ifndef GL_SINGLE_COLOR
00270 #define GL_SINGLE_COLOR                                               33273
00271 #endif
00272 
00273 #ifndef GL_SEPARATE_SPECULAR_COLOR
00274 #define GL_SEPARATE_SPECULAR_COLOR                                    33274
00275 #endif
00276 
00277 #ifndef GL_SMOOTH_POINT_SIZE_RANGE
00278 #define GL_SMOOTH_POINT_SIZE_RANGE                                     2834
00279 #endif
00280 
00281 #ifndef GL_SMOOTH_POINT_SIZE_GRANULARITY
00282 #define GL_SMOOTH_POINT_SIZE_GRANULARITY                               2835
00283 #endif
00284 
00285 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE
00286 #define GL_SMOOTH_LINE_WIDTH_RANGE                                     2850
00287 #endif
00288 
00289 #ifndef GL_SMOOTH_LINE_WIDTH_GRANULARITY
00290 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY                               2851
00291 #endif
00292 
00293 #ifndef GL_ALIASED_POINT_SIZE_RANGE
00294 #define GL_ALIASED_POINT_SIZE_RANGE                                   33901
00295 #endif
00296 
00297 #ifndef GL_ALIASED_LINE_WIDTH_RANGE
00298 #define GL_ALIASED_LINE_WIDTH_RANGE                                   33902
00299 #endif
00300 
00301 #ifndef GL_PACK_SKIP_IMAGES
00302 #define GL_PACK_SKIP_IMAGES                                           32875
00303 #endif
00304 
00305 #ifndef GL_PACK_IMAGE_HEIGHT
00306 #define GL_PACK_IMAGE_HEIGHT                                          32876
00307 #endif
00308 
00309 #ifndef GL_UNPACK_SKIP_IMAGES
00310 #define GL_UNPACK_SKIP_IMAGES                                         32877
00311 #endif
00312 
00313 #ifndef GL_UNPACK_IMAGE_HEIGHT
00314 #define GL_UNPACK_IMAGE_HEIGHT                                        32878
00315 #endif
00316 
00317 #ifndef GL_TEXTURE_3D
00318 #define GL_TEXTURE_3D                                                 32879
00319 #endif
00320 
00321 #ifndef GL_PROXY_TEXTURE_3D
00322 #define GL_PROXY_TEXTURE_3D                                           32880
00323 #endif
00324 
00325 #ifndef GL_TEXTURE_DEPTH
00326 #define GL_TEXTURE_DEPTH                                              32881
00327 #endif
00328 
00329 #ifndef GL_TEXTURE_WRAP_R
00330 #define GL_TEXTURE_WRAP_R                                             32882
00331 #endif
00332 
00333 #ifndef GL_MAX_3D_TEXTURE_SIZE
00334 #define GL_MAX_3D_TEXTURE_SIZE                                        32883
00335 #endif
00336 
00337 
00344 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTS) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices);
00345 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);
00346 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);
00347 typedef GLvoid (csAPIENTRY* csGLCOPYTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
00348 
00354 #ifndef GL_TEXTURE0
00355 #define GL_TEXTURE0                                                   33984
00356 #endif
00357 
00358 #ifndef GL_TEXTURE1
00359 #define GL_TEXTURE1                                                   33985
00360 #endif
00361 
00362 #ifndef GL_TEXTURE2
00363 #define GL_TEXTURE2                                                   33986
00364 #endif
00365 
00366 #ifndef GL_TEXTURE3
00367 #define GL_TEXTURE3                                                   33987
00368 #endif
00369 
00370 #ifndef GL_TEXTURE4
00371 #define GL_TEXTURE4                                                   33988
00372 #endif
00373 
00374 #ifndef GL_TEXTURE5
00375 #define GL_TEXTURE5                                                   33989
00376 #endif
00377 
00378 #ifndef GL_TEXTURE6
00379 #define GL_TEXTURE6                                                   33990
00380 #endif
00381 
00382 #ifndef GL_TEXTURE7
00383 #define GL_TEXTURE7                                                   33991
00384 #endif
00385 
00386 #ifndef GL_TEXTURE8
00387 #define GL_TEXTURE8                                                   33992
00388 #endif
00389 
00390 #ifndef GL_TEXTURE9
00391 #define GL_TEXTURE9                                                   33993
00392 #endif
00393 
00394 #ifndef GL_TEXTURE10
00395 #define GL_TEXTURE10                                                  33994
00396 #endif
00397 
00398 #ifndef GL_TEXTURE11
00399 #define GL_TEXTURE11                                                  33995
00400 #endif
00401 
00402 #ifndef GL_TEXTURE12
00403 #define GL_TEXTURE12                                                  33996
00404 #endif
00405 
00406 #ifndef GL_TEXTURE13
00407 #define GL_TEXTURE13                                                  33997
00408 #endif
00409 
00410 #ifndef GL_TEXTURE14
00411 #define GL_TEXTURE14                                                  33998
00412 #endif
00413 
00414 #ifndef GL_TEXTURE15
00415 #define GL_TEXTURE15                                                  33999
00416 #endif
00417 
00418 #ifndef GL_TEXTURE16
00419 #define GL_TEXTURE16                                                  34000
00420 #endif
00421 
00422 #ifndef GL_TEXTURE17
00423 #define GL_TEXTURE17                                                  34001
00424 #endif
00425 
00426 #ifndef GL_TEXTURE18
00427 #define GL_TEXTURE18                                                  34002
00428 #endif
00429 
00430 #ifndef GL_TEXTURE19
00431 #define GL_TEXTURE19                                                  34003
00432 #endif
00433 
00434 #ifndef GL_TEXTURE20
00435 #define GL_TEXTURE20                                                  34004
00436 #endif
00437 
00438 #ifndef GL_TEXTURE21
00439 #define GL_TEXTURE21                                                  34005
00440 #endif
00441 
00442 #ifndef GL_TEXTURE22
00443 #define GL_TEXTURE22                                                  34006
00444 #endif
00445 
00446 #ifndef GL_TEXTURE23
00447 #define GL_TEXTURE23                                                  34007
00448 #endif
00449 
00450 #ifndef GL_TEXTURE24
00451 #define GL_TEXTURE24                                                  34008
00452 #endif
00453 
00454 #ifndef GL_TEXTURE25
00455 #define GL_TEXTURE25                                                  34009
00456 #endif
00457 
00458 #ifndef GL_TEXTURE26
00459 #define GL_TEXTURE26                                                  34010
00460 #endif
00461 
00462 #ifndef GL_TEXTURE27
00463 #define GL_TEXTURE27                                                  34011
00464 #endif
00465 
00466 #ifndef GL_TEXTURE28
00467 #define GL_TEXTURE28                                                  34012
00468 #endif
00469 
00470 #ifndef GL_TEXTURE29
00471 #define GL_TEXTURE29                                                  34013
00472 #endif
00473 
00474 #ifndef GL_TEXTURE30
00475 #define GL_TEXTURE30                                                  34014
00476 #endif
00477 
00478 #ifndef GL_TEXTURE31
00479 #define GL_TEXTURE31                                                  34015
00480 #endif
00481 
00482 #ifndef GL_ACTIVE_TEXTURE
00483 #define GL_ACTIVE_TEXTURE                                             34016
00484 #endif
00485 
00486 #ifndef GL_CLIENT_ACTIVE_TEXTURE
00487 #define GL_CLIENT_ACTIVE_TEXTURE                                      34017
00488 #endif
00489 
00490 #ifndef GL_MAX_TEXTURE_UNITS
00491 #define GL_MAX_TEXTURE_UNITS                                          34018
00492 #endif
00493 
00494 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX
00495 #define GL_TRANSPOSE_MODELVIEW_MATRIX                                 34019
00496 #endif
00497 
00498 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX
00499 #define GL_TRANSPOSE_PROJECTION_MATRIX                                34020
00500 #endif
00501 
00502 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX
00503 #define GL_TRANSPOSE_TEXTURE_MATRIX                                   34021
00504 #endif
00505 
00506 #ifndef GL_TRANSPOSE_COLOR_MATRIX
00507 #define GL_TRANSPOSE_COLOR_MATRIX                                     34022
00508 #endif
00509 
00510 #ifndef GL_MULTISAMPLE
00511 #define GL_MULTISAMPLE                                                32925
00512 #endif
00513 
00514 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE
00515 #define GL_SAMPLE_ALPHA_TO_COVERAGE                                   32926
00516 #endif
00517 
00518 #ifndef GL_SAMPLE_ALPHA_TO_ONE
00519 #define GL_SAMPLE_ALPHA_TO_ONE                                        32927
00520 #endif
00521 
00522 #ifndef GL_SAMPLE_COVERAGE
00523 #define GL_SAMPLE_COVERAGE                                            32928
00524 #endif
00525 
00526 #ifndef GL_SAMPLE_BUFFERS
00527 #define GL_SAMPLE_BUFFERS                                             32936
00528 #endif
00529 
00530 #ifndef GL_SAMPLES
00531 #define GL_SAMPLES                                                    32937
00532 #endif
00533 
00534 #ifndef GL_SAMPLE_COVERAGE_VALUE
00535 #define GL_SAMPLE_COVERAGE_VALUE                                      32938
00536 #endif
00537 
00538 #ifndef GL_SAMPLE_COVERAGE_INVERT
00539 #define GL_SAMPLE_COVERAGE_INVERT                                     32939
00540 #endif
00541 
00542 #ifndef GL_MULTISAMPLE_BIT
00543 #define GL_MULTISAMPLE_BIT                                           536870912
00544 #endif
00545 
00546 #ifndef GL_NORMAL_MAP
00547 #define GL_NORMAL_MAP                                                 34065
00548 #endif
00549 
00550 #ifndef GL_REFLECTION_MAP
00551 #define GL_REFLECTION_MAP                                             34066
00552 #endif
00553 
00554 #ifndef GL_TEXTURE_CUBE_MAP
00555 #define GL_TEXTURE_CUBE_MAP                                           34067
00556 #endif
00557 
00558 #ifndef GL_TEXTURE_BINDING_CUBE_MAP
00559 #define GL_TEXTURE_BINDING_CUBE_MAP                                   34068
00560 #endif
00561 
00562 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X
00563 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X                                34069
00564 #endif
00565 
00566 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X
00567 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X                                34070
00568 #endif
00569 
00570 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y
00571 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y                                34071
00572 #endif
00573 
00574 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
00575 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                                34072
00576 #endif
00577 
00578 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z
00579 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z                                34073
00580 #endif
00581 
00582 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
00583 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z                                34074
00584 #endif
00585 
00586 #ifndef GL_PROXY_TEXTURE_CUBE_MAP
00587 #define GL_PROXY_TEXTURE_CUBE_MAP                                     34075
00588 #endif
00589 
00590 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE
00591 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE                                  34076
00592 #endif
00593 
00594 #ifndef GL_COMPRESSED_ALPHA
00595 #define GL_COMPRESSED_ALPHA                                           34025
00596 #endif
00597 
00598 #ifndef GL_COMPRESSED_LUMINANCE
00599 #define GL_COMPRESSED_LUMINANCE                                       34026
00600 #endif
00601 
00602 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA
00603 #define GL_COMPRESSED_LUMINANCE_ALPHA                                 34027
00604 #endif
00605 
00606 #ifndef GL_COMPRESSED_INTENSITY
00607 #define GL_COMPRESSED_INTENSITY                                       34028
00608 #endif
00609 
00610 #ifndef GL_COMPRESSED_RGB
00611 #define GL_COMPRESSED_RGB                                             34029
00612 #endif
00613 
00614 #ifndef GL_COMPRESSED_RGBA
00615 #define GL_COMPRESSED_RGBA                                            34030
00616 #endif
00617 
00618 #ifndef GL_TEXTURE_COMPRESSION_HINT
00619 #define GL_TEXTURE_COMPRESSION_HINT                                   34031
00620 #endif
00621 
00622 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE
00623 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE                              34464
00624 #endif
00625 
00626 #ifndef GL_TEXTURE_COMPRESSED
00627 #define GL_TEXTURE_COMPRESSED                                         34465
00628 #endif
00629 
00630 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS
00631 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS                             34466
00632 #endif
00633 
00634 #ifndef GL_COMPRESSED_TEXTURE_FORMATS
00635 #define GL_COMPRESSED_TEXTURE_FORMATS                                 34467
00636 #endif
00637 
00638 #ifndef GL_CLAMP_TO_BORDER
00639 #define GL_CLAMP_TO_BORDER                                            33069
00640 #endif
00641 
00642 #ifndef GL_CLAMP_TO_BORDER_SGIS
00643 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
00644 #endif
00645 
00646 #ifndef GL_COMBINE
00647 #define GL_COMBINE                                                    34160
00648 #endif
00649 
00650 #ifndef GL_COMBINE_RGB
00651 #define GL_COMBINE_RGB                                                34161
00652 #endif
00653 
00654 #ifndef GL_COMBINE_ALPHA
00655 #define GL_COMBINE_ALPHA                                              34162
00656 #endif
00657 
00658 #ifndef GL_SOURCE0_RGB
00659 #define GL_SOURCE0_RGB                                                34176
00660 #endif
00661 
00662 #ifndef GL_SOURCE1_RGB
00663 #define GL_SOURCE1_RGB                                                34177
00664 #endif
00665 
00666 #ifndef GL_SOURCE2_RGB
00667 #define GL_SOURCE2_RGB                                                34178
00668 #endif
00669 
00670 #ifndef GL_SOURCE0_ALPHA
00671 #define GL_SOURCE0_ALPHA                                              34184
00672 #endif
00673 
00674 #ifndef GL_SOURCE1_ALPHA
00675 #define GL_SOURCE1_ALPHA                                              34185
00676 #endif
00677 
00678 #ifndef GL_SOURCE2_ALPHA
00679 #define GL_SOURCE2_ALPHA                                              34186
00680 #endif
00681 
00682 #ifndef GL_OPERAND0_RGB
00683 #define GL_OPERAND0_RGB                                               34192
00684 #endif
00685 
00686 #ifndef GL_OPERAND1_RGB
00687 #define GL_OPERAND1_RGB                                               34193
00688 #endif
00689 
00690 #ifndef GL_OPERAND2_RGB
00691 #define GL_OPERAND2_RGB                                               34194
00692 #endif
00693 
00694 #ifndef GL_OPERAND0_ALPHA
00695 #define GL_OPERAND0_ALPHA                                             34200
00696 #endif
00697 
00698 #ifndef GL_OPERAND1_ALPHA
00699 #define GL_OPERAND1_ALPHA                                             34201
00700 #endif
00701 
00702 #ifndef GL_OPERAND2_ALPHA
00703 #define GL_OPERAND2_ALPHA                                             34202
00704 #endif
00705 
00706 #ifndef GL_RGB_SCALE
00707 #define GL_RGB_SCALE                                                  34163
00708 #endif
00709 
00710 #ifndef GL_ADD_SIGNED
00711 #define GL_ADD_SIGNED                                                 34164
00712 #endif
00713 
00714 #ifndef GL_INTERPOLATE
00715 #define GL_INTERPOLATE                                                34165
00716 #endif
00717 
00718 #ifndef GL_SUBTRACT
00719 #define GL_SUBTRACT                                                   34023
00720 #endif
00721 
00722 #ifndef GL_CONSTANT
00723 #define GL_CONSTANT                                                   34166
00724 #endif
00725 
00726 #ifndef GL_PRIMARY_COLOR
00727 #define GL_PRIMARY_COLOR                                              34167
00728 #endif
00729 
00730 #ifndef GL_PREVIOUS
00731 #define GL_PREVIOUS                                                   34168
00732 #endif
00733 
00734 #ifndef GL_DOT3_RGB
00735 #define GL_DOT3_RGB                                                   34478
00736 #endif
00737 
00738 #ifndef GL_DOT3_RGBA
00739 #define GL_DOT3_RGBA                                                  34479
00740 #endif
00741 
00742 
00749 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTURE) (GLenum texture);
00750 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTURE) (GLenum texture);
00751 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1D) (GLenum target, GLdouble s);
00752 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DV) (GLenum target, const GLdouble* v);
00753 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1F) (GLenum target, GLfloat s);
00754 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FV) (GLenum target, const GLfloat* v);
00755 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1I) (GLenum target, GLint s);
00756 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IV) (GLenum target, const GLint* v);
00757 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1S) (GLenum target, GLshort s);
00758 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SV) (GLenum target, const GLshort* v);
00759 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2D) (GLenum target, GLdouble s, GLdouble t);
00760 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DV) (GLenum target, const GLdouble* v);
00761 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2F) (GLenum target, GLfloat s, GLfloat t);
00762 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FV) (GLenum target, const GLfloat* v);
00763 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2I) (GLenum target, GLint s, GLint t);
00764 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IV) (GLenum target, const GLint* v);
00765 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2S) (GLenum target, GLshort s, GLshort t);
00766 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SV) (GLenum target, const GLshort* v);
00767 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3D) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
00768 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DV) (GLenum target, const GLdouble* v);
00769 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3F) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
00770 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FV) (GLenum target, const GLfloat* v);
00771 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3I) (GLenum target, GLint s, GLint t, GLint r);
00772 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IV) (GLenum target, const GLint* v);
00773 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3S) (GLenum target, GLshort s, GLshort t, GLshort r);
00774 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SV) (GLenum target, const GLshort* v);
00775 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4D) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
00776 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DV) (GLenum target, const GLdouble* v);
00777 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4F) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
00778 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FV) (GLenum target, const GLfloat* v);
00779 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4I) (GLenum target, GLint s, GLint t, GLint r, GLint q);
00780 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IV) (GLenum target, const GLint* v);
00781 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4S) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
00782 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SV) (GLenum target, const GLshort* v);
00783 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXF) (const GLfloat* m);
00784 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXD) (const GLdouble* m);
00785 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXF) (const GLfloat* m);
00786 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXD) (const GLdouble* m);
00787 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGE) (GLclampf value, GLboolean invert);
00788 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
00789 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
00790 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
00791 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);
00792 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
00793 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
00794 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGE) (GLenum target, GLint level, GLvoid* img);
00795 
00801 #ifndef GL_GENERATE_MIPMAP
00802 #define GL_GENERATE_MIPMAP                                            33169
00803 #endif
00804 
00805 #ifndef GL_DEPTH_COMPONENT16
00806 #define GL_DEPTH_COMPONENT16                                          33189
00807 #endif
00808 
00809 #ifndef GL_DEPTH_COMPONENT24
00810 #define GL_DEPTH_COMPONENT24                                          33190
00811 #endif
00812 
00813 #ifndef GL_DEPTH_COMPONENT32
00814 #define GL_DEPTH_COMPONENT32                                          33191
00815 #endif
00816 
00817 #ifndef GL_TEXTURE_DEPTH_SIZE
00818 #define GL_TEXTURE_DEPTH_SIZE                                         34890
00819 #endif
00820 
00821 #ifndef GL_DEPTH_TEXTURE_MODE
00822 #define GL_DEPTH_TEXTURE_MODE                                         34891
00823 #endif
00824 
00825 #ifndef GL_TEXTURE_COMPARE_MODE
00826 #define GL_TEXTURE_COMPARE_MODE                                       34892
00827 #endif
00828 
00829 #ifndef GL_TEXTURE_COMPARE_FUNC
00830 #define GL_TEXTURE_COMPARE_FUNC                                       34893
00831 #endif
00832 
00833 #ifndef GL_COMPARE_R_TO_TEXTURE
00834 #define GL_COMPARE_R_TO_TEXTURE                                       34894
00835 #endif
00836 
00837 #ifndef GL_FOG_COORDINATE_SOURCE
00838 #define GL_FOG_COORDINATE_SOURCE                                      33872
00839 #endif
00840 
00841 #ifndef GL_FOG_COORDINATE
00842 #define GL_FOG_COORDINATE                                             33873
00843 #endif
00844 
00845 #ifndef GL_FRAGMENT_DEPTH
00846 #define GL_FRAGMENT_DEPTH                                             33874
00847 #endif
00848 
00849 #ifndef GL_CURRENT_FOG_COORDINATE
00850 #define GL_CURRENT_FOG_COORDINATE                                     33875
00851 #endif
00852 
00853 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE
00854 #define GL_FOG_COORDINATE_ARRAY_TYPE                                  33876
00855 #endif
00856 
00857 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE
00858 #define GL_FOG_COORDINATE_ARRAY_STRIDE                                33877
00859 #endif
00860 
00861 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER
00862 #define GL_FOG_COORDINATE_ARRAY_POINTER                               33878
00863 #endif
00864 
00865 #ifndef GL_FOG_COORDINATE_ARRAY
00866 #define GL_FOG_COORDINATE_ARRAY                                       33879
00867 #endif
00868 
00869 #ifndef GL_POINT_SIZE_MIN
00870 #define GL_POINT_SIZE_MIN                                             33062
00871 #endif
00872 
00873 #ifndef GL_POINT_SIZE_MAX
00874 #define GL_POINT_SIZE_MAX                                             33063
00875 #endif
00876 
00877 #ifndef GL_POINT_FADE_THRESHOLD_SIZE
00878 #define GL_POINT_FADE_THRESHOLD_SIZE                                  33064
00879 #endif
00880 
00881 #ifndef GL_POINT_DISTANCE_ATTENUATION
00882 #define GL_POINT_DISTANCE_ATTENUATION                                 33065
00883 #endif
00884 
00885 #ifndef GL_COLOR_SUM
00886 #define GL_COLOR_SUM                                                  33880
00887 #endif
00888 
00889 #ifndef GL_CURRENT_SECONDARY_COLOR
00890 #define GL_CURRENT_SECONDARY_COLOR                                    33881
00891 #endif
00892 
00893 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE
00894 #define GL_SECONDARY_COLOR_ARRAY_SIZE                                 33882
00895 #endif
00896 
00897 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE
00898 #define GL_SECONDARY_COLOR_ARRAY_TYPE                                 33883
00899 #endif
00900 
00901 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE
00902 #define GL_SECONDARY_COLOR_ARRAY_STRIDE                               33884
00903 #endif
00904 
00905 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER
00906 #define GL_SECONDARY_COLOR_ARRAY_POINTER                              33885
00907 #endif
00908 
00909 #ifndef GL_SECONDARY_COLOR_ARRAY
00910 #define GL_SECONDARY_COLOR_ARRAY                                      33886
00911 #endif
00912 
00913 #ifndef GL_BLEND_DST_RGB
00914 #define GL_BLEND_DST_RGB                                             0x80C8
00915 #endif
00916 
00917 #ifndef GL_BLEND_SRC_RGB
00918 #define GL_BLEND_SRC_RGB                                             0x80C9
00919 #endif
00920 
00921 #ifndef GL_BLEND_DST_ALPHA
00922 #define GL_BLEND_DST_ALPHA                                           0x80CA
00923 #endif
00924 
00925 #ifndef GL_BLEND_SRC_ALPHA
00926 #define GL_BLEND_SRC_ALPHA                                           0x80CB
00927 #endif
00928 
00929 #ifndef GL_INCR_WRAP
00930 #define GL_INCR_WRAP                                                  34055
00931 #endif
00932 
00933 #ifndef GL_DECR_WRAP
00934 #define GL_DECR_WRAP                                                  34056
00935 #endif
00936 
00937 #ifndef GL_TEXTURE_FILTER_CONTROL
00938 #define GL_TEXTURE_FILTER_CONTROL                                     34048
00939 #endif
00940 
00941 #ifndef GL_TEXTURE_LOD_BIAS
00942 #define GL_TEXTURE_LOD_BIAS                                           34049
00943 #endif
00944 
00945 #ifndef GL_MAX_TEXTURE_LOD_BIAS
00946 #define GL_MAX_TEXTURE_LOD_BIAS                                       34045
00947 #endif
00948 
00949 #ifndef GL_MIRRORED_REPEAT
00950 #define GL_MIRRORED_REPEAT                                            33648
00951 #endif
00952 
00953 
00960 typedef GLvoid (csAPIENTRY* csGLFOGCOORDF) (GLfloat coord);
00961 typedef GLvoid (csAPIENTRY* csGLFOGCOORDD) (GLdouble coord);
00962 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFV) (GLfloat* coord);
00963 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDV) (GLdouble* coord);
00964 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTER) (GLenum type, GLsizei stride, GLvoid* pointer);
00965 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYS) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
00966 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTS) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount);
00967 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERF) (GLenum pname, GLfloat param);
00968 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFV) (GLenum pname, GLfloat* params);
00969 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3B) (GLbyte components);
00970 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3S) (GLshort components);
00971 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3I) (GLint components);
00972 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3F) (GLfloat components);
00973 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3D) (GLdouble components);
00974 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UB) (GLubyte components);
00975 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3US) (GLushort components);
00976 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UI) (GLuint components);
00977 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BV) (GLbyte* components);
00978 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SV) (GLshort* components);
00979 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IV) (GLint* components);
00980 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FV) (GLfloat* components);
00981 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DV) (GLdouble* components);
00982 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBV) (GLubyte* components);
00983 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USV) (GLushort* components);
00984 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIV) (GLuint* components);
00985 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTER) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
00986 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATE) (GLenum sFactorRGB, GLenum dFactorRGB, GLenum sFactorAlpha, GLenum dFactorAlpha);
00987 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2D) (GLdouble x, GLdouble y);
00988 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2F) (GLfloat x, GLfloat y);
00989 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2I) (GLint x, GLint y);
00990 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2S) (GLshort x, GLshort y);
00991 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DV) (const GLdouble* p);
00992 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FV) (const GLfloat* p);
00993 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IV) (const GLint* p);
00994 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SV) (const GLshort* p);
00995 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3D) (GLdouble x, GLdouble y, GLdouble z);
00996 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3F) (GLfloat x, GLfloat y, GLfloat z);
00997 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3I) (GLint x, GLint y, GLint z);
00998 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3S) (GLshort x, GLshort y, GLshort z);
00999 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DV) (const GLdouble* p);
01000 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FV) (const GLfloat* p);
01001 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IV) (const GLint* p);
01002 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SV) (const GLshort* p);
01003 
01009 #ifndef GL_ARRAY_BUFFER
01010 #define GL_ARRAY_BUFFER                                               34962
01011 #endif
01012 
01013 #ifndef GL_ELEMENT_ARRAY_BUFFER
01014 #define GL_ELEMENT_ARRAY_BUFFER                                       34963
01015 #endif
01016 
01017 #ifndef GL_ARRAY_BUFFER_BINDING
01018 #define GL_ARRAY_BUFFER_BINDING                                       34964
01019 #endif
01020 
01021 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING
01022 #define GL_ELEMENT_ARRAY_BUFFER_BINDING                               34965
01023 #endif
01024 
01025 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING
01026 #define GL_VERTEX_ARRAY_BUFFER_BINDING                                34966
01027 #endif
01028 
01029 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING
01030 #define GL_NORMAL_ARRAY_BUFFER_BINDING                                34967
01031 #endif
01032 
01033 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING
01034 #define GL_COLOR_ARRAY_BUFFER_BINDING                                 34968
01035 #endif
01036 
01037 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING
01038 #define GL_INDEX_ARRAY_BUFFER_BINDING                                 34969
01039 #endif
01040 
01041 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING
01042 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING                         34970
01043 #endif
01044 
01045 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING
01046 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING                             34971
01047 #endif
01048 
01049 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING
01050 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING                       34972
01051 #endif
01052 
01053 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
01054 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING                        34973
01055 #endif
01056 
01057 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING
01058 #define GL_WEIGHT_ARRAY_BUFFER_BINDING                                34974
01059 #endif
01060 
01061 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING
01062 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING                         34975
01063 #endif
01064 
01065 #ifndef GL_STREAM_DRAW
01066 #define GL_STREAM_DRAW                                                35040
01067 #endif
01068 
01069 #ifndef GL_STREAM_READ
01070 #define GL_STREAM_READ                                                35041
01071 #endif
01072 
01073 #ifndef GL_STREAM_COPY
01074 #define GL_STREAM_COPY                                                35042
01075 #endif
01076 
01077 #ifndef GL_STATIC_DRAW
01078 #define GL_STATIC_DRAW                                                35044
01079 #endif
01080 
01081 #ifndef GL_STATIC_READ
01082 #define GL_STATIC_READ                                                35045
01083 #endif
01084 
01085 #ifndef GL_STATIC_COPY
01086 #define GL_STATIC_COPY                                                35046
01087 #endif
01088 
01089 #ifndef GL_DYNAMIC_DRAW
01090 #define GL_DYNAMIC_DRAW                                               35048
01091 #endif
01092 
01093 #ifndef GL_DYNAMIC_READ
01094 #define GL_DYNAMIC_READ                                               35049
01095 #endif
01096 
01097 #ifndef GL_DYNAMIC_COPY
01098 #define GL_DYNAMIC_COPY                                               35050
01099 #endif
01100 
01101 #ifndef GL_READ_ONLY
01102 #define GL_READ_ONLY                                                  35000
01103 #endif
01104 
01105 #ifndef GL_WRITE_ONLY
01106 #define GL_WRITE_ONLY                                                 35001
01107 #endif
01108 
01109 #ifndef GL_READ_WRITE
01110 #define GL_READ_WRITE                                                 35002
01111 #endif
01112 
01113 #ifndef GL_BUFFER_SIZE
01114 #define GL_BUFFER_SIZE                                                34660
01115 #endif
01116 
01117 #ifndef GL_BUFFER_USAGE
01118 #define GL_BUFFER_USAGE                                               34661
01119 #endif
01120 
01121 #ifndef GL_BUFFER_ACCESS
01122 #define GL_BUFFER_ACCESS                                              35003
01123 #endif
01124 
01125 #ifndef GL_BUFFER_MAPPED
01126 #define GL_BUFFER_MAPPED                                              35004
01127 #endif
01128 
01129 #ifndef GL_BUFFER_MAP_POINTER
01130 #define GL_BUFFER_MAP_POINTER                                         35005
01131 #endif
01132 
01133 #ifndef GL_SAMPLES_PASSED
01134 #define GL_SAMPLES_PASSED                                            0x8914
01135 #endif
01136 
01137 #ifndef GL_QUERY_COUNTER_BITS
01138 #define GL_QUERY_COUNTER_BITS                                        0x8864
01139 #endif
01140 
01141 #ifndef GL_CURRENT_QUERY
01142 #define GL_CURRENT_QUERY                                             0x8865
01143 #endif
01144 
01145 #ifndef GL_QUERY_RESULT
01146 #define GL_QUERY_RESULT                                              0x8866
01147 #endif
01148 
01149 #ifndef GL_QUERY_RESULT_AVAILABLE
01150 #define GL_QUERY_RESULT_AVAILABLE                                    0x8867
01151 #endif
01152 
01153 #ifndef GL_ANY_SAMPLES_PASSED
01154 #define GL_ANY_SAMPLES_PASSED                                        0x8C2F
01155 #endif
01156 
01157 #ifndef GL_FOG_COORD_SOURCE
01158 #define GL_FOG_COORD_SOURCE                                          GL_FOG_COORDINATE_SOURCE
01159 #endif
01160 
01161 #ifndef GL_FOG_COORD
01162 #define GL_FOG_COORD                                                 GL_FOG_COORDINATE
01163 #endif
01164 
01165 #ifndef GL_CURRENT_FOG_COORD
01166 #define GL_CURRENT_FOG_COORD                                         GL_CURRENT_FOG_COORDINATE
01167 #endif
01168 
01169 #ifndef GL_FOG_COORD_ARRAY_TYPE
01170 #define GL_FOG_COORD_ARRAY_TYPE                                      GL_FOG_COORDINATE_ARRAY_TYPE
01171 #endif
01172 
01173 #ifndef GL_FOG_COORD_ARRAY_STRIDE
01174 #define GL_FOG_COORD_ARRAY_STRIDE                                    GL_FOG_COORDINATE_ARRAY_STRIDE
01175 #endif
01176 
01177 #ifndef GL_FOG_COORD_ARRAY_POINTER
01178 #define GL_FOG_COORD_ARRAY_POINTER                                   GL_FOG_COORDINATE_ARRAY_POINTER
01179 #endif
01180 
01181 #ifndef GL_FOG_COORD_ARRAY
01182 #define GL_FOG_COORD_ARRAY                                           GL_FOG_COORDINATE_ARRAY
01183 #endif
01184 
01185 #ifndef GL_FOG_COORD_ARRAY_BUFFER_BINDING
01186 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING                            GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
01187 #endif
01188 
01189 #ifndef GL_SRC0_RGB
01190 #define GL_SRC0_RGB                                                  GL_SOURCE0_RGB
01191 #endif
01192 
01193 #ifndef GL_SRC1_RGB
01194 #define GL_SRC1_RGB                                                  GL_SOURCE1_RGB
01195 #endif
01196 
01197 #ifndef GL_SRC2_RGB
01198 #define GL_SRC2_RGB                                                  GL_SOURCE2_RGB
01199 #endif
01200 
01201 #ifndef GL_SRC0_ALPHA
01202 #define GL_SRC0_ALPHA                                                GL_SOURCE0_ALPHA
01203 #endif
01204 
01205 #ifndef GL_SRC1_ALPHA
01206 #define GL_SRC1_ALPHA                                                GL_SOURCE1_ALPHA
01207 #endif
01208 
01209 #ifndef GL_SRC2_ALPHA
01210 #define GL_SRC2_ALPHA                                                GL_SOURCE2_ALPHA
01211 #endif
01212 
01213 
01220 typedef GLvoid (csAPIENTRY* csGLBINDBUFFER) (GLenum target, GLuint buffer);
01221 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERS) (GLsizei n, const GLuint* buffers);
01222 typedef GLvoid (csAPIENTRY* csGLGENBUFFERS) (GLsizei n, GLuint* buffers);
01223 typedef GLvoid (csAPIENTRY* csGLBUFFERDATA) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage);
01224 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data);
01225 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFER) (GLenum target, GLenum access);
01226 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFER) (GLenum target);
01227 typedef GLboolean (csAPIENTRY* csGLISBUFFER) (GLuint buffer);
01228 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data);
01229 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERV) (GLenum target, GLenum pname, GLvoid** params);
01230 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
01231 typedef GLvoid (csAPIENTRY* csGLGENQUERIES) (GLsizei n, GLuint* ids);
01232 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIES) (GLsizei n, GLuint* ids);
01233 typedef GLboolean (csAPIENTRY* csGLISQUERY) (GLuint id);
01234 typedef GLvoid (csAPIENTRY* csGLBEGINQUERY) (GLenum target, GLuint id);
01235 typedef GLvoid (csAPIENTRY* csGLENDQUERY) (GLenum target);
01236 typedef GLvoid (csAPIENTRY* csGLGETQUERYIV) (GLenum target, GLenum pname, GLint* params);
01237 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIV) (GLuint id, GLenum pname, GLint* params);
01238 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIV) (GLuint id, GLenum pname, GLuint* params);
01239 
01245 #ifndef GL_PROGRAM_OBJECT
01246 #define GL_PROGRAM_OBJECT                                            0x8B40
01247 #endif
01248 
01249 #ifndef GL_OBJECT_TYPE
01250 #define GL_OBJECT_TYPE                                               0x8B4E
01251 #endif
01252 
01253 #ifndef GL_OBJECT_SUBTYPE
01254 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01255 #endif
01256 
01257 #ifndef GL_OBJECT_DELETE_STATUS
01258 #define GL_OBJECT_DELETE_STATUS                                      0x8B80
01259 #endif
01260 
01261 #ifndef GL_OBJECT_COMPILE_STATUS
01262 #define GL_OBJECT_COMPILE_STATUS                                     0x8B81
01263 #endif
01264 
01265 #ifndef GL_OBJECT_LINK_STATUS
01266 #define GL_OBJECT_LINK_STATUS                                        0x8B82
01267 #endif
01268 
01269 #ifndef GL_OBJECT_VALIDATE_STATUS
01270 #define GL_OBJECT_VALIDATE_STATUS                                    0x8B83
01271 #endif
01272 
01273 #ifndef GL_OBJECT_INFO_LOG_LENGTH
01274 #define GL_OBJECT_INFO_LOG_LENGTH                                    0x8B84
01275 #endif
01276 
01277 #ifndef GL_OBJECT_ATTACHED_OBJECTS
01278 #define GL_OBJECT_ATTACHED_OBJECTS                                   0x8B85
01279 #endif
01280 
01281 #ifndef GL_OBJECT_ACTIVE_UNIFORMS
01282 #define GL_OBJECT_ACTIVE_UNIFORMS                                    0x8B86
01283 #endif
01284 
01285 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH
01286 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH                         0x8B87
01287 #endif
01288 
01289 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH
01290 #define GL_OBJECT_SHADER_SOURCE_LENGTH                               0x8B88
01291 #endif
01292 
01293 #ifndef GL_SHADER_OBJECT
01294 #define GL_SHADER_OBJECT                                             0x8B48
01295 #endif
01296 
01297 #ifndef GL_FLOAT_VEC2
01298 #define GL_FLOAT_VEC2                                                0x8B50
01299 #endif
01300 
01301 #ifndef GL_FLOAT_VEC3
01302 #define GL_FLOAT_VEC3                                                0x8B51
01303 #endif
01304 
01305 #ifndef GL_FLOAT_VEC4
01306 #define GL_FLOAT_VEC4                                                0x8B52
01307 #endif
01308 
01309 #ifndef GL_INT_VEC2
01310 #define GL_INT_VEC2                                                  0x8B53
01311 #endif
01312 
01313 #ifndef GL_INT_VEC3
01314 #define GL_INT_VEC3                                                  0x8B54
01315 #endif
01316 
01317 #ifndef GL_INT_VEC4
01318 #define GL_INT_VEC4                                                  0x8B55
01319 #endif
01320 
01321 #ifndef GL_BOOL
01322 #define GL_BOOL                                                      0x8B56
01323 #endif
01324 
01325 #ifndef GL_BOOL_VEC2
01326 #define GL_BOOL_VEC2                                                 0x8B57
01327 #endif
01328 
01329 #ifndef GL_BOOL_VEC3
01330 #define GL_BOOL_VEC3                                                 0x8B58
01331 #endif
01332 
01333 #ifndef GL_BOOL_VEC4
01334 #define GL_BOOL_VEC4                                                 0x8B59
01335 #endif
01336 
01337 #ifndef GL_FLOAT_MAT2
01338 #define GL_FLOAT_MAT2                                                0x8B5A
01339 #endif
01340 
01341 #ifndef GL_FLOAT_MAT3
01342 #define GL_FLOAT_MAT3                                                0x8B5B
01343 #endif
01344 
01345 #ifndef GL_FLOAT_MAT4
01346 #define GL_FLOAT_MAT4                                                0x8B5C
01347 #endif
01348 
01349 #ifndef GL_FRAGMENT_SHADER
01350 #define GL_FRAGMENT_SHADER                                           0x8B30
01351 #endif
01352 
01353 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS
01354 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS                           0x8B49
01355 #endif
01356 
01357 #ifndef GL_MAX_TEXTURE_COORDS
01358 #define GL_MAX_TEXTURE_COORDS                                        0x8871
01359 #endif
01360 
01361 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS
01362 #define GL_MAX_TEXTURE_IMAGE_UNITS                                   0x8872
01363 #endif
01364 
01365 #ifndef GL_OBJECT_TYPE
01366 #define GL_OBJECT_TYPE                                               0x8B4E
01367 #endif
01368 
01369 #ifndef GL_OBJECT_SUBTYPE
01370 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01371 #endif
01372 
01373 #ifndef GL_SHADER_OBJECT
01374 #define GL_SHADER_OBJECT                                             0x8B48
01375 #endif
01376 
01377 #ifndef GL_VERTEX_SHADER
01378 #define GL_VERTEX_SHADER                                             0x8B31
01379 #endif
01380 
01381 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS
01382 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS                             0x8B4A
01383 #endif
01384 
01385 #ifndef GL_MAX_VARYING_FLOATS
01386 #define GL_MAX_VARYING_FLOATS                                        0x8B4B
01387 #endif
01388 
01389 #ifndef GL_MAX_VERTEX_ATTRIBS
01390 #define GL_MAX_VERTEX_ATTRIBS                                        0x8869
01391 #endif
01392 
01393 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS
01394 #define GL_MAX_TEXTURE_IMAGE_UNITS                                   0x8872
01395 #endif
01396 
01397 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS
01398 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS                            0x884C
01399 #endif
01400 
01401 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS
01402 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS                          0x884D
01403 #endif
01404 
01405 #ifndef GL_MAX_TEXTURE_COORDS
01406 #define GL_MAX_TEXTURE_COORDS                                        0x8871
01407 #endif
01408 
01409 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE
01410 #define GL_VERTEX_PROGRAM_POINT_SIZE                                 0x8642
01411 #endif
01412 
01413 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE
01414 #define GL_VERTEX_PROGRAM_TWO_SIDE                                   0x8643
01415 #endif
01416 
01417 #ifndef GL_OBJECT_TYPE
01418 #define GL_OBJECT_TYPE                                               0x8B4E
01419 #endif
01420 
01421 #ifndef GL_OBJECT_SUBTYPE
01422 #define GL_OBJECT_SUBTYPE                                            0x8B4F
01423 #endif
01424 
01425 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES
01426 #define GL_OBJECT_ACTIVE_ATTRIBUTES                                  0x8B89
01427 #endif
01428 
01429 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH
01430 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH                        0x8B8A
01431 #endif
01432 
01433 #ifndef GL_SHADER_OBJECT
01434 #define GL_SHADER_OBJECT                                             0x8B48
01435 #endif
01436 
01437 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED
01438 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED                               0x8622
01439 #endif
01440 
01441 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE
01442 #define GL_VERTEX_ATTRIB_ARRAY_SIZE                                  0x8623
01443 #endif
01444 
01445 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE
01446 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE                                0x8624
01447 #endif
01448 
01449 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE
01450 #define GL_VERTEX_ATTRIB_ARRAY_TYPE                                  0x8625
01451 #endif
01452 
01453 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED
01454 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED                            0x886A
01455 #endif
01456 
01457 #ifndef GL_CURRENT_VERTEX_ATTRIB
01458 #define GL_CURRENT_VERTEX_ATTRIB                                     0x8626
01459 #endif
01460 
01461 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER
01462 #define GL_VERTEX_ATTRIB_ARRAY_POINTER                               0x8645
01463 #endif
01464 
01465 #ifndef GL_FLOAT_VEC2
01466 #define GL_FLOAT_VEC2                                                0x8B50
01467 #endif
01468 
01469 #ifndef GL_FLOAT_VEC3
01470 #define GL_FLOAT_VEC3                                                0x8B51
01471 #endif
01472 
01473 #ifndef GL_FLOAT_VEC4
01474 #define GL_FLOAT_VEC4                                                0x8B52
01475 #endif
01476 
01477 #ifndef GL_FLOAT_MAT2
01478 #define GL_FLOAT_MAT2                                                0x8B5A
01479 #endif
01480 
01481 #ifndef GL_FLOAT_MAT3
01482 #define GL_FLOAT_MAT3                                                0x8B5B
01483 #endif
01484 
01485 #ifndef GL_FLOAT_MAT4
01486 #define GL_FLOAT_MAT4                                                0x8B5C
01487 #endif
01488 
01489 #ifndef GL_MAX_DRAW_BUFFERS
01490 #define GL_MAX_DRAW_BUFFERS                                          0x8824
01491 #endif
01492 
01493 #ifndef GL_DRAW_BUFFER0
01494 #define GL_DRAW_BUFFER0                                              0x8825
01495 #endif
01496 
01497 #ifndef GL_DRAW_BUFFER1
01498 #define GL_DRAW_BUFFER1                                              0x8826
01499 #endif
01500 
01501 #ifndef GL_DRAW_BUFFER2
01502 #define GL_DRAW_BUFFER2                                              0x8827
01503 #endif
01504 
01505 #ifndef GL_DRAW_BUFFER3
01506 #define GL_DRAW_BUFFER3                                              0x8828
01507 #endif
01508 
01509 #ifndef GL_DRAW_BUFFER4
01510 #define GL_DRAW_BUFFER4                                              0x8829
01511 #endif
01512 
01513 #ifndef GL_DRAW_BUFFER5
01514 #define GL_DRAW_BUFFER5                                              0x882A
01515 #endif
01516 
01517 #ifndef GL_DRAW_BUFFER6
01518 #define GL_DRAW_BUFFER6                                              0x882B
01519 #endif
01520 
01521 #ifndef GL_DRAW_BUFFER7
01522 #define GL_DRAW_BUFFER7                                              0x882C
01523 #endif
01524 
01525 #ifndef GL_DRAW_BUFFER8
01526 #define GL_DRAW_BUFFER8                                              0x882D
01527 #endif
01528 
01529 #ifndef GL_DRAW_BUFFER9
01530 #define GL_DRAW_BUFFER9                                              0x882E
01531 #endif
01532 
01533 #ifndef GL_DRAW_BUFFER10
01534 #define GL_DRAW_BUFFER10                                             0x882F
01535 #endif
01536 
01537 #ifndef GL_DRAW_BUFFER11
01538 #define GL_DRAW_BUFFER11                                             0x8830
01539 #endif
01540 
01541 #ifndef GL_DRAW_BUFFER12
01542 #define GL_DRAW_BUFFER12                                             0x8831
01543 #endif
01544 
01545 #ifndef GL_DRAW_BUFFER13
01546 #define GL_DRAW_BUFFER13                                             0x8832
01547 #endif
01548 
01549 #ifndef GL_DRAW_BUFFER14
01550 #define GL_DRAW_BUFFER14                                             0x8833
01551 #endif
01552 
01553 #ifndef GL_DRAW_BUFFER15
01554 #define GL_DRAW_BUFFER15                                             0x8834
01555 #endif
01556 
01557 #ifndef GL_POINT_SPRITE
01558 #define GL_POINT_SPRITE                                              0x8861
01559 #endif
01560 
01561 #ifndef GL_COORD_REPLACE
01562 #define GL_COORD_REPLACE                                             0x8862
01563 #endif
01564 
01565 #ifndef GL_POINT_SPRITE_COORD_ORIGIN
01566 #define GL_POINT_SPRITE_COORD_ORIGIN                                 0x8CA0
01567 #endif
01568 
01569 #ifndef GL_LOWER_LEFT
01570 #define GL_LOWER_LEFT                                                0x8CA1
01571 #endif
01572 
01573 #ifndef GL_UPPER_LEFT
01574 #define GL_UPPER_LEFT                                                0x8CA2
01575 #endif
01576 
01577 #ifndef GL_BLEND_EQUATION_RGB
01578 #define GL_BLEND_EQUATION_RGB                                        BLEND_EQUATION
01579 #endif
01580 
01581 #ifndef GL_BLEND_EQUATION_ALPHA
01582 #define GL_BLEND_EQUATION_ALPHA                                      0x883D
01583 #endif
01584 
01585 #ifndef GL_STENCIL_BACK_REF
01586 #define GL_STENCIL_BACK_REF                                          0x8CA3
01587 #endif
01588 
01589 #ifndef GL_STENCIL_BACK_VALUE_MASK
01590 #define GL_STENCIL_BACK_VALUE_MASK                                   0x8CA4
01591 #endif
01592 
01593 #ifndef GL_STENCIL_BACK_WRITEMASK
01594 #define GL_STENCIL_BACK_WRITEMASK                                    0x8CA5
01595 #endif
01596 
01597 
01604 typedef GLvoid (csAPIENTRY* csGLDELETESHADER) (GLuint obj);
01605 typedef GLuint (csAPIENTRY* csGLGETHANDLE) (GLenum pname);
01606 typedef GLvoid (csAPIENTRY* csGLDETACHSHADER) (GLuint containerObj, GLuint attachedObj);
01607 typedef GLuint (csAPIENTRY* csGLCREATESHADER) (GLenum shaderType);
01608 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCE) (GLuint shaderObj, GLsizei count, const GLchar** string, const GLint* length);
01609 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADER) (GLuint shaderObj);
01610 typedef GLuint (csAPIENTRY* csGLCREATEPROGRAMOBJECT) ();
01611 typedef GLvoid (csAPIENTRY* csGLATTACHSHADER) (GLuint containerObj, GLuint Obj);
01612 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAM) (GLuint programObj);
01613 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAM) (GLuint programObj);
01614 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAM) (GLuint programObj);
01615 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAM) (GLuint programObj);
01616 typedef GLvoid (csAPIENTRY* csGLUNIFORM1F) (GLint location, GLfloat v0);
01617 typedef GLvoid (csAPIENTRY* csGLUNIFORM2F) (GLint location, GLfloat v0, GLfloat v1);
01618 typedef GLvoid (csAPIENTRY* csGLUNIFORM3F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
01619 typedef GLvoid (csAPIENTRY* csGLUNIFORM4F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
01620 typedef GLvoid (csAPIENTRY* csGLUNIFORM1I) (GLint location, GLint v0);
01621 typedef GLvoid (csAPIENTRY* csGLUNIFORM2I) (GLint location, GLint v0, GLint v1);
01622 typedef GLvoid (csAPIENTRY* csGLUNIFORM3I) (GLint location, GLint v0, GLint v1, GLint v2);
01623 typedef GLvoid (csAPIENTRY* csGLUNIFORM4I) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
01624 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FV) (GLint location, GLsizei count, GLfloat* value);
01625 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FV) (GLint location, GLsizei count, GLfloat* value);
01626 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FV) (GLint location, GLsizei count, GLfloat* value);
01627 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FV) (GLint location, GLsizei count, GLfloat* value);
01628 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IV) (GLint location, GLsizei count, GLint* value);
01629 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IV) (GLint location, GLsizei count, GLint* value);
01630 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IV) (GLint location, GLsizei count, GLint* value);
01631 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IV) (GLint location, GLsizei count, GLint* value);
01632 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01633 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01634 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01635 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFV) (GLuint obj, GLenum pname, GLfloat* params);
01636 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIV) (GLuint obj, GLenum pname, GLint* params);
01637 typedef GLvoid (csAPIENTRY* csGLGETINFOLOG) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* infoLog);
01638 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTS) (GLuint containerObj, GLsizei maxCount, GLsizei* count, GLuint* obj);
01639 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATION) (GLuint programObj, const GLchar* name);
01640 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORM) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
01641 typedef GLint (csAPIENTRY* csGLGETUNIFORMFV) (GLuint programObj, GLint location, GLfloat* params);
01642 typedef GLint (csAPIENTRY* csGLGETUNIFORMIV) (GLuint programObj, GLint location, GLint* params);
01643 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCE) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
01644 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1S) (GLuint index, GLshort x);
01645 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1F) (GLuint index, GLfloat x);
01646 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1D) (GLuint index, GLdouble x);
01647 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2S) (GLuint index, GLshort x, GLshort y);
01648 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2F) (GLuint index, GLfloat x, GLfloat y);
01649 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2D) (GLuint index, GLdouble x, GLdouble y);
01650 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3S) (GLuint index, GLshort x, GLshort y, GLshort z);
01651 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3F) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
01652 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3D) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
01653 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4S) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
01654 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4F) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
01655 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4D) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
01656 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
01657 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SV) (GLuint index, const GLshort* v);
01658 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FV) (GLuint index, const GLfloat* v);
01659 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DV) (GLuint index, const GLdouble* v);
01660 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SV) (GLuint index, const GLshort* v);
01661 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FV) (GLuint index, const GLfloat* v);
01662 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DV) (GLuint index, const GLdouble* v);
01663 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SV) (GLuint index, const GLshort* v);
01664 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FV) (GLuint index, const GLfloat* v);
01665 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DV) (GLuint index, const GLdouble* v);
01666 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BV) (GLuint index, const GLbyte* v);
01667 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SV) (GLuint index, const GLshort* v);
01668 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IV) (GLuint index, const GLint* v);
01669 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBV) (GLuint index, const GLubyte* v);
01670 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USV) (GLuint index, const GLushort* v);
01671 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIV) (GLuint index, const GLuint* v);
01672 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FV) (GLuint index, const GLfloat* v);
01673 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DV) (GLuint index, const GLdouble* v);
01674 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBV) (GLuint index, const GLbyte* v);
01675 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSV) (GLuint index, const GLshort* v);
01676 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIV) (GLuint index, const GLint* v);
01677 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBV) (GLuint index, const GLubyte* v);
01678 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSV) (GLuint index, const GLushort* v);
01679 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIV) (GLuint index, const GLuint* v);
01680 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTER) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
01681 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAY) (GLuint index);
01682 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAY) (GLuint index);
01683 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATION) (GLuint programObj, GLuint index, const GLchar* name);
01684 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIB) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
01685 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATION) (GLuint programObj, const GLchar* name);
01686 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERV) (GLuint index, GLenum pname, GLvoid** pointer);
01687 typedef GLvoid (csAPIENTRY* csGLDRAWBUFFERS) (GLsizei n, const GLenum* bufs);
01688 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATE) (GLenum modeRGB, GLenum modeAlpha);
01689 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATE) (GLenum face, GLenum func, GLint ref, GLuint mask);
01690 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATE) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
01691 
01697 #ifndef GL_PIXEL_PACK_BUFFER
01698 #define GL_PIXEL_PACK_BUFFER                                         0x88EB
01699 #endif
01700 
01701 #ifndef GL_PIXEL_UNPACK_BUFFER
01702 #define GL_PIXEL_UNPACK_BUFFER                                       0x88EC
01703 #endif
01704 
01705 #ifndef GL_PIXEL_PACK_BUFFER_BINDING
01706 #define GL_PIXEL_PACK_BUFFER_BINDING                                 0x88ED
01707 #endif
01708 
01709 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING
01710 #define GL_PIXEL_UNPACK_BUFFER_BINDING                               0x88EF
01711 #endif
01712 
01713 #ifndef GL_SRGB
01714 #define GL_SRGB                                                      0x8C40
01715 #endif
01716 
01717 #ifndef GL_SRGB8
01718 #define GL_SRGB8                                                     0x8C41
01719 #endif
01720 
01721 #ifndef GL_SRGB_ALPHA
01722 #define GL_SRGB_ALPHA                                                0x8C42
01723 #endif
01724 
01725 #ifndef GL_SRGB8_ALPHA8
01726 #define GL_SRGB8_ALPHA8                                              0x8C43
01727 #endif
01728 
01729 #ifndef GL_SLUMINANCE_ALPHA
01730 #define GL_SLUMINANCE_ALPHA                                          0x8C44
01731 #endif
01732 
01733 #ifndef GL_SLUMINANCE8_ALPHA8
01734 #define GL_SLUMINANCE8_ALPHA8                                        0x8C45
01735 #endif
01736 
01737 #ifndef GL_SLUMINANCE
01738 #define GL_SLUMINANCE                                                0x8C46
01739 #endif
01740 
01741 #ifndef GL_SLUMINANCE8
01742 #define GL_SLUMINANCE8                                               0x8C47
01743 #endif
01744 
01745 #ifndef GL_COMPRESSED_SRGB
01746 #define GL_COMPRESSED_SRGB                                           0x8C48
01747 #endif
01748 
01749 #ifndef GL_COMPRESSED_SRGB_ALPHA
01750 #define GL_COMPRESSED_SRGB_ALPHA                                     0x8C49
01751 #endif
01752 
01753 #ifndef GL_COMPRESSED_SLUMINANCE
01754 #define GL_COMPRESSED_SLUMINANCE                                     0x8C4A
01755 #endif
01756 
01757 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA
01758 #define GL_COMPRESSED_SLUMINANCE_ALPHA                               0x8C4B
01759 #endif
01760 
01761 
01768 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01769 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01770 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01771 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01772 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01773 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
01774 
01778 #ifndef GL_QUERY_COUNTER_BITS_ARB
01779 #define GL_QUERY_COUNTER_BITS_ARB                                    0x8864
01780 #endif
01781 
01782 #ifndef GL_CURRENT_QUERY_ARB
01783 #define GL_CURRENT_QUERY_ARB                                         0x8865
01784 #endif
01785 
01786 #ifndef GL_QUERY_RESULT_ARB
01787 #define GL_QUERY_RESULT_ARB                                          0x8866
01788 #endif
01789 
01790 #ifndef GL_QUERY_RESULT_AVAILABLE_ARB
01791 #define GL_QUERY_RESULT_AVAILABLE_ARB                                0x8867
01792 #endif
01793 
01794 
01799 typedef GLvoid (csAPIENTRY* csGLGENQUERIESARB) (GLsizei n, GLuint* ids);
01800 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIESARB) (GLsizei n, GLuint* ids);
01801 typedef GLboolean (csAPIENTRY* csGLISQUERYARB) (GLuint id);
01802 typedef GLvoid (csAPIENTRY* csGLBEGINQUERYARB) (GLenum target, GLuint id);
01803 typedef GLvoid (csAPIENTRY* csGLENDQUERYARB) (GLenum target);
01804 typedef GLvoid (csAPIENTRY* csGLGETQUERYIVARB) (GLenum target, GLenum pname, GLint* params);
01805 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIVARB) (GLuint id, GLenum pname, GLint* params);
01806 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIVARB) (GLuint id, GLenum pname, GLuint* params);
01807 
01816 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTI64V) (GLuint id, GLenum pname, GLint64* params);
01817 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUI64V) (GLuint id, GLenum pname, GLuint64* params);
01818 
01827 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSINSTANCEDARB) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
01828 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTSINSTANCEDARB) (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei primcount);
01829 
01834 #ifndef GL_CONSTANT_COLOR
01835 #define GL_CONSTANT_COLOR                                             32769
01836 #endif
01837 
01838 #ifndef GL_ONE_MINUS_CONSTANT_COLOR
01839 #define GL_ONE_MINUS_CONSTANT_COLOR                                   32770
01840 #endif
01841 
01842 #ifndef GL_CONSTANT_ALPHA
01843 #define GL_CONSTANT_ALPHA                                             32771
01844 #endif
01845 
01846 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA
01847 #define GL_ONE_MINUS_CONSTANT_ALPHA                                   32772
01848 #endif
01849 
01850 #ifndef GL_BLEND_COLOR
01851 #define GL_BLEND_COLOR                                                32773
01852 #endif
01853 
01854 #ifndef GL_FUNC_ADD
01855 #define GL_FUNC_ADD                                                   32774
01856 #endif
01857 
01858 #ifndef GL_MIN
01859 #define GL_MIN                                                        32775
01860 #endif
01861 
01862 #ifndef GL_MAX
01863 #define GL_MAX                                                        32776
01864 #endif
01865 
01866 #ifndef GL_BLEND_EQUATION
01867 #define GL_BLEND_EQUATION                                             32777
01868 #endif
01869 
01870 #ifndef GL_FUNC_SUBTRACT
01871 #define GL_FUNC_SUBTRACT                                              32778
01872 #endif
01873 
01874 #ifndef GL_FUNC_REVERSE_SUBTRACT
01875 #define GL_FUNC_REVERSE_SUBTRACT                                      32779
01876 #endif
01877 
01878 #ifndef GL_CONVOLUTION_1D
01879 #define GL_CONVOLUTION_1D                                             32784
01880 #endif
01881 
01882 #ifndef GL_CONVOLUTION_2D
01883 #define GL_CONVOLUTION_2D                                             32785
01884 #endif
01885 
01886 #ifndef GL_SEPARABLE_2D
01887 #define GL_SEPARABLE_2D                                               32786
01888 #endif
01889 
01890 #ifndef GL_CONVOLUTION_BORDER_MODE
01891 #define GL_CONVOLUTION_BORDER_MODE                                    32787
01892 #endif
01893 
01894 #ifndef GL_CONVOLUTION_FILTER_SCALE
01895 #define GL_CONVOLUTION_FILTER_SCALE                                   32788
01896 #endif
01897 
01898 #ifndef GL_CONVOLUTION_FILTER_BIAS
01899 #define GL_CONVOLUTION_FILTER_BIAS                                    32789
01900 #endif
01901 
01902 #ifndef GL_REDUCE
01903 #define GL_REDUCE                                                     32790
01904 #endif
01905 
01906 #ifndef GL_CONVOLUTION_FORMAT
01907 #define GL_CONVOLUTION_FORMAT                                         32791
01908 #endif
01909 
01910 #ifndef GL_CONVOLUTION_WIDTH
01911 #define GL_CONVOLUTION_WIDTH                                          32792
01912 #endif
01913 
01914 #ifndef GL_CONVOLUTION_HEIGHT
01915 #define GL_CONVOLUTION_HEIGHT                                         32793
01916 #endif
01917 
01918 #ifndef GL_MAX_CONVOLUTION_WIDTH
01919 #define GL_MAX_CONVOLUTION_WIDTH                                      32794
01920 #endif
01921 
01922 #ifndef GL_MAX_CONVOLUTION_HEIGHT
01923 #define GL_MAX_CONVOLUTION_HEIGHT                                     32795
01924 #endif
01925 
01926 #ifndef GL_POST_CONVOLUTION_RED_SCALE
01927 #define GL_POST_CONVOLUTION_RED_SCALE                                 32796
01928 #endif
01929 
01930 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE
01931 #define GL_POST_CONVOLUTION_GREEN_SCALE                               32797
01932 #endif
01933 
01934 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE
01935 #define GL_POST_CONVOLUTION_BLUE_SCALE                                32798
01936 #endif
01937 
01938 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE
01939 #define GL_POST_CONVOLUTION_ALPHA_SCALE                               32799
01940 #endif
01941 
01942 #ifndef GL_POST_CONVOLUTION_RED_BIAS
01943 #define GL_POST_CONVOLUTION_RED_BIAS                                  32800
01944 #endif
01945 
01946 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS
01947 #define GL_POST_CONVOLUTION_GREEN_BIAS                                32801
01948 #endif
01949 
01950 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS
01951 #define GL_POST_CONVOLUTION_BLUE_BIAS                                 32802
01952 #endif
01953 
01954 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS
01955 #define GL_POST_CONVOLUTION_ALPHA_BIAS                                32803
01956 #endif
01957 
01958 #ifndef GL_HISTOGRAM
01959 #define GL_HISTOGRAM                                                  32804
01960 #endif
01961 
01962 #ifndef GL_PROXY_HISTOGRAM
01963 #define GL_PROXY_HISTOGRAM                                            32805
01964 #endif
01965 
01966 #ifndef GL_HISTOGRAM_WIDTH
01967 #define GL_HISTOGRAM_WIDTH                                            32806
01968 #endif
01969 
01970 #ifndef GL_HISTOGRAM_FORMAT
01971 #define GL_HISTOGRAM_FORMAT                                           32807
01972 #endif
01973 
01974 #ifndef GL_HISTOGRAM_RED_SIZE
01975 #define GL_HISTOGRAM_RED_SIZE                                         32808
01976 #endif
01977 
01978 #ifndef GL_HISTOGRAM_GREEN_SIZE
01979 #define GL_HISTOGRAM_GREEN_SIZE                                       32809
01980 #endif
01981 
01982 #ifndef GL_HISTOGRAM_BLUE_SIZE
01983 #define GL_HISTOGRAM_BLUE_SIZE                                        32810
01984 #endif
01985 
01986 #ifndef GL_HISTOGRAM_ALPHA_SIZE
01987 #define GL_HISTOGRAM_ALPHA_SIZE                                       32811
01988 #endif
01989 
01990 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE
01991 #define GL_HISTOGRAM_LUMINANCE_SIZE                                   32812
01992 #endif
01993 
01994 #ifndef GL_HISTOGRAM_SINK
01995 #define GL_HISTOGRAM_SINK                                             32813
01996 #endif
01997 
01998 #ifndef GL_MINMAX
01999 #define GL_MINMAX                                                     32814
02000 #endif
02001 
02002 #ifndef GL_MINMAX_FORMAT
02003 #define GL_MINMAX_FORMAT                                              32815
02004 #endif
02005 
02006 #ifndef GL_MINMAX_SINK
02007 #define GL_MINMAX_SINK                                                32816
02008 #endif
02009 
02010 #ifndef GL_TABLE_TOO_LARGE
02011 #define GL_TABLE_TOO_LARGE                                            32817
02012 #endif
02013 
02014 #ifndef GL_COLOR_MATRIX
02015 #define GL_COLOR_MATRIX                                               32945
02016 #endif
02017 
02018 #ifndef GL_COLOR_MATRIX_STACK_DEPTH
02019 #define GL_COLOR_MATRIX_STACK_DEPTH                                   32946
02020 #endif
02021 
02022 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH
02023 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH                               32947
02024 #endif
02025 
02026 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE
02027 #define GL_POST_COLOR_MATRIX_RED_SCALE                                32948
02028 #endif
02029 
02030 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE
02031 #define GL_POST_COLOR_MATRIX_GREEN_SCALE                              32949
02032 #endif
02033 
02034 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE
02035 #define GL_POST_COLOR_MATRIX_BLUE_SCALE                               32950
02036 #endif
02037 
02038 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE
02039 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE                              32951
02040 #endif
02041 
02042 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS
02043 #define GL_POST_COLOR_MATRIX_RED_BIAS                                 32952
02044 #endif
02045 
02046 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS
02047 #define GL_POST_COLOR_MATRIX_GREEN_BIAS                               32953
02048 #endif
02049 
02050 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS
02051 #define GL_POST_COLOR_MATRIX_BLUE_BIAS                                32954
02052 #endif
02053 
02054 #ifndef GL_POST_COLOR_MATIX_ALPHA_BIAS
02055 #define GL_POST_COLOR_MATIX_ALPHA_BIAS                                32955
02056 #endif
02057 
02058 #ifndef GL_COLOR_TABLE
02059 #define GL_COLOR_TABLE                                                32976
02060 #endif
02061 
02062 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE
02063 #define GL_POST_CONVOLUTION_COLOR_TABLE                               32977
02064 #endif
02065 
02066 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE
02067 #define GL_POST_COLOR_MATRIX_COLOR_TABLE                              32978
02068 #endif
02069 
02070 #ifndef GL_PROXY_COLOR_TABLE
02071 #define GL_PROXY_COLOR_TABLE                                          32979
02072 #endif
02073 
02074 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE
02075 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE                         32980
02076 #endif
02077 
02078 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE
02079 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE                        32981
02080 #endif
02081 
02082 #ifndef GL_COLOR_TABLE_SCALE
02083 #define GL_COLOR_TABLE_SCALE                                          32982
02084 #endif
02085 
02086 #ifndef GL_COLOR_TABLE_BIAS
02087 #define GL_COLOR_TABLE_BIAS                                           32983
02088 #endif
02089 
02090 #ifndef GL_COLOR_TABLE_FORMAT
02091 #define GL_COLOR_TABLE_FORMAT                                         32984
02092 #endif
02093 
02094 #ifndef GL_COLOR_TABLE_WIDTH
02095 #define GL_COLOR_TABLE_WIDTH                                          32985
02096 #endif
02097 
02098 #ifndef GL_COLOR_TABLE_RED_SIZE
02099 #define GL_COLOR_TABLE_RED_SIZE                                       32986
02100 #endif
02101 
02102 #ifndef GL_COLOR_TABLE_GREEN_SIZE
02103 #define GL_COLOR_TABLE_GREEN_SIZE                                     32987
02104 #endif
02105 
02106 #ifndef GL_COLOR_TABLE_BLUE_SIZE
02107 #define GL_COLOR_TABLE_BLUE_SIZE                                      32988
02108 #endif
02109 
02110 #ifndef GL_COLOR_TABLE_ALPHA_SIZE
02111 #define GL_COLOR_TABLE_ALPHA_SIZE                                     32989
02112 #endif
02113 
02114 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE
02115 #define GL_COLOR_TABLE_LUMINANCE_SIZE                                 32990
02116 #endif
02117 
02118 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE
02119 #define GL_COLOR_TABLE_INTENSITY_SIZE                                 32991
02120 #endif
02121 
02122 #ifndef GL_IGNORE_BORDER
02123 #define GL_IGNORE_BORDER                                              33104
02124 #endif
02125 
02126 #ifndef GL_CONSTANT_BORDER
02127 #define GL_CONSTANT_BORDER                                            33105
02128 #endif
02129 
02130 #ifndef GL_WRAP_BORDER
02131 #define GL_WRAP_BORDER                                                33106
02132 #endif
02133 
02134 #ifndef GL_REPLICATE_BORDER
02135 #define GL_REPLICATE_BORDER                                           33107
02136 #endif
02137 
02138 #ifndef GL_CONVOLUTION_BORDER_COLOR
02139 #define GL_CONVOLUTION_BORDER_COLOR                                   33108
02140 #endif
02141 
02142 
02148 typedef GLvoid (csAPIENTRY* csGLCOLORTABLE) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
02149 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
02150 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
02151 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLE) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
02152 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLE) (GLenum target, GLenum format, GLenum type, GLvoid* table);
02153 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02154 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02155 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLE) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
02156 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLE) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
02157 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
02158 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
02159 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERF) (GLenum target, GLenum pname, GLfloat params);
02160 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params);
02161 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERI) (GLenum target, GLenum pname, GLint params);
02162 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, const GLint* params);
02163 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
02164 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
02165 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* image);
02166 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02167 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02168 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
02169 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
02170 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAM) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
02171 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02172 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02173 typedef GLvoid (csAPIENTRY* csGLGETMINMAX) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
02174 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params);
02175 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIV) (GLenum target, GLenum pname, GLint* params);
02176 typedef GLvoid (csAPIENTRY* csGLHISTOGRAM) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
02177 typedef GLvoid (csAPIENTRY* csGLMINMAX) (GLenum target, GLenum internalformat, GLboolean sink);
02178 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAM) (GLenum target);
02179 typedef GLvoid (csAPIENTRY* csGLRESETMINMAX) (GLenum target);
02180 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOR) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
02181 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATION) (GLenum mode);
02182 
02187 #ifndef GL_TEXTURE0_ARB
02188 #define GL_TEXTURE0_ARB                                               33984
02189 #endif
02190 
02191 #ifndef GL_TEXTURE1_ARB
02192 #define GL_TEXTURE1_ARB                                               33985
02193 #endif
02194 
02195 #ifndef GL_TEXTURE2_ARB
02196 #define GL_TEXTURE2_ARB                                               33986
02197 #endif
02198 
02199 #ifndef GL_TEXTURE3_ARB
02200 #define GL_TEXTURE3_ARB                                               33987
02201 #endif
02202 
02203 #ifndef GL_TEXTURE4_ARB
02204 #define GL_TEXTURE4_ARB                                               33988
02205 #endif
02206 
02207 #ifndef GL_TEXTURE5_ARB
02208 #define GL_TEXTURE5_ARB                                               33989
02209 #endif
02210 
02211 #ifndef GL_TEXTURE6_ARB
02212 #define GL_TEXTURE6_ARB                                               33990
02213 #endif
02214 
02215 #ifndef GL_TEXTURE7_ARB
02216 #define GL_TEXTURE7_ARB                                               33991
02217 #endif
02218 
02219 #ifndef GL_TEXTURE8_ARB
02220 #define GL_TEXTURE8_ARB                                               33992
02221 #endif
02222 
02223 #ifndef GL_TEXTURE9_ARB
02224 #define GL_TEXTURE9_ARB                                               33993
02225 #endif
02226 
02227 #ifndef GL_TEXTURE10_ARB
02228 #define GL_TEXTURE10_ARB                                              33994
02229 #endif
02230 
02231 #ifndef GL_TEXTURE11_ARB
02232 #define GL_TEXTURE11_ARB                                              33995
02233 #endif
02234 
02235 #ifndef GL_TEXTURE12_ARB
02236 #define GL_TEXTURE12_ARB                                              33996
02237 #endif
02238 
02239 #ifndef GL_TEXTURE13_ARB
02240 #define GL_TEXTURE13_ARB                                              33997
02241 #endif
02242 
02243 #ifndef GL_TEXTURE14_ARB
02244 #define GL_TEXTURE14_ARB                                              33998
02245 #endif
02246 
02247 #ifndef GL_TEXTURE15_ARB
02248 #define GL_TEXTURE15_ARB                                              33999
02249 #endif
02250 
02251 #ifndef GL_TEXTURE16_ARB
02252 #define GL_TEXTURE16_ARB                                              34000
02253 #endif
02254 
02255 #ifndef GL_TEXTURE17_ARB
02256 #define GL_TEXTURE17_ARB                                              34001
02257 #endif
02258 
02259 #ifndef GL_TEXTURE18_ARB
02260 #define GL_TEXTURE18_ARB                                              34002
02261 #endif
02262 
02263 #ifndef GL_TEXTURE19_ARB
02264 #define GL_TEXTURE19_ARB                                              34003
02265 #endif
02266 
02267 #ifndef GL_TEXTURE20_ARB
02268 #define GL_TEXTURE20_ARB                                              34004
02269 #endif
02270 
02271 #ifndef GL_TEXTURE21_ARB
02272 #define GL_TEXTURE21_ARB                                              34005
02273 #endif
02274 
02275 #ifndef GL_TEXTURE22_ARB
02276 #define GL_TEXTURE22_ARB                                              34006
02277 #endif
02278 
02279 #ifndef GL_TEXTURE23_ARB
02280 #define GL_TEXTURE23_ARB                                              34007
02281 #endif
02282 
02283 #ifndef GL_TEXTURE24_ARB
02284 #define GL_TEXTURE24_ARB                                              34008
02285 #endif
02286 
02287 #ifndef GL_TEXTURE25_ARB
02288 #define GL_TEXTURE25_ARB                                              34009
02289 #endif
02290 
02291 #ifndef GL_TEXTURE26_ARB
02292 #define GL_TEXTURE26_ARB                                              34010
02293 #endif
02294 
02295 #ifndef GL_TEXTURE27_ARB
02296 #define GL_TEXTURE27_ARB                                              34011
02297 #endif
02298 
02299 #ifndef GL_TEXTURE28_ARB
02300 #define GL_TEXTURE28_ARB                                              34012
02301 #endif
02302 
02303 #ifndef GL_TEXTURE29_ARB
02304 #define GL_TEXTURE29_ARB                                              34013
02305 #endif
02306 
02307 #ifndef GL_TEXTURE30_ARB
02308 #define GL_TEXTURE30_ARB                                              34014
02309 #endif
02310 
02311 #ifndef GL_TEXTURE31_ARB
02312 #define GL_TEXTURE31_ARB                                              34015
02313 #endif
02314 
02315 #ifndef GL_ACTIVE_TEXTURE_ARB
02316 #define GL_ACTIVE_TEXTURE_ARB                                         34016
02317 #endif
02318 
02319 #ifndef GL_CLIENT_ACTIVE_TEXTURE_ARB
02320 #define GL_CLIENT_ACTIVE_TEXTURE_ARB                                  34017
02321 #endif
02322 
02323 #ifndef GL_MAX_TEXTURE_UNITS_ARB
02324 #define GL_MAX_TEXTURE_UNITS_ARB                                      34018
02325 #endif
02326 
02327 
02333 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTUREARB) (GLenum texture);
02334 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTUREARB) (GLenum texture);
02335 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DARB) (GLenum target, GLdouble s);
02336 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DVARB) (GLenum target, const GLdouble* v);
02337 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FARB) (GLenum target, GLfloat s);
02338 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FVARB) (GLenum target, const GLfloat* v);
02339 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IARB) (GLenum target, GLint s);
02340 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IVARB) (GLenum target, const GLint* v);
02341 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SARB) (GLenum target, GLshort s);
02342 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SVARB) (GLenum target, const GLshort* v);
02343 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DARB) (GLenum target, GLdouble s, GLdouble t);
02344 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DVARB) (GLenum target, const GLdouble* v);
02345 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FARB) (GLenum target, GLfloat s, GLfloat t);
02346 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FVARB) (GLenum target, const GLfloat* v);
02347 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IARB) (GLenum target, GLint s, GLint t);
02348 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IVARB) (GLenum target, const GLint* v);
02349 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SARB) (GLenum target, GLshort s, GLshort t);
02350 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SVARB) (GLenum target, const GLshort* v);
02351 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
02352 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DVARB) (GLenum target, const GLdouble* v);
02353 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
02354 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FVARB) (GLenum target, const GLfloat* v);
02355 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IARB) (GLenum target, GLint s, GLint t, GLint r);
02356 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IVARB) (GLenum target, const GLint* v);
02357 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SARB) (GLenum target, GLshort s, GLshort t, GLshort r);
02358 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SVARB) (GLenum target, const GLshort* v);
02359 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
02360 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DVARB) (GLenum target, const GLdouble* v);
02361 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
02362 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FVARB) (GLenum target, const GLfloat* v);
02363 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IARB) (GLenum target, GLint s, GLint t, GLint r, GLint q);
02364 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IVARB) (GLenum target, const GLint* v);
02365 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
02366 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SVARB) (GLenum target, const GLshort* v);
02367 
02372 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX_ARB
02373 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB                             34019
02374 #endif
02375 
02376 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX_ARB
02377 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB                            34020
02378 #endif
02379 
02380 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX_ARB
02381 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB                               34021
02382 #endif
02383 
02384 #ifndef GL_TRANSPOSE_COLOR_MATRIX_ARB
02385 #define GL_TRANSPOSE_COLOR_MATRIX_ARB                                 34022
02386 #endif
02387 
02388 
02394 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXFARB) (GLfloat* m);
02395 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXDARB) (GLdouble* m);
02396 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXFARB) (GLfloat* m);
02397 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXDARB) (GLdouble* m);
02398 
02403 #ifndef WGL_SAMPLE_BUFFERS_ARB
02404 #define WGL_SAMPLE_BUFFERS_ARB                                         8257
02405 #endif
02406 
02407 #ifndef WGL_SAMPLES_ARB
02408 #define WGL_SAMPLES_ARB                                                8258
02409 #endif
02410 
02411 #ifndef GL_MULTISAMPLE_ARB
02412 #define GL_MULTISAMPLE_ARB                                            32925
02413 #endif
02414 
02415 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE_ARB
02416 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB                               32926
02417 #endif
02418 
02419 #ifndef GL_SAMPLE_ALPHA_TO_ONE_ARB
02420 #define GL_SAMPLE_ALPHA_TO_ONE_ARB                                    32927
02421 #endif
02422 
02423 #ifndef GL_SAMPLE_COVERAGE_ARB
02424 #define GL_SAMPLE_COVERAGE_ARB                                        32928
02425 #endif
02426 
02427 #ifndef GL_MULTISAMPLE_BIT_ARB
02428 #define GL_MULTISAMPLE_BIT_ARB                                       536870912
02429 #endif
02430 
02431 #ifndef GL_SAMPLE_BUFFERS_ARB
02432 #define GL_SAMPLE_BUFFERS_ARB                                         32936
02433 #endif
02434 
02435 #ifndef GL_SAMPLES_ARB
02436 #define GL_SAMPLES_ARB                                                32937
02437 #endif
02438 
02439 #ifndef GL_SAMPLE_COVERAGE_VALUE_ARB
02440 #define GL_SAMPLE_COVERAGE_VALUE_ARB                                  32938
02441 #endif
02442 
02443 #ifndef GL_SAMPLE_COVERAGE_INVERT_ARB
02444 #define GL_SAMPLE_COVERAGE_INVERT_ARB                                 32939
02445 #endif
02446 
02447 
02453 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGEARB) (GLclampf value, GLboolean invert);
02454 
02456 #ifdef CS_OPENGL_GLX
02457 
02460 #ifndef GLX_SAMPLE_BUFFERS_ARB
02461 #define GLX_SAMPLE_BUFFERS_ARB                                       100000
02462 #endif
02463 
02464 #ifndef GLX_SAMPLES_ARB
02465 #define GLX_SAMPLES_ARB                                              100001
02466 #endif
02467 
02468 
02476 #endif
02477 
02489 #ifdef _WIN32
02490 
02499 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGARB) (HDC hdc);
02500 
02502 #endif
02503 
02504 #ifdef _WIN32
02505 
02508 #ifndef WGL_FRONT_COLOR_BUFFER_BIT_ARB
02509 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB                                    1
02510 #endif
02511 
02512 #ifndef WGL_BACK_COLOR_BUFFER_BIT_ARB
02513 #define WGL_BACK_COLOR_BUFFER_BIT_ARB                                     2
02514 #endif
02515 
02516 #ifndef WGL_DEPTH_BUFFER_BIT_ARB
02517 #define WGL_DEPTH_BUFFER_BIT_ARB                                          4
02518 #endif
02519 
02520 #ifndef WGL_STENCIL_BUFFER_BIT_ARB
02521 #define WGL_STENCIL_BUFFER_BIT_ARB                                        8
02522 #endif
02523 
02524 
02530 typedef HANDLE (csAPIENTRY* csWGLCREATEBUFFERREGIONARB) (HDC hDC, GLint iLayerPlane, GLuint uType);
02531 typedef GLvoid (csAPIENTRY* csWGLDELETEBUFFERREGIONARB) (HANDLE hRegion);
02532 typedef BOOL (csAPIENTRY* csWGLSAVEBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height);
02533 typedef BOOL (csAPIENTRY* csWGLRESTOREBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height, GLint xSrc, GLint ySrc);
02534 
02536 #endif
02537 
02541 #ifndef GL_NORMAL_MAP_ARB
02542 #define GL_NORMAL_MAP_ARB                                             34065
02543 #endif
02544 
02545 #ifndef GL_REFLECTION_MAP_ARB
02546 #define GL_REFLECTION_MAP_ARB                                         34066
02547 #endif
02548 
02549 #ifndef GL_TEXTURE_CUBE_MAP_ARB
02550 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
02551 #endif
02552 
02553 #ifndef GL_TEXTURE_BINDING_CUBE_MAP_ARB
02554 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB                               34068
02555 #endif
02556 
02557 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
02558 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            34069
02559 #endif
02560 
02561 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
02562 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            34070
02563 #endif
02564 
02565 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
02566 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            34071
02567 #endif
02568 
02569 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
02570 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            34072
02571 #endif
02572 
02573 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
02574 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            34073
02575 #endif
02576 
02577 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
02578 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            34074
02579 #endif
02580 
02581 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
02582 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
02583 #endif
02584 
02585 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB
02586 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB                              34076
02587 #endif
02588 
02589 
02600 #ifndef GL_DEPTH_COMPONENT16_ARB
02601 #define GL_DEPTH_COMPONENT16_ARB                                      33189
02602 #endif
02603 
02604 #ifndef GL_DEPTH_COMPONENT24_ARB
02605 #define GL_DEPTH_COMPONENT24_ARB                                      33190
02606 #endif
02607 
02608 #ifndef GL_DEPTH_COMPONENT32_ARB
02609 #define GL_DEPTH_COMPONENT32_ARB                                      33191
02610 #endif
02611 
02612 #ifndef GL_TEXTURE_DEPTH_SIZE_ARB
02613 #define GL_TEXTURE_DEPTH_SIZE_ARB                                     34890
02614 #endif
02615 
02616 #ifndef GL_DEPTH_TEXTURE_MODE_ARB
02617 #define GL_DEPTH_TEXTURE_MODE_ARB                                     34891
02618 #endif
02619 
02620 
02631 #ifndef GL_POINT_SIZE_MIN_ARB
02632 #define GL_POINT_SIZE_MIN_ARB                                         33062
02633 #endif
02634 
02635 #ifndef GL_POINT_SIZE_MAX_ARB
02636 #define GL_POINT_SIZE_MAX_ARB                                         33063
02637 #endif
02638 
02639 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_ARB
02640 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB                              33064
02641 #endif
02642 
02643 #ifndef GL_POINT_DISTANCE_ATTENUATION_ARB
02644 #define GL_POINT_DISTANCE_ATTENUATION_ARB                             33065
02645 #endif
02646 
02647 
02653 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFARB) (GLenum pname, GLfloat param);
02654 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVARB) (GLenum pname, GLfloat* params);
02655 
02660 #ifndef GL_TEXTURE_COMPARE_MODE_ARB
02661 #define GL_TEXTURE_COMPARE_MODE_ARB                                   34892
02662 #endif
02663 
02664 #ifndef GL_TEXTURE_COMPARE_FUNC_ARB
02665 #define GL_TEXTURE_COMPARE_FUNC_ARB                                   34893
02666 #endif
02667 
02668 #ifndef GL_COMPARE_R_TO_TEXTURE_ARB
02669 #define GL_COMPARE_R_TO_TEXTURE_ARB                                   34894
02670 #endif
02671 
02672 
02683 #ifndef GL_TEXTURE_COMPARE_FAIL_VALUE_ARB
02684 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB                             32959
02685 #endif
02686 
02687 
02698 #ifndef GL_CLAMP_TO_BORDER_ARB
02699 #define GL_CLAMP_TO_BORDER_ARB                                        33069
02700 #endif
02701 
02702 
02713 #ifndef GL_COMPRESSED_ALPHA_ARB
02714 #define GL_COMPRESSED_ALPHA_ARB                                       34025
02715 #endif
02716 
02717 #ifndef GL_COMPRESSED_LUMINANCE_ARB
02718 #define GL_COMPRESSED_LUMINANCE_ARB                                   34026
02719 #endif
02720 
02721 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA_ARB
02722 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB                             34027
02723 #endif
02724 
02725 #ifndef GL_COMPRESSED_INTENSITY_ARB
02726 #define GL_COMPRESSED_INTENSITY_ARB                                   34028
02727 #endif
02728 
02729 #ifndef GL_COMPRESSED_RGB_ARB
02730 #define GL_COMPRESSED_RGB_ARB                                         34029
02731 #endif
02732 
02733 #ifndef GL_COMPRESSED_RGBA_ARB
02734 #define GL_COMPRESSED_RGBA_ARB                                        34030
02735 #endif
02736 
02737 #ifndef GL_TEXTURE_COMPRESSION_HINT_ARB
02738 #define GL_TEXTURE_COMPRESSION_HINT_ARB                               34031
02739 #endif
02740 
02741 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
02742 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB                          34464
02743 #endif
02744 
02745 #ifndef GL_TEXTURE_COMPRESSED_ARB
02746 #define GL_TEXTURE_COMPRESSED_ARB                                     34465
02747 #endif
02748 
02749 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
02750 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB                         34466
02751 #endif
02752 
02753 #ifndef GL_COMPRESSED_TEXTURE_FORMATS_ARB
02754 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB                             34467
02755 #endif
02756 
02757 
02763 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);
02764 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);
02765 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data);
02766 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);
02767 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);
02768 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data);
02769 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGEARB) (GLenum target, GLint lod, GLvoid* img);
02770 
02775 #ifndef GL_COMBINE_ARB
02776 #define GL_COMBINE_ARB                                                34160
02777 #endif
02778 
02779 #ifndef GL_COMBINE_RGB_ARB
02780 #define GL_COMBINE_RGB_ARB                                            34161
02781 #endif
02782 
02783 #ifndef GL_COMBINE_ALPHA_ARB
02784 #define GL_COMBINE_ALPHA_ARB                                          34162
02785 #endif
02786 
02787 #ifndef GL_SOURCE0_RGB_ARB
02788 #define GL_SOURCE0_RGB_ARB                                            34176
02789 #endif
02790 
02791 #ifndef GL_SOURCE1_RGB_ARB
02792 #define GL_SOURCE1_RGB_ARB                                            34177
02793 #endif
02794 
02795 #ifndef GL_SOURCE2_RGB_ARB
02796 #define GL_SOURCE2_RGB_ARB                                            34178
02797 #endif
02798 
02799 #ifndef GL_SOURCE0_ALPHA_ARB
02800 #define GL_SOURCE0_ALPHA_ARB                                          34184
02801 #endif
02802 
02803 #ifndef GL_SOURCE1_ALPHA_ARB
02804 #define GL_SOURCE1_ALPHA_ARB                                          34185
02805 #endif
02806 
02807 #ifndef GL_SOURCE2_ALPHA_ARB
02808 #define GL_SOURCE2_ALPHA_ARB                                          34186
02809 #endif
02810 
02811 #ifndef GL_OPERAND0_RGB_ARB
02812 #define GL_OPERAND0_RGB_ARB                                           34192
02813 #endif
02814 
02815 #ifndef GL_OPERAND1_RGB_ARB
02816 #define GL_OPERAND1_RGB_ARB                                           34193
02817 #endif
02818 
02819 #ifndef GL_OPERAND2_RGB_ARB
02820 #define GL_OPERAND2_RGB_ARB                                           34194
02821 #endif
02822 
02823 #ifndef GL_OPERAND0_ALPHA_ARB
02824 #define GL_OPERAND0_ALPHA_ARB                                         34200
02825 #endif
02826 
02827 #ifndef GL_OPERAND1_ALPHA_ARB
02828 #define GL_OPERAND1_ALPHA_ARB                                         34201
02829 #endif
02830 
02831 #ifndef GL_OPERAND2_ALPHA_ARB
02832 #define GL_OPERAND2_ALPHA_ARB                                         34202
02833 #endif
02834 
02835 #ifndef GL_RGB_SCALE_ARB
02836 #define GL_RGB_SCALE_ARB                                              34163
02837 #endif
02838 
02839 #ifndef GL_ADD_SIGNED_ARB
02840 #define GL_ADD_SIGNED_ARB                                             34164
02841 #endif
02842 
02843 #ifndef GL_INTERPOLATE_ARB
02844 #define GL_INTERPOLATE_ARB                                            34165
02845 #endif
02846 
02847 #ifndef GL_SUBTRACT_ARB
02848 #define GL_SUBTRACT_ARB                                               34023
02849 #endif
02850 
02851 #ifndef GL_CONSTANT_ARB
02852 #define GL_CONSTANT_ARB                                               34166
02853 #endif
02854 
02855 #ifndef GL_PRIMARY_COLOR_ARB
02856 #define GL_PRIMARY_COLOR_ARB                                          34167
02857 #endif
02858 
02859 #ifndef GL_PREVIOUS_ARB
02860 #define GL_PREVIOUS_ARB                                               34168
02861 #endif
02862 
02863 
02885 #ifndef GL_DOT3_RGB_ARB
02886 #define GL_DOT3_RGB_ARB                                               34478
02887 #endif
02888 
02889 #ifndef GL_DOT3_RGBA_ARB
02890 #define GL_DOT3_RGBA_ARB                                              34479
02891 #endif
02892 
02893 
02904 #ifndef GL_MIRRORED_REPEAT_ARB
02905 #define GL_MIRRORED_REPEAT_ARB                                        33648
02906 #endif
02907 
02908 
02919 #ifndef GL_MAX_VERTEX_UNITS_ARB
02920 #define GL_MAX_VERTEX_UNITS_ARB                                       34468
02921 #endif
02922 
02923 #ifndef GL_ACTIVE_VERTEX_UNITS_ARB
02924 #define GL_ACTIVE_VERTEX_UNITS_ARB                                    34469
02925 #endif
02926 
02927 #ifndef GL_WEIGHT_SUM_UNITY_ARB
02928 #define GL_WEIGHT_SUM_UNITY_ARB                                       34470
02929 #endif
02930 
02931 #ifndef GL_VERTEX_BLEND_ARB
02932 #define GL_VERTEX_BLEND_ARB                                           34471
02933 #endif
02934 
02935 #ifndef GL_MODELVIEW0_ARB
02936 #define GL_MODELVIEW0_ARB                                              5888
02937 #endif
02938 
02939 #ifndef GL_MODELVIEW1_ARB
02940 #define GL_MODELVIEW1_ARB                                             34058
02941 #endif
02942 
02943 #ifndef GL_MODELVIEW2_ARB
02944 #define GL_MODELVIEW2_ARB                                             34594
02945 #endif
02946 
02947 #ifndef GL_MODELVIEW3_ARB
02948 #define GL_MODELVIEW3_ARB                                             34595
02949 #endif
02950 
02951 #ifndef GL_MODELVIEW4_ARB
02952 #define GL_MODELVIEW4_ARB                                             34596
02953 #endif
02954 
02955 #ifndef GL_MODELVIEW5_ARB
02956 #define GL_MODELVIEW5_ARB                                             34597
02957 #endif
02958 
02959 #ifndef GL_MODELVIEW6_ARB
02960 #define GL_MODELVIEW6_ARB                                             34598
02961 #endif
02962 
02963 #ifndef GL_MODELVIEW7_ARB
02964 #define GL_MODELVIEW7_ARB                                             34599
02965 #endif
02966 
02967 #ifndef GL_MODELVIEW8_ARB
02968 #define GL_MODELVIEW8_ARB                                             34600
02969 #endif
02970 
02971 #ifndef GL_MODELVIEW9_ARB
02972 #define GL_MODELVIEW9_ARB                                             34601
02973 #endif
02974 
02975 #ifndef GL_MODELVIEW10_ARB
02976 #define GL_MODELVIEW10_ARB                                            34602
02977 #endif
02978 
02979 #ifndef GL_MODELVIEW11_ARB
02980 #define GL_MODELVIEW11_ARB                                            34603
02981 #endif
02982 
02983 #ifndef GL_MODELVIEW12_ARB
02984 #define GL_MODELVIEW12_ARB                                            34604
02985 #endif
02986 
02987 #ifndef GL_MODELVIEW13_ARB
02988 #define GL_MODELVIEW13_ARB                                            34605
02989 #endif
02990 
02991 #ifndef GL_MODELVIEW14_ARB
02992 #define GL_MODELVIEW14_ARB                                            34606
02993 #endif
02994 
02995 #ifndef GL_MODELVIEW15_ARB
02996 #define GL_MODELVIEW15_ARB                                            34607
02997 #endif
02998 
02999 #ifndef GL_MODELVIEW16_ARB
03000 #define GL_MODELVIEW16_ARB                                            34608
03001 #endif
03002 
03003 #ifndef GL_MODELVIEW17_ARB
03004 #define GL_MODELVIEW17_ARB                                            34609
03005 #endif
03006 
03007 #ifndef GL_MODELVIEW18_ARB
03008 #define GL_MODELVIEW18_ARB                                            34610
03009 #endif
03010 
03011 #ifndef GL_MODELVIEW19_ARB
03012 #define GL_MODELVIEW19_ARB                                            34611
03013 #endif
03014 
03015 #ifndef GL_MODELVIEW20_ARB
03016 #define GL_MODELVIEW20_ARB                                            34612
03017 #endif
03018 
03019 #ifndef GL_MODELVIEW21_ARB
03020 #define GL_MODELVIEW21_ARB                                            34613
03021 #endif
03022 
03023 #ifndef GL_MODELVIEW22_ARB
03024 #define GL_MODELVIEW22_ARB                                            34614
03025 #endif
03026 
03027 #ifndef GL_MODELVIEW23_ARB
03028 #define GL_MODELVIEW23_ARB                                            34615
03029 #endif
03030 
03031 #ifndef GL_MODELVIEW24_ARB
03032 #define GL_MODELVIEW24_ARB                                            34616
03033 #endif
03034 
03035 #ifndef GL_MODELVIEW25_ARB
03036 #define GL_MODELVIEW25_ARB                                            34617
03037 #endif
03038 
03039 #ifndef GL_MODELVIEW26_ARB
03040 #define GL_MODELVIEW26_ARB                                            34618
03041 #endif
03042 
03043 #ifndef GL_MODELVIEW27_ARB
03044 #define GL_MODELVIEW27_ARB                                            34619
03045 #endif
03046 
03047 #ifndef GL_MODELVIEW28_ARB
03048 #define GL_MODELVIEW28_ARB                                            34620
03049 #endif
03050 
03051 #ifndef GL_MODELVIEW29_ARB
03052 #define GL_MODELVIEW29_ARB                                            34621
03053 #endif
03054 
03055 #ifndef GL_MODELVIEW30_ARB
03056 #define GL_MODELVIEW30_ARB                                            34622
03057 #endif
03058 
03059 #ifndef GL_MODELVIEW31_ARB
03060 #define GL_MODELVIEW31_ARB                                            34623
03061 #endif
03062 
03063 #ifndef GL_CURRENT_WEIGHT_ARB
03064 #define GL_CURRENT_WEIGHT_ARB                                         34472
03065 #endif
03066 
03067 #ifndef GL_WEIGHT_ARRAY_TYPE_ARB
03068 #define GL_WEIGHT_ARRAY_TYPE_ARB                                      34473
03069 #endif
03070 
03071 #ifndef GL_WEIGHT_ARRAY_STRIDE_ARB
03072 #define GL_WEIGHT_ARRAY_STRIDE_ARB                                    34474
03073 #endif
03074 
03075 #ifndef GL_WEIGHT_ARRAY_SIZE_ARB
03076 #define GL_WEIGHT_ARRAY_SIZE_ARB                                      34475
03077 #endif
03078 
03079 #ifndef GL_WEIGHT_ARRAY_POINTER_ARB
03080 #define GL_WEIGHT_ARRAY_POINTER_ARB                                   34476
03081 #endif
03082 
03083 #ifndef GL_WEIGHT_ARRAY_ARB
03084 #define GL_WEIGHT_ARRAY_ARB                                           34477
03085 #endif
03086 
03087 
03093 typedef GLvoid (csAPIENTRY* csGLWEIGHTBVARB) (GLint size, GLbyte* weights);
03094 typedef GLvoid (csAPIENTRY* csGLWEIGHTSVARB) (GLint size, GLshort* weights);
03095 typedef GLvoid (csAPIENTRY* csGLWEIGHTIVARB) (GLint size, GLint* weights);
03096 typedef GLvoid (csAPIENTRY* csGLWEIGHTFVARB) (GLint size, GLfloat* weights);
03097 typedef GLvoid (csAPIENTRY* csGLWEIGHTDVARB) (GLint size, GLdouble* weights);
03098 typedef GLvoid (csAPIENTRY* csGLWEIGHTVARB) (GLint size, GLdouble* weights);
03099 typedef GLvoid (csAPIENTRY* csGLWEIGHTUBVARB) (GLint size, GLubyte* weights);
03100 typedef GLvoid (csAPIENTRY* csGLWEIGHTUSVARB) (GLint size, GLushort* weights);
03101 typedef GLvoid (csAPIENTRY* csGLWEIGHTUIVARB) (GLint size, GLuint* weights);
03102 typedef GLvoid (csAPIENTRY* csGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
03103 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDARB) (GLint count);
03104 
03109 #ifndef GL_VERTEX_PROGRAM_ARB
03110 #define GL_VERTEX_PROGRAM_ARB                                         34336
03111 #endif
03112 
03113 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
03114 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                              34370
03115 #endif
03116 
03117 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
03118 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                                34371
03119 #endif
03120 
03121 #ifndef GL_COLOR_SUM_ARB
03122 #define GL_COLOR_SUM_ARB                                              33880
03123 #endif
03124 
03125 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
03126 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
03127 #endif
03128 
03129 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
03130 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                            34338
03131 #endif
03132 
03133 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
03134 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                               34339
03135 #endif
03136 
03137 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
03138 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                             34340
03139 #endif
03140 
03141 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
03142 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                               34341
03143 #endif
03144 
03145 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
03146 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                         34922
03147 #endif
03148 
03149 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
03150 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                  34342
03151 #endif
03152 
03153 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
03154 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                            34373
03155 #endif
03156 
03157 #ifndef GL_PROGRAM_LENGTH_ARB
03158 #define GL_PROGRAM_LENGTH_ARB                                         34343
03159 #endif
03160 
03161 #ifndef GL_PROGRAM_FORMAT_ARB
03162 #define GL_PROGRAM_FORMAT_ARB                                         34934
03163 #endif
03164 
03165 #ifndef GL_PROGRAM_BINDING_ARB
03166 #define GL_PROGRAM_BINDING_ARB                                        34423
03167 #endif
03168 
03169 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
03170 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
03171 #endif
03172 
03173 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
03174 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
03175 #endif
03176 
03177 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
03178 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
03179 #endif
03180 
03181 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
03182 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
03183 #endif
03184 
03185 #ifndef GL_PROGRAM_TEMPORARIES_ARB
03186 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
03187 #endif
03188 
03189 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
03190 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
03191 #endif
03192 
03193 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
03194 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
03195 #endif
03196 
03197 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
03198 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
03199 #endif
03200 
03201 #ifndef GL_PROGRAM_PARAMETERS_ARB
03202 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
03203 #endif
03204 
03205 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
03206 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
03207 #endif
03208 
03209 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
03210 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
03211 #endif
03212 
03213 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
03214 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
03215 #endif
03216 
03217 #ifndef GL_PROGRAM_ATTRIBS_ARB
03218 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
03219 #endif
03220 
03221 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
03222 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
03223 #endif
03224 
03225 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
03226 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
03227 #endif
03228 
03229 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
03230 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
03231 #endif
03232 
03233 #ifndef GL_PROGRAM_ADDRESS_REGISTERS_ARB
03234 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB                              34992
03235 #endif
03236 
03237 #ifndef GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
03238 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB                          34993
03239 #endif
03240 
03241 #ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
03242 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                       34994
03243 #endif
03244 
03245 #ifndef GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
03246 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB                   34995
03247 #endif
03248 
03249 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
03250 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
03251 #endif
03252 
03253 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
03254 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
03255 #endif
03256 
03257 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
03258 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
03259 #endif
03260 
03261 #ifndef GL_PROGRAM_STRING_ARB
03262 #define GL_PROGRAM_STRING_ARB                                         34344
03263 #endif
03264 
03265 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
03266 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
03267 #endif
03268 
03269 #ifndef GL_CURRENT_MATRIX_ARB
03270 #define GL_CURRENT_MATRIX_ARB                                         34369
03271 #endif
03272 
03273 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
03274 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
03275 #endif
03276 
03277 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
03278 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
03279 #endif
03280 
03281 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
03282 #define GL_MAX_VERTEX_ATTRIBS_ARB                                     34921
03283 #endif
03284 
03285 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
03286 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
03287 #endif
03288 
03289 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
03290 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
03291 #endif
03292 
03293 #ifndef GL_PROGRAM_ERROR_STRING_ARB
03294 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
03295 #endif
03296 
03297 #ifndef GL_MATRIX0_ARB
03298 #define GL_MATRIX0_ARB                                                35008
03299 #endif
03300 
03301 #ifndef GL_MATRIX1_ARB
03302 #define GL_MATRIX1_ARB                                                35009
03303 #endif
03304 
03305 #ifndef GL_MATRIX2_ARB
03306 #define GL_MATRIX2_ARB                                                35010
03307 #endif
03308 
03309 #ifndef GL_MATRIX3_ARB
03310 #define GL_MATRIX3_ARB                                                35011
03311 #endif
03312 
03313 #ifndef GL_MATRIX4_ARB
03314 #define GL_MATRIX4_ARB                                                35012
03315 #endif
03316 
03317 #ifndef GL_MATRIX5_ARB
03318 #define GL_MATRIX5_ARB                                                35013
03319 #endif
03320 
03321 #ifndef GL_MATRIX6_ARB
03322 #define GL_MATRIX6_ARB                                                35014
03323 #endif
03324 
03325 #ifndef GL_MATRIX7_ARB
03326 #define GL_MATRIX7_ARB                                                35015
03327 #endif
03328 
03329 #ifndef GL_MATRIX8_ARB
03330 #define GL_MATRIX8_ARB                                                35016
03331 #endif
03332 
03333 #ifndef GL_MATRIX9_ARB
03334 #define GL_MATRIX9_ARB                                                35017
03335 #endif
03336 
03337 #ifndef GL_MATRIX10_ARB
03338 #define GL_MATRIX10_ARB                                               35018
03339 #endif
03340 
03341 #ifndef GL_MATRIX11_ARB
03342 #define GL_MATRIX11_ARB                                               35019
03343 #endif
03344 
03345 #ifndef GL_MATRIX12_ARB
03346 #define GL_MATRIX12_ARB                                               35020
03347 #endif
03348 
03349 #ifndef GL_MATRIX13_ARB
03350 #define GL_MATRIX13_ARB                                               35021
03351 #endif
03352 
03353 #ifndef GL_MATRIX14_ARB
03354 #define GL_MATRIX14_ARB                                               35022
03355 #endif
03356 
03357 #ifndef GL_MATRIX15_ARB
03358 #define GL_MATRIX15_ARB                                               35023
03359 #endif
03360 
03361 #ifndef GL_MATRIX16_ARB
03362 #define GL_MATRIX16_ARB                                               35024
03363 #endif
03364 
03365 #ifndef GL_MATRIX17_ARB
03366 #define GL_MATRIX17_ARB                                               35025
03367 #endif
03368 
03369 #ifndef GL_MATRIX18_ARB
03370 #define GL_MATRIX18_ARB                                               35026
03371 #endif
03372 
03373 #ifndef GL_MATRIX19_ARB
03374 #define GL_MATRIX19_ARB                                               35027
03375 #endif
03376 
03377 #ifndef GL_MATRIX20_ARB
03378 #define GL_MATRIX20_ARB                                               35028
03379 #endif
03380 
03381 #ifndef GL_MATRIX21_ARB
03382 #define GL_MATRIX21_ARB                                               35029
03383 #endif
03384 
03385 #ifndef GL_MATRIX22_ARB
03386 #define GL_MATRIX22_ARB                                               35030
03387 #endif
03388 
03389 #ifndef GL_MATRIX23_ARB
03390 #define GL_MATRIX23_ARB                                               35031
03391 #endif
03392 
03393 #ifndef GL_MATRIX24_ARB
03394 #define GL_MATRIX24_ARB                                               35032
03395 #endif
03396 
03397 #ifndef GL_MATRIX25_ARB
03398 #define GL_MATRIX25_ARB                                               35033
03399 #endif
03400 
03401 #ifndef GL_MATRIX26_ARB
03402 #define GL_MATRIX26_ARB                                               35034
03403 #endif
03404 
03405 #ifndef GL_MATRIX27_ARB
03406 #define GL_MATRIX27_ARB                                               35035
03407 #endif
03408 
03409 #ifndef GL_MATRIX28_ARB
03410 #define GL_MATRIX28_ARB                                               35036
03411 #endif
03412 
03413 #ifndef GL_MATRIX29_ARB
03414 #define GL_MATRIX29_ARB                                               35037
03415 #endif
03416 
03417 #ifndef GL_MATRIX30_ARB
03418 #define GL_MATRIX30_ARB                                               35038
03419 #endif
03420 
03421 #ifndef GL_MATRIX31_ARB
03422 #define GL_MATRIX31_ARB                                               35039
03423 #endif
03424 
03425 
03431 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SARB) (GLuint index, GLshort x);
03432 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FARB) (GLuint index, GLfloat x);
03433 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DARB) (GLuint index, GLdouble x);
03434 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SARB) (GLuint index, GLshort x, GLshort y);
03435 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FARB) (GLuint index, GLfloat x, GLfloat y);
03436 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DARB) (GLuint index, GLdouble x, GLdouble y);
03437 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SARB) (GLuint index, GLshort x, GLshort y, GLshort z);
03438 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
03439 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
03440 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
03441 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03442 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03443 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
03444 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVARB) (GLuint index, const GLshort* v);
03445 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVARB) (GLuint index, const GLfloat* v);
03446 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVARB) (GLuint index, const GLdouble* v);
03447 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVARB) (GLuint index, const GLshort* v);
03448 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVARB) (GLuint index, const GLfloat* v);
03449 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVARB) (GLuint index, const GLdouble* v);
03450 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVARB) (GLuint index, const GLshort* v);
03451 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVARB) (GLuint index, const GLfloat* v);
03452 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVARB) (GLuint index, const GLdouble* v);
03453 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BVARB) (GLuint index, const GLbyte* v);
03454 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVARB) (GLuint index, const GLshort* v);
03455 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IVARB) (GLuint index, const GLint* v);
03456 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVARB) (GLuint index, const GLubyte* v);
03457 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USVARB) (GLuint index, const GLushort* v);
03458 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIVARB) (GLuint index, const GLuint* v);
03459 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVARB) (GLuint index, const GLfloat* v);
03460 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVARB) (GLuint index, const GLdouble* v);
03461 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBVARB) (GLuint index, const GLbyte* v);
03462 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSVARB) (GLuint index, const GLshort* v);
03463 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIVARB) (GLuint index, const GLint* v);
03464 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBVARB) (GLuint index, const GLubyte* v);
03465 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSVARB) (GLuint index, const GLushort* v);
03466 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIVARB) (GLuint index, const GLuint* v);
03467 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
03468 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAYARB) (GLuint index);
03469 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAYARB) (GLuint index);
03470 typedef GLvoid (csAPIENTRY* csGLPROGRAMSTRINGARB) (GLenum target, GLenum format, GLsizei len, const GLvoid* string);
03471 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMARB) (GLenum target, GLuint program);
03472 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSARB) (GLsizei n, const GLuint* programs);
03473 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSARB) (GLsizei n, GLuint* programs);
03474 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03475 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
03476 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03477 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
03478 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
03479 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params);
03480 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
03481 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params);
03482 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
03483 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
03484 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params);
03485 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params);
03486 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVARB) (GLenum target, GLenum pname, GLint* params);
03487 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGARB) (GLenum target, GLenum pname, GLvoid* string);
03488 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVARB) (GLuint index, GLenum pname, GLdouble* params);
03489 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVARB) (GLuint index, GLenum pname, GLfloat* params);
03490 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVARB) (GLuint index, GLenum pname, GLint* params);
03491 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVARB) (GLuint index, GLenum pname, GLvoid** pointer);
03492 typedef GLboolean (csAPIENTRY* csGLISPROGRAMARB) (GLuint program);
03493 
03504 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DARB) (GLdouble x, GLdouble y);
03505 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FARB) (GLfloat x, GLfloat y);
03506 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IARB) (GLint x, GLint y);
03507 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SARB) (GLshort x, GLshort y);
03508 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVARB) (const GLdouble* p);
03509 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVARB) (const GLfloat* p);
03510 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVARB) (const GLint* p);
03511 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVARB) (const GLshort* p);
03512 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DARB) (GLdouble x, GLdouble y, GLdouble z);
03513 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FARB) (GLfloat x, GLfloat y, GLfloat z);
03514 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IARB) (GLint x, GLint y, GLint z);
03515 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SARB) (GLshort x, GLshort y, GLshort z);
03516 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVARB) (const GLdouble* p);
03517 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVARB) (const GLfloat* p);
03518 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVARB) (const GLint* p);
03519 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVARB) (const GLshort* p);
03520 
03525 #ifndef GL_422_EXT
03526 #define GL_422_EXT                                                    32972
03527 #endif
03528 
03529 #ifndef GL_422_REV_EXT
03530 #define GL_422_REV_EXT                                                32973
03531 #endif
03532 
03533 #ifndef GL_422_AVERAGE_EXT
03534 #define GL_422_AVERAGE_EXT                                            32974
03535 #endif
03536 
03537 #ifndef GL_422_REV_AVERAGE_EXT
03538 #define GL_422_REV_AVERAGE_EXT                                        32975
03539 #endif
03540 
03541 
03552 #ifndef GL_ABGR_EXT
03553 #define GL_ABGR_EXT                                                   32768
03554 #endif
03555 
03556 
03567 #ifndef GL_BGR_EXT
03568 #define GL_BGR_EXT                                                    32992
03569 #endif
03570 
03571 #ifndef GL_BGRA_EXT
03572 #define GL_BGRA_EXT                                                   32993
03573 #endif
03574 
03575 
03586 #ifndef GL_CONSTANT_COLOR_EXT
03587 #define GL_CONSTANT_COLOR_EXT                                         32769
03588 #endif
03589 
03590 #ifndef GL_ONE_MINUS_CONSTANT_COLOR_EXT
03591 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT                               32770
03592 #endif
03593 
03594 #ifndef GL_CONSTANT_ALPHA_EXT
03595 #define GL_CONSTANT_ALPHA_EXT                                         32771
03596 #endif
03597 
03598 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA_EXT
03599 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT                               32772
03600 #endif
03601 
03602 #ifndef GL_BLEND_COLOR_EXT
03603 #define GL_BLEND_COLOR_EXT                                            32773
03604 #endif
03605 
03606 
03612 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOREXT) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
03613 
03618 #ifndef GL_BLEND_DST_RGB_EXT
03619 #define GL_BLEND_DST_RGB_EXT                                          32968
03620 #endif
03621 
03622 #ifndef GL_BLEND_SRC_RGB_EXT
03623 #define GL_BLEND_SRC_RGB_EXT                                          32969
03624 #endif
03625 
03626 #ifndef GL_BLEND_DST_ALPHA_EXT
03627 #define GL_BLEND_DST_ALPHA_EXT                                        32970
03628 #endif
03629 
03630 #ifndef GL_BLEND_SRC_ALPHA_EXT
03631 #define GL_BLEND_SRC_ALPHA_EXT                                        32971
03632 #endif
03633 
03634 
03640 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATEEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
03641 
03657 #ifndef GL_FUNC_ADD_EXT
03658 #define GL_FUNC_ADD_EXT                                               32774
03659 #endif
03660 
03661 #ifndef GL_MIN_EXT
03662 #define GL_MIN_EXT                                                    32775
03663 #endif
03664 
03665 #ifndef GL_MAX_EXT
03666 #define GL_MAX_EXT                                                    32776
03667 #endif
03668 
03669 #ifndef GL_BLEND_EQUATION_EXT
03670 #define GL_BLEND_EQUATION_EXT                                         32777
03671 #endif
03672 
03673 
03679 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONEXT) (GLenum mode);
03680 
03685 #ifndef GL_FUNC_SUBTRACT_EXT
03686 #define GL_FUNC_SUBTRACT_EXT                                          32778
03687 #endif
03688 
03689 #ifndef GL_FUNC_REVERSE_SUBTRACT_EXT
03690 #define GL_FUNC_REVERSE_SUBTRACT_EXT                                  32779
03691 #endif
03692 
03693 
03704 #ifndef GL_CLIP_VOLUME_CLIPPING_HINT_EXT
03705 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT                              33008
03706 #endif
03707 
03708 
03725 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data);
03726 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
03727 
03732 #ifndef GL_ARRAY_ELEMENT_LOCK_FIRST_EXT
03733 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT                               33192
03734 #endif
03735 
03736 #ifndef GL_ARRAY_ELEMENT_LOCK_COUNT_EXT
03737 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT                               33193
03738 #endif
03739 
03740 
03746 typedef GLvoid (csAPIENTRY* csGLLOCKARRAYSEXT) (GLint first, GLsizei count);
03747 typedef GLvoid (csAPIENTRY* csGLUNLOCKARRAYSEXT) ();
03748 
03753 #ifndef GL_CONVOLUTION_1D_EXT
03754 #define GL_CONVOLUTION_1D_EXT                                         32784
03755 #endif
03756 
03757 #ifndef GL_CONVOLUTION_2D_EXT
03758 #define GL_CONVOLUTION_2D_EXT                                         32785
03759 #endif
03760 
03761 #ifndef GL_SEPARABLE_2D_EXT
03762 #define GL_SEPARABLE_2D_EXT                                           32786
03763 #endif
03764 
03765 #ifndef GL_CONVOLUTION_BORDER_MODE_EXT
03766 #define GL_CONVOLUTION_BORDER_MODE_EXT                                32787
03767 #endif
03768 
03769 #ifndef GL_CONVOLUTION_FILTER_SCALE_EXT
03770 #define GL_CONVOLUTION_FILTER_SCALE_EXT                               32788
03771 #endif
03772 
03773 #ifndef GL_CONVOLUTION_FILTER_BIAS_EXT
03774 #define GL_CONVOLUTION_FILTER_BIAS_EXT                                32789
03775 #endif
03776 
03777 #ifndef GL_REDUCE_EXT
03778 #define GL_REDUCE_EXT                                                 32790
03779 #endif
03780 
03781 #ifndef GL_CONVOLUTION_FORMAT_EXT
03782 #define GL_CONVOLUTION_FORMAT_EXT                                     32791
03783 #endif
03784 
03785 #ifndef GL_CONVOLUTION_WIDTH_EXT
03786 #define GL_CONVOLUTION_WIDTH_EXT                                      32792
03787 #endif
03788 
03789 #ifndef GL_CONVOLUTION_HEIGHT_EXT
03790 #define GL_CONVOLUTION_HEIGHT_EXT                                     32793
03791 #endif
03792 
03793 #ifndef GL_MAX_CONVOLUTION_WIDTH_EXT
03794 #define GL_MAX_CONVOLUTION_WIDTH_EXT                                  32794
03795 #endif
03796 
03797 #ifndef GL_MAX_CONVOLUTION_HEIGHT_EXT
03798 #define GL_MAX_CONVOLUTION_HEIGHT_EXT                                 32795
03799 #endif
03800 
03801 #ifndef GL_POST_CONVOLUTION_RED_SCALE_EXT
03802 #define GL_POST_CONVOLUTION_RED_SCALE_EXT                             32796
03803 #endif
03804 
03805 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE_EXT
03806 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT                           32797
03807 #endif
03808 
03809 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE_EXT
03810 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT                            32798
03811 #endif
03812 
03813 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE_EXT
03814 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT                           32799
03815 #endif
03816 
03817 #ifndef GL_POST_CONVOLUTION_RED_BIAS_EXT
03818 #define GL_POST_CONVOLUTION_RED_BIAS_EXT                              32800
03819 #endif
03820 
03821 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS_EXT
03822 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT                            32801
03823 #endif
03824 
03825 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS_EXT
03826 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT                             32802
03827 #endif
03828 
03829 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS_EXT
03830 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT                            32803
03831 #endif
03832 
03833 
03839 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image);
03840 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image);
03841 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
03842 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
03843 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* image);
03844 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column);
03845 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span);
03846 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIEXT) (GLenum target, GLenum pname, GLint param);
03847 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, const GLint* params);
03848 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFEXT) (GLenum target, GLenum pname, GLfloat param);
03849 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, const GLfloat* params);
03850 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03851 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03852 
03857 #ifndef GL_FOG_COORDINATE_SOURCE_EXT
03858 #define GL_FOG_COORDINATE_SOURCE_EXT                                  33872
03859 #endif
03860 
03861 #ifndef GL_FOG_COORDINATE_EXT
03862 #define GL_FOG_COORDINATE_EXT                                         33873
03863 #endif
03864 
03865 #ifndef GL_FRAGMENT_DEPTH_EXT
03866 #define GL_FRAGMENT_DEPTH_EXT                                         33874
03867 #endif
03868 
03869 #ifndef GL_CURRENT_FOG_COORDINATE_EXT
03870 #define GL_CURRENT_FOG_COORDINATE_EXT                                 33875
03871 #endif
03872 
03873 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE_EXT
03874 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT                              33876
03875 #endif
03876 
03877 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE_EXT
03878 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT                            33877
03879 #endif
03880 
03881 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER_EXT
03882 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT                           33878
03883 #endif
03884 
03885 #ifndef GL_FOG_COORDINATE_ARRAY_EXT
03886 #define GL_FOG_COORDINATE_ARRAY_EXT                                   33879
03887 #endif
03888 
03889 
03895 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFEXT) (GLfloat coord);
03896 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDEXT) (GLdouble coord);
03897 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFVEXT) (GLfloat* coord);
03898 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDVEXT) (GLdouble* coord);
03899 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTEREXT) (GLenum type, GLsizei stride, GLvoid* pointer);
03900 
03905 #ifndef GL_HISTOGRAM_EXT
03906 #define GL_HISTOGRAM_EXT                                              32804
03907 #endif
03908 
03909 #ifndef GL_PROXY_HISTOGRAM_EXT
03910 #define GL_PROXY_HISTOGRAM_EXT                                        32805
03911 #endif
03912 
03913 #ifndef GL_HISTOGRAM_WIDTH_EXT
03914 #define GL_HISTOGRAM_WIDTH_EXT                                        32806
03915 #endif
03916 
03917 #ifndef GL_HISTOGRAM_FORMAT_EXT
03918 #define GL_HISTOGRAM_FORMAT_EXT                                       32807
03919 #endif
03920 
03921 #ifndef GL_HISTOGRAM_RED_SIZE_EXT
03922 #define GL_HISTOGRAM_RED_SIZE_EXT                                     32808
03923 #endif
03924 
03925 #ifndef GL_HISTOGRAM_GREEN_SIZE_EXT
03926 #define GL_HISTOGRAM_GREEN_SIZE_EXT                                   32809
03927 #endif
03928 
03929 #ifndef GL_HISTOGRAM_BLUE_SIZE_EXT
03930 #define GL_HISTOGRAM_BLUE_SIZE_EXT                                    32810
03931 #endif
03932 
03933 #ifndef GL_HISTOGRAM_ALPHA_SIZE_EXT
03934 #define GL_HISTOGRAM_ALPHA_SIZE_EXT                                   32811
03935 #endif
03936 
03937 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE_EXT
03938 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT                               32812
03939 #endif
03940 
03941 #ifndef GL_HISTOGRAM_SINK_EXT
03942 #define GL_HISTOGRAM_SINK_EXT                                         32813
03943 #endif
03944 
03945 #ifndef GL_MINMAX_EXT
03946 #define GL_MINMAX_EXT                                                 32814
03947 #endif
03948 
03949 #ifndef GL_MINMAX_FORMAT_EXT
03950 #define GL_MINMAX_FORMAT_EXT                                          32815
03951 #endif
03952 
03953 #ifndef GL_MINMAX_SINK_EXT
03954 #define GL_MINMAX_SINK_EXT                                            32816
03955 #endif
03956 
03957 
03963 typedef GLvoid (csAPIENTRY* csGLHISTOGRAMEXT) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
03964 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAMEXT) (GLenum target);
03965 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
03966 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03967 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03968 typedef GLvoid (csAPIENTRY* csGLMINMAXEXT) (GLenum target, GLenum internalformat, GLboolean sink);
03969 typedef GLvoid (csAPIENTRY* csGLRESETMINMAXEXT) (GLenum target);
03970 typedef GLvoid (csAPIENTRY* csGLGETMINMAXEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values);
03971 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
03972 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
03973 
03984 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount);
03985 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTSEXT) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount);
03986 
03991 #ifndef GL_UNSIGNED_BYTE_3_3_2_EXT
03992 #define GL_UNSIGNED_BYTE_3_3_2_EXT                                    32818
03993 #endif
03994 
03995 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_EXT
03996 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT                                 32819
03997 #endif
03998 
03999 #ifndef GL_UNSIGNED_SHORT_5_5_5_1_EXT
04000 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT                                 32820
04001 #endif
04002 
04003 #ifndef GL_UNSIGNED_INT_8_8_8_8_EXT
04004 #define GL_UNSIGNED_INT_8_8_8_8_EXT                                   32821
04005 #endif
04006 
04007 #ifndef GL_UNSIGNED_INT_10_10_10_2_EXT
04008 #define GL_UNSIGNED_INT_10_10_10_2_EXT                                32822
04009 #endif
04010 
04011 
04022 #ifndef GL_COLOR_INDEX1_EXT
04023 #define GL_COLOR_INDEX1_EXT                                           32994
04024 #endif
04025 
04026 #ifndef GL_COLOR_INDEX2_EXT
04027 #define GL_COLOR_INDEX2_EXT                                           32995
04028 #endif
04029 
04030 #ifndef GL_COLOR_INDEX4_EXT
04031 #define GL_COLOR_INDEX4_EXT                                           32996
04032 #endif
04033 
04034 #ifndef GL_COLOR_INDEX8_EXT
04035 #define GL_COLOR_INDEX8_EXT                                           32997
04036 #endif
04037 
04038 #ifndef GL_COLOR_INDEX12_EXT
04039 #define GL_COLOR_INDEX12_EXT                                          32998
04040 #endif
04041 
04042 #ifndef GL_COLOR_INDEX16_EXT
04043 #define GL_COLOR_INDEX16_EXT                                          32999
04044 #endif
04045 
04046 #ifndef GL_COLOR_TABLE_FORMAT_EXT
04047 #define GL_COLOR_TABLE_FORMAT_EXT                                     32984
04048 #endif
04049 
04050 #ifndef GL_COLOR_TABLE_WIDTH_EXT
04051 #define GL_COLOR_TABLE_WIDTH_EXT                                      32985
04052 #endif
04053 
04054 #ifndef GL_COLOR_TABLE_RED_SIZE_EXT
04055 #define GL_COLOR_TABLE_RED_SIZE_EXT                                   32986
04056 #endif
04057 
04058 #ifndef GL_COLOR_TABLE_GREEN_SIZE_EXT
04059 #define GL_COLOR_TABLE_GREEN_SIZE_EXT                                 32987
04060 #endif
04061 
04062 #ifndef GL_COLOR_TABLE_BLUE_SIZE_EXT
04063 #define GL_COLOR_TABLE_BLUE_SIZE_EXT                                  32988
04064 #endif
04065 
04066 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_EXT
04067 #define GL_COLOR_TABLE_ALPHA_SIZE_EXT                                 32989
04068 #endif
04069 
04070 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_EXT
04071 #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT                             32990
04072 #endif
04073 
04074 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_EXT
04075 #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT                             32991
04076 #endif
04077 
04078 #ifndef GL_TEXTURE_INDEX_SIZE_EXT
04079 #define GL_TEXTURE_INDEX_SIZE_EXT                                     33005
04080 #endif
04081 
04082 #ifndef GL_TEXTURE_1D
04083 #define GL_TEXTURE_1D                                                  3552
04084 #endif
04085 
04086 #ifndef GL_TEXTURE_2D
04087 #define GL_TEXTURE_2D                                                  3553
04088 #endif
04089 
04090 #ifndef GL_TEXTURE_3D_EXT
04091 #define GL_TEXTURE_3D_EXT                                             32879
04092 #endif
04093 
04094 #ifndef GL_TEXTURE_CUBE_MAP_ARB
04095 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
04096 #endif
04097 
04098 #ifndef GL_PROXY_TEXTURE_1D
04099 #define GL_PROXY_TEXTURE_1D                                           32867
04100 #endif
04101 
04102 #ifndef GL_PROXY_TEXTURE_2D
04103 #define GL_PROXY_TEXTURE_2D                                           32868
04104 #endif
04105 
04106 #ifndef GL_PROXY_TEXTURE_3D_EXT
04107 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
04108 #endif
04109 
04110 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB
04111 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB                                 34075
04112 #endif
04113 
04114 #ifndef GL_TEXTURE_1D
04115 #define GL_TEXTURE_1D                                                  3552
04116 #endif
04117 
04118 #ifndef GL_TEXTURE_2D
04119 #define GL_TEXTURE_2D                                                  3553
04120 #endif
04121 
04122 #ifndef GL_TEXTURE_3D_EXT
04123 #define GL_TEXTURE_3D_EXT                                             32879
04124 #endif
04125 
04126 #ifndef GL_TEXTURE_CUBE_MAP_ARB
04127 #define GL_TEXTURE_CUBE_MAP_ARB                                       34067
04128 #endif
04129 
04130 
04136 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEEXT) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid* data);
04137 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEEXT) (GLenum target, GLenum format, GLenum type, GLvoid* data);
04138 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
04139 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params);
04140 
04145 #ifndef GL_POINT_SIZE_MIN_EXT
04146 #define GL_POINT_SIZE_MIN_EXT                                         33062
04147 #endif
04148 
04149 #ifndef GL_POINT_SIZE_MAX_EXT
04150 #define GL_POINT_SIZE_MAX_EXT                                         33063
04151 #endif
04152 
04153 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_EXT
04154 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT                              33064
04155 #endif
04156 
04157 #ifndef GL_DISTANCE_ATTENUATION_EXT
04158 #define GL_DISTANCE_ATTENUATION_EXT                                   33065
04159 #endif
04160 
04161 
04167 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFEXT) (GLenum pname, GLfloat param);
04168 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVEXT) (GLenum pname, GLfloat* params);
04169 
04174 #ifndef GL_POLYGON_OFFSET_EXT
04175 #define GL_POLYGON_OFFSET_EXT                                         32823
04176 #endif
04177 
04178 #ifndef GL_POLYGON_OFFSET_FACTOR_EXT
04179 #define GL_POLYGON_OFFSET_FACTOR_EXT                                  32824
04180 #endif
04181 
04182 #ifndef GL_POLYGON_OFFSET_BIAS_EXT
04183 #define GL_POLYGON_OFFSET_BIAS_EXT                                    32825
04184 #endif
04185 
04186 
04192 typedef GLvoid (csAPIENTRY* csGLPOLYGONOFFSETEXT) (GLfloat factor, GLfloat bias);
04193 
04198 #ifndef GL_COLOR_SUM_EXT
04199 #define GL_COLOR_SUM_EXT                                              33880
04200 #endif
04201 
04202 #ifndef GL_CURRENT_SECONDARY_COLOR_EXT
04203 #define GL_CURRENT_SECONDARY_COLOR_EXT                                33881
04204 #endif
04205 
04206 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE_EXT
04207 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT                             33882
04208 #endif
04209 
04210 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE_EXT
04211 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT                             33883
04212 #endif
04213 
04214 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT
04215 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT                           33884
04216 #endif
04217 
04218 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER_EXT
04219 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT                          33885
04220 #endif
04221 
04222 #ifndef GL_SECONDARY_COLOR_ARRAY_EXT
04223 #define GL_SECONDARY_COLOR_ARRAY_EXT                                  33886
04224 #endif
04225 
04226 
04232 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BEXT) (GLbyte components);
04233 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SEXT) (GLshort components);
04234 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IEXT) (GLint components);
04235 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FEXT) (GLfloat components);
04236 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DEXT) (GLdouble components);
04237 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBEXT) (GLubyte components);
04238 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USEXT) (GLushort components);
04239 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIEXT) (GLuint components);
04240 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BVEXT) (GLbyte* components);
04241 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SVEXT) (GLshort* components);
04242 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IVEXT) (GLint* components);
04243 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FVEXT) (GLfloat* components);
04244 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DVEXT) (GLdouble* components);
04245 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBVEXT) (GLubyte* components);
04246 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USVEXT) (GLushort* components);
04247 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIVEXT) (GLuint* components);
04248 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
04249 
04254 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL_EXT
04255 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT                              33272
04256 #endif
04257 
04258 #ifndef GL_SINGLE_COLOR_EXT
04259 #define GL_SINGLE_COLOR_EXT                                           33273
04260 #endif
04261 
04262 #ifndef GL_SEPARATE_SPECULAR_COLOR_EXT
04263 #define GL_SEPARATE_SPECULAR_COLOR_EXT                                33274
04264 #endif
04265 
04266 
04288 #ifndef GL_SHARED_TEXTURE_PALETTE_EXT
04289 #define GL_SHARED_TEXTURE_PALETTE_EXT                                 33275
04290 #endif
04291 
04292 
04303 #ifndef GL_STENCIL_TEST_TWO_SIDE_EXT
04304 #define GL_STENCIL_TEST_TWO_SIDE_EXT                                  35088
04305 #endif
04306 
04307 #ifndef GL_ACTIVE_STENCIL_FACE_EXT
04308 #define GL_ACTIVE_STENCIL_FACE_EXT                                    35089
04309 #endif
04310 
04311 
04317 typedef GLvoid (csAPIENTRY* csGLACTIVESTENCILFACEEXT) (GLenum face);
04318 
04323 #ifndef GL_INCR_WRAP_EXT
04324 #define GL_INCR_WRAP_EXT                                              34055
04325 #endif
04326 
04327 #ifndef GL_DECR_WRAP_EXT
04328 #define GL_DECR_WRAP_EXT                                              34056
04329 #endif
04330 
04331 
04348 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE1DEXT) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels);
04349 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
04350 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);
04351 
04356 #ifndef GL_PACK_SKIP_IMAGES_EXT
04357 #define GL_PACK_SKIP_IMAGES_EXT                                       32875
04358 #endif
04359 
04360 #ifndef GL_PACK_IMAGE_HEIGHT_EXT
04361 #define GL_PACK_IMAGE_HEIGHT_EXT                                      32876
04362 #endif
04363 
04364 #ifndef GL_UNPACK_SKIP_IMAGES_EXT
04365 #define GL_UNPACK_SKIP_IMAGES_EXT                                     32877
04366 #endif
04367 
04368 #ifndef GL_UNPACK_IMAGE_HEIGHT_EXT
04369 #define GL_UNPACK_IMAGE_HEIGHT_EXT                                    32878
04370 #endif
04371 
04372 #ifndef GL_TEXTURE_3D_EXT
04373 #define GL_TEXTURE_3D_EXT                                             32879
04374 #endif
04375 
04376 #ifndef GL_PROXY_TEXTURE_3D_EXT
04377 #define GL_PROXY_TEXTURE_3D_EXT                                       32880
04378 #endif
04379 
04380 #ifndef GL_TEXTURE_DEPTH_EXT
04381 #define GL_TEXTURE_DEPTH_EXT                                          32881
04382 #endif
04383 
04384 #ifndef GL_TEXTURE_WRAP_R_EXT
04385 #define GL_TEXTURE_WRAP_R_EXT                                         32882
04386 #endif
04387 
04388 #ifndef GL_MAX_3D_TEXTURE_SIZE_EXT
04389 #define GL_MAX_3D_TEXTURE_SIZE_EXT                                    32883
04390 #endif
04391 
04392 
04398 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);
04399 
04404 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
04405 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
04406 #endif
04407 
04408 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
04409 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
04410 #endif
04411 
04412 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
04413 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
04414 #endif
04415 
04416 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
04417 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
04418 #endif
04419 
04420 
04442 #ifndef GL_COMBINE_EXT
04443 #define GL_COMBINE_EXT                                                34160
04444 #endif
04445 
04446 #ifndef GL_COMBINE_RGB_EXT
04447 #define GL_COMBINE_RGB_EXT                                            34161
04448 #endif
04449 
04450 #ifndef GL_COMBINE_ALPHA_EXT
04451 #define GL_COMBINE_ALPHA_EXT                                          34162
04452 #endif
04453 
04454 #ifndef GL_SOURCE0_RGB_EXT
04455 #define GL_SOURCE0_RGB_EXT                                            34176
04456 #endif
04457 
04458 #ifndef GL_SOURCE1_RGB_EXT
04459 #define GL_SOURCE1_RGB_EXT                                            34177
04460 #endif
04461 
04462 #ifndef GL_SOURCE2_RGB_EXT
04463 #define GL_SOURCE2_RGB_EXT                                            34178
04464 #endif
04465 
04466 #ifndef GL_SOURCE0_ALPHA_EXT
04467 #define GL_SOURCE0_ALPHA_EXT                                          34184
04468 #endif
04469 
04470 #ifndef GL_SOURCE1_ALPHA_EXT
04471 #define GL_SOURCE1_ALPHA_EXT                                          34185
04472 #endif
04473 
04474 #ifndef GL_SOURCE2_ALPHA_EXT
04475 #define GL_SOURCE2_ALPHA_EXT                                          34186
04476 #endif
04477 
04478 #ifndef GL_OPERAND0_RGB_EXT
04479 #define GL_OPERAND0_RGB_EXT                                           34192
04480 #endif
04481 
04482 #ifndef GL_OPERAND1_RGB_EXT
04483 #define GL_OPERAND1_RGB_EXT                                           34193
04484 #endif
04485 
04486 #ifndef GL_OPERAND2_RGB_EXT
04487 #define GL_OPERAND2_RGB_EXT                                           34194
04488 #endif
04489 
04490 #ifndef GL_OPERAND0_ALPHA_EXT
04491 #define GL_OPERAND0_ALPHA_EXT                                         34200
04492 #endif
04493 
04494 #ifndef GL_OPERAND1_ALPHA_EXT
04495 #define GL_OPERAND1_ALPHA_EXT                                         34201
04496 #endif
04497 
04498 #ifndef GL_OPERAND2_ALPHA_EXT
04499 #define GL_OPERAND2_ALPHA_EXT                                         34202
04500 #endif
04501 
04502 #ifndef GL_RGB_SCALE_EXT
04503 #define GL_RGB_SCALE_EXT                                              34163
04504 #endif
04505 
04506 #ifndef GL_ADD_SIGNED_EXT
04507 #define GL_ADD_SIGNED_EXT                                             34164
04508 #endif
04509 
04510 #ifndef GL_INTERPOLATE_EXT
04511 #define GL_INTERPOLATE_EXT                                            34165
04512 #endif
04513 
04514 #ifndef GL_CONSTANT_EXT
04515 #define GL_CONSTANT_EXT                                               34166
04516 #endif
04517 
04518 #ifndef GL_PRIMARY_COLOR_EXT
04519 #define GL_PRIMARY_COLOR_EXT                                          34167
04520 #endif
04521 
04522 #ifndef GL_PREVIOUS_EXT
04523 #define GL_PREVIOUS_EXT                                               34168
04524 #endif
04525 
04526 
04537 #ifndef GL_DOT3_RGB_EXT
04538 #define GL_DOT3_RGB_EXT                                               34624
04539 #endif
04540 
04541 #ifndef GL_DOT3_RGBA_EXT
04542 #define GL_DOT3_RGBA_EXT                                              34625
04543 #endif
04544 
04545 
04556 #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
04557 #define GL_TEXTURE_MAX_ANISOTROPY_EXT                                 34046
04558 #endif
04559 
04560 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
04561 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT                             34047
04562 #endif
04563 
04564 
04575 #ifndef GL_TEXTURE_FILTER_CONTROL_EXT
04576 #define GL_TEXTURE_FILTER_CONTROL_EXT                                 34048
04577 #endif
04578 
04579 #ifndef GL_TEXTURE_LOD_BIAS_EXT
04580 #define GL_TEXTURE_LOD_BIAS_EXT                                       34049
04581 #endif
04582 
04583 #ifndef GL_MAX_TEXTURE_LOD_BIAS_EXT
04584 #define GL_MAX_TEXTURE_LOD_BIAS_EXT                                   34045
04585 #endif
04586 
04587 
04598 #ifndef GL_TEXTURE_PRIORITY_EXT
04599 #define GL_TEXTURE_PRIORITY_EXT                                       32870
04600 #endif
04601 
04602 #ifndef GL_TEXTURE_RESIDENT_EXT
04603 #define GL_TEXTURE_RESIDENT_EXT                                       32871
04604 #endif
04605 
04606 #ifndef GL_TEXTURE_1D_BINDING_EXT
04607 #define GL_TEXTURE_1D_BINDING_EXT                                     32872
04608 #endif
04609 
04610 #ifndef GL_TEXTURE_2D_BINDING_EXT
04611 #define GL_TEXTURE_2D_BINDING_EXT                                     32873
04612 #endif
04613 
04614 #ifndef GL_TEXTURE_3D_BINDING_EXT
04615 #define GL_TEXTURE_3D_BINDING_EXT                                     32874
04616 #endif
04617 
04618 
04624 typedef GLvoid (csAPIENTRY* csGLGENTEXTURESEXT) (GLsizei n, GLuint* textures);
04625 typedef GLvoid (csAPIENTRY* csGLDELETETEXTURESEXT) (GLsizei n, const GLuint* textures);
04626 typedef GLvoid (csAPIENTRY* csGLBINDTEXTUREEXT) (GLenum target, GLuint texture);
04627 typedef GLvoid (csAPIENTRY* csGLPRIORITIZETEXTURESEXT) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
04628 typedef GLboolean (csAPIENTRY* csGLARETEXTURESRESIDENTEXT) (GLsizei n, const GLuint* textures, GLboolean* residences);
04629 typedef GLboolean (csAPIENTRY* csGLISTEXTUREEXT) (GLuint texture);
04630 
04635 #ifndef GL_VERTEX_ARRAY_EXT
04636 #define GL_VERTEX_ARRAY_EXT                                           32884
04637 #endif
04638 
04639 #ifndef GL_NORMAL_ARRAY_EXT
04640 #define GL_NORMAL_ARRAY_EXT                                           32885
04641 #endif
04642 
04643 #ifndef GL_COLOR_ARRAY_EXT
04644 #define GL_COLOR_ARRAY_EXT                                            32886
04645 #endif
04646 
04647 #ifndef GL_INDEX_ARRAY_EXT
04648 #define GL_INDEX_ARRAY_EXT                                            32887
04649 #endif
04650 
04651 #ifndef GL_TEXTURE_COORD_ARRAY_EXT
04652 #define GL_TEXTURE_COORD_ARRAY_EXT                                    32888
04653 #endif
04654 
04655 #ifndef GL_EDGE_FLAG_ARRAY_EXT
04656 #define GL_EDGE_FLAG_ARRAY_EXT                                        32889
04657 #endif
04658 
04659 #ifndef GL_DOUBLE_EXT
04660 #define GL_DOUBLE_EXT                                                  5130
04661 #endif
04662 
04663 #ifndef GL_VERTEX_ARRAY_SIZE_EXT
04664 #define GL_VERTEX_ARRAY_SIZE_EXT                                      32890
04665 #endif
04666 
04667 #ifndef GL_VERTEX_ARRAY_TYPE_EXT
04668 #define GL_VERTEX_ARRAY_TYPE_EXT                                      32891
04669 #endif
04670 
04671 #ifndef GL_VERTEX_ARRAY_STRIDE_EXT
04672 #define GL_VERTEX_ARRAY_STRIDE_EXT                                    32892
04673 #endif
04674 
04675 #ifndef GL_VERTEX_ARRAY_COUNT_EXT
04676 #define GL_VERTEX_ARRAY_COUNT_EXT                                     32893
04677 #endif
04678 
04679 #ifndef GL_NORMAL_ARRAY_TYPE_EXT
04680 #define GL_NORMAL_ARRAY_TYPE_EXT                                      32894
04681 #endif
04682 
04683 #ifndef GL_NORMAL_ARRAY_STRIDE_EXT
04684 #define GL_NORMAL_ARRAY_STRIDE_EXT                                    32895
04685 #endif
04686 
04687 #ifndef GL_NORMAL_ARRAY_COUNT_EXT
04688 #define GL_NORMAL_ARRAY_COUNT_EXT                                     32896
04689 #endif
04690 
04691 #ifndef GL_COLOR_ARRAY_SIZE_EXT
04692 #define GL_COLOR_ARRAY_SIZE_EXT                                       32897
04693 #endif
04694 
04695 #ifndef GL_COLOR_ARRAY_TYPE_EXT
04696 #define GL_COLOR_ARRAY_TYPE_EXT                                       32898
04697 #endif
04698 
04699 #ifndef GL_COLOR_ARRAY_STRIDE_EXT
04700 #define GL_COLOR_ARRAY_STRIDE_EXT                                     32899
04701 #endif
04702 
04703 #ifndef GL_COLOR_ARRAY_COUNT_EXT
04704 #define GL_COLOR_ARRAY_COUNT_EXT                                      32900
04705 #endif
04706 
04707 #ifndef GL_INDEX_ARRAY_TYPE_EXT
04708 #define GL_INDEX_ARRAY_TYPE_EXT                                       32901
04709 #endif
04710 
04711 #ifndef GL_INDEX_ARRAY_STRIDE_EXT
04712 #define GL_INDEX_ARRAY_STRIDE_EXT                                     32902
04713 #endif
04714 
04715 #ifndef GL_INDEX_ARRAY_COUNT_EXT
04716 #define GL_INDEX_ARRAY_COUNT_EXT                                      32903
04717 #endif
04718 
04719 #ifndef GL_TEXTURE_COORD_ARRAY_SIZE_EXT
04720 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT                               32904
04721 #endif
04722 
04723 #ifndef GL_TEXTURE_COORD_ARRAY_TYPE_EXT
04724 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT                               32905
04725 #endif
04726 
04727 #ifndef GL_TEXTURE_COORD_ARRAY_STRIDE_EXT
04728 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT                             32906
04729 #endif
04730 
04731 #ifndef GL_TEXTURE_COORD_ARRAY_COUNT_EXT
04732 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT                              32907
04733 #endif
04734 
04735 #ifndef GL_EDGE_FLAG_ARRAY_STRIDE_EXT
04736 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT                                 32908
04737 #endif
04738 
04739 #ifndef GL_EDGE_FLAG_ARRAY_COUNT_EXT
04740 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT                                  32909
04741 #endif
04742 
04743 #ifndef GL_VERTEX_ARRAY_POINTER_EXT
04744 #define GL_VERTEX_ARRAY_POINTER_EXT                                   32910
04745 #endif
04746 
04747 #ifndef GL_NORMAL_ARRAY_POINTER_EXT
04748 #define GL_NORMAL_ARRAY_POINTER_EXT                                   32911
04749 #endif
04750 
04751 #ifndef GL_COLOR_ARRAY_POINTER_EXT
04752 #define GL_COLOR_ARRAY_POINTER_EXT                                    32912
04753 #endif
04754 
04755 #ifndef GL_INDEX_ARRAY_POINTER_EXT
04756 #define GL_INDEX_ARRAY_POINTER_EXT                                    32913
04757 #endif
04758 
04759 #ifndef GL_TEXTURE_COORD_ARRAY_POINTER_EXT
04760 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT                            32914
04761 #endif
04762 
04763 #ifndef GL_EDGE_FLAG_ARRAY_POINTER_EXT
04764 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT                                32915
04765 #endif
04766 
04767 
04773 typedef GLvoid (csAPIENTRY* csGLARRAYELEMENTEXT) (GLint i);
04774 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSEXT) (GLenum mode, GLint first, GLsizei count);
04775 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04776 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04777 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04778 typedef GLvoid (csAPIENTRY* csGLINDEXPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04779 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer);
04780 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTEREXT) (GLsizei stride, GLsizei count, const GLboolean* pointer);
04781 typedef GLvoid (csAPIENTRY* csGLGETPOINTERVEXT) (GLenum pname, GLvoid* params);
04782 
04787 #ifndef GL_VERTEX_SHADER_EXT
04788 #define GL_VERTEX_SHADER_EXT                                          34688
04789 #endif
04790 
04791 #ifndef GL_VARIANT_VALUE_EXT
04792 #define GL_VARIANT_VALUE_EXT                                          34788
04793 #endif
04794 
04795 #ifndef GL_VARIANT_DATATYPE_EXT
04796 #define GL_VARIANT_DATATYPE_EXT                                       34789
04797 #endif
04798 
04799 #ifndef GL_VARIANT_ARRAY_STRIDE_EXT
04800 #define GL_VARIANT_ARRAY_STRIDE_EXT                                   34790
04801 #endif
04802 
04803 #ifndef GL_VARIANT_ARRAY_TYPE_EXT
04804 #define GL_VARIANT_ARRAY_TYPE_EXT                                     34791
04805 #endif
04806 
04807 #ifndef GL_VARIANT_ARRAY_EXT
04808 #define GL_VARIANT_ARRAY_EXT                                          34792
04809 #endif
04810 
04811 #ifndef GL_VARIANT_ARRAY_POINTER_EXT
04812 #define GL_VARIANT_ARRAY_POINTER_EXT                                  34793
04813 #endif
04814 
04815 #ifndef GL_INVARIANT_VALUE_EXT
04816 #define GL_INVARIANT_VALUE_EXT                                        34794
04817 #endif
04818 
04819 #ifndef GL_INVARIANT_DATATYPE_EXT
04820 #define GL_INVARIANT_DATATYPE_EXT                                     34795
04821 #endif
04822 
04823 #ifndef GL_LOCAL_CONSTANT_VALUE_EXT
04824 #define GL_LOCAL_CONSTANT_VALUE_EXT                                   34796
04825 #endif
04826 
04827 #ifndef GL_LOCAL_CONSTANT_DATATYPE_EXT
04828 #define GL_LOCAL_CONSTANT_DATATYPE_EXT                                34797
04829 #endif
04830 
04831 #ifndef GL_OP_INDEX_EXT
04832 #define GL_OP_INDEX_EXT                                               34690
04833 #endif
04834 
04835 #ifndef GL_OP_NEGATE_EXT
04836 #define GL_OP_NEGATE_EXT                                              34691
04837 #endif
04838 
04839 #ifndef GL_OP_DOT3_EXT
04840 #define GL_OP_DOT3_EXT                                                34692
04841 #endif
04842 
04843 #ifndef GL_OP_DOT4_EXT
04844 #define GL_OP_DOT4_EXT                                                34693
04845 #endif
04846 
04847 #ifndef GL_OP_MUL_EXT
04848 #define GL_OP_MUL_EXT                                                 34694
04849 #endif
04850 
04851 #ifndef GL_OP_ADD_EXT
04852 #define GL_OP_ADD_EXT                                                 34695
04853 #endif
04854 
04855 #ifndef GL_OP_MADD_EXT
04856 #define GL_OP_MADD_EXT                                                34696
04857 #endif
04858 
04859 #ifndef GL_OP_FRAC_EXT
04860 #define GL_OP_FRAC_EXT                                                34697
04861 #endif
04862 
04863 #ifndef GL_OP_MAX_EXT
04864 #define GL_OP_MAX_EXT                                                 34698
04865 #endif
04866 
04867 #ifndef GL_OP_MIN_EXT
04868 #define GL_OP_MIN_EXT                                                 34699
04869 #endif
04870 
04871 #ifndef GL_OP_SET_GE_EXT
04872 #define GL_OP_SET_GE_EXT                                              34700
04873 #endif
04874 
04875 #ifndef GL_OP_SET_LT_EXT
04876 #define GL_OP_SET_LT_EXT                                              34701
04877 #endif
04878 
04879 #ifndef GL_OP_CLAMP_EXT
04880 #define GL_OP_CLAMP_EXT                                               34702
04881 #endif
04882 
04883 #ifndef GL_OP_FLOOR_EXT
04884 #define GL_OP_FLOOR_EXT                                               34703
04885 #endif
04886 
04887 #ifndef GL_OP_ROUND_EXT
04888 #define GL_OP_ROUND_EXT                                               34704
04889 #endif
04890 
04891 #ifndef GL_OP_EXP_BASE_2_EXT
04892 #define GL_OP_EXP_BASE_2_EXT                                          34705
04893 #endif
04894 
04895 #ifndef GL_OP_LOG_BASE_2_EXT
04896 #define GL_OP_LOG_BASE_2_EXT                                          34706
04897 #endif
04898 
04899 #ifndef GL_OP_POWER_EXT
04900 #define GL_OP_POWER_EXT                                               34707
04901 #endif
04902 
04903 #ifndef GL_OP_RECIP_EXT
04904 #define GL_OP_RECIP_EXT                                               34708
04905 #endif
04906 
04907 #ifndef GL_OP_RECIP_SQRT_EXT
04908 #define GL_OP_RECIP_SQRT_EXT                                          34709
04909 #endif
04910 
04911 #ifndef GL_OP_SUB_EXT
04912 #define GL_OP_SUB_EXT                                                 34710
04913 #endif
04914 
04915 #ifndef GL_OP_CROSS_PRODUCT_EXT
04916 #define GL_OP_CROSS_PRODUCT_EXT                                       34711
04917 #endif
04918 
04919 #ifndef GL_OP_MULTIPLY_MATRIX_EXT
04920 #define GL_OP_MULTIPLY_MATRIX_EXT                                     34712
04921 #endif
04922 
04923 #ifndef GL_OP_MOV_EXT
04924 #define GL_OP_MOV_EXT                                                 34713
04925 #endif
04926 
04927 #ifndef GL_OUTPUT_VERTEX_EXT
04928 #define GL_OUTPUT_VERTEX_EXT                                          34714
04929 #endif
04930 
04931 #ifndef GL_OUTPUT_COLOR0_EXT
04932 #define GL_OUTPUT_COLOR0_EXT                                          34715
04933 #endif
04934 
04935 #ifndef GL_OUTPUT_COLOR1_EXT
04936 #define GL_OUTPUT_COLOR1_EXT                                          34716
04937 #endif
04938 
04939 #ifndef GL_OUTPUT_TEXTURE_COORD0_EXT
04940 #define GL_OUTPUT_TEXTURE_COORD0_EXT                                  34717
04941 #endif
04942 
04943 #ifndef GL_OUTPUT_TEXTURE_COORD1_EXT
04944 #define GL_OUTPUT_TEXTURE_COORD1_EXT                                  34718
04945 #endif
04946 
04947 #ifndef GL_OUTPUT_TEXTURE_COORD2_EXT
04948 #define GL_OUTPUT_TEXTURE_COORD2_EXT                                  34719
04949 #endif
04950 
04951 #ifndef GL_OUTPUT_TEXTURE_COORD3_EXT
04952 #define GL_OUTPUT_TEXTURE_COORD3_EXT                                  34720
04953 #endif
04954 
04955 #ifndef GL_OUTPUT_TEXTURE_COORD4_EXT
04956 #define GL_OUTPUT_TEXTURE_COORD4_EXT                                  34721
04957 #endif
04958 
04959 #ifndef GL_OUTPUT_TEXTURE_COORD5_EXT
04960 #define GL_OUTPUT_TEXTURE_COORD5_EXT                                  34722
04961 #endif
04962 
04963 #ifndef GL_OUTPUT_TEXTURE_COORD6_EXT
04964 #define GL_OUTPUT_TEXTURE_COORD6_EXT                                  34723
04965 #endif
04966 
04967 #ifndef GL_OUTPUT_TEXTURE_COORD7_EXT
04968 #define GL_OUTPUT_TEXTURE_COORD7_EXT                                  34724
04969 #endif
04970 
04971 #ifndef GL_OUTPUT_TEXTURE_COORD8_EXT
04972 #define GL_OUTPUT_TEXTURE_COORD8_EXT                                  34725
04973 #endif
04974 
04975 #ifndef GL_OUTPUT_TEXTURE_COORD9_EXT
04976 #define GL_OUTPUT_TEXTURE_COORD9_EXT                                  34726
04977 #endif
04978 
04979 #ifndef GL_OUTPUT_TEXTURE_COORD10_EXT
04980 #define GL_OUTPUT_TEXTURE_COORD10_EXT                                 34727
04981 #endif
04982 
04983 #ifndef GL_OUTPUT_TEXTURE_COORD11_EXT
04984 #define GL_OUTPUT_TEXTURE_COORD11_EXT                                 34728
04985 #endif
04986 
04987 #ifndef GL_OUTPUT_TEXTURE_COORD12_EXT
04988 #define GL_OUTPUT_TEXTURE_COORD12_EXT                                 34729
04989 #endif
04990 
04991 #ifndef GL_OUTPUT_TEXTURE_COORD13_EXT
04992 #define GL_OUTPUT_TEXTURE_COORD13_EXT                                 34730
04993 #endif
04994 
04995 #ifndef GL_OUTPUT_TEXTURE_COORD14_EXT
04996 #define GL_OUTPUT_TEXTURE_COORD14_EXT                                 34731
04997 #endif
04998 
04999 #ifndef GL_OUTPUT_TEXTURE_COORD15_EXT
05000 #define GL_OUTPUT_TEXTURE_COORD15_EXT                                 34732
05001 #endif
05002 
05003 #ifndef GL_OUTPUT_TEXTURE_COORD16_EXT
05004 #define GL_OUTPUT_TEXTURE_COORD16_EXT                                 34733
05005 #endif
05006 
05007 #ifndef GL_OUTPUT_TEXTURE_COORD17_EXT
05008 #define GL_OUTPUT_TEXTURE_COORD17_EXT                                 34734
05009 #endif
05010 
05011 #ifndef GL_OUTPUT_TEXTURE_COORD18_EXT
05012 #define GL_OUTPUT_TEXTURE_COORD18_EXT                                 34735
05013 #endif
05014 
05015 #ifndef GL_OUTPUT_TEXTURE_COORD19_EXT
05016 #define GL_OUTPUT_TEXTURE_COORD19_EXT                                 34736
05017 #endif
05018 
05019 #ifndef GL_OUTPUT_TEXTURE_COORD20_EXT
05020 #define GL_OUTPUT_TEXTURE_COORD20_EXT                                 34737
05021 #endif
05022 
05023 #ifndef GL_OUTPUT_TEXTURE_COORD21_EXT
05024 #define GL_OUTPUT_TEXTURE_COORD21_EXT                                 34738
05025 #endif
05026 
05027 #ifndef GL_OUTPUT_TEXTURE_COORD22_EXT
05028 #define GL_OUTPUT_TEXTURE_COORD22_EXT                                 34739
05029 #endif
05030 
05031 #ifndef GL_OUTPUT_TEXTURE_COORD23_EXT
05032 #define GL_OUTPUT_TEXTURE_COORD23_EXT                                 34740
05033 #endif
05034 
05035 #ifndef GL_OUTPUT_TEXTURE_COORD24_EXT
05036 #define GL_OUTPUT_TEXTURE_COORD24_EXT                                 34741
05037 #endif
05038 
05039 #ifndef GL_OUTPUT_TEXTURE_COORD25_EXT
05040 #define GL_OUTPUT_TEXTURE_COORD25_EXT                                 34742
05041 #endif
05042 
05043 #ifndef GL_OUTPUT_TEXTURE_COORD26_EXT
05044 #define GL_OUTPUT_TEXTURE_COORD26_EXT                                 34743
05045 #endif
05046 
05047 #ifndef GL_OUTPUT_TEXTURE_COORD27_EXT
05048 #define GL_OUTPUT_TEXTURE_COORD27_EXT                                 34744
05049 #endif
05050 
05051 #ifndef GL_OUTPUT_TEXTURE_COORD28_EXT
05052 #define GL_OUTPUT_TEXTURE_COORD28_EXT                                 34745
05053 #endif
05054 
05055 #ifndef GL_OUTPUT_TEXTURE_COORD29_EXT
05056 #define GL_OUTPUT_TEXTURE_COORD29_EXT                                 34746
05057 #endif
05058 
05059 #ifndef GL_OUTPUT_TEXTURE_COORD30_EXT
05060 #define GL_OUTPUT_TEXTURE_COORD30_EXT                                 34747
05061 #endif
05062 
05063 #ifndef GL_OUTPUT_TEXTURE_COORD31_EXT
05064 #define GL_OUTPUT_TEXTURE_COORD31_EXT                                 34748
05065 #endif
05066 
05067 #ifndef GL_OUTPUT_FOG_EXT
05068 #define GL_OUTPUT_FOG_EXT                                             34749
05069 #endif
05070 
05071 #ifndef GL_SCALAR_EXT
05072 #define GL_SCALAR_EXT                                                 34750
05073 #endif
05074 
05075 #ifndef GL_VECTOR_EXT
05076 #define GL_VECTOR_EXT                                                 34751
05077 #endif
05078 
05079 #ifndef GL_MATRIX_EXT
05080 #define GL_MATRIX_EXT                                                 34752
05081 #endif
05082 
05083 #ifndef GL_VARIANT_EXT
05084 #define GL_VARIANT_EXT                                                34753
05085 #endif
05086 
05087 #ifndef GL_INVARIANT_EXT
05088 #define GL_INVARIANT_EXT                                              34754
05089 #endif
05090 
05091 #ifndef GL_LOCAL_CONSTANT_EXT
05092 #define GL_LOCAL_CONSTANT_EXT                                         34755
05093 #endif
05094 
05095 #ifndef GL_LOCAL_EXT
05096 #define GL_LOCAL_EXT                                                  34756
05097 #endif
05098 
05099 #ifndef GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT
05100 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT                         34757
05101 #endif
05102 
05103 #ifndef GL_MAX_VERTEX_SHADER_VARIANTS_EXT
05104 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT                             34758
05105 #endif
05106 
05107 #ifndef GL_MAX_VERTEX_SHADER_INVARIANTS_EXT
05108 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT                           34759
05109 #endif
05110 
05111 #ifndef GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05112 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                      34760
05113 #endif
05114 
05115 #ifndef GL_MAX_VERTEX_SHADER_LOCALS_EXT
05116 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT                               34761
05117 #endif
05118 
05119 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT
05120 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT               34762
05121 #endif
05122 
05123 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT
05124 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT                   34763
05125 #endif
05126 
05127 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05128 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT            34764
05129 #endif
05130 
05131 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT
05132 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT                 34765
05133 #endif
05134 
05135 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT
05136 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT                     34766
05137 #endif
05138 
05139 #ifndef GL_VERTEX_SHADER_INSTRUCTIONS_EXT
05140 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT                             34767
05141 #endif
05142 
05143 #ifndef GL_VERTEX_SHADER_VARIANTS_EXT
05144 #define GL_VERTEX_SHADER_VARIANTS_EXT                                 34768
05145 #endif
05146 
05147 #ifndef GL_VERTEX_SHADER_INVARIANTS_EXT
05148 #define GL_VERTEX_SHADER_INVARIANTS_EXT                               34769
05149 #endif
05150 
05151 #ifndef GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT
05152 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT                          34770
05153 #endif
05154 
05155 #ifndef GL_VERTEX_SHADER_LOCALS_EXT
05156 #define GL_VERTEX_SHADER_LOCALS_EXT                                   34771
05157 #endif
05158 
05159 #ifndef GL_VERTEX_SHADER_BINDING_EXT
05160 #define GL_VERTEX_SHADER_BINDING_EXT                                  34689
05161 #endif
05162 
05163 #ifndef GL_VERTEX_SHADER_OPTIMIZED_EXT
05164 #define GL_VERTEX_SHADER_OPTIMIZED_EXT                                34772
05165 #endif
05166 
05167 #ifndef GL_X_EXT
05168 #define GL_X_EXT                                                      34773
05169 #endif
05170 
05171 #ifndef GL_Y_EXT
05172 #define GL_Y_EXT                                                      34774
05173 #endif
05174 
05175 #ifndef GL_Z_EXT
05176 #define GL_Z_EXT                                                      34775
05177 #endif
05178 
05179 #ifndef GL_W_EXT
05180 #define GL_W_EXT                                                      34776
05181 #endif
05182 
05183 #ifndef GL_NEGATIVE_X_EXT
05184 #define GL_NEGATIVE_X_EXT                                             34777
05185 #endif
05186 
05187 #ifndef GL_NEGATIVE_Y_EXT
05188 #define GL_NEGATIVE_Y_EXT                                             34778
05189 #endif
05190 
05191 #ifndef GL_NEGATIVE_Z_EXT
05192 #define GL_NEGATIVE_Z_EXT                                             34779
05193 #endif
05194 
05195 #ifndef GL_NEGATIVE_W_EXT
05196 #define GL_NEGATIVE_W_EXT                                             34780
05197 #endif
05198 
05199 #ifndef GL_ZERO_EXT
05200 #define GL_ZERO_EXT                                                   34781
05201 #endif
05202 
05203 #ifndef GL_ONE_EXT
05204 #define GL_ONE_EXT                                                    34782
05205 #endif
05206 
05207 #ifndef GL_NEGATIVE_ONE_EXT
05208 #define GL_NEGATIVE_ONE_EXT                                           34783
05209 #endif
05210 
05211 #ifndef GL_NORMALIZED_RANGE_EXT
05212 #define GL_NORMALIZED_RANGE_EXT                                       34784
05213 #endif
05214 
05215 #ifndef GL_FULL_RANGE_EXT
05216 #define GL_FULL_RANGE_EXT                                             34785
05217 #endif
05218 
05219 #ifndef GL_CURRENT_VERTEX_EXT
05220 #define GL_CURRENT_VERTEX_EXT                                         34786
05221 #endif
05222 
05223 #ifndef GL_MVP_MATRIX_EXT
05224 #define GL_MVP_MATRIX_EXT                                             34787
05225 #endif
05226 
05227 
05233 typedef GLvoid (csAPIENTRY* csGLBEGINVERTEXSHADEREXT) ();
05234 typedef GLvoid (csAPIENTRY* csGLENDVERTEXSHADEREXT) ();
05235 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXSHADEREXT) (GLuint id);
05236 typedef GLuint (csAPIENTRY* csGLGENVERTEXSHADERSEXT) (GLuint range);
05237 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXSHADEREXT) (GLuint id);
05238 typedef GLvoid (csAPIENTRY* csGLSHADEROP1EXT) (GLenum op, GLuint res, GLuint arg1);
05239 typedef GLvoid (csAPIENTRY* csGLSHADEROP2EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
05240 typedef GLvoid (csAPIENTRY* csGLSHADEROP3EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
05241 typedef GLvoid (csAPIENTRY* csGLSWIZZLEEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
05242 typedef GLvoid (csAPIENTRY* csGLWRITEMASKEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
05243 typedef GLvoid (csAPIENTRY* csGLINSERTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
05244 typedef GLvoid (csAPIENTRY* csGLEXTRACTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num);
05245 typedef GLuint (csAPIENTRY* csGLGENSYMBOLSEXT) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
05246 typedef GLvoid (csAPIENTRY* csGLSETINVARIANTEXT) (GLuint id, GLenum type, GLvoid* addr);
05247 typedef GLvoid (csAPIENTRY* csGLSETLOCALCONSTANTEXT) (GLuint id, GLenum type, GLvoid* addr);
05248 typedef GLvoid (csAPIENTRY* csGLVARIANTBVEXT) (GLuint id, GLbyte* addr);
05249 typedef GLvoid (csAPIENTRY* csGLVARIANTSVEXT) (GLuint id, GLshort* addr);
05250 typedef GLvoid (csAPIENTRY* csGLVARIANTIVEXT) (GLuint id, GLint* addr);
05251 typedef GLvoid (csAPIENTRY* csGLVARIANTFVEXT) (GLuint id, GLfloat* addr);
05252 typedef GLvoid (csAPIENTRY* csGLVARIANTDVEXT) (GLuint id, GLdouble* addr);
05253 typedef GLvoid (csAPIENTRY* csGLVARIANTUBVEXT) (GLuint id, GLubyte* addr);
05254 typedef GLvoid (csAPIENTRY* csGLVARIANTUSVEXT) (GLuint id, GLushort* addr);
05255 typedef GLvoid (csAPIENTRY* csGLVARIANTUIVEXT) (GLuint id, GLuint* addr);
05256 typedef GLvoid (csAPIENTRY* csGLVARIANTPOINTEREXT) (GLuint id, GLenum type, GLuint stride, GLvoid* addr);
05257 typedef GLvoid (csAPIENTRY* csGLENABLEVARIANTCLIENTSTATEEXT) (GLuint id);
05258 typedef GLvoid (csAPIENTRY* csGLDISABLEVARIANTCLIENTSTATEEXT) (GLuint id);
05259 typedef GLuint (csAPIENTRY* csGLBINDLIGHTPARAMETEREXT) (GLenum light, GLenum value);
05260 typedef GLuint (csAPIENTRY* csGLBINDMATERIALPARAMETEREXT) (GLenum face, GLenum value);
05261 typedef GLuint (csAPIENTRY* csGLBINDTEXGENPARAMETEREXT) (GLenum unit, GLenum coord, GLenum value);
05262 typedef GLuint (csAPIENTRY* csGLBINDTEXTUREUNITPARAMETEREXT) (GLenum unit, GLenum value);
05263 typedef GLuint (csAPIENTRY* csGLBINDPARAMETEREXT) (GLenum value);
05264 typedef GLboolean (csAPIENTRY* csGLISVARIANTENABLEDEXT) (GLuint id, GLenum cap);
05265 typedef GLvoid (csAPIENTRY* csGLGETVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05266 typedef GLvoid (csAPIENTRY* csGLGETVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05267 typedef GLvoid (csAPIENTRY* csGLGETVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05268 typedef GLvoid (csAPIENTRY* csGLGETVARIANTPOINTERVEXT) (GLuint id, GLenum value, GLvoid* data);
05269 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05270 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05271 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05272 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data);
05273 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data);
05274 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data);
05275 
05280 #ifndef GL_VERTEX_WEIGHTING_EXT
05281 #define GL_VERTEX_WEIGHTING_EXT                                       34057
05282 #endif
05283 
05284 #ifndef GL_MODELVIEW0_EXT
05285 #define GL_MODELVIEW0_EXT                                              5888
05286 #endif
05287 
05288 #ifndef GL_MODELVIEW1_EXT
05289 #define GL_MODELVIEW1_EXT                                             34058
05290 #endif
05291 
05292 #ifndef GL_MODELVIEW0_MATRIX_EXT
05293 #define GL_MODELVIEW0_MATRIX_EXT                                       2982
05294 #endif
05295 
05296 #ifndef GL_MODELVIEW1_MATRIX_EXT
05297 #define GL_MODELVIEW1_MATRIX_EXT                                      34054
05298 #endif
05299 
05300 #ifndef GL_CURRENT_VERTEX_WEIGHT_EXT
05301 #define GL_CURRENT_VERTEX_WEIGHT_EXT                                  34059
05302 #endif
05303 
05304 #ifndef GL_VERTEX_WEIGHT_ARRAY_EXT
05305 #define GL_VERTEX_WEIGHT_ARRAY_EXT                                    34060
05306 #endif
05307 
05308 #ifndef GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT
05309 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT                               34061
05310 #endif
05311 
05312 #ifndef GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT
05313 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT                               34062
05314 #endif
05315 
05316 #ifndef GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT
05317 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT                             34063
05318 #endif
05319 
05320 #ifndef GL_MODELVIEW0_STACK_DEPTH_EXT
05321 #define GL_MODELVIEW0_STACK_DEPTH_EXT                                  2979
05322 #endif
05323 
05324 #ifndef GL_MODELVIEW1_STACK_DEPTH_EXT
05325 #define GL_MODELVIEW1_STACK_DEPTH_EXT                                 34050
05326 #endif
05327 
05328 #ifndef GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT
05329 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT                            34064
05330 #endif
05331 
05332 
05338 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFEXT) (GLfloat weight);
05339 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFVEXT) (GLfloat* weight);
05340 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
05341 
05346 #ifndef GL_OCCLUSION_TEST_HP
05347 #define GL_OCCLUSION_TEST_HP                                          33125
05348 #endif
05349 
05350 #ifndef GL_OCCLUSION_TEST_RESULT_HP
05351 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
05352 #endif
05353 
05354 
05376 #ifndef GL_DEPTH_STENCIL_TO_RGBA_NV
05377 #define GL_DEPTH_STENCIL_TO_RGBA_NV                                   34926
05378 #endif
05379 
05380 #ifndef GL_DEPTH_STENCIL_TO_BGRA_NV
05381 #define GL_DEPTH_STENCIL_TO_BGRA_NV                                   34927
05382 #endif
05383 
05384 
05395 #ifndef GL_DEPTH_CLAMP_NV
05396 #define GL_DEPTH_CLAMP_NV                                             34383
05397 #endif
05398 
05399 
05410 #ifndef GL_EVAL_2D_NV
05411 #define GL_EVAL_2D_NV                                                 34496
05412 #endif
05413 
05414 #ifndef GL_EVAL_TRIANGULAR_2D_NV
05415 #define GL_EVAL_TRIANGULAR_2D_NV                                      34497
05416 #endif
05417 
05418 #ifndef GL_MAP_TESSELLATION_NV
05419 #define GL_MAP_TESSELLATION_NV                                        34498
05420 #endif
05421 
05422 #ifndef GL_MAP_ATTRIB_U_ORDER_NV
05423 #define GL_MAP_ATTRIB_U_ORDER_NV                                      34499
05424 #endif
05425 
05426 #ifndef GL_MAP_ATTRIB_V_ORDER_NV
05427 #define GL_MAP_ATTRIB_V_ORDER_NV                                      34500
05428 #endif
05429 
05430 #ifndef GL_EVAL_FRACTIONAL_TESSELLATION_NV
05431 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV                            34501
05432 #endif
05433 
05434 #ifndef GL_EVAL_VERTEX_ATTRIB0_NV
05435 #define GL_EVAL_VERTEX_ATTRIB0_NV                                     34502
05436 #endif
05437 
05438 #ifndef GL_EVAL_VERTEX_ATTRIB1_NV
05439 #define GL_EVAL_VERTEX_ATTRIB1_NV                                     34503
05440 #endif
05441 
05442 #ifndef GL_EVAL_VERTEX_ATTRIB2_NV
05443 #define GL_EVAL_VERTEX_ATTRIB2_NV                                     34504
05444 #endif
05445 
05446 #ifndef GL_EVAL_VERTEX_ATTRIB3_NV
05447 #define GL_EVAL_VERTEX_ATTRIB3_NV                                     34505
05448 #endif
05449 
05450 #ifndef GL_EVAL_VERTEX_ATTRIB4_NV
05451 #define GL_EVAL_VERTEX_ATTRIB4_NV                                     34506
05452 #endif
05453 
05454 #ifndef GL_EVAL_VERTEX_ATTRIB5_NV
05455 #define GL_EVAL_VERTEX_ATTRIB5_NV                                     34507
05456 #endif
05457 
05458 #ifndef GL_EVAL_VERTEX_ATTRIB6_NV
05459 #define GL_EVAL_VERTEX_ATTRIB6_NV                                     34508
05460 #endif
05461 
05462 #ifndef GL_EVAL_VERTEX_ATTRIB7_NV
05463 #define GL_EVAL_VERTEX_ATTRIB7_NV                                     34509
05464 #endif
05465 
05466 #ifndef GL_EVAL_VERTEX_ATTRIB8_NV
05467 #define GL_EVAL_VERTEX_ATTRIB8_NV                                     34510
05468 #endif
05469 
05470 #ifndef GL_EVAL_VERTEX_ATTRIB9_NV
05471 #define GL_EVAL_VERTEX_ATTRIB9_NV                                     34511
05472 #endif
05473 
05474 #ifndef GL_EVAL_VERTEX_ATTRIB10_NV
05475 #define GL_EVAL_VERTEX_ATTRIB10_NV                                    34512
05476 #endif
05477 
05478 #ifndef GL_EVAL_VERTEX_ATTRIB11_NV
05479 #define GL_EVAL_VERTEX_ATTRIB11_NV                                    34513
05480 #endif
05481 
05482 #ifndef GL_EVAL_VERTEX_ATTRIB12_NV
05483 #define GL_EVAL_VERTEX_ATTRIB12_NV                                    34514
05484 #endif
05485 
05486 #ifndef GL_EVAL_VERTEX_ATTRIB13_NV
05487 #define GL_EVAL_VERTEX_ATTRIB13_NV                                    34515
05488 #endif
05489 
05490 #ifndef GL_EVAL_VERTEX_ATTRIB14_NV
05491 #define GL_EVAL_VERTEX_ATTRIB14_NV                                    34516
05492 #endif
05493 
05494 #ifndef GL_EVAL_VERTEX_ATTRIB15_NV
05495 #define GL_EVAL_VERTEX_ATTRIB15_NV                                    34517
05496 #endif
05497 
05498 #ifndef GL_MAX_MAP_TESSELLATION_NV
05499 #define GL_MAX_MAP_TESSELLATION_NV                                    34518
05500 #endif
05501 
05502 #ifndef GL_MAX_RATIONAL_EVAL_ORDER_NV
05503 #define GL_MAX_RATIONAL_EVAL_ORDER_NV                                 34519
05504 #endif
05505 
05506 
05512 typedef GLvoid (csAPIENTRY* csGLMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid* points);
05513 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERIVNV) (GLenum target, GLenum pname, const GLint* params);
05514 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERFVNV) (GLenum target, GLenum pname, const GLfloat* params);
05515 typedef GLvoid (csAPIENTRY* csGLGETMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid* points);
05516 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERIVNV) (GLenum target, GLenum pname, GLint* params);
05517 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERFVNV) (GLenum target, GLenum pname, GLfloat* params);
05518 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERIVNV) (GLenum target, GLuint index, GLenum pname, GLint* params);
05519 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
05520 typedef GLvoid (csAPIENTRY* csGLEVALMAPSNV) (GLenum target, GLenum mode);
05521 
05526 #ifndef GL_ALL_COMPLETED_NV
05527 #define GL_ALL_COMPLETED_NV                                           34034
05528 #endif
05529 
05530 #ifndef GL_FENCE_STATUS_NV
05531 #define GL_FENCE_STATUS_NV                                            34035
05532 #endif
05533 
05534 #ifndef GL_FENCE_CONDITION_NV
05535 #define GL_FENCE_CONDITION_NV                                         34036
05536 #endif
05537 
05538 
05544 typedef GLvoid (csAPIENTRY* csGLGENFENCESNV) (GLsizei n, GLuint* fences);
05545 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESNV) (GLsizei n, const GLuint* fences);
05546 typedef GLvoid (csAPIENTRY* csGLSETFENCENV) (GLuint fence, GLenum condition);
05547 typedef GLboolean (csAPIENTRY* csGLTESTFENCENV) (GLuint fence);
05548 typedef GLvoid (csAPIENTRY* csGLFINISHFENCENV) (GLuint fence);
05549 typedef GLboolean (csAPIENTRY* csGLISFENCENV) (GLuint fence);
05550 typedef GLvoid (csAPIENTRY* csGLGETFENCEIVNV) (GLuint fence, GLenum pname, GLint* params);
05551 
05556 #ifndef GL_FOG_DISTANCE_MODE_NV
05557 #define GL_FOG_DISTANCE_MODE_NV                                       34138
05558 #endif
05559 
05560 #ifndef GL_EYE_RADIAL_NV
05561 #define GL_EYE_RADIAL_NV                                              34139
05562 #endif
05563 
05564 #ifndef GL_EYE_PLANE_ABSOLUTE_NV
05565 #define GL_EYE_PLANE_ABSOLUTE_NV                                      34140
05566 #endif
05567 
05568 
05579 #ifndef GL_MAX_SHININESS_NV
05580 #define GL_MAX_SHININESS_NV                                           34052
05581 #endif
05582 
05583 #ifndef GL_MAX_SPOT_EXPONENT_NV
05584 #define GL_MAX_SPOT_EXPONENT_NV                                       34053
05585 #endif
05586 
05587 
05598 #ifndef GL_MULTISAMPLE_FILTER_HINT_NV
05599 #define GL_MULTISAMPLE_FILTER_HINT_NV                                 34100
05600 #endif
05601 
05602 
05613 #ifndef GL_OCCLUSION_TEST_HP
05614 #define GL_OCCLUSION_TEST_HP                                          33125
05615 #endif
05616 
05617 #ifndef GL_OCCLUSION_TEST_RESULT_HP
05618 #define GL_OCCLUSION_TEST_RESULT_HP                                   33126
05619 #endif
05620 
05621 #ifndef GL_PIXEL_COUNTER_BITS_NV
05622 #define GL_PIXEL_COUNTER_BITS_NV                                      34916
05623 #endif
05624 
05625 #ifndef GL_CURRENT_OCCLUSION_QUERY_ID_NV
05626 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV                              34917
05627 #endif
05628 
05629 #ifndef GL_PIXEL_COUNT_NV
05630 #define GL_PIXEL_COUNT_NV                                             34918
05631 #endif
05632 
05633 #ifndef GL_PIXEL_COUNT_AVAILABLE_NV
05634 #define GL_PIXEL_COUNT_AVAILABLE_NV                                   34919
05635 #endif
05636 
05637 
05643 typedef GLvoid (csAPIENTRY* csGLGENOCCLUSIONQUERIESNV) (GLsizei n, GLuint* ids);
05644 typedef GLvoid (csAPIENTRY* csGLDELETEOCCLUSIONQUERIESNV) (GLsizei n, const GLuint* ids);
05645 typedef GLboolean (csAPIENTRY* csGLISOCCLUSIONQUERYNV) (GLuint id);
05646 typedef GLvoid (csAPIENTRY* csGLBEGINOCCLUSIONQUERYNV) (GLuint id);
05647 typedef GLvoid (csAPIENTRY* csGLENDOCCLUSIONQUERYNV) ();
05648 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYIVNV) (GLuint id, GLenum pname, GLint* params);
05649 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYUIVNV) (GLuint id, GLenum pname, GLuint* params);
05650 
05655 #ifndef GL_DEPTH_STENCIL_NV
05656 #define GL_DEPTH_STENCIL_NV                                           34041
05657 #endif
05658 
05659 #ifndef GL_UNSIGNED_INT_24_8_NV
05660 #define GL_UNSIGNED_INT_24_8_NV                                       34042
05661 #endif
05662 
05663 
05674 #ifndef GL_POINT_SPRITE_NV
05675 #define GL_POINT_SPRITE_NV                                            34913
05676 #endif
05677 
05678 #ifndef GL_COORD_REPLACE_NV
05679 #define GL_COORD_REPLACE_NV                                           34914
05680 #endif
05681 
05682 #ifndef GL_POINT_SPRITE_R_MODE_NV
05683 #define GL_POINT_SPRITE_R_MODE_NV                                     34915
05684 #endif
05685 
05686 
05692 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERINV) (GLenum pname, GLint param);
05693 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERIVNV) (GLenum pname, const GLint* params);
05694 
05699 #ifndef GL_REGISTER_COMBINERS_NV
05700 #define GL_REGISTER_COMBINERS_NV                                      34082
05701 #endif
05702 
05703 #ifndef GL_COMBINER0_NV
05704 #define GL_COMBINER0_NV                                               34128
05705 #endif
05706 
05707 #ifndef GL_COMBINER1_NV
05708 #define GL_COMBINER1_NV                                               34129
05709 #endif
05710 
05711 #ifndef GL_COMBINER2_NV
05712 #define GL_COMBINER2_NV                                               34130
05713 #endif
05714 
05715 #ifndef GL_COMBINER3_NV
05716 #define GL_COMBINER3_NV                                               34131
05717 #endif
05718 
05719 #ifndef GL_COMBINER4_NV
05720 #define GL_COMBINER4_NV                                               34132
05721 #endif
05722 
05723 #ifndef GL_COMBINER5_NV
05724 #define GL_COMBINER5_NV                                               34133
05725 #endif
05726 
05727 #ifndef GL_COMBINER6_NV
05728 #define GL_COMBINER6_NV                                               34134
05729 #endif
05730 
05731 #ifndef GL_COMBINER7_NV
05732 #define GL_COMBINER7_NV                                               34135
05733 #endif
05734 
05735 #ifndef GL_VARIABLE_A_NV
05736 #define GL_VARIABLE_A_NV                                              34083
05737 #endif
05738 
05739 #ifndef GL_VARIABLE_B_NV
05740 #define GL_VARIABLE_B_NV                                              34084
05741 #endif
05742 
05743 #ifndef GL_VARIABLE_C_NV
05744 #define GL_VARIABLE_C_NV                                              34085
05745 #endif
05746 
05747 #ifndef GL_VARIABLE_D_NV
05748 #define GL_VARIABLE_D_NV                                              34086
05749 #endif
05750 
05751 #ifndef GL_VARIABLE_E_NV
05752 #define GL_VARIABLE_E_NV                                              34087
05753 #endif
05754 
05755 #ifndef GL_VARIABLE_F_NV
05756 #define GL_VARIABLE_F_NV                                              34088
05757 #endif
05758 
05759 #ifndef GL_VARIABLE_G_NV
05760 #define GL_VARIABLE_G_NV                                              34089
05761 #endif
05762 
05763 #ifndef GL_CONSTANT_COLOR0_NV
05764 #define GL_CONSTANT_COLOR0_NV                                         34090
05765 #endif
05766 
05767 #ifndef GL_CONSTANT_COLOR1_NV
05768 #define GL_CONSTANT_COLOR1_NV                                         34091
05769 #endif
05770 
05771 #ifndef GL_PRIMARY_COLOR_NV
05772 #define GL_PRIMARY_COLOR_NV                                           34092
05773 #endif
05774 
05775 #ifndef GL_SECONDARY_COLOR_NV
05776 #define GL_SECONDARY_COLOR_NV                                         34093
05777 #endif
05778 
05779 #ifndef GL_SPARE0_NV
05780 #define GL_SPARE0_NV                                                  34094
05781 #endif
05782 
05783 #ifndef GL_SPARE1_NV
05784 #define GL_SPARE1_NV                                                  34095
05785 #endif
05786 
05787 #ifndef GL_UNSIGNED_IDENTITY_NV
05788 #define GL_UNSIGNED_IDENTITY_NV                                       34102
05789 #endif
05790 
05791 #ifndef GL_UNSIGNED_INVERT_NV
05792 #define GL_UNSIGNED_INVERT_NV                                         34103
05793 #endif
05794 
05795 #ifndef GL_EXPAND_NORMAL_NV
05796 #define GL_EXPAND_NORMAL_NV                                           34104
05797 #endif
05798 
05799 #ifndef GL_EXPAND_NEGATE_NV
05800 #define GL_EXPAND_NEGATE_NV                                           34105
05801 #endif
05802 
05803 #ifndef GL_HALF_BIAS_NORMAL_NV
05804 #define GL_HALF_BIAS_NORMAL_NV                                        34106
05805 #endif
05806 
05807 #ifndef GL_HALF_BIAS_NEGATE_NV
05808 #define GL_HALF_BIAS_NEGATE_NV                                        34107
05809 #endif
05810 
05811 #ifndef GL_SIGNED_IDENTITY_NV
05812 #define GL_SIGNED_IDENTITY_NV                                         34108
05813 #endif
05814 
05815 #ifndef GL_SIGNED_NEGATE_NV
05816 #define GL_SIGNED_NEGATE_NV                                           34109
05817 #endif
05818 
05819 #ifndef GL_E_TIMES_F_NV
05820 #define GL_E_TIMES_F_NV                                               34097
05821 #endif
05822 
05823 #ifndef GL_SPARE0_PLUS_SECONDARY_COLOR_NV
05824 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV                             34098
05825 #endif
05826 
05827 #ifndef GL_SCALE_BY_TWO_NV
05828 #define GL_SCALE_BY_TWO_NV                                            34110
05829 #endif
05830 
05831 #ifndef GL_SCALE_BY_FOUR_NV
05832 #define GL_SCALE_BY_FOUR_NV                                           34111
05833 #endif
05834 
05835 #ifndef GL_SCALE_BY_ONE_HALF_NV
05836 #define GL_SCALE_BY_ONE_HALF_NV                                       34112
05837 #endif
05838 
05839 #ifndef GL_BIAS_BY_NEGATIVE_ONE_HALF_NV
05840 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV                               34113
05841 #endif
05842 
05843 #ifndef GL_DISCARD_NV
05844 #define GL_DISCARD_NV                                                 34096
05845 #endif
05846 
05847 #ifndef GL_COMBINER_INPUT_NV
05848 #define GL_COMBINER_INPUT_NV                                          34114
05849 #endif
05850 
05851 #ifndef GL_COMBINER_MAPPING_NV
05852 #define GL_COMBINER_MAPPING_NV                                        34115
05853 #endif
05854 
05855 #ifndef GL_COMBINER_COMPONENT_USAGE_NV
05856 #define GL_COMBINER_COMPONENT_USAGE_NV                                34116
05857 #endif
05858 
05859 #ifndef GL_COMBINER_AB_DOT_PRODUCT_NV
05860 #define GL_COMBINER_AB_DOT_PRODUCT_NV                                 34117
05861 #endif
05862 
05863 #ifndef GL_COMBINER_CD_DOT_PRODUCT_NV
05864 #define GL_COMBINER_CD_DOT_PRODUCT_NV                                 34118
05865 #endif
05866 
05867 #ifndef GL_COMBINER_MUX_SUM_NV
05868 #define GL_COMBINER_MUX_SUM_NV                                        34119
05869 #endif
05870 
05871 #ifndef GL_COMBINER_SCALE_NV
05872 #define GL_COMBINER_SCALE_NV                                          34120
05873 #endif
05874 
05875 #ifndef GL_COMBINER_BIAS_NV
05876 #define GL_COMBINER_BIAS_NV                                           34121
05877 #endif
05878 
05879 #ifndef GL_COMBINER_AB_OUTPUT_NV
05880 #define GL_COMBINER_AB_OUTPUT_NV                                      34122
05881 #endif
05882 
05883 #ifndef GL_COMBINER_CD_OUTPUT_NV
05884 #define GL_COMBINER_CD_OUTPUT_NV                                      34123
05885 #endif
05886 
05887 #ifndef GL_COMBINER_SUM_OUTPUT_NV
05888 #define GL_COMBINER_SUM_OUTPUT_NV                                     34124
05889 #endif
05890 
05891 #ifndef GL_NUM_GENERAL_COMBINERS_NV
05892 #define GL_NUM_GENERAL_COMBINERS_NV                                   34126
05893 #endif
05894 
05895 #ifndef GL_COLOR_SUM_CLAMP_NV
05896 #define GL_COLOR_SUM_CLAMP_NV                                         34127
05897 #endif
05898 
05899 #ifndef GL_MAX_GENERAL_COMBINERS_NV
05900 #define GL_MAX_GENERAL_COMBINERS_NV                                   34125
05901 #endif
05902 
05903 
05909 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFVNV) (GLenum pname, const GLfloat* params);
05910 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERIVNV) (GLenum pname, const GLint* params);
05911 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFNV) (GLenum pname, GLfloat param);
05912 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERINV) (GLenum pname, GLint param);
05913 typedef GLvoid (csAPIENTRY* csGLCOMBINERINPUTNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
05914 typedef GLvoid (csAPIENTRY* csGLCOMBINEROUTPUTNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
05915 typedef GLvoid (csAPIENTRY* csGLFINALCOMBINERINPUTNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
05916 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params);
05917 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params);
05918 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params);
05919 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum pname, GLint* params);
05920 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERFVNV) (GLenum variable, GLenum pname, GLfloat* params);
05921 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERIVNV) (GLenum variable, GLenum pname, GLint* params);
05922 
05927 #ifndef GL_PER_STAGE_CONSTANTS_NV
05928 #define GL_PER_STAGE_CONSTANTS_NV                                     34101
05929 #endif
05930 
05931 
05937 typedef GLvoid (csAPIENTRY* csGLCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, const GLfloat* params);
05938 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, GLfloat* params);
05939 
05944 #ifndef GL_EMBOSS_MAP_NV
05945 #define GL_EMBOSS_MAP_NV                                              34143
05946 #endif
05947 
05948 #ifndef GL_EMBOSS_LIGHT_NV
05949 #define GL_EMBOSS_LIGHT_NV                                            34141
05950 #endif
05951 
05952 #ifndef GL_EMBOSS_CONSTANT_NV
05953 #define GL_EMBOSS_CONSTANT_NV                                         34142
05954 #endif
05955 
05956 
05967 #ifndef GL_NORMAL_MAP_NV
05968 #define GL_NORMAL_MAP_NV                                              34065
05969 #endif
05970 
05971 #ifndef GL_REFLECTION_MAP_NV
05972 #define GL_REFLECTION_MAP_NV                                          34066
05973 #endif
05974 
05975 
05986 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
05987 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT                               33776
05988 #endif
05989 
05990 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT
05991 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT                              33777
05992 #endif
05993 
05994 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT
05995 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT                              33778
05996 #endif
05997 
05998 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT
05999 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT                              33779
06000 #endif
06001 
06002 
06013 #ifndef GL_COMBINE4_NV
06014 #define GL_COMBINE4_NV                                                34051
06015 #endif
06016 
06017 #ifndef GL_SOURCE3_RGB_NV
06018 #define GL_SOURCE3_RGB_NV                                             34179
06019 #endif
06020 
06021 #ifndef GL_SOURCE3_ALPHA_NV
06022 #define GL_SOURCE3_ALPHA_NV                                           34187
06023 #endif
06024 
06025 #ifndef GL_OPERAND3_RGB_NV
06026 #define GL_OPERAND3_RGB_NV                                            34195
06027 #endif
06028 
06029 #ifndef GL_OPERAND3_ALPHA_NV
06030 #define GL_OPERAND3_ALPHA_NV                                          34203
06031 #endif
06032 
06033 
06044 #ifndef GL_TEXTURE_RECTANGLE_NV
06045 #define GL_TEXTURE_RECTANGLE_NV                                       34037
06046 #endif
06047 
06048 #ifndef GL_TEXTURE_BINDING_RECTANGLE_NV
06049 #define GL_TEXTURE_BINDING_RECTANGLE_NV                               34038
06050 #endif
06051 
06052 #ifndef GL_PROXY_TEXTURE_RECTANGLE_NV
06053 #define GL_PROXY_TEXTURE_RECTANGLE_NV                                 34039
06054 #endif
06055 
06056 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV
06057 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV                              34040
06058 #endif
06059 
06060 
06071 #ifndef GL_TEXTURE_SHADER_NV
06072 #define GL_TEXTURE_SHADER_NV                                          34526
06073 #endif
06074 
06075 #ifndef GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV
06076 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV                       34521
06077 #endif
06078 
06079 #ifndef GL_SHADER_OPERATION_NV
06080 #define GL_SHADER_OPERATION_NV                                        34527
06081 #endif
06082 
06083 #ifndef GL_CULL_MODES_NV
06084 #define GL_CULL_MODES_NV                                              34528
06085 #endif
06086 
06087 #ifndef GL_OFFSET_TEXTURE_MATRIX_NV
06088 #define GL_OFFSET_TEXTURE_MATRIX_NV                                   34529
06089 #endif
06090 
06091 #ifndef GL_OFFSET_TEXTURE_SCALE_NV
06092 #define GL_OFFSET_TEXTURE_SCALE_NV                                    34530
06093 #endif
06094 
06095 #ifndef GL_OFFSET_TEXTURE_BIAS_NV
06096 #define GL_OFFSET_TEXTURE_BIAS_NV                                     34531
06097 #endif
06098 
06099 #ifndef GL_PREVIOUS_TEXTURE_INPUT_NV
06100 #define GL_PREVIOUS_TEXTURE_INPUT_NV                                  34532
06101 #endif
06102 
06103 #ifndef GL_CONST_EYE_NV
06104 #define GL_CONST_EYE_NV                                               34533
06105 #endif
06106 
06107 #ifndef GL_SHADER_CONSISTENT_NV
06108 #define GL_SHADER_CONSISTENT_NV                                       34525
06109 #endif
06110 
06111 #ifndef GL_PASS_THROUGH_NV
06112 #define GL_PASS_THROUGH_NV                                            34534
06113 #endif
06114 
06115 #ifndef GL_CULL_FRAGMENT_NV
06116 #define GL_CULL_FRAGMENT_NV                                           34535
06117 #endif
06118 
06119 #ifndef GL_OFFSET_TEXTURE_2D_NV
06120 #define GL_OFFSET_TEXTURE_2D_NV                                       34536
06121 #endif
06122 
06123 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_NV
06124 #define GL_OFFSET_TEXTURE_RECTANGLE_NV                                34380
06125 #endif
06126 
06127 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV
06128 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV                          34381
06129 #endif
06130 
06131 #ifndef GL_DEPENDENT_AR_TEXTURE_2D_NV
06132 #define GL_DEPENDENT_AR_TEXTURE_2D_NV                                 34537
06133 #endif
06134 
06135 #ifndef GL_DEPENDENT_GB_TEXTURE_2D_NV
06136 #define GL_DEPENDENT_GB_TEXTURE_2D_NV                                 34538
06137 #endif
06138 
06139 #ifndef GL_DOT_PRODUCT_NV
06140 #define GL_DOT_PRODUCT_NV                                             34540
06141 #endif
06142 
06143 #ifndef GL_DOT_PRODUCT_DEPTH_REPLACE_NV
06144 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV                               34541
06145 #endif
06146 
06147 #ifndef GL_DOT_PRODUCT_TEXTURE_2D_NV
06148 #define GL_DOT_PRODUCT_TEXTURE_2D_NV                                  34542
06149 #endif
06150 
06151 #ifndef GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV
06152 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV                           34382
06153 #endif
06154 
06155 #ifndef GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV
06156 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV                            34544
06157 #endif
06158 
06159 #ifndef GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV
06160 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV                            34545
06161 #endif
06162 
06163 #ifndef GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV
06164 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV                            34546
06165 #endif
06166 
06167 #ifndef GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV
06168 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV                  34547
06169 #endif
06170 
06171 #ifndef GL_HILO_NV
06172 #define GL_HILO_NV                                                    34548
06173 #endif
06174 
06175 #ifndef GL_DSDT_NV
06176 #define GL_DSDT_NV                                                    34549
06177 #endif
06178 
06179 #ifndef GL_DSDT_MAG_NV
06180 #define GL_DSDT_MAG_NV                                                34550
06181 #endif
06182 
06183 #ifndef GL_DSDT_MAG_VIB_NV
06184 #define GL_DSDT_MAG_VIB_NV                                            34551
06185 #endif
06186 
06187 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
06188 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
06189 #endif
06190 
06191 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
06192 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
06193 #endif
06194 
06195 #ifndef GL_SIGNED_RGBA_NV
06196 #define GL_SIGNED_RGBA_NV                                             34555
06197 #endif
06198 
06199 #ifndef GL_SIGNED_RGBA8_NV
06200 #define GL_SIGNED_RGBA8_NV                                            34556
06201 #endif
06202 
06203 #ifndef GL_SIGNED_RGB_NV
06204 #define GL_SIGNED_RGB_NV                                              34558
06205 #endif
06206 
06207 #ifndef GL_SIGNED_RGB8_NV
06208 #define GL_SIGNED_RGB8_NV                                             34559
06209 #endif
06210 
06211 #ifndef GL_SIGNED_LUMINANCE_NV
06212 #define GL_SIGNED_LUMINANCE_NV                                        34561
06213 #endif
06214 
06215 #ifndef GL_SIGNED_LUMINANCE8_NV
06216 #define GL_SIGNED_LUMINANCE8_NV                                       34562
06217 #endif
06218 
06219 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
06220 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
06221 #endif
06222 
06223 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
06224 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
06225 #endif
06226 
06227 #ifndef GL_SIGNED_ALPHA_NV
06228 #define GL_SIGNED_ALPHA_NV                                            34565
06229 #endif
06230 
06231 #ifndef GL_SIGNED_ALPHA8_NV
06232 #define GL_SIGNED_ALPHA8_NV                                           34566
06233 #endif
06234 
06235 #ifndef GL_SIGNED_INTENSITY_NV
06236 #define GL_SIGNED_INTENSITY_NV                                        34567
06237 #endif
06238 
06239 #ifndef GL_SIGNED_INTENSITY8_NV
06240 #define GL_SIGNED_INTENSITY8_NV                                       34568
06241 #endif
06242 
06243 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
06244 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
06245 #endif
06246 
06247 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
06248 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
06249 #endif
06250 
06251 #ifndef GL_HILO16_NV
06252 #define GL_HILO16_NV                                                  34552
06253 #endif
06254 
06255 #ifndef GL_SIGNED_HILO_NV
06256 #define GL_SIGNED_HILO_NV                                             34553
06257 #endif
06258 
06259 #ifndef GL_SIGNED_HILO16_NV
06260 #define GL_SIGNED_HILO16_NV                                           34554
06261 #endif
06262 
06263 #ifndef GL_DSDT8_NV
06264 #define GL_DSDT8_NV                                                   34569
06265 #endif
06266 
06267 #ifndef GL_DSDT8_MAG8_NV
06268 #define GL_DSDT8_MAG8_NV                                              34570
06269 #endif
06270 
06271 #ifndef GL_DSDT_MAG_INTENSITY_NV
06272 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
06273 #endif
06274 
06275 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
06276 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
06277 #endif
06278 
06279 #ifndef GL_HI_SCALE_NV
06280 #define GL_HI_SCALE_NV                                                34574
06281 #endif
06282 
06283 #ifndef GL_LO_SCALE_NV
06284 #define GL_LO_SCALE_NV                                                34575
06285 #endif
06286 
06287 #ifndef GL_DS_SCALE_NV
06288 #define GL_DS_SCALE_NV                                                34576
06289 #endif
06290 
06291 #ifndef GL_DT_SCALE_NV
06292 #define GL_DT_SCALE_NV                                                34577
06293 #endif
06294 
06295 #ifndef GL_MAGNITUDE_SCALE_NV
06296 #define GL_MAGNITUDE_SCALE_NV                                         34578
06297 #endif
06298 
06299 #ifndef GL_VIBRANCE_SCALE_NV
06300 #define GL_VIBRANCE_SCALE_NV                                          34579
06301 #endif
06302 
06303 #ifndef GL_HI_BIAS_NV
06304 #define GL_HI_BIAS_NV                                                 34580
06305 #endif
06306 
06307 #ifndef GL_LO_BIAS_NV
06308 #define GL_LO_BIAS_NV                                                 34581
06309 #endif
06310 
06311 #ifndef GL_DS_BIAS_NV
06312 #define GL_DS_BIAS_NV                                                 34582
06313 #endif
06314 
06315 #ifndef GL_DT_BIAS_NV
06316 #define GL_DT_BIAS_NV                                                 34583
06317 #endif
06318 
06319 #ifndef GL_MAGNITUDE_BIAS_NV
06320 #define GL_MAGNITUDE_BIAS_NV                                          34584
06321 #endif
06322 
06323 #ifndef GL_VIBRANCE_BIAS_NV
06324 #define GL_VIBRANCE_BIAS_NV                                           34585
06325 #endif
06326 
06327 #ifndef GL_TEXTURE_BORDER_VALUES_NV
06328 #define GL_TEXTURE_BORDER_VALUES_NV                                   34586
06329 #endif
06330 
06331 #ifndef GL_TEXTURE_HI_SIZE_NV
06332 #define GL_TEXTURE_HI_SIZE_NV                                         34587
06333 #endif
06334 
06335 #ifndef GL_TEXTURE_LO_SIZE_NV
06336 #define GL_TEXTURE_LO_SIZE_NV                                         34588
06337 #endif
06338 
06339 #ifndef GL_TEXTURE_DS_SIZE_NV
06340 #define GL_TEXTURE_DS_SIZE_NV                                         34589
06341 #endif
06342 
06343 #ifndef GL_TEXTURE_DT_SIZE_NV
06344 #define GL_TEXTURE_DT_SIZE_NV                                         34590
06345 #endif
06346 
06347 #ifndef GL_TEXTURE_MAG_SIZE_NV
06348 #define GL_TEXTURE_MAG_SIZE_NV                                        34591
06349 #endif
06350 
06351 
06362 #ifndef GL_DOT_PRODUCT_TEXTURE_3D_NV
06363 #define GL_DOT_PRODUCT_TEXTURE_3D_NV                                  34543
06364 #endif
06365 
06366 #ifndef GL_HILO_NV
06367 #define GL_HILO_NV                                                    34548
06368 #endif
06369 
06370 #ifndef GL_DSDT_NV
06371 #define GL_DSDT_NV                                                    34549
06372 #endif
06373 
06374 #ifndef GL_DSDT_MAG_NV
06375 #define GL_DSDT_MAG_NV                                                34550
06376 #endif
06377 
06378 #ifndef GL_DSDT_MAG_VIB_NV
06379 #define GL_DSDT_MAG_VIB_NV                                            34551
06380 #endif
06381 
06382 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
06383 #define GL_UNSIGNED_INT_S8_S8_8_8_NV                                  34522
06384 #endif
06385 
06386 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
06387 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV                              34523
06388 #endif
06389 
06390 #ifndef GL_SIGNED_RGBA_NV
06391 #define GL_SIGNED_RGBA_NV                                             34555
06392 #endif
06393 
06394 #ifndef GL_SIGNED_RGBA8_NV
06395 #define GL_SIGNED_RGBA8_NV                                            34556
06396 #endif
06397 
06398 #ifndef GL_SIGNED_RGB_NV
06399 #define GL_SIGNED_RGB_NV                                              34558
06400 #endif
06401 
06402 #ifndef GL_SIGNED_RGB8_NV
06403 #define GL_SIGNED_RGB8_NV                                             34559
06404 #endif
06405 
06406 #ifndef GL_SIGNED_LUMINANCE_NV
06407 #define GL_SIGNED_LUMINANCE_NV                                        34561
06408 #endif
06409 
06410 #ifndef GL_SIGNED_LUMINANCE8_NV
06411 #define GL_SIGNED_LUMINANCE8_NV                                       34562
06412 #endif
06413 
06414 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
06415 #define GL_SIGNED_LUMINANCE_ALPHA_NV                                  34563
06416 #endif
06417 
06418 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
06419 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV                                34564
06420 #endif
06421 
06422 #ifndef GL_SIGNED_ALPHA_NV
06423 #define GL_SIGNED_ALPHA_NV                                            34565
06424 #endif
06425 
06426 #ifndef GL_SIGNED_ALPHA8_NV
06427 #define GL_SIGNED_ALPHA8_NV                                           34566
06428 #endif
06429 
06430 #ifndef GL_SIGNED_INTENSITY_NV
06431 #define GL_SIGNED_INTENSITY_NV                                        34567
06432 #endif
06433 
06434 #ifndef GL_SIGNED_INTENSITY8_NV
06435 #define GL_SIGNED_INTENSITY8_NV                                       34568
06436 #endif
06437 
06438 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
06439 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV                               34572
06440 #endif
06441 
06442 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
06443 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV                             34573
06444 #endif
06445 
06446 #ifndef GL_HILO16_NV
06447 #define GL_HILO16_NV                                                  34552
06448 #endif
06449 
06450 #ifndef GL_SIGNED_HILO_NV
06451 #define GL_SIGNED_HILO_NV                                             34553
06452 #endif
06453 
06454 #ifndef GL_SIGNED_HILO16_NV
06455 #define GL_SIGNED_HILO16_NV                                           34554
06456 #endif
06457 
06458 #ifndef GL_DSDT8_NV
06459 #define GL_DSDT8_NV                                                   34569
06460 #endif
06461 
06462 #ifndef GL_DSDT8_MAG8_NV
06463 #define GL_DSDT8_MAG8_NV                                              34570
06464 #endif
06465 
06466 #ifndef GL_DSDT_MAG_INTENSITY_NV
06467 #define GL_DSDT_MAG_INTENSITY_NV                                      34524
06468 #endif
06469 
06470 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV
06471 #define GL_DSDT8_MAG8_INTENSITY8_NV                                   34571
06472 #endif
06473 
06474 
06485 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV
06486 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV                            34896
06487 #endif
06488 
06489 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV
06490 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV                      34897
06491 #endif
06492 
06493 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV
06494 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV                     34898
06495 #endif
06496 
06497 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV
06498 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV               34899
06499 #endif
06500 
06501 #ifndef GL_OFFSET_HILO_TEXTURE_2D_NV
06502 #define GL_OFFSET_HILO_TEXTURE_2D_NV                                  34900
06503 #endif
06504 
06505 #ifndef GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV
06506 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV                           34901
06507 #endif
06508 
06509 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV
06510 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV                       34902
06511 #endif
06512 
06513 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV
06514 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV                34903
06515 #endif
06516 
06517 #ifndef GL_DEPENDENT_HILO_TEXTURE_2D_NV
06518 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV                               34904
06519 #endif
06520 
06521 #ifndef GL_DEPENDENT_RGB_TEXTURE_3D_NV
06522 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV                                34905
06523 #endif
06524 
06525 #ifndef GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV
06526 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV                          34906
06527 #endif
06528 
06529 #ifndef GL_DOT_PRODUCT_PASS_THROUGH_NV
06530 #define GL_DOT_PRODUCT_PASS_THROUGH_NV                                34907
06531 #endif
06532 
06533 #ifndef GL_DOT_PRODUCT_TEXTURE_1D_NV
06534 #define GL_DOT_PRODUCT_TEXTURE_1D_NV                                  34908
06535 #endif
06536 
06537 #ifndef GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV
06538 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV                        34909
06539 #endif
06540 
06541 #ifndef GL_HILO8_NV
06542 #define GL_HILO8_NV                                                   34910
06543 #endif
06544 
06545 #ifndef GL_SIGNED_HILO8_NV
06546 #define GL_SIGNED_HILO8_NV                                            34911
06547 #endif
06548 
06549 #ifndef GL_FORCE_BLUE_TO_ONE_NV
06550 #define GL_FORCE_BLUE_TO_ONE_NV                                       34912
06551 #endif
06552 
06553 
06564 #ifndef GL_VERTEX_ARRAY_RANGE_NV
06565 #define GL_VERTEX_ARRAY_RANGE_NV                                      34077
06566 #endif
06567 
06568 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_NV
06569 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV                               34078
06570 #endif
06571 
06572 #ifndef GL_VERTEX_ARRAY_RANGE_VALID_NV
06573 #define GL_VERTEX_ARRAY_RANGE_VALID_NV                                34079
06574 #endif
06575 
06576 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV
06577 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV                          34080
06578 #endif
06579 
06580 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_NV
06581 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV                              34081
06582 #endif
06583 
06584 
06590 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGENV) (GLsizei length, GLvoid* pointer);
06591 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGENV) ();
06592 typedef GLvoid* (csAPIENTRY* csWGLALLOCATEMEMORYNV) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
06593 typedef GLvoid (csAPIENTRY* csWGLFREEMEMORYNV) (GLvoid* pointer);
06594 
06599 #ifndef GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV
06600 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV                        34099
06601 #endif
06602 
06603 
06614 #ifndef GL_VERTEX_PROGRAM_NV
06615 #define GL_VERTEX_PROGRAM_NV                                          34336
06616 #endif
06617 
06618 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_NV
06619 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV                               34370
06620 #endif
06621 
06622 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_NV
06623 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV                                 34371
06624 #endif
06625 
06626 #ifndef GL_VERTEX_STATE_PROGRAM_NV
06627 #define GL_VERTEX_STATE_PROGRAM_NV                                    34337
06628 #endif
06629 
06630 #ifndef GL_ATTRIB_ARRAY_SIZE_NV
06631 #define GL_ATTRIB_ARRAY_SIZE_NV                                       34339
06632 #endif
06633 
06634 #ifndef GL_ATTRIB_ARRAY_STRIDE_NV
06635 #define GL_ATTRIB_ARRAY_STRIDE_NV                                     34340
06636 #endif
06637 
06638 #ifndef GL_ATTRIB_ARRAY_TYPE_NV
06639 #define GL_ATTRIB_ARRAY_TYPE_NV                                       34341
06640 #endif
06641 
06642 #ifndef GL_CURRENT_ATTRIB_NV
06643 #define GL_CURRENT_ATTRIB_NV                                          34342
06644 #endif
06645 
06646 #ifndef GL_PROGRAM_PARAMETER_NV
06647 #define GL_PROGRAM_PARAMETER_NV                                       34372
06648 #endif
06649 
06650 #ifndef GL_ATTRIB_ARRAY_POINTER_NV
06651 #define GL_ATTRIB_ARRAY_POINTER_NV                                    34373
06652 #endif
06653 
06654 #ifndef GL_PROGRAM_TARGET_NV
06655 #define GL_PROGRAM_TARGET_NV                                          34374
06656 #endif
06657 
06658 #ifndef GL_PROGRAM_LENGTH_NV
06659 #define GL_PROGRAM_LENGTH_NV                                          34343
06660 #endif
06661 
06662 #ifndef GL_PROGRAM_RESIDENT_NV
06663 #define GL_PROGRAM_RESIDENT_NV                                        34375
06664 #endif
06665 
06666 #ifndef GL_PROGRAM_STRING_NV
06667 #define GL_PROGRAM_STRING_NV                                          34344
06668 #endif
06669 
06670 #ifndef GL_TRACK_MATRIX_NV
06671 #define GL_TRACK_MATRIX_NV                                            34376
06672 #endif
06673 
06674 #ifndef GL_TRACK_MATRIX_TRANSFORM_NV
06675 #define GL_TRACK_MATRIX_TRANSFORM_NV                                  34377
06676 #endif
06677 
06678 #ifndef GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV
06679 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV                            34350
06680 #endif
06681 
06682 #ifndef GL_MAX_TRACK_MATRICES_NV
06683 #define GL_MAX_TRACK_MATRICES_NV                                      34351
06684 #endif
06685 
06686 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_NV
06687 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV                              34368
06688 #endif
06689 
06690 #ifndef GL_CURRENT_MATRIX_NV
06691 #define GL_CURRENT_MATRIX_NV                                          34369
06692 #endif
06693 
06694 #ifndef GL_VERTEX_PROGRAM_BINDING_NV
06695 #define GL_VERTEX_PROGRAM_BINDING_NV                                  34378
06696 #endif
06697 
06698 #ifndef GL_PROGRAM_ERROR_POSITION_NV
06699 #define GL_PROGRAM_ERROR_POSITION_NV                                  34379
06700 #endif
06701 
06702 #ifndef GL_MODELVIEW_PROJECTION_NV
06703 #define GL_MODELVIEW_PROJECTION_NV                                    34345
06704 #endif
06705 
06706 #ifndef GL_MATRIX0_NV
06707 #define GL_MATRIX0_NV                                                 34352
06708 #endif
06709 
06710 #ifndef GL_MATRIX1_NV
06711 #define GL_MATRIX1_NV                                                 34353
06712 #endif
06713 
06714 #ifndef GL_MATRIX2_NV
06715 #define GL_MATRIX2_NV                                                 34354
06716 #endif
06717 
06718 #ifndef GL_MATRIX3_NV
06719 #define GL_MATRIX3_NV                                                 34355
06720 #endif
06721 
06722 #ifndef GL_MATRIX4_NV
06723 #define GL_MATRIX4_NV                                                 34356
06724 #endif
06725 
06726 #ifndef GL_MATRIX5_NV
06727 #define GL_MATRIX5_NV                                                 34357
06728 #endif
06729 
06730 #ifndef GL_MATRIX6_NV
06731 #define GL_MATRIX6_NV                                                 34358
06732 #endif
06733 
06734 #ifndef GL_MATRIX7_NV
06735 #define GL_MATRIX7_NV                                                 34359
06736 #endif
06737 
06738 #ifndef GL_IDENTITY_NV
06739 #define GL_IDENTITY_NV                                                34346
06740 #endif
06741 
06742 #ifndef GL_INVERSE_NV
06743 #define GL_INVERSE_NV                                                 34347
06744 #endif
06745 
06746 #ifndef GL_TRANSPOSE_NV
06747 #define GL_TRANSPOSE_NV                                               34348
06748 #endif
06749 
06750 #ifndef GL_INVERSE_TRANSPOSE_NV
06751 #define GL_INVERSE_TRANSPOSE_NV                                       34349
06752 #endif
06753 
06754 #ifndef GL_VERTEX_ATTRIB_ARRAY0_NV
06755 #define GL_VERTEX_ATTRIB_ARRAY0_NV                                    34384
06756 #endif
06757 
06758 #ifndef GL_VERTEX_ATTRIB_ARRAY1_NV
06759 #define GL_VERTEX_ATTRIB_ARRAY1_NV                                    34385
06760 #endif
06761 
06762 #ifndef GL_VERTEX_ATTRIB_ARRAY2_NV
06763 #define GL_VERTEX_ATTRIB_ARRAY2_NV                                    34386
06764 #endif
06765 
06766 #ifndef GL_VERTEX_ATTRIB_ARRAY3_NV
06767 #define GL_VERTEX_ATTRIB_ARRAY3_NV                                    34387
06768 #endif
06769 
06770 #ifndef GL_VERTEX_ATTRIB_ARRAY4_NV
06771 #define GL_VERTEX_ATTRIB_ARRAY4_NV                                    34388
06772 #endif
06773 
06774 #ifndef GL_VERTEX_ATTRIB_ARRAY5_NV
06775 #define GL_VERTEX_ATTRIB_ARRAY5_NV                                    34389
06776 #endif
06777 
06778 #ifndef GL_VERTEX_ATTRIB_ARRAY6_NV
06779 #define GL_VERTEX_ATTRIB_ARRAY6_NV                                    34390
06780 #endif
06781 
06782 #ifndef GL_VERTEX_ATTRIB_ARRAY7_NV
06783 #define GL_VERTEX_ATTRIB_ARRAY7_NV                                    34391
06784 #endif
06785 
06786 #ifndef GL_VERTEX_ATTRIB_ARRAY8_NV
06787 #define GL_VERTEX_ATTRIB_ARRAY8_NV                                    34392
06788 #endif
06789 
06790 #ifndef GL_VERTEX_ATTRIB_ARRAY9_NV
06791 #define GL_VERTEX_ATTRIB_ARRAY9_NV                                    34393
06792 #endif
06793 
06794 #ifndef GL_VERTEX_ATTRIB_ARRAY10_NV
06795 #define GL_VERTEX_ATTRIB_ARRAY10_NV                                   34394
06796 #endif
06797 
06798 #ifndef GL_VERTEX_ATTRIB_ARRAY11_NV
06799 #define GL_VERTEX_ATTRIB_ARRAY11_NV                                   34395
06800 #endif
06801 
06802 #ifndef GL_VERTEX_ATTRIB_ARRAY12_NV
06803 #define GL_VERTEX_ATTRIB_ARRAY12_NV                                   34396
06804 #endif
06805 
06806 #ifndef GL_VERTEX_ATTRIB_ARRAY13_NV
06807 #define GL_VERTEX_ATTRIB_ARRAY13_NV                                   34397
06808 #endif
06809 
06810 #ifndef GL_VERTEX_ATTRIB_ARRAY14_NV
06811 #define GL_VERTEX_ATTRIB_ARRAY14_NV                                   34398
06812 #endif
06813 
06814 #ifndef GL_VERTEX_ATTRIB_ARRAY15_NV
06815 #define GL_VERTEX_ATTRIB_ARRAY15_NV                                   34399
06816 #endif
06817 
06818 #ifndef GL_MAP1_VERTEX_ATTRIB0_4_NV
06819 #define GL_MAP1_VERTEX_ATTRIB0_4_NV                                   34400
06820 #endif
06821 
06822 #ifndef GL_MAP1_VERTEX_ATTRIB1_4_NV
06823 #define GL_MAP1_VERTEX_ATTRIB1_4_NV                                   34401
06824 #endif
06825 
06826 #ifndef GL_MAP1_VERTEX_ATTRIB2_4_NV
06827 #define GL_MAP1_VERTEX_ATTRIB2_4_NV                                   34402
06828 #endif
06829 
06830 #ifndef GL_MAP1_VERTEX_ATTRIB3_4_NV
06831 #define GL_MAP1_VERTEX_ATTRIB3_4_NV                                   34403
06832 #endif
06833 
06834 #ifndef GL_MAP1_VERTEX_ATTRIB4_4_NV
06835 #define GL_MAP1_VERTEX_ATTRIB4_4_NV                                   34404
06836 #endif
06837 
06838 #ifndef GL_MAP1_VERTEX_ATTRIB5_4_NV
06839 #define GL_MAP1_VERTEX_ATTRIB5_4_NV                                   34405
06840 #endif
06841 
06842 #ifndef GL_MAP1_VERTEX_ATTRIB6_4_NV
06843 #define GL_MAP1_VERTEX_ATTRIB6_4_NV                                   34406
06844 #endif
06845 
06846 #ifndef GL_MAP1_VERTEX_ATTRIB7_4_NV
06847 #define GL_MAP1_VERTEX_ATTRIB7_4_NV                                   34407
06848 #endif
06849 
06850 #ifndef GL_MAP1_VERTEX_ATTRIB8_4_NV
06851 #define GL_MAP1_VERTEX_ATTRIB8_4_NV                                   34408
06852 #endif
06853 
06854 #ifndef GL_MAP1_VERTEX_ATTRIB9_4_NV
06855 #define GL_MAP1_VERTEX_ATTRIB9_4_NV                                   34409
06856 #endif
06857 
06858 #ifndef GL_MAP1_VERTEX_ATTRIB10_4_NV
06859 #define GL_MAP1_VERTEX_ATTRIB10_4_NV                                  34410
06860 #endif
06861 
06862 #ifndef GL_MAP1_VERTEX_ATTRIB11_4_NV
06863 #define GL_MAP1_VERTEX_ATTRIB11_4_NV                                  34411
06864 #endif
06865 
06866 #ifndef GL_MAP1_VERTEX_ATTRIB12_4_NV
06867 #define GL_MAP1_VERTEX_ATTRIB12_4_NV                                  34412
06868 #endif
06869 
06870 #ifndef GL_MAP1_VERTEX_ATTRIB13_4_NV
06871 #define GL_MAP1_VERTEX_ATTRIB13_4_NV                                  34413
06872 #endif
06873 
06874 #ifndef GL_MAP1_VERTEX_ATTRIB14_4_NV
06875 #define GL_MAP1_VERTEX_ATTRIB14_4_NV                                  34414
06876 #endif
06877 
06878 #ifndef GL_MAP1_VERTEX_ATTRIB15_4_NV
06879 #define GL_MAP1_VERTEX_ATTRIB15_4_NV                                  34415
06880 #endif
06881 
06882 #ifndef GL_MAP2_VERTEX_ATTRIB0_4_NV
06883 #define GL_MAP2_VERTEX_ATTRIB0_4_NV                                   34416
06884 #endif
06885 
06886 #ifndef GL_MAP2_VERTEX_ATTRIB1_4_NV
06887 #define GL_MAP2_VERTEX_ATTRIB1_4_NV                                   34417
06888 #endif
06889 
06890 #ifndef GL_MAP2_VERTEX_ATTRIB2_4_NV
06891 #define GL_MAP2_VERTEX_ATTRIB2_4_NV                                   34418
06892 #endif
06893 
06894 #ifndef GL_MAP2_VERTEX_ATTRIB3_4_NV
06895 #define GL_MAP2_VERTEX_ATTRIB3_4_NV                                   34419
06896 #endif
06897 
06898 #ifndef GL_MAP2_VERTEX_ATTRIB4_4_NV
06899 #define GL_MAP2_VERTEX_ATTRIB4_4_NV                                   34420
06900 #endif
06901 
06902 #ifndef GL_MAP2_VERTEX_ATTRIB5_4_NV
06903 #define GL_MAP2_VERTEX_ATTRIB5_4_NV                                   34421
06904 #endif
06905 
06906 #ifndef GL_MAP2_VERTEX_ATTRIB6_4_NV
06907 #define GL_MAP2_VERTEX_ATTRIB6_4_NV                                   34422
06908 #endif
06909 
06910 #ifndef GL_MAP2_VERTEX_ATTRIB7_4_NV
06911 #define GL_MAP2_VERTEX_ATTRIB7_4_NV                                   34423
06912 #endif
06913 
06914 #ifndef GL_MAP2_VERTEX_ATTRIB8_4_NV
06915 #define GL_MAP2_VERTEX_ATTRIB8_4_NV                                   34424
06916 #endif
06917 
06918 #ifndef GL_MAP2_VERTEX_ATTRIB9_4_NV
06919 #define GL_MAP2_VERTEX_ATTRIB9_4_NV                                   34425
06920 #endif
06921 
06922 #ifndef GL_MAP2_VERTEX_ATTRIB10_4_NV
06923 #define GL_MAP2_VERTEX_ATTRIB10_4_NV                                  34426
06924 #endif
06925 
06926 #ifndef GL_MAP2_VERTEX_ATTRIB11_4_NV
06927 #define GL_MAP2_VERTEX_ATTRIB11_4_NV                                  34427
06928 #endif
06929 
06930 #ifndef GL_MAP2_VERTEX_ATTRIB12_4_NV
06931 #define GL_MAP2_VERTEX_ATTRIB12_4_NV                                  34428
06932 #endif
06933 
06934 #ifndef GL_MAP2_VERTEX_ATTRIB13_4_NV
06935 #define GL_MAP2_VERTEX_ATTRIB13_4_NV                                  34429
06936 #endif
06937 
06938 #ifndef GL_MAP2_VERTEX_ATTRIB14_4_NV
06939 #define GL_MAP2_VERTEX_ATTRIB14_4_NV                                  34430
06940 #endif
06941 
06942 #ifndef GL_MAP2_VERTEX_ATTRIB15_4_NV
06943 #define GL_MAP2_VERTEX_ATTRIB15_4_NV                                  34431
06944 #endif
06945 
06946 
06952 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMNV) (GLenum target, GLuint id);
06953 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSNV) (GLsizei n, const GLuint* ids);
06954 typedef GLvoid (csAPIENTRY* csGLEXECUTEPROGRAMNV) (GLenum target, GLuint id, const GLfloat* params);
06955 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSNV) (GLsizei n, GLuint* ids);
06956 typedef GLboolean (csAPIENTRY* csGLAREPROGRAMSRESIDENTNV) (GLsizei n, const GLuint* ids, GLboolean* residences);
06957 typedef GLvoid (csAPIENTRY* csGLREQUESTRESIDENTPROGRAMSNV) (GLsizei n, GLuint* ids);
06958 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
06959 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERDVNV) (GLenum target, GLuint index, GLenum pname, GLdouble* params);
06960 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVNV) (GLuint id, GLenum pname, GLint* params);
06961 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGNV) (GLuint id, GLenum pname, GLubyte* program);
06962 typedef GLvoid (csAPIENTRY* csGLGETTRACKMATRIXIVNV) (GLenum target, GLuint address, GLenum pname, GLint* params);
06963 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVNV) (GLuint index, GLenum pname, GLdouble* params);
06964 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVNV) (GLuint index, GLenum pname, GLfloat* params);
06965 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVNV) (GLuint index, GLenum pname, GLint* params);
06966 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVNV) (GLuint index, GLenum pname, GLvoid* pointer);
06967 typedef GLboolean (csAPIENTRY* csGLISPROGRAMNV) (GLuint id);
06968 typedef GLvoid (csAPIENTRY* csGLLOADPROGRAMNV) (GLenum target, GLuint id, GLsizei len, const GLubyte* program);
06969 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FNV) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
06970 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FVNV) (GLenum target, GLuint index, const GLfloat* params);
06971 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4DVNV) (GLenum target, GLuint index, GLuint num, const GLdouble* params);
06972 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4FVNV) (GLenum target, GLuint index, GLuint num, const GLfloat* params);
06973 typedef GLvoid (csAPIENTRY* csGLTRACKMATRIXNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
06974 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
06975 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SNV) (GLuint index, GLshort x);
06976 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FNV) (GLuint index, GLfloat x);
06977 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DNV) (GLuint index, GLdouble x);
06978 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SNV) (GLuint index, GLshort x, GLshort y);
06979 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FNV) (GLuint index, GLfloat x, GLfloat y);
06980 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DNV) (GLuint index, GLdouble x, GLdouble y);
06981 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SNV) (GLuint index, GLshort x, GLshort y, GLshort z);
06982 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
06983 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
06984 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
06985 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
06986 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
06987 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
06988 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVNV) (GLuint index, const GLshort* v);
06989 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVNV) (GLuint index, const GLfloat* v);
06990 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVNV) (GLuint index, const GLdouble* v);
06991 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVNV) (GLuint index, const GLshort* v);
06992 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVNV) (GLuint index, const GLfloat* v);
06993 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVNV) (GLuint index, const GLdouble* v);
06994 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVNV) (GLuint index, const GLshort* v);
06995 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVNV) (GLuint index, const GLfloat* v);
06996 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVNV) (GLuint index, const GLdouble* v);
06997 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVNV) (GLuint index, const GLshort* v);
06998 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVNV) (GLuint index, const GLfloat* v);
06999 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVNV) (GLuint index, const GLdouble* v);
07000 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVNV) (GLuint index, const GLubyte* v);
07001 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1SVNV) (GLuint index, GLsizei n, const GLshort* v);
07002 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1FVNV) (GLuint index, GLsizei n, const GLfloat* v);
07003 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1DVNV) (GLuint index, GLsizei n, const GLdouble* v);
07004 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2SVNV) (GLuint index, GLsizei n, const GLshort* v);
07005 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2FVNV) (GLuint index, GLsizei n, const GLfloat* v);
07006 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2DVNV) (GLuint index, GLsizei n, const GLdouble* v);
07007 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3SVNV) (GLuint index, GLsizei n, const GLshort* v);
07008 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3FVNV) (GLuint index, GLsizei n, const GLfloat* v);
07009 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3DVNV) (GLuint index, GLsizei n, const GLdouble* v);
07010 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4SVNV) (GLuint index, GLsizei n, const GLshort* v);
07011 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4FVNV) (GLuint index, GLsizei n, const GLfloat* v);
07012 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4DVNV) (GLuint index, GLsizei n, const GLdouble* v);
07013 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4UBVNV) (GLuint index, GLsizei n, const GLubyte* v);
07014 
07030 #ifndef GL_ELEMENT_ARRAY_ATI
07031 #define GL_ELEMENT_ARRAY_ATI                                          34664
07032 #endif
07033 
07034 #ifndef GL_ELEMENT_ARRAY_TYPE_ATI
07035 #define GL_ELEMENT_ARRAY_TYPE_ATI                                     34665
07036 #endif
07037 
07038 #ifndef GL_ELEMENT_ARRAY_POINTER_ATI
07039 #define GL_ELEMENT_ARRAY_POINTER_ATI                                  34666
07040 #endif
07041 
07042 
07048 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERATI) (GLenum type, const GLvoid* pointer);
07049 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYATI) (GLenum mode, GLsizei count);
07050 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYATI) (GLenum mode, GLuint start, GLuint end, GLsizei count);
07051 
07056 #ifndef GL_BUMP_ROT_MATRIX_ATI
07057 #define GL_BUMP_ROT_MATRIX_ATI                                        34677
07058 #endif
07059 
07060 #ifndef GL_BUMP_ROT_MATRIX_SIZE_ATI
07061 #define GL_BUMP_ROT_MATRIX_SIZE_ATI                                   34678
07062 #endif
07063 
07064 #ifndef GL_BUMP_NUM_TEX_UNITS_ATI
07065 #define GL_BUMP_NUM_TEX_UNITS_ATI                                     34679
07066 #endif
07067 
07068 #ifndef GL_BUMP_TEX_UNITS_ATI
07069 #define GL_BUMP_TEX_UNITS_ATI                                         34680
07070 #endif
07071 
07072 #ifndef GL_DUDV_ATI
07073 #define GL_DUDV_ATI                                                   34681
07074 #endif
07075 
07076 #ifndef GL_DU8DV8_ATI
07077 #define GL_DU8DV8_ATI                                                 34682
07078 #endif
07079 
07080 #ifndef GL_BUMP_ENVMAP_ATI
07081 #define GL_BUMP_ENVMAP_ATI                                            34683
07082 #endif
07083 
07084 #ifndef GL_BUMP_TARGET_ATI
07085 #define GL_BUMP_TARGET_ATI                                            34684
07086 #endif
07087 
07088 
07094 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
07095 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
07096 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param);
07097 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param);
07098 
07103 #ifndef GL_FRAGMENT_SHADER_ATI
07104 #define GL_FRAGMENT_SHADER_ATI                                        35104
07105 #endif
07106 
07107 #ifndef GL_REG_0_ATI
07108 #define GL_REG_0_ATI                                                  35105
07109 #endif
07110 
07111 #ifndef GL_REG_1_ATI
07112 #define GL_REG_1_ATI                                                  35106
07113 #endif
07114 
07115 #ifndef GL_REG_2_ATI
07116 #define GL_REG_2_ATI                                                  35107
07117 #endif
07118 
07119 #ifndef GL_REG_3_ATI
07120 #define GL_REG_3_ATI                                                  35108
07121 #endif
07122 
07123 #ifndef GL_REG_4_ATI
07124 #define GL_REG_4_ATI                                                  35109
07125 #endif
07126 
07127 #ifndef GL_REG_5_ATI
07128 #define GL_REG_5_ATI                                                  35110
07129 #endif
07130 
07131 #ifndef GL_CON_0_ATI
07132 #define GL_CON_0_ATI                                                  35137
07133 #endif
07134 
07135 #ifndef GL_CON_1_ATI
07136 #define GL_CON_1_ATI                                                  35138
07137 #endif
07138 
07139 #ifndef GL_CON_2_ATI
07140 #define GL_CON_2_ATI                                                  35139
07141 #endif
07142 
07143 #ifndef GL_CON_3_ATI
07144 #define GL_CON_3_ATI                                                  35140
07145 #endif
07146 
07147 #ifndef GL_CON_4_ATI
07148 #define GL_CON_4_ATI                                                  35141
07149 #endif
07150 
07151 #ifndef GL_CON_5_ATI
07152 #define GL_CON_5_ATI                                                  35142
07153 #endif
07154 
07155 #ifndef GL_CON_6_ATI
07156 #define GL_CON_6_ATI                                                  35143
07157 #endif
07158 
07159 #ifndef GL_CON_7_ATI
07160 #define GL_CON_7_ATI                                                  35144
07161 #endif
07162 
07163 #ifndef GL_MOV_ATI
07164 #define GL_MOV_ATI                                                    35169
07165 #endif
07166 
07167 #ifndef GL_ADD_ATI
07168 #define GL_ADD_ATI                                                    35171
07169 #endif
07170 
07171 #ifndef GL_MUL_ATI
07172 #define GL_MUL_ATI                                                    35172
07173 #endif
07174 
07175 #ifndef GL_SUB_ATI
07176 #define GL_SUB_ATI                                                    35173
07177 #endif
07178 
07179 #ifndef GL_DOT3_ATI
07180 #define GL_DOT3_ATI                                                   35174
07181 #endif
07182 
07183 #ifndef GL_DOT4_ATI
07184 #define GL_DOT4_ATI                                                   35175
07185 #endif
07186 
07187 #ifndef GL_MAD_ATI
07188 #define GL_MAD_ATI                                                    35176
07189 #endif
07190 
07191 #ifndef GL_LERP_ATI
07192 #define GL_LERP_ATI                                                   35177
07193 #endif
07194 
07195 #ifndef GL_CND_ATI
07196 #define GL_CND_ATI                                                    35178
07197 #endif
07198 
07199 #ifndef GL_CND0_ATI
07200 #define GL_CND0_ATI                                                   35179
07201 #endif
07202 
07203 #ifndef GL_DOT2_ADD_ATI
07204 #define GL_DOT2_ADD_ATI                                               35180
07205 #endif
07206 
07207 #ifndef GL_SECONDARY_INTERPOLATOR_ATI
07208 #define GL_SECONDARY_INTERPOLATOR_ATI                                 35181
07209 #endif
07210 
07211 #ifndef GL_SWIZZLE_STR_ATI
07212 #define GL_SWIZZLE_STR_ATI                                            35190
07213 #endif
07214 
07215 #ifndef GL_SWIZZLE_STQ_ATI
07216 #define GL_SWIZZLE_STQ_ATI                                            35191
07217 #endif
07218 
07219 #ifndef GL_SWIZZLE_STR_DR_ATI
07220 #define GL_SWIZZLE_STR_DR_ATI                                         35192
07221 #endif
07222 
07223 #ifndef GL_SWIZZLE_STQ_DQ_ATI
07224 #define GL_SWIZZLE_STQ_DQ_ATI                                         35193
07225 #endif
07226 
07227 #ifndef GL_RED_BIT_ATI
07228 #define GL_RED_BIT_ATI                                                    1
07229 #endif
07230 
07231 #ifndef GL_GREEN_BIT_ATI
07232 #define GL_GREEN_BIT_ATI                                                  2
07233 #endif
07234 
07235 #ifndef GL_BLUE_BIT_ATI
07236 #define GL_BLUE_BIT_ATI                                                   4
07237 #endif
07238 
07239 #ifndef GL_2X_BIT_ATI
07240 #define GL_2X_BIT_ATI                                                     1
07241 #endif
07242 
07243 #ifndef GL_4X_BIT_ATI
07244 #define GL_4X_BIT_ATI                                                     2
07245 #endif
07246 
07247 #ifndef GL_8X_BIT_ATI
07248 #define GL_8X_BIT_ATI                                                     4
07249 #endif
07250 
07251 #ifndef GL_HALF_BIT_ATI
07252 #define GL_HALF_BIT_ATI                                                   8
07253 #endif
07254 
07255 #ifndef GL_QUARTER_BIT_ATI
07256 #define GL_QUARTER_BIT_ATI                                               16
07257 #endif
07258 
07259 #ifndef GL_EIGHTH_BIT_ATI
07260 #define GL_EIGHTH_BIT_ATI                                                32
07261 #endif
07262 
07263 #ifndef GL_SATURATE_BIT_ATI
07264 #define GL_SATURATE_BIT_ATI                                              64
07265 #endif
07266 
07267 #ifndef GL_2X_BIT_ATI
07268 #define GL_2X_BIT_ATI                                                     1
07269 #endif
07270 
07271 #ifndef GL_COMP_BIT_ATI
07272 #define GL_COMP_BIT_ATI                                                   2
07273 #endif
07274 
07275 #ifndef GL_NEGATE_BIT_ATI
07276 #define GL_NEGATE_BIT_ATI                                                 4
07277 #endif
07278 
07279 #ifndef GL_BIAS_BIT_ATI
07280 #define GL_BIAS_BIT_ATI                                                   8
07281 #endif
07282 
07283 
07289 typedef GLuint (csAPIENTRY* csGLGENFRAGMENTSHADERSATI) (GLuint range);
07290 typedef GLvoid (csAPIENTRY* csGLBINDFRAGMENTSHADERATI) (GLuint id);
07291 typedef GLvoid (csAPIENTRY* csGLDELETEFRAGMENTSHADERATI) (GLuint id);
07292 typedef GLvoid (csAPIENTRY* csGLBEGINFRAGMENTSHADERATI) ();
07293 typedef GLvoid (csAPIENTRY* csGLENDFRAGMENTSHADERATI) ();
07294 typedef GLvoid (csAPIENTRY* csGLPASSTEXCOORDATI) (GLuint dst, GLuint coord, GLenum swizzle);
07295 typedef GLvoid (csAPIENTRY* csGLSAMPLEMAPATI) (GLuint dst, GLuint interp, GLenum swizzle);
07296 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
07297 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
07298 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);
07299 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
07300 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
07301 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);
07302 typedef GLvoid (csAPIENTRY* csGLSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const GLfloat* value);
07303 
07308 #ifndef GL_PN_TRIANGLES_ATI
07309 #define GL_PN_TRIANGLES_ATI                                           34800
07310 #endif
07311 
07312 #ifndef GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI
07313 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI                     34801
07314 #endif
07315 
07316 #ifndef GL_PN_TRIANGLES_POINT_MODE_ATI
07317 #define GL_PN_TRIANGLES_POINT_MODE_ATI                                34802
07318 #endif
07319 
07320 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_ATI
07321 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI                               34803
07322 #endif
07323 
07324 #ifndef GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI
07325 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI                         34804
07326 #endif
07327 
07328 #ifndef GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI
07329 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI                         34805
07330 #endif
07331 
07332 #ifndef GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI
07333 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI                          34806
07334 #endif
07335 
07336 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI
07337 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI                        34807
07338 #endif
07339 
07340 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI
07341 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI                     34808
07342 #endif
07343 
07344 
07350 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESIATI) (GLenum pname, GLint param);
07351 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESFATI) (GLenum pname, GLfloat param);
07352 
07357 #ifndef GL_MIRROR_CLAMP_ATI
07358 #define GL_MIRROR_CLAMP_ATI                                           34626
07359 #endif
07360 
07361 #ifndef GL_MIRROR_CLAMP_TO_EDGE_ATI
07362 #define GL_MIRROR_CLAMP_TO_EDGE_ATI                                   34627
07363 #endif
07364 
07365 
07376 #ifndef GL_STATIC_ATI
07377 #define GL_STATIC_ATI                                                 34656
07378 #endif
07379 
07380 #ifndef GL_DYNAMIC_ATI
07381 #define GL_DYNAMIC_ATI                                                34657
07382 #endif
07383 
07384 #ifndef GL_PRESERVE_ATI
07385 #define GL_PRESERVE_ATI                                               34658
07386 #endif
07387 
07388 #ifndef GL_DISCARD_ATI
07389 #define GL_DISCARD_ATI                                                34659
07390 #endif
07391 
07392 #ifndef GL_OBJECT_BUFFER_SIZE_ATI
07393 #define GL_OBJECT_BUFFER_SIZE_ATI                                     34660
07394 #endif
07395 
07396 #ifndef GL_OBJECT_BUFFER_USAGE_ATI
07397 #define GL_OBJECT_BUFFER_USAGE_ATI                                    34661
07398 #endif
07399 
07400 #ifndef GL_ARRAY_OBJECT_BUFFER_ATI
07401 #define GL_ARRAY_OBJECT_BUFFER_ATI                                    34662
07402 #endif
07403 
07404 #ifndef GL_ARRAY_OBJECT_OFFSET_ATI
07405 #define GL_ARRAY_OBJECT_OFFSET_ATI                                    34663
07406 #endif
07407 
07408 
07414 typedef GLuint (csAPIENTRY* csGLNEWOBJECTBUFFERATI) (GLsizei size, const GLvoid* pointer, GLenum usage);
07415 typedef GLboolean (csAPIENTRY* csGLISOBJECTBUFFERATI) (GLuint buffer);
07416 typedef GLvoid (csAPIENTRY* csGLUPDATEOBJECTBUFFERATI) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid* pointer, GLenum preserve);
07417 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERFVATI) (GLuint buffer, GLenum pname, GLfloat* params);
07418 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERIVATI) (GLuint buffer, GLenum pname, GLint* params);
07419 typedef GLvoid (csAPIENTRY* csGLFREEOBJECTBUFFERATI) (GLuint buffer);
07420 typedef GLvoid (csAPIENTRY* csGLARRAYOBJECTATI) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
07421 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTFVATI) (GLenum array, GLenum pname, GLfloat* params);
07422 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTIVATI) (GLenum array, GLenum pname, GLint* params);
07423 typedef GLvoid (csAPIENTRY* csGLVARIANTARRAYOBJECTATI) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
07424 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTFVATI) (GLuint id, GLenum pname, GLfloat* params);
07425 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTIVATI) (GLuint id, GLenum pname, GLint* params);
07426 
07437 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBARRAYOBJECTATI) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
07438 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTFVATI) (GLuint index, GLenum pname, GLfloat* params);
07439 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTIVATI) (GLuint index, GLenum pname, GLint* params);
07440 
07445 #ifndef GL_MAX_VERTEX_STREAMS_ATI
07446 #define GL_MAX_VERTEX_STREAMS_ATI                                     34667
07447 #endif
07448 
07449 #ifndef GL_VERTEX_STREAM0_ATI
07450 #define GL_VERTEX_STREAM0_ATI                                         34668
07451 #endif
07452 
07453 #ifndef GL_VERTEX_STREAM1_ATI
07454 #define GL_VERTEX_STREAM1_ATI                                         34669
07455 #endif
07456 
07457 #ifndef GL_VERTEX_STREAM2_ATI
07458 #define GL_VERTEX_STREAM2_ATI                                         34670
07459 #endif
07460 
07461 #ifndef GL_VERTEX_STREAM3_ATI
07462 #define GL_VERTEX_STREAM3_ATI                                         34671
07463 #endif
07464 
07465 #ifndef GL_VERTEX_STREAM4_ATI
07466 #define GL_VERTEX_STREAM4_ATI                                         34672
07467 #endif
07468 
07469 #ifndef GL_VERTEX_STREAM5_ATI
07470 #define GL_VERTEX_STREAM5_ATI                                         34673
07471 #endif
07472 
07473 #ifndef GL_VERTEX_STREAM6_ATI
07474 #define GL_VERTEX_STREAM6_ATI                                         34674
07475 #endif
07476 
07477 #ifndef GL_VERTEX_STREAM7_ATI
07478 #define GL_VERTEX_STREAM7_ATI                                         34675
07479 #endif
07480 
07481 #ifndef GL_VERTEX_SOURCE_ATI
07482 #define GL_VERTEX_SOURCE_ATI                                          34676
07483 #endif
07484 
07485 
07491 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1S) (GLenum stream, GLshort coords);
07492 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1I) (GLenum stream, GLint coords);
07493 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1F) (GLenum stream, GLfloat coords);
07494 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1D) (GLenum stream, GLdouble coords);
07495 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1SV) (GLenum stream, GLshort coords);
07496 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1IV) (GLenum stream, GLint coords);
07497 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1FV) (GLenum stream, GLfloat coords);
07498 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1DV) (GLenum stream, GLdouble coords);
07499 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2S) (GLenum stream, GLshort coords);
07500 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2I) (GLenum stream, GLint coords);
07501 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2F) (GLenum stream, GLfloat coords);
07502 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2D) (GLenum stream, GLdouble coords);
07503 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2SV) (GLenum stream, GLshort coords);
07504 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2IV) (GLenum stream, GLint coords);
07505 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2FV) (GLenum stream, GLfloat coords);
07506 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2DV) (GLenum stream, GLdouble coords);
07507 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3S) (GLenum stream, GLshort coords);
07508 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3I) (GLenum stream, GLint coords);
07509 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3F) (GLenum stream, GLfloat coords);
07510 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3D) (GLenum stream, GLdouble coords);
07511 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3SV) (GLenum stream, GLshort coords);
07512 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3IV) (GLenum stream, GLint coords);
07513 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3FV) (GLenum stream, GLfloat coords);
07514 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3DV) (GLenum stream, GLdouble coords);
07515 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4S) (GLenum stream, GLshort coords);
07516 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4I) (GLenum stream, GLint coords);
07517 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4F) (GLenum stream, GLfloat coords);
07518 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4D) (GLenum stream, GLdouble coords);
07519 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4SV) (GLenum stream, GLshort coords);
07520 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4IV) (GLenum stream, GLint coords);
07521 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4FV) (GLenum stream, GLfloat coords);
07522 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4DV) (GLenum stream, GLdouble coords);
07523 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3B) (GLenum stream, GLbyte coords);
07524 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3S) (GLenum stream, GLshort coords);
07525 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3I) (GLenum stream, GLint coords);
07526 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3F) (GLenum stream, GLfloat coords);
07527 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3D) (GLenum stream, GLdouble coords);
07528 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3BV) (GLenum stream, GLbyte coords);
07529 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3SV) (GLenum stream, GLshort coords);
07530 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3IV) (GLenum stream, GLint coords);
07531 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3FV) (GLenum stream, GLfloat coords);
07532 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3DV) (GLenum stream, GLdouble coords);
07533 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVEVERTEXSTREAM) (GLenum stream);
07534 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVI) (GLenum pname, GLint param);
07535 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVF) (GLenum pname, GLfloat param);
07536 
07538 #ifdef _WIN32
07539 
07542 #ifndef WGL_IMAGE_BUFFER_MIN_ACCESS_I3D
07543 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D                                   1
07544 #endif
07545 
07546 #ifndef WGL_IMAGE_BUFFER_LOCK_I3D
07547 #define WGL_IMAGE_BUFFER_LOCK_I3D                                         2
07548 #endif
07549 
07550 
07556 typedef GLvoid* (csAPIENTRY* csWGLCREATEIMAGEBUFFERI3D) (HDC hDC, DWORD dwSize, UINT uFlags);
07557 typedef BOOL (csAPIENTRY* csWGLDESTROYIMAGEBUFFERI3D) (HDC hDC, GLvoid* pAddress);
07558 typedef BOOL (csAPIENTRY* csWGLASSOCIATEIMAGEBUFFEREVENTSI3D) (HDC hdc, HANDLE* pEvent, GLvoid* pAddress, DWORD* pSize, UINT count);
07559 typedef BOOL (csAPIENTRY* csWGLRELEASEIMAGEBUFFEREVENTSI3D) (HDC hdc, GLvoid* pAddress, UINT count);
07560 
07562 #endif
07563 
07564 #ifdef _WIN32
07565 
07574 typedef BOOL (csAPIENTRY* csWGLENABLEFRAMELOCKI3D) ();
07575 typedef BOOL (csAPIENTRY* csWGLDISABLEFRAMELOCKI3D) ();
07576 typedef BOOL (csAPIENTRY* csWGLISENABLEDFRAMELOCKI3D) (BOOL* pFlag);
07577 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMELOCKMASTERI3D) (BOOL* pFlag);
07578 
07580 #endif
07581 
07582 #ifdef _WIN32
07583 
07592 typedef BOOL (csAPIENTRY* csWGLGETFRAMEUSAGEI3D) (GLfloat* pUsage);
07593 typedef BOOL (csAPIENTRY* csWGLBEGINFRAMETRACKINGI3D) ();
07594 typedef BOOL (csAPIENTRY* csWGLENDFRAMETRACKINGI3D) ();
07595 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMETRACKINGI3D) (DWORD* pFrameCount, DWORD* pMissedFrames, GLfloat* pLastMissedUsage);
07596 
07598 #endif
07599 
07603 #ifndef GL_COMPRESSED_RGB_FXT1_3DFX
07604 #define GL_COMPRESSED_RGB_FXT1_3DFX                                   34480
07605 #endif
07606 
07607 #ifndef GL_COMPRESSED_RGBA_FXT1_3DFX
07608 #define GL_COMPRESSED_RGBA_FXT1_3DFX                                  34481
07609 #endif
07610 
07611 
07622 #ifndef GL_CULL_VERTEX_IBM
07623 #define GL_CULL_VERTEX_IBM                                           103050
07624 #endif
07625 
07626 
07643 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWARRAYSIBM) (GLenum* mode, GLint* first, GLsizei* count, GLsizei primcount, GLint modestride);
07644 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWELEMENTSIBM) (GLenum* mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount, GLint modestride);
07645 
07650 #ifndef GL_RASTER_POSITION_UNCLIPPED_IBM
07651 #define GL_RASTER_POSITION_UNCLIPPED_IBM                             103010
07652 #endif
07653 
07654 
07665 #ifndef GL_MIRRORED_REPEAT_IBM
07666 #define GL_MIRRORED_REPEAT_IBM                                        33648
07667 #endif
07668 
07669 
07680 #ifndef GL_VERTEX_ARRAY_LIST_IBM
07681 #define GL_VERTEX_ARRAY_LIST_IBM                                     103070
07682 #endif
07683 
07684 #ifndef GL_NORMAL_ARRAY_LIST_IBM
07685 #define GL_NORMAL_ARRAY_LIST_IBM                                     103071
07686 #endif
07687 
07688 #ifndef GL_COLOR_ARRAY_LIST_IBM
07689 #define GL_COLOR_ARRAY_LIST_IBM                                      103072
07690 #endif
07691 
07692 #ifndef GL_INDEX_ARRAY_LIST_IBM
07693 #define GL_INDEX_ARRAY_LIST_IBM                                      103073
07694 #endif
07695 
07696 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_IBM
07697 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM                              103074
07698 #endif
07699 
07700 #ifndef GL_EDGE_FLAG_ARRAY_LIST_IBM
07701 #define GL_EDGE_FLAG_ARRAY_LIST_IBM                                  103075
07702 #endif
07703 
07704 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_IBM
07705 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM                             103076
07706 #endif
07707 
07708 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_IBM
07709 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM                            103077
07710 #endif
07711 
07712 #ifndef GL_VERTEX_ARRAY_LIST_STRIDE_IBM
07713 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM                              103080
07714 #endif
07715 
07716 #ifndef GL_NORMAL_ARRAY_LIST_STRIDE_IBM
07717 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM                              103081
07718 #endif
07719 
07720 #ifndef GL_COLOR_ARRAY_LIST_STRIDE_IBM
07721 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM                               103082
07722 #endif
07723 
07724 #ifndef GL_INDEX_ARRAY_LIST_STRIDE_IBM
07725 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM                               103083
07726 #endif
07727 
07728 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM
07729 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM                       103084
07730 #endif
07731 
07732 #ifndef GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM
07733 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM                           103085
07734 #endif
07735 
07736 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM
07737 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM                      103086
07738 #endif
07739 
07740 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM
07741 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM                     103087
07742 #endif
07743 
07744 
07750 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07751 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07752 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTERLISTIBM) (GLint stride, const GLboolean* pointer, GLint ptrstride);
07753 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07754 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07755 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07756 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride);
07757 
07768 typedef GLvoid (csAPIENTRY* csGLRESIZEBUFFERSMESA) ();
07769 
07780 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DMESA) (GLdouble x, GLdouble y);
07781 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FMESA) (GLfloat x, GLfloat y);
07782 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IMESA) (GLint x, GLint y);
07783 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SMESA) (GLshort x, GLshort y);
07784 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVMESA) (const GLint* p);
07785 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVMESA) (const GLshort* p);
07786 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVMESA) (const GLfloat* p);
07787 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVMESA) (const GLdouble* p);
07788 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IMESA) (GLint x, GLint y, GLint z);
07789 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SMESA) (GLshort x, GLshort y, GLshort z);
07790 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FMESA) (GLfloat x, GLfloat y, GLfloat z);
07791 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DMESA) (GLdouble x, GLdouble y, GLdouble z);
07792 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVMESA) (const GLint* p);
07793 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVMESA) (const GLshort* p);
07794 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVMESA) (const GLfloat* p);
07795 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVMESA) (const GLdouble* p);
07796 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IMESA) (GLint x, GLint y, GLint z, GLint w);
07797 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SMESA) (GLshort x, GLshort y, GLshort z, GLshort w);
07798 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
07799 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
07800 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IVMESA) (const GLint* p);
07801 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SVMESA) (const GLshort* p);
07802 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FVMESA) (const GLfloat* p);
07803 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DVMESA) (const GLdouble* p);
07804 
07809 #ifndef GL_INTERLACE_OML
07810 #define GL_INTERLACE_OML                                              35200
07811 #endif
07812 
07813 #ifndef GL_INTERLACE_READ_OML
07814 #define GL_INTERLACE_READ_OML                                         35201
07815 #endif
07816 
07817 
07828 #ifndef GL_PACK_RESAMPLE_OML
07829 #define GL_PACK_RESAMPLE_OML                                          35204
07830 #endif
07831 
07832 #ifndef GL_UNPACK_RESAMPLE_OML
07833 #define GL_UNPACK_RESAMPLE_OML                                        35205
07834 #endif
07835 
07836 #ifndef GL_RESAMPLE_REPLICATE_OML
07837 #define GL_RESAMPLE_REPLICATE_OML                                     35206
07838 #endif
07839 
07840 #ifndef GL_RESAMPLE_ZERO_FILL_OML
07841 #define GL_RESAMPLE_ZERO_FILL_OML                                     35207
07842 #endif
07843 
07844 #ifndef GL_RESAMPLE_AVERAGE_OML
07845 #define GL_RESAMPLE_AVERAGE_OML                                       35208
07846 #endif
07847 
07848 #ifndef GL_RESAMPLE_DECIMATE_OML
07849 #define GL_RESAMPLE_DECIMATE_OML                                      35209
07850 #endif
07851 
07852 #ifndef GL_RESAMPLE_AVERAGE_OML
07853 #define GL_RESAMPLE_AVERAGE_OML                                       35208
07854 #endif
07855 
07856 
07867 #ifndef GL_FORMAT_SUBSAMPLE_24_24_OML
07868 #define GL_FORMAT_SUBSAMPLE_24_24_OML                                 35202
07869 #endif
07870 
07871 #ifndef GL_FORMAT_SUBSAMPLE_244_244_OML
07872 #define GL_FORMAT_SUBSAMPLE_244_244_OML                               35203
07873 #endif
07874 
07875 
07886 #ifndef GL_GENERATE_MIPMAP_SGIS
07887 #define GL_GENERATE_MIPMAP_SGIS                                       33169
07888 #endif
07889 
07890 #ifndef GL_GENERATE_MIPMAP_HINT_SGIS
07891 #define GL_GENERATE_MIPMAP_HINT_SGIS                                  33170
07892 #endif
07893 
07894 
07905 #ifndef GLX_SAMPLE_BUFFERS_SGIS
07906 #define GLX_SAMPLE_BUFFERS_SGIS                                      100000
07907 #endif
07908 
07909 #ifndef GLX_SAMPLES_SGIS
07910 #define GLX_SAMPLES_SGIS                                             100001
07911 #endif
07912 
07913 #ifndef GL_MULTISAMPLE_SGIS
07914 #define GL_MULTISAMPLE_SGIS                                           32925
07915 #endif
07916 
07917 #ifndef GL_SAMPLE_ALPHA_TO_MASK_SGIS
07918 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS                                  32926
07919 #endif
07920 
07921 #ifndef GL_SAMPLE_ALPHA_TO_ONE_SGIS
07922 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS                                   32927
07923 #endif
07924 
07925 #ifndef GL_SAMPLE_MASK_SGIS
07926 #define GL_SAMPLE_MASK_SGIS                                           32928
07927 #endif
07928 
07929 #ifndef GL_MULTISAMPLE_BIT_EXT
07930 #define GL_MULTISAMPLE_BIT_EXT                                       536870912
07931 #endif
07932 
07933 #ifndef GL_1PASS_SGIS
07934 #define GL_1PASS_SGIS                                                 32929
07935 #endif
07936 
07937 #ifndef GL_2PASS_0_SGIS
07938 #define GL_2PASS_0_SGIS                                               32930
07939 #endif
07940 
07941 #ifndef GL_2PASS_1_SGIS
07942 #define GL_2PASS_1_SGIS                                               32931
07943 #endif
07944 
07945 #ifndef GL_4PASS_0_SGIS
07946 #define GL_4PASS_0_SGIS                                               32932
07947 #endif
07948 
07949 #ifndef GL_4PASS_1_SGIS
07950 #define GL_4PASS_1_SGIS                                               32933
07951 #endif
07952 
07953 #ifndef GL_4PASS_2_SGIS
07954 #define GL_4PASS_2_SGIS                                               32934
07955 #endif
07956 
07957 #ifndef GL_4PASS_3_SGIS
07958 #define GL_4PASS_3_SGIS                                               32935
07959 #endif
07960 
07961 #ifndef GL_SAMPLE_BUFFERS_SGIS
07962 #define GL_SAMPLE_BUFFERS_SGIS                                        32936
07963 #endif
07964 
07965 #ifndef GL_SAMPLES_SGIS
07966 #define GL_SAMPLES_SGIS                                               32937
07967 #endif
07968 
07969 #ifndef GL_SAMPLE_MASK_VALUE_SGIS
07970 #define GL_SAMPLE_MASK_VALUE_SGIS                                     32938
07971 #endif
07972 
07973 #ifndef GL_SAMPLE_MASK_INVERT_SGIS
07974 #define GL_SAMPLE_MASK_INVERT_SGIS                                    32939
07975 #endif
07976 
07977 #ifndef GL_SAMPLE_PATTERN_SGIS
07978 #define GL_SAMPLE_PATTERN_SGIS                                        32940
07979 #endif
07980 
07981 
07987 typedef GLvoid (csAPIENTRY* csGLSAMPLEMASKSGIS) (GLclampf value, GLboolean invert);
07988 typedef GLvoid (csAPIENTRY* csGLSAMPLEPATTERNSGIS) (GLenum pattern);
07989 
07994 #ifndef GL_PIXEL_TEXTURE_SGIS
07995 #define GL_PIXEL_TEXTURE_SGIS                                         33619
07996 #endif
07997 
07998 #ifndef GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS
07999 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS                             33620
08000 #endif
08001 
08002 #ifndef GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS
08003 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS                           33621
08004 #endif
08005 
08006 #ifndef GL_PIXEL_GROUP_COLOR_SGIS
08007 #define GL_PIXEL_GROUP_COLOR_SGIS                                     33622
08008 #endif
08009 
08010 
08016 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERISGIS) (GLenum pname, GLint param);
08017 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERFSGIS) (GLenum pname, GLfloat param);
08018 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERIVSGIS) (GLenum pname, GLint params);
08019 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERFVSGIS) (GLenum pname, GLfloat params);
08020 
08025 #ifndef GL_CLAMP_TO_BORDER_SGIS
08026 #define GL_CLAMP_TO_BORDER_SGIS                                       33069
08027 #endif
08028 
08029 
08040 #ifndef GL_TEXTURE_COLOR_WRITEMASK_SGIS
08041 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS                               33263
08042 #endif
08043 
08044 
08050 typedef GLvoid (csAPIENTRY* csGLTEXTURECOLORMASKSGIS) (GLboolean r, GLboolean g, GLboolean b, GLboolean a);
08051 
08056 #ifndef GL_CLAMP_TO_EDGE_SGIS
08057 #define GL_CLAMP_TO_EDGE_SGIS                                         33071
08058 #endif
08059 
08060 
08071 #ifndef GL_TEXTURE_MIN_LOD_SGIS
08072 #define GL_TEXTURE_MIN_LOD_SGIS                                       33082
08073 #endif
08074 
08075 #ifndef GL_TEXTURE_MAX_LOD_SGIS
08076 #define GL_TEXTURE_MAX_LOD_SGIS                                       33083
08077 #endif
08078 
08079 #ifndef GL_TEXTURE_BASE_LEVEL_SGIS
08080 #define GL_TEXTURE_BASE_LEVEL_SGIS                                    33084
08081 #endif
08082 
08083 #ifndef GL_TEXTURE_MAX_LEVEL_SGIS
08084 #define GL_TEXTURE_MAX_LEVEL_SGIS                                     33085
08085 #endif
08086 
08087 
08098 #ifndef GL_DEPTH_COMPONENT16_SGIX
08099 #define GL_DEPTH_COMPONENT16_SGIX                                     33189
08100 #endif
08101 
08102 #ifndef GL_DEPTH_COMPONENT24_SGIX
08103 #define GL_DEPTH_COMPONENT24_SGIX                                     33190
08104 #endif
08105 
08106 #ifndef GL_DEPTH_COMPONENT32_SGIX
08107 #define GL_DEPTH_COMPONENT32_SGIX                                     33191
08108 #endif
08109 
08110 
08121 #ifndef GL_FOG_OFFSET_SGIX
08122 #define GL_FOG_OFFSET_SGIX                                            33176
08123 #endif
08124 
08125 #ifndef GL_FOG_OFFSET_VALUE_SGIX
08126 #define GL_FOG_OFFSET_VALUE_SGIX                                      33177
08127 #endif
08128 
08129 
08140 #ifndef GL_INTERLACE_SGIX
08141 #define GL_INTERLACE_SGIX                                             32916
08142 #endif
08143 
08144 
08155 #ifndef GL_SHADOW_AMBIENT_SGIX
08156 #define GL_SHADOW_AMBIENT_SGIX                                        32959
08157 #endif
08158 
08159 
08170 #ifndef GL_COLOR_MATRIX_SGI
08171 #define GL_COLOR_MATRIX_SGI                                           32945
08172 #endif
08173 
08174 #ifndef GL_COLOR_MATRIX_STACK_DEPTH_SGI
08175 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI                               32946
08176 #endif
08177 
08178 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI
08179 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI                           32947
08180 #endif
08181 
08182 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE_SGI
08183 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI                            32948
08184 #endif
08185 
08186 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI
08187 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI                          32949
08188 #endif
08189 
08190 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI
08191 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI                           32950
08192 #endif
08193 
08194 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI
08195 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI                          32951
08196 #endif
08197 
08198 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS_SGI
08199 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI                             32952
08200 #endif
08201 
08202 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI
08203 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI                           32953
08204 #endif
08205 
08206 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI
08207 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI                            32954
08208 #endif
08209 
08210 #ifndef GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI
08211 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI                           32955
08212 #endif
08213 
08214 
08225 #ifndef GL_COLOR_TABLE_SGI
08226 #define GL_COLOR_TABLE_SGI                                            32976
08227 #endif
08228 
08229 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE_SGI
08230 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI                           32977
08231 #endif
08232 
08233 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI
08234 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI                          32978
08235 #endif
08236 
08237 #ifndef GL_PROXY_COLOR_TABLE_SGI
08238 #define GL_PROXY_COLOR_TABLE_SGI                                      32979
08239 #endif
08240 
08241 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI
08242 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI                     32980
08243 #endif
08244 
08245 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI
08246 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI                    32981
08247 #endif
08248 
08249 #ifndef GL_COLOR_TABLE_SCALE_SGI
08250 #define GL_COLOR_TABLE_SCALE_SGI                                      32982
08251 #endif
08252 
08253 #ifndef GL_COLOR_TABLE_BIAS_SGI
08254 #define GL_COLOR_TABLE_BIAS_SGI                                       32983
08255 #endif
08256 
08257 #ifndef GL_COLOR_TABLE_FORMAT_SGI
08258 #define GL_COLOR_TABLE_FORMAT_SGI                                     32984
08259 #endif
08260 
08261 #ifndef GL_COLOR_TABLE_WIDTH_SGI
08262 #define GL_COLOR_TABLE_WIDTH_SGI                                      32985
08263 #endif
08264 
08265 #ifndef GL_COLOR_TABLE_RED_SIZE_SGI
08266 #define GL_COLOR_TABLE_RED_SIZE_SGI                                   32986
08267 #endif
08268 
08269 #ifndef GL_COLOR_TABLE_GREEN_SIZE_SGI
08270 #define GL_COLOR_TABLE_GREEN_SIZE_SGI                                 32987
08271 #endif
08272 
08273 #ifndef GL_COLOR_TABLE_BLUE_SIZE_SGI
08274 #define GL_COLOR_TABLE_BLUE_SIZE_SGI                                  32988
08275 #endif
08276 
08277 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_SGI
08278 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI                                 32989
08279 #endif
08280 
08281 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_SGI
08282 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI                             32990
08283 #endif
08284 
08285 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_SGI
08286 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI                             32991
08287 #endif
08288 
08289 
08295 typedef GLvoid (csAPIENTRY* csGLCOLORTABLESGI) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table);
08296 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLESGI) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
08297 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, const GLint* params);
08298 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, const GLfloat* params);
08299 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLESGI) (GLenum target, GLenum format, GLenum type, GLvoid* table);
08300 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, GLint* params);
08301 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, GLfloat* params);
08302 
08307 #ifndef GL_TEXTURE_COLOR_TABLE_SGI
08308 #define GL_TEXTURE_COLOR_TABLE_SGI                                    32956
08309 #endif
08310 
08311 #ifndef GL_PROXY_TEXTURE_COLOR_TABLE_SGI
08312 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI                              32957
08313 #endif
08314 
08315 
08332 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
08333 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FVSUN) (const GLubyte* c, const GLfloat* v);
08334 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08335 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FVSUN) (const GLubyte* c, const GLfloat* v);
08336 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08337 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* v);
08338 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08339 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FVSUN) (const GLfloat* n, const GLfloat* v);
08340 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08341 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* n, const GLfloat* v);
08342 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
08343 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* v);
08344 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
08345 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* v);
08346 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08347 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN) (const GLfloat* tc, const GLubyte* c, const GLfloat* v);
08348 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08349 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* v);
08350 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08351 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* n, const GLfloat* v);
08352 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);
08353 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08354 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);
08355 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08356 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FSUN) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
08357 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FVSUN) (const GLuint* rc, const GLfloat* v);
08358 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
08359 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN) (const GLuint* rc, const GLubyte* c, const GLfloat* v);
08360 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
08361 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* v);
08362 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08363 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* n, const GLfloat* v);
08364 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);
08365 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08366 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
08367 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* v);
08368 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
08369 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* n, const GLfloat* v);
08370 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);
08371 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v);
08372 
08377 #ifndef GL_FRAGMENT_PROGRAM_ARB
08378 #define GL_FRAGMENT_PROGRAM_ARB                                       34820
08379 #endif
08380 
08381 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB
08382 #define GL_PROGRAM_FORMAT_ASCII_ARB                                   34933
08383 #endif
08384 
08385 #ifndef GL_PROGRAM_LENGTH_ARB
08386 #define GL_PROGRAM_LENGTH_ARB                                         34343
08387 #endif
08388 
08389 #ifndef GL_PROGRAM_FORMAT_ARB
08390 #define GL_PROGRAM_FORMAT_ARB                                         34934
08391 #endif
08392 
08393 #ifndef GL_PROGRAM_BINDING_ARB
08394 #define GL_PROGRAM_BINDING_ARB                                        34423
08395 #endif
08396 
08397 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB
08398 #define GL_PROGRAM_INSTRUCTIONS_ARB                                   34976
08399 #endif
08400 
08401 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
08402 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB                               34977
08403 #endif
08404 
08405 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
08406 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB                            34978
08407 #endif
08408 
08409 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
08410 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB                        34979
08411 #endif
08412 
08413 #ifndef GL_PROGRAM_TEMPORARIES_ARB
08414 #define GL_PROGRAM_TEMPORARIES_ARB                                    34980
08415 #endif
08416 
08417 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
08418 #define GL_MAX_PROGRAM_TEMPORARIES_ARB                                34981
08419 #endif
08420 
08421 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
08422 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB                             34982
08423 #endif
08424 
08425 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
08426 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB                         34983
08427 #endif
08428 
08429 #ifndef GL_PROGRAM_PARAMETERS_ARB
08430 #define GL_PROGRAM_PARAMETERS_ARB                                     34984
08431 #endif
08432 
08433 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
08434 #define GL_MAX_PROGRAM_PARAMETERS_ARB                                 34985
08435 #endif
08436 
08437 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
08438 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB                              34986
08439 #endif
08440 
08441 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
08442 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB                          34987
08443 #endif
08444 
08445 #ifndef GL_PROGRAM_ATTRIBS_ARB
08446 #define GL_PROGRAM_ATTRIBS_ARB                                        34988
08447 #endif
08448 
08449 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
08450 #define GL_MAX_PROGRAM_ATTRIBS_ARB                                    34989
08451 #endif
08452 
08453 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
08454 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB                                 34990
08455 #endif
08456 
08457 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
08458 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB                             34991
08459 #endif
08460 
08461 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
08462 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB                           34996
08463 #endif
08464 
08465 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
08466 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB                             34997
08467 #endif
08468 
08469 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
08470 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB                            34998
08471 #endif
08472 
08473 #ifndef GL_PROGRAM_ALU_INSTRUCTIONS_ARB
08474 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB                               34821
08475 #endif
08476 
08477 #ifndef GL_PROGRAM_TEX_INSTRUCTIONS_ARB
08478 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB                               34822
08479 #endif
08480 
08481 #ifndef GL_PROGRAM_TEX_INDIRECTIONS_ARB
08482 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB                               34823
08483 #endif
08484 
08485 #ifndef GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
08486 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                        34824
08487 #endif
08488 
08489 #ifndef GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
08490 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                        34825
08491 #endif
08492 
08493 #ifndef GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
08494 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                        34826
08495 #endif
08496 
08497 #ifndef GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
08498 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB                           34827
08499 #endif
08500 
08501 #ifndef GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
08502 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB                           34828
08503 #endif
08504 
08505 #ifndef GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
08506 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB                           34829
08507 #endif
08508 
08509 #ifndef GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
08510 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB                    34830
08511 #endif
08512 
08513 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
08514 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB                    34831
08515 #endif
08516 
08517 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
08518 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB                    34832
08519 #endif
08520 
08521 #ifndef GL_PROGRAM_STRING_ARB
08522 #define GL_PROGRAM_STRING_ARB                                         34344
08523 #endif
08524 
08525 #ifndef GL_PROGRAM_ERROR_POSITION_ARB
08526 #define GL_PROGRAM_ERROR_POSITION_ARB                                 34379
08527 #endif
08528 
08529 #ifndef GL_CURRENT_MATRIX_ARB
08530 #define GL_CURRENT_MATRIX_ARB                                         34369
08531 #endif
08532 
08533 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
08534 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB                               34999
08535 #endif
08536 
08537 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
08538 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB                             34368
08539 #endif
08540 
08541 #ifndef GL_MAX_PROGRAM_MATRICES_ARB
08542 #define GL_MAX_PROGRAM_MATRICES_ARB                                   34351
08543 #endif
08544 
08545 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
08546 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB                         34350
08547 #endif
08548 
08549 #ifndef GL_MAX_TEXTURE_COORDS_ARB
08550 #define GL_MAX_TEXTURE_COORDS_ARB                                     34929
08551 #endif
08552 
08553 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
08554 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                                34930
08555 #endif
08556 
08557 #ifndef GL_PROGRAM_ERROR_STRING_ARB
08558 #define GL_PROGRAM_ERROR_STRING_ARB                                   34932
08559 #endif
08560 
08561 #ifndef GL_MATRIX0_ARB
08562 #define GL_MATRIX0_ARB                                                35008
08563 #endif
08564 
08565 #ifndef GL_MATRIX1_ARB
08566 #define GL_MATRIX1_ARB                                                35009
08567 #endif
08568 
08569 #ifndef GL_MATRIX2_ARB
08570 #define GL_MATRIX2_ARB                                                35010
08571 #endif
08572 
08573 #ifndef GL_MATRIX3_ARB
08574 #define GL_MATRIX3_ARB                                                35011
08575 #endif
08576 
08577 #ifndef GL_MATRIX4_ARB
08578 #define GL_MATRIX4_ARB                                                35012
08579 #endif
08580 
08581 #ifndef GL_MATRIX5_ARB
08582 #define GL_MATRIX5_ARB                                                35013
08583 #endif
08584 
08585 #ifndef GL_MATRIX6_ARB
08586 #define GL_MATRIX6_ARB                                                35014
08587 #endif
08588 
08589 #ifndef GL_MATRIX7_ARB
08590 #define GL_MATRIX7_ARB                                                35015
08591 #endif
08592 
08593 #ifndef GL_MATRIX8_ARB
08594 #define GL_MATRIX8_ARB                                                35016
08595 #endif
08596 
08597 #ifndef GL_MATRIX9_ARB
08598 #define GL_MATRIX9_ARB                                                35017
08599 #endif
08600 
08601 #ifndef GL_MATRIX10_ARB
08602 #define GL_MATRIX10_ARB                                               35018
08603 #endif
08604 
08605 #ifndef GL_MATRIX11_ARB
08606 #define GL_MATRIX11_ARB                                               35019
08607 #endif
08608 
08609 #ifndef GL_MATRIX12_ARB
08610 #define GL_MATRIX12_ARB                                               35020
08611 #endif
08612 
08613 #ifndef GL_MATRIX13_ARB
08614 #define GL_MATRIX13_ARB                                               35021
08615 #endif
08616 
08617 #ifndef GL_MATRIX14_ARB
08618 #define GL_MATRIX14_ARB                                               35022
08619 #endif
08620 
08621 #ifndef GL_MATRIX15_ARB
08622 #define GL_MATRIX15_ARB                                               35023
08623 #endif
08624 
08625 #ifndef GL_MATRIX16_ARB
08626 #define GL_MATRIX16_ARB                                               35024
08627 #endif
08628 
08629 #ifndef GL_MATRIX17_ARB
08630 #define GL_MATRIX17_ARB                                               35025
08631 #endif
08632 
08633 #ifndef GL_MATRIX18_ARB
08634 #define GL_MATRIX18_ARB                                               35026
08635 #endif
08636 
08637 #ifndef GL_MATRIX19_ARB
08638 #define GL_MATRIX19_ARB                                               35027
08639 #endif
08640 
08641 #ifndef GL_MATRIX20_ARB
08642 #define GL_MATRIX20_ARB                                               35028
08643 #endif
08644 
08645 #ifndef GL_MATRIX21_ARB
08646 #define GL_MATRIX21_ARB                                               35029
08647 #endif
08648 
08649 #ifndef GL_MATRIX22_ARB
08650 #define GL_MATRIX22_ARB                                               35030
08651 #endif
08652 
08653 #ifndef GL_MATRIX23_ARB
08654 #define GL_MATRIX23_ARB                                               35031
08655 #endif
08656 
08657 #ifndef GL_MATRIX24_ARB
08658 #define GL_MATRIX24_ARB                                               35032
08659 #endif
08660 
08661 #ifndef GL_MATRIX25_ARB
08662 #define GL_MATRIX25_ARB                                               35033
08663 #endif
08664 
08665 #ifndef GL_MATRIX26_ARB
08666 #define GL_MATRIX26_ARB                                               35034
08667 #endif
08668 
08669 #ifndef GL_MATRIX27_ARB
08670 #define GL_MATRIX27_ARB                                               35035
08671 #endif
08672 
08673 #ifndef GL_MATRIX28_ARB
08674 #define GL_MATRIX28_ARB                                               35036
08675 #endif
08676 
08677 #ifndef GL_MATRIX29_ARB
08678 #define GL_MATRIX29_ARB                                               35037
08679 #endif
08680 
08681 #ifndef GL_MATRIX30_ARB
08682 #define GL_MATRIX30_ARB                                               35038
08683 #endif
08684 
08685 #ifndef GL_MATRIX31_ARB
08686 #define GL_MATRIX31_ARB                                               35039
08687 #endif
08688 
08689 
08700 #ifndef GL_TEXT_FRAGMENT_SHADER_ATI
08701 #define GL_TEXT_FRAGMENT_SHADER_ATI                                   33280
08702 #endif
08703 
08704 
08715 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE
08716 #define GL_UNPACK_CLIENT_STORAGE_APPLE                                34226
08717 #endif
08718 
08719 
08730 #ifndef GL_ELEMENT_ARRAY_APPLE
08731 #define GL_ELEMENT_ARRAY_APPLE                                        34664
08732 #endif
08733 
08734 #ifndef GL_ELEMENT_ARRAY_TYPE_APPLE
08735 #define GL_ELEMENT_ARRAY_TYPE_APPLE                                   34665
08736 #endif
08737 
08738 #ifndef GL_ELEMENT_ARRAY_POINTER_APPLE
08739 #define GL_ELEMENT_ARRAY_POINTER_APPLE                                34666
08740 #endif
08741 
08742 
08748 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERAPPLE) (GLenum type, const GLvoid* pointer);
08749 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYAPPLE) (GLenum mode, GLint first, GLsizei count);
08750 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
08751 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYAPPLE) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
08752 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
08753 
08758 #ifndef GL_DRAW_PIXELS_APPLE
08759 #define GL_DRAW_PIXELS_APPLE                                          35338
08760 #endif
08761 
08762 #ifndef GL_FENCE_APPLE
08763 #define GL_FENCE_APPLE                                                35339
08764 #endif
08765 
08766 
08772 typedef GLvoid (csAPIENTRY* csGLGENFENCESAPPLE) (GLsizei n, GLuint* fences);
08773 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESAPPLE) (GLsizei n, const GLuint* fences);
08774 typedef GLvoid (csAPIENTRY* csGLSETFENCEAPPLE) (GLuint fence);
08775 typedef GLboolean (csAPIENTRY* csGLISFENCEAPPLE) (GLuint fence);
08776 typedef GLboolean (csAPIENTRY* csGLTESTFENCEAPPLE) (GLuint fence);
08777 typedef GLvoid (csAPIENTRY* csGLFINISHFENCEAPPLE) (GLuint fence);
08778 typedef GLboolean (csAPIENTRY* csGLTESTOBJECTAPPLE) (GLenum object, GLuint name);
08779 typedef GLvoid (csAPIENTRY* csGLFINISHOBJECTAPPLE) (GLenum object, GLint name);
08780 
08785 #ifndef GL_VERTEX_ARRAY_BINDING_APPLE
08786 #define GL_VERTEX_ARRAY_BINDING_APPLE                                 34229
08787 #endif
08788 
08789 
08795 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXARRAYAPPLE) (GLuint array);
08796 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
08797 typedef GLvoid (csAPIENTRY* csGLGENVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays);
08798 typedef GLboolean (csAPIENTRY* csGLISVERTEXARRAYAPPLE) (GLuint array);
08799 
08804 #ifndef GL_VERTEX_ARRAY_RANGE_APPLE
08805 #define GL_VERTEX_ARRAY_RANGE_APPLE                                   34077
08806 #endif
08807 
08808 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE
08809 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE                            34078
08810 #endif
08811 
08812 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE
08813 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE                       34080
08814 #endif
08815 
08816 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_APPLE
08817 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE                           34081
08818 #endif
08819 
08820 #ifndef GL_VERTEX_ARRAY_STORAGE_HINT_APPLE
08821 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE                            34079
08822 #endif
08823 
08824 #ifndef GL_STORAGE_CACHED_APPLE
08825 #define GL_STORAGE_CACHED_APPLE                                       34238
08826 #endif
08827 
08828 #ifndef GL_STORAGE_SHARED_APPLE
08829 #define GL_STORAGE_SHARED_APPLE                                       34239
08830 #endif
08831 
08832 
08838 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
08839 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer);
08840 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYPARAMETERIAPPLE) (GLenum pname, GLint param);
08841 
08843 #ifdef _WIN32
08844 
08847 #ifndef WGL_NUMBER_PIXEL_FORMATS_ARB
08848 #define WGL_NUMBER_PIXEL_FORMATS_ARB                                   8192
08849 #endif
08850 
08851 #ifndef WGL_DRAW_TO_WINDOW_ARB
08852 #define WGL_DRAW_TO_WINDOW_ARB                                         8193
08853 #endif
08854 
08855 #ifndef WGL_DRAW_TO_BITMAP_ARB
08856 #define WGL_DRAW_TO_BITMAP_ARB                                         8194
08857 #endif
08858 
08859 #ifndef WGL_ACCELERATION_ARB
08860 #define WGL_ACCELERATION_ARB                                           8195
08861 #endif
08862 
08863 #ifndef WGL_NEED_PALETTE_ARB
08864 #define WGL_NEED_PALETTE_ARB                                           8196
08865 #endif
08866 
08867 #ifndef WGL_NEED_SYSTEM_PALETTE_ARB
08868 #define WGL_NEED_SYSTEM_PALETTE_ARB                                    8197
08869 #endif
08870 
08871 #ifndef WGL_SWAP_LAYER_BUFFERS_ARB
08872 #define WGL_SWAP_LAYER_BUFFERS_ARB                                     8198
08873 #endif
08874 
08875 #ifndef WGL_SWAP_METHOD_ARB
08876 #define WGL_SWAP_METHOD_ARB                                            8199
08877 #endif
08878 
08879 #ifndef WGL_NUMBER_OVERLAYS_ARB
08880 #define WGL_NUMBER_OVERLAYS_ARB                                        8200
08881 #endif
08882 
08883 #ifndef WGL_NUMBER_UNDERLAYS_ARB
08884 #define WGL_NUMBER_UNDERLAYS_ARB                                       8201
08885 #endif
08886 
08887 #ifndef WGL_TRANSPARENT_ARB
08888 #define WGL_TRANSPARENT_ARB                                            8202
08889 #endif
08890 
08891 #ifndef WGL_TRANSPARENT_RED_VALUE_ARB
08892 #define WGL_TRANSPARENT_RED_VALUE_ARB                                  8247
08893 #endif
08894 
08895 #ifndef WGL_TRANSPARENT_GREEN_VALUE_ARB
08896 #define WGL_TRANSPARENT_GREEN_VALUE_ARB                                8248
08897 #endif
08898 
08899 #ifndef WGL_TRANSPARENT_BLUE_VALUE_ARB
08900 #define WGL_TRANSPARENT_BLUE_VALUE_ARB                                 8249
08901 #endif
08902 
08903 #ifndef WGL_TRANSPARENT_ALPHA_VALUE_ARB
08904 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB                                8250
08905 #endif
08906 
08907 #ifndef WGL_TRANSPARENT_INDEX_VALUE_ARB
08908 #define WGL_TRANSPARENT_INDEX_VALUE_ARB                                8251
08909 #endif
08910 
08911 #ifndef WGL_SHARE_DEPTH_ARB
08912 #define WGL_SHARE_DEPTH_ARB                                            8204
08913 #endif
08914 
08915 #ifndef WGL_SHARE_STENCIL_ARB
08916 #define WGL_SHARE_STENCIL_ARB                                          8205
08917 #endif
08918 
08919 #ifndef WGL_SHARE_ACCUM_ARB
08920 #define WGL_SHARE_ACCUM_ARB                                            8206
08921 #endif
08922 
08923 #ifndef WGL_SUPPORT_GDI_ARB
08924 #define WGL_SUPPORT_GDI_ARB                                            8207
08925 #endif
08926 
08927 #ifndef WGL_SUPPORT_OPENGL_ARB
08928 #define WGL_SUPPORT_OPENGL_ARB                                         8208
08929 #endif
08930 
08931 #ifndef WGL_DOUBLE_BUFFER_ARB
08932 #define WGL_DOUBLE_BUFFER_ARB                                          8209
08933 #endif
08934 
08935 #ifndef WGL_STEREO_ARB
08936 #define WGL_STEREO_ARB                                                 8210
08937 #endif
08938 
08939 #ifndef WGL_PIXEL_TYPE_ARB
08940 #define WGL_PIXEL_TYPE_ARB                                             8211
08941 #endif
08942 
08943 #ifndef WGL_COLOR_BITS_ARB
08944 #define WGL_COLOR_BITS_ARB                                             8212
08945 #endif
08946 
08947 #ifndef WGL_RED_BITS_ARB
08948 #define WGL_RED_BITS_ARB                                               8213
08949 #endif
08950 
08951 #ifndef WGL_RED_SHIFT_ARB
08952 #define WGL_RED_SHIFT_ARB                                              8214
08953 #endif
08954 
08955 #ifndef WGL_GREEN_BITS_ARB
08956 #define WGL_GREEN_BITS_ARB                                             8215
08957 #endif
08958 
08959 #ifndef WGL_GREEN_SHIFT_ARB
08960 #define WGL_GREEN_SHIFT_ARB                                            8216
08961 #endif
08962 
08963 #ifndef WGL_BLUE_BITS_ARB
08964 #define WGL_BLUE_BITS_ARB                                              8217
08965 #endif
08966 
08967 #ifndef WGL_BLUE_SHIFT_ARB
08968 #define WGL_BLUE_SHIFT_ARB                                             8218
08969 #endif
08970 
08971 #ifndef WGL_ALPHA_BITS_ARB
08972 #define WGL_ALPHA_BITS_ARB                                             8219
08973 #endif
08974 
08975 #ifndef WGL_ALPHA_SHIFT_ARB
08976 #define WGL_ALPHA_SHIFT_ARB                                            8220
08977 #endif
08978 
08979 #ifndef WGL_ACCUM_BITS_ARB
08980 #define WGL_ACCUM_BITS_ARB                                             8221
08981 #endif
08982 
08983 #ifndef WGL_ACCUM_RED_BITS_ARB
08984 #define WGL_ACCUM_RED_BITS_ARB                                         8222
08985 #endif
08986 
08987 #ifndef WGL_ACCUM_GREEN_BITS_ARB
08988 #define WGL_ACCUM_GREEN_BITS_ARB                                       8223
08989 #endif
08990 
08991 #ifndef WGL_ACCUM_BLUE_BITS_ARB
08992 #define WGL_ACCUM_BLUE_BITS_ARB                                        8224
08993 #endif
08994 
08995 #ifndef WGL_ACCUM_ALPHA_BITS_ARB
08996 #define WGL_ACCUM_ALPHA_BITS_ARB                                       8225
08997 #endif
08998 
08999 #ifndef WGL_DEPTH_BITS_ARB
09000 #define WGL_DEPTH_BITS_ARB                                             8226
09001 #endif
09002 
09003 #ifndef WGL_STENCIL_BITS_ARB
09004 #define WGL_STENCIL_BITS_ARB                                           8227
09005 #endif
09006 
09007 #ifndef WGL_AUX_BUFFERS_ARB
09008 #define WGL_AUX_BUFFERS_ARB                                            8228
09009 #endif
09010 
09011 #ifndef WGL_NO_ACCELERATION_ARB
09012 #define WGL_NO_ACCELERATION_ARB                                        8229
09013 #endif
09014 
09015 #ifndef WGL_GENERIC_ACCELERATION_ARB
09016 #define WGL_GENERIC_ACCELERATION_ARB                                   8230
09017 #endif
09018 
09019 #ifndef WGL_FULL_ACCELERATION_ARB
09020 #define WGL_FULL_ACCELERATION_ARB                                      8231
09021 #endif
09022 
09023 #ifndef WGL_SWAP_EXCHANGE_ARB
09024 #define WGL_SWAP_EXCHANGE_ARB                                          8232
09025 #endif
09026 
09027 #ifndef WGL_SWAP_COPY_ARB
09028 #define WGL_SWAP_COPY_ARB                                              8233
09029 #endif
09030 
09031 #ifndef WGL_SWAP_UNDEFINED_ARB
09032 #define WGL_SWAP_UNDEFINED_ARB                                         8234
09033 #endif
09034 
09035 #ifndef WGL_TYPE_RGBA_ARB
09036 #define WGL_TYPE_RGBA_ARB                                              8235
09037 #endif
09038 
09039 #ifndef WGL_TYPE_COLORINDEX_ARB
09040 #define WGL_TYPE_COLORINDEX_ARB                                        8236
09041 #endif
09042 
09043 
09049 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLint* piValues);
09050 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLfloat* pfValues);
09051 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATARB) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
09052 
09054 #endif
09055 
09056 #ifdef _WIN32
09057 
09060 #ifndef WGL_ERROR_INVALID_PIXEL_TYPE_ARB
09061 #define WGL_ERROR_INVALID_PIXEL_TYPE_ARB                               8259
09062 #endif
09063 
09064 #ifndef WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB
09065 #define WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB                     8276
09066 #endif
09067 
09068 
09074 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTARB) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
09075 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCARB) ();
09076 
09078 #endif
09079 
09080 #ifdef _WIN32
09081 
09084 #ifndef WGL_DRAW_TO_PBUFFER_ARB
09085 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
09086 #endif
09087 
09088 #ifndef WGL_DRAW_TO_PBUFFER_ARB
09089 #define WGL_DRAW_TO_PBUFFER_ARB                                        8237
09090 #endif
09091 
09092 #ifndef WGL_MAX_PBUFFER_PIXELS_ARB
09093 #define WGL_MAX_PBUFFER_PIXELS_ARB                                     8238
09094 #endif
09095 
09096 #ifndef WGL_MAX_PBUFFER_WIDTH_ARB
09097 #define WGL_MAX_PBUFFER_WIDTH_ARB                                      8239
09098 #endif
09099 
09100 #ifndef WGL_MAX_PBUFFER_HEIGHT_ARB
09101 #define WGL_MAX_PBUFFER_HEIGHT_ARB                                     8240
09102 #endif
09103 
09104 #ifndef WGL_PBUFFER_LARGEST_ARB
09105 #define WGL_PBUFFER_LARGEST_ARB                                        8243
09106 #endif
09107 
09108 #ifndef WGL_PBUFFER_WIDTH_ARB
09109 #define WGL_PBUFFER_WIDTH_ARB                                          8244
09110 #endif
09111 
09112 #ifndef WGL_PBUFFER_HEIGHT_ARB
09113 #define WGL_PBUFFER_HEIGHT_ARB                                         8245
09114 #endif
09115 
09116 #ifndef WGL_PBUFFER_LOST_ARB
09117 #define WGL_PBUFFER_LOST_ARB                                           8246
09118 #endif
09119 
09120 
09126 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFERARB) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
09127 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCARB) (HANDLE hPbuffer);
09128 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCARB) (HANDLE hPbuffer, HDC hDC);
09129 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFERARB) (HANDLE hPbuffer);
09130 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFERARB) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
09131 
09133 #endif
09134 
09135 #ifdef _WIN32
09136 
09145 typedef BOOL (csAPIENTRY* csWGLSWAPINTERVALEXT) (GLint interval);
09146 typedef GLint (csAPIENTRY* csWGLGETSWAPINTERVALEXT) ();
09147 
09149 #endif
09150 
09151 #ifdef _WIN32
09152 
09155 #ifndef WGL_BIND_TO_TEXTURE_RGB_ARB
09156 #define WGL_BIND_TO_TEXTURE_RGB_ARB                                    8304
09157 #endif
09158 
09159 #ifndef WGL_BIND_TO_TEXTURE_RGBA_ARB
09160 #define WGL_BIND_TO_TEXTURE_RGBA_ARB                                   8305
09161 #endif
09162 
09163 #ifndef WGL_TEXTURE_FORMAT_ARB
09164 #define WGL_TEXTURE_FORMAT_ARB                                         8306
09165 #endif
09166 
09167 #ifndef WGL_TEXTURE_TARGET_ARB
09168 #define WGL_TEXTURE_TARGET_ARB                                         8307
09169 #endif
09170 
09171 #ifndef WGL_MIPMAP_TEXTURE_ARB
09172 #define WGL_MIPMAP_TEXTURE_ARB                                         8308
09173 #endif
09174 
09175 #ifndef WGL_TEXTURE_RGB_ARB
09176 #define WGL_TEXTURE_RGB_ARB                                            8309
09177 #endif
09178 
09179 #ifndef WGL_TEXTURE_RGBA_ARB
09180 #define WGL_TEXTURE_RGBA_ARB                                           8310
09181 #endif
09182 
09183 #ifndef WGL_NO_TEXTURE_ARB
09184 #define WGL_NO_TEXTURE_ARB                                             8311
09185 #endif
09186 
09187 #ifndef WGL_TEXTURE_CUBE_MAP_ARB
09188 #define WGL_TEXTURE_CUBE_MAP_ARB                                       8312
09189 #endif
09190 
09191 #ifndef WGL_TEXTURE_1D_ARB
09192 #define WGL_TEXTURE_1D_ARB                                             8313
09193 #endif
09194 
09195 #ifndef WGL_TEXTURE_2D_ARB
09196 #define WGL_TEXTURE_2D_ARB                                             8314
09197 #endif
09198 
09199 #ifndef WGL_NO_TEXTURE_ARB
09200 #define WGL_NO_TEXTURE_ARB                                             8311
09201 #endif
09202 
09203 #ifndef WGL_MIPMAP_LEVEL_ARB
09204 #define WGL_MIPMAP_LEVEL_ARB                                           8315
09205 #endif
09206 
09207 #ifndef WGL_CUBE_MAP_FACE_ARB
09208 #define WGL_CUBE_MAP_FACE_ARB                                          8316
09209 #endif
09210 
09211 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB
09212 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB                            8317
09213 #endif
09214 
09215 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB
09216 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB                            8318
09217 #endif
09218 
09219 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB
09220 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB                            8319
09221 #endif
09222 
09223 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB
09224 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB                            8320
09225 #endif
09226 
09227 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB
09228 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB                            8321
09229 #endif
09230 
09231 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB
09232 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB                            8322
09233 #endif
09234 
09235 #ifndef WGL_FRONT_LEFT_ARB
09236 #define WGL_FRONT_LEFT_ARB                                             8323
09237 #endif
09238 
09239 #ifndef WGL_FRONT_RIGHT_ARB
09240 #define WGL_FRONT_RIGHT_ARB                                            8324
09241 #endif
09242 
09243 #ifndef WGL_BACK_LEFT_ARB
09244 #define WGL_BACK_LEFT_ARB                                              8325
09245 #endif
09246 
09247 #ifndef WGL_BACK_RIGHT_ARB
09248 #define WGL_BACK_RIGHT_ARB                                             8326
09249 #endif
09250 
09251 #ifndef WGL_AUX0_ARB
09252 #define WGL_AUX0_ARB                                                   8327
09253 #endif
09254 
09255 #ifndef WGL_AUX1_ARB
09256 #define WGL_AUX1_ARB                                                   8328
09257 #endif
09258 
09259 #ifndef WGL_AUX2_ARB
09260 #define WGL_AUX2_ARB                                                   8329
09261 #endif
09262 
09263 #ifndef WGL_AUX3_ARB
09264 #define WGL_AUX3_ARB                                                   8330
09265 #endif
09266 
09267 #ifndef WGL_AUX4_ARB
09268 #define WGL_AUX4_ARB                                                   8331
09269 #endif
09270 
09271 #ifndef WGL_AUX5_ARB
09272 #define WGL_AUX5_ARB                                                   8332
09273 #endif
09274 
09275 #ifndef WGL_AUX6_ARB
09276 #define WGL_AUX6_ARB                                                   8333
09277 #endif
09278 
09279 #ifndef WGL_AUX7_ARB
09280 #define WGL_AUX7_ARB                                                   8334
09281 #endif
09282 
09283 #ifndef WGL_AUX8_ARB
09284 #define WGL_AUX8_ARB                                                   8335
09285 #endif
09286 
09287 #ifndef WGL_AUX9_ARB
09288 #define WGL_AUX9_ARB                                                   8336
09289 #endif
09290 
09291 
09297 typedef BOOL (csAPIENTRY* csWGLBINDTEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
09298 typedef BOOL (csAPIENTRY* csWGLRELEASETEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer);
09299 typedef BOOL (csAPIENTRY* csWGLSETPBUFFERATTRIBARB) (HANDLE hPbuffer, const GLint* piAttribList);
09300 
09302 #endif
09303 
09304 #ifdef _WIN32
09305 
09314 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGEXT) ();
09315 
09317 #endif
09318 
09319 #ifdef _WIN32
09320 
09329 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTEXT) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
09330 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCEXT) ();
09331 
09333 #endif
09334 
09335 #ifdef _WIN32
09336 
09339 #ifndef WGL_DRAW_TO_PBUFFER_EXT
09340 #define WGL_DRAW_TO_PBUFFER_EXT                                        8237
09341 #endif
09342 
09343 #ifndef WGL_MAX_PBUFFER_PIXELS_EXT
09344 #define WGL_MAX_PBUFFER_PIXELS_EXT                                     8238
09345 #endif
09346 
09347 #ifndef WGL_MAX_PBUFFER_WIDTH_EXT
09348 #define WGL_MAX_PBUFFER_WIDTH_EXT                                      8239
09349 #endif
09350 
09351 #ifndef WGL_MAX_PBUFFER_HEIGHT_EXT
09352 #define WGL_MAX_PBUFFER_HEIGHT_EXT                                     8240
09353 #endif
09354 
09355 #ifndef WGL_OPTIMAL_PBUFFER_WIDTH_EXT
09356 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT                                  8241
09357 #endif
09358 
09359 #ifndef WGL_OPTIMAL_PBUFFER_HEIGHT_EXT
09360 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT                                 8242
09361 #endif
09362 
09363 #ifndef WGL_PBUFFER_LARGEST_EXT
09364 #define WGL_PBUFFER_LARGEST_EXT                                        8243
09365 #endif
09366 
09367 #ifndef WGL_PBUFFER_WIDTH_EXT
09368 #define WGL_PBUFFER_WIDTH_EXT                                          8244
09369 #endif
09370 
09371 #ifndef WGL_PBUFFER_HEIGHT_EXT
09372 #define WGL_PBUFFER_HEIGHT_EXT                                         8245
09373 #endif
09374 
09375 
09381 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFEREXT) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList);
09382 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCEXT) (HANDLE hPbuffer);
09383 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCEXT) (HANDLE hPbuffer, HDC hDC);
09384 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFEREXT) (HANDLE hPbuffer);
09385 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFEREXT) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue);
09386 
09388 #endif
09389 
09390 #ifdef _WIN32
09391 
09394 #ifndef WGL_NUMBER_PIXEL_FORMATS_EXT
09395 #define WGL_NUMBER_PIXEL_FORMATS_EXT                                   8192
09396 #endif
09397 
09398 #ifndef WGL_DRAW_TO_WINDOW_EXT
09399 #define WGL_DRAW_TO_WINDOW_EXT                                         8193
09400 #endif
09401 
09402 #ifndef WGL_DRAW_TO_BITMAP_EXT
09403 #define WGL_DRAW_TO_BITMAP_EXT                                         8194
09404 #endif
09405 
09406 #ifndef WGL_ACCELERATION_EXT
09407 #define WGL_ACCELERATION_EXT                                           8195
09408 #endif
09409 
09410 #ifndef WGL_NEED_PALETTE_EXT
09411 #define WGL_NEED_PALETTE_EXT                                           8196
09412 #endif
09413 
09414 #ifndef WGL_NEED_SYSTEM_PALETTE_EXT
09415 #define WGL_NEED_SYSTEM_PALETTE_EXT                                    8197
09416 #endif
09417 
09418 #ifndef WGL_SWAP_LAYER_BUFFERS_EXT
09419 #define WGL_SWAP_LAYER_BUFFERS_EXT                                     8198
09420 #endif
09421 
09422 #ifndef WGL_SWAP_METHOD_EXT
09423 #define WGL_SWAP_METHOD_EXT                                            8199
09424 #endif
09425 
09426 #ifndef WGL_NUMBER_OVERLAYS_EXT
09427 #define WGL_NUMBER_OVERLAYS_EXT                                        8200
09428 #endif
09429 
09430 #ifndef WGL_NUMBER_UNDERLAYS_EXT
09431 #define WGL_NUMBER_UNDERLAYS_EXT                                       8201
09432 #endif
09433 
09434 #ifndef WGL_TRANSPARENT_EXT
09435 #define WGL_TRANSPARENT_EXT                                            8202
09436 #endif
09437 
09438 #ifndef WGL_TRANSPARENT_VALUE_EXT
09439 #define WGL_TRANSPARENT_VALUE_EXT                                      8203
09440 #endif
09441 
09442 #ifndef WGL_SHARE_DEPTH_EXT
09443 #define WGL_SHARE_DEPTH_EXT                                            8204
09444 #endif
09445 
09446 #ifndef WGL_SHARE_STENCIL_EXT
09447 #define WGL_SHARE_STENCIL_EXT                                          8205
09448 #endif
09449 
09450 #ifndef WGL_SHARE_ACCUM_EXT
09451 #define WGL_SHARE_ACCUM_EXT                                            8206
09452 #endif
09453 
09454 #ifndef WGL_SUPPORT_GDI_EXT
09455 #define WGL_SUPPORT_GDI_EXT                                            8207
09456 #endif
09457 
09458 #ifndef WGL_SUPPORT_OPENGL_EXT
09459 #define WGL_SUPPORT_OPENGL_EXT                                         8208
09460 #endif
09461 
09462 #ifndef WGL_DOUBLE_BUFFER_EXT
09463 #define WGL_DOUBLE_BUFFER_EXT                                          8209
09464 #endif
09465 
09466 #ifndef WGL_STEREO_EXT
09467 #define WGL_STEREO_EXT                                                 8210
09468 #endif
09469 
09470 #ifndef WGL_PIXEL_TYPE_EXT
09471 #define WGL_PIXEL_TYPE_EXT                                             8211
09472 #endif
09473 
09474 #ifndef WGL_COLOR_BITS_EXT
09475 #define WGL_COLOR_BITS_EXT                                             8212
09476 #endif
09477 
09478 #ifndef WGL_RED_BITS_EXT
09479 #define WGL_RED_BITS_EXT                                               8213
09480 #endif
09481 
09482 #ifndef WGL_RED_SHIFT_EXT
09483 #define WGL_RED_SHIFT_EXT                                              8214
09484 #endif
09485 
09486 #ifndef WGL_GREEN_BITS_EXT
09487 #define WGL_GREEN_BITS_EXT                                             8215
09488 #endif
09489 
09490 #ifndef WGL_GREEN_SHIFT_EXT
09491 #define WGL_GREEN_SHIFT_EXT                                            8216
09492 #endif
09493 
09494 #ifndef WGL_BLUE_BITS_EXT
09495 #define WGL_BLUE_BITS_EXT                                              8217
09496 #endif
09497 
09498 #ifndef WGL_BLUE_SHIFT_EXT
09499 #define WGL_BLUE_SHIFT_EXT                                             8218
09500 #endif
09501 
09502 #ifndef WGL_ALPHA_BITS_EXT
09503 #define WGL_ALPHA_BITS_EXT                                             8219
09504 #endif
09505 
09506 #ifndef WGL_ALPHA_SHIFT_EXT
09507 #define WGL_ALPHA_SHIFT_EXT                                            8220
09508 #endif
09509 
09510 #ifndef WGL_ACCUM_BITS_EXT
09511 #define WGL_ACCUM_BITS_EXT                                             8221
09512 #endif
09513 
09514 #ifndef WGL_ACCUM_RED_BITS_EXT
09515 #define WGL_ACCUM_RED_BITS_EXT                                         8222
09516 #endif
09517 
09518 #ifndef WGL_ACCUM_GREEN_BITS_EXT
09519 #define WGL_ACCUM_GREEN_BITS_EXT                                       8223
09520 #endif
09521 
09522 #ifndef WGL_ACCUM_BLUE_BITS_EXT
09523 #define WGL_ACCUM_BLUE_BITS_EXT                                        8224
09524 #endif
09525 
09526 #ifndef WGL_ACCUM_ALPHA_BITS_EXT
09527 #define WGL_ACCUM_ALPHA_BITS_EXT                                       8225
09528 #endif
09529 
09530 #ifndef WGL_DEPTH_BITS_EXT
09531 #define WGL_DEPTH_BITS_EXT                                             8226
09532 #endif
09533 
09534 #ifndef WGL_STENCIL_BITS_EXT
09535 #define WGL_STENCIL_BITS_EXT                                           8227
09536 #endif
09537 
09538 #ifndef WGL_AUX_BUFFERS_EXT
09539 #define WGL_AUX_BUFFERS_EXT                                            8228
09540 #endif
09541 
09542 #ifndef WGL_NO_ACCELERATION_EXT
09543 #define WGL_NO_ACCELERATION_EXT                                        8229
09544 #endif
09545 
09546 #ifndef WGL_GENERIC_ACCELERATION_EXT
09547 #define WGL_GENERIC_ACCELERATION_EXT                                   8230
09548 #endif
09549 
09550 #ifndef WGL_FULL_ACCELERATION_EXT
09551 #define WGL_FULL_ACCELERATION_EXT                                      8231
09552 #endif
09553 
09554 #ifndef WGL_SWAP_EXCHANGE_EXT
09555 #define WGL_SWAP_EXCHANGE_EXT                                          8232
09556 #endif
09557 
09558 #ifndef WGL_SWAP_COPY_EXT
09559 #define WGL_SWAP_COPY_EXT                                              8233
09560 #endif
09561 
09562 #ifndef WGL_SWAP_UNDEFINED_EXT
09563 #define WGL_SWAP_UNDEFINED_EXT                                         8234
09564 #endif
09565 
09566 #ifndef WGL_TYPE_RGBA_EXT
09567 #define WGL_TYPE_RGBA_EXT                                              8235
09568 #endif
09569 
09570 #ifndef WGL_TYPE_COLORINDEX_EXT
09571 #define WGL_TYPE_COLORINDEX_EXT                                        8236
09572 #endif
09573 
09574 
09580 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLint* piValues);
09581 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLfloat* pfValues);
09582 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATEXT) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats);
09583 
09585 #endif
09586 
09587 #ifdef _WIN32
09588 
09591 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D
09592 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D                 8272
09593 #endif
09594 
09595 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D
09596 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D                       8273
09597 #endif
09598 
09599 #ifndef WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D
09600 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D                          8274
09601 #endif
09602 
09603 #ifndef WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D
09604 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D                          8275
09605 #endif
09606 
09607 
09613 typedef BOOL (csAPIENTRY* csWGLGETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
09614 typedef BOOL (csAPIENTRY* csWGLSETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
09615 
09617 #endif
09618 
09619 #ifdef _WIN32
09620 
09623 #ifndef WGL_GAMMA_TABLE_SIZE_I3D
09624 #define WGL_GAMMA_TABLE_SIZE_I3D                                       8270
09625 #endif
09626 
09627 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
09628 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
09629 #endif
09630 
09631 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D
09632 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D                                  8271
09633 #endif
09634 
09635 
09641 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue);
09642 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue);
09643 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEI3D) (HDC hDC, GLint iEntries, GLushort* puRed, GLushort* puGreen, GLushort* puBlue);
09644 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEI3D) (HDC hDC, GLint iEntries, const GLushort* puRed, const GLushort* puGreen, const GLushort* puBlue);
09645 
09647 #endif
09648 
09649 #ifdef _WIN32
09650 
09653 #ifndef WGL_GENLOCK_SOURCE_MULTIVIEW_I3D
09654 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D                               8260
09655 #endif
09656 
09657 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D
09658 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D                           8261
09659 #endif
09660 
09661 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D
09662 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D                          8262
09663 #endif
09664 
09665 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D
09666 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D                            8263
09667 #endif
09668 
09669 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D
09670 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D                            8264
09671 #endif
09672 
09673 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D
09674 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D                           8265
09675 #endif
09676 
09677 #ifndef WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D
09678 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D                            8266
09679 #endif
09680 
09681 #ifndef WGL_GENLOCK_SOURCE_EDGE_RISING_I3D
09682 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D                             8267
09683 #endif
09684 
09685 #ifndef WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D
09686 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D                               8268
09687 #endif
09688 
09689 
09695 typedef BOOL (csAPIENTRY* csWGLENABLEGENLOCKI3D) (HDC hDC);
09696 typedef BOOL (csAPIENTRY* csWGLDISABLEGENLOCKI3D) (HDC hDC);
09697 typedef BOOL (csAPIENTRY* csWGLISENABLEDGENLOCKI3D) (HDC hDC, BOOL* pFlag);
09698 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEI3D) (HDC hDC, GLuint uSource);
09699 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEI3D) (HDC hDC, GLuint* uSource);
09700 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint uEdge);
09701 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint* uEdge);
09702 typedef BOOL (csAPIENTRY* csWGLGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint uRate);
09703 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint* uRate);
09704 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint uDelay);
09705 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint* uDelay);
09706 typedef BOOL (csAPIENTRY* csWGLQUERYGENLOCKMAXSOURCEDELAYI3D) (HDC hDC, GLuint* uMaxLineDelay, GLuint* uMaxPixelDelay);
09707 
09709 #endif
09710 
09714 #ifndef GL_MATRIX_PALETTE_ARB
09715 #define GL_MATRIX_PALETTE_ARB                                         34880
09716 #endif
09717 
09718 #ifndef GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB
09719 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB                         34881
09720 #endif
09721 
09722 #ifndef GL_MAX_PALETTE_MATRICES_ARB
09723 #define GL_MAX_PALETTE_MATRICES_ARB                                   34882
09724 #endif
09725 
09726 #ifndef GL_CURRENT_PALETTE_MATRIX_ARB
09727 #define GL_CURRENT_PALETTE_MATRIX_ARB                                 34883
09728 #endif
09729 
09730 #ifndef GL_MATRIX_INDEX_ARRAY_ARB
09731 #define GL_MATRIX_INDEX_ARRAY_ARB                                     34884
09732 #endif
09733 
09734 #ifndef GL_CURRENT_MATRIX_INDEX_ARB
09735 #define GL_CURRENT_MATRIX_INDEX_ARB                                   34885
09736 #endif
09737 
09738 #ifndef GL_MATRIX_INDEX_ARRAY_SIZE_ARB
09739 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB                                34886
09740 #endif
09741 
09742 #ifndef GL_MATRIX_INDEX_ARRAY_TYPE_ARB
09743 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB                                34887
09744 #endif
09745 
09746 #ifndef GL_MATRIX_INDEX_ARRAY_STRIDE_ARB
09747 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB                              34888
09748 #endif
09749 
09750 #ifndef GL_MATRIX_INDEX_ARRAY_POINTER_ARB
09751 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB                             34889
09752 #endif
09753 
09754 
09760 typedef GLvoid (csAPIENTRY* csGLCURRENTPALETTEMATRIXARB) (GLint index);
09761 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUBVARB) (GLint size, GLubyte* indices);
09762 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUSVARB) (GLint size, GLushort* indices);
09763 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUIVARB) (GLint size, GLuint* indices);
09764 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer);
09765 
09770 #ifndef GL_ELEMENT_ARRAY_TYPE_NV
09771 #define GL_ELEMENT_ARRAY_TYPE_NV                                      34665
09772 #endif
09773 
09774 #ifndef GL_ELEMENT_ARRAY_POINTER_NV
09775 #define GL_ELEMENT_ARRAY_POINTER_NV                                   34666
09776 #endif
09777 
09778 
09784 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERNV) (GLenum type, const GLvoid* pointer);
09785 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYNV) (GLenum mode, GLint first, GLsizei count);
09786 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
09787 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYNV) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount);
09788 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount);
09789 
09794 #ifndef GL_FLOAT_R_NV
09795 #define GL_FLOAT_R_NV                                                 34944
09796 #endif
09797 
09798 #ifndef GL_FLOAT_RG_NV
09799 #define GL_FLOAT_RG_NV                                                34945
09800 #endif
09801 
09802 #ifndef GL_FLOAT_RGB_NV
09803 #define GL_FLOAT_RGB_NV                                               34946
09804 #endif
09805 
09806 #ifndef GL_FLOAT_RGBA_NV
09807 #define GL_FLOAT_RGBA_NV                                              34947
09808 #endif
09809 
09810 #ifndef GL_FLOAT_R16_NV
09811 #define GL_FLOAT_R16_NV                                               34948
09812 #endif
09813 
09814 #ifndef GL_FLOAT_R32_NV
09815 #define GL_FLOAT_R32_NV                                               34949
09816 #endif
09817 
09818 #ifndef GL_FLOAT_RG16_NV
09819 #define GL_FLOAT_RG16_NV                                              34950
09820 #endif
09821 
09822 #ifndef GL_FLOAT_RG32_NV
09823 #define GL_FLOAT_RG32_NV                                              34951
09824 #endif
09825 
09826 #ifndef GL_FLOAT_RGB16_NV
09827 #define GL_FLOAT_RGB16_NV                                             34952
09828 #endif
09829 
09830 #ifndef GL_FLOAT_RGB32_NV
09831 #define GL_FLOAT_RGB32_NV                                             34953
09832 #endif
09833 
09834 #ifndef GL_FLOAT_RGBA16_NV
09835 #define GL_FLOAT_RGBA16_NV                                            34954
09836 #endif
09837 
09838 #ifndef GL_FLOAT_RGBA32_NV
09839 #define GL_FLOAT_RGBA32_NV                                            34955
09840 #endif
09841 
09842 #ifndef GL_TEXTURE_FLOAT_COMPONENTS_NV
09843 #define GL_TEXTURE_FLOAT_COMPONENTS_NV                                34956
09844 #endif
09845 
09846 #ifndef GL_FLOAT_CLEAR_COLOR_VALUE_NV
09847 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV                                 34957
09848 #endif
09849 
09850 #ifndef GL_FLOAT_RGBA_MODE_NV
09851 #define GL_FLOAT_RGBA_MODE_NV                                         34958
09852 #endif
09853 
09854 #ifndef WGL_FLOAT_COMPONENTS_NV
09855 #define WGL_FLOAT_COMPONENTS_NV                                        8368
09856 #endif
09857 
09858 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV
09859 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV                       8369
09860 #endif
09861 
09862 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV
09863 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV                      8370
09864 #endif
09865 
09866 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV
09867 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV                     8371
09868 #endif
09869 
09870 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV
09871 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV                    8372
09872 #endif
09873 
09874 #ifndef WGL_TEXTURE_FLOAT_R_NV
09875 #define WGL_TEXTURE_FLOAT_R_NV                                         8373
09876 #endif
09877 
09878 #ifndef WGL_TEXTURE_FLOAT_RG_NV
09879 #define WGL_TEXTURE_FLOAT_RG_NV                                        8374
09880 #endif
09881 
09882 #ifndef WGL_TEXTURE_FLOAT_RGB_NV
09883 #define WGL_TEXTURE_FLOAT_RGB_NV                                       8375
09884 #endif
09885 
09886 #ifndef WGL_TEXTURE_FLOAT_RGBA_NV
09887 #define WGL_TEXTURE_FLOAT_RGBA_NV                                      8376
09888 #endif
09889 
09890 
09901 #ifndef GL_FRAGMENT_PROGRAM_NV
09902 #define GL_FRAGMENT_PROGRAM_NV                                        34928
09903 #endif
09904 
09905 #ifndef GL_MAX_TEXTURE_COORDS_NV
09906 #define GL_MAX_TEXTURE_COORDS_NV                                      34929
09907 #endif
09908 
09909 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_NV
09910 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV                                 34930
09911 #endif
09912 
09913 #ifndef GL_FRAGMENT_PROGRAM_BINDING_NV
09914 #define GL_FRAGMENT_PROGRAM_BINDING_NV                                34931
09915 #endif
09916 
09917 #ifndef GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV
09918 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV                   34920
09919 #endif
09920 
09921 #ifndef GL_PROGRAM_ERROR_STRING_NV
09922 #define GL_PROGRAM_ERROR_STRING_NV                                    34932
09923 #endif
09924 
09925 
09931 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4FNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
09932 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4DNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
09933 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERFVNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat* params);
09934 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERDVNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble* params);
09935 
09940 #ifndef GL_PRIMITIVE_RESTART_NV
09941 #define GL_PRIMITIVE_RESTART_NV                                       34136
09942 #endif
09943 
09944 #ifndef GL_PRIMITIVE_RESTART_INDEX_NV
09945 #define GL_PRIMITIVE_RESTART_INDEX_NV                                 34137
09946 #endif
09947 
09948 
09954 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTNV) ();
09955 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTINDEXNV) (GLuint index);
09956 
09972 #ifndef GL_ARRAY_BUFFER_ARB
09973 #define GL_ARRAY_BUFFER_ARB                                           34962
09974 #endif
09975 
09976 #ifndef GL_ELEMENT_ARRAY_BUFFER_ARB
09977 #define GL_ELEMENT_ARRAY_BUFFER_ARB                                   34963
09978 #endif
09979 
09980 #ifndef GL_ARRAY_BUFFER_BINDING_ARB
09981 #define GL_ARRAY_BUFFER_BINDING_ARB                                   34964
09982 #endif
09983 
09984 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB
09985 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB                           34965
09986 #endif
09987 
09988 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING_ARB
09989 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB                            34966
09990 #endif
09991 
09992 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING_ARB
09993 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB                            34967
09994 #endif
09995 
09996 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING_ARB
09997 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB                             34968
09998 #endif
09999 
10000 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING_ARB
10001 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB                             34969
10002 #endif
10003 
10004 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB
10005 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB                     34970
10006 #endif
10007 
10008 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB
10009 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB                         34971
10010 #endif
10011 
10012 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB
10013 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB                   34972
10014 #endif
10015 
10016 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB
10017 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB                    34973
10018 #endif
10019 
10020 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB
10021 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB                            34974
10022 #endif
10023 
10024 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB
10025 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB                     34975
10026 #endif
10027 
10028 #ifndef GL_STREAM_DRAW_ARB
10029 #define GL_STREAM_DRAW_ARB                                            35040
10030 #endif
10031 
10032 #ifndef GL_STREAM_READ_ARB
10033 #define GL_STREAM_READ_ARB                                            35041
10034 #endif
10035 
10036 #ifndef GL_STREAM_COPY_ARB
10037 #define GL_STREAM_COPY_ARB                                            35042
10038 #endif
10039 
10040 #ifndef GL_STATIC_DRAW_ARB
10041 #define GL_STATIC_DRAW_ARB                                            35044
10042 #endif
10043 
10044 #ifndef GL_STATIC_READ_ARB
10045 #define GL_STATIC_READ_ARB                                            35045
10046 #endif
10047 
10048 #ifndef GL_STATIC_COPY_ARB
10049 #define GL_STATIC_COPY_ARB                                            35046
10050 #endif
10051 
10052 #ifndef GL_DYNAMIC_DRAW_ARB
10053 #define GL_DYNAMIC_DRAW_ARB                                           35048
10054 #endif
10055 
10056 #ifndef GL_DYNAMIC_READ_ARB
10057 #define GL_DYNAMIC_READ_ARB                                           35049
10058 #endif
10059 
10060 #ifndef GL_DYNAMIC_COPY_ARB
10061 #define GL_DYNAMIC_COPY_ARB                                           35050
10062 #endif
10063 
10064 #ifndef GL_READ_ONLY_ARB
10065 #define GL_READ_ONLY_ARB                                              35000
10066 #endif
10067 
10068 #ifndef GL_WRITE_ONLY_ARB
10069 #define GL_WRITE_ONLY_ARB                                             35001
10070 #endif
10071 
10072 #ifndef GL_READ_WRITE_ARB
10073 #define GL_READ_WRITE_ARB                                             35002
10074 #endif
10075 
10076 #ifndef GL_BUFFER_SIZE_ARB
10077 #define GL_BUFFER_SIZE_ARB                                            34660
10078 #endif
10079 
10080 #ifndef GL_BUFFER_USAGE_ARB
10081 #define GL_BUFFER_USAGE_ARB                                           34661
10082 #endif
10083 
10084 #ifndef GL_BUFFER_ACCESS_ARB
10085 #define GL_BUFFER_ACCESS_ARB                                          35003
10086 #endif
10087 
10088 #ifndef GL_BUFFER_MAPPED_ARB
10089 #define GL_BUFFER_MAPPED_ARB                                          35004
10090 #endif
10091 
10092 #ifndef GL_BUFFER_MAP_POINTER_ARB
10093 #define GL_BUFFER_MAP_POINTER_ARB                                     35005
10094 #endif
10095 
10096 
10102 typedef GLvoid (csAPIENTRY* csGLBINDBUFFERARB) (GLenum target, GLuint buffer);
10103 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERSARB) (GLsizei n, const GLuint* buffers);
10104 typedef GLvoid (csAPIENTRY* csGLGENBUFFERSARB) (GLsizei n, GLuint* buffers);
10105 typedef GLvoid (csAPIENTRY* csGLBUFFERDATAARB) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage);
10106 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data);
10107 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERARB) (GLenum target, GLenum access);
10108 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFERARB) (GLenum target);
10109 typedef GLboolean (csAPIENTRY* csGLISBUFFERARB) (GLuint buffer);
10110 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data);
10111 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERVARB) (GLenum target, GLenum pname, GLvoid** params);
10112 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIVARB) (GLenum target, GLenum pname, GLint* params);
10113 
10118 #ifndef GL_STENCIL_BACK_FUNC_ATI
10119 #define GL_STENCIL_BACK_FUNC_ATI                                     0x8800
10120 #endif
10121 
10122 #ifndef GL_STENCIL_BACK_FAIL_ATI
10123 #define GL_STENCIL_BACK_FAIL_ATI                                     0x8801
10124 #endif
10125 
10126 #ifndef GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI
10127 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI                          0x8802
10128 #endif
10129 
10130 #ifndef GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI
10131 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI                          0x8803
10132 #endif
10133 
10134 
10140 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATEATI) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
10141 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATEATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
10142 
10158 #ifndef GL_POINT_SPRITE_ARB
10159 #define GL_POINT_SPRITE_ARB                                          0x8861
10160 #endif
10161 
10162 #ifndef GL_COORD_REPLACE_ARB
10163 #define GL_COORD_REPLACE_ARB                                         0x8862
10164 #endif
10165 
10166 
10188 #ifndef GL_PROGRAM_OBJECT_ARB
10189 #define GL_PROGRAM_OBJECT_ARB                                        0x8B40
10190 #endif
10191 
10192 #ifndef GL_OBJECT_TYPE_ARB
10193 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10194 #endif
10195 
10196 #ifndef GL_OBJECT_SUBTYPE_ARB
10197 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10198 #endif
10199 
10200 #ifndef GL_OBJECT_DELETE_STATUS_ARB
10201 #define GL_OBJECT_DELETE_STATUS_ARB                                  0x8B80
10202 #endif
10203 
10204 #ifndef GL_OBJECT_COMPILE_STATUS_ARB
10205 #define GL_OBJECT_COMPILE_STATUS_ARB                                 0x8B81
10206 #endif
10207 
10208 #ifndef GL_OBJECT_LINK_STATUS_ARB
10209 #define GL_OBJECT_LINK_STATUS_ARB                                    0x8B82
10210 #endif
10211 
10212 #ifndef GL_OBJECT_VALIDATE_STATUS_ARB
10213 #define GL_OBJECT_VALIDATE_STATUS_ARB                                0x8B83
10214 #endif
10215 
10216 #ifndef GL_OBJECT_INFO_LOG_LENGTH_ARB
10217 #define GL_OBJECT_INFO_LOG_LENGTH_ARB                                0x8B84
10218 #endif
10219 
10220 #ifndef GL_OBJECT_ATTACHED_OBJECTS_ARB
10221 #define GL_OBJECT_ATTACHED_OBJECTS_ARB                               0x8B85
10222 #endif
10223 
10224 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_ARB
10225 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB                                0x8B86
10226 #endif
10227 
10228 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB
10229 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB                     0x8B87
10230 #endif
10231 
10232 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH_ARB
10233 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB                           0x8B88
10234 #endif
10235 
10236 #ifndef GL_SHADER_OBJECT_ARB
10237 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10238 #endif
10239 
10240 #ifndef GL_FLOAT_VEC2_ARB
10241 #define GL_FLOAT_VEC2_ARB                                            0x8B50
10242 #endif
10243 
10244 #ifndef GL_FLOAT_VEC3_ARB
10245 #define GL_FLOAT_VEC3_ARB                                            0x8B51
10246 #endif
10247 
10248 #ifndef GL_FLOAT_VEC4_ARB
10249 #define GL_FLOAT_VEC4_ARB                                            0x8B52
10250 #endif
10251 
10252 #ifndef GL_INT_VEC2_ARB
10253 #define GL_INT_VEC2_ARB                                              0x8B53
10254 #endif
10255 
10256 #ifndef GL_INT_VEC3_ARB
10257 #define GL_INT_VEC3_ARB                                              0x8B54
10258 #endif
10259 
10260 #ifndef GL_INT_VEC4_ARB
10261 #define GL_INT_VEC4_ARB                                              0x8B55
10262 #endif
10263 
10264 #ifndef GL_BOOL
10265 #define GL_BOOL                                                      0x8B56
10266 #endif
10267 
10268 #ifndef GL_BOOL_VEC2_ARB
10269 #define GL_BOOL_VEC2_ARB                                             0x8B57
10270 #endif
10271 
10272 #ifndef GL_BOOL_VEC3_ARB
10273 #define GL_BOOL_VEC3_ARB                                             0x8B58
10274 #endif
10275 
10276 #ifndef GL_BOOL_VEC4_ARB
10277 #define GL_BOOL_VEC4_ARB                                             0x8B59
10278 #endif
10279 
10280 #ifndef GL_FLOAT_MAT2_ARB
10281 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
10282 #endif
10283 
10284 #ifndef GL_FLOAT_MAT3_ARB
10285 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
10286 #endif
10287 
10288 #ifndef GL_FLOAT_MAT4_ARB
10289 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
10290 #endif
10291 
10292 
10298 typedef GLvoid (csAPIENTRY* csGLDELETEOBJECTARB) (GLhandleARB obj);
10299 typedef GLhandleARB (csAPIENTRY* csGLGETHANDLEARB) (GLenum pname);
10300 typedef GLvoid (csAPIENTRY* csGLDETACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB attachedObj);
10301 typedef GLhandleARB (csAPIENTRY* csGLCREATESHADEROBJECTARB) (GLenum shaderType);
10302 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCEARB) (GLhandleARB shaderObj, GLsizei count, const GLcharARB** string, const GLint* length);
10303 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADERARB) (GLhandleARB shaderObj);
10304 typedef GLhandleARB (csAPIENTRY* csGLCREATEPROGRAMOBJECTARB) ();
10305 typedef GLvoid (csAPIENTRY* csGLATTACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB Obj);
10306 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAMARB) (GLhandleARB programObj);
10307 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAMOBJECTARB) (GLhandleARB programObj);
10308 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAMARB) (GLhandleARB programObj);
10309 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FARB) (GLint location, GLfloat v0);
10310 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FARB) (GLint location, GLfloat v0, GLfloat v1);
10311 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
10312 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
10313 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IARB) (GLint location, GLint v0);
10314 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IARB) (GLint location, GLint v0, GLint v1);
10315 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IARB) (GLint location, GLint v0, GLint v1, GLint v2);
10316 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
10317 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FVARB) (GLint location, GLsizei count, GLfloat* value);
10318 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FVARB) (GLint location, GLsizei count, GLfloat* value);
10319 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FVARB) (GLint location, GLsizei count, GLfloat* value);
10320 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FVARB) (GLint location, GLsizei count, GLfloat* value);
10321 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IVARB) (GLint location, GLsizei count, GLint* value);
10322 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IVARB) (GLint location, GLsizei count, GLint* value);
10323 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IVARB) (GLint location, GLsizei count, GLint* value);
10324 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IVARB) (GLint location, GLsizei count, GLint* value);
10325 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10326 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10327 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value);
10328 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFVARB) (GLhandleARB obj, GLenum pname, GLfloat* params);
10329 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIVARB) (GLhandleARB obj, GLenum pname, GLint* params);
10330 typedef GLvoid (csAPIENTRY* csGLGETINFOLOGARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog);
10331 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTSARB) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj);
10332 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
10333 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORMARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
10334 typedef GLint (csAPIENTRY* csGLGETUNIFORMFVARB) (GLhandleARB programObj, GLint location, GLfloat* params);
10335 typedef GLint (csAPIENTRY* csGLGETUNIFORMIVARB) (GLhandleARB programObj, GLint location, GLint* params);
10336 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCEARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source);
10337 
10342 #ifndef GL_FRAGMENT_SHADER_ARB
10343 #define GL_FRAGMENT_SHADER_ARB                                       0x8B30
10344 #endif
10345 
10346 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB
10347 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB                       0x8B49
10348 #endif
10349 
10350 #ifndef GL_MAX_TEXTURE_COORDS_ARB
10351 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
10352 #endif
10353 
10354 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
10355 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
10356 #endif
10357 
10358 #ifndef GL_OBJECT_TYPE_ARB
10359 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10360 #endif
10361 
10362 #ifndef GL_OBJECT_SUBTYPE_ARB
10363 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10364 #endif
10365 
10366 #ifndef GL_SHADER_OBJECT_ARB
10367 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10368 #endif
10369 
10370 
10381 #ifndef GL_VERTEX_SHADER_ARB
10382 #define GL_VERTEX_SHADER_ARB                                         0x8B31
10383 #endif
10384 
10385 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB
10386 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB                         0x8B4A
10387 #endif
10388 
10389 #ifndef GL_MAX_VARYING_FLOATS_ARB
10390 #define GL_MAX_VARYING_FLOATS_ARB                                    0x8B4B
10391 #endif
10392 
10393 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB
10394 #define GL_MAX_VERTEX_ATTRIBS_ARB                                    0x8869
10395 #endif
10396 
10397 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
10398 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB                               0x8872
10399 #endif
10400 
10401 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB
10402 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB                        0x884C
10403 #endif
10404 
10405 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB
10406 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB                      0x884D
10407 #endif
10408 
10409 #ifndef GL_MAX_TEXTURE_COORDS_ARB
10410 #define GL_MAX_TEXTURE_COORDS_ARB                                    0x8871
10411 #endif
10412 
10413 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
10414 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB                             0x8642
10415 #endif
10416 
10417 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
10418 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB                               0x8643
10419 #endif
10420 
10421 #ifndef GL_OBJECT_TYPE_ARB
10422 #define GL_OBJECT_TYPE_ARB                                           0x8B4E
10423 #endif
10424 
10425 #ifndef GL_OBJECT_SUBTYPE_ARB
10426 #define GL_OBJECT_SUBTYPE_ARB                                        0x8B4F
10427 #endif
10428 
10429 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES_ARB
10430 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB                              0x8B89
10431 #endif
10432 
10433 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB
10434 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB                    0x8B8A
10435 #endif
10436 
10437 #ifndef GL_SHADER_OBJECT_ARB
10438 #define GL_SHADER_OBJECT_ARB                                         0x8B48
10439 #endif
10440 
10441 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
10442 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB                           0x8622
10443 #endif
10444 
10445 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
10446 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB                              0x8623
10447 #endif
10448 
10449 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
10450 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB                            0x8624
10451 #endif
10452 
10453 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
10454 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB                              0x8625
10455 #endif
10456 
10457 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
10458 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB                        0x886A
10459 #endif
10460 
10461 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
10462 #define GL_CURRENT_VERTEX_ATTRIB_ARB                                 0x8626
10463 #endif
10464 
10465 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
10466 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB                           0x8645
10467 #endif
10468 
10469 #ifndef GL_FLOAT_VEC2_ARB
10470 #define GL_FLOAT_VEC2_ARB                                            0x8B50
10471 #endif
10472 
10473 #ifndef GL_FLOAT_VEC3_ARB
10474 #define GL_FLOAT_VEC3_ARB                                            0x8B51
10475 #endif
10476 
10477 #ifndef GL_FLOAT_VEC4_ARB
10478 #define GL_FLOAT_VEC4_ARB                                            0x8B52
10479 #endif
10480 
10481 #ifndef GL_FLOAT_MAT2_ARB
10482 #define GL_FLOAT_MAT2_ARB                                            0x8B5A
10483 #endif
10484 
10485 #ifndef GL_FLOAT_MAT3_ARB
10486 #define GL_FLOAT_MAT3_ARB                                            0x8B5B
10487 #endif
10488 
10489 #ifndef GL_FLOAT_MAT4_ARB
10490 #define GL_FLOAT_MAT4_ARB                                            0x8B5C
10491 #endif
10492 
10493 
10499 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATIONARB) (GLhandleARB programObj, GLuint index, const GLcharARB* name);
10500 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIBARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name);
10501 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name);
10502 
10507 #ifndef GL_PIXEL_PACK_BUFFER_ARB
10508 #define GL_PIXEL_PACK_BUFFER_ARB                                     0x88EB
10509 #endif
10510 
10511 #ifndef GL_PIXEL_UNPACK_BUFFER_ARB
10512 #define GL_PIXEL_UNPACK_BUFFER_ARB                                   0x88EC
10513 #endif
10514 
10515 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_ARB
10516 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB                             0x88ED
10517 #endif
10518 
10519 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_ARB
10520 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB                           0x88EF
10521 #endif
10522 
10523 
10534 #ifndef GL_TEXTURE_RECTANGLE_ARB
10535 #define GL_TEXTURE_RECTANGLE_ARB                                     0x84F5
10536 #endif
10537 
10538 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB
10539 #define GL_TEXTURE_BINDING_RECTANGLE_ARB                             0x84F6
10540 #endif
10541 
10542 #ifndef GL_PROXY_TEXTURE_RECTANGLE_ARB
10543 #define GL_PROXY_TEXTURE_RECTANGLE_ARB                               0x84F7
10544 #endif
10545 
10546 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB
10547 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB                            0x84F8
10548 #endif
10549 
10550 
10561 #ifndef GL_FRAMEBUFFER_EXT
10562 #define GL_FRAMEBUFFER_EXT                                           0x8D40
10563 #endif
10564 
10565 #ifndef GL_RENDERBUFFER_EXT
10566 #define GL_RENDERBUFFER_EXT                                          0x8D41
10567 #endif
10568 
10569 #ifndef GL_STENCIL_INDEX_EXT
10570 #define GL_STENCIL_INDEX_EXT                                         0x8D45
10571 #endif
10572 
10573 #ifndef GL_STENCIL_INDEX1_EXT
10574 #define GL_STENCIL_INDEX1_EXT                                        0x8D46
10575 #endif
10576 
10577 #ifndef GL_STENCIL_INDEX4_EXT
10578 #define GL_STENCIL_INDEX4_EXT                                        0x8D47
10579 #endif
10580 
10581 #ifndef GL_STENCIL_INDEX8_EXT
10582 #define GL_STENCIL_INDEX8_EXT                                        0x8D48
10583 #endif
10584 
10585 #ifndef GL_STENCIL_INDEX16_EXT
10586 #define GL_STENCIL_INDEX16_EXT                                       0x8D49
10587 #endif
10588 
10589 #ifndef GL_RENDERBUFFER_WIDTH_EXT
10590 #define GL_RENDERBUFFER_WIDTH_EXT                                    0x8D42
10591 #endif
10592 
10593 #ifndef GL_RENDERBUFFER_HEIGHT_EXT
10594 #define GL_RENDERBUFFER_HEIGHT_EXT                                   0x8D43
10595 #endif
10596 
10597 #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
10598 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT                          0x8D44
10599 #endif
10600 
10601 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
10602 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT                    0x8CD0
10603 #endif
10604 
10605 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
10606 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT                    0x8CD1
10607 #endif
10608 
10609 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
10610 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT                  0x8CD2
10611 #endif
10612 
10613 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
10614 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT          0x8CD3
10615 #endif
10616 
10617 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT
10618 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT             0x8CD4
10619 #endif
10620 
10621 #ifndef GL_COLOR_ATTACHMENT0_EXT
10622 #define GL_COLOR_ATTACHMENT0_EXT                                     0x8CE0
10623 #endif
10624 
10625 #ifndef GL_COLOR_ATTACHMENT1_EXT
10626 #define GL_COLOR_ATTACHMENT1_EXT                                     0x8CE1
10627 #endif
10628 
10629 #ifndef GL_COLOR_ATTACHMENT2_EXT
10630 #define GL_COLOR_ATTACHMENT2_EXT                                     0x8CE2
10631 #endif
10632 
10633 #ifndef GL_COLOR_ATTACHMENT3_EXT
10634 #define GL_COLOR_ATTACHMENT3_EXT                                     0x8CE3
10635 #endif
10636 
10637 #ifndef GL_COLOR_ATTACHMENT4_EXT
10638 #define GL_COLOR_ATTACHMENT4_EXT                                     0x8CE4
10639 #endif
10640 
10641 #ifndef GL_COLOR_ATTACHMENT5_EXT
10642 #define GL_COLOR_ATTACHMENT5_EXT                                     0x8CE5
10643 #endif
10644 
10645 #ifndef GL_COLOR_ATTACHMENT6_EXT
10646 #define GL_COLOR_ATTACHMENT6_EXT                                     0x8CE6
10647 #endif
10648 
10649 #ifndef GL_COLOR_ATTACHMENT7_EXT
10650 #define GL_COLOR_ATTACHMENT7_EXT                                     0x8CE7
10651 #endif
10652 
10653 #ifndef GL_COLOR_ATTACHMENT8_EXT
10654 #define GL_COLOR_ATTACHMENT8_EXT                                     0x8CE8
10655 #endif
10656 
10657 #ifndef GL_COLOR_ATTACHMENT9_EXT
10658 #define GL_COLOR_ATTACHMENT9_EXT                                     0x8CE9
10659 #endif
10660 
10661 #ifndef GL_COLOR_ATTACHMENT10_EXT
10662 #define GL_COLOR_ATTACHMENT10_EXT                                    0x8CEA
10663 #endif
10664 
10665 #ifndef GL_COLOR_ATTACHMENT11_EXT
10666 #define GL_COLOR_ATTACHMENT11_EXT                                    0x8CEB
10667 #endif
10668 
10669 #ifndef GL_COLOR_ATTACHMENT12_EXT
10670 #define GL_COLOR_ATTACHMENT12_EXT                                    0x8CEC
10671 #endif
10672 
10673 #ifndef GL_COLOR_ATTACHMENT13_EXT
10674 #define GL_COLOR_ATTACHMENT13_EXT                                    0x8CED
10675 #endif
10676 
10677 #ifndef GL_COLOR_ATTACHMENT14_EXT
10678 #define GL_COLOR_ATTACHMENT14_EXT                                    0x8CEE
10679 #endif
10680 
10681 #ifndef GL_COLOR_ATTACHMENT15_EXT
10682 #define GL_COLOR_ATTACHMENT15_EXT                                    0x8CEF
10683 #endif
10684 
10685 #ifndef GL_DEPTH_ATTACHMENT_EXT
10686 #define GL_DEPTH_ATTACHMENT_EXT                                      0x8D00
10687 #endif
10688 
10689 #ifndef GL_STENCIL_ATTACHMENT_EXT
10690 #define GL_STENCIL_ATTACHMENT_EXT                                    0x8D20
10691 #endif
10692 
10693 #ifndef GL_FRAMEBUFFER_COMPLETE_EXT
10694 #define GL_FRAMEBUFFER_COMPLETE_EXT                                  0x8CD5
10695 #endif
10696 
10697 #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
10698 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT                     0x8CD6
10699 #endif
10700 
10701 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
10702 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT             0x8CD7
10703 #endif
10704 
10705 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
10706 #define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT           0x8CD8
10707 #endif
10708 
10709 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
10710 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT                     0x8CD9
10711 #endif
10712 
10713 #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
10714 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT                        0x8CDA
10715 #endif
10716 
10717 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
10718 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT                    0x8CDB
10719 #endif
10720 
10721 #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
10722 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT                    0x8CDC
10723 #endif
10724 
10725 #ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT
10726 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT                               0x8CDD
10727 #endif
10728 
10729 #ifndef GL_FRAMEBUFFER_STATUS_ERROR_EXT
10730 #define GL_FRAMEBUFFER_STATUS_ERROR_EXT                              0x8CDE
10731 #endif
10732 
10733 #ifndef GL_FRAMEBUFFER_BINDING_EXT
10734 #define GL_FRAMEBUFFER_BINDING_EXT                                   0x8CA6
10735 #endif
10736 
10737 #ifndef GL_RENDERBUFFER_BINDINGS_EXT
10738 #define GL_RENDERBUFFER_BINDINGS_EXT                                 0x8CA7
10739 #endif
10740 
10741 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
10742 #define GL_MAX_COLOR_ATTACHMENTS_EXT                                 0x8CDF
10743 #endif
10744 
10745 #ifndef GL_MAX_RENDERBUFFER_SIZE_EXT
10746 #define GL_MAX_RENDERBUFFER_SIZE_EXT                                 0x84E8
10747 #endif
10748 
10749 #ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
10750 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT                         0x0506
10751 #endif
10752 
10753 
10759 typedef GLboolean (csAPIENTRY* csGLISRENDERBUFFEREXT) (GLuint renderbuffer);
10760 typedef GLvoid (csAPIENTRY* csGLBINDRENDERBUFFEREXT) (GLenum target, GLuint renderbuffer);
10761 typedef GLvoid (csAPIENTRY* csGLDELETERENDERBUFFERSEXT) (GLsizei n, const GLuint* renderbuffers);
10762 typedef GLvoid (csAPIENTRY* csGLGENRENDERBUFFERSEXT) (GLsizei n, GLuint* renderbuffers);
10763 typedef GLvoid (csAPIENTRY* csGLRENDERBUFFERSTORAGEEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
10764 typedef GLvoid (csAPIENTRY* csGLGETRENDERBUFFERPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params);
10765 typedef GLboolean (csAPIENTRY* csGLISFRAMEBUFFEREXT) (GLuint framebuffer);
10766 typedef GLvoid (csAPIENTRY* csGLBINDFRAMEBUFFEREXT) (GLenum target, GLuint framebuffer);
10767 typedef GLvoid (csAPIENTRY* csGLDELETEFRAMEBUFFERSEXT) (GLsizei n, const GLuint* framebuffers);
10768 typedef GLvoid (csAPIENTRY* csGLGENFRAMEBUFFERSEXT) (GLsizei n, GLuint* framebuffers);
10769 typedef GLenum (csAPIENTRY* csGLCHECKFRAMEBUFFERSTATUSEXT) (GLenum target);
10770 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10771 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
10772 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
10773 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERRENDERBUFFEREXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
10774 typedef GLvoid (csAPIENTRY* csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
10775 typedef GLvoid (csAPIENTRY* csGLGENERATEMIPMAPEXT) (GLenum target);
10776 
10781 #ifndef GL_PIXEL_PACK_BUFFER_EXT
10782 #define GL_PIXEL_PACK_BUFFER_EXT                                     0x88EB
10783 #endif
10784 
10785 #ifndef GL_PIXEL_UNPACK_BUFFER_EXT
10786 #define GL_PIXEL_UNPACK_BUFFER_EXT                                   0x88EC
10787 #endif
10788 
10789 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_EXT
10790 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT                             0x88ED
10791 #endif
10792 
10793 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_EXT
10794 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT                           0x88EF
10795 #endif
10796 
10797 
10814 typedef GLvoid (csAPIENTRY* csGLSTRINGMARKERGREMEDY) (GLsizei len, const GLvoid* string);
10815 
10820 #ifndef GL_TEXTURE_RECTANGLE_EXT
10821 #define GL_TEXTURE_RECTANGLE_EXT                                     0x84F5
10822 #endif
10823 
10824 #ifndef GL_TEXTURE_BINDING_RECTANGLE_EXT
10825 #define GL_TEXTURE_BINDING_RECTANGLE_EXT                             0x84F6
10826 #endif
10827 
10828 #ifndef GL_PROXY_TEXTURE_RECTANGLE_EXT
10829 #define GL_PROXY_TEXTURE_RECTANGLE_EXT                               0x84F7
10830 #endif
10831 
10832 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT
10833 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT                            0x84F8
10834 #endif
10835 
10836 
10847 #ifndef GL_SAMPLES_PASSED_ARB
10848 #define GL_SAMPLES_PASSED_ARB                                        0x8914
10849 #endif
10850 
10851 
10862 #ifndef GL_ANY_SAMPLES_PASSED_ARB
10863 #define GL_ANY_SAMPLES_PASSED_ARB                                    0x8C2F
10864 #endif
10865 
10866 
10877 #ifndef GL_MAX_DRAW_BUFFERS_ARB
10878 #define GL_MAX_DRAW_BUFFERS_ARB                                      0x8824
10879 #endif
10880 
10881 #ifndef GL_DRAW_BUFFER0_ARB
10882 #define GL_DRAW_BUFFER0_ARB                                          0x8825
10883 #endif
10884 
10885 #ifndef GL_DRAW_BUFFER1_ARB
10886 #define GL_DRAW_BUFFER1_ARB                                          0x8826
10887 #endif
10888 
10889 #ifndef GL_DRAW_BUFFER2_ARB
10890 #define GL_DRAW_BUFFER2_ARB                                          0x8827
10891 #endif
10892 
10893 #ifndef GL_DRAW_BUFFER3_ARB
10894 #define GL_DRAW_BUFFER3_ARB                                          0x8828
10895 #endif
10896 
10897 #ifndef GL_DRAW_BUFFER4_ARB
10898 #define GL_DRAW_BUFFER4_ARB                                          0x8829
10899 #endif
10900 
10901 #ifndef GL_DRAW_BUFFER5_ARB
10902 #define GL_DRAW_BUFFER5_ARB                                          0x882A
10903 #endif
10904 
10905 #ifndef GL_DRAW_BUFFER6_ARB
10906 #define GL_DRAW_BUFFER6_ARB                                          0x882B
10907 #endif
10908 
10909 #ifndef GL_DRAW_BUFFER7_ARB
10910 #define GL_DRAW_BUFFER7_ARB                                          0x882C
10911 #endif
10912 
10913 #ifndef GL_DRAW_BUFFER8_ARB
10914 #define GL_DRAW_BUFFER8_ARB                                          0x882D
10915 #endif
10916 
10917 #ifndef GL_DRAW_BUFFER9_ARB
10918 #define GL_DRAW_BUFFER9_ARB                                          0x882E
10919 #endif
10920 
10921 #ifndef GL_DRAW_BUFFER10_ARB
10922 #define GL_DRAW_BUFFER10_ARB                                         0x882F
10923 #endif
10924 
10925 #ifndef GL_DRAW_BUFFER11_ARB
10926 #define GL_DRAW_BUFFER11_ARB                                         0x8830
10927 #endif
10928 
10929 #ifndef GL_DRAW_BUFFER12_ARB
10930 #define GL_DRAW_BUFFER12_ARB                                         0x8831
10931 #endif
10932 
10933 #ifndef GL_DRAW_BUFFER13_ARB
10934 #define GL_DRAW_BUFFER13_ARB                                         0x8832
10935 #endif
10936 
10937 #ifndef GL_DRAW_BUFFER14_ARB
10938 #define GL_DRAW_BUFFER14_ARB                                         0x8833
10939 #endif
10940 
10941 #ifndef GL_DRAW_BUFFER15_ARB
10942 #define GL_DRAW_BUFFER15_ARB                                         0x8834
10943 #endif
10944 
10945 
10951 typedef GLvoid (csAPIENTRY* csGLDRAWBUFFERSARB) (GLsizei n, const GLenum* bufs);
10952 
10957 #ifndef GL_BLEND_EQUATION_RGB_EXT
10958 #define GL_BLEND_EQUATION_RGB_EXT                                    BLEND_EQUATION
10959 #endif
10960 
10961 #ifndef GL_BLEND_EQUATION_ALPHA_EXT
10962 #define GL_BLEND_EQUATION_ALPHA_EXT                                  0x883D
10963 #endif
10964 
10965 
10971 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATEEXT) (GLenum modeRGB, GLenum modeAlpha);
10972 
10977 #ifndef GL_SRGB_EXT
10978 #define GL_SRGB_EXT                                                  0x8C40
10979 #endif
10980 
10981 #ifndef GL_SRGB8_EXT
10982 #define GL_SRGB8_EXT                                                 0x8C41
10983 #endif
10984 
10985 #ifndef GL_SRGB_ALPHA_EXT
10986 #define GL_SRGB_ALPHA_EXT                                            0x8C42
10987 #endif
10988 
10989 #ifndef GL_SRGB8_ALPHA8_EXT
10990 #define GL_SRGB8_ALPHA8_EXT                                          0x8C43
10991 #endif
10992 
10993 #ifndef GL_SLUMINANCE_ALPHA_EXT
10994 #define GL_SLUMINANCE_ALPHA_EXT                                      0x8C44
10995 #endif
10996 
10997 #ifndef GL_SLUMINANCE8_ALPHA8_EXT
10998 #define GL_SLUMINANCE8_ALPHA8_EXT                                    0x8C45
10999 #endif
11000 
11001 #ifndef GL_SLUMINANCE_EXT
11002 #define GL_SLUMINANCE_EXT                                            0x8C46
11003 #endif
11004 
11005 #ifndef GL_SLUMINANCE8_EXT
11006 #define GL_SLUMINANCE8_EXT                                           0x8C47
11007 #endif
11008 
11009 #ifndef GL_COMPRESSED_SRGB_EXT
11010 #define GL_COMPRESSED_SRGB_EXT                                       0x8C48
11011 #endif
11012 
11013 #ifndef GL_COMPRESSED_SRGB_ALPHA_EXT
11014 #define GL_COMPRESSED_SRGB_ALPHA_EXT                                 0x8C49
11015 #endif
11016 
11017 #ifndef GL_COMPRESSED_SLUMINANCE_EXT
11018 #define GL_COMPRESSED_SLUMINANCE_EXT                                 0x8C4A
11019 #endif
11020 
11021 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA_EXT
11022 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT                           0x8C4B
11023 #endif
11024 
11025 #ifndef GL_COMPRESSED_SRGB_S3TC_DXT1_EXT
11026 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT                             0x8C4C
11027 #endif
11028 
11029 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT
11030 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT                       0x8C4D
11031 #endif
11032 
11033 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT
11034 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT                       0x8C4E
11035 #endif
11036 
11037 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT
11038 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT                       0x8C4F
11039 #endif
11040 
11041 
11052 #ifndef GL_DEPTH_STENCIL_EXT
11053 #define GL_DEPTH_STENCIL_EXT                                         0x84F9
11054 #endif
11055 
11056 #ifndef GL_UNSIGNED_INT_24_8_EXT
11057 #define GL_UNSIGNED_INT_24_8_EXT                                     0x84FA
11058 #endif
11059 
11060 #ifndef GL_DEPTH24_STENCIL8_EXT
11061 #define GL_DEPTH24_STENCIL8_EXT                                      0x88F0
11062 #endif
11063 
11064 #ifndef GL_TEXTURE_STENCIL_SIZE_EXT
11065 #define GL_TEXTURE_STENCIL_SIZE_EXT                                  0x88F1
11066 #endif
11067 
11068 
11079 #ifndef GL_TEXTURE_RED_TYPE_ARB
11080 #define GL_TEXTURE_RED_TYPE_ARB                                      0x8C10
11081 #endif
11082 
11083 #ifndef GL_TEXTURE_GREEN_TYPE_ARB
11084 #define GL_TEXTURE_GREEN_TYPE_ARB                                    0x8C11
11085 #endif
11086 
11087 #ifndef GL_TEXTURE_BLUE_TYPE_ARB
11088 #define GL_TEXTURE_BLUE_TYPE_ARB                                     0x8C12
11089 #endif
11090 
11091 #ifndef GL_TEXTURE_ALPHA_TYPE_ARB
11092 #define GL_TEXTURE_ALPHA_TYPE_ARB                                    0x8C13
11093 #endif
11094 
11095 #ifndef GL_TEXTURE_LUMINANCE_TYPE_ARB
11096 #define GL_TEXTURE_LUMINANCE_TYPE_ARB                                0x8C14
11097 #endif
11098 
11099 #ifndef GL_TEXTURE_INTENSITY_TYPE_ARB
11100 #define GL_TEXTURE_INTENSITY_TYPE_ARB                                0x8C15
11101 #endif
11102 
11103 #ifndef GL_TEXTURE_DEPTH_TYPE_ARB
11104 #define GL_TEXTURE_DEPTH_TYPE_ARB                                    0x8C16
11105 #endif
11106 
11107 #ifndef GL_UNSIGNED_NORMALIZED_ARB
11108 #define GL_UNSIGNED_NORMALIZED_ARB                                   0x8C17
11109 #endif
11110 
11111 #ifndef GL_RGBA32F_ARB
11112 #define GL_RGBA32F_ARB                                               0x8814
11113 #endif
11114 
11115 #ifndef GL_RGB32F_ARB
11116 #define GL_RGB32F_ARB                                                0x8815
11117 #endif
11118 
11119 #ifndef GL_ALPHA32F_ARB
11120 #define GL_ALPHA32F_ARB                                              0x8816
11121 #endif
11122 
11123 #ifndef GL_INTENSITY32F_ARB
11124 #define GL_INTENSITY32F_ARB                                          0x8817
11125 #endif
11126 
11127 #ifndef GL_LUMINANCE32F_ARB
11128 #define GL_LUMINANCE32F_ARB                                          0x8818
11129 #endif
11130 
11131 #ifndef GL_LUMINANCE_ALPHA32F_ARB
11132 #define GL_LUMINANCE_ALPHA32F_ARB                                    0x8819
11133 #endif
11134 
11135 #ifndef GL_RGBA16F_ARB
11136 #define GL_RGBA16F_ARB                                               0x881A
11137 #endif
11138 
11139 #ifndef GL_RGB16F_ARB
11140 #define GL_RGB16F_ARB                                                0x881B
11141 #endif
11142 
11143 #ifndef GL_ALPHA16F_ARB
11144 #define GL_ALPHA16F_ARB                                              0x881C
11145 #endif
11146 
11147 #ifndef GL_INTENSITY16F_ARB
11148 #define GL_INTENSITY16F_ARB                                          0x881D
11149 #endif
11150 
11151 #ifndef GL_LUMINANCE16F_ARB
11152 #define GL_LUMINANCE16F_ARB                                          0x881E
11153 #endif
11154 
11155 #ifndef GL_LUMINANCE_ALPHA16F_ARB
11156 #define GL_LUMINANCE_ALPHA16F_ARB                                    0x881F
11157 #endif
11158 
11159 
11170 #ifndef GL_HALF_FLOAT_ARB
11171 #define GL_HALF_FLOAT_ARB                                            0x140B
11172 #endif
11173 
11174 
11185 #ifndef GL_MIN_PROGRAM_TEXEL_OFFSET_EXT
11186 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT                              0x8904
11187 #endif
11188 
11189 #ifndef GL_MAX_PROGRAM_TEXEL_OFFSET_EXT
11190 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT                              0x8905
11191 #endif
11192 
11193 #ifndef GL_PROGRAM_ATTRIB_COMPONENTS_NV
11194 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV                              0x8906
11195 #endif
11196 
11197 #ifndef GL_PROGRAM_RESULT_COMPONENTS_NV
11198 #define GL_PROGRAM_RESULT_COMPONENTS_NV                              0x8907
11199 #endif
11200 
11201 #ifndef GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV
11202 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV                          0x8908
11203 #endif
11204 
11205 #ifndef GL_MAX_PROGRAM_RESULT_COMPONENTS_NV
11206 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV                          0x8909
11207 #endif
11208 
11209 #ifndef GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV
11210 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV                            0x89A5
11211 #endif
11212 
11213 #ifndef GL_MAX_PROGRAM_GENERIC_RESULTS_NV
11214 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV                            0x89A6
11215 #endif
11216 
11217 
11223 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4INV) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11224 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4IVNV) (GLenum target, GLuint index, const GLint* params);
11225 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERSI4IVNV) (GLenum target, GLuint index, GLsizei count, const GLint* params);
11226 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4UINV) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11227 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4UIVNV) (GLenum target, GLuint index, const GLuint* params);
11228 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERSI4UIVNV) (GLenum target, GLuint index, GLsizei count, const GLuint* params);
11229 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4INV) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
11230 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4IVNV) (GLenum target, GLuint index, const GLint* params);
11231 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERSI4IVNV) (GLenum target, GLuint index, GLsizei count, const GLint* params);
11232 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4UINV) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
11233 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4UIVNV) (GLenum target, GLuint index, const GLuint* params);
11234 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERSI4UIVNV) (GLenum target, GLuint index, GLsizei count, const GLuint* params);
11235 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERIIVNV) (GLenum target, GLuint index, GLint* params);
11236 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERIUIVNV) (GLenum target, GLuint index, GLuint* params);
11237 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERIIVNV) (GLenum target, GLuint index, GLint* params);
11238 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERIUIVNV) (GLenum target, GLuint index, GLuint* params);
11239 
11250 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERS4FVEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
11251 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERS4FVEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
11252 
11257 #ifndef GL_RGBA_FLOAT_MODE_ARB
11258 #define GL_RGBA_FLOAT_MODE_ARB                                       0x8820
11259 #endif
11260 
11261 #ifndef GL_CLAMP_VERTEX_COLOR_ARB
11262 #define GL_CLAMP_VERTEX_COLOR_ARB                                    0x891A
11263 #endif
11264 
11265 #ifndef GL_CLAMP_FRAGMENT_COLOR_ARB
11266 #define GL_CLAMP_FRAGMENT_COLOR_ARB                                  0x891B
11267 #endif
11268 
11269 #ifndef GL_CLAMP_READ_COLOR_ARB
11270 #define GL_CLAMP_READ_COLOR_ARB                                      0x891C
11271 #endif
11272 
11273 #ifndef GL_FIXED_ONLY_ARB
11274 #define GL_FIXED_ONLY_ARB                                            0x891D
11275 #endif
11276 
11277 
11283 typedef GLvoid (csAPIENTRY* csGLCLAMPCOLORARB) (GLenum target, GLenum clamp);
11284 
11289 #ifndef GL_FRAMEBUFFER_SRGB
11290 #define GL_FRAMEBUFFER_SRGB                                          0x8DB9
11291 #endif
11292 
11293 
11301 #ifdef CS_OPENGL_GLX
11302 
11305 #ifndef GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB
11306 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB                             0x20B2
11307 #endif
11308 
11309 
11317 #endif
11318 
11319 #ifdef _WIN32
11320 
11323 #ifndef WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB
11324 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB                             0x20A9
11325 #endif
11326 
11327 
11335 #endif
11336 
11351 #ifndef GL_DEPTH_COMPONENT32F
11352 #define GL_DEPTH_COMPONENT32F                                        0x8CAC
11353 #endif
11354 
11355 #ifndef GL_DEPTH32F_STENCIL8
11356 #define GL_DEPTH32F_STENCIL8                                         0x8CAD
11357 #endif
11358 
11359 #ifndef GL_FLOAT_32_UNSIGNED_INT_24_8_REV
11360 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV                            0x8DAD
11361 #endif
11362 
11363 
11374 #ifndef GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB
11375 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB                           0x88FE
11376 #endif
11377 
11378 
11384 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBDIVISORARB) (GLuint index, GLuint divisor);
11385 
11390 #ifndef GL_HALF_FLOAT
11391 #define GL_HALF_FLOAT                                                0x140B
11392 #endif
11393 
11394 
11405 #ifndef GL_MAP_READ_BIT
11406 #define GL_MAP_READ_BIT                                              0x0001
11407 #endif
11408 
11409 #ifndef GL_MAP_WRITE_BIT
11410 #define GL_MAP_WRITE_BIT                                             0x0002
11411 #endif
11412 
11413 #ifndef GL_MAP_INVALIDATE_RANGE_BIT
11414 #define GL_MAP_INVALIDATE_RANGE_BIT                                  0x0004
11415 #endif
11416 
11417 #ifndef GL_MAP_INVALIDATE_BUFFER_BIT
11418 #define GL_MAP_INVALIDATE_BUFFER_BIT                                 0x0008
11419 #endif
11420 
11421 #ifndef GL_MAP_FLUSH_EXPLICIT_BIT
11422 #define GL_MAP_FLUSH_EXPLICIT_BIT                                    0x0010
11423 #endif
11424 
11425 #ifndef GL_MAP_UNSYNCHRONIZED_BIT
11426 #define GL_MAP_UNSYNCHRONIZED_BIT                                    0x0020
11427 #endif
11428 
11429 
11435 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERRANGE) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
11436 typedef GLvoid (csAPIENTRY* csGLFLUSHMAPPEDBUFFERRANGE) (GLenum target, GLintptr offset, GLsizeiptr length);
11437 
11442 #ifndef GL_COMPRESSED_RED_RGTC1
11443 #define GL_COMPRESSED_RED_RGTC1                                      0x8DBB
11444 #endif
11445 
11446 #ifndef GL_COMPRESSED_SIGNED_RED_RGTC1
11447 #define GL_COMPRESSED_SIGNED_RED_RGTC1                               0x8DBC
11448 #endif
11449 
11450 #ifndef GL_COMPRESSED_RG_RGTC2
11451 #define GL_COMPRESSED_RG_RGTC2                                       0x8DBD
11452 #endif
11453 
11454 #ifndef GL_COMPRESSED_SIGNED_RG_RGTC2
11455 #define GL_COMPRESSED_SIGNED_RG_RGTC2                                0x8DBE
11456 #endif
11457 
11458 
11469 #ifndef GL_R8
11470 #define GL_R8                                                        0x8229
11471 #endif
11472 
11473 #ifndef GL_R16
11474 #define GL_R16                                                       0x822A
11475 #endif
11476 
11477 #ifndef GL_RG8
11478 #define GL_RG8                                                       0x822B
11479 #endif
11480 
11481 #ifndef GL_RG16
11482 #define GL_RG16                                                      0x822C
11483 #endif
11484 
11485 #ifndef GL_R16F
11486 #define GL_R16F                                                      0x822D
11487 #endif
11488 
11489 #ifndef GL_R32F
11490 #define GL_R32F                                                      0x822E
11491 #endif
11492 
11493 #ifndef GL_RG16F
11494 #define GL_RG16F                                                     0x822F
11495 #endif
11496 
11497 #ifndef GL_RG32F
11498 #define GL_RG32F                                                     0x8230
11499 #endif
11500 
11501 #ifndef GL_R8I
11502 #define GL_R8I                                                       0x8231
11503 #endif
11504 
11505 #ifndef GL_R8UI
11506 #define GL_R8UI                                                      0x8232
11507 #endif
11508 
11509 #ifndef GL_R16I
11510 #define GL_R16I                                                      0x8233
11511 #endif
11512 
11513 #ifndef GL_R16UI
11514 #define GL_R16UI                                                     0x8234
11515 #endif
11516 
11517 #ifndef GL_R32I
11518 #define GL_R32I                                                      0x8235
11519 #endif
11520 
11521 #ifndef GL_R32UI
11522 #define GL_R32UI                                                     0x8236
11523 #endif
11524 
11525 #ifndef GL_RG8I
11526 #define GL_RG8I                                                      0x8237
11527 #endif
11528 
11529 #ifndef GL_RG8UI
11530 #define GL_RG8UI                                                     0x8238
11531 #endif
11532 
11533 #ifndef GL_RG16I
11534 #define GL_RG16I                                                     0x8239
11535 #endif
11536 
11537 #ifndef GL_RG16UI
11538 #define GL_RG16UI                                                    0x823A
11539 #endif
11540 
11541 #ifndef GL_RG32I
11542 #define GL_RG32I                                                     0x823B
11543 #endif
11544 
11545 #ifndef GL_RG32UI
11546 #define GL_RG32UI                                                    0x823C
11547 #endif
11548 
11549 #ifndef GL_RG
11550 #define GL_RG                                                        0x8227
11551 #endif
11552 
11553 #ifndef GL_RG_INTEGER
11554 #define GL_RG_INTEGER                                                0x8228
11555 #endif
11556 
11557 
11568 #ifndef GL_TEXTURE_CUBE_MAP_SEAMLESS
11569 #define GL_TEXTURE_CUBE_MAP_SEAMLESS                                 0x884F
11570 #endif
11571 
11572 
11594 #ifndef GL_TIME_ELAPSED
11595 #define GL_TIME_ELAPSED                                              0x88BF
11596 #endif
11597 
11598 #ifndef GL_TIMESTAMP
11599 #define GL_TIMESTAMP                                                 0x8E28
11600 #endif
11601 
11602 
11608 typedef GLvoid (csAPIENTRY* csGLGETINTEGER64V) (GLenum value, GLint64* data);
11609 typedef GLvoid (csAPIENTRY* csGLQUERYCOUNTER) (GLuint id, GLenum target);
11610 
11614 // end of definitions
11615 
11616 #ifdef CS_DEBUG
11617 #  define REPORT_MISSING_ENTRIES true
11618 #else
11619 #  define REPORT_MISSING_ENTRIES false
11620 #endif
11621 
11622 #define EXTMGR_FUNC_INIT(nameNC, nameUC)                                \
11623       funcTest =                                                        \
11624         ((nameNC = (cs##nameUC) gl->GetProcAddress (#nameNC)) != 0);    \
11625       if (!funcTest && config->GetBool (                                \
11626         "Video.OpenGL.ReportMissingEntries",                            \
11627         REPORT_MISSING_ENTRIES))                                        \
11628       {                                                                 \
11629         Report (msgExtRetrieveFail, #nameNC);                           \
11630       }                                                                 \
11631       allclear &= funcTest;
11632 
11633 #define EXTMGR_REPORT_INIT_RESULT(exttype, nameNC)                      \
11634       CS_##nameNC = allclear;                                           \
11635       if (CS_##nameNC)                                                  \
11636       {                                                                 \
11637         CS_##nameNC &= config->GetBool (cfgkey, defaultUse);            \
11638         if (CS_##nameNC)                                                \
11639         {                                                               \
11640           Report (msgExtFoundAndUsed, exttype, CS::Quote::Single (ext));\
11641         }                                                               \
11642         else                                                            \
11643         {                                                               \
11644           Report (msgExtFoundAndNotUsed, exttype,                       \
11645                   CS::Quote::Single (ext));                             \
11646         }                                                               \
11647       }                                                                 \
11648       else                                                              \
11649       {                                                                 \
11650         Report (msgExtInitFail, exttype, CS::Quote::Single (ext));      \
11651       }
11652 
11654 struct csGLExtensionFunctions
11655 {
11656 public:
11661   #ifndef GLDRAWRANGEELEMENTS_DECL
11662   #define GLDRAWRANGEELEMENTS_DECL
11663   csGLDRAWRANGEELEMENTS glDrawRangeElements;
11664   #endif
11665 
11666   #ifndef GLTEXIMAGE3D_DECL
11667   #define GLTEXIMAGE3D_DECL
11668   csGLTEXIMAGE3D glTexImage3D;
11669   #endif
11670 
11671   #ifndef GLTEXSUBIMAGE3D_DECL
11672   #define GLTEXSUBIMAGE3D_DECL
11673   csGLTEXSUBIMAGE3D glTexSubImage3D;
11674   #endif
11675 
11676   #ifndef GLCOPYTEXSUBIMAGE3D_DECL
11677   #define GLCOPYTEXSUBIMAGE3D_DECL
11678   csGLCOPYTEXSUBIMAGE3D glCopyTexSubImage3D;
11679   #endif
11680 
11681 
11687   #ifndef GLACTIVETEXTURE_DECL
11688   #define GLACTIVETEXTURE_DECL
11689   csGLACTIVETEXTURE glActiveTexture;
11690   #endif
11691 
11692   #ifndef GLCLIENTACTIVETEXTURE_DECL
11693   #define GLCLIENTACTIVETEXTURE_DECL
11694   csGLCLIENTACTIVETEXTURE glClientActiveTexture;
11695   #endif
11696 
11697   #ifndef GLMULTITEXCOORD1D_DECL
11698   #define GLMULTITEXCOORD1D_DECL
11699   csGLMULTITEXCOORD1D glMultiTexCoord1d;
11700   #endif
11701 
11702   #ifndef GLMULTITEXCOORD1DV_DECL
11703   #define GLMULTITEXCOORD1DV_DECL
11704   csGLMULTITEXCOORD1DV glMultiTexCoord1dv;
11705   #endif
11706 
11707   #ifndef GLMULTITEXCOORD1F_DECL
11708   #define GLMULTITEXCOORD1F_DECL
11709   csGLMULTITEXCOORD1F glMultiTexCoord1f;
11710   #endif
11711 
11712   #ifndef GLMULTITEXCOORD1FV_DECL
11713   #define GLMULTITEXCOORD1FV_DECL
11714   csGLMULTITEXCOORD1FV glMultiTexCoord1fv;
11715   #endif
11716 
11717   #ifndef GLMULTITEXCOORD1I_DECL
11718   #define GLMULTITEXCOORD1I_DECL
11719   csGLMULTITEXCOORD1I glMultiTexCoord1i;
11720   #endif
11721 
11722   #ifndef GLMULTITEXCOORD1IV_DECL
11723   #define GLMULTITEXCOORD1IV_DECL
11724   csGLMULTITEXCOORD1IV glMultiTexCoord1iv;
11725   #endif
11726 
11727   #ifndef GLMULTITEXCOORD1S_DECL
11728   #define GLMULTITEXCOORD1S_DECL
11729   csGLMULTITEXCOORD1S glMultiTexCoord1s;
11730   #endif
11731 
11732   #ifndef GLMULTITEXCOORD1SV_DECL
11733   #define GLMULTITEXCOORD1SV_DECL
11734   csGLMULTITEXCOORD1SV glMultiTexCoord1sv;
11735   #endif
11736 
11737   #ifndef GLMULTITEXCOORD2D_DECL
11738   #define GLMULTITEXCOORD2D_DECL
11739   csGLMULTITEXCOORD2D glMultiTexCoord2d;
11740   #endif
11741 
11742   #ifndef GLMULTITEXCOORD2DV_DECL
11743   #define GLMULTITEXCOORD2DV_DECL
11744   csGLMULTITEXCOORD2DV glMultiTexCoord2dv;
11745   #endif
11746 
11747   #ifndef GLMULTITEXCOORD2F_DECL
11748   #define GLMULTITEXCOORD2F_DECL
11749   csGLMULTITEXCOORD2F glMultiTexCoord2f;
11750   #endif
11751 
11752   #ifndef GLMULTITEXCOORD2FV_DECL
11753   #define GLMULTITEXCOORD2FV_DECL
11754   csGLMULTITEXCOORD2FV glMultiTexCoord2fv;
11755   #endif
11756 
11757   #ifndef GLMULTITEXCOORD2I_DECL
11758   #define GLMULTITEXCOORD2I_DECL
11759   csGLMULTITEXCOORD2I glMultiTexCoord2i;
11760   #endif
11761 
11762   #ifndef GLMULTITEXCOORD2IV_DECL
11763   #define GLMULTITEXCOORD2IV_DECL
11764   csGLMULTITEXCOORD2IV glMultiTexCoord2iv;
11765   #endif
11766 
11767   #ifndef GLMULTITEXCOORD2S_DECL
11768   #define GLMULTITEXCOORD2S_DECL
11769   csGLMULTITEXCOORD2S glMultiTexCoord2s;
11770   #endif
11771 
11772   #ifndef GLMULTITEXCOORD2SV_DECL
11773   #define GLMULTITEXCOORD2SV_DECL
11774   csGLMULTITEXCOORD2SV glMultiTexCoord2sv;
11775   #endif
11776 
11777   #ifndef GLMULTITEXCOORD3D_DECL
11778   #define GLMULTITEXCOORD3D_DECL
11779   csGLMULTITEXCOORD3D glMultiTexCoord3d;
11780   #endif
11781 
11782   #ifndef GLMULTITEXCOORD3DV_DECL
11783   #define GLMULTITEXCOORD3DV_DECL
11784   csGLMULTITEXCOORD3DV glMultiTexCoord3dv;
11785   #endif
11786 
11787   #ifndef GLMULTITEXCOORD3F_DECL
11788   #define GLMULTITEXCOORD3F_DECL
11789   csGLMULTITEXCOORD3F glMultiTexCoord3f;
11790   #endif
11791 
11792   #ifndef GLMULTITEXCOORD3FV_DECL
11793   #define GLMULTITEXCOORD3FV_DECL
11794   csGLMULTITEXCOORD3FV glMultiTexCoord3fv;
11795   #endif
11796 
11797   #ifndef GLMULTITEXCOORD3I_DECL
11798   #define GLMULTITEXCOORD3I_DECL
11799   csGLMULTITEXCOORD3I glMultiTexCoord3i;
11800   #endif
11801 
11802   #ifndef GLMULTITEXCOORD3IV_DECL
11803   #define GLMULTITEXCOORD3IV_DECL
11804   csGLMULTITEXCOORD3IV glMultiTexCoord3iv;
11805   #endif
11806 
11807   #ifndef GLMULTITEXCOORD3S_DECL
11808   #define GLMULTITEXCOORD3S_DECL
11809   csGLMULTITEXCOORD3S glMultiTexCoord3s;
11810   #endif
11811 
11812   #ifndef GLMULTITEXCOORD3SV_DECL
11813   #define GLMULTITEXCOORD3SV_DECL
11814   csGLMULTITEXCOORD3SV glMultiTexCoord3sv;
11815   #endif
11816 
11817   #ifndef GLMULTITEXCOORD4D_DECL
11818   #define GLMULTITEXCOORD4D_DECL
11819   csGLMULTITEXCOORD4D glMultiTexCoord4d;
11820   #endif
11821 
11822   #ifndef GLMULTITEXCOORD4DV_DECL
11823   #define GLMULTITEXCOORD4DV_DECL
11824   csGLMULTITEXCOORD4DV glMultiTexCoord4dv;
11825   #endif
11826 
11827   #ifndef GLMULTITEXCOORD4F_DECL
11828   #define GLMULTITEXCOORD4F_DECL
11829   csGLMULTITEXCOORD4F glMultiTexCoord4f;
11830   #endif
11831 
11832   #ifndef GLMULTITEXCOORD4FV_DECL
11833   #define GLMULTITEXCOORD4FV_DECL
11834   csGLMULTITEXCOORD4FV glMultiTexCoord4fv;
11835   #endif
11836 
11837   #ifndef GLMULTITEXCOORD4I_DECL
11838   #define GLMULTITEXCOORD4I_DECL
11839   csGLMULTITEXCOORD4I glMultiTexCoord4i;
11840   #endif
11841 
11842   #ifndef GLMULTITEXCOORD4IV_DECL
11843   #define GLMULTITEXCOORD4IV_DECL
11844   csGLMULTITEXCOORD4IV glMultiTexCoord4iv;
11845   #endif
11846 
11847   #ifndef GLMULTITEXCOORD4S_DECL
11848   #define GLMULTITEXCOORD4S_DECL
11849   csGLMULTITEXCOORD4S glMultiTexCoord4s;
11850   #endif
11851 
11852   #ifndef GLMULTITEXCOORD4SV_DECL
11853   #define GLMULTITEXCOORD4SV_DECL
11854   csGLMULTITEXCOORD4SV glMultiTexCoord4sv;
11855   #endif
11856 
11857   #ifndef GLLOADTRANSPOSEMATRIXF_DECL
11858   #define GLLOADTRANSPOSEMATRIXF_DECL
11859   csGLLOADTRANSPOSEMATRIXF glLoadTransposeMatrixf;
11860   #endif
11861 
11862   #ifndef GLLOADTRANSPOSEMATRIXD_DECL
11863   #define GLLOADTRANSPOSEMATRIXD_DECL
11864   csGLLOADTRANSPOSEMATRIXD glLoadTransposeMatrixd;
11865   #endif
11866 
11867   #ifndef GLMULTTRANSPOSEMATRIXF_DECL
11868   #define GLMULTTRANSPOSEMATRIXF_DECL
11869   csGLMULTTRANSPOSEMATRIXF glMultTransposeMatrixf;
11870   #endif
11871 
11872   #ifndef GLMULTTRANSPOSEMATRIXD_DECL
11873   #define GLMULTTRANSPOSEMATRIXD_DECL
11874   csGLMULTTRANSPOSEMATRIXD glMultTransposeMatrixd;
11875   #endif
11876 
11877   #ifndef GLSAMPLECOVERAGE_DECL
11878   #define GLSAMPLECOVERAGE_DECL
11879   csGLSAMPLECOVERAGE glSampleCoverage;
11880   #endif
11881 
11882   #ifndef GLCOMPRESSEDTEXIMAGE3D_DECL
11883   #define GLCOMPRESSEDTEXIMAGE3D_DECL
11884   csGLCOMPRESSEDTEXIMAGE3D glCompressedTexImage3D;
11885   #endif
11886 
11887   #ifndef GLCOMPRESSEDTEXIMAGE2D_DECL
11888   #define GLCOMPRESSEDTEXIMAGE2D_DECL
11889   csGLCOMPRESSEDTEXIMAGE2D glCompressedTexImage2D;
11890   #endif
11891 
11892   #ifndef GLCOMPRESSEDTEXIMAGE1D_DECL
11893   #define GLCOMPRESSEDTEXIMAGE1D_DECL
11894   csGLCOMPRESSEDTEXIMAGE1D glCompressedTexImage1D;
11895   #endif
11896 
11897   #ifndef GLCOMPRESSEDTEXSUBIMAGE3D_DECL
11898   #define GLCOMPRESSEDTEXSUBIMAGE3D_DECL
11899   csGLCOMPRESSEDTEXSUBIMAGE3D glCompressedTexSubImage3D;
11900   #endif
11901 
11902   #ifndef GLCOMPRESSEDTEXSUBIMAGE2D_DECL
11903   #define GLCOMPRESSEDTEXSUBIMAGE2D_DECL
11904   csGLCOMPRESSEDTEXSUBIMAGE2D glCompressedTexSubImage2D;
11905   #endif
11906 
11907   #ifndef GLCOMPRESSEDTEXSUBIMAGE1D_DECL
11908   #define GLCOMPRESSEDTEXSUBIMAGE1D_DECL
11909   csGLCOMPRESSEDTEXSUBIMAGE1D glCompressedTexSubImage1D;
11910   #endif
11911 
11912   #ifndef GLGETCOMPRESSEDTEXIMAGE_DECL
11913   #define GLGETCOMPRESSEDTEXIMAGE_DECL
11914   csGLGETCOMPRESSEDTEXIMAGE glGetCompressedTexImage;
11915   #endif
11916 
11917 
11923   #ifndef GLFOGCOORDF_DECL
11924   #define GLFOGCOORDF_DECL
11925   csGLFOGCOORDF glFogCoordf;
11926   #endif
11927 
11928   #ifndef GLFOGCOORDD_DECL
11929   #define GLFOGCOORDD_DECL
11930   csGLFOGCOORDD glFogCoordd;
11931   #endif
11932 
11933   #ifndef GLFOGCOORDFV_DECL
11934   #define GLFOGCOORDFV_DECL
11935   csGLFOGCOORDFV glFogCoordfv;
11936   #endif
11937 
11938   #ifndef GLFOGCOORDDV_DECL
11939   #define GLFOGCOORDDV_DECL
11940   csGLFOGCOORDDV glFogCoorddv;
11941   #endif
11942 
11943   #ifndef GLFOGCOORDPOINTER_DECL
11944   #define GLFOGCOORDPOINTER_DECL
11945   csGLFOGCOORDPOINTER glFogCoordPointer;
11946   #endif
11947 
11948   #ifndef GLMULTIDRAWARRAYS_DECL
11949   #define GLMULTIDRAWARRAYS_DECL
11950   csGLMULTIDRAWARRAYS glMultiDrawArrays;
11951   #endif
11952 
11953   #ifndef GLMULTIDRAWELEMENTS_DECL
11954   #define GLMULTIDRAWELEMENTS_DECL
11955   csGLMULTIDRAWELEMENTS glMultiDrawElements;
11956   #endif
11957 
11958   #ifndef GLPOINTPARAMETERF_DECL
11959   #define GLPOINTPARAMETERF_DECL
11960   csGLPOINTPARAMETERF glPointParameterf;
11961   #endif
11962 
11963   #ifndef GLPOINTPARAMETERFV_DECL
11964   #define GLPOINTPARAMETERFV_DECL
11965   csGLPOINTPARAMETERFV glPointParameterfv;
11966   #endif
11967 
11968   #ifndef GLSECONDARYCOLOR3B_DECL
11969   #define GLSECONDARYCOLOR3B_DECL
11970   csGLSECONDARYCOLOR3B glSecondaryColor3b;
11971   #endif
11972 
11973   #ifndef GLSECONDARYCOLOR3S_DECL
11974   #define GLSECONDARYCOLOR3S_DECL
11975   csGLSECONDARYCOLOR3S glSecondaryColor3s;
11976   #endif
11977 
11978   #ifndef GLSECONDARYCOLOR3I_DECL
11979   #define GLSECONDARYCOLOR3I_DECL
11980   csGLSECONDARYCOLOR3I glSecondaryColor3i;
11981   #endif
11982 
11983   #ifndef GLSECONDARYCOLOR3F_DECL
11984   #define GLSECONDARYCOLOR3F_DECL
11985   csGLSECONDARYCOLOR3F glSecondaryColor3f;
11986   #endif
11987 
11988   #ifndef GLSECONDARYCOLOR3D_DECL
11989   #define GLSECONDARYCOLOR3D_DECL
11990   csGLSECONDARYCOLOR3D glSecondaryColor3d;
11991   #endif
11992 
11993   #ifndef GLSECONDARYCOLOR3UB_DECL
11994   #define GLSECONDARYCOLOR3UB_DECL
11995   csGLSECONDARYCOLOR3UB glSecondaryColor3ub;
11996   #endif
11997 
11998   #ifndef GLSECONDARYCOLOR3US_DECL
11999   #define GLSECONDARYCOLOR3US_DECL
12000   csGLSECONDARYCOLOR3US glSecondaryColor3us;
12001   #endif
12002 
12003   #ifndef GLSECONDARYCOLOR3UI_DECL
12004   #define GLSECONDARYCOLOR3UI_DECL
12005   csGLSECONDARYCOLOR3UI glSecondaryColor3ui;
12006   #endif
12007 
12008   #ifndef GLSECONDARYCOLOR3BV_DECL
12009   #define GLSECONDARYCOLOR3BV_DECL
12010   csGLSECONDARYCOLOR3BV glSecondaryColor3bv;
12011   #endif
12012 
12013   #ifndef GLSECONDARYCOLOR3SV_DECL
12014   #define GLSECONDARYCOLOR3SV_DECL
12015   csGLSECONDARYCOLOR3SV glSecondaryColor3sv;
12016   #endif
12017 
12018   #ifndef GLSECONDARYCOLOR3IV_DECL
12019   #define GLSECONDARYCOLOR3IV_DECL
12020   csGLSECONDARYCOLOR3IV glSecondaryColor3iv;
12021   #endif
12022 
12023   #ifndef GLSECONDARYCOLOR3FV_DECL
12024   #define GLSECONDARYCOLOR3FV_DECL
12025   csGLSECONDARYCOLOR3FV glSecondaryColor3fv;
12026   #endif
12027 
12028   #ifndef GLSECONDARYCOLOR3DV_DECL
12029   #define GLSECONDARYCOLOR3DV_DECL
12030   csGLSECONDARYCOLOR3DV glSecondaryColor3dv;
12031   #endif
12032 
12033   #ifndef GLSECONDARYCOLOR3UBV_DECL
12034   #define GLSECONDARYCOLOR3UBV_DECL
12035   csGLSECONDARYCOLOR3UBV glSecondaryColor3ubv;
12036   #endif
12037 
12038   #ifndef GLSECONDARYCOLOR3USV_DECL
12039   #define GLSECONDARYCOLOR3USV_DECL
12040   csGLSECONDARYCOLOR3USV glSecondaryColor3usv;
12041   #endif
12042 
12043   #ifndef GLSECONDARYCOLOR3UIV_DECL
12044   #define GLSECONDARYCOLOR3UIV_DECL
12045   csGLSECONDARYCOLOR3UIV glSecondaryColor3uiv;
12046   #endif
12047 
12048   #ifndef GLSECONDARYCOLORPOINTER_DECL
12049   #define GLSECONDARYCOLORPOINTER_DECL
12050   csGLSECONDARYCOLORPOINTER glSecondaryColorPointer;
12051   #endif
12052 
12053   #ifndef GLBLENDFUNCSEPARATE_DECL
12054   #define GLBLENDFUNCSEPARATE_DECL
12055   csGLBLENDFUNCSEPARATE glBlendFuncSeparate;
12056   #endif
12057 
12058   #ifndef GLWINDOWPOS2D_DECL
12059   #define GLWINDOWPOS2D_DECL
12060   csGLWINDOWPOS2D glWindowPos2d;
12061   #endif
12062 
12063   #ifndef GLWINDOWPOS2F_DECL
12064   #define GLWINDOWPOS2F_DECL
12065   csGLWINDOWPOS2F glWindowPos2f;
12066   #endif
12067 
12068   #ifndef GLWINDOWPOS2I_DECL
12069   #define GLWINDOWPOS2I_DECL
12070   csGLWINDOWPOS2I glWindowPos2i;
12071   #endif
12072 
12073   #ifndef GLWINDOWPOS2S_DECL
12074   #define GLWINDOWPOS2S_DECL
12075   csGLWINDOWPOS2S glWindowPos2s;
12076   #endif
12077 
12078   #ifndef GLWINDOWPOS2DV_DECL
12079   #define GLWINDOWPOS2DV_DECL
12080   csGLWINDOWPOS2DV glWindowPos2dv;
12081   #endif
12082 
12083   #ifndef GLWINDOWPOS2FV_DECL
12084   #define GLWINDOWPOS2FV_DECL
12085   csGLWINDOWPOS2FV glWindowPos2fv;
12086   #endif
12087 
12088   #ifndef GLWINDOWPOS2IV_DECL
12089   #define GLWINDOWPOS2IV_DECL
12090   csGLWINDOWPOS2IV glWindowPos2iv;
12091   #endif
12092 
12093   #ifndef GLWINDOWPOS2SV_DECL
12094   #define GLWINDOWPOS2SV_DECL
12095   csGLWINDOWPOS2SV glWindowPos2sv;
12096   #endif
12097 
12098   #ifndef GLWINDOWPOS3D_DECL
12099   #define GLWINDOWPOS3D_DECL
12100   csGLWINDOWPOS3D glWindowPos3d;
12101   #endif
12102 
12103   #ifndef GLWINDOWPOS3F_DECL
12104   #define GLWINDOWPOS3F_DECL
12105   csGLWINDOWPOS3F glWindowPos3f;
12106   #endif
12107 
12108   #ifndef GLWINDOWPOS3I_DECL
12109   #define GLWINDOWPOS3I_DECL
12110   csGLWINDOWPOS3I glWindowPos3i;
12111   #endif
12112 
12113   #ifndef GLWINDOWPOS3S_DECL
12114   #define GLWINDOWPOS3S_DECL
12115   csGLWINDOWPOS3S glWindowPos3s;
12116   #endif
12117 
12118   #ifndef GLWINDOWPOS3DV_DECL
12119   #define GLWINDOWPOS3DV_DECL
12120   csGLWINDOWPOS3DV glWindowPos3dv;
12121   #endif
12122 
12123   #ifndef GLWINDOWPOS3FV_DECL
12124   #define GLWINDOWPOS3FV_DECL
12125   csGLWINDOWPOS3FV glWindowPos3fv;
12126   #endif
12127 
12128   #ifndef GLWINDOWPOS3IV_DECL
12129   #define GLWINDOWPOS3IV_DECL
12130   csGLWINDOWPOS3IV glWindowPos3iv;
12131   #endif
12132 
12133   #ifndef GLWINDOWPOS3SV_DECL
12134   #define GLWINDOWPOS3SV_DECL
12135   csGLWINDOWPOS3SV glWindowPos3sv;
12136   #endif
12137 
12138 
12144   #ifndef GLBINDBUFFER_DECL
12145   #define GLBINDBUFFER_DECL
12146   csGLBINDBUFFER glBindBuffer;
12147   #endif
12148 
12149   #ifndef GLDELETEBUFFERS_DECL
12150   #define GLDELETEBUFFERS_DECL
12151   csGLDELETEBUFFERS glDeleteBuffers;
12152   #endif
12153 
12154   #ifndef GLGENBUFFERS_DECL
12155   #define GLGENBUFFERS_DECL
12156   csGLGENBUFFERS glGenBuffers;
12157   #endif
12158 
12159   #ifndef GLBUFFERDATA_DECL
12160   #define GLBUFFERDATA_DECL
12161   csGLBUFFERDATA glBufferData;
12162   #endif
12163 
12164   #ifndef GLBUFFERSUBDATA_DECL
12165   #define GLBUFFERSUBDATA_DECL
12166   csGLBUFFERSUBDATA glBufferSubData;
12167   #endif
12168 
12169   #ifndef GLMAPBUFFER_DECL
12170   #define GLMAPBUFFER_DECL
12171   csGLMAPBUFFER glMapBuffer;
12172   #endif
12173 
12174   #ifndef GLUNMAPBUFFER_DECL
12175   #define GLUNMAPBUFFER_DECL
12176   csGLUNMAPBUFFER glUnmapBuffer;
12177   #endif
12178 
12179   #ifndef GLISBUFFER_DECL
12180   #define GLISBUFFER_DECL
12181   csGLISBUFFER glIsBuffer;
12182   #endif
12183 
12184   #ifndef GLGETBUFFERSUBDATA_DECL
12185   #define GLGETBUFFERSUBDATA_DECL
12186   csGLGETBUFFERSUBDATA glGetBufferSubData;
12187   #endif
12188 
12189   #ifndef GLGETBUFFERPOINTERV_DECL
12190   #define GLGETBUFFERPOINTERV_DECL
12191   csGLGETBUFFERPOINTERV glGetBufferPointerv;
12192   #endif
12193 
12194   #ifndef GLGETBUFFERPARAMETERIV_DECL
12195   #define GLGETBUFFERPARAMETERIV_DECL
12196   csGLGETBUFFERPARAMETERIV glGetBufferParameteriv;
12197   #endif
12198 
12199   #ifndef GLGENQUERIES_DECL
12200   #define GLGENQUERIES_DECL
12201   csGLGENQUERIES glGenQueries;
12202   #endif
12203 
12204   #ifndef GLDELETEQUERIES_DECL
12205   #define GLDELETEQUERIES_DECL
12206   csGLDELETEQUERIES glDeleteQueries;
12207   #endif
12208 
12209   #ifndef GLISQUERY_DECL
12210   #define GLISQUERY_DECL
12211   csGLISQUERY glIsQuery;
12212   #endif
12213 
12214   #ifndef GLBEGINQUERY_DECL
12215   #define GLBEGINQUERY_DECL
12216   csGLBEGINQUERY glBeginQuery;
12217   #endif
12218 
12219   #ifndef GLENDQUERY_DECL
12220   #define GLENDQUERY_DECL
12221   csGLENDQUERY glEndQuery;
12222   #endif
12223 
12224   #ifndef GLGETQUERYIV_DECL
12225   #define GLGETQUERYIV_DECL
12226   csGLGETQUERYIV glGetQueryiv;
12227   #endif
12228 
12229   #ifndef GLGETQUERYOBJECTIV_DECL
12230   #define GLGETQUERYOBJECTIV_DECL
12231   csGLGETQUERYOBJECTIV glGetQueryObjectiv;
12232   #endif
12233 
12234   #ifndef GLGETQUERYOBJECTUIV_DECL
12235   #define GLGETQUERYOBJECTUIV_DECL
12236   csGLGETQUERYOBJECTUIV glGetQueryObjectuiv;
12237   #endif
12238 
12239 
12245   #ifndef GLDELETESHADER_DECL
12246   #define GLDELETESHADER_DECL
12247   csGLDELETESHADER glDeleteShader;
12248   #endif
12249 
12250   #ifndef GLGETHANDLE_DECL
12251   #define GLGETHANDLE_DECL
12252   csGLGETHANDLE glGetHandle;
12253   #endif
12254 
12255   #ifndef GLDETACHSHADER_DECL
12256   #define GLDETACHSHADER_DECL
12257   csGLDETACHSHADER glDetachShader;
12258   #endif
12259 
12260   #ifndef GLCREATESHADER_DECL
12261   #define GLCREATESHADER_DECL
12262   csGLCREATESHADER glCreateShader;
12263   #endif
12264 
12265   #ifndef GLSHADERSOURCE_DECL
12266   #define GLSHADERSOURCE_DECL
12267   csGLSHADERSOURCE glShaderSource;
12268   #endif
12269 
12270   #ifndef GLCOMPILESHADER_DECL
12271   #define GLCOMPILESHADER_DECL
12272   csGLCOMPILESHADER glCompileShader;
12273   #endif
12274 
12275   #ifndef GLCREATEPROGRAMOBJECT_DECL
12276   #define GLCREATEPROGRAMOBJECT_DECL
12277   csGLCREATEPROGRAMOBJECT glCreateProgramObject;
12278   #endif
12279 
12280   #ifndef GLATTACHSHADER_DECL
12281   #define GLATTACHSHADER_DECL
12282   csGLATTACHSHADER glAttachShader;
12283   #endif
12284 
12285   #ifndef GLLINKPROGRAM_DECL
12286   #define GLLINKPROGRAM_DECL
12287   csGLLINKPROGRAM glLinkProgram;
12288   #endif
12289 
12290   #ifndef GLUSEPROGRAM_DECL
12291   #define GLUSEPROGRAM_DECL
12292   csGLUSEPROGRAM glUseProgram;
12293   #endif
12294 
12295   #ifndef GLDELETEPROGRAM_DECL
12296   #define GLDELETEPROGRAM_DECL
12297   csGLDELETEPROGRAM glDeleteProgram;
12298   #endif
12299 
12300   #ifndef GLVALIDATEPROGRAM_DECL
12301   #define GLVALIDATEPROGRAM_DECL
12302   csGLVALIDATEPROGRAM glValidateProgram;
12303   #endif
12304 
12305   #ifndef GLUNIFORM1F_DECL
12306   #define GLUNIFORM1F_DECL
12307   csGLUNIFORM1F glUniform1f;
12308   #endif
12309 
12310   #ifndef GLUNIFORM2F_DECL
12311   #define GLUNIFORM2F_DECL
12312   csGLUNIFORM2F glUniform2f;
12313   #endif
12314 
12315   #ifndef GLUNIFORM3F_DECL
12316   #define GLUNIFORM3F_DECL
12317   csGLUNIFORM3F glUniform3f;
12318   #endif
12319 
12320   #ifndef GLUNIFORM4F_DECL
12321   #define GLUNIFORM4F_DECL
12322   csGLUNIFORM4F glUniform4f;
12323   #endif
12324 
12325   #ifndef GLUNIFORM1I_DECL
12326   #define GLUNIFORM1I_DECL
12327   csGLUNIFORM1I glUniform1i;
12328   #endif
12329 
12330   #ifndef GLUNIFORM2I_DECL
12331   #define GLUNIFORM2I_DECL
12332   csGLUNIFORM2I glUniform2i;
12333   #endif
12334 
12335   #ifndef GLUNIFORM3I_DECL
12336   #define GLUNIFORM3I_DECL
12337   csGLUNIFORM3I glUniform3i;
12338   #endif
12339 
12340   #ifndef GLUNIFORM4I_DECL
12341   #define GLUNIFORM4I_DECL
12342   csGLUNIFORM4I glUniform4i;
12343   #endif
12344 
12345   #ifndef GLUNIFORM1FV_DECL
12346   #define GLUNIFORM1FV_DECL
12347   csGLUNIFORM1FV glUniform1fv;
12348   #endif
12349 
12350   #ifndef GLUNIFORM2FV_DECL
12351   #define GLUNIFORM2FV_DECL
12352   csGLUNIFORM2FV glUniform2fv;
12353   #endif
12354 
12355   #ifndef GLUNIFORM3FV_DECL
12356   #define GLUNIFORM3FV_DECL
12357   csGLUNIFORM3FV glUniform3fv;
12358   #endif
12359 
12360   #ifndef GLUNIFORM4FV_DECL
12361   #define GLUNIFORM4FV_DECL
12362   csGLUNIFORM4FV glUniform4fv;
12363   #endif
12364 
12365   #ifndef GLUNIFORM1IV_DECL
12366   #define GLUNIFORM1IV_DECL
12367   csGLUNIFORM1IV glUniform1iv;
12368   #endif
12369 
12370   #ifndef GLUNIFORM2IV_DECL
12371   #define GLUNIFORM2IV_DECL
12372   csGLUNIFORM2IV glUniform2iv;
12373   #endif
12374 
12375   #ifndef GLUNIFORM3IV_DECL
12376   #define GLUNIFORM3IV_DECL
12377   csGLUNIFORM3IV glUniform3iv;
12378   #endif
12379 
12380   #ifndef GLUNIFORM4IV_DECL
12381   #define GLUNIFORM4IV_DECL
12382   csGLUNIFORM4IV glUniform4iv;
12383   #endif
12384 
12385   #ifndef GLUNIFORMMATRIX2FV_DECL
12386   #define GLUNIFORMMATRIX2FV_DECL
12387   csGLUNIFORMMATRIX2FV glUniformMatrix2fv;
12388   #endif
12389 
12390   #ifndef GLUNIFORMMATRIX3FV_DECL
12391   #define GLUNIFORMMATRIX3FV_DECL
12392   csGLUNIFORMMATRIX3FV glUniformMatrix3fv;
12393   #endif
12394 
12395   #ifndef GLUNIFORMMATRIX4FV_DECL
12396   #define GLUNIFORMMATRIX4FV_DECL
12397   csGLUNIFORMMATRIX4FV glUniformMatrix4fv;
12398   #endif
12399 
12400   #ifndef GLGETOBJECTPARAMETERFV_DECL
12401   #define GLGETOBJECTPARAMETERFV_DECL
12402   csGLGETOBJECTPARAMETERFV glGetObjectParameterfv;
12403   #endif
12404 
12405   #ifndef GLGETOBJECTPARAMETERIV_DECL
12406   #define GLGETOBJECTPARAMETERIV_DECL
12407   csGLGETOBJECTPARAMETERIV glGetObjectParameteriv;
12408   #endif
12409 
12410   #ifndef GLGETINFOLOG_DECL
12411   #define GLGETINFOLOG_DECL
12412   csGLGETINFOLOG glGetInfoLog;
12413   #endif
12414 
12415   #ifndef GLGETATTACHEDOBJECTS_DECL
12416   #define GLGETATTACHEDOBJECTS_DECL
12417   csGLGETATTACHEDOBJECTS glGetAttachedObjects;
12418   #endif
12419 
12420   #ifndef GLGETUNIFORMLOCATION_DECL
12421   #define GLGETUNIFORMLOCATION_DECL
12422   csGLGETUNIFORMLOCATION glGetUniformLocation;
12423   #endif
12424 
12425   #ifndef GLGETACTIVEUNIFORM_DECL
12426   #define GLGETACTIVEUNIFORM_DECL
12427   csGLGETACTIVEUNIFORM glGetActiveUniform;
12428   #endif
12429 
12430   #ifndef GLGETUNIFORMFV_DECL
12431   #define GLGETUNIFORMFV_DECL
12432   csGLGETUNIFORMFV glGetUniformfv;
12433   #endif
12434 
12435   #ifndef GLGETUNIFORMIV_DECL
12436   #define GLGETUNIFORMIV_DECL
12437   csGLGETUNIFORMIV glGetUniformiv;
12438   #endif
12439 
12440   #ifndef GLGETSHADERSOURCE_DECL
12441   #define GLGETSHADERSOURCE_DECL
12442   csGLGETSHADERSOURCE glGetShaderSource;
12443   #endif
12444 
12445   #ifndef GLVERTEXATTRIB1S_DECL
12446   #define GLVERTEXATTRIB1S_DECL
12447   csGLVERTEXATTRIB1S glVertexAttrib1s;
12448   #endif
12449 
12450   #ifndef GLVERTEXATTRIB1F_DECL
12451   #define GLVERTEXATTRIB1F_DECL
12452   csGLVERTEXATTRIB1F glVertexAttrib1f;
12453   #endif
12454 
12455   #ifndef GLVERTEXATTRIB1D_DECL
12456   #define GLVERTEXATTRIB1D_DECL
12457   csGLVERTEXATTRIB1D glVertexAttrib1d;
12458   #endif
12459 
12460   #ifndef GLVERTEXATTRIB2S_DECL
12461   #define GLVERTEXATTRIB2S_DECL
12462   csGLVERTEXATTRIB2S glVertexAttrib2s;
12463   #endif
12464 
12465   #ifndef GLVERTEXATTRIB2F_DECL
12466   #define GLVERTEXATTRIB2F_DECL
12467   csGLVERTEXATTRIB2F glVertexAttrib2f;
12468   #endif
12469 
12470   #ifndef GLVERTEXATTRIB2D_DECL
12471   #define GLVERTEXATTRIB2D_DECL
12472   csGLVERTEXATTRIB2D glVertexAttrib2d;
12473   #endif
12474 
12475   #ifndef GLVERTEXATTRIB3S_DECL
12476   #define GLVERTEXATTRIB3S_DECL
12477   csGLVERTEXATTRIB3S glVertexAttrib3s;
12478   #endif
12479 
12480   #ifndef GLVERTEXATTRIB3F_DECL
12481   #define GLVERTEXATTRIB3F_DECL
12482   csGLVERTEXATTRIB3F glVertexAttrib3f;
12483   #endif
12484 
12485   #ifndef GLVERTEXATTRIB3D_DECL
12486   #define GLVERTEXATTRIB3D_DECL
12487   csGLVERTEXATTRIB3D glVertexAttrib3d;
12488   #endif
12489 
12490   #ifndef GLVERTEXATTRIB4S_DECL
12491   #define GLVERTEXATTRIB4S_DECL
12492   csGLVERTEXATTRIB4S glVertexAttrib4s;
12493   #endif
12494 
12495   #ifndef GLVERTEXATTRIB4F_DECL
12496   #define GLVERTEXATTRIB4F_DECL
12497   csGLVERTEXATTRIB4F glVertexAttrib4f;
12498   #endif
12499 
12500   #ifndef GLVERTEXATTRIB4D_DECL
12501   #define GLVERTEXATTRIB4D_DECL
12502   csGLVERTEXATTRIB4D glVertexAttrib4d;
12503   #endif
12504 
12505   #ifndef GLVERTEXATTRIB4NUB_DECL
12506   #define GLVERTEXATTRIB4NUB_DECL
12507   csGLVERTEXATTRIB4NUB glVertexAttrib4Nub;
12508   #endif
12509 
12510   #ifndef GLVERTEXATTRIB1SV_DECL
12511   #define GLVERTEXATTRIB1SV_DECL
12512   csGLVERTEXATTRIB1SV glVertexAttrib1sv;
12513   #endif
12514 
12515   #ifndef GLVERTEXATTRIB1FV_DECL
12516   #define GLVERTEXATTRIB1FV_DECL
12517   csGLVERTEXATTRIB1FV glVertexAttrib1fv;
12518   #endif
12519 
12520   #ifndef GLVERTEXATTRIB1DV_DECL
12521   #define GLVERTEXATTRIB1DV_DECL
12522   csGLVERTEXATTRIB1DV glVertexAttrib1dv;
12523   #endif
12524 
12525   #ifndef GLVERTEXATTRIB2SV_DECL
12526   #define GLVERTEXATTRIB2SV_DECL
12527   csGLVERTEXATTRIB2SV glVertexAttrib2sv;
12528   #endif
12529 
12530   #ifndef GLVERTEXATTRIB2FV_DECL
12531   #define GLVERTEXATTRIB2FV_DECL
12532   csGLVERTEXATTRIB2FV glVertexAttrib2fv;
12533   #endif
12534 
12535   #ifndef GLVERTEXATTRIB2DV_DECL
12536   #define GLVERTEXATTRIB2DV_DECL
12537   csGLVERTEXATTRIB2DV glVertexAttrib2dv;
12538   #endif
12539 
12540   #ifndef GLVERTEXATTRIB3SV_DECL
12541   #define GLVERTEXATTRIB3SV_DECL
12542   csGLVERTEXATTRIB3SV glVertexAttrib3sv;
12543   #endif
12544 
12545   #ifndef GLVERTEXATTRIB3FV_DECL
12546   #define GLVERTEXATTRIB3FV_DECL
12547   csGLVERTEXATTRIB3FV glVertexAttrib3fv;
12548   #endif
12549 
12550   #ifndef GLVERTEXATTRIB3DV_DECL
12551   #define GLVERTEXATTRIB3DV_DECL
12552   csGLVERTEXATTRIB3DV glVertexAttrib3dv;
12553   #endif
12554 
12555   #ifndef GLVERTEXATTRIB4BV_DECL
12556   #define GLVERTEXATTRIB4BV_DECL
12557   csGLVERTEXATTRIB4BV glVertexAttrib4bv;
12558   #endif
12559 
12560   #ifndef GLVERTEXATTRIB4SV_DECL
12561   #define GLVERTEXATTRIB4SV_DECL
12562   csGLVERTEXATTRIB4SV glVertexAttrib4sv;
12563   #endif
12564 
12565   #ifndef GLVERTEXATTRIB4IV_DECL
12566   #define GLVERTEXATTRIB4IV_DECL
12567   csGLVERTEXATTRIB4IV glVertexAttrib4iv;
12568   #endif
12569 
12570   #ifndef GLVERTEXATTRIB4UBV_DECL
12571   #define GLVERTEXATTRIB4UBV_DECL
12572   csGLVERTEXATTRIB4UBV glVertexAttrib4ubv;
12573   #endif
12574 
12575   #ifndef GLVERTEXATTRIB4USV_DECL
12576   #define GLVERTEXATTRIB4USV_DECL
12577   csGLVERTEXATTRIB4USV glVertexAttrib4usv;
12578   #endif
12579 
12580   #ifndef GLVERTEXATTRIB4UIV_DECL
12581   #define GLVERTEXATTRIB4UIV_DECL
12582   csGLVERTEXATTRIB4UIV glVertexAttrib4uiv;
12583   #endif
12584 
12585   #ifndef GLVERTEXATTRIB4FV_DECL
12586   #define GLVERTEXATTRIB4FV_DECL
12587   csGLVERTEXATTRIB4FV glVertexAttrib4fv;
12588   #endif
12589 
12590   #ifndef GLVERTEXATTRIB4DV_DECL
12591   #define GLVERTEXATTRIB4DV_DECL
12592   csGLVERTEXATTRIB4DV glVertexAttrib4dv;
12593   #endif
12594 
12595   #ifndef GLVERTEXATTRIB4NBV_DECL
12596   #define GLVERTEXATTRIB4NBV_DECL
12597   csGLVERTEXATTRIB4NBV glVertexAttrib4Nbv;
12598   #endif
12599 
12600   #ifndef GLVERTEXATTRIB4NSV_DECL
12601   #define GLVERTEXATTRIB4NSV_DECL
12602   csGLVERTEXATTRIB4NSV glVertexAttrib4Nsv;
12603   #endif
12604 
12605   #ifndef GLVERTEXATTRIB4NIV_DECL
12606   #define GLVERTEXATTRIB4NIV_DECL
12607   csGLVERTEXATTRIB4NIV glVertexAttrib4Niv;
12608   #endif
12609 
12610   #ifndef GLVERTEXATTRIB4NUBV_DECL
12611   #define GLVERTEXATTRIB4NUBV_DECL
12612   csGLVERTEXATTRIB4NUBV glVertexAttrib4Nubv;
12613   #endif
12614 
12615   #ifndef GLVERTEXATTRIB4NUSV_DECL
12616   #define GLVERTEXATTRIB4NUSV_DECL
12617   csGLVERTEXATTRIB4NUSV glVertexAttrib4Nusv;
12618   #endif
12619 
12620   #ifndef GLVERTEXATTRIB4NUIV_DECL
12621   #define GLVERTEXATTRIB4NUIV_DECL
12622   csGLVERTEXATTRIB4NUIV glVertexAttrib4Nuiv;
12623   #endif
12624 
12625   #ifndef GLVERTEXATTRIBPOINTER_DECL
12626   #define GLVERTEXATTRIBPOINTER_DECL
12627   csGLVERTEXATTRIBPOINTER glVertexAttribPointer;
12628   #endif
12629 
12630   #ifndef GLENABLEVERTEXATTRIBARRAY_DECL
12631   #define GLENABLEVERTEXATTRIBARRAY_DECL
12632   csGLENABLEVERTEXATTRIBARRAY glEnableVertexAttribArray;
12633   #endif
12634 
12635   #ifndef GLDISABLEVERTEXATTRIBARRAY_DECL
12636   #define GLDISABLEVERTEXATTRIBARRAY_DECL
12637   csGLDISABLEVERTEXATTRIBARRAY glDisableVertexAttribArray;
12638   #endif
12639 
12640   #ifndef GLBINDATTRIBLOCATION_DECL
12641   #define GLBINDATTRIBLOCATION_DECL
12642   csGLBINDATTRIBLOCATION glBindAttribLocation;
12643   #endif
12644 
12645   #ifndef GLGETACTIVEATTRIB_DECL
12646   #define GLGETACTIVEATTRIB_DECL
12647   csGLGETACTIVEATTRIB glGetActiveAttrib;
12648   #endif
12649 
12650   #ifndef GLGETATTRIBLOCATION_DECL
12651   #define GLGETATTRIBLOCATION_DECL
12652   csGLGETATTRIBLOCATION glGetAttribLocation;
12653   #endif
12654 
12655   #ifndef GLGETVERTEXATTRIBPOINTERV_DECL
12656   #define GLGETVERTEXATTRIBPOINTERV_DECL
12657   csGLGETVERTEXATTRIBPOINTERV glGetVertexAttribPointerv;
12658   #endif
12659 
12660   #ifndef GLDRAWBUFFERS_DECL
12661   #define GLDRAWBUFFERS_DECL
12662   csGLDRAWBUFFERS glDrawBuffers;
12663   #endif
12664 
12665   #ifndef GLBLENDEQUATIONSEPARATE_DECL
12666   #define GLBLENDEQUATIONSEPARATE_DECL
12667   csGLBLENDEQUATIONSEPARATE glBlendEquationSeparate;
12668   #endif
12669 
12670   #ifndef GLSTENCILFUNCSEPARATE_DECL
12671   #define GLSTENCILFUNCSEPARATE_DECL
12672   csGLSTENCILFUNCSEPARATE glStencilFuncSeparate;
12673   #endif
12674 
12675   #ifndef GLSTENCILOPSEPARATE_DECL
12676   #define GLSTENCILOPSEPARATE_DECL
12677   csGLSTENCILOPSEPARATE glStencilOpSeparate;
12678   #endif
12679 
12680 
12686   #ifndef GLUNIFORMMATRIX2X3FV_DECL
12687   #define GLUNIFORMMATRIX2X3FV_DECL
12688   csGLUNIFORMMATRIX2X3FV glUniformMatrix2x3fv;
12689   #endif
12690 
12691   #ifndef GLUNIFORMMATRIX3X2FV_DECL
12692   #define GLUNIFORMMATRIX3X2FV_DECL
12693   csGLUNIFORMMATRIX3X2FV glUniformMatrix3x2fv;
12694   #endif
12695 
12696   #ifndef GLUNIFORMMATRIX2X4FV_DECL
12697   #define GLUNIFORMMATRIX2X4FV_DECL
12698   csGLUNIFORMMATRIX2X4FV glUniformMatrix2x4fv;
12699   #endif
12700 
12701   #ifndef GLUNIFORMMATRIX4X2FV_DECL
12702   #define GLUNIFORMMATRIX4X2FV_DECL
12703   csGLUNIFORMMATRIX4X2FV glUniformMatrix4x2fv;
12704   #endif
12705 
12706   #ifndef GLUNIFORMMATRIX3X4FV_DECL
12707   #define GLUNIFORMMATRIX3X4FV_DECL
12708   csGLUNIFORMMATRIX3X4FV glUniformMatrix3x4fv;
12709   #endif
12710 
12711   #ifndef GLUNIFORMMATRIX4X3FV_DECL
12712   #define GLUNIFORMMATRIX4X3FV_DECL
12713   csGLUNIFORMMATRIX4X3FV glUniformMatrix4x3fv;
12714   #endif
12715 
12716 
12720   #ifndef GLGENQUERIESARB_DECL
12721   #define GLGENQUERIESARB_DECL
12722   csGLGENQUERIESARB glGenQueriesARB;
12723   #endif
12724 
12725   #ifndef GLDELETEQUERIESARB_DECL
12726   #define GLDELETEQUERIESARB_DECL
12727   csGLDELETEQUERIESARB glDeleteQueriesARB;
12728   #endif
12729 
12730   #ifndef GLISQUERYARB_DECL
12731   #define GLISQUERYARB_DECL
12732   csGLISQUERYARB glIsQueryARB;
12733   #endif
12734 
12735   #ifndef GLBEGINQUERYARB_DECL
12736   #define GLBEGINQUERYARB_DECL
12737   csGLBEGINQUERYARB glBeginQueryARB;
12738   #endif
12739 
12740   #ifndef GLENDQUERYARB_DECL
12741   #define GLENDQUERYARB_DECL
12742   csGLENDQUERYARB glEndQueryARB;
12743   #endif
12744 
12745   #ifndef GLGETQUERYIVARB_DECL
12746   #define GLGETQUERYIVARB_DECL
12747   csGLGETQUERYIVARB glGetQueryivARB;
12748   #endif
12749 
12750   #ifndef GLGETQUERYOBJECTIVARB_DECL
12751   #define GLGETQUERYOBJECTIVARB_DECL
12752   csGLGETQUERYOBJECTIVARB glGetQueryObjectivARB;
12753   #endif
12754 
12755   #ifndef GLGETQUERYOBJECTUIVARB_DECL
12756   #define GLGETQUERYOBJECTUIVARB_DECL
12757   csGLGETQUERYOBJECTUIVARB glGetQueryObjectuivARB;
12758   #endif
12759 
12760 
12764   #ifndef GLGETQUERYOBJECTI64V_DECL
12765   #define GLGETQUERYOBJECTI64V_DECL
12766   csGLGETQUERYOBJECTI64V glGetQueryObjecti64v;
12767   #endif
12768 
12769   #ifndef GLGETQUERYOBJECTUI64V_DECL
12770   #define GLGETQUERYOBJECTUI64V_DECL
12771   csGLGETQUERYOBJECTUI64V glGetQueryObjectui64v;
12772   #endif
12773 
12774 
12778   #ifndef GLDRAWARRAYSINSTANCEDARB_DECL
12779   #define GLDRAWARRAYSINSTANCEDARB_DECL
12780   csGLDRAWARRAYSINSTANCEDARB glDrawArraysInstancedARB;
12781   #endif
12782 
12783   #ifndef GLDRAWELEMENTSINSTANCEDARB_DECL
12784   #define GLDRAWELEMENTSINSTANCEDARB_DECL
12785   csGLDRAWELEMENTSINSTANCEDARB glDrawElementsInstancedARB;
12786   #endif
12787 
12788 
12793   #ifndef GLCOLORTABLE_DECL
12794   #define GLCOLORTABLE_DECL
12795   csGLCOLORTABLE glColorTable;
12796   #endif
12797 
12798   #ifndef GLCOLORTABLEPARAMETERFV_DECL
12799   #define GLCOLORTABLEPARAMETERFV_DECL
12800   csGLCOLORTABLEPARAMETERFV glColorTableParameterfv;
12801   #endif
12802 
12803   #ifndef GLCOLORTABLEPARAMETERIV_DECL
12804   #define GLCOLORTABLEPARAMETERIV_DECL
12805   csGLCOLORTABLEPARAMETERIV glColorTableParameteriv;
12806   #endif
12807 
12808   #ifndef GLCOPYCOLORTABLE_DECL
12809   #define GLCOPYCOLORTABLE_DECL
12810   csGLCOPYCOLORTABLE glCopyColorTable;
12811   #endif
12812 
12813   #ifndef GLGETCOLORTABLE_DECL
12814   #define GLGETCOLORTABLE_DECL
12815   csGLGETCOLORTABLE glGetColorTable;
12816   #endif
12817 
12818   #ifndef GLGETCOLORTABLEPARAMETERFV_DECL
12819   #define GLGETCOLORTABLEPARAMETERFV_DECL
12820   csGLGETCOLORTABLEPARAMETERFV glGetColorTableParameterfv;
12821   #endif
12822 
12823   #ifndef GLGETCOLORTABLEPARAMETERIV_DECL
12824   #define GLGETCOLORTABLEPARAMETERIV_DECL
12825   csGLGETCOLORTABLEPARAMETERIV glGetColorTableParameteriv;
12826   #endif
12827 
12828   #ifndef GLCOLORSUBTABLE_DECL
12829   #define GLCOLORSUBTABLE_DECL
12830   csGLCOLORSUBTABLE glColorSubTable;
12831   #endif
12832 
12833   #ifndef GLCOPYCOLORSUBTABLE_DECL
12834   #define GLCOPYCOLORSUBTABLE_DECL
12835   csGLCOPYCOLORSUBTABLE glCopyColorSubTable;
12836   #endif
12837 
12838   #ifndef GLCONVOLUTIONFILTER1D_DECL
12839   #define GLCONVOLUTIONFILTER1D_DECL
12840   csGLCONVOLUTIONFILTER1D glConvolutionFilter1D;
12841   #endif
12842 
12843   #ifndef GLCONVOLUTIONFILTER2D_DECL
12844   #define GLCONVOLUTIONFILTER2D_DECL
12845   csGLCONVOLUTIONFILTER2D glConvolutionFilter2D;
12846   #endif
12847 
12848   #ifndef GLCONVOLUTIONPARAMETERF_DECL
12849   #define GLCONVOLUTIONPARAMETERF_DECL
12850   csGLCONVOLUTIONPARAMETERF glConvolutionParameterf;
12851   #endif
12852 
12853   #ifndef GLCONVOLUTIONPARAMETERFV_DECL
12854   #define GLCONVOLUTIONPARAMETERFV_DECL
12855   csGLCONVOLUTIONPARAMETERFV glConvolutionParameterfv;
12856   #endif
12857 
12858   #ifndef GLCONVOLUTIONPARAMETERI_DECL
12859   #define GLCONVOLUTIONPARAMETERI_DECL
12860   csGLCONVOLUTIONPARAMETERI glConvolutionParameteri;
12861   #endif
12862 
12863   #ifndef GLCONVOLUTIONPARAMETERIV_DECL
12864   #define GLCONVOLUTIONPARAMETERIV_DECL
12865   csGLCONVOLUTIONPARAMETERIV glConvolutionParameteriv;
12866   #endif
12867 
12868   #ifndef GLCOPYCONVOLUTIONFILTER1D_DECL
12869   #define GLCOPYCONVOLUTIONFILTER1D_DECL
12870   csGLCOPYCONVOLUTIONFILTER1D glCopyConvolutionFilter1D;
12871   #endif
12872 
12873   #ifndef GLCOPYCONVOLUTIONFILTER2D_DECL
12874   #define GLCOPYCONVOLUTIONFILTER2D_DECL
12875   csGLCOPYCONVOLUTIONFILTER2D glCopyConvolutionFilter2D;
12876   #endif
12877 
12878   #ifndef GLGETCONVOLUTIONFILTER_DECL
12879   #define GLGETCONVOLUTIONFILTER_DECL
12880   csGLGETCONVOLUTIONFILTER glGetConvolutionFilter;
12881   #endif
12882 
12883   #ifndef GLGETCONVOLUTIONPARAMETERFV_DECL
12884   #define GLGETCONVOLUTIONPARAMETERFV_DECL
12885   csGLGETCONVOLUTIONPARAMETERFV glGetConvolutionParameterfv;
12886   #endif
12887 
12888   #ifndef GLGETCONVOLUTIONPARAMETERIV_DECL
12889   #define GLGETCONVOLUTIONPARAMETERIV_DECL
12890   csGLGETCONVOLUTIONPARAMETERIV glGetConvolutionParameteriv;
12891   #endif
12892 
12893   #ifndef GLGETSEPARABLEFILTER_DECL
12894   #define GLGETSEPARABLEFILTER_DECL
12895   csGLGETSEPARABLEFILTER glGetSeparableFilter;
12896   #endif
12897 
12898   #ifndef GLSEPARABLEFILTER2D_DECL
12899   #define GLSEPARABLEFILTER2D_DECL
12900   csGLSEPARABLEFILTER2D glSeparableFilter2D;
12901   #endif
12902 
12903   #ifndef GLGETHISTOGRAM_DECL
12904   #define GLGETHISTOGRAM_DECL
12905   csGLGETHISTOGRAM glGetHistogram;
12906   #endif
12907 
12908   #ifndef GLGETHISTOGRAMPARAMETERFV_DECL
12909   #define GLGETHISTOGRAMPARAMETERFV_DECL
12910   csGLGETHISTOGRAMPARAMETERFV glGetHistogramParameterfv;
12911   #endif
12912 
12913   #ifndef GLGETHISTOGRAMPARAMETERIV_DECL
12914   #define GLGETHISTOGRAMPARAMETERIV_DECL
12915   csGLGETHISTOGRAMPARAMETERIV glGetHistogramParameteriv;
12916   #endif
12917 
12918   #ifndef GLGETMINMAX_DECL
12919   #define GLGETMINMAX_DECL
12920   csGLGETMINMAX glGetMinmax;
12921   #endif
12922 
12923   #ifndef GLGETMINMAXPARAMETERFV_DECL
12924   #define GLGETMINMAXPARAMETERFV_DECL
12925   csGLGETMINMAXPARAMETERFV glGetMinmaxParameterfv;
12926   #endif
12927 
12928   #ifndef GLGETMINMAXPARAMETERIV_DECL
12929   #define GLGETMINMAXPARAMETERIV_DECL
12930   csGLGETMINMAXPARAMETERIV glGetMinmaxParameteriv;
12931   #endif
12932 
12933   #ifndef GLHISTOGRAM_DECL
12934   #define GLHISTOGRAM_DECL
12935   csGLHISTOGRAM glHistogram;
12936   #endif
12937 
12938   #ifndef GLMINMAX_DECL
12939   #define GLMINMAX_DECL
12940   csGLMINMAX glMinmax;
12941   #endif
12942 
12943   #ifndef GLRESETHISTOGRAM_DECL
12944   #define GLRESETHISTOGRAM_DECL
12945   csGLRESETHISTOGRAM glResetHistogram;
12946   #endif
12947 
12948   #ifndef GLRESETMINMAX_DECL
12949   #define GLRESETMINMAX_DECL
12950   csGLRESETMINMAX glResetMinmax;
12951   #endif
12952 
12953   #ifndef GLBLENDCOLOR_DECL
12954   #define GLBLENDCOLOR_DECL
12955   csGLBLENDCOLOR glBlendColor;
12956   #endif
12957 
12958   #ifndef GLBLENDEQUATION_DECL
12959   #define GLBLENDEQUATION_DECL
12960   csGLBLENDEQUATION glBlendEquation;
12961   #endif
12962 
12963 
12968   #ifndef GLACTIVETEXTUREARB_DECL
12969   #define GLACTIVETEXTUREARB_DECL
12970   csGLACTIVETEXTUREARB glActiveTextureARB;
12971   #endif
12972 
12973   #ifndef GLCLIENTACTIVETEXTUREARB_DECL
12974   #define GLCLIENTACTIVETEXTUREARB_DECL
12975   csGLCLIENTACTIVETEXTUREARB glClientActiveTextureARB;
12976   #endif
12977 
12978   #ifndef GLMULTITEXCOORD1DARB_DECL
12979   #define GLMULTITEXCOORD1DARB_DECL
12980   csGLMULTITEXCOORD1DARB glMultiTexCoord1dARB;
12981   #endif
12982 
12983   #ifndef GLMULTITEXCOORD1DVARB_DECL
12984   #define GLMULTITEXCOORD1DVARB_DECL
12985   csGLMULTITEXCOORD1DVARB glMultiTexCoord1dvARB;
12986   #endif
12987 
12988   #ifndef GLMULTITEXCOORD1FARB_DECL
12989   #define GLMULTITEXCOORD1FARB_DECL
12990   csGLMULTITEXCOORD1FARB glMultiTexCoord1fARB;
12991   #endif
12992 
12993   #ifndef GLMULTITEXCOORD1FVARB_DECL
12994   #define GLMULTITEXCOORD1FVARB_DECL
12995   csGLMULTITEXCOORD1FVARB glMultiTexCoord1fvARB;
12996   #endif
12997 
12998   #ifndef GLMULTITEXCOORD1IARB_DECL
12999   #define GLMULTITEXCOORD1IARB_DECL
13000   csGLMULTITEXCOORD1IARB glMultiTexCoord1iARB;
13001   #endif
13002 
13003   #ifndef GLMULTITEXCOORD1IVARB_DECL
13004   #define GLMULTITEXCOORD1IVARB_DECL
13005   csGLMULTITEXCOORD1IVARB glMultiTexCoord1ivARB;
13006   #endif
13007 
13008   #ifndef GLMULTITEXCOORD1SARB_DECL
13009   #define GLMULTITEXCOORD1SARB_DECL
13010   csGLMULTITEXCOORD1SARB glMultiTexCoord1sARB;
13011   #endif
13012 
13013   #ifndef GLMULTITEXCOORD1SVARB_DECL
13014   #define GLMULTITEXCOORD1SVARB_DECL
13015   csGLMULTITEXCOORD1SVARB glMultiTexCoord1svARB;
13016   #endif
13017 
13018   #ifndef GLMULTITEXCOORD2DARB_DECL
13019   #define GLMULTITEXCOORD2DARB_DECL
13020   csGLMULTITEXCOORD2DARB glMultiTexCoord2dARB;
13021   #endif
13022 
13023   #ifndef GLMULTITEXCOORD2DVARB_DECL
13024   #define GLMULTITEXCOORD2DVARB_DECL
13025   csGLMULTITEXCOORD2DVARB glMultiTexCoord2dvARB;
13026   #endif
13027 
13028   #ifndef GLMULTITEXCOORD2FARB_DECL
13029   #define GLMULTITEXCOORD2FARB_DECL
13030   csGLMULTITEXCOORD2FARB glMultiTexCoord2fARB;
13031   #endif
13032 
13033   #ifndef GLMULTITEXCOORD2FVARB_DECL
13034   #define GLMULTITEXCOORD2FVARB_DECL
13035   csGLMULTITEXCOORD2FVARB glMultiTexCoord2fvARB;
13036   #endif
13037 
13038   #ifndef GLMULTITEXCOORD2IARB_DECL
13039   #define GLMULTITEXCOORD2IARB_DECL
13040   csGLMULTITEXCOORD2IARB glMultiTexCoord2iARB;
13041   #endif
13042 
13043   #ifndef GLMULTITEXCOORD2IVARB_DECL
13044   #define GLMULTITEXCOORD2IVARB_DECL
13045   csGLMULTITEXCOORD2IVARB glMultiTexCoord2ivARB;
13046   #endif
13047 
13048   #ifndef GLMULTITEXCOORD2SARB_DECL
13049   #define GLMULTITEXCOORD2SARB_DECL
13050   csGLMULTITEXCOORD2SARB glMultiTexCoord2sARB;
13051   #endif
13052 
13053   #ifndef GLMULTITEXCOORD2SVARB_DECL
13054   #define GLMULTITEXCOORD2SVARB_DECL
13055   csGLMULTITEXCOORD2SVARB glMultiTexCoord2svARB;
13056   #endif
13057 
13058   #ifndef GLMULTITEXCOORD3DARB_DECL
13059   #define GLMULTITEXCOORD3DARB_DECL
13060   csGLMULTITEXCOORD3DARB glMultiTexCoord3dARB;
13061   #endif
13062 
13063   #ifndef GLMULTITEXCOORD3DVARB_DECL
13064   #define GLMULTITEXCOORD3DVARB_DECL
13065   csGLMULTITEXCOORD3DVARB glMultiTexCoord3dvARB;
13066   #endif
13067 
13068   #ifndef GLMULTITEXCOORD3FARB_DECL
13069   #define GLMULTITEXCOORD3FARB_DECL
13070   csGLMULTITEXCOORD3FARB glMultiTexCoord3fARB;
13071   #endif
13072 
13073   #ifndef GLMULTITEXCOORD3FVARB_DECL
13074   #define GLMULTITEXCOORD3FVARB_DECL
13075   csGLMULTITEXCOORD3FVARB glMultiTexCoord3fvARB;
13076   #endif
13077 
13078   #ifndef GLMULTITEXCOORD3IARB_DECL
13079   #define GLMULTITEXCOORD3IARB_DECL
13080   csGLMULTITEXCOORD3IARB glMultiTexCoord3iARB;
13081   #endif
13082 
13083   #ifndef GLMULTITEXCOORD3IVARB_DECL
13084   #define GLMULTITEXCOORD3IVARB_DECL
13085   csGLMULTITEXCOORD3IVARB glMultiTexCoord3ivARB;
13086   #endif
13087 
13088   #ifndef GLMULTITEXCOORD3SARB_DECL
13089   #define GLMULTITEXCOORD3SARB_DECL
13090   csGLMULTITEXCOORD3SARB glMultiTexCoord3sARB;
13091   #endif
13092 
13093   #ifndef GLMULTITEXCOORD3SVARB_DECL
13094   #define GLMULTITEXCOORD3SVARB_DECL
13095   csGLMULTITEXCOORD3SVARB glMultiTexCoord3svARB;
13096   #endif
13097 
13098   #ifndef GLMULTITEXCOORD4DARB_DECL
13099   #define GLMULTITEXCOORD4DARB_DECL
13100   csGLMULTITEXCOORD4DARB glMultiTexCoord4dARB;
13101   #endif
13102 
13103   #ifndef GLMULTITEXCOORD4DVARB_DECL
13104   #define GLMULTITEXCOORD4DVARB_DECL
13105   csGLMULTITEXCOORD4DVARB glMultiTexCoord4dvARB;
13106   #endif
13107 
13108   #ifndef GLMULTITEXCOORD4FARB_DECL
13109   #define GLMULTITEXCOORD4FARB_DECL
13110   csGLMULTITEXCOORD4FARB glMultiTexCoord4fARB;
13111   #endif
13112 
13113   #ifndef GLMULTITEXCOORD4FVARB_DECL
13114   #define GLMULTITEXCOORD4FVARB_DECL
13115   csGLMULTITEXCOORD4FVARB glMultiTexCoord4fvARB;
13116   #endif
13117 
13118   #ifndef GLMULTITEXCOORD4IARB_DECL
13119   #define GLMULTITEXCOORD4IARB_DECL
13120   csGLMULTITEXCOORD4IARB glMultiTexCoord4iARB;
13121   #endif
13122 
13123   #ifndef GLMULTITEXCOORD4IVARB_DECL
13124   #define GLMULTITEXCOORD4IVARB_DECL
13125   csGLMULTITEXCOORD4IVARB glMultiTexCoord4ivARB;
13126   #endif
13127 
13128   #ifndef GLMULTITEXCOORD4SARB_DECL
13129   #define GLMULTITEXCOORD4SARB_DECL
13130   csGLMULTITEXCOORD4SARB glMultiTexCoord4sARB;
13131   #endif
13132 
13133   #ifndef GLMULTITEXCOORD4SVARB_DECL
13134   #define GLMULTITEXCOORD4SVARB_DECL
13135   csGLMULTITEXCOORD4SVARB glMultiTexCoord4svARB;
13136   #endif
13137 
13138 
13143   #ifndef GLLOADTRANSPOSEMATRIXFARB_DECL
13144   #define GLLOADTRANSPOSEMATRIXFARB_DECL
13145   csGLLOADTRANSPOSEMATRIXFARB glLoadTransposeMatrixfARB;
13146   #endif
13147 
13148   #ifndef GLLOADTRANSPOSEMATRIXDARB_DECL
13149   #define GLLOADTRANSPOSEMATRIXDARB_DECL
13150   csGLLOADTRANSPOSEMATRIXDARB glLoadTransposeMatrixdARB;
13151   #endif
13152 
13153   #ifndef GLMULTTRANSPOSEMATRIXFARB_DECL
13154   #define GLMULTTRANSPOSEMATRIXFARB_DECL
13155   csGLMULTTRANSPOSEMATRIXFARB glMultTransposeMatrixfARB;
13156   #endif
13157 
13158   #ifndef GLMULTTRANSPOSEMATRIXDARB_DECL
13159   #define GLMULTTRANSPOSEMATRIXDARB_DECL
13160   csGLMULTTRANSPOSEMATRIXDARB glMultTransposeMatrixdARB;
13161   #endif
13162 
13163 
13168   #ifndef GLSAMPLECOVERAGEARB_DECL
13169   #define GLSAMPLECOVERAGEARB_DECL
13170   csGLSAMPLECOVERAGEARB glSampleCoverageARB;
13171   #endif
13172 
13173 
13175 #ifdef CS_OPENGL_GLX
13176 
13181 #endif // CS_OPENGL_GLX
13182 
13188 #ifdef _WIN32
13189 
13192   #ifndef WGLGETEXTENSIONSSTRINGARB_DECL
13193   #define WGLGETEXTENSIONSSTRINGARB_DECL
13194   csWGLGETEXTENSIONSSTRINGARB wglGetExtensionsStringARB;
13195   #endif
13196 
13197 
13199 #endif // _WIN32
13200 
13201 #ifdef _WIN32
13202 
13205   #ifndef WGLCREATEBUFFERREGIONARB_DECL
13206   #define WGLCREATEBUFFERREGIONARB_DECL
13207   csWGLCREATEBUFFERREGIONARB wglCreateBufferRegionARB;
13208   #endif
13209 
13210   #ifndef WGLDELETEBUFFERREGIONARB_DECL
13211   #define WGLDELETEBUFFERREGIONARB_DECL
13212   csWGLDELETEBUFFERREGIONARB wglDeleteBufferRegionARB;
13213   #endif
13214 
13215   #ifndef WGLSAVEBUFFERREGIONARB_DECL
13216   #define WGLSAVEBUFFERREGIONARB_DECL
13217   csWGLSAVEBUFFERREGIONARB wglSaveBufferRegionARB;
13218   #endif
13219 
13220   #ifndef WGLRESTOREBUFFERREGIONARB_DECL
13221   #define WGLRESTOREBUFFERREGIONARB_DECL
13222   csWGLRESTOREBUFFERREGIONARB wglRestoreBufferRegionARB;
13223   #endif
13224 
13225 
13227 #endif // _WIN32
13228 
13242   #ifndef GLPOINTPARAMETERFARB_DECL
13243   #define GLPOINTPARAMETERFARB_DECL
13244   csGLPOINTPARAMETERFARB glPointParameterfARB;
13245   #endif
13246 
13247   #ifndef GLPOINTPARAMETERFVARB_DECL
13248   #define GLPOINTPARAMETERFVARB_DECL
13249   csGLPOINTPARAMETERFVARB glPointParameterfvARB;
13250   #endif
13251 
13252 
13272   #ifndef GLCOMPRESSEDTEXIMAGE3DARB_DECL
13273   #define GLCOMPRESSEDTEXIMAGE3DARB_DECL
13274   csGLCOMPRESSEDTEXIMAGE3DARB glCompressedTexImage3DARB;
13275   #endif
13276 
13277   #ifndef GLCOMPRESSEDTEXIMAGE2DARB_DECL
13278   #define GLCOMPRESSEDTEXIMAGE2DARB_DECL
13279   csGLCOMPRESSEDTEXIMAGE2DARB glCompressedTexImage2DARB;
13280   #endif
13281 
13282   #ifndef GLCOMPRESSEDTEXIMAGE1DARB_DECL
13283   #define GLCOMPRESSEDTEXIMAGE1DARB_DECL
13284   csGLCOMPRESSEDTEXIMAGE1DARB glCompressedTexImage1DARB;
13285   #endif
13286 
13287   #ifndef GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
13288   #define GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL
13289   csGLCOMPRESSEDTEXSUBIMAGE3DARB glCompressedTexSubImage3DARB;
13290   #endif
13291 
13292   #ifndef GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
13293   #define GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL
13294   csGLCOMPRESSEDTEXSUBIMAGE2DARB glCompressedTexSubImage2DARB;
13295   #endif
13296 
13297   #ifndef GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
13298   #define GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL
13299   csGLCOMPRESSEDTEXSUBIMAGE1DARB glCompressedTexSubImage1DARB;
13300   #endif
13301 
13302   #ifndef GLGETCOMPRESSEDTEXIMAGEARB_DECL
13303   #define GLGETCOMPRESSEDTEXIMAGEARB_DECL
13304   csGLGETCOMPRESSEDTEXIMAGEARB glGetCompressedTexImageARB;
13305   #endif
13306 
13307 
13332   #ifndef GLWEIGHTBVARB_DECL
13333   #define GLWEIGHTBVARB_DECL
13334   csGLWEIGHTBVARB glWeightbvARB;
13335   #endif
13336 
13337   #ifndef GLWEIGHTSVARB_DECL
13338   #define GLWEIGHTSVARB_DECL
13339   csGLWEIGHTSVARB glWeightsvARB;
13340   #endif
13341 
13342   #ifndef GLWEIGHTIVARB_DECL
13343   #define GLWEIGHTIVARB_DECL
13344   csGLWEIGHTIVARB glWeightivARB;
13345   #endif
13346 
13347   #ifndef GLWEIGHTFVARB_DECL
13348   #define GLWEIGHTFVARB_DECL
13349   csGLWEIGHTFVARB glWeightfvARB;
13350   #endif
13351 
13352   #ifndef GLWEIGHTDVARB_DECL
13353   #define GLWEIGHTDVARB_DECL
13354   csGLWEIGHTDVARB glWeightdvARB;
13355   #endif
13356 
13357   #ifndef GLWEIGHTVARB_DECL
13358   #define GLWEIGHTVARB_DECL
13359   csGLWEIGHTVARB glWeightvARB;
13360   #endif
13361 
13362   #ifndef GLWEIGHTUBVARB_DECL
13363   #define GLWEIGHTUBVARB_DECL
13364   csGLWEIGHTUBVARB glWeightubvARB;
13365   #endif
13366 
13367   #ifndef GLWEIGHTUSVARB_DECL
13368   #define GLWEIGHTUSVARB_DECL
13369   csGLWEIGHTUSVARB glWeightusvARB;
13370   #endif
13371 
13372   #ifndef GLWEIGHTUIVARB_DECL
13373   #define GLWEIGHTUIVARB_DECL
13374   csGLWEIGHTUIVARB glWeightuivARB;
13375   #endif
13376 
13377   #ifndef GLWEIGHTPOINTERARB_DECL
13378   #define GLWEIGHTPOINTERARB_DECL
13379   csGLWEIGHTPOINTERARB glWeightPointerARB;
13380   #endif
13381 
13382   #ifndef GLVERTEXBLENDARB_DECL
13383   #define GLVERTEXBLENDARB_DECL
13384   csGLVERTEXBLENDARB glVertexBlendARB;
13385   #endif
13386 
13387 
13392   #ifndef GLVERTEXATTRIB1SARB_DECL
13393   #define GLVERTEXATTRIB1SARB_DECL
13394   csGLVERTEXATTRIB1SARB glVertexAttrib1sARB;
13395   #endif
13396 
13397   #ifndef GLVERTEXATTRIB1FARB_DECL
13398   #define GLVERTEXATTRIB1FARB_DECL
13399   csGLVERTEXATTRIB1FARB glVertexAttrib1fARB;
13400   #endif
13401 
13402   #ifndef GLVERTEXATTRIB1DARB_DECL
13403   #define GLVERTEXATTRIB1DARB_DECL
13404   csGLVERTEXATTRIB1DARB glVertexAttrib1dARB;
13405   #endif
13406 
13407   #ifndef GLVERTEXATTRIB2SARB_DECL
13408   #define GLVERTEXATTRIB2SARB_DECL
13409   csGLVERTEXATTRIB2SARB glVertexAttrib2sARB;
13410   #endif
13411 
13412   #ifndef GLVERTEXATTRIB2FARB_DECL
13413   #define GLVERTEXATTRIB2FARB_DECL
13414   csGLVERTEXATTRIB2FARB glVertexAttrib2fARB;
13415   #endif
13416 
13417   #ifndef GLVERTEXATTRIB2DARB_DECL
13418   #define GLVERTEXATTRIB2DARB_DECL
13419   csGLVERTEXATTRIB2DARB glVertexAttrib2dARB;
13420   #endif
13421 
13422   #ifndef GLVERTEXATTRIB3SARB_DECL
13423   #define GLVERTEXATTRIB3SARB_DECL
13424   csGLVERTEXATTRIB3SARB glVertexAttrib3sARB;
13425   #endif
13426 
13427   #ifndef GLVERTEXATTRIB3FARB_DECL
13428   #define GLVERTEXATTRIB3FARB_DECL
13429   csGLVERTEXATTRIB3FARB glVertexAttrib3fARB;
13430   #endif
13431 
13432   #ifndef GLVERTEXATTRIB3DARB_DECL
13433   #define GLVERTEXATTRIB3DARB_DECL
13434   csGLVERTEXATTRIB3DARB glVertexAttrib3dARB;
13435   #endif
13436 
13437   #ifndef GLVERTEXATTRIB4SARB_DECL
13438   #define GLVERTEXATTRIB4SARB_DECL
13439   csGLVERTEXATTRIB4SARB glVertexAttrib4sARB;
13440   #endif
13441 
13442   #ifndef GLVERTEXATTRIB4FARB_DECL
13443   #define GLVERTEXATTRIB4FARB_DECL
13444   csGLVERTEXATTRIB4FARB glVertexAttrib4fARB;
13445   #endif
13446 
13447   #ifndef GLVERTEXATTRIB4DARB_DECL
13448   #define GLVERTEXATTRIB4DARB_DECL
13449   csGLVERTEXATTRIB4DARB glVertexAttrib4dARB;
13450   #endif
13451 
13452   #ifndef GLVERTEXATTRIB4NUBARB_DECL
13453   #define GLVERTEXATTRIB4NUBARB_DECL
13454   csGLVERTEXATTRIB4NUBARB glVertexAttrib4NubARB;
13455   #endif
13456 
13457   #ifndef GLVERTEXATTRIB1SVARB_DECL
13458   #define GLVERTEXATTRIB1SVARB_DECL
13459   csGLVERTEXATTRIB1SVARB glVertexAttrib1svARB;
13460   #endif
13461 
13462   #ifndef GLVERTEXATTRIB1FVARB_DECL
13463   #define GLVERTEXATTRIB1FVARB_DECL
13464   csGLVERTEXATTRIB1FVARB glVertexAttrib1fvARB;
13465   #endif
13466 
13467   #ifndef GLVERTEXATTRIB1DVARB_DECL
13468   #define GLVERTEXATTRIB1DVARB_DECL
13469   csGLVERTEXATTRIB1DVARB glVertexAttrib1dvARB;
13470   #endif
13471 
13472   #ifndef GLVERTEXATTRIB2SVARB_DECL
13473   #define GLVERTEXATTRIB2SVARB_DECL
13474   csGLVERTEXATTRIB2SVARB glVertexAttrib2svARB;
13475   #endif
13476 
13477   #ifndef GLVERTEXATTRIB2FVARB_DECL
13478   #define GLVERTEXATTRIB2FVARB_DECL
13479   csGLVERTEXATTRIB2FVARB glVertexAttrib2fvARB;
13480   #endif
13481 
13482   #ifndef GLVERTEXATTRIB2DVARB_DECL
13483   #define GLVERTEXATTRIB2DVARB_DECL
13484   csGLVERTEXATTRIB2DVARB glVertexAttrib2dvARB;
13485   #endif
13486 
13487   #ifndef GLVERTEXATTRIB3SVARB_DECL
13488   #define GLVERTEXATTRIB3SVARB_DECL
13489   csGLVERTEXATTRIB3SVARB glVertexAttrib3svARB;
13490   #endif
13491 
13492   #ifndef GLVERTEXATTRIB3FVARB_DECL
13493   #define GLVERTEXATTRIB3FVARB_DECL
13494   csGLVERTEXATTRIB3FVARB glVertexAttrib3fvARB;
13495   #endif
13496 
13497   #ifndef GLVERTEXATTRIB3DVARB_DECL
13498   #define GLVERTEXATTRIB3DVARB_DECL
13499   csGLVERTEXATTRIB3DVARB glVertexAttrib3dvARB;
13500   #endif
13501 
13502   #ifndef GLVERTEXATTRIB4BVARB_DECL
13503   #define GLVERTEXATTRIB4BVARB_DECL
13504   csGLVERTEXATTRIB4BVARB glVertexAttrib4bvARB;
13505   #endif
13506 
13507   #ifndef GLVERTEXATTRIB4SVARB_DECL
13508   #define GLVERTEXATTRIB4SVARB_DECL
13509   csGLVERTEXATTRIB4SVARB glVertexAttrib4svARB;
13510   #endif
13511 
13512   #ifndef GLVERTEXATTRIB4IVARB_DECL
13513   #define GLVERTEXATTRIB4IVARB_DECL
13514   csGLVERTEXATTRIB4IVARB glVertexAttrib4ivARB;
13515   #endif
13516 
13517   #ifndef GLVERTEXATTRIB4UBVARB_DECL
13518   #define GLVERTEXATTRIB4UBVARB_DECL
13519   csGLVERTEXATTRIB4UBVARB glVertexAttrib4ubvARB;
13520   #endif
13521 
13522   #ifndef GLVERTEXATTRIB4USVARB_DECL
13523   #define GLVERTEXATTRIB4USVARB_DECL
13524   csGLVERTEXATTRIB4USVARB glVertexAttrib4usvARB;
13525   #endif
13526 
13527   #ifndef GLVERTEXATTRIB4UIVARB_DECL
13528   #define GLVERTEXATTRIB4UIVARB_DECL
13529   csGLVERTEXATTRIB4UIVARB glVertexAttrib4uivARB;
13530   #endif
13531 
13532   #ifndef GLVERTEXATTRIB4FVARB_DECL
13533   #define GLVERTEXATTRIB4FVARB_DECL
13534   csGLVERTEXATTRIB4FVARB glVertexAttrib4fvARB;
13535   #endif
13536 
13537   #ifndef GLVERTEXATTRIB4DVARB_DECL
13538   #define GLVERTEXATTRIB4DVARB_DECL
13539   csGLVERTEXATTRIB4DVARB glVertexAttrib4dvARB;
13540   #endif
13541 
13542   #ifndef GLVERTEXATTRIB4NBVARB_DECL
13543   #define GLVERTEXATTRIB4NBVARB_DECL
13544   csGLVERTEXATTRIB4NBVARB glVertexAttrib4NbvARB;
13545   #endif
13546 
13547   #ifndef GLVERTEXATTRIB4NSVARB_DECL
13548   #define GLVERTEXATTRIB4NSVARB_DECL
13549   csGLVERTEXATTRIB4NSVARB glVertexAttrib4NsvARB;
13550   #endif
13551 
13552   #ifndef GLVERTEXATTRIB4NIVARB_DECL
13553   #define GLVERTEXATTRIB4NIVARB_DECL
13554   csGLVERTEXATTRIB4NIVARB glVertexAttrib4NivARB;
13555   #endif
13556 
13557   #ifndef GLVERTEXATTRIB4NUBVARB_DECL
13558   #define GLVERTEXATTRIB4NUBVARB_DECL
13559   csGLVERTEXATTRIB4NUBVARB glVertexAttrib4NubvARB;
13560   #endif
13561 
13562   #ifndef GLVERTEXATTRIB4NUSVARB_DECL
13563   #define GLVERTEXATTRIB4NUSVARB_DECL
13564   csGLVERTEXATTRIB4NUSVARB glVertexAttrib4NusvARB;
13565   #endif
13566 
13567   #ifndef GLVERTEXATTRIB4NUIVARB_DECL
13568   #define GLVERTEXATTRIB4NUIVARB_DECL
13569   csGLVERTEXATTRIB4NUIVARB glVertexAttrib4NuivARB;
13570   #endif
13571 
13572   #ifndef GLVERTEXATTRIBPOINTERARB_DECL
13573   #define GLVERTEXATTRIBPOINTERARB_DECL
13574   csGLVERTEXATTRIBPOINTERARB glVertexAttribPointerARB;
13575   #endif
13576 
13577   #ifndef GLENABLEVERTEXATTRIBARRAYARB_DECL
13578   #define GLENABLEVERTEXATTRIBARRAYARB_DECL
13579   csGLENABLEVERTEXATTRIBARRAYARB glEnableVertexAttribArrayARB;
13580   #endif
13581 
13582   #ifndef GLDISABLEVERTEXATTRIBARRAYARB_DECL
13583   #define GLDISABLEVERTEXATTRIBARRAYARB_DECL
13584   csGLDISABLEVERTEXATTRIBARRAYARB glDisableVertexAttribArrayARB;
13585   #endif
13586 
13587   #ifndef GLPROGRAMSTRINGARB_DECL
13588   #define GLPROGRAMSTRINGARB_DECL
13589   csGLPROGRAMSTRINGARB glProgramStringARB;
13590   #endif
13591 
13592   #ifndef GLBINDPROGRAMARB_DECL
13593   #define GLBINDPROGRAMARB_DECL
13594   csGLBINDPROGRAMARB glBindProgramARB;
13595   #endif
13596 
13597   #ifndef GLDELETEPROGRAMSARB_DECL
13598   #define GLDELETEPROGRAMSARB_DECL
13599   csGLDELETEPROGRAMSARB glDeleteProgramsARB;
13600   #endif
13601 
13602   #ifndef GLGENPROGRAMSARB_DECL
13603   #define GLGENPROGRAMSARB_DECL
13604   csGLGENPROGRAMSARB glGenProgramsARB;
13605   #endif
13606 
13607   #ifndef GLPROGRAMENVPARAMETER4DARB_DECL
13608   #define GLPROGRAMENVPARAMETER4DARB_DECL
13609   csGLPROGRAMENVPARAMETER4DARB glProgramEnvParameter4dARB;
13610   #endif
13611 
13612   #ifndef GLPROGRAMENVPARAMETER4DVARB_DECL
13613   #define GLPROGRAMENVPARAMETER4DVARB_DECL
13614   csGLPROGRAMENVPARAMETER4DVARB glProgramEnvParameter4dvARB;
13615   #endif
13616 
13617   #ifndef GLPROGRAMENVPARAMETER4FARB_DECL
13618   #define GLPROGRAMENVPARAMETER4FARB_DECL
13619   csGLPROGRAMENVPARAMETER4FARB glProgramEnvParameter4fARB;
13620   #endif
13621 
13622   #ifndef GLPROGRAMENVPARAMETER4FVARB_DECL
13623   #define GLPROGRAMENVPARAMETER4FVARB_DECL
13624   csGLPROGRAMENVPARAMETER4FVARB glProgramEnvParameter4fvARB;
13625   #endif
13626 
13627   #ifndef GLPROGRAMLOCALPARAMETER4DARB_DECL
13628   #define GLPROGRAMLOCALPARAMETER4DARB_DECL
13629   csGLPROGRAMLOCALPARAMETER4DARB glProgramLocalParameter4dARB;
13630   #endif
13631 
13632   #ifndef GLPROGRAMLOCALPARAMETER4DVARB_DECL
13633   #define GLPROGRAMLOCALPARAMETER4DVARB_DECL
13634   csGLPROGRAMLOCALPARAMETER4DVARB glProgramLocalParameter4dvARB;
13635   #endif
13636 
13637   #ifndef GLPROGRAMLOCALPARAMETER4FARB_DECL
13638   #define GLPROGRAMLOCALPARAMETER4FARB_DECL
13639   csGLPROGRAMLOCALPARAMETER4FARB glProgramLocalParameter4fARB;
13640   #endif
13641 
13642   #ifndef GLPROGRAMLOCALPARAMETER4FVARB_DECL
13643   #define GLPROGRAMLOCALPARAMETER4FVARB_DECL
13644   csGLPROGRAMLOCALPARAMETER4FVARB glProgramLocalParameter4fvARB;
13645   #endif
13646 
13647   #ifndef GLGETPROGRAMENVPARAMETERDVARB_DECL
13648   #define GLGETPROGRAMENVPARAMETERDVARB_DECL
13649   csGLGETPROGRAMENVPARAMETERDVARB glGetProgramEnvParameterdvARB;
13650   #endif
13651 
13652   #ifndef GLGETPROGRAMENVPARAMETERFVARB_DECL
13653   #define GLGETPROGRAMENVPARAMETERFVARB_DECL
13654   csGLGETPROGRAMENVPARAMETERFVARB glGetProgramEnvParameterfvARB;
13655   #endif
13656 
13657   #ifndef GLGETPROGRAMLOCALPARAMETERDVARB_DECL
13658   #define GLGETPROGRAMLOCALPARAMETERDVARB_DECL
13659   csGLGETPROGRAMLOCALPARAMETERDVARB glGetProgramLocalParameterdvARB;
13660   #endif
13661 
13662   #ifndef GLGETPROGRAMLOCALPARAMETERFVARB_DECL
13663   #define GLGETPROGRAMLOCALPARAMETERFVARB_DECL
13664   csGLGETPROGRAMLOCALPARAMETERFVARB glGetProgramLocalParameterfvARB;
13665   #endif
13666 
13667   #ifndef GLGETPROGRAMIVARB_DECL
13668   #define GLGETPROGRAMIVARB_DECL
13669   csGLGETPROGRAMIVARB glGetProgramivARB;
13670   #endif
13671 
13672   #ifndef GLGETPROGRAMSTRINGARB_DECL
13673   #define GLGETPROGRAMSTRINGARB_DECL
13674   csGLGETPROGRAMSTRINGARB glGetProgramStringARB;
13675   #endif
13676 
13677   #ifndef GLGETVERTEXATTRIBDVARB_DECL
13678   #define GLGETVERTEXATTRIBDVARB_DECL
13679   csGLGETVERTEXATTRIBDVARB glGetVertexAttribdvARB;
13680   #endif
13681 
13682   #ifndef GLGETVERTEXATTRIBFVARB_DECL
13683   #define GLGETVERTEXATTRIBFVARB_DECL
13684   csGLGETVERTEXATTRIBFVARB glGetVertexAttribfvARB;
13685   #endif
13686 
13687   #ifndef GLGETVERTEXATTRIBIVARB_DECL
13688   #define GLGETVERTEXATTRIBIVARB_DECL
13689   csGLGETVERTEXATTRIBIVARB glGetVertexAttribivARB;
13690   #endif
13691 
13692   #ifndef GLGETVERTEXATTRIBPOINTERVARB_DECL
13693   #define GLGETVERTEXATTRIBPOINTERVARB_DECL
13694   csGLGETVERTEXATTRIBPOINTERVARB glGetVertexAttribPointervARB;
13695   #endif
13696 
13697   #ifndef GLISPROGRAMARB_DECL
13698   #define GLISPROGRAMARB_DECL
13699   csGLISPROGRAMARB glIsProgramARB;
13700   #endif
13701 
13702 
13707   #ifndef GLWINDOWPOS2DARB_DECL
13708   #define GLWINDOWPOS2DARB_DECL
13709   csGLWINDOWPOS2DARB glWindowPos2dARB;
13710   #endif
13711 
13712   #ifndef GLWINDOWPOS2FARB_DECL
13713   #define GLWINDOWPOS2FARB_DECL
13714   csGLWINDOWPOS2FARB glWindowPos2fARB;
13715   #endif
13716 
13717   #ifndef GLWINDOWPOS2IARB_DECL
13718   #define GLWINDOWPOS2IARB_DECL
13719   csGLWINDOWPOS2IARB glWindowPos2iARB;
13720   #endif
13721 
13722   #ifndef GLWINDOWPOS2SARB_DECL
13723   #define GLWINDOWPOS2SARB_DECL
13724   csGLWINDOWPOS2SARB glWindowPos2sARB;
13725   #endif
13726 
13727   #ifndef GLWINDOWPOS2DVARB_DECL
13728   #define GLWINDOWPOS2DVARB_DECL
13729   csGLWINDOWPOS2DVARB glWindowPos2dvARB;
13730   #endif
13731 
13732   #ifndef GLWINDOWPOS2FVARB_DECL
13733   #define GLWINDOWPOS2FVARB_DECL
13734   csGLWINDOWPOS2FVARB glWindowPos2fvARB;
13735   #endif
13736 
13737   #ifndef GLWINDOWPOS2IVARB_DECL
13738   #define GLWINDOWPOS2IVARB_DECL
13739   csGLWINDOWPOS2IVARB glWindowPos2ivARB;
13740   #endif
13741 
13742   #ifndef GLWINDOWPOS2SVARB_DECL
13743   #define GLWINDOWPOS2SVARB_DECL
13744   csGLWINDOWPOS2SVARB glWindowPos2svARB;
13745   #endif
13746 
13747   #ifndef GLWINDOWPOS3DARB_DECL
13748   #define GLWINDOWPOS3DARB_DECL
13749   csGLWINDOWPOS3DARB glWindowPos3dARB;
13750   #endif
13751 
13752   #ifndef GLWINDOWPOS3FARB_DECL
13753   #define GLWINDOWPOS3FARB_DECL
13754   csGLWINDOWPOS3FARB glWindowPos3fARB;
13755   #endif
13756 
13757   #ifndef GLWINDOWPOS3IARB_DECL
13758   #define GLWINDOWPOS3IARB_DECL
13759   csGLWINDOWPOS3IARB glWindowPos3iARB;
13760   #endif
13761 
13762   #ifndef GLWINDOWPOS3SARB_DECL
13763   #define GLWINDOWPOS3SARB_DECL
13764   csGLWINDOWPOS3SARB glWindowPos3sARB;
13765   #endif
13766 
13767   #ifndef GLWINDOWPOS3DVARB_DECL
13768   #define GLWINDOWPOS3DVARB_DECL
13769   csGLWINDOWPOS3DVARB glWindowPos3dvARB;
13770   #endif
13771 
13772   #ifndef GLWINDOWPOS3FVARB_DECL
13773   #define GLWINDOWPOS3FVARB_DECL
13774   csGLWINDOWPOS3FVARB glWindowPos3fvARB;
13775   #endif
13776 
13777   #ifndef GLWINDOWPOS3IVARB_DECL
13778   #define GLWINDOWPOS3IVARB_DECL
13779   csGLWINDOWPOS3IVARB glWindowPos3ivARB;
13780   #endif
13781 
13782   #ifndef GLWINDOWPOS3SVARB_DECL
13783   #define GLWINDOWPOS3SVARB_DECL
13784   csGLWINDOWPOS3SVARB glWindowPos3svARB;
13785   #endif
13786 
13787 
13807   #ifndef GLBLENDCOLOREXT_DECL
13808   #define GLBLENDCOLOREXT_DECL
13809   csGLBLENDCOLOREXT glBlendColorEXT;
13810   #endif
13811 
13812 
13817   #ifndef GLBLENDFUNCSEPARATEEXT_DECL
13818   #define GLBLENDFUNCSEPARATEEXT_DECL
13819   csGLBLENDFUNCSEPARATEEXT glBlendFuncSeparateEXT;
13820   #endif
13821 
13822 
13832   #ifndef GLBLENDEQUATIONEXT_DECL
13833   #define GLBLENDEQUATIONEXT_DECL
13834   csGLBLENDEQUATIONEXT glBlendEquationEXT;
13835   #endif
13836 
13837 
13852   #ifndef GLCOLORSUBTABLEEXT_DECL
13853   #define GLCOLORSUBTABLEEXT_DECL
13854   csGLCOLORSUBTABLEEXT glColorSubTableEXT;
13855   #endif
13856 
13857   #ifndef GLCOPYCOLORSUBTABLEEXT_DECL
13858   #define GLCOPYCOLORSUBTABLEEXT_DECL
13859   csGLCOPYCOLORSUBTABLEEXT glCopyColorSubTableEXT;
13860   #endif
13861 
13862 
13867   #ifndef GLLOCKARRAYSEXT_DECL
13868   #define GLLOCKARRAYSEXT_DECL
13869   csGLLOCKARRAYSEXT glLockArraysEXT;
13870   #endif
13871 
13872   #ifndef GLUNLOCKARRAYSEXT_DECL
13873   #define GLUNLOCKARRAYSEXT_DECL
13874   csGLUNLOCKARRAYSEXT glUnlockArraysEXT;
13875   #endif
13876 
13877 
13882   #ifndef GLCONVOLUTIONFILTER1DEXT_DECL
13883   #define GLCONVOLUTIONFILTER1DEXT_DECL
13884   csGLCONVOLUTIONFILTER1DEXT glConvolutionFilter1DEXT;
13885   #endif
13886 
13887   #ifndef GLCONVOLUTIONFILTER2DEXT_DECL
13888   #define GLCONVOLUTIONFILTER2DEXT_DECL
13889   csGLCONVOLUTIONFILTER2DEXT glConvolutionFilter2DEXT;
13890   #endif
13891 
13892   #ifndef GLCOPYCONVOLUTIONFILTER1DEXT_DECL
13893   #define GLCOPYCONVOLUTIONFILTER1DEXT_DECL
13894   csGLCOPYCONVOLUTIONFILTER1DEXT glCopyConvolutionFilter1DEXT;
13895   #endif
13896 
13897   #ifndef GLCOPYCONVOLUTIONFILTER2DEXT_DECL
13898   #define GLCOPYCONVOLUTIONFILTER2DEXT_DECL
13899   csGLCOPYCONVOLUTIONFILTER2DEXT glCopyConvolutionFilter2DEXT;
13900   #endif
13901 
13902   #ifndef GLGETCONVOLUTIONFILTEREXT_DECL
13903   #define GLGETCONVOLUTIONFILTEREXT_DECL
13904   csGLGETCONVOLUTIONFILTEREXT glGetConvolutionFilterEXT;
13905   #endif
13906 
13907   #ifndef GLSEPARABLEFILTER2DEXT_DECL
13908   #define GLSEPARABLEFILTER2DEXT_DECL
13909   csGLSEPARABLEFILTER2DEXT glSeparableFilter2DEXT;
13910   #endif
13911 
13912   #ifndef GLGETSEPARABLEFILTEREXT_DECL
13913   #define GLGETSEPARABLEFILTEREXT_DECL
13914   csGLGETSEPARABLEFILTEREXT glGetSeparableFilterEXT;
13915   #endif
13916 
13917   #ifndef GLCONVOLUTIONPARAMETERIEXT_DECL
13918   #define GLCONVOLUTIONPARAMETERIEXT_DECL
13919   csGLCONVOLUTIONPARAMETERIEXT glConvolutionParameteriEXT;
13920   #endif
13921 
13922   #ifndef GLCONVOLUTIONPARAMETERIVEXT_DECL
13923   #define GLCONVOLUTIONPARAMETERIVEXT_DECL
13924   csGLCONVOLUTIONPARAMETERIVEXT glConvolutionParameterivEXT;
13925   #endif
13926 
13927   #ifndef GLCONVOLUTIONPARAMETERFEXT_DECL
13928   #define GLCONVOLUTIONPARAMETERFEXT_DECL
13929   csGLCONVOLUTIONPARAMETERFEXT glConvolutionParameterfEXT;
13930   #endif
13931 
13932   #ifndef GLCONVOLUTIONPARAMETERFVEXT_DECL
13933   #define GLCONVOLUTIONPARAMETERFVEXT_DECL
13934   csGLCONVOLUTIONPARAMETERFVEXT glConvolutionParameterfvEXT;
13935   #endif
13936 
13937   #ifndef GLGETCONVOLUTIONPARAMETERIVEXT_DECL
13938   #define GLGETCONVOLUTIONPARAMETERIVEXT_DECL
13939   csGLGETCONVOLUTIONPARAMETERIVEXT glGetConvolutionParameterivEXT;
13940   #endif
13941 
13942   #ifndef GLGETCONVOLUTIONPARAMETERFVEXT_DECL
13943   #define GLGETCONVOLUTIONPARAMETERFVEXT_DECL
13944   csGLGETCONVOLUTIONPARAMETERFVEXT glGetConvolutionParameterfvEXT;
13945   #endif
13946 
13947 
13952   #ifndef GLFOGCOORDFEXT_DECL
13953   #define GLFOGCOORDFEXT_DECL
13954   csGLFOGCOORDFEXT glFogCoordfEXT;
13955   #endif
13956 
13957   #ifndef GLFOGCOORDDEXT_DECL
13958   #define GLFOGCOORDDEXT_DECL
13959   csGLFOGCOORDDEXT glFogCoorddEXT;
13960   #endif
13961 
13962   #ifndef GLFOGCOORDFVEXT_DECL
13963   #define GLFOGCOORDFVEXT_DECL
13964   csGLFOGCOORDFVEXT glFogCoordfvEXT;
13965   #endif
13966 
13967   #ifndef GLFOGCOORDDVEXT_DECL
13968   #define GLFOGCOORDDVEXT_DECL
13969   csGLFOGCOORDDVEXT glFogCoorddvEXT;
13970   #endif
13971 
13972   #ifndef GLFOGCOORDPOINTEREXT_DECL
13973   #define GLFOGCOORDPOINTEREXT_DECL
13974   csGLFOGCOORDPOINTEREXT glFogCoordPointerEXT;
13975   #endif
13976 
13977 
13982   #ifndef GLHISTOGRAMEXT_DECL
13983   #define GLHISTOGRAMEXT_DECL
13984   csGLHISTOGRAMEXT glHistogramEXT;
13985   #endif
13986 
13987   #ifndef GLRESETHISTOGRAMEXT_DECL
13988   #define GLRESETHISTOGRAMEXT_DECL
13989   csGLRESETHISTOGRAMEXT glResetHistogramEXT;
13990   #endif
13991 
13992   #ifndef GLGETHISTOGRAMEXT_DECL
13993   #define GLGETHISTOGRAMEXT_DECL
13994   csGLGETHISTOGRAMEXT glGetHistogramEXT;
13995   #endif
13996 
13997   #ifndef GLGETHISTOGRAMPARAMETERIVEXT_DECL
13998   #define GLGETHISTOGRAMPARAMETERIVEXT_DECL
13999   csGLGETHISTOGRAMPARAMETERIVEXT glGetHistogramParameterivEXT;
14000   #endif
14001 
14002   #ifndef GLGETHISTOGRAMPARAMETERFVEXT_DECL
14003   #define GLGETHISTOGRAMPARAMETERFVEXT_DECL
14004   csGLGETHISTOGRAMPARAMETERFVEXT glGetHistogramParameterfvEXT;
14005   #endif
14006 
14007   #ifndef GLMINMAXEXT_DECL
14008   #define GLMINMAXEXT_DECL
14009   csGLMINMAXEXT glMinmaxEXT;
14010   #endif
14011 
14012   #ifndef GLRESETMINMAXEXT_DECL
14013   #define GLRESETMINMAXEXT_DECL
14014   csGLRESETMINMAXEXT glResetMinmaxEXT;
14015   #endif
14016 
14017   #ifndef GLGETMINMAXEXT_DECL
14018   #define GLGETMINMAXEXT_DECL
14019   csGLGETMINMAXEXT glGetMinmaxEXT;
14020   #endif
14021 
14022   #ifndef GLGETMINMAXPARAMETERIVEXT_DECL
14023   #define GLGETMINMAXPARAMETERIVEXT_DECL
14024   csGLGETMINMAXPARAMETERIVEXT glGetMinmaxParameterivEXT;
14025   #endif
14026 
14027   #ifndef GLGETMINMAXPARAMETERFVEXT_DECL
14028   #define GLGETMINMAXPARAMETERFVEXT_DECL
14029   csGLGETMINMAXPARAMETERFVEXT glGetMinmaxParameterfvEXT;
14030   #endif
14031 
14032 
14037   #ifndef GLMULTIDRAWARRAYSEXT_DECL
14038   #define GLMULTIDRAWARRAYSEXT_DECL
14039   csGLMULTIDRAWARRAYSEXT glMultiDrawArraysEXT;
14040   #endif
14041 
14042   #ifndef GLMULTIDRAWELEMENTSEXT_DECL
14043   #define GLMULTIDRAWELEMENTSEXT_DECL
14044   csGLMULTIDRAWELEMENTSEXT glMultiDrawElementsEXT;
14045   #endif
14046 
14047 
14057   #ifndef GLCOLORTABLEEXT_DECL
14058   #define GLCOLORTABLEEXT_DECL
14059   csGLCOLORTABLEEXT glColorTableEXT;
14060   #endif
14061 
14062   #ifndef GLGETCOLORTABLEEXT_DECL
14063   #define GLGETCOLORTABLEEXT_DECL
14064   csGLGETCOLORTABLEEXT glGetColorTableEXT;
14065   #endif
14066 
14067   #ifndef GLGETCOLORTABLEPARAMETERIVEXT_DECL
14068   #define GLGETCOLORTABLEPARAMETERIVEXT_DECL
14069   csGLGETCOLORTABLEPARAMETERIVEXT glGetColorTableParameterivEXT;
14070   #endif
14071 
14072   #ifndef GLGETCOLORTABLEPARAMETERFVEXT_DECL
14073   #define GLGETCOLORTABLEPARAMETERFVEXT_DECL
14074   csGLGETCOLORTABLEPARAMETERFVEXT glGetColorTableParameterfvEXT;
14075   #endif
14076 
14077 
14082   #ifndef GLPOINTPARAMETERFEXT_DECL
14083   #define GLPOINTPARAMETERFEXT_DECL
14084   csGLPOINTPARAMETERFEXT glPointParameterfEXT;
14085   #endif
14086 
14087   #ifndef GLPOINTPARAMETERFVEXT_DECL
14088   #define GLPOINTPARAMETERFVEXT_DECL
14089   csGLPOINTPARAMETERFVEXT glPointParameterfvEXT;
14090   #endif
14091 
14092 
14097   #ifndef GLPOLYGONOFFSETEXT_DECL
14098   #define GLPOLYGONOFFSETEXT_DECL
14099   csGLPOLYGONOFFSETEXT glPolygonOffsetEXT;
14100   #endif
14101 
14102 
14107   #ifndef GLSECONDARYCOLOR3BEXT_DECL
14108   #define GLSECONDARYCOLOR3BEXT_DECL
14109   csGLSECONDARYCOLOR3BEXT glSecondaryColor3bEXT;
14110   #endif
14111 
14112   #ifndef GLSECONDARYCOLOR3SEXT_DECL
14113   #define GLSECONDARYCOLOR3SEXT_DECL
14114   csGLSECONDARYCOLOR3SEXT glSecondaryColor3sEXT;
14115   #endif
14116 
14117   #ifndef GLSECONDARYCOLOR3IEXT_DECL
14118   #define GLSECONDARYCOLOR3IEXT_DECL
14119   csGLSECONDARYCOLOR3IEXT glSecondaryColor3iEXT;
14120   #endif
14121 
14122   #ifndef GLSECONDARYCOLOR3FEXT_DECL
14123   #define GLSECONDARYCOLOR3FEXT_DECL
14124   csGLSECONDARYCOLOR3FEXT glSecondaryColor3fEXT;
14125   #endif
14126 
14127   #ifndef GLSECONDARYCOLOR3DEXT_DECL
14128   #define GLSECONDARYCOLOR3DEXT_DECL
14129   csGLSECONDARYCOLOR3DEXT glSecondaryColor3dEXT;
14130   #endif
14131 
14132   #ifndef GLSECONDARYCOLOR3UBEXT_DECL
14133   #define GLSECONDARYCOLOR3UBEXT_DECL
14134   csGLSECONDARYCOLOR3UBEXT glSecondaryColor3ubEXT;
14135   #endif
14136 
14137   #ifndef GLSECONDARYCOLOR3USEXT_DECL
14138   #define GLSECONDARYCOLOR3USEXT_DECL
14139   csGLSECONDARYCOLOR3USEXT glSecondaryColor3usEXT;
14140   #endif
14141 
14142   #ifndef GLSECONDARYCOLOR3UIEXT_DECL
14143   #define GLSECONDARYCOLOR3UIEXT_DECL
14144   csGLSECONDARYCOLOR3UIEXT glSecondaryColor3uiEXT;
14145   #endif
14146 
14147   #ifndef GLSECONDARYCOLOR3BVEXT_DECL
14148   #define GLSECONDARYCOLOR3BVEXT_DECL
14149   csGLSECONDARYCOLOR3BVEXT glSecondaryColor3bvEXT;
14150   #endif
14151 
14152   #ifndef GLSECONDARYCOLOR3SVEXT_DECL
14153   #define GLSECONDARYCOLOR3SVEXT_DECL
14154   csGLSECONDARYCOLOR3SVEXT glSecondaryColor3svEXT;
14155   #endif
14156 
14157   #ifndef GLSECONDARYCOLOR3IVEXT_DECL
14158   #define GLSECONDARYCOLOR3IVEXT_DECL
14159   csGLSECONDARYCOLOR3IVEXT glSecondaryColor3ivEXT;
14160   #endif
14161 
14162   #ifndef GLSECONDARYCOLOR3FVEXT_DECL
14163   #define GLSECONDARYCOLOR3FVEXT_DECL
14164   csGLSECONDARYCOLOR3FVEXT glSecondaryColor3fvEXT;
14165   #endif
14166 
14167   #ifndef GLSECONDARYCOLOR3DVEXT_DECL
14168   #define GLSECONDARYCOLOR3DVEXT_DECL
14169   csGLSECONDARYCOLOR3DVEXT glSecondaryColor3dvEXT;
14170   #endif
14171 
14172   #ifndef GLSECONDARYCOLOR3UBVEXT_DECL
14173   #define GLSECONDARYCOLOR3UBVEXT_DECL
14174   csGLSECONDARYCOLOR3UBVEXT glSecondaryColor3ubvEXT;
14175   #endif
14176 
14177   #ifndef GLSECONDARYCOLOR3USVEXT_DECL
14178   #define GLSECONDARYCOLOR3USVEXT_DECL
14179   csGLSECONDARYCOLOR3USVEXT glSecondaryColor3usvEXT;
14180   #endif
14181 
14182   #ifndef GLSECONDARYCOLOR3UIVEXT_DECL
14183   #define GLSECONDARYCOLOR3UIVEXT_DECL
14184   csGLSECONDARYCOLOR3UIVEXT glSecondaryColor3uivEXT;
14185   #endif
14186 
14187   #ifndef GLSECONDARYCOLORPOINTEREXT_DECL
14188   #define GLSECONDARYCOLORPOINTEREXT_DECL
14189   csGLSECONDARYCOLORPOINTEREXT glSecondaryColorPointerEXT;
14190   #endif
14191 
14192 
14212   #ifndef GLACTIVESTENCILFACEEXT_DECL
14213   #define GLACTIVESTENCILFACEEXT_DECL
14214   csGLACTIVESTENCILFACEEXT glActiveStencilFaceEXT;
14215   #endif
14216 
14217 
14227   #ifndef GLTEXSUBIMAGE1DEXT_DECL
14228   #define GLTEXSUBIMAGE1DEXT_DECL
14229   csGLTEXSUBIMAGE1DEXT glTexSubImage1DEXT;
14230   #endif
14231 
14232   #ifndef GLTEXSUBIMAGE2DEXT_DECL
14233   #define GLTEXSUBIMAGE2DEXT_DECL
14234   csGLTEXSUBIMAGE2DEXT glTexSubImage2DEXT;
14235   #endif
14236 
14237   #ifndef GLTEXSUBIMAGE3DEXT_DECL
14238   #define GLTEXSUBIMAGE3DEXT_DECL
14239   csGLTEXSUBIMAGE3DEXT glTexSubImage3DEXT;
14240   #endif
14241 
14242 
14247   #ifndef GLTEXIMAGE3DEXT_DECL
14248   #define GLTEXIMAGE3DEXT_DECL
14249   csGLTEXIMAGE3DEXT glTexImage3DEXT;
14250   #endif
14251 
14252 
14287   #ifndef GLGENTEXTURESEXT_DECL
14288   #define GLGENTEXTURESEXT_DECL
14289   csGLGENTEXTURESEXT glGenTexturesEXT;
14290   #endif
14291 
14292   #ifndef GLDELETETEXTURESEXT_DECL
14293   #define GLDELETETEXTURESEXT_DECL
14294   csGLDELETETEXTURESEXT glDeleteTexturesEXT;
14295   #endif
14296 
14297   #ifndef GLBINDTEXTUREEXT_DECL
14298   #define GLBINDTEXTUREEXT_DECL
14299   csGLBINDTEXTUREEXT glBindTextureEXT;
14300   #endif
14301 
14302   #ifndef GLPRIORITIZETEXTURESEXT_DECL
14303   #define GLPRIORITIZETEXTURESEXT_DECL
14304   csGLPRIORITIZETEXTURESEXT glPrioritizeTexturesEXT;
14305   #endif
14306 
14307   #ifndef GLARETEXTURESRESIDENTEXT_DECL
14308   #define GLARETEXTURESRESIDENTEXT_DECL
14309   csGLARETEXTURESRESIDENTEXT glAreTexturesResidentEXT;
14310   #endif
14311 
14312   #ifndef GLISTEXTUREEXT_DECL
14313   #define GLISTEXTUREEXT_DECL
14314   csGLISTEXTUREEXT glIsTextureEXT;
14315   #endif
14316 
14317 
14322   #ifndef GLARRAYELEMENTEXT_DECL
14323   #define GLARRAYELEMENTEXT_DECL
14324   csGLARRAYELEMENTEXT glArrayElementEXT;
14325   #endif
14326 
14327   #ifndef GLDRAWARRAYSEXT_DECL
14328   #define GLDRAWARRAYSEXT_DECL
14329   csGLDRAWARRAYSEXT glDrawArraysEXT;
14330   #endif
14331 
14332   #ifndef GLVERTEXPOINTEREXT_DECL
14333   #define GLVERTEXPOINTEREXT_DECL
14334   csGLVERTEXPOINTEREXT glVertexPointerEXT;
14335   #endif
14336 
14337   #ifndef GLNORMALPOINTEREXT_DECL
14338   #define GLNORMALPOINTEREXT_DECL
14339   csGLNORMALPOINTEREXT glNormalPointerEXT;
14340   #endif
14341 
14342   #ifndef GLCOLORPOINTEREXT_DECL
14343   #define GLCOLORPOINTEREXT_DECL
14344   csGLCOLORPOINTEREXT glColorPointerEXT;
14345   #endif
14346 
14347   #ifndef GLINDEXPOINTEREXT_DECL
14348   #define GLINDEXPOINTEREXT_DECL
14349   csGLINDEXPOINTEREXT glIndexPointerEXT;
14350   #endif
14351 
14352   #ifndef GLTEXCOORDPOINTEREXT_DECL
14353   #define GLTEXCOORDPOINTEREXT_DECL
14354   csGLTEXCOORDPOINTEREXT glTexCoordPointerEXT;
14355   #endif
14356 
14357   #ifndef GLEDGEFLAGPOINTEREXT_DECL
14358   #define GLEDGEFLAGPOINTEREXT_DECL
14359   csGLEDGEFLAGPOINTEREXT glEdgeFlagPointerEXT;
14360   #endif
14361 
14362   #ifndef GLGETPOINTERVEXT_DECL
14363   #define GLGETPOINTERVEXT_DECL
14364   csGLGETPOINTERVEXT glGetPointervEXT;
14365   #endif
14366 
14367 
14372   #ifndef GLBEGINVERTEXSHADEREXT_DECL
14373   #define GLBEGINVERTEXSHADEREXT_DECL
14374   csGLBEGINVERTEXSHADEREXT glBeginVertexShaderEXT;
14375   #endif
14376 
14377   #ifndef GLENDVERTEXSHADEREXT_DECL
14378   #define GLENDVERTEXSHADEREXT_DECL
14379   csGLENDVERTEXSHADEREXT glEndVertexShaderEXT;
14380   #endif
14381 
14382   #ifndef GLBINDVERTEXSHADEREXT_DECL
14383   #define GLBINDVERTEXSHADEREXT_DECL
14384   csGLBINDVERTEXSHADEREXT glBindVertexShaderEXT;
14385   #endif
14386 
14387   #ifndef GLGENVERTEXSHADERSEXT_DECL
14388   #define GLGENVERTEXSHADERSEXT_DECL
14389   csGLGENVERTEXSHADERSEXT glGenVertexShadersEXT;
14390   #endif
14391 
14392   #ifndef GLDELETEVERTEXSHADEREXT_DECL
14393   #define GLDELETEVERTEXSHADEREXT_DECL
14394   csGLDELETEVERTEXSHADEREXT glDeleteVertexShaderEXT;
14395   #endif
14396 
14397   #ifndef GLSHADEROP1EXT_DECL
14398   #define GLSHADEROP1EXT_DECL
14399   csGLSHADEROP1EXT glShaderOp1EXT;
14400   #endif
14401 
14402   #ifndef GLSHADEROP2EXT_DECL
14403   #define GLSHADEROP2EXT_DECL
14404   csGLSHADEROP2EXT glShaderOp2EXT;
14405   #endif
14406 
14407   #ifndef GLSHADEROP3EXT_DECL
14408   #define GLSHADEROP3EXT_DECL
14409   csGLSHADEROP3EXT glShaderOp3EXT;
14410   #endif
14411 
14412   #ifndef GLSWIZZLEEXT_DECL
14413   #define GLSWIZZLEEXT_DECL
14414   csGLSWIZZLEEXT glSwizzleEXT;
14415   #endif
14416 
14417   #ifndef GLWRITEMASKEXT_DECL
14418   #define GLWRITEMASKEXT_DECL
14419   csGLWRITEMASKEXT glWriteMaskEXT;
14420   #endif
14421 
14422   #ifndef GLINSERTCOMPONENTEXT_DECL
14423   #define GLINSERTCOMPONENTEXT_DECL
14424   csGLINSERTCOMPONENTEXT glInsertComponentEXT;
14425   #endif
14426 
14427   #ifndef GLEXTRACTCOMPONENTEXT_DECL
14428   #define GLEXTRACTCOMPONENTEXT_DECL
14429   csGLEXTRACTCOMPONENTEXT glExtractComponentEXT;
14430   #endif
14431 
14432   #ifndef GLGENSYMBOLSEXT_DECL
14433   #define GLGENSYMBOLSEXT_DECL
14434   csGLGENSYMBOLSEXT glGenSymbolsEXT;
14435   #endif
14436 
14437   #ifndef GLSETINVARIANTEXT_DECL
14438   #define GLSETINVARIANTEXT_DECL
14439   csGLSETINVARIANTEXT glSetInvariantEXT;
14440   #endif
14441 
14442   #ifndef GLSETLOCALCONSTANTEXT_DECL
14443   #define GLSETLOCALCONSTANTEXT_DECL
14444   csGLSETLOCALCONSTANTEXT glSetLocalConstantEXT;
14445   #endif
14446 
14447   #ifndef GLVARIANTBVEXT_DECL
14448   #define GLVARIANTBVEXT_DECL
14449   csGLVARIANTBVEXT glVariantbvEXT;
14450   #endif
14451 
14452   #ifndef GLVARIANTSVEXT_DECL
14453   #define GLVARIANTSVEXT_DECL
14454   csGLVARIANTSVEXT glVariantsvEXT;
14455   #endif
14456 
14457   #ifndef GLVARIANTIVEXT_DECL
14458   #define GLVARIANTIVEXT_DECL
14459   csGLVARIANTIVEXT glVariantivEXT;
14460   #endif
14461 
14462   #ifndef GLVARIANTFVEXT_DECL
14463   #define GLVARIANTFVEXT_DECL
14464   csGLVARIANTFVEXT glVariantfvEXT;
14465   #endif
14466 
14467   #ifndef GLVARIANTDVEXT_DECL
14468   #define GLVARIANTDVEXT_DECL
14469   csGLVARIANTDVEXT glVariantdvEXT;
14470   #endif
14471 
14472   #ifndef GLVARIANTUBVEXT_DECL
14473   #define GLVARIANTUBVEXT_DECL
14474   csGLVARIANTUBVEXT glVariantubvEXT;
14475   #endif
14476 
14477   #ifndef GLVARIANTUSVEXT_DECL
14478   #define GLVARIANTUSVEXT_DECL
14479   csGLVARIANTUSVEXT glVariantusvEXT;
14480   #endif
14481 
14482   #ifndef GLVARIANTUIVEXT_DECL
14483   #define GLVARIANTUIVEXT_DECL
14484   csGLVARIANTUIVEXT glVariantuivEXT;
14485   #endif
14486 
14487   #ifndef GLVARIANTPOINTEREXT_DECL
14488   #define GLVARIANTPOINTEREXT_DECL
14489   csGLVARIANTPOINTEREXT glVariantPointerEXT;
14490   #endif
14491 
14492   #ifndef GLENABLEVARIANTCLIENTSTATEEXT_DECL
14493   #define GLENABLEVARIANTCLIENTSTATEEXT_DECL
14494   csGLENABLEVARIANTCLIENTSTATEEXT glEnableVariantClientStateEXT;
14495   #endif
14496 
14497   #ifndef GLDISABLEVARIANTCLIENTSTATEEXT_DECL
14498   #define GLDISABLEVARIANTCLIENTSTATEEXT_DECL
14499   csGLDISABLEVARIANTCLIENTSTATEEXT glDisableVariantClientStateEXT;
14500   #endif
14501 
14502   #ifndef GLBINDLIGHTPARAMETEREXT_DECL
14503   #define GLBINDLIGHTPARAMETEREXT_DECL
14504   csGLBINDLIGHTPARAMETEREXT glBindLightParameterEXT;
14505   #endif
14506 
14507   #ifndef GLBINDMATERIALPARAMETEREXT_DECL
14508   #define GLBINDMATERIALPARAMETEREXT_DECL
14509   csGLBINDMATERIALPARAMETEREXT glBindMaterialParameterEXT;
14510   #endif
14511 
14512   #ifndef GLBINDTEXGENPARAMETEREXT_DECL
14513   #define GLBINDTEXGENPARAMETEREXT_DECL
14514   csGLBINDTEXGENPARAMETEREXT glBindTexGenParameterEXT;
14515   #endif
14516 
14517   #ifndef GLBINDTEXTUREUNITPARAMETEREXT_DECL
14518   #define GLBINDTEXTUREUNITPARAMETEREXT_DECL
14519   csGLBINDTEXTUREUNITPARAMETEREXT glBindTextureUnitParameterEXT;
14520   #endif
14521 
14522   #ifndef GLBINDPARAMETEREXT_DECL
14523   #define GLBINDPARAMETEREXT_DECL
14524   csGLBINDPARAMETEREXT glBindParameterEXT;
14525   #endif
14526 
14527   #ifndef GLISVARIANTENABLEDEXT_DECL
14528   #define GLISVARIANTENABLEDEXT_DECL
14529   csGLISVARIANTENABLEDEXT glIsVariantEnabledEXT;
14530   #endif
14531 
14532   #ifndef GLGETVARIANTBOOLEANVEXT_DECL
14533   #define GLGETVARIANTBOOLEANVEXT_DECL
14534   csGLGETVARIANTBOOLEANVEXT glGetVariantBooleanvEXT;
14535   #endif
14536 
14537   #ifndef GLGETVARIANTINTEGERVEXT_DECL
14538   #define GLGETVARIANTINTEGERVEXT_DECL
14539   csGLGETVARIANTINTEGERVEXT glGetVariantIntegervEXT;
14540   #endif
14541 
14542   #ifndef GLGETVARIANTFLOATVEXT_DECL
14543   #define GLGETVARIANTFLOATVEXT_DECL
14544   csGLGETVARIANTFLOATVEXT glGetVariantFloatvEXT;
14545   #endif
14546 
14547   #ifndef GLGETVARIANTPOINTERVEXT_DECL
14548   #define GLGETVARIANTPOINTERVEXT_DECL
14549   csGLGETVARIANTPOINTERVEXT glGetVariantPointervEXT;
14550   #endif
14551 
14552   #ifndef GLGETINVARIANTBOOLEANVEXT_DECL
14553   #define GLGETINVARIANTBOOLEANVEXT_DECL
14554   csGLGETINVARIANTBOOLEANVEXT glGetInvariantBooleanvEXT;
14555   #endif
14556 
14557   #ifndef GLGETINVARIANTINTEGERVEXT_DECL
14558   #define GLGETINVARIANTINTEGERVEXT_DECL
14559   csGLGETINVARIANTINTEGERVEXT glGetInvariantIntegervEXT;
14560   #endif
14561 
14562   #ifndef GLGETINVARIANTFLOATVEXT_DECL
14563   #define GLGETINVARIANTFLOATVEXT_DECL
14564   csGLGETINVARIANTFLOATVEXT glGetInvariantFloatvEXT;
14565   #endif
14566 
14567   #ifndef GLGETLOCALCONSTANTBOOLEANVEXT_DECL
14568   #define GLGETLOCALCONSTANTBOOLEANVEXT_DECL
14569   csGLGETLOCALCONSTANTBOOLEANVEXT glGetLocalConstantBooleanvEXT;
14570   #endif
14571 
14572   #ifndef GLGETLOCALCONSTANTINTEGERVEXT_DECL
14573   #define GLGETLOCALCONSTANTINTEGERVEXT_DECL
14574   csGLGETLOCALCONSTANTINTEGERVEXT glGetLocalConstantIntegervEXT;
14575   #endif
14576 
14577   #ifndef GLGETLOCALCONSTANTFLOATVEXT_DECL
14578   #define GLGETLOCALCONSTANTFLOATVEXT_DECL
14579   csGLGETLOCALCONSTANTFLOATVEXT glGetLocalConstantFloatvEXT;
14580   #endif
14581 
14582 
14587   #ifndef GLVERTEXWEIGHTFEXT_DECL
14588   #define GLVERTEXWEIGHTFEXT_DECL
14589   csGLVERTEXWEIGHTFEXT glVertexWeightfEXT;
14590   #endif
14591 
14592   #ifndef GLVERTEXWEIGHTFVEXT_DECL
14593   #define GLVERTEXWEIGHTFVEXT_DECL
14594   csGLVERTEXWEIGHTFVEXT glVertexWeightfvEXT;
14595   #endif
14596 
14597   #ifndef GLVERTEXWEIGHTPOINTEREXT_DECL
14598   #define GLVERTEXWEIGHTPOINTEREXT_DECL
14599   csGLVERTEXWEIGHTPOINTEREXT glVertexWeightPointerEXT;
14600   #endif
14601 
14602 
14627   #ifndef GLMAPCONTROLPOINTSNV_DECL
14628   #define GLMAPCONTROLPOINTSNV_DECL
14629   csGLMAPCONTROLPOINTSNV glMapControlPointsNV;
14630   #endif
14631 
14632   #ifndef GLMAPPARAMETERIVNV_DECL
14633   #define GLMAPPARAMETERIVNV_DECL
14634   csGLMAPPARAMETERIVNV glMapParameterivNV;
14635   #endif
14636 
14637   #ifndef GLMAPPARAMETERFVNV_DECL
14638   #define GLMAPPARAMETERFVNV_DECL
14639   csGLMAPPARAMETERFVNV glMapParameterfvNV;
14640   #endif
14641 
14642   #ifndef GLGETMAPCONTROLPOINTSNV_DECL
14643   #define GLGETMAPCONTROLPOINTSNV_DECL
14644   csGLGETMAPCONTROLPOINTSNV glGetMapControlPointsNV;
14645   #endif
14646 
14647   #ifndef GLGETMAPPARAMETERIVNV_DECL
14648   #define GLGETMAPPARAMETERIVNV_DECL
14649   csGLGETMAPPARAMETERIVNV glGetMapParameterivNV;
14650   #endif
14651 
14652   #ifndef GLGETMAPPARAMETERFVNV_DECL
14653   #define GLGETMAPPARAMETERFVNV_DECL
14654   csGLGETMAPPARAMETERFVNV glGetMapParameterfvNV;
14655   #endif
14656 
14657   #ifndef GLGETMAPATTRIBPARAMETERIVNV_DECL
14658   #define GLGETMAPATTRIBPARAMETERIVNV_DECL
14659   csGLGETMAPATTRIBPARAMETERIVNV glGetMapAttribParameterivNV;
14660   #endif
14661 
14662   #ifndef GLGETMAPATTRIBPARAMETERFVNV_DECL
14663   #define GLGETMAPATTRIBPARAMETERFVNV_DECL
14664   csGLGETMAPATTRIBPARAMETERFVNV glGetMapAttribParameterfvNV;
14665   #endif
14666 
14667   #ifndef GLEVALMAPSNV_DECL
14668   #define GLEVALMAPSNV_DECL
14669   csGLEVALMAPSNV glEvalMapsNV;
14670   #endif
14671 
14672 
14677   #ifndef GLGENFENCESNV_DECL
14678   #define GLGENFENCESNV_DECL
14679   csGLGENFENCESNV glGenFencesNV;
14680   #endif
14681 
14682   #ifndef GLDELETEFENCESNV_DECL
14683   #define GLDELETEFENCESNV_DECL
14684   csGLDELETEFENCESNV glDeleteFencesNV;
14685   #endif
14686 
14687   #ifndef GLSETFENCENV_DECL
14688   #define GLSETFENCENV_DECL
14689   csGLSETFENCENV glSetFenceNV;
14690   #endif
14691 
14692   #ifndef GLTESTFENCENV_DECL
14693   #define GLTESTFENCENV_DECL
14694   csGLTESTFENCENV glTestFenceNV;
14695   #endif
14696 
14697   #ifndef GLFINISHFENCENV_DECL
14698   #define GLFINISHFENCENV_DECL
14699   csGLFINISHFENCENV glFinishFenceNV;
14700   #endif
14701 
14702   #ifndef GLISFENCENV_DECL
14703   #define GLISFENCENV_DECL
14704   csGLISFENCENV glIsFenceNV;
14705   #endif
14706 
14707   #ifndef GLGETFENCEIVNV_DECL
14708   #define GLGETFENCEIVNV_DECL
14709   csGLGETFENCEIVNV glGetFenceivNV;
14710   #endif
14711 
14712 
14732   #ifndef GLGENOCCLUSIONQUERIESNV_DECL
14733   #define GLGENOCCLUSIONQUERIESNV_DECL
14734   csGLGENOCCLUSIONQUERIESNV glGenOcclusionQueriesNV;
14735   #endif
14736 
14737   #ifndef GLDELETEOCCLUSIONQUERIESNV_DECL
14738   #define GLDELETEOCCLUSIONQUERIESNV_DECL
14739   csGLDELETEOCCLUSIONQUERIESNV glDeleteOcclusionQueriesNV;
14740   #endif
14741 
14742   #ifndef GLISOCCLUSIONQUERYNV_DECL
14743   #define GLISOCCLUSIONQUERYNV_DECL
14744   csGLISOCCLUSIONQUERYNV glIsOcclusionQueryNV;
14745   #endif
14746 
14747   #ifndef GLBEGINOCCLUSIONQUERYNV_DECL
14748   #define GLBEGINOCCLUSIONQUERYNV_DECL
14749   csGLBEGINOCCLUSIONQUERYNV glBeginOcclusionQueryNV;
14750   #endif
14751 
14752   #ifndef GLENDOCCLUSIONQUERYNV_DECL
14753   #define GLENDOCCLUSIONQUERYNV_DECL
14754   csGLENDOCCLUSIONQUERYNV glEndOcclusionQueryNV;
14755   #endif
14756 
14757   #ifndef GLGETOCCLUSIONQUERYIVNV_DECL
14758   #define GLGETOCCLUSIONQUERYIVNV_DECL
14759   csGLGETOCCLUSIONQUERYIVNV glGetOcclusionQueryivNV;
14760   #endif
14761 
14762   #ifndef GLGETOCCLUSIONQUERYUIVNV_DECL
14763   #define GLGETOCCLUSIONQUERYUIVNV_DECL
14764   csGLGETOCCLUSIONQUERYUIVNV glGetOcclusionQueryuivNV;
14765   #endif
14766 
14767 
14777   #ifndef GLPOINTPARAMETERINV_DECL
14778   #define GLPOINTPARAMETERINV_DECL
14779   csGLPOINTPARAMETERINV glPointParameteriNV;
14780   #endif
14781 
14782   #ifndef GLPOINTPARAMETERIVNV_DECL
14783   #define GLPOINTPARAMETERIVNV_DECL
14784   csGLPOINTPARAMETERIVNV glPointParameterivNV;
14785   #endif
14786 
14787 
14792   #ifndef GLCOMBINERPARAMETERFVNV_DECL
14793   #define GLCOMBINERPARAMETERFVNV_DECL
14794   csGLCOMBINERPARAMETERFVNV glCombinerParameterfvNV;
14795   #endif
14796 
14797   #ifndef GLCOMBINERPARAMETERIVNV_DECL
14798   #define GLCOMBINERPARAMETERIVNV_DECL
14799   csGLCOMBINERPARAMETERIVNV glCombinerParameterivNV;
14800   #endif
14801 
14802   #ifndef GLCOMBINERPARAMETERFNV_DECL
14803   #define GLCOMBINERPARAMETERFNV_DECL
14804   csGLCOMBINERPARAMETERFNV glCombinerParameterfNV;
14805   #endif
14806 
14807   #ifndef GLCOMBINERPARAMETERINV_DECL
14808   #define GLCOMBINERPARAMETERINV_DECL
14809   csGLCOMBINERPARAMETERINV glCombinerParameteriNV;
14810   #endif
14811 
14812   #ifndef GLCOMBINERINPUTNV_DECL
14813   #define GLCOMBINERINPUTNV_DECL
14814   csGLCOMBINERINPUTNV glCombinerInputNV;
14815   #endif
14816 
14817   #ifndef GLCOMBINEROUTPUTNV_DECL
14818   #define GLCOMBINEROUTPUTNV_DECL
14819   csGLCOMBINEROUTPUTNV glCombinerOutputNV;
14820   #endif
14821 
14822   #ifndef GLFINALCOMBINERINPUTNV_DECL
14823   #define GLFINALCOMBINERINPUTNV_DECL
14824   csGLFINALCOMBINERINPUTNV glFinalCombinerInputNV;
14825   #endif
14826 
14827   #ifndef GLGETCOMBINERINPUTPARAMETERFVNV_DECL
14828   #define GLGETCOMBINERINPUTPARAMETERFVNV_DECL
14829   csGLGETCOMBINERINPUTPARAMETERFVNV glGetCombinerInputParameterfvNV;
14830   #endif
14831 
14832   #ifndef GLGETCOMBINERINPUTPARAMETERIVNV_DECL
14833   #define GLGETCOMBINERINPUTPARAMETERIVNV_DECL
14834   csGLGETCOMBINERINPUTPARAMETERIVNV glGetCombinerInputParameterivNV;
14835   #endif
14836 
14837   #ifndef GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
14838   #define GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL
14839   csGLGETCOMBINEROUTPUTPARAMETERFVNV glGetCombinerOutputParameterfvNV;
14840   #endif
14841 
14842   #ifndef GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
14843   #define GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL
14844   csGLGETCOMBINEROUTPUTPARAMETERIVNV glGetCombinerOutputParameterivNV;
14845   #endif
14846 
14847   #ifndef GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
14848   #define GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL
14849   csGLGETFINALCOMBINERINPUTPARAMETERFVNV glGetFinalCombinerInputParameterfvNV;
14850   #endif
14851 
14852   #ifndef GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
14853   #define GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL
14854   csGLGETFINALCOMBINERINPUTPARAMETERIVNV glGetFinalCombinerInputParameterivNV;
14855   #endif
14856 
14857 
14862   #ifndef GLCOMBINERSTAGEPARAMETERFVNV_DECL
14863   #define GLCOMBINERSTAGEPARAMETERFVNV_DECL
14864   csGLCOMBINERSTAGEPARAMETERFVNV glCombinerStageParameterfvNV;
14865   #endif
14866 
14867   #ifndef GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
14868   #define GLGETCOMBINERSTAGEPARAMETERFVNV_DECL
14869   csGLGETCOMBINERSTAGEPARAMETERFVNV glGetCombinerStageParameterfvNV;
14870   #endif
14871 
14872 
14917   #ifndef GLVERTEXARRAYRANGENV_DECL
14918   #define GLVERTEXARRAYRANGENV_DECL
14919   csGLVERTEXARRAYRANGENV glVertexArrayRangeNV;
14920   #endif
14921 
14922   #ifndef GLFLUSHVERTEXARRAYRANGENV_DECL
14923   #define GLFLUSHVERTEXARRAYRANGENV_DECL
14924   csGLFLUSHVERTEXARRAYRANGENV glFlushVertexArrayRangeNV;
14925   #endif
14926 
14927   #ifndef WGLALLOCATEMEMORYNV_DECL
14928   #define WGLALLOCATEMEMORYNV_DECL
14929   csWGLALLOCATEMEMORYNV wglAllocateMemoryNV;
14930   #endif
14931 
14932   #ifndef WGLFREEMEMORYNV_DECL
14933   #define WGLFREEMEMORYNV_DECL
14934   csWGLFREEMEMORYNV wglFreeMemoryNV;
14935   #endif
14936 
14937 
14947   #ifndef GLBINDPROGRAMNV_DECL
14948   #define GLBINDPROGRAMNV_DECL
14949   csGLBINDPROGRAMNV glBindProgramNV;
14950   #endif
14951 
14952   #ifndef GLDELETEPROGRAMSNV_DECL
14953   #define GLDELETEPROGRAMSNV_DECL
14954   csGLDELETEPROGRAMSNV glDeleteProgramsNV;
14955   #endif
14956 
14957   #ifndef GLEXECUTEPROGRAMNV_DECL
14958   #define GLEXECUTEPROGRAMNV_DECL
14959   csGLEXECUTEPROGRAMNV glExecuteProgramNV;
14960   #endif
14961 
14962   #ifndef GLGENPROGRAMSNV_DECL
14963   #define GLGENPROGRAMSNV_DECL
14964   csGLGENPROGRAMSNV glGenProgramsNV;
14965   #endif
14966 
14967   #ifndef GLAREPROGRAMSRESIDENTNV_DECL
14968   #define GLAREPROGRAMSRESIDENTNV_DECL
14969   csGLAREPROGRAMSRESIDENTNV glAreProgramsResidentNV;
14970   #endif
14971 
14972   #ifndef GLREQUESTRESIDENTPROGRAMSNV_DECL
14973   #define GLREQUESTRESIDENTPROGRAMSNV_DECL
14974   csGLREQUESTRESIDENTPROGRAMSNV glRequestResidentProgramsNV;
14975   #endif
14976 
14977   #ifndef GLGETPROGRAMPARAMETERFVNV_DECL
14978   #define GLGETPROGRAMPARAMETERFVNV_DECL
14979   csGLGETPROGRAMPARAMETERFVNV glGetProgramParameterfvNV;
14980   #endif
14981 
14982   #ifndef GLGETPROGRAMPARAMETERDVNV_DECL
14983   #define GLGETPROGRAMPARAMETERDVNV_DECL
14984   csGLGETPROGRAMPARAMETERDVNV glGetProgramParameterdvNV;
14985   #endif
14986 
14987   #ifndef GLGETPROGRAMIVNV_DECL
14988   #define GLGETPROGRAMIVNV_DECL
14989   csGLGETPROGRAMIVNV glGetProgramivNV;
14990   #endif
14991 
14992   #ifndef GLGETPROGRAMSTRINGNV_DECL
14993   #define GLGETPROGRAMSTRINGNV_DECL
14994   csGLGETPROGRAMSTRINGNV glGetProgramStringNV;
14995   #endif
14996 
14997   #ifndef GLGETTRACKMATRIXIVNV_DECL
14998   #define GLGETTRACKMATRIXIVNV_DECL
14999   csGLGETTRACKMATRIXIVNV glGetTrackMatrixivNV;
15000   #endif
15001 
15002   #ifndef GLGETVERTEXATTRIBDVNV_DECL
15003   #define GLGETVERTEXATTRIBDVNV_DECL
15004   csGLGETVERTEXATTRIBDVNV glGetVertexAttribdvNV;
15005   #endif
15006 
15007   #ifndef GLGETVERTEXATTRIBFVNV_DECL
15008   #define GLGETVERTEXATTRIBFVNV_DECL
15009   csGLGETVERTEXATTRIBFVNV glGetVertexAttribfvNV;
15010   #endif
15011 
15012   #ifndef GLGETVERTEXATTRIBIVNV_DECL
15013   #define GLGETVERTEXATTRIBIVNV_DECL
15014   csGLGETVERTEXATTRIBIVNV glGetVertexAttribivNV;
15015   #endif
15016 
15017   #ifndef GLGETVERTEXATTRIBPOINTERVNV_DECL
15018   #define GLGETVERTEXATTRIBPOINTERVNV_DECL
15019   csGLGETVERTEXATTRIBPOINTERVNV glGetVertexAttribPointervNV;
15020   #endif
15021 
15022   #ifndef GLISPROGRAMNV_DECL
15023   #define GLISPROGRAMNV_DECL
15024   csGLISPROGRAMNV glIsProgramNV;
15025   #endif
15026 
15027   #ifndef GLLOADPROGRAMNV_DECL
15028   #define GLLOADPROGRAMNV_DECL
15029   csGLLOADPROGRAMNV glLoadProgramNV;
15030   #endif
15031 
15032   #ifndef GLPROGRAMPARAMETER4FNV_DECL
15033   #define GLPROGRAMPARAMETER4FNV_DECL
15034   csGLPROGRAMPARAMETER4FNV glProgramParameter4fNV;
15035   #endif
15036 
15037   #ifndef GLPROGRAMPARAMETER4FVNV_DECL
15038   #define GLPROGRAMPARAMETER4FVNV_DECL
15039   csGLPROGRAMPARAMETER4FVNV glProgramParameter4fvNV;
15040   #endif
15041 
15042   #ifndef GLPROGRAMPARAMETERS4DVNV_DECL
15043   #define GLPROGRAMPARAMETERS4DVNV_DECL
15044   csGLPROGRAMPARAMETERS4DVNV glProgramParameters4dvNV;
15045   #endif
15046 
15047   #ifndef GLPROGRAMPARAMETERS4FVNV_DECL
15048   #define GLPROGRAMPARAMETERS4FVNV_DECL
15049   csGLPROGRAMPARAMETERS4FVNV glProgramParameters4fvNV;
15050   #endif
15051 
15052   #ifndef GLTRACKMATRIXNV_DECL
15053   #define GLTRACKMATRIXNV_DECL
15054   csGLTRACKMATRIXNV glTrackMatrixNV;
15055   #endif
15056 
15057   #ifndef GLVERTEXATTRIBPOINTERNV_DECL
15058   #define GLVERTEXATTRIBPOINTERNV_DECL
15059   csGLVERTEXATTRIBPOINTERNV glVertexAttribPointerNV;
15060   #endif
15061 
15062   #ifndef GLVERTEXATTRIB1SNV_DECL
15063   #define GLVERTEXATTRIB1SNV_DECL
15064   csGLVERTEXATTRIB1SNV glVertexAttrib1sNV;
15065   #endif
15066 
15067   #ifndef GLVERTEXATTRIB1FNV_DECL
15068   #define GLVERTEXATTRIB1FNV_DECL
15069   csGLVERTEXATTRIB1FNV glVertexAttrib1fNV;
15070   #endif
15071 
15072   #ifndef GLVERTEXATTRIB1DNV_DECL
15073   #define GLVERTEXATTRIB1DNV_DECL
15074   csGLVERTEXATTRIB1DNV glVertexAttrib1dNV;
15075   #endif
15076 
15077   #ifndef GLVERTEXATTRIB2SNV_DECL
15078   #define GLVERTEXATTRIB2SNV_DECL
15079   csGLVERTEXATTRIB2SNV glVertexAttrib2sNV;
15080   #endif
15081 
15082   #ifndef GLVERTEXATTRIB2FNV_DECL
15083   #define GLVERTEXATTRIB2FNV_DECL
15084   csGLVERTEXATTRIB2FNV glVertexAttrib2fNV;
15085   #endif
15086 
15087   #ifndef GLVERTEXATTRIB2DNV_DECL
15088   #define GLVERTEXATTRIB2DNV_DECL
15089   csGLVERTEXATTRIB2DNV glVertexAttrib2dNV;
15090   #endif
15091 
15092   #ifndef GLVERTEXATTRIB3SNV_DECL
15093   #define GLVERTEXATTRIB3SNV_DECL
15094   csGLVERTEXATTRIB3SNV glVertexAttrib3sNV;
15095   #endif
15096 
15097   #ifndef GLVERTEXATTRIB3FNV_DECL
15098   #define GLVERTEXATTRIB3FNV_DECL
15099   csGLVERTEXATTRIB3FNV glVertexAttrib3fNV;
15100   #endif
15101 
15102   #ifndef GLVERTEXATTRIB3DNV_DECL
15103   #define GLVERTEXATTRIB3DNV_DECL
15104   csGLVERTEXATTRIB3DNV glVertexAttrib3dNV;
15105   #endif
15106 
15107   #ifndef GLVERTEXATTRIB4SNV_DECL
15108   #define GLVERTEXATTRIB4SNV_DECL
15109   csGLVERTEXATTRIB4SNV glVertexAttrib4sNV;
15110   #endif
15111 
15112   #ifndef GLVERTEXATTRIB4FNV_DECL
15113   #define GLVERTEXATTRIB4FNV_DECL
15114   csGLVERTEXATTRIB4FNV glVertexAttrib4fNV;
15115   #endif
15116 
15117   #ifndef GLVERTEXATTRIB4DNV_DECL
15118   #define GLVERTEXATTRIB4DNV_DECL
15119   csGLVERTEXATTRIB4DNV glVertexAttrib4dNV;
15120   #endif
15121 
15122   #ifndef GLVERTEXATTRIB4UBNV_DECL
15123   #define GLVERTEXATTRIB4UBNV_DECL
15124   csGLVERTEXATTRIB4UBNV glVertexAttrib4ubNV;
15125   #endif
15126 
15127   #ifndef GLVERTEXATTRIB1SVNV_DECL
15128   #define GLVERTEXATTRIB1SVNV_DECL
15129   csGLVERTEXATTRIB1SVNV glVertexAttrib1svNV;
15130   #endif
15131 
15132   #ifndef GLVERTEXATTRIB1FVNV_DECL
15133   #define GLVERTEXATTRIB1FVNV_DECL
15134   csGLVERTEXATTRIB1FVNV glVertexAttrib1fvNV;
15135   #endif
15136 
15137   #ifndef GLVERTEXATTRIB1DVNV_DECL
15138   #define GLVERTEXATTRIB1DVNV_DECL
15139   csGLVERTEXATTRIB1DVNV glVertexAttrib1dvNV;
15140   #endif
15141 
15142   #ifndef GLVERTEXATTRIB2SVNV_DECL
15143   #define GLVERTEXATTRIB2SVNV_DECL
15144   csGLVERTEXATTRIB2SVNV glVertexAttrib2svNV;
15145   #endif
15146 
15147   #ifndef GLVERTEXATTRIB2FVNV_DECL
15148   #define GLVERTEXATTRIB2FVNV_DECL
15149   csGLVERTEXATTRIB2FVNV glVertexAttrib2fvNV;
15150   #endif
15151 
15152   #ifndef GLVERTEXATTRIB2DVNV_DECL
15153   #define GLVERTEXATTRIB2DVNV_DECL
15154   csGLVERTEXATTRIB2DVNV glVertexAttrib2dvNV;
15155   #endif
15156 
15157   #ifndef GLVERTEXATTRIB3SVNV_DECL
15158   #define GLVERTEXATTRIB3SVNV_DECL
15159   csGLVERTEXATTRIB3SVNV glVertexAttrib3svNV;
15160   #endif
15161 
15162   #ifndef GLVERTEXATTRIB3FVNV_DECL
15163   #define GLVERTEXATTRIB3FVNV_DECL
15164   csGLVERTEXATTRIB3FVNV glVertexAttrib3fvNV;
15165   #endif
15166 
15167   #ifndef GLVERTEXATTRIB3DVNV_DECL
15168   #define GLVERTEXATTRIB3DVNV_DECL
15169   csGLVERTEXATTRIB3DVNV glVertexAttrib3dvNV;
15170   #endif
15171 
15172   #ifndef GLVERTEXATTRIB4SVNV_DECL
15173   #define GLVERTEXATTRIB4SVNV_DECL
15174   csGLVERTEXATTRIB4SVNV glVertexAttrib4svNV;
15175   #endif
15176 
15177   #ifndef GLVERTEXATTRIB4FVNV_DECL
15178   #define GLVERTEXATTRIB4FVNV_DECL
15179   csGLVERTEXATTRIB4FVNV glVertexAttrib4fvNV;
15180   #endif
15181 
15182   #ifndef GLVERTEXATTRIB4DVNV_DECL
15183   #define GLVERTEXATTRIB4DVNV_DECL
15184   csGLVERTEXATTRIB4DVNV glVertexAttrib4dvNV;
15185   #endif
15186 
15187   #ifndef GLVERTEXATTRIB4UBVNV_DECL
15188   #define GLVERTEXATTRIB4UBVNV_DECL
15189   csGLVERTEXATTRIB4UBVNV glVertexAttrib4ubvNV;
15190   #endif
15191 
15192   #ifndef GLVERTEXATTRIBS1SVNV_DECL
15193   #define GLVERTEXATTRIBS1SVNV_DECL
15194   csGLVERTEXATTRIBS1SVNV glVertexAttribs1svNV;
15195   #endif
15196 
15197   #ifndef GLVERTEXATTRIBS1FVNV_DECL
15198   #define GLVERTEXATTRIBS1FVNV_DECL
15199   csGLVERTEXATTRIBS1FVNV glVertexAttribs1fvNV;
15200   #endif
15201 
15202   #ifndef GLVERTEXATTRIBS1DVNV_DECL
15203   #define GLVERTEXATTRIBS1DVNV_DECL
15204   csGLVERTEXATTRIBS1DVNV glVertexAttribs1dvNV;
15205   #endif
15206 
15207   #ifndef GLVERTEXATTRIBS2SVNV_DECL
15208   #define GLVERTEXATTRIBS2SVNV_DECL
15209   csGLVERTEXATTRIBS2SVNV glVertexAttribs2svNV;
15210   #endif
15211 
15212   #ifndef GLVERTEXATTRIBS2FVNV_DECL
15213   #define GLVERTEXATTRIBS2FVNV_DECL
15214   csGLVERTEXATTRIBS2FVNV glVertexAttribs2fvNV;
15215   #endif
15216 
15217   #ifndef GLVERTEXATTRIBS2DVNV_DECL
15218   #define GLVERTEXATTRIBS2DVNV_DECL
15219   csGLVERTEXATTRIBS2DVNV glVertexAttribs2dvNV;
15220   #endif
15221 
15222   #ifndef GLVERTEXATTRIBS3SVNV_DECL
15223   #define GLVERTEXATTRIBS3SVNV_DECL
15224   csGLVERTEXATTRIBS3SVNV glVertexAttribs3svNV;
15225   #endif
15226 
15227   #ifndef GLVERTEXATTRIBS3FVNV_DECL
15228   #define GLVERTEXATTRIBS3FVNV_DECL
15229   csGLVERTEXATTRIBS3FVNV glVertexAttribs3fvNV;
15230   #endif
15231 
15232   #ifndef GLVERTEXATTRIBS3DVNV_DECL
15233   #define GLVERTEXATTRIBS3DVNV_DECL
15234   csGLVERTEXATTRIBS3DVNV glVertexAttribs3dvNV;
15235   #endif
15236 
15237   #ifndef GLVERTEXATTRIBS4SVNV_DECL
15238   #define GLVERTEXATTRIBS4SVNV_DECL
15239   csGLVERTEXATTRIBS4SVNV glVertexAttribs4svNV;
15240   #endif
15241 
15242   #ifndef GLVERTEXATTRIBS4FVNV_DECL
15243   #define GLVERTEXATTRIBS4FVNV_DECL
15244   csGLVERTEXATTRIBS4FVNV glVertexAttribs4fvNV;
15245   #endif
15246 
15247   #ifndef GLVERTEXATTRIBS4DVNV_DECL
15248   #define GLVERTEXATTRIBS4DVNV_DECL
15249   csGLVERTEXATTRIBS4DVNV glVertexAttribs4dvNV;
15250   #endif
15251 
15252   #ifndef GLVERTEXATTRIBS4UBVNV_DECL
15253   #define GLVERTEXATTRIBS4UBVNV_DECL
15254   csGLVERTEXATTRIBS4UBVNV glVertexAttribs4ubvNV;
15255   #endif
15256 
15257 
15267   #ifndef GLELEMENTPOINTERATI_DECL
15268   #define GLELEMENTPOINTERATI_DECL
15269   csGLELEMENTPOINTERATI glElementPointerATI;
15270   #endif
15271 
15272   #ifndef GLDRAWELEMENTARRAYATI_DECL
15273   #define GLDRAWELEMENTARRAYATI_DECL
15274   csGLDRAWELEMENTARRAYATI glDrawElementArrayATI;
15275   #endif
15276 
15277   #ifndef GLDRAWRANGEELEMENTARRAYATI_DECL
15278   #define GLDRAWRANGEELEMENTARRAYATI_DECL
15279   csGLDRAWRANGEELEMENTARRAYATI glDrawRangeElementArrayATI;
15280   #endif
15281 
15282 
15287   #ifndef GLTEXBUMPPARAMETERIVATI_DECL
15288   #define GLTEXBUMPPARAMETERIVATI_DECL
15289   csGLTEXBUMPPARAMETERIVATI glTexBumpParameterivATI;
15290   #endif
15291 
15292   #ifndef GLTEXBUMPPARAMETERFVATI_DECL
15293   #define GLTEXBUMPPARAMETERFVATI_DECL
15294   csGLTEXBUMPPARAMETERFVATI glTexBumpParameterfvATI;
15295   #endif
15296 
15297   #ifndef GLGETTEXBUMPPARAMETERIVATI_DECL
15298   #define GLGETTEXBUMPPARAMETERIVATI_DECL
15299   csGLGETTEXBUMPPARAMETERIVATI glGetTexBumpParameterivATI;
15300   #endif
15301 
15302   #ifndef GLGETTEXBUMPPARAMETERFVATI_DECL
15303   #define GLGETTEXBUMPPARAMETERFVATI_DECL
15304   csGLGETTEXBUMPPARAMETERFVATI glGetTexBumpParameterfvATI;
15305   #endif
15306 
15307 
15312   #ifndef GLGENFRAGMENTSHADERSATI_DECL
15313   #define GLGENFRAGMENTSHADERSATI_DECL
15314   csGLGENFRAGMENTSHADERSATI glGenFragmentShadersATI;
15315   #endif
15316 
15317   #ifndef GLBINDFRAGMENTSHADERATI_DECL
15318   #define GLBINDFRAGMENTSHADERATI_DECL
15319   csGLBINDFRAGMENTSHADERATI glBindFragmentShaderATI;
15320   #endif
15321 
15322   #ifndef GLDELETEFRAGMENTSHADERATI_DECL
15323   #define GLDELETEFRAGMENTSHADERATI_DECL
15324   csGLDELETEFRAGMENTSHADERATI glDeleteFragmentShaderATI;
15325   #endif
15326 
15327   #ifndef GLBEGINFRAGMENTSHADERATI_DECL
15328   #define GLBEGINFRAGMENTSHADERATI_DECL
15329   csGLBEGINFRAGMENTSHADERATI glBeginFragmentShaderATI;
15330   #endif
15331 
15332   #ifndef GLENDFRAGMENTSHADERATI_DECL
15333   #define GLENDFRAGMENTSHADERATI_DECL
15334   csGLENDFRAGMENTSHADERATI glEndFragmentShaderATI;
15335   #endif
15336 
15337   #ifndef GLPASSTEXCOORDATI_DECL
15338   #define GLPASSTEXCOORDATI_DECL
15339   csGLPASSTEXCOORDATI glPassTexCoordATI;
15340   #endif
15341 
15342   #ifndef GLSAMPLEMAPATI_DECL
15343   #define GLSAMPLEMAPATI_DECL
15344   csGLSAMPLEMAPATI glSampleMapATI;
15345   #endif
15346 
15347   #ifndef GLCOLORFRAGMENTOP1ATI_DECL
15348   #define GLCOLORFRAGMENTOP1ATI_DECL
15349   csGLCOLORFRAGMENTOP1ATI glColorFragmentOp1ATI;
15350   #endif
15351 
15352   #ifndef GLCOLORFRAGMENTOP2ATI_DECL
15353   #define GLCOLORFRAGMENTOP2ATI_DECL
15354   csGLCOLORFRAGMENTOP2ATI glColorFragmentOp2ATI;
15355   #endif
15356 
15357   #ifndef GLCOLORFRAGMENTOP3ATI_DECL
15358   #define GLCOLORFRAGMENTOP3ATI_DECL
15359   csGLCOLORFRAGMENTOP3ATI glColorFragmentOp3ATI;
15360   #endif
15361 
15362   #ifndef GLALPHAFRAGMENTOP1ATI_DECL
15363   #define GLALPHAFRAGMENTOP1ATI_DECL
15364   csGLALPHAFRAGMENTOP1ATI glAlphaFragmentOp1ATI;
15365   #endif
15366 
15367   #ifndef GLALPHAFRAGMENTOP2ATI_DECL
15368   #define GLALPHAFRAGMENTOP2ATI_DECL
15369   csGLALPHAFRAGMENTOP2ATI glAlphaFragmentOp2ATI;
15370   #endif
15371 
15372   #ifndef GLALPHAFRAGMENTOP3ATI_DECL
15373   #define GLALPHAFRAGMENTOP3ATI_DECL
15374   csGLALPHAFRAGMENTOP3ATI glAlphaFragmentOp3ATI;
15375   #endif
15376 
15377   #ifndef GLSETFRAGMENTSHADERCONSTANTATI_DECL
15378   #define GLSETFRAGMENTSHADERCONSTANTATI_DECL
15379   csGLSETFRAGMENTSHADERCONSTANTATI glSetFragmentShaderConstantATI;
15380   #endif
15381 
15382 
15387   #ifndef GLPNTRIANGLESIATI_DECL
15388   #define GLPNTRIANGLESIATI_DECL
15389   csGLPNTRIANGLESIATI glPNTrianglesiATI;
15390   #endif
15391 
15392   #ifndef GLPNTRIANGLESFATI_DECL
15393   #define GLPNTRIANGLESFATI_DECL
15394   csGLPNTRIANGLESFATI glPNTrianglesfATI;
15395   #endif
15396 
15397 
15407   #ifndef GLNEWOBJECTBUFFERATI_DECL
15408   #define GLNEWOBJECTBUFFERATI_DECL
15409   csGLNEWOBJECTBUFFERATI glNewObjectBufferATI;
15410   #endif
15411 
15412   #ifndef GLISOBJECTBUFFERATI_DECL
15413   #define GLISOBJECTBUFFERATI_DECL
15414   csGLISOBJECTBUFFERATI glIsObjectBufferATI;
15415   #endif
15416 
15417   #ifndef GLUPDATEOBJECTBUFFERATI_DECL
15418   #define GLUPDATEOBJECTBUFFERATI_DECL
15419   csGLUPDATEOBJECTBUFFERATI glUpdateObjectBufferATI;
15420   #endif
15421 
15422   #ifndef GLGETOBJECTBUFFERFVATI_DECL
15423   #define GLGETOBJECTBUFFERFVATI_DECL
15424   csGLGETOBJECTBUFFERFVATI glGetObjectBufferfvATI;
15425   #endif
15426 
15427   #ifndef GLGETOBJECTBUFFERIVATI_DECL
15428   #define GLGETOBJECTBUFFERIVATI_DECL
15429   csGLGETOBJECTBUFFERIVATI glGetObjectBufferivATI;
15430   #endif
15431 
15432   #ifndef GLFREEOBJECTBUFFERATI_DECL
15433   #define GLFREEOBJECTBUFFERATI_DECL
15434   csGLFREEOBJECTBUFFERATI glFreeObjectBufferATI;
15435   #endif
15436 
15437   #ifndef GLARRAYOBJECTATI_DECL
15438   #define GLARRAYOBJECTATI_DECL
15439   csGLARRAYOBJECTATI glArrayObjectATI;
15440   #endif
15441 
15442   #ifndef GLGETARRAYOBJECTFVATI_DECL
15443   #define GLGETARRAYOBJECTFVATI_DECL
15444   csGLGETARRAYOBJECTFVATI glGetArrayObjectfvATI;
15445   #endif
15446 
15447   #ifndef GLGETARRAYOBJECTIVATI_DECL
15448   #define GLGETARRAYOBJECTIVATI_DECL
15449   csGLGETARRAYOBJECTIVATI glGetArrayObjectivATI;
15450   #endif
15451 
15452   #ifndef GLVARIANTARRAYOBJECTATI_DECL
15453   #define GLVARIANTARRAYOBJECTATI_DECL
15454   csGLVARIANTARRAYOBJECTATI glVariantArrayObjectATI;
15455   #endif
15456 
15457   #ifndef GLGETVARIANTARRAYOBJECTFVATI_DECL
15458   #define GLGETVARIANTARRAYOBJECTFVATI_DECL
15459   csGLGETVARIANTARRAYOBJECTFVATI glGetVariantArrayObjectfvATI;
15460   #endif
15461 
15462   #ifndef GLGETVARIANTARRAYOBJECTIVATI_DECL
15463   #define GLGETVARIANTARRAYOBJECTIVATI_DECL
15464   csGLGETVARIANTARRAYOBJECTIVATI glGetVariantArrayObjectivATI;
15465   #endif
15466 
15467 
15472   #ifndef GLVERTEXATTRIBARRAYOBJECTATI_DECL
15473   #define GLVERTEXATTRIBARRAYOBJECTATI_DECL
15474   csGLVERTEXATTRIBARRAYOBJECTATI glVertexAttribArrayObjectATI;
15475   #endif
15476 
15477   #ifndef GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
15478   #define GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL
15479   csGLGETVERTEXATTRIBARRAYOBJECTFVATI glGetVertexAttribArrayObjectfvATI;
15480   #endif
15481 
15482   #ifndef GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
15483   #define GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL
15484   csGLGETVERTEXATTRIBARRAYOBJECTIVATI glGetVertexAttribArrayObjectivATI;
15485   #endif
15486 
15487 
15492   #ifndef GLVERTEXSTREAM1S_DECL
15493   #define GLVERTEXSTREAM1S_DECL
15494   csGLVERTEXSTREAM1S glVertexStream1s;
15495   #endif
15496 
15497   #ifndef GLVERTEXSTREAM1I_DECL
15498   #define GLVERTEXSTREAM1I_DECL
15499   csGLVERTEXSTREAM1I glVertexStream1i;
15500   #endif
15501 
15502   #ifndef GLVERTEXSTREAM1F_DECL
15503   #define GLVERTEXSTREAM1F_DECL
15504   csGLVERTEXSTREAM1F glVertexStream1f;
15505   #endif
15506 
15507   #ifndef GLVERTEXSTREAM1D_DECL
15508   #define GLVERTEXSTREAM1D_DECL
15509   csGLVERTEXSTREAM1D glVertexStream1d;
15510   #endif
15511 
15512   #ifndef GLVERTEXSTREAM1SV_DECL
15513   #define GLVERTEXSTREAM1SV_DECL
15514   csGLVERTEXSTREAM1SV glVertexStream1sv;
15515   #endif
15516 
15517   #ifndef GLVERTEXSTREAM1IV_DECL
15518   #define GLVERTEXSTREAM1IV_DECL
15519   csGLVERTEXSTREAM1IV glVertexStream1iv;
15520   #endif
15521 
15522   #ifndef GLVERTEXSTREAM1FV_DECL
15523   #define GLVERTEXSTREAM1FV_DECL
15524   csGLVERTEXSTREAM1FV glVertexStream1fv;
15525   #endif
15526 
15527   #ifndef GLVERTEXSTREAM1DV_DECL
15528   #define GLVERTEXSTREAM1DV_DECL
15529   csGLVERTEXSTREAM1DV glVertexStream1dv;
15530   #endif
15531 
15532   #ifndef GLVERTEXSTREAM2S_DECL
15533   #define GLVERTEXSTREAM2S_DECL
15534   csGLVERTEXSTREAM2S glVertexStream2s;
15535   #endif
15536 
15537   #ifndef GLVERTEXSTREAM2I_DECL
15538   #define GLVERTEXSTREAM2I_DECL
15539   csGLVERTEXSTREAM2I glVertexStream2i;
15540   #endif
15541 
15542   #ifndef GLVERTEXSTREAM2F_DECL
15543   #define GLVERTEXSTREAM2F_DECL
15544   csGLVERTEXSTREAM2F glVertexStream2f;
15545   #endif
15546 
15547   #ifndef GLVERTEXSTREAM2D_DECL
15548   #define GLVERTEXSTREAM2D_DECL
15549   csGLVERTEXSTREAM2D glVertexStream2d;
15550   #endif
15551 
15552   #ifndef GLVERTEXSTREAM2SV_DECL
15553   #define GLVERTEXSTREAM2SV_DECL
15554   csGLVERTEXSTREAM2SV glVertexStream2sv;
15555   #endif
15556 
15557   #ifndef GLVERTEXSTREAM2IV_DECL
15558   #define GLVERTEXSTREAM2IV_DECL
15559   csGLVERTEXSTREAM2IV glVertexStream2iv;
15560   #endif
15561 
15562   #ifndef GLVERTEXSTREAM2FV_DECL
15563   #define GLVERTEXSTREAM2FV_DECL
15564   csGLVERTEXSTREAM2FV glVertexStream2fv;
15565   #endif
15566 
15567   #ifndef GLVERTEXSTREAM2DV_DECL
15568   #define GLVERTEXSTREAM2DV_DECL
15569   csGLVERTEXSTREAM2DV glVertexStream2dv;
15570   #endif
15571 
15572   #ifndef GLVERTEXSTREAM3S_DECL
15573   #define GLVERTEXSTREAM3S_DECL
15574   csGLVERTEXSTREAM3S glVertexStream3s;
15575   #endif
15576 
15577   #ifndef GLVERTEXSTREAM3I_DECL
15578   #define GLVERTEXSTREAM3I_DECL
15579   csGLVERTEXSTREAM3I glVertexStream3i;
15580   #endif
15581 
15582   #ifndef GLVERTEXSTREAM3F_DECL
15583   #define GLVERTEXSTREAM3F_DECL
15584   csGLVERTEXSTREAM3F glVertexStream3f;
15585   #endif
15586 
15587   #ifndef GLVERTEXSTREAM3D_DECL
15588   #define GLVERTEXSTREAM3D_DECL
15589   csGLVERTEXSTREAM3D glVertexStream3d;
15590   #endif
15591 
15592   #ifndef GLVERTEXSTREAM3SV_DECL
15593   #define GLVERTEXSTREAM3SV_DECL
15594   csGLVERTEXSTREAM3SV glVertexStream3sv;
15595   #endif
15596 
15597   #ifndef GLVERTEXSTREAM3IV_DECL
15598   #define GLVERTEXSTREAM3IV_DECL
15599   csGLVERTEXSTREAM3IV glVertexStream3iv;
15600   #endif
15601 
15602   #ifndef GLVERTEXSTREAM3FV_DECL
15603   #define GLVERTEXSTREAM3FV_DECL
15604   csGLVERTEXSTREAM3FV glVertexStream3fv;
15605   #endif
15606 
15607   #ifndef GLVERTEXSTREAM3DV_DECL
15608   #define GLVERTEXSTREAM3DV_DECL
15609   csGLVERTEXSTREAM3DV glVertexStream3dv;
15610   #endif
15611 
15612   #ifndef GLVERTEXSTREAM4S_DECL
15613   #define GLVERTEXSTREAM4S_DECL
15614   csGLVERTEXSTREAM4S glVertexStream4s;
15615   #endif
15616 
15617   #ifndef GLVERTEXSTREAM4I_DECL
15618   #define GLVERTEXSTREAM4I_DECL
15619   csGLVERTEXSTREAM4I glVertexStream4i;
15620   #endif
15621 
15622   #ifndef GLVERTEXSTREAM4F_DECL
15623   #define GLVERTEXSTREAM4F_DECL
15624   csGLVERTEXSTREAM4F glVertexStream4f;
15625   #endif
15626 
15627   #ifndef GLVERTEXSTREAM4D_DECL
15628   #define GLVERTEXSTREAM4D_DECL
15629   csGLVERTEXSTREAM4D glVertexStream4d;
15630   #endif
15631 
15632   #ifndef GLVERTEXSTREAM4SV_DECL
15633   #define GLVERTEXSTREAM4SV_DECL
15634   csGLVERTEXSTREAM4SV glVertexStream4sv;
15635   #endif
15636 
15637   #ifndef GLVERTEXSTREAM4IV_DECL
15638   #define GLVERTEXSTREAM4IV_DECL
15639   csGLVERTEXSTREAM4IV glVertexStream4iv;
15640   #endif
15641 
15642   #ifndef GLVERTEXSTREAM4FV_DECL
15643   #define GLVERTEXSTREAM4FV_DECL
15644   csGLVERTEXSTREAM4FV glVertexStream4fv;
15645   #endif
15646 
15647   #ifndef GLVERTEXSTREAM4DV_DECL
15648   #define GLVERTEXSTREAM4DV_DECL
15649   csGLVERTEXSTREAM4DV glVertexStream4dv;
15650   #endif
15651 
15652   #ifndef GLNORMALSTREAM3B_DECL
15653   #define GLNORMALSTREAM3B_DECL
15654   csGLNORMALSTREAM3B glNormalStream3b;
15655   #endif
15656 
15657   #ifndef GLNORMALSTREAM3S_DECL
15658   #define GLNORMALSTREAM3S_DECL
15659   csGLNORMALSTREAM3S glNormalStream3s;
15660   #endif
15661 
15662   #ifndef GLNORMALSTREAM3I_DECL
15663   #define GLNORMALSTREAM3I_DECL
15664   csGLNORMALSTREAM3I glNormalStream3i;
15665   #endif
15666 
15667   #ifndef GLNORMALSTREAM3F_DECL
15668   #define GLNORMALSTREAM3F_DECL
15669   csGLNORMALSTREAM3F glNormalStream3f;
15670   #endif
15671 
15672   #ifndef GLNORMALSTREAM3D_DECL
15673   #define GLNORMALSTREAM3D_DECL
15674   csGLNORMALSTREAM3D glNormalStream3d;
15675   #endif
15676 
15677   #ifndef GLNORMALSTREAM3BV_DECL
15678   #define GLNORMALSTREAM3BV_DECL
15679   csGLNORMALSTREAM3BV glNormalStream3bv;
15680   #endif
15681 
15682   #ifndef GLNORMALSTREAM3SV_DECL
15683   #define GLNORMALSTREAM3SV_DECL
15684   csGLNORMALSTREAM3SV glNormalStream3sv;
15685   #endif
15686 
15687   #ifndef GLNORMALSTREAM3IV_DECL
15688   #define GLNORMALSTREAM3IV_DECL
15689   csGLNORMALSTREAM3IV glNormalStream3iv;
15690   #endif
15691 
15692   #ifndef GLNORMALSTREAM3FV_DECL
15693   #define GLNORMALSTREAM3FV_DECL
15694   csGLNORMALSTREAM3FV glNormalStream3fv;
15695   #endif
15696 
15697   #ifndef GLNORMALSTREAM3DV_DECL
15698   #define GLNORMALSTREAM3DV_DECL
15699   csGLNORMALSTREAM3DV glNormalStream3dv;
15700   #endif
15701 
15702   #ifndef GLCLIENTACTIVEVERTEXSTREAM_DECL
15703   #define GLCLIENTACTIVEVERTEXSTREAM_DECL
15704   csGLCLIENTACTIVEVERTEXSTREAM glClientActiveVertexStream;
15705   #endif
15706 
15707   #ifndef GLVERTEXBLENDENVI_DECL
15708   #define GLVERTEXBLENDENVI_DECL
15709   csGLVERTEXBLENDENVI glVertexBlendEnvi;
15710   #endif
15711 
15712   #ifndef GLVERTEXBLENDENVF_DECL
15713   #define GLVERTEXBLENDENVF_DECL
15714   csGLVERTEXBLENDENVF glVertexBlendEnvf;
15715   #endif
15716 
15717 
15719 #ifdef _WIN32
15720 
15723   #ifndef WGLCREATEIMAGEBUFFERI3D_DECL
15724   #define WGLCREATEIMAGEBUFFERI3D_DECL
15725   csWGLCREATEIMAGEBUFFERI3D wglCreateImageBufferI3D;
15726   #endif
15727 
15728   #ifndef WGLDESTROYIMAGEBUFFERI3D_DECL
15729   #define WGLDESTROYIMAGEBUFFERI3D_DECL
15730   csWGLDESTROYIMAGEBUFFERI3D wglDestroyImageBufferI3D;
15731   #endif
15732 
15733   #ifndef WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
15734   #define WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL
15735   csWGLASSOCIATEIMAGEBUFFEREVENTSI3D wglAssociateImageBufferEventsI3D;
15736   #endif
15737 
15738   #ifndef WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
15739   #define WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL
15740   csWGLRELEASEIMAGEBUFFEREVENTSI3D wglReleaseImageBufferEventsI3D;
15741   #endif
15742 
15743 
15745 #endif // _WIN32
15746 
15747 #ifdef _WIN32
15748 
15751   #ifndef WGLENABLEFRAMELOCKI3D_DECL
15752   #define WGLENABLEFRAMELOCKI3D_DECL
15753   csWGLENABLEFRAMELOCKI3D wglEnableFrameLockI3D;
15754   #endif
15755 
15756   #ifndef WGLDISABLEFRAMELOCKI3D_DECL
15757   #define WGLDISABLEFRAMELOCKI3D_DECL
15758   csWGLDISABLEFRAMELOCKI3D wglDisableFrameLockI3D;
15759   #endif
15760 
15761   #ifndef WGLISENABLEDFRAMELOCKI3D_DECL
15762   #define WGLISENABLEDFRAMELOCKI3D_DECL
15763   csWGLISENABLEDFRAMELOCKI3D wglIsEnabledFrameLockI3D;
15764   #endif
15765 
15766   #ifndef WGLQUERYFRAMELOCKMASTERI3D_DECL
15767   #define WGLQUERYFRAMELOCKMASTERI3D_DECL
15768   csWGLQUERYFRAMELOCKMASTERI3D wglQueryFrameLockMasterI3D;
15769   #endif
15770 
15771 
15773 #endif // _WIN32
15774 
15775 #ifdef _WIN32
15776 
15779   #ifndef WGLGETFRAMEUSAGEI3D_DECL
15780   #define WGLGETFRAMEUSAGEI3D_DECL
15781   csWGLGETFRAMEUSAGEI3D wglGetFrameUsageI3D;
15782   #endif
15783 
15784   #ifndef WGLBEGINFRAMETRACKINGI3D_DECL
15785   #define WGLBEGINFRAMETRACKINGI3D_DECL
15786   csWGLBEGINFRAMETRACKINGI3D wglBeginFrameTrackingI3D;
15787   #endif
15788 
15789   #ifndef WGLENDFRAMETRACKINGI3D_DECL
15790   #define WGLENDFRAMETRACKINGI3D_DECL
15791   csWGLENDFRAMETRACKINGI3D wglEndFrameTrackingI3D;
15792   #endif
15793 
15794   #ifndef WGLQUERYFRAMETRACKINGI3D_DECL
15795   #define WGLQUERYFRAMETRACKINGI3D_DECL
15796   csWGLQUERYFRAMETRACKINGI3D wglQueryFrameTrackingI3D;
15797   #endif
15798 
15799 
15801 #endif // _WIN32
15802 
15816   #ifndef GLMULTIMODEDRAWARRAYSIBM_DECL
15817   #define GLMULTIMODEDRAWARRAYSIBM_DECL
15818   csGLMULTIMODEDRAWARRAYSIBM glMultiModeDrawArraysIBM;
15819   #endif
15820 
15821   #ifndef GLMULTIMODEDRAWELEMENTSIBM_DECL
15822   #define GLMULTIMODEDRAWELEMENTSIBM_DECL
15823   csGLMULTIMODEDRAWELEMENTSIBM glMultiModeDrawElementsIBM;
15824   #endif
15825 
15826 
15841   #ifndef GLCOLORPOINTERLISTIBM_DECL
15842   #define GLCOLORPOINTERLISTIBM_DECL
15843   csGLCOLORPOINTERLISTIBM glColorPointerListIBM;
15844   #endif
15845 
15846   #ifndef GLSECONDARYCOLORPOINTERLISTIBM_DECL
15847   #define GLSECONDARYCOLORPOINTERLISTIBM_DECL
15848   csGLSECONDARYCOLORPOINTERLISTIBM glSecondaryColorPointerListIBM;
15849   #endif
15850 
15851   #ifndef GLEDGEFLAGPOINTERLISTIBM_DECL
15852   #define GLEDGEFLAGPOINTERLISTIBM_DECL
15853   csGLEDGEFLAGPOINTERLISTIBM glEdgeFlagPointerListIBM;
15854   #endif
15855 
15856   #ifndef GLFOGCOORDPOINTERLISTIBM_DECL
15857   #define GLFOGCOORDPOINTERLISTIBM_DECL
15858   csGLFOGCOORDPOINTERLISTIBM glFogCoordPointerListIBM;
15859   #endif
15860 
15861   #ifndef GLNORMALPOINTERLISTIBM_DECL
15862   #define GLNORMALPOINTERLISTIBM_DECL
15863   csGLNORMALPOINTERLISTIBM glNormalPointerListIBM;
15864   #endif
15865 
15866   #ifndef GLTEXCOORDPOINTERLISTIBM_DECL
15867   #define GLTEXCOORDPOINTERLISTIBM_DECL
15868   csGLTEXCOORDPOINTERLISTIBM glTexCoordPointerListIBM;
15869   #endif
15870 
15871   #ifndef GLVERTEXPOINTERLISTIBM_DECL
15872   #define GLVERTEXPOINTERLISTIBM_DECL
15873   csGLVERTEXPOINTERLISTIBM glVertexPointerListIBM;
15874   #endif
15875 
15876 
15881   #ifndef GLRESIZEBUFFERSMESA_DECL
15882   #define GLRESIZEBUFFERSMESA_DECL
15883   csGLRESIZEBUFFERSMESA glResizeBuffersMESA;
15884   #endif
15885 
15886 
15891   #ifndef GLWINDOWPOS2DMESA_DECL
15892   #define GLWINDOWPOS2DMESA_DECL
15893   csGLWINDOWPOS2DMESA glWindowPos2dMESA;
15894   #endif
15895 
15896   #ifndef GLWINDOWPOS2FMESA_DECL
15897   #define GLWINDOWPOS2FMESA_DECL
15898   csGLWINDOWPOS2FMESA glWindowPos2fMESA;
15899   #endif
15900 
15901   #ifndef GLWINDOWPOS2IMESA_DECL
15902   #define GLWINDOWPOS2IMESA_DECL
15903   csGLWINDOWPOS2IMESA glWindowPos2iMESA;
15904   #endif
15905 
15906   #ifndef GLWINDOWPOS2SMESA_DECL
15907   #define GLWINDOWPOS2SMESA_DECL
15908   csGLWINDOWPOS2SMESA glWindowPos2sMESA;
15909   #endif
15910 
15911   #ifndef GLWINDOWPOS2IVMESA_DECL
15912   #define GLWINDOWPOS2IVMESA_DECL
15913   csGLWINDOWPOS2IVMESA glWindowPos2ivMESA;
15914   #endif
15915 
15916   #ifndef GLWINDOWPOS2SVMESA_DECL
15917   #define GLWINDOWPOS2SVMESA_DECL
15918   csGLWINDOWPOS2SVMESA glWindowPos2svMESA;
15919   #endif
15920 
15921   #ifndef GLWINDOWPOS2FVMESA_DECL
15922   #define GLWINDOWPOS2FVMESA_DECL
15923   csGLWINDOWPOS2FVMESA glWindowPos2fvMESA;
15924   #endif
15925 
15926   #ifndef GLWINDOWPOS2DVMESA_DECL
15927   #define GLWINDOWPOS2DVMESA_DECL
15928   csGLWINDOWPOS2DVMESA glWindowPos2dvMESA;
15929   #endif
15930 
15931   #ifndef GLWINDOWPOS3IMESA_DECL
15932   #define GLWINDOWPOS3IMESA_DECL
15933   csGLWINDOWPOS3IMESA glWindowPos3iMESA;
15934   #endif
15935 
15936   #ifndef GLWINDOWPOS3SMESA_DECL
15937   #define GLWINDOWPOS3SMESA_DECL
15938   csGLWINDOWPOS3SMESA glWindowPos3sMESA;
15939   #endif
15940 
15941   #ifndef GLWINDOWPOS3FMESA_DECL
15942   #define GLWINDOWPOS3FMESA_DECL
15943   csGLWINDOWPOS3FMESA glWindowPos3fMESA;
15944   #endif
15945 
15946   #ifndef GLWINDOWPOS3DMESA_DECL
15947   #define GLWINDOWPOS3DMESA_DECL
15948   csGLWINDOWPOS3DMESA glWindowPos3dMESA;
15949   #endif
15950 
15951   #ifndef GLWINDOWPOS3IVMESA_DECL
15952   #define GLWINDOWPOS3IVMESA_DECL
15953   csGLWINDOWPOS3IVMESA glWindowPos3ivMESA;
15954   #endif
15955 
15956   #ifndef GLWINDOWPOS3SVMESA_DECL
15957   #define GLWINDOWPOS3SVMESA_DECL
15958   csGLWINDOWPOS3SVMESA glWindowPos3svMESA;
15959   #endif
15960 
15961   #ifndef GLWINDOWPOS3FVMESA_DECL
15962   #define GLWINDOWPOS3FVMESA_DECL
15963   csGLWINDOWPOS3FVMESA glWindowPos3fvMESA;
15964   #endif
15965 
15966   #ifndef GLWINDOWPOS3DVMESA_DECL
15967   #define GLWINDOWPOS3DVMESA_DECL
15968   csGLWINDOWPOS3DVMESA glWindowPos3dvMESA;
15969   #endif
15970 
15971   #ifndef GLWINDOWPOS4IMESA_DECL
15972   #define GLWINDOWPOS4IMESA_DECL
15973   csGLWINDOWPOS4IMESA glWindowPos4iMESA;
15974   #endif
15975 
15976   #ifndef GLWINDOWPOS4SMESA_DECL
15977   #define GLWINDOWPOS4SMESA_DECL
15978   csGLWINDOWPOS4SMESA glWindowPos4sMESA;
15979   #endif
15980 
15981   #ifndef GLWINDOWPOS4FMESA_DECL
15982   #define GLWINDOWPOS4FMESA_DECL
15983   csGLWINDOWPOS4FMESA glWindowPos4fMESA;
15984   #endif
15985 
15986   #ifndef GLWINDOWPOS4DMESA_DECL
15987   #define GLWINDOWPOS4DMESA_DECL
15988   csGLWINDOWPOS4DMESA glWindowPos4dMESA;
15989   #endif
15990 
15991   #ifndef GLWINDOWPOS4IVMESA_DECL
15992   #define GLWINDOWPOS4IVMESA_DECL
15993   csGLWINDOWPOS4IVMESA glWindowPos4ivMESA;
15994   #endif
15995 
15996   #ifndef GLWINDOWPOS4SVMESA_DECL
15997   #define GLWINDOWPOS4SVMESA_DECL
15998   csGLWINDOWPOS4SVMESA glWindowPos4svMESA;
15999   #endif
16000 
16001   #ifndef GLWINDOWPOS4FVMESA_DECL
16002   #define GLWINDOWPOS4FVMESA_DECL
16003   csGLWINDOWPOS4FVMESA glWindowPos4fvMESA;
16004   #endif
16005 
16006   #ifndef GLWINDOWPOS4DVMESA_DECL
16007   #define GLWINDOWPOS4DVMESA_DECL
16008   csGLWINDOWPOS4DVMESA glWindowPos4dvMESA;
16009   #endif
16010 
16011 
16036   #ifndef GLSAMPLEMASKSGIS_DECL
16037   #define GLSAMPLEMASKSGIS_DECL
16038   csGLSAMPLEMASKSGIS glSampleMaskSGIS;
16039   #endif
16040 
16041   #ifndef GLSAMPLEPATTERNSGIS_DECL
16042   #define GLSAMPLEPATTERNSGIS_DECL
16043   csGLSAMPLEPATTERNSGIS glSamplePatternSGIS;
16044   #endif
16045 
16046 
16051   #ifndef GLPIXELTEXGENPARAMETERISGIS_DECL
16052   #define GLPIXELTEXGENPARAMETERISGIS_DECL
16053   csGLPIXELTEXGENPARAMETERISGIS glPixelTexGenParameteriSGIS;
16054   #endif
16055 
16056   #ifndef GLPIXELTEXGENPARAMETERFSGIS_DECL
16057   #define GLPIXELTEXGENPARAMETERFSGIS_DECL
16058   csGLPIXELTEXGENPARAMETERFSGIS glPixelTexGenParameterfSGIS;
16059   #endif
16060 
16061   #ifndef GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
16062   #define GLGETPIXELTEXGENPARAMETERIVSGIS_DECL
16063   csGLGETPIXELTEXGENPARAMETERIVSGIS glGetPixelTexGenParameterivSGIS;
16064   #endif
16065 
16066   #ifndef GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
16067   #define GLGETPIXELTEXGENPARAMETERFVSGIS_DECL
16068   csGLGETPIXELTEXGENPARAMETERFVSGIS glGetPixelTexGenParameterfvSGIS;
16069   #endif
16070 
16071 
16081   #ifndef GLTEXTURECOLORMASKSGIS_DECL
16082   #define GLTEXTURECOLORMASKSGIS_DECL
16083   csGLTEXTURECOLORMASKSGIS glTextureColorMaskSGIS;
16084   #endif
16085 
16086 
16126   #ifndef GLCOLORTABLESGI_DECL
16127   #define GLCOLORTABLESGI_DECL
16128   csGLCOLORTABLESGI glColorTableSGI;
16129   #endif
16130 
16131   #ifndef GLCOPYCOLORTABLESGI_DECL
16132   #define GLCOPYCOLORTABLESGI_DECL
16133   csGLCOPYCOLORTABLESGI glCopyColorTableSGI;
16134   #endif
16135 
16136   #ifndef GLCOLORTABLEPARAMETERIVSGI_DECL
16137   #define GLCOLORTABLEPARAMETERIVSGI_DECL
16138   csGLCOLORTABLEPARAMETERIVSGI glColorTableParameterivSGI;
16139   #endif
16140 
16141   #ifndef GLCOLORTABLEPARAMETERFVSGI_DECL
16142   #define GLCOLORTABLEPARAMETERFVSGI_DECL
16143   csGLCOLORTABLEPARAMETERFVSGI glColorTableParameterfvSGI;
16144   #endif
16145 
16146   #ifndef GLGETCOLORTABLESGI_DECL
16147   #define GLGETCOLORTABLESGI_DECL
16148   csGLGETCOLORTABLESGI glGetColorTableSGI;
16149   #endif
16150 
16151   #ifndef GLGETCOLORTABLEPARAMETERIVSGI_DECL
16152   #define GLGETCOLORTABLEPARAMETERIVSGI_DECL
16153   csGLGETCOLORTABLEPARAMETERIVSGI glGetColorTableParameterivSGI;
16154   #endif
16155 
16156   #ifndef GLGETCOLORTABLEPARAMETERFVSGI_DECL
16157   #define GLGETCOLORTABLEPARAMETERFVSGI_DECL
16158   csGLGETCOLORTABLEPARAMETERFVSGI glGetColorTableParameterfvSGI;
16159   #endif
16160 
16161 
16171   #ifndef GLCOLOR4UBVERTEX2FSUN_DECL
16172   #define GLCOLOR4UBVERTEX2FSUN_DECL
16173   csGLCOLOR4UBVERTEX2FSUN glColor4ubVertex2fSUN;
16174   #endif
16175 
16176   #ifndef GLCOLOR4UBVERTEX2FVSUN_DECL
16177   #define GLCOLOR4UBVERTEX2FVSUN_DECL
16178   csGLCOLOR4UBVERTEX2FVSUN glColor4ubVertex2fvSUN;
16179   #endif
16180 
16181   #ifndef GLCOLOR4UBVERTEX3FSUN_DECL
16182   #define GLCOLOR4UBVERTEX3FSUN_DECL
16183   csGLCOLOR4UBVERTEX3FSUN glColor4ubVertex3fSUN;
16184   #endif
16185 
16186   #ifndef GLCOLOR4UBVERTEX3FVSUN_DECL
16187   #define GLCOLOR4UBVERTEX3FVSUN_DECL
16188   csGLCOLOR4UBVERTEX3FVSUN glColor4ubVertex3fvSUN;
16189   #endif
16190 
16191   #ifndef GLCOLOR3FVERTEX3FSUN_DECL
16192   #define GLCOLOR3FVERTEX3FSUN_DECL
16193   csGLCOLOR3FVERTEX3FSUN glColor3fVertex3fSUN;
16194   #endif
16195 
16196   #ifndef GLCOLOR3FVERTEX3FVSUN_DECL
16197   #define GLCOLOR3FVERTEX3FVSUN_DECL
16198   csGLCOLOR3FVERTEX3FVSUN glColor3fVertex3fvSUN;
16199   #endif
16200 
16201   #ifndef GLNORMAL3FVERTEX3FSUN_DECL
16202   #define GLNORMAL3FVERTEX3FSUN_DECL
16203   csGLNORMAL3FVERTEX3FSUN glNormal3fVertex3fSUN;
16204   #endif
16205 
16206   #ifndef GLNORMAL3FVERTEX3FVSUN_DECL
16207   #define GLNORMAL3FVERTEX3FVSUN_DECL
16208   csGLNORMAL3FVERTEX3FVSUN glNormal3fVertex3fvSUN;
16209   #endif
16210 
16211   #ifndef GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16212   #define GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16213   csGLCOLOR4FNORMAL3FVERTEX3FSUN glColor4fNormal3fVertex3fSUN;
16214   #endif
16215 
16216   #ifndef GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16217   #define GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16218   csGLCOLOR4FNORMAL3FVERTEX3FVSUN glColor4fNormal3fVertex3fvSUN;
16219   #endif
16220 
16221   #ifndef GLTEXCOORD2FVERTEX3FSUN_DECL
16222   #define GLTEXCOORD2FVERTEX3FSUN_DECL
16223   csGLTEXCOORD2FVERTEX3FSUN glTexCoord2fVertex3fSUN;
16224   #endif
16225 
16226   #ifndef GLTEXCOORD2FVERTEX3FVSUN_DECL
16227   #define GLTEXCOORD2FVERTEX3FVSUN_DECL
16228   csGLTEXCOORD2FVERTEX3FVSUN glTexCoord2fVertex3fvSUN;
16229   #endif
16230 
16231   #ifndef GLTEXCOORD4FVERTEX4FSUN_DECL
16232   #define GLTEXCOORD4FVERTEX4FSUN_DECL
16233   csGLTEXCOORD4FVERTEX4FSUN glTexCoord4fVertex4fSUN;
16234   #endif
16235 
16236   #ifndef GLTEXCOORD4FVERTEX4FVSUN_DECL
16237   #define GLTEXCOORD4FVERTEX4FVSUN_DECL
16238   csGLTEXCOORD4FVERTEX4FVSUN glTexCoord4fVertex4fvSUN;
16239   #endif
16240 
16241   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
16242   #define GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL
16243   csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN glTexCoord2fColor4ubVertex3fSUN;
16244   #endif
16245 
16246   #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
16247   #define GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL
16248   csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN glTexCoord2fColor4ubVertex3fvSUN;
16249   #endif
16250 
16251   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
16252   #define GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL
16253   csGLTEXCOORD2FCOLOR3FVERTEX3FSUN glTexCoord2fColor3fVertex3fSUN;
16254   #endif
16255 
16256   #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
16257   #define GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL
16258   csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN glTexCoord2fColor3fVertex3fvSUN;
16259   #endif
16260 
16261   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
16262   #define GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
16263   csGLTEXCOORD2FNORMAL3FVERTEX3FSUN glTexCoord2fNormal3fVertex3fSUN;
16264   #endif
16265 
16266   #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
16267   #define GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
16268   csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN glTexCoord2fNormal3fVertex3fvSUN;
16269   #endif
16270 
16271   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16272   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16273   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glTexCoord2fColor4fNormal3fVertex3fSUN;
16274   #endif
16275 
16276   #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16277   #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16278   csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glTexCoord2fColor4fNormal3fVertex3fvSUN;
16279   #endif
16280 
16281   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
16282   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL
16283   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN glTexCoord4fColor4fNormal3fVertex4fSUN;
16284   #endif
16285 
16286   #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
16287   #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL
16288   csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN glTexCoord4fColor4fNormal3fVertex4fvSUN;
16289   #endif
16290 
16291   #ifndef GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
16292   #define GLREPLACEMENTCODEUIVERTEX3FSUN_DECL
16293   csGLREPLACEMENTCODEUIVERTEX3FSUN glReplacementCodeuiVertex3fSUN;
16294   #endif
16295 
16296   #ifndef GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
16297   #define GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL
16298   csGLREPLACEMENTCODEUIVERTEX3FVSUN glReplacementCodeuiVertex3fvSUN;
16299   #endif
16300 
16301   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
16302   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL
16303   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN glReplacementCodeuiColor4ubVertex3fSUN;
16304   #endif
16305 
16306   #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
16307   #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL
16308   csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN glReplacementCodeuiColor4ubVertex3fvSUN;
16309   #endif
16310 
16311   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
16312   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL
16313   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN glReplacementCodeuiColor3fVertex3fSUN;
16314   #endif
16315 
16316   #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
16317   #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL
16318   csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN glReplacementCodeuiColor3fVertex3fvSUN;
16319   #endif
16320 
16321   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
16322   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL
16323   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN glReplacementCodeuiNormal3fVertex3fSUN;
16324   #endif
16325 
16326   #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
16327   #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL
16328   csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN glReplacementCodeuiNormal3fVertex3fvSUN;
16329   #endif
16330 
16331   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
16332   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL
16333   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN;
16334   #endif
16335 
16336   #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16337   #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16338   csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN;
16339   #endif
16340 
16341   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
16342   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL
16343   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN glReplacementCodeuiTexCoord2fVertex3fSUN;
16344   #endif
16345 
16346   #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
16347   #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL
16348   csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN glReplacementCodeuiTexCoord2fVertex3fvSUN;
16349   #endif
16350 
16351   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
16352   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL
16353   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN;
16354   #endif
16355 
16356   #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
16357   #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL
16358   csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN;
16359   #endif
16360 
16361   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16362   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL
16363   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN;
16364   #endif
16365 
16366   #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16367   #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL
16368   csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN;
16369   #endif
16370 
16371 
16391   #ifndef GLELEMENTPOINTERAPPLE_DECL
16392   #define GLELEMENTPOINTERAPPLE_DECL
16393   csGLELEMENTPOINTERAPPLE glElementPointerAPPLE;
16394   #endif
16395 
16396   #ifndef GLDRAWELEMENTARRAYAPPLE_DECL
16397   #define GLDRAWELEMENTARRAYAPPLE_DECL
16398   csGLDRAWELEMENTARRAYAPPLE glDrawElementArrayAPPLE;
16399   #endif
16400 
16401   #ifndef GLDRAWRANGEELEMENTARRAYAPPLE_DECL
16402   #define GLDRAWRANGEELEMENTARRAYAPPLE_DECL
16403   csGLDRAWRANGEELEMENTARRAYAPPLE glDrawRangeElementArrayAPPLE;
16404   #endif
16405 
16406   #ifndef GLMULTIDRAWELEMENTARRAYAPPLE_DECL
16407   #define GLMULTIDRAWELEMENTARRAYAPPLE_DECL
16408   csGLMULTIDRAWELEMENTARRAYAPPLE glMultiDrawElementArrayAPPLE;
16409   #endif
16410 
16411   #ifndef GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
16412   #define GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL
16413   csGLMULTIDRAWRANGEELEMENTARRAYAPPLE glMultiDrawRangeElementArrayAPPLE;
16414   #endif
16415 
16416 
16421   #ifndef GLGENFENCESAPPLE_DECL
16422   #define GLGENFENCESAPPLE_DECL
16423   csGLGENFENCESAPPLE glGenFencesAPPLE;
16424   #endif
16425 
16426   #ifndef GLDELETEFENCESAPPLE_DECL
16427   #define GLDELETEFENCESAPPLE_DECL
16428   csGLDELETEFENCESAPPLE glDeleteFencesAPPLE;
16429   #endif
16430 
16431   #ifndef GLSETFENCEAPPLE_DECL
16432   #define GLSETFENCEAPPLE_DECL
16433   csGLSETFENCEAPPLE glSetFenceAPPLE;
16434   #endif
16435 
16436   #ifndef GLISFENCEAPPLE_DECL
16437   #define GLISFENCEAPPLE_DECL
16438   csGLISFENCEAPPLE glIsFenceAPPLE;
16439   #endif
16440 
16441   #ifndef GLTESTFENCEAPPLE_DECL
16442   #define GLTESTFENCEAPPLE_DECL
16443   csGLTESTFENCEAPPLE glTestFenceAPPLE;
16444   #endif
16445 
16446   #ifndef GLFINISHFENCEAPPLE_DECL
16447   #define GLFINISHFENCEAPPLE_DECL
16448   csGLFINISHFENCEAPPLE glFinishFenceAPPLE;
16449   #endif
16450 
16451   #ifndef GLTESTOBJECTAPPLE_DECL
16452   #define GLTESTOBJECTAPPLE_DECL
16453   csGLTESTOBJECTAPPLE glTestObjectAPPLE;
16454   #endif
16455 
16456   #ifndef GLFINISHOBJECTAPPLE_DECL
16457   #define GLFINISHOBJECTAPPLE_DECL
16458   csGLFINISHOBJECTAPPLE glFinishObjectAPPLE;
16459   #endif
16460 
16461 
16466   #ifndef GLBINDVERTEXARRAYAPPLE_DECL
16467   #define GLBINDVERTEXARRAYAPPLE_DECL
16468   csGLBINDVERTEXARRAYAPPLE glBindVertexArrayAPPLE;
16469   #endif
16470 
16471   #ifndef GLDELETEVERTEXARRAYSAPPLE_DECL
16472   #define GLDELETEVERTEXARRAYSAPPLE_DECL
16473   csGLDELETEVERTEXARRAYSAPPLE glDeleteVertexArraysAPPLE;
16474   #endif
16475 
16476   #ifndef GLGENVERTEXARRAYSAPPLE_DECL
16477   #define GLGENVERTEXARRAYSAPPLE_DECL
16478   csGLGENVERTEXARRAYSAPPLE glGenVertexArraysAPPLE;
16479   #endif
16480 
16481   #ifndef GLISVERTEXARRAYAPPLE_DECL
16482   #define GLISVERTEXARRAYAPPLE_DECL
16483   csGLISVERTEXARRAYAPPLE glIsVertexArrayAPPLE;
16484   #endif
16485 
16486 
16491   #ifndef GLVERTEXARRAYRANGEAPPLE_DECL
16492   #define GLVERTEXARRAYRANGEAPPLE_DECL
16493   csGLVERTEXARRAYRANGEAPPLE glVertexArrayRangeAPPLE;
16494   #endif
16495 
16496   #ifndef GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
16497   #define GLFLUSHVERTEXARRAYRANGEAPPLE_DECL
16498   csGLFLUSHVERTEXARRAYRANGEAPPLE glFlushVertexArrayRangeAPPLE;
16499   #endif
16500 
16501   #ifndef GLVERTEXARRAYPARAMETERIAPPLE_DECL
16502   #define GLVERTEXARRAYPARAMETERIAPPLE_DECL
16503   csGLVERTEXARRAYPARAMETERIAPPLE glVertexArrayParameteriAPPLE;
16504   #endif
16505 
16506 
16508 #ifdef _WIN32
16509 
16512   #ifndef WGLGETPIXELFORMATATTRIBIVARB_DECL
16513   #define WGLGETPIXELFORMATATTRIBIVARB_DECL
16514   csWGLGETPIXELFORMATATTRIBIVARB wglGetPixelFormatAttribivARB;
16515   #endif
16516 
16517   #ifndef WGLGETPIXELFORMATATTRIBFVARB_DECL
16518   #define WGLGETPIXELFORMATATTRIBFVARB_DECL
16519   csWGLGETPIXELFORMATATTRIBFVARB wglGetPixelFormatAttribfvARB;
16520   #endif
16521 
16522   #ifndef WGLCHOOSEPIXELFORMATARB_DECL
16523   #define WGLCHOOSEPIXELFORMATARB_DECL
16524   csWGLCHOOSEPIXELFORMATARB wglChoosePixelFormatARB;
16525   #endif
16526 
16527 
16529 #endif // _WIN32
16530 
16531 #ifdef _WIN32
16532 
16535   #ifndef WGLMAKECONTEXTCURRENTARB_DECL
16536   #define WGLMAKECONTEXTCURRENTARB_DECL
16537   csWGLMAKECONTEXTCURRENTARB wglMakeContextCurrentARB;
16538   #endif
16539 
16540   #ifndef WGLGETCURRENTREADDCARB_DECL
16541   #define WGLGETCURRENTREADDCARB_DECL
16542   csWGLGETCURRENTREADDCARB wglGetCurrentReadDCARB;
16543   #endif
16544 
16545 
16547 #endif // _WIN32
16548 
16549 #ifdef _WIN32
16550 
16553   #ifndef WGLCREATEPBUFFERARB_DECL
16554   #define WGLCREATEPBUFFERARB_DECL
16555   csWGLCREATEPBUFFERARB wglCreatePbufferARB;
16556   #endif
16557 
16558   #ifndef WGLGETPBUFFERDCARB_DECL
16559   #define WGLGETPBUFFERDCARB_DECL
16560   csWGLGETPBUFFERDCARB wglGetPbufferDCARB;
16561   #endif
16562 
16563   #ifndef WGLRELEASEPBUFFERDCARB_DECL
16564   #define WGLRELEASEPBUFFERDCARB_DECL
16565   csWGLRELEASEPBUFFERDCARB wglReleasePbufferDCARB;
16566   #endif
16567 
16568   #ifndef WGLDESTROYPBUFFERARB_DECL
16569   #define WGLDESTROYPBUFFERARB_DECL
16570   csWGLDESTROYPBUFFERARB wglDestroyPbufferARB;
16571   #endif
16572 
16573   #ifndef WGLQUERYPBUFFERARB_DECL
16574   #define WGLQUERYPBUFFERARB_DECL
16575   csWGLQUERYPBUFFERARB wglQueryPbufferARB;
16576   #endif
16577 
16578 
16580 #endif // _WIN32
16581 
16582 #ifdef _WIN32
16583 
16586   #ifndef WGLSWAPINTERVALEXT_DECL
16587   #define WGLSWAPINTERVALEXT_DECL
16588   csWGLSWAPINTERVALEXT wglSwapIntervalEXT;
16589   #endif
16590 
16591   #ifndef WGLGETSWAPINTERVALEXT_DECL
16592   #define WGLGETSWAPINTERVALEXT_DECL
16593   csWGLGETSWAPINTERVALEXT wglGetSwapIntervalEXT;
16594   #endif
16595 
16596 
16598 #endif // _WIN32
16599 
16600 #ifdef _WIN32
16601 
16604   #ifndef WGLBINDTEXIMAGEARB_DECL
16605   #define WGLBINDTEXIMAGEARB_DECL
16606   csWGLBINDTEXIMAGEARB wglBindTexImageARB;
16607   #endif
16608 
16609   #ifndef WGLRELEASETEXIMAGEARB_DECL
16610   #define WGLRELEASETEXIMAGEARB_DECL
16611   csWGLRELEASETEXIMAGEARB wglReleaseTexImageARB;
16612   #endif
16613 
16614   #ifndef WGLSETPBUFFERATTRIBARB_DECL
16615   #define WGLSETPBUFFERATTRIBARB_DECL
16616   csWGLSETPBUFFERATTRIBARB wglSetPbufferAttribARB;
16617   #endif
16618 
16619 
16621 #endif // _WIN32
16622 
16623 #ifdef _WIN32
16624 
16627   #ifndef WGLGETEXTENSIONSSTRINGEXT_DECL
16628   #define WGLGETEXTENSIONSSTRINGEXT_DECL
16629   csWGLGETEXTENSIONSSTRINGEXT wglGetExtensionsStringEXT;
16630   #endif
16631 
16632 
16634 #endif // _WIN32
16635 
16636 #ifdef _WIN32
16637 
16640   #ifndef WGLMAKECONTEXTCURRENTEXT_DECL
16641   #define WGLMAKECONTEXTCURRENTEXT_DECL
16642   csWGLMAKECONTEXTCURRENTEXT wglMakeContextCurrentEXT;
16643   #endif
16644 
16645   #ifndef WGLGETCURRENTREADDCEXT_DECL
16646   #define WGLGETCURRENTREADDCEXT_DECL
16647   csWGLGETCURRENTREADDCEXT wglGetCurrentReadDCEXT;
16648   #endif
16649 
16650 
16652 #endif // _WIN32
16653 
16654 #ifdef _WIN32
16655 
16658   #ifndef WGLCREATEPBUFFEREXT_DECL
16659   #define WGLCREATEPBUFFEREXT_DECL
16660   csWGLCREATEPBUFFEREXT wglCreatePbufferEXT;
16661   #endif
16662 
16663   #ifndef WGLGETPBUFFERDCEXT_DECL
16664   #define WGLGETPBUFFERDCEXT_DECL
16665   csWGLGETPBUFFERDCEXT wglGetPbufferDCEXT;
16666   #endif
16667 
16668   #ifndef WGLRELEASEPBUFFERDCEXT_DECL
16669   #define WGLRELEASEPBUFFERDCEXT_DECL
16670   csWGLRELEASEPBUFFERDCEXT wglReleasePbufferDCEXT;
16671   #endif
16672 
16673   #ifndef WGLDESTROYPBUFFEREXT_DECL
16674   #define WGLDESTROYPBUFFEREXT_DECL
16675   csWGLDESTROYPBUFFEREXT wglDestroyPbufferEXT;
16676   #endif
16677 
16678   #ifndef WGLQUERYPBUFFEREXT_DECL
16679   #define WGLQUERYPBUFFEREXT_DECL
16680   csWGLQUERYPBUFFEREXT wglQueryPbufferEXT;
16681   #endif
16682 
16683 
16685 #endif // _WIN32
16686 
16687 #ifdef _WIN32
16688 
16691   #ifndef WGLGETPIXELFORMATATTRIBIVEXT_DECL
16692   #define WGLGETPIXELFORMATATTRIBIVEXT_DECL
16693   csWGLGETPIXELFORMATATTRIBIVEXT wglGetPixelFormatAttribivEXT;
16694   #endif
16695 
16696   #ifndef WGLGETPIXELFORMATATTRIBFVEXT_DECL
16697   #define WGLGETPIXELFORMATATTRIBFVEXT_DECL
16698   csWGLGETPIXELFORMATATTRIBFVEXT wglGetPixelFormatAttribfvEXT;
16699   #endif
16700 
16701   #ifndef WGLCHOOSEPIXELFORMATEXT_DECL
16702   #define WGLCHOOSEPIXELFORMATEXT_DECL
16703   csWGLCHOOSEPIXELFORMATEXT wglChoosePixelFormatEXT;
16704   #endif
16705 
16706 
16708 #endif // _WIN32
16709 
16710 #ifdef _WIN32
16711 
16714   #ifndef WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
16715   #define WGLGETDIGITALVIDEOPARAMETERSI3D_DECL
16716   csWGLGETDIGITALVIDEOPARAMETERSI3D wglGetDigitalVideoParametersI3D;
16717   #endif
16718 
16719   #ifndef WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
16720   #define WGLSETDIGITALVIDEOPARAMETERSI3D_DECL
16721   csWGLSETDIGITALVIDEOPARAMETERSI3D wglSetDigitalVideoParametersI3D;
16722   #endif
16723 
16724 
16726 #endif // _WIN32
16727 
16728 #ifdef _WIN32
16729 
16732   #ifndef WGLGETGAMMATABLEPARAMETERSI3D_DECL
16733   #define WGLGETGAMMATABLEPARAMETERSI3D_DECL
16734   csWGLGETGAMMATABLEPARAMETERSI3D wglGetGammaTableParametersI3D;
16735   #endif
16736 
16737   #ifndef WGLSETGAMMATABLEPARAMETERSI3D_DECL
16738   #define WGLSETGAMMATABLEPARAMETERSI3D_DECL
16739   csWGLSETGAMMATABLEPARAMETERSI3D wglSetGammaTableParametersI3D;
16740   #endif
16741 
16742   #ifndef WGLGETGAMMATABLEI3D_DECL
16743   #define WGLGETGAMMATABLEI3D_DECL
16744   csWGLGETGAMMATABLEI3D wglGetGammaTableI3D;
16745   #endif
16746 
16747   #ifndef WGLSETGAMMATABLEI3D_DECL
16748   #define WGLSETGAMMATABLEI3D_DECL
16749   csWGLSETGAMMATABLEI3D wglSetGammaTableI3D;
16750   #endif
16751 
16752 
16754 #endif // _WIN32
16755 
16756 #ifdef _WIN32
16757 
16760   #ifndef WGLENABLEGENLOCKI3D_DECL
16761   #define WGLENABLEGENLOCKI3D_DECL
16762   csWGLENABLEGENLOCKI3D wglEnableGenlockI3D;
16763   #endif
16764 
16765   #ifndef WGLDISABLEGENLOCKI3D_DECL
16766   #define WGLDISABLEGENLOCKI3D_DECL
16767   csWGLDISABLEGENLOCKI3D wglDisableGenlockI3D;
16768   #endif
16769 
16770   #ifndef WGLISENABLEDGENLOCKI3D_DECL
16771   #define WGLISENABLEDGENLOCKI3D_DECL
16772   csWGLISENABLEDGENLOCKI3D wglIsEnabledGenlockI3D;
16773   #endif
16774 
16775   #ifndef WGLGENLOCKSOURCEI3D_DECL
16776   #define WGLGENLOCKSOURCEI3D_DECL
16777   csWGLGENLOCKSOURCEI3D wglGenlockSourceI3D;
16778   #endif
16779 
16780   #ifndef WGLGETGENLOCKSOURCEI3D_DECL
16781   #define WGLGETGENLOCKSOURCEI3D_DECL
16782   csWGLGETGENLOCKSOURCEI3D wglGetGenlockSourceI3D;
16783   #endif
16784 
16785   #ifndef WGLGENLOCKSOURCEEDGEI3D_DECL
16786   #define WGLGENLOCKSOURCEEDGEI3D_DECL
16787   csWGLGENLOCKSOURCEEDGEI3D wglGenlockSourceEdgeI3D;
16788   #endif
16789 
16790   #ifndef WGLGETGENLOCKSOURCEEDGEI3D_DECL
16791   #define WGLGETGENLOCKSOURCEEDGEI3D_DECL
16792   csWGLGETGENLOCKSOURCEEDGEI3D wglGetGenlockSourceEdgeI3D;
16793   #endif
16794 
16795   #ifndef WGLGENLOCKSAMPLERATEI3D_DECL
16796   #define WGLGENLOCKSAMPLERATEI3D_DECL
16797   csWGLGENLOCKSAMPLERATEI3D wglGenlockSampleRateI3D;
16798   #endif
16799 
16800   #ifndef WGLGETGENLOCKSAMPLERATEI3D_DECL
16801   #define WGLGETGENLOCKSAMPLERATEI3D_DECL
16802   csWGLGETGENLOCKSAMPLERATEI3D wglGetGenlockSampleRateI3D;
16803   #endif
16804 
16805   #ifndef WGLGENLOCKSOURCEDELAYI3D_DECL
16806   #define WGLGENLOCKSOURCEDELAYI3D_DECL
16807   csWGLGENLOCKSOURCEDELAYI3D wglGenlockSourceDelayI3D;
16808   #endif
16809 
16810   #ifndef WGLGETGENLOCKSOURCEDELAYI3D_DECL
16811   #define WGLGETGENLOCKSOURCEDELAYI3D_DECL
16812   csWGLGETGENLOCKSOURCEDELAYI3D wglGetGenlockSourceDelayI3D;
16813   #endif
16814 
16815   #ifndef WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
16816   #define WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL
16817   csWGLQUERYGENLOCKMAXSOURCEDELAYI3D wglQueryGenlockMaxSourceDelayI3D;
16818   #endif
16819 
16820 
16822 #endif // _WIN32
16823 
16827   #ifndef GLCURRENTPALETTEMATRIXARB_DECL
16828   #define GLCURRENTPALETTEMATRIXARB_DECL
16829   csGLCURRENTPALETTEMATRIXARB glCurrentPaletteMatrixARB;
16830   #endif
16831 
16832   #ifndef GLMATRIXINDEXUBVARB_DECL
16833   #define GLMATRIXINDEXUBVARB_DECL
16834   csGLMATRIXINDEXUBVARB glMatrixIndexubvARB;
16835   #endif
16836 
16837   #ifndef GLMATRIXINDEXUSVARB_DECL
16838   #define GLMATRIXINDEXUSVARB_DECL
16839   csGLMATRIXINDEXUSVARB glMatrixIndexusvARB;
16840   #endif
16841 
16842   #ifndef GLMATRIXINDEXUIVARB_DECL
16843   #define GLMATRIXINDEXUIVARB_DECL
16844   csGLMATRIXINDEXUIVARB glMatrixIndexuivARB;
16845   #endif
16846 
16847   #ifndef GLMATRIXINDEXPOINTERARB_DECL
16848   #define GLMATRIXINDEXPOINTERARB_DECL
16849   csGLMATRIXINDEXPOINTERARB glMatrixIndexPointerARB;
16850   #endif
16851 
16852 
16857   #ifndef GLELEMENTPOINTERNV_DECL
16858   #define GLELEMENTPOINTERNV_DECL
16859   csGLELEMENTPOINTERNV glElementPointerNV;
16860   #endif
16861 
16862   #ifndef GLDRAWELEMENTARRAYNV_DECL
16863   #define GLDRAWELEMENTARRAYNV_DECL
16864   csGLDRAWELEMENTARRAYNV glDrawElementArrayNV;
16865   #endif
16866 
16867   #ifndef GLDRAWRANGEELEMENTARRAYNV_DECL
16868   #define GLDRAWRANGEELEMENTARRAYNV_DECL
16869   csGLDRAWRANGEELEMENTARRAYNV glDrawRangeElementArrayNV;
16870   #endif
16871 
16872   #ifndef GLMULTIDRAWELEMENTARRAYNV_DECL
16873   #define GLMULTIDRAWELEMENTARRAYNV_DECL
16874   csGLMULTIDRAWELEMENTARRAYNV glMultiDrawElementArrayNV;
16875   #endif
16876 
16877   #ifndef GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
16878   #define GLMULTIDRAWRANGEELEMENTARRAYNV_DECL
16879   csGLMULTIDRAWRANGEELEMENTARRAYNV glMultiDrawRangeElementArrayNV;
16880   #endif
16881 
16882 
16892   #ifndef GLPROGRAMNAMEDPARAMETER4FNV_DECL
16893   #define GLPROGRAMNAMEDPARAMETER4FNV_DECL
16894   csGLPROGRAMNAMEDPARAMETER4FNV glProgramNamedParameter4fNV;
16895   #endif
16896 
16897   #ifndef GLPROGRAMNAMEDPARAMETER4DNV_DECL
16898   #define GLPROGRAMNAMEDPARAMETER4DNV_DECL
16899   csGLPROGRAMNAMEDPARAMETER4DNV glProgramNamedParameter4dNV;
16900   #endif
16901 
16902   #ifndef GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
16903   #define GLGETPROGRAMNAMEDPARAMETERFVNV_DECL
16904   csGLGETPROGRAMNAMEDPARAMETERFVNV glGetProgramNamedParameterfvNV;
16905   #endif
16906 
16907   #ifndef GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
16908   #define GLGETPROGRAMNAMEDPARAMETERDVNV_DECL
16909   csGLGETPROGRAMNAMEDPARAMETERDVNV glGetProgramNamedParameterdvNV;
16910   #endif
16911 
16912 
16917   #ifndef GLPRIMITIVERESTARTNV_DECL
16918   #define GLPRIMITIVERESTARTNV_DECL
16919   csGLPRIMITIVERESTARTNV glPrimitiveRestartNV;
16920   #endif
16921 
16922   #ifndef GLPRIMITIVERESTARTINDEXNV_DECL
16923   #define GLPRIMITIVERESTARTINDEXNV_DECL
16924   csGLPRIMITIVERESTARTINDEXNV glPrimitiveRestartIndexNV;
16925   #endif
16926 
16927 
16937   #ifndef GLBINDBUFFERARB_DECL
16938   #define GLBINDBUFFERARB_DECL
16939   csGLBINDBUFFERARB glBindBufferARB;
16940   #endif
16941 
16942   #ifndef GLDELETEBUFFERSARB_DECL
16943   #define GLDELETEBUFFERSARB_DECL
16944   csGLDELETEBUFFERSARB glDeleteBuffersARB;
16945   #endif
16946 
16947   #ifndef GLGENBUFFERSARB_DECL
16948   #define GLGENBUFFERSARB_DECL
16949   csGLGENBUFFERSARB glGenBuffersARB;
16950   #endif
16951 
16952   #ifndef GLBUFFERDATAARB_DECL
16953   #define GLBUFFERDATAARB_DECL
16954   csGLBUFFERDATAARB glBufferDataARB;
16955   #endif
16956 
16957   #ifndef GLBUFFERSUBDATAARB_DECL
16958   #define GLBUFFERSUBDATAARB_DECL
16959   csGLBUFFERSUBDATAARB glBufferSubDataARB;
16960   #endif
16961 
16962   #ifndef GLMAPBUFFERARB_DECL
16963   #define GLMAPBUFFERARB_DECL
16964   csGLMAPBUFFERARB glMapBufferARB;
16965   #endif
16966 
16967   #ifndef GLUNMAPBUFFERARB_DECL
16968   #define GLUNMAPBUFFERARB_DECL
16969   csGLUNMAPBUFFERARB glUnmapBufferARB;
16970   #endif
16971 
16972   #ifndef GLISBUFFERARB_DECL
16973   #define GLISBUFFERARB_DECL
16974   csGLISBUFFERARB glIsBufferARB;
16975   #endif
16976 
16977   #ifndef GLGETBUFFERSUBDATAARB_DECL
16978   #define GLGETBUFFERSUBDATAARB_DECL
16979   csGLGETBUFFERSUBDATAARB glGetBufferSubDataARB;
16980   #endif
16981 
16982   #ifndef GLGETBUFFERPOINTERVARB_DECL
16983   #define GLGETBUFFERPOINTERVARB_DECL
16984   csGLGETBUFFERPOINTERVARB glGetBufferPointervARB;
16985   #endif
16986 
16987   #ifndef GLGETBUFFERPARAMETERIVARB_DECL
16988   #define GLGETBUFFERPARAMETERIVARB_DECL
16989   csGLGETBUFFERPARAMETERIVARB glGetBufferParameterivARB;
16990   #endif
16991 
16992 
16997   #ifndef GLSTENCILOPSEPARATEATI_DECL
16998   #define GLSTENCILOPSEPARATEATI_DECL
16999   csGLSTENCILOPSEPARATEATI glStencilOpSeparateATI;
17000   #endif
17001 
17002   #ifndef GLSTENCILFUNCSEPARATEATI_DECL
17003   #define GLSTENCILFUNCSEPARATEATI_DECL
17004   csGLSTENCILFUNCSEPARATEATI glStencilFuncSeparateATI;
17005   #endif
17006 
17007 
17027   #ifndef GLDELETEOBJECTARB_DECL
17028   #define GLDELETEOBJECTARB_DECL
17029   csGLDELETEOBJECTARB glDeleteObjectARB;
17030   #endif
17031 
17032   #ifndef GLGETHANDLEARB_DECL
17033   #define GLGETHANDLEARB_DECL
17034   csGLGETHANDLEARB glGetHandleARB;
17035   #endif
17036 
17037   #ifndef GLDETACHOBJECTARB_DECL
17038   #define GLDETACHOBJECTARB_DECL
17039   csGLDETACHOBJECTARB glDetachObjectARB;
17040   #endif
17041 
17042   #ifndef GLCREATESHADEROBJECTARB_DECL
17043   #define GLCREATESHADEROBJECTARB_DECL
17044   csGLCREATESHADEROBJECTARB glCreateShaderObjectARB;
17045   #endif
17046 
17047   #ifndef GLSHADERSOURCEARB_DECL
17048   #define GLSHADERSOURCEARB_DECL
17049   csGLSHADERSOURCEARB glShaderSourceARB;
17050   #endif
17051 
17052   #ifndef GLCOMPILESHADERARB_DECL
17053   #define GLCOMPILESHADERARB_DECL
17054   csGLCOMPILESHADERARB glCompileShaderARB;
17055   #endif
17056 
17057   #ifndef GLCREATEPROGRAMOBJECTARB_DECL
17058   #define GLCREATEPROGRAMOBJECTARB_DECL
17059   csGLCREATEPROGRAMOBJECTARB glCreateProgramObjectARB;
17060   #endif
17061 
17062   #ifndef GLATTACHOBJECTARB_DECL
17063   #define GLATTACHOBJECTARB_DECL
17064   csGLATTACHOBJECTARB glAttachObjectARB;
17065   #endif
17066 
17067   #ifndef GLLINKPROGRAMARB_DECL
17068   #define GLLINKPROGRAMARB_DECL
17069   csGLLINKPROGRAMARB glLinkProgramARB;
17070   #endif
17071 
17072   #ifndef GLUSEPROGRAMOBJECTARB_DECL
17073   #define GLUSEPROGRAMOBJECTARB_DECL
17074   csGLUSEPROGRAMOBJECTARB glUseProgramObjectARB;
17075   #endif
17076 
17077   #ifndef GLVALIDATEPROGRAMARB_DECL
17078   #define GLVALIDATEPROGRAMARB_DECL
17079   csGLVALIDATEPROGRAMARB glValidateProgramARB;
17080   #endif
17081 
17082   #ifndef GLUNIFORM1FARB_DECL
17083   #define GLUNIFORM1FARB_DECL
17084   csGLUNIFORM1FARB glUniform1fARB;
17085   #endif
17086 
17087   #ifndef GLUNIFORM2FARB_DECL
17088   #define GLUNIFORM2FARB_DECL
17089   csGLUNIFORM2FARB glUniform2fARB;
17090   #endif
17091 
17092   #ifndef GLUNIFORM3FARB_DECL
17093   #define GLUNIFORM3FARB_DECL
17094   csGLUNIFORM3FARB glUniform3fARB;
17095   #endif
17096 
17097   #ifndef GLUNIFORM4FARB_DECL
17098   #define GLUNIFORM4FARB_DECL
17099   csGLUNIFORM4FARB glUniform4fARB;
17100   #endif
17101 
17102   #ifndef GLUNIFORM1IARB_DECL
17103   #define GLUNIFORM1IARB_DECL
17104   csGLUNIFORM1IARB glUniform1iARB;
17105   #endif
17106 
17107   #ifndef GLUNIFORM2IARB_DECL
17108   #define GLUNIFORM2IARB_DECL
17109   csGLUNIFORM2IARB glUniform2iARB;
17110   #endif
17111 
17112   #ifndef GLUNIFORM3IARB_DECL
17113   #define GLUNIFORM3IARB_DECL
17114   csGLUNIFORM3IARB glUniform3iARB;
17115   #endif
17116 
17117   #ifndef GLUNIFORM4IARB_DECL
17118   #define GLUNIFORM4IARB_DECL
17119   csGLUNIFORM4IARB glUniform4iARB;
17120   #endif
17121 
17122   #ifndef GLUNIFORM1FVARB_DECL
17123   #define GLUNIFORM1FVARB_DECL
17124   csGLUNIFORM1FVARB glUniform1fvARB;
17125   #endif
17126 
17127   #ifndef GLUNIFORM2FVARB_DECL
17128   #define GLUNIFORM2FVARB_DECL
17129   csGLUNIFORM2FVARB glUniform2fvARB;
17130   #endif
17131 
17132   #ifndef GLUNIFORM3FVARB_DECL
17133   #define GLUNIFORM3FVARB_DECL
17134   csGLUNIFORM3FVARB glUniform3fvARB;
17135   #endif
17136 
17137   #ifndef GLUNIFORM4FVARB_DECL
17138   #define GLUNIFORM4FVARB_DECL
17139   csGLUNIFORM4FVARB glUniform4fvARB;
17140   #endif
17141 
17142   #ifndef GLUNIFORM1IVARB_DECL
17143   #define GLUNIFORM1IVARB_DECL
17144   csGLUNIFORM1IVARB glUniform1ivARB;
17145   #endif
17146 
17147   #ifndef GLUNIFORM2IVARB_DECL
17148   #define GLUNIFORM2IVARB_DECL
17149   csGLUNIFORM2IVARB glUniform2ivARB;
17150   #endif
17151 
17152   #ifndef GLUNIFORM3IVARB_DECL
17153   #define GLUNIFORM3IVARB_DECL
17154   csGLUNIFORM3IVARB glUniform3ivARB;
17155   #endif
17156 
17157   #ifndef GLUNIFORM4IVARB_DECL
17158   #define GLUNIFORM4IVARB_DECL
17159   csGLUNIFORM4IVARB glUniform4ivARB;
17160   #endif
17161 
17162   #ifndef GLUNIFORMMATRIX2FVARB_DECL
17163   #define GLUNIFORMMATRIX2FVARB_DECL
17164   csGLUNIFORMMATRIX2FVARB glUniformMatrix2fvARB;
17165   #endif
17166 
17167   #ifndef GLUNIFORMMATRIX3FVARB_DECL
17168   #define GLUNIFORMMATRIX3FVARB_DECL
17169   csGLUNIFORMMATRIX3FVARB glUniformMatrix3fvARB;
17170   #endif
17171 
17172   #ifndef GLUNIFORMMATRIX4FVARB_DECL
17173   #define GLUNIFORMMATRIX4FVARB_DECL
17174   csGLUNIFORMMATRIX4FVARB glUniformMatrix4fvARB;
17175   #endif
17176 
17177   #ifndef GLGETOBJECTPARAMETERFVARB_DECL
17178   #define GLGETOBJECTPARAMETERFVARB_DECL
17179   csGLGETOBJECTPARAMETERFVARB glGetObjectParameterfvARB;
17180   #endif
17181 
17182   #ifndef GLGETOBJECTPARAMETERIVARB_DECL
17183   #define GLGETOBJECTPARAMETERIVARB_DECL
17184   csGLGETOBJECTPARAMETERIVARB glGetObjectParameterivARB;
17185   #endif
17186 
17187   #ifndef GLGETINFOLOGARB_DECL
17188   #define GLGETINFOLOGARB_DECL
17189   csGLGETINFOLOGARB glGetInfoLogARB;
17190   #endif
17191 
17192   #ifndef GLGETATTACHEDOBJECTSARB_DECL
17193   #define GLGETATTACHEDOBJECTSARB_DECL
17194   csGLGETATTACHEDOBJECTSARB glGetAttachedObjectsARB;
17195   #endif
17196 
17197   #ifndef GLGETUNIFORMLOCATIONARB_DECL
17198   #define GLGETUNIFORMLOCATIONARB_DECL
17199   csGLGETUNIFORMLOCATIONARB glGetUniformLocationARB;
17200   #endif
17201 
17202   #ifndef GLGETACTIVEUNIFORMARB_DECL
17203   #define GLGETACTIVEUNIFORMARB_DECL
17204   csGLGETACTIVEUNIFORMARB glGetActiveUniformARB;
17205   #endif
17206 
17207   #ifndef GLGETUNIFORMFVARB_DECL
17208   #define GLGETUNIFORMFVARB_DECL
17209   csGLGETUNIFORMFVARB glGetUniformfvARB;
17210   #endif
17211 
17212   #ifndef GLGETUNIFORMIVARB_DECL
17213   #define GLGETUNIFORMIVARB_DECL
17214   csGLGETUNIFORMIVARB glGetUniformivARB;
17215   #endif
17216 
17217   #ifndef GLGETSHADERSOURCEARB_DECL
17218   #define GLGETSHADERSOURCEARB_DECL
17219   csGLGETSHADERSOURCEARB glGetShaderSourceARB;
17220   #endif
17221 
17222 
17232   #ifndef GLBINDATTRIBLOCATIONARB_DECL
17233   #define GLBINDATTRIBLOCATIONARB_DECL
17234   csGLBINDATTRIBLOCATIONARB glBindAttribLocationARB;
17235   #endif
17236 
17237   #ifndef GLGETACTIVEATTRIBARB_DECL
17238   #define GLGETACTIVEATTRIBARB_DECL
17239   csGLGETACTIVEATTRIBARB glGetActiveAttribARB;
17240   #endif
17241 
17242   #ifndef GLGETATTRIBLOCATIONARB_DECL
17243   #define GLGETATTRIBLOCATIONARB_DECL
17244   csGLGETATTRIBLOCATIONARB glGetAttribLocationARB;
17245   #endif
17246 
17247 
17262   #ifndef GLISRENDERBUFFEREXT_DECL
17263   #define GLISRENDERBUFFEREXT_DECL
17264   csGLISRENDERBUFFEREXT glIsRenderbufferEXT;
17265   #endif
17266 
17267   #ifndef GLBINDRENDERBUFFEREXT_DECL
17268   #define GLBINDRENDERBUFFEREXT_DECL
17269   csGLBINDRENDERBUFFEREXT glBindRenderbufferEXT;
17270   #endif
17271 
17272   #ifndef GLDELETERENDERBUFFERSEXT_DECL
17273   #define GLDELETERENDERBUFFERSEXT_DECL
17274   csGLDELETERENDERBUFFERSEXT glDeleteRenderbuffersEXT;
17275   #endif
17276 
17277   #ifndef GLGENRENDERBUFFERSEXT_DECL
17278   #define GLGENRENDERBUFFERSEXT_DECL
17279   csGLGENRENDERBUFFERSEXT glGenRenderbuffersEXT;
17280   #endif
17281 
17282   #ifndef GLRENDERBUFFERSTORAGEEXT_DECL
17283   #define GLRENDERBUFFERSTORAGEEXT_DECL
17284   csGLRENDERBUFFERSTORAGEEXT glRenderbufferStorageEXT;
17285   #endif
17286 
17287   #ifndef GLGETRENDERBUFFERPARAMETERIVEXT_DECL
17288   #define GLGETRENDERBUFFERPARAMETERIVEXT_DECL
17289   csGLGETRENDERBUFFERPARAMETERIVEXT glGetRenderbufferParameterivEXT;
17290   #endif
17291 
17292   #ifndef GLISFRAMEBUFFEREXT_DECL
17293   #define GLISFRAMEBUFFEREXT_DECL
17294   csGLISFRAMEBUFFEREXT glIsFramebufferEXT;
17295   #endif
17296 
17297   #ifndef GLBINDFRAMEBUFFEREXT_DECL
17298   #define GLBINDFRAMEBUFFEREXT_DECL
17299   csGLBINDFRAMEBUFFEREXT glBindFramebufferEXT;
17300   #endif
17301 
17302   #ifndef GLDELETEFRAMEBUFFERSEXT_DECL
17303   #define GLDELETEFRAMEBUFFERSEXT_DECL
17304   csGLDELETEFRAMEBUFFERSEXT glDeleteFramebuffersEXT;
17305   #endif
17306 
17307   #ifndef GLGENFRAMEBUFFERSEXT_DECL
17308   #define GLGENFRAMEBUFFERSEXT_DECL
17309   csGLGENFRAMEBUFFERSEXT glGenFramebuffersEXT;
17310   #endif
17311 
17312   #ifndef GLCHECKFRAMEBUFFERSTATUSEXT_DECL
17313   #define GLCHECKFRAMEBUFFERSTATUSEXT_DECL
17314   csGLCHECKFRAMEBUFFERSTATUSEXT glCheckFramebufferStatusEXT;
17315   #endif
17316 
17317   #ifndef GLFRAMEBUFFERTEXTURE1DEXT_DECL
17318   #define GLFRAMEBUFFERTEXTURE1DEXT_DECL
17319   csGLFRAMEBUFFERTEXTURE1DEXT glFramebufferTexture1DEXT;
17320   #endif
17321 
17322   #ifndef GLFRAMEBUFFERTEXTURE2DEXT_DECL
17323   #define GLFRAMEBUFFERTEXTURE2DEXT_DECL
17324   csGLFRAMEBUFFERTEXTURE2DEXT glFramebufferTexture2DEXT;
17325   #endif
17326 
17327   #ifndef GLFRAMEBUFFERTEXTURE3DEXT_DECL
17328   #define GLFRAMEBUFFERTEXTURE3DEXT_DECL
17329   csGLFRAMEBUFFERTEXTURE3DEXT glFramebufferTexture3DEXT;
17330   #endif
17331 
17332   #ifndef GLFRAMEBUFFERRENDERBUFFEREXT_DECL
17333   #define GLFRAMEBUFFERRENDERBUFFEREXT_DECL
17334   csGLFRAMEBUFFERRENDERBUFFEREXT glFramebufferRenderbufferEXT;
17335   #endif
17336 
17337   #ifndef GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
17338   #define GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL
17339   csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT glGetFramebufferAttachmentParameterivEXT;
17340   #endif
17341 
17342   #ifndef GLGENERATEMIPMAPEXT_DECL
17343   #define GLGENERATEMIPMAPEXT_DECL
17344   csGLGENERATEMIPMAPEXT glGenerateMipmapEXT;
17345   #endif
17346 
17347 
17357   #ifndef GLSTRINGMARKERGREMEDY_DECL
17358   #define GLSTRINGMARKERGREMEDY_DECL
17359   csGLSTRINGMARKERGREMEDY glStringMarkerGREMEDY;
17360   #endif
17361 
17362 
17382   #ifndef GLDRAWBUFFERSARB_DECL
17383   #define GLDRAWBUFFERSARB_DECL
17384   csGLDRAWBUFFERSARB glDrawBuffersARB;
17385   #endif
17386 
17387 
17392   #ifndef GLBLENDEQUATIONSEPARATEEXT_DECL
17393   #define GLBLENDEQUATIONSEPARATEEXT_DECL
17394   csGLBLENDEQUATIONSEPARATEEXT glBlendEquationSeparateEXT;
17395   #endif
17396 
17397 
17422   #ifndef GLPROGRAMLOCALPARAMETERI4INV_DECL
17423   #define GLPROGRAMLOCALPARAMETERI4INV_DECL
17424   csGLPROGRAMLOCALPARAMETERI4INV glProgramLocalParameterI4iNV;
17425   #endif
17426 
17427   #ifndef GLPROGRAMLOCALPARAMETERI4IVNV_DECL
17428   #define GLPROGRAMLOCALPARAMETERI4IVNV_DECL
17429   csGLPROGRAMLOCALPARAMETERI4IVNV glProgramLocalParameterI4ivNV;
17430   #endif
17431 
17432   #ifndef GLPROGRAMLOCALPARAMETERSI4IVNV_DECL
17433   #define GLPROGRAMLOCALPARAMETERSI4IVNV_DECL
17434   csGLPROGRAMLOCALPARAMETERSI4IVNV glProgramLocalParametersI4ivNV;
17435   #endif
17436 
17437   #ifndef GLPROGRAMLOCALPARAMETERI4UINV_DECL
17438   #define GLPROGRAMLOCALPARAMETERI4UINV_DECL
17439   csGLPROGRAMLOCALPARAMETERI4UINV glProgramLocalParameterI4uiNV;
17440   #endif
17441 
17442   #ifndef GLPROGRAMLOCALPARAMETERI4UIVNV_DECL
17443   #define GLPROGRAMLOCALPARAMETERI4UIVNV_DECL
17444   csGLPROGRAMLOCALPARAMETERI4UIVNV glProgramLocalParameterI4uivNV;
17445   #endif
17446 
17447   #ifndef GLPROGRAMLOCALPARAMETERSI4UIVNV_DECL
17448   #define GLPROGRAMLOCALPARAMETERSI4UIVNV_DECL
17449   csGLPROGRAMLOCALPARAMETERSI4UIVNV glProgramLocalParametersI4uivNV;
17450   #endif
17451 
17452   #ifndef GLPROGRAMENVPARAMETERI4INV_DECL
17453   #define GLPROGRAMENVPARAMETERI4INV_DECL
17454   csGLPROGRAMENVPARAMETERI4INV glProgramEnvParameterI4iNV;
17455   #endif
17456 
17457   #ifndef GLPROGRAMENVPARAMETERI4IVNV_DECL
17458   #define GLPROGRAMENVPARAMETERI4IVNV_DECL
17459   csGLPROGRAMENVPARAMETERI4IVNV glProgramEnvParameterI4ivNV;
17460   #endif
17461 
17462   #ifndef GLPROGRAMENVPARAMETERSI4IVNV_DECL
17463   #define GLPROGRAMENVPARAMETERSI4IVNV_DECL
17464   csGLPROGRAMENVPARAMETERSI4IVNV glProgramEnvParametersI4ivNV;
17465   #endif
17466 
17467   #ifndef GLPROGRAMENVPARAMETERI4UINV_DECL
17468   #define GLPROGRAMENVPARAMETERI4UINV_DECL
17469   csGLPROGRAMENVPARAMETERI4UINV glProgramEnvParameterI4uiNV;
17470   #endif
17471 
17472   #ifndef GLPROGRAMENVPARAMETERI4UIVNV_DECL
17473   #define GLPROGRAMENVPARAMETERI4UIVNV_DECL
17474   csGLPROGRAMENVPARAMETERI4UIVNV glProgramEnvParameterI4uivNV;
17475   #endif
17476 
17477   #ifndef GLPROGRAMENVPARAMETERSI4UIVNV_DECL
17478   #define GLPROGRAMENVPARAMETERSI4UIVNV_DECL
17479   csGLPROGRAMENVPARAMETERSI4UIVNV glProgramEnvParametersI4uivNV;
17480   #endif
17481 
17482   #ifndef GLGETPROGRAMLOCALPARAMETERIIVNV_DECL
17483   #define GLGETPROGRAMLOCALPARAMETERIIVNV_DECL
17484   csGLGETPROGRAMLOCALPARAMETERIIVNV glGetProgramLocalParameterIivNV;
17485   #endif
17486 
17487   #ifndef GLGETPROGRAMLOCALPARAMETERIUIVNV_DECL
17488   #define GLGETPROGRAMLOCALPARAMETERIUIVNV_DECL
17489   csGLGETPROGRAMLOCALPARAMETERIUIVNV glGetProgramLocalParameterIuivNV;
17490   #endif
17491 
17492   #ifndef GLGETPROGRAMENVPARAMETERIIVNV_DECL
17493   #define GLGETPROGRAMENVPARAMETERIIVNV_DECL
17494   csGLGETPROGRAMENVPARAMETERIIVNV glGetProgramEnvParameterIivNV;
17495   #endif
17496 
17497   #ifndef GLGETPROGRAMENVPARAMETERIUIVNV_DECL
17498   #define GLGETPROGRAMENVPARAMETERIUIVNV_DECL
17499   csGLGETPROGRAMENVPARAMETERIUIVNV glGetProgramEnvParameterIuivNV;
17500   #endif
17501 
17502 
17507   #ifndef GLPROGRAMLOCALPARAMETERS4FVEXT_DECL
17508   #define GLPROGRAMLOCALPARAMETERS4FVEXT_DECL
17509   csGLPROGRAMLOCALPARAMETERS4FVEXT glProgramLocalParameters4fvEXT;
17510   #endif
17511 
17512   #ifndef GLPROGRAMENVPARAMETERS4FVEXT_DECL
17513   #define GLPROGRAMENVPARAMETERS4FVEXT_DECL
17514   csGLPROGRAMENVPARAMETERS4FVEXT glProgramEnvParameters4fvEXT;
17515   #endif
17516 
17517 
17522   #ifndef GLCLAMPCOLORARB_DECL
17523   #define GLCLAMPCOLORARB_DECL
17524   csGLCLAMPCOLORARB glClampColorARB;
17525   #endif
17526 
17527 
17534 #ifdef CS_OPENGL_GLX
17535 
17540 #endif // CS_OPENGL_GLX
17541 
17542 #ifdef _WIN32
17543 
17548 #endif // _WIN32
17549 
17563   #ifndef GLVERTEXATTRIBDIVISORARB_DECL
17564   #define GLVERTEXATTRIBDIVISORARB_DECL
17565   csGLVERTEXATTRIBDIVISORARB glVertexAttribDivisorARB;
17566   #endif
17567 
17568 
17578   #ifndef GLMAPBUFFERRANGE_DECL
17579   #define GLMAPBUFFERRANGE_DECL
17580   csGLMAPBUFFERRANGE glMapBufferRange;
17581   #endif
17582 
17583   #ifndef GLFLUSHMAPPEDBUFFERRANGE_DECL
17584   #define GLFLUSHMAPPEDBUFFERRANGE_DECL
17585   csGLFLUSHMAPPEDBUFFERRANGE glFlushMappedBufferRange;
17586   #endif
17587 
17588 
17613   #ifndef GLGETINTEGER64V_DECL
17614   #define GLGETINTEGER64V_DECL
17615   csGLGETINTEGER64V glGetInteger64v;
17616   #endif
17617 
17618   #ifndef GLQUERYCOUNTER_DECL
17619   #define GLQUERYCOUNTER_DECL
17620   csGLQUERYCOUNTER glQueryCounter;
17621   #endif
17622 
17623 
17626 // end of functions
17627 };
17628 
17630 struct csGLExtensionFlags
17631 {
17632 public:
17634   bool CS_GL_version_1_2;
17636   bool CS_GL_version_1_3;
17638   bool CS_GL_version_1_4;
17640   bool CS_GL_version_1_5;
17642   bool CS_GL_version_2_0;
17644   bool CS_GL_version_2_1;
17647   bool CS_Queries;
17650   bool CS_Queries64;
17653   bool CS_InstancedDrawFuncs;
17656   bool CS_GL_ARB_imaging;
17659   bool CS_GL_ARB_multitexture;
17662   bool CS_GL_ARB_transpose_matrix;
17665   bool CS_GL_ARB_multisample;
17668   bool CS_GLX_ARB_multisample;
17671   bool CS_GL_ARB_texture_env_add;
17674   bool CS_WGL_ARB_extensions_string;
17677   bool CS_WGL_ARB_buffer_region;
17680   bool CS_GL_ARB_texture_cube_map;
17683   bool CS_GL_ARB_depth_texture;
17686   bool CS_GL_ARB_point_parameters;
17689   bool CS_GL_ARB_shadow;
17692   bool CS_GL_ARB_shadow_ambient;
17695   bool CS_GL_ARB_texture_border_clamp;
17698   bool CS_GL_ARB_texture_compression;
17701   bool CS_GL_ARB_texture_env_combine;
17704   bool CS_GL_ARB_texture_env_crossbar;
17707   bool CS_GL_ARB_texture_env_dot3;
17710   bool CS_GL_ARB_texture_mirrored_repeat;
17713   bool CS_GL_ARB_vertex_blend;
17716   bool CS_GL_ARB_vertex_program;
17719   bool CS_GL_ARB_window_pos;
17722   bool CS_GL_EXT_422_pixels;
17725   bool CS_GL_EXT_abgr;
17728   bool CS_GL_EXT_bgra;
17731   bool CS_GL_EXT_blend_color;
17734   bool CS_GL_EXT_blend_func_separate;
17737   bool CS_GL_EXT_blend_logic_op;
17740   bool CS_GL_EXT_blend_minmax;
17743   bool CS_GL_EXT_blend_subtract;
17746   bool CS_GL_EXT_clip_volume_hint;
17749   bool CS_GL_EXT_color_subtable;
17752   bool CS_GL_EXT_compiled_vertex_array;
17755   bool CS_GL_EXT_convolution;
17758   bool CS_GL_EXT_fog_coord;
17761   bool CS_GL_EXT_histogram;
17764   bool CS_GL_EXT_multi_draw_arrays;
17767   bool CS_GL_EXT_packed_pixels;
17770   bool CS_GL_EXT_paletted_texture;
17773   bool CS_GL_EXT_point_parameters;
17776   bool CS_GL_EXT_polygon_offset;
17779   bool CS_GL_EXT_secondary_color;
17782   bool CS_GL_EXT_separate_specular_color;
17785   bool CS_GL_EXT_shadow_funcs;
17788   bool CS_GL_EXT_shared_texture_palette;
17791   bool CS_GL_EXT_stencil_two_side;
17794   bool CS_GL_EXT_stencil_wrap;
17797   bool CS_GL_EXT_subtexture;
17800   bool CS_GL_EXT_texture3D;
17803   bool CS_GL_EXT_texture_compression_s3tc;
17806   bool CS_GL_EXT_texture_env_add;
17809   bool CS_GL_EXT_texture_env_combine;
17812   bool CS_GL_EXT_texture_env_dot3;
17815   bool CS_GL_EXT_texture_filter_anisotropic;
17818   bool CS_GL_EXT_texture_lod_bias;
17821   bool CS_GL_EXT_texture_object;
17824   bool CS_GL_EXT_vertex_array;
17827   bool CS_GL_EXT_vertex_shader;
17830   bool CS_GL_EXT_vertex_weighting;
17833   bool CS_GL_HP_occlusion_test;
17836   bool CS_GL_NV_blend_square;
17839   bool CS_GL_NV_copy_depth_to_color;
17842   bool CS_GL_NV_depth_clamp;
17845   bool CS_GL_NV_evaluators;
17848   bool CS_GL_NV_fence;
17851   bool CS_GL_NV_fog_distance;
17854   bool CS_GL_NV_light_max_exponent;
17857   bool CS_GL_NV_multisample_filter_hint;
17860   bool CS_GL_NV_occlusion_query;
17863   bool CS_GL_NV_packed_depth_stencil;
17866   bool CS_GL_NV_point_sprite;
17869   bool CS_GL_NV_register_combiners;
17872   bool CS_GL_NV_register_combiners2;
17875   bool CS_GL_NV_texgen_emboss;
17878   bool CS_GL_NV_texgen_reflection;
17881   bool CS_GL_NV_texture_compression_vtc;
17884   bool CS_GL_NV_texture_env_combine4;
17887   bool CS_GL_NV_texture_rectangle;
17890   bool CS_GL_NV_texture_shader;
17893   bool CS_GL_NV_texture_shader2;
17896   bool CS_GL_NV_texture_shader3;
17899   bool CS_GL_NV_vertex_array_range;
17902   bool CS_GL_NV_vertex_array_range2;
17905   bool CS_GL_NV_vertex_program;
17908   bool CS_GL_NV_vertex_program1_1;
17911   bool CS_GL_ATI_element_array;
17914   bool CS_GL_ATI_envmap_bumpmap;
17917   bool CS_GL_ATI_fragment_shader;
17920   bool CS_GL_ATI_pn_triangles;
17923   bool CS_GL_ATI_texture_mirror_once;
17926   bool CS_GL_ATI_vertex_array_object;
17929   bool CS_GL_ATI_vertex_attrib_array_object;
17932   bool CS_GL_ATI_vertex_streams;
17935   bool CS_WGL_I3D_image_buffer;
17938   bool CS_WGL_I3D_swap_frame_lock;
17941   bool CS_WGL_I3D_swap_frame_usage;
17944   bool CS_GL_3DFX_texture_compression_FXT1;
17947   bool CS_GL_IBM_cull_vertex;
17950   bool CS_GL_IBM_multimode_draw_arrays;
17953   bool CS_GL_IBM_raster_pos_clip;
17956   bool CS_GL_IBM_texture_mirrored_repeat;
17959   bool CS_GL_IBM_vertex_array_lists;
17962   bool CS_GL_MESA_resize_buffers;
17965   bool CS_GL_MESA_window_pos;
17968   bool CS_GL_OML_interlace;
17971   bool CS_GL_OML_resample;
17974   bool CS_GL_OML_subsample;
17977   bool CS_GL_SGIS_generate_mipmap;
17980   bool CS_GL_SGIS_multisample;
17983   bool CS_GL_SGIS_pixel_texture;
17986   bool CS_GL_SGIS_texture_border_clamp;
17989   bool CS_GL_SGIS_texture_color_mask;
17992   bool CS_GL_SGIS_texture_edge_clamp;
17995   bool CS_GL_SGIS_texture_lod;
17998   bool CS_GL_SGIS_depth_texture;
18001   bool CS_GL_SGIX_fog_offset;
18004   bool CS_GL_SGIX_interlace;
18007   bool CS_GL_SGIX_shadow_ambient;
18010   bool CS_GL_SGI_color_matrix;
18013   bool CS_GL_SGI_color_table;
18016   bool CS_GL_SGI_texture_color_table;
18019   bool CS_GL_SUN_vertex;
18022   bool CS_GL_ARB_fragment_program;
18025   bool CS_GL_ATI_text_fragment_shader;
18028   bool CS_GL_APPLE_client_storage;
18031   bool CS_GL_APPLE_element_array;
18034   bool CS_GL_APPLE_fence;
18037   bool CS_GL_APPLE_vertex_array_object;
18040   bool CS_GL_APPLE_vertex_array_range;
18043   bool CS_WGL_ARB_pixel_format;
18046   bool CS_WGL_ARB_make_current_read;
18049   bool CS_WGL_ARB_pbuffer;
18052   bool CS_WGL_EXT_swap_control;
18055   bool CS_WGL_ARB_render_texture;
18058   bool CS_WGL_EXT_extensions_string;
18061   bool CS_WGL_EXT_make_current_read;
18064   bool CS_WGL_EXT_pbuffer;
18067   bool CS_WGL_EXT_pixel_format;
18070   bool CS_WGL_I3D_digital_video_control;
18073   bool CS_WGL_I3D_gamma;
18076   bool CS_WGL_I3D_genlock;
18079   bool CS_GL_ARB_matrix_palette;
18082   bool CS_GL_NV_element_array;
18085   bool CS_GL_NV_float_buffer;
18088   bool CS_GL_NV_fragment_program;
18091   bool CS_GL_NV_primitive_restart;
18094   bool CS_GL_NV_vertex_program2;
18097   bool CS_GL_ARB_vertex_buffer_object;
18100   bool CS_GL_ATI_separate_stencil;
18103   bool CS_GL_ARB_texture_non_power_of_two;
18106   bool CS_GL_ARB_point_sprite;
18109   bool CS_GL_ARB_shading_language_100;
18112   bool CS_GL_ARB_shader_objects;
18115   bool CS_GL_ARB_fragment_shader;
18118   bool CS_GL_ARB_vertex_shader;
18121   bool CS_GL_ARB_pixel_buffer_object;
18124   bool CS_GL_ARB_texture_rectangle;
18127   bool CS_GL_EXT_framebuffer_object;
18130   bool CS_GL_EXT_pixel_buffer_object;
18133   bool CS_GL_GREMEDY_string_marker;
18136   bool CS_GL_EXT_texture_rectangle;
18139   bool CS_GL_ARB_occlusion_query;
18142   bool CS_GL_ARB_occlusion_query2;
18145   bool CS_GL_ARB_draw_buffers;
18148   bool CS_GL_EXT_blend_equation_separate;
18151   bool CS_GL_EXT_texture_sRGB;
18154   bool CS_GL_EXT_packed_depth_stencil;
18157   bool CS_GL_ARB_texture_float;
18160   bool CS_GL_ARB_half_float_pixel;
18163   bool CS_GL_NV_gpu_program4;
18166   bool CS_GL_EXT_gpu_program_parameters;
18169   bool CS_GL_ARB_color_buffer_float;
18172   bool CS_GL_ARB_framebuffer_sRGB;
18175   bool CS_GLX_ARB_framebuffer_sRGB;
18178   bool CS_WGL_ARB_framebuffer_sRGB;
18181   bool CS_GL_ARB_draw_instanced;
18184   bool CS_GL_ARB_depth_buffer_float;
18187   bool CS_GL_ARB_instanced_arrays;
18190   bool CS_GL_ARB_half_float_vertex;
18193   bool CS_GL_ARB_map_buffer_range;
18196   bool CS_GL_ARB_texture_compression_rgtc;
18199   bool CS_GL_ARB_texture_rg;
18202   bool CS_GL_ARB_seamless_cube_map;
18205   bool CS_GL_AMD_seamless_cubemap_per_texture;
18208   bool CS_GL_ARB_timer_query;
18209 
18210 protected:
18211   bool tested_CS_GL_version_1_2;
18212   bool tested_CS_GL_version_1_3;
18213   bool tested_CS_GL_version_1_4;
18214   bool tested_CS_GL_version_1_5;
18215   bool tested_CS_GL_version_2_0;
18216   bool tested_CS_GL_version_2_1;
18217   bool tested_CS_Queries;
18218   bool tested_CS_Queries64;
18219   bool tested_CS_InstancedDrawFuncs;
18220   bool tested_CS_GL_ARB_imaging;
18221   bool tested_CS_GL_ARB_multitexture;
18222   bool tested_CS_GL_ARB_transpose_matrix;
18223   bool tested_CS_GL_ARB_multisample;
18224   bool tested_CS_GLX_ARB_multisample;
18225   bool tested_CS_GL_ARB_texture_env_add;
18226   bool tested_CS_WGL_ARB_extensions_string;
18227   bool tested_CS_WGL_ARB_buffer_region;
18228   bool tested_CS_GL_ARB_texture_cube_map;
18229   bool tested_CS_GL_ARB_depth_texture;
18230   bool tested_CS_GL_ARB_point_parameters;
18231   bool tested_CS_GL_ARB_shadow;
18232   bool tested_CS_GL_ARB_shadow_ambient;
18233   bool tested_CS_GL_ARB_texture_border_clamp;
18234   bool tested_CS_GL_ARB_texture_compression;
18235   bool tested_CS_GL_ARB_texture_env_combine;
18236   bool tested_CS_GL_ARB_texture_env_crossbar;
18237   bool tested_CS_GL_ARB_texture_env_dot3;
18238   bool tested_CS_GL_ARB_texture_mirrored_repeat;
18239   bool tested_CS_GL_ARB_vertex_blend;
18240   bool tested_CS_GL_ARB_vertex_program;
18241   bool tested_CS_GL_ARB_window_pos;
18242   bool tested_CS_GL_EXT_422_pixels;
18243   bool tested_CS_GL_EXT_abgr;
18244   bool tested_CS_GL_EXT_bgra;
18245   bool tested_CS_GL_EXT_blend_color;
18246   bool tested_CS_GL_EXT_blend_func_separate;
18247   bool tested_CS_GL_EXT_blend_logic_op;
18248   bool tested_CS_GL_EXT_blend_minmax;
18249   bool tested_CS_GL_EXT_blend_subtract;
18250   bool tested_CS_GL_EXT_clip_volume_hint;
18251   bool tested_CS_GL_EXT_color_subtable;
18252   bool tested_CS_GL_EXT_compiled_vertex_array;
18253   bool tested_CS_GL_EXT_convolution;
18254   bool tested_CS_GL_EXT_fog_coord;
18255   bool tested_CS_GL_EXT_histogram;
18256   bool tested_CS_GL_EXT_multi_draw_arrays;
18257   bool tested_CS_GL_EXT_packed_pixels;
18258   bool tested_CS_GL_EXT_paletted_texture;
18259   bool tested_CS_GL_EXT_point_parameters;
18260   bool tested_CS_GL_EXT_polygon_offset;
18261   bool tested_CS_GL_EXT_secondary_color;
18262   bool tested_CS_GL_EXT_separate_specular_color;
18263   bool tested_CS_GL_EXT_shadow_funcs;
18264   bool tested_CS_GL_EXT_shared_texture_palette;
18265   bool tested_CS_GL_EXT_stencil_two_side;
18266   bool tested_CS_GL_EXT_stencil_wrap;
18267   bool tested_CS_GL_EXT_subtexture;
18268   bool tested_CS_GL_EXT_texture3D;
18269   bool tested_CS_GL_EXT_texture_compression_s3tc;
18270   bool tested_CS_GL_EXT_texture_env_add;
18271   bool tested_CS_GL_EXT_texture_env_combine;
18272   bool tested_CS_GL_EXT_texture_env_dot3;
18273   bool tested_CS_GL_EXT_texture_filter_anisotropic;
18274   bool tested_CS_GL_EXT_texture_lod_bias;
18275   bool tested_CS_GL_EXT_texture_object;
18276   bool tested_CS_GL_EXT_vertex_array;
18277   bool tested_CS_GL_EXT_vertex_shader;
18278   bool tested_CS_GL_EXT_vertex_weighting;
18279   bool tested_CS_GL_HP_occlusion_test;
18280   bool tested_CS_GL_NV_blend_square;
18281   bool tested_CS_GL_NV_copy_depth_to_color;
18282   bool tested_CS_GL_NV_depth_clamp;
18283   bool tested_CS_GL_NV_evaluators;
18284   bool tested_CS_GL_NV_fence;
18285   bool tested_CS_GL_NV_fog_distance;
18286   bool tested_CS_GL_NV_light_max_exponent;
18287   bool tested_CS_GL_NV_multisample_filter_hint;
18288   bool tested_CS_GL_NV_occlusion_query;
18289   bool tested_CS_GL_NV_packed_depth_stencil;
18290   bool tested_CS_GL_NV_point_sprite;
18291   bool tested_CS_GL_NV_register_combiners;
18292   bool tested_CS_GL_NV_register_combiners2;
18293   bool tested_CS_GL_NV_texgen_emboss;
18294   bool tested_CS_GL_NV_texgen_reflection;
18295   bool tested_CS_GL_NV_texture_compression_vtc;
18296   bool tested_CS_GL_NV_texture_env_combine4;
18297   bool tested_CS_GL_NV_texture_rectangle;
18298   bool tested_CS_GL_NV_texture_shader;
18299   bool tested_CS_GL_NV_texture_shader2;
18300   bool tested_CS_GL_NV_texture_shader3;
18301   bool tested_CS_GL_NV_vertex_array_range;
18302   bool tested_CS_GL_NV_vertex_array_range2;
18303   bool tested_CS_GL_NV_vertex_program;
18304   bool tested_CS_GL_NV_vertex_program1_1;
18305   bool tested_CS_GL_ATI_element_array;
18306   bool tested_CS_GL_ATI_envmap_bumpmap;
18307   bool tested_CS_GL_ATI_fragment_shader;
18308   bool tested_CS_GL_ATI_pn_triangles;
18309   bool tested_CS_GL_ATI_texture_mirror_once;
18310   bool tested_CS_GL_ATI_vertex_array_object;
18311   bool tested_CS_GL_ATI_vertex_attrib_array_object;
18312   bool tested_CS_GL_ATI_vertex_streams;
18313   bool tested_CS_WGL_I3D_image_buffer;
18314   bool tested_CS_WGL_I3D_swap_frame_lock;
18315   bool tested_CS_WGL_I3D_swap_frame_usage;
18316   bool tested_CS_GL_3DFX_texture_compression_FXT1;
18317   bool tested_CS_GL_IBM_cull_vertex;
18318   bool tested_CS_GL_IBM_multimode_draw_arrays;
18319   bool tested_CS_GL_IBM_raster_pos_clip;
18320   bool tested_CS_GL_IBM_texture_mirrored_repeat;
18321   bool tested_CS_GL_IBM_vertex_array_lists;
18322   bool tested_CS_GL_MESA_resize_buffers;
18323   bool tested_CS_GL_MESA_window_pos;
18324   bool tested_CS_GL_OML_interlace;
18325   bool tested_CS_GL_OML_resample;
18326   bool tested_CS_GL_OML_subsample;
18327   bool tested_CS_GL_SGIS_generate_mipmap;
18328   bool tested_CS_GL_SGIS_multisample;
18329   bool tested_CS_GL_SGIS_pixel_texture;
18330   bool tested_CS_GL_SGIS_texture_border_clamp;
18331   bool tested_CS_GL_SGIS_texture_color_mask;
18332   bool tested_CS_GL_SGIS_texture_edge_clamp;
18333   bool tested_CS_GL_SGIS_texture_lod;
18334   bool tested_CS_GL_SGIS_depth_texture;
18335   bool tested_CS_GL_SGIX_fog_offset;
18336   bool tested_CS_GL_SGIX_interlace;
18337   bool tested_CS_GL_SGIX_shadow_ambient;
18338   bool tested_CS_GL_SGI_color_matrix;
18339   bool tested_CS_GL_SGI_color_table;
18340   bool tested_CS_GL_SGI_texture_color_table;
18341   bool tested_CS_GL_SUN_vertex;
18342   bool tested_CS_GL_ARB_fragment_program;
18343   bool tested_CS_GL_ATI_text_fragment_shader;
18344   bool tested_CS_GL_APPLE_client_storage;
18345   bool tested_CS_GL_APPLE_element_array;
18346   bool tested_CS_GL_APPLE_fence;
18347   bool tested_CS_GL_APPLE_vertex_array_object;
18348   bool tested_CS_GL_APPLE_vertex_array_range;
18349   bool tested_CS_WGL_ARB_pixel_format;
18350   bool tested_CS_WGL_ARB_make_current_read;
18351   bool tested_CS_WGL_ARB_pbuffer;
18352   bool tested_CS_WGL_EXT_swap_control;
18353   bool tested_CS_WGL_ARB_render_texture;
18354   bool tested_CS_WGL_EXT_extensions_string;
18355   bool tested_CS_WGL_EXT_make_current_read;
18356   bool tested_CS_WGL_EXT_pbuffer;
18357   bool tested_CS_WGL_EXT_pixel_format;
18358   bool tested_CS_WGL_I3D_digital_video_control;
18359   bool tested_CS_WGL_I3D_gamma;
18360   bool tested_CS_WGL_I3D_genlock;
18361   bool tested_CS_GL_ARB_matrix_palette;
18362   bool tested_CS_GL_NV_element_array;
18363   bool tested_CS_GL_NV_float_buffer;
18364   bool tested_CS_GL_NV_fragment_program;
18365   bool tested_CS_GL_NV_primitive_restart;
18366   bool tested_CS_GL_NV_vertex_program2;
18367   bool tested_CS_GL_ARB_vertex_buffer_object;
18368   bool tested_CS_GL_ATI_separate_stencil;
18369   bool tested_CS_GL_ARB_texture_non_power_of_two;
18370   bool tested_CS_GL_ARB_point_sprite;
18371   bool tested_CS_GL_ARB_shading_language_100;
18372   bool tested_CS_GL_ARB_shader_objects;
18373   bool tested_CS_GL_ARB_fragment_shader;
18374   bool tested_CS_GL_ARB_vertex_shader;
18375   bool tested_CS_GL_ARB_pixel_buffer_object;
18376   bool tested_CS_GL_ARB_texture_rectangle;
18377   bool tested_CS_GL_EXT_framebuffer_object;
18378   bool tested_CS_GL_EXT_pixel_buffer_object;
18379   bool tested_CS_GL_GREMEDY_string_marker;
18380   bool tested_CS_GL_EXT_texture_rectangle;
18381   bool tested_CS_GL_ARB_occlusion_query;
18382   bool tested_CS_GL_ARB_occlusion_query2;
18383   bool tested_CS_GL_ARB_draw_buffers;
18384   bool tested_CS_GL_EXT_blend_equation_separate;
18385   bool tested_CS_GL_EXT_texture_sRGB;
18386   bool tested_CS_GL_EXT_packed_depth_stencil;
18387   bool tested_CS_GL_ARB_texture_float;
18388   bool tested_CS_GL_ARB_half_float_pixel;
18389   bool tested_CS_GL_NV_gpu_program4;
18390   bool tested_CS_GL_EXT_gpu_program_parameters;
18391   bool tested_CS_GL_ARB_color_buffer_float;
18392   bool tested_CS_GL_ARB_framebuffer_sRGB;
18393   bool tested_CS_GLX_ARB_framebuffer_sRGB;
18394   bool tested_CS_WGL_ARB_framebuffer_sRGB;
18395   bool tested_CS_GL_ARB_draw_instanced;
18396   bool tested_CS_GL_ARB_depth_buffer_float;
18397   bool tested_CS_GL_ARB_instanced_arrays;
18398   bool tested_CS_GL_ARB_half_float_vertex;
18399   bool tested_CS_GL_ARB_map_buffer_range;
18400   bool tested_CS_GL_ARB_texture_compression_rgtc;
18401   bool tested_CS_GL_ARB_texture_rg;
18402   bool tested_CS_GL_ARB_seamless_cube_map;
18403   bool tested_CS_GL_AMD_seamless_cubemap_per_texture;
18404   bool tested_CS_GL_ARB_timer_query;
18405 
18406 };
18407 
18412 struct csGLExtensionManager : public csGLExtensionFunctions,
18413                               public csGLExtensionFlags
18414 {
18415 private:
18416   iObjectRegistry* object_reg;
18417   csConfigAccess config;
18418   iOpenGLInterface* gl;
18419   bool doVerbose;
18420   bool defaultUse;
18421   
18422   const char* extstrGL;
18423   const char* msgExtRetrieveFail;
18424   const char* msgExtFoundAndUsed;
18425   const char* msgExtFoundAndNotUsed;
18426   const char* msgExtInitFail;
18427   const char* msgExtNotFound;
18428   const char* msgDependencyNotFound;
18429 
18430 #ifdef __WIN32__
18431   const char* extstrWGL;
18432   void SetupWGLextStr (HDC hDC)
18433   {
18434     if (extstrWGL != 0) return;
18435   
18436     if (!tested_CS_WGL_ARB_extensions_string) InitWGL_ARB_extensions_string (hDC);
18437     if (CS_WGL_ARB_extensions_string)
18438     {
18439       extstrWGL = wglGetExtensionsStringARB (hDC);
18440     }
18441     else
18442     {
18443       extstrWGL = extstrGL;
18444     }
18445   }
18446 #endif
18447 
18448 #ifdef CS_OPENGL_GLX
18449   const char* extstrGLX;
18450 #ifdef CS_GLEXTMANAGER_USE_GLX
18451   void SetupGLXextStr (Display* glxDisplay, int glxScreen)
18452   {
18453     if (extstrGLX != 0) return;
18454   
18455     extstrGLX = glXQueryExtensionsString (glxDisplay, glxScreen);
18456   }
18457 #endif
18458 #endif
18459 
18460   void Report (const char* msg, ...)
18461   {
18462     if (!doVerbose)
18463       return;
18464     
18465     va_list arg;
18466     va_start (arg, msg);
18467     csReportV (object_reg, CS_REPORTER_SEVERITY_NOTIFY,
18468       "crystalspace.canvas.opengl.extmgr", msg, arg);
18469     va_end (arg);
18470   }
18471 
18477   bool CheckExtension (const char* extensions, const char* extToCheck)
18478   {
18479     size_t extLen = strlen (extToCheck);
18480     do
18481     {
18482       const char* extStrPos = strstr (extensions, extToCheck);
18483       if (extStrPos == 0) return false;
18484       
18485       /* If no space is before and after the ext string it's a substring
18486        * of another ext */
18487       char endch;
18488       if (((extStrPos > extensions) && (*(extStrPos-1) != ' '))
18489         || (((endch = *(extStrPos + extLen)) != 0) && (endch != ' ')))
18490       {
18491         extensions = extStrPos + extLen;
18492         continue;
18493       }
18494       break;
18495     }
18496     while (true);
18497     return true;
18498   }
18499 public:
18500   void Initialize (iObjectRegistry* object_reg, iGraphics2D* g2d)
18501   {
18502     csGLExtensionManager::object_reg = object_reg;
18503     gl = csRef<iOpenGLInterface> (scfQueryInterface<iOpenGLInterface> (g2d));
18504     // Low priority so canvas/renderer cfgs may override the settings
18505     config.AddConfig (object_reg, "/config/glext.cfg", true,
18506       iConfigManager::ConfigPriorityPlugin - 1);
18507 
18508     csRef<iVerbosityManager> verbosemgr (csQueryRegistry<iVerbosityManager> (
18509       object_reg));
18510     doVerbose = verbosemgr->Enabled ("renderer");
18511   }
18512   
18513   void Open () 
18514   { 
18515     extstrGL = (const char*)glGetString (GL_EXTENSIONS);
18516     defaultUse = config->GetBool ("Video.OpenGL.UseExtension.ALL", true);
18517     if (!defaultUse)
18518       Report ("ALL extensions are disabled by default");
18519   }
18520   
18521   void Close () { }
18522 public:
18523   void Reset ()
18524   {
18525     extstrGL = 0;
18526 #ifdef __WIN32__
18527     extstrWGL = 0;
18528 #endif
18529 #ifdef CS_OPENGL_GLX
18530     extstrGLX = 0;
18531 #endif
18532 
18533     memset ((csGLExtensionFunctions*)this, 0, 
18534       sizeof (csGLExtensionFunctions));
18535     memset ((csGLExtensionFlags*)this, 0, sizeof (csGLExtensionFlags));
18536   }
18537   
18538   csGLExtensionManager () : object_reg (0), gl (0), doVerbose (false),
18539     defaultUse (true)
18540   {
18541     msgExtRetrieveFail = "Failed to retrieve %s";
18542     msgExtFoundAndUsed = "%s Extension %s found and used.";
18543     msgExtFoundAndNotUsed = "%s Extension %s found, but not used.";
18544     msgExtInitFail = "%s Extension %s failed to initialize.";
18545     msgExtNotFound = "%s Extension %s not found.";
18546     msgDependencyNotFound = "%s Extension %s depends on %s which did "
18547       "not initialize.";
18548     
18549     Reset ();
18550   }
18551   
18553   void InitGL_version_1_2 ()
18554   {
18555     if (tested_CS_GL_version_1_2) return;
18556     if (!extstrGL) return;
18557     tested_CS_GL_version_1_2 = true;
18558     const char* ext = "GL_version_1_2";
18559 
18560     char cfgkey[26 + 14 + 1];
18561     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18562     
18563     CS_GL_version_1_2 = true;
18564 
18565     bool allclear, funcTest;
18566     (void)funcTest; // shut up "variable unused" warnings
18567     bool init = CS_GL_version_1_2;
18568     allclear = true;
18569     if (init)   // Don't check the functions if ext isn't reported anyway
18570     {
18571       EXTMGR_FUNC_INIT(glDrawRangeElements, GLDRAWRANGEELEMENTS);
18572       EXTMGR_FUNC_INIT(glTexImage3D, GLTEXIMAGE3D);
18573       EXTMGR_FUNC_INIT(glTexSubImage3D, GLTEXSUBIMAGE3D);
18574       EXTMGR_FUNC_INIT(glCopyTexSubImage3D, GLCOPYTEXSUBIMAGE3D);
18575 
18576       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_2)
18577     }
18578     else
18579     {
18580       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18581     }
18582   }
18583   
18585   void InitGL_version_1_3 ()
18586   {
18587     if (tested_CS_GL_version_1_3) return;
18588     if (!extstrGL) return;
18589     tested_CS_GL_version_1_3 = true;
18590     const char* ext = "GL_version_1_3";
18591     InitGL_version_1_2();
18592     if (!CS_GL_version_1_2)
18593     {
18594       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_version_1_2"));
18595       return;
18596     }
18597     char cfgkey[26 + 14 + 1];
18598     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18599     
18600     CS_GL_version_1_3 = true;
18601 
18602     bool allclear, funcTest;
18603     (void)funcTest; // shut up "variable unused" warnings
18604     bool init = CS_GL_version_1_3;
18605     allclear = true;
18606     if (init)   // Don't check the functions if ext isn't reported anyway
18607     {
18608       EXTMGR_FUNC_INIT(glActiveTexture, GLACTIVETEXTURE);
18609       EXTMGR_FUNC_INIT(glClientActiveTexture, GLCLIENTACTIVETEXTURE);
18610       EXTMGR_FUNC_INIT(glMultiTexCoord1d, GLMULTITEXCOORD1D);
18611       EXTMGR_FUNC_INIT(glMultiTexCoord1dv, GLMULTITEXCOORD1DV);
18612       EXTMGR_FUNC_INIT(glMultiTexCoord1f, GLMULTITEXCOORD1F);
18613       EXTMGR_FUNC_INIT(glMultiTexCoord1fv, GLMULTITEXCOORD1FV);
18614       EXTMGR_FUNC_INIT(glMultiTexCoord1i, GLMULTITEXCOORD1I);
18615       EXTMGR_FUNC_INIT(glMultiTexCoord1iv, GLMULTITEXCOORD1IV);
18616       EXTMGR_FUNC_INIT(glMultiTexCoord1s, GLMULTITEXCOORD1S);
18617       EXTMGR_FUNC_INIT(glMultiTexCoord1sv, GLMULTITEXCOORD1SV);
18618       EXTMGR_FUNC_INIT(glMultiTexCoord2d, GLMULTITEXCOORD2D);
18619       EXTMGR_FUNC_INIT(glMultiTexCoord2dv, GLMULTITEXCOORD2DV);
18620       EXTMGR_FUNC_INIT(glMultiTexCoord2f, GLMULTITEXCOORD2F);
18621       EXTMGR_FUNC_INIT(glMultiTexCoord2fv, GLMULTITEXCOORD2FV);
18622       EXTMGR_FUNC_INIT(glMultiTexCoord2i, GLMULTITEXCOORD2I);
18623       EXTMGR_FUNC_INIT(glMultiTexCoord2iv, GLMULTITEXCOORD2IV);
18624       EXTMGR_FUNC_INIT(glMultiTexCoord2s, GLMULTITEXCOORD2S);
18625       EXTMGR_FUNC_INIT(glMultiTexCoord2sv, GLMULTITEXCOORD2SV);
18626       EXTMGR_FUNC_INIT(glMultiTexCoord3d, GLMULTITEXCOORD3D);
18627       EXTMGR_FUNC_INIT(glMultiTexCoord3dv, GLMULTITEXCOORD3DV);
18628       EXTMGR_FUNC_INIT(glMultiTexCoord3f, GLMULTITEXCOORD3F);
18629       EXTMGR_FUNC_INIT(glMultiTexCoord3fv, GLMULTITEXCOORD3FV);
18630       EXTMGR_FUNC_INIT(glMultiTexCoord3i, GLMULTITEXCOORD3I);
18631       EXTMGR_FUNC_INIT(glMultiTexCoord3iv, GLMULTITEXCOORD3IV);
18632       EXTMGR_FUNC_INIT(glMultiTexCoord3s, GLMULTITEXCOORD3S);
18633       EXTMGR_FUNC_INIT(glMultiTexCoord3sv, GLMULTITEXCOORD3SV);
18634       EXTMGR_FUNC_INIT(glMultiTexCoord4d, GLMULTITEXCOORD4D);
18635       EXTMGR_FUNC_INIT(glMultiTexCoord4dv, GLMULTITEXCOORD4DV);
18636       EXTMGR_FUNC_INIT(glMultiTexCoord4f, GLMULTITEXCOORD4F);
18637       EXTMGR_FUNC_INIT(glMultiTexCoord4fv, GLMULTITEXCOORD4FV);
18638       EXTMGR_FUNC_INIT(glMultiTexCoord4i, GLMULTITEXCOORD4I);
18639       EXTMGR_FUNC_INIT(glMultiTexCoord4iv, GLMULTITEXCOORD4IV);
18640       EXTMGR_FUNC_INIT(glMultiTexCoord4s, GLMULTITEXCOORD4S);
18641       EXTMGR_FUNC_INIT(glMultiTexCoord4sv, GLMULTITEXCOORD4SV);
18642       EXTMGR_FUNC_INIT(glLoadTransposeMatrixf, GLLOADTRANSPOSEMATRIXF);
18643       EXTMGR_FUNC_INIT(glLoadTransposeMatrixd, GLLOADTRANSPOSEMATRIXD);
18644       EXTMGR_FUNC_INIT(glMultTransposeMatrixf, GLMULTTRANSPOSEMATRIXF);
18645       EXTMGR_FUNC_INIT(glMultTransposeMatrixd, GLMULTTRANSPOSEMATRIXD);
18646       EXTMGR_FUNC_INIT(glSampleCoverage, GLSAMPLECOVERAGE);
18647       EXTMGR_FUNC_INIT(glCompressedTexImage3D, GLCOMPRESSEDTEXIMAGE3D);
18648       EXTMGR_FUNC_INIT(glCompressedTexImage2D, GLCOMPRESSEDTEXIMAGE2D);
18649       EXTMGR_FUNC_INIT(glCompressedTexImage1D, GLCOMPRESSEDTEXIMAGE1D);
18650       EXTMGR_FUNC_INIT(glCompressedTexSubImage3D, GLCOMPRESSEDTEXSUBIMAGE3D);
18651       EXTMGR_FUNC_INIT(glCompressedTexSubImage2D, GLCOMPRESSEDTEXSUBIMAGE2D);
18652       EXTMGR_FUNC_INIT(glCompressedTexSubImage1D, GLCOMPRESSEDTEXSUBIMAGE1D);
18653       EXTMGR_FUNC_INIT(glGetCompressedTexImage, GLGETCOMPRESSEDTEXIMAGE);
18654 
18655       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_3)
18656     }
18657     else
18658     {
18659       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18660     }
18661   }
18662   
18664   void InitGL_version_1_4 ()
18665   {
18666     if (tested_CS_GL_version_1_4) return;
18667     if (!extstrGL) return;
18668     tested_CS_GL_version_1_4 = true;
18669     const char* ext = "GL_version_1_4";
18670     InitGL_version_1_3();
18671     if (!CS_GL_version_1_3)
18672     {
18673       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_version_1_3"));
18674       return;
18675     }
18676     char cfgkey[26 + 14 + 1];
18677     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18678     
18679     CS_GL_version_1_4 = true;
18680 
18681     bool allclear, funcTest;
18682     (void)funcTest; // shut up "variable unused" warnings
18683     bool init = CS_GL_version_1_4;
18684     allclear = true;
18685     if (init)   // Don't check the functions if ext isn't reported anyway
18686     {
18687       EXTMGR_FUNC_INIT(glFogCoordf, GLFOGCOORDF);
18688       EXTMGR_FUNC_INIT(glFogCoordd, GLFOGCOORDD);
18689       EXTMGR_FUNC_INIT(glFogCoordfv, GLFOGCOORDFV);
18690       EXTMGR_FUNC_INIT(glFogCoorddv, GLFOGCOORDDV);
18691       EXTMGR_FUNC_INIT(glFogCoordPointer, GLFOGCOORDPOINTER);
18692       EXTMGR_FUNC_INIT(glMultiDrawArrays, GLMULTIDRAWARRAYS);
18693       EXTMGR_FUNC_INIT(glMultiDrawElements, GLMULTIDRAWELEMENTS);
18694       EXTMGR_FUNC_INIT(glPointParameterf, GLPOINTPARAMETERF);
18695       EXTMGR_FUNC_INIT(glPointParameterfv, GLPOINTPARAMETERFV);
18696       EXTMGR_FUNC_INIT(glSecondaryColor3b, GLSECONDARYCOLOR3B);
18697       EXTMGR_FUNC_INIT(glSecondaryColor3s, GLSECONDARYCOLOR3S);
18698       EXTMGR_FUNC_INIT(glSecondaryColor3i, GLSECONDARYCOLOR3I);
18699       EXTMGR_FUNC_INIT(glSecondaryColor3f, GLSECONDARYCOLOR3F);
18700       EXTMGR_FUNC_INIT(glSecondaryColor3d, GLSECONDARYCOLOR3D);
18701       EXTMGR_FUNC_INIT(glSecondaryColor3ub, GLSECONDARYCOLOR3UB);
18702       EXTMGR_FUNC_INIT(glSecondaryColor3us, GLSECONDARYCOLOR3US);
18703       EXTMGR_FUNC_INIT(glSecondaryColor3ui, GLSECONDARYCOLOR3UI);
18704       EXTMGR_FUNC_INIT(glSecondaryColor3bv, GLSECONDARYCOLOR3BV);
18705       EXTMGR_FUNC_INIT(glSecondaryColor3sv, GLSECONDARYCOLOR3SV);
18706       EXTMGR_FUNC_INIT(glSecondaryColor3iv, GLSECONDARYCOLOR3IV);
18707       EXTMGR_FUNC_INIT(glSecondaryColor3fv, GLSECONDARYCOLOR3FV);
18708       EXTMGR_FUNC_INIT(glSecondaryColor3dv, GLSECONDARYCOLOR3DV);
18709       EXTMGR_FUNC_INIT(glSecondaryColor3ubv, GLSECONDARYCOLOR3UBV);
18710       EXTMGR_FUNC_INIT(glSecondaryColor3usv, GLSECONDARYCOLOR3USV);
18711       EXTMGR_FUNC_INIT(glSecondaryColor3uiv, GLSECONDARYCOLOR3UIV);
18712       EXTMGR_FUNC_INIT(glSecondaryColorPointer, GLSECONDARYCOLORPOINTER);
18713       EXTMGR_FUNC_INIT(glBlendFuncSeparate, GLBLENDFUNCSEPARATE);
18714       EXTMGR_FUNC_INIT(glWindowPos2d, GLWINDOWPOS2D);
18715       EXTMGR_FUNC_INIT(glWindowPos2f, GLWINDOWPOS2F);
18716       EXTMGR_FUNC_INIT(glWindowPos2i, GLWINDOWPOS2I);
18717       EXTMGR_FUNC_INIT(glWindowPos2s, GLWINDOWPOS2S);
18718       EXTMGR_FUNC_INIT(glWindowPos2dv, GLWINDOWPOS2DV);
18719       EXTMGR_FUNC_INIT(glWindowPos2fv, GLWINDOWPOS2FV);
18720       EXTMGR_FUNC_INIT(glWindowPos2iv, GLWINDOWPOS2IV);
18721       EXTMGR_FUNC_INIT(glWindowPos2sv, GLWINDOWPOS2SV);
18722       EXTMGR_FUNC_INIT(glWindowPos3d, GLWINDOWPOS3D);
18723       EXTMGR_FUNC_INIT(glWindowPos3f, GLWINDOWPOS3F);
18724       EXTMGR_FUNC_INIT(glWindowPos3i, GLWINDOWPOS3I);
18725       EXTMGR_FUNC_INIT(glWindowPos3s, GLWINDOWPOS3S);
18726       EXTMGR_FUNC_INIT(glWindowPos3dv, GLWINDOWPOS3DV);
18727       EXTMGR_FUNC_INIT(glWindowPos3fv, GLWINDOWPOS3FV);
18728       EXTMGR_FUNC_INIT(glWindowPos3iv, GLWINDOWPOS3IV);
18729       EXTMGR_FUNC_INIT(glWindowPos3sv, GLWINDOWPOS3SV);
18730 
18731       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_4)
18732     }
18733     else
18734     {
18735       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18736     }
18737   }
18738   
18740   void InitGL_version_1_5 ()
18741   {
18742     if (tested_CS_GL_version_1_5) return;
18743     if (!extstrGL) return;
18744     tested_CS_GL_version_1_5 = true;
18745     const char* ext = "GL_version_1_5";
18746     InitGL_version_1_4();
18747     if (!CS_GL_version_1_4)
18748     {
18749       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_version_1_4"));
18750       return;
18751     }
18752     char cfgkey[26 + 14 + 1];
18753     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18754     
18755     CS_GL_version_1_5 = true;
18756 
18757     bool allclear, funcTest;
18758     (void)funcTest; // shut up "variable unused" warnings
18759     bool init = CS_GL_version_1_5;
18760     allclear = true;
18761     if (init)   // Don't check the functions if ext isn't reported anyway
18762     {
18763       EXTMGR_FUNC_INIT(glBindBuffer, GLBINDBUFFER);
18764       EXTMGR_FUNC_INIT(glDeleteBuffers, GLDELETEBUFFERS);
18765       EXTMGR_FUNC_INIT(glGenBuffers, GLGENBUFFERS);
18766       EXTMGR_FUNC_INIT(glBufferData, GLBUFFERDATA);
18767       EXTMGR_FUNC_INIT(glBufferSubData, GLBUFFERSUBDATA);
18768       EXTMGR_FUNC_INIT(glMapBuffer, GLMAPBUFFER);
18769       EXTMGR_FUNC_INIT(glUnmapBuffer, GLUNMAPBUFFER);
18770       EXTMGR_FUNC_INIT(glIsBuffer, GLISBUFFER);
18771       EXTMGR_FUNC_INIT(glGetBufferSubData, GLGETBUFFERSUBDATA);
18772       EXTMGR_FUNC_INIT(glGetBufferPointerv, GLGETBUFFERPOINTERV);
18773       EXTMGR_FUNC_INIT(glGetBufferParameteriv, GLGETBUFFERPARAMETERIV);
18774       EXTMGR_FUNC_INIT(glGenQueries, GLGENQUERIES);
18775       EXTMGR_FUNC_INIT(glDeleteQueries, GLDELETEQUERIES);
18776       EXTMGR_FUNC_INIT(glIsQuery, GLISQUERY);
18777       EXTMGR_FUNC_INIT(glBeginQuery, GLBEGINQUERY);
18778       EXTMGR_FUNC_INIT(glEndQuery, GLENDQUERY);
18779       EXTMGR_FUNC_INIT(glGetQueryiv, GLGETQUERYIV);
18780       EXTMGR_FUNC_INIT(glGetQueryObjectiv, GLGETQUERYOBJECTIV);
18781       EXTMGR_FUNC_INIT(glGetQueryObjectuiv, GLGETQUERYOBJECTUIV);
18782 
18783       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_5)
18784     }
18785     else
18786     {
18787       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18788     }
18789   }
18790   
18792   void InitGL_version_2_0 ()
18793   {
18794     if (tested_CS_GL_version_2_0) return;
18795     if (!extstrGL) return;
18796     tested_CS_GL_version_2_0 = true;
18797     const char* ext = "GL_version_2_0";
18798     InitGL_version_1_5();
18799     if (!CS_GL_version_1_5)
18800     {
18801       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_version_1_5"));
18802       return;
18803     }
18804     char cfgkey[26 + 14 + 1];
18805     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18806     
18807     CS_GL_version_2_0 = true;
18808 
18809     bool allclear, funcTest;
18810     (void)funcTest; // shut up "variable unused" warnings
18811     bool init = CS_GL_version_2_0;
18812     allclear = true;
18813     if (init)   // Don't check the functions if ext isn't reported anyway
18814     {
18815       EXTMGR_FUNC_INIT(glDeleteShader, GLDELETESHADER);
18816       EXTMGR_FUNC_INIT(glGetHandle, GLGETHANDLE);
18817       EXTMGR_FUNC_INIT(glDetachShader, GLDETACHSHADER);
18818       EXTMGR_FUNC_INIT(glCreateShader, GLCREATESHADER);
18819       EXTMGR_FUNC_INIT(glShaderSource, GLSHADERSOURCE);
18820       EXTMGR_FUNC_INIT(glCompileShader, GLCOMPILESHADER);
18821       EXTMGR_FUNC_INIT(glCreateProgramObject, GLCREATEPROGRAMOBJECT);
18822       EXTMGR_FUNC_INIT(glAttachShader, GLATTACHSHADER);
18823       EXTMGR_FUNC_INIT(glLinkProgram, GLLINKPROGRAM);
18824       EXTMGR_FUNC_INIT(glUseProgram, GLUSEPROGRAM);
18825       EXTMGR_FUNC_INIT(glDeleteProgram, GLDELETEPROGRAM);
18826       EXTMGR_FUNC_INIT(glValidateProgram, GLVALIDATEPROGRAM);
18827       EXTMGR_FUNC_INIT(glUniform1f, GLUNIFORM1F);
18828       EXTMGR_FUNC_INIT(glUniform2f, GLUNIFORM2F);
18829       EXTMGR_FUNC_INIT(glUniform3f, GLUNIFORM3F);
18830       EXTMGR_FUNC_INIT(glUniform4f, GLUNIFORM4F);
18831       EXTMGR_FUNC_INIT(glUniform1i, GLUNIFORM1I);
18832       EXTMGR_FUNC_INIT(glUniform2i, GLUNIFORM2I);
18833       EXTMGR_FUNC_INIT(glUniform3i, GLUNIFORM3I);
18834       EXTMGR_FUNC_INIT(glUniform4i, GLUNIFORM4I);
18835       EXTMGR_FUNC_INIT(glUniform1fv, GLUNIFORM1FV);
18836       EXTMGR_FUNC_INIT(glUniform2fv, GLUNIFORM2FV);
18837       EXTMGR_FUNC_INIT(glUniform3fv, GLUNIFORM3FV);
18838       EXTMGR_FUNC_INIT(glUniform4fv, GLUNIFORM4FV);
18839       EXTMGR_FUNC_INIT(glUniform1iv, GLUNIFORM1IV);
18840       EXTMGR_FUNC_INIT(glUniform2iv, GLUNIFORM2IV);
18841       EXTMGR_FUNC_INIT(glUniform3iv, GLUNIFORM3IV);
18842       EXTMGR_FUNC_INIT(glUniform4iv, GLUNIFORM4IV);
18843       EXTMGR_FUNC_INIT(glUniformMatrix2fv, GLUNIFORMMATRIX2FV);
18844       EXTMGR_FUNC_INIT(glUniformMatrix3fv, GLUNIFORMMATRIX3FV);
18845       EXTMGR_FUNC_INIT(glUniformMatrix4fv, GLUNIFORMMATRIX4FV);
18846       EXTMGR_FUNC_INIT(glGetObjectParameterfv, GLGETOBJECTPARAMETERFV);
18847       EXTMGR_FUNC_INIT(glGetObjectParameteriv, GLGETOBJECTPARAMETERIV);
18848       EXTMGR_FUNC_INIT(glGetInfoLog, GLGETINFOLOG);
18849       EXTMGR_FUNC_INIT(glGetAttachedObjects, GLGETATTACHEDOBJECTS);
18850       EXTMGR_FUNC_INIT(glGetUniformLocation, GLGETUNIFORMLOCATION);
18851       EXTMGR_FUNC_INIT(glGetActiveUniform, GLGETACTIVEUNIFORM);
18852       EXTMGR_FUNC_INIT(glGetUniformfv, GLGETUNIFORMFV);
18853       EXTMGR_FUNC_INIT(glGetUniformiv, GLGETUNIFORMIV);
18854       EXTMGR_FUNC_INIT(glGetShaderSource, GLGETSHADERSOURCE);
18855       EXTMGR_FUNC_INIT(glVertexAttrib1s, GLVERTEXATTRIB1S);
18856       EXTMGR_FUNC_INIT(glVertexAttrib1f, GLVERTEXATTRIB1F);
18857       EXTMGR_FUNC_INIT(glVertexAttrib1d, GLVERTEXATTRIB1D);
18858       EXTMGR_FUNC_INIT(glVertexAttrib2s, GLVERTEXATTRIB2S);
18859       EXTMGR_FUNC_INIT(glVertexAttrib2f, GLVERTEXATTRIB2F);
18860       EXTMGR_FUNC_INIT(glVertexAttrib2d, GLVERTEXATTRIB2D);
18861       EXTMGR_FUNC_INIT(glVertexAttrib3s, GLVERTEXATTRIB3S);
18862       EXTMGR_FUNC_INIT(glVertexAttrib3f, GLVERTEXATTRIB3F);
18863       EXTMGR_FUNC_INIT(glVertexAttrib3d, GLVERTEXATTRIB3D);
18864       EXTMGR_FUNC_INIT(glVertexAttrib4s, GLVERTEXATTRIB4S);
18865       EXTMGR_FUNC_INIT(glVertexAttrib4f, GLVERTEXATTRIB4F);
18866       EXTMGR_FUNC_INIT(glVertexAttrib4d, GLVERTEXATTRIB4D);
18867       EXTMGR_FUNC_INIT(glVertexAttrib4Nub, GLVERTEXATTRIB4NUB);
18868       EXTMGR_FUNC_INIT(glVertexAttrib1sv, GLVERTEXATTRIB1SV);
18869       EXTMGR_FUNC_INIT(glVertexAttrib1fv, GLVERTEXATTRIB1FV);
18870       EXTMGR_FUNC_INIT(glVertexAttrib1dv, GLVERTEXATTRIB1DV);
18871       EXTMGR_FUNC_INIT(glVertexAttrib2sv, GLVERTEXATTRIB2SV);
18872       EXTMGR_FUNC_INIT(glVertexAttrib2fv, GLVERTEXATTRIB2FV);
18873       EXTMGR_FUNC_INIT(glVertexAttrib2dv, GLVERTEXATTRIB2DV);
18874       EXTMGR_FUNC_INIT(glVertexAttrib3sv, GLVERTEXATTRIB3SV);
18875       EXTMGR_FUNC_INIT(glVertexAttrib3fv, GLVERTEXATTRIB3FV);
18876       EXTMGR_FUNC_INIT(glVertexAttrib3dv, GLVERTEXATTRIB3DV);
18877       EXTMGR_FUNC_INIT(glVertexAttrib4bv, GLVERTEXATTRIB4BV);
18878       EXTMGR_FUNC_INIT(glVertexAttrib4sv, GLVERTEXATTRIB4SV);
18879       EXTMGR_FUNC_INIT(glVertexAttrib4iv, GLVERTEXATTRIB4IV);
18880       EXTMGR_FUNC_INIT(glVertexAttrib4ubv, GLVERTEXATTRIB4UBV);
18881       EXTMGR_FUNC_INIT(glVertexAttrib4usv, GLVERTEXATTRIB4USV);
18882       EXTMGR_FUNC_INIT(glVertexAttrib4uiv, GLVERTEXATTRIB4UIV);
18883       EXTMGR_FUNC_INIT(glVertexAttrib4fv, GLVERTEXATTRIB4FV);
18884       EXTMGR_FUNC_INIT(glVertexAttrib4dv, GLVERTEXATTRIB4DV);
18885       EXTMGR_FUNC_INIT(glVertexAttrib4Nbv, GLVERTEXATTRIB4NBV);
18886       EXTMGR_FUNC_INIT(glVertexAttrib4Nsv, GLVERTEXATTRIB4NSV);
18887       EXTMGR_FUNC_INIT(glVertexAttrib4Niv, GLVERTEXATTRIB4NIV);
18888       EXTMGR_FUNC_INIT(glVertexAttrib4Nubv, GLVERTEXATTRIB4NUBV);
18889       EXTMGR_FUNC_INIT(glVertexAttrib4Nusv, GLVERTEXATTRIB4NUSV);
18890       EXTMGR_FUNC_INIT(glVertexAttrib4Nuiv, GLVERTEXATTRIB4NUIV);
18891       EXTMGR_FUNC_INIT(glVertexAttribPointer, GLVERTEXATTRIBPOINTER);
18892       EXTMGR_FUNC_INIT(glEnableVertexAttribArray, GLENABLEVERTEXATTRIBARRAY);
18893       EXTMGR_FUNC_INIT(glDisableVertexAttribArray, GLDISABLEVERTEXATTRIBARRAY);
18894       EXTMGR_FUNC_INIT(glBindAttribLocation, GLBINDATTRIBLOCATION);
18895       EXTMGR_FUNC_INIT(glGetActiveAttrib, GLGETACTIVEATTRIB);
18896       EXTMGR_FUNC_INIT(glGetAttribLocation, GLGETATTRIBLOCATION);
18897       EXTMGR_FUNC_INIT(glGetVertexAttribPointerv, GLGETVERTEXATTRIBPOINTERV);
18898       EXTMGR_FUNC_INIT(glDrawBuffers, GLDRAWBUFFERS);
18899       EXTMGR_FUNC_INIT(glBlendEquationSeparate, GLBLENDEQUATIONSEPARATE);
18900       EXTMGR_FUNC_INIT(glStencilFuncSeparate, GLSTENCILFUNCSEPARATE);
18901       EXTMGR_FUNC_INIT(glStencilOpSeparate, GLSTENCILOPSEPARATE);
18902 
18903       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_0)
18904     }
18905     else
18906     {
18907       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18908     }
18909   }
18910   
18912   void InitGL_version_2_1 ()
18913   {
18914     if (tested_CS_GL_version_2_1) return;
18915     if (!extstrGL) return;
18916     tested_CS_GL_version_2_1 = true;
18917     const char* ext = "GL_version_2_1";
18918     InitGL_version_2_0();
18919     if (!CS_GL_version_2_0)
18920     {
18921       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_version_2_0"));
18922       return;
18923     }
18924     char cfgkey[26 + 14 + 1];
18925     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
18926     
18927     CS_GL_version_2_1 = true;
18928 
18929     bool allclear, funcTest;
18930     (void)funcTest; // shut up "variable unused" warnings
18931     bool init = CS_GL_version_2_1;
18932     allclear = true;
18933     if (init)   // Don't check the functions if ext isn't reported anyway
18934     {
18935       EXTMGR_FUNC_INIT(glUniformMatrix2x3fv, GLUNIFORMMATRIX2X3FV);
18936       EXTMGR_FUNC_INIT(glUniformMatrix3x2fv, GLUNIFORMMATRIX3X2FV);
18937       EXTMGR_FUNC_INIT(glUniformMatrix2x4fv, GLUNIFORMMATRIX2X4FV);
18938       EXTMGR_FUNC_INIT(glUniformMatrix4x2fv, GLUNIFORMMATRIX4X2FV);
18939       EXTMGR_FUNC_INIT(glUniformMatrix3x4fv, GLUNIFORMMATRIX3X4FV);
18940       EXTMGR_FUNC_INIT(glUniformMatrix4x3fv, GLUNIFORMMATRIX4X3FV);
18941 
18942       EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_1)
18943     }
18944     else
18945     {
18946       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
18947     }
18948   }
18949   
18952   void InitQueries ()
18953   {
18954     if (tested_CS_Queries) return;
18955     if (!extstrGL) return;
18956     tested_CS_Queries = true;
18957     const char* ext = "Queries";
18958 
18959     
18960     CS_Queries = true;
18961 
18962     bool allclear, funcTest;
18963     (void)funcTest; // shut up "variable unused" warnings
18964     bool init = CS_Queries;
18965     allclear = true;
18966     if (init)   // Don't check the functions if ext isn't reported anyway
18967     {
18968       EXTMGR_FUNC_INIT(glGenQueriesARB, GLGENQUERIESARB);
18969       EXTMGR_FUNC_INIT(glDeleteQueriesARB, GLDELETEQUERIESARB);
18970       EXTMGR_FUNC_INIT(glIsQueryARB, GLISQUERYARB);
18971       EXTMGR_FUNC_INIT(glBeginQueryARB, GLBEGINQUERYARB);
18972       EXTMGR_FUNC_INIT(glEndQueryARB, GLENDQUERYARB);
18973       EXTMGR_FUNC_INIT(glGetQueryivARB, GLGETQUERYIVARB);
18974       EXTMGR_FUNC_INIT(glGetQueryObjectivARB, GLGETQUERYOBJECTIVARB);
18975       EXTMGR_FUNC_INIT(glGetQueryObjectuivARB, GLGETQUERYOBJECTUIVARB);
18976 
18977       CS_Queries = allclear;
18978       if (CS_Queries)
18979       {
18980         Report (msgExtFoundAndUsed, "pseudo", CS::Quote::Single (ext));
18981       }
18982       else
18983       {
18984         Report (msgExtInitFail, "pseudo", CS::Quote::Single (ext));
18985       }
18986     }
18987     else
18988     {
18989       Report (msgExtNotFound, "pseudo", CS::Quote::Single (ext));
18990     }
18991   }
18992   
18995   void InitQueries64 ()
18996   {
18997     if (tested_CS_Queries64) return;
18998     if (!extstrGL) return;
18999     tested_CS_Queries64 = true;
19000     const char* ext = "Queries64";
19001     InitQueries();
19002     if (!CS_Queries)
19003     {
19004       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("Queries"));
19005       return;
19006     }
19007     
19008     CS_Queries64 = true;
19009 
19010     bool allclear, funcTest;
19011     (void)funcTest; // shut up "variable unused" warnings
19012     bool init = CS_Queries64;
19013     allclear = true;
19014     if (init)   // Don't check the functions if ext isn't reported anyway
19015     {
19016       EXTMGR_FUNC_INIT(glGetQueryObjecti64v, GLGETQUERYOBJECTI64V);
19017       EXTMGR_FUNC_INIT(glGetQueryObjectui64v, GLGETQUERYOBJECTUI64V);
19018 
19019       CS_Queries64 = allclear;
19020       if (CS_Queries64)
19021       {
19022         Report (msgExtFoundAndUsed, "pseudo", CS::Quote::Single (ext));
19023       }
19024       else
19025       {
19026         Report (msgExtInitFail, "pseudo", CS::Quote::Single (ext));
19027       }
19028     }
19029     else
19030     {
19031       Report (msgExtNotFound, "pseudo", CS::Quote::Single (ext));
19032     }
19033   }
19034   
19037   void InitInstancedDrawFuncs ()
19038   {
19039     if (tested_CS_InstancedDrawFuncs) return;
19040     if (!extstrGL) return;
19041     tested_CS_InstancedDrawFuncs = true;
19042     const char* ext = "InstancedDrawFuncs";
19043 
19044     
19045     CS_InstancedDrawFuncs = true;
19046 
19047     bool allclear, funcTest;
19048     (void)funcTest; // shut up "variable unused" warnings
19049     bool init = CS_InstancedDrawFuncs;
19050     allclear = true;
19051     if (init)   // Don't check the functions if ext isn't reported anyway
19052     {
19053       EXTMGR_FUNC_INIT(glDrawArraysInstancedARB, GLDRAWARRAYSINSTANCEDARB);
19054       EXTMGR_FUNC_INIT(glDrawElementsInstancedARB, GLDRAWELEMENTSINSTANCEDARB);
19055 
19056       CS_InstancedDrawFuncs = allclear;
19057       if (CS_InstancedDrawFuncs)
19058       {
19059         Report (msgExtFoundAndUsed, "pseudo", CS::Quote::Single (ext));
19060       }
19061       else
19062       {
19063         Report (msgExtInitFail, "pseudo", CS::Quote::Single (ext));
19064       }
19065     }
19066     else
19067     {
19068       Report (msgExtNotFound, "pseudo", CS::Quote::Single (ext));
19069     }
19070   }
19071   
19074   void InitGL_ARB_imaging ()
19075   {
19076     if (tested_CS_GL_ARB_imaging) return;
19077     if (!extstrGL) return;
19078     tested_CS_GL_ARB_imaging = true;
19079     const char* ext = "GL_ARB_imaging";
19080 
19081     char cfgkey[26 + 14 + 1];
19082     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19083     
19084     CS_GL_ARB_imaging = CheckExtension (extstrGL, ext);
19085 
19086     bool allclear, funcTest;
19087     (void)funcTest; // shut up "variable unused" warnings
19088     bool init = CS_GL_ARB_imaging;
19089     allclear = true;
19090     if (init)   // Don't check the functions if ext isn't reported anyway
19091     {
19092       EXTMGR_FUNC_INIT(glColorTable, GLCOLORTABLE);
19093       EXTMGR_FUNC_INIT(glColorTableParameterfv, GLCOLORTABLEPARAMETERFV);
19094       EXTMGR_FUNC_INIT(glColorTableParameteriv, GLCOLORTABLEPARAMETERIV);
19095       EXTMGR_FUNC_INIT(glCopyColorTable, GLCOPYCOLORTABLE);
19096       EXTMGR_FUNC_INIT(glGetColorTable, GLGETCOLORTABLE);
19097       EXTMGR_FUNC_INIT(glGetColorTableParameterfv, GLGETCOLORTABLEPARAMETERFV);
19098       EXTMGR_FUNC_INIT(glGetColorTableParameteriv, GLGETCOLORTABLEPARAMETERIV);
19099       EXTMGR_FUNC_INIT(glColorSubTable, GLCOLORSUBTABLE);
19100       EXTMGR_FUNC_INIT(glCopyColorSubTable, GLCOPYCOLORSUBTABLE);
19101       EXTMGR_FUNC_INIT(glConvolutionFilter1D, GLCONVOLUTIONFILTER1D);
19102       EXTMGR_FUNC_INIT(glConvolutionFilter2D, GLCONVOLUTIONFILTER2D);
19103       EXTMGR_FUNC_INIT(glConvolutionParameterf, GLCONVOLUTIONPARAMETERF);
19104       EXTMGR_FUNC_INIT(glConvolutionParameterfv, GLCONVOLUTIONPARAMETERFV);
19105       EXTMGR_FUNC_INIT(glConvolutionParameteri, GLCONVOLUTIONPARAMETERI);
19106       EXTMGR_FUNC_INIT(glConvolutionParameteriv, GLCONVOLUTIONPARAMETERIV);
19107       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1D, GLCOPYCONVOLUTIONFILTER1D);
19108       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2D, GLCOPYCONVOLUTIONFILTER2D);
19109       EXTMGR_FUNC_INIT(glGetConvolutionFilter, GLGETCONVOLUTIONFILTER);
19110       EXTMGR_FUNC_INIT(glGetConvolutionParameterfv, GLGETCONVOLUTIONPARAMETERFV);
19111       EXTMGR_FUNC_INIT(glGetConvolutionParameteriv, GLGETCONVOLUTIONPARAMETERIV);
19112       EXTMGR_FUNC_INIT(glGetSeparableFilter, GLGETSEPARABLEFILTER);
19113       EXTMGR_FUNC_INIT(glSeparableFilter2D, GLSEPARABLEFILTER2D);
19114       EXTMGR_FUNC_INIT(glGetHistogram, GLGETHISTOGRAM);
19115       EXTMGR_FUNC_INIT(glGetHistogramParameterfv, GLGETHISTOGRAMPARAMETERFV);
19116       EXTMGR_FUNC_INIT(glGetHistogramParameteriv, GLGETHISTOGRAMPARAMETERIV);
19117       EXTMGR_FUNC_INIT(glGetMinmax, GLGETMINMAX);
19118       EXTMGR_FUNC_INIT(glGetMinmaxParameterfv, GLGETMINMAXPARAMETERFV);
19119       EXTMGR_FUNC_INIT(glGetMinmaxParameteriv, GLGETMINMAXPARAMETERIV);
19120       EXTMGR_FUNC_INIT(glHistogram, GLHISTOGRAM);
19121       EXTMGR_FUNC_INIT(glMinmax, GLMINMAX);
19122       EXTMGR_FUNC_INIT(glResetHistogram, GLRESETHISTOGRAM);
19123       EXTMGR_FUNC_INIT(glResetMinmax, GLRESETMINMAX);
19124       EXTMGR_FUNC_INIT(glBlendColor, GLBLENDCOLOR);
19125       EXTMGR_FUNC_INIT(glBlendEquation, GLBLENDEQUATION);
19126 
19127       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_imaging)
19128     }
19129     else
19130     {
19131       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19132     }
19133   }
19134   
19137   void InitGL_ARB_multitexture ()
19138   {
19139     if (tested_CS_GL_ARB_multitexture) return;
19140     if (!extstrGL) return;
19141     tested_CS_GL_ARB_multitexture = true;
19142     const char* ext = "GL_ARB_multitexture";
19143 
19144     char cfgkey[26 + 19 + 1];
19145     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19146     
19147     CS_GL_ARB_multitexture = CheckExtension (extstrGL, ext);
19148 
19149     bool allclear, funcTest;
19150     (void)funcTest; // shut up "variable unused" warnings
19151     bool init = CS_GL_ARB_multitexture;
19152     allclear = true;
19153     if (init)   // Don't check the functions if ext isn't reported anyway
19154     {
19155       EXTMGR_FUNC_INIT(glActiveTextureARB, GLACTIVETEXTUREARB);
19156       EXTMGR_FUNC_INIT(glClientActiveTextureARB, GLCLIENTACTIVETEXTUREARB);
19157       EXTMGR_FUNC_INIT(glMultiTexCoord1dARB, GLMULTITEXCOORD1DARB);
19158       EXTMGR_FUNC_INIT(glMultiTexCoord1dvARB, GLMULTITEXCOORD1DVARB);
19159       EXTMGR_FUNC_INIT(glMultiTexCoord1fARB, GLMULTITEXCOORD1FARB);
19160       EXTMGR_FUNC_INIT(glMultiTexCoord1fvARB, GLMULTITEXCOORD1FVARB);
19161       EXTMGR_FUNC_INIT(glMultiTexCoord1iARB, GLMULTITEXCOORD1IARB);
19162       EXTMGR_FUNC_INIT(glMultiTexCoord1ivARB, GLMULTITEXCOORD1IVARB);
19163       EXTMGR_FUNC_INIT(glMultiTexCoord1sARB, GLMULTITEXCOORD1SARB);
19164       EXTMGR_FUNC_INIT(glMultiTexCoord1svARB, GLMULTITEXCOORD1SVARB);
19165       EXTMGR_FUNC_INIT(glMultiTexCoord2dARB, GLMULTITEXCOORD2DARB);
19166       EXTMGR_FUNC_INIT(glMultiTexCoord2dvARB, GLMULTITEXCOORD2DVARB);
19167       EXTMGR_FUNC_INIT(glMultiTexCoord2fARB, GLMULTITEXCOORD2FARB);
19168       EXTMGR_FUNC_INIT(glMultiTexCoord2fvARB, GLMULTITEXCOORD2FVARB);
19169       EXTMGR_FUNC_INIT(glMultiTexCoord2iARB, GLMULTITEXCOORD2IARB);
19170       EXTMGR_FUNC_INIT(glMultiTexCoord2ivARB, GLMULTITEXCOORD2IVARB);
19171       EXTMGR_FUNC_INIT(glMultiTexCoord2sARB, GLMULTITEXCOORD2SARB);
19172       EXTMGR_FUNC_INIT(glMultiTexCoord2svARB, GLMULTITEXCOORD2SVARB);
19173       EXTMGR_FUNC_INIT(glMultiTexCoord3dARB, GLMULTITEXCOORD3DARB);
19174       EXTMGR_FUNC_INIT(glMultiTexCoord3dvARB, GLMULTITEXCOORD3DVARB);
19175       EXTMGR_FUNC_INIT(glMultiTexCoord3fARB, GLMULTITEXCOORD3FARB);
19176       EXTMGR_FUNC_INIT(glMultiTexCoord3fvARB, GLMULTITEXCOORD3FVARB);
19177       EXTMGR_FUNC_INIT(glMultiTexCoord3iARB, GLMULTITEXCOORD3IARB);
19178       EXTMGR_FUNC_INIT(glMultiTexCoord3ivARB, GLMULTITEXCOORD3IVARB);
19179       EXTMGR_FUNC_INIT(glMultiTexCoord3sARB, GLMULTITEXCOORD3SARB);
19180       EXTMGR_FUNC_INIT(glMultiTexCoord3svARB, GLMULTITEXCOORD3SVARB);
19181       EXTMGR_FUNC_INIT(glMultiTexCoord4dARB, GLMULTITEXCOORD4DARB);
19182       EXTMGR_FUNC_INIT(glMultiTexCoord4dvARB, GLMULTITEXCOORD4DVARB);
19183       EXTMGR_FUNC_INIT(glMultiTexCoord4fARB, GLMULTITEXCOORD4FARB);
19184       EXTMGR_FUNC_INIT(glMultiTexCoord4fvARB, GLMULTITEXCOORD4FVARB);
19185       EXTMGR_FUNC_INIT(glMultiTexCoord4iARB, GLMULTITEXCOORD4IARB);
19186       EXTMGR_FUNC_INIT(glMultiTexCoord4ivARB, GLMULTITEXCOORD4IVARB);
19187       EXTMGR_FUNC_INIT(glMultiTexCoord4sARB, GLMULTITEXCOORD4SARB);
19188       EXTMGR_FUNC_INIT(glMultiTexCoord4svARB, GLMULTITEXCOORD4SVARB);
19189 
19190       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multitexture)
19191     }
19192     else
19193     {
19194       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19195     }
19196   }
19197   
19200   void InitGL_ARB_transpose_matrix ()
19201   {
19202     if (tested_CS_GL_ARB_transpose_matrix) return;
19203     if (!extstrGL) return;
19204     tested_CS_GL_ARB_transpose_matrix = true;
19205     const char* ext = "GL_ARB_transpose_matrix";
19206 
19207     char cfgkey[26 + 23 + 1];
19208     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19209     
19210     CS_GL_ARB_transpose_matrix = CheckExtension (extstrGL, ext);
19211 
19212     bool allclear, funcTest;
19213     (void)funcTest; // shut up "variable unused" warnings
19214     bool init = CS_GL_ARB_transpose_matrix;
19215     allclear = true;
19216     if (init)   // Don't check the functions if ext isn't reported anyway
19217     {
19218       EXTMGR_FUNC_INIT(glLoadTransposeMatrixfARB, GLLOADTRANSPOSEMATRIXFARB);
19219       EXTMGR_FUNC_INIT(glLoadTransposeMatrixdARB, GLLOADTRANSPOSEMATRIXDARB);
19220       EXTMGR_FUNC_INIT(glMultTransposeMatrixfARB, GLMULTTRANSPOSEMATRIXFARB);
19221       EXTMGR_FUNC_INIT(glMultTransposeMatrixdARB, GLMULTTRANSPOSEMATRIXDARB);
19222 
19223       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_transpose_matrix)
19224     }
19225     else
19226     {
19227       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19228     }
19229   }
19230   
19233   void InitGL_ARB_multisample ()
19234   {
19235     if (tested_CS_GL_ARB_multisample) return;
19236     if (!extstrGL) return;
19237     tested_CS_GL_ARB_multisample = true;
19238     const char* ext = "GL_ARB_multisample";
19239 
19240     char cfgkey[26 + 18 + 1];
19241     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19242     
19243     CS_GL_ARB_multisample = CheckExtension (extstrGL, ext);
19244 
19245     bool allclear, funcTest;
19246     (void)funcTest; // shut up "variable unused" warnings
19247     bool init = CS_GL_ARB_multisample;
19248     allclear = true;
19249     if (init)   // Don't check the functions if ext isn't reported anyway
19250     {
19251       EXTMGR_FUNC_INIT(glSampleCoverageARB, GLSAMPLECOVERAGEARB);
19252 
19253       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multisample)
19254     }
19255     else
19256     {
19257       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19258     }
19259   }
19260   
19261 #if defined(CS_OPENGL_GLX) && defined (CS_GLEXTMANAGER_USE_GLX)
19262 
19264   void InitGLX_ARB_multisample (Display* glxDisplay, int glxScreen)
19265   {
19266     if (tested_CS_GLX_ARB_multisample) return;
19267     tested_CS_GLX_ARB_multisample = true;
19268     const char* ext = "GLX_ARB_multisample";
19269     char cfgkey[26 + 19 + 1];
19270     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19271     
19272     (void)glxDisplay;      // avoid `unused variable' warning.
19273     (void)glxScreen;
19274     SetupGLXextStr (glxDisplay, glxScreen);
19275     if (!extstrGLX) return;
19276     CS_GLX_ARB_multisample = CheckExtension (extstrGLX, ext);
19277 
19278     bool allclear, funcTest;
19279     (void)funcTest; // avoid `unused variable' warning.
19280     bool init = CS_GLX_ARB_multisample;
19281     allclear = true;
19282     if (init)
19283     {
19284 
19285       EXTMGR_REPORT_INIT_RESULT("GLX", GLX_ARB_multisample)
19286       CS_GLX_ARB_multisample &= allclear;
19287     }
19288     else
19289     {
19290       Report (msgExtNotFound, "GLX", CS::Quote::Single (ext));
19291     }
19292   }
19293 #endif
19294 
19297   void InitGL_ARB_texture_env_add ()
19298   {
19299     if (tested_CS_GL_ARB_texture_env_add) return;
19300     if (!extstrGL) return;
19301     tested_CS_GL_ARB_texture_env_add = true;
19302     const char* ext = "GL_ARB_texture_env_add";
19303 
19304     char cfgkey[26 + 22 + 1];
19305     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19306     
19307     CS_GL_ARB_texture_env_add = CheckExtension (extstrGL, ext);
19308 
19309     bool allclear, funcTest;
19310     (void)funcTest; // shut up "variable unused" warnings
19311     bool init = CS_GL_ARB_texture_env_add;
19312     allclear = true;
19313     if (init)   // Don't check the functions if ext isn't reported anyway
19314     {
19315 
19316       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_add)
19317     }
19318     else
19319     {
19320       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19321     }
19322   }
19323   
19324 #ifdef _WIN32
19325 
19327   void InitWGL_ARB_extensions_string (HDC hDC)
19328   {
19329     if (tested_CS_WGL_ARB_extensions_string) return;
19330     tested_CS_WGL_ARB_extensions_string = true;
19331     const char* ext = "WGL_ARB_extensions_string";
19332     char cfgkey[26 + 25 + 1];
19333     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19334     
19335     (void)hDC;      // avoid `unused variable' warning.
19336     CS_WGL_ARB_extensions_string = true;
19337 
19338     bool allclear, funcTest;
19339     (void)funcTest; // avoid `unused variable' warning.
19340     bool init = CS_WGL_ARB_extensions_string;
19341     allclear = true;
19342     if (init)
19343     {
19344       EXTMGR_FUNC_INIT(wglGetExtensionsStringARB, WGLGETEXTENSIONSSTRINGARB);
19345 
19346       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_extensions_string)
19347       CS_WGL_ARB_extensions_string &= allclear;
19348     }
19349     else
19350     {
19351       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
19352     }
19353   }
19354 #endif
19355 
19356 #ifdef _WIN32
19357 
19359   void InitWGL_ARB_buffer_region (HDC hDC)
19360   {
19361     if (tested_CS_WGL_ARB_buffer_region) return;
19362     tested_CS_WGL_ARB_buffer_region = true;
19363     const char* ext = "WGL_ARB_buffer_region";
19364     char cfgkey[26 + 21 + 1];
19365     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19366     
19367     (void)hDC;      // avoid `unused variable' warning.
19368     SetupWGLextStr (hDC);
19369     if (!extstrWGL) return;
19370     CS_WGL_ARB_buffer_region = CheckExtension (extstrWGL, ext);
19371 
19372     bool allclear, funcTest;
19373     (void)funcTest; // avoid `unused variable' warning.
19374     bool init = CS_WGL_ARB_buffer_region;
19375     allclear = true;
19376     if (init)
19377     {
19378       EXTMGR_FUNC_INIT(wglCreateBufferRegionARB, WGLCREATEBUFFERREGIONARB);
19379       EXTMGR_FUNC_INIT(wglDeleteBufferRegionARB, WGLDELETEBUFFERREGIONARB);
19380       EXTMGR_FUNC_INIT(wglSaveBufferRegionARB, WGLSAVEBUFFERREGIONARB);
19381       EXTMGR_FUNC_INIT(wglRestoreBufferRegionARB, WGLRESTOREBUFFERREGIONARB);
19382 
19383       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_buffer_region)
19384       CS_WGL_ARB_buffer_region &= allclear;
19385     }
19386     else
19387     {
19388       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
19389     }
19390   }
19391 #endif
19392 
19395   void InitGL_ARB_texture_cube_map ()
19396   {
19397     if (tested_CS_GL_ARB_texture_cube_map) return;
19398     if (!extstrGL) return;
19399     tested_CS_GL_ARB_texture_cube_map = true;
19400     const char* ext = "GL_ARB_texture_cube_map";
19401 
19402     char cfgkey[26 + 23 + 1];
19403     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19404     
19405     CS_GL_ARB_texture_cube_map = CheckExtension (extstrGL, ext);
19406 
19407     bool allclear, funcTest;
19408     (void)funcTest; // shut up "variable unused" warnings
19409     bool init = CS_GL_ARB_texture_cube_map;
19410     allclear = true;
19411     if (init)   // Don't check the functions if ext isn't reported anyway
19412     {
19413 
19414       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_cube_map)
19415     }
19416     else
19417     {
19418       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19419     }
19420   }
19421   
19424   void InitGL_ARB_depth_texture ()
19425   {
19426     if (tested_CS_GL_ARB_depth_texture) return;
19427     if (!extstrGL) return;
19428     tested_CS_GL_ARB_depth_texture = true;
19429     const char* ext = "GL_ARB_depth_texture";
19430 
19431     char cfgkey[26 + 20 + 1];
19432     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19433     
19434     CS_GL_ARB_depth_texture = CheckExtension (extstrGL, ext);
19435 
19436     bool allclear, funcTest;
19437     (void)funcTest; // shut up "variable unused" warnings
19438     bool init = CS_GL_ARB_depth_texture;
19439     allclear = true;
19440     if (init)   // Don't check the functions if ext isn't reported anyway
19441     {
19442 
19443       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_texture)
19444     }
19445     else
19446     {
19447       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19448     }
19449   }
19450   
19453   void InitGL_ARB_point_parameters ()
19454   {
19455     if (tested_CS_GL_ARB_point_parameters) return;
19456     if (!extstrGL) return;
19457     tested_CS_GL_ARB_point_parameters = true;
19458     const char* ext = "GL_ARB_point_parameters";
19459 
19460     char cfgkey[26 + 23 + 1];
19461     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19462     
19463     CS_GL_ARB_point_parameters = CheckExtension (extstrGL, ext);
19464 
19465     bool allclear, funcTest;
19466     (void)funcTest; // shut up "variable unused" warnings
19467     bool init = CS_GL_ARB_point_parameters;
19468     allclear = true;
19469     if (init)   // Don't check the functions if ext isn't reported anyway
19470     {
19471       EXTMGR_FUNC_INIT(glPointParameterfARB, GLPOINTPARAMETERFARB);
19472       EXTMGR_FUNC_INIT(glPointParameterfvARB, GLPOINTPARAMETERFVARB);
19473 
19474       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_parameters)
19475     }
19476     else
19477     {
19478       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19479     }
19480   }
19481   
19484   void InitGL_ARB_shadow ()
19485   {
19486     if (tested_CS_GL_ARB_shadow) return;
19487     if (!extstrGL) return;
19488     tested_CS_GL_ARB_shadow = true;
19489     const char* ext = "GL_ARB_shadow";
19490 
19491     char cfgkey[26 + 13 + 1];
19492     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19493     
19494     CS_GL_ARB_shadow = CheckExtension (extstrGL, ext);
19495 
19496     bool allclear, funcTest;
19497     (void)funcTest; // shut up "variable unused" warnings
19498     bool init = CS_GL_ARB_shadow;
19499     allclear = true;
19500     if (init)   // Don't check the functions if ext isn't reported anyway
19501     {
19502 
19503       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow)
19504     }
19505     else
19506     {
19507       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19508     }
19509   }
19510   
19513   void InitGL_ARB_shadow_ambient ()
19514   {
19515     if (tested_CS_GL_ARB_shadow_ambient) return;
19516     if (!extstrGL) return;
19517     tested_CS_GL_ARB_shadow_ambient = true;
19518     const char* ext = "GL_ARB_shadow_ambient";
19519 
19520     char cfgkey[26 + 21 + 1];
19521     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19522     
19523     CS_GL_ARB_shadow_ambient = CheckExtension (extstrGL, ext);
19524 
19525     bool allclear, funcTest;
19526     (void)funcTest; // shut up "variable unused" warnings
19527     bool init = CS_GL_ARB_shadow_ambient;
19528     allclear = true;
19529     if (init)   // Don't check the functions if ext isn't reported anyway
19530     {
19531 
19532       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow_ambient)
19533     }
19534     else
19535     {
19536       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19537     }
19538   }
19539   
19542   void InitGL_ARB_texture_border_clamp ()
19543   {
19544     if (tested_CS_GL_ARB_texture_border_clamp) return;
19545     if (!extstrGL) return;
19546     tested_CS_GL_ARB_texture_border_clamp = true;
19547     const char* ext = "GL_ARB_texture_border_clamp";
19548 
19549     char cfgkey[26 + 27 + 1];
19550     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19551     
19552     CS_GL_ARB_texture_border_clamp = CheckExtension (extstrGL, ext);
19553 
19554     bool allclear, funcTest;
19555     (void)funcTest; // shut up "variable unused" warnings
19556     bool init = CS_GL_ARB_texture_border_clamp;
19557     allclear = true;
19558     if (init)   // Don't check the functions if ext isn't reported anyway
19559     {
19560 
19561       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_border_clamp)
19562     }
19563     else
19564     {
19565       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19566     }
19567   }
19568   
19571   void InitGL_ARB_texture_compression ()
19572   {
19573     if (tested_CS_GL_ARB_texture_compression) return;
19574     if (!extstrGL) return;
19575     tested_CS_GL_ARB_texture_compression = true;
19576     const char* ext = "GL_ARB_texture_compression";
19577 
19578     char cfgkey[26 + 26 + 1];
19579     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19580     
19581     CS_GL_ARB_texture_compression = CheckExtension (extstrGL, ext);
19582 
19583     bool allclear, funcTest;
19584     (void)funcTest; // shut up "variable unused" warnings
19585     bool init = CS_GL_ARB_texture_compression;
19586     allclear = true;
19587     if (init)   // Don't check the functions if ext isn't reported anyway
19588     {
19589       EXTMGR_FUNC_INIT(glCompressedTexImage3DARB, GLCOMPRESSEDTEXIMAGE3DARB);
19590       EXTMGR_FUNC_INIT(glCompressedTexImage2DARB, GLCOMPRESSEDTEXIMAGE2DARB);
19591       EXTMGR_FUNC_INIT(glCompressedTexImage1DARB, GLCOMPRESSEDTEXIMAGE1DARB);
19592       EXTMGR_FUNC_INIT(glCompressedTexSubImage3DARB, GLCOMPRESSEDTEXSUBIMAGE3DARB);
19593       EXTMGR_FUNC_INIT(glCompressedTexSubImage2DARB, GLCOMPRESSEDTEXSUBIMAGE2DARB);
19594       EXTMGR_FUNC_INIT(glCompressedTexSubImage1DARB, GLCOMPRESSEDTEXSUBIMAGE1DARB);
19595       EXTMGR_FUNC_INIT(glGetCompressedTexImageARB, GLGETCOMPRESSEDTEXIMAGEARB);
19596 
19597       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression)
19598     }
19599     else
19600     {
19601       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19602     }
19603   }
19604   
19607   void InitGL_ARB_texture_env_combine ()
19608   {
19609     if (tested_CS_GL_ARB_texture_env_combine) return;
19610     if (!extstrGL) return;
19611     tested_CS_GL_ARB_texture_env_combine = true;
19612     const char* ext = "GL_ARB_texture_env_combine";
19613 
19614     char cfgkey[26 + 26 + 1];
19615     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19616     
19617     CS_GL_ARB_texture_env_combine = CheckExtension (extstrGL, ext);
19618 
19619     bool allclear, funcTest;
19620     (void)funcTest; // shut up "variable unused" warnings
19621     bool init = CS_GL_ARB_texture_env_combine;
19622     allclear = true;
19623     if (init)   // Don't check the functions if ext isn't reported anyway
19624     {
19625 
19626       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_combine)
19627     }
19628     else
19629     {
19630       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19631     }
19632   }
19633   
19636   void InitGL_ARB_texture_env_crossbar ()
19637   {
19638     if (tested_CS_GL_ARB_texture_env_crossbar) return;
19639     if (!extstrGL) return;
19640     tested_CS_GL_ARB_texture_env_crossbar = true;
19641     const char* ext = "GL_ARB_texture_env_crossbar";
19642 
19643     char cfgkey[26 + 27 + 1];
19644     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19645     
19646     CS_GL_ARB_texture_env_crossbar = CheckExtension (extstrGL, ext);
19647 
19648     bool allclear, funcTest;
19649     (void)funcTest; // shut up "variable unused" warnings
19650     bool init = CS_GL_ARB_texture_env_crossbar;
19651     allclear = true;
19652     if (init)   // Don't check the functions if ext isn't reported anyway
19653     {
19654 
19655       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_crossbar)
19656     }
19657     else
19658     {
19659       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19660     }
19661   }
19662   
19665   void InitGL_ARB_texture_env_dot3 ()
19666   {
19667     if (tested_CS_GL_ARB_texture_env_dot3) return;
19668     if (!extstrGL) return;
19669     tested_CS_GL_ARB_texture_env_dot3 = true;
19670     const char* ext = "GL_ARB_texture_env_dot3";
19671 
19672     char cfgkey[26 + 23 + 1];
19673     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19674     
19675     CS_GL_ARB_texture_env_dot3 = CheckExtension (extstrGL, ext);
19676 
19677     bool allclear, funcTest;
19678     (void)funcTest; // shut up "variable unused" warnings
19679     bool init = CS_GL_ARB_texture_env_dot3;
19680     allclear = true;
19681     if (init)   // Don't check the functions if ext isn't reported anyway
19682     {
19683 
19684       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_dot3)
19685     }
19686     else
19687     {
19688       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19689     }
19690   }
19691   
19694   void InitGL_ARB_texture_mirrored_repeat ()
19695   {
19696     if (tested_CS_GL_ARB_texture_mirrored_repeat) return;
19697     if (!extstrGL) return;
19698     tested_CS_GL_ARB_texture_mirrored_repeat = true;
19699     const char* ext = "GL_ARB_texture_mirrored_repeat";
19700 
19701     char cfgkey[26 + 30 + 1];
19702     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19703     
19704     CS_GL_ARB_texture_mirrored_repeat = CheckExtension (extstrGL, ext);
19705 
19706     bool allclear, funcTest;
19707     (void)funcTest; // shut up "variable unused" warnings
19708     bool init = CS_GL_ARB_texture_mirrored_repeat;
19709     allclear = true;
19710     if (init)   // Don't check the functions if ext isn't reported anyway
19711     {
19712 
19713       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_mirrored_repeat)
19714     }
19715     else
19716     {
19717       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19718     }
19719   }
19720   
19723   void InitGL_ARB_vertex_blend ()
19724   {
19725     if (tested_CS_GL_ARB_vertex_blend) return;
19726     if (!extstrGL) return;
19727     tested_CS_GL_ARB_vertex_blend = true;
19728     const char* ext = "GL_ARB_vertex_blend";
19729 
19730     char cfgkey[26 + 19 + 1];
19731     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19732     
19733     CS_GL_ARB_vertex_blend = CheckExtension (extstrGL, ext);
19734 
19735     bool allclear, funcTest;
19736     (void)funcTest; // shut up "variable unused" warnings
19737     bool init = CS_GL_ARB_vertex_blend;
19738     allclear = true;
19739     if (init)   // Don't check the functions if ext isn't reported anyway
19740     {
19741       EXTMGR_FUNC_INIT(glWeightbvARB, GLWEIGHTBVARB);
19742       EXTMGR_FUNC_INIT(glWeightsvARB, GLWEIGHTSVARB);
19743       EXTMGR_FUNC_INIT(glWeightivARB, GLWEIGHTIVARB);
19744       EXTMGR_FUNC_INIT(glWeightfvARB, GLWEIGHTFVARB);
19745       EXTMGR_FUNC_INIT(glWeightdvARB, GLWEIGHTDVARB);
19746       EXTMGR_FUNC_INIT(glWeightvARB, GLWEIGHTVARB);
19747       EXTMGR_FUNC_INIT(glWeightubvARB, GLWEIGHTUBVARB);
19748       EXTMGR_FUNC_INIT(glWeightusvARB, GLWEIGHTUSVARB);
19749       EXTMGR_FUNC_INIT(glWeightuivARB, GLWEIGHTUIVARB);
19750       EXTMGR_FUNC_INIT(glWeightPointerARB, GLWEIGHTPOINTERARB);
19751       EXTMGR_FUNC_INIT(glVertexBlendARB, GLVERTEXBLENDARB);
19752 
19753       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_blend)
19754     }
19755     else
19756     {
19757       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19758     }
19759   }
19760   
19763   void InitGL_ARB_vertex_program ()
19764   {
19765     if (tested_CS_GL_ARB_vertex_program) return;
19766     if (!extstrGL) return;
19767     tested_CS_GL_ARB_vertex_program = true;
19768     const char* ext = "GL_ARB_vertex_program";
19769 
19770     char cfgkey[26 + 21 + 1];
19771     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19772     
19773     CS_GL_ARB_vertex_program = CheckExtension (extstrGL, ext);
19774 
19775     bool allclear, funcTest;
19776     (void)funcTest; // shut up "variable unused" warnings
19777     bool init = CS_GL_ARB_vertex_program;
19778     allclear = true;
19779     if (init)   // Don't check the functions if ext isn't reported anyway
19780     {
19781       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
19782       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
19783       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
19784       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
19785       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
19786       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
19787       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
19788       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
19789       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
19790       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
19791       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
19792       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
19793       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
19794       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
19795       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
19796       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
19797       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
19798       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
19799       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
19800       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
19801       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
19802       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
19803       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
19804       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
19805       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
19806       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
19807       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
19808       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
19809       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
19810       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
19811       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
19812       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
19813       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
19814       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
19815       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
19816       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
19817       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
19818       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
19819       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
19820       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
19821       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
19822       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
19823       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
19824       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
19825       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
19826       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
19827       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
19828       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
19829       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
19830       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
19831       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
19832       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
19833       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
19834       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
19835       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
19836       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
19837       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
19838       EXTMGR_FUNC_INIT(glGetVertexAttribdvARB, GLGETVERTEXATTRIBDVARB);
19839       EXTMGR_FUNC_INIT(glGetVertexAttribfvARB, GLGETVERTEXATTRIBFVARB);
19840       EXTMGR_FUNC_INIT(glGetVertexAttribivARB, GLGETVERTEXATTRIBIVARB);
19841       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
19842       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
19843 
19844       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_program)
19845     }
19846     else
19847     {
19848       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19849     }
19850   }
19851   
19854   void InitGL_ARB_window_pos ()
19855   {
19856     if (tested_CS_GL_ARB_window_pos) return;
19857     if (!extstrGL) return;
19858     tested_CS_GL_ARB_window_pos = true;
19859     const char* ext = "GL_ARB_window_pos";
19860 
19861     char cfgkey[26 + 17 + 1];
19862     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19863     
19864     CS_GL_ARB_window_pos = CheckExtension (extstrGL, ext);
19865 
19866     bool allclear, funcTest;
19867     (void)funcTest; // shut up "variable unused" warnings
19868     bool init = CS_GL_ARB_window_pos;
19869     allclear = true;
19870     if (init)   // Don't check the functions if ext isn't reported anyway
19871     {
19872       EXTMGR_FUNC_INIT(glWindowPos2dARB, GLWINDOWPOS2DARB);
19873       EXTMGR_FUNC_INIT(glWindowPos2fARB, GLWINDOWPOS2FARB);
19874       EXTMGR_FUNC_INIT(glWindowPos2iARB, GLWINDOWPOS2IARB);
19875       EXTMGR_FUNC_INIT(glWindowPos2sARB, GLWINDOWPOS2SARB);
19876       EXTMGR_FUNC_INIT(glWindowPos2dvARB, GLWINDOWPOS2DVARB);
19877       EXTMGR_FUNC_INIT(glWindowPos2fvARB, GLWINDOWPOS2FVARB);
19878       EXTMGR_FUNC_INIT(glWindowPos2ivARB, GLWINDOWPOS2IVARB);
19879       EXTMGR_FUNC_INIT(glWindowPos2svARB, GLWINDOWPOS2SVARB);
19880       EXTMGR_FUNC_INIT(glWindowPos3dARB, GLWINDOWPOS3DARB);
19881       EXTMGR_FUNC_INIT(glWindowPos3fARB, GLWINDOWPOS3FARB);
19882       EXTMGR_FUNC_INIT(glWindowPos3iARB, GLWINDOWPOS3IARB);
19883       EXTMGR_FUNC_INIT(glWindowPos3sARB, GLWINDOWPOS3SARB);
19884       EXTMGR_FUNC_INIT(glWindowPos3dvARB, GLWINDOWPOS3DVARB);
19885       EXTMGR_FUNC_INIT(glWindowPos3fvARB, GLWINDOWPOS3FVARB);
19886       EXTMGR_FUNC_INIT(glWindowPos3ivARB, GLWINDOWPOS3IVARB);
19887       EXTMGR_FUNC_INIT(glWindowPos3svARB, GLWINDOWPOS3SVARB);
19888 
19889       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_window_pos)
19890     }
19891     else
19892     {
19893       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19894     }
19895   }
19896   
19899   void InitGL_EXT_422_pixels ()
19900   {
19901     if (tested_CS_GL_EXT_422_pixels) return;
19902     if (!extstrGL) return;
19903     tested_CS_GL_EXT_422_pixels = true;
19904     const char* ext = "GL_EXT_422_pixels";
19905 
19906     char cfgkey[26 + 17 + 1];
19907     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19908     
19909     CS_GL_EXT_422_pixels = CheckExtension (extstrGL, ext);
19910 
19911     bool allclear, funcTest;
19912     (void)funcTest; // shut up "variable unused" warnings
19913     bool init = CS_GL_EXT_422_pixels;
19914     allclear = true;
19915     if (init)   // Don't check the functions if ext isn't reported anyway
19916     {
19917 
19918       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_422_pixels)
19919     }
19920     else
19921     {
19922       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19923     }
19924   }
19925   
19928   void InitGL_EXT_abgr ()
19929   {
19930     if (tested_CS_GL_EXT_abgr) return;
19931     if (!extstrGL) return;
19932     tested_CS_GL_EXT_abgr = true;
19933     const char* ext = "GL_EXT_abgr";
19934 
19935     char cfgkey[26 + 11 + 1];
19936     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19937     
19938     CS_GL_EXT_abgr = CheckExtension (extstrGL, ext);
19939 
19940     bool allclear, funcTest;
19941     (void)funcTest; // shut up "variable unused" warnings
19942     bool init = CS_GL_EXT_abgr;
19943     allclear = true;
19944     if (init)   // Don't check the functions if ext isn't reported anyway
19945     {
19946 
19947       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_abgr)
19948     }
19949     else
19950     {
19951       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19952     }
19953   }
19954   
19957   void InitGL_EXT_bgra ()
19958   {
19959     if (tested_CS_GL_EXT_bgra) return;
19960     if (!extstrGL) return;
19961     tested_CS_GL_EXT_bgra = true;
19962     const char* ext = "GL_EXT_bgra";
19963 
19964     char cfgkey[26 + 11 + 1];
19965     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19966     
19967     CS_GL_EXT_bgra = CheckExtension (extstrGL, ext);
19968 
19969     bool allclear, funcTest;
19970     (void)funcTest; // shut up "variable unused" warnings
19971     bool init = CS_GL_EXT_bgra;
19972     allclear = true;
19973     if (init)   // Don't check the functions if ext isn't reported anyway
19974     {
19975 
19976       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_bgra)
19977     }
19978     else
19979     {
19980       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
19981     }
19982   }
19983   
19986   void InitGL_EXT_blend_color ()
19987   {
19988     if (tested_CS_GL_EXT_blend_color) return;
19989     if (!extstrGL) return;
19990     tested_CS_GL_EXT_blend_color = true;
19991     const char* ext = "GL_EXT_blend_color";
19992 
19993     char cfgkey[26 + 18 + 1];
19994     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
19995     
19996     CS_GL_EXT_blend_color = CheckExtension (extstrGL, ext);
19997 
19998     bool allclear, funcTest;
19999     (void)funcTest; // shut up "variable unused" warnings
20000     bool init = CS_GL_EXT_blend_color;
20001     allclear = true;
20002     if (init)   // Don't check the functions if ext isn't reported anyway
20003     {
20004       EXTMGR_FUNC_INIT(glBlendColorEXT, GLBLENDCOLOREXT);
20005 
20006       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_color)
20007     }
20008     else
20009     {
20010       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20011     }
20012   }
20013   
20016   void InitGL_EXT_blend_func_separate ()
20017   {
20018     if (tested_CS_GL_EXT_blend_func_separate) return;
20019     if (!extstrGL) return;
20020     tested_CS_GL_EXT_blend_func_separate = true;
20021     const char* ext = "GL_EXT_blend_func_separate";
20022 
20023     char cfgkey[26 + 26 + 1];
20024     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20025     
20026     CS_GL_EXT_blend_func_separate = CheckExtension (extstrGL, ext);
20027 
20028     bool allclear, funcTest;
20029     (void)funcTest; // shut up "variable unused" warnings
20030     bool init = CS_GL_EXT_blend_func_separate;
20031     allclear = true;
20032     if (init)   // Don't check the functions if ext isn't reported anyway
20033     {
20034       EXTMGR_FUNC_INIT(glBlendFuncSeparateEXT, GLBLENDFUNCSEPARATEEXT);
20035 
20036       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_func_separate)
20037     }
20038     else
20039     {
20040       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20041     }
20042   }
20043   
20046   void InitGL_EXT_blend_logic_op ()
20047   {
20048     if (tested_CS_GL_EXT_blend_logic_op) return;
20049     if (!extstrGL) return;
20050     tested_CS_GL_EXT_blend_logic_op = true;
20051     const char* ext = "GL_EXT_blend_logic_op";
20052 
20053     char cfgkey[26 + 21 + 1];
20054     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20055     
20056     CS_GL_EXT_blend_logic_op = CheckExtension (extstrGL, ext);
20057 
20058     bool allclear, funcTest;
20059     (void)funcTest; // shut up "variable unused" warnings
20060     bool init = CS_GL_EXT_blend_logic_op;
20061     allclear = true;
20062     if (init)   // Don't check the functions if ext isn't reported anyway
20063     {
20064 
20065       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_logic_op)
20066     }
20067     else
20068     {
20069       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20070     }
20071   }
20072   
20075   void InitGL_EXT_blend_minmax ()
20076   {
20077     if (tested_CS_GL_EXT_blend_minmax) return;
20078     if (!extstrGL) return;
20079     tested_CS_GL_EXT_blend_minmax = true;
20080     const char* ext = "GL_EXT_blend_minmax";
20081 
20082     char cfgkey[26 + 19 + 1];
20083     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20084     
20085     CS_GL_EXT_blend_minmax = CheckExtension (extstrGL, ext);
20086 
20087     bool allclear, funcTest;
20088     (void)funcTest; // shut up "variable unused" warnings
20089     bool init = CS_GL_EXT_blend_minmax;
20090     allclear = true;
20091     if (init)   // Don't check the functions if ext isn't reported anyway
20092     {
20093       EXTMGR_FUNC_INIT(glBlendEquationEXT, GLBLENDEQUATIONEXT);
20094 
20095       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_minmax)
20096     }
20097     else
20098     {
20099       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20100     }
20101   }
20102   
20105   void InitGL_EXT_blend_subtract ()
20106   {
20107     if (tested_CS_GL_EXT_blend_subtract) return;
20108     if (!extstrGL) return;
20109     tested_CS_GL_EXT_blend_subtract = true;
20110     const char* ext = "GL_EXT_blend_subtract";
20111 
20112     char cfgkey[26 + 21 + 1];
20113     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20114     
20115     CS_GL_EXT_blend_subtract = CheckExtension (extstrGL, ext);
20116 
20117     bool allclear, funcTest;
20118     (void)funcTest; // shut up "variable unused" warnings
20119     bool init = CS_GL_EXT_blend_subtract;
20120     allclear = true;
20121     if (init)   // Don't check the functions if ext isn't reported anyway
20122     {
20123 
20124       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_subtract)
20125     }
20126     else
20127     {
20128       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20129     }
20130   }
20131   
20134   void InitGL_EXT_clip_volume_hint ()
20135   {
20136     if (tested_CS_GL_EXT_clip_volume_hint) return;
20137     if (!extstrGL) return;
20138     tested_CS_GL_EXT_clip_volume_hint = true;
20139     const char* ext = "GL_EXT_clip_volume_hint";
20140 
20141     char cfgkey[26 + 23 + 1];
20142     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20143     
20144     CS_GL_EXT_clip_volume_hint = CheckExtension (extstrGL, ext);
20145 
20146     bool allclear, funcTest;
20147     (void)funcTest; // shut up "variable unused" warnings
20148     bool init = CS_GL_EXT_clip_volume_hint;
20149     allclear = true;
20150     if (init)   // Don't check the functions if ext isn't reported anyway
20151     {
20152 
20153       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_clip_volume_hint)
20154     }
20155     else
20156     {
20157       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20158     }
20159   }
20160   
20163   void InitGL_EXT_color_subtable ()
20164   {
20165     if (tested_CS_GL_EXT_color_subtable) return;
20166     if (!extstrGL) return;
20167     tested_CS_GL_EXT_color_subtable = true;
20168     const char* ext = "GL_EXT_color_subtable";
20169 
20170     char cfgkey[26 + 21 + 1];
20171     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20172     
20173     CS_GL_EXT_color_subtable = CheckExtension (extstrGL, ext);
20174 
20175     bool allclear, funcTest;
20176     (void)funcTest; // shut up "variable unused" warnings
20177     bool init = CS_GL_EXT_color_subtable;
20178     allclear = true;
20179     if (init)   // Don't check the functions if ext isn't reported anyway
20180     {
20181       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
20182       EXTMGR_FUNC_INIT(glCopyColorSubTableEXT, GLCOPYCOLORSUBTABLEEXT);
20183 
20184       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_color_subtable)
20185     }
20186     else
20187     {
20188       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20189     }
20190   }
20191   
20194   void InitGL_EXT_compiled_vertex_array ()
20195   {
20196     if (tested_CS_GL_EXT_compiled_vertex_array) return;
20197     if (!extstrGL) return;
20198     tested_CS_GL_EXT_compiled_vertex_array = true;
20199     const char* ext = "GL_EXT_compiled_vertex_array";
20200 
20201     char cfgkey[26 + 28 + 1];
20202     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20203     
20204     CS_GL_EXT_compiled_vertex_array = CheckExtension (extstrGL, ext);
20205 
20206     bool allclear, funcTest;
20207     (void)funcTest; // shut up "variable unused" warnings
20208     bool init = CS_GL_EXT_compiled_vertex_array;
20209     allclear = true;
20210     if (init)   // Don't check the functions if ext isn't reported anyway
20211     {
20212       EXTMGR_FUNC_INIT(glLockArraysEXT, GLLOCKARRAYSEXT);
20213       EXTMGR_FUNC_INIT(glUnlockArraysEXT, GLUNLOCKARRAYSEXT);
20214 
20215       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_compiled_vertex_array)
20216     }
20217     else
20218     {
20219       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20220     }
20221   }
20222   
20225   void InitGL_EXT_convolution ()
20226   {
20227     if (tested_CS_GL_EXT_convolution) return;
20228     if (!extstrGL) return;
20229     tested_CS_GL_EXT_convolution = true;
20230     const char* ext = "GL_EXT_convolution";
20231 
20232     char cfgkey[26 + 18 + 1];
20233     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20234     
20235     CS_GL_EXT_convolution = CheckExtension (extstrGL, ext);
20236 
20237     bool allclear, funcTest;
20238     (void)funcTest; // shut up "variable unused" warnings
20239     bool init = CS_GL_EXT_convolution;
20240     allclear = true;
20241     if (init)   // Don't check the functions if ext isn't reported anyway
20242     {
20243       EXTMGR_FUNC_INIT(glConvolutionFilter1DEXT, GLCONVOLUTIONFILTER1DEXT);
20244       EXTMGR_FUNC_INIT(glConvolutionFilter2DEXT, GLCONVOLUTIONFILTER2DEXT);
20245       EXTMGR_FUNC_INIT(glCopyConvolutionFilter1DEXT, GLCOPYCONVOLUTIONFILTER1DEXT);
20246       EXTMGR_FUNC_INIT(glCopyConvolutionFilter2DEXT, GLCOPYCONVOLUTIONFILTER2DEXT);
20247       EXTMGR_FUNC_INIT(glGetConvolutionFilterEXT, GLGETCONVOLUTIONFILTEREXT);
20248       EXTMGR_FUNC_INIT(glSeparableFilter2DEXT, GLSEPARABLEFILTER2DEXT);
20249       EXTMGR_FUNC_INIT(glGetSeparableFilterEXT, GLGETSEPARABLEFILTEREXT);
20250       EXTMGR_FUNC_INIT(glConvolutionParameteriEXT, GLCONVOLUTIONPARAMETERIEXT);
20251       EXTMGR_FUNC_INIT(glConvolutionParameterivEXT, GLCONVOLUTIONPARAMETERIVEXT);
20252       EXTMGR_FUNC_INIT(glConvolutionParameterfEXT, GLCONVOLUTIONPARAMETERFEXT);
20253       EXTMGR_FUNC_INIT(glConvolutionParameterfvEXT, GLCONVOLUTIONPARAMETERFVEXT);
20254       EXTMGR_FUNC_INIT(glGetConvolutionParameterivEXT, GLGETCONVOLUTIONPARAMETERIVEXT);
20255       EXTMGR_FUNC_INIT(glGetConvolutionParameterfvEXT, GLGETCONVOLUTIONPARAMETERFVEXT);
20256 
20257       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_convolution)
20258     }
20259     else
20260     {
20261       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20262     }
20263   }
20264   
20267   void InitGL_EXT_fog_coord ()
20268   {
20269     if (tested_CS_GL_EXT_fog_coord) return;
20270     if (!extstrGL) return;
20271     tested_CS_GL_EXT_fog_coord = true;
20272     const char* ext = "GL_EXT_fog_coord";
20273 
20274     char cfgkey[26 + 16 + 1];
20275     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20276     
20277     CS_GL_EXT_fog_coord = CheckExtension (extstrGL, ext);
20278 
20279     bool allclear, funcTest;
20280     (void)funcTest; // shut up "variable unused" warnings
20281     bool init = CS_GL_EXT_fog_coord;
20282     allclear = true;
20283     if (init)   // Don't check the functions if ext isn't reported anyway
20284     {
20285       EXTMGR_FUNC_INIT(glFogCoordfEXT, GLFOGCOORDFEXT);
20286       EXTMGR_FUNC_INIT(glFogCoorddEXT, GLFOGCOORDDEXT);
20287       EXTMGR_FUNC_INIT(glFogCoordfvEXT, GLFOGCOORDFVEXT);
20288       EXTMGR_FUNC_INIT(glFogCoorddvEXT, GLFOGCOORDDVEXT);
20289       EXTMGR_FUNC_INIT(glFogCoordPointerEXT, GLFOGCOORDPOINTEREXT);
20290 
20291       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_fog_coord)
20292     }
20293     else
20294     {
20295       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20296     }
20297   }
20298   
20301   void InitGL_EXT_histogram ()
20302   {
20303     if (tested_CS_GL_EXT_histogram) return;
20304     if (!extstrGL) return;
20305     tested_CS_GL_EXT_histogram = true;
20306     const char* ext = "GL_EXT_histogram";
20307 
20308     char cfgkey[26 + 16 + 1];
20309     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20310     
20311     CS_GL_EXT_histogram = CheckExtension (extstrGL, ext);
20312 
20313     bool allclear, funcTest;
20314     (void)funcTest; // shut up "variable unused" warnings
20315     bool init = CS_GL_EXT_histogram;
20316     allclear = true;
20317     if (init)   // Don't check the functions if ext isn't reported anyway
20318     {
20319       EXTMGR_FUNC_INIT(glHistogramEXT, GLHISTOGRAMEXT);
20320       EXTMGR_FUNC_INIT(glResetHistogramEXT, GLRESETHISTOGRAMEXT);
20321       EXTMGR_FUNC_INIT(glGetHistogramEXT, GLGETHISTOGRAMEXT);
20322       EXTMGR_FUNC_INIT(glGetHistogramParameterivEXT, GLGETHISTOGRAMPARAMETERIVEXT);
20323       EXTMGR_FUNC_INIT(glGetHistogramParameterfvEXT, GLGETHISTOGRAMPARAMETERFVEXT);
20324       EXTMGR_FUNC_INIT(glMinmaxEXT, GLMINMAXEXT);
20325       EXTMGR_FUNC_INIT(glResetMinmaxEXT, GLRESETMINMAXEXT);
20326       EXTMGR_FUNC_INIT(glGetMinmaxEXT, GLGETMINMAXEXT);
20327       EXTMGR_FUNC_INIT(glGetMinmaxParameterivEXT, GLGETMINMAXPARAMETERIVEXT);
20328       EXTMGR_FUNC_INIT(glGetMinmaxParameterfvEXT, GLGETMINMAXPARAMETERFVEXT);
20329 
20330       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_histogram)
20331     }
20332     else
20333     {
20334       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20335     }
20336   }
20337   
20340   void InitGL_EXT_multi_draw_arrays ()
20341   {
20342     if (tested_CS_GL_EXT_multi_draw_arrays) return;
20343     if (!extstrGL) return;
20344     tested_CS_GL_EXT_multi_draw_arrays = true;
20345     const char* ext = "GL_EXT_multi_draw_arrays";
20346 
20347     char cfgkey[26 + 24 + 1];
20348     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20349     
20350     CS_GL_EXT_multi_draw_arrays = CheckExtension (extstrGL, ext);
20351 
20352     bool allclear, funcTest;
20353     (void)funcTest; // shut up "variable unused" warnings
20354     bool init = CS_GL_EXT_multi_draw_arrays;
20355     allclear = true;
20356     if (init)   // Don't check the functions if ext isn't reported anyway
20357     {
20358       EXTMGR_FUNC_INIT(glMultiDrawArraysEXT, GLMULTIDRAWARRAYSEXT);
20359       EXTMGR_FUNC_INIT(glMultiDrawElementsEXT, GLMULTIDRAWELEMENTSEXT);
20360 
20361       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_multi_draw_arrays)
20362     }
20363     else
20364     {
20365       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20366     }
20367   }
20368   
20371   void InitGL_EXT_packed_pixels ()
20372   {
20373     if (tested_CS_GL_EXT_packed_pixels) return;
20374     if (!extstrGL) return;
20375     tested_CS_GL_EXT_packed_pixels = true;
20376     const char* ext = "GL_EXT_packed_pixels";
20377 
20378     char cfgkey[26 + 20 + 1];
20379     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20380     
20381     CS_GL_EXT_packed_pixels = CheckExtension (extstrGL, ext);
20382 
20383     bool allclear, funcTest;
20384     (void)funcTest; // shut up "variable unused" warnings
20385     bool init = CS_GL_EXT_packed_pixels;
20386     allclear = true;
20387     if (init)   // Don't check the functions if ext isn't reported anyway
20388     {
20389 
20390       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_pixels)
20391     }
20392     else
20393     {
20394       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20395     }
20396   }
20397   
20400   void InitGL_EXT_paletted_texture ()
20401   {
20402     if (tested_CS_GL_EXT_paletted_texture) return;
20403     if (!extstrGL) return;
20404     tested_CS_GL_EXT_paletted_texture = true;
20405     const char* ext = "GL_EXT_paletted_texture";
20406 
20407     char cfgkey[26 + 23 + 1];
20408     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20409     
20410     CS_GL_EXT_paletted_texture = CheckExtension (extstrGL, ext);
20411 
20412     bool allclear, funcTest;
20413     (void)funcTest; // shut up "variable unused" warnings
20414     bool init = CS_GL_EXT_paletted_texture;
20415     allclear = true;
20416     if (init)   // Don't check the functions if ext isn't reported anyway
20417     {
20418       EXTMGR_FUNC_INIT(glColorTableEXT, GLCOLORTABLEEXT);
20419       EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT);
20420       EXTMGR_FUNC_INIT(glGetColorTableEXT, GLGETCOLORTABLEEXT);
20421       EXTMGR_FUNC_INIT(glGetColorTableParameterivEXT, GLGETCOLORTABLEPARAMETERIVEXT);
20422       EXTMGR_FUNC_INIT(glGetColorTableParameterfvEXT, GLGETCOLORTABLEPARAMETERFVEXT);
20423 
20424       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_paletted_texture)
20425     }
20426     else
20427     {
20428       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20429     }
20430   }
20431   
20434   void InitGL_EXT_point_parameters ()
20435   {
20436     if (tested_CS_GL_EXT_point_parameters) return;
20437     if (!extstrGL) return;
20438     tested_CS_GL_EXT_point_parameters = true;
20439     const char* ext = "GL_EXT_point_parameters";
20440 
20441     char cfgkey[26 + 23 + 1];
20442     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20443     
20444     CS_GL_EXT_point_parameters = CheckExtension (extstrGL, ext);
20445 
20446     bool allclear, funcTest;
20447     (void)funcTest; // shut up "variable unused" warnings
20448     bool init = CS_GL_EXT_point_parameters;
20449     allclear = true;
20450     if (init)   // Don't check the functions if ext isn't reported anyway
20451     {
20452       EXTMGR_FUNC_INIT(glPointParameterfEXT, GLPOINTPARAMETERFEXT);
20453       EXTMGR_FUNC_INIT(glPointParameterfvEXT, GLPOINTPARAMETERFVEXT);
20454 
20455       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_point_parameters)
20456     }
20457     else
20458     {
20459       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20460     }
20461   }
20462   
20465   void InitGL_EXT_polygon_offset ()
20466   {
20467     if (tested_CS_GL_EXT_polygon_offset) return;
20468     if (!extstrGL) return;
20469     tested_CS_GL_EXT_polygon_offset = true;
20470     const char* ext = "GL_EXT_polygon_offset";
20471 
20472     char cfgkey[26 + 21 + 1];
20473     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20474     
20475     CS_GL_EXT_polygon_offset = CheckExtension (extstrGL, ext);
20476 
20477     bool allclear, funcTest;
20478     (void)funcTest; // shut up "variable unused" warnings
20479     bool init = CS_GL_EXT_polygon_offset;
20480     allclear = true;
20481     if (init)   // Don't check the functions if ext isn't reported anyway
20482     {
20483       EXTMGR_FUNC_INIT(glPolygonOffsetEXT, GLPOLYGONOFFSETEXT);
20484 
20485       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_polygon_offset)
20486     }
20487     else
20488     {
20489       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20490     }
20491   }
20492   
20495   void InitGL_EXT_secondary_color ()
20496   {
20497     if (tested_CS_GL_EXT_secondary_color) return;
20498     if (!extstrGL) return;
20499     tested_CS_GL_EXT_secondary_color = true;
20500     const char* ext = "GL_EXT_secondary_color";
20501 
20502     char cfgkey[26 + 22 + 1];
20503     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20504     
20505     CS_GL_EXT_secondary_color = CheckExtension (extstrGL, ext);
20506 
20507     bool allclear, funcTest;
20508     (void)funcTest; // shut up "variable unused" warnings
20509     bool init = CS_GL_EXT_secondary_color;
20510     allclear = true;
20511     if (init)   // Don't check the functions if ext isn't reported anyway
20512     {
20513       EXTMGR_FUNC_INIT(glSecondaryColor3bEXT, GLSECONDARYCOLOR3BEXT);
20514       EXTMGR_FUNC_INIT(glSecondaryColor3sEXT, GLSECONDARYCOLOR3SEXT);
20515       EXTMGR_FUNC_INIT(glSecondaryColor3iEXT, GLSECONDARYCOLOR3IEXT);
20516       EXTMGR_FUNC_INIT(glSecondaryColor3fEXT, GLSECONDARYCOLOR3FEXT);
20517       EXTMGR_FUNC_INIT(glSecondaryColor3dEXT, GLSECONDARYCOLOR3DEXT);
20518       EXTMGR_FUNC_INIT(glSecondaryColor3ubEXT, GLSECONDARYCOLOR3UBEXT);
20519       EXTMGR_FUNC_INIT(glSecondaryColor3usEXT, GLSECONDARYCOLOR3USEXT);
20520       EXTMGR_FUNC_INIT(glSecondaryColor3uiEXT, GLSECONDARYCOLOR3UIEXT);
20521       EXTMGR_FUNC_INIT(glSecondaryColor3bvEXT, GLSECONDARYCOLOR3BVEXT);
20522       EXTMGR_FUNC_INIT(glSecondaryColor3svEXT, GLSECONDARYCOLOR3SVEXT);
20523       EXTMGR_FUNC_INIT(glSecondaryColor3ivEXT, GLSECONDARYCOLOR3IVEXT);
20524       EXTMGR_FUNC_INIT(glSecondaryColor3fvEXT, GLSECONDARYCOLOR3FVEXT);
20525       EXTMGR_FUNC_INIT(glSecondaryColor3dvEXT, GLSECONDARYCOLOR3DVEXT);
20526       EXTMGR_FUNC_INIT(glSecondaryColor3ubvEXT, GLSECONDARYCOLOR3UBVEXT);
20527       EXTMGR_FUNC_INIT(glSecondaryColor3usvEXT, GLSECONDARYCOLOR3USVEXT);
20528       EXTMGR_FUNC_INIT(glSecondaryColor3uivEXT, GLSECONDARYCOLOR3UIVEXT);
20529       EXTMGR_FUNC_INIT(glSecondaryColorPointerEXT, GLSECONDARYCOLORPOINTEREXT);
20530 
20531       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_secondary_color)
20532     }
20533     else
20534     {
20535       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20536     }
20537   }
20538   
20541   void InitGL_EXT_separate_specular_color ()
20542   {
20543     if (tested_CS_GL_EXT_separate_specular_color) return;
20544     if (!extstrGL) return;
20545     tested_CS_GL_EXT_separate_specular_color = true;
20546     const char* ext = "GL_EXT_separate_specular_color";
20547 
20548     char cfgkey[26 + 30 + 1];
20549     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20550     
20551     CS_GL_EXT_separate_specular_color = CheckExtension (extstrGL, ext);
20552 
20553     bool allclear, funcTest;
20554     (void)funcTest; // shut up "variable unused" warnings
20555     bool init = CS_GL_EXT_separate_specular_color;
20556     allclear = true;
20557     if (init)   // Don't check the functions if ext isn't reported anyway
20558     {
20559 
20560       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_separate_specular_color)
20561     }
20562     else
20563     {
20564       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20565     }
20566   }
20567   
20570   void InitGL_EXT_shadow_funcs ()
20571   {
20572     if (tested_CS_GL_EXT_shadow_funcs) return;
20573     if (!extstrGL) return;
20574     tested_CS_GL_EXT_shadow_funcs = true;
20575     const char* ext = "GL_EXT_shadow_funcs";
20576 
20577     char cfgkey[26 + 19 + 1];
20578     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20579     
20580     CS_GL_EXT_shadow_funcs = CheckExtension (extstrGL, ext);
20581 
20582     bool allclear, funcTest;
20583     (void)funcTest; // shut up "variable unused" warnings
20584     bool init = CS_GL_EXT_shadow_funcs;
20585     allclear = true;
20586     if (init)   // Don't check the functions if ext isn't reported anyway
20587     {
20588 
20589       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shadow_funcs)
20590     }
20591     else
20592     {
20593       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20594     }
20595   }
20596   
20599   void InitGL_EXT_shared_texture_palette ()
20600   {
20601     if (tested_CS_GL_EXT_shared_texture_palette) return;
20602     if (!extstrGL) return;
20603     tested_CS_GL_EXT_shared_texture_palette = true;
20604     const char* ext = "GL_EXT_shared_texture_palette";
20605 
20606     char cfgkey[26 + 29 + 1];
20607     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20608     
20609     CS_GL_EXT_shared_texture_palette = CheckExtension (extstrGL, ext);
20610 
20611     bool allclear, funcTest;
20612     (void)funcTest; // shut up "variable unused" warnings
20613     bool init = CS_GL_EXT_shared_texture_palette;
20614     allclear = true;
20615     if (init)   // Don't check the functions if ext isn't reported anyway
20616     {
20617 
20618       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shared_texture_palette)
20619     }
20620     else
20621     {
20622       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20623     }
20624   }
20625   
20628   void InitGL_EXT_stencil_two_side ()
20629   {
20630     if (tested_CS_GL_EXT_stencil_two_side) return;
20631     if (!extstrGL) return;
20632     tested_CS_GL_EXT_stencil_two_side = true;
20633     const char* ext = "GL_EXT_stencil_two_side";
20634 
20635     char cfgkey[26 + 23 + 1];
20636     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20637     
20638     CS_GL_EXT_stencil_two_side = CheckExtension (extstrGL, ext);
20639 
20640     bool allclear, funcTest;
20641     (void)funcTest; // shut up "variable unused" warnings
20642     bool init = CS_GL_EXT_stencil_two_side;
20643     allclear = true;
20644     if (init)   // Don't check the functions if ext isn't reported anyway
20645     {
20646       EXTMGR_FUNC_INIT(glActiveStencilFaceEXT, GLACTIVESTENCILFACEEXT);
20647 
20648       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_two_side)
20649     }
20650     else
20651     {
20652       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20653     }
20654   }
20655   
20658   void InitGL_EXT_stencil_wrap ()
20659   {
20660     if (tested_CS_GL_EXT_stencil_wrap) return;
20661     if (!extstrGL) return;
20662     tested_CS_GL_EXT_stencil_wrap = true;
20663     const char* ext = "GL_EXT_stencil_wrap";
20664 
20665     char cfgkey[26 + 19 + 1];
20666     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20667     
20668     CS_GL_EXT_stencil_wrap = CheckExtension (extstrGL, ext);
20669 
20670     bool allclear, funcTest;
20671     (void)funcTest; // shut up "variable unused" warnings
20672     bool init = CS_GL_EXT_stencil_wrap;
20673     allclear = true;
20674     if (init)   // Don't check the functions if ext isn't reported anyway
20675     {
20676 
20677       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_wrap)
20678     }
20679     else
20680     {
20681       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20682     }
20683   }
20684   
20687   void InitGL_EXT_subtexture ()
20688   {
20689     if (tested_CS_GL_EXT_subtexture) return;
20690     if (!extstrGL) return;
20691     tested_CS_GL_EXT_subtexture = true;
20692     const char* ext = "GL_EXT_subtexture";
20693 
20694     char cfgkey[26 + 17 + 1];
20695     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20696     
20697     CS_GL_EXT_subtexture = CheckExtension (extstrGL, ext);
20698 
20699     bool allclear, funcTest;
20700     (void)funcTest; // shut up "variable unused" warnings
20701     bool init = CS_GL_EXT_subtexture;
20702     allclear = true;
20703     if (init)   // Don't check the functions if ext isn't reported anyway
20704     {
20705       EXTMGR_FUNC_INIT(glTexSubImage1DEXT, GLTEXSUBIMAGE1DEXT);
20706       EXTMGR_FUNC_INIT(glTexSubImage2DEXT, GLTEXSUBIMAGE2DEXT);
20707       EXTMGR_FUNC_INIT(glTexSubImage3DEXT, GLTEXSUBIMAGE3DEXT);
20708 
20709       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_subtexture)
20710     }
20711     else
20712     {
20713       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20714     }
20715   }
20716   
20719   void InitGL_EXT_texture3D ()
20720   {
20721     if (tested_CS_GL_EXT_texture3D) return;
20722     if (!extstrGL) return;
20723     tested_CS_GL_EXT_texture3D = true;
20724     const char* ext = "GL_EXT_texture3D";
20725 
20726     char cfgkey[26 + 16 + 1];
20727     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20728     
20729     CS_GL_EXT_texture3D = CheckExtension (extstrGL, ext);
20730 
20731     bool allclear, funcTest;
20732     (void)funcTest; // shut up "variable unused" warnings
20733     bool init = CS_GL_EXT_texture3D;
20734     allclear = true;
20735     if (init)   // Don't check the functions if ext isn't reported anyway
20736     {
20737       EXTMGR_FUNC_INIT(glTexImage3DEXT, GLTEXIMAGE3DEXT);
20738 
20739       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture3D)
20740     }
20741     else
20742     {
20743       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20744     }
20745   }
20746   
20749   void InitGL_EXT_texture_compression_s3tc ()
20750   {
20751     if (tested_CS_GL_EXT_texture_compression_s3tc) return;
20752     if (!extstrGL) return;
20753     tested_CS_GL_EXT_texture_compression_s3tc = true;
20754     const char* ext = "GL_EXT_texture_compression_s3tc";
20755 
20756     char cfgkey[26 + 31 + 1];
20757     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20758     
20759     CS_GL_EXT_texture_compression_s3tc = CheckExtension (extstrGL, ext);
20760 
20761     bool allclear, funcTest;
20762     (void)funcTest; // shut up "variable unused" warnings
20763     bool init = CS_GL_EXT_texture_compression_s3tc;
20764     allclear = true;
20765     if (init)   // Don't check the functions if ext isn't reported anyway
20766     {
20767 
20768       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_compression_s3tc)
20769     }
20770     else
20771     {
20772       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20773     }
20774   }
20775   
20778   void InitGL_EXT_texture_env_add ()
20779   {
20780     if (tested_CS_GL_EXT_texture_env_add) return;
20781     if (!extstrGL) return;
20782     tested_CS_GL_EXT_texture_env_add = true;
20783     const char* ext = "GL_EXT_texture_env_add";
20784 
20785     char cfgkey[26 + 22 + 1];
20786     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20787     
20788     CS_GL_EXT_texture_env_add = CheckExtension (extstrGL, ext);
20789 
20790     bool allclear, funcTest;
20791     (void)funcTest; // shut up "variable unused" warnings
20792     bool init = CS_GL_EXT_texture_env_add;
20793     allclear = true;
20794     if (init)   // Don't check the functions if ext isn't reported anyway
20795     {
20796 
20797       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_add)
20798     }
20799     else
20800     {
20801       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20802     }
20803   }
20804   
20807   void InitGL_EXT_texture_env_combine ()
20808   {
20809     if (tested_CS_GL_EXT_texture_env_combine) return;
20810     if (!extstrGL) return;
20811     tested_CS_GL_EXT_texture_env_combine = true;
20812     const char* ext = "GL_EXT_texture_env_combine";
20813 
20814     char cfgkey[26 + 26 + 1];
20815     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20816     
20817     CS_GL_EXT_texture_env_combine = CheckExtension (extstrGL, ext);
20818 
20819     bool allclear, funcTest;
20820     (void)funcTest; // shut up "variable unused" warnings
20821     bool init = CS_GL_EXT_texture_env_combine;
20822     allclear = true;
20823     if (init)   // Don't check the functions if ext isn't reported anyway
20824     {
20825 
20826       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_combine)
20827     }
20828     else
20829     {
20830       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20831     }
20832   }
20833   
20836   void InitGL_EXT_texture_env_dot3 ()
20837   {
20838     if (tested_CS_GL_EXT_texture_env_dot3) return;
20839     if (!extstrGL) return;
20840     tested_CS_GL_EXT_texture_env_dot3 = true;
20841     const char* ext = "GL_EXT_texture_env_dot3";
20842 
20843     char cfgkey[26 + 23 + 1];
20844     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20845     
20846     CS_GL_EXT_texture_env_dot3 = CheckExtension (extstrGL, ext);
20847 
20848     bool allclear, funcTest;
20849     (void)funcTest; // shut up "variable unused" warnings
20850     bool init = CS_GL_EXT_texture_env_dot3;
20851     allclear = true;
20852     if (init)   // Don't check the functions if ext isn't reported anyway
20853     {
20854 
20855       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_dot3)
20856     }
20857     else
20858     {
20859       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20860     }
20861   }
20862   
20865   void InitGL_EXT_texture_filter_anisotropic ()
20866   {
20867     if (tested_CS_GL_EXT_texture_filter_anisotropic) return;
20868     if (!extstrGL) return;
20869     tested_CS_GL_EXT_texture_filter_anisotropic = true;
20870     const char* ext = "GL_EXT_texture_filter_anisotropic";
20871 
20872     char cfgkey[26 + 33 + 1];
20873     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20874     
20875     CS_GL_EXT_texture_filter_anisotropic = CheckExtension (extstrGL, ext);
20876 
20877     bool allclear, funcTest;
20878     (void)funcTest; // shut up "variable unused" warnings
20879     bool init = CS_GL_EXT_texture_filter_anisotropic;
20880     allclear = true;
20881     if (init)   // Don't check the functions if ext isn't reported anyway
20882     {
20883 
20884       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_filter_anisotropic)
20885     }
20886     else
20887     {
20888       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20889     }
20890   }
20891   
20894   void InitGL_EXT_texture_lod_bias ()
20895   {
20896     if (tested_CS_GL_EXT_texture_lod_bias) return;
20897     if (!extstrGL) return;
20898     tested_CS_GL_EXT_texture_lod_bias = true;
20899     const char* ext = "GL_EXT_texture_lod_bias";
20900 
20901     char cfgkey[26 + 23 + 1];
20902     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20903     
20904     CS_GL_EXT_texture_lod_bias = CheckExtension (extstrGL, ext);
20905 
20906     bool allclear, funcTest;
20907     (void)funcTest; // shut up "variable unused" warnings
20908     bool init = CS_GL_EXT_texture_lod_bias;
20909     allclear = true;
20910     if (init)   // Don't check the functions if ext isn't reported anyway
20911     {
20912 
20913       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_lod_bias)
20914     }
20915     else
20916     {
20917       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20918     }
20919   }
20920   
20923   void InitGL_EXT_texture_object ()
20924   {
20925     if (tested_CS_GL_EXT_texture_object) return;
20926     if (!extstrGL) return;
20927     tested_CS_GL_EXT_texture_object = true;
20928     const char* ext = "GL_EXT_texture_object";
20929 
20930     char cfgkey[26 + 21 + 1];
20931     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20932     
20933     CS_GL_EXT_texture_object = CheckExtension (extstrGL, ext);
20934 
20935     bool allclear, funcTest;
20936     (void)funcTest; // shut up "variable unused" warnings
20937     bool init = CS_GL_EXT_texture_object;
20938     allclear = true;
20939     if (init)   // Don't check the functions if ext isn't reported anyway
20940     {
20941       EXTMGR_FUNC_INIT(glGenTexturesEXT, GLGENTEXTURESEXT);
20942       EXTMGR_FUNC_INIT(glDeleteTexturesEXT, GLDELETETEXTURESEXT);
20943       EXTMGR_FUNC_INIT(glBindTextureEXT, GLBINDTEXTUREEXT);
20944       EXTMGR_FUNC_INIT(glPrioritizeTexturesEXT, GLPRIORITIZETEXTURESEXT);
20945       EXTMGR_FUNC_INIT(glAreTexturesResidentEXT, GLARETEXTURESRESIDENTEXT);
20946       EXTMGR_FUNC_INIT(glIsTextureEXT, GLISTEXTUREEXT);
20947 
20948       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_object)
20949     }
20950     else
20951     {
20952       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20953     }
20954   }
20955   
20958   void InitGL_EXT_vertex_array ()
20959   {
20960     if (tested_CS_GL_EXT_vertex_array) return;
20961     if (!extstrGL) return;
20962     tested_CS_GL_EXT_vertex_array = true;
20963     const char* ext = "GL_EXT_vertex_array";
20964 
20965     char cfgkey[26 + 19 + 1];
20966     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
20967     
20968     CS_GL_EXT_vertex_array = CheckExtension (extstrGL, ext);
20969 
20970     bool allclear, funcTest;
20971     (void)funcTest; // shut up "variable unused" warnings
20972     bool init = CS_GL_EXT_vertex_array;
20973     allclear = true;
20974     if (init)   // Don't check the functions if ext isn't reported anyway
20975     {
20976       EXTMGR_FUNC_INIT(glArrayElementEXT, GLARRAYELEMENTEXT);
20977       EXTMGR_FUNC_INIT(glDrawArraysEXT, GLDRAWARRAYSEXT);
20978       EXTMGR_FUNC_INIT(glVertexPointerEXT, GLVERTEXPOINTEREXT);
20979       EXTMGR_FUNC_INIT(glNormalPointerEXT, GLNORMALPOINTEREXT);
20980       EXTMGR_FUNC_INIT(glColorPointerEXT, GLCOLORPOINTEREXT);
20981       EXTMGR_FUNC_INIT(glIndexPointerEXT, GLINDEXPOINTEREXT);
20982       EXTMGR_FUNC_INIT(glTexCoordPointerEXT, GLTEXCOORDPOINTEREXT);
20983       EXTMGR_FUNC_INIT(glEdgeFlagPointerEXT, GLEDGEFLAGPOINTEREXT);
20984       EXTMGR_FUNC_INIT(glGetPointervEXT, GLGETPOINTERVEXT);
20985 
20986       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_array)
20987     }
20988     else
20989     {
20990       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
20991     }
20992   }
20993   
20996   void InitGL_EXT_vertex_shader ()
20997   {
20998     if (tested_CS_GL_EXT_vertex_shader) return;
20999     if (!extstrGL) return;
21000     tested_CS_GL_EXT_vertex_shader = true;
21001     const char* ext = "GL_EXT_vertex_shader";
21002 
21003     char cfgkey[26 + 20 + 1];
21004     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21005     
21006     CS_GL_EXT_vertex_shader = CheckExtension (extstrGL, ext);
21007 
21008     bool allclear, funcTest;
21009     (void)funcTest; // shut up "variable unused" warnings
21010     bool init = CS_GL_EXT_vertex_shader;
21011     allclear = true;
21012     if (init)   // Don't check the functions if ext isn't reported anyway
21013     {
21014       EXTMGR_FUNC_INIT(glBeginVertexShaderEXT, GLBEGINVERTEXSHADEREXT);
21015       EXTMGR_FUNC_INIT(glEndVertexShaderEXT, GLENDVERTEXSHADEREXT);
21016       EXTMGR_FUNC_INIT(glBindVertexShaderEXT, GLBINDVERTEXSHADEREXT);
21017       EXTMGR_FUNC_INIT(glGenVertexShadersEXT, GLGENVERTEXSHADERSEXT);
21018       EXTMGR_FUNC_INIT(glDeleteVertexShaderEXT, GLDELETEVERTEXSHADEREXT);
21019       EXTMGR_FUNC_INIT(glShaderOp1EXT, GLSHADEROP1EXT);
21020       EXTMGR_FUNC_INIT(glShaderOp2EXT, GLSHADEROP2EXT);
21021       EXTMGR_FUNC_INIT(glShaderOp3EXT, GLSHADEROP3EXT);
21022       EXTMGR_FUNC_INIT(glSwizzleEXT, GLSWIZZLEEXT);
21023       EXTMGR_FUNC_INIT(glWriteMaskEXT, GLWRITEMASKEXT);
21024       EXTMGR_FUNC_INIT(glInsertComponentEXT, GLINSERTCOMPONENTEXT);
21025       EXTMGR_FUNC_INIT(glExtractComponentEXT, GLEXTRACTCOMPONENTEXT);
21026       EXTMGR_FUNC_INIT(glGenSymbolsEXT, GLGENSYMBOLSEXT);
21027       EXTMGR_FUNC_INIT(glSetInvariantEXT, GLSETINVARIANTEXT);
21028       EXTMGR_FUNC_INIT(glSetLocalConstantEXT, GLSETLOCALCONSTANTEXT);
21029       EXTMGR_FUNC_INIT(glVariantbvEXT, GLVARIANTBVEXT);
21030       EXTMGR_FUNC_INIT(glVariantsvEXT, GLVARIANTSVEXT);
21031       EXTMGR_FUNC_INIT(glVariantivEXT, GLVARIANTIVEXT);
21032       EXTMGR_FUNC_INIT(glVariantfvEXT, GLVARIANTFVEXT);
21033       EXTMGR_FUNC_INIT(glVariantdvEXT, GLVARIANTDVEXT);
21034       EXTMGR_FUNC_INIT(glVariantubvEXT, GLVARIANTUBVEXT);
21035       EXTMGR_FUNC_INIT(glVariantusvEXT, GLVARIANTUSVEXT);
21036       EXTMGR_FUNC_INIT(glVariantuivEXT, GLVARIANTUIVEXT);
21037       EXTMGR_FUNC_INIT(glVariantPointerEXT, GLVARIANTPOINTEREXT);
21038       EXTMGR_FUNC_INIT(glEnableVariantClientStateEXT, GLENABLEVARIANTCLIENTSTATEEXT);
21039       EXTMGR_FUNC_INIT(glDisableVariantClientStateEXT, GLDISABLEVARIANTCLIENTSTATEEXT);
21040       EXTMGR_FUNC_INIT(glBindLightParameterEXT, GLBINDLIGHTPARAMETEREXT);
21041       EXTMGR_FUNC_INIT(glBindMaterialParameterEXT, GLBINDMATERIALPARAMETEREXT);
21042       EXTMGR_FUNC_INIT(glBindTexGenParameterEXT, GLBINDTEXGENPARAMETEREXT);
21043       EXTMGR_FUNC_INIT(glBindTextureUnitParameterEXT, GLBINDTEXTUREUNITPARAMETEREXT);
21044       EXTMGR_FUNC_INIT(glBindParameterEXT, GLBINDPARAMETEREXT);
21045       EXTMGR_FUNC_INIT(glIsVariantEnabledEXT, GLISVARIANTENABLEDEXT);
21046       EXTMGR_FUNC_INIT(glGetVariantBooleanvEXT, GLGETVARIANTBOOLEANVEXT);
21047       EXTMGR_FUNC_INIT(glGetVariantIntegervEXT, GLGETVARIANTINTEGERVEXT);
21048       EXTMGR_FUNC_INIT(glGetVariantFloatvEXT, GLGETVARIANTFLOATVEXT);
21049       EXTMGR_FUNC_INIT(glGetVariantPointervEXT, GLGETVARIANTPOINTERVEXT);
21050       EXTMGR_FUNC_INIT(glGetInvariantBooleanvEXT, GLGETINVARIANTBOOLEANVEXT);
21051       EXTMGR_FUNC_INIT(glGetInvariantIntegervEXT, GLGETINVARIANTINTEGERVEXT);
21052       EXTMGR_FUNC_INIT(glGetInvariantFloatvEXT, GLGETINVARIANTFLOATVEXT);
21053       EXTMGR_FUNC_INIT(glGetLocalConstantBooleanvEXT, GLGETLOCALCONSTANTBOOLEANVEXT);
21054       EXTMGR_FUNC_INIT(glGetLocalConstantIntegervEXT, GLGETLOCALCONSTANTINTEGERVEXT);
21055       EXTMGR_FUNC_INIT(glGetLocalConstantFloatvEXT, GLGETLOCALCONSTANTFLOATVEXT);
21056 
21057       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_shader)
21058     }
21059     else
21060     {
21061       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21062     }
21063   }
21064   
21067   void InitGL_EXT_vertex_weighting ()
21068   {
21069     if (tested_CS_GL_EXT_vertex_weighting) return;
21070     if (!extstrGL) return;
21071     tested_CS_GL_EXT_vertex_weighting = true;
21072     const char* ext = "GL_EXT_vertex_weighting";
21073 
21074     char cfgkey[26 + 23 + 1];
21075     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21076     
21077     CS_GL_EXT_vertex_weighting = CheckExtension (extstrGL, ext);
21078 
21079     bool allclear, funcTest;
21080     (void)funcTest; // shut up "variable unused" warnings
21081     bool init = CS_GL_EXT_vertex_weighting;
21082     allclear = true;
21083     if (init)   // Don't check the functions if ext isn't reported anyway
21084     {
21085       EXTMGR_FUNC_INIT(glVertexWeightfEXT, GLVERTEXWEIGHTFEXT);
21086       EXTMGR_FUNC_INIT(glVertexWeightfvEXT, GLVERTEXWEIGHTFVEXT);
21087       EXTMGR_FUNC_INIT(glVertexWeightPointerEXT, GLVERTEXWEIGHTPOINTEREXT);
21088 
21089       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_weighting)
21090     }
21091     else
21092     {
21093       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21094     }
21095   }
21096   
21099   void InitGL_HP_occlusion_test ()
21100   {
21101     if (tested_CS_GL_HP_occlusion_test) return;
21102     if (!extstrGL) return;
21103     tested_CS_GL_HP_occlusion_test = true;
21104     const char* ext = "GL_HP_occlusion_test";
21105 
21106     char cfgkey[26 + 20 + 1];
21107     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21108     
21109     CS_GL_HP_occlusion_test = CheckExtension (extstrGL, ext);
21110 
21111     bool allclear, funcTest;
21112     (void)funcTest; // shut up "variable unused" warnings
21113     bool init = CS_GL_HP_occlusion_test;
21114     allclear = true;
21115     if (init)   // Don't check the functions if ext isn't reported anyway
21116     {
21117 
21118       EXTMGR_REPORT_INIT_RESULT("GL", GL_HP_occlusion_test)
21119     }
21120     else
21121     {
21122       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21123     }
21124   }
21125   
21128   void InitGL_NV_blend_square ()
21129   {
21130     if (tested_CS_GL_NV_blend_square) return;
21131     if (!extstrGL) return;
21132     tested_CS_GL_NV_blend_square = true;
21133     const char* ext = "GL_NV_blend_square";
21134 
21135     char cfgkey[26 + 18 + 1];
21136     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21137     
21138     CS_GL_NV_blend_square = CheckExtension (extstrGL, ext);
21139 
21140     bool allclear, funcTest;
21141     (void)funcTest; // shut up "variable unused" warnings
21142     bool init = CS_GL_NV_blend_square;
21143     allclear = true;
21144     if (init)   // Don't check the functions if ext isn't reported anyway
21145     {
21146 
21147       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_blend_square)
21148     }
21149     else
21150     {
21151       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21152     }
21153   }
21154   
21157   void InitGL_NV_copy_depth_to_color ()
21158   {
21159     if (tested_CS_GL_NV_copy_depth_to_color) return;
21160     if (!extstrGL) return;
21161     tested_CS_GL_NV_copy_depth_to_color = true;
21162     const char* ext = "GL_NV_copy_depth_to_color";
21163 
21164     char cfgkey[26 + 25 + 1];
21165     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21166     
21167     CS_GL_NV_copy_depth_to_color = CheckExtension (extstrGL, ext);
21168 
21169     bool allclear, funcTest;
21170     (void)funcTest; // shut up "variable unused" warnings
21171     bool init = CS_GL_NV_copy_depth_to_color;
21172     allclear = true;
21173     if (init)   // Don't check the functions if ext isn't reported anyway
21174     {
21175 
21176       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_copy_depth_to_color)
21177     }
21178     else
21179     {
21180       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21181     }
21182   }
21183   
21186   void InitGL_NV_depth_clamp ()
21187   {
21188     if (tested_CS_GL_NV_depth_clamp) return;
21189     if (!extstrGL) return;
21190     tested_CS_GL_NV_depth_clamp = true;
21191     const char* ext = "GL_NV_depth_clamp";
21192 
21193     char cfgkey[26 + 17 + 1];
21194     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21195     
21196     CS_GL_NV_depth_clamp = CheckExtension (extstrGL, ext);
21197 
21198     bool allclear, funcTest;
21199     (void)funcTest; // shut up "variable unused" warnings
21200     bool init = CS_GL_NV_depth_clamp;
21201     allclear = true;
21202     if (init)   // Don't check the functions if ext isn't reported anyway
21203     {
21204 
21205       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_depth_clamp)
21206     }
21207     else
21208     {
21209       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21210     }
21211   }
21212   
21215   void InitGL_NV_evaluators ()
21216   {
21217     if (tested_CS_GL_NV_evaluators) return;
21218     if (!extstrGL) return;
21219     tested_CS_GL_NV_evaluators = true;
21220     const char* ext = "GL_NV_evaluators";
21221 
21222     char cfgkey[26 + 16 + 1];
21223     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21224     
21225     CS_GL_NV_evaluators = CheckExtension (extstrGL, ext);
21226 
21227     bool allclear, funcTest;
21228     (void)funcTest; // shut up "variable unused" warnings
21229     bool init = CS_GL_NV_evaluators;
21230     allclear = true;
21231     if (init)   // Don't check the functions if ext isn't reported anyway
21232     {
21233       EXTMGR_FUNC_INIT(glMapControlPointsNV, GLMAPCONTROLPOINTSNV);
21234       EXTMGR_FUNC_INIT(glMapParameterivNV, GLMAPPARAMETERIVNV);
21235       EXTMGR_FUNC_INIT(glMapParameterfvNV, GLMAPPARAMETERFVNV);
21236       EXTMGR_FUNC_INIT(glGetMapControlPointsNV, GLGETMAPCONTROLPOINTSNV);
21237       EXTMGR_FUNC_INIT(glGetMapParameterivNV, GLGETMAPPARAMETERIVNV);
21238       EXTMGR_FUNC_INIT(glGetMapParameterfvNV, GLGETMAPPARAMETERFVNV);
21239       EXTMGR_FUNC_INIT(glGetMapAttribParameterivNV, GLGETMAPATTRIBPARAMETERIVNV);
21240       EXTMGR_FUNC_INIT(glGetMapAttribParameterfvNV, GLGETMAPATTRIBPARAMETERFVNV);
21241       EXTMGR_FUNC_INIT(glEvalMapsNV, GLEVALMAPSNV);
21242 
21243       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_evaluators)
21244     }
21245     else
21246     {
21247       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21248     }
21249   }
21250   
21253   void InitGL_NV_fence ()
21254   {
21255     if (tested_CS_GL_NV_fence) return;
21256     if (!extstrGL) return;
21257     tested_CS_GL_NV_fence = true;
21258     const char* ext = "GL_NV_fence";
21259 
21260     char cfgkey[26 + 11 + 1];
21261     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21262     
21263     CS_GL_NV_fence = CheckExtension (extstrGL, ext);
21264 
21265     bool allclear, funcTest;
21266     (void)funcTest; // shut up "variable unused" warnings
21267     bool init = CS_GL_NV_fence;
21268     allclear = true;
21269     if (init)   // Don't check the functions if ext isn't reported anyway
21270     {
21271       EXTMGR_FUNC_INIT(glGenFencesNV, GLGENFENCESNV);
21272       EXTMGR_FUNC_INIT(glDeleteFencesNV, GLDELETEFENCESNV);
21273       EXTMGR_FUNC_INIT(glSetFenceNV, GLSETFENCENV);
21274       EXTMGR_FUNC_INIT(glTestFenceNV, GLTESTFENCENV);
21275       EXTMGR_FUNC_INIT(glFinishFenceNV, GLFINISHFENCENV);
21276       EXTMGR_FUNC_INIT(glIsFenceNV, GLISFENCENV);
21277       EXTMGR_FUNC_INIT(glGetFenceivNV, GLGETFENCEIVNV);
21278 
21279       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fence)
21280     }
21281     else
21282     {
21283       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21284     }
21285   }
21286   
21289   void InitGL_NV_fog_distance ()
21290   {
21291     if (tested_CS_GL_NV_fog_distance) return;
21292     if (!extstrGL) return;
21293     tested_CS_GL_NV_fog_distance = true;
21294     const char* ext = "GL_NV_fog_distance";
21295 
21296     char cfgkey[26 + 18 + 1];
21297     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21298     
21299     CS_GL_NV_fog_distance = CheckExtension (extstrGL, ext);
21300 
21301     bool allclear, funcTest;
21302     (void)funcTest; // shut up "variable unused" warnings
21303     bool init = CS_GL_NV_fog_distance;
21304     allclear = true;
21305     if (init)   // Don't check the functions if ext isn't reported anyway
21306     {
21307 
21308       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fog_distance)
21309     }
21310     else
21311     {
21312       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21313     }
21314   }
21315   
21318   void InitGL_NV_light_max_exponent ()
21319   {
21320     if (tested_CS_GL_NV_light_max_exponent) return;
21321     if (!extstrGL) return;
21322     tested_CS_GL_NV_light_max_exponent = true;
21323     const char* ext = "GL_NV_light_max_exponent";
21324 
21325     char cfgkey[26 + 24 + 1];
21326     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21327     
21328     CS_GL_NV_light_max_exponent = CheckExtension (extstrGL, ext);
21329 
21330     bool allclear, funcTest;
21331     (void)funcTest; // shut up "variable unused" warnings
21332     bool init = CS_GL_NV_light_max_exponent;
21333     allclear = true;
21334     if (init)   // Don't check the functions if ext isn't reported anyway
21335     {
21336 
21337       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_light_max_exponent)
21338     }
21339     else
21340     {
21341       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21342     }
21343   }
21344   
21347   void InitGL_NV_multisample_filter_hint ()
21348   {
21349     if (tested_CS_GL_NV_multisample_filter_hint) return;
21350     if (!extstrGL) return;
21351     tested_CS_GL_NV_multisample_filter_hint = true;
21352     const char* ext = "GL_NV_multisample_filter_hint";
21353 
21354     char cfgkey[26 + 29 + 1];
21355     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21356     
21357     CS_GL_NV_multisample_filter_hint = CheckExtension (extstrGL, ext);
21358 
21359     bool allclear, funcTest;
21360     (void)funcTest; // shut up "variable unused" warnings
21361     bool init = CS_GL_NV_multisample_filter_hint;
21362     allclear = true;
21363     if (init)   // Don't check the functions if ext isn't reported anyway
21364     {
21365 
21366       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_multisample_filter_hint)
21367     }
21368     else
21369     {
21370       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21371     }
21372   }
21373   
21376   void InitGL_NV_occlusion_query ()
21377   {
21378     if (tested_CS_GL_NV_occlusion_query) return;
21379     if (!extstrGL) return;
21380     tested_CS_GL_NV_occlusion_query = true;
21381     const char* ext = "GL_NV_occlusion_query";
21382 
21383     char cfgkey[26 + 21 + 1];
21384     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21385     
21386     CS_GL_NV_occlusion_query = CheckExtension (extstrGL, ext);
21387 
21388     bool allclear, funcTest;
21389     (void)funcTest; // shut up "variable unused" warnings
21390     bool init = CS_GL_NV_occlusion_query;
21391     allclear = true;
21392     if (init)   // Don't check the functions if ext isn't reported anyway
21393     {
21394       EXTMGR_FUNC_INIT(glGenOcclusionQueriesNV, GLGENOCCLUSIONQUERIESNV);
21395       EXTMGR_FUNC_INIT(glDeleteOcclusionQueriesNV, GLDELETEOCCLUSIONQUERIESNV);
21396       EXTMGR_FUNC_INIT(glIsOcclusionQueryNV, GLISOCCLUSIONQUERYNV);
21397       EXTMGR_FUNC_INIT(glBeginOcclusionQueryNV, GLBEGINOCCLUSIONQUERYNV);
21398       EXTMGR_FUNC_INIT(glEndOcclusionQueryNV, GLENDOCCLUSIONQUERYNV);
21399       EXTMGR_FUNC_INIT(glGetOcclusionQueryivNV, GLGETOCCLUSIONQUERYIVNV);
21400       EXTMGR_FUNC_INIT(glGetOcclusionQueryuivNV, GLGETOCCLUSIONQUERYUIVNV);
21401 
21402       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_occlusion_query)
21403     }
21404     else
21405     {
21406       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21407     }
21408   }
21409   
21412   void InitGL_NV_packed_depth_stencil ()
21413   {
21414     if (tested_CS_GL_NV_packed_depth_stencil) return;
21415     if (!extstrGL) return;
21416     tested_CS_GL_NV_packed_depth_stencil = true;
21417     const char* ext = "GL_NV_packed_depth_stencil";
21418 
21419     char cfgkey[26 + 26 + 1];
21420     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21421     
21422     CS_GL_NV_packed_depth_stencil = CheckExtension (extstrGL, ext);
21423 
21424     bool allclear, funcTest;
21425     (void)funcTest; // shut up "variable unused" warnings
21426     bool init = CS_GL_NV_packed_depth_stencil;
21427     allclear = true;
21428     if (init)   // Don't check the functions if ext isn't reported anyway
21429     {
21430 
21431       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_packed_depth_stencil)
21432     }
21433     else
21434     {
21435       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21436     }
21437   }
21438   
21441   void InitGL_NV_point_sprite ()
21442   {
21443     if (tested_CS_GL_NV_point_sprite) return;
21444     if (!extstrGL) return;
21445     tested_CS_GL_NV_point_sprite = true;
21446     const char* ext = "GL_NV_point_sprite";
21447 
21448     char cfgkey[26 + 18 + 1];
21449     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21450     
21451     CS_GL_NV_point_sprite = CheckExtension (extstrGL, ext);
21452 
21453     bool allclear, funcTest;
21454     (void)funcTest; // shut up "variable unused" warnings
21455     bool init = CS_GL_NV_point_sprite;
21456     allclear = true;
21457     if (init)   // Don't check the functions if ext isn't reported anyway
21458     {
21459       EXTMGR_FUNC_INIT(glPointParameteriNV, GLPOINTPARAMETERINV);
21460       EXTMGR_FUNC_INIT(glPointParameterivNV, GLPOINTPARAMETERIVNV);
21461 
21462       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_point_sprite)
21463     }
21464     else
21465     {
21466       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21467     }
21468   }
21469   
21472   void InitGL_NV_register_combiners ()
21473   {
21474     if (tested_CS_GL_NV_register_combiners) return;
21475     if (!extstrGL) return;
21476     tested_CS_GL_NV_register_combiners = true;
21477     const char* ext = "GL_NV_register_combiners";
21478 
21479     char cfgkey[26 + 24 + 1];
21480     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21481     
21482     CS_GL_NV_register_combiners = CheckExtension (extstrGL, ext);
21483 
21484     bool allclear, funcTest;
21485     (void)funcTest; // shut up "variable unused" warnings
21486     bool init = CS_GL_NV_register_combiners;
21487     allclear = true;
21488     if (init)   // Don't check the functions if ext isn't reported anyway
21489     {
21490       EXTMGR_FUNC_INIT(glCombinerParameterfvNV, GLCOMBINERPARAMETERFVNV);
21491       EXTMGR_FUNC_INIT(glCombinerParameterivNV, GLCOMBINERPARAMETERIVNV);
21492       EXTMGR_FUNC_INIT(glCombinerParameterfNV, GLCOMBINERPARAMETERFNV);
21493       EXTMGR_FUNC_INIT(glCombinerParameteriNV, GLCOMBINERPARAMETERINV);
21494       EXTMGR_FUNC_INIT(glCombinerInputNV, GLCOMBINERINPUTNV);
21495       EXTMGR_FUNC_INIT(glCombinerOutputNV, GLCOMBINEROUTPUTNV);
21496       EXTMGR_FUNC_INIT(glFinalCombinerInputNV, GLFINALCOMBINERINPUTNV);
21497       EXTMGR_FUNC_INIT(glGetCombinerInputParameterfvNV, GLGETCOMBINERINPUTPARAMETERFVNV);
21498       EXTMGR_FUNC_INIT(glGetCombinerInputParameterivNV, GLGETCOMBINERINPUTPARAMETERIVNV);
21499       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterfvNV, GLGETCOMBINEROUTPUTPARAMETERFVNV);
21500       EXTMGR_FUNC_INIT(glGetCombinerOutputParameterivNV, GLGETCOMBINEROUTPUTPARAMETERIVNV);
21501       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterfvNV, GLGETFINALCOMBINERINPUTPARAMETERFVNV);
21502       EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterivNV, GLGETFINALCOMBINERINPUTPARAMETERIVNV);
21503 
21504       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners)
21505     }
21506     else
21507     {
21508       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21509     }
21510   }
21511   
21514   void InitGL_NV_register_combiners2 ()
21515   {
21516     if (tested_CS_GL_NV_register_combiners2) return;
21517     if (!extstrGL) return;
21518     tested_CS_GL_NV_register_combiners2 = true;
21519     const char* ext = "GL_NV_register_combiners2";
21520 
21521     char cfgkey[26 + 25 + 1];
21522     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21523     
21524     CS_GL_NV_register_combiners2 = CheckExtension (extstrGL, ext);
21525 
21526     bool allclear, funcTest;
21527     (void)funcTest; // shut up "variable unused" warnings
21528     bool init = CS_GL_NV_register_combiners2;
21529     allclear = true;
21530     if (init)   // Don't check the functions if ext isn't reported anyway
21531     {
21532       EXTMGR_FUNC_INIT(glCombinerStageParameterfvNV, GLCOMBINERSTAGEPARAMETERFVNV);
21533       EXTMGR_FUNC_INIT(glGetCombinerStageParameterfvNV, GLGETCOMBINERSTAGEPARAMETERFVNV);
21534 
21535       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners2)
21536     }
21537     else
21538     {
21539       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21540     }
21541   }
21542   
21545   void InitGL_NV_texgen_emboss ()
21546   {
21547     if (tested_CS_GL_NV_texgen_emboss) return;
21548     if (!extstrGL) return;
21549     tested_CS_GL_NV_texgen_emboss = true;
21550     const char* ext = "GL_NV_texgen_emboss";
21551 
21552     char cfgkey[26 + 19 + 1];
21553     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21554     
21555     CS_GL_NV_texgen_emboss = CheckExtension (extstrGL, ext);
21556 
21557     bool allclear, funcTest;
21558     (void)funcTest; // shut up "variable unused" warnings
21559     bool init = CS_GL_NV_texgen_emboss;
21560     allclear = true;
21561     if (init)   // Don't check the functions if ext isn't reported anyway
21562     {
21563 
21564       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_emboss)
21565     }
21566     else
21567     {
21568       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21569     }
21570   }
21571   
21574   void InitGL_NV_texgen_reflection ()
21575   {
21576     if (tested_CS_GL_NV_texgen_reflection) return;
21577     if (!extstrGL) return;
21578     tested_CS_GL_NV_texgen_reflection = true;
21579     const char* ext = "GL_NV_texgen_reflection";
21580 
21581     char cfgkey[26 + 23 + 1];
21582     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21583     
21584     CS_GL_NV_texgen_reflection = CheckExtension (extstrGL, ext);
21585 
21586     bool allclear, funcTest;
21587     (void)funcTest; // shut up "variable unused" warnings
21588     bool init = CS_GL_NV_texgen_reflection;
21589     allclear = true;
21590     if (init)   // Don't check the functions if ext isn't reported anyway
21591     {
21592 
21593       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_reflection)
21594     }
21595     else
21596     {
21597       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21598     }
21599   }
21600   
21603   void InitGL_NV_texture_compression_vtc ()
21604   {
21605     if (tested_CS_GL_NV_texture_compression_vtc) return;
21606     if (!extstrGL) return;
21607     tested_CS_GL_NV_texture_compression_vtc = true;
21608     const char* ext = "GL_NV_texture_compression_vtc";
21609 
21610     char cfgkey[26 + 29 + 1];
21611     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21612     
21613     CS_GL_NV_texture_compression_vtc = CheckExtension (extstrGL, ext);
21614 
21615     bool allclear, funcTest;
21616     (void)funcTest; // shut up "variable unused" warnings
21617     bool init = CS_GL_NV_texture_compression_vtc;
21618     allclear = true;
21619     if (init)   // Don't check the functions if ext isn't reported anyway
21620     {
21621 
21622       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_compression_vtc)
21623     }
21624     else
21625     {
21626       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21627     }
21628   }
21629   
21632   void InitGL_NV_texture_env_combine4 ()
21633   {
21634     if (tested_CS_GL_NV_texture_env_combine4) return;
21635     if (!extstrGL) return;
21636     tested_CS_GL_NV_texture_env_combine4 = true;
21637     const char* ext = "GL_NV_texture_env_combine4";
21638 
21639     char cfgkey[26 + 26 + 1];
21640     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21641     
21642     CS_GL_NV_texture_env_combine4 = CheckExtension (extstrGL, ext);
21643 
21644     bool allclear, funcTest;
21645     (void)funcTest; // shut up "variable unused" warnings
21646     bool init = CS_GL_NV_texture_env_combine4;
21647     allclear = true;
21648     if (init)   // Don't check the functions if ext isn't reported anyway
21649     {
21650 
21651       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_env_combine4)
21652     }
21653     else
21654     {
21655       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21656     }
21657   }
21658   
21661   void InitGL_NV_texture_rectangle ()
21662   {
21663     if (tested_CS_GL_NV_texture_rectangle) return;
21664     if (!extstrGL) return;
21665     tested_CS_GL_NV_texture_rectangle = true;
21666     const char* ext = "GL_NV_texture_rectangle";
21667 
21668     char cfgkey[26 + 23 + 1];
21669     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21670     
21671     CS_GL_NV_texture_rectangle = CheckExtension (extstrGL, ext);
21672 
21673     bool allclear, funcTest;
21674     (void)funcTest; // shut up "variable unused" warnings
21675     bool init = CS_GL_NV_texture_rectangle;
21676     allclear = true;
21677     if (init)   // Don't check the functions if ext isn't reported anyway
21678     {
21679 
21680       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_rectangle)
21681     }
21682     else
21683     {
21684       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21685     }
21686   }
21687   
21690   void InitGL_NV_texture_shader ()
21691   {
21692     if (tested_CS_GL_NV_texture_shader) return;
21693     if (!extstrGL) return;
21694     tested_CS_GL_NV_texture_shader = true;
21695     const char* ext = "GL_NV_texture_shader";
21696 
21697     char cfgkey[26 + 20 + 1];
21698     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21699     
21700     CS_GL_NV_texture_shader = CheckExtension (extstrGL, ext);
21701 
21702     bool allclear, funcTest;
21703     (void)funcTest; // shut up "variable unused" warnings
21704     bool init = CS_GL_NV_texture_shader;
21705     allclear = true;
21706     if (init)   // Don't check the functions if ext isn't reported anyway
21707     {
21708 
21709       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader)
21710     }
21711     else
21712     {
21713       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21714     }
21715   }
21716   
21719   void InitGL_NV_texture_shader2 ()
21720   {
21721     if (tested_CS_GL_NV_texture_shader2) return;
21722     if (!extstrGL) return;
21723     tested_CS_GL_NV_texture_shader2 = true;
21724     const char* ext = "GL_NV_texture_shader2";
21725 
21726     char cfgkey[26 + 21 + 1];
21727     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21728     
21729     CS_GL_NV_texture_shader2 = CheckExtension (extstrGL, ext);
21730 
21731     bool allclear, funcTest;
21732     (void)funcTest; // shut up "variable unused" warnings
21733     bool init = CS_GL_NV_texture_shader2;
21734     allclear = true;
21735     if (init)   // Don't check the functions if ext isn't reported anyway
21736     {
21737 
21738       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader2)
21739     }
21740     else
21741     {
21742       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21743     }
21744   }
21745   
21748   void InitGL_NV_texture_shader3 ()
21749   {
21750     if (tested_CS_GL_NV_texture_shader3) return;
21751     if (!extstrGL) return;
21752     tested_CS_GL_NV_texture_shader3 = true;
21753     const char* ext = "GL_NV_texture_shader3";
21754 
21755     char cfgkey[26 + 21 + 1];
21756     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21757     
21758     CS_GL_NV_texture_shader3 = CheckExtension (extstrGL, ext);
21759 
21760     bool allclear, funcTest;
21761     (void)funcTest; // shut up "variable unused" warnings
21762     bool init = CS_GL_NV_texture_shader3;
21763     allclear = true;
21764     if (init)   // Don't check the functions if ext isn't reported anyway
21765     {
21766 
21767       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader3)
21768     }
21769     else
21770     {
21771       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21772     }
21773   }
21774   
21777   void InitGL_NV_vertex_array_range ()
21778   {
21779     if (tested_CS_GL_NV_vertex_array_range) return;
21780     if (!extstrGL) return;
21781     tested_CS_GL_NV_vertex_array_range = true;
21782     const char* ext = "GL_NV_vertex_array_range";
21783 
21784     char cfgkey[26 + 24 + 1];
21785     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21786     
21787     CS_GL_NV_vertex_array_range = CheckExtension (extstrGL, ext);
21788 
21789     bool allclear, funcTest;
21790     (void)funcTest; // shut up "variable unused" warnings
21791     bool init = CS_GL_NV_vertex_array_range;
21792     allclear = true;
21793     if (init)   // Don't check the functions if ext isn't reported anyway
21794     {
21795       EXTMGR_FUNC_INIT(glVertexArrayRangeNV, GLVERTEXARRAYRANGENV);
21796       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeNV, GLFLUSHVERTEXARRAYRANGENV);
21797       EXTMGR_FUNC_INIT(wglAllocateMemoryNV, WGLALLOCATEMEMORYNV);
21798       EXTMGR_FUNC_INIT(wglFreeMemoryNV, WGLFREEMEMORYNV);
21799 
21800       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range)
21801     }
21802     else
21803     {
21804       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21805     }
21806   }
21807   
21810   void InitGL_NV_vertex_array_range2 ()
21811   {
21812     if (tested_CS_GL_NV_vertex_array_range2) return;
21813     if (!extstrGL) return;
21814     tested_CS_GL_NV_vertex_array_range2 = true;
21815     const char* ext = "GL_NV_vertex_array_range2";
21816 
21817     char cfgkey[26 + 25 + 1];
21818     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21819     
21820     CS_GL_NV_vertex_array_range2 = CheckExtension (extstrGL, ext);
21821 
21822     bool allclear, funcTest;
21823     (void)funcTest; // shut up "variable unused" warnings
21824     bool init = CS_GL_NV_vertex_array_range2;
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_NV_vertex_array_range2)
21830     }
21831     else
21832     {
21833       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21834     }
21835   }
21836   
21839   void InitGL_NV_vertex_program ()
21840   {
21841     if (tested_CS_GL_NV_vertex_program) return;
21842     if (!extstrGL) return;
21843     tested_CS_GL_NV_vertex_program = true;
21844     const char* ext = "GL_NV_vertex_program";
21845 
21846     char cfgkey[26 + 20 + 1];
21847     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21848     
21849     CS_GL_NV_vertex_program = CheckExtension (extstrGL, ext);
21850 
21851     bool allclear, funcTest;
21852     (void)funcTest; // shut up "variable unused" warnings
21853     bool init = CS_GL_NV_vertex_program;
21854     allclear = true;
21855     if (init)   // Don't check the functions if ext isn't reported anyway
21856     {
21857       EXTMGR_FUNC_INIT(glBindProgramNV, GLBINDPROGRAMNV);
21858       EXTMGR_FUNC_INIT(glDeleteProgramsNV, GLDELETEPROGRAMSNV);
21859       EXTMGR_FUNC_INIT(glExecuteProgramNV, GLEXECUTEPROGRAMNV);
21860       EXTMGR_FUNC_INIT(glGenProgramsNV, GLGENPROGRAMSNV);
21861       EXTMGR_FUNC_INIT(glAreProgramsResidentNV, GLAREPROGRAMSRESIDENTNV);
21862       EXTMGR_FUNC_INIT(glRequestResidentProgramsNV, GLREQUESTRESIDENTPROGRAMSNV);
21863       EXTMGR_FUNC_INIT(glGetProgramParameterfvNV, GLGETPROGRAMPARAMETERFVNV);
21864       EXTMGR_FUNC_INIT(glGetProgramParameterdvNV, GLGETPROGRAMPARAMETERDVNV);
21865       EXTMGR_FUNC_INIT(glGetProgramivNV, GLGETPROGRAMIVNV);
21866       EXTMGR_FUNC_INIT(glGetProgramStringNV, GLGETPROGRAMSTRINGNV);
21867       EXTMGR_FUNC_INIT(glGetTrackMatrixivNV, GLGETTRACKMATRIXIVNV);
21868       EXTMGR_FUNC_INIT(glGetVertexAttribdvNV, GLGETVERTEXATTRIBDVNV);
21869       EXTMGR_FUNC_INIT(glGetVertexAttribfvNV, GLGETVERTEXATTRIBFVNV);
21870       EXTMGR_FUNC_INIT(glGetVertexAttribivNV, GLGETVERTEXATTRIBIVNV);
21871       EXTMGR_FUNC_INIT(glGetVertexAttribPointervNV, GLGETVERTEXATTRIBPOINTERVNV);
21872       EXTMGR_FUNC_INIT(glIsProgramNV, GLISPROGRAMNV);
21873       EXTMGR_FUNC_INIT(glLoadProgramNV, GLLOADPROGRAMNV);
21874       EXTMGR_FUNC_INIT(glProgramParameter4fNV, GLPROGRAMPARAMETER4FNV);
21875       EXTMGR_FUNC_INIT(glProgramParameter4fvNV, GLPROGRAMPARAMETER4FVNV);
21876       EXTMGR_FUNC_INIT(glProgramParameters4dvNV, GLPROGRAMPARAMETERS4DVNV);
21877       EXTMGR_FUNC_INIT(glProgramParameters4fvNV, GLPROGRAMPARAMETERS4FVNV);
21878       EXTMGR_FUNC_INIT(glTrackMatrixNV, GLTRACKMATRIXNV);
21879       EXTMGR_FUNC_INIT(glVertexAttribPointerNV, GLVERTEXATTRIBPOINTERNV);
21880       EXTMGR_FUNC_INIT(glVertexAttrib1sNV, GLVERTEXATTRIB1SNV);
21881       EXTMGR_FUNC_INIT(glVertexAttrib1fNV, GLVERTEXATTRIB1FNV);
21882       EXTMGR_FUNC_INIT(glVertexAttrib1dNV, GLVERTEXATTRIB1DNV);
21883       EXTMGR_FUNC_INIT(glVertexAttrib2sNV, GLVERTEXATTRIB2SNV);
21884       EXTMGR_FUNC_INIT(glVertexAttrib2fNV, GLVERTEXATTRIB2FNV);
21885       EXTMGR_FUNC_INIT(glVertexAttrib2dNV, GLVERTEXATTRIB2DNV);
21886       EXTMGR_FUNC_INIT(glVertexAttrib3sNV, GLVERTEXATTRIB3SNV);
21887       EXTMGR_FUNC_INIT(glVertexAttrib3fNV, GLVERTEXATTRIB3FNV);
21888       EXTMGR_FUNC_INIT(glVertexAttrib3dNV, GLVERTEXATTRIB3DNV);
21889       EXTMGR_FUNC_INIT(glVertexAttrib4sNV, GLVERTEXATTRIB4SNV);
21890       EXTMGR_FUNC_INIT(glVertexAttrib4fNV, GLVERTEXATTRIB4FNV);
21891       EXTMGR_FUNC_INIT(glVertexAttrib4dNV, GLVERTEXATTRIB4DNV);
21892       EXTMGR_FUNC_INIT(glVertexAttrib4ubNV, GLVERTEXATTRIB4UBNV);
21893       EXTMGR_FUNC_INIT(glVertexAttrib1svNV, GLVERTEXATTRIB1SVNV);
21894       EXTMGR_FUNC_INIT(glVertexAttrib1fvNV, GLVERTEXATTRIB1FVNV);
21895       EXTMGR_FUNC_INIT(glVertexAttrib1dvNV, GLVERTEXATTRIB1DVNV);
21896       EXTMGR_FUNC_INIT(glVertexAttrib2svNV, GLVERTEXATTRIB2SVNV);
21897       EXTMGR_FUNC_INIT(glVertexAttrib2fvNV, GLVERTEXATTRIB2FVNV);
21898       EXTMGR_FUNC_INIT(glVertexAttrib2dvNV, GLVERTEXATTRIB2DVNV);
21899       EXTMGR_FUNC_INIT(glVertexAttrib3svNV, GLVERTEXATTRIB3SVNV);
21900       EXTMGR_FUNC_INIT(glVertexAttrib3fvNV, GLVERTEXATTRIB3FVNV);
21901       EXTMGR_FUNC_INIT(glVertexAttrib3dvNV, GLVERTEXATTRIB3DVNV);
21902       EXTMGR_FUNC_INIT(glVertexAttrib4svNV, GLVERTEXATTRIB4SVNV);
21903       EXTMGR_FUNC_INIT(glVertexAttrib4fvNV, GLVERTEXATTRIB4FVNV);
21904       EXTMGR_FUNC_INIT(glVertexAttrib4dvNV, GLVERTEXATTRIB4DVNV);
21905       EXTMGR_FUNC_INIT(glVertexAttrib4ubvNV, GLVERTEXATTRIB4UBVNV);
21906       EXTMGR_FUNC_INIT(glVertexAttribs1svNV, GLVERTEXATTRIBS1SVNV);
21907       EXTMGR_FUNC_INIT(glVertexAttribs1fvNV, GLVERTEXATTRIBS1FVNV);
21908       EXTMGR_FUNC_INIT(glVertexAttribs1dvNV, GLVERTEXATTRIBS1DVNV);
21909       EXTMGR_FUNC_INIT(glVertexAttribs2svNV, GLVERTEXATTRIBS2SVNV);
21910       EXTMGR_FUNC_INIT(glVertexAttribs2fvNV, GLVERTEXATTRIBS2FVNV);
21911       EXTMGR_FUNC_INIT(glVertexAttribs2dvNV, GLVERTEXATTRIBS2DVNV);
21912       EXTMGR_FUNC_INIT(glVertexAttribs3svNV, GLVERTEXATTRIBS3SVNV);
21913       EXTMGR_FUNC_INIT(glVertexAttribs3fvNV, GLVERTEXATTRIBS3FVNV);
21914       EXTMGR_FUNC_INIT(glVertexAttribs3dvNV, GLVERTEXATTRIBS3DVNV);
21915       EXTMGR_FUNC_INIT(glVertexAttribs4svNV, GLVERTEXATTRIBS4SVNV);
21916       EXTMGR_FUNC_INIT(glVertexAttribs4fvNV, GLVERTEXATTRIBS4FVNV);
21917       EXTMGR_FUNC_INIT(glVertexAttribs4dvNV, GLVERTEXATTRIBS4DVNV);
21918       EXTMGR_FUNC_INIT(glVertexAttribs4ubvNV, GLVERTEXATTRIBS4UBVNV);
21919 
21920       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program)
21921     }
21922     else
21923     {
21924       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21925     }
21926   }
21927   
21930   void InitGL_NV_vertex_program1_1 ()
21931   {
21932     if (tested_CS_GL_NV_vertex_program1_1) return;
21933     if (!extstrGL) return;
21934     tested_CS_GL_NV_vertex_program1_1 = true;
21935     const char* ext = "GL_NV_vertex_program1_1";
21936 
21937     char cfgkey[26 + 23 + 1];
21938     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21939     
21940     CS_GL_NV_vertex_program1_1 = CheckExtension (extstrGL, ext);
21941 
21942     bool allclear, funcTest;
21943     (void)funcTest; // shut up "variable unused" warnings
21944     bool init = CS_GL_NV_vertex_program1_1;
21945     allclear = true;
21946     if (init)   // Don't check the functions if ext isn't reported anyway
21947     {
21948 
21949       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program1_1)
21950     }
21951     else
21952     {
21953       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21954     }
21955   }
21956   
21959   void InitGL_ATI_element_array ()
21960   {
21961     if (tested_CS_GL_ATI_element_array) return;
21962     if (!extstrGL) return;
21963     tested_CS_GL_ATI_element_array = true;
21964     const char* ext = "GL_ATI_element_array";
21965 
21966     char cfgkey[26 + 20 + 1];
21967     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
21968     
21969     CS_GL_ATI_element_array = CheckExtension (extstrGL, ext);
21970 
21971     bool allclear, funcTest;
21972     (void)funcTest; // shut up "variable unused" warnings
21973     bool init = CS_GL_ATI_element_array;
21974     allclear = true;
21975     if (init)   // Don't check the functions if ext isn't reported anyway
21976     {
21977       EXTMGR_FUNC_INIT(glElementPointerATI, GLELEMENTPOINTERATI);
21978       EXTMGR_FUNC_INIT(glDrawElementArrayATI, GLDRAWELEMENTARRAYATI);
21979       EXTMGR_FUNC_INIT(glDrawRangeElementArrayATI, GLDRAWRANGEELEMENTARRAYATI);
21980 
21981       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_element_array)
21982     }
21983     else
21984     {
21985       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
21986     }
21987   }
21988   
21991   void InitGL_ATI_envmap_bumpmap ()
21992   {
21993     if (tested_CS_GL_ATI_envmap_bumpmap) return;
21994     if (!extstrGL) return;
21995     tested_CS_GL_ATI_envmap_bumpmap = true;
21996     const char* ext = "GL_ATI_envmap_bumpmap";
21997 
21998     char cfgkey[26 + 21 + 1];
21999     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22000     
22001     CS_GL_ATI_envmap_bumpmap = CheckExtension (extstrGL, ext);
22002 
22003     bool allclear, funcTest;
22004     (void)funcTest; // shut up "variable unused" warnings
22005     bool init = CS_GL_ATI_envmap_bumpmap;
22006     allclear = true;
22007     if (init)   // Don't check the functions if ext isn't reported anyway
22008     {
22009       EXTMGR_FUNC_INIT(glTexBumpParameterivATI, GLTEXBUMPPARAMETERIVATI);
22010       EXTMGR_FUNC_INIT(glTexBumpParameterfvATI, GLTEXBUMPPARAMETERFVATI);
22011       EXTMGR_FUNC_INIT(glGetTexBumpParameterivATI, GLGETTEXBUMPPARAMETERIVATI);
22012       EXTMGR_FUNC_INIT(glGetTexBumpParameterfvATI, GLGETTEXBUMPPARAMETERFVATI);
22013 
22014       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_envmap_bumpmap)
22015     }
22016     else
22017     {
22018       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22019     }
22020   }
22021   
22024   void InitGL_ATI_fragment_shader ()
22025   {
22026     if (tested_CS_GL_ATI_fragment_shader) return;
22027     if (!extstrGL) return;
22028     tested_CS_GL_ATI_fragment_shader = true;
22029     const char* ext = "GL_ATI_fragment_shader";
22030 
22031     char cfgkey[26 + 22 + 1];
22032     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22033     
22034     CS_GL_ATI_fragment_shader = CheckExtension (extstrGL, ext);
22035 
22036     bool allclear, funcTest;
22037     (void)funcTest; // shut up "variable unused" warnings
22038     bool init = CS_GL_ATI_fragment_shader;
22039     allclear = true;
22040     if (init)   // Don't check the functions if ext isn't reported anyway
22041     {
22042       EXTMGR_FUNC_INIT(glGenFragmentShadersATI, GLGENFRAGMENTSHADERSATI);
22043       EXTMGR_FUNC_INIT(glBindFragmentShaderATI, GLBINDFRAGMENTSHADERATI);
22044       EXTMGR_FUNC_INIT(glDeleteFragmentShaderATI, GLDELETEFRAGMENTSHADERATI);
22045       EXTMGR_FUNC_INIT(glBeginFragmentShaderATI, GLBEGINFRAGMENTSHADERATI);
22046       EXTMGR_FUNC_INIT(glEndFragmentShaderATI, GLENDFRAGMENTSHADERATI);
22047       EXTMGR_FUNC_INIT(glPassTexCoordATI, GLPASSTEXCOORDATI);
22048       EXTMGR_FUNC_INIT(glSampleMapATI, GLSAMPLEMAPATI);
22049       EXTMGR_FUNC_INIT(glColorFragmentOp1ATI, GLCOLORFRAGMENTOP1ATI);
22050       EXTMGR_FUNC_INIT(glColorFragmentOp2ATI, GLCOLORFRAGMENTOP2ATI);
22051       EXTMGR_FUNC_INIT(glColorFragmentOp3ATI, GLCOLORFRAGMENTOP3ATI);
22052       EXTMGR_FUNC_INIT(glAlphaFragmentOp1ATI, GLALPHAFRAGMENTOP1ATI);
22053       EXTMGR_FUNC_INIT(glAlphaFragmentOp2ATI, GLALPHAFRAGMENTOP2ATI);
22054       EXTMGR_FUNC_INIT(glAlphaFragmentOp3ATI, GLALPHAFRAGMENTOP3ATI);
22055       EXTMGR_FUNC_INIT(glSetFragmentShaderConstantATI, GLSETFRAGMENTSHADERCONSTANTATI);
22056 
22057       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_fragment_shader)
22058     }
22059     else
22060     {
22061       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22062     }
22063   }
22064   
22067   void InitGL_ATI_pn_triangles ()
22068   {
22069     if (tested_CS_GL_ATI_pn_triangles) return;
22070     if (!extstrGL) return;
22071     tested_CS_GL_ATI_pn_triangles = true;
22072     const char* ext = "GL_ATI_pn_triangles";
22073 
22074     char cfgkey[26 + 19 + 1];
22075     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22076     
22077     CS_GL_ATI_pn_triangles = CheckExtension (extstrGL, ext);
22078 
22079     bool allclear, funcTest;
22080     (void)funcTest; // shut up "variable unused" warnings
22081     bool init = CS_GL_ATI_pn_triangles;
22082     allclear = true;
22083     if (init)   // Don't check the functions if ext isn't reported anyway
22084     {
22085       EXTMGR_FUNC_INIT(glPNTrianglesiATI, GLPNTRIANGLESIATI);
22086       EXTMGR_FUNC_INIT(glPNTrianglesfATI, GLPNTRIANGLESFATI);
22087 
22088       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_pn_triangles)
22089     }
22090     else
22091     {
22092       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22093     }
22094   }
22095   
22098   void InitGL_ATI_texture_mirror_once ()
22099   {
22100     if (tested_CS_GL_ATI_texture_mirror_once) return;
22101     if (!extstrGL) return;
22102     tested_CS_GL_ATI_texture_mirror_once = true;
22103     const char* ext = "GL_ATI_texture_mirror_once";
22104 
22105     char cfgkey[26 + 26 + 1];
22106     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22107     
22108     CS_GL_ATI_texture_mirror_once = CheckExtension (extstrGL, ext);
22109 
22110     bool allclear, funcTest;
22111     (void)funcTest; // shut up "variable unused" warnings
22112     bool init = CS_GL_ATI_texture_mirror_once;
22113     allclear = true;
22114     if (init)   // Don't check the functions if ext isn't reported anyway
22115     {
22116 
22117       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_texture_mirror_once)
22118     }
22119     else
22120     {
22121       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22122     }
22123   }
22124   
22127   void InitGL_ATI_vertex_array_object ()
22128   {
22129     if (tested_CS_GL_ATI_vertex_array_object) return;
22130     if (!extstrGL) return;
22131     tested_CS_GL_ATI_vertex_array_object = true;
22132     const char* ext = "GL_ATI_vertex_array_object";
22133 
22134     char cfgkey[26 + 26 + 1];
22135     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22136     
22137     CS_GL_ATI_vertex_array_object = CheckExtension (extstrGL, ext);
22138 
22139     bool allclear, funcTest;
22140     (void)funcTest; // shut up "variable unused" warnings
22141     bool init = CS_GL_ATI_vertex_array_object;
22142     allclear = true;
22143     if (init)   // Don't check the functions if ext isn't reported anyway
22144     {
22145       EXTMGR_FUNC_INIT(glNewObjectBufferATI, GLNEWOBJECTBUFFERATI);
22146       EXTMGR_FUNC_INIT(glIsObjectBufferATI, GLISOBJECTBUFFERATI);
22147       EXTMGR_FUNC_INIT(glUpdateObjectBufferATI, GLUPDATEOBJECTBUFFERATI);
22148       EXTMGR_FUNC_INIT(glGetObjectBufferfvATI, GLGETOBJECTBUFFERFVATI);
22149       EXTMGR_FUNC_INIT(glGetObjectBufferivATI, GLGETOBJECTBUFFERIVATI);
22150       EXTMGR_FUNC_INIT(glFreeObjectBufferATI, GLFREEOBJECTBUFFERATI);
22151       EXTMGR_FUNC_INIT(glArrayObjectATI, GLARRAYOBJECTATI);
22152       EXTMGR_FUNC_INIT(glGetArrayObjectfvATI, GLGETARRAYOBJECTFVATI);
22153       EXTMGR_FUNC_INIT(glGetArrayObjectivATI, GLGETARRAYOBJECTIVATI);
22154       EXTMGR_FUNC_INIT(glVariantArrayObjectATI, GLVARIANTARRAYOBJECTATI);
22155       EXTMGR_FUNC_INIT(glGetVariantArrayObjectfvATI, GLGETVARIANTARRAYOBJECTFVATI);
22156       EXTMGR_FUNC_INIT(glGetVariantArrayObjectivATI, GLGETVARIANTARRAYOBJECTIVATI);
22157 
22158       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_array_object)
22159     }
22160     else
22161     {
22162       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22163     }
22164   }
22165   
22168   void InitGL_ATI_vertex_attrib_array_object ()
22169   {
22170     if (tested_CS_GL_ATI_vertex_attrib_array_object) return;
22171     if (!extstrGL) return;
22172     tested_CS_GL_ATI_vertex_attrib_array_object = true;
22173     const char* ext = "GL_ATI_vertex_attrib_array_object";
22174 
22175     char cfgkey[26 + 33 + 1];
22176     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22177     
22178     CS_GL_ATI_vertex_attrib_array_object = CheckExtension (extstrGL, ext);
22179 
22180     bool allclear, funcTest;
22181     (void)funcTest; // shut up "variable unused" warnings
22182     bool init = CS_GL_ATI_vertex_attrib_array_object;
22183     allclear = true;
22184     if (init)   // Don't check the functions if ext isn't reported anyway
22185     {
22186       EXTMGR_FUNC_INIT(glVertexAttribArrayObjectATI, GLVERTEXATTRIBARRAYOBJECTATI);
22187       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectfvATI, GLGETVERTEXATTRIBARRAYOBJECTFVATI);
22188       EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectivATI, GLGETVERTEXATTRIBARRAYOBJECTIVATI);
22189 
22190       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_attrib_array_object)
22191     }
22192     else
22193     {
22194       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22195     }
22196   }
22197   
22200   void InitGL_ATI_vertex_streams ()
22201   {
22202     if (tested_CS_GL_ATI_vertex_streams) return;
22203     if (!extstrGL) return;
22204     tested_CS_GL_ATI_vertex_streams = true;
22205     const char* ext = "GL_ATI_vertex_streams";
22206 
22207     char cfgkey[26 + 21 + 1];
22208     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22209     
22210     CS_GL_ATI_vertex_streams = CheckExtension (extstrGL, ext);
22211 
22212     bool allclear, funcTest;
22213     (void)funcTest; // shut up "variable unused" warnings
22214     bool init = CS_GL_ATI_vertex_streams;
22215     allclear = true;
22216     if (init)   // Don't check the functions if ext isn't reported anyway
22217     {
22218       EXTMGR_FUNC_INIT(glVertexStream1s, GLVERTEXSTREAM1S);
22219       EXTMGR_FUNC_INIT(glVertexStream1i, GLVERTEXSTREAM1I);
22220       EXTMGR_FUNC_INIT(glVertexStream1f, GLVERTEXSTREAM1F);
22221       EXTMGR_FUNC_INIT(glVertexStream1d, GLVERTEXSTREAM1D);
22222       EXTMGR_FUNC_INIT(glVertexStream1sv, GLVERTEXSTREAM1SV);
22223       EXTMGR_FUNC_INIT(glVertexStream1iv, GLVERTEXSTREAM1IV);
22224       EXTMGR_FUNC_INIT(glVertexStream1fv, GLVERTEXSTREAM1FV);
22225       EXTMGR_FUNC_INIT(glVertexStream1dv, GLVERTEXSTREAM1DV);
22226       EXTMGR_FUNC_INIT(glVertexStream2s, GLVERTEXSTREAM2S);
22227       EXTMGR_FUNC_INIT(glVertexStream2i, GLVERTEXSTREAM2I);
22228       EXTMGR_FUNC_INIT(glVertexStream2f, GLVERTEXSTREAM2F);
22229       EXTMGR_FUNC_INIT(glVertexStream2d, GLVERTEXSTREAM2D);
22230       EXTMGR_FUNC_INIT(glVertexStream2sv, GLVERTEXSTREAM2SV);
22231       EXTMGR_FUNC_INIT(glVertexStream2iv, GLVERTEXSTREAM2IV);
22232       EXTMGR_FUNC_INIT(glVertexStream2fv, GLVERTEXSTREAM2FV);
22233       EXTMGR_FUNC_INIT(glVertexStream2dv, GLVERTEXSTREAM2DV);
22234       EXTMGR_FUNC_INIT(glVertexStream3s, GLVERTEXSTREAM3S);
22235       EXTMGR_FUNC_INIT(glVertexStream3i, GLVERTEXSTREAM3I);
22236       EXTMGR_FUNC_INIT(glVertexStream3f, GLVERTEXSTREAM3F);
22237       EXTMGR_FUNC_INIT(glVertexStream3d, GLVERTEXSTREAM3D);
22238       EXTMGR_FUNC_INIT(glVertexStream3sv, GLVERTEXSTREAM3SV);
22239       EXTMGR_FUNC_INIT(glVertexStream3iv, GLVERTEXSTREAM3IV);
22240       EXTMGR_FUNC_INIT(glVertexStream3fv, GLVERTEXSTREAM3FV);
22241       EXTMGR_FUNC_INIT(glVertexStream3dv, GLVERTEXSTREAM3DV);
22242       EXTMGR_FUNC_INIT(glVertexStream4s, GLVERTEXSTREAM4S);
22243       EXTMGR_FUNC_INIT(glVertexStream4i, GLVERTEXSTREAM4I);
22244       EXTMGR_FUNC_INIT(glVertexStream4f, GLVERTEXSTREAM4F);
22245       EXTMGR_FUNC_INIT(glVertexStream4d, GLVERTEXSTREAM4D);
22246       EXTMGR_FUNC_INIT(glVertexStream4sv, GLVERTEXSTREAM4SV);
22247       EXTMGR_FUNC_INIT(glVertexStream4iv, GLVERTEXSTREAM4IV);
22248       EXTMGR_FUNC_INIT(glVertexStream4fv, GLVERTEXSTREAM4FV);
22249       EXTMGR_FUNC_INIT(glVertexStream4dv, GLVERTEXSTREAM4DV);
22250       EXTMGR_FUNC_INIT(glNormalStream3b, GLNORMALSTREAM3B);
22251       EXTMGR_FUNC_INIT(glNormalStream3s, GLNORMALSTREAM3S);
22252       EXTMGR_FUNC_INIT(glNormalStream3i, GLNORMALSTREAM3I);
22253       EXTMGR_FUNC_INIT(glNormalStream3f, GLNORMALSTREAM3F);
22254       EXTMGR_FUNC_INIT(glNormalStream3d, GLNORMALSTREAM3D);
22255       EXTMGR_FUNC_INIT(glNormalStream3bv, GLNORMALSTREAM3BV);
22256       EXTMGR_FUNC_INIT(glNormalStream3sv, GLNORMALSTREAM3SV);
22257       EXTMGR_FUNC_INIT(glNormalStream3iv, GLNORMALSTREAM3IV);
22258       EXTMGR_FUNC_INIT(glNormalStream3fv, GLNORMALSTREAM3FV);
22259       EXTMGR_FUNC_INIT(glNormalStream3dv, GLNORMALSTREAM3DV);
22260       EXTMGR_FUNC_INIT(glClientActiveVertexStream, GLCLIENTACTIVEVERTEXSTREAM);
22261       EXTMGR_FUNC_INIT(glVertexBlendEnvi, GLVERTEXBLENDENVI);
22262       EXTMGR_FUNC_INIT(glVertexBlendEnvf, GLVERTEXBLENDENVF);
22263 
22264       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_streams)
22265     }
22266     else
22267     {
22268       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22269     }
22270   }
22271   
22272 #ifdef _WIN32
22273 
22275   void InitWGL_I3D_image_buffer (HDC hDC)
22276   {
22277     if (tested_CS_WGL_I3D_image_buffer) return;
22278     tested_CS_WGL_I3D_image_buffer = true;
22279     const char* ext = "WGL_I3D_image_buffer";
22280     char cfgkey[26 + 20 + 1];
22281     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22282     
22283     (void)hDC;      // avoid `unused variable' warning.
22284     SetupWGLextStr (hDC);
22285     if (!extstrWGL) return;
22286     CS_WGL_I3D_image_buffer = CheckExtension (extstrWGL, ext);
22287 
22288     bool allclear, funcTest;
22289     (void)funcTest; // avoid `unused variable' warning.
22290     bool init = CS_WGL_I3D_image_buffer;
22291     allclear = true;
22292     if (init)
22293     {
22294       EXTMGR_FUNC_INIT(wglCreateImageBufferI3D, WGLCREATEIMAGEBUFFERI3D);
22295       EXTMGR_FUNC_INIT(wglDestroyImageBufferI3D, WGLDESTROYIMAGEBUFFERI3D);
22296       EXTMGR_FUNC_INIT(wglAssociateImageBufferEventsI3D, WGLASSOCIATEIMAGEBUFFEREVENTSI3D);
22297       EXTMGR_FUNC_INIT(wglReleaseImageBufferEventsI3D, WGLRELEASEIMAGEBUFFEREVENTSI3D);
22298 
22299       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_image_buffer)
22300       CS_WGL_I3D_image_buffer &= allclear;
22301     }
22302     else
22303     {
22304       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
22305     }
22306   }
22307 #endif
22308 
22309 #ifdef _WIN32
22310 
22312   void InitWGL_I3D_swap_frame_lock (HDC hDC)
22313   {
22314     if (tested_CS_WGL_I3D_swap_frame_lock) return;
22315     tested_CS_WGL_I3D_swap_frame_lock = true;
22316     const char* ext = "WGL_I3D_swap_frame_lock";
22317     char cfgkey[26 + 23 + 1];
22318     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22319     
22320     (void)hDC;      // avoid `unused variable' warning.
22321     SetupWGLextStr (hDC);
22322     if (!extstrWGL) return;
22323     CS_WGL_I3D_swap_frame_lock = CheckExtension (extstrWGL, ext);
22324 
22325     bool allclear, funcTest;
22326     (void)funcTest; // avoid `unused variable' warning.
22327     bool init = CS_WGL_I3D_swap_frame_lock;
22328     allclear = true;
22329     if (init)
22330     {
22331       EXTMGR_FUNC_INIT(wglEnableFrameLockI3D, WGLENABLEFRAMELOCKI3D);
22332       EXTMGR_FUNC_INIT(wglDisableFrameLockI3D, WGLDISABLEFRAMELOCKI3D);
22333       EXTMGR_FUNC_INIT(wglIsEnabledFrameLockI3D, WGLISENABLEDFRAMELOCKI3D);
22334       EXTMGR_FUNC_INIT(wglQueryFrameLockMasterI3D, WGLQUERYFRAMELOCKMASTERI3D);
22335 
22336       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_lock)
22337       CS_WGL_I3D_swap_frame_lock &= allclear;
22338     }
22339     else
22340     {
22341       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
22342     }
22343   }
22344 #endif
22345 
22346 #ifdef _WIN32
22347 
22349   void InitWGL_I3D_swap_frame_usage (HDC hDC)
22350   {
22351     if (tested_CS_WGL_I3D_swap_frame_usage) return;
22352     tested_CS_WGL_I3D_swap_frame_usage = true;
22353     const char* ext = "WGL_I3D_swap_frame_usage";
22354     char cfgkey[26 + 24 + 1];
22355     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22356     
22357     (void)hDC;      // avoid `unused variable' warning.
22358     SetupWGLextStr (hDC);
22359     if (!extstrWGL) return;
22360     CS_WGL_I3D_swap_frame_usage = CheckExtension (extstrWGL, ext);
22361 
22362     bool allclear, funcTest;
22363     (void)funcTest; // avoid `unused variable' warning.
22364     bool init = CS_WGL_I3D_swap_frame_usage;
22365     allclear = true;
22366     if (init)
22367     {
22368       EXTMGR_FUNC_INIT(wglGetFrameUsageI3D, WGLGETFRAMEUSAGEI3D);
22369       EXTMGR_FUNC_INIT(wglBeginFrameTrackingI3D, WGLBEGINFRAMETRACKINGI3D);
22370       EXTMGR_FUNC_INIT(wglEndFrameTrackingI3D, WGLENDFRAMETRACKINGI3D);
22371       EXTMGR_FUNC_INIT(wglQueryFrameTrackingI3D, WGLQUERYFRAMETRACKINGI3D);
22372 
22373       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_usage)
22374       CS_WGL_I3D_swap_frame_usage &= allclear;
22375     }
22376     else
22377     {
22378       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
22379     }
22380   }
22381 #endif
22382 
22385   void InitGL_3DFX_texture_compression_FXT1 ()
22386   {
22387     if (tested_CS_GL_3DFX_texture_compression_FXT1) return;
22388     if (!extstrGL) return;
22389     tested_CS_GL_3DFX_texture_compression_FXT1 = true;
22390     const char* ext = "GL_3DFX_texture_compression_FXT1";
22391 
22392     char cfgkey[26 + 32 + 1];
22393     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22394     
22395     CS_GL_3DFX_texture_compression_FXT1 = CheckExtension (extstrGL, ext);
22396 
22397     bool allclear, funcTest;
22398     (void)funcTest; // shut up "variable unused" warnings
22399     bool init = CS_GL_3DFX_texture_compression_FXT1;
22400     allclear = true;
22401     if (init)   // Don't check the functions if ext isn't reported anyway
22402     {
22403 
22404       EXTMGR_REPORT_INIT_RESULT("GL", GL_3DFX_texture_compression_FXT1)
22405     }
22406     else
22407     {
22408       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22409     }
22410   }
22411   
22414   void InitGL_IBM_cull_vertex ()
22415   {
22416     if (tested_CS_GL_IBM_cull_vertex) return;
22417     if (!extstrGL) return;
22418     tested_CS_GL_IBM_cull_vertex = true;
22419     const char* ext = "GL_IBM_cull_vertex";
22420 
22421     char cfgkey[26 + 18 + 1];
22422     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22423     
22424     CS_GL_IBM_cull_vertex = CheckExtension (extstrGL, ext);
22425 
22426     bool allclear, funcTest;
22427     (void)funcTest; // shut up "variable unused" warnings
22428     bool init = CS_GL_IBM_cull_vertex;
22429     allclear = true;
22430     if (init)   // Don't check the functions if ext isn't reported anyway
22431     {
22432 
22433       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_cull_vertex)
22434     }
22435     else
22436     {
22437       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22438     }
22439   }
22440   
22443   void InitGL_IBM_multimode_draw_arrays ()
22444   {
22445     if (tested_CS_GL_IBM_multimode_draw_arrays) return;
22446     if (!extstrGL) return;
22447     tested_CS_GL_IBM_multimode_draw_arrays = true;
22448     const char* ext = "GL_IBM_multimode_draw_arrays";
22449 
22450     char cfgkey[26 + 28 + 1];
22451     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22452     
22453     CS_GL_IBM_multimode_draw_arrays = CheckExtension (extstrGL, ext);
22454 
22455     bool allclear, funcTest;
22456     (void)funcTest; // shut up "variable unused" warnings
22457     bool init = CS_GL_IBM_multimode_draw_arrays;
22458     allclear = true;
22459     if (init)   // Don't check the functions if ext isn't reported anyway
22460     {
22461       EXTMGR_FUNC_INIT(glMultiModeDrawArraysIBM, GLMULTIMODEDRAWARRAYSIBM);
22462       EXTMGR_FUNC_INIT(glMultiModeDrawElementsIBM, GLMULTIMODEDRAWELEMENTSIBM);
22463 
22464       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_multimode_draw_arrays)
22465     }
22466     else
22467     {
22468       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22469     }
22470   }
22471   
22474   void InitGL_IBM_raster_pos_clip ()
22475   {
22476     if (tested_CS_GL_IBM_raster_pos_clip) return;
22477     if (!extstrGL) return;
22478     tested_CS_GL_IBM_raster_pos_clip = true;
22479     const char* ext = "GL_IBM_raster_pos_clip";
22480 
22481     char cfgkey[26 + 22 + 1];
22482     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22483     
22484     CS_GL_IBM_raster_pos_clip = CheckExtension (extstrGL, ext);
22485 
22486     bool allclear, funcTest;
22487     (void)funcTest; // shut up "variable unused" warnings
22488     bool init = CS_GL_IBM_raster_pos_clip;
22489     allclear = true;
22490     if (init)   // Don't check the functions if ext isn't reported anyway
22491     {
22492 
22493       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_raster_pos_clip)
22494     }
22495     else
22496     {
22497       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22498     }
22499   }
22500   
22503   void InitGL_IBM_texture_mirrored_repeat ()
22504   {
22505     if (tested_CS_GL_IBM_texture_mirrored_repeat) return;
22506     if (!extstrGL) return;
22507     tested_CS_GL_IBM_texture_mirrored_repeat = true;
22508     const char* ext = "GL_IBM_texture_mirrored_repeat";
22509 
22510     char cfgkey[26 + 30 + 1];
22511     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22512     
22513     CS_GL_IBM_texture_mirrored_repeat = CheckExtension (extstrGL, ext);
22514 
22515     bool allclear, funcTest;
22516     (void)funcTest; // shut up "variable unused" warnings
22517     bool init = CS_GL_IBM_texture_mirrored_repeat;
22518     allclear = true;
22519     if (init)   // Don't check the functions if ext isn't reported anyway
22520     {
22521 
22522       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_texture_mirrored_repeat)
22523     }
22524     else
22525     {
22526       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22527     }
22528   }
22529   
22532   void InitGL_IBM_vertex_array_lists ()
22533   {
22534     if (tested_CS_GL_IBM_vertex_array_lists) return;
22535     if (!extstrGL) return;
22536     tested_CS_GL_IBM_vertex_array_lists = true;
22537     const char* ext = "GL_IBM_vertex_array_lists";
22538 
22539     char cfgkey[26 + 25 + 1];
22540     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22541     
22542     CS_GL_IBM_vertex_array_lists = CheckExtension (extstrGL, ext);
22543 
22544     bool allclear, funcTest;
22545     (void)funcTest; // shut up "variable unused" warnings
22546     bool init = CS_GL_IBM_vertex_array_lists;
22547     allclear = true;
22548     if (init)   // Don't check the functions if ext isn't reported anyway
22549     {
22550       EXTMGR_FUNC_INIT(glColorPointerListIBM, GLCOLORPOINTERLISTIBM);
22551       EXTMGR_FUNC_INIT(glSecondaryColorPointerListIBM, GLSECONDARYCOLORPOINTERLISTIBM);
22552       EXTMGR_FUNC_INIT(glEdgeFlagPointerListIBM, GLEDGEFLAGPOINTERLISTIBM);
22553       EXTMGR_FUNC_INIT(glFogCoordPointerListIBM, GLFOGCOORDPOINTERLISTIBM);
22554       EXTMGR_FUNC_INIT(glNormalPointerListIBM, GLNORMALPOINTERLISTIBM);
22555       EXTMGR_FUNC_INIT(glTexCoordPointerListIBM, GLTEXCOORDPOINTERLISTIBM);
22556       EXTMGR_FUNC_INIT(glVertexPointerListIBM, GLVERTEXPOINTERLISTIBM);
22557 
22558       EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_vertex_array_lists)
22559     }
22560     else
22561     {
22562       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22563     }
22564   }
22565   
22568   void InitGL_MESA_resize_buffers ()
22569   {
22570     if (tested_CS_GL_MESA_resize_buffers) return;
22571     if (!extstrGL) return;
22572     tested_CS_GL_MESA_resize_buffers = true;
22573     const char* ext = "GL_MESA_resize_buffers";
22574 
22575     char cfgkey[26 + 22 + 1];
22576     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22577     
22578     CS_GL_MESA_resize_buffers = CheckExtension (extstrGL, ext);
22579 
22580     bool allclear, funcTest;
22581     (void)funcTest; // shut up "variable unused" warnings
22582     bool init = CS_GL_MESA_resize_buffers;
22583     allclear = true;
22584     if (init)   // Don't check the functions if ext isn't reported anyway
22585     {
22586       EXTMGR_FUNC_INIT(glResizeBuffersMESA, GLRESIZEBUFFERSMESA);
22587 
22588       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_resize_buffers)
22589     }
22590     else
22591     {
22592       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22593     }
22594   }
22595   
22598   void InitGL_MESA_window_pos ()
22599   {
22600     if (tested_CS_GL_MESA_window_pos) return;
22601     if (!extstrGL) return;
22602     tested_CS_GL_MESA_window_pos = true;
22603     const char* ext = "GL_MESA_window_pos";
22604 
22605     char cfgkey[26 + 18 + 1];
22606     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22607     
22608     CS_GL_MESA_window_pos = CheckExtension (extstrGL, ext);
22609 
22610     bool allclear, funcTest;
22611     (void)funcTest; // shut up "variable unused" warnings
22612     bool init = CS_GL_MESA_window_pos;
22613     allclear = true;
22614     if (init)   // Don't check the functions if ext isn't reported anyway
22615     {
22616       EXTMGR_FUNC_INIT(glWindowPos2dMESA, GLWINDOWPOS2DMESA);
22617       EXTMGR_FUNC_INIT(glWindowPos2fMESA, GLWINDOWPOS2FMESA);
22618       EXTMGR_FUNC_INIT(glWindowPos2iMESA, GLWINDOWPOS2IMESA);
22619       EXTMGR_FUNC_INIT(glWindowPos2sMESA, GLWINDOWPOS2SMESA);
22620       EXTMGR_FUNC_INIT(glWindowPos2ivMESA, GLWINDOWPOS2IVMESA);
22621       EXTMGR_FUNC_INIT(glWindowPos2svMESA, GLWINDOWPOS2SVMESA);
22622       EXTMGR_FUNC_INIT(glWindowPos2fvMESA, GLWINDOWPOS2FVMESA);
22623       EXTMGR_FUNC_INIT(glWindowPos2dvMESA, GLWINDOWPOS2DVMESA);
22624       EXTMGR_FUNC_INIT(glWindowPos3iMESA, GLWINDOWPOS3IMESA);
22625       EXTMGR_FUNC_INIT(glWindowPos3sMESA, GLWINDOWPOS3SMESA);
22626       EXTMGR_FUNC_INIT(glWindowPos3fMESA, GLWINDOWPOS3FMESA);
22627       EXTMGR_FUNC_INIT(glWindowPos3dMESA, GLWINDOWPOS3DMESA);
22628       EXTMGR_FUNC_INIT(glWindowPos3ivMESA, GLWINDOWPOS3IVMESA);
22629       EXTMGR_FUNC_INIT(glWindowPos3svMESA, GLWINDOWPOS3SVMESA);
22630       EXTMGR_FUNC_INIT(glWindowPos3fvMESA, GLWINDOWPOS3FVMESA);
22631       EXTMGR_FUNC_INIT(glWindowPos3dvMESA, GLWINDOWPOS3DVMESA);
22632       EXTMGR_FUNC_INIT(glWindowPos4iMESA, GLWINDOWPOS4IMESA);
22633       EXTMGR_FUNC_INIT(glWindowPos4sMESA, GLWINDOWPOS4SMESA);
22634       EXTMGR_FUNC_INIT(glWindowPos4fMESA, GLWINDOWPOS4FMESA);
22635       EXTMGR_FUNC_INIT(glWindowPos4dMESA, GLWINDOWPOS4DMESA);
22636       EXTMGR_FUNC_INIT(glWindowPos4ivMESA, GLWINDOWPOS4IVMESA);
22637       EXTMGR_FUNC_INIT(glWindowPos4svMESA, GLWINDOWPOS4SVMESA);
22638       EXTMGR_FUNC_INIT(glWindowPos4fvMESA, GLWINDOWPOS4FVMESA);
22639       EXTMGR_FUNC_INIT(glWindowPos4dvMESA, GLWINDOWPOS4DVMESA);
22640 
22641       EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_window_pos)
22642     }
22643     else
22644     {
22645       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22646     }
22647   }
22648   
22651   void InitGL_OML_interlace ()
22652   {
22653     if (tested_CS_GL_OML_interlace) return;
22654     if (!extstrGL) return;
22655     tested_CS_GL_OML_interlace = true;
22656     const char* ext = "GL_OML_interlace";
22657 
22658     char cfgkey[26 + 16 + 1];
22659     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22660     
22661     CS_GL_OML_interlace = CheckExtension (extstrGL, ext);
22662 
22663     bool allclear, funcTest;
22664     (void)funcTest; // shut up "variable unused" warnings
22665     bool init = CS_GL_OML_interlace;
22666     allclear = true;
22667     if (init)   // Don't check the functions if ext isn't reported anyway
22668     {
22669 
22670       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_interlace)
22671     }
22672     else
22673     {
22674       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22675     }
22676   }
22677   
22680   void InitGL_OML_resample ()
22681   {
22682     if (tested_CS_GL_OML_resample) return;
22683     if (!extstrGL) return;
22684     tested_CS_GL_OML_resample = true;
22685     const char* ext = "GL_OML_resample";
22686 
22687     char cfgkey[26 + 15 + 1];
22688     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22689     
22690     CS_GL_OML_resample = CheckExtension (extstrGL, ext);
22691 
22692     bool allclear, funcTest;
22693     (void)funcTest; // shut up "variable unused" warnings
22694     bool init = CS_GL_OML_resample;
22695     allclear = true;
22696     if (init)   // Don't check the functions if ext isn't reported anyway
22697     {
22698 
22699       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_resample)
22700     }
22701     else
22702     {
22703       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22704     }
22705   }
22706   
22709   void InitGL_OML_subsample ()
22710   {
22711     if (tested_CS_GL_OML_subsample) return;
22712     if (!extstrGL) return;
22713     tested_CS_GL_OML_subsample = true;
22714     const char* ext = "GL_OML_subsample";
22715 
22716     char cfgkey[26 + 16 + 1];
22717     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22718     
22719     CS_GL_OML_subsample = CheckExtension (extstrGL, ext);
22720 
22721     bool allclear, funcTest;
22722     (void)funcTest; // shut up "variable unused" warnings
22723     bool init = CS_GL_OML_subsample;
22724     allclear = true;
22725     if (init)   // Don't check the functions if ext isn't reported anyway
22726     {
22727 
22728       EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_subsample)
22729     }
22730     else
22731     {
22732       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22733     }
22734   }
22735   
22738   void InitGL_SGIS_generate_mipmap ()
22739   {
22740     if (tested_CS_GL_SGIS_generate_mipmap) return;
22741     if (!extstrGL) return;
22742     tested_CS_GL_SGIS_generate_mipmap = true;
22743     const char* ext = "GL_SGIS_generate_mipmap";
22744 
22745     char cfgkey[26 + 23 + 1];
22746     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22747     
22748     CS_GL_SGIS_generate_mipmap = CheckExtension (extstrGL, ext);
22749 
22750     bool allclear, funcTest;
22751     (void)funcTest; // shut up "variable unused" warnings
22752     bool init = CS_GL_SGIS_generate_mipmap;
22753     allclear = true;
22754     if (init)   // Don't check the functions if ext isn't reported anyway
22755     {
22756 
22757       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_generate_mipmap)
22758     }
22759     else
22760     {
22761       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22762     }
22763   }
22764   
22767   void InitGL_SGIS_multisample ()
22768   {
22769     if (tested_CS_GL_SGIS_multisample) return;
22770     if (!extstrGL) return;
22771     tested_CS_GL_SGIS_multisample = true;
22772     const char* ext = "GL_SGIS_multisample";
22773 
22774     char cfgkey[26 + 19 + 1];
22775     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22776     
22777     CS_GL_SGIS_multisample = CheckExtension (extstrGL, ext);
22778 
22779     bool allclear, funcTest;
22780     (void)funcTest; // shut up "variable unused" warnings
22781     bool init = CS_GL_SGIS_multisample;
22782     allclear = true;
22783     if (init)   // Don't check the functions if ext isn't reported anyway
22784     {
22785       EXTMGR_FUNC_INIT(glSampleMaskSGIS, GLSAMPLEMASKSGIS);
22786       EXTMGR_FUNC_INIT(glSamplePatternSGIS, GLSAMPLEPATTERNSGIS);
22787 
22788       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_multisample)
22789     }
22790     else
22791     {
22792       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22793     }
22794   }
22795   
22798   void InitGL_SGIS_pixel_texture ()
22799   {
22800     if (tested_CS_GL_SGIS_pixel_texture) return;
22801     if (!extstrGL) return;
22802     tested_CS_GL_SGIS_pixel_texture = true;
22803     const char* ext = "GL_SGIS_pixel_texture";
22804 
22805     char cfgkey[26 + 21 + 1];
22806     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22807     
22808     CS_GL_SGIS_pixel_texture = CheckExtension (extstrGL, ext);
22809 
22810     bool allclear, funcTest;
22811     (void)funcTest; // shut up "variable unused" warnings
22812     bool init = CS_GL_SGIS_pixel_texture;
22813     allclear = true;
22814     if (init)   // Don't check the functions if ext isn't reported anyway
22815     {
22816       EXTMGR_FUNC_INIT(glPixelTexGenParameteriSGIS, GLPIXELTEXGENPARAMETERISGIS);
22817       EXTMGR_FUNC_INIT(glPixelTexGenParameterfSGIS, GLPIXELTEXGENPARAMETERFSGIS);
22818       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterivSGIS, GLGETPIXELTEXGENPARAMETERIVSGIS);
22819       EXTMGR_FUNC_INIT(glGetPixelTexGenParameterfvSGIS, GLGETPIXELTEXGENPARAMETERFVSGIS);
22820 
22821       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_pixel_texture)
22822     }
22823     else
22824     {
22825       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22826     }
22827   }
22828   
22831   void InitGL_SGIS_texture_border_clamp ()
22832   {
22833     if (tested_CS_GL_SGIS_texture_border_clamp) return;
22834     if (!extstrGL) return;
22835     tested_CS_GL_SGIS_texture_border_clamp = true;
22836     const char* ext = "GL_SGIS_texture_border_clamp";
22837 
22838     char cfgkey[26 + 28 + 1];
22839     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22840     
22841     CS_GL_SGIS_texture_border_clamp = CheckExtension (extstrGL, ext);
22842 
22843     bool allclear, funcTest;
22844     (void)funcTest; // shut up "variable unused" warnings
22845     bool init = CS_GL_SGIS_texture_border_clamp;
22846     allclear = true;
22847     if (init)   // Don't check the functions if ext isn't reported anyway
22848     {
22849 
22850       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_border_clamp)
22851     }
22852     else
22853     {
22854       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22855     }
22856   }
22857   
22860   void InitGL_SGIS_texture_color_mask ()
22861   {
22862     if (tested_CS_GL_SGIS_texture_color_mask) return;
22863     if (!extstrGL) return;
22864     tested_CS_GL_SGIS_texture_color_mask = true;
22865     const char* ext = "GL_SGIS_texture_color_mask";
22866 
22867     char cfgkey[26 + 26 + 1];
22868     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22869     
22870     CS_GL_SGIS_texture_color_mask = CheckExtension (extstrGL, ext);
22871 
22872     bool allclear, funcTest;
22873     (void)funcTest; // shut up "variable unused" warnings
22874     bool init = CS_GL_SGIS_texture_color_mask;
22875     allclear = true;
22876     if (init)   // Don't check the functions if ext isn't reported anyway
22877     {
22878       EXTMGR_FUNC_INIT(glTextureColorMaskSGIS, GLTEXTURECOLORMASKSGIS);
22879 
22880       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_color_mask)
22881     }
22882     else
22883     {
22884       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22885     }
22886   }
22887   
22890   void InitGL_SGIS_texture_edge_clamp ()
22891   {
22892     if (tested_CS_GL_SGIS_texture_edge_clamp) return;
22893     if (!extstrGL) return;
22894     tested_CS_GL_SGIS_texture_edge_clamp = true;
22895     const char* ext = "GL_SGIS_texture_edge_clamp";
22896 
22897     char cfgkey[26 + 26 + 1];
22898     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22899     
22900     CS_GL_SGIS_texture_edge_clamp = CheckExtension (extstrGL, ext);
22901 
22902     bool allclear, funcTest;
22903     (void)funcTest; // shut up "variable unused" warnings
22904     bool init = CS_GL_SGIS_texture_edge_clamp;
22905     allclear = true;
22906     if (init)   // Don't check the functions if ext isn't reported anyway
22907     {
22908 
22909       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_edge_clamp)
22910     }
22911     else
22912     {
22913       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22914     }
22915   }
22916   
22919   void InitGL_SGIS_texture_lod ()
22920   {
22921     if (tested_CS_GL_SGIS_texture_lod) return;
22922     if (!extstrGL) return;
22923     tested_CS_GL_SGIS_texture_lod = true;
22924     const char* ext = "GL_SGIS_texture_lod";
22925 
22926     char cfgkey[26 + 19 + 1];
22927     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22928     
22929     CS_GL_SGIS_texture_lod = CheckExtension (extstrGL, ext);
22930 
22931     bool allclear, funcTest;
22932     (void)funcTest; // shut up "variable unused" warnings
22933     bool init = CS_GL_SGIS_texture_lod;
22934     allclear = true;
22935     if (init)   // Don't check the functions if ext isn't reported anyway
22936     {
22937 
22938       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_lod)
22939     }
22940     else
22941     {
22942       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22943     }
22944   }
22945   
22948   void InitGL_SGIS_depth_texture ()
22949   {
22950     if (tested_CS_GL_SGIS_depth_texture) return;
22951     if (!extstrGL) return;
22952     tested_CS_GL_SGIS_depth_texture = true;
22953     const char* ext = "GL_SGIS_depth_texture";
22954 
22955     char cfgkey[26 + 21 + 1];
22956     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22957     
22958     CS_GL_SGIS_depth_texture = CheckExtension (extstrGL, ext);
22959 
22960     bool allclear, funcTest;
22961     (void)funcTest; // shut up "variable unused" warnings
22962     bool init = CS_GL_SGIS_depth_texture;
22963     allclear = true;
22964     if (init)   // Don't check the functions if ext isn't reported anyway
22965     {
22966 
22967       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_depth_texture)
22968     }
22969     else
22970     {
22971       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
22972     }
22973   }
22974   
22977   void InitGL_SGIX_fog_offset ()
22978   {
22979     if (tested_CS_GL_SGIX_fog_offset) return;
22980     if (!extstrGL) return;
22981     tested_CS_GL_SGIX_fog_offset = true;
22982     const char* ext = "GL_SGIX_fog_offset";
22983 
22984     char cfgkey[26 + 18 + 1];
22985     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
22986     
22987     CS_GL_SGIX_fog_offset = CheckExtension (extstrGL, ext);
22988 
22989     bool allclear, funcTest;
22990     (void)funcTest; // shut up "variable unused" warnings
22991     bool init = CS_GL_SGIX_fog_offset;
22992     allclear = true;
22993     if (init)   // Don't check the functions if ext isn't reported anyway
22994     {
22995 
22996       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_fog_offset)
22997     }
22998     else
22999     {
23000       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23001     }
23002   }
23003   
23006   void InitGL_SGIX_interlace ()
23007   {
23008     if (tested_CS_GL_SGIX_interlace) return;
23009     if (!extstrGL) return;
23010     tested_CS_GL_SGIX_interlace = true;
23011     const char* ext = "GL_SGIX_interlace";
23012 
23013     char cfgkey[26 + 17 + 1];
23014     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23015     
23016     CS_GL_SGIX_interlace = CheckExtension (extstrGL, ext);
23017 
23018     bool allclear, funcTest;
23019     (void)funcTest; // shut up "variable unused" warnings
23020     bool init = CS_GL_SGIX_interlace;
23021     allclear = true;
23022     if (init)   // Don't check the functions if ext isn't reported anyway
23023     {
23024 
23025       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_interlace)
23026     }
23027     else
23028     {
23029       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23030     }
23031   }
23032   
23035   void InitGL_SGIX_shadow_ambient ()
23036   {
23037     if (tested_CS_GL_SGIX_shadow_ambient) return;
23038     if (!extstrGL) return;
23039     tested_CS_GL_SGIX_shadow_ambient = true;
23040     const char* ext = "GL_SGIX_shadow_ambient";
23041 
23042     char cfgkey[26 + 22 + 1];
23043     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23044     
23045     CS_GL_SGIX_shadow_ambient = CheckExtension (extstrGL, ext);
23046 
23047     bool allclear, funcTest;
23048     (void)funcTest; // shut up "variable unused" warnings
23049     bool init = CS_GL_SGIX_shadow_ambient;
23050     allclear = true;
23051     if (init)   // Don't check the functions if ext isn't reported anyway
23052     {
23053 
23054       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_shadow_ambient)
23055     }
23056     else
23057     {
23058       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23059     }
23060   }
23061   
23064   void InitGL_SGI_color_matrix ()
23065   {
23066     if (tested_CS_GL_SGI_color_matrix) return;
23067     if (!extstrGL) return;
23068     tested_CS_GL_SGI_color_matrix = true;
23069     const char* ext = "GL_SGI_color_matrix";
23070 
23071     char cfgkey[26 + 19 + 1];
23072     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23073     
23074     CS_GL_SGI_color_matrix = CheckExtension (extstrGL, ext);
23075 
23076     bool allclear, funcTest;
23077     (void)funcTest; // shut up "variable unused" warnings
23078     bool init = CS_GL_SGI_color_matrix;
23079     allclear = true;
23080     if (init)   // Don't check the functions if ext isn't reported anyway
23081     {
23082 
23083       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_matrix)
23084     }
23085     else
23086     {
23087       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23088     }
23089   }
23090   
23093   void InitGL_SGI_color_table ()
23094   {
23095     if (tested_CS_GL_SGI_color_table) return;
23096     if (!extstrGL) return;
23097     tested_CS_GL_SGI_color_table = true;
23098     const char* ext = "GL_SGI_color_table";
23099 
23100     char cfgkey[26 + 18 + 1];
23101     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23102     
23103     CS_GL_SGI_color_table = CheckExtension (extstrGL, ext);
23104 
23105     bool allclear, funcTest;
23106     (void)funcTest; // shut up "variable unused" warnings
23107     bool init = CS_GL_SGI_color_table;
23108     allclear = true;
23109     if (init)   // Don't check the functions if ext isn't reported anyway
23110     {
23111       EXTMGR_FUNC_INIT(glColorTableSGI, GLCOLORTABLESGI);
23112       EXTMGR_FUNC_INIT(glCopyColorTableSGI, GLCOPYCOLORTABLESGI);
23113       EXTMGR_FUNC_INIT(glColorTableParameterivSGI, GLCOLORTABLEPARAMETERIVSGI);
23114       EXTMGR_FUNC_INIT(glColorTableParameterfvSGI, GLCOLORTABLEPARAMETERFVSGI);
23115       EXTMGR_FUNC_INIT(glGetColorTableSGI, GLGETCOLORTABLESGI);
23116       EXTMGR_FUNC_INIT(glGetColorTableParameterivSGI, GLGETCOLORTABLEPARAMETERIVSGI);
23117       EXTMGR_FUNC_INIT(glGetColorTableParameterfvSGI, GLGETCOLORTABLEPARAMETERFVSGI);
23118 
23119       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_table)
23120     }
23121     else
23122     {
23123       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23124     }
23125   }
23126   
23129   void InitGL_SGI_texture_color_table ()
23130   {
23131     if (tested_CS_GL_SGI_texture_color_table) return;
23132     if (!extstrGL) return;
23133     tested_CS_GL_SGI_texture_color_table = true;
23134     const char* ext = "GL_SGI_texture_color_table";
23135 
23136     char cfgkey[26 + 26 + 1];
23137     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23138     
23139     CS_GL_SGI_texture_color_table = CheckExtension (extstrGL, ext);
23140 
23141     bool allclear, funcTest;
23142     (void)funcTest; // shut up "variable unused" warnings
23143     bool init = CS_GL_SGI_texture_color_table;
23144     allclear = true;
23145     if (init)   // Don't check the functions if ext isn't reported anyway
23146     {
23147 
23148       EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_texture_color_table)
23149     }
23150     else
23151     {
23152       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23153     }
23154   }
23155   
23158   void InitGL_SUN_vertex ()
23159   {
23160     if (tested_CS_GL_SUN_vertex) return;
23161     if (!extstrGL) return;
23162     tested_CS_GL_SUN_vertex = true;
23163     const char* ext = "GL_SUN_vertex";
23164 
23165     char cfgkey[26 + 13 + 1];
23166     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23167     
23168     CS_GL_SUN_vertex = CheckExtension (extstrGL, ext);
23169 
23170     bool allclear, funcTest;
23171     (void)funcTest; // shut up "variable unused" warnings
23172     bool init = CS_GL_SUN_vertex;
23173     allclear = true;
23174     if (init)   // Don't check the functions if ext isn't reported anyway
23175     {
23176       EXTMGR_FUNC_INIT(glColor4ubVertex2fSUN, GLCOLOR4UBVERTEX2FSUN);
23177       EXTMGR_FUNC_INIT(glColor4ubVertex2fvSUN, GLCOLOR4UBVERTEX2FVSUN);
23178       EXTMGR_FUNC_INIT(glColor4ubVertex3fSUN, GLCOLOR4UBVERTEX3FSUN);
23179       EXTMGR_FUNC_INIT(glColor4ubVertex3fvSUN, GLCOLOR4UBVERTEX3FVSUN);
23180       EXTMGR_FUNC_INIT(glColor3fVertex3fSUN, GLCOLOR3FVERTEX3FSUN);
23181       EXTMGR_FUNC_INIT(glColor3fVertex3fvSUN, GLCOLOR3FVERTEX3FVSUN);
23182       EXTMGR_FUNC_INIT(glNormal3fVertex3fSUN, GLNORMAL3FVERTEX3FSUN);
23183       EXTMGR_FUNC_INIT(glNormal3fVertex3fvSUN, GLNORMAL3FVERTEX3FVSUN);
23184       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fSUN, GLCOLOR4FNORMAL3FVERTEX3FSUN);
23185       EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fvSUN, GLCOLOR4FNORMAL3FVERTEX3FVSUN);
23186       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fSUN, GLTEXCOORD2FVERTEX3FSUN);
23187       EXTMGR_FUNC_INIT(glTexCoord2fVertex3fvSUN, GLTEXCOORD2FVERTEX3FVSUN);
23188       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fSUN, GLTEXCOORD4FVERTEX4FSUN);
23189       EXTMGR_FUNC_INIT(glTexCoord4fVertex4fvSUN, GLTEXCOORD4FVERTEX4FVSUN);
23190       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FSUN);
23191       EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fvSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN);
23192       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fSUN, GLTEXCOORD2FCOLOR3FVERTEX3FSUN);
23193       EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fvSUN, GLTEXCOORD2FCOLOR3FVERTEX3FVSUN);
23194       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fSUN, GLTEXCOORD2FNORMAL3FVERTEX3FSUN);
23195       EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fvSUN, GLTEXCOORD2FNORMAL3FVERTEX3FVSUN);
23196       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
23197       EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fvSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
23198       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN);
23199       EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fvSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN);
23200       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fSUN, GLREPLACEMENTCODEUIVERTEX3FSUN);
23201       EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fvSUN, GLREPLACEMENTCODEUIVERTEX3FVSUN);
23202       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN);
23203       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN);
23204       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN);
23205       EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN);
23206       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN);
23207       EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fvSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN);
23208       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN);
23209       EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN);
23210       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN);
23211       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN);
23212       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN);
23213       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN);
23214       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN);
23215       EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN);
23216 
23217       EXTMGR_REPORT_INIT_RESULT("GL", GL_SUN_vertex)
23218     }
23219     else
23220     {
23221       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23222     }
23223   }
23224   
23227   void InitGL_ARB_fragment_program ()
23228   {
23229     if (tested_CS_GL_ARB_fragment_program) return;
23230     if (!extstrGL) return;
23231     tested_CS_GL_ARB_fragment_program = true;
23232     const char* ext = "GL_ARB_fragment_program";
23233 
23234     char cfgkey[26 + 23 + 1];
23235     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23236     
23237     CS_GL_ARB_fragment_program = CheckExtension (extstrGL, ext);
23238 
23239     bool allclear, funcTest;
23240     (void)funcTest; // shut up "variable unused" warnings
23241     bool init = CS_GL_ARB_fragment_program;
23242     allclear = true;
23243     if (init)   // Don't check the functions if ext isn't reported anyway
23244     {
23245       EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB);
23246       EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB);
23247       EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB);
23248       EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB);
23249       EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB);
23250       EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB);
23251       EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB);
23252       EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB);
23253       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
23254       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
23255       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
23256       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
23257       EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB);
23258       EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB);
23259       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
23260       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
23261       EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB);
23262       EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB);
23263       EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB);
23264 
23265       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_program)
23266     }
23267     else
23268     {
23269       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23270     }
23271   }
23272   
23275   void InitGL_ATI_text_fragment_shader ()
23276   {
23277     if (tested_CS_GL_ATI_text_fragment_shader) return;
23278     if (!extstrGL) return;
23279     tested_CS_GL_ATI_text_fragment_shader = true;
23280     const char* ext = "GL_ATI_text_fragment_shader";
23281 
23282     char cfgkey[26 + 27 + 1];
23283     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23284     
23285     CS_GL_ATI_text_fragment_shader = CheckExtension (extstrGL, ext);
23286 
23287     bool allclear, funcTest;
23288     (void)funcTest; // shut up "variable unused" warnings
23289     bool init = CS_GL_ATI_text_fragment_shader;
23290     allclear = true;
23291     if (init)   // Don't check the functions if ext isn't reported anyway
23292     {
23293 
23294       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_text_fragment_shader)
23295     }
23296     else
23297     {
23298       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23299     }
23300   }
23301   
23304   void InitGL_APPLE_client_storage ()
23305   {
23306     if (tested_CS_GL_APPLE_client_storage) return;
23307     if (!extstrGL) return;
23308     tested_CS_GL_APPLE_client_storage = true;
23309     const char* ext = "GL_APPLE_client_storage";
23310 
23311     char cfgkey[26 + 23 + 1];
23312     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23313     
23314     CS_GL_APPLE_client_storage = CheckExtension (extstrGL, ext);
23315 
23316     bool allclear, funcTest;
23317     (void)funcTest; // shut up "variable unused" warnings
23318     bool init = CS_GL_APPLE_client_storage;
23319     allclear = true;
23320     if (init)   // Don't check the functions if ext isn't reported anyway
23321     {
23322 
23323       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_client_storage)
23324     }
23325     else
23326     {
23327       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23328     }
23329   }
23330   
23333   void InitGL_APPLE_element_array ()
23334   {
23335     if (tested_CS_GL_APPLE_element_array) return;
23336     if (!extstrGL) return;
23337     tested_CS_GL_APPLE_element_array = true;
23338     const char* ext = "GL_APPLE_element_array";
23339 
23340     char cfgkey[26 + 22 + 1];
23341     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23342     
23343     CS_GL_APPLE_element_array = CheckExtension (extstrGL, ext);
23344 
23345     bool allclear, funcTest;
23346     (void)funcTest; // shut up "variable unused" warnings
23347     bool init = CS_GL_APPLE_element_array;
23348     allclear = true;
23349     if (init)   // Don't check the functions if ext isn't reported anyway
23350     {
23351       EXTMGR_FUNC_INIT(glElementPointerAPPLE, GLELEMENTPOINTERAPPLE);
23352       EXTMGR_FUNC_INIT(glDrawElementArrayAPPLE, GLDRAWELEMENTARRAYAPPLE);
23353       EXTMGR_FUNC_INIT(glDrawRangeElementArrayAPPLE, GLDRAWRANGEELEMENTARRAYAPPLE);
23354       EXTMGR_FUNC_INIT(glMultiDrawElementArrayAPPLE, GLMULTIDRAWELEMENTARRAYAPPLE);
23355       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayAPPLE, GLMULTIDRAWRANGEELEMENTARRAYAPPLE);
23356 
23357       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_element_array)
23358     }
23359     else
23360     {
23361       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23362     }
23363   }
23364   
23367   void InitGL_APPLE_fence ()
23368   {
23369     if (tested_CS_GL_APPLE_fence) return;
23370     if (!extstrGL) return;
23371     tested_CS_GL_APPLE_fence = true;
23372     const char* ext = "GL_APPLE_fence";
23373 
23374     char cfgkey[26 + 14 + 1];
23375     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23376     
23377     CS_GL_APPLE_fence = CheckExtension (extstrGL, ext);
23378 
23379     bool allclear, funcTest;
23380     (void)funcTest; // shut up "variable unused" warnings
23381     bool init = CS_GL_APPLE_fence;
23382     allclear = true;
23383     if (init)   // Don't check the functions if ext isn't reported anyway
23384     {
23385       EXTMGR_FUNC_INIT(glGenFencesAPPLE, GLGENFENCESAPPLE);
23386       EXTMGR_FUNC_INIT(glDeleteFencesAPPLE, GLDELETEFENCESAPPLE);
23387       EXTMGR_FUNC_INIT(glSetFenceAPPLE, GLSETFENCEAPPLE);
23388       EXTMGR_FUNC_INIT(glIsFenceAPPLE, GLISFENCEAPPLE);
23389       EXTMGR_FUNC_INIT(glTestFenceAPPLE, GLTESTFENCEAPPLE);
23390       EXTMGR_FUNC_INIT(glFinishFenceAPPLE, GLFINISHFENCEAPPLE);
23391       EXTMGR_FUNC_INIT(glTestObjectAPPLE, GLTESTOBJECTAPPLE);
23392       EXTMGR_FUNC_INIT(glFinishObjectAPPLE, GLFINISHOBJECTAPPLE);
23393 
23394       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_fence)
23395     }
23396     else
23397     {
23398       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23399     }
23400   }
23401   
23404   void InitGL_APPLE_vertex_array_object ()
23405   {
23406     if (tested_CS_GL_APPLE_vertex_array_object) return;
23407     if (!extstrGL) return;
23408     tested_CS_GL_APPLE_vertex_array_object = true;
23409     const char* ext = "GL_APPLE_vertex_array_object";
23410 
23411     char cfgkey[26 + 28 + 1];
23412     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23413     
23414     CS_GL_APPLE_vertex_array_object = CheckExtension (extstrGL, ext);
23415 
23416     bool allclear, funcTest;
23417     (void)funcTest; // shut up "variable unused" warnings
23418     bool init = CS_GL_APPLE_vertex_array_object;
23419     allclear = true;
23420     if (init)   // Don't check the functions if ext isn't reported anyway
23421     {
23422       EXTMGR_FUNC_INIT(glBindVertexArrayAPPLE, GLBINDVERTEXARRAYAPPLE);
23423       EXTMGR_FUNC_INIT(glDeleteVertexArraysAPPLE, GLDELETEVERTEXARRAYSAPPLE);
23424       EXTMGR_FUNC_INIT(glGenVertexArraysAPPLE, GLGENVERTEXARRAYSAPPLE);
23425       EXTMGR_FUNC_INIT(glIsVertexArrayAPPLE, GLISVERTEXARRAYAPPLE);
23426 
23427       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_object)
23428     }
23429     else
23430     {
23431       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23432     }
23433   }
23434   
23437   void InitGL_APPLE_vertex_array_range ()
23438   {
23439     if (tested_CS_GL_APPLE_vertex_array_range) return;
23440     if (!extstrGL) return;
23441     tested_CS_GL_APPLE_vertex_array_range = true;
23442     const char* ext = "GL_APPLE_vertex_array_range";
23443 
23444     char cfgkey[26 + 27 + 1];
23445     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23446     
23447     CS_GL_APPLE_vertex_array_range = CheckExtension (extstrGL, ext);
23448 
23449     bool allclear, funcTest;
23450     (void)funcTest; // shut up "variable unused" warnings
23451     bool init = CS_GL_APPLE_vertex_array_range;
23452     allclear = true;
23453     if (init)   // Don't check the functions if ext isn't reported anyway
23454     {
23455       EXTMGR_FUNC_INIT(glVertexArrayRangeAPPLE, GLVERTEXARRAYRANGEAPPLE);
23456       EXTMGR_FUNC_INIT(glFlushVertexArrayRangeAPPLE, GLFLUSHVERTEXARRAYRANGEAPPLE);
23457       EXTMGR_FUNC_INIT(glVertexArrayParameteriAPPLE, GLVERTEXARRAYPARAMETERIAPPLE);
23458 
23459       EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_range)
23460     }
23461     else
23462     {
23463       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23464     }
23465   }
23466   
23467 #ifdef _WIN32
23468 
23470   void InitWGL_ARB_pixel_format (HDC hDC)
23471   {
23472     if (tested_CS_WGL_ARB_pixel_format) return;
23473     tested_CS_WGL_ARB_pixel_format = true;
23474     const char* ext = "WGL_ARB_pixel_format";
23475     char cfgkey[26 + 20 + 1];
23476     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23477     
23478     (void)hDC;      // avoid `unused variable' warning.
23479     SetupWGLextStr (hDC);
23480     if (!extstrWGL) return;
23481     CS_WGL_ARB_pixel_format = CheckExtension (extstrWGL, ext);
23482 
23483     bool allclear, funcTest;
23484     (void)funcTest; // avoid `unused variable' warning.
23485     bool init = CS_WGL_ARB_pixel_format;
23486     allclear = true;
23487     if (init)
23488     {
23489       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivARB, WGLGETPIXELFORMATATTRIBIVARB);
23490       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvARB, WGLGETPIXELFORMATATTRIBFVARB);
23491       EXTMGR_FUNC_INIT(wglChoosePixelFormatARB, WGLCHOOSEPIXELFORMATARB);
23492 
23493       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pixel_format)
23494       CS_WGL_ARB_pixel_format &= allclear;
23495     }
23496     else
23497     {
23498       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23499     }
23500   }
23501 #endif
23502 
23503 #ifdef _WIN32
23504 
23506   void InitWGL_ARB_make_current_read (HDC hDC)
23507   {
23508     if (tested_CS_WGL_ARB_make_current_read) return;
23509     tested_CS_WGL_ARB_make_current_read = true;
23510     const char* ext = "WGL_ARB_make_current_read";
23511     char cfgkey[26 + 25 + 1];
23512     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23513     
23514     (void)hDC;      // avoid `unused variable' warning.
23515     SetupWGLextStr (hDC);
23516     if (!extstrWGL) return;
23517     CS_WGL_ARB_make_current_read = CheckExtension (extstrWGL, ext);
23518 
23519     bool allclear, funcTest;
23520     (void)funcTest; // avoid `unused variable' warning.
23521     bool init = CS_WGL_ARB_make_current_read;
23522     allclear = true;
23523     if (init)
23524     {
23525       EXTMGR_FUNC_INIT(wglMakeContextCurrentARB, WGLMAKECONTEXTCURRENTARB);
23526       EXTMGR_FUNC_INIT(wglGetCurrentReadDCARB, WGLGETCURRENTREADDCARB);
23527 
23528       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_make_current_read)
23529       CS_WGL_ARB_make_current_read &= allclear;
23530     }
23531     else
23532     {
23533       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23534     }
23535   }
23536 #endif
23537 
23538 #ifdef _WIN32
23539 
23541   void InitWGL_ARB_pbuffer (HDC hDC)
23542   {
23543     if (tested_CS_WGL_ARB_pbuffer) return;
23544     tested_CS_WGL_ARB_pbuffer = true;
23545     const char* ext = "WGL_ARB_pbuffer";
23546     char cfgkey[26 + 15 + 1];
23547     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23548     
23549     (void)hDC;      // avoid `unused variable' warning.
23550     SetupWGLextStr (hDC);
23551     if (!extstrWGL) return;
23552     CS_WGL_ARB_pbuffer = CheckExtension (extstrWGL, ext);
23553 
23554     bool allclear, funcTest;
23555     (void)funcTest; // avoid `unused variable' warning.
23556     bool init = CS_WGL_ARB_pbuffer;
23557     allclear = true;
23558     if (init)
23559     {
23560       EXTMGR_FUNC_INIT(wglCreatePbufferARB, WGLCREATEPBUFFERARB);
23561       EXTMGR_FUNC_INIT(wglGetPbufferDCARB, WGLGETPBUFFERDCARB);
23562       EXTMGR_FUNC_INIT(wglReleasePbufferDCARB, WGLRELEASEPBUFFERDCARB);
23563       EXTMGR_FUNC_INIT(wglDestroyPbufferARB, WGLDESTROYPBUFFERARB);
23564       EXTMGR_FUNC_INIT(wglQueryPbufferARB, WGLQUERYPBUFFERARB);
23565 
23566       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pbuffer)
23567       CS_WGL_ARB_pbuffer &= allclear;
23568     }
23569     else
23570     {
23571       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23572     }
23573   }
23574 #endif
23575 
23576 #ifdef _WIN32
23577 
23579   void InitWGL_EXT_swap_control (HDC hDC)
23580   {
23581     if (tested_CS_WGL_EXT_swap_control) return;
23582     tested_CS_WGL_EXT_swap_control = true;
23583     const char* ext = "WGL_EXT_swap_control";
23584     char cfgkey[26 + 20 + 1];
23585     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23586     
23587     (void)hDC;      // avoid `unused variable' warning.
23588     SetupWGLextStr (hDC);
23589     if (!extstrWGL) return;
23590     CS_WGL_EXT_swap_control = CheckExtension (extstrWGL, ext);
23591 
23592     bool allclear, funcTest;
23593     (void)funcTest; // avoid `unused variable' warning.
23594     bool init = CS_WGL_EXT_swap_control;
23595     allclear = true;
23596     if (init)
23597     {
23598       EXTMGR_FUNC_INIT(wglSwapIntervalEXT, WGLSWAPINTERVALEXT);
23599       EXTMGR_FUNC_INIT(wglGetSwapIntervalEXT, WGLGETSWAPINTERVALEXT);
23600 
23601       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_swap_control)
23602       CS_WGL_EXT_swap_control &= allclear;
23603     }
23604     else
23605     {
23606       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23607     }
23608   }
23609 #endif
23610 
23611 #ifdef _WIN32
23612 
23614   void InitWGL_ARB_render_texture (HDC hDC)
23615   {
23616     if (tested_CS_WGL_ARB_render_texture) return;
23617     tested_CS_WGL_ARB_render_texture = true;
23618     const char* ext = "WGL_ARB_render_texture";
23619     char cfgkey[26 + 22 + 1];
23620     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23621     
23622     (void)hDC;      // avoid `unused variable' warning.
23623     SetupWGLextStr (hDC);
23624     if (!extstrWGL) return;
23625     CS_WGL_ARB_render_texture = CheckExtension (extstrWGL, ext);
23626 
23627     bool allclear, funcTest;
23628     (void)funcTest; // avoid `unused variable' warning.
23629     bool init = CS_WGL_ARB_render_texture;
23630     allclear = true;
23631     if (init)
23632     {
23633       EXTMGR_FUNC_INIT(wglBindTexImageARB, WGLBINDTEXIMAGEARB);
23634       EXTMGR_FUNC_INIT(wglReleaseTexImageARB, WGLRELEASETEXIMAGEARB);
23635       EXTMGR_FUNC_INIT(wglSetPbufferAttribARB, WGLSETPBUFFERATTRIBARB);
23636 
23637       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_render_texture)
23638       CS_WGL_ARB_render_texture &= allclear;
23639     }
23640     else
23641     {
23642       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23643     }
23644   }
23645 #endif
23646 
23647 #ifdef _WIN32
23648 
23650   void InitWGL_EXT_extensions_string (HDC hDC)
23651   {
23652     if (tested_CS_WGL_EXT_extensions_string) return;
23653     tested_CS_WGL_EXT_extensions_string = true;
23654     const char* ext = "WGL_EXT_extensions_string";
23655     char cfgkey[26 + 25 + 1];
23656     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23657     
23658     (void)hDC;      // avoid `unused variable' warning.
23659     SetupWGLextStr (hDC);
23660     if (!extstrWGL) return;
23661     CS_WGL_EXT_extensions_string = CheckExtension (extstrWGL, ext);
23662 
23663     bool allclear, funcTest;
23664     (void)funcTest; // avoid `unused variable' warning.
23665     bool init = CS_WGL_EXT_extensions_string;
23666     allclear = true;
23667     if (init)
23668     {
23669       EXTMGR_FUNC_INIT(wglGetExtensionsStringEXT, WGLGETEXTENSIONSSTRINGEXT);
23670 
23671       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_extensions_string)
23672       CS_WGL_EXT_extensions_string &= allclear;
23673     }
23674     else
23675     {
23676       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23677     }
23678   }
23679 #endif
23680 
23681 #ifdef _WIN32
23682 
23684   void InitWGL_EXT_make_current_read (HDC hDC)
23685   {
23686     if (tested_CS_WGL_EXT_make_current_read) return;
23687     tested_CS_WGL_EXT_make_current_read = true;
23688     const char* ext = "WGL_EXT_make_current_read";
23689     char cfgkey[26 + 25 + 1];
23690     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23691     
23692     (void)hDC;      // avoid `unused variable' warning.
23693     SetupWGLextStr (hDC);
23694     if (!extstrWGL) return;
23695     CS_WGL_EXT_make_current_read = CheckExtension (extstrWGL, ext);
23696 
23697     bool allclear, funcTest;
23698     (void)funcTest; // avoid `unused variable' warning.
23699     bool init = CS_WGL_EXT_make_current_read;
23700     allclear = true;
23701     if (init)
23702     {
23703       EXTMGR_FUNC_INIT(wglMakeContextCurrentEXT, WGLMAKECONTEXTCURRENTEXT);
23704       EXTMGR_FUNC_INIT(wglGetCurrentReadDCEXT, WGLGETCURRENTREADDCEXT);
23705 
23706       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_make_current_read)
23707       CS_WGL_EXT_make_current_read &= allclear;
23708     }
23709     else
23710     {
23711       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23712     }
23713   }
23714 #endif
23715 
23716 #ifdef _WIN32
23717 
23719   void InitWGL_EXT_pbuffer (HDC hDC)
23720   {
23721     if (tested_CS_WGL_EXT_pbuffer) return;
23722     tested_CS_WGL_EXT_pbuffer = true;
23723     const char* ext = "WGL_EXT_pbuffer";
23724     char cfgkey[26 + 15 + 1];
23725     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23726     
23727     (void)hDC;      // avoid `unused variable' warning.
23728     SetupWGLextStr (hDC);
23729     if (!extstrWGL) return;
23730     CS_WGL_EXT_pbuffer = CheckExtension (extstrWGL, ext);
23731 
23732     bool allclear, funcTest;
23733     (void)funcTest; // avoid `unused variable' warning.
23734     bool init = CS_WGL_EXT_pbuffer;
23735     allclear = true;
23736     if (init)
23737     {
23738       EXTMGR_FUNC_INIT(wglCreatePbufferEXT, WGLCREATEPBUFFEREXT);
23739       EXTMGR_FUNC_INIT(wglGetPbufferDCEXT, WGLGETPBUFFERDCEXT);
23740       EXTMGR_FUNC_INIT(wglReleasePbufferDCEXT, WGLRELEASEPBUFFERDCEXT);
23741       EXTMGR_FUNC_INIT(wglDestroyPbufferEXT, WGLDESTROYPBUFFEREXT);
23742       EXTMGR_FUNC_INIT(wglQueryPbufferEXT, WGLQUERYPBUFFEREXT);
23743 
23744       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pbuffer)
23745       CS_WGL_EXT_pbuffer &= allclear;
23746     }
23747     else
23748     {
23749       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23750     }
23751   }
23752 #endif
23753 
23754 #ifdef _WIN32
23755 
23757   void InitWGL_EXT_pixel_format (HDC hDC)
23758   {
23759     if (tested_CS_WGL_EXT_pixel_format) return;
23760     tested_CS_WGL_EXT_pixel_format = true;
23761     const char* ext = "WGL_EXT_pixel_format";
23762     char cfgkey[26 + 20 + 1];
23763     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23764     
23765     (void)hDC;      // avoid `unused variable' warning.
23766     SetupWGLextStr (hDC);
23767     if (!extstrWGL) return;
23768     CS_WGL_EXT_pixel_format = CheckExtension (extstrWGL, ext);
23769 
23770     bool allclear, funcTest;
23771     (void)funcTest; // avoid `unused variable' warning.
23772     bool init = CS_WGL_EXT_pixel_format;
23773     allclear = true;
23774     if (init)
23775     {
23776       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivEXT, WGLGETPIXELFORMATATTRIBIVEXT);
23777       EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvEXT, WGLGETPIXELFORMATATTRIBFVEXT);
23778       EXTMGR_FUNC_INIT(wglChoosePixelFormatEXT, WGLCHOOSEPIXELFORMATEXT);
23779 
23780       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pixel_format)
23781       CS_WGL_EXT_pixel_format &= allclear;
23782     }
23783     else
23784     {
23785       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23786     }
23787   }
23788 #endif
23789 
23790 #ifdef _WIN32
23791 
23793   void InitWGL_I3D_digital_video_control (HDC hDC)
23794   {
23795     if (tested_CS_WGL_I3D_digital_video_control) return;
23796     tested_CS_WGL_I3D_digital_video_control = true;
23797     const char* ext = "WGL_I3D_digital_video_control";
23798     char cfgkey[26 + 29 + 1];
23799     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23800     
23801     (void)hDC;      // avoid `unused variable' warning.
23802     SetupWGLextStr (hDC);
23803     if (!extstrWGL) return;
23804     CS_WGL_I3D_digital_video_control = CheckExtension (extstrWGL, ext);
23805 
23806     bool allclear, funcTest;
23807     (void)funcTest; // avoid `unused variable' warning.
23808     bool init = CS_WGL_I3D_digital_video_control;
23809     allclear = true;
23810     if (init)
23811     {
23812       EXTMGR_FUNC_INIT(wglGetDigitalVideoParametersI3D, WGLGETDIGITALVIDEOPARAMETERSI3D);
23813       EXTMGR_FUNC_INIT(wglSetDigitalVideoParametersI3D, WGLSETDIGITALVIDEOPARAMETERSI3D);
23814 
23815       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_digital_video_control)
23816       CS_WGL_I3D_digital_video_control &= allclear;
23817     }
23818     else
23819     {
23820       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23821     }
23822   }
23823 #endif
23824 
23825 #ifdef _WIN32
23826 
23828   void InitWGL_I3D_gamma (HDC hDC)
23829   {
23830     if (tested_CS_WGL_I3D_gamma) return;
23831     tested_CS_WGL_I3D_gamma = true;
23832     const char* ext = "WGL_I3D_gamma";
23833     char cfgkey[26 + 13 + 1];
23834     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23835     
23836     (void)hDC;      // avoid `unused variable' warning.
23837     SetupWGLextStr (hDC);
23838     if (!extstrWGL) return;
23839     CS_WGL_I3D_gamma = CheckExtension (extstrWGL, ext);
23840 
23841     bool allclear, funcTest;
23842     (void)funcTest; // avoid `unused variable' warning.
23843     bool init = CS_WGL_I3D_gamma;
23844     allclear = true;
23845     if (init)
23846     {
23847       EXTMGR_FUNC_INIT(wglGetGammaTableParametersI3D, WGLGETGAMMATABLEPARAMETERSI3D);
23848       EXTMGR_FUNC_INIT(wglSetGammaTableParametersI3D, WGLSETGAMMATABLEPARAMETERSI3D);
23849       EXTMGR_FUNC_INIT(wglGetGammaTableI3D, WGLGETGAMMATABLEI3D);
23850       EXTMGR_FUNC_INIT(wglSetGammaTableI3D, WGLSETGAMMATABLEI3D);
23851 
23852       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_gamma)
23853       CS_WGL_I3D_gamma &= allclear;
23854     }
23855     else
23856     {
23857       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23858     }
23859   }
23860 #endif
23861 
23862 #ifdef _WIN32
23863 
23865   void InitWGL_I3D_genlock (HDC hDC)
23866   {
23867     if (tested_CS_WGL_I3D_genlock) return;
23868     tested_CS_WGL_I3D_genlock = true;
23869     const char* ext = "WGL_I3D_genlock";
23870     char cfgkey[26 + 15 + 1];
23871     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23872     
23873     (void)hDC;      // avoid `unused variable' warning.
23874     SetupWGLextStr (hDC);
23875     if (!extstrWGL) return;
23876     CS_WGL_I3D_genlock = CheckExtension (extstrWGL, ext);
23877 
23878     bool allclear, funcTest;
23879     (void)funcTest; // avoid `unused variable' warning.
23880     bool init = CS_WGL_I3D_genlock;
23881     allclear = true;
23882     if (init)
23883     {
23884       EXTMGR_FUNC_INIT(wglEnableGenlockI3D, WGLENABLEGENLOCKI3D);
23885       EXTMGR_FUNC_INIT(wglDisableGenlockI3D, WGLDISABLEGENLOCKI3D);
23886       EXTMGR_FUNC_INIT(wglIsEnabledGenlockI3D, WGLISENABLEDGENLOCKI3D);
23887       EXTMGR_FUNC_INIT(wglGenlockSourceI3D, WGLGENLOCKSOURCEI3D);
23888       EXTMGR_FUNC_INIT(wglGetGenlockSourceI3D, WGLGETGENLOCKSOURCEI3D);
23889       EXTMGR_FUNC_INIT(wglGenlockSourceEdgeI3D, WGLGENLOCKSOURCEEDGEI3D);
23890       EXTMGR_FUNC_INIT(wglGetGenlockSourceEdgeI3D, WGLGETGENLOCKSOURCEEDGEI3D);
23891       EXTMGR_FUNC_INIT(wglGenlockSampleRateI3D, WGLGENLOCKSAMPLERATEI3D);
23892       EXTMGR_FUNC_INIT(wglGetGenlockSampleRateI3D, WGLGETGENLOCKSAMPLERATEI3D);
23893       EXTMGR_FUNC_INIT(wglGenlockSourceDelayI3D, WGLGENLOCKSOURCEDELAYI3D);
23894       EXTMGR_FUNC_INIT(wglGetGenlockSourceDelayI3D, WGLGETGENLOCKSOURCEDELAYI3D);
23895       EXTMGR_FUNC_INIT(wglQueryGenlockMaxSourceDelayI3D, WGLQUERYGENLOCKMAXSOURCEDELAYI3D);
23896 
23897       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_genlock)
23898       CS_WGL_I3D_genlock &= allclear;
23899     }
23900     else
23901     {
23902       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
23903     }
23904   }
23905 #endif
23906 
23909   void InitGL_ARB_matrix_palette ()
23910   {
23911     if (tested_CS_GL_ARB_matrix_palette) return;
23912     if (!extstrGL) return;
23913     tested_CS_GL_ARB_matrix_palette = true;
23914     const char* ext = "GL_ARB_matrix_palette";
23915 
23916     char cfgkey[26 + 21 + 1];
23917     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23918     
23919     CS_GL_ARB_matrix_palette = CheckExtension (extstrGL, ext);
23920 
23921     bool allclear, funcTest;
23922     (void)funcTest; // shut up "variable unused" warnings
23923     bool init = CS_GL_ARB_matrix_palette;
23924     allclear = true;
23925     if (init)   // Don't check the functions if ext isn't reported anyway
23926     {
23927       EXTMGR_FUNC_INIT(glCurrentPaletteMatrixARB, GLCURRENTPALETTEMATRIXARB);
23928       EXTMGR_FUNC_INIT(glMatrixIndexubvARB, GLMATRIXINDEXUBVARB);
23929       EXTMGR_FUNC_INIT(glMatrixIndexusvARB, GLMATRIXINDEXUSVARB);
23930       EXTMGR_FUNC_INIT(glMatrixIndexuivARB, GLMATRIXINDEXUIVARB);
23931       EXTMGR_FUNC_INIT(glMatrixIndexPointerARB, GLMATRIXINDEXPOINTERARB);
23932 
23933       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_matrix_palette)
23934     }
23935     else
23936     {
23937       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23938     }
23939   }
23940   
23943   void InitGL_NV_element_array ()
23944   {
23945     if (tested_CS_GL_NV_element_array) return;
23946     if (!extstrGL) return;
23947     tested_CS_GL_NV_element_array = true;
23948     const char* ext = "GL_NV_element_array";
23949 
23950     char cfgkey[26 + 19 + 1];
23951     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23952     
23953     CS_GL_NV_element_array = CheckExtension (extstrGL, ext);
23954 
23955     bool allclear, funcTest;
23956     (void)funcTest; // shut up "variable unused" warnings
23957     bool init = CS_GL_NV_element_array;
23958     allclear = true;
23959     if (init)   // Don't check the functions if ext isn't reported anyway
23960     {
23961       EXTMGR_FUNC_INIT(glElementPointerNV, GLELEMENTPOINTERNV);
23962       EXTMGR_FUNC_INIT(glDrawElementArrayNV, GLDRAWELEMENTARRAYNV);
23963       EXTMGR_FUNC_INIT(glDrawRangeElementArrayNV, GLDRAWRANGEELEMENTARRAYNV);
23964       EXTMGR_FUNC_INIT(glMultiDrawElementArrayNV, GLMULTIDRAWELEMENTARRAYNV);
23965       EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayNV, GLMULTIDRAWRANGEELEMENTARRAYNV);
23966 
23967       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_element_array)
23968     }
23969     else
23970     {
23971       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
23972     }
23973   }
23974   
23977   void InitGL_NV_float_buffer ()
23978   {
23979     if (tested_CS_GL_NV_float_buffer) return;
23980     if (!extstrGL) return;
23981     tested_CS_GL_NV_float_buffer = true;
23982     const char* ext = "GL_NV_float_buffer";
23983 
23984     char cfgkey[26 + 18 + 1];
23985     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
23986     
23987     CS_GL_NV_float_buffer = CheckExtension (extstrGL, ext);
23988 
23989     bool allclear, funcTest;
23990     (void)funcTest; // shut up "variable unused" warnings
23991     bool init = CS_GL_NV_float_buffer;
23992     allclear = true;
23993     if (init)   // Don't check the functions if ext isn't reported anyway
23994     {
23995 
23996       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_float_buffer)
23997     }
23998     else
23999     {
24000       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24001     }
24002   }
24003   
24006   void InitGL_NV_fragment_program ()
24007   {
24008     if (tested_CS_GL_NV_fragment_program) return;
24009     if (!extstrGL) return;
24010     tested_CS_GL_NV_fragment_program = true;
24011     const char* ext = "GL_NV_fragment_program";
24012 
24013     char cfgkey[26 + 22 + 1];
24014     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24015     
24016     CS_GL_NV_fragment_program = CheckExtension (extstrGL, ext);
24017 
24018     bool allclear, funcTest;
24019     (void)funcTest; // shut up "variable unused" warnings
24020     bool init = CS_GL_NV_fragment_program;
24021     allclear = true;
24022     if (init)   // Don't check the functions if ext isn't reported anyway
24023     {
24024       EXTMGR_FUNC_INIT(glProgramNamedParameter4fNV, GLPROGRAMNAMEDPARAMETER4FNV);
24025       EXTMGR_FUNC_INIT(glProgramNamedParameter4dNV, GLPROGRAMNAMEDPARAMETER4DNV);
24026       EXTMGR_FUNC_INIT(glGetProgramNamedParameterfvNV, GLGETPROGRAMNAMEDPARAMETERFVNV);
24027       EXTMGR_FUNC_INIT(glGetProgramNamedParameterdvNV, GLGETPROGRAMNAMEDPARAMETERDVNV);
24028       EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB);
24029       EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB);
24030       EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB);
24031       EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB);
24032       EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB);
24033       EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB);
24034 
24035       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fragment_program)
24036     }
24037     else
24038     {
24039       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24040     }
24041   }
24042   
24045   void InitGL_NV_primitive_restart ()
24046   {
24047     if (tested_CS_GL_NV_primitive_restart) return;
24048     if (!extstrGL) return;
24049     tested_CS_GL_NV_primitive_restart = true;
24050     const char* ext = "GL_NV_primitive_restart";
24051 
24052     char cfgkey[26 + 23 + 1];
24053     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24054     
24055     CS_GL_NV_primitive_restart = CheckExtension (extstrGL, ext);
24056 
24057     bool allclear, funcTest;
24058     (void)funcTest; // shut up "variable unused" warnings
24059     bool init = CS_GL_NV_primitive_restart;
24060     allclear = true;
24061     if (init)   // Don't check the functions if ext isn't reported anyway
24062     {
24063       EXTMGR_FUNC_INIT(glPrimitiveRestartNV, GLPRIMITIVERESTARTNV);
24064       EXTMGR_FUNC_INIT(glPrimitiveRestartIndexNV, GLPRIMITIVERESTARTINDEXNV);
24065 
24066       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_primitive_restart)
24067     }
24068     else
24069     {
24070       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24071     }
24072   }
24073   
24076   void InitGL_NV_vertex_program2 ()
24077   {
24078     if (tested_CS_GL_NV_vertex_program2) return;
24079     if (!extstrGL) return;
24080     tested_CS_GL_NV_vertex_program2 = true;
24081     const char* ext = "GL_NV_vertex_program2";
24082 
24083     char cfgkey[26 + 21 + 1];
24084     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24085     
24086     CS_GL_NV_vertex_program2 = CheckExtension (extstrGL, ext);
24087 
24088     bool allclear, funcTest;
24089     (void)funcTest; // shut up "variable unused" warnings
24090     bool init = CS_GL_NV_vertex_program2;
24091     allclear = true;
24092     if (init)   // Don't check the functions if ext isn't reported anyway
24093     {
24094 
24095       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program2)
24096     }
24097     else
24098     {
24099       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24100     }
24101   }
24102   
24105   void InitGL_ARB_vertex_buffer_object ()
24106   {
24107     if (tested_CS_GL_ARB_vertex_buffer_object) return;
24108     if (!extstrGL) return;
24109     tested_CS_GL_ARB_vertex_buffer_object = true;
24110     const char* ext = "GL_ARB_vertex_buffer_object";
24111 
24112     char cfgkey[26 + 27 + 1];
24113     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24114     
24115     CS_GL_ARB_vertex_buffer_object = CheckExtension (extstrGL, ext);
24116 
24117     bool allclear, funcTest;
24118     (void)funcTest; // shut up "variable unused" warnings
24119     bool init = CS_GL_ARB_vertex_buffer_object;
24120     allclear = true;
24121     if (init)   // Don't check the functions if ext isn't reported anyway
24122     {
24123       EXTMGR_FUNC_INIT(glBindBufferARB, GLBINDBUFFERARB);
24124       EXTMGR_FUNC_INIT(glDeleteBuffersARB, GLDELETEBUFFERSARB);
24125       EXTMGR_FUNC_INIT(glGenBuffersARB, GLGENBUFFERSARB);
24126       EXTMGR_FUNC_INIT(glBufferDataARB, GLBUFFERDATAARB);
24127       EXTMGR_FUNC_INIT(glBufferSubDataARB, GLBUFFERSUBDATAARB);
24128       EXTMGR_FUNC_INIT(glMapBufferARB, GLMAPBUFFERARB);
24129       EXTMGR_FUNC_INIT(glUnmapBufferARB, GLUNMAPBUFFERARB);
24130       EXTMGR_FUNC_INIT(glIsBufferARB, GLISBUFFERARB);
24131       EXTMGR_FUNC_INIT(glGetBufferSubDataARB, GLGETBUFFERSUBDATAARB);
24132       EXTMGR_FUNC_INIT(glGetBufferPointervARB, GLGETBUFFERPOINTERVARB);
24133       EXTMGR_FUNC_INIT(glGetBufferParameterivARB, GLGETBUFFERPARAMETERIVARB);
24134 
24135       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_buffer_object)
24136     }
24137     else
24138     {
24139       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24140     }
24141   }
24142   
24145   void InitGL_ATI_separate_stencil ()
24146   {
24147     if (tested_CS_GL_ATI_separate_stencil) return;
24148     if (!extstrGL) return;
24149     tested_CS_GL_ATI_separate_stencil = true;
24150     const char* ext = "GL_ATI_separate_stencil";
24151 
24152     char cfgkey[26 + 23 + 1];
24153     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24154     
24155     CS_GL_ATI_separate_stencil = CheckExtension (extstrGL, ext);
24156 
24157     bool allclear, funcTest;
24158     (void)funcTest; // shut up "variable unused" warnings
24159     bool init = CS_GL_ATI_separate_stencil;
24160     allclear = true;
24161     if (init)   // Don't check the functions if ext isn't reported anyway
24162     {
24163       EXTMGR_FUNC_INIT(glStencilOpSeparateATI, GLSTENCILOPSEPARATEATI);
24164       EXTMGR_FUNC_INIT(glStencilFuncSeparateATI, GLSTENCILFUNCSEPARATEATI);
24165 
24166       EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_separate_stencil)
24167     }
24168     else
24169     {
24170       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24171     }
24172   }
24173   
24176   void InitGL_ARB_texture_non_power_of_two ()
24177   {
24178     if (tested_CS_GL_ARB_texture_non_power_of_two) return;
24179     if (!extstrGL) return;
24180     tested_CS_GL_ARB_texture_non_power_of_two = true;
24181     const char* ext = "GL_ARB_texture_non_power_of_two";
24182 
24183     char cfgkey[26 + 31 + 1];
24184     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24185     
24186     CS_GL_ARB_texture_non_power_of_two = CheckExtension (extstrGL, ext);
24187 
24188     bool allclear, funcTest;
24189     (void)funcTest; // shut up "variable unused" warnings
24190     bool init = CS_GL_ARB_texture_non_power_of_two;
24191     allclear = true;
24192     if (init)   // Don't check the functions if ext isn't reported anyway
24193     {
24194 
24195       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_non_power_of_two)
24196     }
24197     else
24198     {
24199       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24200     }
24201   }
24202   
24205   void InitGL_ARB_point_sprite ()
24206   {
24207     if (tested_CS_GL_ARB_point_sprite) return;
24208     if (!extstrGL) return;
24209     tested_CS_GL_ARB_point_sprite = true;
24210     const char* ext = "GL_ARB_point_sprite";
24211 
24212     char cfgkey[26 + 19 + 1];
24213     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24214     
24215     CS_GL_ARB_point_sprite = CheckExtension (extstrGL, ext);
24216 
24217     bool allclear, funcTest;
24218     (void)funcTest; // shut up "variable unused" warnings
24219     bool init = CS_GL_ARB_point_sprite;
24220     allclear = true;
24221     if (init)   // Don't check the functions if ext isn't reported anyway
24222     {
24223 
24224       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_sprite)
24225     }
24226     else
24227     {
24228       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24229     }
24230   }
24231   
24234   void InitGL_ARB_shading_language_100 ()
24235   {
24236     if (tested_CS_GL_ARB_shading_language_100) return;
24237     if (!extstrGL) return;
24238     tested_CS_GL_ARB_shading_language_100 = true;
24239     const char* ext = "GL_ARB_shading_language_100";
24240 
24241     char cfgkey[26 + 27 + 1];
24242     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24243     
24244     CS_GL_ARB_shading_language_100 = CheckExtension (extstrGL, ext);
24245 
24246     bool allclear, funcTest;
24247     (void)funcTest; // shut up "variable unused" warnings
24248     bool init = CS_GL_ARB_shading_language_100;
24249     allclear = true;
24250     if (init)   // Don't check the functions if ext isn't reported anyway
24251     {
24252 
24253       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shading_language_100)
24254     }
24255     else
24256     {
24257       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24258     }
24259   }
24260   
24263   void InitGL_ARB_shader_objects ()
24264   {
24265     if (tested_CS_GL_ARB_shader_objects) return;
24266     if (!extstrGL) return;
24267     tested_CS_GL_ARB_shader_objects = true;
24268     const char* ext = "GL_ARB_shader_objects";
24269 
24270     char cfgkey[26 + 21 + 1];
24271     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24272     
24273     CS_GL_ARB_shader_objects = CheckExtension (extstrGL, ext);
24274 
24275     bool allclear, funcTest;
24276     (void)funcTest; // shut up "variable unused" warnings
24277     bool init = CS_GL_ARB_shader_objects;
24278     allclear = true;
24279     if (init)   // Don't check the functions if ext isn't reported anyway
24280     {
24281       EXTMGR_FUNC_INIT(glDeleteObjectARB, GLDELETEOBJECTARB);
24282       EXTMGR_FUNC_INIT(glGetHandleARB, GLGETHANDLEARB);
24283       EXTMGR_FUNC_INIT(glDetachObjectARB, GLDETACHOBJECTARB);
24284       EXTMGR_FUNC_INIT(glCreateShaderObjectARB, GLCREATESHADEROBJECTARB);
24285       EXTMGR_FUNC_INIT(glShaderSourceARB, GLSHADERSOURCEARB);
24286       EXTMGR_FUNC_INIT(glCompileShaderARB, GLCOMPILESHADERARB);
24287       EXTMGR_FUNC_INIT(glCreateProgramObjectARB, GLCREATEPROGRAMOBJECTARB);
24288       EXTMGR_FUNC_INIT(glAttachObjectARB, GLATTACHOBJECTARB);
24289       EXTMGR_FUNC_INIT(glLinkProgramARB, GLLINKPROGRAMARB);
24290       EXTMGR_FUNC_INIT(glUseProgramObjectARB, GLUSEPROGRAMOBJECTARB);
24291       EXTMGR_FUNC_INIT(glValidateProgramARB, GLVALIDATEPROGRAMARB);
24292       EXTMGR_FUNC_INIT(glUniform1fARB, GLUNIFORM1FARB);
24293       EXTMGR_FUNC_INIT(glUniform2fARB, GLUNIFORM2FARB);
24294       EXTMGR_FUNC_INIT(glUniform3fARB, GLUNIFORM3FARB);
24295       EXTMGR_FUNC_INIT(glUniform4fARB, GLUNIFORM4FARB);
24296       EXTMGR_FUNC_INIT(glUniform1iARB, GLUNIFORM1IARB);
24297       EXTMGR_FUNC_INIT(glUniform2iARB, GLUNIFORM2IARB);
24298       EXTMGR_FUNC_INIT(glUniform3iARB, GLUNIFORM3IARB);
24299       EXTMGR_FUNC_INIT(glUniform4iARB, GLUNIFORM4IARB);
24300       EXTMGR_FUNC_INIT(glUniform1fvARB, GLUNIFORM1FVARB);
24301       EXTMGR_FUNC_INIT(glUniform2fvARB, GLUNIFORM2FVARB);
24302       EXTMGR_FUNC_INIT(glUniform3fvARB, GLUNIFORM3FVARB);
24303       EXTMGR_FUNC_INIT(glUniform4fvARB, GLUNIFORM4FVARB);
24304       EXTMGR_FUNC_INIT(glUniform1ivARB, GLUNIFORM1IVARB);
24305       EXTMGR_FUNC_INIT(glUniform2ivARB, GLUNIFORM2IVARB);
24306       EXTMGR_FUNC_INIT(glUniform3ivARB, GLUNIFORM3IVARB);
24307       EXTMGR_FUNC_INIT(glUniform4ivARB, GLUNIFORM4IVARB);
24308       EXTMGR_FUNC_INIT(glUniformMatrix2fvARB, GLUNIFORMMATRIX2FVARB);
24309       EXTMGR_FUNC_INIT(glUniformMatrix3fvARB, GLUNIFORMMATRIX3FVARB);
24310       EXTMGR_FUNC_INIT(glUniformMatrix4fvARB, GLUNIFORMMATRIX4FVARB);
24311       EXTMGR_FUNC_INIT(glGetObjectParameterfvARB, GLGETOBJECTPARAMETERFVARB);
24312       EXTMGR_FUNC_INIT(glGetObjectParameterivARB, GLGETOBJECTPARAMETERIVARB);
24313       EXTMGR_FUNC_INIT(glGetInfoLogARB, GLGETINFOLOGARB);
24314       EXTMGR_FUNC_INIT(glGetAttachedObjectsARB, GLGETATTACHEDOBJECTSARB);
24315       EXTMGR_FUNC_INIT(glGetUniformLocationARB, GLGETUNIFORMLOCATIONARB);
24316       EXTMGR_FUNC_INIT(glGetActiveUniformARB, GLGETACTIVEUNIFORMARB);
24317       EXTMGR_FUNC_INIT(glGetUniformfvARB, GLGETUNIFORMFVARB);
24318       EXTMGR_FUNC_INIT(glGetUniformivARB, GLGETUNIFORMIVARB);
24319       EXTMGR_FUNC_INIT(glGetShaderSourceARB, GLGETSHADERSOURCEARB);
24320 
24321       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shader_objects)
24322     }
24323     else
24324     {
24325       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24326     }
24327   }
24328   
24331   void InitGL_ARB_fragment_shader ()
24332   {
24333     if (tested_CS_GL_ARB_fragment_shader) return;
24334     if (!extstrGL) return;
24335     tested_CS_GL_ARB_fragment_shader = true;
24336     const char* ext = "GL_ARB_fragment_shader";
24337 
24338     char cfgkey[26 + 22 + 1];
24339     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24340     
24341     CS_GL_ARB_fragment_shader = CheckExtension (extstrGL, ext);
24342 
24343     bool allclear, funcTest;
24344     (void)funcTest; // shut up "variable unused" warnings
24345     bool init = CS_GL_ARB_fragment_shader;
24346     allclear = true;
24347     if (init)   // Don't check the functions if ext isn't reported anyway
24348     {
24349 
24350       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_shader)
24351     }
24352     else
24353     {
24354       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24355     }
24356   }
24357   
24360   void InitGL_ARB_vertex_shader ()
24361   {
24362     if (tested_CS_GL_ARB_vertex_shader) return;
24363     if (!extstrGL) return;
24364     tested_CS_GL_ARB_vertex_shader = true;
24365     const char* ext = "GL_ARB_vertex_shader";
24366 
24367     char cfgkey[26 + 20 + 1];
24368     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24369     
24370     CS_GL_ARB_vertex_shader = CheckExtension (extstrGL, ext);
24371 
24372     bool allclear, funcTest;
24373     (void)funcTest; // shut up "variable unused" warnings
24374     bool init = CS_GL_ARB_vertex_shader;
24375     allclear = true;
24376     if (init)   // Don't check the functions if ext isn't reported anyway
24377     {
24378       EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB);
24379       EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB);
24380       EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB);
24381       EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB);
24382       EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB);
24383       EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB);
24384       EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB);
24385       EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB);
24386       EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB);
24387       EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB);
24388       EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB);
24389       EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB);
24390       EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB);
24391       EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB);
24392       EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB);
24393       EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB);
24394       EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB);
24395       EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB);
24396       EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB);
24397       EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB);
24398       EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB);
24399       EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB);
24400       EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB);
24401       EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB);
24402       EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB);
24403       EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB);
24404       EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB);
24405       EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB);
24406       EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB);
24407       EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB);
24408       EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB);
24409       EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB);
24410       EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB);
24411       EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB);
24412       EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB);
24413       EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB);
24414       EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB);
24415       EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB);
24416       EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB);
24417       EXTMGR_FUNC_INIT(glBindAttribLocationARB, GLBINDATTRIBLOCATIONARB);
24418       EXTMGR_FUNC_INIT(glGetActiveAttribARB, GLGETACTIVEATTRIBARB);
24419       EXTMGR_FUNC_INIT(glGetAttribLocationARB, GLGETATTRIBLOCATIONARB);
24420       EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB);
24421 
24422       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_shader)
24423     }
24424     else
24425     {
24426       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24427     }
24428   }
24429   
24432   void InitGL_ARB_pixel_buffer_object ()
24433   {
24434     if (tested_CS_GL_ARB_pixel_buffer_object) return;
24435     if (!extstrGL) return;
24436     tested_CS_GL_ARB_pixel_buffer_object = true;
24437     const char* ext = "GL_ARB_pixel_buffer_object";
24438     InitGL_ARB_vertex_buffer_object();
24439     if (!CS_GL_ARB_vertex_buffer_object)
24440     {
24441       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_ARB_vertex_buffer_object"));
24442       return;
24443     }
24444     char cfgkey[26 + 26 + 1];
24445     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24446     
24447     CS_GL_ARB_pixel_buffer_object = CheckExtension (extstrGL, ext);
24448 
24449     bool allclear, funcTest;
24450     (void)funcTest; // shut up "variable unused" warnings
24451     bool init = CS_GL_ARB_pixel_buffer_object;
24452     allclear = true;
24453     if (init)   // Don't check the functions if ext isn't reported anyway
24454     {
24455 
24456       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_pixel_buffer_object)
24457     }
24458     else
24459     {
24460       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24461     }
24462   }
24463   
24466   void InitGL_ARB_texture_rectangle ()
24467   {
24468     if (tested_CS_GL_ARB_texture_rectangle) return;
24469     if (!extstrGL) return;
24470     tested_CS_GL_ARB_texture_rectangle = true;
24471     const char* ext = "GL_ARB_texture_rectangle";
24472 
24473     char cfgkey[26 + 24 + 1];
24474     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24475     
24476     CS_GL_ARB_texture_rectangle = CheckExtension (extstrGL, ext);
24477 
24478     bool allclear, funcTest;
24479     (void)funcTest; // shut up "variable unused" warnings
24480     bool init = CS_GL_ARB_texture_rectangle;
24481     allclear = true;
24482     if (init)   // Don't check the functions if ext isn't reported anyway
24483     {
24484 
24485       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rectangle)
24486     }
24487     else
24488     {
24489       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24490     }
24491   }
24492   
24495   void InitGL_EXT_framebuffer_object ()
24496   {
24497     if (tested_CS_GL_EXT_framebuffer_object) return;
24498     if (!extstrGL) return;
24499     tested_CS_GL_EXT_framebuffer_object = true;
24500     const char* ext = "GL_EXT_framebuffer_object";
24501 
24502     char cfgkey[26 + 25 + 1];
24503     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24504     
24505     CS_GL_EXT_framebuffer_object = CheckExtension (extstrGL, ext);
24506 
24507     bool allclear, funcTest;
24508     (void)funcTest; // shut up "variable unused" warnings
24509     bool init = CS_GL_EXT_framebuffer_object;
24510     allclear = true;
24511     if (init)   // Don't check the functions if ext isn't reported anyway
24512     {
24513       EXTMGR_FUNC_INIT(glIsRenderbufferEXT, GLISRENDERBUFFEREXT);
24514       EXTMGR_FUNC_INIT(glBindRenderbufferEXT, GLBINDRENDERBUFFEREXT);
24515       EXTMGR_FUNC_INIT(glDeleteRenderbuffersEXT, GLDELETERENDERBUFFERSEXT);
24516       EXTMGR_FUNC_INIT(glGenRenderbuffersEXT, GLGENRENDERBUFFERSEXT);
24517       EXTMGR_FUNC_INIT(glRenderbufferStorageEXT, GLRENDERBUFFERSTORAGEEXT);
24518       EXTMGR_FUNC_INIT(glGetRenderbufferParameterivEXT, GLGETRENDERBUFFERPARAMETERIVEXT);
24519       EXTMGR_FUNC_INIT(glIsFramebufferEXT, GLISFRAMEBUFFEREXT);
24520       EXTMGR_FUNC_INIT(glBindFramebufferEXT, GLBINDFRAMEBUFFEREXT);
24521       EXTMGR_FUNC_INIT(glDeleteFramebuffersEXT, GLDELETEFRAMEBUFFERSEXT);
24522       EXTMGR_FUNC_INIT(glGenFramebuffersEXT, GLGENFRAMEBUFFERSEXT);
24523       EXTMGR_FUNC_INIT(glCheckFramebufferStatusEXT, GLCHECKFRAMEBUFFERSTATUSEXT);
24524       EXTMGR_FUNC_INIT(glFramebufferTexture1DEXT, GLFRAMEBUFFERTEXTURE1DEXT);
24525       EXTMGR_FUNC_INIT(glFramebufferTexture2DEXT, GLFRAMEBUFFERTEXTURE2DEXT);
24526       EXTMGR_FUNC_INIT(glFramebufferTexture3DEXT, GLFRAMEBUFFERTEXTURE3DEXT);
24527       EXTMGR_FUNC_INIT(glFramebufferRenderbufferEXT, GLFRAMEBUFFERRENDERBUFFEREXT);
24528       EXTMGR_FUNC_INIT(glGetFramebufferAttachmentParameterivEXT, GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT);
24529       EXTMGR_FUNC_INIT(glGenerateMipmapEXT, GLGENERATEMIPMAPEXT);
24530 
24531       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_framebuffer_object)
24532     }
24533     else
24534     {
24535       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24536     }
24537   }
24538   
24541   void InitGL_EXT_pixel_buffer_object ()
24542   {
24543     if (tested_CS_GL_EXT_pixel_buffer_object) return;
24544     if (!extstrGL) return;
24545     tested_CS_GL_EXT_pixel_buffer_object = true;
24546     const char* ext = "GL_EXT_pixel_buffer_object";
24547     InitGL_ARB_vertex_buffer_object();
24548     if (!CS_GL_ARB_vertex_buffer_object)
24549     {
24550       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("GL_ARB_vertex_buffer_object"));
24551       return;
24552     }
24553     char cfgkey[26 + 26 + 1];
24554     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24555     
24556     CS_GL_EXT_pixel_buffer_object = CheckExtension (extstrGL, ext);
24557 
24558     bool allclear, funcTest;
24559     (void)funcTest; // shut up "variable unused" warnings
24560     bool init = CS_GL_EXT_pixel_buffer_object;
24561     allclear = true;
24562     if (init)   // Don't check the functions if ext isn't reported anyway
24563     {
24564 
24565       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_pixel_buffer_object)
24566     }
24567     else
24568     {
24569       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24570     }
24571   }
24572   
24575   void InitGL_GREMEDY_string_marker ()
24576   {
24577     if (tested_CS_GL_GREMEDY_string_marker) return;
24578     if (!extstrGL) return;
24579     tested_CS_GL_GREMEDY_string_marker = true;
24580     const char* ext = "GL_GREMEDY_string_marker";
24581 
24582     char cfgkey[26 + 24 + 1];
24583     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24584     
24585     CS_GL_GREMEDY_string_marker = CheckExtension (extstrGL, ext);
24586 
24587     bool allclear, funcTest;
24588     (void)funcTest; // shut up "variable unused" warnings
24589     bool init = CS_GL_GREMEDY_string_marker;
24590     allclear = true;
24591     if (init)   // Don't check the functions if ext isn't reported anyway
24592     {
24593       EXTMGR_FUNC_INIT(glStringMarkerGREMEDY, GLSTRINGMARKERGREMEDY);
24594 
24595       EXTMGR_REPORT_INIT_RESULT("GL", GL_GREMEDY_string_marker)
24596     }
24597     else
24598     {
24599       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24600     }
24601   }
24602   
24605   void InitGL_EXT_texture_rectangle ()
24606   {
24607     if (tested_CS_GL_EXT_texture_rectangle) return;
24608     if (!extstrGL) return;
24609     tested_CS_GL_EXT_texture_rectangle = true;
24610     const char* ext = "GL_EXT_texture_rectangle";
24611 
24612     char cfgkey[26 + 24 + 1];
24613     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24614     
24615     CS_GL_EXT_texture_rectangle = CheckExtension (extstrGL, ext);
24616 
24617     bool allclear, funcTest;
24618     (void)funcTest; // shut up "variable unused" warnings
24619     bool init = CS_GL_EXT_texture_rectangle;
24620     allclear = true;
24621     if (init)   // Don't check the functions if ext isn't reported anyway
24622     {
24623 
24624       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_rectangle)
24625     }
24626     else
24627     {
24628       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24629     }
24630   }
24631   
24634   void InitGL_ARB_occlusion_query ()
24635   {
24636     if (tested_CS_GL_ARB_occlusion_query) return;
24637     if (!extstrGL) return;
24638     tested_CS_GL_ARB_occlusion_query = true;
24639     const char* ext = "GL_ARB_occlusion_query";
24640     InitQueries();
24641     if (!CS_Queries)
24642     {
24643       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("Queries"));
24644       return;
24645     }
24646     char cfgkey[26 + 22 + 1];
24647     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24648     
24649     CS_GL_ARB_occlusion_query = CheckExtension (extstrGL, ext);
24650 
24651     bool allclear, funcTest;
24652     (void)funcTest; // shut up "variable unused" warnings
24653     bool init = CS_GL_ARB_occlusion_query;
24654     allclear = true;
24655     if (init)   // Don't check the functions if ext isn't reported anyway
24656     {
24657 
24658       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_occlusion_query)
24659     }
24660     else
24661     {
24662       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24663     }
24664   }
24665   
24668   void InitGL_ARB_occlusion_query2 ()
24669   {
24670     if (tested_CS_GL_ARB_occlusion_query2) return;
24671     if (!extstrGL) return;
24672     tested_CS_GL_ARB_occlusion_query2 = true;
24673     const char* ext = "GL_ARB_occlusion_query2";
24674     InitQueries();
24675     if (!CS_Queries)
24676     {
24677       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("Queries"));
24678       return;
24679     }
24680     char cfgkey[26 + 23 + 1];
24681     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24682     
24683     CS_GL_ARB_occlusion_query2 = CheckExtension (extstrGL, ext);
24684 
24685     bool allclear, funcTest;
24686     (void)funcTest; // shut up "variable unused" warnings
24687     bool init = CS_GL_ARB_occlusion_query2;
24688     allclear = true;
24689     if (init)   // Don't check the functions if ext isn't reported anyway
24690     {
24691 
24692       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_occlusion_query2)
24693     }
24694     else
24695     {
24696       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24697     }
24698   }
24699   
24702   void InitGL_ARB_draw_buffers ()
24703   {
24704     if (tested_CS_GL_ARB_draw_buffers) return;
24705     if (!extstrGL) return;
24706     tested_CS_GL_ARB_draw_buffers = true;
24707     const char* ext = "GL_ARB_draw_buffers";
24708 
24709     char cfgkey[26 + 19 + 1];
24710     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24711     
24712     CS_GL_ARB_draw_buffers = CheckExtension (extstrGL, ext);
24713 
24714     bool allclear, funcTest;
24715     (void)funcTest; // shut up "variable unused" warnings
24716     bool init = CS_GL_ARB_draw_buffers;
24717     allclear = true;
24718     if (init)   // Don't check the functions if ext isn't reported anyway
24719     {
24720       EXTMGR_FUNC_INIT(glDrawBuffersARB, GLDRAWBUFFERSARB);
24721 
24722       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_draw_buffers)
24723     }
24724     else
24725     {
24726       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24727     }
24728   }
24729   
24732   void InitGL_EXT_blend_equation_separate ()
24733   {
24734     if (tested_CS_GL_EXT_blend_equation_separate) return;
24735     if (!extstrGL) return;
24736     tested_CS_GL_EXT_blend_equation_separate = true;
24737     const char* ext = "GL_EXT_blend_equation_separate";
24738 
24739     char cfgkey[26 + 30 + 1];
24740     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24741     
24742     CS_GL_EXT_blend_equation_separate = CheckExtension (extstrGL, ext);
24743 
24744     bool allclear, funcTest;
24745     (void)funcTest; // shut up "variable unused" warnings
24746     bool init = CS_GL_EXT_blend_equation_separate;
24747     allclear = true;
24748     if (init)   // Don't check the functions if ext isn't reported anyway
24749     {
24750       EXTMGR_FUNC_INIT(glBlendEquationSeparateEXT, GLBLENDEQUATIONSEPARATEEXT);
24751 
24752       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_equation_separate)
24753     }
24754     else
24755     {
24756       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24757     }
24758   }
24759   
24762   void InitGL_EXT_texture_sRGB ()
24763   {
24764     if (tested_CS_GL_EXT_texture_sRGB) return;
24765     if (!extstrGL) return;
24766     tested_CS_GL_EXT_texture_sRGB = true;
24767     const char* ext = "GL_EXT_texture_sRGB";
24768 
24769     char cfgkey[26 + 19 + 1];
24770     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24771     
24772     CS_GL_EXT_texture_sRGB = CheckExtension (extstrGL, ext);
24773 
24774     bool allclear, funcTest;
24775     (void)funcTest; // shut up "variable unused" warnings
24776     bool init = CS_GL_EXT_texture_sRGB;
24777     allclear = true;
24778     if (init)   // Don't check the functions if ext isn't reported anyway
24779     {
24780 
24781       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_sRGB)
24782     }
24783     else
24784     {
24785       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24786     }
24787   }
24788   
24791   void InitGL_EXT_packed_depth_stencil ()
24792   {
24793     if (tested_CS_GL_EXT_packed_depth_stencil) return;
24794     if (!extstrGL) return;
24795     tested_CS_GL_EXT_packed_depth_stencil = true;
24796     const char* ext = "GL_EXT_packed_depth_stencil";
24797 
24798     char cfgkey[26 + 27 + 1];
24799     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24800     
24801     CS_GL_EXT_packed_depth_stencil = CheckExtension (extstrGL, ext);
24802 
24803     bool allclear, funcTest;
24804     (void)funcTest; // shut up "variable unused" warnings
24805     bool init = CS_GL_EXT_packed_depth_stencil;
24806     allclear = true;
24807     if (init)   // Don't check the functions if ext isn't reported anyway
24808     {
24809 
24810       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_depth_stencil)
24811     }
24812     else
24813     {
24814       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24815     }
24816   }
24817   
24820   void InitGL_ARB_texture_float ()
24821   {
24822     if (tested_CS_GL_ARB_texture_float) return;
24823     if (!extstrGL) return;
24824     tested_CS_GL_ARB_texture_float = true;
24825     const char* ext = "GL_ARB_texture_float";
24826 
24827     char cfgkey[26 + 20 + 1];
24828     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24829     
24830     CS_GL_ARB_texture_float = CheckExtension (extstrGL, ext);
24831 
24832     bool allclear, funcTest;
24833     (void)funcTest; // shut up "variable unused" warnings
24834     bool init = CS_GL_ARB_texture_float;
24835     allclear = true;
24836     if (init)   // Don't check the functions if ext isn't reported anyway
24837     {
24838 
24839       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_float)
24840     }
24841     else
24842     {
24843       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24844     }
24845   }
24846   
24849   void InitGL_ARB_half_float_pixel ()
24850   {
24851     if (tested_CS_GL_ARB_half_float_pixel) return;
24852     if (!extstrGL) return;
24853     tested_CS_GL_ARB_half_float_pixel = true;
24854     const char* ext = "GL_ARB_half_float_pixel";
24855 
24856     char cfgkey[26 + 23 + 1];
24857     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24858     
24859     CS_GL_ARB_half_float_pixel = CheckExtension (extstrGL, ext);
24860 
24861     bool allclear, funcTest;
24862     (void)funcTest; // shut up "variable unused" warnings
24863     bool init = CS_GL_ARB_half_float_pixel;
24864     allclear = true;
24865     if (init)   // Don't check the functions if ext isn't reported anyway
24866     {
24867 
24868       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_half_float_pixel)
24869     }
24870     else
24871     {
24872       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24873     }
24874   }
24875   
24878   void InitGL_NV_gpu_program4 ()
24879   {
24880     if (tested_CS_GL_NV_gpu_program4) return;
24881     if (!extstrGL) return;
24882     tested_CS_GL_NV_gpu_program4 = true;
24883     const char* ext = "GL_NV_gpu_program4";
24884 
24885     char cfgkey[26 + 18 + 1];
24886     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24887     
24888     CS_GL_NV_gpu_program4 = CheckExtension (extstrGL, ext);
24889 
24890     bool allclear, funcTest;
24891     (void)funcTest; // shut up "variable unused" warnings
24892     bool init = CS_GL_NV_gpu_program4;
24893     allclear = true;
24894     if (init)   // Don't check the functions if ext isn't reported anyway
24895     {
24896       EXTMGR_FUNC_INIT(glProgramLocalParameterI4iNV, GLPROGRAMLOCALPARAMETERI4INV);
24897       EXTMGR_FUNC_INIT(glProgramLocalParameterI4ivNV, GLPROGRAMLOCALPARAMETERI4IVNV);
24898       EXTMGR_FUNC_INIT(glProgramLocalParametersI4ivNV, GLPROGRAMLOCALPARAMETERSI4IVNV);
24899       EXTMGR_FUNC_INIT(glProgramLocalParameterI4uiNV, GLPROGRAMLOCALPARAMETERI4UINV);
24900       EXTMGR_FUNC_INIT(glProgramLocalParameterI4uivNV, GLPROGRAMLOCALPARAMETERI4UIVNV);
24901       EXTMGR_FUNC_INIT(glProgramLocalParametersI4uivNV, GLPROGRAMLOCALPARAMETERSI4UIVNV);
24902       EXTMGR_FUNC_INIT(glProgramEnvParameterI4iNV, GLPROGRAMENVPARAMETERI4INV);
24903       EXTMGR_FUNC_INIT(glProgramEnvParameterI4ivNV, GLPROGRAMENVPARAMETERI4IVNV);
24904       EXTMGR_FUNC_INIT(glProgramEnvParametersI4ivNV, GLPROGRAMENVPARAMETERSI4IVNV);
24905       EXTMGR_FUNC_INIT(glProgramEnvParameterI4uiNV, GLPROGRAMENVPARAMETERI4UINV);
24906       EXTMGR_FUNC_INIT(glProgramEnvParameterI4uivNV, GLPROGRAMENVPARAMETERI4UIVNV);
24907       EXTMGR_FUNC_INIT(glProgramEnvParametersI4uivNV, GLPROGRAMENVPARAMETERSI4UIVNV);
24908       EXTMGR_FUNC_INIT(glGetProgramLocalParameterIivNV, GLGETPROGRAMLOCALPARAMETERIIVNV);
24909       EXTMGR_FUNC_INIT(glGetProgramLocalParameterIuivNV, GLGETPROGRAMLOCALPARAMETERIUIVNV);
24910       EXTMGR_FUNC_INIT(glGetProgramEnvParameterIivNV, GLGETPROGRAMENVPARAMETERIIVNV);
24911       EXTMGR_FUNC_INIT(glGetProgramEnvParameterIuivNV, GLGETPROGRAMENVPARAMETERIUIVNV);
24912 
24913       EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_gpu_program4)
24914     }
24915     else
24916     {
24917       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24918     }
24919   }
24920   
24923   void InitGL_EXT_gpu_program_parameters ()
24924   {
24925     if (tested_CS_GL_EXT_gpu_program_parameters) return;
24926     if (!extstrGL) return;
24927     tested_CS_GL_EXT_gpu_program_parameters = true;
24928     const char* ext = "GL_EXT_gpu_program_parameters";
24929 
24930     char cfgkey[26 + 29 + 1];
24931     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24932     
24933     CS_GL_EXT_gpu_program_parameters = CheckExtension (extstrGL, ext);
24934 
24935     bool allclear, funcTest;
24936     (void)funcTest; // shut up "variable unused" warnings
24937     bool init = CS_GL_EXT_gpu_program_parameters;
24938     allclear = true;
24939     if (init)   // Don't check the functions if ext isn't reported anyway
24940     {
24941       EXTMGR_FUNC_INIT(glProgramLocalParameters4fvEXT, GLPROGRAMLOCALPARAMETERS4FVEXT);
24942       EXTMGR_FUNC_INIT(glProgramEnvParameters4fvEXT, GLPROGRAMENVPARAMETERS4FVEXT);
24943 
24944       EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_gpu_program_parameters)
24945     }
24946     else
24947     {
24948       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24949     }
24950   }
24951   
24954   void InitGL_ARB_color_buffer_float ()
24955   {
24956     if (tested_CS_GL_ARB_color_buffer_float) return;
24957     if (!extstrGL) return;
24958     tested_CS_GL_ARB_color_buffer_float = true;
24959     const char* ext = "GL_ARB_color_buffer_float";
24960 
24961     char cfgkey[26 + 25 + 1];
24962     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24963     
24964     CS_GL_ARB_color_buffer_float = CheckExtension (extstrGL, ext);
24965 
24966     bool allclear, funcTest;
24967     (void)funcTest; // shut up "variable unused" warnings
24968     bool init = CS_GL_ARB_color_buffer_float;
24969     allclear = true;
24970     if (init)   // Don't check the functions if ext isn't reported anyway
24971     {
24972       EXTMGR_FUNC_INIT(glClampColorARB, GLCLAMPCOLORARB);
24973 
24974       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_color_buffer_float)
24975     }
24976     else
24977     {
24978       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
24979     }
24980   }
24981   
24984   void InitGL_ARB_framebuffer_sRGB ()
24985   {
24986     if (tested_CS_GL_ARB_framebuffer_sRGB) return;
24987     if (!extstrGL) return;
24988     tested_CS_GL_ARB_framebuffer_sRGB = true;
24989     const char* ext = "GL_ARB_framebuffer_sRGB";
24990 
24991     char cfgkey[26 + 23 + 1];
24992     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
24993     
24994     CS_GL_ARB_framebuffer_sRGB = CheckExtension (extstrGL, ext);
24995 
24996     bool allclear, funcTest;
24997     (void)funcTest; // shut up "variable unused" warnings
24998     bool init = CS_GL_ARB_framebuffer_sRGB;
24999     allclear = true;
25000     if (init)   // Don't check the functions if ext isn't reported anyway
25001     {
25002 
25003       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_framebuffer_sRGB)
25004     }
25005     else
25006     {
25007       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25008     }
25009   }
25010   
25011 #if defined(CS_OPENGL_GLX) && defined (CS_GLEXTMANAGER_USE_GLX)
25012 
25014   void InitGLX_ARB_framebuffer_sRGB (Display* glxDisplay, int glxScreen)
25015   {
25016     if (tested_CS_GLX_ARB_framebuffer_sRGB) return;
25017     tested_CS_GLX_ARB_framebuffer_sRGB = true;
25018     const char* ext = "GLX_ARB_framebuffer_sRGB";
25019     char cfgkey[26 + 24 + 1];
25020     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25021     
25022     (void)glxDisplay;      // avoid `unused variable' warning.
25023     (void)glxScreen;
25024     SetupGLXextStr (glxDisplay, glxScreen);
25025     if (!extstrGLX) return;
25026     CS_GLX_ARB_framebuffer_sRGB = CheckExtension (extstrGLX, ext);
25027 
25028     bool allclear, funcTest;
25029     (void)funcTest; // avoid `unused variable' warning.
25030     bool init = CS_GLX_ARB_framebuffer_sRGB;
25031     allclear = true;
25032     if (init)
25033     {
25034 
25035       EXTMGR_REPORT_INIT_RESULT("GLX", GLX_ARB_framebuffer_sRGB)
25036       CS_GLX_ARB_framebuffer_sRGB &= allclear;
25037     }
25038     else
25039     {
25040       Report (msgExtNotFound, "GLX", CS::Quote::Single (ext));
25041     }
25042   }
25043 #endif
25044 
25045 #ifdef _WIN32
25046 
25048   void InitWGL_ARB_framebuffer_sRGB (HDC hDC)
25049   {
25050     if (tested_CS_WGL_ARB_framebuffer_sRGB) return;
25051     tested_CS_WGL_ARB_framebuffer_sRGB = true;
25052     const char* ext = "WGL_ARB_framebuffer_sRGB";
25053     char cfgkey[26 + 24 + 1];
25054     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25055     
25056     (void)hDC;      // avoid `unused variable' warning.
25057     SetupWGLextStr (hDC);
25058     if (!extstrWGL) return;
25059     CS_WGL_ARB_framebuffer_sRGB = CheckExtension (extstrWGL, ext);
25060 
25061     bool allclear, funcTest;
25062     (void)funcTest; // avoid `unused variable' warning.
25063     bool init = CS_WGL_ARB_framebuffer_sRGB;
25064     allclear = true;
25065     if (init)
25066     {
25067 
25068       EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_framebuffer_sRGB)
25069       CS_WGL_ARB_framebuffer_sRGB &= allclear;
25070     }
25071     else
25072     {
25073       Report (msgExtNotFound, "WGL", CS::Quote::Single (ext));
25074     }
25075   }
25076 #endif
25077 
25080   void InitGL_ARB_draw_instanced ()
25081   {
25082     if (tested_CS_GL_ARB_draw_instanced) return;
25083     if (!extstrGL) return;
25084     tested_CS_GL_ARB_draw_instanced = true;
25085     const char* ext = "GL_ARB_draw_instanced";
25086     InitInstancedDrawFuncs();
25087     if (!CS_InstancedDrawFuncs)
25088     {
25089       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("InstancedDrawFuncs"));
25090       return;
25091     }
25092     char cfgkey[26 + 21 + 1];
25093     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25094     
25095     CS_GL_ARB_draw_instanced = CheckExtension (extstrGL, ext);
25096 
25097     bool allclear, funcTest;
25098     (void)funcTest; // shut up "variable unused" warnings
25099     bool init = CS_GL_ARB_draw_instanced;
25100     allclear = true;
25101     if (init)   // Don't check the functions if ext isn't reported anyway
25102     {
25103 
25104       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_draw_instanced)
25105     }
25106     else
25107     {
25108       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25109     }
25110   }
25111   
25114   void InitGL_ARB_depth_buffer_float ()
25115   {
25116     if (tested_CS_GL_ARB_depth_buffer_float) return;
25117     if (!extstrGL) return;
25118     tested_CS_GL_ARB_depth_buffer_float = true;
25119     const char* ext = "GL_ARB_depth_buffer_float";
25120 
25121     char cfgkey[26 + 25 + 1];
25122     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25123     
25124     CS_GL_ARB_depth_buffer_float = CheckExtension (extstrGL, ext);
25125 
25126     bool allclear, funcTest;
25127     (void)funcTest; // shut up "variable unused" warnings
25128     bool init = CS_GL_ARB_depth_buffer_float;
25129     allclear = true;
25130     if (init)   // Don't check the functions if ext isn't reported anyway
25131     {
25132 
25133       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_buffer_float)
25134     }
25135     else
25136     {
25137       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25138     }
25139   }
25140   
25143   void InitGL_ARB_instanced_arrays ()
25144   {
25145     if (tested_CS_GL_ARB_instanced_arrays) return;
25146     if (!extstrGL) return;
25147     tested_CS_GL_ARB_instanced_arrays = true;
25148     const char* ext = "GL_ARB_instanced_arrays";
25149     InitInstancedDrawFuncs();
25150     if (!CS_InstancedDrawFuncs)
25151     {
25152       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("InstancedDrawFuncs"));
25153       return;
25154     }
25155     char cfgkey[26 + 23 + 1];
25156     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25157     
25158     CS_GL_ARB_instanced_arrays = CheckExtension (extstrGL, ext);
25159 
25160     bool allclear, funcTest;
25161     (void)funcTest; // shut up "variable unused" warnings
25162     bool init = CS_GL_ARB_instanced_arrays;
25163     allclear = true;
25164     if (init)   // Don't check the functions if ext isn't reported anyway
25165     {
25166       EXTMGR_FUNC_INIT(glVertexAttribDivisorARB, GLVERTEXATTRIBDIVISORARB);
25167 
25168       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_instanced_arrays)
25169     }
25170     else
25171     {
25172       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25173     }
25174   }
25175   
25178   void InitGL_ARB_half_float_vertex ()
25179   {
25180     if (tested_CS_GL_ARB_half_float_vertex) return;
25181     if (!extstrGL) return;
25182     tested_CS_GL_ARB_half_float_vertex = true;
25183     const char* ext = "GL_ARB_half_float_vertex";
25184 
25185     char cfgkey[26 + 24 + 1];
25186     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25187     
25188     CS_GL_ARB_half_float_vertex = CheckExtension (extstrGL, ext);
25189 
25190     bool allclear, funcTest;
25191     (void)funcTest; // shut up "variable unused" warnings
25192     bool init = CS_GL_ARB_half_float_vertex;
25193     allclear = true;
25194     if (init)   // Don't check the functions if ext isn't reported anyway
25195     {
25196 
25197       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_half_float_vertex)
25198     }
25199     else
25200     {
25201       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25202     }
25203   }
25204   
25207   void InitGL_ARB_map_buffer_range ()
25208   {
25209     if (tested_CS_GL_ARB_map_buffer_range) return;
25210     if (!extstrGL) return;
25211     tested_CS_GL_ARB_map_buffer_range = true;
25212     const char* ext = "GL_ARB_map_buffer_range";
25213 
25214     char cfgkey[26 + 23 + 1];
25215     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25216     
25217     CS_GL_ARB_map_buffer_range = CheckExtension (extstrGL, ext);
25218 
25219     bool allclear, funcTest;
25220     (void)funcTest; // shut up "variable unused" warnings
25221     bool init = CS_GL_ARB_map_buffer_range;
25222     allclear = true;
25223     if (init)   // Don't check the functions if ext isn't reported anyway
25224     {
25225       EXTMGR_FUNC_INIT(glMapBufferRange, GLMAPBUFFERRANGE);
25226       EXTMGR_FUNC_INIT(glFlushMappedBufferRange, GLFLUSHMAPPEDBUFFERRANGE);
25227 
25228       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_map_buffer_range)
25229     }
25230     else
25231     {
25232       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25233     }
25234   }
25235   
25238   void InitGL_ARB_texture_compression_rgtc ()
25239   {
25240     if (tested_CS_GL_ARB_texture_compression_rgtc) return;
25241     if (!extstrGL) return;
25242     tested_CS_GL_ARB_texture_compression_rgtc = true;
25243     const char* ext = "GL_ARB_texture_compression_rgtc";
25244 
25245     char cfgkey[26 + 31 + 1];
25246     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25247     
25248     CS_GL_ARB_texture_compression_rgtc = CheckExtension (extstrGL, ext);
25249 
25250     bool allclear, funcTest;
25251     (void)funcTest; // shut up "variable unused" warnings
25252     bool init = CS_GL_ARB_texture_compression_rgtc;
25253     allclear = true;
25254     if (init)   // Don't check the functions if ext isn't reported anyway
25255     {
25256 
25257       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression_rgtc)
25258     }
25259     else
25260     {
25261       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25262     }
25263   }
25264   
25267   void InitGL_ARB_texture_rg ()
25268   {
25269     if (tested_CS_GL_ARB_texture_rg) return;
25270     if (!extstrGL) return;
25271     tested_CS_GL_ARB_texture_rg = true;
25272     const char* ext = "GL_ARB_texture_rg";
25273 
25274     char cfgkey[26 + 17 + 1];
25275     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25276     
25277     CS_GL_ARB_texture_rg = CheckExtension (extstrGL, ext);
25278 
25279     bool allclear, funcTest;
25280     (void)funcTest; // shut up "variable unused" warnings
25281     bool init = CS_GL_ARB_texture_rg;
25282     allclear = true;
25283     if (init)   // Don't check the functions if ext isn't reported anyway
25284     {
25285 
25286       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rg)
25287     }
25288     else
25289     {
25290       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25291     }
25292   }
25293   
25296   void InitGL_ARB_seamless_cube_map ()
25297   {
25298     if (tested_CS_GL_ARB_seamless_cube_map) return;
25299     if (!extstrGL) return;
25300     tested_CS_GL_ARB_seamless_cube_map = true;
25301     const char* ext = "GL_ARB_seamless_cube_map";
25302 
25303     char cfgkey[26 + 24 + 1];
25304     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25305     
25306     CS_GL_ARB_seamless_cube_map = CheckExtension (extstrGL, ext);
25307 
25308     bool allclear, funcTest;
25309     (void)funcTest; // shut up "variable unused" warnings
25310     bool init = CS_GL_ARB_seamless_cube_map;
25311     allclear = true;
25312     if (init)   // Don't check the functions if ext isn't reported anyway
25313     {
25314 
25315       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_seamless_cube_map)
25316     }
25317     else
25318     {
25319       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25320     }
25321   }
25322   
25325   void InitGL_AMD_seamless_cubemap_per_texture ()
25326   {
25327     if (tested_CS_GL_AMD_seamless_cubemap_per_texture) return;
25328     if (!extstrGL) return;
25329     tested_CS_GL_AMD_seamless_cubemap_per_texture = true;
25330     const char* ext = "GL_AMD_seamless_cubemap_per_texture";
25331 
25332     char cfgkey[26 + 35 + 1];
25333     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25334     
25335     CS_GL_AMD_seamless_cubemap_per_texture = CheckExtension (extstrGL, ext);
25336 
25337     bool allclear, funcTest;
25338     (void)funcTest; // shut up "variable unused" warnings
25339     bool init = CS_GL_AMD_seamless_cubemap_per_texture;
25340     allclear = true;
25341     if (init)   // Don't check the functions if ext isn't reported anyway
25342     {
25343 
25344       EXTMGR_REPORT_INIT_RESULT("GL", GL_AMD_seamless_cubemap_per_texture)
25345     }
25346     else
25347     {
25348       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25349     }
25350   }
25351   
25354   void InitGL_ARB_timer_query ()
25355   {
25356     if (tested_CS_GL_ARB_timer_query) return;
25357     if (!extstrGL) return;
25358     tested_CS_GL_ARB_timer_query = true;
25359     const char* ext = "GL_ARB_timer_query";
25360     InitQueries64();
25361     if (!CS_Queries64)
25362     {
25363       Report (msgDependencyNotFound, "GL", CS::Quote::Single (ext), CS::Quote::Single ("Queries64"));
25364       return;
25365     }
25366     char cfgkey[26 + 18 + 1];
25367     sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext);
25368     
25369     CS_GL_ARB_timer_query = CheckExtension (extstrGL, ext);
25370 
25371     bool allclear, funcTest;
25372     (void)funcTest; // shut up "variable unused" warnings
25373     bool init = CS_GL_ARB_timer_query;
25374     allclear = true;
25375     if (init)   // Don't check the functions if ext isn't reported anyway
25376     {
25377       EXTMGR_FUNC_INIT(glGetInteger64v, GLGETINTEGER64V);
25378       EXTMGR_FUNC_INIT(glQueryCounter, GLQUERYCOUNTER);
25379 
25380       EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_timer_query)
25381     }
25382     else
25383     {
25384       Report (msgExtNotFound, "GL", CS::Quote::Single (ext));
25385     }
25386   }
25387   
25388 
25389 };
25390 
25391 #undef REPORT_MISSING_ENTRIES
25392 
25393 #undef EXTMGR_FUNC_INIT
25394 #undef EXTMGR_REPORT_INIT_RESULT
25395 
25396 #endif // __CS_GLEXTENSIONMANAGER_H__
25397 

Generated for Crystal Space 2.0 by doxygen 1.7.6.1