1// Auto-generated with: android/scripts/gen-entries.py --mode=dispatch_logging_wrappers stream-servers/gl/OpenGLESDispatch/gles_common.entries --output=stream-servers/gl/OpenGLESDispatch/gles_common_dispatch_logging_wrappers.impl
2// DO NOT EDIT THIS FILE
3
4void glActiveTexture_dispatchLoggingWrapper(GLenum texture) {
5	DISPATCH_DEBUG_LOG("glActiveTexture(texture:0x%X)", texture);
6	GLDispatch::glActiveTexture_underlying(texture);
7}
8
9void glBindBuffer_dispatchLoggingWrapper(GLenum target, GLuint buffer) {
10	DISPATCH_DEBUG_LOG("glBindBuffer(target:0x%X, buffer:%d)", target, buffer);
11	GLDispatch::glBindBuffer_underlying(target, buffer);
12}
13
14void glBindTexture_dispatchLoggingWrapper(GLenum target, GLuint texture) {
15	DISPATCH_DEBUG_LOG("glBindTexture(target:0x%X, texture:%d)", target, texture);
16	GLDispatch::glBindTexture_underlying(target, texture);
17}
18
19void glBlendFunc_dispatchLoggingWrapper(GLenum sfactor, GLenum dfactor) {
20	DISPATCH_DEBUG_LOG("glBlendFunc(sfactor:0x%X, dfactor:0x%X)", sfactor, dfactor);
21	GLDispatch::glBlendFunc_underlying(sfactor, dfactor);
22}
23
24void glBlendEquation_dispatchLoggingWrapper(GLenum mode) {
25	DISPATCH_DEBUG_LOG("glBlendEquation(mode:0x%X)", mode);
26	GLDispatch::glBlendEquation_underlying(mode);
27}
28
29void glBlendEquationSeparate_dispatchLoggingWrapper(GLenum modeRGB, GLenum modeAlpha) {
30	DISPATCH_DEBUG_LOG("glBlendEquationSeparate(modeRGB:0x%X, modeAlpha:0x%X)", modeRGB, modeAlpha);
31	GLDispatch::glBlendEquationSeparate_underlying(modeRGB, modeAlpha);
32}
33
34void glBlendFuncSeparate_dispatchLoggingWrapper(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) {
35	DISPATCH_DEBUG_LOG("glBlendFuncSeparate(srcRGB:0x%X, dstRGB:0x%X, srcAlpha:0x%X, dstAlpha:0x%X)", srcRGB, dstRGB, srcAlpha, dstAlpha);
36	GLDispatch::glBlendFuncSeparate_underlying(srcRGB, dstRGB, srcAlpha, dstAlpha);
37}
38
39void glBufferData_dispatchLoggingWrapper(GLenum target, GLsizeiptr size, const GLvoid * data, GLenum usage) {
40	DISPATCH_DEBUG_LOG("glBufferData(target:0x%X, size:%ld, data:%p, usage:0x%X)", target, size, data, usage);
41	GLDispatch::glBufferData_underlying(target, size, data, usage);
42}
43
44void glBufferSubData_dispatchLoggingWrapper(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid * data) {
45	DISPATCH_DEBUG_LOG("glBufferSubData(target:0x%X, offset:%ld, size:%ld, data:%p)", target, offset, size, data);
46	GLDispatch::glBufferSubData_underlying(target, offset, size, data);
47}
48
49void glClear_dispatchLoggingWrapper(GLbitfield mask) {
50	DISPATCH_DEBUG_LOG("glClear(mask:%d)", mask);
51	GLDispatch::glClear_underlying(mask);
52}
53
54void glClearColor_dispatchLoggingWrapper(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) {
55	DISPATCH_DEBUG_LOG("glClearColor(red:%f, green:%f, blue:%f, alpha:%f)", red, green, blue, alpha);
56	GLDispatch::glClearColor_underlying(red, green, blue, alpha);
57}
58
59void glClearDepth_dispatchLoggingWrapper(GLclampd depth) {
60	DISPATCH_DEBUG_LOG("glClearDepth(depth:%f)", depth);
61	GLDispatch::glClearDepth_underlying(depth);
62}
63
64void glClearDepthf_dispatchLoggingWrapper(GLclampf depth) {
65	DISPATCH_DEBUG_LOG("glClearDepthf(depth:%f)", depth);
66	GLDispatch::glClearDepthf_underlying(depth);
67}
68
69void glClearStencil_dispatchLoggingWrapper(GLint s) {
70	DISPATCH_DEBUG_LOG("glClearStencil(s:%d)", s);
71	GLDispatch::glClearStencil_underlying(s);
72}
73
74void glColorMask_dispatchLoggingWrapper(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) {
75	DISPATCH_DEBUG_LOG("glColorMask(red:%d, green:%d, blue:%d, alpha:%d)", red, green, blue, alpha);
76	GLDispatch::glColorMask_underlying(red, green, blue, alpha);
77}
78
79void glCompressedTexImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid * data) {
80	DISPATCH_DEBUG_LOG("glCompressedTexImage2D(target:0x%X, level:%d, internalformat:0x%X, width:%d, height:%d, border:%d, imageSize:%d, data:%p)", target, level, internalformat, width, height, border, imageSize, data);
81	GLDispatch::glCompressedTexImage2D_underlying(target, level, internalformat, width, height, border, imageSize, data);
82}
83
84void glCompressedTexSubImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid * data) {
85	DISPATCH_DEBUG_LOG("glCompressedTexSubImage2D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, width:%d, height:%d, format:0x%X, imageSize:%d, data:%p)", target, level, xoffset, yoffset, width, height, format, imageSize, data);
86	GLDispatch::glCompressedTexSubImage2D_underlying(target, level, xoffset, yoffset, width, height, format, imageSize, data);
87}
88
89void glCopyTexImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) {
90	DISPATCH_DEBUG_LOG("glCopyTexImage2D(target:0x%X, level:%d, internalFormat:0x%X, x:%d, y:%d, width:%d, height:%d, border:%d)", target, level, internalFormat, x, y, width, height, border);
91	GLDispatch::glCopyTexImage2D_underlying(target, level, internalFormat, x, y, width, height, border);
92}
93
94void glCopyTexSubImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) {
95	DISPATCH_DEBUG_LOG("glCopyTexSubImage2D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, x:%d, y:%d, width:%d, height:%d)", target, level, xoffset, yoffset, x, y, width, height);
96	GLDispatch::glCopyTexSubImage2D_underlying(target, level, xoffset, yoffset, x, y, width, height);
97}
98
99void glCullFace_dispatchLoggingWrapper(GLenum mode) {
100	DISPATCH_DEBUG_LOG("glCullFace(mode:0x%X)", mode);
101	GLDispatch::glCullFace_underlying(mode);
102}
103
104void glDeleteBuffers_dispatchLoggingWrapper(GLsizei n, const GLuint * buffers) {
105	DISPATCH_DEBUG_LOG("glDeleteBuffers(n:%d, buffers:%p)", n, buffers);
106	GLDispatch::glDeleteBuffers_underlying(n, buffers);
107}
108
109void glDeleteTextures_dispatchLoggingWrapper(GLsizei n, const GLuint * textures) {
110	DISPATCH_DEBUG_LOG("glDeleteTextures(n:%d, textures:%p)", n, textures);
111	GLDispatch::glDeleteTextures_underlying(n, textures);
112}
113
114void glDepthFunc_dispatchLoggingWrapper(GLenum func) {
115	DISPATCH_DEBUG_LOG("glDepthFunc(func:0x%X)", func);
116	GLDispatch::glDepthFunc_underlying(func);
117}
118
119void glDepthMask_dispatchLoggingWrapper(GLboolean flag) {
120	DISPATCH_DEBUG_LOG("glDepthMask(flag:%d)", flag);
121	GLDispatch::glDepthMask_underlying(flag);
122}
123
124void glDepthRange_dispatchLoggingWrapper(GLclampd zNear, GLclampd zFar) {
125	DISPATCH_DEBUG_LOG("glDepthRange(zNear:%f, zFar:%f)", zNear, zFar);
126	GLDispatch::glDepthRange_underlying(zNear, zFar);
127}
128
129void glDepthRangef_dispatchLoggingWrapper(GLclampf zNear, GLclampf zFar) {
130	DISPATCH_DEBUG_LOG("glDepthRangef(zNear:%f, zFar:%f)", zNear, zFar);
131	GLDispatch::glDepthRangef_underlying(zNear, zFar);
132}
133
134void glDisable_dispatchLoggingWrapper(GLenum cap) {
135	DISPATCH_DEBUG_LOG("glDisable(cap:0x%X)", cap);
136	GLDispatch::glDisable_underlying(cap);
137}
138
139void glDrawArrays_dispatchLoggingWrapper(GLenum mode, GLint first, GLsizei count) {
140	DISPATCH_DEBUG_LOG("glDrawArrays(mode:0x%X, first:%d, count:%d)", mode, first, count);
141	GLDispatch::glDrawArrays_underlying(mode, first, count);
142}
143
144void glDrawElements_dispatchLoggingWrapper(GLenum mode, GLsizei count, GLenum type, const GLvoid * indices) {
145	DISPATCH_DEBUG_LOG("glDrawElements(mode:0x%X, count:%d, type:0x%X, indices:%p)", mode, count, type, indices);
146	GLDispatch::glDrawElements_underlying(mode, count, type, indices);
147}
148
149void glEnable_dispatchLoggingWrapper(GLenum cap) {
150	DISPATCH_DEBUG_LOG("glEnable(cap:0x%X)", cap);
151	GLDispatch::glEnable_underlying(cap);
152}
153
154void glFinish_dispatchLoggingWrapper() {
155	DISPATCH_DEBUG_LOG("glFinish()");
156	GLDispatch::glFinish_underlying();
157}
158
159void glFlush_dispatchLoggingWrapper() {
160	DISPATCH_DEBUG_LOG("glFlush()");
161	GLDispatch::glFlush_underlying();
162}
163
164void glFrontFace_dispatchLoggingWrapper(GLenum mode) {
165	DISPATCH_DEBUG_LOG("glFrontFace(mode:0x%X)", mode);
166	GLDispatch::glFrontFace_underlying(mode);
167}
168
169void glGenBuffers_dispatchLoggingWrapper(GLsizei n, GLuint * buffers) {
170	DISPATCH_DEBUG_LOG("glGenBuffers(n:%d, buffers:%p)", n, buffers);
171	GLDispatch::glGenBuffers_underlying(n, buffers);
172}
173
174void glGenTextures_dispatchLoggingWrapper(GLsizei n, GLuint * textures) {
175	DISPATCH_DEBUG_LOG("glGenTextures(n:%d, textures:%p)", n, textures);
176	GLDispatch::glGenTextures_underlying(n, textures);
177}
178
179void glGetBooleanv_dispatchLoggingWrapper(GLenum pname, GLboolean * params) {
180	DISPATCH_DEBUG_LOG("glGetBooleanv(pname:0x%X, params:%p)", pname, params);
181	GLDispatch::glGetBooleanv_underlying(pname, params);
182}
183
184void glGetBufferParameteriv_dispatchLoggingWrapper(GLenum buffer, GLenum parameter, GLint * value) {
185	DISPATCH_DEBUG_LOG("glGetBufferParameteriv(buffer:0x%X, parameter:0x%X, value:%p)", buffer, parameter, value);
186	GLDispatch::glGetBufferParameteriv_underlying(buffer, parameter, value);
187}
188
189GLenum glGetError_dispatchLoggingWrapper() {
190	DISPATCH_DEBUG_LOG("glGetError()");
191	return GLDispatch::glGetError_underlying();
192}
193
194void glGetFloatv_dispatchLoggingWrapper(GLenum pname, GLfloat * params) {
195	DISPATCH_DEBUG_LOG("glGetFloatv(pname:0x%X, params:%p)", pname, params);
196	GLDispatch::glGetFloatv_underlying(pname, params);
197}
198
199void glGetIntegerv_dispatchLoggingWrapper(GLenum pname, GLint * params) {
200	DISPATCH_DEBUG_LOG("glGetIntegerv(pname:0x%X, params:%p)", pname, params);
201	GLDispatch::glGetIntegerv_underlying(pname, params);
202}
203
204GLconstubyteptr glGetString_dispatchLoggingWrapper(GLenum name) {
205	DISPATCH_DEBUG_LOG("glGetString(name:0x%X)", name);
206	return GLDispatch::glGetString_underlying(name);
207}
208
209void glTexParameterf_dispatchLoggingWrapper(GLenum target, GLenum pname, GLfloat param) {
210	DISPATCH_DEBUG_LOG("glTexParameterf(target:0x%X, pname:0x%X, param:%f)", target, pname, param);
211	GLDispatch::glTexParameterf_underlying(target, pname, param);
212}
213
214void glTexParameterfv_dispatchLoggingWrapper(GLenum target, GLenum pname, const GLfloat * params) {
215	DISPATCH_DEBUG_LOG("glTexParameterfv(target:0x%X, pname:0x%X, params:%p)", target, pname, params);
216	GLDispatch::glTexParameterfv_underlying(target, pname, params);
217}
218
219void glGetTexImage_dispatchLoggingWrapper(GLenum target, GLint level, GLenum format, GLenum type, GLvoid * pixels) {
220	DISPATCH_DEBUG_LOG("glGetTexImage(target:0x%X, level:%d, format:0x%X, type:0x%X, pixels:%p)", target, level, format, type, pixels);
221	GLDispatch::glGetTexImage_underlying(target, level, format, type, pixels);
222}
223
224void glGetTexParameterfv_dispatchLoggingWrapper(GLenum target, GLenum pname, GLfloat * params) {
225	DISPATCH_DEBUG_LOG("glGetTexParameterfv(target:0x%X, pname:0x%X, params:%p)", target, pname, params);
226	GLDispatch::glGetTexParameterfv_underlying(target, pname, params);
227}
228
229void glGetTexParameteriv_dispatchLoggingWrapper(GLenum target, GLenum pname, GLint * params) {
230	DISPATCH_DEBUG_LOG("glGetTexParameteriv(target:0x%X, pname:0x%X, params:%p)", target, pname, params);
231	GLDispatch::glGetTexParameteriv_underlying(target, pname, params);
232}
233
234void glGetTexLevelParameteriv_dispatchLoggingWrapper(GLenum target, GLint level, GLenum pname, GLint * params) {
235	DISPATCH_DEBUG_LOG("glGetTexLevelParameteriv(target:0x%X, level:%d, pname:0x%X, params:%p)", target, level, pname, params);
236	GLDispatch::glGetTexLevelParameteriv_underlying(target, level, pname, params);
237}
238
239void glGetTexLevelParameterfv_dispatchLoggingWrapper(GLenum target, GLint level, GLenum pname, GLfloat * params) {
240	DISPATCH_DEBUG_LOG("glGetTexLevelParameterfv(target:0x%X, level:%d, pname:0x%X, params:%p)", target, level, pname, params);
241	GLDispatch::glGetTexLevelParameterfv_underlying(target, level, pname, params);
242}
243
244void glHint_dispatchLoggingWrapper(GLenum target, GLenum mode) {
245	DISPATCH_DEBUG_LOG("glHint(target:0x%X, mode:0x%X)", target, mode);
246	GLDispatch::glHint_underlying(target, mode);
247}
248
249GLboolean glIsBuffer_dispatchLoggingWrapper(GLuint buffer) {
250	DISPATCH_DEBUG_LOG("glIsBuffer(buffer:%d)", buffer);
251	return GLDispatch::glIsBuffer_underlying(buffer);
252}
253
254GLboolean glIsEnabled_dispatchLoggingWrapper(GLenum cap) {
255	DISPATCH_DEBUG_LOG("glIsEnabled(cap:0x%X)", cap);
256	return GLDispatch::glIsEnabled_underlying(cap);
257}
258
259GLboolean glIsTexture_dispatchLoggingWrapper(GLuint texture) {
260	DISPATCH_DEBUG_LOG("glIsTexture(texture:%d)", texture);
261	return GLDispatch::glIsTexture_underlying(texture);
262}
263
264void glLineWidth_dispatchLoggingWrapper(GLfloat width) {
265	DISPATCH_DEBUG_LOG("glLineWidth(width:%f)", width);
266	GLDispatch::glLineWidth_underlying(width);
267}
268
269void glPolygonOffset_dispatchLoggingWrapper(GLfloat factor, GLfloat units) {
270	DISPATCH_DEBUG_LOG("glPolygonOffset(factor:%f, units:%f)", factor, units);
271	GLDispatch::glPolygonOffset_underlying(factor, units);
272}
273
274void glPixelStorei_dispatchLoggingWrapper(GLenum pname, GLint param) {
275	DISPATCH_DEBUG_LOG("glPixelStorei(pname:0x%X, param:%d)", pname, param);
276	GLDispatch::glPixelStorei_underlying(pname, param);
277}
278
279void glReadPixels_dispatchLoggingWrapper(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid * pixels) {
280	DISPATCH_DEBUG_LOG("glReadPixels(x:%d, y:%d, width:%d, height:%d, format:0x%X, type:0x%X, pixels:%p)", x, y, width, height, format, type, pixels);
281	GLDispatch::glReadPixels_underlying(x, y, width, height, format, type, pixels);
282}
283
284void glRenderbufferStorageMultisample_dispatchLoggingWrapper(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) {
285	DISPATCH_DEBUG_LOG("glRenderbufferStorageMultisample(target:0x%X, samples:%d, internalformat:0x%X, width:%d, height:%d)", target, samples, internalformat, width, height);
286	GLDispatch::glRenderbufferStorageMultisample_underlying(target, samples, internalformat, width, height);
287}
288
289void glSampleCoverage_dispatchLoggingWrapper(GLclampf value, GLboolean invert) {
290	DISPATCH_DEBUG_LOG("glSampleCoverage(value:%f, invert:%d)", value, invert);
291	GLDispatch::glSampleCoverage_underlying(value, invert);
292}
293
294void glScissor_dispatchLoggingWrapper(GLint x, GLint y, GLsizei width, GLsizei height) {
295	DISPATCH_DEBUG_LOG("glScissor(x:%d, y:%d, width:%d, height:%d)", x, y, width, height);
296	GLDispatch::glScissor_underlying(x, y, width, height);
297}
298
299void glStencilFunc_dispatchLoggingWrapper(GLenum func, GLint ref, GLuint mask) {
300	DISPATCH_DEBUG_LOG("glStencilFunc(func:0x%X, ref:%d, mask:%d)", func, ref, mask);
301	GLDispatch::glStencilFunc_underlying(func, ref, mask);
302}
303
304void glStencilMask_dispatchLoggingWrapper(GLuint mask) {
305	DISPATCH_DEBUG_LOG("glStencilMask(mask:%d)", mask);
306	GLDispatch::glStencilMask_underlying(mask);
307}
308
309void glStencilOp_dispatchLoggingWrapper(GLenum fail, GLenum zfail, GLenum zpass) {
310	DISPATCH_DEBUG_LOG("glStencilOp(fail:0x%X, zfail:0x%X, zpass:0x%X)", fail, zfail, zpass);
311	GLDispatch::glStencilOp_underlying(fail, zfail, zpass);
312}
313
314void glTexImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid * pixels) {
315	DISPATCH_DEBUG_LOG("glTexImage2D(target:0x%X, level:%d, internalformat:%d, width:%d, height:%d, border:%d, format:0x%X, type:0x%X, pixels:%p)", target, level, internalformat, width, height, border, format, type, pixels);
316	GLDispatch::glTexImage2D_underlying(target, level, internalformat, width, height, border, format, type, pixels);
317}
318
319void glTexParameteri_dispatchLoggingWrapper(GLenum target, GLenum pname, GLint param) {
320	DISPATCH_DEBUG_LOG("glTexParameteri(target:0x%X, pname:0x%X, param:%d)", target, pname, param);
321	GLDispatch::glTexParameteri_underlying(target, pname, param);
322}
323
324void glTexParameteriv_dispatchLoggingWrapper(GLenum target, GLenum pname, const GLint * params) {
325	DISPATCH_DEBUG_LOG("glTexParameteriv(target:0x%X, pname:0x%X, params:%p)", target, pname, params);
326	GLDispatch::glTexParameteriv_underlying(target, pname, params);
327}
328
329void glTexSubImage2D_dispatchLoggingWrapper(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid * pixels) {
330	DISPATCH_DEBUG_LOG("glTexSubImage2D(target:0x%X, level:%d, xoffset:%d, yoffset:%d, width:%d, height:%d, format:0x%X, type:0x%X, pixels:%p)", target, level, xoffset, yoffset, width, height, format, type, pixels);
331	GLDispatch::glTexSubImage2D_underlying(target, level, xoffset, yoffset, width, height, format, type, pixels);
332}
333
334void glViewport_dispatchLoggingWrapper(GLint x, GLint y, GLsizei width, GLsizei height) {
335	DISPATCH_DEBUG_LOG("glViewport(x:%d, y:%d, width:%d, height:%d)", x, y, width, height);
336	GLDispatch::glViewport_underlying(x, y, width, height);
337}
338
339void glPushAttrib_dispatchLoggingWrapper(GLbitfield mask) {
340	DISPATCH_DEBUG_LOG("glPushAttrib(mask:%d)", mask);
341	GLDispatch::glPushAttrib_underlying(mask);
342}
343
344void glPushClientAttrib_dispatchLoggingWrapper(GLbitfield mask) {
345	DISPATCH_DEBUG_LOG("glPushClientAttrib(mask:%d)", mask);
346	GLDispatch::glPushClientAttrib_underlying(mask);
347}
348
349void glPopAttrib_dispatchLoggingWrapper() {
350	DISPATCH_DEBUG_LOG("glPopAttrib()");
351	GLDispatch::glPopAttrib_underlying();
352}
353
354void glPopClientAttrib_dispatchLoggingWrapper() {
355	DISPATCH_DEBUG_LOG("glPopClientAttrib()");
356	GLDispatch::glPopClientAttrib_underlying();
357}
358
359