Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 1 | void API_ENTRY(__glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { |
| 2 | CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); |
| 3 | } |
| 4 | void API_ENTRY(__glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { |
| 5 | CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); |
| 6 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 7 | void API_ENTRY(glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 8 | CALL_GL_API(glGetProgramBinaryOES, program, bufSize, length, binaryFormat, binary); |
| 9 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 10 | void API_ENTRY(glProgramBinaryOES)(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 11 | CALL_GL_API(glProgramBinaryOES, program, binaryFormat, binary, length); |
| 12 | } |
| 13 | void* API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { |
| 14 | CALL_GL_API_RETURN(glMapBufferOES, target, access); |
| 15 | } |
| 16 | GLboolean API_ENTRY(glUnmapBufferOES)(GLenum target) { |
| 17 | CALL_GL_API_RETURN(glUnmapBufferOES, target); |
| 18 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 19 | void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, GLvoid** params) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 20 | CALL_GL_API(glGetBufferPointervOES, target, pname, params); |
| 21 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 22 | void API_ENTRY(glTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 23 | CALL_GL_API(glTexImage3DOES, target, level, internalformat, width, height, depth, border, format, type, pixels); |
| 24 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 25 | void API_ENTRY(glTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 26 | CALL_GL_API(glTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| 27 | } |
| 28 | void API_ENTRY(glCopyTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { |
| 29 | CALL_GL_API(glCopyTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 30 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 31 | void API_ENTRY(glCompressedTexImage3DOES)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 32 | CALL_GL_API(glCompressedTexImage3DOES, target, level, internalformat, width, height, depth, border, imageSize, data); |
| 33 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 34 | void API_ENTRY(glCompressedTexSubImage3DOES)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 35 | CALL_GL_API(glCompressedTexSubImage3DOES, target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| 36 | } |
| 37 | void API_ENTRY(glFramebufferTexture3DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) { |
| 38 | CALL_GL_API(glFramebufferTexture3DOES, target, attachment, textarget, texture, level, zoffset); |
| 39 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 40 | void API_ENTRY(glBindVertexArrayOES)(GLuint array) { |
| 41 | CALL_GL_API(glBindVertexArrayOES, array); |
| 42 | } |
| 43 | void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint *arrays) { |
| 44 | CALL_GL_API(glDeleteVertexArraysOES, n, arrays); |
| 45 | } |
| 46 | void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint *arrays) { |
| 47 | CALL_GL_API(glGenVertexArraysOES, n, arrays); |
| 48 | } |
| 49 | GLboolean API_ENTRY(glIsVertexArrayOES)(GLuint array) { |
| 50 | CALL_GL_API_RETURN(glIsVertexArrayOES, array); |
| 51 | } |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 52 | void API_ENTRY(glGetPerfMonitorGroupsAMD)(GLint *numGroups, GLsizei groupsSize, GLuint *groups) { |
| 53 | CALL_GL_API(glGetPerfMonitorGroupsAMD, numGroups, groupsSize, groups); |
| 54 | } |
| 55 | void API_ENTRY(glGetPerfMonitorCountersAMD)(GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters) { |
| 56 | CALL_GL_API(glGetPerfMonitorCountersAMD, group, numCounters, maxActiveCounters, counterSize, counters); |
| 57 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 58 | void API_ENTRY(glGetPerfMonitorGroupStringAMD)(GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 59 | CALL_GL_API(glGetPerfMonitorGroupStringAMD, group, bufSize, length, groupString); |
| 60 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 61 | void API_ENTRY(glGetPerfMonitorCounterStringAMD)(GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 62 | CALL_GL_API(glGetPerfMonitorCounterStringAMD, group, counter, bufSize, length, counterString); |
| 63 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 64 | void API_ENTRY(glGetPerfMonitorCounterInfoAMD)(GLuint group, GLuint counter, GLenum pname, GLvoid *data) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 65 | CALL_GL_API(glGetPerfMonitorCounterInfoAMD, group, counter, pname, data); |
| 66 | } |
| 67 | void API_ENTRY(glGenPerfMonitorsAMD)(GLsizei n, GLuint *monitors) { |
| 68 | CALL_GL_API(glGenPerfMonitorsAMD, n, monitors); |
| 69 | } |
| 70 | void API_ENTRY(glDeletePerfMonitorsAMD)(GLsizei n, GLuint *monitors) { |
| 71 | CALL_GL_API(glDeletePerfMonitorsAMD, n, monitors); |
| 72 | } |
| 73 | void API_ENTRY(glSelectPerfMonitorCountersAMD)(GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList) { |
| 74 | CALL_GL_API(glSelectPerfMonitorCountersAMD, monitor, enable, group, numCounters, countersList); |
| 75 | } |
| 76 | void API_ENTRY(glBeginPerfMonitorAMD)(GLuint monitor) { |
| 77 | CALL_GL_API(glBeginPerfMonitorAMD, monitor); |
| 78 | } |
| 79 | void API_ENTRY(glEndPerfMonitorAMD)(GLuint monitor) { |
| 80 | CALL_GL_API(glEndPerfMonitorAMD, monitor); |
| 81 | } |
| 82 | void API_ENTRY(glGetPerfMonitorCounterDataAMD)(GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten) { |
| 83 | CALL_GL_API(glGetPerfMonitorCounterDataAMD, monitor, pname, dataSize, data, bytesWritten); |
| 84 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 85 | void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum *attachments) { |
| 86 | CALL_GL_API(glDiscardFramebufferEXT, target, numAttachments, attachments); |
| 87 | } |
| 88 | void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { |
| 89 | CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); |
| 90 | } |
| 91 | void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { |
| 92 | CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); |
| 93 | } |
| 94 | void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { |
| 95 | CALL_GL_API(glRenderbufferStorageMultisampleIMG, target, samples, internalformat, width, height); |
| 96 | } |
| 97 | void API_ENTRY(glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { |
| 98 | CALL_GL_API(glFramebufferTexture2DMultisampleIMG, target, attachment, textarget, texture, level, samples); |
| 99 | } |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 100 | void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { |
| 101 | CALL_GL_API(glDeleteFencesNV, n, fences); |
| 102 | } |
| 103 | void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { |
| 104 | CALL_GL_API(glGenFencesNV, n, fences); |
| 105 | } |
| 106 | GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { |
| 107 | CALL_GL_API_RETURN(glIsFenceNV, fence); |
| 108 | } |
| 109 | GLboolean API_ENTRY(glTestFenceNV)(GLuint fence) { |
| 110 | CALL_GL_API_RETURN(glTestFenceNV, fence); |
| 111 | } |
| 112 | void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint *params) { |
| 113 | CALL_GL_API(glGetFenceivNV, fence, pname, params); |
| 114 | } |
| 115 | void API_ENTRY(glFinishFenceNV)(GLuint fence) { |
| 116 | CALL_GL_API(glFinishFenceNV, fence); |
| 117 | } |
| 118 | void API_ENTRY(glSetFenceNV)(GLuint fence, GLenum condition) { |
| 119 | CALL_GL_API(glSetFenceNV, fence, condition); |
| 120 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 121 | void API_ENTRY(glCoverageMaskNV)(GLboolean mask) { |
| 122 | CALL_GL_API(glCoverageMaskNV, mask); |
| 123 | } |
| 124 | void API_ENTRY(glCoverageOperationNV)(GLenum operation) { |
| 125 | CALL_GL_API(glCoverageOperationNV, operation); |
| 126 | } |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 127 | void API_ENTRY(glGetDriverControlsQCOM)(GLint *num, GLsizei size, GLuint *driverControls) { |
| 128 | CALL_GL_API(glGetDriverControlsQCOM, num, size, driverControls); |
| 129 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 130 | void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 131 | CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString); |
| 132 | } |
| 133 | void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { |
| 134 | CALL_GL_API(glEnableDriverControlQCOM, driverControl); |
| 135 | } |
| 136 | void API_ENTRY(glDisableDriverControlQCOM)(GLuint driverControl) { |
| 137 | CALL_GL_API(glDisableDriverControlQCOM, driverControl); |
| 138 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 139 | void API_ENTRY(glExtGetTexturesQCOM)(GLuint *textures, GLint maxTextures, GLint *numTextures) { |
| 140 | CALL_GL_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures); |
| 141 | } |
| 142 | void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { |
| 143 | CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers); |
| 144 | } |
| 145 | void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { |
| 146 | CALL_GL_API(glExtGetRenderbuffersQCOM, renderbuffers, maxRenderbuffers, numRenderbuffers); |
| 147 | } |
| 148 | void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { |
| 149 | CALL_GL_API(glExtGetFramebuffersQCOM, framebuffers, maxFramebuffers, numFramebuffers); |
| 150 | } |
| 151 | void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { |
| 152 | CALL_GL_API(glExtGetTexLevelParameterivQCOM, texture, face, level, pname, params); |
| 153 | } |
| 154 | void API_ENTRY(glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param) { |
| 155 | CALL_GL_API(glExtTexObjectStateOverrideiQCOM, target, pname, param); |
| 156 | } |
| 157 | void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) { |
| 158 | CALL_GL_API(glExtGetTexSubImageQCOM, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); |
| 159 | } |
| 160 | void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, GLvoid **params) { |
| 161 | CALL_GL_API(glExtGetBufferPointervQCOM, target, params); |
| 162 | } |
| 163 | void API_ENTRY(glExtGetShadersQCOM)(GLuint *shaders, GLint maxShaders, GLint *numShaders) { |
| 164 | CALL_GL_API(glExtGetShadersQCOM, shaders, maxShaders, numShaders); |
| 165 | } |
| 166 | void API_ENTRY(glExtGetProgramsQCOM)(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { |
| 167 | CALL_GL_API(glExtGetProgramsQCOM, programs, maxPrograms, numPrograms); |
| 168 | } |
| 169 | GLboolean API_ENTRY(glExtIsProgramBinaryQCOM)(GLuint program) { |
| 170 | CALL_GL_API_RETURN(glExtIsProgramBinaryQCOM, program); |
| 171 | } |
| 172 | void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { |
| 173 | CALL_GL_API(glExtGetProgramBinarySourceQCOM, program, shadertype, source, length); |
| 174 | } |
| 175 | void API_ENTRY(glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { |
| 176 | CALL_GL_API(glStartTilingQCOM, x, y, width, height, preserveMask); |
| 177 | } |
| 178 | void API_ENTRY(glEndTilingQCOM)(GLbitfield preserveMask) { |
| 179 | CALL_GL_API(glEndTilingQCOM, preserveMask); |
| 180 | } |