[vlc-commits] contrib:d3d11: Add missing D3D11_FEATURE_DATA_THREADING structure
Steve Lhomme
git at videolan.org
Thu May 12 16:31:27 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu May 12 16:12:35 2016 +0200| [b93a0490fc017f53f741c385bdf89202f6cf99fc] | committer: Hugo Beauzée-Luyssen
contrib:d3d11: Add missing D3D11_FEATURE_DATA_THREADING structure
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b93a0490fc017f53f741c385bdf89202f6cf99fc
---
contrib/src/d3d11/processor_format.patch | 8 +++++++-
contrib/src/d3d11/rules.mak | 1 +
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/contrib/src/d3d11/processor_format.patch b/contrib/src/d3d11/processor_format.patch
index 04f98b2..ce7bcfd 100644
--- a/contrib/src/d3d11/processor_format.patch
+++ b/contrib/src/d3d11/processor_format.patch
@@ -1,6 +1,6 @@
--- a/d3d11.idl 2016-02-26 09:21:48.019575300 +0100
+++ b/d3d11.idl 2016-02-26 10:41:58.461027900 +0100
-@@ -3199,6 +3199,12 @@ typedef enum D3D11_CREATE_DEVICE_FLAG {
+@@ -3199,6 +3199,18 @@ typedef enum D3D11_CREATE_DEVICE_FLAG {
D3D11_CREATE_DEVICE_VIDEO_SUPPORT = 0x0800
} D3D11_CREATE_DEVICE_FLAG;
@@ -10,6 +10,12 @@
+ D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT_OUTPUT = 0x00000002,
+} D3D11_VIDEO_PROCESSOR_FORMAT_SUPPORT;
+
++typedef struct D3D11_FEATURE_DATA_THREADING
++{
++ BOOL DriverConcurrentCreates;
++ BOOL DriverCommandLists;
++} D3D11_FEATURE_DATA_THREADING;
++
const UINT D3D11_SDK_VERSION = 7;
cpp_quote("#include <d3d10_1.h>")
diff --git a/contrib/src/d3d11/rules.mak b/contrib/src/d3d11/rules.mak
index f27bbbe..57bff61 100644
--- a/contrib/src/d3d11/rules.mak
+++ b/contrib/src/d3d11/rules.mak
@@ -48,6 +48,7 @@ dxgi12: .sum-d3d11
cp $(TARBALLS)/dxgi1_2.idl $@ && cd $@ && patch -fp1 < ../$(SRC)/d3d11/dxgi12.patch
$(DST_D3D11_H): d3d11
+ (cd $(TARBALLS) && patch -fp1) < $(SRC)/d3d11/processor_format.patch
mkdir -p -- "$(PREFIX)/include/"
$(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $</d3d11.idl
More information about the vlc-commits
mailing list