summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Brenneman <kbrenneman@nvidia.com>2015-06-29 13:38:27 -0600
committerKyle Brenneman <kbrenneman@nvidia.com>2015-06-29 16:47:50 -0600
commit656fe83f00f44a830a1c7c022baa2df5d1b34ce9 (patch)
tree478b7eceeeeb6c71323c58e6d498f0d7a334dc52
parentc7f6bf974cafc8b713f641fc470812fd9df4a10a (diff)
libGLX: Change the fallback vendor name to "indirect".
The only place where the fallback vendor library should ever be used is with indirect rendering, so "indirect" is a more appropriate name. In addition, we'll hopefully have a dedicated vendor library for indirect rendering at some point, instead of having to use another vendor library.
-rw-r--r--src/GLX/libglxmapping.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/GLX/libglxmapping.c b/src/GLX/libglxmapping.c
index 2df1b76..ca1b96d 100644
--- a/src/GLX/libglxmapping.c
+++ b/src/GLX/libglxmapping.c
@@ -52,10 +52,18 @@
#if !defined(FALLBACK_VENDOR_NAME)
/*!
* This is the vendor name that we'll use as a fallback if we can't otherwise
- * find one. This will be used, for example, if the server doesn't support
- * the x11glvnd extension.
+ * find one.
+ *
+ * The only place where this should happen is if the display connection is to a
+ * remote X server, which might not support the x11glvnd extension, or might
+ * specify a vendor library that's not available to the client. In that case,
+ * only indirect rendering will be possible.
+ *
+ * Eventually, libglvnd should have a dedicated vendor library for indirect
+ * rendering, independent of any hardware vendor. Until then, this will
+ * typically be a symlink to an existing vendor library.
*/
-#define FALLBACK_VENDOR_NAME "default"
+#define FALLBACK_VENDOR_NAME "indirect"
#endif
/*