This file serves an analoguous purpose as SDL_glfuncs.h, but for OpenGL ES. I haven't put the 'unused' functions in this file yet. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Thu, 17 Jul 2008 23:11:05 +0000
branchgsoc2008_iphone
changeset 2358da266ae53b98
parent 2357 ad4a291c85ab
child 2359 b70b96e615d2
This file serves an analoguous purpose as SDL_glfuncs.h, but for OpenGL ES. I haven't put the 'unused' functions in this file yet.
src/video/glesrenderer/SDL_glesfuncs.h
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/video/glesrenderer/SDL_glesfuncs.h	Thu Jul 17 23:11:05 2008 +0000
     1.3 @@ -0,0 +1,51 @@
     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 +   change it's entry from SDL_PROC_UNUSED to SDL_PROC and rebuild.
     1.7 +*/
     1.8 +#define SDL_PROC_UNUSED(ret,func,params)
     1.9 +
    1.10 +SDL_PROC(void, glBindTexture, (GLenum, GLuint))
    1.11 +SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
    1.12 +SDL_PROC(void, glClear, (GLbitfield))
    1.13 +SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
    1.14 +SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
    1.15 +SDL_PROC(void, glDeleteTextures, (GLsizei n, const GLuint * textures))
    1.16 +SDL_PROC(void, glDisable, (GLenum cap))
    1.17 +SDL_PROC(void, glEnable, (GLenum cap))
    1.18 +SDL_PROC(void, glGenTextures, (GLsizei n, GLuint * textures))
    1.19 +SDL_PROC(GLenum, glGetError, (void))
    1.20 +SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint * params))
    1.21 +SDL_PROC(void, glOrthof,
    1.22 +         (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
    1.23 +          GLfloat zNear, GLfloat zFar))
    1.24 +SDL_PROC(void, glTexImage2D,
    1.25 +         (GLenum target, GLint level, GLint internalformat, GLsizei width,
    1.26 +          GLsizei height, GLint border, GLenum format, GLenum type,
    1.27 +          const GLvoid * pixels))
    1.28 +SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
    1.29 +
    1.30 +SDL_PROC(void, glMatrixMode, (GLenum mode))
    1.31 +SDL_PROC(void, glLoadIdentity, (void))
    1.32 +
    1.33 +SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
    1.34 +
    1.35 +SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
    1.36 +
    1.37 +SDL_PROC(void, glTexSubImage2D,\
    1.38 +		 (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))
    1.39 +
    1.40 +SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
    1.41 +
    1.42 +SDL_PROC(void, glPopMatrix, (void))
    1.43 +SDL_PROC(void, glPushMatrix, (void))
    1.44 +SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
    1.45 +SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
    1.46 +SDL_PROC(void, glDisableClientState, (GLenum array))
    1.47 +SDL_PROC(void, glEnableClientState, (GLenum array))
    1.48 +SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
    1.49 +SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
    1.50 +SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
    1.51 +SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
    1.52 +SDL_PROC(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))
    1.53 +
    1.54 +/* vi: set ts=4 sw=4 expandtab: */