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 00158 #include "iutil/cmdline.h" 00159 #include "iutil/objreg.h" 00160 #include "iutil/verbositymanager.h" 00161 #include "ivaria/reporter.h" 00162 #include "ivideo/graph2d.h" 00163 #include "csutil/cfgacc.h" 00164 #include "csplugincommon/iopengl/openglinterface.h" 00165 00170 #ifndef GL_UNSIGNED_BYTE_3_3_2 00171 #define GL_UNSIGNED_BYTE_3_3_2 32818 00172 #endif 00173 00174 #ifndef GL_UNSIGNED_SHORT_4_4_4_4 00175 #define GL_UNSIGNED_SHORT_4_4_4_4 32819 00176 #endif 00177 00178 #ifndef GL_UNSIGNED_SHORT_5_5_5_1 00179 #define GL_UNSIGNED_SHORT_5_5_5_1 32820 00180 #endif 00181 00182 #ifndef GL_UNSIGNED_INT_8_8_8_8 00183 #define GL_UNSIGNED_INT_8_8_8_8 32821 00184 #endif 00185 00186 #ifndef GL_UNSIGNED_INT_10_10_10_2 00187 #define GL_UNSIGNED_INT_10_10_10_2 32822 00188 #endif 00189 00190 #ifndef GL_RESCALE_NORMAL 00191 #define GL_RESCALE_NORMAL 32826 00192 #endif 00193 00194 #ifndef GL_UNSIGNED_BYTE_2_3_3_REV 00195 #define GL_UNSIGNED_BYTE_2_3_3_REV 33634 00196 #endif 00197 00198 #ifndef GL_UNSIGNED_SHORT_5_6_5 00199 #define GL_UNSIGNED_SHORT_5_6_5 33635 00200 #endif 00201 00202 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV 00203 #define GL_UNSIGNED_SHORT_5_6_5_REV 33636 00204 #endif 00205 00206 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_REV 00207 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 33637 00208 #endif 00209 00210 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV 00211 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 33638 00212 #endif 00213 00214 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV 00215 #define GL_UNSIGNED_INT_8_8_8_8_REV 33639 00216 #endif 00217 00218 #ifndef GL_UNSIGNED_INT_2_10_10_10_REV 00219 #define GL_UNSIGNED_INT_2_10_10_10_REV 33640 00220 #endif 00221 00222 #ifndef GL_BGR 00223 #define GL_BGR 32992 00224 #endif 00225 00226 #ifndef GL_BGRA 00227 #define GL_BGRA 32993 00228 #endif 00229 00230 #ifndef GL_MAX_ELEMENTS_VERTICES 00231 #define GL_MAX_ELEMENTS_VERTICES 33000 00232 #endif 00233 00234 #ifndef GL_MAX_ELEMENTS_INDICES 00235 #define GL_MAX_ELEMENTS_INDICES 33001 00236 #endif 00237 00238 #ifndef GL_CLAMP_TO_EDGE 00239 #define GL_CLAMP_TO_EDGE 33071 00240 #endif 00241 00242 #ifndef GL_TEXTURE_MIN_LOD 00243 #define GL_TEXTURE_MIN_LOD 33082 00244 #endif 00245 00246 #ifndef GL_TEXTURE_MAX_LOD 00247 #define GL_TEXTURE_MAX_LOD 33083 00248 #endif 00249 00250 #ifndef GL_TEXTURE_BASE_LEVEL 00251 #define GL_TEXTURE_BASE_LEVEL 33084 00252 #endif 00253 00254 #ifndef GL_TEXTURE_MAX_LEVEL 00255 #define GL_TEXTURE_MAX_LEVEL 33085 00256 #endif 00257 00258 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL 00259 #define GL_LIGHT_MODEL_COLOR_CONTROL 33272 00260 #endif 00261 00262 #ifndef GL_SINGLE_COLOR 00263 #define GL_SINGLE_COLOR 33273 00264 #endif 00265 00266 #ifndef GL_SEPARATE_SPECULAR_COLOR 00267 #define GL_SEPARATE_SPECULAR_COLOR 33274 00268 #endif 00269 00270 #ifndef GL_SMOOTH_POINT_SIZE_RANGE 00271 #define GL_SMOOTH_POINT_SIZE_RANGE 2834 00272 #endif 00273 00274 #ifndef GL_SMOOTH_POINT_SIZE_GRANULARITY 00275 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 2835 00276 #endif 00277 00278 #ifndef GL_SMOOTH_LINE_WIDTH_RANGE 00279 #define GL_SMOOTH_LINE_WIDTH_RANGE 2850 00280 #endif 00281 00282 #ifndef GL_SMOOTH_LINE_WIDTH_GRANULARITY 00283 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 2851 00284 #endif 00285 00286 #ifndef GL_ALIASED_POINT_SIZE_RANGE 00287 #define GL_ALIASED_POINT_SIZE_RANGE 33901 00288 #endif 00289 00290 #ifndef GL_ALIASED_LINE_WIDTH_RANGE 00291 #define GL_ALIASED_LINE_WIDTH_RANGE 33902 00292 #endif 00293 00294 #ifndef GL_PACK_SKIP_IMAGES 00295 #define GL_PACK_SKIP_IMAGES 32875 00296 #endif 00297 00298 #ifndef GL_PACK_IMAGE_HEIGHT 00299 #define GL_PACK_IMAGE_HEIGHT 32876 00300 #endif 00301 00302 #ifndef GL_UNPACK_SKIP_IMAGES 00303 #define GL_UNPACK_SKIP_IMAGES 32877 00304 #endif 00305 00306 #ifndef GL_UNPACK_IMAGE_HEIGHT 00307 #define GL_UNPACK_IMAGE_HEIGHT 32878 00308 #endif 00309 00310 #ifndef GL_TEXTURE_3D 00311 #define GL_TEXTURE_3D 32879 00312 #endif 00313 00314 #ifndef GL_PROXY_TEXTURE_3D 00315 #define GL_PROXY_TEXTURE_3D 32880 00316 #endif 00317 00318 #ifndef GL_TEXTURE_DEPTH 00319 #define GL_TEXTURE_DEPTH 32881 00320 #endif 00321 00322 #ifndef GL_TEXTURE_WRAP_R 00323 #define GL_TEXTURE_WRAP_R 32882 00324 #endif 00325 00326 #ifndef GL_MAX_3D_TEXTURE_SIZE 00327 #define GL_MAX_3D_TEXTURE_SIZE 32883 00328 #endif 00329 00330 00337 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTS) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid* indices); 00338 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); 00339 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); 00340 typedef GLvoid (csAPIENTRY* csGLCOPYTEXSUBIMAGE3D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 00341 00347 #ifndef GL_TEXTURE0 00348 #define GL_TEXTURE0 33984 00349 #endif 00350 00351 #ifndef GL_TEXTURE1 00352 #define GL_TEXTURE1 33985 00353 #endif 00354 00355 #ifndef GL_TEXTURE2 00356 #define GL_TEXTURE2 33986 00357 #endif 00358 00359 #ifndef GL_TEXTURE3 00360 #define GL_TEXTURE3 33987 00361 #endif 00362 00363 #ifndef GL_TEXTURE4 00364 #define GL_TEXTURE4 33988 00365 #endif 00366 00367 #ifndef GL_TEXTURE5 00368 #define GL_TEXTURE5 33989 00369 #endif 00370 00371 #ifndef GL_TEXTURE6 00372 #define GL_TEXTURE6 33990 00373 #endif 00374 00375 #ifndef GL_TEXTURE7 00376 #define GL_TEXTURE7 33991 00377 #endif 00378 00379 #ifndef GL_TEXTURE8 00380 #define GL_TEXTURE8 33992 00381 #endif 00382 00383 #ifndef GL_TEXTURE9 00384 #define GL_TEXTURE9 33993 00385 #endif 00386 00387 #ifndef GL_TEXTURE10 00388 #define GL_TEXTURE10 33994 00389 #endif 00390 00391 #ifndef GL_TEXTURE11 00392 #define GL_TEXTURE11 33995 00393 #endif 00394 00395 #ifndef GL_TEXTURE12 00396 #define GL_TEXTURE12 33996 00397 #endif 00398 00399 #ifndef GL_TEXTURE13 00400 #define GL_TEXTURE13 33997 00401 #endif 00402 00403 #ifndef GL_TEXTURE14 00404 #define GL_TEXTURE14 33998 00405 #endif 00406 00407 #ifndef GL_TEXTURE15 00408 #define GL_TEXTURE15 33999 00409 #endif 00410 00411 #ifndef GL_TEXTURE16 00412 #define GL_TEXTURE16 34000 00413 #endif 00414 00415 #ifndef GL_TEXTURE17 00416 #define GL_TEXTURE17 34001 00417 #endif 00418 00419 #ifndef GL_TEXTURE18 00420 #define GL_TEXTURE18 34002 00421 #endif 00422 00423 #ifndef GL_TEXTURE19 00424 #define GL_TEXTURE19 34003 00425 #endif 00426 00427 #ifndef GL_TEXTURE20 00428 #define GL_TEXTURE20 34004 00429 #endif 00430 00431 #ifndef GL_TEXTURE21 00432 #define GL_TEXTURE21 34005 00433 #endif 00434 00435 #ifndef GL_TEXTURE22 00436 #define GL_TEXTURE22 34006 00437 #endif 00438 00439 #ifndef GL_TEXTURE23 00440 #define GL_TEXTURE23 34007 00441 #endif 00442 00443 #ifndef GL_TEXTURE24 00444 #define GL_TEXTURE24 34008 00445 #endif 00446 00447 #ifndef GL_TEXTURE25 00448 #define GL_TEXTURE25 34009 00449 #endif 00450 00451 #ifndef GL_TEXTURE26 00452 #define GL_TEXTURE26 34010 00453 #endif 00454 00455 #ifndef GL_TEXTURE27 00456 #define GL_TEXTURE27 34011 00457 #endif 00458 00459 #ifndef GL_TEXTURE28 00460 #define GL_TEXTURE28 34012 00461 #endif 00462 00463 #ifndef GL_TEXTURE29 00464 #define GL_TEXTURE29 34013 00465 #endif 00466 00467 #ifndef GL_TEXTURE30 00468 #define GL_TEXTURE30 34014 00469 #endif 00470 00471 #ifndef GL_TEXTURE31 00472 #define GL_TEXTURE31 34015 00473 #endif 00474 00475 #ifndef GL_ACTIVE_TEXTURE 00476 #define GL_ACTIVE_TEXTURE 34016 00477 #endif 00478 00479 #ifndef GL_CLIENT_ACTIVE_TEXTURE 00480 #define GL_CLIENT_ACTIVE_TEXTURE 34017 00481 #endif 00482 00483 #ifndef GL_MAX_TEXTURE_UNITS 00484 #define GL_MAX_TEXTURE_UNITS 34018 00485 #endif 00486 00487 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX 00488 #define GL_TRANSPOSE_MODELVIEW_MATRIX 34019 00489 #endif 00490 00491 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX 00492 #define GL_TRANSPOSE_PROJECTION_MATRIX 34020 00493 #endif 00494 00495 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX 00496 #define GL_TRANSPOSE_TEXTURE_MATRIX 34021 00497 #endif 00498 00499 #ifndef GL_TRANSPOSE_COLOR_MATRIX 00500 #define GL_TRANSPOSE_COLOR_MATRIX 34022 00501 #endif 00502 00503 #ifndef GL_MULTISAMPLE 00504 #define GL_MULTISAMPLE 32925 00505 #endif 00506 00507 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE 00508 #define GL_SAMPLE_ALPHA_TO_COVERAGE 32926 00509 #endif 00510 00511 #ifndef GL_SAMPLE_ALPHA_TO_ONE 00512 #define GL_SAMPLE_ALPHA_TO_ONE 32927 00513 #endif 00514 00515 #ifndef GL_SAMPLE_COVERAGE 00516 #define GL_SAMPLE_COVERAGE 32928 00517 #endif 00518 00519 #ifndef GL_SAMPLE_BUFFERS 00520 #define GL_SAMPLE_BUFFERS 32936 00521 #endif 00522 00523 #ifndef GL_SAMPLES 00524 #define GL_SAMPLES 32937 00525 #endif 00526 00527 #ifndef GL_SAMPLE_COVERAGE_VALUE 00528 #define GL_SAMPLE_COVERAGE_VALUE 32938 00529 #endif 00530 00531 #ifndef GL_SAMPLE_COVERAGE_INVERT 00532 #define GL_SAMPLE_COVERAGE_INVERT 32939 00533 #endif 00534 00535 #ifndef GL_MULTISAMPLE_BIT 00536 #define GL_MULTISAMPLE_BIT 536870912 00537 #endif 00538 00539 #ifndef GL_NORMAL_MAP 00540 #define GL_NORMAL_MAP 34065 00541 #endif 00542 00543 #ifndef GL_REFLECTION_MAP 00544 #define GL_REFLECTION_MAP 34066 00545 #endif 00546 00547 #ifndef GL_TEXTURE_CUBE_MAP 00548 #define GL_TEXTURE_CUBE_MAP 34067 00549 #endif 00550 00551 #ifndef GL_TEXTURE_BINDING_CUBE_MAP 00552 #define GL_TEXTURE_BINDING_CUBE_MAP 34068 00553 #endif 00554 00555 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X 00556 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 34069 00557 #endif 00558 00559 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X 00560 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 34070 00561 #endif 00562 00563 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y 00564 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 34071 00565 #endif 00566 00567 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 00568 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 34072 00569 #endif 00570 00571 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z 00572 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 34073 00573 #endif 00574 00575 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 00576 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 34074 00577 #endif 00578 00579 #ifndef GL_PROXY_TEXTURE_CUBE_MAP 00580 #define GL_PROXY_TEXTURE_CUBE_MAP 34075 00581 #endif 00582 00583 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE 00584 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 34076 00585 #endif 00586 00587 #ifndef GL_COMPRESSED_ALPHA 00588 #define GL_COMPRESSED_ALPHA 34025 00589 #endif 00590 00591 #ifndef GL_COMPRESSED_LUMINANCE 00592 #define GL_COMPRESSED_LUMINANCE 34026 00593 #endif 00594 00595 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA 00596 #define GL_COMPRESSED_LUMINANCE_ALPHA 34027 00597 #endif 00598 00599 #ifndef GL_COMPRESSED_INTENSITY 00600 #define GL_COMPRESSED_INTENSITY 34028 00601 #endif 00602 00603 #ifndef GL_COMPRESSED_RGB 00604 #define GL_COMPRESSED_RGB 34029 00605 #endif 00606 00607 #ifndef GL_COMPRESSED_RGBA 00608 #define GL_COMPRESSED_RGBA 34030 00609 #endif 00610 00611 #ifndef GL_TEXTURE_COMPRESSION_HINT 00612 #define GL_TEXTURE_COMPRESSION_HINT 34031 00613 #endif 00614 00615 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE 00616 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 34464 00617 #endif 00618 00619 #ifndef GL_TEXTURE_COMPRESSED 00620 #define GL_TEXTURE_COMPRESSED 34465 00621 #endif 00622 00623 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS 00624 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 34466 00625 #endif 00626 00627 #ifndef GL_COMPRESSED_TEXTURE_FORMATS 00628 #define GL_COMPRESSED_TEXTURE_FORMATS 34467 00629 #endif 00630 00631 #ifndef GL_CLAMP_TO_BORDER 00632 #define GL_CLAMP_TO_BORDER 33069 00633 #endif 00634 00635 #ifndef GL_CLAMP_TO_BORDER_SGIS 00636 #define GL_CLAMP_TO_BORDER_SGIS 33069 00637 #endif 00638 00639 #ifndef GL_COMBINE 00640 #define GL_COMBINE 34160 00641 #endif 00642 00643 #ifndef GL_COMBINE_RGB 00644 #define GL_COMBINE_RGB 34161 00645 #endif 00646 00647 #ifndef GL_COMBINE_ALPHA 00648 #define GL_COMBINE_ALPHA 34162 00649 #endif 00650 00651 #ifndef GL_SOURCE0_RGB 00652 #define GL_SOURCE0_RGB 34176 00653 #endif 00654 00655 #ifndef GL_SOURCE1_RGB 00656 #define GL_SOURCE1_RGB 34177 00657 #endif 00658 00659 #ifndef GL_SOURCE2_RGB 00660 #define GL_SOURCE2_RGB 34178 00661 #endif 00662 00663 #ifndef GL_SOURCE0_ALPHA 00664 #define GL_SOURCE0_ALPHA 34184 00665 #endif 00666 00667 #ifndef GL_SOURCE1_ALPHA 00668 #define GL_SOURCE1_ALPHA 34185 00669 #endif 00670 00671 #ifndef GL_SOURCE2_ALPHA 00672 #define GL_SOURCE2_ALPHA 34186 00673 #endif 00674 00675 #ifndef GL_OPERAND0_RGB 00676 #define GL_OPERAND0_RGB 34192 00677 #endif 00678 00679 #ifndef GL_OPERAND1_RGB 00680 #define GL_OPERAND1_RGB 34193 00681 #endif 00682 00683 #ifndef GL_OPERAND2_RGB 00684 #define GL_OPERAND2_RGB 34194 00685 #endif 00686 00687 #ifndef GL_OPERAND0_ALPHA 00688 #define GL_OPERAND0_ALPHA 34200 00689 #endif 00690 00691 #ifndef GL_OPERAND1_ALPHA 00692 #define GL_OPERAND1_ALPHA 34201 00693 #endif 00694 00695 #ifndef GL_OPERAND2_ALPHA 00696 #define GL_OPERAND2_ALPHA 34202 00697 #endif 00698 00699 #ifndef GL_RGB_SCALE 00700 #define GL_RGB_SCALE 34163 00701 #endif 00702 00703 #ifndef GL_ADD_SIGNED 00704 #define GL_ADD_SIGNED 34164 00705 #endif 00706 00707 #ifndef GL_INTERPOLATE 00708 #define GL_INTERPOLATE 34165 00709 #endif 00710 00711 #ifndef GL_SUBTRACT 00712 #define GL_SUBTRACT 34023 00713 #endif 00714 00715 #ifndef GL_CONSTANT 00716 #define GL_CONSTANT 34166 00717 #endif 00718 00719 #ifndef GL_PRIMARY_COLOR 00720 #define GL_PRIMARY_COLOR 34167 00721 #endif 00722 00723 #ifndef GL_PREVIOUS 00724 #define GL_PREVIOUS 34168 00725 #endif 00726 00727 #ifndef GL_DOT3_RGB 00728 #define GL_DOT3_RGB 34478 00729 #endif 00730 00731 #ifndef GL_DOT3_RGBA 00732 #define GL_DOT3_RGBA 34479 00733 #endif 00734 00735 00742 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTURE) (GLenum texture); 00743 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTURE) (GLenum texture); 00744 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1D) (GLenum target, GLdouble s); 00745 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DV) (GLenum target, const GLdouble* v); 00746 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1F) (GLenum target, GLfloat s); 00747 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FV) (GLenum target, const GLfloat* v); 00748 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1I) (GLenum target, GLint s); 00749 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IV) (GLenum target, const GLint* v); 00750 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1S) (GLenum target, GLshort s); 00751 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SV) (GLenum target, const GLshort* v); 00752 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2D) (GLenum target, GLdouble s, GLdouble t); 00753 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DV) (GLenum target, const GLdouble* v); 00754 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2F) (GLenum target, GLfloat s, GLfloat t); 00755 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FV) (GLenum target, const GLfloat* v); 00756 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2I) (GLenum target, GLint s, GLint t); 00757 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IV) (GLenum target, const GLint* v); 00758 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2S) (GLenum target, GLshort s, GLshort t); 00759 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SV) (GLenum target, const GLshort* v); 00760 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3D) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 00761 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DV) (GLenum target, const GLdouble* v); 00762 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3F) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 00763 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FV) (GLenum target, const GLfloat* v); 00764 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3I) (GLenum target, GLint s, GLint t, GLint r); 00765 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IV) (GLenum target, const GLint* v); 00766 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3S) (GLenum target, GLshort s, GLshort t, GLshort r); 00767 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SV) (GLenum target, const GLshort* v); 00768 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4D) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 00769 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DV) (GLenum target, const GLdouble* v); 00770 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4F) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 00771 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FV) (GLenum target, const GLfloat* v); 00772 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4I) (GLenum target, GLint s, GLint t, GLint r, GLint q); 00773 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IV) (GLenum target, const GLint* v); 00774 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4S) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 00775 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SV) (GLenum target, const GLshort* v); 00776 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXF) (const GLfloat* m); 00777 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXD) (const GLdouble* m); 00778 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXF) (const GLfloat* m); 00779 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXD) (const GLdouble* m); 00780 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGE) (GLclampf value, GLboolean invert); 00781 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); 00782 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); 00783 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1D) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data); 00784 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); 00785 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); 00786 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data); 00787 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGE) (GLenum target, GLint level, GLvoid* img); 00788 00794 #ifndef GL_GENERATE_MIPMAP 00795 #define GL_GENERATE_MIPMAP 33169 00796 #endif 00797 00798 #ifndef GL_DEPTH_COMPONENT16 00799 #define GL_DEPTH_COMPONENT16 33189 00800 #endif 00801 00802 #ifndef GL_DEPTH_COMPONENT24 00803 #define GL_DEPTH_COMPONENT24 33190 00804 #endif 00805 00806 #ifndef GL_DEPTH_COMPONENT32 00807 #define GL_DEPTH_COMPONENT32 33191 00808 #endif 00809 00810 #ifndef GL_TEXTURE_DEPTH_SIZE 00811 #define GL_TEXTURE_DEPTH_SIZE 34890 00812 #endif 00813 00814 #ifndef GL_DEPTH_TEXTURE_MODE 00815 #define GL_DEPTH_TEXTURE_MODE 34891 00816 #endif 00817 00818 #ifndef GL_TEXTURE_COMPARE_MODE 00819 #define GL_TEXTURE_COMPARE_MODE 34892 00820 #endif 00821 00822 #ifndef GL_TEXTURE_COMPARE_FUNC 00823 #define GL_TEXTURE_COMPARE_FUNC 34893 00824 #endif 00825 00826 #ifndef GL_COMPARE_R_TO_TEXTURE 00827 #define GL_COMPARE_R_TO_TEXTURE 34894 00828 #endif 00829 00830 #ifndef GL_FOG_COORDINATE_SOURCE 00831 #define GL_FOG_COORDINATE_SOURCE 33872 00832 #endif 00833 00834 #ifndef GL_FOG_COORDINATE 00835 #define GL_FOG_COORDINATE 33873 00836 #endif 00837 00838 #ifndef GL_FRAGMENT_DEPTH 00839 #define GL_FRAGMENT_DEPTH 33874 00840 #endif 00841 00842 #ifndef GL_CURRENT_FOG_COORDINATE 00843 #define GL_CURRENT_FOG_COORDINATE 33875 00844 #endif 00845 00846 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE 00847 #define GL_FOG_COORDINATE_ARRAY_TYPE 33876 00848 #endif 00849 00850 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE 00851 #define GL_FOG_COORDINATE_ARRAY_STRIDE 33877 00852 #endif 00853 00854 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER 00855 #define GL_FOG_COORDINATE_ARRAY_POINTER 33878 00856 #endif 00857 00858 #ifndef GL_FOG_COORDINATE_ARRAY 00859 #define GL_FOG_COORDINATE_ARRAY 33879 00860 #endif 00861 00862 #ifndef GL_POINT_SIZE_MIN 00863 #define GL_POINT_SIZE_MIN 33062 00864 #endif 00865 00866 #ifndef GL_POINT_SIZE_MAX 00867 #define GL_POINT_SIZE_MAX 33063 00868 #endif 00869 00870 #ifndef GL_POINT_FADE_THRESHOLD_SIZE 00871 #define GL_POINT_FADE_THRESHOLD_SIZE 33064 00872 #endif 00873 00874 #ifndef GL_POINT_DISTANCE_ATTENUATION 00875 #define GL_POINT_DISTANCE_ATTENUATION 33065 00876 #endif 00877 00878 #ifndef GL_COLOR_SUM 00879 #define GL_COLOR_SUM 33880 00880 #endif 00881 00882 #ifndef GL_CURRENT_SECONDARY_COLOR 00883 #define GL_CURRENT_SECONDARY_COLOR 33881 00884 #endif 00885 00886 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE 00887 #define GL_SECONDARY_COLOR_ARRAY_SIZE 33882 00888 #endif 00889 00890 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE 00891 #define GL_SECONDARY_COLOR_ARRAY_TYPE 33883 00892 #endif 00893 00894 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE 00895 #define GL_SECONDARY_COLOR_ARRAY_STRIDE 33884 00896 #endif 00897 00898 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER 00899 #define GL_SECONDARY_COLOR_ARRAY_POINTER 33885 00900 #endif 00901 00902 #ifndef GL_SECONDARY_COLOR_ARRAY 00903 #define GL_SECONDARY_COLOR_ARRAY 33886 00904 #endif 00905 00906 #ifndef GL_BLEND_DST_RGB 00907 #define GL_BLEND_DST_RGB 0x80C8 00908 #endif 00909 00910 #ifndef GL_BLEND_SRC_RGB 00911 #define GL_BLEND_SRC_RGB 0x80C9 00912 #endif 00913 00914 #ifndef GL_BLEND_DST_ALPHA 00915 #define GL_BLEND_DST_ALPHA 0x80CA 00916 #endif 00917 00918 #ifndef GL_BLEND_SRC_ALPHA 00919 #define GL_BLEND_SRC_ALPHA 0x80CB 00920 #endif 00921 00922 #ifndef GL_INCR_WRAP 00923 #define GL_INCR_WRAP 34055 00924 #endif 00925 00926 #ifndef GL_DECR_WRAP 00927 #define GL_DECR_WRAP 34056 00928 #endif 00929 00930 #ifndef GL_TEXTURE_FILTER_CONTROL 00931 #define GL_TEXTURE_FILTER_CONTROL 34048 00932 #endif 00933 00934 #ifndef GL_TEXTURE_LOD_BIAS 00935 #define GL_TEXTURE_LOD_BIAS 34049 00936 #endif 00937 00938 #ifndef GL_MAX_TEXTURE_LOD_BIAS 00939 #define GL_MAX_TEXTURE_LOD_BIAS 34045 00940 #endif 00941 00942 #ifndef GL_MIRRORED_REPEAT 00943 #define GL_MIRRORED_REPEAT 33648 00944 #endif 00945 00946 00953 typedef GLvoid (csAPIENTRY* csGLFOGCOORDF) (GLfloat coord); 00954 typedef GLvoid (csAPIENTRY* csGLFOGCOORDD) (GLdouble coord); 00955 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFV) (GLfloat* coord); 00956 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDV) (GLdouble* coord); 00957 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTER) (GLenum type, GLsizei stride, GLvoid* pointer); 00958 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYS) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount); 00959 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTS) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount); 00960 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERF) (GLenum pname, GLfloat param); 00961 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFV) (GLenum pname, GLfloat* params); 00962 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3B) (GLbyte components); 00963 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3S) (GLshort components); 00964 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3I) (GLint components); 00965 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3F) (GLfloat components); 00966 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3D) (GLdouble components); 00967 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UB) (GLubyte components); 00968 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3US) (GLushort components); 00969 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UI) (GLuint components); 00970 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BV) (GLbyte* components); 00971 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SV) (GLshort* components); 00972 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IV) (GLint* components); 00973 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FV) (GLfloat* components); 00974 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DV) (GLdouble* components); 00975 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBV) (GLubyte* components); 00976 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USV) (GLushort* components); 00977 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIV) (GLuint* components); 00978 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTER) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer); 00979 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATE) (GLenum sFactorRGB, GLenum dFactorRGB, GLenum sFactorAlpha, GLenum dFactorAlpha); 00980 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2D) (GLdouble x, GLdouble y); 00981 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2F) (GLfloat x, GLfloat y); 00982 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2I) (GLint x, GLint y); 00983 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2S) (GLshort x, GLshort y); 00984 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DV) (const GLdouble* p); 00985 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FV) (const GLfloat* p); 00986 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IV) (const GLint* p); 00987 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SV) (const GLshort* p); 00988 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3D) (GLdouble x, GLdouble y, GLdouble z); 00989 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3F) (GLfloat x, GLfloat y, GLfloat z); 00990 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3I) (GLint x, GLint y, GLint z); 00991 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3S) (GLshort x, GLshort y, GLshort z); 00992 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DV) (const GLdouble* p); 00993 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FV) (const GLfloat* p); 00994 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IV) (const GLint* p); 00995 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SV) (const GLshort* p); 00996 01002 #ifndef GL_ARRAY_BUFFER 01003 #define GL_ARRAY_BUFFER 34962 01004 #endif 01005 01006 #ifndef GL_ELEMENT_ARRAY_BUFFER 01007 #define GL_ELEMENT_ARRAY_BUFFER 34963 01008 #endif 01009 01010 #ifndef GL_ARRAY_BUFFER_BINDING 01011 #define GL_ARRAY_BUFFER_BINDING 34964 01012 #endif 01013 01014 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING 01015 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 34965 01016 #endif 01017 01018 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING 01019 #define GL_VERTEX_ARRAY_BUFFER_BINDING 34966 01020 #endif 01021 01022 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING 01023 #define GL_NORMAL_ARRAY_BUFFER_BINDING 34967 01024 #endif 01025 01026 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING 01027 #define GL_COLOR_ARRAY_BUFFER_BINDING 34968 01028 #endif 01029 01030 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING 01031 #define GL_INDEX_ARRAY_BUFFER_BINDING 34969 01032 #endif 01033 01034 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 01035 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 34970 01036 #endif 01037 01038 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 01039 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 34971 01040 #endif 01041 01042 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 01043 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 34972 01044 #endif 01045 01046 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 01047 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 34973 01048 #endif 01049 01050 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING 01051 #define GL_WEIGHT_ARRAY_BUFFER_BINDING 34974 01052 #endif 01053 01054 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 01055 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 34975 01056 #endif 01057 01058 #ifndef GL_STREAM_DRAW 01059 #define GL_STREAM_DRAW 35040 01060 #endif 01061 01062 #ifndef GL_STREAM_READ 01063 #define GL_STREAM_READ 35041 01064 #endif 01065 01066 #ifndef GL_STREAM_COPY 01067 #define GL_STREAM_COPY 35042 01068 #endif 01069 01070 #ifndef GL_STATIC_DRAW 01071 #define GL_STATIC_DRAW 35044 01072 #endif 01073 01074 #ifndef GL_STATIC_READ 01075 #define GL_STATIC_READ 35045 01076 #endif 01077 01078 #ifndef GL_STATIC_COPY 01079 #define GL_STATIC_COPY 35046 01080 #endif 01081 01082 #ifndef GL_DYNAMIC_DRAW 01083 #define GL_DYNAMIC_DRAW 35048 01084 #endif 01085 01086 #ifndef GL_DYNAMIC_READ 01087 #define GL_DYNAMIC_READ 35049 01088 #endif 01089 01090 #ifndef GL_DYNAMIC_COPY 01091 #define GL_DYNAMIC_COPY 35050 01092 #endif 01093 01094 #ifndef GL_READ_ONLY 01095 #define GL_READ_ONLY 35000 01096 #endif 01097 01098 #ifndef GL_WRITE_ONLY 01099 #define GL_WRITE_ONLY 35001 01100 #endif 01101 01102 #ifndef GL_READ_WRITE 01103 #define GL_READ_WRITE 35002 01104 #endif 01105 01106 #ifndef GL_BUFFER_SIZE 01107 #define GL_BUFFER_SIZE 34660 01108 #endif 01109 01110 #ifndef GL_BUFFER_USAGE 01111 #define GL_BUFFER_USAGE 34661 01112 #endif 01113 01114 #ifndef GL_BUFFER_ACCESS 01115 #define GL_BUFFER_ACCESS 35003 01116 #endif 01117 01118 #ifndef GL_BUFFER_MAPPED 01119 #define GL_BUFFER_MAPPED 35004 01120 #endif 01121 01122 #ifndef GL_BUFFER_MAP_POINTER 01123 #define GL_BUFFER_MAP_POINTER 35005 01124 #endif 01125 01126 #ifndef GL_SAMPLES_PASSED 01127 #define GL_SAMPLES_PASSED 0x8914 01128 #endif 01129 01130 #ifndef GL_QUERY_COUNTER_BITS 01131 #define GL_QUERY_COUNTER_BITS 0x8864 01132 #endif 01133 01134 #ifndef GL_CURRENT_QUERY 01135 #define GL_CURRENT_QUERY 0x8865 01136 #endif 01137 01138 #ifndef GL_QUERY_RESULT 01139 #define GL_QUERY_RESULT 0x8866 01140 #endif 01141 01142 #ifndef GL_QUERY_RESULT_AVAILABLE 01143 #define GL_QUERY_RESULT_AVAILABLE 0x8867 01144 #endif 01145 01146 #ifndef GL_FOG_COORD_SOURCE 01147 #define GL_FOG_COORD_SOURCE GL_FOG_COORDINATE_SOURCE 01148 #endif 01149 01150 #ifndef GL_FOG_COORD 01151 #define GL_FOG_COORD GL_FOG_COORDINATE 01152 #endif 01153 01154 #ifndef GL_CURRENT_FOG_COORD 01155 #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE 01156 #endif 01157 01158 #ifndef GL_FOG_COORD_ARRAY_TYPE 01159 #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE 01160 #endif 01161 01162 #ifndef GL_FOG_COORD_ARRAY_STRIDE 01163 #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE 01164 #endif 01165 01166 #ifndef GL_FOG_COORD_ARRAY_POINTER 01167 #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER 01168 #endif 01169 01170 #ifndef GL_FOG_COORD_ARRAY 01171 #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY 01172 #endif 01173 01174 #ifndef GL_FOG_COORD_ARRAY_BUFFER_BINDING 01175 #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 01176 #endif 01177 01178 #ifndef GL_SRC0_RGB 01179 #define GL_SRC0_RGB GL_SOURCE0_RGB 01180 #endif 01181 01182 #ifndef GL_SRC1_RGB 01183 #define GL_SRC1_RGB GL_SOURCE1_RGB 01184 #endif 01185 01186 #ifndef GL_SRC2_RGB 01187 #define GL_SRC2_RGB GL_SOURCE2_RGB 01188 #endif 01189 01190 #ifndef GL_SRC0_ALPHA 01191 #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA 01192 #endif 01193 01194 #ifndef GL_SRC1_ALPHA 01195 #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA 01196 #endif 01197 01198 #ifndef GL_SRC2_ALPHA 01199 #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA 01200 #endif 01201 01202 01209 typedef GLvoid (csAPIENTRY* csGLBINDBUFFER) (GLenum target, GLuint buffer); 01210 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERS) (GLsizei n, const GLuint* buffers); 01211 typedef GLvoid (csAPIENTRY* csGLGENBUFFERS) (GLsizei n, GLuint* buffers); 01212 typedef GLvoid (csAPIENTRY* csGLBUFFERDATA) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage); 01213 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data); 01214 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFER) (GLenum target, GLenum access); 01215 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFER) (GLenum target); 01216 typedef GLboolean (csAPIENTRY* csGLISBUFFER) (GLuint buffer); 01217 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATA) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data); 01218 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERV) (GLenum target, GLenum pname, GLvoid** params); 01219 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIV) (GLenum target, GLenum pname, GLint* params); 01220 typedef GLvoid (csAPIENTRY* csGLGENQUERIES) (GLsizei n, GLuint* ids); 01221 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIES) (GLsizei n, GLuint* ids); 01222 typedef GLboolean (csAPIENTRY* csGLISQUERY) (GLuint id); 01223 typedef GLvoid (csAPIENTRY* csGLBEGINQUERY) (GLenum target, GLuint id); 01224 typedef GLvoid (csAPIENTRY* csGLENDQUERY) (GLenum target); 01225 typedef GLvoid (csAPIENTRY* csGLGETQUERYIV) (GLenum target, GLenum pname, GLint* params); 01226 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIV) (GLuint id, GLenum pname, GLint* params); 01227 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIV) (GLuint id, GLenum pname, GLuint* params); 01228 01234 #ifndef GL_PROGRAM_OBJECT 01235 #define GL_PROGRAM_OBJECT 0x8B40 01236 #endif 01237 01238 #ifndef GL_OBJECT_TYPE 01239 #define GL_OBJECT_TYPE 0x8B4E 01240 #endif 01241 01242 #ifndef GL_OBJECT_SUBTYPE 01243 #define GL_OBJECT_SUBTYPE 0x8B4F 01244 #endif 01245 01246 #ifndef GL_OBJECT_DELETE_STATUS 01247 #define GL_OBJECT_DELETE_STATUS 0x8B80 01248 #endif 01249 01250 #ifndef GL_OBJECT_COMPILE_STATUS 01251 #define GL_OBJECT_COMPILE_STATUS 0x8B81 01252 #endif 01253 01254 #ifndef GL_OBJECT_LINK_STATUS 01255 #define GL_OBJECT_LINK_STATUS 0x8B82 01256 #endif 01257 01258 #ifndef GL_OBJECT_VALIDATE_STATUS 01259 #define GL_OBJECT_VALIDATE_STATUS 0x8B83 01260 #endif 01261 01262 #ifndef GL_OBJECT_INFO_LOG_LENGTH 01263 #define GL_OBJECT_INFO_LOG_LENGTH 0x8B84 01264 #endif 01265 01266 #ifndef GL_OBJECT_ATTACHED_OBJECTS 01267 #define GL_OBJECT_ATTACHED_OBJECTS 0x8B85 01268 #endif 01269 01270 #ifndef GL_OBJECT_ACTIVE_UNIFORMS 01271 #define GL_OBJECT_ACTIVE_UNIFORMS 0x8B86 01272 #endif 01273 01274 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH 01275 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH 0x8B87 01276 #endif 01277 01278 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH 01279 #define GL_OBJECT_SHADER_SOURCE_LENGTH 0x8B88 01280 #endif 01281 01282 #ifndef GL_SHADER_OBJECT 01283 #define GL_SHADER_OBJECT 0x8B48 01284 #endif 01285 01286 #ifndef GL_FLOAT_VEC2 01287 #define GL_FLOAT_VEC2 0x8B50 01288 #endif 01289 01290 #ifndef GL_FLOAT_VEC3 01291 #define GL_FLOAT_VEC3 0x8B51 01292 #endif 01293 01294 #ifndef GL_FLOAT_VEC4 01295 #define GL_FLOAT_VEC4 0x8B52 01296 #endif 01297 01298 #ifndef GL_INT_VEC2 01299 #define GL_INT_VEC2 0x8B53 01300 #endif 01301 01302 #ifndef GL_INT_VEC3 01303 #define GL_INT_VEC3 0x8B54 01304 #endif 01305 01306 #ifndef GL_INT_VEC4 01307 #define GL_INT_VEC4 0x8B55 01308 #endif 01309 01310 #ifndef GL_BOOL 01311 #define GL_BOOL 0x8B56 01312 #endif 01313 01314 #ifndef GL_BOOL_VEC2 01315 #define GL_BOOL_VEC2 0x8B57 01316 #endif 01317 01318 #ifndef GL_BOOL_VEC3 01319 #define GL_BOOL_VEC3 0x8B58 01320 #endif 01321 01322 #ifndef GL_BOOL_VEC4 01323 #define GL_BOOL_VEC4 0x8B59 01324 #endif 01325 01326 #ifndef GL_FLOAT_MAT2 01327 #define GL_FLOAT_MAT2 0x8B5A 01328 #endif 01329 01330 #ifndef GL_FLOAT_MAT3 01331 #define GL_FLOAT_MAT3 0x8B5B 01332 #endif 01333 01334 #ifndef GL_FLOAT_MAT4 01335 #define GL_FLOAT_MAT4 0x8B5C 01336 #endif 01337 01338 #ifndef GL_FRAGMENT_SHADER 01339 #define GL_FRAGMENT_SHADER 0x8B30 01340 #endif 01341 01342 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 01343 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 01344 #endif 01345 01346 #ifndef GL_MAX_TEXTURE_COORDS 01347 #define GL_MAX_TEXTURE_COORDS 0x8871 01348 #endif 01349 01350 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS 01351 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 01352 #endif 01353 01354 #ifndef GL_OBJECT_TYPE 01355 #define GL_OBJECT_TYPE 0x8B4E 01356 #endif 01357 01358 #ifndef GL_OBJECT_SUBTYPE 01359 #define GL_OBJECT_SUBTYPE 0x8B4F 01360 #endif 01361 01362 #ifndef GL_SHADER_OBJECT 01363 #define GL_SHADER_OBJECT 0x8B48 01364 #endif 01365 01366 #ifndef GL_VERTEX_SHADER 01367 #define GL_VERTEX_SHADER 0x8B31 01368 #endif 01369 01370 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS 01371 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A 01372 #endif 01373 01374 #ifndef GL_MAX_VARYING_FLOATS 01375 #define GL_MAX_VARYING_FLOATS 0x8B4B 01376 #endif 01377 01378 #ifndef GL_MAX_VERTEX_ATTRIBS 01379 #define GL_MAX_VERTEX_ATTRIBS 0x8869 01380 #endif 01381 01382 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS 01383 #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 01384 #endif 01385 01386 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 01387 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x884C 01388 #endif 01389 01390 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 01391 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x884D 01392 #endif 01393 01394 #ifndef GL_MAX_TEXTURE_COORDS 01395 #define GL_MAX_TEXTURE_COORDS 0x8871 01396 #endif 01397 01398 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE 01399 #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 01400 #endif 01401 01402 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE 01403 #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 01404 #endif 01405 01406 #ifndef GL_OBJECT_TYPE 01407 #define GL_OBJECT_TYPE 0x8B4E 01408 #endif 01409 01410 #ifndef GL_OBJECT_SUBTYPE 01411 #define GL_OBJECT_SUBTYPE 0x8B4F 01412 #endif 01413 01414 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES 01415 #define GL_OBJECT_ACTIVE_ATTRIBUTES 0x8B89 01416 #endif 01417 01418 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH 01419 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A 01420 #endif 01421 01422 #ifndef GL_SHADER_OBJECT 01423 #define GL_SHADER_OBJECT 0x8B48 01424 #endif 01425 01426 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED 01427 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 01428 #endif 01429 01430 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE 01431 #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 01432 #endif 01433 01434 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE 01435 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 01436 #endif 01437 01438 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE 01439 #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 01440 #endif 01441 01442 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 01443 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A 01444 #endif 01445 01446 #ifndef GL_CURRENT_VERTEX_ATTRIB 01447 #define GL_CURRENT_VERTEX_ATTRIB 0x8626 01448 #endif 01449 01450 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER 01451 #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 01452 #endif 01453 01454 #ifndef GL_FLOAT_VEC2 01455 #define GL_FLOAT_VEC2 0x8B50 01456 #endif 01457 01458 #ifndef GL_FLOAT_VEC3 01459 #define GL_FLOAT_VEC3 0x8B51 01460 #endif 01461 01462 #ifndef GL_FLOAT_VEC4 01463 #define GL_FLOAT_VEC4 0x8B52 01464 #endif 01465 01466 #ifndef GL_FLOAT_MAT2 01467 #define GL_FLOAT_MAT2 0x8B5A 01468 #endif 01469 01470 #ifndef GL_FLOAT_MAT3 01471 #define GL_FLOAT_MAT3 0x8B5B 01472 #endif 01473 01474 #ifndef GL_FLOAT_MAT4 01475 #define GL_FLOAT_MAT4 0x8B5C 01476 #endif 01477 01478 #ifndef GL_MAX_DRAW_BUFFERS 01479 #define GL_MAX_DRAW_BUFFERS 0x8824 01480 #endif 01481 01482 #ifndef GL_DRAW_BUFFER0 01483 #define GL_DRAW_BUFFER0 0x8825 01484 #endif 01485 01486 #ifndef GL_DRAW_BUFFER1 01487 #define GL_DRAW_BUFFER1 0x8826 01488 #endif 01489 01490 #ifndef GL_DRAW_BUFFER2 01491 #define GL_DRAW_BUFFER2 0x8827 01492 #endif 01493 01494 #ifndef GL_DRAW_BUFFER3 01495 #define GL_DRAW_BUFFER3 0x8828 01496 #endif 01497 01498 #ifndef GL_DRAW_BUFFER4 01499 #define GL_DRAW_BUFFER4 0x8829 01500 #endif 01501 01502 #ifndef GL_DRAW_BUFFER5 01503 #define GL_DRAW_BUFFER5 0x882A 01504 #endif 01505 01506 #ifndef GL_DRAW_BUFFER6 01507 #define GL_DRAW_BUFFER6 0x882B 01508 #endif 01509 01510 #ifndef GL_DRAW_BUFFER7 01511 #define GL_DRAW_BUFFER7 0x882C 01512 #endif 01513 01514 #ifndef GL_DRAW_BUFFER8 01515 #define GL_DRAW_BUFFER8 0x882D 01516 #endif 01517 01518 #ifndef GL_DRAW_BUFFER9 01519 #define GL_DRAW_BUFFER9 0x882E 01520 #endif 01521 01522 #ifndef GL_DRAW_BUFFER10 01523 #define GL_DRAW_BUFFER10 0x882F 01524 #endif 01525 01526 #ifndef GL_DRAW_BUFFER11 01527 #define GL_DRAW_BUFFER11 0x8830 01528 #endif 01529 01530 #ifndef GL_DRAW_BUFFER12 01531 #define GL_DRAW_BUFFER12 0x8831 01532 #endif 01533 01534 #ifndef GL_DRAW_BUFFER13 01535 #define GL_DRAW_BUFFER13 0x8832 01536 #endif 01537 01538 #ifndef GL_DRAW_BUFFER14 01539 #define GL_DRAW_BUFFER14 0x8833 01540 #endif 01541 01542 #ifndef GL_DRAW_BUFFER15 01543 #define GL_DRAW_BUFFER15 0x8834 01544 #endif 01545 01546 #ifndef GL_POINT_SPRITE 01547 #define GL_POINT_SPRITE 0x8861 01548 #endif 01549 01550 #ifndef GL_COORD_REPLACE 01551 #define GL_COORD_REPLACE 0x8862 01552 #endif 01553 01554 #ifndef GL_POINT_SPRITE_COORD_ORIGIN 01555 #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 01556 #endif 01557 01558 #ifndef GL_LOWER_LEFT 01559 #define GL_LOWER_LEFT 0x8CA1 01560 #endif 01561 01562 #ifndef GL_UPPER_LEFT 01563 #define GL_UPPER_LEFT 0x8CA2 01564 #endif 01565 01566 #ifndef GL_BLEND_EQUATION_RGB 01567 #define GL_BLEND_EQUATION_RGB BLEND_EQUATION 01568 #endif 01569 01570 #ifndef GL_BLEND_EQUATION_ALPHA 01571 #define GL_BLEND_EQUATION_ALPHA 0x883D 01572 #endif 01573 01574 #ifndef GL_STENCIL_BACK_REF 01575 #define GL_STENCIL_BACK_REF 0x8CA3 01576 #endif 01577 01578 #ifndef GL_STENCIL_BACK_VALUE_MASK 01579 #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 01580 #endif 01581 01582 #ifndef GL_STENCIL_BACK_WRITEMASK 01583 #define GL_STENCIL_BACK_WRITEMASK 0x8CA5 01584 #endif 01585 01586 01593 typedef GLvoid (csAPIENTRY* csGLDELETESHADER) (GLuint obj); 01594 typedef GLuint (csAPIENTRY* csGLGETHANDLE) (GLenum pname); 01595 typedef GLvoid (csAPIENTRY* csGLDETACHSHADER) (GLuint containerObj, GLuint attachedObj); 01596 typedef GLuint (csAPIENTRY* csGLCREATESHADER) (GLenum shaderType); 01597 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCE) (GLuint shaderObj, GLsizei count, const GLchar** string, const GLint* length); 01598 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADER) (GLuint shaderObj); 01599 typedef GLuint (csAPIENTRY* csGLCREATEPROGRAMOBJECT) (); 01600 typedef GLvoid (csAPIENTRY* csGLATTACHSHADER) (GLuint containerObj, GLuint Obj); 01601 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAM) (GLuint programObj); 01602 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAM) (GLuint programObj); 01603 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAM) (GLuint programObj); 01604 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAM) (GLuint programObj); 01605 typedef GLvoid (csAPIENTRY* csGLUNIFORM1F) (GLint location, GLfloat v0); 01606 typedef GLvoid (csAPIENTRY* csGLUNIFORM2F) (GLint location, GLfloat v0, GLfloat v1); 01607 typedef GLvoid (csAPIENTRY* csGLUNIFORM3F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 01608 typedef GLvoid (csAPIENTRY* csGLUNIFORM4F) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 01609 typedef GLvoid (csAPIENTRY* csGLUNIFORM1I) (GLint location, GLint v0); 01610 typedef GLvoid (csAPIENTRY* csGLUNIFORM2I) (GLint location, GLint v0, GLint v1); 01611 typedef GLvoid (csAPIENTRY* csGLUNIFORM3I) (GLint location, GLint v0, GLint v1, GLint v2); 01612 typedef GLvoid (csAPIENTRY* csGLUNIFORM4I) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 01613 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FV) (GLint location, GLsizei count, GLfloat* value); 01614 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FV) (GLint location, GLsizei count, GLfloat* value); 01615 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FV) (GLint location, GLsizei count, GLfloat* value); 01616 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FV) (GLint location, GLsizei count, GLfloat* value); 01617 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IV) (GLint location, GLsizei count, GLint* value); 01618 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IV) (GLint location, GLsizei count, GLint* value); 01619 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IV) (GLint location, GLsizei count, GLint* value); 01620 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IV) (GLint location, GLsizei count, GLint* value); 01621 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01622 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01623 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01624 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFV) (GLuint obj, GLenum pname, GLfloat* params); 01625 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIV) (GLuint obj, GLenum pname, GLint* params); 01626 typedef GLvoid (csAPIENTRY* csGLGETINFOLOG) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* infoLog); 01627 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTS) (GLuint containerObj, GLsizei maxCount, GLsizei* count, GLuint* obj); 01628 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATION) (GLuint programObj, const GLchar* name); 01629 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORM) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 01630 typedef GLint (csAPIENTRY* csGLGETUNIFORMFV) (GLuint programObj, GLint location, GLfloat* params); 01631 typedef GLint (csAPIENTRY* csGLGETUNIFORMIV) (GLuint programObj, GLint location, GLint* params); 01632 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCE) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source); 01633 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1S) (GLuint index, GLshort x); 01634 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1F) (GLuint index, GLfloat x); 01635 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1D) (GLuint index, GLdouble x); 01636 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2S) (GLuint index, GLshort x, GLshort y); 01637 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2F) (GLuint index, GLfloat x, GLfloat y); 01638 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2D) (GLuint index, GLdouble x, GLdouble y); 01639 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3S) (GLuint index, GLshort x, GLshort y, GLshort z); 01640 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3F) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 01641 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3D) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 01642 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4S) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 01643 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4F) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 01644 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4D) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 01645 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 01646 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SV) (GLuint index, const GLshort* v); 01647 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FV) (GLuint index, const GLfloat* v); 01648 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DV) (GLuint index, const GLdouble* v); 01649 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SV) (GLuint index, const GLshort* v); 01650 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FV) (GLuint index, const GLfloat* v); 01651 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DV) (GLuint index, const GLdouble* v); 01652 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SV) (GLuint index, const GLshort* v); 01653 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FV) (GLuint index, const GLfloat* v); 01654 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DV) (GLuint index, const GLdouble* v); 01655 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BV) (GLuint index, const GLbyte* v); 01656 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SV) (GLuint index, const GLshort* v); 01657 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IV) (GLuint index, const GLint* v); 01658 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBV) (GLuint index, const GLubyte* v); 01659 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USV) (GLuint index, const GLushort* v); 01660 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIV) (GLuint index, const GLuint* v); 01661 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FV) (GLuint index, const GLfloat* v); 01662 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DV) (GLuint index, const GLdouble* v); 01663 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBV) (GLuint index, const GLbyte* v); 01664 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSV) (GLuint index, const GLshort* v); 01665 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIV) (GLuint index, const GLint* v); 01666 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBV) (GLuint index, const GLubyte* v); 01667 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSV) (GLuint index, const GLushort* v); 01668 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIV) (GLuint index, const GLuint* v); 01669 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTER) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer); 01670 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAY) (GLuint index); 01671 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAY) (GLuint index); 01672 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATION) (GLuint programObj, GLuint index, const GLchar* name); 01673 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIB) (GLuint programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name); 01674 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATION) (GLuint programObj, const GLchar* name); 01675 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERV) (GLuint index, GLenum pname, GLvoid** pointer); 01676 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATE) (GLenum modeRGB, GLenum modeAlpha); 01677 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATE) (GLenum face, GLenum func, GLint ref, GLuint mask); 01678 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATE) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 01679 01685 #ifndef GL_PIXEL_PACK_BUFFER 01686 #define GL_PIXEL_PACK_BUFFER 0x88EB 01687 #endif 01688 01689 #ifndef GL_PIXEL_UNPACK_BUFFER 01690 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 01691 #endif 01692 01693 #ifndef GL_PIXEL_PACK_BUFFER_BINDING 01694 #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED 01695 #endif 01696 01697 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING 01698 #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF 01699 #endif 01700 01701 #ifndef GL_SRGB 01702 #define GL_SRGB 0x8C40 01703 #endif 01704 01705 #ifndef GL_SRGB8 01706 #define GL_SRGB8 0x8C41 01707 #endif 01708 01709 #ifndef GL_SRGB_ALPHA 01710 #define GL_SRGB_ALPHA 0x8C42 01711 #endif 01712 01713 #ifndef GL_SRGB8_ALPHA8 01714 #define GL_SRGB8_ALPHA8 0x8C43 01715 #endif 01716 01717 #ifndef GL_SLUMINANCE_ALPHA 01718 #define GL_SLUMINANCE_ALPHA 0x8C44 01719 #endif 01720 01721 #ifndef GL_SLUMINANCE8_ALPHA8 01722 #define GL_SLUMINANCE8_ALPHA8 0x8C45 01723 #endif 01724 01725 #ifndef GL_SLUMINANCE 01726 #define GL_SLUMINANCE 0x8C46 01727 #endif 01728 01729 #ifndef GL_SLUMINANCE8 01730 #define GL_SLUMINANCE8 0x8C47 01731 #endif 01732 01733 #ifndef GL_COMPRESSED_SRGB 01734 #define GL_COMPRESSED_SRGB 0x8C48 01735 #endif 01736 01737 #ifndef GL_COMPRESSED_SRGB_ALPHA 01738 #define GL_COMPRESSED_SRGB_ALPHA 0x8C49 01739 #endif 01740 01741 #ifndef GL_COMPRESSED_SLUMINANCE 01742 #define GL_COMPRESSED_SLUMINANCE 0x8C4A 01743 #endif 01744 01745 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA 01746 #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B 01747 #endif 01748 01749 01756 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01757 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01758 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01759 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X2FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01760 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3X4FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01761 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4X3FV) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 01762 01767 #ifndef GL_CONSTANT_COLOR 01768 #define GL_CONSTANT_COLOR 32769 01769 #endif 01770 01771 #ifndef GL_ONE_MINUS_CONSTANT_COLOR 01772 #define GL_ONE_MINUS_CONSTANT_COLOR 32770 01773 #endif 01774 01775 #ifndef GL_CONSTANT_ALPHA 01776 #define GL_CONSTANT_ALPHA 32771 01777 #endif 01778 01779 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA 01780 #define GL_ONE_MINUS_CONSTANT_ALPHA 32772 01781 #endif 01782 01783 #ifndef GL_BLEND_COLOR 01784 #define GL_BLEND_COLOR 32773 01785 #endif 01786 01787 #ifndef GL_FUNC_ADD 01788 #define GL_FUNC_ADD 32774 01789 #endif 01790 01791 #ifndef GL_MIN 01792 #define GL_MIN 32775 01793 #endif 01794 01795 #ifndef GL_MAX 01796 #define GL_MAX 32776 01797 #endif 01798 01799 #ifndef GL_BLEND_EQUATION 01800 #define GL_BLEND_EQUATION 32777 01801 #endif 01802 01803 #ifndef GL_FUNC_SUBTRACT 01804 #define GL_FUNC_SUBTRACT 32778 01805 #endif 01806 01807 #ifndef GL_FUNC_REVERSE_SUBTRACT 01808 #define GL_FUNC_REVERSE_SUBTRACT 32779 01809 #endif 01810 01811 #ifndef GL_CONVOLUTION_1D 01812 #define GL_CONVOLUTION_1D 32784 01813 #endif 01814 01815 #ifndef GL_CONVOLUTION_2D 01816 #define GL_CONVOLUTION_2D 32785 01817 #endif 01818 01819 #ifndef GL_SEPARABLE_2D 01820 #define GL_SEPARABLE_2D 32786 01821 #endif 01822 01823 #ifndef GL_CONVOLUTION_BORDER_MODE 01824 #define GL_CONVOLUTION_BORDER_MODE 32787 01825 #endif 01826 01827 #ifndef GL_CONVOLUTION_FILTER_SCALE 01828 #define GL_CONVOLUTION_FILTER_SCALE 32788 01829 #endif 01830 01831 #ifndef GL_CONVOLUTION_FILTER_BIAS 01832 #define GL_CONVOLUTION_FILTER_BIAS 32789 01833 #endif 01834 01835 #ifndef GL_REDUCE 01836 #define GL_REDUCE 32790 01837 #endif 01838 01839 #ifndef GL_CONVOLUTION_FORMAT 01840 #define GL_CONVOLUTION_FORMAT 32791 01841 #endif 01842 01843 #ifndef GL_CONVOLUTION_WIDTH 01844 #define GL_CONVOLUTION_WIDTH 32792 01845 #endif 01846 01847 #ifndef GL_CONVOLUTION_HEIGHT 01848 #define GL_CONVOLUTION_HEIGHT 32793 01849 #endif 01850 01851 #ifndef GL_MAX_CONVOLUTION_WIDTH 01852 #define GL_MAX_CONVOLUTION_WIDTH 32794 01853 #endif 01854 01855 #ifndef GL_MAX_CONVOLUTION_HEIGHT 01856 #define GL_MAX_CONVOLUTION_HEIGHT 32795 01857 #endif 01858 01859 #ifndef GL_POST_CONVOLUTION_RED_SCALE 01860 #define GL_POST_CONVOLUTION_RED_SCALE 32796 01861 #endif 01862 01863 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE 01864 #define GL_POST_CONVOLUTION_GREEN_SCALE 32797 01865 #endif 01866 01867 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE 01868 #define GL_POST_CONVOLUTION_BLUE_SCALE 32798 01869 #endif 01870 01871 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE 01872 #define GL_POST_CONVOLUTION_ALPHA_SCALE 32799 01873 #endif 01874 01875 #ifndef GL_POST_CONVOLUTION_RED_BIAS 01876 #define GL_POST_CONVOLUTION_RED_BIAS 32800 01877 #endif 01878 01879 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS 01880 #define GL_POST_CONVOLUTION_GREEN_BIAS 32801 01881 #endif 01882 01883 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS 01884 #define GL_POST_CONVOLUTION_BLUE_BIAS 32802 01885 #endif 01886 01887 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS 01888 #define GL_POST_CONVOLUTION_ALPHA_BIAS 32803 01889 #endif 01890 01891 #ifndef GL_HISTOGRAM 01892 #define GL_HISTOGRAM 32804 01893 #endif 01894 01895 #ifndef GL_PROXY_HISTOGRAM 01896 #define GL_PROXY_HISTOGRAM 32805 01897 #endif 01898 01899 #ifndef GL_HISTOGRAM_WIDTH 01900 #define GL_HISTOGRAM_WIDTH 32806 01901 #endif 01902 01903 #ifndef GL_HISTOGRAM_FORMAT 01904 #define GL_HISTOGRAM_FORMAT 32807 01905 #endif 01906 01907 #ifndef GL_HISTOGRAM_RED_SIZE 01908 #define GL_HISTOGRAM_RED_SIZE 32808 01909 #endif 01910 01911 #ifndef GL_HISTOGRAM_GREEN_SIZE 01912 #define GL_HISTOGRAM_GREEN_SIZE 32809 01913 #endif 01914 01915 #ifndef GL_HISTOGRAM_BLUE_SIZE 01916 #define GL_HISTOGRAM_BLUE_SIZE 32810 01917 #endif 01918 01919 #ifndef GL_HISTOGRAM_ALPHA_SIZE 01920 #define GL_HISTOGRAM_ALPHA_SIZE 32811 01921 #endif 01922 01923 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE 01924 #define GL_HISTOGRAM_LUMINANCE_SIZE 32812 01925 #endif 01926 01927 #ifndef GL_HISTOGRAM_SINK 01928 #define GL_HISTOGRAM_SINK 32813 01929 #endif 01930 01931 #ifndef GL_MINMAX 01932 #define GL_MINMAX 32814 01933 #endif 01934 01935 #ifndef GL_MINMAX_FORMAT 01936 #define GL_MINMAX_FORMAT 32815 01937 #endif 01938 01939 #ifndef GL_MINMAX_SINK 01940 #define GL_MINMAX_SINK 32816 01941 #endif 01942 01943 #ifndef GL_TABLE_TOO_LARGE 01944 #define GL_TABLE_TOO_LARGE 32817 01945 #endif 01946 01947 #ifndef GL_COLOR_MATRIX 01948 #define GL_COLOR_MATRIX 32945 01949 #endif 01950 01951 #ifndef GL_COLOR_MATRIX_STACK_DEPTH 01952 #define GL_COLOR_MATRIX_STACK_DEPTH 32946 01953 #endif 01954 01955 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH 01956 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 32947 01957 #endif 01958 01959 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE 01960 #define GL_POST_COLOR_MATRIX_RED_SCALE 32948 01961 #endif 01962 01963 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE 01964 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 32949 01965 #endif 01966 01967 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE 01968 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 32950 01969 #endif 01970 01971 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE 01972 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 32951 01973 #endif 01974 01975 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS 01976 #define GL_POST_COLOR_MATRIX_RED_BIAS 32952 01977 #endif 01978 01979 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS 01980 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 32953 01981 #endif 01982 01983 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS 01984 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 32954 01985 #endif 01986 01987 #ifndef GL_POST_COLOR_MATIX_ALPHA_BIAS 01988 #define GL_POST_COLOR_MATIX_ALPHA_BIAS 32955 01989 #endif 01990 01991 #ifndef GL_COLOR_TABLE 01992 #define GL_COLOR_TABLE 32976 01993 #endif 01994 01995 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE 01996 #define GL_POST_CONVOLUTION_COLOR_TABLE 32977 01997 #endif 01998 01999 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE 02000 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 32978 02001 #endif 02002 02003 #ifndef GL_PROXY_COLOR_TABLE 02004 #define GL_PROXY_COLOR_TABLE 32979 02005 #endif 02006 02007 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 02008 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 32980 02009 #endif 02010 02011 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 02012 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 32981 02013 #endif 02014 02015 #ifndef GL_COLOR_TABLE_SCALE 02016 #define GL_COLOR_TABLE_SCALE 32982 02017 #endif 02018 02019 #ifndef GL_COLOR_TABLE_BIAS 02020 #define GL_COLOR_TABLE_BIAS 32983 02021 #endif 02022 02023 #ifndef GL_COLOR_TABLE_FORMAT 02024 #define GL_COLOR_TABLE_FORMAT 32984 02025 #endif 02026 02027 #ifndef GL_COLOR_TABLE_WIDTH 02028 #define GL_COLOR_TABLE_WIDTH 32985 02029 #endif 02030 02031 #ifndef GL_COLOR_TABLE_RED_SIZE 02032 #define GL_COLOR_TABLE_RED_SIZE 32986 02033 #endif 02034 02035 #ifndef GL_COLOR_TABLE_GREEN_SIZE 02036 #define GL_COLOR_TABLE_GREEN_SIZE 32987 02037 #endif 02038 02039 #ifndef GL_COLOR_TABLE_BLUE_SIZE 02040 #define GL_COLOR_TABLE_BLUE_SIZE 32988 02041 #endif 02042 02043 #ifndef GL_COLOR_TABLE_ALPHA_SIZE 02044 #define GL_COLOR_TABLE_ALPHA_SIZE 32989 02045 #endif 02046 02047 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE 02048 #define GL_COLOR_TABLE_LUMINANCE_SIZE 32990 02049 #endif 02050 02051 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE 02052 #define GL_COLOR_TABLE_INTENSITY_SIZE 32991 02053 #endif 02054 02055 #ifndef GL_IGNORE_BORDER 02056 #define GL_IGNORE_BORDER 33104 02057 #endif 02058 02059 #ifndef GL_CONSTANT_BORDER 02060 #define GL_CONSTANT_BORDER 33105 02061 #endif 02062 02063 #ifndef GL_WRAP_BORDER 02064 #define GL_WRAP_BORDER 33106 02065 #endif 02066 02067 #ifndef GL_REPLICATE_BORDER 02068 #define GL_REPLICATE_BORDER 33107 02069 #endif 02070 02071 #ifndef GL_CONVOLUTION_BORDER_COLOR 02072 #define GL_CONVOLUTION_BORDER_COLOR 33108 02073 #endif 02074 02075 02081 typedef GLvoid (csAPIENTRY* csGLCOLORTABLE) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table); 02082 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params); 02083 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, const GLint* params); 02084 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLE) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 02085 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLE) (GLenum target, GLenum format, GLenum type, GLvoid* table); 02086 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params); 02087 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIV) (GLenum target, GLenum pname, GLint* params); 02088 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLE) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data); 02089 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLE) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 02090 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image); 02091 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image); 02092 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERF) (GLenum target, GLenum pname, GLfloat params); 02093 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, const GLfloat* params); 02094 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERI) (GLenum target, GLenum pname, GLint params); 02095 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, const GLint* params); 02096 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 02097 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2D) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 02098 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* image); 02099 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params); 02100 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIV) (GLenum target, GLenum pname, GLint* params); 02101 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTER) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span); 02102 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2D) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column); 02103 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAM) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values); 02104 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params); 02105 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIV) (GLenum target, GLenum pname, GLint* params); 02106 typedef GLvoid (csAPIENTRY* csGLGETMINMAX) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values); 02107 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFV) (GLenum target, GLenum pname, GLfloat* params); 02108 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIV) (GLenum target, GLenum pname, GLint* params); 02109 typedef GLvoid (csAPIENTRY* csGLHISTOGRAM) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 02110 typedef GLvoid (csAPIENTRY* csGLMINMAX) (GLenum target, GLenum internalformat, GLboolean sink); 02111 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAM) (GLenum target); 02112 typedef GLvoid (csAPIENTRY* csGLRESETMINMAX) (GLenum target); 02113 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOR) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 02114 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATION) (GLenum mode); 02115 02120 #ifndef GL_TEXTURE0_ARB 02121 #define GL_TEXTURE0_ARB 33984 02122 #endif 02123 02124 #ifndef GL_TEXTURE1_ARB 02125 #define GL_TEXTURE1_ARB 33985 02126 #endif 02127 02128 #ifndef GL_TEXTURE2_ARB 02129 #define GL_TEXTURE2_ARB 33986 02130 #endif 02131 02132 #ifndef GL_TEXTURE3_ARB 02133 #define GL_TEXTURE3_ARB 33987 02134 #endif 02135 02136 #ifndef GL_TEXTURE4_ARB 02137 #define GL_TEXTURE4_ARB 33988 02138 #endif 02139 02140 #ifndef GL_TEXTURE5_ARB 02141 #define GL_TEXTURE5_ARB 33989 02142 #endif 02143 02144 #ifndef GL_TEXTURE6_ARB 02145 #define GL_TEXTURE6_ARB 33990 02146 #endif 02147 02148 #ifndef GL_TEXTURE7_ARB 02149 #define GL_TEXTURE7_ARB 33991 02150 #endif 02151 02152 #ifndef GL_TEXTURE8_ARB 02153 #define GL_TEXTURE8_ARB 33992 02154 #endif 02155 02156 #ifndef GL_TEXTURE9_ARB 02157 #define GL_TEXTURE9_ARB 33993 02158 #endif 02159 02160 #ifndef GL_TEXTURE10_ARB 02161 #define GL_TEXTURE10_ARB 33994 02162 #endif 02163 02164 #ifndef GL_TEXTURE11_ARB 02165 #define GL_TEXTURE11_ARB 33995 02166 #endif 02167 02168 #ifndef GL_TEXTURE12_ARB 02169 #define GL_TEXTURE12_ARB 33996 02170 #endif 02171 02172 #ifndef GL_TEXTURE13_ARB 02173 #define GL_TEXTURE13_ARB 33997 02174 #endif 02175 02176 #ifndef GL_TEXTURE14_ARB 02177 #define GL_TEXTURE14_ARB 33998 02178 #endif 02179 02180 #ifndef GL_TEXTURE15_ARB 02181 #define GL_TEXTURE15_ARB 33999 02182 #endif 02183 02184 #ifndef GL_TEXTURE16_ARB 02185 #define GL_TEXTURE16_ARB 34000 02186 #endif 02187 02188 #ifndef GL_TEXTURE17_ARB 02189 #define GL_TEXTURE17_ARB 34001 02190 #endif 02191 02192 #ifndef GL_TEXTURE18_ARB 02193 #define GL_TEXTURE18_ARB 34002 02194 #endif 02195 02196 #ifndef GL_TEXTURE19_ARB 02197 #define GL_TEXTURE19_ARB 34003 02198 #endif 02199 02200 #ifndef GL_TEXTURE20_ARB 02201 #define GL_TEXTURE20_ARB 34004 02202 #endif 02203 02204 #ifndef GL_TEXTURE21_ARB 02205 #define GL_TEXTURE21_ARB 34005 02206 #endif 02207 02208 #ifndef GL_TEXTURE22_ARB 02209 #define GL_TEXTURE22_ARB 34006 02210 #endif 02211 02212 #ifndef GL_TEXTURE23_ARB 02213 #define GL_TEXTURE23_ARB 34007 02214 #endif 02215 02216 #ifndef GL_TEXTURE24_ARB 02217 #define GL_TEXTURE24_ARB 34008 02218 #endif 02219 02220 #ifndef GL_TEXTURE25_ARB 02221 #define GL_TEXTURE25_ARB 34009 02222 #endif 02223 02224 #ifndef GL_TEXTURE26_ARB 02225 #define GL_TEXTURE26_ARB 34010 02226 #endif 02227 02228 #ifndef GL_TEXTURE27_ARB 02229 #define GL_TEXTURE27_ARB 34011 02230 #endif 02231 02232 #ifndef GL_TEXTURE28_ARB 02233 #define GL_TEXTURE28_ARB 34012 02234 #endif 02235 02236 #ifndef GL_TEXTURE29_ARB 02237 #define GL_TEXTURE29_ARB 34013 02238 #endif 02239 02240 #ifndef GL_TEXTURE30_ARB 02241 #define GL_TEXTURE30_ARB 34014 02242 #endif 02243 02244 #ifndef GL_TEXTURE31_ARB 02245 #define GL_TEXTURE31_ARB 34015 02246 #endif 02247 02248 #ifndef GL_ACTIVE_TEXTURE_ARB 02249 #define GL_ACTIVE_TEXTURE_ARB 34016 02250 #endif 02251 02252 #ifndef GL_CLIENT_ACTIVE_TEXTURE_ARB 02253 #define GL_CLIENT_ACTIVE_TEXTURE_ARB 34017 02254 #endif 02255 02256 #ifndef GL_MAX_TEXTURE_UNITS_ARB 02257 #define GL_MAX_TEXTURE_UNITS_ARB 34018 02258 #endif 02259 02260 02266 typedef GLvoid (csAPIENTRY* csGLACTIVETEXTUREARB) (GLenum texture); 02267 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVETEXTUREARB) (GLenum texture); 02268 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DARB) (GLenum target, GLdouble s); 02269 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1DVARB) (GLenum target, const GLdouble* v); 02270 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FARB) (GLenum target, GLfloat s); 02271 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1FVARB) (GLenum target, const GLfloat* v); 02272 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IARB) (GLenum target, GLint s); 02273 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1IVARB) (GLenum target, const GLint* v); 02274 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SARB) (GLenum target, GLshort s); 02275 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD1SVARB) (GLenum target, const GLshort* v); 02276 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DARB) (GLenum target, GLdouble s, GLdouble t); 02277 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2DVARB) (GLenum target, const GLdouble* v); 02278 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FARB) (GLenum target, GLfloat s, GLfloat t); 02279 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2FVARB) (GLenum target, const GLfloat* v); 02280 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IARB) (GLenum target, GLint s, GLint t); 02281 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2IVARB) (GLenum target, const GLint* v); 02282 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SARB) (GLenum target, GLshort s, GLshort t); 02283 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD2SVARB) (GLenum target, const GLshort* v); 02284 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 02285 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3DVARB) (GLenum target, const GLdouble* v); 02286 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 02287 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3FVARB) (GLenum target, const GLfloat* v); 02288 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IARB) (GLenum target, GLint s, GLint t, GLint r); 02289 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3IVARB) (GLenum target, const GLint* v); 02290 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SARB) (GLenum target, GLshort s, GLshort t, GLshort r); 02291 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD3SVARB) (GLenum target, const GLshort* v); 02292 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DARB) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 02293 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4DVARB) (GLenum target, const GLdouble* v); 02294 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FARB) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 02295 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4FVARB) (GLenum target, const GLfloat* v); 02296 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IARB) (GLenum target, GLint s, GLint t, GLint r, GLint q); 02297 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4IVARB) (GLenum target, const GLint* v); 02298 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SARB) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 02299 typedef GLvoid (csAPIENTRY* csGLMULTITEXCOORD4SVARB) (GLenum target, const GLshort* v); 02300 02305 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 02306 #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 34019 02307 #endif 02308 02309 #ifndef GL_TRANSPOSE_PROJECTION_MATRIX_ARB 02310 #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 34020 02311 #endif 02312 02313 #ifndef GL_TRANSPOSE_TEXTURE_MATRIX_ARB 02314 #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 34021 02315 #endif 02316 02317 #ifndef GL_TRANSPOSE_COLOR_MATRIX_ARB 02318 #define GL_TRANSPOSE_COLOR_MATRIX_ARB 34022 02319 #endif 02320 02321 02327 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXFARB) (GLfloat* m); 02328 typedef GLvoid (csAPIENTRY* csGLLOADTRANSPOSEMATRIXDARB) (GLdouble* m); 02329 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXFARB) (GLfloat* m); 02330 typedef GLvoid (csAPIENTRY* csGLMULTTRANSPOSEMATRIXDARB) (GLdouble* m); 02331 02336 #ifndef WGL_SAMPLE_BUFFERS_ARB 02337 #define WGL_SAMPLE_BUFFERS_ARB 8257 02338 #endif 02339 02340 #ifndef WGL_SAMPLES_ARB 02341 #define WGL_SAMPLES_ARB 8258 02342 #endif 02343 02344 #ifndef GL_MULTISAMPLE_ARB 02345 #define GL_MULTISAMPLE_ARB 32925 02346 #endif 02347 02348 #ifndef GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 02349 #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 32926 02350 #endif 02351 02352 #ifndef GL_SAMPLE_ALPHA_TO_ONE_ARB 02353 #define GL_SAMPLE_ALPHA_TO_ONE_ARB 32927 02354 #endif 02355 02356 #ifndef GL_SAMPLE_COVERAGE_ARB 02357 #define GL_SAMPLE_COVERAGE_ARB 32928 02358 #endif 02359 02360 #ifndef GL_MULTISAMPLE_BIT_ARB 02361 #define GL_MULTISAMPLE_BIT_ARB 536870912 02362 #endif 02363 02364 #ifndef GL_SAMPLE_BUFFERS_ARB 02365 #define GL_SAMPLE_BUFFERS_ARB 32936 02366 #endif 02367 02368 #ifndef GL_SAMPLES_ARB 02369 #define GL_SAMPLES_ARB 32937 02370 #endif 02371 02372 #ifndef GL_SAMPLE_COVERAGE_VALUE_ARB 02373 #define GL_SAMPLE_COVERAGE_VALUE_ARB 32938 02374 #endif 02375 02376 #ifndef GL_SAMPLE_COVERAGE_INVERT_ARB 02377 #define GL_SAMPLE_COVERAGE_INVERT_ARB 32939 02378 #endif 02379 02380 02386 typedef GLvoid (csAPIENTRY* csGLSAMPLECOVERAGEARB) (GLclampf value, GLboolean invert); 02387 02389 #ifdef CS_OPENGL_GLX 02390 02393 #ifndef GLX_SAMPLE_BUFFERS_ARB 02394 #define GLX_SAMPLE_BUFFERS_ARB 100000 02395 #endif 02396 02397 #ifndef GLX_SAMPLES_ARB 02398 #define GLX_SAMPLES_ARB 100001 02399 #endif 02400 02401 02409 #endif 02410 02422 #ifdef _WIN32 02423 02432 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGARB) (HDC hdc); 02433 02435 #endif 02436 02437 #ifdef _WIN32 02438 02441 #ifndef WGL_FRONT_COLOR_BUFFER_BIT_ARB 02442 #define WGL_FRONT_COLOR_BUFFER_BIT_ARB 1 02443 #endif 02444 02445 #ifndef WGL_BACK_COLOR_BUFFER_BIT_ARB 02446 #define WGL_BACK_COLOR_BUFFER_BIT_ARB 2 02447 #endif 02448 02449 #ifndef WGL_DEPTH_BUFFER_BIT_ARB 02450 #define WGL_DEPTH_BUFFER_BIT_ARB 4 02451 #endif 02452 02453 #ifndef WGL_STENCIL_BUFFER_BIT_ARB 02454 #define WGL_STENCIL_BUFFER_BIT_ARB 8 02455 #endif 02456 02457 02463 typedef HANDLE (csAPIENTRY* csWGLCREATEBUFFERREGIONARB) (HDC hDC, GLint iLayerPlane, GLuint uType); 02464 typedef GLvoid (csAPIENTRY* csWGLDELETEBUFFERREGIONARB) (HANDLE hRegion); 02465 typedef BOOL (csAPIENTRY* csWGLSAVEBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height); 02466 typedef BOOL (csAPIENTRY* csWGLRESTOREBUFFERREGIONARB) (HANDLE hRegion, GLint x, GLint y, GLint width, GLint height, GLint xSrc, GLint ySrc); 02467 02469 #endif 02470 02474 #ifndef GL_NORMAL_MAP_ARB 02475 #define GL_NORMAL_MAP_ARB 34065 02476 #endif 02477 02478 #ifndef GL_REFLECTION_MAP_ARB 02479 #define GL_REFLECTION_MAP_ARB 34066 02480 #endif 02481 02482 #ifndef GL_TEXTURE_CUBE_MAP_ARB 02483 #define GL_TEXTURE_CUBE_MAP_ARB 34067 02484 #endif 02485 02486 #ifndef GL_TEXTURE_BINDING_CUBE_MAP_ARB 02487 #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 34068 02488 #endif 02489 02490 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 02491 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 34069 02492 #endif 02493 02494 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 02495 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 34070 02496 #endif 02497 02498 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 02499 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 34071 02500 #endif 02501 02502 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 02503 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 34072 02504 #endif 02505 02506 #ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 02507 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 34073 02508 #endif 02509 02510 #ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 02511 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 34074 02512 #endif 02513 02514 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB 02515 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 34075 02516 #endif 02517 02518 #ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 02519 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 34076 02520 #endif 02521 02522 02533 #ifndef GL_DEPTH_COMPONENT16_ARB 02534 #define GL_DEPTH_COMPONENT16_ARB 33189 02535 #endif 02536 02537 #ifndef GL_DEPTH_COMPONENT24_ARB 02538 #define GL_DEPTH_COMPONENT24_ARB 33190 02539 #endif 02540 02541 #ifndef GL_DEPTH_COMPONENT32_ARB 02542 #define GL_DEPTH_COMPONENT32_ARB 33191 02543 #endif 02544 02545 #ifndef GL_TEXTURE_DEPTH_SIZE_ARB 02546 #define GL_TEXTURE_DEPTH_SIZE_ARB 34890 02547 #endif 02548 02549 #ifndef GL_DEPTH_TEXTURE_MODE_ARB 02550 #define GL_DEPTH_TEXTURE_MODE_ARB 34891 02551 #endif 02552 02553 02564 #ifndef GL_POINT_SIZE_MIN_ARB 02565 #define GL_POINT_SIZE_MIN_ARB 33062 02566 #endif 02567 02568 #ifndef GL_POINT_SIZE_MAX_ARB 02569 #define GL_POINT_SIZE_MAX_ARB 33063 02570 #endif 02571 02572 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_ARB 02573 #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 33064 02574 #endif 02575 02576 #ifndef GL_POINT_DISTANCE_ATTENUATION_ARB 02577 #define GL_POINT_DISTANCE_ATTENUATION_ARB 33065 02578 #endif 02579 02580 02586 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFARB) (GLenum pname, GLfloat param); 02587 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVARB) (GLenum pname, GLfloat* params); 02588 02593 #ifndef GL_TEXTURE_COMPARE_MODE_ARB 02594 #define GL_TEXTURE_COMPARE_MODE_ARB 34892 02595 #endif 02596 02597 #ifndef GL_TEXTURE_COMPARE_FUNC_ARB 02598 #define GL_TEXTURE_COMPARE_FUNC_ARB 34893 02599 #endif 02600 02601 #ifndef GL_COMPARE_R_TO_TEXTURE_ARB 02602 #define GL_COMPARE_R_TO_TEXTURE_ARB 34894 02603 #endif 02604 02605 02616 #ifndef GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 02617 #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 32959 02618 #endif 02619 02620 02631 #ifndef GL_CLAMP_TO_BORDER_ARB 02632 #define GL_CLAMP_TO_BORDER_ARB 33069 02633 #endif 02634 02635 02646 #ifndef GL_COMPRESSED_ALPHA_ARB 02647 #define GL_COMPRESSED_ALPHA_ARB 34025 02648 #endif 02649 02650 #ifndef GL_COMPRESSED_LUMINANCE_ARB 02651 #define GL_COMPRESSED_LUMINANCE_ARB 34026 02652 #endif 02653 02654 #ifndef GL_COMPRESSED_LUMINANCE_ALPHA_ARB 02655 #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 34027 02656 #endif 02657 02658 #ifndef GL_COMPRESSED_INTENSITY_ARB 02659 #define GL_COMPRESSED_INTENSITY_ARB 34028 02660 #endif 02661 02662 #ifndef GL_COMPRESSED_RGB_ARB 02663 #define GL_COMPRESSED_RGB_ARB 34029 02664 #endif 02665 02666 #ifndef GL_COMPRESSED_RGBA_ARB 02667 #define GL_COMPRESSED_RGBA_ARB 34030 02668 #endif 02669 02670 #ifndef GL_TEXTURE_COMPRESSION_HINT_ARB 02671 #define GL_TEXTURE_COMPRESSION_HINT_ARB 34031 02672 #endif 02673 02674 #ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 02675 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 34464 02676 #endif 02677 02678 #ifndef GL_TEXTURE_COMPRESSED_ARB 02679 #define GL_TEXTURE_COMPRESSED_ARB 34465 02680 #endif 02681 02682 #ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 02683 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 34466 02684 #endif 02685 02686 #ifndef GL_COMPRESSED_TEXTURE_FORMATS_ARB 02687 #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 34467 02688 #endif 02689 02690 02696 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE3DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); 02697 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE2DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); 02698 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXIMAGE1DARB) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid* data); 02699 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); 02700 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE2DARB) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); 02701 typedef GLvoid (csAPIENTRY* csGLCOMPRESSEDTEXSUBIMAGE1DARB) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid* data); 02702 typedef GLvoid (csAPIENTRY* csGLGETCOMPRESSEDTEXIMAGEARB) (GLenum target, GLint lod, GLvoid* img); 02703 02708 #ifndef GL_COMBINE_ARB 02709 #define GL_COMBINE_ARB 34160 02710 #endif 02711 02712 #ifndef GL_COMBINE_RGB_ARB 02713 #define GL_COMBINE_RGB_ARB 34161 02714 #endif 02715 02716 #ifndef GL_COMBINE_ALPHA_ARB 02717 #define GL_COMBINE_ALPHA_ARB 34162 02718 #endif 02719 02720 #ifndef GL_SOURCE0_RGB_ARB 02721 #define GL_SOURCE0_RGB_ARB 34176 02722 #endif 02723 02724 #ifndef GL_SOURCE1_RGB_ARB 02725 #define GL_SOURCE1_RGB_ARB 34177 02726 #endif 02727 02728 #ifndef GL_SOURCE2_RGB_ARB 02729 #define GL_SOURCE2_RGB_ARB 34178 02730 #endif 02731 02732 #ifndef GL_SOURCE0_ALPHA_ARB 02733 #define GL_SOURCE0_ALPHA_ARB 34184 02734 #endif 02735 02736 #ifndef GL_SOURCE1_ALPHA_ARB 02737 #define GL_SOURCE1_ALPHA_ARB 34185 02738 #endif 02739 02740 #ifndef GL_SOURCE2_ALPHA_ARB 02741 #define GL_SOURCE2_ALPHA_ARB 34186 02742 #endif 02743 02744 #ifndef GL_OPERAND0_RGB_ARB 02745 #define GL_OPERAND0_RGB_ARB 34192 02746 #endif 02747 02748 #ifndef GL_OPERAND1_RGB_ARB 02749 #define GL_OPERAND1_RGB_ARB 34193 02750 #endif 02751 02752 #ifndef GL_OPERAND2_RGB_ARB 02753 #define GL_OPERAND2_RGB_ARB 34194 02754 #endif 02755 02756 #ifndef GL_OPERAND0_ALPHA_ARB 02757 #define GL_OPERAND0_ALPHA_ARB 34200 02758 #endif 02759 02760 #ifndef GL_OPERAND1_ALPHA_ARB 02761 #define GL_OPERAND1_ALPHA_ARB 34201 02762 #endif 02763 02764 #ifndef GL_OPERAND2_ALPHA_ARB 02765 #define GL_OPERAND2_ALPHA_ARB 34202 02766 #endif 02767 02768 #ifndef GL_RGB_SCALE_ARB 02769 #define GL_RGB_SCALE_ARB 34163 02770 #endif 02771 02772 #ifndef GL_ADD_SIGNED_ARB 02773 #define GL_ADD_SIGNED_ARB 34164 02774 #endif 02775 02776 #ifndef GL_INTERPOLATE_ARB 02777 #define GL_INTERPOLATE_ARB 34165 02778 #endif 02779 02780 #ifndef GL_SUBTRACT_ARB 02781 #define GL_SUBTRACT_ARB 34023 02782 #endif 02783 02784 #ifndef GL_CONSTANT_ARB 02785 #define GL_CONSTANT_ARB 34166 02786 #endif 02787 02788 #ifndef GL_PRIMARY_COLOR_ARB 02789 #define GL_PRIMARY_COLOR_ARB 34167 02790 #endif 02791 02792 #ifndef GL_PREVIOUS_ARB 02793 #define GL_PREVIOUS_ARB 34168 02794 #endif 02795 02796 02818 #ifndef GL_DOT3_RGB_ARB 02819 #define GL_DOT3_RGB_ARB 34478 02820 #endif 02821 02822 #ifndef GL_DOT3_RGBA_ARB 02823 #define GL_DOT3_RGBA_ARB 34479 02824 #endif 02825 02826 02837 #ifndef GL_MIRRORED_REPEAT_ARB 02838 #define GL_MIRRORED_REPEAT_ARB 33648 02839 #endif 02840 02841 02852 #ifndef GL_MAX_VERTEX_UNITS_ARB 02853 #define GL_MAX_VERTEX_UNITS_ARB 34468 02854 #endif 02855 02856 #ifndef GL_ACTIVE_VERTEX_UNITS_ARB 02857 #define GL_ACTIVE_VERTEX_UNITS_ARB 34469 02858 #endif 02859 02860 #ifndef GL_WEIGHT_SUM_UNITY_ARB 02861 #define GL_WEIGHT_SUM_UNITY_ARB 34470 02862 #endif 02863 02864 #ifndef GL_VERTEX_BLEND_ARB 02865 #define GL_VERTEX_BLEND_ARB 34471 02866 #endif 02867 02868 #ifndef GL_MODELVIEW0_ARB 02869 #define GL_MODELVIEW0_ARB 5888 02870 #endif 02871 02872 #ifndef GL_MODELVIEW1_ARB 02873 #define GL_MODELVIEW1_ARB 34058 02874 #endif 02875 02876 #ifndef GL_MODELVIEW2_ARB 02877 #define GL_MODELVIEW2_ARB 34594 02878 #endif 02879 02880 #ifndef GL_MODELVIEW3_ARB 02881 #define GL_MODELVIEW3_ARB 34595 02882 #endif 02883 02884 #ifndef GL_MODELVIEW4_ARB 02885 #define GL_MODELVIEW4_ARB 34596 02886 #endif 02887 02888 #ifndef GL_MODELVIEW5_ARB 02889 #define GL_MODELVIEW5_ARB 34597 02890 #endif 02891 02892 #ifndef GL_MODELVIEW6_ARB 02893 #define GL_MODELVIEW6_ARB 34598 02894 #endif 02895 02896 #ifndef GL_MODELVIEW7_ARB 02897 #define GL_MODELVIEW7_ARB 34599 02898 #endif 02899 02900 #ifndef GL_MODELVIEW8_ARB 02901 #define GL_MODELVIEW8_ARB 34600 02902 #endif 02903 02904 #ifndef GL_MODELVIEW9_ARB 02905 #define GL_MODELVIEW9_ARB 34601 02906 #endif 02907 02908 #ifndef GL_MODELVIEW10_ARB 02909 #define GL_MODELVIEW10_ARB 34602 02910 #endif 02911 02912 #ifndef GL_MODELVIEW11_ARB 02913 #define GL_MODELVIEW11_ARB 34603 02914 #endif 02915 02916 #ifndef GL_MODELVIEW12_ARB 02917 #define GL_MODELVIEW12_ARB 34604 02918 #endif 02919 02920 #ifndef GL_MODELVIEW13_ARB 02921 #define GL_MODELVIEW13_ARB 34605 02922 #endif 02923 02924 #ifndef GL_MODELVIEW14_ARB 02925 #define GL_MODELVIEW14_ARB 34606 02926 #endif 02927 02928 #ifndef GL_MODELVIEW15_ARB 02929 #define GL_MODELVIEW15_ARB 34607 02930 #endif 02931 02932 #ifndef GL_MODELVIEW16_ARB 02933 #define GL_MODELVIEW16_ARB 34608 02934 #endif 02935 02936 #ifndef GL_MODELVIEW17_ARB 02937 #define GL_MODELVIEW17_ARB 34609 02938 #endif 02939 02940 #ifndef GL_MODELVIEW18_ARB 02941 #define GL_MODELVIEW18_ARB 34610 02942 #endif 02943 02944 #ifndef GL_MODELVIEW19_ARB 02945 #define GL_MODELVIEW19_ARB 34611 02946 #endif 02947 02948 #ifndef GL_MODELVIEW20_ARB 02949 #define GL_MODELVIEW20_ARB 34612 02950 #endif 02951 02952 #ifndef GL_MODELVIEW21_ARB 02953 #define GL_MODELVIEW21_ARB 34613 02954 #endif 02955 02956 #ifndef GL_MODELVIEW22_ARB 02957 #define GL_MODELVIEW22_ARB 34614 02958 #endif 02959 02960 #ifndef GL_MODELVIEW23_ARB 02961 #define GL_MODELVIEW23_ARB 34615 02962 #endif 02963 02964 #ifndef GL_MODELVIEW24_ARB 02965 #define GL_MODELVIEW24_ARB 34616 02966 #endif 02967 02968 #ifndef GL_MODELVIEW25_ARB 02969 #define GL_MODELVIEW25_ARB 34617 02970 #endif 02971 02972 #ifndef GL_MODELVIEW26_ARB 02973 #define GL_MODELVIEW26_ARB 34618 02974 #endif 02975 02976 #ifndef GL_MODELVIEW27_ARB 02977 #define GL_MODELVIEW27_ARB 34619 02978 #endif 02979 02980 #ifndef GL_MODELVIEW28_ARB 02981 #define GL_MODELVIEW28_ARB 34620 02982 #endif 02983 02984 #ifndef GL_MODELVIEW29_ARB 02985 #define GL_MODELVIEW29_ARB 34621 02986 #endif 02987 02988 #ifndef GL_MODELVIEW30_ARB 02989 #define GL_MODELVIEW30_ARB 34622 02990 #endif 02991 02992 #ifndef GL_MODELVIEW31_ARB 02993 #define GL_MODELVIEW31_ARB 34623 02994 #endif 02995 02996 #ifndef GL_CURRENT_WEIGHT_ARB 02997 #define GL_CURRENT_WEIGHT_ARB 34472 02998 #endif 02999 03000 #ifndef GL_WEIGHT_ARRAY_TYPE_ARB 03001 #define GL_WEIGHT_ARRAY_TYPE_ARB 34473 03002 #endif 03003 03004 #ifndef GL_WEIGHT_ARRAY_STRIDE_ARB 03005 #define GL_WEIGHT_ARRAY_STRIDE_ARB 34474 03006 #endif 03007 03008 #ifndef GL_WEIGHT_ARRAY_SIZE_ARB 03009 #define GL_WEIGHT_ARRAY_SIZE_ARB 34475 03010 #endif 03011 03012 #ifndef GL_WEIGHT_ARRAY_POINTER_ARB 03013 #define GL_WEIGHT_ARRAY_POINTER_ARB 34476 03014 #endif 03015 03016 #ifndef GL_WEIGHT_ARRAY_ARB 03017 #define GL_WEIGHT_ARRAY_ARB 34477 03018 #endif 03019 03020 03026 typedef GLvoid (csAPIENTRY* csGLWEIGHTBVARB) (GLint size, GLbyte* weights); 03027 typedef GLvoid (csAPIENTRY* csGLWEIGHTSVARB) (GLint size, GLshort* weights); 03028 typedef GLvoid (csAPIENTRY* csGLWEIGHTIVARB) (GLint size, GLint* weights); 03029 typedef GLvoid (csAPIENTRY* csGLWEIGHTFVARB) (GLint size, GLfloat* weights); 03030 typedef GLvoid (csAPIENTRY* csGLWEIGHTDVARB) (GLint size, GLdouble* weights); 03031 typedef GLvoid (csAPIENTRY* csGLWEIGHTVARB) (GLint size, GLdouble* weights); 03032 typedef GLvoid (csAPIENTRY* csGLWEIGHTUBVARB) (GLint size, GLubyte* weights); 03033 typedef GLvoid (csAPIENTRY* csGLWEIGHTUSVARB) (GLint size, GLushort* weights); 03034 typedef GLvoid (csAPIENTRY* csGLWEIGHTUIVARB) (GLint size, GLuint* weights); 03035 typedef GLvoid (csAPIENTRY* csGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer); 03036 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDARB) (GLint count); 03037 03042 #ifndef GL_VERTEX_PROGRAM_ARB 03043 #define GL_VERTEX_PROGRAM_ARB 34336 03044 #endif 03045 03046 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB 03047 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 34370 03048 #endif 03049 03050 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB 03051 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 34371 03052 #endif 03053 03054 #ifndef GL_COLOR_SUM_ARB 03055 #define GL_COLOR_SUM_ARB 33880 03056 #endif 03057 03058 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB 03059 #define GL_PROGRAM_FORMAT_ASCII_ARB 34933 03060 #endif 03061 03062 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 03063 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 34338 03064 #endif 03065 03066 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 03067 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 34339 03068 #endif 03069 03070 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 03071 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 34340 03072 #endif 03073 03074 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 03075 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 34341 03076 #endif 03077 03078 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 03079 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 34922 03080 #endif 03081 03082 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB 03083 #define GL_CURRENT_VERTEX_ATTRIB_ARB 34342 03084 #endif 03085 03086 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 03087 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 34373 03088 #endif 03089 03090 #ifndef GL_PROGRAM_LENGTH_ARB 03091 #define GL_PROGRAM_LENGTH_ARB 34343 03092 #endif 03093 03094 #ifndef GL_PROGRAM_FORMAT_ARB 03095 #define GL_PROGRAM_FORMAT_ARB 34934 03096 #endif 03097 03098 #ifndef GL_PROGRAM_BINDING_ARB 03099 #define GL_PROGRAM_BINDING_ARB 34423 03100 #endif 03101 03102 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB 03103 #define GL_PROGRAM_INSTRUCTIONS_ARB 34976 03104 #endif 03105 03106 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB 03107 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 34977 03108 #endif 03109 03110 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 03111 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 34978 03112 #endif 03113 03114 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 03115 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 34979 03116 #endif 03117 03118 #ifndef GL_PROGRAM_TEMPORARIES_ARB 03119 #define GL_PROGRAM_TEMPORARIES_ARB 34980 03120 #endif 03121 03122 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB 03123 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 34981 03124 #endif 03125 03126 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB 03127 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 34982 03128 #endif 03129 03130 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 03131 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 34983 03132 #endif 03133 03134 #ifndef GL_PROGRAM_PARAMETERS_ARB 03135 #define GL_PROGRAM_PARAMETERS_ARB 34984 03136 #endif 03137 03138 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB 03139 #define GL_MAX_PROGRAM_PARAMETERS_ARB 34985 03140 #endif 03141 03142 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB 03143 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 34986 03144 #endif 03145 03146 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 03147 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 34987 03148 #endif 03149 03150 #ifndef GL_PROGRAM_ATTRIBS_ARB 03151 #define GL_PROGRAM_ATTRIBS_ARB 34988 03152 #endif 03153 03154 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB 03155 #define GL_MAX_PROGRAM_ATTRIBS_ARB 34989 03156 #endif 03157 03158 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB 03159 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 34990 03160 #endif 03161 03162 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 03163 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 34991 03164 #endif 03165 03166 #ifndef GL_PROGRAM_ADDRESS_REGISTERS_ARB 03167 #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 34992 03168 #endif 03169 03170 #ifndef GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 03171 #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 34993 03172 #endif 03173 03174 #ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 03175 #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 34994 03176 #endif 03177 03178 #ifndef GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 03179 #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 34995 03180 #endif 03181 03182 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 03183 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 34996 03184 #endif 03185 03186 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 03187 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 34997 03188 #endif 03189 03190 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 03191 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 34998 03192 #endif 03193 03194 #ifndef GL_PROGRAM_STRING_ARB 03195 #define GL_PROGRAM_STRING_ARB 34344 03196 #endif 03197 03198 #ifndef GL_PROGRAM_ERROR_POSITION_ARB 03199 #define GL_PROGRAM_ERROR_POSITION_ARB 34379 03200 #endif 03201 03202 #ifndef GL_CURRENT_MATRIX_ARB 03203 #define GL_CURRENT_MATRIX_ARB 34369 03204 #endif 03205 03206 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB 03207 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 34999 03208 #endif 03209 03210 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB 03211 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 34368 03212 #endif 03213 03214 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB 03215 #define GL_MAX_VERTEX_ATTRIBS_ARB 34921 03216 #endif 03217 03218 #ifndef GL_MAX_PROGRAM_MATRICES_ARB 03219 #define GL_MAX_PROGRAM_MATRICES_ARB 34351 03220 #endif 03221 03222 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 03223 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 34350 03224 #endif 03225 03226 #ifndef GL_PROGRAM_ERROR_STRING_ARB 03227 #define GL_PROGRAM_ERROR_STRING_ARB 34932 03228 #endif 03229 03230 #ifndef GL_MATRIX0_ARB 03231 #define GL_MATRIX0_ARB 35008 03232 #endif 03233 03234 #ifndef GL_MATRIX1_ARB 03235 #define GL_MATRIX1_ARB 35009 03236 #endif 03237 03238 #ifndef GL_MATRIX2_ARB 03239 #define GL_MATRIX2_ARB 35010 03240 #endif 03241 03242 #ifndef GL_MATRIX3_ARB 03243 #define GL_MATRIX3_ARB 35011 03244 #endif 03245 03246 #ifndef GL_MATRIX4_ARB 03247 #define GL_MATRIX4_ARB 35012 03248 #endif 03249 03250 #ifndef GL_MATRIX5_ARB 03251 #define GL_MATRIX5_ARB 35013 03252 #endif 03253 03254 #ifndef GL_MATRIX6_ARB 03255 #define GL_MATRIX6_ARB 35014 03256 #endif 03257 03258 #ifndef GL_MATRIX7_ARB 03259 #define GL_MATRIX7_ARB 35015 03260 #endif 03261 03262 #ifndef GL_MATRIX8_ARB 03263 #define GL_MATRIX8_ARB 35016 03264 #endif 03265 03266 #ifndef GL_MATRIX9_ARB 03267 #define GL_MATRIX9_ARB 35017 03268 #endif 03269 03270 #ifndef GL_MATRIX10_ARB 03271 #define GL_MATRIX10_ARB 35018 03272 #endif 03273 03274 #ifndef GL_MATRIX11_ARB 03275 #define GL_MATRIX11_ARB 35019 03276 #endif 03277 03278 #ifndef GL_MATRIX12_ARB 03279 #define GL_MATRIX12_ARB 35020 03280 #endif 03281 03282 #ifndef GL_MATRIX13_ARB 03283 #define GL_MATRIX13_ARB 35021 03284 #endif 03285 03286 #ifndef GL_MATRIX14_ARB 03287 #define GL_MATRIX14_ARB 35022 03288 #endif 03289 03290 #ifndef GL_MATRIX15_ARB 03291 #define GL_MATRIX15_ARB 35023 03292 #endif 03293 03294 #ifndef GL_MATRIX16_ARB 03295 #define GL_MATRIX16_ARB 35024 03296 #endif 03297 03298 #ifndef GL_MATRIX17_ARB 03299 #define GL_MATRIX17_ARB 35025 03300 #endif 03301 03302 #ifndef GL_MATRIX18_ARB 03303 #define GL_MATRIX18_ARB 35026 03304 #endif 03305 03306 #ifndef GL_MATRIX19_ARB 03307 #define GL_MATRIX19_ARB 35027 03308 #endif 03309 03310 #ifndef GL_MATRIX20_ARB 03311 #define GL_MATRIX20_ARB 35028 03312 #endif 03313 03314 #ifndef GL_MATRIX21_ARB 03315 #define GL_MATRIX21_ARB 35029 03316 #endif 03317 03318 #ifndef GL_MATRIX22_ARB 03319 #define GL_MATRIX22_ARB 35030 03320 #endif 03321 03322 #ifndef GL_MATRIX23_ARB 03323 #define GL_MATRIX23_ARB 35031 03324 #endif 03325 03326 #ifndef GL_MATRIX24_ARB 03327 #define GL_MATRIX24_ARB 35032 03328 #endif 03329 03330 #ifndef GL_MATRIX25_ARB 03331 #define GL_MATRIX25_ARB 35033 03332 #endif 03333 03334 #ifndef GL_MATRIX26_ARB 03335 #define GL_MATRIX26_ARB 35034 03336 #endif 03337 03338 #ifndef GL_MATRIX27_ARB 03339 #define GL_MATRIX27_ARB 35035 03340 #endif 03341 03342 #ifndef GL_MATRIX28_ARB 03343 #define GL_MATRIX28_ARB 35036 03344 #endif 03345 03346 #ifndef GL_MATRIX29_ARB 03347 #define GL_MATRIX29_ARB 35037 03348 #endif 03349 03350 #ifndef GL_MATRIX30_ARB 03351 #define GL_MATRIX30_ARB 35038 03352 #endif 03353 03354 #ifndef GL_MATRIX31_ARB 03355 #define GL_MATRIX31_ARB 35039 03356 #endif 03357 03358 03364 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SARB) (GLuint index, GLshort x); 03365 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FARB) (GLuint index, GLfloat x); 03366 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DARB) (GLuint index, GLdouble x); 03367 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SARB) (GLuint index, GLshort x, GLshort y); 03368 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FARB) (GLuint index, GLfloat x, GLfloat y); 03369 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DARB) (GLuint index, GLdouble x, GLdouble y); 03370 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SARB) (GLuint index, GLshort x, GLshort y, GLshort z); 03371 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 03372 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 03373 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SARB) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 03374 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FARB) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 03375 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DARB) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 03376 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBARB) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 03377 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVARB) (GLuint index, const GLshort* v); 03378 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVARB) (GLuint index, const GLfloat* v); 03379 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVARB) (GLuint index, const GLdouble* v); 03380 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVARB) (GLuint index, const GLshort* v); 03381 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVARB) (GLuint index, const GLfloat* v); 03382 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVARB) (GLuint index, const GLdouble* v); 03383 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVARB) (GLuint index, const GLshort* v); 03384 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVARB) (GLuint index, const GLfloat* v); 03385 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVARB) (GLuint index, const GLdouble* v); 03386 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4BVARB) (GLuint index, const GLbyte* v); 03387 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVARB) (GLuint index, const GLshort* v); 03388 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4IVARB) (GLuint index, const GLint* v); 03389 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVARB) (GLuint index, const GLubyte* v); 03390 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4USVARB) (GLuint index, const GLushort* v); 03391 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UIVARB) (GLuint index, const GLuint* v); 03392 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVARB) (GLuint index, const GLfloat* v); 03393 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVARB) (GLuint index, const GLdouble* v); 03394 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NBVARB) (GLuint index, const GLbyte* v); 03395 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NSVARB) (GLuint index, const GLshort* v); 03396 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NIVARB) (GLuint index, const GLint* v); 03397 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUBVARB) (GLuint index, const GLubyte* v); 03398 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUSVARB) (GLuint index, const GLushort* v); 03399 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4NUIVARB) (GLuint index, const GLuint* v); 03400 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERARB) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer); 03401 typedef GLvoid (csAPIENTRY* csGLENABLEVERTEXATTRIBARRAYARB) (GLuint index); 03402 typedef GLvoid (csAPIENTRY* csGLDISABLEVERTEXATTRIBARRAYARB) (GLuint index); 03403 typedef GLvoid (csAPIENTRY* csGLPROGRAMSTRINGARB) (GLenum target, GLenum format, GLsizei len, const GLvoid* string); 03404 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMARB) (GLenum target, GLuint program); 03405 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSARB) (GLsizei n, const GLuint* programs); 03406 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSARB) (GLsizei n, GLuint* programs); 03407 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 03408 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params); 03409 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 03410 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params); 03411 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DARB) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 03412 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4DVARB) (GLenum target, GLuint index, const GLdouble* params); 03413 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FARB) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 03414 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETER4FVARB) (GLenum target, GLuint index, const GLfloat* params); 03415 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params); 03416 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params); 03417 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERDVARB) (GLenum target, GLuint index, GLdouble* params); 03418 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERFVARB) (GLenum target, GLuint index, GLfloat* params); 03419 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVARB) (GLenum target, GLenum pname, GLint* params); 03420 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGARB) (GLenum target, GLenum pname, GLvoid* string); 03421 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVARB) (GLuint index, GLenum pname, GLdouble* params); 03422 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVARB) (GLuint index, GLenum pname, GLfloat* params); 03423 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVARB) (GLuint index, GLenum pname, GLint* params); 03424 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVARB) (GLuint index, GLenum pname, GLvoid** pointer); 03425 typedef GLboolean (csAPIENTRY* csGLISPROGRAMARB) (GLuint program); 03426 03437 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DARB) (GLdouble x, GLdouble y); 03438 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FARB) (GLfloat x, GLfloat y); 03439 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IARB) (GLint x, GLint y); 03440 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SARB) (GLshort x, GLshort y); 03441 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVARB) (const GLdouble* p); 03442 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVARB) (const GLfloat* p); 03443 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVARB) (const GLint* p); 03444 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVARB) (const GLshort* p); 03445 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DARB) (GLdouble x, GLdouble y, GLdouble z); 03446 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FARB) (GLfloat x, GLfloat y, GLfloat z); 03447 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IARB) (GLint x, GLint y, GLint z); 03448 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SARB) (GLshort x, GLshort y, GLshort z); 03449 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVARB) (const GLdouble* p); 03450 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVARB) (const GLfloat* p); 03451 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVARB) (const GLint* p); 03452 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVARB) (const GLshort* p); 03453 03458 #ifndef GL_422_EXT 03459 #define GL_422_EXT 32972 03460 #endif 03461 03462 #ifndef GL_422_REV_EXT 03463 #define GL_422_REV_EXT 32973 03464 #endif 03465 03466 #ifndef GL_422_AVERAGE_EXT 03467 #define GL_422_AVERAGE_EXT 32974 03468 #endif 03469 03470 #ifndef GL_422_REV_AVERAGE_EXT 03471 #define GL_422_REV_AVERAGE_EXT 32975 03472 #endif 03473 03474 03485 #ifndef GL_ABGR_EXT 03486 #define GL_ABGR_EXT 32768 03487 #endif 03488 03489 03500 #ifndef GL_BGR_EXT 03501 #define GL_BGR_EXT 32992 03502 #endif 03503 03504 #ifndef GL_BGRA_EXT 03505 #define GL_BGRA_EXT 32993 03506 #endif 03507 03508 03519 #ifndef GL_CONSTANT_COLOR_EXT 03520 #define GL_CONSTANT_COLOR_EXT 32769 03521 #endif 03522 03523 #ifndef GL_ONE_MINUS_CONSTANT_COLOR_EXT 03524 #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 32770 03525 #endif 03526 03527 #ifndef GL_CONSTANT_ALPHA_EXT 03528 #define GL_CONSTANT_ALPHA_EXT 32771 03529 #endif 03530 03531 #ifndef GL_ONE_MINUS_CONSTANT_ALPHA_EXT 03532 #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 32772 03533 #endif 03534 03535 #ifndef GL_BLEND_COLOR_EXT 03536 #define GL_BLEND_COLOR_EXT 32773 03537 #endif 03538 03539 03545 typedef GLvoid (csAPIENTRY* csGLBLENDCOLOREXT) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 03546 03551 #ifndef GL_BLEND_DST_RGB_EXT 03552 #define GL_BLEND_DST_RGB_EXT 32968 03553 #endif 03554 03555 #ifndef GL_BLEND_SRC_RGB_EXT 03556 #define GL_BLEND_SRC_RGB_EXT 32969 03557 #endif 03558 03559 #ifndef GL_BLEND_DST_ALPHA_EXT 03560 #define GL_BLEND_DST_ALPHA_EXT 32970 03561 #endif 03562 03563 #ifndef GL_BLEND_SRC_ALPHA_EXT 03564 #define GL_BLEND_SRC_ALPHA_EXT 32971 03565 #endif 03566 03567 03573 typedef GLvoid (csAPIENTRY* csGLBLENDFUNCSEPARATEEXT) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); 03574 03590 #ifndef GL_FUNC_ADD_EXT 03591 #define GL_FUNC_ADD_EXT 32774 03592 #endif 03593 03594 #ifndef GL_MIN_EXT 03595 #define GL_MIN_EXT 32775 03596 #endif 03597 03598 #ifndef GL_MAX_EXT 03599 #define GL_MAX_EXT 32776 03600 #endif 03601 03602 #ifndef GL_BLEND_EQUATION_EXT 03603 #define GL_BLEND_EQUATION_EXT 32777 03604 #endif 03605 03606 03612 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONEXT) (GLenum mode); 03613 03618 #ifndef GL_FUNC_SUBTRACT_EXT 03619 #define GL_FUNC_SUBTRACT_EXT 32778 03620 #endif 03621 03622 #ifndef GL_FUNC_REVERSE_SUBTRACT_EXT 03623 #define GL_FUNC_REVERSE_SUBTRACT_EXT 32779 03624 #endif 03625 03626 03637 #ifndef GL_CLIP_VOLUME_CLIPPING_HINT_EXT 03638 #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 33008 03639 #endif 03640 03641 03658 typedef GLvoid (csAPIENTRY* csGLCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid* data); 03659 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORSUBTABLEEXT) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 03660 03665 #ifndef GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 03666 #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 33192 03667 #endif 03668 03669 #ifndef GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 03670 #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 33193 03671 #endif 03672 03673 03679 typedef GLvoid (csAPIENTRY* csGLLOCKARRAYSEXT) (GLint first, GLsizei count); 03680 typedef GLvoid (csAPIENTRY* csGLUNLOCKARRAYSEXT) (); 03681 03686 #ifndef GL_CONVOLUTION_1D_EXT 03687 #define GL_CONVOLUTION_1D_EXT 32784 03688 #endif 03689 03690 #ifndef GL_CONVOLUTION_2D_EXT 03691 #define GL_CONVOLUTION_2D_EXT 32785 03692 #endif 03693 03694 #ifndef GL_SEPARABLE_2D_EXT 03695 #define GL_SEPARABLE_2D_EXT 32786 03696 #endif 03697 03698 #ifndef GL_CONVOLUTION_BORDER_MODE_EXT 03699 #define GL_CONVOLUTION_BORDER_MODE_EXT 32787 03700 #endif 03701 03702 #ifndef GL_CONVOLUTION_FILTER_SCALE_EXT 03703 #define GL_CONVOLUTION_FILTER_SCALE_EXT 32788 03704 #endif 03705 03706 #ifndef GL_CONVOLUTION_FILTER_BIAS_EXT 03707 #define GL_CONVOLUTION_FILTER_BIAS_EXT 32789 03708 #endif 03709 03710 #ifndef GL_REDUCE_EXT 03711 #define GL_REDUCE_EXT 32790 03712 #endif 03713 03714 #ifndef GL_CONVOLUTION_FORMAT_EXT 03715 #define GL_CONVOLUTION_FORMAT_EXT 32791 03716 #endif 03717 03718 #ifndef GL_CONVOLUTION_WIDTH_EXT 03719 #define GL_CONVOLUTION_WIDTH_EXT 32792 03720 #endif 03721 03722 #ifndef GL_CONVOLUTION_HEIGHT_EXT 03723 #define GL_CONVOLUTION_HEIGHT_EXT 32793 03724 #endif 03725 03726 #ifndef GL_MAX_CONVOLUTION_WIDTH_EXT 03727 #define GL_MAX_CONVOLUTION_WIDTH_EXT 32794 03728 #endif 03729 03730 #ifndef GL_MAX_CONVOLUTION_HEIGHT_EXT 03731 #define GL_MAX_CONVOLUTION_HEIGHT_EXT 32795 03732 #endif 03733 03734 #ifndef GL_POST_CONVOLUTION_RED_SCALE_EXT 03735 #define GL_POST_CONVOLUTION_RED_SCALE_EXT 32796 03736 #endif 03737 03738 #ifndef GL_POST_CONVOLUTION_GREEN_SCALE_EXT 03739 #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 32797 03740 #endif 03741 03742 #ifndef GL_POST_CONVOLUTION_BLUE_SCALE_EXT 03743 #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 32798 03744 #endif 03745 03746 #ifndef GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 03747 #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 32799 03748 #endif 03749 03750 #ifndef GL_POST_CONVOLUTION_RED_BIAS_EXT 03751 #define GL_POST_CONVOLUTION_RED_BIAS_EXT 32800 03752 #endif 03753 03754 #ifndef GL_POST_CONVOLUTION_GREEN_BIAS_EXT 03755 #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 32801 03756 #endif 03757 03758 #ifndef GL_POST_CONVOLUTION_BLUE_BIAS_EXT 03759 #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 32802 03760 #endif 03761 03762 #ifndef GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 03763 #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 32803 03764 #endif 03765 03766 03772 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* image); 03773 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* image); 03774 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER1DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 03775 typedef GLvoid (csAPIENTRY* csGLCOPYCONVOLUTIONFILTER2DEXT) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 03776 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* image); 03777 typedef GLvoid (csAPIENTRY* csGLSEPARABLEFILTER2DEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* row, const GLvoid* column); 03778 typedef GLvoid (csAPIENTRY* csGLGETSEPARABLEFILTEREXT) (GLenum target, GLenum format, GLenum type, GLvoid* row, GLvoid* column, GLvoid* span); 03779 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIEXT) (GLenum target, GLenum pname, GLint param); 03780 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, const GLint* params); 03781 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFEXT) (GLenum target, GLenum pname, GLfloat param); 03782 typedef GLvoid (csAPIENTRY* csGLCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, const GLfloat* params); 03783 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params); 03784 typedef GLvoid (csAPIENTRY* csGLGETCONVOLUTIONPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params); 03785 03790 #ifndef GL_FOG_COORDINATE_SOURCE_EXT 03791 #define GL_FOG_COORDINATE_SOURCE_EXT 33872 03792 #endif 03793 03794 #ifndef GL_FOG_COORDINATE_EXT 03795 #define GL_FOG_COORDINATE_EXT 33873 03796 #endif 03797 03798 #ifndef GL_FRAGMENT_DEPTH_EXT 03799 #define GL_FRAGMENT_DEPTH_EXT 33874 03800 #endif 03801 03802 #ifndef GL_CURRENT_FOG_COORDINATE_EXT 03803 #define GL_CURRENT_FOG_COORDINATE_EXT 33875 03804 #endif 03805 03806 #ifndef GL_FOG_COORDINATE_ARRAY_TYPE_EXT 03807 #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 33876 03808 #endif 03809 03810 #ifndef GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 03811 #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 33877 03812 #endif 03813 03814 #ifndef GL_FOG_COORDINATE_ARRAY_POINTER_EXT 03815 #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 33878 03816 #endif 03817 03818 #ifndef GL_FOG_COORDINATE_ARRAY_EXT 03819 #define GL_FOG_COORDINATE_ARRAY_EXT 33879 03820 #endif 03821 03822 03828 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFEXT) (GLfloat coord); 03829 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDEXT) (GLdouble coord); 03830 typedef GLvoid (csAPIENTRY* csGLFOGCOORDFVEXT) (GLfloat* coord); 03831 typedef GLvoid (csAPIENTRY* csGLFOGCOORDDVEXT) (GLdouble* coord); 03832 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTEREXT) (GLenum type, GLsizei stride, GLvoid* pointer); 03833 03838 #ifndef GL_HISTOGRAM_EXT 03839 #define GL_HISTOGRAM_EXT 32804 03840 #endif 03841 03842 #ifndef GL_PROXY_HISTOGRAM_EXT 03843 #define GL_PROXY_HISTOGRAM_EXT 32805 03844 #endif 03845 03846 #ifndef GL_HISTOGRAM_WIDTH_EXT 03847 #define GL_HISTOGRAM_WIDTH_EXT 32806 03848 #endif 03849 03850 #ifndef GL_HISTOGRAM_FORMAT_EXT 03851 #define GL_HISTOGRAM_FORMAT_EXT 32807 03852 #endif 03853 03854 #ifndef GL_HISTOGRAM_RED_SIZE_EXT 03855 #define GL_HISTOGRAM_RED_SIZE_EXT 32808 03856 #endif 03857 03858 #ifndef GL_HISTOGRAM_GREEN_SIZE_EXT 03859 #define GL_HISTOGRAM_GREEN_SIZE_EXT 32809 03860 #endif 03861 03862 #ifndef GL_HISTOGRAM_BLUE_SIZE_EXT 03863 #define GL_HISTOGRAM_BLUE_SIZE_EXT 32810 03864 #endif 03865 03866 #ifndef GL_HISTOGRAM_ALPHA_SIZE_EXT 03867 #define GL_HISTOGRAM_ALPHA_SIZE_EXT 32811 03868 #endif 03869 03870 #ifndef GL_HISTOGRAM_LUMINANCE_SIZE_EXT 03871 #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 32812 03872 #endif 03873 03874 #ifndef GL_HISTOGRAM_SINK_EXT 03875 #define GL_HISTOGRAM_SINK_EXT 32813 03876 #endif 03877 03878 #ifndef GL_MINMAX_EXT 03879 #define GL_MINMAX_EXT 32814 03880 #endif 03881 03882 #ifndef GL_MINMAX_FORMAT_EXT 03883 #define GL_MINMAX_FORMAT_EXT 32815 03884 #endif 03885 03886 #ifndef GL_MINMAX_SINK_EXT 03887 #define GL_MINMAX_SINK_EXT 32816 03888 #endif 03889 03890 03896 typedef GLvoid (csAPIENTRY* csGLHISTOGRAMEXT) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 03897 typedef GLvoid (csAPIENTRY* csGLRESETHISTOGRAMEXT) (GLenum target); 03898 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values); 03899 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params); 03900 typedef GLvoid (csAPIENTRY* csGLGETHISTOGRAMPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params); 03901 typedef GLvoid (csAPIENTRY* csGLMINMAXEXT) (GLenum target, GLenum internalformat, GLboolean sink); 03902 typedef GLvoid (csAPIENTRY* csGLRESETMINMAXEXT) (GLenum target); 03903 typedef GLvoid (csAPIENTRY* csGLGETMINMAXEXT) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid* values); 03904 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params); 03905 typedef GLvoid (csAPIENTRY* csGLGETMINMAXPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params); 03906 03917 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWARRAYSEXT) (GLenum mode, GLint* first, GLsizei* count, GLsizei primcount); 03918 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTSEXT) (GLenum mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount); 03919 03924 #ifndef GL_UNSIGNED_BYTE_3_3_2_EXT 03925 #define GL_UNSIGNED_BYTE_3_3_2_EXT 32818 03926 #endif 03927 03928 #ifndef GL_UNSIGNED_SHORT_4_4_4_4_EXT 03929 #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 32819 03930 #endif 03931 03932 #ifndef GL_UNSIGNED_SHORT_5_5_5_1_EXT 03933 #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 32820 03934 #endif 03935 03936 #ifndef GL_UNSIGNED_INT_8_8_8_8_EXT 03937 #define GL_UNSIGNED_INT_8_8_8_8_EXT 32821 03938 #endif 03939 03940 #ifndef GL_UNSIGNED_INT_10_10_10_2_EXT 03941 #define GL_UNSIGNED_INT_10_10_10_2_EXT 32822 03942 #endif 03943 03944 03955 #ifndef GL_COLOR_INDEX1_EXT 03956 #define GL_COLOR_INDEX1_EXT 32994 03957 #endif 03958 03959 #ifndef GL_COLOR_INDEX2_EXT 03960 #define GL_COLOR_INDEX2_EXT 32995 03961 #endif 03962 03963 #ifndef GL_COLOR_INDEX4_EXT 03964 #define GL_COLOR_INDEX4_EXT 32996 03965 #endif 03966 03967 #ifndef GL_COLOR_INDEX8_EXT 03968 #define GL_COLOR_INDEX8_EXT 32997 03969 #endif 03970 03971 #ifndef GL_COLOR_INDEX12_EXT 03972 #define GL_COLOR_INDEX12_EXT 32998 03973 #endif 03974 03975 #ifndef GL_COLOR_INDEX16_EXT 03976 #define GL_COLOR_INDEX16_EXT 32999 03977 #endif 03978 03979 #ifndef GL_COLOR_TABLE_FORMAT_EXT 03980 #define GL_COLOR_TABLE_FORMAT_EXT 32984 03981 #endif 03982 03983 #ifndef GL_COLOR_TABLE_WIDTH_EXT 03984 #define GL_COLOR_TABLE_WIDTH_EXT 32985 03985 #endif 03986 03987 #ifndef GL_COLOR_TABLE_RED_SIZE_EXT 03988 #define GL_COLOR_TABLE_RED_SIZE_EXT 32986 03989 #endif 03990 03991 #ifndef GL_COLOR_TABLE_GREEN_SIZE_EXT 03992 #define GL_COLOR_TABLE_GREEN_SIZE_EXT 32987 03993 #endif 03994 03995 #ifndef GL_COLOR_TABLE_BLUE_SIZE_EXT 03996 #define GL_COLOR_TABLE_BLUE_SIZE_EXT 32988 03997 #endif 03998 03999 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_EXT 04000 #define GL_COLOR_TABLE_ALPHA_SIZE_EXT 32989 04001 #endif 04002 04003 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 04004 #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 32990 04005 #endif 04006 04007 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_EXT 04008 #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 32991 04009 #endif 04010 04011 #ifndef GL_TEXTURE_INDEX_SIZE_EXT 04012 #define GL_TEXTURE_INDEX_SIZE_EXT 33005 04013 #endif 04014 04015 #ifndef GL_TEXTURE_1D 04016 #define GL_TEXTURE_1D 3552 04017 #endif 04018 04019 #ifndef GL_TEXTURE_2D 04020 #define GL_TEXTURE_2D 3553 04021 #endif 04022 04023 #ifndef GL_TEXTURE_3D_EXT 04024 #define GL_TEXTURE_3D_EXT 32879 04025 #endif 04026 04027 #ifndef GL_TEXTURE_CUBE_MAP_ARB 04028 #define GL_TEXTURE_CUBE_MAP_ARB 34067 04029 #endif 04030 04031 #ifndef GL_PROXY_TEXTURE_1D 04032 #define GL_PROXY_TEXTURE_1D 32867 04033 #endif 04034 04035 #ifndef GL_PROXY_TEXTURE_2D 04036 #define GL_PROXY_TEXTURE_2D 32868 04037 #endif 04038 04039 #ifndef GL_PROXY_TEXTURE_3D_EXT 04040 #define GL_PROXY_TEXTURE_3D_EXT 32880 04041 #endif 04042 04043 #ifndef GL_PROXY_TEXTURE_CUBE_MAP_ARB 04044 #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 34075 04045 #endif 04046 04047 #ifndef GL_TEXTURE_1D 04048 #define GL_TEXTURE_1D 3552 04049 #endif 04050 04051 #ifndef GL_TEXTURE_2D 04052 #define GL_TEXTURE_2D 3553 04053 #endif 04054 04055 #ifndef GL_TEXTURE_3D_EXT 04056 #define GL_TEXTURE_3D_EXT 32879 04057 #endif 04058 04059 #ifndef GL_TEXTURE_CUBE_MAP_ARB 04060 #define GL_TEXTURE_CUBE_MAP_ARB 34067 04061 #endif 04062 04063 04069 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEEXT) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid* data); 04070 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEEXT) (GLenum target, GLenum format, GLenum type, GLvoid* data); 04071 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params); 04072 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVEXT) (GLenum target, GLenum pname, GLfloat* params); 04073 04078 #ifndef GL_POINT_SIZE_MIN_EXT 04079 #define GL_POINT_SIZE_MIN_EXT 33062 04080 #endif 04081 04082 #ifndef GL_POINT_SIZE_MAX_EXT 04083 #define GL_POINT_SIZE_MAX_EXT 33063 04084 #endif 04085 04086 #ifndef GL_POINT_FADE_THRESHOLD_SIZE_EXT 04087 #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 33064 04088 #endif 04089 04090 #ifndef GL_DISTANCE_ATTENUATION_EXT 04091 #define GL_DISTANCE_ATTENUATION_EXT 33065 04092 #endif 04093 04094 04100 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFEXT) (GLenum pname, GLfloat param); 04101 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERFVEXT) (GLenum pname, GLfloat* params); 04102 04107 #ifndef GL_POLYGON_OFFSET_EXT 04108 #define GL_POLYGON_OFFSET_EXT 32823 04109 #endif 04110 04111 #ifndef GL_POLYGON_OFFSET_FACTOR_EXT 04112 #define GL_POLYGON_OFFSET_FACTOR_EXT 32824 04113 #endif 04114 04115 #ifndef GL_POLYGON_OFFSET_BIAS_EXT 04116 #define GL_POLYGON_OFFSET_BIAS_EXT 32825 04117 #endif 04118 04119 04125 typedef GLvoid (csAPIENTRY* csGLPOLYGONOFFSETEXT) (GLfloat factor, GLfloat bias); 04126 04131 #ifndef GL_COLOR_SUM_EXT 04132 #define GL_COLOR_SUM_EXT 33880 04133 #endif 04134 04135 #ifndef GL_CURRENT_SECONDARY_COLOR_EXT 04136 #define GL_CURRENT_SECONDARY_COLOR_EXT 33881 04137 #endif 04138 04139 #ifndef GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 04140 #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 33882 04141 #endif 04142 04143 #ifndef GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 04144 #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 33883 04145 #endif 04146 04147 #ifndef GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 04148 #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 33884 04149 #endif 04150 04151 #ifndef GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 04152 #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 33885 04153 #endif 04154 04155 #ifndef GL_SECONDARY_COLOR_ARRAY_EXT 04156 #define GL_SECONDARY_COLOR_ARRAY_EXT 33886 04157 #endif 04158 04159 04165 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BEXT) (GLbyte components); 04166 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SEXT) (GLshort components); 04167 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IEXT) (GLint components); 04168 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FEXT) (GLfloat components); 04169 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DEXT) (GLdouble components); 04170 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBEXT) (GLubyte components); 04171 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USEXT) (GLushort components); 04172 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIEXT) (GLuint components); 04173 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3BVEXT) (GLbyte* components); 04174 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3SVEXT) (GLshort* components); 04175 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3IVEXT) (GLint* components); 04176 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3FVEXT) (GLfloat* components); 04177 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3DVEXT) (GLdouble* components); 04178 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UBVEXT) (GLubyte* components); 04179 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3USVEXT) (GLushort* components); 04180 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLOR3UIVEXT) (GLuint* components); 04181 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer); 04182 04187 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL_EXT 04188 #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 33272 04189 #endif 04190 04191 #ifndef GL_SINGLE_COLOR_EXT 04192 #define GL_SINGLE_COLOR_EXT 33273 04193 #endif 04194 04195 #ifndef GL_SEPARATE_SPECULAR_COLOR_EXT 04196 #define GL_SEPARATE_SPECULAR_COLOR_EXT 33274 04197 #endif 04198 04199 04221 #ifndef GL_SHARED_TEXTURE_PALETTE_EXT 04222 #define GL_SHARED_TEXTURE_PALETTE_EXT 33275 04223 #endif 04224 04225 04236 #ifndef GL_STENCIL_TEST_TWO_SIDE_EXT 04237 #define GL_STENCIL_TEST_TWO_SIDE_EXT 35088 04238 #endif 04239 04240 #ifndef GL_ACTIVE_STENCIL_FACE_EXT 04241 #define GL_ACTIVE_STENCIL_FACE_EXT 35089 04242 #endif 04243 04244 04250 typedef GLvoid (csAPIENTRY* csGLACTIVESTENCILFACEEXT) (GLenum face); 04251 04256 #ifndef GL_INCR_WRAP_EXT 04257 #define GL_INCR_WRAP_EXT 34055 04258 #endif 04259 04260 #ifndef GL_DECR_WRAP_EXT 04261 #define GL_DECR_WRAP_EXT 34056 04262 #endif 04263 04264 04281 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE1DEXT) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels); 04282 typedef GLvoid (csAPIENTRY* csGLTEXSUBIMAGE2DEXT) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); 04283 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); 04284 04289 #ifndef GL_PACK_SKIP_IMAGES_EXT 04290 #define GL_PACK_SKIP_IMAGES_EXT 32875 04291 #endif 04292 04293 #ifndef GL_PACK_IMAGE_HEIGHT_EXT 04294 #define GL_PACK_IMAGE_HEIGHT_EXT 32876 04295 #endif 04296 04297 #ifndef GL_UNPACK_SKIP_IMAGES_EXT 04298 #define GL_UNPACK_SKIP_IMAGES_EXT 32877 04299 #endif 04300 04301 #ifndef GL_UNPACK_IMAGE_HEIGHT_EXT 04302 #define GL_UNPACK_IMAGE_HEIGHT_EXT 32878 04303 #endif 04304 04305 #ifndef GL_TEXTURE_3D_EXT 04306 #define GL_TEXTURE_3D_EXT 32879 04307 #endif 04308 04309 #ifndef GL_PROXY_TEXTURE_3D_EXT 04310 #define GL_PROXY_TEXTURE_3D_EXT 32880 04311 #endif 04312 04313 #ifndef GL_TEXTURE_DEPTH_EXT 04314 #define GL_TEXTURE_DEPTH_EXT 32881 04315 #endif 04316 04317 #ifndef GL_TEXTURE_WRAP_R_EXT 04318 #define GL_TEXTURE_WRAP_R_EXT 32882 04319 #endif 04320 04321 #ifndef GL_MAX_3D_TEXTURE_SIZE_EXT 04322 #define GL_MAX_3D_TEXTURE_SIZE_EXT 32883 04323 #endif 04324 04325 04331 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); 04332 04337 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT 04338 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 33776 04339 #endif 04340 04341 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 04342 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 33777 04343 #endif 04344 04345 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 04346 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 33778 04347 #endif 04348 04349 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 04350 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 33779 04351 #endif 04352 04353 04375 #ifndef GL_COMBINE_EXT 04376 #define GL_COMBINE_EXT 34160 04377 #endif 04378 04379 #ifndef GL_COMBINE_RGB_EXT 04380 #define GL_COMBINE_RGB_EXT 34161 04381 #endif 04382 04383 #ifndef GL_COMBINE_ALPHA_EXT 04384 #define GL_COMBINE_ALPHA_EXT 34162 04385 #endif 04386 04387 #ifndef GL_SOURCE0_RGB_EXT 04388 #define GL_SOURCE0_RGB_EXT 34176 04389 #endif 04390 04391 #ifndef GL_SOURCE1_RGB_EXT 04392 #define GL_SOURCE1_RGB_EXT 34177 04393 #endif 04394 04395 #ifndef GL_SOURCE2_RGB_EXT 04396 #define GL_SOURCE2_RGB_EXT 34178 04397 #endif 04398 04399 #ifndef GL_SOURCE0_ALPHA_EXT 04400 #define GL_SOURCE0_ALPHA_EXT 34184 04401 #endif 04402 04403 #ifndef GL_SOURCE1_ALPHA_EXT 04404 #define GL_SOURCE1_ALPHA_EXT 34185 04405 #endif 04406 04407 #ifndef GL_SOURCE2_ALPHA_EXT 04408 #define GL_SOURCE2_ALPHA_EXT 34186 04409 #endif 04410 04411 #ifndef GL_OPERAND0_RGB_EXT 04412 #define GL_OPERAND0_RGB_EXT 34192 04413 #endif 04414 04415 #ifndef GL_OPERAND1_RGB_EXT 04416 #define GL_OPERAND1_RGB_EXT 34193 04417 #endif 04418 04419 #ifndef GL_OPERAND2_RGB_EXT 04420 #define GL_OPERAND2_RGB_EXT 34194 04421 #endif 04422 04423 #ifndef GL_OPERAND0_ALPHA_EXT 04424 #define GL_OPERAND0_ALPHA_EXT 34200 04425 #endif 04426 04427 #ifndef GL_OPERAND1_ALPHA_EXT 04428 #define GL_OPERAND1_ALPHA_EXT 34201 04429 #endif 04430 04431 #ifndef GL_OPERAND2_ALPHA_EXT 04432 #define GL_OPERAND2_ALPHA_EXT 34202 04433 #endif 04434 04435 #ifndef GL_RGB_SCALE_EXT 04436 #define GL_RGB_SCALE_EXT 34163 04437 #endif 04438 04439 #ifndef GL_ADD_SIGNED_EXT 04440 #define GL_ADD_SIGNED_EXT 34164 04441 #endif 04442 04443 #ifndef GL_INTERPOLATE_EXT 04444 #define GL_INTERPOLATE_EXT 34165 04445 #endif 04446 04447 #ifndef GL_CONSTANT_EXT 04448 #define GL_CONSTANT_EXT 34166 04449 #endif 04450 04451 #ifndef GL_PRIMARY_COLOR_EXT 04452 #define GL_PRIMARY_COLOR_EXT 34167 04453 #endif 04454 04455 #ifndef GL_PREVIOUS_EXT 04456 #define GL_PREVIOUS_EXT 34168 04457 #endif 04458 04459 04470 #ifndef GL_DOT3_RGB_EXT 04471 #define GL_DOT3_RGB_EXT 34624 04472 #endif 04473 04474 #ifndef GL_DOT3_RGBA_EXT 04475 #define GL_DOT3_RGBA_EXT 34625 04476 #endif 04477 04478 04489 #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT 04490 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 34046 04491 #endif 04492 04493 #ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 04494 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 34047 04495 #endif 04496 04497 04508 #ifndef GL_TEXTURE_FILTER_CONTROL_EXT 04509 #define GL_TEXTURE_FILTER_CONTROL_EXT 34048 04510 #endif 04511 04512 #ifndef GL_TEXTURE_LOD_BIAS_EXT 04513 #define GL_TEXTURE_LOD_BIAS_EXT 34049 04514 #endif 04515 04516 #ifndef GL_MAX_TEXTURE_LOD_BIAS_EXT 04517 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 34045 04518 #endif 04519 04520 04531 #ifndef GL_TEXTURE_PRIORITY_EXT 04532 #define GL_TEXTURE_PRIORITY_EXT 32870 04533 #endif 04534 04535 #ifndef GL_TEXTURE_RESIDENT_EXT 04536 #define GL_TEXTURE_RESIDENT_EXT 32871 04537 #endif 04538 04539 #ifndef GL_TEXTURE_1D_BINDING_EXT 04540 #define GL_TEXTURE_1D_BINDING_EXT 32872 04541 #endif 04542 04543 #ifndef GL_TEXTURE_2D_BINDING_EXT 04544 #define GL_TEXTURE_2D_BINDING_EXT 32873 04545 #endif 04546 04547 #ifndef GL_TEXTURE_3D_BINDING_EXT 04548 #define GL_TEXTURE_3D_BINDING_EXT 32874 04549 #endif 04550 04551 04557 typedef GLvoid (csAPIENTRY* csGLGENTEXTURESEXT) (GLsizei n, GLuint* textures); 04558 typedef GLvoid (csAPIENTRY* csGLDELETETEXTURESEXT) (GLsizei n, const GLuint* textures); 04559 typedef GLvoid (csAPIENTRY* csGLBINDTEXTUREEXT) (GLenum target, GLuint texture); 04560 typedef GLvoid (csAPIENTRY* csGLPRIORITIZETEXTURESEXT) (GLsizei n, const GLuint* textures, const GLclampf* priorities); 04561 typedef GLboolean (csAPIENTRY* csGLARETEXTURESRESIDENTEXT) (GLsizei n, const GLuint* textures, GLboolean* residences); 04562 typedef GLboolean (csAPIENTRY* csGLISTEXTUREEXT) (GLuint texture); 04563 04568 #ifndef GL_VERTEX_ARRAY_EXT 04569 #define GL_VERTEX_ARRAY_EXT 32884 04570 #endif 04571 04572 #ifndef GL_NORMAL_ARRAY_EXT 04573 #define GL_NORMAL_ARRAY_EXT 32885 04574 #endif 04575 04576 #ifndef GL_COLOR_ARRAY_EXT 04577 #define GL_COLOR_ARRAY_EXT 32886 04578 #endif 04579 04580 #ifndef GL_INDEX_ARRAY_EXT 04581 #define GL_INDEX_ARRAY_EXT 32887 04582 #endif 04583 04584 #ifndef GL_TEXTURE_COORD_ARRAY_EXT 04585 #define GL_TEXTURE_COORD_ARRAY_EXT 32888 04586 #endif 04587 04588 #ifndef GL_EDGE_FLAG_ARRAY_EXT 04589 #define GL_EDGE_FLAG_ARRAY_EXT 32889 04590 #endif 04591 04592 #ifndef GL_DOUBLE_EXT 04593 #define GL_DOUBLE_EXT 5130 04594 #endif 04595 04596 #ifndef GL_VERTEX_ARRAY_SIZE_EXT 04597 #define GL_VERTEX_ARRAY_SIZE_EXT 32890 04598 #endif 04599 04600 #ifndef GL_VERTEX_ARRAY_TYPE_EXT 04601 #define GL_VERTEX_ARRAY_TYPE_EXT 32891 04602 #endif 04603 04604 #ifndef GL_VERTEX_ARRAY_STRIDE_EXT 04605 #define GL_VERTEX_ARRAY_STRIDE_EXT 32892 04606 #endif 04607 04608 #ifndef GL_VERTEX_ARRAY_COUNT_EXT 04609 #define GL_VERTEX_ARRAY_COUNT_EXT 32893 04610 #endif 04611 04612 #ifndef GL_NORMAL_ARRAY_TYPE_EXT 04613 #define GL_NORMAL_ARRAY_TYPE_EXT 32894 04614 #endif 04615 04616 #ifndef GL_NORMAL_ARRAY_STRIDE_EXT 04617 #define GL_NORMAL_ARRAY_STRIDE_EXT 32895 04618 #endif 04619 04620 #ifndef GL_NORMAL_ARRAY_COUNT_EXT 04621 #define GL_NORMAL_ARRAY_COUNT_EXT 32896 04622 #endif 04623 04624 #ifndef GL_COLOR_ARRAY_SIZE_EXT 04625 #define GL_COLOR_ARRAY_SIZE_EXT 32897 04626 #endif 04627 04628 #ifndef GL_COLOR_ARRAY_TYPE_EXT 04629 #define GL_COLOR_ARRAY_TYPE_EXT 32898 04630 #endif 04631 04632 #ifndef GL_COLOR_ARRAY_STRIDE_EXT 04633 #define GL_COLOR_ARRAY_STRIDE_EXT 32899 04634 #endif 04635 04636 #ifndef GL_COLOR_ARRAY_COUNT_EXT 04637 #define GL_COLOR_ARRAY_COUNT_EXT 32900 04638 #endif 04639 04640 #ifndef GL_INDEX_ARRAY_TYPE_EXT 04641 #define GL_INDEX_ARRAY_TYPE_EXT 32901 04642 #endif 04643 04644 #ifndef GL_INDEX_ARRAY_STRIDE_EXT 04645 #define GL_INDEX_ARRAY_STRIDE_EXT 32902 04646 #endif 04647 04648 #ifndef GL_INDEX_ARRAY_COUNT_EXT 04649 #define GL_INDEX_ARRAY_COUNT_EXT 32903 04650 #endif 04651 04652 #ifndef GL_TEXTURE_COORD_ARRAY_SIZE_EXT 04653 #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 32904 04654 #endif 04655 04656 #ifndef GL_TEXTURE_COORD_ARRAY_TYPE_EXT 04657 #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 32905 04658 #endif 04659 04660 #ifndef GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 04661 #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 32906 04662 #endif 04663 04664 #ifndef GL_TEXTURE_COORD_ARRAY_COUNT_EXT 04665 #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 32907 04666 #endif 04667 04668 #ifndef GL_EDGE_FLAG_ARRAY_STRIDE_EXT 04669 #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 32908 04670 #endif 04671 04672 #ifndef GL_EDGE_FLAG_ARRAY_COUNT_EXT 04673 #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 32909 04674 #endif 04675 04676 #ifndef GL_VERTEX_ARRAY_POINTER_EXT 04677 #define GL_VERTEX_ARRAY_POINTER_EXT 32910 04678 #endif 04679 04680 #ifndef GL_NORMAL_ARRAY_POINTER_EXT 04681 #define GL_NORMAL_ARRAY_POINTER_EXT 32911 04682 #endif 04683 04684 #ifndef GL_COLOR_ARRAY_POINTER_EXT 04685 #define GL_COLOR_ARRAY_POINTER_EXT 32912 04686 #endif 04687 04688 #ifndef GL_INDEX_ARRAY_POINTER_EXT 04689 #define GL_INDEX_ARRAY_POINTER_EXT 32913 04690 #endif 04691 04692 #ifndef GL_TEXTURE_COORD_ARRAY_POINTER_EXT 04693 #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 32914 04694 #endif 04695 04696 #ifndef GL_EDGE_FLAG_ARRAY_POINTER_EXT 04697 #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 32915 04698 #endif 04699 04700 04706 typedef GLvoid (csAPIENTRY* csGLARRAYELEMENTEXT) (GLint i); 04707 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSEXT) (GLenum mode, GLint first, GLsizei count); 04708 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer); 04709 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer); 04710 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer); 04711 typedef GLvoid (csAPIENTRY* csGLINDEXPOINTEREXT) (GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer); 04712 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid* pointer); 04713 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTEREXT) (GLsizei stride, GLsizei count, const GLboolean* pointer); 04714 typedef GLvoid (csAPIENTRY* csGLGETPOINTERVEXT) (GLenum pname, GLvoid* params); 04715 04720 #ifndef GL_VERTEX_SHADER_EXT 04721 #define GL_VERTEX_SHADER_EXT 34688 04722 #endif 04723 04724 #ifndef GL_VARIANT_VALUE_EXT 04725 #define GL_VARIANT_VALUE_EXT 34788 04726 #endif 04727 04728 #ifndef GL_VARIANT_DATATYPE_EXT 04729 #define GL_VARIANT_DATATYPE_EXT 34789 04730 #endif 04731 04732 #ifndef GL_VARIANT_ARRAY_STRIDE_EXT 04733 #define GL_VARIANT_ARRAY_STRIDE_EXT 34790 04734 #endif 04735 04736 #ifndef GL_VARIANT_ARRAY_TYPE_EXT 04737 #define GL_VARIANT_ARRAY_TYPE_EXT 34791 04738 #endif 04739 04740 #ifndef GL_VARIANT_ARRAY_EXT 04741 #define GL_VARIANT_ARRAY_EXT 34792 04742 #endif 04743 04744 #ifndef GL_VARIANT_ARRAY_POINTER_EXT 04745 #define GL_VARIANT_ARRAY_POINTER_EXT 34793 04746 #endif 04747 04748 #ifndef GL_INVARIANT_VALUE_EXT 04749 #define GL_INVARIANT_VALUE_EXT 34794 04750 #endif 04751 04752 #ifndef GL_INVARIANT_DATATYPE_EXT 04753 #define GL_INVARIANT_DATATYPE_EXT 34795 04754 #endif 04755 04756 #ifndef GL_LOCAL_CONSTANT_VALUE_EXT 04757 #define GL_LOCAL_CONSTANT_VALUE_EXT 34796 04758 #endif 04759 04760 #ifndef GL_LOCAL_CONSTANT_DATATYPE_EXT 04761 #define GL_LOCAL_CONSTANT_DATATYPE_EXT 34797 04762 #endif 04763 04764 #ifndef GL_OP_INDEX_EXT 04765 #define GL_OP_INDEX_EXT 34690 04766 #endif 04767 04768 #ifndef GL_OP_NEGATE_EXT 04769 #define GL_OP_NEGATE_EXT 34691 04770 #endif 04771 04772 #ifndef GL_OP_DOT3_EXT 04773 #define GL_OP_DOT3_EXT 34692 04774 #endif 04775 04776 #ifndef GL_OP_DOT4_EXT 04777 #define GL_OP_DOT4_EXT 34693 04778 #endif 04779 04780 #ifndef GL_OP_MUL_EXT 04781 #define GL_OP_MUL_EXT 34694 04782 #endif 04783 04784 #ifndef GL_OP_ADD_EXT 04785 #define GL_OP_ADD_EXT 34695 04786 #endif 04787 04788 #ifndef GL_OP_MADD_EXT 04789 #define GL_OP_MADD_EXT 34696 04790 #endif 04791 04792 #ifndef GL_OP_FRAC_EXT 04793 #define GL_OP_FRAC_EXT 34697 04794 #endif 04795 04796 #ifndef GL_OP_MAX_EXT 04797 #define GL_OP_MAX_EXT 34698 04798 #endif 04799 04800 #ifndef GL_OP_MIN_EXT 04801 #define GL_OP_MIN_EXT 34699 04802 #endif 04803 04804 #ifndef GL_OP_SET_GE_EXT 04805 #define GL_OP_SET_GE_EXT 34700 04806 #endif 04807 04808 #ifndef GL_OP_SET_LT_EXT 04809 #define GL_OP_SET_LT_EXT 34701 04810 #endif 04811 04812 #ifndef GL_OP_CLAMP_EXT 04813 #define GL_OP_CLAMP_EXT 34702 04814 #endif 04815 04816 #ifndef GL_OP_FLOOR_EXT 04817 #define GL_OP_FLOOR_EXT 34703 04818 #endif 04819 04820 #ifndef GL_OP_ROUND_EXT 04821 #define GL_OP_ROUND_EXT 34704 04822 #endif 04823 04824 #ifndef GL_OP_EXP_BASE_2_EXT 04825 #define GL_OP_EXP_BASE_2_EXT 34705 04826 #endif 04827 04828 #ifndef GL_OP_LOG_BASE_2_EXT 04829 #define GL_OP_LOG_BASE_2_EXT 34706 04830 #endif 04831 04832 #ifndef GL_OP_POWER_EXT 04833 #define GL_OP_POWER_EXT 34707 04834 #endif 04835 04836 #ifndef GL_OP_RECIP_EXT 04837 #define GL_OP_RECIP_EXT 34708 04838 #endif 04839 04840 #ifndef GL_OP_RECIP_SQRT_EXT 04841 #define GL_OP_RECIP_SQRT_EXT 34709 04842 #endif 04843 04844 #ifndef GL_OP_SUB_EXT 04845 #define GL_OP_SUB_EXT 34710 04846 #endif 04847 04848 #ifndef GL_OP_CROSS_PRODUCT_EXT 04849 #define GL_OP_CROSS_PRODUCT_EXT 34711 04850 #endif 04851 04852 #ifndef GL_OP_MULTIPLY_MATRIX_EXT 04853 #define GL_OP_MULTIPLY_MATRIX_EXT 34712 04854 #endif 04855 04856 #ifndef GL_OP_MOV_EXT 04857 #define GL_OP_MOV_EXT 34713 04858 #endif 04859 04860 #ifndef GL_OUTPUT_VERTEX_EXT 04861 #define GL_OUTPUT_VERTEX_EXT 34714 04862 #endif 04863 04864 #ifndef GL_OUTPUT_COLOR0_EXT 04865 #define GL_OUTPUT_COLOR0_EXT 34715 04866 #endif 04867 04868 #ifndef GL_OUTPUT_COLOR1_EXT 04869 #define GL_OUTPUT_COLOR1_EXT 34716 04870 #endif 04871 04872 #ifndef GL_OUTPUT_TEXTURE_COORD0_EXT 04873 #define GL_OUTPUT_TEXTURE_COORD0_EXT 34717 04874 #endif 04875 04876 #ifndef GL_OUTPUT_TEXTURE_COORD1_EXT 04877 #define GL_OUTPUT_TEXTURE_COORD1_EXT 34718 04878 #endif 04879 04880 #ifndef GL_OUTPUT_TEXTURE_COORD2_EXT 04881 #define GL_OUTPUT_TEXTURE_COORD2_EXT 34719 04882 #endif 04883 04884 #ifndef GL_OUTPUT_TEXTURE_COORD3_EXT 04885 #define GL_OUTPUT_TEXTURE_COORD3_EXT 34720 04886 #endif 04887 04888 #ifndef GL_OUTPUT_TEXTURE_COORD4_EXT 04889 #define GL_OUTPUT_TEXTURE_COORD4_EXT 34721 04890 #endif 04891 04892 #ifndef GL_OUTPUT_TEXTURE_COORD5_EXT 04893 #define GL_OUTPUT_TEXTURE_COORD5_EXT 34722 04894 #endif 04895 04896 #ifndef GL_OUTPUT_TEXTURE_COORD6_EXT 04897 #define GL_OUTPUT_TEXTURE_COORD6_EXT 34723 04898 #endif 04899 04900 #ifndef GL_OUTPUT_TEXTURE_COORD7_EXT 04901 #define GL_OUTPUT_TEXTURE_COORD7_EXT 34724 04902 #endif 04903 04904 #ifndef GL_OUTPUT_TEXTURE_COORD8_EXT 04905 #define GL_OUTPUT_TEXTURE_COORD8_EXT 34725 04906 #endif 04907 04908 #ifndef GL_OUTPUT_TEXTURE_COORD9_EXT 04909 #define GL_OUTPUT_TEXTURE_COORD9_EXT 34726 04910 #endif 04911 04912 #ifndef GL_OUTPUT_TEXTURE_COORD10_EXT 04913 #define GL_OUTPUT_TEXTURE_COORD10_EXT 34727 04914 #endif 04915 04916 #ifndef GL_OUTPUT_TEXTURE_COORD11_EXT 04917 #define GL_OUTPUT_TEXTURE_COORD11_EXT 34728 04918 #endif 04919 04920 #ifndef GL_OUTPUT_TEXTURE_COORD12_EXT 04921 #define GL_OUTPUT_TEXTURE_COORD12_EXT 34729 04922 #endif 04923 04924 #ifndef GL_OUTPUT_TEXTURE_COORD13_EXT 04925 #define GL_OUTPUT_TEXTURE_COORD13_EXT 34730 04926 #endif 04927 04928 #ifndef GL_OUTPUT_TEXTURE_COORD14_EXT 04929 #define GL_OUTPUT_TEXTURE_COORD14_EXT 34731 04930 #endif 04931 04932 #ifndef GL_OUTPUT_TEXTURE_COORD15_EXT 04933 #define GL_OUTPUT_TEXTURE_COORD15_EXT 34732 04934 #endif 04935 04936 #ifndef GL_OUTPUT_TEXTURE_COORD16_EXT 04937 #define GL_OUTPUT_TEXTURE_COORD16_EXT 34733 04938 #endif 04939 04940 #ifndef GL_OUTPUT_TEXTURE_COORD17_EXT 04941 #define GL_OUTPUT_TEXTURE_COORD17_EXT 34734 04942 #endif 04943 04944 #ifndef GL_OUTPUT_TEXTURE_COORD18_EXT 04945 #define GL_OUTPUT_TEXTURE_COORD18_EXT 34735 04946 #endif 04947 04948 #ifndef GL_OUTPUT_TEXTURE_COORD19_EXT 04949 #define GL_OUTPUT_TEXTURE_COORD19_EXT 34736 04950 #endif 04951 04952 #ifndef GL_OUTPUT_TEXTURE_COORD20_EXT 04953 #define GL_OUTPUT_TEXTURE_COORD20_EXT 34737 04954 #endif 04955 04956 #ifndef GL_OUTPUT_TEXTURE_COORD21_EXT 04957 #define GL_OUTPUT_TEXTURE_COORD21_EXT 34738 04958 #endif 04959 04960 #ifndef GL_OUTPUT_TEXTURE_COORD22_EXT 04961 #define GL_OUTPUT_TEXTURE_COORD22_EXT 34739 04962 #endif 04963 04964 #ifndef GL_OUTPUT_TEXTURE_COORD23_EXT 04965 #define GL_OUTPUT_TEXTURE_COORD23_EXT 34740 04966 #endif 04967 04968 #ifndef GL_OUTPUT_TEXTURE_COORD24_EXT 04969 #define GL_OUTPUT_TEXTURE_COORD24_EXT 34741 04970 #endif 04971 04972 #ifndef GL_OUTPUT_TEXTURE_COORD25_EXT 04973 #define GL_OUTPUT_TEXTURE_COORD25_EXT 34742 04974 #endif 04975 04976 #ifndef GL_OUTPUT_TEXTURE_COORD26_EXT 04977 #define GL_OUTPUT_TEXTURE_COORD26_EXT 34743 04978 #endif 04979 04980 #ifndef GL_OUTPUT_TEXTURE_COORD27_EXT 04981 #define GL_OUTPUT_TEXTURE_COORD27_EXT 34744 04982 #endif 04983 04984 #ifndef GL_OUTPUT_TEXTURE_COORD28_EXT 04985 #define GL_OUTPUT_TEXTURE_COORD28_EXT 34745 04986 #endif 04987 04988 #ifndef GL_OUTPUT_TEXTURE_COORD29_EXT 04989 #define GL_OUTPUT_TEXTURE_COORD29_EXT 34746 04990 #endif 04991 04992 #ifndef GL_OUTPUT_TEXTURE_COORD30_EXT 04993 #define GL_OUTPUT_TEXTURE_COORD30_EXT 34747 04994 #endif 04995 04996 #ifndef GL_OUTPUT_TEXTURE_COORD31_EXT 04997 #define GL_OUTPUT_TEXTURE_COORD31_EXT 34748 04998 #endif 04999 05000 #ifndef GL_OUTPUT_FOG_EXT 05001 #define GL_OUTPUT_FOG_EXT 34749 05002 #endif 05003 05004 #ifndef GL_SCALAR_EXT 05005 #define GL_SCALAR_EXT 34750 05006 #endif 05007 05008 #ifndef GL_VECTOR_EXT 05009 #define GL_VECTOR_EXT 34751 05010 #endif 05011 05012 #ifndef GL_MATRIX_EXT 05013 #define GL_MATRIX_EXT 34752 05014 #endif 05015 05016 #ifndef GL_VARIANT_EXT 05017 #define GL_VARIANT_EXT 34753 05018 #endif 05019 05020 #ifndef GL_INVARIANT_EXT 05021 #define GL_INVARIANT_EXT 34754 05022 #endif 05023 05024 #ifndef GL_LOCAL_CONSTANT_EXT 05025 #define GL_LOCAL_CONSTANT_EXT 34755 05026 #endif 05027 05028 #ifndef GL_LOCAL_EXT 05029 #define GL_LOCAL_EXT 34756 05030 #endif 05031 05032 #ifndef GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 05033 #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 34757 05034 #endif 05035 05036 #ifndef GL_MAX_VERTEX_SHADER_VARIANTS_EXT 05037 #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 34758 05038 #endif 05039 05040 #ifndef GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 05041 #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 34759 05042 #endif 05043 05044 #ifndef GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 05045 #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 34760 05046 #endif 05047 05048 #ifndef GL_MAX_VERTEX_SHADER_LOCALS_EXT 05049 #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 34761 05050 #endif 05051 05052 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 05053 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 34762 05054 #endif 05055 05056 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 05057 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 34763 05058 #endif 05059 05060 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 05061 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 34764 05062 #endif 05063 05064 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 05065 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 34765 05066 #endif 05067 05068 #ifndef GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 05069 #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 34766 05070 #endif 05071 05072 #ifndef GL_VERTEX_SHADER_INSTRUCTIONS_EXT 05073 #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 34767 05074 #endif 05075 05076 #ifndef GL_VERTEX_SHADER_VARIANTS_EXT 05077 #define GL_VERTEX_SHADER_VARIANTS_EXT 34768 05078 #endif 05079 05080 #ifndef GL_VERTEX_SHADER_INVARIANTS_EXT 05081 #define GL_VERTEX_SHADER_INVARIANTS_EXT 34769 05082 #endif 05083 05084 #ifndef GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 05085 #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 34770 05086 #endif 05087 05088 #ifndef GL_VERTEX_SHADER_LOCALS_EXT 05089 #define GL_VERTEX_SHADER_LOCALS_EXT 34771 05090 #endif 05091 05092 #ifndef GL_VERTEX_SHADER_BINDING_EXT 05093 #define GL_VERTEX_SHADER_BINDING_EXT 34689 05094 #endif 05095 05096 #ifndef GL_VERTEX_SHADER_OPTIMIZED_EXT 05097 #define GL_VERTEX_SHADER_OPTIMIZED_EXT 34772 05098 #endif 05099 05100 #ifndef GL_X_EXT 05101 #define GL_X_EXT 34773 05102 #endif 05103 05104 #ifndef GL_Y_EXT 05105 #define GL_Y_EXT 34774 05106 #endif 05107 05108 #ifndef GL_Z_EXT 05109 #define GL_Z_EXT 34775 05110 #endif 05111 05112 #ifndef GL_W_EXT 05113 #define GL_W_EXT 34776 05114 #endif 05115 05116 #ifndef GL_NEGATIVE_X_EXT 05117 #define GL_NEGATIVE_X_EXT 34777 05118 #endif 05119 05120 #ifndef GL_NEGATIVE_Y_EXT 05121 #define GL_NEGATIVE_Y_EXT 34778 05122 #endif 05123 05124 #ifndef GL_NEGATIVE_Z_EXT 05125 #define GL_NEGATIVE_Z_EXT 34779 05126 #endif 05127 05128 #ifndef GL_NEGATIVE_W_EXT 05129 #define GL_NEGATIVE_W_EXT 34780 05130 #endif 05131 05132 #ifndef GL_ZERO_EXT 05133 #define GL_ZERO_EXT 34781 05134 #endif 05135 05136 #ifndef GL_ONE_EXT 05137 #define GL_ONE_EXT 34782 05138 #endif 05139 05140 #ifndef GL_NEGATIVE_ONE_EXT 05141 #define GL_NEGATIVE_ONE_EXT 34783 05142 #endif 05143 05144 #ifndef GL_NORMALIZED_RANGE_EXT 05145 #define GL_NORMALIZED_RANGE_EXT 34784 05146 #endif 05147 05148 #ifndef GL_FULL_RANGE_EXT 05149 #define GL_FULL_RANGE_EXT 34785 05150 #endif 05151 05152 #ifndef GL_CURRENT_VERTEX_EXT 05153 #define GL_CURRENT_VERTEX_EXT 34786 05154 #endif 05155 05156 #ifndef GL_MVP_MATRIX_EXT 05157 #define GL_MVP_MATRIX_EXT 34787 05158 #endif 05159 05160 05166 typedef GLvoid (csAPIENTRY* csGLBEGINVERTEXSHADEREXT) (); 05167 typedef GLvoid (csAPIENTRY* csGLENDVERTEXSHADEREXT) (); 05168 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXSHADEREXT) (GLuint id); 05169 typedef GLuint (csAPIENTRY* csGLGENVERTEXSHADERSEXT) (GLuint range); 05170 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXSHADEREXT) (GLuint id); 05171 typedef GLvoid (csAPIENTRY* csGLSHADEROP1EXT) (GLenum op, GLuint res, GLuint arg1); 05172 typedef GLvoid (csAPIENTRY* csGLSHADEROP2EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); 05173 typedef GLvoid (csAPIENTRY* csGLSHADEROP3EXT) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); 05174 typedef GLvoid (csAPIENTRY* csGLSWIZZLEEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 05175 typedef GLvoid (csAPIENTRY* csGLWRITEMASKEXT) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); 05176 typedef GLvoid (csAPIENTRY* csGLINSERTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num); 05177 typedef GLvoid (csAPIENTRY* csGLEXTRACTCOMPONENTEXT) (GLuint res, GLuint src, GLuint num); 05178 typedef GLuint (csAPIENTRY* csGLGENSYMBOLSEXT) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); 05179 typedef GLvoid (csAPIENTRY* csGLSETINVARIANTEXT) (GLuint id, GLenum type, GLvoid* addr); 05180 typedef GLvoid (csAPIENTRY* csGLSETLOCALCONSTANTEXT) (GLuint id, GLenum type, GLvoid* addr); 05181 typedef GLvoid (csAPIENTRY* csGLVARIANTBVEXT) (GLuint id, GLbyte* addr); 05182 typedef GLvoid (csAPIENTRY* csGLVARIANTSVEXT) (GLuint id, GLshort* addr); 05183 typedef GLvoid (csAPIENTRY* csGLVARIANTIVEXT) (GLuint id, GLint* addr); 05184 typedef GLvoid (csAPIENTRY* csGLVARIANTFVEXT) (GLuint id, GLfloat* addr); 05185 typedef GLvoid (csAPIENTRY* csGLVARIANTDVEXT) (GLuint id, GLdouble* addr); 05186 typedef GLvoid (csAPIENTRY* csGLVARIANTUBVEXT) (GLuint id, GLubyte* addr); 05187 typedef GLvoid (csAPIENTRY* csGLVARIANTUSVEXT) (GLuint id, GLushort* addr); 05188 typedef GLvoid (csAPIENTRY* csGLVARIANTUIVEXT) (GLuint id, GLuint* addr); 05189 typedef GLvoid (csAPIENTRY* csGLVARIANTPOINTEREXT) (GLuint id, GLenum type, GLuint stride, GLvoid* addr); 05190 typedef GLvoid (csAPIENTRY* csGLENABLEVARIANTCLIENTSTATEEXT) (GLuint id); 05191 typedef GLvoid (csAPIENTRY* csGLDISABLEVARIANTCLIENTSTATEEXT) (GLuint id); 05192 typedef GLuint (csAPIENTRY* csGLBINDLIGHTPARAMETEREXT) (GLenum light, GLenum value); 05193 typedef GLuint (csAPIENTRY* csGLBINDMATERIALPARAMETEREXT) (GLenum face, GLenum value); 05194 typedef GLuint (csAPIENTRY* csGLBINDTEXGENPARAMETEREXT) (GLenum unit, GLenum coord, GLenum value); 05195 typedef GLuint (csAPIENTRY* csGLBINDTEXTUREUNITPARAMETEREXT) (GLenum unit, GLenum value); 05196 typedef GLuint (csAPIENTRY* csGLBINDPARAMETEREXT) (GLenum value); 05197 typedef GLboolean (csAPIENTRY* csGLISVARIANTENABLEDEXT) (GLuint id, GLenum cap); 05198 typedef GLvoid (csAPIENTRY* csGLGETVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data); 05199 typedef GLvoid (csAPIENTRY* csGLGETVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data); 05200 typedef GLvoid (csAPIENTRY* csGLGETVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data); 05201 typedef GLvoid (csAPIENTRY* csGLGETVARIANTPOINTERVEXT) (GLuint id, GLenum value, GLvoid* data); 05202 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data); 05203 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data); 05204 typedef GLvoid (csAPIENTRY* csGLGETINVARIANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data); 05205 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTBOOLEANVEXT) (GLuint id, GLenum value, GLboolean* data); 05206 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTINTEGERVEXT) (GLuint id, GLenum value, GLint* data); 05207 typedef GLvoid (csAPIENTRY* csGLGETLOCALCONSTANTFLOATVEXT) (GLuint id, GLenum value, GLfloat* data); 05208 05213 #ifndef GL_VERTEX_WEIGHTING_EXT 05214 #define GL_VERTEX_WEIGHTING_EXT 34057 05215 #endif 05216 05217 #ifndef GL_MODELVIEW0_EXT 05218 #define GL_MODELVIEW0_EXT 5888 05219 #endif 05220 05221 #ifndef GL_MODELVIEW1_EXT 05222 #define GL_MODELVIEW1_EXT 34058 05223 #endif 05224 05225 #ifndef GL_MODELVIEW0_MATRIX_EXT 05226 #define GL_MODELVIEW0_MATRIX_EXT 2982 05227 #endif 05228 05229 #ifndef GL_MODELVIEW1_MATRIX_EXT 05230 #define GL_MODELVIEW1_MATRIX_EXT 34054 05231 #endif 05232 05233 #ifndef GL_CURRENT_VERTEX_WEIGHT_EXT 05234 #define GL_CURRENT_VERTEX_WEIGHT_EXT 34059 05235 #endif 05236 05237 #ifndef GL_VERTEX_WEIGHT_ARRAY_EXT 05238 #define GL_VERTEX_WEIGHT_ARRAY_EXT 34060 05239 #endif 05240 05241 #ifndef GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 05242 #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 34061 05243 #endif 05244 05245 #ifndef GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 05246 #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 34062 05247 #endif 05248 05249 #ifndef GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 05250 #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 34063 05251 #endif 05252 05253 #ifndef GL_MODELVIEW0_STACK_DEPTH_EXT 05254 #define GL_MODELVIEW0_STACK_DEPTH_EXT 2979 05255 #endif 05256 05257 #ifndef GL_MODELVIEW1_STACK_DEPTH_EXT 05258 #define GL_MODELVIEW1_STACK_DEPTH_EXT 34050 05259 #endif 05260 05261 #ifndef GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 05262 #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 34064 05263 #endif 05264 05265 05271 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFEXT) (GLfloat weight); 05272 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTFVEXT) (GLfloat* weight); 05273 typedef GLvoid (csAPIENTRY* csGLVERTEXWEIGHTPOINTEREXT) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer); 05274 05279 #ifndef GL_OCCLUSION_TEST_HP 05280 #define GL_OCCLUSION_TEST_HP 33125 05281 #endif 05282 05283 #ifndef GL_OCCLUSION_TEST_RESULT_HP 05284 #define GL_OCCLUSION_TEST_RESULT_HP 33126 05285 #endif 05286 05287 05309 #ifndef GL_DEPTH_STENCIL_TO_RGBA_NV 05310 #define GL_DEPTH_STENCIL_TO_RGBA_NV 34926 05311 #endif 05312 05313 #ifndef GL_DEPTH_STENCIL_TO_BGRA_NV 05314 #define GL_DEPTH_STENCIL_TO_BGRA_NV 34927 05315 #endif 05316 05317 05328 #ifndef GL_DEPTH_CLAMP_NV 05329 #define GL_DEPTH_CLAMP_NV 34383 05330 #endif 05331 05332 05343 #ifndef GL_EVAL_2D_NV 05344 #define GL_EVAL_2D_NV 34496 05345 #endif 05346 05347 #ifndef GL_EVAL_TRIANGULAR_2D_NV 05348 #define GL_EVAL_TRIANGULAR_2D_NV 34497 05349 #endif 05350 05351 #ifndef GL_MAP_TESSELLATION_NV 05352 #define GL_MAP_TESSELLATION_NV 34498 05353 #endif 05354 05355 #ifndef GL_MAP_ATTRIB_U_ORDER_NV 05356 #define GL_MAP_ATTRIB_U_ORDER_NV 34499 05357 #endif 05358 05359 #ifndef GL_MAP_ATTRIB_V_ORDER_NV 05360 #define GL_MAP_ATTRIB_V_ORDER_NV 34500 05361 #endif 05362 05363 #ifndef GL_EVAL_FRACTIONAL_TESSELLATION_NV 05364 #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 34501 05365 #endif 05366 05367 #ifndef GL_EVAL_VERTEX_ATTRIB0_NV 05368 #define GL_EVAL_VERTEX_ATTRIB0_NV 34502 05369 #endif 05370 05371 #ifndef GL_EVAL_VERTEX_ATTRIB1_NV 05372 #define GL_EVAL_VERTEX_ATTRIB1_NV 34503 05373 #endif 05374 05375 #ifndef GL_EVAL_VERTEX_ATTRIB2_NV 05376 #define GL_EVAL_VERTEX_ATTRIB2_NV 34504 05377 #endif 05378 05379 #ifndef GL_EVAL_VERTEX_ATTRIB3_NV 05380 #define GL_EVAL_VERTEX_ATTRIB3_NV 34505 05381 #endif 05382 05383 #ifndef GL_EVAL_VERTEX_ATTRIB4_NV 05384 #define GL_EVAL_VERTEX_ATTRIB4_NV 34506 05385 #endif 05386 05387 #ifndef GL_EVAL_VERTEX_ATTRIB5_NV 05388 #define GL_EVAL_VERTEX_ATTRIB5_NV 34507 05389 #endif 05390 05391 #ifndef GL_EVAL_VERTEX_ATTRIB6_NV 05392 #define GL_EVAL_VERTEX_ATTRIB6_NV 34508 05393 #endif 05394 05395 #ifndef GL_EVAL_VERTEX_ATTRIB7_NV 05396 #define GL_EVAL_VERTEX_ATTRIB7_NV 34509 05397 #endif 05398 05399 #ifndef GL_EVAL_VERTEX_ATTRIB8_NV 05400 #define GL_EVAL_VERTEX_ATTRIB8_NV 34510 05401 #endif 05402 05403 #ifndef GL_EVAL_VERTEX_ATTRIB9_NV 05404 #define GL_EVAL_VERTEX_ATTRIB9_NV 34511 05405 #endif 05406 05407 #ifndef GL_EVAL_VERTEX_ATTRIB10_NV 05408 #define GL_EVAL_VERTEX_ATTRIB10_NV 34512 05409 #endif 05410 05411 #ifndef GL_EVAL_VERTEX_ATTRIB11_NV 05412 #define GL_EVAL_VERTEX_ATTRIB11_NV 34513 05413 #endif 05414 05415 #ifndef GL_EVAL_VERTEX_ATTRIB12_NV 05416 #define GL_EVAL_VERTEX_ATTRIB12_NV 34514 05417 #endif 05418 05419 #ifndef GL_EVAL_VERTEX_ATTRIB13_NV 05420 #define GL_EVAL_VERTEX_ATTRIB13_NV 34515 05421 #endif 05422 05423 #ifndef GL_EVAL_VERTEX_ATTRIB14_NV 05424 #define GL_EVAL_VERTEX_ATTRIB14_NV 34516 05425 #endif 05426 05427 #ifndef GL_EVAL_VERTEX_ATTRIB15_NV 05428 #define GL_EVAL_VERTEX_ATTRIB15_NV 34517 05429 #endif 05430 05431 #ifndef GL_MAX_MAP_TESSELLATION_NV 05432 #define GL_MAX_MAP_TESSELLATION_NV 34518 05433 #endif 05434 05435 #ifndef GL_MAX_RATIONAL_EVAL_ORDER_NV 05436 #define GL_MAX_RATIONAL_EVAL_ORDER_NV 34519 05437 #endif 05438 05439 05445 typedef GLvoid (csAPIENTRY* csGLMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid* points); 05446 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERIVNV) (GLenum target, GLenum pname, const GLint* params); 05447 typedef GLvoid (csAPIENTRY* csGLMAPPARAMETERFVNV) (GLenum target, GLenum pname, const GLfloat* params); 05448 typedef GLvoid (csAPIENTRY* csGLGETMAPCONTROLPOINTSNV) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid* points); 05449 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERIVNV) (GLenum target, GLenum pname, GLint* params); 05450 typedef GLvoid (csAPIENTRY* csGLGETMAPPARAMETERFVNV) (GLenum target, GLenum pname, GLfloat* params); 05451 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERIVNV) (GLenum target, GLuint index, GLenum pname, GLint* params); 05452 typedef GLvoid (csAPIENTRY* csGLGETMAPATTRIBPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params); 05453 typedef GLvoid (csAPIENTRY* csGLEVALMAPSNV) (GLenum target, GLenum mode); 05454 05459 #ifndef GL_ALL_COMPLETED_NV 05460 #define GL_ALL_COMPLETED_NV 34034 05461 #endif 05462 05463 #ifndef GL_FENCE_STATUS_NV 05464 #define GL_FENCE_STATUS_NV 34035 05465 #endif 05466 05467 #ifndef GL_FENCE_CONDITION_NV 05468 #define GL_FENCE_CONDITION_NV 34036 05469 #endif 05470 05471 05477 typedef GLvoid (csAPIENTRY* csGLGENFENCESNV) (GLsizei n, GLuint* fences); 05478 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESNV) (GLsizei n, const GLuint* fences); 05479 typedef GLvoid (csAPIENTRY* csGLSETFENCENV) (GLuint fence, GLenum condition); 05480 typedef GLboolean (csAPIENTRY* csGLTESTFENCENV) (GLuint fence); 05481 typedef GLvoid (csAPIENTRY* csGLFINISHFENCENV) (GLuint fence); 05482 typedef GLboolean (csAPIENTRY* csGLISFENCENV) (GLuint fence); 05483 typedef GLvoid (csAPIENTRY* csGLGETFENCEIVNV) (GLuint fence, GLenum pname, GLint* params); 05484 05489 #ifndef GL_FOG_DISTANCE_MODE_NV 05490 #define GL_FOG_DISTANCE_MODE_NV 34138 05491 #endif 05492 05493 #ifndef GL_EYE_RADIAL_NV 05494 #define GL_EYE_RADIAL_NV 34139 05495 #endif 05496 05497 #ifndef GL_EYE_PLANE_ABSOLUTE_NV 05498 #define GL_EYE_PLANE_ABSOLUTE_NV 34140 05499 #endif 05500 05501 05512 #ifndef GL_MAX_SHININESS_NV 05513 #define GL_MAX_SHININESS_NV 34052 05514 #endif 05515 05516 #ifndef GL_MAX_SPOT_EXPONENT_NV 05517 #define GL_MAX_SPOT_EXPONENT_NV 34053 05518 #endif 05519 05520 05531 #ifndef GL_MULTISAMPLE_FILTER_HINT_NV 05532 #define GL_MULTISAMPLE_FILTER_HINT_NV 34100 05533 #endif 05534 05535 05546 #ifndef GL_OCCLUSION_TEST_HP 05547 #define GL_OCCLUSION_TEST_HP 33125 05548 #endif 05549 05550 #ifndef GL_OCCLUSION_TEST_RESULT_HP 05551 #define GL_OCCLUSION_TEST_RESULT_HP 33126 05552 #endif 05553 05554 #ifndef GL_PIXEL_COUNTER_BITS_NV 05555 #define GL_PIXEL_COUNTER_BITS_NV 34916 05556 #endif 05557 05558 #ifndef GL_CURRENT_OCCLUSION_QUERY_ID_NV 05559 #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 34917 05560 #endif 05561 05562 #ifndef GL_PIXEL_COUNT_NV 05563 #define GL_PIXEL_COUNT_NV 34918 05564 #endif 05565 05566 #ifndef GL_PIXEL_COUNT_AVAILABLE_NV 05567 #define GL_PIXEL_COUNT_AVAILABLE_NV 34919 05568 #endif 05569 05570 05576 typedef GLvoid (csAPIENTRY* csGLGENOCCLUSIONQUERIESNV) (GLsizei n, GLuint* ids); 05577 typedef GLvoid (csAPIENTRY* csGLDELETEOCCLUSIONQUERIESNV) (GLsizei n, const GLuint* ids); 05578 typedef GLboolean (csAPIENTRY* csGLISOCCLUSIONQUERYNV) (GLuint id); 05579 typedef GLvoid (csAPIENTRY* csGLBEGINOCCLUSIONQUERYNV) (GLuint id); 05580 typedef GLvoid (csAPIENTRY* csGLENDOCCLUSIONQUERYNV) (); 05581 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYIVNV) (GLuint id, GLenum pname, GLint* params); 05582 typedef GLvoid (csAPIENTRY* csGLGETOCCLUSIONQUERYUIVNV) (GLuint id, GLenum pname, GLuint* params); 05583 05588 #ifndef GL_DEPTH_STENCIL_NV 05589 #define GL_DEPTH_STENCIL_NV 34041 05590 #endif 05591 05592 #ifndef GL_UNSIGNED_INT_24_8_NV 05593 #define GL_UNSIGNED_INT_24_8_NV 34042 05594 #endif 05595 05596 05607 #ifndef GL_POINT_SPRITE_NV 05608 #define GL_POINT_SPRITE_NV 34913 05609 #endif 05610 05611 #ifndef GL_COORD_REPLACE_NV 05612 #define GL_COORD_REPLACE_NV 34914 05613 #endif 05614 05615 #ifndef GL_POINT_SPRITE_R_MODE_NV 05616 #define GL_POINT_SPRITE_R_MODE_NV 34915 05617 #endif 05618 05619 05625 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERINV) (GLenum pname, GLint param); 05626 typedef GLvoid (csAPIENTRY* csGLPOINTPARAMETERIVNV) (GLenum pname, const GLint* params); 05627 05632 #ifndef GL_REGISTER_COMBINERS_NV 05633 #define GL_REGISTER_COMBINERS_NV 34082 05634 #endif 05635 05636 #ifndef GL_COMBINER0_NV 05637 #define GL_COMBINER0_NV 34128 05638 #endif 05639 05640 #ifndef GL_COMBINER1_NV 05641 #define GL_COMBINER1_NV 34129 05642 #endif 05643 05644 #ifndef GL_COMBINER2_NV 05645 #define GL_COMBINER2_NV 34130 05646 #endif 05647 05648 #ifndef GL_COMBINER3_NV 05649 #define GL_COMBINER3_NV 34131 05650 #endif 05651 05652 #ifndef GL_COMBINER4_NV 05653 #define GL_COMBINER4_NV 34132 05654 #endif 05655 05656 #ifndef GL_COMBINER5_NV 05657 #define GL_COMBINER5_NV 34133 05658 #endif 05659 05660 #ifndef GL_COMBINER6_NV 05661 #define GL_COMBINER6_NV 34134 05662 #endif 05663 05664 #ifndef GL_COMBINER7_NV 05665 #define GL_COMBINER7_NV 34135 05666 #endif 05667 05668 #ifndef GL_VARIABLE_A_NV 05669 #define GL_VARIABLE_A_NV 34083 05670 #endif 05671 05672 #ifndef GL_VARIABLE_B_NV 05673 #define GL_VARIABLE_B_NV 34084 05674 #endif 05675 05676 #ifndef GL_VARIABLE_C_NV 05677 #define GL_VARIABLE_C_NV 34085 05678 #endif 05679 05680 #ifndef GL_VARIABLE_D_NV 05681 #define GL_VARIABLE_D_NV 34086 05682 #endif 05683 05684 #ifndef GL_VARIABLE_E_NV 05685 #define GL_VARIABLE_E_NV 34087 05686 #endif 05687 05688 #ifndef GL_VARIABLE_F_NV 05689 #define GL_VARIABLE_F_NV 34088 05690 #endif 05691 05692 #ifndef GL_VARIABLE_G_NV 05693 #define GL_VARIABLE_G_NV 34089 05694 #endif 05695 05696 #ifndef GL_CONSTANT_COLOR0_NV 05697 #define GL_CONSTANT_COLOR0_NV 34090 05698 #endif 05699 05700 #ifndef GL_CONSTANT_COLOR1_NV 05701 #define GL_CONSTANT_COLOR1_NV 34091 05702 #endif 05703 05704 #ifndef GL_PRIMARY_COLOR_NV 05705 #define GL_PRIMARY_COLOR_NV 34092 05706 #endif 05707 05708 #ifndef GL_SECONDARY_COLOR_NV 05709 #define GL_SECONDARY_COLOR_NV 34093 05710 #endif 05711 05712 #ifndef GL_SPARE0_NV 05713 #define GL_SPARE0_NV 34094 05714 #endif 05715 05716 #ifndef GL_SPARE1_NV 05717 #define GL_SPARE1_NV 34095 05718 #endif 05719 05720 #ifndef GL_UNSIGNED_IDENTITY_NV 05721 #define GL_UNSIGNED_IDENTITY_NV 34102 05722 #endif 05723 05724 #ifndef GL_UNSIGNED_INVERT_NV 05725 #define GL_UNSIGNED_INVERT_NV 34103 05726 #endif 05727 05728 #ifndef GL_EXPAND_NORMAL_NV 05729 #define GL_EXPAND_NORMAL_NV 34104 05730 #endif 05731 05732 #ifndef GL_EXPAND_NEGATE_NV 05733 #define GL_EXPAND_NEGATE_NV 34105 05734 #endif 05735 05736 #ifndef GL_HALF_BIAS_NORMAL_NV 05737 #define GL_HALF_BIAS_NORMAL_NV 34106 05738 #endif 05739 05740 #ifndef GL_HALF_BIAS_NEGATE_NV 05741 #define GL_HALF_BIAS_NEGATE_NV 34107 05742 #endif 05743 05744 #ifndef GL_SIGNED_IDENTITY_NV 05745 #define GL_SIGNED_IDENTITY_NV 34108 05746 #endif 05747 05748 #ifndef GL_SIGNED_NEGATE_NV 05749 #define GL_SIGNED_NEGATE_NV 34109 05750 #endif 05751 05752 #ifndef GL_E_TIMES_F_NV 05753 #define GL_E_TIMES_F_NV 34097 05754 #endif 05755 05756 #ifndef GL_SPARE0_PLUS_SECONDARY_COLOR_NV 05757 #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 34098 05758 #endif 05759 05760 #ifndef GL_SCALE_BY_TWO_NV 05761 #define GL_SCALE_BY_TWO_NV 34110 05762 #endif 05763 05764 #ifndef GL_SCALE_BY_FOUR_NV 05765 #define GL_SCALE_BY_FOUR_NV 34111 05766 #endif 05767 05768 #ifndef GL_SCALE_BY_ONE_HALF_NV 05769 #define GL_SCALE_BY_ONE_HALF_NV 34112 05770 #endif 05771 05772 #ifndef GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 05773 #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 34113 05774 #endif 05775 05776 #ifndef GL_DISCARD_NV 05777 #define GL_DISCARD_NV 34096 05778 #endif 05779 05780 #ifndef GL_COMBINER_INPUT_NV 05781 #define GL_COMBINER_INPUT_NV 34114 05782 #endif 05783 05784 #ifndef GL_COMBINER_MAPPING_NV 05785 #define GL_COMBINER_MAPPING_NV 34115 05786 #endif 05787 05788 #ifndef GL_COMBINER_COMPONENT_USAGE_NV 05789 #define GL_COMBINER_COMPONENT_USAGE_NV 34116 05790 #endif 05791 05792 #ifndef GL_COMBINER_AB_DOT_PRODUCT_NV 05793 #define GL_COMBINER_AB_DOT_PRODUCT_NV 34117 05794 #endif 05795 05796 #ifndef GL_COMBINER_CD_DOT_PRODUCT_NV 05797 #define GL_COMBINER_CD_DOT_PRODUCT_NV 34118 05798 #endif 05799 05800 #ifndef GL_COMBINER_MUX_SUM_NV 05801 #define GL_COMBINER_MUX_SUM_NV 34119 05802 #endif 05803 05804 #ifndef GL_COMBINER_SCALE_NV 05805 #define GL_COMBINER_SCALE_NV 34120 05806 #endif 05807 05808 #ifndef GL_COMBINER_BIAS_NV 05809 #define GL_COMBINER_BIAS_NV 34121 05810 #endif 05811 05812 #ifndef GL_COMBINER_AB_OUTPUT_NV 05813 #define GL_COMBINER_AB_OUTPUT_NV 34122 05814 #endif 05815 05816 #ifndef GL_COMBINER_CD_OUTPUT_NV 05817 #define GL_COMBINER_CD_OUTPUT_NV 34123 05818 #endif 05819 05820 #ifndef GL_COMBINER_SUM_OUTPUT_NV 05821 #define GL_COMBINER_SUM_OUTPUT_NV 34124 05822 #endif 05823 05824 #ifndef GL_NUM_GENERAL_COMBINERS_NV 05825 #define GL_NUM_GENERAL_COMBINERS_NV 34126 05826 #endif 05827 05828 #ifndef GL_COLOR_SUM_CLAMP_NV 05829 #define GL_COLOR_SUM_CLAMP_NV 34127 05830 #endif 05831 05832 #ifndef GL_MAX_GENERAL_COMBINERS_NV 05833 #define GL_MAX_GENERAL_COMBINERS_NV 34125 05834 #endif 05835 05836 05842 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFVNV) (GLenum pname, const GLfloat* params); 05843 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERIVNV) (GLenum pname, const GLint* params); 05844 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERFNV) (GLenum pname, GLfloat param); 05845 typedef GLvoid (csAPIENTRY* csGLCOMBINERPARAMETERINV) (GLenum pname, GLint param); 05846 typedef GLvoid (csAPIENTRY* csGLCOMBINERINPUTNV) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 05847 typedef GLvoid (csAPIENTRY* csGLCOMBINEROUTPUTNV) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); 05848 typedef GLvoid (csAPIENTRY* csGLFINALCOMBINERINPUTNV) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); 05849 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params); 05850 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERINPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params); 05851 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERFVNV) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params); 05852 typedef GLvoid (csAPIENTRY* csGLGETCOMBINEROUTPUTPARAMETERIVNV) (GLenum stage, GLenum portion, GLenum pname, GLint* params); 05853 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERFVNV) (GLenum variable, GLenum pname, GLfloat* params); 05854 typedef GLvoid (csAPIENTRY* csGLGETFINALCOMBINERINPUTPARAMETERIVNV) (GLenum variable, GLenum pname, GLint* params); 05855 05860 #ifndef GL_PER_STAGE_CONSTANTS_NV 05861 #define GL_PER_STAGE_CONSTANTS_NV 34101 05862 #endif 05863 05864 05870 typedef GLvoid (csAPIENTRY* csGLCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, const GLfloat* params); 05871 typedef GLvoid (csAPIENTRY* csGLGETCOMBINERSTAGEPARAMETERFVNV) (GLenum stage, GLenum pname, GLfloat* params); 05872 05877 #ifndef GL_EMBOSS_MAP_NV 05878 #define GL_EMBOSS_MAP_NV 34143 05879 #endif 05880 05881 #ifndef GL_EMBOSS_LIGHT_NV 05882 #define GL_EMBOSS_LIGHT_NV 34141 05883 #endif 05884 05885 #ifndef GL_EMBOSS_CONSTANT_NV 05886 #define GL_EMBOSS_CONSTANT_NV 34142 05887 #endif 05888 05889 05900 #ifndef GL_NORMAL_MAP_NV 05901 #define GL_NORMAL_MAP_NV 34065 05902 #endif 05903 05904 #ifndef GL_REFLECTION_MAP_NV 05905 #define GL_REFLECTION_MAP_NV 34066 05906 #endif 05907 05908 05919 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT 05920 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 33776 05921 #endif 05922 05923 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 05924 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 33777 05925 #endif 05926 05927 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 05928 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 33778 05929 #endif 05930 05931 #ifndef GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 05932 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 33779 05933 #endif 05934 05935 05946 #ifndef GL_COMBINE4_NV 05947 #define GL_COMBINE4_NV 34051 05948 #endif 05949 05950 #ifndef GL_SOURCE3_RGB_NV 05951 #define GL_SOURCE3_RGB_NV 34179 05952 #endif 05953 05954 #ifndef GL_SOURCE3_ALPHA_NV 05955 #define GL_SOURCE3_ALPHA_NV 34187 05956 #endif 05957 05958 #ifndef GL_OPERAND3_RGB_NV 05959 #define GL_OPERAND3_RGB_NV 34195 05960 #endif 05961 05962 #ifndef GL_OPERAND3_ALPHA_NV 05963 #define GL_OPERAND3_ALPHA_NV 34203 05964 #endif 05965 05966 05977 #ifndef GL_TEXTURE_RECTANGLE_NV 05978 #define GL_TEXTURE_RECTANGLE_NV 34037 05979 #endif 05980 05981 #ifndef GL_TEXTURE_BINDING_RECTANGLE_NV 05982 #define GL_TEXTURE_BINDING_RECTANGLE_NV 34038 05983 #endif 05984 05985 #ifndef GL_PROXY_TEXTURE_RECTANGLE_NV 05986 #define GL_PROXY_TEXTURE_RECTANGLE_NV 34039 05987 #endif 05988 05989 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 05990 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 34040 05991 #endif 05992 05993 06004 #ifndef GL_TEXTURE_SHADER_NV 06005 #define GL_TEXTURE_SHADER_NV 34526 06006 #endif 06007 06008 #ifndef GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 06009 #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 34521 06010 #endif 06011 06012 #ifndef GL_SHADER_OPERATION_NV 06013 #define GL_SHADER_OPERATION_NV 34527 06014 #endif 06015 06016 #ifndef GL_CULL_MODES_NV 06017 #define GL_CULL_MODES_NV 34528 06018 #endif 06019 06020 #ifndef GL_OFFSET_TEXTURE_MATRIX_NV 06021 #define GL_OFFSET_TEXTURE_MATRIX_NV 34529 06022 #endif 06023 06024 #ifndef GL_OFFSET_TEXTURE_SCALE_NV 06025 #define GL_OFFSET_TEXTURE_SCALE_NV 34530 06026 #endif 06027 06028 #ifndef GL_OFFSET_TEXTURE_BIAS_NV 06029 #define GL_OFFSET_TEXTURE_BIAS_NV 34531 06030 #endif 06031 06032 #ifndef GL_PREVIOUS_TEXTURE_INPUT_NV 06033 #define GL_PREVIOUS_TEXTURE_INPUT_NV 34532 06034 #endif 06035 06036 #ifndef GL_CONST_EYE_NV 06037 #define GL_CONST_EYE_NV 34533 06038 #endif 06039 06040 #ifndef GL_SHADER_CONSISTENT_NV 06041 #define GL_SHADER_CONSISTENT_NV 34525 06042 #endif 06043 06044 #ifndef GL_PASS_THROUGH_NV 06045 #define GL_PASS_THROUGH_NV 34534 06046 #endif 06047 06048 #ifndef GL_CULL_FRAGMENT_NV 06049 #define GL_CULL_FRAGMENT_NV 34535 06050 #endif 06051 06052 #ifndef GL_OFFSET_TEXTURE_2D_NV 06053 #define GL_OFFSET_TEXTURE_2D_NV 34536 06054 #endif 06055 06056 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_NV 06057 #define GL_OFFSET_TEXTURE_RECTANGLE_NV 34380 06058 #endif 06059 06060 #ifndef GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 06061 #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 34381 06062 #endif 06063 06064 #ifndef GL_DEPENDENT_AR_TEXTURE_2D_NV 06065 #define GL_DEPENDENT_AR_TEXTURE_2D_NV 34537 06066 #endif 06067 06068 #ifndef GL_DEPENDENT_GB_TEXTURE_2D_NV 06069 #define GL_DEPENDENT_GB_TEXTURE_2D_NV 34538 06070 #endif 06071 06072 #ifndef GL_DOT_PRODUCT_NV 06073 #define GL_DOT_PRODUCT_NV 34540 06074 #endif 06075 06076 #ifndef GL_DOT_PRODUCT_DEPTH_REPLACE_NV 06077 #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 34541 06078 #endif 06079 06080 #ifndef GL_DOT_PRODUCT_TEXTURE_2D_NV 06081 #define GL_DOT_PRODUCT_TEXTURE_2D_NV 34542 06082 #endif 06083 06084 #ifndef GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 06085 #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 34382 06086 #endif 06087 06088 #ifndef GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 06089 #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 34544 06090 #endif 06091 06092 #ifndef GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 06093 #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 34545 06094 #endif 06095 06096 #ifndef GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 06097 #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 34546 06098 #endif 06099 06100 #ifndef GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 06101 #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 34547 06102 #endif 06103 06104 #ifndef GL_HILO_NV 06105 #define GL_HILO_NV 34548 06106 #endif 06107 06108 #ifndef GL_DSDT_NV 06109 #define GL_DSDT_NV 34549 06110 #endif 06111 06112 #ifndef GL_DSDT_MAG_NV 06113 #define GL_DSDT_MAG_NV 34550 06114 #endif 06115 06116 #ifndef GL_DSDT_MAG_VIB_NV 06117 #define GL_DSDT_MAG_VIB_NV 34551 06118 #endif 06119 06120 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV 06121 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 34522 06122 #endif 06123 06124 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 06125 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 34523 06126 #endif 06127 06128 #ifndef GL_SIGNED_RGBA_NV 06129 #define GL_SIGNED_RGBA_NV 34555 06130 #endif 06131 06132 #ifndef GL_SIGNED_RGBA8_NV 06133 #define GL_SIGNED_RGBA8_NV 34556 06134 #endif 06135 06136 #ifndef GL_SIGNED_RGB_NV 06137 #define GL_SIGNED_RGB_NV 34558 06138 #endif 06139 06140 #ifndef GL_SIGNED_RGB8_NV 06141 #define GL_SIGNED_RGB8_NV 34559 06142 #endif 06143 06144 #ifndef GL_SIGNED_LUMINANCE_NV 06145 #define GL_SIGNED_LUMINANCE_NV 34561 06146 #endif 06147 06148 #ifndef GL_SIGNED_LUMINANCE8_NV 06149 #define GL_SIGNED_LUMINANCE8_NV 34562 06150 #endif 06151 06152 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV 06153 #define GL_SIGNED_LUMINANCE_ALPHA_NV 34563 06154 #endif 06155 06156 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV 06157 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 34564 06158 #endif 06159 06160 #ifndef GL_SIGNED_ALPHA_NV 06161 #define GL_SIGNED_ALPHA_NV 34565 06162 #endif 06163 06164 #ifndef GL_SIGNED_ALPHA8_NV 06165 #define GL_SIGNED_ALPHA8_NV 34566 06166 #endif 06167 06168 #ifndef GL_SIGNED_INTENSITY_NV 06169 #define GL_SIGNED_INTENSITY_NV 34567 06170 #endif 06171 06172 #ifndef GL_SIGNED_INTENSITY8_NV 06173 #define GL_SIGNED_INTENSITY8_NV 34568 06174 #endif 06175 06176 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 06177 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 34572 06178 #endif 06179 06180 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 06181 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 34573 06182 #endif 06183 06184 #ifndef GL_HILO16_NV 06185 #define GL_HILO16_NV 34552 06186 #endif 06187 06188 #ifndef GL_SIGNED_HILO_NV 06189 #define GL_SIGNED_HILO_NV 34553 06190 #endif 06191 06192 #ifndef GL_SIGNED_HILO16_NV 06193 #define GL_SIGNED_HILO16_NV 34554 06194 #endif 06195 06196 #ifndef GL_DSDT8_NV 06197 #define GL_DSDT8_NV 34569 06198 #endif 06199 06200 #ifndef GL_DSDT8_MAG8_NV 06201 #define GL_DSDT8_MAG8_NV 34570 06202 #endif 06203 06204 #ifndef GL_DSDT_MAG_INTENSITY_NV 06205 #define GL_DSDT_MAG_INTENSITY_NV 34524 06206 #endif 06207 06208 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV 06209 #define GL_DSDT8_MAG8_INTENSITY8_NV 34571 06210 #endif 06211 06212 #ifndef GL_HI_SCALE_NV 06213 #define GL_HI_SCALE_NV 34574 06214 #endif 06215 06216 #ifndef GL_LO_SCALE_NV 06217 #define GL_LO_SCALE_NV 34575 06218 #endif 06219 06220 #ifndef GL_DS_SCALE_NV 06221 #define GL_DS_SCALE_NV 34576 06222 #endif 06223 06224 #ifndef GL_DT_SCALE_NV 06225 #define GL_DT_SCALE_NV 34577 06226 #endif 06227 06228 #ifndef GL_MAGNITUDE_SCALE_NV 06229 #define GL_MAGNITUDE_SCALE_NV 34578 06230 #endif 06231 06232 #ifndef GL_VIBRANCE_SCALE_NV 06233 #define GL_VIBRANCE_SCALE_NV 34579 06234 #endif 06235 06236 #ifndef GL_HI_BIAS_NV 06237 #define GL_HI_BIAS_NV 34580 06238 #endif 06239 06240 #ifndef GL_LO_BIAS_NV 06241 #define GL_LO_BIAS_NV 34581 06242 #endif 06243 06244 #ifndef GL_DS_BIAS_NV 06245 #define GL_DS_BIAS_NV 34582 06246 #endif 06247 06248 #ifndef GL_DT_BIAS_NV 06249 #define GL_DT_BIAS_NV 34583 06250 #endif 06251 06252 #ifndef GL_MAGNITUDE_BIAS_NV 06253 #define GL_MAGNITUDE_BIAS_NV 34584 06254 #endif 06255 06256 #ifndef GL_VIBRANCE_BIAS_NV 06257 #define GL_VIBRANCE_BIAS_NV 34585 06258 #endif 06259 06260 #ifndef GL_TEXTURE_BORDER_VALUES_NV 06261 #define GL_TEXTURE_BORDER_VALUES_NV 34586 06262 #endif 06263 06264 #ifndef GL_TEXTURE_HI_SIZE_NV 06265 #define GL_TEXTURE_HI_SIZE_NV 34587 06266 #endif 06267 06268 #ifndef GL_TEXTURE_LO_SIZE_NV 06269 #define GL_TEXTURE_LO_SIZE_NV 34588 06270 #endif 06271 06272 #ifndef GL_TEXTURE_DS_SIZE_NV 06273 #define GL_TEXTURE_DS_SIZE_NV 34589 06274 #endif 06275 06276 #ifndef GL_TEXTURE_DT_SIZE_NV 06277 #define GL_TEXTURE_DT_SIZE_NV 34590 06278 #endif 06279 06280 #ifndef GL_TEXTURE_MAG_SIZE_NV 06281 #define GL_TEXTURE_MAG_SIZE_NV 34591 06282 #endif 06283 06284 06295 #ifndef GL_DOT_PRODUCT_TEXTURE_3D_NV 06296 #define GL_DOT_PRODUCT_TEXTURE_3D_NV 34543 06297 #endif 06298 06299 #ifndef GL_HILO_NV 06300 #define GL_HILO_NV 34548 06301 #endif 06302 06303 #ifndef GL_DSDT_NV 06304 #define GL_DSDT_NV 34549 06305 #endif 06306 06307 #ifndef GL_DSDT_MAG_NV 06308 #define GL_DSDT_MAG_NV 34550 06309 #endif 06310 06311 #ifndef GL_DSDT_MAG_VIB_NV 06312 #define GL_DSDT_MAG_VIB_NV 34551 06313 #endif 06314 06315 #ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV 06316 #define GL_UNSIGNED_INT_S8_S8_8_8_NV 34522 06317 #endif 06318 06319 #ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 06320 #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 34523 06321 #endif 06322 06323 #ifndef GL_SIGNED_RGBA_NV 06324 #define GL_SIGNED_RGBA_NV 34555 06325 #endif 06326 06327 #ifndef GL_SIGNED_RGBA8_NV 06328 #define GL_SIGNED_RGBA8_NV 34556 06329 #endif 06330 06331 #ifndef GL_SIGNED_RGB_NV 06332 #define GL_SIGNED_RGB_NV 34558 06333 #endif 06334 06335 #ifndef GL_SIGNED_RGB8_NV 06336 #define GL_SIGNED_RGB8_NV 34559 06337 #endif 06338 06339 #ifndef GL_SIGNED_LUMINANCE_NV 06340 #define GL_SIGNED_LUMINANCE_NV 34561 06341 #endif 06342 06343 #ifndef GL_SIGNED_LUMINANCE8_NV 06344 #define GL_SIGNED_LUMINANCE8_NV 34562 06345 #endif 06346 06347 #ifndef GL_SIGNED_LUMINANCE_ALPHA_NV 06348 #define GL_SIGNED_LUMINANCE_ALPHA_NV 34563 06349 #endif 06350 06351 #ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV 06352 #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 34564 06353 #endif 06354 06355 #ifndef GL_SIGNED_ALPHA_NV 06356 #define GL_SIGNED_ALPHA_NV 34565 06357 #endif 06358 06359 #ifndef GL_SIGNED_ALPHA8_NV 06360 #define GL_SIGNED_ALPHA8_NV 34566 06361 #endif 06362 06363 #ifndef GL_SIGNED_INTENSITY_NV 06364 #define GL_SIGNED_INTENSITY_NV 34567 06365 #endif 06366 06367 #ifndef GL_SIGNED_INTENSITY8_NV 06368 #define GL_SIGNED_INTENSITY8_NV 34568 06369 #endif 06370 06371 #ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 06372 #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 34572 06373 #endif 06374 06375 #ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 06376 #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 34573 06377 #endif 06378 06379 #ifndef GL_HILO16_NV 06380 #define GL_HILO16_NV 34552 06381 #endif 06382 06383 #ifndef GL_SIGNED_HILO_NV 06384 #define GL_SIGNED_HILO_NV 34553 06385 #endif 06386 06387 #ifndef GL_SIGNED_HILO16_NV 06388 #define GL_SIGNED_HILO16_NV 34554 06389 #endif 06390 06391 #ifndef GL_DSDT8_NV 06392 #define GL_DSDT8_NV 34569 06393 #endif 06394 06395 #ifndef GL_DSDT8_MAG8_NV 06396 #define GL_DSDT8_MAG8_NV 34570 06397 #endif 06398 06399 #ifndef GL_DSDT_MAG_INTENSITY_NV 06400 #define GL_DSDT_MAG_INTENSITY_NV 34524 06401 #endif 06402 06403 #ifndef GL_DSDT8_MAG8_INTENSITY8_NV 06404 #define GL_DSDT8_MAG8_INTENSITY8_NV 34571 06405 #endif 06406 06407 06418 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 06419 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 34896 06420 #endif 06421 06422 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 06423 #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 34897 06424 #endif 06425 06426 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 06427 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 34898 06428 #endif 06429 06430 #ifndef GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 06431 #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 34899 06432 #endif 06433 06434 #ifndef GL_OFFSET_HILO_TEXTURE_2D_NV 06435 #define GL_OFFSET_HILO_TEXTURE_2D_NV 34900 06436 #endif 06437 06438 #ifndef GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 06439 #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 34901 06440 #endif 06441 06442 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 06443 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 34902 06444 #endif 06445 06446 #ifndef GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 06447 #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 34903 06448 #endif 06449 06450 #ifndef GL_DEPENDENT_HILO_TEXTURE_2D_NV 06451 #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 34904 06452 #endif 06453 06454 #ifndef GL_DEPENDENT_RGB_TEXTURE_3D_NV 06455 #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 34905 06456 #endif 06457 06458 #ifndef GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 06459 #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 34906 06460 #endif 06461 06462 #ifndef GL_DOT_PRODUCT_PASS_THROUGH_NV 06463 #define GL_DOT_PRODUCT_PASS_THROUGH_NV 34907 06464 #endif 06465 06466 #ifndef GL_DOT_PRODUCT_TEXTURE_1D_NV 06467 #define GL_DOT_PRODUCT_TEXTURE_1D_NV 34908 06468 #endif 06469 06470 #ifndef GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 06471 #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 34909 06472 #endif 06473 06474 #ifndef GL_HILO8_NV 06475 #define GL_HILO8_NV 34910 06476 #endif 06477 06478 #ifndef GL_SIGNED_HILO8_NV 06479 #define GL_SIGNED_HILO8_NV 34911 06480 #endif 06481 06482 #ifndef GL_FORCE_BLUE_TO_ONE_NV 06483 #define GL_FORCE_BLUE_TO_ONE_NV 34912 06484 #endif 06485 06486 06497 #ifndef GL_VERTEX_ARRAY_RANGE_NV 06498 #define GL_VERTEX_ARRAY_RANGE_NV 34077 06499 #endif 06500 06501 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_NV 06502 #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 34078 06503 #endif 06504 06505 #ifndef GL_VERTEX_ARRAY_RANGE_VALID_NV 06506 #define GL_VERTEX_ARRAY_RANGE_VALID_NV 34079 06507 #endif 06508 06509 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 06510 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 34080 06511 #endif 06512 06513 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_NV 06514 #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 34081 06515 #endif 06516 06517 06523 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGENV) (GLsizei length, GLvoid* pointer); 06524 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGENV) (); 06525 typedef GLvoid* (csAPIENTRY* csWGLALLOCATEMEMORYNV) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority); 06526 typedef GLvoid (csAPIENTRY* csWGLFREEMEMORYNV) (GLvoid* pointer); 06527 06532 #ifndef GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 06533 #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 34099 06534 #endif 06535 06536 06547 #ifndef GL_VERTEX_PROGRAM_NV 06548 #define GL_VERTEX_PROGRAM_NV 34336 06549 #endif 06550 06551 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_NV 06552 #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 34370 06553 #endif 06554 06555 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_NV 06556 #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 34371 06557 #endif 06558 06559 #ifndef GL_VERTEX_STATE_PROGRAM_NV 06560 #define GL_VERTEX_STATE_PROGRAM_NV 34337 06561 #endif 06562 06563 #ifndef GL_ATTRIB_ARRAY_SIZE_NV 06564 #define GL_ATTRIB_ARRAY_SIZE_NV 34339 06565 #endif 06566 06567 #ifndef GL_ATTRIB_ARRAY_STRIDE_NV 06568 #define GL_ATTRIB_ARRAY_STRIDE_NV 34340 06569 #endif 06570 06571 #ifndef GL_ATTRIB_ARRAY_TYPE_NV 06572 #define GL_ATTRIB_ARRAY_TYPE_NV 34341 06573 #endif 06574 06575 #ifndef GL_CURRENT_ATTRIB_NV 06576 #define GL_CURRENT_ATTRIB_NV 34342 06577 #endif 06578 06579 #ifndef GL_PROGRAM_PARAMETER_NV 06580 #define GL_PROGRAM_PARAMETER_NV 34372 06581 #endif 06582 06583 #ifndef GL_ATTRIB_ARRAY_POINTER_NV 06584 #define GL_ATTRIB_ARRAY_POINTER_NV 34373 06585 #endif 06586 06587 #ifndef GL_PROGRAM_TARGET_NV 06588 #define GL_PROGRAM_TARGET_NV 34374 06589 #endif 06590 06591 #ifndef GL_PROGRAM_LENGTH_NV 06592 #define GL_PROGRAM_LENGTH_NV 34343 06593 #endif 06594 06595 #ifndef GL_PROGRAM_RESIDENT_NV 06596 #define GL_PROGRAM_RESIDENT_NV 34375 06597 #endif 06598 06599 #ifndef GL_PROGRAM_STRING_NV 06600 #define GL_PROGRAM_STRING_NV 34344 06601 #endif 06602 06603 #ifndef GL_TRACK_MATRIX_NV 06604 #define GL_TRACK_MATRIX_NV 34376 06605 #endif 06606 06607 #ifndef GL_TRACK_MATRIX_TRANSFORM_NV 06608 #define GL_TRACK_MATRIX_TRANSFORM_NV 34377 06609 #endif 06610 06611 #ifndef GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 06612 #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 34350 06613 #endif 06614 06615 #ifndef GL_MAX_TRACK_MATRICES_NV 06616 #define GL_MAX_TRACK_MATRICES_NV 34351 06617 #endif 06618 06619 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_NV 06620 #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 34368 06621 #endif 06622 06623 #ifndef GL_CURRENT_MATRIX_NV 06624 #define GL_CURRENT_MATRIX_NV 34369 06625 #endif 06626 06627 #ifndef GL_VERTEX_PROGRAM_BINDING_NV 06628 #define GL_VERTEX_PROGRAM_BINDING_NV 34378 06629 #endif 06630 06631 #ifndef GL_PROGRAM_ERROR_POSITION_NV 06632 #define GL_PROGRAM_ERROR_POSITION_NV 34379 06633 #endif 06634 06635 #ifndef GL_MODELVIEW_PROJECTION_NV 06636 #define GL_MODELVIEW_PROJECTION_NV 34345 06637 #endif 06638 06639 #ifndef GL_MATRIX0_NV 06640 #define GL_MATRIX0_NV 34352 06641 #endif 06642 06643 #ifndef GL_MATRIX1_NV 06644 #define GL_MATRIX1_NV 34353 06645 #endif 06646 06647 #ifndef GL_MATRIX2_NV 06648 #define GL_MATRIX2_NV 34354 06649 #endif 06650 06651 #ifndef GL_MATRIX3_NV 06652 #define GL_MATRIX3_NV 34355 06653 #endif 06654 06655 #ifndef GL_MATRIX4_NV 06656 #define GL_MATRIX4_NV 34356 06657 #endif 06658 06659 #ifndef GL_MATRIX5_NV 06660 #define GL_MATRIX5_NV 34357 06661 #endif 06662 06663 #ifndef GL_MATRIX6_NV 06664 #define GL_MATRIX6_NV 34358 06665 #endif 06666 06667 #ifndef GL_MATRIX7_NV 06668 #define GL_MATRIX7_NV 34359 06669 #endif 06670 06671 #ifndef GL_IDENTITY_NV 06672 #define GL_IDENTITY_NV 34346 06673 #endif 06674 06675 #ifndef GL_INVERSE_NV 06676 #define GL_INVERSE_NV 34347 06677 #endif 06678 06679 #ifndef GL_TRANSPOSE_NV 06680 #define GL_TRANSPOSE_NV 34348 06681 #endif 06682 06683 #ifndef GL_INVERSE_TRANSPOSE_NV 06684 #define GL_INVERSE_TRANSPOSE_NV 34349 06685 #endif 06686 06687 #ifndef GL_VERTEX_ATTRIB_ARRAY0_NV 06688 #define GL_VERTEX_ATTRIB_ARRAY0_NV 34384 06689 #endif 06690 06691 #ifndef GL_VERTEX_ATTRIB_ARRAY1_NV 06692 #define GL_VERTEX_ATTRIB_ARRAY1_NV 34385 06693 #endif 06694 06695 #ifndef GL_VERTEX_ATTRIB_ARRAY2_NV 06696 #define GL_VERTEX_ATTRIB_ARRAY2_NV 34386 06697 #endif 06698 06699 #ifndef GL_VERTEX_ATTRIB_ARRAY3_NV 06700 #define GL_VERTEX_ATTRIB_ARRAY3_NV 34387 06701 #endif 06702 06703 #ifndef GL_VERTEX_ATTRIB_ARRAY4_NV 06704 #define GL_VERTEX_ATTRIB_ARRAY4_NV 34388 06705 #endif 06706 06707 #ifndef GL_VERTEX_ATTRIB_ARRAY5_NV 06708 #define GL_VERTEX_ATTRIB_ARRAY5_NV 34389 06709 #endif 06710 06711 #ifndef GL_VERTEX_ATTRIB_ARRAY6_NV 06712 #define GL_VERTEX_ATTRIB_ARRAY6_NV 34390 06713 #endif 06714 06715 #ifndef GL_VERTEX_ATTRIB_ARRAY7_NV 06716 #define GL_VERTEX_ATTRIB_ARRAY7_NV 34391 06717 #endif 06718 06719 #ifndef GL_VERTEX_ATTRIB_ARRAY8_NV 06720 #define GL_VERTEX_ATTRIB_ARRAY8_NV 34392 06721 #endif 06722 06723 #ifndef GL_VERTEX_ATTRIB_ARRAY9_NV 06724 #define GL_VERTEX_ATTRIB_ARRAY9_NV 34393 06725 #endif 06726 06727 #ifndef GL_VERTEX_ATTRIB_ARRAY10_NV 06728 #define GL_VERTEX_ATTRIB_ARRAY10_NV 34394 06729 #endif 06730 06731 #ifndef GL_VERTEX_ATTRIB_ARRAY11_NV 06732 #define GL_VERTEX_ATTRIB_ARRAY11_NV 34395 06733 #endif 06734 06735 #ifndef GL_VERTEX_ATTRIB_ARRAY12_NV 06736 #define GL_VERTEX_ATTRIB_ARRAY12_NV 34396 06737 #endif 06738 06739 #ifndef GL_VERTEX_ATTRIB_ARRAY13_NV 06740 #define GL_VERTEX_ATTRIB_ARRAY13_NV 34397 06741 #endif 06742 06743 #ifndef GL_VERTEX_ATTRIB_ARRAY14_NV 06744 #define GL_VERTEX_ATTRIB_ARRAY14_NV 34398 06745 #endif 06746 06747 #ifndef GL_VERTEX_ATTRIB_ARRAY15_NV 06748 #define GL_VERTEX_ATTRIB_ARRAY15_NV 34399 06749 #endif 06750 06751 #ifndef GL_MAP1_VERTEX_ATTRIB0_4_NV 06752 #define GL_MAP1_VERTEX_ATTRIB0_4_NV 34400 06753 #endif 06754 06755 #ifndef GL_MAP1_VERTEX_ATTRIB1_4_NV 06756 #define GL_MAP1_VERTEX_ATTRIB1_4_NV 34401 06757 #endif 06758 06759 #ifndef GL_MAP1_VERTEX_ATTRIB2_4_NV 06760 #define GL_MAP1_VERTEX_ATTRIB2_4_NV 34402 06761 #endif 06762 06763 #ifndef GL_MAP1_VERTEX_ATTRIB3_4_NV 06764 #define GL_MAP1_VERTEX_ATTRIB3_4_NV 34403 06765 #endif 06766 06767 #ifndef GL_MAP1_VERTEX_ATTRIB4_4_NV 06768 #define GL_MAP1_VERTEX_ATTRIB4_4_NV 34404 06769 #endif 06770 06771 #ifndef GL_MAP1_VERTEX_ATTRIB5_4_NV 06772 #define GL_MAP1_VERTEX_ATTRIB5_4_NV 34405 06773 #endif 06774 06775 #ifndef GL_MAP1_VERTEX_ATTRIB6_4_NV 06776 #define GL_MAP1_VERTEX_ATTRIB6_4_NV 34406 06777 #endif 06778 06779 #ifndef GL_MAP1_VERTEX_ATTRIB7_4_NV 06780 #define GL_MAP1_VERTEX_ATTRIB7_4_NV 34407 06781 #endif 06782 06783 #ifndef GL_MAP1_VERTEX_ATTRIB8_4_NV 06784 #define GL_MAP1_VERTEX_ATTRIB8_4_NV 34408 06785 #endif 06786 06787 #ifndef GL_MAP1_VERTEX_ATTRIB9_4_NV 06788 #define GL_MAP1_VERTEX_ATTRIB9_4_NV 34409 06789 #endif 06790 06791 #ifndef GL_MAP1_VERTEX_ATTRIB10_4_NV 06792 #define GL_MAP1_VERTEX_ATTRIB10_4_NV 34410 06793 #endif 06794 06795 #ifndef GL_MAP1_VERTEX_ATTRIB11_4_NV 06796 #define GL_MAP1_VERTEX_ATTRIB11_4_NV 34411 06797 #endif 06798 06799 #ifndef GL_MAP1_VERTEX_ATTRIB12_4_NV 06800 #define GL_MAP1_VERTEX_ATTRIB12_4_NV 34412 06801 #endif 06802 06803 #ifndef GL_MAP1_VERTEX_ATTRIB13_4_NV 06804 #define GL_MAP1_VERTEX_ATTRIB13_4_NV 34413 06805 #endif 06806 06807 #ifndef GL_MAP1_VERTEX_ATTRIB14_4_NV 06808 #define GL_MAP1_VERTEX_ATTRIB14_4_NV 34414 06809 #endif 06810 06811 #ifndef GL_MAP1_VERTEX_ATTRIB15_4_NV 06812 #define GL_MAP1_VERTEX_ATTRIB15_4_NV 34415 06813 #endif 06814 06815 #ifndef GL_MAP2_VERTEX_ATTRIB0_4_NV 06816 #define GL_MAP2_VERTEX_ATTRIB0_4_NV 34416 06817 #endif 06818 06819 #ifndef GL_MAP2_VERTEX_ATTRIB1_4_NV 06820 #define GL_MAP2_VERTEX_ATTRIB1_4_NV 34417 06821 #endif 06822 06823 #ifndef GL_MAP2_VERTEX_ATTRIB2_4_NV 06824 #define GL_MAP2_VERTEX_ATTRIB2_4_NV 34418 06825 #endif 06826 06827 #ifndef GL_MAP2_VERTEX_ATTRIB3_4_NV 06828 #define GL_MAP2_VERTEX_ATTRIB3_4_NV 34419 06829 #endif 06830 06831 #ifndef GL_MAP2_VERTEX_ATTRIB4_4_NV 06832 #define GL_MAP2_VERTEX_ATTRIB4_4_NV 34420 06833 #endif 06834 06835 #ifndef GL_MAP2_VERTEX_ATTRIB5_4_NV 06836 #define GL_MAP2_VERTEX_ATTRIB5_4_NV 34421 06837 #endif 06838 06839 #ifndef GL_MAP2_VERTEX_ATTRIB6_4_NV 06840 #define GL_MAP2_VERTEX_ATTRIB6_4_NV 34422 06841 #endif 06842 06843 #ifndef GL_MAP2_VERTEX_ATTRIB7_4_NV 06844 #define GL_MAP2_VERTEX_ATTRIB7_4_NV 34423 06845 #endif 06846 06847 #ifndef GL_MAP2_VERTEX_ATTRIB8_4_NV 06848 #define GL_MAP2_VERTEX_ATTRIB8_4_NV 34424 06849 #endif 06850 06851 #ifndef GL_MAP2_VERTEX_ATTRIB9_4_NV 06852 #define GL_MAP2_VERTEX_ATTRIB9_4_NV 34425 06853 #endif 06854 06855 #ifndef GL_MAP2_VERTEX_ATTRIB10_4_NV 06856 #define GL_MAP2_VERTEX_ATTRIB10_4_NV 34426 06857 #endif 06858 06859 #ifndef GL_MAP2_VERTEX_ATTRIB11_4_NV 06860 #define GL_MAP2_VERTEX_ATTRIB11_4_NV 34427 06861 #endif 06862 06863 #ifndef GL_MAP2_VERTEX_ATTRIB12_4_NV 06864 #define GL_MAP2_VERTEX_ATTRIB12_4_NV 34428 06865 #endif 06866 06867 #ifndef GL_MAP2_VERTEX_ATTRIB13_4_NV 06868 #define GL_MAP2_VERTEX_ATTRIB13_4_NV 34429 06869 #endif 06870 06871 #ifndef GL_MAP2_VERTEX_ATTRIB14_4_NV 06872 #define GL_MAP2_VERTEX_ATTRIB14_4_NV 34430 06873 #endif 06874 06875 #ifndef GL_MAP2_VERTEX_ATTRIB15_4_NV 06876 #define GL_MAP2_VERTEX_ATTRIB15_4_NV 34431 06877 #endif 06878 06879 06885 typedef GLvoid (csAPIENTRY* csGLBINDPROGRAMNV) (GLenum target, GLuint id); 06886 typedef GLvoid (csAPIENTRY* csGLDELETEPROGRAMSNV) (GLsizei n, const GLuint* ids); 06887 typedef GLvoid (csAPIENTRY* csGLEXECUTEPROGRAMNV) (GLenum target, GLuint id, const GLfloat* params); 06888 typedef GLvoid (csAPIENTRY* csGLGENPROGRAMSNV) (GLsizei n, GLuint* ids); 06889 typedef GLboolean (csAPIENTRY* csGLAREPROGRAMSRESIDENTNV) (GLsizei n, const GLuint* ids, GLboolean* residences); 06890 typedef GLvoid (csAPIENTRY* csGLREQUESTRESIDENTPROGRAMSNV) (GLsizei n, GLuint* ids); 06891 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERFVNV) (GLenum target, GLuint index, GLenum pname, GLfloat* params); 06892 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMPARAMETERDVNV) (GLenum target, GLuint index, GLenum pname, GLdouble* params); 06893 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMIVNV) (GLuint id, GLenum pname, GLint* params); 06894 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMSTRINGNV) (GLuint id, GLenum pname, GLubyte* program); 06895 typedef GLvoid (csAPIENTRY* csGLGETTRACKMATRIXIVNV) (GLenum target, GLuint address, GLenum pname, GLint* params); 06896 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBDVNV) (GLuint index, GLenum pname, GLdouble* params); 06897 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBFVNV) (GLuint index, GLenum pname, GLfloat* params); 06898 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBIVNV) (GLuint index, GLenum pname, GLint* params); 06899 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBPOINTERVNV) (GLuint index, GLenum pname, GLvoid* pointer); 06900 typedef GLboolean (csAPIENTRY* csGLISPROGRAMNV) (GLuint id); 06901 typedef GLvoid (csAPIENTRY* csGLLOADPROGRAMNV) (GLenum target, GLuint id, GLsizei len, const GLubyte* program); 06902 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FNV) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 06903 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETER4FVNV) (GLenum target, GLuint index, const GLfloat* params); 06904 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4DVNV) (GLenum target, GLuint index, GLuint num, const GLdouble* params); 06905 typedef GLvoid (csAPIENTRY* csGLPROGRAMPARAMETERS4FVNV) (GLenum target, GLuint index, GLuint num, const GLfloat* params); 06906 typedef GLvoid (csAPIENTRY* csGLTRACKMATRIXNV) (GLenum target, GLuint address, GLenum matrix, GLenum transform); 06907 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBPOINTERNV) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid* pointer); 06908 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SNV) (GLuint index, GLshort x); 06909 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FNV) (GLuint index, GLfloat x); 06910 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DNV) (GLuint index, GLdouble x); 06911 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SNV) (GLuint index, GLshort x, GLshort y); 06912 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FNV) (GLuint index, GLfloat x, GLfloat y); 06913 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DNV) (GLuint index, GLdouble x, GLdouble y); 06914 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SNV) (GLuint index, GLshort x, GLshort y, GLshort z); 06915 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z); 06916 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z); 06917 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SNV) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); 06918 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FNV) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 06919 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DNV) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 06920 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBNV) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); 06921 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1SVNV) (GLuint index, const GLshort* v); 06922 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1FVNV) (GLuint index, const GLfloat* v); 06923 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB1DVNV) (GLuint index, const GLdouble* v); 06924 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2SVNV) (GLuint index, const GLshort* v); 06925 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2FVNV) (GLuint index, const GLfloat* v); 06926 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB2DVNV) (GLuint index, const GLdouble* v); 06927 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3SVNV) (GLuint index, const GLshort* v); 06928 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3FVNV) (GLuint index, const GLfloat* v); 06929 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB3DVNV) (GLuint index, const GLdouble* v); 06930 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4SVNV) (GLuint index, const GLshort* v); 06931 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4FVNV) (GLuint index, const GLfloat* v); 06932 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4DVNV) (GLuint index, const GLdouble* v); 06933 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIB4UBVNV) (GLuint index, const GLubyte* v); 06934 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1SVNV) (GLuint index, GLsizei n, const GLshort* v); 06935 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1FVNV) (GLuint index, GLsizei n, const GLfloat* v); 06936 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS1DVNV) (GLuint index, GLsizei n, const GLdouble* v); 06937 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2SVNV) (GLuint index, GLsizei n, const GLshort* v); 06938 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2FVNV) (GLuint index, GLsizei n, const GLfloat* v); 06939 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS2DVNV) (GLuint index, GLsizei n, const GLdouble* v); 06940 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3SVNV) (GLuint index, GLsizei n, const GLshort* v); 06941 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3FVNV) (GLuint index, GLsizei n, const GLfloat* v); 06942 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS3DVNV) (GLuint index, GLsizei n, const GLdouble* v); 06943 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4SVNV) (GLuint index, GLsizei n, const GLshort* v); 06944 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4FVNV) (GLuint index, GLsizei n, const GLfloat* v); 06945 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4DVNV) (GLuint index, GLsizei n, const GLdouble* v); 06946 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBS4UBVNV) (GLuint index, GLsizei n, const GLubyte* v); 06947 06963 #ifndef GL_ELEMENT_ARRAY_ATI 06964 #define GL_ELEMENT_ARRAY_ATI 34664 06965 #endif 06966 06967 #ifndef GL_ELEMENT_ARRAY_TYPE_ATI 06968 #define GL_ELEMENT_ARRAY_TYPE_ATI 34665 06969 #endif 06970 06971 #ifndef GL_ELEMENT_ARRAY_POINTER_ATI 06972 #define GL_ELEMENT_ARRAY_POINTER_ATI 34666 06973 #endif 06974 06975 06981 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERATI) (GLenum type, const GLvoid* pointer); 06982 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYATI) (GLenum mode, GLsizei count); 06983 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYATI) (GLenum mode, GLuint start, GLuint end, GLsizei count); 06984 06989 #ifndef GL_BUMP_ROT_MATRIX_ATI 06990 #define GL_BUMP_ROT_MATRIX_ATI 34677 06991 #endif 06992 06993 #ifndef GL_BUMP_ROT_MATRIX_SIZE_ATI 06994 #define GL_BUMP_ROT_MATRIX_SIZE_ATI 34678 06995 #endif 06996 06997 #ifndef GL_BUMP_NUM_TEX_UNITS_ATI 06998 #define GL_BUMP_NUM_TEX_UNITS_ATI 34679 06999 #endif 07000 07001 #ifndef GL_BUMP_TEX_UNITS_ATI 07002 #define GL_BUMP_TEX_UNITS_ATI 34680 07003 #endif 07004 07005 #ifndef GL_DUDV_ATI 07006 #define GL_DUDV_ATI 34681 07007 #endif 07008 07009 #ifndef GL_DU8DV8_ATI 07010 #define GL_DU8DV8_ATI 34682 07011 #endif 07012 07013 #ifndef GL_BUMP_ENVMAP_ATI 07014 #define GL_BUMP_ENVMAP_ATI 34683 07015 #endif 07016 07017 #ifndef GL_BUMP_TARGET_ATI 07018 #define GL_BUMP_TARGET_ATI 34684 07019 #endif 07020 07021 07027 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param); 07028 typedef GLvoid (csAPIENTRY* csGLTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param); 07029 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERIVATI) (GLenum pname, GLint* param); 07030 typedef GLvoid (csAPIENTRY* csGLGETTEXBUMPPARAMETERFVATI) (GLenum pname, GLfloat* param); 07031 07036 #ifndef GL_FRAGMENT_SHADER_ATI 07037 #define GL_FRAGMENT_SHADER_ATI 35104 07038 #endif 07039 07040 #ifndef GL_REG_0_ATI 07041 #define GL_REG_0_ATI 35105 07042 #endif 07043 07044 #ifndef GL_REG_1_ATI 07045 #define GL_REG_1_ATI 35106 07046 #endif 07047 07048 #ifndef GL_REG_2_ATI 07049 #define GL_REG_2_ATI 35107 07050 #endif 07051 07052 #ifndef GL_REG_3_ATI 07053 #define GL_REG_3_ATI 35108 07054 #endif 07055 07056 #ifndef GL_REG_4_ATI 07057 #define GL_REG_4_ATI 35109 07058 #endif 07059 07060 #ifndef GL_REG_5_ATI 07061 #define GL_REG_5_ATI 35110 07062 #endif 07063 07064 #ifndef GL_CON_0_ATI 07065 #define GL_CON_0_ATI 35137 07066 #endif 07067 07068 #ifndef GL_CON_1_ATI 07069 #define GL_CON_1_ATI 35138 07070 #endif 07071 07072 #ifndef GL_CON_2_ATI 07073 #define GL_CON_2_ATI 35139 07074 #endif 07075 07076 #ifndef GL_CON_3_ATI 07077 #define GL_CON_3_ATI 35140 07078 #endif 07079 07080 #ifndef GL_CON_4_ATI 07081 #define GL_CON_4_ATI 35141 07082 #endif 07083 07084 #ifndef GL_CON_5_ATI 07085 #define GL_CON_5_ATI 35142 07086 #endif 07087 07088 #ifndef GL_CON_6_ATI 07089 #define GL_CON_6_ATI 35143 07090 #endif 07091 07092 #ifndef GL_CON_7_ATI 07093 #define GL_CON_7_ATI 35144 07094 #endif 07095 07096 #ifndef GL_MOV_ATI 07097 #define GL_MOV_ATI 35169 07098 #endif 07099 07100 #ifndef GL_ADD_ATI 07101 #define GL_ADD_ATI 35171 07102 #endif 07103 07104 #ifndef GL_MUL_ATI 07105 #define GL_MUL_ATI 35172 07106 #endif 07107 07108 #ifndef GL_SUB_ATI 07109 #define GL_SUB_ATI 35173 07110 #endif 07111 07112 #ifndef GL_DOT3_ATI 07113 #define GL_DOT3_ATI 35174 07114 #endif 07115 07116 #ifndef GL_DOT4_ATI 07117 #define GL_DOT4_ATI 35175 07118 #endif 07119 07120 #ifndef GL_MAD_ATI 07121 #define GL_MAD_ATI 35176 07122 #endif 07123 07124 #ifndef GL_LERP_ATI 07125 #define GL_LERP_ATI 35177 07126 #endif 07127 07128 #ifndef GL_CND_ATI 07129 #define GL_CND_ATI 35178 07130 #endif 07131 07132 #ifndef GL_CND0_ATI 07133 #define GL_CND0_ATI 35179 07134 #endif 07135 07136 #ifndef GL_DOT2_ADD_ATI 07137 #define GL_DOT2_ADD_ATI 35180 07138 #endif 07139 07140 #ifndef GL_SECONDARY_INTERPOLATOR_ATI 07141 #define GL_SECONDARY_INTERPOLATOR_ATI 35181 07142 #endif 07143 07144 #ifndef GL_SWIZZLE_STR_ATI 07145 #define GL_SWIZZLE_STR_ATI 35190 07146 #endif 07147 07148 #ifndef GL_SWIZZLE_STQ_ATI 07149 #define GL_SWIZZLE_STQ_ATI 35191 07150 #endif 07151 07152 #ifndef GL_SWIZZLE_STR_DR_ATI 07153 #define GL_SWIZZLE_STR_DR_ATI 35192 07154 #endif 07155 07156 #ifndef GL_SWIZZLE_STQ_DQ_ATI 07157 #define GL_SWIZZLE_STQ_DQ_ATI 35193 07158 #endif 07159 07160 #ifndef GL_RED_BIT_ATI 07161 #define GL_RED_BIT_ATI 1 07162 #endif 07163 07164 #ifndef GL_GREEN_BIT_ATI 07165 #define GL_GREEN_BIT_ATI 2 07166 #endif 07167 07168 #ifndef GL_BLUE_BIT_ATI 07169 #define GL_BLUE_BIT_ATI 4 07170 #endif 07171 07172 #ifndef GL_2X_BIT_ATI 07173 #define GL_2X_BIT_ATI 1 07174 #endif 07175 07176 #ifndef GL_4X_BIT_ATI 07177 #define GL_4X_BIT_ATI 2 07178 #endif 07179 07180 #ifndef GL_8X_BIT_ATI 07181 #define GL_8X_BIT_ATI 4 07182 #endif 07183 07184 #ifndef GL_HALF_BIT_ATI 07185 #define GL_HALF_BIT_ATI 8 07186 #endif 07187 07188 #ifndef GL_QUARTER_BIT_ATI 07189 #define GL_QUARTER_BIT_ATI 16 07190 #endif 07191 07192 #ifndef GL_EIGHTH_BIT_ATI 07193 #define GL_EIGHTH_BIT_ATI 32 07194 #endif 07195 07196 #ifndef GL_SATURATE_BIT_ATI 07197 #define GL_SATURATE_BIT_ATI 64 07198 #endif 07199 07200 #ifndef GL_2X_BIT_ATI 07201 #define GL_2X_BIT_ATI 1 07202 #endif 07203 07204 #ifndef GL_COMP_BIT_ATI 07205 #define GL_COMP_BIT_ATI 2 07206 #endif 07207 07208 #ifndef GL_NEGATE_BIT_ATI 07209 #define GL_NEGATE_BIT_ATI 4 07210 #endif 07211 07212 #ifndef GL_BIAS_BIT_ATI 07213 #define GL_BIAS_BIT_ATI 8 07214 #endif 07215 07216 07222 typedef GLuint (csAPIENTRY* csGLGENFRAGMENTSHADERSATI) (GLuint range); 07223 typedef GLvoid (csAPIENTRY* csGLBINDFRAGMENTSHADERATI) (GLuint id); 07224 typedef GLvoid (csAPIENTRY* csGLDELETEFRAGMENTSHADERATI) (GLuint id); 07225 typedef GLvoid (csAPIENTRY* csGLBEGINFRAGMENTSHADERATI) (); 07226 typedef GLvoid (csAPIENTRY* csGLENDFRAGMENTSHADERATI) (); 07227 typedef GLvoid (csAPIENTRY* csGLPASSTEXCOORDATI) (GLuint dst, GLuint coord, GLenum swizzle); 07228 typedef GLvoid (csAPIENTRY* csGLSAMPLEMAPATI) (GLuint dst, GLuint interp, GLenum swizzle); 07229 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 07230 typedef GLvoid (csAPIENTRY* csGLCOLORFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 07231 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); 07232 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); 07233 typedef GLvoid (csAPIENTRY* csGLALPHAFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); 07234 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); 07235 typedef GLvoid (csAPIENTRY* csGLSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const GLfloat* value); 07236 07241 #ifndef GL_PN_TRIANGLES_ATI 07242 #define GL_PN_TRIANGLES_ATI 34800 07243 #endif 07244 07245 #ifndef GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 07246 #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 34801 07247 #endif 07248 07249 #ifndef GL_PN_TRIANGLES_POINT_MODE_ATI 07250 #define GL_PN_TRIANGLES_POINT_MODE_ATI 34802 07251 #endif 07252 07253 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_ATI 07254 #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 34803 07255 #endif 07256 07257 #ifndef GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 07258 #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 34804 07259 #endif 07260 07261 #ifndef GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 07262 #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 34805 07263 #endif 07264 07265 #ifndef GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 07266 #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 34806 07267 #endif 07268 07269 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 07270 #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 34807 07271 #endif 07272 07273 #ifndef GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 07274 #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 34808 07275 #endif 07276 07277 07283 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESIATI) (GLenum pname, GLint param); 07284 typedef GLvoid (csAPIENTRY* csGLPNTRIANGLESFATI) (GLenum pname, GLfloat param); 07285 07290 #ifndef GL_MIRROR_CLAMP_ATI 07291 #define GL_MIRROR_CLAMP_ATI 34626 07292 #endif 07293 07294 #ifndef GL_MIRROR_CLAMP_TO_EDGE_ATI 07295 #define GL_MIRROR_CLAMP_TO_EDGE_ATI 34627 07296 #endif 07297 07298 07309 #ifndef GL_STATIC_ATI 07310 #define GL_STATIC_ATI 34656 07311 #endif 07312 07313 #ifndef GL_DYNAMIC_ATI 07314 #define GL_DYNAMIC_ATI 34657 07315 #endif 07316 07317 #ifndef GL_PRESERVE_ATI 07318 #define GL_PRESERVE_ATI 34658 07319 #endif 07320 07321 #ifndef GL_DISCARD_ATI 07322 #define GL_DISCARD_ATI 34659 07323 #endif 07324 07325 #ifndef GL_OBJECT_BUFFER_SIZE_ATI 07326 #define GL_OBJECT_BUFFER_SIZE_ATI 34660 07327 #endif 07328 07329 #ifndef GL_OBJECT_BUFFER_USAGE_ATI 07330 #define GL_OBJECT_BUFFER_USAGE_ATI 34661 07331 #endif 07332 07333 #ifndef GL_ARRAY_OBJECT_BUFFER_ATI 07334 #define GL_ARRAY_OBJECT_BUFFER_ATI 34662 07335 #endif 07336 07337 #ifndef GL_ARRAY_OBJECT_OFFSET_ATI 07338 #define GL_ARRAY_OBJECT_OFFSET_ATI 34663 07339 #endif 07340 07341 07347 typedef GLuint (csAPIENTRY* csGLNEWOBJECTBUFFERATI) (GLsizei size, const GLvoid* pointer, GLenum usage); 07348 typedef GLboolean (csAPIENTRY* csGLISOBJECTBUFFERATI) (GLuint buffer); 07349 typedef GLvoid (csAPIENTRY* csGLUPDATEOBJECTBUFFERATI) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid* pointer, GLenum preserve); 07350 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERFVATI) (GLuint buffer, GLenum pname, GLfloat* params); 07351 typedef GLvoid (csAPIENTRY* csGLGETOBJECTBUFFERIVATI) (GLuint buffer, GLenum pname, GLint* params); 07352 typedef GLvoid (csAPIENTRY* csGLFREEOBJECTBUFFERATI) (GLuint buffer); 07353 typedef GLvoid (csAPIENTRY* csGLARRAYOBJECTATI) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 07354 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTFVATI) (GLenum array, GLenum pname, GLfloat* params); 07355 typedef GLvoid (csAPIENTRY* csGLGETARRAYOBJECTIVATI) (GLenum array, GLenum pname, GLint* params); 07356 typedef GLvoid (csAPIENTRY* csGLVARIANTARRAYOBJECTATI) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); 07357 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTFVATI) (GLuint id, GLenum pname, GLfloat* params); 07358 typedef GLvoid (csAPIENTRY* csGLGETVARIANTARRAYOBJECTIVATI) (GLuint id, GLenum pname, GLint* params); 07359 07370 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBARRAYOBJECTATI) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); 07371 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTFVATI) (GLuint index, GLenum pname, GLfloat* params); 07372 typedef GLvoid (csAPIENTRY* csGLGETVERTEXATTRIBARRAYOBJECTIVATI) (GLuint index, GLenum pname, GLint* params); 07373 07378 #ifndef GL_MAX_VERTEX_STREAMS_ATI 07379 #define GL_MAX_VERTEX_STREAMS_ATI 34667 07380 #endif 07381 07382 #ifndef GL_VERTEX_STREAM0_ATI 07383 #define GL_VERTEX_STREAM0_ATI 34668 07384 #endif 07385 07386 #ifndef GL_VERTEX_STREAM1_ATI 07387 #define GL_VERTEX_STREAM1_ATI 34669 07388 #endif 07389 07390 #ifndef GL_VERTEX_STREAM2_ATI 07391 #define GL_VERTEX_STREAM2_ATI 34670 07392 #endif 07393 07394 #ifndef GL_VERTEX_STREAM3_ATI 07395 #define GL_VERTEX_STREAM3_ATI 34671 07396 #endif 07397 07398 #ifndef GL_VERTEX_STREAM4_ATI 07399 #define GL_VERTEX_STREAM4_ATI 34672 07400 #endif 07401 07402 #ifndef GL_VERTEX_STREAM5_ATI 07403 #define GL_VERTEX_STREAM5_ATI 34673 07404 #endif 07405 07406 #ifndef GL_VERTEX_STREAM6_ATI 07407 #define GL_VERTEX_STREAM6_ATI 34674 07408 #endif 07409 07410 #ifndef GL_VERTEX_STREAM7_ATI 07411 #define GL_VERTEX_STREAM7_ATI 34675 07412 #endif 07413 07414 #ifndef GL_VERTEX_SOURCE_ATI 07415 #define GL_VERTEX_SOURCE_ATI 34676 07416 #endif 07417 07418 07424 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1S) (GLenum stream, GLshort coords); 07425 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1I) (GLenum stream, GLint coords); 07426 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1F) (GLenum stream, GLfloat coords); 07427 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1D) (GLenum stream, GLdouble coords); 07428 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1SV) (GLenum stream, GLshort coords); 07429 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1IV) (GLenum stream, GLint coords); 07430 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1FV) (GLenum stream, GLfloat coords); 07431 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM1DV) (GLenum stream, GLdouble coords); 07432 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2S) (GLenum stream, GLshort coords); 07433 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2I) (GLenum stream, GLint coords); 07434 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2F) (GLenum stream, GLfloat coords); 07435 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2D) (GLenum stream, GLdouble coords); 07436 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2SV) (GLenum stream, GLshort coords); 07437 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2IV) (GLenum stream, GLint coords); 07438 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2FV) (GLenum stream, GLfloat coords); 07439 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM2DV) (GLenum stream, GLdouble coords); 07440 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3S) (GLenum stream, GLshort coords); 07441 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3I) (GLenum stream, GLint coords); 07442 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3F) (GLenum stream, GLfloat coords); 07443 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3D) (GLenum stream, GLdouble coords); 07444 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3SV) (GLenum stream, GLshort coords); 07445 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3IV) (GLenum stream, GLint coords); 07446 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3FV) (GLenum stream, GLfloat coords); 07447 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM3DV) (GLenum stream, GLdouble coords); 07448 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4S) (GLenum stream, GLshort coords); 07449 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4I) (GLenum stream, GLint coords); 07450 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4F) (GLenum stream, GLfloat coords); 07451 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4D) (GLenum stream, GLdouble coords); 07452 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4SV) (GLenum stream, GLshort coords); 07453 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4IV) (GLenum stream, GLint coords); 07454 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4FV) (GLenum stream, GLfloat coords); 07455 typedef GLvoid (csAPIENTRY* csGLVERTEXSTREAM4DV) (GLenum stream, GLdouble coords); 07456 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3B) (GLenum stream, GLbyte coords); 07457 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3S) (GLenum stream, GLshort coords); 07458 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3I) (GLenum stream, GLint coords); 07459 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3F) (GLenum stream, GLfloat coords); 07460 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3D) (GLenum stream, GLdouble coords); 07461 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3BV) (GLenum stream, GLbyte coords); 07462 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3SV) (GLenum stream, GLshort coords); 07463 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3IV) (GLenum stream, GLint coords); 07464 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3FV) (GLenum stream, GLfloat coords); 07465 typedef GLvoid (csAPIENTRY* csGLNORMALSTREAM3DV) (GLenum stream, GLdouble coords); 07466 typedef GLvoid (csAPIENTRY* csGLCLIENTACTIVEVERTEXSTREAM) (GLenum stream); 07467 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVI) (GLenum pname, GLint param); 07468 typedef GLvoid (csAPIENTRY* csGLVERTEXBLENDENVF) (GLenum pname, GLfloat param); 07469 07471 #ifdef _WIN32 07472 07475 #ifndef WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 07476 #define WGL_IMAGE_BUFFER_MIN_ACCESS_I3D 1 07477 #endif 07478 07479 #ifndef WGL_IMAGE_BUFFER_LOCK_I3D 07480 #define WGL_IMAGE_BUFFER_LOCK_I3D 2 07481 #endif 07482 07483 07489 typedef GLvoid* (csAPIENTRY* csWGLCREATEIMAGEBUFFERI3D) (HDC hDC, DWORD dwSize, UINT uFlags); 07490 typedef BOOL (csAPIENTRY* csWGLDESTROYIMAGEBUFFERI3D) (HDC hDC, GLvoid* pAddress); 07491 typedef BOOL (csAPIENTRY* csWGLASSOCIATEIMAGEBUFFEREVENTSI3D) (HDC hdc, HANDLE* pEvent, GLvoid* pAddress, DWORD* pSize, UINT count); 07492 typedef BOOL (csAPIENTRY* csWGLRELEASEIMAGEBUFFEREVENTSI3D) (HDC hdc, GLvoid* pAddress, UINT count); 07493 07495 #endif 07496 07497 #ifdef _WIN32 07498 07507 typedef BOOL (csAPIENTRY* csWGLENABLEFRAMELOCKI3D) (); 07508 typedef BOOL (csAPIENTRY* csWGLDISABLEFRAMELOCKI3D) (); 07509 typedef BOOL (csAPIENTRY* csWGLISENABLEDFRAMELOCKI3D) (BOOL* pFlag); 07510 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMELOCKMASTERI3D) (BOOL* pFlag); 07511 07513 #endif 07514 07515 #ifdef _WIN32 07516 07525 typedef BOOL (csAPIENTRY* csWGLGETFRAMEUSAGEI3D) (GLfloat* pUsage); 07526 typedef BOOL (csAPIENTRY* csWGLBEGINFRAMETRACKINGI3D) (); 07527 typedef BOOL (csAPIENTRY* csWGLENDFRAMETRACKINGI3D) (); 07528 typedef BOOL (csAPIENTRY* csWGLQUERYFRAMETRACKINGI3D) (DWORD* pFrameCount, DWORD* pMissedFrames, GLfloat* pLastMissedUsage); 07529 07531 #endif 07532 07536 #ifndef GL_COMPRESSED_RGB_FXT1_3DFX 07537 #define GL_COMPRESSED_RGB_FXT1_3DFX 34480 07538 #endif 07539 07540 #ifndef GL_COMPRESSED_RGBA_FXT1_3DFX 07541 #define GL_COMPRESSED_RGBA_FXT1_3DFX 34481 07542 #endif 07543 07544 07555 #ifndef GL_CULL_VERTEX_IBM 07556 #define GL_CULL_VERTEX_IBM 103050 07557 #endif 07558 07559 07576 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWARRAYSIBM) (GLenum* mode, GLint* first, GLsizei* count, GLsizei primcount, GLint modestride); 07577 typedef GLvoid (csAPIENTRY* csGLMULTIMODEDRAWELEMENTSIBM) (GLenum* mode, GLsizei* count, GLenum type, const GLvoid* indices, GLsizei primcount, GLint modestride); 07578 07583 #ifndef GL_RASTER_POSITION_UNCLIPPED_IBM 07584 #define GL_RASTER_POSITION_UNCLIPPED_IBM 103010 07585 #endif 07586 07587 07598 #ifndef GL_MIRRORED_REPEAT_IBM 07599 #define GL_MIRRORED_REPEAT_IBM 33648 07600 #endif 07601 07602 07613 #ifndef GL_VERTEX_ARRAY_LIST_IBM 07614 #define GL_VERTEX_ARRAY_LIST_IBM 103070 07615 #endif 07616 07617 #ifndef GL_NORMAL_ARRAY_LIST_IBM 07618 #define GL_NORMAL_ARRAY_LIST_IBM 103071 07619 #endif 07620 07621 #ifndef GL_COLOR_ARRAY_LIST_IBM 07622 #define GL_COLOR_ARRAY_LIST_IBM 103072 07623 #endif 07624 07625 #ifndef GL_INDEX_ARRAY_LIST_IBM 07626 #define GL_INDEX_ARRAY_LIST_IBM 103073 07627 #endif 07628 07629 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_IBM 07630 #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 07631 #endif 07632 07633 #ifndef GL_EDGE_FLAG_ARRAY_LIST_IBM 07634 #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 07635 #endif 07636 07637 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_IBM 07638 #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 07639 #endif 07640 07641 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_IBM 07642 #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 07643 #endif 07644 07645 #ifndef GL_VERTEX_ARRAY_LIST_STRIDE_IBM 07646 #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 07647 #endif 07648 07649 #ifndef GL_NORMAL_ARRAY_LIST_STRIDE_IBM 07650 #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 07651 #endif 07652 07653 #ifndef GL_COLOR_ARRAY_LIST_STRIDE_IBM 07654 #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 07655 #endif 07656 07657 #ifndef GL_INDEX_ARRAY_LIST_STRIDE_IBM 07658 #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 07659 #endif 07660 07661 #ifndef GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 07662 #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 07663 #endif 07664 07665 #ifndef GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 07666 #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 07667 #endif 07668 07669 #ifndef GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 07670 #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 07671 #endif 07672 07673 #ifndef GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 07674 #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 07675 #endif 07676 07677 07683 typedef GLvoid (csAPIENTRY* csGLCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07684 typedef GLvoid (csAPIENTRY* csGLSECONDARYCOLORPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07685 typedef GLvoid (csAPIENTRY* csGLEDGEFLAGPOINTERLISTIBM) (GLint stride, const GLboolean* pointer, GLint ptrstride); 07686 typedef GLvoid (csAPIENTRY* csGLFOGCOORDPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07687 typedef GLvoid (csAPIENTRY* csGLNORMALPOINTERLISTIBM) (GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07688 typedef GLvoid (csAPIENTRY* csGLTEXCOORDPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07689 typedef GLvoid (csAPIENTRY* csGLVERTEXPOINTERLISTIBM) (GLint size, GLenum type, GLint stride, const GLvoid* pointer, GLint ptrstride); 07690 07701 typedef GLvoid (csAPIENTRY* csGLRESIZEBUFFERSMESA) (); 07702 07713 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DMESA) (GLdouble x, GLdouble y); 07714 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FMESA) (GLfloat x, GLfloat y); 07715 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IMESA) (GLint x, GLint y); 07716 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SMESA) (GLshort x, GLshort y); 07717 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2IVMESA) (const GLint* p); 07718 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2SVMESA) (const GLshort* p); 07719 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2FVMESA) (const GLfloat* p); 07720 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS2DVMESA) (const GLdouble* p); 07721 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IMESA) (GLint x, GLint y, GLint z); 07722 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SMESA) (GLshort x, GLshort y, GLshort z); 07723 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FMESA) (GLfloat x, GLfloat y, GLfloat z); 07724 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DMESA) (GLdouble x, GLdouble y, GLdouble z); 07725 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3IVMESA) (const GLint* p); 07726 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3SVMESA) (const GLshort* p); 07727 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3FVMESA) (const GLfloat* p); 07728 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS3DVMESA) (const GLdouble* p); 07729 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IMESA) (GLint x, GLint y, GLint z, GLint w); 07730 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SMESA) (GLshort x, GLshort y, GLshort z, GLshort w); 07731 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FMESA) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); 07732 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DMESA) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); 07733 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4IVMESA) (const GLint* p); 07734 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4SVMESA) (const GLshort* p); 07735 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4FVMESA) (const GLfloat* p); 07736 typedef GLvoid (csAPIENTRY* csGLWINDOWPOS4DVMESA) (const GLdouble* p); 07737 07742 #ifndef GL_INTERLACE_OML 07743 #define GL_INTERLACE_OML 35200 07744 #endif 07745 07746 #ifndef GL_INTERLACE_READ_OML 07747 #define GL_INTERLACE_READ_OML 35201 07748 #endif 07749 07750 07761 #ifndef GL_PACK_RESAMPLE_OML 07762 #define GL_PACK_RESAMPLE_OML 35204 07763 #endif 07764 07765 #ifndef GL_UNPACK_RESAMPLE_OML 07766 #define GL_UNPACK_RESAMPLE_OML 35205 07767 #endif 07768 07769 #ifndef GL_RESAMPLE_REPLICATE_OML 07770 #define GL_RESAMPLE_REPLICATE_OML 35206 07771 #endif 07772 07773 #ifndef GL_RESAMPLE_ZERO_FILL_OML 07774 #define GL_RESAMPLE_ZERO_FILL_OML 35207 07775 #endif 07776 07777 #ifndef GL_RESAMPLE_AVERAGE_OML 07778 #define GL_RESAMPLE_AVERAGE_OML 35208 07779 #endif 07780 07781 #ifndef GL_RESAMPLE_DECIMATE_OML 07782 #define GL_RESAMPLE_DECIMATE_OML 35209 07783 #endif 07784 07785 #ifndef GL_RESAMPLE_AVERAGE_OML 07786 #define GL_RESAMPLE_AVERAGE_OML 35208 07787 #endif 07788 07789 07800 #ifndef GL_FORMAT_SUBSAMPLE_24_24_OML 07801 #define GL_FORMAT_SUBSAMPLE_24_24_OML 35202 07802 #endif 07803 07804 #ifndef GL_FORMAT_SUBSAMPLE_244_244_OML 07805 #define GL_FORMAT_SUBSAMPLE_244_244_OML 35203 07806 #endif 07807 07808 07819 #ifndef GL_GENERATE_MIPMAP_SGIS 07820 #define GL_GENERATE_MIPMAP_SGIS 33169 07821 #endif 07822 07823 #ifndef GL_GENERATE_MIPMAP_HINT_SGIS 07824 #define GL_GENERATE_MIPMAP_HINT_SGIS 33170 07825 #endif 07826 07827 07838 #ifndef GLX_SAMPLE_BUFFERS_SGIS 07839 #define GLX_SAMPLE_BUFFERS_SGIS 100000 07840 #endif 07841 07842 #ifndef GLX_SAMPLES_SGIS 07843 #define GLX_SAMPLES_SGIS 100001 07844 #endif 07845 07846 #ifndef GL_MULTISAMPLE_SGIS 07847 #define GL_MULTISAMPLE_SGIS 32925 07848 #endif 07849 07850 #ifndef GL_SAMPLE_ALPHA_TO_MASK_SGIS 07851 #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 32926 07852 #endif 07853 07854 #ifndef GL_SAMPLE_ALPHA_TO_ONE_SGIS 07855 #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 32927 07856 #endif 07857 07858 #ifndef GL_SAMPLE_MASK_SGIS 07859 #define GL_SAMPLE_MASK_SGIS 32928 07860 #endif 07861 07862 #ifndef GL_MULTISAMPLE_BIT_EXT 07863 #define GL_MULTISAMPLE_BIT_EXT 536870912 07864 #endif 07865 07866 #ifndef GL_1PASS_SGIS 07867 #define GL_1PASS_SGIS 32929 07868 #endif 07869 07870 #ifndef GL_2PASS_0_SGIS 07871 #define GL_2PASS_0_SGIS 32930 07872 #endif 07873 07874 #ifndef GL_2PASS_1_SGIS 07875 #define GL_2PASS_1_SGIS 32931 07876 #endif 07877 07878 #ifndef GL_4PASS_0_SGIS 07879 #define GL_4PASS_0_SGIS 32932 07880 #endif 07881 07882 #ifndef GL_4PASS_1_SGIS 07883 #define GL_4PASS_1_SGIS 32933 07884 #endif 07885 07886 #ifndef GL_4PASS_2_SGIS 07887 #define GL_4PASS_2_SGIS 32934 07888 #endif 07889 07890 #ifndef GL_4PASS_3_SGIS 07891 #define GL_4PASS_3_SGIS 32935 07892 #endif 07893 07894 #ifndef GL_SAMPLE_BUFFERS_SGIS 07895 #define GL_SAMPLE_BUFFERS_SGIS 32936 07896 #endif 07897 07898 #ifndef GL_SAMPLES_SGIS 07899 #define GL_SAMPLES_SGIS 32937 07900 #endif 07901 07902 #ifndef GL_SAMPLE_MASK_VALUE_SGIS 07903 #define GL_SAMPLE_MASK_VALUE_SGIS 32938 07904 #endif 07905 07906 #ifndef GL_SAMPLE_MASK_INVERT_SGIS 07907 #define GL_SAMPLE_MASK_INVERT_SGIS 32939 07908 #endif 07909 07910 #ifndef GL_SAMPLE_PATTERN_SGIS 07911 #define GL_SAMPLE_PATTERN_SGIS 32940 07912 #endif 07913 07914 07920 typedef GLvoid (csAPIENTRY* csGLSAMPLEMASKSGIS) (GLclampf value, GLboolean invert); 07921 typedef GLvoid (csAPIENTRY* csGLSAMPLEPATTERNSGIS) (GLenum pattern); 07922 07927 #ifndef GL_PIXEL_TEXTURE_SGIS 07928 #define GL_PIXEL_TEXTURE_SGIS 33619 07929 #endif 07930 07931 #ifndef GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 07932 #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 33620 07933 #endif 07934 07935 #ifndef GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 07936 #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 33621 07937 #endif 07938 07939 #ifndef GL_PIXEL_GROUP_COLOR_SGIS 07940 #define GL_PIXEL_GROUP_COLOR_SGIS 33622 07941 #endif 07942 07943 07949 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERISGIS) (GLenum pname, GLint param); 07950 typedef GLvoid (csAPIENTRY* csGLPIXELTEXGENPARAMETERFSGIS) (GLenum pname, GLfloat param); 07951 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERIVSGIS) (GLenum pname, GLint params); 07952 typedef GLvoid (csAPIENTRY* csGLGETPIXELTEXGENPARAMETERFVSGIS) (GLenum pname, GLfloat params); 07953 07958 #ifndef GL_CLAMP_TO_BORDER_SGIS 07959 #define GL_CLAMP_TO_BORDER_SGIS 33069 07960 #endif 07961 07962 07973 #ifndef GL_TEXTURE_COLOR_WRITEMASK_SGIS 07974 #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 33263 07975 #endif 07976 07977 07983 typedef GLvoid (csAPIENTRY* csGLTEXTURECOLORMASKSGIS) (GLboolean r, GLboolean g, GLboolean b, GLboolean a); 07984 07989 #ifndef GL_CLAMP_TO_EDGE_SGIS 07990 #define GL_CLAMP_TO_EDGE_SGIS 33071 07991 #endif 07992 07993 08004 #ifndef GL_TEXTURE_MIN_LOD_SGIS 08005 #define GL_TEXTURE_MIN_LOD_SGIS 33082 08006 #endif 08007 08008 #ifndef GL_TEXTURE_MAX_LOD_SGIS 08009 #define GL_TEXTURE_MAX_LOD_SGIS 33083 08010 #endif 08011 08012 #ifndef GL_TEXTURE_BASE_LEVEL_SGIS 08013 #define GL_TEXTURE_BASE_LEVEL_SGIS 33084 08014 #endif 08015 08016 #ifndef GL_TEXTURE_MAX_LEVEL_SGIS 08017 #define GL_TEXTURE_MAX_LEVEL_SGIS 33085 08018 #endif 08019 08020 08031 #ifndef GL_DEPTH_COMPONENT16_SGIX 08032 #define GL_DEPTH_COMPONENT16_SGIX 33189 08033 #endif 08034 08035 #ifndef GL_DEPTH_COMPONENT24_SGIX 08036 #define GL_DEPTH_COMPONENT24_SGIX 33190 08037 #endif 08038 08039 #ifndef GL_DEPTH_COMPONENT32_SGIX 08040 #define GL_DEPTH_COMPONENT32_SGIX 33191 08041 #endif 08042 08043 08054 #ifndef GL_FOG_OFFSET_SGIX 08055 #define GL_FOG_OFFSET_SGIX 33176 08056 #endif 08057 08058 #ifndef GL_FOG_OFFSET_VALUE_SGIX 08059 #define GL_FOG_OFFSET_VALUE_SGIX 33177 08060 #endif 08061 08062 08073 #ifndef GL_INTERLACE_SGIX 08074 #define GL_INTERLACE_SGIX 32916 08075 #endif 08076 08077 08088 #ifndef GL_SHADOW_AMBIENT_SGIX 08089 #define GL_SHADOW_AMBIENT_SGIX 32959 08090 #endif 08091 08092 08103 #ifndef GL_COLOR_MATRIX_SGI 08104 #define GL_COLOR_MATRIX_SGI 32945 08105 #endif 08106 08107 #ifndef GL_COLOR_MATRIX_STACK_DEPTH_SGI 08108 #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 32946 08109 #endif 08110 08111 #ifndef GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 08112 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 32947 08113 #endif 08114 08115 #ifndef GL_POST_COLOR_MATRIX_RED_SCALE_SGI 08116 #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 32948 08117 #endif 08118 08119 #ifndef GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 08120 #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 32949 08121 #endif 08122 08123 #ifndef GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 08124 #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 32950 08125 #endif 08126 08127 #ifndef GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 08128 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 32951 08129 #endif 08130 08131 #ifndef GL_POST_COLOR_MATRIX_RED_BIAS_SGI 08132 #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 32952 08133 #endif 08134 08135 #ifndef GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 08136 #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 32953 08137 #endif 08138 08139 #ifndef GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 08140 #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 32954 08141 #endif 08142 08143 #ifndef GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 08144 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 32955 08145 #endif 08146 08147 08158 #ifndef GL_COLOR_TABLE_SGI 08159 #define GL_COLOR_TABLE_SGI 32976 08160 #endif 08161 08162 #ifndef GL_POST_CONVOLUTION_COLOR_TABLE_SGI 08163 #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 32977 08164 #endif 08165 08166 #ifndef GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 08167 #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 32978 08168 #endif 08169 08170 #ifndef GL_PROXY_COLOR_TABLE_SGI 08171 #define GL_PROXY_COLOR_TABLE_SGI 32979 08172 #endif 08173 08174 #ifndef GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 08175 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 32980 08176 #endif 08177 08178 #ifndef GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 08179 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 32981 08180 #endif 08181 08182 #ifndef GL_COLOR_TABLE_SCALE_SGI 08183 #define GL_COLOR_TABLE_SCALE_SGI 32982 08184 #endif 08185 08186 #ifndef GL_COLOR_TABLE_BIAS_SGI 08187 #define GL_COLOR_TABLE_BIAS_SGI 32983 08188 #endif 08189 08190 #ifndef GL_COLOR_TABLE_FORMAT_SGI 08191 #define GL_COLOR_TABLE_FORMAT_SGI 32984 08192 #endif 08193 08194 #ifndef GL_COLOR_TABLE_WIDTH_SGI 08195 #define GL_COLOR_TABLE_WIDTH_SGI 32985 08196 #endif 08197 08198 #ifndef GL_COLOR_TABLE_RED_SIZE_SGI 08199 #define GL_COLOR_TABLE_RED_SIZE_SGI 32986 08200 #endif 08201 08202 #ifndef GL_COLOR_TABLE_GREEN_SIZE_SGI 08203 #define GL_COLOR_TABLE_GREEN_SIZE_SGI 32987 08204 #endif 08205 08206 #ifndef GL_COLOR_TABLE_BLUE_SIZE_SGI 08207 #define GL_COLOR_TABLE_BLUE_SIZE_SGI 32988 08208 #endif 08209 08210 #ifndef GL_COLOR_TABLE_ALPHA_SIZE_SGI 08211 #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 32989 08212 #endif 08213 08214 #ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 08215 #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 32990 08216 #endif 08217 08218 #ifndef GL_COLOR_TABLE_INTENSITY_SIZE_SGI 08219 #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 32991 08220 #endif 08221 08222 08228 typedef GLvoid (csAPIENTRY* csGLCOLORTABLESGI) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid* table); 08229 typedef GLvoid (csAPIENTRY* csGLCOPYCOLORTABLESGI) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 08230 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, const GLint* params); 08231 typedef GLvoid (csAPIENTRY* csGLCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, const GLfloat* params); 08232 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLESGI) (GLenum target, GLenum format, GLenum type, GLvoid* table); 08233 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERIVSGI) (GLenum target, GLenum pname, GLint* params); 08234 typedef GLvoid (csAPIENTRY* csGLGETCOLORTABLEPARAMETERFVSGI) (GLenum target, GLenum pname, GLfloat* params); 08235 08240 #ifndef GL_TEXTURE_COLOR_TABLE_SGI 08241 #define GL_TEXTURE_COLOR_TABLE_SGI 32956 08242 #endif 08243 08244 #ifndef GL_PROXY_TEXTURE_COLOR_TABLE_SGI 08245 #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 32957 08246 #endif 08247 08248 08265 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); 08266 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX2FVSUN) (const GLubyte* c, const GLfloat* v); 08267 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FSUN) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 08268 typedef GLvoid (csAPIENTRY* csGLCOLOR4UBVERTEX3FVSUN) (const GLubyte* c, const GLfloat* v); 08269 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 08270 typedef GLvoid (csAPIENTRY* csGLCOLOR3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* v); 08271 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FSUN) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 08272 typedef GLvoid (csAPIENTRY* csGLNORMAL3FVERTEX3FVSUN) (const GLfloat* n, const GLfloat* v); 08273 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FSUN) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 08274 typedef GLvoid (csAPIENTRY* csGLCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* c, const GLfloat* n, const GLfloat* v); 08275 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 08276 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* v); 08277 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FSUN) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 08278 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* v); 08279 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 08280 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN) (const GLfloat* tc, const GLubyte* c, const GLfloat* v); 08281 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 08282 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* v); 08283 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FSUN) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 08284 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* n, const GLfloat* v); 08285 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); 08286 typedef GLvoid (csAPIENTRY* csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v); 08287 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); 08288 typedef GLvoid (csAPIENTRY* csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN) (const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v); 08289 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FSUN) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); 08290 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUIVERTEX3FVSUN) (const GLuint* rc, const GLfloat* v); 08291 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); 08292 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN) (const GLuint* rc, const GLubyte* c, const GLfloat* v); 08293 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); 08294 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* v); 08295 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 08296 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* n, const GLfloat* v); 08297 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); 08298 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* c, const GLfloat* n, const GLfloat* v); 08299 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); 08300 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* v); 08301 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); 08302 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* n, const GLfloat* v); 08303 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); 08304 typedef GLvoid (csAPIENTRY* csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN) (const GLuint* rc, const GLfloat* tc, const GLfloat* c, const GLfloat* n, const GLfloat* v); 08305 08310 #ifndef GL_FRAGMENT_PROGRAM_ARB 08311 #define GL_FRAGMENT_PROGRAM_ARB 34820 08312 #endif 08313 08314 #ifndef GL_PROGRAM_FORMAT_ASCII_ARB 08315 #define GL_PROGRAM_FORMAT_ASCII_ARB 34933 08316 #endif 08317 08318 #ifndef GL_PROGRAM_LENGTH_ARB 08319 #define GL_PROGRAM_LENGTH_ARB 34343 08320 #endif 08321 08322 #ifndef GL_PROGRAM_FORMAT_ARB 08323 #define GL_PROGRAM_FORMAT_ARB 34934 08324 #endif 08325 08326 #ifndef GL_PROGRAM_BINDING_ARB 08327 #define GL_PROGRAM_BINDING_ARB 34423 08328 #endif 08329 08330 #ifndef GL_PROGRAM_INSTRUCTIONS_ARB 08331 #define GL_PROGRAM_INSTRUCTIONS_ARB 34976 08332 #endif 08333 08334 #ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB 08335 #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 34977 08336 #endif 08337 08338 #ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 08339 #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 34978 08340 #endif 08341 08342 #ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 08343 #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 34979 08344 #endif 08345 08346 #ifndef GL_PROGRAM_TEMPORARIES_ARB 08347 #define GL_PROGRAM_TEMPORARIES_ARB 34980 08348 #endif 08349 08350 #ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB 08351 #define GL_MAX_PROGRAM_TEMPORARIES_ARB 34981 08352 #endif 08353 08354 #ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB 08355 #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 34982 08356 #endif 08357 08358 #ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 08359 #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 34983 08360 #endif 08361 08362 #ifndef GL_PROGRAM_PARAMETERS_ARB 08363 #define GL_PROGRAM_PARAMETERS_ARB 34984 08364 #endif 08365 08366 #ifndef GL_MAX_PROGRAM_PARAMETERS_ARB 08367 #define GL_MAX_PROGRAM_PARAMETERS_ARB 34985 08368 #endif 08369 08370 #ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB 08371 #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 34986 08372 #endif 08373 08374 #ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 08375 #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 34987 08376 #endif 08377 08378 #ifndef GL_PROGRAM_ATTRIBS_ARB 08379 #define GL_PROGRAM_ATTRIBS_ARB 34988 08380 #endif 08381 08382 #ifndef GL_MAX_PROGRAM_ATTRIBS_ARB 08383 #define GL_MAX_PROGRAM_ATTRIBS_ARB 34989 08384 #endif 08385 08386 #ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB 08387 #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 34990 08388 #endif 08389 08390 #ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 08391 #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 34991 08392 #endif 08393 08394 #ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 08395 #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 34996 08396 #endif 08397 08398 #ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 08399 #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 34997 08400 #endif 08401 08402 #ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 08403 #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 34998 08404 #endif 08405 08406 #ifndef GL_PROGRAM_ALU_INSTRUCTIONS_ARB 08407 #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 34821 08408 #endif 08409 08410 #ifndef GL_PROGRAM_TEX_INSTRUCTIONS_ARB 08411 #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 34822 08412 #endif 08413 08414 #ifndef GL_PROGRAM_TEX_INDIRECTIONS_ARB 08415 #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 34823 08416 #endif 08417 08418 #ifndef GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 08419 #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 34824 08420 #endif 08421 08422 #ifndef GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 08423 #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 34825 08424 #endif 08425 08426 #ifndef GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 08427 #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 34826 08428 #endif 08429 08430 #ifndef GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 08431 #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 34827 08432 #endif 08433 08434 #ifndef GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 08435 #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 34828 08436 #endif 08437 08438 #ifndef GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 08439 #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 34829 08440 #endif 08441 08442 #ifndef GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 08443 #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 34830 08444 #endif 08445 08446 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 08447 #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 34831 08448 #endif 08449 08450 #ifndef GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 08451 #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 34832 08452 #endif 08453 08454 #ifndef GL_PROGRAM_STRING_ARB 08455 #define GL_PROGRAM_STRING_ARB 34344 08456 #endif 08457 08458 #ifndef GL_PROGRAM_ERROR_POSITION_ARB 08459 #define GL_PROGRAM_ERROR_POSITION_ARB 34379 08460 #endif 08461 08462 #ifndef GL_CURRENT_MATRIX_ARB 08463 #define GL_CURRENT_MATRIX_ARB 34369 08464 #endif 08465 08466 #ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB 08467 #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 34999 08468 #endif 08469 08470 #ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB 08471 #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 34368 08472 #endif 08473 08474 #ifndef GL_MAX_PROGRAM_MATRICES_ARB 08475 #define GL_MAX_PROGRAM_MATRICES_ARB 34351 08476 #endif 08477 08478 #ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 08479 #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 34350 08480 #endif 08481 08482 #ifndef GL_MAX_TEXTURE_COORDS_ARB 08483 #define GL_MAX_TEXTURE_COORDS_ARB 34929 08484 #endif 08485 08486 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB 08487 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 34930 08488 #endif 08489 08490 #ifndef GL_PROGRAM_ERROR_STRING_ARB 08491 #define GL_PROGRAM_ERROR_STRING_ARB 34932 08492 #endif 08493 08494 #ifndef GL_MATRIX0_ARB 08495 #define GL_MATRIX0_ARB 35008 08496 #endif 08497 08498 #ifndef GL_MATRIX1_ARB 08499 #define GL_MATRIX1_ARB 35009 08500 #endif 08501 08502 #ifndef GL_MATRIX2_ARB 08503 #define GL_MATRIX2_ARB 35010 08504 #endif 08505 08506 #ifndef GL_MATRIX3_ARB 08507 #define GL_MATRIX3_ARB 35011 08508 #endif 08509 08510 #ifndef GL_MATRIX4_ARB 08511 #define GL_MATRIX4_ARB 35012 08512 #endif 08513 08514 #ifndef GL_MATRIX5_ARB 08515 #define GL_MATRIX5_ARB 35013 08516 #endif 08517 08518 #ifndef GL_MATRIX6_ARB 08519 #define GL_MATRIX6_ARB 35014 08520 #endif 08521 08522 #ifndef GL_MATRIX7_ARB 08523 #define GL_MATRIX7_ARB 35015 08524 #endif 08525 08526 #ifndef GL_MATRIX8_ARB 08527 #define GL_MATRIX8_ARB 35016 08528 #endif 08529 08530 #ifndef GL_MATRIX9_ARB 08531 #define GL_MATRIX9_ARB 35017 08532 #endif 08533 08534 #ifndef GL_MATRIX10_ARB 08535 #define GL_MATRIX10_ARB 35018 08536 #endif 08537 08538 #ifndef GL_MATRIX11_ARB 08539 #define GL_MATRIX11_ARB 35019 08540 #endif 08541 08542 #ifndef GL_MATRIX12_ARB 08543 #define GL_MATRIX12_ARB 35020 08544 #endif 08545 08546 #ifndef GL_MATRIX13_ARB 08547 #define GL_MATRIX13_ARB 35021 08548 #endif 08549 08550 #ifndef GL_MATRIX14_ARB 08551 #define GL_MATRIX14_ARB 35022 08552 #endif 08553 08554 #ifndef GL_MATRIX15_ARB 08555 #define GL_MATRIX15_ARB 35023 08556 #endif 08557 08558 #ifndef GL_MATRIX16_ARB 08559 #define GL_MATRIX16_ARB 35024 08560 #endif 08561 08562 #ifndef GL_MATRIX17_ARB 08563 #define GL_MATRIX17_ARB 35025 08564 #endif 08565 08566 #ifndef GL_MATRIX18_ARB 08567 #define GL_MATRIX18_ARB 35026 08568 #endif 08569 08570 #ifndef GL_MATRIX19_ARB 08571 #define GL_MATRIX19_ARB 35027 08572 #endif 08573 08574 #ifndef GL_MATRIX20_ARB 08575 #define GL_MATRIX20_ARB 35028 08576 #endif 08577 08578 #ifndef GL_MATRIX21_ARB 08579 #define GL_MATRIX21_ARB 35029 08580 #endif 08581 08582 #ifndef GL_MATRIX22_ARB 08583 #define GL_MATRIX22_ARB 35030 08584 #endif 08585 08586 #ifndef GL_MATRIX23_ARB 08587 #define GL_MATRIX23_ARB 35031 08588 #endif 08589 08590 #ifndef GL_MATRIX24_ARB 08591 #define GL_MATRIX24_ARB 35032 08592 #endif 08593 08594 #ifndef GL_MATRIX25_ARB 08595 #define GL_MATRIX25_ARB 35033 08596 #endif 08597 08598 #ifndef GL_MATRIX26_ARB 08599 #define GL_MATRIX26_ARB 35034 08600 #endif 08601 08602 #ifndef GL_MATRIX27_ARB 08603 #define GL_MATRIX27_ARB 35035 08604 #endif 08605 08606 #ifndef GL_MATRIX28_ARB 08607 #define GL_MATRIX28_ARB 35036 08608 #endif 08609 08610 #ifndef GL_MATRIX29_ARB 08611 #define GL_MATRIX29_ARB 35037 08612 #endif 08613 08614 #ifndef GL_MATRIX30_ARB 08615 #define GL_MATRIX30_ARB 35038 08616 #endif 08617 08618 #ifndef GL_MATRIX31_ARB 08619 #define GL_MATRIX31_ARB 35039 08620 #endif 08621 08622 08633 #ifndef GL_TEXT_FRAGMENT_SHADER_ATI 08634 #define GL_TEXT_FRAGMENT_SHADER_ATI 33280 08635 #endif 08636 08637 08648 #ifndef GL_UNPACK_CLIENT_STORAGE_APPLE 08649 #define GL_UNPACK_CLIENT_STORAGE_APPLE 34226 08650 #endif 08651 08652 08663 #ifndef GL_ELEMENT_ARRAY_APPLE 08664 #define GL_ELEMENT_ARRAY_APPLE 34664 08665 #endif 08666 08667 #ifndef GL_ELEMENT_ARRAY_TYPE_APPLE 08668 #define GL_ELEMENT_ARRAY_TYPE_APPLE 34665 08669 #endif 08670 08671 #ifndef GL_ELEMENT_ARRAY_POINTER_APPLE 08672 #define GL_ELEMENT_ARRAY_POINTER_APPLE 34666 08673 #endif 08674 08675 08681 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERAPPLE) (GLenum type, const GLvoid* pointer); 08682 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYAPPLE) (GLenum mode, GLint first, GLsizei count); 08683 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 08684 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYAPPLE) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount); 08685 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYAPPLE) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount); 08686 08691 #ifndef GL_DRAW_PIXELS_APPLE 08692 #define GL_DRAW_PIXELS_APPLE 35338 08693 #endif 08694 08695 #ifndef GL_FENCE_APPLE 08696 #define GL_FENCE_APPLE 35339 08697 #endif 08698 08699 08705 typedef GLvoid (csAPIENTRY* csGLGENFENCESAPPLE) (GLsizei n, GLuint* fences); 08706 typedef GLvoid (csAPIENTRY* csGLDELETEFENCESAPPLE) (GLsizei n, const GLuint* fences); 08707 typedef GLvoid (csAPIENTRY* csGLSETFENCEAPPLE) (GLuint fence); 08708 typedef GLboolean (csAPIENTRY* csGLISFENCEAPPLE) (GLuint fence); 08709 typedef GLboolean (csAPIENTRY* csGLTESTFENCEAPPLE) (GLuint fence); 08710 typedef GLvoid (csAPIENTRY* csGLFINISHFENCEAPPLE) (GLuint fence); 08711 typedef GLboolean (csAPIENTRY* csGLTESTOBJECTAPPLE) (GLenum object, GLuint name); 08712 typedef GLvoid (csAPIENTRY* csGLFINISHOBJECTAPPLE) (GLenum object, GLint name); 08713 08718 #ifndef GL_VERTEX_ARRAY_BINDING_APPLE 08719 #define GL_VERTEX_ARRAY_BINDING_APPLE 34229 08720 #endif 08721 08722 08728 typedef GLvoid (csAPIENTRY* csGLBINDVERTEXARRAYAPPLE) (GLuint array); 08729 typedef GLvoid (csAPIENTRY* csGLDELETEVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays); 08730 typedef GLvoid (csAPIENTRY* csGLGENVERTEXARRAYSAPPLE) (GLsizei n, const GLuint* arrays); 08731 typedef GLboolean (csAPIENTRY* csGLISVERTEXARRAYAPPLE) (GLuint array); 08732 08737 #ifndef GL_VERTEX_ARRAY_RANGE_APPLE 08738 #define GL_VERTEX_ARRAY_RANGE_APPLE 34077 08739 #endif 08740 08741 #ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 08742 #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 34078 08743 #endif 08744 08745 #ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 08746 #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 34080 08747 #endif 08748 08749 #ifndef GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 08750 #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 34081 08751 #endif 08752 08753 #ifndef GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 08754 #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 34079 08755 #endif 08756 08757 #ifndef GL_STORAGE_CACHED_APPLE 08758 #define GL_STORAGE_CACHED_APPLE 34238 08759 #endif 08760 08761 #ifndef GL_STORAGE_SHARED_APPLE 08762 #define GL_STORAGE_SHARED_APPLE 34239 08763 #endif 08764 08765 08771 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer); 08772 typedef GLvoid (csAPIENTRY* csGLFLUSHVERTEXARRAYRANGEAPPLE) (GLsizei length, GLvoid* pointer); 08773 typedef GLvoid (csAPIENTRY* csGLVERTEXARRAYPARAMETERIAPPLE) (GLenum pname, GLint param); 08774 08776 #ifdef _WIN32 08777 08780 #ifndef WGL_NUMBER_PIXEL_FORMATS_ARB 08781 #define WGL_NUMBER_PIXEL_FORMATS_ARB 8192 08782 #endif 08783 08784 #ifndef WGL_DRAW_TO_WINDOW_ARB 08785 #define WGL_DRAW_TO_WINDOW_ARB 8193 08786 #endif 08787 08788 #ifndef WGL_DRAW_TO_BITMAP_ARB 08789 #define WGL_DRAW_TO_BITMAP_ARB 8194 08790 #endif 08791 08792 #ifndef WGL_ACCELERATION_ARB 08793 #define WGL_ACCELERATION_ARB 8195 08794 #endif 08795 08796 #ifndef WGL_NEED_PALETTE_ARB 08797 #define WGL_NEED_PALETTE_ARB 8196 08798 #endif 08799 08800 #ifndef WGL_NEED_SYSTEM_PALETTE_ARB 08801 #define WGL_NEED_SYSTEM_PALETTE_ARB 8197 08802 #endif 08803 08804 #ifndef WGL_SWAP_LAYER_BUFFERS_ARB 08805 #define WGL_SWAP_LAYER_BUFFERS_ARB 8198 08806 #endif 08807 08808 #ifndef WGL_SWAP_METHOD_ARB 08809 #define WGL_SWAP_METHOD_ARB 8199 08810 #endif 08811 08812 #ifndef WGL_NUMBER_OVERLAYS_ARB 08813 #define WGL_NUMBER_OVERLAYS_ARB 8200 08814 #endif 08815 08816 #ifndef WGL_NUMBER_UNDERLAYS_ARB 08817 #define WGL_NUMBER_UNDERLAYS_ARB 8201 08818 #endif 08819 08820 #ifndef WGL_TRANSPARENT_ARB 08821 #define WGL_TRANSPARENT_ARB 8202 08822 #endif 08823 08824 #ifndef WGL_TRANSPARENT_RED_VALUE_ARB 08825 #define WGL_TRANSPARENT_RED_VALUE_ARB 8247 08826 #endif 08827 08828 #ifndef WGL_TRANSPARENT_GREEN_VALUE_ARB 08829 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 8248 08830 #endif 08831 08832 #ifndef WGL_TRANSPARENT_BLUE_VALUE_ARB 08833 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 8249 08834 #endif 08835 08836 #ifndef WGL_TRANSPARENT_ALPHA_VALUE_ARB 08837 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 8250 08838 #endif 08839 08840 #ifndef WGL_TRANSPARENT_INDEX_VALUE_ARB 08841 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 8251 08842 #endif 08843 08844 #ifndef WGL_SHARE_DEPTH_ARB 08845 #define WGL_SHARE_DEPTH_ARB 8204 08846 #endif 08847 08848 #ifndef WGL_SHARE_STENCIL_ARB 08849 #define WGL_SHARE_STENCIL_ARB 8205 08850 #endif 08851 08852 #ifndef WGL_SHARE_ACCUM_ARB 08853 #define WGL_SHARE_ACCUM_ARB 8206 08854 #endif 08855 08856 #ifndef WGL_SUPPORT_GDI_ARB 08857 #define WGL_SUPPORT_GDI_ARB 8207 08858 #endif 08859 08860 #ifndef WGL_SUPPORT_OPENGL_ARB 08861 #define WGL_SUPPORT_OPENGL_ARB 8208 08862 #endif 08863 08864 #ifndef WGL_DOUBLE_BUFFER_ARB 08865 #define WGL_DOUBLE_BUFFER_ARB 8209 08866 #endif 08867 08868 #ifndef WGL_STEREO_ARB 08869 #define WGL_STEREO_ARB 8210 08870 #endif 08871 08872 #ifndef WGL_PIXEL_TYPE_ARB 08873 #define WGL_PIXEL_TYPE_ARB 8211 08874 #endif 08875 08876 #ifndef WGL_COLOR_BITS_ARB 08877 #define WGL_COLOR_BITS_ARB 8212 08878 #endif 08879 08880 #ifndef WGL_RED_BITS_ARB 08881 #define WGL_RED_BITS_ARB 8213 08882 #endif 08883 08884 #ifndef WGL_RED_SHIFT_ARB 08885 #define WGL_RED_SHIFT_ARB 8214 08886 #endif 08887 08888 #ifndef WGL_GREEN_BITS_ARB 08889 #define WGL_GREEN_BITS_ARB 8215 08890 #endif 08891 08892 #ifndef WGL_GREEN_SHIFT_ARB 08893 #define WGL_GREEN_SHIFT_ARB 8216 08894 #endif 08895 08896 #ifndef WGL_BLUE_BITS_ARB 08897 #define WGL_BLUE_BITS_ARB 8217 08898 #endif 08899 08900 #ifndef WGL_BLUE_SHIFT_ARB 08901 #define WGL_BLUE_SHIFT_ARB 8218 08902 #endif 08903 08904 #ifndef WGL_ALPHA_BITS_ARB 08905 #define WGL_ALPHA_BITS_ARB 8219 08906 #endif 08907 08908 #ifndef WGL_ALPHA_SHIFT_ARB 08909 #define WGL_ALPHA_SHIFT_ARB 8220 08910 #endif 08911 08912 #ifndef WGL_ACCUM_BITS_ARB 08913 #define WGL_ACCUM_BITS_ARB 8221 08914 #endif 08915 08916 #ifndef WGL_ACCUM_RED_BITS_ARB 08917 #define WGL_ACCUM_RED_BITS_ARB 8222 08918 #endif 08919 08920 #ifndef WGL_ACCUM_GREEN_BITS_ARB 08921 #define WGL_ACCUM_GREEN_BITS_ARB 8223 08922 #endif 08923 08924 #ifndef WGL_ACCUM_BLUE_BITS_ARB 08925 #define WGL_ACCUM_BLUE_BITS_ARB 8224 08926 #endif 08927 08928 #ifndef WGL_ACCUM_ALPHA_BITS_ARB 08929 #define WGL_ACCUM_ALPHA_BITS_ARB 8225 08930 #endif 08931 08932 #ifndef WGL_DEPTH_BITS_ARB 08933 #define WGL_DEPTH_BITS_ARB 8226 08934 #endif 08935 08936 #ifndef WGL_STENCIL_BITS_ARB 08937 #define WGL_STENCIL_BITS_ARB 8227 08938 #endif 08939 08940 #ifndef WGL_AUX_BUFFERS_ARB 08941 #define WGL_AUX_BUFFERS_ARB 8228 08942 #endif 08943 08944 #ifndef WGL_NO_ACCELERATION_ARB 08945 #define WGL_NO_ACCELERATION_ARB 8229 08946 #endif 08947 08948 #ifndef WGL_GENERIC_ACCELERATION_ARB 08949 #define WGL_GENERIC_ACCELERATION_ARB 8230 08950 #endif 08951 08952 #ifndef WGL_FULL_ACCELERATION_ARB 08953 #define WGL_FULL_ACCELERATION_ARB 8231 08954 #endif 08955 08956 #ifndef WGL_SWAP_EXCHANGE_ARB 08957 #define WGL_SWAP_EXCHANGE_ARB 8232 08958 #endif 08959 08960 #ifndef WGL_SWAP_COPY_ARB 08961 #define WGL_SWAP_COPY_ARB 8233 08962 #endif 08963 08964 #ifndef WGL_SWAP_UNDEFINED_ARB 08965 #define WGL_SWAP_UNDEFINED_ARB 8234 08966 #endif 08967 08968 #ifndef WGL_TYPE_RGBA_ARB 08969 #define WGL_TYPE_RGBA_ARB 8235 08970 #endif 08971 08972 #ifndef WGL_TYPE_COLORINDEX_ARB 08973 #define WGL_TYPE_COLORINDEX_ARB 8236 08974 #endif 08975 08976 08982 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLint* piValues); 08983 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVARB) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, const GLint* piAttributes, GLfloat* pfValues); 08984 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATARB) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats); 08985 08987 #endif 08988 08989 #ifdef _WIN32 08990 08993 #ifndef WGL_ERROR_INVALID_PIXEL_TYPE_ARB 08994 #define WGL_ERROR_INVALID_PIXEL_TYPE_ARB 8259 08995 #endif 08996 08997 #ifndef WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 08998 #define WGL_ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 8276 08999 #endif 09000 09001 09007 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTARB) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); 09008 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCARB) (); 09009 09011 #endif 09012 09013 #ifdef _WIN32 09014 09017 #ifndef WGL_DRAW_TO_PBUFFER_ARB 09018 #define WGL_DRAW_TO_PBUFFER_ARB 8237 09019 #endif 09020 09021 #ifndef WGL_DRAW_TO_PBUFFER_ARB 09022 #define WGL_DRAW_TO_PBUFFER_ARB 8237 09023 #endif 09024 09025 #ifndef WGL_MAX_PBUFFER_PIXELS_ARB 09026 #define WGL_MAX_PBUFFER_PIXELS_ARB 8238 09027 #endif 09028 09029 #ifndef WGL_MAX_PBUFFER_WIDTH_ARB 09030 #define WGL_MAX_PBUFFER_WIDTH_ARB 8239 09031 #endif 09032 09033 #ifndef WGL_MAX_PBUFFER_HEIGHT_ARB 09034 #define WGL_MAX_PBUFFER_HEIGHT_ARB 8240 09035 #endif 09036 09037 #ifndef WGL_PBUFFER_LARGEST_ARB 09038 #define WGL_PBUFFER_LARGEST_ARB 8243 09039 #endif 09040 09041 #ifndef WGL_PBUFFER_WIDTH_ARB 09042 #define WGL_PBUFFER_WIDTH_ARB 8244 09043 #endif 09044 09045 #ifndef WGL_PBUFFER_HEIGHT_ARB 09046 #define WGL_PBUFFER_HEIGHT_ARB 8245 09047 #endif 09048 09049 #ifndef WGL_PBUFFER_LOST_ARB 09050 #define WGL_PBUFFER_LOST_ARB 8246 09051 #endif 09052 09053 09059 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFERARB) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList); 09060 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCARB) (HANDLE hPbuffer); 09061 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCARB) (HANDLE hPbuffer, HDC hDC); 09062 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFERARB) (HANDLE hPbuffer); 09063 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFERARB) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue); 09064 09066 #endif 09067 09068 #ifdef _WIN32 09069 09078 typedef BOOL (csAPIENTRY* csWGLSWAPINTERVALEXT) (GLint interval); 09079 typedef GLint (csAPIENTRY* csWGLGETSWAPINTERVALEXT) (); 09080 09082 #endif 09083 09084 #ifdef _WIN32 09085 09088 #ifndef WGL_BIND_TO_TEXTURE_RGB_ARB 09089 #define WGL_BIND_TO_TEXTURE_RGB_ARB 8304 09090 #endif 09091 09092 #ifndef WGL_BIND_TO_TEXTURE_RGBA_ARB 09093 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 8305 09094 #endif 09095 09096 #ifndef WGL_TEXTURE_FORMAT_ARB 09097 #define WGL_TEXTURE_FORMAT_ARB 8306 09098 #endif 09099 09100 #ifndef WGL_TEXTURE_TARGET_ARB 09101 #define WGL_TEXTURE_TARGET_ARB 8307 09102 #endif 09103 09104 #ifndef WGL_MIPMAP_TEXTURE_ARB 09105 #define WGL_MIPMAP_TEXTURE_ARB 8308 09106 #endif 09107 09108 #ifndef WGL_TEXTURE_RGB_ARB 09109 #define WGL_TEXTURE_RGB_ARB 8309 09110 #endif 09111 09112 #ifndef WGL_TEXTURE_RGBA_ARB 09113 #define WGL_TEXTURE_RGBA_ARB 8310 09114 #endif 09115 09116 #ifndef WGL_NO_TEXTURE_ARB 09117 #define WGL_NO_TEXTURE_ARB 8311 09118 #endif 09119 09120 #ifndef WGL_TEXTURE_CUBE_MAP_ARB 09121 #define WGL_TEXTURE_CUBE_MAP_ARB 8312 09122 #endif 09123 09124 #ifndef WGL_TEXTURE_1D_ARB 09125 #define WGL_TEXTURE_1D_ARB 8313 09126 #endif 09127 09128 #ifndef WGL_TEXTURE_2D_ARB 09129 #define WGL_TEXTURE_2D_ARB 8314 09130 #endif 09131 09132 #ifndef WGL_NO_TEXTURE_ARB 09133 #define WGL_NO_TEXTURE_ARB 8311 09134 #endif 09135 09136 #ifndef WGL_MIPMAP_LEVEL_ARB 09137 #define WGL_MIPMAP_LEVEL_ARB 8315 09138 #endif 09139 09140 #ifndef WGL_CUBE_MAP_FACE_ARB 09141 #define WGL_CUBE_MAP_FACE_ARB 8316 09142 #endif 09143 09144 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 09145 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 8317 09146 #endif 09147 09148 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 09149 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 8318 09150 #endif 09151 09152 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 09153 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 8319 09154 #endif 09155 09156 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 09157 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 8320 09158 #endif 09159 09160 #ifndef WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 09161 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 8321 09162 #endif 09163 09164 #ifndef WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 09165 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 8322 09166 #endif 09167 09168 #ifndef WGL_FRONT_LEFT_ARB 09169 #define WGL_FRONT_LEFT_ARB 8323 09170 #endif 09171 09172 #ifndef WGL_FRONT_RIGHT_ARB 09173 #define WGL_FRONT_RIGHT_ARB 8324 09174 #endif 09175 09176 #ifndef WGL_BACK_LEFT_ARB 09177 #define WGL_BACK_LEFT_ARB 8325 09178 #endif 09179 09180 #ifndef WGL_BACK_RIGHT_ARB 09181 #define WGL_BACK_RIGHT_ARB 8326 09182 #endif 09183 09184 #ifndef WGL_AUX0_ARB 09185 #define WGL_AUX0_ARB 8327 09186 #endif 09187 09188 #ifndef WGL_AUX1_ARB 09189 #define WGL_AUX1_ARB 8328 09190 #endif 09191 09192 #ifndef WGL_AUX2_ARB 09193 #define WGL_AUX2_ARB 8329 09194 #endif 09195 09196 #ifndef WGL_AUX3_ARB 09197 #define WGL_AUX3_ARB 8330 09198 #endif 09199 09200 #ifndef WGL_AUX4_ARB 09201 #define WGL_AUX4_ARB 8331 09202 #endif 09203 09204 #ifndef WGL_AUX5_ARB 09205 #define WGL_AUX5_ARB 8332 09206 #endif 09207 09208 #ifndef WGL_AUX6_ARB 09209 #define WGL_AUX6_ARB 8333 09210 #endif 09211 09212 #ifndef WGL_AUX7_ARB 09213 #define WGL_AUX7_ARB 8334 09214 #endif 09215 09216 #ifndef WGL_AUX8_ARB 09217 #define WGL_AUX8_ARB 8335 09218 #endif 09219 09220 #ifndef WGL_AUX9_ARB 09221 #define WGL_AUX9_ARB 8336 09222 #endif 09223 09224 09230 typedef BOOL (csAPIENTRY* csWGLBINDTEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer); 09231 typedef BOOL (csAPIENTRY* csWGLRELEASETEXIMAGEARB) (HANDLE hPbuffer, GLint iBuffer); 09232 typedef BOOL (csAPIENTRY* csWGLSETPBUFFERATTRIBARB) (HANDLE hPbuffer, const GLint* piAttribList); 09233 09235 #endif 09236 09237 #ifdef _WIN32 09238 09247 typedef char* (csAPIENTRY* csWGLGETEXTENSIONSSTRINGEXT) (); 09248 09250 #endif 09251 09252 #ifdef _WIN32 09253 09262 typedef BOOL (csAPIENTRY* csWGLMAKECONTEXTCURRENTEXT) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc); 09263 typedef HDC (csAPIENTRY* csWGLGETCURRENTREADDCEXT) (); 09264 09266 #endif 09267 09268 #ifdef _WIN32 09269 09272 #ifndef WGL_DRAW_TO_PBUFFER_EXT 09273 #define WGL_DRAW_TO_PBUFFER_EXT 8237 09274 #endif 09275 09276 #ifndef WGL_MAX_PBUFFER_PIXELS_EXT 09277 #define WGL_MAX_PBUFFER_PIXELS_EXT 8238 09278 #endif 09279 09280 #ifndef WGL_MAX_PBUFFER_WIDTH_EXT 09281 #define WGL_MAX_PBUFFER_WIDTH_EXT 8239 09282 #endif 09283 09284 #ifndef WGL_MAX_PBUFFER_HEIGHT_EXT 09285 #define WGL_MAX_PBUFFER_HEIGHT_EXT 8240 09286 #endif 09287 09288 #ifndef WGL_OPTIMAL_PBUFFER_WIDTH_EXT 09289 #define WGL_OPTIMAL_PBUFFER_WIDTH_EXT 8241 09290 #endif 09291 09292 #ifndef WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 09293 #define WGL_OPTIMAL_PBUFFER_HEIGHT_EXT 8242 09294 #endif 09295 09296 #ifndef WGL_PBUFFER_LARGEST_EXT 09297 #define WGL_PBUFFER_LARGEST_EXT 8243 09298 #endif 09299 09300 #ifndef WGL_PBUFFER_WIDTH_EXT 09301 #define WGL_PBUFFER_WIDTH_EXT 8244 09302 #endif 09303 09304 #ifndef WGL_PBUFFER_HEIGHT_EXT 09305 #define WGL_PBUFFER_HEIGHT_EXT 8245 09306 #endif 09307 09308 09314 typedef HANDLE (csAPIENTRY* csWGLCREATEPBUFFEREXT) (HDC hDC, GLint iPixelFormat, GLint iWidth, GLint iHeight, const GLint* piAttribList); 09315 typedef HDC (csAPIENTRY* csWGLGETPBUFFERDCEXT) (HANDLE hPbuffer); 09316 typedef GLint (csAPIENTRY* csWGLRELEASEPBUFFERDCEXT) (HANDLE hPbuffer, HDC hDC); 09317 typedef BOOL (csAPIENTRY* csWGLDESTROYPBUFFEREXT) (HANDLE hPbuffer); 09318 typedef BOOL (csAPIENTRY* csWGLQUERYPBUFFEREXT) (HANDLE hPbuffer, GLint iAttribute, GLint* piValue); 09319 09321 #endif 09322 09323 #ifdef _WIN32 09324 09327 #ifndef WGL_NUMBER_PIXEL_FORMATS_EXT 09328 #define WGL_NUMBER_PIXEL_FORMATS_EXT 8192 09329 #endif 09330 09331 #ifndef WGL_DRAW_TO_WINDOW_EXT 09332 #define WGL_DRAW_TO_WINDOW_EXT 8193 09333 #endif 09334 09335 #ifndef WGL_DRAW_TO_BITMAP_EXT 09336 #define WGL_DRAW_TO_BITMAP_EXT 8194 09337 #endif 09338 09339 #ifndef WGL_ACCELERATION_EXT 09340 #define WGL_ACCELERATION_EXT 8195 09341 #endif 09342 09343 #ifndef WGL_NEED_PALETTE_EXT 09344 #define WGL_NEED_PALETTE_EXT 8196 09345 #endif 09346 09347 #ifndef WGL_NEED_SYSTEM_PALETTE_EXT 09348 #define WGL_NEED_SYSTEM_PALETTE_EXT 8197 09349 #endif 09350 09351 #ifndef WGL_SWAP_LAYER_BUFFERS_EXT 09352 #define WGL_SWAP_LAYER_BUFFERS_EXT 8198 09353 #endif 09354 09355 #ifndef WGL_SWAP_METHOD_EXT 09356 #define WGL_SWAP_METHOD_EXT 8199 09357 #endif 09358 09359 #ifndef WGL_NUMBER_OVERLAYS_EXT 09360 #define WGL_NUMBER_OVERLAYS_EXT 8200 09361 #endif 09362 09363 #ifndef WGL_NUMBER_UNDERLAYS_EXT 09364 #define WGL_NUMBER_UNDERLAYS_EXT 8201 09365 #endif 09366 09367 #ifndef WGL_TRANSPARENT_EXT 09368 #define WGL_TRANSPARENT_EXT 8202 09369 #endif 09370 09371 #ifndef WGL_TRANSPARENT_VALUE_EXT 09372 #define WGL_TRANSPARENT_VALUE_EXT 8203 09373 #endif 09374 09375 #ifndef WGL_SHARE_DEPTH_EXT 09376 #define WGL_SHARE_DEPTH_EXT 8204 09377 #endif 09378 09379 #ifndef WGL_SHARE_STENCIL_EXT 09380 #define WGL_SHARE_STENCIL_EXT 8205 09381 #endif 09382 09383 #ifndef WGL_SHARE_ACCUM_EXT 09384 #define WGL_SHARE_ACCUM_EXT 8206 09385 #endif 09386 09387 #ifndef WGL_SUPPORT_GDI_EXT 09388 #define WGL_SUPPORT_GDI_EXT 8207 09389 #endif 09390 09391 #ifndef WGL_SUPPORT_OPENGL_EXT 09392 #define WGL_SUPPORT_OPENGL_EXT 8208 09393 #endif 09394 09395 #ifndef WGL_DOUBLE_BUFFER_EXT 09396 #define WGL_DOUBLE_BUFFER_EXT 8209 09397 #endif 09398 09399 #ifndef WGL_STEREO_EXT 09400 #define WGL_STEREO_EXT 8210 09401 #endif 09402 09403 #ifndef WGL_PIXEL_TYPE_EXT 09404 #define WGL_PIXEL_TYPE_EXT 8211 09405 #endif 09406 09407 #ifndef WGL_COLOR_BITS_EXT 09408 #define WGL_COLOR_BITS_EXT 8212 09409 #endif 09410 09411 #ifndef WGL_RED_BITS_EXT 09412 #define WGL_RED_BITS_EXT 8213 09413 #endif 09414 09415 #ifndef WGL_RED_SHIFT_EXT 09416 #define WGL_RED_SHIFT_EXT 8214 09417 #endif 09418 09419 #ifndef WGL_GREEN_BITS_EXT 09420 #define WGL_GREEN_BITS_EXT 8215 09421 #endif 09422 09423 #ifndef WGL_GREEN_SHIFT_EXT 09424 #define WGL_GREEN_SHIFT_EXT 8216 09425 #endif 09426 09427 #ifndef WGL_BLUE_BITS_EXT 09428 #define WGL_BLUE_BITS_EXT 8217 09429 #endif 09430 09431 #ifndef WGL_BLUE_SHIFT_EXT 09432 #define WGL_BLUE_SHIFT_EXT 8218 09433 #endif 09434 09435 #ifndef WGL_ALPHA_BITS_EXT 09436 #define WGL_ALPHA_BITS_EXT 8219 09437 #endif 09438 09439 #ifndef WGL_ALPHA_SHIFT_EXT 09440 #define WGL_ALPHA_SHIFT_EXT 8220 09441 #endif 09442 09443 #ifndef WGL_ACCUM_BITS_EXT 09444 #define WGL_ACCUM_BITS_EXT 8221 09445 #endif 09446 09447 #ifndef WGL_ACCUM_RED_BITS_EXT 09448 #define WGL_ACCUM_RED_BITS_EXT 8222 09449 #endif 09450 09451 #ifndef WGL_ACCUM_GREEN_BITS_EXT 09452 #define WGL_ACCUM_GREEN_BITS_EXT 8223 09453 #endif 09454 09455 #ifndef WGL_ACCUM_BLUE_BITS_EXT 09456 #define WGL_ACCUM_BLUE_BITS_EXT 8224 09457 #endif 09458 09459 #ifndef WGL_ACCUM_ALPHA_BITS_EXT 09460 #define WGL_ACCUM_ALPHA_BITS_EXT 8225 09461 #endif 09462 09463 #ifndef WGL_DEPTH_BITS_EXT 09464 #define WGL_DEPTH_BITS_EXT 8226 09465 #endif 09466 09467 #ifndef WGL_STENCIL_BITS_EXT 09468 #define WGL_STENCIL_BITS_EXT 8227 09469 #endif 09470 09471 #ifndef WGL_AUX_BUFFERS_EXT 09472 #define WGL_AUX_BUFFERS_EXT 8228 09473 #endif 09474 09475 #ifndef WGL_NO_ACCELERATION_EXT 09476 #define WGL_NO_ACCELERATION_EXT 8229 09477 #endif 09478 09479 #ifndef WGL_GENERIC_ACCELERATION_EXT 09480 #define WGL_GENERIC_ACCELERATION_EXT 8230 09481 #endif 09482 09483 #ifndef WGL_FULL_ACCELERATION_EXT 09484 #define WGL_FULL_ACCELERATION_EXT 8231 09485 #endif 09486 09487 #ifndef WGL_SWAP_EXCHANGE_EXT 09488 #define WGL_SWAP_EXCHANGE_EXT 8232 09489 #endif 09490 09491 #ifndef WGL_SWAP_COPY_EXT 09492 #define WGL_SWAP_COPY_EXT 8233 09493 #endif 09494 09495 #ifndef WGL_SWAP_UNDEFINED_EXT 09496 #define WGL_SWAP_UNDEFINED_EXT 8234 09497 #endif 09498 09499 #ifndef WGL_TYPE_RGBA_EXT 09500 #define WGL_TYPE_RGBA_EXT 8235 09501 #endif 09502 09503 #ifndef WGL_TYPE_COLORINDEX_EXT 09504 #define WGL_TYPE_COLORINDEX_EXT 8236 09505 #endif 09506 09507 09513 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBIVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLint* piValues); 09514 typedef BOOL (csAPIENTRY* csWGLGETPIXELFORMATATTRIBFVEXT) (HDC hdc, GLint iPixelFormat, GLint iLayerPlane, GLuint nAttributes, GLint* piAttributes, GLfloat* pfValues); 09515 typedef BOOL (csAPIENTRY* csWGLCHOOSEPIXELFORMATEXT) (HDC hdc, const GLint* piAttribIList, const GLfloat* pfAttribFList, GLuint nMaxFormats, GLint* piFormats, GLuint* nNumFormats); 09516 09518 #endif 09519 09520 #ifdef _WIN32 09521 09524 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 09525 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 8272 09526 #endif 09527 09528 #ifndef WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 09529 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D 8273 09530 #endif 09531 09532 #ifndef WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 09533 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D 8274 09534 #endif 09535 09536 #ifndef WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 09537 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D 8275 09538 #endif 09539 09540 09546 typedef BOOL (csAPIENTRY* csWGLGETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue); 09547 typedef BOOL (csAPIENTRY* csWGLSETDIGITALVIDEOPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue); 09548 09550 #endif 09551 09552 #ifdef _WIN32 09553 09556 #ifndef WGL_GAMMA_TABLE_SIZE_I3D 09557 #define WGL_GAMMA_TABLE_SIZE_I3D 8270 09558 #endif 09559 09560 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D 09561 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 8271 09562 #endif 09563 09564 #ifndef WGL_GAMMA_EXCLUDE_DESKTOP_I3D 09565 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D 8271 09566 #endif 09567 09568 09574 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, GLint* piValue); 09575 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEPARAMETERSI3D) (HDC hDC, GLint iAttribute, const GLint* piValue); 09576 typedef BOOL (csAPIENTRY* csWGLGETGAMMATABLEI3D) (HDC hDC, GLint iEntries, GLushort* puRed, GLushort* puGreen, GLushort* puBlue); 09577 typedef BOOL (csAPIENTRY* csWGLSETGAMMATABLEI3D) (HDC hDC, GLint iEntries, const GLushort* puRed, const GLushort* puGreen, const GLushort* puBlue); 09578 09580 #endif 09581 09582 #ifdef _WIN32 09583 09586 #ifndef WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 09587 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D 8260 09588 #endif 09589 09590 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 09591 #define WGL_GENLOCK_SOURCE_EXTERNAL_SYNC_I3D 8261 09592 #endif 09593 09594 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 09595 #define WGL_GENLOCK_SOURCE_EXTERNAL_FIELD_I3D 8262 09596 #endif 09597 09598 #ifndef WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 09599 #define WGL_GENLOCK_SOURCE_EXTERNAL_TTL_I3D 8263 09600 #endif 09601 09602 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 09603 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D 8264 09604 #endif 09605 09606 #ifndef WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 09607 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 8265 09608 #endif 09609 09610 #ifndef WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 09611 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D 8266 09612 #endif 09613 09614 #ifndef WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 09615 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D 8267 09616 #endif 09617 09618 #ifndef WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 09619 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D 8268 09620 #endif 09621 09622 09628 typedef BOOL (csAPIENTRY* csWGLENABLEGENLOCKI3D) (HDC hDC); 09629 typedef BOOL (csAPIENTRY* csWGLDISABLEGENLOCKI3D) (HDC hDC); 09630 typedef BOOL (csAPIENTRY* csWGLISENABLEDGENLOCKI3D) (HDC hDC, BOOL* pFlag); 09631 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEI3D) (HDC hDC, GLuint uSource); 09632 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEI3D) (HDC hDC, GLuint* uSource); 09633 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint uEdge); 09634 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEEDGEI3D) (HDC hDC, GLuint* uEdge); 09635 typedef BOOL (csAPIENTRY* csWGLGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint uRate); 09636 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSAMPLERATEI3D) (HDC hDC, GLuint* uRate); 09637 typedef BOOL (csAPIENTRY* csWGLGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint uDelay); 09638 typedef BOOL (csAPIENTRY* csWGLGETGENLOCKSOURCEDELAYI3D) (HDC hDC, GLuint* uDelay); 09639 typedef BOOL (csAPIENTRY* csWGLQUERYGENLOCKMAXSOURCEDELAYI3D) (HDC hDC, GLuint* uMaxLineDelay, GLuint* uMaxPixelDelay); 09640 09642 #endif 09643 09647 #ifndef GL_MATRIX_PALETTE_ARB 09648 #define GL_MATRIX_PALETTE_ARB 34880 09649 #endif 09650 09651 #ifndef GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 09652 #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 34881 09653 #endif 09654 09655 #ifndef GL_MAX_PALETTE_MATRICES_ARB 09656 #define GL_MAX_PALETTE_MATRICES_ARB 34882 09657 #endif 09658 09659 #ifndef GL_CURRENT_PALETTE_MATRIX_ARB 09660 #define GL_CURRENT_PALETTE_MATRIX_ARB 34883 09661 #endif 09662 09663 #ifndef GL_MATRIX_INDEX_ARRAY_ARB 09664 #define GL_MATRIX_INDEX_ARRAY_ARB 34884 09665 #endif 09666 09667 #ifndef GL_CURRENT_MATRIX_INDEX_ARB 09668 #define GL_CURRENT_MATRIX_INDEX_ARB 34885 09669 #endif 09670 09671 #ifndef GL_MATRIX_INDEX_ARRAY_SIZE_ARB 09672 #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 34886 09673 #endif 09674 09675 #ifndef GL_MATRIX_INDEX_ARRAY_TYPE_ARB 09676 #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 34887 09677 #endif 09678 09679 #ifndef GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 09680 #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 34888 09681 #endif 09682 09683 #ifndef GL_MATRIX_INDEX_ARRAY_POINTER_ARB 09684 #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 34889 09685 #endif 09686 09687 09693 typedef GLvoid (csAPIENTRY* csGLCURRENTPALETTEMATRIXARB) (GLint index); 09694 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUBVARB) (GLint size, GLubyte* indices); 09695 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUSVARB) (GLint size, GLushort* indices); 09696 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXUIVARB) (GLint size, GLuint* indices); 09697 typedef GLvoid (csAPIENTRY* csGLMATRIXINDEXPOINTERARB) (GLint size, GLenum type, GLsizei stride, GLvoid* pointer); 09698 09703 #ifndef GL_ELEMENT_ARRAY_TYPE_NV 09704 #define GL_ELEMENT_ARRAY_TYPE_NV 34665 09705 #endif 09706 09707 #ifndef GL_ELEMENT_ARRAY_POINTER_NV 09708 #define GL_ELEMENT_ARRAY_POINTER_NV 34666 09709 #endif 09710 09711 09717 typedef GLvoid (csAPIENTRY* csGLELEMENTPOINTERNV) (GLenum type, const GLvoid* pointer); 09718 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTARRAYNV) (GLenum mode, GLint first, GLsizei count); 09719 typedef GLvoid (csAPIENTRY* csGLDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); 09720 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWELEMENTARRAYNV) (GLenum mode, const GLint* first, const GLsizei* count, GLsizei primcount); 09721 typedef GLvoid (csAPIENTRY* csGLMULTIDRAWRANGEELEMENTARRAYNV) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei* count, GLsizei primcount); 09722 09727 #ifndef GL_FLOAT_R_NV 09728 #define GL_FLOAT_R_NV 34944 09729 #endif 09730 09731 #ifndef GL_FLOAT_RG_NV 09732 #define GL_FLOAT_RG_NV 34945 09733 #endif 09734 09735 #ifndef GL_FLOAT_RGB_NV 09736 #define GL_FLOAT_RGB_NV 34946 09737 #endif 09738 09739 #ifndef GL_FLOAT_RGBA_NV 09740 #define GL_FLOAT_RGBA_NV 34947 09741 #endif 09742 09743 #ifndef GL_FLOAT_R16_NV 09744 #define GL_FLOAT_R16_NV 34948 09745 #endif 09746 09747 #ifndef GL_FLOAT_R32_NV 09748 #define GL_FLOAT_R32_NV 34949 09749 #endif 09750 09751 #ifndef GL_FLOAT_RG16_NV 09752 #define GL_FLOAT_RG16_NV 34950 09753 #endif 09754 09755 #ifndef GL_FLOAT_RG32_NV 09756 #define GL_FLOAT_RG32_NV 34951 09757 #endif 09758 09759 #ifndef GL_FLOAT_RGB16_NV 09760 #define GL_FLOAT_RGB16_NV 34952 09761 #endif 09762 09763 #ifndef GL_FLOAT_RGB32_NV 09764 #define GL_FLOAT_RGB32_NV 34953 09765 #endif 09766 09767 #ifndef GL_FLOAT_RGBA16_NV 09768 #define GL_FLOAT_RGBA16_NV 34954 09769 #endif 09770 09771 #ifndef GL_FLOAT_RGBA32_NV 09772 #define GL_FLOAT_RGBA32_NV 34955 09773 #endif 09774 09775 #ifndef GL_TEXTURE_FLOAT_COMPONENTS_NV 09776 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 34956 09777 #endif 09778 09779 #ifndef GL_FLOAT_CLEAR_COLOR_VALUE_NV 09780 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 34957 09781 #endif 09782 09783 #ifndef GL_FLOAT_RGBA_MODE_NV 09784 #define GL_FLOAT_RGBA_MODE_NV 34958 09785 #endif 09786 09787 #ifndef WGL_FLOAT_COMPONENTS_NV 09788 #define WGL_FLOAT_COMPONENTS_NV 8368 09789 #endif 09790 09791 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 09792 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 8369 09793 #endif 09794 09795 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 09796 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 8370 09797 #endif 09798 09799 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 09800 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 8371 09801 #endif 09802 09803 #ifndef WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 09804 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 8372 09805 #endif 09806 09807 #ifndef WGL_TEXTURE_FLOAT_R_NV 09808 #define WGL_TEXTURE_FLOAT_R_NV 8373 09809 #endif 09810 09811 #ifndef WGL_TEXTURE_FLOAT_RG_NV 09812 #define WGL_TEXTURE_FLOAT_RG_NV 8374 09813 #endif 09814 09815 #ifndef WGL_TEXTURE_FLOAT_RGB_NV 09816 #define WGL_TEXTURE_FLOAT_RGB_NV 8375 09817 #endif 09818 09819 #ifndef WGL_TEXTURE_FLOAT_RGBA_NV 09820 #define WGL_TEXTURE_FLOAT_RGBA_NV 8376 09821 #endif 09822 09823 09834 #ifndef GL_FRAGMENT_PROGRAM_NV 09835 #define GL_FRAGMENT_PROGRAM_NV 34928 09836 #endif 09837 09838 #ifndef GL_MAX_TEXTURE_COORDS_NV 09839 #define GL_MAX_TEXTURE_COORDS_NV 34929 09840 #endif 09841 09842 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_NV 09843 #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 34930 09844 #endif 09845 09846 #ifndef GL_FRAGMENT_PROGRAM_BINDING_NV 09847 #define GL_FRAGMENT_PROGRAM_BINDING_NV 34931 09848 #endif 09849 09850 #ifndef GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 09851 #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 34920 09852 #endif 09853 09854 #ifndef GL_PROGRAM_ERROR_STRING_NV 09855 #define GL_PROGRAM_ERROR_STRING_NV 34932 09856 #endif 09857 09858 09864 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4FNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 09865 typedef GLvoid (csAPIENTRY* csGLPROGRAMNAMEDPARAMETER4DNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); 09866 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERFVNV) (GLuint id, GLsizei len, const GLubyte* name, GLfloat* params); 09867 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMNAMEDPARAMETERDVNV) (GLuint id, GLsizei len, const GLubyte* name, GLdouble* params); 09868 09873 #ifndef GL_PRIMITIVE_RESTART_NV 09874 #define GL_PRIMITIVE_RESTART_NV 34136 09875 #endif 09876 09877 #ifndef GL_PRIMITIVE_RESTART_INDEX_NV 09878 #define GL_PRIMITIVE_RESTART_INDEX_NV 34137 09879 #endif 09880 09881 09887 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTNV) (); 09888 typedef GLvoid (csAPIENTRY* csGLPRIMITIVERESTARTINDEXNV) (GLuint index); 09889 09905 #ifndef GL_ARRAY_BUFFER_ARB 09906 #define GL_ARRAY_BUFFER_ARB 34962 09907 #endif 09908 09909 #ifndef GL_ELEMENT_ARRAY_BUFFER_ARB 09910 #define GL_ELEMENT_ARRAY_BUFFER_ARB 34963 09911 #endif 09912 09913 #ifndef GL_ARRAY_BUFFER_BINDING_ARB 09914 #define GL_ARRAY_BUFFER_BINDING_ARB 34964 09915 #endif 09916 09917 #ifndef GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 09918 #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 34965 09919 #endif 09920 09921 #ifndef GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 09922 #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 34966 09923 #endif 09924 09925 #ifndef GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 09926 #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 34967 09927 #endif 09928 09929 #ifndef GL_COLOR_ARRAY_BUFFER_BINDING_ARB 09930 #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 34968 09931 #endif 09932 09933 #ifndef GL_INDEX_ARRAY_BUFFER_BINDING_ARB 09934 #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 34969 09935 #endif 09936 09937 #ifndef GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 09938 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 34970 09939 #endif 09940 09941 #ifndef GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 09942 #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 34971 09943 #endif 09944 09945 #ifndef GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 09946 #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 34972 09947 #endif 09948 09949 #ifndef GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 09950 #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 34973 09951 #endif 09952 09953 #ifndef GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 09954 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 34974 09955 #endif 09956 09957 #ifndef GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 09958 #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 34975 09959 #endif 09960 09961 #ifndef GL_STREAM_DRAW_ARB 09962 #define GL_STREAM_DRAW_ARB 35040 09963 #endif 09964 09965 #ifndef GL_STREAM_READ_ARB 09966 #define GL_STREAM_READ_ARB 35041 09967 #endif 09968 09969 #ifndef GL_STREAM_COPY_ARB 09970 #define GL_STREAM_COPY_ARB 35042 09971 #endif 09972 09973 #ifndef GL_STATIC_DRAW_ARB 09974 #define GL_STATIC_DRAW_ARB 35044 09975 #endif 09976 09977 #ifndef GL_STATIC_READ_ARB 09978 #define GL_STATIC_READ_ARB 35045 09979 #endif 09980 09981 #ifndef GL_STATIC_COPY_ARB 09982 #define GL_STATIC_COPY_ARB 35046 09983 #endif 09984 09985 #ifndef GL_DYNAMIC_DRAW_ARB 09986 #define GL_DYNAMIC_DRAW_ARB 35048 09987 #endif 09988 09989 #ifndef GL_DYNAMIC_READ_ARB 09990 #define GL_DYNAMIC_READ_ARB 35049 09991 #endif 09992 09993 #ifndef GL_DYNAMIC_COPY_ARB 09994 #define GL_DYNAMIC_COPY_ARB 35050 09995 #endif 09996 09997 #ifndef GL_READ_ONLY_ARB 09998 #define GL_READ_ONLY_ARB 35000 09999 #endif 10000 10001 #ifndef GL_WRITE_ONLY_ARB 10002 #define GL_WRITE_ONLY_ARB 35001 10003 #endif 10004 10005 #ifndef GL_READ_WRITE_ARB 10006 #define GL_READ_WRITE_ARB 35002 10007 #endif 10008 10009 #ifndef GL_BUFFER_SIZE_ARB 10010 #define GL_BUFFER_SIZE_ARB 34660 10011 #endif 10012 10013 #ifndef GL_BUFFER_USAGE_ARB 10014 #define GL_BUFFER_USAGE_ARB 34661 10015 #endif 10016 10017 #ifndef GL_BUFFER_ACCESS_ARB 10018 #define GL_BUFFER_ACCESS_ARB 35003 10019 #endif 10020 10021 #ifndef GL_BUFFER_MAPPED_ARB 10022 #define GL_BUFFER_MAPPED_ARB 35004 10023 #endif 10024 10025 #ifndef GL_BUFFER_MAP_POINTER_ARB 10026 #define GL_BUFFER_MAP_POINTER_ARB 35005 10027 #endif 10028 10029 10035 typedef GLvoid (csAPIENTRY* csGLBINDBUFFERARB) (GLenum target, GLuint buffer); 10036 typedef GLvoid (csAPIENTRY* csGLDELETEBUFFERSARB) (GLsizei n, const GLuint* buffers); 10037 typedef GLvoid (csAPIENTRY* csGLGENBUFFERSARB) (GLsizei n, GLuint* buffers); 10038 typedef GLvoid (csAPIENTRY* csGLBUFFERDATAARB) (GLenum target, GLsizei size, const GLvoid* data, GLenum usage); 10039 typedef GLvoid (csAPIENTRY* csGLBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, const GLvoid* data); 10040 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERARB) (GLenum target, GLenum access); 10041 typedef GLboolean (csAPIENTRY* csGLUNMAPBUFFERARB) (GLenum target); 10042 typedef GLboolean (csAPIENTRY* csGLISBUFFERARB) (GLuint buffer); 10043 typedef GLvoid (csAPIENTRY* csGLGETBUFFERSUBDATAARB) (GLenum target, GLsizei offset, GLsizei size, GLvoid* data); 10044 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPOINTERVARB) (GLenum target, GLenum pname, GLvoid** params); 10045 typedef GLvoid (csAPIENTRY* csGLGETBUFFERPARAMETERIVARB) (GLenum target, GLenum pname, GLint* params); 10046 10051 #ifndef GL_STENCIL_BACK_FUNC_ATI 10052 #define GL_STENCIL_BACK_FUNC_ATI 0x8800 10053 #endif 10054 10055 #ifndef GL_STENCIL_BACK_FAIL_ATI 10056 #define GL_STENCIL_BACK_FAIL_ATI 0x8801 10057 #endif 10058 10059 #ifndef GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 10060 #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 10061 #endif 10062 10063 #ifndef GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 10064 #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 10065 #endif 10066 10067 10073 typedef GLvoid (csAPIENTRY* csGLSTENCILOPSEPARATEATI) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); 10074 typedef GLvoid (csAPIENTRY* csGLSTENCILFUNCSEPARATEATI) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); 10075 10091 #ifndef GL_POINT_SPRITE_ARB 10092 #define GL_POINT_SPRITE_ARB 0x8861 10093 #endif 10094 10095 #ifndef GL_COORD_REPLACE_ARB 10096 #define GL_COORD_REPLACE_ARB 0x8862 10097 #endif 10098 10099 10121 #ifndef GL_PROGRAM_OBJECT_ARB 10122 #define GL_PROGRAM_OBJECT_ARB 0x8B40 10123 #endif 10124 10125 #ifndef GL_OBJECT_TYPE_ARB 10126 #define GL_OBJECT_TYPE_ARB 0x8B4E 10127 #endif 10128 10129 #ifndef GL_OBJECT_SUBTYPE_ARB 10130 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F 10131 #endif 10132 10133 #ifndef GL_OBJECT_DELETE_STATUS_ARB 10134 #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 10135 #endif 10136 10137 #ifndef GL_OBJECT_COMPILE_STATUS_ARB 10138 #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 10139 #endif 10140 10141 #ifndef GL_OBJECT_LINK_STATUS_ARB 10142 #define GL_OBJECT_LINK_STATUS_ARB 0x8B82 10143 #endif 10144 10145 #ifndef GL_OBJECT_VALIDATE_STATUS_ARB 10146 #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 10147 #endif 10148 10149 #ifndef GL_OBJECT_INFO_LOG_LENGTH_ARB 10150 #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 10151 #endif 10152 10153 #ifndef GL_OBJECT_ATTACHED_OBJECTS_ARB 10154 #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 10155 #endif 10156 10157 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_ARB 10158 #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 10159 #endif 10160 10161 #ifndef GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB 10162 #define GL_OBJECT_ACTIVE_UNIFORMS_MAX_LENGTH_ARB 0x8B87 10163 #endif 10164 10165 #ifndef GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 10166 #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 10167 #endif 10168 10169 #ifndef GL_SHADER_OBJECT_ARB 10170 #define GL_SHADER_OBJECT_ARB 0x8B48 10171 #endif 10172 10173 #ifndef GL_FLOAT_VEC2_ARB 10174 #define GL_FLOAT_VEC2_ARB 0x8B50 10175 #endif 10176 10177 #ifndef GL_FLOAT_VEC3_ARB 10178 #define GL_FLOAT_VEC3_ARB 0x8B51 10179 #endif 10180 10181 #ifndef GL_FLOAT_VEC4_ARB 10182 #define GL_FLOAT_VEC4_ARB 0x8B52 10183 #endif 10184 10185 #ifndef GL_INT_VEC2_ARB 10186 #define GL_INT_VEC2_ARB 0x8B53 10187 #endif 10188 10189 #ifndef GL_INT_VEC3_ARB 10190 #define GL_INT_VEC3_ARB 0x8B54 10191 #endif 10192 10193 #ifndef GL_INT_VEC4_ARB 10194 #define GL_INT_VEC4_ARB 0x8B55 10195 #endif 10196 10197 #ifndef GL_BOOL 10198 #define GL_BOOL 0x8B56 10199 #endif 10200 10201 #ifndef GL_BOOL_VEC2_ARB 10202 #define GL_BOOL_VEC2_ARB 0x8B57 10203 #endif 10204 10205 #ifndef GL_BOOL_VEC3_ARB 10206 #define GL_BOOL_VEC3_ARB 0x8B58 10207 #endif 10208 10209 #ifndef GL_BOOL_VEC4_ARB 10210 #define GL_BOOL_VEC4_ARB 0x8B59 10211 #endif 10212 10213 #ifndef GL_FLOAT_MAT2_ARB 10214 #define GL_FLOAT_MAT2_ARB 0x8B5A 10215 #endif 10216 10217 #ifndef GL_FLOAT_MAT3_ARB 10218 #define GL_FLOAT_MAT3_ARB 0x8B5B 10219 #endif 10220 10221 #ifndef GL_FLOAT_MAT4_ARB 10222 #define GL_FLOAT_MAT4_ARB 0x8B5C 10223 #endif 10224 10225 10231 typedef GLvoid (csAPIENTRY* csGLDELETEOBJECTARB) (GLhandleARB obj); 10232 typedef GLhandleARB (csAPIENTRY* csGLGETHANDLEARB) (GLenum pname); 10233 typedef GLvoid (csAPIENTRY* csGLDETACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB attachedObj); 10234 typedef GLhandleARB (csAPIENTRY* csGLCREATESHADEROBJECTARB) (GLenum shaderType); 10235 typedef GLvoid (csAPIENTRY* csGLSHADERSOURCEARB) (GLhandleARB shaderObj, GLsizei count, const GLcharARB** string, const GLint* length); 10236 typedef GLvoid (csAPIENTRY* csGLCOMPILESHADERARB) (GLhandleARB shaderObj); 10237 typedef GLhandleARB (csAPIENTRY* csGLCREATEPROGRAMOBJECTARB) (); 10238 typedef GLvoid (csAPIENTRY* csGLATTACHOBJECTARB) (GLhandleARB containerObj, GLhandleARB Obj); 10239 typedef GLvoid (csAPIENTRY* csGLLINKPROGRAMARB) (GLhandleARB programObj); 10240 typedef GLvoid (csAPIENTRY* csGLUSEPROGRAMOBJECTARB) (GLhandleARB programObj); 10241 typedef GLvoid (csAPIENTRY* csGLVALIDATEPROGRAMARB) (GLhandleARB programObj); 10242 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FARB) (GLint location, GLfloat v0); 10243 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FARB) (GLint location, GLfloat v0, GLfloat v1); 10244 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); 10245 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FARB) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); 10246 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IARB) (GLint location, GLint v0); 10247 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IARB) (GLint location, GLint v0, GLint v1); 10248 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IARB) (GLint location, GLint v0, GLint v1, GLint v2); 10249 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IARB) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); 10250 typedef GLvoid (csAPIENTRY* csGLUNIFORM1FVARB) (GLint location, GLsizei count, GLfloat* value); 10251 typedef GLvoid (csAPIENTRY* csGLUNIFORM2FVARB) (GLint location, GLsizei count, GLfloat* value); 10252 typedef GLvoid (csAPIENTRY* csGLUNIFORM3FVARB) (GLint location, GLsizei count, GLfloat* value); 10253 typedef GLvoid (csAPIENTRY* csGLUNIFORM4FVARB) (GLint location, GLsizei count, GLfloat* value); 10254 typedef GLvoid (csAPIENTRY* csGLUNIFORM1IVARB) (GLint location, GLsizei count, GLint* value); 10255 typedef GLvoid (csAPIENTRY* csGLUNIFORM2IVARB) (GLint location, GLsizei count, GLint* value); 10256 typedef GLvoid (csAPIENTRY* csGLUNIFORM3IVARB) (GLint location, GLsizei count, GLint* value); 10257 typedef GLvoid (csAPIENTRY* csGLUNIFORM4IVARB) (GLint location, GLsizei count, GLint* value); 10258 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX2FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 10259 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX3FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 10260 typedef GLvoid (csAPIENTRY* csGLUNIFORMMATRIX4FVARB) (GLint location, GLsizei count, GLboolean transpose, GLfloat* value); 10261 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERFVARB) (GLhandleARB obj, GLenum pname, GLfloat* params); 10262 typedef GLvoid (csAPIENTRY* csGLGETOBJECTPARAMETERIVARB) (GLhandleARB obj, GLenum pname, GLint* params); 10263 typedef GLvoid (csAPIENTRY* csGLGETINFOLOGARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* infoLog); 10264 typedef GLvoid (csAPIENTRY* csGLGETATTACHEDOBJECTSARB) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB* obj); 10265 typedef GLint (csAPIENTRY* csGLGETUNIFORMLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name); 10266 typedef GLvoid (csAPIENTRY* csGLGETACTIVEUNIFORMARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name); 10267 typedef GLint (csAPIENTRY* csGLGETUNIFORMFVARB) (GLhandleARB programObj, GLint location, GLfloat* params); 10268 typedef GLint (csAPIENTRY* csGLGETUNIFORMIVARB) (GLhandleARB programObj, GLint location, GLint* params); 10269 typedef GLvoid (csAPIENTRY* csGLGETSHADERSOURCEARB) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB* source); 10270 10275 #ifndef GL_FRAGMENT_SHADER_ARB 10276 #define GL_FRAGMENT_SHADER_ARB 0x8B30 10277 #endif 10278 10279 #ifndef GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 10280 #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 10281 #endif 10282 10283 #ifndef GL_MAX_TEXTURE_COORDS_ARB 10284 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 10285 #endif 10286 10287 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB 10288 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 10289 #endif 10290 10291 #ifndef GL_OBJECT_TYPE_ARB 10292 #define GL_OBJECT_TYPE_ARB 0x8B4E 10293 #endif 10294 10295 #ifndef GL_OBJECT_SUBTYPE_ARB 10296 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F 10297 #endif 10298 10299 #ifndef GL_SHADER_OBJECT_ARB 10300 #define GL_SHADER_OBJECT_ARB 0x8B48 10301 #endif 10302 10303 10314 #ifndef GL_VERTEX_SHADER_ARB 10315 #define GL_VERTEX_SHADER_ARB 0x8B31 10316 #endif 10317 10318 #ifndef GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 10319 #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A 10320 #endif 10321 10322 #ifndef GL_MAX_VARYING_FLOATS_ARB 10323 #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B 10324 #endif 10325 10326 #ifndef GL_MAX_VERTEX_ATTRIBS_ARB 10327 #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 10328 #endif 10329 10330 #ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB 10331 #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 10332 #endif 10333 10334 #ifndef GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 10335 #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x884C 10336 #endif 10337 10338 #ifndef GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 10339 #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x884D 10340 #endif 10341 10342 #ifndef GL_MAX_TEXTURE_COORDS_ARB 10343 #define GL_MAX_TEXTURE_COORDS_ARB 0x8871 10344 #endif 10345 10346 #ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB 10347 #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 10348 #endif 10349 10350 #ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB 10351 #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 10352 #endif 10353 10354 #ifndef GL_OBJECT_TYPE_ARB 10355 #define GL_OBJECT_TYPE_ARB 0x8B4E 10356 #endif 10357 10358 #ifndef GL_OBJECT_SUBTYPE_ARB 10359 #define GL_OBJECT_SUBTYPE_ARB 0x8B4F 10360 #endif 10361 10362 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 10363 #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 10364 #endif 10365 10366 #ifndef GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 10367 #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A 10368 #endif 10369 10370 #ifndef GL_SHADER_OBJECT_ARB 10371 #define GL_SHADER_OBJECT_ARB 0x8B48 10372 #endif 10373 10374 #ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 10375 #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 10376 #endif 10377 10378 #ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 10379 #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 10380 #endif 10381 10382 #ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 10383 #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 10384 #endif 10385 10386 #ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 10387 #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 10388 #endif 10389 10390 #ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 10391 #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A 10392 #endif 10393 10394 #ifndef GL_CURRENT_VERTEX_ATTRIB_ARB 10395 #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 10396 #endif 10397 10398 #ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 10399 #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 10400 #endif 10401 10402 #ifndef GL_FLOAT_VEC2_ARB 10403 #define GL_FLOAT_VEC2_ARB 0x8B50 10404 #endif 10405 10406 #ifndef GL_FLOAT_VEC3_ARB 10407 #define GL_FLOAT_VEC3_ARB 0x8B51 10408 #endif 10409 10410 #ifndef GL_FLOAT_VEC4_ARB 10411 #define GL_FLOAT_VEC4_ARB 0x8B52 10412 #endif 10413 10414 #ifndef GL_FLOAT_MAT2_ARB 10415 #define GL_FLOAT_MAT2_ARB 0x8B5A 10416 #endif 10417 10418 #ifndef GL_FLOAT_MAT3_ARB 10419 #define GL_FLOAT_MAT3_ARB 0x8B5B 10420 #endif 10421 10422 #ifndef GL_FLOAT_MAT4_ARB 10423 #define GL_FLOAT_MAT4_ARB 0x8B5C 10424 #endif 10425 10426 10432 typedef GLvoid (csAPIENTRY* csGLBINDATTRIBLOCATIONARB) (GLhandleARB programObj, GLuint index, const GLcharARB* name); 10433 typedef GLvoid (csAPIENTRY* csGLGETACTIVEATTRIBARB) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLcharARB* name); 10434 typedef GLint (csAPIENTRY* csGLGETATTRIBLOCATIONARB) (GLhandleARB programObj, const GLcharARB* name); 10435 10440 #ifndef GL_PIXEL_PACK_BUFFER_ARB 10441 #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB 10442 #endif 10443 10444 #ifndef GL_PIXEL_UNPACK_BUFFER_ARB 10445 #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC 10446 #endif 10447 10448 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_ARB 10449 #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED 10450 #endif 10451 10452 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 10453 #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF 10454 #endif 10455 10456 10467 #ifndef GL_TEXTURE_RECTANGLE_ARB 10468 #define GL_TEXTURE_RECTANGLE_ARB 0x84F5 10469 #endif 10470 10471 #ifndef GL_TEXTURE_BINDING_RECTANGLE_ARB 10472 #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 10473 #endif 10474 10475 #ifndef GL_PROXY_TEXTURE_RECTANGLE_ARB 10476 #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 10477 #endif 10478 10479 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 10480 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 10481 #endif 10482 10483 10494 #ifndef GL_FRAMEBUFFER_EXT 10495 #define GL_FRAMEBUFFER_EXT 0x8D40 10496 #endif 10497 10498 #ifndef GL_RENDERBUFFER_EXT 10499 #define GL_RENDERBUFFER_EXT 0x8D41 10500 #endif 10501 10502 #ifndef GL_STENCIL_INDEX_EXT 10503 #define GL_STENCIL_INDEX_EXT 0x8D45 10504 #endif 10505 10506 #ifndef GL_STENCIL_INDEX1_EXT 10507 #define GL_STENCIL_INDEX1_EXT 0x8D46 10508 #endif 10509 10510 #ifndef GL_STENCIL_INDEX4_EXT 10511 #define GL_STENCIL_INDEX4_EXT 0x8D47 10512 #endif 10513 10514 #ifndef GL_STENCIL_INDEX8_EXT 10515 #define GL_STENCIL_INDEX8_EXT 0x8D48 10516 #endif 10517 10518 #ifndef GL_STENCIL_INDEX16_EXT 10519 #define GL_STENCIL_INDEX16_EXT 0x8D49 10520 #endif 10521 10522 #ifndef GL_RENDERBUFFER_WIDTH_EXT 10523 #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 10524 #endif 10525 10526 #ifndef GL_RENDERBUFFER_HEIGHT_EXT 10527 #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 10528 #endif 10529 10530 #ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 10531 #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 10532 #endif 10533 10534 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 10535 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 10536 #endif 10537 10538 #ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 10539 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 10540 #endif 10541 10542 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 10543 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 10544 #endif 10545 10546 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 10547 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 10548 #endif 10549 10550 #ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 10551 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 10552 #endif 10553 10554 #ifndef GL_COLOR_ATTACHMENT0_EXT 10555 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 10556 #endif 10557 10558 #ifndef GL_COLOR_ATTACHMENT1_EXT 10559 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 10560 #endif 10561 10562 #ifndef GL_COLOR_ATTACHMENT2_EXT 10563 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 10564 #endif 10565 10566 #ifndef GL_COLOR_ATTACHMENT3_EXT 10567 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 10568 #endif 10569 10570 #ifndef GL_COLOR_ATTACHMENT4_EXT 10571 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 10572 #endif 10573 10574 #ifndef GL_COLOR_ATTACHMENT5_EXT 10575 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 10576 #endif 10577 10578 #ifndef GL_COLOR_ATTACHMENT6_EXT 10579 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 10580 #endif 10581 10582 #ifndef GL_COLOR_ATTACHMENT7_EXT 10583 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 10584 #endif 10585 10586 #ifndef GL_COLOR_ATTACHMENT8_EXT 10587 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 10588 #endif 10589 10590 #ifndef GL_COLOR_ATTACHMENT9_EXT 10591 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 10592 #endif 10593 10594 #ifndef GL_COLOR_ATTACHMENT10_EXT 10595 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA 10596 #endif 10597 10598 #ifndef GL_COLOR_ATTACHMENT11_EXT 10599 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB 10600 #endif 10601 10602 #ifndef GL_COLOR_ATTACHMENT12_EXT 10603 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC 10604 #endif 10605 10606 #ifndef GL_COLOR_ATTACHMENT13_EXT 10607 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED 10608 #endif 10609 10610 #ifndef GL_COLOR_ATTACHMENT14_EXT 10611 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE 10612 #endif 10613 10614 #ifndef GL_COLOR_ATTACHMENT15_EXT 10615 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF 10616 #endif 10617 10618 #ifndef GL_DEPTH_ATTACHMENT_EXT 10619 #define GL_DEPTH_ATTACHMENT_EXT 0x8D00 10620 #endif 10621 10622 #ifndef GL_STENCIL_ATTACHMENT_EXT 10623 #define GL_STENCIL_ATTACHMENT_EXT 0x8D20 10624 #endif 10625 10626 #ifndef GL_FRAMEBUFFER_COMPLETE_EXT 10627 #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 10628 #endif 10629 10630 #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 10631 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 10632 #endif 10633 10634 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 10635 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 10636 #endif 10637 10638 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 10639 #define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8 10640 #endif 10641 10642 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 10643 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 10644 #endif 10645 10646 #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 10647 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA 10648 #endif 10649 10650 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 10651 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB 10652 #endif 10653 10654 #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 10655 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC 10656 #endif 10657 10658 #ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT 10659 #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD 10660 #endif 10661 10662 #ifndef GL_FRAMEBUFFER_STATUS_ERROR_EXT 10663 #define GL_FRAMEBUFFER_STATUS_ERROR_EXT 0x8CDE 10664 #endif 10665 10666 #ifndef GL_FRAMEBUFFER_BINDING_EXT 10667 #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 10668 #endif 10669 10670 #ifndef GL_RENDERBUFFER_BINDINGS_EXT 10671 #define GL_RENDERBUFFER_BINDINGS_EXT 0x8CA7 10672 #endif 10673 10674 #ifndef GL_MAX_COLOR_ATTACHMENTS_EXT 10675 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CA8 10676 #endif 10677 10678 #ifndef GL_RENDERBUFFER_SIZE_EXT 10679 #define GL_RENDERBUFFER_SIZE_EXT 0x8CA9 10680 #endif 10681 10682 #ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT 10683 #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 10684 #endif 10685 10686 10692 typedef GLboolean (csAPIENTRY* csGLISRENDERBUFFEREXT) (GLuint renderbuffer); 10693 typedef GLvoid (csAPIENTRY* csGLBINDRENDERBUFFEREXT) (GLenum target, GLuint renderbuffer); 10694 typedef GLvoid (csAPIENTRY* csGLDELETERENDERBUFFERSEXT) (GLsizei n, const GLuint* renderbuffers); 10695 typedef GLvoid (csAPIENTRY* csGLGENRENDERBUFFERSEXT) (GLsizei n, GLuint* renderbuffers); 10696 typedef GLvoid (csAPIENTRY* csGLRENDERBUFFERSTORAGEEXT) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); 10697 typedef GLvoid (csAPIENTRY* csGLGETRENDERBUFFERPARAMETERIVEXT) (GLenum target, GLenum pname, GLint* params); 10698 typedef GLboolean (csAPIENTRY* csGLISFRAMEBUFFEREXT) (GLuint framebuffer); 10699 typedef GLvoid (csAPIENTRY* csGLBINDFRAMEBUFFEREXT) (GLenum target, GLuint framebuffer); 10700 typedef GLvoid (csAPIENTRY* csGLDELETEFRAMEBUFFERSEXT) (GLsizei n, const GLuint* framebuffers); 10701 typedef GLvoid (csAPIENTRY* csGLGENFRAMEBUFFERSEXT) (GLsizei n, GLuint* framebuffers); 10702 typedef GLenum (csAPIENTRY* csGLCHECKFRAMEBUFFERSTATUSEXT) (GLenum target); 10703 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE1DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10704 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE2DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 10705 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERTEXTURE3DEXT) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 10706 typedef GLvoid (csAPIENTRY* csGLFRAMEBUFFERRENDERBUFFEREXT) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); 10707 typedef GLvoid (csAPIENTRY* csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT) (GLenum target, GLenum attachment, GLenum pname, GLint* params); 10708 typedef GLvoid (csAPIENTRY* csGLGENERATEMIPMAPEXT) (GLenum target); 10709 10714 #ifndef GL_PIXEL_PACK_BUFFER_EXT 10715 #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB 10716 #endif 10717 10718 #ifndef GL_PIXEL_UNPACK_BUFFER_EXT 10719 #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC 10720 #endif 10721 10722 #ifndef GL_PIXEL_PACK_BUFFER_BINDING_EXT 10723 #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED 10724 #endif 10725 10726 #ifndef GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 10727 #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF 10728 #endif 10729 10730 10747 typedef GLvoid (csAPIENTRY* csGLSTRINGMARKERGREMEDY) (GLsizei len, const GLvoid* string); 10748 10753 #ifndef GL_TEXTURE_RECTANGLE_EXT 10754 #define GL_TEXTURE_RECTANGLE_EXT 0x84F5 10755 #endif 10756 10757 #ifndef GL_TEXTURE_BINDING_RECTANGLE_EXT 10758 #define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6 10759 #endif 10760 10761 #ifndef GL_PROXY_TEXTURE_RECTANGLE_EXT 10762 #define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7 10763 #endif 10764 10765 #ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 10766 #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8 10767 #endif 10768 10769 10780 #ifndef GL_SAMPLES_PASSED_ARB 10781 #define GL_SAMPLES_PASSED_ARB 0x8914 10782 #endif 10783 10784 #ifndef GL_QUERY_COUNTER_BITS_ARB 10785 #define GL_QUERY_COUNTER_BITS_ARB 0x8864 10786 #endif 10787 10788 #ifndef GL_CURRENT_QUERY_ARB 10789 #define GL_CURRENT_QUERY_ARB 0x8865 10790 #endif 10791 10792 #ifndef GL_QUERY_RESULT_ARB 10793 #define GL_QUERY_RESULT_ARB 0x8866 10794 #endif 10795 10796 #ifndef GL_QUERY_RESULT_AVAILABLE_ARB 10797 #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 10798 #endif 10799 10800 10806 typedef GLvoid (csAPIENTRY* csGLGENQUERIESARB) (GLsizei n, GLuint* ids); 10807 typedef GLvoid (csAPIENTRY* csGLDELETEQUERIESARB) (GLsizei n, GLuint* ids); 10808 typedef GLboolean (csAPIENTRY* csGLISQUERYARB) (GLuint id); 10809 typedef GLvoid (csAPIENTRY* csGLBEGINQUERYARB) (GLenum target, GLuint id); 10810 typedef GLvoid (csAPIENTRY* csGLENDQUERYARB) (GLenum target); 10811 typedef GLvoid (csAPIENTRY* csGLGETQUERYIVARB) (GLenum target, GLenum pname, GLint* params); 10812 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTIVARB) (GLuint id, GLenum pname, GLint* params); 10813 typedef GLvoid (csAPIENTRY* csGLGETQUERYOBJECTUIVARB) (GLuint id, GLenum pname, GLuint* params); 10814 10819 #ifndef GL_MAX_DRAW_BUFFERS_ARB 10820 #define GL_MAX_DRAW_BUFFERS_ARB 0x8824 10821 #endif 10822 10823 #ifndef GL_DRAW_BUFFER0_ARB 10824 #define GL_DRAW_BUFFER0_ARB 0x8825 10825 #endif 10826 10827 #ifndef GL_DRAW_BUFFER1_ARB 10828 #define GL_DRAW_BUFFER1_ARB 0x8826 10829 #endif 10830 10831 #ifndef GL_DRAW_BUFFER2_ARB 10832 #define GL_DRAW_BUFFER2_ARB 0x8827 10833 #endif 10834 10835 #ifndef GL_DRAW_BUFFER3_ARB 10836 #define GL_DRAW_BUFFER3_ARB 0x8828 10837 #endif 10838 10839 #ifndef GL_DRAW_BUFFER4_ARB 10840 #define GL_DRAW_BUFFER4_ARB 0x8829 10841 #endif 10842 10843 #ifndef GL_DRAW_BUFFER5_ARB 10844 #define GL_DRAW_BUFFER5_ARB 0x882A 10845 #endif 10846 10847 #ifndef GL_DRAW_BUFFER6_ARB 10848 #define GL_DRAW_BUFFER6_ARB 0x882B 10849 #endif 10850 10851 #ifndef GL_DRAW_BUFFER7_ARB 10852 #define GL_DRAW_BUFFER7_ARB 0x882C 10853 #endif 10854 10855 #ifndef GL_DRAW_BUFFER8_ARB 10856 #define GL_DRAW_BUFFER8_ARB 0x882D 10857 #endif 10858 10859 #ifndef GL_DRAW_BUFFER9_ARB 10860 #define GL_DRAW_BUFFER9_ARB 0x882E 10861 #endif 10862 10863 #ifndef GL_DRAW_BUFFER10_ARB 10864 #define GL_DRAW_BUFFER10_ARB 0x882F 10865 #endif 10866 10867 #ifndef GL_DRAW_BUFFER11_ARB 10868 #define GL_DRAW_BUFFER11_ARB 0x8830 10869 #endif 10870 10871 #ifndef GL_DRAW_BUFFER12_ARB 10872 #define GL_DRAW_BUFFER12_ARB 0x8831 10873 #endif 10874 10875 #ifndef GL_DRAW_BUFFER13_ARB 10876 #define GL_DRAW_BUFFER13_ARB 0x8832 10877 #endif 10878 10879 #ifndef GL_DRAW_BUFFER14_ARB 10880 #define GL_DRAW_BUFFER14_ARB 0x8833 10881 #endif 10882 10883 #ifndef GL_DRAW_BUFFER15_ARB 10884 #define GL_DRAW_BUFFER15_ARB 0x8834 10885 #endif 10886 10887 10898 #ifndef GL_BLEND_EQUATION_RGB_EXT 10899 #define GL_BLEND_EQUATION_RGB_EXT BLEND_EQUATION 10900 #endif 10901 10902 #ifndef GL_BLEND_EQUATION_ALPHA_EXT 10903 #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D 10904 #endif 10905 10906 10912 typedef GLvoid (csAPIENTRY* csGLBLENDEQUATIONSEPARATEEXT) (GLenum modeRGB, GLenum modeAlpha); 10913 10918 #ifndef GL_SRGB_EXT 10919 #define GL_SRGB_EXT 0x8C40 10920 #endif 10921 10922 #ifndef GL_SRGB8_EXT 10923 #define GL_SRGB8_EXT 0x8C41 10924 #endif 10925 10926 #ifndef GL_SRGB_ALPHA_EXT 10927 #define GL_SRGB_ALPHA_EXT 0x8C42 10928 #endif 10929 10930 #ifndef GL_SRGB8_ALPHA8_EXT 10931 #define GL_SRGB8_ALPHA8_EXT 0x8C43 10932 #endif 10933 10934 #ifndef GL_SLUMINANCE_ALPHA_EXT 10935 #define GL_SLUMINANCE_ALPHA_EXT 0x8C44 10936 #endif 10937 10938 #ifndef GL_SLUMINANCE8_ALPHA8_EXT 10939 #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 10940 #endif 10941 10942 #ifndef GL_SLUMINANCE_EXT 10943 #define GL_SLUMINANCE_EXT 0x8C46 10944 #endif 10945 10946 #ifndef GL_SLUMINANCE8_EXT 10947 #define GL_SLUMINANCE8_EXT 0x8C47 10948 #endif 10949 10950 #ifndef GL_COMPRESSED_SRGB_EXT 10951 #define GL_COMPRESSED_SRGB_EXT 0x8C48 10952 #endif 10953 10954 #ifndef GL_COMPRESSED_SRGB_ALPHA_EXT 10955 #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 10956 #endif 10957 10958 #ifndef GL_COMPRESSED_SLUMINANCE_EXT 10959 #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A 10960 #endif 10961 10962 #ifndef GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 10963 #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B 10964 #endif 10965 10966 #ifndef GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 10967 #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C 10968 #endif 10969 10970 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 10971 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D 10972 #endif 10973 10974 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 10975 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E 10976 #endif 10977 10978 #ifndef GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 10979 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F 10980 #endif 10981 10982 10993 #ifndef GL_DEPTH_STENCIL_EXT 10994 #define GL_DEPTH_STENCIL_EXT 0x84F9 10995 #endif 10996 10997 #ifndef GL_UNSIGNED_INT_24_8_EXT 10998 #define GL_UNSIGNED_INT_24_8_EXT 0x84FA 10999 #endif 11000 11001 #ifndef GL_DEPTH24_STENCIL8_EXT 11002 #define GL_DEPTH24_STENCIL8_EXT 0x88F0 11003 #endif 11004 11005 #ifndef GL_TEXTURE_STENCIL_SIZE_EXT 11006 #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 11007 #endif 11008 11009 11020 #ifndef GL_TEXTURE_RED_TYPE_ARB 11021 #define GL_TEXTURE_RED_TYPE_ARB 0x8C10 11022 #endif 11023 11024 #ifndef GL_TEXTURE_GREEN_TYPE_ARB 11025 #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 11026 #endif 11027 11028 #ifndef GL_TEXTURE_BLUE_TYPE_ARB 11029 #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 11030 #endif 11031 11032 #ifndef GL_TEXTURE_ALPHA_TYPE_ARB 11033 #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 11034 #endif 11035 11036 #ifndef GL_TEXTURE_LUMINANCE_TYPE_ARB 11037 #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 11038 #endif 11039 11040 #ifndef GL_TEXTURE_INTENSITY_TYPE_ARB 11041 #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 11042 #endif 11043 11044 #ifndef GL_TEXTURE_DEPTH_TYPE_ARB 11045 #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 11046 #endif 11047 11048 #ifndef GL_UNSIGNED_NORMALIZED_ARB 11049 #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 11050 #endif 11051 11052 #ifndef GL_RGBA32F_ARB 11053 #define GL_RGBA32F_ARB 0x8814 11054 #endif 11055 11056 #ifndef GL_RGB32F_ARB 11057 #define GL_RGB32F_ARB 0x8815 11058 #endif 11059 11060 #ifndef GL_ALPHA32F_ARB 11061 #define GL_ALPHA32F_ARB 0x8816 11062 #endif 11063 11064 #ifndef GL_INTENSITY32F_ARB 11065 #define GL_INTENSITY32F_ARB 0x8817 11066 #endif 11067 11068 #ifndef GL_LUMINANCE32F_ARB 11069 #define GL_LUMINANCE32F_ARB 0x8818 11070 #endif 11071 11072 #ifndef GL_LUMINANCE_ALPHA32F_ARB 11073 #define GL_LUMINANCE_ALPHA32F_ARB 0x8819 11074 #endif 11075 11076 #ifndef GL_RGBA16F_ARB 11077 #define GL_RGBA16F_ARB 0x881A 11078 #endif 11079 11080 #ifndef GL_RGB16F_ARB 11081 #define GL_RGB16F_ARB 0x881B 11082 #endif 11083 11084 #ifndef GL_ALPHA16F_ARB 11085 #define GL_ALPHA16F_ARB 0x881C 11086 #endif 11087 11088 #ifndef GL_INTENSITY16F_ARB 11089 #define GL_INTENSITY16F_ARB 0x881D 11090 #endif 11091 11092 #ifndef GL_LUMINANCE16F_ARB 11093 #define GL_LUMINANCE16F_ARB 0x881E 11094 #endif 11095 11096 #ifndef GL_LUMINANCE_ALPHA16F_ARB 11097 #define GL_LUMINANCE_ALPHA16F_ARB 0x881F 11098 #endif 11099 11100 11111 #ifndef GL_HALF_FLOAT_ARB 11112 #define GL_HALF_FLOAT_ARB 0x140B 11113 #endif 11114 11115 11126 #ifndef GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 11127 #define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 11128 #endif 11129 11130 #ifndef GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 11131 #define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 11132 #endif 11133 11134 #ifndef GL_PROGRAM_ATTRIB_COMPONENTS_NV 11135 #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 11136 #endif 11137 11138 #ifndef GL_PROGRAM_RESULT_COMPONENTS_NV 11139 #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 11140 #endif 11141 11142 #ifndef GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 11143 #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 11144 #endif 11145 11146 #ifndef GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 11147 #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 11148 #endif 11149 11150 #ifndef GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 11151 #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x89A5 11152 #endif 11153 11154 #ifndef GL_MAX_PROGRAM_GENERIC_RESULTS_NV 11155 #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x89A6 11156 #endif 11157 11158 11164 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4INV) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 11165 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4IVNV) (GLenum target, GLuint index, const GLint* params); 11166 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERSI4IVNV) (GLenum target, GLuint index, GLsizei count, const GLint* params); 11167 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4UINV) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 11168 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERI4UIVNV) (GLenum target, GLuint index, const GLuint* params); 11169 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERSI4UIVNV) (GLenum target, GLuint index, GLsizei count, const GLuint* params); 11170 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4INV) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); 11171 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4IVNV) (GLenum target, GLuint index, const GLint* params); 11172 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERSI4IVNV) (GLenum target, GLuint index, GLsizei count, const GLint* params); 11173 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4UINV) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); 11174 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERI4UIVNV) (GLenum target, GLuint index, const GLuint* params); 11175 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERSI4UIVNV) (GLenum target, GLuint index, GLsizei count, const GLuint* params); 11176 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERIIVNV) (GLenum target, GLuint index, GLint* params); 11177 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMLOCALPARAMETERIUIVNV) (GLenum target, GLuint index, GLuint* params); 11178 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERIIVNV) (GLenum target, GLuint index, GLint* params); 11179 typedef GLvoid (csAPIENTRY* csGLGETPROGRAMENVPARAMETERIUIVNV) (GLenum target, GLuint index, GLuint* params); 11180 11191 typedef GLvoid (csAPIENTRY* csGLPROGRAMLOCALPARAMETERS4FVEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat* params); 11192 typedef GLvoid (csAPIENTRY* csGLPROGRAMENVPARAMETERS4FVEXT) (GLenum target, GLuint index, GLsizei count, const GLfloat* params); 11193 11198 #ifndef GL_RGBA_FLOAT_MODE_ARB 11199 #define GL_RGBA_FLOAT_MODE_ARB 0x8820 11200 #endif 11201 11202 #ifndef GL_CLAMP_VERTEX_COLOR_ARB 11203 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A 11204 #endif 11205 11206 #ifndef GL_CLAMP_FRAGMENT_COLOR_ARB 11207 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B 11208 #endif 11209 11210 #ifndef GL_CLAMP_READ_COLOR_ARB 11211 #define GL_CLAMP_READ_COLOR_ARB 0x891C 11212 #endif 11213 11214 #ifndef GL_FIXED_ONLY_ARB 11215 #define GL_FIXED_ONLY_ARB 0x891D 11216 #endif 11217 11218 11224 typedef GLvoid (csAPIENTRY* csGLCLAMPCOLORARB) (GLenum target, GLenum clamp); 11225 11230 #ifndef GL_FRAMEBUFFER_SRGB 11231 #define GL_FRAMEBUFFER_SRGB 0x8DB9 11232 #endif 11233 11234 11242 #ifdef CS_OPENGL_GLX 11243 11246 #ifndef GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 11247 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 11248 #endif 11249 11250 11258 #endif 11259 11260 #ifdef _WIN32 11261 11264 #ifndef WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 11265 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20A9 11266 #endif 11267 11268 11276 #endif 11277 11287 typedef GLvoid (csAPIENTRY* csGLDRAWARRAYSINSTANCEDARB) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); 11288 typedef GLvoid (csAPIENTRY* csGLDRAWELEMENTSINSTANCEDARB) (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei primcount); 11289 11294 #ifndef GL_DEPTH_COMPONENT32F 11295 #define GL_DEPTH_COMPONENT32F 0x8CAC 11296 #endif 11297 11298 #ifndef GL_DEPTH32F_STENCIL8 11299 #define GL_DEPTH32F_STENCIL8 0x8CAD 11300 #endif 11301 11302 #ifndef GL_FLOAT_32_UNSIGNED_INT_24_8_REV 11303 #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD 11304 #endif 11305 11306 11317 #ifndef GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 11318 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE 11319 #endif 11320 11321 11327 typedef GLvoid (csAPIENTRY* csGLVERTEXATTRIBDIVISORARB) (GLuint index, GLuint divisor); 11328 11333 #ifndef GL_HALF_FLOAT 11334 #define GL_HALF_FLOAT 0x140B 11335 #endif 11336 11337 11348 #ifndef GL_MAP_READ_BIT 11349 #define GL_MAP_READ_BIT 0x0001 11350 #endif 11351 11352 #ifndef GL_MAP_WRITE_BIT 11353 #define GL_MAP_WRITE_BIT 0x0002 11354 #endif 11355 11356 #ifndef GL_MAP_INVALIDATE_RANGE_BIT 11357 #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 11358 #endif 11359 11360 #ifndef GL_MAP_INVALIDATE_BUFFER_BIT 11361 #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 11362 #endif 11363 11364 #ifndef GL_MAP_FLUSH_EXPLICIT_BIT 11365 #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 11366 #endif 11367 11368 #ifndef GL_MAP_UNSYNCHRONIZED_BIT 11369 #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 11370 #endif 11371 11372 11378 typedef GLvoid* (csAPIENTRY* csGLMAPBUFFERRANGE) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); 11379 typedef GLvoid (csAPIENTRY* csGLFLUSHMAPPEDBUFFERRANGE) (GLenum target, GLintptr offset, GLsizeiptr length); 11380 11385 #ifndef GL_COMPRESSED_RED_RGTC1 11386 #define GL_COMPRESSED_RED_RGTC1 0x8DBB 11387 #endif 11388 11389 #ifndef GL_COMPRESSED_SIGNED_RED_RGTC1 11390 #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC 11391 #endif 11392 11393 #ifndef GL_COMPRESSED_RG_RGTC2 11394 #define GL_COMPRESSED_RG_RGTC2 0x8DBD 11395 #endif 11396 11397 #ifndef GL_COMPRESSED_SIGNED_RG_RGTC2 11398 #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE 11399 #endif 11400 11401 11412 #ifndef GL_R8 11413 #define GL_R8 0x8229 11414 #endif 11415 11416 #ifndef GL_R16 11417 #define GL_R16 0x822A 11418 #endif 11419 11420 #ifndef GL_RG8 11421 #define GL_RG8 0x822B 11422 #endif 11423 11424 #ifndef GL_RG16 11425 #define GL_RG16 0x822C 11426 #endif 11427 11428 #ifndef GL_R16F 11429 #define GL_R16F 0x822D 11430 #endif 11431 11432 #ifndef GL_R32F 11433 #define GL_R32F 0x822E 11434 #endif 11435 11436 #ifndef GL_RG16F 11437 #define GL_RG16F 0x822F 11438 #endif 11439 11440 #ifndef GL_RG32F 11441 #define GL_RG32F 0x8230 11442 #endif 11443 11444 #ifndef GL_R8I 11445 #define GL_R8I 0x8231 11446 #endif 11447 11448 #ifndef GL_R8UI 11449 #define GL_R8UI 0x8232 11450 #endif 11451 11452 #ifndef GL_R16I 11453 #define GL_R16I 0x8233 11454 #endif 11455 11456 #ifndef GL_R16UI 11457 #define GL_R16UI 0x8234 11458 #endif 11459 11460 #ifndef GL_R32I 11461 #define GL_R32I 0x8235 11462 #endif 11463 11464 #ifndef GL_R32UI 11465 #define GL_R32UI 0x8236 11466 #endif 11467 11468 #ifndef GL_RG8I 11469 #define GL_RG8I 0x8237 11470 #endif 11471 11472 #ifndef GL_RG8UI 11473 #define GL_RG8UI 0x8238 11474 #endif 11475 11476 #ifndef GL_RG16I 11477 #define GL_RG16I 0x8239 11478 #endif 11479 11480 #ifndef GL_RG16UI 11481 #define GL_RG16UI 0x823A 11482 #endif 11483 11484 #ifndef GL_RG32I 11485 #define GL_RG32I 0x823B 11486 #endif 11487 11488 #ifndef GL_RG32UI 11489 #define GL_RG32UI 0x823C 11490 #endif 11491 11492 #ifndef GL_RG 11493 #define GL_RG 0x8227 11494 #endif 11495 11496 #ifndef GL_RG_INTEGER 11497 #define GL_RG_INTEGER 0x8228 11498 #endif 11499 11500 11510 // end of definitions 11511 11512 #ifdef CS_DEBUG 11513 # define REPORT_MISSING_ENTRIES true 11514 #else 11515 # define REPORT_MISSING_ENTRIES false 11516 #endif 11517 11518 #define EXTMGR_FUNC_INIT(nameNC, nameUC) \ 11519 funcTest = \ 11520 ((nameNC = (cs##nameUC) gl->GetProcAddress (#nameNC)) != 0); \ 11521 if (!funcTest && config->GetBool ( \ 11522 "Video.OpenGL.ReportMissingEntries", \ 11523 REPORT_MISSING_ENTRIES)) \ 11524 { \ 11525 Report (msgExtRetrieveFail, #nameNC); \ 11526 } \ 11527 allclear &= funcTest; 11528 11529 #define EXTMGR_REPORT_INIT_RESULT(exttype, nameNC) \ 11530 if (CS_##nameNC = allclear) \ 11531 { \ 11532 CS_##nameNC &= config->GetBool (cfgkey, defaultUse); \ 11533 if (CS_##nameNC) \ 11534 { \ 11535 Report (msgExtFoundAndUsed, exttype, ext); \ 11536 } \ 11537 else \ 11538 { \ 11539 Report (msgExtFoundAndNotUsed, exttype, ext); \ 11540 } \ 11541 } \ 11542 else \ 11543 { \ 11544 Report (msgExtInitFail, exttype, ext); \ 11545 } 11546 11548 struct csGLExtensionFunctions 11549 { 11550 public: 11555 #ifndef GLDRAWRANGEELEMENTS_DECL 11556 #define GLDRAWRANGEELEMENTS_DECL 11557 csGLDRAWRANGEELEMENTS glDrawRangeElements; 11558 #endif 11559 11560 #ifndef GLTEXIMAGE3D_DECL 11561 #define GLTEXIMAGE3D_DECL 11562 csGLTEXIMAGE3D glTexImage3D; 11563 #endif 11564 11565 #ifndef GLTEXSUBIMAGE3D_DECL 11566 #define GLTEXSUBIMAGE3D_DECL 11567 csGLTEXSUBIMAGE3D glTexSubImage3D; 11568 #endif 11569 11570 #ifndef GLCOPYTEXSUBIMAGE3D_DECL 11571 #define GLCOPYTEXSUBIMAGE3D_DECL 11572 csGLCOPYTEXSUBIMAGE3D glCopyTexSubImage3D; 11573 #endif 11574 11575 11581 #ifndef GLACTIVETEXTURE_DECL 11582 #define GLACTIVETEXTURE_DECL 11583 csGLACTIVETEXTURE glActiveTexture; 11584 #endif 11585 11586 #ifndef GLCLIENTACTIVETEXTURE_DECL 11587 #define GLCLIENTACTIVETEXTURE_DECL 11588 csGLCLIENTACTIVETEXTURE glClientActiveTexture; 11589 #endif 11590 11591 #ifndef GLMULTITEXCOORD1D_DECL 11592 #define GLMULTITEXCOORD1D_DECL 11593 csGLMULTITEXCOORD1D glMultiTexCoord1d; 11594 #endif 11595 11596 #ifndef GLMULTITEXCOORD1DV_DECL 11597 #define GLMULTITEXCOORD1DV_DECL 11598 csGLMULTITEXCOORD1DV glMultiTexCoord1dv; 11599 #endif 11600 11601 #ifndef GLMULTITEXCOORD1F_DECL 11602 #define GLMULTITEXCOORD1F_DECL 11603 csGLMULTITEXCOORD1F glMultiTexCoord1f; 11604 #endif 11605 11606 #ifndef GLMULTITEXCOORD1FV_DECL 11607 #define GLMULTITEXCOORD1FV_DECL 11608 csGLMULTITEXCOORD1FV glMultiTexCoord1fv; 11609 #endif 11610 11611 #ifndef GLMULTITEXCOORD1I_DECL 11612 #define GLMULTITEXCOORD1I_DECL 11613 csGLMULTITEXCOORD1I glMultiTexCoord1i; 11614 #endif 11615 11616 #ifndef GLMULTITEXCOORD1IV_DECL 11617 #define GLMULTITEXCOORD1IV_DECL 11618 csGLMULTITEXCOORD1IV glMultiTexCoord1iv; 11619 #endif 11620 11621 #ifndef GLMULTITEXCOORD1S_DECL 11622 #define GLMULTITEXCOORD1S_DECL 11623 csGLMULTITEXCOORD1S glMultiTexCoord1s; 11624 #endif 11625 11626 #ifndef GLMULTITEXCOORD1SV_DECL 11627 #define GLMULTITEXCOORD1SV_DECL 11628 csGLMULTITEXCOORD1SV glMultiTexCoord1sv; 11629 #endif 11630 11631 #ifndef GLMULTITEXCOORD2D_DECL 11632 #define GLMULTITEXCOORD2D_DECL 11633 csGLMULTITEXCOORD2D glMultiTexCoord2d; 11634 #endif 11635 11636 #ifndef GLMULTITEXCOORD2DV_DECL 11637 #define GLMULTITEXCOORD2DV_DECL 11638 csGLMULTITEXCOORD2DV glMultiTexCoord2dv; 11639 #endif 11640 11641 #ifndef GLMULTITEXCOORD2F_DECL 11642 #define GLMULTITEXCOORD2F_DECL 11643 csGLMULTITEXCOORD2F glMultiTexCoord2f; 11644 #endif 11645 11646 #ifndef GLMULTITEXCOORD2FV_DECL 11647 #define GLMULTITEXCOORD2FV_DECL 11648 csGLMULTITEXCOORD2FV glMultiTexCoord2fv; 11649 #endif 11650 11651 #ifndef GLMULTITEXCOORD2I_DECL 11652 #define GLMULTITEXCOORD2I_DECL 11653 csGLMULTITEXCOORD2I glMultiTexCoord2i; 11654 #endif 11655 11656 #ifndef GLMULTITEXCOORD2IV_DECL 11657 #define GLMULTITEXCOORD2IV_DECL 11658 csGLMULTITEXCOORD2IV glMultiTexCoord2iv; 11659 #endif 11660 11661 #ifndef GLMULTITEXCOORD2S_DECL 11662 #define GLMULTITEXCOORD2S_DECL 11663 csGLMULTITEXCOORD2S glMultiTexCoord2s; 11664 #endif 11665 11666 #ifndef GLMULTITEXCOORD2SV_DECL 11667 #define GLMULTITEXCOORD2SV_DECL 11668 csGLMULTITEXCOORD2SV glMultiTexCoord2sv; 11669 #endif 11670 11671 #ifndef GLMULTITEXCOORD3D_DECL 11672 #define GLMULTITEXCOORD3D_DECL 11673 csGLMULTITEXCOORD3D glMultiTexCoord3d; 11674 #endif 11675 11676 #ifndef GLMULTITEXCOORD3DV_DECL 11677 #define GLMULTITEXCOORD3DV_DECL 11678 csGLMULTITEXCOORD3DV glMultiTexCoord3dv; 11679 #endif 11680 11681 #ifndef GLMULTITEXCOORD3F_DECL 11682 #define GLMULTITEXCOORD3F_DECL 11683 csGLMULTITEXCOORD3F glMultiTexCoord3f; 11684 #endif 11685 11686 #ifndef GLMULTITEXCOORD3FV_DECL 11687 #define GLMULTITEXCOORD3FV_DECL 11688 csGLMULTITEXCOORD3FV glMultiTexCoord3fv; 11689 #endif 11690 11691 #ifndef GLMULTITEXCOORD3I_DECL 11692 #define GLMULTITEXCOORD3I_DECL 11693 csGLMULTITEXCOORD3I glMultiTexCoord3i; 11694 #endif 11695 11696 #ifndef GLMULTITEXCOORD3IV_DECL 11697 #define GLMULTITEXCOORD3IV_DECL 11698 csGLMULTITEXCOORD3IV glMultiTexCoord3iv; 11699 #endif 11700 11701 #ifndef GLMULTITEXCOORD3S_DECL 11702 #define GLMULTITEXCOORD3S_DECL 11703 csGLMULTITEXCOORD3S glMultiTexCoord3s; 11704 #endif 11705 11706 #ifndef GLMULTITEXCOORD3SV_DECL 11707 #define GLMULTITEXCOORD3SV_DECL 11708 csGLMULTITEXCOORD3SV glMultiTexCoord3sv; 11709 #endif 11710 11711 #ifndef GLMULTITEXCOORD4D_DECL 11712 #define GLMULTITEXCOORD4D_DECL 11713 csGLMULTITEXCOORD4D glMultiTexCoord4d; 11714 #endif 11715 11716 #ifndef GLMULTITEXCOORD4DV_DECL 11717 #define GLMULTITEXCOORD4DV_DECL 11718 csGLMULTITEXCOORD4DV glMultiTexCoord4dv; 11719 #endif 11720 11721 #ifndef GLMULTITEXCOORD4F_DECL 11722 #define GLMULTITEXCOORD4F_DECL 11723 csGLMULTITEXCOORD4F glMultiTexCoord4f; 11724 #endif 11725 11726 #ifndef GLMULTITEXCOORD4FV_DECL 11727 #define GLMULTITEXCOORD4FV_DECL 11728 csGLMULTITEXCOORD4FV glMultiTexCoord4fv; 11729 #endif 11730 11731 #ifndef GLMULTITEXCOORD4I_DECL 11732 #define GLMULTITEXCOORD4I_DECL 11733 csGLMULTITEXCOORD4I glMultiTexCoord4i; 11734 #endif 11735 11736 #ifndef GLMULTITEXCOORD4IV_DECL 11737 #define GLMULTITEXCOORD4IV_DECL 11738 csGLMULTITEXCOORD4IV glMultiTexCoord4iv; 11739 #endif 11740 11741 #ifndef GLMULTITEXCOORD4S_DECL 11742 #define GLMULTITEXCOORD4S_DECL 11743 csGLMULTITEXCOORD4S glMultiTexCoord4s; 11744 #endif 11745 11746 #ifndef GLMULTITEXCOORD4SV_DECL 11747 #define GLMULTITEXCOORD4SV_DECL 11748 csGLMULTITEXCOORD4SV glMultiTexCoord4sv; 11749 #endif 11750 11751 #ifndef GLLOADTRANSPOSEMATRIXF_DECL 11752 #define GLLOADTRANSPOSEMATRIXF_DECL 11753 csGLLOADTRANSPOSEMATRIXF glLoadTransposeMatrixf; 11754 #endif 11755 11756 #ifndef GLLOADTRANSPOSEMATRIXD_DECL 11757 #define GLLOADTRANSPOSEMATRIXD_DECL 11758 csGLLOADTRANSPOSEMATRIXD glLoadTransposeMatrixd; 11759 #endif 11760 11761 #ifndef GLMULTTRANSPOSEMATRIXF_DECL 11762 #define GLMULTTRANSPOSEMATRIXF_DECL 11763 csGLMULTTRANSPOSEMATRIXF glMultTransposeMatrixf; 11764 #endif 11765 11766 #ifndef GLMULTTRANSPOSEMATRIXD_DECL 11767 #define GLMULTTRANSPOSEMATRIXD_DECL 11768 csGLMULTTRANSPOSEMATRIXD glMultTransposeMatrixd; 11769 #endif 11770 11771 #ifndef GLSAMPLECOVERAGE_DECL 11772 #define GLSAMPLECOVERAGE_DECL 11773 csGLSAMPLECOVERAGE glSampleCoverage; 11774 #endif 11775 11776 #ifndef GLCOMPRESSEDTEXIMAGE3D_DECL 11777 #define GLCOMPRESSEDTEXIMAGE3D_DECL 11778 csGLCOMPRESSEDTEXIMAGE3D glCompressedTexImage3D; 11779 #endif 11780 11781 #ifndef GLCOMPRESSEDTEXIMAGE2D_DECL 11782 #define GLCOMPRESSEDTEXIMAGE2D_DECL 11783 csGLCOMPRESSEDTEXIMAGE2D glCompressedTexImage2D; 11784 #endif 11785 11786 #ifndef GLCOMPRESSEDTEXIMAGE1D_DECL 11787 #define GLCOMPRESSEDTEXIMAGE1D_DECL 11788 csGLCOMPRESSEDTEXIMAGE1D glCompressedTexImage1D; 11789 #endif 11790 11791 #ifndef GLCOMPRESSEDTEXSUBIMAGE3D_DECL 11792 #define GLCOMPRESSEDTEXSUBIMAGE3D_DECL 11793 csGLCOMPRESSEDTEXSUBIMAGE3D glCompressedTexSubImage3D; 11794 #endif 11795 11796 #ifndef GLCOMPRESSEDTEXSUBIMAGE2D_DECL 11797 #define GLCOMPRESSEDTEXSUBIMAGE2D_DECL 11798 csGLCOMPRESSEDTEXSUBIMAGE2D glCompressedTexSubImage2D; 11799 #endif 11800 11801 #ifndef GLCOMPRESSEDTEXSUBIMAGE1D_DECL 11802 #define GLCOMPRESSEDTEXSUBIMAGE1D_DECL 11803 csGLCOMPRESSEDTEXSUBIMAGE1D glCompressedTexSubImage1D; 11804 #endif 11805 11806 #ifndef GLGETCOMPRESSEDTEXIMAGE_DECL 11807 #define GLGETCOMPRESSEDTEXIMAGE_DECL 11808 csGLGETCOMPRESSEDTEXIMAGE glGetCompressedTexImage; 11809 #endif 11810 11811 11817 #ifndef GLFOGCOORDF_DECL 11818 #define GLFOGCOORDF_DECL 11819 csGLFOGCOORDF glFogCoordf; 11820 #endif 11821 11822 #ifndef GLFOGCOORDD_DECL 11823 #define GLFOGCOORDD_DECL 11824 csGLFOGCOORDD glFogCoordd; 11825 #endif 11826 11827 #ifndef GLFOGCOORDFV_DECL 11828 #define GLFOGCOORDFV_DECL 11829 csGLFOGCOORDFV glFogCoordfv; 11830 #endif 11831 11832 #ifndef GLFOGCOORDDV_DECL 11833 #define GLFOGCOORDDV_DECL 11834 csGLFOGCOORDDV glFogCoorddv; 11835 #endif 11836 11837 #ifndef GLFOGCOORDPOINTER_DECL 11838 #define GLFOGCOORDPOINTER_DECL 11839 csGLFOGCOORDPOINTER glFogCoordPointer; 11840 #endif 11841 11842 #ifndef GLMULTIDRAWARRAYS_DECL 11843 #define GLMULTIDRAWARRAYS_DECL 11844 csGLMULTIDRAWARRAYS glMultiDrawArrays; 11845 #endif 11846 11847 #ifndef GLMULTIDRAWELEMENTS_DECL 11848 #define GLMULTIDRAWELEMENTS_DECL 11849 csGLMULTIDRAWELEMENTS glMultiDrawElements; 11850 #endif 11851 11852 #ifndef GLPOINTPARAMETERF_DECL 11853 #define GLPOINTPARAMETERF_DECL 11854 csGLPOINTPARAMETERF glPointParameterf; 11855 #endif 11856 11857 #ifndef GLPOINTPARAMETERFV_DECL 11858 #define GLPOINTPARAMETERFV_DECL 11859 csGLPOINTPARAMETERFV glPointParameterfv; 11860 #endif 11861 11862 #ifndef GLSECONDARYCOLOR3B_DECL 11863 #define GLSECONDARYCOLOR3B_DECL 11864 csGLSECONDARYCOLOR3B glSecondaryColor3b; 11865 #endif 11866 11867 #ifndef GLSECONDARYCOLOR3S_DECL 11868 #define GLSECONDARYCOLOR3S_DECL 11869 csGLSECONDARYCOLOR3S glSecondaryColor3s; 11870 #endif 11871 11872 #ifndef GLSECONDARYCOLOR3I_DECL 11873 #define GLSECONDARYCOLOR3I_DECL 11874 csGLSECONDARYCOLOR3I glSecondaryColor3i; 11875 #endif 11876 11877 #ifndef GLSECONDARYCOLOR3F_DECL 11878 #define GLSECONDARYCOLOR3F_DECL 11879 csGLSECONDARYCOLOR3F glSecondaryColor3f; 11880 #endif 11881 11882 #ifndef GLSECONDARYCOLOR3D_DECL 11883 #define GLSECONDARYCOLOR3D_DECL 11884 csGLSECONDARYCOLOR3D glSecondaryColor3d; 11885 #endif 11886 11887 #ifndef GLSECONDARYCOLOR3UB_DECL 11888 #define GLSECONDARYCOLOR3UB_DECL 11889 csGLSECONDARYCOLOR3UB glSecondaryColor3ub; 11890 #endif 11891 11892 #ifndef GLSECONDARYCOLOR3US_DECL 11893 #define GLSECONDARYCOLOR3US_DECL 11894 csGLSECONDARYCOLOR3US glSecondaryColor3us; 11895 #endif 11896 11897 #ifndef GLSECONDARYCOLOR3UI_DECL 11898 #define GLSECONDARYCOLOR3UI_DECL 11899 csGLSECONDARYCOLOR3UI glSecondaryColor3ui; 11900 #endif 11901 11902 #ifndef GLSECONDARYCOLOR3BV_DECL 11903 #define GLSECONDARYCOLOR3BV_DECL 11904 csGLSECONDARYCOLOR3BV glSecondaryColor3bv; 11905 #endif 11906 11907 #ifndef GLSECONDARYCOLOR3SV_DECL 11908 #define GLSECONDARYCOLOR3SV_DECL 11909 csGLSECONDARYCOLOR3SV glSecondaryColor3sv; 11910 #endif 11911 11912 #ifndef GLSECONDARYCOLOR3IV_DECL 11913 #define GLSECONDARYCOLOR3IV_DECL 11914 csGLSECONDARYCOLOR3IV glSecondaryColor3iv; 11915 #endif 11916 11917 #ifndef GLSECONDARYCOLOR3FV_DECL 11918 #define GLSECONDARYCOLOR3FV_DECL 11919 csGLSECONDARYCOLOR3FV glSecondaryColor3fv; 11920 #endif 11921 11922 #ifndef GLSECONDARYCOLOR3DV_DECL 11923 #define GLSECONDARYCOLOR3DV_DECL 11924 csGLSECONDARYCOLOR3DV glSecondaryColor3dv; 11925 #endif 11926 11927 #ifndef GLSECONDARYCOLOR3UBV_DECL 11928 #define GLSECONDARYCOLOR3UBV_DECL 11929 csGLSECONDARYCOLOR3UBV glSecondaryColor3ubv; 11930 #endif 11931 11932 #ifndef GLSECONDARYCOLOR3USV_DECL 11933 #define GLSECONDARYCOLOR3USV_DECL 11934 csGLSECONDARYCOLOR3USV glSecondaryColor3usv; 11935 #endif 11936 11937 #ifndef GLSECONDARYCOLOR3UIV_DECL 11938 #define GLSECONDARYCOLOR3UIV_DECL 11939 csGLSECONDARYCOLOR3UIV glSecondaryColor3uiv; 11940 #endif 11941 11942 #ifndef GLSECONDARYCOLORPOINTER_DECL 11943 #define GLSECONDARYCOLORPOINTER_DECL 11944 csGLSECONDARYCOLORPOINTER glSecondaryColorPointer; 11945 #endif 11946 11947 #ifndef GLBLENDFUNCSEPARATE_DECL 11948 #define GLBLENDFUNCSEPARATE_DECL 11949 csGLBLENDFUNCSEPARATE glBlendFuncSeparate; 11950 #endif 11951 11952 #ifndef GLWINDOWPOS2D_DECL 11953 #define GLWINDOWPOS2D_DECL 11954 csGLWINDOWPOS2D glWindowPos2d; 11955 #endif 11956 11957 #ifndef GLWINDOWPOS2F_DECL 11958 #define GLWINDOWPOS2F_DECL 11959 csGLWINDOWPOS2F glWindowPos2f; 11960 #endif 11961 11962 #ifndef GLWINDOWPOS2I_DECL 11963 #define GLWINDOWPOS2I_DECL 11964 csGLWINDOWPOS2I glWindowPos2i; 11965 #endif 11966 11967 #ifndef GLWINDOWPOS2S_DECL 11968 #define GLWINDOWPOS2S_DECL 11969 csGLWINDOWPOS2S glWindowPos2s; 11970 #endif 11971 11972 #ifndef GLWINDOWPOS2DV_DECL 11973 #define GLWINDOWPOS2DV_DECL 11974 csGLWINDOWPOS2DV glWindowPos2dv; 11975 #endif 11976 11977 #ifndef GLWINDOWPOS2FV_DECL 11978 #define GLWINDOWPOS2FV_DECL 11979 csGLWINDOWPOS2FV glWindowPos2fv; 11980 #endif 11981 11982 #ifndef GLWINDOWPOS2IV_DECL 11983 #define GLWINDOWPOS2IV_DECL 11984 csGLWINDOWPOS2IV glWindowPos2iv; 11985 #endif 11986 11987 #ifndef GLWINDOWPOS2SV_DECL 11988 #define GLWINDOWPOS2SV_DECL 11989 csGLWINDOWPOS2SV glWindowPos2sv; 11990 #endif 11991 11992 #ifndef GLWINDOWPOS3D_DECL 11993 #define GLWINDOWPOS3D_DECL 11994 csGLWINDOWPOS3D glWindowPos3d; 11995 #endif 11996 11997 #ifndef GLWINDOWPOS3F_DECL 11998 #define GLWINDOWPOS3F_DECL 11999 csGLWINDOWPOS3F glWindowPos3f; 12000 #endif 12001 12002 #ifndef GLWINDOWPOS3I_DECL 12003 #define GLWINDOWPOS3I_DECL 12004 csGLWINDOWPOS3I glWindowPos3i; 12005 #endif 12006 12007 #ifndef GLWINDOWPOS3S_DECL 12008 #define GLWINDOWPOS3S_DECL 12009 csGLWINDOWPOS3S glWindowPos3s; 12010 #endif 12011 12012 #ifndef GLWINDOWPOS3DV_DECL 12013 #define GLWINDOWPOS3DV_DECL 12014 csGLWINDOWPOS3DV glWindowPos3dv; 12015 #endif 12016 12017 #ifndef GLWINDOWPOS3FV_DECL 12018 #define GLWINDOWPOS3FV_DECL 12019 csGLWINDOWPOS3FV glWindowPos3fv; 12020 #endif 12021 12022 #ifndef GLWINDOWPOS3IV_DECL 12023 #define GLWINDOWPOS3IV_DECL 12024 csGLWINDOWPOS3IV glWindowPos3iv; 12025 #endif 12026 12027 #ifndef GLWINDOWPOS3SV_DECL 12028 #define GLWINDOWPOS3SV_DECL 12029 csGLWINDOWPOS3SV glWindowPos3sv; 12030 #endif 12031 12032 12038 #ifndef GLBINDBUFFER_DECL 12039 #define GLBINDBUFFER_DECL 12040 csGLBINDBUFFER glBindBuffer; 12041 #endif 12042 12043 #ifndef GLDELETEBUFFERS_DECL 12044 #define GLDELETEBUFFERS_DECL 12045 csGLDELETEBUFFERS glDeleteBuffers; 12046 #endif 12047 12048 #ifndef GLGENBUFFERS_DECL 12049 #define GLGENBUFFERS_DECL 12050 csGLGENBUFFERS glGenBuffers; 12051 #endif 12052 12053 #ifndef GLBUFFERDATA_DECL 12054 #define GLBUFFERDATA_DECL 12055 csGLBUFFERDATA glBufferData; 12056 #endif 12057 12058 #ifndef GLBUFFERSUBDATA_DECL 12059 #define GLBUFFERSUBDATA_DECL 12060 csGLBUFFERSUBDATA glBufferSubData; 12061 #endif 12062 12063 #ifndef GLMAPBUFFER_DECL 12064 #define GLMAPBUFFER_DECL 12065 csGLMAPBUFFER glMapBuffer; 12066 #endif 12067 12068 #ifndef GLUNMAPBUFFER_DECL 12069 #define GLUNMAPBUFFER_DECL 12070 csGLUNMAPBUFFER glUnmapBuffer; 12071 #endif 12072 12073 #ifndef GLISBUFFER_DECL 12074 #define GLISBUFFER_DECL 12075 csGLISBUFFER glIsBuffer; 12076 #endif 12077 12078 #ifndef GLGETBUFFERSUBDATA_DECL 12079 #define GLGETBUFFERSUBDATA_DECL 12080 csGLGETBUFFERSUBDATA glGetBufferSubData; 12081 #endif 12082 12083 #ifndef GLGETBUFFERPOINTERV_DECL 12084 #define GLGETBUFFERPOINTERV_DECL 12085 csGLGETBUFFERPOINTERV glGetBufferPointerv; 12086 #endif 12087 12088 #ifndef GLGETBUFFERPARAMETERIV_DECL 12089 #define GLGETBUFFERPARAMETERIV_DECL 12090 csGLGETBUFFERPARAMETERIV glGetBufferParameteriv; 12091 #endif 12092 12093 #ifndef GLGENQUERIES_DECL 12094 #define GLGENQUERIES_DECL 12095 csGLGENQUERIES glGenQueries; 12096 #endif 12097 12098 #ifndef GLDELETEQUERIES_DECL 12099 #define GLDELETEQUERIES_DECL 12100 csGLDELETEQUERIES glDeleteQueries; 12101 #endif 12102 12103 #ifndef GLISQUERY_DECL 12104 #define GLISQUERY_DECL 12105 csGLISQUERY glIsQuery; 12106 #endif 12107 12108 #ifndef GLBEGINQUERY_DECL 12109 #define GLBEGINQUERY_DECL 12110 csGLBEGINQUERY glBeginQuery; 12111 #endif 12112 12113 #ifndef GLENDQUERY_DECL 12114 #define GLENDQUERY_DECL 12115 csGLENDQUERY glEndQuery; 12116 #endif 12117 12118 #ifndef GLGETQUERYIV_DECL 12119 #define GLGETQUERYIV_DECL 12120 csGLGETQUERYIV glGetQueryiv; 12121 #endif 12122 12123 #ifndef GLGETQUERYOBJECTIV_DECL 12124 #define GLGETQUERYOBJECTIV_DECL 12125 csGLGETQUERYOBJECTIV glGetQueryObjectiv; 12126 #endif 12127 12128 #ifndef GLGETQUERYOBJECTUIV_DECL 12129 #define GLGETQUERYOBJECTUIV_DECL 12130 csGLGETQUERYOBJECTUIV glGetQueryObjectuiv; 12131 #endif 12132 12133 12139 #ifndef GLDELETESHADER_DECL 12140 #define GLDELETESHADER_DECL 12141 csGLDELETESHADER glDeleteShader; 12142 #endif 12143 12144 #ifndef GLGETHANDLE_DECL 12145 #define GLGETHANDLE_DECL 12146 csGLGETHANDLE glGetHandle; 12147 #endif 12148 12149 #ifndef GLDETACHSHADER_DECL 12150 #define GLDETACHSHADER_DECL 12151 csGLDETACHSHADER glDetachShader; 12152 #endif 12153 12154 #ifndef GLCREATESHADER_DECL 12155 #define GLCREATESHADER_DECL 12156 csGLCREATESHADER glCreateShader; 12157 #endif 12158 12159 #ifndef GLSHADERSOURCE_DECL 12160 #define GLSHADERSOURCE_DECL 12161 csGLSHADERSOURCE glShaderSource; 12162 #endif 12163 12164 #ifndef GLCOMPILESHADER_DECL 12165 #define GLCOMPILESHADER_DECL 12166 csGLCOMPILESHADER glCompileShader; 12167 #endif 12168 12169 #ifndef GLCREATEPROGRAMOBJECT_DECL 12170 #define GLCREATEPROGRAMOBJECT_DECL 12171 csGLCREATEPROGRAMOBJECT glCreateProgramObject; 12172 #endif 12173 12174 #ifndef GLATTACHSHADER_DECL 12175 #define GLATTACHSHADER_DECL 12176 csGLATTACHSHADER glAttachShader; 12177 #endif 12178 12179 #ifndef GLLINKPROGRAM_DECL 12180 #define GLLINKPROGRAM_DECL 12181 csGLLINKPROGRAM glLinkProgram; 12182 #endif 12183 12184 #ifndef GLUSEPROGRAM_DECL 12185 #define GLUSEPROGRAM_DECL 12186 csGLUSEPROGRAM glUseProgram; 12187 #endif 12188 12189 #ifndef GLDELETEPROGRAM_DECL 12190 #define GLDELETEPROGRAM_DECL 12191 csGLDELETEPROGRAM glDeleteProgram; 12192 #endif 12193 12194 #ifndef GLVALIDATEPROGRAM_DECL 12195 #define GLVALIDATEPROGRAM_DECL 12196 csGLVALIDATEPROGRAM glValidateProgram; 12197 #endif 12198 12199 #ifndef GLUNIFORM1F_DECL 12200 #define GLUNIFORM1F_DECL 12201 csGLUNIFORM1F glUniform1f; 12202 #endif 12203 12204 #ifndef GLUNIFORM2F_DECL 12205 #define GLUNIFORM2F_DECL 12206 csGLUNIFORM2F glUniform2f; 12207 #endif 12208 12209 #ifndef GLUNIFORM3F_DECL 12210 #define GLUNIFORM3F_DECL 12211 csGLUNIFORM3F glUniform3f; 12212 #endif 12213 12214 #ifndef GLUNIFORM4F_DECL 12215 #define GLUNIFORM4F_DECL 12216 csGLUNIFORM4F glUniform4f; 12217 #endif 12218 12219 #ifndef GLUNIFORM1I_DECL 12220 #define GLUNIFORM1I_DECL 12221 csGLUNIFORM1I glUniform1i; 12222 #endif 12223 12224 #ifndef GLUNIFORM2I_DECL 12225 #define GLUNIFORM2I_DECL 12226 csGLUNIFORM2I glUniform2i; 12227 #endif 12228 12229 #ifndef GLUNIFORM3I_DECL 12230 #define GLUNIFORM3I_DECL 12231 csGLUNIFORM3I glUniform3i; 12232 #endif 12233 12234 #ifndef GLUNIFORM4I_DECL 12235 #define GLUNIFORM4I_DECL 12236 csGLUNIFORM4I glUniform4i; 12237 #endif 12238 12239 #ifndef GLUNIFORM1FV_DECL 12240 #define GLUNIFORM1FV_DECL 12241 csGLUNIFORM1FV glUniform1fv; 12242 #endif 12243 12244 #ifndef GLUNIFORM2FV_DECL 12245 #define GLUNIFORM2FV_DECL 12246 csGLUNIFORM2FV glUniform2fv; 12247 #endif 12248 12249 #ifndef GLUNIFORM3FV_DECL 12250 #define GLUNIFORM3FV_DECL 12251 csGLUNIFORM3FV glUniform3fv; 12252 #endif 12253 12254 #ifndef GLUNIFORM4FV_DECL 12255 #define GLUNIFORM4FV_DECL 12256 csGLUNIFORM4FV glUniform4fv; 12257 #endif 12258 12259 #ifndef GLUNIFORM1IV_DECL 12260 #define GLUNIFORM1IV_DECL 12261 csGLUNIFORM1IV glUniform1iv; 12262 #endif 12263 12264 #ifndef GLUNIFORM2IV_DECL 12265 #define GLUNIFORM2IV_DECL 12266 csGLUNIFORM2IV glUniform2iv; 12267 #endif 12268 12269 #ifndef GLUNIFORM3IV_DECL 12270 #define GLUNIFORM3IV_DECL 12271 csGLUNIFORM3IV glUniform3iv; 12272 #endif 12273 12274 #ifndef GLUNIFORM4IV_DECL 12275 #define GLUNIFORM4IV_DECL 12276 csGLUNIFORM4IV glUniform4iv; 12277 #endif 12278 12279 #ifndef GLUNIFORMMATRIX2FV_DECL 12280 #define GLUNIFORMMATRIX2FV_DECL 12281 csGLUNIFORMMATRIX2FV glUniformMatrix2fv; 12282 #endif 12283 12284 #ifndef GLUNIFORMMATRIX3FV_DECL 12285 #define GLUNIFORMMATRIX3FV_DECL 12286 csGLUNIFORMMATRIX3FV glUniformMatrix3fv; 12287 #endif 12288 12289 #ifndef GLUNIFORMMATRIX4FV_DECL 12290 #define GLUNIFORMMATRIX4FV_DECL 12291 csGLUNIFORMMATRIX4FV glUniformMatrix4fv; 12292 #endif 12293 12294 #ifndef GLGETOBJECTPARAMETERFV_DECL 12295 #define GLGETOBJECTPARAMETERFV_DECL 12296 csGLGETOBJECTPARAMETERFV glGetObjectParameterfv; 12297 #endif 12298 12299 #ifndef GLGETOBJECTPARAMETERIV_DECL 12300 #define GLGETOBJECTPARAMETERIV_DECL 12301 csGLGETOBJECTPARAMETERIV glGetObjectParameteriv; 12302 #endif 12303 12304 #ifndef GLGETINFOLOG_DECL 12305 #define GLGETINFOLOG_DECL 12306 csGLGETINFOLOG glGetInfoLog; 12307 #endif 12308 12309 #ifndef GLGETATTACHEDOBJECTS_DECL 12310 #define GLGETATTACHEDOBJECTS_DECL 12311 csGLGETATTACHEDOBJECTS glGetAttachedObjects; 12312 #endif 12313 12314 #ifndef GLGETUNIFORMLOCATION_DECL 12315 #define GLGETUNIFORMLOCATION_DECL 12316 csGLGETUNIFORMLOCATION glGetUniformLocation; 12317 #endif 12318 12319 #ifndef GLGETACTIVEUNIFORM_DECL 12320 #define GLGETACTIVEUNIFORM_DECL 12321 csGLGETACTIVEUNIFORM glGetActiveUniform; 12322 #endif 12323 12324 #ifndef GLGETUNIFORMFV_DECL 12325 #define GLGETUNIFORMFV_DECL 12326 csGLGETUNIFORMFV glGetUniformfv; 12327 #endif 12328 12329 #ifndef GLGETUNIFORMIV_DECL 12330 #define GLGETUNIFORMIV_DECL 12331 csGLGETUNIFORMIV glGetUniformiv; 12332 #endif 12333 12334 #ifndef GLGETSHADERSOURCE_DECL 12335 #define GLGETSHADERSOURCE_DECL 12336 csGLGETSHADERSOURCE glGetShaderSource; 12337 #endif 12338 12339 #ifndef GLVERTEXATTRIB1S_DECL 12340 #define GLVERTEXATTRIB1S_DECL 12341 csGLVERTEXATTRIB1S glVertexAttrib1s; 12342 #endif 12343 12344 #ifndef GLVERTEXATTRIB1F_DECL 12345 #define GLVERTEXATTRIB1F_DECL 12346 csGLVERTEXATTRIB1F glVertexAttrib1f; 12347 #endif 12348 12349 #ifndef GLVERTEXATTRIB1D_DECL 12350 #define GLVERTEXATTRIB1D_DECL 12351 csGLVERTEXATTRIB1D glVertexAttrib1d; 12352 #endif 12353 12354 #ifndef GLVERTEXATTRIB2S_DECL 12355 #define GLVERTEXATTRIB2S_DECL 12356 csGLVERTEXATTRIB2S glVertexAttrib2s; 12357 #endif 12358 12359 #ifndef GLVERTEXATTRIB2F_DECL 12360 #define GLVERTEXATTRIB2F_DECL 12361 csGLVERTEXATTRIB2F glVertexAttrib2f; 12362 #endif 12363 12364 #ifndef GLVERTEXATTRIB2D_DECL 12365 #define GLVERTEXATTRIB2D_DECL 12366 csGLVERTEXATTRIB2D glVertexAttrib2d; 12367 #endif 12368 12369 #ifndef GLVERTEXATTRIB3S_DECL 12370 #define GLVERTEXATTRIB3S_DECL 12371 csGLVERTEXATTRIB3S glVertexAttrib3s; 12372 #endif 12373 12374 #ifndef GLVERTEXATTRIB3F_DECL 12375 #define GLVERTEXATTRIB3F_DECL 12376 csGLVERTEXATTRIB3F glVertexAttrib3f; 12377 #endif 12378 12379 #ifndef GLVERTEXATTRIB3D_DECL 12380 #define GLVERTEXATTRIB3D_DECL 12381 csGLVERTEXATTRIB3D glVertexAttrib3d; 12382 #endif 12383 12384 #ifndef GLVERTEXATTRIB4S_DECL 12385 #define GLVERTEXATTRIB4S_DECL 12386 csGLVERTEXATTRIB4S glVertexAttrib4s; 12387 #endif 12388 12389 #ifndef GLVERTEXATTRIB4F_DECL 12390 #define GLVERTEXATTRIB4F_DECL 12391 csGLVERTEXATTRIB4F glVertexAttrib4f; 12392 #endif 12393 12394 #ifndef GLVERTEXATTRIB4D_DECL 12395 #define GLVERTEXATTRIB4D_DECL 12396 csGLVERTEXATTRIB4D glVertexAttrib4d; 12397 #endif 12398 12399 #ifndef GLVERTEXATTRIB4NUB_DECL 12400 #define GLVERTEXATTRIB4NUB_DECL 12401 csGLVERTEXATTRIB4NUB glVertexAttrib4Nub; 12402 #endif 12403 12404 #ifndef GLVERTEXATTRIB1SV_DECL 12405 #define GLVERTEXATTRIB1SV_DECL 12406 csGLVERTEXATTRIB1SV glVertexAttrib1sv; 12407 #endif 12408 12409 #ifndef GLVERTEXATTRIB1FV_DECL 12410 #define GLVERTEXATTRIB1FV_DECL 12411 csGLVERTEXATTRIB1FV glVertexAttrib1fv; 12412 #endif 12413 12414 #ifndef GLVERTEXATTRIB1DV_DECL 12415 #define GLVERTEXATTRIB1DV_DECL 12416 csGLVERTEXATTRIB1DV glVertexAttrib1dv; 12417 #endif 12418 12419 #ifndef GLVERTEXATTRIB2SV_DECL 12420 #define GLVERTEXATTRIB2SV_DECL 12421 csGLVERTEXATTRIB2SV glVertexAttrib2sv; 12422 #endif 12423 12424 #ifndef GLVERTEXATTRIB2FV_DECL 12425 #define GLVERTEXATTRIB2FV_DECL 12426 csGLVERTEXATTRIB2FV glVertexAttrib2fv; 12427 #endif 12428 12429 #ifndef GLVERTEXATTRIB2DV_DECL 12430 #define GLVERTEXATTRIB2DV_DECL 12431 csGLVERTEXATTRIB2DV glVertexAttrib2dv; 12432 #endif 12433 12434 #ifndef GLVERTEXATTRIB3SV_DECL 12435 #define GLVERTEXATTRIB3SV_DECL 12436 csGLVERTEXATTRIB3SV glVertexAttrib3sv; 12437 #endif 12438 12439 #ifndef GLVERTEXATTRIB3FV_DECL 12440 #define GLVERTEXATTRIB3FV_DECL 12441 csGLVERTEXATTRIB3FV glVertexAttrib3fv; 12442 #endif 12443 12444 #ifndef GLVERTEXATTRIB3DV_DECL 12445 #define GLVERTEXATTRIB3DV_DECL 12446 csGLVERTEXATTRIB3DV glVertexAttrib3dv; 12447 #endif 12448 12449 #ifndef GLVERTEXATTRIB4BV_DECL 12450 #define GLVERTEXATTRIB4BV_DECL 12451 csGLVERTEXATTRIB4BV glVertexAttrib4bv; 12452 #endif 12453 12454 #ifndef GLVERTEXATTRIB4SV_DECL 12455 #define GLVERTEXATTRIB4SV_DECL 12456 csGLVERTEXATTRIB4SV glVertexAttrib4sv; 12457 #endif 12458 12459 #ifndef GLVERTEXATTRIB4IV_DECL 12460 #define GLVERTEXATTRIB4IV_DECL 12461 csGLVERTEXATTRIB4IV glVertexAttrib4iv; 12462 #endif 12463 12464 #ifndef GLVERTEXATTRIB4UBV_DECL 12465 #define GLVERTEXATTRIB4UBV_DECL 12466 csGLVERTEXATTRIB4UBV glVertexAttrib4ubv; 12467 #endif 12468 12469 #ifndef GLVERTEXATTRIB4USV_DECL 12470 #define GLVERTEXATTRIB4USV_DECL 12471 csGLVERTEXATTRIB4USV glVertexAttrib4usv; 12472 #endif 12473 12474 #ifndef GLVERTEXATTRIB4UIV_DECL 12475 #define GLVERTEXATTRIB4UIV_DECL 12476 csGLVERTEXATTRIB4UIV glVertexAttrib4uiv; 12477 #endif 12478 12479 #ifndef GLVERTEXATTRIB4FV_DECL 12480 #define GLVERTEXATTRIB4FV_DECL 12481 csGLVERTEXATTRIB4FV glVertexAttrib4fv; 12482 #endif 12483 12484 #ifndef GLVERTEXATTRIB4DV_DECL 12485 #define GLVERTEXATTRIB4DV_DECL 12486 csGLVERTEXATTRIB4DV glVertexAttrib4dv; 12487 #endif 12488 12489 #ifndef GLVERTEXATTRIB4NBV_DECL 12490 #define GLVERTEXATTRIB4NBV_DECL 12491 csGLVERTEXATTRIB4NBV glVertexAttrib4Nbv; 12492 #endif 12493 12494 #ifndef GLVERTEXATTRIB4NSV_DECL 12495 #define GLVERTEXATTRIB4NSV_DECL 12496 csGLVERTEXATTRIB4NSV glVertexAttrib4Nsv; 12497 #endif 12498 12499 #ifndef GLVERTEXATTRIB4NIV_DECL 12500 #define GLVERTEXATTRIB4NIV_DECL 12501 csGLVERTEXATTRIB4NIV glVertexAttrib4Niv; 12502 #endif 12503 12504 #ifndef GLVERTEXATTRIB4NUBV_DECL 12505 #define GLVERTEXATTRIB4NUBV_DECL 12506 csGLVERTEXATTRIB4NUBV glVertexAttrib4Nubv; 12507 #endif 12508 12509 #ifndef GLVERTEXATTRIB4NUSV_DECL 12510 #define GLVERTEXATTRIB4NUSV_DECL 12511 csGLVERTEXATTRIB4NUSV glVertexAttrib4Nusv; 12512 #endif 12513 12514 #ifndef GLVERTEXATTRIB4NUIV_DECL 12515 #define GLVERTEXATTRIB4NUIV_DECL 12516 csGLVERTEXATTRIB4NUIV glVertexAttrib4Nuiv; 12517 #endif 12518 12519 #ifndef GLVERTEXATTRIBPOINTER_DECL 12520 #define GLVERTEXATTRIBPOINTER_DECL 12521 csGLVERTEXATTRIBPOINTER glVertexAttribPointer; 12522 #endif 12523 12524 #ifndef GLENABLEVERTEXATTRIBARRAY_DECL 12525 #define GLENABLEVERTEXATTRIBARRAY_DECL 12526 csGLENABLEVERTEXATTRIBARRAY glEnableVertexAttribArray; 12527 #endif 12528 12529 #ifndef GLDISABLEVERTEXATTRIBARRAY_DECL 12530 #define GLDISABLEVERTEXATTRIBARRAY_DECL 12531 csGLDISABLEVERTEXATTRIBARRAY glDisableVertexAttribArray; 12532 #endif 12533 12534 #ifndef GLBINDATTRIBLOCATION_DECL 12535 #define GLBINDATTRIBLOCATION_DECL 12536 csGLBINDATTRIBLOCATION glBindAttribLocation; 12537 #endif 12538 12539 #ifndef GLGETACTIVEATTRIB_DECL 12540 #define GLGETACTIVEATTRIB_DECL 12541 csGLGETACTIVEATTRIB glGetActiveAttrib; 12542 #endif 12543 12544 #ifndef GLGETATTRIBLOCATION_DECL 12545 #define GLGETATTRIBLOCATION_DECL 12546 csGLGETATTRIBLOCATION glGetAttribLocation; 12547 #endif 12548 12549 #ifndef GLGETVERTEXATTRIBPOINTERV_DECL 12550 #define GLGETVERTEXATTRIBPOINTERV_DECL 12551 csGLGETVERTEXATTRIBPOINTERV glGetVertexAttribPointerv; 12552 #endif 12553 12554 #ifndef GLBLENDEQUATIONSEPARATE_DECL 12555 #define GLBLENDEQUATIONSEPARATE_DECL 12556 csGLBLENDEQUATIONSEPARATE glBlendEquationSeparate; 12557 #endif 12558 12559 #ifndef GLSTENCILFUNCSEPARATE_DECL 12560 #define GLSTENCILFUNCSEPARATE_DECL 12561 csGLSTENCILFUNCSEPARATE glStencilFuncSeparate; 12562 #endif 12563 12564 #ifndef GLSTENCILOPSEPARATE_DECL 12565 #define GLSTENCILOPSEPARATE_DECL 12566 csGLSTENCILOPSEPARATE glStencilOpSeparate; 12567 #endif 12568 12569 12575 #ifndef GLUNIFORMMATRIX2X3FV_DECL 12576 #define GLUNIFORMMATRIX2X3FV_DECL 12577 csGLUNIFORMMATRIX2X3FV glUniformMatrix2x3fv; 12578 #endif 12579 12580 #ifndef GLUNIFORMMATRIX3X2FV_DECL 12581 #define GLUNIFORMMATRIX3X2FV_DECL 12582 csGLUNIFORMMATRIX3X2FV glUniformMatrix3x2fv; 12583 #endif 12584 12585 #ifndef GLUNIFORMMATRIX2X4FV_DECL 12586 #define GLUNIFORMMATRIX2X4FV_DECL 12587 csGLUNIFORMMATRIX2X4FV glUniformMatrix2x4fv; 12588 #endif 12589 12590 #ifndef GLUNIFORMMATRIX4X2FV_DECL 12591 #define GLUNIFORMMATRIX4X2FV_DECL 12592 csGLUNIFORMMATRIX4X2FV glUniformMatrix4x2fv; 12593 #endif 12594 12595 #ifndef GLUNIFORMMATRIX3X4FV_DECL 12596 #define GLUNIFORMMATRIX3X4FV_DECL 12597 csGLUNIFORMMATRIX3X4FV glUniformMatrix3x4fv; 12598 #endif 12599 12600 #ifndef GLUNIFORMMATRIX4X3FV_DECL 12601 #define GLUNIFORMMATRIX4X3FV_DECL 12602 csGLUNIFORMMATRIX4X3FV glUniformMatrix4x3fv; 12603 #endif 12604 12605 12610 #ifndef GLCOLORTABLE_DECL 12611 #define GLCOLORTABLE_DECL 12612 csGLCOLORTABLE glColorTable; 12613 #endif 12614 12615 #ifndef GLCOLORTABLEPARAMETERFV_DECL 12616 #define GLCOLORTABLEPARAMETERFV_DECL 12617 csGLCOLORTABLEPARAMETERFV glColorTableParameterfv; 12618 #endif 12619 12620 #ifndef GLCOLORTABLEPARAMETERIV_DECL 12621 #define GLCOLORTABLEPARAMETERIV_DECL 12622 csGLCOLORTABLEPARAMETERIV glColorTableParameteriv; 12623 #endif 12624 12625 #ifndef GLCOPYCOLORTABLE_DECL 12626 #define GLCOPYCOLORTABLE_DECL 12627 csGLCOPYCOLORTABLE glCopyColorTable; 12628 #endif 12629 12630 #ifndef GLGETCOLORTABLE_DECL 12631 #define GLGETCOLORTABLE_DECL 12632 csGLGETCOLORTABLE glGetColorTable; 12633 #endif 12634 12635 #ifndef GLGETCOLORTABLEPARAMETERFV_DECL 12636 #define GLGETCOLORTABLEPARAMETERFV_DECL 12637 csGLGETCOLORTABLEPARAMETERFV glGetColorTableParameterfv; 12638 #endif 12639 12640 #ifndef GLGETCOLORTABLEPARAMETERIV_DECL 12641 #define GLGETCOLORTABLEPARAMETERIV_DECL 12642 csGLGETCOLORTABLEPARAMETERIV glGetColorTableParameteriv; 12643 #endif 12644 12645 #ifndef GLCOLORSUBTABLE_DECL 12646 #define GLCOLORSUBTABLE_DECL 12647 csGLCOLORSUBTABLE glColorSubTable; 12648 #endif 12649 12650 #ifndef GLCOPYCOLORSUBTABLE_DECL 12651 #define GLCOPYCOLORSUBTABLE_DECL 12652 csGLCOPYCOLORSUBTABLE glCopyColorSubTable; 12653 #endif 12654 12655 #ifndef GLCONVOLUTIONFILTER1D_DECL 12656 #define GLCONVOLUTIONFILTER1D_DECL 12657 csGLCONVOLUTIONFILTER1D glConvolutionFilter1D; 12658 #endif 12659 12660 #ifndef GLCONVOLUTIONFILTER2D_DECL 12661 #define GLCONVOLUTIONFILTER2D_DECL 12662 csGLCONVOLUTIONFILTER2D glConvolutionFilter2D; 12663 #endif 12664 12665 #ifndef GLCONVOLUTIONPARAMETERF_DECL 12666 #define GLCONVOLUTIONPARAMETERF_DECL 12667 csGLCONVOLUTIONPARAMETERF glConvolutionParameterf; 12668 #endif 12669 12670 #ifndef GLCONVOLUTIONPARAMETERFV_DECL 12671 #define GLCONVOLUTIONPARAMETERFV_DECL 12672 csGLCONVOLUTIONPARAMETERFV glConvolutionParameterfv; 12673 #endif 12674 12675 #ifndef GLCONVOLUTIONPARAMETERI_DECL 12676 #define GLCONVOLUTIONPARAMETERI_DECL 12677 csGLCONVOLUTIONPARAMETERI glConvolutionParameteri; 12678 #endif 12679 12680 #ifndef GLCONVOLUTIONPARAMETERIV_DECL 12681 #define GLCONVOLUTIONPARAMETERIV_DECL 12682 csGLCONVOLUTIONPARAMETERIV glConvolutionParameteriv; 12683 #endif 12684 12685 #ifndef GLCOPYCONVOLUTIONFILTER1D_DECL 12686 #define GLCOPYCONVOLUTIONFILTER1D_DECL 12687 csGLCOPYCONVOLUTIONFILTER1D glCopyConvolutionFilter1D; 12688 #endif 12689 12690 #ifndef GLCOPYCONVOLUTIONFILTER2D_DECL 12691 #define GLCOPYCONVOLUTIONFILTER2D_DECL 12692 csGLCOPYCONVOLUTIONFILTER2D glCopyConvolutionFilter2D; 12693 #endif 12694 12695 #ifndef GLGETCONVOLUTIONFILTER_DECL 12696 #define GLGETCONVOLUTIONFILTER_DECL 12697 csGLGETCONVOLUTIONFILTER glGetConvolutionFilter; 12698 #endif 12699 12700 #ifndef GLGETCONVOLUTIONPARAMETERFV_DECL 12701 #define GLGETCONVOLUTIONPARAMETERFV_DECL 12702 csGLGETCONVOLUTIONPARAMETERFV glGetConvolutionParameterfv; 12703 #endif 12704 12705 #ifndef GLGETCONVOLUTIONPARAMETERIV_DECL 12706 #define GLGETCONVOLUTIONPARAMETERIV_DECL 12707 csGLGETCONVOLUTIONPARAMETERIV glGetConvolutionParameteriv; 12708 #endif 12709 12710 #ifndef GLGETSEPARABLEFILTER_DECL 12711 #define GLGETSEPARABLEFILTER_DECL 12712 csGLGETSEPARABLEFILTER glGetSeparableFilter; 12713 #endif 12714 12715 #ifndef GLSEPARABLEFILTER2D_DECL 12716 #define GLSEPARABLEFILTER2D_DECL 12717 csGLSEPARABLEFILTER2D glSeparableFilter2D; 12718 #endif 12719 12720 #ifndef GLGETHISTOGRAM_DECL 12721 #define GLGETHISTOGRAM_DECL 12722 csGLGETHISTOGRAM glGetHistogram; 12723 #endif 12724 12725 #ifndef GLGETHISTOGRAMPARAMETERFV_DECL 12726 #define GLGETHISTOGRAMPARAMETERFV_DECL 12727 csGLGETHISTOGRAMPARAMETERFV glGetHistogramParameterfv; 12728 #endif 12729 12730 #ifndef GLGETHISTOGRAMPARAMETERIV_DECL 12731 #define GLGETHISTOGRAMPARAMETERIV_DECL 12732 csGLGETHISTOGRAMPARAMETERIV glGetHistogramParameteriv; 12733 #endif 12734 12735 #ifndef GLGETMINMAX_DECL 12736 #define GLGETMINMAX_DECL 12737 csGLGETMINMAX glGetMinmax; 12738 #endif 12739 12740 #ifndef GLGETMINMAXPARAMETERFV_DECL 12741 #define GLGETMINMAXPARAMETERFV_DECL 12742 csGLGETMINMAXPARAMETERFV glGetMinmaxParameterfv; 12743 #endif 12744 12745 #ifndef GLGETMINMAXPARAMETERIV_DECL 12746 #define GLGETMINMAXPARAMETERIV_DECL 12747 csGLGETMINMAXPARAMETERIV glGetMinmaxParameteriv; 12748 #endif 12749 12750 #ifndef GLHISTOGRAM_DECL 12751 #define GLHISTOGRAM_DECL 12752 csGLHISTOGRAM glHistogram; 12753 #endif 12754 12755 #ifndef GLMINMAX_DECL 12756 #define GLMINMAX_DECL 12757 csGLMINMAX glMinmax; 12758 #endif 12759 12760 #ifndef GLRESETHISTOGRAM_DECL 12761 #define GLRESETHISTOGRAM_DECL 12762 csGLRESETHISTOGRAM glResetHistogram; 12763 #endif 12764 12765 #ifndef GLRESETMINMAX_DECL 12766 #define GLRESETMINMAX_DECL 12767 csGLRESETMINMAX glResetMinmax; 12768 #endif 12769 12770 #ifndef GLBLENDCOLOR_DECL 12771 #define GLBLENDCOLOR_DECL 12772 csGLBLENDCOLOR glBlendColor; 12773 #endif 12774 12775 #ifndef GLBLENDEQUATION_DECL 12776 #define GLBLENDEQUATION_DECL 12777 csGLBLENDEQUATION glBlendEquation; 12778 #endif 12779 12780 12785 #ifndef GLACTIVETEXTUREARB_DECL 12786 #define GLACTIVETEXTUREARB_DECL 12787 csGLACTIVETEXTUREARB glActiveTextureARB; 12788 #endif 12789 12790 #ifndef GLCLIENTACTIVETEXTUREARB_DECL 12791 #define GLCLIENTACTIVETEXTUREARB_DECL 12792 csGLCLIENTACTIVETEXTUREARB glClientActiveTextureARB; 12793 #endif 12794 12795 #ifndef GLMULTITEXCOORD1DARB_DECL 12796 #define GLMULTITEXCOORD1DARB_DECL 12797 csGLMULTITEXCOORD1DARB glMultiTexCoord1dARB; 12798 #endif 12799 12800 #ifndef GLMULTITEXCOORD1DVARB_DECL 12801 #define GLMULTITEXCOORD1DVARB_DECL 12802 csGLMULTITEXCOORD1DVARB glMultiTexCoord1dvARB; 12803 #endif 12804 12805 #ifndef GLMULTITEXCOORD1FARB_DECL 12806 #define GLMULTITEXCOORD1FARB_DECL 12807 csGLMULTITEXCOORD1FARB glMultiTexCoord1fARB; 12808 #endif 12809 12810 #ifndef GLMULTITEXCOORD1FVARB_DECL 12811 #define GLMULTITEXCOORD1FVARB_DECL 12812 csGLMULTITEXCOORD1FVARB glMultiTexCoord1fvARB; 12813 #endif 12814 12815 #ifndef GLMULTITEXCOORD1IARB_DECL 12816 #define GLMULTITEXCOORD1IARB_DECL 12817 csGLMULTITEXCOORD1IARB glMultiTexCoord1iARB; 12818 #endif 12819 12820 #ifndef GLMULTITEXCOORD1IVARB_DECL 12821 #define GLMULTITEXCOORD1IVARB_DECL 12822 csGLMULTITEXCOORD1IVARB glMultiTexCoord1ivARB; 12823 #endif 12824 12825 #ifndef GLMULTITEXCOORD1SARB_DECL 12826 #define GLMULTITEXCOORD1SARB_DECL 12827 csGLMULTITEXCOORD1SARB glMultiTexCoord1sARB; 12828 #endif 12829 12830 #ifndef GLMULTITEXCOORD1SVARB_DECL 12831 #define GLMULTITEXCOORD1SVARB_DECL 12832 csGLMULTITEXCOORD1SVARB glMultiTexCoord1svARB; 12833 #endif 12834 12835 #ifndef GLMULTITEXCOORD2DARB_DECL 12836 #define GLMULTITEXCOORD2DARB_DECL 12837 csGLMULTITEXCOORD2DARB glMultiTexCoord2dARB; 12838 #endif 12839 12840 #ifndef GLMULTITEXCOORD2DVARB_DECL 12841 #define GLMULTITEXCOORD2DVARB_DECL 12842 csGLMULTITEXCOORD2DVARB glMultiTexCoord2dvARB; 12843 #endif 12844 12845 #ifndef GLMULTITEXCOORD2FARB_DECL 12846 #define GLMULTITEXCOORD2FARB_DECL 12847 csGLMULTITEXCOORD2FARB glMultiTexCoord2fARB; 12848 #endif 12849 12850 #ifndef GLMULTITEXCOORD2FVARB_DECL 12851 #define GLMULTITEXCOORD2FVARB_DECL 12852 csGLMULTITEXCOORD2FVARB glMultiTexCoord2fvARB; 12853 #endif 12854 12855 #ifndef GLMULTITEXCOORD2IARB_DECL 12856 #define GLMULTITEXCOORD2IARB_DECL 12857 csGLMULTITEXCOORD2IARB glMultiTexCoord2iARB; 12858 #endif 12859 12860 #ifndef GLMULTITEXCOORD2IVARB_DECL 12861 #define GLMULTITEXCOORD2IVARB_DECL 12862 csGLMULTITEXCOORD2IVARB glMultiTexCoord2ivARB; 12863 #endif 12864 12865 #ifndef GLMULTITEXCOORD2SARB_DECL 12866 #define GLMULTITEXCOORD2SARB_DECL 12867 csGLMULTITEXCOORD2SARB glMultiTexCoord2sARB; 12868 #endif 12869 12870 #ifndef GLMULTITEXCOORD2SVARB_DECL 12871 #define GLMULTITEXCOORD2SVARB_DECL 12872 csGLMULTITEXCOORD2SVARB glMultiTexCoord2svARB; 12873 #endif 12874 12875 #ifndef GLMULTITEXCOORD3DARB_DECL 12876 #define GLMULTITEXCOORD3DARB_DECL 12877 csGLMULTITEXCOORD3DARB glMultiTexCoord3dARB; 12878 #endif 12879 12880 #ifndef GLMULTITEXCOORD3DVARB_DECL 12881 #define GLMULTITEXCOORD3DVARB_DECL 12882 csGLMULTITEXCOORD3DVARB glMultiTexCoord3dvARB; 12883 #endif 12884 12885 #ifndef GLMULTITEXCOORD3FARB_DECL 12886 #define GLMULTITEXCOORD3FARB_DECL 12887 csGLMULTITEXCOORD3FARB glMultiTexCoord3fARB; 12888 #endif 12889 12890 #ifndef GLMULTITEXCOORD3FVARB_DECL 12891 #define GLMULTITEXCOORD3FVARB_DECL 12892 csGLMULTITEXCOORD3FVARB glMultiTexCoord3fvARB; 12893 #endif 12894 12895 #ifndef GLMULTITEXCOORD3IARB_DECL 12896 #define GLMULTITEXCOORD3IARB_DECL 12897 csGLMULTITEXCOORD3IARB glMultiTexCoord3iARB; 12898 #endif 12899 12900 #ifndef GLMULTITEXCOORD3IVARB_DECL 12901 #define GLMULTITEXCOORD3IVARB_DECL 12902 csGLMULTITEXCOORD3IVARB glMultiTexCoord3ivARB; 12903 #endif 12904 12905 #ifndef GLMULTITEXCOORD3SARB_DECL 12906 #define GLMULTITEXCOORD3SARB_DECL 12907 csGLMULTITEXCOORD3SARB glMultiTexCoord3sARB; 12908 #endif 12909 12910 #ifndef GLMULTITEXCOORD3SVARB_DECL 12911 #define GLMULTITEXCOORD3SVARB_DECL 12912 csGLMULTITEXCOORD3SVARB glMultiTexCoord3svARB; 12913 #endif 12914 12915 #ifndef GLMULTITEXCOORD4DARB_DECL 12916 #define GLMULTITEXCOORD4DARB_DECL 12917 csGLMULTITEXCOORD4DARB glMultiTexCoord4dARB; 12918 #endif 12919 12920 #ifndef GLMULTITEXCOORD4DVARB_DECL 12921 #define GLMULTITEXCOORD4DVARB_DECL 12922 csGLMULTITEXCOORD4DVARB glMultiTexCoord4dvARB; 12923 #endif 12924 12925 #ifndef GLMULTITEXCOORD4FARB_DECL 12926 #define GLMULTITEXCOORD4FARB_DECL 12927 csGLMULTITEXCOORD4FARB glMultiTexCoord4fARB; 12928 #endif 12929 12930 #ifndef GLMULTITEXCOORD4FVARB_DECL 12931 #define GLMULTITEXCOORD4FVARB_DECL 12932 csGLMULTITEXCOORD4FVARB glMultiTexCoord4fvARB; 12933 #endif 12934 12935 #ifndef GLMULTITEXCOORD4IARB_DECL 12936 #define GLMULTITEXCOORD4IARB_DECL 12937 csGLMULTITEXCOORD4IARB glMultiTexCoord4iARB; 12938 #endif 12939 12940 #ifndef GLMULTITEXCOORD4IVARB_DECL 12941 #define GLMULTITEXCOORD4IVARB_DECL 12942 csGLMULTITEXCOORD4IVARB glMultiTexCoord4ivARB; 12943 #endif 12944 12945 #ifndef GLMULTITEXCOORD4SARB_DECL 12946 #define GLMULTITEXCOORD4SARB_DECL 12947 csGLMULTITEXCOORD4SARB glMultiTexCoord4sARB; 12948 #endif 12949 12950 #ifndef GLMULTITEXCOORD4SVARB_DECL 12951 #define GLMULTITEXCOORD4SVARB_DECL 12952 csGLMULTITEXCOORD4SVARB glMultiTexCoord4svARB; 12953 #endif 12954 12955 12960 #ifndef GLLOADTRANSPOSEMATRIXFARB_DECL 12961 #define GLLOADTRANSPOSEMATRIXFARB_DECL 12962 csGLLOADTRANSPOSEMATRIXFARB glLoadTransposeMatrixfARB; 12963 #endif 12964 12965 #ifndef GLLOADTRANSPOSEMATRIXDARB_DECL 12966 #define GLLOADTRANSPOSEMATRIXDARB_DECL 12967 csGLLOADTRANSPOSEMATRIXDARB glLoadTransposeMatrixdARB; 12968 #endif 12969 12970 #ifndef GLMULTTRANSPOSEMATRIXFARB_DECL 12971 #define GLMULTTRANSPOSEMATRIXFARB_DECL 12972 csGLMULTTRANSPOSEMATRIXFARB glMultTransposeMatrixfARB; 12973 #endif 12974 12975 #ifndef GLMULTTRANSPOSEMATRIXDARB_DECL 12976 #define GLMULTTRANSPOSEMATRIXDARB_DECL 12977 csGLMULTTRANSPOSEMATRIXDARB glMultTransposeMatrixdARB; 12978 #endif 12979 12980 12985 #ifndef GLSAMPLECOVERAGEARB_DECL 12986 #define GLSAMPLECOVERAGEARB_DECL 12987 csGLSAMPLECOVERAGEARB glSampleCoverageARB; 12988 #endif 12989 12990 12992 #ifdef CS_OPENGL_GLX 12993 12998 #endif // CS_OPENGL_GLX 12999 13005 #ifdef _WIN32 13006 13009 #ifndef WGLGETEXTENSIONSSTRINGARB_DECL 13010 #define WGLGETEXTENSIONSSTRINGARB_DECL 13011 csWGLGETEXTENSIONSSTRINGARB wglGetExtensionsStringARB; 13012 #endif 13013 13014 13016 #endif // _WIN32 13017 13018 #ifdef _WIN32 13019 13022 #ifndef WGLCREATEBUFFERREGIONARB_DECL 13023 #define WGLCREATEBUFFERREGIONARB_DECL 13024 csWGLCREATEBUFFERREGIONARB wglCreateBufferRegionARB; 13025 #endif 13026 13027 #ifndef WGLDELETEBUFFERREGIONARB_DECL 13028 #define WGLDELETEBUFFERREGIONARB_DECL 13029 csWGLDELETEBUFFERREGIONARB wglDeleteBufferRegionARB; 13030 #endif 13031 13032 #ifndef WGLSAVEBUFFERREGIONARB_DECL 13033 #define WGLSAVEBUFFERREGIONARB_DECL 13034 csWGLSAVEBUFFERREGIONARB wglSaveBufferRegionARB; 13035 #endif 13036 13037 #ifndef WGLRESTOREBUFFERREGIONARB_DECL 13038 #define WGLRESTOREBUFFERREGIONARB_DECL 13039 csWGLRESTOREBUFFERREGIONARB wglRestoreBufferRegionARB; 13040 #endif 13041 13042 13044 #endif // _WIN32 13045 13059 #ifndef GLPOINTPARAMETERFARB_DECL 13060 #define GLPOINTPARAMETERFARB_DECL 13061 csGLPOINTPARAMETERFARB glPointParameterfARB; 13062 #endif 13063 13064 #ifndef GLPOINTPARAMETERFVARB_DECL 13065 #define GLPOINTPARAMETERFVARB_DECL 13066 csGLPOINTPARAMETERFVARB glPointParameterfvARB; 13067 #endif 13068 13069 13089 #ifndef GLCOMPRESSEDTEXIMAGE3DARB_DECL 13090 #define GLCOMPRESSEDTEXIMAGE3DARB_DECL 13091 csGLCOMPRESSEDTEXIMAGE3DARB glCompressedTexImage3DARB; 13092 #endif 13093 13094 #ifndef GLCOMPRESSEDTEXIMAGE2DARB_DECL 13095 #define GLCOMPRESSEDTEXIMAGE2DARB_DECL 13096 csGLCOMPRESSEDTEXIMAGE2DARB glCompressedTexImage2DARB; 13097 #endif 13098 13099 #ifndef GLCOMPRESSEDTEXIMAGE1DARB_DECL 13100 #define GLCOMPRESSEDTEXIMAGE1DARB_DECL 13101 csGLCOMPRESSEDTEXIMAGE1DARB glCompressedTexImage1DARB; 13102 #endif 13103 13104 #ifndef GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL 13105 #define GLCOMPRESSEDTEXSUBIMAGE3DARB_DECL 13106 csGLCOMPRESSEDTEXSUBIMAGE3DARB glCompressedTexSubImage3DARB; 13107 #endif 13108 13109 #ifndef GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL 13110 #define GLCOMPRESSEDTEXSUBIMAGE2DARB_DECL 13111 csGLCOMPRESSEDTEXSUBIMAGE2DARB glCompressedTexSubImage2DARB; 13112 #endif 13113 13114 #ifndef GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL 13115 #define GLCOMPRESSEDTEXSUBIMAGE1DARB_DECL 13116 csGLCOMPRESSEDTEXSUBIMAGE1DARB glCompressedTexSubImage1DARB; 13117 #endif 13118 13119 #ifndef GLGETCOMPRESSEDTEXIMAGEARB_DECL 13120 #define GLGETCOMPRESSEDTEXIMAGEARB_DECL 13121 csGLGETCOMPRESSEDTEXIMAGEARB glGetCompressedTexImageARB; 13122 #endif 13123 13124 13149 #ifndef GLWEIGHTBVARB_DECL 13150 #define GLWEIGHTBVARB_DECL 13151 csGLWEIGHTBVARB glWeightbvARB; 13152 #endif 13153 13154 #ifndef GLWEIGHTSVARB_DECL 13155 #define GLWEIGHTSVARB_DECL 13156 csGLWEIGHTSVARB glWeightsvARB; 13157 #endif 13158 13159 #ifndef GLWEIGHTIVARB_DECL 13160 #define GLWEIGHTIVARB_DECL 13161 csGLWEIGHTIVARB glWeightivARB; 13162 #endif 13163 13164 #ifndef GLWEIGHTFVARB_DECL 13165 #define GLWEIGHTFVARB_DECL 13166 csGLWEIGHTFVARB glWeightfvARB; 13167 #endif 13168 13169 #ifndef GLWEIGHTDVARB_DECL 13170 #define GLWEIGHTDVARB_DECL 13171 csGLWEIGHTDVARB glWeightdvARB; 13172 #endif 13173 13174 #ifndef GLWEIGHTVARB_DECL 13175 #define GLWEIGHTVARB_DECL 13176 csGLWEIGHTVARB glWeightvARB; 13177 #endif 13178 13179 #ifndef GLWEIGHTUBVARB_DECL 13180 #define GLWEIGHTUBVARB_DECL 13181 csGLWEIGHTUBVARB glWeightubvARB; 13182 #endif 13183 13184 #ifndef GLWEIGHTUSVARB_DECL 13185 #define GLWEIGHTUSVARB_DECL 13186 csGLWEIGHTUSVARB glWeightusvARB; 13187 #endif 13188 13189 #ifndef GLWEIGHTUIVARB_DECL 13190 #define GLWEIGHTUIVARB_DECL 13191 csGLWEIGHTUIVARB glWeightuivARB; 13192 #endif 13193 13194 #ifndef GLWEIGHTPOINTERARB_DECL 13195 #define GLWEIGHTPOINTERARB_DECL 13196 csGLWEIGHTPOINTERARB glWeightPointerARB; 13197 #endif 13198 13199 #ifndef GLVERTEXBLENDARB_DECL 13200 #define GLVERTEXBLENDARB_DECL 13201 csGLVERTEXBLENDARB glVertexBlendARB; 13202 #endif 13203 13204 13209 #ifndef GLVERTEXATTRIB1SARB_DECL 13210 #define GLVERTEXATTRIB1SARB_DECL 13211 csGLVERTEXATTRIB1SARB glVertexAttrib1sARB; 13212 #endif 13213 13214 #ifndef GLVERTEXATTRIB1FARB_DECL 13215 #define GLVERTEXATTRIB1FARB_DECL 13216 csGLVERTEXATTRIB1FARB glVertexAttrib1fARB; 13217 #endif 13218 13219 #ifndef GLVERTEXATTRIB1DARB_DECL 13220 #define GLVERTEXATTRIB1DARB_DECL 13221 csGLVERTEXATTRIB1DARB glVertexAttrib1dARB; 13222 #endif 13223 13224 #ifndef GLVERTEXATTRIB2SARB_DECL 13225 #define GLVERTEXATTRIB2SARB_DECL 13226 csGLVERTEXATTRIB2SARB glVertexAttrib2sARB; 13227 #endif 13228 13229 #ifndef GLVERTEXATTRIB2FARB_DECL 13230 #define GLVERTEXATTRIB2FARB_DECL 13231 csGLVERTEXATTRIB2FARB glVertexAttrib2fARB; 13232 #endif 13233 13234 #ifndef GLVERTEXATTRIB2DARB_DECL 13235 #define GLVERTEXATTRIB2DARB_DECL 13236 csGLVERTEXATTRIB2DARB glVertexAttrib2dARB; 13237 #endif 13238 13239 #ifndef GLVERTEXATTRIB3SARB_DECL 13240 #define GLVERTEXATTRIB3SARB_DECL 13241 csGLVERTEXATTRIB3SARB glVertexAttrib3sARB; 13242 #endif 13243 13244 #ifndef GLVERTEXATTRIB3FARB_DECL 13245 #define GLVERTEXATTRIB3FARB_DECL 13246 csGLVERTEXATTRIB3FARB glVertexAttrib3fARB; 13247 #endif 13248 13249 #ifndef GLVERTEXATTRIB3DARB_DECL 13250 #define GLVERTEXATTRIB3DARB_DECL 13251 csGLVERTEXATTRIB3DARB glVertexAttrib3dARB; 13252 #endif 13253 13254 #ifndef GLVERTEXATTRIB4SARB_DECL 13255 #define GLVERTEXATTRIB4SARB_DECL 13256 csGLVERTEXATTRIB4SARB glVertexAttrib4sARB; 13257 #endif 13258 13259 #ifndef GLVERTEXATTRIB4FARB_DECL 13260 #define GLVERTEXATTRIB4FARB_DECL 13261 csGLVERTEXATTRIB4FARB glVertexAttrib4fARB; 13262 #endif 13263 13264 #ifndef GLVERTEXATTRIB4DARB_DECL 13265 #define GLVERTEXATTRIB4DARB_DECL 13266 csGLVERTEXATTRIB4DARB glVertexAttrib4dARB; 13267 #endif 13268 13269 #ifndef GLVERTEXATTRIB4NUBARB_DECL 13270 #define GLVERTEXATTRIB4NUBARB_DECL 13271 csGLVERTEXATTRIB4NUBARB glVertexAttrib4NubARB; 13272 #endif 13273 13274 #ifndef GLVERTEXATTRIB1SVARB_DECL 13275 #define GLVERTEXATTRIB1SVARB_DECL 13276 csGLVERTEXATTRIB1SVARB glVertexAttrib1svARB; 13277 #endif 13278 13279 #ifndef GLVERTEXATTRIB1FVARB_DECL 13280 #define GLVERTEXATTRIB1FVARB_DECL 13281 csGLVERTEXATTRIB1FVARB glVertexAttrib1fvARB; 13282 #endif 13283 13284 #ifndef GLVERTEXATTRIB1DVARB_DECL 13285 #define GLVERTEXATTRIB1DVARB_DECL 13286 csGLVERTEXATTRIB1DVARB glVertexAttrib1dvARB; 13287 #endif 13288 13289 #ifndef GLVERTEXATTRIB2SVARB_DECL 13290 #define GLVERTEXATTRIB2SVARB_DECL 13291 csGLVERTEXATTRIB2SVARB glVertexAttrib2svARB; 13292 #endif 13293 13294 #ifndef GLVERTEXATTRIB2FVARB_DECL 13295 #define GLVERTEXATTRIB2FVARB_DECL 13296 csGLVERTEXATTRIB2FVARB glVertexAttrib2fvARB; 13297 #endif 13298 13299 #ifndef GLVERTEXATTRIB2DVARB_DECL 13300 #define GLVERTEXATTRIB2DVARB_DECL 13301 csGLVERTEXATTRIB2DVARB glVertexAttrib2dvARB; 13302 #endif 13303 13304 #ifndef GLVERTEXATTRIB3SVARB_DECL 13305 #define GLVERTEXATTRIB3SVARB_DECL 13306 csGLVERTEXATTRIB3SVARB glVertexAttrib3svARB; 13307 #endif 13308 13309 #ifndef GLVERTEXATTRIB3FVARB_DECL 13310 #define GLVERTEXATTRIB3FVARB_DECL 13311 csGLVERTEXATTRIB3FVARB glVertexAttrib3fvARB; 13312 #endif 13313 13314 #ifndef GLVERTEXATTRIB3DVARB_DECL 13315 #define GLVERTEXATTRIB3DVARB_DECL 13316 csGLVERTEXATTRIB3DVARB glVertexAttrib3dvARB; 13317 #endif 13318 13319 #ifndef GLVERTEXATTRIB4BVARB_DECL 13320 #define GLVERTEXATTRIB4BVARB_DECL 13321 csGLVERTEXATTRIB4BVARB glVertexAttrib4bvARB; 13322 #endif 13323 13324 #ifndef GLVERTEXATTRIB4SVARB_DECL 13325 #define GLVERTEXATTRIB4SVARB_DECL 13326 csGLVERTEXATTRIB4SVARB glVertexAttrib4svARB; 13327 #endif 13328 13329 #ifndef GLVERTEXATTRIB4IVARB_DECL 13330 #define GLVERTEXATTRIB4IVARB_DECL 13331 csGLVERTEXATTRIB4IVARB glVertexAttrib4ivARB; 13332 #endif 13333 13334 #ifndef GLVERTEXATTRIB4UBVARB_DECL 13335 #define GLVERTEXATTRIB4UBVARB_DECL 13336 csGLVERTEXATTRIB4UBVARB glVertexAttrib4ubvARB; 13337 #endif 13338 13339 #ifndef GLVERTEXATTRIB4USVARB_DECL 13340 #define GLVERTEXATTRIB4USVARB_DECL 13341 csGLVERTEXATTRIB4USVARB glVertexAttrib4usvARB; 13342 #endif 13343 13344 #ifndef GLVERTEXATTRIB4UIVARB_DECL 13345 #define GLVERTEXATTRIB4UIVARB_DECL 13346 csGLVERTEXATTRIB4UIVARB glVertexAttrib4uivARB; 13347 #endif 13348 13349 #ifndef GLVERTEXATTRIB4FVARB_DECL 13350 #define GLVERTEXATTRIB4FVARB_DECL 13351 csGLVERTEXATTRIB4FVARB glVertexAttrib4fvARB; 13352 #endif 13353 13354 #ifndef GLVERTEXATTRIB4DVARB_DECL 13355 #define GLVERTEXATTRIB4DVARB_DECL 13356 csGLVERTEXATTRIB4DVARB glVertexAttrib4dvARB; 13357 #endif 13358 13359 #ifndef GLVERTEXATTRIB4NBVARB_DECL 13360 #define GLVERTEXATTRIB4NBVARB_DECL 13361 csGLVERTEXATTRIB4NBVARB glVertexAttrib4NbvARB; 13362 #endif 13363 13364 #ifndef GLVERTEXATTRIB4NSVARB_DECL 13365 #define GLVERTEXATTRIB4NSVARB_DECL 13366 csGLVERTEXATTRIB4NSVARB glVertexAttrib4NsvARB; 13367 #endif 13368 13369 #ifndef GLVERTEXATTRIB4NIVARB_DECL 13370 #define GLVERTEXATTRIB4NIVARB_DECL 13371 csGLVERTEXATTRIB4NIVARB glVertexAttrib4NivARB; 13372 #endif 13373 13374 #ifndef GLVERTEXATTRIB4NUBVARB_DECL 13375 #define GLVERTEXATTRIB4NUBVARB_DECL 13376 csGLVERTEXATTRIB4NUBVARB glVertexAttrib4NubvARB; 13377 #endif 13378 13379 #ifndef GLVERTEXATTRIB4NUSVARB_DECL 13380 #define GLVERTEXATTRIB4NUSVARB_DECL 13381 csGLVERTEXATTRIB4NUSVARB glVertexAttrib4NusvARB; 13382 #endif 13383 13384 #ifndef GLVERTEXATTRIB4NUIVARB_DECL 13385 #define GLVERTEXATTRIB4NUIVARB_DECL 13386 csGLVERTEXATTRIB4NUIVARB glVertexAttrib4NuivARB; 13387 #endif 13388 13389 #ifndef GLVERTEXATTRIBPOINTERARB_DECL 13390 #define GLVERTEXATTRIBPOINTERARB_DECL 13391 csGLVERTEXATTRIBPOINTERARB glVertexAttribPointerARB; 13392 #endif 13393 13394 #ifndef GLENABLEVERTEXATTRIBARRAYARB_DECL 13395 #define GLENABLEVERTEXATTRIBARRAYARB_DECL 13396 csGLENABLEVERTEXATTRIBARRAYARB glEnableVertexAttribArrayARB; 13397 #endif 13398 13399 #ifndef GLDISABLEVERTEXATTRIBARRAYARB_DECL 13400 #define GLDISABLEVERTEXATTRIBARRAYARB_DECL 13401 csGLDISABLEVERTEXATTRIBARRAYARB glDisableVertexAttribArrayARB; 13402 #endif 13403 13404 #ifndef GLPROGRAMSTRINGARB_DECL 13405 #define GLPROGRAMSTRINGARB_DECL 13406 csGLPROGRAMSTRINGARB glProgramStringARB; 13407 #endif 13408 13409 #ifndef GLBINDPROGRAMARB_DECL 13410 #define GLBINDPROGRAMARB_DECL 13411 csGLBINDPROGRAMARB glBindProgramARB; 13412 #endif 13413 13414 #ifndef GLDELETEPROGRAMSARB_DECL 13415 #define GLDELETEPROGRAMSARB_DECL 13416 csGLDELETEPROGRAMSARB glDeleteProgramsARB; 13417 #endif 13418 13419 #ifndef GLGENPROGRAMSARB_DECL 13420 #define GLGENPROGRAMSARB_DECL 13421 csGLGENPROGRAMSARB glGenProgramsARB; 13422 #endif 13423 13424 #ifndef GLPROGRAMENVPARAMETER4DARB_DECL 13425 #define GLPROGRAMENVPARAMETER4DARB_DECL 13426 csGLPROGRAMENVPARAMETER4DARB glProgramEnvParameter4dARB; 13427 #endif 13428 13429 #ifndef GLPROGRAMENVPARAMETER4DVARB_DECL 13430 #define GLPROGRAMENVPARAMETER4DVARB_DECL 13431 csGLPROGRAMENVPARAMETER4DVARB glProgramEnvParameter4dvARB; 13432 #endif 13433 13434 #ifndef GLPROGRAMENVPARAMETER4FARB_DECL 13435 #define GLPROGRAMENVPARAMETER4FARB_DECL 13436 csGLPROGRAMENVPARAMETER4FARB glProgramEnvParameter4fARB; 13437 #endif 13438 13439 #ifndef GLPROGRAMENVPARAMETER4FVARB_DECL 13440 #define GLPROGRAMENVPARAMETER4FVARB_DECL 13441 csGLPROGRAMENVPARAMETER4FVARB glProgramEnvParameter4fvARB; 13442 #endif 13443 13444 #ifndef GLPROGRAMLOCALPARAMETER4DARB_DECL 13445 #define GLPROGRAMLOCALPARAMETER4DARB_DECL 13446 csGLPROGRAMLOCALPARAMETER4DARB glProgramLocalParameter4dARB; 13447 #endif 13448 13449 #ifndef GLPROGRAMLOCALPARAMETER4DVARB_DECL 13450 #define GLPROGRAMLOCALPARAMETER4DVARB_DECL 13451 csGLPROGRAMLOCALPARAMETER4DVARB glProgramLocalParameter4dvARB; 13452 #endif 13453 13454 #ifndef GLPROGRAMLOCALPARAMETER4FARB_DECL 13455 #define GLPROGRAMLOCALPARAMETER4FARB_DECL 13456 csGLPROGRAMLOCALPARAMETER4FARB glProgramLocalParameter4fARB; 13457 #endif 13458 13459 #ifndef GLPROGRAMLOCALPARAMETER4FVARB_DECL 13460 #define GLPROGRAMLOCALPARAMETER4FVARB_DECL 13461 csGLPROGRAMLOCALPARAMETER4FVARB glProgramLocalParameter4fvARB; 13462 #endif 13463 13464 #ifndef GLGETPROGRAMENVPARAMETERDVARB_DECL 13465 #define GLGETPROGRAMENVPARAMETERDVARB_DECL 13466 csGLGETPROGRAMENVPARAMETERDVARB glGetProgramEnvParameterdvARB; 13467 #endif 13468 13469 #ifndef GLGETPROGRAMENVPARAMETERFVARB_DECL 13470 #define GLGETPROGRAMENVPARAMETERFVARB_DECL 13471 csGLGETPROGRAMENVPARAMETERFVARB glGetProgramEnvParameterfvARB; 13472 #endif 13473 13474 #ifndef GLGETPROGRAMLOCALPARAMETERDVARB_DECL 13475 #define GLGETPROGRAMLOCALPARAMETERDVARB_DECL 13476 csGLGETPROGRAMLOCALPARAMETERDVARB glGetProgramLocalParameterdvARB; 13477 #endif 13478 13479 #ifndef GLGETPROGRAMLOCALPARAMETERFVARB_DECL 13480 #define GLGETPROGRAMLOCALPARAMETERFVARB_DECL 13481 csGLGETPROGRAMLOCALPARAMETERFVARB glGetProgramLocalParameterfvARB; 13482 #endif 13483 13484 #ifndef GLGETPROGRAMIVARB_DECL 13485 #define GLGETPROGRAMIVARB_DECL 13486 csGLGETPROGRAMIVARB glGetProgramivARB; 13487 #endif 13488 13489 #ifndef GLGETPROGRAMSTRINGARB_DECL 13490 #define GLGETPROGRAMSTRINGARB_DECL 13491 csGLGETPROGRAMSTRINGARB glGetProgramStringARB; 13492 #endif 13493 13494 #ifndef GLGETVERTEXATTRIBDVARB_DECL 13495 #define GLGETVERTEXATTRIBDVARB_DECL 13496 csGLGETVERTEXATTRIBDVARB glGetVertexAttribdvARB; 13497 #endif 13498 13499 #ifndef GLGETVERTEXATTRIBFVARB_DECL 13500 #define GLGETVERTEXATTRIBFVARB_DECL 13501 csGLGETVERTEXATTRIBFVARB glGetVertexAttribfvARB; 13502 #endif 13503 13504 #ifndef GLGETVERTEXATTRIBIVARB_DECL 13505 #define GLGETVERTEXATTRIBIVARB_DECL 13506 csGLGETVERTEXATTRIBIVARB glGetVertexAttribivARB; 13507 #endif 13508 13509 #ifndef GLGETVERTEXATTRIBPOINTERVARB_DECL 13510 #define GLGETVERTEXATTRIBPOINTERVARB_DECL 13511 csGLGETVERTEXATTRIBPOINTERVARB glGetVertexAttribPointervARB; 13512 #endif 13513 13514 #ifndef GLISPROGRAMARB_DECL 13515 #define GLISPROGRAMARB_DECL 13516 csGLISPROGRAMARB glIsProgramARB; 13517 #endif 13518 13519 13524 #ifndef GLWINDOWPOS2DARB_DECL 13525 #define GLWINDOWPOS2DARB_DECL 13526 csGLWINDOWPOS2DARB glWindowPos2dARB; 13527 #endif 13528 13529 #ifndef GLWINDOWPOS2FARB_DECL 13530 #define GLWINDOWPOS2FARB_DECL 13531 csGLWINDOWPOS2FARB glWindowPos2fARB; 13532 #endif 13533 13534 #ifndef GLWINDOWPOS2IARB_DECL 13535 #define GLWINDOWPOS2IARB_DECL 13536 csGLWINDOWPOS2IARB glWindowPos2iARB; 13537 #endif 13538 13539 #ifndef GLWINDOWPOS2SARB_DECL 13540 #define GLWINDOWPOS2SARB_DECL 13541 csGLWINDOWPOS2SARB glWindowPos2sARB; 13542 #endif 13543 13544 #ifndef GLWINDOWPOS2DVARB_DECL 13545 #define GLWINDOWPOS2DVARB_DECL 13546 csGLWINDOWPOS2DVARB glWindowPos2dvARB; 13547 #endif 13548 13549 #ifndef GLWINDOWPOS2FVARB_DECL 13550 #define GLWINDOWPOS2FVARB_DECL 13551 csGLWINDOWPOS2FVARB glWindowPos2fvARB; 13552 #endif 13553 13554 #ifndef GLWINDOWPOS2IVARB_DECL 13555 #define GLWINDOWPOS2IVARB_DECL 13556 csGLWINDOWPOS2IVARB glWindowPos2ivARB; 13557 #endif 13558 13559 #ifndef GLWINDOWPOS2SVARB_DECL 13560 #define GLWINDOWPOS2SVARB_DECL 13561 csGLWINDOWPOS2SVARB glWindowPos2svARB; 13562 #endif 13563 13564 #ifndef GLWINDOWPOS3DARB_DECL 13565 #define GLWINDOWPOS3DARB_DECL 13566 csGLWINDOWPOS3DARB glWindowPos3dARB; 13567 #endif 13568 13569 #ifndef GLWINDOWPOS3FARB_DECL 13570 #define GLWINDOWPOS3FARB_DECL 13571 csGLWINDOWPOS3FARB glWindowPos3fARB; 13572 #endif 13573 13574 #ifndef GLWINDOWPOS3IARB_DECL 13575 #define GLWINDOWPOS3IARB_DECL 13576 csGLWINDOWPOS3IARB glWindowPos3iARB; 13577 #endif 13578 13579 #ifndef GLWINDOWPOS3SARB_DECL 13580 #define GLWINDOWPOS3SARB_DECL 13581 csGLWINDOWPOS3SARB glWindowPos3sARB; 13582 #endif 13583 13584 #ifndef GLWINDOWPOS3DVARB_DECL 13585 #define GLWINDOWPOS3DVARB_DECL 13586 csGLWINDOWPOS3DVARB glWindowPos3dvARB; 13587 #endif 13588 13589 #ifndef GLWINDOWPOS3FVARB_DECL 13590 #define GLWINDOWPOS3FVARB_DECL 13591 csGLWINDOWPOS3FVARB glWindowPos3fvARB; 13592 #endif 13593 13594 #ifndef GLWINDOWPOS3IVARB_DECL 13595 #define GLWINDOWPOS3IVARB_DECL 13596 csGLWINDOWPOS3IVARB glWindowPos3ivARB; 13597 #endif 13598 13599 #ifndef GLWINDOWPOS3SVARB_DECL 13600 #define GLWINDOWPOS3SVARB_DECL 13601 csGLWINDOWPOS3SVARB glWindowPos3svARB; 13602 #endif 13603 13604 13624 #ifndef GLBLENDCOLOREXT_DECL 13625 #define GLBLENDCOLOREXT_DECL 13626 csGLBLENDCOLOREXT glBlendColorEXT; 13627 #endif 13628 13629 13634 #ifndef GLBLENDFUNCSEPARATEEXT_DECL 13635 #define GLBLENDFUNCSEPARATEEXT_DECL 13636 csGLBLENDFUNCSEPARATEEXT glBlendFuncSeparateEXT; 13637 #endif 13638 13639 13649 #ifndef GLBLENDEQUATIONEXT_DECL 13650 #define GLBLENDEQUATIONEXT_DECL 13651 csGLBLENDEQUATIONEXT glBlendEquationEXT; 13652 #endif 13653 13654 13669 #ifndef GLCOLORSUBTABLEEXT_DECL 13670 #define GLCOLORSUBTABLEEXT_DECL 13671 csGLCOLORSUBTABLEEXT glColorSubTableEXT; 13672 #endif 13673 13674 #ifndef GLCOPYCOLORSUBTABLEEXT_DECL 13675 #define GLCOPYCOLORSUBTABLEEXT_DECL 13676 csGLCOPYCOLORSUBTABLEEXT glCopyColorSubTableEXT; 13677 #endif 13678 13679 13684 #ifndef GLLOCKARRAYSEXT_DECL 13685 #define GLLOCKARRAYSEXT_DECL 13686 csGLLOCKARRAYSEXT glLockArraysEXT; 13687 #endif 13688 13689 #ifndef GLUNLOCKARRAYSEXT_DECL 13690 #define GLUNLOCKARRAYSEXT_DECL 13691 csGLUNLOCKARRAYSEXT glUnlockArraysEXT; 13692 #endif 13693 13694 13699 #ifndef GLCONVOLUTIONFILTER1DEXT_DECL 13700 #define GLCONVOLUTIONFILTER1DEXT_DECL 13701 csGLCONVOLUTIONFILTER1DEXT glConvolutionFilter1DEXT; 13702 #endif 13703 13704 #ifndef GLCONVOLUTIONFILTER2DEXT_DECL 13705 #define GLCONVOLUTIONFILTER2DEXT_DECL 13706 csGLCONVOLUTIONFILTER2DEXT glConvolutionFilter2DEXT; 13707 #endif 13708 13709 #ifndef GLCOPYCONVOLUTIONFILTER1DEXT_DECL 13710 #define GLCOPYCONVOLUTIONFILTER1DEXT_DECL 13711 csGLCOPYCONVOLUTIONFILTER1DEXT glCopyConvolutionFilter1DEXT; 13712 #endif 13713 13714 #ifndef GLCOPYCONVOLUTIONFILTER2DEXT_DECL 13715 #define GLCOPYCONVOLUTIONFILTER2DEXT_DECL 13716 csGLCOPYCONVOLUTIONFILTER2DEXT glCopyConvolutionFilter2DEXT; 13717 #endif 13718 13719 #ifndef GLGETCONVOLUTIONFILTEREXT_DECL 13720 #define GLGETCONVOLUTIONFILTEREXT_DECL 13721 csGLGETCONVOLUTIONFILTEREXT glGetConvolutionFilterEXT; 13722 #endif 13723 13724 #ifndef GLSEPARABLEFILTER2DEXT_DECL 13725 #define GLSEPARABLEFILTER2DEXT_DECL 13726 csGLSEPARABLEFILTER2DEXT glSeparableFilter2DEXT; 13727 #endif 13728 13729 #ifndef GLGETSEPARABLEFILTEREXT_DECL 13730 #define GLGETSEPARABLEFILTEREXT_DECL 13731 csGLGETSEPARABLEFILTEREXT glGetSeparableFilterEXT; 13732 #endif 13733 13734 #ifndef GLCONVOLUTIONPARAMETERIEXT_DECL 13735 #define GLCONVOLUTIONPARAMETERIEXT_DECL 13736 csGLCONVOLUTIONPARAMETERIEXT glConvolutionParameteriEXT; 13737 #endif 13738 13739 #ifndef GLCONVOLUTIONPARAMETERIVEXT_DECL 13740 #define GLCONVOLUTIONPARAMETERIVEXT_DECL 13741 csGLCONVOLUTIONPARAMETERIVEXT glConvolutionParameterivEXT; 13742 #endif 13743 13744 #ifndef GLCONVOLUTIONPARAMETERFEXT_DECL 13745 #define GLCONVOLUTIONPARAMETERFEXT_DECL 13746 csGLCONVOLUTIONPARAMETERFEXT glConvolutionParameterfEXT; 13747 #endif 13748 13749 #ifndef GLCONVOLUTIONPARAMETERFVEXT_DECL 13750 #define GLCONVOLUTIONPARAMETERFVEXT_DECL 13751 csGLCONVOLUTIONPARAMETERFVEXT glConvolutionParameterfvEXT; 13752 #endif 13753 13754 #ifndef GLGETCONVOLUTIONPARAMETERIVEXT_DECL 13755 #define GLGETCONVOLUTIONPARAMETERIVEXT_DECL 13756 csGLGETCONVOLUTIONPARAMETERIVEXT glGetConvolutionParameterivEXT; 13757 #endif 13758 13759 #ifndef GLGETCONVOLUTIONPARAMETERFVEXT_DECL 13760 #define GLGETCONVOLUTIONPARAMETERFVEXT_DECL 13761 csGLGETCONVOLUTIONPARAMETERFVEXT glGetConvolutionParameterfvEXT; 13762 #endif 13763 13764 13769 #ifndef GLFOGCOORDFEXT_DECL 13770 #define GLFOGCOORDFEXT_DECL 13771 csGLFOGCOORDFEXT glFogCoordfEXT; 13772 #endif 13773 13774 #ifndef GLFOGCOORDDEXT_DECL 13775 #define GLFOGCOORDDEXT_DECL 13776 csGLFOGCOORDDEXT glFogCoorddEXT; 13777 #endif 13778 13779 #ifndef GLFOGCOORDFVEXT_DECL 13780 #define GLFOGCOORDFVEXT_DECL 13781 csGLFOGCOORDFVEXT glFogCoordfvEXT; 13782 #endif 13783 13784 #ifndef GLFOGCOORDDVEXT_DECL 13785 #define GLFOGCOORDDVEXT_DECL 13786 csGLFOGCOORDDVEXT glFogCoorddvEXT; 13787 #endif 13788 13789 #ifndef GLFOGCOORDPOINTEREXT_DECL 13790 #define GLFOGCOORDPOINTEREXT_DECL 13791 csGLFOGCOORDPOINTEREXT glFogCoordPointerEXT; 13792 #endif 13793 13794 13799 #ifndef GLHISTOGRAMEXT_DECL 13800 #define GLHISTOGRAMEXT_DECL 13801 csGLHISTOGRAMEXT glHistogramEXT; 13802 #endif 13803 13804 #ifndef GLRESETHISTOGRAMEXT_DECL 13805 #define GLRESETHISTOGRAMEXT_DECL 13806 csGLRESETHISTOGRAMEXT glResetHistogramEXT; 13807 #endif 13808 13809 #ifndef GLGETHISTOGRAMEXT_DECL 13810 #define GLGETHISTOGRAMEXT_DECL 13811 csGLGETHISTOGRAMEXT glGetHistogramEXT; 13812 #endif 13813 13814 #ifndef GLGETHISTOGRAMPARAMETERIVEXT_DECL 13815 #define GLGETHISTOGRAMPARAMETERIVEXT_DECL 13816 csGLGETHISTOGRAMPARAMETERIVEXT glGetHistogramParameterivEXT; 13817 #endif 13818 13819 #ifndef GLGETHISTOGRAMPARAMETERFVEXT_DECL 13820 #define GLGETHISTOGRAMPARAMETERFVEXT_DECL 13821 csGLGETHISTOGRAMPARAMETERFVEXT glGetHistogramParameterfvEXT; 13822 #endif 13823 13824 #ifndef GLMINMAXEXT_DECL 13825 #define GLMINMAXEXT_DECL 13826 csGLMINMAXEXT glMinmaxEXT; 13827 #endif 13828 13829 #ifndef GLRESETMINMAXEXT_DECL 13830 #define GLRESETMINMAXEXT_DECL 13831 csGLRESETMINMAXEXT glResetMinmaxEXT; 13832 #endif 13833 13834 #ifndef GLGETMINMAXEXT_DECL 13835 #define GLGETMINMAXEXT_DECL 13836 csGLGETMINMAXEXT glGetMinmaxEXT; 13837 #endif 13838 13839 #ifndef GLGETMINMAXPARAMETERIVEXT_DECL 13840 #define GLGETMINMAXPARAMETERIVEXT_DECL 13841 csGLGETMINMAXPARAMETERIVEXT glGetMinmaxParameterivEXT; 13842 #endif 13843 13844 #ifndef GLGETMINMAXPARAMETERFVEXT_DECL 13845 #define GLGETMINMAXPARAMETERFVEXT_DECL 13846 csGLGETMINMAXPARAMETERFVEXT glGetMinmaxParameterfvEXT; 13847 #endif 13848 13849 13854 #ifndef GLMULTIDRAWARRAYSEXT_DECL 13855 #define GLMULTIDRAWARRAYSEXT_DECL 13856 csGLMULTIDRAWARRAYSEXT glMultiDrawArraysEXT; 13857 #endif 13858 13859 #ifndef GLMULTIDRAWELEMENTSEXT_DECL 13860 #define GLMULTIDRAWELEMENTSEXT_DECL 13861 csGLMULTIDRAWELEMENTSEXT glMultiDrawElementsEXT; 13862 #endif 13863 13864 13874 #ifndef GLCOLORTABLEEXT_DECL 13875 #define GLCOLORTABLEEXT_DECL 13876 csGLCOLORTABLEEXT glColorTableEXT; 13877 #endif 13878 13879 #ifndef GLGETCOLORTABLEEXT_DECL 13880 #define GLGETCOLORTABLEEXT_DECL 13881 csGLGETCOLORTABLEEXT glGetColorTableEXT; 13882 #endif 13883 13884 #ifndef GLGETCOLORTABLEPARAMETERIVEXT_DECL 13885 #define GLGETCOLORTABLEPARAMETERIVEXT_DECL 13886 csGLGETCOLORTABLEPARAMETERIVEXT glGetColorTableParameterivEXT; 13887 #endif 13888 13889 #ifndef GLGETCOLORTABLEPARAMETERFVEXT_DECL 13890 #define GLGETCOLORTABLEPARAMETERFVEXT_DECL 13891 csGLGETCOLORTABLEPARAMETERFVEXT glGetColorTableParameterfvEXT; 13892 #endif 13893 13894 13899 #ifndef GLPOINTPARAMETERFEXT_DECL 13900 #define GLPOINTPARAMETERFEXT_DECL 13901 csGLPOINTPARAMETERFEXT glPointParameterfEXT; 13902 #endif 13903 13904 #ifndef GLPOINTPARAMETERFVEXT_DECL 13905 #define GLPOINTPARAMETERFVEXT_DECL 13906 csGLPOINTPARAMETERFVEXT glPointParameterfvEXT; 13907 #endif 13908 13909 13914 #ifndef GLPOLYGONOFFSETEXT_DECL 13915 #define GLPOLYGONOFFSETEXT_DECL 13916 csGLPOLYGONOFFSETEXT glPolygonOffsetEXT; 13917 #endif 13918 13919 13924 #ifndef GLSECONDARYCOLOR3BEXT_DECL 13925 #define GLSECONDARYCOLOR3BEXT_DECL 13926 csGLSECONDARYCOLOR3BEXT glSecondaryColor3bEXT; 13927 #endif 13928 13929 #ifndef GLSECONDARYCOLOR3SEXT_DECL 13930 #define GLSECONDARYCOLOR3SEXT_DECL 13931 csGLSECONDARYCOLOR3SEXT glSecondaryColor3sEXT; 13932 #endif 13933 13934 #ifndef GLSECONDARYCOLOR3IEXT_DECL 13935 #define GLSECONDARYCOLOR3IEXT_DECL 13936 csGLSECONDARYCOLOR3IEXT glSecondaryColor3iEXT; 13937 #endif 13938 13939 #ifndef GLSECONDARYCOLOR3FEXT_DECL 13940 #define GLSECONDARYCOLOR3FEXT_DECL 13941 csGLSECONDARYCOLOR3FEXT glSecondaryColor3fEXT; 13942 #endif 13943 13944 #ifndef GLSECONDARYCOLOR3DEXT_DECL 13945 #define GLSECONDARYCOLOR3DEXT_DECL 13946 csGLSECONDARYCOLOR3DEXT glSecondaryColor3dEXT; 13947 #endif 13948 13949 #ifndef GLSECONDARYCOLOR3UBEXT_DECL 13950 #define GLSECONDARYCOLOR3UBEXT_DECL 13951 csGLSECONDARYCOLOR3UBEXT glSecondaryColor3ubEXT; 13952 #endif 13953 13954 #ifndef GLSECONDARYCOLOR3USEXT_DECL 13955 #define GLSECONDARYCOLOR3USEXT_DECL 13956 csGLSECONDARYCOLOR3USEXT glSecondaryColor3usEXT; 13957 #endif 13958 13959 #ifndef GLSECONDARYCOLOR3UIEXT_DECL 13960 #define GLSECONDARYCOLOR3UIEXT_DECL 13961 csGLSECONDARYCOLOR3UIEXT glSecondaryColor3uiEXT; 13962 #endif 13963 13964 #ifndef GLSECONDARYCOLOR3BVEXT_DECL 13965 #define GLSECONDARYCOLOR3BVEXT_DECL 13966 csGLSECONDARYCOLOR3BVEXT glSecondaryColor3bvEXT; 13967 #endif 13968 13969 #ifndef GLSECONDARYCOLOR3SVEXT_DECL 13970 #define GLSECONDARYCOLOR3SVEXT_DECL 13971 csGLSECONDARYCOLOR3SVEXT glSecondaryColor3svEXT; 13972 #endif 13973 13974 #ifndef GLSECONDARYCOLOR3IVEXT_DECL 13975 #define GLSECONDARYCOLOR3IVEXT_DECL 13976 csGLSECONDARYCOLOR3IVEXT glSecondaryColor3ivEXT; 13977 #endif 13978 13979 #ifndef GLSECONDARYCOLOR3FVEXT_DECL 13980 #define GLSECONDARYCOLOR3FVEXT_DECL 13981 csGLSECONDARYCOLOR3FVEXT glSecondaryColor3fvEXT; 13982 #endif 13983 13984 #ifndef GLSECONDARYCOLOR3DVEXT_DECL 13985 #define GLSECONDARYCOLOR3DVEXT_DECL 13986 csGLSECONDARYCOLOR3DVEXT glSecondaryColor3dvEXT; 13987 #endif 13988 13989 #ifndef GLSECONDARYCOLOR3UBVEXT_DECL 13990 #define GLSECONDARYCOLOR3UBVEXT_DECL 13991 csGLSECONDARYCOLOR3UBVEXT glSecondaryColor3ubvEXT; 13992 #endif 13993 13994 #ifndef GLSECONDARYCOLOR3USVEXT_DECL 13995 #define GLSECONDARYCOLOR3USVEXT_DECL 13996 csGLSECONDARYCOLOR3USVEXT glSecondaryColor3usvEXT; 13997 #endif 13998 13999 #ifndef GLSECONDARYCOLOR3UIVEXT_DECL 14000 #define GLSECONDARYCOLOR3UIVEXT_DECL 14001 csGLSECONDARYCOLOR3UIVEXT glSecondaryColor3uivEXT; 14002 #endif 14003 14004 #ifndef GLSECONDARYCOLORPOINTEREXT_DECL 14005 #define GLSECONDARYCOLORPOINTEREXT_DECL 14006 csGLSECONDARYCOLORPOINTEREXT glSecondaryColorPointerEXT; 14007 #endif 14008 14009 14029 #ifndef GLACTIVESTENCILFACEEXT_DECL 14030 #define GLACTIVESTENCILFACEEXT_DECL 14031 csGLACTIVESTENCILFACEEXT glActiveStencilFaceEXT; 14032 #endif 14033 14034 14044 #ifndef GLTEXSUBIMAGE1DEXT_DECL 14045 #define GLTEXSUBIMAGE1DEXT_DECL 14046 csGLTEXSUBIMAGE1DEXT glTexSubImage1DEXT; 14047 #endif 14048 14049 #ifndef GLTEXSUBIMAGE2DEXT_DECL 14050 #define GLTEXSUBIMAGE2DEXT_DECL 14051 csGLTEXSUBIMAGE2DEXT glTexSubImage2DEXT; 14052 #endif 14053 14054 #ifndef GLTEXSUBIMAGE3DEXT_DECL 14055 #define GLTEXSUBIMAGE3DEXT_DECL 14056 csGLTEXSUBIMAGE3DEXT glTexSubImage3DEXT; 14057 #endif 14058 14059 14064 #ifndef GLTEXIMAGE3DEXT_DECL 14065 #define GLTEXIMAGE3DEXT_DECL 14066 csGLTEXIMAGE3DEXT glTexImage3DEXT; 14067 #endif 14068 14069 14104 #ifndef GLGENTEXTURESEXT_DECL 14105 #define GLGENTEXTURESEXT_DECL 14106 csGLGENTEXTURESEXT glGenTexturesEXT; 14107 #endif 14108 14109 #ifndef GLDELETETEXTURESEXT_DECL 14110 #define GLDELETETEXTURESEXT_DECL 14111 csGLDELETETEXTURESEXT glDeleteTexturesEXT; 14112 #endif 14113 14114 #ifndef GLBINDTEXTUREEXT_DECL 14115 #define GLBINDTEXTUREEXT_DECL 14116 csGLBINDTEXTUREEXT glBindTextureEXT; 14117 #endif 14118 14119 #ifndef GLPRIORITIZETEXTURESEXT_DECL 14120 #define GLPRIORITIZETEXTURESEXT_DECL 14121 csGLPRIORITIZETEXTURESEXT glPrioritizeTexturesEXT; 14122 #endif 14123 14124 #ifndef GLARETEXTURESRESIDENTEXT_DECL 14125 #define GLARETEXTURESRESIDENTEXT_DECL 14126 csGLARETEXTURESRESIDENTEXT glAreTexturesResidentEXT; 14127 #endif 14128 14129 #ifndef GLISTEXTUREEXT_DECL 14130 #define GLISTEXTUREEXT_DECL 14131 csGLISTEXTUREEXT glIsTextureEXT; 14132 #endif 14133 14134 14139 #ifndef GLARRAYELEMENTEXT_DECL 14140 #define GLARRAYELEMENTEXT_DECL 14141 csGLARRAYELEMENTEXT glArrayElementEXT; 14142 #endif 14143 14144 #ifndef GLDRAWARRAYSEXT_DECL 14145 #define GLDRAWARRAYSEXT_DECL 14146 csGLDRAWARRAYSEXT glDrawArraysEXT; 14147 #endif 14148 14149 #ifndef GLVERTEXPOINTEREXT_DECL 14150 #define GLVERTEXPOINTEREXT_DECL 14151 csGLVERTEXPOINTEREXT glVertexPointerEXT; 14152 #endif 14153 14154 #ifndef GLNORMALPOINTEREXT_DECL 14155 #define GLNORMALPOINTEREXT_DECL 14156 csGLNORMALPOINTEREXT glNormalPointerEXT; 14157 #endif 14158 14159 #ifndef GLCOLORPOINTEREXT_DECL 14160 #define GLCOLORPOINTEREXT_DECL 14161 csGLCOLORPOINTEREXT glColorPointerEXT; 14162 #endif 14163 14164 #ifndef GLINDEXPOINTEREXT_DECL 14165 #define GLINDEXPOINTEREXT_DECL 14166 csGLINDEXPOINTEREXT glIndexPointerEXT; 14167 #endif 14168 14169 #ifndef GLTEXCOORDPOINTEREXT_DECL 14170 #define GLTEXCOORDPOINTEREXT_DECL 14171 csGLTEXCOORDPOINTEREXT glTexCoordPointerEXT; 14172 #endif 14173 14174 #ifndef GLEDGEFLAGPOINTEREXT_DECL 14175 #define GLEDGEFLAGPOINTEREXT_DECL 14176 csGLEDGEFLAGPOINTEREXT glEdgeFlagPointerEXT; 14177 #endif 14178 14179 #ifndef GLGETPOINTERVEXT_DECL 14180 #define GLGETPOINTERVEXT_DECL 14181 csGLGETPOINTERVEXT glGetPointervEXT; 14182 #endif 14183 14184 14189 #ifndef GLBEGINVERTEXSHADEREXT_DECL 14190 #define GLBEGINVERTEXSHADEREXT_DECL 14191 csGLBEGINVERTEXSHADEREXT glBeginVertexShaderEXT; 14192 #endif 14193 14194 #ifndef GLENDVERTEXSHADEREXT_DECL 14195 #define GLENDVERTEXSHADEREXT_DECL 14196 csGLENDVERTEXSHADEREXT glEndVertexShaderEXT; 14197 #endif 14198 14199 #ifndef GLBINDVERTEXSHADEREXT_DECL 14200 #define GLBINDVERTEXSHADEREXT_DECL 14201 csGLBINDVERTEXSHADEREXT glBindVertexShaderEXT; 14202 #endif 14203 14204 #ifndef GLGENVERTEXSHADERSEXT_DECL 14205 #define GLGENVERTEXSHADERSEXT_DECL 14206 csGLGENVERTEXSHADERSEXT glGenVertexShadersEXT; 14207 #endif 14208 14209 #ifndef GLDELETEVERTEXSHADEREXT_DECL 14210 #define GLDELETEVERTEXSHADEREXT_DECL 14211 csGLDELETEVERTEXSHADEREXT glDeleteVertexShaderEXT; 14212 #endif 14213 14214 #ifndef GLSHADEROP1EXT_DECL 14215 #define GLSHADEROP1EXT_DECL 14216 csGLSHADEROP1EXT glShaderOp1EXT; 14217 #endif 14218 14219 #ifndef GLSHADEROP2EXT_DECL 14220 #define GLSHADEROP2EXT_DECL 14221 csGLSHADEROP2EXT glShaderOp2EXT; 14222 #endif 14223 14224 #ifndef GLSHADEROP3EXT_DECL 14225 #define GLSHADEROP3EXT_DECL 14226 csGLSHADEROP3EXT glShaderOp3EXT; 14227 #endif 14228 14229 #ifndef GLSWIZZLEEXT_DECL 14230 #define GLSWIZZLEEXT_DECL 14231 csGLSWIZZLEEXT glSwizzleEXT; 14232 #endif 14233 14234 #ifndef GLWRITEMASKEXT_DECL 14235 #define GLWRITEMASKEXT_DECL 14236 csGLWRITEMASKEXT glWriteMaskEXT; 14237 #endif 14238 14239 #ifndef GLINSERTCOMPONENTEXT_DECL 14240 #define GLINSERTCOMPONENTEXT_DECL 14241 csGLINSERTCOMPONENTEXT glInsertComponentEXT; 14242 #endif 14243 14244 #ifndef GLEXTRACTCOMPONENTEXT_DECL 14245 #define GLEXTRACTCOMPONENTEXT_DECL 14246 csGLEXTRACTCOMPONENTEXT glExtractComponentEXT; 14247 #endif 14248 14249 #ifndef GLGENSYMBOLSEXT_DECL 14250 #define GLGENSYMBOLSEXT_DECL 14251 csGLGENSYMBOLSEXT glGenSymbolsEXT; 14252 #endif 14253 14254 #ifndef GLSETINVARIANTEXT_DECL 14255 #define GLSETINVARIANTEXT_DECL 14256 csGLSETINVARIANTEXT glSetInvariantEXT; 14257 #endif 14258 14259 #ifndef GLSETLOCALCONSTANTEXT_DECL 14260 #define GLSETLOCALCONSTANTEXT_DECL 14261 csGLSETLOCALCONSTANTEXT glSetLocalConstantEXT; 14262 #endif 14263 14264 #ifndef GLVARIANTBVEXT_DECL 14265 #define GLVARIANTBVEXT_DECL 14266 csGLVARIANTBVEXT glVariantbvEXT; 14267 #endif 14268 14269 #ifndef GLVARIANTSVEXT_DECL 14270 #define GLVARIANTSVEXT_DECL 14271 csGLVARIANTSVEXT glVariantsvEXT; 14272 #endif 14273 14274 #ifndef GLVARIANTIVEXT_DECL 14275 #define GLVARIANTIVEXT_DECL 14276 csGLVARIANTIVEXT glVariantivEXT; 14277 #endif 14278 14279 #ifndef GLVARIANTFVEXT_DECL 14280 #define GLVARIANTFVEXT_DECL 14281 csGLVARIANTFVEXT glVariantfvEXT; 14282 #endif 14283 14284 #ifndef GLVARIANTDVEXT_DECL 14285 #define GLVARIANTDVEXT_DECL 14286 csGLVARIANTDVEXT glVariantdvEXT; 14287 #endif 14288 14289 #ifndef GLVARIANTUBVEXT_DECL 14290 #define GLVARIANTUBVEXT_DECL 14291 csGLVARIANTUBVEXT glVariantubvEXT; 14292 #endif 14293 14294 #ifndef GLVARIANTUSVEXT_DECL 14295 #define GLVARIANTUSVEXT_DECL 14296 csGLVARIANTUSVEXT glVariantusvEXT; 14297 #endif 14298 14299 #ifndef GLVARIANTUIVEXT_DECL 14300 #define GLVARIANTUIVEXT_DECL 14301 csGLVARIANTUIVEXT glVariantuivEXT; 14302 #endif 14303 14304 #ifndef GLVARIANTPOINTEREXT_DECL 14305 #define GLVARIANTPOINTEREXT_DECL 14306 csGLVARIANTPOINTEREXT glVariantPointerEXT; 14307 #endif 14308 14309 #ifndef GLENABLEVARIANTCLIENTSTATEEXT_DECL 14310 #define GLENABLEVARIANTCLIENTSTATEEXT_DECL 14311 csGLENABLEVARIANTCLIENTSTATEEXT glEnableVariantClientStateEXT; 14312 #endif 14313 14314 #ifndef GLDISABLEVARIANTCLIENTSTATEEXT_DECL 14315 #define GLDISABLEVARIANTCLIENTSTATEEXT_DECL 14316 csGLDISABLEVARIANTCLIENTSTATEEXT glDisableVariantClientStateEXT; 14317 #endif 14318 14319 #ifndef GLBINDLIGHTPARAMETEREXT_DECL 14320 #define GLBINDLIGHTPARAMETEREXT_DECL 14321 csGLBINDLIGHTPARAMETEREXT glBindLightParameterEXT; 14322 #endif 14323 14324 #ifndef GLBINDMATERIALPARAMETEREXT_DECL 14325 #define GLBINDMATERIALPARAMETEREXT_DECL 14326 csGLBINDMATERIALPARAMETEREXT glBindMaterialParameterEXT; 14327 #endif 14328 14329 #ifndef GLBINDTEXGENPARAMETEREXT_DECL 14330 #define GLBINDTEXGENPARAMETEREXT_DECL 14331 csGLBINDTEXGENPARAMETEREXT glBindTexGenParameterEXT; 14332 #endif 14333 14334 #ifndef GLBINDTEXTUREUNITPARAMETEREXT_DECL 14335 #define GLBINDTEXTUREUNITPARAMETEREXT_DECL 14336 csGLBINDTEXTUREUNITPARAMETEREXT glBindTextureUnitParameterEXT; 14337 #endif 14338 14339 #ifndef GLBINDPARAMETEREXT_DECL 14340 #define GLBINDPARAMETEREXT_DECL 14341 csGLBINDPARAMETEREXT glBindParameterEXT; 14342 #endif 14343 14344 #ifndef GLISVARIANTENABLEDEXT_DECL 14345 #define GLISVARIANTENABLEDEXT_DECL 14346 csGLISVARIANTENABLEDEXT glIsVariantEnabledEXT; 14347 #endif 14348 14349 #ifndef GLGETVARIANTBOOLEANVEXT_DECL 14350 #define GLGETVARIANTBOOLEANVEXT_DECL 14351 csGLGETVARIANTBOOLEANVEXT glGetVariantBooleanvEXT; 14352 #endif 14353 14354 #ifndef GLGETVARIANTINTEGERVEXT_DECL 14355 #define GLGETVARIANTINTEGERVEXT_DECL 14356 csGLGETVARIANTINTEGERVEXT glGetVariantIntegervEXT; 14357 #endif 14358 14359 #ifndef GLGETVARIANTFLOATVEXT_DECL 14360 #define GLGETVARIANTFLOATVEXT_DECL 14361 csGLGETVARIANTFLOATVEXT glGetVariantFloatvEXT; 14362 #endif 14363 14364 #ifndef GLGETVARIANTPOINTERVEXT_DECL 14365 #define GLGETVARIANTPOINTERVEXT_DECL 14366 csGLGETVARIANTPOINTERVEXT glGetVariantPointervEXT; 14367 #endif 14368 14369 #ifndef GLGETINVARIANTBOOLEANVEXT_DECL 14370 #define GLGETINVARIANTBOOLEANVEXT_DECL 14371 csGLGETINVARIANTBOOLEANVEXT glGetInvariantBooleanvEXT; 14372 #endif 14373 14374 #ifndef GLGETINVARIANTINTEGERVEXT_DECL 14375 #define GLGETINVARIANTINTEGERVEXT_DECL 14376 csGLGETINVARIANTINTEGERVEXT glGetInvariantIntegervEXT; 14377 #endif 14378 14379 #ifndef GLGETINVARIANTFLOATVEXT_DECL 14380 #define GLGETINVARIANTFLOATVEXT_DECL 14381 csGLGETINVARIANTFLOATVEXT glGetInvariantFloatvEXT; 14382 #endif 14383 14384 #ifndef GLGETLOCALCONSTANTBOOLEANVEXT_DECL 14385 #define GLGETLOCALCONSTANTBOOLEANVEXT_DECL 14386 csGLGETLOCALCONSTANTBOOLEANVEXT glGetLocalConstantBooleanvEXT; 14387 #endif 14388 14389 #ifndef GLGETLOCALCONSTANTINTEGERVEXT_DECL 14390 #define GLGETLOCALCONSTANTINTEGERVEXT_DECL 14391 csGLGETLOCALCONSTANTINTEGERVEXT glGetLocalConstantIntegervEXT; 14392 #endif 14393 14394 #ifndef GLGETLOCALCONSTANTFLOATVEXT_DECL 14395 #define GLGETLOCALCONSTANTFLOATVEXT_DECL 14396 csGLGETLOCALCONSTANTFLOATVEXT glGetLocalConstantFloatvEXT; 14397 #endif 14398 14399 14404 #ifndef GLVERTEXWEIGHTFEXT_DECL 14405 #define GLVERTEXWEIGHTFEXT_DECL 14406 csGLVERTEXWEIGHTFEXT glVertexWeightfEXT; 14407 #endif 14408 14409 #ifndef GLVERTEXWEIGHTFVEXT_DECL 14410 #define GLVERTEXWEIGHTFVEXT_DECL 14411 csGLVERTEXWEIGHTFVEXT glVertexWeightfvEXT; 14412 #endif 14413 14414 #ifndef GLVERTEXWEIGHTPOINTEREXT_DECL 14415 #define GLVERTEXWEIGHTPOINTEREXT_DECL 14416 csGLVERTEXWEIGHTPOINTEREXT glVertexWeightPointerEXT; 14417 #endif 14418 14419 14444 #ifndef GLMAPCONTROLPOINTSNV_DECL 14445 #define GLMAPCONTROLPOINTSNV_DECL 14446 csGLMAPCONTROLPOINTSNV glMapControlPointsNV; 14447 #endif 14448 14449 #ifndef GLMAPPARAMETERIVNV_DECL 14450 #define GLMAPPARAMETERIVNV_DECL 14451 csGLMAPPARAMETERIVNV glMapParameterivNV; 14452 #endif 14453 14454 #ifndef GLMAPPARAMETERFVNV_DECL 14455 #define GLMAPPARAMETERFVNV_DECL 14456 csGLMAPPARAMETERFVNV glMapParameterfvNV; 14457 #endif 14458 14459 #ifndef GLGETMAPCONTROLPOINTSNV_DECL 14460 #define GLGETMAPCONTROLPOINTSNV_DECL 14461 csGLGETMAPCONTROLPOINTSNV glGetMapControlPointsNV; 14462 #endif 14463 14464 #ifndef GLGETMAPPARAMETERIVNV_DECL 14465 #define GLGETMAPPARAMETERIVNV_DECL 14466 csGLGETMAPPARAMETERIVNV glGetMapParameterivNV; 14467 #endif 14468 14469 #ifndef GLGETMAPPARAMETERFVNV_DECL 14470 #define GLGETMAPPARAMETERFVNV_DECL 14471 csGLGETMAPPARAMETERFVNV glGetMapParameterfvNV; 14472 #endif 14473 14474 #ifndef GLGETMAPATTRIBPARAMETERIVNV_DECL 14475 #define GLGETMAPATTRIBPARAMETERIVNV_DECL 14476 csGLGETMAPATTRIBPARAMETERIVNV glGetMapAttribParameterivNV; 14477 #endif 14478 14479 #ifndef GLGETMAPATTRIBPARAMETERFVNV_DECL 14480 #define GLGETMAPATTRIBPARAMETERFVNV_DECL 14481 csGLGETMAPATTRIBPARAMETERFVNV glGetMapAttribParameterfvNV; 14482 #endif 14483 14484 #ifndef GLEVALMAPSNV_DECL 14485 #define GLEVALMAPSNV_DECL 14486 csGLEVALMAPSNV glEvalMapsNV; 14487 #endif 14488 14489 14494 #ifndef GLGENFENCESNV_DECL 14495 #define GLGENFENCESNV_DECL 14496 csGLGENFENCESNV glGenFencesNV; 14497 #endif 14498 14499 #ifndef GLDELETEFENCESNV_DECL 14500 #define GLDELETEFENCESNV_DECL 14501 csGLDELETEFENCESNV glDeleteFencesNV; 14502 #endif 14503 14504 #ifndef GLSETFENCENV_DECL 14505 #define GLSETFENCENV_DECL 14506 csGLSETFENCENV glSetFenceNV; 14507 #endif 14508 14509 #ifndef GLTESTFENCENV_DECL 14510 #define GLTESTFENCENV_DECL 14511 csGLTESTFENCENV glTestFenceNV; 14512 #endif 14513 14514 #ifndef GLFINISHFENCENV_DECL 14515 #define GLFINISHFENCENV_DECL 14516 csGLFINISHFENCENV glFinishFenceNV; 14517 #endif 14518 14519 #ifndef GLISFENCENV_DECL 14520 #define GLISFENCENV_DECL 14521 csGLISFENCENV glIsFenceNV; 14522 #endif 14523 14524 #ifndef GLGETFENCEIVNV_DECL 14525 #define GLGETFENCEIVNV_DECL 14526 csGLGETFENCEIVNV glGetFenceivNV; 14527 #endif 14528 14529 14549 #ifndef GLGENOCCLUSIONQUERIESNV_DECL 14550 #define GLGENOCCLUSIONQUERIESNV_DECL 14551 csGLGENOCCLUSIONQUERIESNV glGenOcclusionQueriesNV; 14552 #endif 14553 14554 #ifndef GLDELETEOCCLUSIONQUERIESNV_DECL 14555 #define GLDELETEOCCLUSIONQUERIESNV_DECL 14556 csGLDELETEOCCLUSIONQUERIESNV glDeleteOcclusionQueriesNV; 14557 #endif 14558 14559 #ifndef GLISOCCLUSIONQUERYNV_DECL 14560 #define GLISOCCLUSIONQUERYNV_DECL 14561 csGLISOCCLUSIONQUERYNV glIsOcclusionQueryNV; 14562 #endif 14563 14564 #ifndef GLBEGINOCCLUSIONQUERYNV_DECL 14565 #define GLBEGINOCCLUSIONQUERYNV_DECL 14566 csGLBEGINOCCLUSIONQUERYNV glBeginOcclusionQueryNV; 14567 #endif 14568 14569 #ifndef GLENDOCCLUSIONQUERYNV_DECL 14570 #define GLENDOCCLUSIONQUERYNV_DECL 14571 csGLENDOCCLUSIONQUERYNV glEndOcclusionQueryNV; 14572 #endif 14573 14574 #ifndef GLGETOCCLUSIONQUERYIVNV_DECL 14575 #define GLGETOCCLUSIONQUERYIVNV_DECL 14576 csGLGETOCCLUSIONQUERYIVNV glGetOcclusionQueryivNV; 14577 #endif 14578 14579 #ifndef GLGETOCCLUSIONQUERYUIVNV_DECL 14580 #define GLGETOCCLUSIONQUERYUIVNV_DECL 14581 csGLGETOCCLUSIONQUERYUIVNV glGetOcclusionQueryuivNV; 14582 #endif 14583 14584 14594 #ifndef GLPOINTPARAMETERINV_DECL 14595 #define GLPOINTPARAMETERINV_DECL 14596 csGLPOINTPARAMETERINV glPointParameteriNV; 14597 #endif 14598 14599 #ifndef GLPOINTPARAMETERIVNV_DECL 14600 #define GLPOINTPARAMETERIVNV_DECL 14601 csGLPOINTPARAMETERIVNV glPointParameterivNV; 14602 #endif 14603 14604 14609 #ifndef GLCOMBINERPARAMETERFVNV_DECL 14610 #define GLCOMBINERPARAMETERFVNV_DECL 14611 csGLCOMBINERPARAMETERFVNV glCombinerParameterfvNV; 14612 #endif 14613 14614 #ifndef GLCOMBINERPARAMETERIVNV_DECL 14615 #define GLCOMBINERPARAMETERIVNV_DECL 14616 csGLCOMBINERPARAMETERIVNV glCombinerParameterivNV; 14617 #endif 14618 14619 #ifndef GLCOMBINERPARAMETERFNV_DECL 14620 #define GLCOMBINERPARAMETERFNV_DECL 14621 csGLCOMBINERPARAMETERFNV glCombinerParameterfNV; 14622 #endif 14623 14624 #ifndef GLCOMBINERPARAMETERINV_DECL 14625 #define GLCOMBINERPARAMETERINV_DECL 14626 csGLCOMBINERPARAMETERINV glCombinerParameteriNV; 14627 #endif 14628 14629 #ifndef GLCOMBINERINPUTNV_DECL 14630 #define GLCOMBINERINPUTNV_DECL 14631 csGLCOMBINERINPUTNV glCombinerInputNV; 14632 #endif 14633 14634 #ifndef GLCOMBINEROUTPUTNV_DECL 14635 #define GLCOMBINEROUTPUTNV_DECL 14636 csGLCOMBINEROUTPUTNV glCombinerOutputNV; 14637 #endif 14638 14639 #ifndef GLFINALCOMBINERINPUTNV_DECL 14640 #define GLFINALCOMBINERINPUTNV_DECL 14641 csGLFINALCOMBINERINPUTNV glFinalCombinerInputNV; 14642 #endif 14643 14644 #ifndef GLGETCOMBINERINPUTPARAMETERFVNV_DECL 14645 #define GLGETCOMBINERINPUTPARAMETERFVNV_DECL 14646 csGLGETCOMBINERINPUTPARAMETERFVNV glGetCombinerInputParameterfvNV; 14647 #endif 14648 14649 #ifndef GLGETCOMBINERINPUTPARAMETERIVNV_DECL 14650 #define GLGETCOMBINERINPUTPARAMETERIVNV_DECL 14651 csGLGETCOMBINERINPUTPARAMETERIVNV glGetCombinerInputParameterivNV; 14652 #endif 14653 14654 #ifndef GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL 14655 #define GLGETCOMBINEROUTPUTPARAMETERFVNV_DECL 14656 csGLGETCOMBINEROUTPUTPARAMETERFVNV glGetCombinerOutputParameterfvNV; 14657 #endif 14658 14659 #ifndef GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL 14660 #define GLGETCOMBINEROUTPUTPARAMETERIVNV_DECL 14661 csGLGETCOMBINEROUTPUTPARAMETERIVNV glGetCombinerOutputParameterivNV; 14662 #endif 14663 14664 #ifndef GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL 14665 #define GLGETFINALCOMBINERINPUTPARAMETERFVNV_DECL 14666 csGLGETFINALCOMBINERINPUTPARAMETERFVNV glGetFinalCombinerInputParameterfvNV; 14667 #endif 14668 14669 #ifndef GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL 14670 #define GLGETFINALCOMBINERINPUTPARAMETERIVNV_DECL 14671 csGLGETFINALCOMBINERINPUTPARAMETERIVNV glGetFinalCombinerInputParameterivNV; 14672 #endif 14673 14674 14679 #ifndef GLCOMBINERSTAGEPARAMETERFVNV_DECL 14680 #define GLCOMBINERSTAGEPARAMETERFVNV_DECL 14681 csGLCOMBINERSTAGEPARAMETERFVNV glCombinerStageParameterfvNV; 14682 #endif 14683 14684 #ifndef GLGETCOMBINERSTAGEPARAMETERFVNV_DECL 14685 #define GLGETCOMBINERSTAGEPARAMETERFVNV_DECL 14686 csGLGETCOMBINERSTAGEPARAMETERFVNV glGetCombinerStageParameterfvNV; 14687 #endif 14688 14689 14734 #ifndef GLVERTEXARRAYRANGENV_DECL 14735 #define GLVERTEXARRAYRANGENV_DECL 14736 csGLVERTEXARRAYRANGENV glVertexArrayRangeNV; 14737 #endif 14738 14739 #ifndef GLFLUSHVERTEXARRAYRANGENV_DECL 14740 #define GLFLUSHVERTEXARRAYRANGENV_DECL 14741 csGLFLUSHVERTEXARRAYRANGENV glFlushVertexArrayRangeNV; 14742 #endif 14743 14744 #ifndef WGLALLOCATEMEMORYNV_DECL 14745 #define WGLALLOCATEMEMORYNV_DECL 14746 csWGLALLOCATEMEMORYNV wglAllocateMemoryNV; 14747 #endif 14748 14749 #ifndef WGLFREEMEMORYNV_DECL 14750 #define WGLFREEMEMORYNV_DECL 14751 csWGLFREEMEMORYNV wglFreeMemoryNV; 14752 #endif 14753 14754 14764 #ifndef GLBINDPROGRAMNV_DECL 14765 #define GLBINDPROGRAMNV_DECL 14766 csGLBINDPROGRAMNV glBindProgramNV; 14767 #endif 14768 14769 #ifndef GLDELETEPROGRAMSNV_DECL 14770 #define GLDELETEPROGRAMSNV_DECL 14771 csGLDELETEPROGRAMSNV glDeleteProgramsNV; 14772 #endif 14773 14774 #ifndef GLEXECUTEPROGRAMNV_DECL 14775 #define GLEXECUTEPROGRAMNV_DECL 14776 csGLEXECUTEPROGRAMNV glExecuteProgramNV; 14777 #endif 14778 14779 #ifndef GLGENPROGRAMSNV_DECL 14780 #define GLGENPROGRAMSNV_DECL 14781 csGLGENPROGRAMSNV glGenProgramsNV; 14782 #endif 14783 14784 #ifndef GLAREPROGRAMSRESIDENTNV_DECL 14785 #define GLAREPROGRAMSRESIDENTNV_DECL 14786 csGLAREPROGRAMSRESIDENTNV glAreProgramsResidentNV; 14787 #endif 14788 14789 #ifndef GLREQUESTRESIDENTPROGRAMSNV_DECL 14790 #define GLREQUESTRESIDENTPROGRAMSNV_DECL 14791 csGLREQUESTRESIDENTPROGRAMSNV glRequestResidentProgramsNV; 14792 #endif 14793 14794 #ifndef GLGETPROGRAMPARAMETERFVNV_DECL 14795 #define GLGETPROGRAMPARAMETERFVNV_DECL 14796 csGLGETPROGRAMPARAMETERFVNV glGetProgramParameterfvNV; 14797 #endif 14798 14799 #ifndef GLGETPROGRAMPARAMETERDVNV_DECL 14800 #define GLGETPROGRAMPARAMETERDVNV_DECL 14801 csGLGETPROGRAMPARAMETERDVNV glGetProgramParameterdvNV; 14802 #endif 14803 14804 #ifndef GLGETPROGRAMIVNV_DECL 14805 #define GLGETPROGRAMIVNV_DECL 14806 csGLGETPROGRAMIVNV glGetProgramivNV; 14807 #endif 14808 14809 #ifndef GLGETPROGRAMSTRINGNV_DECL 14810 #define GLGETPROGRAMSTRINGNV_DECL 14811 csGLGETPROGRAMSTRINGNV glGetProgramStringNV; 14812 #endif 14813 14814 #ifndef GLGETTRACKMATRIXIVNV_DECL 14815 #define GLGETTRACKMATRIXIVNV_DECL 14816 csGLGETTRACKMATRIXIVNV glGetTrackMatrixivNV; 14817 #endif 14818 14819 #ifndef GLGETVERTEXATTRIBDVNV_DECL 14820 #define GLGETVERTEXATTRIBDVNV_DECL 14821 csGLGETVERTEXATTRIBDVNV glGetVertexAttribdvNV; 14822 #endif 14823 14824 #ifndef GLGETVERTEXATTRIBFVNV_DECL 14825 #define GLGETVERTEXATTRIBFVNV_DECL 14826 csGLGETVERTEXATTRIBFVNV glGetVertexAttribfvNV; 14827 #endif 14828 14829 #ifndef GLGETVERTEXATTRIBIVNV_DECL 14830 #define GLGETVERTEXATTRIBIVNV_DECL 14831 csGLGETVERTEXATTRIBIVNV glGetVertexAttribivNV; 14832 #endif 14833 14834 #ifndef GLGETVERTEXATTRIBPOINTERVNV_DECL 14835 #define GLGETVERTEXATTRIBPOINTERVNV_DECL 14836 csGLGETVERTEXATTRIBPOINTERVNV glGetVertexAttribPointervNV; 14837 #endif 14838 14839 #ifndef GLISPROGRAMNV_DECL 14840 #define GLISPROGRAMNV_DECL 14841 csGLISPROGRAMNV glIsProgramNV; 14842 #endif 14843 14844 #ifndef GLLOADPROGRAMNV_DECL 14845 #define GLLOADPROGRAMNV_DECL 14846 csGLLOADPROGRAMNV glLoadProgramNV; 14847 #endif 14848 14849 #ifndef GLPROGRAMPARAMETER4FNV_DECL 14850 #define GLPROGRAMPARAMETER4FNV_DECL 14851 csGLPROGRAMPARAMETER4FNV glProgramParameter4fNV; 14852 #endif 14853 14854 #ifndef GLPROGRAMPARAMETER4FVNV_DECL 14855 #define GLPROGRAMPARAMETER4FVNV_DECL 14856 csGLPROGRAMPARAMETER4FVNV glProgramParameter4fvNV; 14857 #endif 14858 14859 #ifndef GLPROGRAMPARAMETERS4DVNV_DECL 14860 #define GLPROGRAMPARAMETERS4DVNV_DECL 14861 csGLPROGRAMPARAMETERS4DVNV glProgramParameters4dvNV; 14862 #endif 14863 14864 #ifndef GLPROGRAMPARAMETERS4FVNV_DECL 14865 #define GLPROGRAMPARAMETERS4FVNV_DECL 14866 csGLPROGRAMPARAMETERS4FVNV glProgramParameters4fvNV; 14867 #endif 14868 14869 #ifndef GLTRACKMATRIXNV_DECL 14870 #define GLTRACKMATRIXNV_DECL 14871 csGLTRACKMATRIXNV glTrackMatrixNV; 14872 #endif 14873 14874 #ifndef GLVERTEXATTRIBPOINTERNV_DECL 14875 #define GLVERTEXATTRIBPOINTERNV_DECL 14876 csGLVERTEXATTRIBPOINTERNV glVertexAttribPointerNV; 14877 #endif 14878 14879 #ifndef GLVERTEXATTRIB1SNV_DECL 14880 #define GLVERTEXATTRIB1SNV_DECL 14881 csGLVERTEXATTRIB1SNV glVertexAttrib1sNV; 14882 #endif 14883 14884 #ifndef GLVERTEXATTRIB1FNV_DECL 14885 #define GLVERTEXATTRIB1FNV_DECL 14886 csGLVERTEXATTRIB1FNV glVertexAttrib1fNV; 14887 #endif 14888 14889 #ifndef GLVERTEXATTRIB1DNV_DECL 14890 #define GLVERTEXATTRIB1DNV_DECL 14891 csGLVERTEXATTRIB1DNV glVertexAttrib1dNV; 14892 #endif 14893 14894 #ifndef GLVERTEXATTRIB2SNV_DECL 14895 #define GLVERTEXATTRIB2SNV_DECL 14896 csGLVERTEXATTRIB2SNV glVertexAttrib2sNV; 14897 #endif 14898 14899 #ifndef GLVERTEXATTRIB2FNV_DECL 14900 #define GLVERTEXATTRIB2FNV_DECL 14901 csGLVERTEXATTRIB2FNV glVertexAttrib2fNV; 14902 #endif 14903 14904 #ifndef GLVERTEXATTRIB2DNV_DECL 14905 #define GLVERTEXATTRIB2DNV_DECL 14906 csGLVERTEXATTRIB2DNV glVertexAttrib2dNV; 14907 #endif 14908 14909 #ifndef GLVERTEXATTRIB3SNV_DECL 14910 #define GLVERTEXATTRIB3SNV_DECL 14911 csGLVERTEXATTRIB3SNV glVertexAttrib3sNV; 14912 #endif 14913 14914 #ifndef GLVERTEXATTRIB3FNV_DECL 14915 #define GLVERTEXATTRIB3FNV_DECL 14916 csGLVERTEXATTRIB3FNV glVertexAttrib3fNV; 14917 #endif 14918 14919 #ifndef GLVERTEXATTRIB3DNV_DECL 14920 #define GLVERTEXATTRIB3DNV_DECL 14921 csGLVERTEXATTRIB3DNV glVertexAttrib3dNV; 14922 #endif 14923 14924 #ifndef GLVERTEXATTRIB4SNV_DECL 14925 #define GLVERTEXATTRIB4SNV_DECL 14926 csGLVERTEXATTRIB4SNV glVertexAttrib4sNV; 14927 #endif 14928 14929 #ifndef GLVERTEXATTRIB4FNV_DECL 14930 #define GLVERTEXATTRIB4FNV_DECL 14931 csGLVERTEXATTRIB4FNV glVertexAttrib4fNV; 14932 #endif 14933 14934 #ifndef GLVERTEXATTRIB4DNV_DECL 14935 #define GLVERTEXATTRIB4DNV_DECL 14936 csGLVERTEXATTRIB4DNV glVertexAttrib4dNV; 14937 #endif 14938 14939 #ifndef GLVERTEXATTRIB4UBNV_DECL 14940 #define GLVERTEXATTRIB4UBNV_DECL 14941 csGLVERTEXATTRIB4UBNV glVertexAttrib4ubNV; 14942 #endif 14943 14944 #ifndef GLVERTEXATTRIB1SVNV_DECL 14945 #define GLVERTEXATTRIB1SVNV_DECL 14946 csGLVERTEXATTRIB1SVNV glVertexAttrib1svNV; 14947 #endif 14948 14949 #ifndef GLVERTEXATTRIB1FVNV_DECL 14950 #define GLVERTEXATTRIB1FVNV_DECL 14951 csGLVERTEXATTRIB1FVNV glVertexAttrib1fvNV; 14952 #endif 14953 14954 #ifndef GLVERTEXATTRIB1DVNV_DECL 14955 #define GLVERTEXATTRIB1DVNV_DECL 14956 csGLVERTEXATTRIB1DVNV glVertexAttrib1dvNV; 14957 #endif 14958 14959 #ifndef GLVERTEXATTRIB2SVNV_DECL 14960 #define GLVERTEXATTRIB2SVNV_DECL 14961 csGLVERTEXATTRIB2SVNV glVertexAttrib2svNV; 14962 #endif 14963 14964 #ifndef GLVERTEXATTRIB2FVNV_DECL 14965 #define GLVERTEXATTRIB2FVNV_DECL 14966 csGLVERTEXATTRIB2FVNV glVertexAttrib2fvNV; 14967 #endif 14968 14969 #ifndef GLVERTEXATTRIB2DVNV_DECL 14970 #define GLVERTEXATTRIB2DVNV_DECL 14971 csGLVERTEXATTRIB2DVNV glVertexAttrib2dvNV; 14972 #endif 14973 14974 #ifndef GLVERTEXATTRIB3SVNV_DECL 14975 #define GLVERTEXATTRIB3SVNV_DECL 14976 csGLVERTEXATTRIB3SVNV glVertexAttrib3svNV; 14977 #endif 14978 14979 #ifndef GLVERTEXATTRIB3FVNV_DECL 14980 #define GLVERTEXATTRIB3FVNV_DECL 14981 csGLVERTEXATTRIB3FVNV glVertexAttrib3fvNV; 14982 #endif 14983 14984 #ifndef GLVERTEXATTRIB3DVNV_DECL 14985 #define GLVERTEXATTRIB3DVNV_DECL 14986 csGLVERTEXATTRIB3DVNV glVertexAttrib3dvNV; 14987 #endif 14988 14989 #ifndef GLVERTEXATTRIB4SVNV_DECL 14990 #define GLVERTEXATTRIB4SVNV_DECL 14991 csGLVERTEXATTRIB4SVNV glVertexAttrib4svNV; 14992 #endif 14993 14994 #ifndef GLVERTEXATTRIB4FVNV_DECL 14995 #define GLVERTEXATTRIB4FVNV_DECL 14996 csGLVERTEXATTRIB4FVNV glVertexAttrib4fvNV; 14997 #endif 14998 14999 #ifndef GLVERTEXATTRIB4DVNV_DECL 15000 #define GLVERTEXATTRIB4DVNV_DECL 15001 csGLVERTEXATTRIB4DVNV glVertexAttrib4dvNV; 15002 #endif 15003 15004 #ifndef GLVERTEXATTRIB4UBVNV_DECL 15005 #define GLVERTEXATTRIB4UBVNV_DECL 15006 csGLVERTEXATTRIB4UBVNV glVertexAttrib4ubvNV; 15007 #endif 15008 15009 #ifndef GLVERTEXATTRIBS1SVNV_DECL 15010 #define GLVERTEXATTRIBS1SVNV_DECL 15011 csGLVERTEXATTRIBS1SVNV glVertexAttribs1svNV; 15012 #endif 15013 15014 #ifndef GLVERTEXATTRIBS1FVNV_DECL 15015 #define GLVERTEXATTRIBS1FVNV_DECL 15016 csGLVERTEXATTRIBS1FVNV glVertexAttribs1fvNV; 15017 #endif 15018 15019 #ifndef GLVERTEXATTRIBS1DVNV_DECL 15020 #define GLVERTEXATTRIBS1DVNV_DECL 15021 csGLVERTEXATTRIBS1DVNV glVertexAttribs1dvNV; 15022 #endif 15023 15024 #ifndef GLVERTEXATTRIBS2SVNV_DECL 15025 #define GLVERTEXATTRIBS2SVNV_DECL 15026 csGLVERTEXATTRIBS2SVNV glVertexAttribs2svNV; 15027 #endif 15028 15029 #ifndef GLVERTEXATTRIBS2FVNV_DECL 15030 #define GLVERTEXATTRIBS2FVNV_DECL 15031 csGLVERTEXATTRIBS2FVNV glVertexAttribs2fvNV; 15032 #endif 15033 15034 #ifndef GLVERTEXATTRIBS2DVNV_DECL 15035 #define GLVERTEXATTRIBS2DVNV_DECL 15036 csGLVERTEXATTRIBS2DVNV glVertexAttribs2dvNV; 15037 #endif 15038 15039 #ifndef GLVERTEXATTRIBS3SVNV_DECL 15040 #define GLVERTEXATTRIBS3SVNV_DECL 15041 csGLVERTEXATTRIBS3SVNV glVertexAttribs3svNV; 15042 #endif 15043 15044 #ifndef GLVERTEXATTRIBS3FVNV_DECL 15045 #define GLVERTEXATTRIBS3FVNV_DECL 15046 csGLVERTEXATTRIBS3FVNV glVertexAttribs3fvNV; 15047 #endif 15048 15049 #ifndef GLVERTEXATTRIBS3DVNV_DECL 15050 #define GLVERTEXATTRIBS3DVNV_DECL 15051 csGLVERTEXATTRIBS3DVNV glVertexAttribs3dvNV; 15052 #endif 15053 15054 #ifndef GLVERTEXATTRIBS4SVNV_DECL 15055 #define GLVERTEXATTRIBS4SVNV_DECL 15056 csGLVERTEXATTRIBS4SVNV glVertexAttribs4svNV; 15057 #endif 15058 15059 #ifndef GLVERTEXATTRIBS4FVNV_DECL 15060 #define GLVERTEXATTRIBS4FVNV_DECL 15061 csGLVERTEXATTRIBS4FVNV glVertexAttribs4fvNV; 15062 #endif 15063 15064 #ifndef GLVERTEXATTRIBS4DVNV_DECL 15065 #define GLVERTEXATTRIBS4DVNV_DECL 15066 csGLVERTEXATTRIBS4DVNV glVertexAttribs4dvNV; 15067 #endif 15068 15069 #ifndef GLVERTEXATTRIBS4UBVNV_DECL 15070 #define GLVERTEXATTRIBS4UBVNV_DECL 15071 csGLVERTEXATTRIBS4UBVNV glVertexAttribs4ubvNV; 15072 #endif 15073 15074 15084 #ifndef GLELEMENTPOINTERATI_DECL 15085 #define GLELEMENTPOINTERATI_DECL 15086 csGLELEMENTPOINTERATI glElementPointerATI; 15087 #endif 15088 15089 #ifndef GLDRAWELEMENTARRAYATI_DECL 15090 #define GLDRAWELEMENTARRAYATI_DECL 15091 csGLDRAWELEMENTARRAYATI glDrawElementArrayATI; 15092 #endif 15093 15094 #ifndef GLDRAWRANGEELEMENTARRAYATI_DECL 15095 #define GLDRAWRANGEELEMENTARRAYATI_DECL 15096 csGLDRAWRANGEELEMENTARRAYATI glDrawRangeElementArrayATI; 15097 #endif 15098 15099 15104 #ifndef GLTEXBUMPPARAMETERIVATI_DECL 15105 #define GLTEXBUMPPARAMETERIVATI_DECL 15106 csGLTEXBUMPPARAMETERIVATI glTexBumpParameterivATI; 15107 #endif 15108 15109 #ifndef GLTEXBUMPPARAMETERFVATI_DECL 15110 #define GLTEXBUMPPARAMETERFVATI_DECL 15111 csGLTEXBUMPPARAMETERFVATI glTexBumpParameterfvATI; 15112 #endif 15113 15114 #ifndef GLGETTEXBUMPPARAMETERIVATI_DECL 15115 #define GLGETTEXBUMPPARAMETERIVATI_DECL 15116 csGLGETTEXBUMPPARAMETERIVATI glGetTexBumpParameterivATI; 15117 #endif 15118 15119 #ifndef GLGETTEXBUMPPARAMETERFVATI_DECL 15120 #define GLGETTEXBUMPPARAMETERFVATI_DECL 15121 csGLGETTEXBUMPPARAMETERFVATI glGetTexBumpParameterfvATI; 15122 #endif 15123 15124 15129 #ifndef GLGENFRAGMENTSHADERSATI_DECL 15130 #define GLGENFRAGMENTSHADERSATI_DECL 15131 csGLGENFRAGMENTSHADERSATI glGenFragmentShadersATI; 15132 #endif 15133 15134 #ifndef GLBINDFRAGMENTSHADERATI_DECL 15135 #define GLBINDFRAGMENTSHADERATI_DECL 15136 csGLBINDFRAGMENTSHADERATI glBindFragmentShaderATI; 15137 #endif 15138 15139 #ifndef GLDELETEFRAGMENTSHADERATI_DECL 15140 #define GLDELETEFRAGMENTSHADERATI_DECL 15141 csGLDELETEFRAGMENTSHADERATI glDeleteFragmentShaderATI; 15142 #endif 15143 15144 #ifndef GLBEGINFRAGMENTSHADERATI_DECL 15145 #define GLBEGINFRAGMENTSHADERATI_DECL 15146 csGLBEGINFRAGMENTSHADERATI glBeginFragmentShaderATI; 15147 #endif 15148 15149 #ifndef GLENDFRAGMENTSHADERATI_DECL 15150 #define GLENDFRAGMENTSHADERATI_DECL 15151 csGLENDFRAGMENTSHADERATI glEndFragmentShaderATI; 15152 #endif 15153 15154 #ifndef GLPASSTEXCOORDATI_DECL 15155 #define GLPASSTEXCOORDATI_DECL 15156 csGLPASSTEXCOORDATI glPassTexCoordATI; 15157 #endif 15158 15159 #ifndef GLSAMPLEMAPATI_DECL 15160 #define GLSAMPLEMAPATI_DECL 15161 csGLSAMPLEMAPATI glSampleMapATI; 15162 #endif 15163 15164 #ifndef GLCOLORFRAGMENTOP1ATI_DECL 15165 #define GLCOLORFRAGMENTOP1ATI_DECL 15166 csGLCOLORFRAGMENTOP1ATI glColorFragmentOp1ATI; 15167 #endif 15168 15169 #ifndef GLCOLORFRAGMENTOP2ATI_DECL 15170 #define GLCOLORFRAGMENTOP2ATI_DECL 15171 csGLCOLORFRAGMENTOP2ATI glColorFragmentOp2ATI; 15172 #endif 15173 15174 #ifndef GLCOLORFRAGMENTOP3ATI_DECL 15175 #define GLCOLORFRAGMENTOP3ATI_DECL 15176 csGLCOLORFRAGMENTOP3ATI glColorFragmentOp3ATI; 15177 #endif 15178 15179 #ifndef GLALPHAFRAGMENTOP1ATI_DECL 15180 #define GLALPHAFRAGMENTOP1ATI_DECL 15181 csGLALPHAFRAGMENTOP1ATI glAlphaFragmentOp1ATI; 15182 #endif 15183 15184 #ifndef GLALPHAFRAGMENTOP2ATI_DECL 15185 #define GLALPHAFRAGMENTOP2ATI_DECL 15186 csGLALPHAFRAGMENTOP2ATI glAlphaFragmentOp2ATI; 15187 #endif 15188 15189 #ifndef GLALPHAFRAGMENTOP3ATI_DECL 15190 #define GLALPHAFRAGMENTOP3ATI_DECL 15191 csGLALPHAFRAGMENTOP3ATI glAlphaFragmentOp3ATI; 15192 #endif 15193 15194 #ifndef GLSETFRAGMENTSHADERCONSTANTATI_DECL 15195 #define GLSETFRAGMENTSHADERCONSTANTATI_DECL 15196 csGLSETFRAGMENTSHADERCONSTANTATI glSetFragmentShaderConstantATI; 15197 #endif 15198 15199 15204 #ifndef GLPNTRIANGLESIATI_DECL 15205 #define GLPNTRIANGLESIATI_DECL 15206 csGLPNTRIANGLESIATI glPNTrianglesiATI; 15207 #endif 15208 15209 #ifndef GLPNTRIANGLESFATI_DECL 15210 #define GLPNTRIANGLESFATI_DECL 15211 csGLPNTRIANGLESFATI glPNTrianglesfATI; 15212 #endif 15213 15214 15224 #ifndef GLNEWOBJECTBUFFERATI_DECL 15225 #define GLNEWOBJECTBUFFERATI_DECL 15226 csGLNEWOBJECTBUFFERATI glNewObjectBufferATI; 15227 #endif 15228 15229 #ifndef GLISOBJECTBUFFERATI_DECL 15230 #define GLISOBJECTBUFFERATI_DECL 15231 csGLISOBJECTBUFFERATI glIsObjectBufferATI; 15232 #endif 15233 15234 #ifndef GLUPDATEOBJECTBUFFERATI_DECL 15235 #define GLUPDATEOBJECTBUFFERATI_DECL 15236 csGLUPDATEOBJECTBUFFERATI glUpdateObjectBufferATI; 15237 #endif 15238 15239 #ifndef GLGETOBJECTBUFFERFVATI_DECL 15240 #define GLGETOBJECTBUFFERFVATI_DECL 15241 csGLGETOBJECTBUFFERFVATI glGetObjectBufferfvATI; 15242 #endif 15243 15244 #ifndef GLGETOBJECTBUFFERIVATI_DECL 15245 #define GLGETOBJECTBUFFERIVATI_DECL 15246 csGLGETOBJECTBUFFERIVATI glGetObjectBufferivATI; 15247 #endif 15248 15249 #ifndef GLFREEOBJECTBUFFERATI_DECL 15250 #define GLFREEOBJECTBUFFERATI_DECL 15251 csGLFREEOBJECTBUFFERATI glFreeObjectBufferATI; 15252 #endif 15253 15254 #ifndef GLARRAYOBJECTATI_DECL 15255 #define GLARRAYOBJECTATI_DECL 15256 csGLARRAYOBJECTATI glArrayObjectATI; 15257 #endif 15258 15259 #ifndef GLGETARRAYOBJECTFVATI_DECL 15260 #define GLGETARRAYOBJECTFVATI_DECL 15261 csGLGETARRAYOBJECTFVATI glGetArrayObjectfvATI; 15262 #endif 15263 15264 #ifndef GLGETARRAYOBJECTIVATI_DECL 15265 #define GLGETARRAYOBJECTIVATI_DECL 15266 csGLGETARRAYOBJECTIVATI glGetArrayObjectivATI; 15267 #endif 15268 15269 #ifndef GLVARIANTARRAYOBJECTATI_DECL 15270 #define GLVARIANTARRAYOBJECTATI_DECL 15271 csGLVARIANTARRAYOBJECTATI glVariantArrayObjectATI; 15272 #endif 15273 15274 #ifndef GLGETVARIANTARRAYOBJECTFVATI_DECL 15275 #define GLGETVARIANTARRAYOBJECTFVATI_DECL 15276 csGLGETVARIANTARRAYOBJECTFVATI glGetVariantArrayObjectfvATI; 15277 #endif 15278 15279 #ifndef GLGETVARIANTARRAYOBJECTIVATI_DECL 15280 #define GLGETVARIANTARRAYOBJECTIVATI_DECL 15281 csGLGETVARIANTARRAYOBJECTIVATI glGetVariantArrayObjectivATI; 15282 #endif 15283 15284 15289 #ifndef GLVERTEXATTRIBARRAYOBJECTATI_DECL 15290 #define GLVERTEXATTRIBARRAYOBJECTATI_DECL 15291 csGLVERTEXATTRIBARRAYOBJECTATI glVertexAttribArrayObjectATI; 15292 #endif 15293 15294 #ifndef GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL 15295 #define GLGETVERTEXATTRIBARRAYOBJECTFVATI_DECL 15296 csGLGETVERTEXATTRIBARRAYOBJECTFVATI glGetVertexAttribArrayObjectfvATI; 15297 #endif 15298 15299 #ifndef GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL 15300 #define GLGETVERTEXATTRIBARRAYOBJECTIVATI_DECL 15301 csGLGETVERTEXATTRIBARRAYOBJECTIVATI glGetVertexAttribArrayObjectivATI; 15302 #endif 15303 15304 15309 #ifndef GLVERTEXSTREAM1S_DECL 15310 #define GLVERTEXSTREAM1S_DECL 15311 csGLVERTEXSTREAM1S glVertexStream1s; 15312 #endif 15313 15314 #ifndef GLVERTEXSTREAM1I_DECL 15315 #define GLVERTEXSTREAM1I_DECL 15316 csGLVERTEXSTREAM1I glVertexStream1i; 15317 #endif 15318 15319 #ifndef GLVERTEXSTREAM1F_DECL 15320 #define GLVERTEXSTREAM1F_DECL 15321 csGLVERTEXSTREAM1F glVertexStream1f; 15322 #endif 15323 15324 #ifndef GLVERTEXSTREAM1D_DECL 15325 #define GLVERTEXSTREAM1D_DECL 15326 csGLVERTEXSTREAM1D glVertexStream1d; 15327 #endif 15328 15329 #ifndef GLVERTEXSTREAM1SV_DECL 15330 #define GLVERTEXSTREAM1SV_DECL 15331 csGLVERTEXSTREAM1SV glVertexStream1sv; 15332 #endif 15333 15334 #ifndef GLVERTEXSTREAM1IV_DECL 15335 #define GLVERTEXSTREAM1IV_DECL 15336 csGLVERTEXSTREAM1IV glVertexStream1iv; 15337 #endif 15338 15339 #ifndef GLVERTEXSTREAM1FV_DECL 15340 #define GLVERTEXSTREAM1FV_DECL 15341 csGLVERTEXSTREAM1FV glVertexStream1fv; 15342 #endif 15343 15344 #ifndef GLVERTEXSTREAM1DV_DECL 15345 #define GLVERTEXSTREAM1DV_DECL 15346 csGLVERTEXSTREAM1DV glVertexStream1dv; 15347 #endif 15348 15349 #ifndef GLVERTEXSTREAM2S_DECL 15350 #define GLVERTEXSTREAM2S_DECL 15351 csGLVERTEXSTREAM2S glVertexStream2s; 15352 #endif 15353 15354 #ifndef GLVERTEXSTREAM2I_DECL 15355 #define GLVERTEXSTREAM2I_DECL 15356 csGLVERTEXSTREAM2I glVertexStream2i; 15357 #endif 15358 15359 #ifndef GLVERTEXSTREAM2F_DECL 15360 #define GLVERTEXSTREAM2F_DECL 15361 csGLVERTEXSTREAM2F glVertexStream2f; 15362 #endif 15363 15364 #ifndef GLVERTEXSTREAM2D_DECL 15365 #define GLVERTEXSTREAM2D_DECL 15366 csGLVERTEXSTREAM2D glVertexStream2d; 15367 #endif 15368 15369 #ifndef GLVERTEXSTREAM2SV_DECL 15370 #define GLVERTEXSTREAM2SV_DECL 15371 csGLVERTEXSTREAM2SV glVertexStream2sv; 15372 #endif 15373 15374 #ifndef GLVERTEXSTREAM2IV_DECL 15375 #define GLVERTEXSTREAM2IV_DECL 15376 csGLVERTEXSTREAM2IV glVertexStream2iv; 15377 #endif 15378 15379 #ifndef GLVERTEXSTREAM2FV_DECL 15380 #define GLVERTEXSTREAM2FV_DECL 15381 csGLVERTEXSTREAM2FV glVertexStream2fv; 15382 #endif 15383 15384 #ifndef GLVERTEXSTREAM2DV_DECL 15385 #define GLVERTEXSTREAM2DV_DECL 15386 csGLVERTEXSTREAM2DV glVertexStream2dv; 15387 #endif 15388 15389 #ifndef GLVERTEXSTREAM3S_DECL 15390 #define GLVERTEXSTREAM3S_DECL 15391 csGLVERTEXSTREAM3S glVertexStream3s; 15392 #endif 15393 15394 #ifndef GLVERTEXSTREAM3I_DECL 15395 #define GLVERTEXSTREAM3I_DECL 15396 csGLVERTEXSTREAM3I glVertexStream3i; 15397 #endif 15398 15399 #ifndef GLVERTEXSTREAM3F_DECL 15400 #define GLVERTEXSTREAM3F_DECL 15401 csGLVERTEXSTREAM3F glVertexStream3f; 15402 #endif 15403 15404 #ifndef GLVERTEXSTREAM3D_DECL 15405 #define GLVERTEXSTREAM3D_DECL 15406 csGLVERTEXSTREAM3D glVertexStream3d; 15407 #endif 15408 15409 #ifndef GLVERTEXSTREAM3SV_DECL 15410 #define GLVERTEXSTREAM3SV_DECL 15411 csGLVERTEXSTREAM3SV glVertexStream3sv; 15412 #endif 15413 15414 #ifndef GLVERTEXSTREAM3IV_DECL 15415 #define GLVERTEXSTREAM3IV_DECL 15416 csGLVERTEXSTREAM3IV glVertexStream3iv; 15417 #endif 15418 15419 #ifndef GLVERTEXSTREAM3FV_DECL 15420 #define GLVERTEXSTREAM3FV_DECL 15421 csGLVERTEXSTREAM3FV glVertexStream3fv; 15422 #endif 15423 15424 #ifndef GLVERTEXSTREAM3DV_DECL 15425 #define GLVERTEXSTREAM3DV_DECL 15426 csGLVERTEXSTREAM3DV glVertexStream3dv; 15427 #endif 15428 15429 #ifndef GLVERTEXSTREAM4S_DECL 15430 #define GLVERTEXSTREAM4S_DECL 15431 csGLVERTEXSTREAM4S glVertexStream4s; 15432 #endif 15433 15434 #ifndef GLVERTEXSTREAM4I_DECL 15435 #define GLVERTEXSTREAM4I_DECL 15436 csGLVERTEXSTREAM4I glVertexStream4i; 15437 #endif 15438 15439 #ifndef GLVERTEXSTREAM4F_DECL 15440 #define GLVERTEXSTREAM4F_DECL 15441 csGLVERTEXSTREAM4F glVertexStream4f; 15442 #endif 15443 15444 #ifndef GLVERTEXSTREAM4D_DECL 15445 #define GLVERTEXSTREAM4D_DECL 15446 csGLVERTEXSTREAM4D glVertexStream4d; 15447 #endif 15448 15449 #ifndef GLVERTEXSTREAM4SV_DECL 15450 #define GLVERTEXSTREAM4SV_DECL 15451 csGLVERTEXSTREAM4SV glVertexStream4sv; 15452 #endif 15453 15454 #ifndef GLVERTEXSTREAM4IV_DECL 15455 #define GLVERTEXSTREAM4IV_DECL 15456 csGLVERTEXSTREAM4IV glVertexStream4iv; 15457 #endif 15458 15459 #ifndef GLVERTEXSTREAM4FV_DECL 15460 #define GLVERTEXSTREAM4FV_DECL 15461 csGLVERTEXSTREAM4FV glVertexStream4fv; 15462 #endif 15463 15464 #ifndef GLVERTEXSTREAM4DV_DECL 15465 #define GLVERTEXSTREAM4DV_DECL 15466 csGLVERTEXSTREAM4DV glVertexStream4dv; 15467 #endif 15468 15469 #ifndef GLNORMALSTREAM3B_DECL 15470 #define GLNORMALSTREAM3B_DECL 15471 csGLNORMALSTREAM3B glNormalStream3b; 15472 #endif 15473 15474 #ifndef GLNORMALSTREAM3S_DECL 15475 #define GLNORMALSTREAM3S_DECL 15476 csGLNORMALSTREAM3S glNormalStream3s; 15477 #endif 15478 15479 #ifndef GLNORMALSTREAM3I_DECL 15480 #define GLNORMALSTREAM3I_DECL 15481 csGLNORMALSTREAM3I glNormalStream3i; 15482 #endif 15483 15484 #ifndef GLNORMALSTREAM3F_DECL 15485 #define GLNORMALSTREAM3F_DECL 15486 csGLNORMALSTREAM3F glNormalStream3f; 15487 #endif 15488 15489 #ifndef GLNORMALSTREAM3D_DECL 15490 #define GLNORMALSTREAM3D_DECL 15491 csGLNORMALSTREAM3D glNormalStream3d; 15492 #endif 15493 15494 #ifndef GLNORMALSTREAM3BV_DECL 15495 #define GLNORMALSTREAM3BV_DECL 15496 csGLNORMALSTREAM3BV glNormalStream3bv; 15497 #endif 15498 15499 #ifndef GLNORMALSTREAM3SV_DECL 15500 #define GLNORMALSTREAM3SV_DECL 15501 csGLNORMALSTREAM3SV glNormalStream3sv; 15502 #endif 15503 15504 #ifndef GLNORMALSTREAM3IV_DECL 15505 #define GLNORMALSTREAM3IV_DECL 15506 csGLNORMALSTREAM3IV glNormalStream3iv; 15507 #endif 15508 15509 #ifndef GLNORMALSTREAM3FV_DECL 15510 #define GLNORMALSTREAM3FV_DECL 15511 csGLNORMALSTREAM3FV glNormalStream3fv; 15512 #endif 15513 15514 #ifndef GLNORMALSTREAM3DV_DECL 15515 #define GLNORMALSTREAM3DV_DECL 15516 csGLNORMALSTREAM3DV glNormalStream3dv; 15517 #endif 15518 15519 #ifndef GLCLIENTACTIVEVERTEXSTREAM_DECL 15520 #define GLCLIENTACTIVEVERTEXSTREAM_DECL 15521 csGLCLIENTACTIVEVERTEXSTREAM glClientActiveVertexStream; 15522 #endif 15523 15524 #ifndef GLVERTEXBLENDENVI_DECL 15525 #define GLVERTEXBLENDENVI_DECL 15526 csGLVERTEXBLENDENVI glVertexBlendEnvi; 15527 #endif 15528 15529 #ifndef GLVERTEXBLENDENVF_DECL 15530 #define GLVERTEXBLENDENVF_DECL 15531 csGLVERTEXBLENDENVF glVertexBlendEnvf; 15532 #endif 15533 15534 15536 #ifdef _WIN32 15537 15540 #ifndef WGLCREATEIMAGEBUFFERI3D_DECL 15541 #define WGLCREATEIMAGEBUFFERI3D_DECL 15542 csWGLCREATEIMAGEBUFFERI3D wglCreateImageBufferI3D; 15543 #endif 15544 15545 #ifndef WGLDESTROYIMAGEBUFFERI3D_DECL 15546 #define WGLDESTROYIMAGEBUFFERI3D_DECL 15547 csWGLDESTROYIMAGEBUFFERI3D wglDestroyImageBufferI3D; 15548 #endif 15549 15550 #ifndef WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL 15551 #define WGLASSOCIATEIMAGEBUFFEREVENTSI3D_DECL 15552 csWGLASSOCIATEIMAGEBUFFEREVENTSI3D wglAssociateImageBufferEventsI3D; 15553 #endif 15554 15555 #ifndef WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL 15556 #define WGLRELEASEIMAGEBUFFEREVENTSI3D_DECL 15557 csWGLRELEASEIMAGEBUFFEREVENTSI3D wglReleaseImageBufferEventsI3D; 15558 #endif 15559 15560 15562 #endif // _WIN32 15563 15564 #ifdef _WIN32 15565 15568 #ifndef WGLENABLEFRAMELOCKI3D_DECL 15569 #define WGLENABLEFRAMELOCKI3D_DECL 15570 csWGLENABLEFRAMELOCKI3D wglEnableFrameLockI3D; 15571 #endif 15572 15573 #ifndef WGLDISABLEFRAMELOCKI3D_DECL 15574 #define WGLDISABLEFRAMELOCKI3D_DECL 15575 csWGLDISABLEFRAMELOCKI3D wglDisableFrameLockI3D; 15576 #endif 15577 15578 #ifndef WGLISENABLEDFRAMELOCKI3D_DECL 15579 #define WGLISENABLEDFRAMELOCKI3D_DECL 15580 csWGLISENABLEDFRAMELOCKI3D wglIsEnabledFrameLockI3D; 15581 #endif 15582 15583 #ifndef WGLQUERYFRAMELOCKMASTERI3D_DECL 15584 #define WGLQUERYFRAMELOCKMASTERI3D_DECL 15585 csWGLQUERYFRAMELOCKMASTERI3D wglQueryFrameLockMasterI3D; 15586 #endif 15587 15588 15590 #endif // _WIN32 15591 15592 #ifdef _WIN32 15593 15596 #ifndef WGLGETFRAMEUSAGEI3D_DECL 15597 #define WGLGETFRAMEUSAGEI3D_DECL 15598 csWGLGETFRAMEUSAGEI3D wglGetFrameUsageI3D; 15599 #endif 15600 15601 #ifndef WGLBEGINFRAMETRACKINGI3D_DECL 15602 #define WGLBEGINFRAMETRACKINGI3D_DECL 15603 csWGLBEGINFRAMETRACKINGI3D wglBeginFrameTrackingI3D; 15604 #endif 15605 15606 #ifndef WGLENDFRAMETRACKINGI3D_DECL 15607 #define WGLENDFRAMETRACKINGI3D_DECL 15608 csWGLENDFRAMETRACKINGI3D wglEndFrameTrackingI3D; 15609 #endif 15610 15611 #ifndef WGLQUERYFRAMETRACKINGI3D_DECL 15612 #define WGLQUERYFRAMETRACKINGI3D_DECL 15613 csWGLQUERYFRAMETRACKINGI3D wglQueryFrameTrackingI3D; 15614 #endif 15615 15616 15618 #endif // _WIN32 15619 15633 #ifndef GLMULTIMODEDRAWARRAYSIBM_DECL 15634 #define GLMULTIMODEDRAWARRAYSIBM_DECL 15635 csGLMULTIMODEDRAWARRAYSIBM glMultiModeDrawArraysIBM; 15636 #endif 15637 15638 #ifndef GLMULTIMODEDRAWELEMENTSIBM_DECL 15639 #define GLMULTIMODEDRAWELEMENTSIBM_DECL 15640 csGLMULTIMODEDRAWELEMENTSIBM glMultiModeDrawElementsIBM; 15641 #endif 15642 15643 15658 #ifndef GLCOLORPOINTERLISTIBM_DECL 15659 #define GLCOLORPOINTERLISTIBM_DECL 15660 csGLCOLORPOINTERLISTIBM glColorPointerListIBM; 15661 #endif 15662 15663 #ifndef GLSECONDARYCOLORPOINTERLISTIBM_DECL 15664 #define GLSECONDARYCOLORPOINTERLISTIBM_DECL 15665 csGLSECONDARYCOLORPOINTERLISTIBM glSecondaryColorPointerListIBM; 15666 #endif 15667 15668 #ifndef GLEDGEFLAGPOINTERLISTIBM_DECL 15669 #define GLEDGEFLAGPOINTERLISTIBM_DECL 15670 csGLEDGEFLAGPOINTERLISTIBM glEdgeFlagPointerListIBM; 15671 #endif 15672 15673 #ifndef GLFOGCOORDPOINTERLISTIBM_DECL 15674 #define GLFOGCOORDPOINTERLISTIBM_DECL 15675 csGLFOGCOORDPOINTERLISTIBM glFogCoordPointerListIBM; 15676 #endif 15677 15678 #ifndef GLNORMALPOINTERLISTIBM_DECL 15679 #define GLNORMALPOINTERLISTIBM_DECL 15680 csGLNORMALPOINTERLISTIBM glNormalPointerListIBM; 15681 #endif 15682 15683 #ifndef GLTEXCOORDPOINTERLISTIBM_DECL 15684 #define GLTEXCOORDPOINTERLISTIBM_DECL 15685 csGLTEXCOORDPOINTERLISTIBM glTexCoordPointerListIBM; 15686 #endif 15687 15688 #ifndef GLVERTEXPOINTERLISTIBM_DECL 15689 #define GLVERTEXPOINTERLISTIBM_DECL 15690 csGLVERTEXPOINTERLISTIBM glVertexPointerListIBM; 15691 #endif 15692 15693 15698 #ifndef GLRESIZEBUFFERSMESA_DECL 15699 #define GLRESIZEBUFFERSMESA_DECL 15700 csGLRESIZEBUFFERSMESA glResizeBuffersMESA; 15701 #endif 15702 15703 15708 #ifndef GLWINDOWPOS2DMESA_DECL 15709 #define GLWINDOWPOS2DMESA_DECL 15710 csGLWINDOWPOS2DMESA glWindowPos2dMESA; 15711 #endif 15712 15713 #ifndef GLWINDOWPOS2FMESA_DECL 15714 #define GLWINDOWPOS2FMESA_DECL 15715 csGLWINDOWPOS2FMESA glWindowPos2fMESA; 15716 #endif 15717 15718 #ifndef GLWINDOWPOS2IMESA_DECL 15719 #define GLWINDOWPOS2IMESA_DECL 15720 csGLWINDOWPOS2IMESA glWindowPos2iMESA; 15721 #endif 15722 15723 #ifndef GLWINDOWPOS2SMESA_DECL 15724 #define GLWINDOWPOS2SMESA_DECL 15725 csGLWINDOWPOS2SMESA glWindowPos2sMESA; 15726 #endif 15727 15728 #ifndef GLWINDOWPOS2IVMESA_DECL 15729 #define GLWINDOWPOS2IVMESA_DECL 15730 csGLWINDOWPOS2IVMESA glWindowPos2ivMESA; 15731 #endif 15732 15733 #ifndef GLWINDOWPOS2SVMESA_DECL 15734 #define GLWINDOWPOS2SVMESA_DECL 15735 csGLWINDOWPOS2SVMESA glWindowPos2svMESA; 15736 #endif 15737 15738 #ifndef GLWINDOWPOS2FVMESA_DECL 15739 #define GLWINDOWPOS2FVMESA_DECL 15740 csGLWINDOWPOS2FVMESA glWindowPos2fvMESA; 15741 #endif 15742 15743 #ifndef GLWINDOWPOS2DVMESA_DECL 15744 #define GLWINDOWPOS2DVMESA_DECL 15745 csGLWINDOWPOS2DVMESA glWindowPos2dvMESA; 15746 #endif 15747 15748 #ifndef GLWINDOWPOS3IMESA_DECL 15749 #define GLWINDOWPOS3IMESA_DECL 15750 csGLWINDOWPOS3IMESA glWindowPos3iMESA; 15751 #endif 15752 15753 #ifndef GLWINDOWPOS3SMESA_DECL 15754 #define GLWINDOWPOS3SMESA_DECL 15755 csGLWINDOWPOS3SMESA glWindowPos3sMESA; 15756 #endif 15757 15758 #ifndef GLWINDOWPOS3FMESA_DECL 15759 #define GLWINDOWPOS3FMESA_DECL 15760 csGLWINDOWPOS3FMESA glWindowPos3fMESA; 15761 #endif 15762 15763 #ifndef GLWINDOWPOS3DMESA_DECL 15764 #define GLWINDOWPOS3DMESA_DECL 15765 csGLWINDOWPOS3DMESA glWindowPos3dMESA; 15766 #endif 15767 15768 #ifndef GLWINDOWPOS3IVMESA_DECL 15769 #define GLWINDOWPOS3IVMESA_DECL 15770 csGLWINDOWPOS3IVMESA glWindowPos3ivMESA; 15771 #endif 15772 15773 #ifndef GLWINDOWPOS3SVMESA_DECL 15774 #define GLWINDOWPOS3SVMESA_DECL 15775 csGLWINDOWPOS3SVMESA glWindowPos3svMESA; 15776 #endif 15777 15778 #ifndef GLWINDOWPOS3FVMESA_DECL 15779 #define GLWINDOWPOS3FVMESA_DECL 15780 csGLWINDOWPOS3FVMESA glWindowPos3fvMESA; 15781 #endif 15782 15783 #ifndef GLWINDOWPOS3DVMESA_DECL 15784 #define GLWINDOWPOS3DVMESA_DECL 15785 csGLWINDOWPOS3DVMESA glWindowPos3dvMESA; 15786 #endif 15787 15788 #ifndef GLWINDOWPOS4IMESA_DECL 15789 #define GLWINDOWPOS4IMESA_DECL 15790 csGLWINDOWPOS4IMESA glWindowPos4iMESA; 15791 #endif 15792 15793 #ifndef GLWINDOWPOS4SMESA_DECL 15794 #define GLWINDOWPOS4SMESA_DECL 15795 csGLWINDOWPOS4SMESA glWindowPos4sMESA; 15796 #endif 15797 15798 #ifndef GLWINDOWPOS4FMESA_DECL 15799 #define GLWINDOWPOS4FMESA_DECL 15800 csGLWINDOWPOS4FMESA glWindowPos4fMESA; 15801 #endif 15802 15803 #ifndef GLWINDOWPOS4DMESA_DECL 15804 #define GLWINDOWPOS4DMESA_DECL 15805 csGLWINDOWPOS4DMESA glWindowPos4dMESA; 15806 #endif 15807 15808 #ifndef GLWINDOWPOS4IVMESA_DECL 15809 #define GLWINDOWPOS4IVMESA_DECL 15810 csGLWINDOWPOS4IVMESA glWindowPos4ivMESA; 15811 #endif 15812 15813 #ifndef GLWINDOWPOS4SVMESA_DECL 15814 #define GLWINDOWPOS4SVMESA_DECL 15815 csGLWINDOWPOS4SVMESA glWindowPos4svMESA; 15816 #endif 15817 15818 #ifndef GLWINDOWPOS4FVMESA_DECL 15819 #define GLWINDOWPOS4FVMESA_DECL 15820 csGLWINDOWPOS4FVMESA glWindowPos4fvMESA; 15821 #endif 15822 15823 #ifndef GLWINDOWPOS4DVMESA_DECL 15824 #define GLWINDOWPOS4DVMESA_DECL 15825 csGLWINDOWPOS4DVMESA glWindowPos4dvMESA; 15826 #endif 15827 15828 15853 #ifndef GLSAMPLEMASKSGIS_DECL 15854 #define GLSAMPLEMASKSGIS_DECL 15855 csGLSAMPLEMASKSGIS glSampleMaskSGIS; 15856 #endif 15857 15858 #ifndef GLSAMPLEPATTERNSGIS_DECL 15859 #define GLSAMPLEPATTERNSGIS_DECL 15860 csGLSAMPLEPATTERNSGIS glSamplePatternSGIS; 15861 #endif 15862 15863 15868 #ifndef GLPIXELTEXGENPARAMETERISGIS_DECL 15869 #define GLPIXELTEXGENPARAMETERISGIS_DECL 15870 csGLPIXELTEXGENPARAMETERISGIS glPixelTexGenParameteriSGIS; 15871 #endif 15872 15873 #ifndef GLPIXELTEXGENPARAMETERFSGIS_DECL 15874 #define GLPIXELTEXGENPARAMETERFSGIS_DECL 15875 csGLPIXELTEXGENPARAMETERFSGIS glPixelTexGenParameterfSGIS; 15876 #endif 15877 15878 #ifndef GLGETPIXELTEXGENPARAMETERIVSGIS_DECL 15879 #define GLGETPIXELTEXGENPARAMETERIVSGIS_DECL 15880 csGLGETPIXELTEXGENPARAMETERIVSGIS glGetPixelTexGenParameterivSGIS; 15881 #endif 15882 15883 #ifndef GLGETPIXELTEXGENPARAMETERFVSGIS_DECL 15884 #define GLGETPIXELTEXGENPARAMETERFVSGIS_DECL 15885 csGLGETPIXELTEXGENPARAMETERFVSGIS glGetPixelTexGenParameterfvSGIS; 15886 #endif 15887 15888 15898 #ifndef GLTEXTURECOLORMASKSGIS_DECL 15899 #define GLTEXTURECOLORMASKSGIS_DECL 15900 csGLTEXTURECOLORMASKSGIS glTextureColorMaskSGIS; 15901 #endif 15902 15903 15943 #ifndef GLCOLORTABLESGI_DECL 15944 #define GLCOLORTABLESGI_DECL 15945 csGLCOLORTABLESGI glColorTableSGI; 15946 #endif 15947 15948 #ifndef GLCOPYCOLORTABLESGI_DECL 15949 #define GLCOPYCOLORTABLESGI_DECL 15950 csGLCOPYCOLORTABLESGI glCopyColorTableSGI; 15951 #endif 15952 15953 #ifndef GLCOLORTABLEPARAMETERIVSGI_DECL 15954 #define GLCOLORTABLEPARAMETERIVSGI_DECL 15955 csGLCOLORTABLEPARAMETERIVSGI glColorTableParameterivSGI; 15956 #endif 15957 15958 #ifndef GLCOLORTABLEPARAMETERFVSGI_DECL 15959 #define GLCOLORTABLEPARAMETERFVSGI_DECL 15960 csGLCOLORTABLEPARAMETERFVSGI glColorTableParameterfvSGI; 15961 #endif 15962 15963 #ifndef GLGETCOLORTABLESGI_DECL 15964 #define GLGETCOLORTABLESGI_DECL 15965 csGLGETCOLORTABLESGI glGetColorTableSGI; 15966 #endif 15967 15968 #ifndef GLGETCOLORTABLEPARAMETERIVSGI_DECL 15969 #define GLGETCOLORTABLEPARAMETERIVSGI_DECL 15970 csGLGETCOLORTABLEPARAMETERIVSGI glGetColorTableParameterivSGI; 15971 #endif 15972 15973 #ifndef GLGETCOLORTABLEPARAMETERFVSGI_DECL 15974 #define GLGETCOLORTABLEPARAMETERFVSGI_DECL 15975 csGLGETCOLORTABLEPARAMETERFVSGI glGetColorTableParameterfvSGI; 15976 #endif 15977 15978 15988 #ifndef GLCOLOR4UBVERTEX2FSUN_DECL 15989 #define GLCOLOR4UBVERTEX2FSUN_DECL 15990 csGLCOLOR4UBVERTEX2FSUN glColor4ubVertex2fSUN; 15991 #endif 15992 15993 #ifndef GLCOLOR4UBVERTEX2FVSUN_DECL 15994 #define GLCOLOR4UBVERTEX2FVSUN_DECL 15995 csGLCOLOR4UBVERTEX2FVSUN glColor4ubVertex2fvSUN; 15996 #endif 15997 15998 #ifndef GLCOLOR4UBVERTEX3FSUN_DECL 15999 #define GLCOLOR4UBVERTEX3FSUN_DECL 16000 csGLCOLOR4UBVERTEX3FSUN glColor4ubVertex3fSUN; 16001 #endif 16002 16003 #ifndef GLCOLOR4UBVERTEX3FVSUN_DECL 16004 #define GLCOLOR4UBVERTEX3FVSUN_DECL 16005 csGLCOLOR4UBVERTEX3FVSUN glColor4ubVertex3fvSUN; 16006 #endif 16007 16008 #ifndef GLCOLOR3FVERTEX3FSUN_DECL 16009 #define GLCOLOR3FVERTEX3FSUN_DECL 16010 csGLCOLOR3FVERTEX3FSUN glColor3fVertex3fSUN; 16011 #endif 16012 16013 #ifndef GLCOLOR3FVERTEX3FVSUN_DECL 16014 #define GLCOLOR3FVERTEX3FVSUN_DECL 16015 csGLCOLOR3FVERTEX3FVSUN glColor3fVertex3fvSUN; 16016 #endif 16017 16018 #ifndef GLNORMAL3FVERTEX3FSUN_DECL 16019 #define GLNORMAL3FVERTEX3FSUN_DECL 16020 csGLNORMAL3FVERTEX3FSUN glNormal3fVertex3fSUN; 16021 #endif 16022 16023 #ifndef GLNORMAL3FVERTEX3FVSUN_DECL 16024 #define GLNORMAL3FVERTEX3FVSUN_DECL 16025 csGLNORMAL3FVERTEX3FVSUN glNormal3fVertex3fvSUN; 16026 #endif 16027 16028 #ifndef GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16029 #define GLCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16030 csGLCOLOR4FNORMAL3FVERTEX3FSUN glColor4fNormal3fVertex3fSUN; 16031 #endif 16032 16033 #ifndef GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16034 #define GLCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16035 csGLCOLOR4FNORMAL3FVERTEX3FVSUN glColor4fNormal3fVertex3fvSUN; 16036 #endif 16037 16038 #ifndef GLTEXCOORD2FVERTEX3FSUN_DECL 16039 #define GLTEXCOORD2FVERTEX3FSUN_DECL 16040 csGLTEXCOORD2FVERTEX3FSUN glTexCoord2fVertex3fSUN; 16041 #endif 16042 16043 #ifndef GLTEXCOORD2FVERTEX3FVSUN_DECL 16044 #define GLTEXCOORD2FVERTEX3FVSUN_DECL 16045 csGLTEXCOORD2FVERTEX3FVSUN glTexCoord2fVertex3fvSUN; 16046 #endif 16047 16048 #ifndef GLTEXCOORD4FVERTEX4FSUN_DECL 16049 #define GLTEXCOORD4FVERTEX4FSUN_DECL 16050 csGLTEXCOORD4FVERTEX4FSUN glTexCoord4fVertex4fSUN; 16051 #endif 16052 16053 #ifndef GLTEXCOORD4FVERTEX4FVSUN_DECL 16054 #define GLTEXCOORD4FVERTEX4FVSUN_DECL 16055 csGLTEXCOORD4FVERTEX4FVSUN glTexCoord4fVertex4fvSUN; 16056 #endif 16057 16058 #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL 16059 #define GLTEXCOORD2FCOLOR4UBVERTEX3FSUN_DECL 16060 csGLTEXCOORD2FCOLOR4UBVERTEX3FSUN glTexCoord2fColor4ubVertex3fSUN; 16061 #endif 16062 16063 #ifndef GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL 16064 #define GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN_DECL 16065 csGLTEXCOORD2FCOLOR4UBVERTEX3FVSUN glTexCoord2fColor4ubVertex3fvSUN; 16066 #endif 16067 16068 #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL 16069 #define GLTEXCOORD2FCOLOR3FVERTEX3FSUN_DECL 16070 csGLTEXCOORD2FCOLOR3FVERTEX3FSUN glTexCoord2fColor3fVertex3fSUN; 16071 #endif 16072 16073 #ifndef GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL 16074 #define GLTEXCOORD2FCOLOR3FVERTEX3FVSUN_DECL 16075 csGLTEXCOORD2FCOLOR3FVERTEX3FVSUN glTexCoord2fColor3fVertex3fvSUN; 16076 #endif 16077 16078 #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL 16079 #define GLTEXCOORD2FNORMAL3FVERTEX3FSUN_DECL 16080 csGLTEXCOORD2FNORMAL3FVERTEX3FSUN glTexCoord2fNormal3fVertex3fSUN; 16081 #endif 16082 16083 #ifndef GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL 16084 #define GLTEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL 16085 csGLTEXCOORD2FNORMAL3FVERTEX3FVSUN glTexCoord2fNormal3fVertex3fvSUN; 16086 #endif 16087 16088 #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16089 #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16090 csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glTexCoord2fColor4fNormal3fVertex3fSUN; 16091 #endif 16092 16093 #ifndef GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16094 #define GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16095 csGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glTexCoord2fColor4fNormal3fVertex3fvSUN; 16096 #endif 16097 16098 #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL 16099 #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN_DECL 16100 csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN glTexCoord4fColor4fNormal3fVertex4fSUN; 16101 #endif 16102 16103 #ifndef GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL 16104 #define GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN_DECL 16105 csGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN glTexCoord4fColor4fNormal3fVertex4fvSUN; 16106 #endif 16107 16108 #ifndef GLREPLACEMENTCODEUIVERTEX3FSUN_DECL 16109 #define GLREPLACEMENTCODEUIVERTEX3FSUN_DECL 16110 csGLREPLACEMENTCODEUIVERTEX3FSUN glReplacementCodeuiVertex3fSUN; 16111 #endif 16112 16113 #ifndef GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL 16114 #define GLREPLACEMENTCODEUIVERTEX3FVSUN_DECL 16115 csGLREPLACEMENTCODEUIVERTEX3FVSUN glReplacementCodeuiVertex3fvSUN; 16116 #endif 16117 16118 #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL 16119 #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN_DECL 16120 csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN glReplacementCodeuiColor4ubVertex3fSUN; 16121 #endif 16122 16123 #ifndef GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL 16124 #define GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN_DECL 16125 csGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN glReplacementCodeuiColor4ubVertex3fvSUN; 16126 #endif 16127 16128 #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL 16129 #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN_DECL 16130 csGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN glReplacementCodeuiColor3fVertex3fSUN; 16131 #endif 16132 16133 #ifndef GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL 16134 #define GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN_DECL 16135 csGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN glReplacementCodeuiColor3fVertex3fvSUN; 16136 #endif 16137 16138 #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL 16139 #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN_DECL 16140 csGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN glReplacementCodeuiNormal3fVertex3fSUN; 16141 #endif 16142 16143 #ifndef GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL 16144 #define GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN_DECL 16145 csGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN glReplacementCodeuiNormal3fVertex3fvSUN; 16146 #endif 16147 16148 #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL 16149 #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN_DECL 16150 csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiColor4fNormal3fVertex3fSUN; 16151 #endif 16152 16153 #ifndef GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16154 #define GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16155 csGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiColor4fNormal3fVertex3fvSUN; 16156 #endif 16157 16158 #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL 16159 #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN_DECL 16160 csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN glReplacementCodeuiTexCoord2fVertex3fSUN; 16161 #endif 16162 16163 #ifndef GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL 16164 #define GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN_DECL 16165 csGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN glReplacementCodeuiTexCoord2fVertex3fvSUN; 16166 #endif 16167 16168 #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL 16169 #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN_DECL 16170 csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN; 16171 #endif 16172 16173 #ifndef GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL 16174 #define GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN_DECL 16175 csGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN; 16176 #endif 16177 16178 #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16179 #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN_DECL 16180 csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN; 16181 #endif 16182 16183 #ifndef GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16184 #define GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN_DECL 16185 csGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN; 16186 #endif 16187 16188 16208 #ifndef GLELEMENTPOINTERAPPLE_DECL 16209 #define GLELEMENTPOINTERAPPLE_DECL 16210 csGLELEMENTPOINTERAPPLE glElementPointerAPPLE; 16211 #endif 16212 16213 #ifndef GLDRAWELEMENTARRAYAPPLE_DECL 16214 #define GLDRAWELEMENTARRAYAPPLE_DECL 16215 csGLDRAWELEMENTARRAYAPPLE glDrawElementArrayAPPLE; 16216 #endif 16217 16218 #ifndef GLDRAWRANGEELEMENTARRAYAPPLE_DECL 16219 #define GLDRAWRANGEELEMENTARRAYAPPLE_DECL 16220 csGLDRAWRANGEELEMENTARRAYAPPLE glDrawRangeElementArrayAPPLE; 16221 #endif 16222 16223 #ifndef GLMULTIDRAWELEMENTARRAYAPPLE_DECL 16224 #define GLMULTIDRAWELEMENTARRAYAPPLE_DECL 16225 csGLMULTIDRAWELEMENTARRAYAPPLE glMultiDrawElementArrayAPPLE; 16226 #endif 16227 16228 #ifndef GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL 16229 #define GLMULTIDRAWRANGEELEMENTARRAYAPPLE_DECL 16230 csGLMULTIDRAWRANGEELEMENTARRAYAPPLE glMultiDrawRangeElementArrayAPPLE; 16231 #endif 16232 16233 16238 #ifndef GLGENFENCESAPPLE_DECL 16239 #define GLGENFENCESAPPLE_DECL 16240 csGLGENFENCESAPPLE glGenFencesAPPLE; 16241 #endif 16242 16243 #ifndef GLDELETEFENCESAPPLE_DECL 16244 #define GLDELETEFENCESAPPLE_DECL 16245 csGLDELETEFENCESAPPLE glDeleteFencesAPPLE; 16246 #endif 16247 16248 #ifndef GLSETFENCEAPPLE_DECL 16249 #define GLSETFENCEAPPLE_DECL 16250 csGLSETFENCEAPPLE glSetFenceAPPLE; 16251 #endif 16252 16253 #ifndef GLISFENCEAPPLE_DECL 16254 #define GLISFENCEAPPLE_DECL 16255 csGLISFENCEAPPLE glIsFenceAPPLE; 16256 #endif 16257 16258 #ifndef GLTESTFENCEAPPLE_DECL 16259 #define GLTESTFENCEAPPLE_DECL 16260 csGLTESTFENCEAPPLE glTestFenceAPPLE; 16261 #endif 16262 16263 #ifndef GLFINISHFENCEAPPLE_DECL 16264 #define GLFINISHFENCEAPPLE_DECL 16265 csGLFINISHFENCEAPPLE glFinishFenceAPPLE; 16266 #endif 16267 16268 #ifndef GLTESTOBJECTAPPLE_DECL 16269 #define GLTESTOBJECTAPPLE_DECL 16270 csGLTESTOBJECTAPPLE glTestObjectAPPLE; 16271 #endif 16272 16273 #ifndef GLFINISHOBJECTAPPLE_DECL 16274 #define GLFINISHOBJECTAPPLE_DECL 16275 csGLFINISHOBJECTAPPLE glFinishObjectAPPLE; 16276 #endif 16277 16278 16283 #ifndef GLBINDVERTEXARRAYAPPLE_DECL 16284 #define GLBINDVERTEXARRAYAPPLE_DECL 16285 csGLBINDVERTEXARRAYAPPLE glBindVertexArrayAPPLE; 16286 #endif 16287 16288 #ifndef GLDELETEVERTEXARRAYSAPPLE_DECL 16289 #define GLDELETEVERTEXARRAYSAPPLE_DECL 16290 csGLDELETEVERTEXARRAYSAPPLE glDeleteVertexArraysAPPLE; 16291 #endif 16292 16293 #ifndef GLGENVERTEXARRAYSAPPLE_DECL 16294 #define GLGENVERTEXARRAYSAPPLE_DECL 16295 csGLGENVERTEXARRAYSAPPLE glGenVertexArraysAPPLE; 16296 #endif 16297 16298 #ifndef GLISVERTEXARRAYAPPLE_DECL 16299 #define GLISVERTEXARRAYAPPLE_DECL 16300 csGLISVERTEXARRAYAPPLE glIsVertexArrayAPPLE; 16301 #endif 16302 16303 16308 #ifndef GLVERTEXARRAYRANGEAPPLE_DECL 16309 #define GLVERTEXARRAYRANGEAPPLE_DECL 16310 csGLVERTEXARRAYRANGEAPPLE glVertexArrayRangeAPPLE; 16311 #endif 16312 16313 #ifndef GLFLUSHVERTEXARRAYRANGEAPPLE_DECL 16314 #define GLFLUSHVERTEXARRAYRANGEAPPLE_DECL 16315 csGLFLUSHVERTEXARRAYRANGEAPPLE glFlushVertexArrayRangeAPPLE; 16316 #endif 16317 16318 #ifndef GLVERTEXARRAYPARAMETERIAPPLE_DECL 16319 #define GLVERTEXARRAYPARAMETERIAPPLE_DECL 16320 csGLVERTEXARRAYPARAMETERIAPPLE glVertexArrayParameteriAPPLE; 16321 #endif 16322 16323 16325 #ifdef _WIN32 16326 16329 #ifndef WGLGETPIXELFORMATATTRIBIVARB_DECL 16330 #define WGLGETPIXELFORMATATTRIBIVARB_DECL 16331 csWGLGETPIXELFORMATATTRIBIVARB wglGetPixelFormatAttribivARB; 16332 #endif 16333 16334 #ifndef WGLGETPIXELFORMATATTRIBFVARB_DECL 16335 #define WGLGETPIXELFORMATATTRIBFVARB_DECL 16336 csWGLGETPIXELFORMATATTRIBFVARB wglGetPixelFormatAttribfvARB; 16337 #endif 16338 16339 #ifndef WGLCHOOSEPIXELFORMATARB_DECL 16340 #define WGLCHOOSEPIXELFORMATARB_DECL 16341 csWGLCHOOSEPIXELFORMATARB wglChoosePixelFormatARB; 16342 #endif 16343 16344 16346 #endif // _WIN32 16347 16348 #ifdef _WIN32 16349 16352 #ifndef WGLMAKECONTEXTCURRENTARB_DECL 16353 #define WGLMAKECONTEXTCURRENTARB_DECL 16354 csWGLMAKECONTEXTCURRENTARB wglMakeContextCurrentARB; 16355 #endif 16356 16357 #ifndef WGLGETCURRENTREADDCARB_DECL 16358 #define WGLGETCURRENTREADDCARB_DECL 16359 csWGLGETCURRENTREADDCARB wglGetCurrentReadDCARB; 16360 #endif 16361 16362 16364 #endif // _WIN32 16365 16366 #ifdef _WIN32 16367 16370 #ifndef WGLCREATEPBUFFERARB_DECL 16371 #define WGLCREATEPBUFFERARB_DECL 16372 csWGLCREATEPBUFFERARB wglCreatePbufferARB; 16373 #endif 16374 16375 #ifndef WGLGETPBUFFERDCARB_DECL 16376 #define WGLGETPBUFFERDCARB_DECL 16377 csWGLGETPBUFFERDCARB wglGetPbufferDCARB; 16378 #endif 16379 16380 #ifndef WGLRELEASEPBUFFERDCARB_DECL 16381 #define WGLRELEASEPBUFFERDCARB_DECL 16382 csWGLRELEASEPBUFFERDCARB wglReleasePbufferDCARB; 16383 #endif 16384 16385 #ifndef WGLDESTROYPBUFFERARB_DECL 16386 #define WGLDESTROYPBUFFERARB_DECL 16387 csWGLDESTROYPBUFFERARB wglDestroyPbufferARB; 16388 #endif 16389 16390 #ifndef WGLQUERYPBUFFERARB_DECL 16391 #define WGLQUERYPBUFFERARB_DECL 16392 csWGLQUERYPBUFFERARB wglQueryPbufferARB; 16393 #endif 16394 16395 16397 #endif // _WIN32 16398 16399 #ifdef _WIN32 16400 16403 #ifndef WGLSWAPINTERVALEXT_DECL 16404 #define WGLSWAPINTERVALEXT_DECL 16405 csWGLSWAPINTERVALEXT wglSwapIntervalEXT; 16406 #endif 16407 16408 #ifndef WGLGETSWAPINTERVALEXT_DECL 16409 #define WGLGETSWAPINTERVALEXT_DECL 16410 csWGLGETSWAPINTERVALEXT wglGetSwapIntervalEXT; 16411 #endif 16412 16413 16415 #endif // _WIN32 16416 16417 #ifdef _WIN32 16418 16421 #ifndef WGLBINDTEXIMAGEARB_DECL 16422 #define WGLBINDTEXIMAGEARB_DECL 16423 csWGLBINDTEXIMAGEARB wglBindTexImageARB; 16424 #endif 16425 16426 #ifndef WGLRELEASETEXIMAGEARB_DECL 16427 #define WGLRELEASETEXIMAGEARB_DECL 16428 csWGLRELEASETEXIMAGEARB wglReleaseTexImageARB; 16429 #endif 16430 16431 #ifndef WGLSETPBUFFERATTRIBARB_DECL 16432 #define WGLSETPBUFFERATTRIBARB_DECL 16433 csWGLSETPBUFFERATTRIBARB wglSetPbufferAttribARB; 16434 #endif 16435 16436 16438 #endif // _WIN32 16439 16440 #ifdef _WIN32 16441 16444 #ifndef WGLGETEXTENSIONSSTRINGEXT_DECL 16445 #define WGLGETEXTENSIONSSTRINGEXT_DECL 16446 csWGLGETEXTENSIONSSTRINGEXT wglGetExtensionsStringEXT; 16447 #endif 16448 16449 16451 #endif // _WIN32 16452 16453 #ifdef _WIN32 16454 16457 #ifndef WGLMAKECONTEXTCURRENTEXT_DECL 16458 #define WGLMAKECONTEXTCURRENTEXT_DECL 16459 csWGLMAKECONTEXTCURRENTEXT wglMakeContextCurrentEXT; 16460 #endif 16461 16462 #ifndef WGLGETCURRENTREADDCEXT_DECL 16463 #define WGLGETCURRENTREADDCEXT_DECL 16464 csWGLGETCURRENTREADDCEXT wglGetCurrentReadDCEXT; 16465 #endif 16466 16467 16469 #endif // _WIN32 16470 16471 #ifdef _WIN32 16472 16475 #ifndef WGLCREATEPBUFFEREXT_DECL 16476 #define WGLCREATEPBUFFEREXT_DECL 16477 csWGLCREATEPBUFFEREXT wglCreatePbufferEXT; 16478 #endif 16479 16480 #ifndef WGLGETPBUFFERDCEXT_DECL 16481 #define WGLGETPBUFFERDCEXT_DECL 16482 csWGLGETPBUFFERDCEXT wglGetPbufferDCEXT; 16483 #endif 16484 16485 #ifndef WGLRELEASEPBUFFERDCEXT_DECL 16486 #define WGLRELEASEPBUFFERDCEXT_DECL 16487 csWGLRELEASEPBUFFERDCEXT wglReleasePbufferDCEXT; 16488 #endif 16489 16490 #ifndef WGLDESTROYPBUFFEREXT_DECL 16491 #define WGLDESTROYPBUFFEREXT_DECL 16492 csWGLDESTROYPBUFFEREXT wglDestroyPbufferEXT; 16493 #endif 16494 16495 #ifndef WGLQUERYPBUFFEREXT_DECL 16496 #define WGLQUERYPBUFFEREXT_DECL 16497 csWGLQUERYPBUFFEREXT wglQueryPbufferEXT; 16498 #endif 16499 16500 16502 #endif // _WIN32 16503 16504 #ifdef _WIN32 16505 16508 #ifndef WGLGETPIXELFORMATATTRIBIVEXT_DECL 16509 #define WGLGETPIXELFORMATATTRIBIVEXT_DECL 16510 csWGLGETPIXELFORMATATTRIBIVEXT wglGetPixelFormatAttribivEXT; 16511 #endif 16512 16513 #ifndef WGLGETPIXELFORMATATTRIBFVEXT_DECL 16514 #define WGLGETPIXELFORMATATTRIBFVEXT_DECL 16515 csWGLGETPIXELFORMATATTRIBFVEXT wglGetPixelFormatAttribfvEXT; 16516 #endif 16517 16518 #ifndef WGLCHOOSEPIXELFORMATEXT_DECL 16519 #define WGLCHOOSEPIXELFORMATEXT_DECL 16520 csWGLCHOOSEPIXELFORMATEXT wglChoosePixelFormatEXT; 16521 #endif 16522 16523 16525 #endif // _WIN32 16526 16527 #ifdef _WIN32 16528 16531 #ifndef WGLGETDIGITALVIDEOPARAMETERSI3D_DECL 16532 #define WGLGETDIGITALVIDEOPARAMETERSI3D_DECL 16533 csWGLGETDIGITALVIDEOPARAMETERSI3D wglGetDigitalVideoParametersI3D; 16534 #endif 16535 16536 #ifndef WGLSETDIGITALVIDEOPARAMETERSI3D_DECL 16537 #define WGLSETDIGITALVIDEOPARAMETERSI3D_DECL 16538 csWGLSETDIGITALVIDEOPARAMETERSI3D wglSetDigitalVideoParametersI3D; 16539 #endif 16540 16541 16543 #endif // _WIN32 16544 16545 #ifdef _WIN32 16546 16549 #ifndef WGLGETGAMMATABLEPARAMETERSI3D_DECL 16550 #define WGLGETGAMMATABLEPARAMETERSI3D_DECL 16551 csWGLGETGAMMATABLEPARAMETERSI3D wglGetGammaTableParametersI3D; 16552 #endif 16553 16554 #ifndef WGLSETGAMMATABLEPARAMETERSI3D_DECL 16555 #define WGLSETGAMMATABLEPARAMETERSI3D_DECL 16556 csWGLSETGAMMATABLEPARAMETERSI3D wglSetGammaTableParametersI3D; 16557 #endif 16558 16559 #ifndef WGLGETGAMMATABLEI3D_DECL 16560 #define WGLGETGAMMATABLEI3D_DECL 16561 csWGLGETGAMMATABLEI3D wglGetGammaTableI3D; 16562 #endif 16563 16564 #ifndef WGLSETGAMMATABLEI3D_DECL 16565 #define WGLSETGAMMATABLEI3D_DECL 16566 csWGLSETGAMMATABLEI3D wglSetGammaTableI3D; 16567 #endif 16568 16569 16571 #endif // _WIN32 16572 16573 #ifdef _WIN32 16574 16577 #ifndef WGLENABLEGENLOCKI3D_DECL 16578 #define WGLENABLEGENLOCKI3D_DECL 16579 csWGLENABLEGENLOCKI3D wglEnableGenlockI3D; 16580 #endif 16581 16582 #ifndef WGLDISABLEGENLOCKI3D_DECL 16583 #define WGLDISABLEGENLOCKI3D_DECL 16584 csWGLDISABLEGENLOCKI3D wglDisableGenlockI3D; 16585 #endif 16586 16587 #ifndef WGLISENABLEDGENLOCKI3D_DECL 16588 #define WGLISENABLEDGENLOCKI3D_DECL 16589 csWGLISENABLEDGENLOCKI3D wglIsEnabledGenlockI3D; 16590 #endif 16591 16592 #ifndef WGLGENLOCKSOURCEI3D_DECL 16593 #define WGLGENLOCKSOURCEI3D_DECL 16594 csWGLGENLOCKSOURCEI3D wglGenlockSourceI3D; 16595 #endif 16596 16597 #ifndef WGLGETGENLOCKSOURCEI3D_DECL 16598 #define WGLGETGENLOCKSOURCEI3D_DECL 16599 csWGLGETGENLOCKSOURCEI3D wglGetGenlockSourceI3D; 16600 #endif 16601 16602 #ifndef WGLGENLOCKSOURCEEDGEI3D_DECL 16603 #define WGLGENLOCKSOURCEEDGEI3D_DECL 16604 csWGLGENLOCKSOURCEEDGEI3D wglGenlockSourceEdgeI3D; 16605 #endif 16606 16607 #ifndef WGLGETGENLOCKSOURCEEDGEI3D_DECL 16608 #define WGLGETGENLOCKSOURCEEDGEI3D_DECL 16609 csWGLGETGENLOCKSOURCEEDGEI3D wglGetGenlockSourceEdgeI3D; 16610 #endif 16611 16612 #ifndef WGLGENLOCKSAMPLERATEI3D_DECL 16613 #define WGLGENLOCKSAMPLERATEI3D_DECL 16614 csWGLGENLOCKSAMPLERATEI3D wglGenlockSampleRateI3D; 16615 #endif 16616 16617 #ifndef WGLGETGENLOCKSAMPLERATEI3D_DECL 16618 #define WGLGETGENLOCKSAMPLERATEI3D_DECL 16619 csWGLGETGENLOCKSAMPLERATEI3D wglGetGenlockSampleRateI3D; 16620 #endif 16621 16622 #ifndef WGLGENLOCKSOURCEDELAYI3D_DECL 16623 #define WGLGENLOCKSOURCEDELAYI3D_DECL 16624 csWGLGENLOCKSOURCEDELAYI3D wglGenlockSourceDelayI3D; 16625 #endif 16626 16627 #ifndef WGLGETGENLOCKSOURCEDELAYI3D_DECL 16628 #define WGLGETGENLOCKSOURCEDELAYI3D_DECL 16629 csWGLGETGENLOCKSOURCEDELAYI3D wglGetGenlockSourceDelayI3D; 16630 #endif 16631 16632 #ifndef WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL 16633 #define WGLQUERYGENLOCKMAXSOURCEDELAYI3D_DECL 16634 csWGLQUERYGENLOCKMAXSOURCEDELAYI3D wglQueryGenlockMaxSourceDelayI3D; 16635 #endif 16636 16637 16639 #endif // _WIN32 16640 16644 #ifndef GLCURRENTPALETTEMATRIXARB_DECL 16645 #define GLCURRENTPALETTEMATRIXARB_DECL 16646 csGLCURRENTPALETTEMATRIXARB glCurrentPaletteMatrixARB; 16647 #endif 16648 16649 #ifndef GLMATRIXINDEXUBVARB_DECL 16650 #define GLMATRIXINDEXUBVARB_DECL 16651 csGLMATRIXINDEXUBVARB glMatrixIndexubvARB; 16652 #endif 16653 16654 #ifndef GLMATRIXINDEXUSVARB_DECL 16655 #define GLMATRIXINDEXUSVARB_DECL 16656 csGLMATRIXINDEXUSVARB glMatrixIndexusvARB; 16657 #endif 16658 16659 #ifndef GLMATRIXINDEXUIVARB_DECL 16660 #define GLMATRIXINDEXUIVARB_DECL 16661 csGLMATRIXINDEXUIVARB glMatrixIndexuivARB; 16662 #endif 16663 16664 #ifndef GLMATRIXINDEXPOINTERARB_DECL 16665 #define GLMATRIXINDEXPOINTERARB_DECL 16666 csGLMATRIXINDEXPOINTERARB glMatrixIndexPointerARB; 16667 #endif 16668 16669 16674 #ifndef GLELEMENTPOINTERNV_DECL 16675 #define GLELEMENTPOINTERNV_DECL 16676 csGLELEMENTPOINTERNV glElementPointerNV; 16677 #endif 16678 16679 #ifndef GLDRAWELEMENTARRAYNV_DECL 16680 #define GLDRAWELEMENTARRAYNV_DECL 16681 csGLDRAWELEMENTARRAYNV glDrawElementArrayNV; 16682 #endif 16683 16684 #ifndef GLDRAWRANGEELEMENTARRAYNV_DECL 16685 #define GLDRAWRANGEELEMENTARRAYNV_DECL 16686 csGLDRAWRANGEELEMENTARRAYNV glDrawRangeElementArrayNV; 16687 #endif 16688 16689 #ifndef GLMULTIDRAWELEMENTARRAYNV_DECL 16690 #define GLMULTIDRAWELEMENTARRAYNV_DECL 16691 csGLMULTIDRAWELEMENTARRAYNV glMultiDrawElementArrayNV; 16692 #endif 16693 16694 #ifndef GLMULTIDRAWRANGEELEMENTARRAYNV_DECL 16695 #define GLMULTIDRAWRANGEELEMENTARRAYNV_DECL 16696 csGLMULTIDRAWRANGEELEMENTARRAYNV glMultiDrawRangeElementArrayNV; 16697 #endif 16698 16699 16709 #ifndef GLPROGRAMNAMEDPARAMETER4FNV_DECL 16710 #define GLPROGRAMNAMEDPARAMETER4FNV_DECL 16711 csGLPROGRAMNAMEDPARAMETER4FNV glProgramNamedParameter4fNV; 16712 #endif 16713 16714 #ifndef GLPROGRAMNAMEDPARAMETER4DNV_DECL 16715 #define GLPROGRAMNAMEDPARAMETER4DNV_DECL 16716 csGLPROGRAMNAMEDPARAMETER4DNV glProgramNamedParameter4dNV; 16717 #endif 16718 16719 #ifndef GLGETPROGRAMNAMEDPARAMETERFVNV_DECL 16720 #define GLGETPROGRAMNAMEDPARAMETERFVNV_DECL 16721 csGLGETPROGRAMNAMEDPARAMETERFVNV glGetProgramNamedParameterfvNV; 16722 #endif 16723 16724 #ifndef GLGETPROGRAMNAMEDPARAMETERDVNV_DECL 16725 #define GLGETPROGRAMNAMEDPARAMETERDVNV_DECL 16726 csGLGETPROGRAMNAMEDPARAMETERDVNV glGetProgramNamedParameterdvNV; 16727 #endif 16728 16729 16734 #ifndef GLPRIMITIVERESTARTNV_DECL 16735 #define GLPRIMITIVERESTARTNV_DECL 16736 csGLPRIMITIVERESTARTNV glPrimitiveRestartNV; 16737 #endif 16738 16739 #ifndef GLPRIMITIVERESTARTINDEXNV_DECL 16740 #define GLPRIMITIVERESTARTINDEXNV_DECL 16741 csGLPRIMITIVERESTARTINDEXNV glPrimitiveRestartIndexNV; 16742 #endif 16743 16744 16754 #ifndef GLBINDBUFFERARB_DECL 16755 #define GLBINDBUFFERARB_DECL 16756 csGLBINDBUFFERARB glBindBufferARB; 16757 #endif 16758 16759 #ifndef GLDELETEBUFFERSARB_DECL 16760 #define GLDELETEBUFFERSARB_DECL 16761 csGLDELETEBUFFERSARB glDeleteBuffersARB; 16762 #endif 16763 16764 #ifndef GLGENBUFFERSARB_DECL 16765 #define GLGENBUFFERSARB_DECL 16766 csGLGENBUFFERSARB glGenBuffersARB; 16767 #endif 16768 16769 #ifndef GLBUFFERDATAARB_DECL 16770 #define GLBUFFERDATAARB_DECL 16771 csGLBUFFERDATAARB glBufferDataARB; 16772 #endif 16773 16774 #ifndef GLBUFFERSUBDATAARB_DECL 16775 #define GLBUFFERSUBDATAARB_DECL 16776 csGLBUFFERSUBDATAARB glBufferSubDataARB; 16777 #endif 16778 16779 #ifndef GLMAPBUFFERARB_DECL 16780 #define GLMAPBUFFERARB_DECL 16781 csGLMAPBUFFERARB glMapBufferARB; 16782 #endif 16783 16784 #ifndef GLUNMAPBUFFERARB_DECL 16785 #define GLUNMAPBUFFERARB_DECL 16786 csGLUNMAPBUFFERARB glUnmapBufferARB; 16787 #endif 16788 16789 #ifndef GLISBUFFERARB_DECL 16790 #define GLISBUFFERARB_DECL 16791 csGLISBUFFERARB glIsBufferARB; 16792 #endif 16793 16794 #ifndef GLGETBUFFERSUBDATAARB_DECL 16795 #define GLGETBUFFERSUBDATAARB_DECL 16796 csGLGETBUFFERSUBDATAARB glGetBufferSubDataARB; 16797 #endif 16798 16799 #ifndef GLGETBUFFERPOINTERVARB_DECL 16800 #define GLGETBUFFERPOINTERVARB_DECL 16801 csGLGETBUFFERPOINTERVARB glGetBufferPointervARB; 16802 #endif 16803 16804 #ifndef GLGETBUFFERPARAMETERIVARB_DECL 16805 #define GLGETBUFFERPARAMETERIVARB_DECL 16806 csGLGETBUFFERPARAMETERIVARB glGetBufferParameterivARB; 16807 #endif 16808 16809 16814 #ifndef GLSTENCILOPSEPARATEATI_DECL 16815 #define GLSTENCILOPSEPARATEATI_DECL 16816 csGLSTENCILOPSEPARATEATI glStencilOpSeparateATI; 16817 #endif 16818 16819 #ifndef GLSTENCILFUNCSEPARATEATI_DECL 16820 #define GLSTENCILFUNCSEPARATEATI_DECL 16821 csGLSTENCILFUNCSEPARATEATI glStencilFuncSeparateATI; 16822 #endif 16823 16824 16844 #ifndef GLDELETEOBJECTARB_DECL 16845 #define GLDELETEOBJECTARB_DECL 16846 csGLDELETEOBJECTARB glDeleteObjectARB; 16847 #endif 16848 16849 #ifndef GLGETHANDLEARB_DECL 16850 #define GLGETHANDLEARB_DECL 16851 csGLGETHANDLEARB glGetHandleARB; 16852 #endif 16853 16854 #ifndef GLDETACHOBJECTARB_DECL 16855 #define GLDETACHOBJECTARB_DECL 16856 csGLDETACHOBJECTARB glDetachObjectARB; 16857 #endif 16858 16859 #ifndef GLCREATESHADEROBJECTARB_DECL 16860 #define GLCREATESHADEROBJECTARB_DECL 16861 csGLCREATESHADEROBJECTARB glCreateShaderObjectARB; 16862 #endif 16863 16864 #ifndef GLSHADERSOURCEARB_DECL 16865 #define GLSHADERSOURCEARB_DECL 16866 csGLSHADERSOURCEARB glShaderSourceARB; 16867 #endif 16868 16869 #ifndef GLCOMPILESHADERARB_DECL 16870 #define GLCOMPILESHADERARB_DECL 16871 csGLCOMPILESHADERARB glCompileShaderARB; 16872 #endif 16873 16874 #ifndef GLCREATEPROGRAMOBJECTARB_DECL 16875 #define GLCREATEPROGRAMOBJECTARB_DECL 16876 csGLCREATEPROGRAMOBJECTARB glCreateProgramObjectARB; 16877 #endif 16878 16879 #ifndef GLATTACHOBJECTARB_DECL 16880 #define GLATTACHOBJECTARB_DECL 16881 csGLATTACHOBJECTARB glAttachObjectARB; 16882 #endif 16883 16884 #ifndef GLLINKPROGRAMARB_DECL 16885 #define GLLINKPROGRAMARB_DECL 16886 csGLLINKPROGRAMARB glLinkProgramARB; 16887 #endif 16888 16889 #ifndef GLUSEPROGRAMOBJECTARB_DECL 16890 #define GLUSEPROGRAMOBJECTARB_DECL 16891 csGLUSEPROGRAMOBJECTARB glUseProgramObjectARB; 16892 #endif 16893 16894 #ifndef GLVALIDATEPROGRAMARB_DECL 16895 #define GLVALIDATEPROGRAMARB_DECL 16896 csGLVALIDATEPROGRAMARB glValidateProgramARB; 16897 #endif 16898 16899 #ifndef GLUNIFORM1FARB_DECL 16900 #define GLUNIFORM1FARB_DECL 16901 csGLUNIFORM1FARB glUniform1fARB; 16902 #endif 16903 16904 #ifndef GLUNIFORM2FARB_DECL 16905 #define GLUNIFORM2FARB_DECL 16906 csGLUNIFORM2FARB glUniform2fARB; 16907 #endif 16908 16909 #ifndef GLUNIFORM3FARB_DECL 16910 #define GLUNIFORM3FARB_DECL 16911 csGLUNIFORM3FARB glUniform3fARB; 16912 #endif 16913 16914 #ifndef GLUNIFORM4FARB_DECL 16915 #define GLUNIFORM4FARB_DECL 16916 csGLUNIFORM4FARB glUniform4fARB; 16917 #endif 16918 16919 #ifndef GLUNIFORM1IARB_DECL 16920 #define GLUNIFORM1IARB_DECL 16921 csGLUNIFORM1IARB glUniform1iARB; 16922 #endif 16923 16924 #ifndef GLUNIFORM2IARB_DECL 16925 #define GLUNIFORM2IARB_DECL 16926 csGLUNIFORM2IARB glUniform2iARB; 16927 #endif 16928 16929 #ifndef GLUNIFORM3IARB_DECL 16930 #define GLUNIFORM3IARB_DECL 16931 csGLUNIFORM3IARB glUniform3iARB; 16932 #endif 16933 16934 #ifndef GLUNIFORM4IARB_DECL 16935 #define GLUNIFORM4IARB_DECL 16936 csGLUNIFORM4IARB glUniform4iARB; 16937 #endif 16938 16939 #ifndef GLUNIFORM1FVARB_DECL 16940 #define GLUNIFORM1FVARB_DECL 16941 csGLUNIFORM1FVARB glUniform1fvARB; 16942 #endif 16943 16944 #ifndef GLUNIFORM2FVARB_DECL 16945 #define GLUNIFORM2FVARB_DECL 16946 csGLUNIFORM2FVARB glUniform2fvARB; 16947 #endif 16948 16949 #ifndef GLUNIFORM3FVARB_DECL 16950 #define GLUNIFORM3FVARB_DECL 16951 csGLUNIFORM3FVARB glUniform3fvARB; 16952 #endif 16953 16954 #ifndef GLUNIFORM4FVARB_DECL 16955 #define GLUNIFORM4FVARB_DECL 16956 csGLUNIFORM4FVARB glUniform4fvARB; 16957 #endif 16958 16959 #ifndef GLUNIFORM1IVARB_DECL 16960 #define GLUNIFORM1IVARB_DECL 16961 csGLUNIFORM1IVARB glUniform1ivARB; 16962 #endif 16963 16964 #ifndef GLUNIFORM2IVARB_DECL 16965 #define GLUNIFORM2IVARB_DECL 16966 csGLUNIFORM2IVARB glUniform2ivARB; 16967 #endif 16968 16969 #ifndef GLUNIFORM3IVARB_DECL 16970 #define GLUNIFORM3IVARB_DECL 16971 csGLUNIFORM3IVARB glUniform3ivARB; 16972 #endif 16973 16974 #ifndef GLUNIFORM4IVARB_DECL 16975 #define GLUNIFORM4IVARB_DECL 16976 csGLUNIFORM4IVARB glUniform4ivARB; 16977 #endif 16978 16979 #ifndef GLUNIFORMMATRIX2FVARB_DECL 16980 #define GLUNIFORMMATRIX2FVARB_DECL 16981 csGLUNIFORMMATRIX2FVARB glUniformMatrix2fvARB; 16982 #endif 16983 16984 #ifndef GLUNIFORMMATRIX3FVARB_DECL 16985 #define GLUNIFORMMATRIX3FVARB_DECL 16986 csGLUNIFORMMATRIX3FVARB glUniformMatrix3fvARB; 16987 #endif 16988 16989 #ifndef GLUNIFORMMATRIX4FVARB_DECL 16990 #define GLUNIFORMMATRIX4FVARB_DECL 16991 csGLUNIFORMMATRIX4FVARB glUniformMatrix4fvARB; 16992 #endif 16993 16994 #ifndef GLGETOBJECTPARAMETERFVARB_DECL 16995 #define GLGETOBJECTPARAMETERFVARB_DECL 16996 csGLGETOBJECTPARAMETERFVARB glGetObjectParameterfvARB; 16997 #endif 16998 16999 #ifndef GLGETOBJECTPARAMETERIVARB_DECL 17000 #define GLGETOBJECTPARAMETERIVARB_DECL 17001 csGLGETOBJECTPARAMETERIVARB glGetObjectParameterivARB; 17002 #endif 17003 17004 #ifndef GLGETINFOLOGARB_DECL 17005 #define GLGETINFOLOGARB_DECL 17006 csGLGETINFOLOGARB glGetInfoLogARB; 17007 #endif 17008 17009 #ifndef GLGETATTACHEDOBJECTSARB_DECL 17010 #define GLGETATTACHEDOBJECTSARB_DECL 17011 csGLGETATTACHEDOBJECTSARB glGetAttachedObjectsARB; 17012 #endif 17013 17014 #ifndef GLGETUNIFORMLOCATIONARB_DECL 17015 #define GLGETUNIFORMLOCATIONARB_DECL 17016 csGLGETUNIFORMLOCATIONARB glGetUniformLocationARB; 17017 #endif 17018 17019 #ifndef GLGETACTIVEUNIFORMARB_DECL 17020 #define GLGETACTIVEUNIFORMARB_DECL 17021 csGLGETACTIVEUNIFORMARB glGetActiveUniformARB; 17022 #endif 17023 17024 #ifndef GLGETUNIFORMFVARB_DECL 17025 #define GLGETUNIFORMFVARB_DECL 17026 csGLGETUNIFORMFVARB glGetUniformfvARB; 17027 #endif 17028 17029 #ifndef GLGETUNIFORMIVARB_DECL 17030 #define GLGETUNIFORMIVARB_DECL 17031 csGLGETUNIFORMIVARB glGetUniformivARB; 17032 #endif 17033 17034 #ifndef GLGETSHADERSOURCEARB_DECL 17035 #define GLGETSHADERSOURCEARB_DECL 17036 csGLGETSHADERSOURCEARB glGetShaderSourceARB; 17037 #endif 17038 17039 17049 #ifndef GLBINDATTRIBLOCATIONARB_DECL 17050 #define GLBINDATTRIBLOCATIONARB_DECL 17051 csGLBINDATTRIBLOCATIONARB glBindAttribLocationARB; 17052 #endif 17053 17054 #ifndef GLGETACTIVEATTRIBARB_DECL 17055 #define GLGETACTIVEATTRIBARB_DECL 17056 csGLGETACTIVEATTRIBARB glGetActiveAttribARB; 17057 #endif 17058 17059 #ifndef GLGETATTRIBLOCATIONARB_DECL 17060 #define GLGETATTRIBLOCATIONARB_DECL 17061 csGLGETATTRIBLOCATIONARB glGetAttribLocationARB; 17062 #endif 17063 17064 17079 #ifndef GLISRENDERBUFFEREXT_DECL 17080 #define GLISRENDERBUFFEREXT_DECL 17081 csGLISRENDERBUFFEREXT glIsRenderbufferEXT; 17082 #endif 17083 17084 #ifndef GLBINDRENDERBUFFEREXT_DECL 17085 #define GLBINDRENDERBUFFEREXT_DECL 17086 csGLBINDRENDERBUFFEREXT glBindRenderbufferEXT; 17087 #endif 17088 17089 #ifndef GLDELETERENDERBUFFERSEXT_DECL 17090 #define GLDELETERENDERBUFFERSEXT_DECL 17091 csGLDELETERENDERBUFFERSEXT glDeleteRenderbuffersEXT; 17092 #endif 17093 17094 #ifndef GLGENRENDERBUFFERSEXT_DECL 17095 #define GLGENRENDERBUFFERSEXT_DECL 17096 csGLGENRENDERBUFFERSEXT glGenRenderbuffersEXT; 17097 #endif 17098 17099 #ifndef GLRENDERBUFFERSTORAGEEXT_DECL 17100 #define GLRENDERBUFFERSTORAGEEXT_DECL 17101 csGLRENDERBUFFERSTORAGEEXT glRenderbufferStorageEXT; 17102 #endif 17103 17104 #ifndef GLGETRENDERBUFFERPARAMETERIVEXT_DECL 17105 #define GLGETRENDERBUFFERPARAMETERIVEXT_DECL 17106 csGLGETRENDERBUFFERPARAMETERIVEXT glGetRenderbufferParameterivEXT; 17107 #endif 17108 17109 #ifndef GLISFRAMEBUFFEREXT_DECL 17110 #define GLISFRAMEBUFFEREXT_DECL 17111 csGLISFRAMEBUFFEREXT glIsFramebufferEXT; 17112 #endif 17113 17114 #ifndef GLBINDFRAMEBUFFEREXT_DECL 17115 #define GLBINDFRAMEBUFFEREXT_DECL 17116 csGLBINDFRAMEBUFFEREXT glBindFramebufferEXT; 17117 #endif 17118 17119 #ifndef GLDELETEFRAMEBUFFERSEXT_DECL 17120 #define GLDELETEFRAMEBUFFERSEXT_DECL 17121 csGLDELETEFRAMEBUFFERSEXT glDeleteFramebuffersEXT; 17122 #endif 17123 17124 #ifndef GLGENFRAMEBUFFERSEXT_DECL 17125 #define GLGENFRAMEBUFFERSEXT_DECL 17126 csGLGENFRAMEBUFFERSEXT glGenFramebuffersEXT; 17127 #endif 17128 17129 #ifndef GLCHECKFRAMEBUFFERSTATUSEXT_DECL 17130 #define GLCHECKFRAMEBUFFERSTATUSEXT_DECL 17131 csGLCHECKFRAMEBUFFERSTATUSEXT glCheckFramebufferStatusEXT; 17132 #endif 17133 17134 #ifndef GLFRAMEBUFFERTEXTURE1DEXT_DECL 17135 #define GLFRAMEBUFFERTEXTURE1DEXT_DECL 17136 csGLFRAMEBUFFERTEXTURE1DEXT glFramebufferTexture1DEXT; 17137 #endif 17138 17139 #ifndef GLFRAMEBUFFERTEXTURE2DEXT_DECL 17140 #define GLFRAMEBUFFERTEXTURE2DEXT_DECL 17141 csGLFRAMEBUFFERTEXTURE2DEXT glFramebufferTexture2DEXT; 17142 #endif 17143 17144 #ifndef GLFRAMEBUFFERTEXTURE3DEXT_DECL 17145 #define GLFRAMEBUFFERTEXTURE3DEXT_DECL 17146 csGLFRAMEBUFFERTEXTURE3DEXT glFramebufferTexture3DEXT; 17147 #endif 17148 17149 #ifndef GLFRAMEBUFFERRENDERBUFFEREXT_DECL 17150 #define GLFRAMEBUFFERRENDERBUFFEREXT_DECL 17151 csGLFRAMEBUFFERRENDERBUFFEREXT glFramebufferRenderbufferEXT; 17152 #endif 17153 17154 #ifndef GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL 17155 #define GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT_DECL 17156 csGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT glGetFramebufferAttachmentParameterivEXT; 17157 #endif 17158 17159 #ifndef GLGENERATEMIPMAPEXT_DECL 17160 #define GLGENERATEMIPMAPEXT_DECL 17161 csGLGENERATEMIPMAPEXT glGenerateMipmapEXT; 17162 #endif 17163 17164 17174 #ifndef GLSTRINGMARKERGREMEDY_DECL 17175 #define GLSTRINGMARKERGREMEDY_DECL 17176 csGLSTRINGMARKERGREMEDY glStringMarkerGREMEDY; 17177 #endif 17178 17179 17189 #ifndef GLGENQUERIESARB_DECL 17190 #define GLGENQUERIESARB_DECL 17191 csGLGENQUERIESARB glGenQueriesARB; 17192 #endif 17193 17194 #ifndef GLDELETEQUERIESARB_DECL 17195 #define GLDELETEQUERIESARB_DECL 17196 csGLDELETEQUERIESARB glDeleteQueriesARB; 17197 #endif 17198 17199 #ifndef GLISQUERYARB_DECL 17200 #define GLISQUERYARB_DECL 17201 csGLISQUERYARB glIsQueryARB; 17202 #endif 17203 17204 #ifndef GLBEGINQUERYARB_DECL 17205 #define GLBEGINQUERYARB_DECL 17206 csGLBEGINQUERYARB glBeginQueryARB; 17207 #endif 17208 17209 #ifndef GLENDQUERYARB_DECL 17210 #define GLENDQUERYARB_DECL 17211 csGLENDQUERYARB glEndQueryARB; 17212 #endif 17213 17214 #ifndef GLGETQUERYIVARB_DECL 17215 #define GLGETQUERYIVARB_DECL 17216 csGLGETQUERYIVARB glGetQueryivARB; 17217 #endif 17218 17219 #ifndef GLGETQUERYOBJECTIVARB_DECL 17220 #define GLGETQUERYOBJECTIVARB_DECL 17221 csGLGETQUERYOBJECTIVARB glGetQueryObjectivARB; 17222 #endif 17223 17224 #ifndef GLGETQUERYOBJECTUIVARB_DECL 17225 #define GLGETQUERYOBJECTUIVARB_DECL 17226 csGLGETQUERYOBJECTUIVARB glGetQueryObjectuivARB; 17227 #endif 17228 17229 17239 #ifndef GLBLENDEQUATIONSEPARATEEXT_DECL 17240 #define GLBLENDEQUATIONSEPARATEEXT_DECL 17241 csGLBLENDEQUATIONSEPARATEEXT glBlendEquationSeparateEXT; 17242 #endif 17243 17244 17269 #ifndef GLPROGRAMLOCALPARAMETERI4INV_DECL 17270 #define GLPROGRAMLOCALPARAMETERI4INV_DECL 17271 csGLPROGRAMLOCALPARAMETERI4INV glProgramLocalParameterI4iNV; 17272 #endif 17273 17274 #ifndef GLPROGRAMLOCALPARAMETERI4IVNV_DECL 17275 #define GLPROGRAMLOCALPARAMETERI4IVNV_DECL 17276 csGLPROGRAMLOCALPARAMETERI4IVNV glProgramLocalParameterI4ivNV; 17277 #endif 17278 17279 #ifndef GLPROGRAMLOCALPARAMETERSI4IVNV_DECL 17280 #define GLPROGRAMLOCALPARAMETERSI4IVNV_DECL 17281 csGLPROGRAMLOCALPARAMETERSI4IVNV glProgramLocalParametersI4ivNV; 17282 #endif 17283 17284 #ifndef GLPROGRAMLOCALPARAMETERI4UINV_DECL 17285 #define GLPROGRAMLOCALPARAMETERI4UINV_DECL 17286 csGLPROGRAMLOCALPARAMETERI4UINV glProgramLocalParameterI4uiNV; 17287 #endif 17288 17289 #ifndef GLPROGRAMLOCALPARAMETERI4UIVNV_DECL 17290 #define GLPROGRAMLOCALPARAMETERI4UIVNV_DECL 17291 csGLPROGRAMLOCALPARAMETERI4UIVNV glProgramLocalParameterI4uivNV; 17292 #endif 17293 17294 #ifndef GLPROGRAMLOCALPARAMETERSI4UIVNV_DECL 17295 #define GLPROGRAMLOCALPARAMETERSI4UIVNV_DECL 17296 csGLPROGRAMLOCALPARAMETERSI4UIVNV glProgramLocalParametersI4uivNV; 17297 #endif 17298 17299 #ifndef GLPROGRAMENVPARAMETERI4INV_DECL 17300 #define GLPROGRAMENVPARAMETERI4INV_DECL 17301 csGLPROGRAMENVPARAMETERI4INV glProgramEnvParameterI4iNV; 17302 #endif 17303 17304 #ifndef GLPROGRAMENVPARAMETERI4IVNV_DECL 17305 #define GLPROGRAMENVPARAMETERI4IVNV_DECL 17306 csGLPROGRAMENVPARAMETERI4IVNV glProgramEnvParameterI4ivNV; 17307 #endif 17308 17309 #ifndef GLPROGRAMENVPARAMETERSI4IVNV_DECL 17310 #define GLPROGRAMENVPARAMETERSI4IVNV_DECL 17311 csGLPROGRAMENVPARAMETERSI4IVNV glProgramEnvParametersI4ivNV; 17312 #endif 17313 17314 #ifndef GLPROGRAMENVPARAMETERI4UINV_DECL 17315 #define GLPROGRAMENVPARAMETERI4UINV_DECL 17316 csGLPROGRAMENVPARAMETERI4UINV glProgramEnvParameterI4uiNV; 17317 #endif 17318 17319 #ifndef GLPROGRAMENVPARAMETERI4UIVNV_DECL 17320 #define GLPROGRAMENVPARAMETERI4UIVNV_DECL 17321 csGLPROGRAMENVPARAMETERI4UIVNV glProgramEnvParameterI4uivNV; 17322 #endif 17323 17324 #ifndef GLPROGRAMENVPARAMETERSI4UIVNV_DECL 17325 #define GLPROGRAMENVPARAMETERSI4UIVNV_DECL 17326 csGLPROGRAMENVPARAMETERSI4UIVNV glProgramEnvParametersI4uivNV; 17327 #endif 17328 17329 #ifndef GLGETPROGRAMLOCALPARAMETERIIVNV_DECL 17330 #define GLGETPROGRAMLOCALPARAMETERIIVNV_DECL 17331 csGLGETPROGRAMLOCALPARAMETERIIVNV glGetProgramLocalParameterIivNV; 17332 #endif 17333 17334 #ifndef GLGETPROGRAMLOCALPARAMETERIUIVNV_DECL 17335 #define GLGETPROGRAMLOCALPARAMETERIUIVNV_DECL 17336 csGLGETPROGRAMLOCALPARAMETERIUIVNV glGetProgramLocalParameterIuivNV; 17337 #endif 17338 17339 #ifndef GLGETPROGRAMENVPARAMETERIIVNV_DECL 17340 #define GLGETPROGRAMENVPARAMETERIIVNV_DECL 17341 csGLGETPROGRAMENVPARAMETERIIVNV glGetProgramEnvParameterIivNV; 17342 #endif 17343 17344 #ifndef GLGETPROGRAMENVPARAMETERIUIVNV_DECL 17345 #define GLGETPROGRAMENVPARAMETERIUIVNV_DECL 17346 csGLGETPROGRAMENVPARAMETERIUIVNV glGetProgramEnvParameterIuivNV; 17347 #endif 17348 17349 17354 #ifndef GLPROGRAMLOCALPARAMETERS4FVEXT_DECL 17355 #define GLPROGRAMLOCALPARAMETERS4FVEXT_DECL 17356 csGLPROGRAMLOCALPARAMETERS4FVEXT glProgramLocalParameters4fvEXT; 17357 #endif 17358 17359 #ifndef GLPROGRAMENVPARAMETERS4FVEXT_DECL 17360 #define GLPROGRAMENVPARAMETERS4FVEXT_DECL 17361 csGLPROGRAMENVPARAMETERS4FVEXT glProgramEnvParameters4fvEXT; 17362 #endif 17363 17364 17369 #ifndef GLCLAMPCOLORARB_DECL 17370 #define GLCLAMPCOLORARB_DECL 17371 csGLCLAMPCOLORARB glClampColorARB; 17372 #endif 17373 17374 17381 #ifdef CS_OPENGL_GLX 17382 17387 #endif // CS_OPENGL_GLX 17388 17389 #ifdef _WIN32 17390 17395 #endif // _WIN32 17396 17400 #ifndef GLDRAWARRAYSINSTANCEDARB_DECL 17401 #define GLDRAWARRAYSINSTANCEDARB_DECL 17402 csGLDRAWARRAYSINSTANCEDARB glDrawArraysInstancedARB; 17403 #endif 17404 17405 #ifndef GLDRAWELEMENTSINSTANCEDARB_DECL 17406 #define GLDRAWELEMENTSINSTANCEDARB_DECL 17407 csGLDRAWELEMENTSINSTANCEDARB glDrawElementsInstancedARB; 17408 #endif 17409 17410 17420 #ifndef GLVERTEXATTRIBDIVISORARB_DECL 17421 #define GLVERTEXATTRIBDIVISORARB_DECL 17422 csGLVERTEXATTRIBDIVISORARB glVertexAttribDivisorARB; 17423 #endif 17424 17425 17435 #ifndef GLMAPBUFFERRANGE_DECL 17436 #define GLMAPBUFFERRANGE_DECL 17437 csGLMAPBUFFERRANGE glMapBufferRange; 17438 #endif 17439 17440 #ifndef GLFLUSHMAPPEDBUFFERRANGE_DECL 17441 #define GLFLUSHMAPPEDBUFFERRANGE_DECL 17442 csGLFLUSHMAPPEDBUFFERRANGE glFlushMappedBufferRange; 17443 #endif 17444 17445 17458 // end of functions 17459 }; 17460 17462 struct csGLExtensionFlags 17463 { 17464 public: 17466 bool CS_GL_version_1_2; 17468 bool CS_GL_version_1_3; 17470 bool CS_GL_version_1_4; 17472 bool CS_GL_version_1_5; 17474 bool CS_GL_version_2_0; 17476 bool CS_GL_version_2_1; 17479 bool CS_GL_ARB_imaging; 17482 bool CS_GL_ARB_multitexture; 17485 bool CS_GL_ARB_transpose_matrix; 17488 bool CS_GL_ARB_multisample; 17491 bool CS_GLX_ARB_multisample; 17494 bool CS_GL_ARB_texture_env_add; 17497 bool CS_WGL_ARB_extensions_string; 17500 bool CS_WGL_ARB_buffer_region; 17503 bool CS_GL_ARB_texture_cube_map; 17506 bool CS_GL_ARB_depth_texture; 17509 bool CS_GL_ARB_point_parameters; 17512 bool CS_GL_ARB_shadow; 17515 bool CS_GL_ARB_shadow_ambient; 17518 bool CS_GL_ARB_texture_border_clamp; 17521 bool CS_GL_ARB_texture_compression; 17524 bool CS_GL_ARB_texture_env_combine; 17527 bool CS_GL_ARB_texture_env_crossbar; 17530 bool CS_GL_ARB_texture_env_dot3; 17533 bool CS_GL_ARB_texture_mirrored_repeat; 17536 bool CS_GL_ARB_vertex_blend; 17539 bool CS_GL_ARB_vertex_program; 17542 bool CS_GL_ARB_window_pos; 17545 bool CS_GL_EXT_422_pixels; 17548 bool CS_GL_EXT_abgr; 17551 bool CS_GL_EXT_bgra; 17554 bool CS_GL_EXT_blend_color; 17557 bool CS_GL_EXT_blend_func_separate; 17560 bool CS_GL_EXT_blend_logic_op; 17563 bool CS_GL_EXT_blend_minmax; 17566 bool CS_GL_EXT_blend_subtract; 17569 bool CS_GL_EXT_clip_volume_hint; 17572 bool CS_GL_EXT_color_subtable; 17575 bool CS_GL_EXT_compiled_vertex_array; 17578 bool CS_GL_EXT_convolution; 17581 bool CS_GL_EXT_fog_coord; 17584 bool CS_GL_EXT_histogram; 17587 bool CS_GL_EXT_multi_draw_arrays; 17590 bool CS_GL_EXT_packed_pixels; 17593 bool CS_GL_EXT_paletted_texture; 17596 bool CS_GL_EXT_point_parameters; 17599 bool CS_GL_EXT_polygon_offset; 17602 bool CS_GL_EXT_secondary_color; 17605 bool CS_GL_EXT_separate_specular_color; 17608 bool CS_GL_EXT_shadow_funcs; 17611 bool CS_GL_EXT_shared_texture_palette; 17614 bool CS_GL_EXT_stencil_two_side; 17617 bool CS_GL_EXT_stencil_wrap; 17620 bool CS_GL_EXT_subtexture; 17623 bool CS_GL_EXT_texture3D; 17626 bool CS_GL_EXT_texture_compression_s3tc; 17629 bool CS_GL_EXT_texture_env_add; 17632 bool CS_GL_EXT_texture_env_combine; 17635 bool CS_GL_EXT_texture_env_dot3; 17638 bool CS_GL_EXT_texture_filter_anisotropic; 17641 bool CS_GL_EXT_texture_lod_bias; 17644 bool CS_GL_EXT_texture_object; 17647 bool CS_GL_EXT_vertex_array; 17650 bool CS_GL_EXT_vertex_shader; 17653 bool CS_GL_EXT_vertex_weighting; 17656 bool CS_GL_HP_occlusion_test; 17659 bool CS_GL_NV_blend_square; 17662 bool CS_GL_NV_copy_depth_to_color; 17665 bool CS_GL_NV_depth_clamp; 17668 bool CS_GL_NV_evaluators; 17671 bool CS_GL_NV_fence; 17674 bool CS_GL_NV_fog_distance; 17677 bool CS_GL_NV_light_max_exponent; 17680 bool CS_GL_NV_multisample_filter_hint; 17683 bool CS_GL_NV_occlusion_query; 17686 bool CS_GL_NV_packed_depth_stencil; 17689 bool CS_GL_NV_point_sprite; 17692 bool CS_GL_NV_register_combiners; 17695 bool CS_GL_NV_register_combiners2; 17698 bool CS_GL_NV_texgen_emboss; 17701 bool CS_GL_NV_texgen_reflection; 17704 bool CS_GL_NV_texture_compression_vtc; 17707 bool CS_GL_NV_texture_env_combine4; 17710 bool CS_GL_NV_texture_rectangle; 17713 bool CS_GL_NV_texture_shader; 17716 bool CS_GL_NV_texture_shader2; 17719 bool CS_GL_NV_texture_shader3; 17722 bool CS_GL_NV_vertex_array_range; 17725 bool CS_GL_NV_vertex_array_range2; 17728 bool CS_GL_NV_vertex_program; 17731 bool CS_GL_NV_vertex_program1_1; 17734 bool CS_GL_ATI_element_array; 17737 bool CS_GL_ATI_envmap_bumpmap; 17740 bool CS_GL_ATI_fragment_shader; 17743 bool CS_GL_ATI_pn_triangles; 17746 bool CS_GL_ATI_texture_mirror_once; 17749 bool CS_GL_ATI_vertex_array_object; 17752 bool CS_GL_ATI_vertex_attrib_array_object; 17755 bool CS_GL_ATI_vertex_streams; 17758 bool CS_WGL_I3D_image_buffer; 17761 bool CS_WGL_I3D_swap_frame_lock; 17764 bool CS_WGL_I3D_swap_frame_usage; 17767 bool CS_GL_3DFX_texture_compression_FXT1; 17770 bool CS_GL_IBM_cull_vertex; 17773 bool CS_GL_IBM_multimode_draw_arrays; 17776 bool CS_GL_IBM_raster_pos_clip; 17779 bool CS_GL_IBM_texture_mirrored_repeat; 17782 bool CS_GL_IBM_vertex_array_lists; 17785 bool CS_GL_MESA_resize_buffers; 17788 bool CS_GL_MESA_window_pos; 17791 bool CS_GL_OML_interlace; 17794 bool CS_GL_OML_resample; 17797 bool CS_GL_OML_subsample; 17800 bool CS_GL_SGIS_generate_mipmap; 17803 bool CS_GL_SGIS_multisample; 17806 bool CS_GL_SGIS_pixel_texture; 17809 bool CS_GL_SGIS_texture_border_clamp; 17812 bool CS_GL_SGIS_texture_color_mask; 17815 bool CS_GL_SGIS_texture_edge_clamp; 17818 bool CS_GL_SGIS_texture_lod; 17821 bool CS_GL_SGIS_depth_texture; 17824 bool CS_GL_SGIX_fog_offset; 17827 bool CS_GL_SGIX_interlace; 17830 bool CS_GL_SGIX_shadow_ambient; 17833 bool CS_GL_SGI_color_matrix; 17836 bool CS_GL_SGI_color_table; 17839 bool CS_GL_SGI_texture_color_table; 17842 bool CS_GL_SUN_vertex; 17845 bool CS_GL_ARB_fragment_program; 17848 bool CS_GL_ATI_text_fragment_shader; 17851 bool CS_GL_APPLE_client_storage; 17854 bool CS_GL_APPLE_element_array; 17857 bool CS_GL_APPLE_fence; 17860 bool CS_GL_APPLE_vertex_array_object; 17863 bool CS_GL_APPLE_vertex_array_range; 17866 bool CS_WGL_ARB_pixel_format; 17869 bool CS_WGL_ARB_make_current_read; 17872 bool CS_WGL_ARB_pbuffer; 17875 bool CS_WGL_EXT_swap_control; 17878 bool CS_WGL_ARB_render_texture; 17881 bool CS_WGL_EXT_extensions_string; 17884 bool CS_WGL_EXT_make_current_read; 17887 bool CS_WGL_EXT_pbuffer; 17890 bool CS_WGL_EXT_pixel_format; 17893 bool CS_WGL_I3D_digital_video_control; 17896 bool CS_WGL_I3D_gamma; 17899 bool CS_WGL_I3D_genlock; 17902 bool CS_GL_ARB_matrix_palette; 17905 bool CS_GL_NV_element_array; 17908 bool CS_GL_NV_float_buffer; 17911 bool CS_GL_NV_fragment_program; 17914 bool CS_GL_NV_primitive_restart; 17917 bool CS_GL_NV_vertex_program2; 17920 bool CS_GL_ARB_vertex_buffer_object; 17923 bool CS_GL_ATI_separate_stencil; 17926 bool CS_GL_ARB_texture_non_power_of_two; 17929 bool CS_GL_ARB_point_sprite; 17932 bool CS_GL_ARB_shading_language_100; 17935 bool CS_GL_ARB_shader_objects; 17938 bool CS_GL_ARB_fragment_shader; 17941 bool CS_GL_ARB_vertex_shader; 17944 bool CS_GL_ARB_pixel_buffer_object; 17947 bool CS_GL_ARB_texture_rectangle; 17950 bool CS_GL_EXT_framebuffer_object; 17953 bool CS_GL_EXT_pixel_buffer_object; 17956 bool CS_GL_GREMEDY_string_marker; 17959 bool CS_GL_EXT_texture_rectangle; 17962 bool CS_GL_ARB_occlusion_query; 17965 bool CS_GL_ARB_draw_buffers; 17968 bool CS_GL_EXT_blend_equation_separate; 17971 bool CS_GL_EXT_texture_sRGB; 17974 bool CS_GL_EXT_packed_depth_stencil; 17977 bool CS_GL_ARB_texture_float; 17980 bool CS_GL_ARB_half_float_pixel; 17983 bool CS_GL_NV_gpu_program4; 17986 bool CS_GL_EXT_gpu_program_parameters; 17989 bool CS_GL_ARB_color_buffer_float; 17992 bool CS_GL_ARB_framebuffer_sRGB; 17995 bool CS_GLX_ARB_framebuffer_sRGB; 17998 bool CS_WGL_ARB_framebuffer_sRGB; 18001 bool CS_GL_ARB_draw_instanced; 18004 bool CS_GL_ARB_depth_buffer_float; 18007 bool CS_GL_ARB_instanced_arrays; 18010 bool CS_GL_ARB_half_float_vertex; 18013 bool CS_GL_ARB_map_buffer_range; 18016 bool CS_GL_ARB_texture_compression_rgtc; 18019 bool CS_GL_ARB_texture_rg; 18020 18021 protected: 18022 bool tested_CS_GL_version_1_2; 18023 bool tested_CS_GL_version_1_3; 18024 bool tested_CS_GL_version_1_4; 18025 bool tested_CS_GL_version_1_5; 18026 bool tested_CS_GL_version_2_0; 18027 bool tested_CS_GL_version_2_1; 18028 bool tested_CS_GL_ARB_imaging; 18029 bool tested_CS_GL_ARB_multitexture; 18030 bool tested_CS_GL_ARB_transpose_matrix; 18031 bool tested_CS_GL_ARB_multisample; 18032 bool tested_CS_GLX_ARB_multisample; 18033 bool tested_CS_GL_ARB_texture_env_add; 18034 bool tested_CS_WGL_ARB_extensions_string; 18035 bool tested_CS_WGL_ARB_buffer_region; 18036 bool tested_CS_GL_ARB_texture_cube_map; 18037 bool tested_CS_GL_ARB_depth_texture; 18038 bool tested_CS_GL_ARB_point_parameters; 18039 bool tested_CS_GL_ARB_shadow; 18040 bool tested_CS_GL_ARB_shadow_ambient; 18041 bool tested_CS_GL_ARB_texture_border_clamp; 18042 bool tested_CS_GL_ARB_texture_compression; 18043 bool tested_CS_GL_ARB_texture_env_combine; 18044 bool tested_CS_GL_ARB_texture_env_crossbar; 18045 bool tested_CS_GL_ARB_texture_env_dot3; 18046 bool tested_CS_GL_ARB_texture_mirrored_repeat; 18047 bool tested_CS_GL_ARB_vertex_blend; 18048 bool tested_CS_GL_ARB_vertex_program; 18049 bool tested_CS_GL_ARB_window_pos; 18050 bool tested_CS_GL_EXT_422_pixels; 18051 bool tested_CS_GL_EXT_abgr; 18052 bool tested_CS_GL_EXT_bgra; 18053 bool tested_CS_GL_EXT_blend_color; 18054 bool tested_CS_GL_EXT_blend_func_separate; 18055 bool tested_CS_GL_EXT_blend_logic_op; 18056 bool tested_CS_GL_EXT_blend_minmax; 18057 bool tested_CS_GL_EXT_blend_subtract; 18058 bool tested_CS_GL_EXT_clip_volume_hint; 18059 bool tested_CS_GL_EXT_color_subtable; 18060 bool tested_CS_GL_EXT_compiled_vertex_array; 18061 bool tested_CS_GL_EXT_convolution; 18062 bool tested_CS_GL_EXT_fog_coord; 18063 bool tested_CS_GL_EXT_histogram; 18064 bool tested_CS_GL_EXT_multi_draw_arrays; 18065 bool tested_CS_GL_EXT_packed_pixels; 18066 bool tested_CS_GL_EXT_paletted_texture; 18067 bool tested_CS_GL_EXT_point_parameters; 18068 bool tested_CS_GL_EXT_polygon_offset; 18069 bool tested_CS_GL_EXT_secondary_color; 18070 bool tested_CS_GL_EXT_separate_specular_color; 18071 bool tested_CS_GL_EXT_shadow_funcs; 18072 bool tested_CS_GL_EXT_shared_texture_palette; 18073 bool tested_CS_GL_EXT_stencil_two_side; 18074 bool tested_CS_GL_EXT_stencil_wrap; 18075 bool tested_CS_GL_EXT_subtexture; 18076 bool tested_CS_GL_EXT_texture3D; 18077 bool tested_CS_GL_EXT_texture_compression_s3tc; 18078 bool tested_CS_GL_EXT_texture_env_add; 18079 bool tested_CS_GL_EXT_texture_env_combine; 18080 bool tested_CS_GL_EXT_texture_env_dot3; 18081 bool tested_CS_GL_EXT_texture_filter_anisotropic; 18082 bool tested_CS_GL_EXT_texture_lod_bias; 18083 bool tested_CS_GL_EXT_texture_object; 18084 bool tested_CS_GL_EXT_vertex_array; 18085 bool tested_CS_GL_EXT_vertex_shader; 18086 bool tested_CS_GL_EXT_vertex_weighting; 18087 bool tested_CS_GL_HP_occlusion_test; 18088 bool tested_CS_GL_NV_blend_square; 18089 bool tested_CS_GL_NV_copy_depth_to_color; 18090 bool tested_CS_GL_NV_depth_clamp; 18091 bool tested_CS_GL_NV_evaluators; 18092 bool tested_CS_GL_NV_fence; 18093 bool tested_CS_GL_NV_fog_distance; 18094 bool tested_CS_GL_NV_light_max_exponent; 18095 bool tested_CS_GL_NV_multisample_filter_hint; 18096 bool tested_CS_GL_NV_occlusion_query; 18097 bool tested_CS_GL_NV_packed_depth_stencil; 18098 bool tested_CS_GL_NV_point_sprite; 18099 bool tested_CS_GL_NV_register_combiners; 18100 bool tested_CS_GL_NV_register_combiners2; 18101 bool tested_CS_GL_NV_texgen_emboss; 18102 bool tested_CS_GL_NV_texgen_reflection; 18103 bool tested_CS_GL_NV_texture_compression_vtc; 18104 bool tested_CS_GL_NV_texture_env_combine4; 18105 bool tested_CS_GL_NV_texture_rectangle; 18106 bool tested_CS_GL_NV_texture_shader; 18107 bool tested_CS_GL_NV_texture_shader2; 18108 bool tested_CS_GL_NV_texture_shader3; 18109 bool tested_CS_GL_NV_vertex_array_range; 18110 bool tested_CS_GL_NV_vertex_array_range2; 18111 bool tested_CS_GL_NV_vertex_program; 18112 bool tested_CS_GL_NV_vertex_program1_1; 18113 bool tested_CS_GL_ATI_element_array; 18114 bool tested_CS_GL_ATI_envmap_bumpmap; 18115 bool tested_CS_GL_ATI_fragment_shader; 18116 bool tested_CS_GL_ATI_pn_triangles; 18117 bool tested_CS_GL_ATI_texture_mirror_once; 18118 bool tested_CS_GL_ATI_vertex_array_object; 18119 bool tested_CS_GL_ATI_vertex_attrib_array_object; 18120 bool tested_CS_GL_ATI_vertex_streams; 18121 bool tested_CS_WGL_I3D_image_buffer; 18122 bool tested_CS_WGL_I3D_swap_frame_lock; 18123 bool tested_CS_WGL_I3D_swap_frame_usage; 18124 bool tested_CS_GL_3DFX_texture_compression_FXT1; 18125 bool tested_CS_GL_IBM_cull_vertex; 18126 bool tested_CS_GL_IBM_multimode_draw_arrays; 18127 bool tested_CS_GL_IBM_raster_pos_clip; 18128 bool tested_CS_GL_IBM_texture_mirrored_repeat; 18129 bool tested_CS_GL_IBM_vertex_array_lists; 18130 bool tested_CS_GL_MESA_resize_buffers; 18131 bool tested_CS_GL_MESA_window_pos; 18132 bool tested_CS_GL_OML_interlace; 18133 bool tested_CS_GL_OML_resample; 18134 bool tested_CS_GL_OML_subsample; 18135 bool tested_CS_GL_SGIS_generate_mipmap; 18136 bool tested_CS_GL_SGIS_multisample; 18137 bool tested_CS_GL_SGIS_pixel_texture; 18138 bool tested_CS_GL_SGIS_texture_border_clamp; 18139 bool tested_CS_GL_SGIS_texture_color_mask; 18140 bool tested_CS_GL_SGIS_texture_edge_clamp; 18141 bool tested_CS_GL_SGIS_texture_lod; 18142 bool tested_CS_GL_SGIS_depth_texture; 18143 bool tested_CS_GL_SGIX_fog_offset; 18144 bool tested_CS_GL_SGIX_interlace; 18145 bool tested_CS_GL_SGIX_shadow_ambient; 18146 bool tested_CS_GL_SGI_color_matrix; 18147 bool tested_CS_GL_SGI_color_table; 18148 bool tested_CS_GL_SGI_texture_color_table; 18149 bool tested_CS_GL_SUN_vertex; 18150 bool tested_CS_GL_ARB_fragment_program; 18151 bool tested_CS_GL_ATI_text_fragment_shader; 18152 bool tested_CS_GL_APPLE_client_storage; 18153 bool tested_CS_GL_APPLE_element_array; 18154 bool tested_CS_GL_APPLE_fence; 18155 bool tested_CS_GL_APPLE_vertex_array_object; 18156 bool tested_CS_GL_APPLE_vertex_array_range; 18157 bool tested_CS_WGL_ARB_pixel_format; 18158 bool tested_CS_WGL_ARB_make_current_read; 18159 bool tested_CS_WGL_ARB_pbuffer; 18160 bool tested_CS_WGL_EXT_swap_control; 18161 bool tested_CS_WGL_ARB_render_texture; 18162 bool tested_CS_WGL_EXT_extensions_string; 18163 bool tested_CS_WGL_EXT_make_current_read; 18164 bool tested_CS_WGL_EXT_pbuffer; 18165 bool tested_CS_WGL_EXT_pixel_format; 18166 bool tested_CS_WGL_I3D_digital_video_control; 18167 bool tested_CS_WGL_I3D_gamma; 18168 bool tested_CS_WGL_I3D_genlock; 18169 bool tested_CS_GL_ARB_matrix_palette; 18170 bool tested_CS_GL_NV_element_array; 18171 bool tested_CS_GL_NV_float_buffer; 18172 bool tested_CS_GL_NV_fragment_program; 18173 bool tested_CS_GL_NV_primitive_restart; 18174 bool tested_CS_GL_NV_vertex_program2; 18175 bool tested_CS_GL_ARB_vertex_buffer_object; 18176 bool tested_CS_GL_ATI_separate_stencil; 18177 bool tested_CS_GL_ARB_texture_non_power_of_two; 18178 bool tested_CS_GL_ARB_point_sprite; 18179 bool tested_CS_GL_ARB_shading_language_100; 18180 bool tested_CS_GL_ARB_shader_objects; 18181 bool tested_CS_GL_ARB_fragment_shader; 18182 bool tested_CS_GL_ARB_vertex_shader; 18183 bool tested_CS_GL_ARB_pixel_buffer_object; 18184 bool tested_CS_GL_ARB_texture_rectangle; 18185 bool tested_CS_GL_EXT_framebuffer_object; 18186 bool tested_CS_GL_EXT_pixel_buffer_object; 18187 bool tested_CS_GL_GREMEDY_string_marker; 18188 bool tested_CS_GL_EXT_texture_rectangle; 18189 bool tested_CS_GL_ARB_occlusion_query; 18190 bool tested_CS_GL_ARB_draw_buffers; 18191 bool tested_CS_GL_EXT_blend_equation_separate; 18192 bool tested_CS_GL_EXT_texture_sRGB; 18193 bool tested_CS_GL_EXT_packed_depth_stencil; 18194 bool tested_CS_GL_ARB_texture_float; 18195 bool tested_CS_GL_ARB_half_float_pixel; 18196 bool tested_CS_GL_NV_gpu_program4; 18197 bool tested_CS_GL_EXT_gpu_program_parameters; 18198 bool tested_CS_GL_ARB_color_buffer_float; 18199 bool tested_CS_GL_ARB_framebuffer_sRGB; 18200 bool tested_CS_GLX_ARB_framebuffer_sRGB; 18201 bool tested_CS_WGL_ARB_framebuffer_sRGB; 18202 bool tested_CS_GL_ARB_draw_instanced; 18203 bool tested_CS_GL_ARB_depth_buffer_float; 18204 bool tested_CS_GL_ARB_instanced_arrays; 18205 bool tested_CS_GL_ARB_half_float_vertex; 18206 bool tested_CS_GL_ARB_map_buffer_range; 18207 bool tested_CS_GL_ARB_texture_compression_rgtc; 18208 bool tested_CS_GL_ARB_texture_rg; 18209 18210 }; 18211 18216 struct csGLExtensionManager : public csGLExtensionFunctions, 18217 public csGLExtensionFlags 18218 { 18219 private: 18220 iObjectRegistry* object_reg; 18221 csConfigAccess config; 18222 iOpenGLInterface* gl; 18223 bool doVerbose; 18224 bool defaultUse; 18225 18226 const char* extstrGL; 18227 const char* msgExtRetrieveFail; 18228 const char* msgExtFoundAndUsed; 18229 const char* msgExtFoundAndNotUsed; 18230 const char* msgExtInitFail; 18231 const char* msgExtNotFound; 18232 const char* msgDependencyNotFound; 18233 18234 #ifdef __WIN32__ 18235 const char* extstrWGL; 18236 void SetupWGLextStr (HDC hDC) 18237 { 18238 if (extstrWGL != 0) return; 18239 18240 if (!tested_CS_WGL_ARB_extensions_string) InitWGL_ARB_extensions_string (hDC); 18241 if (CS_WGL_ARB_extensions_string) 18242 { 18243 extstrWGL = wglGetExtensionsStringARB (hDC); 18244 } 18245 else 18246 { 18247 extstrWGL = extstrGL; 18248 } 18249 } 18250 #endif 18251 18252 #ifdef CS_OPENGL_GLX 18253 const char* extstrGLX; 18254 #ifdef CS_GLEXTMANAGER_USE_GLX 18255 void SetupGLXextStr (Display* glxDisplay, int glxScreen) 18256 { 18257 if (extstrGLX != 0) return; 18258 18259 extstrGLX = glXQueryExtensionsString (glxDisplay, glxScreen); 18260 } 18261 #endif 18262 #endif 18263 18264 void Report (const char* msg, ...) 18265 { 18266 if (!doVerbose) 18267 return; 18268 18269 va_list arg; 18270 va_start (arg, msg); 18271 csReportV (object_reg, CS_REPORTER_SEVERITY_NOTIFY, 18272 "crystalspace.canvas.opengl.extmgr", msg, arg); 18273 va_end (arg); 18274 } 18275 18281 bool CheckExtension (const char* extensions, const char* extToCheck) 18282 { 18283 size_t extLen = strlen (extToCheck); 18284 do 18285 { 18286 const char* extStrPos = strstr (extensions, extToCheck); 18287 if (extStrPos == 0) return false; 18288 18289 /* If no space is before and after the ext string it's a substring 18290 * of another ext */ 18291 char endch; 18292 if (((extStrPos > extensions) && (*(extStrPos-1) != ' ')) 18293 || (((endch = *(extStrPos + extLen)) != 0) && (endch != ' '))) 18294 { 18295 extensions = extStrPos + extLen; 18296 continue; 18297 } 18298 break; 18299 } 18300 while (true); 18301 return true; 18302 } 18303 public: 18304 void Initialize (iObjectRegistry* object_reg, iGraphics2D* g2d) 18305 { 18306 csGLExtensionManager::object_reg = object_reg; 18307 gl = csRef<iOpenGLInterface> (scfQueryInterface<iOpenGLInterface> (g2d)); 18308 // Low priority so canvas/renderer cfgs may override the settings 18309 config.AddConfig (object_reg, "/config/glext.cfg", true, 18310 iConfigManager::ConfigPriorityPlugin - 1); 18311 18312 csRef<iVerbosityManager> verbosemgr (csQueryRegistry<iVerbosityManager> ( 18313 object_reg)); 18314 doVerbose = verbosemgr->Enabled ("renderer"); 18315 } 18316 18317 void Open () 18318 { 18319 extstrGL = (const char*)glGetString (GL_EXTENSIONS); 18320 defaultUse = config->GetBool ("Video.OpenGL.UseExtension.ALL", true); 18321 if (!defaultUse) 18322 Report ("ALL extensions are disabled by default"); 18323 } 18324 18325 void Close () { } 18326 public: 18327 void Reset () 18328 { 18329 extstrGL = 0; 18330 #ifdef __WIN32__ 18331 extstrWGL = 0; 18332 #endif 18333 #ifdef CS_OPENGL_GLX 18334 extstrGLX = 0; 18335 #endif 18336 18337 memset ((csGLExtensionFunctions*)this, 0, 18338 sizeof (csGLExtensionFunctions)); 18339 memset ((csGLExtensionFlags*)this, 0, sizeof (csGLExtensionFlags)); 18340 } 18341 18342 csGLExtensionManager () : object_reg (0), gl (0), doVerbose (false), 18343 defaultUse (true) 18344 { 18345 msgExtRetrieveFail = "Failed to retrieve %s"; 18346 msgExtFoundAndUsed = "%s Extension '%s' found and used."; 18347 msgExtFoundAndNotUsed = "%s Extension '%s' found, but not used."; 18348 msgExtInitFail = "%s Extension '%s' failed to initialize."; 18349 msgExtNotFound = "%s Extension '%s' not found."; 18350 msgDependencyNotFound = "%s Extension '%s' depends on '%s' which did " 18351 "not initialize."; 18352 18353 Reset (); 18354 } 18355 18357 void InitGL_version_1_2 () 18358 { 18359 if (tested_CS_GL_version_1_2) return; 18360 if (!extstrGL) return; 18361 tested_CS_GL_version_1_2 = true; 18362 const char* ext = "GL_version_1_2"; 18363 18364 char cfgkey[26 + 14 + 1]; 18365 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18366 18367 CS_GL_version_1_2 = true; 18368 18369 bool allclear, funcTest; 18370 (void)funcTest; // shut up "variable unused" warnings 18371 bool init = CS_GL_version_1_2; 18372 allclear = true; 18373 if (init) // Don't check the functions if ext isn't reported anyway 18374 { 18375 EXTMGR_FUNC_INIT(glDrawRangeElements, GLDRAWRANGEELEMENTS); 18376 EXTMGR_FUNC_INIT(glTexImage3D, GLTEXIMAGE3D); 18377 EXTMGR_FUNC_INIT(glTexSubImage3D, GLTEXSUBIMAGE3D); 18378 EXTMGR_FUNC_INIT(glCopyTexSubImage3D, GLCOPYTEXSUBIMAGE3D); 18379 18380 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_2) 18381 } 18382 else 18383 { 18384 Report (msgExtNotFound, "GL", ext); 18385 } 18386 } 18387 18389 void InitGL_version_1_3 () 18390 { 18391 if (tested_CS_GL_version_1_3) return; 18392 if (!extstrGL) return; 18393 tested_CS_GL_version_1_3 = true; 18394 const char* ext = "GL_version_1_3"; 18395 InitGL_version_1_2(); 18396 if (!CS_GL_version_1_2) 18397 { 18398 Report (msgDependencyNotFound, "GL", ext, "GL_version_1_2"); 18399 return; 18400 } 18401 char cfgkey[26 + 14 + 1]; 18402 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18403 18404 CS_GL_version_1_3 = true; 18405 18406 bool allclear, funcTest; 18407 (void)funcTest; // shut up "variable unused" warnings 18408 bool init = CS_GL_version_1_3; 18409 allclear = true; 18410 if (init) // Don't check the functions if ext isn't reported anyway 18411 { 18412 EXTMGR_FUNC_INIT(glActiveTexture, GLACTIVETEXTURE); 18413 EXTMGR_FUNC_INIT(glClientActiveTexture, GLCLIENTACTIVETEXTURE); 18414 EXTMGR_FUNC_INIT(glMultiTexCoord1d, GLMULTITEXCOORD1D); 18415 EXTMGR_FUNC_INIT(glMultiTexCoord1dv, GLMULTITEXCOORD1DV); 18416 EXTMGR_FUNC_INIT(glMultiTexCoord1f, GLMULTITEXCOORD1F); 18417 EXTMGR_FUNC_INIT(glMultiTexCoord1fv, GLMULTITEXCOORD1FV); 18418 EXTMGR_FUNC_INIT(glMultiTexCoord1i, GLMULTITEXCOORD1I); 18419 EXTMGR_FUNC_INIT(glMultiTexCoord1iv, GLMULTITEXCOORD1IV); 18420 EXTMGR_FUNC_INIT(glMultiTexCoord1s, GLMULTITEXCOORD1S); 18421 EXTMGR_FUNC_INIT(glMultiTexCoord1sv, GLMULTITEXCOORD1SV); 18422 EXTMGR_FUNC_INIT(glMultiTexCoord2d, GLMULTITEXCOORD2D); 18423 EXTMGR_FUNC_INIT(glMultiTexCoord2dv, GLMULTITEXCOORD2DV); 18424 EXTMGR_FUNC_INIT(glMultiTexCoord2f, GLMULTITEXCOORD2F); 18425 EXTMGR_FUNC_INIT(glMultiTexCoord2fv, GLMULTITEXCOORD2FV); 18426 EXTMGR_FUNC_INIT(glMultiTexCoord2i, GLMULTITEXCOORD2I); 18427 EXTMGR_FUNC_INIT(glMultiTexCoord2iv, GLMULTITEXCOORD2IV); 18428 EXTMGR_FUNC_INIT(glMultiTexCoord2s, GLMULTITEXCOORD2S); 18429 EXTMGR_FUNC_INIT(glMultiTexCoord2sv, GLMULTITEXCOORD2SV); 18430 EXTMGR_FUNC_INIT(glMultiTexCoord3d, GLMULTITEXCOORD3D); 18431 EXTMGR_FUNC_INIT(glMultiTexCoord3dv, GLMULTITEXCOORD3DV); 18432 EXTMGR_FUNC_INIT(glMultiTexCoord3f, GLMULTITEXCOORD3F); 18433 EXTMGR_FUNC_INIT(glMultiTexCoord3fv, GLMULTITEXCOORD3FV); 18434 EXTMGR_FUNC_INIT(glMultiTexCoord3i, GLMULTITEXCOORD3I); 18435 EXTMGR_FUNC_INIT(glMultiTexCoord3iv, GLMULTITEXCOORD3IV); 18436 EXTMGR_FUNC_INIT(glMultiTexCoord3s, GLMULTITEXCOORD3S); 18437 EXTMGR_FUNC_INIT(glMultiTexCoord3sv, GLMULTITEXCOORD3SV); 18438 EXTMGR_FUNC_INIT(glMultiTexCoord4d, GLMULTITEXCOORD4D); 18439 EXTMGR_FUNC_INIT(glMultiTexCoord4dv, GLMULTITEXCOORD4DV); 18440 EXTMGR_FUNC_INIT(glMultiTexCoord4f, GLMULTITEXCOORD4F); 18441 EXTMGR_FUNC_INIT(glMultiTexCoord4fv, GLMULTITEXCOORD4FV); 18442 EXTMGR_FUNC_INIT(glMultiTexCoord4i, GLMULTITEXCOORD4I); 18443 EXTMGR_FUNC_INIT(glMultiTexCoord4iv, GLMULTITEXCOORD4IV); 18444 EXTMGR_FUNC_INIT(glMultiTexCoord4s, GLMULTITEXCOORD4S); 18445 EXTMGR_FUNC_INIT(glMultiTexCoord4sv, GLMULTITEXCOORD4SV); 18446 EXTMGR_FUNC_INIT(glLoadTransposeMatrixf, GLLOADTRANSPOSEMATRIXF); 18447 EXTMGR_FUNC_INIT(glLoadTransposeMatrixd, GLLOADTRANSPOSEMATRIXD); 18448 EXTMGR_FUNC_INIT(glMultTransposeMatrixf, GLMULTTRANSPOSEMATRIXF); 18449 EXTMGR_FUNC_INIT(glMultTransposeMatrixd, GLMULTTRANSPOSEMATRIXD); 18450 EXTMGR_FUNC_INIT(glSampleCoverage, GLSAMPLECOVERAGE); 18451 EXTMGR_FUNC_INIT(glCompressedTexImage3D, GLCOMPRESSEDTEXIMAGE3D); 18452 EXTMGR_FUNC_INIT(glCompressedTexImage2D, GLCOMPRESSEDTEXIMAGE2D); 18453 EXTMGR_FUNC_INIT(glCompressedTexImage1D, GLCOMPRESSEDTEXIMAGE1D); 18454 EXTMGR_FUNC_INIT(glCompressedTexSubImage3D, GLCOMPRESSEDTEXSUBIMAGE3D); 18455 EXTMGR_FUNC_INIT(glCompressedTexSubImage2D, GLCOMPRESSEDTEXSUBIMAGE2D); 18456 EXTMGR_FUNC_INIT(glCompressedTexSubImage1D, GLCOMPRESSEDTEXSUBIMAGE1D); 18457 EXTMGR_FUNC_INIT(glGetCompressedTexImage, GLGETCOMPRESSEDTEXIMAGE); 18458 18459 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_3) 18460 } 18461 else 18462 { 18463 Report (msgExtNotFound, "GL", ext); 18464 } 18465 } 18466 18468 void InitGL_version_1_4 () 18469 { 18470 if (tested_CS_GL_version_1_4) return; 18471 if (!extstrGL) return; 18472 tested_CS_GL_version_1_4 = true; 18473 const char* ext = "GL_version_1_4"; 18474 InitGL_version_1_3(); 18475 if (!CS_GL_version_1_3) 18476 { 18477 Report (msgDependencyNotFound, "GL", ext, "GL_version_1_3"); 18478 return; 18479 } 18480 char cfgkey[26 + 14 + 1]; 18481 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18482 18483 CS_GL_version_1_4 = true; 18484 18485 bool allclear, funcTest; 18486 (void)funcTest; // shut up "variable unused" warnings 18487 bool init = CS_GL_version_1_4; 18488 allclear = true; 18489 if (init) // Don't check the functions if ext isn't reported anyway 18490 { 18491 EXTMGR_FUNC_INIT(glFogCoordf, GLFOGCOORDF); 18492 EXTMGR_FUNC_INIT(glFogCoordd, GLFOGCOORDD); 18493 EXTMGR_FUNC_INIT(glFogCoordfv, GLFOGCOORDFV); 18494 EXTMGR_FUNC_INIT(glFogCoorddv, GLFOGCOORDDV); 18495 EXTMGR_FUNC_INIT(glFogCoordPointer, GLFOGCOORDPOINTER); 18496 EXTMGR_FUNC_INIT(glMultiDrawArrays, GLMULTIDRAWARRAYS); 18497 EXTMGR_FUNC_INIT(glMultiDrawElements, GLMULTIDRAWELEMENTS); 18498 EXTMGR_FUNC_INIT(glPointParameterf, GLPOINTPARAMETERF); 18499 EXTMGR_FUNC_INIT(glPointParameterfv, GLPOINTPARAMETERFV); 18500 EXTMGR_FUNC_INIT(glSecondaryColor3b, GLSECONDARYCOLOR3B); 18501 EXTMGR_FUNC_INIT(glSecondaryColor3s, GLSECONDARYCOLOR3S); 18502 EXTMGR_FUNC_INIT(glSecondaryColor3i, GLSECONDARYCOLOR3I); 18503 EXTMGR_FUNC_INIT(glSecondaryColor3f, GLSECONDARYCOLOR3F); 18504 EXTMGR_FUNC_INIT(glSecondaryColor3d, GLSECONDARYCOLOR3D); 18505 EXTMGR_FUNC_INIT(glSecondaryColor3ub, GLSECONDARYCOLOR3UB); 18506 EXTMGR_FUNC_INIT(glSecondaryColor3us, GLSECONDARYCOLOR3US); 18507 EXTMGR_FUNC_INIT(glSecondaryColor3ui, GLSECONDARYCOLOR3UI); 18508 EXTMGR_FUNC_INIT(glSecondaryColor3bv, GLSECONDARYCOLOR3BV); 18509 EXTMGR_FUNC_INIT(glSecondaryColor3sv, GLSECONDARYCOLOR3SV); 18510 EXTMGR_FUNC_INIT(glSecondaryColor3iv, GLSECONDARYCOLOR3IV); 18511 EXTMGR_FUNC_INIT(glSecondaryColor3fv, GLSECONDARYCOLOR3FV); 18512 EXTMGR_FUNC_INIT(glSecondaryColor3dv, GLSECONDARYCOLOR3DV); 18513 EXTMGR_FUNC_INIT(glSecondaryColor3ubv, GLSECONDARYCOLOR3UBV); 18514 EXTMGR_FUNC_INIT(glSecondaryColor3usv, GLSECONDARYCOLOR3USV); 18515 EXTMGR_FUNC_INIT(glSecondaryColor3uiv, GLSECONDARYCOLOR3UIV); 18516 EXTMGR_FUNC_INIT(glSecondaryColorPointer, GLSECONDARYCOLORPOINTER); 18517 EXTMGR_FUNC_INIT(glBlendFuncSeparate, GLBLENDFUNCSEPARATE); 18518 EXTMGR_FUNC_INIT(glWindowPos2d, GLWINDOWPOS2D); 18519 EXTMGR_FUNC_INIT(glWindowPos2f, GLWINDOWPOS2F); 18520 EXTMGR_FUNC_INIT(glWindowPos2i, GLWINDOWPOS2I); 18521 EXTMGR_FUNC_INIT(glWindowPos2s, GLWINDOWPOS2S); 18522 EXTMGR_FUNC_INIT(glWindowPos2dv, GLWINDOWPOS2DV); 18523 EXTMGR_FUNC_INIT(glWindowPos2fv, GLWINDOWPOS2FV); 18524 EXTMGR_FUNC_INIT(glWindowPos2iv, GLWINDOWPOS2IV); 18525 EXTMGR_FUNC_INIT(glWindowPos2sv, GLWINDOWPOS2SV); 18526 EXTMGR_FUNC_INIT(glWindowPos3d, GLWINDOWPOS3D); 18527 EXTMGR_FUNC_INIT(glWindowPos3f, GLWINDOWPOS3F); 18528 EXTMGR_FUNC_INIT(glWindowPos3i, GLWINDOWPOS3I); 18529 EXTMGR_FUNC_INIT(glWindowPos3s, GLWINDOWPOS3S); 18530 EXTMGR_FUNC_INIT(glWindowPos3dv, GLWINDOWPOS3DV); 18531 EXTMGR_FUNC_INIT(glWindowPos3fv, GLWINDOWPOS3FV); 18532 EXTMGR_FUNC_INIT(glWindowPos3iv, GLWINDOWPOS3IV); 18533 EXTMGR_FUNC_INIT(glWindowPos3sv, GLWINDOWPOS3SV); 18534 18535 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_4) 18536 } 18537 else 18538 { 18539 Report (msgExtNotFound, "GL", ext); 18540 } 18541 } 18542 18544 void InitGL_version_1_5 () 18545 { 18546 if (tested_CS_GL_version_1_5) return; 18547 if (!extstrGL) return; 18548 tested_CS_GL_version_1_5 = true; 18549 const char* ext = "GL_version_1_5"; 18550 InitGL_version_1_4(); 18551 if (!CS_GL_version_1_4) 18552 { 18553 Report (msgDependencyNotFound, "GL", ext, "GL_version_1_4"); 18554 return; 18555 } 18556 char cfgkey[26 + 14 + 1]; 18557 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18558 18559 CS_GL_version_1_5 = true; 18560 18561 bool allclear, funcTest; 18562 (void)funcTest; // shut up "variable unused" warnings 18563 bool init = CS_GL_version_1_5; 18564 allclear = true; 18565 if (init) // Don't check the functions if ext isn't reported anyway 18566 { 18567 EXTMGR_FUNC_INIT(glBindBuffer, GLBINDBUFFER); 18568 EXTMGR_FUNC_INIT(glDeleteBuffers, GLDELETEBUFFERS); 18569 EXTMGR_FUNC_INIT(glGenBuffers, GLGENBUFFERS); 18570 EXTMGR_FUNC_INIT(glBufferData, GLBUFFERDATA); 18571 EXTMGR_FUNC_INIT(glBufferSubData, GLBUFFERSUBDATA); 18572 EXTMGR_FUNC_INIT(glMapBuffer, GLMAPBUFFER); 18573 EXTMGR_FUNC_INIT(glUnmapBuffer, GLUNMAPBUFFER); 18574 EXTMGR_FUNC_INIT(glIsBuffer, GLISBUFFER); 18575 EXTMGR_FUNC_INIT(glGetBufferSubData, GLGETBUFFERSUBDATA); 18576 EXTMGR_FUNC_INIT(glGetBufferPointerv, GLGETBUFFERPOINTERV); 18577 EXTMGR_FUNC_INIT(glGetBufferParameteriv, GLGETBUFFERPARAMETERIV); 18578 EXTMGR_FUNC_INIT(glGenQueries, GLGENQUERIES); 18579 EXTMGR_FUNC_INIT(glDeleteQueries, GLDELETEQUERIES); 18580 EXTMGR_FUNC_INIT(glIsQuery, GLISQUERY); 18581 EXTMGR_FUNC_INIT(glBeginQuery, GLBEGINQUERY); 18582 EXTMGR_FUNC_INIT(glEndQuery, GLENDQUERY); 18583 EXTMGR_FUNC_INIT(glGetQueryiv, GLGETQUERYIV); 18584 EXTMGR_FUNC_INIT(glGetQueryObjectiv, GLGETQUERYOBJECTIV); 18585 EXTMGR_FUNC_INIT(glGetQueryObjectuiv, GLGETQUERYOBJECTUIV); 18586 18587 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_1_5) 18588 } 18589 else 18590 { 18591 Report (msgExtNotFound, "GL", ext); 18592 } 18593 } 18594 18596 void InitGL_version_2_0 () 18597 { 18598 if (tested_CS_GL_version_2_0) return; 18599 if (!extstrGL) return; 18600 tested_CS_GL_version_2_0 = true; 18601 const char* ext = "GL_version_2_0"; 18602 InitGL_version_1_5(); 18603 if (!CS_GL_version_1_5) 18604 { 18605 Report (msgDependencyNotFound, "GL", ext, "GL_version_1_5"); 18606 return; 18607 } 18608 char cfgkey[26 + 14 + 1]; 18609 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18610 18611 CS_GL_version_2_0 = true; 18612 18613 bool allclear, funcTest; 18614 (void)funcTest; // shut up "variable unused" warnings 18615 bool init = CS_GL_version_2_0; 18616 allclear = true; 18617 if (init) // Don't check the functions if ext isn't reported anyway 18618 { 18619 EXTMGR_FUNC_INIT(glDeleteShader, GLDELETESHADER); 18620 EXTMGR_FUNC_INIT(glGetHandle, GLGETHANDLE); 18621 EXTMGR_FUNC_INIT(glDetachShader, GLDETACHSHADER); 18622 EXTMGR_FUNC_INIT(glCreateShader, GLCREATESHADER); 18623 EXTMGR_FUNC_INIT(glShaderSource, GLSHADERSOURCE); 18624 EXTMGR_FUNC_INIT(glCompileShader, GLCOMPILESHADER); 18625 EXTMGR_FUNC_INIT(glCreateProgramObject, GLCREATEPROGRAMOBJECT); 18626 EXTMGR_FUNC_INIT(glAttachShader, GLATTACHSHADER); 18627 EXTMGR_FUNC_INIT(glLinkProgram, GLLINKPROGRAM); 18628 EXTMGR_FUNC_INIT(glUseProgram, GLUSEPROGRAM); 18629 EXTMGR_FUNC_INIT(glDeleteProgram, GLDELETEPROGRAM); 18630 EXTMGR_FUNC_INIT(glValidateProgram, GLVALIDATEPROGRAM); 18631 EXTMGR_FUNC_INIT(glUniform1f, GLUNIFORM1F); 18632 EXTMGR_FUNC_INIT(glUniform2f, GLUNIFORM2F); 18633 EXTMGR_FUNC_INIT(glUniform3f, GLUNIFORM3F); 18634 EXTMGR_FUNC_INIT(glUniform4f, GLUNIFORM4F); 18635 EXTMGR_FUNC_INIT(glUniform1i, GLUNIFORM1I); 18636 EXTMGR_FUNC_INIT(glUniform2i, GLUNIFORM2I); 18637 EXTMGR_FUNC_INIT(glUniform3i, GLUNIFORM3I); 18638 EXTMGR_FUNC_INIT(glUniform4i, GLUNIFORM4I); 18639 EXTMGR_FUNC_INIT(glUniform1fv, GLUNIFORM1FV); 18640 EXTMGR_FUNC_INIT(glUniform2fv, GLUNIFORM2FV); 18641 EXTMGR_FUNC_INIT(glUniform3fv, GLUNIFORM3FV); 18642 EXTMGR_FUNC_INIT(glUniform4fv, GLUNIFORM4FV); 18643 EXTMGR_FUNC_INIT(glUniform1iv, GLUNIFORM1IV); 18644 EXTMGR_FUNC_INIT(glUniform2iv, GLUNIFORM2IV); 18645 EXTMGR_FUNC_INIT(glUniform3iv, GLUNIFORM3IV); 18646 EXTMGR_FUNC_INIT(glUniform4iv, GLUNIFORM4IV); 18647 EXTMGR_FUNC_INIT(glUniformMatrix2fv, GLUNIFORMMATRIX2FV); 18648 EXTMGR_FUNC_INIT(glUniformMatrix3fv, GLUNIFORMMATRIX3FV); 18649 EXTMGR_FUNC_INIT(glUniformMatrix4fv, GLUNIFORMMATRIX4FV); 18650 EXTMGR_FUNC_INIT(glGetObjectParameterfv, GLGETOBJECTPARAMETERFV); 18651 EXTMGR_FUNC_INIT(glGetObjectParameteriv, GLGETOBJECTPARAMETERIV); 18652 EXTMGR_FUNC_INIT(glGetInfoLog, GLGETINFOLOG); 18653 EXTMGR_FUNC_INIT(glGetAttachedObjects, GLGETATTACHEDOBJECTS); 18654 EXTMGR_FUNC_INIT(glGetUniformLocation, GLGETUNIFORMLOCATION); 18655 EXTMGR_FUNC_INIT(glGetActiveUniform, GLGETACTIVEUNIFORM); 18656 EXTMGR_FUNC_INIT(glGetUniformfv, GLGETUNIFORMFV); 18657 EXTMGR_FUNC_INIT(glGetUniformiv, GLGETUNIFORMIV); 18658 EXTMGR_FUNC_INIT(glGetShaderSource, GLGETSHADERSOURCE); 18659 EXTMGR_FUNC_INIT(glVertexAttrib1s, GLVERTEXATTRIB1S); 18660 EXTMGR_FUNC_INIT(glVertexAttrib1f, GLVERTEXATTRIB1F); 18661 EXTMGR_FUNC_INIT(glVertexAttrib1d, GLVERTEXATTRIB1D); 18662 EXTMGR_FUNC_INIT(glVertexAttrib2s, GLVERTEXATTRIB2S); 18663 EXTMGR_FUNC_INIT(glVertexAttrib2f, GLVERTEXATTRIB2F); 18664 EXTMGR_FUNC_INIT(glVertexAttrib2d, GLVERTEXATTRIB2D); 18665 EXTMGR_FUNC_INIT(glVertexAttrib3s, GLVERTEXATTRIB3S); 18666 EXTMGR_FUNC_INIT(glVertexAttrib3f, GLVERTEXATTRIB3F); 18667 EXTMGR_FUNC_INIT(glVertexAttrib3d, GLVERTEXATTRIB3D); 18668 EXTMGR_FUNC_INIT(glVertexAttrib4s, GLVERTEXATTRIB4S); 18669 EXTMGR_FUNC_INIT(glVertexAttrib4f, GLVERTEXATTRIB4F); 18670 EXTMGR_FUNC_INIT(glVertexAttrib4d, GLVERTEXATTRIB4D); 18671 EXTMGR_FUNC_INIT(glVertexAttrib4Nub, GLVERTEXATTRIB4NUB); 18672 EXTMGR_FUNC_INIT(glVertexAttrib1sv, GLVERTEXATTRIB1SV); 18673 EXTMGR_FUNC_INIT(glVertexAttrib1fv, GLVERTEXATTRIB1FV); 18674 EXTMGR_FUNC_INIT(glVertexAttrib1dv, GLVERTEXATTRIB1DV); 18675 EXTMGR_FUNC_INIT(glVertexAttrib2sv, GLVERTEXATTRIB2SV); 18676 EXTMGR_FUNC_INIT(glVertexAttrib2fv, GLVERTEXATTRIB2FV); 18677 EXTMGR_FUNC_INIT(glVertexAttrib2dv, GLVERTEXATTRIB2DV); 18678 EXTMGR_FUNC_INIT(glVertexAttrib3sv, GLVERTEXATTRIB3SV); 18679 EXTMGR_FUNC_INIT(glVertexAttrib3fv, GLVERTEXATTRIB3FV); 18680 EXTMGR_FUNC_INIT(glVertexAttrib3dv, GLVERTEXATTRIB3DV); 18681 EXTMGR_FUNC_INIT(glVertexAttrib4bv, GLVERTEXATTRIB4BV); 18682 EXTMGR_FUNC_INIT(glVertexAttrib4sv, GLVERTEXATTRIB4SV); 18683 EXTMGR_FUNC_INIT(glVertexAttrib4iv, GLVERTEXATTRIB4IV); 18684 EXTMGR_FUNC_INIT(glVertexAttrib4ubv, GLVERTEXATTRIB4UBV); 18685 EXTMGR_FUNC_INIT(glVertexAttrib4usv, GLVERTEXATTRIB4USV); 18686 EXTMGR_FUNC_INIT(glVertexAttrib4uiv, GLVERTEXATTRIB4UIV); 18687 EXTMGR_FUNC_INIT(glVertexAttrib4fv, GLVERTEXATTRIB4FV); 18688 EXTMGR_FUNC_INIT(glVertexAttrib4dv, GLVERTEXATTRIB4DV); 18689 EXTMGR_FUNC_INIT(glVertexAttrib4Nbv, GLVERTEXATTRIB4NBV); 18690 EXTMGR_FUNC_INIT(glVertexAttrib4Nsv, GLVERTEXATTRIB4NSV); 18691 EXTMGR_FUNC_INIT(glVertexAttrib4Niv, GLVERTEXATTRIB4NIV); 18692 EXTMGR_FUNC_INIT(glVertexAttrib4Nubv, GLVERTEXATTRIB4NUBV); 18693 EXTMGR_FUNC_INIT(glVertexAttrib4Nusv, GLVERTEXATTRIB4NUSV); 18694 EXTMGR_FUNC_INIT(glVertexAttrib4Nuiv, GLVERTEXATTRIB4NUIV); 18695 EXTMGR_FUNC_INIT(glVertexAttribPointer, GLVERTEXATTRIBPOINTER); 18696 EXTMGR_FUNC_INIT(glEnableVertexAttribArray, GLENABLEVERTEXATTRIBARRAY); 18697 EXTMGR_FUNC_INIT(glDisableVertexAttribArray, GLDISABLEVERTEXATTRIBARRAY); 18698 EXTMGR_FUNC_INIT(glBindAttribLocation, GLBINDATTRIBLOCATION); 18699 EXTMGR_FUNC_INIT(glGetActiveAttrib, GLGETACTIVEATTRIB); 18700 EXTMGR_FUNC_INIT(glGetAttribLocation, GLGETATTRIBLOCATION); 18701 EXTMGR_FUNC_INIT(glGetVertexAttribPointerv, GLGETVERTEXATTRIBPOINTERV); 18702 EXTMGR_FUNC_INIT(glBlendEquationSeparate, GLBLENDEQUATIONSEPARATE); 18703 EXTMGR_FUNC_INIT(glStencilFuncSeparate, GLSTENCILFUNCSEPARATE); 18704 EXTMGR_FUNC_INIT(glStencilOpSeparate, GLSTENCILOPSEPARATE); 18705 18706 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_0) 18707 } 18708 else 18709 { 18710 Report (msgExtNotFound, "GL", ext); 18711 } 18712 } 18713 18715 void InitGL_version_2_1 () 18716 { 18717 if (tested_CS_GL_version_2_1) return; 18718 if (!extstrGL) return; 18719 tested_CS_GL_version_2_1 = true; 18720 const char* ext = "GL_version_2_1"; 18721 InitGL_version_2_0(); 18722 if (!CS_GL_version_2_0) 18723 { 18724 Report (msgDependencyNotFound, "GL", ext, "GL_version_2_0"); 18725 return; 18726 } 18727 char cfgkey[26 + 14 + 1]; 18728 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18729 18730 CS_GL_version_2_1 = true; 18731 18732 bool allclear, funcTest; 18733 (void)funcTest; // shut up "variable unused" warnings 18734 bool init = CS_GL_version_2_1; 18735 allclear = true; 18736 if (init) // Don't check the functions if ext isn't reported anyway 18737 { 18738 EXTMGR_FUNC_INIT(glUniformMatrix2x3fv, GLUNIFORMMATRIX2X3FV); 18739 EXTMGR_FUNC_INIT(glUniformMatrix3x2fv, GLUNIFORMMATRIX3X2FV); 18740 EXTMGR_FUNC_INIT(glUniformMatrix2x4fv, GLUNIFORMMATRIX2X4FV); 18741 EXTMGR_FUNC_INIT(glUniformMatrix4x2fv, GLUNIFORMMATRIX4X2FV); 18742 EXTMGR_FUNC_INIT(glUniformMatrix3x4fv, GLUNIFORMMATRIX3X4FV); 18743 EXTMGR_FUNC_INIT(glUniformMatrix4x3fv, GLUNIFORMMATRIX4X3FV); 18744 18745 EXTMGR_REPORT_INIT_RESULT("GL", GL_version_2_1) 18746 } 18747 else 18748 { 18749 Report (msgExtNotFound, "GL", ext); 18750 } 18751 } 18752 18755 void InitGL_ARB_imaging () 18756 { 18757 if (tested_CS_GL_ARB_imaging) return; 18758 if (!extstrGL) return; 18759 tested_CS_GL_ARB_imaging = true; 18760 const char* ext = "GL_ARB_imaging"; 18761 18762 char cfgkey[26 + 14 + 1]; 18763 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18764 18765 CS_GL_ARB_imaging = CheckExtension (extstrGL, ext); 18766 18767 bool allclear, funcTest; 18768 (void)funcTest; // shut up "variable unused" warnings 18769 bool init = CS_GL_ARB_imaging; 18770 allclear = true; 18771 if (init) // Don't check the functions if ext isn't reported anyway 18772 { 18773 EXTMGR_FUNC_INIT(glColorTable, GLCOLORTABLE); 18774 EXTMGR_FUNC_INIT(glColorTableParameterfv, GLCOLORTABLEPARAMETERFV); 18775 EXTMGR_FUNC_INIT(glColorTableParameteriv, GLCOLORTABLEPARAMETERIV); 18776 EXTMGR_FUNC_INIT(glCopyColorTable, GLCOPYCOLORTABLE); 18777 EXTMGR_FUNC_INIT(glGetColorTable, GLGETCOLORTABLE); 18778 EXTMGR_FUNC_INIT(glGetColorTableParameterfv, GLGETCOLORTABLEPARAMETERFV); 18779 EXTMGR_FUNC_INIT(glGetColorTableParameteriv, GLGETCOLORTABLEPARAMETERIV); 18780 EXTMGR_FUNC_INIT(glColorSubTable, GLCOLORSUBTABLE); 18781 EXTMGR_FUNC_INIT(glCopyColorSubTable, GLCOPYCOLORSUBTABLE); 18782 EXTMGR_FUNC_INIT(glConvolutionFilter1D, GLCONVOLUTIONFILTER1D); 18783 EXTMGR_FUNC_INIT(glConvolutionFilter2D, GLCONVOLUTIONFILTER2D); 18784 EXTMGR_FUNC_INIT(glConvolutionParameterf, GLCONVOLUTIONPARAMETERF); 18785 EXTMGR_FUNC_INIT(glConvolutionParameterfv, GLCONVOLUTIONPARAMETERFV); 18786 EXTMGR_FUNC_INIT(glConvolutionParameteri, GLCONVOLUTIONPARAMETERI); 18787 EXTMGR_FUNC_INIT(glConvolutionParameteriv, GLCONVOLUTIONPARAMETERIV); 18788 EXTMGR_FUNC_INIT(glCopyConvolutionFilter1D, GLCOPYCONVOLUTIONFILTER1D); 18789 EXTMGR_FUNC_INIT(glCopyConvolutionFilter2D, GLCOPYCONVOLUTIONFILTER2D); 18790 EXTMGR_FUNC_INIT(glGetConvolutionFilter, GLGETCONVOLUTIONFILTER); 18791 EXTMGR_FUNC_INIT(glGetConvolutionParameterfv, GLGETCONVOLUTIONPARAMETERFV); 18792 EXTMGR_FUNC_INIT(glGetConvolutionParameteriv, GLGETCONVOLUTIONPARAMETERIV); 18793 EXTMGR_FUNC_INIT(glGetSeparableFilter, GLGETSEPARABLEFILTER); 18794 EXTMGR_FUNC_INIT(glSeparableFilter2D, GLSEPARABLEFILTER2D); 18795 EXTMGR_FUNC_INIT(glGetHistogram, GLGETHISTOGRAM); 18796 EXTMGR_FUNC_INIT(glGetHistogramParameterfv, GLGETHISTOGRAMPARAMETERFV); 18797 EXTMGR_FUNC_INIT(glGetHistogramParameteriv, GLGETHISTOGRAMPARAMETERIV); 18798 EXTMGR_FUNC_INIT(glGetMinmax, GLGETMINMAX); 18799 EXTMGR_FUNC_INIT(glGetMinmaxParameterfv, GLGETMINMAXPARAMETERFV); 18800 EXTMGR_FUNC_INIT(glGetMinmaxParameteriv, GLGETMINMAXPARAMETERIV); 18801 EXTMGR_FUNC_INIT(glHistogram, GLHISTOGRAM); 18802 EXTMGR_FUNC_INIT(glMinmax, GLMINMAX); 18803 EXTMGR_FUNC_INIT(glResetHistogram, GLRESETHISTOGRAM); 18804 EXTMGR_FUNC_INIT(glResetMinmax, GLRESETMINMAX); 18805 EXTMGR_FUNC_INIT(glBlendColor, GLBLENDCOLOR); 18806 EXTMGR_FUNC_INIT(glBlendEquation, GLBLENDEQUATION); 18807 18808 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_imaging) 18809 } 18810 else 18811 { 18812 Report (msgExtNotFound, "GL", ext); 18813 } 18814 } 18815 18818 void InitGL_ARB_multitexture () 18819 { 18820 if (tested_CS_GL_ARB_multitexture) return; 18821 if (!extstrGL) return; 18822 tested_CS_GL_ARB_multitexture = true; 18823 const char* ext = "GL_ARB_multitexture"; 18824 18825 char cfgkey[26 + 19 + 1]; 18826 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18827 18828 CS_GL_ARB_multitexture = CheckExtension (extstrGL, ext); 18829 18830 bool allclear, funcTest; 18831 (void)funcTest; // shut up "variable unused" warnings 18832 bool init = CS_GL_ARB_multitexture; 18833 allclear = true; 18834 if (init) // Don't check the functions if ext isn't reported anyway 18835 { 18836 EXTMGR_FUNC_INIT(glActiveTextureARB, GLACTIVETEXTUREARB); 18837 EXTMGR_FUNC_INIT(glClientActiveTextureARB, GLCLIENTACTIVETEXTUREARB); 18838 EXTMGR_FUNC_INIT(glMultiTexCoord1dARB, GLMULTITEXCOORD1DARB); 18839 EXTMGR_FUNC_INIT(glMultiTexCoord1dvARB, GLMULTITEXCOORD1DVARB); 18840 EXTMGR_FUNC_INIT(glMultiTexCoord1fARB, GLMULTITEXCOORD1FARB); 18841 EXTMGR_FUNC_INIT(glMultiTexCoord1fvARB, GLMULTITEXCOORD1FVARB); 18842 EXTMGR_FUNC_INIT(glMultiTexCoord1iARB, GLMULTITEXCOORD1IARB); 18843 EXTMGR_FUNC_INIT(glMultiTexCoord1ivARB, GLMULTITEXCOORD1IVARB); 18844 EXTMGR_FUNC_INIT(glMultiTexCoord1sARB, GLMULTITEXCOORD1SARB); 18845 EXTMGR_FUNC_INIT(glMultiTexCoord1svARB, GLMULTITEXCOORD1SVARB); 18846 EXTMGR_FUNC_INIT(glMultiTexCoord2dARB, GLMULTITEXCOORD2DARB); 18847 EXTMGR_FUNC_INIT(glMultiTexCoord2dvARB, GLMULTITEXCOORD2DVARB); 18848 EXTMGR_FUNC_INIT(glMultiTexCoord2fARB, GLMULTITEXCOORD2FARB); 18849 EXTMGR_FUNC_INIT(glMultiTexCoord2fvARB, GLMULTITEXCOORD2FVARB); 18850 EXTMGR_FUNC_INIT(glMultiTexCoord2iARB, GLMULTITEXCOORD2IARB); 18851 EXTMGR_FUNC_INIT(glMultiTexCoord2ivARB, GLMULTITEXCOORD2IVARB); 18852 EXTMGR_FUNC_INIT(glMultiTexCoord2sARB, GLMULTITEXCOORD2SARB); 18853 EXTMGR_FUNC_INIT(glMultiTexCoord2svARB, GLMULTITEXCOORD2SVARB); 18854 EXTMGR_FUNC_INIT(glMultiTexCoord3dARB, GLMULTITEXCOORD3DARB); 18855 EXTMGR_FUNC_INIT(glMultiTexCoord3dvARB, GLMULTITEXCOORD3DVARB); 18856 EXTMGR_FUNC_INIT(glMultiTexCoord3fARB, GLMULTITEXCOORD3FARB); 18857 EXTMGR_FUNC_INIT(glMultiTexCoord3fvARB, GLMULTITEXCOORD3FVARB); 18858 EXTMGR_FUNC_INIT(glMultiTexCoord3iARB, GLMULTITEXCOORD3IARB); 18859 EXTMGR_FUNC_INIT(glMultiTexCoord3ivARB, GLMULTITEXCOORD3IVARB); 18860 EXTMGR_FUNC_INIT(glMultiTexCoord3sARB, GLMULTITEXCOORD3SARB); 18861 EXTMGR_FUNC_INIT(glMultiTexCoord3svARB, GLMULTITEXCOORD3SVARB); 18862 EXTMGR_FUNC_INIT(glMultiTexCoord4dARB, GLMULTITEXCOORD4DARB); 18863 EXTMGR_FUNC_INIT(glMultiTexCoord4dvARB, GLMULTITEXCOORD4DVARB); 18864 EXTMGR_FUNC_INIT(glMultiTexCoord4fARB, GLMULTITEXCOORD4FARB); 18865 EXTMGR_FUNC_INIT(glMultiTexCoord4fvARB, GLMULTITEXCOORD4FVARB); 18866 EXTMGR_FUNC_INIT(glMultiTexCoord4iARB, GLMULTITEXCOORD4IARB); 18867 EXTMGR_FUNC_INIT(glMultiTexCoord4ivARB, GLMULTITEXCOORD4IVARB); 18868 EXTMGR_FUNC_INIT(glMultiTexCoord4sARB, GLMULTITEXCOORD4SARB); 18869 EXTMGR_FUNC_INIT(glMultiTexCoord4svARB, GLMULTITEXCOORD4SVARB); 18870 18871 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multitexture) 18872 } 18873 else 18874 { 18875 Report (msgExtNotFound, "GL", ext); 18876 } 18877 } 18878 18881 void InitGL_ARB_transpose_matrix () 18882 { 18883 if (tested_CS_GL_ARB_transpose_matrix) return; 18884 if (!extstrGL) return; 18885 tested_CS_GL_ARB_transpose_matrix = true; 18886 const char* ext = "GL_ARB_transpose_matrix"; 18887 18888 char cfgkey[26 + 23 + 1]; 18889 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18890 18891 CS_GL_ARB_transpose_matrix = CheckExtension (extstrGL, ext); 18892 18893 bool allclear, funcTest; 18894 (void)funcTest; // shut up "variable unused" warnings 18895 bool init = CS_GL_ARB_transpose_matrix; 18896 allclear = true; 18897 if (init) // Don't check the functions if ext isn't reported anyway 18898 { 18899 EXTMGR_FUNC_INIT(glLoadTransposeMatrixfARB, GLLOADTRANSPOSEMATRIXFARB); 18900 EXTMGR_FUNC_INIT(glLoadTransposeMatrixdARB, GLLOADTRANSPOSEMATRIXDARB); 18901 EXTMGR_FUNC_INIT(glMultTransposeMatrixfARB, GLMULTTRANSPOSEMATRIXFARB); 18902 EXTMGR_FUNC_INIT(glMultTransposeMatrixdARB, GLMULTTRANSPOSEMATRIXDARB); 18903 18904 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_transpose_matrix) 18905 } 18906 else 18907 { 18908 Report (msgExtNotFound, "GL", ext); 18909 } 18910 } 18911 18914 void InitGL_ARB_multisample () 18915 { 18916 if (tested_CS_GL_ARB_multisample) return; 18917 if (!extstrGL) return; 18918 tested_CS_GL_ARB_multisample = true; 18919 const char* ext = "GL_ARB_multisample"; 18920 18921 char cfgkey[26 + 18 + 1]; 18922 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18923 18924 CS_GL_ARB_multisample = CheckExtension (extstrGL, ext); 18925 18926 bool allclear, funcTest; 18927 (void)funcTest; // shut up "variable unused" warnings 18928 bool init = CS_GL_ARB_multisample; 18929 allclear = true; 18930 if (init) // Don't check the functions if ext isn't reported anyway 18931 { 18932 EXTMGR_FUNC_INIT(glSampleCoverageARB, GLSAMPLECOVERAGEARB); 18933 18934 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_multisample) 18935 } 18936 else 18937 { 18938 Report (msgExtNotFound, "GL", ext); 18939 } 18940 } 18941 18942 #if defined(CS_OPENGL_GLX) && defined (CS_GLEXTMANAGER_USE_GLX) 18943 18945 void InitGLX_ARB_multisample (Display* glxDisplay, int glxScreen) 18946 { 18947 if (tested_CS_GLX_ARB_multisample) return; 18948 tested_CS_GLX_ARB_multisample = true; 18949 const char* ext = "GLX_ARB_multisample"; 18950 char cfgkey[26 + 19 + 1]; 18951 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18952 18953 (void)glxDisplay; // avoid `unused variable' warning. 18954 (void)glxScreen; 18955 SetupGLXextStr (glxDisplay, glxScreen); 18956 if (!extstrGLX) return; 18957 CS_GLX_ARB_multisample = CheckExtension (extstrGLX, ext); 18958 18959 bool allclear, funcTest; 18960 (void)funcTest; // avoid `unused variable' warning. 18961 bool init = CS_GLX_ARB_multisample; 18962 allclear = true; 18963 if (init) 18964 { 18965 18966 EXTMGR_REPORT_INIT_RESULT("GLX", GLX_ARB_multisample) 18967 CS_GLX_ARB_multisample &= allclear; 18968 } 18969 else 18970 { 18971 Report (msgExtNotFound, "GLX", ext); 18972 } 18973 } 18974 #endif 18975 18978 void InitGL_ARB_texture_env_add () 18979 { 18980 if (tested_CS_GL_ARB_texture_env_add) return; 18981 if (!extstrGL) return; 18982 tested_CS_GL_ARB_texture_env_add = true; 18983 const char* ext = "GL_ARB_texture_env_add"; 18984 18985 char cfgkey[26 + 22 + 1]; 18986 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 18987 18988 CS_GL_ARB_texture_env_add = CheckExtension (extstrGL, ext); 18989 18990 bool allclear, funcTest; 18991 (void)funcTest; // shut up "variable unused" warnings 18992 bool init = CS_GL_ARB_texture_env_add; 18993 allclear = true; 18994 if (init) // Don't check the functions if ext isn't reported anyway 18995 { 18996 18997 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_add) 18998 } 18999 else 19000 { 19001 Report (msgExtNotFound, "GL", ext); 19002 } 19003 } 19004 19005 #ifdef _WIN32 19006 19008 void InitWGL_ARB_extensions_string (HDC hDC) 19009 { 19010 if (tested_CS_WGL_ARB_extensions_string) return; 19011 tested_CS_WGL_ARB_extensions_string = true; 19012 const char* ext = "WGL_ARB_extensions_string"; 19013 char cfgkey[26 + 25 + 1]; 19014 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19015 19016 (void)hDC; // avoid `unused variable' warning. 19017 CS_WGL_ARB_extensions_string = true; 19018 19019 bool allclear, funcTest; 19020 (void)funcTest; // avoid `unused variable' warning. 19021 bool init = CS_WGL_ARB_extensions_string; 19022 allclear = true; 19023 if (init) 19024 { 19025 EXTMGR_FUNC_INIT(wglGetExtensionsStringARB, WGLGETEXTENSIONSSTRINGARB); 19026 19027 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_extensions_string) 19028 CS_WGL_ARB_extensions_string &= allclear; 19029 } 19030 else 19031 { 19032 Report (msgExtNotFound, "WGL", ext); 19033 } 19034 } 19035 #endif 19036 19037 #ifdef _WIN32 19038 19040 void InitWGL_ARB_buffer_region (HDC hDC) 19041 { 19042 if (tested_CS_WGL_ARB_buffer_region) return; 19043 tested_CS_WGL_ARB_buffer_region = true; 19044 const char* ext = "WGL_ARB_buffer_region"; 19045 char cfgkey[26 + 21 + 1]; 19046 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19047 19048 (void)hDC; // avoid `unused variable' warning. 19049 SetupWGLextStr (hDC); 19050 if (!extstrWGL) return; 19051 CS_WGL_ARB_buffer_region = CheckExtension (extstrWGL, ext); 19052 19053 bool allclear, funcTest; 19054 (void)funcTest; // avoid `unused variable' warning. 19055 bool init = CS_WGL_ARB_buffer_region; 19056 allclear = true; 19057 if (init) 19058 { 19059 EXTMGR_FUNC_INIT(wglCreateBufferRegionARB, WGLCREATEBUFFERREGIONARB); 19060 EXTMGR_FUNC_INIT(wglDeleteBufferRegionARB, WGLDELETEBUFFERREGIONARB); 19061 EXTMGR_FUNC_INIT(wglSaveBufferRegionARB, WGLSAVEBUFFERREGIONARB); 19062 EXTMGR_FUNC_INIT(wglRestoreBufferRegionARB, WGLRESTOREBUFFERREGIONARB); 19063 19064 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_buffer_region) 19065 CS_WGL_ARB_buffer_region &= allclear; 19066 } 19067 else 19068 { 19069 Report (msgExtNotFound, "WGL", ext); 19070 } 19071 } 19072 #endif 19073 19076 void InitGL_ARB_texture_cube_map () 19077 { 19078 if (tested_CS_GL_ARB_texture_cube_map) return; 19079 if (!extstrGL) return; 19080 tested_CS_GL_ARB_texture_cube_map = true; 19081 const char* ext = "GL_ARB_texture_cube_map"; 19082 19083 char cfgkey[26 + 23 + 1]; 19084 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19085 19086 CS_GL_ARB_texture_cube_map = CheckExtension (extstrGL, ext); 19087 19088 bool allclear, funcTest; 19089 (void)funcTest; // shut up "variable unused" warnings 19090 bool init = CS_GL_ARB_texture_cube_map; 19091 allclear = true; 19092 if (init) // Don't check the functions if ext isn't reported anyway 19093 { 19094 19095 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_cube_map) 19096 } 19097 else 19098 { 19099 Report (msgExtNotFound, "GL", ext); 19100 } 19101 } 19102 19105 void InitGL_ARB_depth_texture () 19106 { 19107 if (tested_CS_GL_ARB_depth_texture) return; 19108 if (!extstrGL) return; 19109 tested_CS_GL_ARB_depth_texture = true; 19110 const char* ext = "GL_ARB_depth_texture"; 19111 19112 char cfgkey[26 + 20 + 1]; 19113 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19114 19115 CS_GL_ARB_depth_texture = CheckExtension (extstrGL, ext); 19116 19117 bool allclear, funcTest; 19118 (void)funcTest; // shut up "variable unused" warnings 19119 bool init = CS_GL_ARB_depth_texture; 19120 allclear = true; 19121 if (init) // Don't check the functions if ext isn't reported anyway 19122 { 19123 19124 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_texture) 19125 } 19126 else 19127 { 19128 Report (msgExtNotFound, "GL", ext); 19129 } 19130 } 19131 19134 void InitGL_ARB_point_parameters () 19135 { 19136 if (tested_CS_GL_ARB_point_parameters) return; 19137 if (!extstrGL) return; 19138 tested_CS_GL_ARB_point_parameters = true; 19139 const char* ext = "GL_ARB_point_parameters"; 19140 19141 char cfgkey[26 + 23 + 1]; 19142 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19143 19144 CS_GL_ARB_point_parameters = CheckExtension (extstrGL, ext); 19145 19146 bool allclear, funcTest; 19147 (void)funcTest; // shut up "variable unused" warnings 19148 bool init = CS_GL_ARB_point_parameters; 19149 allclear = true; 19150 if (init) // Don't check the functions if ext isn't reported anyway 19151 { 19152 EXTMGR_FUNC_INIT(glPointParameterfARB, GLPOINTPARAMETERFARB); 19153 EXTMGR_FUNC_INIT(glPointParameterfvARB, GLPOINTPARAMETERFVARB); 19154 19155 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_parameters) 19156 } 19157 else 19158 { 19159 Report (msgExtNotFound, "GL", ext); 19160 } 19161 } 19162 19165 void InitGL_ARB_shadow () 19166 { 19167 if (tested_CS_GL_ARB_shadow) return; 19168 if (!extstrGL) return; 19169 tested_CS_GL_ARB_shadow = true; 19170 const char* ext = "GL_ARB_shadow"; 19171 19172 char cfgkey[26 + 13 + 1]; 19173 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19174 19175 CS_GL_ARB_shadow = CheckExtension (extstrGL, ext); 19176 19177 bool allclear, funcTest; 19178 (void)funcTest; // shut up "variable unused" warnings 19179 bool init = CS_GL_ARB_shadow; 19180 allclear = true; 19181 if (init) // Don't check the functions if ext isn't reported anyway 19182 { 19183 19184 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow) 19185 } 19186 else 19187 { 19188 Report (msgExtNotFound, "GL", ext); 19189 } 19190 } 19191 19194 void InitGL_ARB_shadow_ambient () 19195 { 19196 if (tested_CS_GL_ARB_shadow_ambient) return; 19197 if (!extstrGL) return; 19198 tested_CS_GL_ARB_shadow_ambient = true; 19199 const char* ext = "GL_ARB_shadow_ambient"; 19200 19201 char cfgkey[26 + 21 + 1]; 19202 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19203 19204 CS_GL_ARB_shadow_ambient = CheckExtension (extstrGL, ext); 19205 19206 bool allclear, funcTest; 19207 (void)funcTest; // shut up "variable unused" warnings 19208 bool init = CS_GL_ARB_shadow_ambient; 19209 allclear = true; 19210 if (init) // Don't check the functions if ext isn't reported anyway 19211 { 19212 19213 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shadow_ambient) 19214 } 19215 else 19216 { 19217 Report (msgExtNotFound, "GL", ext); 19218 } 19219 } 19220 19223 void InitGL_ARB_texture_border_clamp () 19224 { 19225 if (tested_CS_GL_ARB_texture_border_clamp) return; 19226 if (!extstrGL) return; 19227 tested_CS_GL_ARB_texture_border_clamp = true; 19228 const char* ext = "GL_ARB_texture_border_clamp"; 19229 19230 char cfgkey[26 + 27 + 1]; 19231 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19232 19233 CS_GL_ARB_texture_border_clamp = CheckExtension (extstrGL, ext); 19234 19235 bool allclear, funcTest; 19236 (void)funcTest; // shut up "variable unused" warnings 19237 bool init = CS_GL_ARB_texture_border_clamp; 19238 allclear = true; 19239 if (init) // Don't check the functions if ext isn't reported anyway 19240 { 19241 19242 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_border_clamp) 19243 } 19244 else 19245 { 19246 Report (msgExtNotFound, "GL", ext); 19247 } 19248 } 19249 19252 void InitGL_ARB_texture_compression () 19253 { 19254 if (tested_CS_GL_ARB_texture_compression) return; 19255 if (!extstrGL) return; 19256 tested_CS_GL_ARB_texture_compression = true; 19257 const char* ext = "GL_ARB_texture_compression"; 19258 19259 char cfgkey[26 + 26 + 1]; 19260 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19261 19262 CS_GL_ARB_texture_compression = CheckExtension (extstrGL, ext); 19263 19264 bool allclear, funcTest; 19265 (void)funcTest; // shut up "variable unused" warnings 19266 bool init = CS_GL_ARB_texture_compression; 19267 allclear = true; 19268 if (init) // Don't check the functions if ext isn't reported anyway 19269 { 19270 EXTMGR_FUNC_INIT(glCompressedTexImage3DARB, GLCOMPRESSEDTEXIMAGE3DARB); 19271 EXTMGR_FUNC_INIT(glCompressedTexImage2DARB, GLCOMPRESSEDTEXIMAGE2DARB); 19272 EXTMGR_FUNC_INIT(glCompressedTexImage1DARB, GLCOMPRESSEDTEXIMAGE1DARB); 19273 EXTMGR_FUNC_INIT(glCompressedTexSubImage3DARB, GLCOMPRESSEDTEXSUBIMAGE3DARB); 19274 EXTMGR_FUNC_INIT(glCompressedTexSubImage2DARB, GLCOMPRESSEDTEXSUBIMAGE2DARB); 19275 EXTMGR_FUNC_INIT(glCompressedTexSubImage1DARB, GLCOMPRESSEDTEXSUBIMAGE1DARB); 19276 EXTMGR_FUNC_INIT(glGetCompressedTexImageARB, GLGETCOMPRESSEDTEXIMAGEARB); 19277 19278 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression) 19279 } 19280 else 19281 { 19282 Report (msgExtNotFound, "GL", ext); 19283 } 19284 } 19285 19288 void InitGL_ARB_texture_env_combine () 19289 { 19290 if (tested_CS_GL_ARB_texture_env_combine) return; 19291 if (!extstrGL) return; 19292 tested_CS_GL_ARB_texture_env_combine = true; 19293 const char* ext = "GL_ARB_texture_env_combine"; 19294 19295 char cfgkey[26 + 26 + 1]; 19296 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19297 19298 CS_GL_ARB_texture_env_combine = CheckExtension (extstrGL, ext); 19299 19300 bool allclear, funcTest; 19301 (void)funcTest; // shut up "variable unused" warnings 19302 bool init = CS_GL_ARB_texture_env_combine; 19303 allclear = true; 19304 if (init) // Don't check the functions if ext isn't reported anyway 19305 { 19306 19307 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_combine) 19308 } 19309 else 19310 { 19311 Report (msgExtNotFound, "GL", ext); 19312 } 19313 } 19314 19317 void InitGL_ARB_texture_env_crossbar () 19318 { 19319 if (tested_CS_GL_ARB_texture_env_crossbar) return; 19320 if (!extstrGL) return; 19321 tested_CS_GL_ARB_texture_env_crossbar = true; 19322 const char* ext = "GL_ARB_texture_env_crossbar"; 19323 19324 char cfgkey[26 + 27 + 1]; 19325 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19326 19327 CS_GL_ARB_texture_env_crossbar = CheckExtension (extstrGL, ext); 19328 19329 bool allclear, funcTest; 19330 (void)funcTest; // shut up "variable unused" warnings 19331 bool init = CS_GL_ARB_texture_env_crossbar; 19332 allclear = true; 19333 if (init) // Don't check the functions if ext isn't reported anyway 19334 { 19335 19336 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_crossbar) 19337 } 19338 else 19339 { 19340 Report (msgExtNotFound, "GL", ext); 19341 } 19342 } 19343 19346 void InitGL_ARB_texture_env_dot3 () 19347 { 19348 if (tested_CS_GL_ARB_texture_env_dot3) return; 19349 if (!extstrGL) return; 19350 tested_CS_GL_ARB_texture_env_dot3 = true; 19351 const char* ext = "GL_ARB_texture_env_dot3"; 19352 19353 char cfgkey[26 + 23 + 1]; 19354 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19355 19356 CS_GL_ARB_texture_env_dot3 = CheckExtension (extstrGL, ext); 19357 19358 bool allclear, funcTest; 19359 (void)funcTest; // shut up "variable unused" warnings 19360 bool init = CS_GL_ARB_texture_env_dot3; 19361 allclear = true; 19362 if (init) // Don't check the functions if ext isn't reported anyway 19363 { 19364 19365 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_env_dot3) 19366 } 19367 else 19368 { 19369 Report (msgExtNotFound, "GL", ext); 19370 } 19371 } 19372 19375 void InitGL_ARB_texture_mirrored_repeat () 19376 { 19377 if (tested_CS_GL_ARB_texture_mirrored_repeat) return; 19378 if (!extstrGL) return; 19379 tested_CS_GL_ARB_texture_mirrored_repeat = true; 19380 const char* ext = "GL_ARB_texture_mirrored_repeat"; 19381 19382 char cfgkey[26 + 30 + 1]; 19383 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19384 19385 CS_GL_ARB_texture_mirrored_repeat = CheckExtension (extstrGL, ext); 19386 19387 bool allclear, funcTest; 19388 (void)funcTest; // shut up "variable unused" warnings 19389 bool init = CS_GL_ARB_texture_mirrored_repeat; 19390 allclear = true; 19391 if (init) // Don't check the functions if ext isn't reported anyway 19392 { 19393 19394 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_mirrored_repeat) 19395 } 19396 else 19397 { 19398 Report (msgExtNotFound, "GL", ext); 19399 } 19400 } 19401 19404 void InitGL_ARB_vertex_blend () 19405 { 19406 if (tested_CS_GL_ARB_vertex_blend) return; 19407 if (!extstrGL) return; 19408 tested_CS_GL_ARB_vertex_blend = true; 19409 const char* ext = "GL_ARB_vertex_blend"; 19410 19411 char cfgkey[26 + 19 + 1]; 19412 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19413 19414 CS_GL_ARB_vertex_blend = CheckExtension (extstrGL, ext); 19415 19416 bool allclear, funcTest; 19417 (void)funcTest; // shut up "variable unused" warnings 19418 bool init = CS_GL_ARB_vertex_blend; 19419 allclear = true; 19420 if (init) // Don't check the functions if ext isn't reported anyway 19421 { 19422 EXTMGR_FUNC_INIT(glWeightbvARB, GLWEIGHTBVARB); 19423 EXTMGR_FUNC_INIT(glWeightsvARB, GLWEIGHTSVARB); 19424 EXTMGR_FUNC_INIT(glWeightivARB, GLWEIGHTIVARB); 19425 EXTMGR_FUNC_INIT(glWeightfvARB, GLWEIGHTFVARB); 19426 EXTMGR_FUNC_INIT(glWeightdvARB, GLWEIGHTDVARB); 19427 EXTMGR_FUNC_INIT(glWeightvARB, GLWEIGHTVARB); 19428 EXTMGR_FUNC_INIT(glWeightubvARB, GLWEIGHTUBVARB); 19429 EXTMGR_FUNC_INIT(glWeightusvARB, GLWEIGHTUSVARB); 19430 EXTMGR_FUNC_INIT(glWeightuivARB, GLWEIGHTUIVARB); 19431 EXTMGR_FUNC_INIT(glWeightPointerARB, GLWEIGHTPOINTERARB); 19432 EXTMGR_FUNC_INIT(glVertexBlendARB, GLVERTEXBLENDARB); 19433 19434 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_blend) 19435 } 19436 else 19437 { 19438 Report (msgExtNotFound, "GL", ext); 19439 } 19440 } 19441 19444 void InitGL_ARB_vertex_program () 19445 { 19446 if (tested_CS_GL_ARB_vertex_program) return; 19447 if (!extstrGL) return; 19448 tested_CS_GL_ARB_vertex_program = true; 19449 const char* ext = "GL_ARB_vertex_program"; 19450 19451 char cfgkey[26 + 21 + 1]; 19452 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19453 19454 CS_GL_ARB_vertex_program = CheckExtension (extstrGL, ext); 19455 19456 bool allclear, funcTest; 19457 (void)funcTest; // shut up "variable unused" warnings 19458 bool init = CS_GL_ARB_vertex_program; 19459 allclear = true; 19460 if (init) // Don't check the functions if ext isn't reported anyway 19461 { 19462 EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB); 19463 EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB); 19464 EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB); 19465 EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB); 19466 EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB); 19467 EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB); 19468 EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB); 19469 EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB); 19470 EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB); 19471 EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB); 19472 EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB); 19473 EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB); 19474 EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB); 19475 EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB); 19476 EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB); 19477 EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB); 19478 EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB); 19479 EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB); 19480 EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB); 19481 EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB); 19482 EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB); 19483 EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB); 19484 EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB); 19485 EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB); 19486 EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB); 19487 EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB); 19488 EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB); 19489 EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB); 19490 EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB); 19491 EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB); 19492 EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB); 19493 EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB); 19494 EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB); 19495 EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB); 19496 EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB); 19497 EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB); 19498 EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB); 19499 EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB); 19500 EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB); 19501 EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB); 19502 EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB); 19503 EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB); 19504 EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB); 19505 EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB); 19506 EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB); 19507 EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB); 19508 EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB); 19509 EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB); 19510 EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB); 19511 EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB); 19512 EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB); 19513 EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB); 19514 EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB); 19515 EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB); 19516 EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB); 19517 EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB); 19518 EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB); 19519 EXTMGR_FUNC_INIT(glGetVertexAttribdvARB, GLGETVERTEXATTRIBDVARB); 19520 EXTMGR_FUNC_INIT(glGetVertexAttribfvARB, GLGETVERTEXATTRIBFVARB); 19521 EXTMGR_FUNC_INIT(glGetVertexAttribivARB, GLGETVERTEXATTRIBIVARB); 19522 EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB); 19523 EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB); 19524 19525 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_program) 19526 } 19527 else 19528 { 19529 Report (msgExtNotFound, "GL", ext); 19530 } 19531 } 19532 19535 void InitGL_ARB_window_pos () 19536 { 19537 if (tested_CS_GL_ARB_window_pos) return; 19538 if (!extstrGL) return; 19539 tested_CS_GL_ARB_window_pos = true; 19540 const char* ext = "GL_ARB_window_pos"; 19541 19542 char cfgkey[26 + 17 + 1]; 19543 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19544 19545 CS_GL_ARB_window_pos = CheckExtension (extstrGL, ext); 19546 19547 bool allclear, funcTest; 19548 (void)funcTest; // shut up "variable unused" warnings 19549 bool init = CS_GL_ARB_window_pos; 19550 allclear = true; 19551 if (init) // Don't check the functions if ext isn't reported anyway 19552 { 19553 EXTMGR_FUNC_INIT(glWindowPos2dARB, GLWINDOWPOS2DARB); 19554 EXTMGR_FUNC_INIT(glWindowPos2fARB, GLWINDOWPOS2FARB); 19555 EXTMGR_FUNC_INIT(glWindowPos2iARB, GLWINDOWPOS2IARB); 19556 EXTMGR_FUNC_INIT(glWindowPos2sARB, GLWINDOWPOS2SARB); 19557 EXTMGR_FUNC_INIT(glWindowPos2dvARB, GLWINDOWPOS2DVARB); 19558 EXTMGR_FUNC_INIT(glWindowPos2fvARB, GLWINDOWPOS2FVARB); 19559 EXTMGR_FUNC_INIT(glWindowPos2ivARB, GLWINDOWPOS2IVARB); 19560 EXTMGR_FUNC_INIT(glWindowPos2svARB, GLWINDOWPOS2SVARB); 19561 EXTMGR_FUNC_INIT(glWindowPos3dARB, GLWINDOWPOS3DARB); 19562 EXTMGR_FUNC_INIT(glWindowPos3fARB, GLWINDOWPOS3FARB); 19563 EXTMGR_FUNC_INIT(glWindowPos3iARB, GLWINDOWPOS3IARB); 19564 EXTMGR_FUNC_INIT(glWindowPos3sARB, GLWINDOWPOS3SARB); 19565 EXTMGR_FUNC_INIT(glWindowPos3dvARB, GLWINDOWPOS3DVARB); 19566 EXTMGR_FUNC_INIT(glWindowPos3fvARB, GLWINDOWPOS3FVARB); 19567 EXTMGR_FUNC_INIT(glWindowPos3ivARB, GLWINDOWPOS3IVARB); 19568 EXTMGR_FUNC_INIT(glWindowPos3svARB, GLWINDOWPOS3SVARB); 19569 19570 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_window_pos) 19571 } 19572 else 19573 { 19574 Report (msgExtNotFound, "GL", ext); 19575 } 19576 } 19577 19580 void InitGL_EXT_422_pixels () 19581 { 19582 if (tested_CS_GL_EXT_422_pixels) return; 19583 if (!extstrGL) return; 19584 tested_CS_GL_EXT_422_pixels = true; 19585 const char* ext = "GL_EXT_422_pixels"; 19586 19587 char cfgkey[26 + 17 + 1]; 19588 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19589 19590 CS_GL_EXT_422_pixels = CheckExtension (extstrGL, ext); 19591 19592 bool allclear, funcTest; 19593 (void)funcTest; // shut up "variable unused" warnings 19594 bool init = CS_GL_EXT_422_pixels; 19595 allclear = true; 19596 if (init) // Don't check the functions if ext isn't reported anyway 19597 { 19598 19599 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_422_pixels) 19600 } 19601 else 19602 { 19603 Report (msgExtNotFound, "GL", ext); 19604 } 19605 } 19606 19609 void InitGL_EXT_abgr () 19610 { 19611 if (tested_CS_GL_EXT_abgr) return; 19612 if (!extstrGL) return; 19613 tested_CS_GL_EXT_abgr = true; 19614 const char* ext = "GL_EXT_abgr"; 19615 19616 char cfgkey[26 + 11 + 1]; 19617 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19618 19619 CS_GL_EXT_abgr = CheckExtension (extstrGL, ext); 19620 19621 bool allclear, funcTest; 19622 (void)funcTest; // shut up "variable unused" warnings 19623 bool init = CS_GL_EXT_abgr; 19624 allclear = true; 19625 if (init) // Don't check the functions if ext isn't reported anyway 19626 { 19627 19628 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_abgr) 19629 } 19630 else 19631 { 19632 Report (msgExtNotFound, "GL", ext); 19633 } 19634 } 19635 19638 void InitGL_EXT_bgra () 19639 { 19640 if (tested_CS_GL_EXT_bgra) return; 19641 if (!extstrGL) return; 19642 tested_CS_GL_EXT_bgra = true; 19643 const char* ext = "GL_EXT_bgra"; 19644 19645 char cfgkey[26 + 11 + 1]; 19646 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19647 19648 CS_GL_EXT_bgra = CheckExtension (extstrGL, ext); 19649 19650 bool allclear, funcTest; 19651 (void)funcTest; // shut up "variable unused" warnings 19652 bool init = CS_GL_EXT_bgra; 19653 allclear = true; 19654 if (init) // Don't check the functions if ext isn't reported anyway 19655 { 19656 19657 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_bgra) 19658 } 19659 else 19660 { 19661 Report (msgExtNotFound, "GL", ext); 19662 } 19663 } 19664 19667 void InitGL_EXT_blend_color () 19668 { 19669 if (tested_CS_GL_EXT_blend_color) return; 19670 if (!extstrGL) return; 19671 tested_CS_GL_EXT_blend_color = true; 19672 const char* ext = "GL_EXT_blend_color"; 19673 19674 char cfgkey[26 + 18 + 1]; 19675 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19676 19677 CS_GL_EXT_blend_color = CheckExtension (extstrGL, ext); 19678 19679 bool allclear, funcTest; 19680 (void)funcTest; // shut up "variable unused" warnings 19681 bool init = CS_GL_EXT_blend_color; 19682 allclear = true; 19683 if (init) // Don't check the functions if ext isn't reported anyway 19684 { 19685 EXTMGR_FUNC_INIT(glBlendColorEXT, GLBLENDCOLOREXT); 19686 19687 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_color) 19688 } 19689 else 19690 { 19691 Report (msgExtNotFound, "GL", ext); 19692 } 19693 } 19694 19697 void InitGL_EXT_blend_func_separate () 19698 { 19699 if (tested_CS_GL_EXT_blend_func_separate) return; 19700 if (!extstrGL) return; 19701 tested_CS_GL_EXT_blend_func_separate = true; 19702 const char* ext = "GL_EXT_blend_func_separate"; 19703 19704 char cfgkey[26 + 26 + 1]; 19705 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19706 19707 CS_GL_EXT_blend_func_separate = CheckExtension (extstrGL, ext); 19708 19709 bool allclear, funcTest; 19710 (void)funcTest; // shut up "variable unused" warnings 19711 bool init = CS_GL_EXT_blend_func_separate; 19712 allclear = true; 19713 if (init) // Don't check the functions if ext isn't reported anyway 19714 { 19715 EXTMGR_FUNC_INIT(glBlendFuncSeparateEXT, GLBLENDFUNCSEPARATEEXT); 19716 19717 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_func_separate) 19718 } 19719 else 19720 { 19721 Report (msgExtNotFound, "GL", ext); 19722 } 19723 } 19724 19727 void InitGL_EXT_blend_logic_op () 19728 { 19729 if (tested_CS_GL_EXT_blend_logic_op) return; 19730 if (!extstrGL) return; 19731 tested_CS_GL_EXT_blend_logic_op = true; 19732 const char* ext = "GL_EXT_blend_logic_op"; 19733 19734 char cfgkey[26 + 21 + 1]; 19735 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19736 19737 CS_GL_EXT_blend_logic_op = CheckExtension (extstrGL, ext); 19738 19739 bool allclear, funcTest; 19740 (void)funcTest; // shut up "variable unused" warnings 19741 bool init = CS_GL_EXT_blend_logic_op; 19742 allclear = true; 19743 if (init) // Don't check the functions if ext isn't reported anyway 19744 { 19745 19746 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_logic_op) 19747 } 19748 else 19749 { 19750 Report (msgExtNotFound, "GL", ext); 19751 } 19752 } 19753 19756 void InitGL_EXT_blend_minmax () 19757 { 19758 if (tested_CS_GL_EXT_blend_minmax) return; 19759 if (!extstrGL) return; 19760 tested_CS_GL_EXT_blend_minmax = true; 19761 const char* ext = "GL_EXT_blend_minmax"; 19762 19763 char cfgkey[26 + 19 + 1]; 19764 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19765 19766 CS_GL_EXT_blend_minmax = CheckExtension (extstrGL, ext); 19767 19768 bool allclear, funcTest; 19769 (void)funcTest; // shut up "variable unused" warnings 19770 bool init = CS_GL_EXT_blend_minmax; 19771 allclear = true; 19772 if (init) // Don't check the functions if ext isn't reported anyway 19773 { 19774 EXTMGR_FUNC_INIT(glBlendEquationEXT, GLBLENDEQUATIONEXT); 19775 19776 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_minmax) 19777 } 19778 else 19779 { 19780 Report (msgExtNotFound, "GL", ext); 19781 } 19782 } 19783 19786 void InitGL_EXT_blend_subtract () 19787 { 19788 if (tested_CS_GL_EXT_blend_subtract) return; 19789 if (!extstrGL) return; 19790 tested_CS_GL_EXT_blend_subtract = true; 19791 const char* ext = "GL_EXT_blend_subtract"; 19792 19793 char cfgkey[26 + 21 + 1]; 19794 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19795 19796 CS_GL_EXT_blend_subtract = CheckExtension (extstrGL, ext); 19797 19798 bool allclear, funcTest; 19799 (void)funcTest; // shut up "variable unused" warnings 19800 bool init = CS_GL_EXT_blend_subtract; 19801 allclear = true; 19802 if (init) // Don't check the functions if ext isn't reported anyway 19803 { 19804 19805 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_subtract) 19806 } 19807 else 19808 { 19809 Report (msgExtNotFound, "GL", ext); 19810 } 19811 } 19812 19815 void InitGL_EXT_clip_volume_hint () 19816 { 19817 if (tested_CS_GL_EXT_clip_volume_hint) return; 19818 if (!extstrGL) return; 19819 tested_CS_GL_EXT_clip_volume_hint = true; 19820 const char* ext = "GL_EXT_clip_volume_hint"; 19821 19822 char cfgkey[26 + 23 + 1]; 19823 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19824 19825 CS_GL_EXT_clip_volume_hint = CheckExtension (extstrGL, ext); 19826 19827 bool allclear, funcTest; 19828 (void)funcTest; // shut up "variable unused" warnings 19829 bool init = CS_GL_EXT_clip_volume_hint; 19830 allclear = true; 19831 if (init) // Don't check the functions if ext isn't reported anyway 19832 { 19833 19834 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_clip_volume_hint) 19835 } 19836 else 19837 { 19838 Report (msgExtNotFound, "GL", ext); 19839 } 19840 } 19841 19844 void InitGL_EXT_color_subtable () 19845 { 19846 if (tested_CS_GL_EXT_color_subtable) return; 19847 if (!extstrGL) return; 19848 tested_CS_GL_EXT_color_subtable = true; 19849 const char* ext = "GL_EXT_color_subtable"; 19850 19851 char cfgkey[26 + 21 + 1]; 19852 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19853 19854 CS_GL_EXT_color_subtable = CheckExtension (extstrGL, ext); 19855 19856 bool allclear, funcTest; 19857 (void)funcTest; // shut up "variable unused" warnings 19858 bool init = CS_GL_EXT_color_subtable; 19859 allclear = true; 19860 if (init) // Don't check the functions if ext isn't reported anyway 19861 { 19862 EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT); 19863 EXTMGR_FUNC_INIT(glCopyColorSubTableEXT, GLCOPYCOLORSUBTABLEEXT); 19864 19865 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_color_subtable) 19866 } 19867 else 19868 { 19869 Report (msgExtNotFound, "GL", ext); 19870 } 19871 } 19872 19875 void InitGL_EXT_compiled_vertex_array () 19876 { 19877 if (tested_CS_GL_EXT_compiled_vertex_array) return; 19878 if (!extstrGL) return; 19879 tested_CS_GL_EXT_compiled_vertex_array = true; 19880 const char* ext = "GL_EXT_compiled_vertex_array"; 19881 19882 char cfgkey[26 + 28 + 1]; 19883 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19884 19885 CS_GL_EXT_compiled_vertex_array = CheckExtension (extstrGL, ext); 19886 19887 bool allclear, funcTest; 19888 (void)funcTest; // shut up "variable unused" warnings 19889 bool init = CS_GL_EXT_compiled_vertex_array; 19890 allclear = true; 19891 if (init) // Don't check the functions if ext isn't reported anyway 19892 { 19893 EXTMGR_FUNC_INIT(glLockArraysEXT, GLLOCKARRAYSEXT); 19894 EXTMGR_FUNC_INIT(glUnlockArraysEXT, GLUNLOCKARRAYSEXT); 19895 19896 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_compiled_vertex_array) 19897 } 19898 else 19899 { 19900 Report (msgExtNotFound, "GL", ext); 19901 } 19902 } 19903 19906 void InitGL_EXT_convolution () 19907 { 19908 if (tested_CS_GL_EXT_convolution) return; 19909 if (!extstrGL) return; 19910 tested_CS_GL_EXT_convolution = true; 19911 const char* ext = "GL_EXT_convolution"; 19912 19913 char cfgkey[26 + 18 + 1]; 19914 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19915 19916 CS_GL_EXT_convolution = CheckExtension (extstrGL, ext); 19917 19918 bool allclear, funcTest; 19919 (void)funcTest; // shut up "variable unused" warnings 19920 bool init = CS_GL_EXT_convolution; 19921 allclear = true; 19922 if (init) // Don't check the functions if ext isn't reported anyway 19923 { 19924 EXTMGR_FUNC_INIT(glConvolutionFilter1DEXT, GLCONVOLUTIONFILTER1DEXT); 19925 EXTMGR_FUNC_INIT(glConvolutionFilter2DEXT, GLCONVOLUTIONFILTER2DEXT); 19926 EXTMGR_FUNC_INIT(glCopyConvolutionFilter1DEXT, GLCOPYCONVOLUTIONFILTER1DEXT); 19927 EXTMGR_FUNC_INIT(glCopyConvolutionFilter2DEXT, GLCOPYCONVOLUTIONFILTER2DEXT); 19928 EXTMGR_FUNC_INIT(glGetConvolutionFilterEXT, GLGETCONVOLUTIONFILTEREXT); 19929 EXTMGR_FUNC_INIT(glSeparableFilter2DEXT, GLSEPARABLEFILTER2DEXT); 19930 EXTMGR_FUNC_INIT(glGetSeparableFilterEXT, GLGETSEPARABLEFILTEREXT); 19931 EXTMGR_FUNC_INIT(glConvolutionParameteriEXT, GLCONVOLUTIONPARAMETERIEXT); 19932 EXTMGR_FUNC_INIT(glConvolutionParameterivEXT, GLCONVOLUTIONPARAMETERIVEXT); 19933 EXTMGR_FUNC_INIT(glConvolutionParameterfEXT, GLCONVOLUTIONPARAMETERFEXT); 19934 EXTMGR_FUNC_INIT(glConvolutionParameterfvEXT, GLCONVOLUTIONPARAMETERFVEXT); 19935 EXTMGR_FUNC_INIT(glGetConvolutionParameterivEXT, GLGETCONVOLUTIONPARAMETERIVEXT); 19936 EXTMGR_FUNC_INIT(glGetConvolutionParameterfvEXT, GLGETCONVOLUTIONPARAMETERFVEXT); 19937 19938 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_convolution) 19939 } 19940 else 19941 { 19942 Report (msgExtNotFound, "GL", ext); 19943 } 19944 } 19945 19948 void InitGL_EXT_fog_coord () 19949 { 19950 if (tested_CS_GL_EXT_fog_coord) return; 19951 if (!extstrGL) return; 19952 tested_CS_GL_EXT_fog_coord = true; 19953 const char* ext = "GL_EXT_fog_coord"; 19954 19955 char cfgkey[26 + 16 + 1]; 19956 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19957 19958 CS_GL_EXT_fog_coord = CheckExtension (extstrGL, ext); 19959 19960 bool allclear, funcTest; 19961 (void)funcTest; // shut up "variable unused" warnings 19962 bool init = CS_GL_EXT_fog_coord; 19963 allclear = true; 19964 if (init) // Don't check the functions if ext isn't reported anyway 19965 { 19966 EXTMGR_FUNC_INIT(glFogCoordfEXT, GLFOGCOORDFEXT); 19967 EXTMGR_FUNC_INIT(glFogCoorddEXT, GLFOGCOORDDEXT); 19968 EXTMGR_FUNC_INIT(glFogCoordfvEXT, GLFOGCOORDFVEXT); 19969 EXTMGR_FUNC_INIT(glFogCoorddvEXT, GLFOGCOORDDVEXT); 19970 EXTMGR_FUNC_INIT(glFogCoordPointerEXT, GLFOGCOORDPOINTEREXT); 19971 19972 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_fog_coord) 19973 } 19974 else 19975 { 19976 Report (msgExtNotFound, "GL", ext); 19977 } 19978 } 19979 19982 void InitGL_EXT_histogram () 19983 { 19984 if (tested_CS_GL_EXT_histogram) return; 19985 if (!extstrGL) return; 19986 tested_CS_GL_EXT_histogram = true; 19987 const char* ext = "GL_EXT_histogram"; 19988 19989 char cfgkey[26 + 16 + 1]; 19990 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 19991 19992 CS_GL_EXT_histogram = CheckExtension (extstrGL, ext); 19993 19994 bool allclear, funcTest; 19995 (void)funcTest; // shut up "variable unused" warnings 19996 bool init = CS_GL_EXT_histogram; 19997 allclear = true; 19998 if (init) // Don't check the functions if ext isn't reported anyway 19999 { 20000 EXTMGR_FUNC_INIT(glHistogramEXT, GLHISTOGRAMEXT); 20001 EXTMGR_FUNC_INIT(glResetHistogramEXT, GLRESETHISTOGRAMEXT); 20002 EXTMGR_FUNC_INIT(glGetHistogramEXT, GLGETHISTOGRAMEXT); 20003 EXTMGR_FUNC_INIT(glGetHistogramParameterivEXT, GLGETHISTOGRAMPARAMETERIVEXT); 20004 EXTMGR_FUNC_INIT(glGetHistogramParameterfvEXT, GLGETHISTOGRAMPARAMETERFVEXT); 20005 EXTMGR_FUNC_INIT(glMinmaxEXT, GLMINMAXEXT); 20006 EXTMGR_FUNC_INIT(glResetMinmaxEXT, GLRESETMINMAXEXT); 20007 EXTMGR_FUNC_INIT(glGetMinmaxEXT, GLGETMINMAXEXT); 20008 EXTMGR_FUNC_INIT(glGetMinmaxParameterivEXT, GLGETMINMAXPARAMETERIVEXT); 20009 EXTMGR_FUNC_INIT(glGetMinmaxParameterfvEXT, GLGETMINMAXPARAMETERFVEXT); 20010 20011 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_histogram) 20012 } 20013 else 20014 { 20015 Report (msgExtNotFound, "GL", ext); 20016 } 20017 } 20018 20021 void InitGL_EXT_multi_draw_arrays () 20022 { 20023 if (tested_CS_GL_EXT_multi_draw_arrays) return; 20024 if (!extstrGL) return; 20025 tested_CS_GL_EXT_multi_draw_arrays = true; 20026 const char* ext = "GL_EXT_multi_draw_arrays"; 20027 20028 char cfgkey[26 + 24 + 1]; 20029 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20030 20031 CS_GL_EXT_multi_draw_arrays = CheckExtension (extstrGL, ext); 20032 20033 bool allclear, funcTest; 20034 (void)funcTest; // shut up "variable unused" warnings 20035 bool init = CS_GL_EXT_multi_draw_arrays; 20036 allclear = true; 20037 if (init) // Don't check the functions if ext isn't reported anyway 20038 { 20039 EXTMGR_FUNC_INIT(glMultiDrawArraysEXT, GLMULTIDRAWARRAYSEXT); 20040 EXTMGR_FUNC_INIT(glMultiDrawElementsEXT, GLMULTIDRAWELEMENTSEXT); 20041 20042 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_multi_draw_arrays) 20043 } 20044 else 20045 { 20046 Report (msgExtNotFound, "GL", ext); 20047 } 20048 } 20049 20052 void InitGL_EXT_packed_pixels () 20053 { 20054 if (tested_CS_GL_EXT_packed_pixels) return; 20055 if (!extstrGL) return; 20056 tested_CS_GL_EXT_packed_pixels = true; 20057 const char* ext = "GL_EXT_packed_pixels"; 20058 20059 char cfgkey[26 + 20 + 1]; 20060 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20061 20062 CS_GL_EXT_packed_pixels = CheckExtension (extstrGL, ext); 20063 20064 bool allclear, funcTest; 20065 (void)funcTest; // shut up "variable unused" warnings 20066 bool init = CS_GL_EXT_packed_pixels; 20067 allclear = true; 20068 if (init) // Don't check the functions if ext isn't reported anyway 20069 { 20070 20071 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_pixels) 20072 } 20073 else 20074 { 20075 Report (msgExtNotFound, "GL", ext); 20076 } 20077 } 20078 20081 void InitGL_EXT_paletted_texture () 20082 { 20083 if (tested_CS_GL_EXT_paletted_texture) return; 20084 if (!extstrGL) return; 20085 tested_CS_GL_EXT_paletted_texture = true; 20086 const char* ext = "GL_EXT_paletted_texture"; 20087 20088 char cfgkey[26 + 23 + 1]; 20089 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20090 20091 CS_GL_EXT_paletted_texture = CheckExtension (extstrGL, ext); 20092 20093 bool allclear, funcTest; 20094 (void)funcTest; // shut up "variable unused" warnings 20095 bool init = CS_GL_EXT_paletted_texture; 20096 allclear = true; 20097 if (init) // Don't check the functions if ext isn't reported anyway 20098 { 20099 EXTMGR_FUNC_INIT(glColorTableEXT, GLCOLORTABLEEXT); 20100 EXTMGR_FUNC_INIT(glColorSubTableEXT, GLCOLORSUBTABLEEXT); 20101 EXTMGR_FUNC_INIT(glGetColorTableEXT, GLGETCOLORTABLEEXT); 20102 EXTMGR_FUNC_INIT(glGetColorTableParameterivEXT, GLGETCOLORTABLEPARAMETERIVEXT); 20103 EXTMGR_FUNC_INIT(glGetColorTableParameterfvEXT, GLGETCOLORTABLEPARAMETERFVEXT); 20104 20105 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_paletted_texture) 20106 } 20107 else 20108 { 20109 Report (msgExtNotFound, "GL", ext); 20110 } 20111 } 20112 20115 void InitGL_EXT_point_parameters () 20116 { 20117 if (tested_CS_GL_EXT_point_parameters) return; 20118 if (!extstrGL) return; 20119 tested_CS_GL_EXT_point_parameters = true; 20120 const char* ext = "GL_EXT_point_parameters"; 20121 20122 char cfgkey[26 + 23 + 1]; 20123 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20124 20125 CS_GL_EXT_point_parameters = CheckExtension (extstrGL, ext); 20126 20127 bool allclear, funcTest; 20128 (void)funcTest; // shut up "variable unused" warnings 20129 bool init = CS_GL_EXT_point_parameters; 20130 allclear = true; 20131 if (init) // Don't check the functions if ext isn't reported anyway 20132 { 20133 EXTMGR_FUNC_INIT(glPointParameterfEXT, GLPOINTPARAMETERFEXT); 20134 EXTMGR_FUNC_INIT(glPointParameterfvEXT, GLPOINTPARAMETERFVEXT); 20135 20136 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_point_parameters) 20137 } 20138 else 20139 { 20140 Report (msgExtNotFound, "GL", ext); 20141 } 20142 } 20143 20146 void InitGL_EXT_polygon_offset () 20147 { 20148 if (tested_CS_GL_EXT_polygon_offset) return; 20149 if (!extstrGL) return; 20150 tested_CS_GL_EXT_polygon_offset = true; 20151 const char* ext = "GL_EXT_polygon_offset"; 20152 20153 char cfgkey[26 + 21 + 1]; 20154 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20155 20156 CS_GL_EXT_polygon_offset = CheckExtension (extstrGL, ext); 20157 20158 bool allclear, funcTest; 20159 (void)funcTest; // shut up "variable unused" warnings 20160 bool init = CS_GL_EXT_polygon_offset; 20161 allclear = true; 20162 if (init) // Don't check the functions if ext isn't reported anyway 20163 { 20164 EXTMGR_FUNC_INIT(glPolygonOffsetEXT, GLPOLYGONOFFSETEXT); 20165 20166 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_polygon_offset) 20167 } 20168 else 20169 { 20170 Report (msgExtNotFound, "GL", ext); 20171 } 20172 } 20173 20176 void InitGL_EXT_secondary_color () 20177 { 20178 if (tested_CS_GL_EXT_secondary_color) return; 20179 if (!extstrGL) return; 20180 tested_CS_GL_EXT_secondary_color = true; 20181 const char* ext = "GL_EXT_secondary_color"; 20182 20183 char cfgkey[26 + 22 + 1]; 20184 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20185 20186 CS_GL_EXT_secondary_color = CheckExtension (extstrGL, ext); 20187 20188 bool allclear, funcTest; 20189 (void)funcTest; // shut up "variable unused" warnings 20190 bool init = CS_GL_EXT_secondary_color; 20191 allclear = true; 20192 if (init) // Don't check the functions if ext isn't reported anyway 20193 { 20194 EXTMGR_FUNC_INIT(glSecondaryColor3bEXT, GLSECONDARYCOLOR3BEXT); 20195 EXTMGR_FUNC_INIT(glSecondaryColor3sEXT, GLSECONDARYCOLOR3SEXT); 20196 EXTMGR_FUNC_INIT(glSecondaryColor3iEXT, GLSECONDARYCOLOR3IEXT); 20197 EXTMGR_FUNC_INIT(glSecondaryColor3fEXT, GLSECONDARYCOLOR3FEXT); 20198 EXTMGR_FUNC_INIT(glSecondaryColor3dEXT, GLSECONDARYCOLOR3DEXT); 20199 EXTMGR_FUNC_INIT(glSecondaryColor3ubEXT, GLSECONDARYCOLOR3UBEXT); 20200 EXTMGR_FUNC_INIT(glSecondaryColor3usEXT, GLSECONDARYCOLOR3USEXT); 20201 EXTMGR_FUNC_INIT(glSecondaryColor3uiEXT, GLSECONDARYCOLOR3UIEXT); 20202 EXTMGR_FUNC_INIT(glSecondaryColor3bvEXT, GLSECONDARYCOLOR3BVEXT); 20203 EXTMGR_FUNC_INIT(glSecondaryColor3svEXT, GLSECONDARYCOLOR3SVEXT); 20204 EXTMGR_FUNC_INIT(glSecondaryColor3ivEXT, GLSECONDARYCOLOR3IVEXT); 20205 EXTMGR_FUNC_INIT(glSecondaryColor3fvEXT, GLSECONDARYCOLOR3FVEXT); 20206 EXTMGR_FUNC_INIT(glSecondaryColor3dvEXT, GLSECONDARYCOLOR3DVEXT); 20207 EXTMGR_FUNC_INIT(glSecondaryColor3ubvEXT, GLSECONDARYCOLOR3UBVEXT); 20208 EXTMGR_FUNC_INIT(glSecondaryColor3usvEXT, GLSECONDARYCOLOR3USVEXT); 20209 EXTMGR_FUNC_INIT(glSecondaryColor3uivEXT, GLSECONDARYCOLOR3UIVEXT); 20210 EXTMGR_FUNC_INIT(glSecondaryColorPointerEXT, GLSECONDARYCOLORPOINTEREXT); 20211 20212 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_secondary_color) 20213 } 20214 else 20215 { 20216 Report (msgExtNotFound, "GL", ext); 20217 } 20218 } 20219 20222 void InitGL_EXT_separate_specular_color () 20223 { 20224 if (tested_CS_GL_EXT_separate_specular_color) return; 20225 if (!extstrGL) return; 20226 tested_CS_GL_EXT_separate_specular_color = true; 20227 const char* ext = "GL_EXT_separate_specular_color"; 20228 20229 char cfgkey[26 + 30 + 1]; 20230 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20231 20232 CS_GL_EXT_separate_specular_color = CheckExtension (extstrGL, ext); 20233 20234 bool allclear, funcTest; 20235 (void)funcTest; // shut up "variable unused" warnings 20236 bool init = CS_GL_EXT_separate_specular_color; 20237 allclear = true; 20238 if (init) // Don't check the functions if ext isn't reported anyway 20239 { 20240 20241 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_separate_specular_color) 20242 } 20243 else 20244 { 20245 Report (msgExtNotFound, "GL", ext); 20246 } 20247 } 20248 20251 void InitGL_EXT_shadow_funcs () 20252 { 20253 if (tested_CS_GL_EXT_shadow_funcs) return; 20254 if (!extstrGL) return; 20255 tested_CS_GL_EXT_shadow_funcs = true; 20256 const char* ext = "GL_EXT_shadow_funcs"; 20257 20258 char cfgkey[26 + 19 + 1]; 20259 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20260 20261 CS_GL_EXT_shadow_funcs = CheckExtension (extstrGL, ext); 20262 20263 bool allclear, funcTest; 20264 (void)funcTest; // shut up "variable unused" warnings 20265 bool init = CS_GL_EXT_shadow_funcs; 20266 allclear = true; 20267 if (init) // Don't check the functions if ext isn't reported anyway 20268 { 20269 20270 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shadow_funcs) 20271 } 20272 else 20273 { 20274 Report (msgExtNotFound, "GL", ext); 20275 } 20276 } 20277 20280 void InitGL_EXT_shared_texture_palette () 20281 { 20282 if (tested_CS_GL_EXT_shared_texture_palette) return; 20283 if (!extstrGL) return; 20284 tested_CS_GL_EXT_shared_texture_palette = true; 20285 const char* ext = "GL_EXT_shared_texture_palette"; 20286 20287 char cfgkey[26 + 29 + 1]; 20288 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20289 20290 CS_GL_EXT_shared_texture_palette = CheckExtension (extstrGL, ext); 20291 20292 bool allclear, funcTest; 20293 (void)funcTest; // shut up "variable unused" warnings 20294 bool init = CS_GL_EXT_shared_texture_palette; 20295 allclear = true; 20296 if (init) // Don't check the functions if ext isn't reported anyway 20297 { 20298 20299 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_shared_texture_palette) 20300 } 20301 else 20302 { 20303 Report (msgExtNotFound, "GL", ext); 20304 } 20305 } 20306 20309 void InitGL_EXT_stencil_two_side () 20310 { 20311 if (tested_CS_GL_EXT_stencil_two_side) return; 20312 if (!extstrGL) return; 20313 tested_CS_GL_EXT_stencil_two_side = true; 20314 const char* ext = "GL_EXT_stencil_two_side"; 20315 20316 char cfgkey[26 + 23 + 1]; 20317 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20318 20319 CS_GL_EXT_stencil_two_side = CheckExtension (extstrGL, ext); 20320 20321 bool allclear, funcTest; 20322 (void)funcTest; // shut up "variable unused" warnings 20323 bool init = CS_GL_EXT_stencil_two_side; 20324 allclear = true; 20325 if (init) // Don't check the functions if ext isn't reported anyway 20326 { 20327 EXTMGR_FUNC_INIT(glActiveStencilFaceEXT, GLACTIVESTENCILFACEEXT); 20328 20329 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_two_side) 20330 } 20331 else 20332 { 20333 Report (msgExtNotFound, "GL", ext); 20334 } 20335 } 20336 20339 void InitGL_EXT_stencil_wrap () 20340 { 20341 if (tested_CS_GL_EXT_stencil_wrap) return; 20342 if (!extstrGL) return; 20343 tested_CS_GL_EXT_stencil_wrap = true; 20344 const char* ext = "GL_EXT_stencil_wrap"; 20345 20346 char cfgkey[26 + 19 + 1]; 20347 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20348 20349 CS_GL_EXT_stencil_wrap = CheckExtension (extstrGL, ext); 20350 20351 bool allclear, funcTest; 20352 (void)funcTest; // shut up "variable unused" warnings 20353 bool init = CS_GL_EXT_stencil_wrap; 20354 allclear = true; 20355 if (init) // Don't check the functions if ext isn't reported anyway 20356 { 20357 20358 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_stencil_wrap) 20359 } 20360 else 20361 { 20362 Report (msgExtNotFound, "GL", ext); 20363 } 20364 } 20365 20368 void InitGL_EXT_subtexture () 20369 { 20370 if (tested_CS_GL_EXT_subtexture) return; 20371 if (!extstrGL) return; 20372 tested_CS_GL_EXT_subtexture = true; 20373 const char* ext = "GL_EXT_subtexture"; 20374 20375 char cfgkey[26 + 17 + 1]; 20376 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20377 20378 CS_GL_EXT_subtexture = CheckExtension (extstrGL, ext); 20379 20380 bool allclear, funcTest; 20381 (void)funcTest; // shut up "variable unused" warnings 20382 bool init = CS_GL_EXT_subtexture; 20383 allclear = true; 20384 if (init) // Don't check the functions if ext isn't reported anyway 20385 { 20386 EXTMGR_FUNC_INIT(glTexSubImage1DEXT, GLTEXSUBIMAGE1DEXT); 20387 EXTMGR_FUNC_INIT(glTexSubImage2DEXT, GLTEXSUBIMAGE2DEXT); 20388 EXTMGR_FUNC_INIT(glTexSubImage3DEXT, GLTEXSUBIMAGE3DEXT); 20389 20390 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_subtexture) 20391 } 20392 else 20393 { 20394 Report (msgExtNotFound, "GL", ext); 20395 } 20396 } 20397 20400 void InitGL_EXT_texture3D () 20401 { 20402 if (tested_CS_GL_EXT_texture3D) return; 20403 if (!extstrGL) return; 20404 tested_CS_GL_EXT_texture3D = true; 20405 const char* ext = "GL_EXT_texture3D"; 20406 20407 char cfgkey[26 + 16 + 1]; 20408 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20409 20410 CS_GL_EXT_texture3D = CheckExtension (extstrGL, ext); 20411 20412 bool allclear, funcTest; 20413 (void)funcTest; // shut up "variable unused" warnings 20414 bool init = CS_GL_EXT_texture3D; 20415 allclear = true; 20416 if (init) // Don't check the functions if ext isn't reported anyway 20417 { 20418 EXTMGR_FUNC_INIT(glTexImage3DEXT, GLTEXIMAGE3DEXT); 20419 20420 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture3D) 20421 } 20422 else 20423 { 20424 Report (msgExtNotFound, "GL", ext); 20425 } 20426 } 20427 20430 void InitGL_EXT_texture_compression_s3tc () 20431 { 20432 if (tested_CS_GL_EXT_texture_compression_s3tc) return; 20433 if (!extstrGL) return; 20434 tested_CS_GL_EXT_texture_compression_s3tc = true; 20435 const char* ext = "GL_EXT_texture_compression_s3tc"; 20436 20437 char cfgkey[26 + 31 + 1]; 20438 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20439 20440 CS_GL_EXT_texture_compression_s3tc = CheckExtension (extstrGL, ext); 20441 20442 bool allclear, funcTest; 20443 (void)funcTest; // shut up "variable unused" warnings 20444 bool init = CS_GL_EXT_texture_compression_s3tc; 20445 allclear = true; 20446 if (init) // Don't check the functions if ext isn't reported anyway 20447 { 20448 20449 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_compression_s3tc) 20450 } 20451 else 20452 { 20453 Report (msgExtNotFound, "GL", ext); 20454 } 20455 } 20456 20459 void InitGL_EXT_texture_env_add () 20460 { 20461 if (tested_CS_GL_EXT_texture_env_add) return; 20462 if (!extstrGL) return; 20463 tested_CS_GL_EXT_texture_env_add = true; 20464 const char* ext = "GL_EXT_texture_env_add"; 20465 20466 char cfgkey[26 + 22 + 1]; 20467 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20468 20469 CS_GL_EXT_texture_env_add = CheckExtension (extstrGL, ext); 20470 20471 bool allclear, funcTest; 20472 (void)funcTest; // shut up "variable unused" warnings 20473 bool init = CS_GL_EXT_texture_env_add; 20474 allclear = true; 20475 if (init) // Don't check the functions if ext isn't reported anyway 20476 { 20477 20478 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_add) 20479 } 20480 else 20481 { 20482 Report (msgExtNotFound, "GL", ext); 20483 } 20484 } 20485 20488 void InitGL_EXT_texture_env_combine () 20489 { 20490 if (tested_CS_GL_EXT_texture_env_combine) return; 20491 if (!extstrGL) return; 20492 tested_CS_GL_EXT_texture_env_combine = true; 20493 const char* ext = "GL_EXT_texture_env_combine"; 20494 20495 char cfgkey[26 + 26 + 1]; 20496 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20497 20498 CS_GL_EXT_texture_env_combine = CheckExtension (extstrGL, ext); 20499 20500 bool allclear, funcTest; 20501 (void)funcTest; // shut up "variable unused" warnings 20502 bool init = CS_GL_EXT_texture_env_combine; 20503 allclear = true; 20504 if (init) // Don't check the functions if ext isn't reported anyway 20505 { 20506 20507 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_combine) 20508 } 20509 else 20510 { 20511 Report (msgExtNotFound, "GL", ext); 20512 } 20513 } 20514 20517 void InitGL_EXT_texture_env_dot3 () 20518 { 20519 if (tested_CS_GL_EXT_texture_env_dot3) return; 20520 if (!extstrGL) return; 20521 tested_CS_GL_EXT_texture_env_dot3 = true; 20522 const char* ext = "GL_EXT_texture_env_dot3"; 20523 20524 char cfgkey[26 + 23 + 1]; 20525 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20526 20527 CS_GL_EXT_texture_env_dot3 = CheckExtension (extstrGL, ext); 20528 20529 bool allclear, funcTest; 20530 (void)funcTest; // shut up "variable unused" warnings 20531 bool init = CS_GL_EXT_texture_env_dot3; 20532 allclear = true; 20533 if (init) // Don't check the functions if ext isn't reported anyway 20534 { 20535 20536 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_env_dot3) 20537 } 20538 else 20539 { 20540 Report (msgExtNotFound, "GL", ext); 20541 } 20542 } 20543 20546 void InitGL_EXT_texture_filter_anisotropic () 20547 { 20548 if (tested_CS_GL_EXT_texture_filter_anisotropic) return; 20549 if (!extstrGL) return; 20550 tested_CS_GL_EXT_texture_filter_anisotropic = true; 20551 const char* ext = "GL_EXT_texture_filter_anisotropic"; 20552 20553 char cfgkey[26 + 33 + 1]; 20554 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20555 20556 CS_GL_EXT_texture_filter_anisotropic = CheckExtension (extstrGL, ext); 20557 20558 bool allclear, funcTest; 20559 (void)funcTest; // shut up "variable unused" warnings 20560 bool init = CS_GL_EXT_texture_filter_anisotropic; 20561 allclear = true; 20562 if (init) // Don't check the functions if ext isn't reported anyway 20563 { 20564 20565 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_filter_anisotropic) 20566 } 20567 else 20568 { 20569 Report (msgExtNotFound, "GL", ext); 20570 } 20571 } 20572 20575 void InitGL_EXT_texture_lod_bias () 20576 { 20577 if (tested_CS_GL_EXT_texture_lod_bias) return; 20578 if (!extstrGL) return; 20579 tested_CS_GL_EXT_texture_lod_bias = true; 20580 const char* ext = "GL_EXT_texture_lod_bias"; 20581 20582 char cfgkey[26 + 23 + 1]; 20583 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20584 20585 CS_GL_EXT_texture_lod_bias = CheckExtension (extstrGL, ext); 20586 20587 bool allclear, funcTest; 20588 (void)funcTest; // shut up "variable unused" warnings 20589 bool init = CS_GL_EXT_texture_lod_bias; 20590 allclear = true; 20591 if (init) // Don't check the functions if ext isn't reported anyway 20592 { 20593 20594 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_lod_bias) 20595 } 20596 else 20597 { 20598 Report (msgExtNotFound, "GL", ext); 20599 } 20600 } 20601 20604 void InitGL_EXT_texture_object () 20605 { 20606 if (tested_CS_GL_EXT_texture_object) return; 20607 if (!extstrGL) return; 20608 tested_CS_GL_EXT_texture_object = true; 20609 const char* ext = "GL_EXT_texture_object"; 20610 20611 char cfgkey[26 + 21 + 1]; 20612 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20613 20614 CS_GL_EXT_texture_object = CheckExtension (extstrGL, ext); 20615 20616 bool allclear, funcTest; 20617 (void)funcTest; // shut up "variable unused" warnings 20618 bool init = CS_GL_EXT_texture_object; 20619 allclear = true; 20620 if (init) // Don't check the functions if ext isn't reported anyway 20621 { 20622 EXTMGR_FUNC_INIT(glGenTexturesEXT, GLGENTEXTURESEXT); 20623 EXTMGR_FUNC_INIT(glDeleteTexturesEXT, GLDELETETEXTURESEXT); 20624 EXTMGR_FUNC_INIT(glBindTextureEXT, GLBINDTEXTUREEXT); 20625 EXTMGR_FUNC_INIT(glPrioritizeTexturesEXT, GLPRIORITIZETEXTURESEXT); 20626 EXTMGR_FUNC_INIT(glAreTexturesResidentEXT, GLARETEXTURESRESIDENTEXT); 20627 EXTMGR_FUNC_INIT(glIsTextureEXT, GLISTEXTUREEXT); 20628 20629 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_object) 20630 } 20631 else 20632 { 20633 Report (msgExtNotFound, "GL", ext); 20634 } 20635 } 20636 20639 void InitGL_EXT_vertex_array () 20640 { 20641 if (tested_CS_GL_EXT_vertex_array) return; 20642 if (!extstrGL) return; 20643 tested_CS_GL_EXT_vertex_array = true; 20644 const char* ext = "GL_EXT_vertex_array"; 20645 20646 char cfgkey[26 + 19 + 1]; 20647 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20648 20649 CS_GL_EXT_vertex_array = CheckExtension (extstrGL, ext); 20650 20651 bool allclear, funcTest; 20652 (void)funcTest; // shut up "variable unused" warnings 20653 bool init = CS_GL_EXT_vertex_array; 20654 allclear = true; 20655 if (init) // Don't check the functions if ext isn't reported anyway 20656 { 20657 EXTMGR_FUNC_INIT(glArrayElementEXT, GLARRAYELEMENTEXT); 20658 EXTMGR_FUNC_INIT(glDrawArraysEXT, GLDRAWARRAYSEXT); 20659 EXTMGR_FUNC_INIT(glVertexPointerEXT, GLVERTEXPOINTEREXT); 20660 EXTMGR_FUNC_INIT(glNormalPointerEXT, GLNORMALPOINTEREXT); 20661 EXTMGR_FUNC_INIT(glColorPointerEXT, GLCOLORPOINTEREXT); 20662 EXTMGR_FUNC_INIT(glIndexPointerEXT, GLINDEXPOINTEREXT); 20663 EXTMGR_FUNC_INIT(glTexCoordPointerEXT, GLTEXCOORDPOINTEREXT); 20664 EXTMGR_FUNC_INIT(glEdgeFlagPointerEXT, GLEDGEFLAGPOINTEREXT); 20665 EXTMGR_FUNC_INIT(glGetPointervEXT, GLGETPOINTERVEXT); 20666 20667 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_array) 20668 } 20669 else 20670 { 20671 Report (msgExtNotFound, "GL", ext); 20672 } 20673 } 20674 20677 void InitGL_EXT_vertex_shader () 20678 { 20679 if (tested_CS_GL_EXT_vertex_shader) return; 20680 if (!extstrGL) return; 20681 tested_CS_GL_EXT_vertex_shader = true; 20682 const char* ext = "GL_EXT_vertex_shader"; 20683 20684 char cfgkey[26 + 20 + 1]; 20685 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20686 20687 CS_GL_EXT_vertex_shader = CheckExtension (extstrGL, ext); 20688 20689 bool allclear, funcTest; 20690 (void)funcTest; // shut up "variable unused" warnings 20691 bool init = CS_GL_EXT_vertex_shader; 20692 allclear = true; 20693 if (init) // Don't check the functions if ext isn't reported anyway 20694 { 20695 EXTMGR_FUNC_INIT(glBeginVertexShaderEXT, GLBEGINVERTEXSHADEREXT); 20696 EXTMGR_FUNC_INIT(glEndVertexShaderEXT, GLENDVERTEXSHADEREXT); 20697 EXTMGR_FUNC_INIT(glBindVertexShaderEXT, GLBINDVERTEXSHADEREXT); 20698 EXTMGR_FUNC_INIT(glGenVertexShadersEXT, GLGENVERTEXSHADERSEXT); 20699 EXTMGR_FUNC_INIT(glDeleteVertexShaderEXT, GLDELETEVERTEXSHADEREXT); 20700 EXTMGR_FUNC_INIT(glShaderOp1EXT, GLSHADEROP1EXT); 20701 EXTMGR_FUNC_INIT(glShaderOp2EXT, GLSHADEROP2EXT); 20702 EXTMGR_FUNC_INIT(glShaderOp3EXT, GLSHADEROP3EXT); 20703 EXTMGR_FUNC_INIT(glSwizzleEXT, GLSWIZZLEEXT); 20704 EXTMGR_FUNC_INIT(glWriteMaskEXT, GLWRITEMASKEXT); 20705 EXTMGR_FUNC_INIT(glInsertComponentEXT, GLINSERTCOMPONENTEXT); 20706 EXTMGR_FUNC_INIT(glExtractComponentEXT, GLEXTRACTCOMPONENTEXT); 20707 EXTMGR_FUNC_INIT(glGenSymbolsEXT, GLGENSYMBOLSEXT); 20708 EXTMGR_FUNC_INIT(glSetInvariantEXT, GLSETINVARIANTEXT); 20709 EXTMGR_FUNC_INIT(glSetLocalConstantEXT, GLSETLOCALCONSTANTEXT); 20710 EXTMGR_FUNC_INIT(glVariantbvEXT, GLVARIANTBVEXT); 20711 EXTMGR_FUNC_INIT(glVariantsvEXT, GLVARIANTSVEXT); 20712 EXTMGR_FUNC_INIT(glVariantivEXT, GLVARIANTIVEXT); 20713 EXTMGR_FUNC_INIT(glVariantfvEXT, GLVARIANTFVEXT); 20714 EXTMGR_FUNC_INIT(glVariantdvEXT, GLVARIANTDVEXT); 20715 EXTMGR_FUNC_INIT(glVariantubvEXT, GLVARIANTUBVEXT); 20716 EXTMGR_FUNC_INIT(glVariantusvEXT, GLVARIANTUSVEXT); 20717 EXTMGR_FUNC_INIT(glVariantuivEXT, GLVARIANTUIVEXT); 20718 EXTMGR_FUNC_INIT(glVariantPointerEXT, GLVARIANTPOINTEREXT); 20719 EXTMGR_FUNC_INIT(glEnableVariantClientStateEXT, GLENABLEVARIANTCLIENTSTATEEXT); 20720 EXTMGR_FUNC_INIT(glDisableVariantClientStateEXT, GLDISABLEVARIANTCLIENTSTATEEXT); 20721 EXTMGR_FUNC_INIT(glBindLightParameterEXT, GLBINDLIGHTPARAMETEREXT); 20722 EXTMGR_FUNC_INIT(glBindMaterialParameterEXT, GLBINDMATERIALPARAMETEREXT); 20723 EXTMGR_FUNC_INIT(glBindTexGenParameterEXT, GLBINDTEXGENPARAMETEREXT); 20724 EXTMGR_FUNC_INIT(glBindTextureUnitParameterEXT, GLBINDTEXTUREUNITPARAMETEREXT); 20725 EXTMGR_FUNC_INIT(glBindParameterEXT, GLBINDPARAMETEREXT); 20726 EXTMGR_FUNC_INIT(glIsVariantEnabledEXT, GLISVARIANTENABLEDEXT); 20727 EXTMGR_FUNC_INIT(glGetVariantBooleanvEXT, GLGETVARIANTBOOLEANVEXT); 20728 EXTMGR_FUNC_INIT(glGetVariantIntegervEXT, GLGETVARIANTINTEGERVEXT); 20729 EXTMGR_FUNC_INIT(glGetVariantFloatvEXT, GLGETVARIANTFLOATVEXT); 20730 EXTMGR_FUNC_INIT(glGetVariantPointervEXT, GLGETVARIANTPOINTERVEXT); 20731 EXTMGR_FUNC_INIT(glGetInvariantBooleanvEXT, GLGETINVARIANTBOOLEANVEXT); 20732 EXTMGR_FUNC_INIT(glGetInvariantIntegervEXT, GLGETINVARIANTINTEGERVEXT); 20733 EXTMGR_FUNC_INIT(glGetInvariantFloatvEXT, GLGETINVARIANTFLOATVEXT); 20734 EXTMGR_FUNC_INIT(glGetLocalConstantBooleanvEXT, GLGETLOCALCONSTANTBOOLEANVEXT); 20735 EXTMGR_FUNC_INIT(glGetLocalConstantIntegervEXT, GLGETLOCALCONSTANTINTEGERVEXT); 20736 EXTMGR_FUNC_INIT(glGetLocalConstantFloatvEXT, GLGETLOCALCONSTANTFLOATVEXT); 20737 20738 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_shader) 20739 } 20740 else 20741 { 20742 Report (msgExtNotFound, "GL", ext); 20743 } 20744 } 20745 20748 void InitGL_EXT_vertex_weighting () 20749 { 20750 if (tested_CS_GL_EXT_vertex_weighting) return; 20751 if (!extstrGL) return; 20752 tested_CS_GL_EXT_vertex_weighting = true; 20753 const char* ext = "GL_EXT_vertex_weighting"; 20754 20755 char cfgkey[26 + 23 + 1]; 20756 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20757 20758 CS_GL_EXT_vertex_weighting = CheckExtension (extstrGL, ext); 20759 20760 bool allclear, funcTest; 20761 (void)funcTest; // shut up "variable unused" warnings 20762 bool init = CS_GL_EXT_vertex_weighting; 20763 allclear = true; 20764 if (init) // Don't check the functions if ext isn't reported anyway 20765 { 20766 EXTMGR_FUNC_INIT(glVertexWeightfEXT, GLVERTEXWEIGHTFEXT); 20767 EXTMGR_FUNC_INIT(glVertexWeightfvEXT, GLVERTEXWEIGHTFVEXT); 20768 EXTMGR_FUNC_INIT(glVertexWeightPointerEXT, GLVERTEXWEIGHTPOINTEREXT); 20769 20770 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_vertex_weighting) 20771 } 20772 else 20773 { 20774 Report (msgExtNotFound, "GL", ext); 20775 } 20776 } 20777 20780 void InitGL_HP_occlusion_test () 20781 { 20782 if (tested_CS_GL_HP_occlusion_test) return; 20783 if (!extstrGL) return; 20784 tested_CS_GL_HP_occlusion_test = true; 20785 const char* ext = "GL_HP_occlusion_test"; 20786 20787 char cfgkey[26 + 20 + 1]; 20788 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20789 20790 CS_GL_HP_occlusion_test = CheckExtension (extstrGL, ext); 20791 20792 bool allclear, funcTest; 20793 (void)funcTest; // shut up "variable unused" warnings 20794 bool init = CS_GL_HP_occlusion_test; 20795 allclear = true; 20796 if (init) // Don't check the functions if ext isn't reported anyway 20797 { 20798 20799 EXTMGR_REPORT_INIT_RESULT("GL", GL_HP_occlusion_test) 20800 } 20801 else 20802 { 20803 Report (msgExtNotFound, "GL", ext); 20804 } 20805 } 20806 20809 void InitGL_NV_blend_square () 20810 { 20811 if (tested_CS_GL_NV_blend_square) return; 20812 if (!extstrGL) return; 20813 tested_CS_GL_NV_blend_square = true; 20814 const char* ext = "GL_NV_blend_square"; 20815 20816 char cfgkey[26 + 18 + 1]; 20817 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20818 20819 CS_GL_NV_blend_square = CheckExtension (extstrGL, ext); 20820 20821 bool allclear, funcTest; 20822 (void)funcTest; // shut up "variable unused" warnings 20823 bool init = CS_GL_NV_blend_square; 20824 allclear = true; 20825 if (init) // Don't check the functions if ext isn't reported anyway 20826 { 20827 20828 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_blend_square) 20829 } 20830 else 20831 { 20832 Report (msgExtNotFound, "GL", ext); 20833 } 20834 } 20835 20838 void InitGL_NV_copy_depth_to_color () 20839 { 20840 if (tested_CS_GL_NV_copy_depth_to_color) return; 20841 if (!extstrGL) return; 20842 tested_CS_GL_NV_copy_depth_to_color = true; 20843 const char* ext = "GL_NV_copy_depth_to_color"; 20844 20845 char cfgkey[26 + 25 + 1]; 20846 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20847 20848 CS_GL_NV_copy_depth_to_color = CheckExtension (extstrGL, ext); 20849 20850 bool allclear, funcTest; 20851 (void)funcTest; // shut up "variable unused" warnings 20852 bool init = CS_GL_NV_copy_depth_to_color; 20853 allclear = true; 20854 if (init) // Don't check the functions if ext isn't reported anyway 20855 { 20856 20857 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_copy_depth_to_color) 20858 } 20859 else 20860 { 20861 Report (msgExtNotFound, "GL", ext); 20862 } 20863 } 20864 20867 void InitGL_NV_depth_clamp () 20868 { 20869 if (tested_CS_GL_NV_depth_clamp) return; 20870 if (!extstrGL) return; 20871 tested_CS_GL_NV_depth_clamp = true; 20872 const char* ext = "GL_NV_depth_clamp"; 20873 20874 char cfgkey[26 + 17 + 1]; 20875 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20876 20877 CS_GL_NV_depth_clamp = CheckExtension (extstrGL, ext); 20878 20879 bool allclear, funcTest; 20880 (void)funcTest; // shut up "variable unused" warnings 20881 bool init = CS_GL_NV_depth_clamp; 20882 allclear = true; 20883 if (init) // Don't check the functions if ext isn't reported anyway 20884 { 20885 20886 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_depth_clamp) 20887 } 20888 else 20889 { 20890 Report (msgExtNotFound, "GL", ext); 20891 } 20892 } 20893 20896 void InitGL_NV_evaluators () 20897 { 20898 if (tested_CS_GL_NV_evaluators) return; 20899 if (!extstrGL) return; 20900 tested_CS_GL_NV_evaluators = true; 20901 const char* ext = "GL_NV_evaluators"; 20902 20903 char cfgkey[26 + 16 + 1]; 20904 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20905 20906 CS_GL_NV_evaluators = CheckExtension (extstrGL, ext); 20907 20908 bool allclear, funcTest; 20909 (void)funcTest; // shut up "variable unused" warnings 20910 bool init = CS_GL_NV_evaluators; 20911 allclear = true; 20912 if (init) // Don't check the functions if ext isn't reported anyway 20913 { 20914 EXTMGR_FUNC_INIT(glMapControlPointsNV, GLMAPCONTROLPOINTSNV); 20915 EXTMGR_FUNC_INIT(glMapParameterivNV, GLMAPPARAMETERIVNV); 20916 EXTMGR_FUNC_INIT(glMapParameterfvNV, GLMAPPARAMETERFVNV); 20917 EXTMGR_FUNC_INIT(glGetMapControlPointsNV, GLGETMAPCONTROLPOINTSNV); 20918 EXTMGR_FUNC_INIT(glGetMapParameterivNV, GLGETMAPPARAMETERIVNV); 20919 EXTMGR_FUNC_INIT(glGetMapParameterfvNV, GLGETMAPPARAMETERFVNV); 20920 EXTMGR_FUNC_INIT(glGetMapAttribParameterivNV, GLGETMAPATTRIBPARAMETERIVNV); 20921 EXTMGR_FUNC_INIT(glGetMapAttribParameterfvNV, GLGETMAPATTRIBPARAMETERFVNV); 20922 EXTMGR_FUNC_INIT(glEvalMapsNV, GLEVALMAPSNV); 20923 20924 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_evaluators) 20925 } 20926 else 20927 { 20928 Report (msgExtNotFound, "GL", ext); 20929 } 20930 } 20931 20934 void InitGL_NV_fence () 20935 { 20936 if (tested_CS_GL_NV_fence) return; 20937 if (!extstrGL) return; 20938 tested_CS_GL_NV_fence = true; 20939 const char* ext = "GL_NV_fence"; 20940 20941 char cfgkey[26 + 11 + 1]; 20942 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20943 20944 CS_GL_NV_fence = CheckExtension (extstrGL, ext); 20945 20946 bool allclear, funcTest; 20947 (void)funcTest; // shut up "variable unused" warnings 20948 bool init = CS_GL_NV_fence; 20949 allclear = true; 20950 if (init) // Don't check the functions if ext isn't reported anyway 20951 { 20952 EXTMGR_FUNC_INIT(glGenFencesNV, GLGENFENCESNV); 20953 EXTMGR_FUNC_INIT(glDeleteFencesNV, GLDELETEFENCESNV); 20954 EXTMGR_FUNC_INIT(glSetFenceNV, GLSETFENCENV); 20955 EXTMGR_FUNC_INIT(glTestFenceNV, GLTESTFENCENV); 20956 EXTMGR_FUNC_INIT(glFinishFenceNV, GLFINISHFENCENV); 20957 EXTMGR_FUNC_INIT(glIsFenceNV, GLISFENCENV); 20958 EXTMGR_FUNC_INIT(glGetFenceivNV, GLGETFENCEIVNV); 20959 20960 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fence) 20961 } 20962 else 20963 { 20964 Report (msgExtNotFound, "GL", ext); 20965 } 20966 } 20967 20970 void InitGL_NV_fog_distance () 20971 { 20972 if (tested_CS_GL_NV_fog_distance) return; 20973 if (!extstrGL) return; 20974 tested_CS_GL_NV_fog_distance = true; 20975 const char* ext = "GL_NV_fog_distance"; 20976 20977 char cfgkey[26 + 18 + 1]; 20978 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 20979 20980 CS_GL_NV_fog_distance = CheckExtension (extstrGL, ext); 20981 20982 bool allclear, funcTest; 20983 (void)funcTest; // shut up "variable unused" warnings 20984 bool init = CS_GL_NV_fog_distance; 20985 allclear = true; 20986 if (init) // Don't check the functions if ext isn't reported anyway 20987 { 20988 20989 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fog_distance) 20990 } 20991 else 20992 { 20993 Report (msgExtNotFound, "GL", ext); 20994 } 20995 } 20996 20999 void InitGL_NV_light_max_exponent () 21000 { 21001 if (tested_CS_GL_NV_light_max_exponent) return; 21002 if (!extstrGL) return; 21003 tested_CS_GL_NV_light_max_exponent = true; 21004 const char* ext = "GL_NV_light_max_exponent"; 21005 21006 char cfgkey[26 + 24 + 1]; 21007 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21008 21009 CS_GL_NV_light_max_exponent = CheckExtension (extstrGL, ext); 21010 21011 bool allclear, funcTest; 21012 (void)funcTest; // shut up "variable unused" warnings 21013 bool init = CS_GL_NV_light_max_exponent; 21014 allclear = true; 21015 if (init) // Don't check the functions if ext isn't reported anyway 21016 { 21017 21018 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_light_max_exponent) 21019 } 21020 else 21021 { 21022 Report (msgExtNotFound, "GL", ext); 21023 } 21024 } 21025 21028 void InitGL_NV_multisample_filter_hint () 21029 { 21030 if (tested_CS_GL_NV_multisample_filter_hint) return; 21031 if (!extstrGL) return; 21032 tested_CS_GL_NV_multisample_filter_hint = true; 21033 const char* ext = "GL_NV_multisample_filter_hint"; 21034 21035 char cfgkey[26 + 29 + 1]; 21036 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21037 21038 CS_GL_NV_multisample_filter_hint = CheckExtension (extstrGL, ext); 21039 21040 bool allclear, funcTest; 21041 (void)funcTest; // shut up "variable unused" warnings 21042 bool init = CS_GL_NV_multisample_filter_hint; 21043 allclear = true; 21044 if (init) // Don't check the functions if ext isn't reported anyway 21045 { 21046 21047 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_multisample_filter_hint) 21048 } 21049 else 21050 { 21051 Report (msgExtNotFound, "GL", ext); 21052 } 21053 } 21054 21057 void InitGL_NV_occlusion_query () 21058 { 21059 if (tested_CS_GL_NV_occlusion_query) return; 21060 if (!extstrGL) return; 21061 tested_CS_GL_NV_occlusion_query = true; 21062 const char* ext = "GL_NV_occlusion_query"; 21063 21064 char cfgkey[26 + 21 + 1]; 21065 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21066 21067 CS_GL_NV_occlusion_query = CheckExtension (extstrGL, ext); 21068 21069 bool allclear, funcTest; 21070 (void)funcTest; // shut up "variable unused" warnings 21071 bool init = CS_GL_NV_occlusion_query; 21072 allclear = true; 21073 if (init) // Don't check the functions if ext isn't reported anyway 21074 { 21075 EXTMGR_FUNC_INIT(glGenOcclusionQueriesNV, GLGENOCCLUSIONQUERIESNV); 21076 EXTMGR_FUNC_INIT(glDeleteOcclusionQueriesNV, GLDELETEOCCLUSIONQUERIESNV); 21077 EXTMGR_FUNC_INIT(glIsOcclusionQueryNV, GLISOCCLUSIONQUERYNV); 21078 EXTMGR_FUNC_INIT(glBeginOcclusionQueryNV, GLBEGINOCCLUSIONQUERYNV); 21079 EXTMGR_FUNC_INIT(glEndOcclusionQueryNV, GLENDOCCLUSIONQUERYNV); 21080 EXTMGR_FUNC_INIT(glGetOcclusionQueryivNV, GLGETOCCLUSIONQUERYIVNV); 21081 EXTMGR_FUNC_INIT(glGetOcclusionQueryuivNV, GLGETOCCLUSIONQUERYUIVNV); 21082 21083 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_occlusion_query) 21084 } 21085 else 21086 { 21087 Report (msgExtNotFound, "GL", ext); 21088 } 21089 } 21090 21093 void InitGL_NV_packed_depth_stencil () 21094 { 21095 if (tested_CS_GL_NV_packed_depth_stencil) return; 21096 if (!extstrGL) return; 21097 tested_CS_GL_NV_packed_depth_stencil = true; 21098 const char* ext = "GL_NV_packed_depth_stencil"; 21099 21100 char cfgkey[26 + 26 + 1]; 21101 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21102 21103 CS_GL_NV_packed_depth_stencil = CheckExtension (extstrGL, ext); 21104 21105 bool allclear, funcTest; 21106 (void)funcTest; // shut up "variable unused" warnings 21107 bool init = CS_GL_NV_packed_depth_stencil; 21108 allclear = true; 21109 if (init) // Don't check the functions if ext isn't reported anyway 21110 { 21111 21112 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_packed_depth_stencil) 21113 } 21114 else 21115 { 21116 Report (msgExtNotFound, "GL", ext); 21117 } 21118 } 21119 21122 void InitGL_NV_point_sprite () 21123 { 21124 if (tested_CS_GL_NV_point_sprite) return; 21125 if (!extstrGL) return; 21126 tested_CS_GL_NV_point_sprite = true; 21127 const char* ext = "GL_NV_point_sprite"; 21128 21129 char cfgkey[26 + 18 + 1]; 21130 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21131 21132 CS_GL_NV_point_sprite = CheckExtension (extstrGL, ext); 21133 21134 bool allclear, funcTest; 21135 (void)funcTest; // shut up "variable unused" warnings 21136 bool init = CS_GL_NV_point_sprite; 21137 allclear = true; 21138 if (init) // Don't check the functions if ext isn't reported anyway 21139 { 21140 EXTMGR_FUNC_INIT(glPointParameteriNV, GLPOINTPARAMETERINV); 21141 EXTMGR_FUNC_INIT(glPointParameterivNV, GLPOINTPARAMETERIVNV); 21142 21143 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_point_sprite) 21144 } 21145 else 21146 { 21147 Report (msgExtNotFound, "GL", ext); 21148 } 21149 } 21150 21153 void InitGL_NV_register_combiners () 21154 { 21155 if (tested_CS_GL_NV_register_combiners) return; 21156 if (!extstrGL) return; 21157 tested_CS_GL_NV_register_combiners = true; 21158 const char* ext = "GL_NV_register_combiners"; 21159 21160 char cfgkey[26 + 24 + 1]; 21161 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21162 21163 CS_GL_NV_register_combiners = CheckExtension (extstrGL, ext); 21164 21165 bool allclear, funcTest; 21166 (void)funcTest; // shut up "variable unused" warnings 21167 bool init = CS_GL_NV_register_combiners; 21168 allclear = true; 21169 if (init) // Don't check the functions if ext isn't reported anyway 21170 { 21171 EXTMGR_FUNC_INIT(glCombinerParameterfvNV, GLCOMBINERPARAMETERFVNV); 21172 EXTMGR_FUNC_INIT(glCombinerParameterivNV, GLCOMBINERPARAMETERIVNV); 21173 EXTMGR_FUNC_INIT(glCombinerParameterfNV, GLCOMBINERPARAMETERFNV); 21174 EXTMGR_FUNC_INIT(glCombinerParameteriNV, GLCOMBINERPARAMETERINV); 21175 EXTMGR_FUNC_INIT(glCombinerInputNV, GLCOMBINERINPUTNV); 21176 EXTMGR_FUNC_INIT(glCombinerOutputNV, GLCOMBINEROUTPUTNV); 21177 EXTMGR_FUNC_INIT(glFinalCombinerInputNV, GLFINALCOMBINERINPUTNV); 21178 EXTMGR_FUNC_INIT(glGetCombinerInputParameterfvNV, GLGETCOMBINERINPUTPARAMETERFVNV); 21179 EXTMGR_FUNC_INIT(glGetCombinerInputParameterivNV, GLGETCOMBINERINPUTPARAMETERIVNV); 21180 EXTMGR_FUNC_INIT(glGetCombinerOutputParameterfvNV, GLGETCOMBINEROUTPUTPARAMETERFVNV); 21181 EXTMGR_FUNC_INIT(glGetCombinerOutputParameterivNV, GLGETCOMBINEROUTPUTPARAMETERIVNV); 21182 EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterfvNV, GLGETFINALCOMBINERINPUTPARAMETERFVNV); 21183 EXTMGR_FUNC_INIT(glGetFinalCombinerInputParameterivNV, GLGETFINALCOMBINERINPUTPARAMETERIVNV); 21184 21185 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners) 21186 } 21187 else 21188 { 21189 Report (msgExtNotFound, "GL", ext); 21190 } 21191 } 21192 21195 void InitGL_NV_register_combiners2 () 21196 { 21197 if (tested_CS_GL_NV_register_combiners2) return; 21198 if (!extstrGL) return; 21199 tested_CS_GL_NV_register_combiners2 = true; 21200 const char* ext = "GL_NV_register_combiners2"; 21201 21202 char cfgkey[26 + 25 + 1]; 21203 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21204 21205 CS_GL_NV_register_combiners2 = CheckExtension (extstrGL, ext); 21206 21207 bool allclear, funcTest; 21208 (void)funcTest; // shut up "variable unused" warnings 21209 bool init = CS_GL_NV_register_combiners2; 21210 allclear = true; 21211 if (init) // Don't check the functions if ext isn't reported anyway 21212 { 21213 EXTMGR_FUNC_INIT(glCombinerStageParameterfvNV, GLCOMBINERSTAGEPARAMETERFVNV); 21214 EXTMGR_FUNC_INIT(glGetCombinerStageParameterfvNV, GLGETCOMBINERSTAGEPARAMETERFVNV); 21215 21216 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_register_combiners2) 21217 } 21218 else 21219 { 21220 Report (msgExtNotFound, "GL", ext); 21221 } 21222 } 21223 21226 void InitGL_NV_texgen_emboss () 21227 { 21228 if (tested_CS_GL_NV_texgen_emboss) return; 21229 if (!extstrGL) return; 21230 tested_CS_GL_NV_texgen_emboss = true; 21231 const char* ext = "GL_NV_texgen_emboss"; 21232 21233 char cfgkey[26 + 19 + 1]; 21234 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21235 21236 CS_GL_NV_texgen_emboss = CheckExtension (extstrGL, ext); 21237 21238 bool allclear, funcTest; 21239 (void)funcTest; // shut up "variable unused" warnings 21240 bool init = CS_GL_NV_texgen_emboss; 21241 allclear = true; 21242 if (init) // Don't check the functions if ext isn't reported anyway 21243 { 21244 21245 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_emboss) 21246 } 21247 else 21248 { 21249 Report (msgExtNotFound, "GL", ext); 21250 } 21251 } 21252 21255 void InitGL_NV_texgen_reflection () 21256 { 21257 if (tested_CS_GL_NV_texgen_reflection) return; 21258 if (!extstrGL) return; 21259 tested_CS_GL_NV_texgen_reflection = true; 21260 const char* ext = "GL_NV_texgen_reflection"; 21261 21262 char cfgkey[26 + 23 + 1]; 21263 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21264 21265 CS_GL_NV_texgen_reflection = CheckExtension (extstrGL, ext); 21266 21267 bool allclear, funcTest; 21268 (void)funcTest; // shut up "variable unused" warnings 21269 bool init = CS_GL_NV_texgen_reflection; 21270 allclear = true; 21271 if (init) // Don't check the functions if ext isn't reported anyway 21272 { 21273 21274 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texgen_reflection) 21275 } 21276 else 21277 { 21278 Report (msgExtNotFound, "GL", ext); 21279 } 21280 } 21281 21284 void InitGL_NV_texture_compression_vtc () 21285 { 21286 if (tested_CS_GL_NV_texture_compression_vtc) return; 21287 if (!extstrGL) return; 21288 tested_CS_GL_NV_texture_compression_vtc = true; 21289 const char* ext = "GL_NV_texture_compression_vtc"; 21290 21291 char cfgkey[26 + 29 + 1]; 21292 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21293 21294 CS_GL_NV_texture_compression_vtc = CheckExtension (extstrGL, ext); 21295 21296 bool allclear, funcTest; 21297 (void)funcTest; // shut up "variable unused" warnings 21298 bool init = CS_GL_NV_texture_compression_vtc; 21299 allclear = true; 21300 if (init) // Don't check the functions if ext isn't reported anyway 21301 { 21302 21303 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_compression_vtc) 21304 } 21305 else 21306 { 21307 Report (msgExtNotFound, "GL", ext); 21308 } 21309 } 21310 21313 void InitGL_NV_texture_env_combine4 () 21314 { 21315 if (tested_CS_GL_NV_texture_env_combine4) return; 21316 if (!extstrGL) return; 21317 tested_CS_GL_NV_texture_env_combine4 = true; 21318 const char* ext = "GL_NV_texture_env_combine4"; 21319 21320 char cfgkey[26 + 26 + 1]; 21321 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21322 21323 CS_GL_NV_texture_env_combine4 = CheckExtension (extstrGL, ext); 21324 21325 bool allclear, funcTest; 21326 (void)funcTest; // shut up "variable unused" warnings 21327 bool init = CS_GL_NV_texture_env_combine4; 21328 allclear = true; 21329 if (init) // Don't check the functions if ext isn't reported anyway 21330 { 21331 21332 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_env_combine4) 21333 } 21334 else 21335 { 21336 Report (msgExtNotFound, "GL", ext); 21337 } 21338 } 21339 21342 void InitGL_NV_texture_rectangle () 21343 { 21344 if (tested_CS_GL_NV_texture_rectangle) return; 21345 if (!extstrGL) return; 21346 tested_CS_GL_NV_texture_rectangle = true; 21347 const char* ext = "GL_NV_texture_rectangle"; 21348 21349 char cfgkey[26 + 23 + 1]; 21350 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21351 21352 CS_GL_NV_texture_rectangle = CheckExtension (extstrGL, ext); 21353 21354 bool allclear, funcTest; 21355 (void)funcTest; // shut up "variable unused" warnings 21356 bool init = CS_GL_NV_texture_rectangle; 21357 allclear = true; 21358 if (init) // Don't check the functions if ext isn't reported anyway 21359 { 21360 21361 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_rectangle) 21362 } 21363 else 21364 { 21365 Report (msgExtNotFound, "GL", ext); 21366 } 21367 } 21368 21371 void InitGL_NV_texture_shader () 21372 { 21373 if (tested_CS_GL_NV_texture_shader) return; 21374 if (!extstrGL) return; 21375 tested_CS_GL_NV_texture_shader = true; 21376 const char* ext = "GL_NV_texture_shader"; 21377 21378 char cfgkey[26 + 20 + 1]; 21379 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21380 21381 CS_GL_NV_texture_shader = CheckExtension (extstrGL, ext); 21382 21383 bool allclear, funcTest; 21384 (void)funcTest; // shut up "variable unused" warnings 21385 bool init = CS_GL_NV_texture_shader; 21386 allclear = true; 21387 if (init) // Don't check the functions if ext isn't reported anyway 21388 { 21389 21390 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader) 21391 } 21392 else 21393 { 21394 Report (msgExtNotFound, "GL", ext); 21395 } 21396 } 21397 21400 void InitGL_NV_texture_shader2 () 21401 { 21402 if (tested_CS_GL_NV_texture_shader2) return; 21403 if (!extstrGL) return; 21404 tested_CS_GL_NV_texture_shader2 = true; 21405 const char* ext = "GL_NV_texture_shader2"; 21406 21407 char cfgkey[26 + 21 + 1]; 21408 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21409 21410 CS_GL_NV_texture_shader2 = CheckExtension (extstrGL, ext); 21411 21412 bool allclear, funcTest; 21413 (void)funcTest; // shut up "variable unused" warnings 21414 bool init = CS_GL_NV_texture_shader2; 21415 allclear = true; 21416 if (init) // Don't check the functions if ext isn't reported anyway 21417 { 21418 21419 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader2) 21420 } 21421 else 21422 { 21423 Report (msgExtNotFound, "GL", ext); 21424 } 21425 } 21426 21429 void InitGL_NV_texture_shader3 () 21430 { 21431 if (tested_CS_GL_NV_texture_shader3) return; 21432 if (!extstrGL) return; 21433 tested_CS_GL_NV_texture_shader3 = true; 21434 const char* ext = "GL_NV_texture_shader3"; 21435 21436 char cfgkey[26 + 21 + 1]; 21437 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21438 21439 CS_GL_NV_texture_shader3 = CheckExtension (extstrGL, ext); 21440 21441 bool allclear, funcTest; 21442 (void)funcTest; // shut up "variable unused" warnings 21443 bool init = CS_GL_NV_texture_shader3; 21444 allclear = true; 21445 if (init) // Don't check the functions if ext isn't reported anyway 21446 { 21447 21448 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_texture_shader3) 21449 } 21450 else 21451 { 21452 Report (msgExtNotFound, "GL", ext); 21453 } 21454 } 21455 21458 void InitGL_NV_vertex_array_range () 21459 { 21460 if (tested_CS_GL_NV_vertex_array_range) return; 21461 if (!extstrGL) return; 21462 tested_CS_GL_NV_vertex_array_range = true; 21463 const char* ext = "GL_NV_vertex_array_range"; 21464 21465 char cfgkey[26 + 24 + 1]; 21466 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21467 21468 CS_GL_NV_vertex_array_range = CheckExtension (extstrGL, ext); 21469 21470 bool allclear, funcTest; 21471 (void)funcTest; // shut up "variable unused" warnings 21472 bool init = CS_GL_NV_vertex_array_range; 21473 allclear = true; 21474 if (init) // Don't check the functions if ext isn't reported anyway 21475 { 21476 EXTMGR_FUNC_INIT(glVertexArrayRangeNV, GLVERTEXARRAYRANGENV); 21477 EXTMGR_FUNC_INIT(glFlushVertexArrayRangeNV, GLFLUSHVERTEXARRAYRANGENV); 21478 EXTMGR_FUNC_INIT(wglAllocateMemoryNV, WGLALLOCATEMEMORYNV); 21479 EXTMGR_FUNC_INIT(wglFreeMemoryNV, WGLFREEMEMORYNV); 21480 21481 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range) 21482 } 21483 else 21484 { 21485 Report (msgExtNotFound, "GL", ext); 21486 } 21487 } 21488 21491 void InitGL_NV_vertex_array_range2 () 21492 { 21493 if (tested_CS_GL_NV_vertex_array_range2) return; 21494 if (!extstrGL) return; 21495 tested_CS_GL_NV_vertex_array_range2 = true; 21496 const char* ext = "GL_NV_vertex_array_range2"; 21497 21498 char cfgkey[26 + 25 + 1]; 21499 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21500 21501 CS_GL_NV_vertex_array_range2 = CheckExtension (extstrGL, ext); 21502 21503 bool allclear, funcTest; 21504 (void)funcTest; // shut up "variable unused" warnings 21505 bool init = CS_GL_NV_vertex_array_range2; 21506 allclear = true; 21507 if (init) // Don't check the functions if ext isn't reported anyway 21508 { 21509 21510 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_array_range2) 21511 } 21512 else 21513 { 21514 Report (msgExtNotFound, "GL", ext); 21515 } 21516 } 21517 21520 void InitGL_NV_vertex_program () 21521 { 21522 if (tested_CS_GL_NV_vertex_program) return; 21523 if (!extstrGL) return; 21524 tested_CS_GL_NV_vertex_program = true; 21525 const char* ext = "GL_NV_vertex_program"; 21526 21527 char cfgkey[26 + 20 + 1]; 21528 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21529 21530 CS_GL_NV_vertex_program = CheckExtension (extstrGL, ext); 21531 21532 bool allclear, funcTest; 21533 (void)funcTest; // shut up "variable unused" warnings 21534 bool init = CS_GL_NV_vertex_program; 21535 allclear = true; 21536 if (init) // Don't check the functions if ext isn't reported anyway 21537 { 21538 EXTMGR_FUNC_INIT(glBindProgramNV, GLBINDPROGRAMNV); 21539 EXTMGR_FUNC_INIT(glDeleteProgramsNV, GLDELETEPROGRAMSNV); 21540 EXTMGR_FUNC_INIT(glExecuteProgramNV, GLEXECUTEPROGRAMNV); 21541 EXTMGR_FUNC_INIT(glGenProgramsNV, GLGENPROGRAMSNV); 21542 EXTMGR_FUNC_INIT(glAreProgramsResidentNV, GLAREPROGRAMSRESIDENTNV); 21543 EXTMGR_FUNC_INIT(glRequestResidentProgramsNV, GLREQUESTRESIDENTPROGRAMSNV); 21544 EXTMGR_FUNC_INIT(glGetProgramParameterfvNV, GLGETPROGRAMPARAMETERFVNV); 21545 EXTMGR_FUNC_INIT(glGetProgramParameterdvNV, GLGETPROGRAMPARAMETERDVNV); 21546 EXTMGR_FUNC_INIT(glGetProgramivNV, GLGETPROGRAMIVNV); 21547 EXTMGR_FUNC_INIT(glGetProgramStringNV, GLGETPROGRAMSTRINGNV); 21548 EXTMGR_FUNC_INIT(glGetTrackMatrixivNV, GLGETTRACKMATRIXIVNV); 21549 EXTMGR_FUNC_INIT(glGetVertexAttribdvNV, GLGETVERTEXATTRIBDVNV); 21550 EXTMGR_FUNC_INIT(glGetVertexAttribfvNV, GLGETVERTEXATTRIBFVNV); 21551 EXTMGR_FUNC_INIT(glGetVertexAttribivNV, GLGETVERTEXATTRIBIVNV); 21552 EXTMGR_FUNC_INIT(glGetVertexAttribPointervNV, GLGETVERTEXATTRIBPOINTERVNV); 21553 EXTMGR_FUNC_INIT(glIsProgramNV, GLISPROGRAMNV); 21554 EXTMGR_FUNC_INIT(glLoadProgramNV, GLLOADPROGRAMNV); 21555 EXTMGR_FUNC_INIT(glProgramParameter4fNV, GLPROGRAMPARAMETER4FNV); 21556 EXTMGR_FUNC_INIT(glProgramParameter4fvNV, GLPROGRAMPARAMETER4FVNV); 21557 EXTMGR_FUNC_INIT(glProgramParameters4dvNV, GLPROGRAMPARAMETERS4DVNV); 21558 EXTMGR_FUNC_INIT(glProgramParameters4fvNV, GLPROGRAMPARAMETERS4FVNV); 21559 EXTMGR_FUNC_INIT(glTrackMatrixNV, GLTRACKMATRIXNV); 21560 EXTMGR_FUNC_INIT(glVertexAttribPointerNV, GLVERTEXATTRIBPOINTERNV); 21561 EXTMGR_FUNC_INIT(glVertexAttrib1sNV, GLVERTEXATTRIB1SNV); 21562 EXTMGR_FUNC_INIT(glVertexAttrib1fNV, GLVERTEXATTRIB1FNV); 21563 EXTMGR_FUNC_INIT(glVertexAttrib1dNV, GLVERTEXATTRIB1DNV); 21564 EXTMGR_FUNC_INIT(glVertexAttrib2sNV, GLVERTEXATTRIB2SNV); 21565 EXTMGR_FUNC_INIT(glVertexAttrib2fNV, GLVERTEXATTRIB2FNV); 21566 EXTMGR_FUNC_INIT(glVertexAttrib2dNV, GLVERTEXATTRIB2DNV); 21567 EXTMGR_FUNC_INIT(glVertexAttrib3sNV, GLVERTEXATTRIB3SNV); 21568 EXTMGR_FUNC_INIT(glVertexAttrib3fNV, GLVERTEXATTRIB3FNV); 21569 EXTMGR_FUNC_INIT(glVertexAttrib3dNV, GLVERTEXATTRIB3DNV); 21570 EXTMGR_FUNC_INIT(glVertexAttrib4sNV, GLVERTEXATTRIB4SNV); 21571 EXTMGR_FUNC_INIT(glVertexAttrib4fNV, GLVERTEXATTRIB4FNV); 21572 EXTMGR_FUNC_INIT(glVertexAttrib4dNV, GLVERTEXATTRIB4DNV); 21573 EXTMGR_FUNC_INIT(glVertexAttrib4ubNV, GLVERTEXATTRIB4UBNV); 21574 EXTMGR_FUNC_INIT(glVertexAttrib1svNV, GLVERTEXATTRIB1SVNV); 21575 EXTMGR_FUNC_INIT(glVertexAttrib1fvNV, GLVERTEXATTRIB1FVNV); 21576 EXTMGR_FUNC_INIT(glVertexAttrib1dvNV, GLVERTEXATTRIB1DVNV); 21577 EXTMGR_FUNC_INIT(glVertexAttrib2svNV, GLVERTEXATTRIB2SVNV); 21578 EXTMGR_FUNC_INIT(glVertexAttrib2fvNV, GLVERTEXATTRIB2FVNV); 21579 EXTMGR_FUNC_INIT(glVertexAttrib2dvNV, GLVERTEXATTRIB2DVNV); 21580 EXTMGR_FUNC_INIT(glVertexAttrib3svNV, GLVERTEXATTRIB3SVNV); 21581 EXTMGR_FUNC_INIT(glVertexAttrib3fvNV, GLVERTEXATTRIB3FVNV); 21582 EXTMGR_FUNC_INIT(glVertexAttrib3dvNV, GLVERTEXATTRIB3DVNV); 21583 EXTMGR_FUNC_INIT(glVertexAttrib4svNV, GLVERTEXATTRIB4SVNV); 21584 EXTMGR_FUNC_INIT(glVertexAttrib4fvNV, GLVERTEXATTRIB4FVNV); 21585 EXTMGR_FUNC_INIT(glVertexAttrib4dvNV, GLVERTEXATTRIB4DVNV); 21586 EXTMGR_FUNC_INIT(glVertexAttrib4ubvNV, GLVERTEXATTRIB4UBVNV); 21587 EXTMGR_FUNC_INIT(glVertexAttribs1svNV, GLVERTEXATTRIBS1SVNV); 21588 EXTMGR_FUNC_INIT(glVertexAttribs1fvNV, GLVERTEXATTRIBS1FVNV); 21589 EXTMGR_FUNC_INIT(glVertexAttribs1dvNV, GLVERTEXATTRIBS1DVNV); 21590 EXTMGR_FUNC_INIT(glVertexAttribs2svNV, GLVERTEXATTRIBS2SVNV); 21591 EXTMGR_FUNC_INIT(glVertexAttribs2fvNV, GLVERTEXATTRIBS2FVNV); 21592 EXTMGR_FUNC_INIT(glVertexAttribs2dvNV, GLVERTEXATTRIBS2DVNV); 21593 EXTMGR_FUNC_INIT(glVertexAttribs3svNV, GLVERTEXATTRIBS3SVNV); 21594 EXTMGR_FUNC_INIT(glVertexAttribs3fvNV, GLVERTEXATTRIBS3FVNV); 21595 EXTMGR_FUNC_INIT(glVertexAttribs3dvNV, GLVERTEXATTRIBS3DVNV); 21596 EXTMGR_FUNC_INIT(glVertexAttribs4svNV, GLVERTEXATTRIBS4SVNV); 21597 EXTMGR_FUNC_INIT(glVertexAttribs4fvNV, GLVERTEXATTRIBS4FVNV); 21598 EXTMGR_FUNC_INIT(glVertexAttribs4dvNV, GLVERTEXATTRIBS4DVNV); 21599 EXTMGR_FUNC_INIT(glVertexAttribs4ubvNV, GLVERTEXATTRIBS4UBVNV); 21600 21601 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program) 21602 } 21603 else 21604 { 21605 Report (msgExtNotFound, "GL", ext); 21606 } 21607 } 21608 21611 void InitGL_NV_vertex_program1_1 () 21612 { 21613 if (tested_CS_GL_NV_vertex_program1_1) return; 21614 if (!extstrGL) return; 21615 tested_CS_GL_NV_vertex_program1_1 = true; 21616 const char* ext = "GL_NV_vertex_program1_1"; 21617 21618 char cfgkey[26 + 23 + 1]; 21619 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21620 21621 CS_GL_NV_vertex_program1_1 = CheckExtension (extstrGL, ext); 21622 21623 bool allclear, funcTest; 21624 (void)funcTest; // shut up "variable unused" warnings 21625 bool init = CS_GL_NV_vertex_program1_1; 21626 allclear = true; 21627 if (init) // Don't check the functions if ext isn't reported anyway 21628 { 21629 21630 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program1_1) 21631 } 21632 else 21633 { 21634 Report (msgExtNotFound, "GL", ext); 21635 } 21636 } 21637 21640 void InitGL_ATI_element_array () 21641 { 21642 if (tested_CS_GL_ATI_element_array) return; 21643 if (!extstrGL) return; 21644 tested_CS_GL_ATI_element_array = true; 21645 const char* ext = "GL_ATI_element_array"; 21646 21647 char cfgkey[26 + 20 + 1]; 21648 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21649 21650 CS_GL_ATI_element_array = CheckExtension (extstrGL, ext); 21651 21652 bool allclear, funcTest; 21653 (void)funcTest; // shut up "variable unused" warnings 21654 bool init = CS_GL_ATI_element_array; 21655 allclear = true; 21656 if (init) // Don't check the functions if ext isn't reported anyway 21657 { 21658 EXTMGR_FUNC_INIT(glElementPointerATI, GLELEMENTPOINTERATI); 21659 EXTMGR_FUNC_INIT(glDrawElementArrayATI, GLDRAWELEMENTARRAYATI); 21660 EXTMGR_FUNC_INIT(glDrawRangeElementArrayATI, GLDRAWRANGEELEMENTARRAYATI); 21661 21662 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_element_array) 21663 } 21664 else 21665 { 21666 Report (msgExtNotFound, "GL", ext); 21667 } 21668 } 21669 21672 void InitGL_ATI_envmap_bumpmap () 21673 { 21674 if (tested_CS_GL_ATI_envmap_bumpmap) return; 21675 if (!extstrGL) return; 21676 tested_CS_GL_ATI_envmap_bumpmap = true; 21677 const char* ext = "GL_ATI_envmap_bumpmap"; 21678 21679 char cfgkey[26 + 21 + 1]; 21680 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21681 21682 CS_GL_ATI_envmap_bumpmap = CheckExtension (extstrGL, ext); 21683 21684 bool allclear, funcTest; 21685 (void)funcTest; // shut up "variable unused" warnings 21686 bool init = CS_GL_ATI_envmap_bumpmap; 21687 allclear = true; 21688 if (init) // Don't check the functions if ext isn't reported anyway 21689 { 21690 EXTMGR_FUNC_INIT(glTexBumpParameterivATI, GLTEXBUMPPARAMETERIVATI); 21691 EXTMGR_FUNC_INIT(glTexBumpParameterfvATI, GLTEXBUMPPARAMETERFVATI); 21692 EXTMGR_FUNC_INIT(glGetTexBumpParameterivATI, GLGETTEXBUMPPARAMETERIVATI); 21693 EXTMGR_FUNC_INIT(glGetTexBumpParameterfvATI, GLGETTEXBUMPPARAMETERFVATI); 21694 21695 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_envmap_bumpmap) 21696 } 21697 else 21698 { 21699 Report (msgExtNotFound, "GL", ext); 21700 } 21701 } 21702 21705 void InitGL_ATI_fragment_shader () 21706 { 21707 if (tested_CS_GL_ATI_fragment_shader) return; 21708 if (!extstrGL) return; 21709 tested_CS_GL_ATI_fragment_shader = true; 21710 const char* ext = "GL_ATI_fragment_shader"; 21711 21712 char cfgkey[26 + 22 + 1]; 21713 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21714 21715 CS_GL_ATI_fragment_shader = CheckExtension (extstrGL, ext); 21716 21717 bool allclear, funcTest; 21718 (void)funcTest; // shut up "variable unused" warnings 21719 bool init = CS_GL_ATI_fragment_shader; 21720 allclear = true; 21721 if (init) // Don't check the functions if ext isn't reported anyway 21722 { 21723 EXTMGR_FUNC_INIT(glGenFragmentShadersATI, GLGENFRAGMENTSHADERSATI); 21724 EXTMGR_FUNC_INIT(glBindFragmentShaderATI, GLBINDFRAGMENTSHADERATI); 21725 EXTMGR_FUNC_INIT(glDeleteFragmentShaderATI, GLDELETEFRAGMENTSHADERATI); 21726 EXTMGR_FUNC_INIT(glBeginFragmentShaderATI, GLBEGINFRAGMENTSHADERATI); 21727 EXTMGR_FUNC_INIT(glEndFragmentShaderATI, GLENDFRAGMENTSHADERATI); 21728 EXTMGR_FUNC_INIT(glPassTexCoordATI, GLPASSTEXCOORDATI); 21729 EXTMGR_FUNC_INIT(glSampleMapATI, GLSAMPLEMAPATI); 21730 EXTMGR_FUNC_INIT(glColorFragmentOp1ATI, GLCOLORFRAGMENTOP1ATI); 21731 EXTMGR_FUNC_INIT(glColorFragmentOp2ATI, GLCOLORFRAGMENTOP2ATI); 21732 EXTMGR_FUNC_INIT(glColorFragmentOp3ATI, GLCOLORFRAGMENTOP3ATI); 21733 EXTMGR_FUNC_INIT(glAlphaFragmentOp1ATI, GLALPHAFRAGMENTOP1ATI); 21734 EXTMGR_FUNC_INIT(glAlphaFragmentOp2ATI, GLALPHAFRAGMENTOP2ATI); 21735 EXTMGR_FUNC_INIT(glAlphaFragmentOp3ATI, GLALPHAFRAGMENTOP3ATI); 21736 EXTMGR_FUNC_INIT(glSetFragmentShaderConstantATI, GLSETFRAGMENTSHADERCONSTANTATI); 21737 21738 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_fragment_shader) 21739 } 21740 else 21741 { 21742 Report (msgExtNotFound, "GL", ext); 21743 } 21744 } 21745 21748 void InitGL_ATI_pn_triangles () 21749 { 21750 if (tested_CS_GL_ATI_pn_triangles) return; 21751 if (!extstrGL) return; 21752 tested_CS_GL_ATI_pn_triangles = true; 21753 const char* ext = "GL_ATI_pn_triangles"; 21754 21755 char cfgkey[26 + 19 + 1]; 21756 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21757 21758 CS_GL_ATI_pn_triangles = CheckExtension (extstrGL, ext); 21759 21760 bool allclear, funcTest; 21761 (void)funcTest; // shut up "variable unused" warnings 21762 bool init = CS_GL_ATI_pn_triangles; 21763 allclear = true; 21764 if (init) // Don't check the functions if ext isn't reported anyway 21765 { 21766 EXTMGR_FUNC_INIT(glPNTrianglesiATI, GLPNTRIANGLESIATI); 21767 EXTMGR_FUNC_INIT(glPNTrianglesfATI, GLPNTRIANGLESFATI); 21768 21769 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_pn_triangles) 21770 } 21771 else 21772 { 21773 Report (msgExtNotFound, "GL", ext); 21774 } 21775 } 21776 21779 void InitGL_ATI_texture_mirror_once () 21780 { 21781 if (tested_CS_GL_ATI_texture_mirror_once) return; 21782 if (!extstrGL) return; 21783 tested_CS_GL_ATI_texture_mirror_once = true; 21784 const char* ext = "GL_ATI_texture_mirror_once"; 21785 21786 char cfgkey[26 + 26 + 1]; 21787 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21788 21789 CS_GL_ATI_texture_mirror_once = CheckExtension (extstrGL, ext); 21790 21791 bool allclear, funcTest; 21792 (void)funcTest; // shut up "variable unused" warnings 21793 bool init = CS_GL_ATI_texture_mirror_once; 21794 allclear = true; 21795 if (init) // Don't check the functions if ext isn't reported anyway 21796 { 21797 21798 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_texture_mirror_once) 21799 } 21800 else 21801 { 21802 Report (msgExtNotFound, "GL", ext); 21803 } 21804 } 21805 21808 void InitGL_ATI_vertex_array_object () 21809 { 21810 if (tested_CS_GL_ATI_vertex_array_object) return; 21811 if (!extstrGL) return; 21812 tested_CS_GL_ATI_vertex_array_object = true; 21813 const char* ext = "GL_ATI_vertex_array_object"; 21814 21815 char cfgkey[26 + 26 + 1]; 21816 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21817 21818 CS_GL_ATI_vertex_array_object = CheckExtension (extstrGL, ext); 21819 21820 bool allclear, funcTest; 21821 (void)funcTest; // shut up "variable unused" warnings 21822 bool init = CS_GL_ATI_vertex_array_object; 21823 allclear = true; 21824 if (init) // Don't check the functions if ext isn't reported anyway 21825 { 21826 EXTMGR_FUNC_INIT(glNewObjectBufferATI, GLNEWOBJECTBUFFERATI); 21827 EXTMGR_FUNC_INIT(glIsObjectBufferATI, GLISOBJECTBUFFERATI); 21828 EXTMGR_FUNC_INIT(glUpdateObjectBufferATI, GLUPDATEOBJECTBUFFERATI); 21829 EXTMGR_FUNC_INIT(glGetObjectBufferfvATI, GLGETOBJECTBUFFERFVATI); 21830 EXTMGR_FUNC_INIT(glGetObjectBufferivATI, GLGETOBJECTBUFFERIVATI); 21831 EXTMGR_FUNC_INIT(glFreeObjectBufferATI, GLFREEOBJECTBUFFERATI); 21832 EXTMGR_FUNC_INIT(glArrayObjectATI, GLARRAYOBJECTATI); 21833 EXTMGR_FUNC_INIT(glGetArrayObjectfvATI, GLGETARRAYOBJECTFVATI); 21834 EXTMGR_FUNC_INIT(glGetArrayObjectivATI, GLGETARRAYOBJECTIVATI); 21835 EXTMGR_FUNC_INIT(glVariantArrayObjectATI, GLVARIANTARRAYOBJECTATI); 21836 EXTMGR_FUNC_INIT(glGetVariantArrayObjectfvATI, GLGETVARIANTARRAYOBJECTFVATI); 21837 EXTMGR_FUNC_INIT(glGetVariantArrayObjectivATI, GLGETVARIANTARRAYOBJECTIVATI); 21838 21839 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_array_object) 21840 } 21841 else 21842 { 21843 Report (msgExtNotFound, "GL", ext); 21844 } 21845 } 21846 21849 void InitGL_ATI_vertex_attrib_array_object () 21850 { 21851 if (tested_CS_GL_ATI_vertex_attrib_array_object) return; 21852 if (!extstrGL) return; 21853 tested_CS_GL_ATI_vertex_attrib_array_object = true; 21854 const char* ext = "GL_ATI_vertex_attrib_array_object"; 21855 21856 char cfgkey[26 + 33 + 1]; 21857 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21858 21859 CS_GL_ATI_vertex_attrib_array_object = CheckExtension (extstrGL, ext); 21860 21861 bool allclear, funcTest; 21862 (void)funcTest; // shut up "variable unused" warnings 21863 bool init = CS_GL_ATI_vertex_attrib_array_object; 21864 allclear = true; 21865 if (init) // Don't check the functions if ext isn't reported anyway 21866 { 21867 EXTMGR_FUNC_INIT(glVertexAttribArrayObjectATI, GLVERTEXATTRIBARRAYOBJECTATI); 21868 EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectfvATI, GLGETVERTEXATTRIBARRAYOBJECTFVATI); 21869 EXTMGR_FUNC_INIT(glGetVertexAttribArrayObjectivATI, GLGETVERTEXATTRIBARRAYOBJECTIVATI); 21870 21871 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_attrib_array_object) 21872 } 21873 else 21874 { 21875 Report (msgExtNotFound, "GL", ext); 21876 } 21877 } 21878 21881 void InitGL_ATI_vertex_streams () 21882 { 21883 if (tested_CS_GL_ATI_vertex_streams) return; 21884 if (!extstrGL) return; 21885 tested_CS_GL_ATI_vertex_streams = true; 21886 const char* ext = "GL_ATI_vertex_streams"; 21887 21888 char cfgkey[26 + 21 + 1]; 21889 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21890 21891 CS_GL_ATI_vertex_streams = CheckExtension (extstrGL, ext); 21892 21893 bool allclear, funcTest; 21894 (void)funcTest; // shut up "variable unused" warnings 21895 bool init = CS_GL_ATI_vertex_streams; 21896 allclear = true; 21897 if (init) // Don't check the functions if ext isn't reported anyway 21898 { 21899 EXTMGR_FUNC_INIT(glVertexStream1s, GLVERTEXSTREAM1S); 21900 EXTMGR_FUNC_INIT(glVertexStream1i, GLVERTEXSTREAM1I); 21901 EXTMGR_FUNC_INIT(glVertexStream1f, GLVERTEXSTREAM1F); 21902 EXTMGR_FUNC_INIT(glVertexStream1d, GLVERTEXSTREAM1D); 21903 EXTMGR_FUNC_INIT(glVertexStream1sv, GLVERTEXSTREAM1SV); 21904 EXTMGR_FUNC_INIT(glVertexStream1iv, GLVERTEXSTREAM1IV); 21905 EXTMGR_FUNC_INIT(glVertexStream1fv, GLVERTEXSTREAM1FV); 21906 EXTMGR_FUNC_INIT(glVertexStream1dv, GLVERTEXSTREAM1DV); 21907 EXTMGR_FUNC_INIT(glVertexStream2s, GLVERTEXSTREAM2S); 21908 EXTMGR_FUNC_INIT(glVertexStream2i, GLVERTEXSTREAM2I); 21909 EXTMGR_FUNC_INIT(glVertexStream2f, GLVERTEXSTREAM2F); 21910 EXTMGR_FUNC_INIT(glVertexStream2d, GLVERTEXSTREAM2D); 21911 EXTMGR_FUNC_INIT(glVertexStream2sv, GLVERTEXSTREAM2SV); 21912 EXTMGR_FUNC_INIT(glVertexStream2iv, GLVERTEXSTREAM2IV); 21913 EXTMGR_FUNC_INIT(glVertexStream2fv, GLVERTEXSTREAM2FV); 21914 EXTMGR_FUNC_INIT(glVertexStream2dv, GLVERTEXSTREAM2DV); 21915 EXTMGR_FUNC_INIT(glVertexStream3s, GLVERTEXSTREAM3S); 21916 EXTMGR_FUNC_INIT(glVertexStream3i, GLVERTEXSTREAM3I); 21917 EXTMGR_FUNC_INIT(glVertexStream3f, GLVERTEXSTREAM3F); 21918 EXTMGR_FUNC_INIT(glVertexStream3d, GLVERTEXSTREAM3D); 21919 EXTMGR_FUNC_INIT(glVertexStream3sv, GLVERTEXSTREAM3SV); 21920 EXTMGR_FUNC_INIT(glVertexStream3iv, GLVERTEXSTREAM3IV); 21921 EXTMGR_FUNC_INIT(glVertexStream3fv, GLVERTEXSTREAM3FV); 21922 EXTMGR_FUNC_INIT(glVertexStream3dv, GLVERTEXSTREAM3DV); 21923 EXTMGR_FUNC_INIT(glVertexStream4s, GLVERTEXSTREAM4S); 21924 EXTMGR_FUNC_INIT(glVertexStream4i, GLVERTEXSTREAM4I); 21925 EXTMGR_FUNC_INIT(glVertexStream4f, GLVERTEXSTREAM4F); 21926 EXTMGR_FUNC_INIT(glVertexStream4d, GLVERTEXSTREAM4D); 21927 EXTMGR_FUNC_INIT(glVertexStream4sv, GLVERTEXSTREAM4SV); 21928 EXTMGR_FUNC_INIT(glVertexStream4iv, GLVERTEXSTREAM4IV); 21929 EXTMGR_FUNC_INIT(glVertexStream4fv, GLVERTEXSTREAM4FV); 21930 EXTMGR_FUNC_INIT(glVertexStream4dv, GLVERTEXSTREAM4DV); 21931 EXTMGR_FUNC_INIT(glNormalStream3b, GLNORMALSTREAM3B); 21932 EXTMGR_FUNC_INIT(glNormalStream3s, GLNORMALSTREAM3S); 21933 EXTMGR_FUNC_INIT(glNormalStream3i, GLNORMALSTREAM3I); 21934 EXTMGR_FUNC_INIT(glNormalStream3f, GLNORMALSTREAM3F); 21935 EXTMGR_FUNC_INIT(glNormalStream3d, GLNORMALSTREAM3D); 21936 EXTMGR_FUNC_INIT(glNormalStream3bv, GLNORMALSTREAM3BV); 21937 EXTMGR_FUNC_INIT(glNormalStream3sv, GLNORMALSTREAM3SV); 21938 EXTMGR_FUNC_INIT(glNormalStream3iv, GLNORMALSTREAM3IV); 21939 EXTMGR_FUNC_INIT(glNormalStream3fv, GLNORMALSTREAM3FV); 21940 EXTMGR_FUNC_INIT(glNormalStream3dv, GLNORMALSTREAM3DV); 21941 EXTMGR_FUNC_INIT(glClientActiveVertexStream, GLCLIENTACTIVEVERTEXSTREAM); 21942 EXTMGR_FUNC_INIT(glVertexBlendEnvi, GLVERTEXBLENDENVI); 21943 EXTMGR_FUNC_INIT(glVertexBlendEnvf, GLVERTEXBLENDENVF); 21944 21945 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_vertex_streams) 21946 } 21947 else 21948 { 21949 Report (msgExtNotFound, "GL", ext); 21950 } 21951 } 21952 21953 #ifdef _WIN32 21954 21956 void InitWGL_I3D_image_buffer (HDC hDC) 21957 { 21958 if (tested_CS_WGL_I3D_image_buffer) return; 21959 tested_CS_WGL_I3D_image_buffer = true; 21960 const char* ext = "WGL_I3D_image_buffer"; 21961 char cfgkey[26 + 20 + 1]; 21962 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 21963 21964 (void)hDC; // avoid `unused variable' warning. 21965 SetupWGLextStr (hDC); 21966 if (!extstrWGL) return; 21967 CS_WGL_I3D_image_buffer = CheckExtension (extstrWGL, ext); 21968 21969 bool allclear, funcTest; 21970 (void)funcTest; // avoid `unused variable' warning. 21971 bool init = CS_WGL_I3D_image_buffer; 21972 allclear = true; 21973 if (init) 21974 { 21975 EXTMGR_FUNC_INIT(wglCreateImageBufferI3D, WGLCREATEIMAGEBUFFERI3D); 21976 EXTMGR_FUNC_INIT(wglDestroyImageBufferI3D, WGLDESTROYIMAGEBUFFERI3D); 21977 EXTMGR_FUNC_INIT(wglAssociateImageBufferEventsI3D, WGLASSOCIATEIMAGEBUFFEREVENTSI3D); 21978 EXTMGR_FUNC_INIT(wglReleaseImageBufferEventsI3D, WGLRELEASEIMAGEBUFFEREVENTSI3D); 21979 21980 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_image_buffer) 21981 CS_WGL_I3D_image_buffer &= allclear; 21982 } 21983 else 21984 { 21985 Report (msgExtNotFound, "WGL", ext); 21986 } 21987 } 21988 #endif 21989 21990 #ifdef _WIN32 21991 21993 void InitWGL_I3D_swap_frame_lock (HDC hDC) 21994 { 21995 if (tested_CS_WGL_I3D_swap_frame_lock) return; 21996 tested_CS_WGL_I3D_swap_frame_lock = true; 21997 const char* ext = "WGL_I3D_swap_frame_lock"; 21998 char cfgkey[26 + 23 + 1]; 21999 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22000 22001 (void)hDC; // avoid `unused variable' warning. 22002 SetupWGLextStr (hDC); 22003 if (!extstrWGL) return; 22004 CS_WGL_I3D_swap_frame_lock = CheckExtension (extstrWGL, ext); 22005 22006 bool allclear, funcTest; 22007 (void)funcTest; // avoid `unused variable' warning. 22008 bool init = CS_WGL_I3D_swap_frame_lock; 22009 allclear = true; 22010 if (init) 22011 { 22012 EXTMGR_FUNC_INIT(wglEnableFrameLockI3D, WGLENABLEFRAMELOCKI3D); 22013 EXTMGR_FUNC_INIT(wglDisableFrameLockI3D, WGLDISABLEFRAMELOCKI3D); 22014 EXTMGR_FUNC_INIT(wglIsEnabledFrameLockI3D, WGLISENABLEDFRAMELOCKI3D); 22015 EXTMGR_FUNC_INIT(wglQueryFrameLockMasterI3D, WGLQUERYFRAMELOCKMASTERI3D); 22016 22017 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_lock) 22018 CS_WGL_I3D_swap_frame_lock &= allclear; 22019 } 22020 else 22021 { 22022 Report (msgExtNotFound, "WGL", ext); 22023 } 22024 } 22025 #endif 22026 22027 #ifdef _WIN32 22028 22030 void InitWGL_I3D_swap_frame_usage (HDC hDC) 22031 { 22032 if (tested_CS_WGL_I3D_swap_frame_usage) return; 22033 tested_CS_WGL_I3D_swap_frame_usage = true; 22034 const char* ext = "WGL_I3D_swap_frame_usage"; 22035 char cfgkey[26 + 24 + 1]; 22036 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22037 22038 (void)hDC; // avoid `unused variable' warning. 22039 SetupWGLextStr (hDC); 22040 if (!extstrWGL) return; 22041 CS_WGL_I3D_swap_frame_usage = CheckExtension (extstrWGL, ext); 22042 22043 bool allclear, funcTest; 22044 (void)funcTest; // avoid `unused variable' warning. 22045 bool init = CS_WGL_I3D_swap_frame_usage; 22046 allclear = true; 22047 if (init) 22048 { 22049 EXTMGR_FUNC_INIT(wglGetFrameUsageI3D, WGLGETFRAMEUSAGEI3D); 22050 EXTMGR_FUNC_INIT(wglBeginFrameTrackingI3D, WGLBEGINFRAMETRACKINGI3D); 22051 EXTMGR_FUNC_INIT(wglEndFrameTrackingI3D, WGLENDFRAMETRACKINGI3D); 22052 EXTMGR_FUNC_INIT(wglQueryFrameTrackingI3D, WGLQUERYFRAMETRACKINGI3D); 22053 22054 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_swap_frame_usage) 22055 CS_WGL_I3D_swap_frame_usage &= allclear; 22056 } 22057 else 22058 { 22059 Report (msgExtNotFound, "WGL", ext); 22060 } 22061 } 22062 #endif 22063 22066 void InitGL_3DFX_texture_compression_FXT1 () 22067 { 22068 if (tested_CS_GL_3DFX_texture_compression_FXT1) return; 22069 if (!extstrGL) return; 22070 tested_CS_GL_3DFX_texture_compression_FXT1 = true; 22071 const char* ext = "GL_3DFX_texture_compression_FXT1"; 22072 22073 char cfgkey[26 + 32 + 1]; 22074 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22075 22076 CS_GL_3DFX_texture_compression_FXT1 = CheckExtension (extstrGL, ext); 22077 22078 bool allclear, funcTest; 22079 (void)funcTest; // shut up "variable unused" warnings 22080 bool init = CS_GL_3DFX_texture_compression_FXT1; 22081 allclear = true; 22082 if (init) // Don't check the functions if ext isn't reported anyway 22083 { 22084 22085 EXTMGR_REPORT_INIT_RESULT("GL", GL_3DFX_texture_compression_FXT1) 22086 } 22087 else 22088 { 22089 Report (msgExtNotFound, "GL", ext); 22090 } 22091 } 22092 22095 void InitGL_IBM_cull_vertex () 22096 { 22097 if (tested_CS_GL_IBM_cull_vertex) return; 22098 if (!extstrGL) return; 22099 tested_CS_GL_IBM_cull_vertex = true; 22100 const char* ext = "GL_IBM_cull_vertex"; 22101 22102 char cfgkey[26 + 18 + 1]; 22103 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22104 22105 CS_GL_IBM_cull_vertex = CheckExtension (extstrGL, ext); 22106 22107 bool allclear, funcTest; 22108 (void)funcTest; // shut up "variable unused" warnings 22109 bool init = CS_GL_IBM_cull_vertex; 22110 allclear = true; 22111 if (init) // Don't check the functions if ext isn't reported anyway 22112 { 22113 22114 EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_cull_vertex) 22115 } 22116 else 22117 { 22118 Report (msgExtNotFound, "GL", ext); 22119 } 22120 } 22121 22124 void InitGL_IBM_multimode_draw_arrays () 22125 { 22126 if (tested_CS_GL_IBM_multimode_draw_arrays) return; 22127 if (!extstrGL) return; 22128 tested_CS_GL_IBM_multimode_draw_arrays = true; 22129 const char* ext = "GL_IBM_multimode_draw_arrays"; 22130 22131 char cfgkey[26 + 28 + 1]; 22132 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22133 22134 CS_GL_IBM_multimode_draw_arrays = CheckExtension (extstrGL, ext); 22135 22136 bool allclear, funcTest; 22137 (void)funcTest; // shut up "variable unused" warnings 22138 bool init = CS_GL_IBM_multimode_draw_arrays; 22139 allclear = true; 22140 if (init) // Don't check the functions if ext isn't reported anyway 22141 { 22142 EXTMGR_FUNC_INIT(glMultiModeDrawArraysIBM, GLMULTIMODEDRAWARRAYSIBM); 22143 EXTMGR_FUNC_INIT(glMultiModeDrawElementsIBM, GLMULTIMODEDRAWELEMENTSIBM); 22144 22145 EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_multimode_draw_arrays) 22146 } 22147 else 22148 { 22149 Report (msgExtNotFound, "GL", ext); 22150 } 22151 } 22152 22155 void InitGL_IBM_raster_pos_clip () 22156 { 22157 if (tested_CS_GL_IBM_raster_pos_clip) return; 22158 if (!extstrGL) return; 22159 tested_CS_GL_IBM_raster_pos_clip = true; 22160 const char* ext = "GL_IBM_raster_pos_clip"; 22161 22162 char cfgkey[26 + 22 + 1]; 22163 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22164 22165 CS_GL_IBM_raster_pos_clip = CheckExtension (extstrGL, ext); 22166 22167 bool allclear, funcTest; 22168 (void)funcTest; // shut up "variable unused" warnings 22169 bool init = CS_GL_IBM_raster_pos_clip; 22170 allclear = true; 22171 if (init) // Don't check the functions if ext isn't reported anyway 22172 { 22173 22174 EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_raster_pos_clip) 22175 } 22176 else 22177 { 22178 Report (msgExtNotFound, "GL", ext); 22179 } 22180 } 22181 22184 void InitGL_IBM_texture_mirrored_repeat () 22185 { 22186 if (tested_CS_GL_IBM_texture_mirrored_repeat) return; 22187 if (!extstrGL) return; 22188 tested_CS_GL_IBM_texture_mirrored_repeat = true; 22189 const char* ext = "GL_IBM_texture_mirrored_repeat"; 22190 22191 char cfgkey[26 + 30 + 1]; 22192 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22193 22194 CS_GL_IBM_texture_mirrored_repeat = CheckExtension (extstrGL, ext); 22195 22196 bool allclear, funcTest; 22197 (void)funcTest; // shut up "variable unused" warnings 22198 bool init = CS_GL_IBM_texture_mirrored_repeat; 22199 allclear = true; 22200 if (init) // Don't check the functions if ext isn't reported anyway 22201 { 22202 22203 EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_texture_mirrored_repeat) 22204 } 22205 else 22206 { 22207 Report (msgExtNotFound, "GL", ext); 22208 } 22209 } 22210 22213 void InitGL_IBM_vertex_array_lists () 22214 { 22215 if (tested_CS_GL_IBM_vertex_array_lists) return; 22216 if (!extstrGL) return; 22217 tested_CS_GL_IBM_vertex_array_lists = true; 22218 const char* ext = "GL_IBM_vertex_array_lists"; 22219 22220 char cfgkey[26 + 25 + 1]; 22221 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22222 22223 CS_GL_IBM_vertex_array_lists = CheckExtension (extstrGL, ext); 22224 22225 bool allclear, funcTest; 22226 (void)funcTest; // shut up "variable unused" warnings 22227 bool init = CS_GL_IBM_vertex_array_lists; 22228 allclear = true; 22229 if (init) // Don't check the functions if ext isn't reported anyway 22230 { 22231 EXTMGR_FUNC_INIT(glColorPointerListIBM, GLCOLORPOINTERLISTIBM); 22232 EXTMGR_FUNC_INIT(glSecondaryColorPointerListIBM, GLSECONDARYCOLORPOINTERLISTIBM); 22233 EXTMGR_FUNC_INIT(glEdgeFlagPointerListIBM, GLEDGEFLAGPOINTERLISTIBM); 22234 EXTMGR_FUNC_INIT(glFogCoordPointerListIBM, GLFOGCOORDPOINTERLISTIBM); 22235 EXTMGR_FUNC_INIT(glNormalPointerListIBM, GLNORMALPOINTERLISTIBM); 22236 EXTMGR_FUNC_INIT(glTexCoordPointerListIBM, GLTEXCOORDPOINTERLISTIBM); 22237 EXTMGR_FUNC_INIT(glVertexPointerListIBM, GLVERTEXPOINTERLISTIBM); 22238 22239 EXTMGR_REPORT_INIT_RESULT("GL", GL_IBM_vertex_array_lists) 22240 } 22241 else 22242 { 22243 Report (msgExtNotFound, "GL", ext); 22244 } 22245 } 22246 22249 void InitGL_MESA_resize_buffers () 22250 { 22251 if (tested_CS_GL_MESA_resize_buffers) return; 22252 if (!extstrGL) return; 22253 tested_CS_GL_MESA_resize_buffers = true; 22254 const char* ext = "GL_MESA_resize_buffers"; 22255 22256 char cfgkey[26 + 22 + 1]; 22257 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22258 22259 CS_GL_MESA_resize_buffers = CheckExtension (extstrGL, ext); 22260 22261 bool allclear, funcTest; 22262 (void)funcTest; // shut up "variable unused" warnings 22263 bool init = CS_GL_MESA_resize_buffers; 22264 allclear = true; 22265 if (init) // Don't check the functions if ext isn't reported anyway 22266 { 22267 EXTMGR_FUNC_INIT(glResizeBuffersMESA, GLRESIZEBUFFERSMESA); 22268 22269 EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_resize_buffers) 22270 } 22271 else 22272 { 22273 Report (msgExtNotFound, "GL", ext); 22274 } 22275 } 22276 22279 void InitGL_MESA_window_pos () 22280 { 22281 if (tested_CS_GL_MESA_window_pos) return; 22282 if (!extstrGL) return; 22283 tested_CS_GL_MESA_window_pos = true; 22284 const char* ext = "GL_MESA_window_pos"; 22285 22286 char cfgkey[26 + 18 + 1]; 22287 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22288 22289 CS_GL_MESA_window_pos = CheckExtension (extstrGL, ext); 22290 22291 bool allclear, funcTest; 22292 (void)funcTest; // shut up "variable unused" warnings 22293 bool init = CS_GL_MESA_window_pos; 22294 allclear = true; 22295 if (init) // Don't check the functions if ext isn't reported anyway 22296 { 22297 EXTMGR_FUNC_INIT(glWindowPos2dMESA, GLWINDOWPOS2DMESA); 22298 EXTMGR_FUNC_INIT(glWindowPos2fMESA, GLWINDOWPOS2FMESA); 22299 EXTMGR_FUNC_INIT(glWindowPos2iMESA, GLWINDOWPOS2IMESA); 22300 EXTMGR_FUNC_INIT(glWindowPos2sMESA, GLWINDOWPOS2SMESA); 22301 EXTMGR_FUNC_INIT(glWindowPos2ivMESA, GLWINDOWPOS2IVMESA); 22302 EXTMGR_FUNC_INIT(glWindowPos2svMESA, GLWINDOWPOS2SVMESA); 22303 EXTMGR_FUNC_INIT(glWindowPos2fvMESA, GLWINDOWPOS2FVMESA); 22304 EXTMGR_FUNC_INIT(glWindowPos2dvMESA, GLWINDOWPOS2DVMESA); 22305 EXTMGR_FUNC_INIT(glWindowPos3iMESA, GLWINDOWPOS3IMESA); 22306 EXTMGR_FUNC_INIT(glWindowPos3sMESA, GLWINDOWPOS3SMESA); 22307 EXTMGR_FUNC_INIT(glWindowPos3fMESA, GLWINDOWPOS3FMESA); 22308 EXTMGR_FUNC_INIT(glWindowPos3dMESA, GLWINDOWPOS3DMESA); 22309 EXTMGR_FUNC_INIT(glWindowPos3ivMESA, GLWINDOWPOS3IVMESA); 22310 EXTMGR_FUNC_INIT(glWindowPos3svMESA, GLWINDOWPOS3SVMESA); 22311 EXTMGR_FUNC_INIT(glWindowPos3fvMESA, GLWINDOWPOS3FVMESA); 22312 EXTMGR_FUNC_INIT(glWindowPos3dvMESA, GLWINDOWPOS3DVMESA); 22313 EXTMGR_FUNC_INIT(glWindowPos4iMESA, GLWINDOWPOS4IMESA); 22314 EXTMGR_FUNC_INIT(glWindowPos4sMESA, GLWINDOWPOS4SMESA); 22315 EXTMGR_FUNC_INIT(glWindowPos4fMESA, GLWINDOWPOS4FMESA); 22316 EXTMGR_FUNC_INIT(glWindowPos4dMESA, GLWINDOWPOS4DMESA); 22317 EXTMGR_FUNC_INIT(glWindowPos4ivMESA, GLWINDOWPOS4IVMESA); 22318 EXTMGR_FUNC_INIT(glWindowPos4svMESA, GLWINDOWPOS4SVMESA); 22319 EXTMGR_FUNC_INIT(glWindowPos4fvMESA, GLWINDOWPOS4FVMESA); 22320 EXTMGR_FUNC_INIT(glWindowPos4dvMESA, GLWINDOWPOS4DVMESA); 22321 22322 EXTMGR_REPORT_INIT_RESULT("GL", GL_MESA_window_pos) 22323 } 22324 else 22325 { 22326 Report (msgExtNotFound, "GL", ext); 22327 } 22328 } 22329 22332 void InitGL_OML_interlace () 22333 { 22334 if (tested_CS_GL_OML_interlace) return; 22335 if (!extstrGL) return; 22336 tested_CS_GL_OML_interlace = true; 22337 const char* ext = "GL_OML_interlace"; 22338 22339 char cfgkey[26 + 16 + 1]; 22340 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22341 22342 CS_GL_OML_interlace = CheckExtension (extstrGL, ext); 22343 22344 bool allclear, funcTest; 22345 (void)funcTest; // shut up "variable unused" warnings 22346 bool init = CS_GL_OML_interlace; 22347 allclear = true; 22348 if (init) // Don't check the functions if ext isn't reported anyway 22349 { 22350 22351 EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_interlace) 22352 } 22353 else 22354 { 22355 Report (msgExtNotFound, "GL", ext); 22356 } 22357 } 22358 22361 void InitGL_OML_resample () 22362 { 22363 if (tested_CS_GL_OML_resample) return; 22364 if (!extstrGL) return; 22365 tested_CS_GL_OML_resample = true; 22366 const char* ext = "GL_OML_resample"; 22367 22368 char cfgkey[26 + 15 + 1]; 22369 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22370 22371 CS_GL_OML_resample = CheckExtension (extstrGL, ext); 22372 22373 bool allclear, funcTest; 22374 (void)funcTest; // shut up "variable unused" warnings 22375 bool init = CS_GL_OML_resample; 22376 allclear = true; 22377 if (init) // Don't check the functions if ext isn't reported anyway 22378 { 22379 22380 EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_resample) 22381 } 22382 else 22383 { 22384 Report (msgExtNotFound, "GL", ext); 22385 } 22386 } 22387 22390 void InitGL_OML_subsample () 22391 { 22392 if (tested_CS_GL_OML_subsample) return; 22393 if (!extstrGL) return; 22394 tested_CS_GL_OML_subsample = true; 22395 const char* ext = "GL_OML_subsample"; 22396 22397 char cfgkey[26 + 16 + 1]; 22398 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22399 22400 CS_GL_OML_subsample = CheckExtension (extstrGL, ext); 22401 22402 bool allclear, funcTest; 22403 (void)funcTest; // shut up "variable unused" warnings 22404 bool init = CS_GL_OML_subsample; 22405 allclear = true; 22406 if (init) // Don't check the functions if ext isn't reported anyway 22407 { 22408 22409 EXTMGR_REPORT_INIT_RESULT("GL", GL_OML_subsample) 22410 } 22411 else 22412 { 22413 Report (msgExtNotFound, "GL", ext); 22414 } 22415 } 22416 22419 void InitGL_SGIS_generate_mipmap () 22420 { 22421 if (tested_CS_GL_SGIS_generate_mipmap) return; 22422 if (!extstrGL) return; 22423 tested_CS_GL_SGIS_generate_mipmap = true; 22424 const char* ext = "GL_SGIS_generate_mipmap"; 22425 22426 char cfgkey[26 + 23 + 1]; 22427 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22428 22429 CS_GL_SGIS_generate_mipmap = CheckExtension (extstrGL, ext); 22430 22431 bool allclear, funcTest; 22432 (void)funcTest; // shut up "variable unused" warnings 22433 bool init = CS_GL_SGIS_generate_mipmap; 22434 allclear = true; 22435 if (init) // Don't check the functions if ext isn't reported anyway 22436 { 22437 22438 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_generate_mipmap) 22439 } 22440 else 22441 { 22442 Report (msgExtNotFound, "GL", ext); 22443 } 22444 } 22445 22448 void InitGL_SGIS_multisample () 22449 { 22450 if (tested_CS_GL_SGIS_multisample) return; 22451 if (!extstrGL) return; 22452 tested_CS_GL_SGIS_multisample = true; 22453 const char* ext = "GL_SGIS_multisample"; 22454 22455 char cfgkey[26 + 19 + 1]; 22456 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22457 22458 CS_GL_SGIS_multisample = CheckExtension (extstrGL, ext); 22459 22460 bool allclear, funcTest; 22461 (void)funcTest; // shut up "variable unused" warnings 22462 bool init = CS_GL_SGIS_multisample; 22463 allclear = true; 22464 if (init) // Don't check the functions if ext isn't reported anyway 22465 { 22466 EXTMGR_FUNC_INIT(glSampleMaskSGIS, GLSAMPLEMASKSGIS); 22467 EXTMGR_FUNC_INIT(glSamplePatternSGIS, GLSAMPLEPATTERNSGIS); 22468 22469 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_multisample) 22470 } 22471 else 22472 { 22473 Report (msgExtNotFound, "GL", ext); 22474 } 22475 } 22476 22479 void InitGL_SGIS_pixel_texture () 22480 { 22481 if (tested_CS_GL_SGIS_pixel_texture) return; 22482 if (!extstrGL) return; 22483 tested_CS_GL_SGIS_pixel_texture = true; 22484 const char* ext = "GL_SGIS_pixel_texture"; 22485 22486 char cfgkey[26 + 21 + 1]; 22487 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22488 22489 CS_GL_SGIS_pixel_texture = CheckExtension (extstrGL, ext); 22490 22491 bool allclear, funcTest; 22492 (void)funcTest; // shut up "variable unused" warnings 22493 bool init = CS_GL_SGIS_pixel_texture; 22494 allclear = true; 22495 if (init) // Don't check the functions if ext isn't reported anyway 22496 { 22497 EXTMGR_FUNC_INIT(glPixelTexGenParameteriSGIS, GLPIXELTEXGENPARAMETERISGIS); 22498 EXTMGR_FUNC_INIT(glPixelTexGenParameterfSGIS, GLPIXELTEXGENPARAMETERFSGIS); 22499 EXTMGR_FUNC_INIT(glGetPixelTexGenParameterivSGIS, GLGETPIXELTEXGENPARAMETERIVSGIS); 22500 EXTMGR_FUNC_INIT(glGetPixelTexGenParameterfvSGIS, GLGETPIXELTEXGENPARAMETERFVSGIS); 22501 22502 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_pixel_texture) 22503 } 22504 else 22505 { 22506 Report (msgExtNotFound, "GL", ext); 22507 } 22508 } 22509 22512 void InitGL_SGIS_texture_border_clamp () 22513 { 22514 if (tested_CS_GL_SGIS_texture_border_clamp) return; 22515 if (!extstrGL) return; 22516 tested_CS_GL_SGIS_texture_border_clamp = true; 22517 const char* ext = "GL_SGIS_texture_border_clamp"; 22518 22519 char cfgkey[26 + 28 + 1]; 22520 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22521 22522 CS_GL_SGIS_texture_border_clamp = CheckExtension (extstrGL, ext); 22523 22524 bool allclear, funcTest; 22525 (void)funcTest; // shut up "variable unused" warnings 22526 bool init = CS_GL_SGIS_texture_border_clamp; 22527 allclear = true; 22528 if (init) // Don't check the functions if ext isn't reported anyway 22529 { 22530 22531 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_border_clamp) 22532 } 22533 else 22534 { 22535 Report (msgExtNotFound, "GL", ext); 22536 } 22537 } 22538 22541 void InitGL_SGIS_texture_color_mask () 22542 { 22543 if (tested_CS_GL_SGIS_texture_color_mask) return; 22544 if (!extstrGL) return; 22545 tested_CS_GL_SGIS_texture_color_mask = true; 22546 const char* ext = "GL_SGIS_texture_color_mask"; 22547 22548 char cfgkey[26 + 26 + 1]; 22549 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22550 22551 CS_GL_SGIS_texture_color_mask = CheckExtension (extstrGL, ext); 22552 22553 bool allclear, funcTest; 22554 (void)funcTest; // shut up "variable unused" warnings 22555 bool init = CS_GL_SGIS_texture_color_mask; 22556 allclear = true; 22557 if (init) // Don't check the functions if ext isn't reported anyway 22558 { 22559 EXTMGR_FUNC_INIT(glTextureColorMaskSGIS, GLTEXTURECOLORMASKSGIS); 22560 22561 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_color_mask) 22562 } 22563 else 22564 { 22565 Report (msgExtNotFound, "GL", ext); 22566 } 22567 } 22568 22571 void InitGL_SGIS_texture_edge_clamp () 22572 { 22573 if (tested_CS_GL_SGIS_texture_edge_clamp) return; 22574 if (!extstrGL) return; 22575 tested_CS_GL_SGIS_texture_edge_clamp = true; 22576 const char* ext = "GL_SGIS_texture_edge_clamp"; 22577 22578 char cfgkey[26 + 26 + 1]; 22579 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22580 22581 CS_GL_SGIS_texture_edge_clamp = CheckExtension (extstrGL, ext); 22582 22583 bool allclear, funcTest; 22584 (void)funcTest; // shut up "variable unused" warnings 22585 bool init = CS_GL_SGIS_texture_edge_clamp; 22586 allclear = true; 22587 if (init) // Don't check the functions if ext isn't reported anyway 22588 { 22589 22590 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_edge_clamp) 22591 } 22592 else 22593 { 22594 Report (msgExtNotFound, "GL", ext); 22595 } 22596 } 22597 22600 void InitGL_SGIS_texture_lod () 22601 { 22602 if (tested_CS_GL_SGIS_texture_lod) return; 22603 if (!extstrGL) return; 22604 tested_CS_GL_SGIS_texture_lod = true; 22605 const char* ext = "GL_SGIS_texture_lod"; 22606 22607 char cfgkey[26 + 19 + 1]; 22608 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22609 22610 CS_GL_SGIS_texture_lod = CheckExtension (extstrGL, ext); 22611 22612 bool allclear, funcTest; 22613 (void)funcTest; // shut up "variable unused" warnings 22614 bool init = CS_GL_SGIS_texture_lod; 22615 allclear = true; 22616 if (init) // Don't check the functions if ext isn't reported anyway 22617 { 22618 22619 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_texture_lod) 22620 } 22621 else 22622 { 22623 Report (msgExtNotFound, "GL", ext); 22624 } 22625 } 22626 22629 void InitGL_SGIS_depth_texture () 22630 { 22631 if (tested_CS_GL_SGIS_depth_texture) return; 22632 if (!extstrGL) return; 22633 tested_CS_GL_SGIS_depth_texture = true; 22634 const char* ext = "GL_SGIS_depth_texture"; 22635 22636 char cfgkey[26 + 21 + 1]; 22637 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22638 22639 CS_GL_SGIS_depth_texture = CheckExtension (extstrGL, ext); 22640 22641 bool allclear, funcTest; 22642 (void)funcTest; // shut up "variable unused" warnings 22643 bool init = CS_GL_SGIS_depth_texture; 22644 allclear = true; 22645 if (init) // Don't check the functions if ext isn't reported anyway 22646 { 22647 22648 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIS_depth_texture) 22649 } 22650 else 22651 { 22652 Report (msgExtNotFound, "GL", ext); 22653 } 22654 } 22655 22658 void InitGL_SGIX_fog_offset () 22659 { 22660 if (tested_CS_GL_SGIX_fog_offset) return; 22661 if (!extstrGL) return; 22662 tested_CS_GL_SGIX_fog_offset = true; 22663 const char* ext = "GL_SGIX_fog_offset"; 22664 22665 char cfgkey[26 + 18 + 1]; 22666 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22667 22668 CS_GL_SGIX_fog_offset = CheckExtension (extstrGL, ext); 22669 22670 bool allclear, funcTest; 22671 (void)funcTest; // shut up "variable unused" warnings 22672 bool init = CS_GL_SGIX_fog_offset; 22673 allclear = true; 22674 if (init) // Don't check the functions if ext isn't reported anyway 22675 { 22676 22677 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_fog_offset) 22678 } 22679 else 22680 { 22681 Report (msgExtNotFound, "GL", ext); 22682 } 22683 } 22684 22687 void InitGL_SGIX_interlace () 22688 { 22689 if (tested_CS_GL_SGIX_interlace) return; 22690 if (!extstrGL) return; 22691 tested_CS_GL_SGIX_interlace = true; 22692 const char* ext = "GL_SGIX_interlace"; 22693 22694 char cfgkey[26 + 17 + 1]; 22695 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22696 22697 CS_GL_SGIX_interlace = CheckExtension (extstrGL, ext); 22698 22699 bool allclear, funcTest; 22700 (void)funcTest; // shut up "variable unused" warnings 22701 bool init = CS_GL_SGIX_interlace; 22702 allclear = true; 22703 if (init) // Don't check the functions if ext isn't reported anyway 22704 { 22705 22706 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_interlace) 22707 } 22708 else 22709 { 22710 Report (msgExtNotFound, "GL", ext); 22711 } 22712 } 22713 22716 void InitGL_SGIX_shadow_ambient () 22717 { 22718 if (tested_CS_GL_SGIX_shadow_ambient) return; 22719 if (!extstrGL) return; 22720 tested_CS_GL_SGIX_shadow_ambient = true; 22721 const char* ext = "GL_SGIX_shadow_ambient"; 22722 22723 char cfgkey[26 + 22 + 1]; 22724 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22725 22726 CS_GL_SGIX_shadow_ambient = CheckExtension (extstrGL, ext); 22727 22728 bool allclear, funcTest; 22729 (void)funcTest; // shut up "variable unused" warnings 22730 bool init = CS_GL_SGIX_shadow_ambient; 22731 allclear = true; 22732 if (init) // Don't check the functions if ext isn't reported anyway 22733 { 22734 22735 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGIX_shadow_ambient) 22736 } 22737 else 22738 { 22739 Report (msgExtNotFound, "GL", ext); 22740 } 22741 } 22742 22745 void InitGL_SGI_color_matrix () 22746 { 22747 if (tested_CS_GL_SGI_color_matrix) return; 22748 if (!extstrGL) return; 22749 tested_CS_GL_SGI_color_matrix = true; 22750 const char* ext = "GL_SGI_color_matrix"; 22751 22752 char cfgkey[26 + 19 + 1]; 22753 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22754 22755 CS_GL_SGI_color_matrix = CheckExtension (extstrGL, ext); 22756 22757 bool allclear, funcTest; 22758 (void)funcTest; // shut up "variable unused" warnings 22759 bool init = CS_GL_SGI_color_matrix; 22760 allclear = true; 22761 if (init) // Don't check the functions if ext isn't reported anyway 22762 { 22763 22764 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_matrix) 22765 } 22766 else 22767 { 22768 Report (msgExtNotFound, "GL", ext); 22769 } 22770 } 22771 22774 void InitGL_SGI_color_table () 22775 { 22776 if (tested_CS_GL_SGI_color_table) return; 22777 if (!extstrGL) return; 22778 tested_CS_GL_SGI_color_table = true; 22779 const char* ext = "GL_SGI_color_table"; 22780 22781 char cfgkey[26 + 18 + 1]; 22782 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22783 22784 CS_GL_SGI_color_table = CheckExtension (extstrGL, ext); 22785 22786 bool allclear, funcTest; 22787 (void)funcTest; // shut up "variable unused" warnings 22788 bool init = CS_GL_SGI_color_table; 22789 allclear = true; 22790 if (init) // Don't check the functions if ext isn't reported anyway 22791 { 22792 EXTMGR_FUNC_INIT(glColorTableSGI, GLCOLORTABLESGI); 22793 EXTMGR_FUNC_INIT(glCopyColorTableSGI, GLCOPYCOLORTABLESGI); 22794 EXTMGR_FUNC_INIT(glColorTableParameterivSGI, GLCOLORTABLEPARAMETERIVSGI); 22795 EXTMGR_FUNC_INIT(glColorTableParameterfvSGI, GLCOLORTABLEPARAMETERFVSGI); 22796 EXTMGR_FUNC_INIT(glGetColorTableSGI, GLGETCOLORTABLESGI); 22797 EXTMGR_FUNC_INIT(glGetColorTableParameterivSGI, GLGETCOLORTABLEPARAMETERIVSGI); 22798 EXTMGR_FUNC_INIT(glGetColorTableParameterfvSGI, GLGETCOLORTABLEPARAMETERFVSGI); 22799 22800 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_color_table) 22801 } 22802 else 22803 { 22804 Report (msgExtNotFound, "GL", ext); 22805 } 22806 } 22807 22810 void InitGL_SGI_texture_color_table () 22811 { 22812 if (tested_CS_GL_SGI_texture_color_table) return; 22813 if (!extstrGL) return; 22814 tested_CS_GL_SGI_texture_color_table = true; 22815 const char* ext = "GL_SGI_texture_color_table"; 22816 22817 char cfgkey[26 + 26 + 1]; 22818 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22819 22820 CS_GL_SGI_texture_color_table = CheckExtension (extstrGL, ext); 22821 22822 bool allclear, funcTest; 22823 (void)funcTest; // shut up "variable unused" warnings 22824 bool init = CS_GL_SGI_texture_color_table; 22825 allclear = true; 22826 if (init) // Don't check the functions if ext isn't reported anyway 22827 { 22828 22829 EXTMGR_REPORT_INIT_RESULT("GL", GL_SGI_texture_color_table) 22830 } 22831 else 22832 { 22833 Report (msgExtNotFound, "GL", ext); 22834 } 22835 } 22836 22839 void InitGL_SUN_vertex () 22840 { 22841 if (tested_CS_GL_SUN_vertex) return; 22842 if (!extstrGL) return; 22843 tested_CS_GL_SUN_vertex = true; 22844 const char* ext = "GL_SUN_vertex"; 22845 22846 char cfgkey[26 + 13 + 1]; 22847 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22848 22849 CS_GL_SUN_vertex = CheckExtension (extstrGL, ext); 22850 22851 bool allclear, funcTest; 22852 (void)funcTest; // shut up "variable unused" warnings 22853 bool init = CS_GL_SUN_vertex; 22854 allclear = true; 22855 if (init) // Don't check the functions if ext isn't reported anyway 22856 { 22857 EXTMGR_FUNC_INIT(glColor4ubVertex2fSUN, GLCOLOR4UBVERTEX2FSUN); 22858 EXTMGR_FUNC_INIT(glColor4ubVertex2fvSUN, GLCOLOR4UBVERTEX2FVSUN); 22859 EXTMGR_FUNC_INIT(glColor4ubVertex3fSUN, GLCOLOR4UBVERTEX3FSUN); 22860 EXTMGR_FUNC_INIT(glColor4ubVertex3fvSUN, GLCOLOR4UBVERTEX3FVSUN); 22861 EXTMGR_FUNC_INIT(glColor3fVertex3fSUN, GLCOLOR3FVERTEX3FSUN); 22862 EXTMGR_FUNC_INIT(glColor3fVertex3fvSUN, GLCOLOR3FVERTEX3FVSUN); 22863 EXTMGR_FUNC_INIT(glNormal3fVertex3fSUN, GLNORMAL3FVERTEX3FSUN); 22864 EXTMGR_FUNC_INIT(glNormal3fVertex3fvSUN, GLNORMAL3FVERTEX3FVSUN); 22865 EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fSUN, GLCOLOR4FNORMAL3FVERTEX3FSUN); 22866 EXTMGR_FUNC_INIT(glColor4fNormal3fVertex3fvSUN, GLCOLOR4FNORMAL3FVERTEX3FVSUN); 22867 EXTMGR_FUNC_INIT(glTexCoord2fVertex3fSUN, GLTEXCOORD2FVERTEX3FSUN); 22868 EXTMGR_FUNC_INIT(glTexCoord2fVertex3fvSUN, GLTEXCOORD2FVERTEX3FVSUN); 22869 EXTMGR_FUNC_INIT(glTexCoord4fVertex4fSUN, GLTEXCOORD4FVERTEX4FSUN); 22870 EXTMGR_FUNC_INIT(glTexCoord4fVertex4fvSUN, GLTEXCOORD4FVERTEX4FVSUN); 22871 EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FSUN); 22872 EXTMGR_FUNC_INIT(glTexCoord2fColor4ubVertex3fvSUN, GLTEXCOORD2FCOLOR4UBVERTEX3FVSUN); 22873 EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fSUN, GLTEXCOORD2FCOLOR3FVERTEX3FSUN); 22874 EXTMGR_FUNC_INIT(glTexCoord2fColor3fVertex3fvSUN, GLTEXCOORD2FCOLOR3FVERTEX3FVSUN); 22875 EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fSUN, GLTEXCOORD2FNORMAL3FVERTEX3FSUN); 22876 EXTMGR_FUNC_INIT(glTexCoord2fNormal3fVertex3fvSUN, GLTEXCOORD2FNORMAL3FVERTEX3FVSUN); 22877 EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN); 22878 EXTMGR_FUNC_INIT(glTexCoord2fColor4fNormal3fVertex3fvSUN, GLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN); 22879 EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUN); 22880 EXTMGR_FUNC_INIT(glTexCoord4fColor4fNormal3fVertex4fvSUN, GLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUN); 22881 EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fSUN, GLREPLACEMENTCODEUIVERTEX3FSUN); 22882 EXTMGR_FUNC_INIT(glReplacementCodeuiVertex3fvSUN, GLREPLACEMENTCODEUIVERTEX3FVSUN); 22883 EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUN); 22884 EXTMGR_FUNC_INIT(glReplacementCodeuiColor4ubVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUN); 22885 EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FSUN); 22886 EXTMGR_FUNC_INIT(glReplacementCodeuiColor3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUN); 22887 EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FSUN); 22888 EXTMGR_FUNC_INIT(glReplacementCodeuiNormal3fVertex3fvSUN, GLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUN); 22889 EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUN); 22890 EXTMGR_FUNC_INIT(glReplacementCodeuiColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUN); 22891 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUN); 22892 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUN); 22893 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUN); 22894 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUN); 22895 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUN); 22896 EXTMGR_FUNC_INIT(glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN, GLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUN); 22897 22898 EXTMGR_REPORT_INIT_RESULT("GL", GL_SUN_vertex) 22899 } 22900 else 22901 { 22902 Report (msgExtNotFound, "GL", ext); 22903 } 22904 } 22905 22908 void InitGL_ARB_fragment_program () 22909 { 22910 if (tested_CS_GL_ARB_fragment_program) return; 22911 if (!extstrGL) return; 22912 tested_CS_GL_ARB_fragment_program = true; 22913 const char* ext = "GL_ARB_fragment_program"; 22914 22915 char cfgkey[26 + 23 + 1]; 22916 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22917 22918 CS_GL_ARB_fragment_program = CheckExtension (extstrGL, ext); 22919 22920 bool allclear, funcTest; 22921 (void)funcTest; // shut up "variable unused" warnings 22922 bool init = CS_GL_ARB_fragment_program; 22923 allclear = true; 22924 if (init) // Don't check the functions if ext isn't reported anyway 22925 { 22926 EXTMGR_FUNC_INIT(glProgramStringARB, GLPROGRAMSTRINGARB); 22927 EXTMGR_FUNC_INIT(glBindProgramARB, GLBINDPROGRAMARB); 22928 EXTMGR_FUNC_INIT(glDeleteProgramsARB, GLDELETEPROGRAMSARB); 22929 EXTMGR_FUNC_INIT(glGenProgramsARB, GLGENPROGRAMSARB); 22930 EXTMGR_FUNC_INIT(glProgramEnvParameter4dARB, GLPROGRAMENVPARAMETER4DARB); 22931 EXTMGR_FUNC_INIT(glProgramEnvParameter4dvARB, GLPROGRAMENVPARAMETER4DVARB); 22932 EXTMGR_FUNC_INIT(glProgramEnvParameter4fARB, GLPROGRAMENVPARAMETER4FARB); 22933 EXTMGR_FUNC_INIT(glProgramEnvParameter4fvARB, GLPROGRAMENVPARAMETER4FVARB); 22934 EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB); 22935 EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB); 22936 EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB); 22937 EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB); 22938 EXTMGR_FUNC_INIT(glGetProgramEnvParameterdvARB, GLGETPROGRAMENVPARAMETERDVARB); 22939 EXTMGR_FUNC_INIT(glGetProgramEnvParameterfvARB, GLGETPROGRAMENVPARAMETERFVARB); 22940 EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB); 22941 EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB); 22942 EXTMGR_FUNC_INIT(glGetProgramivARB, GLGETPROGRAMIVARB); 22943 EXTMGR_FUNC_INIT(glGetProgramStringARB, GLGETPROGRAMSTRINGARB); 22944 EXTMGR_FUNC_INIT(glIsProgramARB, GLISPROGRAMARB); 22945 22946 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_program) 22947 } 22948 else 22949 { 22950 Report (msgExtNotFound, "GL", ext); 22951 } 22952 } 22953 22956 void InitGL_ATI_text_fragment_shader () 22957 { 22958 if (tested_CS_GL_ATI_text_fragment_shader) return; 22959 if (!extstrGL) return; 22960 tested_CS_GL_ATI_text_fragment_shader = true; 22961 const char* ext = "GL_ATI_text_fragment_shader"; 22962 22963 char cfgkey[26 + 27 + 1]; 22964 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22965 22966 CS_GL_ATI_text_fragment_shader = CheckExtension (extstrGL, ext); 22967 22968 bool allclear, funcTest; 22969 (void)funcTest; // shut up "variable unused" warnings 22970 bool init = CS_GL_ATI_text_fragment_shader; 22971 allclear = true; 22972 if (init) // Don't check the functions if ext isn't reported anyway 22973 { 22974 22975 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_text_fragment_shader) 22976 } 22977 else 22978 { 22979 Report (msgExtNotFound, "GL", ext); 22980 } 22981 } 22982 22985 void InitGL_APPLE_client_storage () 22986 { 22987 if (tested_CS_GL_APPLE_client_storage) return; 22988 if (!extstrGL) return; 22989 tested_CS_GL_APPLE_client_storage = true; 22990 const char* ext = "GL_APPLE_client_storage"; 22991 22992 char cfgkey[26 + 23 + 1]; 22993 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 22994 22995 CS_GL_APPLE_client_storage = CheckExtension (extstrGL, ext); 22996 22997 bool allclear, funcTest; 22998 (void)funcTest; // shut up "variable unused" warnings 22999 bool init = CS_GL_APPLE_client_storage; 23000 allclear = true; 23001 if (init) // Don't check the functions if ext isn't reported anyway 23002 { 23003 23004 EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_client_storage) 23005 } 23006 else 23007 { 23008 Report (msgExtNotFound, "GL", ext); 23009 } 23010 } 23011 23014 void InitGL_APPLE_element_array () 23015 { 23016 if (tested_CS_GL_APPLE_element_array) return; 23017 if (!extstrGL) return; 23018 tested_CS_GL_APPLE_element_array = true; 23019 const char* ext = "GL_APPLE_element_array"; 23020 23021 char cfgkey[26 + 22 + 1]; 23022 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23023 23024 CS_GL_APPLE_element_array = CheckExtension (extstrGL, ext); 23025 23026 bool allclear, funcTest; 23027 (void)funcTest; // shut up "variable unused" warnings 23028 bool init = CS_GL_APPLE_element_array; 23029 allclear = true; 23030 if (init) // Don't check the functions if ext isn't reported anyway 23031 { 23032 EXTMGR_FUNC_INIT(glElementPointerAPPLE, GLELEMENTPOINTERAPPLE); 23033 EXTMGR_FUNC_INIT(glDrawElementArrayAPPLE, GLDRAWELEMENTARRAYAPPLE); 23034 EXTMGR_FUNC_INIT(glDrawRangeElementArrayAPPLE, GLDRAWRANGEELEMENTARRAYAPPLE); 23035 EXTMGR_FUNC_INIT(glMultiDrawElementArrayAPPLE, GLMULTIDRAWELEMENTARRAYAPPLE); 23036 EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayAPPLE, GLMULTIDRAWRANGEELEMENTARRAYAPPLE); 23037 23038 EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_element_array) 23039 } 23040 else 23041 { 23042 Report (msgExtNotFound, "GL", ext); 23043 } 23044 } 23045 23048 void InitGL_APPLE_fence () 23049 { 23050 if (tested_CS_GL_APPLE_fence) return; 23051 if (!extstrGL) return; 23052 tested_CS_GL_APPLE_fence = true; 23053 const char* ext = "GL_APPLE_fence"; 23054 23055 char cfgkey[26 + 14 + 1]; 23056 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23057 23058 CS_GL_APPLE_fence = CheckExtension (extstrGL, ext); 23059 23060 bool allclear, funcTest; 23061 (void)funcTest; // shut up "variable unused" warnings 23062 bool init = CS_GL_APPLE_fence; 23063 allclear = true; 23064 if (init) // Don't check the functions if ext isn't reported anyway 23065 { 23066 EXTMGR_FUNC_INIT(glGenFencesAPPLE, GLGENFENCESAPPLE); 23067 EXTMGR_FUNC_INIT(glDeleteFencesAPPLE, GLDELETEFENCESAPPLE); 23068 EXTMGR_FUNC_INIT(glSetFenceAPPLE, GLSETFENCEAPPLE); 23069 EXTMGR_FUNC_INIT(glIsFenceAPPLE, GLISFENCEAPPLE); 23070 EXTMGR_FUNC_INIT(glTestFenceAPPLE, GLTESTFENCEAPPLE); 23071 EXTMGR_FUNC_INIT(glFinishFenceAPPLE, GLFINISHFENCEAPPLE); 23072 EXTMGR_FUNC_INIT(glTestObjectAPPLE, GLTESTOBJECTAPPLE); 23073 EXTMGR_FUNC_INIT(glFinishObjectAPPLE, GLFINISHOBJECTAPPLE); 23074 23075 EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_fence) 23076 } 23077 else 23078 { 23079 Report (msgExtNotFound, "GL", ext); 23080 } 23081 } 23082 23085 void InitGL_APPLE_vertex_array_object () 23086 { 23087 if (tested_CS_GL_APPLE_vertex_array_object) return; 23088 if (!extstrGL) return; 23089 tested_CS_GL_APPLE_vertex_array_object = true; 23090 const char* ext = "GL_APPLE_vertex_array_object"; 23091 23092 char cfgkey[26 + 28 + 1]; 23093 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23094 23095 CS_GL_APPLE_vertex_array_object = CheckExtension (extstrGL, ext); 23096 23097 bool allclear, funcTest; 23098 (void)funcTest; // shut up "variable unused" warnings 23099 bool init = CS_GL_APPLE_vertex_array_object; 23100 allclear = true; 23101 if (init) // Don't check the functions if ext isn't reported anyway 23102 { 23103 EXTMGR_FUNC_INIT(glBindVertexArrayAPPLE, GLBINDVERTEXARRAYAPPLE); 23104 EXTMGR_FUNC_INIT(glDeleteVertexArraysAPPLE, GLDELETEVERTEXARRAYSAPPLE); 23105 EXTMGR_FUNC_INIT(glGenVertexArraysAPPLE, GLGENVERTEXARRAYSAPPLE); 23106 EXTMGR_FUNC_INIT(glIsVertexArrayAPPLE, GLISVERTEXARRAYAPPLE); 23107 23108 EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_object) 23109 } 23110 else 23111 { 23112 Report (msgExtNotFound, "GL", ext); 23113 } 23114 } 23115 23118 void InitGL_APPLE_vertex_array_range () 23119 { 23120 if (tested_CS_GL_APPLE_vertex_array_range) return; 23121 if (!extstrGL) return; 23122 tested_CS_GL_APPLE_vertex_array_range = true; 23123 const char* ext = "GL_APPLE_vertex_array_range"; 23124 23125 char cfgkey[26 + 27 + 1]; 23126 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23127 23128 CS_GL_APPLE_vertex_array_range = CheckExtension (extstrGL, ext); 23129 23130 bool allclear, funcTest; 23131 (void)funcTest; // shut up "variable unused" warnings 23132 bool init = CS_GL_APPLE_vertex_array_range; 23133 allclear = true; 23134 if (init) // Don't check the functions if ext isn't reported anyway 23135 { 23136 EXTMGR_FUNC_INIT(glVertexArrayRangeAPPLE, GLVERTEXARRAYRANGEAPPLE); 23137 EXTMGR_FUNC_INIT(glFlushVertexArrayRangeAPPLE, GLFLUSHVERTEXARRAYRANGEAPPLE); 23138 EXTMGR_FUNC_INIT(glVertexArrayParameteriAPPLE, GLVERTEXARRAYPARAMETERIAPPLE); 23139 23140 EXTMGR_REPORT_INIT_RESULT("GL", GL_APPLE_vertex_array_range) 23141 } 23142 else 23143 { 23144 Report (msgExtNotFound, "GL", ext); 23145 } 23146 } 23147 23148 #ifdef _WIN32 23149 23151 void InitWGL_ARB_pixel_format (HDC hDC) 23152 { 23153 if (tested_CS_WGL_ARB_pixel_format) return; 23154 tested_CS_WGL_ARB_pixel_format = true; 23155 const char* ext = "WGL_ARB_pixel_format"; 23156 char cfgkey[26 + 20 + 1]; 23157 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23158 23159 (void)hDC; // avoid `unused variable' warning. 23160 SetupWGLextStr (hDC); 23161 if (!extstrWGL) return; 23162 CS_WGL_ARB_pixel_format = CheckExtension (extstrWGL, ext); 23163 23164 bool allclear, funcTest; 23165 (void)funcTest; // avoid `unused variable' warning. 23166 bool init = CS_WGL_ARB_pixel_format; 23167 allclear = true; 23168 if (init) 23169 { 23170 EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivARB, WGLGETPIXELFORMATATTRIBIVARB); 23171 EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvARB, WGLGETPIXELFORMATATTRIBFVARB); 23172 EXTMGR_FUNC_INIT(wglChoosePixelFormatARB, WGLCHOOSEPIXELFORMATARB); 23173 23174 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pixel_format) 23175 CS_WGL_ARB_pixel_format &= allclear; 23176 } 23177 else 23178 { 23179 Report (msgExtNotFound, "WGL", ext); 23180 } 23181 } 23182 #endif 23183 23184 #ifdef _WIN32 23185 23187 void InitWGL_ARB_make_current_read (HDC hDC) 23188 { 23189 if (tested_CS_WGL_ARB_make_current_read) return; 23190 tested_CS_WGL_ARB_make_current_read = true; 23191 const char* ext = "WGL_ARB_make_current_read"; 23192 char cfgkey[26 + 25 + 1]; 23193 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23194 23195 (void)hDC; // avoid `unused variable' warning. 23196 SetupWGLextStr (hDC); 23197 if (!extstrWGL) return; 23198 CS_WGL_ARB_make_current_read = CheckExtension (extstrWGL, ext); 23199 23200 bool allclear, funcTest; 23201 (void)funcTest; // avoid `unused variable' warning. 23202 bool init = CS_WGL_ARB_make_current_read; 23203 allclear = true; 23204 if (init) 23205 { 23206 EXTMGR_FUNC_INIT(wglMakeContextCurrentARB, WGLMAKECONTEXTCURRENTARB); 23207 EXTMGR_FUNC_INIT(wglGetCurrentReadDCARB, WGLGETCURRENTREADDCARB); 23208 23209 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_make_current_read) 23210 CS_WGL_ARB_make_current_read &= allclear; 23211 } 23212 else 23213 { 23214 Report (msgExtNotFound, "WGL", ext); 23215 } 23216 } 23217 #endif 23218 23219 #ifdef _WIN32 23220 23222 void InitWGL_ARB_pbuffer (HDC hDC) 23223 { 23224 if (tested_CS_WGL_ARB_pbuffer) return; 23225 tested_CS_WGL_ARB_pbuffer = true; 23226 const char* ext = "WGL_ARB_pbuffer"; 23227 char cfgkey[26 + 15 + 1]; 23228 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23229 23230 (void)hDC; // avoid `unused variable' warning. 23231 SetupWGLextStr (hDC); 23232 if (!extstrWGL) return; 23233 CS_WGL_ARB_pbuffer = CheckExtension (extstrWGL, ext); 23234 23235 bool allclear, funcTest; 23236 (void)funcTest; // avoid `unused variable' warning. 23237 bool init = CS_WGL_ARB_pbuffer; 23238 allclear = true; 23239 if (init) 23240 { 23241 EXTMGR_FUNC_INIT(wglCreatePbufferARB, WGLCREATEPBUFFERARB); 23242 EXTMGR_FUNC_INIT(wglGetPbufferDCARB, WGLGETPBUFFERDCARB); 23243 EXTMGR_FUNC_INIT(wglReleasePbufferDCARB, WGLRELEASEPBUFFERDCARB); 23244 EXTMGR_FUNC_INIT(wglDestroyPbufferARB, WGLDESTROYPBUFFERARB); 23245 EXTMGR_FUNC_INIT(wglQueryPbufferARB, WGLQUERYPBUFFERARB); 23246 23247 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_pbuffer) 23248 CS_WGL_ARB_pbuffer &= allclear; 23249 } 23250 else 23251 { 23252 Report (msgExtNotFound, "WGL", ext); 23253 } 23254 } 23255 #endif 23256 23257 #ifdef _WIN32 23258 23260 void InitWGL_EXT_swap_control (HDC hDC) 23261 { 23262 if (tested_CS_WGL_EXT_swap_control) return; 23263 tested_CS_WGL_EXT_swap_control = true; 23264 const char* ext = "WGL_EXT_swap_control"; 23265 char cfgkey[26 + 20 + 1]; 23266 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23267 23268 (void)hDC; // avoid `unused variable' warning. 23269 SetupWGLextStr (hDC); 23270 if (!extstrWGL) return; 23271 CS_WGL_EXT_swap_control = CheckExtension (extstrWGL, ext); 23272 23273 bool allclear, funcTest; 23274 (void)funcTest; // avoid `unused variable' warning. 23275 bool init = CS_WGL_EXT_swap_control; 23276 allclear = true; 23277 if (init) 23278 { 23279 EXTMGR_FUNC_INIT(wglSwapIntervalEXT, WGLSWAPINTERVALEXT); 23280 EXTMGR_FUNC_INIT(wglGetSwapIntervalEXT, WGLGETSWAPINTERVALEXT); 23281 23282 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_swap_control) 23283 CS_WGL_EXT_swap_control &= allclear; 23284 } 23285 else 23286 { 23287 Report (msgExtNotFound, "WGL", ext); 23288 } 23289 } 23290 #endif 23291 23292 #ifdef _WIN32 23293 23295 void InitWGL_ARB_render_texture (HDC hDC) 23296 { 23297 if (tested_CS_WGL_ARB_render_texture) return; 23298 tested_CS_WGL_ARB_render_texture = true; 23299 const char* ext = "WGL_ARB_render_texture"; 23300 char cfgkey[26 + 22 + 1]; 23301 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23302 23303 (void)hDC; // avoid `unused variable' warning. 23304 SetupWGLextStr (hDC); 23305 if (!extstrWGL) return; 23306 CS_WGL_ARB_render_texture = CheckExtension (extstrWGL, ext); 23307 23308 bool allclear, funcTest; 23309 (void)funcTest; // avoid `unused variable' warning. 23310 bool init = CS_WGL_ARB_render_texture; 23311 allclear = true; 23312 if (init) 23313 { 23314 EXTMGR_FUNC_INIT(wglBindTexImageARB, WGLBINDTEXIMAGEARB); 23315 EXTMGR_FUNC_INIT(wglReleaseTexImageARB, WGLRELEASETEXIMAGEARB); 23316 EXTMGR_FUNC_INIT(wglSetPbufferAttribARB, WGLSETPBUFFERATTRIBARB); 23317 23318 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_render_texture) 23319 CS_WGL_ARB_render_texture &= allclear; 23320 } 23321 else 23322 { 23323 Report (msgExtNotFound, "WGL", ext); 23324 } 23325 } 23326 #endif 23327 23328 #ifdef _WIN32 23329 23331 void InitWGL_EXT_extensions_string (HDC hDC) 23332 { 23333 if (tested_CS_WGL_EXT_extensions_string) return; 23334 tested_CS_WGL_EXT_extensions_string = true; 23335 const char* ext = "WGL_EXT_extensions_string"; 23336 char cfgkey[26 + 25 + 1]; 23337 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23338 23339 (void)hDC; // avoid `unused variable' warning. 23340 SetupWGLextStr (hDC); 23341 if (!extstrWGL) return; 23342 CS_WGL_EXT_extensions_string = CheckExtension (extstrWGL, ext); 23343 23344 bool allclear, funcTest; 23345 (void)funcTest; // avoid `unused variable' warning. 23346 bool init = CS_WGL_EXT_extensions_string; 23347 allclear = true; 23348 if (init) 23349 { 23350 EXTMGR_FUNC_INIT(wglGetExtensionsStringEXT, WGLGETEXTENSIONSSTRINGEXT); 23351 23352 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_extensions_string) 23353 CS_WGL_EXT_extensions_string &= allclear; 23354 } 23355 else 23356 { 23357 Report (msgExtNotFound, "WGL", ext); 23358 } 23359 } 23360 #endif 23361 23362 #ifdef _WIN32 23363 23365 void InitWGL_EXT_make_current_read (HDC hDC) 23366 { 23367 if (tested_CS_WGL_EXT_make_current_read) return; 23368 tested_CS_WGL_EXT_make_current_read = true; 23369 const char* ext = "WGL_EXT_make_current_read"; 23370 char cfgkey[26 + 25 + 1]; 23371 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23372 23373 (void)hDC; // avoid `unused variable' warning. 23374 SetupWGLextStr (hDC); 23375 if (!extstrWGL) return; 23376 CS_WGL_EXT_make_current_read = CheckExtension (extstrWGL, ext); 23377 23378 bool allclear, funcTest; 23379 (void)funcTest; // avoid `unused variable' warning. 23380 bool init = CS_WGL_EXT_make_current_read; 23381 allclear = true; 23382 if (init) 23383 { 23384 EXTMGR_FUNC_INIT(wglMakeContextCurrentEXT, WGLMAKECONTEXTCURRENTEXT); 23385 EXTMGR_FUNC_INIT(wglGetCurrentReadDCEXT, WGLGETCURRENTREADDCEXT); 23386 23387 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_make_current_read) 23388 CS_WGL_EXT_make_current_read &= allclear; 23389 } 23390 else 23391 { 23392 Report (msgExtNotFound, "WGL", ext); 23393 } 23394 } 23395 #endif 23396 23397 #ifdef _WIN32 23398 23400 void InitWGL_EXT_pbuffer (HDC hDC) 23401 { 23402 if (tested_CS_WGL_EXT_pbuffer) return; 23403 tested_CS_WGL_EXT_pbuffer = true; 23404 const char* ext = "WGL_EXT_pbuffer"; 23405 char cfgkey[26 + 15 + 1]; 23406 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23407 23408 (void)hDC; // avoid `unused variable' warning. 23409 SetupWGLextStr (hDC); 23410 if (!extstrWGL) return; 23411 CS_WGL_EXT_pbuffer = CheckExtension (extstrWGL, ext); 23412 23413 bool allclear, funcTest; 23414 (void)funcTest; // avoid `unused variable' warning. 23415 bool init = CS_WGL_EXT_pbuffer; 23416 allclear = true; 23417 if (init) 23418 { 23419 EXTMGR_FUNC_INIT(wglCreatePbufferEXT, WGLCREATEPBUFFEREXT); 23420 EXTMGR_FUNC_INIT(wglGetPbufferDCEXT, WGLGETPBUFFERDCEXT); 23421 EXTMGR_FUNC_INIT(wglReleasePbufferDCEXT, WGLRELEASEPBUFFERDCEXT); 23422 EXTMGR_FUNC_INIT(wglDestroyPbufferEXT, WGLDESTROYPBUFFEREXT); 23423 EXTMGR_FUNC_INIT(wglQueryPbufferEXT, WGLQUERYPBUFFEREXT); 23424 23425 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pbuffer) 23426 CS_WGL_EXT_pbuffer &= allclear; 23427 } 23428 else 23429 { 23430 Report (msgExtNotFound, "WGL", ext); 23431 } 23432 } 23433 #endif 23434 23435 #ifdef _WIN32 23436 23438 void InitWGL_EXT_pixel_format (HDC hDC) 23439 { 23440 if (tested_CS_WGL_EXT_pixel_format) return; 23441 tested_CS_WGL_EXT_pixel_format = true; 23442 const char* ext = "WGL_EXT_pixel_format"; 23443 char cfgkey[26 + 20 + 1]; 23444 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23445 23446 (void)hDC; // avoid `unused variable' warning. 23447 SetupWGLextStr (hDC); 23448 if (!extstrWGL) return; 23449 CS_WGL_EXT_pixel_format = CheckExtension (extstrWGL, ext); 23450 23451 bool allclear, funcTest; 23452 (void)funcTest; // avoid `unused variable' warning. 23453 bool init = CS_WGL_EXT_pixel_format; 23454 allclear = true; 23455 if (init) 23456 { 23457 EXTMGR_FUNC_INIT(wglGetPixelFormatAttribivEXT, WGLGETPIXELFORMATATTRIBIVEXT); 23458 EXTMGR_FUNC_INIT(wglGetPixelFormatAttribfvEXT, WGLGETPIXELFORMATATTRIBFVEXT); 23459 EXTMGR_FUNC_INIT(wglChoosePixelFormatEXT, WGLCHOOSEPIXELFORMATEXT); 23460 23461 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_EXT_pixel_format) 23462 CS_WGL_EXT_pixel_format &= allclear; 23463 } 23464 else 23465 { 23466 Report (msgExtNotFound, "WGL", ext); 23467 } 23468 } 23469 #endif 23470 23471 #ifdef _WIN32 23472 23474 void InitWGL_I3D_digital_video_control (HDC hDC) 23475 { 23476 if (tested_CS_WGL_I3D_digital_video_control) return; 23477 tested_CS_WGL_I3D_digital_video_control = true; 23478 const char* ext = "WGL_I3D_digital_video_control"; 23479 char cfgkey[26 + 29 + 1]; 23480 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23481 23482 (void)hDC; // avoid `unused variable' warning. 23483 SetupWGLextStr (hDC); 23484 if (!extstrWGL) return; 23485 CS_WGL_I3D_digital_video_control = CheckExtension (extstrWGL, ext); 23486 23487 bool allclear, funcTest; 23488 (void)funcTest; // avoid `unused variable' warning. 23489 bool init = CS_WGL_I3D_digital_video_control; 23490 allclear = true; 23491 if (init) 23492 { 23493 EXTMGR_FUNC_INIT(wglGetDigitalVideoParametersI3D, WGLGETDIGITALVIDEOPARAMETERSI3D); 23494 EXTMGR_FUNC_INIT(wglSetDigitalVideoParametersI3D, WGLSETDIGITALVIDEOPARAMETERSI3D); 23495 23496 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_digital_video_control) 23497 CS_WGL_I3D_digital_video_control &= allclear; 23498 } 23499 else 23500 { 23501 Report (msgExtNotFound, "WGL", ext); 23502 } 23503 } 23504 #endif 23505 23506 #ifdef _WIN32 23507 23509 void InitWGL_I3D_gamma (HDC hDC) 23510 { 23511 if (tested_CS_WGL_I3D_gamma) return; 23512 tested_CS_WGL_I3D_gamma = true; 23513 const char* ext = "WGL_I3D_gamma"; 23514 char cfgkey[26 + 13 + 1]; 23515 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23516 23517 (void)hDC; // avoid `unused variable' warning. 23518 SetupWGLextStr (hDC); 23519 if (!extstrWGL) return; 23520 CS_WGL_I3D_gamma = CheckExtension (extstrWGL, ext); 23521 23522 bool allclear, funcTest; 23523 (void)funcTest; // avoid `unused variable' warning. 23524 bool init = CS_WGL_I3D_gamma; 23525 allclear = true; 23526 if (init) 23527 { 23528 EXTMGR_FUNC_INIT(wglGetGammaTableParametersI3D, WGLGETGAMMATABLEPARAMETERSI3D); 23529 EXTMGR_FUNC_INIT(wglSetGammaTableParametersI3D, WGLSETGAMMATABLEPARAMETERSI3D); 23530 EXTMGR_FUNC_INIT(wglGetGammaTableI3D, WGLGETGAMMATABLEI3D); 23531 EXTMGR_FUNC_INIT(wglSetGammaTableI3D, WGLSETGAMMATABLEI3D); 23532 23533 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_gamma) 23534 CS_WGL_I3D_gamma &= allclear; 23535 } 23536 else 23537 { 23538 Report (msgExtNotFound, "WGL", ext); 23539 } 23540 } 23541 #endif 23542 23543 #ifdef _WIN32 23544 23546 void InitWGL_I3D_genlock (HDC hDC) 23547 { 23548 if (tested_CS_WGL_I3D_genlock) return; 23549 tested_CS_WGL_I3D_genlock = true; 23550 const char* ext = "WGL_I3D_genlock"; 23551 char cfgkey[26 + 15 + 1]; 23552 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23553 23554 (void)hDC; // avoid `unused variable' warning. 23555 SetupWGLextStr (hDC); 23556 if (!extstrWGL) return; 23557 CS_WGL_I3D_genlock = CheckExtension (extstrWGL, ext); 23558 23559 bool allclear, funcTest; 23560 (void)funcTest; // avoid `unused variable' warning. 23561 bool init = CS_WGL_I3D_genlock; 23562 allclear = true; 23563 if (init) 23564 { 23565 EXTMGR_FUNC_INIT(wglEnableGenlockI3D, WGLENABLEGENLOCKI3D); 23566 EXTMGR_FUNC_INIT(wglDisableGenlockI3D, WGLDISABLEGENLOCKI3D); 23567 EXTMGR_FUNC_INIT(wglIsEnabledGenlockI3D, WGLISENABLEDGENLOCKI3D); 23568 EXTMGR_FUNC_INIT(wglGenlockSourceI3D, WGLGENLOCKSOURCEI3D); 23569 EXTMGR_FUNC_INIT(wglGetGenlockSourceI3D, WGLGETGENLOCKSOURCEI3D); 23570 EXTMGR_FUNC_INIT(wglGenlockSourceEdgeI3D, WGLGENLOCKSOURCEEDGEI3D); 23571 EXTMGR_FUNC_INIT(wglGetGenlockSourceEdgeI3D, WGLGETGENLOCKSOURCEEDGEI3D); 23572 EXTMGR_FUNC_INIT(wglGenlockSampleRateI3D, WGLGENLOCKSAMPLERATEI3D); 23573 EXTMGR_FUNC_INIT(wglGetGenlockSampleRateI3D, WGLGETGENLOCKSAMPLERATEI3D); 23574 EXTMGR_FUNC_INIT(wglGenlockSourceDelayI3D, WGLGENLOCKSOURCEDELAYI3D); 23575 EXTMGR_FUNC_INIT(wglGetGenlockSourceDelayI3D, WGLGETGENLOCKSOURCEDELAYI3D); 23576 EXTMGR_FUNC_INIT(wglQueryGenlockMaxSourceDelayI3D, WGLQUERYGENLOCKMAXSOURCEDELAYI3D); 23577 23578 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_I3D_genlock) 23579 CS_WGL_I3D_genlock &= allclear; 23580 } 23581 else 23582 { 23583 Report (msgExtNotFound, "WGL", ext); 23584 } 23585 } 23586 #endif 23587 23590 void InitGL_ARB_matrix_palette () 23591 { 23592 if (tested_CS_GL_ARB_matrix_palette) return; 23593 if (!extstrGL) return; 23594 tested_CS_GL_ARB_matrix_palette = true; 23595 const char* ext = "GL_ARB_matrix_palette"; 23596 23597 char cfgkey[26 + 21 + 1]; 23598 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23599 23600 CS_GL_ARB_matrix_palette = CheckExtension (extstrGL, ext); 23601 23602 bool allclear, funcTest; 23603 (void)funcTest; // shut up "variable unused" warnings 23604 bool init = CS_GL_ARB_matrix_palette; 23605 allclear = true; 23606 if (init) // Don't check the functions if ext isn't reported anyway 23607 { 23608 EXTMGR_FUNC_INIT(glCurrentPaletteMatrixARB, GLCURRENTPALETTEMATRIXARB); 23609 EXTMGR_FUNC_INIT(glMatrixIndexubvARB, GLMATRIXINDEXUBVARB); 23610 EXTMGR_FUNC_INIT(glMatrixIndexusvARB, GLMATRIXINDEXUSVARB); 23611 EXTMGR_FUNC_INIT(glMatrixIndexuivARB, GLMATRIXINDEXUIVARB); 23612 EXTMGR_FUNC_INIT(glMatrixIndexPointerARB, GLMATRIXINDEXPOINTERARB); 23613 23614 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_matrix_palette) 23615 } 23616 else 23617 { 23618 Report (msgExtNotFound, "GL", ext); 23619 } 23620 } 23621 23624 void InitGL_NV_element_array () 23625 { 23626 if (tested_CS_GL_NV_element_array) return; 23627 if (!extstrGL) return; 23628 tested_CS_GL_NV_element_array = true; 23629 const char* ext = "GL_NV_element_array"; 23630 23631 char cfgkey[26 + 19 + 1]; 23632 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23633 23634 CS_GL_NV_element_array = CheckExtension (extstrGL, ext); 23635 23636 bool allclear, funcTest; 23637 (void)funcTest; // shut up "variable unused" warnings 23638 bool init = CS_GL_NV_element_array; 23639 allclear = true; 23640 if (init) // Don't check the functions if ext isn't reported anyway 23641 { 23642 EXTMGR_FUNC_INIT(glElementPointerNV, GLELEMENTPOINTERNV); 23643 EXTMGR_FUNC_INIT(glDrawElementArrayNV, GLDRAWELEMENTARRAYNV); 23644 EXTMGR_FUNC_INIT(glDrawRangeElementArrayNV, GLDRAWRANGEELEMENTARRAYNV); 23645 EXTMGR_FUNC_INIT(glMultiDrawElementArrayNV, GLMULTIDRAWELEMENTARRAYNV); 23646 EXTMGR_FUNC_INIT(glMultiDrawRangeElementArrayNV, GLMULTIDRAWRANGEELEMENTARRAYNV); 23647 23648 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_element_array) 23649 } 23650 else 23651 { 23652 Report (msgExtNotFound, "GL", ext); 23653 } 23654 } 23655 23658 void InitGL_NV_float_buffer () 23659 { 23660 if (tested_CS_GL_NV_float_buffer) return; 23661 if (!extstrGL) return; 23662 tested_CS_GL_NV_float_buffer = true; 23663 const char* ext = "GL_NV_float_buffer"; 23664 23665 char cfgkey[26 + 18 + 1]; 23666 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23667 23668 CS_GL_NV_float_buffer = CheckExtension (extstrGL, ext); 23669 23670 bool allclear, funcTest; 23671 (void)funcTest; // shut up "variable unused" warnings 23672 bool init = CS_GL_NV_float_buffer; 23673 allclear = true; 23674 if (init) // Don't check the functions if ext isn't reported anyway 23675 { 23676 23677 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_float_buffer) 23678 } 23679 else 23680 { 23681 Report (msgExtNotFound, "GL", ext); 23682 } 23683 } 23684 23687 void InitGL_NV_fragment_program () 23688 { 23689 if (tested_CS_GL_NV_fragment_program) return; 23690 if (!extstrGL) return; 23691 tested_CS_GL_NV_fragment_program = true; 23692 const char* ext = "GL_NV_fragment_program"; 23693 23694 char cfgkey[26 + 22 + 1]; 23695 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23696 23697 CS_GL_NV_fragment_program = CheckExtension (extstrGL, ext); 23698 23699 bool allclear, funcTest; 23700 (void)funcTest; // shut up "variable unused" warnings 23701 bool init = CS_GL_NV_fragment_program; 23702 allclear = true; 23703 if (init) // Don't check the functions if ext isn't reported anyway 23704 { 23705 EXTMGR_FUNC_INIT(glProgramNamedParameter4fNV, GLPROGRAMNAMEDPARAMETER4FNV); 23706 EXTMGR_FUNC_INIT(glProgramNamedParameter4dNV, GLPROGRAMNAMEDPARAMETER4DNV); 23707 EXTMGR_FUNC_INIT(glGetProgramNamedParameterfvNV, GLGETPROGRAMNAMEDPARAMETERFVNV); 23708 EXTMGR_FUNC_INIT(glGetProgramNamedParameterdvNV, GLGETPROGRAMNAMEDPARAMETERDVNV); 23709 EXTMGR_FUNC_INIT(glProgramLocalParameter4dARB, GLPROGRAMLOCALPARAMETER4DARB); 23710 EXTMGR_FUNC_INIT(glProgramLocalParameter4dvARB, GLPROGRAMLOCALPARAMETER4DVARB); 23711 EXTMGR_FUNC_INIT(glProgramLocalParameter4fARB, GLPROGRAMLOCALPARAMETER4FARB); 23712 EXTMGR_FUNC_INIT(glProgramLocalParameter4fvARB, GLPROGRAMLOCALPARAMETER4FVARB); 23713 EXTMGR_FUNC_INIT(glGetProgramLocalParameterdvARB, GLGETPROGRAMLOCALPARAMETERDVARB); 23714 EXTMGR_FUNC_INIT(glGetProgramLocalParameterfvARB, GLGETPROGRAMLOCALPARAMETERFVARB); 23715 23716 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_fragment_program) 23717 } 23718 else 23719 { 23720 Report (msgExtNotFound, "GL", ext); 23721 } 23722 } 23723 23726 void InitGL_NV_primitive_restart () 23727 { 23728 if (tested_CS_GL_NV_primitive_restart) return; 23729 if (!extstrGL) return; 23730 tested_CS_GL_NV_primitive_restart = true; 23731 const char* ext = "GL_NV_primitive_restart"; 23732 23733 char cfgkey[26 + 23 + 1]; 23734 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23735 23736 CS_GL_NV_primitive_restart = CheckExtension (extstrGL, ext); 23737 23738 bool allclear, funcTest; 23739 (void)funcTest; // shut up "variable unused" warnings 23740 bool init = CS_GL_NV_primitive_restart; 23741 allclear = true; 23742 if (init) // Don't check the functions if ext isn't reported anyway 23743 { 23744 EXTMGR_FUNC_INIT(glPrimitiveRestartNV, GLPRIMITIVERESTARTNV); 23745 EXTMGR_FUNC_INIT(glPrimitiveRestartIndexNV, GLPRIMITIVERESTARTINDEXNV); 23746 23747 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_primitive_restart) 23748 } 23749 else 23750 { 23751 Report (msgExtNotFound, "GL", ext); 23752 } 23753 } 23754 23757 void InitGL_NV_vertex_program2 () 23758 { 23759 if (tested_CS_GL_NV_vertex_program2) return; 23760 if (!extstrGL) return; 23761 tested_CS_GL_NV_vertex_program2 = true; 23762 const char* ext = "GL_NV_vertex_program2"; 23763 23764 char cfgkey[26 + 21 + 1]; 23765 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23766 23767 CS_GL_NV_vertex_program2 = CheckExtension (extstrGL, ext); 23768 23769 bool allclear, funcTest; 23770 (void)funcTest; // shut up "variable unused" warnings 23771 bool init = CS_GL_NV_vertex_program2; 23772 allclear = true; 23773 if (init) // Don't check the functions if ext isn't reported anyway 23774 { 23775 23776 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_vertex_program2) 23777 } 23778 else 23779 { 23780 Report (msgExtNotFound, "GL", ext); 23781 } 23782 } 23783 23786 void InitGL_ARB_vertex_buffer_object () 23787 { 23788 if (tested_CS_GL_ARB_vertex_buffer_object) return; 23789 if (!extstrGL) return; 23790 tested_CS_GL_ARB_vertex_buffer_object = true; 23791 const char* ext = "GL_ARB_vertex_buffer_object"; 23792 23793 char cfgkey[26 + 27 + 1]; 23794 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23795 23796 CS_GL_ARB_vertex_buffer_object = CheckExtension (extstrGL, ext); 23797 23798 bool allclear, funcTest; 23799 (void)funcTest; // shut up "variable unused" warnings 23800 bool init = CS_GL_ARB_vertex_buffer_object; 23801 allclear = true; 23802 if (init) // Don't check the functions if ext isn't reported anyway 23803 { 23804 EXTMGR_FUNC_INIT(glBindBufferARB, GLBINDBUFFERARB); 23805 EXTMGR_FUNC_INIT(glDeleteBuffersARB, GLDELETEBUFFERSARB); 23806 EXTMGR_FUNC_INIT(glGenBuffersARB, GLGENBUFFERSARB); 23807 EXTMGR_FUNC_INIT(glBufferDataARB, GLBUFFERDATAARB); 23808 EXTMGR_FUNC_INIT(glBufferSubDataARB, GLBUFFERSUBDATAARB); 23809 EXTMGR_FUNC_INIT(glMapBufferARB, GLMAPBUFFERARB); 23810 EXTMGR_FUNC_INIT(glUnmapBufferARB, GLUNMAPBUFFERARB); 23811 EXTMGR_FUNC_INIT(glIsBufferARB, GLISBUFFERARB); 23812 EXTMGR_FUNC_INIT(glGetBufferSubDataARB, GLGETBUFFERSUBDATAARB); 23813 EXTMGR_FUNC_INIT(glGetBufferPointervARB, GLGETBUFFERPOINTERVARB); 23814 EXTMGR_FUNC_INIT(glGetBufferParameterivARB, GLGETBUFFERPARAMETERIVARB); 23815 23816 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_buffer_object) 23817 } 23818 else 23819 { 23820 Report (msgExtNotFound, "GL", ext); 23821 } 23822 } 23823 23826 void InitGL_ATI_separate_stencil () 23827 { 23828 if (tested_CS_GL_ATI_separate_stencil) return; 23829 if (!extstrGL) return; 23830 tested_CS_GL_ATI_separate_stencil = true; 23831 const char* ext = "GL_ATI_separate_stencil"; 23832 23833 char cfgkey[26 + 23 + 1]; 23834 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23835 23836 CS_GL_ATI_separate_stencil = CheckExtension (extstrGL, ext); 23837 23838 bool allclear, funcTest; 23839 (void)funcTest; // shut up "variable unused" warnings 23840 bool init = CS_GL_ATI_separate_stencil; 23841 allclear = true; 23842 if (init) // Don't check the functions if ext isn't reported anyway 23843 { 23844 EXTMGR_FUNC_INIT(glStencilOpSeparateATI, GLSTENCILOPSEPARATEATI); 23845 EXTMGR_FUNC_INIT(glStencilFuncSeparateATI, GLSTENCILFUNCSEPARATEATI); 23846 23847 EXTMGR_REPORT_INIT_RESULT("GL", GL_ATI_separate_stencil) 23848 } 23849 else 23850 { 23851 Report (msgExtNotFound, "GL", ext); 23852 } 23853 } 23854 23857 void InitGL_ARB_texture_non_power_of_two () 23858 { 23859 if (tested_CS_GL_ARB_texture_non_power_of_two) return; 23860 if (!extstrGL) return; 23861 tested_CS_GL_ARB_texture_non_power_of_two = true; 23862 const char* ext = "GL_ARB_texture_non_power_of_two"; 23863 23864 char cfgkey[26 + 31 + 1]; 23865 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23866 23867 CS_GL_ARB_texture_non_power_of_two = CheckExtension (extstrGL, ext); 23868 23869 bool allclear, funcTest; 23870 (void)funcTest; // shut up "variable unused" warnings 23871 bool init = CS_GL_ARB_texture_non_power_of_two; 23872 allclear = true; 23873 if (init) // Don't check the functions if ext isn't reported anyway 23874 { 23875 23876 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_non_power_of_two) 23877 } 23878 else 23879 { 23880 Report (msgExtNotFound, "GL", ext); 23881 } 23882 } 23883 23886 void InitGL_ARB_point_sprite () 23887 { 23888 if (tested_CS_GL_ARB_point_sprite) return; 23889 if (!extstrGL) return; 23890 tested_CS_GL_ARB_point_sprite = true; 23891 const char* ext = "GL_ARB_point_sprite"; 23892 23893 char cfgkey[26 + 19 + 1]; 23894 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23895 23896 CS_GL_ARB_point_sprite = CheckExtension (extstrGL, ext); 23897 23898 bool allclear, funcTest; 23899 (void)funcTest; // shut up "variable unused" warnings 23900 bool init = CS_GL_ARB_point_sprite; 23901 allclear = true; 23902 if (init) // Don't check the functions if ext isn't reported anyway 23903 { 23904 23905 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_point_sprite) 23906 } 23907 else 23908 { 23909 Report (msgExtNotFound, "GL", ext); 23910 } 23911 } 23912 23915 void InitGL_ARB_shading_language_100 () 23916 { 23917 if (tested_CS_GL_ARB_shading_language_100) return; 23918 if (!extstrGL) return; 23919 tested_CS_GL_ARB_shading_language_100 = true; 23920 const char* ext = "GL_ARB_shading_language_100"; 23921 23922 char cfgkey[26 + 27 + 1]; 23923 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23924 23925 CS_GL_ARB_shading_language_100 = CheckExtension (extstrGL, ext); 23926 23927 bool allclear, funcTest; 23928 (void)funcTest; // shut up "variable unused" warnings 23929 bool init = CS_GL_ARB_shading_language_100; 23930 allclear = true; 23931 if (init) // Don't check the functions if ext isn't reported anyway 23932 { 23933 23934 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shading_language_100) 23935 } 23936 else 23937 { 23938 Report (msgExtNotFound, "GL", ext); 23939 } 23940 } 23941 23944 void InitGL_ARB_shader_objects () 23945 { 23946 if (tested_CS_GL_ARB_shader_objects) return; 23947 if (!extstrGL) return; 23948 tested_CS_GL_ARB_shader_objects = true; 23949 const char* ext = "GL_ARB_shader_objects"; 23950 23951 char cfgkey[26 + 21 + 1]; 23952 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 23953 23954 CS_GL_ARB_shader_objects = CheckExtension (extstrGL, ext); 23955 23956 bool allclear, funcTest; 23957 (void)funcTest; // shut up "variable unused" warnings 23958 bool init = CS_GL_ARB_shader_objects; 23959 allclear = true; 23960 if (init) // Don't check the functions if ext isn't reported anyway 23961 { 23962 EXTMGR_FUNC_INIT(glDeleteObjectARB, GLDELETEOBJECTARB); 23963 EXTMGR_FUNC_INIT(glGetHandleARB, GLGETHANDLEARB); 23964 EXTMGR_FUNC_INIT(glDetachObjectARB, GLDETACHOBJECTARB); 23965 EXTMGR_FUNC_INIT(glCreateShaderObjectARB, GLCREATESHADEROBJECTARB); 23966 EXTMGR_FUNC_INIT(glShaderSourceARB, GLSHADERSOURCEARB); 23967 EXTMGR_FUNC_INIT(glCompileShaderARB, GLCOMPILESHADERARB); 23968 EXTMGR_FUNC_INIT(glCreateProgramObjectARB, GLCREATEPROGRAMOBJECTARB); 23969 EXTMGR_FUNC_INIT(glAttachObjectARB, GLATTACHOBJECTARB); 23970 EXTMGR_FUNC_INIT(glLinkProgramARB, GLLINKPROGRAMARB); 23971 EXTMGR_FUNC_INIT(glUseProgramObjectARB, GLUSEPROGRAMOBJECTARB); 23972 EXTMGR_FUNC_INIT(glValidateProgramARB, GLVALIDATEPROGRAMARB); 23973 EXTMGR_FUNC_INIT(glUniform1fARB, GLUNIFORM1FARB); 23974 EXTMGR_FUNC_INIT(glUniform2fARB, GLUNIFORM2FARB); 23975 EXTMGR_FUNC_INIT(glUniform3fARB, GLUNIFORM3FARB); 23976 EXTMGR_FUNC_INIT(glUniform4fARB, GLUNIFORM4FARB); 23977 EXTMGR_FUNC_INIT(glUniform1iARB, GLUNIFORM1IARB); 23978 EXTMGR_FUNC_INIT(glUniform2iARB, GLUNIFORM2IARB); 23979 EXTMGR_FUNC_INIT(glUniform3iARB, GLUNIFORM3IARB); 23980 EXTMGR_FUNC_INIT(glUniform4iARB, GLUNIFORM4IARB); 23981 EXTMGR_FUNC_INIT(glUniform1fvARB, GLUNIFORM1FVARB); 23982 EXTMGR_FUNC_INIT(glUniform2fvARB, GLUNIFORM2FVARB); 23983 EXTMGR_FUNC_INIT(glUniform3fvARB, GLUNIFORM3FVARB); 23984 EXTMGR_FUNC_INIT(glUniform4fvARB, GLUNIFORM4FVARB); 23985 EXTMGR_FUNC_INIT(glUniform1ivARB, GLUNIFORM1IVARB); 23986 EXTMGR_FUNC_INIT(glUniform2ivARB, GLUNIFORM2IVARB); 23987 EXTMGR_FUNC_INIT(glUniform3ivARB, GLUNIFORM3IVARB); 23988 EXTMGR_FUNC_INIT(glUniform4ivARB, GLUNIFORM4IVARB); 23989 EXTMGR_FUNC_INIT(glUniformMatrix2fvARB, GLUNIFORMMATRIX2FVARB); 23990 EXTMGR_FUNC_INIT(glUniformMatrix3fvARB, GLUNIFORMMATRIX3FVARB); 23991 EXTMGR_FUNC_INIT(glUniformMatrix4fvARB, GLUNIFORMMATRIX4FVARB); 23992 EXTMGR_FUNC_INIT(glGetObjectParameterfvARB, GLGETOBJECTPARAMETERFVARB); 23993 EXTMGR_FUNC_INIT(glGetObjectParameterivARB, GLGETOBJECTPARAMETERIVARB); 23994 EXTMGR_FUNC_INIT(glGetInfoLogARB, GLGETINFOLOGARB); 23995 EXTMGR_FUNC_INIT(glGetAttachedObjectsARB, GLGETATTACHEDOBJECTSARB); 23996 EXTMGR_FUNC_INIT(glGetUniformLocationARB, GLGETUNIFORMLOCATIONARB); 23997 EXTMGR_FUNC_INIT(glGetActiveUniformARB, GLGETACTIVEUNIFORMARB); 23998 EXTMGR_FUNC_INIT(glGetUniformfvARB, GLGETUNIFORMFVARB); 23999 EXTMGR_FUNC_INIT(glGetUniformivARB, GLGETUNIFORMIVARB); 24000 EXTMGR_FUNC_INIT(glGetShaderSourceARB, GLGETSHADERSOURCEARB); 24001 24002 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_shader_objects) 24003 } 24004 else 24005 { 24006 Report (msgExtNotFound, "GL", ext); 24007 } 24008 } 24009 24012 void InitGL_ARB_fragment_shader () 24013 { 24014 if (tested_CS_GL_ARB_fragment_shader) return; 24015 if (!extstrGL) return; 24016 tested_CS_GL_ARB_fragment_shader = true; 24017 const char* ext = "GL_ARB_fragment_shader"; 24018 24019 char cfgkey[26 + 22 + 1]; 24020 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24021 24022 CS_GL_ARB_fragment_shader = CheckExtension (extstrGL, ext); 24023 24024 bool allclear, funcTest; 24025 (void)funcTest; // shut up "variable unused" warnings 24026 bool init = CS_GL_ARB_fragment_shader; 24027 allclear = true; 24028 if (init) // Don't check the functions if ext isn't reported anyway 24029 { 24030 24031 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_fragment_shader) 24032 } 24033 else 24034 { 24035 Report (msgExtNotFound, "GL", ext); 24036 } 24037 } 24038 24041 void InitGL_ARB_vertex_shader () 24042 { 24043 if (tested_CS_GL_ARB_vertex_shader) return; 24044 if (!extstrGL) return; 24045 tested_CS_GL_ARB_vertex_shader = true; 24046 const char* ext = "GL_ARB_vertex_shader"; 24047 24048 char cfgkey[26 + 20 + 1]; 24049 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24050 24051 CS_GL_ARB_vertex_shader = CheckExtension (extstrGL, ext); 24052 24053 bool allclear, funcTest; 24054 (void)funcTest; // shut up "variable unused" warnings 24055 bool init = CS_GL_ARB_vertex_shader; 24056 allclear = true; 24057 if (init) // Don't check the functions if ext isn't reported anyway 24058 { 24059 EXTMGR_FUNC_INIT(glVertexAttrib1sARB, GLVERTEXATTRIB1SARB); 24060 EXTMGR_FUNC_INIT(glVertexAttrib1fARB, GLVERTEXATTRIB1FARB); 24061 EXTMGR_FUNC_INIT(glVertexAttrib1dARB, GLVERTEXATTRIB1DARB); 24062 EXTMGR_FUNC_INIT(glVertexAttrib2sARB, GLVERTEXATTRIB2SARB); 24063 EXTMGR_FUNC_INIT(glVertexAttrib2fARB, GLVERTEXATTRIB2FARB); 24064 EXTMGR_FUNC_INIT(glVertexAttrib2dARB, GLVERTEXATTRIB2DARB); 24065 EXTMGR_FUNC_INIT(glVertexAttrib3sARB, GLVERTEXATTRIB3SARB); 24066 EXTMGR_FUNC_INIT(glVertexAttrib3fARB, GLVERTEXATTRIB3FARB); 24067 EXTMGR_FUNC_INIT(glVertexAttrib3dARB, GLVERTEXATTRIB3DARB); 24068 EXTMGR_FUNC_INIT(glVertexAttrib4sARB, GLVERTEXATTRIB4SARB); 24069 EXTMGR_FUNC_INIT(glVertexAttrib4fARB, GLVERTEXATTRIB4FARB); 24070 EXTMGR_FUNC_INIT(glVertexAttrib4dARB, GLVERTEXATTRIB4DARB); 24071 EXTMGR_FUNC_INIT(glVertexAttrib4NubARB, GLVERTEXATTRIB4NUBARB); 24072 EXTMGR_FUNC_INIT(glVertexAttrib1svARB, GLVERTEXATTRIB1SVARB); 24073 EXTMGR_FUNC_INIT(glVertexAttrib1fvARB, GLVERTEXATTRIB1FVARB); 24074 EXTMGR_FUNC_INIT(glVertexAttrib1dvARB, GLVERTEXATTRIB1DVARB); 24075 EXTMGR_FUNC_INIT(glVertexAttrib2svARB, GLVERTEXATTRIB2SVARB); 24076 EXTMGR_FUNC_INIT(glVertexAttrib2fvARB, GLVERTEXATTRIB2FVARB); 24077 EXTMGR_FUNC_INIT(glVertexAttrib2dvARB, GLVERTEXATTRIB2DVARB); 24078 EXTMGR_FUNC_INIT(glVertexAttrib3svARB, GLVERTEXATTRIB3SVARB); 24079 EXTMGR_FUNC_INIT(glVertexAttrib3fvARB, GLVERTEXATTRIB3FVARB); 24080 EXTMGR_FUNC_INIT(glVertexAttrib3dvARB, GLVERTEXATTRIB3DVARB); 24081 EXTMGR_FUNC_INIT(glVertexAttrib4bvARB, GLVERTEXATTRIB4BVARB); 24082 EXTMGR_FUNC_INIT(glVertexAttrib4svARB, GLVERTEXATTRIB4SVARB); 24083 EXTMGR_FUNC_INIT(glVertexAttrib4ivARB, GLVERTEXATTRIB4IVARB); 24084 EXTMGR_FUNC_INIT(glVertexAttrib4ubvARB, GLVERTEXATTRIB4UBVARB); 24085 EXTMGR_FUNC_INIT(glVertexAttrib4usvARB, GLVERTEXATTRIB4USVARB); 24086 EXTMGR_FUNC_INIT(glVertexAttrib4uivARB, GLVERTEXATTRIB4UIVARB); 24087 EXTMGR_FUNC_INIT(glVertexAttrib4fvARB, GLVERTEXATTRIB4FVARB); 24088 EXTMGR_FUNC_INIT(glVertexAttrib4dvARB, GLVERTEXATTRIB4DVARB); 24089 EXTMGR_FUNC_INIT(glVertexAttrib4NbvARB, GLVERTEXATTRIB4NBVARB); 24090 EXTMGR_FUNC_INIT(glVertexAttrib4NsvARB, GLVERTEXATTRIB4NSVARB); 24091 EXTMGR_FUNC_INIT(glVertexAttrib4NivARB, GLVERTEXATTRIB4NIVARB); 24092 EXTMGR_FUNC_INIT(glVertexAttrib4NubvARB, GLVERTEXATTRIB4NUBVARB); 24093 EXTMGR_FUNC_INIT(glVertexAttrib4NusvARB, GLVERTEXATTRIB4NUSVARB); 24094 EXTMGR_FUNC_INIT(glVertexAttrib4NuivARB, GLVERTEXATTRIB4NUIVARB); 24095 EXTMGR_FUNC_INIT(glVertexAttribPointerARB, GLVERTEXATTRIBPOINTERARB); 24096 EXTMGR_FUNC_INIT(glEnableVertexAttribArrayARB, GLENABLEVERTEXATTRIBARRAYARB); 24097 EXTMGR_FUNC_INIT(glDisableVertexAttribArrayARB, GLDISABLEVERTEXATTRIBARRAYARB); 24098 EXTMGR_FUNC_INIT(glBindAttribLocationARB, GLBINDATTRIBLOCATIONARB); 24099 EXTMGR_FUNC_INIT(glGetActiveAttribARB, GLGETACTIVEATTRIBARB); 24100 EXTMGR_FUNC_INIT(glGetAttribLocationARB, GLGETATTRIBLOCATIONARB); 24101 EXTMGR_FUNC_INIT(glGetVertexAttribPointervARB, GLGETVERTEXATTRIBPOINTERVARB); 24102 24103 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_vertex_shader) 24104 } 24105 else 24106 { 24107 Report (msgExtNotFound, "GL", ext); 24108 } 24109 } 24110 24113 void InitGL_ARB_pixel_buffer_object () 24114 { 24115 if (tested_CS_GL_ARB_pixel_buffer_object) return; 24116 if (!extstrGL) return; 24117 tested_CS_GL_ARB_pixel_buffer_object = true; 24118 const char* ext = "GL_ARB_pixel_buffer_object"; 24119 InitGL_ARB_vertex_buffer_object(); 24120 if (!CS_GL_ARB_vertex_buffer_object) 24121 { 24122 Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object"); 24123 return; 24124 } 24125 char cfgkey[26 + 26 + 1]; 24126 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24127 24128 CS_GL_ARB_pixel_buffer_object = CheckExtension (extstrGL, ext); 24129 24130 bool allclear, funcTest; 24131 (void)funcTest; // shut up "variable unused" warnings 24132 bool init = CS_GL_ARB_pixel_buffer_object; 24133 allclear = true; 24134 if (init) // Don't check the functions if ext isn't reported anyway 24135 { 24136 24137 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_pixel_buffer_object) 24138 } 24139 else 24140 { 24141 Report (msgExtNotFound, "GL", ext); 24142 } 24143 } 24144 24147 void InitGL_ARB_texture_rectangle () 24148 { 24149 if (tested_CS_GL_ARB_texture_rectangle) return; 24150 if (!extstrGL) return; 24151 tested_CS_GL_ARB_texture_rectangle = true; 24152 const char* ext = "GL_ARB_texture_rectangle"; 24153 24154 char cfgkey[26 + 24 + 1]; 24155 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24156 24157 CS_GL_ARB_texture_rectangle = CheckExtension (extstrGL, ext); 24158 24159 bool allclear, funcTest; 24160 (void)funcTest; // shut up "variable unused" warnings 24161 bool init = CS_GL_ARB_texture_rectangle; 24162 allclear = true; 24163 if (init) // Don't check the functions if ext isn't reported anyway 24164 { 24165 24166 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rectangle) 24167 } 24168 else 24169 { 24170 Report (msgExtNotFound, "GL", ext); 24171 } 24172 } 24173 24176 void InitGL_EXT_framebuffer_object () 24177 { 24178 if (tested_CS_GL_EXT_framebuffer_object) return; 24179 if (!extstrGL) return; 24180 tested_CS_GL_EXT_framebuffer_object = true; 24181 const char* ext = "GL_EXT_framebuffer_object"; 24182 24183 char cfgkey[26 + 25 + 1]; 24184 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24185 24186 CS_GL_EXT_framebuffer_object = CheckExtension (extstrGL, ext); 24187 24188 bool allclear, funcTest; 24189 (void)funcTest; // shut up "variable unused" warnings 24190 bool init = CS_GL_EXT_framebuffer_object; 24191 allclear = true; 24192 if (init) // Don't check the functions if ext isn't reported anyway 24193 { 24194 EXTMGR_FUNC_INIT(glIsRenderbufferEXT, GLISRENDERBUFFEREXT); 24195 EXTMGR_FUNC_INIT(glBindRenderbufferEXT, GLBINDRENDERBUFFEREXT); 24196 EXTMGR_FUNC_INIT(glDeleteRenderbuffersEXT, GLDELETERENDERBUFFERSEXT); 24197 EXTMGR_FUNC_INIT(glGenRenderbuffersEXT, GLGENRENDERBUFFERSEXT); 24198 EXTMGR_FUNC_INIT(glRenderbufferStorageEXT, GLRENDERBUFFERSTORAGEEXT); 24199 EXTMGR_FUNC_INIT(glGetRenderbufferParameterivEXT, GLGETRENDERBUFFERPARAMETERIVEXT); 24200 EXTMGR_FUNC_INIT(glIsFramebufferEXT, GLISFRAMEBUFFEREXT); 24201 EXTMGR_FUNC_INIT(glBindFramebufferEXT, GLBINDFRAMEBUFFEREXT); 24202 EXTMGR_FUNC_INIT(glDeleteFramebuffersEXT, GLDELETEFRAMEBUFFERSEXT); 24203 EXTMGR_FUNC_INIT(glGenFramebuffersEXT, GLGENFRAMEBUFFERSEXT); 24204 EXTMGR_FUNC_INIT(glCheckFramebufferStatusEXT, GLCHECKFRAMEBUFFERSTATUSEXT); 24205 EXTMGR_FUNC_INIT(glFramebufferTexture1DEXT, GLFRAMEBUFFERTEXTURE1DEXT); 24206 EXTMGR_FUNC_INIT(glFramebufferTexture2DEXT, GLFRAMEBUFFERTEXTURE2DEXT); 24207 EXTMGR_FUNC_INIT(glFramebufferTexture3DEXT, GLFRAMEBUFFERTEXTURE3DEXT); 24208 EXTMGR_FUNC_INIT(glFramebufferRenderbufferEXT, GLFRAMEBUFFERRENDERBUFFEREXT); 24209 EXTMGR_FUNC_INIT(glGetFramebufferAttachmentParameterivEXT, GLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXT); 24210 EXTMGR_FUNC_INIT(glGenerateMipmapEXT, GLGENERATEMIPMAPEXT); 24211 24212 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_framebuffer_object) 24213 } 24214 else 24215 { 24216 Report (msgExtNotFound, "GL", ext); 24217 } 24218 } 24219 24222 void InitGL_EXT_pixel_buffer_object () 24223 { 24224 if (tested_CS_GL_EXT_pixel_buffer_object) return; 24225 if (!extstrGL) return; 24226 tested_CS_GL_EXT_pixel_buffer_object = true; 24227 const char* ext = "GL_EXT_pixel_buffer_object"; 24228 InitGL_ARB_vertex_buffer_object(); 24229 if (!CS_GL_ARB_vertex_buffer_object) 24230 { 24231 Report (msgDependencyNotFound, "GL", ext, "GL_ARB_vertex_buffer_object"); 24232 return; 24233 } 24234 char cfgkey[26 + 26 + 1]; 24235 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24236 24237 CS_GL_EXT_pixel_buffer_object = CheckExtension (extstrGL, ext); 24238 24239 bool allclear, funcTest; 24240 (void)funcTest; // shut up "variable unused" warnings 24241 bool init = CS_GL_EXT_pixel_buffer_object; 24242 allclear = true; 24243 if (init) // Don't check the functions if ext isn't reported anyway 24244 { 24245 24246 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_pixel_buffer_object) 24247 } 24248 else 24249 { 24250 Report (msgExtNotFound, "GL", ext); 24251 } 24252 } 24253 24256 void InitGL_GREMEDY_string_marker () 24257 { 24258 if (tested_CS_GL_GREMEDY_string_marker) return; 24259 if (!extstrGL) return; 24260 tested_CS_GL_GREMEDY_string_marker = true; 24261 const char* ext = "GL_GREMEDY_string_marker"; 24262 24263 char cfgkey[26 + 24 + 1]; 24264 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24265 24266 CS_GL_GREMEDY_string_marker = CheckExtension (extstrGL, ext); 24267 24268 bool allclear, funcTest; 24269 (void)funcTest; // shut up "variable unused" warnings 24270 bool init = CS_GL_GREMEDY_string_marker; 24271 allclear = true; 24272 if (init) // Don't check the functions if ext isn't reported anyway 24273 { 24274 EXTMGR_FUNC_INIT(glStringMarkerGREMEDY, GLSTRINGMARKERGREMEDY); 24275 24276 EXTMGR_REPORT_INIT_RESULT("GL", GL_GREMEDY_string_marker) 24277 } 24278 else 24279 { 24280 Report (msgExtNotFound, "GL", ext); 24281 } 24282 } 24283 24286 void InitGL_EXT_texture_rectangle () 24287 { 24288 if (tested_CS_GL_EXT_texture_rectangle) return; 24289 if (!extstrGL) return; 24290 tested_CS_GL_EXT_texture_rectangle = true; 24291 const char* ext = "GL_EXT_texture_rectangle"; 24292 24293 char cfgkey[26 + 24 + 1]; 24294 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24295 24296 CS_GL_EXT_texture_rectangle = CheckExtension (extstrGL, ext); 24297 24298 bool allclear, funcTest; 24299 (void)funcTest; // shut up "variable unused" warnings 24300 bool init = CS_GL_EXT_texture_rectangle; 24301 allclear = true; 24302 if (init) // Don't check the functions if ext isn't reported anyway 24303 { 24304 24305 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_rectangle) 24306 } 24307 else 24308 { 24309 Report (msgExtNotFound, "GL", ext); 24310 } 24311 } 24312 24315 void InitGL_ARB_occlusion_query () 24316 { 24317 if (tested_CS_GL_ARB_occlusion_query) return; 24318 if (!extstrGL) return; 24319 tested_CS_GL_ARB_occlusion_query = true; 24320 const char* ext = "GL_ARB_occlusion_query"; 24321 24322 char cfgkey[26 + 22 + 1]; 24323 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24324 24325 CS_GL_ARB_occlusion_query = CheckExtension (extstrGL, ext); 24326 24327 bool allclear, funcTest; 24328 (void)funcTest; // shut up "variable unused" warnings 24329 bool init = CS_GL_ARB_occlusion_query; 24330 allclear = true; 24331 if (init) // Don't check the functions if ext isn't reported anyway 24332 { 24333 EXTMGR_FUNC_INIT(glGenQueriesARB, GLGENQUERIESARB); 24334 EXTMGR_FUNC_INIT(glDeleteQueriesARB, GLDELETEQUERIESARB); 24335 EXTMGR_FUNC_INIT(glIsQueryARB, GLISQUERYARB); 24336 EXTMGR_FUNC_INIT(glBeginQueryARB, GLBEGINQUERYARB); 24337 EXTMGR_FUNC_INIT(glEndQueryARB, GLENDQUERYARB); 24338 EXTMGR_FUNC_INIT(glGetQueryivARB, GLGETQUERYIVARB); 24339 EXTMGR_FUNC_INIT(glGetQueryObjectivARB, GLGETQUERYOBJECTIVARB); 24340 EXTMGR_FUNC_INIT(glGetQueryObjectuivARB, GLGETQUERYOBJECTUIVARB); 24341 24342 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_occlusion_query) 24343 } 24344 else 24345 { 24346 Report (msgExtNotFound, "GL", ext); 24347 } 24348 } 24349 24352 void InitGL_ARB_draw_buffers () 24353 { 24354 if (tested_CS_GL_ARB_draw_buffers) return; 24355 if (!extstrGL) return; 24356 tested_CS_GL_ARB_draw_buffers = true; 24357 const char* ext = "GL_ARB_draw_buffers"; 24358 24359 char cfgkey[26 + 19 + 1]; 24360 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24361 24362 CS_GL_ARB_draw_buffers = CheckExtension (extstrGL, ext); 24363 24364 bool allclear, funcTest; 24365 (void)funcTest; // shut up "variable unused" warnings 24366 bool init = CS_GL_ARB_draw_buffers; 24367 allclear = true; 24368 if (init) // Don't check the functions if ext isn't reported anyway 24369 { 24370 24371 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_draw_buffers) 24372 } 24373 else 24374 { 24375 Report (msgExtNotFound, "GL", ext); 24376 } 24377 } 24378 24381 void InitGL_EXT_blend_equation_separate () 24382 { 24383 if (tested_CS_GL_EXT_blend_equation_separate) return; 24384 if (!extstrGL) return; 24385 tested_CS_GL_EXT_blend_equation_separate = true; 24386 const char* ext = "GL_EXT_blend_equation_separate"; 24387 24388 char cfgkey[26 + 30 + 1]; 24389 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24390 24391 CS_GL_EXT_blend_equation_separate = CheckExtension (extstrGL, ext); 24392 24393 bool allclear, funcTest; 24394 (void)funcTest; // shut up "variable unused" warnings 24395 bool init = CS_GL_EXT_blend_equation_separate; 24396 allclear = true; 24397 if (init) // Don't check the functions if ext isn't reported anyway 24398 { 24399 EXTMGR_FUNC_INIT(glBlendEquationSeparateEXT, GLBLENDEQUATIONSEPARATEEXT); 24400 24401 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_blend_equation_separate) 24402 } 24403 else 24404 { 24405 Report (msgExtNotFound, "GL", ext); 24406 } 24407 } 24408 24411 void InitGL_EXT_texture_sRGB () 24412 { 24413 if (tested_CS_GL_EXT_texture_sRGB) return; 24414 if (!extstrGL) return; 24415 tested_CS_GL_EXT_texture_sRGB = true; 24416 const char* ext = "GL_EXT_texture_sRGB"; 24417 24418 char cfgkey[26 + 19 + 1]; 24419 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24420 24421 CS_GL_EXT_texture_sRGB = CheckExtension (extstrGL, ext); 24422 24423 bool allclear, funcTest; 24424 (void)funcTest; // shut up "variable unused" warnings 24425 bool init = CS_GL_EXT_texture_sRGB; 24426 allclear = true; 24427 if (init) // Don't check the functions if ext isn't reported anyway 24428 { 24429 24430 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_texture_sRGB) 24431 } 24432 else 24433 { 24434 Report (msgExtNotFound, "GL", ext); 24435 } 24436 } 24437 24440 void InitGL_EXT_packed_depth_stencil () 24441 { 24442 if (tested_CS_GL_EXT_packed_depth_stencil) return; 24443 if (!extstrGL) return; 24444 tested_CS_GL_EXT_packed_depth_stencil = true; 24445 const char* ext = "GL_EXT_packed_depth_stencil"; 24446 24447 char cfgkey[26 + 27 + 1]; 24448 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24449 24450 CS_GL_EXT_packed_depth_stencil = CheckExtension (extstrGL, ext); 24451 24452 bool allclear, funcTest; 24453 (void)funcTest; // shut up "variable unused" warnings 24454 bool init = CS_GL_EXT_packed_depth_stencil; 24455 allclear = true; 24456 if (init) // Don't check the functions if ext isn't reported anyway 24457 { 24458 24459 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_packed_depth_stencil) 24460 } 24461 else 24462 { 24463 Report (msgExtNotFound, "GL", ext); 24464 } 24465 } 24466 24469 void InitGL_ARB_texture_float () 24470 { 24471 if (tested_CS_GL_ARB_texture_float) return; 24472 if (!extstrGL) return; 24473 tested_CS_GL_ARB_texture_float = true; 24474 const char* ext = "GL_ARB_texture_float"; 24475 24476 char cfgkey[26 + 20 + 1]; 24477 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24478 24479 CS_GL_ARB_texture_float = CheckExtension (extstrGL, ext); 24480 24481 bool allclear, funcTest; 24482 (void)funcTest; // shut up "variable unused" warnings 24483 bool init = CS_GL_ARB_texture_float; 24484 allclear = true; 24485 if (init) // Don't check the functions if ext isn't reported anyway 24486 { 24487 24488 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_float) 24489 } 24490 else 24491 { 24492 Report (msgExtNotFound, "GL", ext); 24493 } 24494 } 24495 24498 void InitGL_ARB_half_float_pixel () 24499 { 24500 if (tested_CS_GL_ARB_half_float_pixel) return; 24501 if (!extstrGL) return; 24502 tested_CS_GL_ARB_half_float_pixel = true; 24503 const char* ext = "GL_ARB_half_float_pixel"; 24504 24505 char cfgkey[26 + 23 + 1]; 24506 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24507 24508 CS_GL_ARB_half_float_pixel = CheckExtension (extstrGL, ext); 24509 24510 bool allclear, funcTest; 24511 (void)funcTest; // shut up "variable unused" warnings 24512 bool init = CS_GL_ARB_half_float_pixel; 24513 allclear = true; 24514 if (init) // Don't check the functions if ext isn't reported anyway 24515 { 24516 24517 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_half_float_pixel) 24518 } 24519 else 24520 { 24521 Report (msgExtNotFound, "GL", ext); 24522 } 24523 } 24524 24527 void InitGL_NV_gpu_program4 () 24528 { 24529 if (tested_CS_GL_NV_gpu_program4) return; 24530 if (!extstrGL) return; 24531 tested_CS_GL_NV_gpu_program4 = true; 24532 const char* ext = "GL_NV_gpu_program4"; 24533 24534 char cfgkey[26 + 18 + 1]; 24535 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24536 24537 CS_GL_NV_gpu_program4 = CheckExtension (extstrGL, ext); 24538 24539 bool allclear, funcTest; 24540 (void)funcTest; // shut up "variable unused" warnings 24541 bool init = CS_GL_NV_gpu_program4; 24542 allclear = true; 24543 if (init) // Don't check the functions if ext isn't reported anyway 24544 { 24545 EXTMGR_FUNC_INIT(glProgramLocalParameterI4iNV, GLPROGRAMLOCALPARAMETERI4INV); 24546 EXTMGR_FUNC_INIT(glProgramLocalParameterI4ivNV, GLPROGRAMLOCALPARAMETERI4IVNV); 24547 EXTMGR_FUNC_INIT(glProgramLocalParametersI4ivNV, GLPROGRAMLOCALPARAMETERSI4IVNV); 24548 EXTMGR_FUNC_INIT(glProgramLocalParameterI4uiNV, GLPROGRAMLOCALPARAMETERI4UINV); 24549 EXTMGR_FUNC_INIT(glProgramLocalParameterI4uivNV, GLPROGRAMLOCALPARAMETERI4UIVNV); 24550 EXTMGR_FUNC_INIT(glProgramLocalParametersI4uivNV, GLPROGRAMLOCALPARAMETERSI4UIVNV); 24551 EXTMGR_FUNC_INIT(glProgramEnvParameterI4iNV, GLPROGRAMENVPARAMETERI4INV); 24552 EXTMGR_FUNC_INIT(glProgramEnvParameterI4ivNV, GLPROGRAMENVPARAMETERI4IVNV); 24553 EXTMGR_FUNC_INIT(glProgramEnvParametersI4ivNV, GLPROGRAMENVPARAMETERSI4IVNV); 24554 EXTMGR_FUNC_INIT(glProgramEnvParameterI4uiNV, GLPROGRAMENVPARAMETERI4UINV); 24555 EXTMGR_FUNC_INIT(glProgramEnvParameterI4uivNV, GLPROGRAMENVPARAMETERI4UIVNV); 24556 EXTMGR_FUNC_INIT(glProgramEnvParametersI4uivNV, GLPROGRAMENVPARAMETERSI4UIVNV); 24557 EXTMGR_FUNC_INIT(glGetProgramLocalParameterIivNV, GLGETPROGRAMLOCALPARAMETERIIVNV); 24558 EXTMGR_FUNC_INIT(glGetProgramLocalParameterIuivNV, GLGETPROGRAMLOCALPARAMETERIUIVNV); 24559 EXTMGR_FUNC_INIT(glGetProgramEnvParameterIivNV, GLGETPROGRAMENVPARAMETERIIVNV); 24560 EXTMGR_FUNC_INIT(glGetProgramEnvParameterIuivNV, GLGETPROGRAMENVPARAMETERIUIVNV); 24561 24562 EXTMGR_REPORT_INIT_RESULT("GL", GL_NV_gpu_program4) 24563 } 24564 else 24565 { 24566 Report (msgExtNotFound, "GL", ext); 24567 } 24568 } 24569 24572 void InitGL_EXT_gpu_program_parameters () 24573 { 24574 if (tested_CS_GL_EXT_gpu_program_parameters) return; 24575 if (!extstrGL) return; 24576 tested_CS_GL_EXT_gpu_program_parameters = true; 24577 const char* ext = "GL_EXT_gpu_program_parameters"; 24578 24579 char cfgkey[26 + 29 + 1]; 24580 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24581 24582 CS_GL_EXT_gpu_program_parameters = CheckExtension (extstrGL, ext); 24583 24584 bool allclear, funcTest; 24585 (void)funcTest; // shut up "variable unused" warnings 24586 bool init = CS_GL_EXT_gpu_program_parameters; 24587 allclear = true; 24588 if (init) // Don't check the functions if ext isn't reported anyway 24589 { 24590 EXTMGR_FUNC_INIT(glProgramLocalParameters4fvEXT, GLPROGRAMLOCALPARAMETERS4FVEXT); 24591 EXTMGR_FUNC_INIT(glProgramEnvParameters4fvEXT, GLPROGRAMENVPARAMETERS4FVEXT); 24592 24593 EXTMGR_REPORT_INIT_RESULT("GL", GL_EXT_gpu_program_parameters) 24594 } 24595 else 24596 { 24597 Report (msgExtNotFound, "GL", ext); 24598 } 24599 } 24600 24603 void InitGL_ARB_color_buffer_float () 24604 { 24605 if (tested_CS_GL_ARB_color_buffer_float) return; 24606 if (!extstrGL) return; 24607 tested_CS_GL_ARB_color_buffer_float = true; 24608 const char* ext = "GL_ARB_color_buffer_float"; 24609 24610 char cfgkey[26 + 25 + 1]; 24611 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24612 24613 CS_GL_ARB_color_buffer_float = CheckExtension (extstrGL, ext); 24614 24615 bool allclear, funcTest; 24616 (void)funcTest; // shut up "variable unused" warnings 24617 bool init = CS_GL_ARB_color_buffer_float; 24618 allclear = true; 24619 if (init) // Don't check the functions if ext isn't reported anyway 24620 { 24621 EXTMGR_FUNC_INIT(glClampColorARB, GLCLAMPCOLORARB); 24622 24623 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_color_buffer_float) 24624 } 24625 else 24626 { 24627 Report (msgExtNotFound, "GL", ext); 24628 } 24629 } 24630 24633 void InitGL_ARB_framebuffer_sRGB () 24634 { 24635 if (tested_CS_GL_ARB_framebuffer_sRGB) return; 24636 if (!extstrGL) return; 24637 tested_CS_GL_ARB_framebuffer_sRGB = true; 24638 const char* ext = "GL_ARB_framebuffer_sRGB"; 24639 24640 char cfgkey[26 + 23 + 1]; 24641 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24642 24643 CS_GL_ARB_framebuffer_sRGB = CheckExtension (extstrGL, ext); 24644 24645 bool allclear, funcTest; 24646 (void)funcTest; // shut up "variable unused" warnings 24647 bool init = CS_GL_ARB_framebuffer_sRGB; 24648 allclear = true; 24649 if (init) // Don't check the functions if ext isn't reported anyway 24650 { 24651 24652 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_framebuffer_sRGB) 24653 } 24654 else 24655 { 24656 Report (msgExtNotFound, "GL", ext); 24657 } 24658 } 24659 24660 #if defined(CS_OPENGL_GLX) && defined (CS_GLEXTMANAGER_USE_GLX) 24661 24663 void InitGLX_ARB_framebuffer_sRGB (Display* glxDisplay, int glxScreen) 24664 { 24665 if (tested_CS_GLX_ARB_framebuffer_sRGB) return; 24666 tested_CS_GLX_ARB_framebuffer_sRGB = true; 24667 const char* ext = "GLX_ARB_framebuffer_sRGB"; 24668 char cfgkey[26 + 24 + 1]; 24669 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24670 24671 (void)glxDisplay; // avoid `unused variable' warning. 24672 (void)glxScreen; 24673 SetupGLXextStr (glxDisplay, glxScreen); 24674 if (!extstrGLX) return; 24675 CS_GLX_ARB_framebuffer_sRGB = CheckExtension (extstrGLX, ext); 24676 24677 bool allclear, funcTest; 24678 (void)funcTest; // avoid `unused variable' warning. 24679 bool init = CS_GLX_ARB_framebuffer_sRGB; 24680 allclear = true; 24681 if (init) 24682 { 24683 24684 EXTMGR_REPORT_INIT_RESULT("GLX", GLX_ARB_framebuffer_sRGB) 24685 CS_GLX_ARB_framebuffer_sRGB &= allclear; 24686 } 24687 else 24688 { 24689 Report (msgExtNotFound, "GLX", ext); 24690 } 24691 } 24692 #endif 24693 24694 #ifdef _WIN32 24695 24697 void InitWGL_ARB_framebuffer_sRGB (HDC hDC) 24698 { 24699 if (tested_CS_WGL_ARB_framebuffer_sRGB) return; 24700 tested_CS_WGL_ARB_framebuffer_sRGB = true; 24701 const char* ext = "WGL_ARB_framebuffer_sRGB"; 24702 char cfgkey[26 + 24 + 1]; 24703 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24704 24705 (void)hDC; // avoid `unused variable' warning. 24706 SetupWGLextStr (hDC); 24707 if (!extstrWGL) return; 24708 CS_WGL_ARB_framebuffer_sRGB = CheckExtension (extstrWGL, ext); 24709 24710 bool allclear, funcTest; 24711 (void)funcTest; // avoid `unused variable' warning. 24712 bool init = CS_WGL_ARB_framebuffer_sRGB; 24713 allclear = true; 24714 if (init) 24715 { 24716 24717 EXTMGR_REPORT_INIT_RESULT("WGL", WGL_ARB_framebuffer_sRGB) 24718 CS_WGL_ARB_framebuffer_sRGB &= allclear; 24719 } 24720 else 24721 { 24722 Report (msgExtNotFound, "WGL", ext); 24723 } 24724 } 24725 #endif 24726 24729 void InitGL_ARB_draw_instanced () 24730 { 24731 if (tested_CS_GL_ARB_draw_instanced) return; 24732 if (!extstrGL) return; 24733 tested_CS_GL_ARB_draw_instanced = true; 24734 const char* ext = "GL_ARB_draw_instanced"; 24735 24736 char cfgkey[26 + 21 + 1]; 24737 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24738 24739 CS_GL_ARB_draw_instanced = CheckExtension (extstrGL, ext); 24740 24741 bool allclear, funcTest; 24742 (void)funcTest; // shut up "variable unused" warnings 24743 bool init = CS_GL_ARB_draw_instanced; 24744 allclear = true; 24745 if (init) // Don't check the functions if ext isn't reported anyway 24746 { 24747 EXTMGR_FUNC_INIT(glDrawArraysInstancedARB, GLDRAWARRAYSINSTANCEDARB); 24748 EXTMGR_FUNC_INIT(glDrawElementsInstancedARB, GLDRAWELEMENTSINSTANCEDARB); 24749 24750 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_draw_instanced) 24751 } 24752 else 24753 { 24754 Report (msgExtNotFound, "GL", ext); 24755 } 24756 } 24757 24760 void InitGL_ARB_depth_buffer_float () 24761 { 24762 if (tested_CS_GL_ARB_depth_buffer_float) return; 24763 if (!extstrGL) return; 24764 tested_CS_GL_ARB_depth_buffer_float = true; 24765 const char* ext = "GL_ARB_depth_buffer_float"; 24766 24767 char cfgkey[26 + 25 + 1]; 24768 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24769 24770 CS_GL_ARB_depth_buffer_float = CheckExtension (extstrGL, ext); 24771 24772 bool allclear, funcTest; 24773 (void)funcTest; // shut up "variable unused" warnings 24774 bool init = CS_GL_ARB_depth_buffer_float; 24775 allclear = true; 24776 if (init) // Don't check the functions if ext isn't reported anyway 24777 { 24778 24779 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_depth_buffer_float) 24780 } 24781 else 24782 { 24783 Report (msgExtNotFound, "GL", ext); 24784 } 24785 } 24786 24789 void InitGL_ARB_instanced_arrays () 24790 { 24791 if (tested_CS_GL_ARB_instanced_arrays) return; 24792 if (!extstrGL) return; 24793 tested_CS_GL_ARB_instanced_arrays = true; 24794 const char* ext = "GL_ARB_instanced_arrays"; 24795 24796 char cfgkey[26 + 23 + 1]; 24797 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24798 24799 CS_GL_ARB_instanced_arrays = CheckExtension (extstrGL, ext); 24800 24801 bool allclear, funcTest; 24802 (void)funcTest; // shut up "variable unused" warnings 24803 bool init = CS_GL_ARB_instanced_arrays; 24804 allclear = true; 24805 if (init) // Don't check the functions if ext isn't reported anyway 24806 { 24807 EXTMGR_FUNC_INIT(glVertexAttribDivisorARB, GLVERTEXATTRIBDIVISORARB); 24808 24809 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_instanced_arrays) 24810 } 24811 else 24812 { 24813 Report (msgExtNotFound, "GL", ext); 24814 } 24815 } 24816 24819 void InitGL_ARB_half_float_vertex () 24820 { 24821 if (tested_CS_GL_ARB_half_float_vertex) return; 24822 if (!extstrGL) return; 24823 tested_CS_GL_ARB_half_float_vertex = true; 24824 const char* ext = "GL_ARB_half_float_vertex"; 24825 24826 char cfgkey[26 + 24 + 1]; 24827 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24828 24829 CS_GL_ARB_half_float_vertex = CheckExtension (extstrGL, ext); 24830 24831 bool allclear, funcTest; 24832 (void)funcTest; // shut up "variable unused" warnings 24833 bool init = CS_GL_ARB_half_float_vertex; 24834 allclear = true; 24835 if (init) // Don't check the functions if ext isn't reported anyway 24836 { 24837 24838 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_half_float_vertex) 24839 } 24840 else 24841 { 24842 Report (msgExtNotFound, "GL", ext); 24843 } 24844 } 24845 24848 void InitGL_ARB_map_buffer_range () 24849 { 24850 if (tested_CS_GL_ARB_map_buffer_range) return; 24851 if (!extstrGL) return; 24852 tested_CS_GL_ARB_map_buffer_range = true; 24853 const char* ext = "GL_ARB_map_buffer_range"; 24854 24855 char cfgkey[26 + 23 + 1]; 24856 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24857 24858 CS_GL_ARB_map_buffer_range = CheckExtension (extstrGL, ext); 24859 24860 bool allclear, funcTest; 24861 (void)funcTest; // shut up "variable unused" warnings 24862 bool init = CS_GL_ARB_map_buffer_range; 24863 allclear = true; 24864 if (init) // Don't check the functions if ext isn't reported anyway 24865 { 24866 EXTMGR_FUNC_INIT(glMapBufferRange, GLMAPBUFFERRANGE); 24867 EXTMGR_FUNC_INIT(glFlushMappedBufferRange, GLFLUSHMAPPEDBUFFERRANGE); 24868 24869 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_map_buffer_range) 24870 } 24871 else 24872 { 24873 Report (msgExtNotFound, "GL", ext); 24874 } 24875 } 24876 24879 void InitGL_ARB_texture_compression_rgtc () 24880 { 24881 if (tested_CS_GL_ARB_texture_compression_rgtc) return; 24882 if (!extstrGL) return; 24883 tested_CS_GL_ARB_texture_compression_rgtc = true; 24884 const char* ext = "GL_ARB_texture_compression_rgtc"; 24885 24886 char cfgkey[26 + 31 + 1]; 24887 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24888 24889 CS_GL_ARB_texture_compression_rgtc = CheckExtension (extstrGL, ext); 24890 24891 bool allclear, funcTest; 24892 (void)funcTest; // shut up "variable unused" warnings 24893 bool init = CS_GL_ARB_texture_compression_rgtc; 24894 allclear = true; 24895 if (init) // Don't check the functions if ext isn't reported anyway 24896 { 24897 24898 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_compression_rgtc) 24899 } 24900 else 24901 { 24902 Report (msgExtNotFound, "GL", ext); 24903 } 24904 } 24905 24908 void InitGL_ARB_texture_rg () 24909 { 24910 if (tested_CS_GL_ARB_texture_rg) return; 24911 if (!extstrGL) return; 24912 tested_CS_GL_ARB_texture_rg = true; 24913 const char* ext = "GL_ARB_texture_rg"; 24914 24915 char cfgkey[26 + 17 + 1]; 24916 sprintf (cfgkey, "Video.OpenGL.UseExtension.%s", ext); 24917 24918 CS_GL_ARB_texture_rg = CheckExtension (extstrGL, ext); 24919 24920 bool allclear, funcTest; 24921 (void)funcTest; // shut up "variable unused" warnings 24922 bool init = CS_GL_ARB_texture_rg; 24923 allclear = true; 24924 if (init) // Don't check the functions if ext isn't reported anyway 24925 { 24926 24927 EXTMGR_REPORT_INIT_RESULT("GL", GL_ARB_texture_rg) 24928 } 24929 else 24930 { 24931 Report (msgExtNotFound, "GL", ext); 24932 } 24933 } 24934 24935 24936 }; 24937 24938 #undef REPORT_MISSING_ENTRIES 24939 24940 #undef EXTMGR_FUNC_INIT 24941 #undef EXTMGR_REPORT_INIT_RESULT 24942 24943 #endif // __CS_GLEXTENSIONMANAGER_H__ 24944
Generated for Crystal Space 1.4.0 by doxygen 1.5.8