include/d3d10sdklayers.idl: Add D3D10Debug interface.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-08-25 23:53:57 +05:30 committed by Alexandre Julliard
parent 52fa4fb74e
commit e9ec3560d4

View file

@ -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,