[VDPAU] [PATCH] Add VDPAU_DRIVER_PATH support

Stephen Warren swarren at nvidia.com
Fri Feb 7 08:37:32 PST 2014


Emil Velikov wrote at Thursday, February 06, 2014 6:57 PM:
> 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.
> 
> v2:
>  - Fix compilation issues.
> 
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
> 
> Hi Aaron,
> 
> I've spent a bit of time pondering on your suggestion to control
> the trace library using the same env variable.
> 
> IMHO this will cause unnecessary complexity considering the
> permutations between driver/tracer locations.
> 
> My initial goal was to ease the use and testing of vdpau backends,
> in order to avoid rebuilding libvdpau. As the trace library is part
> of libvdpau (thus defeating the purpose of the whole exercise) I'm
> planning to stick with my original goal.

Yes, that explanation makes sense to me.

-- 
nvpublic


More information about the VDPAU mailing list