annotate src/video/SDL_glesfuncs.h @ 2844:70b63882d2ef

The YCbCr texture extension works now that bytes_per_pixel() returns the correct value for YUV textures. Yay! I'm still cheering for Ryan's pixel shader instead, since once it works different shaders can handle all the YUV formats.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 06 Dec 2008 18:37:06 +0000
parents 0969758c8809
children 4eabc35fbb4a
rev   line source
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /* list of OpenGL ES functions sorted alphabetically
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 If you need to use a GLES function from the SDL video subsystem,
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
3 change it's entry from SDL_PROC_UNUSED to SDL_PROC and rebuild.
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4 */
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 #define SDL_PROC_UNUSED(ret,func,params)
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 SDL_PROC_UNUSED(void, glAlphaFunc, (GLenum func, GLclampf ref))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
8 SDL_PROC(void, glClearColor,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
9 (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 SDL_PROC_UNUSED(void, glClearDepthf, (GLclampf depth))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
11 SDL_PROC_UNUSED(void, glClipPlanef, (GLenum plane, const GLfloat * equation))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
12 SDL_PROC(void, glColor4f,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
13 (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
14 SDL_PROC_UNUSED(void, glDepthRangef, (GLclampf zNear, GLclampf zFar))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
15 SDL_PROC_UNUSED(void, glFogf, (GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
16 SDL_PROC_UNUSED(void, glFogfv, (GLenum pname, const GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
17 SDL_PROC_UNUSED(void, glFrustumf,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
18 (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
19 GLfloat zNear, GLfloat zFar))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
20 SDL_PROC_UNUSED(void, glGetClipPlanef, (GLenum pname, GLfloat eqn[4]))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
21 SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
22 SDL_PROC_UNUSED(void, glGetLightfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
23 (GLenum light, GLenum pname, GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
24 SDL_PROC_UNUSED(void, glGetMaterialfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
25 (GLenum face, GLenum pname, GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
26 SDL_PROC_UNUSED(void, glGetTexEnvfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
27 (GLenum env, GLenum pname, GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
28 SDL_PROC_UNUSED(void, glGetTexParameterfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
29 (GLenum target, GLenum pname, GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
30 SDL_PROC_UNUSED(void, glLightModelf, (GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
31 SDL_PROC_UNUSED(void, glLightModelfv, (GLenum pname, const GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
32 SDL_PROC_UNUSED(void, glLightf, (GLenum light, GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
33 SDL_PROC_UNUSED(void, glLightfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
34 (GLenum light, GLenum pname, const GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
35 SDL_PROC_UNUSED(void, glLineWidth, (GLfloat width))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
36 SDL_PROC_UNUSED(void, glLoadMatrixf, (const GLfloat * m))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
37 SDL_PROC_UNUSED(void, glMaterialf, (GLenum face, GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
38 SDL_PROC_UNUSED(void, glMaterialfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
39 (GLenum face, GLenum pname, const GLfloat * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
40 SDL_PROC_UNUSED(void, glMultMatrixf, (const GLfloat * m))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
41 SDL_PROC_UNUSED(void, glMultiTexCoord4f,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
42 (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
43 SDL_PROC_UNUSED(void, glNormal3f, (GLfloat nx, GLfloat ny, GLfloat nz))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
44 SDL_PROC(void, glOrthof,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
45 (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
46 GLfloat zNear, GLfloat zFar))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
47 SDL_PROC_UNUSED(void, glPointParameterf, (GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
48 SDL_PROC_UNUSED(void, glPointParameterfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
49 (GLenum pname, const GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
50 SDL_PROC_UNUSED(void, glPointSize, (GLfloat size))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
51 SDL_PROC_UNUSED(void, glPolygonOffset, (GLfloat factor, GLfloat units))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
52 SDL_PROC_UNUSED(void, glRotatef,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
53 (GLfloat angle, GLfloat x, GLfloat y, GLfloat z))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
54 SDL_PROC_UNUSED(void, glScalef, (GLfloat x, GLfloat y, GLfloat z))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
55 SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
56 SDL_PROC_UNUSED(void, glTexEnvfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
57 (GLenum target, GLenum pname, const GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
58 SDL_PROC(void, glTexParameterf, (GLenum target, GLenum pname, GLfloat param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
59 SDL_PROC_UNUSED(void, glTexParameterfv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
60 (GLenum target, GLenum pname, const GLfloat * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
61 SDL_PROC_UNUSED(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
62
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
63 /* Available in both Common and Common-Lite profiles */
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
64 SDL_PROC_UNUSED(void, glActiveTexture, (GLenum texture))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
65 SDL_PROC_UNUSED(void, glAlphaFuncx, (GLenum func, GLclampx ref))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
66 SDL_PROC_UNUSED(void, glBindBuffer, (GLenum target, GLuint buffer))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
67 SDL_PROC(void, glBindTexture, (GLenum target, GLuint texture))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
68 SDL_PROC(void, glBlendFunc, (GLenum sfactor, GLenum dfactor))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
69 SDL_PROC_UNUSED(void, glBufferData,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
70 (GLenum target, GLsizeiptr size, const GLvoid * data,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
71 GLenum usage))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
72 SDL_PROC_UNUSED(void, glBufferSubData,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
73 (GLenum target, GLintptr offset, GLsizeiptr size,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
74 const GLvoid * data))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
75 SDL_PROC(void, glClear, (GLbitfield mask))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
76 SDL_PROC_UNUSED(void, glClearColorx,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
77 (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
78 SDL_PROC_UNUSED(void, glClearDepthx, (GLclampx depth))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
79 SDL_PROC_UNUSED(void, glClearStencil, (GLint s))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
80 SDL_PROC_UNUSED(void, glClientActiveTexture, (GLenum texture))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
81 SDL_PROC_UNUSED(void, glClipPlanex, (GLenum plane, const GLfixed * equation))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
82 SDL_PROC_UNUSED(void, glColor4ub,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
83 (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
84 SDL_PROC_UNUSED(void, glColor4x,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
85 (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
86 SDL_PROC_UNUSED(void, glColorMask,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
87 (GLboolean red, GLboolean green, GLboolean blue,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
88 GLboolean alpha))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
89 SDL_PROC_UNUSED(void, glColorPointer,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
90 (GLint size, GLenum type, GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
91 const GLvoid * pointer))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
92 SDL_PROC_UNUSED(void, glCompressedTexImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
93 (GLenum target, GLint level, GLenum internalformat,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
94 GLsizei width, GLsizei height, GLint border,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
95 GLsizei imageSize, const GLvoid * data))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
96 SDL_PROC_UNUSED(void, glCompressedTexSubImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
97 (GLenum target, GLint level, GLint xoffset, GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
98 GLsizei width, GLsizei height, GLenum format,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
99 GLsizei imageSize, const GLvoid * data))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
100 SDL_PROC_UNUSED(void, glCopyTexImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
101 (GLenum target, GLint level, GLenum internalformat, GLint x,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
102 GLint y, GLsizei width, GLsizei height, GLint border))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
103 SDL_PROC_UNUSED(void, glCopyTexSubImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
104 (GLenum target, GLint level, GLint xoffset, GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
105 GLint x, GLint y, GLsizei width, GLsizei height))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
106 SDL_PROC_UNUSED(void, glCullFace, (GLenum mode))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
107 SDL_PROC_UNUSED(void, glDeleteBuffers, (GLsizei n, const GLuint * buffers))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
108 SDL_PROC_UNUSED(void, glDeleteTextures, (GLsizei n, const GLuint * textures))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
109 SDL_PROC_UNUSED(void, glDepthFunc, (GLenum func))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
110 SDL_PROC_UNUSED(void, glDepthMask, (GLboolean flag))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
111 SDL_PROC_UNUSED(void, glDepthRangex, (GLclampx zNear, GLclampx zFar))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
112 SDL_PROC(void, glDisable, (GLenum cap))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
113 SDL_PROC_UNUSED(void, glDisableClientState, (GLenum array))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
114 SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
115 SDL_PROC_UNUSED(void, glDrawElements,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
116 (GLenum mode, GLsizei count, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
117 const GLvoid * indices))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
118 SDL_PROC(void, glEnable, (GLenum cap))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
119 SDL_PROC(void, glEnableClientState, (GLenum array))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
120 SDL_PROC_UNUSED(void, glFinish, (void))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
121 SDL_PROC_UNUSED(void, glFlush, (void))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
122 SDL_PROC_UNUSED(void, glFogx, (GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
123 SDL_PROC_UNUSED(void, glFogxv, (GLenum pname, const GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
124 SDL_PROC_UNUSED(void, glFrontFace, (GLenum mode))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
125 SDL_PROC_UNUSED(void, glFrustumx,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
126 (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
127 GLfixed zNear, GLfixed zFar))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
128 SDL_PROC_UNUSED(void, glGetBooleanv, (GLenum pname, GLboolean * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
129 SDL_PROC_UNUSED(void, glGetBufferParameteriv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
130 (GLenum target, GLenum pname, GLint * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
131 SDL_PROC_UNUSED(void, glGetClipPlanex, (GLenum pname, GLfixed eqn[4]))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
132 SDL_PROC_UNUSED(void, glGenBuffers, (GLsizei n, GLuint * buffers))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
133 SDL_PROC(void, glGenTextures, (GLsizei n, GLuint * textures))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
134 SDL_PROC(GLenum, glGetError, (void))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
135 SDL_PROC_UNUSED(void, glGetFixedv, (GLenum pname, GLfixed * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
136 SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
137 SDL_PROC_UNUSED(void, glGetLightxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
138 (GLenum light, GLenum pname, GLfixed * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
139 SDL_PROC_UNUSED(void, glGetMaterialxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
140 (GLenum face, GLenum pname, GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
141 SDL_PROC_UNUSED(void, glGetPointerv, (GLenum pname, void **params))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
142 SDL_PROC_UNUSED(const GLubyte *, glGetString, (GLenum name))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
143 SDL_PROC_UNUSED(void, glGetTexEnviv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
144 (GLenum env, GLenum pname, GLint * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
145 SDL_PROC_UNUSED(void, glGetTexEnvxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
146 (GLenum env, GLenum pname, GLfixed * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
147 SDL_PROC_UNUSED(void, glGetTexParameteriv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
148 (GLenum target, GLenum pname, GLint * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
149 SDL_PROC_UNUSED(void, glGetTexParameterxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
150 (GLenum target, GLenum pname, GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
151 SDL_PROC_UNUSED(void, glHint, (GLenum target, GLenum mode))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
152 SDL_PROC_UNUSED(GLboolean, glIsBuffer, (GLuint buffer))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
153 SDL_PROC_UNUSED(GLboolean, glIsEnabled, (GLenum cap))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
154 SDL_PROC_UNUSED(GLboolean, glIsTexture, (GLuint texture))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
155 SDL_PROC_UNUSED(void, glLightModelx, (GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
156 SDL_PROC_UNUSED(void, glLightModelxv, (GLenum pname, const GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
157 SDL_PROC_UNUSED(void, glLightx, (GLenum light, GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
158 SDL_PROC_UNUSED(void, glLightxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
159 (GLenum light, GLenum pname, const GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
160 SDL_PROC_UNUSED(void, glLineWidthx, (GLfixed width))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
161 SDL_PROC(void, glLoadIdentity, (void))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
162 SDL_PROC_UNUSED(void, glLoadMatrixx, (const GLfixed * m))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
163 SDL_PROC_UNUSED(void, glLogicOp, (GLenum opcode))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
164 SDL_PROC_UNUSED(void, glMaterialx, (GLenum face, GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
165 SDL_PROC_UNUSED(void, glMaterialxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
166 (GLenum face, GLenum pname, const GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
167 SDL_PROC(void, glMatrixMode, (GLenum mode))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
168 SDL_PROC_UNUSED(void, glMultMatrixx, (const GLfixed * m))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
169 SDL_PROC_UNUSED(void, glMultiTexCoord4x,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
170 (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
171 SDL_PROC_UNUSED(void, glNormal3x, (GLfixed nx, GLfixed ny, GLfixed nz))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
172 SDL_PROC_UNUSED(void, glNormalPointer,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
173 (GLenum type, GLsizei stride, const GLvoid * pointer))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
174 SDL_PROC_UNUSED(void, glOrthox,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
175 (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
176 GLfixed zNear, GLfixed zFar))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
177 SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
178 SDL_PROC_UNUSED(void, glPointParameterx, (GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
179 SDL_PROC_UNUSED(void, glPointParameterxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
180 (GLenum pname, const GLfixed * params))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
181 SDL_PROC_UNUSED(void, glPointSizex, (GLfixed size))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
182 SDL_PROC_UNUSED(void, glPolygonOffsetx, (GLfixed factor, GLfixed units))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
183 SDL_PROC_UNUSED(void, glPopMatrix, (void))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
184 SDL_PROC_UNUSED(void, glPushMatrix, (void))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
185 SDL_PROC_UNUSED(void, glReadPixels,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
186 (GLint x, GLint y, GLsizei width, GLsizei height,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
187 GLenum format, GLenum type, GLvoid * pixels))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
188 SDL_PROC_UNUSED(void, glRotatex,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
189 (GLfixed angle, GLfixed x, GLfixed y, GLfixed z))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
190 SDL_PROC_UNUSED(void, glSampleCoverage, (GLclampf value, GLboolean invert))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
191 SDL_PROC_UNUSED(void, glSampleCoveragex, (GLclampx value, GLboolean invert))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
192 SDL_PROC_UNUSED(void, glScalex, (GLfixed x, GLfixed y, GLfixed z))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
193 SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
194 SDL_PROC_UNUSED(void, glShadeModel, (GLenum mode))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
195 SDL_PROC_UNUSED(void, glStencilFunc, (GLenum func, GLint ref, GLuint mask))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
196 SDL_PROC_UNUSED(void, glStencilMask, (GLuint mask))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
197 SDL_PROC_UNUSED(void, glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
198 SDL_PROC(void, glTexCoordPointer,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
199 (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
200 SDL_PROC_UNUSED(void, glTexEnvi, (GLenum target, GLenum pname, GLint param))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
201 SDL_PROC_UNUSED(void, glTexEnvx, (GLenum target, GLenum pname, GLfixed param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
202 SDL_PROC_UNUSED(void, glTexEnviv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
203 (GLenum target, GLenum pname, const GLint * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
204 SDL_PROC_UNUSED(void, glTexEnvxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
205 (GLenum target, GLenum pname, const GLfixed * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
206 SDL_PROC(void, glTexImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
207 (GLenum target, GLint level, GLint internalformat, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
208 GLsizei height, GLint border, GLenum format, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
209 const GLvoid * pixels))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
210 SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
211 SDL_PROC_UNUSED(void, glTexParameterx,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
212 (GLenum target, GLenum pname, GLfixed param))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
213 SDL_PROC(void, glTexParameteriv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
214 (GLenum target, GLenum pname, const GLint * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
215 SDL_PROC_UNUSED(void, glTexParameterxv,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
216 (GLenum target, GLenum pname, const GLfixed * params))
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
217 SDL_PROC(void, glTexSubImage2D,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
218 (GLenum target, GLint level, GLint xoffset, GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
219 GLsizei width, GLsizei height, GLenum format, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
220 const GLvoid * pixels))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
221 SDL_PROC_UNUSED(void, glTranslatex, (GLfixed x, GLfixed y, GLfixed z))
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
222 SDL_PROC(void, glVertexPointer,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
223 (GLint size, GLenum type, GLsizei stride, const GLvoid * pointer))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
224 SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
225
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
226 /* extension functions used */
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
227 SDL_PROC(void, glDrawTexiOES,
Sam Lantinga <slouken@libsdl.org>
parents: 2741
diff changeset
228 (GLint x, GLint y, GLint z, GLint width, GLint height))
2741
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
229
6d6c89513529 This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
230 /* vi: set ts=4 sw=4 expandtab: */