s/X?GLVendor/x11glvnd/ for consistency
This commit is contained in:
parent
4f1a13cbda
commit
248440f968
|
@ -52,7 +52,7 @@ There are a few good starting points for familiarizing oneself with the code:
|
|||
updated by the API library.
|
||||
- Look at `libglxmapping.c:__glXLookupVendorBy{Name,Screen}()` to see how
|
||||
vendor library names are queried. At the same time, look at
|
||||
x11glvnd{client,server}.c to see how the "GLVendor" extension which
|
||||
x11glvnd{client,server}.c to see how the "x11glvnd" extension which
|
||||
retrieves the appropriate mappings is implemented.
|
||||
|
||||
The tests/ directory contains several unit tests which verify that dispatching
|
||||
|
@ -81,7 +81,7 @@ See the diagram below:
|
|||
│ └─────┬─────┘ │ │ │
|
||||
│ DT_FILTER │ │ │
|
||||
│ ┌─────▾──────────┐ ┌──────▾────────┐ │ ┌──────────┐ │
|
||||
│ │ │ │ │ └─│GLVendor │─┘
|
||||
│ │ │ │ │ └─│x11glvnd │─┘
|
||||
│ │ [mapi/glapi] ◂─▸ │ │extension │
|
||||
│ │ libGLdispatch │ │ libGLX ├─────────────▸──────────┘
|
||||
│ │ │ │ ◂──────────┬─────────────────┐
|
||||
|
@ -104,7 +104,7 @@ In this diagram,
|
|||
libGLX manages loading GLX vendor libraries and dispatching GLX core and
|
||||
extension functions to the right vendor.
|
||||
|
||||
GLVendor is a simple X extension which allows libGLX to determine the number of
|
||||
x11glvnd is a simple X extension which allows libGLX to determine the number of
|
||||
the screen belonging to an arbitrary drawable XID, and also the GL vendor to use
|
||||
for a given screen.
|
||||
|
||||
|
|
|
@ -33,13 +33,13 @@
|
|||
#include <X11/Xlib.h>
|
||||
|
||||
/*
|
||||
* Describes the client-side functions implemented by the XGLVendor extension.
|
||||
* Describes the client-side functions implemented by the x11glvnd extension.
|
||||
* This is a simple extension to query the X server for XID -> screen and screen
|
||||
* -> vendor mappings, used by libGLX. This may eventually be replaced by a
|
||||
* server-side GLX extension which does the same thing.
|
||||
*/
|
||||
|
||||
#define XGLV_EXTENSION_NAME "XGLVendor"
|
||||
#define XGLV_EXTENSION_NAME "x11glvnd"
|
||||
|
||||
/*!
|
||||
* Returns the screen associated with this XID, or -1 if there was an error.
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#define __X11GLVND_PROTO_H__
|
||||
|
||||
/*!
|
||||
* File describing protocol for the XGLVendor extension.
|
||||
* File describing protocol for the x11glvnd extension.
|
||||
*/
|
||||
|
||||
#include "X11/Xmd.h"
|
||||
|
|
Loading…
Reference in a new issue