[PATCH 1/6] include/d3d10sdklayers.idl: Add D3D10Debug interface.
Biswapriyo Nath
nathbappai at gmail.com
Fri Aug 21 23:44:26 CDT 2020
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20200822/2906e88f/attachment-0001.htm>
-------------- next part --------------
From e06a8d6432a8d390401d3bb63d207f391a6123f0 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <nathbappai at gmail.com>
Date: Sat, 22 Aug 2020 10:09:55 +0530
Subject: [PATCH 1/6] include/d3d10sdklayers.idl: Add D3D10Debug interface.
Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
---
include/d3d10sdklayers.idl | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/include/d3d10sdklayers.idl b/include/d3d10sdklayers.idl
index c6606d2..b737e00 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 *pSwapChain
+ );
+ HRESULT GetSwapChain(
+ [out] IDXGISwapChain **ppSwapChain
+ );
+ HRESULT Validate();
+};
+
[
local,
object,
--
2.27.0
More information about the wine-devel
mailing list