Commit aa95c58
committed
change the try order of DRI2 and DRI3
try DRI2 firstly, if suecess, it could detect driver name ,
also could use vaPutSurfaces.
if failed , try DRI3, it only support driver name detection
could not use vaPutSurfaces.
if there are both DRI2 and DRI3
it could ensure vaPutSurfaces work
Signed-off-by: Carl Zhang <carl.zhang@intel.com>1 parent f3752ec commit aa95c58
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
81 | 82 | | |
82 | | - | |
83 | | - | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
| |||
0 commit comments