From 397e76692a922d614dcff893e32c92949cf0ec15 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Tue, 25 Aug 2020 23:53:57 +0530 Subject: [PATCH v2 1/6] include/d3d10sdklayers.idl: Add D3D10Debug interface. Signed-off-by: Biswapriyo Nath --- include/d3d10sdklayers.idl | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/include/d3d10sdklayers.idl b/include/d3d10sdklayers.idl index c6606d2..b5b0d03 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, -- 2.27.0