gsdx ogl: add function pointer to name object

It could be nice to ease debug
This commit is contained in:
Gregory Hainaut 2016-06-07 19:49:48 +02:00
parent 415ce93425
commit ff3d9bd373
3 changed files with 6 additions and 0 deletions

View File

@ -119,6 +119,8 @@ PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup = NUL
PFNGLPOPDEBUGGROUPPROC glPopDebugGroup = NULL;
PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert = NULL;
PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl = NULL;
PFNGLOBJECTLABELPROC glObjectLabel = NULL;
PFNGLOBJECTPTRLABELPROC glObjectPtrLabel = NULL;
// GL4.2
PFNGLBINDIMAGETEXTUREPROC glBindImageTexture = NULL;
PFNGLMEMORYBARRIERPROC glMemoryBarrier = NULL;

View File

@ -290,6 +290,8 @@ extern PFNGLINVALIDATETEXIMAGEPROC glInvalidateTexImage;
extern PFNGLPUSHDEBUGGROUPPROC glPushDebugGroup;
extern PFNGLDEBUGMESSAGEINSERTPROC glDebugMessageInsert;
extern PFNGLDEBUGMESSAGECONTROLPROC glDebugMessageControl;
extern PFNGLOBJECTLABELPROC glObjectLabel;
extern PFNGLOBJECTPTRLABELPROC glObjectPtrLabel;
// GL4.4
extern PFNGLCLEARTEXIMAGEPROC glClearTexImage;
extern PFNGLCLEARTEXSUBIMAGEPROC glClearTexSubImage;

View File

@ -129,6 +129,8 @@ void GSWndGL::PopulateGlFunction()
GL_EXT_LOAD(glDebugMessageInsert);
GL_EXT_LOAD(glDebugMessageControl);
GL_EXT_LOAD(glDebugMessageCallback);
GL_EXT_LOAD(glObjectLabel);
GL_EXT_LOAD(glObjectPtrLabel);
// GL4.4
GL_EXT_LOAD_OPT(glClearTexImage);
GL_EXT_LOAD_OPT(glClearTexSubImage);