include/SDL_opengles.h
changeset 2753 0969758c8809
parent 2746 722339a7a126
child 2765 f55c87ae336b
     1.1 --- a/include/SDL_opengles.h	Mon Sep 15 04:31:30 2008 +0000
     1.2 +++ b/include/SDL_opengles.h	Mon Sep 15 04:32:36 2008 +0000
     1.3 @@ -32,19 +32,20 @@
     1.4  /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
     1.5  
     1.6  #ifdef __cplusplus
     1.7 -extern "C" {
     1.8 +extern "C"
     1.9 +{
    1.10  #endif
    1.11  
    1.12 -	
    1.13 +
    1.14  #ifndef APIENTRY
    1.15  #define APIENTRY
    1.16 -#endif	
    1.17 -	
    1.18 +#endif
    1.19 +
    1.20  #ifndef GL_APIENTRY
    1.21  #define GL_APIENTRY
    1.22 -#endif	
    1.23 -	
    1.24 -	
    1.25 +#endif
    1.26 +
    1.27 +
    1.28  /*
    1.29  ** License Applicability. Except to the extent portions of this file are
    1.30  ** made subject to an alternative license as permitted in the SGI Free
    1.31 @@ -79,24 +80,24 @@
    1.32  ** compliant with the OpenGL(R) version 1.2.1 Specification.
    1.33  */
    1.34  
    1.35 -typedef unsigned int    GLenum;
    1.36 -typedef unsigned char   GLboolean;
    1.37 -typedef unsigned int    GLbitfield;
    1.38 -typedef signed char     GLbyte;
    1.39 -typedef short           GLshort;
    1.40 -typedef int             GLint;
    1.41 -typedef int             GLsizei;
    1.42 -typedef unsigned char   GLubyte;
    1.43 -typedef unsigned short  GLushort;
    1.44 -typedef unsigned int    GLuint;
    1.45 -typedef float           GLfloat;
    1.46 -typedef float           GLclampf;
    1.47 -typedef void            GLvoid;
    1.48 -typedef int             GLfixed;
    1.49 -typedef int             GLclampx;
    1.50 +    typedef unsigned int GLenum;
    1.51 +    typedef unsigned char GLboolean;
    1.52 +    typedef unsigned int GLbitfield;
    1.53 +    typedef signed char GLbyte;
    1.54 +    typedef short GLshort;
    1.55 +    typedef int GLint;
    1.56 +    typedef int GLsizei;
    1.57 +    typedef unsigned char GLubyte;
    1.58 +    typedef unsigned short GLushort;
    1.59 +    typedef unsigned int GLuint;
    1.60 +    typedef float GLfloat;
    1.61 +    typedef float GLclampf;
    1.62 +    typedef void GLvoid;
    1.63 +    typedef int GLfixed;
    1.64 +    typedef int GLclampx;
    1.65  
    1.66 -typedef int             GLintptr;
    1.67 -typedef int             GLsizeiptr;
    1.68 +    typedef int GLintptr;
    1.69 +    typedef int GLsizeiptr;
    1.70  
    1.71  
    1.72  /*************************************************************/
    1.73 @@ -654,152 +655,262 @@
    1.74  /*************************************************************/
    1.75  
    1.76  /* Available only in Common profile */
    1.77 -GL_API void GL_APIENTRY glAlphaFunc (GLenum func, GLclampf ref);
    1.78 -GL_API void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
    1.79 -GL_API void GL_APIENTRY glClearDepthf (GLclampf depth);
    1.80 -GL_API void GL_APIENTRY glClipPlanef (GLenum plane, const GLfloat *equation);
    1.81 -GL_API void GL_APIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
    1.82 -GL_API void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);
    1.83 -GL_API void GL_APIENTRY glFogf (GLenum pname, GLfloat param);
    1.84 -GL_API void GL_APIENTRY glFogfv (GLenum pname, const GLfloat *params);
    1.85 -GL_API void GL_APIENTRY glFrustumf (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
    1.86 -GL_API void GL_APIENTRY glGetClipPlanef (GLenum pname, GLfloat eqn[4]);
    1.87 -GL_API void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *params);
    1.88 -GL_API void GL_APIENTRY glGetLightfv (GLenum light, GLenum pname, GLfloat *params);
    1.89 -GL_API void GL_APIENTRY glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params);
    1.90 -GL_API void GL_APIENTRY glGetTexEnvfv (GLenum env, GLenum pname, GLfloat *params);
    1.91 -GL_API void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
    1.92 -GL_API void GL_APIENTRY glLightModelf (GLenum pname, GLfloat param);
    1.93 -GL_API void GL_APIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
    1.94 -GL_API void GL_APIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
    1.95 -GL_API void GL_APIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
    1.96 -GL_API void GL_APIENTRY glLineWidth (GLfloat width);
    1.97 -GL_API void GL_APIENTRY glLoadMatrixf (const GLfloat *m);
    1.98 -GL_API void GL_APIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
    1.99 -GL_API void GL_APIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
   1.100 -GL_API void GL_APIENTRY glMultMatrixf (const GLfloat *m);
   1.101 -GL_API void GL_APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
   1.102 -GL_API void GL_APIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
   1.103 -GL_API void GL_APIENTRY glOrthof (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
   1.104 -GL_API void GL_APIENTRY glPointParameterf (GLenum pname, GLfloat param);
   1.105 -GL_API void GL_APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
   1.106 -GL_API void GL_APIENTRY glPointSize (GLfloat size);
   1.107 -GL_API void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
   1.108 -GL_API void GL_APIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
   1.109 -GL_API void GL_APIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
   1.110 -GL_API void GL_APIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
   1.111 -GL_API void GL_APIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
   1.112 -GL_API void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
   1.113 -GL_API void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
   1.114 -GL_API void GL_APIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
   1.115 +    GL_API void GL_APIENTRY glAlphaFunc(GLenum func, GLclampf ref);
   1.116 +    GL_API void GL_APIENTRY glClearColor(GLclampf red, GLclampf green,
   1.117 +                                         GLclampf blue, GLclampf alpha);
   1.118 +    GL_API void GL_APIENTRY glClearDepthf(GLclampf depth);
   1.119 +    GL_API void GL_APIENTRY glClipPlanef(GLenum plane,
   1.120 +                                         const GLfloat * equation);
   1.121 +    GL_API void GL_APIENTRY glColor4f(GLfloat red, GLfloat green,
   1.122 +                                      GLfloat blue, GLfloat alpha);
   1.123 +    GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
   1.124 +    GL_API void GL_APIENTRY glFogf(GLenum pname, GLfloat param);
   1.125 +    GL_API void GL_APIENTRY glFogfv(GLenum pname, const GLfloat * params);
   1.126 +    GL_API void GL_APIENTRY glFrustumf(GLfloat left, GLfloat right,
   1.127 +                                       GLfloat bottom, GLfloat top,
   1.128 +                                       GLfloat zNear, GLfloat zFar);
   1.129 +    GL_API void GL_APIENTRY glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
   1.130 +    GL_API void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat * params);
   1.131 +    GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname,
   1.132 +                                         GLfloat * params);
   1.133 +    GL_API void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname,
   1.134 +                                            GLfloat * params);
   1.135 +    GL_API void GL_APIENTRY glGetTexEnvfv(GLenum env, GLenum pname,
   1.136 +                                          GLfloat * params);
   1.137 +    GL_API void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname,
   1.138 +                                                GLfloat * params);
   1.139 +    GL_API void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param);
   1.140 +    GL_API void GL_APIENTRY glLightModelfv(GLenum pname,
   1.141 +                                           const GLfloat * params);
   1.142 +    GL_API void GL_APIENTRY glLightf(GLenum light, GLenum pname,
   1.143 +                                     GLfloat param);
   1.144 +    GL_API void GL_APIENTRY glLightfv(GLenum light, GLenum pname,
   1.145 +                                      const GLfloat * params);
   1.146 +    GL_API void GL_APIENTRY glLineWidth(GLfloat width);
   1.147 +    GL_API void GL_APIENTRY glLoadMatrixf(const GLfloat * m);
   1.148 +    GL_API void GL_APIENTRY glMaterialf(GLenum face, GLenum pname,
   1.149 +                                        GLfloat param);
   1.150 +    GL_API void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname,
   1.151 +                                         const GLfloat * params);
   1.152 +    GL_API void GL_APIENTRY glMultMatrixf(const GLfloat * m);
   1.153 +    GL_API void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s,
   1.154 +                                              GLfloat t, GLfloat r,
   1.155 +                                              GLfloat q);
   1.156 +    GL_API void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
   1.157 +    GL_API void GL_APIENTRY glOrthof(GLfloat left, GLfloat right,
   1.158 +                                     GLfloat bottom, GLfloat top,
   1.159 +                                     GLfloat zNear, GLfloat zFar);
   1.160 +    GL_API void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param);
   1.161 +    GL_API void GL_APIENTRY glPointParameterfv(GLenum pname,
   1.162 +                                               const GLfloat * params);
   1.163 +    GL_API void GL_APIENTRY glPointSize(GLfloat size);
   1.164 +    GL_API void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
   1.165 +    GL_API void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y,
   1.166 +                                      GLfloat z);
   1.167 +    GL_API void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z);
   1.168 +    GL_API void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname,
   1.169 +                                      GLfloat param);
   1.170 +    GL_API void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname,
   1.171 +                                       const GLfloat * params);
   1.172 +    GL_API void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname,
   1.173 +                                            GLfloat param);
   1.174 +    GL_API void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname,
   1.175 +                                             const GLfloat * params);
   1.176 +    GL_API void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z);
   1.177  
   1.178  /* Available in both Common and Common-Lite profiles */
   1.179 -GL_API void GL_APIENTRY glActiveTexture (GLenum texture);
   1.180 -GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLclampx ref);
   1.181 -GL_API void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
   1.182 -GL_API void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
   1.183 -GL_API void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
   1.184 -GL_API void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
   1.185 -GL_API void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
   1.186 -GL_API void GL_APIENTRY glClear (GLbitfield mask);
   1.187 -GL_API void GL_APIENTRY glClearColorx (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
   1.188 -GL_API void GL_APIENTRY glClearDepthx (GLclampx depth);
   1.189 -GL_API void GL_APIENTRY glClearStencil (GLint s);
   1.190 -GL_API void GL_APIENTRY glClientActiveTexture (GLenum texture);
   1.191 -GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation);
   1.192 -GL_API void GL_APIENTRY glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
   1.193 -GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
   1.194 -GL_API void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
   1.195 -GL_API void GL_APIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.196 -GL_API void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
   1.197 -GL_API void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
   1.198 -GL_API void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
   1.199 -GL_API void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
   1.200 -GL_API void GL_APIENTRY glCullFace (GLenum mode);
   1.201 -GL_API void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
   1.202 -GL_API void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
   1.203 -GL_API void GL_APIENTRY glDepthFunc (GLenum func);
   1.204 -GL_API void GL_APIENTRY glDepthMask (GLboolean flag);
   1.205 -GL_API void GL_APIENTRY glDepthRangex (GLclampx zNear, GLclampx zFar);
   1.206 -GL_API void GL_APIENTRY glDisable (GLenum cap);
   1.207 -GL_API void GL_APIENTRY glDisableClientState (GLenum array);
   1.208 -GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
   1.209 -GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
   1.210 -GL_API void GL_APIENTRY glEnable (GLenum cap);
   1.211 -GL_API void GL_APIENTRY glEnableClientState (GLenum array);
   1.212 -GL_API void GL_APIENTRY glFinish (void);
   1.213 -GL_API void GL_APIENTRY glFlush (void);
   1.214 -GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param);
   1.215 -GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *params);
   1.216 -GL_API void GL_APIENTRY glFrontFace (GLenum mode);
   1.217 -GL_API void GL_APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
   1.218 -GL_API void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *params);
   1.219 -GL_API void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
   1.220 -GL_API void GL_APIENTRY glGetClipPlanex (GLenum pname, GLfixed eqn[4]);
   1.221 -GL_API void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
   1.222 -GL_API void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
   1.223 -GL_API GLenum GL_APIENTRY glGetError (void);
   1.224 -GL_API void GL_APIENTRY glGetFixedv (GLenum pname, GLfixed *params);
   1.225 -GL_API void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *params);
   1.226 -GL_API void GL_APIENTRY glGetLightxv (GLenum light, GLenum pname, GLfixed *params);
   1.227 -GL_API void GL_APIENTRY glGetMaterialxv (GLenum face, GLenum pname, GLfixed *params);
   1.228 -GL_API void GL_APIENTRY glGetPointerv (GLenum pname, void **params);
   1.229 -GL_API const GLubyte * GL_APIENTRY glGetString (GLenum name);
   1.230 -GL_API void GL_APIENTRY glGetTexEnviv (GLenum env, GLenum pname, GLint *params);
   1.231 -GL_API void GL_APIENTRY glGetTexEnvxv (GLenum env, GLenum pname, GLfixed *params);
   1.232 -GL_API void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
   1.233 -GL_API void GL_APIENTRY glGetTexParameterxv (GLenum target, GLenum pname, GLfixed *params);
   1.234 -GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
   1.235 -GL_API GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
   1.236 -GL_API GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
   1.237 -GL_API GLboolean GL_APIENTRY glIsTexture (GLuint texture);
   1.238 -GL_API void GL_APIENTRY glLightModelx (GLenum pname, GLfixed param);
   1.239 -GL_API void GL_APIENTRY glLightModelxv (GLenum pname, const GLfixed *params);
   1.240 -GL_API void GL_APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param);
   1.241 -GL_API void GL_APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params);
   1.242 -GL_API void GL_APIENTRY glLineWidthx (GLfixed width);
   1.243 -GL_API void GL_APIENTRY glLoadIdentity (void);
   1.244 -GL_API void GL_APIENTRY glLoadMatrixx (const GLfixed *m);
   1.245 -GL_API void GL_APIENTRY glLogicOp (GLenum opcode);
   1.246 -GL_API void GL_APIENTRY glMaterialx (GLenum face, GLenum pname, GLfixed param);
   1.247 -GL_API void GL_APIENTRY glMaterialxv (GLenum face, GLenum pname, const GLfixed *params);
   1.248 -GL_API void GL_APIENTRY glMatrixMode (GLenum mode);
   1.249 -GL_API void GL_APIENTRY glMultMatrixx (const GLfixed *m);
   1.250 -GL_API void GL_APIENTRY glMultiTexCoord4x (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
   1.251 -GL_API void GL_APIENTRY glNormal3x (GLfixed nx, GLfixed ny, GLfixed nz);
   1.252 -GL_API void GL_APIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
   1.253 -GL_API void GL_APIENTRY glOrthox (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
   1.254 -GL_API void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
   1.255 -GL_API void GL_APIENTRY glPointParameterx (GLenum pname, GLfixed param);
   1.256 -GL_API void GL_APIENTRY glPointParameterxv (GLenum pname, const GLfixed *params);
   1.257 -GL_API void GL_APIENTRY glPointSizex (GLfixed size);
   1.258 -GL_API void GL_APIENTRY glPolygonOffsetx (GLfixed factor, GLfixed units);
   1.259 -GL_API void GL_APIENTRY glPopMatrix (void);
   1.260 -GL_API void GL_APIENTRY glPushMatrix (void);
   1.261 -GL_API void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
   1.262 -GL_API void GL_APIENTRY glRotatex (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
   1.263 -GL_API void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);
   1.264 -GL_API void GL_APIENTRY glSampleCoveragex (GLclampx value, GLboolean invert);
   1.265 -GL_API void GL_APIENTRY glScalex (GLfixed x, GLfixed y, GLfixed z);
   1.266 -GL_API void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
   1.267 -GL_API void GL_APIENTRY glShadeModel (GLenum mode);
   1.268 -GL_API void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
   1.269 -GL_API void GL_APIENTRY glStencilMask (GLuint mask);
   1.270 -GL_API void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
   1.271 -GL_API void GL_APIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.272 -GL_API void GL_APIENTRY glTexEnvi (GLenum target, GLenum pname, GLint param);
   1.273 -GL_API void GL_APIENTRY glTexEnvx (GLenum target, GLenum pname, GLfixed param);
   1.274 -GL_API void GL_APIENTRY glTexEnviv (GLenum target, GLenum pname, const GLint *params);
   1.275 -GL_API void GL_APIENTRY glTexEnvxv (GLenum target, GLenum pname, const GLfixed *params);
   1.276 -GL_API void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
   1.277 -GL_API void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
   1.278 -GL_API void GL_APIENTRY glTexParameterx (GLenum target, GLenum pname, GLfixed param);
   1.279 -GL_API void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
   1.280 -GL_API void GL_APIENTRY glTexParameterxv (GLenum target, GLenum pname, const GLfixed *params);
   1.281 -GL_API void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
   1.282 -GL_API void GL_APIENTRY glTranslatex (GLfixed x, GLfixed y, GLfixed z);
   1.283 -GL_API void GL_APIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
   1.284 -GL_API void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
   1.285 +    GL_API void GL_APIENTRY glActiveTexture(GLenum texture);
   1.286 +    GL_API void GL_APIENTRY glAlphaFuncx(GLenum func, GLclampx ref);
   1.287 +    GL_API void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
   1.288 +    GL_API void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
   1.289 +    GL_API void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
   1.290 +    GL_API void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size,
   1.291 +                                         const GLvoid * data, GLenum usage);
   1.292 +    GL_API void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset,
   1.293 +                                            GLsizeiptr size,
   1.294 +                                            const GLvoid * data);
   1.295 +    GL_API void GL_APIENTRY glClear(GLbitfield mask);
   1.296 +    GL_API void GL_APIENTRY glClearColorx(GLclampx red, GLclampx green,
   1.297 +                                          GLclampx blue, GLclampx alpha);
   1.298 +    GL_API void GL_APIENTRY glClearDepthx(GLclampx depth);
   1.299 +    GL_API void GL_APIENTRY glClearStencil(GLint s);
   1.300 +    GL_API void GL_APIENTRY glClientActiveTexture(GLenum texture);
   1.301 +    GL_API void GL_APIENTRY glClipPlanex(GLenum plane,
   1.302 +                                         const GLfixed * equation);
   1.303 +    GL_API void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green,
   1.304 +                                       GLubyte blue, GLubyte alpha);
   1.305 +    GL_API void GL_APIENTRY glColor4x(GLfixed red, GLfixed green,
   1.306 +                                      GLfixed blue, GLfixed alpha);
   1.307 +    GL_API void GL_APIENTRY glColorMask(GLboolean red, GLboolean green,
   1.308 +                                        GLboolean blue, GLboolean alpha);
   1.309 +    GL_API void GL_APIENTRY glColorPointer(GLint size, GLenum type,
   1.310 +                                           GLsizei stride,
   1.311 +                                           const GLvoid * pointer);
   1.312 +    GL_API void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level,
   1.313 +                                                   GLenum internalformat,
   1.314 +                                                   GLsizei width,
   1.315 +                                                   GLsizei height,
   1.316 +                                                   GLint border,
   1.317 +                                                   GLsizei imageSize,
   1.318 +                                                   const GLvoid * data);
   1.319 +    GL_API void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
   1.320 +                                                      GLint level,
   1.321 +                                                      GLint xoffset,
   1.322 +                                                      GLint yoffset,
   1.323 +                                                      GLsizei width,
   1.324 +                                                      GLsizei height,
   1.325 +                                                      GLenum format,
   1.326 +                                                      GLsizei imageSize,
   1.327 +                                                      const GLvoid * data);
   1.328 +    GL_API void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level,
   1.329 +                                             GLenum internalformat, GLint x,
   1.330 +                                             GLint y, GLsizei width,
   1.331 +                                             GLsizei height, GLint border);
   1.332 +    GL_API void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level,
   1.333 +                                                GLint xoffset, GLint yoffset,
   1.334 +                                                GLint x, GLint y,
   1.335 +                                                GLsizei width,
   1.336 +                                                GLsizei height);
   1.337 +    GL_API void GL_APIENTRY glCullFace(GLenum mode);
   1.338 +    GL_API void GL_APIENTRY glDeleteBuffers(GLsizei n,
   1.339 +                                            const GLuint * buffers);
   1.340 +    GL_API void GL_APIENTRY glDeleteTextures(GLsizei n,
   1.341 +                                             const GLuint * textures);
   1.342 +    GL_API void GL_APIENTRY glDepthFunc(GLenum func);
   1.343 +    GL_API void GL_APIENTRY glDepthMask(GLboolean flag);
   1.344 +    GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar);
   1.345 +    GL_API void GL_APIENTRY glDisable(GLenum cap);
   1.346 +    GL_API void GL_APIENTRY glDisableClientState(GLenum array);
   1.347 +    GL_API void GL_APIENTRY glDrawArrays(GLenum mode, GLint first,
   1.348 +                                         GLsizei count);
   1.349 +    GL_API void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count,
   1.350 +                                           GLenum type,
   1.351 +                                           const GLvoid * indices);
   1.352 +    GL_API void GL_APIENTRY glEnable(GLenum cap);
   1.353 +    GL_API void GL_APIENTRY glEnableClientState(GLenum array);
   1.354 +    GL_API void GL_APIENTRY glFinish(void);
   1.355 +    GL_API void GL_APIENTRY glFlush(void);
   1.356 +    GL_API void GL_APIENTRY glFogx(GLenum pname, GLfixed param);
   1.357 +    GL_API void GL_APIENTRY glFogxv(GLenum pname, const GLfixed * params);
   1.358 +    GL_API void GL_APIENTRY glFrontFace(GLenum mode);
   1.359 +    GL_API void GL_APIENTRY glFrustumx(GLfixed left, GLfixed right,
   1.360 +                                       GLfixed bottom, GLfixed top,
   1.361 +                                       GLfixed zNear, GLfixed zFar);
   1.362 +    GL_API void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean * params);
   1.363 +    GL_API void GL_APIENTRY glGetBufferParameteriv(GLenum target,
   1.364 +                                                   GLenum pname,
   1.365 +                                                   GLint * params);
   1.366 +    GL_API void GL_APIENTRY glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
   1.367 +    GL_API void GL_APIENTRY glGenBuffers(GLsizei n, GLuint * buffers);
   1.368 +    GL_API void GL_APIENTRY glGenTextures(GLsizei n, GLuint * textures);
   1.369 +    GL_API GLenum GL_APIENTRY glGetError(void);
   1.370 +    GL_API void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed * params);
   1.371 +    GL_API void GL_APIENTRY glGetIntegerv(GLenum pname, GLint * params);
   1.372 +    GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname,
   1.373 +                                         GLfixed * params);
   1.374 +    GL_API void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname,
   1.375 +                                            GLfixed * params);
   1.376 +    GL_API void GL_APIENTRY glGetPointerv(GLenum pname, void **params);
   1.377 +    GL_API const GLubyte *GL_APIENTRY glGetString(GLenum name);
   1.378 +    GL_API void GL_APIENTRY glGetTexEnviv(GLenum env, GLenum pname,
   1.379 +                                          GLint * params);
   1.380 +    GL_API void GL_APIENTRY glGetTexEnvxv(GLenum env, GLenum pname,
   1.381 +                                          GLfixed * params);
   1.382 +    GL_API void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname,
   1.383 +                                                GLint * params);
   1.384 +    GL_API void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname,
   1.385 +                                                GLfixed * params);
   1.386 +    GL_API void GL_APIENTRY glHint(GLenum target, GLenum mode);
   1.387 +    GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
   1.388 +    GL_API GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
   1.389 +    GL_API GLboolean GL_APIENTRY glIsTexture(GLuint texture);
   1.390 +    GL_API void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param);
   1.391 +    GL_API void GL_APIENTRY glLightModelxv(GLenum pname,
   1.392 +                                           const GLfixed * params);
   1.393 +    GL_API void GL_APIENTRY glLightx(GLenum light, GLenum pname,
   1.394 +                                     GLfixed param);
   1.395 +    GL_API void GL_APIENTRY glLightxv(GLenum light, GLenum pname,
   1.396 +                                      const GLfixed * params);
   1.397 +    GL_API void GL_APIENTRY glLineWidthx(GLfixed width);
   1.398 +    GL_API void GL_APIENTRY glLoadIdentity(void);
   1.399 +    GL_API void GL_APIENTRY glLoadMatrixx(const GLfixed * m);
   1.400 +    GL_API void GL_APIENTRY glLogicOp(GLenum opcode);
   1.401 +    GL_API void GL_APIENTRY glMaterialx(GLenum face, GLenum pname,
   1.402 +                                        GLfixed param);
   1.403 +    GL_API void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname,
   1.404 +                                         const GLfixed * params);
   1.405 +    GL_API void GL_APIENTRY glMatrixMode(GLenum mode);
   1.406 +    GL_API void GL_APIENTRY glMultMatrixx(const GLfixed * m);
   1.407 +    GL_API void GL_APIENTRY glMultiTexCoord4x(GLenum target, GLfixed s,
   1.408 +                                              GLfixed t, GLfixed r,
   1.409 +                                              GLfixed q);
   1.410 +    GL_API void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
   1.411 +    GL_API void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride,
   1.412 +                                            const GLvoid * pointer);
   1.413 +    GL_API void GL_APIENTRY glOrthox(GLfixed left, GLfixed right,
   1.414 +                                     GLfixed bottom, GLfixed top,
   1.415 +                                     GLfixed zNear, GLfixed zFar);
   1.416 +    GL_API void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
   1.417 +    GL_API void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param);
   1.418 +    GL_API void GL_APIENTRY glPointParameterxv(GLenum pname,
   1.419 +                                               const GLfixed * params);
   1.420 +    GL_API void GL_APIENTRY glPointSizex(GLfixed size);
   1.421 +    GL_API void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units);
   1.422 +    GL_API void GL_APIENTRY glPopMatrix(void);
   1.423 +    GL_API void GL_APIENTRY glPushMatrix(void);
   1.424 +    GL_API void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width,
   1.425 +                                         GLsizei height, GLenum format,
   1.426 +                                         GLenum type, GLvoid * pixels);
   1.427 +    GL_API void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y,
   1.428 +                                      GLfixed z);
   1.429 +    GL_API void GL_APIENTRY glSampleCoverage(GLclampf value,
   1.430 +                                             GLboolean invert);
   1.431 +    GL_API void GL_APIENTRY glSampleCoveragex(GLclampx value,
   1.432 +                                              GLboolean invert);
   1.433 +    GL_API void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z);
   1.434 +    GL_API void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width,
   1.435 +                                      GLsizei height);
   1.436 +    GL_API void GL_APIENTRY glShadeModel(GLenum mode);
   1.437 +    GL_API void GL_APIENTRY glStencilFunc(GLenum func, GLint ref,
   1.438 +                                          GLuint mask);
   1.439 +    GL_API void GL_APIENTRY glStencilMask(GLuint mask);
   1.440 +    GL_API void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail,
   1.441 +                                        GLenum zpass);
   1.442 +    GL_API void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type,
   1.443 +                                              GLsizei stride,
   1.444 +                                              const GLvoid * pointer);
   1.445 +    GL_API void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname,
   1.446 +                                      GLint param);
   1.447 +    GL_API void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname,
   1.448 +                                      GLfixed param);
   1.449 +    GL_API void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname,
   1.450 +                                       const GLint * params);
   1.451 +    GL_API void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname,
   1.452 +                                       const GLfixed * params);
   1.453 +    GL_API void GL_APIENTRY glTexImage2D(GLenum target, GLint level,
   1.454 +                                         GLint internalformat, GLsizei width,
   1.455 +                                         GLsizei height, GLint border,
   1.456 +                                         GLenum format, GLenum type,
   1.457 +                                         const GLvoid * pixels);
   1.458 +    GL_API void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname,
   1.459 +                                            GLint param);
   1.460 +    GL_API void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname,
   1.461 +                                            GLfixed param);
   1.462 +    GL_API void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname,
   1.463 +                                             const GLint * params);
   1.464 +    GL_API void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname,
   1.465 +                                             const GLfixed * params);
   1.466 +    GL_API void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level,
   1.467 +                                            GLint xoffset, GLint yoffset,
   1.468 +                                            GLsizei width, GLsizei height,
   1.469 +                                            GLenum format, GLenum type,
   1.470 +                                            const GLvoid * pixels);
   1.471 +    GL_API void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z);
   1.472 +    GL_API void GL_APIENTRY glVertexPointer(GLint size, GLenum type,
   1.473 +                                            GLsizei stride,
   1.474 +                                            const GLvoid * pointer);
   1.475 +    GL_API void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width,
   1.476 +                                       GLsizei height);
   1.477  
   1.478  /*------------------------------------------------------------------------*
   1.479   * Required OES extension functions
   1.480 @@ -818,7 +929,8 @@
   1.481  /* GL_OES_point_size_array */
   1.482  #ifndef GL_OES_point_size_array
   1.483  #define GL_OES_point_size_array 1
   1.484 -GL_API void GL_APIENTRY glPointSizePointerOES (GLenum type, GLsizei stride, const GLvoid *pointer);
   1.485 +    GL_API void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride,
   1.486 +                                                  const GLvoid * pointer);
   1.487  #endif
   1.488  
   1.489  /* GL_OES_point_sprite */
   1.490 @@ -830,5 +942,4 @@
   1.491  }
   1.492  #endif
   1.493  
   1.494 -#endif /* __gles_h_ */
   1.495 -
   1.496 +#endif                          /* __gles_h_ */