diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2019-05-17 08:39:50 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2019-05-17 08:39:50 -0700 |
commit | 29a8baa031a87ef44d1e5320ecec5015d26fd385 (patch) | |
tree | 03a49ad4895efcf7e65023655609f0ea2efa2e95 /include | |
parent | 2aec5c3c812ffe4a85b5e62452b244819a812dd6 (diff) | |
parent | 56c0a71fdd94a008e5d746261f70a713c4767f93 (diff) |
Merge commit 'refs/merge-requests/194/head' of gitlab.freedesktop.org:xorg/xserver
Diffstat (limited to 'include')
-rw-r--r-- | include/glxvndabi.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/glxvndabi.h b/include/glxvndabi.h index b78306d23..71f36e722 100644 --- a/include/glxvndabi.h +++ b/include/glxvndabi.h @@ -75,7 +75,7 @@ * will still work. */ #define GLXSERVER_VENDOR_ABI_MAJOR_VERSION 0 -#define GLXSERVER_VENDOR_ABI_MINOR_VERSION 0 +#define GLXSERVER_VENDOR_ABI_MINOR_VERSION 1 #if defined(__cplusplus) extern "C" { @@ -236,6 +236,17 @@ typedef struct GlxServerExportsRec { * \param client The client. */ int (* forwardRequest) (GlxServerVendor *vendor, ClientPtr client); + + /** + * Sets the vendor library to use for a screen for a specific client. + * + * This function changes which vendor should handle GLX requests for a + * screen. Unlike \c setScreenVendor, this function can be called at any + * time, and only applies to requests from a single client. + * + * This function is available in GLXVND version 0.1 or later. + */ + Bool (* setClientScreenVendor) (ClientPtr client, ScreenPtr screen, GlxServerVendor *vendor); } GlxServerExports; extern _X_EXPORT const GlxServerExports glxServer; |