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