comparison src/video/SDL_glesfuncs.h @ 2741:6d6c89513529

This file serves a similar purpose as SDL_glfuncs.h, but for the OpenGL ES renderer.
author Holmes Futrell <hfutrell@umail.ucsb.edu>
date Tue, 02 Sep 2008 02:44:45 +0000
parents
children 0969758c8809
comparison
equal deleted inserted replaced
2740:22c96d28449f 2741:6d6c89513529
1 /* list of OpenGL ES functions sorted alphabetically
2 If you need to use a GLES 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_UNUSED(void, glAlphaFunc, (GLenum func, GLclampf ref))
8 SDL_PROC(void, glClearColor, (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha))
9 SDL_PROC_UNUSED(void, glClearDepthf, (GLclampf depth))
10 SDL_PROC_UNUSED(void, glClipPlanef, (GLenum plane, const GLfloat *equation))
11 SDL_PROC(void, glColor4f, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha))
12 SDL_PROC_UNUSED(void, glDepthRangef, (GLclampf zNear, GLclampf zFar))
13 SDL_PROC_UNUSED(void, glFogf, (GLenum pname, GLfloat param))
14 SDL_PROC_UNUSED(void, glFogfv, (GLenum pname, const GLfloat *params))
15 SDL_PROC_UNUSED(void, glFrustumf, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
16 SDL_PROC_UNUSED(void, glGetClipPlanef, (GLenum pname, GLfloat eqn[4]))
17 SDL_PROC(void, glGetFloatv, (GLenum pname, GLfloat *params))
18 SDL_PROC_UNUSED(void, glGetLightfv, (GLenum light, GLenum pname, GLfloat *params))
19 SDL_PROC_UNUSED(void, glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params))
20 SDL_PROC_UNUSED(void, glGetTexEnvfv, (GLenum env, GLenum pname, GLfloat *params))
21 SDL_PROC_UNUSED(void, glGetTexParameterfv, (GLenum target, GLenum pname, GLfloat *params))
22 SDL_PROC_UNUSED(void, glLightModelf, (GLenum pname, GLfloat param))
23 SDL_PROC_UNUSED(void, glLightModelfv, (GLenum pname, const GLfloat *params))
24 SDL_PROC_UNUSED(void, glLightf, (GLenum light, GLenum pname, GLfloat param))
25 SDL_PROC_UNUSED(void, glLightfv, (GLenum light, GLenum pname, const GLfloat *params))
26 SDL_PROC_UNUSED(void, glLineWidth, (GLfloat width))
27 SDL_PROC_UNUSED(void, glLoadMatrixf, (const GLfloat *m))
28 SDL_PROC_UNUSED(void, glMaterialf, (GLenum face, GLenum pname, GLfloat param))
29 SDL_PROC_UNUSED(void, glMaterialfv, (GLenum face, GLenum pname, const GLfloat *params))
30 SDL_PROC_UNUSED(void, glMultMatrixf, (const GLfloat *m))
31 SDL_PROC_UNUSED(void, glMultiTexCoord4f, (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q))
32 SDL_PROC_UNUSED(void, glNormal3f, (GLfloat nx, GLfloat ny, GLfloat nz))
33 SDL_PROC(void, glOrthof, (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar))
34 SDL_PROC_UNUSED(void, glPointParameterf, (GLenum pname, GLfloat param))
35 SDL_PROC_UNUSED(void, glPointParameterfv, (GLenum pname, const GLfloat *params))
36 SDL_PROC_UNUSED(void, glPointSize, (GLfloat size))
37 SDL_PROC_UNUSED(void, glPolygonOffset, (GLfloat factor, GLfloat units))
38 SDL_PROC_UNUSED(void, glRotatef, (GLfloat angle, GLfloat x, GLfloat y, GLfloat z))
39 SDL_PROC_UNUSED(void, glScalef, (GLfloat x, GLfloat y, GLfloat z))
40 SDL_PROC(void, glTexEnvf, (GLenum target, GLenum pname, GLfloat param))
41 SDL_PROC_UNUSED(void, glTexEnvfv, (GLenum target, GLenum pname, const GLfloat *params))
42 SDL_PROC(void, glTexParameterf, (GLenum target, GLenum pname, GLfloat param))
43 SDL_PROC_UNUSED(void, glTexParameterfv, (GLenum target, GLenum pname, const GLfloat *params))
44 SDL_PROC_UNUSED(void, glTranslatef, (GLfloat x, GLfloat y, GLfloat z))
45
46 /* Available in both Common and Common-Lite profiles */
47 SDL_PROC_UNUSED(void, glActiveTexture, (GLenum texture))
48 SDL_PROC_UNUSED(void, glAlphaFuncx, (GLenum func, GLclampx ref))
49 SDL_PROC_UNUSED(void, glBindBuffer, (GLenum target, GLuint buffer))
50 SDL_PROC(void, glBindTexture, (GLenum target, GLuint texture))
51 SDL_PROC(void, glBlendFunc, (GLenum sfactor, GLenum dfactor))
52 SDL_PROC_UNUSED(void, glBufferData, (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage))
53 SDL_PROC_UNUSED(void, glBufferSubData, (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data))
54 SDL_PROC(void, glClear, (GLbitfield mask))
55 SDL_PROC_UNUSED(void, glClearColorx, (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha))
56 SDL_PROC_UNUSED(void, glClearDepthx, (GLclampx depth))
57 SDL_PROC_UNUSED(void, glClearStencil, (GLint s))
58 SDL_PROC_UNUSED(void, glClientActiveTexture, (GLenum texture))
59 SDL_PROC_UNUSED(void, glClipPlanex, (GLenum plane, const GLfixed *equation))
60 SDL_PROC_UNUSED(void, glColor4ub, (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha))
61 SDL_PROC_UNUSED(void, glColor4x, (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha))
62 SDL_PROC_UNUSED(void, glColorMask, (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha))
63 SDL_PROC_UNUSED(void, glColorPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
64 SDL_PROC_UNUSED(void, glCompressedTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data))
65 SDL_PROC_UNUSED(void, glCompressedTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data))
66 SDL_PROC_UNUSED(void, glCopyTexImage2D, (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border))
67 SDL_PROC_UNUSED(void, glCopyTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height))
68 SDL_PROC_UNUSED(void, glCullFace, (GLenum mode))
69 SDL_PROC_UNUSED(void, glDeleteBuffers, (GLsizei n, const GLuint *buffers))
70 SDL_PROC_UNUSED(void, glDeleteTextures, (GLsizei n, const GLuint *textures))
71 SDL_PROC_UNUSED(void, glDepthFunc, (GLenum func))
72 SDL_PROC_UNUSED(void, glDepthMask, (GLboolean flag))
73 SDL_PROC_UNUSED(void, glDepthRangex, (GLclampx zNear, GLclampx zFar))
74 SDL_PROC(void, glDisable, (GLenum cap))
75 SDL_PROC_UNUSED(void, glDisableClientState, (GLenum array))
76 SDL_PROC(void, glDrawArrays, (GLenum mode, GLint first, GLsizei count))
77 SDL_PROC_UNUSED(void, glDrawElements, (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices))
78 SDL_PROC(void, glEnable, (GLenum cap))
79 SDL_PROC(void, glEnableClientState, (GLenum array))
80 SDL_PROC_UNUSED(void, glFinish, (void))
81 SDL_PROC_UNUSED(void, glFlush, (void))
82 SDL_PROC_UNUSED(void, glFogx, (GLenum pname, GLfixed param))
83 SDL_PROC_UNUSED(void, glFogxv, (GLenum pname, const GLfixed *params))
84 SDL_PROC_UNUSED(void, glFrontFace, (GLenum mode))
85 SDL_PROC_UNUSED(void, glFrustumx, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
86 SDL_PROC_UNUSED(void, glGetBooleanv, (GLenum pname, GLboolean *params))
87 SDL_PROC_UNUSED(void, glGetBufferParameteriv, (GLenum target, GLenum pname, GLint *params))
88 SDL_PROC_UNUSED(void, glGetClipPlanex, (GLenum pname, GLfixed eqn[4]))
89 SDL_PROC_UNUSED(void, glGenBuffers, (GLsizei n, GLuint *buffers))
90 SDL_PROC(void, glGenTextures, (GLsizei n, GLuint *textures))
91 SDL_PROC(GLenum, glGetError, (void))
92 SDL_PROC_UNUSED(void, glGetFixedv, (GLenum pname, GLfixed *params))
93 SDL_PROC(void, glGetIntegerv, (GLenum pname, GLint *params))
94 SDL_PROC_UNUSED(void, glGetLightxv, (GLenum light, GLenum pname, GLfixed *params))
95 SDL_PROC_UNUSED(void, glGetMaterialxv, (GLenum face, GLenum pname, GLfixed *params))
96 SDL_PROC_UNUSED(void, glGetPointerv, (GLenum pname, void **params))
97 SDL_PROC_UNUSED(const GLubyte *, glGetString, (GLenum name))
98 SDL_PROC_UNUSED(void, glGetTexEnviv, (GLenum env, GLenum pname, GLint *params))
99 SDL_PROC_UNUSED(void, glGetTexEnvxv, (GLenum env, GLenum pname, GLfixed *params))
100 SDL_PROC_UNUSED(void, glGetTexParameteriv, (GLenum target, GLenum pname, GLint *params))
101 SDL_PROC_UNUSED(void, glGetTexParameterxv, (GLenum target, GLenum pname, GLfixed *params))
102 SDL_PROC_UNUSED(void, glHint, (GLenum target, GLenum mode))
103 SDL_PROC_UNUSED(GLboolean, glIsBuffer, (GLuint buffer))
104 SDL_PROC_UNUSED(GLboolean, glIsEnabled, (GLenum cap))
105 SDL_PROC_UNUSED(GLboolean, glIsTexture, (GLuint texture))
106 SDL_PROC_UNUSED(void, glLightModelx, (GLenum pname, GLfixed param))
107 SDL_PROC_UNUSED(void, glLightModelxv, (GLenum pname, const GLfixed *params))
108 SDL_PROC_UNUSED(void, glLightx, (GLenum light, GLenum pname, GLfixed param))
109 SDL_PROC_UNUSED(void, glLightxv, (GLenum light, GLenum pname, const GLfixed *params))
110 SDL_PROC_UNUSED(void, glLineWidthx, (GLfixed width))
111 SDL_PROC(void, glLoadIdentity, (void))
112 SDL_PROC_UNUSED(void, glLoadMatrixx, (const GLfixed *m))
113 SDL_PROC_UNUSED(void, glLogicOp, (GLenum opcode))
114 SDL_PROC_UNUSED(void, glMaterialx, (GLenum face, GLenum pname, GLfixed param))
115 SDL_PROC_UNUSED(void, glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params))
116 SDL_PROC(void, glMatrixMode, (GLenum mode))
117 SDL_PROC_UNUSED(void, glMultMatrixx, (const GLfixed *m))
118 SDL_PROC_UNUSED(void, glMultiTexCoord4x, (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q))
119 SDL_PROC_UNUSED(void, glNormal3x, (GLfixed nx, GLfixed ny, GLfixed nz))
120 SDL_PROC_UNUSED(void, glNormalPointer, (GLenum type, GLsizei stride, const GLvoid *pointer))
121 SDL_PROC_UNUSED(void, glOrthox, (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar))
122 SDL_PROC(void, glPixelStorei, (GLenum pname, GLint param))
123 SDL_PROC_UNUSED(void, glPointParameterx, (GLenum pname, GLfixed param))
124 SDL_PROC_UNUSED(void, glPointParameterxv, (GLenum pname, const GLfixed *params))
125 SDL_PROC_UNUSED(void, glPointSizex, (GLfixed size))
126 SDL_PROC_UNUSED(void, glPolygonOffsetx, (GLfixed factor, GLfixed units))
127 SDL_PROC_UNUSED(void, glPopMatrix, (void))
128 SDL_PROC_UNUSED(void, glPushMatrix, (void))
129 SDL_PROC_UNUSED(void, glReadPixels, (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels))
130 SDL_PROC_UNUSED(void, glRotatex, (GLfixed angle, GLfixed x, GLfixed y, GLfixed z))
131 SDL_PROC_UNUSED(void, glSampleCoverage, (GLclampf value, GLboolean invert))
132 SDL_PROC_UNUSED(void, glSampleCoveragex, (GLclampx value, GLboolean invert))
133 SDL_PROC_UNUSED(void, glScalex, (GLfixed x, GLfixed y, GLfixed z))
134 SDL_PROC(void, glScissor, (GLint x, GLint y, GLsizei width, GLsizei height))
135 SDL_PROC_UNUSED(void, glShadeModel, (GLenum mode))
136 SDL_PROC_UNUSED(void, glStencilFunc, (GLenum func, GLint ref, GLuint mask))
137 SDL_PROC_UNUSED(void, glStencilMask, (GLuint mask))
138 SDL_PROC_UNUSED(void, glStencilOp, (GLenum fail, GLenum zfail, GLenum zpass))
139 SDL_PROC(void, glTexCoordPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
140 SDL_PROC_UNUSED(void, glTexEnvi, (GLenum target, GLenum pname, GLint param))
141 SDL_PROC_UNUSED(void, glTexEnvx, (GLenum target, GLenum pname, GLfixed param))
142 SDL_PROC_UNUSED(void, glTexEnviv, (GLenum target, GLenum pname, const GLint *params))
143 SDL_PROC_UNUSED(void, glTexEnvxv, (GLenum target, GLenum pname, const GLfixed *params))
144 SDL_PROC(void, glTexImage2D, (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels))
145 SDL_PROC(void, glTexParameteri, (GLenum target, GLenum pname, GLint param))
146 SDL_PROC_UNUSED(void, glTexParameterx, (GLenum target, GLenum pname, GLfixed param))
147 SDL_PROC(void, glTexParameteriv, (GLenum target, GLenum pname, const GLint *params))
148 SDL_PROC_UNUSED(void, glTexParameterxv, (GLenum target, GLenum pname, const GLfixed *params))
149 SDL_PROC(void, glTexSubImage2D, (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels))
150 SDL_PROC_UNUSED(void, glTranslatex, (GLfixed x, GLfixed y, GLfixed z))
151 SDL_PROC(void, glVertexPointer, (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer))
152 SDL_PROC(void, glViewport, (GLint x, GLint y, GLsizei width, GLsizei height))
153
154 /* extension functions used */
155 SDL_PROC(void, glDrawTexiOES, (GLint x, GLint y, GLint z, GLint width, GLint height))
156
157 /* vi: set ts=4 sw=4 expandtab: */