summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2016-09-22 21:52:23 -0700
committerwm4 <wm4@nowhere>2016-09-24 17:11:09 +0200
commit343da8d73d02e655f59cfe72448dc68061494c06 (patch)
tree944b52917e0d18584fdb027c0bf62eaa255e8f7b /player
parent441febfcbab2281d80579ded5cb8d9a7f4ca1e94 (diff)
downloadmpv-343da8d73d02e655f59cfe72448dc68061494c06.tar.bz2
mpv-343da8d73d02e655f59cfe72448dc68061494c06.tar.xz
vo_opengl: hwdec_cuda: get the cuda device from the GL context
Obviously, in the vast majority of cases, there's only one device in the system, but doing this means we're more likely to get a usable device in the multi-device case. cuda would support decoding on one device and displaying on another but the peer memory handling is not transparent and I have no way to test it so I can't really write it.
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions