summaryrefslogtreecommitdiffstats
path: root/video/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-07-03 15:58:19 +0200
committerwm4 <wm4@nowhere>2015-07-03 16:04:42 +0200
commitb85321d0573ba581694d2e6be1effafee74c11d1 (patch)
treeaabed80d8c8ec801ff358150da9b1ca0b6f615d4 /video/hwdec.h
parentb6dc11810b78953d95a75d745d7327a796f0b462 (diff)
downloadmpv-b85321d0573ba581694d2e6be1effafee74c11d1.tar.bz2
mpv-b85321d0573ba581694d2e6be1effafee74c11d1.tar.xz
vo_direct3d, dxva2: use the same D3D device
Since we still read-back (and don't have hard plans on changing this), this doesn't have much of an advantage.
Diffstat (limited to 'video/hwdec.h')
-rw-r--r--video/hwdec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/hwdec.h b/video/hwdec.h
index b04b7c519b..761b8d699b 100644
--- a/video/hwdec.h
+++ b/video/hwdec.h
@@ -23,6 +23,7 @@ struct mp_hwdec_ctx {
// API-specific, not needed by all backends.
struct mp_vdpau_ctx *vdpau_ctx;
struct mp_vaapi_ctx *vaapi_ctx;
+ struct mp_d3d_ctx *d3d_ctx;
// Optional.
// Allocates a software image from the pool, downloads the hw image from