Siva Velusamy | db97468 | 2011-11-30 15:05:37 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011, The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | * |
| 16 | * THIS FILE WAS GENERATED BY A SCRIPT. DO NOT EDIT. |
| 17 | */ |
| 18 | |
| 19 | #include <cutils/log.h> |
| 20 | #include <GLES2/gl2.h> |
| 21 | |
| 22 | #include "gltrace.pb.h" |
| 23 | #include "gltrace_context.h" |
| 24 | #include "gltrace_fixup.h" |
| 25 | #include "gltrace_transport.h" |
| 26 | |
| 27 | namespace android { |
| 28 | namespace gltrace { |
| 29 | |
| 30 | |
| 31 | // Declarations for GL2 APIs |
| 32 | |
| 33 | void GLTrace_glActiveTexture(GLenum texture); |
| 34 | void GLTrace_glAttachShader(GLuint program, GLuint shader); |
| 35 | void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name); |
| 36 | void GLTrace_glBindBuffer(GLenum target, GLuint buffer); |
| 37 | void GLTrace_glBindFramebuffer(GLenum target, GLuint framebuffer); |
| 38 | void GLTrace_glBindRenderbuffer(GLenum target, GLuint renderbuffer); |
| 39 | void GLTrace_glBindTexture(GLenum target, GLuint texture); |
| 40 | void GLTrace_glBlendColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 41 | void GLTrace_glBlendEquation(GLenum mode); |
| 42 | void GLTrace_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
| 43 | void GLTrace_glBlendFunc(GLenum sfactor, GLenum dfactor); |
| 44 | void GLTrace_glBlendFuncSeparate(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); |
| 45 | void GLTrace_glBufferData(GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); |
| 46 | void GLTrace_glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); |
| 47 | GLenum GLTrace_glCheckFramebufferStatus(GLenum target); |
| 48 | void GLTrace_glClear(GLbitfield mask); |
| 49 | void GLTrace_glClearColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); |
| 50 | void GLTrace_glClearDepthf(GLclampf depth); |
| 51 | void GLTrace_glClearStencil(GLint s); |
| 52 | void GLTrace_glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
| 53 | void GLTrace_glCompileShader(GLuint shader); |
| 54 | void GLTrace_glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); |
| 55 | void GLTrace_glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); |
| 56 | void GLTrace_glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
| 57 | void GLTrace_glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
| 58 | GLuint GLTrace_glCreateProgram(void); |
| 59 | GLuint GLTrace_glCreateShader(GLenum type); |
| 60 | void GLTrace_glCullFace(GLenum mode); |
| 61 | void GLTrace_glDeleteBuffers(GLsizei n, const GLuint* buffers); |
| 62 | void GLTrace_glDeleteFramebuffers(GLsizei n, const GLuint* framebuffers); |
| 63 | void GLTrace_glDeleteProgram(GLuint program); |
| 64 | void GLTrace_glDeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers); |
| 65 | void GLTrace_glDeleteShader(GLuint shader); |
| 66 | void GLTrace_glDeleteTextures(GLsizei n, const GLuint* textures); |
| 67 | void GLTrace_glDepthFunc(GLenum func); |
| 68 | void GLTrace_glDepthMask(GLboolean flag); |
| 69 | void GLTrace_glDepthRangef(GLclampf zNear, GLclampf zFar); |
| 70 | void GLTrace_glDetachShader(GLuint program, GLuint shader); |
| 71 | void GLTrace_glDisable(GLenum cap); |
| 72 | void GLTrace_glDisableVertexAttribArray(GLuint index); |
| 73 | void GLTrace_glDrawArrays(GLenum mode, GLint first, GLsizei count); |
| 74 | void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); |
| 75 | void GLTrace_glEnable(GLenum cap); |
| 76 | void GLTrace_glEnableVertexAttribArray(GLuint index); |
| 77 | void GLTrace_glFinish(void); |
| 78 | void GLTrace_glFlush(void); |
| 79 | void GLTrace_glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
| 80 | void GLTrace_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
| 81 | void GLTrace_glFrontFace(GLenum mode); |
| 82 | void GLTrace_glGenBuffers(GLsizei n, GLuint* buffers); |
| 83 | void GLTrace_glGenerateMipmap(GLenum target); |
| 84 | void GLTrace_glGenFramebuffers(GLsizei n, GLuint* framebuffers); |
| 85 | void GLTrace_glGenRenderbuffers(GLsizei n, GLuint* renderbuffers); |
| 86 | void GLTrace_glGenTextures(GLsizei n, GLuint* textures); |
| 87 | void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); |
| 88 | void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); |
| 89 | void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); |
| 90 | int GLTrace_glGetAttribLocation(GLuint program, const GLchar* name); |
| 91 | void GLTrace_glGetBooleanv(GLenum pname, GLboolean* params); |
| 92 | void GLTrace_glGetBufferParameteriv(GLenum target, GLenum pname, GLint* params); |
| 93 | GLenum GLTrace_glGetError(void); |
| 94 | void GLTrace_glGetFloatv(GLenum pname, GLfloat* params); |
| 95 | void GLTrace_glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint* params); |
| 96 | void GLTrace_glGetIntegerv(GLenum pname, GLint* params); |
| 97 | void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params); |
| 98 | void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); |
| 99 | void GLTrace_glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint* params); |
| 100 | void GLTrace_glGetShaderiv(GLuint shader, GLenum pname, GLint* params); |
| 101 | void GLTrace_glGetShaderInfoLog(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); |
| 102 | void GLTrace_glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); |
| 103 | void GLTrace_glGetShaderSource(GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); |
| 104 | const GLubyte* GLTrace_glGetString(GLenum name); |
| 105 | void GLTrace_glGetTexParameterfv(GLenum target, GLenum pname, GLfloat* params); |
| 106 | void GLTrace_glGetTexParameteriv(GLenum target, GLenum pname, GLint* params); |
| 107 | void GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat* params); |
| 108 | void GLTrace_glGetUniformiv(GLuint program, GLint location, GLint* params); |
| 109 | int GLTrace_glGetUniformLocation(GLuint program, const GLchar* name); |
| 110 | void GLTrace_glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params); |
| 111 | void GLTrace_glGetVertexAttribiv(GLuint index, GLenum pname, GLint* params); |
| 112 | void GLTrace_glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid** pointer); |
| 113 | void GLTrace_glHint(GLenum target, GLenum mode); |
| 114 | GLboolean GLTrace_glIsBuffer(GLuint buffer); |
| 115 | GLboolean GLTrace_glIsEnabled(GLenum cap); |
| 116 | GLboolean GLTrace_glIsFramebuffer(GLuint framebuffer); |
| 117 | GLboolean GLTrace_glIsProgram(GLuint program); |
| 118 | GLboolean GLTrace_glIsRenderbuffer(GLuint renderbuffer); |
| 119 | GLboolean GLTrace_glIsShader(GLuint shader); |
| 120 | GLboolean GLTrace_glIsTexture(GLuint texture); |
| 121 | void GLTrace_glLineWidth(GLfloat width); |
| 122 | void GLTrace_glLinkProgram(GLuint program); |
| 123 | void GLTrace_glPixelStorei(GLenum pname, GLint param); |
| 124 | void GLTrace_glPolygonOffset(GLfloat factor, GLfloat units); |
| 125 | void GLTrace_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); |
| 126 | void GLTrace_glReleaseShaderCompiler(void); |
| 127 | void GLTrace_glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
| 128 | void GLTrace_glSampleCoverage(GLclampf value, GLboolean invert); |
| 129 | void GLTrace_glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
| 130 | void GLTrace_glShaderBinary(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); |
| 131 | void GLTrace_glShaderSource(GLuint shader, GLsizei count, const GLchar** string, const GLint* length); |
| 132 | void GLTrace_glStencilFunc(GLenum func, GLint ref, GLuint mask); |
| 133 | void GLTrace_glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
| 134 | void GLTrace_glStencilMask(GLuint mask); |
| 135 | void GLTrace_glStencilMaskSeparate(GLenum face, GLuint mask); |
| 136 | void GLTrace_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
| 137 | void GLTrace_glStencilOpSeparate(GLenum face, GLenum fail, GLenum zfail, GLenum zpass); |
| 138 | void GLTrace_glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); |
| 139 | void GLTrace_glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
| 140 | void GLTrace_glTexParameterfv(GLenum target, GLenum pname, const GLfloat* params); |
| 141 | void GLTrace_glTexParameteri(GLenum target, GLenum pname, GLint param); |
| 142 | void GLTrace_glTexParameteriv(GLenum target, GLenum pname, const GLint* params); |
| 143 | void GLTrace_glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); |
| 144 | void GLTrace_glUniform1f(GLint location, GLfloat x); |
| 145 | void GLTrace_glUniform1fv(GLint location, GLsizei count, const GLfloat* v); |
| 146 | void GLTrace_glUniform1i(GLint location, GLint x); |
| 147 | void GLTrace_glUniform1iv(GLint location, GLsizei count, const GLint* v); |
| 148 | void GLTrace_glUniform2f(GLint location, GLfloat x, GLfloat y); |
| 149 | void GLTrace_glUniform2fv(GLint location, GLsizei count, const GLfloat* v); |
| 150 | void GLTrace_glUniform2i(GLint location, GLint x, GLint y); |
| 151 | void GLTrace_glUniform2iv(GLint location, GLsizei count, const GLint* v); |
| 152 | void GLTrace_glUniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z); |
| 153 | void GLTrace_glUniform3fv(GLint location, GLsizei count, const GLfloat* v); |
| 154 | void GLTrace_glUniform3i(GLint location, GLint x, GLint y, GLint z); |
| 155 | void GLTrace_glUniform3iv(GLint location, GLsizei count, const GLint* v); |
| 156 | void GLTrace_glUniform4f(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 157 | void GLTrace_glUniform4fv(GLint location, GLsizei count, const GLfloat* v); |
| 158 | void GLTrace_glUniform4i(GLint location, GLint x, GLint y, GLint z, GLint w); |
| 159 | void GLTrace_glUniform4iv(GLint location, GLsizei count, const GLint* v); |
| 160 | void GLTrace_glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); |
| 161 | void GLTrace_glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); |
| 162 | void GLTrace_glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); |
| 163 | void GLTrace_glUseProgram(GLuint program); |
| 164 | void GLTrace_glValidateProgram(GLuint program); |
| 165 | void GLTrace_glVertexAttrib1f(GLuint indx, GLfloat x); |
| 166 | void GLTrace_glVertexAttrib1fv(GLuint indx, const GLfloat* values); |
| 167 | void GLTrace_glVertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); |
| 168 | void GLTrace_glVertexAttrib2fv(GLuint indx, const GLfloat* values); |
| 169 | void GLTrace_glVertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); |
| 170 | void GLTrace_glVertexAttrib3fv(GLuint indx, const GLfloat* values); |
| 171 | void GLTrace_glVertexAttrib4f(GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 172 | void GLTrace_glVertexAttrib4fv(GLuint indx, const GLfloat* values); |
| 173 | void GLTrace_glVertexAttribPointer(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); |
| 174 | void GLTrace_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
| 175 | |
| 176 | // Declarations for GL2Ext APIs |
| 177 | |
| 178 | void GLTrace_glEGLImageTargetTexture2DOES(GLenum target, GLeglImageOES image); |
| 179 | void GLTrace_glEGLImageTargetRenderbufferStorageOES(GLenum target, GLeglImageOES image); |
| 180 | void GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
| 181 | void GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); |
| 182 | void* GLTrace_glMapBufferOES(GLenum target, GLenum access); |
| 183 | GLboolean GLTrace_glUnmapBufferOES(GLenum target); |
| 184 | void GLTrace_glGetBufferPointervOES(GLenum target, GLenum pname, GLvoid** params); |
| 185 | void GLTrace_glTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); |
| 186 | void GLTrace_glTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); |
| 187 | void GLTrace_glCopyTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
| 188 | void GLTrace_glCompressedTexImage3DOES(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); |
| 189 | void GLTrace_glCompressedTexSubImage3DOES(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); |
| 190 | void GLTrace_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
| 191 | void GLTrace_glBindVertexArrayOES(GLuint array); |
| 192 | void GLTrace_glDeleteVertexArraysOES(GLsizei n, const GLuint *arrays); |
| 193 | void GLTrace_glGenVertexArraysOES(GLsizei n, GLuint *arrays); |
| 194 | GLboolean GLTrace_glIsVertexArrayOES(GLuint array); |
| 195 | void GLTrace_glGetPerfMonitorGroupsAMD(GLint *numGroups, GLsizei groupsSize, GLuint *groups); |
| 196 | void GLTrace_glGetPerfMonitorCountersAMD(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); |
| 197 | void GLTrace_glGetPerfMonitorGroupStringAMD(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); |
| 198 | void GLTrace_glGetPerfMonitorCounterStringAMD(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); |
| 199 | void GLTrace_glGetPerfMonitorCounterInfoAMD(GLuint group, GLuint counter, GLenum pname, GLvoid *data); |
| 200 | void GLTrace_glGenPerfMonitorsAMD(GLsizei n, GLuint *monitors); |
| 201 | void GLTrace_glDeletePerfMonitorsAMD(GLsizei n, GLuint *monitors); |
| 202 | void GLTrace_glSelectPerfMonitorCountersAMD(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); |
| 203 | void GLTrace_glBeginPerfMonitorAMD(GLuint monitor); |
| 204 | void GLTrace_glEndPerfMonitorAMD(GLuint monitor); |
| 205 | void GLTrace_glGetPerfMonitorCounterDataAMD(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
| 206 | void GLTrace_glDiscardFramebufferEXT(GLenum target, GLsizei numAttachments, const GLenum *attachments); |
| 207 | void GLTrace_glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); |
| 208 | void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); |
| 209 | void GLTrace_glRenderbufferStorageMultisampleIMG(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 210 | void GLTrace_glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); |
| 211 | void GLTrace_glDeleteFencesNV(GLsizei n, const GLuint *fences); |
| 212 | void GLTrace_glGenFencesNV(GLsizei n, GLuint *fences); |
| 213 | GLboolean GLTrace_glIsFenceNV(GLuint fence); |
| 214 | GLboolean GLTrace_glTestFenceNV(GLuint fence); |
| 215 | void GLTrace_glGetFenceivNV(GLuint fence, GLenum pname, GLint *params); |
| 216 | void GLTrace_glFinishFenceNV(GLuint fence); |
| 217 | void GLTrace_glSetFenceNV(GLuint fence, GLenum condition); |
| 218 | void GLTrace_glCoverageMaskNV(GLboolean mask); |
| 219 | void GLTrace_glCoverageOperationNV(GLenum operation); |
| 220 | void GLTrace_glGetDriverControlsQCOM(GLint *num, GLsizei size, GLuint *driverControls); |
| 221 | void GLTrace_glGetDriverControlStringQCOM(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
| 222 | void GLTrace_glEnableDriverControlQCOM(GLuint driverControl); |
| 223 | void GLTrace_glDisableDriverControlQCOM(GLuint driverControl); |
| 224 | void GLTrace_glExtGetTexturesQCOM(GLuint *textures, GLint maxTextures, GLint *numTextures); |
| 225 | void GLTrace_glExtGetBuffersQCOM(GLuint *buffers, GLint maxBuffers, GLint *numBuffers); |
| 226 | void GLTrace_glExtGetRenderbuffersQCOM(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); |
| 227 | void GLTrace_glExtGetFramebuffersQCOM(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); |
| 228 | void GLTrace_glExtGetTexLevelParameterivQCOM(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); |
| 229 | void GLTrace_glExtTexObjectStateOverrideiQCOM(GLenum target, GLenum pname, GLint param); |
| 230 | void GLTrace_glExtGetTexSubImageQCOM(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); |
| 231 | void GLTrace_glExtGetBufferPointervQCOM(GLenum target, GLvoid **params); |
| 232 | void GLTrace_glExtGetShadersQCOM(GLuint *shaders, GLint maxShaders, GLint *numShaders); |
| 233 | void GLTrace_glExtGetProgramsQCOM(GLuint *programs, GLint maxPrograms, GLint *numPrograms); |
| 234 | GLboolean GLTrace_glExtIsProgramBinaryQCOM(GLuint program); |
| 235 | void GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length); |
| 236 | void GLTrace_glStartTilingQCOM(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); |
| 237 | void GLTrace_glEndTilingQCOM(GLbitfield preserveMask); |
| 238 | |
| 239 | // Declarations for GL1 APIs |
| 240 | |
| 241 | void GLTrace_glAlphaFunc(GLenum func, GLclampf ref); |
| 242 | void GLTrace_glClipPlanef(GLenum plane, const GLfloat *equation); |
| 243 | void GLTrace_glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 244 | void GLTrace_glFogf(GLenum pname, GLfloat param); |
| 245 | void GLTrace_glFogfv(GLenum pname, const GLfloat *params); |
| 246 | void GLTrace_glFrustumf(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); |
| 247 | void GLTrace_glGetClipPlanef(GLenum pname, GLfloat eqn[4]); |
| 248 | void GLTrace_glGetLightfv(GLenum light, GLenum pname, GLfloat *params); |
| 249 | void GLTrace_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); |
| 250 | void GLTrace_glGetTexEnvfv(GLenum env, GLenum pname, GLfloat *params); |
| 251 | void GLTrace_glLightModelf(GLenum pname, GLfloat param); |
| 252 | void GLTrace_glLightModelfv(GLenum pname, const GLfloat *params); |
| 253 | void GLTrace_glLightf(GLenum light, GLenum pname, GLfloat param); |
| 254 | void GLTrace_glLightfv(GLenum light, GLenum pname, const GLfloat *params); |
| 255 | void GLTrace_glLoadMatrixf(const GLfloat *m); |
| 256 | void GLTrace_glMaterialf(GLenum face, GLenum pname, GLfloat param); |
| 257 | void GLTrace_glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); |
| 258 | void GLTrace_glMultMatrixf(const GLfloat *m); |
| 259 | void GLTrace_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
| 260 | void GLTrace_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); |
| 261 | void GLTrace_glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); |
| 262 | void GLTrace_glPointParameterf(GLenum pname, GLfloat param); |
| 263 | void GLTrace_glPointParameterfv(GLenum pname, const GLfloat *params); |
| 264 | void GLTrace_glPointSize(GLfloat size); |
| 265 | void GLTrace_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); |
| 266 | void GLTrace_glScalef(GLfloat x, GLfloat y, GLfloat z); |
| 267 | void GLTrace_glTexEnvf(GLenum target, GLenum pname, GLfloat param); |
| 268 | void GLTrace_glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); |
| 269 | void GLTrace_glTranslatef(GLfloat x, GLfloat y, GLfloat z); |
| 270 | void GLTrace_glAlphaFuncx(GLenum func, GLclampx ref); |
| 271 | void GLTrace_glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); |
| 272 | void GLTrace_glClearDepthx(GLclampx depth); |
| 273 | void GLTrace_glClientActiveTexture(GLenum texture); |
| 274 | void GLTrace_glClipPlanex(GLenum plane, const GLfixed *equation); |
| 275 | void GLTrace_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); |
| 276 | void GLTrace_glColor4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); |
| 277 | void GLTrace_glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 278 | void GLTrace_glDepthRangex(GLclampx zNear, GLclampx zFar); |
| 279 | void GLTrace_glDisableClientState(GLenum array); |
| 280 | void GLTrace_glEnableClientState(GLenum array); |
| 281 | void GLTrace_glFogx(GLenum pname, GLfixed param); |
| 282 | void GLTrace_glFogxv(GLenum pname, const GLfixed *params); |
| 283 | void GLTrace_glFrustumx(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); |
| 284 | void GLTrace_glGetClipPlanex(GLenum pname, GLfixed eqn[4]); |
| 285 | void GLTrace_glGetFixedv(GLenum pname, GLfixed *params); |
| 286 | void GLTrace_glGetLightxv(GLenum light, GLenum pname, GLfixed *params); |
| 287 | void GLTrace_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *params); |
| 288 | void GLTrace_glGetPointerv(GLenum pname, GLvoid **params); |
| 289 | void GLTrace_glGetTexEnviv(GLenum env, GLenum pname, GLint *params); |
| 290 | void GLTrace_glGetTexEnvxv(GLenum env, GLenum pname, GLfixed *params); |
| 291 | void GLTrace_glGetTexParameterxv(GLenum target, GLenum pname, GLfixed *params); |
| 292 | void GLTrace_glLightModelx(GLenum pname, GLfixed param); |
| 293 | void GLTrace_glLightModelxv(GLenum pname, const GLfixed *params); |
| 294 | void GLTrace_glLightx(GLenum light, GLenum pname, GLfixed param); |
| 295 | void GLTrace_glLightxv(GLenum light, GLenum pname, const GLfixed *params); |
| 296 | void GLTrace_glLineWidthx(GLfixed width); |
| 297 | void GLTrace_glLoadIdentity(void); |
| 298 | void GLTrace_glLoadMatrixx(const GLfixed *m); |
| 299 | void GLTrace_glLogicOp(GLenum opcode); |
| 300 | void GLTrace_glMaterialx(GLenum face, GLenum pname, GLfixed param); |
| 301 | void GLTrace_glMaterialxv(GLenum face, GLenum pname, const GLfixed *params); |
| 302 | void GLTrace_glMatrixMode(GLenum mode); |
| 303 | void GLTrace_glMultMatrixx(const GLfixed *m); |
| 304 | void GLTrace_glMultiTexCoord4x(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); |
| 305 | void GLTrace_glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz); |
| 306 | void GLTrace_glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 307 | void GLTrace_glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); |
| 308 | void GLTrace_glPointParameterx(GLenum pname, GLfixed param); |
| 309 | void GLTrace_glPointParameterxv(GLenum pname, const GLfixed *params); |
| 310 | void GLTrace_glPointSizex(GLfixed size); |
| 311 | void GLTrace_glPolygonOffsetx(GLfixed factor, GLfixed units); |
| 312 | void GLTrace_glPopMatrix(void); |
| 313 | void GLTrace_glPushMatrix(void); |
| 314 | void GLTrace_glRotatex(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); |
| 315 | void GLTrace_glSampleCoveragex(GLclampx value, GLboolean invert); |
| 316 | void GLTrace_glScalex(GLfixed x, GLfixed y, GLfixed z); |
| 317 | void GLTrace_glShadeModel(GLenum mode); |
| 318 | void GLTrace_glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 319 | void GLTrace_glTexEnvi(GLenum target, GLenum pname, GLint param); |
| 320 | void GLTrace_glTexEnvx(GLenum target, GLenum pname, GLfixed param); |
| 321 | void GLTrace_glTexEnviv(GLenum target, GLenum pname, const GLint *params); |
| 322 | void GLTrace_glTexEnvxv(GLenum target, GLenum pname, const GLfixed *params); |
| 323 | void GLTrace_glTexParameterx(GLenum target, GLenum pname, GLfixed param); |
| 324 | void GLTrace_glTexParameterxv(GLenum target, GLenum pname, const GLfixed *params); |
| 325 | void GLTrace_glTranslatex(GLfixed x, GLfixed y, GLfixed z); |
| 326 | void GLTrace_glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 327 | void GLTrace_glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 328 | |
| 329 | // Declarations for GL1Ext APIs |
| 330 | |
| 331 | void GLTrace_glBlendEquationSeparateOES(GLenum modeRGB, GLenum modeAlpha); |
| 332 | void GLTrace_glBlendFuncSeparateOES(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); |
| 333 | void GLTrace_glBlendEquationOES(GLenum mode); |
| 334 | void GLTrace_glDrawTexsOES(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height); |
| 335 | void GLTrace_glDrawTexiOES(GLint x, GLint y, GLint z, GLint width, GLint height); |
| 336 | void GLTrace_glDrawTexxOES(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height); |
| 337 | void GLTrace_glDrawTexsvOES(const GLshort *coords); |
| 338 | void GLTrace_glDrawTexivOES(const GLint *coords); |
| 339 | void GLTrace_glDrawTexxvOES(const GLfixed *coords); |
| 340 | void GLTrace_glDrawTexfOES(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height); |
| 341 | void GLTrace_glDrawTexfvOES(const GLfloat *coords); |
| 342 | void GLTrace_glAlphaFuncxOES(GLenum func, GLclampx ref); |
| 343 | void GLTrace_glClearColorxOES(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); |
| 344 | void GLTrace_glClearDepthxOES(GLclampx depth); |
| 345 | void GLTrace_glClipPlanexOES(GLenum plane, const GLfixed *equation); |
| 346 | void GLTrace_glColor4xOES(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); |
| 347 | void GLTrace_glDepthRangexOES(GLclampx zNear, GLclampx zFar); |
| 348 | void GLTrace_glFogxOES(GLenum pname, GLfixed param); |
| 349 | void GLTrace_glFogxvOES(GLenum pname, const GLfixed *params); |
| 350 | void GLTrace_glFrustumxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); |
| 351 | void GLTrace_glGetClipPlanexOES(GLenum pname, GLfixed eqn[4]); |
| 352 | void GLTrace_glGetFixedvOES(GLenum pname, GLfixed *params); |
| 353 | void GLTrace_glGetLightxvOES(GLenum light, GLenum pname, GLfixed *params); |
| 354 | void GLTrace_glGetMaterialxvOES(GLenum face, GLenum pname, GLfixed *params); |
| 355 | void GLTrace_glGetTexEnvxvOES(GLenum env, GLenum pname, GLfixed *params); |
| 356 | void GLTrace_glGetTexParameterxvOES(GLenum target, GLenum pname, GLfixed *params); |
| 357 | void GLTrace_glLightModelxOES(GLenum pname, GLfixed param); |
| 358 | void GLTrace_glLightModelxvOES(GLenum pname, const GLfixed *params); |
| 359 | void GLTrace_glLightxOES(GLenum light, GLenum pname, GLfixed param); |
| 360 | void GLTrace_glLightxvOES(GLenum light, GLenum pname, const GLfixed *params); |
| 361 | void GLTrace_glLineWidthxOES(GLfixed width); |
| 362 | void GLTrace_glLoadMatrixxOES(const GLfixed *m); |
| 363 | void GLTrace_glMaterialxOES(GLenum face, GLenum pname, GLfixed param); |
| 364 | void GLTrace_glMaterialxvOES(GLenum face, GLenum pname, const GLfixed *params); |
| 365 | void GLTrace_glMultMatrixxOES(const GLfixed *m); |
| 366 | void GLTrace_glMultiTexCoord4xOES(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q); |
| 367 | void GLTrace_glNormal3xOES(GLfixed nx, GLfixed ny, GLfixed nz); |
| 368 | void GLTrace_glOrthoxOES(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar); |
| 369 | void GLTrace_glPointParameterxOES(GLenum pname, GLfixed param); |
| 370 | void GLTrace_glPointParameterxvOES(GLenum pname, const GLfixed *params); |
| 371 | void GLTrace_glPointSizexOES(GLfixed size); |
| 372 | void GLTrace_glPolygonOffsetxOES(GLfixed factor, GLfixed units); |
| 373 | void GLTrace_glRotatexOES(GLfixed angle, GLfixed x, GLfixed y, GLfixed z); |
| 374 | void GLTrace_glSampleCoveragexOES(GLclampx value, GLboolean invert); |
| 375 | void GLTrace_glScalexOES(GLfixed x, GLfixed y, GLfixed z); |
| 376 | void GLTrace_glTexEnvxOES(GLenum target, GLenum pname, GLfixed param); |
| 377 | void GLTrace_glTexEnvxvOES(GLenum target, GLenum pname, const GLfixed *params); |
| 378 | void GLTrace_glTexParameterxOES(GLenum target, GLenum pname, GLfixed param); |
| 379 | void GLTrace_glTexParameterxvOES(GLenum target, GLenum pname, const GLfixed *params); |
| 380 | void GLTrace_glTranslatexOES(GLfixed x, GLfixed y, GLfixed z); |
| 381 | GLboolean GLTrace_glIsRenderbufferOES(GLuint renderbuffer); |
| 382 | void GLTrace_glBindRenderbufferOES(GLenum target, GLuint renderbuffer); |
| 383 | void GLTrace_glDeleteRenderbuffersOES(GLsizei n, const GLuint* renderbuffers); |
| 384 | void GLTrace_glGenRenderbuffersOES(GLsizei n, GLuint* renderbuffers); |
| 385 | void GLTrace_glRenderbufferStorageOES(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
| 386 | void GLTrace_glGetRenderbufferParameterivOES(GLenum target, GLenum pname, GLint* params); |
| 387 | GLboolean GLTrace_glIsFramebufferOES(GLuint framebuffer); |
| 388 | void GLTrace_glBindFramebufferOES(GLenum target, GLuint framebuffer); |
| 389 | void GLTrace_glDeleteFramebuffersOES(GLsizei n, const GLuint* framebuffers); |
| 390 | void GLTrace_glGenFramebuffersOES(GLsizei n, GLuint* framebuffers); |
| 391 | GLenum GLTrace_glCheckFramebufferStatusOES(GLenum target); |
| 392 | void GLTrace_glFramebufferRenderbufferOES(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
| 393 | void GLTrace_glFramebufferTexture2DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
| 394 | void GLTrace_glGetFramebufferAttachmentParameterivOES(GLenum target, GLenum attachment, GLenum pname, GLint* params); |
| 395 | void GLTrace_glGenerateMipmapOES(GLenum target); |
| 396 | void GLTrace_glCurrentPaletteMatrixOES(GLuint matrixpaletteindex); |
| 397 | void GLTrace_glLoadPaletteFromModelViewMatrixOES(void); |
| 398 | void GLTrace_glMatrixIndexPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 399 | void GLTrace_glWeightPointerOES(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 400 | GLbitfield GLTrace_glQueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]); |
| 401 | void GLTrace_glDepthRangefOES(GLclampf zNear, GLclampf zFar); |
| 402 | void GLTrace_glFrustumfOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); |
| 403 | void GLTrace_glOrthofOES(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar); |
| 404 | void GLTrace_glClipPlanefOES(GLenum plane, const GLfloat *equation); |
| 405 | void GLTrace_glGetClipPlanefOES(GLenum pname, GLfloat eqn[4]); |
| 406 | void GLTrace_glClearDepthfOES(GLclampf depth); |
| 407 | void GLTrace_glTexGenfOES(GLenum coord, GLenum pname, GLfloat param); |
| 408 | void GLTrace_glTexGenfvOES(GLenum coord, GLenum pname, const GLfloat *params); |
| 409 | void GLTrace_glTexGeniOES(GLenum coord, GLenum pname, GLint param); |
| 410 | void GLTrace_glTexGenivOES(GLenum coord, GLenum pname, const GLint *params); |
| 411 | void GLTrace_glTexGenxOES(GLenum coord, GLenum pname, GLfixed param); |
| 412 | void GLTrace_glTexGenxvOES(GLenum coord, GLenum pname, const GLfixed *params); |
| 413 | void GLTrace_glGetTexGenfvOES(GLenum coord, GLenum pname, GLfloat *params); |
| 414 | void GLTrace_glGetTexGenivOES(GLenum coord, GLenum pname, GLint *params); |
| 415 | void GLTrace_glGetTexGenxvOES(GLenum coord, GLenum pname, GLfixed *params); |
| 416 | void GLTrace_glClipPlanefIMG(GLenum p, const GLfloat *eqn); |
| 417 | void GLTrace_glClipPlanexIMG(GLenum p, const GLfixed *eqn); |
| 418 | |
| 419 | |
| 420 | }; // namespace gltrace |
| 421 | }; // namespace android |