Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
This file serves an analoguous purpose as SDL_glfuncs.h, but for Open…
Browse files Browse the repository at this point in the history
…GL ES. I haven't put the 'unused' functions in this file yet.
  • Loading branch information
Holmes Futrell committed Jul 17, 2008
1 parent a7343f3 commit 16fa875
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions src/video/glesrenderer/SDL_glesfuncs.h
@@ -0,0 +1,51 @@
/* list of OpenGL functions sorted alphabetically
If you need to use a GL function from the SDL video subsystem,
change it's entry from SDL_PROC_UNUSED to SDL_PROC and rebuild.
*/
#define SDL_PROC_UNUSED(ret,func,params)

SDL_PROC(void, glBindTexture, (GLenum, GLuint))
SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
SDL_PROC(void, glClear, (GLbitfield))
SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
SDL_PROC(void, glDeleteTextures, (GLsizei n, const GLuint * textures))
SDL_PROC(void, glDisable, (GLenum cap))
SDL_PROC(void, glEnable, (GLenum cap))
SDL_PROC(void, glGenTextures, (GLsizei n, GLuint * textures))
SDL_PROC(GLenum, glGetError, (void))
SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint * params))
SDL_PROC(void, glOrthof,
(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
GLfloat zNear, GLfloat zFar))
SDL_PROC(void, glTexImage2D,
(GLenum target, GLint level, GLint internalformat, GLsizei width,
GLsizei height, GLint border, GLenum format, GLenum type,
const GLvoid * pixels))
SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))

SDL_PROC(void, glMatrixMode, (GLenum mode))
SDL_PROC(void, glLoadIdentity, (void))

SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))

SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))

SDL_PROC(void, glTexSubImage2D,\
(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))

SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))

SDL_PROC(void, glPopMatrix, (void))
SDL_PROC(void, glPushMatrix, (void))
SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
SDL_PROC(void, glDisableClientState, (GLenum array))
SDL_PROC(void, glEnableClientState, (GLenum array))
SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
SDL_PROC(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))

/* vi: set ts=4 sw=4 expandtab: */

0 comments on commit 16fa875

Please sign in to comment.