From b85321d0573ba581694d2e6be1effafee74c11d1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Jul 2015 15:58:19 +0200 Subject: 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. --- video/d3d.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 video/d3d.h (limited to 'video/d3d.h') diff --git a/video/d3d.h b/video/d3d.h new file mode 100644 index 0000000000..30bee49adc --- /dev/null +++ b/video/d3d.h @@ -0,0 +1,13 @@ +#ifndef MP_D3D_H_ +#define MP_D3D_H_ + +#include + +#include "hwdec.h" + +struct mp_d3d_ctx { + struct mp_hwdec_ctx hwctx; + IDirect3DDevice9 *d3d9_device; +}; + +#endif -- cgit v1.2.3