commit f107ff71d72d931033f1be59015a472db841e24d parent 6dc73fb63b4936865256a6d6bdec25097e94a7bb Author: Michael Savage <mikejsavage@gmail.com> Date: Fri Jul 7 21:30:14 +0300 Load EXT_texture_sRGB_decode because OSX doesn't have EXT_texture_sRGB Diffstat:
gl.cc | | | 1 | + |
glad.cc | | | 687 | ++++++++++++++++++++++++++++++++++++++++--------------------------------------- |
glad.h | | | 14 | +++++++++++--- |
scripts/glad.sh | | | 2 | +- |
diff --git a/gl.cc b/gl.cc @@ -170,6 +170,7 @@ GLFWwindow * gl_init( WindowType window_type ) { { "KHR_debug", GLAD_GL_KHR_debug }, { "AMD_debug_output", GLAD_GL_AMD_debug_output }, { "EXT_texture_sRGB", GLAD_GL_EXT_texture_sRGB }, + { "EXT_texture_sRGB_decode", GLAD_GL_EXT_texture_sRGB_decode }, { "EXT_texture_compression_s3tc", GLAD_GL_EXT_texture_compression_s3tc }, }; diff --git a/glad.cc b/glad.cc @@ -1,6 +1,6 @@ /* - OpenGL loader generated by glad 0.1.12a0 on Fri Apr 21 00:07:10 2017. + OpenGL loader generated by glad 0.1.12a0 on Fri Jul 7 21:24:35 2017. Language/Generator: C/C++ Specification: gl @@ -10,15 +10,16 @@ GL_AMD_debug_output, GL_EXT_texture_compression_s3tc, GL_EXT_texture_sRGB, + GL_EXT_texture_sRGB_decode, GL_KHR_debug Loader: True Local files: False Omit khrplatform: True Commandline: - --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --omit-khrplatform --extensions="GL_AMD_debug_output,GL_EXT_texture_compression_s3tc,GL_EXT_texture_sRGB,GL_KHR_debug" + --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --omit-khrplatform --extensions="GL_AMD_debug_output,GL_EXT_texture_compression_s3tc,GL_EXT_texture_sRGB,GL_EXT_texture_sRGB_decode,GL_KHR_debug" Online: - http://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D3.3&extensions=GL_AMD_debug_output&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_sRGB&extensions=GL_KHR_debug + http://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D3.3&extensions=GL_AMD_debug_output&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_sRGB&extensions=GL_EXT_texture_sRGB_decode&extensions=GL_KHR_debug */ #include <stdio.h> @@ -235,384 +236,385 @@ int GLAD_GL_VERSION_3_0; int GLAD_GL_VERSION_3_1; int GLAD_GL_VERSION_3_2; int GLAD_GL_VERSION_3_3; -PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui; +PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v; +PFNGLUNIFORM1UIPROC glad_glUniform1ui; +PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation; +PFNGLDELETEQUERIESPROC glad_glDeleteQueries; PFNGLVERTEXATTRIBI4IVPROC glad_glVertexAttribI4iv; -PFNGLGETINTEGERVPROC glad_glGetIntegerv; -PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus; -PFNGLSTENCILOPPROC glad_glStencilOp; -PFNGLGETINTEGER64VPROC glad_glGetInteger64v; -PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui; -PFNGLUNIFORM2FPROC glad_glUniform2f; -PFNGLUNIFORM1IPROC glad_glUniform1i; +PFNGLHINTPROC glad_glHint; +PFNGLFLUSHPROC glad_glFlush; +PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv; +PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv; +PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv; +PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv; +PFNGLUNIFORM1FPROC glad_glUniform1f; +PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv; +PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange; +PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv; +PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv; +PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv; +PFNGLCLAMPCOLORPROC glad_glClampColor; PFNGLDISABLEIPROC glad_glDisablei; -PFNGLCLEARPROC glad_glClear; -PFNGLGETTEXIMAGEPROC glad_glGetTexImage; -PFNGLNORMALP3UIPROC glad_glNormalP3ui; -PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders; -PFNGLUNIFORM3UIPROC glad_glUniform3ui; -PFNGLBLENDEQUATIONPROC glad_glBlendEquation; -PFNGLBINDBUFFERPROC glad_glBindBuffer; -PFNGLPIXELSTOREFPROC glad_glPixelStoref; -PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv; -PFNGLBLENDCOLORPROC glad_glBlendColor; -PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange; -PFNGLUNIFORM3FVPROC glad_glUniform3fv; -PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers; -PFNGLGETSHADERIVPROC glad_glGetShaderiv; +PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv; +PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers; +PFNGLUNIFORM2UIVPROC glad_glUniform2uiv; +PFNGLPOLYGONMODEPROC glad_glPolygonMode; +PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform; +PFNGLCLEARCOLORPROC glad_glClearColor; +PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv; +PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource; +PFNGLUNIFORM1FVPROC glad_glUniform1fv; +PFNGLISSAMPLERPROC glad_glIsSampler; +PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv; +PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i; +PFNGLLOGICOPPROC glad_glLogicOp; +PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui; +PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D; +PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D; PFNGLTEXPARAMETERIPROC glad_glTexParameteri; -PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate; -PFNGLCOMPILESHADERPROC glad_glCompileShader; +PFNGLENABLEPROC glad_glEnable; +PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements; +PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv; +PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i; +PFNGLUNIFORM2IPROC glad_glUniform2i; +PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f; +PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D; +PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv; +PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v; +PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv; +PFNGLUNIFORM4FPROC glad_glUniform4f; +PFNGLUNIFORM1IPROC glad_glUniform1i; PFNGLCOLORMASKPROC glad_glColorMask; -PFNGLDETACHSHADERPROC glad_glDetachShader; -PFNGLGETUNIFORMIVPROC glad_glGetUniformiv; -PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv; -PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib; -PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer; +PFNGLPOINTPARAMETERIPROC glad_glPointParameteri; PFNGLWAITSYNCPROC glad_glWaitSync; -PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv; -PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv; -PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv; -PFNGLVERTEXATTRIBI4BVPROC glad_glVertexAttribI4bv; -PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation; +PFNGLCHECKFRAMEBUFFERSTATUSPROC glad_glCheckFramebufferStatus; +PFNGLISENABLEDIPROC glad_glIsEnabledi; PFNGLTEXPARAMETERFPROC glad_glTexParameterf; -PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D; -PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage; -PFNGLVERTEXATTRIB4UBVPROC glad_glVertexAttrib4ubv; +PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv; +PFNGLUNIFORM3UIVPROC glad_glUniform3uiv; +PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv; +PFNGLUNIFORM3FVPROC glad_glUniform3fv; +PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate; +PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv; +PFNGLMULTITEXCOORDP2UIPROC glad_glMultiTexCoordP2ui; +PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv; +PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers; PFNGLCREATESHADERPROC glad_glCreateShader; -PFNGLPOLYGONMODEPROC glad_glPolygonMode; +PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D; PFNGLCOMPRESSEDTEXIMAGE1DPROC glad_glCompressedTexImage1D; -PFNGLISSHADERPROC glad_glIsShader; -PFNGLCREATEPROGRAMPROC glad_glCreateProgram; -PFNGLDELETESHADERPROC glad_glDeleteShader; -PFNGLHINTPROC glad_glHint; -PFNGLFRAMEBUFFERTEXTURE1DPROC glad_glFramebufferTexture1D; -PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays; -PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed; -PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv; -PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv; -PFNGLVERTEXP2UIPROC glad_glVertexP2ui; -PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv; +PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s; +PFNGLUNIFORM2FVPROC glad_glUniform2fv; +PFNGLTEXIMAGE3DPROC glad_glTexImage3D; +PFNGLISTEXTUREPROC glad_glIsTexture; +PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv; +PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv; +PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv; +PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate; +PFNGLCULLFACEPROC glad_glCullFace; +PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv; +PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram; +PFNGLGETBOOLEANVPROC glad_glGetBooleanv; +PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv; +PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui; +PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender; +PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer; +PFNGLDELETEPROGRAMPROC glad_glDeleteProgram; +PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D; +PFNGLBUFFERDATAPROC glad_glBufferData; +PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv; PFNGLVERTEXATTRIB3DVPROC glad_glVertexAttrib3dv; -PFNGLUNIFORM4FVPROC glad_glUniform4fv; +PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers; +PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv; +PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv; +PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv; +PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui; +PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s; +PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub; +PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui; +PFNGLBLENDFUNCSEPARATEPROC glad_glBlendFuncSeparate; +PFNGLBINDBUFFERPROC glad_glBindBuffer; +PFNGLLINKPROGRAMPROC glad_glLinkProgram; +PFNGLNORMALP3UIVPROC glad_glNormalP3uiv; +PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s; +PFNGLFRONTFACEPROC glad_glFrontFace; +PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv; +PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation; +PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri; +PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv; +PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers; +PFNGLSHADERSOURCEPROC glad_glShaderSource; +PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv; +PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s; PFNGLCOMPRESSEDTEXIMAGE2DPROC glad_glCompressedTexImage2D; +PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv; +PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv; +PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback; +PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray; +PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv; +PFNGLDEPTHMASKPROC glad_glDepthMask; +PFNGLGETSTRINGIPROC glad_glGetStringi; +PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays; +PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d; +PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData; +PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample; +PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui; +PFNGLGETQUERYIVPROC glad_glGetQueryiv; +PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv; +PFNGLUNIFORM4IVPROC glad_glUniform4iv; PFNGLDRAWARRAYSPROC glad_glDrawArrays; +PFNGLSTENCILOPPROC glad_glStencilOp; +PFNGLGETSHADERIVPROC glad_glGetShaderiv; +PFNGLUNIFORM1UIVPROC glad_glUniform1uiv; +PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv; +PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer; +PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv; +PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv; +PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv; +PFNGLSTENCILMASKPROC glad_glStencilMask; PFNGLPRIMITIVERESTARTINDEXPROC glad_glPrimitiveRestartIndex; -PFNGLPOINTPARAMETERIPROC glad_glPointParameteri; -PFNGLGENQUERIESPROC glad_glGenQueries; -PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D; -PFNGLBINDVERTEXARRAYPROC glad_glBindVertexArray; -PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer; -PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex; -PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv; -PFNGLLOGICOPPROC glad_glLogicOp; -PFNGLUNIFORMMATRIX2X3FVPROC glad_glUniformMatrix2x3fv; -PFNGLGENBUFFERSPROC glad_glGenBuffers; +PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying; PFNGLVERTEXATTRIB3DPROC glad_glVertexAttrib3d; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D; -PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer; -PFNGLGETQUERYIVPROC glad_glGetQueryiv; -PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced; -PFNGLGETSTRINGIPROC glad_glGetStringi; -PFNGLCULLFACEPROC glad_glCullFace; -PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog; +PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui; +PFNGLTEXSUBIMAGE2DPROC glad_glTexSubImage2D; +PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv; PFNGLUNIFORM1IVPROC glad_glUniform1iv; -PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC glad_glGetTransformFeedbackVarying; -PFNGLGETSAMPLERPARAMETERIVPROC glad_glGetSamplerParameteriv; -PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv; -PFNGLCLEARDEPTHPROC glad_glClearDepth; -PFNGLPOINTPARAMETERFPROC glad_glPointParameterf; -PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D; -PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv; -PFNGLCLEARCOLORPROC glad_glClearColor; -PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D; -PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv; -PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex; -PFNGLDRAWRANGEELEMENTSPROC glad_glDrawRangeElements; -PFNGLCOLORP4UIPROC glad_glColorP4ui; -PFNGLCOLORMASKIPROC glad_glColorMaski; -PFNGLVERTEXATTRIB1FPROC glad_glVertexAttrib1f; -PFNGLATTACHSHADERPROC glad_glAttachShader; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange; -PFNGLSTENCILMASKPROC glad_glStencilMask; -PFNGLVERTEXATTRIBI3IVPROC glad_glVertexAttribI3iv; -PFNGLGETSHADERSOURCEPROC glad_glGetShaderSource; -PFNGLUNIFORM4FPROC glad_glUniform4f; -PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i; -PFNGLNORMALP3UIVPROC glad_glNormalP3uiv; -PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv; -PFNGLDEPTHFUNCPROC glad_glDepthFunc; -PFNGLENDQUERYPROC glad_glEndQuery; -PFNGLGETFLOATVPROC glad_glGetFloatv; -PFNGLLINEWIDTHPROC glad_glLineWidth; -PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers; -PFNGLLINKPROGRAMPROC glad_glLinkProgram; -PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv; -PFNGLGETRENDERBUFFERPARAMETERIVPROC glad_glGetRenderbufferParameteriv; PFNGLGETQUERYOBJECTIVPROC glad_glGetQueryObjectiv; +PFNGLGETFRAGDATAINDEXPROC glad_glGetFragDataIndex; +PFNGLISENABLEDPROC glad_glIsEnabled; +PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage; PFNGLSAMPLERPARAMETERIVPROC glad_glSamplerParameteriv; -PFNGLVERTEXATTRIB2SPROC glad_glVertexAttrib2s; -PFNGLDISABLEPROC glad_glDisable; +PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv; +PFNGLCOLORP4UIPROC glad_glColorP4ui; +PFNGLGETATTACHEDSHADERSPROC glad_glGetAttachedShaders; +PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv; +PFNGLDELETESYNCPROC glad_glDeleteSync; +PFNGLUNIFORM3IPROC glad_glUniform3i; +PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender; PFNGLGENTEXTURESPROC glad_glGenTextures; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv; -PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync; -PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv; -PFNGLSAMPLERPARAMETERFVPROC glad_glSamplerParameterfv; -PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui; -PFNGLGENSAMPLERSPROC glad_glGenSamplers; -PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui; -PFNGLUNIFORM3UIVPROC glad_glUniform3uiv; -PFNGLDRAWELEMENTSPROC glad_glDrawElements; -PFNGLDELETEQUERIESPROC glad_glDeleteQueries; -PFNGLUNIFORM2IPROC glad_glUniform2i; -PFNGLGETDOUBLEVPROC glad_glGetDoublev; -PFNGLGETBOOLEANVPROC glad_glGetBooleanv; -PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi; -PFNGLENDTRANSFORMFEEDBACKPROC glad_glEndTransformFeedback; -PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv; -PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv; -PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv; -PFNGLCOPYTEXSUBIMAGE1DPROC glad_glCopyTexSubImage1D; -PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex; -PFNGLCOLORP3UIPROC glad_glColorP3ui; -PFNGLUNIFORMMATRIX4X3FVPROC glad_glUniformMatrix4x3fv; -PFNGLBEGINCONDITIONALRENDERPROC glad_glBeginConditionalRender; +PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv; +PFNGLTEXBUFFERPROC glad_glTexBuffer; +PFNGLVERTEXATTRIBIPOINTERPROC glad_glVertexAttribIPointer; +PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName; +PFNGLUNIFORM3IVPROC glad_glUniform3iv; +PFNGLGENRENDERBUFFERSPROC glad_glGenRenderbuffers; +PFNGLTEXIMAGE2DPROC glad_glTexImage2D; +PFNGLISPROGRAMPROC glad_glIsProgram; +PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i; +PFNGLBINDTEXTUREPROC glad_glBindTexture; +PFNGLCLEARPROC glad_glClear; +PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements; +PFNGLBINDFRAGDATALOCATIONPROC glad_glBindFragDataLocation; +PFNGLGENQUERIESPROC glad_glGenQueries; +PFNGLGETSHADERINFOLOGPROC glad_glGetShaderInfoLog; PFNGLTEXPARAMETERIVPROC glad_glTexParameteriv; -PFNGLVERTEXATTRIB2FVPROC glad_glVertexAttrib2fv; -PFNGLUNIFORM4UIVPROC glad_glUniform4uiv; -PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D; -PFNGLVERTEXATTRIB1SPROC glad_glVertexAttrib1s; -PFNGLUNIFORM1UIVPROC glad_glUniform1uiv; -PFNGLISVERTEXARRAYPROC glad_glIsVertexArray; -PFNGLCLEARSTENCILPROC glad_glClearStencil; -PFNGLISTEXTUREPROC glad_glIsTexture; -PFNGLGETSYNCIVPROC glad_glGetSynciv; -PFNGLGETSTRINGPROC glad_glGetString; -PFNGLUNIFORM2FVPROC glad_glUniform2fv; -PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData; -PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf; -PFNGLCOLORP4UIVPROC glad_glColorP4uiv; -PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding; -PFNGLBLENDFUNCPROC glad_glBlendFunc; -PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv; -PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui; -PFNGLENABLEIPROC glad_glEnablei; -PFNGLUNIFORM4IVPROC glad_glUniform4iv; -PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv; -PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv; -PFNGLMAPBUFFERRANGEPROC glad_glMapBufferRange; -PFNGLDRAWBUFFERSPROC glad_glDrawBuffers; -PFNGLBUFFERDATAPROC glad_glBufferData; -PFNGLBINDFRAMEBUFFERPROC glad_glBindFramebuffer; -PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv; -PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap; -PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv; -PFNGLSHADERSOURCEPROC glad_glShaderSource; +PFNGLUNIFORM4IPROC glad_glUniform4i; +PFNGLGENSAMPLERSPROC glad_glGenSamplers; +PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex; +PFNGLGETTEXIMAGEPROC glad_glGetTexImage; PFNGLGETSAMPLERPARAMETERIUIVPROC glad_glGetSamplerParameterIuiv; -PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv; -PFNGLDRAWBUFFERPROC glad_glDrawBuffer; -PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v; -PFNGLSAMPLECOVERAGEPROC glad_glSampleCoverage; +PFNGLSTENCILMASKSEPARATEPROC glad_glStencilMaskSeparate; +PFNGLVERTEXATTRIBI1IPROC glad_glVertexAttribI1i; +PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex; PFNGLUSEPROGRAMPROC glad_glUseProgram; -PFNGLFRAMEBUFFERRENDERBUFFERPROC glad_glFramebufferRenderbuffer; -PFNGLGETACTIVEUNIFORMPROC glad_glGetActiveUniform; -PFNGLTEXSUBIMAGE3DPROC glad_glTexSubImage3D; -PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui; -PFNGLUNIFORMMATRIX2FVPROC glad_glUniformMatrix2fv; -PFNGLTEXCOORDP3UIPROC glad_glTexCoordP3ui; -PFNGLVERTEXATTRIBI4UBVPROC glad_glVertexAttribI4ubv; -PFNGLDEPTHMASKPROC glad_glDepthMask; -PFNGLGETQUERYOBJECTUI64VPROC glad_glGetQueryObjectui64v; -PFNGLUNIFORM4IPROC glad_glUniform4i; -PFNGLREADBUFFERPROC glad_glReadBuffer; -PFNGLGETBUFFERPOINTERVPROC glad_glGetBufferPointerv; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings; -PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv; -PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv; -PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv; -PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui; -PFNGLTEXIMAGE2DPROC glad_glTexImage2D; -PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v; PFNGLCOMPRESSEDTEXIMAGE3DPROC glad_glCompressedTexImage3D; -PFNGLQUERYCOUNTERPROC glad_glQueryCounter; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex; -PFNGLGENFRAMEBUFFERSPROC glad_glGenFramebuffers; -PFNGLACTIVETEXTUREPROC glad_glActiveTexture; -PFNGLSTENCILOPSEPARATEPROC glad_glStencilOpSeparate; -PFNGLDRAWELEMENTSBASEVERTEXPROC glad_glDrawElementsBaseVertex; -PFNGLGETVERTEXATTRIBIIVPROC glad_glGetVertexAttribIiv; -PFNGLGETQUERYOBJECTUIVPROC glad_glGetQueryObjectuiv; -PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog; -PFNGLENDCONDITIONALRENDERPROC glad_glEndConditionalRender; -PFNGLVERTEXP4UIPROC glad_glVertexP4ui; -PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv; -PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui; -PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture; -PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d; -PFNGLGETACTIVEUNIFORMNAMEPROC glad_glGetActiveUniformName; -PFNGLISSYNCPROC glad_glIsSync; -PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced; -PFNGLGETVERTEXATTRIBFVPROC glad_glGetVertexAttribfv; -PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase; -PFNGLCLAMPCOLORPROC glad_glClampColor; -PFNGLCOPYBUFFERSUBDATAPROC glad_glCopyBufferSubData; -PFNGLGETUNIFORMUIVPROC glad_glGetUniformuiv; -PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor; +PFNGLBINDRENDERBUFFERPROC glad_glBindRenderbuffer; +PFNGLGETACTIVEUNIFORMSIVPROC glad_glGetActiveUniformsiv; +PFNGLCLEARSTENCILPROC glad_glClearStencil; +PFNGLDRAWELEMENTSINSTANCEDPROC glad_glDrawElementsInstanced; +PFNGLDEPTHFUNCPROC glad_glDepthFunc; +PFNGLPROVOKINGVERTEXPROC glad_glProvokingVertex; +PFNGLGETINTEGER64VPROC glad_glGetInteger64v; +PFNGLDELETEVERTEXARRAYSPROC glad_glDeleteVertexArrays; +PFNGLVERTEXATTRIB1SVPROC glad_glVertexAttrib1sv; +PFNGLVERTEXATTRIB3FVPROC glad_glVertexAttrib3fv; +PFNGLTEXCOORDP2UIPROC glad_glTexCoordP2ui; +PFNGLPIXELSTOREIPROC glad_glPixelStorei; +PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC glad_glCompressedTexSubImage2D; PFNGLGETVERTEXATTRIBPOINTERVPROC glad_glGetVertexAttribPointerv; -PFNGLVERTEXATTRIBI4SVPROC glad_glVertexAttribI4sv; -PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample; -PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v; -PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer; -PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv; -PFNGLFENCESYNCPROC glad_glFenceSync; -PFNGLVERTEXATTRIBI2IPROC glad_glVertexAttribI2i; -PFNGLSCISSORPROC glad_glScissor; -PFNGLUNIFORM2IVPROC glad_glUniform2iv; -PFNGLVALIDATEPROGRAMPROC glad_glValidateProgram; -PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv; -PFNGLGETPROGRAMIVPROC glad_glGetProgramiv; -PFNGLDELETEPROGRAMPROC glad_glDeleteProgram; -PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv; -PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex; -PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback; -PFNGLGETUNIFORMFVPROC glad_glGetUniformfv; -PFNGLGETTEXPARAMETERIUIVPROC glad_glGetTexParameterIuiv; -PFNGLUNIFORM4UIPROC glad_glUniform4ui; -PFNGLCOLORP3UIVPROC glad_glColorP3uiv; -PFNGLDELETERENDERBUFFERSPROC glad_glDeleteRenderbuffers; -PFNGLUNIFORM3FPROC glad_glUniform3f; -PFNGLVERTEXATTRIB2DPROC glad_glVertexAttrib2d; -PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv; -PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv; -PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d; -PFNGLTEXIMAGE1DPROC glad_glTexImage1D; -PFNGLENABLEPROC glad_glEnable; -PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC glad_glDrawElementsInstancedBaseVertex; +PFNGLDISABLEPROC glad_glDisable; +PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation; +PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation; +PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv; +PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv; +PFNGLGETMULTISAMPLEFVPROC glad_glGetMultisamplefv; PFNGLVERTEXATTRIBP3UIVPROC glad_glVertexAttribP3uiv; -PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D; -PFNGLDELETESYNCPROC glad_glDeleteSync; -PFNGLVERTEXATTRIBI1UIVPROC glad_glVertexAttribI1uiv; -PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv; -PFNGLGETSAMPLERPARAMETERFVPROC glad_glGetSamplerParameterfv; -PFNGLSAMPLERPARAMETERIPROC glad_glSamplerParameteri; -PFNGLISENABLEDIPROC glad_glIsEnabledi; +PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv; +PFNGLVERTEXATTRIB4NSVPROC glad_glVertexAttrib4Nsv; +PFNGLGETBUFFERPARAMETERIVPROC glad_glGetBufferParameteriv; PFNGLISFRAMEBUFFERPROC glad_glIsFramebuffer; -PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D; -PFNGLVERTEXATTRIB4NIVPROC glad_glVertexAttrib4Niv; -PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer; -PFNGLVERTEXATTRIB4BVPROC glad_glVertexAttrib4bv; -PFNGLGETTEXPARAMETERIIVPROC glad_glGetTexParameterIiv; -PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv; -PFNGLDELETETEXTURESPROC glad_glDeleteTextures; -PFNGLGETTEXPARAMETERIVPROC glad_glGetTexParameteriv; -PFNGLISBUFFERPROC glad_glIsBuffer; +PFNGLQUERYCOUNTERPROC glad_glQueryCounter; +PFNGLCOPYTEXIMAGE2DPROC glad_glCopyTexImage2D; +PFNGLDRAWBUFFERSPROC glad_glDrawBuffers; +PFNGLGETDOUBLEVPROC glad_glGetDoublev; +PFNGLGENBUFFERSPROC glad_glGenBuffers; +PFNGLGETTEXLEVELPARAMETERFVPROC glad_glGetTexLevelParameterfv; +PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray; +PFNGLLINEWIDTHPROC glad_glLineWidth; PFNGLSTENCILFUNCPROC glad_glStencilFunc; -PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset; -PFNGLVERTEXP2UIVPROC glad_glVertexP2uiv; -PFNGLISPROGRAMPROC glad_glIsProgram; -PFNGLDELETEBUFFERSPROC glad_glDeleteBuffers; -PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui; +PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv; +PFNGLUNIFORMBLOCKBINDINGPROC glad_glUniformBlockBinding; +PFNGLBINDBUFFERRANGEPROC glad_glBindBufferRange; +PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv; +PFNGLUNIFORM4UIVPROC glad_glUniform4uiv; PFNGLVERTEXATTRIB3SVPROC glad_glVertexAttrib3sv; -PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays; -PFNGLDELETESAMPLERSPROC glad_glDeleteSamplers; -PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv; -PFNGLGETATTRIBLOCATIONPROC glad_glGetAttribLocation; -PFNGLVIEWPORTPROC glad_glViewport; -PFNGLTEXPARAMETERFVPROC glad_glTexParameterfv; -PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f; -PFNGLSAMPLEMASKIPROC glad_glSampleMaski; -PFNGLUNIFORM1FVPROC glad_glUniform1fv; -PFNGLVERTEXATTRIB4USVPROC glad_glVertexAttrib4usv; -PFNGLUNIFORM2UIPROC glad_glUniform2ui; -PFNGLBINDSAMPLERPROC glad_glBindSampler; -PFNGLGETVERTEXATTRIBIVPROC glad_glGetVertexAttribiv; +PFNGLCOLORP3UIPROC glad_glColorP3ui; PFNGLVERTEXATTRIB3FPROC glad_glVertexAttrib3f; -PFNGLBINDATTRIBLOCATIONPROC glad_glBindAttribLocation; -PFNGLVERTEXATTRIB4NUBPROC glad_glVertexAttrib4Nub; -PFNGLMULTIDRAWELEMENTSPROC glad_glMultiDrawElements; -PFNGLVERTEXATTRIBI1IVPROC glad_glVertexAttribI1iv; -PFNGLPOINTSIZEPROC glad_glPointSize; -PFNGLISSAMPLERPROC glad_glIsSampler; -PFNGLBUFFERSUBDATAPROC glad_glBufferSubData; -PFNGLVERTEXATTRIB4SPROC glad_glVertexAttrib4s; +PFNGLMULTITEXCOORDP3UIPROC glad_glMultiTexCoordP3ui; +PFNGLDRAWBUFFERPROC glad_glDrawBuffer; +PFNGLGETTEXLEVELPARAMETERIVPROC glad_glGetTexLevelParameteriv; +PFNGLBLENDEQUATIONPROC glad_glBlendEquation; +PFNGLVERTEXATTRIB4NUSVPROC glad_glVertexAttrib4Nusv; +PFNGLSAMPLERPARAMETERFPROC glad_glSamplerParameterf; +PFNGLVERTEXATTRIB4IVPROC glad_glVertexAttrib4iv; +PFNGLUNIFORMMATRIX4FVPROC glad_glUniformMatrix4fv; +PFNGLDRAWARRAYSINSTANCEDPROC glad_glDrawArraysInstanced; +PFNGLDRAWELEMENTSPROC glad_glDrawElements; +PFNGLGETUNIFORMBLOCKINDEXPROC glad_glGetUniformBlockIndex; +PFNGLVERTEXP3UIPROC glad_glVertexP3ui; +PFNGLBLENDCOLORPROC glad_glBlendColor; +PFNGLVERTEXATTRIBI3UIVPROC glad_glVertexAttribI3uiv; +PFNGLVERTEXATTRIBP1UIVPROC glad_glVertexAttribP1uiv; +PFNGLFRAMEBUFFERTEXTURE3DPROC glad_glFramebufferTexture3D; +PFNGLBINDSAMPLERPROC glad_glBindSampler; PFNGLVERTEXATTRIBI1UIPROC glad_glVertexAttribI1ui; -PFNGLCLEARBUFFERFVPROC glad_glClearBufferfv; -PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv; -PFNGLSECONDARYCOLORP3UIPROC glad_glSecondaryColorP3ui; -PFNGLFINISHPROC glad_glFinish; -PFNGLSTENCILFUNCSEPARATEPROC glad_glStencilFuncSeparate; -PFNGLCOPYTEXSUBIMAGE2DPROC glad_glCopyTexSubImage2D; -PFNGLUNIFORM3IVPROC glad_glUniform3iv; +PFNGLGETPROGRAMIVPROC glad_glGetProgramiv; +PFNGLVERTEXATTRIBI4USVPROC glad_glVertexAttribI4usv; +PFNGLCREATEPROGRAMPROC glad_glCreateProgram; +PFNGLISVERTEXARRAYPROC glad_glIsVertexArray; +PFNGLUNIFORMMATRIX3X4FVPROC glad_glUniformMatrix3x4fv; +PFNGLGETPROGRAMINFOLOGPROC glad_glGetProgramInfoLog; +PFNGLVERTEXATTRIB4SVPROC glad_glVertexAttrib4sv; +PFNGLUNIFORM4UIPROC glad_glUniform4ui; +PFNGLENDQUERYPROC glad_glEndQuery; +PFNGLTEXCOORDP3UIVPROC glad_glTexCoordP3uiv; +PFNGLTEXPARAMETERIUIVPROC glad_glTexParameterIuiv; +PFNGLPIXELSTOREFPROC glad_glPixelStoref; +PFNGLGETUNIFORMINDICESPROC glad_glGetUniformIndices; +PFNGLSAMPLEMASKIPROC glad_glSampleMaski; +PFNGLUNIFORM2FPROC glad_glUniform2f; +PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D; +PFNGLGETQUERYOBJECTI64VPROC glad_glGetQueryObjecti64v; +PFNGLVERTEXP2UIPROC glad_glVertexP2ui; +PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv; +PFNGLGETUNIFORMFVPROC glad_glGetUniformfv; +PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer; PFNGLVERTEXATTRIB4FPROC glad_glVertexAttrib4f; +PFNGLVERTEXP4UIVPROC glad_glVertexP4uiv; +PFNGLPOINTPARAMETERFPROC glad_glPointParameterf; +PFNGLBINDFRAGDATALOCATIONINDEXEDPROC glad_glBindFragDataLocationIndexed; +PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv; +PFNGLBLENDFUNCPROC glad_glBlendFunc; +PFNGLISBUFFERPROC glad_glIsBuffer; +PFNGLFINISHPROC glad_glFinish; +PFNGLGETUNIFORMIVPROC glad_glGetUniformiv; +PFNGLBEGINTRANSFORMFEEDBACKPROC glad_glBeginTransformFeedback; +PFNGLISSHADERPROC glad_glIsShader; +PFNGLUNIFORM3FPROC glad_glUniform3f; +PFNGLPOINTPARAMETERIVPROC glad_glPointParameteriv; +PFNGLVERTEXATTRIB2DVPROC glad_glVertexAttrib2dv; +PFNGLGETFLOATVPROC glad_glGetFloatv; +PFNGLUNIFORM3UIPROC glad_glUniform3ui; +PFNGLFLUSHMAPPEDBUFFERRANGEPROC glad_glFlushMappedBufferRange; +PFNGLFRAMEBUFFERTEXTUREPROC glad_glFramebufferTexture; +PFNGLDETACHSHADERPROC glad_glDetachShader; +PFNGLTEXCOORDP2UIVPROC glad_glTexCoordP2uiv; +PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv; +PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v; PFNGLVERTEXATTRIB4DVPROC glad_glVertexAttrib4dv; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv; -PFNGLUNIFORM2UIVPROC glad_glUniform2uiv; -PFNGLCLEARBUFFERUIVPROC glad_glClearBufferuiv; -PFNGLENABLEVERTEXATTRIBARRAYPROC glad_glEnableVertexAttribArray; -PFNGLVERTEXATTRIBI3UIPROC glad_glVertexAttribI3ui; -PFNGLFRAMEBUFFERTEXTURE2DPROC glad_glFramebufferTexture2D; -PFNGLUNIFORMMATRIX2X4FVPROC glad_glUniformMatrix2x4fv; -PFNGLGETUNIFORMLOCATIONPROC glad_glGetUniformLocation; -PFNGLPOINTPARAMETERFVPROC glad_glPointParameterfv; +PFNGLCOLORMASKIPROC glad_glColorMaski; PFNGLGETCOMPRESSEDTEXIMAGEPROC glad_glGetCompressedTexImage; -PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv; -PFNGLGETBUFFERPARAMETERI64VPROC glad_glGetBufferParameteri64v; -PFNGLDEPTHRANGEPROC glad_glDepthRange; -PFNGLGETTEXPARAMETERFVPROC glad_glGetTexParameterfv; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample; -PFNGLTEXCOORDP1UIVPROC glad_glTexCoordP1uiv; +PFNGLNORMALP3UIPROC glad_glNormalP3ui; +PFNGLPOINTSIZEPROC glad_glPointSize; +PFNGLVERTEXATTRIBDIVISORPROC glad_glVertexAttribDivisor; +PFNGLTEXIMAGE3DMULTISAMPLEPROC glad_glTexImage3DMultisample; +PFNGLUNIFORM2IVPROC glad_glUniform2iv; +PFNGLRENDERBUFFERSTORAGEPROC glad_glRenderbufferStorage; +PFNGLVERTEXP4UIPROC glad_glVertexP4ui; +PFNGLVERTEXATTRIB1FVPROC glad_glVertexAttrib1fv; +PFNGLFENCESYNCPROC glad_glFenceSync; +PFNGLGETVERTEXATTRIBDVPROC glad_glGetVertexAttribdv; +PFNGLGETVERTEXATTRIBIUIVPROC glad_glGetVertexAttribIuiv; +PFNGLGETINTEGER64I_VPROC glad_glGetInteger64i_v; +PFNGLTEXIMAGE1DPROC glad_glTexImage1D; +PFNGLVERTEXATTRIBI2UIVPROC glad_glVertexAttribI2uiv; +PFNGLISQUERYPROC glad_glIsQuery; +PFNGLVERTEXATTRIBI2IVPROC glad_glVertexAttribI2iv; +PFNGLCOMPILESHADERPROC glad_glCompileShader; PFNGLDISABLEVERTEXATTRIBARRAYPROC glad_glDisableVertexAttribArray; -PFNGLVERTEXATTRIB4NUBVPROC glad_glVertexAttrib4Nubv; -PFNGLGETFRAGDATALOCATIONPROC glad_glGetFragDataLocation; -PFNGLTEXIMAGE3DPROC glad_glTexImage3D; -PFNGLVERTEXATTRIB4FVPROC glad_glVertexAttrib4fv; -PFNGLVERTEXATTRIBI4UIVPROC glad_glVertexAttribI4uiv; -PFNGLGETERRORPROC glad_glGetError; -PFNGLGENVERTEXARRAYSPROC glad_glGenVertexArrays; -PFNGLVERTEXATTRIB2SVPROC glad_glVertexAttrib2sv; -PFNGLTEXSUBIMAGE1DPROC glad_glTexSubImage1D; -PFNGLGETINTEGERI_VPROC glad_glGetIntegeri_v; -PFNGLVERTEXP3UIPROC glad_glVertexP3ui; -PFNGLISRENDERBUFFERPROC glad_glIsRenderbuffer; -PFNGLVERTEXATTRIBP2UIPROC glad_glVertexAttribP2ui; -PFNGLVERTEXATTRIB3SPROC glad_glVertexAttrib3s; -PFNGLVERTEXATTRIBI4IPROC glad_glVertexAttribI4i; -PFNGLCLEARBUFFERIVPROC glad_glClearBufferiv; -PFNGLVERTEXATTRIBP2UIVPROC glad_glVertexAttribP2uiv; -PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer; +PFNGLBUFFERSUBDATAPROC glad_glBufferSubData; +PFNGLCLEARDEPTHPROC glad_glClearDepth; +PFNGLVERTEXATTRIB1DVPROC glad_glVertexAttrib1dv; +PFNGLBLITFRAMEBUFFERPROC glad_glBlitFramebuffer; +PFNGLGETSTRINGPROC glad_glGetString; +PFNGLVERTEXATTRIBP4UIPROC glad_glVertexAttribP4ui; +PFNGLUNIFORM4FVPROC glad_glUniform4fv; +PFNGLGETBOOLEANI_VPROC glad_glGetBooleani_v; +PFNGLUNIFORMMATRIX3X2FVPROC glad_glUniformMatrix3x2fv; +PFNGLUNMAPBUFFERPROC glad_glUnmapBuffer; +PFNGLATTACHSHADERPROC glad_glAttachShader; +PFNGLENABLEIPROC glad_glEnablei; +PFNGLCOLORP4UIVPROC glad_glColorP4uiv; +PFNGLACTIVETEXTUREPROC glad_glActiveTexture; +PFNGLMULTITEXCOORDP1UIVPROC glad_glMultiTexCoordP1uiv; PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC glad_glGetActiveUniformBlockName; -PFNGLMULTITEXCOORDP4UIVPROC glad_glMultiTexCoordP4uiv; -PFNGLTEXPARAMETERIIVPROC glad_glTexParameterIiv; -PFNGLUNIFORM3IPROC glad_glUniform3i; -PFNGLTEXBUFFERPROC glad_glTexBuffer; +PFNGLDELETEFRAMEBUFFERSPROC glad_glDeleteFramebuffers; +PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC glad_glCompressedTexSubImage3D; +PFNGLVERTEXP3UIVPROC glad_glVertexP3uiv; +PFNGLVERTEXATTRIBP3UIPROC glad_glVertexAttribP3ui; +PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC glad_glCompressedTexSubImage1D; +PFNGLVERTEXATTRIBP1UIPROC glad_glVertexAttribP1ui; +PFNGLMULTIDRAWARRAYSPROC glad_glMultiDrawArrays; +PFNGLCOLORP3UIVPROC glad_glColorP3uiv; +PFNGLTEXCOORDP1UIPROC glad_glTexCoordP1ui; +PFNGLREADBUFFERPROC glad_glReadBuffer; +PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC glad_glDrawRangeElementsBaseVertex; +PFNGLBLENDEQUATIONSEPARATEPROC glad_glBlendEquationSeparate; +PFNGLCLEARBUFFERFIPROC glad_glClearBufferfi; +PFNGLTEXCOORDP4UIPROC glad_glTexCoordP4ui; +PFNGLGETSYNCIVPROC glad_glGetSynciv; +PFNGLVERTEXATTRIB2FPROC glad_glVertexAttrib2f; +PFNGLDEPTHRANGEPROC glad_glDepthRange; +PFNGLCOPYTEXIMAGE1DPROC glad_glCopyTexImage1D; +PFNGLGENERATEMIPMAPPROC glad_glGenerateMipmap; PFNGLMULTITEXCOORDP4UIPROC glad_glMultiTexCoordP4ui; -PFNGLBINDTEXTUREPROC glad_glBindTexture; -PFNGLSAMPLERPARAMETERIIVPROC glad_glSamplerParameterIiv; PFNGLBEGINQUERYPROC glad_glBeginQuery; +PFNGLCOPYTEXSUBIMAGE3DPROC glad_glCopyTexSubImage3D; +PFNGLUNIFORMMATRIX4X2FVPROC glad_glUniformMatrix4x2fv; +PFNGLTRANSFORMFEEDBACKVARYINGSPROC glad_glTransformFeedbackVaryings; +PFNGLDELETETEXTURESPROC glad_glDeleteTextures; PFNGLMAPBUFFERPROC glad_glMapBuffer; -PFNGLISQUERYPROC glad_glIsQuery; -PFNGLVERTEXATTRIB4NUIVPROC glad_glVertexAttrib4Nuiv; -PFNGLMULTITEXCOORDP2UIVPROC glad_glMultiTexCoordP2uiv; -PFNGLSAMPLERPARAMETERIUIVPROC glad_glSamplerParameterIuiv; -PFNGLFRONTFACEPROC glad_glFrontFace; -PFNGLMULTITEXCOORDP1UIPROC glad_glMultiTexCoordP1ui; -PFNGLMULTITEXCOORDP3UIVPROC glad_glMultiTexCoordP3uiv; +PFNGLSCISSORPROC glad_glScissor; +PFNGLGETSAMPLERPARAMETERIIVPROC glad_glGetSamplerParameterIiv; +PFNGLGETACTIVEATTRIBPROC glad_glGetActiveAttrib; +PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC glad_glRenderbufferStorageMultisample; +PFNGLTEXCOORDP4UIVPROC glad_glTexCoordP4uiv; +PFNGLGETBUFFERSUBDATAPROC glad_glGetBufferSubData; +PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC glad_glMultiDrawElementsBaseVertex; +PFNGLDELETESHADERPROC glad_glDeleteShader; +PFNGLVERTEXATTRIBI2UIPROC glad_glVertexAttribI2ui; +PFNGLGETERRORPROC glad_glGetError; +PFNGLBINDBUFFERBASEPROC glad_glBindBufferBase; +PFNGLPOLYGONOFFSETPROC glad_glPolygonOffset; +PFNGLUNIFORMMATRIX3FVPROC glad_glUniformMatrix3fv; +PFNGLUNIFORM2UIPROC glad_glUniform2ui; +PFNGLISSYNCPROC glad_glIsSync; +PFNGLVERTEXATTRIBPOINTERPROC glad_glVertexAttribPointer; +PFNGLVERTEXATTRIB4NBVPROC glad_glVertexAttrib4Nbv; +PFNGLVERTEXATTRIB1DPROC glad_glVertexAttrib1d; PFNGLREADPIXELSPROC glad_glReadPixels; -PFNGLUNIFORM1UIPROC glad_glUniform1ui; -PFNGLVERTEXATTRIBI3IPROC glad_glVertexAttribI3i; -PFNGLVERTEXATTRIBI4UIPROC glad_glVertexAttribI4ui; -PFNGLFLUSHPROC glad_glFlush; -PFNGLPIXELSTOREIPROC glad_glPixelStorei; -PFNGLUNIFORM1FPROC glad_glUniform1f; -PFNGLTEXIMAGE2DMULTISAMPLEPROC glad_glTexImage2DMultisample; -PFNGLISENABLEDPROC glad_glIsEnabled; -PFNGLVERTEXATTRIB4UIVPROC glad_glVertexAttrib4uiv; +PFNGLFRAMEBUFFERTEXTURELAYERPROC glad_glFramebufferTextureLayer; +PFNGLVERTEXATTRIBP4UIVPROC glad_glVertexAttribP4uiv; +PFNGLVERTEXATTRIB4DPROC glad_glVertexAttrib4d; +PFNGLGETACTIVEUNIFORMBLOCKIVPROC glad_glGetActiveUniformBlockiv; +PFNGLGETINTEGERVPROC glad_glGetIntegerv; +PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glad_glGetFramebufferAttachmentParameteriv; +PFNGLCLIENTWAITSYNCPROC glad_glClientWaitSync; +PFNGLVIEWPORTPROC glad_glViewport; +int GLAD_GL_KHR_debug; int GLAD_GL_AMD_debug_output; -int GLAD_GL_EXT_texture_sRGB; int GLAD_GL_EXT_texture_compression_s3tc; -int GLAD_GL_KHR_debug; +int GLAD_GL_EXT_texture_sRGB_decode; +int GLAD_GL_EXT_texture_sRGB; PFNGLDEBUGMESSAGEENABLEAMDPROC glad_glDebugMessageEnableAMD; PFNGLDEBUGMESSAGEINSERTAMDPROC glad_glDebugMessageInsertAMD; PFNGLDEBUGMESSAGECALLBACKAMDPROC glad_glDebugMessageCallbackAMD; @@ -1089,6 +1091,7 @@ static int find_extensionsGL(void) { GLAD_GL_AMD_debug_output = has_ext("GL_AMD_debug_output"); GLAD_GL_EXT_texture_compression_s3tc = has_ext("GL_EXT_texture_compression_s3tc"); GLAD_GL_EXT_texture_sRGB = has_ext("GL_EXT_texture_sRGB"); + GLAD_GL_EXT_texture_sRGB_decode = has_ext("GL_EXT_texture_sRGB_decode"); GLAD_GL_KHR_debug = has_ext("GL_KHR_debug"); free_exts(); return 1; diff --git a/glad.h b/glad.h @@ -1,6 +1,6 @@ /* - OpenGL loader generated by glad 0.1.12a0 on Fri Apr 21 00:07:10 2017. + OpenGL loader generated by glad 0.1.12a0 on Fri Jul 7 21:24:35 2017. Language/Generator: C/C++ Specification: gl @@ -10,15 +10,16 @@ GL_AMD_debug_output, GL_EXT_texture_compression_s3tc, GL_EXT_texture_sRGB, + GL_EXT_texture_sRGB_decode, GL_KHR_debug Loader: True Local files: False Omit khrplatform: True Commandline: - --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --omit-khrplatform --extensions="GL_AMD_debug_output,GL_EXT_texture_compression_s3tc,GL_EXT_texture_sRGB,GL_KHR_debug" + --profile="core" --api="gl=3.3" --generator="c" --spec="gl" --omit-khrplatform --extensions="GL_AMD_debug_output,GL_EXT_texture_compression_s3tc,GL_EXT_texture_sRGB,GL_EXT_texture_sRGB_decode,GL_KHR_debug" Online: - http://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D3.3&extensions=GL_AMD_debug_output&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_sRGB&extensions=GL_KHR_debug + http://glad.dav1d.de/#profile=core&language=c&specification=gl&loader=on&api=gl%3D3.3&extensions=GL_AMD_debug_output&extensions=GL_EXT_texture_compression_s3tc&extensions=GL_EXT_texture_sRGB&extensions=GL_EXT_texture_sRGB_decode&extensions=GL_KHR_debug */ @@ -2190,6 +2191,9 @@ GLAPI PFNGLSECONDARYCOLORP3UIVPROC glad_glSecondaryColorP3uiv; #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F +#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 +#define GL_DECODE_EXT 0x8A49 +#define GL_SKIP_DECODE_EXT 0x8A4A #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 @@ -2295,6 +2299,10 @@ GLAPI int GLAD_GL_EXT_texture_compression_s3tc; #define GL_EXT_texture_sRGB 1 GLAPI int GLAD_GL_EXT_texture_sRGB; #endif +#ifndef GL_EXT_texture_sRGB_decode +#define GL_EXT_texture_sRGB_decode 1 +GLAPI int GLAD_GL_EXT_texture_sRGB_decode; +#endif #ifndef GL_KHR_debug #define GL_KHR_debug 1 GLAPI int GLAD_GL_KHR_debug; diff --git a/scripts/glad.sh b/scripts/glad.sh @@ -4,7 +4,7 @@ set -e cd libs/glad python -m glad --profile=core --api=gl=3.3 --generator=c --spec=gl --out-path gladout --omit-khrplatform \ - --extensions GL_KHR_debug,GL_AMD_debug_output,GL_EXT_texture_sRGB,GL_EXT_texture_compression_s3tc + --extensions GL_KHR_debug,GL_AMD_debug_output,GL_EXT_texture_sRGB,GL_EXT_texture_sRGB_decode,GL_EXT_texture_compression_s3tc mv gladout/src/glad.c ../../glad.cc mv gladout/include/glad/glad.h ../../glad.h rm -r gladout