Commit 753e1757 authored by Aaron Plattner's avatar Aaron Plattner
Browse files

vdpau_x11.h: update stale comment about how libvdpau finds drivers



When this comment was written, it wasn't clear how the library was going to
figure out which back-end driver to load.  Since then, the wrapper has been
updated to make DRI2 that "VDPAU-specific X extension."
Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
Reviewed-by: default avatarJosé Hiram Soltren <jsoltren@nvidia.com>
parent 2eac8876
......@@ -85,13 +85,13 @@ extern "C" {
* environment variable.
*
* The VDPAU wrapper library implements just one function; \ref
* vdp_device_create_x11. The wrapper will implement this function
* by dynamically loading the appropriate back-end driver file
* mentioned above. Long-term, the wrapper will use a
* VDPAU-specific X extension to determine which back-end driver
* to load. Currently, the wrapper library hard-codes the driver
* name as "nvidia", although this can be overridden using the
* environment variable VDPAU_DRIVER.
* vdp_device_create_x11. The wrapper implements this function by
* dynamically loading the appropriate back-end driver file mentioned
* above. When available, the wrapper uses the DRI2 extension's
* DRI2Connect request with the driver type 'DRI2DriverVDPAU' to
* determine which back-end driver to load. If that fails, the wrapper
* library hard-codes the driver name as "nvidia", although this can
* be overridden using the environment variable VDPAU_DRIVER.
*
* The back-end driver is expected to implement a function named
* \b vdp_imp_device_create_x11. The wrapper will call this function to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment