mesa/src/glx/glxglvnd.h
Kyle Brenneman 22a9e00aab 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 <emil.velikov@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2016-05-30 16:29:49 +01:00

14 lines
350 B
C

#ifndef _glx_lib_glvnd_h_
#define _glx_lib_glvnd_h_
typedef struct __GLXapiExportsRec __GLXapiExports;
extern const __GLXapiExports *__glXGLVNDAPIExports;
extern const int DI_FUNCTION_COUNT;
extern const void * const __glXDispatchFunctions[];
extern int __glXDispatchTableIndices[];
extern const char * const __glXDispatchTableStrings[];
#endif