Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygengl.h
Go to the documentation of this file.
00001 /* $Id: gl.h,v 1.3 2003/08/25 02:02:37 dannysmith Exp $ */ 00002 00003 /* 00004 * Mesa 3-D graphics library 00005 * Version: 4.0 00006 * 00007 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. 00008 * 00009 * Permission is hereby granted, free of charge, to any person obtaining a 00010 * copy of this software and associated documentation files (the "Software"), 00011 * to deal in the Software without restriction, including without limitation 00012 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 00013 * and/or sell copies of the Software, and to permit persons to whom the 00014 * Software is furnished to do so, subject to the following conditions: 00015 * 00016 * The above copyright notice and this permission notice shall be included 00017 * in all copies or substantial portions of the Software. 00018 * 00019 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00020 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00021 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00022 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 00023 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00024 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 00025 */ 00026 00027 00028 /************************************************************************ 00029 * 2002-Apr-22, José Fonseca: 00030 * Removed non Win32 system-specific stuff 00031 * 00032 * 2002-Apr-17, Marcus Geelnard: 00033 * For win32, OpenGL 1.2 & 1.3 definitions are not made in this file 00034 * anymore, since under Windows those are regarded as extensions, and 00035 * are better defined in glext.h (especially the function prototypes may 00036 * conflict with extension function pointers). A few "cosmetical" 00037 * changes were also made to this file. 00038 * 00039 * 2002-Apr-15, Marcus Geelnard: 00040 * Modified this file to better fit a wider range of compilers, removed 00041 * Mesa specific stuff, and removed extension definitions (this file now 00042 * relies on GL/glext.h). Hopefully this file should now function as a 00043 * generic OpenGL gl.h include file for most compilers and environments. 00044 * Changed GLAPIENTRY to APIENTRY (to be consistent with GL/glext.h). 00045 ************************************************************************/ 00046 00047 00048 #ifndef __gl_h_ 00049 #define __gl_h_ 00050 00051 00052 00053 /************************************************************************ 00054 * Begin system-specific stuff. 00055 */ 00056 /* __WIN32__ */ 00057 #if !defined(__WIN32__) && (defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__)) 00058 # define __WIN32__ 00059 #endif 00060 00061 /* GLAPI, part 1 (use WINGDIAPI, if defined) */ 00062 #if defined(__WIN32__) && defined(WINGDIAPI) 00063 # define GLAPI WINGDIAPI 00064 #endif 00065 00066 /* GLAPI, part 2 */ 00067 #if !defined(GLAPI) 00068 # if defined(_MSC_VER) /* Microsoft Visual C++ */ 00069 # define GLAPI __declspec(dllimport) 00070 # elif defined(__LCC__) && defined(__WIN32__) /* LCC-Win32 */ 00071 # define GLAPI __stdcall 00072 # else /* Others (e.g. MinGW, Cygwin, non-win32) */ 00073 # define GLAPI extern 00074 # endif 00075 #endif 00076 00077 /* APIENTRY */ 00078 #if !defined(APIENTRY) 00079 # if defined(__WIN32__) 00080 # define APIENTRY __stdcall 00081 # else 00082 # define APIENTRY 00083 # endif 00084 #endif 00085 /* 00086 * End system-specific stuff. 00087 ************************************************************************/ 00088 00089 00090 00091 #ifdef __cplusplus 00092 extern "C" { 00093 #endif 00094 00095 00096 00097 #define GL_VERSION_1_1 1 00098 00099 #if !defined(__WIN32__) 00100 #define GL_VERSION_1_2 1 00101 #define GL_VERSION_1_3 1 00102 #define GL_ARB_imaging 1 00103 #endif 00104 00105 00106 /* 00107 * 00108 * Datatypes 00109 * 00110 */ 00111 #ifdef CENTERLINE_CLPP 00112 #define signed 00113 #endif 00114 typedef unsigned int GLenum; 00115 typedef unsigned char GLboolean; 00116 typedef unsigned int GLbitfield; 00117 typedef void GLvoid; 00118 typedef signed char GLbyte; /* 1-byte signed */ 00119 typedef short GLshort; /* 2-byte signed */ 00120 typedef int GLint; /* 4-byte signed */ 00121 typedef unsigned char GLubyte; /* 1-byte unsigned */ 00122 typedef unsigned short GLushort; /* 2-byte unsigned */ 00123 typedef unsigned int GLuint; /* 4-byte unsigned */ 00124 typedef int GLsizei; /* 4-byte signed */ 00125 typedef float GLfloat; /* single precision float */ 00126 typedef float GLclampf; /* single precision float in [0,1] */ 00127 typedef double GLdouble; /* double precision float */ 00128 typedef double GLclampd; /* double precision float in [0,1] */ 00129 00130 00131 00132 /************************************************************************ 00133 * 00134 * Constants 00135 * 00136 ************************************************************************/ 00137 00138 /* Boolean values */ 00139 #define GL_FALSE 0x0 00140 #define GL_TRUE 0x1 00141 00142 /* Data types */ 00143 #define GL_BYTE 0x1400 00144 #define GL_UNSIGNED_BYTE 0x1401 00145 #define GL_SHORT 0x1402 00146 #define GL_UNSIGNED_SHORT 0x1403 00147 #define GL_INT 0x1404 00148 #define GL_UNSIGNED_INT 0x1405 00149 #define GL_FLOAT 0x1406 00150 #define GL_DOUBLE 0x140A 00151 #define GL_2_BYTES 0x1407 00152 #define GL_3_BYTES 0x1408 00153 #define GL_4_BYTES 0x1409 00154 00155 /* Primitives */ 00156 #define GL_POINTS 0x0000 00157 #define GL_LINES 0x0001 00158 #define GL_LINE_LOOP 0x0002 00159 #define GL_LINE_STRIP 0x0003 00160 #define GL_TRIANGLES 0x0004 00161 #define GL_TRIANGLE_STRIP 0x0005 00162 #define GL_TRIANGLE_FAN 0x0006 00163 #define GL_QUADS 0x0007 00164 #define GL_QUAD_STRIP 0x0008 00165 #define GL_POLYGON 0x0009 00166 00167 /* Vertex Arrays */ 00168 #define GL_VERTEX_ARRAY 0x8074 00169 #define GL_NORMAL_ARRAY 0x8075 00170 #define GL_COLOR_ARRAY 0x8076 00171 #define GL_INDEX_ARRAY 0x8077 00172 #define GL_TEXTURE_COORD_ARRAY 0x8078 00173 #define GL_EDGE_FLAG_ARRAY 0x8079 00174 #define GL_VERTEX_ARRAY_SIZE 0x807A 00175 #define GL_VERTEX_ARRAY_TYPE 0x807B 00176 #define GL_VERTEX_ARRAY_STRIDE 0x807C 00177 #define GL_NORMAL_ARRAY_TYPE 0x807E 00178 #define GL_NORMAL_ARRAY_STRIDE 0x807F 00179 #define GL_COLOR_ARRAY_SIZE 0x8081 00180 #define GL_COLOR_ARRAY_TYPE 0x8082 00181 #define GL_COLOR_ARRAY_STRIDE 0x8083 00182 #define GL_INDEX_ARRAY_TYPE 0x8085 00183 #define GL_INDEX_ARRAY_STRIDE 0x8086 00184 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 00185 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 00186 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 00187 #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 00188 #define GL_VERTEX_ARRAY_POINTER 0x808E 00189 #define GL_NORMAL_ARRAY_POINTER 0x808F 00190 #define GL_COLOR_ARRAY_POINTER 0x8090 00191 #define GL_INDEX_ARRAY_POINTER 0x8091 00192 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 00193 #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 00194 #define GL_V2F 0x2A20 00195 #define GL_V3F 0x2A21 00196 #define GL_C4UB_V2F 0x2A22 00197 #define GL_C4UB_V3F 0x2A23 00198 #define GL_C3F_V3F 0x2A24 00199 #define GL_N3F_V3F 0x2A25 00200 #define GL_C4F_N3F_V3F 0x2A26 00201 #define GL_T2F_V3F 0x2A27 00202 #define GL_T4F_V4F 0x2A28 00203 #define GL_T2F_C4UB_V3F 0x2A29 00204 #define GL_T2F_C3F_V3F 0x2A2A 00205 #define GL_T2F_N3F_V3F 0x2A2B 00206 #define GL_T2F_C4F_N3F_V3F 0x2A2C 00207 #define GL_T4F_C4F_N3F_V4F 0x2A2D 00208 00209 /* Matrix Mode */ 00210 #define GL_MATRIX_MODE 0x0BA0 00211 #define GL_MODELVIEW 0x1700 00212 #define GL_PROJECTION 0x1701 00213 #define GL_TEXTURE 0x1702 00214 00215 /* Points */ 00216 #define GL_POINT_SMOOTH 0x0B10 00217 #define GL_POINT_SIZE 0x0B11 00218 #define GL_POINT_SIZE_GRANULARITY 0x0B13 00219 #define GL_POINT_SIZE_RANGE 0x0B12 00220 00221 /* Lines */ 00222 #define GL_LINE_SMOOTH 0x0B20 00223 #define GL_LINE_STIPPLE 0x0B24 00224 #define GL_LINE_STIPPLE_PATTERN 0x0B25 00225 #define GL_LINE_STIPPLE_REPEAT 0x0B26 00226 #define GL_LINE_WIDTH 0x0B21 00227 #define GL_LINE_WIDTH_GRANULARITY 0x0B23 00228 #define GL_LINE_WIDTH_RANGE 0x0B22 00229 00230 /* Polygons */ 00231 #define GL_POINT 0x1B00 00232 #define GL_LINE 0x1B01 00233 #define GL_FILL 0x1B02 00234 #define GL_CW 0x0900 00235 #define GL_CCW 0x0901 00236 #define GL_FRONT 0x0404 00237 #define GL_BACK 0x0405 00238 #define GL_POLYGON_MODE 0x0B40 00239 #define GL_POLYGON_SMOOTH 0x0B41 00240 #define GL_POLYGON_STIPPLE 0x0B42 00241 #define GL_EDGE_FLAG 0x0B43 00242 #define GL_CULL_FACE 0x0B44 00243 #define GL_CULL_FACE_MODE 0x0B45 00244 #define GL_FRONT_FACE 0x0B46 00245 #define GL_POLYGON_OFFSET_FACTOR 0x8038 00246 #define GL_POLYGON_OFFSET_UNITS 0x2A00 00247 #define GL_POLYGON_OFFSET_POINT 0x2A01 00248 #define GL_POLYGON_OFFSET_LINE 0x2A02 00249 #define GL_POLYGON_OFFSET_FILL 0x8037 00250 00251 /* Display Lists */ 00252 #define GL_COMPILE 0x1300 00253 #define GL_COMPILE_AND_EXECUTE 0x1301 00254 #define GL_LIST_BASE 0x0B32 00255 #define GL_LIST_INDEX 0x0B33 00256 #define GL_LIST_MODE 0x0B30 00257 00258 /* Depth buffer */ 00259 #define GL_NEVER 0x0200 00260 #define GL_LESS 0x0201 00261 #define GL_EQUAL 0x0202 00262 #define GL_LEQUAL 0x0203 00263 #define GL_GREATER 0x0204 00264 #define GL_NOTEQUAL 0x0205 00265 #define GL_GEQUAL 0x0206 00266 #define GL_ALWAYS 0x0207 00267 #define GL_DEPTH_TEST 0x0B71 00268 #define GL_DEPTH_BITS 0x0D56 00269 #define GL_DEPTH_CLEAR_VALUE 0x0B73 00270 #define GL_DEPTH_FUNC 0x0B74 00271 #define GL_DEPTH_RANGE 0x0B70 00272 #define GL_DEPTH_WRITEMASK 0x0B72 00273 #define GL_DEPTH_COMPONENT 0x1902 00274 00275 /* Lighting */ 00276 #define GL_LIGHTING 0x0B50 00277 #define GL_LIGHT0 0x4000 00278 #define GL_LIGHT1 0x4001 00279 #define GL_LIGHT2 0x4002 00280 #define GL_LIGHT3 0x4003 00281 #define GL_LIGHT4 0x4004 00282 #define GL_LIGHT5 0x4005 00283 #define GL_LIGHT6 0x4006 00284 #define GL_LIGHT7 0x4007 00285 #define GL_SPOT_EXPONENT 0x1205 00286 #define GL_SPOT_CUTOFF 0x1206 00287 #define GL_CONSTANT_ATTENUATION 0x1207 00288 #define GL_LINEAR_ATTENUATION 0x1208 00289 #define GL_QUADRATIC_ATTENUATION 0x1209 00290 #define GL_AMBIENT 0x1200 00291 #define GL_DIFFUSE 0x1201 00292 #define GL_SPECULAR 0x1202 00293 #define GL_SHININESS 0x1601 00294 #define GL_EMISSION 0x1600 00295 #define GL_POSITION 0x1203 00296 #define GL_SPOT_DIRECTION 0x1204 00297 #define GL_AMBIENT_AND_DIFFUSE 0x1602 00298 #define GL_COLOR_INDEXES 0x1603 00299 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 00300 #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 00301 #define GL_LIGHT_MODEL_AMBIENT 0x0B53 00302 #define GL_FRONT_AND_BACK 0x0408 00303 #define GL_SHADE_MODEL 0x0B54 00304 #define GL_FLAT 0x1D00 00305 #define GL_SMOOTH 0x1D01 00306 #define GL_COLOR_MATERIAL 0x0B57 00307 #define GL_COLOR_MATERIAL_FACE 0x0B55 00308 #define GL_COLOR_MATERIAL_PARAMETER 0x0B56 00309 #define GL_NORMALIZE 0x0BA1 00310 00311 /* User clipping planes */ 00312 #define GL_CLIP_PLANE0 0x3000 00313 #define GL_CLIP_PLANE1 0x3001 00314 #define GL_CLIP_PLANE2 0x3002 00315 #define GL_CLIP_PLANE3 0x3003 00316 #define GL_CLIP_PLANE4 0x3004 00317 #define GL_CLIP_PLANE5 0x3005 00318 00319 /* Accumulation buffer */ 00320 #define GL_ACCUM_RED_BITS 0x0D58 00321 #define GL_ACCUM_GREEN_BITS 0x0D59 00322 #define GL_ACCUM_BLUE_BITS 0x0D5A 00323 #define GL_ACCUM_ALPHA_BITS 0x0D5B 00324 #define GL_ACCUM_CLEAR_VALUE 0x0B80 00325 #define GL_ACCUM 0x0100 00326 #define GL_ADD 0x0104 00327 #define GL_LOAD 0x0101 00328 #define GL_MULT 0x0103 00329 #define GL_RETURN 0x0102 00330 00331 /* Alpha testing */ 00332 #define GL_ALPHA_TEST 0x0BC0 00333 #define GL_ALPHA_TEST_REF 0x0BC2 00334 #define GL_ALPHA_TEST_FUNC 0x0BC1 00335 00336 /* Blending */ 00337 #define GL_BLEND 0x0BE2 00338 #define GL_BLEND_SRC 0x0BE1 00339 #define GL_BLEND_DST 0x0BE0 00340 #define GL_ZERO 0x0 00341 #define GL_ONE 0x1 00342 #define GL_SRC_COLOR 0x0300 00343 #define GL_ONE_MINUS_SRC_COLOR 0x0301 00344 #define GL_SRC_ALPHA 0x0302 00345 #define GL_ONE_MINUS_SRC_ALPHA 0x0303 00346 #define GL_DST_ALPHA 0x0304 00347 #define GL_ONE_MINUS_DST_ALPHA 0x0305 00348 #define GL_DST_COLOR 0x0306 00349 #define GL_ONE_MINUS_DST_COLOR 0x0307 00350 #define GL_SRC_ALPHA_SATURATE 0x0308 00351 #define GL_CONSTANT_COLOR 0x8001 00352 #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 00353 #define GL_CONSTANT_ALPHA 0x8003 00354 #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 00355 00356 /* Render Mode */ 00357 #define GL_FEEDBACK 0x1C01 00358 #define GL_RENDER 0x1C00 00359 #define GL_SELECT 0x1C02 00360 00361 /* Feedback */ 00362 #define GL_2D 0x0600 00363 #define GL_3D 0x0601 00364 #define GL_3D_COLOR 0x0602 00365 #define GL_3D_COLOR_TEXTURE 0x0603 00366 #define GL_4D_COLOR_TEXTURE 0x0604 00367 #define GL_POINT_TOKEN 0x0701 00368 #define GL_LINE_TOKEN 0x0702 00369 #define GL_LINE_RESET_TOKEN 0x0707 00370 #define GL_POLYGON_TOKEN 0x0703 00371 #define GL_BITMAP_TOKEN 0x0704 00372 #define GL_DRAW_PIXEL_TOKEN 0x0705 00373 #define GL_COPY_PIXEL_TOKEN 0x0706 00374 #define GL_PASS_THROUGH_TOKEN 0x0700 00375 #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 00376 #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 00377 #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 00378 00379 /* Selection */ 00380 #define GL_SELECTION_BUFFER_POINTER 0x0DF3 00381 #define GL_SELECTION_BUFFER_SIZE 0x0DF4 00382 00383 /* Fog */ 00384 #define GL_FOG 0x0B60 00385 #define GL_FOG_MODE 0x0B65 00386 #define GL_FOG_DENSITY 0x0B62 00387 #define GL_FOG_COLOR 0x0B66 00388 #define GL_FOG_INDEX 0x0B61 00389 #define GL_FOG_START 0x0B63 00390 #define GL_FOG_END 0x0B64 00391 #define GL_LINEAR 0x2601 00392 #define GL_EXP 0x0800 00393 #define GL_EXP2 0x0801 00394 00395 /* Logic Ops */ 00396 #define GL_LOGIC_OP 0x0BF1 00397 #define GL_INDEX_LOGIC_OP 0x0BF1 00398 #define GL_COLOR_LOGIC_OP 0x0BF2 00399 #define GL_LOGIC_OP_MODE 0x0BF0 00400 #define GL_CLEAR 0x1500 00401 #define GL_SET 0x150F 00402 #define GL_COPY 0x1503 00403 #define GL_COPY_INVERTED 0x150C 00404 #define GL_NOOP 0x1505 00405 #define GL_INVERT 0x150A 00406 #define GL_AND 0x1501 00407 #define GL_NAND 0x150E 00408 #define GL_OR 0x1507 00409 #define GL_NOR 0x1508 00410 #define GL_XOR 0x1506 00411 #define GL_EQUIV 0x1509 00412 #define GL_AND_REVERSE 0x1502 00413 #define GL_AND_INVERTED 0x1504 00414 #define GL_OR_REVERSE 0x150B 00415 #define GL_OR_INVERTED 0x150D 00416 00417 /* Stencil */ 00418 #define GL_STENCIL_TEST 0x0B90 00419 #define GL_STENCIL_WRITEMASK 0x0B98 00420 #define GL_STENCIL_BITS 0x0D57 00421 #define GL_STENCIL_FUNC 0x0B92 00422 #define GL_STENCIL_VALUE_MASK 0x0B93 00423 #define GL_STENCIL_REF 0x0B97 00424 #define GL_STENCIL_FAIL 0x0B94 00425 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 00426 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 00427 #define GL_STENCIL_CLEAR_VALUE 0x0B91 00428 #define GL_STENCIL_INDEX 0x1901 00429 #define GL_KEEP 0x1E00 00430 #define GL_REPLACE 0x1E01 00431 #define GL_INCR 0x1E02 00432 #define GL_DECR 0x1E03 00433 00434 /* Buffers, Pixel Drawing/Reading */ 00435 #define GL_NONE 0x0 00436 #define GL_LEFT 0x0406 00437 #define GL_RIGHT 0x0407 00438 /*GL_FRONT 0x0404 */ 00439 /*GL_BACK 0x0405 */ 00440 /*GL_FRONT_AND_BACK 0x0408 */ 00441 #define GL_FRONT_LEFT 0x0400 00442 #define GL_FRONT_RIGHT 0x0401 00443 #define GL_BACK_LEFT 0x0402 00444 #define GL_BACK_RIGHT 0x0403 00445 #define GL_AUX0 0x0409 00446 #define GL_AUX1 0x040A 00447 #define GL_AUX2 0x040B 00448 #define GL_AUX3 0x040C 00449 #define GL_COLOR_INDEX 0x1900 00450 #define GL_RED 0x1903 00451 #define GL_GREEN 0x1904 00452 #define GL_BLUE 0x1905 00453 #define GL_ALPHA 0x1906 00454 #define GL_LUMINANCE 0x1909 00455 #define GL_LUMINANCE_ALPHA 0x190A 00456 #define GL_ALPHA_BITS 0x0D55 00457 #define GL_RED_BITS 0x0D52 00458 #define GL_GREEN_BITS 0x0D53 00459 #define GL_BLUE_BITS 0x0D54 00460 #define GL_INDEX_BITS 0x0D51 00461 #define GL_SUBPIXEL_BITS 0x0D50 00462 #define GL_AUX_BUFFERS 0x0C00 00463 #define GL_READ_BUFFER 0x0C02 00464 #define GL_DRAW_BUFFER 0x0C01 00465 #define GL_DOUBLEBUFFER 0x0C32 00466 #define GL_STEREO 0x0C33 00467 #define GL_BITMAP 0x1A00 00468 #define GL_COLOR 0x1800 00469 #define GL_DEPTH 0x1801 00470 #define GL_STENCIL 0x1802 00471 #define GL_DITHER 0x0BD0 00472 #define GL_RGB 0x1907 00473 #define GL_RGBA 0x1908 00474 00475 /* Implementation limits */ 00476 #define GL_MAX_LIST_NESTING 0x0B31 00477 #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 00478 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 00479 #define GL_MAX_NAME_STACK_DEPTH 0x0D37 00480 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 00481 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 00482 #define GL_MAX_EVAL_ORDER 0x0D30 00483 #define GL_MAX_LIGHTS 0x0D31 00484 #define GL_MAX_CLIP_PLANES 0x0D32 00485 #define GL_MAX_TEXTURE_SIZE 0x0D33 00486 #define GL_MAX_PIXEL_MAP_TABLE 0x0D34 00487 #define GL_MAX_VIEWPORT_DIMS 0x0D3A 00488 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B 00489 00490 /* Gets */ 00491 #define GL_ATTRIB_STACK_DEPTH 0x0BB0 00492 #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 00493 #define GL_COLOR_CLEAR_VALUE 0x0C22 00494 #define GL_COLOR_WRITEMASK 0x0C23 00495 #define GL_CURRENT_INDEX 0x0B01 00496 #define GL_CURRENT_COLOR 0x0B00 00497 #define GL_CURRENT_NORMAL 0x0B02 00498 #define GL_CURRENT_RASTER_COLOR 0x0B04 00499 #define GL_CURRENT_RASTER_DISTANCE 0x0B09 00500 #define GL_CURRENT_RASTER_INDEX 0x0B05 00501 #define GL_CURRENT_RASTER_POSITION 0x0B07 00502 #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 00503 #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 00504 #define GL_CURRENT_TEXTURE_COORDS 0x0B03 00505 #define GL_INDEX_CLEAR_VALUE 0x0C20 00506 #define GL_INDEX_MODE 0x0C30 00507 #define GL_INDEX_WRITEMASK 0x0C21 00508 #define GL_MODELVIEW_MATRIX 0x0BA6 00509 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3 00510 #define GL_NAME_STACK_DEPTH 0x0D70 00511 #define GL_PROJECTION_MATRIX 0x0BA7 00512 #define GL_PROJECTION_STACK_DEPTH 0x0BA4 00513 #define GL_RENDER_MODE 0x0C40 00514 #define GL_RGBA_MODE 0x0C31 00515 #define GL_TEXTURE_MATRIX 0x0BA8 00516 #define GL_TEXTURE_STACK_DEPTH 0x0BA5 00517 #define GL_VIEWPORT 0x0BA2 00518 00519 /* Evaluators */ 00520 #define GL_AUTO_NORMAL 0x0D80 00521 #define GL_MAP1_COLOR_4 0x0D90 00522 #define GL_MAP1_GRID_DOMAIN 0x0DD0 00523 #define GL_MAP1_GRID_SEGMENTS 0x0DD1 00524 #define GL_MAP1_INDEX 0x0D91 00525 #define GL_MAP1_NORMAL 0x0D92 00526 #define GL_MAP1_TEXTURE_COORD_1 0x0D93 00527 #define GL_MAP1_TEXTURE_COORD_2 0x0D94 00528 #define GL_MAP1_TEXTURE_COORD_3 0x0D95 00529 #define GL_MAP1_TEXTURE_COORD_4 0x0D96 00530 #define GL_MAP1_VERTEX_3 0x0D97 00531 #define GL_MAP1_VERTEX_4 0x0D98 00532 #define GL_MAP2_COLOR_4 0x0DB0 00533 #define GL_MAP2_GRID_DOMAIN 0x0DD2 00534 #define GL_MAP2_GRID_SEGMENTS 0x0DD3 00535 #define GL_MAP2_INDEX 0x0DB1 00536 #define GL_MAP2_NORMAL 0x0DB2 00537 #define GL_MAP2_TEXTURE_COORD_1 0x0DB3 00538 #define GL_MAP2_TEXTURE_COORD_2 0x0DB4 00539 #define GL_MAP2_TEXTURE_COORD_3 0x0DB5 00540 #define GL_MAP2_TEXTURE_COORD_4 0x0DB6 00541 #define GL_MAP2_VERTEX_3 0x0DB7 00542 #define GL_MAP2_VERTEX_4 0x0DB8 00543 #define GL_COEFF 0x0A00 00544 #define GL_DOMAIN 0x0A02 00545 #define GL_ORDER 0x0A01 00546 00547 /* Hints */ 00548 #define GL_FOG_HINT 0x0C54 00549 #define GL_LINE_SMOOTH_HINT 0x0C52 00550 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 00551 #define GL_POINT_SMOOTH_HINT 0x0C51 00552 #define GL_POLYGON_SMOOTH_HINT 0x0C53 00553 #define GL_DONT_CARE 0x1100 00554 #define GL_FASTEST 0x1101 00555 #define GL_NICEST 0x1102 00556 00557 /* Scissor box */ 00558 #define GL_SCISSOR_TEST 0x0C11 00559 #define GL_SCISSOR_BOX 0x0C10 00560 00561 /* Pixel Mode / Transfer */ 00562 #define GL_MAP_COLOR 0x0D10 00563 #define GL_MAP_STENCIL 0x0D11 00564 #define GL_INDEX_SHIFT 0x0D12 00565 #define GL_INDEX_OFFSET 0x0D13 00566 #define GL_RED_SCALE 0x0D14 00567 #define GL_RED_BIAS 0x0D15 00568 #define GL_GREEN_SCALE 0x0D18 00569 #define GL_GREEN_BIAS 0x0D19 00570 #define GL_BLUE_SCALE 0x0D1A 00571 #define GL_BLUE_BIAS 0x0D1B 00572 #define GL_ALPHA_SCALE 0x0D1C 00573 #define GL_ALPHA_BIAS 0x0D1D 00574 #define GL_DEPTH_SCALE 0x0D1E 00575 #define GL_DEPTH_BIAS 0x0D1F 00576 #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 00577 #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 00578 #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 00579 #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 00580 #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 00581 #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 00582 #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 00583 #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 00584 #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 00585 #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 00586 #define GL_PIXEL_MAP_S_TO_S 0x0C71 00587 #define GL_PIXEL_MAP_I_TO_I 0x0C70 00588 #define GL_PIXEL_MAP_I_TO_R 0x0C72 00589 #define GL_PIXEL_MAP_I_TO_G 0x0C73 00590 #define GL_PIXEL_MAP_I_TO_B 0x0C74 00591 #define GL_PIXEL_MAP_I_TO_A 0x0C75 00592 #define GL_PIXEL_MAP_R_TO_R 0x0C76 00593 #define GL_PIXEL_MAP_G_TO_G 0x0C77 00594 #define GL_PIXEL_MAP_B_TO_B 0x0C78 00595 #define GL_PIXEL_MAP_A_TO_A 0x0C79 00596 #define GL_PACK_ALIGNMENT 0x0D05 00597 #define GL_PACK_LSB_FIRST 0x0D01 00598 #define GL_PACK_ROW_LENGTH 0x0D02 00599 #define GL_PACK_SKIP_PIXELS 0x0D04 00600 #define GL_PACK_SKIP_ROWS 0x0D03 00601 #define GL_PACK_SWAP_BYTES 0x0D00 00602 #define GL_UNPACK_ALIGNMENT 0x0CF5 00603 #define GL_UNPACK_LSB_FIRST 0x0CF1 00604 #define GL_UNPACK_ROW_LENGTH 0x0CF2 00605 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 00606 #define GL_UNPACK_SKIP_ROWS 0x0CF3 00607 #define GL_UNPACK_SWAP_BYTES 0x0CF0 00608 #define GL_ZOOM_X 0x0D16 00609 #define GL_ZOOM_Y 0x0D17 00610 00611 /* Texture mapping */ 00612 #define GL_TEXTURE_ENV 0x2300 00613 #define GL_TEXTURE_ENV_MODE 0x2200 00614 #define GL_TEXTURE_1D 0x0DE0 00615 #define GL_TEXTURE_2D 0x0DE1 00616 #define GL_TEXTURE_WRAP_S 0x2802 00617 #define GL_TEXTURE_WRAP_T 0x2803 00618 #define GL_TEXTURE_MAG_FILTER 0x2800 00619 #define GL_TEXTURE_MIN_FILTER 0x2801 00620 #define GL_TEXTURE_ENV_COLOR 0x2201 00621 #define GL_TEXTURE_GEN_S 0x0C60 00622 #define GL_TEXTURE_GEN_T 0x0C61 00623 #define GL_TEXTURE_GEN_MODE 0x2500 00624 #define GL_TEXTURE_BORDER_COLOR 0x1004 00625 #define GL_TEXTURE_WIDTH 0x1000 00626 #define GL_TEXTURE_HEIGHT 0x1001 00627 #define GL_TEXTURE_BORDER 0x1005 00628 #define GL_TEXTURE_COMPONENTS 0x1003 00629 #define GL_TEXTURE_RED_SIZE 0x805C 00630 #define GL_TEXTURE_GREEN_SIZE 0x805D 00631 #define GL_TEXTURE_BLUE_SIZE 0x805E 00632 #define GL_TEXTURE_ALPHA_SIZE 0x805F 00633 #define GL_TEXTURE_LUMINANCE_SIZE 0x8060 00634 #define GL_TEXTURE_INTENSITY_SIZE 0x8061 00635 #define GL_NEAREST_MIPMAP_NEAREST 0x2700 00636 #define GL_NEAREST_MIPMAP_LINEAR 0x2702 00637 #define GL_LINEAR_MIPMAP_NEAREST 0x2701 00638 #define GL_LINEAR_MIPMAP_LINEAR 0x2703 00639 #define GL_OBJECT_LINEAR 0x2401 00640 #define GL_OBJECT_PLANE 0x2501 00641 #define GL_EYE_LINEAR 0x2400 00642 #define GL_EYE_PLANE 0x2502 00643 #define GL_SPHERE_MAP 0x2402 00644 #define GL_DECAL 0x2101 00645 #define GL_MODULATE 0x2100 00646 #define GL_NEAREST 0x2600 00647 #define GL_REPEAT 0x2901 00648 #define GL_CLAMP 0x2900 00649 #define GL_S 0x2000 00650 #define GL_T 0x2001 00651 #define GL_R 0x2002 00652 #define GL_Q 0x2003 00653 #define GL_TEXTURE_GEN_R 0x0C62 00654 #define GL_TEXTURE_GEN_Q 0x0C63 00655 00656 /* Utility */ 00657 #define GL_VENDOR 0x1F00 00658 #define GL_RENDERER 0x1F01 00659 #define GL_VERSION 0x1F02 00660 #define GL_EXTENSIONS 0x1F03 00661 00662 /* Errors */ 00663 #define GL_NO_ERROR 0x0 00664 #define GL_INVALID_VALUE 0x0501 00665 #define GL_INVALID_ENUM 0x0500 00666 #define GL_INVALID_OPERATION 0x0502 00667 #define GL_STACK_OVERFLOW 0x0503 00668 #define GL_STACK_UNDERFLOW 0x0504 00669 #define GL_OUT_OF_MEMORY 0x0505 00670 00671 /* glPush/PopAttrib bits */ 00672 #define GL_CURRENT_BIT 0x00000001 00673 #define GL_POINT_BIT 0x00000002 00674 #define GL_LINE_BIT 0x00000004 00675 #define GL_POLYGON_BIT 0x00000008 00676 #define GL_POLYGON_STIPPLE_BIT 0x00000010 00677 #define GL_PIXEL_MODE_BIT 0x00000020 00678 #define GL_LIGHTING_BIT 0x00000040 00679 #define GL_FOG_BIT 0x00000080 00680 #define GL_DEPTH_BUFFER_BIT 0x00000100 00681 #define GL_ACCUM_BUFFER_BIT 0x00000200 00682 #define GL_STENCIL_BUFFER_BIT 0x00000400 00683 #define GL_VIEWPORT_BIT 0x00000800 00684 #define GL_TRANSFORM_BIT 0x00001000 00685 #define GL_ENABLE_BIT 0x00002000 00686 #define GL_COLOR_BUFFER_BIT 0x00004000 00687 #define GL_HINT_BIT 0x00008000 00688 #define GL_EVAL_BIT 0x00010000 00689 #define GL_LIST_BIT 0x00020000 00690 #define GL_TEXTURE_BIT 0x00040000 00691 #define GL_SCISSOR_BIT 0x00080000 00692 #define GL_ALL_ATTRIB_BITS 0x000FFFFF 00693 00694 00695 /* OpenGL 1.1 */ 00696 #define GL_PROXY_TEXTURE_1D 0x8063 00697 #define GL_PROXY_TEXTURE_2D 0x8064 00698 #define GL_TEXTURE_PRIORITY 0x8066 00699 #define GL_TEXTURE_RESIDENT 0x8067 00700 #define GL_TEXTURE_BINDING_1D 0x8068 00701 #define GL_TEXTURE_BINDING_2D 0x8069 00702 #define GL_TEXTURE_INTERNAL_FORMAT 0x1003 00703 #define GL_ALPHA4 0x803B 00704 #define GL_ALPHA8 0x803C 00705 #define GL_ALPHA12 0x803D 00706 #define GL_ALPHA16 0x803E 00707 #define GL_LUMINANCE4 0x803F 00708 #define GL_LUMINANCE8 0x8040 00709 #define GL_LUMINANCE12 0x8041 00710 #define GL_LUMINANCE16 0x8042 00711 #define GL_LUMINANCE4_ALPHA4 0x8043 00712 #define GL_LUMINANCE6_ALPHA2 0x8044 00713 #define GL_LUMINANCE8_ALPHA8 0x8045 00714 #define GL_LUMINANCE12_ALPHA4 0x8046 00715 #define GL_LUMINANCE12_ALPHA12 0x8047 00716 #define GL_LUMINANCE16_ALPHA16 0x8048 00717 #define GL_INTENSITY 0x8049 00718 #define GL_INTENSITY4 0x804A 00719 #define GL_INTENSITY8 0x804B 00720 #define GL_INTENSITY12 0x804C 00721 #define GL_INTENSITY16 0x804D 00722 #define GL_R3_G3_B2 0x2A10 00723 #define GL_RGB4 0x804F 00724 #define GL_RGB5 0x8050 00725 #define GL_RGB8 0x8051 00726 #define GL_RGB10 0x8052 00727 #define GL_RGB12 0x8053 00728 #define GL_RGB16 0x8054 00729 #define GL_RGBA2 0x8055 00730 #define GL_RGBA4 0x8056 00731 #define GL_RGB5_A1 0x8057 00732 #define GL_RGBA8 0x8058 00733 #define GL_RGB10_A2 0x8059 00734 #define GL_RGBA12 0x805A 00735 #define GL_RGBA16 0x805B 00736 #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 00737 #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 00738 #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF 00739 #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF 00740 00741 00742 /* Under Windows, we do not define OpenGL 1.2 & 1.3 functionality, since 00743 it is treated as extensions (defined in glext.h) */ 00744 #if !defined(__WIN32__) 00745 00746 /* OpenGL 1.2 */ 00747 #define GL_RESCALE_NORMAL 0x803A 00748 #define GL_CLAMP_TO_EDGE 0x812F 00749 #define GL_MAX_ELEMENTS_VERTICES 0x80E8 00750 #define GL_MAX_ELEMENTS_INDICES 0x80E9 00751 #define GL_BGR 0x80E0 00752 #define GL_BGRA 0x80E1 00753 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 00754 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 00755 #define GL_UNSIGNED_SHORT_5_6_5 0x8363 00756 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 00757 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 00758 #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 00759 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 00760 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 00761 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 00762 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 00763 #define GL_UNSIGNED_INT_10_10_10_2 0x8036 00764 #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 00765 #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 00766 #define GL_SINGLE_COLOR 0x81F9 00767 #define GL_SEPARATE_SPECULAR_COLOR 0x81FA 00768 #define GL_TEXTURE_MIN_LOD 0x813A 00769 #define GL_TEXTURE_MAX_LOD 0x813B 00770 #define GL_TEXTURE_BASE_LEVEL 0x813C 00771 #define GL_TEXTURE_MAX_LEVEL 0x813D 00772 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 00773 #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 00774 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 00775 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 00776 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D 00777 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 00778 #define GL_PACK_SKIP_IMAGES 0x806B 00779 #define GL_PACK_IMAGE_HEIGHT 0x806C 00780 #define GL_UNPACK_SKIP_IMAGES 0x806D 00781 #define GL_UNPACK_IMAGE_HEIGHT 0x806E 00782 #define GL_TEXTURE_3D 0x806F 00783 #define GL_PROXY_TEXTURE_3D 0x8070 00784 #define GL_TEXTURE_DEPTH 0x8071 00785 #define GL_TEXTURE_WRAP_R 0x8072 00786 #define GL_MAX_3D_TEXTURE_SIZE 0x8073 00787 #define GL_TEXTURE_BINDING_3D 0x806A 00788 00789 /* OpenGL 1.2 imaging subset */ 00790 /* GL_EXT_color_table */ 00791 #define GL_COLOR_TABLE 0x80D0 00792 #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 00793 #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 00794 #define GL_PROXY_COLOR_TABLE 0x80D3 00795 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 00796 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 00797 #define GL_COLOR_TABLE_SCALE 0x80D6 00798 #define GL_COLOR_TABLE_BIAS 0x80D7 00799 #define GL_COLOR_TABLE_FORMAT 0x80D8 00800 #define GL_COLOR_TABLE_WIDTH 0x80D9 00801 #define GL_COLOR_TABLE_RED_SIZE 0x80DA 00802 #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB 00803 #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC 00804 #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD 00805 #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE 00806 #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF 00807 /* GL_EXT_convolution and GL_HP_convolution_border_modes */ 00808 #define GL_CONVOLUTION_1D 0x8010 00809 #define GL_CONVOLUTION_2D 0x8011 00810 #define GL_SEPARABLE_2D 0x8012 00811 #define GL_CONVOLUTION_BORDER_MODE 0x8013 00812 #define GL_CONVOLUTION_FILTER_SCALE 0x8014 00813 #define GL_CONVOLUTION_FILTER_BIAS 0x8015 00814 #define GL_REDUCE 0x8016 00815 #define GL_CONVOLUTION_FORMAT 0x8017 00816 #define GL_CONVOLUTION_WIDTH 0x8018 00817 #define GL_CONVOLUTION_HEIGHT 0x8019 00818 #define GL_MAX_CONVOLUTION_WIDTH 0x801A 00819 #define GL_MAX_CONVOLUTION_HEIGHT 0x801B 00820 #define GL_POST_CONVOLUTION_RED_SCALE 0x801C 00821 #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D 00822 #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E 00823 #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F 00824 #define GL_POST_CONVOLUTION_RED_BIAS 0x8020 00825 #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 00826 #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 00827 #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 00828 #define GL_CONSTANT_BORDER 0x8151 00829 #define GL_REPLICATE_BORDER 0x8153 00830 #define GL_CONVOLUTION_BORDER_COLOR 0x8154 00831 /* GL_SGI_color_matrix */ 00832 #define GL_COLOR_MATRIX 0x80B1 00833 #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 00834 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 00835 #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 00836 #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 00837 #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 00838 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 00839 #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 00840 #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 00841 #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA 00842 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB 00843 /* GL_EXT_histogram */ 00844 #define GL_HISTOGRAM 0x8024 00845 #define GL_PROXY_HISTOGRAM 0x8025 00846 #define GL_HISTOGRAM_WIDTH 0x8026 00847 #define GL_HISTOGRAM_FORMAT 0x8027 00848 #define GL_HISTOGRAM_RED_SIZE 0x8028 00849 #define GL_HISTOGRAM_GREEN_SIZE 0x8029 00850 #define GL_HISTOGRAM_BLUE_SIZE 0x802A 00851 #define GL_HISTOGRAM_ALPHA_SIZE 0x802B 00852 #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C 00853 #define GL_HISTOGRAM_SINK 0x802D 00854 #define GL_MINMAX 0x802E 00855 #define GL_MINMAX_FORMAT 0x802F 00856 #define GL_MINMAX_SINK 0x8030 00857 #define GL_TABLE_TOO_LARGE 0x8031 00858 /* GL_EXT_blend_color, GL_EXT_blend_minmax */ 00859 #define GL_BLEND_EQUATION 0x8009 00860 #define GL_MIN 0x8007 00861 #define GL_MAX 0x8008 00862 #define GL_FUNC_ADD 0x8006 00863 #define GL_FUNC_SUBTRACT 0x800A 00864 #define GL_FUNC_REVERSE_SUBTRACT 0x800B 00865 #define GL_BLEND_COLOR 0x8005 00866 00867 00868 /* OpenGL 1.3 */ 00869 /* multitexture */ 00870 #define GL_TEXTURE0 0x84C0 00871 #define GL_TEXTURE1 0x84C1 00872 #define GL_TEXTURE2 0x84C2 00873 #define GL_TEXTURE3 0x84C3 00874 #define GL_TEXTURE4 0x84C4 00875 #define GL_TEXTURE5 0x84C5 00876 #define GL_TEXTURE6 0x84C6 00877 #define GL_TEXTURE7 0x84C7 00878 #define GL_TEXTURE8 0x84C8 00879 #define GL_TEXTURE9 0x84C9 00880 #define GL_TEXTURE10 0x84CA 00881 #define GL_TEXTURE11 0x84CB 00882 #define GL_TEXTURE12 0x84CC 00883 #define GL_TEXTURE13 0x84CD 00884 #define GL_TEXTURE14 0x84CE 00885 #define GL_TEXTURE15 0x84CF 00886 #define GL_TEXTURE16 0x84D0 00887 #define GL_TEXTURE17 0x84D1 00888 #define GL_TEXTURE18 0x84D2 00889 #define GL_TEXTURE19 0x84D3 00890 #define GL_TEXTURE20 0x84D4 00891 #define GL_TEXTURE21 0x84D5 00892 #define GL_TEXTURE22 0x84D6 00893 #define GL_TEXTURE23 0x84D7 00894 #define GL_TEXTURE24 0x84D8 00895 #define GL_TEXTURE25 0x84D9 00896 #define GL_TEXTURE26 0x84DA 00897 #define GL_TEXTURE27 0x84DB 00898 #define GL_TEXTURE28 0x84DC 00899 #define GL_TEXTURE29 0x84DD 00900 #define GL_TEXTURE30 0x84DE 00901 #define GL_TEXTURE31 0x84DF 00902 #define GL_ACTIVE_TEXTURE 0x84E0 00903 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 00904 #define GL_MAX_TEXTURE_UNITS 0x84E2 00905 /* texture_cube_map */ 00906 #define GL_NORMAL_MAP 0x8511 00907 #define GL_REFLECTION_MAP 0x8512 00908 #define GL_TEXTURE_CUBE_MAP 0x8513 00909 #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 00910 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 00911 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 00912 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 00913 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 00914 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 00915 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 00916 #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 00917 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 00918 /* texture_compression */ 00919 #define GL_COMPRESSED_ALPHA 0x84E9 00920 #define GL_COMPRESSED_LUMINANCE 0x84EA 00921 #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB 00922 #define GL_COMPRESSED_INTENSITY 0x84EC 00923 #define GL_COMPRESSED_RGB 0x84ED 00924 #define GL_COMPRESSED_RGBA 0x84EE 00925 #define GL_TEXTURE_COMPRESSION_HINT 0x84EF 00926 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 00927 #define GL_TEXTURE_COMPRESSED 0x86A1 00928 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 00929 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 00930 /* multisample */ 00931 #define GL_MULTISAMPLE 0x809D 00932 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 00933 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F 00934 #define GL_SAMPLE_COVERAGE 0x80A0 00935 #define GL_SAMPLE_BUFFERS 0x80A8 00936 #define GL_SAMPLES 0x80A9 00937 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA 00938 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB 00939 #define GL_MULTISAMPLE_BIT 0x20000000 00940 /* transpose_matrix */ 00941 #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 00942 #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 00943 #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 00944 #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 00945 /* texture_env_combine */ 00946 #define GL_COMBINE 0x8570 00947 #define GL_COMBINE_RGB 0x8571 00948 #define GL_COMBINE_ALPHA 0x8572 00949 #define GL_SOURCE0_RGB 0x8580 00950 #define GL_SOURCE1_RGB 0x8581 00951 #define GL_SOURCE2_RGB 0x8582 00952 #define GL_SOURCE0_ALPHA 0x8588 00953 #define GL_SOURCE1_ALPHA 0x8589 00954 #define GL_SOURCE2_ALPHA 0x858A 00955 #define GL_OPERAND0_RGB 0x8590 00956 #define GL_OPERAND1_RGB 0x8591 00957 #define GL_OPERAND2_RGB 0x8592 00958 #define GL_OPERAND0_ALPHA 0x8598 00959 #define GL_OPERAND1_ALPHA 0x8599 00960 #define GL_OPERAND2_ALPHA 0x859A 00961 #define GL_RGB_SCALE 0x8573 00962 #define GL_ADD_SIGNED 0x8574 00963 #define GL_INTERPOLATE 0x8575 00964 #define GL_SUBTRACT 0x84E7 00965 #define GL_CONSTANT 0x8576 00966 #define GL_PRIMARY_COLOR 0x8577 00967 #define GL_PREVIOUS 0x8578 00968 /* texture_env_dot3 */ 00969 #define GL_DOT3_RGB 0x86AE 00970 #define GL_DOT3_RGBA 0x86AF 00971 /* texture_border_clamp */ 00972 #define GL_CLAMP_TO_BORDER 0x812D 00973 00974 #endif /* __WIN32__ */ 00975 00976 00977 00978 /************************************************************************ 00979 * 00980 * Function prototypes 00981 * 00982 ************************************************************************/ 00983 00984 /* Miscellaneous */ 00985 GLAPI void APIENTRY glClearIndex( GLfloat c ); 00986 GLAPI void APIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); 00987 GLAPI void APIENTRY glClear( GLbitfield mask ); 00988 GLAPI void APIENTRY glIndexMask( GLuint mask ); 00989 GLAPI void APIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); 00990 GLAPI void APIENTRY glAlphaFunc( GLenum func, GLclampf ref ); 00991 GLAPI void APIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); 00992 GLAPI void APIENTRY glLogicOp( GLenum opcode ); 00993 GLAPI void APIENTRY glCullFace( GLenum mode ); 00994 GLAPI void APIENTRY glFrontFace( GLenum mode ); 00995 GLAPI void APIENTRY glPointSize( GLfloat size ); 00996 GLAPI void APIENTRY glLineWidth( GLfloat width ); 00997 GLAPI void APIENTRY glLineStipple( GLint factor, GLushort pattern ); 00998 GLAPI void APIENTRY glPolygonMode( GLenum face, GLenum mode ); 00999 GLAPI void APIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); 01000 GLAPI void APIENTRY glPolygonStipple( const GLubyte *mask ); 01001 GLAPI void APIENTRY glGetPolygonStipple( GLubyte *mask ); 01002 GLAPI void APIENTRY glEdgeFlag( GLboolean flag ); 01003 GLAPI void APIENTRY glEdgeFlagv( const GLboolean *flag ); 01004 GLAPI void APIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height); 01005 GLAPI void APIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); 01006 GLAPI void APIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); 01007 GLAPI void APIENTRY glDrawBuffer( GLenum mode ); 01008 GLAPI void APIENTRY glReadBuffer( GLenum mode ); 01009 GLAPI void APIENTRY glEnable( GLenum cap ); 01010 GLAPI void APIENTRY glDisable( GLenum cap ); 01011 GLAPI GLboolean APIENTRY glIsEnabled( GLenum cap ); 01012 GLAPI void APIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ 01013 GLAPI void APIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ 01014 GLAPI void APIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); 01015 GLAPI void APIENTRY glGetDoublev( GLenum pname, GLdouble *params ); 01016 GLAPI void APIENTRY glGetFloatv( GLenum pname, GLfloat *params ); 01017 GLAPI void APIENTRY glGetIntegerv( GLenum pname, GLint *params ); 01018 GLAPI void APIENTRY glPushAttrib( GLbitfield mask ); 01019 GLAPI void APIENTRY glPopAttrib( void ); 01020 GLAPI void APIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ 01021 GLAPI void APIENTRY glPopClientAttrib( void ); /* 1.1 */ 01022 GLAPI GLint APIENTRY glRenderMode( GLenum mode ); 01023 GLAPI GLenum APIENTRY glGetError( void ); 01024 GLAPI const GLubyte* APIENTRY glGetString( GLenum name ); 01025 GLAPI void APIENTRY glFinish( void ); 01026 GLAPI void APIENTRY glFlush( void ); 01027 GLAPI void APIENTRY glHint( GLenum target, GLenum mode ); 01028 01029 /* Depth Buffer */ 01030 GLAPI void APIENTRY glClearDepth( GLclampd depth ); 01031 GLAPI void APIENTRY glDepthFunc( GLenum func ); 01032 GLAPI void APIENTRY glDepthMask( GLboolean flag ); 01033 GLAPI void APIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); 01034 01035 /* Accumulation Buffer */ 01036 GLAPI void APIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 01037 GLAPI void APIENTRY glAccum( GLenum op, GLfloat value ); 01038 01039 /* Transformation */ 01040 GLAPI void APIENTRY glMatrixMode( GLenum mode ); 01041 GLAPI void APIENTRY glOrtho( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); 01042 GLAPI void APIENTRY glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble near_val, GLdouble far_val ); 01043 GLAPI void APIENTRY glViewport( GLint x, GLint y, GLsizei width, GLsizei height ); 01044 GLAPI void APIENTRY glPushMatrix( void ); 01045 GLAPI void APIENTRY glPopMatrix( void ); 01046 GLAPI void APIENTRY glLoadIdentity( void ); 01047 GLAPI void APIENTRY glLoadMatrixd( const GLdouble *m ); 01048 GLAPI void APIENTRY glLoadMatrixf( const GLfloat *m ); 01049 GLAPI void APIENTRY glMultMatrixd( const GLdouble *m ); 01050 GLAPI void APIENTRY glMultMatrixf( const GLfloat *m ); 01051 GLAPI void APIENTRY glRotated( GLdouble angle, GLdouble x, GLdouble y, GLdouble z ); 01052 GLAPI void APIENTRY glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z ); 01053 GLAPI void APIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); 01054 GLAPI void APIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); 01055 GLAPI void APIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); 01056 GLAPI void APIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); 01057 01058 /* Display Lists */ 01059 GLAPI GLboolean APIENTRY glIsList( GLuint list ); 01060 GLAPI void APIENTRY glDeleteLists( GLuint list, GLsizei range ); 01061 GLAPI GLuint APIENTRY glGenLists( GLsizei range ); 01062 GLAPI void APIENTRY glNewList( GLuint list, GLenum mode ); 01063 GLAPI void APIENTRY glEndList( void ); 01064 GLAPI void APIENTRY glCallList( GLuint list ); 01065 GLAPI void APIENTRY glCallLists( GLsizei n, GLenum type, const GLvoid *lists ); 01066 GLAPI void APIENTRY glListBase( GLuint base ); 01067 01068 /* Drawing Functions */ 01069 GLAPI void APIENTRY glBegin( GLenum mode ); 01070 GLAPI void APIENTRY glEnd( void ); 01071 GLAPI void APIENTRY glVertex2d( GLdouble x, GLdouble y ); 01072 GLAPI void APIENTRY glVertex2f( GLfloat x, GLfloat y ); 01073 GLAPI void APIENTRY glVertex2i( GLint x, GLint y ); 01074 GLAPI void APIENTRY glVertex2s( GLshort x, GLshort y ); 01075 GLAPI void APIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); 01076 GLAPI void APIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); 01077 GLAPI void APIENTRY glVertex3i( GLint x, GLint y, GLint z ); 01078 GLAPI void APIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); 01079 GLAPI void APIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); 01080 GLAPI void APIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); 01081 GLAPI void APIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); 01082 GLAPI void APIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); 01083 GLAPI void APIENTRY glVertex2dv( const GLdouble *v ); 01084 GLAPI void APIENTRY glVertex2fv( const GLfloat *v ); 01085 GLAPI void APIENTRY glVertex2iv( const GLint *v ); 01086 GLAPI void APIENTRY glVertex2sv( const GLshort *v ); 01087 GLAPI void APIENTRY glVertex3dv( const GLdouble *v ); 01088 GLAPI void APIENTRY glVertex3fv( const GLfloat *v ); 01089 GLAPI void APIENTRY glVertex3iv( const GLint *v ); 01090 GLAPI void APIENTRY glVertex3sv( const GLshort *v ); 01091 GLAPI void APIENTRY glVertex4dv( const GLdouble *v ); 01092 GLAPI void APIENTRY glVertex4fv( const GLfloat *v ); 01093 GLAPI void APIENTRY glVertex4iv( const GLint *v ); 01094 GLAPI void APIENTRY glVertex4sv( const GLshort *v ); 01095 GLAPI void APIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); 01096 GLAPI void APIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); 01097 GLAPI void APIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); 01098 GLAPI void APIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); 01099 GLAPI void APIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); 01100 GLAPI void APIENTRY glNormal3bv( const GLbyte *v ); 01101 GLAPI void APIENTRY glNormal3dv( const GLdouble *v ); 01102 GLAPI void APIENTRY glNormal3fv( const GLfloat *v ); 01103 GLAPI void APIENTRY glNormal3iv( const GLint *v ); 01104 GLAPI void APIENTRY glNormal3sv( const GLshort *v ); 01105 GLAPI void APIENTRY glIndexd( GLdouble c ); 01106 GLAPI void APIENTRY glIndexf( GLfloat c ); 01107 GLAPI void APIENTRY glIndexi( GLint c ); 01108 GLAPI void APIENTRY glIndexs( GLshort c ); 01109 GLAPI void APIENTRY glIndexub( GLubyte c ); /* 1.1 */ 01110 GLAPI void APIENTRY glIndexdv( const GLdouble *c ); 01111 GLAPI void APIENTRY glIndexfv( const GLfloat *c ); 01112 GLAPI void APIENTRY glIndexiv( const GLint *c ); 01113 GLAPI void APIENTRY glIndexsv( const GLshort *c ); 01114 GLAPI void APIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ 01115 GLAPI void APIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); 01116 GLAPI void APIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); 01117 GLAPI void APIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); 01118 GLAPI void APIENTRY glColor3i( GLint red, GLint green, GLint blue ); 01119 GLAPI void APIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); 01120 GLAPI void APIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); 01121 GLAPI void APIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); 01122 GLAPI void APIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); 01123 GLAPI void APIENTRY glColor4b( GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha ); 01124 GLAPI void APIENTRY glColor4d( GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha ); 01125 GLAPI void APIENTRY glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 01126 GLAPI void APIENTRY glColor4i( GLint red, GLint green, GLint blue, GLint alpha ); 01127 GLAPI void APIENTRY glColor4s( GLshort red, GLshort green, GLshort blue, GLshort alpha ); 01128 GLAPI void APIENTRY glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ); 01129 GLAPI void APIENTRY glColor4ui( GLuint red, GLuint green, GLuint blue, GLuint alpha ); 01130 GLAPI void APIENTRY glColor4us( GLushort red, GLushort green, GLushort blue, GLushort alpha ); 01131 GLAPI void APIENTRY glColor3bv( const GLbyte *v ); 01132 GLAPI void APIENTRY glColor3dv( const GLdouble *v ); 01133 GLAPI void APIENTRY glColor3fv( const GLfloat *v ); 01134 GLAPI void APIENTRY glColor3iv( const GLint *v ); 01135 GLAPI void APIENTRY glColor3sv( const GLshort *v ); 01136 GLAPI void APIENTRY glColor3ubv( const GLubyte *v ); 01137 GLAPI void APIENTRY glColor3uiv( const GLuint *v ); 01138 GLAPI void APIENTRY glColor3usv( const GLushort *v ); 01139 GLAPI void APIENTRY glColor4bv( const GLbyte *v ); 01140 GLAPI void APIENTRY glColor4dv( const GLdouble *v ); 01141 GLAPI void APIENTRY glColor4fv( const GLfloat *v ); 01142 GLAPI void APIENTRY glColor4iv( const GLint *v ); 01143 GLAPI void APIENTRY glColor4sv( const GLshort *v ); 01144 GLAPI void APIENTRY glColor4ubv( const GLubyte *v ); 01145 GLAPI void APIENTRY glColor4uiv( const GLuint *v ); 01146 GLAPI void APIENTRY glColor4usv( const GLushort *v ); 01147 GLAPI void APIENTRY glTexCoord1d( GLdouble s ); 01148 GLAPI void APIENTRY glTexCoord1f( GLfloat s ); 01149 GLAPI void APIENTRY glTexCoord1i( GLint s ); 01150 GLAPI void APIENTRY glTexCoord1s( GLshort s ); 01151 GLAPI void APIENTRY glTexCoord2d( GLdouble s, GLdouble t ); 01152 GLAPI void APIENTRY glTexCoord2f( GLfloat s, GLfloat t ); 01153 GLAPI void APIENTRY glTexCoord2i( GLint s, GLint t ); 01154 GLAPI void APIENTRY glTexCoord2s( GLshort s, GLshort t ); 01155 GLAPI void APIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); 01156 GLAPI void APIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); 01157 GLAPI void APIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); 01158 GLAPI void APIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); 01159 GLAPI void APIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); 01160 GLAPI void APIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); 01161 GLAPI void APIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); 01162 GLAPI void APIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); 01163 GLAPI void APIENTRY glTexCoord1dv( const GLdouble *v ); 01164 GLAPI void APIENTRY glTexCoord1fv( const GLfloat *v ); 01165 GLAPI void APIENTRY glTexCoord1iv( const GLint *v ); 01166 GLAPI void APIENTRY glTexCoord1sv( const GLshort *v ); 01167 GLAPI void APIENTRY glTexCoord2dv( const GLdouble *v ); 01168 GLAPI void APIENTRY glTexCoord2fv( const GLfloat *v ); 01169 GLAPI void APIENTRY glTexCoord2iv( const GLint *v ); 01170 GLAPI void APIENTRY glTexCoord2sv( const GLshort *v ); 01171 GLAPI void APIENTRY glTexCoord3dv( const GLdouble *v ); 01172 GLAPI void APIENTRY glTexCoord3fv( const GLfloat *v ); 01173 GLAPI void APIENTRY glTexCoord3iv( const GLint *v ); 01174 GLAPI void APIENTRY glTexCoord3sv( const GLshort *v ); 01175 GLAPI void APIENTRY glTexCoord4dv( const GLdouble *v ); 01176 GLAPI void APIENTRY glTexCoord4fv( const GLfloat *v ); 01177 GLAPI void APIENTRY glTexCoord4iv( const GLint *v ); 01178 GLAPI void APIENTRY glTexCoord4sv( const GLshort *v ); 01179 GLAPI void APIENTRY glRasterPos2d( GLdouble x, GLdouble y ); 01180 GLAPI void APIENTRY glRasterPos2f( GLfloat x, GLfloat y ); 01181 GLAPI void APIENTRY glRasterPos2i( GLint x, GLint y ); 01182 GLAPI void APIENTRY glRasterPos2s( GLshort x, GLshort y ); 01183 GLAPI void APIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); 01184 GLAPI void APIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); 01185 GLAPI void APIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); 01186 GLAPI void APIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); 01187 GLAPI void APIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); 01188 GLAPI void APIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); 01189 GLAPI void APIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); 01190 GLAPI void APIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); 01191 GLAPI void APIENTRY glRasterPos2dv( const GLdouble *v ); 01192 GLAPI void APIENTRY glRasterPos2fv( const GLfloat *v ); 01193 GLAPI void APIENTRY glRasterPos2iv( const GLint *v ); 01194 GLAPI void APIENTRY glRasterPos2sv( const GLshort *v ); 01195 GLAPI void APIENTRY glRasterPos3dv( const GLdouble *v ); 01196 GLAPI void APIENTRY glRasterPos3fv( const GLfloat *v ); 01197 GLAPI void APIENTRY glRasterPos3iv( const GLint *v ); 01198 GLAPI void APIENTRY glRasterPos3sv( const GLshort *v ); 01199 GLAPI void APIENTRY glRasterPos4dv( const GLdouble *v ); 01200 GLAPI void APIENTRY glRasterPos4fv( const GLfloat *v ); 01201 GLAPI void APIENTRY glRasterPos4iv( const GLint *v ); 01202 GLAPI void APIENTRY glRasterPos4sv( const GLshort *v ); 01203 GLAPI void APIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); 01204 GLAPI void APIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); 01205 GLAPI void APIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); 01206 GLAPI void APIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); 01207 GLAPI void APIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); 01208 GLAPI void APIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); 01209 GLAPI void APIENTRY glRectiv( const GLint *v1, const GLint *v2 ); 01210 GLAPI void APIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); 01211 01212 /* Lighting */ 01213 GLAPI void APIENTRY glShadeModel( GLenum mode ); 01214 GLAPI void APIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); 01215 GLAPI void APIENTRY glLighti( GLenum light, GLenum pname, GLint param ); 01216 GLAPI void APIENTRY glLightfv( GLenum light, GLenum pname, const GLfloat *params ); 01217 GLAPI void APIENTRY glLightiv( GLenum light, GLenum pname, const GLint *params ); 01218 GLAPI void APIENTRY glGetLightfv( GLenum light, GLenum pname, GLfloat *params ); 01219 GLAPI void APIENTRY glGetLightiv( GLenum light, GLenum pname, GLint *params ); 01220 GLAPI void APIENTRY glLightModelf( GLenum pname, GLfloat param ); 01221 GLAPI void APIENTRY glLightModeli( GLenum pname, GLint param ); 01222 GLAPI void APIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); 01223 GLAPI void APIENTRY glLightModeliv( GLenum pname, const GLint *params ); 01224 GLAPI void APIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); 01225 GLAPI void APIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); 01226 GLAPI void APIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); 01227 GLAPI void APIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); 01228 GLAPI void APIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); 01229 GLAPI void APIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); 01230 GLAPI void APIENTRY glColorMaterial( GLenum face, GLenum mode ); 01231 01232 /* Raster functions */ 01233 GLAPI void APIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); 01234 GLAPI void APIENTRY glPixelStoref( GLenum pname, GLfloat param ); 01235 GLAPI void APIENTRY glPixelStorei( GLenum pname, GLint param ); 01236 GLAPI void APIENTRY glPixelTransferf( GLenum pname, GLfloat param ); 01237 GLAPI void APIENTRY glPixelTransferi( GLenum pname, GLint param ); 01238 GLAPI void APIENTRY glPixelMapfv( GLenum map, GLint mapsize, const GLfloat *values ); 01239 GLAPI void APIENTRY glPixelMapuiv( GLenum map, GLint mapsize, const GLuint *values ); 01240 GLAPI void APIENTRY glPixelMapusv( GLenum map, GLint mapsize, const GLushort *values ); 01241 GLAPI void APIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); 01242 GLAPI void APIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); 01243 GLAPI void APIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); 01244 GLAPI void APIENTRY glBitmap( GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap ); 01245 GLAPI void APIENTRY glReadPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels ); 01246 GLAPI void APIENTRY glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); 01247 GLAPI void APIENTRY glCopyPixels( GLint x, GLint y, GLsizei width, GLsizei height, GLenum type ); 01248 01249 /* Stenciling */ 01250 GLAPI void APIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); 01251 GLAPI void APIENTRY glStencilMask( GLuint mask ); 01252 GLAPI void APIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); 01253 GLAPI void APIENTRY glClearStencil( GLint s ); 01254 01255 /* Texture mapping */ 01256 GLAPI void APIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); 01257 GLAPI void APIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); 01258 GLAPI void APIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); 01259 GLAPI void APIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); 01260 GLAPI void APIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); 01261 GLAPI void APIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); 01262 GLAPI void APIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); 01263 GLAPI void APIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); 01264 GLAPI void APIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); 01265 GLAPI void APIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); 01266 GLAPI void APIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); 01267 GLAPI void APIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); 01268 GLAPI void APIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); 01269 GLAPI void APIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); 01270 GLAPI void APIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); 01271 GLAPI void APIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); 01272 GLAPI void APIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); 01273 GLAPI void APIENTRY glTexParameterfv( GLenum target, GLenum pname, const GLfloat *params ); 01274 GLAPI void APIENTRY glTexParameteriv( GLenum target, GLenum pname, const GLint *params ); 01275 GLAPI void APIENTRY glGetTexParameterfv( GLenum target, GLenum pname, GLfloat *params); 01276 GLAPI void APIENTRY glGetTexParameteriv( GLenum target, GLenum pname, GLint *params ); 01277 GLAPI void APIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, GLenum pname, GLfloat *params ); 01278 GLAPI void APIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, GLenum pname, GLint *params ); 01279 GLAPI void APIENTRY glTexImage1D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); 01280 GLAPI void APIENTRY glTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); 01281 GLAPI void APIENTRY glGetTexImage( GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels ); 01282 01283 /* Evaluators */ 01284 GLAPI void APIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points ); 01285 GLAPI void APIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points ); 01286 GLAPI void APIENTRY glMap2d( GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points ); 01287 GLAPI void APIENTRY glMap2f( GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points ); 01288 GLAPI void APIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); 01289 GLAPI void APIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); 01290 GLAPI void APIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); 01291 GLAPI void APIENTRY glEvalCoord1d( GLdouble u ); 01292 GLAPI void APIENTRY glEvalCoord1f( GLfloat u ); 01293 GLAPI void APIENTRY glEvalCoord1dv( const GLdouble *u ); 01294 GLAPI void APIENTRY glEvalCoord1fv( const GLfloat *u ); 01295 GLAPI void APIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); 01296 GLAPI void APIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); 01297 GLAPI void APIENTRY glEvalCoord2dv( const GLdouble *u ); 01298 GLAPI void APIENTRY glEvalCoord2fv( const GLfloat *u ); 01299 GLAPI void APIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); 01300 GLAPI void APIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); 01301 GLAPI void APIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2 ); 01302 GLAPI void APIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2 ); 01303 GLAPI void APIENTRY glEvalPoint1( GLint i ); 01304 GLAPI void APIENTRY glEvalPoint2( GLint i, GLint j ); 01305 GLAPI void APIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); 01306 GLAPI void APIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); 01307 01308 /* Fog */ 01309 GLAPI void APIENTRY glFogf( GLenum pname, GLfloat param ); 01310 GLAPI void APIENTRY glFogi( GLenum pname, GLint param ); 01311 GLAPI void APIENTRY glFogfv( GLenum pname, const GLfloat *params ); 01312 GLAPI void APIENTRY glFogiv( GLenum pname, const GLint *params ); 01313 01314 /* Selection and Feedback */ 01315 GLAPI void APIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); 01316 GLAPI void APIENTRY glPassThrough( GLfloat token ); 01317 GLAPI void APIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); 01318 GLAPI void APIENTRY glInitNames( void ); 01319 GLAPI void APIENTRY glLoadName( GLuint name ); 01320 GLAPI void APIENTRY glPushName( GLuint name ); 01321 GLAPI void APIENTRY glPopName( void ); 01322 01323 01324 /* 1.1 functions */ 01325 /* texture objects */ 01326 GLAPI void APIENTRY glGenTextures( GLsizei n, GLuint *textures ); 01327 GLAPI void APIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); 01328 GLAPI void APIENTRY glBindTexture( GLenum target, GLuint texture ); 01329 GLAPI void APIENTRY glPrioritizeTextures( GLsizei n, const GLuint *textures, const GLclampf *priorities ); 01330 GLAPI GLboolean APIENTRY glAreTexturesResident( GLsizei n, const GLuint *textures, GLboolean *residences ); 01331 GLAPI GLboolean APIENTRY glIsTexture( GLuint texture ); 01332 /* texture mapping */ 01333 GLAPI void APIENTRY glTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels ); 01334 GLAPI void APIENTRY glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels ); 01335 GLAPI void APIENTRY glCopyTexImage1D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border ); 01336 GLAPI void APIENTRY glCopyTexImage2D( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border ); 01337 GLAPI void APIENTRY glCopyTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width ); 01338 GLAPI void APIENTRY glCopyTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height ); 01339 /* vertex arrays */ 01340 GLAPI void APIENTRY glVertexPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); 01341 GLAPI void APIENTRY glNormalPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); 01342 GLAPI void APIENTRY glColorPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); 01343 GLAPI void APIENTRY glIndexPointer( GLenum type, GLsizei stride, const GLvoid *ptr ); 01344 GLAPI void APIENTRY glTexCoordPointer( GLint size, GLenum type, GLsizei stride, const GLvoid *ptr ); 01345 GLAPI void APIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); 01346 GLAPI void APIENTRY glGetPointerv( GLenum pname, GLvoid **params ); 01347 GLAPI void APIENTRY glArrayElement( GLint i ); 01348 GLAPI void APIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); 01349 GLAPI void APIENTRY glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ); 01350 GLAPI void APIENTRY glInterleavedArrays( GLenum format, GLsizei stride, const GLvoid *pointer ); 01351 01352 01353 01354 /* Under Windows, we do not define OpenGL 1.2 & 1.3 functionality, since 01355 it is treated as extensions (defined in glext.h) */ 01356 #if !defined(__WIN32__) 01357 01358 /* 1.2 functions */ 01359 GLAPI void APIENTRY glDrawRangeElements( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); 01360 GLAPI void APIENTRY glTexImage3D( GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels ); 01361 GLAPI void APIENTRY glTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 01362 GLAPI void APIENTRY glCopyTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height ); 01363 01364 /* 1.2 imaging extension functions */ 01365 GLAPI void APIENTRY glColorTable( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table ); 01366 GLAPI void APIENTRY glColorSubTable( GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data ); 01367 GLAPI void APIENTRY glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); 01368 GLAPI void APIENTRY glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); 01369 GLAPI void APIENTRY glCopyColorSubTable( GLenum target, GLsizei start, GLint x, GLint y, GLsizei width ); 01370 GLAPI void APIENTRY glCopyColorTable( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); 01371 GLAPI void APIENTRY glGetColorTable( GLenum target, GLenum format, GLenum type, GLvoid *table ); 01372 GLAPI void APIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, GLfloat *params ); 01373 GLAPI void APIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, GLint *params ); 01374 GLAPI void APIENTRY glBlendEquation( GLenum mode ); 01375 GLAPI void APIENTRY glBlendColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); 01376 GLAPI void APIENTRY glHistogram( GLenum target, GLsizei width, GLenum internalformat, GLboolean sink ); 01377 GLAPI void APIENTRY glResetHistogram( GLenum target ); 01378 GLAPI void APIENTRY glGetHistogram( GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values ); 01379 GLAPI void APIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, GLfloat *params ); 01380 GLAPI void APIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, GLint *params ); 01381 GLAPI void APIENTRY glMinmax( GLenum target, GLenum internalformat, GLboolean sink ); 01382 GLAPI void APIENTRY glResetMinmax( GLenum target ); 01383 GLAPI void APIENTRY glGetMinmax( GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values ); 01384 GLAPI void APIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, GLfloat *params ); 01385 GLAPI void APIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, GLint *params ); 01386 GLAPI void APIENTRY glConvolutionFilter1D( GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image ); 01387 GLAPI void APIENTRY glConvolutionFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image ); 01388 GLAPI void APIENTRY glConvolutionParameterf( GLenum target, GLenum pname, GLfloat params ); 01389 GLAPI void APIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, const GLfloat *params ); 01390 GLAPI void APIENTRY glConvolutionParameteri( GLenum target, GLenum pname, GLint params ); 01391 GLAPI void APIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, const GLint *params ); 01392 GLAPI void APIENTRY glCopyConvolutionFilter1D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width ); 01393 GLAPI void APIENTRY glCopyConvolutionFilter2D( GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 01394 GLAPI void APIENTRY glGetConvolutionFilter( GLenum target, GLenum format, GLenum type, GLvoid *image ); 01395 GLAPI void APIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, GLfloat *params ); 01396 GLAPI void APIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, GLint *params ); 01397 GLAPI void APIENTRY glSeparableFilter2D( GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column ); 01398 GLAPI void APIENTRY glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); 01399 01400 /* 1.3 functions */ 01401 GLAPI void APIENTRY glActiveTexture( GLenum texture ); 01402 GLAPI void APIENTRY glClientActiveTexture( GLenum texture ); 01403 GLAPI void APIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); 01404 GLAPI void APIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); 01405 GLAPI void APIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); 01406 GLAPI void APIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); 01407 GLAPI void APIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); 01408 GLAPI void APIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); 01409 GLAPI void APIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); 01410 GLAPI void APIENTRY glMultiTexCoord1d( GLenum target, GLdouble s ); 01411 GLAPI void APIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v ); 01412 GLAPI void APIENTRY glMultiTexCoord1f( GLenum target, GLfloat s ); 01413 GLAPI void APIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v ); 01414 GLAPI void APIENTRY glMultiTexCoord1i( GLenum target, GLint s ); 01415 GLAPI void APIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v ); 01416 GLAPI void APIENTRY glMultiTexCoord1s( GLenum target, GLshort s ); 01417 GLAPI void APIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v ); 01418 GLAPI void APIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); 01419 GLAPI void APIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v ); 01420 GLAPI void APIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); 01421 GLAPI void APIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v ); 01422 GLAPI void APIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t ); 01423 GLAPI void APIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v ); 01424 GLAPI void APIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); 01425 GLAPI void APIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v ); 01426 GLAPI void APIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); 01427 GLAPI void APIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v ); 01428 GLAPI void APIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); 01429 GLAPI void APIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v ); 01430 GLAPI void APIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); 01431 GLAPI void APIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v ); 01432 GLAPI void APIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); 01433 GLAPI void APIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v ); 01434 GLAPI void APIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); 01435 GLAPI void APIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v ); 01436 GLAPI void APIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); 01437 GLAPI void APIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v ); 01438 GLAPI void APIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); 01439 GLAPI void APIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v ); 01440 GLAPI void APIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); 01441 GLAPI void APIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v ); 01442 GLAPI void APIENTRY glLoadTransposeMatrixd( const GLdouble m[16] ); 01443 GLAPI void APIENTRY glLoadTransposeMatrixf( const GLfloat m[16] ); 01444 GLAPI void APIENTRY glMultTransposeMatrixd( const GLdouble m[16] ); 01445 GLAPI void APIENTRY glMultTransposeMatrixf( const GLfloat m[16] ); 01446 GLAPI void APIENTRY glSampleCoverage( GLclampf value, GLboolean invert ); 01447 GLAPI void APIENTRY glSamplePass( GLenum pass ); 01448 01449 #endif /* __WIN32__ */ 01450 01451 01452 /* Include external definitions of OpenGL extensions */ 01453 /* Removed, see this bug report for reference: 01454 * http://sourceforge.net/tracker/index.php?func=detail&aid=610178&group_id=2435&atid=102435 01455 * 01456 * #include <GL/glext.h> 01457 */ 01458 01459 01460 /************************************************************************ 01461 * Begin system-specific stuff 01462 */ 01463 /* 01464 * End system-specific stuff 01465 ************************************************************************/ 01466 01467 01468 #ifdef __cplusplus 01469 } 01470 #endif 01471 01472 #endif /* __gl_h_ */ Generated on Mon May 28 2012 04:19:36 for ReactOS by
1.7.6.1
|