include/SDL_opengl.h
branchSDL-1.3
changeset 1662 782fd950bd46
parent 1619 e79e4c5e531b
child 1663 11775724e3fe
     1.1 --- a/include/SDL_opengl.h	Sun May 21 17:27:13 2006 +0000
     1.2 +++ b/include/SDL_opengl.h	Sun May 28 13:04:16 2006 +0000
     1.3 @@ -20,29 +20,33 @@
     1.4      slouken@libsdl.org
     1.5  */
     1.6  
     1.7 -/* This is a simple file to encapsulate the OpenGL API headers */
     1.8 +/**
     1.9 + * \file SDL_opengl.h
    1.10 + *
    1.11 + * This is a simple file to encapsulate the OpenGL API headers
    1.12 + */
    1.13  
    1.14  #include "SDL_config.h"
    1.15  
    1.16  #ifdef __WIN32__
    1.17  #define WIN32_LEAN_AND_MEAN
    1.18  #ifndef NOMINMAX
    1.19 -#define NOMINMAX	/* Don't defined min() and max() */
    1.20 +#define NOMINMAX                /* Don't defined min() and max() */
    1.21  #endif
    1.22  #include <windows.h>
    1.23  #endif
    1.24  #ifndef NO_SDL_GLEXT
    1.25 -#define __glext_h_  /* Don't let gl.h include glext.h */
    1.26 +#define __glext_h_              /* Don't let gl.h include glext.h */
    1.27  #endif
    1.28  #if defined(__MACOSX__)
    1.29 -#include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    1.30 -#include <OpenGL/glu.h>	/* Header File For The GLU Library */
    1.31 +#include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
    1.32 +#include <OpenGL/glu.h>         /* Header File For The GLU Library */
    1.33  #elif defined(__MACOS__)
    1.34 -#include <gl.h>		/* Header File For The OpenGL Library */
    1.35 -#include <glu.h>	/* Header File For The GLU Library */
    1.36 +#include <gl.h>                 /* Header File For The OpenGL Library */
    1.37 +#include <glu.h>                /* Header File For The GLU Library */
    1.38  #else
    1.39 -#include <GL/gl.h>	/* Header File For The OpenGL Library */
    1.40 -#include <GL/glu.h>	/* Header File For The GLU Library */
    1.41 +#include <GL/gl.h>              /* Header File For The OpenGL Library */
    1.42 +#include <GL/glu.h>             /* Header File For The GLU Library */
    1.43  #endif
    1.44  #ifndef NO_SDL_GLEXT
    1.45  #undef __glext_h_
    1.46 @@ -57,7 +61,8 @@
    1.47  #define __glext_h_
    1.48  
    1.49  #ifdef __cplusplus
    1.50 -extern "C" {
    1.51 +extern "C"
    1.52 +{
    1.53  #endif
    1.54  
    1.55  /*
    1.56 @@ -3099,642 +3104,1247 @@
    1.57  #include <stddef.h>
    1.58  #ifndef GL_VERSION_2_0
    1.59  /* GL type for program/shader text */
    1.60 -typedef char GLchar;			/* native character */
    1.61 +    typedef char GLchar;        /* native character */
    1.62  #endif
    1.63  
    1.64  #ifndef GL_VERSION_1_5
    1.65  /* GL types for handling large vertex buffer objects */
    1.66 -typedef ptrdiff_t GLintptr;
    1.67 -typedef ptrdiff_t GLsizeiptr;
    1.68 +    typedef ptrdiff_t GLintptr;
    1.69 +    typedef ptrdiff_t GLsizeiptr;
    1.70  #endif
    1.71  
    1.72  #ifndef GL_ARB_vertex_buffer_object
    1.73  /* GL types for handling large vertex buffer objects */
    1.74 -typedef ptrdiff_t GLintptrARB;
    1.75 -typedef ptrdiff_t GLsizeiptrARB;
    1.76 +    typedef ptrdiff_t GLintptrARB;
    1.77 +    typedef ptrdiff_t GLsizeiptrARB;
    1.78  #endif
    1.79  
    1.80  #ifndef GL_ARB_shader_objects
    1.81  /* GL types for handling shader object handles and program/shader text */
    1.82 -typedef char GLcharARB;		/* native character */
    1.83 -typedef unsigned int GLhandleARB;	/* shader object handle */
    1.84 +    typedef char GLcharARB;     /* native character */
    1.85 +    typedef unsigned int GLhandleARB;   /* shader object handle */
    1.86  #endif
    1.87  
    1.88  /* GL types for "half" precision (s10e5) float data in host memory */
    1.89  #ifndef GL_ARB_half_float_pixel
    1.90 -typedef unsigned short GLhalfARB;
    1.91 +    typedef unsigned short GLhalfARB;
    1.92  #endif
    1.93  
    1.94  #ifndef GL_NV_half_float
    1.95 -typedef unsigned short GLhalfNV;
    1.96 +    typedef unsigned short GLhalfNV;
    1.97  #endif
    1.98  
    1.99  #ifndef GL_VERSION_1_2
   1.100  #define GL_VERSION_1_2 1
   1.101  #ifdef GL_GLEXT_PROTOTYPES
   1.102 -GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
   1.103 -GLAPI void APIENTRY glBlendEquation (GLenum);
   1.104 -GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
   1.105 -GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
   1.106 -GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum, const GLfloat *);
   1.107 -GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum, const GLint *);
   1.108 -GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint, GLsizei);
   1.109 -GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
   1.110 -GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum, GLfloat *);
   1.111 -GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
   1.112 -GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
   1.113 -GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint, GLsizei);
   1.114 -GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
   1.115 -GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
   1.116 -GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
   1.117 -GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum, const GLfloat *);
   1.118 -GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
   1.119 -GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum, const GLint *);
   1.120 -GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint, GLint, GLsizei);
   1.121 -GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
   1.122 -GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum, GLvoid *);
   1.123 -GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum, GLfloat *);
   1.124 -GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
   1.125 -GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
   1.126 -GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
   1.127 -GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
   1.128 -GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
   1.129 -GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
   1.130 -GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
   1.131 -GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
   1.132 -GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
   1.133 -GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
   1.134 -GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
   1.135 -GLAPI void APIENTRY glResetHistogram (GLenum);
   1.136 -GLAPI void APIENTRY glResetMinmax (GLenum);
   1.137 -GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
   1.138 -GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
   1.139 -GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
   1.140 -#endif /* GL_GLEXT_PROTOTYPES */
   1.141 -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
   1.142 -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
   1.143 -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
   1.144 -typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
   1.145 -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
   1.146 -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
   1.147 -typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   1.148 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
   1.149 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   1.150 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.151 -typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
   1.152 -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
   1.153 -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
   1.154 -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
   1.155 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
   1.156 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
   1.157 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
   1.158 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
   1.159 -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
   1.160 -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
   1.161 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
   1.162 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   1.163 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.164 -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
   1.165 -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
   1.166 -typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
   1.167 -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   1.168 -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.169 -typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
   1.170 -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
   1.171 -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
   1.172 -typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
   1.173 -typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
   1.174 -typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
   1.175 -typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
   1.176 -typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
   1.177 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
   1.178 -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1.179 +    GLAPI void APIENTRY glBlendColor (GLclampf, GLclampf, GLclampf, GLclampf);
   1.180 +    GLAPI void APIENTRY glBlendEquation (GLenum);
   1.181 +    GLAPI void APIENTRY glDrawRangeElements (GLenum, GLuint, GLuint, GLsizei,
   1.182 +                                             GLenum, const GLvoid *);
   1.183 +    GLAPI void APIENTRY glColorTable (GLenum, GLenum, GLsizei, GLenum, GLenum,
   1.184 +                                      const GLvoid *);
   1.185 +    GLAPI void APIENTRY glColorTableParameterfv (GLenum, GLenum,
   1.186 +                                                 const GLfloat *);
   1.187 +    GLAPI void APIENTRY glColorTableParameteriv (GLenum, GLenum,
   1.188 +                                                 const GLint *);
   1.189 +    GLAPI void APIENTRY glCopyColorTable (GLenum, GLenum, GLint, GLint,
   1.190 +                                          GLsizei);
   1.191 +    GLAPI void APIENTRY glGetColorTable (GLenum, GLenum, GLenum, GLvoid *);
   1.192 +    GLAPI void APIENTRY glGetColorTableParameterfv (GLenum, GLenum,
   1.193 +                                                    GLfloat *);
   1.194 +    GLAPI void APIENTRY glGetColorTableParameteriv (GLenum, GLenum, GLint *);
   1.195 +    GLAPI void APIENTRY glColorSubTable (GLenum, GLsizei, GLsizei, GLenum,
   1.196 +                                         GLenum, const GLvoid *);
   1.197 +    GLAPI void APIENTRY glCopyColorSubTable (GLenum, GLsizei, GLint, GLint,
   1.198 +                                             GLsizei);
   1.199 +    GLAPI void APIENTRY glConvolutionFilter1D (GLenum, GLenum, GLsizei,
   1.200 +                                               GLenum, GLenum,
   1.201 +                                               const GLvoid *);
   1.202 +    GLAPI void APIENTRY glConvolutionFilter2D (GLenum, GLenum, GLsizei,
   1.203 +                                               GLsizei, GLenum, GLenum,
   1.204 +                                               const GLvoid *);
   1.205 +    GLAPI void APIENTRY glConvolutionParameterf (GLenum, GLenum, GLfloat);
   1.206 +    GLAPI void APIENTRY glConvolutionParameterfv (GLenum, GLenum,
   1.207 +                                                  const GLfloat *);
   1.208 +    GLAPI void APIENTRY glConvolutionParameteri (GLenum, GLenum, GLint);
   1.209 +    GLAPI void APIENTRY glConvolutionParameteriv (GLenum, GLenum,
   1.210 +                                                  const GLint *);
   1.211 +    GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum, GLenum, GLint,
   1.212 +                                                   GLint, GLsizei);
   1.213 +    GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum, GLenum, GLint,
   1.214 +                                                   GLint, GLsizei, GLsizei);
   1.215 +    GLAPI void APIENTRY glGetConvolutionFilter (GLenum, GLenum, GLenum,
   1.216 +                                                GLvoid *);
   1.217 +    GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum, GLenum,
   1.218 +                                                     GLfloat *);
   1.219 +    GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum, GLenum, GLint *);
   1.220 +    GLAPI void APIENTRY glGetSeparableFilter (GLenum, GLenum, GLenum,
   1.221 +                                              GLvoid *, GLvoid *, GLvoid *);
   1.222 +    GLAPI void APIENTRY glSeparableFilter2D (GLenum, GLenum, GLsizei, GLsizei,
   1.223 +                                             GLenum, GLenum, const GLvoid *,
   1.224 +                                             const GLvoid *);
   1.225 +    GLAPI void APIENTRY glGetHistogram (GLenum, GLboolean, GLenum, GLenum,
   1.226 +                                        GLvoid *);
   1.227 +    GLAPI void APIENTRY glGetHistogramParameterfv (GLenum, GLenum, GLfloat *);
   1.228 +    GLAPI void APIENTRY glGetHistogramParameteriv (GLenum, GLenum, GLint *);
   1.229 +    GLAPI void APIENTRY glGetMinmax (GLenum, GLboolean, GLenum, GLenum,
   1.230 +                                     GLvoid *);
   1.231 +    GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum, GLenum, GLfloat *);
   1.232 +    GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum, GLenum, GLint *);
   1.233 +    GLAPI void APIENTRY glHistogram (GLenum, GLsizei, GLenum, GLboolean);
   1.234 +    GLAPI void APIENTRY glMinmax (GLenum, GLenum, GLboolean);
   1.235 +    GLAPI void APIENTRY glResetHistogram (GLenum);
   1.236 +    GLAPI void APIENTRY glResetMinmax (GLenum);
   1.237 +    GLAPI void APIENTRY glTexImage3D (GLenum, GLint, GLint, GLsizei, GLsizei,
   1.238 +                                      GLsizei, GLint, GLenum, GLenum,
   1.239 +                                      const GLvoid *);
   1.240 +    GLAPI void APIENTRY glTexSubImage3D (GLenum, GLint, GLint, GLint, GLint,
   1.241 +                                         GLsizei, GLsizei, GLsizei, GLenum,
   1.242 +                                         GLenum, const GLvoid *);
   1.243 +    GLAPI void APIENTRY glCopyTexSubImage3D (GLenum, GLint, GLint, GLint,
   1.244 +                                             GLint, GLint, GLint, GLsizei,
   1.245 +                                             GLsizei);
   1.246 +#endif                          /* GL_GLEXT_PROTOTYPES */
   1.247 +    typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red,
   1.248 +                                                  GLclampf green,
   1.249 +                                                  GLclampf blue,
   1.250 +                                                  GLclampf alpha);
   1.251 +    typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
   1.252 +    typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode,
   1.253 +                                                         GLuint start,
   1.254 +                                                         GLuint end,
   1.255 +                                                         GLsizei count,
   1.256 +                                                         GLenum type,
   1.257 +                                                         const GLvoid *
   1.258 +                                                         indices);
   1.259 +    typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target,
   1.260 +                                                  GLenum internalformat,
   1.261 +                                                  GLsizei width,
   1.262 +                                                  GLenum format, GLenum type,
   1.263 +                                                  const GLvoid * table);
   1.264 +    typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target,
   1.265 +                                                             GLenum pname,
   1.266 +                                                             const GLfloat *
   1.267 +                                                             params);
   1.268 +    typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target,
   1.269 +                                                             GLenum pname,
   1.270 +                                                             const GLint *
   1.271 +                                                             params);
   1.272 +    typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target,
   1.273 +                                                      GLenum internalformat,
   1.274 +                                                      GLint x, GLint y,
   1.275 +                                                      GLsizei width);
   1.276 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target,
   1.277 +                                                     GLenum format,
   1.278 +                                                     GLenum type,
   1.279 +                                                     GLvoid * table);
   1.280 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target,
   1.281 +                                                                GLenum pname,
   1.282 +                                                                GLfloat *
   1.283 +                                                                params);
   1.284 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target,
   1.285 +                                                                GLenum pname,
   1.286 +                                                                GLint *
   1.287 +                                                                params);
   1.288 +    typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target,
   1.289 +                                                     GLsizei start,
   1.290 +                                                     GLsizei count,
   1.291 +                                                     GLenum format,
   1.292 +                                                     GLenum type,
   1.293 +                                                     const GLvoid * data);
   1.294 +    typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target,
   1.295 +                                                         GLsizei start,
   1.296 +                                                         GLint x, GLint y,
   1.297 +                                                         GLsizei width);
   1.298 +    typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target,
   1.299 +                                                           GLenum
   1.300 +                                                           internalformat,
   1.301 +                                                           GLsizei width,
   1.302 +                                                           GLenum format,
   1.303 +                                                           GLenum type,
   1.304 +                                                           const GLvoid *
   1.305 +                                                           image);
   1.306 +    typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target,
   1.307 +                                                           GLenum
   1.308 +                                                           internalformat,
   1.309 +                                                           GLsizei width,
   1.310 +                                                           GLsizei height,
   1.311 +                                                           GLenum format,
   1.312 +                                                           GLenum type,
   1.313 +                                                           const GLvoid *
   1.314 +                                                           image);
   1.315 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target,
   1.316 +                                                             GLenum pname,
   1.317 +                                                             GLfloat params);
   1.318 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target,
   1.319 +                                                              GLenum pname,
   1.320 +                                                              const GLfloat *
   1.321 +                                                              params);
   1.322 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target,
   1.323 +                                                             GLenum pname,
   1.324 +                                                             GLint params);
   1.325 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target,
   1.326 +                                                              GLenum pname,
   1.327 +                                                              const GLint *
   1.328 +                                                              params);
   1.329 +    typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target,
   1.330 +                                                               GLenum
   1.331 +                                                               internalformat,
   1.332 +                                                               GLint x,
   1.333 +                                                               GLint y,
   1.334 +                                                               GLsizei width);
   1.335 +    typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target,
   1.336 +                                                               GLenum
   1.337 +                                                               internalformat,
   1.338 +                                                               GLint x,
   1.339 +                                                               GLint y,
   1.340 +                                                               GLsizei width,
   1.341 +                                                               GLsizei
   1.342 +                                                               height);
   1.343 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target,
   1.344 +                                                            GLenum format,
   1.345 +                                                            GLenum type,
   1.346 +                                                            GLvoid * image);
   1.347 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum
   1.348 +                                                                 target,
   1.349 +                                                                 GLenum pname,
   1.350 +                                                                 GLfloat *
   1.351 +                                                                 params);
   1.352 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum
   1.353 +                                                                 target,
   1.354 +                                                                 GLenum pname,
   1.355 +                                                                 GLint *
   1.356 +                                                                 params);
   1.357 +    typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target,
   1.358 +                                                          GLenum format,
   1.359 +                                                          GLenum type,
   1.360 +                                                          GLvoid * row,
   1.361 +                                                          GLvoid * column,
   1.362 +                                                          GLvoid * span);
   1.363 +    typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target,
   1.364 +                                                         GLenum
   1.365 +                                                         internalformat,
   1.366 +                                                         GLsizei width,
   1.367 +                                                         GLsizei height,
   1.368 +                                                         GLenum format,
   1.369 +                                                         GLenum type,
   1.370 +                                                         const GLvoid * row,
   1.371 +                                                         const GLvoid *
   1.372 +                                                         column);
   1.373 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target,
   1.374 +                                                    GLboolean reset,
   1.375 +                                                    GLenum format,
   1.376 +                                                    GLenum type,
   1.377 +                                                    GLvoid * values);
   1.378 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target,
   1.379 +                                                               GLenum pname,
   1.380 +                                                               GLfloat *
   1.381 +                                                               params);
   1.382 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target,
   1.383 +                                                               GLenum pname,
   1.384 +                                                               GLint *
   1.385 +                                                               params);
   1.386 +    typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target,
   1.387 +                                                 GLboolean reset,
   1.388 +                                                 GLenum format, GLenum type,
   1.389 +                                                 GLvoid * values);
   1.390 +    typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target,
   1.391 +                                                            GLenum pname,
   1.392 +                                                            GLfloat * params);
   1.393 +    typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target,
   1.394 +                                                            GLenum pname,
   1.395 +                                                            GLint * params);
   1.396 +    typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width,
   1.397 +                                                 GLenum internalformat,
   1.398 +                                                 GLboolean sink);
   1.399 +    typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target,
   1.400 +                                              GLenum internalformat,
   1.401 +                                              GLboolean sink);
   1.402 +    typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
   1.403 +    typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
   1.404 +    typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level,
   1.405 +                                                  GLint internalformat,
   1.406 +                                                  GLsizei width,
   1.407 +                                                  GLsizei height,
   1.408 +                                                  GLsizei depth, GLint border,
   1.409 +                                                  GLenum format, GLenum type,
   1.410 +                                                  const GLvoid * pixels);
   1.411 +    typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target,
   1.412 +                                                     GLint level,
   1.413 +                                                     GLint xoffset,
   1.414 +                                                     GLint yoffset,
   1.415 +                                                     GLint zoffset,
   1.416 +                                                     GLsizei width,
   1.417 +                                                     GLsizei height,
   1.418 +                                                     GLsizei depth,
   1.419 +                                                     GLenum format,
   1.420 +                                                     GLenum type,
   1.421 +                                                     const GLvoid * pixels);
   1.422 +    typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target,
   1.423 +                                                         GLint level,
   1.424 +                                                         GLint xoffset,
   1.425 +                                                         GLint yoffset,
   1.426 +                                                         GLint zoffset,
   1.427 +                                                         GLint x, GLint y,
   1.428 +                                                         GLsizei width,
   1.429 +                                                         GLsizei height);
   1.430  #endif
   1.431  
   1.432  #ifndef GL_VERSION_1_3
   1.433  #define GL_VERSION_1_3 1
   1.434  #ifdef GL_GLEXT_PROTOTYPES
   1.435 -GLAPI void APIENTRY glActiveTexture (GLenum);
   1.436 -GLAPI void APIENTRY glClientActiveTexture (GLenum);
   1.437 -GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
   1.438 -GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
   1.439 -GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
   1.440 -GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
   1.441 -GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
   1.442 -GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
   1.443 -GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
   1.444 -GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
   1.445 -GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
   1.446 -GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
   1.447 -GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
   1.448 -GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
   1.449 -GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
   1.450 -GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
   1.451 -GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
   1.452 -GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
   1.453 -GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble, GLdouble);
   1.454 -GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
   1.455 -GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
   1.456 -GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
   1.457 -GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
   1.458 -GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
   1.459 -GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
   1.460 -GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
   1.461 -GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
   1.462 -GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
   1.463 -GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
   1.464 -GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
   1.465 -GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint, GLint);
   1.466 -GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
   1.467 -GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort, GLshort);
   1.468 -GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
   1.469 -GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
   1.470 -GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
   1.471 -GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
   1.472 -GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
   1.473 -GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
   1.474 -GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
   1.475 -GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
   1.476 -GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
   1.477 -GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
   1.478 -GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
   1.479 -GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
   1.480 -GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
   1.481 -#endif /* GL_GLEXT_PROTOTYPES */
   1.482 -typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
   1.483 -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
   1.484 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
   1.485 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
   1.486 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
   1.487 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
   1.488 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
   1.489 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
   1.490 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
   1.491 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
   1.492 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
   1.493 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
   1.494 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
   1.495 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
   1.496 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
   1.497 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
   1.498 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
   1.499 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
   1.500 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
   1.501 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
   1.502 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
   1.503 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
   1.504 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
   1.505 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
   1.506 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
   1.507 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
   1.508 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
   1.509 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
   1.510 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   1.511 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
   1.512 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
   1.513 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
   1.514 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
   1.515 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
   1.516 -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
   1.517 -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
   1.518 -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
   1.519 -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
   1.520 -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
   1.521 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
   1.522 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
   1.523 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
   1.524 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
   1.525 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
   1.526 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
   1.527 -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
   1.528 +    GLAPI void APIENTRY glActiveTexture (GLenum);
   1.529 +    GLAPI void APIENTRY glClientActiveTexture (GLenum);
   1.530 +    GLAPI void APIENTRY glMultiTexCoord1d (GLenum, GLdouble);
   1.531 +    GLAPI void APIENTRY glMultiTexCoord1dv (GLenum, const GLdouble *);
   1.532 +    GLAPI void APIENTRY glMultiTexCoord1f (GLenum, GLfloat);
   1.533 +    GLAPI void APIENTRY glMultiTexCoord1fv (GLenum, const GLfloat *);
   1.534 +    GLAPI void APIENTRY glMultiTexCoord1i (GLenum, GLint);
   1.535 +    GLAPI void APIENTRY glMultiTexCoord1iv (GLenum, const GLint *);
   1.536 +    GLAPI void APIENTRY glMultiTexCoord1s (GLenum, GLshort);
   1.537 +    GLAPI void APIENTRY glMultiTexCoord1sv (GLenum, const GLshort *);
   1.538 +    GLAPI void APIENTRY glMultiTexCoord2d (GLenum, GLdouble, GLdouble);
   1.539 +    GLAPI void APIENTRY glMultiTexCoord2dv (GLenum, const GLdouble *);
   1.540 +    GLAPI void APIENTRY glMultiTexCoord2f (GLenum, GLfloat, GLfloat);
   1.541 +    GLAPI void APIENTRY glMultiTexCoord2fv (GLenum, const GLfloat *);
   1.542 +    GLAPI void APIENTRY glMultiTexCoord2i (GLenum, GLint, GLint);
   1.543 +    GLAPI void APIENTRY glMultiTexCoord2iv (GLenum, const GLint *);
   1.544 +    GLAPI void APIENTRY glMultiTexCoord2s (GLenum, GLshort, GLshort);
   1.545 +    GLAPI void APIENTRY glMultiTexCoord2sv (GLenum, const GLshort *);
   1.546 +    GLAPI void APIENTRY glMultiTexCoord3d (GLenum, GLdouble, GLdouble,
   1.547 +                                           GLdouble);
   1.548 +    GLAPI void APIENTRY glMultiTexCoord3dv (GLenum, const GLdouble *);
   1.549 +    GLAPI void APIENTRY glMultiTexCoord3f (GLenum, GLfloat, GLfloat, GLfloat);
   1.550 +    GLAPI void APIENTRY glMultiTexCoord3fv (GLenum, const GLfloat *);
   1.551 +    GLAPI void APIENTRY glMultiTexCoord3i (GLenum, GLint, GLint, GLint);
   1.552 +    GLAPI void APIENTRY glMultiTexCoord3iv (GLenum, const GLint *);
   1.553 +    GLAPI void APIENTRY glMultiTexCoord3s (GLenum, GLshort, GLshort, GLshort);
   1.554 +    GLAPI void APIENTRY glMultiTexCoord3sv (GLenum, const GLshort *);
   1.555 +    GLAPI void APIENTRY glMultiTexCoord4d (GLenum, GLdouble, GLdouble,
   1.556 +                                           GLdouble, GLdouble);
   1.557 +    GLAPI void APIENTRY glMultiTexCoord4dv (GLenum, const GLdouble *);
   1.558 +    GLAPI void APIENTRY glMultiTexCoord4f (GLenum, GLfloat, GLfloat, GLfloat,
   1.559 +                                           GLfloat);
   1.560 +    GLAPI void APIENTRY glMultiTexCoord4fv (GLenum, const GLfloat *);
   1.561 +    GLAPI void APIENTRY glMultiTexCoord4i (GLenum, GLint, GLint, GLint,
   1.562 +                                           GLint);
   1.563 +    GLAPI void APIENTRY glMultiTexCoord4iv (GLenum, const GLint *);
   1.564 +    GLAPI void APIENTRY glMultiTexCoord4s (GLenum, GLshort, GLshort, GLshort,
   1.565 +                                           GLshort);
   1.566 +    GLAPI void APIENTRY glMultiTexCoord4sv (GLenum, const GLshort *);
   1.567 +    GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *);
   1.568 +    GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *);
   1.569 +    GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *);
   1.570 +    GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *);
   1.571 +    GLAPI void APIENTRY glSampleCoverage (GLclampf, GLboolean);
   1.572 +    GLAPI void APIENTRY glCompressedTexImage3D (GLenum, GLint, GLenum,
   1.573 +                                                GLsizei, GLsizei, GLsizei,
   1.574 +                                                GLint, GLsizei,
   1.575 +                                                const GLvoid *);
   1.576 +    GLAPI void APIENTRY glCompressedTexImage2D (GLenum, GLint, GLenum,
   1.577 +                                                GLsizei, GLsizei, GLint,
   1.578 +                                                GLsizei, const GLvoid *);
   1.579 +    GLAPI void APIENTRY glCompressedTexImage1D (GLenum, GLint, GLenum,
   1.580 +                                                GLsizei, GLint, GLsizei,
   1.581 +                                                const GLvoid *);
   1.582 +    GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum, GLint, GLint,
   1.583 +                                                   GLint, GLint, GLsizei,
   1.584 +                                                   GLsizei, GLsizei, GLenum,
   1.585 +                                                   GLsizei, const GLvoid *);
   1.586 +    GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum, GLint, GLint,
   1.587 +                                                   GLint, GLsizei, GLsizei,
   1.588 +                                                   GLenum, GLsizei,
   1.589 +                                                   const GLvoid *);
   1.590 +    GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum, GLint, GLint,
   1.591 +                                                   GLsizei, GLenum, GLsizei,
   1.592 +                                                   const GLvoid *);
   1.593 +    GLAPI void APIENTRY glGetCompressedTexImage (GLenum, GLint, GLvoid *);
   1.594 +#endif                          /* GL_GLEXT_PROTOTYPES */
   1.595 +    typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
   1.596 +    typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
   1.597 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target,
   1.598 +                                                       GLdouble s);
   1.599 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target,
   1.600 +                                                        const GLdouble * v);
   1.601 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target,
   1.602 +                                                       GLfloat s);
   1.603 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target,
   1.604 +                                                        const GLfloat * v);
   1.605 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target,
   1.606 +                                                       GLint s);
   1.607 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target,
   1.608 +                                                        const GLint * v);
   1.609 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target,
   1.610 +                                                       GLshort s);
   1.611 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target,
   1.612 +                                                        const GLshort * v);
   1.613 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target,
   1.614 +                                                       GLdouble s,
   1.615 +                                                       GLdouble t);
   1.616 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target,
   1.617 +                                                        const GLdouble * v);
   1.618 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target,
   1.619 +                                                       GLfloat s, GLfloat t);
   1.620 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target,
   1.621 +                                                        const GLfloat * v);
   1.622 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s,
   1.623 +                                                       GLint t);
   1.624 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target,
   1.625 +                                                        const GLint * v);
   1.626 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target,
   1.627 +                                                       GLshort s, GLshort t);
   1.628 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target,
   1.629 +                                                        const GLshort * v);
   1.630 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target,
   1.631 +                                                       GLdouble s, GLdouble t,
   1.632 +                                                       GLdouble r);
   1.633 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target,
   1.634 +                                                        const GLdouble * v);
   1.635 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target,
   1.636 +                                                       GLfloat s, GLfloat t,
   1.637 +                                                       GLfloat r);
   1.638 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target,
   1.639 +                                                        const GLfloat * v);
   1.640 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s,
   1.641 +                                                       GLint t, GLint r);
   1.642 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target,
   1.643 +                                                        const GLint * v);
   1.644 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target,
   1.645 +                                                       GLshort s, GLshort t,
   1.646 +                                                       GLshort r);
   1.647 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target,
   1.648 +                                                        const GLshort * v);
   1.649 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target,
   1.650 +                                                       GLdouble s, GLdouble t,
   1.651 +                                                       GLdouble r,
   1.652 +                                                       GLdouble q);
   1.653 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target,
   1.654 +                                                        const GLdouble * v);
   1.655 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target,
   1.656 +                                                       GLfloat s, GLfloat t,
   1.657 +                                                       GLfloat r, GLfloat q);
   1.658 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target,
   1.659 +                                                        const GLfloat * v);
   1.660 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s,
   1.661 +                                                       GLint t, GLint r,
   1.662 +                                                       GLint q);
   1.663 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target,
   1.664 +                                                        const GLint * v);
   1.665 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target,
   1.666 +                                                       GLshort s, GLshort t,
   1.667 +                                                       GLshort r, GLshort q);
   1.668 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target,
   1.669 +                                                        const GLshort * v);
   1.670 +    typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *
   1.671 +                                                            m);
   1.672 +    typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *
   1.673 +                                                            m);
   1.674 +    typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *
   1.675 +                                                            m);
   1.676 +    typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *
   1.677 +                                                            m);
   1.678 +    typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value,
   1.679 +                                                      GLboolean invert);
   1.680 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target,
   1.681 +                                                            GLint level,
   1.682 +                                                            GLenum
   1.683 +                                                            internalformat,
   1.684 +                                                            GLsizei width,
   1.685 +                                                            GLsizei height,
   1.686 +                                                            GLsizei depth,
   1.687 +                                                            GLint border,
   1.688 +                                                            GLsizei imageSize,
   1.689 +                                                            const GLvoid *
   1.690 +                                                            data);
   1.691 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target,
   1.692 +                                                            GLint level,
   1.693 +                                                            GLenum
   1.694 +                                                            internalformat,
   1.695 +                                                            GLsizei width,
   1.696 +                                                            GLsizei height,
   1.697 +                                                            GLint border,
   1.698 +                                                            GLsizei imageSize,
   1.699 +                                                            const GLvoid *
   1.700 +                                                            data);
   1.701 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target,
   1.702 +                                                            GLint level,
   1.703 +                                                            GLenum
   1.704 +                                                            internalformat,
   1.705 +                                                            GLsizei width,
   1.706 +                                                            GLint border,
   1.707 +                                                            GLsizei imageSize,
   1.708 +                                                            const GLvoid *
   1.709 +                                                            data);
   1.710 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target,
   1.711 +                                                               GLint level,
   1.712 +                                                               GLint xoffset,
   1.713 +                                                               GLint yoffset,
   1.714 +                                                               GLint zoffset,
   1.715 +                                                               GLsizei width,
   1.716 +                                                               GLsizei height,
   1.717 +                                                               GLsizei depth,
   1.718 +                                                               GLenum format,
   1.719 +                                                               GLsizei
   1.720 +                                                               imageSize,
   1.721 +                                                               const GLvoid *
   1.722 +                                                               data);
   1.723 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target,
   1.724 +                                                               GLint level,
   1.725 +                                                               GLint xoffset,
   1.726 +                                                               GLint yoffset,
   1.727 +                                                               GLsizei width,
   1.728 +                                                               GLsizei height,
   1.729 +                                                               GLenum format,
   1.730 +                                                               GLsizei
   1.731 +                                                               imageSize,
   1.732 +                                                               const GLvoid *
   1.733 +                                                               data);
   1.734 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target,
   1.735 +                                                               GLint level,
   1.736 +                                                               GLint xoffset,
   1.737 +                                                               GLsizei width,
   1.738 +                                                               GLenum format,
   1.739 +                                                               GLsizei
   1.740 +                                                               imageSize,
   1.741 +                                                               const GLvoid *
   1.742 +                                                               data);
   1.743 +    typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target,
   1.744 +                                                             GLint level,
   1.745 +                                                             GLvoid * img);
   1.746  #endif
   1.747  
   1.748  #ifndef GL_VERSION_1_4
   1.749  #define GL_VERSION_1_4 1
   1.750  #ifdef GL_GLEXT_PROTOTYPES
   1.751 -GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
   1.752 -GLAPI void APIENTRY glFogCoordf (GLfloat);
   1.753 -GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
   1.754 -GLAPI void APIENTRY glFogCoordd (GLdouble);
   1.755 -GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
   1.756 -GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
   1.757 -GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *, GLsizei);
   1.758 -GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
   1.759 -GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
   1.760 -GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
   1.761 -GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
   1.762 -GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
   1.763 -GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
   1.764 -GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
   1.765 -GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
   1.766 -GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
   1.767 -GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
   1.768 -GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
   1.769 -GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
   1.770 -GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
   1.771 -GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
   1.772 -GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
   1.773 -GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
   1.774 -GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
   1.775 -GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
   1.776 -GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
   1.777 -GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
   1.778 -GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
   1.779 -GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei, const GLvoid *);
   1.780 -GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
   1.781 -GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
   1.782 -GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
   1.783 -GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
   1.784 -GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
   1.785 -GLAPI void APIENTRY glWindowPos2iv (const GLint *);
   1.786 -GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
   1.787 -GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
   1.788 -GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
   1.789 -GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
   1.790 -GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
   1.791 -GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
   1.792 -GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
   1.793 -GLAPI void APIENTRY glWindowPos3iv (const GLint *);
   1.794 -GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
   1.795 -GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
   1.796 -#endif /* GL_GLEXT_PROTOTYPES */
   1.797 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
   1.798 -typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
   1.799 -typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
   1.800 -typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
   1.801 -typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
   1.802 -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
   1.803 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
   1.804 -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
   1.805 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
   1.806 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
   1.807 -typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
   1.808 -typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
   1.809 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
   1.810 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
   1.811 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
   1.812 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
   1.813 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
   1.814 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
   1.815 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
   1.816 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
   1.817 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
   1.818 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
   1.819 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
   1.820 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
   1.821 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
   1.822 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
   1.823 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
   1.824 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
   1.825 -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.826 -typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
   1.827 -typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
   1.828 -typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
   1.829 -typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
   1.830 -typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
   1.831 -typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
   1.832 -typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
   1.833 -typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
   1.834 -typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
   1.835 -typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
   1.836 -typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
   1.837 -typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
   1.838 -typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
   1.839 -typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
   1.840 -typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
   1.841 -typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
   1.842 +    GLAPI void APIENTRY glBlendFuncSeparate (GLenum, GLenum, GLenum, GLenum);
   1.843 +    GLAPI void APIENTRY glFogCoordf (GLfloat);
   1.844 +    GLAPI void APIENTRY glFogCoordfv (const GLfloat *);
   1.845 +    GLAPI void APIENTRY glFogCoordd (GLdouble);
   1.846 +    GLAPI void APIENTRY glFogCoorddv (const GLdouble *);
   1.847 +    GLAPI void APIENTRY glFogCoordPointer (GLenum, GLsizei, const GLvoid *);
   1.848 +    GLAPI void APIENTRY glMultiDrawArrays (GLenum, GLint *, GLsizei *,
   1.849 +                                           GLsizei);
   1.850 +    GLAPI void APIENTRY glMultiDrawElements (GLenum, const GLsizei *, GLenum,
   1.851 +                                             const GLvoid * *, GLsizei);
   1.852 +    GLAPI void APIENTRY glPointParameterf (GLenum, GLfloat);
   1.853 +    GLAPI void APIENTRY glPointParameterfv (GLenum, const GLfloat *);
   1.854 +    GLAPI void APIENTRY glPointParameteri (GLenum, GLint);
   1.855 +    GLAPI void APIENTRY glPointParameteriv (GLenum, const GLint *);
   1.856 +    GLAPI void APIENTRY glSecondaryColor3b (GLbyte, GLbyte, GLbyte);
   1.857 +    GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *);
   1.858 +    GLAPI void APIENTRY glSecondaryColor3d (GLdouble, GLdouble, GLdouble);
   1.859 +    GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *);
   1.860 +    GLAPI void APIENTRY glSecondaryColor3f (GLfloat, GLfloat, GLfloat);
   1.861 +    GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *);
   1.862 +    GLAPI void APIENTRY glSecondaryColor3i (GLint, GLint, GLint);
   1.863 +    GLAPI void APIENTRY glSecondaryColor3iv (const GLint *);
   1.864 +    GLAPI void APIENTRY glSecondaryColor3s (GLshort, GLshort, GLshort);
   1.865 +    GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *);
   1.866 +    GLAPI void APIENTRY glSecondaryColor3ub (GLubyte, GLubyte, GLubyte);
   1.867 +    GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *);
   1.868 +    GLAPI void APIENTRY glSecondaryColor3ui (GLuint, GLuint, GLuint);
   1.869 +    GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *);
   1.870 +    GLAPI void APIENTRY glSecondaryColor3us (GLushort, GLushort, GLushort);
   1.871 +    GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *);
   1.872 +    GLAPI void APIENTRY glSecondaryColorPointer (GLint, GLenum, GLsizei,
   1.873 +                                                 const GLvoid *);
   1.874 +    GLAPI void APIENTRY glWindowPos2d (GLdouble, GLdouble);
   1.875 +    GLAPI void APIENTRY glWindowPos2dv (const GLdouble *);
   1.876 +    GLAPI void APIENTRY glWindowPos2f (GLfloat, GLfloat);
   1.877 +    GLAPI void APIENTRY glWindowPos2fv (const GLfloat *);
   1.878 +    GLAPI void APIENTRY glWindowPos2i (GLint, GLint);
   1.879 +    GLAPI void APIENTRY glWindowPos2iv (const GLint *);
   1.880 +    GLAPI void APIENTRY glWindowPos2s (GLshort, GLshort);
   1.881 +    GLAPI void APIENTRY glWindowPos2sv (const GLshort *);
   1.882 +    GLAPI void APIENTRY glWindowPos3d (GLdouble, GLdouble, GLdouble);
   1.883 +    GLAPI void APIENTRY glWindowPos3dv (const GLdouble *);
   1.884 +    GLAPI void APIENTRY glWindowPos3f (GLfloat, GLfloat, GLfloat);
   1.885 +    GLAPI void APIENTRY glWindowPos3fv (const GLfloat *);
   1.886 +    GLAPI void APIENTRY glWindowPos3i (GLint, GLint, GLint);
   1.887 +    GLAPI void APIENTRY glWindowPos3iv (const GLint *);
   1.888 +    GLAPI void APIENTRY glWindowPos3s (GLshort, GLshort, GLshort);
   1.889 +    GLAPI void APIENTRY glWindowPos3sv (const GLshort *);
   1.890 +#endif                          /* GL_GLEXT_PROTOTYPES */
   1.891 +    typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB,
   1.892 +                                                         GLenum dfactorRGB,
   1.893 +                                                         GLenum sfactorAlpha,
   1.894 +                                                         GLenum dfactorAlpha);
   1.895 +    typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
   1.896 +    typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat * coord);
   1.897 +    typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
   1.898 +    typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble * coord);
   1.899 +    typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type,
   1.900 +                                                       GLsizei stride,
   1.901 +                                                       const GLvoid *
   1.902 +                                                       pointer);
   1.903 +    typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode,
   1.904 +                                                       GLint * first,
   1.905 +                                                       GLsizei * count,
   1.906 +                                                       GLsizei primcount);
   1.907 +    typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode,
   1.908 +                                                         const GLsizei *
   1.909 +                                                         count, GLenum type,
   1.910 +                                                         const GLvoid *
   1.911 +                                                         *indices,
   1.912 +                                                         GLsizei primcount);
   1.913 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname,
   1.914 +                                                       GLfloat param);
   1.915 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname,
   1.916 +                                                        const GLfloat *
   1.917 +                                                        params);
   1.918 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname,
   1.919 +                                                       GLint param);
   1.920 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname,
   1.921 +                                                        const GLint * params);
   1.922 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red,
   1.923 +                                                        GLbyte green,
   1.924 +                                                        GLbyte blue);
   1.925 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte * v);
   1.926 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red,
   1.927 +                                                        GLdouble green,
   1.928 +                                                        GLdouble blue);
   1.929 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble * v);
   1.930 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red,
   1.931 +                                                        GLfloat green,
   1.932 +                                                        GLfloat blue);
   1.933 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat * v);
   1.934 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red,
   1.935 +                                                        GLint green,
   1.936 +                                                        GLint blue);
   1.937 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint * v);
   1.938 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red,
   1.939 +                                                        GLshort green,
   1.940 +                                                        GLshort blue);
   1.941 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort * v);
   1.942 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red,
   1.943 +                                                         GLubyte green,
   1.944 +                                                         GLubyte blue);
   1.945 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte * v);
   1.946 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red,
   1.947 +                                                         GLuint green,
   1.948 +                                                         GLuint blue);
   1.949 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint * v);
   1.950 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red,
   1.951 +                                                         GLushort green,
   1.952 +                                                         GLushort blue);
   1.953 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort * v);
   1.954 +    typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size,
   1.955 +                                                             GLenum type,
   1.956 +                                                             GLsizei stride,
   1.957 +                                                             const GLvoid *
   1.958 +                                                             pointer);
   1.959 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
   1.960 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble * v);
   1.961 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
   1.962 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat * v);
   1.963 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
   1.964 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint * v);
   1.965 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
   1.966 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort * v);
   1.967 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y,
   1.968 +                                                   GLdouble z);
   1.969 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble * v);
   1.970 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y,
   1.971 +                                                   GLfloat z);
   1.972 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat * v);
   1.973 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
   1.974 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint * v);
   1.975 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y,
   1.976 +                                                   GLshort z);
   1.977 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort * v);
   1.978  #endif
   1.979  
   1.980  #ifndef GL_VERSION_1_5
   1.981  #define GL_VERSION_1_5 1
   1.982  #ifdef GL_GLEXT_PROTOTYPES
   1.983 -GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
   1.984 -GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
   1.985 -GLAPI GLboolean APIENTRY glIsQuery (GLuint);
   1.986 -GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
   1.987 -GLAPI void APIENTRY glEndQuery (GLenum);
   1.988 -GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
   1.989 -GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
   1.990 -GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
   1.991 -GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
   1.992 -GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
   1.993 -GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
   1.994 -GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
   1.995 -GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *, GLenum);
   1.996 -GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr, const GLvoid *);
   1.997 -GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr, GLvoid *);
   1.998 -GLAPI GLvoid* APIENTRY glMapBuffer (GLenum, GLenum);
   1.999 -GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
  1.1000 -GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
  1.1001 -GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid* *);
  1.1002 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1003 -typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  1.1004 -typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  1.1005 -typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  1.1006 -typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  1.1007 -typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  1.1008 -typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1009 -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  1.1010 -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  1.1011 -typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  1.1012 -typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  1.1013 -typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  1.1014 -typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  1.1015 -typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  1.1016 -typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  1.1017 -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  1.1018 -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  1.1019 -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  1.1020 -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1.1021 -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
  1.1022 +    GLAPI void APIENTRY glGenQueries (GLsizei, GLuint *);
  1.1023 +    GLAPI void APIENTRY glDeleteQueries (GLsizei, const GLuint *);
  1.1024 +    GLAPI GLboolean APIENTRY glIsQuery (GLuint);
  1.1025 +    GLAPI void APIENTRY glBeginQuery (GLenum, GLuint);
  1.1026 +    GLAPI void APIENTRY glEndQuery (GLenum);
  1.1027 +    GLAPI void APIENTRY glGetQueryiv (GLenum, GLenum, GLint *);
  1.1028 +    GLAPI void APIENTRY glGetQueryObjectiv (GLuint, GLenum, GLint *);
  1.1029 +    GLAPI void APIENTRY glGetQueryObjectuiv (GLuint, GLenum, GLuint *);
  1.1030 +    GLAPI void APIENTRY glBindBuffer (GLenum, GLuint);
  1.1031 +    GLAPI void APIENTRY glDeleteBuffers (GLsizei, const GLuint *);
  1.1032 +    GLAPI void APIENTRY glGenBuffers (GLsizei, GLuint *);
  1.1033 +    GLAPI GLboolean APIENTRY glIsBuffer (GLuint);
  1.1034 +    GLAPI void APIENTRY glBufferData (GLenum, GLsizeiptr, const GLvoid *,
  1.1035 +                                      GLenum);
  1.1036 +    GLAPI void APIENTRY glBufferSubData (GLenum, GLintptr, GLsizeiptr,
  1.1037 +                                         const GLvoid *);
  1.1038 +    GLAPI void APIENTRY glGetBufferSubData (GLenum, GLintptr, GLsizeiptr,
  1.1039 +                                            GLvoid *);
  1.1040 +    GLAPI GLvoid *APIENTRY glMapBuffer (GLenum, GLenum);
  1.1041 +    GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum);
  1.1042 +    GLAPI void APIENTRY glGetBufferParameteriv (GLenum, GLenum, GLint *);
  1.1043 +    GLAPI void APIENTRY glGetBufferPointerv (GLenum, GLenum, GLvoid * *);
  1.1044 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1045 +    typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint * ids);
  1.1046 +    typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n,
  1.1047 +                                                     const GLuint * ids);
  1.1048 +    typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  1.1049 +    typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  1.1050 +    typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  1.1051 +    typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname,
  1.1052 +                                                  GLint * params);
  1.1053 +    typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id,
  1.1054 +                                                        GLenum pname,
  1.1055 +                                                        GLint * params);
  1.1056 +    typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id,
  1.1057 +                                                         GLenum pname,
  1.1058 +                                                         GLuint * params);
  1.1059 +    typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target,
  1.1060 +                                                  GLuint buffer);
  1.1061 +    typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n,
  1.1062 +                                                     const GLuint * buffers);
  1.1063 +    typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n,
  1.1064 +                                                  GLuint * buffers);
  1.1065 +    typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  1.1066 +    typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target,
  1.1067 +                                                  GLsizeiptr size,
  1.1068 +                                                  const GLvoid * data,
  1.1069 +                                                  GLenum usage);
  1.1070 +    typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target,
  1.1071 +                                                     GLintptr offset,
  1.1072 +                                                     GLsizeiptr size,
  1.1073 +                                                     const GLvoid * data);
  1.1074 +    typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target,
  1.1075 +                                                        GLintptr offset,
  1.1076 +                                                        GLsizeiptr size,
  1.1077 +                                                        GLvoid * data);
  1.1078 +    typedef GLvoid *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target,
  1.1079 +                                                    GLenum access);
  1.1080 +    typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  1.1081 +    typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target,
  1.1082 +                                                            GLenum pname,
  1.1083 +                                                            GLint * params);
  1.1084 +    typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target,
  1.1085 +                                                         GLenum pname,
  1.1086 +                                                         GLvoid * *params);
  1.1087  #endif
  1.1088  
  1.1089  #ifndef GL_VERSION_2_0
  1.1090  #define GL_VERSION_2_0 1
  1.1091  #ifdef GL_GLEXT_PROTOTYPES
  1.1092 -GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
  1.1093 -GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
  1.1094 -GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
  1.1095 -GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
  1.1096 -GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
  1.1097 -GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
  1.1098 -GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
  1.1099 -GLAPI void APIENTRY glCompileShader (GLuint);
  1.1100 -GLAPI GLuint APIENTRY glCreateProgram (void);
  1.1101 -GLAPI GLuint APIENTRY glCreateShader (GLenum);
  1.1102 -GLAPI void APIENTRY glDeleteProgram (GLuint);
  1.1103 -GLAPI void APIENTRY glDeleteShader (GLuint);
  1.1104 -GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
  1.1105 -GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
  1.1106 -GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
  1.1107 -GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
  1.1108 -GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *);
  1.1109 -GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *, GLuint *);
  1.1110 -GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
  1.1111 -GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
  1.1112 -GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
  1.1113 -GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
  1.1114 -GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *, GLchar *);
  1.1115 -GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *, GLchar *);
  1.1116 -GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
  1.1117 -GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
  1.1118 -GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
  1.1119 -GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
  1.1120 -GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
  1.1121 -GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
  1.1122 -GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum, GLvoid* *);
  1.1123 -GLAPI GLboolean APIENTRY glIsProgram (GLuint);
  1.1124 -GLAPI GLboolean APIENTRY glIsShader (GLuint);
  1.1125 -GLAPI void APIENTRY glLinkProgram (GLuint);
  1.1126 -GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar* *, const GLint *);
  1.1127 -GLAPI void APIENTRY glUseProgram (GLuint);
  1.1128 -GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
  1.1129 -GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
  1.1130 -GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
  1.1131 -GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1132 -GLAPI void APIENTRY glUniform1i (GLint, GLint);
  1.1133 -GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
  1.1134 -GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
  1.1135 -GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
  1.1136 -GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
  1.1137 -GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
  1.1138 -GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
  1.1139 -GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
  1.1140 -GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
  1.1141 -GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
  1.1142 -GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
  1.1143 -GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
  1.1144 -GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean, const GLfloat *);
  1.1145 -GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean, const GLfloat *);
  1.1146 -GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean, const GLfloat *);
  1.1147 -GLAPI void APIENTRY glValidateProgram (GLuint);
  1.1148 -GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
  1.1149 -GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
  1.1150 -GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
  1.1151 -GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
  1.1152 -GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
  1.1153 -GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
  1.1154 -GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
  1.1155 -GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
  1.1156 -GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
  1.1157 -GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
  1.1158 -GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
  1.1159 -GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
  1.1160 -GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble, GLdouble);
  1.1161 -GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
  1.1162 -GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
  1.1163 -GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
  1.1164 -GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
  1.1165 -GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
  1.1166 -GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
  1.1167 -GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
  1.1168 -GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
  1.1169 -GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  1.1170 -GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
  1.1171 -GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
  1.1172 -GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
  1.1173 -GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
  1.1174 -GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1175 -GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
  1.1176 -GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1177 -GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
  1.1178 -GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
  1.1179 -GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort, GLshort);
  1.1180 -GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
  1.1181 -GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
  1.1182 -GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
  1.1183 -GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
  1.1184 -GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
  1.1185 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1186 -typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  1.1187 -typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  1.1188 -typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  1.1189 -typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  1.1190 -typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  1.1191 -typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  1.1192 -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  1.1193 -typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  1.1194 -typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  1.1195 -typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  1.1196 -typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  1.1197 -typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  1.1198 -typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  1.1199 -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  1.1200 -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  1.1201 -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1.1202 -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  1.1203 -typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  1.1204 -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  1.1205 -typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  1.1206 -typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1.1207 -typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  1.1208 -typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1.1209 -typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  1.1210 -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  1.1211 -typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  1.1212 -typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  1.1213 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  1.1214 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  1.1215 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  1.1216 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  1.1217 -typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  1.1218 -typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  1.1219 -typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  1.1220 -typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
  1.1221 -typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  1.1222 -typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  1.1223 -typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  1.1224 -typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.1225 -typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.1226 -typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  1.1227 -typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  1.1228 -typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  1.1229 -typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.1230 -typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.1231 -typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.1232 -typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.1233 -typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.1234 -typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  1.1235 -typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  1.1236 -typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  1.1237 -typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  1.1238 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.1239 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.1240 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.1241 -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  1.1242 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  1.1243 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  1.1244 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  1.1245 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  1.1246 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  1.1247 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  1.1248 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  1.1249 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  1.1250 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  1.1251 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  1.1252 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  1.1253 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  1.1254 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.1255 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  1.1256 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1.1257 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  1.1258 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  1.1259 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  1.1260 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  1.1261 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  1.1262 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  1.1263 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1.1264 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  1.1265 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  1.1266 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  1.1267 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  1.1268 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.1269 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  1.1270 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.1271 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  1.1272 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  1.1273 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1.1274 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  1.1275 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  1.1276 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  1.1277 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  1.1278 -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  1.1279 +    GLAPI void APIENTRY glBlendEquationSeparate (GLenum, GLenum);
  1.1280 +    GLAPI void APIENTRY glDrawBuffers (GLsizei, const GLenum *);
  1.1281 +    GLAPI void APIENTRY glStencilOpSeparate (GLenum, GLenum, GLenum, GLenum);
  1.1282 +    GLAPI void APIENTRY glStencilFuncSeparate (GLenum, GLenum, GLint, GLuint);
  1.1283 +    GLAPI void APIENTRY glStencilMaskSeparate (GLenum, GLuint);
  1.1284 +    GLAPI void APIENTRY glAttachShader (GLuint, GLuint);
  1.1285 +    GLAPI void APIENTRY glBindAttribLocation (GLuint, GLuint, const GLchar *);
  1.1286 +    GLAPI void APIENTRY glCompileShader (GLuint);
  1.1287 +    GLAPI GLuint APIENTRY glCreateProgram (void);
  1.1288 +    GLAPI GLuint APIENTRY glCreateShader (GLenum);
  1.1289 +    GLAPI void APIENTRY glDeleteProgram (GLuint);
  1.1290 +    GLAPI void APIENTRY glDeleteShader (GLuint);
  1.1291 +    GLAPI void APIENTRY glDetachShader (GLuint, GLuint);
  1.1292 +    GLAPI void APIENTRY glDisableVertexAttribArray (GLuint);
  1.1293 +    GLAPI void APIENTRY glEnableVertexAttribArray (GLuint);
  1.1294 +    GLAPI void APIENTRY glGetActiveAttrib (GLuint, GLuint, GLsizei, GLsizei *,
  1.1295 +                                           GLint *, GLenum *, GLchar *);
  1.1296 +    GLAPI void APIENTRY glGetActiveUniform (GLuint, GLuint, GLsizei,
  1.1297 +                                            GLsizei *, GLint *, GLenum *,
  1.1298 +                                            GLchar *);
  1.1299 +    GLAPI void APIENTRY glGetAttachedShaders (GLuint, GLsizei, GLsizei *,
  1.1300 +                                              GLuint *);
  1.1301 +    GLAPI GLint APIENTRY glGetAttribLocation (GLuint, const GLchar *);
  1.1302 +    GLAPI void APIENTRY glGetProgramiv (GLuint, GLenum, GLint *);
  1.1303 +    GLAPI void APIENTRY glGetProgramInfoLog (GLuint, GLsizei, GLsizei *,
  1.1304 +                                             GLchar *);
  1.1305 +    GLAPI void APIENTRY glGetShaderiv (GLuint, GLenum, GLint *);
  1.1306 +    GLAPI void APIENTRY glGetShaderInfoLog (GLuint, GLsizei, GLsizei *,
  1.1307 +                                            GLchar *);
  1.1308 +    GLAPI void APIENTRY glGetShaderSource (GLuint, GLsizei, GLsizei *,
  1.1309 +                                           GLchar *);
  1.1310 +    GLAPI GLint APIENTRY glGetUniformLocation (GLuint, const GLchar *);
  1.1311 +    GLAPI void APIENTRY glGetUniformfv (GLuint, GLint, GLfloat *);
  1.1312 +    GLAPI void APIENTRY glGetUniformiv (GLuint, GLint, GLint *);
  1.1313 +    GLAPI void APIENTRY glGetVertexAttribdv (GLuint, GLenum, GLdouble *);
  1.1314 +    GLAPI void APIENTRY glGetVertexAttribfv (GLuint, GLenum, GLfloat *);
  1.1315 +    GLAPI void APIENTRY glGetVertexAttribiv (GLuint, GLenum, GLint *);
  1.1316 +    GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint, GLenum,
  1.1317 +                                                   GLvoid * *);
  1.1318 +    GLAPI GLboolean APIENTRY glIsProgram (GLuint);
  1.1319 +    GLAPI GLboolean APIENTRY glIsShader (GLuint);
  1.1320 +    GLAPI void APIENTRY glLinkProgram (GLuint);
  1.1321 +    GLAPI void APIENTRY glShaderSource (GLuint, GLsizei, const GLchar * *,
  1.1322 +                                        const GLint *);
  1.1323 +    GLAPI void APIENTRY glUseProgram (GLuint);
  1.1324 +    GLAPI void APIENTRY glUniform1f (GLint, GLfloat);
  1.1325 +    GLAPI void APIENTRY glUniform2f (GLint, GLfloat, GLfloat);
  1.1326 +    GLAPI void APIENTRY glUniform3f (GLint, GLfloat, GLfloat, GLfloat);
  1.1327 +    GLAPI void APIENTRY glUniform4f (GLint, GLfloat, GLfloat, GLfloat,
  1.1328 +                                     GLfloat);
  1.1329 +    GLAPI void APIENTRY glUniform1i (GLint, GLint);
  1.1330 +    GLAPI void APIENTRY glUniform2i (GLint, GLint, GLint);
  1.1331 +    GLAPI void APIENTRY glUniform3i (GLint, GLint, GLint, GLint);
  1.1332 +    GLAPI void APIENTRY glUniform4i (GLint, GLint, GLint, GLint, GLint);
  1.1333 +    GLAPI void APIENTRY glUniform1fv (GLint, GLsizei, const GLfloat *);
  1.1334 +    GLAPI void APIENTRY glUniform2fv (GLint, GLsizei, const GLfloat *);
  1.1335 +    GLAPI void APIENTRY glUniform3fv (GLint, GLsizei, const GLfloat *);
  1.1336 +    GLAPI void APIENTRY glUniform4fv (GLint, GLsizei, const GLfloat *);
  1.1337 +    GLAPI void APIENTRY glUniform1iv (GLint, GLsizei, const GLint *);
  1.1338 +    GLAPI void APIENTRY glUniform2iv (GLint, GLsizei, const GLint *);
  1.1339 +    GLAPI void APIENTRY glUniform3iv (GLint, GLsizei, const GLint *);
  1.1340 +    GLAPI void APIENTRY glUniform4iv (GLint, GLsizei, const GLint *);
  1.1341 +    GLAPI void APIENTRY glUniformMatrix2fv (GLint, GLsizei, GLboolean,
  1.1342 +                                            const GLfloat *);
  1.1343 +    GLAPI void APIENTRY glUniformMatrix3fv (GLint, GLsizei, GLboolean,
  1.1344 +                                            const GLfloat *);
  1.1345 +    GLAPI void APIENTRY glUniformMatrix4fv (GLint, GLsizei, GLboolean,
  1.1346 +                                            const GLfloat *);
  1.1347 +    GLAPI void APIENTRY glValidateProgram (GLuint);
  1.1348 +    GLAPI void APIENTRY glVertexAttrib1d (GLuint, GLdouble);
  1.1349 +    GLAPI void APIENTRY glVertexAttrib1dv (GLuint, const GLdouble *);
  1.1350 +    GLAPI void APIENTRY glVertexAttrib1f (GLuint, GLfloat);
  1.1351 +    GLAPI void APIENTRY glVertexAttrib1fv (GLuint, const GLfloat *);
  1.1352 +    GLAPI void APIENTRY glVertexAttrib1s (GLuint, GLshort);
  1.1353 +    GLAPI void APIENTRY glVertexAttrib1sv (GLuint, const GLshort *);
  1.1354 +    GLAPI void APIENTRY glVertexAttrib2d (GLuint, GLdouble, GLdouble);
  1.1355 +    GLAPI void APIENTRY glVertexAttrib2dv (GLuint, const GLdouble *);
  1.1356 +    GLAPI void APIENTRY glVertexAttrib2f (GLuint, GLfloat, GLfloat);
  1.1357 +    GLAPI void APIENTRY glVertexAttrib2fv (GLuint, const GLfloat *);
  1.1358 +    GLAPI void APIENTRY glVertexAttrib2s (GLuint, GLshort, GLshort);
  1.1359 +    GLAPI void APIENTRY glVertexAttrib2sv (GLuint, const GLshort *);
  1.1360 +    GLAPI void APIENTRY glVertexAttrib3d (GLuint, GLdouble, GLdouble,
  1.1361 +                                          GLdouble);
  1.1362 +    GLAPI void APIENTRY glVertexAttrib3dv (GLuint, const GLdouble *);
  1.1363 +    GLAPI void APIENTRY glVertexAttrib3f (GLuint, GLfloat, GLfloat, GLfloat);
  1.1364 +    GLAPI void APIENTRY glVertexAttrib3fv (GLuint, const GLfloat *);
  1.1365 +    GLAPI void APIENTRY glVertexAttrib3s (GLuint, GLshort, GLshort, GLshort);
  1.1366 +    GLAPI void APIENTRY glVertexAttrib3sv (GLuint, const GLshort *);
  1.1367 +    GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint, const GLbyte *);
  1.1368 +    GLAPI void APIENTRY glVertexAttrib4Niv (GLuint, const GLint *);
  1.1369 +    GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint, const GLshort *);
  1.1370 +    GLAPI void APIENTRY glVertexAttrib4Nub (GLuint, GLubyte, GLubyte, GLubyte,
  1.1371 +                                            GLubyte);
  1.1372 +    GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint, const GLubyte *);
  1.1373 +    GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint, const GLuint *);
  1.1374 +    GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint, const GLushort *);
  1.1375 +    GLAPI void APIENTRY glVertexAttrib4bv (GLuint, const GLbyte *);
  1.1376 +    GLAPI void APIENTRY glVertexAttrib4d (GLuint, GLdouble, GLdouble,
  1.1377 +                                          GLdouble, GLdouble);
  1.1378 +    GLAPI void APIENTRY glVertexAttrib4dv (GLuint, const GLdouble *);
  1.1379 +    GLAPI void APIENTRY glVertexAttrib4f (GLuint, GLfloat, GLfloat, GLfloat,
  1.1380 +                                          GLfloat);
  1.1381 +    GLAPI void APIENTRY glVertexAttrib4fv (GLuint, const GLfloat *);
  1.1382 +    GLAPI void APIENTRY glVertexAttrib4iv (GLuint, const GLint *);
  1.1383 +    GLAPI void APIENTRY glVertexAttrib4s (GLuint, GLshort, GLshort, GLshort,
  1.1384 +                                          GLshort);
  1.1385 +    GLAPI void APIENTRY glVertexAttrib4sv (GLuint, const GLshort *);
  1.1386 +    GLAPI void APIENTRY glVertexAttrib4ubv (GLuint, const GLubyte *);
  1.1387 +    GLAPI void APIENTRY glVertexAttrib4uiv (GLuint, const GLuint *);
  1.1388 +    GLAPI void APIENTRY glVertexAttrib4usv (GLuint, const GLushort *);
  1.1389 +    GLAPI void APIENTRY glVertexAttribPointer (GLuint, GLint, GLenum,
  1.1390 +                                               GLboolean, GLsizei,
  1.1391 +                                               const GLvoid *);
  1.1392 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1393 +    typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB,
  1.1394 +                                                             GLenum
  1.1395 +                                                             modeAlpha);
  1.1396 +    typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n,
  1.1397 +                                                   const GLenum * bufs);
  1.1398 +    typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face,
  1.1399 +                                                         GLenum sfail,
  1.1400 +                                                         GLenum dpfail,
  1.1401 +                                                         GLenum dppass);
  1.1402 +    typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc,
  1.1403 +                                                           GLenum backfunc,
  1.1404 +                                                           GLint ref,
  1.1405 +                                                           GLuint mask);
  1.1406 +    typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face,
  1.1407 +                                                           GLuint mask);
  1.1408 +    typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program,
  1.1409 +                                                    GLuint shader);
  1.1410 +    typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program,
  1.1411 +                                                          GLuint index,
  1.1412 +                                                          const GLchar *
  1.1413 +                                                          name);
  1.1414 +    typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  1.1415 +    typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  1.1416 +    typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  1.1417 +    typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  1.1418 +    typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  1.1419 +    typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program,
  1.1420 +                                                    GLuint shader);
  1.1421 +    typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  1.1422 +    typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  1.1423 +    typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program,
  1.1424 +                                                       GLuint index,
  1.1425 +                                                       GLsizei bufSize,
  1.1426 +                                                       GLsizei * length,
  1.1427 +                                                       GLint * size,
  1.1428 +                                                       GLenum * type,
  1.1429 +                                                       GLchar * name);
  1.1430 +    typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program,
  1.1431 +                                                        GLuint index,
  1.1432 +                                                        GLsizei bufSize,
  1.1433 +                                                        GLsizei * length,
  1.1434 +                                                        GLint * size,
  1.1435 +                                                        GLenum * type,
  1.1436 +                                                        GLchar * name);
  1.1437 +    typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program,
  1.1438 +                                                          GLsizei maxCount,
  1.1439 +                                                          GLsizei * count,
  1.1440 +                                                          GLuint * obj);
  1.1441 +    typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program,
  1.1442 +                                                          const GLchar *
  1.1443 +                                                          name);
  1.1444 +    typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program,
  1.1445 +                                                    GLenum pname,
  1.1446 +                                                    GLint * params);
  1.1447 +    typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program,
  1.1448 +                                                         GLsizei bufSize,
  1.1449 +                                                         GLsizei * length,
  1.1450 +                                                         GLchar * infoLog);
  1.1451 +    typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader,
  1.1452 +                                                   GLenum pname,
  1.1453 +                                                   GLint * params);
  1.1454 +    typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader,
  1.1455 +                                                        GLsizei bufSize,
  1.1456 +                                                        GLsizei * length,
  1.1457 +                                                        GLchar * infoLog);
  1.1458 +    typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader,
  1.1459 +                                                       GLsizei bufSize,
  1.1460 +                                                       GLsizei * length,
  1.1461 +                                                       GLchar * source);
  1.1462 +    typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program,
  1.1463 +                                                           const GLchar *
  1.1464 +                                                           name);
  1.1465 +    typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program,
  1.1466 +                                                    GLint location,
  1.1467 +                                                    GLfloat * params);
  1.1468 +    typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program,
  1.1469 +                                                    GLint location,
  1.1470 +                                                    GLint * params);
  1.1471 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index,
  1.1472 +                                                         GLenum pname,
  1.1473 +                                                         GLdouble * params);
  1.1474 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index,
  1.1475 +                                                         GLenum pname,
  1.1476 +                                                         GLfloat * params);
  1.1477 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index,
  1.1478 +                                                         GLenum pname,
  1.1479 +                                                         GLint * params);
  1.1480 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index,
  1.1481 +                                                               GLenum pname,
  1.1482 +                                                               GLvoid *
  1.1483 +                                                               *pointer);
  1.1484 +    typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  1.1485 +    typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  1.1486 +    typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  1.1487 +    typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader,
  1.1488 +                                                    GLsizei count,
  1.1489 +                                                    const GLchar * *string,
  1.1490 +                                                    const GLint * length);
  1.1491 +    typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  1.1492 +    typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  1.1493 +    typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0,
  1.1494 +                                                 GLfloat v1);
  1.1495 +    typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0,
  1.1496 +                                                 GLfloat v1, GLfloat v2);
  1.1497 +    typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0,
  1.1498 +                                                 GLfloat v1, GLfloat v2,
  1.1499 +                                                 GLfloat v3);
  1.1500 +    typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  1.1501 +    typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0,
  1.1502 +                                                 GLint v1);
  1.1503 +    typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0,
  1.1504 +                                                 GLint v1, GLint v2);
  1.1505 +    typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0,
  1.1506 +                                                 GLint v1, GLint v2,
  1.1507 +                                                 GLint v3);
  1.1508 +    typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location,
  1.1509 +                                                  GLsizei count,
  1.1510 +                                                  const GLfloat * value);
  1.1511 +    typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location,
  1.1512 +                                                  GLsizei count,
  1.1513 +                                                  const GLfloat * value);
  1.1514 +    typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location,
  1.1515 +                                                  GLsizei count,
  1.1516 +                                                  const GLfloat * value);
  1.1517 +    typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location,
  1.1518 +                                                  GLsizei count,
  1.1519 +                                                  const GLfloat * value);
  1.1520 +    typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location,
  1.1521 +                                                  GLsizei count,
  1.1522 +                                                  const GLint * value);
  1.1523 +    typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location,
  1.1524 +                                                  GLsizei count,
  1.1525 +                                                  const GLint * value);
  1.1526 +    typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location,
  1.1527 +                                                  GLsizei count,
  1.1528 +                                                  const GLint * value);
  1.1529 +    typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location,
  1.1530 +                                                  GLsizei count,
  1.1531 +                                                  const GLint * value);
  1.1532 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location,
  1.1533 +                                                        GLsizei count,
  1.1534 +                                                        GLboolean transpose,
  1.1535 +                                                        const GLfloat *
  1.1536 +                                                        value);
  1.1537 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location,
  1.1538 +                                                        GLsizei count,
  1.1539 +                                                        GLboolean transpose,
  1.1540 +                                                        const GLfloat *
  1.1541 +                                                        value);
  1.1542 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location,
  1.1543 +                                                        GLsizei count,
  1.1544 +                                                        GLboolean transpose,
  1.1545 +                                                        const GLfloat *
  1.1546 +                                                        value);
  1.1547 +    typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  1.1548 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index,
  1.1549 +                                                      GLdouble x);
  1.1550 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index,
  1.1551 +                                                       const GLdouble * v);
  1.1552 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index,
  1.1553 +                                                      GLfloat x);
  1.1554 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index,
  1.1555 +                                                       const GLfloat * v);
  1.1556 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index,
  1.1557 +                                                      GLshort x);
  1.1558 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index,
  1.1559 +                                                       const GLshort * v);
  1.1560 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index,
  1.1561 +                                                      GLdouble x, GLdouble y);
  1.1562 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index,
  1.1563 +                                                       const GLdouble * v);
  1.1564 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x,
  1.1565 +                                                      GLfloat y);
  1.1566 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index,
  1.1567 +                                                       const GLfloat * v);
  1.1568 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x,
  1.1569 +                                                      GLshort y);
  1.1570 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index,
  1.1571 +                                                       const GLshort * v);
  1.1572 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index,
  1.1573 +                                                      GLdouble x, GLdouble y,
  1.1574 +                                                      GLdouble z);
  1.1575 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index,
  1.1576 +                                                       const GLdouble * v);
  1.1577 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x,
  1.1578 +                                                      GLfloat y, GLfloat z);
  1.1579 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index,
  1.1580 +                                                       const GLfloat * v);
  1.1581 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x,
  1.1582 +                                                      GLshort y, GLshort z);
  1.1583 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index,
  1.1584 +                                                       const GLshort * v);
  1.1585 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index,
  1.1586 +                                                        const GLbyte * v);
  1.1587 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index,
  1.1588 +                                                        const GLint * v);
  1.1589 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index,
  1.1590 +                                                        const GLshort * v);
  1.1591 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index,
  1.1592 +                                                        GLubyte x, GLubyte y,
  1.1593 +                                                        GLubyte z, GLubyte w);
  1.1594 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index,
  1.1595 +                                                         const GLubyte * v);
  1.1596 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index,
  1.1597 +                                                         const GLuint * v);
  1.1598 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index,
  1.1599 +                                                         const GLushort * v);
  1.1600 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index,
  1.1601 +                                                       const GLbyte * v);
  1.1602 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index,
  1.1603 +                                                      GLdouble x, GLdouble y,
  1.1604 +                                                      GLdouble z, GLdouble w);
  1.1605 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index,
  1.1606 +                                                       const GLdouble * v);
  1.1607 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x,
  1.1608 +                                                      GLfloat y, GLfloat z,
  1.1609 +                                                      GLfloat w);
  1.1610 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index,
  1.1611 +                                                       const GLfloat * v);
  1.1612 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index,
  1.1613 +                                                       const GLint * v);
  1.1614 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x,
  1.1615 +                                                      GLshort y, GLshort z,
  1.1616 +                                                      GLshort w);
  1.1617 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index,
  1.1618 +                                                       const GLshort * v);
  1.1619 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index,
  1.1620 +                                                        const GLubyte * v);
  1.1621 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index,
  1.1622 +                                                        const GLuint * v);
  1.1623 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index,
  1.1624 +                                                        const GLushort * v);
  1.1625 +    typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index,
  1.1626 +                                                           GLint size,
  1.1627 +                                                           GLenum type,
  1.1628 +                                                           GLboolean
  1.1629 +                                                           normalized,
  1.1630 +                                                           GLsizei stride,
  1.1631 +                                                           const GLvoid *
  1.1632 +                                                           pointer);
  1.1633  #endif
  1.1634  
  1.1635  #ifndef GL_ARB_multitexture
  1.1636  #define GL_ARB_multitexture 1
  1.1637  #ifdef GL_GLEXT_PROTOTYPES
  1.1638 -GLAPI void APIENTRY glActiveTextureARB (GLenum);
  1.1639 -GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
  1.1640 -GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
  1.1641 -GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
  1.1642 -GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
  1.1643 -GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
  1.1644 -GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
  1.1645 -GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
  1.1646 -GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
  1.1647 -GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
  1.1648 -GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
  1.1649 -GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
  1.1650 -GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
  1.1651 -GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
  1.1652 -GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
  1.1653 -GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
  1.1654 -GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
  1.1655 -GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
  1.1656 -GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble, GLdouble);
  1.1657 -GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
  1.1658 -GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat, GLfloat);
  1.1659 -GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
  1.1660 -GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
  1.1661 -GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
  1.1662 -GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort, GLshort);
  1.1663 -GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
  1.1664 -GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble, GLdouble, GLdouble);
  1.1665 -GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
  1.1666 -GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat, GLfloat, GLfloat);
  1.1667 -GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
  1.1668 -GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint, GLint);
  1.1669 -GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
  1.1670 -GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort, GLshort, GLshort);
  1.1671 -GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
  1.1672 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1673 -typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  1.1674 -typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  1.1675 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  1.1676 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  1.1677 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  1.1678 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  1.1679 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  1.1680 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  1.1681 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  1.1682 -typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  1.1683 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  1.1684 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  1.1685 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  1.1686 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  1.1687 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  1.1688 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  1.1689 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  1.1690 -typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  1.1691 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  1.1692 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  1.1693 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  1.1694 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  1.1695 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  1.1696 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  1.1697 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  1.1698 -typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  1.1699 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1.1700 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  1.1701 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1.1702 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  1.1703 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  1.1704 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  1.1705 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  1.1706 -typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  1.1707 +    GLAPI void APIENTRY glActiveTextureARB (GLenum);
  1.1708 +    GLAPI void APIENTRY glClientActiveTextureARB (GLenum);
  1.1709 +    GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum, GLdouble);
  1.1710 +    GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum, const GLdouble *);
  1.1711 +    GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum, GLfloat);
  1.1712 +    GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum, const GLfloat *);
  1.1713 +    GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum, GLint);
  1.1714 +    GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum, const GLint *);
  1.1715 +    GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum, GLshort);
  1.1716 +    GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum, const GLshort *);
  1.1717 +    GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum, GLdouble, GLdouble);
  1.1718 +    GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum, const GLdouble *);
  1.1719 +    GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum, GLfloat, GLfloat);
  1.1720 +    GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum, const GLfloat *);
  1.1721 +    GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum, GLint, GLint);
  1.1722 +    GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum, const GLint *);
  1.1723 +    GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum, GLshort, GLshort);
  1.1724 +    GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum, const GLshort *);
  1.1725 +    GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum, GLdouble, GLdouble,
  1.1726 +                                              GLdouble);
  1.1727 +    GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum, const GLdouble *);
  1.1728 +    GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum, GLfloat, GLfloat,
  1.1729 +                                              GLfloat);
  1.1730 +    GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum, const GLfloat *);
  1.1731 +    GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum, GLint, GLint, GLint);
  1.1732 +    GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum, const GLint *);
  1.1733 +    GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum, GLshort, GLshort,
  1.1734 +                                              GLshort);
  1.1735 +    GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum, const GLshort *);
  1.1736 +    GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum, GLdouble, GLdouble,
  1.1737 +                                              GLdouble, GLdouble);
  1.1738 +    GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum, const GLdouble *);
  1.1739 +    GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum, GLfloat, GLfloat,
  1.1740 +                                              GLfloat, GLfloat);
  1.1741 +    GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum, const GLfloat *);
  1.1742 +    GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum, GLint, GLint, GLint,
  1.1743 +                                              GLint);
  1.1744 +    GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum, const GLint *);
  1.1745 +    GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum, GLshort, GLshort,
  1.1746 +                                              GLshort, GLshort);
  1.1747 +    GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum, const GLshort *);
  1.1748 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1749 +    typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  1.1750 +    typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  1.1751 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target,
  1.1752 +                                                          GLdouble s);
  1.1753 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target,
  1.1754 +                                                           const GLdouble *
  1.1755 +                                                           v);
  1.1756 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target,
  1.1757 +                                                          GLfloat s);
  1.1758 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target,
  1.1759 +                                                           const GLfloat * v);
  1.1760 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target,
  1.1761 +                                                          GLint s);
  1.1762 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target,
  1.1763 +                                                           const GLint * v);
  1.1764 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target,
  1.1765 +                                                          GLshort s);
  1.1766 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target,
  1.1767 +                                                           const GLshort * v);
  1.1768 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target,
  1.1769 +                                                          GLdouble s,
  1.1770 +                                                          GLdouble t);
  1.1771 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target,
  1.1772 +                                                           const GLdouble *
  1.1773 +                                                           v);
  1.1774 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target,
  1.1775 +                                                          GLfloat s,
  1.1776 +                                                          GLfloat t);
  1.1777 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target,
  1.1778 +                                                           const GLfloat * v);
  1.1779 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target,
  1.1780 +                                                          GLint s, GLint t);
  1.1781 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target,
  1.1782 +                                                           const GLint * v);
  1.1783 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target,
  1.1784 +                                                          GLshort s,
  1.1785 +                                                          GLshort t);
  1.1786 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target,
  1.1787 +                                                           const GLshort * v);
  1.1788 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target,
  1.1789 +                                                          GLdouble s,
  1.1790 +                                                          GLdouble t,
  1.1791 +                                                          GLdouble r);
  1.1792 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target,
  1.1793 +                                                           const GLdouble *
  1.1794 +                                                           v);
  1.1795 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target,
  1.1796 +                                                          GLfloat s,
  1.1797 +                                                          GLfloat t,
  1.1798 +                                                          GLfloat r);
  1.1799 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target,
  1.1800 +                                                           const GLfloat * v);
  1.1801 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target,
  1.1802 +                                                          GLint s, GLint t,
  1.1803 +                                                          GLint r);
  1.1804 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target,
  1.1805 +                                                           const GLint * v);
  1.1806 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target,
  1.1807 +                                                          GLshort s,
  1.1808 +                                                          GLshort t,
  1.1809 +                                                          GLshort r);
  1.1810 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target,
  1.1811 +                                                           const GLshort * v);
  1.1812 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target,
  1.1813 +                                                          GLdouble s,
  1.1814 +                                                          GLdouble t,
  1.1815 +                                                          GLdouble r,
  1.1816 +                                                          GLdouble q);
  1.1817 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target,
  1.1818 +                                                           const GLdouble *
  1.1819 +                                                           v);
  1.1820 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target,
  1.1821 +                                                          GLfloat s,
  1.1822 +                                                          GLfloat t,
  1.1823 +                                                          GLfloat r,
  1.1824 +                                                          GLfloat q);
  1.1825 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target,
  1.1826 +                                                           const GLfloat * v);
  1.1827 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target,
  1.1828 +                                                          GLint s, GLint t,
  1.1829 +                                                          GLint r, GLint q);
  1.1830 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target,
  1.1831 +                                                           const GLint * v);
  1.1832 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target,
  1.1833 +                                                          GLshort s,
  1.1834 +                                                          GLshort t,
  1.1835 +                                                          GLshort r,
  1.1836 +                                                          GLshort q);
  1.1837 +    typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target,
  1.1838 +                                                           const GLshort * v);
  1.1839  #endif
  1.1840  
  1.1841  #ifndef GL_ARB_transpose_matrix
  1.1842  #define GL_ARB_transpose_matrix 1
  1.1843  #ifdef GL_GLEXT_PROTOTYPES
  1.1844 -GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
  1.1845 -GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
  1.1846 -GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
  1.1847 -GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
  1.1848 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1849 -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1.1850 -typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1.1851 -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  1.1852 -typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  1.1853 +    GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *);
  1.1854 +    GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *);
  1.1855 +    GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *);
  1.1856 +    GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *);
  1.1857 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1858 +    typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *
  1.1859 +                                                               m);
  1.1860 +    typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble
  1.1861 +                                                               * m);
  1.1862 +    typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *
  1.1863 +                                                               m);
  1.1864 +    typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble
  1.1865 +                                                               * m);
  1.1866  #endif
  1.1867  
  1.1868  #ifndef GL_ARB_multisample
  1.1869  #define GL_ARB_multisample 1
  1.1870  #ifdef GL_GLEXT_PROTOTYPES
  1.1871 -GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
  1.1872 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1873 -typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  1.1874 +    GLAPI void APIENTRY glSampleCoverageARB (GLclampf, GLboolean);
  1.1875 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1876 +    typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value,
  1.1877 +                                                         GLboolean invert);
  1.1878  #endif
  1.1879  
  1.1880  #ifndef GL_ARB_texture_env_add
  1.1881 @@ -3748,21 +4358,118 @@
  1.1882  #ifndef GL_ARB_texture_compression
  1.1883  #define GL_ARB_texture_compression 1
  1.1884  #ifdef GL_GLEXT_PROTOTYPES
  1.1885 -GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1886 -GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1887 -GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum, GLsizei, GLint, GLsizei, const GLvoid *);
  1.1888 -GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1889 -GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1890 -GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint, GLsizei, GLenum, GLsizei, const GLvoid *);
  1.1891 -GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
  1.1892 -#endif /* GL_GLEXT_PROTOTYPES */
  1.1893 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  1.1894 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  1.1895 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  1.1896 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  1.1897 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  1.1898 -typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  1.1899 -typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
  1.1900 +    GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum, GLint, GLenum,
  1.1901 +                                                   GLsizei, GLsizei, GLsizei,
  1.1902 +                                                   GLint, GLsizei,
  1.1903 +                                                   const GLvoid *);
  1.1904 +    GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum, GLint, GLenum,
  1.1905 +                                                   GLsizei, GLsizei, GLint,
  1.1906 +                                                   GLsizei, const GLvoid *);
  1.1907 +    GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum, GLint, GLenum,
  1.1908 +                                                   GLsizei, GLint, GLsizei,
  1.1909 +                                                   const GLvoid *);
  1.1910 +    GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum, GLint, GLint,
  1.1911 +                                                      GLint, GLint, GLsizei,
  1.1912 +                                                      GLsizei, GLsizei,
  1.1913 +                                                      GLenum, GLsizei,
  1.1914 +                                                      const GLvoid *);
  1.1915 +    GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum, GLint, GLint,
  1.1916 +                                                      GLint, GLsizei, GLsizei,
  1.1917 +                                                      GLenum, GLsizei,
  1.1918 +                                                      const GLvoid *);
  1.1919 +    GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum, GLint, GLint,
  1.1920 +                                                      GLsizei, GLenum,
  1.1921 +                                                      GLsizei,
  1.1922 +                                                      const GLvoid *);
  1.1923 +    GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum, GLint, GLvoid *);
  1.1924 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.1925 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target,
  1.1926 +                                                               GLint level,
  1.1927 +                                                               GLenum
  1.1928 +                                                               internalformat,
  1.1929 +                                                               GLsizei width,
  1.1930 +                                                               GLsizei height,
  1.1931 +                                                               GLsizei depth,
  1.1932 +                                                               GLint border,
  1.1933 +                                                               GLsizei
  1.1934 +                                                               imageSize,
  1.1935 +                                                               const GLvoid *
  1.1936 +                                                               data);
  1.1937 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target,
  1.1938 +                                                               GLint level,
  1.1939 +                                                               GLenum
  1.1940 +                                                               internalformat,
  1.1941 +                                                               GLsizei width,
  1.1942 +                                                               GLsizei height,
  1.1943 +                                                               GLint border,
  1.1944 +                                                               GLsizei
  1.1945 +                                                               imageSize,
  1.1946 +                                                               const GLvoid *
  1.1947 +                                                               data);
  1.1948 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target,
  1.1949 +                                                               GLint level,
  1.1950 +                                                               GLenum
  1.1951 +                                                               internalformat,
  1.1952 +                                                               GLsizei width,
  1.1953 +                                                               GLint border,
  1.1954 +                                                               GLsizei
  1.1955 +                                                               imageSize,
  1.1956 +                                                               const GLvoid *
  1.1957 +                                                               data);
  1.1958 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum
  1.1959 +                                                                  target,
  1.1960 +                                                                  GLint level,
  1.1961 +                                                                  GLint
  1.1962 +                                                                  xoffset,
  1.1963 +                                                                  GLint
  1.1964 +                                                                  yoffset,
  1.1965 +                                                                  GLint
  1.1966 +                                                                  zoffset,
  1.1967 +                                                                  GLsizei
  1.1968 +                                                                  width,
  1.1969 +                                                                  GLsizei
  1.1970 +                                                                  height,
  1.1971 +                                                                  GLsizei
  1.1972 +                                                                  depth,
  1.1973 +                                                                  GLenum
  1.1974 +                                                                  format,
  1.1975 +                                                                  GLsizei
  1.1976 +                                                                  imageSize,
  1.1977 +                                                                  const GLvoid
  1.1978 +                                                                  * data);
  1.1979 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum
  1.1980 +                                                                  target,
  1.1981 +                                                                  GLint level,
  1.1982 +                                                                  GLint
  1.1983 +                                                                  xoffset,
  1.1984 +                                                                  GLint
  1.1985 +                                                                  yoffset,
  1.1986 +                                                                  GLsizei
  1.1987 +                                                                  width,
  1.1988 +                                                                  GLsizei
  1.1989 +                                                                  height,
  1.1990 +                                                                  GLenum
  1.1991 +                                                                  format,
  1.1992 +                                                                  GLsizei
  1.1993 +                                                                  imageSize,
  1.1994 +                                                                  const GLvoid
  1.1995 +                                                                  * data);
  1.1996 +    typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum
  1.1997 +                                                                  target,
  1.1998 +                                                                  GLint level,
  1.1999 +                                                                  GLint
  1.2000 +                                                                  xoffset,
  1.2001 +                                                                  GLsizei
  1.2002 +                                                                  width,
  1.2003 +                                                                  GLenum
  1.2004 +                                                                  format,
  1.2005 +                                                                  GLsizei
  1.2006 +                                                                  imageSize,
  1.2007 +                                                                  const GLvoid
  1.2008 +                                                                  * data);
  1.2009 +    typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target,
  1.2010 +                                                                GLint level,
  1.2011 +                                                                GLvoid * img);
  1.2012  #endif
  1.2013  
  1.2014  #ifndef GL_ARB_texture_border_clamp
  1.2015 @@ -3772,53 +4479,80 @@
  1.2016  #ifndef GL_ARB_point_parameters
  1.2017  #define GL_ARB_point_parameters 1
  1.2018  #ifdef GL_GLEXT_PROTOTYPES
  1.2019 -GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
  1.2020 -GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
  1.2021 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2022 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  1.2023 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  1.2024 +    GLAPI void APIENTRY glPointParameterfARB (GLenum, GLfloat);
  1.2025 +    GLAPI void APIENTRY glPointParameterfvARB (GLenum, const GLfloat *);
  1.2026 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2027 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname,
  1.2028 +                                                          GLfloat param);
  1.2029 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname,
  1.2030 +                                                           const GLfloat *
  1.2031 +                                                           params);
  1.2032  #endif
  1.2033  
  1.2034  #ifndef GL_ARB_vertex_blend
  1.2035  #define GL_ARB_vertex_blend 1
  1.2036  #ifdef GL_GLEXT_PROTOTYPES
  1.2037 -GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
  1.2038 -GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
  1.2039 -GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
  1.2040 -GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
  1.2041 -GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
  1.2042 -GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
  1.2043 -GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
  1.2044 -GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
  1.2045 -GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  1.2046 -GLAPI void APIENTRY glVertexBlendARB (GLint);
  1.2047 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2048 -typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  1.2049 -typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  1.2050 -typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  1.2051 -typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  1.2052 -typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  1.2053 -typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  1.2054 -typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  1.2055 -typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  1.2056 -typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.2057 -typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  1.2058 +    GLAPI void APIENTRY glWeightbvARB (GLint, const GLbyte *);
  1.2059 +    GLAPI void APIENTRY glWeightsvARB (GLint, const GLshort *);
  1.2060 +    GLAPI void APIENTRY glWeightivARB (GLint, const GLint *);
  1.2061 +    GLAPI void APIENTRY glWeightfvARB (GLint, const GLfloat *);
  1.2062 +    GLAPI void APIENTRY glWeightdvARB (GLint, const GLdouble *);
  1.2063 +    GLAPI void APIENTRY glWeightubvARB (GLint, const GLubyte *);
  1.2064 +    GLAPI void APIENTRY glWeightusvARB (GLint, const GLushort *);
  1.2065 +    GLAPI void APIENTRY glWeightuivARB (GLint, const GLuint *);
  1.2066 +    GLAPI void APIENTRY glWeightPointerARB (GLint, GLenum, GLsizei,
  1.2067 +                                            const GLvoid *);
  1.2068 +    GLAPI void APIENTRY glVertexBlendARB (GLint);
  1.2069 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2070 +    typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size,
  1.2071 +                                                   const GLbyte * weights);
  1.2072 +    typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size,
  1.2073 +                                                   const GLshort * weights);
  1.2074 +    typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size,
  1.2075 +                                                   const GLint * weights);
  1.2076 +    typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size,
  1.2077 +                                                   const GLfloat * weights);
  1.2078 +    typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size,
  1.2079 +                                                   const GLdouble * weights);
  1.2080 +    typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size,
  1.2081 +                                                    const GLubyte * weights);
  1.2082 +    typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size,
  1.2083 +                                                    const GLushort * weights);
  1.2084 +    typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size,
  1.2085 +                                                    const GLuint * weights);
  1.2086 +    typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size,
  1.2087 +                                                        GLenum type,
  1.2088 +                                                        GLsizei stride,
  1.2089 +                                                        const GLvoid *
  1.2090 +                                                        pointer);
  1.2091 +    typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  1.2092  #endif
  1.2093  
  1.2094  #ifndef GL_ARB_matrix_palette
  1.2095  #define GL_ARB_matrix_palette 1
  1.2096  #ifdef GL_GLEXT_PROTOTYPES
  1.2097 -GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
  1.2098 -GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
  1.2099 -GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
  1.2100 -GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
  1.2101 -GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei, const GLvoid *);
  1.2102 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2103 -typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  1.2104 -typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  1.2105 -typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  1.2106 -typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  1.2107 -typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.2108 +    GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint);
  1.2109 +    GLAPI void APIENTRY glMatrixIndexubvARB (GLint, const GLubyte *);
  1.2110 +    GLAPI void APIENTRY glMatrixIndexusvARB (GLint, const GLushort *);
  1.2111 +    GLAPI void APIENTRY glMatrixIndexuivARB (GLint, const GLuint *);
  1.2112 +    GLAPI void APIENTRY glMatrixIndexPointerARB (GLint, GLenum, GLsizei,
  1.2113 +                                                 const GLvoid *);
  1.2114 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2115 +    typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  1.2116 +    typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size,
  1.2117 +                                                         const GLubyte *
  1.2118 +                                                         indices);
  1.2119 +    typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size,
  1.2120 +                                                         const GLushort *
  1.2121 +                                                         indices);
  1.2122 +    typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size,
  1.2123 +                                                         const GLuint *
  1.2124 +                                                         indices);
  1.2125 +    typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size,
  1.2126 +                                                             GLenum type,
  1.2127 +                                                             GLsizei stride,
  1.2128 +                                                             const GLvoid *
  1.2129 +                                                             pointer);
  1.2130  #endif
  1.2131  
  1.2132  #ifndef GL_ARB_texture_env_combine
  1.2133 @@ -3852,169 +4586,355 @@
  1.2134  #ifndef GL_ARB_window_pos
  1.2135  #define GL_ARB_window_pos 1
  1.2136  #ifdef GL_GLEXT_PROTOTYPES
  1.2137 -GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
  1.2138 -GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
  1.2139 -GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
  1.2140 -GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
  1.2141 -GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
  1.2142 -GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
  1.2143 -GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
  1.2144 -GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
  1.2145 -GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
  1.2146 -GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
  1.2147 -GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
  1.2148 -GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
  1.2149 -GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
  1.2150 -GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
  1.2151 -GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
  1.2152 -GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
  1.2153 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2154 -typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  1.2155 -typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  1.2156 -typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  1.2157 -typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  1.2158 -typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  1.2159 -typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  1.2160 -typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  1.2161 -typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  1.2162 -typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  1.2163 -typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  1.2164 -typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  1.2165 -typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  1.2166 -typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  1.2167 -typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  1.2168 -typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  1.2169 -typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  1.2170 +    GLAPI void APIENTRY glWindowPos2dARB (GLdouble, GLdouble);
  1.2171 +    GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *);
  1.2172 +    GLAPI void APIENTRY glWindowPos2fARB (GLfloat, GLfloat);
  1.2173 +    GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *);
  1.2174 +    GLAPI void APIENTRY glWindowPos2iARB (GLint, GLint);
  1.2175 +    GLAPI void APIENTRY glWindowPos2ivARB (const GLint *);
  1.2176 +    GLAPI void APIENTRY glWindowPos2sARB (GLshort, GLshort);
  1.2177 +    GLAPI void APIENTRY glWindowPos2svARB (const GLshort *);
  1.2178 +    GLAPI void APIENTRY glWindowPos3dARB (GLdouble, GLdouble, GLdouble);
  1.2179 +    GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *);
  1.2180 +    GLAPI void APIENTRY glWindowPos3fARB (GLfloat, GLfloat, GLfloat);
  1.2181 +    GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *);
  1.2182 +    GLAPI void APIENTRY glWindowPos3iARB (GLint, GLint, GLint);
  1.2183 +    GLAPI void APIENTRY glWindowPos3ivARB (const GLint *);
  1.2184 +    GLAPI void APIENTRY glWindowPos3sARB (GLshort, GLshort, GLshort);
  1.2185 +    GLAPI void APIENTRY glWindowPos3svARB (const GLshort *);
  1.2186 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2187 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  1.2188 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble * v);
  1.2189 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  1.2190 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat * v);
  1.2191 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  1.2192 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint * v);
  1.2193 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  1.2194 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort * v);
  1.2195 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y,
  1.2196 +                                                      GLdouble z);
  1.2197 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble * v);
  1.2198 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y,
  1.2199 +                                                      GLfloat z);
  1.2200 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat * v);
  1.2201 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y,
  1.2202 +                                                      GLint z);
  1.2203 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint * v);
  1.2204 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y,
  1.2205 +                                                      GLshort z);
  1.2206 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort * v);
  1.2207  #endif
  1.2208  
  1.2209  #ifndef GL_ARB_vertex_program
  1.2210  #define GL_ARB_vertex_program 1
  1.2211  #ifdef GL_GLEXT_PROTOTYPES
  1.2212 -GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
  1.2213 -GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
  1.2214 -GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
  1.2215 -GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
  1.2216 -GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
  1.2217 -GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
  1.2218 -GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
  1.2219 -GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
  1.2220 -GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
  1.2221 -GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
  1.2222 -GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
  1.2223 -GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
  1.2224 -GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble, GLdouble);
  1.2225 -GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
  1.2226 -GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat, GLfloat);
  1.2227 -GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
  1.2228 -GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort, GLshort);
  1.2229 -GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
  1.2230 -GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
  1.2231 -GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
  1.2232 -GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
  1.2233 -GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte, GLubyte, GLubyte);
  1.2234 -GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
  1.2235 -GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
  1.2236 -GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
  1.2237 -GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
  1.2238 -GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  1.2239 -GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
  1.2240 -GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.2241 -GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
  1.2242 -GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
  1.2243 -GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort, GLshort, GLshort);
  1.2244 -GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
  1.2245 -GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
  1.2246 -GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
  1.2247 -GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
  1.2248 -GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum, GLboolean, GLsizei, const GLvoid *);
  1.2249 -GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
  1.2250 -GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
  1.2251 -GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei, const GLvoid *);
  1.2252 -GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
  1.2253 -GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
  1.2254 -GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
  1.2255 -GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  1.2256 -GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint, const GLdouble *);
  1.2257 -GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.2258 -GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint, const GLfloat *);
  1.2259 -GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble);
  1.2260 -GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint, const GLdouble *);
  1.2261 -GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.2262 -GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint, const GLfloat *);
  1.2263 -GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint, GLdouble *);
  1.2264 -GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint, GLfloat *);
  1.2265 -GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint, GLdouble *);
  1.2266 -GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint, GLfloat *);
  1.2267 -GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
  1.2268 -GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
  1.2269 -GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
  1.2270 -GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
  1.2271 -GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
  1.2272 -GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum, GLvoid* *);
  1.2273 -GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
  1.2274 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2275 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  1.2276 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  1.2277 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  1.2278 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  1.2279 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  1.2280 -typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  1.2281 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  1.2282 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  1.2283 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  1.2284 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  1.2285 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  1.2286 -typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  1.2287 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1.2288 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  1.2289 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  1.2290 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  1.2291 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  1.2292 -typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  1.2293 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  1.2294 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  1.2295 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  1.2296 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  1.2297 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  1.2298 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  1.2299 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  1.2300 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  1.2301 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2302 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  1.2303 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.2304 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  1.2305 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  1.2306 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  1.2307 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  1.2308 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  1.2309 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  1.2310 -typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  1.2311 -typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  1.2312 -typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  1.2313 -typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  1.2314 -typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  1.2315 -typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  1.2316 -typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  1.2317 -typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  1.2318 -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2319 -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  1.2320 -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.2321 -typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  1.2322 -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.2323 -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  1.2324 -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.2325 -typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  1.2326 -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  1.2327 -typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  1.2328 -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  1.2329 -typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  1.2330 -typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.2331 -typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
  1.2332 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  1.2333 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  1.2334 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  1.2335 -typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  1.2336 -typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  1.2337 +    GLAPI void APIENTRY glVertexAttrib1dARB (GLuint, GLdouble);
  1.2338 +    GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint, const GLdouble *);
  1.2339 +    GLAPI void APIENTRY glVertexAttrib1fARB (GLuint, GLfloat);
  1.2340 +    GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint, const GLfloat *);
  1.2341 +    GLAPI void APIENTRY glVertexAttrib1sARB (GLuint, GLshort);
  1.2342 +    GLAPI void APIENTRY glVertexAttrib1svARB (GLuint, const GLshort *);
  1.2343 +    GLAPI void APIENTRY glVertexAttrib2dARB (GLuint, GLdouble, GLdouble);
  1.2344 +    GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint, const GLdouble *);
  1.2345 +    GLAPI void APIENTRY glVertexAttrib2fARB (GLuint, GLfloat, GLfloat);
  1.2346 +    GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint, const GLfloat *);
  1.2347 +    GLAPI void APIENTRY glVertexAttrib2sARB (GLuint, GLshort, GLshort);
  1.2348 +    GLAPI void APIENTRY glVertexAttrib2svARB (GLuint, const GLshort *);
  1.2349 +    GLAPI void APIENTRY glVertexAttrib3dARB (GLuint, GLdouble, GLdouble,
  1.2350 +                                             GLdouble);
  1.2351 +    GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint, const GLdouble *);
  1.2352 +    GLAPI void APIENTRY glVertexAttrib3fARB (GLuint, GLfloat, GLfloat,
  1.2353 +                                             GLfloat);
  1.2354 +    GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint, const GLfloat *);
  1.2355 +    GLAPI void APIENTRY glVertexAttrib3sARB (GLuint, GLshort, GLshort,
  1.2356 +                                             GLshort);
  1.2357 +    GLAPI void APIENTRY glVertexAttrib3svARB (GLuint, const GLshort *);
  1.2358 +    GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint, const GLbyte *);
  1.2359 +    GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint, const GLint *);
  1.2360 +    GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint, const GLshort *);
  1.2361 +    GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint, GLubyte, GLubyte,
  1.2362 +                                               GLubyte, GLubyte);
  1.2363 +    GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint, const GLubyte *);
  1.2364 +    GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint, const GLuint *);
  1.2365 +    GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint, const GLushort *);
  1.2366 +    GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint, const GLbyte *);
  1.2367 +    GLAPI void APIENTRY glVertexAttrib4dARB (GLuint, GLdouble, GLdouble,
  1.2368 +                                             GLdouble, GLdouble);
  1.2369 +    GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint, const GLdouble *);
  1.2370 +    GLAPI void APIENTRY glVertexAttrib4fARB (GLuint, GLfloat, GLfloat,
  1.2371 +                                             GLfloat, GLfloat);
  1.2372 +    GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint, const GLfloat *);
  1.2373 +    GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint, const GLint *);
  1.2374 +    GLAPI void APIENTRY glVertexAttrib4sARB (GLuint, GLshort, GLshort,
  1.2375 +                                             GLshort, GLshort);
  1.2376 +    GLAPI void APIENTRY glVertexAttrib4svARB (GLuint, const GLshort *);
  1.2377 +    GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint, const GLubyte *);
  1.2378 +    GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint, const GLuint *);
  1.2379 +    GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint, const GLushort *);
  1.2380 +    GLAPI void APIENTRY glVertexAttribPointerARB (GLuint, GLint, GLenum,
  1.2381 +                                                  GLboolean, GLsizei,
  1.2382 +                                                  const GLvoid *);
  1.2383 +    GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint);
  1.2384 +    GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint);
  1.2385 +    GLAPI void APIENTRY glProgramStringARB (GLenum, GLenum, GLsizei,
  1.2386 +                                            const GLvoid *);
  1.2387 +    GLAPI void APIENTRY glBindProgramARB (GLenum, GLuint);
  1.2388 +    GLAPI void APIENTRY glDeleteProgramsARB (GLsizei, const GLuint *);
  1.2389 +    GLAPI void APIENTRY glGenProgramsARB (GLsizei, GLuint *);
  1.2390 +    GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum, GLuint, GLdouble,
  1.2391 +                                                    GLdouble, GLdouble,
  1.2392 +                                                    GLdouble);
  1.2393 +    GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum, GLuint,
  1.2394 +                                                     const GLdouble *);
  1.2395 +    GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum, GLuint, GLfloat,
  1.2396 +                                                    GLfloat, GLfloat,
  1.2397 +                                                    GLfloat);
  1.2398 +    GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum, GLuint,
  1.2399 +                                                     const GLfloat *);
  1.2400 +    GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum, GLuint,
  1.2401 +                                                      GLdouble, GLdouble,
  1.2402 +                                                      GLdouble, GLdouble);
  1.2403 +    GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum, GLuint,
  1.2404 +                                                       const GLdouble *);
  1.2405 +    GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum, GLuint, GLfloat,
  1.2406 +                                                      GLfloat, GLfloat,
  1.2407 +                                                      GLfloat);
  1.2408 +    GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum, GLuint,
  1.2409 +                                                       const GLfloat *);
  1.2410 +    GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum, GLuint,
  1.2411 +                                                       GLdouble *);
  1.2412 +    GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum, GLuint,
  1.2413 +                                                       GLfloat *);
  1.2414 +    GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum, GLuint,
  1.2415 +                                                         GLdouble *);
  1.2416 +    GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum, GLuint,
  1.2417 +                                                         GLfloat *);
  1.2418 +    GLAPI void APIENTRY glGetProgramivARB (GLenum, GLenum, GLint *);
  1.2419 +    GLAPI void APIENTRY glGetProgramStringARB (GLenum, GLenum, GLvoid *);
  1.2420 +    GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint, GLenum, GLdouble *);
  1.2421 +    GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint, GLenum, GLfloat *);
  1.2422 +    GLAPI void APIENTRY glGetVertexAttribivARB (GLuint, GLenum, GLint *);
  1.2423 +    GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint, GLenum,
  1.2424 +                                                      GLvoid * *);
  1.2425 +    GLAPI GLboolean APIENTRY glIsProgramARB (GLuint);
  1.2426 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2427 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index,
  1.2428 +                                                         GLdouble x);
  1.2429 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index,
  1.2430 +                                                          const GLdouble * v);
  1.2431 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index,
  1.2432 +                                                         GLfloat x);
  1.2433 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index,
  1.2434 +                                                          const GLfloat * v);
  1.2435 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index,
  1.2436 +                                                         GLshort x);
  1.2437 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index,
  1.2438 +                                                          const GLshort * v);
  1.2439 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index,
  1.2440 +                                                         GLdouble x,
  1.2441 +                                                         GLdouble y);
  1.2442 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index,
  1.2443 +                                                          const GLdouble * v);
  1.2444 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index,
  1.2445 +                                                         GLfloat x,
  1.2446 +                                                         GLfloat y);
  1.2447 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index,
  1.2448 +                                                          const GLfloat * v);
  1.2449 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index,
  1.2450 +                                                         GLshort x,
  1.2451 +                                                         GLshort y);
  1.2452 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index,
  1.2453 +                                                          const GLshort * v);
  1.2454 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index,
  1.2455 +                                                         GLdouble x,
  1.2456 +                                                         GLdouble y,
  1.2457 +                                                         GLdouble z);
  1.2458 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index,
  1.2459 +                                                          const GLdouble * v);
  1.2460 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index,
  1.2461 +                                                         GLfloat x, GLfloat y,
  1.2462 +                                                         GLfloat z);
  1.2463 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index,
  1.2464 +                                                          const GLfloat * v);
  1.2465 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index,
  1.2466 +                                                         GLshort x, GLshort y,
  1.2467 +                                                         GLshort z);
  1.2468 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index,
  1.2469 +                                                          const GLshort * v);
  1.2470 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index,
  1.2471 +                                                           const GLbyte * v);
  1.2472 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index,
  1.2473 +                                                           const GLint * v);
  1.2474 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index,
  1.2475 +                                                           const GLshort * v);
  1.2476 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index,
  1.2477 +                                                           GLubyte x,
  1.2478 +                                                           GLubyte y,
  1.2479 +                                                           GLubyte z,
  1.2480 +                                                           GLubyte w);
  1.2481 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index,
  1.2482 +                                                            const GLubyte *
  1.2483 +                                                            v);
  1.2484 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index,
  1.2485 +                                                            const GLuint * v);
  1.2486 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index,
  1.2487 +                                                            const GLushort *
  1.2488 +                                                            v);
  1.2489 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index,
  1.2490 +                                                          const GLbyte * v);
  1.2491 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index,
  1.2492 +                                                         GLdouble x,
  1.2493 +                                                         GLdouble y,
  1.2494 +                                                         GLdouble z,
  1.2495 +                                                         GLdouble w);
  1.2496 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index,
  1.2497 +                                                          const GLdouble * v);
  1.2498 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index,
  1.2499 +                                                         GLfloat x, GLfloat y,
  1.2500 +                                                         GLfloat z,
  1.2501 +                                                         GLfloat w);
  1.2502 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index,
  1.2503 +                                                          const GLfloat * v);
  1.2504 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index,
  1.2505 +                                                          const GLint * v);
  1.2506 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index,
  1.2507 +                                                         GLshort x, GLshort y,
  1.2508 +                                                         GLshort z,
  1.2509 +                                                         GLshort w);
  1.2510 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index,
  1.2511 +                                                          const GLshort * v);
  1.2512 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index,
  1.2513 +                                                           const GLubyte * v);
  1.2514 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index,
  1.2515 +                                                           const GLuint * v);
  1.2516 +    typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index,
  1.2517 +                                                           const GLushort *
  1.2518 +                                                           v);
  1.2519 +    typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index,
  1.2520 +                                                              GLint size,
  1.2521 +                                                              GLenum type,
  1.2522 +                                                              GLboolean
  1.2523 +                                                              normalized,
  1.2524 +                                                              GLsizei stride,
  1.2525 +                                                              const GLvoid *
  1.2526 +                                                              pointer);
  1.2527 +    typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint
  1.2528 +                                                                  index);
  1.2529 +    typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint
  1.2530 +                                                                   index);
  1.2531 +    typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target,
  1.2532 +                                                        GLenum format,
  1.2533 +                                                        GLsizei len,
  1.2534 +                                                        const GLvoid *
  1.2535 +                                                        string);
  1.2536 +    typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target,
  1.2537 +                                                      GLuint program);
  1.2538 +    typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n,
  1.2539 +                                                         const GLuint *
  1.2540 +                                                         programs);
  1.2541 +    typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n,
  1.2542 +                                                      GLuint * programs);
  1.2543 +    typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target,
  1.2544 +                                                                GLuint index,
  1.2545 +                                                                GLdouble x,
  1.2546 +                                                                GLdouble y,
  1.2547 +                                                                GLdouble z,
  1.2548 +                                                                GLdouble w);
  1.2549 +    typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum
  1.2550 +                                                                 target,
  1.2551 +                                                                 GLuint index,
  1.2552 +                                                                 const
  1.2553 +                                                                 GLdouble *
  1.2554 +                                                                 params);
  1.2555 +    typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target,
  1.2556 +                                                                GLuint index,
  1.2557 +                                                                GLfloat x,
  1.2558 +                                                                GLfloat y,
  1.2559 +                                                                GLfloat z,
  1.2560 +                                                                GLfloat w);
  1.2561 +    typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum
  1.2562 +                                                                 target,
  1.2563 +                                                                 GLuint index,
  1.2564 +                                                                 const GLfloat
  1.2565 +                                                                 * params);
  1.2566 +    typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum
  1.2567 +                                                                  target,
  1.2568 +                                                                  GLuint
  1.2569 +                                                                  index,
  1.2570 +                                                                  GLdouble x,
  1.2571 +                                                                  GLdouble y,
  1.2572 +                                                                  GLdouble z,
  1.2573 +                                                                  GLdouble w);
  1.2574 +    typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum
  1.2575 +                                                                   target,
  1.2576 +                                                                   GLuint
  1.2577 +                                                                   index,
  1.2578 +                                                                   const
  1.2579 +                                                                   GLdouble *
  1.2580 +                                                                   params);
  1.2581 +    typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum
  1.2582 +                                                                  target,
  1.2583 +                                                                  GLuint
  1.2584 +                                                                  index,
  1.2585 +                                                                  GLfloat x,
  1.2586 +                                                                  GLfloat y,
  1.2587 +                                                                  GLfloat z,
  1.2588 +                                                                  GLfloat w);
  1.2589 +    typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum
  1.2590 +                                                                   target,
  1.2591 +                                                                   GLuint
  1.2592 +                                                                   index,
  1.2593 +                                                                   const
  1.2594 +                                                                   GLfloat *
  1.2595 +                                                                   params);
  1.2596 +    typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum
  1.2597 +                                                                   target,
  1.2598 +                                                                   GLuint
  1.2599 +                                                                   index,
  1.2600 +                                                                   GLdouble *
  1.2601 +                                                                   params);
  1.2602 +    typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum
  1.2603 +                                                                   target,
  1.2604 +                                                                   GLuint
  1.2605 +                                                                   index,
  1.2606 +                                                                   GLfloat *
  1.2607 +                                                                   params);
  1.2608 +    typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum
  1.2609 +                                                                     target,
  1.2610 +                                                                     GLuint
  1.2611 +                                                                     index,
  1.2612 +                                                                     GLdouble
  1.2613 +                                                                     *
  1.2614 +                                                                     params);
  1.2615 +    typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum
  1.2616 +                                                                     target,
  1.2617 +                                                                     GLuint
  1.2618 +                                                                     index,
  1.2619 +                                                                     GLfloat *
  1.2620 +                                                                     params);
  1.2621 +    typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target,
  1.2622 +                                                       GLenum pname,
  1.2623 +                                                       GLint * params);
  1.2624 +    typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target,
  1.2625 +                                                           GLenum pname,
  1.2626 +                                                           GLvoid * string);
  1.2627 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index,
  1.2628 +                                                            GLenum pname,
  1.2629 +                                                            GLdouble *
  1.2630 +                                                            params);
  1.2631 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index,
  1.2632 +                                                            GLenum pname,
  1.2633 +                                                            GLfloat * params);
  1.2634 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index,
  1.2635 +                                                            GLenum pname,
  1.2636 +                                                            GLint * params);
  1.2637 +    typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint
  1.2638 +                                                                  index,
  1.2639 +                                                                  GLenum
  1.2640 +                                                                  pname,
  1.2641 +                                                                  GLvoid *
  1.2642 +                                                                  *pointer);
  1.2643 +    typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  1.2644  #endif
  1.2645  
  1.2646  #ifndef GL_ARB_fragment_program
  1.2647 @@ -4025,147 +4945,296 @@
  1.2648  #ifndef GL_ARB_vertex_buffer_object
  1.2649  #define GL_ARB_vertex_buffer_object 1
  1.2650  #ifdef GL_GLEXT_PROTOTYPES
  1.2651 -GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
  1.2652 -GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
  1.2653 -GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
  1.2654 -GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
  1.2655 -GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB, const GLvoid *, GLenum);
  1.2656 -GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, const GLvoid *);
  1.2657 -GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB, GLsizeiptrARB, GLvoid *);
  1.2658 -GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum, GLenum);
  1.2659 -GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
  1.2660 -GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
  1.2661 -GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid* *);
  1.2662 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2663 -typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  1.2664 -typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  1.2665 -typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  1.2666 -typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  1.2667 -typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  1.2668 -typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  1.2669 -typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  1.2670 -typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  1.2671 -typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  1.2672 -typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.2673 -typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
  1.2674 +    GLAPI void APIENTRY glBindBufferARB (GLenum, GLuint);
  1.2675 +    GLAPI void APIENTRY glDeleteBuffersARB (GLsizei, const GLuint *);
  1.2676 +    GLAPI void APIENTRY glGenBuffersARB (GLsizei, GLuint *);
  1.2677 +    GLAPI GLboolean APIENTRY glIsBufferARB (GLuint);
  1.2678 +    GLAPI void APIENTRY glBufferDataARB (GLenum, GLsizeiptrARB,
  1.2679 +                                         const GLvoid *, GLenum);
  1.2680 +    GLAPI void APIENTRY glBufferSubDataARB (GLenum, GLintptrARB,
  1.2681 +                                            GLsizeiptrARB, const GLvoid *);
  1.2682 +    GLAPI void APIENTRY glGetBufferSubDataARB (GLenum, GLintptrARB,
  1.2683 +                                               GLsizeiptrARB, GLvoid *);
  1.2684 +    GLAPI GLvoid *APIENTRY glMapBufferARB (GLenum, GLenum);
  1.2685 +    GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum);
  1.2686 +    GLAPI void APIENTRY glGetBufferParameterivARB (GLenum, GLenum, GLint *);
  1.2687 +    GLAPI void APIENTRY glGetBufferPointervARB (GLenum, GLenum, GLvoid * *);
  1.2688 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2689 +    typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target,
  1.2690 +                                                     GLuint buffer);
  1.2691 +    typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n,
  1.2692 +                                                        const GLuint *
  1.2693 +                                                        buffers);
  1.2694 +    typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n,
  1.2695 +                                                     GLuint * buffers);
  1.2696 +    typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  1.2697 +    typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target,
  1.2698 +                                                     GLsizeiptrARB size,
  1.2699 +                                                     const GLvoid * data,
  1.2700 +                                                     GLenum usage);
  1.2701 +    typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target,
  1.2702 +                                                        GLintptrARB offset,
  1.2703 +                                                        GLsizeiptrARB size,
  1.2704 +                                                        const GLvoid * data);
  1.2705 +    typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target,
  1.2706 +                                                           GLintptrARB offset,
  1.2707 +                                                           GLsizeiptrARB size,
  1.2708 +                                                           GLvoid * data);
  1.2709 +    typedef GLvoid *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target,
  1.2710 +                                                       GLenum access);
  1.2711 +    typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  1.2712 +    typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target,
  1.2713 +                                                               GLenum pname,
  1.2714 +                                                               GLint *
  1.2715 +                                                               params);
  1.2716 +    typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target,
  1.2717 +                                                            GLenum pname,
  1.2718 +                                                            GLvoid * *params);
  1.2719  #endif
  1.2720  
  1.2721  #ifndef GL_ARB_occlusion_query
  1.2722  #define GL_ARB_occlusion_query 1
  1.2723  #ifdef GL_GLEXT_PROTOTYPES
  1.2724 -GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
  1.2725 -GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
  1.2726 -GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
  1.2727 -GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
  1.2728 -GLAPI void APIENTRY glEndQueryARB (GLenum);
  1.2729 -GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
  1.2730 -GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
  1.2731 -GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
  1.2732 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2733 -typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  1.2734 -typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  1.2735 -typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  1.2736 -typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  1.2737 -typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  1.2738 -typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  1.2739 -typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  1.2740 -typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  1.2741 +    GLAPI void APIENTRY glGenQueriesARB (GLsizei, GLuint *);
  1.2742 +    GLAPI void APIENTRY glDeleteQueriesARB (GLsizei, const GLuint *);
  1.2743 +    GLAPI GLboolean APIENTRY glIsQueryARB (GLuint);
  1.2744 +    GLAPI void APIENTRY glBeginQueryARB (GLenum, GLuint);
  1.2745 +    GLAPI void APIENTRY glEndQueryARB (GLenum);
  1.2746 +    GLAPI void APIENTRY glGetQueryivARB (GLenum, GLenum, GLint *);
  1.2747 +    GLAPI void APIENTRY glGetQueryObjectivARB (GLuint, GLenum, GLint *);
  1.2748 +    GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint, GLenum, GLuint *);
  1.2749 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2750 +    typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint * ids);
  1.2751 +    typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n,
  1.2752 +                                                        const GLuint * ids);
  1.2753 +    typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  1.2754 +    typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target,
  1.2755 +                                                     GLuint id);
  1.2756 +    typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  1.2757 +    typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target,
  1.2758 +                                                     GLenum pname,
  1.2759 +                                                     GLint * params);
  1.2760 +    typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id,
  1.2761 +                                                           GLenum pname,
  1.2762 +                                                           GLint * params);
  1.2763 +    typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id,
  1.2764 +                                                            GLenum pname,
  1.2765 +                                                            GLuint * params);
  1.2766  #endif
  1.2767  
  1.2768  #ifndef GL_ARB_shader_objects
  1.2769  #define GL_ARB_shader_objects 1
  1.2770  #ifdef GL_GLEXT_PROTOTYPES
  1.2771 -GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
  1.2772 -GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
  1.2773 -GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
  1.2774 -GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
  1.2775 -GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei, const GLcharARB* *, const GLint *);
  1.2776 -GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
  1.2777 -GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  1.2778 -GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
  1.2779 -GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
  1.2780 -GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
  1.2781 -GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
  1.2782 -GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
  1.2783 -GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
  1.2784 -GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
  1.2785 -GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat, GLfloat);
  1.2786 -GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
  1.2787 -GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
  1.2788 -GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
  1.2789 -GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
  1.2790 -GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
  1.2791 -GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
  1.2792 -GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
  1.2793 -GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
  1.2794 -GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
  1.2795 -GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
  1.2796 -GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
  1.2797 -GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
  1.2798 -GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  1.2799 -GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  1.2800 -GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean, const GLfloat *);
  1.2801 -GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum, GLfloat *);
  1.2802 -GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum, GLint *);
  1.2803 -GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  1.2804 -GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei, GLsizei *, GLhandleARB *);
  1.2805 -GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB, const GLcharARB *);
  1.2806 -GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  1.2807 -GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
  1.2808 -GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
  1.2809 -GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *, GLcharARB *);
  1.2810 -#endif /* GL_GLEXT_PROTOTYPES */
  1.2811 -typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  1.2812 -typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  1.2813 -typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  1.2814 -typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  1.2815 -typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  1.2816 -typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  1.2817 -typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  1.2818 -typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  1.2819 -typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  1.2820 -typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  1.2821 -typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  1.2822 -typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  1.2823 -typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  1.2824 -typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1.2825 -typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1.2826 -typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  1.2827 -typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  1.2828 -typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  1.2829 -typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1.2830 -typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.2831 -typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.2832 -typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.2833 -typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  1.2834 -typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.2835 -typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.2836 -typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.2837 -typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  1.2838 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2839 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2840 -typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1.2841 -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  1.2842 -typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  1.2843 -typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  1.2844 -typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  1.2845 -typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  1.2846 -typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.2847 -typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  1.2848 -typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  1.2849 -typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  1.2850 +    GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB);
  1.2851 +    GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum);
  1.2852 +    GLAPI void APIENTRY glDetachObjectARB (GLhandleARB, GLhandleARB);
  1.2853 +    GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum);
  1.2854 +    GLAPI void APIENTRY glShaderSourceARB (GLhandleARB, GLsizei,
  1.2855 +                                           const GLcharARB * *,
  1.2856 +                                           const GLint *);
  1.2857 +    GLAPI void APIENTRY glCompileShaderARB (GLhandleARB);
  1.2858 +    GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  1.2859 +    GLAPI void APIENTRY glAttachObjectARB (GLhandleARB, GLhandleARB);
  1.2860 +    GLAPI void APIENTRY glLinkProgramARB (GLhandleARB);
  1.2861 +    GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB);
  1.2862 +    GLAPI void APIENTRY glValidateProgramARB (GLhandleARB);
  1.2863 +    GLAPI void APIENTRY glUniform1fARB (GLint, GLfloat);
  1.2864 +    GLAPI void APIENTRY glUniform2fARB (GLint, GLfloat, GLfloat);
  1.2865 +    GLAPI void APIENTRY glUniform3fARB (GLint, GLfloat, GLfloat, GLfloat);
  1.2866 +    GLAPI void APIENTRY glUniform4fARB (GLint, GLfloat, GLfloat, GLfloat,
  1.2867 +                                        GLfloat);
  1.2868 +    GLAPI void APIENTRY glUniform1iARB (GLint, GLint);
  1.2869 +    GLAPI void APIENTRY glUniform2iARB (GLint, GLint, GLint);
  1.2870 +    GLAPI void APIENTRY glUniform3iARB (GLint, GLint, GLint, GLint);
  1.2871 +    GLAPI void APIENTRY glUniform4iARB (GLint, GLint, GLint, GLint, GLint);
  1.2872 +    GLAPI void APIENTRY glUniform1fvARB (GLint, GLsizei, const GLfloat *);
  1.2873 +    GLAPI void APIENTRY glUniform2fvARB (GLint, GLsizei, const GLfloat *);
  1.2874 +    GLAPI void APIENTRY glUniform3fvARB (GLint, GLsizei, const GLfloat *);
  1.2875 +    GLAPI void APIENTRY glUniform4fvARB (GLint, GLsizei, const GLfloat *);
  1.2876 +    GLAPI void APIENTRY glUniform1ivARB (GLint, GLsizei, const GLint *);
  1.2877 +    GLAPI void APIENTRY glUniform2ivARB (GLint, GLsizei, const GLint *);
  1.2878 +    GLAPI void APIENTRY glUniform3ivARB (GLint, GLsizei, const GLint *);
  1.2879 +    GLAPI void APIENTRY glUniform4ivARB (GLint, GLsizei, const GLint *);
  1.2880 +    GLAPI void APIENTRY glUniformMatrix2fvARB (GLint, GLsizei, GLboolean,
  1.2881 +                                               const GLfloat *);
  1.2882 +    GLAPI void APIENTRY glUniformMatrix3fvARB (GLint, GLsizei, GLboolean,
  1.2883 +                                               const GLfloat *);
  1.2884 +    GLAPI void APIENTRY glUniformMatrix4fvARB (GLint, GLsizei, GLboolean,
  1.2885 +                                               const GLfloat *);
  1.2886 +    GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB, GLenum,
  1.2887 +                                                   GLfloat *);
  1.2888 +    GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB, GLenum,
  1.2889 +                                                   GLint *);
  1.2890 +    GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB, GLsizei, GLsizei *,
  1.2891 +                                         GLcharARB *);
  1.2892 +    GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB, GLsizei,
  1.2893 +                                                 GLsizei *, GLhandleARB *);
  1.2894 +    GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB,
  1.2895 +                                                  const GLcharARB *);
  1.2896 +    GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB, GLuint, GLsizei,
  1.2897 +                                               GLsizei *, GLint *, GLenum *,
  1.2898 +                                               GLcharARB *);
  1.2899 +    GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB, GLint, GLfloat *);
  1.2900 +    GLAPI void APIENTRY glGetUniformivARB (GLhandleARB, GLint, GLint *);
  1.2901 +    GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB, GLsizei, GLsizei *,
  1.2902 +                                              GLcharARB *);
  1.2903 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.2904 +    typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  1.2905 +    typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  1.2906 +    typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB
  1.2907 +                                                       containerObj,
  1.2908 +                                                       GLhandleARB
  1.2909 +                                                       attachedObj);
  1.2910 +    typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum
  1.2911 +                                                                    shaderType);
  1.2912 +    typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj,
  1.2913 +                                                       GLsizei count,
  1.2914 +                                                       const GLcharARB *
  1.2915 +                                                       *string,
  1.2916 +                                                       const GLint * length);
  1.2917 +    typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB
  1.2918 +                                                        shaderObj);
  1.2919 +    typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  1.2920 +    typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB
  1.2921 +                                                       containerObj,
  1.2922 +                                                       GLhandleARB obj);
  1.2923 +    typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  1.2924 +    typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB
  1.2925 +                                                           programObj);
  1.2926 +    typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB
  1.2927 +                                                          programObj);
  1.2928 +    typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location,
  1.2929 +                                                    GLfloat v0);
  1.2930 +    typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location,
  1.2931 +                                                    GLfloat v0, GLfloat v1);
  1.2932 +    typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location,
  1.2933 +                                                    GLfloat v0, GLfloat v1,
  1.2934 +                                                    GLfloat v2);
  1.2935 +    typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location,
  1.2936 +                                                    GLfloat v0, GLfloat v1,
  1.2937 +                                                    GLfloat v2, GLfloat v3);
  1.2938 +    typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  1.2939 +    typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0,
  1.2940 +                                                    GLint v1);
  1.2941 +    typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0,
  1.2942 +                                                    GLint v1, GLint v2);
  1.2943 +    typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0,
  1.2944 +                                                    GLint v1, GLint v2,
  1.2945 +                                                    GLint v3);
  1.2946 +    typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location,
  1.2947 +                                                     GLsizei count,
  1.2948 +                                                     const GLfloat * value);
  1.2949 +    typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location,
  1.2950 +                                                     GLsizei count,
  1.2951 +                                                     const GLfloat * value);
  1.2952 +    typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location,
  1.2953 +                                                     GLsizei count,
  1.2954 +                                                     const GLfloat * value);
  1.2955 +    typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location,
  1.2956 +                                                     GLsizei count,
  1.2957 +                                                     const GLfloat * value);
  1.2958 +    typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location,
  1.2959 +                                                     GLsizei count,
  1.2960 +                                                     const GLint * value);
  1.2961 +    typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location,
  1.2962 +                                                     GLsizei count,
  1.2963 +                                                     const GLint * value);
  1.2964 +    typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location,
  1.2965 +                                                     GLsizei count,
  1.2966 +                                                     const GLint * value);
  1.2967 +    typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location,
  1.2968 +                                                     GLsizei count,
  1.2969 +                                                     const GLint * value);
  1.2970 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location,
  1.2971 +                                                           GLsizei count,
  1.2972 +                                                           GLboolean
  1.2973 +                                                           transpose,
  1.2974 +                                                           const GLfloat *
  1.2975 +                                                           value);
  1.2976 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location,
  1.2977 +                                                           GLsizei count,
  1.2978 +                                                           GLboolean
  1.2979 +                                                           transpose,
  1.2980 +                                                           const GLfloat *
  1.2981 +                                                           value);
  1.2982 +    typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location,
  1.2983 +                                                           GLsizei count,
  1.2984 +                                                           GLboolean
  1.2985 +                                                           transpose,
  1.2986 +                                                           const GLfloat *
  1.2987 +                                                           value);
  1.2988 +    typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB
  1.2989 +                                                               obj,
  1.2990 +                                                               GLenum pname,
  1.2991 +                                                               GLfloat *
  1.2992 +                                                               params);
  1.2993 +    typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB
  1.2994 +                                                               obj,
  1.2995 +                                                               GLenum pname,
  1.2996 +                                                               GLint *
  1.2997 +                                                               params);
  1.2998 +    typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj,
  1.2999 +                                                     GLsizei maxLength,
  1.3000 +                                                     GLsizei * length,
  1.3001 +                                                     GLcharARB * infoLog);
  1.3002 +    typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB
  1.3003 +                                                             containerObj,
  1.3004 +                                                             GLsizei maxCount,
  1.3005 +                                                             GLsizei * count,
  1.3006 +                                                             GLhandleARB *
  1.3007 +                                                             obj);
  1.3008 +    typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB
  1.3009 +                                                              programObj,
  1.3010 +                                                              const GLcharARB
  1.3011 +                                                              * name);
  1.3012 +    typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB
  1.3013 +                                                           programObj,
  1.3014 +                                                           GLuint index,
  1.3015 +                                                           GLsizei maxLength,
  1.3016 +                                                           GLsizei * length,
  1.3017 +                                                           GLint * size,
  1.3018 +                                                           GLenum * type,
  1.3019 +                                                           GLcharARB * name);
  1.3020 +    typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj,
  1.3021 +                                                       GLint location,
  1.3022 +                                                       GLfloat * params);
  1.3023 +    typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj,
  1.3024 +                                                       GLint location,
  1.3025 +                                                       GLint * params);
  1.3026 +    typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj,
  1.3027 +                                                          GLsizei maxLength,
  1.3028 +                                                          GLsizei * length,
  1.3029 +                                                          GLcharARB * source);
  1.3030  #endif
  1.3031  
  1.3032  #ifndef GL_ARB_vertex_shader
  1.3033  #define GL_ARB_vertex_shader 1
  1.3034  #ifdef GL_GLEXT_PROTOTYPES
  1.3035 -GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint, const GLcharARB *);
  1.3036 -GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *);
  1.3037 -GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB, const GLcharARB *);
  1.3038 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3039 -typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  1.3040 -typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  1.3041 -typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  1.3042 +    GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB, GLuint,
  1.3043 +                                                 const GLcharARB *);
  1.3044 +    GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB, GLuint, GLsizei,
  1.3045 +                                              GLsizei *, GLint *, GLenum *,
  1.3046 +                                              GLcharARB *);
  1.3047 +    GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB,
  1.3048 +                                                 const GLcharARB *);
  1.3049 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3050 +    typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB
  1.3051 +                                                             programObj,
  1.3052 +                                                             GLuint index,
  1.3053 +                                                             const GLcharARB *
  1.3054 +                                                             name);
  1.3055 +    typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB
  1.3056 +                                                          programObj,
  1.3057 +                                                          GLuint index,
  1.3058 +                                                          GLsizei maxLength,
  1.3059 +                                                          GLsizei * length,
  1.3060 +                                                          GLint * size,
  1.3061 +                                                          GLenum * type,
  1.3062 +                                                          GLcharARB * name);
  1.3063 +    typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB
  1.3064 +                                                             programObj,
  1.3065 +                                                             const GLcharARB *
  1.3066 +                                                             name);
  1.3067  #endif
  1.3068  
  1.3069  #ifndef GL_ARB_fragment_shader
  1.3070 @@ -4191,9 +5260,10 @@
  1.3071  #ifndef GL_ARB_draw_buffers
  1.3072  #define GL_ARB_draw_buffers 1
  1.3073  #ifdef GL_GLEXT_PROTOTYPES
  1.3074 -GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
  1.3075 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3076 -typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  1.3077 +    GLAPI void APIENTRY glDrawBuffersARB (GLsizei, const GLenum *);
  1.3078 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3079 +    typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n,
  1.3080 +                                                      const GLenum * bufs);
  1.3081  #endif
  1.3082  
  1.3083  #ifndef GL_ARB_texture_rectangle
  1.3084 @@ -4203,9 +5273,10 @@
  1.3085  #ifndef GL_ARB_color_buffer_float
  1.3086  #define GL_ARB_color_buffer_float 1
  1.3087  #ifdef GL_GLEXT_PROTOTYPES
  1.3088 -GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
  1.3089 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3090 -typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  1.3091 +    GLAPI void APIENTRY glClampColorARB (GLenum, GLenum);
  1.3092 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3093 +    typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target,
  1.3094 +                                                     GLenum clamp);
  1.3095  #endif
  1.3096  
  1.3097  #ifndef GL_ARB_half_float_pixel
  1.3098 @@ -4227,17 +5298,22 @@
  1.3099  #ifndef GL_EXT_blend_color
  1.3100  #define GL_EXT_blend_color 1
  1.3101  #ifdef GL_GLEXT_PROTOTYPES
  1.3102 -GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf, GLclampf);
  1.3103 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3104 -typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1.3105 +    GLAPI void APIENTRY glBlendColorEXT (GLclampf, GLclampf, GLclampf,
  1.3106 +                                         GLclampf);
  1.3107 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3108 +    typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLclampf red,
  1.3109 +                                                     GLclampf green,
  1.3110 +                                                     GLclampf blue,
  1.3111 +                                                     GLclampf alpha);
  1.3112  #endif
  1.3113  
  1.3114  #ifndef GL_EXT_polygon_offset
  1.3115  #define GL_EXT_polygon_offset 1
  1.3116  #ifdef GL_GLEXT_PROTOTYPES
  1.3117 -GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
  1.3118 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3119 -typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  1.3120 +    GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat, GLfloat);
  1.3121 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3122 +    typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor,
  1.3123 +                                                        GLfloat bias);
  1.3124  #endif
  1.3125  
  1.3126  #ifndef GL_EXT_texture
  1.3127 @@ -4247,105 +5323,316 @@
  1.3128  #ifndef GL_EXT_texture3D
  1.3129  #define GL_EXT_texture3D 1
  1.3130  #ifdef GL_GLEXT_PROTOTYPES
  1.3131 -GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.3132 -GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3133 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3134 -typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.3135 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  1.3136 +    GLAPI void APIENTRY glTexImage3DEXT (GLenum, GLint, GLenum, GLsizei,
  1.3137 +                                         GLsizei, GLsizei, GLint, GLenum,
  1.3138 +                                         GLenum, const GLvoid *);
  1.3139 +    GLAPI void APIENTRY glTexSubImage3DEXT (GLenum, GLint, GLint, GLint,
  1.3140 +                                            GLint, GLsizei, GLsizei, GLsizei,
  1.3141 +                                            GLenum, GLenum, const GLvoid *);
  1.3142 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3143 +    typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target,
  1.3144 +                                                     GLint level,
  1.3145 +                                                     GLenum internalformat,
  1.3146 +                                                     GLsizei width,
  1.3147 +                                                     GLsizei height,
  1.3148 +                                                     GLsizei depth,
  1.3149 +                                                     GLint border,
  1.3150 +                                                     GLenum format,
  1.3151 +                                                     GLenum type,
  1.3152 +                                                     const GLvoid * pixels);
  1.3153 +    typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target,
  1.3154 +                                                        GLint level,
  1.3155 +                                                        GLint xoffset,
  1.3156 +                                                        GLint yoffset,
  1.3157 +                                                        GLint zoffset,
  1.3158 +                                                        GLsizei width,
  1.3159 +                                                        GLsizei height,
  1.3160 +                                                        GLsizei depth,
  1.3161 +                                                        GLenum format,
  1.3162 +                                                        GLenum type,
  1.3163 +                                                        const GLvoid *
  1.3164 +                                                        pixels);
  1.3165  #endif
  1.3166  
  1.3167  #ifndef GL_SGIS_texture_filter4
  1.3168  #define GL_SGIS_texture_filter4 1
  1.3169  #ifdef GL_GLEXT_PROTOTYPES
  1.3170 -GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
  1.3171 -GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei, const GLfloat *);
  1.3172 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3173 -typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  1.3174 -typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  1.3175 +    GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum, GLenum, GLfloat *);
  1.3176 +    GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum, GLenum, GLsizei,
  1.3177 +                                             const GLfloat *);
  1.3178 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3179 +    typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target,
  1.3180 +                                                            GLenum filter,
  1.3181 +                                                            GLfloat *
  1.3182 +                                                            weights);
  1.3183 +    typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target,
  1.3184 +                                                         GLenum filter,
  1.3185 +                                                         GLsizei n,
  1.3186 +                                                         const GLfloat *
  1.3187 +                                                         weights);
  1.3188  #endif
  1.3189  
  1.3190  #ifndef GL_EXT_subtexture
  1.3191  #define GL_EXT_subtexture 1
  1.3192  #ifdef GL_GLEXT_PROTOTYPES
  1.3193 -GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3194 -GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3195 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3196 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1.3197 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1.3198 +    GLAPI void APIENTRY glTexSubImage1DEXT (GLenum, GLint, GLint, GLsizei,
  1.3199 +                                            GLenum, GLenum, const GLvoid *);
  1.3200 +    GLAPI void APIENTRY glTexSubImage2DEXT (GLenum, GLint, GLint, GLint,
  1.3201 +                                            GLsizei, GLsizei, GLenum, GLenum,
  1.3202 +                                            const GLvoid *);
  1.3203 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3204 +    typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target,
  1.3205 +                                                        GLint level,
  1.3206 +                                                        GLint xoffset,
  1.3207 +                                                        GLsizei width,
  1.3208 +                                                        GLenum format,
  1.3209 +                                                        GLenum type,
  1.3210 +                                                        const GLvoid *
  1.3211 +                                                        pixels);
  1.3212 +    typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target,
  1.3213 +                                                        GLint level,
  1.3214 +                                                        GLint xoffset,
  1.3215 +                                                        GLint yoffset,
  1.3216 +                                                        GLsizei width,
  1.3217 +                                                        GLsizei height,
  1.3218 +                                                        GLenum format,
  1.3219 +                                                        GLenum type,
  1.3220 +                                                        const GLvoid *
  1.3221 +                                                        pixels);
  1.3222  #endif
  1.3223  
  1.3224  #ifndef GL_EXT_copy_texture
  1.3225  #define GL_EXT_copy_texture 1
  1.3226  #ifdef GL_GLEXT_PROTOTYPES
  1.3227 -GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint);
  1.3228 -GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint);
  1.3229 -GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint, GLint, GLsizei);
  1.3230 -GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.3231 -GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei);
  1.3232 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3233 -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  1.3234 -typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1.3235 -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1.3236 -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3237 -typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3238 +    GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum, GLint, GLenum, GLint,
  1.3239 +                                             GLint, GLsizei, GLint);
  1.3240 +    GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum, GLint, GLenum, GLint,
  1.3241 +                                             GLint, GLsizei, GLsizei, GLint);
  1.3242 +    GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum, GLint, GLint, GLint,
  1.3243 +                                                GLint, GLsizei);
  1.3244 +    GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum, GLint, GLint, GLint,
  1.3245 +                                                GLint, GLint, GLsizei,
  1.3246 +                                                GLsizei);
  1.3247 +    GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum, GLint, GLint, GLint,
  1.3248 +                                                GLint, GLint, GLint, GLsizei,
  1.3249 +                                                GLsizei);
  1.3250 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3251 +    typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target,
  1.3252 +                                                         GLint level,
  1.3253 +                                                         GLenum
  1.3254 +                                                         internalformat,
  1.3255 +                                                         GLint x, GLint y,
  1.3256 +                                                         GLsizei width,
  1.3257 +                                                         GLint border);
  1.3258 +    typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target,
  1.3259 +                                                         GLint level,
  1.3260 +                                                         GLenum
  1.3261 +                                                         internalformat,
  1.3262 +                                                         GLint x, GLint y,
  1.3263 +                                                         GLsizei width,
  1.3264 +                                                         GLsizei height,
  1.3265 +                                                         GLint border);
  1.3266 +    typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target,
  1.3267 +                                                            GLint level,
  1.3268 +                                                            GLint xoffset,
  1.3269 +                                                            GLint x, GLint y,
  1.3270 +                                                            GLsizei width);
  1.3271 +    typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target,
  1.3272 +                                                            GLint level,
  1.3273 +                                                            GLint xoffset,
  1.3274 +                                                            GLint yoffset,
  1.3275 +                                                            GLint x, GLint y,
  1.3276 +                                                            GLsizei width,
  1.3277 +                                                            GLsizei height);
  1.3278 +    typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target,
  1.3279 +                                                            GLint level,
  1.3280 +                                                            GLint xoffset,
  1.3281 +                                                            GLint yoffset,
  1.3282 +                                                            GLint zoffset,
  1.3283 +                                                            GLint x, GLint y,
  1.3284 +                                                            GLsizei width,
  1.3285 +                                                            GLsizei height);
  1.3286  #endif
  1.3287  
  1.3288  #ifndef GL_EXT_histogram
  1.3289  #define GL_EXT_histogram 1
  1.3290  #ifdef GL_GLEXT_PROTOTYPES
  1.3291 -GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1.3292 -GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum, GLfloat *);
  1.3293 -GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum, GLint *);
  1.3294 -GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum, GLvoid *);
  1.3295 -GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
  1.3296 -GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
  1.3297 -GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
  1.3298 -GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
  1.3299 -GLAPI void APIENTRY glResetHistogramEXT (GLenum);
  1.3300 -GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
  1.3301 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3302 -typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1.3303 -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3304 -typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1.3305 -typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  1.3306 -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3307 -typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1.3308 -typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  1.3309 -typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  1.3310 -typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  1.3311 -typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  1.3312 +    GLAPI void APIENTRY glGetHistogramEXT (GLenum, GLboolean, GLenum, GLenum,
  1.3313 +                                           GLvoid *);
  1.3314 +    GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum, GLenum,
  1.3315 +                                                      GLfloat *);
  1.3316 +    GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum, GLenum,
  1.3317 +                                                      GLint *);
  1.3318 +    GLAPI void APIENTRY glGetMinmaxEXT (GLenum, GLboolean, GLenum, GLenum,
  1.3319 +                                        GLvoid *);
  1.3320 +    GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum, GLenum, GLfloat *);
  1.3321 +    GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum, GLenum, GLint *);
  1.3322 +    GLAPI void APIENTRY glHistogramEXT (GLenum, GLsizei, GLenum, GLboolean);
  1.3323 +    GLAPI void APIENTRY glMinmaxEXT (GLenum, GLenum, GLboolean);
  1.3324 +    GLAPI void APIENTRY glResetHistogramEXT (GLenum);
  1.3325 +    GLAPI void APIENTRY glResetMinmaxEXT (GLenum);
  1.3326 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3327 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target,
  1.3328 +                                                       GLboolean reset,
  1.3329 +                                                       GLenum format,
  1.3330 +                                                       GLenum type,
  1.3331 +                                                       GLvoid * values);
  1.3332 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum
  1.3333 +                                                                  target,
  1.3334 +                                                                  GLenum
  1.3335 +                                                                  pname,
  1.3336 +                                                                  GLfloat *
  1.3337 +                                                                  params);
  1.3338 +    typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum
  1.3339 +                                                                  target,
  1.3340 +                                                                  GLenum
  1.3341 +                                                                  pname,
  1.3342 +                                                                  GLint *
  1.3343 +                                                                  params);
  1.3344 +    typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target,
  1.3345 +                                                    GLboolean reset,
  1.3346 +                                                    GLenum format,
  1.3347 +                                                    GLenum type,
  1.3348 +                                                    GLvoid * values);
  1.3349 +    typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target,
  1.3350 +                                                               GLenum pname,
  1.3351 +                                                               GLfloat *
  1.3352 +                                                               params);
  1.3353 +    typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target,
  1.3354 +                                                               GLenum pname,
  1.3355 +                                                               GLint *
  1.3356 +                                                               params);
  1.3357 +    typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target,
  1.3358 +                                                    GLsizei width,
  1.3359 +                                                    GLenum internalformat,
  1.3360 +                                                    GLboolean sink);
  1.3361 +    typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target,
  1.3362 +                                                 GLenum internalformat,
  1.3363 +                                                 GLboolean sink);
  1.3364 +    typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  1.3365 +    typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  1.3366  #endif
  1.3367  
  1.3368  #ifndef GL_EXT_convolution
  1.3369  #define GL_EXT_convolution 1
  1.3370  #ifdef GL_GLEXT_PROTOTYPES
  1.3371 -GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3372 -GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3373 -GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
  1.3374 -GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum, const GLfloat *);
  1.3375 -GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
  1.3376 -GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum, const GLint *);
  1.3377 -GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint, GLint, GLsizei);
  1.3378 -GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint, GLint, GLsizei, GLsizei);
  1.3379 -GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum, GLvoid *);
  1.3380 -GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum, GLfloat *);
  1.3381 -GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum, GLint *);
  1.3382 -GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *);
  1.3383 -GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *);
  1.3384 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3385 -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  1.3386 -typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  1.3387 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  1.3388 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.3389 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  1.3390 -typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  1.3391 -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3392 -typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  1.3393 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  1.3394 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3395 -typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1.3396 -typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  1.3397 -typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  1.3398 +    GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum, GLenum, GLsizei,
  1.3399 +                                                  GLenum, GLenum,
  1.3400 +                                                  const GLvoid *);
  1.3401 +    GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum, GLenum, GLsizei,
  1.3402 +                                                  GLsizei, GLenum, GLenum,
  1.3403 +                                                  const GLvoid *);
  1.3404 +    GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum, GLenum, GLfloat);
  1.3405 +    GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum, GLenum,
  1.3406 +                                                     const GLfloat *);
  1.3407 +    GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum, GLenum, GLint);
  1.3408 +    GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum, GLenum,
  1.3409 +                                                     const GLint *);
  1.3410 +    GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum, GLenum, GLint,
  1.3411 +                                                      GLint, GLsizei);
  1.3412 +    GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum, GLenum, GLint,
  1.3413 +                                                      GLint, GLsizei,
  1.3414 +                                                      GLsizei);
  1.3415 +    GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum, GLenum, GLenum,
  1.3416 +                                                   GLvoid *);
  1.3417 +    GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum, GLenum,
  1.3418 +                                                        GLfloat *);
  1.3419 +    GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum, GLenum,
  1.3420 +                                                        GLint *);
  1.3421 +    GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum, GLenum, GLenum,
  1.3422 +                                                 GLvoid *, GLvoid *,
  1.3423 +                                                 GLvoid *);
  1.3424 +    GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum, GLenum, GLsizei,
  1.3425 +                                                GLsizei, GLenum, GLenum,
  1.3426 +                                                const GLvoid *,
  1.3427 +                                                const GLvoid *);
  1.3428 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3429 +    typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target,
  1.3430 +                                                              GLenum
  1.3431 +                                                              internalformat,
  1.3432 +                                                              GLsizei width,
  1.3433 +                                                              GLenum format,
  1.3434 +                                                              GLenum type,
  1.3435 +                                                              const GLvoid *
  1.3436 +                                                              image);
  1.3437 +    typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target,
  1.3438 +                                                              GLenum
  1.3439 +                                                              internalformat,
  1.3440 +                                                              GLsizei width,
  1.3441 +                                                              GLsizei height,
  1.3442 +                                                              GLenum format,
  1.3443 +                                                              GLenum type,
  1.3444 +                                                              const GLvoid *
  1.3445 +                                                              image);
  1.3446 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target,
  1.3447 +                                                                GLenum pname,
  1.3448 +                                                                GLfloat
  1.3449 +                                                                params);
  1.3450 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum
  1.3451 +                                                                 target,
  1.3452 +                                                                 GLenum pname,
  1.3453 +                                                                 const GLfloat
  1.3454 +                                                                 * params);
  1.3455 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target,
  1.3456 +                                                                GLenum pname,
  1.3457 +                                                                GLint params);
  1.3458 +    typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum
  1.3459 +                                                                 target,
  1.3460 +                                                                 GLenum pname,
  1.3461 +                                                                 const GLint *
  1.3462 +                                                                 params);
  1.3463 +    typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum
  1.3464 +                                                                  target,
  1.3465 +                                                                  GLenum
  1.3466 +                                                                  internalformat,
  1.3467 +                                                                  GLint x,
  1.3468 +                                                                  GLint y,
  1.3469 +                                                                  GLsizei
  1.3470 +                                                                  width);
  1.3471 +    typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum
  1.3472 +                                                                  target,
  1.3473 +                                                                  GLenum
  1.3474 +                                                                  internalformat,
  1.3475 +                                                                  GLint x,
  1.3476 +                                                                  GLint y,
  1.3477 +                                                                  GLsizei
  1.3478 +                                                                  width,
  1.3479 +                                                                  GLsizei
  1.3480 +                                                                  height);
  1.3481 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target,
  1.3482 +                                                               GLenum format,
  1.3483 +                                                               GLenum type,
  1.3484 +                                                               GLvoid *
  1.3485 +                                                               image);
  1.3486 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum
  1.3487 +                                                                    target,
  1.3488 +                                                                    GLenum
  1.3489 +                                                                    pname,
  1.3490 +                                                                    GLfloat *
  1.3491 +                                                                    params);
  1.3492 +    typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum
  1.3493 +                                                                    target,
  1.3494 +                                                                    GLenum
  1.3495 +                                                                    pname,
  1.3496 +                                                                    GLint *
  1.3497 +                                                                    params);
  1.3498 +    typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target,
  1.3499 +                                                             GLenum format,
  1.3500 +                                                             GLenum type,
  1.3501 +                                                             GLvoid * row,
  1.3502 +                                                             GLvoid * column,
  1.3503 +                                                             GLvoid * span);
  1.3504 +    typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target,
  1.3505 +                                                            GLenum
  1.3506 +                                                            internalformat,
  1.3507 +                                                            GLsizei width,
  1.3508 +                                                            GLsizei height,
  1.3509 +                                                            GLenum format,
  1.3510 +                                                            GLenum type,
  1.3511 +                                                            const GLvoid *
  1.3512 +                                                            row,
  1.3513 +                                                            const GLvoid *
  1.3514 +                                                            column);
  1.3515  #endif
  1.3516  
  1.3517  #ifndef GL_EXT_color_matrix
  1.3518 @@ -4355,57 +5642,136 @@
  1.3519  #ifndef GL_SGI_color_table
  1.3520  #define GL_SGI_color_table 1
  1.3521  #ifdef GL_GLEXT_PROTOTYPES
  1.3522 -GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3523 -GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum, const GLfloat *);
  1.3524 -GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum, const GLint *);
  1.3525 -GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint, GLsizei);
  1.3526 -GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
  1.3527 -GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum, GLfloat *);
  1.3528 -GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum, GLint *);
  1.3529 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3530 -typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  1.3531 -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.3532 -typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  1.3533 -typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  1.3534 -typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  1.3535 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.3536 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  1.3537 +    GLAPI void APIENTRY glColorTableSGI (GLenum, GLenum, GLsizei, GLenum,
  1.3538 +                                         GLenum, const GLvoid *);
  1.3539 +    GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum, GLenum,
  1.3540 +                                                    const GLfloat *);
  1.3541 +    GLAPI void APIENTRY glColorTableParameterivSGI (GLenum, GLenum,
  1.3542 +                                                    const GLint *);
  1.3543 +    GLAPI void APIENTRY glCopyColorTableSGI (GLenum, GLenum, GLint, GLint,
  1.3544 +                                             GLsizei);
  1.3545 +    GLAPI void APIENTRY glGetColorTableSGI (GLenum, GLenum, GLenum, GLvoid *);
  1.3546 +    GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum, GLenum,
  1.3547 +                                                       GLfloat *);
  1.3548 +    GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum, GLenum,
  1.3549 +                                                       GLint *);
  1.3550 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3551 +    typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target,
  1.3552 +                                                     GLenum internalformat,
  1.3553 +                                                     GLsizei width,
  1.3554 +                                                     GLenum format,
  1.3555 +                                                     GLenum type,
  1.3556 +                                                     const GLvoid * table);
  1.3557 +    typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target,
  1.3558 +                                                                GLenum pname,
  1.3559 +                                                                const GLfloat
  1.3560 +                                                                * params);
  1.3561 +    typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target,
  1.3562 +                                                                GLenum pname,
  1.3563 +                                                                const GLint *
  1.3564 +                                                                params);
  1.3565 +    typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target,
  1.3566 +                                                         GLenum
  1.3567 +                                                         internalformat,
  1.3568 +                                                         GLint x, GLint y,
  1.3569 +                                                         GLsizei width);
  1.3570 +    typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target,
  1.3571 +                                                        GLenum format,
  1.3572 +                                                        GLenum type,
  1.3573 +                                                        GLvoid * table);
  1.3574 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum
  1.3575 +                                                                   target,
  1.3576 +                                                                   GLenum
  1.3577 +                                                                   pname,
  1.3578 +                                                                   GLfloat *
  1.3579 +                                                                   params);
  1.3580 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum
  1.3581 +                                                                   target,
  1.3582 +                                                                   GLenum
  1.3583 +                                                                   pname,
  1.3584 +                                                                   GLint *
  1.3585 +                                                                   params);
  1.3586  #endif
  1.3587  
  1.3588  #ifndef GL_SGIX_pixel_texture
  1.3589  #define GL_SGIX_pixel_texture 1
  1.3590  #ifdef GL_GLEXT_PROTOTYPES
  1.3591 -GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
  1.3592 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3593 -typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  1.3594 +    GLAPI void APIENTRY glPixelTexGenSGIX (GLenum);
  1.3595 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3596 +    typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  1.3597  #endif
  1.3598  
  1.3599  #ifndef GL_SGIS_pixel_texture
  1.3600  #define GL_SGIS_pixel_texture 1
  1.3601  #ifdef GL_GLEXT_PROTOTYPES
  1.3602 -GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
  1.3603 -GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
  1.3604 -GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
  1.3605 -GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum, const GLfloat *);
  1.3606 -GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
  1.3607 -GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
  1.3608 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3609 -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  1.3610 -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  1.3611 -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  1.3612 -typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  1.3613 -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  1.3614 -typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  1.3615 +    GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum, GLint);
  1.3616 +    GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum, const GLint *);
  1.3617 +    GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum, GLfloat);
  1.3618 +    GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum,
  1.3619 +                                                      const GLfloat *);
  1.3620 +    GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum, GLint *);
  1.3621 +    GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum, GLfloat *);
  1.3622 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3623 +    typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname,
  1.3624 +                                                                 GLint param);
  1.3625 +    typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum
  1.3626 +                                                                  pname,
  1.3627 +                                                                  const GLint
  1.3628 +                                                                  * params);
  1.3629 +    typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname,
  1.3630 +                                                                 GLfloat
  1.3631 +                                                                 param);
  1.3632 +    typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum
  1.3633 +                                                                  pname,
  1.3634 +                                                                  const
  1.3635 +                                                                  GLfloat *
  1.3636 +                                                                  params);
  1.3637 +    typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum
  1.3638 +                                                                     pname,
  1.3639 +                                                                     GLint *
  1.3640 +                                                                     params);
  1.3641 +    typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum
  1.3642 +                                                                     pname,
  1.3643 +                                                                     GLfloat *
  1.3644 +                                                                     params);
  1.3645  #endif
  1.3646  
  1.3647  #ifndef GL_SGIS_texture4D
  1.3648  #define GL_SGIS_texture4D 1
  1.3649  #ifdef GL_GLEXT_PROTOTYPES
  1.3650 -GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *);
  1.3651 -GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.3652 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3653 -typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1.3654 -typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  1.3655 +    GLAPI void APIENTRY glTexImage4DSGIS (GLenum, GLint, GLenum, GLsizei,
  1.3656 +                                          GLsizei, GLsizei, GLsizei, GLint,
  1.3657 +                                          GLenum, GLenum, const GLvoid *);
  1.3658 +    GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum, GLint, GLint, GLint,
  1.3659 +                                             GLint, GLint, GLsizei, GLsizei,
  1.3660 +                                             GLsizei, GLsizei, GLenum, GLenum,
  1.3661 +                                             const GLvoid *);
  1.3662 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3663 +    typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target,
  1.3664 +                                                      GLint level,
  1.3665 +                                                      GLenum internalformat,
  1.3666 +                                                      GLsizei width,
  1.3667 +                                                      GLsizei height,
  1.3668 +                                                      GLsizei depth,
  1.3669 +                                                      GLsizei size4d,
  1.3670 +                                                      GLint border,
  1.3671 +                                                      GLenum format,
  1.3672 +                                                      GLenum type,
  1.3673 +                                                      const GLvoid * pixels);
  1.3674 +    typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target,
  1.3675 +                                                         GLint level,
  1.3676 +                                                         GLint xoffset,
  1.3677 +                                                         GLint yoffset,
  1.3678 +                                                         GLint zoffset,
  1.3679 +                                                         GLint woffset,
  1.3680 +                                                         GLsizei width,
  1.3681 +                                                         GLsizei height,
  1.3682 +                                                         GLsizei depth,
  1.3683 +                                                         GLsizei size4d,
  1.3684 +                                                         GLenum format,
  1.3685 +                                                         GLenum type,
  1.3686 +                                                         const GLvoid *
  1.3687 +                                                         pixels);
  1.3688  #endif
  1.3689  
  1.3690  #ifndef GL_SGI_texture_color_table
  1.3691 @@ -4419,39 +5785,66 @@
  1.3692  #ifndef GL_EXT_texture_object
  1.3693  #define GL_EXT_texture_object 1
  1.3694  #ifdef GL_GLEXT_PROTOTYPES
  1.3695 -GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei, const GLuint *, GLboolean *);
  1.3696 -GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
  1.3697 -GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
  1.3698 -GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
  1.3699 -GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
  1.3700 -GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *, const GLclampf *);
  1.3701 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3702 -typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  1.3703 -typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  1.3704 -typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  1.3705 -typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  1.3706 -typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  1.3707 -typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  1.3708 +    GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei,
  1.3709 +                                                       const GLuint *,
  1.3710 +                                                       GLboolean *);
  1.3711 +    GLAPI void APIENTRY glBindTextureEXT (GLenum, GLuint);
  1.3712 +    GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei, const GLuint *);
  1.3713 +    GLAPI void APIENTRY glGenTexturesEXT (GLsizei, GLuint *);
  1.3714 +    GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint);
  1.3715 +    GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei, const GLuint *,
  1.3716 +                                                 const GLclampf *);
  1.3717 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3718 +    typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n,
  1.3719 +                                                                   const
  1.3720 +                                                                   GLuint *
  1.3721 +                                                                   textures,
  1.3722 +                                                                   GLboolean *
  1.3723 +                                                                   residences);
  1.3724 +    typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target,
  1.3725 +                                                      GLuint texture);
  1.3726 +    typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n,
  1.3727 +                                                         const GLuint *
  1.3728 +                                                         textures);
  1.3729 +    typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n,
  1.3730 +                                                      GLuint * textures);
  1.3731 +    typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  1.3732 +    typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n,
  1.3733 +                                                             const GLuint *
  1.3734 +                                                             textures,
  1.3735 +                                                             const GLclampf *
  1.3736 +                                                             priorities);
  1.3737  #endif
  1.3738  
  1.3739  #ifndef GL_SGIS_detail_texture
  1.3740  #define GL_SGIS_detail_texture 1
  1.3741  #ifdef GL_GLEXT_PROTOTYPES
  1.3742 -GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  1.3743 -GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
  1.3744 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3745 -typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  1.3746 -typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  1.3747 +    GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum, GLsizei,
  1.3748 +                                             const GLfloat *);
  1.3749 +    GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum, GLfloat *);
  1.3750 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3751 +    typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target,
  1.3752 +                                                         GLsizei n,
  1.3753 +                                                         const GLfloat *
  1.3754 +                                                         points);
  1.3755 +    typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target,
  1.3756 +                                                            GLfloat * points);
  1.3757  #endif
  1.3758  
  1.3759  #ifndef GL_SGIS_sharpen_texture
  1.3760  #define GL_SGIS_sharpen_texture 1
  1.3761  #ifdef GL_GLEXT_PROTOTYPES
  1.3762 -GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei, const GLfloat *);
  1.3763 -GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
  1.3764 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3765 -typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  1.3766 -typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  1.3767 +    GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum, GLsizei,
  1.3768 +                                              const GLfloat *);
  1.3769 +    GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum, GLfloat *);
  1.3770 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3771 +    typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target,
  1.3772 +                                                          GLsizei n,
  1.3773 +                                                          const GLfloat *
  1.3774 +                                                          points);
  1.3775 +    typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target,
  1.3776 +                                                             GLfloat *
  1.3777 +                                                             points);
  1.3778  #endif
  1.3779  
  1.3780  #ifndef GL_EXT_packed_pixels
  1.3781 @@ -4465,11 +5858,12 @@
  1.3782  #ifndef GL_SGIS_multisample
  1.3783  #define GL_SGIS_multisample 1
  1.3784  #ifdef GL_GLEXT_PROTOTYPES
  1.3785 -GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
  1.3786 -GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
  1.3787 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3788 -typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  1.3789 -typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  1.3790 +    GLAPI void APIENTRY glSampleMaskSGIS (GLclampf, GLboolean);
  1.3791 +    GLAPI void APIENTRY glSamplePatternSGIS (GLenum);
  1.3792 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3793 +    typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value,
  1.3794 +                                                      GLboolean invert);
  1.3795 +    typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  1.3796  #endif
  1.3797  
  1.3798  #ifndef GL_EXT_rescale_normal
  1.3799 @@ -4479,25 +5873,59 @@
  1.3800  #ifndef GL_EXT_vertex_array
  1.3801  #define GL_EXT_vertex_array 1
  1.3802  #ifdef GL_GLEXT_PROTOTYPES
  1.3803 -GLAPI void APIENTRY glArrayElementEXT (GLint);
  1.3804 -GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1.3805 -GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
  1.3806 -GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei, const GLboolean *);
  1.3807 -GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid* *);
  1.3808 -GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  1.3809 -GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei, const GLvoid *);
  1.3810 -GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1.3811 -GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei, const GLvoid *);
  1.3812 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3813 -typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  1.3814 -typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1.3815 -typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  1.3816 -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  1.3817 -typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  1.3818 -typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1.3819 -typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1.3820 -typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1.3821 -typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  1.3822 +    GLAPI void APIENTRY glArrayElementEXT (GLint);
  1.3823 +    GLAPI void APIENTRY glColorPointerEXT (GLint, GLenum, GLsizei, GLsizei,
  1.3824 +                                           const GLvoid *);
  1.3825 +    GLAPI void APIENTRY glDrawArraysEXT (GLenum, GLint, GLsizei);
  1.3826 +    GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei, GLsizei,
  1.3827 +                                              const GLboolean *);
  1.3828 +    GLAPI void APIENTRY glGetPointervEXT (GLenum, GLvoid * *);
  1.3829 +    GLAPI void APIENTRY glIndexPointerEXT (GLenum, GLsizei, GLsizei,
  1.3830 +                                           const GLvoid *);
  1.3831 +    GLAPI void APIENTRY glNormalPointerEXT (GLenum, GLsizei, GLsizei,
  1.3832 +                                            const GLvoid *);
  1.3833 +    GLAPI void APIENTRY glTexCoordPointerEXT (GLint, GLenum, GLsizei, GLsizei,
  1.3834 +                                              const GLvoid *);
  1.3835 +    GLAPI void APIENTRY glVertexPointerEXT (GLint, GLenum, GLsizei, GLsizei,
  1.3836 +                                            const GLvoid *);
  1.3837 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3838 +    typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  1.3839 +    typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size,
  1.3840 +                                                       GLenum type,
  1.3841 +                                                       GLsizei stride,
  1.3842 +                                                       GLsizei count,
  1.3843 +                                                       const GLvoid *
  1.3844 +                                                       pointer);
  1.3845 +    typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first,
  1.3846 +                                                     GLsizei count);
  1.3847 +    typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride,
  1.3848 +                                                          GLsizei count,
  1.3849 +                                                          const GLboolean *
  1.3850 +                                                          pointer);
  1.3851 +    typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname,
  1.3852 +                                                      GLvoid * *params);
  1.3853 +    typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type,
  1.3854 +                                                       GLsizei stride,
  1.3855 +                                                       GLsizei count,
  1.3856 +                                                       const GLvoid *
  1.3857 +                                                       pointer);
  1.3858 +    typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type,
  1.3859 +                                                        GLsizei stride,
  1.3860 +                                                        GLsizei count,
  1.3861 +                                                        const GLvoid *
  1.3862 +                                                        pointer);
  1.3863 +    typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size,
  1.3864 +                                                          GLenum type,
  1.3865 +                                                          GLsizei stride,
  1.3866 +                                                          GLsizei count,
  1.3867 +                                                          const GLvoid *
  1.3868 +                                                          pointer);
  1.3869 +    typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size,
  1.3870 +                                                        GLenum type,
  1.3871 +                                                        GLsizei stride,
  1.3872 +                                                        GLsizei count,
  1.3873 +                                                        const GLvoid *
  1.3874 +                                                        pointer);
  1.3875  #endif
  1.3876  
  1.3877  #ifndef GL_EXT_misc_attribute
  1.3878 @@ -4527,9 +5955,9 @@
  1.3879  #ifndef GL_EXT_blend_minmax
  1.3880  #define GL_EXT_blend_minmax 1
  1.3881  #ifdef GL_GLEXT_PROTOTYPES
  1.3882 -GLAPI void APIENTRY glBlendEquationEXT (GLenum);
  1.3883 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3884 -typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  1.3885 +    GLAPI void APIENTRY glBlendEquationEXT (GLenum);
  1.3886 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3887 +    typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  1.3888  #endif
  1.3889  
  1.3890  #ifndef GL_EXT_blend_subtract
  1.3891 @@ -4555,15 +5983,21 @@
  1.3892  #ifndef GL_SGIX_sprite
  1.3893  #define GL_SGIX_sprite 1
  1.3894  #ifdef GL_GLEXT_PROTOTYPES
  1.3895 -GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
  1.3896 -GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
  1.3897 -GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
  1.3898 -GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
  1.3899 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3900 -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  1.3901 -typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  1.3902 -typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  1.3903 -typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  1.3904 +    GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum, GLfloat);
  1.3905 +    GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum, const GLfloat *);
  1.3906 +    GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum, GLint);
  1.3907 +    GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum, const GLint *);
  1.3908 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3909 +    typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname,
  1.3910 +                                                            GLfloat param);
  1.3911 +    typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname,
  1.3912 +                                                             const GLfloat *
  1.3913 +                                                             params);
  1.3914 +    typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname,
  1.3915 +                                                            GLint param);
  1.3916 +    typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname,
  1.3917 +                                                             const GLint *
  1.3918 +                                                             params);
  1.3919  #endif
  1.3920  
  1.3921  #ifndef GL_SGIX_texture_multi_buffer
  1.3922 @@ -4573,39 +6007,46 @@
  1.3923  #ifndef GL_EXT_point_parameters
  1.3924  #define GL_EXT_point_parameters 1
  1.3925  #ifdef GL_GLEXT_PROTOTYPES
  1.3926 -GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
  1.3927 -GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
  1.3928 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3929 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  1.3930 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  1.3931 +    GLAPI void APIENTRY glPointParameterfEXT (GLenum, GLfloat);
  1.3932 +    GLAPI void APIENTRY glPointParameterfvEXT (GLenum, const GLfloat *);
  1.3933 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3934 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname,
  1.3935 +                                                          GLfloat param);
  1.3936 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname,
  1.3937 +                                                           const GLfloat *
  1.3938 +                                                           params);
  1.3939  #endif
  1.3940  
  1.3941  #ifndef GL_SGIS_point_parameters
  1.3942  #define GL_SGIS_point_parameters 1
  1.3943  #ifdef GL_GLEXT_PROTOTYPES
  1.3944 -GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
  1.3945 -GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
  1.3946 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3947 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  1.3948 -typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  1.3949 +    GLAPI void APIENTRY glPointParameterfSGIS (GLenum, GLfloat);
  1.3950 +    GLAPI void APIENTRY glPointParameterfvSGIS (GLenum, const GLfloat *);
  1.3951 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3952 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname,
  1.3953 +                                                           GLfloat param);
  1.3954 +    typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname,
  1.3955 +                                                            const GLfloat *
  1.3956 +                                                            params);
  1.3957  #endif
  1.3958  
  1.3959  #ifndef GL_SGIX_instruments
  1.3960  #define GL_SGIX_instruments 1
  1.3961  #ifdef GL_GLEXT_PROTOTYPES
  1.3962 -GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  1.3963 -GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
  1.3964 -GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
  1.3965 -GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
  1.3966 -GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  1.3967 -GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
  1.3968 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3969 -typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  1.3970 -typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  1.3971 -typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  1.3972 -typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  1.3973 -typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  1.3974 -typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  1.3975 +    GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  1.3976 +    GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei, GLint *);
  1.3977 +    GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *);
  1.3978 +    GLAPI void APIENTRY glReadInstrumentsSGIX (GLint);
  1.3979 +    GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  1.3980 +    GLAPI void APIENTRY glStopInstrumentsSGIX (GLint);
  1.3981 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.3982 +    typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  1.3983 +    typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size,
  1.3984 +                                                             GLint * buffer);
  1.3985 +    typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint * marker_p);
  1.3986 +    typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  1.3987 +    typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  1.3988 +    typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  1.3989  #endif
  1.3990  
  1.3991  #ifndef GL_SGIX_texture_scale_bias
  1.3992 @@ -4615,47 +6056,85 @@
  1.3993  #ifndef GL_SGIX_framezoom
  1.3994  #define GL_SGIX_framezoom 1
  1.3995  #ifdef GL_GLEXT_PROTOTYPES
  1.3996 -GLAPI void APIENTRY glFrameZoomSGIX (GLint);
  1.3997 -#endif /* GL_GLEXT_PROTOTYPES */
  1.3998 -typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  1.3999 +    GLAPI void APIENTRY glFrameZoomSGIX (GLint);
  1.4000 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4001 +    typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  1.4002  #endif
  1.4003  
  1.4004  #ifndef GL_SGIX_tag_sample_buffer
  1.4005  #define GL_SGIX_tag_sample_buffer 1
  1.4006  #ifdef GL_GLEXT_PROTOTYPES
  1.4007 -GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  1.4008 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4009 -typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  1.4010 +    GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  1.4011 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4012 +    typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  1.4013  #endif
  1.4014  
  1.4015  #ifndef GL_SGIX_polynomial_ffd
  1.4016  #define GL_SGIX_polynomial_ffd 1
  1.4017  #ifdef GL_GLEXT_PROTOTYPES
  1.4018 -GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *);
  1.4019 -GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *);
  1.4020 -GLAPI void APIENTRY glDeformSGIX (GLbitfield);
  1.4021 -GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
  1.4022 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4023 -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  1.4024 -typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  1.4025 -typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  1.4026 -typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  1.4027 +    GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum, GLdouble, GLdouble,
  1.4028 +                                                GLint, GLint, GLdouble,
  1.4029 +                                                GLdouble, GLint, GLint,
  1.4030 +                                                GLdouble, GLdouble, GLint,
  1.4031 +                                                GLint, const GLdouble *);
  1.4032 +    GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum, GLfloat, GLfloat,
  1.4033 +                                                GLint, GLint, GLfloat,
  1.4034 +                                                GLfloat, GLint, GLint,
  1.4035 +                                                GLfloat, GLfloat, GLint,
  1.4036 +                                                GLint, const GLfloat *);
  1.4037 +    GLAPI void APIENTRY glDeformSGIX (GLbitfield);
  1.4038 +    GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield);
  1.4039 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4040 +    typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target,
  1.4041 +                                                            GLdouble u1,
  1.4042 +                                                            GLdouble u2,
  1.4043 +                                                            GLint ustride,
  1.4044 +                                                            GLint uorder,
  1.4045 +                                                            GLdouble v1,
  1.4046 +                                                            GLdouble v2,
  1.4047 +                                                            GLint vstride,
  1.4048 +                                                            GLint vorder,
  1.4049 +                                                            GLdouble w1,
  1.4050 +                                                            GLdouble w2,
  1.4051 +                                                            GLint wstride,
  1.4052 +                                                            GLint worder,
  1.4053 +                                                            const GLdouble *
  1.4054 +                                                            points);
  1.4055 +    typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target,
  1.4056 +                                                            GLfloat u1,
  1.4057 +                                                            GLfloat u2,
  1.4058 +                                                            GLint ustride,
  1.4059 +                                                            GLint uorder,
  1.4060 +                                                            GLfloat v1,
  1.4061 +                                                            GLfloat v2,
  1.4062 +                                                            GLint vstride,
  1.4063 +                                                            GLint vorder,
  1.4064 +                                                            GLfloat w1,
  1.4065 +                                                            GLfloat w2,
  1.4066 +                                                            GLint wstride,
  1.4067 +                                                            GLint worder,
  1.4068 +                                                            const GLfloat *
  1.4069 +                                                            points);
  1.4070 +    typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  1.4071 +    typedef void (APIENTRYP
  1.4072 +                  PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  1.4073  #endif
  1.4074  
  1.4075  #ifndef GL_SGIX_reference_plane
  1.4076  #define GL_SGIX_reference_plane 1
  1.4077  #ifdef GL_GLEXT_PROTOTYPES
  1.4078 -GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
  1.4079 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4080 -typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  1.4081 +    GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *);
  1.4082 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4083 +    typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *
  1.4084 +                                                          equation);
  1.4085  #endif
  1.4086  
  1.4087  #ifndef GL_SGIX_flush_raster
  1.4088  #define GL_SGIX_flush_raster 1
  1.4089  #ifdef GL_GLEXT_PROTOTYPES
  1.4090 -GLAPI void APIENTRY glFlushRasterSGIX (void);
  1.4091 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4092 -typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  1.4093 +    GLAPI void APIENTRY glFlushRasterSGIX (void);
  1.4094 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4095 +    typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  1.4096  #endif
  1.4097  
  1.4098  #ifndef GL_SGIX_depth_texture
  1.4099 @@ -4665,11 +6144,12 @@
  1.4100  #ifndef GL_SGIS_fog_function
  1.4101  #define GL_SGIS_fog_function 1
  1.4102  #ifdef GL_GLEXT_PROTOTYPES
  1.4103 -GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
  1.4104 -GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
  1.4105 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4106 -typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  1.4107 -typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  1.4108 +    GLAPI void APIENTRY glFogFuncSGIS (GLsizei, const GLfloat *);
  1.4109 +    GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *);
  1.4110 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4111 +    typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n,
  1.4112 +                                                   const GLfloat * points);
  1.4113 +    typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat * points);
  1.4114  #endif
  1.4115  
  1.4116  #ifndef GL_SGIX_fog_offset
  1.4117 @@ -4679,19 +6159,56 @@
  1.4118  #ifndef GL_HP_image_transform
  1.4119  #define GL_HP_image_transform 1
  1.4120  #ifdef GL_GLEXT_PROTOTYPES
  1.4121 -GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
  1.4122 -GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum, GLfloat);
  1.4123 -GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum, const GLint *);
  1.4124 -GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum, const GLfloat *);
  1.4125 -GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum, GLint *);
  1.4126 -GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum, GLfloat *);
  1.4127 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4128 -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  1.4129 -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  1.4130 -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  1.4131 -typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.4132 -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  1.4133 -typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.4134 +    GLAPI void APIENTRY glImageTransformParameteriHP (GLenum, GLenum, GLint);
  1.4135 +    GLAPI void APIENTRY glImageTransformParameterfHP (GLenum, GLenum,
  1.4136 +                                                      GLfloat);
  1.4137 +    GLAPI void APIENTRY glImageTransformParameterivHP (GLenum, GLenum,
  1.4138 +                                                       const GLint *);
  1.4139 +    GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum, GLenum,
  1.4140 +                                                       const GLfloat *);
  1.4141 +    GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum, GLenum,
  1.4142 +                                                          GLint *);
  1.4143 +    GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum, GLenum,
  1.4144 +                                                          GLfloat *);
  1.4145 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4146 +    typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum
  1.4147 +                                                                  target,
  1.4148 +                                                                  GLenum
  1.4149 +                                                                  pname,
  1.4150 +                                                                  GLint
  1.4151 +                                                                  param);
  1.4152 +    typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum
  1.4153 +                                                                  target,
  1.4154 +                                                                  GLenum
  1.4155 +                                                                  pname,
  1.4156 +                                                                  GLfloat
  1.4157 +                                                                  param);
  1.4158 +    typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum
  1.4159 +                                                                   target,
  1.4160 +                                                                   GLenum
  1.4161 +                                                                   pname,
  1.4162 +                                                                   const GLint
  1.4163 +                                                                   * params);
  1.4164 +    typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum
  1.4165 +                                                                   target,
  1.4166 +                                                                   GLenum
  1.4167 +                                                                   pname,
  1.4168 +                                                                   const
  1.4169 +                                                                   GLfloat *
  1.4170 +                                                                   params);
  1.4171 +    typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum
  1.4172 +                                                                      target,
  1.4173 +                                                                      GLenum
  1.4174 +                                                                      pname,
  1.4175 +                                                                      GLint *
  1.4176 +                                                                      params);
  1.4177 +    typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum
  1.4178 +                                                                      target,
  1.4179 +                                                                      GLenum
  1.4180 +                                                                      pname,
  1.4181 +                                                                      GLfloat
  1.4182 +                                                                      *
  1.4183 +                                                                      params);
  1.4184  #endif
  1.4185  
  1.4186  #ifndef GL_HP_convolution_border_modes
  1.4187 @@ -4705,11 +6222,21 @@
  1.4188  #ifndef GL_EXT_color_subtable
  1.4189  #define GL_EXT_color_subtable 1
  1.4190  #ifdef GL_GLEXT_PROTOTYPES
  1.4191 -GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *);
  1.4192 -GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint, GLsizei);
  1.4193 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4194 -typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  1.4195 -typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  1.4196 +    GLAPI void APIENTRY glColorSubTableEXT (GLenum, GLsizei, GLsizei, GLenum,
  1.4197 +                                            GLenum, const GLvoid *);
  1.4198 +    GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum, GLsizei, GLint, GLint,
  1.4199 +                                                GLsizei);
  1.4200 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4201 +    typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target,
  1.4202 +                                                        GLsizei start,
  1.4203 +                                                        GLsizei count,
  1.4204 +                                                        GLenum format,
  1.4205 +                                                        GLenum type,
  1.4206 +                                                        const GLvoid * data);
  1.4207 +    typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target,
  1.4208 +                                                            GLsizei start,
  1.4209 +                                                            GLint x, GLint y,
  1.4210 +                                                            GLsizei width);
  1.4211  #endif
  1.4212  
  1.4213  #ifndef GL_PGI_vertex_hints
  1.4214 @@ -4719,23 +6246,44 @@
  1.4215  #ifndef GL_PGI_misc_hints
  1.4216  #define GL_PGI_misc_hints 1
  1.4217  #ifdef GL_GLEXT_PROTOTYPES
  1.4218 -GLAPI void APIENTRY glHintPGI (GLenum, GLint);
  1.4219 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4220 -typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  1.4221 +    GLAPI void APIENTRY glHintPGI (GLenum, GLint);
  1.4222 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4223 +    typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  1.4224  #endif
  1.4225  
  1.4226  #ifndef GL_EXT_paletted_texture
  1.4227  #define GL_EXT_paletted_texture 1
  1.4228  #ifdef GL_GLEXT_PROTOTYPES
  1.4229 -GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *);
  1.4230 -GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
  1.4231 -GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum, GLint *);
  1.4232 -GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum, GLfloat *);
  1.4233 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4234 -typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  1.4235 -typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  1.4236 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1.4237 -typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.4238 +    GLAPI void APIENTRY glColorTableEXT (GLenum, GLenum, GLsizei, GLenum,
  1.4239 +                                         GLenum, const GLvoid *);
  1.4240 +    GLAPI void APIENTRY glGetColorTableEXT (GLenum, GLenum, GLenum, GLvoid *);
  1.4241 +    GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum, GLenum,
  1.4242 +                                                       GLint *);
  1.4243 +    GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum, GLenum,
  1.4244 +                                                       GLfloat *);
  1.4245 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4246 +    typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target,
  1.4247 +                                                     GLenum internalFormat,
  1.4248 +                                                     GLsizei width,
  1.4249 +                                                     GLenum format,
  1.4250 +                                                     GLenum type,
  1.4251 +                                                     const GLvoid * table);
  1.4252 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target,
  1.4253 +                                                        GLenum format,
  1.4254 +                                                        GLenum type,
  1.4255 +                                                        GLvoid * data);
  1.4256 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum
  1.4257 +                                                                   target,
  1.4258 +                                                                   GLenum
  1.4259 +                                                                   pname,
  1.4260 +                                                                   GLint *
  1.4261 +                                                                   params);
  1.4262 +    typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum
  1.4263 +                                                                   target,
  1.4264 +                                                                   GLenum
  1.4265 +                                                                   pname,
  1.4266 +                                                                   GLfloat *
  1.4267 +                                                                   params);
  1.4268  #endif
  1.4269  
  1.4270  #ifndef GL_EXT_clip_volume_hint
  1.4271 @@ -4745,19 +6293,35 @@
  1.4272  #ifndef GL_SGIX_list_priority
  1.4273  #define GL_SGIX_list_priority 1
  1.4274  #ifdef GL_GLEXT_PROTOTYPES
  1.4275 -GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
  1.4276 -GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
  1.4277 -GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
  1.4278 -GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum, const GLfloat *);
  1.4279 -GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
  1.4280 -GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
  1.4281 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4282 -typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  1.4283 -typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  1.4284 -typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  1.4285 -typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  1.4286 -typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  1.4287 -typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  1.4288 +    GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint, GLenum, GLfloat *);
  1.4289 +    GLAPI void APIENTRY glGetListParameterivSGIX (GLuint, GLenum, GLint *);
  1.4290 +    GLAPI void APIENTRY glListParameterfSGIX (GLuint, GLenum, GLfloat);
  1.4291 +    GLAPI void APIENTRY glListParameterfvSGIX (GLuint, GLenum,
  1.4292 +                                               const GLfloat *);
  1.4293 +    GLAPI void APIENTRY glListParameteriSGIX (GLuint, GLenum, GLint);
  1.4294 +    GLAPI void APIENTRY glListParameterivSGIX (GLuint, GLenum, const GLint *);
  1.4295 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4296 +    typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list,
  1.4297 +                                                              GLenum pname,
  1.4298 +                                                              GLfloat *
  1.4299 +                                                              params);
  1.4300 +    typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list,
  1.4301 +                                                              GLenum pname,
  1.4302 +                                                              GLint * params);
  1.4303 +    typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list,
  1.4304 +                                                          GLenum pname,
  1.4305 +                                                          GLfloat param);
  1.4306 +    typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list,
  1.4307 +                                                           GLenum pname,
  1.4308 +                                                           const GLfloat *
  1.4309 +                                                           params);
  1.4310 +    typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list,
  1.4311 +                                                          GLenum pname,
  1.4312 +                                                          GLint param);
  1.4313 +    typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list,
  1.4314 +                                                           GLenum pname,
  1.4315 +                                                           const GLint *
  1.4316 +                                                           params);
  1.4317  #endif
  1.4318  
  1.4319  #ifndef GL_SGIX_ir_instrument1
  1.4320 @@ -4783,17 +6347,19 @@
  1.4321  #ifndef GL_EXT_index_material
  1.4322  #define GL_EXT_index_material 1
  1.4323  #ifdef GL_GLEXT_PROTOTYPES
  1.4324 -GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
  1.4325 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4326 -typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  1.4327 +    GLAPI void APIENTRY glIndexMaterialEXT (GLenum, GLenum);
  1.4328 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4329 +    typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face,
  1.4330 +                                                        GLenum mode);
  1.4331  #endif
  1.4332  
  1.4333  #ifndef GL_EXT_index_func
  1.4334  #define GL_EXT_index_func 1
  1.4335  #ifdef GL_GLEXT_PROTOTYPES
  1.4336 -GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
  1.4337 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4338 -typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  1.4339 +    GLAPI void APIENTRY glIndexFuncEXT (GLenum, GLclampf);
  1.4340 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4341 +    typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func,
  1.4342 +                                                    GLclampf ref);
  1.4343  #endif
  1.4344  
  1.4345  #ifndef GL_EXT_index_array_formats
  1.4346 @@ -4803,21 +6369,24 @@
  1.4347  #ifndef GL_EXT_compiled_vertex_array
  1.4348  #define GL_EXT_compiled_vertex_array 1
  1.4349  #ifdef GL_GLEXT_PROTOTYPES
  1.4350 -GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
  1.4351 -GLAPI void APIENTRY glUnlockArraysEXT (void);
  1.4352 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4353 -typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  1.4354 -typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  1.4355 +    GLAPI void APIENTRY glLockArraysEXT (GLint, GLsizei);
  1.4356 +    GLAPI void APIENTRY glUnlockArraysEXT (void);
  1.4357 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4358 +    typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first,
  1.4359 +                                                     GLsizei count);
  1.4360 +    typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  1.4361  #endif
  1.4362  
  1.4363  #ifndef GL_EXT_cull_vertex
  1.4364  #define GL_EXT_cull_vertex 1
  1.4365  #ifdef GL_GLEXT_PROTOTYPES
  1.4366 -GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
  1.4367 -GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
  1.4368 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4369 -typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  1.4370 -typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  1.4371 +    GLAPI void APIENTRY glCullParameterdvEXT (GLenum, GLdouble *);
  1.4372 +    GLAPI void APIENTRY glCullParameterfvEXT (GLenum, GLfloat *);
  1.4373 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4374 +    typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname,
  1.4375 +                                                          GLdouble * params);
  1.4376 +    typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname,
  1.4377 +                                                          GLfloat * params);
  1.4378  #endif
  1.4379  
  1.4380  #ifndef GL_SGIX_ycrcb
  1.4381 @@ -4827,43 +6396,86 @@
  1.4382  #ifndef GL_SGIX_fragment_lighting
  1.4383  #define GL_SGIX_fragment_lighting 1
  1.4384  #ifdef GL_GLEXT_PROTOTYPES
  1.4385 -GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
  1.4386 -GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
  1.4387 -GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum, const GLfloat *);
  1.4388 -GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
  1.4389 -GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
  1.4390 -GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
  1.4391 -GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
  1.4392 -GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
  1.4393 -GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
  1.4394 -GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
  1.4395 -GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum, const GLfloat *);
  1.4396 -GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
  1.4397 -GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum, const GLint *);
  1.4398 -GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
  1.4399 -GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
  1.4400 -GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum, GLfloat *);
  1.4401 -GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
  1.4402 -GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
  1.4403 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4404 -typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  1.4405 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  1.4406 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  1.4407 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  1.4408 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  1.4409 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  1.4410 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  1.4411 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  1.4412 -typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  1.4413 -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  1.4414 -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  1.4415 -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  1.4416 -typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  1.4417 -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  1.4418 -typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  1.4419 -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  1.4420 -typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  1.4421 -typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  1.4422 +    GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum, GLenum);
  1.4423 +    GLAPI void APIENTRY glFragmentLightfSGIX (GLenum, GLenum, GLfloat);
  1.4424 +    GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum, GLenum,
  1.4425 +                                               const GLfloat *);
  1.4426 +    GLAPI void APIENTRY glFragmentLightiSGIX (GLenum, GLenum, GLint);
  1.4427 +    GLAPI void APIENTRY glFragmentLightivSGIX (GLenum, GLenum, const GLint *);
  1.4428 +    GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum, GLfloat);
  1.4429 +    GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum, const GLfloat *);
  1.4430 +    GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum, GLint);
  1.4431 +    GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum, const GLint *);
  1.4432 +    GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum, GLenum, GLfloat);
  1.4433 +    GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum, GLenum,
  1.4434 +                                                  const GLfloat *);
  1.4435 +    GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum, GLenum, GLint);
  1.4436 +    GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum, GLenum,
  1.4437 +                                                  const GLint *);
  1.4438 +    GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum, GLenum, GLfloat *);
  1.4439 +    GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum, GLenum, GLint *);
  1.4440 +    GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum, GLenum,
  1.4441 +                                                     GLfloat *);
  1.4442 +    GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum, GLenum, GLint *);
  1.4443 +    GLAPI void APIENTRY glLightEnviSGIX (GLenum, GLint);
  1.4444 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4445 +    typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face,
  1.4446 +                                                                 GLenum mode);
  1.4447 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light,
  1.4448 +                                                          GLenum pname,
  1.4449 +                                                          GLfloat param);
  1.4450 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light,
  1.4451 +                                                           GLenum pname,
  1.4452 +                                                           const GLfloat *
  1.4453 +                                                           params);
  1.4454 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light,
  1.4455 +                                                          GLenum pname,
  1.4456 +                                                          GLint param);
  1.4457 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light,
  1.4458 +                                                           GLenum pname,
  1.4459 +                                                           const GLint *
  1.4460 +                                                           params);
  1.4461 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname,
  1.4462 +                                                               GLfloat param);
  1.4463 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname,
  1.4464 +                                                                const GLfloat
  1.4465 +                                                                * params);
  1.4466 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname,
  1.4467 +                                                               GLint param);
  1.4468 +    typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname,
  1.4469 +                                                                const GLint *
  1.4470 +                                                                params);
  1.4471 +    typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face,
  1.4472 +                                                             GLenum pname,
  1.4473 +                                                             GLfloat param);
  1.4474 +    typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face,
  1.4475 +                                                              GLenum pname,
  1.4476 +                                                              const GLfloat *
  1.4477 +                                                              params);
  1.4478 +    typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face,
  1.4479 +                                                             GLenum pname,
  1.4480 +                                                             GLint param);
  1.4481 +    typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face,
  1.4482 +                                                              GLenum pname,
  1.4483 +                                                              const GLint *
  1.4484 +                                                              params);
  1.4485 +    typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light,
  1.4486 +                                                              GLenum pname,
  1.4487 +                                                              GLfloat *
  1.4488 +                                                              params);
  1.4489 +    typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light,
  1.4490 +                                                              GLenum pname,
  1.4491 +                                                              GLint * params);
  1.4492 +    typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face,
  1.4493 +                                                                 GLenum pname,
  1.4494 +                                                                 GLfloat *
  1.4495 +                                                                 params);
  1.4496 +    typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face,
  1.4497 +                                                                 GLenum pname,
  1.4498 +                                                                 GLint *
  1.4499 +                                                                 params);
  1.4500 +    typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname,
  1.4501 +                                                     GLint param);
  1.4502  #endif
  1.4503  
  1.4504  #ifndef GL_IBM_rasterpos_clip
  1.4505 @@ -4877,9 +6489,17 @@
  1.4506  #ifndef GL_EXT_draw_range_elements
  1.4507  #define GL_EXT_draw_range_elements 1
  1.4508  #ifdef GL_GLEXT_PROTOTYPES
  1.4509 -GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *);
  1.4510 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4511 -typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  1.4512 +    GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum, GLuint, GLuint,
  1.4513 +                                                GLsizei, GLenum,
  1.4514 +                                                const GLvoid *);
  1.4515 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4516 +    typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode,
  1.4517 +                                                            GLuint start,
  1.4518 +                                                            GLuint end,
  1.4519 +                                                            GLsizei count,
  1.4520 +                                                            GLenum type,
  1.4521 +                                                            const GLvoid *
  1.4522 +                                                            indices);
  1.4523  #endif
  1.4524  
  1.4525  #ifndef GL_WIN_phong_shading
  1.4526 @@ -4893,13 +6513,14 @@
  1.4527  #ifndef GL_EXT_light_texture
  1.4528  #define GL_EXT_light_texture 1
  1.4529  #ifdef GL_GLEXT_PROTOTYPES
  1.4530 -GLAPI void APIENTRY glApplyTextureEXT (GLenum);
  1.4531 -GLAPI void APIENTRY glTextureLightEXT (GLenum);
  1.4532 -GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
  1.4533 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4534 -typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  1.4535 -typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  1.4536 -typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  1.4537 +    GLAPI void APIENTRY glApplyTextureEXT (GLenum);
  1.4538 +    GLAPI void APIENTRY glTextureLightEXT (GLenum);
  1.4539 +    GLAPI void APIENTRY glTextureMaterialEXT (GLenum, GLenum);
  1.4540 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4541 +    typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  1.4542 +    typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  1.4543 +    typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face,
  1.4544 +                                                          GLenum mode);
  1.4545  #endif
  1.4546  
  1.4547  #ifndef GL_SGIX_blend_alpha_minmax
  1.4548 @@ -4913,19 +6534,20 @@
  1.4549  #ifndef GL_SGIX_async
  1.4550  #define GL_SGIX_async 1
  1.4551  #ifdef GL_GLEXT_PROTOTYPES
  1.4552 -GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);
  1.4553 -GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *);
  1.4554 -GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *);
  1.4555 -GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei);
  1.4556 -GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
  1.4557 -GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint);
  1.4558 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4559 -typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  1.4560 -typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  1.4561 -typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  1.4562 -typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  1.4563 -typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  1.4564 -typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  1.4565 +    GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint);
  1.4566 +    GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *);
  1.4567 +    GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *);
  1.4568 +    GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei);
  1.4569 +    GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint, GLsizei);
  1.4570 +    GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint);
  1.4571 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4572 +    typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  1.4573 +    typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint * markerp);
  1.4574 +    typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint * markerp);
  1.4575 +    typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  1.4576 +    typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker,
  1.4577 +                                                              GLsizei range);
  1.4578 +    typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  1.4579  #endif
  1.4580  
  1.4581  #ifndef GL_SGIX_async_pixel
  1.4582 @@ -4939,15 +6561,29 @@
  1.4583  #ifndef GL_INTEL_parallel_arrays
  1.4584  #define GL_INTEL_parallel_arrays 1
  1.4585  #ifdef GL_GLEXT_PROTOTYPES
  1.4586 -GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum, const GLvoid* *);
  1.4587 -GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid* *);
  1.4588 -GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum, const GLvoid* *);
  1.4589 -GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum, const GLvoid* *);
  1.4590 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4591 -typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  1.4592 -typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
  1.4593 -typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  1.4594 -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  1.4595 +    GLAPI void APIENTRY glVertexPointervINTEL (GLint, GLenum,
  1.4596 +                                               const GLvoid * *);
  1.4597 +    GLAPI void APIENTRY glNormalPointervINTEL (GLenum, const GLvoid * *);
  1.4598 +    GLAPI void APIENTRY glColorPointervINTEL (GLint, GLenum,
  1.4599 +                                              const GLvoid * *);
  1.4600 +    GLAPI void APIENTRY glTexCoordPointervINTEL (GLint, GLenum,
  1.4601 +                                                 const GLvoid * *);
  1.4602 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4603 +    typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size,
  1.4604 +                                                           GLenum type,
  1.4605 +                                                           const GLvoid *
  1.4606 +                                                           *pointer);
  1.4607 +    typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type,
  1.4608 +                                                           const GLvoid *
  1.4609 +                                                           *pointer);
  1.4610 +    typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size,
  1.4611 +                                                          GLenum type,
  1.4612 +                                                          const GLvoid *
  1.4613 +                                                          *pointer);
  1.4614 +    typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size,
  1.4615 +                                                             GLenum type,
  1.4616 +                                                             const GLvoid *
  1.4617 +                                                             *pointer);
  1.4618  #endif
  1.4619  
  1.4620  #ifndef GL_HP_occlusion_test
  1.4621 @@ -4957,15 +6593,40 @@
  1.4622  #ifndef GL_EXT_pixel_transform
  1.4623  #define GL_EXT_pixel_transform 1
  1.4624  #ifdef GL_GLEXT_PROTOTYPES
  1.4625 -GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
  1.4626 -GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum, GLfloat);
  1.4627 -GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum, const GLint *);
  1.4628 -GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum, const GLfloat *);
  1.4629 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4630 -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  1.4631 -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  1.4632 -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  1.4633 -typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.4634 +    GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum, GLenum, GLint);
  1.4635 +    GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum, GLenum,
  1.4636 +                                                       GLfloat);
  1.4637 +    GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum, GLenum,
  1.4638 +                                                        const GLint *);
  1.4639 +    GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum, GLenum,
  1.4640 +                                                        const GLfloat *);
  1.4641 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4642 +    typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum
  1.4643 +                                                                   target,
  1.4644 +                                                                   GLenum
  1.4645 +                                                                   pname,
  1.4646 +                                                                   GLint
  1.4647 +                                                                   param);
  1.4648 +    typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum
  1.4649 +                                                                   target,
  1.4650 +                                                                   GLenum
  1.4651 +                                                                   pname,
  1.4652 +                                                                   GLfloat
  1.4653 +                                                                   param);
  1.4654 +    typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum
  1.4655 +                                                                    target,
  1.4656 +                                                                    GLenum
  1.4657 +                                                                    pname,
  1.4658 +                                                                    const
  1.4659 +                                                                    GLint *
  1.4660 +                                                                    params);
  1.4661 +    typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum
  1.4662 +                                                                    target,
  1.4663 +                                                                    GLenum
  1.4664 +                                                                    pname,
  1.4665 +                                                                    const
  1.4666 +                                                                    GLfloat *
  1.4667 +                                                                    params);
  1.4668  #endif
  1.4669  
  1.4670  #ifndef GL_EXT_pixel_transform_color_table
  1.4671 @@ -4983,75 +6644,120 @@
  1.4672  #ifndef GL_EXT_secondary_color
  1.4673  #define GL_EXT_secondary_color 1
  1.4674  #ifdef GL_GLEXT_PROTOTYPES
  1.4675 -GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
  1.4676 -GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
  1.4677 -GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
  1.4678 -GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
  1.4679 -GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
  1.4680 -GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
  1.4681 -GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
  1.4682 -GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *);
  1.4683 -GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
  1.4684 -GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *);
  1.4685 -GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
  1.4686 -GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
  1.4687 -GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
  1.4688 -GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
  1.4689 -GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
  1.4690 -GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
  1.4691 -GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei, const GLvoid *);
  1.4692 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4693 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  1.4694 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  1.4695 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  1.4696 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  1.4697 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  1.4698 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  1.4699 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  1.4700 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  1.4701 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  1.4702 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  1.4703 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  1.4704 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  1.4705 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  1.4706 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  1.4707 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  1.4708 -typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  1.4709 -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.4710 +    GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte, GLbyte, GLbyte);
  1.4711 +    GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *);
  1.4712 +    GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble, GLdouble, GLdouble);
  1.4713 +    GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *);
  1.4714 +    GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat, GLfloat, GLfloat);
  1.4715 +    GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *);
  1.4716 +    GLAPI void APIENTRY glSecondaryColor3iEXT (GLint, GLint, GLint);
  1.4717 +    GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *);
  1.4718 +    GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort, GLshort, GLshort);
  1.4719 +    GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *);
  1.4720 +    GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte, GLubyte, GLubyte);
  1.4721 +    GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *);
  1.4722 +    GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint, GLuint, GLuint);
  1.4723 +    GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *);
  1.4724 +    GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort, GLushort, GLushort);
  1.4725 +    GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *);
  1.4726 +    GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint, GLenum, GLsizei,
  1.4727 +                                                    const GLvoid *);
  1.4728 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4729 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red,
  1.4730 +                                                           GLbyte green,
  1.4731 +                                                           GLbyte blue);
  1.4732 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte * v);
  1.4733 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red,
  1.4734 +                                                           GLdouble green,
  1.4735 +                                                           GLdouble blue);
  1.4736 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *
  1.4737 +                                                            v);
  1.4738 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red,
  1.4739 +                                                           GLfloat green,
  1.4740 +                                                           GLfloat blue);
  1.4741 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *
  1.4742 +                                                            v);
  1.4743 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red,
  1.4744 +                                                           GLint green,
  1.4745 +                                                           GLint blue);
  1.4746 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint * v);
  1.4747 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red,
  1.4748 +                                                           GLshort green,
  1.4749 +                                                           GLshort blue);
  1.4750 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *
  1.4751 +                                                            v);
  1.4752 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red,
  1.4753 +                                                            GLubyte green,
  1.4754 +                                                            GLubyte blue);
  1.4755 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *
  1.4756 +                                                             v);
  1.4757 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red,
  1.4758 +                                                            GLuint green,
  1.4759 +                                                            GLuint blue);
  1.4760 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *
  1.4761 +                                                             v);
  1.4762 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red,
  1.4763 +                                                            GLushort green,
  1.4764 +                                                            GLushort blue);
  1.4765 +    typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *
  1.4766 +                                                             v);
  1.4767 +    typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size,
  1.4768 +                                                                GLenum type,
  1.4769 +                                                                GLsizei
  1.4770 +                                                                stride,
  1.4771 +                                                                const GLvoid *
  1.4772 +                                                                pointer);
  1.4773  #endif
  1.4774  
  1.4775  #ifndef GL_EXT_texture_perturb_normal
  1.4776  #define GL_EXT_texture_perturb_normal 1
  1.4777  #ifdef GL_GLEXT_PROTOTYPES
  1.4778 -GLAPI void APIENTRY glTextureNormalEXT (GLenum);
  1.4779 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4780 -typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  1.4781 +    GLAPI void APIENTRY glTextureNormalEXT (GLenum);
  1.4782 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4783 +    typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  1.4784  #endif
  1.4785  
  1.4786  #ifndef GL_EXT_multi_draw_arrays
  1.4787  #define GL_EXT_multi_draw_arrays 1
  1.4788  #ifdef GL_GLEXT_PROTOTYPES
  1.4789 -GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
  1.4790 -GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
  1.4791 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4792 -typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
  1.4793 -typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  1.4794 +    GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *,
  1.4795 +                                              GLsizei);
  1.4796 +    GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *,
  1.4797 +                                                GLenum, const GLvoid * *,
  1.4798 +                                                GLsizei);
  1.4799 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4800 +    typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode,
  1.4801 +                                                          GLint * first,
  1.4802 +                                                          GLsizei * count,
  1.4803 +                                                          GLsizei primcount);
  1.4804 +    typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode,
  1.4805 +                                                            const GLsizei *
  1.4806 +                                                            count,
  1.4807 +                                                            GLenum type,
  1.4808 +                                                            const GLvoid *
  1.4809 +                                                            *indices,
  1.4810 +                                                            GLsizei
  1.4811 +                                                            primcount);
  1.4812  #endif
  1.4813  
  1.4814  #ifndef GL_EXT_fog_coord
  1.4815  #define GL_EXT_fog_coord 1
  1.4816  #ifdef GL_GLEXT_PROTOTYPES
  1.4817 -GLAPI void APIENTRY glFogCoordfEXT (GLfloat);
  1.4818 -GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *);
  1.4819 -GLAPI void APIENTRY glFogCoorddEXT (GLdouble);
  1.4820 -GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *);
  1.4821 -GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei, const GLvoid *);
  1.4822 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4823 -typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  1.4824 -typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  1.4825 -typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  1.4826 -typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  1.4827 -typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  1.4828 +    GLAPI void APIENTRY glFogCoordfEXT (GLfloat);
  1.4829 +    GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *);
  1.4830 +    GLAPI void APIENTRY glFogCoorddEXT (GLdouble);
  1.4831 +    GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *);
  1.4832 +    GLAPI void APIENTRY glFogCoordPointerEXT (GLenum, GLsizei,
  1.4833 +                                              const GLvoid *);
  1.4834 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4835 +    typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  1.4836 +    typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat * coord);
  1.4837 +    typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  1.4838 +    typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble * coord);
  1.4839 +    typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type,
  1.4840 +                                                          GLsizei stride,
  1.4841 +                                                          const GLvoid *
  1.4842 +                                                          pointer);
  1.4843  #endif
  1.4844  
  1.4845  #ifndef GL_REND_screen_coordinates
  1.4846 @@ -5061,51 +6767,68 @@
  1.4847  #ifndef GL_EXT_coordinate_frame
  1.4848  #define GL_EXT_coordinate_frame 1
  1.4849  #ifdef GL_GLEXT_PROTOTYPES
  1.4850 -GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
  1.4851 -GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *);
  1.4852 -GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
  1.4853 -GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *);
  1.4854 -GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
  1.4855 -GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *);
  1.4856 -GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
  1.4857 -GLAPI void APIENTRY glTangent3ivEXT (const GLint *);
  1.4858 -GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
  1.4859 -GLAPI void APIENTRY glTangent3svEXT (const GLshort *);
  1.4860 -GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
  1.4861 -GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *);
  1.4862 -GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
  1.4863 -GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *);
  1.4864 -GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
  1.4865 -GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *);
  1.4866 -GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
  1.4867 -GLAPI void APIENTRY glBinormal3ivEXT (const GLint *);
  1.4868 -GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
  1.4869 -GLAPI void APIENTRY glBinormal3svEXT (const GLshort *);
  1.4870 -GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
  1.4871 -GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei, const GLvoid *);
  1.4872 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4873 -typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  1.4874 -typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  1.4875 -typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  1.4876 -typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  1.4877 -typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  1.4878 -typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  1.4879 -typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  1.4880 -typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  1.4881 -typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  1.4882 -typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  1.4883 -typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  1.4884 -typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  1.4885 -typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  1.4886 -typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  1.4887 -typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  1.4888 -typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  1.4889 -typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  1.4890 -typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  1.4891 -typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  1.4892 -typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  1.4893 -typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  1.4894 -typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  1.4895 +    GLAPI void APIENTRY glTangent3bEXT (GLbyte, GLbyte, GLbyte);
  1.4896 +    GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *);
  1.4897 +    GLAPI void APIENTRY glTangent3dEXT (GLdouble, GLdouble, GLdouble);
  1.4898 +    GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *);
  1.4899 +    GLAPI void APIENTRY glTangent3fEXT (GLfloat, GLfloat, GLfloat);
  1.4900 +    GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *);
  1.4901 +    GLAPI void APIENTRY glTangent3iEXT (GLint, GLint, GLint);
  1.4902 +    GLAPI void APIENTRY glTangent3ivEXT (const GLint *);
  1.4903 +    GLAPI void APIENTRY glTangent3sEXT (GLshort, GLshort, GLshort);
  1.4904 +    GLAPI void APIENTRY glTangent3svEXT (const GLshort *);
  1.4905 +    GLAPI void APIENTRY glBinormal3bEXT (GLbyte, GLbyte, GLbyte);
  1.4906 +    GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *);
  1.4907 +    GLAPI void APIENTRY glBinormal3dEXT (GLdouble, GLdouble, GLdouble);
  1.4908 +    GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *);
  1.4909 +    GLAPI void APIENTRY glBinormal3fEXT (GLfloat, GLfloat, GLfloat);
  1.4910 +    GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *);
  1.4911 +    GLAPI void APIENTRY glBinormal3iEXT (GLint, GLint, GLint);
  1.4912 +    GLAPI void APIENTRY glBinormal3ivEXT (const GLint *);
  1.4913 +    GLAPI void APIENTRY glBinormal3sEXT (GLshort, GLshort, GLshort);
  1.4914 +    GLAPI void APIENTRY glBinormal3svEXT (const GLshort *);
  1.4915 +    GLAPI void APIENTRY glTangentPointerEXT (GLenum, GLsizei, const GLvoid *);
  1.4916 +    GLAPI void APIENTRY glBinormalPointerEXT (GLenum, GLsizei,
  1.4917 +                                              const GLvoid *);
  1.4918 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4919 +    typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty,
  1.4920 +                                                    GLbyte tz);
  1.4921 +    typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte * v);
  1.4922 +    typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty,
  1.4923 +                                                    GLdouble tz);
  1.4924 +    typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble * v);
  1.4925 +    typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty,
  1.4926 +                                                    GLfloat tz);
  1.4927 +    typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat * v);
  1.4928 +    typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty,
  1.4929 +                                                    GLint tz);
  1.4930 +    typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint * v);
  1.4931 +    typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty,
  1.4932 +                                                    GLshort tz);
  1.4933 +    typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort * v);
  1.4934 +    typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by,
  1.4935 +                                                     GLbyte bz);
  1.4936 +    typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte * v);
  1.4937 +    typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by,
  1.4938 +                                                     GLdouble bz);
  1.4939 +    typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble * v);
  1.4940 +    typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by,
  1.4941 +                                                     GLfloat bz);
  1.4942 +    typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat * v);
  1.4943 +    typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by,
  1.4944 +                                                     GLint bz);
  1.4945 +    typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint * v);
  1.4946 +    typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by,
  1.4947 +                                                     GLshort bz);
  1.4948 +    typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort * v);
  1.4949 +    typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type,
  1.4950 +                                                         GLsizei stride,
  1.4951 +                                                         const GLvoid *
  1.4952 +                                                         pointer);
  1.4953 +    typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type,
  1.4954 +                                                          GLsizei stride,
  1.4955 +                                                          const GLvoid *
  1.4956 +                                                          pointer);
  1.4957  #endif
  1.4958  
  1.4959  #ifndef GL_EXT_texture_env_combine
  1.4960 @@ -5127,153 +6850,660 @@
  1.4961  #ifndef GL_SUNX_constant_data
  1.4962  #define GL_SUNX_constant_data 1
  1.4963  #ifdef GL_GLEXT_PROTOTYPES
  1.4964 -GLAPI void APIENTRY glFinishTextureSUNX (void);
  1.4965 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4966 -typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  1.4967 +    GLAPI void APIENTRY glFinishTextureSUNX (void);
  1.4968 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.4969 +    typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  1.4970  #endif
  1.4971  
  1.4972  #ifndef GL_SUN_global_alpha
  1.4973  #define GL_SUN_global_alpha 1
  1.4974  #ifdef GL_GLEXT_PROTOTYPES
  1.4975 -GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
  1.4976 -GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
  1.4977 -GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint);
  1.4978 -GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
  1.4979 -GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
  1.4980 -GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
  1.4981 -GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
  1.4982 -GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
  1.4983 -#endif /* GL_GLEXT_PROTOTYPES */
  1.4984 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  1.4985 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  1.4986 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  1.4987 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  1.4988 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  1.4989 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  1.4990 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  1.4991 -typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  1.4992 +    GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte);
  1.4993 +    GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort);
  1.4994 +    GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint);
  1.4995 +    GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat);
  1.4996 +    GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble);
  1.4997 +    GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte);
  1.4998 +    GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort);
  1.4999 +    GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint);
  1.5000 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5001 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  1.5002 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  1.5003 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  1.5004 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  1.5005 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  1.5006 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  1.5007 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort
  1.5008 +                                                              factor);
  1.5009 +    typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  1.5010  #endif
  1.5011  
  1.5012  #ifndef GL_SUN_triangle_list
  1.5013  #define GL_SUN_triangle_list 1
  1.5014  #ifdef GL_GLEXT_PROTOTYPES
  1.5015 -GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint);
  1.5016 -GLAPI void APIENTRY glReplacementCodeusSUN (GLushort);
  1.5017 -GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte);
  1.5018 -GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *);
  1.5019 -GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *);
  1.5020 -GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
  1.5021 -GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei, const GLvoid* *);
  1.5022 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5023 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  1.5024 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  1.5025 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  1.5026 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  1.5027 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  1.5028 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  1.5029 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
  1.5030 +    GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint);
  1.5031 +    GLAPI void APIENTRY glReplacementCodeusSUN (GLushort);
  1.5032 +    GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte);
  1.5033 +    GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *);
  1.5034 +    GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *);
  1.5035 +    GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *);
  1.5036 +    GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum, GLsizei,
  1.5037 +                                                     const GLvoid * *);
  1.5038 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5039 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  1.5040 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  1.5041 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  1.5042 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *
  1.5043 +                                                             code);
  1.5044 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *
  1.5045 +                                                             code);
  1.5046 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *
  1.5047 +                                                             code);
  1.5048 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type,
  1.5049 +                                                                 GLsizei
  1.5050 +                                                                 stride,
  1.5051 +                                                                 const GLvoid
  1.5052 +                                                                 * *pointer);
  1.5053  #endif
  1.5054  
  1.5055  #ifndef GL_SUN_vertex
  1.5056  #define GL_SUN_vertex 1
  1.5057  #ifdef GL_GLEXT_PROTOTYPES
  1.5058 -GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat);
  1.5059 -GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *, const GLfloat *);
  1.5060 -GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  1.5061 -GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *, const GLfloat *);
  1.5062 -GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5063 -GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  1.5064 -GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5065 -GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *);
  1.5066 -GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5067 -GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  1.5068 -GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5069 -GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *, const GLfloat *);
  1.5070 -GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5071 -GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *, const GLfloat *);
  1.5072 -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  1.5073 -GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *, const GLubyte *, const GLfloat *);
  1.5074 -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5075 -GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  1.5076 -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5077 -GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *);
  1.5078 -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5079 -GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  1.5080 -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5081 -GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  1.5082 -GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat);
  1.5083 -GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *, const GLfloat *);
  1.5084 -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint, GLubyte, GLubyte, GLubyte, GLubyte, GLfloat, GLfloat, GLfloat);
  1.5085 -GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *, const GLubyte *, const GLfloat *);
  1.5086 -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5087 -GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  1.5088 -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5089 -GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  1.5090 -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5091 -GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
  1.5092 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5093 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *);
  1.5094 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5095 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *);
  1.5096 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat);
  1.5097 -GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *, const GLfloat *, const GLfloat *, const GLfloat *, const GLfloat *);
  1.5098 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5099 -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  1.5100 -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  1.5101 -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  1.5102 -typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  1.5103 -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  1.5104 -typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  1.5105 -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5106 -typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  1.5107 -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5108 -typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  1.5109 -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  1.5110 -typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  1.5111 -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.5112 -typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  1.5113 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  1.5114 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  1.5115 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  1.5116 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  1.5117 -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5118 -typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  1.5119 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5120 -typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  1.5121 -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.5122 -typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  1.5123 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  1.5124 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  1.5125 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  1.5126 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  1.5127 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  1.5128 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  1.5129 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5130 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  1.5131 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5132 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  1.5133 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  1.5134 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  1.5135 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5136 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  1.5137 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5138 -typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  1.5139 +    GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte, GLubyte, GLubyte,
  1.5140 +                                               GLubyte, GLfloat, GLfloat);
  1.5141 +    GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *,
  1.5142 +                                                const GLfloat *);
  1.5143 +    GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte, GLubyte, GLubyte,
  1.5144 +                                               GLubyte, GLfloat, GLfloat,
  1.5145 +                                               GLfloat);
  1.5146 +    GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *,
  1.5147 +                                                const GLfloat *);
  1.5148 +    GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat, GLfloat, GLfloat,
  1.5149 +                                              GLfloat, GLfloat, GLfloat);
  1.5150 +    GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *,
  1.5151 +                                               const GLfloat *);
  1.5152 +    GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat, GLfloat, GLfloat,
  1.5153 +                                               GLfloat, GLfloat, GLfloat);
  1.5154 +    GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *,
  1.5155 +                                                const GLfloat *);
  1.5156 +    GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat, GLfloat,
  1.5157 +                                                      GLfloat, GLfloat,
  1.5158 +                                                      GLfloat, GLfloat,
  1.5159 +                                                      GLfloat, GLfloat,
  1.5160 +                                                      GLfloat, GLfloat);
  1.5161 +    GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *,
  1.5162 +                                                       const GLfloat *,
  1.5163 +                                                       const GLfloat *);
  1.5164 +    GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat, GLfloat, GLfloat,
  1.5165 +                                                 GLfloat, GLfloat);
  1.5166 +    GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *,
  1.5167 +                                                  const GLfloat *);
  1.5168 +    GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat, GLfloat, GLfloat,
  1.5169 +                                                 GLfloat, GLfloat, GLfloat,
  1.5170 +                                                 GLfloat, GLfloat);
  1.5171 +    GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *,
  1.5172 +                                                  const GLfloat *);
  1.5173 +    GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat, GLfloat,
  1.5174 +                                                         GLubyte, GLubyte,
  1.5175 +                                                         GLubyte, GLubyte,
  1.5176 +                                                         GLfloat, GLfloat,
  1.5177 +                                                         GLfloat);
  1.5178 +    GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *,
  1.5179 +                                                          const GLubyte *,
  1.5180 +                                                          const GLfloat *);
  1.5181 +    GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat, GLfloat,
  1.5182 +                                                        GLfloat, GLfloat,
  1.5183 +                                                        GLfloat, GLfloat,
  1.5184 +                                                        GLfloat, GLfloat);
  1.5185 +    GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *,
  1.5186 +                                                         const GLfloat *,
  1.5187 +                                                         const GLfloat *);
  1.5188 +    GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat, GLfloat,
  1.5189 +                                                         GLfloat, GLfloat,
  1.5190 +                                                         GLfloat, GLfloat,
  1.5191 +                                                         GLfloat, GLfloat);
  1.5192 +    GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *,
  1.5193 +                                                          const GLfloat *,
  1.5194 +                                                          const GLfloat *);
  1.5195 +    GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat,
  1.5196 +                                                                GLfloat,
  1.5197 +                                                                GLfloat,
  1.5198 +                                                                GLfloat,
  1.5199 +                                                                GLfloat,
  1.5200 +                                                                GLfloat,
  1.5201 +                                                                GLfloat,
  1.5202 +                                                                GLfloat,
  1.5203 +                                                                GLfloat,
  1.5204 +                                                                GLfloat,
  1.5205 +                                                                GLfloat,
  1.5206 +                                                                GLfloat);
  1.5207 +    GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat
  1.5208 +                                                                 *,
  1.5209 +                                                                 const GLfloat
  1.5210 +                                                                 *,
  1.5211 +                                                                 const GLfloat
  1.5212 +                                                                 *,
  1.5213 +                                                                 const GLfloat
  1.5214 +                                                                 *);
  1.5215 +    GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat,
  1.5216 +                                                                GLfloat,
  1.5217 +                                                                GLfloat,
  1.5218 +                                                                GLfloat,
  1.5219 +                                                                GLfloat,
  1.5220 +                                                                GLfloat,
  1.5221 +                                                                GLfloat,
  1.5222 +                                                                GLfloat,
  1.5223 +                                                                GLfloat,
  1.5224 +                                                                GLfloat,
  1.5225 +                                                                GLfloat,
  1.5226 +                                                                GLfloat,
  1.5227 +                                                                GLfloat,
  1.5228 +                                                                GLfloat,
  1.5229 +                                                                GLfloat);
  1.5230 +    GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat
  1.5231 +                                                                 *,
  1.5232 +                                                                 const GLfloat
  1.5233 +                                                                 *,
  1.5234 +                                                                 const GLfloat
  1.5235 +                                                                 *,
  1.5236 +                                                                 const GLfloat
  1.5237 +                                                                 *);
  1.5238 +    GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint, GLfloat,
  1.5239 +                                                        GLfloat, GLfloat);
  1.5240 +    GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *,
  1.5241 +                                                         const GLfloat *);
  1.5242 +    GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint,
  1.5243 +                                                                GLubyte,
  1.5244 +                                                                GLubyte,
  1.5245 +                                                                GLubyte,
  1.5246 +                                                                GLubyte,
  1.5247 +                                                                GLfloat,
  1.5248 +                                                                GLfloat,
  1.5249 +                                                                GLfloat);
  1.5250 +    GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint
  1.5251 +                                                                 *,
  1.5252 +                                                                 const GLubyte
  1.5253 +                                                                 *,
  1.5254 +                                                                 const GLfloat
  1.5255 +                                                                 *);
  1.5256 +    GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint,
  1.5257 +                                                               GLfloat,
  1.5258 +                                                               GLfloat,
  1.5259 +                                                               GLfloat,
  1.5260 +                                                               GLfloat,
  1.5261 +                                                               GLfloat,
  1.5262 +                                                               GLfloat);
  1.5263 +    GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint
  1.5264 +                                                                *,
  1.5265 +                                                                const GLfloat
  1.5266 +                                                                *,
  1.5267 +                                                                const GLfloat
  1.5268 +                                                                *);
  1.5269 +    GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint,
  1.5270 +                                                                GLfloat,
  1.5271 +                                                                GLfloat,
  1.5272 +                                                                GLfloat,
  1.5273 +                                                                GLfloat,
  1.5274 +                                                                GLfloat,
  1.5275 +                                                                GLfloat);
  1.5276 +    GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint
  1.5277 +                                                                 *,
  1.5278 +                                                                 const GLfloat
  1.5279 +                                                                 *,
  1.5280 +                                                                 const GLfloat
  1.5281 +                                                                 *);
  1.5282 +    GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint,
  1.5283 +                                                                       GLfloat,
  1.5284 +                                                                       GLfloat,
  1.5285 +                                                                       GLfloat,
  1.5286 +                                                                       GLfloat,
  1.5287 +                                                                       GLfloat,
  1.5288 +                                                                       GLfloat,
  1.5289 +                                                                       GLfloat,
  1.5290 +                                                                       GLfloat,
  1.5291 +                                                                       GLfloat,
  1.5292 +                                                                       GLfloat);
  1.5293 +    GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const
  1.5294 +                                                                        GLuint
  1.5295 +                                                                        *,
  1.5296 +                                                                        const
  1.5297 +                                                                        GLfloat
  1.5298 +                                                                        *,
  1.5299 +                                                                        const
  1.5300 +                                                                        GLfloat
  1.5301 +                                                                        *,
  1.5302 +                                                                        const
  1.5303 +                                                                        GLfloat
  1.5304 +                                                                        *);
  1.5305 +    GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint,
  1.5306 +                                                                  GLfloat,
  1.5307 +                                                                  GLfloat,
  1.5308 +                                                                  GLfloat,
  1.5309 +                                                                  GLfloat,
  1.5310 +                                                                  GLfloat);
  1.5311 +    GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const
  1.5312 +                                                                   GLuint *,
  1.5313 +                                                                   const
  1.5314 +                                                                   GLfloat *,
  1.5315 +                                                                   const
  1.5316 +                                                                   GLfloat *);
  1.5317 +    GLAPI void APIENTRY
  1.5318 +        glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint, GLfloat,
  1.5319 +                                                          GLfloat, GLfloat,
  1.5320 +                                                          GLfloat, GLfloat,
  1.5321 +                                                          GLfloat, GLfloat,
  1.5322 +                                                          GLfloat);
  1.5323 +    GLAPI void APIENTRY
  1.5324 +        glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *,
  1.5325 +                                                           const GLfloat *,
  1.5326 +                                                           const GLfloat *,
  1.5327 +                                                           const GLfloat *);
  1.5328 +    GLAPI void APIENTRY
  1.5329 +        glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint,
  1.5330 +                                                                 GLfloat,
  1.5331 +                                                                 GLfloat,
  1.5332 +                                                                 GLfloat,
  1.5333 +                                                                 GLfloat,
  1.5334 +                                                                 GLfloat,
  1.5335 +                                                                 GLfloat,
  1.5336 +                                                                 GLfloat,
  1.5337 +                                                                 GLfloat,
  1.5338 +                                                                 GLfloat,
  1.5339 +                                                                 GLfloat,
  1.5340 +                                                                 GLfloat,
  1.5341 +                                                                 GLfloat);
  1.5342 +    GLAPI void APIENTRY
  1.5343 +        glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint
  1.5344 +                                                                  *,
  1.5345 +                                                                  const
  1.5346 +                                                                  GLfloat *,
  1.5347 +                                                                  const
  1.5348 +                                                                  GLfloat *,
  1.5349 +                                                                  const
  1.5350 +                                                                  GLfloat *,
  1.5351 +                                                                  const
  1.5352 +                                                                  GLfloat *);
  1.5353 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5354 +    typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r,
  1.5355 +                                                           GLubyte g,
  1.5356 +                                                           GLubyte b,
  1.5357 +                                                           GLubyte a,
  1.5358 +                                                           GLfloat x,
  1.5359 +                                                           GLfloat y);
  1.5360 +    typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte * c,
  1.5361 +                                                            const GLfloat *
  1.5362 +                                                            v);
  1.5363 +    typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r,
  1.5364 +                                                           GLubyte g,
  1.5365 +                                                           GLubyte b,
  1.5366 +                                                           GLubyte a,
  1.5367 +                                                           GLfloat x,
  1.5368 +                                                           GLfloat y,
  1.5369 +                                                           GLfloat z);
  1.5370 +    typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte * c,
  1.5371 +                                                            const GLfloat *
  1.5372 +                                                            v);
  1.5373 +    typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r,
  1.5374 +                                                          GLfloat g,
  1.5375 +                                                          GLfloat b,
  1.5376 +                                                          GLfloat x,
  1.5377 +                                                          GLfloat y,
  1.5378 +                                                          GLfloat z);
  1.5379 +    typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat * c,
  1.5380 +                                                           const GLfloat * v);
  1.5381 +    typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx,
  1.5382 +                                                           GLfloat ny,
  1.5383 +                                                           GLfloat nz,
  1.5384 +                                                           GLfloat x,
  1.5385 +                                                           GLfloat y,
  1.5386 +                                                           GLfloat z);
  1.5387 +    typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat * n,
  1.5388 +                                                            const GLfloat *
  1.5389 +                                                            v);
  1.5390 +    typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r,
  1.5391 +                                                                  GLfloat g,
  1.5392 +                                                                  GLfloat b,
  1.5393 +                                                                  GLfloat a,
  1.5394 +                                                                  GLfloat nx,
  1.5395 +                                                                  GLfloat ny,
  1.5396 +                                                                  GLfloat nz,
  1.5397 +                                                                  GLfloat x,
  1.5398 +                                                                  GLfloat y,
  1.5399 +                                                                  GLfloat z);
  1.5400 +    typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const
  1.5401 +                                                                   GLfloat *
  1.5402 +                                                                   c,
  1.5403 +                                                                   const
  1.5404 +                                                                   GLfloat *
  1.5405 +                                                                   n,
  1.5406 +                                                                   const
  1.5407 +                                                                   GLfloat *
  1.5408 +                                                                   v);
  1.5409 +    typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s,
  1.5410 +                                                             GLfloat t,
  1.5411 +                                                             GLfloat x,
  1.5412 +                                                             GLfloat y,
  1.5413 +                                                             GLfloat z);
  1.5414 +    typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *
  1.5415 +                                                              tc,
  1.5416 +                                                              const GLfloat *
  1.5417 +                                                              v);
  1.5418 +    typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s,
  1.5419 +                                                             GLfloat t,
  1.5420 +                                                             GLfloat p,
  1.5421 +                                                             GLfloat q,
  1.5422 +                                                             GLfloat x,
  1.5423 +                                                             GLfloat y,
  1.5424 +                                                             GLfloat z,
  1.5425 +                                                             GLfloat w);
  1.5426 +    typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *
  1.5427 +                                                              tc,
  1.5428 +                                                              const GLfloat *
  1.5429 +                                                              v);
  1.5430 +    typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat
  1.5431 +                                                                     s,
  1.5432 +                                                                     GLfloat
  1.5433 +                                                                     t,
  1.5434 +                                                                     GLubyte
  1.5435 +                                                                     r,
  1.5436 +                                                                     GLubyte
  1.5437 +                                                                     g,
  1.5438 +                                                                     GLubyte
  1.5439 +                                                                     b,
  1.5440 +                                                                     GLubyte
  1.5441 +                                                                     a,
  1.5442 +                                                                     GLfloat
  1.5443 +                                                                     x,
  1.5444 +                                                                     GLfloat
  1.5445 +                                                                     y,
  1.5446 +                                                                     GLfloat
  1.5447 +                                                                     z);
  1.5448 +    typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const
  1.5449 +                                                                      GLfloat
  1.5450 +                                                                      * tc,
  1.5451 +                                                                      const
  1.5452 +                                                                      GLubyte
  1.5453 +                                                                      * c,
  1.5454 +                                                                      const
  1.5455 +                                                                      GLfloat
  1.5456 +                                                                      * v);
  1.5457 +    typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s,
  1.5458 +                                                                    GLfloat t,
  1.5459 +                                                                    GLfloat r,
  1.5460 +                                                                    GLfloat g,
  1.5461 +                                                                    GLfloat b,
  1.5462 +                                                                    GLfloat x,
  1.5463 +                                                                    GLfloat y,
  1.5464 +                                                                    GLfloat
  1.5465 +                                                                    z);
  1.5466 +    typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const
  1.5467 +                                                                     GLfloat *
  1.5468 +                                                                     tc,
  1.5469 +                                                                     const
  1.5470 +                                                                     GLfloat *
  1.5471 +                                                                     c,
  1.5472 +                                                                     const
  1.5473 +                                                                     GLfloat *
  1.5474 +                                                                     v);
  1.5475 +    typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat
  1.5476 +                                                                     s,
  1.5477 +                                                                     GLfloat
  1.5478 +                                                                     t,
  1.5479 +                                                                     GLfloat
  1.5480 +                                                                     nx,
  1.5481 +                                                                     GLfloat
  1.5482 +                                                                     ny,
  1.5483 +                                                                     GLfloat
  1.5484 +                                                                     nz,
  1.5485 +                                                                     GLfloat
  1.5486 +                                                                     x,
  1.5487 +                                                                     GLfloat
  1.5488 +                                                                     y,
  1.5489 +                                                                     GLfloat
  1.5490 +                                                                     z);
  1.5491 +    typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const
  1.5492 +                                                                      GLfloat
  1.5493 +                                                                      * tc,
  1.5494 +                                                                      const
  1.5495 +                                                                      GLfloat
  1.5496 +                                                                      * n,
  1.5497 +                                                                      const
  1.5498 +                                                                      GLfloat
  1.5499 +                                                                      * v);
  1.5500 +    typedef void (APIENTRYP
  1.5501 +                  PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s,
  1.5502 +                                                                  GLfloat t,
  1.5503 +                                                                  GLfloat r,
  1.5504 +                                                                  GLfloat g,
  1.5505 +                                                                  GLfloat b,
  1.5506 +                                                                  GLfloat a,
  1.5507 +                                                                  GLfloat nx,
  1.5508 +                                                                  GLfloat ny,
  1.5509 +                                                                  GLfloat nz,
  1.5510 +                                                                  GLfloat x,
  1.5511 +                                                                  GLfloat y,
  1.5512 +                                                                  GLfloat z);
  1.5513 +    typedef void (APIENTRYP
  1.5514 +                  PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const
  1.5515 +                                                                   GLfloat *
  1.5516 +                                                                   tc,
  1.5517 +                                                                   const
  1.5518 +                                                                   GLfloat *
  1.5519 +                                                                   c,
  1.5520 +                                                                   const
  1.5521 +                                                                   GLfloat *
  1.5522 +                                                                   n,
  1.5523 +                                                                   const
  1.5524 +                                                                   GLfloat *
  1.5525 +                                                                   v);
  1.5526 +    typedef void (APIENTRYP
  1.5527 +                  PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s,
  1.5528 +                                                                  GLfloat t,
  1.5529 +                                                                  GLfloat p,
  1.5530 +                                                                  GLfloat q,
  1.5531 +                                                                  GLfloat r,
  1.5532 +                                                                  GLfloat g,
  1.5533 +                                                                  GLfloat b,
  1.5534 +                                                                  GLfloat a,
  1.5535 +                                                                  GLfloat nx,
  1.5536 +                                                                  GLfloat ny,
  1.5537 +                                                                  GLfloat nz,
  1.5538 +                                                                  GLfloat x,
  1.5539 +                                                                  GLfloat y,
  1.5540 +                                                                  GLfloat z,
  1.5541 +                                                                  GLfloat w);
  1.5542 +    typedef void (APIENTRYP
  1.5543 +                  PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const
  1.5544 +                                                                   GLfloat *
  1.5545 +                                                                   tc,
  1.5546 +                                                                   const
  1.5547 +                                                                   GLfloat *
  1.5548 +                                                                   c,
  1.5549 +                                                                   const
  1.5550 +                                                                   GLfloat *
  1.5551 +                                                                   n,
  1.5552 +                                                                   const
  1.5553 +                                                                   GLfloat *
  1.5554 +                                                                   v);
  1.5555 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc,
  1.5556 +                                                                    GLfloat x,
  1.5557 +                                                                    GLfloat y,
  1.5558 +                                                                    GLfloat
  1.5559 +                                                                    z);
  1.5560 +    typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const
  1.5561 +                                                                     GLuint *
  1.5562 +                                                                     rc,
  1.5563 +                                                                     const
  1.5564 +                                                                     GLfloat *
  1.5565 +                                                                     v);
  1.5566 +    typedef void (APIENTRYP
  1.5567 +                  PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc,
  1.5568 +                                                                  GLubyte r,
  1.5569 +                                                                  GLubyte g,
  1.5570 +                                                                  GLubyte b,
  1.5571 +                                                                  GLubyte a,
  1.5572 +                                                                  GLfloat x,
  1.5573 +                                                                  GLfloat y,
  1.5574 +                                                                  GLfloat z);
  1.5575 +    typedef void (APIENTRYP
  1.5576 +                  PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const
  1.5577 +                                                                   GLuint *
  1.5578 +                                                                   rc,
  1.5579 +                                                                   const
  1.5580 +                                                                   GLubyte *
  1.5581 +                                                                   c,
  1.5582 +                                                                   const
  1.5583 +                                                                   GLfloat *
  1.5584 +                                                                   v);
  1.5585 +    typedef void (APIENTRYP
  1.5586 +                  PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc,
  1.5587 +                                                                 GLfloat r,
  1.5588 +                                                                 GLfloat g,
  1.5589 +                                                                 GLfloat b,
  1.5590 +                                                                 GLfloat x,
  1.5591 +                                                                 GLfloat y,
  1.5592 +                                                                 GLfloat z);
  1.5593 +    typedef void (APIENTRYP
  1.5594 +                  PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint
  1.5595 +                                                                  * rc,
  1.5596 +                                                                  const
  1.5597 +                                                                  GLfloat * c,
  1.5598 +                                                                  const
  1.5599 +                                                                  GLfloat *
  1.5600 +                                                                  v);
  1.5601 +    typedef void (APIENTRYP
  1.5602 +                  PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc,
  1.5603 +                                                                  GLfloat nx,
  1.5604 +                                                                  GLfloat ny,
  1.5605 +                                                                  GLfloat nz,
  1.5606 +                                                                  GLfloat x,
  1.5607 +                                                                  GLfloat y,
  1.5608 +                                                                  GLfloat z);
  1.5609 +    typedef void (APIENTRYP
  1.5610 +                  PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const
  1.5611 +                                                                   GLuint *
  1.5612 +                                                                   rc,
  1.5613 +                                                                   const
  1.5614 +                                                                   GLfloat *
  1.5615 +                                                                   n,
  1.5616 +                                                                   const
  1.5617 +                                                                   GLfloat *
  1.5618 +                                                                   v);
  1.5619 +    typedef void (APIENTRYP
  1.5620 +                  PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)
  1.5621 +
  1.5622 +
  1.5623 +
  1.5624 +
  1.5625 +
  1.5626 +
  1.5627 +     
  1.5628 +        (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx,
  1.5629 +       GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  1.5630 +    typedef void (APIENTRYP
  1.5631 +                  PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)
  1.5632 +
  1.5633 +
  1.5634 +
  1.5635 +
  1.5636 +
  1.5637 +
  1.5638 +     
  1.5639 +        (const GLuint * rc, const GLfloat * c, const GLfloat * n,
  1.5640 +       const GLfloat * v);
  1.5641 +    typedef void (APIENTRYP
  1.5642 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc,
  1.5643 +                                                                    GLfloat s,
  1.5644 +                                                                    GLfloat t,
  1.5645 +                                                                    GLfloat x,
  1.5646 +                                                                    GLfloat y,
  1.5647 +                                                                    GLfloat
  1.5648 +                                                                    z);
  1.5649 +    typedef void (APIENTRYP
  1.5650 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const
  1.5651 +                                                                     GLuint *
  1.5652 +                                                                     rc,
  1.5653 +                                                                     const
  1.5654 +                                                                     GLfloat *
  1.5655 +                                                                     tc,
  1.5656 +                                                                     const
  1.5657 +                                                                     GLfloat *
  1.5658 +                                                                     v);
  1.5659 +    typedef void (APIENTRYP
  1.5660 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)
  1.5661 +
  1.5662 +
  1.5663 +
  1.5664 +
  1.5665 +
  1.5666 +
  1.5667 +     
  1.5668 +        (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz,
  1.5669 +       GLfloat x, GLfloat y, GLfloat z);
  1.5670 +    typedef void (APIENTRYP
  1.5671 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)
  1.5672 +
  1.5673 +
  1.5674 +
  1.5675 +
  1.5676 +
  1.5677 +
  1.5678 +     
  1.5679 +        (const GLuint * rc, const GLfloat * tc, const GLfloat * n,
  1.5680 +       const GLfloat * v);
  1.5681 +    typedef void (APIENTRYP
  1.5682 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)
  1.5683 +
  1.5684 +
  1.5685 +
  1.5686 +
  1.5687 +
  1.5688 +
  1.5689 +     
  1.5690 +        (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b,
  1.5691 +       GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y,
  1.5692 +       GLfloat z);
  1.5693 +    typedef void (APIENTRYP
  1.5694 +                  PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)
  1.5695 +
  1.5696 +
  1.5697 +
  1.5698 +
  1.5699 +
  1.5700 +
  1.5701 +     
  1.5702 +        (const GLuint * rc, const GLfloat * tc, const GLfloat * c,
  1.5703 +       const GLfloat * n, const GLfloat * v);
  1.5704  #endif
  1.5705  
  1.5706  #ifndef GL_EXT_blend_func_separate
  1.5707  #define GL_EXT_blend_func_separate 1
  1.5708  #ifdef GL_GLEXT_PROTOTYPES
  1.5709 -GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum, GLenum);
  1.5710 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5711 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  1.5712 +    GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum, GLenum, GLenum,
  1.5713 +                                                GLenum);
  1.5714 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5715 +    typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB,
  1.5716 +                                                            GLenum dfactorRGB,
  1.5717 +                                                            GLenum
  1.5718 +                                                            sfactorAlpha,
  1.5719 +                                                            GLenum
  1.5720 +                                                            dfactorAlpha);
  1.5721  #endif
  1.5722  
  1.5723  #ifndef GL_INGR_blend_func_separate
  1.5724  #define GL_INGR_blend_func_separate 1
  1.5725  #ifdef GL_GLEXT_PROTOTYPES
  1.5726 -GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum, GLenum);
  1.5727 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5728 -typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  1.5729 +    GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum, GLenum, GLenum,
  1.5730 +                                                 GLenum);
  1.5731 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5732 +    typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum
  1.5733 +                                                             sfactorRGB,
  1.5734 +                                                             GLenum
  1.5735 +                                                             dfactorRGB,
  1.5736 +                                                             GLenum
  1.5737 +                                                             sfactorAlpha,
  1.5738 +                                                             GLenum
  1.5739 +                                                             dfactorAlpha);
  1.5740  #endif
  1.5741  
  1.5742  #ifndef GL_INGR_color_clamp
  1.5743 @@ -5315,13 +7545,19 @@
  1.5744  #ifndef GL_EXT_vertex_weighting
  1.5745  #define GL_EXT_vertex_weighting 1
  1.5746  #ifdef GL_GLEXT_PROTOTYPES
  1.5747 -GLAPI void APIENTRY glVertexWeightfEXT (GLfloat);
  1.5748 -GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *);
  1.5749 -GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei, const GLvoid *);
  1.5750 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5751 -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  1.5752 -typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  1.5753 -typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1.5754 +    GLAPI void APIENTRY glVertexWeightfEXT (GLfloat);
  1.5755 +    GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *);
  1.5756 +    GLAPI void APIENTRY glVertexWeightPointerEXT (GLsizei, GLenum, GLsizei,
  1.5757 +                                                  const GLvoid *);
  1.5758 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5759 +    typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  1.5760 +    typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *
  1.5761 +                                                         weight);
  1.5762 +    typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLsizei size,
  1.5763 +                                                              GLenum type,
  1.5764 +                                                              GLsizei stride,
  1.5765 +                                                              const GLvoid *
  1.5766 +                                                              pointer);
  1.5767  #endif
  1.5768  
  1.5769  #ifndef GL_NV_light_max_exponent
  1.5770 @@ -5331,43 +7567,126 @@
  1.5771  #ifndef GL_NV_vertex_array_range
  1.5772  #define GL_NV_vertex_array_range 1
  1.5773  #ifdef GL_GLEXT_PROTOTYPES
  1.5774 -GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  1.5775 -GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
  1.5776 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5777 -typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  1.5778 -typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
  1.5779 +    GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  1.5780 +    GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei, const GLvoid *);
  1.5781 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5782 +    typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  1.5783 +    typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length,
  1.5784 +                                                          const GLvoid *
  1.5785 +                                                          pointer);
  1.5786  #endif
  1.5787  
  1.5788  #ifndef GL_NV_register_combiners
  1.5789  #define GL_NV_register_combiners 1
  1.5790  #ifdef GL_GLEXT_PROTOTYPES
  1.5791 -GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
  1.5792 -GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
  1.5793 -GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
  1.5794 -GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint);
  1.5795 -GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum);
  1.5796 -GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLenum, GLboolean, GLboolean, GLboolean);
  1.5797 -GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum, GLenum);
  1.5798 -GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum, GLenum, GLenum, GLfloat *);
  1.5799 -GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum, GLenum, GLenum, GLint *);
  1.5800 -GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum, GLenum, GLfloat *);
  1.5801 -GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum, GLenum, GLint *);
  1.5802 -GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum, GLfloat *);
  1.5803 -GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum, GLint *);
  1.5804 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5805 -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  1.5806 -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  1.5807 -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  1.5808 -typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  1.5809 -typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  1.5810 -typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  1.5811 -typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  1.5812 -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  1.5813 -typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  1.5814 -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  1.5815 -typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  1.5816 -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  1.5817 -typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  1.5818 +    GLAPI void APIENTRY glCombinerParameterfvNV (GLenum, const GLfloat *);
  1.5819 +    GLAPI void APIENTRY glCombinerParameterfNV (GLenum, GLfloat);
  1.5820 +    GLAPI void APIENTRY glCombinerParameterivNV (GLenum, const GLint *);
  1.5821 +    GLAPI void APIENTRY glCombinerParameteriNV (GLenum, GLint);
  1.5822 +    GLAPI void APIENTRY glCombinerInputNV (GLenum, GLenum, GLenum, GLenum,
  1.5823 +                                           GLenum, GLenum);
  1.5824 +    GLAPI void APIENTRY glCombinerOutputNV (GLenum, GLenum, GLenum, GLenum,
  1.5825 +                                            GLenum, GLenum, GLenum, GLboolean,
  1.5826 +                                            GLboolean, GLboolean);
  1.5827 +    GLAPI void APIENTRY glFinalCombinerInputNV (GLenum, GLenum, GLenum,
  1.5828 +                                                GLenum);
  1.5829 +    GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum, GLenum,
  1.5830 +                                                         GLenum, GLenum,
  1.5831 +                                                         GLfloat *);
  1.5832 +    GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum, GLenum,
  1.5833 +                                                         GLenum, GLenum,
  1.5834 +                                                         GLint *);
  1.5835 +    GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum, GLenum,
  1.5836 +                                                          GLenum, GLfloat *);
  1.5837 +    GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum, GLenum,
  1.5838 +                                                          GLenum, GLint *);
  1.5839 +    GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum, GLenum,
  1.5840 +                                                              GLfloat *);
  1.5841 +    GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum, GLenum,
  1.5842 +                                                              GLint *);
  1.5843 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5844 +    typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname,
  1.5845 +                                                             const GLfloat *
  1.5846 +                                                             params);
  1.5847 +    typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname,
  1.5848 +                                                            GLfloat param);
  1.5849 +    typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname,
  1.5850 +                                                             const GLint *
  1.5851 +                                                             params);
  1.5852 +    typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname,
  1.5853 +                                                            GLint param);
  1.5854 +    typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage,
  1.5855 +                                                       GLenum portion,
  1.5856 +                                                       GLenum variable,
  1.5857 +                                                       GLenum input,
  1.5858 +                                                       GLenum mapping,
  1.5859 +                                                       GLenum componentUsage);
  1.5860 +    typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage,
  1.5861 +                                                        GLenum portion,
  1.5862 +                                                        GLenum abOutput,
  1.5863 +                                                        GLenum cdOutput,
  1.5864 +                                                        GLenum sumOutput,
  1.5865 +                                                        GLenum scale,
  1.5866 +                                                        GLenum bias,
  1.5867 +                                                        GLboolean
  1.5868 +                                                        abDotProduct,
  1.5869 +                                                        GLboolean
  1.5870 +                                                        cdDotProduct,
  1.5871 +                                                        GLboolean muxSum);
  1.5872 +    typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable,
  1.5873 +                                                            GLenum input,
  1.5874 +                                                            GLenum mapping,
  1.5875 +                                                            GLenum
  1.5876 +                                                            componentUsage);
  1.5877 +    typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum
  1.5878 +                                                                     stage,
  1.5879 +                                                                     GLenum
  1.5880 +                                                                     portion,
  1.5881 +                                                                     GLenum
  1.5882 +                                                                     variable,
  1.5883 +                                                                     GLenum
  1.5884 +                                                                     pname,
  1.5885 +                                                                     GLfloat *
  1.5886 +                                                                     params);
  1.5887 +    typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum
  1.5888 +                                                                     stage,
  1.5889 +                                                                     GLenum
  1.5890 +                                                                     portion,
  1.5891 +                                                                     GLenum
  1.5892 +                                                                     variable,
  1.5893 +                                                                     GLenum
  1.5894 +                                                                     pname,
  1.5895 +                                                                     GLint *
  1.5896 +                                                                     params);
  1.5897 +    typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum
  1.5898 +                                                                      stage,
  1.5899 +                                                                      GLenum
  1.5900 +                                                                      portion,
  1.5901 +                                                                      GLenum
  1.5902 +                                                                      pname,
  1.5903 +                                                                      GLfloat
  1.5904 +                                                                      *
  1.5905 +                                                                      params);
  1.5906 +    typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum
  1.5907 +                                                                      stage,
  1.5908 +                                                                      GLenum
  1.5909 +                                                                      portion,
  1.5910 +                                                                      GLenum
  1.5911 +                                                                      pname,
  1.5912 +                                                                      GLint *
  1.5913 +                                                                      params);
  1.5914 +    typedef void (APIENTRYP
  1.5915 +                  PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum
  1.5916 +                                                                variable,
  1.5917 +                                                                GLenum pname,
  1.5918 +                                                                GLfloat *
  1.5919 +                                                                params);
  1.5920 +    typedef void (APIENTRYP
  1.5921 +                  PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum
  1.5922 +                                                                variable,
  1.5923 +                                                                GLenum pname,
  1.5924 +                                                                GLint *
  1.5925 +                                                                params);
  1.5926  #endif
  1.5927  
  1.5928  #ifndef GL_NV_fog_distance
  1.5929 @@ -5389,63 +7708,76 @@
  1.5930  #ifndef GL_MESA_resize_buffers
  1.5931  #define GL_MESA_resize_buffers 1
  1.5932  #ifdef GL_GLEXT_PROTOTYPES
  1.5933 -GLAPI void APIENTRY glResizeBuffersMESA (void);
  1.5934 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5935 -typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  1.5936 +    GLAPI void APIENTRY glResizeBuffersMESA (void);
  1.5937 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.5938 +    typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  1.5939  #endif
  1.5940  
  1.5941  #ifndef GL_MESA_window_pos
  1.5942  #define GL_MESA_window_pos 1
  1.5943  #ifdef GL_GLEXT_PROTOTYPES
  1.5944 -GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
  1.5945 -GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *);
  1.5946 -GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
  1.5947 -GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *);
  1.5948 -GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint);
  1.5949 -GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *);
  1.5950 -GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
  1.5951 -GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *);
  1.5952 -GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
  1.5953 -GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *);
  1.5954 -GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
  1.5955 -GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *);
  1.5956 -GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
  1.5957 -GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *);
  1.5958 -GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
  1.5959 -GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *);
  1.5960 -GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble, GLdouble);
  1.5961 -GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *);
  1.5962 -GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat, GLfloat);
  1.5963 -GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *);
  1.5964 -GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
  1.5965 -GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *);
  1.5966 -GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort, GLshort);
  1.5967 -GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *);
  1.5968 -#endif /* GL_GLEXT_PROTOTYPES */
  1.5969 -typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  1.5970 -typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  1.5971 -typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  1.5972 -typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  1.5973 -typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  1.5974 -typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  1.5975 -typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  1.5976 -typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  1.5977 -typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  1.5978 -typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  1.5979 -typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  1.5980 -typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  1.5981 -typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  1.5982 -typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  1.5983 -typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  1.5984 -typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  1.5985 -typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1.5986 -typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  1.5987 -typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1.5988 -typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  1.5989 -typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  1.5990 -typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  1.5991 -typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  1.5992 -typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  1.5993 +    GLAPI void APIENTRY glWindowPos2dMESA (GLdouble, GLdouble);
  1.5994 +    GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *);
  1.5995 +    GLAPI void APIENTRY glWindowPos2fMESA (GLfloat, GLfloat);
  1.5996 +    GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *);
  1.5997 +    GLAPI void APIENTRY glWindowPos2iMESA (GLint, GLint);
  1.5998 +    GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *);
  1.5999 +    GLAPI void APIENTRY glWindowPos2sMESA (GLshort, GLshort);
  1.6000 +    GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *);
  1.6001 +    GLAPI void APIENTRY glWindowPos3dMESA (GLdouble, GLdouble, GLdouble);
  1.6002 +    GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *);
  1.6003 +    GLAPI void APIENTRY glWindowPos3fMESA (GLfloat, GLfloat, GLfloat);
  1.6004 +    GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *);
  1.6005 +    GLAPI void APIENTRY glWindowPos3iMESA (GLint, GLint, GLint);
  1.6006 +    GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *);
  1.6007 +    GLAPI void APIENTRY glWindowPos3sMESA (GLshort, GLshort, GLshort);
  1.6008 +    GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *);
  1.6009 +    GLAPI void APIENTRY glWindowPos4dMESA (GLdouble, GLdouble, GLdouble,
  1.6010 +                                           GLdouble);
  1.6011 +    GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *);
  1.6012 +    GLAPI void APIENTRY glWindowPos4fMESA (GLfloat, GLfloat, GLfloat,
  1.6013 +                                           GLfloat);
  1.6014 +    GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *);
  1.6015 +    GLAPI void APIENTRY glWindowPos4iMESA (GLint, GLint, GLint, GLint);
  1.6016 +    GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *);
  1.6017 +    GLAPI void APIENTRY glWindowPos4sMESA (GLshort, GLshort, GLshort,
  1.6018 +                                           GLshort);
  1.6019 +    GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *);
  1.6020 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6021 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x,
  1.6022 +                                                       GLdouble y);
  1.6023 +    typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble * v);
  1.6024 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  1.6025 +    typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat * v);
  1.6026 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  1.6027 +    typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint * v);
  1.6028 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  1.6029 +    typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort * v);
  1.6030 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y,
  1.6031 +                                                       GLdouble z);
  1.6032 +    typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble * v);
  1.6033 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y,
  1.6034 +                                                       GLfloat z);
  1.6035 +    typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat * v);
  1.6036 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y,
  1.6037 +                                                       GLint z);
  1.6038 +    typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint * v);
  1.6039 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y,
  1.6040 +                                                       GLshort z);
  1.6041 +    typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort * v);
  1.6042 +    typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y,
  1.6043 +                                                       GLdouble z,
  1.6044 +                                                       GLdouble w);
  1.6045 +    typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble * v);
  1.6046 +    typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y,
  1.6047 +                                                       GLfloat z, GLfloat w);
  1.6048 +    typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat * v);
  1.6049 +    typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y,
  1.6050 +                                                       GLint z, GLint w);
  1.6051 +    typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint * v);
  1.6052 +    typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y,
  1.6053 +                                                       GLshort z, GLshort w);
  1.6054 +    typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort * v);
  1.6055  #endif
  1.6056  
  1.6057  #ifndef GL_IBM_cull_vertex
  1.6058 @@ -5455,33 +7787,111 @@
  1.6059  #ifndef GL_IBM_multimode_draw_arrays
  1.6060  #define GL_IBM_multimode_draw_arrays 1
  1.6061  #ifdef GL_GLEXT_PROTOTYPES
  1.6062 -GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *, const GLint *, const GLsizei *, GLsizei, GLint);
  1.6063 -GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *, const GLsizei *, GLenum, const GLvoid* const *, GLsizei, GLint);
  1.6064 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6065 -typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  1.6066 -typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  1.6067 +    GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *,
  1.6068 +                                                  const GLint *,
  1.6069 +                                                  const GLsizei *, GLsizei,
  1.6070 +                                                  GLint);
  1.6071 +    GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *,
  1.6072 +                                                    const GLsizei *, GLenum,
  1.6073 +                                                    const GLvoid * const *,
  1.6074 +                                                    GLsizei, GLint);
  1.6075 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6076 +    typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *
  1.6077 +                                                              mode,
  1.6078 +                                                              const GLint *
  1.6079 +                                                              first,
  1.6080 +                                                              const GLsizei *
  1.6081 +                                                              count,
  1.6082 +                                                              GLsizei
  1.6083 +                                                              primcount,
  1.6084 +                                                              GLint
  1.6085 +                                                              modestride);
  1.6086 +    typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *
  1.6087 +                                                                mode,
  1.6088 +                                                                const GLsizei
  1.6089 +                                                                * count,
  1.6090 +                                                                GLenum type,
  1.6091 +                                                                const GLvoid *
  1.6092 +                                                                const
  1.6093 +                                                                *indices,
  1.6094 +                                                                GLsizei
  1.6095 +                                                                primcount,
  1.6096 +                                                                GLint
  1.6097 +                                                                modestride);
  1.6098  #endif
  1.6099  
  1.6100  #ifndef GL_IBM_vertex_array_lists
  1.6101  #define GL_IBM_vertex_array_lists 1
  1.6102  #ifdef GL_GLEXT_PROTOTYPES
  1.6103 -GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  1.6104 -GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  1.6105 -GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean* *, GLint);
  1.6106 -GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  1.6107 -GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  1.6108 -GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint, const GLvoid* *, GLint);
  1.6109 -GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  1.6110 -GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint, const GLvoid* *, GLint);
  1.6111 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6112 -typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6113 -typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6114 -typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  1.6115 -typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6116 -typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6117 -typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6118 -typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6119 -typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  1.6120 +    GLAPI void APIENTRY glColorPointerListIBM (GLint, GLenum, GLint,
  1.6121 +                                               const GLvoid * *, GLint);
  1.6122 +    GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint, GLenum, GLint,
  1.6123 +                                                        const GLvoid * *,
  1.6124 +                                                        GLint);
  1.6125 +    GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint, const GLboolean * *,
  1.6126 +                                                  GLint);
  1.6127 +    GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum, GLint,
  1.6128 +                                                  const GLvoid * *, GLint);
  1.6129 +    GLAPI void APIENTRY glIndexPointerListIBM (GLenum, GLint,
  1.6130 +                                               const GLvoid * *, GLint);
  1.6131 +    GLAPI void APIENTRY glNormalPointerListIBM (GLenum, GLint,
  1.6132 +                                                const GLvoid * *, GLint);
  1.6133 +    GLAPI void APIENTRY glTexCoordPointerListIBM (GLint, GLenum, GLint,
  1.6134 +                                                  const GLvoid * *, GLint);
  1.6135 +    GLAPI void APIENTRY glVertexPointerListIBM (GLint, GLenum, GLint,
  1.6136 +                                                const GLvoid * *, GLint);
  1.6137 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6138 +    typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size,
  1.6139 +                                                           GLenum type,
  1.6140 +                                                           GLint stride,
  1.6141 +                                                           const GLvoid *
  1.6142 +                                                           *pointer,
  1.6143 +                                                           GLint ptrstride);
  1.6144 +    typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint
  1.6145 +                                                                    size,
  1.6146 +                                                                    GLenum
  1.6147 +                                                                    type,
  1.6148 +                                                                    GLint
  1.6149 +                                                                    stride,
  1.6150 +                                                                    const
  1.6151 +                                                                    GLvoid *
  1.6152 +                                                                    *pointer,
  1.6153 +                                                                    GLint
  1.6154 +                                                                    ptrstride);
  1.6155 +    typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride,
  1.6156 +                                                              const GLboolean
  1.6157 +                                                              * *pointer,
  1.6158 +                                                              GLint
  1.6159 +                                                              ptrstride);
  1.6160 +    typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type,
  1.6161 +                                                              GLint stride,
  1.6162 +                                                              const GLvoid *
  1.6163 +                                                              *pointer,
  1.6164 +                                                              GLint
  1.6165 +                                                              ptrstride);
  1.6166 +    typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type,
  1.6167 +                                                           GLint stride,
  1.6168 +                                                           const GLvoid *
  1.6169 +                                                           *pointer,
  1.6170 +                                                           GLint ptrstride);
  1.6171 +    typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type,
  1.6172 +                                                            GLint stride,
  1.6173 +                                                            const GLvoid *
  1.6174 +                                                            *pointer,
  1.6175 +                                                            GLint ptrstride);
  1.6176 +    typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size,
  1.6177 +                                                              GLenum type,
  1.6178 +                                                              GLint stride,
  1.6179 +                                                              const GLvoid *
  1.6180 +                                                              *pointer,
  1.6181 +                                                              GLint
  1.6182 +                                                              ptrstride);
  1.6183 +    typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size,
  1.6184 +                                                            GLenum type,
  1.6185 +                                                            GLint stride,
  1.6186 +                                                            const GLvoid *
  1.6187 +                                                            *pointer,
  1.6188 +                                                            GLint ptrstride);
  1.6189  #endif
  1.6190  
  1.6191  #ifndef GL_SGIX_subsample
  1.6192 @@ -5511,19 +7921,20 @@
  1.6193  #ifndef GL_3DFX_tbuffer
  1.6194  #define GL_3DFX_tbuffer 1
  1.6195  #ifdef GL_GLEXT_PROTOTYPES
  1.6196 -GLAPI void APIENTRY glTbufferMask3DFX (GLuint);
  1.6197 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6198 -typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  1.6199 +    GLAPI void APIENTRY glTbufferMask3DFX (GLuint);
  1.6200 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6201 +    typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  1.6202  #endif
  1.6203  
  1.6204  #ifndef GL_EXT_multisample
  1.6205  #define GL_EXT_multisample 1
  1.6206  #ifdef GL_GLEXT_PROTOTYPES
  1.6207 -GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
  1.6208 -GLAPI void APIENTRY glSamplePatternEXT (GLenum);
  1.6209 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6210 -typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  1.6211 -typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  1.6212 +    GLAPI void APIENTRY glSampleMaskEXT (GLclampf, GLboolean);
  1.6213 +    GLAPI void APIENTRY glSamplePatternEXT (GLenum);
  1.6214 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6215 +    typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value,
  1.6216 +                                                     GLboolean invert);
  1.6217 +    typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  1.6218  #endif
  1.6219  
  1.6220  #ifndef GL_SGIX_vertex_preclip
  1.6221 @@ -5545,17 +7956,23 @@
  1.6222  #ifndef GL_SGIS_texture_color_mask
  1.6223  #define GL_SGIS_texture_color_mask 1
  1.6224  #ifdef GL_GLEXT_PROTOTYPES
  1.6225 -GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean, GLboolean, GLboolean);
  1.6226 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6227 -typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  1.6228 +    GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean, GLboolean,
  1.6229 +                                                GLboolean, GLboolean);
  1.6230 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6231 +    typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red,
  1.6232 +                                                            GLboolean green,
  1.6233 +                                                            GLboolean blue,
  1.6234 +                                                            GLboolean alpha);
  1.6235  #endif
  1.6236  
  1.6237  #ifndef GL_SGIX_igloo_interface
  1.6238  #define GL_SGIX_igloo_interface 1
  1.6239  #ifdef GL_GLEXT_PROTOTYPES
  1.6240 -GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *);
  1.6241 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6242 -typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
  1.6243 +    GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum, const GLvoid *);
  1.6244 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6245 +    typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname,
  1.6246 +                                                          const GLvoid *
  1.6247 +                                                          params);
  1.6248  #endif
  1.6249  
  1.6250  #ifndef GL_EXT_texture_env_dot3
  1.6251 @@ -5569,45 +7986,90 @@
  1.6252  #ifndef GL_NV_fence
  1.6253  #define GL_NV_fence 1
  1.6254  #ifdef GL_GLEXT_PROTOTYPES
  1.6255 -GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
  1.6256 -GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *);
  1.6257 -GLAPI GLboolean APIENTRY glIsFenceNV (GLuint);
  1.6258 -GLAPI GLboolean APIENTRY glTestFenceNV (GLuint);
  1.6259 -GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
  1.6260 -GLAPI void APIENTRY glFinishFenceNV (GLuint);
  1.6261 -GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum);
  1.6262 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6263 -typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  1.6264 -typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  1.6265 -typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  1.6266 -typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  1.6267 -typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  1.6268 -typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  1.6269 -typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  1.6270 +    GLAPI void APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
  1.6271 +    GLAPI void APIENTRY glGenFencesNV (GLsizei, GLuint *);
  1.6272 +    GLAPI GLboolean APIENTRY glIsFenceNV (GLuint);
  1.6273 +    GLAPI GLboolean APIENTRY glTestFenceNV (GLuint);
  1.6274 +    GLAPI void APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
  1.6275 +    GLAPI void APIENTRY glFinishFenceNV (GLuint);
  1.6276 +    GLAPI void APIENTRY glSetFenceNV (GLuint, GLenum);
  1.6277 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6278 +    typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n,
  1.6279 +                                                      const GLuint * fences);
  1.6280 +    typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n,
  1.6281 +                                                   GLuint * fences);
  1.6282 +    typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  1.6283 +    typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  1.6284 +    typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence,
  1.6285 +                                                    GLenum pname,
  1.6286 +                                                    GLint * params);
  1.6287 +    typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  1.6288 +    typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence,
  1.6289 +                                                  GLenum condition);
  1.6290  #endif
  1.6291  
  1.6292  #ifndef GL_NV_evaluators
  1.6293  #define GL_NV_evaluators 1
  1.6294  #ifdef GL_GLEXT_PROTOTYPES
  1.6295 -GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLint, GLint, GLboolean, const GLvoid *);
  1.6296 -GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *);
  1.6297 -GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
  1.6298 -GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei, GLsizei, GLboolean, GLvoid *);
  1.6299 -GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *);
  1.6300 -GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
  1.6301 -GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum, GLint *);
  1.6302 -GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum, GLfloat *);
  1.6303 -GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum);
  1.6304 -#endif /* GL_GLEXT_PROTOTYPES */
  1.6305 -typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  1.6306 -typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  1.6307 -typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1.6308 -typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  1.6309 -typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  1.6310 -typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1.6311 -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  1.6312 -typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  1.6313 -typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  1.6314 +    GLAPI void APIENTRY glMapControlPointsNV (GLenum, GLuint, GLenum, GLsizei,
  1.6315 +                                              GLsizei, GLint, GLint,
  1.6316 +                                              GLboolean, const GLvoid *);
  1.6317 +    GLAPI void APIENTRY glMapParameterivNV (GLenum, GLenum, const GLint *);
  1.6318 +    GLAPI void APIENTRY glMapParameterfvNV (GLenum, GLenum, const GLfloat *);
  1.6319 +    GLAPI void APIENTRY glGetMapControlPointsNV (GLenum, GLuint, GLenum,
  1.6320 +                                                 GLsizei, GLsizei, GLboolean,
  1.6321 +                                                 GLvoid *);
  1.6322 +    GLAPI void APIENTRY glGetMapParameterivNV (GLenum, GLenum, GLint *);
  1.6323 +    GLAPI void APIENTRY glGetMapParameterfvNV (GLenum, GLenum, GLfloat *);
  1.6324 +    GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum, GLuint, GLenum,
  1.6325 +                                                     GLint *);
  1.6326 +    GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum, GLuint, GLenum,
  1.6327 +                                                     GLfloat *);
  1.6328 +    GLAPI void APIENTRY glEvalMapsNV (GLenum, GLenum);
  1.6329 +#endif                          /* GL_GLEXT_PROTOTYPES */
  1.6330 +    typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target,
  1.6331 +                                                          GLuint index,
  1.6332 +                                                          GLenum type,
  1.6333 +                                                          GLsizei ustride,
  1.6334 +                                                          GLsizei vstride,
  1.6335 +                                                          GLint uorder,
  1.6336 +                                                          GLint vorder,
  1.6337 +                                                          GLboolean packed,
  1.6338 +                                                          const GLvoid *
  1.6339 +                                                          points);
  1.6340 +    typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target,
  1.6341 +                                                        GLenum pname,
  1.6342 +                                                        const GLint * params);
  1.6343 +    typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target,
  1.6344 +                                                        GLenum pname,
  1.6345 +                                                        const GLfloat *
  1.6346 +                                                        params);
  1.6347 +    typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target,
  1.6348 +                                                             GLuint index,
  1.6349 +                                                             GLenum type,
  1.6350 +                                                             GLsizei ustride,
  1.6351 +                                                             GLsizei vstride,
  1.6352 +                                                             GLboolean packed,
  1.6353 +                                                             GLvoid * points);
  1.6354 +    typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target,
  1.6355 +                                                           GLenum pname,
  1.6356 +                                                           GLint * params);
  1.6357 +    typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target,
  1.6358 +                                                           GLenum pname,
  1.6359 +                                                           GLfloat * params);
  1.6360 +    typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum
  1.6361 +                                                                 target,
  1.6362 +                                                                 GLuint index,
  1.6363 +                                                                 GLenum pname,
  1.6364 +                                                                 GLint *
  1.6365 +                                                                 params);
  1.6366 +    typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum
  1.6367 +                                                                 target,
  1.6368 +                                                                 GLuint index,
  1.6369 +                                                                 GLenum pname,
  1.6370 +                                                                 GLfloat *
  1.6371 +                                                                 params);
  1.6372 +    typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  1.6373  #endif
  1.6374  
  1.6375  #ifndef GL_NV_packed_depth_stencil
  1.6376 @@ -5617,11 +8079,24 @@
  1.6377  #ifndef GL_NV_register_combiners2
  1.6378  #define GL_NV_register_combiners2 1
  1.6379  #ifdef GL_GLEXT_PROTOTYPES
  1.6380 -GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum, GLenum, const GLfloat *);
  1.6381 -GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum, GLenum, GLfloat *);
  1.6382 -#endif /* GL_GLEXT_PROTOTYP