Add fence functions

--HG--
branch : opengl3
hg/feature/opengl3
kaetemi 10 years ago
parent 94bd3b66bb
commit 6ba039c329

@ -170,6 +170,14 @@ PFNGLGETCOMPRESSEDTEXIMAGEPROC nglGetCompressedTexImage;
PFNGLBLENDCOLORPROC nglBlendColor;
PFNGLFENCESYNCPROC nglFenceSync;
PFNGLISSYNCPROC nglIsSync;
PFNGLDELETESYNCPROC nglDeleteSync;
PFNGLCLIENTWAITSYNCPROC nglClientWaitSync;
PFNGLWAITSYNCPROC nglWaitSync;
PFNGLGETINTEGER64VPROC nglGetInteger64v;
PFNGLGETSYNCIVPROC nglGetSynciv;
// GL_ARB_separate_shader_objects
PFNGLUSEPROGRAMSTAGESPROC nglUseProgramStages;
PFNGLACTIVESHADERPROGRAMPROC nglActiveShaderProgram;
@ -465,6 +473,14 @@ static bool setupGLCore(std::vector<const char *> &glext)
CHECK_ADDRESS(PFNGLBLENDCOLORPROC, glBlendColor);
CHECK_ADDRESS(PFNGLFENCESYNCPROC, glFenceSync);
CHECK_ADDRESS(PFNGLISSYNCPROC, glIsSync);
CHECK_ADDRESS(PFNGLDELETESYNCPROC, glDeleteSync);
CHECK_ADDRESS(PFNGLCLIENTWAITSYNCPROC, glClientWaitSync);
CHECK_ADDRESS(PFNGLWAITSYNCPROC, glWaitSync);
CHECK_ADDRESS(PFNGLGETINTEGER64VPROC, glGetInteger64v);
CHECK_ADDRESS(PFNGLGETSYNCIVPROC, glGetSynciv);
return true;
}

@ -256,6 +256,14 @@ extern PFNGLGETCOMPRESSEDTEXIMAGEPROC nglGetCompressedTexImage;
extern PFNGLBLENDCOLORPROC nglBlendColor;
extern PFNGLFENCESYNCPROC nglFenceSync;
extern PFNGLISSYNCPROC nglIsSync;
extern PFNGLDELETESYNCPROC nglDeleteSync;
extern PFNGLCLIENTWAITSYNCPROC nglClientWaitSync;
extern PFNGLWAITSYNCPROC nglWaitSync;
extern PFNGLGETINTEGER64VPROC nglGetInteger64v;
extern PFNGLGETSYNCIVPROC nglGetSynciv;
// GL_ARB_separate_shader_objects
extern PFNGLUSEPROGRAMSTAGESPROC nglUseProgramStages;
extern PFNGLACTIVESHADERPROGRAMPROC nglActiveShaderProgram;

Loading…
Cancel
Save