diff options
author | Kyle Brenneman <[email protected]> | 2016-05-11 14:01:53 -0400 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-30 16:29:49 +0100 |
commit | 22a9e00aab66d3dd6890e9eaac3f429c0ddec17e (patch) | |
tree | cd4568b2381dd25cfa611bc6bc676016d89b6f2f /src/glx/g_glxglvnddispatchindices.h | |
parent | cee459d84de7533d0e0a74a37f7fc4c0f2b77bcf (diff) |
glx: Implement the libglvnd interface.
With reference to the libglvnd branch:
https://cgit.freedesktop.org/mesa/mesa/log/?h=libglvnd
This is a squashed commit containing all of Kyle's commits, all but two
of Emil's commits (to follow), and a small fixup from myself to mark the
rest of the glX* functions as _GLX_PUBLIC so they are not exported when
building for libglvnd. I (ajax) squashed them together both for ease of
review, and because most of the changes are un-useful intermediate
states representing the evolution of glvnd's internal API.
Co-author: Emil Velikov <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Diffstat (limited to 'src/glx/g_glxglvnddispatchindices.h')
-rw-r--r-- | src/glx/g_glxglvnddispatchindices.h | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/src/glx/g_glxglvnddispatchindices.h b/src/glx/g_glxglvnddispatchindices.h new file mode 100644 index 00000000000..fd2156e56e1 --- /dev/null +++ b/src/glx/g_glxglvnddispatchindices.h @@ -0,0 +1,92 @@ +/* + * THIS FILE IS AUTOMATICALLY GENERATED BY gen_scrn_dispatch.pl + * DO NOT EDIT!! + */ +#ifndef __glxlibglvnd_dispatchindex_h__ +#define __glxlibglvnd_dispatchindex_h__ + +typedef enum __GLXdispatchIndex { + DI_BindTexImageEXT, + // ChooseFBConfig implemented by libglvnd + DI_ChooseFBConfigSGIX, + // ChooseVisual implemented by libglvnd + // CopyContext implemented by libglvnd + // CreateContext implemented by libglvnd + DI_CreateContextAttribsARB, + DI_CreateContextWithConfigSGIX, + DI_CreateGLXPbufferSGIX, + // CreateGLXPixmap implemented by libglvnd + DI_CreateGLXPixmapWithConfigSGIX, + // CreateNewContext implemented by libglvnd + // CreatePbuffer implemented by libglvnd + // CreatePixmap implemented by libglvnd + // CreateWindow implemented by libglvnd + // DestroyContext implemented by libglvnd + DI_DestroyGLXPbufferSGIX, + // DestroyGLXPixmap implemented by libglvnd + // DestroyPbuffer implemented by libglvnd + // DestroyPixmap implemented by libglvnd + // DestroyWindow implemented by libglvnd + // FreeContextEXT implemented by libglvnd + // GetClientString implemented by libglvnd + // GetConfig implemented by libglvnd + DI_GetContextIDEXT, + // GetCurrentContext implemented by libglvnd + // GetCurrentDisplay implemented by libglvnd + DI_GetCurrentDisplayEXT, + // GetCurrentDrawable implemented by libglvnd + // GetCurrentReadDrawable implemented by libglvnd + // GetFBConfigAttrib implemented by libglvnd + DI_GetFBConfigAttribSGIX, + DI_GetFBConfigFromVisualSGIX, + // GetFBConfigs implemented by libglvnd + // GetProcAddress implemented by libglvnd + // GetProcAddressARB implemented by libglvnd + // GetSelectedEvent implemented by libglvnd + DI_GetSelectedEventSGIX, + DI_GetVideoSyncSGI, + // GetVisualFromFBConfig implemented by libglvnd + DI_GetVisualFromFBConfigSGIX, + // ImportContextEXT implemented by libglvnd + // IsDirect implemented by libglvnd + // MakeContextCurrent implemented by libglvnd + // MakeCurrent implemented by libglvnd + // QueryContext implemented by libglvnd + DI_QueryContextInfoEXT, + // QueryDrawable implemented by libglvnd + // QueryExtension implemented by libglvnd + // QueryExtensionsString implemented by libglvnd + DI_QueryGLXPbufferSGIX, + // QueryServerString implemented by libglvnd + // QueryVersion implemented by libglvnd + DI_ReleaseTexImageEXT, + // SelectEvent implemented by libglvnd + DI_SelectEventSGIX, + // SwapBuffers implemented by libglvnd + DI_SwapIntervalSGI, + // UseXFont implemented by libglvnd + // WaitGL implemented by libglvnd + 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; + +#endif // __glxlibglvnd_dispatchindex_h__ |