|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
OpenGL loader generated by glad 0.1.33 on Wed Sep 2 17:24:26 2020.
|
|
|
|
|
OpenGL loader generated by glad 0.1.34 on Thu Sep 24 23:40:47 2020.
|
|
|
|
|
|
|
|
|
|
Language/Generator: C/C++
|
|
|
|
|
Specification: gl
|
|
|
|
|
APIs: gl=4.6
|
|
|
|
|
APIs: gl=4.1
|
|
|
|
|
Profile: compatibility
|
|
|
|
|
Extensions:
|
|
|
|
|
|
|
|
|
@ -14,9 +14,9 @@
|
|
|
|
|
Reproducible: False
|
|
|
|
|
|
|
|
|
|
Commandline:
|
|
|
|
|
--profile="compatibility" --api="gl=4.6" --generator="c" --spec="gl" --extensions=""
|
|
|
|
|
--profile="compatibility" --api="gl=4.1" --generator="c" --spec="gl" --extensions=""
|
|
|
|
|
Online:
|
|
|
|
|
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D4.6
|
|
|
|
|
https://glad.dav1d.de/#profile=compatibility&language=c&specification=gl&loader=on&api=gl%3D4.1
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
@ -269,11 +269,6 @@ int GLAD_GL_VERSION_3_2 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_3_3 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_0 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_1 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_2 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_3 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_4 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_5 = 0;
|
|
|
|
|
int GLAD_GL_VERSION_4_6 = 0;
|
|
|
|
|
PFNGLACCUMPROC glad_glAccum = NULL;
|
|
|
|
|
PFNGLACTIVESHADERPROGRAMPROC glad_glActiveShaderProgram = NULL;
|
|
|
|
|
PFNGLACTIVETEXTUREPROC glad_glActiveTexture = NULL;
|
|
|
|
@ -290,24 +285,15 @@ PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation = NULL;
|
|
|
|
|
PFNGLBINDBUFFERPROC glad_glBindBuffer = NULL;
|
|
|
|
|
PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase = NULL;
|
|
|
|
|
PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange = NULL;
|
|
|
|
|
PFNGLBINDBUFFERSBASEPROC glad_glBindBuffersBase = NULL;
|
|
|
|
|
PFNGLBINDBUFFERSRANGEPROC glad_glBindBuffersRange = NULL;
|
|
|
|
|
PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation = NULL;
|
|
|
|
|
PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed = NULL;
|
|
|
|
|
PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer = NULL;
|
|
|
|
|
PFNGLBINDIMAGETEXTUREPROC glad_glBindImageTexture = NULL;
|
|
|
|
|
PFNGLBINDIMAGETEXTURESPROC glad_glBindImageTextures = NULL;
|
|
|
|
|
PFNGLBINDPROGRAMPIPELINEPROC glad_glBindProgramPipeline = NULL;
|
|
|
|
|
PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer = NULL;
|
|
|
|
|
PFNGLBINDSAMPLERPROC glad_glBindSampler = NULL;
|
|
|
|
|
PFNGLBINDSAMPLERSPROC glad_glBindSamplers = NULL;
|
|
|
|
|
PFNGLBINDTEXTUREPROC glad_glBindTexture = NULL;
|
|
|
|
|
PFNGLBINDTEXTUREUNITPROC glad_glBindTextureUnit = NULL;
|
|
|
|
|
PFNGLBINDTEXTURESPROC glad_glBindTextures = NULL;
|
|
|
|
|
PFNGLBINDTRANSFORMFEEDBACKPROC glad_glBindTransformFeedback = NULL;
|
|
|
|
|
PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray = NULL;
|
|
|
|
|
PFNGLBINDVERTEXBUFFERPROC glad_glBindVertexBuffer = NULL;
|
|
|
|
|
PFNGLBINDVERTEXBUFFERSPROC glad_glBindVertexBuffers = NULL;
|
|
|
|
|
PFNGLBITMAPPROC glad_glBitmap = NULL;
|
|
|
|
|
PFNGLBLENDCOLORPROC glad_glBlendColor = NULL;
|
|
|
|
|
PFNGLBLENDEQUATIONPROC glad_glBlendEquation = NULL;
|
|
|
|
@ -319,19 +305,14 @@ PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate = NULL;
|
|
|
|
|
PFNGLBLENDFUNCSEPARATEIPROC glad_glBlendFuncSeparatei = NULL;
|
|
|
|
|
PFNGLBLENDFUNCIPROC glad_glBlendFunci = NULL;
|
|
|
|
|
PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer = NULL;
|
|
|
|
|
PFNGLBLITNAMEDFRAMEBUFFERPROC glad_glBlitNamedFramebuffer = NULL;
|
|
|
|
|
PFNGLBUFFERDATAPROC glad_glBufferData = NULL;
|
|
|
|
|
PFNGLBUFFERSTORAGEPROC glad_glBufferStorage = NULL;
|
|
|
|
|
PFNGLBUFFERSUBDATAPROC glad_glBufferSubData = NULL;
|
|
|
|
|
PFNGLCALLLISTPROC glad_glCallList = NULL;
|
|
|
|
|
PFNGLCALLLISTSPROC glad_glCallLists = NULL;
|
|
|
|
|
PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus = NULL;
|
|
|
|
|
PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC glad_glCheckNamedFramebufferStatus = NULL;
|
|
|
|
|
PFNGLCLAMPCOLORPROC glad_glClampColor = NULL;
|
|
|
|
|
PFNGLCLEARPROC glad_glClear = NULL;
|
|
|
|
|
PFNGLCLEARACCUMPROC glad_glClearAccum = NULL;
|
|
|
|
|
PFNGLCLEARBUFFERDATAPROC glad_glClearBufferData = NULL;
|
|
|
|
|
PFNGLCLEARBUFFERSUBDATAPROC glad_glClearBufferSubData = NULL;
|
|
|
|
|
PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi = NULL;
|
|
|
|
|
PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv = NULL;
|
|
|
|
|
PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv = NULL;
|
|
|
|
@ -340,18 +321,9 @@ PFNGLCLEARCOLORPROC glad_glClearColor = NULL;
|
|
|
|
|
PFNGLCLEARDEPTHPROC glad_glClearDepth = NULL;
|
|
|
|
|
PFNGLCLEARDEPTHFPROC glad_glClearDepthf = NULL;
|
|
|
|
|
PFNGLCLEARINDEXPROC glad_glClearIndex = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDBUFFERDATAPROC glad_glClearNamedBufferData = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDBUFFERSUBDATAPROC glad_glClearNamedBufferSubData = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDFRAMEBUFFERFIPROC glad_glClearNamedFramebufferfi = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDFRAMEBUFFERFVPROC glad_glClearNamedFramebufferfv = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDFRAMEBUFFERIVPROC glad_glClearNamedFramebufferiv = NULL;
|
|
|
|
|
PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC glad_glClearNamedFramebufferuiv = NULL;
|
|
|
|
|
PFNGLCLEARSTENCILPROC glad_glClearStencil = NULL;
|
|
|
|
|
PFNGLCLEARTEXIMAGEPROC glad_glClearTexImage = NULL;
|
|
|
|
|
PFNGLCLEARTEXSUBIMAGEPROC glad_glClearTexSubImage = NULL;
|
|
|
|
|
PFNGLCLIENTACTIVETEXTUREPROC glad_glClientActiveTexture = NULL;
|
|
|
|
|
PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync = NULL;
|
|
|
|
|
PFNGLCLIPCONTROLPROC glad_glClipControl = NULL;
|
|
|
|
|
PFNGLCLIPPLANEPROC glad_glClipPlane = NULL;
|
|
|
|
|
PFNGLCOLOR3BPROC glad_glColor3b = NULL;
|
|
|
|
|
PFNGLCOLOR3BVPROC glad_glColor3bv = NULL;
|
|
|
|
@ -400,37 +372,17 @@ PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC glad_glCompressedTextureSubImage1D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC glad_glCompressedTextureSubImage2D = NULL;
|
|
|
|
|
PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC glad_glCompressedTextureSubImage3D = NULL;
|
|
|
|
|
PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData = NULL;
|
|
|
|
|
PFNGLCOPYIMAGESUBDATAPROC glad_glCopyImageSubData = NULL;
|
|
|
|
|
PFNGLCOPYNAMEDBUFFERSUBDATAPROC glad_glCopyNamedBufferSubData = NULL;
|
|
|
|
|
PFNGLCOPYPIXELSPROC glad_glCopyPixels = NULL;
|
|
|
|
|
PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D = NULL;
|
|
|
|
|
PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D = NULL;
|
|
|
|
|
PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D = NULL;
|
|
|
|
|
PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D = NULL;
|
|
|
|
|
PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D = NULL;
|
|
|
|
|
PFNGLCOPYTEXTURESUBIMAGE1DPROC glad_glCopyTextureSubImage1D = NULL;
|
|
|
|
|
PFNGLCOPYTEXTURESUBIMAGE2DPROC glad_glCopyTextureSubImage2D = NULL;
|
|
|
|
|
PFNGLCOPYTEXTURESUBIMAGE3DPROC glad_glCopyTextureSubImage3D = NULL;
|
|
|
|
|
PFNGLCREATEBUFFERSPROC glad_glCreateBuffers = NULL;
|
|
|
|
|
PFNGLCREATEFRAMEBUFFERSPROC glad_glCreateFramebuffers = NULL;
|
|
|
|
|
PFNGLCREATEPROGRAMPROC glad_glCreateProgram = NULL;
|
|
|
|
|
PFNGLCREATEPROGRAMPIPELINESPROC glad_glCreateProgramPipelines = NULL;
|
|
|
|
|
PFNGLCREATEQUERIESPROC glad_glCreateQueries = NULL;
|
|
|
|
|
PFNGLCREATERENDERBUFFERSPROC glad_glCreateRenderbuffers = NULL;
|
|
|
|
|
PFNGLCREATESAMPLERSPROC glad_glCreateSamplers = NULL;
|
|
|
|
|
PFNGLCREATESHADERPROC glad_glCreateShader = NULL;
|
|
|
|
|
PFNGLCREATESHADERPROGRAMVPROC glad_glCreateShaderProgramv = NULL;
|
|
|
|
|
PFNGLCREATETEXTURESPROC glad_glCreateTextures = NULL;
|
|
|
|
|
PFNGLCREATETRANSFORMFEEDBACKSPROC glad_glCreateTransformFeedbacks = NULL;
|
|
|
|
|
PFNGLCREATEVERTEXARRAYSPROC glad_glCreateVertexArrays = NULL;
|
|
|
|
|
PFNGLCULLFACEPROC glad_glCullFace = NULL;
|
|
|
|
|
PFNGLDEBUGMESSAGECALLBACKPROC glad_glDebugMessageCallback = NULL;
|
|
|
|
|
PFNGLDEBUGMESSAGECONTROLPROC glad_glDebugMessageControl = NULL;
|
|
|
|
|
PFNGLDEBUGMESSAGEINSERTPROC glad_glDebugMessageInsert = NULL;
|
|
|
|
|
PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers = NULL;
|
|
|
|
|
PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers = NULL;
|
|
|
|
|
PFNGLDELETELISTSPROC glad_glDeleteLists = NULL;
|
|
|
|
@ -453,37 +405,28 @@ PFNGLDEPTHRANGEFPROC glad_glDepthRangef = NULL;
|
|
|
|
|
PFNGLDETACHSHADERPROC glad_glDetachShader = NULL;
|
|
|
|
|
PFNGLDISABLEPROC glad_glDisable = NULL;
|
|
|
|
|
PFNGLDISABLECLIENTSTATEPROC glad_glDisableClientState = NULL;
|
|
|
|
|
PFNGLDISABLEVERTEXARRAYATTRIBPROC glad_glDisableVertexArrayAttrib = NULL;
|
|
|
|
|
PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray = NULL;
|
|
|
|
|
PFNGLDISABLEIPROC glad_glDisablei = NULL;
|
|
|
|
|
PFNGLDISPATCHCOMPUTEPROC glad_glDispatchCompute = NULL;
|
|
|
|
|
PFNGLDISPATCHCOMPUTEINDIRECTPROC glad_glDispatchComputeIndirect = NULL;
|
|
|
|
|
PFNGLDRAWARRAYSPROC glad_glDrawArrays = NULL;
|
|
|
|
|
PFNGLDRAWARRAYSINDIRECTPROC glad_glDrawArraysIndirect = NULL;
|
|
|
|
|
PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced = NULL;
|
|
|
|
|
PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC glad_glDrawArraysInstancedBaseInstance = NULL;
|
|
|
|
|
PFNGLDRAWBUFFERPROC glad_glDrawBuffer = NULL;
|
|
|
|
|
PFNGLDRAWBUFFERSPROC glad_glDrawBuffers = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSPROC glad_glDrawElements = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSINDIRECTPROC glad_glDrawElementsIndirect = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC glad_glDrawElementsInstancedBaseInstance = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex = NULL;
|
|
|
|
|
PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC glad_glDrawElementsInstancedBaseVertexBaseInstance = NULL;
|
|
|
|
|
PFNGLDRAWPIXELSPROC glad_glDrawPixels = NULL;
|
|
|
|
|
PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements = NULL;
|
|
|
|
|
PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex = NULL;
|
|
|
|
|
PFNGLDRAWTRANSFORMFEEDBACKPROC glad_glDrawTransformFeedback = NULL;
|
|
|
|
|
PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC glad_glDrawTransformFeedbackInstanced = NULL;
|
|
|
|
|
PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC glad_glDrawTransformFeedbackStream = NULL;
|
|
|
|
|
PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC glad_glDrawTransformFeedbackStreamInstanced = NULL;
|
|
|
|
|
PFNGLEDGEFLAGPROC glad_glEdgeFlag = NULL;
|
|
|
|
|
PFNGLEDGEFLAGPOINTERPROC glad_glEdgeFlagPointer = NULL;
|
|
|
|
|
PFNGLEDGEFLAGVPROC glad_glEdgeFlagv = NULL;
|
|
|
|
|
PFNGLENABLEPROC glad_glEnable = NULL;
|
|
|
|
|
PFNGLENABLECLIENTSTATEPROC glad_glEnableClientState = NULL;
|
|
|
|
|
PFNGLENABLEVERTEXARRAYATTRIBPROC glad_glEnableVertexArrayAttrib = NULL;
|
|
|
|
|
PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray = NULL;
|
|
|
|
|
PFNGLENABLEIPROC glad_glEnablei = NULL;
|
|
|
|
|
PFNGLENDPROC glad_glEnd = NULL;
|
|
|
|
@ -509,7 +452,6 @@ PFNGLFENCESYNCPROC glad_glFenceSync = NULL;
|
|
|
|
|
PFNGLFINISHPROC glad_glFinish = NULL;
|
|
|
|
|
PFNGLFLUSHPROC glad_glFlush = NULL;
|
|
|
|
|
PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange = NULL;
|
|
|
|
|
PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC glad_glFlushMappedNamedBufferRange = NULL;
|
|
|
|
|
PFNGLFOGCOORDPOINTERPROC glad_glFogCoordPointer = NULL;
|
|
|
|
|
PFNGLFOGCOORDDPROC glad_glFogCoordd = NULL;
|
|
|
|
|
PFNGLFOGCOORDDVPROC glad_glFogCoorddv = NULL;
|
|
|
|
@ -519,7 +461,6 @@ PFNGLFOGFPROC glad_glFogf = NULL;
|
|
|
|
|
PFNGLFOGFVPROC glad_glFogfv = NULL;
|
|
|
|
|
PFNGLFOGIPROC glad_glFogi = NULL;
|
|
|
|
|
PFNGLFOGIVPROC glad_glFogiv = NULL;
|
|
|
|
|
PFNGLFRAMEBUFFERPARAMETERIPROC glad_glFramebufferParameteri = NULL;
|
|
|
|
|
PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer = NULL;
|
|
|
|
|
PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture = NULL;
|
|
|
|
|
PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D = NULL;
|
|
|
|
@ -539,8 +480,6 @@ PFNGLGENTEXTURESPROC glad_glGenTextures = NULL;
|
|
|
|
|
PFNGLGENTRANSFORMFEEDBACKSPROC glad_glGenTransformFeedbacks = NULL;
|
|
|
|
|
PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays = NULL;
|
|
|
|
|
PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap = NULL;
|
|
|
|
|
PFNGLGENERATETEXTUREMIPMAPPROC glad_glGenerateTextureMipmap = NULL;
|
|
|
|
|
PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC glad_glGetActiveAtomicCounterBufferiv = NULL;
|
|
|
|
|
PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib = NULL;
|
|
|
|
|
PFNGLGETACTIVESUBROUTINENAMEPROC glad_glGetActiveSubroutineName = NULL;
|
|
|
|
|
PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC glad_glGetActiveSubroutineUniformName = NULL;
|
|
|
|
@ -560,9 +499,6 @@ PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv = NULL;
|
|
|
|
|
PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData = NULL;
|
|
|
|
|
PFNGLGETCLIPPLANEPROC glad_glGetClipPlane = NULL;
|
|
|
|
|
PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage = NULL;
|
|
|
|
|
PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC glad_glGetCompressedTextureImage = NULL;
|
|
|
|
|
PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC glad_glGetCompressedTextureSubImage = NULL;
|
|
|
|
|
PFNGLGETDEBUGMESSAGELOGPROC glad_glGetDebugMessageLog = NULL;
|
|
|
|
|
PFNGLGETDOUBLEI_VPROC glad_glGetDoublei_v = NULL;
|
|
|
|
|
PFNGLGETDOUBLEVPROC glad_glGetDoublev = NULL;
|
|
|
|
|
PFNGLGETERRORPROC glad_glGetError = NULL;
|
|
|
|
@ -571,14 +507,10 @@ PFNGLGETFLOATVPROC glad_glGetFloatv = NULL;
|
|
|
|
|
PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex = NULL;
|
|
|
|
|
PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation = NULL;
|
|
|
|
|
PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv = NULL;
|
|
|
|
|
PFNGLGETFRAMEBUFFERPARAMETERIVPROC glad_glGetFramebufferParameteriv = NULL;
|
|
|
|
|
PFNGLGETGRAPHICSRESETSTATUSPROC glad_glGetGraphicsResetStatus = NULL;
|
|
|
|
|
PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v = NULL;
|
|
|
|
|
PFNGLGETINTEGER64VPROC glad_glGetInteger64v = NULL;
|
|
|
|
|
PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v = NULL;
|
|
|
|
|
PFNGLGETINTEGERVPROC glad_glGetIntegerv = NULL;
|
|
|
|
|
PFNGLGETINTERNALFORMATI64VPROC glad_glGetInternalformati64v = NULL;
|
|
|
|
|
PFNGLGETINTERNALFORMATIVPROC glad_glGetInternalformativ = NULL;
|
|
|
|
|
PFNGLGETLIGHTFVPROC glad_glGetLightfv = NULL;
|
|
|
|
|
PFNGLGETLIGHTIVPROC glad_glGetLightiv = NULL;
|
|
|
|
|
PFNGLGETMAPDVPROC glad_glGetMapdv = NULL;
|
|
|
|
@ -587,15 +519,6 @@ PFNGLGETMAPIVPROC glad_glGetMapiv = NULL;
|
|
|
|
|
PFNGLGETMATERIALFVPROC glad_glGetMaterialfv = NULL;
|
|
|
|
|
PFNGLGETMATERIALIVPROC glad_glGetMaterialiv = NULL;
|
|
|
|
|
PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv = NULL;
|
|
|
|
|
PFNGLGETNAMEDBUFFERPARAMETERI64VPROC glad_glGetNamedBufferParameteri64v = NULL;
|
|
|
|
|
PFNGLGETNAMEDBUFFERPARAMETERIVPROC glad_glGetNamedBufferParameteriv = NULL;
|
|
|
|
|
PFNGLGETNAMEDBUFFERPOINTERVPROC glad_glGetNamedBufferPointerv = NULL;
|
|
|
|
|
PFNGLGETNAMEDBUFFERSUBDATAPROC glad_glGetNamedBufferSubData = NULL;
|
|
|
|
|
PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetNamedFramebufferAttachmentParameteriv = NULL;
|
|
|
|
|
PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC glad_glGetNamedFramebufferParameteriv = NULL;
|
|
|
|
|
PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC glad_glGetNamedRenderbufferParameteriv = NULL;
|
|
|
|
|
PFNGLGETOBJECTLABELPROC glad_glGetObjectLabel = NULL;
|
|
|
|
|
PFNGLGETOBJECTPTRLABELPROC glad_glGetObjectPtrLabel = NULL;
|
|
|
|
|
PFNGLGETPIXELMAPFVPROC glad_glGetPixelMapfv = NULL;
|
|
|
|
|
PFNGLGETPIXELMAPUIVPROC glad_glGetPixelMapuiv = NULL;
|
|
|
|
|
PFNGLGETPIXELMAPUSVPROC glad_glGetPixelMapusv = NULL;
|
|
|
|
@ -603,20 +526,10 @@ PFNGLGETPOINTERVPROC glad_glGetPointerv = NULL;
|
|
|
|
|
PFNGLGETPOLYGONSTIPPLEPROC glad_glGetPolygonStipple = NULL;
|
|
|
|
|
PFNGLGETPROGRAMBINARYPROC glad_glGetProgramBinary = NULL;
|
|
|
|
|
PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog = NULL;
|
|
|
|
|
PFNGLGETPROGRAMINTERFACEIVPROC glad_glGetProgramInterfaceiv = NULL;
|
|
|
|
|
PFNGLGETPROGRAMPIPELINEINFOLOGPROC glad_glGetProgramPipelineInfoLog = NULL;
|
|
|
|
|
PFNGLGETPROGRAMPIPELINEIVPROC glad_glGetProgramPipelineiv = NULL;
|
|
|
|
|
PFNGLGETPROGRAMRESOURCEINDEXPROC glad_glGetProgramResourceIndex = NULL;
|
|
|
|
|
PFNGLGETPROGRAMRESOURCELOCATIONPROC glad_glGetProgramResourceLocation = NULL;
|
|
|
|
|
PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC glad_glGetProgramResourceLocationIndex = NULL;
|
|
|
|
|
PFNGLGETPROGRAMRESOURCENAMEPROC glad_glGetProgramResourceName = NULL;
|
|
|
|
|
PFNGLGETPROGRAMRESOURCEIVPROC glad_glGetProgramResourceiv = NULL;
|
|
|
|
|
PFNGLGETPROGRAMSTAGEIVPROC glad_glGetProgramStageiv = NULL;
|
|
|
|
|
PFNGLGETPROGRAMIVPROC glad_glGetProgramiv = NULL;
|
|
|
|
|
PFNGLGETQUERYBUFFEROBJECTI64VPROC glad_glGetQueryBufferObjecti64v = NULL;
|
|
|
|
|
PFNGLGETQUERYBUFFEROBJECTIVPROC glad_glGetQueryBufferObjectiv = NULL;
|
|
|
|
|
PFNGLGETQUERYBUFFEROBJECTUI64VPROC glad_glGetQueryBufferObjectui64v = NULL;
|
|
|
|
|
PFNGLGETQUERYBUFFEROBJECTUIVPROC glad_glGetQueryBufferObjectuiv = NULL;
|
|
|
|
|
PFNGLGETQUERYINDEXEDIVPROC glad_glGetQueryIndexediv = NULL;
|
|
|
|
|
PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v = NULL;
|
|
|
|
|
PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv = NULL;
|
|
|
|
@ -649,18 +562,7 @@ PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv = NULL;
|
|
|
|
|
PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv = NULL;
|
|
|
|
|
PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv = NULL;
|
|
|
|
|
PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv = NULL;
|
|
|
|
|
PFNGLGETTEXTUREIMAGEPROC glad_glGetTextureImage = NULL;
|
|
|
|
|
PFNGLGETTEXTURELEVELPARAMETERFVPROC glad_glGetTextureLevelParameterfv = NULL;
|
|
|
|
|
PFNGLGETTEXTURELEVELPARAMETERIVPROC glad_glGetTextureLevelParameteriv = NULL;
|
|
|
|
|
PFNGLGETTEXTUREPARAMETERIIVPROC glad_glGetTextureParameterIiv = NULL;
|
|
|
|
|
PFNGLGETTEXTUREPARAMETERIUIVPROC glad_glGetTextureParameterIuiv = NULL;
|
|
|
|
|
PFNGLGETTEXTUREPARAMETERFVPROC glad_glGetTextureParameterfv = NULL;
|
|
|
|
|
PFNGLGETTEXTUREPARAMETERIVPROC glad_glGetTextureParameteriv = NULL;
|
|
|
|
|
PFNGLGETTEXTURESUBIMAGEPROC glad_glGetTextureSubImage = NULL;
|
|
|
|
|
PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying = NULL;
|
|
|
|
|
PFNGLGETTRANSFORMFEEDBACKI64_VPROC glad_glGetTransformFeedbacki64_v = NULL;
|
|
|
|
|
PFNGLGETTRANSFORMFEEDBACKI_VPROC glad_glGetTransformFeedbacki_v = NULL;
|
|
|
|
|
PFNGLGETTRANSFORMFEEDBACKIVPROC glad_glGetTransformFeedbackiv = NULL;
|
|
|
|
|
PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex = NULL;
|
|
|
|
|
PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices = NULL;
|
|
|
|
|
PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation = NULL;
|
|
|
|
@ -669,9 +571,6 @@ PFNGLGETUNIFORMDVPROC glad_glGetUniformdv = NULL;
|
|
|
|
|
PFNGLGETUNIFORMFVPROC glad_glGetUniformfv = NULL;
|
|
|
|
|
PFNGLGETUNIFORMIVPROC glad_glGetUniformiv = NULL;
|
|
|
|
|
PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv = NULL;
|
|
|
|
|
PFNGLGETVERTEXARRAYINDEXED64IVPROC glad_glGetVertexArrayIndexed64iv = NULL;
|
|
|
|
|
PFNGLGETVERTEXARRAYINDEXEDIVPROC glad_glGetVertexArrayIndexediv = NULL;
|
|
|
|
|
PFNGLGETVERTEXARRAYIVPROC glad_glGetVertexArrayiv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBLDVPROC glad_glGetVertexAttribLdv = NULL;
|
|
|
|
@ -679,24 +578,6 @@ PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv = NULL;
|
|
|
|
|
PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv = NULL;
|
|
|
|
|
PFNGLGETNCOLORTABLEPROC glad_glGetnColorTable = NULL;
|
|
|
|
|
PFNGLGETNCOMPRESSEDTEXIMAGEPROC glad_glGetnCompressedTexImage = NULL;
|
|
|
|
|
PFNGLGETNCONVOLUTIONFILTERPROC glad_glGetnConvolutionFilter = NULL;
|
|
|
|
|
PFNGLGETNHISTOGRAMPROC glad_glGetnHistogram = NULL;
|
|
|
|
|
PFNGLGETNMAPDVPROC glad_glGetnMapdv = NULL;
|
|
|
|
|
PFNGLGETNMAPFVPROC glad_glGetnMapfv = NULL;
|
|
|
|
|
PFNGLGETNMAPIVPROC glad_glGetnMapiv = NULL;
|
|
|
|
|
PFNGLGETNMINMAXPROC glad_glGetnMinmax = NULL;
|
|
|
|
|
PFNGLGETNPIXELMAPFVPROC glad_glGetnPixelMapfv = NULL;
|
|
|
|
|
PFNGLGETNPIXELMAPUIVPROC glad_glGetnPixelMapuiv = NULL;
|
|
|
|
|
PFNGLGETNPIXELMAPUSVPROC glad_glGetnPixelMapusv = NULL;
|
|
|
|
|
PFNGLGETNPOLYGONSTIPPLEPROC glad_glGetnPolygonStipple = NULL;
|
|
|
|
|
PFNGLGETNSEPARABLEFILTERPROC glad_glGetnSeparableFilter = NULL;
|
|
|
|
|
PFNGLGETNTEXIMAGEPROC glad_glGetnTexImage = NULL;
|
|
|
|
|
PFNGLGETNUNIFORMDVPROC glad_glGetnUniformdv = NULL;
|
|
|
|
|
PFNGLGETNUNIFORMFVPROC glad_glGetnUniformfv = NULL;
|
|
|
|
|
PFNGLGETNUNIFORMIVPROC glad_glGetnUniformiv = NULL;
|
|
|
|
|
PFNGLGETNUNIFORMUIVPROC glad_glGetnUniformuiv = NULL;
|
|
|
|
|
PFNGLHINTPROC glad_glHint = NULL;
|
|
|
|
|
PFNGLINDEXMASKPROC glad_glIndexMask = NULL;
|
|
|
|
|
PFNGLINDEXPOINTERPROC glad_glIndexPointer = NULL;
|
|
|
|
@ -712,14 +593,6 @@ PFNGLINDEXUBPROC glad_glIndexub = NULL;
|
|
|
|
|
PFNGLINDEXUBVPROC glad_glIndexubv = NULL;
|
|
|
|
|
PFNGLINITNAMESPROC glad_glInitNames = NULL;
|
|
|
|
|
PFNGLINTERLEAVEDARRAYSPROC glad_glInterleavedArrays = NULL;
|
|
|
|
|
PFNGLINVALIDATEBUFFERDATAPROC glad_glInvalidateBufferData = NULL;
|
|
|
|
|
PFNGLINVALIDATEBUFFERSUBDATAPROC glad_glInvalidateBufferSubData = NULL;
|
|
|
|
|
PFNGLINVALIDATEFRAMEBUFFERPROC glad_glInvalidateFramebuffer = NULL;
|
|
|
|
|
PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC glad_glInvalidateNamedFramebufferData = NULL;
|
|
|
|
|
PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC glad_glInvalidateNamedFramebufferSubData = NULL;
|
|
|
|
|
PFNGLINVALIDATESUBFRAMEBUFFERPROC glad_glInvalidateSubFramebuffer = NULL;
|
|
|
|
|
PFNGLINVALIDATETEXIMAGEPROC glad_glInvalidateTexImage = NULL;
|
|
|
|
|
PFNGLINVALIDATETEXSUBIMAGEPROC glad_glInvalidateTexSubImage = NULL;
|
|
|
|
|
PFNGLISBUFFERPROC glad_glIsBuffer = NULL;
|
|
|
|
|
PFNGLISENABLEDPROC glad_glIsEnabled = NULL;
|
|
|
|
|
PFNGLISENABLEDIPROC glad_glIsEnabledi = NULL;
|
|
|
|
@ -764,27 +637,19 @@ PFNGLMAPGRID1DPROC glad_glMapGrid1d = NULL;
|
|
|
|
|
PFNGLMAPGRID1FPROC glad_glMapGrid1f = NULL;
|
|
|
|
|
PFNGLMAPGRID2DPROC glad_glMapGrid2d = NULL;
|
|
|
|
|
PFNGLMAPGRID2FPROC glad_glMapGrid2f = NULL;
|
|
|
|
|
PFNGLMAPNAMEDBUFFERPROC glad_glMapNamedBuffer = NULL;
|
|
|
|
|
PFNGLMAPNAMEDBUFFERRANGEPROC glad_glMapNamedBufferRange = NULL;
|
|
|
|
|
PFNGLMATERIALFPROC glad_glMaterialf = NULL;
|
|
|
|
|
PFNGLMATERIALFVPROC glad_glMaterialfv = NULL;
|
|
|
|
|
PFNGLMATERIALIPROC glad_glMateriali = NULL;
|
|
|
|
|
PFNGLMATERIALIVPROC glad_glMaterialiv = NULL;
|
|
|
|
|
PFNGLMATRIXMODEPROC glad_glMatrixMode = NULL;
|
|
|
|
|
PFNGLMEMORYBARRIERPROC glad_glMemoryBarrier = NULL;
|
|
|
|
|
PFNGLMEMORYBARRIERBYREGIONPROC glad_glMemoryBarrierByRegion = NULL;
|
|
|
|
|
PFNGLMINSAMPLESHADINGPROC glad_glMinSampleShading = NULL;
|
|
|
|
|
PFNGLMULTMATRIXDPROC glad_glMultMatrixd = NULL;
|
|
|
|
|
PFNGLMULTMATRIXFPROC glad_glMultMatrixf = NULL;
|
|
|
|
|
PFNGLMULTTRANSPOSEMATRIXDPROC glad_glMultTransposeMatrixd = NULL;
|
|
|
|
|
PFNGLMULTTRANSPOSEMATRIXFPROC glad_glMultTransposeMatrixf = NULL;
|
|
|
|
|
PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays = NULL;
|
|
|
|
|
PFNGLMULTIDRAWARRAYSINDIRECTPROC glad_glMultiDrawArraysIndirect = NULL;
|
|
|
|
|
PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC glad_glMultiDrawArraysIndirectCount = NULL;
|
|
|
|
|
PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements = NULL;
|
|
|
|
|
PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex = NULL;
|
|
|
|
|
PFNGLMULTIDRAWELEMENTSINDIRECTPROC glad_glMultiDrawElementsIndirect = NULL;
|
|
|
|
|
PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC glad_glMultiDrawElementsIndirectCount = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORD1DPROC glad_glMultiTexCoord1d = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORD1DVPROC glad_glMultiTexCoord1dv = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORD1FPROC glad_glMultiTexCoord1f = NULL;
|
|
|
|
@ -825,18 +690,6 @@ PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui = NULL;
|
|
|
|
|
PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv = NULL;
|
|
|
|
|
PFNGLNAMEDBUFFERDATAPROC glad_glNamedBufferData = NULL;
|
|
|
|
|
PFNGLNAMEDBUFFERSTORAGEPROC glad_glNamedBufferStorage = NULL;
|
|
|
|
|
PFNGLNAMEDBUFFERSUBDATAPROC glad_glNamedBufferSubData = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC glad_glNamedFramebufferDrawBuffer = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC glad_glNamedFramebufferDrawBuffers = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC glad_glNamedFramebufferParameteri = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC glad_glNamedFramebufferReadBuffer = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC glad_glNamedFramebufferRenderbuffer = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERTEXTUREPROC glad_glNamedFramebufferTexture = NULL;
|
|
|
|
|
PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC glad_glNamedFramebufferTextureLayer = NULL;
|
|
|
|
|
PFNGLNAMEDRENDERBUFFERSTORAGEPROC glad_glNamedRenderbufferStorage = NULL;
|
|
|
|
|
PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glNamedRenderbufferStorageMultisample = NULL;
|
|
|
|
|
PFNGLNEWLISTPROC glad_glNewList = NULL;
|
|
|
|
|
PFNGLNORMAL3BPROC glad_glNormal3b = NULL;
|
|
|
|
|
PFNGLNORMAL3BVPROC glad_glNormal3bv = NULL;
|
|
|
|
@ -851,8 +704,6 @@ PFNGLNORMAL3SVPROC glad_glNormal3sv = NULL;
|
|
|
|
|
PFNGLNORMALP3UIPROC glad_glNormalP3ui = NULL;
|
|
|
|
|
PFNGLNORMALP3UIVPROC glad_glNormalP3uiv = NULL;
|
|
|
|
|
PFNGLNORMALPOINTERPROC glad_glNormalPointer = NULL;
|
|
|
|
|
PFNGLOBJECTLABELPROC glad_glObjectLabel = NULL;
|
|
|
|
|
PFNGLOBJECTPTRLABELPROC glad_glObjectPtrLabel = NULL;
|
|
|
|
|
PFNGLORTHOPROC glad_glOrtho = NULL;
|
|
|
|
|
PFNGLPASSTHROUGHPROC glad_glPassThrough = NULL;
|
|
|
|
|
PFNGLPATCHPARAMETERFVPROC glad_glPatchParameterfv = NULL;
|
|
|
|
@ -873,11 +724,9 @@ PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv = NULL;
|
|
|
|
|
PFNGLPOINTSIZEPROC glad_glPointSize = NULL;
|
|
|
|
|
PFNGLPOLYGONMODEPROC glad_glPolygonMode = NULL;
|
|
|
|
|
PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset = NULL;
|
|
|
|
|
PFNGLPOLYGONOFFSETCLAMPPROC glad_glPolygonOffsetClamp = NULL;
|
|
|
|
|
PFNGLPOLYGONSTIPPLEPROC glad_glPolygonStipple = NULL;
|
|
|
|
|
PFNGLPOPATTRIBPROC glad_glPopAttrib = NULL;
|
|
|
|
|
PFNGLPOPCLIENTATTRIBPROC glad_glPopClientAttrib = NULL;
|
|
|
|
|
PFNGLPOPDEBUGGROUPPROC glad_glPopDebugGroup = NULL;
|
|
|
|
|
PFNGLPOPMATRIXPROC glad_glPopMatrix = NULL;
|
|
|
|
|
PFNGLPOPNAMEPROC glad_glPopName = NULL;
|
|
|
|
|
PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex = NULL;
|
|
|
|
@ -937,7 +786,6 @@ PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC glad_glProgramUniformMatrix4x3fv = NULL;
|
|
|
|
|
PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex = NULL;
|
|
|
|
|
PFNGLPUSHATTRIBPROC glad_glPushAttrib = NULL;
|
|
|
|
|
PFNGLPUSHCLIENTATTRIBPROC glad_glPushClientAttrib = NULL;
|
|
|
|
|
PFNGLPUSHDEBUGGROUPPROC glad_glPushDebugGroup = NULL;
|
|
|
|
|
PFNGLPUSHMATRIXPROC glad_glPushMatrix = NULL;
|
|
|
|
|
PFNGLPUSHNAMEPROC glad_glPushName = NULL;
|
|
|
|
|
PFNGLQUERYCOUNTERPROC glad_glQueryCounter = NULL;
|
|
|
|
@ -967,7 +815,6 @@ PFNGLRASTERPOS4SPROC glad_glRasterPos4s = NULL;
|
|
|
|
|
PFNGLRASTERPOS4SVPROC glad_glRasterPos4sv = NULL;
|
|
|
|
|
PFNGLREADBUFFERPROC glad_glReadBuffer = NULL;
|
|
|
|
|
PFNGLREADPIXELSPROC glad_glReadPixels = NULL;
|
|
|
|
|
PFNGLREADNPIXELSPROC glad_glReadnPixels = NULL;
|
|
|
|
|
PFNGLRECTDPROC glad_glRectd = NULL;
|
|
|
|
|
PFNGLRECTDVPROC glad_glRectdv = NULL;
|
|
|
|
|
PFNGLRECTFPROC glad_glRectf = NULL;
|
|
|
|
@ -1020,8 +867,6 @@ PFNGLSELECTBUFFERPROC glad_glSelectBuffer = NULL;
|
|
|
|
|
PFNGLSHADEMODELPROC glad_glShadeModel = NULL;
|
|
|
|
|
PFNGLSHADERBINARYPROC glad_glShaderBinary = NULL;
|
|
|
|
|
PFNGLSHADERSOURCEPROC glad_glShaderSource = NULL;
|
|
|
|
|
PFNGLSHADERSTORAGEBLOCKBINDINGPROC glad_glShaderStorageBlockBinding = NULL;
|
|
|
|
|
PFNGLSPECIALIZESHADERPROC glad_glSpecializeShader = NULL;
|
|
|
|
|
PFNGLSTENCILFUNCPROC glad_glStencilFunc = NULL;
|
|
|
|
|
PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate = NULL;
|
|
|
|
|
PFNGLSTENCILMASKPROC glad_glStencilMask = NULL;
|
|
|
|
@ -1029,7 +874,6 @@ PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate = NULL;
|
|
|
|
|
PFNGLSTENCILOPPROC glad_glStencilOp = NULL;
|
|
|
|
|
PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate = NULL;
|
|
|
|
|
PFNGLTEXBUFFERPROC glad_glTexBuffer = NULL;
|
|
|
|
|
PFNGLTEXBUFFERRANGEPROC glad_glTexBufferRange = NULL;
|
|
|
|
|
PFNGLTEXCOORD1DPROC glad_glTexCoord1d = NULL;
|
|
|
|
|
PFNGLTEXCOORD1DVPROC glad_glTexCoord1dv = NULL;
|
|
|
|
|
PFNGLTEXCOORD1FPROC glad_glTexCoord1f = NULL;
|
|
|
|
@ -1092,34 +936,9 @@ PFNGLTEXPARAMETERFPROC glad_glTexParameterf = NULL;
|
|
|
|
|
PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv = NULL;
|
|
|
|
|
PFNGLTEXPARAMETERIPROC glad_glTexParameteri = NULL;
|
|
|
|
|
PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv = NULL;
|
|
|
|
|
PFNGLTEXSTORAGE1DPROC glad_glTexStorage1D = NULL;
|
|
|
|
|
PFNGLTEXSTORAGE2DPROC glad_glTexStorage2D = NULL;
|
|
|
|
|
PFNGLTEXSTORAGE2DMULTISAMPLEPROC glad_glTexStorage2DMultisample = NULL;
|
|
|
|
|
PFNGLTEXSTORAGE3DPROC glad_glTexStorage3D = NULL;
|
|
|
|
|
PFNGLTEXSTORAGE3DMULTISAMPLEPROC glad_glTexStorage3DMultisample = NULL;
|
|
|
|
|
PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D = NULL;
|
|
|
|
|
PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D = NULL;
|
|
|
|
|
PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D = NULL;
|
|
|
|
|
PFNGLTEXTUREBARRIERPROC glad_glTextureBarrier = NULL;
|
|
|
|
|
PFNGLTEXTUREBUFFERPROC glad_glTextureBuffer = NULL;
|
|
|
|
|
PFNGLTEXTUREBUFFERRANGEPROC glad_glTextureBufferRange = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERIIVPROC glad_glTextureParameterIiv = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERIUIVPROC glad_glTextureParameterIuiv = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERFPROC glad_glTextureParameterf = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERFVPROC glad_glTextureParameterfv = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERIPROC glad_glTextureParameteri = NULL;
|
|
|
|
|
PFNGLTEXTUREPARAMETERIVPROC glad_glTextureParameteriv = NULL;
|
|
|
|
|
PFNGLTEXTURESTORAGE1DPROC glad_glTextureStorage1D = NULL;
|
|
|
|
|
PFNGLTEXTURESTORAGE2DPROC glad_glTextureStorage2D = NULL;
|
|
|
|
|
PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC glad_glTextureStorage2DMultisample = NULL;
|
|
|
|
|
PFNGLTEXTURESTORAGE3DPROC glad_glTextureStorage3D = NULL;
|
|
|
|
|
PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC glad_glTextureStorage3DMultisample = NULL;
|
|
|
|
|
PFNGLTEXTURESUBIMAGE1DPROC glad_glTextureSubImage1D = NULL;
|
|
|
|
|
PFNGLTEXTURESUBIMAGE2DPROC glad_glTextureSubImage2D = NULL;
|
|
|
|
|
PFNGLTEXTURESUBIMAGE3DPROC glad_glTextureSubImage3D = NULL;
|
|
|
|
|
PFNGLTEXTUREVIEWPROC glad_glTextureView = NULL;
|
|
|
|
|
PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC glad_glTransformFeedbackBufferBase = NULL;
|
|
|
|
|
PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC glad_glTransformFeedbackBufferRange = NULL;
|
|
|
|
|
PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings = NULL;
|
|
|
|
|
PFNGLTRANSLATEDPROC glad_glTranslated = NULL;
|
|
|
|
|
PFNGLTRANSLATEFPROC glad_glTranslatef = NULL;
|
|
|
|
@ -1176,7 +995,6 @@ PFNGLUNIFORMMATRIX4X3DVPROC glad_glUniformMatrix4x3dv = NULL;
|
|
|
|
|
PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv = NULL;
|
|
|
|
|
PFNGLUNIFORMSUBROUTINESUIVPROC glad_glUniformSubroutinesuiv = NULL;
|
|
|
|
|
PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer = NULL;
|
|
|
|
|
PFNGLUNMAPNAMEDBUFFERPROC glad_glUnmapNamedBuffer = NULL;
|
|
|
|
|
PFNGLUSEPROGRAMPROC glad_glUseProgram = NULL;
|
|
|
|
|
PFNGLUSEPROGRAMSTAGESPROC glad_glUseProgramStages = NULL;
|
|
|
|
|
PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram = NULL;
|
|
|
|
@ -1205,14 +1023,6 @@ PFNGLVERTEX4IPROC glad_glVertex4i = NULL;
|
|
|
|
|
PFNGLVERTEX4IVPROC glad_glVertex4iv = NULL;
|
|
|
|
|
PFNGLVERTEX4SPROC glad_glVertex4s = NULL;
|
|
|
|
|
PFNGLVERTEX4SVPROC glad_glVertex4sv = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYATTRIBBINDINGPROC glad_glVertexArrayAttribBinding = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYATTRIBFORMATPROC glad_glVertexArrayAttribFormat = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYATTRIBIFORMATPROC glad_glVertexArrayAttribIFormat = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYATTRIBLFORMATPROC glad_glVertexArrayAttribLFormat = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYBINDINGDIVISORPROC glad_glVertexArrayBindingDivisor = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYELEMENTBUFFERPROC glad_glVertexArrayElementBuffer = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYVERTEXBUFFERPROC glad_glVertexArrayVertexBuffer = NULL;
|
|
|
|
|
PFNGLVERTEXARRAYVERTEXBUFFERSPROC glad_glVertexArrayVertexBuffers = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f = NULL;
|
|
|
|
@ -1249,9 +1059,7 @@ PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBBINDINGPROC glad_glVertexAttribBinding = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBFORMATPROC glad_glVertexAttribFormat = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui = NULL;
|
|
|
|
@ -1272,7 +1080,6 @@ PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBIFORMATPROC glad_glVertexAttribIFormat = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBL1DPROC glad_glVertexAttribL1d = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBL1DVPROC glad_glVertexAttribL1dv = NULL;
|
|
|
|
@ -1282,7 +1089,6 @@ PFNGLVERTEXATTRIBL3DPROC glad_glVertexAttribL3d = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBL3DVPROC glad_glVertexAttribL3dv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBL4DPROC glad_glVertexAttribL4d = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBL4DVPROC glad_glVertexAttribL4dv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBLFORMATPROC glad_glVertexAttribLFormat = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBLPOINTERPROC glad_glVertexAttribLPointer = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv = NULL;
|
|
|
|
@ -1293,7 +1099,6 @@ PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv = NULL;
|
|
|
|
|
PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer = NULL;
|
|
|
|
|
PFNGLVERTEXBINDINGDIVISORPROC glad_glVertexBindingDivisor = NULL;
|
|
|
|
|
PFNGLVERTEXP2UIPROC glad_glVertexP2ui = NULL;
|
|
|
|
|
PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv = NULL;
|
|
|
|
|
PFNGLVERTEXP3UIPROC glad_glVertexP3ui = NULL;
|
|
|
|
@ -2226,212 +2031,6 @@ static void load_GL_VERSION_4_1(GLADloadproc load) {
|
|
|
|
|
glad_glGetFloati_v = (PFNGLGETFLOATI_VPROC)load("glGetFloati_v");
|
|
|
|
|
glad_glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)load("glGetDoublei_v");
|
|
|
|
|
}
|
|
|
|
|
static void load_GL_VERSION_4_2(GLADloadproc load) {
|
|
|
|
|
if(!GLAD_GL_VERSION_4_2) return;
|
|
|
|
|
glad_glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)load("glDrawArraysInstancedBaseInstance");
|
|
|
|
|
glad_glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)load("glDrawElementsInstancedBaseInstance");
|
|
|
|
|
glad_glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)load("glDrawElementsInstancedBaseVertexBaseInstance");
|
|
|
|
|
glad_glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)load("glGetInternalformativ");
|
|
|
|
|
glad_glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)load("glGetActiveAtomicCounterBufferiv");
|
|
|
|
|
glad_glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)load("glBindImageTexture");
|
|
|
|
|
glad_glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)load("glMemoryBarrier");
|
|
|
|
|
glad_glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)load("glTexStorage1D");
|
|
|
|
|
glad_glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)load("glTexStorage2D");
|
|
|
|
|
glad_glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)load("glTexStorage3D");
|
|
|
|
|
glad_glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)load("glDrawTransformFeedbackInstanced");
|
|
|
|
|
glad_glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)load("glDrawTransformFeedbackStreamInstanced");
|
|
|
|
|
}
|
|
|
|
|
static void load_GL_VERSION_4_3(GLADloadproc load) {
|
|
|
|
|
if(!GLAD_GL_VERSION_4_3) return;
|
|
|
|
|
glad_glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)load("glClearBufferData");
|
|
|
|
|
glad_glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)load("glClearBufferSubData");
|
|
|
|
|
glad_glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)load("glDispatchCompute");
|
|
|
|
|
glad_glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)load("glDispatchComputeIndirect");
|
|
|
|
|
glad_glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)load("glCopyImageSubData");
|
|
|
|
|
glad_glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)load("glFramebufferParameteri");
|
|
|
|
|
glad_glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)load("glGetFramebufferParameteriv");
|
|
|
|
|
glad_glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)load("glGetInternalformati64v");
|
|
|
|
|
glad_glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)load("glInvalidateTexSubImage");
|
|
|
|
|
glad_glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)load("glInvalidateTexImage");
|
|
|
|
|
glad_glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)load("glInvalidateBufferSubData");
|
|
|
|
|
glad_glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)load("glInvalidateBufferData");
|
|
|
|
|
glad_glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)load("glInvalidateFramebuffer");
|
|
|
|
|
glad_glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)load("glInvalidateSubFramebuffer");
|
|
|
|
|
glad_glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)load("glMultiDrawArraysIndirect");
|
|
|
|
|
glad_glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)load("glMultiDrawElementsIndirect");
|
|
|
|
|
glad_glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)load("glGetProgramInterfaceiv");
|
|
|
|
|
glad_glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)load("glGetProgramResourceIndex");
|
|
|
|
|
glad_glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)load("glGetProgramResourceName");
|
|
|
|
|
glad_glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)load("glGetProgramResourceiv");
|
|
|
|
|
glad_glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)load("glGetProgramResourceLocation");
|
|
|
|
|
glad_glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)load("glGetProgramResourceLocationIndex");
|
|
|
|
|
glad_glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)load("glShaderStorageBlockBinding");
|
|
|
|
|
glad_glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)load("glTexBufferRange");
|
|
|
|
|
glad_glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)load("glTexStorage2DMultisample");
|
|
|
|
|
glad_glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)load("glTexStorage3DMultisample");
|
|
|
|
|
glad_glTextureView = (PFNGLTEXTUREVIEWPROC)load("glTextureView");
|
|
|
|
|
glad_glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)load("glBindVertexBuffer");
|
|
|
|
|
glad_glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)load("glVertexAttribFormat");
|
|
|
|
|
glad_glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)load("glVertexAttribIFormat");
|
|
|
|
|
glad_glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)load("glVertexAttribLFormat");
|
|
|
|
|
glad_glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)load("glVertexAttribBinding");
|
|
|
|
|
glad_glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)load("glVertexBindingDivisor");
|
|
|
|
|
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");
|
|
|
|
|
}
|
|
|
|
|
static void load_GL_VERSION_4_4(GLADloadproc load) {
|
|
|
|
|
if(!GLAD_GL_VERSION_4_4) return;
|
|
|
|
|
glad_glBufferStorage = (PFNGLBUFFERSTORAGEPROC)load("glBufferStorage");
|
|
|
|
|
glad_glClearTexImage = (PFNGLCLEARTEXIMAGEPROC)load("glClearTexImage");
|
|
|
|
|
glad_glClearTexSubImage = (PFNGLCLEARTEXSUBIMAGEPROC)load("glClearTexSubImage");
|
|
|
|
|
glad_glBindBuffersBase = (PFNGLBINDBUFFERSBASEPROC)load("glBindBuffersBase");
|
|
|
|
|
glad_glBindBuffersRange = (PFNGLBINDBUFFERSRANGEPROC)load("glBindBuffersRange");
|
|
|
|
|
glad_glBindTextures = (PFNGLBINDTEXTURESPROC)load("glBindTextures");
|
|
|
|
|
glad_glBindSamplers = (PFNGLBINDSAMPLERSPROC)load("glBindSamplers");
|
|
|
|
|
glad_glBindImageTextures = (PFNGLBINDIMAGETEXTURESPROC)load("glBindImageTextures");
|
|
|
|
|
glad_glBindVertexBuffers = (PFNGLBINDVERTEXBUFFERSPROC)load("glBindVertexBuffers");
|
|
|
|
|
}
|
|
|
|
|
static void load_GL_VERSION_4_5(GLADloadproc load) {
|
|
|
|
|
if(!GLAD_GL_VERSION_4_5) return;
|
|
|
|
|
glad_glClipControl = (PFNGLCLIPCONTROLPROC)load("glClipControl");
|
|
|
|
|
glad_glCreateTransformFeedbacks = (PFNGLCREATETRANSFORMFEEDBACKSPROC)load("glCreateTransformFeedbacks");
|
|
|
|
|
glad_glTransformFeedbackBufferBase = (PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC)load("glTransformFeedbackBufferBase");
|
|
|
|
|
glad_glTransformFeedbackBufferRange = (PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC)load("glTransformFeedbackBufferRange");
|
|
|
|
|
glad_glGetTransformFeedbackiv = (PFNGLGETTRANSFORMFEEDBACKIVPROC)load("glGetTransformFeedbackiv");
|
|
|
|
|
glad_glGetTransformFeedbacki_v = (PFNGLGETTRANSFORMFEEDBACKI_VPROC)load("glGetTransformFeedbacki_v");
|
|
|
|
|
glad_glGetTransformFeedbacki64_v = (PFNGLGETTRANSFORMFEEDBACKI64_VPROC)load("glGetTransformFeedbacki64_v");
|
|
|
|
|
glad_glCreateBuffers = (PFNGLCREATEBUFFERSPROC)load("glCreateBuffers");
|
|
|
|
|
glad_glNamedBufferStorage = (PFNGLNAMEDBUFFERSTORAGEPROC)load("glNamedBufferStorage");
|
|
|
|
|
glad_glNamedBufferData = (PFNGLNAMEDBUFFERDATAPROC)load("glNamedBufferData");
|
|
|
|
|
glad_glNamedBufferSubData = (PFNGLNAMEDBUFFERSUBDATAPROC)load("glNamedBufferSubData");
|
|
|
|
|
glad_glCopyNamedBufferSubData = (PFNGLCOPYNAMEDBUFFERSUBDATAPROC)load("glCopyNamedBufferSubData");
|
|
|
|
|
glad_glClearNamedBufferData = (PFNGLCLEARNAMEDBUFFERDATAPROC)load("glClearNamedBufferData");
|
|
|
|
|
glad_glClearNamedBufferSubData = (PFNGLCLEARNAMEDBUFFERSUBDATAPROC)load("glClearNamedBufferSubData");
|
|
|
|
|
glad_glMapNamedBuffer = (PFNGLMAPNAMEDBUFFERPROC)load("glMapNamedBuffer");
|
|
|
|
|
glad_glMapNamedBufferRange = (PFNGLMAPNAMEDBUFFERRANGEPROC)load("glMapNamedBufferRange");
|
|
|
|
|
glad_glUnmapNamedBuffer = (PFNGLUNMAPNAMEDBUFFERPROC)load("glUnmapNamedBuffer");
|
|
|
|
|
glad_glFlushMappedNamedBufferRange = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC)load("glFlushMappedNamedBufferRange");
|
|
|
|
|
glad_glGetNamedBufferParameteriv = (PFNGLGETNAMEDBUFFERPARAMETERIVPROC)load("glGetNamedBufferParameteriv");
|
|
|
|
|
glad_glGetNamedBufferParameteri64v = (PFNGLGETNAMEDBUFFERPARAMETERI64VPROC)load("glGetNamedBufferParameteri64v");
|
|
|
|
|
glad_glGetNamedBufferPointerv = (PFNGLGETNAMEDBUFFERPOINTERVPROC)load("glGetNamedBufferPointerv");
|
|
|
|
|
glad_glGetNamedBufferSubData = (PFNGLGETNAMEDBUFFERSUBDATAPROC)load("glGetNamedBufferSubData");
|
|
|
|
|
glad_glCreateFramebuffers = (PFNGLCREATEFRAMEBUFFERSPROC)load("glCreateFramebuffers");
|
|
|
|
|
glad_glNamedFramebufferRenderbuffer = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC)load("glNamedFramebufferRenderbuffer");
|
|
|
|
|
glad_glNamedFramebufferParameteri = (PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC)load("glNamedFramebufferParameteri");
|
|
|
|
|
glad_glNamedFramebufferTexture = (PFNGLNAMEDFRAMEBUFFERTEXTUREPROC)load("glNamedFramebufferTexture");
|
|
|
|
|
glad_glNamedFramebufferTextureLayer = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC)load("glNamedFramebufferTextureLayer");
|
|
|
|
|
glad_glNamedFramebufferDrawBuffer = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC)load("glNamedFramebufferDrawBuffer");
|
|
|
|
|
glad_glNamedFramebufferDrawBuffers = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC)load("glNamedFramebufferDrawBuffers");
|
|
|
|
|
glad_glNamedFramebufferReadBuffer = (PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC)load("glNamedFramebufferReadBuffer");
|
|
|
|
|
glad_glInvalidateNamedFramebufferData = (PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC)load("glInvalidateNamedFramebufferData");
|
|
|
|
|
glad_glInvalidateNamedFramebufferSubData = (PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC)load("glInvalidateNamedFramebufferSubData");
|
|
|
|
|
glad_glClearNamedFramebufferiv = (PFNGLCLEARNAMEDFRAMEBUFFERIVPROC)load("glClearNamedFramebufferiv");
|
|
|
|
|
glad_glClearNamedFramebufferuiv = (PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC)load("glClearNamedFramebufferuiv");
|
|
|
|
|
glad_glClearNamedFramebufferfv = (PFNGLCLEARNAMEDFRAMEBUFFERFVPROC)load("glClearNamedFramebufferfv");
|
|
|
|
|
glad_glClearNamedFramebufferfi = (PFNGLCLEARNAMEDFRAMEBUFFERFIPROC)load("glClearNamedFramebufferfi");
|
|
|
|
|
glad_glBlitNamedFramebuffer = (PFNGLBLITNAMEDFRAMEBUFFERPROC)load("glBlitNamedFramebuffer");
|
|
|
|
|
glad_glCheckNamedFramebufferStatus = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC)load("glCheckNamedFramebufferStatus");
|
|
|
|
|
glad_glGetNamedFramebufferParameteriv = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC)load("glGetNamedFramebufferParameteriv");
|
|
|
|
|
glad_glGetNamedFramebufferAttachmentParameteriv = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetNamedFramebufferAttachmentParameteriv");
|
|
|
|
|
glad_glCreateRenderbuffers = (PFNGLCREATERENDERBUFFERSPROC)load("glCreateRenderbuffers");
|
|
|
|
|
glad_glNamedRenderbufferStorage = (PFNGLNAMEDRENDERBUFFERSTORAGEPROC)load("glNamedRenderbufferStorage");
|
|
|
|
|
glad_glNamedRenderbufferStorageMultisample = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glNamedRenderbufferStorageMultisample");
|
|
|
|
|
glad_glGetNamedRenderbufferParameteriv = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC)load("glGetNamedRenderbufferParameteriv");
|
|
|
|
|
glad_glCreateTextures = (PFNGLCREATETEXTURESPROC)load("glCreateTextures");
|
|
|
|
|
glad_glTextureBuffer = (PFNGLTEXTUREBUFFERPROC)load("glTextureBuffer");
|
|
|
|
|
glad_glTextureBufferRange = (PFNGLTEXTUREBUFFERRANGEPROC)load("glTextureBufferRange");
|
|
|
|
|
glad_glTextureStorage1D = (PFNGLTEXTURESTORAGE1DPROC)load("glTextureStorage1D");
|
|
|
|
|
glad_glTextureStorage2D = (PFNGLTEXTURESTORAGE2DPROC)load("glTextureStorage2D");
|
|
|
|
|
glad_glTextureStorage3D = (PFNGLTEXTURESTORAGE3DPROC)load("glTextureStorage3D");
|
|
|
|
|
glad_glTextureStorage2DMultisample = (PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC)load("glTextureStorage2DMultisample");
|
|
|
|
|
glad_glTextureStorage3DMultisample = (PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC)load("glTextureStorage3DMultisample");
|
|
|
|
|
glad_glTextureSubImage1D = (PFNGLTEXTURESUBIMAGE1DPROC)load("glTextureSubImage1D");
|
|
|
|
|
glad_glTextureSubImage2D = (PFNGLTEXTURESUBIMAGE2DPROC)load("glTextureSubImage2D");
|
|
|
|
|
glad_glTextureSubImage3D = (PFNGLTEXTURESUBIMAGE3DPROC)load("glTextureSubImage3D");
|
|
|
|
|
glad_glCompressedTextureSubImage1D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC)load("glCompressedTextureSubImage1D");
|
|
|
|
|
glad_glCompressedTextureSubImage2D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC)load("glCompressedTextureSubImage2D");
|
|
|
|
|
glad_glCompressedTextureSubImage3D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC)load("glCompressedTextureSubImage3D");
|
|
|
|
|
glad_glCopyTextureSubImage1D = (PFNGLCOPYTEXTURESUBIMAGE1DPROC)load("glCopyTextureSubImage1D");
|
|
|
|
|
glad_glCopyTextureSubImage2D = (PFNGLCOPYTEXTURESUBIMAGE2DPROC)load("glCopyTextureSubImage2D");
|
|
|
|
|
glad_glCopyTextureSubImage3D = (PFNGLCOPYTEXTURESUBIMAGE3DPROC)load("glCopyTextureSubImage3D");
|
|
|
|
|
glad_glTextureParameterf = (PFNGLTEXTUREPARAMETERFPROC)load("glTextureParameterf");
|
|
|
|
|
glad_glTextureParameterfv = (PFNGLTEXTUREPARAMETERFVPROC)load("glTextureParameterfv");
|
|
|
|
|
glad_glTextureParameteri = (PFNGLTEXTUREPARAMETERIPROC)load("glTextureParameteri");
|
|
|
|
|
glad_glTextureParameterIiv = (PFNGLTEXTUREPARAMETERIIVPROC)load("glTextureParameterIiv");
|
|
|
|
|
glad_glTextureParameterIuiv = (PFNGLTEXTUREPARAMETERIUIVPROC)load("glTextureParameterIuiv");
|
|
|
|
|
glad_glTextureParameteriv = (PFNGLTEXTUREPARAMETERIVPROC)load("glTextureParameteriv");
|
|
|
|
|
glad_glGenerateTextureMipmap = (PFNGLGENERATETEXTUREMIPMAPPROC)load("glGenerateTextureMipmap");
|
|
|
|
|
glad_glBindTextureUnit = (PFNGLBINDTEXTUREUNITPROC)load("glBindTextureUnit");
|
|
|
|
|
glad_glGetTextureImage = (PFNGLGETTEXTUREIMAGEPROC)load("glGetTextureImage");
|
|
|
|
|
glad_glGetCompressedTextureImage = (PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC)load("glGetCompressedTextureImage");
|
|
|
|
|
glad_glGetTextureLevelParameterfv = (PFNGLGETTEXTURELEVELPARAMETERFVPROC)load("glGetTextureLevelParameterfv");
|
|
|
|
|
glad_glGetTextureLevelParameteriv = (PFNGLGETTEXTURELEVELPARAMETERIVPROC)load("glGetTextureLevelParameteriv");
|
|
|
|
|
glad_glGetTextureParameterfv = (PFNGLGETTEXTUREPARAMETERFVPROC)load("glGetTextureParameterfv");
|
|
|
|
|
glad_glGetTextureParameterIiv = (PFNGLGETTEXTUREPARAMETERIIVPROC)load("glGetTextureParameterIiv");
|
|
|
|
|
glad_glGetTextureParameterIuiv = (PFNGLGETTEXTUREPARAMETERIUIVPROC)load("glGetTextureParameterIuiv");
|
|
|
|
|
glad_glGetTextureParameteriv = (PFNGLGETTEXTUREPARAMETERIVPROC)load("glGetTextureParameteriv");
|
|
|
|
|
glad_glCreateVertexArrays = (PFNGLCREATEVERTEXARRAYSPROC)load("glCreateVertexArrays");
|
|
|
|
|
glad_glDisableVertexArrayAttrib = (PFNGLDISABLEVERTEXARRAYATTRIBPROC)load("glDisableVertexArrayAttrib");
|
|
|
|
|
glad_glEnableVertexArrayAttrib = (PFNGLENABLEVERTEXARRAYATTRIBPROC)load("glEnableVertexArrayAttrib");
|
|
|
|
|
glad_glVertexArrayElementBuffer = (PFNGLVERTEXARRAYELEMENTBUFFERPROC)load("glVertexArrayElementBuffer");
|
|
|
|
|
glad_glVertexArrayVertexBuffer = (PFNGLVERTEXARRAYVERTEXBUFFERPROC)load("glVertexArrayVertexBuffer");
|
|
|
|
|
glad_glVertexArrayVertexBuffers = (PFNGLVERTEXARRAYVERTEXBUFFERSPROC)load("glVertexArrayVertexBuffers");
|
|
|
|
|
glad_glVertexArrayAttribBinding = (PFNGLVERTEXARRAYATTRIBBINDINGPROC)load("glVertexArrayAttribBinding");
|
|
|
|
|
glad_glVertexArrayAttribFormat = (PFNGLVERTEXARRAYATTRIBFORMATPROC)load("glVertexArrayAttribFormat");
|
|
|
|
|
glad_glVertexArrayAttribIFormat = (PFNGLVERTEXARRAYATTRIBIFORMATPROC)load("glVertexArrayAttribIFormat");
|
|
|
|
|
glad_glVertexArrayAttribLFormat = (PFNGLVERTEXARRAYATTRIBLFORMATPROC)load("glVertexArrayAttribLFormat");
|
|
|
|
|
glad_glVertexArrayBindingDivisor = (PFNGLVERTEXARRAYBINDINGDIVISORPROC)load("glVertexArrayBindingDivisor");
|
|
|
|
|
glad_glGetVertexArrayiv = (PFNGLGETVERTEXARRAYIVPROC)load("glGetVertexArrayiv");
|
|
|
|
|
glad_glGetVertexArrayIndexediv = (PFNGLGETVERTEXARRAYINDEXEDIVPROC)load("glGetVertexArrayIndexediv");
|
|
|
|
|
glad_glGetVertexArrayIndexed64iv = (PFNGLGETVERTEXARRAYINDEXED64IVPROC)load("glGetVertexArrayIndexed64iv");
|
|
|
|
|
glad_glCreateSamplers = (PFNGLCREATESAMPLERSPROC)load("glCreateSamplers");
|
|
|
|
|
glad_glCreateProgramPipelines = (PFNGLCREATEPROGRAMPIPELINESPROC)load("glCreateProgramPipelines");
|
|
|
|
|
glad_glCreateQueries = (PFNGLCREATEQUERIESPROC)load("glCreateQueries");
|
|
|
|
|
glad_glGetQueryBufferObjecti64v = (PFNGLGETQUERYBUFFEROBJECTI64VPROC)load("glGetQueryBufferObjecti64v");
|
|
|
|
|
glad_glGetQueryBufferObjectiv = (PFNGLGETQUERYBUFFEROBJECTIVPROC)load("glGetQueryBufferObjectiv");
|
|
|
|
|
glad_glGetQueryBufferObjectui64v = (PFNGLGETQUERYBUFFEROBJECTUI64VPROC)load("glGetQueryBufferObjectui64v");
|
|
|
|
|
glad_glGetQueryBufferObjectuiv = (PFNGLGETQUERYBUFFEROBJECTUIVPROC)load("glGetQueryBufferObjectuiv");
|
|
|
|
|
glad_glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)load("glMemoryBarrierByRegion");
|
|
|
|
|
glad_glGetTextureSubImage = (PFNGLGETTEXTURESUBIMAGEPROC)load("glGetTextureSubImage");
|
|
|
|
|
glad_glGetCompressedTextureSubImage = (PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC)load("glGetCompressedTextureSubImage");
|
|
|
|
|
glad_glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)load("glGetGraphicsResetStatus");
|
|
|
|
|
glad_glGetnCompressedTexImage = (PFNGLGETNCOMPRESSEDTEXIMAGEPROC)load("glGetnCompressedTexImage");
|
|
|
|
|
glad_glGetnTexImage = (PFNGLGETNTEXIMAGEPROC)load("glGetnTexImage");
|
|
|
|
|
glad_glGetnUniformdv = (PFNGLGETNUNIFORMDVPROC)load("glGetnUniformdv");
|
|
|
|
|
glad_glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)load("glGetnUniformfv");
|
|
|
|
|
glad_glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)load("glGetnUniformiv");
|
|
|
|
|
glad_glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)load("glGetnUniformuiv");
|
|
|
|
|
glad_glReadnPixels = (PFNGLREADNPIXELSPROC)load("glReadnPixels");
|
|
|
|
|
glad_glGetnMapdv = (PFNGLGETNMAPDVPROC)load("glGetnMapdv");
|
|
|
|
|
glad_glGetnMapfv = (PFNGLGETNMAPFVPROC)load("glGetnMapfv");
|
|
|
|
|
glad_glGetnMapiv = (PFNGLGETNMAPIVPROC)load("glGetnMapiv");
|
|
|
|
|
glad_glGetnPixelMapfv = (PFNGLGETNPIXELMAPFVPROC)load("glGetnPixelMapfv");
|
|
|
|
|
glad_glGetnPixelMapuiv = (PFNGLGETNPIXELMAPUIVPROC)load("glGetnPixelMapuiv");
|
|
|
|
|
glad_glGetnPixelMapusv = (PFNGLGETNPIXELMAPUSVPROC)load("glGetnPixelMapusv");
|
|
|
|
|
glad_glGetnPolygonStipple = (PFNGLGETNPOLYGONSTIPPLEPROC)load("glGetnPolygonStipple");
|
|
|
|
|
glad_glGetnColorTable = (PFNGLGETNCOLORTABLEPROC)load("glGetnColorTable");
|
|
|
|
|
glad_glGetnConvolutionFilter = (PFNGLGETNCONVOLUTIONFILTERPROC)load("glGetnConvolutionFilter");
|
|
|
|
|
glad_glGetnSeparableFilter = (PFNGLGETNSEPARABLEFILTERPROC)load("glGetnSeparableFilter");
|
|
|
|
|
glad_glGetnHistogram = (PFNGLGETNHISTOGRAMPROC)load("glGetnHistogram");
|
|
|
|
|
glad_glGetnMinmax = (PFNGLGETNMINMAXPROC)load("glGetnMinmax");
|
|
|
|
|
glad_glTextureBarrier = (PFNGLTEXTUREBARRIERPROC)load("glTextureBarrier");
|
|
|
|
|
}
|
|
|
|
|
static void load_GL_VERSION_4_6(GLADloadproc load) {
|
|
|
|
|
if(!GLAD_GL_VERSION_4_6) return;
|
|
|
|
|
glad_glSpecializeShader = (PFNGLSPECIALIZESHADERPROC)load("glSpecializeShader");
|
|
|
|
|
glad_glMultiDrawArraysIndirectCount = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC)load("glMultiDrawArraysIndirectCount");
|
|
|
|
|
glad_glMultiDrawElementsIndirectCount = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC)load("glMultiDrawElementsIndirectCount");
|
|
|
|
|
glad_glPolygonOffsetClamp = (PFNGLPOLYGONOFFSETCLAMPPROC)load("glPolygonOffsetClamp");
|
|
|
|
|
}
|
|
|
|
|
static int find_extensionsGL(void) {
|
|
|
|
|
if (!get_exts()) return 0;
|
|
|
|
|
(void)&has_ext;
|
|
|
|
@ -2489,14 +2088,9 @@ static void find_coreGL(void) {
|
|
|
|
|
GLAD_GL_VERSION_3_3 = (major == 3 && minor >= 3) || major > 3;
|
|
|
|
|
GLAD_GL_VERSION_4_0 = (major == 4 && minor >= 0) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_1 = (major == 4 && minor >= 1) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_2 = (major == 4 && minor >= 2) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_3 = (major == 4 && minor >= 3) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_4 = (major == 4 && minor >= 4) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_5 = (major == 4 && minor >= 5) || major > 4;
|
|
|
|
|
GLAD_GL_VERSION_4_6 = (major == 4 && minor >= 6) || major > 4;
|
|
|
|
|
if (GLVersion.major > 4 || (GLVersion.major >= 4 && GLVersion.minor >= 6)) {
|
|
|
|
|
if (GLVersion.major > 4 || (GLVersion.major >= 4 && GLVersion.minor >= 1)) {
|
|
|
|
|
max_loaded_major = 4;
|
|
|
|
|
max_loaded_minor = 6;
|
|
|
|
|
max_loaded_minor = 1;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2520,11 +2114,6 @@ int gladLoadGLLoader(GLADloadproc load) {
|
|
|
|
|
load_GL_VERSION_3_3(load);
|
|
|
|
|
load_GL_VERSION_4_0(load);
|
|
|
|
|
load_GL_VERSION_4_1(load);
|
|
|
|
|
load_GL_VERSION_4_2(load);
|
|
|
|
|
load_GL_VERSION_4_3(load);
|
|
|
|
|
load_GL_VERSION_4_4(load);
|
|
|
|
|
load_GL_VERSION_4_5(load);
|
|
|
|
|
load_GL_VERSION_4_6(load);
|
|
|
|
|
|
|
|
|
|
if (!find_extensionsGL()) return 0;
|
|
|
|
|
return GLVersion.major != 0 || GLVersion.minor != 0;
|
|
|
|
|