comparison src/video/glesrenderer/SDL_glesfuncs.h @ 2358:da266ae53b98 gsoc2008_iphone

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.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Thu, 17 Jul 2008 23:11:05 +0000
parents
children ba39d5af12a7
comparison
equal deleted inserted replaced
2357:ad4a291c85ab 2358:da266ae53b98
1 /* list of OpenGL functions sorted alphabetically
2 If you need to use a GL function from the SDL video subsystem,
3 change it's entry from SDL_PROC_UNUSED to SDL_PROC and rebuild.
4 */
5 #define SDL_PROC_UNUSED(ret,func,params)
6
7 SDL_PROC(void, glBindTexture, (GLenum, GLuint))
8 SDL_PROC(void, glBlendFunc, (GLenum, GLenum))
9 SDL_PROC(void, glClear, (GLbitfield))
10 SDL_PROC(void, glClearColor, (GLclampf, GLclampf, GLclampf, GLclampf))
11 SDL_PROC(void, glColor4f, (GLfloat, GLfloat, GLfloat, GLfloat))
12 SDL_PROC(void, glDeleteTextures, (GLsizei n, const GLuint * textures))
13 SDL_PROC(void, glDisable, (GLenum cap))
14 SDL_PROC(void, glEnable, (GLenum cap))
15 SDL_PROC(void, glGenTextures, (GLsizei n, GLuint * textures))
16 SDL_PROC(GLenum, glGetError, (void))
17 SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint * params))
18 SDL_PROC(void, glOrthof,
19 (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
20 GLfloat zNear, GLfloat zFar))
21 SDL_PROC(void, glTexImage2D,
22 (GLenum target, GLint level, GLint internalformat, GLsizei width,
23 GLsizei height, GLint border, GLenum format, GLenum type,
24 const GLvoid * pixels))
25 SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
26
27 SDL_PROC(void, glMatrixMode, (GLenum mode))
28 SDL_PROC(void, glLoadIdentity, (void))
29
30 SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
31
32 SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
33
34 SDL_PROC(void, glTexSubImage2D,\
35 (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))
36
37 SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
38
39 SDL_PROC(void, glPopMatrix, (void))
40 SDL_PROC(void, glPushMatrix, (void))
41 SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
42 SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
43 SDL_PROC(void, glDisableClientState, (GLenum array))
44 SDL_PROC(void, glEnableClientState, (GLenum array))
45 SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
46 SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
47 SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
48 SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
49 SDL_PROC(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))
50
51 /* vi: set ts=4 sw=4 expandtab: */