Filled in list of all OpenGL ES functions, used to contain only functions that were in use. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Sat, 16 Aug 2008 00:19:52 +0000
branchgsoc2008_iphone
changeset 24550416aeddbb86
parent 2454 907b96da7969
child 2456 da4fd7cf8745
Filled in list of all OpenGL ES functions, used to contain only functions that were in use.
src/video/glesrenderer/SDL_glesfuncs.h
     1.1 --- a/src/video/glesrenderer/SDL_glesfuncs.h	Sat Aug 16 00:19:07 2008 +0000
     1.2 +++ b/src/video/glesrenderer/SDL_glesfuncs.h	Sat Aug 16 00:19:52 2008 +0000
     1.3 @@ -1,51 +1,157 @@
     1.4 -/* list of OpenGL functions sorted alphabetically
     1.5 -   If you need to use a GL function from the SDL video subsystem,
     1.6 +/* list of OpenGL ES functions sorted alphabetically
     1.7 +   If you need to use a GLES function from the SDL video subsystem,
     1.8     change it's entry from SDL_PROC_UNUSED to SDL_PROC and rebuild.
     1.9  */
    1.10  #define SDL_PROC_UNUSED(ret,func,params)
    1.11  
    1.12 -SDL_PROC(void, glBindTexture, (GLenum, GLuint))
    1.13 -SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
    1.14 -SDL_PROC(void, glClear, (GLbitfield))
    1.15 -SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
    1.16 -SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
    1.17 -SDL_PROC(void, glDeleteTextures, (GLsizei n, const GLuint * textures))
    1.18 +SDL_PROC_UNUSED(void, glAlphaFunc, (GLenum func, GLclampf ref))
    1.19 +SDL_PROC(void, glClearColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha))
    1.20 +SDL_PROC_UNUSED(void, glClearDepthf, (GLclampf depth))
    1.21 +SDL_PROC_UNUSED(void, glClipPlanef, (GLenum plane, const GLfloat *equation))
    1.22 +SDL_PROC(void, glColor4f, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha))
    1.23 +SDL_PROC_UNUSED(void, glDepthRangef, (GLclampf zNear, GLclampf zFar))
    1.24 +SDL_PROC_UNUSED(void, glFogf, (GLenum pname, GLfloat param))
    1.25 +SDL_PROC_UNUSED(void, glFogfv, (GLenum pname, const GLfloat *params))
    1.26 +SDL_PROC_UNUSED(void, glFrustumf, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
    1.27 +SDL_PROC_UNUSED(void, glGetClipPlanef, (GLenum pname, GLfloat eqn[4]))
    1.28 +SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
    1.29 +SDL_PROC_UNUSED(void, glGetLightfv, (GLenum light, GLenum pname, GLfloat *params))
    1.30 +SDL_PROC_UNUSED(void, glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params))
    1.31 +SDL_PROC_UNUSED(void, glGetTexEnvfv, (GLenum env, GLenum pname, GLfloat *params))
    1.32 +SDL_PROC_UNUSED(void, glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat *params))
    1.33 +SDL_PROC_UNUSED(void, glLightModelf, (GLenum pname, GLfloat param))
    1.34 +SDL_PROC_UNUSED(void, glLightModelfv, (GLenum pname, const GLfloat *params))
    1.35 +SDL_PROC_UNUSED(void, glLightf, (GLenum light, GLenum pname, GLfloat param))
    1.36 +SDL_PROC_UNUSED(void, glLightfv, (GLenum light, GLenum pname, const GLfloat *params))
    1.37 +SDL_PROC_UNUSED(void, glLineWidth, (GLfloat width))
    1.38 +SDL_PROC_UNUSED(void, glLoadMatrixf, (const GLfloat *m))
    1.39 +SDL_PROC_UNUSED(void, glMaterialf, (GLenum face, GLenum pname, GLfloat param))
    1.40 +SDL_PROC_UNUSED(void, glMaterialfv, (GLenum face, GLenum pname, const GLfloat *params))
    1.41 +SDL_PROC_UNUSED(void, glMultMatrixf, (const GLfloat *m))
    1.42 +SDL_PROC_UNUSED(void, glMultiTexCoord4f, (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q))
    1.43 +SDL_PROC_UNUSED(void, glNormal3f, (GLfloat nx, GLfloat ny, GLfloat nz))
    1.44 +SDL_PROC(void, glOrthof, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
    1.45 +SDL_PROC_UNUSED(void, glPointParameterf, (GLenum pname, GLfloat param))
    1.46 +SDL_PROC_UNUSED(void, glPointParameterfv, (GLenum pname, const GLfloat *params))
    1.47 +SDL_PROC_UNUSED(void, glPointSize, (GLfloat size))
    1.48 +SDL_PROC_UNUSED(void, glPolygonOffset, (GLfloat factor, GLfloat units))
    1.49 +SDL_PROC_UNUSED(void, glRotatef, (GLfloat angle, GLfloat x, GLfloat y, GLfloat z))
    1.50 +SDL_PROC_UNUSED(void, glScalef, (GLfloat x, GLfloat y, GLfloat z))
    1.51 +SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
    1.52 +SDL_PROC_UNUSED(void, glTexEnvfv, (GLenum target, GLenum pname, const GLfloat *params))
    1.53 +SDL_PROC(void, glTexParameterf, (GLenum target, GLenum pname, GLfloat param))
    1.54 +SDL_PROC_UNUSED(void, glTexParameterfv, (GLenum target, GLenum pname, const GLfloat *params))
    1.55 +SDL_PROC_UNUSED(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z))
    1.56 +
    1.57 +/* Available in both Common and Common-Lite profiles */
    1.58 +SDL_PROC_UNUSED(void, glActiveTexture, (GLenum texture))
    1.59 +SDL_PROC_UNUSED(void, glAlphaFuncx, (GLenum func, GLclampx ref))
    1.60 +SDL_PROC_UNUSED(void, glBindBuffer, (GLenum target, GLuint buffer))
    1.61 +SDL_PROC(void, glBindTexture, (GLenum target, GLuint texture))
    1.62 +SDL_PROC(void, glBlendFunc, (GLenum sfactor, GLenum dfactor))
    1.63 +SDL_PROC_UNUSED(void, glBufferData, (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage))
    1.64 +SDL_PROC_UNUSED(void, glBufferSubData, (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data))
    1.65 +SDL_PROC(void, glClear, (GLbitfield mask))
    1.66 +SDL_PROC_UNUSED(void, glClearColorx, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha))
    1.67 +SDL_PROC_UNUSED(void, glClearDepthx, (GLclampx depth))
    1.68 +SDL_PROC_UNUSED(void, glClearStencil, (GLint s))
    1.69 +SDL_PROC_UNUSED(void, glClientActiveTexture, (GLenum texture))
    1.70 +SDL_PROC_UNUSED(void, glClipPlanex, (GLenum plane, const GLfixed *equation))
    1.71 +SDL_PROC_UNUSED(void, glColor4ub, (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
    1.72 +SDL_PROC_UNUSED(void, glColor4x, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha))
    1.73 +SDL_PROC_UNUSED(void, glColorMask, (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha))
    1.74 +SDL_PROC_UNUSED(void, glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
    1.75 +SDL_PROC_UNUSED(void, glCompressedTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data))
    1.76 +SDL_PROC_UNUSED(void, glCompressedTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data))
    1.77 +SDL_PROC_UNUSED(void, glCopyTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border))
    1.78 +SDL_PROC_UNUSED(void, glCopyTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height))
    1.79 +SDL_PROC_UNUSED(void, glCullFace, (GLenum mode))
    1.80 +SDL_PROC_UNUSED(void, glDeleteBuffers, (GLsizei n, const GLuint *buffers))
    1.81 +SDL_PROC_UNUSED(void, glDeleteTextures, (GLsizei n, const GLuint *textures))
    1.82 +SDL_PROC_UNUSED(void, glDepthFunc, (GLenum func))
    1.83 +SDL_PROC_UNUSED(void, glDepthMask, (GLboolean flag))
    1.84 +SDL_PROC_UNUSED(void, glDepthRangex, (GLclampx zNear, GLclampx zFar))
    1.85  SDL_PROC(void, glDisable, (GLenum cap))
    1.86 +SDL_PROC_UNUSED(void, glDisableClientState, (GLenum array))
    1.87 +SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
    1.88 +SDL_PROC_UNUSED(void, glDrawElements, (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices))
    1.89  SDL_PROC(void, glEnable, (GLenum cap))
    1.90 -SDL_PROC(void, glGenTextures, (GLsizei n, GLuint * textures))
    1.91 +SDL_PROC(void, glEnableClientState, (GLenum array))
    1.92 +SDL_PROC_UNUSED(void, glFinish, (void))
    1.93 +SDL_PROC_UNUSED(void, glFlush, (void))
    1.94 +SDL_PROC_UNUSED(void, glFogx, (GLenum pname, GLfixed param))
    1.95 +SDL_PROC_UNUSED(void, glFogxv, (GLenum pname, const GLfixed *params))
    1.96 +SDL_PROC_UNUSED(void, glFrontFace, (GLenum mode))
    1.97 +SDL_PROC_UNUSED(void, glFrustumx, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
    1.98 +SDL_PROC_UNUSED(void, glGetBooleanv, (GLenum pname, GLboolean *params))
    1.99 +SDL_PROC_UNUSED(void, glGetBufferParameteriv, (GLenum target, GLenum pname, GLint *params))
   1.100 +SDL_PROC_UNUSED(void, glGetClipPlanex, (GLenum pname, GLfixed eqn[4]))
   1.101 +SDL_PROC_UNUSED(void, glGenBuffers, (GLsizei n, GLuint *buffers))
   1.102 +SDL_PROC(void, glGenTextures, (GLsizei n, GLuint *textures))
   1.103  SDL_PROC(GLenum, glGetError, (void))
   1.104 -SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint * params))
   1.105 -SDL_PROC(void, glOrthof,
   1.106 -         (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
   1.107 -          GLfloat zNear, GLfloat zFar))
   1.108 -SDL_PROC(void, glTexImage2D,
   1.109 -         (GLenum target, GLint level, GLint internalformat, GLsizei width,
   1.110 -          GLsizei height, GLint border, GLenum format, GLenum type,
   1.111 -          const GLvoid * pixels))
   1.112 +SDL_PROC_UNUSED(void, glGetFixedv, (GLenum pname, GLfixed *params))
   1.113 +SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint *params))
   1.114 +SDL_PROC_UNUSED(void, glGetLightxv, (GLenum light, GLenum pname, GLfixed *params))
   1.115 +SDL_PROC_UNUSED(void, glGetMaterialxv, (GLenum face, GLenum pname, GLfixed *params))
   1.116 +SDL_PROC_UNUSED(void, glGetPointerv, (GLenum pname, void **params))
   1.117 +SDL_PROC_UNUSED(const GLubyte *, glGetString, (GLenum name))
   1.118 +SDL_PROC_UNUSED(void, glGetTexEnviv, (GLenum env, GLenum pname, GLint *params))
   1.119 +SDL_PROC_UNUSED(void, glGetTexEnvxv, (GLenum env, GLenum pname, GLfixed *params))
   1.120 +SDL_PROC_UNUSED(void, glGetTexParameteriv, (GLenum target, GLenum pname, GLint *params))
   1.121 +SDL_PROC_UNUSED(void, glGetTexParameterxv, (GLenum target, GLenum pname, GLfixed *params))
   1.122 +SDL_PROC_UNUSED(void, glHint, (GLenum target, GLenum mode))
   1.123 +SDL_PROC_UNUSED(GLboolean, glIsBuffer, (GLuint buffer))
   1.124 +SDL_PROC_UNUSED(GLboolean, glIsEnabled, (GLenum cap))
   1.125 +SDL_PROC_UNUSED(GLboolean, glIsTexture, (GLuint texture))
   1.126 +SDL_PROC_UNUSED(void, glLightModelx, (GLenum pname, GLfixed param))
   1.127 +SDL_PROC_UNUSED(void, glLightModelxv, (GLenum pname, const GLfixed *params))
   1.128 +SDL_PROC_UNUSED(void, glLightx, (GLenum light, GLenum pname, GLfixed param))
   1.129 +SDL_PROC_UNUSED(void, glLightxv, (GLenum light, GLenum pname, const GLfixed *params))
   1.130 +SDL_PROC_UNUSED(void, glLineWidthx, (GLfixed width))
   1.131 +SDL_PROC(void, glLoadIdentity, (void))
   1.132 +SDL_PROC_UNUSED(void, glLoadMatrixx, (const GLfixed *m))
   1.133 +SDL_PROC_UNUSED(void, glLogicOp, (GLenum opcode))
   1.134 +SDL_PROC_UNUSED(void, glMaterialx, (GLenum face, GLenum pname, GLfixed param))
   1.135 +SDL_PROC_UNUSED(void, glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params))
   1.136 +SDL_PROC(void, glMatrixMode, (GLenum mode))
   1.137 +SDL_PROC_UNUSED(void, glMultMatrixx, (const GLfixed *m))
   1.138 +SDL_PROC_UNUSED(void, glMultiTexCoord4x, (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q))
   1.139 +SDL_PROC_UNUSED(void, glNormal3x, (GLfixed nx, GLfixed ny, GLfixed nz))
   1.140 +SDL_PROC_UNUSED(void, glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer))
   1.141 +SDL_PROC_UNUSED(void, glOrthox, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
   1.142 +SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
   1.143 +SDL_PROC_UNUSED(void, glPointParameterx, (GLenum pname, GLfixed param))
   1.144 +SDL_PROC_UNUSED(void, glPointParameterxv, (GLenum pname, const GLfixed *params))
   1.145 +SDL_PROC_UNUSED(void, glPointSizex, (GLfixed size))
   1.146 +SDL_PROC_UNUSED(void, glPolygonOffsetx, (GLfixed factor, GLfixed units))
   1.147 +SDL_PROC_UNUSED(void, glPopMatrix, (void))
   1.148 +SDL_PROC_UNUSED(void, glPushMatrix, (void))
   1.149 +SDL_PROC_UNUSED(void, glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels))
   1.150 +SDL_PROC_UNUSED(void, glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z))
   1.151 +SDL_PROC_UNUSED(void, glSampleCoverage, (GLclampf value, GLboolean invert))
   1.152 +SDL_PROC_UNUSED(void, glSampleCoveragex, (GLclampx value, GLboolean invert))
   1.153 +SDL_PROC_UNUSED(void, glScalex, (GLfixed x, GLfixed y, GLfixed z))
   1.154 +SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
   1.155 +SDL_PROC_UNUSED(void, glShadeModel, (GLenum mode))
   1.156 +SDL_PROC_UNUSED(void, glStencilFunc, (GLenum func, GLint ref, GLuint mask))
   1.157 +SDL_PROC_UNUSED(void, glStencilMask, (GLuint mask))
   1.158 +SDL_PROC_UNUSED(void, glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass))
   1.159 +SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
   1.160 +SDL_PROC_UNUSED(void, glTexEnvi, (GLenum target, GLenum pname, GLint param))
   1.161 +SDL_PROC_UNUSED(void, glTexEnvx, (GLenum target, GLenum pname, GLfixed param))
   1.162 +SDL_PROC_UNUSED(void, glTexEnviv, (GLenum target, GLenum pname, const GLint *params))
   1.163 +SDL_PROC_UNUSED(void, glTexEnvxv, (GLenum target, GLenum pname, const GLfixed *params))
   1.164 +SDL_PROC(void, glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels))
   1.165 +SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
   1.166 +SDL_PROC_UNUSED(void, glTexParameterx, (GLenum target, GLenum pname, GLfixed param))
   1.167 +SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
   1.168 +SDL_PROC_UNUSED(void, glTexParameterxv, (GLenum target, GLenum pname, const GLfixed *params))
   1.169 +SDL_PROC(void, glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))
   1.170 +SDL_PROC_UNUSED(void, glTranslatex, (GLfixed x, GLfixed y, GLfixed z))
   1.171 +SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
   1.172  SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
   1.173  
   1.174 -SDL_PROC(void, glMatrixMode, (GLenum mode))
   1.175 -SDL_PROC(void, glLoadIdentity, (void))
   1.176 -
   1.177 -SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
   1.178 -
   1.179 -SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
   1.180 -
   1.181 -SDL_PROC(void, glTexSubImage2D,\
   1.182 -		 (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))
   1.183 -
   1.184 -SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
   1.185 -
   1.186 -SDL_PROC(void, glPopMatrix, (void))
   1.187 -SDL_PROC(void, glPushMatrix, (void))
   1.188 -SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
   1.189 -SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
   1.190 -SDL_PROC(void, glDisableClientState, (GLenum array))
   1.191 -SDL_PROC(void, glEnableClientState, (GLenum array))
   1.192 -SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
   1.193 -SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
   1.194 -SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
   1.195 -SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
   1.196 +/* extension functions used */
   1.197  SDL_PROC(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))
   1.198  
   1.199  /* vi: set ts=4 sw=4 expandtab: */