| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/gl.h
Go to the documentation of this file.

    00001 /*
    00002  * Mesa 3-D graphics library
    00003  * Version:  6.5
    00004  *
    00005  * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
    00006  *
    00007  * Permission is hereby granted, free of charge, to any person obtaining a
    00008  * copy of this software and associated documentation files (the "Software"),
    00009  * to deal in the Software without restriction, including without limitation
    00010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
    00011  * and/or sell copies of the Software, and to permit persons to whom the
    00012  * Software is furnished to do so, subject to the following conditions:
    00013  *
    00014  * The above copyright notice and this permission notice shall be included
    00015  * in all copies or substantial portions of the Software.
    00016  *
    00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
    00018  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    00019  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
    00020  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
    00021  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00022  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    00023  */
    00024
    00025
    00026 #ifndef __gl_h_
    00027 #define __gl_h_
    00028
    00029 #if defined(USE_MGL_NAMESPACE)
    00030 #include "gl_mangle.h"
    00031 #endif
    00032
    00033
    00034 /**********************************************************************
    00035  * Begin system-specific stuff. Do not do any of this when building
    00036  * for SciTech SNAP, as this is all done before this header file is
    00037  * included.
    00038  */
    00039 #if !defined(__SCITECH_SNAP__)
    00040
    00041 #if defined(__BEOS__)
    00042 #include <stdlib.h>     /* to get some BeOS-isms */
    00043 #endif
    00044
    00045 #if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO))
    00046 #define OPENSTEP
    00047 #endif
    00048
    00049 #if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
    00050 #define __WIN32__
    00051 #endif
    00052
    00053 #if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
    00054 #  if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
    00055 #    define GLAPI __declspec(dllexport)
    00056 #  elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
    00057 #    define GLAPI __declspec(dllimport)
    00058 #  else /* for use with static link lib build of Win32 edition only */
    00059 #    define GLAPI extern
    00060 #  endif /* _STATIC_MESA support */
    00061 #  define GLAPIENTRY __stdcall
    00062 #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
    00063 #  define GLAPI extern
    00064 #  define GLAPIENTRY __stdcall
    00065 #elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303
    00066 #  define GLAPI __attribute__((visibility("default")))
    00067 #  define GLAPIENTRY
    00068 #endif /* WIN32 && !CYGWIN */
    00069
    00070 #if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
    00071 #  define PRAGMA_EXPORT_SUPPORTED                      1
    00072 #endif
    00073
    00074 /*
    00075  * WINDOWS: Include windows.h here to define APIENTRY.
    00076  * It is also useful when applications include this file by
    00077  * including only glut.h, since glut.h depends on windows.h.
    00078  * Applications needing to include windows.h with parms other
    00079  * than "WIN32_LEAN_AND_MEAN" may include windows.h before
    00080  * glut.h or gl.h.
    00081  */
    00082 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
    00083 #define WIN32_LEAN_AND_MEAN 1
    00084 #include <windows.h>
    00085 #endif
    00086
    00087 #if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) && !defined(__CYGWIN__)
    00088 #include <GL/mesa_wgl.h>
    00089 #endif
    00090
    00091 #if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED
    00092 #pragma import on
    00093 #endif
    00094
    00095 #ifndef GLAPI
    00096 #define GLAPI extern
    00097 #endif
    00098
    00099 #ifndef GLAPIENTRY
    00100 #define GLAPIENTRY
    00101 #endif
    00102
    00103 #ifndef APIENTRY
    00104 #define APIENTRY GLAPIENTRY
    00105 #endif
    00106
    00107 /* "P" suffix to be used for a pointer to a function */
    00108 #ifndef APIENTRYP
    00109 #define APIENTRYP APIENTRY *
    00110 #endif
    00111
    00112 #ifndef GLAPIENTRYP
    00113 #define GLAPIENTRYP GLAPIENTRY *
    00114 #endif
    00115
    00116 #ifdef CENTERLINE_CLPP
    00117 #define signed
    00118 #endif
    00119
    00120 #if defined(PRAGMA_EXPORT_SUPPORTED)
    00121 #pragma export on
    00122 #endif
    00123
    00124 #endif /* !__SCITECH_SNAP__ */
    00125 /*
    00126  * End system-specific stuff.
    00127  **********************************************************************/
    00128
    00129
    00130
    00131 #ifdef __cplusplus
    00132 extern "C" {
    00133 #endif
    00134
    00135
    00136
    00137 #define GL_VERSION_1_1   1
    00138 #define GL_VERSION_1_2   1
    00139 #define GL_VERSION_1_3   1
    00140 #define GL_ARB_imaging   1
    00141
    00142
    00143 /*
    00144  * Datatypes
    00145  */
    00146 typedef unsigned int  GLenum;
    00147 typedef unsigned char GLboolean;
    00148 typedef unsigned int  GLbitfield;
    00149 typedef void                     GLvoid;
    00150 typedef signed char   GLbyte;               /* 1-byte signed */
    00151 typedef short                    GLshort;   /* 2-byte signed */
    00152 typedef int                      GLint;                /* 4-byte signed */
    00153 typedef unsigned char GLubyte;   /* 1-byte unsigned */
    00154 typedef unsigned short           GLushort;  /* 2-byte unsigned */
    00155 typedef unsigned int  GLuint;               /* 4-byte unsigned */
    00156 typedef int                      GLsizei;   /* 4-byte signed */
    00157 typedef float                    GLfloat;   /* single precision float */
    00158 typedef float                    GLclampf;  /* single precision float in [0,1] */
    00159 typedef double                   GLdouble;  /* double precision float */
    00160 typedef double                   GLclampd;  /* double precision float in [0,1] */
    00161
    00162
    00163
    00164 /*
    00165  * Constants
    00166  */
    00167
    00168 /* Boolean values */
    00169 #define GL_FALSE                                       0x0
    00170 #define GL_TRUE                                                   0x1
    00171
    00172 /* Data types */
    00173 #define GL_BYTE                                                   0x1400
    00174 #define GL_UNSIGNED_BYTE                               0x1401
    00175 #define GL_SHORT                                       0x1402
    00176 #define GL_UNSIGNED_SHORT                              0x1403
    00177 #define GL_INT                                                    0x1404
    00178 #define GL_UNSIGNED_INT                                           0x1405
    00179 #define GL_FLOAT                                       0x1406
    00180 #define GL_2_BYTES                                     0x1407
    00181 #define GL_3_BYTES                                     0x1408
    00182 #define GL_4_BYTES                                     0x1409
    00183 #define GL_DOUBLE                                      0x140A
    00184
    00185 /* Primitives */
    00186 #define GL_POINTS                                      0x0000
    00187 #define GL_LINES                                       0x0001
    00188 #define GL_LINE_LOOP                                   0x0002
    00189 #define GL_LINE_STRIP                                  0x0003
    00190 #define GL_TRIANGLES                                   0x0004
    00191 #define GL_TRIANGLE_STRIP                              0x0005
    00192 #define GL_TRIANGLE_FAN                                           0x0006
    00193 #define GL_QUADS                                       0x0007
    00194 #define GL_QUAD_STRIP                                  0x0008
    00195 #define GL_POLYGON                                     0x0009
    00196
    00197 /* Vertex Arrays */
    00198 #define GL_VERTEX_ARRAY                                           0x8074
    00199 #define GL_NORMAL_ARRAY                                           0x8075
    00200 #define GL_COLOR_ARRAY                                            0x8076
    00201 #define GL_INDEX_ARRAY                                            0x8077
    00202 #define GL_TEXTURE_COORD_ARRAY                         0x8078
    00203 #define GL_EDGE_FLAG_ARRAY                             0x8079
    00204 #define GL_VERTEX_ARRAY_SIZE                           0x807A
    00205 #define GL_VERTEX_ARRAY_TYPE                           0x807B
    00206 #define GL_VERTEX_ARRAY_STRIDE                         0x807C
    00207 #define GL_NORMAL_ARRAY_TYPE                           0x807E
    00208 #define GL_NORMAL_ARRAY_STRIDE                         0x807F
    00209 #define GL_COLOR_ARRAY_SIZE                            0x8081
    00210 #define GL_COLOR_ARRAY_TYPE                            0x8082
    00211 #define GL_COLOR_ARRAY_STRIDE                          0x8083
    00212 #define GL_INDEX_ARRAY_TYPE                            0x8085
    00213 #define GL_INDEX_ARRAY_STRIDE                          0x8086
    00214 #define GL_TEXTURE_COORD_ARRAY_SIZE                    0x8088
    00215 #define GL_TEXTURE_COORD_ARRAY_TYPE                    0x8089
    00216 #define GL_TEXTURE_COORD_ARRAY_STRIDE                  0x808A
    00217 #define GL_EDGE_FLAG_ARRAY_STRIDE                      0x808C
    00218 #define GL_VERTEX_ARRAY_POINTER                        0x808E
    00219 #define GL_NORMAL_ARRAY_POINTER                        0x808F
    00220 #define GL_COLOR_ARRAY_POINTER                         0x8090
    00221 #define GL_INDEX_ARRAY_POINTER                         0x8091
    00222 #define GL_TEXTURE_COORD_ARRAY_POINTER                 0x8092
    00223 #define GL_EDGE_FLAG_ARRAY_POINTER                     0x8093
    00224 #define GL_V2F                                                    0x2A20
    00225 #define GL_V3F                                                    0x2A21
    00226 #define GL_C4UB_V2F                                    0x2A22
    00227 #define GL_C4UB_V3F                                    0x2A23
    00228 #define GL_C3F_V3F                                     0x2A24
    00229 #define GL_N3F_V3F                                     0x2A25
    00230 #define GL_C4F_N3F_V3F                                            0x2A26
    00231 #define GL_T2F_V3F                                     0x2A27
    00232 #define GL_T4F_V4F                                     0x2A28
    00233 #define GL_T2F_C4UB_V3F                                           0x2A29
    00234 #define GL_T2F_C3F_V3F                                            0x2A2A
    00235 #define GL_T2F_N3F_V3F                                            0x2A2B
    00236 #define GL_T2F_C4F_N3F_V3F                             0x2A2C
    00237 #define GL_T4F_C4F_N3F_V4F                             0x2A2D
    00238
    00239 /* Matrix Mode */
    00240 #define GL_MATRIX_MODE                                            0x0BA0
    00241 #define GL_MODELVIEW                                   0x1700
    00242 #define GL_PROJECTION                                  0x1701
    00243 #define GL_TEXTURE                                     0x1702
    00244
    00245 /* Points */
    00246 #define GL_POINT_SMOOTH                                           0x0B10
    00247 #define GL_POINT_SIZE                                  0x0B11
    00248 #define GL_POINT_SIZE_GRANULARITY                      0x0B13
    00249 #define GL_POINT_SIZE_RANGE                            0x0B12
    00250
    00251 /* Lines */
    00252 #define GL_LINE_SMOOTH                                            0x0B20
    00253 #define GL_LINE_STIPPLE                                           0x0B24
    00254 #define GL_LINE_STIPPLE_PATTERN                        0x0B25
    00255 #define GL_LINE_STIPPLE_REPEAT                         0x0B26
    00256 #define GL_LINE_WIDTH                                  0x0B21
    00257 #define GL_LINE_WIDTH_GRANULARITY                      0x0B23
    00258 #define GL_LINE_WIDTH_RANGE                            0x0B22
    00259
    00260 /* Polygons */
    00261 #define GL_POINT                                       0x1B00
    00262 #define GL_LINE                                                   0x1B01
    00263 #define GL_FILL                                                   0x1B02
    00264 #define GL_CW                                                     0x0900
    00265 #define GL_CCW                                                    0x0901
    00266 #define GL_FRONT                                       0x0404
    00267 #define GL_BACK                                                   0x0405
    00268 #define GL_POLYGON_MODE                                           0x0B40
    00269 #define GL_POLYGON_SMOOTH                              0x0B41
    00270 #define GL_POLYGON_STIPPLE                             0x0B42
    00271 #define GL_EDGE_FLAG                                   0x0B43
    00272 #define GL_CULL_FACE                                   0x0B44
    00273 #define GL_CULL_FACE_MODE                              0x0B45
    00274 #define GL_FRONT_FACE                                  0x0B46
    00275 #define GL_POLYGON_OFFSET_FACTOR            0x8038
    00276 #define GL_POLYGON_OFFSET_UNITS                        0x2A00
    00277 #define GL_POLYGON_OFFSET_POINT                        0x2A01
    00278 #define GL_POLYGON_OFFSET_LINE                         0x2A02
    00279 #define GL_POLYGON_OFFSET_FILL                         0x8037
    00280
    00281 /* Display Lists */
    00282 #define GL_COMPILE                                     0x1300
    00283 #define GL_COMPILE_AND_EXECUTE                         0x1301
    00284 #define GL_LIST_BASE                                   0x0B32
    00285 #define GL_LIST_INDEX                                  0x0B33
    00286 #define GL_LIST_MODE                                   0x0B30
    00287
    00288 /* Depth buffer */
    00289 #define GL_NEVER                                       0x0200
    00290 #define GL_LESS                                                   0x0201
    00291 #define GL_EQUAL                                       0x0202
    00292 #define GL_LEQUAL                                      0x0203
    00293 #define GL_GREATER                                     0x0204
    00294 #define GL_NOTEQUAL                                    0x0205
    00295 #define GL_GEQUAL                                      0x0206
    00296 #define GL_ALWAYS                                      0x0207
    00297 #define GL_DEPTH_TEST                                  0x0B71
    00298 #define GL_DEPTH_BITS                                  0x0D56
    00299 #define GL_DEPTH_CLEAR_VALUE                           0x0B73
    00300 #define GL_DEPTH_FUNC                                  0x0B74
    00301 #define GL_DEPTH_RANGE                                            0x0B70
    00302 #define GL_DEPTH_WRITEMASK                             0x0B72
    00303 #define GL_DEPTH_COMPONENT                             0x1902
    00304
    00305 /* Lighting */
    00306 #define GL_LIGHTING                                    0x0B50
    00307 #define GL_LIGHT0                                      0x4000
    00308 #define GL_LIGHT1                                      0x4001
    00309 #define GL_LIGHT2                                      0x4002
    00310 #define GL_LIGHT3                                      0x4003
    00311 #define GL_LIGHT4                                      0x4004
    00312 #define GL_LIGHT5                                      0x4005
    00313 #define GL_LIGHT6                                      0x4006
    00314 #define GL_LIGHT7                                      0x4007
    00315 #define GL_SPOT_EXPONENT                               0x1205
    00316 #define GL_SPOT_CUTOFF                                            0x1206
    00317 #define GL_CONSTANT_ATTENUATION                        0x1207
    00318 #define GL_LINEAR_ATTENUATION                          0x1208
    00319 #define GL_QUADRATIC_ATTENUATION            0x1209
    00320 #define GL_AMBIENT                                     0x1200
    00321 #define GL_DIFFUSE                                     0x1201
    00322 #define GL_SPECULAR                                    0x1202
    00323 #define GL_SHININESS                                   0x1601
    00324 #define GL_EMISSION                                    0x1600
    00325 #define GL_POSITION                                    0x1203
    00326 #define GL_SPOT_DIRECTION                              0x1204
    00327 #define GL_AMBIENT_AND_DIFFUSE                         0x1602
    00328 #define GL_COLOR_INDEXES                               0x1603
    00329 #define GL_LIGHT_MODEL_TWO_SIDE                        0x0B52
    00330 #define GL_LIGHT_MODEL_LOCAL_VIEWER                    0x0B51
    00331 #define GL_LIGHT_MODEL_AMBIENT                         0x0B53
    00332 #define GL_FRONT_AND_BACK                              0x0408
    00333 #define GL_SHADE_MODEL                                            0x0B54
    00334 #define GL_FLAT                                                   0x1D00
    00335 #define GL_SMOOTH                                      0x1D01
    00336 #define GL_COLOR_MATERIAL                              0x0B57
    00337 #define GL_COLOR_MATERIAL_FACE                         0x0B55
    00338 #define GL_COLOR_MATERIAL_PARAMETER                    0x0B56
    00339 #define GL_NORMALIZE                                   0x0BA1
    00340
    00341 /* User clipping planes */
    00342 #define GL_CLIP_PLANE0                                            0x3000
    00343 #define GL_CLIP_PLANE1                                            0x3001
    00344 #define GL_CLIP_PLANE2                                            0x3002
    00345 #define GL_CLIP_PLANE3                                            0x3003
    00346 #define GL_CLIP_PLANE4                                            0x3004
    00347 #define GL_CLIP_PLANE5                                            0x3005
    00348
    00349 /* Accumulation buffer */
    00350 #define GL_ACCUM_RED_BITS                              0x0D58
    00351 #define GL_ACCUM_GREEN_BITS                            0x0D59
    00352 #define GL_ACCUM_BLUE_BITS                             0x0D5A
    00353 #define GL_ACCUM_ALPHA_BITS                            0x0D5B
    00354 #define GL_ACCUM_CLEAR_VALUE                           0x0B80
    00355 #define GL_ACCUM                                       0x0100
    00356 #define GL_ADD                                                    0x0104
    00357 #define GL_LOAD                                                   0x0101
    00358 #define GL_MULT                                                   0x0103
    00359 #define GL_RETURN                                      0x0102
    00360
    00361 /* Alpha testing */
    00362 #define GL_ALPHA_TEST                                  0x0BC0
    00363 #define GL_ALPHA_TEST_REF                              0x0BC2
    00364 #define GL_ALPHA_TEST_FUNC                             0x0BC1
    00365
    00366 /* Blending */
    00367 #define GL_BLEND                                       0x0BE2
    00368 #define GL_BLEND_SRC                                   0x0BE1
    00369 #define GL_BLEND_DST                                   0x0BE0
    00370 #define GL_ZERO                                                   0x0
    00371 #define GL_ONE                                                    0x1
    00372 #define GL_SRC_COLOR                                   0x0300
    00373 #define GL_ONE_MINUS_SRC_COLOR                         0x0301
    00374 #define GL_SRC_ALPHA                                   0x0302
    00375 #define GL_ONE_MINUS_SRC_ALPHA                         0x0303
    00376 #define GL_DST_ALPHA                                   0x0304
    00377 #define GL_ONE_MINUS_DST_ALPHA                         0x0305
    00378 #define GL_DST_COLOR                                   0x0306
    00379 #define GL_ONE_MINUS_DST_COLOR                         0x0307
    00380 #define GL_SRC_ALPHA_SATURATE                          0x0308
    00381
    00382 /* Render Mode */
    00383 #define GL_FEEDBACK                                    0x1C01
    00384 #define GL_RENDER                                      0x1C00
    00385 #define GL_SELECT                                      0x1C02
    00386
    00387 /* Feedback */
    00388 #define GL_2D                                                     0x0600
    00389 #define GL_3D                                                     0x0601
    00390 #define GL_3D_COLOR                                    0x0602
    00391 #define GL_3D_COLOR_TEXTURE                            0x0603
    00392 #define GL_4D_COLOR_TEXTURE                            0x0604
    00393 #define GL_POINT_TOKEN                                            0x0701
    00394 #define GL_LINE_TOKEN                                  0x0702
    00395 #define GL_LINE_RESET_TOKEN                            0x0707
    00396 #define GL_POLYGON_TOKEN                               0x0703
    00397 #define GL_BITMAP_TOKEN                                           0x0704
    00398 #define GL_DRAW_PIXEL_TOKEN                            0x0705
    00399 #define GL_COPY_PIXEL_TOKEN                            0x0706
    00400 #define GL_PASS_THROUGH_TOKEN                          0x0700
    00401 #define GL_FEEDBACK_BUFFER_POINTER                     0x0DF0
    00402 #define GL_FEEDBACK_BUFFER_SIZE                        0x0DF1
    00403 #define GL_FEEDBACK_BUFFER_TYPE                        0x0DF2
    00404
    00405 /* Selection */
    00406 #define GL_SELECTION_BUFFER_POINTER                    0x0DF3
    00407 #define GL_SELECTION_BUFFER_SIZE            0x0DF4
    00408
    00409 /* Fog */
    00410 #define GL_FOG                                                    0x0B60
    00411 #define GL_FOG_MODE                                    0x0B65
    00412 #define GL_FOG_DENSITY                                            0x0B62
    00413 #define GL_FOG_COLOR                                   0x0B66
    00414 #define GL_FOG_INDEX                                   0x0B61
    00415 #define GL_FOG_START                                   0x0B63
    00416 #define GL_FOG_END                                     0x0B64
    00417 #define GL_LINEAR                                      0x2601
    00418 #define GL_EXP                                                    0x0800
    00419 #define GL_EXP2                                                   0x0801
    00420
    00421 /* Logic Ops */
    00422 #define GL_LOGIC_OP                                    0x0BF1
    00423 #define GL_INDEX_LOGIC_OP                              0x0BF1
    00424 #define GL_COLOR_LOGIC_OP                              0x0BF2
    00425 #define GL_LOGIC_OP_MODE                               0x0BF0
    00426 #define GL_CLEAR                                       0x1500
    00427 #define GL_SET                                                    0x150F
    00428 #define GL_COPY                                                   0x1503
    00429 #define GL_COPY_INVERTED                               0x150C
    00430 #define GL_NOOP                                                   0x1505
    00431 #define GL_INVERT                                      0x150A
    00432 #define GL_AND                                                    0x1501
    00433 #define GL_NAND                                                   0x150E
    00434 #define GL_OR                                                     0x1507
    00435 #define GL_NOR                                                    0x1508
    00436 #define GL_XOR                                                    0x1506
    00437 #define GL_EQUIV                                       0x1509
    00438 #define GL_AND_REVERSE                                            0x1502
    00439 #define GL_AND_INVERTED                                           0x1504
    00440 #define GL_OR_REVERSE                                  0x150B
    00441 #define GL_OR_INVERTED                                            0x150D
    00442
    00443 /* Stencil */
    00444 #define GL_STENCIL_TEST                                           0x0B90
    00445 #define GL_STENCIL_WRITEMASK                           0x0B98
    00446 #define GL_STENCIL_BITS                                           0x0D57
    00447 #define GL_STENCIL_FUNC                                           0x0B92
    00448 #define GL_STENCIL_VALUE_MASK                          0x0B93
    00449 #define GL_STENCIL_REF                                            0x0B97
    00450 #define GL_STENCIL_FAIL                                           0x0B94
    00451 #define GL_STENCIL_PASS_DEPTH_PASS                     0x0B96
    00452 #define GL_STENCIL_PASS_DEPTH_FAIL                     0x0B95
    00453 #define GL_STENCIL_CLEAR_VALUE                         0x0B91
    00454 #define GL_STENCIL_INDEX                               0x1901
    00455 #define GL_KEEP                                                   0x1E00
    00456 #define GL_REPLACE                                     0x1E01
    00457 #define GL_INCR                                                   0x1E02
    00458 #define GL_DECR                                                   0x1E03
    00459
    00460 /* Buffers, Pixel Drawing/Reading */
    00461 #define GL_NONE                                                   0x0
    00462 #define GL_LEFT                                                   0x0406
    00463 #define GL_RIGHT                                       0x0407
    00464 /*GL_FRONT                                             0x0404 */
    00465 /*GL_BACK                                              0x0405 */
    00466 /*GL_FRONT_AND_BACK                                    0x0408 */
    00467 #define GL_FRONT_LEFT                                  0x0400
    00468 #define GL_FRONT_RIGHT                                            0x0401
    00469 #define GL_BACK_LEFT                                   0x0402
    00470 #define GL_BACK_RIGHT                                  0x0403
    00471 #define GL_AUX0                                                   0x0409
    00472 #define GL_AUX1                                                   0x040A
    00473 #define GL_AUX2                                                   0x040B
    00474 #define GL_AUX3                                                   0x040C
    00475 #define GL_COLOR_INDEX                                            0x1900
    00476 #define GL_RED                                                    0x1903
    00477 #define GL_GREEN                                       0x1904
    00478 #define GL_BLUE                                                   0x1905
    00479 #define GL_ALPHA                                       0x1906
    00480 #define GL_LUMINANCE                                   0x1909
    00481 #define GL_LUMINANCE_ALPHA                             0x190A
    00482 #define GL_ALPHA_BITS                                  0x0D55
    00483 #define GL_RED_BITS                                    0x0D52
    00484 #define GL_GREEN_BITS                                  0x0D53
    00485 #define GL_BLUE_BITS                                   0x0D54
    00486 #define GL_INDEX_BITS                                  0x0D51
    00487 #define GL_SUBPIXEL_BITS                               0x0D50
    00488 #define GL_AUX_BUFFERS                                            0x0C00
    00489 #define GL_READ_BUFFER                                            0x0C02
    00490 #define GL_DRAW_BUFFER                                            0x0C01
    00491 #define GL_DOUBLEBUFFER                                           0x0C32
    00492 #define GL_STEREO                                      0x0C33
    00493 #define GL_BITMAP                                      0x1A00
    00494 #define GL_COLOR                                       0x1800
    00495 #define GL_DEPTH                                       0x1801
    00496 #define GL_STENCIL                                     0x1802
    00497 #define GL_DITHER                                      0x0BD0
    00498 #define GL_RGB                                                    0x1907
    00499 #define GL_RGBA                                                   0x1908
    00500
    00501 /* Implementation limits */
    00502 #define GL_MAX_LIST_NESTING                            0x0B31
    00503 #define GL_MAX_ATTRIB_STACK_DEPTH                      0x0D35
    00504 #define GL_MAX_MODELVIEW_STACK_DEPTH                   0x0D36
    00505 #define GL_MAX_NAME_STACK_DEPTH                        0x0D37
    00506 #define GL_MAX_PROJECTION_STACK_DEPTH                  0x0D38
    00507 #define GL_MAX_TEXTURE_STACK_DEPTH                     0x0D39
    00508 #define GL_MAX_EVAL_ORDER                              0x0D30
    00509 #define GL_MAX_LIGHTS                                  0x0D31
    00510 #define GL_MAX_CLIP_PLANES                             0x0D32
    00511 #define GL_MAX_TEXTURE_SIZE                            0x0D33
    00512 #define GL_MAX_PIXEL_MAP_TABLE                         0x0D34
    00513 #define GL_MAX_VIEWPORT_DIMS                           0x0D3A
    00514 #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH    0x0D3B
    00515
    00516 /* Gets */
    00517 #define GL_ATTRIB_STACK_DEPTH                          0x0BB0
    00518 #define GL_CLIENT_ATTRIB_STACK_DEPTH                   0x0BB1
    00519 #define GL_COLOR_CLEAR_VALUE                           0x0C22
    00520 #define GL_COLOR_WRITEMASK                             0x0C23
    00521 #define GL_CURRENT_INDEX                               0x0B01
    00522 #define GL_CURRENT_COLOR                               0x0B00
    00523 #define GL_CURRENT_NORMAL                              0x0B02
    00524 #define GL_CURRENT_RASTER_COLOR                        0x0B04
    00525 #define GL_CURRENT_RASTER_DISTANCE                     0x0B09
    00526 #define GL_CURRENT_RASTER_INDEX                        0x0B05
    00527 #define GL_CURRENT_RASTER_POSITION                     0x0B07
    00528 #define GL_CURRENT_RASTER_TEXTURE_COORDS    0x0B06
    00529 #define GL_CURRENT_RASTER_POSITION_VALID    0x0B08
    00530 #define GL_CURRENT_TEXTURE_COORDS                      0x0B03
    00531 #define GL_INDEX_CLEAR_VALUE                           0x0C20
    00532 #define GL_INDEX_MODE                                  0x0C30
    00533 #define GL_INDEX_WRITEMASK                             0x0C21
    00534 #define GL_MODELVIEW_MATRIX                            0x0BA6
    00535 #define GL_MODELVIEW_STACK_DEPTH            0x0BA3
    00536 #define GL_NAME_STACK_DEPTH                            0x0D70
    00537 #define GL_PROJECTION_MATRIX                           0x0BA7
    00538 #define GL_PROJECTION_STACK_DEPTH                      0x0BA4
    00539 #define GL_RENDER_MODE                                            0x0C40
    00540 #define GL_RGBA_MODE                                   0x0C31
    00541 #define GL_TEXTURE_MATRIX                              0x0BA8
    00542 #define GL_TEXTURE_STACK_DEPTH                         0x0BA5
    00543 #define GL_VIEWPORT                                    0x0BA2
    00544
    00545 /* Evaluators */
    00546 #define GL_AUTO_NORMAL                                            0x0D80
    00547 #define GL_MAP1_COLOR_4                                           0x0D90
    00548 #define GL_MAP1_INDEX                                  0x0D91
    00549 #define GL_MAP1_NORMAL                                            0x0D92
    00550 #define GL_MAP1_TEXTURE_COORD_1                        0x0D93
    00551 #define GL_MAP1_TEXTURE_COORD_2                        0x0D94
    00552 #define GL_MAP1_TEXTURE_COORD_3                        0x0D95
    00553 #define GL_MAP1_TEXTURE_COORD_4                        0x0D96
    00554 #define GL_MAP1_VERTEX_3                               0x0D97
    00555 #define GL_MAP1_VERTEX_4                               0x0D98
    00556 #define GL_MAP2_COLOR_4                                           0x0DB0
    00557 #define GL_MAP2_INDEX                                  0x0DB1
    00558 #define GL_MAP2_NORMAL                                            0x0DB2
    00559 #define GL_MAP2_TEXTURE_COORD_1                        0x0DB3
    00560 #define GL_MAP2_TEXTURE_COORD_2                        0x0DB4
    00561 #define GL_MAP2_TEXTURE_COORD_3                        0x0DB5
    00562 #define GL_MAP2_TEXTURE_COORD_4                        0x0DB6
    00563 #define GL_MAP2_VERTEX_3                               0x0DB7
    00564 #define GL_MAP2_VERTEX_4                               0x0DB8
    00565 #define GL_MAP1_GRID_DOMAIN                            0x0DD0
    00566 #define GL_MAP1_GRID_SEGMENTS                          0x0DD1
    00567 #define GL_MAP2_GRID_DOMAIN                            0x0DD2
    00568 #define GL_MAP2_GRID_SEGMENTS                          0x0DD3
    00569 #define GL_COEFF                                       0x0A00
    00570 #define GL_DOMAIN                                      0x0A02
    00571 #define GL_ORDER                                       0x0A01
    00572
    00573 /* Hints */
    00574 #define GL_FOG_HINT                                    0x0C54
    00575 #define GL_LINE_SMOOTH_HINT                            0x0C52
    00576 #define GL_PERSPECTIVE_CORRECTION_HINT                 0x0C50
    00577 #define GL_POINT_SMOOTH_HINT                           0x0C51
    00578 #define GL_POLYGON_SMOOTH_HINT                         0x0C53
    00579 #define GL_DONT_CARE                                   0x1100
    00580 #define GL_FASTEST                                     0x1101
    00581 #define GL_NICEST                                      0x1102
    00582
    00583 /* Scissor box */
    00584 #define GL_SCISSOR_TEST                                           0x0C11
    00585 #define GL_SCISSOR_BOX                                            0x0C10
    00586
    00587 /* Pixel Mode / Transfer */
    00588 #define GL_MAP_COLOR                                   0x0D10
    00589 #define GL_MAP_STENCIL                                            0x0D11
    00590 #define GL_INDEX_SHIFT                                            0x0D12
    00591 #define GL_INDEX_OFFSET                                           0x0D13
    00592 #define GL_RED_SCALE                                   0x0D14
    00593 #define GL_RED_BIAS                                    0x0D15
    00594 #define GL_GREEN_SCALE                                            0x0D18
    00595 #define GL_GREEN_BIAS                                  0x0D19
    00596 #define GL_BLUE_SCALE                                  0x0D1A
    00597 #define GL_BLUE_BIAS                                   0x0D1B
    00598 #define GL_ALPHA_SCALE                                            0x0D1C
    00599 #define GL_ALPHA_BIAS                                  0x0D1D
    00600 #define GL_DEPTH_SCALE                                            0x0D1E
    00601 #define GL_DEPTH_BIAS                                  0x0D1F
    00602 #define GL_PIXEL_MAP_S_TO_S_SIZE            0x0CB1
    00603 #define GL_PIXEL_MAP_I_TO_I_SIZE            0x0CB0
    00604 #define GL_PIXEL_MAP_I_TO_R_SIZE            0x0CB2
    00605 #define GL_PIXEL_MAP_I_TO_G_SIZE            0x0CB3
    00606 #define GL_PIXEL_MAP_I_TO_B_SIZE            0x0CB4
    00607 #define GL_PIXEL_MAP_I_TO_A_SIZE            0x0CB5
    00608 #define GL_PIXEL_MAP_R_TO_R_SIZE            0x0CB6
    00609 #define GL_PIXEL_MAP_G_TO_G_SIZE            0x0CB7
    00610 #define GL_PIXEL_MAP_B_TO_B_SIZE            0x0CB8
    00611 #define GL_PIXEL_MAP_A_TO_A_SIZE            0x0CB9
    00612 #define GL_PIXEL_MAP_S_TO_S                            0x0C71
    00613 #define GL_PIXEL_MAP_I_TO_I                            0x0C70
    00614 #define GL_PIXEL_MAP_I_TO_R                            0x0C72
    00615 #define GL_PIXEL_MAP_I_TO_G                            0x0C73
    00616 #define GL_PIXEL_MAP_I_TO_B                            0x0C74
    00617 #define GL_PIXEL_MAP_I_TO_A                            0x0C75
    00618 #define GL_PIXEL_MAP_R_TO_R                            0x0C76
    00619 #define GL_PIXEL_MAP_G_TO_G                            0x0C77
    00620 #define GL_PIXEL_MAP_B_TO_B                            0x0C78
    00621 #define GL_PIXEL_MAP_A_TO_A                            0x0C79
    00622 #define GL_PACK_ALIGNMENT                              0x0D05
    00623 #define GL_PACK_LSB_FIRST                              0x0D01
    00624 #define GL_PACK_ROW_LENGTH                             0x0D02
    00625 #define GL_PACK_SKIP_PIXELS                            0x0D04
    00626 #define GL_PACK_SKIP_ROWS                              0x0D03
    00627 #define GL_PACK_SWAP_BYTES                             0x0D00
    00628 #define GL_UNPACK_ALIGNMENT                            0x0CF5
    00629 #define GL_UNPACK_LSB_FIRST                            0x0CF1
    00630 #define GL_UNPACK_ROW_LENGTH                           0x0CF2
    00631 #define GL_UNPACK_SKIP_PIXELS                          0x0CF4
    00632 #define GL_UNPACK_SKIP_ROWS                            0x0CF3
    00633 #define GL_UNPACK_SWAP_BYTES                           0x0CF0
    00634 #define GL_ZOOM_X                                      0x0D16
    00635 #define GL_ZOOM_Y                                      0x0D17
    00636
    00637 /* Texture mapping */
    00638 #define GL_TEXTURE_ENV                                            0x2300
    00639 #define GL_TEXTURE_ENV_MODE                            0x2200
    00640 #define GL_TEXTURE_1D                                  0x0DE0
    00641 #define GL_TEXTURE_2D                                  0x0DE1
    00642 #define GL_TEXTURE_WRAP_S                              0x2802
    00643 #define GL_TEXTURE_WRAP_T                              0x2803
    00644 #define GL_TEXTURE_MAG_FILTER                          0x2800
    00645 #define GL_TEXTURE_MIN_FILTER                          0x2801
    00646 #define GL_TEXTURE_ENV_COLOR                           0x2201
    00647 #define GL_TEXTURE_GEN_S                               0x0C60
    00648 #define GL_TEXTURE_GEN_T                               0x0C61
    00649 #define GL_TEXTURE_GEN_MODE                            0x2500
    00650 #define GL_TEXTURE_BORDER_COLOR                        0x1004
    00651 #define GL_TEXTURE_WIDTH                               0x1000
    00652 #define GL_TEXTURE_HEIGHT                              0x1001
    00653 #define GL_TEXTURE_BORDER                              0x1005
    00654 #define GL_TEXTURE_COMPONENTS                          0x1003
    00655 #define GL_TEXTURE_RED_SIZE                            0x805C
    00656 #define GL_TEXTURE_GREEN_SIZE                          0x805D
    00657 #define GL_TEXTURE_BLUE_SIZE                           0x805E
    00658 #define GL_TEXTURE_ALPHA_SIZE                          0x805F
    00659 #define GL_TEXTURE_LUMINANCE_SIZE                      0x8060
    00660 #define GL_TEXTURE_INTENSITY_SIZE                      0x8061
    00661 #define GL_NEAREST_MIPMAP_NEAREST                      0x2700
    00662 #define GL_NEAREST_MIPMAP_LINEAR            0x2702
    00663 #define GL_LINEAR_MIPMAP_NEAREST            0x2701
    00664 #define GL_LINEAR_MIPMAP_LINEAR                        0x2703
    00665 #define GL_OBJECT_LINEAR                               0x2401
    00666 #define GL_OBJECT_PLANE                                           0x2501
    00667 #define GL_EYE_LINEAR                                  0x2400
    00668 #define GL_EYE_PLANE                                   0x2502
    00669 #define GL_SPHERE_MAP                                  0x2402
    00670 #define GL_DECAL                                       0x2101
    00671 #define GL_MODULATE                                    0x2100
    00672 #define GL_NEAREST                                     0x2600
    00673 #define GL_REPEAT                                      0x2901
    00674 #define GL_CLAMP                                       0x2900
    00675 #define GL_S                                                      0x2000
    00676 #define GL_T                                                      0x2001
    00677 #define GL_R                                                      0x2002
    00678 #define GL_Q                                                      0x2003
    00679 #define GL_TEXTURE_GEN_R                               0x0C62
    00680 #define GL_TEXTURE_GEN_Q                               0x0C63
    00681
    00682 /* Utility */
    00683 #define GL_VENDOR                                      0x1F00
    00684 #define GL_RENDERER                                    0x1F01
    00685 #define GL_VERSION                                     0x1F02
    00686 #define GL_EXTENSIONS                                  0x1F03
    00687
    00688 /* Errors */
    00689 #define GL_NO_ERROR                                    0x0
    00690 #define GL_INVALID_VALUE                               0x0501
    00691 #define GL_INVALID_ENUM                                           0x0500
    00692 #define GL_INVALID_OPERATION                           0x0502
    00693 #define GL_STACK_OVERFLOW                              0x0503
    00694 #define GL_STACK_UNDERFLOW                             0x0504
    00695 #define GL_OUT_OF_MEMORY                               0x0505
    00696
    00697 /* glPush/PopAttrib bits */
    00698 #define GL_CURRENT_BIT                                            0x00000001
    00699 #define GL_POINT_BIT                                   0x00000002
    00700 #define GL_LINE_BIT                                    0x00000004
    00701 #define GL_POLYGON_BIT                                            0x00000008
    00702 #define GL_POLYGON_STIPPLE_BIT                         0x00000010
    00703 #define GL_PIXEL_MODE_BIT                              0x00000020
    00704 #define GL_LIGHTING_BIT                                           0x00000040
    00705 #define GL_FOG_BIT                                     0x00000080
    00706 #define GL_DEPTH_BUFFER_BIT                            0x00000100
    00707 #define GL_ACCUM_BUFFER_BIT                            0x00000200
    00708 #define GL_STENCIL_BUFFER_BIT                          0x00000400
    00709 #define GL_VIEWPORT_BIT                                           0x00000800
    00710 #define GL_TRANSFORM_BIT                               0x00001000
    00711 #define GL_ENABLE_BIT                                  0x00002000
    00712 #define GL_COLOR_BUFFER_BIT                            0x00004000
    00713 #define GL_HINT_BIT                                    0x00008000
    00714 #define GL_EVAL_BIT                                    0x00010000
    00715 #define GL_LIST_BIT                                    0x00020000
    00716 #define GL_TEXTURE_BIT                                            0x00040000
    00717 #define GL_SCISSOR_BIT                                            0x00080000
    00718 #define GL_ALL_ATTRIB_BITS                             0x000FFFFF
    00719
    00720
    00721 /* OpenGL 1.1 */
    00722 #define GL_PROXY_TEXTURE_1D                            0x8063
    00723 #define GL_PROXY_TEXTURE_2D                            0x8064
    00724 #define GL_TEXTURE_PRIORITY                            0x8066
    00725 #define GL_TEXTURE_RESIDENT                            0x8067
    00726 #define GL_TEXTURE_BINDING_1D                          0x8068
    00727 #define GL_TEXTURE_BINDING_2D                          0x8069
    00728 #define GL_TEXTURE_INTERNAL_FORMAT                     0x1003
    00729 #define GL_ALPHA4                                      0x803B
    00730 #define GL_ALPHA8                                      0x803C
    00731 #define GL_ALPHA12                                     0x803D
    00732 #define GL_ALPHA16                                     0x803E
    00733 #define GL_LUMINANCE4                                  0x803F
    00734 #define GL_LUMINANCE8                                  0x8040
    00735 #define GL_LUMINANCE12                                            0x8041
    00736 #define GL_LUMINANCE16                                            0x8042
    00737 #define GL_LUMINANCE4_ALPHA4                           0x8043
    00738 #define GL_LUMINANCE6_ALPHA2                           0x8044
    00739 #define GL_LUMINANCE8_ALPHA8                           0x8045
    00740 #define GL_LUMINANCE12_ALPHA4                          0x8046
    00741 #define GL_LUMINANCE12_ALPHA12                         0x8047
    00742 #define GL_LUMINANCE16_ALPHA16                         0x8048
    00743 #define GL_INTENSITY                                   0x8049
    00744 #define GL_INTENSITY4                                  0x804A
    00745 #define GL_INTENSITY8                                  0x804B
    00746 #define GL_INTENSITY12                                            0x804C
    00747 #define GL_INTENSITY16                                            0x804D
    00748 #define GL_R3_G3_B2                                    0x2A10
    00749 #define GL_RGB4                                                   0x804F
    00750 #define GL_RGB5                                                   0x8050
    00751 #define GL_RGB8                                                   0x8051
    00752 #define GL_RGB10                                       0x8052
    00753 #define GL_RGB12                                       0x8053
    00754 #define GL_RGB16                                       0x8054
    00755 #define GL_RGBA2                                       0x8055
    00756 #define GL_RGBA4                                       0x8056
    00757 #define GL_RGB5_A1                                     0x8057
    00758 #define GL_RGBA8                                       0x8058
    00759 #define GL_RGB10_A2                                    0x8059
    00760 #define GL_RGBA12                                      0x805A
    00761 #define GL_RGBA16                                      0x805B
    00762 #define GL_CLIENT_PIXEL_STORE_BIT                      0x00000001
    00763 #define GL_CLIENT_VERTEX_ARRAY_BIT                     0x00000002
    00764 #define GL_ALL_CLIENT_ATTRIB_BITS                      0xFFFFFFFF
    00765 #define GL_CLIENT_ALL_ATTRIB_BITS                      0xFFFFFFFF
    00766
    00767
    00768
    00769 /*
    00770  * Miscellaneous
    00771  */
    00772
    00773 GLAPI void GLAPIENTRY glClearIndex( GLfloat c );
    00774
    00775 GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
    00776
    00777 GLAPI void GLAPIENTRY glClear( GLbitfield mask );
    00778
    00779 GLAPI void GLAPIENTRY glIndexMask( GLuint mask );
    00780
    00781 GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
    00782
    00783 GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref );
    00784
    00785 GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor );
    00786
    00787 GLAPI void GLAPIENTRY glLogicOp( GLenum opcode );
    00788
    00789 GLAPI void GLAPIENTRY glCullFace( GLenum mode );
    00790
    00791 GLAPI void GLAPIENTRY glFrontFace( GLenum mode );
    00792
    00793 GLAPI void GLAPIENTRY glPointSize( GLfloat size );
    00794
    00795 GLAPI void GLAPIENTRY glLineWidth( GLfloat width );
    00796
    00797 GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern );
    00798
    00799 GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode );
    00800
    00801 GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units );
    00802
    00803 GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask );
    00804
    00805 GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask );
    00806
    00807 GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag );
    00808
    00809 GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag );
    00810
    00811 GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
    00812
    00813 GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation );
    00814
    00815 GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation );
    00816
    00817 GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode );
    00818
    00819 GLAPI void GLAPIENTRY glReadBuffer( GLenum mode );
    00820
    00821 GLAPI void GLAPIENTRY glEnable( GLenum cap );
    00822
    00823 GLAPI void GLAPIENTRY glDisable( GLenum cap );
    00824
    00825 GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap );
    00826
    00827
    00828 GLAPI void GLAPIENTRY glEnableClientState( GLenum cap );  /* 1.1 */
    00829
    00830 GLAPI void GLAPIENTRY glDisableClientState( GLenum cap );  /* 1.1 */
    00831
    00832
    00833 GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params );
    00834
    00835 GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params );
    00836
    00837 GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params );
    00838
    00839 GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params );
    00840
    00841
    00842 GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask );
    00843
    00844 GLAPI void GLAPIENTRY glPopAttrib( void );
    00845
    00846
    00847 GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask );  /* 1.1 */
    00848
    00849 GLAPI void GLAPIENTRY glPopClientAttrib( void );  /* 1.1 */
    00850
    00851
    00852 GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
    00853
    00854 GLAPI GLenum GLAPIENTRY glGetError( void );
    00855
    00856 GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
    00857
    00858 GLAPI void GLAPIENTRY glFinish( void );
    00859
    00860 GLAPI void GLAPIENTRY glFlush( void );
    00861
    00862 GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode );
    00863
    00864
    00865 /*
    00866  * Depth Buffer
    00867  */
    00868
    00869 GLAPI void GLAPIENTRY glClearDepth( GLclampd depth );
    00870
    00871 GLAPI void GLAPIENTRY glDepthFunc( GLenum func );
    00872
    00873 GLAPI void GLAPIENTRY glDepthMask( GLboolean flag );
    00874
    00875 GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );
    00876
    00877
    00878 /*
    00879  * Accumulation Buffer
    00880  */
    00881
    00882 GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
    00883
    00884 GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value );
    00885
    00886
    00887 /*
    00888  * Transformation
    00889  */
    00890
    00891 GLAPI void GLAPIENTRY glMatrixMode( GLenum mode );
    00892
    00893 GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right,
    00894                                  GLdouble bottom, GLdouble top,
    00895                                  GLdouble near_val, GLdouble far_val );
    00896
    00897 GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right,
    00898                                    GLdouble bottom, GLdouble top,
    00899                                    GLdouble near_val, GLdouble far_val );
    00900
    00901 GLAPI void GLAPIENTRY glViewport( GLint x, GLint y,
    00902                                     GLsizei width, GLsizei height );
    00903
    00904 GLAPI void GLAPIENTRY glPushMatrix( void );
    00905
    00906 GLAPI void GLAPIENTRY glPopMatrix( void );
    00907
    00908 GLAPI void GLAPIENTRY glLoadIdentity( void );
    00909
    00910 GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m );
    00911 GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m );
    00912
    00913 GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m );
    00914 GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m );
    00915
    00916 GLAPI void GLAPIENTRY glRotated( GLdouble angle,
    00917                                    GLdouble x, GLdouble y, GLdouble z );
    00918 GLAPI void GLAPIENTRY glRotatef( GLfloat angle,
    00919                                    GLfloat x, GLfloat y, GLfloat z );
    00920
    00921 GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z );
    00922 GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z );
    00923
    00924 GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z );
    00925 GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z );
    00926
    00927
    00928 /*
    00929  * Display Lists
    00930  */
    00931
    00932 GLAPI GLboolean GLAPIENTRY glIsList( GLuint list );
    00933
    00934 GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range );
    00935
    00936 GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range );
    00937
    00938 GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode );
    00939
    00940 GLAPI void GLAPIENTRY glEndList( void );
    00941
    00942 GLAPI void GLAPIENTRY glCallList( GLuint list );
    00943
    00944 GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type,
    00945                                      const GLvoid *lists );
    00946
    00947 GLAPI void GLAPIENTRY glListBase( GLuint base );
    00948
    00949
    00950 /*
    00951  * Drawing Functions
    00952  */
    00953
    00954 GLAPI void GLAPIENTRY glBegin( GLenum mode );
    00955
    00956 GLAPI void GLAPIENTRY glEnd( void );
    00957
    00958
    00959 GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y );
    00960 GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y );
    00961 GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y );
    00962 GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y );
    00963
    00964 GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z );
    00965 GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z );
    00966 GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z );
    00967 GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z );
    00968
    00969 GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
    00970 GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
    00971 GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w );
    00972 GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
    00973
    00974 GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v );
    00975 GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v );
    00976 GLAPI void GLAPIENTRY glVertex2iv( const GLint *v );
    00977 GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v );
    00978
    00979 GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v );
    00980 GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v );
    00981 GLAPI void GLAPIENTRY glVertex3iv( const GLint *v );
    00982 GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v );
    00983
    00984 GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v );
    00985 GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v );
    00986 GLAPI void GLAPIENTRY glVertex4iv( const GLint *v );
    00987 GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v );
    00988
    00989
    00990 GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
    00991 GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz );
    00992 GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz );
    00993 GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz );
    00994 GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz );
    00995
    00996 GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v );
    00997 GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v );
    00998 GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v );
    00999 GLAPI void GLAPIENTRY glNormal3iv( const GLint *v );
    01000 GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v );
    01001
    01002
    01003 GLAPI void GLAPIENTRY glIndexd( GLdouble c );
    01004 GLAPI void GLAPIENTRY glIndexf( GLfloat c );
    01005 GLAPI void GLAPIENTRY glIndexi( GLint c );
    01006 GLAPI void GLAPIENTRY glIndexs( GLshort c );
    01007 GLAPI void GLAPIENTRY glIndexub( GLubyte c );  /* 1.1 */
    01008
    01009 GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c );
    01010 GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c );
    01011 GLAPI void GLAPIENTRY glIndexiv( const GLint *c );
    01012 GLAPI void GLAPIENTRY glIndexsv( const GLshort *c );
    01013 GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c );  /* 1.1 */
    01014
    01015 GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue );
    01016 GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue );
    01017 GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue );
    01018 GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue );
    01019 GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue );
    01020 GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue );
    01021 GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue );
    01022 GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue );
    01023
    01024 GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green,
    01025                                    GLbyte blue, GLbyte alpha );
    01026 GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green,
    01027                                    GLdouble blue, GLdouble alpha );
    01028 GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green,
    01029                                    GLfloat blue, GLfloat alpha );
    01030 GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green,
    01031                                    GLint blue, GLint alpha );
    01032 GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green,
    01033                                    GLshort blue, GLshort alpha );
    01034 GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green,
    01035                                     GLubyte blue, GLubyte alpha );
    01036 GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green,
    01037                                     GLuint blue, GLuint alpha );
    01038 GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green,
    01039                                     GLushort blue, GLushort alpha );
    01040
    01041
    01042 GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v );
    01043 GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v );
    01044 GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v );
    01045 GLAPI void GLAPIENTRY glColor3iv( const GLint *v );
    01046 GLAPI void GLAPIENTRY glColor3sv( const GLshort *v );
    01047 GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v );
    01048 GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v );
    01049 GLAPI void GLAPIENTRY glColor3usv( const GLushort *v );
    01050
    01051 GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v );
    01052 GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v );
    01053 GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v );
    01054 GLAPI void GLAPIENTRY glColor4iv( const GLint *v );
    01055 GLAPI void GLAPIENTRY glColor4sv( const GLshort *v );
    01056 GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v );
    01057 GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v );
    01058 GLAPI void GLAPIENTRY glColor4usv( const GLushort *v );
    01059
    01060
    01061 GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s );
    01062 GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s );
    01063 GLAPI void GLAPIENTRY glTexCoord1i( GLint s );
    01064 GLAPI void GLAPIENTRY glTexCoord1s( GLshort s );
    01065
    01066 GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t );
    01067 GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t );
    01068 GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t );
    01069 GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t );
    01070
    01071 GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r );
    01072 GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
    01073 GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r );
    01074 GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r );
    01075
    01076 GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
    01077 GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
    01078 GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q );
    01079 GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
    01080
    01081 GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v );
    01082 GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v );
    01083 GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v );
    01084 GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v );
    01085
    01086 GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v );
    01087 GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v );
    01088 GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v );
    01089 GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v );
    01090
    01091 GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v );
    01092 GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v );
    01093 GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v );
    01094 GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v );
    01095
    01096 GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v );
    01097 GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v );
    01098 GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v );
    01099 GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v );
    01100
    01101
    01102 GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y );
    01103 GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y );
    01104 GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y );
    01105 GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y );
    01106
    01107 GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z );
    01108 GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z );
    01109 GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z );
    01110 GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z );
    01111
    01112 GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
    01113 GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
    01114 GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w );
    01115 GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w );
    01116
    01117 GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v );
    01118 GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v );
    01119 GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v );
    01120 GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v );
    01121
    01122 GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v );
    01123 GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v );
    01124 GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v );
    01125 GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v );
    01126
    01127 GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v );
    01128 GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v );
    01129 GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v );
    01130 GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v );
    01131
    01132
    01133 GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
    01134 GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
    01135 GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 );
    01136 GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
    01137
    01138
    01139 GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 );
    01140 GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 );
    01141 GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 );
    01142 GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 );
    01143
    01144
    01145 /*
    01146  * Vertex Arrays  (1.1)
    01147  */
    01148
    01149 GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type,
    01150                                        GLsizei stride, const GLvoid *ptr );
    01151
    01152 GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride,
    01153                                        const GLvoid *ptr );
    01154
    01155 GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type,
    01156                                       GLsizei stride, const GLvoid *ptr );
    01157
    01158 GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride,
    01159                                       const GLvoid *ptr );
    01160
    01161 GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type,
    01162                                          GLsizei stride, const GLvoid *ptr );
    01163
    01164 GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
    01165
    01166 GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params );
    01167
    01168 GLAPI void GLAPIENTRY glArrayElement( GLint i );
    01169
    01170 GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count );
    01171
    01172 GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count,
    01173                                       GLenum type, const GLvoid *indices );
    01174
    01175 GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride,
    01176                                            const GLvoid *pointer );
    01177
    01178 /*
    01179  * Lighting
    01180  */
    01181
    01182 GLAPI void GLAPIENTRY glShadeModel( GLenum mode );
    01183
    01184 GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param );
    01185 GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param );
    01186 GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname,
    01187                                  const GLfloat *params );
    01188 GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname,
    01189                                  const GLint *params );
    01190
    01191 GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname,
    01192                                     GLfloat *params );
    01193 GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname,
    01194                                     GLint *params );
    01195
    01196 GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param );
    01197 GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param );
    01198 GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params );
    01199 GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params );
    01200
    01201 GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param );
    01202 GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param );
    01203 GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params );
    01204 GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params );
    01205
    01206 GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
    01207 GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
    01208
    01209 GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode );
    01210
    01211
    01212 /*
    01213  * Raster functions
    01214  */
    01215
    01216 GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor );
    01217
    01218 GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param );
    01219 GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param );
    01220
    01221 GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param );
    01222 GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param );
    01223
    01224 GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize,
    01225                                     const GLfloat *values );
    01226 GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize,
    01227                                      const GLuint *values );
    01228 GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize,
    01229                                      const GLushort *values );
    01230
    01231 GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values );
    01232 GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values );
    01233 GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values );
    01234
    01235 GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height,
    01236                                 GLfloat xorig, GLfloat yorig,
    01237                                 GLfloat xmove, GLfloat ymove,
    01238                                 const GLubyte *bitmap );
    01239
    01240 GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y,
    01241                                     GLsizei width, GLsizei height,
    01242                                     GLenum format, GLenum type,
    01243                                     GLvoid *pixels );
    01244
    01245 GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height,
    01246                                     GLenum format, GLenum type,
    01247                                     const GLvoid *pixels );
    01248
    01249 GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y,
    01250                                     GLsizei width, GLsizei height,
    01251                                     GLenum type );
    01252
    01253 /*
    01254  * Stenciling
    01255  */
    01256
    01257 GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask );
    01258
    01259 GLAPI void GLAPIENTRY glStencilMask( GLuint mask );
    01260
    01261 GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
    01262
    01263 GLAPI void GLAPIENTRY glClearStencil( GLint s );
    01264
    01265
    01266
    01267 /*
    01268  * Texture mapping
    01269  */
    01270
    01271 GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param );
    01272 GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param );
    01273 GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param );
    01274
    01275 GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params );
    01276 GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
    01277 GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params );
    01278
    01279 GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
    01280 GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
    01281 GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params );
    01282
    01283
    01284 GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param );
    01285 GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param );
    01286
    01287 GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params );
    01288 GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params );
    01289
    01290 GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
    01291 GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
    01292
    01293
    01294 GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param );
    01295 GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param );
    01296
    01297 GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname,
    01298                                           const GLfloat *params );
    01299 GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname,
    01300                                           const GLint *params );
    01301
    01302 GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target,
    01303                                            GLenum pname, GLfloat *params);
    01304 GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target,
    01305                                            GLenum pname, GLint *params );
    01306
    01307 GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level,
    01308                                                 GLenum pname, GLfloat *params );
    01309 GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level,
    01310                                                 GLenum pname, GLint *params );
    01311
    01312
    01313 GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level,
    01314                                     GLint internalFormat,
    01315                                     GLsizei width, GLint border,
    01316                                     GLenum format, GLenum type,
    01317                                     const GLvoid *pixels );
    01318
    01319 GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level,
    01320                                     GLint internalFormat,
    01321                                     GLsizei width, GLsizei height,
    01322                                     GLint border, GLenum format, GLenum type,
    01323                                     const GLvoid *pixels );
    01324
    01325 GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level,
    01326                                      GLenum format, GLenum type,
    01327                                      GLvoid *pixels );
    01328
    01329
    01330 /* 1.1 functions */
    01331
    01332 GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures );
    01333
    01334 GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures);
    01335
    01336 GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture );
    01337
    01338 GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n,
    01339                                             const GLuint *textures,
    01340                                             const GLclampf *priorities );
    01341
    01342 GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n,
    01343                                                   const GLuint *textures,
    01344                                                   GLboolean *residences );
    01345
    01346 GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture );
    01347
    01348
    01349 GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level,
    01350                                        GLint xoffset,
    01351                                        GLsizei width, GLenum format,
    01352                                        GLenum type, const GLvoid *pixels );
    01353
    01354
    01355 GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level,
    01356                                        GLint xoffset, GLint yoffset,
    01357                                        GLsizei width, GLsizei height,
    01358                                        GLenum format, GLenum type,
    01359                                        const GLvoid *pixels );
    01360
    01361
    01362 GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level,
    01363                                         GLenum internalformat,
    01364                                         GLint x, GLint y,
    01365                                         GLsizei width, GLint border );
    01366
    01367
    01368 GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level,
    01369                                         GLenum internalformat,
    01370                                         GLint x, GLint y,
    01371                                         GLsizei width, GLsizei height,
    01372                                         GLint border );
    01373
    01374
    01375 GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level,
    01376                                            GLint xoffset, GLint x, GLint y,
    01377                                            GLsizei width );
    01378
    01379
    01380 GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level,
    01381                                            GLint xoffset, GLint yoffset,
    01382                                            GLint x, GLint y,
    01383                                            GLsizei width, GLsizei height );
    01384
    01385
    01386 /*
    01387  * Evaluators
    01388  */
    01389
    01390 GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2,
    01391                                GLint stride,
    01392                                GLint order, const GLdouble *points );
    01393 GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2,
    01394                                GLint stride,
    01395                                GLint order, const GLfloat *points );
    01396
    01397 GLAPI void GLAPIENTRY glMap2d( GLenum target,
    01398                            GLdouble u1, GLdouble u2, GLint ustride, GLint uorder,
    01399                            GLdouble v1, GLdouble v2, GLint vstride, GLint vorder,
    01400                            const GLdouble *points );
    01401 GLAPI void GLAPIENTRY glMap2f( GLenum target,
    01402                            GLfloat u1, GLfloat u2, GLint ustride, GLint uorder,
    01403                            GLfloat v1, GLfloat v2, GLint vstride, GLint vorder,
    01404                            const GLfloat *points );
    01405
    01406 GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v );
    01407 GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v );
    01408 GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v );
    01409
    01410 GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u );
    01411 GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u );
    01412
    01413 GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u );
    01414 GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u );
    01415
    01416 GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v );
    01417 GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v );
    01418
    01419 GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u );
    01420 GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u );
    01421
    01422 GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 );
    01423 GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 );
    01424
    01425 GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2,
    01426                                    GLint vn, GLdouble v1, GLdouble v2 );
    01427 GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2,
    01428                                    GLint vn, GLfloat v1, GLfloat v2 );
    01429
    01430 GLAPI void GLAPIENTRY glEvalPoint1( GLint i );
    01431
    01432 GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j );
    01433
    01434 GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 );
    01435
    01436 GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 );
    01437
    01438
    01439 /*
    01440  * Fog
    01441  */
    01442
    01443 GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param );
    01444
    01445 GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param );
    01446
    01447 GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params );
    01448
    01449 GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params );
    01450
    01451
    01452 /*
    01453  * Selection and Feedback
    01454  */
    01455
    01456 GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer );
    01457
    01458 GLAPI void GLAPIENTRY glPassThrough( GLfloat token );
    01459
    01460 GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );
    01461
    01462 GLAPI void GLAPIENTRY glInitNames( void );
    01463
    01464 GLAPI void GLAPIENTRY glLoadName( GLuint name );
    01465
    01466 GLAPI void GLAPIENTRY glPushName( GLuint name );
    01467
    01468 GLAPI void GLAPIENTRY glPopName( void );
    01469
    01470
    01471
    01472 /*
    01473  * OpenGL 1.2
    01474  */
    01475
    01476 #define GL_RESCALE_NORMAL                              0x803A
    01477 #define GL_CLAMP_TO_EDGE                               0x812F
    01478 #define GL_MAX_ELEMENTS_VERTICES            0x80E8
    01479 #define GL_MAX_ELEMENTS_INDICES                        0x80E9
    01480 #define GL_BGR                                                    0x80E0
    01481 #define GL_BGRA                                                   0x80E1
    01482 #define GL_UNSIGNED_BYTE_3_3_2                         0x8032
    01483 #define GL_UNSIGNED_BYTE_2_3_3_REV                     0x8362
    01484 #define GL_UNSIGNED_SHORT_5_6_5                        0x8363
    01485 #define GL_UNSIGNED_SHORT_5_6_5_REV                    0x8364
    01486 #define GL_UNSIGNED_SHORT_4_4_4_4                      0x8033
    01487 #define GL_UNSIGNED_SHORT_4_4_4_4_REV                  0x8365
    01488 #define GL_UNSIGNED_SHORT_5_5_5_1                      0x8034
    01489 #define GL_UNSIGNED_SHORT_1_5_5_5_REV                  0x8366
    01490 #define GL_UNSIGNED_INT_8_8_8_8                        0x8035
    01491 #define GL_UNSIGNED_INT_8_8_8_8_REV                    0x8367
    01492 #define GL_UNSIGNED_INT_10_10_10_2                     0x8036
    01493 #define GL_UNSIGNED_INT_2_10_10_10_REV                 0x8368
    01494 #define GL_LIGHT_MODEL_COLOR_CONTROL                   0x81F8
    01495 #define GL_SINGLE_COLOR                                           0x81F9
    01496 #define GL_SEPARATE_SPECULAR_COLOR                     0x81FA
    01497 #define GL_TEXTURE_MIN_LOD                             0x813A
    01498 #define GL_TEXTURE_MAX_LOD                             0x813B
    01499 #define GL_TEXTURE_BASE_LEVEL                          0x813C
    01500 #define GL_TEXTURE_MAX_LEVEL                           0x813D
    01501 #define GL_SMOOTH_POINT_SIZE_RANGE                     0x0B12
    01502 #define GL_SMOOTH_POINT_SIZE_GRANULARITY    0x0B13
    01503 #define GL_SMOOTH_LINE_WIDTH_RANGE                     0x0B22
    01504 #define GL_SMOOTH_LINE_WIDTH_GRANULARITY    0x0B23
    01505 #define GL_ALIASED_POINT_SIZE_RANGE                    0x846D
    01506 #define GL_ALIASED_LINE_WIDTH_RANGE                    0x846E
    01507 #define GL_PACK_SKIP_IMAGES                            0x806B
    01508 #define GL_PACK_IMAGE_HEIGHT                           0x806C
    01509 #define GL_UNPACK_SKIP_IMAGES                          0x806D
    01510 #define GL_UNPACK_IMAGE_HEIGHT                         0x806E
    01511 #define GL_TEXTURE_3D                                  0x806F
    01512 #define GL_PROXY_TEXTURE_3D                            0x8070
    01513 #define GL_TEXTURE_DEPTH                               0x8071
    01514 #define GL_TEXTURE_WRAP_R                              0x8072
    01515 #define GL_MAX_3D_TEXTURE_SIZE                         0x8073
    01516 #define GL_TEXTURE_BINDING_3D                          0x806A
    01517
    01518 GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start,
    01519            GLuint end, GLsizei count, GLenum type, const GLvoid *indices );
    01520
    01521 GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level,
    01522                                       GLint internalFormat,
    01523                                       GLsizei width, GLsizei height,
    01524                                       GLsizei depth, GLint border,
    01525                                       GLenum format, GLenum type,
    01526                                       const GLvoid *pixels );
    01527
    01528 GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level,
    01529                                          GLint xoffset, GLint yoffset,
    01530                                          GLint zoffset, GLsizei width,
    01531                                          GLsizei height, GLsizei depth,
    01532                                          GLenum format,
    01533                                          GLenum type, const GLvoid *pixels);
    01534
    01535 GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level,
    01536                                              GLint xoffset, GLint yoffset,
    01537                                              GLint zoffset, GLint x,
    01538                                              GLint y, GLsizei width,
    01539                                              GLsizei height );
    01540
    01541 typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
    01542 typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
    01543 typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
    01544 typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
    01545
    01546
    01547 /*
    01548  * GL_ARB_imaging
    01549  */
    01550
    01551 #define GL_CONSTANT_COLOR                              0x8001
    01552 #define GL_ONE_MINUS_CONSTANT_COLOR                    0x8002
    01553 #define GL_CONSTANT_ALPHA                              0x8003
    01554 #define GL_ONE_MINUS_CONSTANT_ALPHA                    0x8004
    01555 #define GL_COLOR_TABLE                                            0x80D0
    01556 #define GL_POST_CONVOLUTION_COLOR_TABLE                0x80D1
    01557 #define GL_POST_COLOR_MATRIX_COLOR_TABLE    0x80D2
    01558 #define GL_PROXY_COLOR_TABLE                           0x80D3
    01559 #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE          0x80D4
    01560 #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE         0x80D5
    01561 #define GL_COLOR_TABLE_SCALE                           0x80D6
    01562 #define GL_COLOR_TABLE_BIAS                            0x80D7
    01563 #define GL_COLOR_TABLE_FORMAT                          0x80D8
    01564 #define GL_COLOR_TABLE_WIDTH                           0x80D9
    01565 #define GL_COLOR_TABLE_RED_SIZE                        0x80DA
    01566 #define GL_COLOR_TABLE_GREEN_SIZE                      0x80DB
    01567 #define GL_COLOR_TABLE_BLUE_SIZE            0x80DC
    01568 #define GL_COLOR_TABLE_ALPHA_SIZE                      0x80DD
    01569 #define GL_COLOR_TABLE_LUMINANCE_SIZE                  0x80DE
    01570 #define GL_COLOR_TABLE_INTENSITY_SIZE                  0x80DF
    01571 #define GL_CONVOLUTION_1D                              0x8010
    01572 #define GL_CONVOLUTION_2D                              0x8011
    01573 #define GL_SEPARABLE_2D                                           0x8012
    01574 #define GL_CONVOLUTION_BORDER_MODE                     0x8013
    01575 #define GL_CONVOLUTION_FILTER_SCALE                    0x8014
    01576 #define GL_CONVOLUTION_FILTER_BIAS                     0x8015
    01577 #define GL_REDUCE                                      0x8016
    01578 #define GL_CONVOLUTION_FORMAT                          0x8017
    01579 #define GL_CONVOLUTION_WIDTH                           0x8018
    01580 #define GL_CONVOLUTION_HEIGHT                          0x8019
    01581 #define GL_MAX_CONVOLUTION_WIDTH            0x801A
    01582 #define GL_MAX_CONVOLUTION_HEIGHT                      0x801B
    01583 #define GL_POST_CONVOLUTION_RED_SCALE                  0x801C
    01584 #define GL_POST_CONVOLUTION_GREEN_SCALE                0x801D
    01585 #define GL_POST_CONVOLUTION_BLUE_SCALE                 0x801E
    01586 #define GL_POST_CONVOLUTION_ALPHA_SCALE                0x801F
    01587 #define GL_POST_CONVOLUTION_RED_BIAS                   0x8020
    01588 #define GL_POST_CONVOLUTION_GREEN_BIAS                 0x8021
    01589 #define GL_POST_CONVOLUTION_BLUE_BIAS                  0x8022
    01590 #define GL_POST_CONVOLUTION_ALPHA_BIAS                 0x8023
    01591 #define GL_CONSTANT_BORDER                             0x8151
    01592 #define GL_REPLICATE_BORDER                            0x8153
    01593 #define GL_CONVOLUTION_BORDER_COLOR                    0x8154
    01594 #define GL_COLOR_MATRIX                                           0x80B1
    01595 #define GL_COLOR_MATRIX_STACK_DEPTH                    0x80B2
    01596 #define GL_MAX_COLOR_MATRIX_STACK_DEPTH                0x80B3
    01597 #define GL_POST_COLOR_MATRIX_RED_SCALE                 0x80B4
    01598 #define GL_POST_COLOR_MATRIX_GREEN_SCALE    0x80B5
    01599 #define GL_POST_COLOR_MATRIX_BLUE_SCALE                0x80B6
    01600 #define GL_POST_COLOR_MATRIX_ALPHA_SCALE    0x80B7
    01601 #define GL_POST_COLOR_MATRIX_RED_BIAS                  0x80B8
    01602 #define GL_POST_COLOR_MATRIX_GREEN_BIAS                0x80B9
    01603 #define GL_POST_COLOR_MATRIX_BLUE_BIAS                 0x80BA
    01604 #define GL_POST_COLOR_MATRIX_ALPHA_BIAS                0x80BB
    01605 #define GL_HISTOGRAM                                   0x8024
    01606 #define GL_PROXY_HISTOGRAM                             0x8025
    01607 #define GL_HISTOGRAM_WIDTH                             0x8026
    01608 #define GL_HISTOGRAM_FORMAT                            0x8027
    01609 #define GL_HISTOGRAM_RED_SIZE                          0x8028
    01610 #define GL_HISTOGRAM_GREEN_SIZE                        0x8029
    01611 #define GL_HISTOGRAM_BLUE_SIZE                         0x802A
    01612 #define GL_HISTOGRAM_ALPHA_SIZE                        0x802B
    01613 #define GL_HISTOGRAM_LUMINANCE_SIZE                    0x802C
    01614 #define GL_HISTOGRAM_SINK                              0x802D
    01615 #define GL_MINMAX                                      0x802E
    01616 #define GL_MINMAX_FORMAT                               0x802F
    01617 #define GL_MINMAX_SINK                                            0x8030
    01618 #define GL_TABLE_TOO_LARGE                             0x8031
    01619 #define GL_BLEND_EQUATION                              0x8009
    01620 #define GL_MIN                                                    0x8007
    01621 #define GL_MAX                                                    0x8008
    01622 #define GL_FUNC_ADD                                    0x8006
    01623 #define GL_FUNC_SUBTRACT                               0x800A
    01624 #define GL_FUNC_REVERSE_SUBTRACT            0x800B
    01625 #define GL_BLEND_COLOR                                            0x8005
    01626
    01627
    01628 GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat,
    01629                                     GLsizei width, GLenum format,
    01630                                     GLenum type, const GLvoid *table );
    01631
    01632 GLAPI void GLAPIENTRY glColorSubTable( GLenum target,
    01633                                        GLsizei start, GLsizei count,
    01634                                        GLenum format, GLenum type,
    01635                                        const GLvoid *data );
    01636
    01637 GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname,
    01638                                               const GLint *params);
    01639
    01640 GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname,
    01641                                               const GLfloat *params);
    01642
    01643 GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start,
    01644                                            GLint x, GLint y, GLsizei width );
    01645
    01646 GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat,
    01647                                         GLint x, GLint y, GLsizei width );
    01648
    01649 GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format,
    01650                                        GLenum type, GLvoid *table );
    01651
    01652 GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname,
    01653                                                   GLfloat *params );
    01654
    01655 GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname,
    01656                                                   GLint *params );
    01657
    01658 GLAPI void GLAPIENTRY glBlendEquation( GLenum mode );
    01659
    01660 GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green,
    01661                                     GLclampf blue, GLclampf alpha );
    01662
    01663 GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width,
    01664                                                GLenum internalformat, GLboolean sink );
    01665
    01666 GLAPI void GLAPIENTRY glResetHistogram( GLenum target );
    01667
    01668 GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset,
    01669                                                   GLenum format, GLenum type,
    01670                                                   GLvoid *values );
    01671
    01672 GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname,
    01673                                                                    GLfloat *params );
    01674
    01675 GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname,
    01676                                                                    GLint *params );
    01677
    01678 GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat,
    01679                                             GLboolean sink );
    01680
    01681 GLAPI void GLAPIENTRY glResetMinmax( GLenum target );
    01682
    01683 GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset,
    01684                                    GLenum format, GLenum types,
    01685                                    GLvoid *values );
    01686
    01687 GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname,
    01688                                                              GLfloat *params );
    01689
    01690 GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname,
    01691                                                              GLint *params );
    01692
    01693 GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target,
    01694            GLenum internalformat, GLsizei width, GLenum format, GLenum type,
    01695            const GLvoid *image );
    01696
    01697 GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target,
    01698            GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
    01699            GLenum type, const GLvoid *image );
    01700
    01701 GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname,
    01702            GLfloat params );
    01703
    01704 GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname,
    01705            const GLfloat *params );
    01706
    01707 GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname,
    01708            GLint params );
    01709
    01710 GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname,
    01711            const GLint *params );
    01712
    01713 GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target,
    01714            GLenum internalformat, GLint x, GLint y, GLsizei width );
    01715
    01716 GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target,
    01717            GLenum internalformat, GLint x, GLint y, GLsizei width,
    01718            GLsizei height);
    01719
    01720 GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format,
    01721            GLenum type, GLvoid *image );
    01722
    01723 GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname,
    01724            GLfloat *params );
    01725
    01726 GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname,
    01727            GLint *params );
    01728
    01729 GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target,
    01730            GLenum internalformat, GLsizei width, GLsizei height, GLenum format,
    01731            GLenum type, const GLvoid *row, const GLvoid *column );
    01732
    01733 GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format,
    01734            GLenum type, GLvoid *row, GLvoid *column, GLvoid *span );
    01735
    01736 typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
    01737 typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
    01738 typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
    01739 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
    01740 typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
    01741 typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    01742 typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
    01743 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
    01744 typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
    01745 typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
    01746 typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
    01747 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
    01748 typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
    01749 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
    01750 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
    01751 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
    01752 typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
    01753 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
    01754 typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
    01755 typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
    01756 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
    01757 typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
    01758 typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
    01759 typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
    01760 typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
    01761 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
    01762 typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
    01763 typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
    01764 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
    01765 typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
    01766 typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
    01767 typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
    01768 typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
    01769 typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
    01770
    01771
    01772
    01773 /*
    01774  * OpenGL 1.3
    01775  */
    01776
    01777 /* multitexture */
    01778 #define GL_TEXTURE0                                    0x84C0
    01779 #define GL_TEXTURE1                                    0x84C1
    01780 #define GL_TEXTURE2                                    0x84C2
    01781 #define GL_TEXTURE3                                    0x84C3
    01782 #define GL_TEXTURE4                                    0x84C4
    01783 #define GL_TEXTURE5                                    0x84C5
    01784 #define GL_TEXTURE6                                    0x84C6
    01785 #define GL_TEXTURE7                                    0x84C7
    01786 #define GL_TEXTURE8                                    0x84C8
    01787 #define GL_TEXTURE9                                    0x84C9
    01788 #define GL_TEXTURE10                                   0x84CA
    01789 #define GL_TEXTURE11                                   0x84CB
    01790 #define GL_TEXTURE12                                   0x84CC
    01791 #define GL_TEXTURE13                                   0x84CD
    01792 #define GL_TEXTURE14                                   0x84CE
    01793 #define GL_TEXTURE15                                   0x84CF
    01794 #define GL_TEXTURE16                                   0x84D0
    01795 #define GL_TEXTURE17                                   0x84D1
    01796 #define GL_TEXTURE18                                   0x84D2
    01797 #define GL_TEXTURE19                                   0x84D3
    01798 #define GL_TEXTURE20                                   0x84D4
    01799 #define GL_TEXTURE21                                   0x84D5
    01800 #define GL_TEXTURE22                                   0x84D6
    01801 #define GL_TEXTURE23                                   0x84D7
    01802 #define GL_TEXTURE24                                   0x84D8
    01803 #define GL_TEXTURE25                                   0x84D9
    01804 #define GL_TEXTURE26                                   0x84DA
    01805 #define GL_TEXTURE27                                   0x84DB
    01806 #define GL_TEXTURE28                                   0x84DC
    01807 #define GL_TEXTURE29                                   0x84DD
    01808 #define GL_TEXTURE30                                   0x84DE
    01809 #define GL_TEXTURE31                                   0x84DF
    01810 #define GL_ACTIVE_TEXTURE                              0x84E0
    01811 #define GL_CLIENT_ACTIVE_TEXTURE            0x84E1
    01812 #define GL_MAX_TEXTURE_UNITS                           0x84E2
    01813 /* texture_cube_map */
    01814 #define GL_NORMAL_MAP                                  0x8511
    01815 #define GL_REFLECTION_MAP                              0x8512
    01816 #define GL_TEXTURE_CUBE_MAP                            0x8513
    01817 #define GL_TEXTURE_BINDING_CUBE_MAP                    0x8514
    01818 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X                 0x8515
    01819 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X                 0x8516
    01820 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y                 0x8517
    01821 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y                 0x8518
    01822 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z                 0x8519
    01823 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z                 0x851A
    01824 #define GL_PROXY_TEXTURE_CUBE_MAP                      0x851B
    01825 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE                   0x851C
    01826 /* texture_compression */
    01827 #define GL_COMPRESSED_ALPHA                            0x84E9
    01828 #define GL_COMPRESSED_LUMINANCE                        0x84EA
    01829 #define GL_COMPRESSED_LUMINANCE_ALPHA                  0x84EB
    01830 #define GL_COMPRESSED_INTENSITY                        0x84EC
    01831 #define GL_COMPRESSED_RGB                              0x84ED
    01832 #define GL_COMPRESSED_RGBA                             0x84EE
    01833 #define GL_TEXTURE_COMPRESSION_HINT                    0x84EF
    01834 #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE    0x86A0
    01835 #define GL_TEXTURE_COMPRESSED                          0x86A1
    01836 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS   0x86A2
    01837 #define GL_COMPRESSED_TEXTURE_FORMATS                  0x86A3
    01838 /* multisample */
    01839 #define GL_MULTISAMPLE                                            0x809D
    01840 #define GL_SAMPLE_ALPHA_TO_COVERAGE                    0x809E
    01841 #define GL_SAMPLE_ALPHA_TO_ONE                         0x809F
    01842 #define GL_SAMPLE_COVERAGE                             0x80A0
    01843 #define GL_SAMPLE_BUFFERS                              0x80A8
    01844 #define GL_SAMPLES                                     0x80A9
    01845 #define GL_SAMPLE_COVERAGE_VALUE            0x80AA
    01846 #define GL_SAMPLE_COVERAGE_INVERT                      0x80AB
    01847 #define GL_MULTISAMPLE_BIT                             0x20000000
    01848 /* transpose_matrix */
    01849 #define GL_TRANSPOSE_MODELVIEW_MATRIX                  0x84E3
    01850 #define GL_TRANSPOSE_PROJECTION_MATRIX                 0x84E4
    01851 #define GL_TRANSPOSE_TEXTURE_MATRIX                    0x84E5
    01852 #define GL_TRANSPOSE_COLOR_MATRIX                      0x84E6
    01853 /* texture_env_combine */
    01854 #define GL_COMBINE                                     0x8570
    01855 #define GL_COMBINE_RGB                                            0x8571
    01856 #define GL_COMBINE_ALPHA                               0x8572
    01857 #define GL_SOURCE0_RGB                                            0x8580
    01858 #define GL_SOURCE1_RGB                                            0x8581
    01859 #define GL_SOURCE2_RGB                                            0x8582
    01860 #define GL_SOURCE0_ALPHA                               0x8588
    01861 #define GL_SOURCE1_ALPHA                               0x8589
    01862 #define GL_SOURCE2_ALPHA                               0x858A
    01863 #define GL_OPERAND0_RGB                                           0x8590
    01864 #define GL_OPERAND1_RGB                                           0x8591
    01865 #define GL_OPERAND2_RGB                                           0x8592
    01866 #define GL_OPERAND0_ALPHA                              0x8598
    01867 #define GL_OPERAND1_ALPHA                              0x8599
    01868 #define GL_OPERAND2_ALPHA                              0x859A
    01869 #define GL_RGB_SCALE                                   0x8573
    01870 #define GL_ADD_SIGNED                                  0x8574
    01871 #define GL_INTERPOLATE                                            0x8575
    01872 #define GL_SUBTRACT                                    0x84E7
    01873 #define GL_CONSTANT                                    0x8576
    01874 #define GL_PRIMARY_COLOR                               0x8577
    01875 #define GL_PREVIOUS                                    0x8578
    01876 /* texture_env_dot3 */
    01877 #define GL_DOT3_RGB                                    0x86AE
    01878 #define GL_DOT3_RGBA                                   0x86AF
    01879 /* texture_border_clamp */
    01880 #define GL_CLAMP_TO_BORDER                             0x812D
    01881
    01882 GLAPI void GLAPIENTRY glActiveTexture( GLenum texture );
    01883
    01884 GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture );
    01885
    01886 GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data );
    01887
    01888 GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data );
    01889
    01890 GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data );
    01891
    01892 GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data );
    01893
    01894 GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data );
    01895
    01896 GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data );
    01897
    01898 GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img );
    01899
    01900 GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s );
    01901
    01902 GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v );
    01903
    01904 GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s );
    01905
    01906 GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v );
    01907
    01908 GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s );
    01909
    01910 GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v );
    01911
    01912 GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s );
    01913
    01914 GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v );
    01915
    01916 GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t );
    01917
    01918 GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v );
    01919
    01920 GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t );
    01921
    01922 GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v );
    01923
    01924 GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t );
    01925
    01926 GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v );
    01927
    01928 GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t );
    01929
    01930 GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v );
    01931
    01932 GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r );
    01933
    01934 GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v );
    01935
    01936 GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r );
    01937
    01938 GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v );
    01939
    01940 GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r );
    01941
    01942 GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v );
    01943
    01944 GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r );
    01945
    01946 GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v );
    01947
    01948 GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q );
    01949
    01950 GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v );
    01951
    01952 GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q );
    01953
    01954 GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v );
    01955
    01956 GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q );
    01957
    01958 GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v );
    01959
    01960 GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q );
    01961
    01962 GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v );
    01963
    01964
    01965 GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] );
    01966
    01967 GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] );
    01968
    01969 GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] );
    01970
    01971 GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] );
    01972
    01973 GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert );
    01974
    01975 typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
    01976 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
    01977 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
    01978 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
    01979 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
    01980 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
    01981 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
    01982 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
    01983 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
    01984 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
    01985 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
    01986 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
    01987 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
    01988 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
    01989 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
    01990 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
    01991 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
    01992 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
    01993 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    01994 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
    01995 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    01996 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
    01997 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
    01998 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
    01999 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
    02000 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
    02001 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    02002 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
    02003 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    02004 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
    02005 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
    02006 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
    02007 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    02008 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
    02009 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
    02010 typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
    02011 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
    02012 typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
    02013 typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
    02014 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
    02015 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
    02016 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
    02017 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
    02018 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
    02019 typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
    02020 typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
    02021
    02022
    02023 /*
    02024  * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1)
    02025  */
    02026 #ifndef GL_ARB_multitexture
    02027 #define GL_ARB_multitexture 1
    02028
    02029 #define GL_TEXTURE0_ARB                                           0x84C0
    02030 #define GL_TEXTURE1_ARB                                           0x84C1
    02031 #define GL_TEXTURE2_ARB                                           0x84C2
    02032 #define GL_TEXTURE3_ARB                                           0x84C3
    02033 #define GL_TEXTURE4_ARB                                           0x84C4
    02034 #define GL_TEXTURE5_ARB                                           0x84C5
    02035 #define GL_TEXTURE6_ARB                                           0x84C6
    02036 #define GL_TEXTURE7_ARB                                           0x84C7
    02037 #define GL_TEXTURE8_ARB                                           0x84C8
    02038 #define GL_TEXTURE9_ARB                                           0x84C9
    02039 #define GL_TEXTURE10_ARB                               0x84CA
    02040 #define GL_TEXTURE11_ARB                               0x84CB
    02041 #define GL_TEXTURE12_ARB                               0x84CC
    02042 #define GL_TEXTURE13_ARB                               0x84CD
    02043 #define GL_TEXTURE14_ARB                               0x84CE
    02044 #define GL_TEXTURE15_ARB                               0x84CF
    02045 #define GL_TEXTURE16_ARB                               0x84D0
    02046 #define GL_TEXTURE17_ARB                               0x84D1
    02047 #define GL_TEXTURE18_ARB                               0x84D2
    02048 #define GL_TEXTURE19_ARB                               0x84D3
    02049 #define GL_TEXTURE20_ARB                               0x84D4
    02050 #define GL_TEXTURE21_ARB                               0x84D5
    02051 #define GL_TEXTURE22_ARB                               0x84D6
    02052 #define GL_TEXTURE23_ARB                               0x84D7
    02053 #define GL_TEXTURE24_ARB                               0x84D8
    02054 #define GL_TEXTURE25_ARB                               0x84D9
    02055 #define GL_TEXTURE26_ARB                               0x84DA
    02056 #define GL_TEXTURE27_ARB                               0x84DB
    02057 #define GL_TEXTURE28_ARB                               0x84DC
    02058 #define GL_TEXTURE29_ARB                               0x84DD
    02059 #define GL_TEXTURE30_ARB                               0x84DE
    02060 #define GL_TEXTURE31_ARB                               0x84DF
    02061 #define GL_ACTIVE_TEXTURE_ARB                          0x84E0
    02062 #define GL_CLIENT_ACTIVE_TEXTURE_ARB                   0x84E1
    02063 #define GL_MAX_TEXTURE_UNITS_ARB            0x84E2
    02064
    02065 GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture);
    02066 GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture);
    02067 GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s);
    02068 GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v);
    02069 GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s);
    02070 GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v);
    02071 GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s);
    02072 GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v);
    02073 GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s);
    02074 GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v);
    02075 GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
    02076 GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v);
    02077 GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
    02078 GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v);
    02079 GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t);
    02080 GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v);
    02081 GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
    02082 GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v);
    02083 GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
    02084 GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v);
    02085 GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
    02086 GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v);
    02087 GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
    02088 GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v);
    02089 GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
    02090 GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v);
    02091 GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    02092 GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v);
    02093 GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    02094 GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v);
    02095 GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
    02096 GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v);
    02097 GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    02098 GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v);
    02099
    02100 typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
    02101 typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
    02102 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
    02103 typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
    02104 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
    02105 typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
    02106 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
    02107 typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
    02108 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
    02109 typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
    02110 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
    02111 typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
    02112 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
    02113 typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
    02114 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
    02115 typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
    02116 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
    02117 typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
    02118 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
    02119 typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
    02120 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
    02121 typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
    02122 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
    02123 typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
    02124 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
    02125 typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
    02126 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
    02127 typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
    02128 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
    02129 typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
    02130 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
    02131 typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
    02132 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
    02133 typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
    02134
    02135 #endif /* GL_ARB_multitexture */
    02136
    02137
    02138
    02139 /*
    02140  * Define this token if you want "old-style" header file behaviour (extensions
    02141  * defined in gl.h).  Otherwise, extensions will be included from glext.h.
    02142  */
    02143 #if defined(GL_GLEXT_LEGACY)
    02144
    02145 /* All extensions that used to be here are now found in glext.h */
    02146
    02147 #else  /* GL_GLEXT_LEGACY */
    02148
    02149 #include <GL/glext.h>
    02150
    02151 #endif  /* GL_GLEXT_LEGACY */
    02152
    02153
    02154
    02155 /*
    02156  * ???. GL_MESA_trace
    02157  * XXX obsolete
    02158  */
    02159 #ifndef GL_MESA_trace
    02160 #define GL_MESA_trace 1
    02161
    02162 #define GL_TRACE_ALL_BITS_MESA                         0xFFFF
    02163 #define GL_TRACE_OPERATIONS_BIT_MESA                   0x0001
    02164 #define GL_TRACE_PRIMITIVES_BIT_MESA                   0x0002
    02165 #define GL_TRACE_ARRAYS_BIT_MESA            0x0004
    02166 #define GL_TRACE_TEXTURES_BIT_MESA                     0x0008
    02167 #define GL_TRACE_PIXELS_BIT_MESA            0x0010
    02168 #define GL_TRACE_ERRORS_BIT_MESA            0x0020
    02169 #define GL_TRACE_MASK_MESA                             0x8755
    02170 #define GL_TRACE_NAME_MESA                             0x8756
    02171
    02172 GLAPI void GLAPIENTRY glEnableTraceMESA( GLbitfield mask );
    02173 GLAPI void GLAPIENTRY glDisableTraceMESA( GLbitfield mask );
    02174 GLAPI void GLAPIENTRY glNewTraceMESA( GLbitfield mask, const GLubyte * traceName );
    02175 GLAPI void GLAPIENTRY glEndTraceMESA( void );
    02176 GLAPI void GLAPIENTRY glTraceAssertAttribMESA( GLbitfield attribMask );
    02177 GLAPI void GLAPIENTRY glTraceCommentMESA( const GLubyte * comment );
    02178 GLAPI void GLAPIENTRY glTraceTextureMESA( GLuint name, const GLubyte* comment );
    02179 GLAPI void GLAPIENTRY glTraceListMESA( GLuint name, const GLubyte* comment );
    02180 GLAPI void GLAPIENTRY glTracePointerMESA( GLvoid* pointer, const GLubyte* comment );
    02181 GLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid* last, const GLubyte* comment );
    02182
    02183 #endif /* GL_MESA_trace */
    02184
    02185
    02186 /*
    02187  * ???. GL_MESA_packed_depth_stencil
    02188  * XXX obsolete
    02189  */
    02190 #ifndef GL_MESA_packed_depth_stencil
    02191 #define GL_MESA_packed_depth_stencil 1
    02192
    02193 #define GL_DEPTH_STENCIL_MESA                          0x8750
    02194 #define GL_UNSIGNED_INT_24_8_MESA                      0x8751
    02195 #define GL_UNSIGNED_INT_8_24_REV_MESA                  0x8752
    02196 #define GL_UNSIGNED_SHORT_15_1_MESA                    0x8753
    02197 #define GL_UNSIGNED_SHORT_1_15_REV_MESA                0x8754
    02198
    02199 #endif /* GL_MESA_packed_depth_stencil */
    02200
    02201
    02202 #ifndef GL_MESA_program_debug
    02203 #define GL_MESA_program_debug 1
    02204
    02205 #define GL_FRAGMENT_PROGRAM_POSITION_MESA       0x8bb0
    02206 #define GL_FRAGMENT_PROGRAM_CALLBACK_MESA       0x8bb1
    02207 #define GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA  0x8bb2
    02208 #define GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA  0x8bb3
    02209 #define GL_VERTEX_PROGRAM_POSITION_MESA         0x8bb4
    02210 #define GL_VERTEX_PROGRAM_CALLBACK_MESA         0x8bb5
    02211 #define GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA    0x8bb6
    02212 #define GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA    0x8bb7
    02213
    02214 typedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data);
    02215
    02216 GLAPI void GLAPIENTRY glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data);
    02217
    02218 GLAPI void GLAPIENTRY glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v);
    02219
    02220 #endif /* GL_MESA_program_debug */
    02221
    02222
    02223 #ifndef GL_ATI_blend_equation_separate
    02224 #define GL_ATI_blend_equation_separate 1
    02225
    02226 #define GL_ALPHA_BLEND_EQUATION_ATI                 0x883D
    02227
    02228 GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA );
    02229 typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA);
    02230
    02231 #endif /* GL_ATI_blend_equation_separate */
    02232
    02233
    02234
    02235 #ifndef GL_EXT_timer_query
    02236 #define GL_EXT_timer_query 1
    02237
    02238 /* Define 64-bit types */
    02239 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
    02240    typedef long long int GLint64EXT;
    02241    typedef unsigned long long int GLuint64EXT;
    02242 #elif defined(_WIN32)
    02243    typedef __int64 GLint64EXT;
    02244    typedef unsigned __int64 GLuint64EXT;
    02245 #else
    02246    /* this might actually be a 32-bit type */
    02247    typedef long int GLint64EXT;
    02248    typedef unsigned long int GLuint64EXT;
    02249 #endif
    02250
    02251 #define GL_TIME_ELAPSED_EXT  0x88BF
    02252
    02253 GLAPI void GLAPIENTRY glGetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64EXT *params);
    02254 GLAPI void GLAPIENTRY glGetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64EXT *params);
    02255
    02256 typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
    02257 typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
    02258
    02259 #endif /* GL_EXT_timer_query */
    02260
    02261
    02262
    02263 #ifndef GL_EXT_framebuffer_blit
    02264 #define GL_EXT_framebuffer_blit 1
    02265
    02266 #define GL_READ_FRAMEBUFFER_EXT                0x8CA8
    02267 #define GL_DRAW_FRAMEBUFFER_EXT                0x8CA9
    02268 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT        0x8CA6
    02269 #define GL_READ_FRAMEBUFFER_BINDING_EXT        0x8CAA
    02270
    02271 GLAPI void GLAPIENTRY
    02272 glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
    02273                      GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
    02274                      GLbitfield mask, GLenum filter);
    02275
    02276 typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC)
    02277         (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
    02278          GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
    02279          GLbitfield mask, GLenum filter);
    02280
    02281 #endif /* GL_EXT_framebuffer_blit */
    02282
    02283
    02284
    02285 #ifndef GL_EXT_packed_depth_stencil
    02286 #define GL_EXT_packed_depth_stencil 1
    02287
    02288 #define GL_DEPTH_STENCIL_EXT          0x84F9
    02289 #define GL_UNSIGNED_INT_24_8_EXT      0x84FA
    02290 #define GL_DEPTH24_STENCIL8_EXT       0x88F0
    02291 #define GL_TEXTURE_STENCIL_SIZE_EXT   0x88F1
    02292
    02293 #endif /* GL_EXT_packed_depth_stencil */
    02294
    02295
    02304 /**********************************************************************
    02305  * Begin system-specific stuff
    02306  */
    02307 #if defined(PRAGMA_EXPORT_SUPPORTED)
    02308 #pragma export off
    02309 #endif
    02310
    02311 #if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED
    02312 #pragma import off
    02313 #endif
    02314 /*
    02315  * End system-specific stuff
    02316  **********************************************************************/
    02317
    02318
    02319 #ifdef __cplusplus
    02320 }
    02321 #endif
    02322
    02323 #endif /* __gl_h_ */

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines