Updated to the latest glext.h
authorSam Lantinga <slouken@libsdl.org>
Wed, 14 Dec 2005 05:55:17 +0000
changeset 12052ab21d9a20da
parent 1204 f9794ee91dfc
child 1206 aac47040c6d7
Updated to the latest glext.h
include/SDL_opengl.h
     1.1 --- a/include/SDL_opengl.h	Tue Dec 13 16:40:12 2005 +0000
     1.2 +++ b/include/SDL_opengl.h	Wed Dec 14 05:55:17 2005 +0000
     1.3 @@ -79,7 +79,7 @@
     1.4  ** 
     1.5  ** Original Code. The Original Code is: OpenGL Sample Implementation,
     1.6  ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
     1.7 -** Inc. The Original Code is Copyright (c) 1991-2002 Silicon Graphics, Inc.
     1.8 +** Inc. The Original Code is Copyright (c) 1991-2004 Silicon Graphics, Inc.
     1.9  ** Copyright in any portions created by third parties is as indicated
    1.10  ** elsewhere herein. All Rights Reserved.
    1.11  ** 
    1.12 @@ -107,9 +107,9 @@
    1.13  /*************************************************************/
    1.14  
    1.15  /* Header file version number, required by OpenGL ABI for Linux */
    1.16 -/* glext.h last updated 2003/1/12 */
    1.17 +/* glext.h last updated 2005/06/20 */
    1.18  /* Current version at http://oss.sgi.com/projects/ogl-sample/registry/ */
    1.19 -#define GL_GLEXT_VERSION 21
    1.20 +#define GL_GLEXT_VERSION 29
    1.21  
    1.22  #ifndef GL_VERSION_1_2
    1.23  #define GL_UNSIGNED_BYTE_3_3_2            0x8032
    1.24 @@ -306,7 +306,6 @@
    1.25  #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
    1.26  #define GL_COMPRESSED_TEXTURE_FORMATS     0x86A3
    1.27  #define GL_CLAMP_TO_BORDER                0x812D
    1.28 -#define GL_CLAMP_TO_BORDER_SGIS           0x812D
    1.29  #define GL_COMBINE                        0x8570
    1.30  #define GL_COMBINE_RGB                    0x8571
    1.31  #define GL_COMBINE_ALPHA                  0x8572
    1.32 @@ -412,7 +411,7 @@
    1.33  #define GL_DYNAMIC_READ                   0x88E9
    1.34  #define GL_DYNAMIC_COPY                   0x88EA
    1.35  #define GL_SAMPLES_PASSED                 0x8914
    1.36 -#define GL_FOG_COORD_SOURCE               GL_FOG_COORDINATE_SOURCE
    1.37 +#define GL_FOG_COORD_SRC                  GL_FOG_COORDINATE_SOURCE
    1.38  #define GL_FOG_COORD                      GL_FOG_COORDINATE
    1.39  #define GL_CURRENT_FOG_COORD              GL_CURRENT_FOG_COORDINATE
    1.40  #define GL_FOG_COORD_ARRAY_TYPE           GL_FOG_COORDINATE_ARRAY_TYPE
    1.41 @@ -428,6 +427,93 @@
    1.42  #define GL_SRC2_ALPHA                     GL_SOURCE2_ALPHA
    1.43  #endif
    1.44  
    1.45 +#ifndef GL_VERSION_2_0
    1.46 +#define GL_BLEND_EQUATION_RGB             GL_BLEND_EQUATION
    1.47 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED    0x8622
    1.48 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE       0x8623
    1.49 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE     0x8624
    1.50 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE       0x8625
    1.51 +#define GL_CURRENT_VERTEX_ATTRIB          0x8626
    1.52 +#define GL_VERTEX_PROGRAM_POINT_SIZE      0x8642
    1.53 +#define GL_VERTEX_PROGRAM_TWO_SIDE        0x8643
    1.54 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER    0x8645
    1.55 +#define GL_STENCIL_BACK_FUNC              0x8800
    1.56 +#define GL_STENCIL_BACK_FAIL              0x8801
    1.57 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL   0x8802
    1.58 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS   0x8803
    1.59 +#define GL_MAX_DRAW_BUFFERS               0x8824
    1.60 +#define GL_DRAW_BUFFER0                   0x8825
    1.61 +#define GL_DRAW_BUFFER1                   0x8826
    1.62 +#define GL_DRAW_BUFFER2                   0x8827
    1.63 +#define GL_DRAW_BUFFER3                   0x8828
    1.64 +#define GL_DRAW_BUFFER4                   0x8829
    1.65 +#define GL_DRAW_BUFFER5                   0x882A
    1.66 +#define GL_DRAW_BUFFER6                   0x882B
    1.67 +#define GL_DRAW_BUFFER7                   0x882C
    1.68 +#define GL_DRAW_BUFFER8                   0x882D
    1.69 +#define GL_DRAW_BUFFER9                   0x882E
    1.70 +#define GL_DRAW_BUFFER10                  0x882F
    1.71 +#define GL_DRAW_BUFFER11                  0x8830
    1.72 +#define GL_DRAW_BUFFER12                  0x8831
    1.73 +#define GL_DRAW_BUFFER13                  0x8832
    1.74 +#define GL_DRAW_BUFFER14                  0x8833
    1.75 +#define GL_DRAW_BUFFER15                  0x8834
    1.76 +#define GL_BLEND_EQUATION_ALPHA           0x883D
    1.77 +#define GL_POINT_SPRITE                   0x8861
    1.78 +#define GL_COORD_REPLACE                  0x8862
    1.79 +#define GL_MAX_VERTEX_ATTRIBS             0x8869
    1.80 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
    1.81 +#define GL_MAX_TEXTURE_COORDS             0x8871
    1.82 +#define GL_MAX_TEXTURE_IMAGE_UNITS        0x8872
    1.83 +#define GL_FRAGMENT_SHADER                0x8B30
    1.84 +#define GL_VERTEX_SHADER                  0x8B31
    1.85 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
    1.86 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS  0x8B4A
    1.87 +#define GL_MAX_VARYING_FLOATS             0x8B4B
    1.88 +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
    1.89 +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
    1.90 +#define GL_SHADER_TYPE                    0x8B4F
    1.91 +#define GL_FLOAT_VEC2                     0x8B50
    1.92 +#define GL_FLOAT_VEC3                     0x8B51
    1.93 +#define GL_FLOAT_VEC4                     0x8B52
    1.94 +#define GL_INT_VEC2                       0x8B53
    1.95 +#define GL_INT_VEC3                       0x8B54
    1.96 +#define GL_INT_VEC4                       0x8B55
    1.97 +#define GL_BOOL                           0x8B56
    1.98 +#define GL_BOOL_VEC2                      0x8B57
    1.99 +#define GL_BOOL_VEC3                      0x8B58
   1.100 +#define GL_BOOL_VEC4                      0x8B59
   1.101 +#define GL_FLOAT_MAT2                     0x8B5A
   1.102 +#define GL_FLOAT_MAT3                     0x8B5B
   1.103 +#define GL_FLOAT_MAT4                     0x8B5C
   1.104 +#define GL_SAMPLER_1D                     0x8B5D
   1.105 +#define GL_SAMPLER_2D                     0x8B5E
   1.106 +#define GL_SAMPLER_3D                     0x8B5F
   1.107 +#define GL_SAMPLER_CUBE                   0x8B60
   1.108 +#define GL_SAMPLER_1D_SHADOW              0x8B61
   1.109 +#define GL_SAMPLER_2D_SHADOW              0x8B62
   1.110 +#define GL_DELETE_STATUS                  0x8B80
   1.111 +#define GL_COMPILE_STATUS                 0x8B81
   1.112 +#define GL_LINK_STATUS                    0x8B82
   1.113 +#define GL_VALIDATE_STATUS                0x8B83
   1.114 +#define GL_INFO_LOG_LENGTH                0x8B84
   1.115 +#define GL_ATTACHED_SHADERS               0x8B85
   1.116 +#define GL_ACTIVE_UNIFORMS                0x8B86
   1.117 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH      0x8B87
   1.118 +#define GL_SHADER_SOURCE_LENGTH           0x8B88
   1.119 +#define GL_ACTIVE_ATTRIBUTES              0x8B89
   1.120 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH    0x8B8A
   1.121 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
   1.122 +#define GL_SHADING_LANGUAGE_VERSION       0x8B8C
   1.123 +#define GL_CURRENT_PROGRAM                0x8B8D
   1.124 +#define GL_POINT_SPRITE_COORD_ORIGIN      0x8CA0
   1.125 +#define GL_LOWER_LEFT                     0x8CA1
   1.126 +#define GL_UPPER_LEFT                     0x8CA2
   1.127 +#define GL_STENCIL_BACK_REF               0x8CA3
   1.128 +#define GL_STENCIL_BACK_VALUE_MASK        0x8CA4
   1.129 +#define GL_STENCIL_BACK_WRITEMASK         0x8CA5
   1.130 +#endif
   1.131 +
   1.132  #ifndef GL_ARB_multitexture
   1.133  #define GL_TEXTURE0_ARB                   0x84C0
   1.134  #define GL_TEXTURE1_ARB                   0x84C1
   1.135 @@ -804,6 +890,14 @@
   1.136  #define GL_FLOAT_MAT2_ARB                 0x8B5A
   1.137  #define GL_FLOAT_MAT3_ARB                 0x8B5B
   1.138  #define GL_FLOAT_MAT4_ARB                 0x8B5C
   1.139 +#define GL_SAMPLER_1D_ARB                 0x8B5D
   1.140 +#define GL_SAMPLER_2D_ARB                 0x8B5E
   1.141 +#define GL_SAMPLER_3D_ARB                 0x8B5F
   1.142 +#define GL_SAMPLER_CUBE_ARB               0x8B60
   1.143 +#define GL_SAMPLER_1D_SHADOW_ARB          0x8B61
   1.144 +#define GL_SAMPLER_2D_SHADOW_ARB          0x8B62
   1.145 +#define GL_SAMPLER_2D_RECT_ARB            0x8B63
   1.146 +#define GL_SAMPLER_2D_RECT_SHADOW_ARB     0x8B64
   1.147  #define GL_OBJECT_DELETE_STATUS_ARB       0x8B80
   1.148  #define GL_OBJECT_COMPILE_STATUS_ARB      0x8B81
   1.149  #define GL_OBJECT_LINK_STATUS_ARB         0x8B82
   1.150 @@ -828,9 +922,11 @@
   1.151  #ifndef GL_ARB_fragment_shader
   1.152  #define GL_FRAGMENT_SHADER_ARB            0x8B30
   1.153  #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
   1.154 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
   1.155  #endif
   1.156  
   1.157  #ifndef GL_ARB_shading_language_100
   1.158 +#define GL_SHADING_LANGUAGE_VERSION_ARB   0x8B8C
   1.159  #endif
   1.160  
   1.161  #ifndef GL_ARB_texture_non_power_of_two
   1.162 @@ -841,6 +937,78 @@
   1.163  #define GL_COORD_REPLACE_ARB              0x8862
   1.164  #endif
   1.165  
   1.166 +#ifndef GL_ARB_fragment_program_shadow
   1.167 +#endif
   1.168 +
   1.169 +#ifndef GL_ARB_draw_buffers
   1.170 +#define GL_MAX_DRAW_BUFFERS_ARB           0x8824
   1.171 +#define GL_DRAW_BUFFER0_ARB               0x8825
   1.172 +#define GL_DRAW_BUFFER1_ARB               0x8826
   1.173 +#define GL_DRAW_BUFFER2_ARB               0x8827
   1.174 +#define GL_DRAW_BUFFER3_ARB               0x8828
   1.175 +#define GL_DRAW_BUFFER4_ARB               0x8829
   1.176 +#define GL_DRAW_BUFFER5_ARB               0x882A
   1.177 +#define GL_DRAW_BUFFER6_ARB               0x882B
   1.178 +#define GL_DRAW_BUFFER7_ARB               0x882C
   1.179 +#define GL_DRAW_BUFFER8_ARB               0x882D
   1.180 +#define GL_DRAW_BUFFER9_ARB               0x882E
   1.181 +#define GL_DRAW_BUFFER10_ARB              0x882F
   1.182 +#define GL_DRAW_BUFFER11_ARB              0x8830
   1.183 +#define GL_DRAW_BUFFER12_ARB              0x8831
   1.184 +#define GL_DRAW_BUFFER13_ARB              0x8832
   1.185 +#define GL_DRAW_BUFFER14_ARB              0x8833
   1.186 +#define GL_DRAW_BUFFER15_ARB              0x8834
   1.187 +#endif
   1.188 +
   1.189 +#ifndef GL_ARB_texture_rectangle
   1.190 +#define GL_TEXTURE_RECTANGLE_ARB          0x84F5
   1.191 +#define GL_TEXTURE_BINDING_RECTANGLE_ARB  0x84F6
   1.192 +#define GL_PROXY_TEXTURE_RECTANGLE_ARB    0x84F7
   1.193 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
   1.194 +#endif
   1.195 +
   1.196 +#ifndef GL_ARB_color_buffer_float
   1.197 +#define GL_RGBA_FLOAT_MODE_ARB            0x8820
   1.198 +#define GL_CLAMP_VERTEX_COLOR_ARB         0x891A
   1.199 +#define GL_CLAMP_FRAGMENT_COLOR_ARB       0x891B
   1.200 +#define GL_CLAMP_READ_COLOR_ARB           0x891C
   1.201 +#define GL_FIXED_ONLY_ARB                 0x891D
   1.202 +#endif
   1.203 +
   1.204 +#ifndef GL_ARB_half_float_pixel
   1.205 +#define GL_HALF_FLOAT_ARB                 0x140B
   1.206 +#endif
   1.207 +
   1.208 +#ifndef GL_ARB_texture_float
   1.209 +#define GL_TEXTURE_RED_TYPE_ARB           0x8C10
   1.210 +#define GL_TEXTURE_GREEN_TYPE_ARB         0x8C11
   1.211 +#define GL_TEXTURE_BLUE_TYPE_ARB          0x8C12
   1.212 +#define GL_TEXTURE_ALPHA_TYPE_ARB         0x8C13
   1.213 +#define GL_TEXTURE_LUMINANCE_TYPE_ARB     0x8C14
   1.214 +#define GL_TEXTURE_INTENSITY_TYPE_ARB     0x8C15
   1.215 +#define GL_TEXTURE_DEPTH_TYPE_ARB         0x8C16
   1.216 +#define GL_UNSIGNED_NORMALIZED_ARB        0x8C17
   1.217 +#define GL_RGBA32F_ARB                    0x8814
   1.218 +#define GL_RGB32F_ARB                     0x8815
   1.219 +#define GL_ALPHA32F_ARB                   0x8816
   1.220 +#define GL_INTENSITY32F_ARB               0x8817
   1.221 +#define GL_LUMINANCE32F_ARB               0x8818
   1.222 +#define GL_LUMINANCE_ALPHA32F_ARB         0x8819
   1.223 +#define GL_RGBA16F_ARB                    0x881A
   1.224 +#define GL_RGB16F_ARB                     0x881B
   1.225 +#define GL_ALPHA16F_ARB                   0x881C
   1.226 +#define GL_INTENSITY16F_ARB               0x881D
   1.227 +#define GL_LUMINANCE16F_ARB               0x881E
   1.228 +#define GL_LUMINANCE_ALPHA16F_ARB         0x881F
   1.229 +#endif
   1.230 +
   1.231 +#ifndef GL_ARB_pixel_buffer_object
   1.232 +#define GL_PIXEL_PACK_BUFFER_ARB          0x88EB
   1.233 +#define GL_PIXEL_UNPACK_BUFFER_ARB        0x88EC
   1.234 +#define GL_PIXEL_PACK_BUFFER_BINDING_ARB  0x88ED
   1.235 +#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
   1.236 +#endif
   1.237 +
   1.238  #ifndef GL_EXT_abgr
   1.239  #define GL_ABGR_EXT                       0x8000
   1.240  #endif
   1.241 @@ -1171,6 +1339,10 @@
   1.242  #define GL_CLAMP_TO_EDGE_SGIS             0x812F
   1.243  #endif
   1.244  
   1.245 +#ifndef GL_SGIS_texture_border_clamp
   1.246 +#define GL_CLAMP_TO_BORDER_SGIS           0x812D
   1.247 +#endif
   1.248 +
   1.249  #ifndef GL_EXT_blend_minmax
   1.250  #define GL_FUNC_ADD_EXT                   0x8006
   1.251  #define GL_MIN_EXT                        0x8007
   1.252 @@ -2714,6 +2886,11 @@
   1.253  #define GL_DRAW_BUFFER15_ATI              0x8834
   1.254  #endif
   1.255  
   1.256 +#ifndef GL_ATI_pixel_format_float
   1.257 +#define GL_TYPE_RGBA_FLOAT_ATI            0x8820
   1.258 +#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
   1.259 +#endif
   1.260 +
   1.261  #ifndef GL_ATI_texture_env_combine3
   1.262  #define GL_MODULATE_ADD_ATI               0x8744
   1.263  #define GL_MODULATE_SIGNED_ADD_ATI        0x8745
   1.264 @@ -2800,6 +2977,11 @@
   1.265  #ifndef GL_ATI_vertex_attrib_array_object
   1.266  #endif
   1.267  
   1.268 +#ifndef GL_OES_read_format
   1.269 +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
   1.270 +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
   1.271 +#endif
   1.272 +
   1.273  #ifndef GL_EXT_depth_bounds_test
   1.274  #define GL_DEPTH_BOUNDS_TEST_EXT          0x8890
   1.275  #define GL_DEPTH_BOUNDS_EXT               0x8891
   1.276 @@ -2826,10 +3008,100 @@
   1.277  #define GL_YCBCR_MESA                     0x8757
   1.278  #endif
   1.279  
   1.280 +#ifndef GL_EXT_pixel_buffer_object
   1.281 +#define GL_PIXEL_PACK_BUFFER_EXT          0x88EB
   1.282 +#define GL_PIXEL_UNPACK_BUFFER_EXT        0x88EC
   1.283 +#define GL_PIXEL_PACK_BUFFER_BINDING_EXT  0x88ED
   1.284 +#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
   1.285 +#endif
   1.286 +
   1.287 +#ifndef GL_NV_fragment_program_option
   1.288 +#endif
   1.289 +
   1.290 +#ifndef GL_NV_fragment_program2
   1.291 +#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
   1.292 +#define GL_MAX_PROGRAM_CALL_DEPTH_NV      0x88F5
   1.293 +#define GL_MAX_PROGRAM_IF_DEPTH_NV        0x88F6
   1.294 +#define GL_MAX_PROGRAM_LOOP_DEPTH_NV      0x88F7
   1.295 +#define GL_MAX_PROGRAM_LOOP_COUNT_NV      0x88F8
   1.296 +#endif
   1.297 +
   1.298 +#ifndef GL_NV_vertex_program2_option
   1.299 +/* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
   1.300 +/* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
   1.301 +#endif
   1.302 +
   1.303 +#ifndef GL_NV_vertex_program3
   1.304 +/* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
   1.305 +#endif
   1.306 +
   1.307 +#ifndef GL_EXT_framebuffer_object
   1.308 +#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
   1.309 +#define GL_MAX_RENDERBUFFER_SIZE_EXT      0x84E8
   1.310 +#define GL_FRAMEBUFFER_BINDING_EXT        0x8CA6
   1.311 +#define GL_RENDERBUFFER_BINDING_EXT       0x8CA7
   1.312 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
   1.313 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
   1.314 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
   1.315 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
   1.316 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
   1.317 +#define GL_FRAMEBUFFER_COMPLETE_EXT       0x8CD5
   1.318 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
   1.319 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
   1.320 +#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
   1.321 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
   1.322 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
   1.323 +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
   1.324 +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
   1.325 +#define GL_FRAMEBUFFER_UNSUPPORTED_EXT    0x8CDD
   1.326 +#define GL_MAX_COLOR_ATTACHMENTS_EXT      0x8CDF
   1.327 +#define GL_COLOR_ATTACHMENT0_EXT          0x8CE0
   1.328 +#define GL_COLOR_ATTACHMENT1_EXT          0x8CE1
   1.329 +#define GL_COLOR_ATTACHMENT2_EXT          0x8CE2
   1.330 +#define GL_COLOR_ATTACHMENT3_EXT          0x8CE3
   1.331 +#define GL_COLOR_ATTACHMENT4_EXT          0x8CE4
   1.332 +#define GL_COLOR_ATTACHMENT5_EXT          0x8CE5
   1.333 +#define GL_COLOR_ATTACHMENT6_EXT          0x8CE6
   1.334 +#define GL_COLOR_ATTACHMENT7_EXT          0x8CE7
   1.335 +#define GL_COLOR_ATTACHMENT8_EXT          0x8CE8
   1.336 +#define GL_COLOR_ATTACHMENT9_EXT          0x8CE9
   1.337 +#define GL_COLOR_ATTACHMENT10_EXT         0x8CEA
   1.338 +#define GL_COLOR_ATTACHMENT11_EXT         0x8CEB
   1.339 +#define GL_COLOR_ATTACHMENT12_EXT         0x8CEC
   1.340 +#define GL_COLOR_ATTACHMENT13_EXT         0x8CED
   1.341 +#define GL_COLOR_ATTACHMENT14_EXT         0x8CEE
   1.342 +#define GL_COLOR_ATTACHMENT15_EXT         0x8CEF
   1.343 +#define GL_DEPTH_ATTACHMENT_EXT           0x8D00
   1.344 +#define GL_STENCIL_ATTACHMENT_EXT         0x8D20
   1.345 +#define GL_FRAMEBUFFER_EXT                0x8D40
   1.346 +#define GL_RENDERBUFFER_EXT               0x8D41
   1.347 +#define GL_RENDERBUFFER_WIDTH_EXT         0x8D42
   1.348 +#define GL_RENDERBUFFER_HEIGHT_EXT        0x8D43
   1.349 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
   1.350 +#define GL_STENCIL_INDEX1_EXT             0x8D46
   1.351 +#define GL_STENCIL_INDEX4_EXT             0x8D47
   1.352 +#define GL_STENCIL_INDEX8_EXT             0x8D48
   1.353 +#define GL_STENCIL_INDEX16_EXT            0x8D49
   1.354 +#define GL_RENDERBUFFER_RED_SIZE_EXT      0x8D50
   1.355 +#define GL_RENDERBUFFER_GREEN_SIZE_EXT    0x8D51
   1.356 +#define GL_RENDERBUFFER_BLUE_SIZE_EXT     0x8D52
   1.357 +#define GL_RENDERBUFFER_ALPHA_SIZE_EXT    0x8D53
   1.358 +#define GL_RENDERBUFFER_DEPTH_SIZE_EXT    0x8D54
   1.359 +#define GL_RENDERBUFFER_STENCIL_SIZE_EXT  0x8D55
   1.360 +#endif
   1.361 +
   1.362 +#ifndef GL_GREMEDY_string_marker
   1.363 +#endif
   1.364 +
   1.365  
   1.366  /*************************************************************/
   1.367  
   1.368  #include <stddef.h>
   1.369 +#ifndef GL_VERSION_2_0
   1.370 +/* GL type for program/shader text */
   1.371 +typedef char GLchar;			/* native character */
   1.372 +#endif
   1.373 +
   1.374  #ifndef GL_VERSION_1_5
   1.375  /* GL types for handling large vertex buffer objects */
   1.376  typedef ptrdiff_t GLintptr;
   1.377 @@ -2843,13 +3115,17 @@
   1.378  #endif
   1.379  
   1.380  #ifndef GL_ARB_shader_objects
   1.381 -/* GL types for handling shader object handles and characters */
   1.382 +/* GL types for handling shader object handles and program/shader text */
   1.383  typedef char GLcharARB;		/* native character */
   1.384  typedef unsigned int GLhandleARB;	/* shader object handle */
   1.385  #endif
   1.386  
   1.387 +/* GL types for "half" precision (s10e5) float data in host memory */
   1.388 +#ifndef GL_ARB_half_float_pixel
   1.389 +typedef unsigned short GLhalfARB;
   1.390 +#endif
   1.391 +
   1.392  #ifndef GL_NV_half_float
   1.393 -/* GL type for representing NVIDIA "half" floating point type in host memory */
   1.394  typedef unsigned short GLhalfNV;
   1.395  #endif
   1.396  
   1.397 @@ -3173,6 +3449,198 @@
   1.398  typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
   1.399  #endif
   1.400  
   1.401 +#ifndef GL_VERSION_2_0
   1.402 +#define GL_VERSION_2_0 1
   1.403 +#ifdef GL_GLEXT_PROTOTYPES
   1.404 +GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
   1.405 +GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
   1.406 +GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
   1.407 +GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
   1.408 +GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
   1.409 +GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
   1.410 +GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
   1.411 +GLAPI void APIENTRY glCompileShader (GLuint);
   1.412 +GLAPI GLuint APIENTRY glCreateProgram (void);
   1.413 +GLAPI GLuint APIENTRY glCreateShader (GLenum);
   1.414 +GLAPI void APIENTRY glDeleteProgram (GLuint);
   1.415 +GLAPI void APIENTRY glDeleteShader (GLuint);
   1.416 +GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
   1.417 +GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
   1.418 +GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
   1.419 +GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
   1.420 +GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
   1.421 +GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
   1.422 +GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
   1.423 +GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
   1.424 +GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
   1.425 +GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
   1.426 +GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
   1.427 +GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
   1.428 +GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
   1.429 +GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
   1.430 +GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
   1.431 +GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
   1.432 +GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
   1.433 +GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
   1.434 +GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
   1.435 +GLAPI GLboolean APIENTRY glIsProgram (GLuint);
   1.436 +GLAPI GLboolean APIENTRY glIsShader (GLuint);
   1.437 +GLAPI void APIENTRY glLinkProgram (GLuint);
   1.438 +GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
   1.439 +GLAPI void APIENTRY glUseProgram (GLuint);
   1.440 +GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
   1.441 +GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
   1.442 +GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
   1.443 +GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
   1.444 +GLAPI void APIENTRY glUniform1i (GLint, GLint);
   1.445 +GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
   1.446 +GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
   1.447 +GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
   1.448 +GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
   1.449 +GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
   1.450 +GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
   1.451 +GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
   1.452 +GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
   1.453 +GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
   1.454 +GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
   1.455 +GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
   1.456 +GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.457 +GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.458 +GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
   1.459 +GLAPI void APIENTRY glValidateProgram (GLuint);
   1.460 +GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
   1.461 +GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
   1.462 +GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
   1.463 +GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
   1.464 +GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
   1.465 +GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
   1.466 +GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
   1.467 +GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
   1.468 +GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
   1.469 +GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
   1.470 +GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
   1.471 +GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
   1.472 +GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
   1.473 +GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
   1.474 +GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
   1.475 +GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
   1.476 +GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
   1.477 +GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
   1.478 +GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
   1.479 +GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
   1.480 +GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
   1.481 +GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
   1.482 +GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
   1.483 +GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
   1.484 +GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
   1.485 +GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
   1.486 +GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
   1.487 +GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
   1.488 +GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
   1.489 +GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
   1.490 +GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
   1.491 +GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
   1.492 +GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
   1.493 +GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
   1.494 +GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
   1.495 +GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
   1.496 +GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
   1.497 +#endif /* GL_GLEXT_PROTOTYPES */
   1.498 +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
   1.499 +typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
   1.500 +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
   1.501 +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
   1.502 +typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
   1.503 +typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
   1.504 +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
   1.505 +typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
   1.506 +typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
   1.507 +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
   1.508 +typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
   1.509 +typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
   1.510 +typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
   1.511 +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
   1.512 +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
   1.513 +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.514 +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
   1.515 +typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
   1.516 +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
   1.517 +typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
   1.518 +typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.519 +typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
   1.520 +typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
   1.521 +typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
   1.522 +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
   1.523 +typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
   1.524 +typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
   1.525 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
   1.526 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
   1.527 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
   1.528 +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
   1.529 +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
   1.530 +typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
   1.531 +typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
   1.532 +typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
   1.533 +typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
   1.534 +typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
   1.535 +typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
   1.536 +typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
   1.537 +typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
   1.538 +typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
   1.539 +typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
   1.540 +typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
   1.541 +typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
   1.542 +typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.543 +typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.544 +typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.545 +typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
   1.546 +typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.547 +typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.548 +typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.549 +typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
   1.550 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.551 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.552 +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
   1.553 +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
   1.554 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
   1.555 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
   1.556 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
   1.557 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
   1.558 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
   1.559 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
   1.560 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
   1.561 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
   1.562 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
   1.563 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
   1.564 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
   1.565 +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
   1.566 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
   1.567 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
   1.568 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
   1.569 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
   1.570 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
   1.571 +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
   1.572 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
   1.573 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
   1.574 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
   1.575 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
   1.576 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
   1.577 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
   1.578 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
   1.579 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
   1.580 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
   1.581 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
   1.582 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
   1.583 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
   1.584 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
   1.585 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
   1.586 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
   1.587 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
   1.588 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
   1.589 +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
   1.590 +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
   1.591 +#endif
   1.592 +
   1.593  #ifndef GL_ARB_multitexture
   1.594  #define GL_ARB_multitexture 1
   1.595  #ifdef GL_GLEXT_PROTOTYPES
   1.596 @@ -3365,8 +3833,8 @@
   1.597  #define GL_ARB_texture_env_dot3 1
   1.598  #endif
   1.599  
   1.600 -#ifndef GL_ARB_texture_mirror_repeat
   1.601 -#define GL_ARB_texture_mirror_repeat 1
   1.602 +#ifndef GL_ARB_texture_mirrored_repeat
   1.603 +#define GL_ARB_texture_mirrored_repeat 1
   1.604  #endif
   1.605  
   1.606  #ifndef GL_ARB_depth_texture
   1.607 @@ -3716,6 +4184,42 @@
   1.608  #define GL_ARB_point_sprite 1
   1.609  #endif
   1.610  
   1.611 +#ifndef GL_ARB_fragment_program_shadow
   1.612 +#define GL_ARB_fragment_program_shadow 1
   1.613 +#endif
   1.614 +
   1.615 +#ifndef GL_ARB_draw_buffers
   1.616 +#define GL_ARB_draw_buffers 1
   1.617 +#ifdef GL_GLEXT_PROTOTYPES
   1.618 +GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
   1.619 +#endif /* GL_GLEXT_PROTOTYPES */
   1.620 +typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
   1.621 +#endif
   1.622 +
   1.623 +#ifndef GL_ARB_texture_rectangle
   1.624 +#define GL_ARB_texture_rectangle 1
   1.625 +#endif
   1.626 +
   1.627 +#ifndef GL_ARB_color_buffer_float
   1.628 +#define GL_ARB_color_buffer_float 1
   1.629 +#ifdef GL_GLEXT_PROTOTYPES
   1.630 +GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
   1.631 +#endif /* GL_GLEXT_PROTOTYPES */
   1.632 +typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
   1.633 +#endif
   1.634 +
   1.635 +#ifndef GL_ARB_half_float_pixel
   1.636 +#define GL_ARB_half_float_pixel 1
   1.637 +#endif
   1.638 +
   1.639 +#ifndef GL_ARB_texture_float
   1.640 +#define GL_ARB_texture_float 1
   1.641 +#endif
   1.642 +
   1.643 +#ifndef GL_ARB_pixel_buffer_object
   1.644 +#define GL_ARB_pixel_buffer_object 1
   1.645 +#endif
   1.646 +
   1.647  #ifndef GL_EXT_abgr
   1.648  #define GL_EXT_abgr 1
   1.649  #endif
   1.650 @@ -5742,6 +6246,13 @@
   1.651  typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
   1.652  #endif
   1.653  
   1.654 +#ifndef GL_ATI_pixel_format_float
   1.655 +#define GL_ATI_pixel_format_float 1
   1.656 +/* This is really a WGL extension, but defines some associated GL enums.
   1.657 + * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
   1.658 + */
   1.659 +#endif
   1.660 +
   1.661  #ifndef GL_ATI_texture_env_combine3
   1.662  #define GL_ATI_texture_env_combine3 1
   1.663  #endif
   1.664 @@ -5931,6 +6442,10 @@
   1.665  typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
   1.666  #endif
   1.667  
   1.668 +#ifndef GL_OES_read_format
   1.669 +#define GL_OES_read_format 1
   1.670 +#endif
   1.671 +
   1.672  #ifndef GL_EXT_depth_bounds_test
   1.673  #define GL_EXT_depth_bounds_test 1
   1.674  #ifdef GL_GLEXT_PROTOTYPES
   1.675 @@ -5959,6 +6474,74 @@
   1.676  #define GL_MESA_ycbcr_texture 1
   1.677  #endif
   1.678  
   1.679 +#ifndef GL_EXT_pixel_buffer_object
   1.680 +#define GL_EXT_pixel_buffer_object 1
   1.681 +#endif
   1.682 +
   1.683 +#ifndef GL_NV_fragment_program_option
   1.684 +#define GL_NV_fragment_program_option 1
   1.685 +#endif
   1.686 +
   1.687 +#ifndef GL_NV_fragment_program2
   1.688 +#define GL_NV_fragment_program2 1
   1.689 +#endif
   1.690 +
   1.691 +#ifndef GL_NV_vertex_program2_option
   1.692 +#define GL_NV_vertex_program2_option 1
   1.693 +#endif
   1.694 +
   1.695 +#ifndef GL_NV_vertex_program3
   1.696 +#define GL_NV_vertex_program3 1
   1.697 +#endif
   1.698 +
   1.699 +#ifndef GL_EXT_framebuffer_object
   1.700 +#define GL_EXT_framebuffer_object 1
   1.701 +#ifdef GL_GLEXT_PROTOTYPES
   1.702 +GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint);
   1.703 +GLAPI void APIENTRY glBindRenderbufferEXT (GLenum, GLuint);
   1.704 +GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei, const GLuint *);
   1.705 +GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei, GLuint *);
   1.706 +GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum, GLenum, GLsizei, GLsizei);
   1.707 +GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum, GLenum, GLint *);
   1.708 +GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint);
   1.709 +GLAPI void APIENTRY glBindFramebufferEXT (GLenum, GLuint);
   1.710 +GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei, const GLuint *);
   1.711 +GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei, GLuint *);
   1.712 +GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum);
   1.713 +GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
   1.714 +GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum, GLenum, GLenum, GLuint, GLint);
   1.715 +GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLint);
   1.716 +GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum, GLenum, GLenum, GLuint);
   1.717 +GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum, GLenum, GLenum, GLint *);
   1.718 +GLAPI void APIENTRY glGenerateMipmapEXT (GLenum);
   1.719 +#endif /* GL_GLEXT_PROTOTYPES */
   1.720 +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
   1.721 +typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
   1.722 +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
   1.723 +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
   1.724 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
   1.725 +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
   1.726 +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
   1.727 +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
   1.728 +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
   1.729 +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
   1.730 +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
   1.731 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1.732 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
   1.733 +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
   1.734 +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
   1.735 +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
   1.736 +typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
   1.737 +#endif
   1.738 +
   1.739 +#ifndef GL_GREMEDY_string_marker
   1.740 +#define GL_GREMEDY_string_marker 1
   1.741 +#ifdef GL_GLEXT_PROTOTYPES
   1.742 +GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei, const GLvoid *);
   1.743 +#endif /* GL_GLEXT_PROTOTYPES */
   1.744 +typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
   1.745 +#endif
   1.746 +
   1.747  
   1.748  #ifdef __cplusplus
   1.749  }