diff options
author | Adam Jackson <[email protected]> | 2016-09-14 14:01:13 -0400 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2016-11-02 14:52:38 -0400 |
commit | 8bca8d89ef3babbecc4f3160cbbcb93d33b7a6ee (patch) | |
tree | b4a0d010600c6a5a17fc0b2815de454165aa69e1 /src/glx/g_glxglvnddispatchindices.h | |
parent | deb0eb1660f612862c77d225582e102e7ab717ee (diff) |
glx/glvnd: Fix dispatch function names and indices
As this array was not actually sorted, FindGLXFunction's binary search
would only sometimes work.
Cc: "13.0" <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Signed-off-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx/g_glxglvnddispatchindices.h')
-rw-r--r-- | src/glx/g_glxglvnddispatchindices.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/glx/g_glxglvnddispatchindices.h b/src/glx/g_glxglvnddispatchindices.h index fd2156e56e1..089165409a0 100644 --- a/src/glx/g_glxglvnddispatchindices.h +++ b/src/glx/g_glxglvnddispatchindices.h @@ -6,16 +6,19 @@ #define __glxlibglvnd_dispatchindex_h__ typedef enum __GLXdispatchIndex { + DI_BindSwapBarrierSGIX, DI_BindTexImageEXT, // ChooseFBConfig implemented by libglvnd DI_ChooseFBConfigSGIX, // ChooseVisual implemented by libglvnd // CopyContext implemented by libglvnd + DI_CopySubBufferMESA, // CreateContext implemented by libglvnd DI_CreateContextAttribsARB, DI_CreateContextWithConfigSGIX, DI_CreateGLXPbufferSGIX, // CreateGLXPixmap implemented by libglvnd + DI_CreateGLXPixmapMESA, DI_CreateGLXPixmapWithConfigSGIX, // CreateNewContext implemented by libglvnd // CreatePbuffer implemented by libglvnd @@ -40,6 +43,7 @@ typedef enum __GLXdispatchIndex { DI_GetFBConfigAttribSGIX, DI_GetFBConfigFromVisualSGIX, // GetFBConfigs implemented by libglvnd + DI_GetMscRateOML, // GetProcAddress implemented by libglvnd // GetProcAddressARB implemented by libglvnd // GetSelectedEvent implemented by libglvnd @@ -47,45 +51,41 @@ typedef enum __GLXdispatchIndex { DI_GetVideoSyncSGI, // GetVisualFromFBConfig implemented by libglvnd DI_GetVisualFromFBConfigSGIX, + DI_GetScreenDriver, + DI_GetSwapIntervalMESA, + DI_GetSyncValuesOML, // ImportContextEXT implemented by libglvnd // IsDirect implemented by libglvnd + DI_JoinSwapGroupSGIX, // MakeContextCurrent implemented by libglvnd // MakeCurrent implemented by libglvnd // QueryContext implemented by libglvnd DI_QueryContextInfoEXT, + DI_QueryCurrentRendererIntegerMESA, + DI_QueryCurrentRendererStringMESA, // QueryDrawable implemented by libglvnd // QueryExtension implemented by libglvnd // QueryExtensionsString implemented by libglvnd DI_QueryGLXPbufferSGIX, + DI_QueryMaxSwapBarriersSGIX, + DI_QueryRendererIntegerMESA, + DI_QueryRendererStringMESA, // QueryServerString implemented by libglvnd // QueryVersion implemented by libglvnd + DI_ReleaseBuffersMESA, DI_ReleaseTexImageEXT, // SelectEvent implemented by libglvnd DI_SelectEventSGIX, // SwapBuffers implemented by libglvnd + DI_SwapBuffersMscOML, + DI_SwapIntervalMESA, DI_SwapIntervalSGI, // UseXFont implemented by libglvnd // WaitGL implemented by libglvnd + DI_WaitForMscOML, + DI_WaitForSbcOML, DI_WaitVideoSyncSGI, // WaitX implemented by libglvnd - DI_glXBindSwapBarrierSGIX, - DI_glXCopySubBufferMESA, - DI_glXCreateGLXPixmapMESA, - DI_glXGetMscRateOML, - DI_glXGetScreenDriver, - DI_glXGetSwapIntervalMESA, - DI_glXGetSyncValuesOML, - DI_glXJoinSwapGroupSGIX, - DI_glXQueryCurrentRendererIntegerMESA, - DI_glXQueryCurrentRendererStringMESA, - DI_glXQueryMaxSwapBarriersSGIX, - DI_glXQueryRendererIntegerMESA, - DI_glXQueryRendererStringMESA, - DI_glXReleaseBuffersMESA, - DI_glXSwapBuffersMscOML, - DI_glXSwapIntervalMESA, - DI_glXWaitForMscOML, - DI_glXWaitForSbcOML, DI_LAST_INDEX } __GLXdispatchIndex; |