1// Auto-generated with: android/scripts/gen-entries.py --mode=dispatch_logging_wrappers stream-servers/gl/OpenGLESDispatch/gles2_extensions.entries --output=stream-servers/gl/OpenGLESDispatch/gles2_extensions_dispatch_logging_wrappers.impl
2// DO NOT EDIT THIS FILE
3
4void glGetShaderPrecisionFormat_dispatchLoggingWrapper(GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision) {
5	DISPATCH_DEBUG_LOG("glGetShaderPrecisionFormat(shadertype:0x%X, precisiontype:0x%X, range:%p, precision:%p)", shadertype, precisiontype, range, precision);
6	GLDispatch::glGetShaderPrecisionFormat_underlying(shadertype, precisiontype, range, precision);
7}
8
9void glReleaseShaderCompiler_dispatchLoggingWrapper() {
10	DISPATCH_DEBUG_LOG("glReleaseShaderCompiler()");
11	GLDispatch::glReleaseShaderCompiler_underlying();
12}
13
14void glShaderBinary_dispatchLoggingWrapper(GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length) {
15	DISPATCH_DEBUG_LOG("glShaderBinary(n:%d, shaders:%p, binaryformat:0x%X, binary:%p, length:%d)", n, shaders, binaryformat, binary, length);
16	GLDispatch::glShaderBinary_underlying(n, shaders, binaryformat, binary, length);
17}
18
19void glVertexAttribPointerWithDataSize_dispatchLoggingWrapper(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr, GLsizei dataSize) {
20	DISPATCH_DEBUG_LOG("glVertexAttribPointerWithDataSize(indx:%d, size:%d, type:0x%X, normalized:%d, stride:%d, ptr:%p, dataSize:%d)", indx, size, type, normalized, stride, ptr, dataSize);
21	GLDispatch::glVertexAttribPointerWithDataSize_underlying(indx, size, type, normalized, stride, ptr, dataSize);
22}
23
24void glFramebufferTexture3DOES_dispatchLoggingWrapper(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) {
25	DISPATCH_DEBUG_LOG("glFramebufferTexture3DOES(target:0x%X, attachment:0x%X, textarget:0x%X, texture:%d, level:%d, zoffset:%d)", target, attachment, textarget, texture, level, zoffset);
26	GLDispatch::glFramebufferTexture3DOES_underlying(target, attachment, textarget, texture, level, zoffset);
27}
28
29void glTestHostDriverPerformance_dispatchLoggingWrapper(GLuint count, uint64_t* duration_us, uint64_t* duration_cpu_us) {
30	DISPATCH_DEBUG_LOG("glTestHostDriverPerformance(count:%d, duration_us:%p, duration_cpu_us:%p)", count, duration_us, duration_cpu_us);
31	GLDispatch::glTestHostDriverPerformance_underlying(count, duration_us, duration_cpu_us);
32}
33
34void glBindVertexArrayOES_dispatchLoggingWrapper(GLuint array) {
35	DISPATCH_DEBUG_LOG("glBindVertexArrayOES(array:%d)", array);
36	GLDispatch::glBindVertexArrayOES_underlying(array);
37}
38
39void glDeleteVertexArraysOES_dispatchLoggingWrapper(GLsizei n, const GLuint * arrays) {
40	DISPATCH_DEBUG_LOG("glDeleteVertexArraysOES(n:%d, arrays:%p)", n, arrays);
41	GLDispatch::glDeleteVertexArraysOES_underlying(n, arrays);
42}
43
44void glGenVertexArraysOES_dispatchLoggingWrapper(GLsizei n, GLuint * arrays) {
45	DISPATCH_DEBUG_LOG("glGenVertexArraysOES(n:%d, arrays:%p)", n, arrays);
46	GLDispatch::glGenVertexArraysOES_underlying(n, arrays);
47}
48
49GLboolean glIsVertexArrayOES_dispatchLoggingWrapper(GLuint array) {
50	DISPATCH_DEBUG_LOG("glIsVertexArrayOES(array:%d)", array);
51	return GLDispatch::glIsVertexArrayOES_underlying(array);
52}
53
54void glDebugMessageControlKHR_dispatchLoggingWrapper(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint * ids, GLboolean enabled) {
55	DISPATCH_DEBUG_LOG("glDebugMessageControlKHR(source:0x%X, type:0x%X, severity:0x%X, count:%d, ids:%p, enabled:%d)", source, type, severity, count, ids, enabled);
56	GLDispatch::glDebugMessageControlKHR_underlying(source, type, severity, count, ids, enabled);
57}
58
59void glDebugMessageInsertKHR_dispatchLoggingWrapper(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar * buf) {
60	DISPATCH_DEBUG_LOG("glDebugMessageInsertKHR(source:0x%X, type:0x%X, id:%d, severity:0x%X, length:%d, buf:%p)", source, type, id, severity, length, buf);
61	GLDispatch::glDebugMessageInsertKHR_underlying(source, type, id, severity, length, buf);
62}
63
64void glDebugMessageCallbackKHR_dispatchLoggingWrapper(GLDEBUGPROCKHR callback, const void * userParam) {
65	DISPATCH_DEBUG_LOG("glDebugMessageCallbackKHR(callback:%p, userParam:%p)", callback, userParam);
66	GLDispatch::glDebugMessageCallbackKHR_underlying(callback, userParam);
67}
68
69GLuint glGetDebugMessageLogKHR_dispatchLoggingWrapper(GLuint count, GLsizei bufSize, GLenum * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * messageLog) {
70	DISPATCH_DEBUG_LOG("glGetDebugMessageLogKHR(count:%d, bufSize:%d, sources:%p, types:%p, ids:%p, severities:%p, lengths:%p, messageLog:%p)", count, bufSize, sources, types, ids, severities, lengths, messageLog);
71	return GLDispatch::glGetDebugMessageLogKHR_underlying(count, bufSize, sources, types, ids, severities, lengths, messageLog);
72}
73
74void glPushDebugGroupKHR_dispatchLoggingWrapper(GLenum source, GLuint id, GLsizei length, const GLchar* message) {
75	DISPATCH_DEBUG_LOG("glPushDebugGroupKHR(source:0x%X, id:%d, length:%d, message:%p)", source, id, length, message);
76	GLDispatch::glPushDebugGroupKHR_underlying(source, id, length, message);
77}
78
79void glPopDebugGroupKHR_dispatchLoggingWrapper() {
80	DISPATCH_DEBUG_LOG("glPopDebugGroupKHR()");
81	GLDispatch::glPopDebugGroupKHR_underlying();
82}
83
84