Mathias Agopian | 7c0441a | 2012-02-14 17:14:36 -0800 | [diff] [blame] | 1 | void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 2 | CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); |
| 3 | } |
Mathias Agopian | 7c0441a | 2012-02-14 17:14:36 -0800 | [diff] [blame] | 4 | void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 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 | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 85 | void API_ENTRY(glBlitFramebufferANGLE)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { |
| 86 | CALL_GL_API(glBlitFramebufferANGLE, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
| 87 | } |
| 88 | void API_ENTRY(glRenderbufferStorageMultisampleANGLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { |
| 89 | CALL_GL_API(glRenderbufferStorageMultisampleANGLE, target, samples, internalformat, width, height); |
| 90 | } |
| 91 | void API_ENTRY(glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { |
| 92 | CALL_GL_API(glRenderbufferStorageMultisampleAPPLE, target, samples, internalformat, width, height); |
| 93 | } |
| 94 | void API_ENTRY(glResolveMultisampleFramebufferAPPLE)(void) { |
| 95 | CALL_GL_API(glResolveMultisampleFramebufferAPPLE); |
| 96 | } |
| 97 | void API_ENTRY(glLabelObjectEXT)(GLenum type, GLuint object, GLsizei length, const GLchar *label) { |
| 98 | CALL_GL_API(glLabelObjectEXT, type, object, length, label); |
| 99 | } |
| 100 | void API_ENTRY(glGetObjectLabelEXT)(GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label) { |
| 101 | CALL_GL_API(glGetObjectLabelEXT, type, object, bufSize, length, label); |
| 102 | } |
| 103 | void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar *marker) { |
| 104 | CALL_GL_API(glInsertEventMarkerEXT, length, marker); |
| 105 | } |
| 106 | void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar *marker) { |
| 107 | CALL_GL_API(glPushGroupMarkerEXT, length, marker); |
| 108 | } |
| 109 | void API_ENTRY(glPopGroupMarkerEXT)(void) { |
| 110 | CALL_GL_API(glPopGroupMarkerEXT); |
| 111 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 112 | void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum *attachments) { |
| 113 | CALL_GL_API(glDiscardFramebufferEXT, target, numAttachments, attachments); |
| 114 | } |
Mathias Agopian | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 115 | void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { |
| 116 | CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); |
| 117 | } |
| 118 | void API_ENTRY(glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { |
| 119 | CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); |
| 120 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 121 | void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { |
| 122 | CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); |
| 123 | } |
| 124 | void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { |
| 125 | CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); |
| 126 | } |
Mathias Agopian | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 127 | void API_ENTRY(glGenQueriesEXT)(GLsizei n, GLuint *ids) { |
| 128 | CALL_GL_API(glGenQueriesEXT, n, ids); |
| 129 | } |
| 130 | void API_ENTRY(glDeleteQueriesEXT)(GLsizei n, const GLuint *ids) { |
| 131 | CALL_GL_API(glDeleteQueriesEXT, n, ids); |
| 132 | } |
| 133 | GLboolean API_ENTRY(glIsQueryEXT)(GLuint id) { |
| 134 | CALL_GL_API_RETURN(glIsQueryEXT, id); |
| 135 | } |
| 136 | void API_ENTRY(glBeginQueryEXT)(GLenum target, GLuint id) { |
| 137 | CALL_GL_API(glBeginQueryEXT, target, id); |
| 138 | } |
| 139 | void API_ENTRY(glEndQueryEXT)(GLenum target) { |
| 140 | CALL_GL_API(glEndQueryEXT, target); |
| 141 | } |
| 142 | void API_ENTRY(glGetQueryivEXT)(GLenum target, GLenum pname, GLint *params) { |
| 143 | CALL_GL_API(glGetQueryivEXT, target, pname, params); |
| 144 | } |
| 145 | void API_ENTRY(glGetQueryObjectuivEXT)(GLuint id, GLenum pname, GLuint *params) { |
| 146 | CALL_GL_API(glGetQueryObjectuivEXT, id, pname, params); |
| 147 | } |
| 148 | GLenum API_ENTRY(glGetGraphicsResetStatusEXT)(void) { |
| 149 | CALL_GL_API_RETURN(glGetGraphicsResetStatusEXT); |
| 150 | } |
| 151 | void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { |
| 152 | CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); |
| 153 | } |
| 154 | void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, float *params) { |
| 155 | CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params); |
| 156 | } |
| 157 | void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint *params) { |
| 158 | CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params); |
| 159 | } |
| 160 | void API_ENTRY(glUseProgramStagesEXT)(GLuint pipeline, GLbitfield stages, GLuint program) { |
| 161 | CALL_GL_API(glUseProgramStagesEXT, pipeline, stages, program); |
| 162 | } |
| 163 | void API_ENTRY(glActiveShaderProgramEXT)(GLuint pipeline, GLuint program) { |
| 164 | CALL_GL_API(glActiveShaderProgramEXT, pipeline, program); |
| 165 | } |
| 166 | GLuint API_ENTRY(glCreateShaderProgramvEXT)(GLenum type, GLsizei count, const GLchar **strings) { |
| 167 | CALL_GL_API_RETURN(glCreateShaderProgramvEXT, type, count, strings); |
| 168 | } |
| 169 | void API_ENTRY(glBindProgramPipelineEXT)(GLuint pipeline) { |
| 170 | CALL_GL_API(glBindProgramPipelineEXT, pipeline); |
| 171 | } |
| 172 | void API_ENTRY(glDeleteProgramPipelinesEXT)(GLsizei n, const GLuint *pipelines) { |
| 173 | CALL_GL_API(glDeleteProgramPipelinesEXT, n, pipelines); |
| 174 | } |
| 175 | void API_ENTRY(glGenProgramPipelinesEXT)(GLsizei n, GLuint *pipelines) { |
| 176 | CALL_GL_API(glGenProgramPipelinesEXT, n, pipelines); |
| 177 | } |
| 178 | GLboolean API_ENTRY(glIsProgramPipelineEXT)(GLuint pipeline) { |
| 179 | CALL_GL_API_RETURN(glIsProgramPipelineEXT, pipeline); |
| 180 | } |
| 181 | void API_ENTRY(glProgramParameteriEXT)(GLuint program, GLenum pname, GLint value) { |
| 182 | CALL_GL_API(glProgramParameteriEXT, program, pname, value); |
| 183 | } |
| 184 | void API_ENTRY(glGetProgramPipelineivEXT)(GLuint pipeline, GLenum pname, GLint *params) { |
| 185 | CALL_GL_API(glGetProgramPipelineivEXT, pipeline, pname, params); |
| 186 | } |
| 187 | void API_ENTRY(glProgramUniform1iEXT)(GLuint program, GLint location, GLint x) { |
| 188 | CALL_GL_API(glProgramUniform1iEXT, program, location, x); |
| 189 | } |
| 190 | void API_ENTRY(glProgramUniform2iEXT)(GLuint program, GLint location, GLint x, GLint y) { |
| 191 | CALL_GL_API(glProgramUniform2iEXT, program, location, x, y); |
| 192 | } |
| 193 | void API_ENTRY(glProgramUniform3iEXT)(GLuint program, GLint location, GLint x, GLint y, GLint z) { |
| 194 | CALL_GL_API(glProgramUniform3iEXT, program, location, x, y, z); |
| 195 | } |
| 196 | void API_ENTRY(glProgramUniform4iEXT)(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) { |
| 197 | CALL_GL_API(glProgramUniform4iEXT, program, location, x, y, z, w); |
| 198 | } |
| 199 | void API_ENTRY(glProgramUniform1fEXT)(GLuint program, GLint location, GLfloat x) { |
| 200 | CALL_GL_API(glProgramUniform1fEXT, program, location, x); |
| 201 | } |
| 202 | void API_ENTRY(glProgramUniform2fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y) { |
| 203 | CALL_GL_API(glProgramUniform2fEXT, program, location, x, y); |
| 204 | } |
| 205 | void API_ENTRY(glProgramUniform3fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) { |
| 206 | CALL_GL_API(glProgramUniform3fEXT, program, location, x, y, z); |
| 207 | } |
| 208 | void API_ENTRY(glProgramUniform4fEXT)(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) { |
| 209 | CALL_GL_API(glProgramUniform4fEXT, program, location, x, y, z, w); |
| 210 | } |
| 211 | void API_ENTRY(glProgramUniform1ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { |
| 212 | CALL_GL_API(glProgramUniform1ivEXT, program, location, count, value); |
| 213 | } |
| 214 | void API_ENTRY(glProgramUniform2ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { |
| 215 | CALL_GL_API(glProgramUniform2ivEXT, program, location, count, value); |
| 216 | } |
| 217 | void API_ENTRY(glProgramUniform3ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { |
| 218 | CALL_GL_API(glProgramUniform3ivEXT, program, location, count, value); |
| 219 | } |
| 220 | void API_ENTRY(glProgramUniform4ivEXT)(GLuint program, GLint location, GLsizei count, const GLint *value) { |
| 221 | CALL_GL_API(glProgramUniform4ivEXT, program, location, count, value); |
| 222 | } |
| 223 | void API_ENTRY(glProgramUniform1fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { |
| 224 | CALL_GL_API(glProgramUniform1fvEXT, program, location, count, value); |
| 225 | } |
| 226 | void API_ENTRY(glProgramUniform2fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { |
| 227 | CALL_GL_API(glProgramUniform2fvEXT, program, location, count, value); |
| 228 | } |
| 229 | void API_ENTRY(glProgramUniform3fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { |
| 230 | CALL_GL_API(glProgramUniform3fvEXT, program, location, count, value); |
| 231 | } |
| 232 | void API_ENTRY(glProgramUniform4fvEXT)(GLuint program, GLint location, GLsizei count, const GLfloat *value) { |
| 233 | CALL_GL_API(glProgramUniform4fvEXT, program, location, count, value); |
| 234 | } |
| 235 | void API_ENTRY(glProgramUniformMatrix2fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { |
| 236 | CALL_GL_API(glProgramUniformMatrix2fvEXT, program, location, count, transpose, value); |
| 237 | } |
| 238 | void API_ENTRY(glProgramUniformMatrix3fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { |
| 239 | CALL_GL_API(glProgramUniformMatrix3fvEXT, program, location, count, transpose, value); |
| 240 | } |
| 241 | void API_ENTRY(glProgramUniformMatrix4fvEXT)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) { |
| 242 | CALL_GL_API(glProgramUniformMatrix4fvEXT, program, location, count, transpose, value); |
| 243 | } |
| 244 | void API_ENTRY(glValidateProgramPipelineEXT)(GLuint pipeline) { |
| 245 | CALL_GL_API(glValidateProgramPipelineEXT, pipeline); |
| 246 | } |
| 247 | void API_ENTRY(glGetProgramPipelineInfoLogEXT)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) { |
| 248 | CALL_GL_API(glGetProgramPipelineInfoLogEXT, pipeline, bufSize, length, infoLog); |
| 249 | } |
| 250 | void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { |
| 251 | CALL_GL_API(glTexStorage1DEXT, target, levels, internalformat, width); |
| 252 | } |
| 253 | void API_ENTRY(glTexStorage2DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { |
| 254 | CALL_GL_API(glTexStorage2DEXT, target, levels, internalformat, width, height); |
| 255 | } |
| 256 | void API_ENTRY(glTexStorage3DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { |
| 257 | CALL_GL_API(glTexStorage3DEXT, target, levels, internalformat, width, height, depth); |
| 258 | } |
| 259 | void API_ENTRY(glTextureStorage1DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { |
| 260 | CALL_GL_API(glTextureStorage1DEXT, texture, target, levels, internalformat, width); |
| 261 | } |
| 262 | void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { |
| 263 | CALL_GL_API(glTextureStorage2DEXT, texture, target, levels, internalformat, width, height); |
| 264 | } |
| 265 | void API_ENTRY(glTextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { |
| 266 | CALL_GL_API(glTextureStorage3DEXT, texture, target, levels, internalformat, width, height, depth); |
| 267 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 268 | void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { |
| 269 | CALL_GL_API(glRenderbufferStorageMultisampleIMG, target, samples, internalformat, width, height); |
| 270 | } |
| 271 | void API_ENTRY(glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { |
| 272 | CALL_GL_API(glFramebufferTexture2DMultisampleIMG, target, attachment, textarget, texture, level, samples); |
| 273 | } |
Mathias Agopian | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 274 | void API_ENTRY(glCoverageMaskNV)(GLboolean mask) { |
| 275 | CALL_GL_API(glCoverageMaskNV, mask); |
| 276 | } |
| 277 | void API_ENTRY(glCoverageOperationNV)(GLenum operation) { |
| 278 | CALL_GL_API(glCoverageOperationNV, operation); |
| 279 | } |
| 280 | void API_ENTRY(glDrawBuffersNV)(GLsizei n, const GLenum *bufs) { |
| 281 | CALL_GL_API(glDrawBuffersNV, n, bufs); |
| 282 | } |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 283 | void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { |
| 284 | CALL_GL_API(glDeleteFencesNV, n, fences); |
| 285 | } |
| 286 | void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { |
| 287 | CALL_GL_API(glGenFencesNV, n, fences); |
| 288 | } |
| 289 | GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { |
| 290 | CALL_GL_API_RETURN(glIsFenceNV, fence); |
| 291 | } |
| 292 | GLboolean API_ENTRY(glTestFenceNV)(GLuint fence) { |
| 293 | CALL_GL_API_RETURN(glTestFenceNV, fence); |
| 294 | } |
| 295 | void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint *params) { |
| 296 | CALL_GL_API(glGetFenceivNV, fence, pname, params); |
| 297 | } |
| 298 | void API_ENTRY(glFinishFenceNV)(GLuint fence) { |
| 299 | CALL_GL_API(glFinishFenceNV, fence); |
| 300 | } |
| 301 | void API_ENTRY(glSetFenceNV)(GLuint fence, GLenum condition) { |
| 302 | CALL_GL_API(glSetFenceNV, fence, condition); |
| 303 | } |
Mathias Agopian | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 304 | void API_ENTRY(glReadBufferNV)(GLenum mode) { |
| 305 | CALL_GL_API(glReadBufferNV, mode); |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 306 | } |
Mathias Agopian | 3127260 | 2012-01-28 14:20:59 -0800 | [diff] [blame] | 307 | void API_ENTRY(glAlphaFuncQCOM)(GLenum func, GLclampf ref) { |
| 308 | CALL_GL_API(glAlphaFuncQCOM, func, ref); |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 309 | } |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 310 | void API_ENTRY(glGetDriverControlsQCOM)(GLint *num, GLsizei size, GLuint *driverControls) { |
| 311 | CALL_GL_API(glGetDriverControlsQCOM, num, size, driverControls); |
| 312 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 313 | void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { |
Mathias Agopian | b1a39d6 | 2009-05-27 20:38:06 -0700 | [diff] [blame] | 314 | CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString); |
| 315 | } |
| 316 | void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { |
| 317 | CALL_GL_API(glEnableDriverControlQCOM, driverControl); |
| 318 | } |
| 319 | void API_ENTRY(glDisableDriverControlQCOM)(GLuint driverControl) { |
| 320 | CALL_GL_API(glDisableDriverControlQCOM, driverControl); |
| 321 | } |
Mathias Agopian | 11cca92 | 2010-06-09 18:20:21 -0700 | [diff] [blame] | 322 | void API_ENTRY(glExtGetTexturesQCOM)(GLuint *textures, GLint maxTextures, GLint *numTextures) { |
| 323 | CALL_GL_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures); |
| 324 | } |
| 325 | void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { |
| 326 | CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers); |
| 327 | } |
| 328 | void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { |
| 329 | CALL_GL_API(glExtGetRenderbuffersQCOM, renderbuffers, maxRenderbuffers, numRenderbuffers); |
| 330 | } |
| 331 | void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { |
| 332 | CALL_GL_API(glExtGetFramebuffersQCOM, framebuffers, maxFramebuffers, numFramebuffers); |
| 333 | } |
| 334 | void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { |
| 335 | CALL_GL_API(glExtGetTexLevelParameterivQCOM, texture, face, level, pname, params); |
| 336 | } |
| 337 | void API_ENTRY(glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param) { |
| 338 | CALL_GL_API(glExtTexObjectStateOverrideiQCOM, target, pname, param); |
| 339 | } |
| 340 | 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) { |
| 341 | CALL_GL_API(glExtGetTexSubImageQCOM, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); |
| 342 | } |
| 343 | void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, GLvoid **params) { |
| 344 | CALL_GL_API(glExtGetBufferPointervQCOM, target, params); |
| 345 | } |
| 346 | void API_ENTRY(glExtGetShadersQCOM)(GLuint *shaders, GLint maxShaders, GLint *numShaders) { |
| 347 | CALL_GL_API(glExtGetShadersQCOM, shaders, maxShaders, numShaders); |
| 348 | } |
| 349 | void API_ENTRY(glExtGetProgramsQCOM)(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { |
| 350 | CALL_GL_API(glExtGetProgramsQCOM, programs, maxPrograms, numPrograms); |
| 351 | } |
| 352 | GLboolean API_ENTRY(glExtIsProgramBinaryQCOM)(GLuint program) { |
| 353 | CALL_GL_API_RETURN(glExtIsProgramBinaryQCOM, program); |
| 354 | } |
| 355 | void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { |
| 356 | CALL_GL_API(glExtGetProgramBinarySourceQCOM, program, shadertype, source, length); |
| 357 | } |
| 358 | void API_ENTRY(glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { |
| 359 | CALL_GL_API(glStartTilingQCOM, x, y, width, height, preserveMask); |
| 360 | } |
| 361 | void API_ENTRY(glEndTilingQCOM)(GLbitfield preserveMask) { |
| 362 | CALL_GL_API(glEndTilingQCOM, preserveMask); |
| 363 | } |