opengl1_defines.h

Go to the documentation of this file.
00001 /*
00002 **  ClanLib SDK
00003 **  Copyright (c) 1997-2011 The ClanLib Team
00004 **
00005 **  This software is provided 'as-is', without any express or implied
00006 **  warranty.  In no event will the authors be held liable for any damages
00007 **  arising from the use of this software.
00008 **
00009 **  Permission is granted to anyone to use this software for any purpose,
00010 **  including commercial applications, and to alter it and redistribute it
00011 **  freely, subject to the following restrictions:
00012 **
00013 **  1. The origin of this software must not be misrepresented; you must not
00014 **     claim that you wrote the original software. If you use this software
00015 **     in a product, an acknowledgment in the product documentation would be
00016 **     appreciated but is not required.
00017 **  2. Altered source versions must be plainly marked as such, and must not be
00018 **     misrepresented as being the original software.
00019 **  3. This notice may not be removed or altered from any source distribution.
00020 **
00021 **  Note: Some of the libraries ClanLib may link to may have additional
00022 **  requirements or restrictions.
00023 **
00024 **  File Author(s):
00025 **
00026 **    Magnus Norddahl
00027 */
00028 
00031 
00032 #pragma once
00033 #include "api_gl1.h"
00034 
00035 #include "../Core/System/cl_platform.h"
00036 
00037 #ifdef __APPLE__
00038 #include <OpenGLES/ES2/gl.h>
00039 #include <OpenGLES/ES2/glext.h>
00040 #else
00041 #include <GL/gl.h>
00042 #endif
00043 
00044 #ifndef CL_DISPLAYDEFINES_DEFINES
00045 #define CL_DISPLAYDEFINES_DEFINES
00046 
00047 #include <cstddef>
00048 
00049 #ifndef __APPLE__
00050 // Win32 and linux
00051 typedef unsigned int GLenum;
00052 typedef unsigned char GLboolean;
00053 typedef unsigned int GLbitfield;
00054 typedef signed char GLbyte;
00055 typedef short GLshort;
00056 typedef int GLint;
00057 typedef int GLsizei;
00058 typedef unsigned char GLubyte;
00059 typedef unsigned short GLushort;
00060 typedef unsigned int GLuint;
00061 typedef float GLfloat;
00062 typedef float GLclampf;
00063 typedef double GLdouble;
00064 typedef double GLclampd;
00065 typedef void GLvoid;
00066 typedef char GLchar;
00067 typedef ptrdiff_t GLintptr;
00068 typedef ptrdiff_t GLsizeiptr;
00069 
00070 #else
00071 typedef unsigned long GLenum;
00072 typedef unsigned char GLboolean;
00073 typedef unsigned long GLbitfield;
00074 typedef signed char GLbyte;
00075 typedef short GLshort;
00076 typedef long GLint;
00077 typedef long GLsizei;
00078 typedef unsigned char GLubyte;
00079 typedef unsigned short GLushort;
00080 typedef unsigned long GLuint;
00081 typedef float GLfloat;
00082 typedef float GLclampf;
00083 typedef double GLdouble;
00084 typedef double GLclampd;
00085 typedef void GLvoid;
00086 typedef char GLchar;
00087 typedef ptrdiff_t GLintptr;
00088 typedef ptrdiff_t GLsizeiptr;
00089 #endif
00090 
00094 enum CL_DisplayDefines
00095 {
00096         // AccumOp:
00097 #ifndef GL_ACCUM
00098         GL_ACCUM                          = 0x0100,
00099         GL_LOAD                           = 0x0101,
00100         GL_RETURN                         = 0x0102,
00101         GL_MULT                           = 0x0103,
00102         GL_ADD                            = 0x0104,
00103 #endif
00104         // AlphaFunction:
00105 
00106 #ifndef GL_NEVER
00107         GL_NEVER                          = 0x0200,
00108         GL_LESS                           = 0x0201,
00109         GL_EQUAL                          = 0x0202,
00110         GL_LEQUAL                         = 0x0203,
00111         GL_GREATER                        = 0x0204,
00112         GL_NOTEQUAL                       = 0x0205,
00113         GL_GEQUAL                         = 0x0206,
00114         GL_ALWAYS                         = 0x0207,
00115 #endif
00116         // AttribMask:
00117 
00118 #ifndef GL_CURRENT_BIT
00119         GL_CURRENT_BIT                    = 0x00000001,
00120         GL_POINT_BIT                      = 0x00000002,
00121         GL_LINE_BIT                       = 0x00000004,
00122         GL_POLYGON_BIT                    = 0x00000008,
00123         GL_POLYGON_STIPPLE_BIT            = 0x00000010,
00124         GL_PIXEL_MODE_BIT                 = 0x00000020,
00125         GL_LIGHTING_BIT                   = 0x00000040,
00126         GL_FOG_BIT                        = 0x00000080,
00127         GL_DEPTH_BUFFER_BIT               = 0x00000100,
00128         GL_ACCUM_BUFFER_BIT               = 0x00000200,
00129         GL_STENCIL_BUFFER_BIT             = 0x00000400,
00130         GL_VIEWPORT_BIT                   = 0x00000800,
00131         GL_TRANSFORM_BIT                  = 0x00001000,
00132         GL_ENABLE_BIT                     = 0x00002000,
00133         GL_COLOR_BUFFER_BIT               = 0x00004000,
00134         GL_HINT_BIT                       = 0x00008000,
00135         GL_EVAL_BIT                       = 0x00010000,
00136         GL_LIST_BIT                       = 0x00020000,
00137         GL_TEXTURE_BIT                    = 0x00040000,
00138         GL_SCISSOR_BIT                    = 0x00080000,
00139         GL_ALL_ATTRIB_BITS                = 0x000fffff,
00140 #endif
00141         // BeginMode:
00142 #ifndef GL_POINTS
00143         GL_POINTS                         = 0x0000,
00144         GL_LINES                          = 0x0001,
00145         GL_LINE_LOOP                      = 0x0002,
00146         GL_LINE_STRIP                     = 0x0003,
00147         GL_TRIANGLES                      = 0x0004,
00148         GL_TRIANGLE_STRIP                 = 0x0005,
00149         GL_TRIANGLE_FAN                   = 0x0006,
00150         GL_QUADS                          = 0x0007,
00151         GL_QUAD_STRIP                     = 0x0008,
00152         GL_POLYGON                        = 0x0009,
00153 #endif
00154         // BlendEquationMode:
00155 
00156 #ifndef GL_LOGIC_OP
00157         GL_LOGIC_OP                       = 0x0BF1,
00158 #endif
00159         // BlendingFactorDest:
00160 
00161 #ifndef GL_ZERO
00162         GL_ZERO                           = 0,
00163         GL_ONE                            = 1,
00164         GL_SRC_COLOR                      = 0x0300,
00165         GL_ONE_MINUS_SRC_COLOR            = 0x0301,
00166         GL_SRC_ALPHA                      = 0x0302,
00167         GL_ONE_MINUS_SRC_ALPHA            = 0x0303,
00168         GL_DST_ALPHA                      = 0x0304,
00169         GL_ONE_MINUS_DST_ALPHA            = 0x0305,
00170 #endif
00171         // BlendingFactorSrc:
00172 
00173 #ifndef GL_DST_COLOR
00174         GL_DST_COLOR                      = 0x0306,
00175         GL_ONE_MINUS_DST_COLOR            = 0x0307,
00176         GL_SRC_ALPHA_SATURATE             = 0x0308,
00177 #endif
00178         // Boolean:
00179 
00180 #ifndef GL_TRUE
00181         GL_TRUE                           = 1,
00182         GL_FALSE                          = 0,
00183 #endif
00184         // ClipPlaneName:
00185 
00186 #ifndef GL_CLIP_PLANE0
00187         GL_CLIP_PLANE0                    = 0x3000,
00188         GL_CLIP_PLANE1                    = 0x3001,
00189         GL_CLIP_PLANE2                    = 0x3002,
00190         GL_CLIP_PLANE3                    = 0x3003,
00191         GL_CLIP_PLANE4                    = 0x3004,
00192         GL_CLIP_PLANE5                    = 0x3005,
00193 #endif
00194         // DataType:
00195 
00196 #ifndef GL_BYTE
00197         GL_BYTE                           = 0x1400,
00198         GL_UNSIGNED_BYTE                  = 0x1401,
00199         GL_SHORT                          = 0x1402,
00200         GL_UNSIGNED_SHORT                 = 0x1403,
00201         GL_INT                            = 0x1404,
00202         GL_UNSIGNED_INT                   = 0x1405,
00203         GL_FLOAT                          = 0x1406,
00204         GL_2_BYTES                        = 0x1407,
00205         GL_3_BYTES                        = 0x1408,
00206         GL_4_BYTES                        = 0x1409,
00207         GL_DOUBLE                         = 0x140A,
00208 #endif
00209         // DrawBufferMode:
00210 
00211 #ifndef GL_NONE
00212         GL_NONE                           = 0,
00213         GL_FRONT_LEFT                     = 0x0400,
00214         GL_FRONT_RIGHT                    = 0x0401,
00215         GL_BACK_LEFT                      = 0x0402,
00216         GL_BACK_RIGHT                     = 0x0403,
00217         GL_FRONT                          = 0x0404,
00218         GL_BACK                           = 0x0405,
00219         GL_LEFT                           = 0x0406,
00220         GL_RIGHT                          = 0x0407,
00221         GL_FRONT_AND_BACK                 = 0x0408,
00222         GL_AUX0                           = 0x0409,
00223         GL_AUX1                           = 0x040A,
00224         GL_AUX2                           = 0x040B,
00225         GL_AUX3                           = 0x040C,
00226 #endif
00227         // ErrorCode:
00228 
00229 #ifndef GL_NO_ERROR
00230         GL_NO_ERROR                     = 0,
00231         GL_INVALID_ENUM                 = 0x0500,
00232         GL_INVALID_VALUE                = 0x0501,
00233         GL_INVALID_OPERATION            = 0x0502,
00234         GL_STACK_OVERFLOW               = 0x0503,
00235         GL_STACK_UNDERFLOW              = 0x0504,
00236         GL_OUT_OF_MEMORY                = 0x0505,
00237         // GL_TABLE_TOO_LARGE
00238 #endif
00239 
00240         // FeedBackMode:
00241 #ifndef GL_2D
00242         GL_2D                           = 0x0600,
00243         GL_3D                           = 0x0601,
00244         GL_3D_COLOR                     = 0x0602,
00245         GL_3D_COLOR_TEXTURE             = 0x0603,
00246         GL_4D_COLOR_TEXTURE             = 0x0604,
00247 #endif
00248         // FeedBackToken:
00249 
00250 #ifndef GL_PASS_THROUGH_TOKEN
00251         GL_PASS_THROUGH_TOKEN           = 0x0700,
00252         GL_POINT_TOKEN                  = 0x0701,
00253         GL_LINE_TOKEN                   = 0x0702,
00254         GL_POLYGON_TOKEN                = 0x0703,
00255         GL_BITMAP_TOKEN                 = 0x0704,
00256         GL_DRAW_PIXEL_TOKEN             = 0x0705,
00257         GL_COPY_PIXEL_TOKEN             = 0x0706,
00258         GL_LINE_RESET_TOKEN             = 0x0707,
00259 #endif
00260         // FogMode:
00261 
00262         // GL_LINEAR
00263 #ifndef GL_EXP
00264         GL_EXP                          = 0x0800,
00265         GL_EXP2                         = 0x0801,
00266 #endif
00267         // FrontFaceDirection:
00268 
00269 #ifndef GL_CW
00270         GL_CW                           = 0x0900,
00271         GL_CCW                          = 0x0901,
00272 #endif
00273         // GetMapTarget:
00274 
00275 #ifndef GL_COEFF
00276         GL_COEFF                        = 0x0A00,
00277         GL_ORDER                        = 0x0A01,
00278         GL_DOMAIN                       = 0x0A02,
00279 #endif
00280         // GetTarget:
00281 
00282 #ifndef GL_CURRENT_COLOR
00283         GL_CURRENT_COLOR                = 0x0B00,
00284         GL_CURRENT_INDEX                = 0x0B01,
00285         GL_CURRENT_NORMAL               = 0x0B02,
00286         GL_CURRENT_TEXTURE_COORDS       = 0x0B03,
00287         GL_CURRENT_RASTER_COLOR         = 0x0B04,
00288         GL_CURRENT_RASTER_INDEX         = 0x0B05,
00289         GL_CURRENT_RASTER_TEXTURE_COORDS= 0x0B06,
00290         GL_CURRENT_RASTER_POSITION      = 0x0B07,
00291         GL_CURRENT_RASTER_POSITION_VALID= 0x0B08,
00292         GL_CURRENT_RASTER_DISTANCE      = 0x0B09,
00293         GL_POINT_SMOOTH                 = 0x0B10,
00294         GL_POINT_SIZE                   = 0x0B11,
00295         GL_POINT_SIZE_RANGE             = 0x0B12,
00296         GL_POINT_SIZE_GRANULARITY       = 0x0B13,
00297         GL_LINE_SMOOTH                  = 0x0B20,
00298         GL_LINE_WIDTH                   = 0x0B21,
00299         GL_LINE_WIDTH_RANGE             = 0x0B22,
00300         GL_LINE_WIDTH_GRANULARITY       = 0x0B23,
00301         GL_LINE_STIPPLE                 = 0x0B24,
00302         GL_LINE_STIPPLE_PATTERN         = 0x0B25,
00303         GL_LINE_STIPPLE_REPEAT          = 0x0B26,
00304         GL_LIST_MODE                    = 0x0B30,
00305         GL_MAX_LIST_NESTING             = 0x0B31,
00306         GL_LIST_BASE                    = 0x0B32,
00307         GL_LIST_INDEX                   = 0x0B33,
00308         GL_POLYGON_MODE                 = 0x0B40,
00309         GL_POLYGON_SMOOTH               = 0x0B41,
00310         GL_POLYGON_STIPPLE              = 0x0B42,
00311         GL_EDGE_FLAG                    = 0x0B43,
00312         GL_CULL_FACE                    = 0x0B44,
00313         GL_CULL_FACE_MODE               = 0x0B45,
00314         GL_FRONT_FACE                   = 0x0B46,
00315         GL_LIGHTING                     = 0x0B50,
00316         GL_LIGHT_MODEL_LOCAL_VIEWER     = 0x0B51,
00317         GL_LIGHT_MODEL_TWO_SIDE         = 0x0B52,
00318         GL_LIGHT_MODEL_AMBIENT          = 0x0B53,
00319         GL_SHADE_MODEL                  = 0x0B54,
00320         GL_COLOR_MATERIAL_FACE          = 0x0B55,
00321         GL_COLOR_MATERIAL_PARAMETER     = 0x0B56,
00322         GL_COLOR_MATERIAL               = 0x0B57,
00323         GL_FOG                          = 0x0B60,
00324         GL_FOG_INDEX                    = 0x0B61,
00325         GL_FOG_DENSITY                  = 0x0B62,
00326         GL_FOG_START                    = 0x0B63,
00327         GL_FOG_END                      = 0x0B64,
00328         GL_FOG_MODE                     = 0x0B65,
00329         GL_FOG_COLOR                    = 0x0B66,
00330         GL_DEPTH_RANGE                  = 0x0B70,
00331         GL_DEPTH_TEST                   = 0x0B71,
00332         GL_DEPTH_WRITEMASK              = 0x0B72,
00333         GL_DEPTH_CLEAR_VALUE            = 0x0B73,
00334         GL_DEPTH_FUNC                   = 0x0B74,
00335         GL_ACCUM_CLEAR_VALUE            = 0x0B80,
00336         GL_STENCIL_TEST                 = 0x0B90,
00337         GL_STENCIL_CLEAR_VALUE          = 0x0B91,
00338         GL_STENCIL_FUNC                 = 0x0B92,
00339         GL_STENCIL_VALUE_MASK           = 0x0B93,
00340         GL_STENCIL_FAIL                 = 0x0B94,
00341         GL_STENCIL_PASS_DEPTH_FAIL      = 0x0B95,
00342         GL_STENCIL_PASS_DEPTH_PASS      = 0x0B96,
00343         GL_STENCIL_REF                  = 0x0B97,
00344         GL_STENCIL_WRITEMASK            = 0x0B98,
00345         GL_MATRIX_MODE                  = 0x0BA0,
00346         GL_NORMALIZE                    = 0x0BA1,
00347         GL_VIEWPORT                     = 0x0BA2,
00348         GL_MODELVIEW_STACK_DEPTH        = 0x0BA3,
00349         GL_PROJECTION_STACK_DEPTH       = 0x0BA4,
00350         GL_TEXTURE_STACK_DEPTH          = 0x0BA5,
00351         GL_MODELVIEW_MATRIX             = 0x0BA6,
00352         GL_PROJECTION_MATRIX            = 0x0BA7,
00353         GL_TEXTURE_MATRIX               = 0x0BA8,
00354         GL_ATTRIB_STACK_DEPTH           = 0x0BB0,
00355         GL_CLIENT_ATTRIB_STACK_DEPTH    = 0x0BB1,
00356         GL_ALPHA_TEST                   = 0x0BC0,
00357         GL_ALPHA_TEST_FUNC              = 0x0BC1,
00358         GL_ALPHA_TEST_REF               = 0x0BC2,
00359         GL_DITHER                       = 0x0BD0,
00360         GL_BLEND_DST                    = 0x0BE0,
00361         GL_BLEND_SRC                    = 0x0BE1,
00362         GL_BLEND                        = 0x0BE2,
00363         GL_LOGIC_OP_MODE                = 0x0BF0,
00364         GL_INDEX_LOGIC_OP               = 0x0BF1,
00365         GL_COLOR_LOGIC_OP               = 0x0BF2,
00366         GL_AUX_BUFFERS                  = 0x0C00,
00367         GL_DRAW_BUFFER                  = 0x0C01,
00368         GL_READ_BUFFER                  = 0x0C02,
00369         GL_SCISSOR_BOX                  = 0x0C10,
00370         GL_SCISSOR_TEST                 = 0x0C11,
00371         GL_INDEX_CLEAR_VALUE            = 0x0C20,
00372         GL_INDEX_WRITEMASK              = 0x0C21,
00373         GL_COLOR_CLEAR_VALUE            = 0x0C22,
00374         GL_COLOR_WRITEMASK              = 0x0C23,
00375         GL_INDEX_MODE                   = 0x0C30,
00376         GL_RGBA_MODE                    = 0x0C31,
00377         GL_DOUBLEBUFFER                 = 0x0C32,
00378         GL_STEREO                       = 0x0C33,
00379         GL_RENDER_MODE                  = 0x0C40,
00380         GL_PERSPECTIVE_CORRECTION_HINT  = 0x0C50,
00381         GL_POINT_SMOOTH_HINT            = 0x0C51,
00382         GL_LINE_SMOOTH_HINT             = 0x0C52,
00383         GL_POLYGON_SMOOTH_HINT          = 0x0C53,
00384         GL_FOG_HINT                     = 0x0C54,
00385         GL_TEXTURE_GEN_S                = 0x0C60,
00386         GL_TEXTURE_GEN_T                = 0x0C61,
00387         GL_TEXTURE_GEN_R                = 0x0C62,
00388         GL_TEXTURE_GEN_Q                = 0x0C63,
00389         GL_PIXEL_MAP_I_TO_I             = 0x0C70,
00390         GL_PIXEL_MAP_S_TO_S             = 0x0C71,
00391         GL_PIXEL_MAP_I_TO_R             = 0x0C72,
00392         GL_PIXEL_MAP_I_TO_G             = 0x0C73,
00393         GL_PIXEL_MAP_I_TO_B             = 0x0C74,
00394         GL_PIXEL_MAP_I_TO_A             = 0x0C75,
00395         GL_PIXEL_MAP_R_TO_R             = 0x0C76,
00396         GL_PIXEL_MAP_G_TO_G             = 0x0C77,
00397         GL_PIXEL_MAP_B_TO_B             = 0x0C78,
00398         GL_PIXEL_MAP_A_TO_A             = 0x0C79,
00399         GL_PIXEL_MAP_I_TO_I_SIZE        = 0x0CB0,
00400         GL_PIXEL_MAP_S_TO_S_SIZE        = 0x0CB1,
00401         GL_PIXEL_MAP_I_TO_R_SIZE        = 0x0CB2,
00402         GL_PIXEL_MAP_I_TO_G_SIZE        = 0x0CB3,
00403         GL_PIXEL_MAP_I_TO_B_SIZE        = 0x0CB4,
00404         GL_PIXEL_MAP_I_TO_A_SIZE        = 0x0CB5,
00405         GL_PIXEL_MAP_R_TO_R_SIZE        = 0x0CB6,
00406         GL_PIXEL_MAP_G_TO_G_SIZE        = 0x0CB7,
00407         GL_PIXEL_MAP_B_TO_B_SIZE        = 0x0CB8,
00408         GL_PIXEL_MAP_A_TO_A_SIZE        = 0x0CB9,
00409         GL_UNPACK_SWAP_BYTES            = 0x0CF0,
00410         GL_UNPACK_LSB_FIRST             = 0x0CF1,
00411         GL_UNPACK_ROW_LENGTH            = 0x0CF2,
00412         GL_UNPACK_SKIP_ROWS             = 0x0CF3,
00413         GL_UNPACK_SKIP_PIXELS           = 0x0CF4,
00414         GL_UNPACK_ALIGNMENT             = 0x0CF5,
00415         GL_PACK_SWAP_BYTES              = 0x0D00,
00416         GL_PACK_LSB_FIRST               = 0x0D01,
00417         GL_PACK_ROW_LENGTH              = 0x0D02,
00418         GL_PACK_SKIP_ROWS               = 0x0D03,
00419         GL_PACK_SKIP_PIXELS             = 0x0D04,
00420         GL_PACK_ALIGNMENT               = 0x0D05,
00421         GL_MAP_COLOR                    = 0x0D10,
00422         GL_MAP_STENCIL                  = 0x0D11,
00423         GL_INDEX_SHIFT                  = 0x0D12,
00424         GL_INDEX_OFFSET                 = 0x0D13,
00425         GL_RED_SCALE                    = 0x0D14,
00426         GL_RED_BIAS                     = 0x0D15,
00427         GL_ZOOM_X                       = 0x0D16,
00428         GL_ZOOM_Y                       = 0x0D17,
00429         GL_GREEN_SCALE                  = 0x0D18,
00430         GL_GREEN_BIAS                   = 0x0D19,
00431         GL_BLUE_SCALE                   = 0x0D1A,
00432         GL_BLUE_BIAS                    = 0x0D1B,
00433         GL_ALPHA_SCALE                  = 0x0D1C,
00434         GL_ALPHA_BIAS                   = 0x0D1D,
00435         GL_DEPTH_SCALE                  = 0x0D1E,
00436         GL_DEPTH_BIAS                   = 0x0D1F,
00437         GL_MAX_EVAL_ORDER               = 0x0D30,
00438         GL_MAX_LIGHTS                   = 0x0D31,
00439         GL_MAX_CLIP_PLANES              = 0x0D32,
00440         GL_MAX_TEXTURE_SIZE             = 0x0D33,
00441         GL_MAX_PIXEL_MAP_TABLE          = 0x0D34,
00442         GL_MAX_ATTRIB_STACK_DEPTH       = 0x0D35,
00443         GL_MAX_MODELVIEW_STACK_DEPTH    = 0x0D36,
00444         GL_MAX_NAME_STACK_DEPTH         = 0x0D37,
00445         GL_MAX_PROJECTION_STACK_DEPTH   = 0x0D38,
00446         GL_MAX_TEXTURE_STACK_DEPTH      = 0x0D39,
00447         GL_MAX_VIEWPORT_DIMS            = 0x0D3A,
00448         GL_MAX_CLIENT_ATTRIB_STACK_DEPTH= 0x0D3B,
00449         GL_SUBPIXEL_BITS                = 0x0D50,
00450         GL_INDEX_BITS                   = 0x0D51,
00451         GL_RED_BITS                     = 0x0D52,
00452         GL_GREEN_BITS                   = 0x0D53,
00453         GL_BLUE_BITS                    = 0x0D54,
00454         GL_ALPHA_BITS                   = 0x0D55,
00455         GL_DEPTH_BITS                   = 0x0D56,
00456         GL_STENCIL_BITS                 = 0x0D57,
00457         GL_ACCUM_RED_BITS               = 0x0D58,
00458         GL_ACCUM_GREEN_BITS             = 0x0D59,
00459         GL_ACCUM_BLUE_BITS              = 0x0D5A,
00460         GL_ACCUM_ALPHA_BITS             = 0x0D5B,
00461         GL_NAME_STACK_DEPTH             = 0x0D70,
00462         GL_AUTO_NORMAL                  = 0x0D80,
00463         GL_MAP1_COLOR_4                 = 0x0D90,
00464         GL_MAP1_INDEX                   = 0x0D91,
00465         GL_MAP1_NORMAL                  = 0x0D92,
00466         GL_MAP1_TEXTURE_COORD_1         = 0x0D93,
00467         GL_MAP1_TEXTURE_COORD_2         = 0x0D94,
00468         GL_MAP1_TEXTURE_COORD_3         = 0x0D95,
00469         GL_MAP1_TEXTURE_COORD_4         = 0x0D96,
00470         GL_MAP1_VERTEX_3                = 0x0D97,
00471         GL_MAP1_VERTEX_4                = 0x0D98,
00472         GL_MAP2_COLOR_4                 = 0x0DB0,
00473         GL_MAP2_INDEX                   = 0x0DB1,
00474         GL_MAP2_NORMAL                  = 0x0DB2,
00475         GL_MAP2_TEXTURE_COORD_1         = 0x0DB3,
00476         GL_MAP2_TEXTURE_COORD_2         = 0x0DB4,
00477         GL_MAP2_TEXTURE_COORD_3         = 0x0DB5,
00478         GL_MAP2_TEXTURE_COORD_4         = 0x0DB6,
00479         GL_MAP2_VERTEX_3                = 0x0DB7,
00480         GL_MAP2_VERTEX_4                = 0x0DB8,
00481         GL_MAP1_GRID_DOMAIN             = 0x0DD0,
00482         GL_MAP1_GRID_SEGMENTS           = 0x0DD1,
00483         GL_MAP2_GRID_DOMAIN             = 0x0DD2,
00484         GL_MAP2_GRID_SEGMENTS           = 0x0DD3,
00485         GL_TEXTURE_1D                   = 0x0DE0,
00486         GL_TEXTURE_2D                   = 0x0DE1,
00487         GL_FEEDBACK_BUFFER_POINTER      = 0x0DF0,
00488         GL_FEEDBACK_BUFFER_SIZE         = 0x0DF1,
00489         GL_FEEDBACK_BUFFER_TYPE         = 0x0DF2,
00490         GL_SELECTION_BUFFER_POINTER     = 0x0DF3,
00491         GL_SELECTION_BUFFER_SIZE        = 0x0DF4,
00492 #endif
00493         // GetTextureParameter:
00494 
00495 #ifndef GL_TEXTURE_WIDTH
00496         GL_TEXTURE_WIDTH                = 0x1000,
00497         GL_TEXTURE_HEIGHT               = 0x1001,
00498         GL_TEXTURE_INTERNAL_FORMAT      = 0x1003,
00499         GL_TEXTURE_BORDER_COLOR         = 0x1004,
00500         GL_TEXTURE_BORDER               = 0x1005,
00501 #endif
00502 
00503         // HintMode:
00504 
00505 #ifndef GL_DONT_CARE
00506         GL_DONT_CARE                    = 0x1100,
00507         GL_FASTEST                      = 0x1101,
00508         GL_NICEST                       = 0x1102,
00509 #endif
00510         // LightName:
00511 
00512 #ifndef GL_LIGHT0
00513         GL_LIGHT0                       = 0x4000,
00514         GL_LIGHT1                       = 0x4001,
00515         GL_LIGHT2                       = 0x4002,
00516         GL_LIGHT3                       = 0x4003,
00517         GL_LIGHT4                       = 0x4004,
00518         GL_LIGHT5                       = 0x4005,
00519         GL_LIGHT6                       = 0x4006,
00520         GL_LIGHT7                       = 0x4007,
00521 #endif
00522         // LightParameter:
00523 
00524 #ifndef GL_AMBIENT
00525         GL_AMBIENT                      = 0x1200,
00526         GL_DIFFUSE                      = 0x1201,
00527         GL_SPECULAR                     = 0x1202,
00528         GL_POSITION                     = 0x1203,
00529         GL_SPOT_DIRECTION               = 0x1204,
00530         GL_SPOT_EXPONENT                = 0x1205,
00531         GL_SPOT_CUTOFF                  = 0x1206,
00532         GL_CONSTANT_ATTENUATION         = 0x1207,
00533         GL_LINEAR_ATTENUATION           = 0x1208,
00534         GL_QUADRATIC_ATTENUATION        = 0x1209,
00535 #endif
00536         // ListMode:
00537 
00538 #ifndef GL_COMPILE
00539         GL_COMPILE                      = 0x1300,
00540         GL_COMPILE_AND_EXECUTE          = 0x1301,
00541 #endif
00542         // LogicOp:
00543 
00544 #ifndef GL_CLEAR
00545         GL_CLEAR                        = 0x1500,
00546         GL_AND                          = 0x1501,
00547         GL_AND_REVERSE                  = 0x1502,
00548         GL_COPY                         = 0x1503,
00549         GL_AND_INVERTED                 = 0x1504,
00550         GL_NOOP                         = 0x1505,
00551         GL_XOR                          = 0x1506,
00552         GL_OR                           = 0x1507,
00553         GL_NOR                          = 0x1508,
00554         GL_EQUIV                        = 0x1509,
00555         GL_INVERT                       = 0x150A,
00556         GL_OR_REVERSE                   = 0x150B,
00557         GL_COPY_INVERTED                = 0x150C,
00558         GL_OR_INVERTED                  = 0x150D,
00559         GL_NAND                         = 0x150E,
00560         GL_SET                          = 0x150F,
00561 #endif
00562         // MaterialParameter:
00563 
00564 #ifndef GL_EMISSION
00565         GL_EMISSION                     = 0x1600,
00566         GL_SHININESS                    = 0x1601,
00567         GL_AMBIENT_AND_DIFFUSE          = 0x1602,
00568         GL_COLOR_INDEXES                = 0x1603,
00569 #endif
00570         // MatrixMode:
00571 
00572 #ifndef GL_MODELVIEW
00573         GL_MODELVIEW                    = 0x1700,
00574         GL_PROJECTION                   = 0x1701,
00575         GL_TEXTURE                      = 0x1702,
00576 #endif
00577 
00578         // PixelCopyType:
00579 
00580 #ifndef GL_COLOR
00581         GL_COLOR                        = 0x1800,
00582         GL_DEPTH                        = 0x1801,
00583         GL_STENCIL                      = 0x1802,
00584 #endif
00585         // PixelFormat:
00586 
00587 #ifndef GL_COLOR_INDEX
00588         GL_COLOR_INDEX                  = 0x1900,
00589         GL_STENCIL_INDEX                = 0x1901,
00590         GL_DEPTH_COMPONENT              = 0x1902,
00591         GL_RED                          = 0x1903,
00592         GL_GREEN                        = 0x1904,
00593         GL_BLUE                         = 0x1905,
00594         GL_ALPHA                        = 0x1906,
00595         GL_RGB                          = 0x1907,
00596         GL_RGBA                         = 0x1908,
00597         GL_LUMINANCE                    = 0x1909,
00598         GL_LUMINANCE_ALPHA              = 0x190A,
00599 #endif
00600         // PixelType:
00601 
00602 #ifndef GL_BITMAP
00603         GL_BITMAP                       = 0x1A00,
00604 #endif  
00605         // PolygonMode:
00606 
00607 #ifndef GL_POINT
00608         GL_POINT                        = 0x1B00,
00609         GL_LINE                         = 0x1B01,
00610         GL_FILL                         = 0x1B02,
00611 #endif
00612         // RenderingMode:
00613 
00614 #ifndef GL_RENDER
00615         GL_RENDER                       = 0x1C00,
00616         GL_FEEDBACK                     = 0x1C01,
00617         GL_SELECT                       = 0x1C02,
00618 #endif
00619         // ShadingModel:
00620 
00621 #ifndef GL_FLAT
00622         GL_FLAT                         = 0x1D00,
00623         GL_SMOOTH                       = 0x1D01,
00624 #endif
00625         // StencilOp:
00626 
00627         // GL_ZERO
00628 #ifndef GL_KEEP
00629         GL_KEEP                         = 0x1E00,
00630         GL_REPLACE                      = 0x1E01,
00631         GL_INCR                         = 0x1E02,
00632         GL_DECR                         = 0x1E03,
00633 #endif
00634         // GL_INVERT
00635 
00636         // StringName:
00637 
00638 #ifndef GL_VENDOR
00639         GL_VENDOR                       = 0x1F00,
00640         GL_RENDERER                     = 0x1F01,
00641         GL_VERSION                      = 0x1F02,
00642         GL_EXTENSIONS                   = 0x1F03,
00643 #endif
00644         // TextureCoordName:
00645 #ifndef GL_S
00646         GL_S                            = 0x2000,
00647         GL_T                            = 0x2001,
00648         GL_R                            = 0x2002,
00649         GL_Q                            = 0x2003,
00650 #endif
00651         // TextureEnvMode:
00652 #ifndef GL_MODULATE
00653         GL_MODULATE                     = 0x2100,
00654         GL_DECAL                        = 0x2101,
00655         // GL_BLEND
00656         // GL_REPLACE
00657 #endif
00658 
00659         // TextureEnvParameter:
00660 
00661 #ifndef GL_TEXTURE_ENV_MODE
00662         GL_TEXTURE_ENV_MODE             = 0x2200,
00663         GL_TEXTURE_ENV_COLOR            = 0x2201,
00664 #endif
00665         // TextureEnvTarget:
00666 
00667 #ifndef GL_TEXTURE_ENV
00668         GL_TEXTURE_ENV                  = 0x2300,
00669 #endif
00670         // TextureGenMode:
00671 
00672 #ifndef GL_EYE_LINEAR
00673         GL_EYE_LINEAR                   = 0x2400,
00674         GL_OBJECT_LINEAR                = 0x2401,
00675         GL_SPHERE_MAP                   = 0x2402,
00676 #endif
00677 
00678         // TextureGenParameter:
00679 
00680 #ifndef GL_TEXTURE_GEN_MODE
00681         GL_TEXTURE_GEN_MODE             = 0x2500,
00682         GL_OBJECT_PLANE                 = 0x2501,
00683         GL_EYE_PLANE                    = 0x2502,
00684 #endif
00685 
00686         // TextureMagFilter:
00687 
00688 #ifndef GL_NEAREST
00689         GL_NEAREST                      = 0x2600,
00690         GL_LINEAR                       = 0x2601,
00691 #endif
00692         // TextureMinFilter:
00693 
00694 #ifndef GL_NEAREST_MIPMAP_NEAREST
00695         GL_NEAREST_MIPMAP_NEAREST       = 0x2700,
00696         GL_LINEAR_MIPMAP_NEAREST        = 0x2701,
00697         GL_NEAREST_MIPMAP_LINEAR        = 0x2702,
00698         GL_LINEAR_MIPMAP_LINEAR         = 0x2703,
00699 #endif
00700         // TextureParameterName:
00701 
00702 #ifndef GL_TEXTURE_MAG_FILTER
00703         GL_TEXTURE_MAG_FILTER           = 0x2800,
00704         GL_TEXTURE_MIN_FILTER           = 0x2801,
00705         GL_TEXTURE_WRAP_S               = 0x2802,
00706         GL_TEXTURE_WRAP_T               = 0x2803,
00707 #endif
00708         // TextureWrapMode:
00709 
00710 #ifndef GL_CLAMP
00711         GL_CLAMP                        = 0x2900,
00712         GL_REPEAT                       = 0x2901,
00713 #endif
00714         // ClientAttribMask:
00715 
00716 #ifndef GL_CLIENT_PIXEL_STORE_BIT
00717         GL_CLIENT_PIXEL_STORE_BIT       = 0x00000001,
00718         GL_CLIENT_VERTEX_ARRAY_BIT      = 0x00000002,
00719         GL_CLIENT_ALL_ATTRIB_BITS       = 0xffffffff,
00720 #endif
00721         // polygon_offset:
00722 
00723 #ifndef GL_POLYGON_OFFSET_FACTOR
00724         GL_POLYGON_OFFSET_FACTOR        = 0x8038,
00725         GL_POLYGON_OFFSET_UNITS         = 0x2A00,
00726         GL_POLYGON_OFFSET_POINT         = 0x2A01,
00727         GL_POLYGON_OFFSET_LINE          = 0x2A02,
00728         GL_POLYGON_OFFSET_FILL          = 0x8037,
00729 #endif
00730         // texture:
00731 
00732 #ifndef GL_ALPHA4
00733         GL_ALPHA4                       = 0x803B,
00734         GL_ALPHA8                       = 0x803C,
00735         GL_ALPHA12                      = 0x803D,
00736         GL_ALPHA16                      = 0x803E,
00737         GL_LUMINANCE4                   = 0x803F,
00738         GL_LUMINANCE8                   = 0x8040,
00739         GL_LUMINANCE12                  = 0x8041,
00740         GL_LUMINANCE16                  = 0x8042,
00741         GL_LUMINANCE4_ALPHA4            = 0x8043,
00742         GL_LUMINANCE6_ALPHA2            = 0x8044,
00743         GL_LUMINANCE8_ALPHA8            = 0x8045,
00744         GL_LUMINANCE12_ALPHA4           = 0x8046,
00745         GL_LUMINANCE12_ALPHA12          = 0x8047,
00746         GL_LUMINANCE16_ALPHA16          = 0x8048,
00747         GL_INTENSITY                    = 0x8049,
00748         GL_INTENSITY4                   = 0x804A,
00749         GL_INTENSITY8                   = 0x804B,
00750         GL_INTENSITY12                  = 0x804C,
00751         GL_INTENSITY16                  = 0x804D,
00752         GL_R3_G3_B2                     = 0x2A10,
00753         GL_RGB4                         = 0x804F,
00754         GL_RGB5                         = 0x8050,
00755         GL_RGB8                         = 0x8051,
00756         GL_RGB10                        = 0x8052,
00757         GL_RGB12                        = 0x8053,
00758         GL_RGB16                        = 0x8054,
00759         GL_RGBA2                        = 0x8055,
00760         GL_RGBA4                        = 0x8056,
00761         GL_RGB5_A1                      = 0x8057,
00762         GL_RGBA8                        = 0x8058,
00763         GL_RGB10_A2                     = 0x8059,
00764         GL_RGBA12                       = 0x805A,
00765         GL_RGBA16                       = 0x805B,
00766         GL_TEXTURE_RED_SIZE             = 0x805C,
00767         GL_TEXTURE_GREEN_SIZE           = 0x805D,
00768         GL_TEXTURE_BLUE_SIZE            = 0x805E,
00769         GL_TEXTURE_ALPHA_SIZE           = 0x805F,
00770         GL_TEXTURE_LUMINANCE_SIZE       = 0x8060,
00771         GL_TEXTURE_INTENSITY_SIZE       = 0x8061,
00772         GL_PROXY_TEXTURE_1D             = 0x8063,
00773         GL_PROXY_TEXTURE_2D             = 0x8064,
00774 #endif
00775         // texture_object:
00776 
00777 #ifndef GL_TEXTURE_PRIORITY
00778         GL_TEXTURE_PRIORITY             = 0x8066,
00779         GL_TEXTURE_RESIDENT             = 0x8067,
00780         GL_TEXTURE_BINDING_1D           = 0x8068,
00781         GL_TEXTURE_1D_BINDING           = 0x8068,
00782         GL_TEXTURE_BINDING_2D           = 0x8069,
00783         GL_TEXTURE_2D_BINDING           = 0x8069,
00784 #endif
00785 #ifndef GL_TEXTURE_BINDING_3D
00786         GL_TEXTURE_BINDING_3D           = 0x806A,
00787         GL_TEXTURE_3D_BINDING           = 0x806A,
00788 #endif
00789         // vertex_array:
00790 
00791 #ifndef GL_VERTEX_ARRAY
00792         GL_VERTEX_ARRAY                 = 0x8074,
00793         GL_NORMAL_ARRAY                 = 0x8075,
00794         GL_COLOR_ARRAY                  = 0x8076,
00795         GL_INDEX_ARRAY                  = 0x8077,
00796         GL_TEXTURE_COORD_ARRAY          = 0x8078,
00797         GL_EDGE_FLAG_ARRAY              = 0x8079,
00798         GL_VERTEX_ARRAY_SIZE            = 0x807A,
00799         GL_VERTEX_ARRAY_TYPE            = 0x807B,
00800         GL_VERTEX_ARRAY_STRIDE          = 0x807C,
00801         GL_NORMAL_ARRAY_TYPE            = 0x807E,
00802         GL_NORMAL_ARRAY_STRIDE          = 0x807F,
00803         GL_COLOR_ARRAY_SIZE             = 0x8081,
00804         GL_COLOR_ARRAY_TYPE             = 0x8082,
00805         GL_COLOR_ARRAY_STRIDE           = 0x8083,
00806         GL_INDEX_ARRAY_TYPE             = 0x8085,
00807         GL_INDEX_ARRAY_STRIDE           = 0x8086,
00808         GL_TEXTURE_COORD_ARRAY_SIZE     = 0x8088,
00809         GL_TEXTURE_COORD_ARRAY_TYPE     = 0x8089,
00810         GL_TEXTURE_COORD_ARRAY_STRIDE   = 0x808A,
00811         GL_EDGE_FLAG_ARRAY_STRIDE       = 0x808C,
00812         GL_VERTEX_ARRAY_POINTER         = 0x808E,
00813         GL_NORMAL_ARRAY_POINTER         = 0x808F,
00814         GL_COLOR_ARRAY_POINTER          = 0x8090,
00815         GL_INDEX_ARRAY_POINTER          = 0x8091,
00816         GL_TEXTURE_COORD_ARRAY_POINTER  = 0x8092,
00817         GL_EDGE_FLAG_ARRAY_POINTER      = 0x8093,
00818         GL_V2F                          = 0x2A20,
00819         GL_V3F                          = 0x2A21,
00820         GL_C4UB_V2F                     = 0x2A22,
00821         GL_C4UB_V3F                     = 0x2A23,
00822         GL_C3F_V3F                      = 0x2A24,
00823         GL_N3F_V3F                      = 0x2A25,
00824         GL_C4F_N3F_V3F                  = 0x2A26,
00825         GL_T2F_V3F                      = 0x2A27,
00826         GL_T4F_V4F                      = 0x2A28,
00827         GL_T2F_C4UB_V3F                 = 0x2A29,
00828         GL_T2F_C3F_V3F                  = 0x2A2A,
00829         GL_T2F_N3F_V3F                  = 0x2A2B,
00830         GL_T2F_C4F_N3F_V3F              = 0x2A2C,
00831         GL_T4F_C4F_N3F_V4F              = 0x2A2D,
00832 #endif
00833 #ifndef GL_BGR
00834         // bgra
00835 
00836         GL_BGR                          = 0x80E0,
00837         GL_BGRA                         = 0x80E1,
00838 
00839 #endif
00840 #ifndef GL_CONSTANT_COLOR
00841         // blend_color
00842 
00843         GL_CONSTANT_COLOR               = 0x8001,
00844         GL_ONE_MINUS_CONSTANT_COLOR     = 0x8002,
00845         GL_CONSTANT_ALPHA               = 0x8003,
00846         GL_ONE_MINUS_CONSTANT_ALPHA     = 0x8004,
00847         GL_BLEND_COLOR                  = 0x8005,
00848 
00849 #endif
00850 #ifndef GL_FUNC_ADD
00851         // blend_minmax
00852 
00853         GL_FUNC_ADD                     = 0x8006,
00854         GL_MIN                          = 0x8007,
00855         GL_MAX                          = 0x8008,
00856         GL_BLEND_EQUATION               = 0x8009,
00857 
00858 #endif
00859 #ifndef GL_FUNC_SUBTRACT
00860         // blend_subtract
00861 
00862         GL_FUNC_SUBTRACT                = 0x800A,
00863         GL_FUNC_REVERSE_SUBTRACT        = 0x800B,
00864 
00865 #endif
00866 #ifndef GL_COLOR_MATRIX
00867         // color_matrix
00868 
00869         GL_COLOR_MATRIX                 = 0x80B1,
00870         GL_COLOR_MATRIX_STACK_DEPTH     = 0x80B2,
00871         GL_MAX_COLOR_MATRIX_STACK_DEPTH = 0x80B3,
00872         GL_POST_COLOR_MATRIX_RED_SCALE  = 0x80B4,
00873         GL_POST_COLOR_MATRIX_GREEN_SCALE= 0x80B5,
00874         GL_POST_COLOR_MATRIX_BLUE_SCALE = 0x80B6,
00875         GL_POST_COLOR_MATRIX_ALPHA_SCALE= 0x80B7,
00876         GL_POST_COLOR_MATRIX_RED_BIAS   = 0x80B8,
00877         GL_POST_COLOR_MATRIX_GREEN_BIAS = 0x80B9,
00878         GL_POST_COLOR_MATRIX_BLUE_BIAS  = 0x80BA,
00879         GL_POST_COLOR_MATRIX_ALPHA_BIAS = 0x80BB,
00880 
00881 #endif
00882 #ifndef GL_COLOR_TABLE
00883         // color_table
00884 
00885         GL_COLOR_TABLE                  = 0x80D0,
00886         GL_POST_CONVOLUTION_COLOR_TABLE = 0x80D1,
00887         GL_POST_COLOR_MATRIX_COLOR_TABLE= 0x80D2,
00888         GL_PROXY_COLOR_TABLE            = 0x80D3,
00889         GL_PROXY_POST_CONVOLUTION_COLOR_TABLE = 0x80D4,
00890         GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE = 0x80D5,
00891         GL_COLOR_TABLE_SCALE            = 0x80D6,
00892         GL_COLOR_TABLE_BIAS             = 0x80D7,
00893         GL_COLOR_TABLE_FORMAT           = 0x80D8,
00894         GL_COLOR_TABLE_WIDTH            = 0x80D9,
00895         GL_COLOR_TABLE_RED_SIZE         = 0x80DA,
00896         GL_COLOR_TABLE_GREEN_SIZE       = 0x80DB,
00897         GL_COLOR_TABLE_BLUE_SIZE        = 0x80DC,
00898         GL_COLOR_TABLE_ALPHA_SIZE       = 0x80DD,
00899         GL_COLOR_TABLE_LUMINANCE_SIZE   = 0x80DE,
00900         GL_COLOR_TABLE_INTENSITY_SIZE   = 0x80DF,
00901 
00902 #endif
00903 #ifndef GL_CONVOLUTION_1D
00904         // convolution
00905 
00906         GL_CONVOLUTION_1D               = 0x8010,
00907         GL_CONVOLUTION_2D               = 0x8011,
00908         GL_SEPARABLE_2D                 = 0x8012,
00909         GL_CONVOLUTION_BORDER_MODE      = 0x8013,
00910         GL_CONVOLUTION_FILTER_SCALE     = 0x8014,
00911         GL_CONVOLUTION_FILTER_BIAS      = 0x8015,
00912         GL_REDUCE                       = 0x8016,
00913         GL_CONVOLUTION_FORMAT           = 0x8017,
00914         GL_CONVOLUTION_WIDTH            = 0x8018,
00915         GL_CONVOLUTION_HEIGHT           = 0x8019,
00916         GL_MAX_CONVOLUTION_WIDTH        = 0x801A,
00917         GL_MAX_CONVOLUTION_HEIGHT       = 0x801B,
00918         GL_POST_CONVOLUTION_RED_SCALE   = 0x801C,
00919         GL_POST_CONVOLUTION_GREEN_SCALE = 0x801D,
00920         GL_POST_CONVOLUTION_BLUE_SCALE  = 0x801E,
00921         GL_POST_CONVOLUTION_ALPHA_SCALE = 0x801F,
00922         GL_POST_CONVOLUTION_RED_BIAS    = 0x8020,
00923         GL_POST_CONVOLUTION_GREEN_BIAS  = 0x8021,
00924         GL_POST_CONVOLUTION_BLUE_BIAS   = 0x8022,
00925         GL_POST_CONVOLUTION_ALPHA_BIAS  = 0x8023,
00926         GL_CONSTANT_BORDER              = 0x8151,
00927         GL_REPLICATE_BORDER             = 0x8153,
00928         GL_CONVOLUTION_BORDER_COLOR     = 0x8154,
00929 
00930 #endif
00931 #ifndef GL_MAX_ELEMENTS_VERTICES
00932         // draw_range_elements
00933 
00934         GL_MAX_ELEMENTS_VERTICES        = 0x80E8,
00935         GL_MAX_ELEMENTS_INDICES         = 0x80E9,
00936 
00937 #endif
00938 #ifndef GL_HISTOGRAM
00939         // histogram
00940 
00941         GL_HISTOGRAM                    = 0x8024,
00942         GL_PROXY_HISTOGRAM              = 0x8025,
00943         GL_HISTOGRAM_WIDTH              = 0x8026,
00944         GL_HISTOGRAM_FORMAT             = 0x8027,
00945         GL_HISTOGRAM_RED_SIZE           = 0x8028,
00946         GL_HISTOGRAM_GREEN_SIZE         = 0x8029,
00947         GL_HISTOGRAM_BLUE_SIZE          = 0x802A,
00948         GL_HISTOGRAM_ALPHA_SIZE         = 0x802B,
00949         GL_HISTOGRAM_LUMINANCE_SIZE     = 0x802C,
00950         GL_HISTOGRAM_SINK               = 0x802D,
00951         GL_MINMAX                       = 0x802E,
00952         GL_MINMAX_FORMAT                = 0x802F,
00953         GL_MINMAX_SINK                  = 0x8030,
00954         GL_TABLE_TOO_LARGE              = 0x8031,
00955 
00956 #endif
00957 #ifndef GL_UNSIGNED_BYTE_3_3_2
00958         // packed_pixels
00959 
00960         GL_UNSIGNED_BYTE_3_3_2          = 0x8032,
00961         GL_UNSIGNED_SHORT_4_4_4_4       = 0x8033,
00962         GL_UNSIGNED_SHORT_5_5_5_1       = 0x8034,
00963         GL_UNSIGNED_INT_8_8_8_8         = 0x8035,
00964         GL_UNSIGNED_INT_10_10_10_2      = 0x8036,
00965         GL_UNSIGNED_BYTE_2_3_3_REV      = 0x8362,
00966         GL_UNSIGNED_SHORT_5_6_5         = 0x8363,
00967         GL_UNSIGNED_SHORT_5_6_5_REV     = 0x8364,
00968         GL_UNSIGNED_SHORT_4_4_4_4_REV   = 0x8365,
00969         GL_UNSIGNED_SHORT_1_5_5_5_REV   = 0x8366,
00970         GL_UNSIGNED_INT_8_8_8_8_REV     = 0x8367,
00971         GL_UNSIGNED_INT_2_10_10_10_REV  = 0x8368,
00972 
00973         GL_MIRRORED_REPEAT              = 0x8370,
00974 
00975 #endif
00976 #ifndef GL_RESCALE_NORMAL
00977         // rescale_normal
00978 
00979         GL_RESCALE_NORMAL               = 0x803A,
00980 
00981 #endif
00982 #ifndef GL_LIGHT_MODEL_COLOR_CONTROL
00983         // separate_specular_color
00984 
00985         GL_LIGHT_MODEL_COLOR_CONTROL    = 0x81F8,
00986         GL_SINGLE_COLOR                 = 0x81F9,
00987         GL_SEPARATE_SPECULAR_COLOR      = 0x81FA,
00988 
00989 #endif
00990 #ifndef GL_PACK_SKIP_IMAGES
00991         // texture3D
00992 
00993         GL_PACK_SKIP_IMAGES             = 0x806B,
00994         GL_PACK_IMAGE_HEIGHT            = 0x806C,
00995         GL_UNPACK_SKIP_IMAGES           = 0x806D,
00996         GL_UNPACK_IMAGE_HEIGHT          = 0x806E,
00997         GL_TEXTURE_3D                   = 0x806F,
00998         GL_PROXY_TEXTURE_3D             = 0x8070,
00999         GL_TEXTURE_DEPTH                = 0x8071,
01000         GL_TEXTURE_WRAP_R               = 0x8072,
01001         GL_MAX_3D_TEXTURE_SIZE          = 0x8073,
01002 
01003 #endif
01004 #ifndef GL_CLAMP_TO_BORDER
01005         // texture_edge_clamp
01006 
01007         GL_CLAMP_TO_BORDER              = 0x812D,
01008         GL_CLAMP_TO_EDGE                = 0x812F,
01009 
01010 #endif
01011 #ifndef GL_TEXTURE_MIN_LOD
01012         // texture_lod
01013 
01014         GL_TEXTURE_MIN_LOD              = 0x813A,
01015         GL_TEXTURE_MAX_LOD              = 0x813B,
01016         GL_TEXTURE_BASE_LEVEL           = 0x813C,
01017         GL_TEXTURE_MAX_LEVEL            = 0x813D,
01018 
01019 #endif
01020 #ifndef GL_SMOOTH_POINT_SIZE_RANGE
01021         // GetTarget1_2:
01022 
01023         GL_SMOOTH_POINT_SIZE_RANGE      = 0x0B12,
01024         GL_SMOOTH_POINT_SIZE_GRANULARITY= 0x0B13,
01025         GL_SMOOTH_LINE_WIDTH_RANGE      = 0x0B22,
01026         GL_SMOOTH_LINE_WIDTH_GRANULARITY= 0x0B23,
01027         GL_ALIASED_POINT_SIZE_RANGE     = 0x846D,
01028         GL_ALIASED_LINE_WIDTH_RANGE     = 0x846E,
01029 
01030 #endif
01031 #ifndef GL_TEXTURE0
01032         // multitexture:
01033 
01034         GL_TEXTURE0                 = 0x84C0,
01035         GL_TEXTURE1                 = 0x84C1,
01036         GL_TEXTURE2                 = 0x84C2,
01037         GL_TEXTURE3                 = 0x84C3,
01038         GL_TEXTURE4                 = 0x84C4,
01039         GL_TEXTURE5                 = 0x84C5,
01040         GL_TEXTURE6                 = 0x84C6,
01041         GL_TEXTURE7                 = 0x84C7,
01042         GL_TEXTURE8                 = 0x84C8,
01043         GL_TEXTURE9                 = 0x84C9,
01044         GL_TEXTURE10                = 0x84CA,
01045         GL_TEXTURE11                = 0x84CB,
01046         GL_TEXTURE12                = 0x84CC,
01047         GL_TEXTURE13                = 0x84CD,
01048         GL_TEXTURE14                = 0x84CE,
01049         GL_TEXTURE15                = 0x84CF,
01050         GL_TEXTURE16                = 0x84D0,
01051         GL_TEXTURE17                = 0x84D1,
01052         GL_TEXTURE18                = 0x84D2,
01053         GL_TEXTURE19                = 0x84D3,
01054         GL_TEXTURE20                = 0x84D4,
01055         GL_TEXTURE21                = 0x84D5,
01056         GL_TEXTURE22                = 0x84D6,
01057         GL_TEXTURE23                = 0x84D7,
01058         GL_TEXTURE24                = 0x84D8,
01059         GL_TEXTURE25                = 0x84D9,
01060         GL_TEXTURE26                = 0x84DA,
01061         GL_TEXTURE27                = 0x84DB,
01062         GL_TEXTURE28                = 0x84DC,
01063         GL_TEXTURE29                = 0x84DD,
01064         GL_TEXTURE30                = 0x84DE,
01065         GL_TEXTURE31                = 0x84DF,
01066         GL_ACTIVE_TEXTURE           = 0x84E0,
01067         GL_CLIENT_ACTIVE_TEXTURE    = 0x84E1,
01068         GL_MAX_TEXTURE_UNITS        = 0x84E2,
01069 
01070 #endif
01071 #ifndef GL_ABGR
01072         // EXT_abgr:
01073 
01074         GL_ABGR                     = 0x8000,
01075 
01076 #endif
01077 #ifndef GL_COMBINE
01078         // EXT_texture_env_combine:
01079 
01080         GL_COMBINE                  = 0x8570,
01081         GL_COMBINE_RGB              = 0x8571,
01082         GL_COMBINE_ALPHA            = 0x8572,
01083         GL_RGB_SCALE                = 0x8573,
01084         GL_ADD_SIGNED               = 0x8574,
01085         GL_INTERPOLATE              = 0x8575,
01086         GL_CONSTANT                 = 0x8576,
01087         GL_PRIMARY_COLOR            = 0x8577,
01088         GL_PREVIOUS                 = 0x8578,
01089         GL_SOURCE0_RGB              = 0x8580,
01090         GL_SOURCE1_RGB              = 0x8581,
01091         GL_SOURCE2_RGB              = 0x8582,
01092         GL_SOURCE0_ALPHA            = 0x8588,
01093         GL_SOURCE1_ALPHA            = 0x8589,
01094         GL_SOURCE2_ALPHA            = 0x858A,
01095         GL_OPERAND0_RGB             = 0x8590,
01096         GL_OPERAND1_RGB             = 0x8591,
01097         GL_OPERAND2_RGB             = 0x8592,
01098         GL_OPERAND0_ALPHA           = 0x8598,
01099         GL_OPERAND1_ALPHA           = 0x8599,
01100         GL_OPERAND2_ALPHA           = 0x859A,
01101 
01102 #endif
01103 #ifndef GL_SRC0_RGB
01104         // OpenGL 1.5 token renames:
01105         GL_SRC0_RGB                 = GL_SOURCE0_RGB,
01106         GL_SRC1_RGB                 = GL_SOURCE1_RGB,
01107         GL_SRC2_RGB                 = GL_SOURCE2_RGB,
01108         GL_SRC0_ALPHA               = GL_SOURCE0_ALPHA,
01109         GL_SRC1_ALPHA               = GL_SOURCE1_ALPHA,
01110         GL_SRC2_ALPHA               = GL_SOURCE2_ALPHA,
01111 
01112 #endif
01113 #ifndef GL_COMPRESSED_ALPHA
01114         // ARB_texture_compression:
01115 
01116         GL_COMPRESSED_ALPHA           = 0x84e9,
01117         GL_COMPRESSED_LUMINANCE       = 0x84ea,
01118         GL_COMPRESSED_LUMINANCE_ALPHA = 0x84eb,
01119         GL_COMPRESSED_INTENSITY       = 0x84ec,
01120         GL_COMPRESSED_RGB             = 0x84ed,
01121         GL_COMPRESSED_RGBA            = 0x84ee,
01122         GL_TEXTURE_COMPRESSION_HINT   = 0x84ef,
01123         GL_TEXTURE_COMPRESSED_IMAGE_SIZE = 0x86a0,
01124         GL_TEXTURE_COMPRESSED         = 0x86a1,
01125         GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86a2,
01126         GL_COMPRESSED_TEXTURE_FORMATS = 0x86a3,
01127 
01128 #endif
01129 #ifndef GL_NORMAL_MAP
01130         // ARB_texture_cube_map:
01131 
01132         GL_NORMAL_MAP                 = 0x8511,
01133         GL_REFLECTION_MAP             = 0x8512,
01134         GL_TEXTURE_CUBE_MAP           = 0x8513,
01135         GL_TEXTURE_BINDING_CUBE_MAP   = 0x8514,
01136         GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515,
01137         GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516,
01138         GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517,
01139         GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518,
01140         GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519,
01141         GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851a,
01142         GL_PROXY_TEXTURE_CUBE_MAP     = 0x851b,
01143         GL_MAX_CUBE_MAP_TEXTURE_SIZE  = 0x851c,
01144 
01145 #endif
01146 #ifndef GL_MULTISAMPLE
01147         // ARB_multisample:
01148 
01149         GL_MULTISAMPLE                = 0x809d,
01150         GL_SAMPLE_ALPHA_TO_COVERAGE   = 0x809e,
01151         GL_SAMPLE_ALPHA_TO_ONE        = 0x809f,
01152         GL_SAMPLE_COVERAGE            = 0x80a0,
01153         GL_SAMPLE_BUFFERS             = 0x80a8,
01154         GL_SAMPLES                    = 0x80a9,
01155         GL_SAMPLE_COVERAGE_VALUE      = 0x80aa,
01156         GL_SAMPLE_COVERAGE_INVERT     = 0x80ab,
01157         GL_MULTISAMPLE_BIT            = 0x20000000,
01158 
01159 #endif
01160 #ifndef GL_SUBTRACT
01161         // ARB_texture_env_combine:
01162 
01163         GL_SUBTRACT                   = 0x84e7,
01164 
01165 #endif
01166 #ifndef GL_DOT3_RGB
01167         // ARB_texture_env_dot3:
01168 
01169         GL_DOT3_RGB                   = 0x86ae,
01170         GL_DOT3_RGBA                  = 0x86af,
01171 
01172 #endif
01173 #ifndef GL_TRANSPOSE_MODELVIEW_MATRIX
01174         // ARB_transpose_matrix:
01175 
01176         GL_TRANSPOSE_MODELVIEW_MATRIX  = 0x84e3,
01177         GL_TRANSPOSE_PROJECTION_MATRIX = 0x84e4,
01178         GL_TRANSPOSE_TEXTURE_MATRIX    = 0x84e5,
01179         GL_TRANSPOSE_COLOR_MATRIX      = 0x84e6,
01180 
01181 #endif
01182 #ifndef GL_GENERATE_MIPMAP
01183         // SGIS_generate_mipmap:
01184 
01185         GL_GENERATE_MIPMAP             = 0x8191,
01186         GL_GENERATE_MIPMAP_HINT        = 0x8192,
01187 
01188 #endif
01189 #ifndef GL_DEPTH_COMPONENT16
01190         // ARB_depth_texture:
01191 
01192         GL_DEPTH_COMPONENT16           = 0x81a5,
01193         GL_DEPTH_COMPONENT24           = 0x81a6,
01194         GL_DEPTH_COMPONENT32           = 0x81a7,
01195         GL_TEXTURE_DEPTH_SIZE          = 0x884a,
01196         GL_DEPTH_TEXTURE_MODE          = 0x884b,
01197 
01198 #endif
01199 #ifndef GL_TEXTURE_COMPARE_MODE
01200         // ARB_shadow:
01201 
01202         GL_TEXTURE_COMPARE_MODE        = 0x884c,
01203         GL_TEXTURE_COMPARE_FUNC        = 0x884d,
01204         GL_COMPARE_R_TO_TEXTURE        = 0x884e,
01205 
01206 #endif
01207 #ifndef GL_FOG_COORDINATE_SOURCE
01208         // EXT_fog_coord:
01209 
01210         GL_FOG_COORDINATE_SOURCE       = 0x8450,
01211         GL_FOG_COORDINATE              = 0x8451,
01212         GL_FRAGMENT_DEPTH              = 0x8452,
01213         GL_CURRENT_FOG_COORDINATE      = 0x8453,
01214         GL_FOG_COORDINATE_ARRAY_TYPE   = 0x8454,
01215         GL_FOG_COORDINATE_ARRAY_STRIDE = 0x8455,
01216         GL_FOG_COORDINATE_ARRAY_POINTER = 0x8456,
01217         GL_FOG_COORDINATE_ARRAY        = 0x8457,
01218 
01219 #endif
01220 #ifndef GL_FOG_COORD_SRC
01221         // OpenGL 1.5 token renames:
01222         GL_FOG_COORD_SRC               = GL_FOG_COORDINATE_SOURCE,
01223         GL_FOG_COORD                   = GL_FOG_COORDINATE,
01224         GL_CURRENT_FOG_COORD           = GL_CURRENT_FOG_COORDINATE,
01225         GL_FOG_COORD_ARRAY_TYPE        = GL_FOG_COORDINATE_ARRAY_TYPE,
01226         GL_FOG_COORD_ARRAY_STRIDE      = GL_FOG_COORDINATE_ARRAY_STRIDE,
01227         GL_FOG_COORD_ARRAY_POINTER     = GL_FOG_COORDINATE_ARRAY_POINTER,
01228         GL_FOG_COORD_ARRAY             = GL_FOG_COORDINATE_ARRAY,
01229 
01230 #endif
01231 #ifndef GL_POINT_SIZE_MIN
01232         // ARB_point_parameters:
01233 
01234         GL_POINT_SIZE_MIN              = 0x8126,
01235         GL_POINT_SIZE_MAX              = 0x8127,
01236         GL_POINT_FADE_THRESHOLD_SIZE   = 0x8128,
01237         GL_POINT_DISTANCE_ATTENUATION  = 0x8129,
01238 
01239 #endif
01240 #ifndef GL_COLOR_SUM
01241         // EXT_secondary_color:
01242 
01243         GL_COLOR_SUM                   = 0x8458,
01244         GL_CURRENT_SECONDARY_COLOR     = 0x8459,
01245         GL_SECONDARY_COLOR_ARRAY_SIZE  = 0x845a,
01246         GL_SECONDARY_COLOR_ARRAY_TYPE  = 0x845b,
01247         GL_SECONDARY_COLOR_ARRAY_STRIDE = 0x845c,
01248         GL_SECONDARY_COLOR_ARRAY_POINTER = 0x845d,
01249         GL_SECONDARY_COLOR_ARRAY       = 0x845e,
01250 
01251 #endif
01252 #ifndef GL_BLEND_DST_RGB
01253         // EXT_blend_func_separate:
01254 
01255         GL_BLEND_DST_RGB               = 0x80c8,
01256         GL_BLEND_SRC_RGB               = 0x80c9,
01257         GL_BLEND_DST_ALPHA             = 0x80ca,
01258         GL_BLEND_SRC_ALPHA             = 0x80cb,
01259 
01260 #endif
01261 #ifndef GL_INCR_WRAP
01262         // EXT_stencil_wrap:
01263 
01264         GL_INCR_WRAP                   = 0x8507,
01265         GL_DECR_WRAP                   = 0x8508,
01266 
01267 #endif
01268 #ifndef GL_MAX_TEXTURE_LOD_BIAS
01269         // EXT_texture_lod_bias:
01270 
01271         GL_MAX_TEXTURE_LOD_BIAS        = 0x84fd,
01272         GL_TEXTURE_FILTER_CONTROL      = 0x8500,
01273         GL_TEXTURE_LOD_BIAS            = 0x8501,
01274 
01275 #endif
01276 #ifndef GL_ARRAY_BUFFER
01277         // ARB_vertex_buffer_object:
01278 
01279         GL_ARRAY_BUFFER                        = 0x8892,
01280         GL_ELEMENT_ARRAY_BUFFER                = 0x8893,
01281         GL_ARRAY_BUFFER_BINDING                = 0x8894,
01282         GL_ELEMENT_ARRAY_BUFFER_BINDING        = 0x8895,
01283         GL_VERTEX_ARRAY_BUFFER_BINDING         = 0x8896,
01284         GL_NORMAL_ARRAY_BUFFER_BINDING         = 0x8897,
01285         GL_COLOR_ARRAY_BUFFER_BINDING          = 0x8898,
01286         GL_INDEX_ARRAY_BUFFER_BINDING          = 0x8899,
01287         GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING  = 0x889A,
01288         GL_EDGE_FLAG_ARRAY_BUFFER_BINDING      = 0x889B,
01289         GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING = 0x889C,
01290         GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING = 0x889D,
01291         GL_FOG_COORD_ARRAY_BUFFER_BINDING      = GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING,
01292         GL_WEIGHT_ARRAY_BUFFER_BINDING         = 0x889E,
01293         GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING  = 0x889F,
01294         GL_STREAM_DRAW                         = 0x88E0,
01295         GL_STREAM_READ                         = 0x88E1,
01296         GL_STREAM_COPY                         = 0x88E2,
01297         GL_STATIC_DRAW                         = 0x88E4,
01298         GL_STATIC_READ                         = 0x88E5,
01299         GL_STATIC_COPY                         = 0x88E6,
01300         GL_DYNAMIC_DRAW                        = 0x88E8,
01301         GL_DYNAMIC_READ                        = 0x88E9,
01302         GL_DYNAMIC_COPY                        = 0x88EA,
01303         GL_READ_ONLY                           = 0x88B8,
01304         GL_WRITE_ONLY                          = 0x88B9,
01305         GL_READ_WRITE                          = 0x88BA,
01306         GL_BUFFER_SIZE                         = 0x8764,
01307         GL_BUFFER_USAGE                        = 0x8765,
01308         GL_BUFFER_ACCESS                       = 0x88BB,
01309         GL_BUFFER_MAPPED                       = 0x88BC,
01310         GL_BUFFER_MAP_POINTER                  = 0x88BD,
01311 
01312 #endif
01313 #ifndef GL_SAMPLES_PASSED
01314         // ARB_occlusion_query:
01315 
01316         GL_SAMPLES_PASSED                      = 0x8914,
01317         GL_QUERY_COUNTER_BITS                  = 0x8864,
01318         GL_CURRENT_QUERY                       = 0x8865,
01319         GL_QUERY_RESULT                        = 0x8866,
01320         GL_QUERY_RESULT_AVAILABLE              = 0x8867,
01321 
01322 #endif
01323 #ifndef GL_PROGRAM_OBJECT
01324         // ARB_shader_objects:
01325 
01326         GL_PROGRAM_OBJECT                      = 0x8B40,
01327         GL_TYPE                                = 0x8B4E,
01328         GL_SUBTYPE                             = 0x8B4F,
01329 #endif
01330 #ifndef GL_DELETE_STATUS 
01331         GL_DELETE_STATUS                       = 0x8B80,
01332 #endif
01333 #ifndef GL_COMPILE_STATUS
01334         GL_COMPILE_STATUS                      = 0x8B81,
01335         GL_LINK_STATUS                         = 0x8B82,
01336         GL_VALIDATE_STATUS                     = 0x8B83,
01337         GL_INFO_LOG_LENGTH                     = 0x8B84,
01338         GL_ATTACHED_OBJECTS                    = 0x8B85,
01339         GL_ACTIVE_UNIFORMS                     = 0x8B86,
01340         GL_ACTIVE_UNIFORM_MAX_LENGTH           = 0x8B87,
01341         GL_SHADER_SOURCE_LENGTH                = 0x8B88,
01342         GL_CURRENT_PROGRAM                     = 0x8B8D,
01343         GL_OBJECT_TYPE                         = GL_TYPE,
01344         GL_OBJECT_SUBTYPE                      = GL_SUBTYPE,
01345         GL_OBJECT_DELETE_STATUS                = GL_DELETE_STATUS,
01346         GL_OBJECT_COMPILE_STATUS               = GL_COMPILE_STATUS,
01347         GL_OBJECT_LINK_STATUS                  = GL_LINK_STATUS,
01348         GL_OBJECT_VALIDATE_STATUS              = GL_VALIDATE_STATUS,
01349         GL_OBJECT_INFO_LOG_LENGTH              = GL_INFO_LOG_LENGTH,
01350         GL_OBJECT_ATTACHED_OBJECTS             = GL_ATTACHED_OBJECTS,
01351         GL_OBJECT_ACTIVE_UNIFORMS              = GL_ACTIVE_UNIFORMS,
01352         GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH    = GL_ACTIVE_UNIFORM_MAX_LENGTH,
01353         GL_OBJECT_SHADER_SOURCE_LENGTH         = GL_SHADER_SOURCE_LENGTH,
01354         GL_SHADER_OBJECT                       = 0x8B48,
01355         GL_INT_VEC2                            = 0x8B53,
01356         GL_INT_VEC3                            = 0x8B54,
01357         GL_INT_VEC4                            = 0x8B55,
01358         GL_BOOL                                = 0x8B56,
01359         GL_BOOL_VEC2                           = 0x8B57,
01360         GL_BOOL_VEC3                           = 0x8B58,
01361         GL_BOOL_VEC4                           = 0x8B59,
01362         GL_FLOAT_MAT2                          = 0x8B5A,
01363         GL_FLOAT_MAT3                          = 0x8B5B,
01364         GL_FLOAT_MAT4                          = 0x8B5C,
01365         GL_SAMPLER_1D                          = 0x8B5D,
01366         GL_SAMPLER_2D                          = 0x8B5E,
01367         GL_SAMPLER_3D                          = 0x8B5F,
01368         GL_SAMPLER_CUBE                        = 0x8B60,
01369         GL_SAMPLER_1D_SHADOW                   = 0x8B61,
01370         GL_SAMPLER_2D_SHADOW                   = 0x8B62,
01371         GL_SAMPLER_2D_RECT                     = 0x8B63,
01372         GL_SAMPLER_2D_RECT_SHADOW              = 0x8B64,
01373 
01374 #endif
01375 #ifndef GL_VERTEX_SHADER
01376         // ARB_vertex_shader:
01377 
01378         GL_VERTEX_SHADER                       = 0x8B31,
01379         GL_MAX_VERTEX_UNIFORM_COMPONENTS       = 0x8B4A,
01380         GL_MAX_VARYING_FLOATS                  = 0x8B4B,
01381         GL_MAX_VERTEX_ATTRIBS                  = 0x8869,
01382         GL_MAX_TEXTURE_IMAGE_UNITS             = 0x8872,
01383         GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS      = 0x8B4C,
01384         GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS    = 0x8B4D,
01385         GL_MAX_TEXTURE_COORDS                  = 0x8871,
01386         GL_VERTEX_PROGRAM_POINT_SIZE           = 0x8642,
01387         GL_VERTEX_PROGRAM_TWO_SIDE             = 0x8643,
01388         GL_ACTIVE_ATTRIBUTES                   = 0x8B89,
01389         GL_ACTIVE_ATTRIBUTE_MAX_LENGTH         = 0x8B8A,
01390         GL_OBJECT_ACTIVE_ATTRIBUTES            = GL_ACTIVE_ATTRIBUTES,
01391         GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH  = GL_ACTIVE_ATTRIBUTE_MAX_LENGTH,
01392         GL_VERTEX_ATTRIB_ARRAY_ENABLED         = 0x8622,
01393         GL_VERTEX_ATTRIB_ARRAY_SIZE            = 0x8623,
01394         GL_VERTEX_ATTRIB_ARRAY_STRIDE          = 0x8624,
01395         GL_VERTEX_ATTRIB_ARRAY_TYPE            = 0x8625,
01396         GL_VERTEX_ATTRIB_ARRAY_NORMALIZED      = 0x886A,
01397         GL_CURRENT_VERTEX_ATTRIB               = 0x8626,
01398         GL_VERTEX_ATTRIB_ARRAY_POINTER         = 0x8645,
01399         GL_FLOAT_VEC2                          = 0x8B50,
01400         GL_FLOAT_VEC3                          = 0x8B51,
01401         GL_FLOAT_VEC4                          = 0x8B52,
01402 
01403 #endif
01404 #ifndef GL_FRAGMENT_SHADER
01405         // ARB_fragment_shader:
01406 
01407         GL_FRAGMENT_SHADER                     = 0x8B30,
01408         GL_MAX_FRAGMENT_UNIFORM_COMPONENTS     = 0x8B49,
01409         GL_FRAGMENT_SHADER_DERIVATIVE_HINT     = 0x8B8B,
01410 
01411 #endif
01412 #ifndef GL_MAX_DRAW_BUFFERS
01413         // ARB_draw_buffers:
01414 
01415         GL_MAX_DRAW_BUFFERS                    = 0x8824,
01416         GL_DRAW_BUFFER0                        = 0x8825,
01417         GL_DRAW_BUFFER1                        = 0x8826,
01418         GL_DRAW_BUFFER2                        = 0x8827,
01419         GL_DRAW_BUFFER3                        = 0x8828,
01420         GL_DRAW_BUFFER4                        = 0x8829,
01421         GL_DRAW_BUFFER5                        = 0x882A,
01422         GL_DRAW_BUFFER6                        = 0x882B,
01423         GL_DRAW_BUFFER7                        = 0x882C,
01424         GL_DRAW_BUFFER8                        = 0x882D,
01425         GL_DRAW_BUFFER9                        = 0x882E,
01426         GL_DRAW_BUFFER10                       = 0x882F,
01427         GL_DRAW_BUFFER11                       = 0x8830,
01428         GL_DRAW_BUFFER12                       = 0x8831,
01429         GL_DRAW_BUFFER13                       = 0x8832,
01430         GL_DRAW_BUFFER14                       = 0x8833,
01431         GL_DRAW_BUFFER15                       = 0x8834,
01432 
01433 #endif
01434 #ifndef GL_POINT_SPRITE
01435         // ARB_point_sprite:
01436 
01437         GL_POINT_SPRITE                        = 0x8861,
01438         GL_COORD_REPLACE                       = 0x8862,
01439         GL_POINT_SPRITE_COORD_ORIGIN           = 0x8CA0,
01440         GL_LOWER_LEFT                          = 0x8CA1,
01441         GL_UPPER_LEFT                          = 0x8CA2,
01442 
01443 #endif
01444 #ifndef GL_STENCIL_BACK_FUNC
01445         // ATI_separate_stencil:
01446 
01447         GL_STENCIL_BACK_FUNC                   = 0x8800,
01448         GL_STENCIL_BACK_FAIL                   = 0x8801,
01449         GL_STENCIL_BACK_PASS_DEPTH_FAIL        = 0x8802,
01450         GL_STENCIL_BACK_PASS_DEPTH_PASS        = 0x8803,
01451 
01452 #endif
01453 #ifndef GL_STENCIL_TEST_TWO_SIDE
01454         // EXT_stencil_two_side additional states:
01455 
01456         GL_STENCIL_TEST_TWO_SIDE               = 0x8910,
01457         GL_ACTIVE_STENCIL_FACE                 = 0x8911,
01458 
01459 #endif
01460 #ifndef GL_FRAMEBUFFER
01461         // EXT_framebuffer_object:
01462 
01463         GL_FRAMEBUFFER                         = 0x8D40,
01464         GL_RENDERBUFFER                        = 0x8D41,
01465         GL_STENCIL_INDEX1                      = 0x8D46,
01466         GL_STENCIL_INDEX4                      = 0x8D47,
01467         GL_STENCIL_INDEX8                      = 0x8D48,
01468         GL_STENCIL_INDEX16                     = 0x8D49,
01469         GL_RENDERBUFFER_WIDTH                  = 0x8D42,
01470         GL_RENDERBUFFER_HEIGHT                 = 0x8D43,
01471         GL_RENDERBUFFER_INTERNAL_FORMAT        = 0x8D44,
01472         GL_RENDERBUFFER_RED_SIZE               = 0x8D50,
01473         GL_RENDERBUFFER_GREEN_SIZE             = 0x8D51,
01474         GL_RENDERBUFFER_BLUE_SIZE              = 0x8D52,
01475         GL_RENDERBUFFER_ALPHA_SIZE             = 0x8D53,
01476         GL_RENDERBUFFER_DEPTH_SIZE             = 0x8D54,
01477         GL_RENDERBUFFER_STENCIL_SIZE           = 0x8D55,
01478         GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE              = 0x8CD0,
01479         GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME              = 0x8CD1,
01480         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL            = 0x8CD2,
01481         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE    = 0x8CD3,
01482         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET       = 0x8CD4,
01483         GL_COLOR_ATTACHMENT0                   = 0x8CE0,
01484         GL_COLOR_ATTACHMENT1                   = 0x8CE1,
01485         GL_COLOR_ATTACHMENT2                   = 0x8CE2,
01486         GL_COLOR_ATTACHMENT3                   = 0x8CE3,
01487         GL_COLOR_ATTACHMENT4                   = 0x8CE4,
01488         GL_COLOR_ATTACHMENT5                   = 0x8CE5,
01489         GL_COLOR_ATTACHMENT6                   = 0x8CE6,
01490         GL_COLOR_ATTACHMENT7                   = 0x8CE7,
01491         GL_COLOR_ATTACHMENT8                   = 0x8CE8,
01492         GL_COLOR_ATTACHMENT9                   = 0x8CE9,
01493         GL_COLOR_ATTACHMENT10                  = 0x8CEA,
01494         GL_COLOR_ATTACHMENT11                  = 0x8CEB,
01495         GL_COLOR_ATTACHMENT12                  = 0x8CEC,
01496         GL_COLOR_ATTACHMENT13                  = 0x8CED,
01497         GL_COLOR_ATTACHMENT14                  = 0x8CEE,
01498         GL_COLOR_ATTACHMENT15                  = 0x8CEF,
01499         GL_DEPTH_ATTACHMENT                    = 0x8D00,
01500         GL_STENCIL_ATTACHMENT                  = 0x8D20,
01501         GL_FRAMEBUFFER_COMPLETE                            = 0x8CD5,
01502         GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT               = 0x8CD6,
01503         GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT       = 0x8CD7,
01504         GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS               = 0x8CD9,
01505         GL_FRAMEBUFFER_INCOMPLETE_FORMATS                  = 0x8CDA,
01506         GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER              = 0x8CDB,
01507         GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER              = 0x8CDC,
01508         GL_FRAMEBUFFER_UNSUPPORTED                         = 0x8CDD,
01509         GL_FRAMEBUFFER_BINDING                 = 0x8CA6,
01510         GL_RENDERBUFFER_BINDING                = 0x8CA7,
01511         GL_MAX_COLOR_ATTACHMENTS               = 0x8CDF,
01512         GL_MAX_RENDERBUFFER_SIZE               = 0x84E8,
01513         GL_INVALID_FRAMEBUFFER_OPERATION       = 0x0506,
01514 
01515 #endif
01516 #ifndef GL_COMPRESSED_RGB_S3TC_DXT1_EXT
01517         // EXT_texture_compression_s3tc:
01518 
01519         GL_COMPRESSED_RGB_S3TC_DXT1_EXT        = 0x83F0,
01520         GL_COMPRESSED_RGBA_S3TC_DXT1_EXT       = 0x83F1,
01521         GL_COMPRESSED_RGBA_S3TC_DXT3_EXT       = 0x83F2,
01522         GL_COMPRESSED_RGBA_S3TC_DXT5_EXT       = 0x83F3,
01523 
01524 #endif
01525 #ifndef GL_READ_FRAMEBUFFER
01526         // EXT_framebuffer_blit:
01527 
01528         GL_READ_FRAMEBUFFER                    = 0x8CA8,
01529         GL_DRAW_FRAMEBUFFER                    = 0x8CA9,
01530         GL_DRAW_FRAMEBUFFER_BINDING            = 0x8CA6, // alias GL_FRAMEBUFFER_BINDING
01531         GL_READ_FRAMEBUFFER_BINDING            = 0x8CAA
01532 #endif
01533 };
01534 
01535 #endif
01536