summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-03-10 13:12:30 -0700
committerAaron Plattner <aplattner@nvidia.com>2014-05-31 13:25:56 -0700
commitee9491a1216f47e10cbb551391a01c7fcde940d2 (patch)
tree79e05ae02a4a44b40eab1bb0b3a96ae523eeef3f /include
parent186195b1a84f2517205522e7ab8e0f62ad61c329 (diff)
Add VDPAU_DRIVER_PATH support
Allow the user to specify the location of the backend driver, via the VDPAU_DRIVER_PATH environment variable. This allows easier testing of VDPAU backends without the need to rebuild libvdpau. Inspired by LIBGL_DRIVERS_PATH from mesa. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/vdpau/vdpau_x11.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vdpau/vdpau_x11.h b/include/vdpau/vdpau_x11.h
index ae5a377..1aa66fe 100644
--- a/include/vdpau/vdpau_x11.h
+++ b/include/vdpau/vdpau_x11.h
@@ -81,6 +81,8 @@ extern "C" {
* - \c /usr/lib/vdpau/libvdpau_nvidia.so.1
* - \c /usr/lib/vdpau/libvdpau_intel.so.1
* - \c /usr/lib/vdpau/libvdpau_ati.so.1
+ * The library path can be overridden by the VDPAU_DRIVER_PATH
+ * environment variable.
*
* The VDPAU wrapper library implements just one function; \ref
* vdp_device_create_x11. The wrapper will implement this function