1// Auto-generated with: android/scripts/gen-entries.py --mode=dispatch_logging_wrappers stream-servers/gl/OpenGLESDispatch/gles3_only.entries --output=stream-servers/gl/OpenGLESDispatch/gles3_only_dispatch_logging_wrappers.impl 2// DO NOT EDIT THIS FILE 3 4GLconstubyteptr glGetStringi_dispatchLoggingWrapper(GLenum name, GLint index) { 5 DISPATCH_DEBUG_LOG("glGetStringi(name:0x%X, index:%d)", name, index); 6 return GLDispatch::glGetStringi_underlying(name, index); 7} 8 9void glGenVertexArrays_dispatchLoggingWrapper(GLsizei n, GLuint* arrays) { 10 DISPATCH_DEBUG_LOG("glGenVertexArrays(n:%d, arrays:%p)", n, arrays); 11 GLDispatch::glGenVertexArrays_underlying(n, arrays); 12} 13 14void glBindVertexArray_dispatchLoggingWrapper(GLuint array) { 15 DISPATCH_DEBUG_LOG("glBindVertexArray(array:%d)", array); 16 GLDispatch::glBindVertexArray_underlying(array); 17} 18 19void glDeleteVertexArrays_dispatchLoggingWrapper(GLsizei n, const GLuint * arrays) { 20 DISPATCH_DEBUG_LOG("glDeleteVertexArrays(n:%d, arrays:%p)", n, arrays); 21 GLDispatch::glDeleteVertexArrays_underlying(n, arrays); 22} 23 24GLboolean glIsVertexArray_dispatchLoggingWrapper(GLuint array) { 25 DISPATCH_DEBUG_LOG("glIsVertexArray(array:%d)", array); 26 return GLDispatch::glIsVertexArray_underlying(array); 27} 28 29void * glMapBufferRange_dispatchLoggingWrapper(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { 30 DISPATCH_DEBUG_LOG("glMapBufferRange(target:0x%X, offset:%ld, length:%ld, access:%d)", target, offset, length, access); 31 return GLDispatch::glMapBufferRange_underlying(target, offset, length, access); 32} 33 34GLboolean glUnmapBuffer_dispatchLoggingWrapper(GLenum target) { 35 DISPATCH_DEBUG_LOG("glUnmapBuffer(target:0x%X)", target); 36 return GLDispatch::glUnmapBuffer_underlying(target); 37} 38 39void glFlushMappedBufferRange_dispatchLoggingWrapper(GLenum target, GLintptr offset, GLsizeiptr length) { 40 DISPATCH_DEBUG_LOG("glFlushMappedBufferRange(target:0x%X, offset:%ld, length:%ld)", target, offset, length); 41 GLDispatch::glFlushMappedBufferRange_underlying(target, offset, length); 42} 43 44void glBindBufferRange_dispatchLoggingWrapper(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) { 45 DISPATCH_DEBUG_LOG("glBindBufferRange(target:0x%X, index:%d, buffer:%d, offset:%ld, size:%ld)", target, index, buffer, offset, size); 46 GLDispatch::glBindBufferRange_underlying(target, index, buffer, offset, size); 47} 48 49void glBindBufferBase_dispatchLoggingWrapper(GLenum target, GLuint index, GLuint buffer) { 50 DISPATCH_DEBUG_LOG("glBindBufferBase(target:0x%X, index:%d, buffer:%d)", target, index, buffer); 51 GLDispatch::glBindBufferBase_underlying(target, index, buffer); 52} 53 54void glCopyBufferSubData_dispatchLoggingWrapper(GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size) { 55 DISPATCH_DEBUG_LOG("glCopyBufferSubData(readtarget:0x%X, writetarget:0x%X, readoffset:%ld, writeoffset:%ld, size:%ld)", readtarget, writetarget, readoffset, writeoffset, size); 56 GLDispatch::glCopyBufferSubData_underlying(readtarget, writetarget, readoffset, writeoffset, size); 57} 58 59void glClearBufferiv_dispatchLoggingWrapper(GLenum buffer, GLint drawBuffer, const GLint * value) { 60 DISPATCH_DEBUG_LOG("glClearBufferiv(buffer:0x%X, drawBuffer:%d, value:%p)", buffer, drawBuffer, value); 61 GLDispatch::glClearBufferiv_underlying(buffer, drawBuffer, value); 62} 63 64void glClearBufferuiv_dispatchLoggingWrapper(GLenum buffer, GLint drawBuffer, const GLuint * value) { 65 DISPATCH_DEBUG_LOG("glClearBufferuiv(buffer:0x%X, drawBuffer:%d, value:%p)", buffer, drawBuffer, value); 66 GLDispatch::glClearBufferuiv_underlying(buffer, drawBuffer, value); 67} 68 69void glClearBufferfv_dispatchLoggingWrapper(GLenum buffer, GLint drawBuffer, const GLfloat * value) { 70 DISPATCH_DEBUG_LOG("glClearBufferfv(buffer:0x%X, drawBuffer:%d, value:%p)", buffer, drawBuffer, value); 71 GLDispatch::glClearBufferfv_underlying(buffer, drawBuffer, value); 72} 73 74void glClearBufferfi_dispatchLoggingWrapper(GLenum buffer, GLint drawBuffer, GLfloat depth, GLint stencil) { 75 DISPATCH_DEBUG_LOG("glClearBufferfi(buffer:0x%X, drawBuffer:%d, depth:%f, stencil:%d)", buffer, drawBuffer, depth, stencil); 76 GLDispatch::glClearBufferfi_underlying(buffer, drawBuffer, depth, stencil); 77} 78 79void glGetBufferParameteri64v_dispatchLoggingWrapper(GLenum target, GLenum value, GLint64 * data) { 80 DISPATCH_DEBUG_LOG("glGetBufferParameteri64v(target:0x%X, value:0x%X, data:%p)", target, value, data); 81 GLDispatch::glGetBufferParameteri64v_underlying(target, value, data); 82} 83 84void glGetBufferPointerv_dispatchLoggingWrapper(GLenum target, GLenum pname, GLvoid ** params) { 85 DISPATCH_DEBUG_LOG("glGetBufferPointerv(target:0x%X, pname:0x%X, params:%p)", target, pname, params); 86 GLDispatch::glGetBufferPointerv_underlying(target, pname, params); 87} 88 89void glUniformBlockBinding_dispatchLoggingWrapper(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) { 90 DISPATCH_DEBUG_LOG("glUniformBlockBinding(program:%d, uniformBlockIndex:%d, uniformBlockBinding:%d)", program, uniformBlockIndex, uniformBlockBinding); 91 GLDispatch::glUniformBlockBinding_underlying(program, uniformBlockIndex, uniformBlockBinding); 92} 93 94GLuint glGetUniformBlockIndex_dispatchLoggingWrapper(GLuint program, const GLchar * uniformBlockName) { 95 DISPATCH_DEBUG_LOG("glGetUniformBlockIndex(program:%d, uniformBlockName:%p)", program, uniformBlockName); 96 return GLDispatch::glGetUniformBlockIndex_underlying(program, uniformBlockName); 97} 98 99void glGetUniformIndices_dispatchLoggingWrapper(GLuint program, GLsizei uniformCount, const GLchar ** uniformNames, GLuint * uniformIndices) { 100 DISPATCH_DEBUG_LOG("glGetUniformIndices(program:%d, uniformCount:%d, uniformNames:%p, uniformIndices:%p)", program, uniformCount, uniformNames, uniformIndices); 101 GLDispatch::glGetUniformIndices_underlying(program, uniformCount, uniformNames, uniformIndices); 102} 103 104void glGetActiveUniformBlockiv_dispatchLoggingWrapper(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint * params) { 105 DISPATCH_DEBUG_LOG("glGetActiveUniformBlockiv(program:%d, uniformBlockIndex:%d, pname:0x%X, params:%p)", program, uniformBlockIndex, pname, params); 106 GLDispatch::glGetActiveUniformBlockiv_underlying(program, uniformBlockIndex, pname, params); 107} 108 109void glGetActiveUniformBlockName_dispatchLoggingWrapper(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei * length, GLchar * uniformBlockName) { 110 DISPATCH_DEBUG_LOG("glGetActiveUniformBlockName(program:%d, uniformBlockIndex:%d, bufSize:%d, length:%p, uniformBlockName:%p)", program, uniformBlockIndex, bufSize, length, uniformBlockName); 111 GLDispatch::glGetActiveUniformBlockName_underlying(program, uniformBlockIndex, bufSize, length, uniformBlockName); 112} 113 114void glUniform1ui_dispatchLoggingWrapper(GLint location, GLuint v0) { 115 DISPATCH_DEBUG_LOG("glUniform1ui(location:%d, v0:%d)", location, v0); 116 GLDispatch::glUniform1ui_underlying(location, v0); 117} 118 119void glUniform2ui_dispatchLoggingWrapper(GLint location, GLuint v0, GLuint v1) { 120 DISPATCH_DEBUG_LOG("glUniform2ui(location:%d, v0:%d, v1:%d)", location, v0, v1); 121 GLDispatch::glUniform2ui_underlying(location, v0, v1); 122} 123 124void glUniform3ui_dispatchLoggingWrapper(GLint location, GLuint v0, GLuint v1, GLuint v2) { 125 DISPATCH_DEBUG_LOG("glUniform3ui(location:%d, v0:%d, v1:%d, v2:%d)", location, v0, v1, v2); 126 GLDispatch::glUniform3ui_underlying(location, v0, v1, v2); 127} 128 129void glUniform4ui_dispatchLoggingWrapper(GLint location, GLint v0, GLuint v1, GLuint v2, GLuint v3) { 130 DISPATCH_DEBUG_LOG("glUniform4ui(location:%d, v0:%d, v1:%d, v2:%d, v3:%d)", location, v0, v1, v2, v3); 131 GLDispatch::glUniform4ui_underlying(location, v0, v1, v2, v3); 132} 133 134void glUniform1uiv_dispatchLoggingWrapper(GLint location, GLsizei count, const GLuint * value) { 135 DISPATCH_DEBUG_LOG("glUniform1uiv(location:%d, count:%d, value:%p)", location, count, value); 136 GLDispatch::glUniform1uiv_underlying(location, count, value); 137} 138 139void glUniform2uiv_dispatchLoggingWrapper(GLint location, GLsizei count, const GLuint * value) { 140 DISPATCH_DEBUG_LOG("glUniform2uiv(location:%d, count:%d, value:%p)", location, count, value); 141 GLDispatch::glUniform2uiv_underlying(location, count, value); 142} 143 144void glUniform3uiv_dispatchLoggingWrapper(GLint location, GLsizei count, const GLuint * value) { 145 DISPATCH_DEBUG_LOG("glUniform3uiv(location:%d, count:%d, value:%p)", location, count, value); 146 GLDispatch::glUniform3uiv_underlying(location, count, value); 147} 148 149void glUniform4uiv_dispatchLoggingWrapper(GLint location, GLsizei count, const GLuint * value) { 150 DISPATCH_DEBUG_LOG("glUniform4uiv(location:%d, count:%d, value:%p)", location, count, value); 151 GLDispatch::glUniform4uiv_underlying(location, count, value); 152} 153 154void glUniformMatrix2x3fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 155 DISPATCH_DEBUG_LOG("glUniformMatrix2x3fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 156 GLDispatch::glUniformMatrix2x3fv_underlying(location, count, transpose, value); 157} 158 159void glUniformMatrix3x2fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 160 DISPATCH_DEBUG_LOG("glUniformMatrix3x2fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 161 GLDispatch::glUniformMatrix3x2fv_underlying(location, count, transpose, value); 162} 163 164void glUniformMatrix2x4fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 165 DISPATCH_DEBUG_LOG("glUniformMatrix2x4fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 166 GLDispatch::glUniformMatrix2x4fv_underlying(location, count, transpose, value); 167} 168 169void glUniformMatrix4x2fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 170 DISPATCH_DEBUG_LOG("glUniformMatrix4x2fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 171 GLDispatch::glUniformMatrix4x2fv_underlying(location, count, transpose, value); 172} 173 174void glUniformMatrix3x4fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 175 DISPATCH_DEBUG_LOG("glUniformMatrix3x4fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 176 GLDispatch::glUniformMatrix3x4fv_underlying(location, count, transpose, value); 177} 178 179void glUniformMatrix4x3fv_dispatchLoggingWrapper(GLint location, GLsizei count, GLboolean transpose, const GLfloat * value) { 180 DISPATCH_DEBUG_LOG("glUniformMatrix4x3fv(location:%d, count:%d, transpose:%d, value:%p)", location, count, transpose, value); 181 GLDispatch::glUniformMatrix4x3fv_underlying(location, count, transpose, value); 182} 183 184void glGetUniformuiv_dispatchLoggingWrapper(GLuint program, GLint location, GLuint * params) { 185 DISPATCH_DEBUG_LOG("glGetUniformuiv(program:%d, location:%d, params:%p)", program, location, params); 186 GLDispatch::glGetUniformuiv_underlying(program, location, params); 187} 188 189void glGetActiveUniformsiv_dispatchLoggingWrapper(GLuint program, GLsizei uniformCount, const GLuint * uniformIndices, GLenum pname, GLint * params) { 190 DISPATCH_DEBUG_LOG("glGetActiveUniformsiv(program:%d, uniformCount:%d, uniformIndices:%p, pname:0x%X, params:%p)", program, uniformCount, uniformIndices, pname, params); 191 GLDispatch::glGetActiveUniformsiv_underlying(program, uniformCount, uniformIndices, pname, params); 192} 193 194void glVertexAttribI4i_dispatchLoggingWrapper(GLuint index, GLint v0, GLint v1, GLint v2, GLint v3) { 195 DISPATCH_DEBUG_LOG("glVertexAttribI4i(index:%d, v0:%d, v1:%d, v2:%d, v3:%d)", index, v0, v1, v2, v3); 196 GLDispatch::glVertexAttribI4i_underlying(index, v0, v1, v2, v3); 197} 198 199void glVertexAttribI4ui_dispatchLoggingWrapper(GLuint index, GLuint v0, GLuint v1, GLuint v2, GLuint v3) { 200 DISPATCH_DEBUG_LOG("glVertexAttribI4ui(index:%d, v0:%d, v1:%d, v2:%d, v3:%d)", index, v0, v1, v2, v3); 201 GLDispatch::glVertexAttribI4ui_underlying(index, v0, v1, v2, v3); 202} 203 204void glVertexAttribI4iv_dispatchLoggingWrapper(GLuint index, const GLint * v) { 205 DISPATCH_DEBUG_LOG("glVertexAttribI4iv(index:%d, v:%p)", index, v); 206 GLDispatch::glVertexAttribI4iv_underlying(index, v); 207} 208 209void glVertexAttribI4uiv_dispatchLoggingWrapper(GLuint index, const GLuint * v) { 210 DISPATCH_DEBUG_LOG("glVertexAttribI4uiv(index:%d, v:%p)", index, v); 211 GLDispatch::glVertexAttribI4uiv_underlying(index, v); 212} 213 214void glVertexAttribIPointer_dispatchLoggingWrapper(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer) { 215 DISPATCH_DEBUG_LOG("glVertexAttribIPointer(index:%d, size:%d, type:0x%X, stride:%d, pointer:%p)", index, size, type, stride, pointer); 216 GLDispatch::glVertexAttribIPointer_underlying(index, size, type, stride, pointer); 217} 218 219void glGetVertexAttribIiv_dispatchLoggingWrapper(GLuint index, GLenum pname, GLint * params) { 220 DISPATCH_DEBUG_LOG("glGetVertexAttribIiv(index:%d, pname:0x%X, params:%p)", index, pname, params); 221 GLDispatch::glGetVertexAttribIiv_underlying(index, pname, params); 222} 223 224void glGetVertexAttribIuiv_dispatchLoggingWrapper(GLuint index, GLenum pname, GLuint * params) { 225 DISPATCH_DEBUG_LOG("glGetVertexAttribIuiv(index:%d, pname:0x%X, params:%p)", index, pname, params); 226 GLDispatch::glGetVertexAttribIuiv_underlying(index, pname, params); 227} 228 229void glVertexAttribDivisor_dispatchLoggingWrapper(GLuint index, GLuint divisor) { 230 DISPATCH_DEBUG_LOG("glVertexAttribDivisor(index:%d, divisor:%d)", index, divisor); 231 GLDispatch::glVertexAttribDivisor_underlying(index, divisor); 232} 233 234void glDrawArraysInstanced_dispatchLoggingWrapper(GLenum mode, GLint first, GLsizei count, GLsizei primcount) { 235 DISPATCH_DEBUG_LOG("glDrawArraysInstanced(mode:0x%X, first:%d, count:%d, primcount:%d)", mode, first, count, primcount); 236 GLDispatch::glDrawArraysInstanced_underlying(mode, first, count, primcount); 237} 238 239void glDrawElementsInstanced_dispatchLoggingWrapper(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei primcount) { 240 DISPATCH_DEBUG_LOG("glDrawElementsInstanced(mode:0x%X, count:%d, type:0x%X, indices:%p, primcount:%d)", mode, count, type, indices, primcount); 241 GLDispatch::glDrawElementsInstanced_underlying(mode, count, type, indices, primcount); 242} 243 244void glDrawRangeElements_dispatchLoggingWrapper(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid * indices) { 245 DISPATCH_DEBUG_LOG("glDrawRangeElements(mode:0x%X, start:%d, end:%d, count:%d, type:0x%X, indices:%p)", mode, start, end, count, type, indices); 246 GLDispatch::glDrawRangeElements_underlying(mode, start, end, count, type, indices); 247} 248 249GLsync glFenceSync_dispatchLoggingWrapper(GLenum condition, GLbitfield flags) { 250 DISPATCH_DEBUG_LOG("glFenceSync(condition:0x%X, flags:%d)", condition, flags); 251 return GLDispatch::glFenceSync_underlying(condition, flags); 252} 253 254GLenum glClientWaitSync_dispatchLoggingWrapper(GLsync wait_on, GLbitfield flags, GLuint64 timeout) { 255 DISPATCH_DEBUG_LOG("glClientWaitSync(wait_on:%p, flags:%d, timeout:%lu)", wait_on, flags, timeout); 256 return GLDispatch::glClientWaitSync_underlying(wait_on, flags, timeout); 257} 258 259void glWaitSync_dispatchLoggingWrapper(GLsync wait_on, GLbitfield flags, GLuint64 timeout) { 260 DISPATCH_DEBUG_LOG("glWaitSync(wait_on:%p, flags:%d, timeout:%lu)", wait_on, flags, timeout); 261 GLDispatch::glWaitSync_underlying(wait_on, flags, timeout); 262} 263 264void glDeleteSync_dispatchLoggingWrapper(GLsync to_delete) { 265 DISPATCH_DEBUG_LOG("glDeleteSync(to_delete:%p)", to_delete); 266 GLDispatch::glDeleteSync_underlying(to_delete); 267} 268 269GLboolean glIsSync_dispatchLoggingWrapper(GLsync sync) { 270 DISPATCH_DEBUG_LOG("glIsSync(sync:%p)", sync); 271 return GLDispatch::glIsSync_underlying(sync); 272} 273 274void glGetSynciv_dispatchLoggingWrapper(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { 275 DISPATCH_DEBUG_LOG("glGetSynciv(sync:%p, pname:0x%X, bufSize:%d, length:%p, values:%p)", sync, pname, bufSize, length, values); 276 GLDispatch::glGetSynciv_underlying(sync, pname, bufSize, length, values); 277} 278 279void glDrawBuffers_dispatchLoggingWrapper(GLsizei n, const GLenum * bufs) { 280 DISPATCH_DEBUG_LOG("glDrawBuffers(n:%d, bufs:%p)", n, bufs); 281 GLDispatch::glDrawBuffers_underlying(n, bufs); 282} 283 284void glReadBuffer_dispatchLoggingWrapper(GLenum src) { 285 DISPATCH_DEBUG_LOG("glReadBuffer(src:0x%X)", src); 286 GLDispatch::glReadBuffer_underlying(src); 287} 288 289void glBlitFramebuffer_dispatchLoggingWrapper(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) { 290 DISPATCH_DEBUG_LOG("glBlitFramebuffer(srcX0:%d, srcY0:%d, srcX1:%d, srcY1:%d, dstX0:%d, dstY0:%d, dstX1:%d, dstY1:%d, mask:%d, filter:0x%X)", srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 291 GLDispatch::glBlitFramebuffer_underlying(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); 292} 293 294void glInvalidateFramebuffer_dispatchLoggingWrapper(GLenum target, GLsizei numAttachments, const GLenum * attachments) { 295 DISPATCH_DEBUG_LOG("glInvalidateFramebuffer(target:0x%X, numAttachments:%d, attachments:%p)", target, numAttachments, attachments); 296 GLDispatch::glInvalidateFramebuffer_underlying(target, numAttachments, attachments); 297} 298 299void glInvalidateSubFramebuffer_dispatchLoggingWrapper(GLenum target, GLsizei numAttachments, const GLenum * attachments, GLint x, GLint y, GLsizei width, GLsizei height) { 300 DISPATCH_DEBUG_LOG("glInvalidateSubFramebuffer(target:0x%X, numAttachments:%d, attachments:%p, x:%d, y:%d, width:%d, height:%d)", target, numAttachments, attachments, x, y, width, height); 301 GLDispatch::glInvalidateSubFramebuffer_underlying(target, numAttachments, attachments, x, y, width, height); 302} 303 304void glFramebufferTextureLayer_dispatchLoggingWrapper(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) { 305 DISPATCH_DEBUG_LOG("glFramebufferTextureLayer(target:0x%X, attachment:0x%X, texture:%d, level:%d, layer:%d)", target, attachment, texture, level, layer); 306 GLDispatch::glFramebufferTextureLayer_underlying(target, attachment, texture, level, layer); 307} 308 309void glGetInternalformativ_dispatchLoggingWrapper(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint * params) { 310 DISPATCH_DEBUG_LOG("glGetInternalformativ(target:0x%X, internalformat:0x%X, pname:0x%X, bufSize:%d, params:%p)", target, internalformat, pname, bufSize, params); 311 GLDispatch::glGetInternalformativ_underlying(target, internalformat, pname, bufSize, params); 312} 313 314void glTexStorage2D_dispatchLoggingWrapper(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height) { 315 DISPATCH_DEBUG_LOG("glTexStorage2D(target:0x%X, levels:%d, internalformat:0x%X, width:%d, height:%d)", target, levels, internalformat, width, height); 316 GLDispatch::glTexStorage2D_underlying(target, levels, internalformat, width, height); 317} 318 319void glBeginTransformFeedback_dispatchLoggingWrapper(GLenum primitiveMode) { 320 DISPATCH_DEBUG_LOG("glBeginTransformFeedback(primitiveMode:0x%X)", primitiveMode); 321 GLDispatch::glBeginTransformFeedback_underlying(primitiveMode); 322} 323 324void glEndTransformFeedback_dispatchLoggingWrapper() { 325 DISPATCH_DEBUG_LOG("glEndTransformFeedback()"); 326 GLDispatch::glEndTransformFeedback_underlying(); 327} 328 329void glGenTransformFeedbacks_dispatchLoggingWrapper(GLsizei n, GLuint * ids) { 330 DISPATCH_DEBUG_LOG("glGenTransformFeedbacks(n:%d, ids:%p)", n, ids); 331 GLDispatch::glGenTransformFeedbacks_underlying(n, ids); 332} 333 334void glDeleteTransformFeedbacks_dispatchLoggingWrapper(GLsizei n, const GLuint * ids) { 335 DISPATCH_DEBUG_LOG("glDeleteTransformFeedbacks(n:%d, ids:%p)", n, ids); 336 GLDispatch::glDeleteTransformFeedbacks_underlying(n, ids); 337} 338 339void glBindTransformFeedback_dispatchLoggingWrapper(GLenum target, GLuint id) { 340 DISPATCH_DEBUG_LOG("glBindTransformFeedback(target:0x%X, id:%d)", target, id); 341 GLDispatch::glBindTransformFeedback_underlying(target, id); 342} 343 344void glPauseTransformFeedback_dispatchLoggingWrapper() { 345 DISPATCH_DEBUG_LOG("glPauseTransformFeedback()"); 346 GLDispatch::glPauseTransformFeedback_underlying(); 347} 348 349void glResumeTransformFeedback_dispatchLoggingWrapper() { 350 DISPATCH_DEBUG_LOG("glResumeTransformFeedback()"); 351 GLDispatch::glResumeTransformFeedback_underlying(); 352} 353 354GLboolean glIsTransformFeedback_dispatchLoggingWrapper(GLuint id) { 355 DISPATCH_DEBUG_LOG("glIsTransformFeedback(id:%d)", id); 356 return GLDispatch::glIsTransformFeedback_underlying(id); 357} 358 359void glTransformFeedbackVaryings_dispatchLoggingWrapper(GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode) { 360 DISPATCH_DEBUG_LOG("glTransformFeedbackVaryings(program:%d, count:%d, varyings:%p, bufferMode:0x%X)", program, count, varyings, bufferMode); 361 GLDispatch::glTransformFeedbackVaryings_underlying(program, count, varyings, bufferMode); 362} 363 364void glGetTransformFeedbackVarying_dispatchLoggingWrapper(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GLsizei * size, GLenum * type, char * name) { 365 DISPATCH_DEBUG_LOG("glGetTransformFeedbackVarying(program:%d, index:%d, bufSize:%d, length:%p, size:%p, type:%p, name:%p)", program, index, bufSize, length, size, type, name); 366 GLDispatch::glGetTransformFeedbackVarying_underlying(program, index, bufSize, length, size, type, name); 367} 368 369void glGenSamplers_dispatchLoggingWrapper(GLsizei n, GLuint * samplers) { 370 DISPATCH_DEBUG_LOG("glGenSamplers(n:%d, samplers:%p)", n, samplers); 371 GLDispatch::glGenSamplers_underlying(n, samplers); 372} 373 374void glDeleteSamplers_dispatchLoggingWrapper(GLsizei n, const GLuint * samplers) { 375 DISPATCH_DEBUG_LOG("glDeleteSamplers(n:%d, samplers:%p)", n, samplers); 376 GLDispatch::glDeleteSamplers_underlying(n, samplers); 377} 378 379void glBindSampler_dispatchLoggingWrapper(GLuint unit, GLuint sampler) { 380 DISPATCH_DEBUG_LOG("glBindSampler(unit:%d, sampler:%d)", unit, sampler); 381 GLDispatch::glBindSampler_underlying(unit, sampler); 382} 383 384void glSamplerParameterf_dispatchLoggingWrapper(GLuint sampler, GLenum pname, GLfloat param) { 385 DISPATCH_DEBUG_LOG("glSamplerParameterf(sampler:%d, pname:0x%X, param:%f)", sampler, pname, param); 386 GLDispatch::glSamplerParameterf_underlying(sampler, pname, param); 387} 388 389void glSamplerParameteri_dispatchLoggingWrapper(GLuint sampler, GLenum pname, GLint param) { 390 DISPATCH_DEBUG_LOG("glSamplerParameteri(sampler:%d, pname:0x%X, param:%d)", sampler, pname, param); 391 GLDispatch::glSamplerParameteri_underlying(sampler, pname, param); 392} 393 394void glSamplerParameterfv_dispatchLoggingWrapper(GLuint sampler, GLenum pname, const GLfloat * params) { 395 DISPATCH_DEBUG_LOG("glSamplerParameterfv(sampler:%d, pname:0x%X, params:%p)", sampler, pname, params); 396 GLDispatch::glSamplerParameterfv_underlying(sampler, pname, params); 397} 398 399void glSamplerParameteriv_dispatchLoggingWrapper(GLuint sampler, GLenum pname, const GLint * params) { 400 DISPATCH_DEBUG_LOG("glSamplerParameteriv(sampler:%d, pname:0x%X, params:%p)", sampler, pname, params); 401 GLDispatch::glSamplerParameteriv_underlying(sampler, pname, params); 402} 403 404void glGetSamplerParameterfv_dispatchLoggingWrapper(GLuint sampler, GLenum pname, GLfloat * params) { 405 DISPATCH_DEBUG_LOG("glGetSamplerParameterfv(sampler:%d, pname:0x%X, params:%p)", sampler, pname, params); 406 GLDispatch::glGetSamplerParameterfv_underlying(sampler, pname, params); 407} 408 409void glGetSamplerParameteriv_dispatchLoggingWrapper(GLuint sampler, GLenum pname, GLint * params) { 410 DISPATCH_DEBUG_LOG("glGetSamplerParameteriv(sampler:%d, pname:0x%X, params:%p)", sampler, pname, params); 411 GLDispatch::glGetSamplerParameteriv_underlying(sampler, pname, params); 412} 413 414GLboolean glIsSampler_dispatchLoggingWrapper(GLuint sampler) { 415 DISPATCH_DEBUG_LOG("glIsSampler(sampler:%d)", sampler); 416 return GLDispatch::glIsSampler_underlying(sampler); 417} 418 419void glGenQueries_dispatchLoggingWrapper(GLsizei n, GLuint * queries) { 420 DISPATCH_DEBUG_LOG("glGenQueries(n:%d, queries:%p)", n, queries); 421 GLDispatch::glGenQueries_underlying(n, queries); 422} 423 424void glDeleteQueries_dispatchLoggingWrapper(GLsizei n, const GLuint * queries) { 425 DISPATCH_DEBUG_LOG("glDeleteQueries(n:%d, queries:%p)", n, queries); 426 GLDispatch::glDeleteQueries_underlying(n, queries); 427} 428 429void glBeginQuery_dispatchLoggingWrapper(GLenum target, GLuint query) { 430 DISPATCH_DEBUG_LOG("glBeginQuery(target:0x%X, query:%d)", target, query); 431 GLDispatch::glBeginQuery_underlying(target, query); 432} 433 434void glEndQuery_dispatchLoggingWrapper(GLenum target) { 435 DISPATCH_DEBUG_LOG("glEndQuery(target:0x%X)", target); 436 GLDispatch::glEndQuery_underlying(target); 437} 438 439void glGetQueryiv_dispatchLoggingWrapper(GLenum target, GLenum pname, GLint * params) { 440 DISPATCH_DEBUG_LOG("glGetQueryiv(target:0x%X, pname:0x%X, params:%p)", target, pname, params); 441 GLDispatch::glGetQueryiv_underlying(target, pname, params); 442} 443 444void glGetQueryObjectuiv_dispatchLoggingWrapper(GLuint query, GLenum pname, GLuint * params) { 445 DISPATCH_DEBUG_LOG("glGetQueryObjectuiv(query:%d, pname:0x%X, params:%p)", query, pname, params); 446 GLDispatch::glGetQueryObjectuiv_underlying(query, pname, params); 447} 448 449GLboolean glIsQuery_dispatchLoggingWrapper(GLuint query) { 450 DISPATCH_DEBUG_LOG("glIsQuery(query:%d)", query); 451 return GLDispatch::glIsQuery_underlying(query); 452} 453 454void glProgramParameteri_dispatchLoggingWrapper(GLuint program, GLenum pname, GLint value) { 455 DISPATCH_DEBUG_LOG("glProgramParameteri(program:%d, pname:0x%X, value:%d)", program, pname, value); 456 GLDispatch::glProgramParameteri_underlying(program, pname, value); 457} 458 459void glProgramBinary_dispatchLoggingWrapper(GLuint program, GLenum binaryFormat, const void * binary, GLsizei length) { 460 DISPATCH_DEBUG_LOG("glProgramBinary(program:%d, binaryFormat:0x%X, binary:%p, length:%d)", program, binaryFormat, binary, length); 461 GLDispatch::glProgramBinary_underlying(program, binaryFormat, binary, length); 462} 463 464void glGetProgramBinary_dispatchLoggingWrapper(GLuint program, GLsizei bufsize, GLsizei * length, GLenum * binaryFormat, void * binary) { 465 DISPATCH_DEBUG_LOG("glGetProgramBinary(program:%d, bufsize:%d, length:%p, binaryFormat:%p, binary:%p)", program, bufsize, length, binaryFormat, binary); 466 GLDispatch::glGetProgramBinary_underlying(program, bufsize, length, binaryFormat, binary); 467} 468 469GLint glGetFragDataLocation_dispatchLoggingWrapper(GLuint program, const char * name) { 470 DISPATCH_DEBUG_LOG("glGetFragDataLocation(program:%d, name:%p)", program, name); 471 return GLDispatch::glGetFragDataLocation_underlying(program, name); 472} 473 474void glGetInteger64v_dispatchLoggingWrapper(GLenum pname, GLint64 * data) { 475 DISPATCH_DEBUG_LOG("glGetInteger64v(pname:0x%X, data:%p)", pname, data); 476 GLDispatch::glGetInteger64v_underlying(pname, data); 477} 478 479void glGetIntegeri_v_dispatchLoggingWrapper(GLenum target, GLuint index, GLint * data) { 480 DISPATCH_DEBUG_LOG("glGetIntegeri_v(target:0x%X, index:%d, data:%p)", target, index, data); 481 GLDispatch::glGetIntegeri_v_underlying(target, index, data); 482} 483 484void glGetInteger64i_v_dispatchLoggingWrapper(GLenum target, GLuint index, GLint64 * data) { 485 DISPATCH_DEBUG_LOG("glGetInteger64i_v(target:0x%X, index:%d, data:%p)", target, index, data); 486 GLDispatch::glGetInteger64i_v_underlying(target, index, data); 487} 488 489void glTexImage3D_dispatchLoggingWrapper(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid * data) { 490 DISPATCH_DEBUG_LOG("glTexImage3D(target:0x%X, level:%d, internalFormat:%d, width:%d, height:%d, depth:%d, border:%d, format:0x%X, type:0x%X, data:%p)", target, level, internalFormat, width, height, depth, border, format, type, data); 491 GLDispatch::glTexImage3D_underlying(target, level, internalFormat, width, height, depth, border, format, type, data); 492} 493 494void glTexStorage3D_dispatchLoggingWrapper(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { 495 DISPATCH_DEBUG_LOG("glTexStorage3D(target:0x%X, levels:%d, internalformat:0x%X, width:%d, height:%d, depth:%d)", target, levels, internalformat, width, height, depth); 496 GLDispatch::glTexStorage3D_underlying(target, levels, internalformat, width, height, depth); 497} 498 499void glTexSubImage3D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * data) { 500 DISPATCH_DEBUG_LOG("glTexSubImage3D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, zoffset:%d, width:%d, height:%d, depth:%d, format:0x%X, type:0x%X, data:%p)", target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); 501 GLDispatch::glTexSubImage3D_underlying(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, data); 502} 503 504void glCompressedTexImage3D_dispatchLoggingWrapper(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid * data) { 505 DISPATCH_DEBUG_LOG("glCompressedTexImage3D(target:0x%X, level:%d, internalformat:0x%X, width:%d, height:%d, depth:%d, border:%d, imageSize:%d, data:%p)", target, level, internalformat, width, height, depth, border, imageSize, data); 506 GLDispatch::glCompressedTexImage3D_underlying(target, level, internalformat, width, height, depth, border, imageSize, data); 507} 508 509void glCompressedTexSubImage3D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid * data) { 510 DISPATCH_DEBUG_LOG("glCompressedTexSubImage3D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, zoffset:%d, width:%d, height:%d, depth:%d, format:0x%X, imageSize:%d, data:%p)", target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 511 GLDispatch::glCompressedTexSubImage3D_underlying(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); 512} 513 514void glCopyTexSubImage3D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) { 515 DISPATCH_DEBUG_LOG("glCopyTexSubImage3D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, zoffset:%d, x:%d, y:%d, width:%d, height:%d)", target, level, xoffset, yoffset, zoffset, x, y, width, height); 516 GLDispatch::glCopyTexSubImage3D_underlying(target, level, xoffset, yoffset, zoffset, x, y, width, height); 517} 518 519