[vlc-devel] [PATCH 1/2] contrib: dxgi: add IDXGIFactory4

Steve Lhomme robux4 at videolabs.io
Thu Sep 14 15:03:48 CEST 2017


---
 contrib/src/d3d11/dxgi1_4.idl | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/contrib/src/d3d11/dxgi1_4.idl b/contrib/src/d3d11/dxgi1_4.idl
index 1a8e508d69..ccb2e863f0 100644
--- a/contrib/src/d3d11/dxgi1_4.idl
+++ b/contrib/src/d3d11/dxgi1_4.idl
@@ -74,3 +74,21 @@ typedef enum DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG
     DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_PRESENT         = 0x01,
     DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG_OVERLAY_PRESENT = 0x02,
 } DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG;
+
+[
+    object,
+    local,
+    uuid(1bc6ea02-ef36-464f-bf0c-21ca39e5168a)
+]
+interface IDXGIFactory4 : IDXGIFactory3
+{
+    HRESULT EnumAdapterByLuid(
+        [in]  LUID     AdapterLuid,
+        [in]  REFIID   riid,
+        [out] void     **ppvAdapter
+    );
+    HRESULT EnumWarpAdapter(
+        [in]  REFIID   riid,
+        [out] void     **ppvAdapter
+    );
+}
-- 
2.12.1



More information about the vlc-devel mailing list