opengl_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 **    Mark Page
00028 */
00029 
00032 
00033 #pragma once
00034 #include "api_gl.h"
00035 
00036 #include "../Core/System/cl_platform.h"
00037 
00038 #ifdef __APPLE__
00039 #include <OpenGLES/ES2/gl.h>
00040 #include <OpenGLES/ES2/glext.h>
00041 #else
00042 #include <GL/gl.h>
00043 #ifdef __MINGW32__//MinGW32 Does not define most GL Functions needed
00044 #include <gl/glext.h> //Because they are treated as extensions
00045 #endif
00046 #endif
00047 
00048 #ifndef CL_DISPLAYDEFINES_DEFINES
00049 #define CL_DISPLAYDEFINES_DEFINES
00050 
00051 #include <cstddef>
00052 
00053 typedef unsigned int GLenum;
00054 typedef unsigned char GLboolean;
00055 typedef unsigned int GLbitfield;
00056 typedef signed char GLbyte;
00057 typedef short GLshort;
00058 typedef int GLint;
00059 typedef int GLsizei;
00060 typedef unsigned char GLubyte;
00061 typedef unsigned short GLushort;
00062 typedef unsigned int GLuint;
00063 typedef cl_byte64 CLint64;
00064 typedef cl_ubyte64 CLuint64;
00065 typedef float GLfloat;
00066 typedef float GLclampf;
00067 typedef double GLdouble;
00068 typedef double GLclampd;
00069 typedef void GLvoid;
00070 typedef char GLchar;
00071 typedef ptrdiff_t GLintptr;
00072 typedef ptrdiff_t GLsizeiptr;
00073 typedef struct __CLsync *CLsync;
00074 
00075 typedef void * CLDEBUGPROCARB;
00076 
00080 enum CL_DisplayDefines
00081 {
00082         // AttribMask
00083 #ifndef GL_DEPTH_BUFFER_BIT
00084         GL_DEPTH_BUFFER_BIT               = 0x00000100,
00085         GL_STENCIL_BUFFER_BIT             = 0x00000400,
00086         GL_COLOR_BUFFER_BIT               = 0x00004000,
00087         // Boolean
00088 #endif
00089 #ifndef GL_FALSE
00090         GL_FALSE                          = 0,
00091         GL_TRUE                           = 1,
00092         // BeginMode
00093 #endif
00094 #ifndef GL_POINTS
00095         GL_POINTS                         = 0x0000,
00096         GL_LINES                          = 0x0001,
00097         GL_LINE_LOOP                      = 0x0002,
00098         GL_LINE_STRIP                     = 0x0003,
00099         GL_TRIANGLES                      = 0x0004,
00100         GL_TRIANGLE_STRIP                 = 0x0005,
00101         GL_TRIANGLE_FAN                   = 0x0006,
00102         // AlphaFunction
00103 #endif
00104 #ifndef GL_NEVER
00105         GL_NEVER                          = 0x0200,
00106         GL_LESS                           = 0x0201,
00107         GL_EQUAL                          = 0x0202,
00108         GL_LEQUAL                         = 0x0203,
00109         GL_GREATER                        = 0x0204,
00110         GL_NOTEQUAL                       = 0x0205,
00111         GL_GEQUAL                         = 0x0206,
00112         GL_ALWAYS                         = 0x0207,
00113         // BlendingFactorDest
00114 #endif
00115 #ifndef GL_ZERO
00116         GL_ZERO                           = 0,
00117         GL_ONE                            = 1,
00118         GL_SRC_COLOR                      = 0x0300,
00119         GL_ONE_MINUS_SRC_COLOR            = 0x0301,
00120         GL_SRC_ALPHA                      = 0x0302,
00121         GL_ONE_MINUS_SRC_ALPHA            = 0x0303,
00122         GL_DST_ALPHA                      = 0x0304,
00123         GL_ONE_MINUS_DST_ALPHA            = 0x0305,
00124         // BlendingFactorSrc
00125 #endif
00126 #ifndef GL_DST_COLOR
00127         GL_DST_COLOR                      = 0x0306,
00128         GL_ONE_MINUS_DST_COLOR            = 0x0307,
00129         GL_SRC_ALPHA_SATURATE             = 0x0308,
00130         // DrawBufferMode
00131 #endif
00132 #ifndef GL_NONE
00133         GL_NONE                           = 0,
00134         GL_FRONT_LEFT                     = 0x0400,
00135         GL_FRONT_RIGHT                    = 0x0401,
00136         GL_BACK_LEFT                      = 0x0402,
00137         GL_BACK_RIGHT                     = 0x0403,
00138         GL_FRONT                          = 0x0404,
00139         GL_BACK                           = 0x0405,
00140         GL_LEFT                           = 0x0406,
00141         GL_RIGHT                          = 0x0407,
00142         GL_FRONT_AND_BACK                 = 0x0408,
00143         // ErrorCode
00144 #endif
00145 #ifndef GL_NO_ERROR
00146         GL_NO_ERROR                       = 0,
00147         GL_INVALID_ENUM                   = 0x0500,
00148         GL_INVALID_VALUE                  = 0x0501,
00149         GL_INVALID_OPERATION              = 0x0502,
00150         GL_OUT_OF_MEMORY                  = 0x0505,
00151         // FrontFaceDirection
00152 #endif
00153 #ifndef GL_CW
00154         GL_CW                             = 0x0900,
00155         GL_CCW                            = 0x0901,
00156         // GetPName
00157 #endif
00158 #ifndef GL_POINT_SIZE
00159         GL_POINT_SIZE                     = 0x0B11,
00160         GL_POINT_SIZE_RANGE               = 0x0B12,
00161         GL_POINT_SIZE_GRANULARITY         = 0x0B13,
00162         GL_LINE_SMOOTH                    = 0x0B20,
00163         GL_LINE_WIDTH                     = 0x0B21,
00164         GL_LINE_WIDTH_RANGE               = 0x0B22,
00165         GL_LINE_WIDTH_GRANULARITY         = 0x0B23,
00166         GL_POLYGON_SMOOTH                 = 0x0B41,
00167         GL_CULL_FACE                      = 0x0B44,
00168         GL_CULL_FACE_MODE                 = 0x0B45,
00169         GL_FRONT_FACE                     = 0x0B46,
00170         GL_DEPTH_RANGE                    = 0x0B70,
00171         GL_DEPTH_TEST                     = 0x0B71,
00172         GL_DEPTH_WRITEMASK                = 0x0B72,
00173         GL_DEPTH_CLEAR_VALUE              = 0x0B73,
00174         GL_DEPTH_FUNC                     = 0x0B74,
00175         GL_STENCIL_TEST                   = 0x0B90,
00176         GL_STENCIL_CLEAR_VALUE            = 0x0B91,
00177         GL_STENCIL_FUNC                   = 0x0B92,
00178         GL_STENCIL_VALUE_MASK             = 0x0B93,
00179         GL_STENCIL_FAIL                   = 0x0B94,
00180         GL_STENCIL_PASS_DEPTH_FAIL        = 0x0B95,
00181         GL_STENCIL_PASS_DEPTH_PASS        = 0x0B96,
00182         GL_STENCIL_REF                    = 0x0B97,
00183         GL_STENCIL_WRITEMASK              = 0x0B98,
00184         GL_VIEWPORT                       = 0x0BA2,
00185         GL_DITHER                         = 0x0BD0,
00186         GL_BLEND_DST                      = 0x0BE0,
00187         GL_BLEND_SRC                      = 0x0BE1,
00188         GL_BLEND                          = 0x0BE2,
00189         GL_LOGIC_OP_MODE                  = 0x0BF0,
00190         GL_COLOR_LOGIC_OP                 = 0x0BF2,
00191         GL_DRAW_BUFFER                    = 0x0C01,
00192         GL_READ_BUFFER                    = 0x0C02,
00193         GL_SCISSOR_BOX                    = 0x0C10,
00194         GL_SCISSOR_TEST                   = 0x0C11,
00195         GL_COLOR_CLEAR_VALUE              = 0x0C22,
00196         GL_COLOR_WRITEMASK                = 0x0C23,
00197         GL_DOUBLEBUFFER                   = 0x0C32,
00198         GL_STEREO                         = 0x0C33,
00199         GL_LINE_SMOOTH_HINT               = 0x0C52,
00200         GL_POLYGON_SMOOTH_HINT            = 0x0C53,
00201         GL_UNPACK_SWAP_BYTES              = 0x0CF0,
00202         GL_UNPACK_LSB_FIRST               = 0x0CF1,
00203         GL_UNPACK_ROW_LENGTH              = 0x0CF2,
00204         GL_UNPACK_SKIP_ROWS               = 0x0CF3,
00205         GL_UNPACK_SKIP_PIXELS             = 0x0CF4,
00206         GL_UNPACK_ALIGNMENT               = 0x0CF5,
00207         GL_PACK_SWAP_BYTES                = 0x0D00,
00208         GL_PACK_LSB_FIRST                 = 0x0D01,
00209         GL_PACK_ROW_LENGTH                = 0x0D02,
00210         GL_PACK_SKIP_ROWS                 = 0x0D03,
00211         GL_PACK_SKIP_PIXELS               = 0x0D04,
00212         GL_PACK_ALIGNMENT                 = 0x0D05,
00213         GL_MAX_TEXTURE_SIZE               = 0x0D33,
00214         GL_MAX_VIEWPORT_DIMS              = 0x0D3A,
00215         GL_SUBPIXEL_BITS                  = 0x0D50,
00216         GL_TEXTURE_1D                     = 0x0DE0,
00217         GL_TEXTURE_2D                     = 0x0DE1,
00218         GL_POLYGON_OFFSET_UNITS           = 0x2A00,
00219         GL_POLYGON_OFFSET_POINT           = 0x2A01,
00220         GL_POLYGON_OFFSET_LINE            = 0x2A02,
00221         GL_POLYGON_OFFSET_FILL            = 0x8037,
00222         GL_POLYGON_OFFSET_FACTOR          = 0x8038,
00223         GL_TEXTURE_BINDING_1D             = 0x8068,
00224         GL_TEXTURE_BINDING_2D             = 0x8069,
00225         // GetTextureParameter
00226 #endif
00227 #ifndef GL_TEXTURE_WIDTH
00228         GL_TEXTURE_WIDTH                  = 0x1000,
00229         GL_TEXTURE_HEIGHT                 = 0x1001,
00230         GL_TEXTURE_INTERNAL_FORMAT        = 0x1003,
00231         GL_TEXTURE_BORDER_COLOR           = 0x1004,
00232         GL_TEXTURE_RED_SIZE               = 0x805C,
00233         GL_TEXTURE_GREEN_SIZE             = 0x805D,
00234         GL_TEXTURE_BLUE_SIZE              = 0x805E,
00235         GL_TEXTURE_ALPHA_SIZE             = 0x805F,
00236         // HintMode
00237 #endif
00238 #ifndef GL_DONT_CARE
00239         GL_DONT_CARE                      = 0x1100,
00240         GL_FASTEST                        = 0x1101,
00241         GL_NICEST                         = 0x1102,
00242         // DataType
00243 #endif
00244 #ifndef GL_BYTE
00245         GL_BYTE                           = 0x1400,
00246         GL_UNSIGNED_BYTE                  = 0x1401,
00247         GL_SHORT                          = 0x1402,
00248         GL_UNSIGNED_SHORT                 = 0x1403,
00249         GL_INT                            = 0x1404,
00250         GL_UNSIGNED_INT                   = 0x1405,
00251         GL_FLOAT                          = 0x1406,
00252         GL_DOUBLE                         = 0x140A,
00253         // LogicOp
00254 #endif
00255 #ifndef GL_CLEAR
00256         GL_CLEAR                          = 0x1500,
00257         GL_AND                            = 0x1501,
00258         GL_AND_REVERSE                    = 0x1502,
00259         GL_COPY                           = 0x1503,
00260         GL_AND_INVERTED                   = 0x1504,
00261         GL_NOOP                           = 0x1505,
00262         GL_XOR                            = 0x1506,
00263         GL_OR                             = 0x1507,
00264         GL_NOR                            = 0x1508,
00265         GL_EQUIV                          = 0x1509,
00266         GL_INVERT                         = 0x150A,
00267         GL_OR_REVERSE                     = 0x150B,
00268         GL_COPY_INVERTED                  = 0x150C,
00269         GL_OR_INVERTED                    = 0x150D,
00270         GL_NAND                           = 0x150E,
00271         GL_SET                            = 0x150F,
00272         // MatrixMode (for gl3.h, FBO attachment type)
00273 #endif
00274 #ifndef GL_TEXTURE
00275         GL_TEXTURE                        = 0x1702,
00276         // PixelCopyType
00277 #endif
00278 #ifndef GL_COLOR
00279         GL_COLOR                          = 0x1800,
00280         GL_DEPTH                          = 0x1801,
00281         GL_STENCIL                        = 0x1802,
00282         // PixelFormat
00283 #endif
00284 #ifndef GL_STENCIL_INDEX
00285         GL_STENCIL_INDEX                  = 0x1901,
00286         GL_DEPTH_COMPONENT                = 0x1902,
00287         GL_RED                            = 0x1903,
00288         GL_GREEN                          = 0x1904,
00289         GL_BLUE                           = 0x1905,
00290         GL_ALPHA                          = 0x1906,
00291         GL_RGB                            = 0x1907,
00292         GL_RGBA                           = 0x1908,
00293         // PolygonMode
00294 #endif
00295 #ifndef GL_POINT
00296         GL_POINT                          = 0x1B00,
00297         GL_LINE                           = 0x1B01,
00298         GL_FILL                           = 0x1B02,
00299         // StencilOp
00300 #endif
00301 #ifndef GL_KEEP
00302         GL_KEEP                           = 0x1E00,
00303         GL_REPLACE                        = 0x1E01,
00304         GL_INCR                           = 0x1E02,
00305         GL_DECR                           = 0x1E03,
00306         // StringName
00307 #endif
00308 #ifndef GL_VENDOR
00309         GL_VENDOR                         = 0x1F00,
00310         GL_RENDERER                       = 0x1F01,
00311         GL_VERSION                        = 0x1F02,
00312         GL_EXTENSIONS                     = 0x1F03,
00313         // TextureMagFilter
00314 #endif
00315 #ifndef GL_NEAREST
00316         GL_NEAREST                        = 0x2600,
00317         GL_LINEAR                         = 0x2601,
00318         // TextureMinFilter
00319 #endif
00320 #ifndef GL_NEAREST_MIPMAP_NEAREST
00321         GL_NEAREST_MIPMAP_NEAREST         = 0x2700,
00322         GL_LINEAR_MIPMAP_NEAREST          = 0x2701,
00323         GL_NEAREST_MIPMAP_LINEAR          = 0x2702,
00324         GL_LINEAR_MIPMAP_LINEAR           = 0x2703,
00325         // TextureParameterName
00326 #endif
00327 #ifndef GL_TEXTURE_MAG_FILTER
00328         GL_TEXTURE_MAG_FILTER             = 0x2800,
00329         GL_TEXTURE_MIN_FILTER             = 0x2801,
00330         GL_TEXTURE_WRAP_S                 = 0x2802,
00331         GL_TEXTURE_WRAP_T                 = 0x2803,
00332         // TextureTarget
00333 #endif
00334 #ifndef GL_PROXY_TEXTURE_1D
00335         GL_PROXY_TEXTURE_1D               = 0x8063,
00336         GL_PROXY_TEXTURE_2D               = 0x8064,
00337         // TextureWrapMode
00338 #endif
00339 #ifndef GL_REPEAT
00340         GL_REPEAT                         = 0x2901,
00341         // PixelInternalFormat
00342 #endif
00343 #ifndef GL_R3_G3_B2
00344         GL_R3_G3_B2                       = 0x2A10,
00345         GL_RGB4                           = 0x804F,
00346         GL_RGB5                           = 0x8050,
00347         GL_RGB8                           = 0x8051,
00348         GL_RGB10                          = 0x8052,
00349         GL_RGB12                          = 0x8053,
00350         GL_RGB16                          = 0x8054,
00351         GL_RGBA2                          = 0x8055,
00352         GL_RGBA4                          = 0x8056,
00353         GL_RGB5_A1                        = 0x8057,
00354         GL_RGBA8                          = 0x8058,
00355         GL_RGB10_A2                       = 0x8059,
00356         GL_RGBA12                         = 0x805A,
00357         GL_RGBA16                         = 0x805B,
00358 #endif
00359 
00360 #ifndef GL_UNSIGNED_BYTE_3_3_2
00361         GL_UNSIGNED_BYTE_3_3_2            = 0x8032,
00362         GL_UNSIGNED_SHORT_4_4_4_4         = 0x8033,
00363         GL_UNSIGNED_SHORT_5_5_5_1         = 0x8034,
00364         GL_UNSIGNED_INT_8_8_8_8           = 0x8035,
00365         GL_UNSIGNED_INT_10_10_10_2        = 0x8036,
00366         GL_TEXTURE_BINDING_3D             = 0x806A,
00367         GL_PACK_SKIP_IMAGES               = 0x806B,
00368         GL_PACK_IMAGE_HEIGHT              = 0x806C,
00369         GL_UNPACK_SKIP_IMAGES             = 0x806D,
00370         GL_UNPACK_IMAGE_HEIGHT            = 0x806E,
00371         GL_TEXTURE_3D                     = 0x806F,
00372         GL_PROXY_TEXTURE_3D               = 0x8070,
00373         GL_TEXTURE_DEPTH                  = 0x8071,
00374         GL_TEXTURE_WRAP_R                 = 0x8072,
00375         GL_MAX_3D_TEXTURE_SIZE            = 0x8073,
00376         GL_UNSIGNED_BYTE_2_3_3_REV        = 0x8362,
00377         GL_UNSIGNED_SHORT_5_6_5           = 0x8363,
00378         GL_UNSIGNED_SHORT_5_6_5_REV       = 0x8364,
00379         GL_UNSIGNED_SHORT_4_4_4_4_REV     = 0x8365,
00380         GL_UNSIGNED_SHORT_1_5_5_5_REV     = 0x8366,
00381         GL_UNSIGNED_INT_8_8_8_8_REV       = 0x8367,
00382         GL_UNSIGNED_INT_2_10_10_10_REV    = 0x8368,
00383         GL_BGR                            = 0x80E0,
00384         GL_BGRA                           = 0x80E1,
00385         GL_MAX_ELEMENTS_VERTICES          = 0x80E8,
00386         GL_MAX_ELEMENTS_INDICES           = 0x80E9,
00387         GL_CLAMP_TO_EDGE                  = 0x812F,
00388         GL_TEXTURE_MIN_LOD                = 0x813A,
00389         GL_TEXTURE_MAX_LOD                = 0x813B,
00390         GL_TEXTURE_BASE_LEVEL             = 0x813C,
00391         GL_TEXTURE_MAX_LEVEL              = 0x813D,
00392         GL_SMOOTH_POINT_SIZE_RANGE        = 0x0B12,
00393         GL_SMOOTH_POINT_SIZE_GRANULARITY  = 0x0B13,
00394         GL_SMOOTH_LINE_WIDTH_RANGE        = 0x0B22,
00395         GL_SMOOTH_LINE_WIDTH_GRANULARITY  = 0x0B23,
00396         GL_ALIASED_LINE_WIDTH_RANGE       = 0x846E,
00397 #endif
00398 
00399 #ifndef GL_CONSTANT_COLOR
00400 
00401         GL_CONSTANT_COLOR                 = 0x8001,
00402         GL_ONE_MINUS_CONSTANT_COLOR       = 0x8002,
00403         GL_CONSTANT_ALPHA                 = 0x8003,
00404         GL_ONE_MINUS_CONSTANT_ALPHA       = 0x8004,
00405         GL_BLEND_COLOR                    = 0x8005,
00406         GL_FUNC_ADD                       = 0x8006,
00407         GL_MIN                            = 0x8007,
00408         GL_MAX                            = 0x8008,
00409         GL_BLEND_EQUATION                 = 0x8009,
00410         GL_FUNC_SUBTRACT                  = 0x800A,
00411         GL_FUNC_REVERSE_SUBTRACT          = 0x800B,
00412 #endif
00413 
00414 #ifndef GL_TEXTURE0
00415 
00416         GL_TEXTURE0                       = 0x84C0,
00417         GL_TEXTURE1                       = 0x84C1,
00418         GL_TEXTURE2                       = 0x84C2,
00419         GL_TEXTURE3                       = 0x84C3,
00420         GL_TEXTURE4                       = 0x84C4,
00421         GL_TEXTURE5                       = 0x84C5,
00422         GL_TEXTURE6                       = 0x84C6,
00423         GL_TEXTURE7                       = 0x84C7,
00424         GL_TEXTURE8                       = 0x84C8,
00425         GL_TEXTURE9                       = 0x84C9,
00426         GL_TEXTURE10                      = 0x84CA,
00427         GL_TEXTURE11                      = 0x84CB,
00428         GL_TEXTURE12                      = 0x84CC,
00429         GL_TEXTURE13                      = 0x84CD,
00430         GL_TEXTURE14                      = 0x84CE,
00431         GL_TEXTURE15                      = 0x84CF,
00432         GL_TEXTURE16                      = 0x84D0,
00433         GL_TEXTURE17                      = 0x84D1,
00434         GL_TEXTURE18                      = 0x84D2,
00435         GL_TEXTURE19                      = 0x84D3,
00436         GL_TEXTURE20                      = 0x84D4,
00437         GL_TEXTURE21                      = 0x84D5,
00438         GL_TEXTURE22                      = 0x84D6,
00439         GL_TEXTURE23                      = 0x84D7,
00440         GL_TEXTURE24                      = 0x84D8,
00441         GL_TEXTURE25                      = 0x84D9,
00442         GL_TEXTURE26                      = 0x84DA,
00443         GL_TEXTURE27                      = 0x84DB,
00444         GL_TEXTURE28                      = 0x84DC,
00445         GL_TEXTURE29                      = 0x84DD,
00446         GL_TEXTURE30                      = 0x84DE,
00447         GL_TEXTURE31                      = 0x84DF,
00448         GL_ACTIVE_TEXTURE                 = 0x84E0,
00449         GL_MULTISAMPLE                    = 0x809D,
00450         GL_SAMPLE_ALPHA_TO_COVERAGE       = 0x809E,
00451         GL_SAMPLE_ALPHA_TO_ONE            = 0x809F,
00452         GL_SAMPLE_COVERAGE                = 0x80A0,
00453         GL_SAMPLE_BUFFERS                 = 0x80A8,
00454         GL_SAMPLES                        = 0x80A9,
00455         GL_SAMPLE_COVERAGE_VALUE          = 0x80AA,
00456         GL_SAMPLE_COVERAGE_INVERT         = 0x80AB,
00457         GL_TEXTURE_CUBE_MAP               = 0x8513,
00458         GL_TEXTURE_BINDING_CUBE_MAP       = 0x8514,
00459         GL_TEXTURE_CUBE_MAP_POSITIVE_X    = 0x8515,
00460         GL_TEXTURE_CUBE_MAP_NEGATIVE_X    = 0x8516,
00461         GL_TEXTURE_CUBE_MAP_POSITIVE_Y    = 0x8517,
00462         GL_TEXTURE_CUBE_MAP_NEGATIVE_Y    = 0x8518,
00463         GL_TEXTURE_CUBE_MAP_POSITIVE_Z    = 0x8519,
00464         GL_TEXTURE_CUBE_MAP_NEGATIVE_Z    = 0x851A,
00465         GL_PROXY_TEXTURE_CUBE_MAP         = 0x851B,
00466         GL_MAX_CUBE_MAP_TEXTURE_SIZE      = 0x851C,
00467         GL_COMPRESSED_RGB                 = 0x84ED,
00468         GL_COMPRESSED_RGBA                = 0x84EE,
00469         GL_TEXTURE_COMPRESSION_HINT       = 0x84EF,
00470         GL_TEXTURE_COMPRESSED_IMAGE_SIZE  = 0x86A0,
00471         GL_TEXTURE_COMPRESSED             = 0x86A1,
00472         GL_NUM_COMPRESSED_TEXTURE_FORMATS = 0x86A2,
00473         GL_COMPRESSED_TEXTURE_FORMATS     = 0x86A3,
00474         GL_CLAMP_TO_BORDER                = 0x812D,
00475 #endif
00476 
00477 #ifndef GL_BLEND_DST_RGB
00478 
00479         GL_BLEND_DST_RGB                  = 0x80C8,
00480         GL_BLEND_SRC_RGB                  = 0x80C9,
00481         GL_BLEND_DST_ALPHA                = 0x80CA,
00482         GL_BLEND_SRC_ALPHA                = 0x80CB,
00483         GL_POINT_FADE_THRESHOLD_SIZE      = 0x8128,
00484         GL_DEPTH_COMPONENT16              = 0x81A5,
00485         GL_DEPTH_COMPONENT24              = 0x81A6,
00486         GL_DEPTH_COMPONENT32              = 0x81A7,
00487         GL_MIRRORED_REPEAT                = 0x8370,
00488         GL_MAX_TEXTURE_LOD_BIAS           = 0x84FD,
00489         GL_TEXTURE_LOD_BIAS               = 0x8501,
00490         GL_INCR_WRAP                      = 0x8507,
00491         GL_DECR_WRAP                      = 0x8508,
00492         GL_TEXTURE_DEPTH_SIZE             = 0x884A,
00493         GL_TEXTURE_COMPARE_MODE           = 0x884C,
00494         GL_TEXTURE_COMPARE_FUNC           = 0x884D,
00495 #endif
00496 
00497 #ifndef GL_BUFFER_SIZE
00498 
00499         GL_BUFFER_SIZE                    = 0x8764,
00500         GL_BUFFER_USAGE                   = 0x8765,
00501         GL_QUERY_COUNTER_BITS             = 0x8864,
00502         GL_CURRENT_QUERY                  = 0x8865,
00503         GL_QUERY_RESULT                   = 0x8866,
00504         GL_QUERY_RESULT_AVAILABLE         = 0x8867,
00505         GL_ARRAY_BUFFER                   = 0x8892,
00506         GL_ELEMENT_ARRAY_BUFFER           = 0x8893,
00507         GL_ARRAY_BUFFER_BINDING           = 0x8894,
00508         GL_ELEMENT_ARRAY_BUFFER_BINDING   = 0x8895,
00509         GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F,
00510         GL_READ_ONLY                      = 0x88B8,
00511         GL_WRITE_ONLY                     = 0x88B9,
00512         GL_READ_WRITE                     = 0x88BA,
00513         GL_BUFFER_ACCESS                  = 0x88BB,
00514         GL_BUFFER_MAPPED                  = 0x88BC,
00515         GL_BUFFER_MAP_POINTER             = 0x88BD,
00516         GL_STREAM_DRAW                    = 0x88E0,
00517         GL_STREAM_READ                    = 0x88E1,
00518         GL_STREAM_COPY                    = 0x88E2,
00519         GL_STATIC_DRAW                    = 0x88E4,
00520         GL_STATIC_READ                    = 0x88E5,
00521         GL_STATIC_COPY                    = 0x88E6,
00522         GL_DYNAMIC_DRAW                   = 0x88E8,
00523         GL_DYNAMIC_READ                   = 0x88E9,
00524         GL_DYNAMIC_COPY                   = 0x88EA,
00525         GL_SAMPLES_PASSED                 = 0x8914,
00526 #endif
00527 
00528 #ifndef GL_BLEND_EQUATION_RGB
00529 
00530         GL_BLEND_EQUATION_RGB             = 0x8009,
00531         GL_VERTEX_ATTRIB_ARRAY_ENABLED    = 0x8622,
00532         GL_VERTEX_ATTRIB_ARRAY_SIZE       = 0x8623,
00533         GL_VERTEX_ATTRIB_ARRAY_STRIDE     = 0x8624,
00534         GL_VERTEX_ATTRIB_ARRAY_TYPE       = 0x8625,
00535         GL_CURRENT_VERTEX_ATTRIB          = 0x8626,
00536         GL_VERTEX_PROGRAM_POINT_SIZE      = 0x8642,
00537         GL_VERTEX_ATTRIB_ARRAY_POINTER    = 0x8645,
00538         GL_STENCIL_BACK_FUNC              = 0x8800,
00539         GL_STENCIL_BACK_FAIL              = 0x8801,
00540         GL_STENCIL_BACK_PASS_DEPTH_FAIL   = 0x8802,
00541         GL_STENCIL_BACK_PASS_DEPTH_PASS   = 0x8803,
00542         GL_MAX_DRAW_BUFFERS               = 0x8824,
00543         GL_DRAW_BUFFER0                   = 0x8825,
00544         GL_DRAW_BUFFER1                   = 0x8826,
00545         GL_DRAW_BUFFER2                   = 0x8827,
00546         GL_DRAW_BUFFER3                   = 0x8828,
00547         GL_DRAW_BUFFER4                   = 0x8829,
00548         GL_DRAW_BUFFER5                   = 0x882A,
00549         GL_DRAW_BUFFER6                   = 0x882B,
00550         GL_DRAW_BUFFER7                   = 0x882C,
00551         GL_DRAW_BUFFER8                   = 0x882D,
00552         GL_DRAW_BUFFER9                   = 0x882E,
00553         GL_DRAW_BUFFER10                  = 0x882F,
00554         GL_DRAW_BUFFER11                  = 0x8830,
00555         GL_DRAW_BUFFER12                  = 0x8831,
00556         GL_DRAW_BUFFER13                  = 0x8832,
00557         GL_DRAW_BUFFER14                  = 0x8833,
00558         GL_DRAW_BUFFER15                  = 0x8834,
00559         GL_BLEND_EQUATION_ALPHA           = 0x883D,
00560         GL_MAX_VERTEX_ATTRIBS             = 0x8869,
00561         GL_VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A,
00562         GL_MAX_TEXTURE_IMAGE_UNITS        = 0x8872,
00563         GL_FRAGMENT_SHADER                = 0x8B30,
00564         GL_VERTEX_SHADER                  = 0x8B31,
00565         GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 0x8B49,
00566         GL_MAX_VERTEX_UNIFORM_COMPONENTS  = 0x8B4A,
00567         GL_MAX_VARYING_FLOATS             = 0x8B4B,
00568         GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C,
00569         GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D,
00570         GL_SHADER_TYPE                    = 0x8B4F,
00571         GL_FLOAT_VEC2                     = 0x8B50,
00572         GL_FLOAT_VEC3                     = 0x8B51,
00573         GL_FLOAT_VEC4                     = 0x8B52,
00574         GL_INT_VEC2                       = 0x8B53,
00575         GL_INT_VEC3                       = 0x8B54,
00576         GL_INT_VEC4                       = 0x8B55,
00577         GL_BOOL                           = 0x8B56,
00578         GL_BOOL_VEC2                      = 0x8B57,
00579         GL_BOOL_VEC3                      = 0x8B58,
00580         GL_BOOL_VEC4                      = 0x8B59,
00581         GL_FLOAT_MAT2                     = 0x8B5A,
00582         GL_FLOAT_MAT3                     = 0x8B5B,
00583         GL_FLOAT_MAT4                     = 0x8B5C,
00584         GL_SAMPLER_1D                     = 0x8B5D,
00585         GL_SAMPLER_2D                     = 0x8B5E,
00586         GL_SAMPLER_3D                     = 0x8B5F,
00587         GL_SAMPLER_CUBE                   = 0x8B60,
00588         GL_SAMPLER_1D_SHADOW              = 0x8B61,
00589         GL_SAMPLER_2D_SHADOW              = 0x8B62,
00590         GL_DELETE_STATUS                  = 0x8B80,
00591         GL_COMPILE_STATUS                 = 0x8B81,
00592         GL_LINK_STATUS                    = 0x8B82,
00593         GL_VALIDATE_STATUS                = 0x8B83,
00594         GL_INFO_LOG_LENGTH                = 0x8B84,
00595         GL_ATTACHED_SHADERS               = 0x8B85,
00596         GL_ACTIVE_UNIFORMS                = 0x8B86,
00597         GL_ACTIVE_UNIFORM_MAX_LENGTH      = 0x8B87,
00598         GL_SHADER_SOURCE_LENGTH           = 0x8B88,
00599         GL_ACTIVE_ATTRIBUTES              = 0x8B89,
00600         GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    = 0x8B8A,
00601         GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 0x8B8B,
00602         GL_SHADING_LANGUAGE_VERSION       = 0x8B8C,
00603         GL_CURRENT_PROGRAM                = 0x8B8D,
00604         GL_POINT_SPRITE_COORD_ORIGIN      = 0x8CA0,
00605         GL_LOWER_LEFT                     = 0x8CA1,
00606         GL_UPPER_LEFT                     = 0x8CA2,
00607         GL_STENCIL_BACK_REF               = 0x8CA3,
00608         GL_STENCIL_BACK_VALUE_MASK        = 0x8CA4,
00609         GL_STENCIL_BACK_WRITEMASK         = 0x8CA5,
00610 #endif
00611 
00612 #ifndef GL_PIXEL_PACK_BUFFER
00613 
00614         GL_PIXEL_PACK_BUFFER              = 0x88EB,
00615         GL_PIXEL_UNPACK_BUFFER            = 0x88EC,
00616         GL_PIXEL_PACK_BUFFER_BINDING      = 0x88ED,
00617         GL_PIXEL_UNPACK_BUFFER_BINDING    = 0x88EF,
00618         GL_FLOAT_MAT2x3                   = 0x8B65,
00619         GL_FLOAT_MAT2x4                   = 0x8B66,
00620         GL_FLOAT_MAT3x2                   = 0x8B67,
00621         GL_FLOAT_MAT3x4                   = 0x8B68,
00622         GL_FLOAT_MAT4x2                   = 0x8B69,
00623         GL_FLOAT_MAT4x3                   = 0x8B6A,
00624         GL_SRGB                           = 0x8C40,
00625         GL_SRGB8                          = 0x8C41,
00626         GL_SRGB_ALPHA                     = 0x8C42,
00627         GL_SRGB8_ALPHA8                   = 0x8C43,
00628         GL_COMPRESSED_SRGB                = 0x8C48,
00629         GL_COMPRESSED_SRGB_ALPHA          = 0x8C49,
00630 #endif
00631 
00632 #ifndef GL_COMPARE_REF_TO_TEXTURE
00633 
00634         GL_COMPARE_REF_TO_TEXTURE         = 0x884E,
00635         GL_CLIP_DISTANCE0                 = 0x3000,
00636         GL_CLIP_DISTANCE1                 = 0x3001,
00637         GL_CLIP_DISTANCE2                 = 0x3002,
00638         GL_CLIP_DISTANCE3                 = 0x3003,
00639         GL_CLIP_DISTANCE4                 = 0x3004,
00640         GL_CLIP_DISTANCE5                 = 0x3005,
00641         GL_CLIP_DISTANCE6                 = 0x3006,
00642         GL_CLIP_DISTANCE7                 = 0x3007,
00643         GL_MAX_CLIP_DISTANCES             = 0x0D32,
00644         GL_MAJOR_VERSION                  = 0x821B,
00645         GL_MINOR_VERSION                  = 0x821C,
00646         GL_NUM_EXTENSIONS                 = 0x821D,
00647         GL_CONTEXT_FLAGS                  = 0x821E,
00648         GL_DEPTH_BUFFER                   = 0x8223,
00649         GL_STENCIL_BUFFER                 = 0x8224,
00650         GL_COMPRESSED_RED                 = 0x8225,
00651         GL_COMPRESSED_RG                  = 0x8226,
00652         GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT = 0x0001,
00653         GL_RGBA32F                        = 0x8814,
00654         GL_RGB32F                         = 0x8815,
00655         GL_RGBA16F                        = 0x881A,
00656         GL_RGB16F                         = 0x881B,
00657         GL_VERTEX_ATTRIB_ARRAY_INTEGER    = 0x88FD,
00658         GL_MAX_ARRAY_TEXTURE_LAYERS       = 0x88FF,
00659         GL_MIN_PROGRAM_TEXEL_OFFSET       = 0x8904,
00660         GL_MAX_PROGRAM_TEXEL_OFFSET       = 0x8905,
00661         GL_CLAMP_READ_COLOR               = 0x891C,
00662         GL_FIXED_ONLY                     = 0x891D,
00663         GL_MAX_VARYING_COMPONENTS         = 0x8B4B,
00664         GL_TEXTURE_1D_ARRAY               = 0x8C18,
00665         GL_PROXY_TEXTURE_1D_ARRAY         = 0x8C19,
00666         GL_TEXTURE_2D_ARRAY               = 0x8C1A,
00667         GL_PROXY_TEXTURE_2D_ARRAY         = 0x8C1B,
00668         GL_TEXTURE_BINDING_1D_ARRAY       = 0x8C1C,
00669         GL_TEXTURE_BINDING_2D_ARRAY       = 0x8C1D,
00670         GL_R11F_G11F_B10F                 = 0x8C3A,
00671         GL_UNSIGNED_INT_10F_11F_11F_REV   = 0x8C3B,
00672         GL_RGB9_E5                        = 0x8C3D,
00673         GL_UNSIGNED_INT_5_9_9_9_REV       = 0x8C3E,
00674         GL_TEXTURE_SHARED_SIZE            = 0x8C3F,
00675         GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 0x8C76,
00676         GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 0x8C7F,
00677         GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 0x8C80,
00678         GL_TRANSFORM_FEEDBACK_VARYINGS    = 0x8C83,
00679         GL_TRANSFORM_FEEDBACK_BUFFER_START = 0x8C84,
00680         GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 0x8C85,
00681         GL_PRIMITIVES_GENERATED           = 0x8C87,
00682         GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 0x8C88,
00683         GL_RASTERIZER_DISCARD             = 0x8C89,
00684         GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 0x8C8A,
00685         GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 0x8C8B,
00686         GL_INTERLEAVED_ATTRIBS            = 0x8C8C,
00687         GL_SEPARATE_ATTRIBS               = 0x8C8D,
00688         GL_TRANSFORM_FEEDBACK_BUFFER      = 0x8C8E,
00689         GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 0x8C8F,
00690         GL_RGBA32UI                       = 0x8D70,
00691         GL_RGB32UI                        = 0x8D71,
00692         GL_RGBA16UI                       = 0x8D76,
00693         GL_RGB16UI                        = 0x8D77,
00694         GL_RGBA8UI                        = 0x8D7C,
00695         GL_RGB8UI                         = 0x8D7D,
00696         GL_RGBA32I                        = 0x8D82,
00697         GL_RGB32I                         = 0x8D83,
00698         GL_RGBA16I                        = 0x8D88,
00699         GL_RGB16I                         = 0x8D89,
00700         GL_RGBA8I                         = 0x8D8E,
00701         GL_RGB8I                          = 0x8D8F,
00702         GL_RED_INTEGER                    = 0x8D94,
00703         GL_GREEN_INTEGER                  = 0x8D95,
00704         GL_BLUE_INTEGER                   = 0x8D96,
00705         GL_RGB_INTEGER                    = 0x8D98,
00706         GL_RGBA_INTEGER                   = 0x8D99,
00707         GL_BGR_INTEGER                    = 0x8D9A,
00708         GL_BGRA_INTEGER                   = 0x8D9B,
00709         GL_SAMPLER_1D_ARRAY               = 0x8DC0,
00710         GL_SAMPLER_2D_ARRAY               = 0x8DC1,
00711         GL_SAMPLER_1D_ARRAY_SHADOW        = 0x8DC3,
00712         GL_SAMPLER_2D_ARRAY_SHADOW        = 0x8DC4,
00713         GL_SAMPLER_CUBE_SHADOW            = 0x8DC5,
00714         GL_UNSIGNED_INT_VEC2              = 0x8DC6,
00715         GL_UNSIGNED_INT_VEC3              = 0x8DC7,
00716         GL_UNSIGNED_INT_VEC4              = 0x8DC8,
00717         GL_INT_SAMPLER_1D                 = 0x8DC9,
00718         GL_INT_SAMPLER_2D                 = 0x8DCA,
00719         GL_INT_SAMPLER_3D                 = 0x8DCB,
00720         GL_INT_SAMPLER_CUBE               = 0x8DCC,
00721         GL_INT_SAMPLER_1D_ARRAY           = 0x8DCE,
00722         GL_INT_SAMPLER_2D_ARRAY           = 0x8DCF,
00723         GL_UNSIGNED_INT_SAMPLER_1D        = 0x8DD1,
00724         GL_UNSIGNED_INT_SAMPLER_2D        = 0x8DD2,
00725         GL_UNSIGNED_INT_SAMPLER_3D        = 0x8DD3,
00726         GL_UNSIGNED_INT_SAMPLER_CUBE      = 0x8DD4,
00727         GL_UNSIGNED_INT_SAMPLER_1D_ARRAY  = 0x8DD6,
00728         GL_UNSIGNED_INT_SAMPLER_2D_ARRAY  = 0x8DD7,
00729         GL_QUERY_WAIT                     = 0x8E13,
00730         GL_QUERY_NO_WAIT                  = 0x8E14,
00731         GL_QUERY_BY_REGION_WAIT           = 0x8E15,
00732         GL_QUERY_BY_REGION_NO_WAIT        = 0x8E16,
00733         GL_BUFFER_ACCESS_FLAGS            = 0x911F,
00734         GL_BUFFER_MAP_LENGTH              = 0x9120,
00735         GL_BUFFER_MAP_OFFSET              = 0x9121,
00736 #endif
00737 
00738 #ifndef GL_SAMPLER_2D_RECT
00739 
00740         GL_SAMPLER_2D_RECT                = 0x8B63,
00741         GL_SAMPLER_2D_RECT_SHADOW         = 0x8B64,
00742         GL_SAMPLER_BUFFER                 = 0x8DC2,
00743         GL_INT_SAMPLER_2D_RECT            = 0x8DCD,
00744         GL_INT_SAMPLER_BUFFER             = 0x8DD0,
00745         GL_UNSIGNED_INT_SAMPLER_2D_RECT   = 0x8DD5,
00746         GL_UNSIGNED_INT_SAMPLER_BUFFER    = 0x8DD8,
00747         GL_TEXTURE_BUFFER                 = 0x8C2A,
00748         GL_MAX_TEXTURE_BUFFER_SIZE        = 0x8C2B,
00749         GL_TEXTURE_BINDING_BUFFER         = 0x8C2C,
00750         GL_TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D,
00751         GL_TEXTURE_BUFFER_FORMAT          = 0x8C2E,
00752         GL_TEXTURE_RECTANGLE              = 0x84F5,
00753         GL_TEXTURE_BINDING_RECTANGLE      = 0x84F6,
00754         GL_PROXY_TEXTURE_RECTANGLE        = 0x84F7,
00755         GL_MAX_RECTANGLE_TEXTURE_SIZE     = 0x84F8,
00756         GL_RED_SNORM                      = 0x8F90,
00757         GL_RG_SNORM                       = 0x8F91,
00758         GL_RGB_SNORM                      = 0x8F92,
00759         GL_RGBA_SNORM                     = 0x8F93,
00760         GL_R8_SNORM                       = 0x8F94,
00761         GL_RG8_SNORM                      = 0x8F95,
00762         GL_RGB8_SNORM                     = 0x8F96,
00763         GL_RGBA8_SNORM                    = 0x8F97,
00764         GL_R16_SNORM                      = 0x8F98,
00765         GL_RG16_SNORM                     = 0x8F99,
00766         GL_RGB16_SNORM                    = 0x8F9A,
00767         GL_RGBA16_SNORM                   = 0x8F9B,
00768         GL_SIGNED_NORMALIZED              = 0x8F9C,
00769         GL_PRIMITIVE_RESTART              = 0x8F9D,
00770         GL_PRIMITIVE_RESTART_INDEX        = 0x8F9E,
00771 #endif
00772 
00773 #ifndef GL_CONTEXT_CORE_PROFILE_BIT
00774 
00775         GL_CONTEXT_CORE_PROFILE_BIT       = 0x00000001,
00776         GL_CONTEXT_COMPATIBILITY_PROFILE_BIT = 0x00000002,
00777         GL_LINES_ADJACENCY                = 0x000A,
00778         GL_LINE_STRIP_ADJACENCY           = 0x000B,
00779         GL_TRIANGLES_ADJACENCY            = 0x000C,
00780         GL_TRIANGLE_STRIP_ADJACENCY       = 0x000D,
00781         GL_PROGRAM_POINT_SIZE             = 0x8642,
00782         GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29,
00783         GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7,
00784         GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8,
00785         GL_GEOMETRY_SHADER                = 0x8DD9,
00786         GL_GEOMETRY_VERTICES_OUT          = 0x8916,
00787         GL_GEOMETRY_INPUT_TYPE            = 0x8917,
00788         GL_GEOMETRY_OUTPUT_TYPE           = 0x8918,
00789         GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF,
00790         GL_MAX_GEOMETRY_OUTPUT_VERTICES   = 0x8DE0,
00791         GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1,
00792         GL_MAX_VERTEX_OUTPUT_COMPONENTS   = 0x9122,
00793         GL_MAX_GEOMETRY_INPUT_COMPONENTS  = 0x9123,
00794         GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124,
00795         GL_MAX_FRAGMENT_INPUT_COMPONENTS  = 0x9125,
00796         GL_CONTEXT_PROFILE_MASK           = 0x9126,
00797 #endif
00798 
00799 #ifndef GL_VERTEX_ATTRIB_ARRAY_DIVISOR
00800 
00801         GL_VERTEX_ATTRIB_ARRAY_DIVISOR    = 0x88FE,
00802 #endif
00803 
00804 #ifndef GL_SAMPLE_SHADING
00805 
00806         GL_SAMPLE_SHADING                 = 0x8C36,
00807         GL_MIN_SAMPLE_SHADING_VALUE       = 0x8C37,
00808         GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5E,
00809         GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET = 0x8E5F,
00810         GL_TEXTURE_CUBE_MAP_ARRAY         = 0x9009,
00811         GL_TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A,
00812         GL_PROXY_TEXTURE_CUBE_MAP_ARRAY   = 0x900B,
00813         GL_SAMPLER_CUBE_MAP_ARRAY         = 0x900C,
00814         GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW  = 0x900D,
00815         GL_INT_SAMPLER_CUBE_MAP_ARRAY     = 0x900E,
00816         GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F,
00817 #endif
00818 
00819 #ifndef GL_DEPTH_COMPONENT32F
00820 
00821         GL_DEPTH_COMPONENT32F             = 0x8CAC,
00822         GL_DEPTH32F_STENCIL8              = 0x8CAD,
00823         GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 0x8DAD,
00824 #endif
00825 
00826 #ifndef GL_INVALID_FRAMEBUFFER_OPERATION
00827 
00828         GL_INVALID_FRAMEBUFFER_OPERATION  = 0x0506,
00829         GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 0x8210,
00830         GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 0x8211,
00831         GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 0x8212,
00832         GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 0x8213,
00833         GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 0x8214,
00834         GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 0x8215,
00835         GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 0x8216,
00836         GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 0x8217,
00837         GL_FRAMEBUFFER_DEFAULT            = 0x8218,
00838         GL_FRAMEBUFFER_UNDEFINED          = 0x8219,
00839         GL_DEPTH_STENCIL_ATTACHMENT       = 0x821A,
00840         GL_MAX_RENDERBUFFER_SIZE          = 0x84E8,
00841         GL_DEPTH_STENCIL                  = 0x84F9,
00842         GL_UNSIGNED_INT_24_8              = 0x84FA,
00843         GL_DEPTH24_STENCIL8               = 0x88F0,
00844         GL_TEXTURE_STENCIL_SIZE           = 0x88F1,
00845         GL_TEXTURE_RED_TYPE               = 0x8C10,
00846         GL_TEXTURE_GREEN_TYPE             = 0x8C11,
00847         GL_TEXTURE_BLUE_TYPE              = 0x8C12,
00848         GL_TEXTURE_ALPHA_TYPE             = 0x8C13,
00849         GL_TEXTURE_DEPTH_TYPE             = 0x8C16,
00850         GL_UNSIGNED_NORMALIZED            = 0x8C17,
00851         GL_FRAMEBUFFER_BINDING            = 0x8CA6,
00852         GL_DRAW_FRAMEBUFFER_BINDING      = GL_FRAMEBUFFER_BINDING,
00853         GL_RENDERBUFFER_BINDING           = 0x8CA7,
00854         GL_READ_FRAMEBUFFER               = 0x8CA8,
00855         GL_DRAW_FRAMEBUFFER               = 0x8CA9,
00856         GL_READ_FRAMEBUFFER_BINDING       = 0x8CAA,
00857         GL_RENDERBUFFER_SAMPLES           = 0x8CAB,
00858         GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0,
00859         GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1,
00860         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2,
00861         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3,
00862         GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 0x8CD4,
00863         GL_FRAMEBUFFER_COMPLETE           = 0x8CD5,
00864         GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6,
00865         GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7,
00866         GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER = 0x8CDB,
00867         GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER = 0x8CDC,
00868         GL_FRAMEBUFFER_UNSUPPORTED        = 0x8CDD,
00869         GL_MAX_COLOR_ATTACHMENTS          = 0x8CDF,
00870         GL_COLOR_ATTACHMENT0              = 0x8CE0,
00871         GL_COLOR_ATTACHMENT1              = 0x8CE1,
00872         GL_COLOR_ATTACHMENT2              = 0x8CE2,
00873         GL_COLOR_ATTACHMENT3              = 0x8CE3,
00874         GL_COLOR_ATTACHMENT4              = 0x8CE4,
00875         GL_COLOR_ATTACHMENT5              = 0x8CE5,
00876         GL_COLOR_ATTACHMENT6              = 0x8CE6,
00877         GL_COLOR_ATTACHMENT7              = 0x8CE7,
00878         GL_COLOR_ATTACHMENT8              = 0x8CE8,
00879         GL_COLOR_ATTACHMENT9              = 0x8CE9,
00880         GL_COLOR_ATTACHMENT10             = 0x8CEA,
00881         GL_COLOR_ATTACHMENT11             = 0x8CEB,
00882         GL_COLOR_ATTACHMENT12             = 0x8CEC,
00883         GL_COLOR_ATTACHMENT13             = 0x8CED,
00884         GL_COLOR_ATTACHMENT14             = 0x8CEE,
00885         GL_COLOR_ATTACHMENT15             = 0x8CEF,
00886         GL_DEPTH_ATTACHMENT               = 0x8D00,
00887         GL_STENCIL_ATTACHMENT             = 0x8D20,
00888         GL_FRAMEBUFFER                    = 0x8D40,
00889         GL_RENDERBUFFER                   = 0x8D41,
00890         GL_RENDERBUFFER_WIDTH             = 0x8D42,
00891         GL_RENDERBUFFER_HEIGHT            = 0x8D43,
00892         GL_RENDERBUFFER_INTERNAL_FORMAT   = 0x8D44,
00893         GL_STENCIL_INDEX1                 = 0x8D46,
00894         GL_STENCIL_INDEX4                 = 0x8D47,
00895         GL_STENCIL_INDEX8                 = 0x8D48,
00896         GL_STENCIL_INDEX16                = 0x8D49,
00897         GL_RENDERBUFFER_RED_SIZE          = 0x8D50,
00898         GL_RENDERBUFFER_GREEN_SIZE        = 0x8D51,
00899         GL_RENDERBUFFER_BLUE_SIZE         = 0x8D52,
00900         GL_RENDERBUFFER_ALPHA_SIZE        = 0x8D53,
00901         GL_RENDERBUFFER_DEPTH_SIZE        = 0x8D54,
00902         GL_RENDERBUFFER_STENCIL_SIZE      = 0x8D55,
00903         GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 0x8D56,
00904         GL_MAX_SAMPLES                    = 0x8D57,
00905 #endif
00906 
00907 #ifndef GL_FRAMEBUFFER_SRGB
00908 
00909         GL_FRAMEBUFFER_SRGB               = 0x8DB9,
00910 #endif
00911 
00912 #ifndef GL_HALF_FLOAT
00913 
00914         GL_HALF_FLOAT                     = 0x140B,
00915 #endif
00916 
00917 #ifndef GL_MAP_READ_BIT
00918 
00919         GL_MAP_READ_BIT                   = 0x0001,
00920         GL_MAP_WRITE_BIT                  = 0x0002,
00921         GL_MAP_INVALIDATE_RANGE_BIT       = 0x0004,
00922         GL_MAP_INVALIDATE_BUFFER_BIT      = 0x0008,
00923         GL_MAP_FLUSH_EXPLICIT_BIT         = 0x0010,
00924         GL_MAP_UNSYNCHRONIZED_BIT         = 0x0020,
00925 #endif
00926 
00927 #ifndef GL_COMPRESSED_RED_RGTC1
00928 
00929         GL_COMPRESSED_RED_RGTC1           = 0x8DBB,
00930         GL_COMPRESSED_SIGNED_RED_RGTC1    = 0x8DBC,
00931         GL_COMPRESSED_RG_RGTC2            = 0x8DBD,
00932         GL_COMPRESSED_SIGNED_RG_RGTC2     = 0x8DBE,
00933 #endif
00934 
00935 #ifndef GL_RG
00936 
00937         GL_RG                             = 0x8227,
00938         GL_RG_INTEGER                     = 0x8228,
00939         GL_R8                             = 0x8229,
00940         GL_R16                            = 0x822A,
00941         GL_RG8                            = 0x822B,
00942         GL_RG16                           = 0x822C,
00943         GL_R16F                           = 0x822D,
00944         GL_R32F                           = 0x822E,
00945         GL_RG16F                          = 0x822F,
00946         GL_RG32F                          = 0x8230,
00947         GL_R8I                            = 0x8231,
00948         GL_R8UI                           = 0x8232,
00949         GL_R16I                           = 0x8233,
00950         GL_R16UI                          = 0x8234,
00951         GL_R32I                           = 0x8235,
00952         GL_R32UI                          = 0x8236,
00953         GL_RG8I                           = 0x8237,
00954         GL_RG8UI                          = 0x8238,
00955         GL_RG16I                          = 0x8239,
00956         GL_RG16UI                         = 0x823A,
00957         GL_RG32I                          = 0x823B,
00958         GL_RG32UI                         = 0x823C,
00959 #endif
00960 
00961 #ifndef GL_VERTEX_ARRAY_BINDING
00962 
00963         GL_VERTEX_ARRAY_BINDING           = 0x85B5,
00964 #endif
00965 
00966 #ifndef GL_UNIFORM_BUFFER
00967 
00968         GL_UNIFORM_BUFFER                 = 0x8A11,
00969         GL_UNIFORM_BUFFER_BINDING         = 0x8A28,
00970         GL_UNIFORM_BUFFER_START           = 0x8A29,
00971         GL_UNIFORM_BUFFER_SIZE            = 0x8A2A,
00972         GL_MAX_VERTEX_UNIFORM_BLOCKS      = 0x8A2B,
00973         GL_MAX_GEOMETRY_UNIFORM_BLOCKS    = 0x8A2C,
00974         GL_MAX_FRAGMENT_UNIFORM_BLOCKS    = 0x8A2D,
00975         GL_MAX_COMBINED_UNIFORM_BLOCKS    = 0x8A2E,
00976         GL_MAX_UNIFORM_BUFFER_BINDINGS    = 0x8A2F,
00977         GL_MAX_UNIFORM_BLOCK_SIZE         = 0x8A30,
00978         GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 0x8A31,
00979         GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32,
00980         GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 0x8A33,
00981         GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 0x8A34,
00982         GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 0x8A35,
00983         GL_ACTIVE_UNIFORM_BLOCKS          = 0x8A36,
00984         GL_UNIFORM_TYPE                   = 0x8A37,
00985         GL_UNIFORM_SIZE                   = 0x8A38,
00986         GL_UNIFORM_NAME_LENGTH            = 0x8A39,
00987         GL_UNIFORM_BLOCK_INDEX            = 0x8A3A,
00988         GL_UNIFORM_OFFSET                 = 0x8A3B,
00989         GL_UNIFORM_ARRAY_STRIDE           = 0x8A3C,
00990         GL_UNIFORM_MATRIX_STRIDE          = 0x8A3D,
00991         GL_UNIFORM_IS_ROW_MAJOR           = 0x8A3E,
00992         GL_UNIFORM_BLOCK_BINDING          = 0x8A3F,
00993         GL_UNIFORM_BLOCK_DATA_SIZE        = 0x8A40,
00994         GL_UNIFORM_BLOCK_NAME_LENGTH      = 0x8A41,
00995         GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS  = 0x8A42,
00996         GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 0x8A43,
00997         GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 0x8A44,
00998         GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER = 0x8A45,
00999         GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 0x8A46,
01000         GL_INVALID_INDEX                  = 0xFFFFFFFFu,
01001 #endif
01002 
01003 #ifndef GL_COPY_READ_BUFFER
01004 
01005         GL_COPY_READ_BUFFER               = 0x8F36,
01006         GL_COPY_WRITE_BUFFER              = 0x8F37,
01007 #endif
01008 
01009 #ifndef GL_DEPTH_CLAMP
01010 
01011         GL_DEPTH_CLAMP                    = 0x864F,
01012 #endif
01013 
01014 #ifndef GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION
01015 
01016         GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION = 0x8E4C,
01017         GL_FIRST_VERTEX_CONVENTION        = 0x8E4D,
01018         GL_LAST_VERTEX_CONVENTION         = 0x8E4E,
01019         GL_PROVOKING_VERTEX               = 0x8E4F,
01020 #endif
01021 
01022 #ifndef GL_TEXTURE_CUBE_MAP_SEAMLESS
01023 
01024         GL_TEXTURE_CUBE_MAP_SEAMLESS      = 0x884F,
01025 #endif
01026 
01027 #ifndef GL_MAX_SERVER_WAIT_TIMEOUT
01028 
01029         GL_MAX_SERVER_WAIT_TIMEOUT        = 0x9111,
01030         GL_OBJECT_TYPE                    = 0x9112,
01031         GL_SYNC_CONDITION                 = 0x9113,
01032         GL_SYNC_STATUS                    = 0x9114,
01033         GL_SYNC_FLAGS                     = 0x9115,
01034         GL_SYNC_FENCE                     = 0x9116,
01035         GL_SYNC_GPU_COMMANDS_COMPLETE     = 0x9117,
01036         GL_UNSIGNALED                     = 0x9118,
01037         GL_SIGNALED                       = 0x9119,
01038         GL_ALREADY_SIGNALED               = 0x911A,
01039         GL_TIMEOUT_EXPIRED                = 0x911B,
01040         GL_CONDITION_SATISFIED            = 0x911C,
01041         GL_WAIT_FAILED                    = 0x911D,
01042         GL_SYNC_FLUSH_COMMANDS_BIT        = 0x00000001,
01043 
01044 #define         GL_TIMEOUT_IGNORED                (0xFFFFFFFFFFFFFFFFull)
01045 
01046         GL_SAMPLE_POSITION                = 0x8E50,
01047         GL_SAMPLE_MASK                    = 0x8E51,
01048         GL_SAMPLE_MASK_VALUE              = 0x8E52,
01049         GL_MAX_SAMPLE_MASK_WORDS          = 0x8E59,
01050         GL_TEXTURE_2D_MULTISAMPLE         = 0x9100,
01051         GL_PROXY_TEXTURE_2D_MULTISAMPLE   = 0x9101,
01052         GL_TEXTURE_2D_MULTISAMPLE_ARRAY   = 0x9102,
01053         GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9103,
01054         GL_TEXTURE_BINDING_2D_MULTISAMPLE = 0x9104,
01055         GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105,
01056         GL_TEXTURE_SAMPLES                = 0x9106,
01057         GL_TEXTURE_FIXED_SAMPLE_LOCATIONS = 0x9107,
01058         GL_SAMPLER_2D_MULTISAMPLE         = 0x9108,
01059         GL_INT_SAMPLER_2D_MULTISAMPLE     = 0x9109,
01060         GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE = 0x910A,
01061         GL_SAMPLER_2D_MULTISAMPLE_ARRAY   = 0x910B,
01062         GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C,
01063         GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D,
01064         GL_MAX_COLOR_TEXTURE_SAMPLES      = 0x910E,
01065         GL_MAX_DEPTH_TEXTURE_SAMPLES      = 0x910F,
01066         GL_MAX_INTEGER_SAMPLES            = 0x9110,
01067 
01068 #endif
01069 
01070 #ifndef GL_SAMPLE_SHADING_ARB
01071         GL_SAMPLE_SHADING_ARB             = 0x8C36,
01072         GL_MIN_SAMPLE_SHADING_VALUE_ARB   = 0x8C37,
01073 
01074 #endif
01075 
01076 #ifndef GL_TEXTURE_CUBE_MAP_ARRAY_ARB
01077         GL_TEXTURE_CUBE_MAP_ARRAY_ARB     = 0x9009,
01078         GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB = 0x900A,
01079         GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB = 0x900B,
01080         GL_SAMPLER_CUBE_MAP_ARRAY_ARB     = 0x900C,
01081         GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB = 0x900D,
01082         GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900E,
01083         GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB = 0x900F,
01084 
01085 #endif
01086 
01087 #ifndef GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB
01088         GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5E,
01089         GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB = 0x8E5F,
01090 
01091 #endif
01092 
01093 #ifndef GL_SHADER_INCLUDE_ARB
01094         GL_SHADER_INCLUDE_ARB             = 0x8DAE,
01095         GL_NAMED_STRING_LENGTH_ARB        = 0x8DE9,
01096         GL_NAMED_STRING_TYPE_ARB          = 0x8DEA,
01097 
01098 #endif
01099 
01100 #ifndef GL_COMPRESSED_RGBA_BPTC_UNORM_ARB
01101         GL_COMPRESSED_RGBA_BPTC_UNORM_ARB = 0x8E8C,
01102         GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB = 0x8E8D,
01103         GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB = 0x8E8E,
01104         GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB = 0x8E8F,
01105 
01106 #endif
01107 
01108 #ifndef GL_SRC1_COLOR
01109         GL_SRC1_COLOR                     = 0x88F9,
01110 
01111 #endif
01112 
01113 #ifndef GL_ONE_MINUS_SRC1_COLOR
01114         GL_ONE_MINUS_SRC1_COLOR           = 0x88FA,
01115         GL_ONE_MINUS_SRC1_ALPHA           = 0x88FB,
01116         GL_MAX_DUAL_SOURCE_DRAW_BUFFERS   = 0x88FC,
01117 
01118 #endif
01119 
01120 #ifndef GL_ANY_SAMPLES_PASSED
01121         GL_ANY_SAMPLES_PASSED             = 0x8C2F,
01122 
01123 #endif
01124 
01125 #ifndef GL_SAMPLER_BINDING
01126         GL_SAMPLER_BINDING                = 0x8919,
01127 
01128 #endif
01129 
01130 #ifndef GL_RGB10_A2UI
01131         GL_RGB10_A2UI                     = 0x906F,
01132 
01133 #endif
01134 
01135 #ifndef GL_TEXTURE_SWIZZLE_R
01136         GL_TEXTURE_SWIZZLE_R              = 0x8E42,
01137         GL_TEXTURE_SWIZZLE_G              = 0x8E43,
01138         GL_TEXTURE_SWIZZLE_B              = 0x8E44,
01139         GL_TEXTURE_SWIZZLE_A              = 0x8E45,
01140         GL_TEXTURE_SWIZZLE_RGBA           = 0x8E46,
01141 
01142 #endif
01143 
01144 #ifndef GL_TIME_ELAPSED
01145         GL_TIME_ELAPSED                   = 0x88BF,
01146         GL_TIMESTAMP                      = 0x8E28,
01147 
01148 #endif
01149 
01150 #ifndef GL_INT_2_10_10_10_REV
01151         GL_INT_2_10_10_10_REV             = 0x8D9F,
01152 
01153 #endif
01154 
01155 #ifndef GL_DRAW_INDIRECT_BUFFER
01156         GL_DRAW_INDIRECT_BUFFER           = 0x8F3F,
01157         GL_DRAW_INDIRECT_BUFFER_BINDING   = 0x8F43,
01158 
01159 #endif
01160 
01161 #ifndef GL_GEOMETRY_SHADER_INVOCATIONS
01162         GL_GEOMETRY_SHADER_INVOCATIONS    = 0x887F,
01163         GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A,
01164         GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B,
01165         GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C,
01166         GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D,
01167 
01168 #endif
01169 
01170 #ifndef GL_DOUBLE_VEC2
01171         GL_DOUBLE_VEC2                    = 0x8FFC,
01172         GL_DOUBLE_VEC3                    = 0x8FFD,
01173         GL_DOUBLE_VEC4                    = 0x8FFE,
01174         GL_DOUBLE_MAT2                    = 0x8F46,
01175         GL_DOUBLE_MAT3                    = 0x8F47,
01176         GL_DOUBLE_MAT4                    = 0x8F48,
01177         GL_DOUBLE_MAT2x3                  = 0x8F49,
01178         GL_DOUBLE_MAT2x4                  = 0x8F4A,
01179         GL_DOUBLE_MAT3x2                  = 0x8F4B,
01180         GL_DOUBLE_MAT3x4                  = 0x8F4C,
01181         GL_DOUBLE_MAT4x2                  = 0x8F4D,
01182         GL_DOUBLE_MAT4x3                  = 0x8F4E,
01183 
01184 #endif
01185 
01186 #ifndef GL_ACTIVE_SUBROUTINES
01187         GL_ACTIVE_SUBROUTINES             = 0x8DE5,
01188         GL_ACTIVE_SUBROUTINE_UNIFORMS     = 0x8DE6,
01189         GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS = 0x8E47,
01190         GL_ACTIVE_SUBROUTINE_MAX_LENGTH   = 0x8E48,
01191         GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH = 0x8E49,
01192         GL_MAX_SUBROUTINES                = 0x8DE7,
01193         GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS = 0x8DE8,
01194         GL_NUM_COMPATIBLE_SUBROUTINES     = 0x8E4A,
01195         GL_COMPATIBLE_SUBROUTINES         = 0x8E4B,
01196 
01197 #endif
01198 
01199 #ifndef GL_PATCHES
01200         GL_PATCHES                        = 0x000E,
01201         GL_PATCH_VERTICES                 = 0x8E72,
01202         GL_PATCH_DEFAULT_INNER_LEVEL      = 0x8E73,
01203         GL_PATCH_DEFAULT_OUTER_LEVEL      = 0x8E74,
01204         GL_TESS_CONTROL_OUTPUT_VERTICES   = 0x8E75,
01205         GL_TESS_GEN_MODE                  = 0x8E76,
01206         GL_TESS_GEN_SPACING               = 0x8E77,
01207         GL_TESS_GEN_VERTEX_ORDER          = 0x8E78,
01208         GL_TESS_GEN_POINT_MODE            = 0x8E79,
01209 
01210 #endif
01211 
01212 #ifndef GL_ISOLINES
01213         GL_ISOLINES                       = 0x8E7A,
01214 
01215 #endif
01216 
01217 #ifndef GL_FRACTIONAL_ODD
01218         GL_FRACTIONAL_ODD                 = 0x8E7B,
01219         GL_FRACTIONAL_EVEN                = 0x8E7C,
01220 
01221 #endif
01222 
01223 #ifndef GL_MAX_PATCH_VERTICES
01224         GL_MAX_PATCH_VERTICES             = 0x8E7D,
01225         GL_MAX_TESS_GEN_LEVEL             = 0x8E7E,
01226         GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F,
01227         GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80,
01228         GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81,
01229         GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82,
01230         GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83,
01231         GL_MAX_TESS_PATCH_COMPONENTS      = 0x8E84,
01232         GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85,
01233         GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86,
01234         GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89,
01235         GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A,
01236         GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C,
01237         GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D,
01238         GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E,
01239         GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F,
01240         GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER = 0x84F0,
01241         GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x84F1,
01242         GL_TESS_EVALUATION_SHADER         = 0x8E87,
01243         GL_TESS_CONTROL_SHADER            = 0x8E88,
01244 
01245 #endif
01246 
01247 #ifndef GL_TRANSFORM_FEEDBACK
01248         GL_TRANSFORM_FEEDBACK             = 0x8E22,
01249         GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED = 0x8E23,
01250         GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE = 0x8E24,
01251         GL_TRANSFORM_FEEDBACK_BINDING     = 0x8E25,
01252 
01253 #endif
01254 
01255 #ifndef GL_MAX_TRANSFORM_FEEDBACK_BUFFERS
01256         GL_MAX_TRANSFORM_FEEDBACK_BUFFERS = 0x8E70,
01257         GL_MAX_VERTEX_STREAMS             = 0x8E71,
01258 
01259 #endif
01260 
01261 #ifndef GL_FIXED
01262         GL_FIXED                          = 0x140C,
01263         GL_IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A,
01264         GL_IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B,
01265         GL_LOW_FLOAT                      = 0x8DF0,
01266         GL_MEDIUM_FLOAT                   = 0x8DF1,
01267         GL_HIGH_FLOAT                     = 0x8DF2,
01268         GL_LOW_INT                        = 0x8DF3,
01269         GL_MEDIUM_INT                     = 0x8DF4,
01270         GL_HIGH_INT                       = 0x8DF5,
01271         GL_SHADER_COMPILER                = 0x8DFA,
01272         GL_NUM_SHADER_BINARY_FORMATS      = 0x8DF9,
01273         GL_MAX_VERTEX_UNIFORM_VECTORS     = 0x8DFB,
01274         GL_MAX_VARYING_VECTORS            = 0x8DFC,
01275         GL_MAX_FRAGMENT_UNIFORM_VECTORS   = 0x8DFD,
01276 
01277 #endif
01278 
01279 #ifndef GL_PROGRAM_BINARY_RETRIEVABLE_HINT
01280         GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 0x8257,
01281         GL_PROGRAM_BINARY_LENGTH          = 0x8741,
01282         GL_NUM_PROGRAM_BINARY_FORMATS     = 0x87FE,
01283         GL_PROGRAM_BINARY_FORMATS         = 0x87FF,
01284 
01285 #endif
01286 
01287 #ifndef GL_VERTEX_SHADER_BIT
01288         GL_VERTEX_SHADER_BIT              = 0x00000001,
01289         GL_FRAGMENT_SHADER_BIT            = 0x00000002,
01290         GL_GEOMETRY_SHADER_BIT            = 0x00000004,
01291         GL_TESS_CONTROL_SHADER_BIT        = 0x00000008,
01292         GL_TESS_EVALUATION_SHADER_BIT     = 0x00000010,
01293         GL_ALL_SHADER_BITS                = 0xFFFFFFFF,
01294         GL_PROGRAM_SEPARABLE              = 0x8258,
01295         GL_ACTIVE_PROGRAM                 = 0x8259,
01296         GL_PROGRAM_PIPELINE_BINDING       = 0x825A,
01297 
01298 #endif
01299 
01300 #ifndef GL_MAX_VIEWPORTS
01301         GL_MAX_VIEWPORTS                  = 0x825B,
01302         GL_VIEWPORT_SUBPIXEL_BITS         = 0x825C,
01303         GL_VIEWPORT_BOUNDS_RANGE          = 0x825D,
01304         GL_LAYER_PROVOKING_VERTEX         = 0x825E,
01305         GL_VIEWPORT_INDEX_PROVOKING_VERTEX = 0x825F,
01306         GL_UNDEFINED_VERTEX               = 0x8260,
01307 
01308 #endif
01309 
01310 #ifndef GL_SYNC_CL_EVENT_ARB
01311         GL_SYNC_CL_EVENT_ARB              = 0x8240,
01312         GL_SYNC_CL_EVENT_COMPLETE_ARB     = 0x8241,
01313 
01314 #endif
01315 
01316 #ifndef GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB
01317         GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB   = 0x8242,
01318         GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB = 0x8243,
01319         GL_DEBUG_CALLBACK_FUNCTION_ARB    = 0x8244,
01320         GL_DEBUG_CALLBACK_USER_PARAM_ARB  = 0x8245,
01321         GL_DEBUG_SOURCE_API_ARB           = 0x8246,
01322         GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB = 0x8247,
01323         GL_DEBUG_SOURCE_SHADER_COMPILER_ARB = 0x8248,
01324         GL_DEBUG_SOURCE_THIRD_PARTY_ARB   = 0x8249,
01325         GL_DEBUG_SOURCE_APPLICATION_ARB   = 0x824A,
01326         GL_DEBUG_SOURCE_OTHER_ARB         = 0x824B,
01327         GL_DEBUG_TYPE_ERROR_ARB           = 0x824C,
01328         GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB = 0x824D,
01329         GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB = 0x824E,
01330         GL_DEBUG_TYPE_PORTABILITY_ARB     = 0x824F,
01331         GL_DEBUG_TYPE_PERFORMANCE_ARB     = 0x8250,
01332         GL_DEBUG_TYPE_OTHER_ARB           = 0x8251,
01333         GL_MAX_DEBUG_MESSAGE_LENGTH_ARB   = 0x9143,
01334         GL_MAX_DEBUG_LOGGED_MESSAGES_ARB  = 0x9144,
01335         GL_DEBUG_LOGGED_MESSAGES_ARB      = 0x9145,
01336         GL_DEBUG_SEVERITY_HIGH_ARB        = 0x9146,
01337         GL_DEBUG_SEVERITY_MEDIUM_ARB      = 0x9147,
01338         GL_DEBUG_SEVERITY_LOW_ARB         = 0x9148,
01339 
01340 #endif
01341 
01342 #ifndef GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB
01343         GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB = 0x00000004,
01344         GL_LOSE_CONTEXT_ON_RESET_ARB      = 0x8252,
01345         GL_GUILTY_CONTEXT_RESET_ARB       = 0x8253,
01346         GL_INNOCENT_CONTEXT_RESET_ARB     = 0x8254,
01347         GL_UNKNOWN_CONTEXT_RESET_ARB      = 0x8255,
01348         GL_RESET_NOTIFICATION_STRATEGY_ARB = 0x8256,
01349         GL_NO_RESET_NOTIFICATION_ARB      = 0x8261,
01350 #endif
01351 
01352         // http://www.opengl.org/wiki/Ubiquitous_Extensions
01353         // EXT_texture_filter_anisotropic
01354 #ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
01355         GL_TEXTURE_MAX_ANISOTROPY_EXT   = 0x84FE,
01356         GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF
01357 #endif
01358 
01359 };
01360 
01361 #endif
01362 
01364 
01365