mirror of https://github.com/aap/librw.git
Add GL_KHR_debug extension to loader
This commit is contained in:
parent
c2defffca3
commit
ad9954f6be
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
OpenGL, OpenGL ES loader generated by glad 0.1.34 on Wed Feb 17 01:38:43 2021.
|
OpenGL, OpenGL ES loader generated by glad 0.1.34 on Wed Feb 17 15:35:25 2021.
|
||||||
|
|
||||||
Language/Generator: C/C++
|
Language/Generator: C/C++
|
||||||
Specification: gl
|
Specification: gl
|
||||||
|
@ -10,6 +10,7 @@
|
||||||
GL_EXT_framebuffer_object,
|
GL_EXT_framebuffer_object,
|
||||||
GL_EXT_texture_compression_s3tc,
|
GL_EXT_texture_compression_s3tc,
|
||||||
GL_EXT_texture_filter_anisotropic,
|
GL_EXT_texture_filter_anisotropic,
|
||||||
|
GL_KHR_debug,
|
||||||
GL_KHR_texture_compression_astc_ldr
|
GL_KHR_texture_compression_astc_ldr
|
||||||
Loader: False
|
Loader: False
|
||||||
Local files: False
|
Local files: False
|
||||||
|
@ -17,9 +18,9 @@
|
||||||
Reproducible: False
|
Reproducible: False
|
||||||
|
|
||||||
Commandline:
|
Commandline:
|
||||||
--profile="core" --api="gl=3.3,gles2=3.1" --generator="c" --spec="gl" --no-loader --extensions="GL_EXT_framebuffer_object,GL_EXT_texture_compression_s3tc,GL_EXT_texture_filter_anisotropic,GL_KHR_texture_compression_astc_ldr"
|
--profile="core" --api="gl=3.3,gles2=3.1" --generator="c" --spec="gl" --no-loader --extensions="GL_EXT_framebuffer_object,GL_EXT_texture_compression_s3tc,GL_EXT_texture_filter_anisotropic,GL_KHR_debug,GL_KHR_texture_compression_astc_ldr"
|
||||||
Online:
|
Online:
|
||||||
https://glad.dav1d.de/#profile=core&language=c&specification=gl&api=gl%3D3.3&api=gles2%3D3.1&extensions=GL_EXT_framebuffer_object&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_filter_anisotropic&extensions=GL_KHR_texture_compression_astc_ldr
|
https://glad.dav1d.de/#profile=core&language=c&specification=gl&api=gl%3D3.3&api=gles2%3D3.1&extensions=GL_EXT_framebuffer_object&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_filter_anisotropic&extensions=GL_KHR_debug&extensions=GL_KHR_texture_compression_astc_ldr
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -603,7 +604,30 @@ PFNGLWAITSYNCPROC glad_glWaitSync = NULL;
|
||||||
int GLAD_GL_EXT_framebuffer_object = 0;
|
int GLAD_GL_EXT_framebuffer_object = 0;
|
||||||
int GLAD_GL_EXT_texture_compression_s3tc = 0;
|
int GLAD_GL_EXT_texture_compression_s3tc = 0;
|
||||||
int GLAD_GL_EXT_texture_filter_anisotropic = 0;
|
int GLAD_GL_EXT_texture_filter_anisotropic = 0;
|
||||||
|
int GLAD_GL_KHR_debug = 0;
|
||||||
int GLAD_GL_KHR_texture_compression_astc_ldr = 0;
|
int GLAD_GL_KHR_texture_compression_astc_ldr = 0;
|
||||||
|
PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl = NULL;
|
||||||
|
PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert = NULL;
|
||||||
|
PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback = NULL;
|
||||||
|
PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog = NULL;
|
||||||
|
PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup = NULL;
|
||||||
|
PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup = NULL;
|
||||||
|
PFNGLOBJECTLABELPROC glad_glObjectLabel = NULL;
|
||||||
|
PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel = NULL;
|
||||||
|
PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel = NULL;
|
||||||
|
PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel = NULL;
|
||||||
|
PFNGLGETPOINTERVPROC glad_glGetPointerv = NULL;
|
||||||
|
PFNGLDEBUGMESSAGECONTROLKHRPROC glad_glDebugMessageControlKHR = NULL;
|
||||||
|
PFNGLDEBUGMESSAGEINSERTKHRPROC glad_glDebugMessageInsertKHR = NULL;
|
||||||
|
PFNGLDEBUGMESSAGECALLBACKKHRPROC glad_glDebugMessageCallbackKHR = NULL;
|
||||||
|
PFNGLGETDEBUGMESSAGELOGKHRPROC glad_glGetDebugMessageLogKHR = NULL;
|
||||||
|
PFNGLPUSHDEBUGGROUPKHRPROC glad_glPushDebugGroupKHR = NULL;
|
||||||
|
PFNGLPOPDEBUGGROUPKHRPROC glad_glPopDebugGroupKHR = NULL;
|
||||||
|
PFNGLOBJECTLABELKHRPROC glad_glObjectLabelKHR = NULL;
|
||||||
|
PFNGLGETOBJECTLABELKHRPROC glad_glGetObjectLabelKHR = NULL;
|
||||||
|
PFNGLOBJECTPTRLABELKHRPROC glad_glObjectPtrLabelKHR = NULL;
|
||||||
|
PFNGLGETOBJECTPTRLABELKHRPROC glad_glGetObjectPtrLabelKHR = NULL;
|
||||||
|
PFNGLGETPOINTERVKHRPROC glad_glGetPointervKHR = NULL;
|
||||||
static void load_GL_VERSION_1_0(GLADloadproc load) {
|
static void load_GL_VERSION_1_0(GLADloadproc load) {
|
||||||
if(!GLAD_GL_VERSION_1_0) return;
|
if(!GLAD_GL_VERSION_1_0) return;
|
||||||
glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace");
|
glad_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace");
|
||||||
|
@ -1037,11 +1061,37 @@ static void load_GL_EXT_framebuffer_object(GLADloadproc load) {
|
||||||
glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameterivEXT");
|
glad_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameterivEXT");
|
||||||
glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmapEXT");
|
glad_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmapEXT");
|
||||||
}
|
}
|
||||||
|
static void load_GL_KHR_debug(GLADloadproc load) {
|
||||||
|
if(!GLAD_GL_KHR_debug) return;
|
||||||
|
glad_glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)load("glDebugMessageControl");
|
||||||
|
glad_glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)load("glDebugMessageInsert");
|
||||||
|
glad_glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)load("glDebugMessageCallback");
|
||||||
|
glad_glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)load("glGetDebugMessageLog");
|
||||||
|
glad_glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)load("glPushDebugGroup");
|
||||||
|
glad_glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)load("glPopDebugGroup");
|
||||||
|
glad_glObjectLabel = (PFNGLOBJECTLABELPROC)load("glObjectLabel");
|
||||||
|
glad_glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)load("glGetObjectLabel");
|
||||||
|
glad_glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)load("glObjectPtrLabel");
|
||||||
|
glad_glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)load("glGetObjectPtrLabel");
|
||||||
|
glad_glGetPointerv = (PFNGLGETPOINTERVPROC)load("glGetPointerv");
|
||||||
|
glad_glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)load("glDebugMessageControlKHR");
|
||||||
|
glad_glDebugMessageInsertKHR = (PFNGLDEBUGMESSAGEINSERTKHRPROC)load("glDebugMessageInsertKHR");
|
||||||
|
glad_glDebugMessageCallbackKHR = (PFNGLDEBUGMESSAGECALLBACKKHRPROC)load("glDebugMessageCallbackKHR");
|
||||||
|
glad_glGetDebugMessageLogKHR = (PFNGLGETDEBUGMESSAGELOGKHRPROC)load("glGetDebugMessageLogKHR");
|
||||||
|
glad_glPushDebugGroupKHR = (PFNGLPUSHDEBUGGROUPKHRPROC)load("glPushDebugGroupKHR");
|
||||||
|
glad_glPopDebugGroupKHR = (PFNGLPOPDEBUGGROUPKHRPROC)load("glPopDebugGroupKHR");
|
||||||
|
glad_glObjectLabelKHR = (PFNGLOBJECTLABELKHRPROC)load("glObjectLabelKHR");
|
||||||
|
glad_glGetObjectLabelKHR = (PFNGLGETOBJECTLABELKHRPROC)load("glGetObjectLabelKHR");
|
||||||
|
glad_glObjectPtrLabelKHR = (PFNGLOBJECTPTRLABELKHRPROC)load("glObjectPtrLabelKHR");
|
||||||
|
glad_glGetObjectPtrLabelKHR = (PFNGLGETOBJECTPTRLABELKHRPROC)load("glGetObjectPtrLabelKHR");
|
||||||
|
glad_glGetPointervKHR = (PFNGLGETPOINTERVKHRPROC)load("glGetPointervKHR");
|
||||||
|
}
|
||||||
static int find_extensionsGL(void) {
|
static int find_extensionsGL(void) {
|
||||||
if (!get_exts()) return 0;
|
if (!get_exts()) return 0;
|
||||||
GLAD_GL_EXT_framebuffer_object = has_ext("GL_EXT_framebuffer_object");
|
GLAD_GL_EXT_framebuffer_object = has_ext("GL_EXT_framebuffer_object");
|
||||||
GLAD_GL_EXT_texture_compression_s3tc = has_ext("GL_EXT_texture_compression_s3tc");
|
GLAD_GL_EXT_texture_compression_s3tc = has_ext("GL_EXT_texture_compression_s3tc");
|
||||||
GLAD_GL_EXT_texture_filter_anisotropic = has_ext("GL_EXT_texture_filter_anisotropic");
|
GLAD_GL_EXT_texture_filter_anisotropic = has_ext("GL_EXT_texture_filter_anisotropic");
|
||||||
|
GLAD_GL_KHR_debug = has_ext("GL_KHR_debug");
|
||||||
GLAD_GL_KHR_texture_compression_astc_ldr = has_ext("GL_KHR_texture_compression_astc_ldr");
|
GLAD_GL_KHR_texture_compression_astc_ldr = has_ext("GL_KHR_texture_compression_astc_ldr");
|
||||||
free_exts();
|
free_exts();
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -1132,6 +1182,7 @@ int gladLoadGLLoader(GLADloadproc load, int requestedVersion) {
|
||||||
|
|
||||||
if (!find_extensionsGL()) return 0;
|
if (!find_extensionsGL()) return 0;
|
||||||
load_GL_EXT_framebuffer_object(load);
|
load_GL_EXT_framebuffer_object(load);
|
||||||
|
load_GL_KHR_debug(load);
|
||||||
return GLVersion.major != 0 || GLVersion.minor != 0;
|
return GLVersion.major != 0 || GLVersion.minor != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1462,6 +1513,7 @@ static int find_extensionsGLES2(void) {
|
||||||
if (!get_exts()) return 0;
|
if (!get_exts()) return 0;
|
||||||
GLAD_GL_EXT_texture_compression_s3tc = has_ext("GL_EXT_texture_compression_s3tc");
|
GLAD_GL_EXT_texture_compression_s3tc = has_ext("GL_EXT_texture_compression_s3tc");
|
||||||
GLAD_GL_EXT_texture_filter_anisotropic = has_ext("GL_EXT_texture_filter_anisotropic");
|
GLAD_GL_EXT_texture_filter_anisotropic = has_ext("GL_EXT_texture_filter_anisotropic");
|
||||||
|
GLAD_GL_KHR_debug = has_ext("GL_KHR_debug");
|
||||||
GLAD_GL_KHR_texture_compression_astc_ldr = has_ext("GL_KHR_texture_compression_astc_ldr");
|
GLAD_GL_KHR_texture_compression_astc_ldr = has_ext("GL_KHR_texture_compression_astc_ldr");
|
||||||
free_exts();
|
free_exts();
|
||||||
return 1;
|
return 1;
|
||||||
|
@ -1533,5 +1585,6 @@ int gladLoadGLES2Loader(GLADloadproc load, int requestedVersion) {
|
||||||
load_GL_ES_VERSION_3_1(load);
|
load_GL_ES_VERSION_3_1(load);
|
||||||
|
|
||||||
if (!find_extensionsGLES2()) return 0;
|
if (!find_extensionsGLES2()) return 0;
|
||||||
|
load_GL_KHR_debug(load);
|
||||||
return GLVersion.major != 0 || GLVersion.minor != 0;
|
return GLVersion.major != 0 || GLVersion.minor != 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
OpenGL, OpenGL ES loader generated by glad 0.1.34 on Wed Feb 17 01:38:43 2021.
|
OpenGL, OpenGL ES loader generated by glad 0.1.34 on Wed Feb 17 15:35:25 2021.
|
||||||
|
|
||||||
Language/Generator: C/C++
|
Language/Generator: C/C++
|
||||||
Specification: gl
|
Specification: gl
|
||||||
|
@ -10,6 +10,7 @@
|
||||||
GL_EXT_framebuffer_object,
|
GL_EXT_framebuffer_object,
|
||||||
GL_EXT_texture_compression_s3tc,
|
GL_EXT_texture_compression_s3tc,
|
||||||
GL_EXT_texture_filter_anisotropic,
|
GL_EXT_texture_filter_anisotropic,
|
||||||
|
GL_KHR_debug,
|
||||||
GL_KHR_texture_compression_astc_ldr
|
GL_KHR_texture_compression_astc_ldr
|
||||||
Loader: False
|
Loader: False
|
||||||
Local files: False
|
Local files: False
|
||||||
|
@ -17,9 +18,9 @@
|
||||||
Reproducible: False
|
Reproducible: False
|
||||||
|
|
||||||
Commandline:
|
Commandline:
|
||||||
--profile="core" --api="gl=3.3,gles2=3.1" --generator="c" --spec="gl" --no-loader --extensions="GL_EXT_framebuffer_object,GL_EXT_texture_compression_s3tc,GL_EXT_texture_filter_anisotropic,GL_KHR_texture_compression_astc_ldr"
|
--profile="core" --api="gl=3.3,gles2=3.1" --generator="c" --spec="gl" --no-loader --extensions="GL_EXT_framebuffer_object,GL_EXT_texture_compression_s3tc,GL_EXT_texture_filter_anisotropic,GL_KHR_debug,GL_KHR_texture_compression_astc_ldr"
|
||||||
Online:
|
Online:
|
||||||
https://glad.dav1d.de/#profile=core&language=c&specification=gl&api=gl%3D3.3&api=gles2%3D3.1&extensions=GL_EXT_framebuffer_object&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_filter_anisotropic&extensions=GL_KHR_texture_compression_astc_ldr
|
https://glad.dav1d.de/#profile=core&language=c&specification=gl&api=gl%3D3.3&api=gles2%3D3.1&extensions=GL_EXT_framebuffer_object&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_filter_anisotropic&extensions=GL_KHR_debug&extensions=GL_KHR_texture_compression_astc_ldr
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@ -2588,6 +2589,87 @@ GLAPI PFNGLVERTEXBINDINGDIVISORPROC glad_glVertexBindingDivisor;
|
||||||
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
|
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
|
||||||
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
||||||
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
|
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
|
||||||
|
#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
|
||||||
|
#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
|
||||||
|
#define GL_DEBUG_CALLBACK_FUNCTION 0x8244
|
||||||
|
#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
|
||||||
|
#define GL_DEBUG_SOURCE_API 0x8246
|
||||||
|
#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
|
||||||
|
#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
|
||||||
|
#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
|
||||||
|
#define GL_DEBUG_SOURCE_APPLICATION 0x824A
|
||||||
|
#define GL_DEBUG_SOURCE_OTHER 0x824B
|
||||||
|
#define GL_DEBUG_TYPE_ERROR 0x824C
|
||||||
|
#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
|
||||||
|
#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
|
||||||
|
#define GL_DEBUG_TYPE_PORTABILITY 0x824F
|
||||||
|
#define GL_DEBUG_TYPE_PERFORMANCE 0x8250
|
||||||
|
#define GL_DEBUG_TYPE_OTHER 0x8251
|
||||||
|
#define GL_DEBUG_TYPE_MARKER 0x8268
|
||||||
|
#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
|
||||||
|
#define GL_DEBUG_TYPE_POP_GROUP 0x826A
|
||||||
|
#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
|
||||||
|
#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
|
||||||
|
#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
|
||||||
|
#define GL_BUFFER 0x82E0
|
||||||
|
#define GL_SHADER 0x82E1
|
||||||
|
#define GL_PROGRAM 0x82E2
|
||||||
|
#define GL_VERTEX_ARRAY 0x8074
|
||||||
|
#define GL_QUERY 0x82E3
|
||||||
|
#define GL_PROGRAM_PIPELINE 0x82E4
|
||||||
|
#define GL_SAMPLER 0x82E6
|
||||||
|
#define GL_MAX_LABEL_LENGTH 0x82E8
|
||||||
|
#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
|
||||||
|
#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
|
||||||
|
#define GL_DEBUG_LOGGED_MESSAGES 0x9145
|
||||||
|
#define GL_DEBUG_SEVERITY_HIGH 0x9146
|
||||||
|
#define GL_DEBUG_SEVERITY_MEDIUM 0x9147
|
||||||
|
#define GL_DEBUG_SEVERITY_LOW 0x9148
|
||||||
|
#define GL_DEBUG_OUTPUT 0x92E0
|
||||||
|
#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
|
||||||
|
#define GL_STACK_OVERFLOW 0x0503
|
||||||
|
#define GL_STACK_UNDERFLOW 0x0504
|
||||||
|
#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
|
||||||
|
#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
|
||||||
|
#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
|
||||||
|
#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
|
||||||
|
#define GL_DEBUG_SOURCE_API_KHR 0x8246
|
||||||
|
#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
|
||||||
|
#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
|
||||||
|
#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
|
||||||
|
#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
|
||||||
|
#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
|
||||||
|
#define GL_DEBUG_TYPE_ERROR_KHR 0x824C
|
||||||
|
#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
|
||||||
|
#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
|
||||||
|
#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
|
||||||
|
#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
|
||||||
|
#define GL_DEBUG_TYPE_OTHER_KHR 0x8251
|
||||||
|
#define GL_DEBUG_TYPE_MARKER_KHR 0x8268
|
||||||
|
#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
|
||||||
|
#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
|
||||||
|
#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
|
||||||
|
#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
|
||||||
|
#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
|
||||||
|
#define GL_BUFFER_KHR 0x82E0
|
||||||
|
#define GL_SHADER_KHR 0x82E1
|
||||||
|
#define GL_PROGRAM_KHR 0x82E2
|
||||||
|
#define GL_VERTEX_ARRAY_KHR 0x8074
|
||||||
|
#define GL_QUERY_KHR 0x82E3
|
||||||
|
#define GL_PROGRAM_PIPELINE_KHR 0x82E4
|
||||||
|
#define GL_SAMPLER_KHR 0x82E6
|
||||||
|
#define GL_MAX_LABEL_LENGTH_KHR 0x82E8
|
||||||
|
#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
|
||||||
|
#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
|
||||||
|
#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
|
||||||
|
#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
|
||||||
|
#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
|
||||||
|
#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
|
||||||
|
#define GL_DEBUG_OUTPUT_KHR 0x92E0
|
||||||
|
#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
|
||||||
|
#define GL_STACK_OVERFLOW_KHR 0x0503
|
||||||
|
#define GL_STACK_UNDERFLOW_KHR 0x0504
|
||||||
|
#define GL_DISPLAY_LIST 0x82E7
|
||||||
#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
|
#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
|
||||||
#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
|
#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
|
||||||
#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
|
#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
|
||||||
|
@ -2628,6 +2710,76 @@ GLAPI int GLAD_GL_EXT_texture_compression_s3tc;
|
||||||
#define GL_EXT_texture_filter_anisotropic 1
|
#define GL_EXT_texture_filter_anisotropic 1
|
||||||
GLAPI int GLAD_GL_EXT_texture_filter_anisotropic;
|
GLAPI int GLAD_GL_EXT_texture_filter_anisotropic;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_KHR_debug
|
||||||
|
#define GL_KHR_debug 1
|
||||||
|
GLAPI int GLAD_GL_KHR_debug;
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl;
|
||||||
|
#define glDebugMessageControl glad_glDebugMessageControl
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert;
|
||||||
|
#define glDebugMessageInsert glad_glDebugMessageInsert
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC)(GLDEBUGPROC callback, const void *userParam);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback;
|
||||||
|
#define glDebugMessageCallback glad_glDebugMessageCallback
|
||||||
|
typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC)(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
|
||||||
|
GLAPI PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog;
|
||||||
|
#define glGetDebugMessageLog glad_glGetDebugMessageLog
|
||||||
|
typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message);
|
||||||
|
GLAPI PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup;
|
||||||
|
#define glPushDebugGroup glad_glPushDebugGroup
|
||||||
|
typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC)(void);
|
||||||
|
GLAPI PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup;
|
||||||
|
#define glPopDebugGroup glad_glPopDebugGroup
|
||||||
|
typedef void (APIENTRYP PFNGLOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
|
||||||
|
GLAPI PFNGLOBJECTLABELPROC glad_glObjectLabel;
|
||||||
|
#define glObjectLabel glad_glObjectLabel
|
||||||
|
typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
|
||||||
|
GLAPI PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel;
|
||||||
|
#define glGetObjectLabel glad_glGetObjectLabel
|
||||||
|
typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC)(const void *ptr, GLsizei length, const GLchar *label);
|
||||||
|
GLAPI PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel;
|
||||||
|
#define glObjectPtrLabel glad_glObjectPtrLabel
|
||||||
|
typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
|
||||||
|
GLAPI PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel;
|
||||||
|
#define glGetObjectPtrLabel glad_glGetObjectPtrLabel
|
||||||
|
typedef void (APIENTRYP PFNGLGETPOINTERVPROC)(GLenum pname, void **params);
|
||||||
|
GLAPI PFNGLGETPOINTERVPROC glad_glGetPointerv;
|
||||||
|
#define glGetPointerv glad_glGetPointerv
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGECONTROLKHRPROC glad_glDebugMessageControlKHR;
|
||||||
|
#define glDebugMessageControlKHR glad_glDebugMessageControlKHR
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGEINSERTKHRPROC glad_glDebugMessageInsertKHR;
|
||||||
|
#define glDebugMessageInsertKHR glad_glDebugMessageInsertKHR
|
||||||
|
typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC)(GLDEBUGPROCKHR callback, const void *userParam);
|
||||||
|
GLAPI PFNGLDEBUGMESSAGECALLBACKKHRPROC glad_glDebugMessageCallbackKHR;
|
||||||
|
#define glDebugMessageCallbackKHR glad_glDebugMessageCallbackKHR
|
||||||
|
typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC)(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
|
||||||
|
GLAPI PFNGLGETDEBUGMESSAGELOGKHRPROC glad_glGetDebugMessageLogKHR;
|
||||||
|
#define glGetDebugMessageLogKHR glad_glGetDebugMessageLogKHR
|
||||||
|
typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message);
|
||||||
|
GLAPI PFNGLPUSHDEBUGGROUPKHRPROC glad_glPushDebugGroupKHR;
|
||||||
|
#define glPushDebugGroupKHR glad_glPushDebugGroupKHR
|
||||||
|
typedef void (APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC)(void);
|
||||||
|
GLAPI PFNGLPOPDEBUGGROUPKHRPROC glad_glPopDebugGroupKHR;
|
||||||
|
#define glPopDebugGroupKHR glad_glPopDebugGroupKHR
|
||||||
|
typedef void (APIENTRYP PFNGLOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
|
||||||
|
GLAPI PFNGLOBJECTLABELKHRPROC glad_glObjectLabelKHR;
|
||||||
|
#define glObjectLabelKHR glad_glObjectLabelKHR
|
||||||
|
typedef void (APIENTRYP PFNGLGETOBJECTLABELKHRPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
|
||||||
|
GLAPI PFNGLGETOBJECTLABELKHRPROC glad_glGetObjectLabelKHR;
|
||||||
|
#define glGetObjectLabelKHR glad_glGetObjectLabelKHR
|
||||||
|
typedef void (APIENTRYP PFNGLOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei length, const GLchar *label);
|
||||||
|
GLAPI PFNGLOBJECTPTRLABELKHRPROC glad_glObjectPtrLabelKHR;
|
||||||
|
#define glObjectPtrLabelKHR glad_glObjectPtrLabelKHR
|
||||||
|
typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
|
||||||
|
GLAPI PFNGLGETOBJECTPTRLABELKHRPROC glad_glGetObjectPtrLabelKHR;
|
||||||
|
#define glGetObjectPtrLabelKHR glad_glGetObjectPtrLabelKHR
|
||||||
|
typedef void (APIENTRYP PFNGLGETPOINTERVKHRPROC)(GLenum pname, void **params);
|
||||||
|
GLAPI PFNGLGETPOINTERVKHRPROC glad_glGetPointervKHR;
|
||||||
|
#define glGetPointervKHR glad_glGetPointervKHR
|
||||||
|
#endif
|
||||||
#ifndef GL_KHR_texture_compression_astc_ldr
|
#ifndef GL_KHR_texture_compression_astc_ldr
|
||||||
#define GL_KHR_texture_compression_astc_ldr 1
|
#define GL_KHR_texture_compression_astc_ldr 1
|
||||||
GLAPI int GLAD_GL_KHR_texture_compression_astc_ldr;
|
GLAPI int GLAD_GL_KHR_texture_compression_astc_ldr;
|
||||||
|
@ -2640,6 +2792,10 @@ GLAPI int GLAD_GL_EXT_texture_compression_s3tc;
|
||||||
#define GL_EXT_texture_filter_anisotropic 1
|
#define GL_EXT_texture_filter_anisotropic 1
|
||||||
GLAPI int GLAD_GL_EXT_texture_filter_anisotropic;
|
GLAPI int GLAD_GL_EXT_texture_filter_anisotropic;
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef GL_KHR_debug
|
||||||
|
#define GL_KHR_debug 1
|
||||||
|
GLAPI int GLAD_GL_KHR_debug;
|
||||||
|
#endif
|
||||||
#ifndef GL_KHR_texture_compression_astc_ldr
|
#ifndef GL_KHR_texture_compression_astc_ldr
|
||||||
#define GL_KHR_texture_compression_astc_ldr 1
|
#define GL_KHR_texture_compression_astc_ldr 1
|
||||||
GLAPI int GLAD_GL_KHR_texture_compression_astc_ldr;
|
GLAPI int GLAD_GL_KHR_texture_compression_astc_ldr;
|
||||||
|
|
Loading…
Reference in New Issue