summaryrefslogtreecommitdiff
path: root/src/uxa
diff options
context:
space:
mode:
authorAdel Gadllah <adel.gadllah@gmail.com>2015-01-19 21:43:46 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-01-19 21:09:46 +0000
commit986c6977c31a6e33ae4a79969b80a5dcfb15b704 (patch)
tree8055622c06dc138f4a9c4669798a6181f487621e /src/uxa
parent77f9e30007561c9635e5bb21b0047c8ed4dcc005 (diff)
Set the vdpau driver to va_gl
This at least works when the wrapper is installed, there is no i9xx vdpau driver. This should for example improve flash which only supports vdpau. The expectation is that most software will use vaapi in preference for -intel, for example kodi which supports both vdpau and vaapi video acceleration methods. [A quick discussion with Peter Frühberger clarified that kodi should indeed continue to work fine and will not be confused if we expose an actual vdpau driver.]
Diffstat (limited to 'src/uxa')
-rw-r--r--src/uxa/intel_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel_dri.c b/src/uxa/intel_dri.c
index f61c6210..e9f31744 100644
--- a/src/uxa/intel_dri.c
+++ b/src/uxa/intel_dri.c
@@ -1544,7 +1544,7 @@ Bool I830DRI2ScreenInit(ScreenPtr screen)
info.numDrivers = 2;
info.driverNames = driverNames;
driverNames[0] = info.driverName;
- driverNames[1] = info.driverName;
+ driverNames[1] = "va_gl";
#endif
return DRI2ScreenInit(screen, &info);