c00f348865503f491b9937d209854f3f27b40f45
[vg.git] / glad.c
1 /*
2
3 OpenGL loader generated by glad 0.1.34 on Sun Jul 18 08:24:23 2021.
4
5 Language/Generator: C/C++ Debug
6 Specification: gl
7 APIs: gl=3.3
8 Profile: core
9 Extensions:
10
11 Loader: True
12 Local files: False
13 Omit khrplatform: False
14 Reproducible: False
15
16 Commandline:
17 --profile="core" --api="gl=3.3" --generator="c-debug" --spec="gl" --extensions=""
18 Online:
19 https://glad.dav1d.de/#profile=core&language=c-debug&specification=gl&loader=on&api=gl%3D3.3
20 */
21
22 #include <stdio.h>
23 #include <stdlib.h>
24 #include <string.h>
25 #include "glad/glad.h"
26
27 void _pre_call_callback_default(const char *name, void *funcptr, int len_args, ...) {
28 (void) name;
29 (void) funcptr;
30 (void) len_args;
31 }
32 void _post_call_callback_default(const char *name, void *funcptr, int len_args, ...) {
33 GLenum error_code;
34
35 (void) funcptr;
36 (void) len_args;
37
38 error_code = glad_glGetError();
39
40 if (error_code != GL_NO_ERROR) {
41 fprintf(stderr, "ERROR %d in %s\n", error_code, name);
42 }
43 }
44
45 static GLADcallback _pre_call_callback = _pre_call_callback_default;
46 void glad_set_pre_callback(GLADcallback cb) {
47 _pre_call_callback = cb;
48 }
49
50 static GLADcallback _post_call_callback = _post_call_callback_default;
51 void glad_set_post_callback(GLADcallback cb) {
52 _post_call_callback = cb;
53 }
54
55 static void* get_proc(const char *namez);
56
57 #if defined(_WIN32) || defined(__CYGWIN__)
58 #ifndef _WINDOWS_
59 #undef APIENTRY
60 #endif
61 #include <windows.h>
62 static HMODULE libGL;
63
64 typedef void* (APIENTRYP PFNWGLGETPROCADDRESSPROC_PRIVATE)(const char*);
65 static PFNWGLGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
66
67 #ifdef _MSC_VER
68 #ifdef __has_include
69 #if __has_include(<winapifamily.h>)
70 #define HAVE_WINAPIFAMILY 1
71 #endif
72 #elif _MSC_VER >= 1700 && !_USING_V110_SDK71_
73 #define HAVE_WINAPIFAMILY 1
74 #endif
75 #endif
76
77 #ifdef HAVE_WINAPIFAMILY
78 #include <winapifamily.h>
79 #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
80 #define IS_UWP 1
81 #endif
82 #endif
83
84 static
85 int open_gl(void) {
86 #ifndef IS_UWP
87 libGL = LoadLibraryW(L"opengl32.dll");
88 if(libGL != NULL) {
89 void (* tmp)(void);
90 tmp = (void(*)(void)) GetProcAddress(libGL, "wglGetProcAddress");
91 gladGetProcAddressPtr = (PFNWGLGETPROCADDRESSPROC_PRIVATE) tmp;
92 return gladGetProcAddressPtr != NULL;
93 }
94 #endif
95
96 return 0;
97 }
98
99 static
100 void close_gl(void) {
101 if(libGL != NULL) {
102 FreeLibrary((HMODULE) libGL);
103 libGL = NULL;
104 }
105 }
106 #else
107 #include <dlfcn.h>
108 static void* libGL;
109
110 #if !defined(__APPLE__) && !defined(__HAIKU__)
111 typedef void* (APIENTRYP PFNGLXGETPROCADDRESSPROC_PRIVATE)(const char*);
112 static PFNGLXGETPROCADDRESSPROC_PRIVATE gladGetProcAddressPtr;
113 #endif
114
115 static
116 int open_gl(void) {
117 #ifdef __APPLE__
118 static const char *NAMES[] = {
119 "../Frameworks/OpenGL.framework/OpenGL",
120 "/Library/Frameworks/OpenGL.framework/OpenGL",
121 "/System/Library/Frameworks/OpenGL.framework/OpenGL",
122 "/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL"
123 };
124 #else
125 static const char *NAMES[] = {"libGL.so.1", "libGL.so"};
126 #endif
127
128 unsigned int index = 0;
129 for(index = 0; index < (sizeof(NAMES) / sizeof(NAMES[0])); index++) {
130 libGL = dlopen(NAMES[index], RTLD_NOW | RTLD_GLOBAL);
131
132 if(libGL != NULL) {
133 #if defined(__APPLE__) || defined(__HAIKU__)
134 return 1;
135 #else
136 gladGetProcAddressPtr = (PFNGLXGETPROCADDRESSPROC_PRIVATE)dlsym(libGL,
137 "glXGetProcAddressARB");
138 return gladGetProcAddressPtr != NULL;
139 #endif
140 }
141 }
142
143 return 0;
144 }
145
146 static
147 void close_gl(void) {
148 if(libGL != NULL) {
149 dlclose(libGL);
150 libGL = NULL;
151 }
152 }
153 #endif
154
155 static
156 void* get_proc(const char *namez) {
157 void* result = NULL;
158 if(libGL == NULL) return NULL;
159
160 #if !defined(__APPLE__) && !defined(__HAIKU__)
161 if(gladGetProcAddressPtr != NULL) {
162 result = gladGetProcAddressPtr(namez);
163 }
164 #endif
165 if(result == NULL) {
166 #if defined(_WIN32) || defined(__CYGWIN__)
167 result = (void*)GetProcAddress((HMODULE) libGL, namez);
168 #else
169 result = dlsym(libGL, namez);
170 #endif
171 }
172
173 return result;
174 }
175
176 int gladLoadGL(void) {
177 int status = 0;
178
179 if(open_gl()) {
180 status = gladLoadGLLoader(&get_proc);
181 close_gl();
182 }
183
184 return status;
185 }
186
187 struct gladGLversionStruct GLVersion = { 0, 0 };
188
189 #if defined(GL_ES_VERSION_3_0) || defined(GL_VERSION_3_0)
190 #define _GLAD_IS_SOME_NEW_VERSION 1
191 #endif
192
193 static int max_loaded_major;
194 static int max_loaded_minor;
195
196 static const char *exts = NULL;
197 static int num_exts_i = 0;
198 static char **exts_i = NULL;
199
200 static int get_exts(void) {
201 #ifdef _GLAD_IS_SOME_NEW_VERSION
202 if(max_loaded_major < 3) {
203 #endif
204 exts = (const char *)glGetString(GL_EXTENSIONS);
205 #ifdef _GLAD_IS_SOME_NEW_VERSION
206 } else {
207 unsigned int index;
208
209 num_exts_i = 0;
210 glGetIntegerv(GL_NUM_EXTENSIONS, &num_exts_i);
211 if (num_exts_i > 0) {
212 exts_i = (char **)malloc((size_t)num_exts_i * (sizeof *exts_i));
213 }
214
215 if (exts_i == NULL) {
216 return 0;
217 }
218
219 for(index = 0; index < (unsigned)num_exts_i; index++) {
220 const char *gl_str_tmp = (const char*)glGetStringi(GL_EXTENSIONS, index);
221 size_t len = strlen(gl_str_tmp);
222
223 char *local_str = (char*)malloc((len+1) * sizeof(char));
224 if(local_str != NULL) {
225 memcpy(local_str, gl_str_tmp, (len+1) * sizeof(char));
226 }
227 exts_i[index] = local_str;
228 }
229 }
230 #endif
231 return 1;
232 }
233
234 static void free_exts(void) {
235 if (exts_i != NULL) {
236 int index;
237 for(index = 0; index < num_exts_i; index++) {
238 free((char *)exts_i[index]);
239 }
240 free((void *)exts_i);
241 exts_i = NULL;
242 }
243 }
244
245 static int has_ext(const char *ext) {
246 #ifdef _GLAD_IS_SOME_NEW_VERSION
247 if(max_loaded_major < 3) {
248 #endif
249 const char *extensions;
250 const char *loc;
251 const char *terminator;
252 extensions = exts;
253 if(extensions == NULL || ext == NULL) {
254 return 0;
255 }
256
257 while(1) {
258 loc = strstr(extensions, ext);
259 if(loc == NULL) {
260 return 0;
261 }
262
263 terminator = loc + strlen(ext);
264 if((loc == extensions || *(loc - 1) == ' ') &&
265 (*terminator == ' ' || *terminator == '\0')) {
266 return 1;
267 }
268 extensions = terminator;
269 }
270 #ifdef _GLAD_IS_SOME_NEW_VERSION
271 } else {
272 int index;
273 if(exts_i == NULL) return 0;
274 for(index = 0; index < num_exts_i; index++) {
275 const char *e = exts_i[index];
276
277 if(exts_i[index] != NULL && strcmp(e, ext) == 0) {
278 return 1;
279 }
280 }
281 }
282 #endif
283
284 return 0;
285 }
286 int GLAD_GL_VERSION_1_0 = 0;
287 int GLAD_GL_VERSION_1_1 = 0;
288 int GLAD_GL_VERSION_1_2 = 0;
289 int GLAD_GL_VERSION_1_3 = 0;
290 int GLAD_GL_VERSION_1_4 = 0;
291 int GLAD_GL_VERSION_1_5 = 0;
292 int GLAD_GL_VERSION_2_0 = 0;
293 int GLAD_GL_VERSION_2_1 = 0;
294 int GLAD_GL_VERSION_3_0 = 0;
295 int GLAD_GL_VERSION_3_1 = 0;
296 int GLAD_GL_VERSION_3_2 = 0;
297 int GLAD_GL_VERSION_3_3 = 0;
298 PFNGLACTIVETEXTUREPROC glad_glActiveTexture;
299 void APIENTRY glad_debug_impl_glActiveTexture(GLenum arg0) {
300 _pre_call_callback("glActiveTexture", (void*)glActiveTexture, 1, arg0);
301 glad_glActiveTexture(arg0);
302 _post_call_callback("glActiveTexture", (void*)glActiveTexture, 1, arg0);
303
304 }
305 PFNGLACTIVETEXTUREPROC glad_debug_glActiveTexture = glad_debug_impl_glActiveTexture;
306 PFNGLATTACHSHADERPROC glad_glAttachShader;
307 void APIENTRY glad_debug_impl_glAttachShader(GLuint arg0, GLuint arg1) {
308 _pre_call_callback("glAttachShader", (void*)glAttachShader, 2, arg0, arg1);
309 glad_glAttachShader(arg0, arg1);
310 _post_call_callback("glAttachShader", (void*)glAttachShader, 2, arg0, arg1);
311
312 }
313 PFNGLATTACHSHADERPROC glad_debug_glAttachShader = glad_debug_impl_glAttachShader;
314 PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender;
315 void APIENTRY glad_debug_impl_glBeginConditionalRender(GLuint arg0, GLenum arg1) {
316 _pre_call_callback("glBeginConditionalRender", (void*)glBeginConditionalRender, 2, arg0, arg1);
317 glad_glBeginConditionalRender(arg0, arg1);
318 _post_call_callback("glBeginConditionalRender", (void*)glBeginConditionalRender, 2, arg0, arg1);
319
320 }
321 PFNGLBEGINCONDITIONALRENDERPROC glad_debug_glBeginConditionalRender = glad_debug_impl_glBeginConditionalRender;
322 PFNGLBEGINQUERYPROC glad_glBeginQuery;
323 void APIENTRY glad_debug_impl_glBeginQuery(GLenum arg0, GLuint arg1) {
324 _pre_call_callback("glBeginQuery", (void*)glBeginQuery, 2, arg0, arg1);
325 glad_glBeginQuery(arg0, arg1);
326 _post_call_callback("glBeginQuery", (void*)glBeginQuery, 2, arg0, arg1);
327
328 }
329 PFNGLBEGINQUERYPROC glad_debug_glBeginQuery = glad_debug_impl_glBeginQuery;
330 PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback;
331 void APIENTRY glad_debug_impl_glBeginTransformFeedback(GLenum arg0) {
332 _pre_call_callback("glBeginTransformFeedback", (void*)glBeginTransformFeedback, 1, arg0);
333 glad_glBeginTransformFeedback(arg0);
334 _post_call_callback("glBeginTransformFeedback", (void*)glBeginTransformFeedback, 1, arg0);
335
336 }
337 PFNGLBEGINTRANSFORMFEEDBACKPROC glad_debug_glBeginTransformFeedback = glad_debug_impl_glBeginTransformFeedback;
338 PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation;
339 void APIENTRY glad_debug_impl_glBindAttribLocation(GLuint arg0, GLuint arg1, const GLchar * arg2) {
340 _pre_call_callback("glBindAttribLocation", (void*)glBindAttribLocation, 3, arg0, arg1, arg2);
341 glad_glBindAttribLocation(arg0, arg1, arg2);
342 _post_call_callback("glBindAttribLocation", (void*)glBindAttribLocation, 3, arg0, arg1, arg2);
343
344 }
345 PFNGLBINDATTRIBLOCATIONPROC glad_debug_glBindAttribLocation = glad_debug_impl_glBindAttribLocation;
346 PFNGLBINDBUFFERPROC glad_glBindBuffer;
347 void APIENTRY glad_debug_impl_glBindBuffer(GLenum arg0, GLuint arg1) {
348 _pre_call_callback("glBindBuffer", (void*)glBindBuffer, 2, arg0, arg1);
349 glad_glBindBuffer(arg0, arg1);
350 _post_call_callback("glBindBuffer", (void*)glBindBuffer, 2, arg0, arg1);
351
352 }
353 PFNGLBINDBUFFERPROC glad_debug_glBindBuffer = glad_debug_impl_glBindBuffer;
354 PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase;
355 void APIENTRY glad_debug_impl_glBindBufferBase(GLenum arg0, GLuint arg1, GLuint arg2) {
356 _pre_call_callback("glBindBufferBase", (void*)glBindBufferBase, 3, arg0, arg1, arg2);
357 glad_glBindBufferBase(arg0, arg1, arg2);
358 _post_call_callback("glBindBufferBase", (void*)glBindBufferBase, 3, arg0, arg1, arg2);
359
360 }
361 PFNGLBINDBUFFERBASEPROC glad_debug_glBindBufferBase = glad_debug_impl_glBindBufferBase;
362 PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange;
363 void APIENTRY glad_debug_impl_glBindBufferRange(GLenum arg0, GLuint arg1, GLuint arg2, GLintptr arg3, GLsizeiptr arg4) {
364 _pre_call_callback("glBindBufferRange", (void*)glBindBufferRange, 5, arg0, arg1, arg2, arg3, arg4);
365 glad_glBindBufferRange(arg0, arg1, arg2, arg3, arg4);
366 _post_call_callback("glBindBufferRange", (void*)glBindBufferRange, 5, arg0, arg1, arg2, arg3, arg4);
367
368 }
369 PFNGLBINDBUFFERRANGEPROC glad_debug_glBindBufferRange = glad_debug_impl_glBindBufferRange;
370 PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation;
371 void APIENTRY glad_debug_impl_glBindFragDataLocation(GLuint arg0, GLuint arg1, const GLchar * arg2) {
372 _pre_call_callback("glBindFragDataLocation", (void*)glBindFragDataLocation, 3, arg0, arg1, arg2);
373 glad_glBindFragDataLocation(arg0, arg1, arg2);
374 _post_call_callback("glBindFragDataLocation", (void*)glBindFragDataLocation, 3, arg0, arg1, arg2);
375
376 }
377 PFNGLBINDFRAGDATALOCATIONPROC glad_debug_glBindFragDataLocation = glad_debug_impl_glBindFragDataLocation;
378 PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed;
379 void APIENTRY glad_debug_impl_glBindFragDataLocationIndexed(GLuint arg0, GLuint arg1, GLuint arg2, const GLchar * arg3) {
380 _pre_call_callback("glBindFragDataLocationIndexed", (void*)glBindFragDataLocationIndexed, 4, arg0, arg1, arg2, arg3);
381 glad_glBindFragDataLocationIndexed(arg0, arg1, arg2, arg3);
382 _post_call_callback("glBindFragDataLocationIndexed", (void*)glBindFragDataLocationIndexed, 4, arg0, arg1, arg2, arg3);
383
384 }
385 PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_debug_glBindFragDataLocationIndexed = glad_debug_impl_glBindFragDataLocationIndexed;
386 PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer;
387 void APIENTRY glad_debug_impl_glBindFramebuffer(GLenum arg0, GLuint arg1) {
388 _pre_call_callback("glBindFramebuffer", (void*)glBindFramebuffer, 2, arg0, arg1);
389 glad_glBindFramebuffer(arg0, arg1);
390 _post_call_callback("glBindFramebuffer", (void*)glBindFramebuffer, 2, arg0, arg1);
391
392 }
393 PFNGLBINDFRAMEBUFFERPROC glad_debug_glBindFramebuffer = glad_debug_impl_glBindFramebuffer;
394 PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer;
395 void APIENTRY glad_debug_impl_glBindRenderbuffer(GLenum arg0, GLuint arg1) {
396 _pre_call_callback("glBindRenderbuffer", (void*)glBindRenderbuffer, 2, arg0, arg1);
397 glad_glBindRenderbuffer(arg0, arg1);
398 _post_call_callback("glBindRenderbuffer", (void*)glBindRenderbuffer, 2, arg0, arg1);
399
400 }
401 PFNGLBINDRENDERBUFFERPROC glad_debug_glBindRenderbuffer = glad_debug_impl_glBindRenderbuffer;
402 PFNGLBINDSAMPLERPROC glad_glBindSampler;
403 void APIENTRY glad_debug_impl_glBindSampler(GLuint arg0, GLuint arg1) {
404 _pre_call_callback("glBindSampler", (void*)glBindSampler, 2, arg0, arg1);
405 glad_glBindSampler(arg0, arg1);
406 _post_call_callback("glBindSampler", (void*)glBindSampler, 2, arg0, arg1);
407
408 }
409 PFNGLBINDSAMPLERPROC glad_debug_glBindSampler = glad_debug_impl_glBindSampler;
410 PFNGLBINDTEXTUREPROC glad_glBindTexture;
411 void APIENTRY glad_debug_impl_glBindTexture(GLenum arg0, GLuint arg1) {
412 _pre_call_callback("glBindTexture", (void*)glBindTexture, 2, arg0, arg1);
413 glad_glBindTexture(arg0, arg1);
414 _post_call_callback("glBindTexture", (void*)glBindTexture, 2, arg0, arg1);
415
416 }
417 PFNGLBINDTEXTUREPROC glad_debug_glBindTexture = glad_debug_impl_glBindTexture;
418 PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray;
419 void APIENTRY glad_debug_impl_glBindVertexArray(GLuint arg0) {
420 _pre_call_callback("glBindVertexArray", (void*)glBindVertexArray, 1, arg0);
421 glad_glBindVertexArray(arg0);
422 _post_call_callback("glBindVertexArray", (void*)glBindVertexArray, 1, arg0);
423
424 }
425 PFNGLBINDVERTEXARRAYPROC glad_debug_glBindVertexArray = glad_debug_impl_glBindVertexArray;
426 PFNGLBLENDCOLORPROC glad_glBlendColor;
427 void APIENTRY glad_debug_impl_glBlendColor(GLfloat arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3) {
428 _pre_call_callback("glBlendColor", (void*)glBlendColor, 4, arg0, arg1, arg2, arg3);
429 glad_glBlendColor(arg0, arg1, arg2, arg3);
430 _post_call_callback("glBlendColor", (void*)glBlendColor, 4, arg0, arg1, arg2, arg3);
431
432 }
433 PFNGLBLENDCOLORPROC glad_debug_glBlendColor = glad_debug_impl_glBlendColor;
434 PFNGLBLENDEQUATIONPROC glad_glBlendEquation;
435 void APIENTRY glad_debug_impl_glBlendEquation(GLenum arg0) {
436 _pre_call_callback("glBlendEquation", (void*)glBlendEquation, 1, arg0);
437 glad_glBlendEquation(arg0);
438 _post_call_callback("glBlendEquation", (void*)glBlendEquation, 1, arg0);
439
440 }
441 PFNGLBLENDEQUATIONPROC glad_debug_glBlendEquation = glad_debug_impl_glBlendEquation;
442 PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate;
443 void APIENTRY glad_debug_impl_glBlendEquationSeparate(GLenum arg0, GLenum arg1) {
444 _pre_call_callback("glBlendEquationSeparate", (void*)glBlendEquationSeparate, 2, arg0, arg1);
445 glad_glBlendEquationSeparate(arg0, arg1);
446 _post_call_callback("glBlendEquationSeparate", (void*)glBlendEquationSeparate, 2, arg0, arg1);
447
448 }
449 PFNGLBLENDEQUATIONSEPARATEPROC glad_debug_glBlendEquationSeparate = glad_debug_impl_glBlendEquationSeparate;
450 PFNGLBLENDFUNCPROC glad_glBlendFunc;
451 void APIENTRY glad_debug_impl_glBlendFunc(GLenum arg0, GLenum arg1) {
452 _pre_call_callback("glBlendFunc", (void*)glBlendFunc, 2, arg0, arg1);
453 glad_glBlendFunc(arg0, arg1);
454 _post_call_callback("glBlendFunc", (void*)glBlendFunc, 2, arg0, arg1);
455
456 }
457 PFNGLBLENDFUNCPROC glad_debug_glBlendFunc = glad_debug_impl_glBlendFunc;
458 PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate;
459 void APIENTRY glad_debug_impl_glBlendFuncSeparate(GLenum arg0, GLenum arg1, GLenum arg2, GLenum arg3) {
460 _pre_call_callback("glBlendFuncSeparate", (void*)glBlendFuncSeparate, 4, arg0, arg1, arg2, arg3);
461 glad_glBlendFuncSeparate(arg0, arg1, arg2, arg3);
462 _post_call_callback("glBlendFuncSeparate", (void*)glBlendFuncSeparate, 4, arg0, arg1, arg2, arg3);
463
464 }
465 PFNGLBLENDFUNCSEPARATEPROC glad_debug_glBlendFuncSeparate = glad_debug_impl_glBlendFuncSeparate;
466 PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer;
467 void APIENTRY glad_debug_impl_glBlitFramebuffer(GLint arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLint arg5, GLint arg6, GLint arg7, GLbitfield arg8, GLenum arg9) {
468 _pre_call_callback("glBlitFramebuffer", (void*)glBlitFramebuffer, 10, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
469 glad_glBlitFramebuffer(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
470 _post_call_callback("glBlitFramebuffer", (void*)glBlitFramebuffer, 10, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
471
472 }
473 PFNGLBLITFRAMEBUFFERPROC glad_debug_glBlitFramebuffer = glad_debug_impl_glBlitFramebuffer;
474 PFNGLBUFFERDATAPROC glad_glBufferData;
475 void APIENTRY glad_debug_impl_glBufferData(GLenum arg0, GLsizeiptr arg1, const void * arg2, GLenum arg3) {
476 _pre_call_callback("glBufferData", (void*)glBufferData, 4, arg0, arg1, arg2, arg3);
477 glad_glBufferData(arg0, arg1, arg2, arg3);
478 _post_call_callback("glBufferData", (void*)glBufferData, 4, arg0, arg1, arg2, arg3);
479
480 }
481 PFNGLBUFFERDATAPROC glad_debug_glBufferData = glad_debug_impl_glBufferData;
482 PFNGLBUFFERSUBDATAPROC glad_glBufferSubData;
483 void APIENTRY glad_debug_impl_glBufferSubData(GLenum arg0, GLintptr arg1, GLsizeiptr arg2, const void * arg3) {
484 _pre_call_callback("glBufferSubData", (void*)glBufferSubData, 4, arg0, arg1, arg2, arg3);
485 glad_glBufferSubData(arg0, arg1, arg2, arg3);
486 _post_call_callback("glBufferSubData", (void*)glBufferSubData, 4, arg0, arg1, arg2, arg3);
487
488 }
489 PFNGLBUFFERSUBDATAPROC glad_debug_glBufferSubData = glad_debug_impl_glBufferSubData;
490 PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus;
491 GLenum APIENTRY glad_debug_impl_glCheckFramebufferStatus(GLenum arg0) {
492 GLenum ret;
493 _pre_call_callback("glCheckFramebufferStatus", (void*)glCheckFramebufferStatus, 1, arg0);
494 ret = glad_glCheckFramebufferStatus(arg0);
495 _post_call_callback("glCheckFramebufferStatus", (void*)glCheckFramebufferStatus, 1, arg0);
496 return ret;
497 }
498 PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_debug_glCheckFramebufferStatus = glad_debug_impl_glCheckFramebufferStatus;
499 PFNGLCLAMPCOLORPROC glad_glClampColor;
500 void APIENTRY glad_debug_impl_glClampColor(GLenum arg0, GLenum arg1) {
501 _pre_call_callback("glClampColor", (void*)glClampColor, 2, arg0, arg1);
502 glad_glClampColor(arg0, arg1);
503 _post_call_callback("glClampColor", (void*)glClampColor, 2, arg0, arg1);
504
505 }
506 PFNGLCLAMPCOLORPROC glad_debug_glClampColor = glad_debug_impl_glClampColor;
507 PFNGLCLEARPROC glad_glClear;
508 void APIENTRY glad_debug_impl_glClear(GLbitfield arg0) {
509 _pre_call_callback("glClear", (void*)glClear, 1, arg0);
510 glad_glClear(arg0);
511 _post_call_callback("glClear", (void*)glClear, 1, arg0);
512
513 }
514 PFNGLCLEARPROC glad_debug_glClear = glad_debug_impl_glClear;
515 PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi;
516 void APIENTRY glad_debug_impl_glClearBufferfi(GLenum arg0, GLint arg1, GLfloat arg2, GLint arg3) {
517 _pre_call_callback("glClearBufferfi", (void*)glClearBufferfi, 4, arg0, arg1, arg2, arg3);
518 glad_glClearBufferfi(arg0, arg1, arg2, arg3);
519 _post_call_callback("glClearBufferfi", (void*)glClearBufferfi, 4, arg0, arg1, arg2, arg3);
520
521 }
522 PFNGLCLEARBUFFERFIPROC glad_debug_glClearBufferfi = glad_debug_impl_glClearBufferfi;
523 PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv;
524 void APIENTRY glad_debug_impl_glClearBufferfv(GLenum arg0, GLint arg1, const GLfloat * arg2) {
525 _pre_call_callback("glClearBufferfv", (void*)glClearBufferfv, 3, arg0, arg1, arg2);
526 glad_glClearBufferfv(arg0, arg1, arg2);
527 _post_call_callback("glClearBufferfv", (void*)glClearBufferfv, 3, arg0, arg1, arg2);
528
529 }
530 PFNGLCLEARBUFFERFVPROC glad_debug_glClearBufferfv = glad_debug_impl_glClearBufferfv;
531 PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv;
532 void APIENTRY glad_debug_impl_glClearBufferiv(GLenum arg0, GLint arg1, const GLint * arg2) {
533 _pre_call_callback("glClearBufferiv", (void*)glClearBufferiv, 3, arg0, arg1, arg2);
534 glad_glClearBufferiv(arg0, arg1, arg2);
535 _post_call_callback("glClearBufferiv", (void*)glClearBufferiv, 3, arg0, arg1, arg2);
536
537 }
538 PFNGLCLEARBUFFERIVPROC glad_debug_glClearBufferiv = glad_debug_impl_glClearBufferiv;
539 PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv;
540 void APIENTRY glad_debug_impl_glClearBufferuiv(GLenum arg0, GLint arg1, const GLuint * arg2) {
541 _pre_call_callback("glClearBufferuiv", (void*)glClearBufferuiv, 3, arg0, arg1, arg2);
542 glad_glClearBufferuiv(arg0, arg1, arg2);
543 _post_call_callback("glClearBufferuiv", (void*)glClearBufferuiv, 3, arg0, arg1, arg2);
544
545 }
546 PFNGLCLEARBUFFERUIVPROC glad_debug_glClearBufferuiv = glad_debug_impl_glClearBufferuiv;
547 PFNGLCLEARCOLORPROC glad_glClearColor;
548 void APIENTRY glad_debug_impl_glClearColor(GLfloat arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3) {
549 _pre_call_callback("glClearColor", (void*)glClearColor, 4, arg0, arg1, arg2, arg3);
550 glad_glClearColor(arg0, arg1, arg2, arg3);
551 _post_call_callback("glClearColor", (void*)glClearColor, 4, arg0, arg1, arg2, arg3);
552
553 }
554 PFNGLCLEARCOLORPROC glad_debug_glClearColor = glad_debug_impl_glClearColor;
555 PFNGLCLEARDEPTHPROC glad_glClearDepth;
556 void APIENTRY glad_debug_impl_glClearDepth(GLdouble arg0) {
557 _pre_call_callback("glClearDepth", (void*)glClearDepth, 1, arg0);
558 glad_glClearDepth(arg0);
559 _post_call_callback("glClearDepth", (void*)glClearDepth, 1, arg0);
560
561 }
562 PFNGLCLEARDEPTHPROC glad_debug_glClearDepth = glad_debug_impl_glClearDepth;
563 PFNGLCLEARSTENCILPROC glad_glClearStencil;
564 void APIENTRY glad_debug_impl_glClearStencil(GLint arg0) {
565 _pre_call_callback("glClearStencil", (void*)glClearStencil, 1, arg0);
566 glad_glClearStencil(arg0);
567 _post_call_callback("glClearStencil", (void*)glClearStencil, 1, arg0);
568
569 }
570 PFNGLCLEARSTENCILPROC glad_debug_glClearStencil = glad_debug_impl_glClearStencil;
571 PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync;
572 GLenum APIENTRY glad_debug_impl_glClientWaitSync(GLsync arg0, GLbitfield arg1, GLuint64 arg2) {
573 GLenum ret;
574 _pre_call_callback("glClientWaitSync", (void*)glClientWaitSync, 3, arg0, arg1, arg2);
575 ret = glad_glClientWaitSync(arg0, arg1, arg2);
576 _post_call_callback("glClientWaitSync", (void*)glClientWaitSync, 3, arg0, arg1, arg2);
577 return ret;
578 }
579 PFNGLCLIENTWAITSYNCPROC glad_debug_glClientWaitSync = glad_debug_impl_glClientWaitSync;
580 PFNGLCOLORMASKPROC glad_glColorMask;
581 void APIENTRY glad_debug_impl_glColorMask(GLboolean arg0, GLboolean arg1, GLboolean arg2, GLboolean arg3) {
582 _pre_call_callback("glColorMask", (void*)glColorMask, 4, arg0, arg1, arg2, arg3);
583 glad_glColorMask(arg0, arg1, arg2, arg3);
584 _post_call_callback("glColorMask", (void*)glColorMask, 4, arg0, arg1, arg2, arg3);
585
586 }
587 PFNGLCOLORMASKPROC glad_debug_glColorMask = glad_debug_impl_glColorMask;
588 PFNGLCOLORMASKIPROC glad_glColorMaski;
589 void APIENTRY glad_debug_impl_glColorMaski(GLuint arg0, GLboolean arg1, GLboolean arg2, GLboolean arg3, GLboolean arg4) {
590 _pre_call_callback("glColorMaski", (void*)glColorMaski, 5, arg0, arg1, arg2, arg3, arg4);
591 glad_glColorMaski(arg0, arg1, arg2, arg3, arg4);
592 _post_call_callback("glColorMaski", (void*)glColorMaski, 5, arg0, arg1, arg2, arg3, arg4);
593
594 }
595 PFNGLCOLORMASKIPROC glad_debug_glColorMaski = glad_debug_impl_glColorMaski;
596 PFNGLCOLORP3UIPROC glad_glColorP3ui;
597 void APIENTRY glad_debug_impl_glColorP3ui(GLenum arg0, GLuint arg1) {
598 _pre_call_callback("glColorP3ui", (void*)glColorP3ui, 2, arg0, arg1);
599 glad_glColorP3ui(arg0, arg1);
600 _post_call_callback("glColorP3ui", (void*)glColorP3ui, 2, arg0, arg1);
601
602 }
603 PFNGLCOLORP3UIPROC glad_debug_glColorP3ui = glad_debug_impl_glColorP3ui;
604 PFNGLCOLORP3UIVPROC glad_glColorP3uiv;
605 void APIENTRY glad_debug_impl_glColorP3uiv(GLenum arg0, const GLuint * arg1) {
606 _pre_call_callback("glColorP3uiv", (void*)glColorP3uiv, 2, arg0, arg1);
607 glad_glColorP3uiv(arg0, arg1);
608 _post_call_callback("glColorP3uiv", (void*)glColorP3uiv, 2, arg0, arg1);
609
610 }
611 PFNGLCOLORP3UIVPROC glad_debug_glColorP3uiv = glad_debug_impl_glColorP3uiv;
612 PFNGLCOLORP4UIPROC glad_glColorP4ui;
613 void APIENTRY glad_debug_impl_glColorP4ui(GLenum arg0, GLuint arg1) {
614 _pre_call_callback("glColorP4ui", (void*)glColorP4ui, 2, arg0, arg1);
615 glad_glColorP4ui(arg0, arg1);
616 _post_call_callback("glColorP4ui", (void*)glColorP4ui, 2, arg0, arg1);
617
618 }
619 PFNGLCOLORP4UIPROC glad_debug_glColorP4ui = glad_debug_impl_glColorP4ui;
620 PFNGLCOLORP4UIVPROC glad_glColorP4uiv;
621 void APIENTRY glad_debug_impl_glColorP4uiv(GLenum arg0, const GLuint * arg1) {
622 _pre_call_callback("glColorP4uiv", (void*)glColorP4uiv, 2, arg0, arg1);
623 glad_glColorP4uiv(arg0, arg1);
624 _post_call_callback("glColorP4uiv", (void*)glColorP4uiv, 2, arg0, arg1);
625
626 }
627 PFNGLCOLORP4UIVPROC glad_debug_glColorP4uiv = glad_debug_impl_glColorP4uiv;
628 PFNGLCOMPILESHADERPROC glad_glCompileShader;
629 void APIENTRY glad_debug_impl_glCompileShader(GLuint arg0) {
630 _pre_call_callback("glCompileShader", (void*)glCompileShader, 1, arg0);
631 glad_glCompileShader(arg0);
632 _post_call_callback("glCompileShader", (void*)glCompileShader, 1, arg0);
633
634 }
635 PFNGLCOMPILESHADERPROC glad_debug_glCompileShader = glad_debug_impl_glCompileShader;
636 PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D;
637 void APIENTRY glad_debug_impl_glCompressedTexImage1D(GLenum arg0, GLint arg1, GLenum arg2, GLsizei arg3, GLint arg4, GLsizei arg5, const void * arg6) {
638 _pre_call_callback("glCompressedTexImage1D", (void*)glCompressedTexImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
639 glad_glCompressedTexImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
640 _post_call_callback("glCompressedTexImage1D", (void*)glCompressedTexImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
641
642 }
643 PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_debug_glCompressedTexImage1D = glad_debug_impl_glCompressedTexImage1D;
644 PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D;
645 void APIENTRY glad_debug_impl_glCompressedTexImage2D(GLenum arg0, GLint arg1, GLenum arg2, GLsizei arg3, GLsizei arg4, GLint arg5, GLsizei arg6, const void * arg7) {
646 _pre_call_callback("glCompressedTexImage2D", (void*)glCompressedTexImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
647 glad_glCompressedTexImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
648 _post_call_callback("glCompressedTexImage2D", (void*)glCompressedTexImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
649
650 }
651 PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_debug_glCompressedTexImage2D = glad_debug_impl_glCompressedTexImage2D;
652 PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D;
653 void APIENTRY glad_debug_impl_glCompressedTexImage3D(GLenum arg0, GLint arg1, GLenum arg2, GLsizei arg3, GLsizei arg4, GLsizei arg5, GLint arg6, GLsizei arg7, const void * arg8) {
654 _pre_call_callback("glCompressedTexImage3D", (void*)glCompressedTexImage3D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
655 glad_glCompressedTexImage3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
656 _post_call_callback("glCompressedTexImage3D", (void*)glCompressedTexImage3D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
657
658 }
659 PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_debug_glCompressedTexImage3D = glad_debug_impl_glCompressedTexImage3D;
660 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D;
661 void APIENTRY glad_debug_impl_glCompressedTexSubImage1D(GLenum arg0, GLint arg1, GLint arg2, GLsizei arg3, GLenum arg4, GLsizei arg5, const void * arg6) {
662 _pre_call_callback("glCompressedTexSubImage1D", (void*)glCompressedTexSubImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
663 glad_glCompressedTexSubImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
664 _post_call_callback("glCompressedTexSubImage1D", (void*)glCompressedTexSubImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
665
666 }
667 PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_debug_glCompressedTexSubImage1D = glad_debug_impl_glCompressedTexSubImage1D;
668 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D;
669 void APIENTRY glad_debug_impl_glCompressedTexSubImage2D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLsizei arg4, GLsizei arg5, GLenum arg6, GLsizei arg7, const void * arg8) {
670 _pre_call_callback("glCompressedTexSubImage2D", (void*)glCompressedTexSubImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
671 glad_glCompressedTexSubImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
672 _post_call_callback("glCompressedTexSubImage2D", (void*)glCompressedTexSubImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
673
674 }
675 PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_debug_glCompressedTexSubImage2D = glad_debug_impl_glCompressedTexSubImage2D;
676 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D;
677 void APIENTRY glad_debug_impl_glCompressedTexSubImage3D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLsizei arg5, GLsizei arg6, GLsizei arg7, GLenum arg8, GLsizei arg9, const void * arg10) {
678 _pre_call_callback("glCompressedTexSubImage3D", (void*)glCompressedTexSubImage3D, 11, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
679 glad_glCompressedTexSubImage3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
680 _post_call_callback("glCompressedTexSubImage3D", (void*)glCompressedTexSubImage3D, 11, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
681
682 }
683 PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_debug_glCompressedTexSubImage3D = glad_debug_impl_glCompressedTexSubImage3D;
684 PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData;
685 void APIENTRY glad_debug_impl_glCopyBufferSubData(GLenum arg0, GLenum arg1, GLintptr arg2, GLintptr arg3, GLsizeiptr arg4) {
686 _pre_call_callback("glCopyBufferSubData", (void*)glCopyBufferSubData, 5, arg0, arg1, arg2, arg3, arg4);
687 glad_glCopyBufferSubData(arg0, arg1, arg2, arg3, arg4);
688 _post_call_callback("glCopyBufferSubData", (void*)glCopyBufferSubData, 5, arg0, arg1, arg2, arg3, arg4);
689
690 }
691 PFNGLCOPYBUFFERSUBDATAPROC glad_debug_glCopyBufferSubData = glad_debug_impl_glCopyBufferSubData;
692 PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D;
693 void APIENTRY glad_debug_impl_glCopyTexImage1D(GLenum arg0, GLint arg1, GLenum arg2, GLint arg3, GLint arg4, GLsizei arg5, GLint arg6) {
694 _pre_call_callback("glCopyTexImage1D", (void*)glCopyTexImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
695 glad_glCopyTexImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
696 _post_call_callback("glCopyTexImage1D", (void*)glCopyTexImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
697
698 }
699 PFNGLCOPYTEXIMAGE1DPROC glad_debug_glCopyTexImage1D = glad_debug_impl_glCopyTexImage1D;
700 PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D;
701 void APIENTRY glad_debug_impl_glCopyTexImage2D(GLenum arg0, GLint arg1, GLenum arg2, GLint arg3, GLint arg4, GLsizei arg5, GLsizei arg6, GLint arg7) {
702 _pre_call_callback("glCopyTexImage2D", (void*)glCopyTexImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
703 glad_glCopyTexImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
704 _post_call_callback("glCopyTexImage2D", (void*)glCopyTexImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
705
706 }
707 PFNGLCOPYTEXIMAGE2DPROC glad_debug_glCopyTexImage2D = glad_debug_impl_glCopyTexImage2D;
708 PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D;
709 void APIENTRY glad_debug_impl_glCopyTexSubImage1D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLsizei arg5) {
710 _pre_call_callback("glCopyTexSubImage1D", (void*)glCopyTexSubImage1D, 6, arg0, arg1, arg2, arg3, arg4, arg5);
711 glad_glCopyTexSubImage1D(arg0, arg1, arg2, arg3, arg4, arg5);
712 _post_call_callback("glCopyTexSubImage1D", (void*)glCopyTexSubImage1D, 6, arg0, arg1, arg2, arg3, arg4, arg5);
713
714 }
715 PFNGLCOPYTEXSUBIMAGE1DPROC glad_debug_glCopyTexSubImage1D = glad_debug_impl_glCopyTexSubImage1D;
716 PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D;
717 void APIENTRY glad_debug_impl_glCopyTexSubImage2D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLint arg5, GLsizei arg6, GLsizei arg7) {
718 _pre_call_callback("glCopyTexSubImage2D", (void*)glCopyTexSubImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
719 glad_glCopyTexSubImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
720 _post_call_callback("glCopyTexSubImage2D", (void*)glCopyTexSubImage2D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
721
722 }
723 PFNGLCOPYTEXSUBIMAGE2DPROC glad_debug_glCopyTexSubImage2D = glad_debug_impl_glCopyTexSubImage2D;
724 PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D;
725 void APIENTRY glad_debug_impl_glCopyTexSubImage3D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLint arg5, GLint arg6, GLsizei arg7, GLsizei arg8) {
726 _pre_call_callback("glCopyTexSubImage3D", (void*)glCopyTexSubImage3D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
727 glad_glCopyTexSubImage3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
728 _post_call_callback("glCopyTexSubImage3D", (void*)glCopyTexSubImage3D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
729
730 }
731 PFNGLCOPYTEXSUBIMAGE3DPROC glad_debug_glCopyTexSubImage3D = glad_debug_impl_glCopyTexSubImage3D;
732 PFNGLCREATEPROGRAMPROC glad_glCreateProgram;
733 GLuint APIENTRY glad_debug_impl_glCreateProgram(void) {
734 GLuint ret;
735 _pre_call_callback("glCreateProgram", (void*)glCreateProgram, 0);
736 ret = glad_glCreateProgram();
737 _post_call_callback("glCreateProgram", (void*)glCreateProgram, 0);
738 return ret;
739 }
740 PFNGLCREATEPROGRAMPROC glad_debug_glCreateProgram = glad_debug_impl_glCreateProgram;
741 PFNGLCREATESHADERPROC glad_glCreateShader;
742 GLuint APIENTRY glad_debug_impl_glCreateShader(GLenum arg0) {
743 GLuint ret;
744 _pre_call_callback("glCreateShader", (void*)glCreateShader, 1, arg0);
745 ret = glad_glCreateShader(arg0);
746 _post_call_callback("glCreateShader", (void*)glCreateShader, 1, arg0);
747 return ret;
748 }
749 PFNGLCREATESHADERPROC glad_debug_glCreateShader = glad_debug_impl_glCreateShader;
750 PFNGLCULLFACEPROC glad_glCullFace;
751 void APIENTRY glad_debug_impl_glCullFace(GLenum arg0) {
752 _pre_call_callback("glCullFace", (void*)glCullFace, 1, arg0);
753 glad_glCullFace(arg0);
754 _post_call_callback("glCullFace", (void*)glCullFace, 1, arg0);
755
756 }
757 PFNGLCULLFACEPROC glad_debug_glCullFace = glad_debug_impl_glCullFace;
758 PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers;
759 void APIENTRY glad_debug_impl_glDeleteBuffers(GLsizei arg0, const GLuint * arg1) {
760 _pre_call_callback("glDeleteBuffers", (void*)glDeleteBuffers, 2, arg0, arg1);
761 glad_glDeleteBuffers(arg0, arg1);
762 _post_call_callback("glDeleteBuffers", (void*)glDeleteBuffers, 2, arg0, arg1);
763
764 }
765 PFNGLDELETEBUFFERSPROC glad_debug_glDeleteBuffers = glad_debug_impl_glDeleteBuffers;
766 PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers;
767 void APIENTRY glad_debug_impl_glDeleteFramebuffers(GLsizei arg0, const GLuint * arg1) {
768 _pre_call_callback("glDeleteFramebuffers", (void*)glDeleteFramebuffers, 2, arg0, arg1);
769 glad_glDeleteFramebuffers(arg0, arg1);
770 _post_call_callback("glDeleteFramebuffers", (void*)glDeleteFramebuffers, 2, arg0, arg1);
771
772 }
773 PFNGLDELETEFRAMEBUFFERSPROC glad_debug_glDeleteFramebuffers = glad_debug_impl_glDeleteFramebuffers;
774 PFNGLDELETEPROGRAMPROC glad_glDeleteProgram;
775 void APIENTRY glad_debug_impl_glDeleteProgram(GLuint arg0) {
776 _pre_call_callback("glDeleteProgram", (void*)glDeleteProgram, 1, arg0);
777 glad_glDeleteProgram(arg0);
778 _post_call_callback("glDeleteProgram", (void*)glDeleteProgram, 1, arg0);
779
780 }
781 PFNGLDELETEPROGRAMPROC glad_debug_glDeleteProgram = glad_debug_impl_glDeleteProgram;
782 PFNGLDELETEQUERIESPROC glad_glDeleteQueries;
783 void APIENTRY glad_debug_impl_glDeleteQueries(GLsizei arg0, const GLuint * arg1) {
784 _pre_call_callback("glDeleteQueries", (void*)glDeleteQueries, 2, arg0, arg1);
785 glad_glDeleteQueries(arg0, arg1);
786 _post_call_callback("glDeleteQueries", (void*)glDeleteQueries, 2, arg0, arg1);
787
788 }
789 PFNGLDELETEQUERIESPROC glad_debug_glDeleteQueries = glad_debug_impl_glDeleteQueries;
790 PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers;
791 void APIENTRY glad_debug_impl_glDeleteRenderbuffers(GLsizei arg0, const GLuint * arg1) {
792 _pre_call_callback("glDeleteRenderbuffers", (void*)glDeleteRenderbuffers, 2, arg0, arg1);
793 glad_glDeleteRenderbuffers(arg0, arg1);
794 _post_call_callback("glDeleteRenderbuffers", (void*)glDeleteRenderbuffers, 2, arg0, arg1);
795
796 }
797 PFNGLDELETERENDERBUFFERSPROC glad_debug_glDeleteRenderbuffers = glad_debug_impl_glDeleteRenderbuffers;
798 PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers;
799 void APIENTRY glad_debug_impl_glDeleteSamplers(GLsizei arg0, const GLuint * arg1) {
800 _pre_call_callback("glDeleteSamplers", (void*)glDeleteSamplers, 2, arg0, arg1);
801 glad_glDeleteSamplers(arg0, arg1);
802 _post_call_callback("glDeleteSamplers", (void*)glDeleteSamplers, 2, arg0, arg1);
803
804 }
805 PFNGLDELETESAMPLERSPROC glad_debug_glDeleteSamplers = glad_debug_impl_glDeleteSamplers;
806 PFNGLDELETESHADERPROC glad_glDeleteShader;
807 void APIENTRY glad_debug_impl_glDeleteShader(GLuint arg0) {
808 _pre_call_callback("glDeleteShader", (void*)glDeleteShader, 1, arg0);
809 glad_glDeleteShader(arg0);
810 _post_call_callback("glDeleteShader", (void*)glDeleteShader, 1, arg0);
811
812 }
813 PFNGLDELETESHADERPROC glad_debug_glDeleteShader = glad_debug_impl_glDeleteShader;
814 PFNGLDELETESYNCPROC glad_glDeleteSync;
815 void APIENTRY glad_debug_impl_glDeleteSync(GLsync arg0) {
816 _pre_call_callback("glDeleteSync", (void*)glDeleteSync, 1, arg0);
817 glad_glDeleteSync(arg0);
818 _post_call_callback("glDeleteSync", (void*)glDeleteSync, 1, arg0);
819
820 }
821 PFNGLDELETESYNCPROC glad_debug_glDeleteSync = glad_debug_impl_glDeleteSync;
822 PFNGLDELETETEXTURESPROC glad_glDeleteTextures;
823 void APIENTRY glad_debug_impl_glDeleteTextures(GLsizei arg0, const GLuint * arg1) {
824 _pre_call_callback("glDeleteTextures", (void*)glDeleteTextures, 2, arg0, arg1);
825 glad_glDeleteTextures(arg0, arg1);
826 _post_call_callback("glDeleteTextures", (void*)glDeleteTextures, 2, arg0, arg1);
827
828 }
829 PFNGLDELETETEXTURESPROC glad_debug_glDeleteTextures = glad_debug_impl_glDeleteTextures;
830 PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays;
831 void APIENTRY glad_debug_impl_glDeleteVertexArrays(GLsizei arg0, const GLuint * arg1) {
832 _pre_call_callback("glDeleteVertexArrays", (void*)glDeleteVertexArrays, 2, arg0, arg1);
833 glad_glDeleteVertexArrays(arg0, arg1);
834 _post_call_callback("glDeleteVertexArrays", (void*)glDeleteVertexArrays, 2, arg0, arg1);
835
836 }
837 PFNGLDELETEVERTEXARRAYSPROC glad_debug_glDeleteVertexArrays = glad_debug_impl_glDeleteVertexArrays;
838 PFNGLDEPTHFUNCPROC glad_glDepthFunc;
839 void APIENTRY glad_debug_impl_glDepthFunc(GLenum arg0) {
840 _pre_call_callback("glDepthFunc", (void*)glDepthFunc, 1, arg0);
841 glad_glDepthFunc(arg0);
842 _post_call_callback("glDepthFunc", (void*)glDepthFunc, 1, arg0);
843
844 }
845 PFNGLDEPTHFUNCPROC glad_debug_glDepthFunc = glad_debug_impl_glDepthFunc;
846 PFNGLDEPTHMASKPROC glad_glDepthMask;
847 void APIENTRY glad_debug_impl_glDepthMask(GLboolean arg0) {
848 _pre_call_callback("glDepthMask", (void*)glDepthMask, 1, arg0);
849 glad_glDepthMask(arg0);
850 _post_call_callback("glDepthMask", (void*)glDepthMask, 1, arg0);
851
852 }
853 PFNGLDEPTHMASKPROC glad_debug_glDepthMask = glad_debug_impl_glDepthMask;
854 PFNGLDEPTHRANGEPROC glad_glDepthRange;
855 void APIENTRY glad_debug_impl_glDepthRange(GLdouble arg0, GLdouble arg1) {
856 _pre_call_callback("glDepthRange", (void*)glDepthRange, 2, arg0, arg1);
857 glad_glDepthRange(arg0, arg1);
858 _post_call_callback("glDepthRange", (void*)glDepthRange, 2, arg0, arg1);
859
860 }
861 PFNGLDEPTHRANGEPROC glad_debug_glDepthRange = glad_debug_impl_glDepthRange;
862 PFNGLDETACHSHADERPROC glad_glDetachShader;
863 void APIENTRY glad_debug_impl_glDetachShader(GLuint arg0, GLuint arg1) {
864 _pre_call_callback("glDetachShader", (void*)glDetachShader, 2, arg0, arg1);
865 glad_glDetachShader(arg0, arg1);
866 _post_call_callback("glDetachShader", (void*)glDetachShader, 2, arg0, arg1);
867
868 }
869 PFNGLDETACHSHADERPROC glad_debug_glDetachShader = glad_debug_impl_glDetachShader;
870 PFNGLDISABLEPROC glad_glDisable;
871 void APIENTRY glad_debug_impl_glDisable(GLenum arg0) {
872 _pre_call_callback("glDisable", (void*)glDisable, 1, arg0);
873 glad_glDisable(arg0);
874 _post_call_callback("glDisable", (void*)glDisable, 1, arg0);
875
876 }
877 PFNGLDISABLEPROC glad_debug_glDisable = glad_debug_impl_glDisable;
878 PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray;
879 void APIENTRY glad_debug_impl_glDisableVertexAttribArray(GLuint arg0) {
880 _pre_call_callback("glDisableVertexAttribArray", (void*)glDisableVertexAttribArray, 1, arg0);
881 glad_glDisableVertexAttribArray(arg0);
882 _post_call_callback("glDisableVertexAttribArray", (void*)glDisableVertexAttribArray, 1, arg0);
883
884 }
885 PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_debug_glDisableVertexAttribArray = glad_debug_impl_glDisableVertexAttribArray;
886 PFNGLDISABLEIPROC glad_glDisablei;
887 void APIENTRY glad_debug_impl_glDisablei(GLenum arg0, GLuint arg1) {
888 _pre_call_callback("glDisablei", (void*)glDisablei, 2, arg0, arg1);
889 glad_glDisablei(arg0, arg1);
890 _post_call_callback("glDisablei", (void*)glDisablei, 2, arg0, arg1);
891
892 }
893 PFNGLDISABLEIPROC glad_debug_glDisablei = glad_debug_impl_glDisablei;
894 PFNGLDRAWARRAYSPROC glad_glDrawArrays;
895 void APIENTRY glad_debug_impl_glDrawArrays(GLenum arg0, GLint arg1, GLsizei arg2) {
896 _pre_call_callback("glDrawArrays", (void*)glDrawArrays, 3, arg0, arg1, arg2);
897 glad_glDrawArrays(arg0, arg1, arg2);
898 _post_call_callback("glDrawArrays", (void*)glDrawArrays, 3, arg0, arg1, arg2);
899
900 }
901 PFNGLDRAWARRAYSPROC glad_debug_glDrawArrays = glad_debug_impl_glDrawArrays;
902 PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced;
903 void APIENTRY glad_debug_impl_glDrawArraysInstanced(GLenum arg0, GLint arg1, GLsizei arg2, GLsizei arg3) {
904 _pre_call_callback("glDrawArraysInstanced", (void*)glDrawArraysInstanced, 4, arg0, arg1, arg2, arg3);
905 glad_glDrawArraysInstanced(arg0, arg1, arg2, arg3);
906 _post_call_callback("glDrawArraysInstanced", (void*)glDrawArraysInstanced, 4, arg0, arg1, arg2, arg3);
907
908 }
909 PFNGLDRAWARRAYSINSTANCEDPROC glad_debug_glDrawArraysInstanced = glad_debug_impl_glDrawArraysInstanced;
910 PFNGLDRAWBUFFERPROC glad_glDrawBuffer;
911 void APIENTRY glad_debug_impl_glDrawBuffer(GLenum arg0) {
912 _pre_call_callback("glDrawBuffer", (void*)glDrawBuffer, 1, arg0);
913 glad_glDrawBuffer(arg0);
914 _post_call_callback("glDrawBuffer", (void*)glDrawBuffer, 1, arg0);
915
916 }
917 PFNGLDRAWBUFFERPROC glad_debug_glDrawBuffer = glad_debug_impl_glDrawBuffer;
918 PFNGLDRAWBUFFERSPROC glad_glDrawBuffers;
919 void APIENTRY glad_debug_impl_glDrawBuffers(GLsizei arg0, const GLenum * arg1) {
920 _pre_call_callback("glDrawBuffers", (void*)glDrawBuffers, 2, arg0, arg1);
921 glad_glDrawBuffers(arg0, arg1);
922 _post_call_callback("glDrawBuffers", (void*)glDrawBuffers, 2, arg0, arg1);
923
924 }
925 PFNGLDRAWBUFFERSPROC glad_debug_glDrawBuffers = glad_debug_impl_glDrawBuffers;
926 PFNGLDRAWELEMENTSPROC glad_glDrawElements;
927 void APIENTRY glad_debug_impl_glDrawElements(GLenum arg0, GLsizei arg1, GLenum arg2, const void * arg3) {
928 _pre_call_callback("glDrawElements", (void*)glDrawElements, 4, arg0, arg1, arg2, arg3);
929 glad_glDrawElements(arg0, arg1, arg2, arg3);
930 _post_call_callback("glDrawElements", (void*)glDrawElements, 4, arg0, arg1, arg2, arg3);
931
932 }
933 PFNGLDRAWELEMENTSPROC glad_debug_glDrawElements = glad_debug_impl_glDrawElements;
934 PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex;
935 void APIENTRY glad_debug_impl_glDrawElementsBaseVertex(GLenum arg0, GLsizei arg1, GLenum arg2, const void * arg3, GLint arg4) {
936 _pre_call_callback("glDrawElementsBaseVertex", (void*)glDrawElementsBaseVertex, 5, arg0, arg1, arg2, arg3, arg4);
937 glad_glDrawElementsBaseVertex(arg0, arg1, arg2, arg3, arg4);
938 _post_call_callback("glDrawElementsBaseVertex", (void*)glDrawElementsBaseVertex, 5, arg0, arg1, arg2, arg3, arg4);
939
940 }
941 PFNGLDRAWELEMENTSBASEVERTEXPROC glad_debug_glDrawElementsBaseVertex = glad_debug_impl_glDrawElementsBaseVertex;
942 PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced;
943 void APIENTRY glad_debug_impl_glDrawElementsInstanced(GLenum arg0, GLsizei arg1, GLenum arg2, const void * arg3, GLsizei arg4) {
944 _pre_call_callback("glDrawElementsInstanced", (void*)glDrawElementsInstanced, 5, arg0, arg1, arg2, arg3, arg4);
945 glad_glDrawElementsInstanced(arg0, arg1, arg2, arg3, arg4);
946 _post_call_callback("glDrawElementsInstanced", (void*)glDrawElementsInstanced, 5, arg0, arg1, arg2, arg3, arg4);
947
948 }
949 PFNGLDRAWELEMENTSINSTANCEDPROC glad_debug_glDrawElementsInstanced = glad_debug_impl_glDrawElementsInstanced;
950 PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex;
951 void APIENTRY glad_debug_impl_glDrawElementsInstancedBaseVertex(GLenum arg0, GLsizei arg1, GLenum arg2, const void * arg3, GLsizei arg4, GLint arg5) {
952 _pre_call_callback("glDrawElementsInstancedBaseVertex", (void*)glDrawElementsInstancedBaseVertex, 6, arg0, arg1, arg2, arg3, arg4, arg5);
953 glad_glDrawElementsInstancedBaseVertex(arg0, arg1, arg2, arg3, arg4, arg5);
954 _post_call_callback("glDrawElementsInstancedBaseVertex", (void*)glDrawElementsInstancedBaseVertex, 6, arg0, arg1, arg2, arg3, arg4, arg5);
955
956 }
957 PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_debug_glDrawElementsInstancedBaseVertex = glad_debug_impl_glDrawElementsInstancedBaseVertex;
958 PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements;
959 void APIENTRY glad_debug_impl_glDrawRangeElements(GLenum arg0, GLuint arg1, GLuint arg2, GLsizei arg3, GLenum arg4, const void * arg5) {
960 _pre_call_callback("glDrawRangeElements", (void*)glDrawRangeElements, 6, arg0, arg1, arg2, arg3, arg4, arg5);
961 glad_glDrawRangeElements(arg0, arg1, arg2, arg3, arg4, arg5);
962 _post_call_callback("glDrawRangeElements", (void*)glDrawRangeElements, 6, arg0, arg1, arg2, arg3, arg4, arg5);
963
964 }
965 PFNGLDRAWRANGEELEMENTSPROC glad_debug_glDrawRangeElements = glad_debug_impl_glDrawRangeElements;
966 PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex;
967 void APIENTRY glad_debug_impl_glDrawRangeElementsBaseVertex(GLenum arg0, GLuint arg1, GLuint arg2, GLsizei arg3, GLenum arg4, const void * arg5, GLint arg6) {
968 _pre_call_callback("glDrawRangeElementsBaseVertex", (void*)glDrawRangeElementsBaseVertex, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
969 glad_glDrawRangeElementsBaseVertex(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
970 _post_call_callback("glDrawRangeElementsBaseVertex", (void*)glDrawRangeElementsBaseVertex, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
971
972 }
973 PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_debug_glDrawRangeElementsBaseVertex = glad_debug_impl_glDrawRangeElementsBaseVertex;
974 PFNGLENABLEPROC glad_glEnable;
975 void APIENTRY glad_debug_impl_glEnable(GLenum arg0) {
976 _pre_call_callback("glEnable", (void*)glEnable, 1, arg0);
977 glad_glEnable(arg0);
978 _post_call_callback("glEnable", (void*)glEnable, 1, arg0);
979
980 }
981 PFNGLENABLEPROC glad_debug_glEnable = glad_debug_impl_glEnable;
982 PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray;
983 void APIENTRY glad_debug_impl_glEnableVertexAttribArray(GLuint arg0) {
984 _pre_call_callback("glEnableVertexAttribArray", (void*)glEnableVertexAttribArray, 1, arg0);
985 glad_glEnableVertexAttribArray(arg0);
986 _post_call_callback("glEnableVertexAttribArray", (void*)glEnableVertexAttribArray, 1, arg0);
987
988 }
989 PFNGLENABLEVERTEXATTRIBARRAYPROC glad_debug_glEnableVertexAttribArray = glad_debug_impl_glEnableVertexAttribArray;
990 PFNGLENABLEIPROC glad_glEnablei;
991 void APIENTRY glad_debug_impl_glEnablei(GLenum arg0, GLuint arg1) {
992 _pre_call_callback("glEnablei", (void*)glEnablei, 2, arg0, arg1);
993 glad_glEnablei(arg0, arg1);
994 _post_call_callback("glEnablei", (void*)glEnablei, 2, arg0, arg1);
995
996 }
997 PFNGLENABLEIPROC glad_debug_glEnablei = glad_debug_impl_glEnablei;
998 PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender;
999 void APIENTRY glad_debug_impl_glEndConditionalRender(void) {
1000 _pre_call_callback("glEndConditionalRender", (void*)glEndConditionalRender, 0);
1001 glad_glEndConditionalRender();
1002 _post_call_callback("glEndConditionalRender", (void*)glEndConditionalRender, 0);
1003
1004 }
1005 PFNGLENDCONDITIONALRENDERPROC glad_debug_glEndConditionalRender = glad_debug_impl_glEndConditionalRender;
1006 PFNGLENDQUERYPROC glad_glEndQuery;
1007 void APIENTRY glad_debug_impl_glEndQuery(GLenum arg0) {
1008 _pre_call_callback("glEndQuery", (void*)glEndQuery, 1, arg0);
1009 glad_glEndQuery(arg0);
1010 _post_call_callback("glEndQuery", (void*)glEndQuery, 1, arg0);
1011
1012 }
1013 PFNGLENDQUERYPROC glad_debug_glEndQuery = glad_debug_impl_glEndQuery;
1014 PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback;
1015 void APIENTRY glad_debug_impl_glEndTransformFeedback(void) {
1016 _pre_call_callback("glEndTransformFeedback", (void*)glEndTransformFeedback, 0);
1017 glad_glEndTransformFeedback();
1018 _post_call_callback("glEndTransformFeedback", (void*)glEndTransformFeedback, 0);
1019
1020 }
1021 PFNGLENDTRANSFORMFEEDBACKPROC glad_debug_glEndTransformFeedback = glad_debug_impl_glEndTransformFeedback;
1022 PFNGLFENCESYNCPROC glad_glFenceSync;
1023 GLsync APIENTRY glad_debug_impl_glFenceSync(GLenum arg0, GLbitfield arg1) {
1024 GLsync ret;
1025 _pre_call_callback("glFenceSync", (void*)glFenceSync, 2, arg0, arg1);
1026 ret = glad_glFenceSync(arg0, arg1);
1027 _post_call_callback("glFenceSync", (void*)glFenceSync, 2, arg0, arg1);
1028 return ret;
1029 }
1030 PFNGLFENCESYNCPROC glad_debug_glFenceSync = glad_debug_impl_glFenceSync;
1031 PFNGLFINISHPROC glad_glFinish;
1032 void APIENTRY glad_debug_impl_glFinish(void) {
1033 _pre_call_callback("glFinish", (void*)glFinish, 0);
1034 glad_glFinish();
1035 _post_call_callback("glFinish", (void*)glFinish, 0);
1036
1037 }
1038 PFNGLFINISHPROC glad_debug_glFinish = glad_debug_impl_glFinish;
1039 PFNGLFLUSHPROC glad_glFlush;
1040 void APIENTRY glad_debug_impl_glFlush(void) {
1041 _pre_call_callback("glFlush", (void*)glFlush, 0);
1042 glad_glFlush();
1043 _post_call_callback("glFlush", (void*)glFlush, 0);
1044
1045 }
1046 PFNGLFLUSHPROC glad_debug_glFlush = glad_debug_impl_glFlush;
1047 PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange;
1048 void APIENTRY glad_debug_impl_glFlushMappedBufferRange(GLenum arg0, GLintptr arg1, GLsizeiptr arg2) {
1049 _pre_call_callback("glFlushMappedBufferRange", (void*)glFlushMappedBufferRange, 3, arg0, arg1, arg2);
1050 glad_glFlushMappedBufferRange(arg0, arg1, arg2);
1051 _post_call_callback("glFlushMappedBufferRange", (void*)glFlushMappedBufferRange, 3, arg0, arg1, arg2);
1052
1053 }
1054 PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_debug_glFlushMappedBufferRange = glad_debug_impl_glFlushMappedBufferRange;
1055 PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer;
1056 void APIENTRY glad_debug_impl_glFramebufferRenderbuffer(GLenum arg0, GLenum arg1, GLenum arg2, GLuint arg3) {
1057 _pre_call_callback("glFramebufferRenderbuffer", (void*)glFramebufferRenderbuffer, 4, arg0, arg1, arg2, arg3);
1058 glad_glFramebufferRenderbuffer(arg0, arg1, arg2, arg3);
1059 _post_call_callback("glFramebufferRenderbuffer", (void*)glFramebufferRenderbuffer, 4, arg0, arg1, arg2, arg3);
1060
1061 }
1062 PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_debug_glFramebufferRenderbuffer = glad_debug_impl_glFramebufferRenderbuffer;
1063 PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture;
1064 void APIENTRY glad_debug_impl_glFramebufferTexture(GLenum arg0, GLenum arg1, GLuint arg2, GLint arg3) {
1065 _pre_call_callback("glFramebufferTexture", (void*)glFramebufferTexture, 4, arg0, arg1, arg2, arg3);
1066 glad_glFramebufferTexture(arg0, arg1, arg2, arg3);
1067 _post_call_callback("glFramebufferTexture", (void*)glFramebufferTexture, 4, arg0, arg1, arg2, arg3);
1068
1069 }
1070 PFNGLFRAMEBUFFERTEXTUREPROC glad_debug_glFramebufferTexture = glad_debug_impl_glFramebufferTexture;
1071 PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D;
1072 void APIENTRY glad_debug_impl_glFramebufferTexture1D(GLenum arg0, GLenum arg1, GLenum arg2, GLuint arg3, GLint arg4) {
1073 _pre_call_callback("glFramebufferTexture1D", (void*)glFramebufferTexture1D, 5, arg0, arg1, arg2, arg3, arg4);
1074 glad_glFramebufferTexture1D(arg0, arg1, arg2, arg3, arg4);
1075 _post_call_callback("glFramebufferTexture1D", (void*)glFramebufferTexture1D, 5, arg0, arg1, arg2, arg3, arg4);
1076
1077 }
1078 PFNGLFRAMEBUFFERTEXTURE1DPROC glad_debug_glFramebufferTexture1D = glad_debug_impl_glFramebufferTexture1D;
1079 PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D;
1080 void APIENTRY glad_debug_impl_glFramebufferTexture2D(GLenum arg0, GLenum arg1, GLenum arg2, GLuint arg3, GLint arg4) {
1081 _pre_call_callback("glFramebufferTexture2D", (void*)glFramebufferTexture2D, 5, arg0, arg1, arg2, arg3, arg4);
1082 glad_glFramebufferTexture2D(arg0, arg1, arg2, arg3, arg4);
1083 _post_call_callback("glFramebufferTexture2D", (void*)glFramebufferTexture2D, 5, arg0, arg1, arg2, arg3, arg4);
1084
1085 }
1086 PFNGLFRAMEBUFFERTEXTURE2DPROC glad_debug_glFramebufferTexture2D = glad_debug_impl_glFramebufferTexture2D;
1087 PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D;
1088 void APIENTRY glad_debug_impl_glFramebufferTexture3D(GLenum arg0, GLenum arg1, GLenum arg2, GLuint arg3, GLint arg4, GLint arg5) {
1089 _pre_call_callback("glFramebufferTexture3D", (void*)glFramebufferTexture3D, 6, arg0, arg1, arg2, arg3, arg4, arg5);
1090 glad_glFramebufferTexture3D(arg0, arg1, arg2, arg3, arg4, arg5);
1091 _post_call_callback("glFramebufferTexture3D", (void*)glFramebufferTexture3D, 6, arg0, arg1, arg2, arg3, arg4, arg5);
1092
1093 }
1094 PFNGLFRAMEBUFFERTEXTURE3DPROC glad_debug_glFramebufferTexture3D = glad_debug_impl_glFramebufferTexture3D;
1095 PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer;
1096 void APIENTRY glad_debug_impl_glFramebufferTextureLayer(GLenum arg0, GLenum arg1, GLuint arg2, GLint arg3, GLint arg4) {
1097 _pre_call_callback("glFramebufferTextureLayer", (void*)glFramebufferTextureLayer, 5, arg0, arg1, arg2, arg3, arg4);
1098 glad_glFramebufferTextureLayer(arg0, arg1, arg2, arg3, arg4);
1099 _post_call_callback("glFramebufferTextureLayer", (void*)glFramebufferTextureLayer, 5, arg0, arg1, arg2, arg3, arg4);
1100
1101 }
1102 PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_debug_glFramebufferTextureLayer = glad_debug_impl_glFramebufferTextureLayer;
1103 PFNGLFRONTFACEPROC glad_glFrontFace;
1104 void APIENTRY glad_debug_impl_glFrontFace(GLenum arg0) {
1105 _pre_call_callback("glFrontFace", (void*)glFrontFace, 1, arg0);
1106 glad_glFrontFace(arg0);
1107 _post_call_callback("glFrontFace", (void*)glFrontFace, 1, arg0);
1108
1109 }
1110 PFNGLFRONTFACEPROC glad_debug_glFrontFace = glad_debug_impl_glFrontFace;
1111 PFNGLGENBUFFERSPROC glad_glGenBuffers;
1112 void APIENTRY glad_debug_impl_glGenBuffers(GLsizei arg0, GLuint * arg1) {
1113 _pre_call_callback("glGenBuffers", (void*)glGenBuffers, 2, arg0, arg1);
1114 glad_glGenBuffers(arg0, arg1);
1115 _post_call_callback("glGenBuffers", (void*)glGenBuffers, 2, arg0, arg1);
1116
1117 }
1118 PFNGLGENBUFFERSPROC glad_debug_glGenBuffers = glad_debug_impl_glGenBuffers;
1119 PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers;
1120 void APIENTRY glad_debug_impl_glGenFramebuffers(GLsizei arg0, GLuint * arg1) {
1121 _pre_call_callback("glGenFramebuffers", (void*)glGenFramebuffers, 2, arg0, arg1);
1122 glad_glGenFramebuffers(arg0, arg1);
1123 _post_call_callback("glGenFramebuffers", (void*)glGenFramebuffers, 2, arg0, arg1);
1124
1125 }
1126 PFNGLGENFRAMEBUFFERSPROC glad_debug_glGenFramebuffers = glad_debug_impl_glGenFramebuffers;
1127 PFNGLGENQUERIESPROC glad_glGenQueries;
1128 void APIENTRY glad_debug_impl_glGenQueries(GLsizei arg0, GLuint * arg1) {
1129 _pre_call_callback("glGenQueries", (void*)glGenQueries, 2, arg0, arg1);
1130 glad_glGenQueries(arg0, arg1);
1131 _post_call_callback("glGenQueries", (void*)glGenQueries, 2, arg0, arg1);
1132
1133 }
1134 PFNGLGENQUERIESPROC glad_debug_glGenQueries = glad_debug_impl_glGenQueries;
1135 PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers;
1136 void APIENTRY glad_debug_impl_glGenRenderbuffers(GLsizei arg0, GLuint * arg1) {
1137 _pre_call_callback("glGenRenderbuffers", (void*)glGenRenderbuffers, 2, arg0, arg1);
1138 glad_glGenRenderbuffers(arg0, arg1);
1139 _post_call_callback("glGenRenderbuffers", (void*)glGenRenderbuffers, 2, arg0, arg1);
1140
1141 }
1142 PFNGLGENRENDERBUFFERSPROC glad_debug_glGenRenderbuffers = glad_debug_impl_glGenRenderbuffers;
1143 PFNGLGENSAMPLERSPROC glad_glGenSamplers;
1144 void APIENTRY glad_debug_impl_glGenSamplers(GLsizei arg0, GLuint * arg1) {
1145 _pre_call_callback("glGenSamplers", (void*)glGenSamplers, 2, arg0, arg1);
1146 glad_glGenSamplers(arg0, arg1);
1147 _post_call_callback("glGenSamplers", (void*)glGenSamplers, 2, arg0, arg1);
1148
1149 }
1150 PFNGLGENSAMPLERSPROC glad_debug_glGenSamplers = glad_debug_impl_glGenSamplers;
1151 PFNGLGENTEXTURESPROC glad_glGenTextures;
1152 void APIENTRY glad_debug_impl_glGenTextures(GLsizei arg0, GLuint * arg1) {
1153 _pre_call_callback("glGenTextures", (void*)glGenTextures, 2, arg0, arg1);
1154 glad_glGenTextures(arg0, arg1);
1155 _post_call_callback("glGenTextures", (void*)glGenTextures, 2, arg0, arg1);
1156
1157 }
1158 PFNGLGENTEXTURESPROC glad_debug_glGenTextures = glad_debug_impl_glGenTextures;
1159 PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays;
1160 void APIENTRY glad_debug_impl_glGenVertexArrays(GLsizei arg0, GLuint * arg1) {
1161 _pre_call_callback("glGenVertexArrays", (void*)glGenVertexArrays, 2, arg0, arg1);
1162 glad_glGenVertexArrays(arg0, arg1);
1163 _post_call_callback("glGenVertexArrays", (void*)glGenVertexArrays, 2, arg0, arg1);
1164
1165 }
1166 PFNGLGENVERTEXARRAYSPROC glad_debug_glGenVertexArrays = glad_debug_impl_glGenVertexArrays;
1167 PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap;
1168 void APIENTRY glad_debug_impl_glGenerateMipmap(GLenum arg0) {
1169 _pre_call_callback("glGenerateMipmap", (void*)glGenerateMipmap, 1, arg0);
1170 glad_glGenerateMipmap(arg0);
1171 _post_call_callback("glGenerateMipmap", (void*)glGenerateMipmap, 1, arg0);
1172
1173 }
1174 PFNGLGENERATEMIPMAPPROC glad_debug_glGenerateMipmap = glad_debug_impl_glGenerateMipmap;
1175 PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib;
1176 void APIENTRY glad_debug_impl_glGetActiveAttrib(GLuint arg0, GLuint arg1, GLsizei arg2, GLsizei * arg3, GLint * arg4, GLenum * arg5, GLchar * arg6) {
1177 _pre_call_callback("glGetActiveAttrib", (void*)glGetActiveAttrib, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1178 glad_glGetActiveAttrib(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1179 _post_call_callback("glGetActiveAttrib", (void*)glGetActiveAttrib, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1180
1181 }
1182 PFNGLGETACTIVEATTRIBPROC glad_debug_glGetActiveAttrib = glad_debug_impl_glGetActiveAttrib;
1183 PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform;
1184 void APIENTRY glad_debug_impl_glGetActiveUniform(GLuint arg0, GLuint arg1, GLsizei arg2, GLsizei * arg3, GLint * arg4, GLenum * arg5, GLchar * arg6) {
1185 _pre_call_callback("glGetActiveUniform", (void*)glGetActiveUniform, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1186 glad_glGetActiveUniform(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1187 _post_call_callback("glGetActiveUniform", (void*)glGetActiveUniform, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1188
1189 }
1190 PFNGLGETACTIVEUNIFORMPROC glad_debug_glGetActiveUniform = glad_debug_impl_glGetActiveUniform;
1191 PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName;
1192 void APIENTRY glad_debug_impl_glGetActiveUniformBlockName(GLuint arg0, GLuint arg1, GLsizei arg2, GLsizei * arg3, GLchar * arg4) {
1193 _pre_call_callback("glGetActiveUniformBlockName", (void*)glGetActiveUniformBlockName, 5, arg0, arg1, arg2, arg3, arg4);
1194 glad_glGetActiveUniformBlockName(arg0, arg1, arg2, arg3, arg4);
1195 _post_call_callback("glGetActiveUniformBlockName", (void*)glGetActiveUniformBlockName, 5, arg0, arg1, arg2, arg3, arg4);
1196
1197 }
1198 PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_debug_glGetActiveUniformBlockName = glad_debug_impl_glGetActiveUniformBlockName;
1199 PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv;
1200 void APIENTRY glad_debug_impl_glGetActiveUniformBlockiv(GLuint arg0, GLuint arg1, GLenum arg2, GLint * arg3) {
1201 _pre_call_callback("glGetActiveUniformBlockiv", (void*)glGetActiveUniformBlockiv, 4, arg0, arg1, arg2, arg3);
1202 glad_glGetActiveUniformBlockiv(arg0, arg1, arg2, arg3);
1203 _post_call_callback("glGetActiveUniformBlockiv", (void*)glGetActiveUniformBlockiv, 4, arg0, arg1, arg2, arg3);
1204
1205 }
1206 PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_debug_glGetActiveUniformBlockiv = glad_debug_impl_glGetActiveUniformBlockiv;
1207 PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName;
1208 void APIENTRY glad_debug_impl_glGetActiveUniformName(GLuint arg0, GLuint arg1, GLsizei arg2, GLsizei * arg3, GLchar * arg4) {
1209 _pre_call_callback("glGetActiveUniformName", (void*)glGetActiveUniformName, 5, arg0, arg1, arg2, arg3, arg4);
1210 glad_glGetActiveUniformName(arg0, arg1, arg2, arg3, arg4);
1211 _post_call_callback("glGetActiveUniformName", (void*)glGetActiveUniformName, 5, arg0, arg1, arg2, arg3, arg4);
1212
1213 }
1214 PFNGLGETACTIVEUNIFORMNAMEPROC glad_debug_glGetActiveUniformName = glad_debug_impl_glGetActiveUniformName;
1215 PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv;
1216 void APIENTRY glad_debug_impl_glGetActiveUniformsiv(GLuint arg0, GLsizei arg1, const GLuint * arg2, GLenum arg3, GLint * arg4) {
1217 _pre_call_callback("glGetActiveUniformsiv", (void*)glGetActiveUniformsiv, 5, arg0, arg1, arg2, arg3, arg4);
1218 glad_glGetActiveUniformsiv(arg0, arg1, arg2, arg3, arg4);
1219 _post_call_callback("glGetActiveUniformsiv", (void*)glGetActiveUniformsiv, 5, arg0, arg1, arg2, arg3, arg4);
1220
1221 }
1222 PFNGLGETACTIVEUNIFORMSIVPROC glad_debug_glGetActiveUniformsiv = glad_debug_impl_glGetActiveUniformsiv;
1223 PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders;
1224 void APIENTRY glad_debug_impl_glGetAttachedShaders(GLuint arg0, GLsizei arg1, GLsizei * arg2, GLuint * arg3) {
1225 _pre_call_callback("glGetAttachedShaders", (void*)glGetAttachedShaders, 4, arg0, arg1, arg2, arg3);
1226 glad_glGetAttachedShaders(arg0, arg1, arg2, arg3);
1227 _post_call_callback("glGetAttachedShaders", (void*)glGetAttachedShaders, 4, arg0, arg1, arg2, arg3);
1228
1229 }
1230 PFNGLGETATTACHEDSHADERSPROC glad_debug_glGetAttachedShaders = glad_debug_impl_glGetAttachedShaders;
1231 PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation;
1232 GLint APIENTRY glad_debug_impl_glGetAttribLocation(GLuint arg0, const GLchar * arg1) {
1233 GLint ret;
1234 _pre_call_callback("glGetAttribLocation", (void*)glGetAttribLocation, 2, arg0, arg1);
1235 ret = glad_glGetAttribLocation(arg0, arg1);
1236 _post_call_callback("glGetAttribLocation", (void*)glGetAttribLocation, 2, arg0, arg1);
1237 return ret;
1238 }
1239 PFNGLGETATTRIBLOCATIONPROC glad_debug_glGetAttribLocation = glad_debug_impl_glGetAttribLocation;
1240 PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v;
1241 void APIENTRY glad_debug_impl_glGetBooleani_v(GLenum arg0, GLuint arg1, GLboolean * arg2) {
1242 _pre_call_callback("glGetBooleani_v", (void*)glGetBooleani_v, 3, arg0, arg1, arg2);
1243 glad_glGetBooleani_v(arg0, arg1, arg2);
1244 _post_call_callback("glGetBooleani_v", (void*)glGetBooleani_v, 3, arg0, arg1, arg2);
1245
1246 }
1247 PFNGLGETBOOLEANI_VPROC glad_debug_glGetBooleani_v = glad_debug_impl_glGetBooleani_v;
1248 PFNGLGETBOOLEANVPROC glad_glGetBooleanv;
1249 void APIENTRY glad_debug_impl_glGetBooleanv(GLenum arg0, GLboolean * arg1) {
1250 _pre_call_callback("glGetBooleanv", (void*)glGetBooleanv, 2, arg0, arg1);
1251 glad_glGetBooleanv(arg0, arg1);
1252 _post_call_callback("glGetBooleanv", (void*)glGetBooleanv, 2, arg0, arg1);
1253
1254 }
1255 PFNGLGETBOOLEANVPROC glad_debug_glGetBooleanv = glad_debug_impl_glGetBooleanv;
1256 PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v;
1257 void APIENTRY glad_debug_impl_glGetBufferParameteri64v(GLenum arg0, GLenum arg1, GLint64 * arg2) {
1258 _pre_call_callback("glGetBufferParameteri64v", (void*)glGetBufferParameteri64v, 3, arg0, arg1, arg2);
1259 glad_glGetBufferParameteri64v(arg0, arg1, arg2);
1260 _post_call_callback("glGetBufferParameteri64v", (void*)glGetBufferParameteri64v, 3, arg0, arg1, arg2);
1261
1262 }
1263 PFNGLGETBUFFERPARAMETERI64VPROC glad_debug_glGetBufferParameteri64v = glad_debug_impl_glGetBufferParameteri64v;
1264 PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv;
1265 void APIENTRY glad_debug_impl_glGetBufferParameteriv(GLenum arg0, GLenum arg1, GLint * arg2) {
1266 _pre_call_callback("glGetBufferParameteriv", (void*)glGetBufferParameteriv, 3, arg0, arg1, arg2);
1267 glad_glGetBufferParameteriv(arg0, arg1, arg2);
1268 _post_call_callback("glGetBufferParameteriv", (void*)glGetBufferParameteriv, 3, arg0, arg1, arg2);
1269
1270 }
1271 PFNGLGETBUFFERPARAMETERIVPROC glad_debug_glGetBufferParameteriv = glad_debug_impl_glGetBufferParameteriv;
1272 PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv;
1273 void APIENTRY glad_debug_impl_glGetBufferPointerv(GLenum arg0, GLenum arg1, void ** arg2) {
1274 _pre_call_callback("glGetBufferPointerv", (void*)glGetBufferPointerv, 3, arg0, arg1, arg2);
1275 glad_glGetBufferPointerv(arg0, arg1, arg2);
1276 _post_call_callback("glGetBufferPointerv", (void*)glGetBufferPointerv, 3, arg0, arg1, arg2);
1277
1278 }
1279 PFNGLGETBUFFERPOINTERVPROC glad_debug_glGetBufferPointerv = glad_debug_impl_glGetBufferPointerv;
1280 PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData;
1281 void APIENTRY glad_debug_impl_glGetBufferSubData(GLenum arg0, GLintptr arg1, GLsizeiptr arg2, void * arg3) {
1282 _pre_call_callback("glGetBufferSubData", (void*)glGetBufferSubData, 4, arg0, arg1, arg2, arg3);
1283 glad_glGetBufferSubData(arg0, arg1, arg2, arg3);
1284 _post_call_callback("glGetBufferSubData", (void*)glGetBufferSubData, 4, arg0, arg1, arg2, arg3);
1285
1286 }
1287 PFNGLGETBUFFERSUBDATAPROC glad_debug_glGetBufferSubData = glad_debug_impl_glGetBufferSubData;
1288 PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage;
1289 void APIENTRY glad_debug_impl_glGetCompressedTexImage(GLenum arg0, GLint arg1, void * arg2) {
1290 _pre_call_callback("glGetCompressedTexImage", (void*)glGetCompressedTexImage, 3, arg0, arg1, arg2);
1291 glad_glGetCompressedTexImage(arg0, arg1, arg2);
1292 _post_call_callback("glGetCompressedTexImage", (void*)glGetCompressedTexImage, 3, arg0, arg1, arg2);
1293
1294 }
1295 PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_debug_glGetCompressedTexImage = glad_debug_impl_glGetCompressedTexImage;
1296 PFNGLGETDOUBLEVPROC glad_glGetDoublev;
1297 void APIENTRY glad_debug_impl_glGetDoublev(GLenum arg0, GLdouble * arg1) {
1298 _pre_call_callback("glGetDoublev", (void*)glGetDoublev, 2, arg0, arg1);
1299 glad_glGetDoublev(arg0, arg1);
1300 _post_call_callback("glGetDoublev", (void*)glGetDoublev, 2, arg0, arg1);
1301
1302 }
1303 PFNGLGETDOUBLEVPROC glad_debug_glGetDoublev = glad_debug_impl_glGetDoublev;
1304 PFNGLGETERRORPROC glad_glGetError;
1305 GLenum APIENTRY glad_debug_impl_glGetError(void) {
1306 GLenum ret;
1307 _pre_call_callback("glGetError", (void*)glGetError, 0);
1308 ret = glad_glGetError();
1309 _post_call_callback("glGetError", (void*)glGetError, 0);
1310 return ret;
1311 }
1312 PFNGLGETERRORPROC glad_debug_glGetError = glad_debug_impl_glGetError;
1313 PFNGLGETFLOATVPROC glad_glGetFloatv;
1314 void APIENTRY glad_debug_impl_glGetFloatv(GLenum arg0, GLfloat * arg1) {
1315 _pre_call_callback("glGetFloatv", (void*)glGetFloatv, 2, arg0, arg1);
1316 glad_glGetFloatv(arg0, arg1);
1317 _post_call_callback("glGetFloatv", (void*)glGetFloatv, 2, arg0, arg1);
1318
1319 }
1320 PFNGLGETFLOATVPROC glad_debug_glGetFloatv = glad_debug_impl_glGetFloatv;
1321 PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex;
1322 GLint APIENTRY glad_debug_impl_glGetFragDataIndex(GLuint arg0, const GLchar * arg1) {
1323 GLint ret;
1324 _pre_call_callback("glGetFragDataIndex", (void*)glGetFragDataIndex, 2, arg0, arg1);
1325 ret = glad_glGetFragDataIndex(arg0, arg1);
1326 _post_call_callback("glGetFragDataIndex", (void*)glGetFragDataIndex, 2, arg0, arg1);
1327 return ret;
1328 }
1329 PFNGLGETFRAGDATAINDEXPROC glad_debug_glGetFragDataIndex = glad_debug_impl_glGetFragDataIndex;
1330 PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation;
1331 GLint APIENTRY glad_debug_impl_glGetFragDataLocation(GLuint arg0, const GLchar * arg1) {
1332 GLint ret;
1333 _pre_call_callback("glGetFragDataLocation", (void*)glGetFragDataLocation, 2, arg0, arg1);
1334 ret = glad_glGetFragDataLocation(arg0, arg1);
1335 _post_call_callback("glGetFragDataLocation", (void*)glGetFragDataLocation, 2, arg0, arg1);
1336 return ret;
1337 }
1338 PFNGLGETFRAGDATALOCATIONPROC glad_debug_glGetFragDataLocation = glad_debug_impl_glGetFragDataLocation;
1339 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv;
1340 void APIENTRY glad_debug_impl_glGetFramebufferAttachmentParameteriv(GLenum arg0, GLenum arg1, GLenum arg2, GLint * arg3) {
1341 _pre_call_callback("glGetFramebufferAttachmentParameteriv", (void*)glGetFramebufferAttachmentParameteriv, 4, arg0, arg1, arg2, arg3);
1342 glad_glGetFramebufferAttachmentParameteriv(arg0, arg1, arg2, arg3);
1343 _post_call_callback("glGetFramebufferAttachmentParameteriv", (void*)glGetFramebufferAttachmentParameteriv, 4, arg0, arg1, arg2, arg3);
1344
1345 }
1346 PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_debug_glGetFramebufferAttachmentParameteriv = glad_debug_impl_glGetFramebufferAttachmentParameteriv;
1347 PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v;
1348 void APIENTRY glad_debug_impl_glGetInteger64i_v(GLenum arg0, GLuint arg1, GLint64 * arg2) {
1349 _pre_call_callback("glGetInteger64i_v", (void*)glGetInteger64i_v, 3, arg0, arg1, arg2);
1350 glad_glGetInteger64i_v(arg0, arg1, arg2);
1351 _post_call_callback("glGetInteger64i_v", (void*)glGetInteger64i_v, 3, arg0, arg1, arg2);
1352
1353 }
1354 PFNGLGETINTEGER64I_VPROC glad_debug_glGetInteger64i_v = glad_debug_impl_glGetInteger64i_v;
1355 PFNGLGETINTEGER64VPROC glad_glGetInteger64v;
1356 void APIENTRY glad_debug_impl_glGetInteger64v(GLenum arg0, GLint64 * arg1) {
1357 _pre_call_callback("glGetInteger64v", (void*)glGetInteger64v, 2, arg0, arg1);
1358 glad_glGetInteger64v(arg0, arg1);
1359 _post_call_callback("glGetInteger64v", (void*)glGetInteger64v, 2, arg0, arg1);
1360
1361 }
1362 PFNGLGETINTEGER64VPROC glad_debug_glGetInteger64v = glad_debug_impl_glGetInteger64v;
1363 PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v;
1364 void APIENTRY glad_debug_impl_glGetIntegeri_v(GLenum arg0, GLuint arg1, GLint * arg2) {
1365 _pre_call_callback("glGetIntegeri_v", (void*)glGetIntegeri_v, 3, arg0, arg1, arg2);
1366 glad_glGetIntegeri_v(arg0, arg1, arg2);
1367 _post_call_callback("glGetIntegeri_v", (void*)glGetIntegeri_v, 3, arg0, arg1, arg2);
1368
1369 }
1370 PFNGLGETINTEGERI_VPROC glad_debug_glGetIntegeri_v = glad_debug_impl_glGetIntegeri_v;
1371 PFNGLGETINTEGERVPROC glad_glGetIntegerv;
1372 void APIENTRY glad_debug_impl_glGetIntegerv(GLenum arg0, GLint * arg1) {
1373 _pre_call_callback("glGetIntegerv", (void*)glGetIntegerv, 2, arg0, arg1);
1374 glad_glGetIntegerv(arg0, arg1);
1375 _post_call_callback("glGetIntegerv", (void*)glGetIntegerv, 2, arg0, arg1);
1376
1377 }
1378 PFNGLGETINTEGERVPROC glad_debug_glGetIntegerv = glad_debug_impl_glGetIntegerv;
1379 PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv;
1380 void APIENTRY glad_debug_impl_glGetMultisamplefv(GLenum arg0, GLuint arg1, GLfloat * arg2) {
1381 _pre_call_callback("glGetMultisamplefv", (void*)glGetMultisamplefv, 3, arg0, arg1, arg2);
1382 glad_glGetMultisamplefv(arg0, arg1, arg2);
1383 _post_call_callback("glGetMultisamplefv", (void*)glGetMultisamplefv, 3, arg0, arg1, arg2);
1384
1385 }
1386 PFNGLGETMULTISAMPLEFVPROC glad_debug_glGetMultisamplefv = glad_debug_impl_glGetMultisamplefv;
1387 PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog;
1388 void APIENTRY glad_debug_impl_glGetProgramInfoLog(GLuint arg0, GLsizei arg1, GLsizei * arg2, GLchar * arg3) {
1389 _pre_call_callback("glGetProgramInfoLog", (void*)glGetProgramInfoLog, 4, arg0, arg1, arg2, arg3);
1390 glad_glGetProgramInfoLog(arg0, arg1, arg2, arg3);
1391 _post_call_callback("glGetProgramInfoLog", (void*)glGetProgramInfoLog, 4, arg0, arg1, arg2, arg3);
1392
1393 }
1394 PFNGLGETPROGRAMINFOLOGPROC glad_debug_glGetProgramInfoLog = glad_debug_impl_glGetProgramInfoLog;
1395 PFNGLGETPROGRAMIVPROC glad_glGetProgramiv;
1396 void APIENTRY glad_debug_impl_glGetProgramiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1397 _pre_call_callback("glGetProgramiv", (void*)glGetProgramiv, 3, arg0, arg1, arg2);
1398 glad_glGetProgramiv(arg0, arg1, arg2);
1399 _post_call_callback("glGetProgramiv", (void*)glGetProgramiv, 3, arg0, arg1, arg2);
1400
1401 }
1402 PFNGLGETPROGRAMIVPROC glad_debug_glGetProgramiv = glad_debug_impl_glGetProgramiv;
1403 PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v;
1404 void APIENTRY glad_debug_impl_glGetQueryObjecti64v(GLuint arg0, GLenum arg1, GLint64 * arg2) {
1405 _pre_call_callback("glGetQueryObjecti64v", (void*)glGetQueryObjecti64v, 3, arg0, arg1, arg2);
1406 glad_glGetQueryObjecti64v(arg0, arg1, arg2);
1407 _post_call_callback("glGetQueryObjecti64v", (void*)glGetQueryObjecti64v, 3, arg0, arg1, arg2);
1408
1409 }
1410 PFNGLGETQUERYOBJECTI64VPROC glad_debug_glGetQueryObjecti64v = glad_debug_impl_glGetQueryObjecti64v;
1411 PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv;
1412 void APIENTRY glad_debug_impl_glGetQueryObjectiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1413 _pre_call_callback("glGetQueryObjectiv", (void*)glGetQueryObjectiv, 3, arg0, arg1, arg2);
1414 glad_glGetQueryObjectiv(arg0, arg1, arg2);
1415 _post_call_callback("glGetQueryObjectiv", (void*)glGetQueryObjectiv, 3, arg0, arg1, arg2);
1416
1417 }
1418 PFNGLGETQUERYOBJECTIVPROC glad_debug_glGetQueryObjectiv = glad_debug_impl_glGetQueryObjectiv;
1419 PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v;
1420 void APIENTRY glad_debug_impl_glGetQueryObjectui64v(GLuint arg0, GLenum arg1, GLuint64 * arg2) {
1421 _pre_call_callback("glGetQueryObjectui64v", (void*)glGetQueryObjectui64v, 3, arg0, arg1, arg2);
1422 glad_glGetQueryObjectui64v(arg0, arg1, arg2);
1423 _post_call_callback("glGetQueryObjectui64v", (void*)glGetQueryObjectui64v, 3, arg0, arg1, arg2);
1424
1425 }
1426 PFNGLGETQUERYOBJECTUI64VPROC glad_debug_glGetQueryObjectui64v = glad_debug_impl_glGetQueryObjectui64v;
1427 PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv;
1428 void APIENTRY glad_debug_impl_glGetQueryObjectuiv(GLuint arg0, GLenum arg1, GLuint * arg2) {
1429 _pre_call_callback("glGetQueryObjectuiv", (void*)glGetQueryObjectuiv, 3, arg0, arg1, arg2);
1430 glad_glGetQueryObjectuiv(arg0, arg1, arg2);
1431 _post_call_callback("glGetQueryObjectuiv", (void*)glGetQueryObjectuiv, 3, arg0, arg1, arg2);
1432
1433 }
1434 PFNGLGETQUERYOBJECTUIVPROC glad_debug_glGetQueryObjectuiv = glad_debug_impl_glGetQueryObjectuiv;
1435 PFNGLGETQUERYIVPROC glad_glGetQueryiv;
1436 void APIENTRY glad_debug_impl_glGetQueryiv(GLenum arg0, GLenum arg1, GLint * arg2) {
1437 _pre_call_callback("glGetQueryiv", (void*)glGetQueryiv, 3, arg0, arg1, arg2);
1438 glad_glGetQueryiv(arg0, arg1, arg2);
1439 _post_call_callback("glGetQueryiv", (void*)glGetQueryiv, 3, arg0, arg1, arg2);
1440
1441 }
1442 PFNGLGETQUERYIVPROC glad_debug_glGetQueryiv = glad_debug_impl_glGetQueryiv;
1443 PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv;
1444 void APIENTRY glad_debug_impl_glGetRenderbufferParameteriv(GLenum arg0, GLenum arg1, GLint * arg2) {
1445 _pre_call_callback("glGetRenderbufferParameteriv", (void*)glGetRenderbufferParameteriv, 3, arg0, arg1, arg2);
1446 glad_glGetRenderbufferParameteriv(arg0, arg1, arg2);
1447 _post_call_callback("glGetRenderbufferParameteriv", (void*)glGetRenderbufferParameteriv, 3, arg0, arg1, arg2);
1448
1449 }
1450 PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_debug_glGetRenderbufferParameteriv = glad_debug_impl_glGetRenderbufferParameteriv;
1451 PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv;
1452 void APIENTRY glad_debug_impl_glGetSamplerParameterIiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1453 _pre_call_callback("glGetSamplerParameterIiv", (void*)glGetSamplerParameterIiv, 3, arg0, arg1, arg2);
1454 glad_glGetSamplerParameterIiv(arg0, arg1, arg2);
1455 _post_call_callback("glGetSamplerParameterIiv", (void*)glGetSamplerParameterIiv, 3, arg0, arg1, arg2);
1456
1457 }
1458 PFNGLGETSAMPLERPARAMETERIIVPROC glad_debug_glGetSamplerParameterIiv = glad_debug_impl_glGetSamplerParameterIiv;
1459 PFNGLGETSAMPLERPARAMETERIUIVPROC glad_glGetSamplerParameterIuiv;
1460 void APIENTRY glad_debug_impl_glGetSamplerParameterIuiv(GLuint arg0, GLenum arg1, GLuint * arg2) {
1461 _pre_call_callback("glGetSamplerParameterIuiv", (void*)glGetSamplerParameterIuiv, 3, arg0, arg1, arg2);
1462 glad_glGetSamplerParameterIuiv(arg0, arg1, arg2);
1463 _post_call_callback("glGetSamplerParameterIuiv", (void*)glGetSamplerParameterIuiv, 3, arg0, arg1, arg2);
1464
1465 }
1466 PFNGLGETSAMPLERPARAMETERIUIVPROC glad_debug_glGetSamplerParameterIuiv = glad_debug_impl_glGetSamplerParameterIuiv;
1467 PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv;
1468 void APIENTRY glad_debug_impl_glGetSamplerParameterfv(GLuint arg0, GLenum arg1, GLfloat * arg2) {
1469 _pre_call_callback("glGetSamplerParameterfv", (void*)glGetSamplerParameterfv, 3, arg0, arg1, arg2);
1470 glad_glGetSamplerParameterfv(arg0, arg1, arg2);
1471 _post_call_callback("glGetSamplerParameterfv", (void*)glGetSamplerParameterfv, 3, arg0, arg1, arg2);
1472
1473 }
1474 PFNGLGETSAMPLERPARAMETERFVPROC glad_debug_glGetSamplerParameterfv = glad_debug_impl_glGetSamplerParameterfv;
1475 PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv;
1476 void APIENTRY glad_debug_impl_glGetSamplerParameteriv(GLuint arg0, GLenum arg1, GLint * arg2) {
1477 _pre_call_callback("glGetSamplerParameteriv", (void*)glGetSamplerParameteriv, 3, arg0, arg1, arg2);
1478 glad_glGetSamplerParameteriv(arg0, arg1, arg2);
1479 _post_call_callback("glGetSamplerParameteriv", (void*)glGetSamplerParameteriv, 3, arg0, arg1, arg2);
1480
1481 }
1482 PFNGLGETSAMPLERPARAMETERIVPROC glad_debug_glGetSamplerParameteriv = glad_debug_impl_glGetSamplerParameteriv;
1483 PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog;
1484 void APIENTRY glad_debug_impl_glGetShaderInfoLog(GLuint arg0, GLsizei arg1, GLsizei * arg2, GLchar * arg3) {
1485 _pre_call_callback("glGetShaderInfoLog", (void*)glGetShaderInfoLog, 4, arg0, arg1, arg2, arg3);
1486 glad_glGetShaderInfoLog(arg0, arg1, arg2, arg3);
1487 _post_call_callback("glGetShaderInfoLog", (void*)glGetShaderInfoLog, 4, arg0, arg1, arg2, arg3);
1488
1489 }
1490 PFNGLGETSHADERINFOLOGPROC glad_debug_glGetShaderInfoLog = glad_debug_impl_glGetShaderInfoLog;
1491 PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource;
1492 void APIENTRY glad_debug_impl_glGetShaderSource(GLuint arg0, GLsizei arg1, GLsizei * arg2, GLchar * arg3) {
1493 _pre_call_callback("glGetShaderSource", (void*)glGetShaderSource, 4, arg0, arg1, arg2, arg3);
1494 glad_glGetShaderSource(arg0, arg1, arg2, arg3);
1495 _post_call_callback("glGetShaderSource", (void*)glGetShaderSource, 4, arg0, arg1, arg2, arg3);
1496
1497 }
1498 PFNGLGETSHADERSOURCEPROC glad_debug_glGetShaderSource = glad_debug_impl_glGetShaderSource;
1499 PFNGLGETSHADERIVPROC glad_glGetShaderiv;
1500 void APIENTRY glad_debug_impl_glGetShaderiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1501 _pre_call_callback("glGetShaderiv", (void*)glGetShaderiv, 3, arg0, arg1, arg2);
1502 glad_glGetShaderiv(arg0, arg1, arg2);
1503 _post_call_callback("glGetShaderiv", (void*)glGetShaderiv, 3, arg0, arg1, arg2);
1504
1505 }
1506 PFNGLGETSHADERIVPROC glad_debug_glGetShaderiv = glad_debug_impl_glGetShaderiv;
1507 PFNGLGETSTRINGPROC glad_glGetString;
1508 const GLubyte * APIENTRY glad_debug_impl_glGetString(GLenum arg0) {
1509 const GLubyte * ret;
1510 _pre_call_callback("glGetString", (void*)glGetString, 1, arg0);
1511 ret = glad_glGetString(arg0);
1512 _post_call_callback("glGetString", (void*)glGetString, 1, arg0);
1513 return ret;
1514 }
1515 PFNGLGETSTRINGPROC glad_debug_glGetString = glad_debug_impl_glGetString;
1516 PFNGLGETSTRINGIPROC glad_glGetStringi;
1517 const GLubyte * APIENTRY glad_debug_impl_glGetStringi(GLenum arg0, GLuint arg1) {
1518 const GLubyte * ret;
1519 _pre_call_callback("glGetStringi", (void*)glGetStringi, 2, arg0, arg1);
1520 ret = glad_glGetStringi(arg0, arg1);
1521 _post_call_callback("glGetStringi", (void*)glGetStringi, 2, arg0, arg1);
1522 return ret;
1523 }
1524 PFNGLGETSTRINGIPROC glad_debug_glGetStringi = glad_debug_impl_glGetStringi;
1525 PFNGLGETSYNCIVPROC glad_glGetSynciv;
1526 void APIENTRY glad_debug_impl_glGetSynciv(GLsync arg0, GLenum arg1, GLsizei arg2, GLsizei * arg3, GLint * arg4) {
1527 _pre_call_callback("glGetSynciv", (void*)glGetSynciv, 5, arg0, arg1, arg2, arg3, arg4);
1528 glad_glGetSynciv(arg0, arg1, arg2, arg3, arg4);
1529 _post_call_callback("glGetSynciv", (void*)glGetSynciv, 5, arg0, arg1, arg2, arg3, arg4);
1530
1531 }
1532 PFNGLGETSYNCIVPROC glad_debug_glGetSynciv = glad_debug_impl_glGetSynciv;
1533 PFNGLGETTEXIMAGEPROC glad_glGetTexImage;
1534 void APIENTRY glad_debug_impl_glGetTexImage(GLenum arg0, GLint arg1, GLenum arg2, GLenum arg3, void * arg4) {
1535 _pre_call_callback("glGetTexImage", (void*)glGetTexImage, 5, arg0, arg1, arg2, arg3, arg4);
1536 glad_glGetTexImage(arg0, arg1, arg2, arg3, arg4);
1537 _post_call_callback("glGetTexImage", (void*)glGetTexImage, 5, arg0, arg1, arg2, arg3, arg4);
1538
1539 }
1540 PFNGLGETTEXIMAGEPROC glad_debug_glGetTexImage = glad_debug_impl_glGetTexImage;
1541 PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv;
1542 void APIENTRY glad_debug_impl_glGetTexLevelParameterfv(GLenum arg0, GLint arg1, GLenum arg2, GLfloat * arg3) {
1543 _pre_call_callback("glGetTexLevelParameterfv", (void*)glGetTexLevelParameterfv, 4, arg0, arg1, arg2, arg3);
1544 glad_glGetTexLevelParameterfv(arg0, arg1, arg2, arg3);
1545 _post_call_callback("glGetTexLevelParameterfv", (void*)glGetTexLevelParameterfv, 4, arg0, arg1, arg2, arg3);
1546
1547 }
1548 PFNGLGETTEXLEVELPARAMETERFVPROC glad_debug_glGetTexLevelParameterfv = glad_debug_impl_glGetTexLevelParameterfv;
1549 PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv;
1550 void APIENTRY glad_debug_impl_glGetTexLevelParameteriv(GLenum arg0, GLint arg1, GLenum arg2, GLint * arg3) {
1551 _pre_call_callback("glGetTexLevelParameteriv", (void*)glGetTexLevelParameteriv, 4, arg0, arg1, arg2, arg3);
1552 glad_glGetTexLevelParameteriv(arg0, arg1, arg2, arg3);
1553 _post_call_callback("glGetTexLevelParameteriv", (void*)glGetTexLevelParameteriv, 4, arg0, arg1, arg2, arg3);
1554
1555 }
1556 PFNGLGETTEXLEVELPARAMETERIVPROC glad_debug_glGetTexLevelParameteriv = glad_debug_impl_glGetTexLevelParameteriv;
1557 PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv;
1558 void APIENTRY glad_debug_impl_glGetTexParameterIiv(GLenum arg0, GLenum arg1, GLint * arg2) {
1559 _pre_call_callback("glGetTexParameterIiv", (void*)glGetTexParameterIiv, 3, arg0, arg1, arg2);
1560 glad_glGetTexParameterIiv(arg0, arg1, arg2);
1561 _post_call_callback("glGetTexParameterIiv", (void*)glGetTexParameterIiv, 3, arg0, arg1, arg2);
1562
1563 }
1564 PFNGLGETTEXPARAMETERIIVPROC glad_debug_glGetTexParameterIiv = glad_debug_impl_glGetTexParameterIiv;
1565 PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv;
1566 void APIENTRY glad_debug_impl_glGetTexParameterIuiv(GLenum arg0, GLenum arg1, GLuint * arg2) {
1567 _pre_call_callback("glGetTexParameterIuiv", (void*)glGetTexParameterIuiv, 3, arg0, arg1, arg2);
1568 glad_glGetTexParameterIuiv(arg0, arg1, arg2);
1569 _post_call_callback("glGetTexParameterIuiv", (void*)glGetTexParameterIuiv, 3, arg0, arg1, arg2);
1570
1571 }
1572 PFNGLGETTEXPARAMETERIUIVPROC glad_debug_glGetTexParameterIuiv = glad_debug_impl_glGetTexParameterIuiv;
1573 PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv;
1574 void APIENTRY glad_debug_impl_glGetTexParameterfv(GLenum arg0, GLenum arg1, GLfloat * arg2) {
1575 _pre_call_callback("glGetTexParameterfv", (void*)glGetTexParameterfv, 3, arg0, arg1, arg2);
1576 glad_glGetTexParameterfv(arg0, arg1, arg2);
1577 _post_call_callback("glGetTexParameterfv", (void*)glGetTexParameterfv, 3, arg0, arg1, arg2);
1578
1579 }
1580 PFNGLGETTEXPARAMETERFVPROC glad_debug_glGetTexParameterfv = glad_debug_impl_glGetTexParameterfv;
1581 PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv;
1582 void APIENTRY glad_debug_impl_glGetTexParameteriv(GLenum arg0, GLenum arg1, GLint * arg2) {
1583 _pre_call_callback("glGetTexParameteriv", (void*)glGetTexParameteriv, 3, arg0, arg1, arg2);
1584 glad_glGetTexParameteriv(arg0, arg1, arg2);
1585 _post_call_callback("glGetTexParameteriv", (void*)glGetTexParameteriv, 3, arg0, arg1, arg2);
1586
1587 }
1588 PFNGLGETTEXPARAMETERIVPROC glad_debug_glGetTexParameteriv = glad_debug_impl_glGetTexParameteriv;
1589 PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying;
1590 void APIENTRY glad_debug_impl_glGetTransformFeedbackVarying(GLuint arg0, GLuint arg1, GLsizei arg2, GLsizei * arg3, GLsizei * arg4, GLenum * arg5, GLchar * arg6) {
1591 _pre_call_callback("glGetTransformFeedbackVarying", (void*)glGetTransformFeedbackVarying, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1592 glad_glGetTransformFeedbackVarying(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1593 _post_call_callback("glGetTransformFeedbackVarying", (void*)glGetTransformFeedbackVarying, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
1594
1595 }
1596 PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_debug_glGetTransformFeedbackVarying = glad_debug_impl_glGetTransformFeedbackVarying;
1597 PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex;
1598 GLuint APIENTRY glad_debug_impl_glGetUniformBlockIndex(GLuint arg0, const GLchar * arg1) {
1599 GLuint ret;
1600 _pre_call_callback("glGetUniformBlockIndex", (void*)glGetUniformBlockIndex, 2, arg0, arg1);
1601 ret = glad_glGetUniformBlockIndex(arg0, arg1);
1602 _post_call_callback("glGetUniformBlockIndex", (void*)glGetUniformBlockIndex, 2, arg0, arg1);
1603 return ret;
1604 }
1605 PFNGLGETUNIFORMBLOCKINDEXPROC glad_debug_glGetUniformBlockIndex = glad_debug_impl_glGetUniformBlockIndex;
1606 PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices;
1607 void APIENTRY glad_debug_impl_glGetUniformIndices(GLuint arg0, GLsizei arg1, const GLchar *const* arg2, GLuint * arg3) {
1608 _pre_call_callback("glGetUniformIndices", (void*)glGetUniformIndices, 4, arg0, arg1, arg2, arg3);
1609 glad_glGetUniformIndices(arg0, arg1, arg2, arg3);
1610 _post_call_callback("glGetUniformIndices", (void*)glGetUniformIndices, 4, arg0, arg1, arg2, arg3);
1611
1612 }
1613 PFNGLGETUNIFORMINDICESPROC glad_debug_glGetUniformIndices = glad_debug_impl_glGetUniformIndices;
1614 PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation;
1615 GLint APIENTRY glad_debug_impl_glGetUniformLocation(GLuint arg0, const GLchar * arg1) {
1616 GLint ret;
1617 _pre_call_callback("glGetUniformLocation", (void*)glGetUniformLocation, 2, arg0, arg1);
1618 ret = glad_glGetUniformLocation(arg0, arg1);
1619 _post_call_callback("glGetUniformLocation", (void*)glGetUniformLocation, 2, arg0, arg1);
1620 return ret;
1621 }
1622 PFNGLGETUNIFORMLOCATIONPROC glad_debug_glGetUniformLocation = glad_debug_impl_glGetUniformLocation;
1623 PFNGLGETUNIFORMFVPROC glad_glGetUniformfv;
1624 void APIENTRY glad_debug_impl_glGetUniformfv(GLuint arg0, GLint arg1, GLfloat * arg2) {
1625 _pre_call_callback("glGetUniformfv", (void*)glGetUniformfv, 3, arg0, arg1, arg2);
1626 glad_glGetUniformfv(arg0, arg1, arg2);
1627 _post_call_callback("glGetUniformfv", (void*)glGetUniformfv, 3, arg0, arg1, arg2);
1628
1629 }
1630 PFNGLGETUNIFORMFVPROC glad_debug_glGetUniformfv = glad_debug_impl_glGetUniformfv;
1631 PFNGLGETUNIFORMIVPROC glad_glGetUniformiv;
1632 void APIENTRY glad_debug_impl_glGetUniformiv(GLuint arg0, GLint arg1, GLint * arg2) {
1633 _pre_call_callback("glGetUniformiv", (void*)glGetUniformiv, 3, arg0, arg1, arg2);
1634 glad_glGetUniformiv(arg0, arg1, arg2);
1635 _post_call_callback("glGetUniformiv", (void*)glGetUniformiv, 3, arg0, arg1, arg2);
1636
1637 }
1638 PFNGLGETUNIFORMIVPROC glad_debug_glGetUniformiv = glad_debug_impl_glGetUniformiv;
1639 PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv;
1640 void APIENTRY glad_debug_impl_glGetUniformuiv(GLuint arg0, GLint arg1, GLuint * arg2) {
1641 _pre_call_callback("glGetUniformuiv", (void*)glGetUniformuiv, 3, arg0, arg1, arg2);
1642 glad_glGetUniformuiv(arg0, arg1, arg2);
1643 _post_call_callback("glGetUniformuiv", (void*)glGetUniformuiv, 3, arg0, arg1, arg2);
1644
1645 }
1646 PFNGLGETUNIFORMUIVPROC glad_debug_glGetUniformuiv = glad_debug_impl_glGetUniformuiv;
1647 PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv;
1648 void APIENTRY glad_debug_impl_glGetVertexAttribIiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1649 _pre_call_callback("glGetVertexAttribIiv", (void*)glGetVertexAttribIiv, 3, arg0, arg1, arg2);
1650 glad_glGetVertexAttribIiv(arg0, arg1, arg2);
1651 _post_call_callback("glGetVertexAttribIiv", (void*)glGetVertexAttribIiv, 3, arg0, arg1, arg2);
1652
1653 }
1654 PFNGLGETVERTEXATTRIBIIVPROC glad_debug_glGetVertexAttribIiv = glad_debug_impl_glGetVertexAttribIiv;
1655 PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv;
1656 void APIENTRY glad_debug_impl_glGetVertexAttribIuiv(GLuint arg0, GLenum arg1, GLuint * arg2) {
1657 _pre_call_callback("glGetVertexAttribIuiv", (void*)glGetVertexAttribIuiv, 3, arg0, arg1, arg2);
1658 glad_glGetVertexAttribIuiv(arg0, arg1, arg2);
1659 _post_call_callback("glGetVertexAttribIuiv", (void*)glGetVertexAttribIuiv, 3, arg0, arg1, arg2);
1660
1661 }
1662 PFNGLGETVERTEXATTRIBIUIVPROC glad_debug_glGetVertexAttribIuiv = glad_debug_impl_glGetVertexAttribIuiv;
1663 PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv;
1664 void APIENTRY glad_debug_impl_glGetVertexAttribPointerv(GLuint arg0, GLenum arg1, void ** arg2) {
1665 _pre_call_callback("glGetVertexAttribPointerv", (void*)glGetVertexAttribPointerv, 3, arg0, arg1, arg2);
1666 glad_glGetVertexAttribPointerv(arg0, arg1, arg2);
1667 _post_call_callback("glGetVertexAttribPointerv", (void*)glGetVertexAttribPointerv, 3, arg0, arg1, arg2);
1668
1669 }
1670 PFNGLGETVERTEXATTRIBPOINTERVPROC glad_debug_glGetVertexAttribPointerv = glad_debug_impl_glGetVertexAttribPointerv;
1671 PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv;
1672 void APIENTRY glad_debug_impl_glGetVertexAttribdv(GLuint arg0, GLenum arg1, GLdouble * arg2) {
1673 _pre_call_callback("glGetVertexAttribdv", (void*)glGetVertexAttribdv, 3, arg0, arg1, arg2);
1674 glad_glGetVertexAttribdv(arg0, arg1, arg2);
1675 _post_call_callback("glGetVertexAttribdv", (void*)glGetVertexAttribdv, 3, arg0, arg1, arg2);
1676
1677 }
1678 PFNGLGETVERTEXATTRIBDVPROC glad_debug_glGetVertexAttribdv = glad_debug_impl_glGetVertexAttribdv;
1679 PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv;
1680 void APIENTRY glad_debug_impl_glGetVertexAttribfv(GLuint arg0, GLenum arg1, GLfloat * arg2) {
1681 _pre_call_callback("glGetVertexAttribfv", (void*)glGetVertexAttribfv, 3, arg0, arg1, arg2);
1682 glad_glGetVertexAttribfv(arg0, arg1, arg2);
1683 _post_call_callback("glGetVertexAttribfv", (void*)glGetVertexAttribfv, 3, arg0, arg1, arg2);
1684
1685 }
1686 PFNGLGETVERTEXATTRIBFVPROC glad_debug_glGetVertexAttribfv = glad_debug_impl_glGetVertexAttribfv;
1687 PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv;
1688 void APIENTRY glad_debug_impl_glGetVertexAttribiv(GLuint arg0, GLenum arg1, GLint * arg2) {
1689 _pre_call_callback("glGetVertexAttribiv", (void*)glGetVertexAttribiv, 3, arg0, arg1, arg2);
1690 glad_glGetVertexAttribiv(arg0, arg1, arg2);
1691 _post_call_callback("glGetVertexAttribiv", (void*)glGetVertexAttribiv, 3, arg0, arg1, arg2);
1692
1693 }
1694 PFNGLGETVERTEXATTRIBIVPROC glad_debug_glGetVertexAttribiv = glad_debug_impl_glGetVertexAttribiv;
1695 PFNGLHINTPROC glad_glHint;
1696 void APIENTRY glad_debug_impl_glHint(GLenum arg0, GLenum arg1) {
1697 _pre_call_callback("glHint", (void*)glHint, 2, arg0, arg1);
1698 glad_glHint(arg0, arg1);
1699 _post_call_callback("glHint", (void*)glHint, 2, arg0, arg1);
1700
1701 }
1702 PFNGLHINTPROC glad_debug_glHint = glad_debug_impl_glHint;
1703 PFNGLISBUFFERPROC glad_glIsBuffer;
1704 GLboolean APIENTRY glad_debug_impl_glIsBuffer(GLuint arg0) {
1705 GLboolean ret;
1706 _pre_call_callback("glIsBuffer", (void*)glIsBuffer, 1, arg0);
1707 ret = glad_glIsBuffer(arg0);
1708 _post_call_callback("glIsBuffer", (void*)glIsBuffer, 1, arg0);
1709 return ret;
1710 }
1711 PFNGLISBUFFERPROC glad_debug_glIsBuffer = glad_debug_impl_glIsBuffer;
1712 PFNGLISENABLEDPROC glad_glIsEnabled;
1713 GLboolean APIENTRY glad_debug_impl_glIsEnabled(GLenum arg0) {
1714 GLboolean ret;
1715 _pre_call_callback("glIsEnabled", (void*)glIsEnabled, 1, arg0);
1716 ret = glad_glIsEnabled(arg0);
1717 _post_call_callback("glIsEnabled", (void*)glIsEnabled, 1, arg0);
1718 return ret;
1719 }
1720 PFNGLISENABLEDPROC glad_debug_glIsEnabled = glad_debug_impl_glIsEnabled;
1721 PFNGLISENABLEDIPROC glad_glIsEnabledi;
1722 GLboolean APIENTRY glad_debug_impl_glIsEnabledi(GLenum arg0, GLuint arg1) {
1723 GLboolean ret;
1724 _pre_call_callback("glIsEnabledi", (void*)glIsEnabledi, 2, arg0, arg1);
1725 ret = glad_glIsEnabledi(arg0, arg1);
1726 _post_call_callback("glIsEnabledi", (void*)glIsEnabledi, 2, arg0, arg1);
1727 return ret;
1728 }
1729 PFNGLISENABLEDIPROC glad_debug_glIsEnabledi = glad_debug_impl_glIsEnabledi;
1730 PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer;
1731 GLboolean APIENTRY glad_debug_impl_glIsFramebuffer(GLuint arg0) {
1732 GLboolean ret;
1733 _pre_call_callback("glIsFramebuffer", (void*)glIsFramebuffer, 1, arg0);
1734 ret = glad_glIsFramebuffer(arg0);
1735 _post_call_callback("glIsFramebuffer", (void*)glIsFramebuffer, 1, arg0);
1736 return ret;
1737 }
1738 PFNGLISFRAMEBUFFERPROC glad_debug_glIsFramebuffer = glad_debug_impl_glIsFramebuffer;
1739 PFNGLISPROGRAMPROC glad_glIsProgram;
1740 GLboolean APIENTRY glad_debug_impl_glIsProgram(GLuint arg0) {
1741 GLboolean ret;
1742 _pre_call_callback("glIsProgram", (void*)glIsProgram, 1, arg0);
1743 ret = glad_glIsProgram(arg0);
1744 _post_call_callback("glIsProgram", (void*)glIsProgram, 1, arg0);
1745 return ret;
1746 }
1747 PFNGLISPROGRAMPROC glad_debug_glIsProgram = glad_debug_impl_glIsProgram;
1748 PFNGLISQUERYPROC glad_glIsQuery;
1749 GLboolean APIENTRY glad_debug_impl_glIsQuery(GLuint arg0) {
1750 GLboolean ret;
1751 _pre_call_callback("glIsQuery", (void*)glIsQuery, 1, arg0);
1752 ret = glad_glIsQuery(arg0);
1753 _post_call_callback("glIsQuery", (void*)glIsQuery, 1, arg0);
1754 return ret;
1755 }
1756 PFNGLISQUERYPROC glad_debug_glIsQuery = glad_debug_impl_glIsQuery;
1757 PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer;
1758 GLboolean APIENTRY glad_debug_impl_glIsRenderbuffer(GLuint arg0) {
1759 GLboolean ret;
1760 _pre_call_callback("glIsRenderbuffer", (void*)glIsRenderbuffer, 1, arg0);
1761 ret = glad_glIsRenderbuffer(arg0);
1762 _post_call_callback("glIsRenderbuffer", (void*)glIsRenderbuffer, 1, arg0);
1763 return ret;
1764 }
1765 PFNGLISRENDERBUFFERPROC glad_debug_glIsRenderbuffer = glad_debug_impl_glIsRenderbuffer;
1766 PFNGLISSAMPLERPROC glad_glIsSampler;
1767 GLboolean APIENTRY glad_debug_impl_glIsSampler(GLuint arg0) {
1768 GLboolean ret;
1769 _pre_call_callback("glIsSampler", (void*)glIsSampler, 1, arg0);
1770 ret = glad_glIsSampler(arg0);
1771 _post_call_callback("glIsSampler", (void*)glIsSampler, 1, arg0);
1772 return ret;
1773 }
1774 PFNGLISSAMPLERPROC glad_debug_glIsSampler = glad_debug_impl_glIsSampler;
1775 PFNGLISSHADERPROC glad_glIsShader;
1776 GLboolean APIENTRY glad_debug_impl_glIsShader(GLuint arg0) {
1777 GLboolean ret;
1778 _pre_call_callback("glIsShader", (void*)glIsShader, 1, arg0);
1779 ret = glad_glIsShader(arg0);
1780 _post_call_callback("glIsShader", (void*)glIsShader, 1, arg0);
1781 return ret;
1782 }
1783 PFNGLISSHADERPROC glad_debug_glIsShader = glad_debug_impl_glIsShader;
1784 PFNGLISSYNCPROC glad_glIsSync;
1785 GLboolean APIENTRY glad_debug_impl_glIsSync(GLsync arg0) {
1786 GLboolean ret;
1787 _pre_call_callback("glIsSync", (void*)glIsSync, 1, arg0);
1788 ret = glad_glIsSync(arg0);
1789 _post_call_callback("glIsSync", (void*)glIsSync, 1, arg0);
1790 return ret;
1791 }
1792 PFNGLISSYNCPROC glad_debug_glIsSync = glad_debug_impl_glIsSync;
1793 PFNGLISTEXTUREPROC glad_glIsTexture;
1794 GLboolean APIENTRY glad_debug_impl_glIsTexture(GLuint arg0) {
1795 GLboolean ret;
1796 _pre_call_callback("glIsTexture", (void*)glIsTexture, 1, arg0);
1797 ret = glad_glIsTexture(arg0);
1798 _post_call_callback("glIsTexture", (void*)glIsTexture, 1, arg0);
1799 return ret;
1800 }
1801 PFNGLISTEXTUREPROC glad_debug_glIsTexture = glad_debug_impl_glIsTexture;
1802 PFNGLISVERTEXARRAYPROC glad_glIsVertexArray;
1803 GLboolean APIENTRY glad_debug_impl_glIsVertexArray(GLuint arg0) {
1804 GLboolean ret;
1805 _pre_call_callback("glIsVertexArray", (void*)glIsVertexArray, 1, arg0);
1806 ret = glad_glIsVertexArray(arg0);
1807 _post_call_callback("glIsVertexArray", (void*)glIsVertexArray, 1, arg0);
1808 return ret;
1809 }
1810 PFNGLISVERTEXARRAYPROC glad_debug_glIsVertexArray = glad_debug_impl_glIsVertexArray;
1811 PFNGLLINEWIDTHPROC glad_glLineWidth;
1812 void APIENTRY glad_debug_impl_glLineWidth(GLfloat arg0) {
1813 _pre_call_callback("glLineWidth", (void*)glLineWidth, 1, arg0);
1814 glad_glLineWidth(arg0);
1815 _post_call_callback("glLineWidth", (void*)glLineWidth, 1, arg0);
1816
1817 }
1818 PFNGLLINEWIDTHPROC glad_debug_glLineWidth = glad_debug_impl_glLineWidth;
1819 PFNGLLINKPROGRAMPROC glad_glLinkProgram;
1820 void APIENTRY glad_debug_impl_glLinkProgram(GLuint arg0) {
1821 _pre_call_callback("glLinkProgram", (void*)glLinkProgram, 1, arg0);
1822 glad_glLinkProgram(arg0);
1823 _post_call_callback("glLinkProgram", (void*)glLinkProgram, 1, arg0);
1824
1825 }
1826 PFNGLLINKPROGRAMPROC glad_debug_glLinkProgram = glad_debug_impl_glLinkProgram;
1827 PFNGLLOGICOPPROC glad_glLogicOp;
1828 void APIENTRY glad_debug_impl_glLogicOp(GLenum arg0) {
1829 _pre_call_callback("glLogicOp", (void*)glLogicOp, 1, arg0);
1830 glad_glLogicOp(arg0);
1831 _post_call_callback("glLogicOp", (void*)glLogicOp, 1, arg0);
1832
1833 }
1834 PFNGLLOGICOPPROC glad_debug_glLogicOp = glad_debug_impl_glLogicOp;
1835 PFNGLMAPBUFFERPROC glad_glMapBuffer;
1836 void * APIENTRY glad_debug_impl_glMapBuffer(GLenum arg0, GLenum arg1) {
1837 void * ret;
1838 _pre_call_callback("glMapBuffer", (void*)glMapBuffer, 2, arg0, arg1);
1839 ret = glad_glMapBuffer(arg0, arg1);
1840 _post_call_callback("glMapBuffer", (void*)glMapBuffer, 2, arg0, arg1);
1841 return ret;
1842 }
1843 PFNGLMAPBUFFERPROC glad_debug_glMapBuffer = glad_debug_impl_glMapBuffer;
1844 PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange;
1845 void * APIENTRY glad_debug_impl_glMapBufferRange(GLenum arg0, GLintptr arg1, GLsizeiptr arg2, GLbitfield arg3) {
1846 void * ret;
1847 _pre_call_callback("glMapBufferRange", (void*)glMapBufferRange, 4, arg0, arg1, arg2, arg3);
1848 ret = glad_glMapBufferRange(arg0, arg1, arg2, arg3);
1849 _post_call_callback("glMapBufferRange", (void*)glMapBufferRange, 4, arg0, arg1, arg2, arg3);
1850 return ret;
1851 }
1852 PFNGLMAPBUFFERRANGEPROC glad_debug_glMapBufferRange = glad_debug_impl_glMapBufferRange;
1853 PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays;
1854 void APIENTRY glad_debug_impl_glMultiDrawArrays(GLenum arg0, const GLint * arg1, const GLsizei * arg2, GLsizei arg3) {
1855 _pre_call_callback("glMultiDrawArrays", (void*)glMultiDrawArrays, 4, arg0, arg1, arg2, arg3);
1856 glad_glMultiDrawArrays(arg0, arg1, arg2, arg3);
1857 _post_call_callback("glMultiDrawArrays", (void*)glMultiDrawArrays, 4, arg0, arg1, arg2, arg3);
1858
1859 }
1860 PFNGLMULTIDRAWARRAYSPROC glad_debug_glMultiDrawArrays = glad_debug_impl_glMultiDrawArrays;
1861 PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements;
1862 void APIENTRY glad_debug_impl_glMultiDrawElements(GLenum arg0, const GLsizei * arg1, GLenum arg2, const void *const* arg3, GLsizei arg4) {
1863 _pre_call_callback("glMultiDrawElements", (void*)glMultiDrawElements, 5, arg0, arg1, arg2, arg3, arg4);
1864 glad_glMultiDrawElements(arg0, arg1, arg2, arg3, arg4);
1865 _post_call_callback("glMultiDrawElements", (void*)glMultiDrawElements, 5, arg0, arg1, arg2, arg3, arg4);
1866
1867 }
1868 PFNGLMULTIDRAWELEMENTSPROC glad_debug_glMultiDrawElements = glad_debug_impl_glMultiDrawElements;
1869 PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex;
1870 void APIENTRY glad_debug_impl_glMultiDrawElementsBaseVertex(GLenum arg0, const GLsizei * arg1, GLenum arg2, const void *const* arg3, GLsizei arg4, const GLint * arg5) {
1871 _pre_call_callback("glMultiDrawElementsBaseVertex", (void*)glMultiDrawElementsBaseVertex, 6, arg0, arg1, arg2, arg3, arg4, arg5);
1872 glad_glMultiDrawElementsBaseVertex(arg0, arg1, arg2, arg3, arg4, arg5);
1873 _post_call_callback("glMultiDrawElementsBaseVertex", (void*)glMultiDrawElementsBaseVertex, 6, arg0, arg1, arg2, arg3, arg4, arg5);
1874
1875 }
1876 PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_debug_glMultiDrawElementsBaseVertex = glad_debug_impl_glMultiDrawElementsBaseVertex;
1877 PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui;
1878 void APIENTRY glad_debug_impl_glMultiTexCoordP1ui(GLenum arg0, GLenum arg1, GLuint arg2) {
1879 _pre_call_callback("glMultiTexCoordP1ui", (void*)glMultiTexCoordP1ui, 3, arg0, arg1, arg2);
1880 glad_glMultiTexCoordP1ui(arg0, arg1, arg2);
1881 _post_call_callback("glMultiTexCoordP1ui", (void*)glMultiTexCoordP1ui, 3, arg0, arg1, arg2);
1882
1883 }
1884 PFNGLMULTITEXCOORDP1UIPROC glad_debug_glMultiTexCoordP1ui = glad_debug_impl_glMultiTexCoordP1ui;
1885 PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv;
1886 void APIENTRY glad_debug_impl_glMultiTexCoordP1uiv(GLenum arg0, GLenum arg1, const GLuint * arg2) {
1887 _pre_call_callback("glMultiTexCoordP1uiv", (void*)glMultiTexCoordP1uiv, 3, arg0, arg1, arg2);
1888 glad_glMultiTexCoordP1uiv(arg0, arg1, arg2);
1889 _post_call_callback("glMultiTexCoordP1uiv", (void*)glMultiTexCoordP1uiv, 3, arg0, arg1, arg2);
1890
1891 }
1892 PFNGLMULTITEXCOORDP1UIVPROC glad_debug_glMultiTexCoordP1uiv = glad_debug_impl_glMultiTexCoordP1uiv;
1893 PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui;
1894 void APIENTRY glad_debug_impl_glMultiTexCoordP2ui(GLenum arg0, GLenum arg1, GLuint arg2) {
1895 _pre_call_callback("glMultiTexCoordP2ui", (void*)glMultiTexCoordP2ui, 3, arg0, arg1, arg2);
1896 glad_glMultiTexCoordP2ui(arg0, arg1, arg2);
1897 _post_call_callback("glMultiTexCoordP2ui", (void*)glMultiTexCoordP2ui, 3, arg0, arg1, arg2);
1898
1899 }
1900 PFNGLMULTITEXCOORDP2UIPROC glad_debug_glMultiTexCoordP2ui = glad_debug_impl_glMultiTexCoordP2ui;
1901 PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv;
1902 void APIENTRY glad_debug_impl_glMultiTexCoordP2uiv(GLenum arg0, GLenum arg1, const GLuint * arg2) {
1903 _pre_call_callback("glMultiTexCoordP2uiv", (void*)glMultiTexCoordP2uiv, 3, arg0, arg1, arg2);
1904 glad_glMultiTexCoordP2uiv(arg0, arg1, arg2);
1905 _post_call_callback("glMultiTexCoordP2uiv", (void*)glMultiTexCoordP2uiv, 3, arg0, arg1, arg2);
1906
1907 }
1908 PFNGLMULTITEXCOORDP2UIVPROC glad_debug_glMultiTexCoordP2uiv = glad_debug_impl_glMultiTexCoordP2uiv;
1909 PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui;
1910 void APIENTRY glad_debug_impl_glMultiTexCoordP3ui(GLenum arg0, GLenum arg1, GLuint arg2) {
1911 _pre_call_callback("glMultiTexCoordP3ui", (void*)glMultiTexCoordP3ui, 3, arg0, arg1, arg2);
1912 glad_glMultiTexCoordP3ui(arg0, arg1, arg2);
1913 _post_call_callback("glMultiTexCoordP3ui", (void*)glMultiTexCoordP3ui, 3, arg0, arg1, arg2);
1914
1915 }
1916 PFNGLMULTITEXCOORDP3UIPROC glad_debug_glMultiTexCoordP3ui = glad_debug_impl_glMultiTexCoordP3ui;
1917 PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv;
1918 void APIENTRY glad_debug_impl_glMultiTexCoordP3uiv(GLenum arg0, GLenum arg1, const GLuint * arg2) {
1919 _pre_call_callback("glMultiTexCoordP3uiv", (void*)glMultiTexCoordP3uiv, 3, arg0, arg1, arg2);
1920 glad_glMultiTexCoordP3uiv(arg0, arg1, arg2);
1921 _post_call_callback("glMultiTexCoordP3uiv", (void*)glMultiTexCoordP3uiv, 3, arg0, arg1, arg2);
1922
1923 }
1924 PFNGLMULTITEXCOORDP3UIVPROC glad_debug_glMultiTexCoordP3uiv = glad_debug_impl_glMultiTexCoordP3uiv;
1925 PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui;
1926 void APIENTRY glad_debug_impl_glMultiTexCoordP4ui(GLenum arg0, GLenum arg1, GLuint arg2) {
1927 _pre_call_callback("glMultiTexCoordP4ui", (void*)glMultiTexCoordP4ui, 3, arg0, arg1, arg2);
1928 glad_glMultiTexCoordP4ui(arg0, arg1, arg2);
1929 _post_call_callback("glMultiTexCoordP4ui", (void*)glMultiTexCoordP4ui, 3, arg0, arg1, arg2);
1930
1931 }
1932 PFNGLMULTITEXCOORDP4UIPROC glad_debug_glMultiTexCoordP4ui = glad_debug_impl_glMultiTexCoordP4ui;
1933 PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv;
1934 void APIENTRY glad_debug_impl_glMultiTexCoordP4uiv(GLenum arg0, GLenum arg1, const GLuint * arg2) {
1935 _pre_call_callback("glMultiTexCoordP4uiv", (void*)glMultiTexCoordP4uiv, 3, arg0, arg1, arg2);
1936 glad_glMultiTexCoordP4uiv(arg0, arg1, arg2);
1937 _post_call_callback("glMultiTexCoordP4uiv", (void*)glMultiTexCoordP4uiv, 3, arg0, arg1, arg2);
1938
1939 }
1940 PFNGLMULTITEXCOORDP4UIVPROC glad_debug_glMultiTexCoordP4uiv = glad_debug_impl_glMultiTexCoordP4uiv;
1941 PFNGLNORMALP3UIPROC glad_glNormalP3ui;
1942 void APIENTRY glad_debug_impl_glNormalP3ui(GLenum arg0, GLuint arg1) {
1943 _pre_call_callback("glNormalP3ui", (void*)glNormalP3ui, 2, arg0, arg1);
1944 glad_glNormalP3ui(arg0, arg1);
1945 _post_call_callback("glNormalP3ui", (void*)glNormalP3ui, 2, arg0, arg1);
1946
1947 }
1948 PFNGLNORMALP3UIPROC glad_debug_glNormalP3ui = glad_debug_impl_glNormalP3ui;
1949 PFNGLNORMALP3UIVPROC glad_glNormalP3uiv;
1950 void APIENTRY glad_debug_impl_glNormalP3uiv(GLenum arg0, const GLuint * arg1) {
1951 _pre_call_callback("glNormalP3uiv", (void*)glNormalP3uiv, 2, arg0, arg1);
1952 glad_glNormalP3uiv(arg0, arg1);
1953 _post_call_callback("glNormalP3uiv", (void*)glNormalP3uiv, 2, arg0, arg1);
1954
1955 }
1956 PFNGLNORMALP3UIVPROC glad_debug_glNormalP3uiv = glad_debug_impl_glNormalP3uiv;
1957 PFNGLPIXELSTOREFPROC glad_glPixelStoref;
1958 void APIENTRY glad_debug_impl_glPixelStoref(GLenum arg0, GLfloat arg1) {
1959 _pre_call_callback("glPixelStoref", (void*)glPixelStoref, 2, arg0, arg1);
1960 glad_glPixelStoref(arg0, arg1);
1961 _post_call_callback("glPixelStoref", (void*)glPixelStoref, 2, arg0, arg1);
1962
1963 }
1964 PFNGLPIXELSTOREFPROC glad_debug_glPixelStoref = glad_debug_impl_glPixelStoref;
1965 PFNGLPIXELSTOREIPROC glad_glPixelStorei;
1966 void APIENTRY glad_debug_impl_glPixelStorei(GLenum arg0, GLint arg1) {
1967 _pre_call_callback("glPixelStorei", (void*)glPixelStorei, 2, arg0, arg1);
1968 glad_glPixelStorei(arg0, arg1);
1969 _post_call_callback("glPixelStorei", (void*)glPixelStorei, 2, arg0, arg1);
1970
1971 }
1972 PFNGLPIXELSTOREIPROC glad_debug_glPixelStorei = glad_debug_impl_glPixelStorei;
1973 PFNGLPOINTPARAMETERFPROC glad_glPointParameterf;
1974 void APIENTRY glad_debug_impl_glPointParameterf(GLenum arg0, GLfloat arg1) {
1975 _pre_call_callback("glPointParameterf", (void*)glPointParameterf, 2, arg0, arg1);
1976 glad_glPointParameterf(arg0, arg1);
1977 _post_call_callback("glPointParameterf", (void*)glPointParameterf, 2, arg0, arg1);
1978
1979 }
1980 PFNGLPOINTPARAMETERFPROC glad_debug_glPointParameterf = glad_debug_impl_glPointParameterf;
1981 PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv;
1982 void APIENTRY glad_debug_impl_glPointParameterfv(GLenum arg0, const GLfloat * arg1) {
1983 _pre_call_callback("glPointParameterfv", (void*)glPointParameterfv, 2, arg0, arg1);
1984 glad_glPointParameterfv(arg0, arg1);
1985 _post_call_callback("glPointParameterfv", (void*)glPointParameterfv, 2, arg0, arg1);
1986
1987 }
1988 PFNGLPOINTPARAMETERFVPROC glad_debug_glPointParameterfv = glad_debug_impl_glPointParameterfv;
1989 PFNGLPOINTPARAMETERIPROC glad_glPointParameteri;
1990 void APIENTRY glad_debug_impl_glPointParameteri(GLenum arg0, GLint arg1) {
1991 _pre_call_callback("glPointParameteri", (void*)glPointParameteri, 2, arg0, arg1);
1992 glad_glPointParameteri(arg0, arg1);
1993 _post_call_callback("glPointParameteri", (void*)glPointParameteri, 2, arg0, arg1);
1994
1995 }
1996 PFNGLPOINTPARAMETERIPROC glad_debug_glPointParameteri = glad_debug_impl_glPointParameteri;
1997 PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv;
1998 void APIENTRY glad_debug_impl_glPointParameteriv(GLenum arg0, const GLint * arg1) {
1999 _pre_call_callback("glPointParameteriv", (void*)glPointParameteriv, 2, arg0, arg1);
2000 glad_glPointParameteriv(arg0, arg1);
2001 _post_call_callback("glPointParameteriv", (void*)glPointParameteriv, 2, arg0, arg1);
2002
2003 }
2004 PFNGLPOINTPARAMETERIVPROC glad_debug_glPointParameteriv = glad_debug_impl_glPointParameteriv;
2005 PFNGLPOINTSIZEPROC glad_glPointSize;
2006 void APIENTRY glad_debug_impl_glPointSize(GLfloat arg0) {
2007 _pre_call_callback("glPointSize", (void*)glPointSize, 1, arg0);
2008 glad_glPointSize(arg0);
2009 _post_call_callback("glPointSize", (void*)glPointSize, 1, arg0);
2010
2011 }
2012 PFNGLPOINTSIZEPROC glad_debug_glPointSize = glad_debug_impl_glPointSize;
2013 PFNGLPOLYGONMODEPROC glad_glPolygonMode;
2014 void APIENTRY glad_debug_impl_glPolygonMode(GLenum arg0, GLenum arg1) {
2015 _pre_call_callback("glPolygonMode", (void*)glPolygonMode, 2, arg0, arg1);
2016 glad_glPolygonMode(arg0, arg1);
2017 _post_call_callback("glPolygonMode", (void*)glPolygonMode, 2, arg0, arg1);
2018
2019 }
2020 PFNGLPOLYGONMODEPROC glad_debug_glPolygonMode = glad_debug_impl_glPolygonMode;
2021 PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset;
2022 void APIENTRY glad_debug_impl_glPolygonOffset(GLfloat arg0, GLfloat arg1) {
2023 _pre_call_callback("glPolygonOffset", (void*)glPolygonOffset, 2, arg0, arg1);
2024 glad_glPolygonOffset(arg0, arg1);
2025 _post_call_callback("glPolygonOffset", (void*)glPolygonOffset, 2, arg0, arg1);
2026
2027 }
2028 PFNGLPOLYGONOFFSETPROC glad_debug_glPolygonOffset = glad_debug_impl_glPolygonOffset;
2029 PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex;
2030 void APIENTRY glad_debug_impl_glPrimitiveRestartIndex(GLuint arg0) {
2031 _pre_call_callback("glPrimitiveRestartIndex", (void*)glPrimitiveRestartIndex, 1, arg0);
2032 glad_glPrimitiveRestartIndex(arg0);
2033 _post_call_callback("glPrimitiveRestartIndex", (void*)glPrimitiveRestartIndex, 1, arg0);
2034
2035 }
2036 PFNGLPRIMITIVERESTARTINDEXPROC glad_debug_glPrimitiveRestartIndex = glad_debug_impl_glPrimitiveRestartIndex;
2037 PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex;
2038 void APIENTRY glad_debug_impl_glProvokingVertex(GLenum arg0) {
2039 _pre_call_callback("glProvokingVertex", (void*)glProvokingVertex, 1, arg0);
2040 glad_glProvokingVertex(arg0);
2041 _post_call_callback("glProvokingVertex", (void*)glProvokingVertex, 1, arg0);
2042
2043 }
2044 PFNGLPROVOKINGVERTEXPROC glad_debug_glProvokingVertex = glad_debug_impl_glProvokingVertex;
2045 PFNGLQUERYCOUNTERPROC glad_glQueryCounter;
2046 void APIENTRY glad_debug_impl_glQueryCounter(GLuint arg0, GLenum arg1) {
2047 _pre_call_callback("glQueryCounter", (void*)glQueryCounter, 2, arg0, arg1);
2048 glad_glQueryCounter(arg0, arg1);
2049 _post_call_callback("glQueryCounter", (void*)glQueryCounter, 2, arg0, arg1);
2050
2051 }
2052 PFNGLQUERYCOUNTERPROC glad_debug_glQueryCounter = glad_debug_impl_glQueryCounter;
2053 PFNGLREADBUFFERPROC glad_glReadBuffer;
2054 void APIENTRY glad_debug_impl_glReadBuffer(GLenum arg0) {
2055 _pre_call_callback("glReadBuffer", (void*)glReadBuffer, 1, arg0);
2056 glad_glReadBuffer(arg0);
2057 _post_call_callback("glReadBuffer", (void*)glReadBuffer, 1, arg0);
2058
2059 }
2060 PFNGLREADBUFFERPROC glad_debug_glReadBuffer = glad_debug_impl_glReadBuffer;
2061 PFNGLREADPIXELSPROC glad_glReadPixels;
2062 void APIENTRY glad_debug_impl_glReadPixels(GLint arg0, GLint arg1, GLsizei arg2, GLsizei arg3, GLenum arg4, GLenum arg5, void * arg6) {
2063 _pre_call_callback("glReadPixels", (void*)glReadPixels, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2064 glad_glReadPixels(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2065 _post_call_callback("glReadPixels", (void*)glReadPixels, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2066
2067 }
2068 PFNGLREADPIXELSPROC glad_debug_glReadPixels = glad_debug_impl_glReadPixels;
2069 PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage;
2070 void APIENTRY glad_debug_impl_glRenderbufferStorage(GLenum arg0, GLenum arg1, GLsizei arg2, GLsizei arg3) {
2071 _pre_call_callback("glRenderbufferStorage", (void*)glRenderbufferStorage, 4, arg0, arg1, arg2, arg3);
2072 glad_glRenderbufferStorage(arg0, arg1, arg2, arg3);
2073 _post_call_callback("glRenderbufferStorage", (void*)glRenderbufferStorage, 4, arg0, arg1, arg2, arg3);
2074
2075 }
2076 PFNGLRENDERBUFFERSTORAGEPROC glad_debug_glRenderbufferStorage = glad_debug_impl_glRenderbufferStorage;
2077 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample;
2078 void APIENTRY glad_debug_impl_glRenderbufferStorageMultisample(GLenum arg0, GLsizei arg1, GLenum arg2, GLsizei arg3, GLsizei arg4) {
2079 _pre_call_callback("glRenderbufferStorageMultisample", (void*)glRenderbufferStorageMultisample, 5, arg0, arg1, arg2, arg3, arg4);
2080 glad_glRenderbufferStorageMultisample(arg0, arg1, arg2, arg3, arg4);
2081 _post_call_callback("glRenderbufferStorageMultisample", (void*)glRenderbufferStorageMultisample, 5, arg0, arg1, arg2, arg3, arg4);
2082
2083 }
2084 PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_debug_glRenderbufferStorageMultisample = glad_debug_impl_glRenderbufferStorageMultisample;
2085 PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage;
2086 void APIENTRY glad_debug_impl_glSampleCoverage(GLfloat arg0, GLboolean arg1) {
2087 _pre_call_callback("glSampleCoverage", (void*)glSampleCoverage, 2, arg0, arg1);
2088 glad_glSampleCoverage(arg0, arg1);
2089 _post_call_callback("glSampleCoverage", (void*)glSampleCoverage, 2, arg0, arg1);
2090
2091 }
2092 PFNGLSAMPLECOVERAGEPROC glad_debug_glSampleCoverage = glad_debug_impl_glSampleCoverage;
2093 PFNGLSAMPLEMASKIPROC glad_glSampleMaski;
2094 void APIENTRY glad_debug_impl_glSampleMaski(GLuint arg0, GLbitfield arg1) {
2095 _pre_call_callback("glSampleMaski", (void*)glSampleMaski, 2, arg0, arg1);
2096 glad_glSampleMaski(arg0, arg1);
2097 _post_call_callback("glSampleMaski", (void*)glSampleMaski, 2, arg0, arg1);
2098
2099 }
2100 PFNGLSAMPLEMASKIPROC glad_debug_glSampleMaski = glad_debug_impl_glSampleMaski;
2101 PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv;
2102 void APIENTRY glad_debug_impl_glSamplerParameterIiv(GLuint arg0, GLenum arg1, const GLint * arg2) {
2103 _pre_call_callback("glSamplerParameterIiv", (void*)glSamplerParameterIiv, 3, arg0, arg1, arg2);
2104 glad_glSamplerParameterIiv(arg0, arg1, arg2);
2105 _post_call_callback("glSamplerParameterIiv", (void*)glSamplerParameterIiv, 3, arg0, arg1, arg2);
2106
2107 }
2108 PFNGLSAMPLERPARAMETERIIVPROC glad_debug_glSamplerParameterIiv = glad_debug_impl_glSamplerParameterIiv;
2109 PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv;
2110 void APIENTRY glad_debug_impl_glSamplerParameterIuiv(GLuint arg0, GLenum arg1, const GLuint * arg2) {
2111 _pre_call_callback("glSamplerParameterIuiv", (void*)glSamplerParameterIuiv, 3, arg0, arg1, arg2);
2112 glad_glSamplerParameterIuiv(arg0, arg1, arg2);
2113 _post_call_callback("glSamplerParameterIuiv", (void*)glSamplerParameterIuiv, 3, arg0, arg1, arg2);
2114
2115 }
2116 PFNGLSAMPLERPARAMETERIUIVPROC glad_debug_glSamplerParameterIuiv = glad_debug_impl_glSamplerParameterIuiv;
2117 PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf;
2118 void APIENTRY glad_debug_impl_glSamplerParameterf(GLuint arg0, GLenum arg1, GLfloat arg2) {
2119 _pre_call_callback("glSamplerParameterf", (void*)glSamplerParameterf, 3, arg0, arg1, arg2);
2120 glad_glSamplerParameterf(arg0, arg1, arg2);
2121 _post_call_callback("glSamplerParameterf", (void*)glSamplerParameterf, 3, arg0, arg1, arg2);
2122
2123 }
2124 PFNGLSAMPLERPARAMETERFPROC glad_debug_glSamplerParameterf = glad_debug_impl_glSamplerParameterf;
2125 PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv;
2126 void APIENTRY glad_debug_impl_glSamplerParameterfv(GLuint arg0, GLenum arg1, const GLfloat * arg2) {
2127 _pre_call_callback("glSamplerParameterfv", (void*)glSamplerParameterfv, 3, arg0, arg1, arg2);
2128 glad_glSamplerParameterfv(arg0, arg1, arg2);
2129 _post_call_callback("glSamplerParameterfv", (void*)glSamplerParameterfv, 3, arg0, arg1, arg2);
2130
2131 }
2132 PFNGLSAMPLERPARAMETERFVPROC glad_debug_glSamplerParameterfv = glad_debug_impl_glSamplerParameterfv;
2133 PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri;
2134 void APIENTRY glad_debug_impl_glSamplerParameteri(GLuint arg0, GLenum arg1, GLint arg2) {
2135 _pre_call_callback("glSamplerParameteri", (void*)glSamplerParameteri, 3, arg0, arg1, arg2);
2136 glad_glSamplerParameteri(arg0, arg1, arg2);
2137 _post_call_callback("glSamplerParameteri", (void*)glSamplerParameteri, 3, arg0, arg1, arg2);
2138
2139 }
2140 PFNGLSAMPLERPARAMETERIPROC glad_debug_glSamplerParameteri = glad_debug_impl_glSamplerParameteri;
2141 PFNGLSAMPLERPARAMETERIVPROC glad_glSamplerParameteriv;
2142 void APIENTRY glad_debug_impl_glSamplerParameteriv(GLuint arg0, GLenum arg1, const GLint * arg2) {
2143 _pre_call_callback("glSamplerParameteriv", (void*)glSamplerParameteriv, 3, arg0, arg1, arg2);
2144 glad_glSamplerParameteriv(arg0, arg1, arg2);
2145 _post_call_callback("glSamplerParameteriv", (void*)glSamplerParameteriv, 3, arg0, arg1, arg2);
2146
2147 }
2148 PFNGLSAMPLERPARAMETERIVPROC glad_debug_glSamplerParameteriv = glad_debug_impl_glSamplerParameteriv;
2149 PFNGLSCISSORPROC glad_glScissor;
2150 void APIENTRY glad_debug_impl_glScissor(GLint arg0, GLint arg1, GLsizei arg2, GLsizei arg3) {
2151 _pre_call_callback("glScissor", (void*)glScissor, 4, arg0, arg1, arg2, arg3);
2152 glad_glScissor(arg0, arg1, arg2, arg3);
2153 _post_call_callback("glScissor", (void*)glScissor, 4, arg0, arg1, arg2, arg3);
2154
2155 }
2156 PFNGLSCISSORPROC glad_debug_glScissor = glad_debug_impl_glScissor;
2157 PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui;
2158 void APIENTRY glad_debug_impl_glSecondaryColorP3ui(GLenum arg0, GLuint arg1) {
2159 _pre_call_callback("glSecondaryColorP3ui", (void*)glSecondaryColorP3ui, 2, arg0, arg1);
2160 glad_glSecondaryColorP3ui(arg0, arg1);
2161 _post_call_callback("glSecondaryColorP3ui", (void*)glSecondaryColorP3ui, 2, arg0, arg1);
2162
2163 }
2164 PFNGLSECONDARYCOLORP3UIPROC glad_debug_glSecondaryColorP3ui = glad_debug_impl_glSecondaryColorP3ui;
2165 PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv;
2166 void APIENTRY glad_debug_impl_glSecondaryColorP3uiv(GLenum arg0, const GLuint * arg1) {
2167 _pre_call_callback("glSecondaryColorP3uiv", (void*)glSecondaryColorP3uiv, 2, arg0, arg1);
2168 glad_glSecondaryColorP3uiv(arg0, arg1);
2169 _post_call_callback("glSecondaryColorP3uiv", (void*)glSecondaryColorP3uiv, 2, arg0, arg1);
2170
2171 }
2172 PFNGLSECONDARYCOLORP3UIVPROC glad_debug_glSecondaryColorP3uiv = glad_debug_impl_glSecondaryColorP3uiv;
2173 PFNGLSHADERSOURCEPROC glad_glShaderSource;
2174 void APIENTRY glad_debug_impl_glShaderSource(GLuint arg0, GLsizei arg1, const GLchar *const* arg2, const GLint * arg3) {
2175 _pre_call_callback("glShaderSource", (void*)glShaderSource, 4, arg0, arg1, arg2, arg3);
2176 glad_glShaderSource(arg0, arg1, arg2, arg3);
2177 _post_call_callback("glShaderSource", (void*)glShaderSource, 4, arg0, arg1, arg2, arg3);
2178
2179 }
2180 PFNGLSHADERSOURCEPROC glad_debug_glShaderSource = glad_debug_impl_glShaderSource;
2181 PFNGLSTENCILFUNCPROC glad_glStencilFunc;
2182 void APIENTRY glad_debug_impl_glStencilFunc(GLenum arg0, GLint arg1, GLuint arg2) {
2183 _pre_call_callback("glStencilFunc", (void*)glStencilFunc, 3, arg0, arg1, arg2);
2184 glad_glStencilFunc(arg0, arg1, arg2);
2185 _post_call_callback("glStencilFunc", (void*)glStencilFunc, 3, arg0, arg1, arg2);
2186
2187 }
2188 PFNGLSTENCILFUNCPROC glad_debug_glStencilFunc = glad_debug_impl_glStencilFunc;
2189 PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate;
2190 void APIENTRY glad_debug_impl_glStencilFuncSeparate(GLenum arg0, GLenum arg1, GLint arg2, GLuint arg3) {
2191 _pre_call_callback("glStencilFuncSeparate", (void*)glStencilFuncSeparate, 4, arg0, arg1, arg2, arg3);
2192 glad_glStencilFuncSeparate(arg0, arg1, arg2, arg3);
2193 _post_call_callback("glStencilFuncSeparate", (void*)glStencilFuncSeparate, 4, arg0, arg1, arg2, arg3);
2194
2195 }
2196 PFNGLSTENCILFUNCSEPARATEPROC glad_debug_glStencilFuncSeparate = glad_debug_impl_glStencilFuncSeparate;
2197 PFNGLSTENCILMASKPROC glad_glStencilMask;
2198 void APIENTRY glad_debug_impl_glStencilMask(GLuint arg0) {
2199 _pre_call_callback("glStencilMask", (void*)glStencilMask, 1, arg0);
2200 glad_glStencilMask(arg0);
2201 _post_call_callback("glStencilMask", (void*)glStencilMask, 1, arg0);
2202
2203 }
2204 PFNGLSTENCILMASKPROC glad_debug_glStencilMask = glad_debug_impl_glStencilMask;
2205 PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate;
2206 void APIENTRY glad_debug_impl_glStencilMaskSeparate(GLenum arg0, GLuint arg1) {
2207 _pre_call_callback("glStencilMaskSeparate", (void*)glStencilMaskSeparate, 2, arg0, arg1);
2208 glad_glStencilMaskSeparate(arg0, arg1);
2209 _post_call_callback("glStencilMaskSeparate", (void*)glStencilMaskSeparate, 2, arg0, arg1);
2210
2211 }
2212 PFNGLSTENCILMASKSEPARATEPROC glad_debug_glStencilMaskSeparate = glad_debug_impl_glStencilMaskSeparate;
2213 PFNGLSTENCILOPPROC glad_glStencilOp;
2214 void APIENTRY glad_debug_impl_glStencilOp(GLenum arg0, GLenum arg1, GLenum arg2) {
2215 _pre_call_callback("glStencilOp", (void*)glStencilOp, 3, arg0, arg1, arg2);
2216 glad_glStencilOp(arg0, arg1, arg2);
2217 _post_call_callback("glStencilOp", (void*)glStencilOp, 3, arg0, arg1, arg2);
2218
2219 }
2220 PFNGLSTENCILOPPROC glad_debug_glStencilOp = glad_debug_impl_glStencilOp;
2221 PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate;
2222 void APIENTRY glad_debug_impl_glStencilOpSeparate(GLenum arg0, GLenum arg1, GLenum arg2, GLenum arg3) {
2223 _pre_call_callback("glStencilOpSeparate", (void*)glStencilOpSeparate, 4, arg0, arg1, arg2, arg3);
2224 glad_glStencilOpSeparate(arg0, arg1, arg2, arg3);
2225 _post_call_callback("glStencilOpSeparate", (void*)glStencilOpSeparate, 4, arg0, arg1, arg2, arg3);
2226
2227 }
2228 PFNGLSTENCILOPSEPARATEPROC glad_debug_glStencilOpSeparate = glad_debug_impl_glStencilOpSeparate;
2229 PFNGLTEXBUFFERPROC glad_glTexBuffer;
2230 void APIENTRY glad_debug_impl_glTexBuffer(GLenum arg0, GLenum arg1, GLuint arg2) {
2231 _pre_call_callback("glTexBuffer", (void*)glTexBuffer, 3, arg0, arg1, arg2);
2232 glad_glTexBuffer(arg0, arg1, arg2);
2233 _post_call_callback("glTexBuffer", (void*)glTexBuffer, 3, arg0, arg1, arg2);
2234
2235 }
2236 PFNGLTEXBUFFERPROC glad_debug_glTexBuffer = glad_debug_impl_glTexBuffer;
2237 PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui;
2238 void APIENTRY glad_debug_impl_glTexCoordP1ui(GLenum arg0, GLuint arg1) {
2239 _pre_call_callback("glTexCoordP1ui", (void*)glTexCoordP1ui, 2, arg0, arg1);
2240 glad_glTexCoordP1ui(arg0, arg1);
2241 _post_call_callback("glTexCoordP1ui", (void*)glTexCoordP1ui, 2, arg0, arg1);
2242
2243 }
2244 PFNGLTEXCOORDP1UIPROC glad_debug_glTexCoordP1ui = glad_debug_impl_glTexCoordP1ui;
2245 PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv;
2246 void APIENTRY glad_debug_impl_glTexCoordP1uiv(GLenum arg0, const GLuint * arg1) {
2247 _pre_call_callback("glTexCoordP1uiv", (void*)glTexCoordP1uiv, 2, arg0, arg1);
2248 glad_glTexCoordP1uiv(arg0, arg1);
2249 _post_call_callback("glTexCoordP1uiv", (void*)glTexCoordP1uiv, 2, arg0, arg1);
2250
2251 }
2252 PFNGLTEXCOORDP1UIVPROC glad_debug_glTexCoordP1uiv = glad_debug_impl_glTexCoordP1uiv;
2253 PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui;
2254 void APIENTRY glad_debug_impl_glTexCoordP2ui(GLenum arg0, GLuint arg1) {
2255 _pre_call_callback("glTexCoordP2ui", (void*)glTexCoordP2ui, 2, arg0, arg1);
2256 glad_glTexCoordP2ui(arg0, arg1);
2257 _post_call_callback("glTexCoordP2ui", (void*)glTexCoordP2ui, 2, arg0, arg1);
2258
2259 }
2260 PFNGLTEXCOORDP2UIPROC glad_debug_glTexCoordP2ui = glad_debug_impl_glTexCoordP2ui;
2261 PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv;
2262 void APIENTRY glad_debug_impl_glTexCoordP2uiv(GLenum arg0, const GLuint * arg1) {
2263 _pre_call_callback("glTexCoordP2uiv", (void*)glTexCoordP2uiv, 2, arg0, arg1);
2264 glad_glTexCoordP2uiv(arg0, arg1);
2265 _post_call_callback("glTexCoordP2uiv", (void*)glTexCoordP2uiv, 2, arg0, arg1);
2266
2267 }
2268 PFNGLTEXCOORDP2UIVPROC glad_debug_glTexCoordP2uiv = glad_debug_impl_glTexCoordP2uiv;
2269 PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui;
2270 void APIENTRY glad_debug_impl_glTexCoordP3ui(GLenum arg0, GLuint arg1) {
2271 _pre_call_callback("glTexCoordP3ui", (void*)glTexCoordP3ui, 2, arg0, arg1);
2272 glad_glTexCoordP3ui(arg0, arg1);
2273 _post_call_callback("glTexCoordP3ui", (void*)glTexCoordP3ui, 2, arg0, arg1);
2274
2275 }
2276 PFNGLTEXCOORDP3UIPROC glad_debug_glTexCoordP3ui = glad_debug_impl_glTexCoordP3ui;
2277 PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv;
2278 void APIENTRY glad_debug_impl_glTexCoordP3uiv(GLenum arg0, const GLuint * arg1) {
2279 _pre_call_callback("glTexCoordP3uiv", (void*)glTexCoordP3uiv, 2, arg0, arg1);
2280 glad_glTexCoordP3uiv(arg0, arg1);
2281 _post_call_callback("glTexCoordP3uiv", (void*)glTexCoordP3uiv, 2, arg0, arg1);
2282
2283 }
2284 PFNGLTEXCOORDP3UIVPROC glad_debug_glTexCoordP3uiv = glad_debug_impl_glTexCoordP3uiv;
2285 PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui;
2286 void APIENTRY glad_debug_impl_glTexCoordP4ui(GLenum arg0, GLuint arg1) {
2287 _pre_call_callback("glTexCoordP4ui", (void*)glTexCoordP4ui, 2, arg0, arg1);
2288 glad_glTexCoordP4ui(arg0, arg1);
2289 _post_call_callback("glTexCoordP4ui", (void*)glTexCoordP4ui, 2, arg0, arg1);
2290
2291 }
2292 PFNGLTEXCOORDP4UIPROC glad_debug_glTexCoordP4ui = glad_debug_impl_glTexCoordP4ui;
2293 PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv;
2294 void APIENTRY glad_debug_impl_glTexCoordP4uiv(GLenum arg0, const GLuint * arg1) {
2295 _pre_call_callback("glTexCoordP4uiv", (void*)glTexCoordP4uiv, 2, arg0, arg1);
2296 glad_glTexCoordP4uiv(arg0, arg1);
2297 _post_call_callback("glTexCoordP4uiv", (void*)glTexCoordP4uiv, 2, arg0, arg1);
2298
2299 }
2300 PFNGLTEXCOORDP4UIVPROC glad_debug_glTexCoordP4uiv = glad_debug_impl_glTexCoordP4uiv;
2301 PFNGLTEXIMAGE1DPROC glad_glTexImage1D;
2302 void APIENTRY glad_debug_impl_glTexImage1D(GLenum arg0, GLint arg1, GLint arg2, GLsizei arg3, GLint arg4, GLenum arg5, GLenum arg6, const void * arg7) {
2303 _pre_call_callback("glTexImage1D", (void*)glTexImage1D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
2304 glad_glTexImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
2305 _post_call_callback("glTexImage1D", (void*)glTexImage1D, 8, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7);
2306
2307 }
2308 PFNGLTEXIMAGE1DPROC glad_debug_glTexImage1D = glad_debug_impl_glTexImage1D;
2309 PFNGLTEXIMAGE2DPROC glad_glTexImage2D;
2310 void APIENTRY glad_debug_impl_glTexImage2D(GLenum arg0, GLint arg1, GLint arg2, GLsizei arg3, GLsizei arg4, GLint arg5, GLenum arg6, GLenum arg7, const void * arg8) {
2311 _pre_call_callback("glTexImage2D", (void*)glTexImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2312 glad_glTexImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2313 _post_call_callback("glTexImage2D", (void*)glTexImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2314
2315 }
2316 PFNGLTEXIMAGE2DPROC glad_debug_glTexImage2D = glad_debug_impl_glTexImage2D;
2317 PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample;
2318 void APIENTRY glad_debug_impl_glTexImage2DMultisample(GLenum arg0, GLsizei arg1, GLenum arg2, GLsizei arg3, GLsizei arg4, GLboolean arg5) {
2319 _pre_call_callback("glTexImage2DMultisample", (void*)glTexImage2DMultisample, 6, arg0, arg1, arg2, arg3, arg4, arg5);
2320 glad_glTexImage2DMultisample(arg0, arg1, arg2, arg3, arg4, arg5);
2321 _post_call_callback("glTexImage2DMultisample", (void*)glTexImage2DMultisample, 6, arg0, arg1, arg2, arg3, arg4, arg5);
2322
2323 }
2324 PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_debug_glTexImage2DMultisample = glad_debug_impl_glTexImage2DMultisample;
2325 PFNGLTEXIMAGE3DPROC glad_glTexImage3D;
2326 void APIENTRY glad_debug_impl_glTexImage3D(GLenum arg0, GLint arg1, GLint arg2, GLsizei arg3, GLsizei arg4, GLsizei arg5, GLint arg6, GLenum arg7, GLenum arg8, const void * arg9) {
2327 _pre_call_callback("glTexImage3D", (void*)glTexImage3D, 10, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
2328 glad_glTexImage3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
2329 _post_call_callback("glTexImage3D", (void*)glTexImage3D, 10, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9);
2330
2331 }
2332 PFNGLTEXIMAGE3DPROC glad_debug_glTexImage3D = glad_debug_impl_glTexImage3D;
2333 PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample;
2334 void APIENTRY glad_debug_impl_glTexImage3DMultisample(GLenum arg0, GLsizei arg1, GLenum arg2, GLsizei arg3, GLsizei arg4, GLsizei arg5, GLboolean arg6) {
2335 _pre_call_callback("glTexImage3DMultisample", (void*)glTexImage3DMultisample, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2336 glad_glTexImage3DMultisample(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2337 _post_call_callback("glTexImage3DMultisample", (void*)glTexImage3DMultisample, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2338
2339 }
2340 PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_debug_glTexImage3DMultisample = glad_debug_impl_glTexImage3DMultisample;
2341 PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv;
2342 void APIENTRY glad_debug_impl_glTexParameterIiv(GLenum arg0, GLenum arg1, const GLint * arg2) {
2343 _pre_call_callback("glTexParameterIiv", (void*)glTexParameterIiv, 3, arg0, arg1, arg2);
2344 glad_glTexParameterIiv(arg0, arg1, arg2);
2345 _post_call_callback("glTexParameterIiv", (void*)glTexParameterIiv, 3, arg0, arg1, arg2);
2346
2347 }
2348 PFNGLTEXPARAMETERIIVPROC glad_debug_glTexParameterIiv = glad_debug_impl_glTexParameterIiv;
2349 PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv;
2350 void APIENTRY glad_debug_impl_glTexParameterIuiv(GLenum arg0, GLenum arg1, const GLuint * arg2) {
2351 _pre_call_callback("glTexParameterIuiv", (void*)glTexParameterIuiv, 3, arg0, arg1, arg2);
2352 glad_glTexParameterIuiv(arg0, arg1, arg2);
2353 _post_call_callback("glTexParameterIuiv", (void*)glTexParameterIuiv, 3, arg0, arg1, arg2);
2354
2355 }
2356 PFNGLTEXPARAMETERIUIVPROC glad_debug_glTexParameterIuiv = glad_debug_impl_glTexParameterIuiv;
2357 PFNGLTEXPARAMETERFPROC glad_glTexParameterf;
2358 void APIENTRY glad_debug_impl_glTexParameterf(GLenum arg0, GLenum arg1, GLfloat arg2) {
2359 _pre_call_callback("glTexParameterf", (void*)glTexParameterf, 3, arg0, arg1, arg2);
2360 glad_glTexParameterf(arg0, arg1, arg2);
2361 _post_call_callback("glTexParameterf", (void*)glTexParameterf, 3, arg0, arg1, arg2);
2362
2363 }
2364 PFNGLTEXPARAMETERFPROC glad_debug_glTexParameterf = glad_debug_impl_glTexParameterf;
2365 PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv;
2366 void APIENTRY glad_debug_impl_glTexParameterfv(GLenum arg0, GLenum arg1, const GLfloat * arg2) {
2367 _pre_call_callback("glTexParameterfv", (void*)glTexParameterfv, 3, arg0, arg1, arg2);
2368 glad_glTexParameterfv(arg0, arg1, arg2);
2369 _post_call_callback("glTexParameterfv", (void*)glTexParameterfv, 3, arg0, arg1, arg2);
2370
2371 }
2372 PFNGLTEXPARAMETERFVPROC glad_debug_glTexParameterfv = glad_debug_impl_glTexParameterfv;
2373 PFNGLTEXPARAMETERIPROC glad_glTexParameteri;
2374 void APIENTRY glad_debug_impl_glTexParameteri(GLenum arg0, GLenum arg1, GLint arg2) {
2375 _pre_call_callback("glTexParameteri", (void*)glTexParameteri, 3, arg0, arg1, arg2);
2376 glad_glTexParameteri(arg0, arg1, arg2);
2377 _post_call_callback("glTexParameteri", (void*)glTexParameteri, 3, arg0, arg1, arg2);
2378
2379 }
2380 PFNGLTEXPARAMETERIPROC glad_debug_glTexParameteri = glad_debug_impl_glTexParameteri;
2381 PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv;
2382 void APIENTRY glad_debug_impl_glTexParameteriv(GLenum arg0, GLenum arg1, const GLint * arg2) {
2383 _pre_call_callback("glTexParameteriv", (void*)glTexParameteriv, 3, arg0, arg1, arg2);
2384 glad_glTexParameteriv(arg0, arg1, arg2);
2385 _post_call_callback("glTexParameteriv", (void*)glTexParameteriv, 3, arg0, arg1, arg2);
2386
2387 }
2388 PFNGLTEXPARAMETERIVPROC glad_debug_glTexParameteriv = glad_debug_impl_glTexParameteriv;
2389 PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D;
2390 void APIENTRY glad_debug_impl_glTexSubImage1D(GLenum arg0, GLint arg1, GLint arg2, GLsizei arg3, GLenum arg4, GLenum arg5, const void * arg6) {
2391 _pre_call_callback("glTexSubImage1D", (void*)glTexSubImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2392 glad_glTexSubImage1D(arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2393 _post_call_callback("glTexSubImage1D", (void*)glTexSubImage1D, 7, arg0, arg1, arg2, arg3, arg4, arg5, arg6);
2394
2395 }
2396 PFNGLTEXSUBIMAGE1DPROC glad_debug_glTexSubImage1D = glad_debug_impl_glTexSubImage1D;
2397 PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D;
2398 void APIENTRY glad_debug_impl_glTexSubImage2D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLsizei arg4, GLsizei arg5, GLenum arg6, GLenum arg7, const void * arg8) {
2399 _pre_call_callback("glTexSubImage2D", (void*)glTexSubImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2400 glad_glTexSubImage2D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2401 _post_call_callback("glTexSubImage2D", (void*)glTexSubImage2D, 9, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8);
2402
2403 }
2404 PFNGLTEXSUBIMAGE2DPROC glad_debug_glTexSubImage2D = glad_debug_impl_glTexSubImage2D;
2405 PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D;
2406 void APIENTRY glad_debug_impl_glTexSubImage3D(GLenum arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4, GLsizei arg5, GLsizei arg6, GLsizei arg7, GLenum arg8, GLenum arg9, const void * arg10) {
2407 _pre_call_callback("glTexSubImage3D", (void*)glTexSubImage3D, 11, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
2408 glad_glTexSubImage3D(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
2409 _post_call_callback("glTexSubImage3D", (void*)glTexSubImage3D, 11, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
2410
2411 }
2412 PFNGLTEXSUBIMAGE3DPROC glad_debug_glTexSubImage3D = glad_debug_impl_glTexSubImage3D;
2413 PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings;
2414 void APIENTRY glad_debug_impl_glTransformFeedbackVaryings(GLuint arg0, GLsizei arg1, const GLchar *const* arg2, GLenum arg3) {
2415 _pre_call_callback("glTransformFeedbackVaryings", (void*)glTransformFeedbackVaryings, 4, arg0, arg1, arg2, arg3);
2416 glad_glTransformFeedbackVaryings(arg0, arg1, arg2, arg3);
2417 _post_call_callback("glTransformFeedbackVaryings", (void*)glTransformFeedbackVaryings, 4, arg0, arg1, arg2, arg3);
2418
2419 }
2420 PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_debug_glTransformFeedbackVaryings = glad_debug_impl_glTransformFeedbackVaryings;
2421 PFNGLUNIFORM1FPROC glad_glUniform1f;
2422 void APIENTRY glad_debug_impl_glUniform1f(GLint arg0, GLfloat arg1) {
2423 _pre_call_callback("glUniform1f", (void*)glUniform1f, 2, arg0, arg1);
2424 glad_glUniform1f(arg0, arg1);
2425 _post_call_callback("glUniform1f", (void*)glUniform1f, 2, arg0, arg1);
2426
2427 }
2428 PFNGLUNIFORM1FPROC glad_debug_glUniform1f = glad_debug_impl_glUniform1f;
2429 PFNGLUNIFORM1FVPROC glad_glUniform1fv;
2430 void APIENTRY glad_debug_impl_glUniform1fv(GLint arg0, GLsizei arg1, const GLfloat * arg2) {
2431 _pre_call_callback("glUniform1fv", (void*)glUniform1fv, 3, arg0, arg1, arg2);
2432 glad_glUniform1fv(arg0, arg1, arg2);
2433 _post_call_callback("glUniform1fv", (void*)glUniform1fv, 3, arg0, arg1, arg2);
2434
2435 }
2436 PFNGLUNIFORM1FVPROC glad_debug_glUniform1fv = glad_debug_impl_glUniform1fv;
2437 PFNGLUNIFORM1IPROC glad_glUniform1i;
2438 void APIENTRY glad_debug_impl_glUniform1i(GLint arg0, GLint arg1) {
2439 _pre_call_callback("glUniform1i", (void*)glUniform1i, 2, arg0, arg1);
2440 glad_glUniform1i(arg0, arg1);
2441 _post_call_callback("glUniform1i", (void*)glUniform1i, 2, arg0, arg1);
2442
2443 }
2444 PFNGLUNIFORM1IPROC glad_debug_glUniform1i = glad_debug_impl_glUniform1i;
2445 PFNGLUNIFORM1IVPROC glad_glUniform1iv;
2446 void APIENTRY glad_debug_impl_glUniform1iv(GLint arg0, GLsizei arg1, const GLint * arg2) {
2447 _pre_call_callback("glUniform1iv", (void*)glUniform1iv, 3, arg0, arg1, arg2);
2448 glad_glUniform1iv(arg0, arg1, arg2);
2449 _post_call_callback("glUniform1iv", (void*)glUniform1iv, 3, arg0, arg1, arg2);
2450
2451 }
2452 PFNGLUNIFORM1IVPROC glad_debug_glUniform1iv = glad_debug_impl_glUniform1iv;
2453 PFNGLUNIFORM1UIPROC glad_glUniform1ui;
2454 void APIENTRY glad_debug_impl_glUniform1ui(GLint arg0, GLuint arg1) {
2455 _pre_call_callback("glUniform1ui", (void*)glUniform1ui, 2, arg0, arg1);
2456 glad_glUniform1ui(arg0, arg1);
2457 _post_call_callback("glUniform1ui", (void*)glUniform1ui, 2, arg0, arg1);
2458
2459 }
2460 PFNGLUNIFORM1UIPROC glad_debug_glUniform1ui = glad_debug_impl_glUniform1ui;
2461 PFNGLUNIFORM1UIVPROC glad_glUniform1uiv;
2462 void APIENTRY glad_debug_impl_glUniform1uiv(GLint arg0, GLsizei arg1, const GLuint * arg2) {
2463 _pre_call_callback("glUniform1uiv", (void*)glUniform1uiv, 3, arg0, arg1, arg2);
2464 glad_glUniform1uiv(arg0, arg1, arg2);
2465 _post_call_callback("glUniform1uiv", (void*)glUniform1uiv, 3, arg0, arg1, arg2);
2466
2467 }
2468 PFNGLUNIFORM1UIVPROC glad_debug_glUniform1uiv = glad_debug_impl_glUniform1uiv;
2469 PFNGLUNIFORM2FPROC glad_glUniform2f;
2470 void APIENTRY glad_debug_impl_glUniform2f(GLint arg0, GLfloat arg1, GLfloat arg2) {
2471 _pre_call_callback("glUniform2f", (void*)glUniform2f, 3, arg0, arg1, arg2);
2472 glad_glUniform2f(arg0, arg1, arg2);
2473 _post_call_callback("glUniform2f", (void*)glUniform2f, 3, arg0, arg1, arg2);
2474
2475 }
2476 PFNGLUNIFORM2FPROC glad_debug_glUniform2f = glad_debug_impl_glUniform2f;
2477 PFNGLUNIFORM2FVPROC glad_glUniform2fv;
2478 void APIENTRY glad_debug_impl_glUniform2fv(GLint arg0, GLsizei arg1, const GLfloat * arg2) {
2479 _pre_call_callback("glUniform2fv", (void*)glUniform2fv, 3, arg0, arg1, arg2);
2480 glad_glUniform2fv(arg0, arg1, arg2);
2481 _post_call_callback("glUniform2fv", (void*)glUniform2fv, 3, arg0, arg1, arg2);
2482
2483 }
2484 PFNGLUNIFORM2FVPROC glad_debug_glUniform2fv = glad_debug_impl_glUniform2fv;
2485 PFNGLUNIFORM2IPROC glad_glUniform2i;
2486 void APIENTRY glad_debug_impl_glUniform2i(GLint arg0, GLint arg1, GLint arg2) {
2487 _pre_call_callback("glUniform2i", (void*)glUniform2i, 3, arg0, arg1, arg2);
2488 glad_glUniform2i(arg0, arg1, arg2);
2489 _post_call_callback("glUniform2i", (void*)glUniform2i, 3, arg0, arg1, arg2);
2490
2491 }
2492 PFNGLUNIFORM2IPROC glad_debug_glUniform2i = glad_debug_impl_glUniform2i;
2493 PFNGLUNIFORM2IVPROC glad_glUniform2iv;
2494 void APIENTRY glad_debug_impl_glUniform2iv(GLint arg0, GLsizei arg1, const GLint * arg2) {
2495 _pre_call_callback("glUniform2iv", (void*)glUniform2iv, 3, arg0, arg1, arg2);
2496 glad_glUniform2iv(arg0, arg1, arg2);
2497 _post_call_callback("glUniform2iv", (void*)glUniform2iv, 3, arg0, arg1, arg2);
2498
2499 }
2500 PFNGLUNIFORM2IVPROC glad_debug_glUniform2iv = glad_debug_impl_glUniform2iv;
2501 PFNGLUNIFORM2UIPROC glad_glUniform2ui;
2502 void APIENTRY glad_debug_impl_glUniform2ui(GLint arg0, GLuint arg1, GLuint arg2) {
2503 _pre_call_callback("glUniform2ui", (void*)glUniform2ui, 3, arg0, arg1, arg2);
2504 glad_glUniform2ui(arg0, arg1, arg2);
2505 _post_call_callback("glUniform2ui", (void*)glUniform2ui, 3, arg0, arg1, arg2);
2506
2507 }
2508 PFNGLUNIFORM2UIPROC glad_debug_glUniform2ui = glad_debug_impl_glUniform2ui;
2509 PFNGLUNIFORM2UIVPROC glad_glUniform2uiv;
2510 void APIENTRY glad_debug_impl_glUniform2uiv(GLint arg0, GLsizei arg1, const GLuint * arg2) {
2511 _pre_call_callback("glUniform2uiv", (void*)glUniform2uiv, 3, arg0, arg1, arg2);
2512 glad_glUniform2uiv(arg0, arg1, arg2);
2513 _post_call_callback("glUniform2uiv", (void*)glUniform2uiv, 3, arg0, arg1, arg2);
2514
2515 }
2516 PFNGLUNIFORM2UIVPROC glad_debug_glUniform2uiv = glad_debug_impl_glUniform2uiv;
2517 PFNGLUNIFORM3FPROC glad_glUniform3f;
2518 void APIENTRY glad_debug_impl_glUniform3f(GLint arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3) {
2519 _pre_call_callback("glUniform3f", (void*)glUniform3f, 4, arg0, arg1, arg2, arg3);
2520 glad_glUniform3f(arg0, arg1, arg2, arg3);
2521 _post_call_callback("glUniform3f", (void*)glUniform3f, 4, arg0, arg1, arg2, arg3);
2522
2523 }
2524 PFNGLUNIFORM3FPROC glad_debug_glUniform3f = glad_debug_impl_glUniform3f;
2525 PFNGLUNIFORM3FVPROC glad_glUniform3fv;
2526 void APIENTRY glad_debug_impl_glUniform3fv(GLint arg0, GLsizei arg1, const GLfloat * arg2) {
2527 _pre_call_callback("glUniform3fv", (void*)glUniform3fv, 3, arg0, arg1, arg2);
2528 glad_glUniform3fv(arg0, arg1, arg2);
2529 _post_call_callback("glUniform3fv", (void*)glUniform3fv, 3, arg0, arg1, arg2);
2530
2531 }
2532 PFNGLUNIFORM3FVPROC glad_debug_glUniform3fv = glad_debug_impl_glUniform3fv;
2533 PFNGLUNIFORM3IPROC glad_glUniform3i;
2534 void APIENTRY glad_debug_impl_glUniform3i(GLint arg0, GLint arg1, GLint arg2, GLint arg3) {
2535 _pre_call_callback("glUniform3i", (void*)glUniform3i, 4, arg0, arg1, arg2, arg3);
2536 glad_glUniform3i(arg0, arg1, arg2, arg3);
2537 _post_call_callback("glUniform3i", (void*)glUniform3i, 4, arg0, arg1, arg2, arg3);
2538
2539 }
2540 PFNGLUNIFORM3IPROC glad_debug_glUniform3i = glad_debug_impl_glUniform3i;
2541 PFNGLUNIFORM3IVPROC glad_glUniform3iv;
2542 void APIENTRY glad_debug_impl_glUniform3iv(GLint arg0, GLsizei arg1, const GLint * arg2) {
2543 _pre_call_callback("glUniform3iv", (void*)glUniform3iv, 3, arg0, arg1, arg2);
2544 glad_glUniform3iv(arg0, arg1, arg2);
2545 _post_call_callback("glUniform3iv", (void*)glUniform3iv, 3, arg0, arg1, arg2);
2546
2547 }
2548 PFNGLUNIFORM3IVPROC glad_debug_glUniform3iv = glad_debug_impl_glUniform3iv;
2549 PFNGLUNIFORM3UIPROC glad_glUniform3ui;
2550 void APIENTRY glad_debug_impl_glUniform3ui(GLint arg0, GLuint arg1, GLuint arg2, GLuint arg3) {
2551 _pre_call_callback("glUniform3ui", (void*)glUniform3ui, 4, arg0, arg1, arg2, arg3);
2552 glad_glUniform3ui(arg0, arg1, arg2, arg3);
2553 _post_call_callback("glUniform3ui", (void*)glUniform3ui, 4, arg0, arg1, arg2, arg3);
2554
2555 }
2556 PFNGLUNIFORM3UIPROC glad_debug_glUniform3ui = glad_debug_impl_glUniform3ui;
2557 PFNGLUNIFORM3UIVPROC glad_glUniform3uiv;
2558 void APIENTRY glad_debug_impl_glUniform3uiv(GLint arg0, GLsizei arg1, const GLuint * arg2) {
2559 _pre_call_callback("glUniform3uiv", (void*)glUniform3uiv, 3, arg0, arg1, arg2);
2560 glad_glUniform3uiv(arg0, arg1, arg2);
2561 _post_call_callback("glUniform3uiv", (void*)glUniform3uiv, 3, arg0, arg1, arg2);
2562
2563 }
2564 PFNGLUNIFORM3UIVPROC glad_debug_glUniform3uiv = glad_debug_impl_glUniform3uiv;
2565 PFNGLUNIFORM4FPROC glad_glUniform4f;
2566 void APIENTRY glad_debug_impl_glUniform4f(GLint arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3, GLfloat arg4) {
2567 _pre_call_callback("glUniform4f", (void*)glUniform4f, 5, arg0, arg1, arg2, arg3, arg4);
2568 glad_glUniform4f(arg0, arg1, arg2, arg3, arg4);
2569 _post_call_callback("glUniform4f", (void*)glUniform4f, 5, arg0, arg1, arg2, arg3, arg4);
2570
2571 }
2572 PFNGLUNIFORM4FPROC glad_debug_glUniform4f = glad_debug_impl_glUniform4f;
2573 PFNGLUNIFORM4FVPROC glad_glUniform4fv;
2574 void APIENTRY glad_debug_impl_glUniform4fv(GLint arg0, GLsizei arg1, const GLfloat * arg2) {
2575 _pre_call_callback("glUniform4fv", (void*)glUniform4fv, 3, arg0, arg1, arg2);
2576 glad_glUniform4fv(arg0, arg1, arg2);
2577 _post_call_callback("glUniform4fv", (void*)glUniform4fv, 3, arg0, arg1, arg2);
2578
2579 }
2580 PFNGLUNIFORM4FVPROC glad_debug_glUniform4fv = glad_debug_impl_glUniform4fv;
2581 PFNGLUNIFORM4IPROC glad_glUniform4i;
2582 void APIENTRY glad_debug_impl_glUniform4i(GLint arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4) {
2583 _pre_call_callback("glUniform4i", (void*)glUniform4i, 5, arg0, arg1, arg2, arg3, arg4);
2584 glad_glUniform4i(arg0, arg1, arg2, arg3, arg4);
2585 _post_call_callback("glUniform4i", (void*)glUniform4i, 5, arg0, arg1, arg2, arg3, arg4);
2586
2587 }
2588 PFNGLUNIFORM4IPROC glad_debug_glUniform4i = glad_debug_impl_glUniform4i;
2589 PFNGLUNIFORM4IVPROC glad_glUniform4iv;
2590 void APIENTRY glad_debug_impl_glUniform4iv(GLint arg0, GLsizei arg1, const GLint * arg2) {
2591 _pre_call_callback("glUniform4iv", (void*)glUniform4iv, 3, arg0, arg1, arg2);
2592 glad_glUniform4iv(arg0, arg1, arg2);
2593 _post_call_callback("glUniform4iv", (void*)glUniform4iv, 3, arg0, arg1, arg2);
2594
2595 }
2596 PFNGLUNIFORM4IVPROC glad_debug_glUniform4iv = glad_debug_impl_glUniform4iv;
2597 PFNGLUNIFORM4UIPROC glad_glUniform4ui;
2598 void APIENTRY glad_debug_impl_glUniform4ui(GLint arg0, GLuint arg1, GLuint arg2, GLuint arg3, GLuint arg4) {
2599 _pre_call_callback("glUniform4ui", (void*)glUniform4ui, 5, arg0, arg1, arg2, arg3, arg4);
2600 glad_glUniform4ui(arg0, arg1, arg2, arg3, arg4);
2601 _post_call_callback("glUniform4ui", (void*)glUniform4ui, 5, arg0, arg1, arg2, arg3, arg4);
2602
2603 }
2604 PFNGLUNIFORM4UIPROC glad_debug_glUniform4ui = glad_debug_impl_glUniform4ui;
2605 PFNGLUNIFORM4UIVPROC glad_glUniform4uiv;
2606 void APIENTRY glad_debug_impl_glUniform4uiv(GLint arg0, GLsizei arg1, const GLuint * arg2) {
2607 _pre_call_callback("glUniform4uiv", (void*)glUniform4uiv, 3, arg0, arg1, arg2);
2608 glad_glUniform4uiv(arg0, arg1, arg2);
2609 _post_call_callback("glUniform4uiv", (void*)glUniform4uiv, 3, arg0, arg1, arg2);
2610
2611 }
2612 PFNGLUNIFORM4UIVPROC glad_debug_glUniform4uiv = glad_debug_impl_glUniform4uiv;
2613 PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding;
2614 void APIENTRY glad_debug_impl_glUniformBlockBinding(GLuint arg0, GLuint arg1, GLuint arg2) {
2615 _pre_call_callback("glUniformBlockBinding", (void*)glUniformBlockBinding, 3, arg0, arg1, arg2);
2616 glad_glUniformBlockBinding(arg0, arg1, arg2);
2617 _post_call_callback("glUniformBlockBinding", (void*)glUniformBlockBinding, 3, arg0, arg1, arg2);
2618
2619 }
2620 PFNGLUNIFORMBLOCKBINDINGPROC glad_debug_glUniformBlockBinding = glad_debug_impl_glUniformBlockBinding;
2621 PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv;
2622 void APIENTRY glad_debug_impl_glUniformMatrix2fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2623 _pre_call_callback("glUniformMatrix2fv", (void*)glUniformMatrix2fv, 4, arg0, arg1, arg2, arg3);
2624 glad_glUniformMatrix2fv(arg0, arg1, arg2, arg3);
2625 _post_call_callback("glUniformMatrix2fv", (void*)glUniformMatrix2fv, 4, arg0, arg1, arg2, arg3);
2626
2627 }
2628 PFNGLUNIFORMMATRIX2FVPROC glad_debug_glUniformMatrix2fv = glad_debug_impl_glUniformMatrix2fv;
2629 PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv;
2630 void APIENTRY glad_debug_impl_glUniformMatrix2x3fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2631 _pre_call_callback("glUniformMatrix2x3fv", (void*)glUniformMatrix2x3fv, 4, arg0, arg1, arg2, arg3);
2632 glad_glUniformMatrix2x3fv(arg0, arg1, arg2, arg3);
2633 _post_call_callback("glUniformMatrix2x3fv", (void*)glUniformMatrix2x3fv, 4, arg0, arg1, arg2, arg3);
2634
2635 }
2636 PFNGLUNIFORMMATRIX2X3FVPROC glad_debug_glUniformMatrix2x3fv = glad_debug_impl_glUniformMatrix2x3fv;
2637 PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv;
2638 void APIENTRY glad_debug_impl_glUniformMatrix2x4fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2639 _pre_call_callback("glUniformMatrix2x4fv", (void*)glUniformMatrix2x4fv, 4, arg0, arg1, arg2, arg3);
2640 glad_glUniformMatrix2x4fv(arg0, arg1, arg2, arg3);
2641 _post_call_callback("glUniformMatrix2x4fv", (void*)glUniformMatrix2x4fv, 4, arg0, arg1, arg2, arg3);
2642
2643 }
2644 PFNGLUNIFORMMATRIX2X4FVPROC glad_debug_glUniformMatrix2x4fv = glad_debug_impl_glUniformMatrix2x4fv;
2645 PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv;
2646 void APIENTRY glad_debug_impl_glUniformMatrix3fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2647 _pre_call_callback("glUniformMatrix3fv", (void*)glUniformMatrix3fv, 4, arg0, arg1, arg2, arg3);
2648 glad_glUniformMatrix3fv(arg0, arg1, arg2, arg3);
2649 _post_call_callback("glUniformMatrix3fv", (void*)glUniformMatrix3fv, 4, arg0, arg1, arg2, arg3);
2650
2651 }
2652 PFNGLUNIFORMMATRIX3FVPROC glad_debug_glUniformMatrix3fv = glad_debug_impl_glUniformMatrix3fv;
2653 PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv;
2654 void APIENTRY glad_debug_impl_glUniformMatrix3x2fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2655 _pre_call_callback("glUniformMatrix3x2fv", (void*)glUniformMatrix3x2fv, 4, arg0, arg1, arg2, arg3);
2656 glad_glUniformMatrix3x2fv(arg0, arg1, arg2, arg3);
2657 _post_call_callback("glUniformMatrix3x2fv", (void*)glUniformMatrix3x2fv, 4, arg0, arg1, arg2, arg3);
2658
2659 }
2660 PFNGLUNIFORMMATRIX3X2FVPROC glad_debug_glUniformMatrix3x2fv = glad_debug_impl_glUniformMatrix3x2fv;
2661 PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv;
2662 void APIENTRY glad_debug_impl_glUniformMatrix3x4fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2663 _pre_call_callback("glUniformMatrix3x4fv", (void*)glUniformMatrix3x4fv, 4, arg0, arg1, arg2, arg3);
2664 glad_glUniformMatrix3x4fv(arg0, arg1, arg2, arg3);
2665 _post_call_callback("glUniformMatrix3x4fv", (void*)glUniformMatrix3x4fv, 4, arg0, arg1, arg2, arg3);
2666
2667 }
2668 PFNGLUNIFORMMATRIX3X4FVPROC glad_debug_glUniformMatrix3x4fv = glad_debug_impl_glUniformMatrix3x4fv;
2669 PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv;
2670 void APIENTRY glad_debug_impl_glUniformMatrix4fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2671 _pre_call_callback("glUniformMatrix4fv", (void*)glUniformMatrix4fv, 4, arg0, arg1, arg2, arg3);
2672 glad_glUniformMatrix4fv(arg0, arg1, arg2, arg3);
2673 _post_call_callback("glUniformMatrix4fv", (void*)glUniformMatrix4fv, 4, arg0, arg1, arg2, arg3);
2674
2675 }
2676 PFNGLUNIFORMMATRIX4FVPROC glad_debug_glUniformMatrix4fv = glad_debug_impl_glUniformMatrix4fv;
2677 PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv;
2678 void APIENTRY glad_debug_impl_glUniformMatrix4x2fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2679 _pre_call_callback("glUniformMatrix4x2fv", (void*)glUniformMatrix4x2fv, 4, arg0, arg1, arg2, arg3);
2680 glad_glUniformMatrix4x2fv(arg0, arg1, arg2, arg3);
2681 _post_call_callback("glUniformMatrix4x2fv", (void*)glUniformMatrix4x2fv, 4, arg0, arg1, arg2, arg3);
2682
2683 }
2684 PFNGLUNIFORMMATRIX4X2FVPROC glad_debug_glUniformMatrix4x2fv = glad_debug_impl_glUniformMatrix4x2fv;
2685 PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv;
2686 void APIENTRY glad_debug_impl_glUniformMatrix4x3fv(GLint arg0, GLsizei arg1, GLboolean arg2, const GLfloat * arg3) {
2687 _pre_call_callback("glUniformMatrix4x3fv", (void*)glUniformMatrix4x3fv, 4, arg0, arg1, arg2, arg3);
2688 glad_glUniformMatrix4x3fv(arg0, arg1, arg2, arg3);
2689 _post_call_callback("glUniformMatrix4x3fv", (void*)glUniformMatrix4x3fv, 4, arg0, arg1, arg2, arg3);
2690
2691 }
2692 PFNGLUNIFORMMATRIX4X3FVPROC glad_debug_glUniformMatrix4x3fv = glad_debug_impl_glUniformMatrix4x3fv;
2693 PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer;
2694 GLboolean APIENTRY glad_debug_impl_glUnmapBuffer(GLenum arg0) {
2695 GLboolean ret;
2696 _pre_call_callback("glUnmapBuffer", (void*)glUnmapBuffer, 1, arg0);
2697 ret = glad_glUnmapBuffer(arg0);
2698 _post_call_callback("glUnmapBuffer", (void*)glUnmapBuffer, 1, arg0);
2699 return ret;
2700 }
2701 PFNGLUNMAPBUFFERPROC glad_debug_glUnmapBuffer = glad_debug_impl_glUnmapBuffer;
2702 PFNGLUSEPROGRAMPROC glad_glUseProgram;
2703 void APIENTRY glad_debug_impl_glUseProgram(GLuint arg0) {
2704 _pre_call_callback("glUseProgram", (void*)glUseProgram, 1, arg0);
2705 glad_glUseProgram(arg0);
2706 _post_call_callback("glUseProgram", (void*)glUseProgram, 1, arg0);
2707
2708 }
2709 PFNGLUSEPROGRAMPROC glad_debug_glUseProgram = glad_debug_impl_glUseProgram;
2710 PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram;
2711 void APIENTRY glad_debug_impl_glValidateProgram(GLuint arg0) {
2712 _pre_call_callback("glValidateProgram", (void*)glValidateProgram, 1, arg0);
2713 glad_glValidateProgram(arg0);
2714 _post_call_callback("glValidateProgram", (void*)glValidateProgram, 1, arg0);
2715
2716 }
2717 PFNGLVALIDATEPROGRAMPROC glad_debug_glValidateProgram = glad_debug_impl_glValidateProgram;
2718 PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d;
2719 void APIENTRY glad_debug_impl_glVertexAttrib1d(GLuint arg0, GLdouble arg1) {
2720 _pre_call_callback("glVertexAttrib1d", (void*)glVertexAttrib1d, 2, arg0, arg1);
2721 glad_glVertexAttrib1d(arg0, arg1);
2722 _post_call_callback("glVertexAttrib1d", (void*)glVertexAttrib1d, 2, arg0, arg1);
2723
2724 }
2725 PFNGLVERTEXATTRIB1DPROC glad_debug_glVertexAttrib1d = glad_debug_impl_glVertexAttrib1d;
2726 PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv;
2727 void APIENTRY glad_debug_impl_glVertexAttrib1dv(GLuint arg0, const GLdouble * arg1) {
2728 _pre_call_callback("glVertexAttrib1dv", (void*)glVertexAttrib1dv, 2, arg0, arg1);
2729 glad_glVertexAttrib1dv(arg0, arg1);
2730 _post_call_callback("glVertexAttrib1dv", (void*)glVertexAttrib1dv, 2, arg0, arg1);
2731
2732 }
2733 PFNGLVERTEXATTRIB1DVPROC glad_debug_glVertexAttrib1dv = glad_debug_impl_glVertexAttrib1dv;
2734 PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f;
2735 void APIENTRY glad_debug_impl_glVertexAttrib1f(GLuint arg0, GLfloat arg1) {
2736 _pre_call_callback("glVertexAttrib1f", (void*)glVertexAttrib1f, 2, arg0, arg1);
2737 glad_glVertexAttrib1f(arg0, arg1);
2738 _post_call_callback("glVertexAttrib1f", (void*)glVertexAttrib1f, 2, arg0, arg1);
2739
2740 }
2741 PFNGLVERTEXATTRIB1FPROC glad_debug_glVertexAttrib1f = glad_debug_impl_glVertexAttrib1f;
2742 PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv;
2743 void APIENTRY glad_debug_impl_glVertexAttrib1fv(GLuint arg0, const GLfloat * arg1) {
2744 _pre_call_callback("glVertexAttrib1fv", (void*)glVertexAttrib1fv, 2, arg0, arg1);
2745 glad_glVertexAttrib1fv(arg0, arg1);
2746 _post_call_callback("glVertexAttrib1fv", (void*)glVertexAttrib1fv, 2, arg0, arg1);
2747
2748 }
2749 PFNGLVERTEXATTRIB1FVPROC glad_debug_glVertexAttrib1fv = glad_debug_impl_glVertexAttrib1fv;
2750 PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s;
2751 void APIENTRY glad_debug_impl_glVertexAttrib1s(GLuint arg0, GLshort arg1) {
2752 _pre_call_callback("glVertexAttrib1s", (void*)glVertexAttrib1s, 2, arg0, arg1);
2753 glad_glVertexAttrib1s(arg0, arg1);
2754 _post_call_callback("glVertexAttrib1s", (void*)glVertexAttrib1s, 2, arg0, arg1);
2755
2756 }
2757 PFNGLVERTEXATTRIB1SPROC glad_debug_glVertexAttrib1s = glad_debug_impl_glVertexAttrib1s;
2758 PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv;
2759 void APIENTRY glad_debug_impl_glVertexAttrib1sv(GLuint arg0, const GLshort * arg1) {
2760 _pre_call_callback("glVertexAttrib1sv", (void*)glVertexAttrib1sv, 2, arg0, arg1);
2761 glad_glVertexAttrib1sv(arg0, arg1);
2762 _post_call_callback("glVertexAttrib1sv", (void*)glVertexAttrib1sv, 2, arg0, arg1);
2763
2764 }
2765 PFNGLVERTEXATTRIB1SVPROC glad_debug_glVertexAttrib1sv = glad_debug_impl_glVertexAttrib1sv;
2766 PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d;
2767 void APIENTRY glad_debug_impl_glVertexAttrib2d(GLuint arg0, GLdouble arg1, GLdouble arg2) {
2768 _pre_call_callback("glVertexAttrib2d", (void*)glVertexAttrib2d, 3, arg0, arg1, arg2);
2769 glad_glVertexAttrib2d(arg0, arg1, arg2);
2770 _post_call_callback("glVertexAttrib2d", (void*)glVertexAttrib2d, 3, arg0, arg1, arg2);
2771
2772 }
2773 PFNGLVERTEXATTRIB2DPROC glad_debug_glVertexAttrib2d = glad_debug_impl_glVertexAttrib2d;
2774 PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv;
2775 void APIENTRY glad_debug_impl_glVertexAttrib2dv(GLuint arg0, const GLdouble * arg1) {
2776 _pre_call_callback("glVertexAttrib2dv", (void*)glVertexAttrib2dv, 2, arg0, arg1);
2777 glad_glVertexAttrib2dv(arg0, arg1);
2778 _post_call_callback("glVertexAttrib2dv", (void*)glVertexAttrib2dv, 2, arg0, arg1);
2779
2780 }
2781 PFNGLVERTEXATTRIB2DVPROC glad_debug_glVertexAttrib2dv = glad_debug_impl_glVertexAttrib2dv;
2782 PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f;
2783 void APIENTRY glad_debug_impl_glVertexAttrib2f(GLuint arg0, GLfloat arg1, GLfloat arg2) {
2784 _pre_call_callback("glVertexAttrib2f", (void*)glVertexAttrib2f, 3, arg0, arg1, arg2);
2785 glad_glVertexAttrib2f(arg0, arg1, arg2);
2786 _post_call_callback("glVertexAttrib2f", (void*)glVertexAttrib2f, 3, arg0, arg1, arg2);
2787
2788 }
2789 PFNGLVERTEXATTRIB2FPROC glad_debug_glVertexAttrib2f = glad_debug_impl_glVertexAttrib2f;
2790 PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv;
2791 void APIENTRY glad_debug_impl_glVertexAttrib2fv(GLuint arg0, const GLfloat * arg1) {
2792 _pre_call_callback("glVertexAttrib2fv", (void*)glVertexAttrib2fv, 2, arg0, arg1);
2793 glad_glVertexAttrib2fv(arg0, arg1);
2794 _post_call_callback("glVertexAttrib2fv", (void*)glVertexAttrib2fv, 2, arg0, arg1);
2795
2796 }
2797 PFNGLVERTEXATTRIB2FVPROC glad_debug_glVertexAttrib2fv = glad_debug_impl_glVertexAttrib2fv;
2798 PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s;
2799 void APIENTRY glad_debug_impl_glVertexAttrib2s(GLuint arg0, GLshort arg1, GLshort arg2) {
2800 _pre_call_callback("glVertexAttrib2s", (void*)glVertexAttrib2s, 3, arg0, arg1, arg2);
2801 glad_glVertexAttrib2s(arg0, arg1, arg2);
2802 _post_call_callback("glVertexAttrib2s", (void*)glVertexAttrib2s, 3, arg0, arg1, arg2);
2803
2804 }
2805 PFNGLVERTEXATTRIB2SPROC glad_debug_glVertexAttrib2s = glad_debug_impl_glVertexAttrib2s;
2806 PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv;
2807 void APIENTRY glad_debug_impl_glVertexAttrib2sv(GLuint arg0, const GLshort * arg1) {
2808 _pre_call_callback("glVertexAttrib2sv", (void*)glVertexAttrib2sv, 2, arg0, arg1);
2809 glad_glVertexAttrib2sv(arg0, arg1);
2810 _post_call_callback("glVertexAttrib2sv", (void*)glVertexAttrib2sv, 2, arg0, arg1);
2811
2812 }
2813 PFNGLVERTEXATTRIB2SVPROC glad_debug_glVertexAttrib2sv = glad_debug_impl_glVertexAttrib2sv;
2814 PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d;
2815 void APIENTRY glad_debug_impl_glVertexAttrib3d(GLuint arg0, GLdouble arg1, GLdouble arg2, GLdouble arg3) {
2816 _pre_call_callback("glVertexAttrib3d", (void*)glVertexAttrib3d, 4, arg0, arg1, arg2, arg3);
2817 glad_glVertexAttrib3d(arg0, arg1, arg2, arg3);
2818 _post_call_callback("glVertexAttrib3d", (void*)glVertexAttrib3d, 4, arg0, arg1, arg2, arg3);
2819
2820 }
2821 PFNGLVERTEXATTRIB3DPROC glad_debug_glVertexAttrib3d = glad_debug_impl_glVertexAttrib3d;
2822 PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv;
2823 void APIENTRY glad_debug_impl_glVertexAttrib3dv(GLuint arg0, const GLdouble * arg1) {
2824 _pre_call_callback("glVertexAttrib3dv", (void*)glVertexAttrib3dv, 2, arg0, arg1);
2825 glad_glVertexAttrib3dv(arg0, arg1);
2826 _post_call_callback("glVertexAttrib3dv", (void*)glVertexAttrib3dv, 2, arg0, arg1);
2827
2828 }
2829 PFNGLVERTEXATTRIB3DVPROC glad_debug_glVertexAttrib3dv = glad_debug_impl_glVertexAttrib3dv;
2830 PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f;
2831 void APIENTRY glad_debug_impl_glVertexAttrib3f(GLuint arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3) {
2832 _pre_call_callback("glVertexAttrib3f", (void*)glVertexAttrib3f, 4, arg0, arg1, arg2, arg3);
2833 glad_glVertexAttrib3f(arg0, arg1, arg2, arg3);
2834 _post_call_callback("glVertexAttrib3f", (void*)glVertexAttrib3f, 4, arg0, arg1, arg2, arg3);
2835
2836 }
2837 PFNGLVERTEXATTRIB3FPROC glad_debug_glVertexAttrib3f = glad_debug_impl_glVertexAttrib3f;
2838 PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv;
2839 void APIENTRY glad_debug_impl_glVertexAttrib3fv(GLuint arg0, const GLfloat * arg1) {
2840 _pre_call_callback("glVertexAttrib3fv", (void*)glVertexAttrib3fv, 2, arg0, arg1);
2841 glad_glVertexAttrib3fv(arg0, arg1);
2842 _post_call_callback("glVertexAttrib3fv", (void*)glVertexAttrib3fv, 2, arg0, arg1);
2843
2844 }
2845 PFNGLVERTEXATTRIB3FVPROC glad_debug_glVertexAttrib3fv = glad_debug_impl_glVertexAttrib3fv;
2846 PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s;
2847 void APIENTRY glad_debug_impl_glVertexAttrib3s(GLuint arg0, GLshort arg1, GLshort arg2, GLshort arg3) {
2848 _pre_call_callback("glVertexAttrib3s", (void*)glVertexAttrib3s, 4, arg0, arg1, arg2, arg3);
2849 glad_glVertexAttrib3s(arg0, arg1, arg2, arg3);
2850 _post_call_callback("glVertexAttrib3s", (void*)glVertexAttrib3s, 4, arg0, arg1, arg2, arg3);
2851
2852 }
2853 PFNGLVERTEXATTRIB3SPROC glad_debug_glVertexAttrib3s = glad_debug_impl_glVertexAttrib3s;
2854 PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv;
2855 void APIENTRY glad_debug_impl_glVertexAttrib3sv(GLuint arg0, const GLshort * arg1) {
2856 _pre_call_callback("glVertexAttrib3sv", (void*)glVertexAttrib3sv, 2, arg0, arg1);
2857 glad_glVertexAttrib3sv(arg0, arg1);
2858 _post_call_callback("glVertexAttrib3sv", (void*)glVertexAttrib3sv, 2, arg0, arg1);
2859
2860 }
2861 PFNGLVERTEXATTRIB3SVPROC glad_debug_glVertexAttrib3sv = glad_debug_impl_glVertexAttrib3sv;
2862 PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv;
2863 void APIENTRY glad_debug_impl_glVertexAttrib4Nbv(GLuint arg0, const GLbyte * arg1) {
2864 _pre_call_callback("glVertexAttrib4Nbv", (void*)glVertexAttrib4Nbv, 2, arg0, arg1);
2865 glad_glVertexAttrib4Nbv(arg0, arg1);
2866 _post_call_callback("glVertexAttrib4Nbv", (void*)glVertexAttrib4Nbv, 2, arg0, arg1);
2867
2868 }
2869 PFNGLVERTEXATTRIB4NBVPROC glad_debug_glVertexAttrib4Nbv = glad_debug_impl_glVertexAttrib4Nbv;
2870 PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv;
2871 void APIENTRY glad_debug_impl_glVertexAttrib4Niv(GLuint arg0, const GLint * arg1) {
2872 _pre_call_callback("glVertexAttrib4Niv", (void*)glVertexAttrib4Niv, 2, arg0, arg1);
2873 glad_glVertexAttrib4Niv(arg0, arg1);
2874 _post_call_callback("glVertexAttrib4Niv", (void*)glVertexAttrib4Niv, 2, arg0, arg1);
2875
2876 }
2877 PFNGLVERTEXATTRIB4NIVPROC glad_debug_glVertexAttrib4Niv = glad_debug_impl_glVertexAttrib4Niv;
2878 PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv;
2879 void APIENTRY glad_debug_impl_glVertexAttrib4Nsv(GLuint arg0, const GLshort * arg1) {
2880 _pre_call_callback("glVertexAttrib4Nsv", (void*)glVertexAttrib4Nsv, 2, arg0, arg1);
2881 glad_glVertexAttrib4Nsv(arg0, arg1);
2882 _post_call_callback("glVertexAttrib4Nsv", (void*)glVertexAttrib4Nsv, 2, arg0, arg1);
2883
2884 }
2885 PFNGLVERTEXATTRIB4NSVPROC glad_debug_glVertexAttrib4Nsv = glad_debug_impl_glVertexAttrib4Nsv;
2886 PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub;
2887 void APIENTRY glad_debug_impl_glVertexAttrib4Nub(GLuint arg0, GLubyte arg1, GLubyte arg2, GLubyte arg3, GLubyte arg4) {
2888 _pre_call_callback("glVertexAttrib4Nub", (void*)glVertexAttrib4Nub, 5, arg0, arg1, arg2, arg3, arg4);
2889 glad_glVertexAttrib4Nub(arg0, arg1, arg2, arg3, arg4);
2890 _post_call_callback("glVertexAttrib4Nub", (void*)glVertexAttrib4Nub, 5, arg0, arg1, arg2, arg3, arg4);
2891
2892 }
2893 PFNGLVERTEXATTRIB4NUBPROC glad_debug_glVertexAttrib4Nub = glad_debug_impl_glVertexAttrib4Nub;
2894 PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv;
2895 void APIENTRY glad_debug_impl_glVertexAttrib4Nubv(GLuint arg0, const GLubyte * arg1) {
2896 _pre_call_callback("glVertexAttrib4Nubv", (void*)glVertexAttrib4Nubv, 2, arg0, arg1);
2897 glad_glVertexAttrib4Nubv(arg0, arg1);
2898 _post_call_callback("glVertexAttrib4Nubv", (void*)glVertexAttrib4Nubv, 2, arg0, arg1);
2899
2900 }
2901 PFNGLVERTEXATTRIB4NUBVPROC glad_debug_glVertexAttrib4Nubv = glad_debug_impl_glVertexAttrib4Nubv;
2902 PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv;
2903 void APIENTRY glad_debug_impl_glVertexAttrib4Nuiv(GLuint arg0, const GLuint * arg1) {
2904 _pre_call_callback("glVertexAttrib4Nuiv", (void*)glVertexAttrib4Nuiv, 2, arg0, arg1);
2905 glad_glVertexAttrib4Nuiv(arg0, arg1);
2906 _post_call_callback("glVertexAttrib4Nuiv", (void*)glVertexAttrib4Nuiv, 2, arg0, arg1);
2907
2908 }
2909 PFNGLVERTEXATTRIB4NUIVPROC glad_debug_glVertexAttrib4Nuiv = glad_debug_impl_glVertexAttrib4Nuiv;
2910 PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv;
2911 void APIENTRY glad_debug_impl_glVertexAttrib4Nusv(GLuint arg0, const GLushort * arg1) {
2912 _pre_call_callback("glVertexAttrib4Nusv", (void*)glVertexAttrib4Nusv, 2, arg0, arg1);
2913 glad_glVertexAttrib4Nusv(arg0, arg1);
2914 _post_call_callback("glVertexAttrib4Nusv", (void*)glVertexAttrib4Nusv, 2, arg0, arg1);
2915
2916 }
2917 PFNGLVERTEXATTRIB4NUSVPROC glad_debug_glVertexAttrib4Nusv = glad_debug_impl_glVertexAttrib4Nusv;
2918 PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv;
2919 void APIENTRY glad_debug_impl_glVertexAttrib4bv(GLuint arg0, const GLbyte * arg1) {
2920 _pre_call_callback("glVertexAttrib4bv", (void*)glVertexAttrib4bv, 2, arg0, arg1);
2921 glad_glVertexAttrib4bv(arg0, arg1);
2922 _post_call_callback("glVertexAttrib4bv", (void*)glVertexAttrib4bv, 2, arg0, arg1);
2923
2924 }
2925 PFNGLVERTEXATTRIB4BVPROC glad_debug_glVertexAttrib4bv = glad_debug_impl_glVertexAttrib4bv;
2926 PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d;
2927 void APIENTRY glad_debug_impl_glVertexAttrib4d(GLuint arg0, GLdouble arg1, GLdouble arg2, GLdouble arg3, GLdouble arg4) {
2928 _pre_call_callback("glVertexAttrib4d", (void*)glVertexAttrib4d, 5, arg0, arg1, arg2, arg3, arg4);
2929 glad_glVertexAttrib4d(arg0, arg1, arg2, arg3, arg4);
2930 _post_call_callback("glVertexAttrib4d", (void*)glVertexAttrib4d, 5, arg0, arg1, arg2, arg3, arg4);
2931
2932 }
2933 PFNGLVERTEXATTRIB4DPROC glad_debug_glVertexAttrib4d = glad_debug_impl_glVertexAttrib4d;
2934 PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv;
2935 void APIENTRY glad_debug_impl_glVertexAttrib4dv(GLuint arg0, const GLdouble * arg1) {
2936 _pre_call_callback("glVertexAttrib4dv", (void*)glVertexAttrib4dv, 2, arg0, arg1);
2937 glad_glVertexAttrib4dv(arg0, arg1);
2938 _post_call_callback("glVertexAttrib4dv", (void*)glVertexAttrib4dv, 2, arg0, arg1);
2939
2940 }
2941 PFNGLVERTEXATTRIB4DVPROC glad_debug_glVertexAttrib4dv = glad_debug_impl_glVertexAttrib4dv;
2942 PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f;
2943 void APIENTRY glad_debug_impl_glVertexAttrib4f(GLuint arg0, GLfloat arg1, GLfloat arg2, GLfloat arg3, GLfloat arg4) {
2944 _pre_call_callback("glVertexAttrib4f", (void*)glVertexAttrib4f, 5, arg0, arg1, arg2, arg3, arg4);
2945 glad_glVertexAttrib4f(arg0, arg1, arg2, arg3, arg4);
2946 _post_call_callback("glVertexAttrib4f", (void*)glVertexAttrib4f, 5, arg0, arg1, arg2, arg3, arg4);
2947
2948 }
2949 PFNGLVERTEXATTRIB4FPROC glad_debug_glVertexAttrib4f = glad_debug_impl_glVertexAttrib4f;
2950 PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv;
2951 void APIENTRY glad_debug_impl_glVertexAttrib4fv(GLuint arg0, const GLfloat * arg1) {
2952 _pre_call_callback("glVertexAttrib4fv", (void*)glVertexAttrib4fv, 2, arg0, arg1);
2953 glad_glVertexAttrib4fv(arg0, arg1);
2954 _post_call_callback("glVertexAttrib4fv", (void*)glVertexAttrib4fv, 2, arg0, arg1);
2955
2956 }
2957 PFNGLVERTEXATTRIB4FVPROC glad_debug_glVertexAttrib4fv = glad_debug_impl_glVertexAttrib4fv;
2958 PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv;
2959 void APIENTRY glad_debug_impl_glVertexAttrib4iv(GLuint arg0, const GLint * arg1) {
2960 _pre_call_callback("glVertexAttrib4iv", (void*)glVertexAttrib4iv, 2, arg0, arg1);
2961 glad_glVertexAttrib4iv(arg0, arg1);
2962 _post_call_callback("glVertexAttrib4iv", (void*)glVertexAttrib4iv, 2, arg0, arg1);
2963
2964 }
2965 PFNGLVERTEXATTRIB4IVPROC glad_debug_glVertexAttrib4iv = glad_debug_impl_glVertexAttrib4iv;
2966 PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s;
2967 void APIENTRY glad_debug_impl_glVertexAttrib4s(GLuint arg0, GLshort arg1, GLshort arg2, GLshort arg3, GLshort arg4) {
2968 _pre_call_callback("glVertexAttrib4s", (void*)glVertexAttrib4s, 5, arg0, arg1, arg2, arg3, arg4);
2969 glad_glVertexAttrib4s(arg0, arg1, arg2, arg3, arg4);
2970 _post_call_callback("glVertexAttrib4s", (void*)glVertexAttrib4s, 5, arg0, arg1, arg2, arg3, arg4);
2971
2972 }
2973 PFNGLVERTEXATTRIB4SPROC glad_debug_glVertexAttrib4s = glad_debug_impl_glVertexAttrib4s;
2974 PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv;
2975 void APIENTRY glad_debug_impl_glVertexAttrib4sv(GLuint arg0, const GLshort * arg1) {
2976 _pre_call_callback("glVertexAttrib4sv", (void*)glVertexAttrib4sv, 2, arg0, arg1);
2977 glad_glVertexAttrib4sv(arg0, arg1);
2978 _post_call_callback("glVertexAttrib4sv", (void*)glVertexAttrib4sv, 2, arg0, arg1);
2979
2980 }
2981 PFNGLVERTEXATTRIB4SVPROC glad_debug_glVertexAttrib4sv = glad_debug_impl_glVertexAttrib4sv;
2982 PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv;
2983 void APIENTRY glad_debug_impl_glVertexAttrib4ubv(GLuint arg0, const GLubyte * arg1) {
2984 _pre_call_callback("glVertexAttrib4ubv", (void*)glVertexAttrib4ubv, 2, arg0, arg1);
2985 glad_glVertexAttrib4ubv(arg0, arg1);
2986 _post_call_callback("glVertexAttrib4ubv", (void*)glVertexAttrib4ubv, 2, arg0, arg1);
2987
2988 }
2989 PFNGLVERTEXATTRIB4UBVPROC glad_debug_glVertexAttrib4ubv = glad_debug_impl_glVertexAttrib4ubv;
2990 PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv;
2991 void APIENTRY glad_debug_impl_glVertexAttrib4uiv(GLuint arg0, const GLuint * arg1) {
2992 _pre_call_callback("glVertexAttrib4uiv", (void*)glVertexAttrib4uiv, 2, arg0, arg1);
2993 glad_glVertexAttrib4uiv(arg0, arg1);
2994 _post_call_callback("glVertexAttrib4uiv", (void*)glVertexAttrib4uiv, 2, arg0, arg1);
2995
2996 }
2997 PFNGLVERTEXATTRIB4UIVPROC glad_debug_glVertexAttrib4uiv = glad_debug_impl_glVertexAttrib4uiv;
2998 PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv;
2999 void APIENTRY glad_debug_impl_glVertexAttrib4usv(GLuint arg0, const GLushort * arg1) {
3000 _pre_call_callback("glVertexAttrib4usv", (void*)glVertexAttrib4usv, 2, arg0, arg1);
3001 glad_glVertexAttrib4usv(arg0, arg1);
3002 _post_call_callback("glVertexAttrib4usv", (void*)glVertexAttrib4usv, 2, arg0, arg1);
3003
3004 }
3005 PFNGLVERTEXATTRIB4USVPROC glad_debug_glVertexAttrib4usv = glad_debug_impl_glVertexAttrib4usv;
3006 PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor;
3007 void APIENTRY glad_debug_impl_glVertexAttribDivisor(GLuint arg0, GLuint arg1) {
3008 _pre_call_callback("glVertexAttribDivisor", (void*)glVertexAttribDivisor, 2, arg0, arg1);
3009 glad_glVertexAttribDivisor(arg0, arg1);
3010 _post_call_callback("glVertexAttribDivisor", (void*)glVertexAttribDivisor, 2, arg0, arg1);
3011
3012 }
3013 PFNGLVERTEXATTRIBDIVISORPROC glad_debug_glVertexAttribDivisor = glad_debug_impl_glVertexAttribDivisor;
3014 PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i;
3015 void APIENTRY glad_debug_impl_glVertexAttribI1i(GLuint arg0, GLint arg1) {
3016 _pre_call_callback("glVertexAttribI1i", (void*)glVertexAttribI1i, 2, arg0, arg1);
3017 glad_glVertexAttribI1i(arg0, arg1);
3018 _post_call_callback("glVertexAttribI1i", (void*)glVertexAttribI1i, 2, arg0, arg1);
3019
3020 }
3021 PFNGLVERTEXATTRIBI1IPROC glad_debug_glVertexAttribI1i = glad_debug_impl_glVertexAttribI1i;
3022 PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv;
3023 void APIENTRY glad_debug_impl_glVertexAttribI1iv(GLuint arg0, const GLint * arg1) {
3024 _pre_call_callback("glVertexAttribI1iv", (void*)glVertexAttribI1iv, 2, arg0, arg1);
3025 glad_glVertexAttribI1iv(arg0, arg1);
3026 _post_call_callback("glVertexAttribI1iv", (void*)glVertexAttribI1iv, 2, arg0, arg1);
3027
3028 }
3029 PFNGLVERTEXATTRIBI1IVPROC glad_debug_glVertexAttribI1iv = glad_debug_impl_glVertexAttribI1iv;
3030 PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui;
3031 void APIENTRY glad_debug_impl_glVertexAttribI1ui(GLuint arg0, GLuint arg1) {
3032 _pre_call_callback("glVertexAttribI1ui", (void*)glVertexAttribI1ui, 2, arg0, arg1);
3033 glad_glVertexAttribI1ui(arg0, arg1);
3034 _post_call_callback("glVertexAttribI1ui", (void*)glVertexAttribI1ui, 2, arg0, arg1);
3035
3036 }
3037 PFNGLVERTEXATTRIBI1UIPROC glad_debug_glVertexAttribI1ui = glad_debug_impl_glVertexAttribI1ui;
3038 PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv;
3039 void APIENTRY glad_debug_impl_glVertexAttribI1uiv(GLuint arg0, const GLuint * arg1) {
3040 _pre_call_callback("glVertexAttribI1uiv", (void*)glVertexAttribI1uiv, 2, arg0, arg1);
3041 glad_glVertexAttribI1uiv(arg0, arg1);
3042 _post_call_callback("glVertexAttribI1uiv", (void*)glVertexAttribI1uiv, 2, arg0, arg1);
3043
3044 }
3045 PFNGLVERTEXATTRIBI1UIVPROC glad_debug_glVertexAttribI1uiv = glad_debug_impl_glVertexAttribI1uiv;
3046 PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i;
3047 void APIENTRY glad_debug_impl_glVertexAttribI2i(GLuint arg0, GLint arg1, GLint arg2) {
3048 _pre_call_callback("glVertexAttribI2i", (void*)glVertexAttribI2i, 3, arg0, arg1, arg2);
3049 glad_glVertexAttribI2i(arg0, arg1, arg2);
3050 _post_call_callback("glVertexAttribI2i", (void*)glVertexAttribI2i, 3, arg0, arg1, arg2);
3051
3052 }
3053 PFNGLVERTEXATTRIBI2IPROC glad_debug_glVertexAttribI2i = glad_debug_impl_glVertexAttribI2i;
3054 PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv;
3055 void APIENTRY glad_debug_impl_glVertexAttribI2iv(GLuint arg0, const GLint * arg1) {
3056 _pre_call_callback("glVertexAttribI2iv", (void*)glVertexAttribI2iv, 2, arg0, arg1);
3057 glad_glVertexAttribI2iv(arg0, arg1);
3058 _post_call_callback("glVertexAttribI2iv", (void*)glVertexAttribI2iv, 2, arg0, arg1);
3059
3060 }
3061 PFNGLVERTEXATTRIBI2IVPROC glad_debug_glVertexAttribI2iv = glad_debug_impl_glVertexAttribI2iv;
3062 PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui;
3063 void APIENTRY glad_debug_impl_glVertexAttribI2ui(GLuint arg0, GLuint arg1, GLuint arg2) {
3064 _pre_call_callback("glVertexAttribI2ui", (void*)glVertexAttribI2ui, 3, arg0, arg1, arg2);
3065 glad_glVertexAttribI2ui(arg0, arg1, arg2);
3066 _post_call_callback("glVertexAttribI2ui", (void*)glVertexAttribI2ui, 3, arg0, arg1, arg2);
3067
3068 }
3069 PFNGLVERTEXATTRIBI2UIPROC glad_debug_glVertexAttribI2ui = glad_debug_impl_glVertexAttribI2ui;
3070 PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv;
3071 void APIENTRY glad_debug_impl_glVertexAttribI2uiv(GLuint arg0, const GLuint * arg1) {
3072 _pre_call_callback("glVertexAttribI2uiv", (void*)glVertexAttribI2uiv, 2, arg0, arg1);
3073 glad_glVertexAttribI2uiv(arg0, arg1);
3074 _post_call_callback("glVertexAttribI2uiv", (void*)glVertexAttribI2uiv, 2, arg0, arg1);
3075
3076 }
3077 PFNGLVERTEXATTRIBI2UIVPROC glad_debug_glVertexAttribI2uiv = glad_debug_impl_glVertexAttribI2uiv;
3078 PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i;
3079 void APIENTRY glad_debug_impl_glVertexAttribI3i(GLuint arg0, GLint arg1, GLint arg2, GLint arg3) {
3080 _pre_call_callback("glVertexAttribI3i", (void*)glVertexAttribI3i, 4, arg0, arg1, arg2, arg3);
3081 glad_glVertexAttribI3i(arg0, arg1, arg2, arg3);
3082 _post_call_callback("glVertexAttribI3i", (void*)glVertexAttribI3i, 4, arg0, arg1, arg2, arg3);
3083
3084 }
3085 PFNGLVERTEXATTRIBI3IPROC glad_debug_glVertexAttribI3i = glad_debug_impl_glVertexAttribI3i;
3086 PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv;
3087 void APIENTRY glad_debug_impl_glVertexAttribI3iv(GLuint arg0, const GLint * arg1) {
3088 _pre_call_callback("glVertexAttribI3iv", (void*)glVertexAttribI3iv, 2, arg0, arg1);
3089 glad_glVertexAttribI3iv(arg0, arg1);
3090 _post_call_callback("glVertexAttribI3iv", (void*)glVertexAttribI3iv, 2, arg0, arg1);
3091
3092 }
3093 PFNGLVERTEXATTRIBI3IVPROC glad_debug_glVertexAttribI3iv = glad_debug_impl_glVertexAttribI3iv;
3094 PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui;
3095 void APIENTRY glad_debug_impl_glVertexAttribI3ui(GLuint arg0, GLuint arg1, GLuint arg2, GLuint arg3) {
3096 _pre_call_callback("glVertexAttribI3ui", (void*)glVertexAttribI3ui, 4, arg0, arg1, arg2, arg3);
3097 glad_glVertexAttribI3ui(arg0, arg1, arg2, arg3);
3098 _post_call_callback("glVertexAttribI3ui", (void*)glVertexAttribI3ui, 4, arg0, arg1, arg2, arg3);
3099
3100 }
3101 PFNGLVERTEXATTRIBI3UIPROC glad_debug_glVertexAttribI3ui = glad_debug_impl_glVertexAttribI3ui;
3102 PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv;
3103 void APIENTRY glad_debug_impl_glVertexAttribI3uiv(GLuint arg0, const GLuint * arg1) {
3104 _pre_call_callback("glVertexAttribI3uiv", (void*)glVertexAttribI3uiv, 2, arg0, arg1);
3105 glad_glVertexAttribI3uiv(arg0, arg1);
3106 _post_call_callback("glVertexAttribI3uiv", (void*)glVertexAttribI3uiv, 2, arg0, arg1);
3107
3108 }
3109 PFNGLVERTEXATTRIBI3UIVPROC glad_debug_glVertexAttribI3uiv = glad_debug_impl_glVertexAttribI3uiv;
3110 PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv;
3111 void APIENTRY glad_debug_impl_glVertexAttribI4bv(GLuint arg0, const GLbyte * arg1) {
3112 _pre_call_callback("glVertexAttribI4bv", (void*)glVertexAttribI4bv, 2, arg0, arg1);
3113 glad_glVertexAttribI4bv(arg0, arg1);
3114 _post_call_callback("glVertexAttribI4bv", (void*)glVertexAttribI4bv, 2, arg0, arg1);
3115
3116 }
3117 PFNGLVERTEXATTRIBI4BVPROC glad_debug_glVertexAttribI4bv = glad_debug_impl_glVertexAttribI4bv;
3118 PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i;
3119 void APIENTRY glad_debug_impl_glVertexAttribI4i(GLuint arg0, GLint arg1, GLint arg2, GLint arg3, GLint arg4) {
3120 _pre_call_callback("glVertexAttribI4i", (void*)glVertexAttribI4i, 5, arg0, arg1, arg2, arg3, arg4);
3121 glad_glVertexAttribI4i(arg0, arg1, arg2, arg3, arg4);
3122 _post_call_callback("glVertexAttribI4i", (void*)glVertexAttribI4i, 5, arg0, arg1, arg2, arg3, arg4);
3123
3124 }
3125 PFNGLVERTEXATTRIBI4IPROC glad_debug_glVertexAttribI4i = glad_debug_impl_glVertexAttribI4i;
3126 PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv;
3127 void APIENTRY glad_debug_impl_glVertexAttribI4iv(GLuint arg0, const GLint * arg1) {
3128 _pre_call_callback("glVertexAttribI4iv", (void*)glVertexAttribI4iv, 2, arg0, arg1);
3129 glad_glVertexAttribI4iv(arg0, arg1);
3130 _post_call_callback("glVertexAttribI4iv", (void*)glVertexAttribI4iv, 2, arg0, arg1);
3131
3132 }
3133 PFNGLVERTEXATTRIBI4IVPROC glad_debug_glVertexAttribI4iv = glad_debug_impl_glVertexAttribI4iv;
3134 PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv;
3135 void APIENTRY glad_debug_impl_glVertexAttribI4sv(GLuint arg0, const GLshort * arg1) {
3136 _pre_call_callback("glVertexAttribI4sv", (void*)glVertexAttribI4sv, 2, arg0, arg1);
3137 glad_glVertexAttribI4sv(arg0, arg1);
3138 _post_call_callback("glVertexAttribI4sv", (void*)glVertexAttribI4sv, 2, arg0, arg1);
3139
3140 }
3141 PFNGLVERTEXATTRIBI4SVPROC glad_debug_glVertexAttribI4sv = glad_debug_impl_glVertexAttribI4sv;
3142 PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv;
3143 void APIENTRY glad_debug_impl_glVertexAttribI4ubv(GLuint arg0, const GLubyte * arg1) {
3144 _pre_call_callback("glVertexAttribI4ubv", (void*)glVertexAttribI4ubv, 2, arg0, arg1);
3145 glad_glVertexAttribI4ubv(arg0, arg1);
3146 _post_call_callback("glVertexAttribI4ubv", (void*)glVertexAttribI4ubv, 2, arg0, arg1);
3147
3148 }
3149 PFNGLVERTEXATTRIBI4UBVPROC glad_debug_glVertexAttribI4ubv = glad_debug_impl_glVertexAttribI4ubv;
3150 PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui;
3151 void APIENTRY glad_debug_impl_glVertexAttribI4ui(GLuint arg0, GLuint arg1, GLuint arg2, GLuint arg3, GLuint arg4) {
3152 _pre_call_callback("glVertexAttribI4ui", (void*)glVertexAttribI4ui, 5, arg0, arg1, arg2, arg3, arg4);
3153 glad_glVertexAttribI4ui(arg0, arg1, arg2, arg3, arg4);
3154 _post_call_callback("glVertexAttribI4ui", (void*)glVertexAttribI4ui, 5, arg0, arg1, arg2, arg3, arg4);
3155
3156 }
3157 PFNGLVERTEXATTRIBI4UIPROC glad_debug_glVertexAttribI4ui = glad_debug_impl_glVertexAttribI4ui;
3158 PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv;
3159 void APIENTRY glad_debug_impl_glVertexAttribI4uiv(GLuint arg0, const GLuint * arg1) {
3160 _pre_call_callback("glVertexAttribI4uiv", (void*)glVertexAttribI4uiv, 2, arg0, arg1);
3161 glad_glVertexAttribI4uiv(arg0, arg1);
3162 _post_call_callback("glVertexAttribI4uiv", (void*)glVertexAttribI4uiv, 2, arg0, arg1);
3163
3164 }
3165 PFNGLVERTEXATTRIBI4UIVPROC glad_debug_glVertexAttribI4uiv = glad_debug_impl_glVertexAttribI4uiv;
3166 PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv;
3167 void APIENTRY glad_debug_impl_glVertexAttribI4usv(GLuint arg0, const GLushort * arg1) {
3168 _pre_call_callback("glVertexAttribI4usv", (void*)glVertexAttribI4usv, 2, arg0, arg1);
3169 glad_glVertexAttribI4usv(arg0, arg1);
3170 _post_call_callback("glVertexAttribI4usv", (void*)glVertexAttribI4usv, 2, arg0, arg1);
3171
3172 }
3173 PFNGLVERTEXATTRIBI4USVPROC glad_debug_glVertexAttribI4usv = glad_debug_impl_glVertexAttribI4usv;
3174 PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer;
3175 void APIENTRY glad_debug_impl_glVertexAttribIPointer(GLuint arg0, GLint arg1, GLenum arg2, GLsizei arg3, const void * arg4) {
3176 _pre_call_callback("glVertexAttribIPointer", (void*)glVertexAttribIPointer, 5, arg0, arg1, arg2, arg3, arg4);
3177 glad_glVertexAttribIPointer(arg0, arg1, arg2, arg3, arg4);
3178 _post_call_callback("glVertexAttribIPointer", (void*)glVertexAttribIPointer, 5, arg0, arg1, arg2, arg3, arg4);
3179
3180 }
3181 PFNGLVERTEXATTRIBIPOINTERPROC glad_debug_glVertexAttribIPointer = glad_debug_impl_glVertexAttribIPointer;
3182 PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui;
3183 void APIENTRY glad_debug_impl_glVertexAttribP1ui(GLuint arg0, GLenum arg1, GLboolean arg2, GLuint arg3) {
3184 _pre_call_callback("glVertexAttribP1ui", (void*)glVertexAttribP1ui, 4, arg0, arg1, arg2, arg3);
3185 glad_glVertexAttribP1ui(arg0, arg1, arg2, arg3);
3186 _post_call_callback("glVertexAttribP1ui", (void*)glVertexAttribP1ui, 4, arg0, arg1, arg2, arg3);
3187
3188 }
3189 PFNGLVERTEXATTRIBP1UIPROC glad_debug_glVertexAttribP1ui = glad_debug_impl_glVertexAttribP1ui;
3190 PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv;
3191 void APIENTRY glad_debug_impl_glVertexAttribP1uiv(GLuint arg0, GLenum arg1, GLboolean arg2, const GLuint * arg3) {
3192 _pre_call_callback("glVertexAttribP1uiv", (void*)glVertexAttribP1uiv, 4, arg0, arg1, arg2, arg3);
3193 glad_glVertexAttribP1uiv(arg0, arg1, arg2, arg3);
3194 _post_call_callback("glVertexAttribP1uiv", (void*)glVertexAttribP1uiv, 4, arg0, arg1, arg2, arg3);
3195
3196 }
3197 PFNGLVERTEXATTRIBP1UIVPROC glad_debug_glVertexAttribP1uiv = glad_debug_impl_glVertexAttribP1uiv;
3198 PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui;
3199 void APIENTRY glad_debug_impl_glVertexAttribP2ui(GLuint arg0, GLenum arg1, GLboolean arg2, GLuint arg3) {
3200 _pre_call_callback("glVertexAttribP2ui", (void*)glVertexAttribP2ui, 4, arg0, arg1, arg2, arg3);
3201 glad_glVertexAttribP2ui(arg0, arg1, arg2, arg3);
3202 _post_call_callback("glVertexAttribP2ui", (void*)glVertexAttribP2ui, 4, arg0, arg1, arg2, arg3);
3203
3204 }
3205 PFNGLVERTEXATTRIBP2UIPROC glad_debug_glVertexAttribP2ui = glad_debug_impl_glVertexAttribP2ui;
3206 PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv;
3207 void APIENTRY glad_debug_impl_glVertexAttribP2uiv(GLuint arg0, GLenum arg1, GLboolean arg2, const GLuint * arg3) {
3208 _pre_call_callback("glVertexAttribP2uiv", (void*)glVertexAttribP2uiv, 4, arg0, arg1, arg2, arg3);
3209 glad_glVertexAttribP2uiv(arg0, arg1, arg2, arg3);
3210 _post_call_callback("glVertexAttribP2uiv", (void*)glVertexAttribP2uiv, 4, arg0, arg1, arg2, arg3);
3211
3212 }
3213 PFNGLVERTEXATTRIBP2UIVPROC glad_debug_glVertexAttribP2uiv = glad_debug_impl_glVertexAttribP2uiv;
3214 PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui;
3215 void APIENTRY glad_debug_impl_glVertexAttribP3ui(GLuint arg0, GLenum arg1, GLboolean arg2, GLuint arg3) {
3216 _pre_call_callback("glVertexAttribP3ui", (void*)glVertexAttribP3ui, 4, arg0, arg1, arg2, arg3);
3217 glad_glVertexAttribP3ui(arg0, arg1, arg2, arg3);
3218 _post_call_callback("glVertexAttribP3ui", (void*)glVertexAttribP3ui, 4, arg0, arg1, arg2, arg3);
3219
3220 }
3221 PFNGLVERTEXATTRIBP3UIPROC glad_debug_glVertexAttribP3ui = glad_debug_impl_glVertexAttribP3ui;
3222 PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv;
3223 void APIENTRY glad_debug_impl_glVertexAttribP3uiv(GLuint arg0, GLenum arg1, GLboolean arg2, const GLuint * arg3) {
3224 _pre_call_callback("glVertexAttribP3uiv", (void*)glVertexAttribP3uiv, 4, arg0, arg1, arg2, arg3);
3225 glad_glVertexAttribP3uiv(arg0, arg1, arg2, arg3);
3226 _post_call_callback("glVertexAttribP3uiv", (void*)glVertexAttribP3uiv, 4, arg0, arg1, arg2, arg3);
3227
3228 }
3229 PFNGLVERTEXATTRIBP3UIVPROC glad_debug_glVertexAttribP3uiv = glad_debug_impl_glVertexAttribP3uiv;
3230 PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui;
3231 void APIENTRY glad_debug_impl_glVertexAttribP4ui(GLuint arg0, GLenum arg1, GLboolean arg2, GLuint arg3) {
3232 _pre_call_callback("glVertexAttribP4ui", (void*)glVertexAttribP4ui, 4, arg0, arg1, arg2, arg3);
3233 glad_glVertexAttribP4ui(arg0, arg1, arg2, arg3);
3234 _post_call_callback("glVertexAttribP4ui", (void*)glVertexAttribP4ui, 4, arg0, arg1, arg2, arg3);
3235
3236 }
3237 PFNGLVERTEXATTRIBP4UIPROC glad_debug_glVertexAttribP4ui = glad_debug_impl_glVertexAttribP4ui;
3238 PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv;
3239 void APIENTRY glad_debug_impl_glVertexAttribP4uiv(GLuint arg0, GLenum arg1, GLboolean arg2, const GLuint * arg3) {
3240 _pre_call_callback("glVertexAttribP4uiv", (void*)glVertexAttribP4uiv, 4, arg0, arg1, arg2, arg3);
3241 glad_glVertexAttribP4uiv(arg0, arg1, arg2, arg3);
3242 _post_call_callback("glVertexAttribP4uiv", (void*)glVertexAttribP4uiv, 4, arg0, arg1, arg2, arg3);
3243
3244 }
3245 PFNGLVERTEXATTRIBP4UIVPROC glad_debug_glVertexAttribP4uiv = glad_debug_impl_glVertexAttribP4uiv;
3246 PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer;
3247 void APIENTRY glad_debug_impl_glVertexAttribPointer(GLuint arg0, GLint arg1, GLenum arg2, GLboolean arg3, GLsizei arg4, const void * arg5) {
3248 _pre_call_callback("glVertexAttribPointer", (void*)glVertexAttribPointer, 6, arg0, arg1, arg2, arg3, arg4, arg5);
3249 glad_glVertexAttribPointer(arg0, arg1, arg2, arg3, arg4, arg5);
3250 _post_call_callback("glVertexAttribPointer", (void*)glVertexAttribPointer, 6, arg0, arg1, arg2, arg3, arg4, arg5);
3251
3252 }
3253 PFNGLVERTEXATTRIBPOINTERPROC glad_debug_glVertexAttribPointer = glad_debug_impl_glVertexAttribPointer;
3254 PFNGLVERTEXP2UIPROC glad_glVertexP2ui;
3255 void APIENTRY glad_debug_impl_glVertexP2ui(GLenum arg0, GLuint arg1) {
3256 _pre_call_callback("glVertexP2ui", (void*)glVertexP2ui, 2, arg0, arg1);
3257 glad_glVertexP2ui(arg0, arg1);
3258 _post_call_callback("glVertexP2ui", (void*)glVertexP2ui, 2, arg0, arg1);
3259
3260 }
3261 PFNGLVERTEXP2UIPROC glad_debug_glVertexP2ui = glad_debug_impl_glVertexP2ui;
3262 PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv;
3263 void APIENTRY glad_debug_impl_glVertexP2uiv(GLenum arg0, const GLuint * arg1) {
3264 _pre_call_callback("glVertexP2uiv", (void*)glVertexP2uiv, 2, arg0, arg1);
3265 glad_glVertexP2uiv(arg0, arg1);
3266 _post_call_callback("glVertexP2uiv", (void*)glVertexP2uiv, 2, arg0, arg1);
3267
3268 }
3269 PFNGLVERTEXP2UIVPROC glad_debug_glVertexP2uiv = glad_debug_impl_glVertexP2uiv;
3270 PFNGLVERTEXP3UIPROC glad_glVertexP3ui;
3271 void APIENTRY glad_debug_impl_glVertexP3ui(GLenum arg0, GLuint arg1) {
3272 _pre_call_callback("glVertexP3ui", (void*)glVertexP3ui, 2, arg0, arg1);
3273 glad_glVertexP3ui(arg0, arg1);
3274 _post_call_callback("glVertexP3ui", (void*)glVertexP3ui, 2, arg0, arg1);
3275
3276 }
3277 PFNGLVERTEXP3UIPROC glad_debug_glVertexP3ui = glad_debug_impl_glVertexP3ui;
3278 PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv;
3279 void APIENTRY glad_debug_impl_glVertexP3uiv(GLenum arg0, const GLuint * arg1) {
3280 _pre_call_callback("glVertexP3uiv", (void*)glVertexP3uiv, 2, arg0, arg1);
3281 glad_glVertexP3uiv(arg0, arg1);
3282 _post_call_callback("glVertexP3uiv", (void*)glVertexP3uiv, 2, arg0, arg1);
3283
3284 }
3285 PFNGLVERTEXP3UIVPROC glad_debug_glVertexP3uiv = glad_debug_impl_glVertexP3uiv;
3286 PFNGLVERTEXP4UIPROC glad_glVertexP4ui;
3287 void APIENTRY glad_debug_impl_glVertexP4ui(GLenum arg0, GLuint arg1) {
3288 _pre_call_callback("glVertexP4ui", (void*)glVertexP4ui, 2, arg0, arg1);
3289 glad_glVertexP4ui(arg0, arg1);
3290 _post_call_callback("glVertexP4ui", (void*)glVertexP4ui, 2, arg0, arg1);
3291
3292 }
3293 PFNGLVERTEXP4UIPROC glad_debug_glVertexP4ui = glad_debug_impl_glVertexP4ui;
3294 PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv;
3295 void APIENTRY glad_debug_impl_glVertexP4uiv(GLenum arg0, const GLuint * arg1) {
3296 _pre_call_callback("glVertexP4uiv", (void*)glVertexP4uiv, 2, arg0, arg1);
3297 glad_glVertexP4uiv(arg0, arg1);
3298 _post_call_callback("glVertexP4uiv", (void*)glVertexP4uiv, 2, arg0, arg1);
3299
3300 }
3301 PFNGLVERTEXP4UIVPROC glad_debug_glVertexP4uiv = glad_debug_impl_glVertexP4uiv;
3302 PFNGLVIEWPORTPROC glad_glViewport;
3303 void APIENTRY glad_debug_impl_glViewport(GLint arg0, GLint arg1, GLsizei arg2, GLsizei arg3) {
3304 _pre_call_callback("glViewport", (void*)glViewport, 4, arg0, arg1, arg2, arg3);
3305 glad_glViewport(arg0, arg1, arg2, arg3);
3306 _post_call_callback("glViewport", (void*)glViewport, 4, arg0, arg1, arg2, arg3);
3307
3308 }
3309 PFNGLVIEWPORTPROC glad_debug_glViewport = glad_debug_impl_glViewport;
3310 PFNGLWAITSYNCPROC glad_glWaitSync;
3311 void APIENTRY glad_debug_impl_glWaitSync(GLsync arg0, GLbitfield arg1, GLuint64 arg2) {
3312 _pre_call_callback("glWaitSync", (void*)glWaitSync, 3, arg0, arg1, arg2);
3313 glad_glWaitSync(arg0, arg1, arg2);
3314 _post_call_callback("glWaitSync", (void*)glWaitSync, 3, arg0, arg1, arg2);
3315
3316 }
3317 PFNGLWAITSYNCPROC glad_debug_glWaitSync = glad_debug_impl_glWaitSync;
3318 static void load_GL_VERSION_1_0(GLADloadproc load) {
3319 if(!GLAD_GL_VERSION_1_0) return;
3320 glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace");
3321 glad_glFrontFace = (PFNGLFRONTFACEPROC)load("glFrontFace");
3322 glad_glHint = (PFNGLHINTPROC)load("glHint");
3323 glad_glLineWidth = (PFNGLLINEWIDTHPROC)load("glLineWidth");
3324 glad_glPointSize = (PFNGLPOINTSIZEPROC)load("glPointSize");
3325 glad_glPolygonMode = (PFNGLPOLYGONMODEPROC)load("glPolygonMode");
3326 glad_glScissor = (PFNGLSCISSORPROC)load("glScissor");
3327 glad_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load("glTexParameterf");
3328 glad_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load("glTexParameterfv");
3329 glad_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load("glTexParameteri");
3330 glad_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load("glTexParameteriv");
3331 glad_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load("glTexImage1D");
3332 glad_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load("glTexImage2D");
3333 glad_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load("glDrawBuffer");
3334 glad_glClear = (PFNGLCLEARPROC)load("glClear");
3335 glad_glClearColor = (PFNGLCLEARCOLORPROC)load("glClearColor");
3336 glad_glClearStencil = (PFNGLCLEARSTENCILPROC)load("glClearStencil");
3337 glad_glClearDepth = (PFNGLCLEARDEPTHPROC)load("glClearDepth");
3338 glad_glStencilMask = (PFNGLSTENCILMASKPROC)load("glStencilMask");
3339 glad_glColorMask = (PFNGLCOLORMASKPROC)load("glColorMask");
3340 glad_glDepthMask = (PFNGLDEPTHMASKPROC)load("glDepthMask");
3341 glad_glDisable = (PFNGLDISABLEPROC)load("glDisable");
3342 glad_glEnable = (PFNGLENABLEPROC)load("glEnable");
3343 glad_glFinish = (PFNGLFINISHPROC)load("glFinish");
3344 glad_glFlush = (PFNGLFLUSHPROC)load("glFlush");
3345 glad_glBlendFunc = (PFNGLBLENDFUNCPROC)load("glBlendFunc");
3346 glad_glLogicOp = (PFNGLLOGICOPPROC)load("glLogicOp");
3347 glad_glStencilFunc = (PFNGLSTENCILFUNCPROC)load("glStencilFunc");
3348 glad_glStencilOp = (PFNGLSTENCILOPPROC)load("glStencilOp");
3349 glad_glDepthFunc = (PFNGLDEPTHFUNCPROC)load("glDepthFunc");
3350 glad_glPixelStoref = (PFNGLPIXELSTOREFPROC)load("glPixelStoref");
3351 glad_glPixelStorei = (PFNGLPIXELSTOREIPROC)load("glPixelStorei");
3352 glad_glReadBuffer = (PFNGLREADBUFFERPROC)load("glReadBuffer");
3353 glad_glReadPixels = (PFNGLREADPIXELSPROC)load("glReadPixels");
3354 glad_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load("glGetBooleanv");
3355 glad_glGetDoublev = (PFNGLGETDOUBLEVPROC)load("glGetDoublev");
3356 glad_glGetError = (PFNGLGETERRORPROC)load("glGetError");
3357 glad_glGetFloatv = (PFNGLGETFLOATVPROC)load("glGetFloatv");
3358 glad_glGetIntegerv = (PFNGLGETINTEGERVPROC)load("glGetIntegerv");
3359 glad_glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
3360 glad_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load("glGetTexImage");
3361 glad_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load("glGetTexParameterfv");
3362 glad_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load("glGetTexParameteriv");
3363 glad_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load("glGetTexLevelParameterfv");
3364 glad_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load("glGetTexLevelParameteriv");
3365 glad_glIsEnabled = (PFNGLISENABLEDPROC)load("glIsEnabled");
3366 glad_glDepthRange = (PFNGLDEPTHRANGEPROC)load("glDepthRange");
3367 glad_glViewport = (PFNGLVIEWPORTPROC)load("glViewport");
3368 }
3369 static void load_GL_VERSION_1_1(GLADloadproc load) {
3370 if(!GLAD_GL_VERSION_1_1) return;
3371 glad_glDrawArrays = (PFNGLDRAWARRAYSPROC)load("glDrawArrays");
3372 glad_glDrawElements = (PFNGLDRAWELEMENTSPROC)load("glDrawElements");
3373 glad_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load("glPolygonOffset");
3374 glad_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load("glCopyTexImage1D");
3375 glad_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load("glCopyTexImage2D");
3376 glad_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load("glCopyTexSubImage1D");
3377 glad_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load("glCopyTexSubImage2D");
3378 glad_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load("glTexSubImage1D");
3379 glad_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load("glTexSubImage2D");
3380 glad_glBindTexture = (PFNGLBINDTEXTUREPROC)load("glBindTexture");
3381 glad_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load("glDeleteTextures");
3382 glad_glGenTextures = (PFNGLGENTEXTURESPROC)load("glGenTextures");
3383 glad_glIsTexture = (PFNGLISTEXTUREPROC)load("glIsTexture");
3384 }
3385 static void load_GL_VERSION_1_2(GLADloadproc load) {
3386 if(!GLAD_GL_VERSION_1_2) return;
3387 glad_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load("glDrawRangeElements");
3388 glad_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load("glTexImage3D");
3389 glad_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load("glTexSubImage3D");
3390 glad_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load("glCopyTexSubImage3D");
3391 }
3392 static void load_GL_VERSION_1_3(GLADloadproc load) {
3393 if(!GLAD_GL_VERSION_1_3) return;
3394 glad_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load("glActiveTexture");
3395 glad_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load("glSampleCoverage");
3396 glad_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load("glCompressedTexImage3D");
3397 glad_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load("glCompressedTexImage2D");
3398 glad_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load("glCompressedTexImage1D");
3399 glad_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load("glCompressedTexSubImage3D");
3400 glad_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load("glCompressedTexSubImage2D");
3401 glad_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load("glCompressedTexSubImage1D");
3402 glad_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load("glGetCompressedTexImage");
3403 }
3404 static void load_GL_VERSION_1_4(GLADloadproc load) {
3405 if(!GLAD_GL_VERSION_1_4) return;
3406 glad_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load("glBlendFuncSeparate");
3407 glad_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load("glMultiDrawArrays");
3408 glad_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load("glMultiDrawElements");
3409 glad_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load("glPointParameterf");
3410 glad_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load("glPointParameterfv");
3411 glad_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load("glPointParameteri");
3412 glad_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load("glPointParameteriv");
3413 glad_glBlendColor = (PFNGLBLENDCOLORPROC)load("glBlendColor");
3414 glad_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load("glBlendEquation");
3415 }
3416 static void load_GL_VERSION_1_5(GLADloadproc load) {
3417 if(!GLAD_GL_VERSION_1_5) return;
3418 glad_glGenQueries = (PFNGLGENQUERIESPROC)load("glGenQueries");
3419 glad_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load("glDeleteQueries");
3420 glad_glIsQuery = (PFNGLISQUERYPROC)load("glIsQuery");
3421 glad_glBeginQuery = (PFNGLBEGINQUERYPROC)load("glBeginQuery");
3422 glad_glEndQuery = (PFNGLENDQUERYPROC)load("glEndQuery");
3423 glad_glGetQueryiv = (PFNGLGETQUERYIVPROC)load("glGetQueryiv");
3424 glad_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load("glGetQueryObjectiv");
3425 glad_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load("glGetQueryObjectuiv");
3426 glad_glBindBuffer = (PFNGLBINDBUFFERPROC)load("glBindBuffer");
3427 glad_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load("glDeleteBuffers");
3428 glad_glGenBuffers = (PFNGLGENBUFFERSPROC)load("glGenBuffers");
3429 glad_glIsBuffer = (PFNGLISBUFFERPROC)load("glIsBuffer");
3430 glad_glBufferData = (PFNGLBUFFERDATAPROC)load("glBufferData");
3431 glad_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load("glBufferSubData");
3432 glad_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load("glGetBufferSubData");
3433 glad_glMapBuffer = (PFNGLMAPBUFFERPROC)load("glMapBuffer");
3434 glad_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load("glUnmapBuffer");
3435 glad_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load("glGetBufferParameteriv");
3436 glad_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load("glGetBufferPointerv");
3437 }
3438 static void load_GL_VERSION_2_0(GLADloadproc load) {
3439 if(!GLAD_GL_VERSION_2_0) return;
3440 glad_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load("glBlendEquationSeparate");
3441 glad_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load("glDrawBuffers");
3442 glad_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load("glStencilOpSeparate");
3443 glad_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load("glStencilFuncSeparate");
3444 glad_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load("glStencilMaskSeparate");
3445 glad_glAttachShader = (PFNGLATTACHSHADERPROC)load("glAttachShader");
3446 glad_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load("glBindAttribLocation");
3447 glad_glCompileShader = (PFNGLCOMPILESHADERPROC)load("glCompileShader");
3448 glad_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load("glCreateProgram");
3449 glad_glCreateShader = (PFNGLCREATESHADERPROC)load("glCreateShader");
3450 glad_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load("glDeleteProgram");
3451 glad_glDeleteShader = (PFNGLDELETESHADERPROC)load("glDeleteShader");
3452 glad_glDetachShader = (PFNGLDETACHSHADERPROC)load("glDetachShader");
3453 glad_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load("glDisableVertexAttribArray");
3454 glad_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load("glEnableVertexAttribArray");
3455 glad_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load("glGetActiveAttrib");
3456 glad_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load("glGetActiveUniform");
3457 glad_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load("glGetAttachedShaders");
3458 glad_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load("glGetAttribLocation");
3459 glad_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load("glGetProgramiv");
3460 glad_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load("glGetProgramInfoLog");
3461 glad_glGetShaderiv = (PFNGLGETSHADERIVPROC)load("glGetShaderiv");
3462 glad_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load("glGetShaderInfoLog");
3463 glad_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load("glGetShaderSource");
3464 glad_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load("glGetUniformLocation");
3465 glad_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load("glGetUniformfv");
3466 glad_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load("glGetUniformiv");
3467 glad_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load("glGetVertexAttribdv");
3468 glad_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load("glGetVertexAttribfv");
3469 glad_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load("glGetVertexAttribiv");
3470 glad_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load("glGetVertexAttribPointerv");
3471 glad_glIsProgram = (PFNGLISPROGRAMPROC)load("glIsProgram");
3472 glad_glIsShader = (PFNGLISSHADERPROC)load("glIsShader");
3473 glad_glLinkProgram = (PFNGLLINKPROGRAMPROC)load("glLinkProgram");
3474 glad_glShaderSource = (PFNGLSHADERSOURCEPROC)load("glShaderSource");
3475 glad_glUseProgram = (PFNGLUSEPROGRAMPROC)load("glUseProgram");
3476 glad_glUniform1f = (PFNGLUNIFORM1FPROC)load("glUniform1f");
3477 glad_glUniform2f = (PFNGLUNIFORM2FPROC)load("glUniform2f");
3478 glad_glUniform3f = (PFNGLUNIFORM3FPROC)load("glUniform3f");
3479 glad_glUniform4f = (PFNGLUNIFORM4FPROC)load("glUniform4f");
3480 glad_glUniform1i = (PFNGLUNIFORM1IPROC)load("glUniform1i");
3481 glad_glUniform2i = (PFNGLUNIFORM2IPROC)load("glUniform2i");
3482 glad_glUniform3i = (PFNGLUNIFORM3IPROC)load("glUniform3i");
3483 glad_glUniform4i = (PFNGLUNIFORM4IPROC)load("glUniform4i");
3484 glad_glUniform1fv = (PFNGLUNIFORM1FVPROC)load("glUniform1fv");
3485 glad_glUniform2fv = (PFNGLUNIFORM2FVPROC)load("glUniform2fv");
3486 glad_glUniform3fv = (PFNGLUNIFORM3FVPROC)load("glUniform3fv");
3487 glad_glUniform4fv = (PFNGLUNIFORM4FVPROC)load("glUniform4fv");
3488 glad_glUniform1iv = (PFNGLUNIFORM1IVPROC)load("glUniform1iv");
3489 glad_glUniform2iv = (PFNGLUNIFORM2IVPROC)load("glUniform2iv");
3490 glad_glUniform3iv = (PFNGLUNIFORM3IVPROC)load("glUniform3iv");
3491 glad_glUniform4iv = (PFNGLUNIFORM4IVPROC)load("glUniform4iv");
3492 glad_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load("glUniformMatrix2fv");
3493 glad_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load("glUniformMatrix3fv");
3494 glad_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load("glUniformMatrix4fv");
3495 glad_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load("glValidateProgram");
3496 glad_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load("glVertexAttrib1d");
3497 glad_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load("glVertexAttrib1dv");
3498 glad_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load("glVertexAttrib1f");
3499 glad_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load("glVertexAttrib1fv");
3500 glad_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load("glVertexAttrib1s");
3501 glad_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load("glVertexAttrib1sv");
3502 glad_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load("glVertexAttrib2d");
3503 glad_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load("glVertexAttrib2dv");
3504 glad_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load("glVertexAttrib2f");
3505 glad_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load("glVertexAttrib2fv");
3506 glad_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load("glVertexAttrib2s");
3507 glad_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load("glVertexAttrib2sv");
3508 glad_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load("glVertexAttrib3d");
3509 glad_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load("glVertexAttrib3dv");
3510 glad_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load("glVertexAttrib3f");
3511 glad_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load("glVertexAttrib3fv");
3512 glad_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load("glVertexAttrib3s");
3513 glad_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load("glVertexAttrib3sv");
3514 glad_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load("glVertexAttrib4Nbv");
3515 glad_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load("glVertexAttrib4Niv");
3516 glad_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load("glVertexAttrib4Nsv");
3517 glad_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load("glVertexAttrib4Nub");
3518 glad_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load("glVertexAttrib4Nubv");
3519 glad_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load("glVertexAttrib4Nuiv");
3520 glad_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load("glVertexAttrib4Nusv");
3521 glad_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load("glVertexAttrib4bv");
3522 glad_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load("glVertexAttrib4d");
3523 glad_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load("glVertexAttrib4dv");
3524 glad_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load("glVertexAttrib4f");
3525 glad_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load("glVertexAttrib4fv");
3526 glad_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load("glVertexAttrib4iv");
3527 glad_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load("glVertexAttrib4s");
3528 glad_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load("glVertexAttrib4sv");
3529 glad_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load("glVertexAttrib4ubv");
3530 glad_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load("glVertexAttrib4uiv");
3531 glad_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load("glVertexAttrib4usv");
3532 glad_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load("glVertexAttribPointer");
3533 }
3534 static void load_GL_VERSION_2_1(GLADloadproc load) {
3535 if(!GLAD_GL_VERSION_2_1) return;
3536 glad_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load("glUniformMatrix2x3fv");
3537 glad_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load("glUniformMatrix3x2fv");
3538 glad_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load("glUniformMatrix2x4fv");
3539 glad_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load("glUniformMatrix4x2fv");
3540 glad_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load("glUniformMatrix3x4fv");
3541 glad_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load("glUniformMatrix4x3fv");
3542 }
3543 static void load_GL_VERSION_3_0(GLADloadproc load) {
3544 if(!GLAD_GL_VERSION_3_0) return;
3545 glad_glColorMaski = (PFNGLCOLORMASKIPROC)load("glColorMaski");
3546 glad_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)load("glGetBooleani_v");
3547 glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
3548 glad_glEnablei = (PFNGLENABLEIPROC)load("glEnablei");
3549 glad_glDisablei = (PFNGLDISABLEIPROC)load("glDisablei");
3550 glad_glIsEnabledi = (PFNGLISENABLEDIPROC)load("glIsEnabledi");
3551 glad_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)load("glBeginTransformFeedback");
3552 glad_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)load("glEndTransformFeedback");
3553 glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
3554 glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
3555 glad_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)load("glTransformFeedbackVaryings");
3556 glad_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)load("glGetTransformFeedbackVarying");
3557 glad_glClampColor = (PFNGLCLAMPCOLORPROC)load("glClampColor");
3558 glad_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)load("glBeginConditionalRender");
3559 glad_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)load("glEndConditionalRender");
3560 glad_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)load("glVertexAttribIPointer");
3561 glad_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)load("glGetVertexAttribIiv");
3562 glad_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)load("glGetVertexAttribIuiv");
3563 glad_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)load("glVertexAttribI1i");
3564 glad_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)load("glVertexAttribI2i");
3565 glad_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)load("glVertexAttribI3i");
3566 glad_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)load("glVertexAttribI4i");
3567 glad_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)load("glVertexAttribI1ui");
3568 glad_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)load("glVertexAttribI2ui");
3569 glad_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)load("glVertexAttribI3ui");
3570 glad_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)load("glVertexAttribI4ui");
3571 glad_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)load("glVertexAttribI1iv");
3572 glad_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)load("glVertexAttribI2iv");
3573 glad_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)load("glVertexAttribI3iv");
3574 glad_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)load("glVertexAttribI4iv");
3575 glad_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)load("glVertexAttribI1uiv");
3576 glad_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)load("glVertexAttribI2uiv");
3577 glad_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)load("glVertexAttribI3uiv");
3578 glad_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)load("glVertexAttribI4uiv");
3579 glad_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)load("glVertexAttribI4bv");
3580 glad_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)load("glVertexAttribI4sv");
3581 glad_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)load("glVertexAttribI4ubv");
3582 glad_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)load("glVertexAttribI4usv");
3583 glad_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)load("glGetUniformuiv");
3584 glad_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)load("glBindFragDataLocation");
3585 glad_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)load("glGetFragDataLocation");
3586 glad_glUniform1ui = (PFNGLUNIFORM1UIPROC)load("glUniform1ui");
3587 glad_glUniform2ui = (PFNGLUNIFORM2UIPROC)load("glUniform2ui");
3588 glad_glUniform3ui = (PFNGLUNIFORM3UIPROC)load("glUniform3ui");
3589 glad_glUniform4ui = (PFNGLUNIFORM4UIPROC)load("glUniform4ui");
3590 glad_glUniform1uiv = (PFNGLUNIFORM1UIVPROC)load("glUniform1uiv");
3591 glad_glUniform2uiv = (PFNGLUNIFORM2UIVPROC)load("glUniform2uiv");
3592 glad_glUniform3uiv = (PFNGLUNIFORM3UIVPROC)load("glUniform3uiv");
3593 glad_glUniform4uiv = (PFNGLUNIFORM4UIVPROC)load("glUniform4uiv");
3594 glad_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)load("glTexParameterIiv");
3595 glad_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)load("glTexParameterIuiv");
3596 glad_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)load("glGetTexParameterIiv");
3597 glad_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)load("glGetTexParameterIuiv");
3598 glad_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)load("glClearBufferiv");
3599 glad_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)load("glClearBufferuiv");
3600 glad_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)load("glClearBufferfv");
3601 glad_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)load("glClearBufferfi");
3602 glad_glGetStringi = (PFNGLGETSTRINGIPROC)load("glGetStringi");
3603 glad_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load("glIsRenderbuffer");
3604 glad_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load("glBindRenderbuffer");
3605 glad_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load("glDeleteRenderbuffers");
3606 glad_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load("glGenRenderbuffers");
3607 glad_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load("glRenderbufferStorage");
3608 glad_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load("glGetRenderbufferParameteriv");
3609 glad_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load("glIsFramebuffer");
3610 glad_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load("glBindFramebuffer");
3611 glad_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load("glDeleteFramebuffers");
3612 glad_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load("glGenFramebuffers");
3613 glad_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load("glCheckFramebufferStatus");
3614 glad_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load("glFramebufferTexture1D");
3615 glad_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load("glFramebufferTexture2D");
3616 glad_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load("glFramebufferTexture3D");
3617 glad_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load("glFramebufferRenderbuffer");
3618 glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameteriv");
3619 glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmap");
3620 glad_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load("glBlitFramebuffer");
3621 glad_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glRenderbufferStorageMultisample");
3622 glad_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load("glFramebufferTextureLayer");
3623 glad_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)load("glMapBufferRange");
3624 glad_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)load("glFlushMappedBufferRange");
3625 glad_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray");
3626 glad_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays");
3627 glad_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays");
3628 glad_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray");
3629 }
3630 static void load_GL_VERSION_3_1(GLADloadproc load) {
3631 if(!GLAD_GL_VERSION_3_1) return;
3632 glad_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)load("glDrawArraysInstanced");
3633 glad_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)load("glDrawElementsInstanced");
3634 glad_glTexBuffer = (PFNGLTEXBUFFERPROC)load("glTexBuffer");
3635 glad_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)load("glPrimitiveRestartIndex");
3636 glad_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)load("glCopyBufferSubData");
3637 glad_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)load("glGetUniformIndices");
3638 glad_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)load("glGetActiveUniformsiv");
3639 glad_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)load("glGetActiveUniformName");
3640 glad_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)load("glGetUniformBlockIndex");
3641 glad_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)load("glGetActiveUniformBlockiv");
3642 glad_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)load("glGetActiveUniformBlockName");
3643 glad_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)load("glUniformBlockBinding");
3644 glad_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange");
3645 glad_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase");
3646 glad_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v");
3647 }
3648 static void load_GL_VERSION_3_2(GLADloadproc load) {
3649 if(!GLAD_GL_VERSION_3_2) return;
3650 glad_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)load("glDrawElementsBaseVertex");
3651 glad_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)load("glDrawRangeElementsBaseVertex");
3652 glad_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)load("glDrawElementsInstancedBaseVertex");
3653 glad_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)load("glMultiDrawElementsBaseVertex");
3654 glad_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)load("glProvokingVertex");
3655 glad_glFenceSync = (PFNGLFENCESYNCPROC)load("glFenceSync");
3656 glad_glIsSync = (PFNGLISSYNCPROC)load("glIsSync");
3657 glad_glDeleteSync = (PFNGLDELETESYNCPROC)load("glDeleteSync");
3658 glad_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)load("glClientWaitSync");
3659 glad_glWaitSync = (PFNGLWAITSYNCPROC)load("glWaitSync");
3660 glad_glGetInteger64v = (PFNGLGETINTEGER64VPROC)load("glGetInteger64v");
3661 glad_glGetSynciv = (PFNGLGETSYNCIVPROC)load("glGetSynciv");
3662 glad_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)load("glGetInteger64i_v");
3663 glad_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)load("glGetBufferParameteri64v");
3664 glad_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)load("glFramebufferTexture");
3665 glad_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)load("glTexImage2DMultisample");
3666 glad_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)load("glTexImage3DMultisample");
3667 glad_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)load("glGetMultisamplefv");
3668 glad_glSampleMaski = (PFNGLSAMPLEMASKIPROC)load("glSampleMaski");
3669 }
3670 static void load_GL_VERSION_3_3(GLADloadproc load) {
3671 if(!GLAD_GL_VERSION_3_3) return;
3672 glad_glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)load("glBindFragDataLocationIndexed");
3673 glad_glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)load("glGetFragDataIndex");
3674 glad_glGenSamplers = (PFNGLGENSAMPLERSPROC)load("glGenSamplers");
3675 glad_glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)load("glDeleteSamplers");
3676 glad_glIsSampler = (PFNGLISSAMPLERPROC)load("glIsSampler");
3677 glad_glBindSampler = (PFNGLBINDSAMPLERPROC)load("glBindSampler");
3678 glad_glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)load("glSamplerParameteri");
3679 glad_glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)load("glSamplerParameteriv");
3680 glad_glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)load("glSamplerParameterf");
3681 glad_glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)load("glSamplerParameterfv");
3682 glad_glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)load("glSamplerParameterIiv");
3683 glad_glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)load("glSamplerParameterIuiv");
3684 glad_glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)load("glGetSamplerParameteriv");
3685 glad_glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)load("glGetSamplerParameterIiv");
3686 glad_glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)load("glGetSamplerParameterfv");
3687 glad_glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)load("glGetSamplerParameterIuiv");
3688 glad_glQueryCounter = (PFNGLQUERYCOUNTERPROC)load("glQueryCounter");
3689 glad_glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)load("glGetQueryObjecti64v");
3690 glad_glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)load("glGetQueryObjectui64v");
3691 glad_glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)load("glVertexAttribDivisor");
3692 glad_glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)load("glVertexAttribP1ui");
3693 glad_glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)load("glVertexAttribP1uiv");
3694 glad_glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)load("glVertexAttribP2ui");
3695 glad_glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)load("glVertexAttribP2uiv");
3696 glad_glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)load("glVertexAttribP3ui");
3697 glad_glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)load("glVertexAttribP3uiv");
3698 glad_glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)load("glVertexAttribP4ui");
3699 glad_glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)load("glVertexAttribP4uiv");
3700 glad_glVertexP2ui = (PFNGLVERTEXP2UIPROC)load("glVertexP2ui");
3701 glad_glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)load("glVertexP2uiv");
3702 glad_glVertexP3ui = (PFNGLVERTEXP3UIPROC)load("glVertexP3ui");
3703 glad_glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)load("glVertexP3uiv");
3704 glad_glVertexP4ui = (PFNGLVERTEXP4UIPROC)load("glVertexP4ui");
3705 glad_glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)load("glVertexP4uiv");
3706 glad_glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)load("glTexCoordP1ui");
3707 glad_glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)load("glTexCoordP1uiv");
3708 glad_glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)load("glTexCoordP2ui");
3709 glad_glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)load("glTexCoordP2uiv");
3710 glad_glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)load("glTexCoordP3ui");
3711 glad_glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)load("glTexCoordP3uiv");
3712 glad_glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)load("glTexCoordP4ui");
3713 glad_glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)load("glTexCoordP4uiv");
3714 glad_glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)load("glMultiTexCoordP1ui");
3715 glad_glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)load("glMultiTexCoordP1uiv");
3716 glad_glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)load("glMultiTexCoordP2ui");
3717 glad_glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)load("glMultiTexCoordP2uiv");
3718 glad_glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)load("glMultiTexCoordP3ui");
3719 glad_glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)load("glMultiTexCoordP3uiv");
3720 glad_glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)load("glMultiTexCoordP4ui");
3721 glad_glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)load("glMultiTexCoordP4uiv");
3722 glad_glNormalP3ui = (PFNGLNORMALP3UIPROC)load("glNormalP3ui");
3723 glad_glNormalP3uiv = (PFNGLNORMALP3UIVPROC)load("glNormalP3uiv");
3724 glad_glColorP3ui = (PFNGLCOLORP3UIPROC)load("glColorP3ui");
3725 glad_glColorP3uiv = (PFNGLCOLORP3UIVPROC)load("glColorP3uiv");
3726 glad_glColorP4ui = (PFNGLCOLORP4UIPROC)load("glColorP4ui");
3727 glad_glColorP4uiv = (PFNGLCOLORP4UIVPROC)load("glColorP4uiv");
3728 glad_glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)load("glSecondaryColorP3ui");
3729 glad_glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)load("glSecondaryColorP3uiv");
3730 }
3731 static int find_extensionsGL(void) {
3732 if (!get_exts()) return 0;
3733 (void)&has_ext;
3734 free_exts();
3735 return 1;
3736 }
3737
3738 static void find_coreGL(void) {
3739
3740 /* Thank you @elmindreda
3741 * https://github.com/elmindreda/greg/blob/master/templates/greg.c.in#L176
3742 * https://github.com/glfw/glfw/blob/master/src/context.c#L36
3743 */
3744 int i, major, minor;
3745
3746 const char* version;
3747 const char* prefixes[] = {
3748 "OpenGL ES-CM ",
3749 "OpenGL ES-CL ",
3750 "OpenGL ES ",
3751 NULL
3752 };
3753
3754 version = (const char*) glGetString(GL_VERSION);
3755 if (!version) return;
3756
3757 for (i = 0; prefixes[i]; i++) {
3758 const size_t length = strlen(prefixes[i]);
3759 if (strncmp(version, prefixes[i], length) == 0) {
3760 version += length;
3761 break;
3762 }
3763 }
3764
3765 /* PR #18 */
3766 #ifdef _MSC_VER
3767 sscanf_s(version, "%d.%d", &major, &minor);
3768 #else
3769 sscanf(version, "%d.%d", &major, &minor);
3770 #endif
3771
3772 GLVersion.major = major; GLVersion.minor = minor;
3773 max_loaded_major = major; max_loaded_minor = minor;
3774 GLAD_GL_VERSION_1_0 = (major == 1 && minor >= 0) || major > 1;
3775 GLAD_GL_VERSION_1_1 = (major == 1 && minor >= 1) || major > 1;
3776 GLAD_GL_VERSION_1_2 = (major == 1 && minor >= 2) || major > 1;
3777 GLAD_GL_VERSION_1_3 = (major == 1 && minor >= 3) || major > 1;
3778 GLAD_GL_VERSION_1_4 = (major == 1 && minor >= 4) || major > 1;
3779 GLAD_GL_VERSION_1_5 = (major == 1 && minor >= 5) || major > 1;
3780 GLAD_GL_VERSION_2_0 = (major == 2 && minor >= 0) || major > 2;
3781 GLAD_GL_VERSION_2_1 = (major == 2 && minor >= 1) || major > 2;
3782 GLAD_GL_VERSION_3_0 = (major == 3 && minor >= 0) || major > 3;
3783 GLAD_GL_VERSION_3_1 = (major == 3 && minor >= 1) || major > 3;
3784 GLAD_GL_VERSION_3_2 = (major == 3 && minor >= 2) || major > 3;
3785 GLAD_GL_VERSION_3_3 = (major == 3 && minor >= 3) || major > 3;
3786 if (GLVersion.major > 3 || (GLVersion.major >= 3 && GLVersion.minor >= 3)) {
3787 max_loaded_major = 3;
3788 max_loaded_minor = 3;
3789 }
3790 }
3791
3792 int gladLoadGLLoader(GLADloadproc load) {
3793 GLVersion.major = 0; GLVersion.minor = 0;
3794 glGetString = (PFNGLGETSTRINGPROC)load("glGetString");
3795 if(glGetString == NULL) return 0;
3796 if(glGetString(GL_VERSION) == NULL) return 0;
3797 find_coreGL();
3798 load_GL_VERSION_1_0(load);
3799 load_GL_VERSION_1_1(load);
3800 load_GL_VERSION_1_2(load);
3801 load_GL_VERSION_1_3(load);
3802 load_GL_VERSION_1_4(load);
3803 load_GL_VERSION_1_5(load);
3804 load_GL_VERSION_2_0(load);
3805 load_GL_VERSION_2_1(load);
3806 load_GL_VERSION_3_0(load);
3807 load_GL_VERSION_3_1(load);
3808 load_GL_VERSION_3_2(load);
3809 load_GL_VERSION_3_3(load);
3810
3811 if (!find_extensionsGL()) return 0;
3812 return GLVersion.major != 0 || GLVersion.minor != 0;
3813 }
3814