Add a few more extensions we support, and some more we never will

* There are a handful of ARB and EXT extensions left that aren't in either
  the list of supported, or will-never support. These are ones that I want
  to support but haven't written the code for.
This commit is contained in:
baldurk
2014-12-20 19:54:51 +00:00
parent a1e3d80a6d
commit 3be08dbb71
10 changed files with 178 additions and 14 deletions
@@ -167,6 +167,39 @@ void WrappedOpenGL::glDebugMessageInsert(GLenum source, GLenum type, GLuint id,
m_Real.glDebugMessageInsert(source, type, id, severity, length, buf);
}
void WrappedOpenGL::glPushGroupMarkerEXT(GLsizei length, const GLchar *marker)
{
if(m_State == WRITING_CAPFRAME)
{
SCOPED_SERIALISE_CONTEXT(BEGIN_EVENT);
Serialise_glPushDebugGroup(eGL_NONE, 0, length, marker);
m_ContextRecord->AddChunk(scope.Get());
}
}
void WrappedOpenGL::glPopGroupMarkerEXT()
{
if(m_State == WRITING_CAPFRAME)
{
SCOPED_SERIALISE_CONTEXT(END_EVENT);
Serialise_glPopDebugGroup();
m_ContextRecord->AddChunk(scope.Get());
}
}
void WrappedOpenGL::glInsertEventMarkerEXT(GLsizei length, const GLchar *marker)
{
if(m_State == WRITING_CAPFRAME)
{
SCOPED_SERIALISE_CONTEXT(SET_MARKER);
Serialise_glDebugMessageInsert(eGL_NONE, eGL_NONE, 0, eGL_NONE, length, marker);
m_ContextRecord->AddChunk(scope.Get());
}
}
void WrappedOpenGL::glFrameTerminatorGREMEDY()
{
Present(NULL);