Biswapriyo Nath : include/d3d10sdklayers.idl: Add D3D10Debug interface.

Alexandre Julliard julliard at winehq.org
Wed Aug 26 15:24:45 CDT 2020


Module: wine
Branch: master
Commit: e9ec3560d4604f7e7d282b9a5cdbdec4b7880583
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=e9ec3560d4604f7e7d282b9a5cdbdec4b7880583

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Wed Aug 26 00:11:57 2020 +0530

include/d3d10sdklayers.idl: Add D3D10Debug interface.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/d3d10sdklayers.idl | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/include/d3d10sdklayers.idl b/include/d3d10sdklayers.idl
index c6606d2fd6..b5b0d031ae 100644
--- a/include/d3d10sdklayers.idl
+++ b/include/d3d10sdklayers.idl
@@ -24,6 +24,10 @@ cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
 cpp_quote("#undef GetMessage")
 cpp_quote("#endif")
 
+const UINT D3D10_DEBUG_FEATURE_FLUSH_PER_RENDER_OP = 0x1;
+const UINT D3D10_DEBUG_FEATURE_FINISH_PER_RENDER_OP = 0x2;
+const UINT D3D10_DEBUG_FEATURE_PRESENT_PER_RENDER_OP = 0x4;
+
 typedef enum D3D10_MESSAGE_CATEGORY
 {
     D3D10_MESSAGE_CATEGORY_APPLICATION_DEFINED,
@@ -585,6 +589,31 @@ typedef struct D3D10_INFO_QUEUE_FILTER
     D3D10_INFO_QUEUE_FILTER_DESC DenyList;
 } D3D10_INFO_QUEUE_FILTER;
 
+[
+    local,
+    object,
+    uuid(9b7e4e01-342c-4106-a19f-4f2704f689f0),
+    pointer_default(unique)
+]
+interface ID3D10Debug : IUnknown
+{
+    HRESULT SetFeatureMask(
+        [in] UINT mask
+    );
+    UINT GetFeatureMask();
+    HRESULT SetPresentPerRenderOpDelay(
+        [in] UINT milliseconds
+    );
+    UINT GetPresentPerRenderOpDelay();
+    HRESULT SetSwapChain(
+        [in] IDXGISwapChain *swapchain
+    );
+    HRESULT GetSwapChain(
+        [out] IDXGISwapChain **swapchain
+    );
+    HRESULT Validate();
+}
+
 [
     local,
     object,




More information about the wine-cvs mailing list