[vlc-commits] contrib: dxgi: add missing IDXGIOutput interfaces

Steve Lhomme git at videolan.org
Mon Oct 9 18:51:26 CEST 2017


vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Thu Sep 14 15:04:16 2017 +0200| [38702572d04b515940bfbaabe9c7336b9b20a509] | committer: Jean-Baptiste Kempf

contrib: dxgi: add missing IDXGIOutput interfaces

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38702572d04b515940bfbaabe9c7336b9b20a509
---

 contrib/src/d3d11/dxgi1_4.idl | 15 +++++++++++++++
 contrib/src/d3d11/dxgi1_5.idl | 16 ++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/contrib/src/d3d11/dxgi1_4.idl b/contrib/src/d3d11/dxgi1_4.idl
index ccb2e863f0..9467f3f6b9 100644
--- a/contrib/src/d3d11/dxgi1_4.idl
+++ b/contrib/src/d3d11/dxgi1_4.idl
@@ -92,3 +92,18 @@ interface IDXGIFactory4 : IDXGIFactory3
         [out] void     **ppvAdapter
     );
 }
+
+[
+    object,
+    local,
+    uuid(dc7dca35-2196-414d-9F53-617884032a60)
+]
+interface IDXGIOutput4 : IDXGIOutput3
+{
+    HRESULT CheckOverlayColorSpaceSupport(
+        [in]  DXGI_FORMAT           Format,
+        [in]  DXGI_COLOR_SPACE_TYPE ColorSpace,
+        [in]  IUnknown              *pConcernedDevice,
+        [out] UINT                  *pFlags
+    );
+}
diff --git a/contrib/src/d3d11/dxgi1_5.idl b/contrib/src/d3d11/dxgi1_5.idl
index 67a0868402..47196e166e 100644
--- a/contrib/src/d3d11/dxgi1_5.idl
+++ b/contrib/src/d3d11/dxgi1_5.idl
@@ -49,3 +49,19 @@ interface IDXGISwapChain4 : IDXGISwapChain3
         [in] void* pMetaData
     );
 };
+
+[
+    object,
+    local,
+    uuid(80A07424-AB52-42EB-833C-0C42FD282D98)
+]
+interface IDXGIOutput5 : IDXGIOutput4
+{
+    HRESULT DuplicateOutput1(
+        [in]        IUnknown               *pDevice,
+                    UINT                   Flags,
+        [in]        UINT                   SupportedFormatsCount,
+        [in]  const DXGI_FORMAT            *pSupportedFormats,
+        [out]       IDXGIOutputDuplication **ppOutputDuplication
+    );
+}



More information about the vlc-commits mailing list