include/dxgi.idl: Add cpu access flags.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Biswapriyo Nath 2020-04-30 11:25:14 +05:30 committed by Alexandre Julliard
parent 7acbd367a5
commit 7fa051eca7
1 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,12 @@ typedef struct _LUID {
} LUID, *PLUID;
cpp_quote("#endif")
const UINT DXGI_CPU_ACCESS_NONE = 0;
const UINT DXGI_CPU_ACCESS_DYNAMIC = 1;
const UINT DXGI_CPU_ACCESS_READ_WRITE = 2;
const UINT DXGI_CPU_ACCESS_SCRATCH = 3;
const UINT DXGI_CPU_ACCESS_FIELD = 15;
typedef UINT DXGI_USAGE;
const DXGI_USAGE DXGI_USAGE_SHADER_INPUT = 0x10L;
const DXGI_USAGE DXGI_USAGE_RENDER_TARGET_OUTPUT = 0x20L;
@ -439,6 +445,7 @@ interface IDXGIDevice : IDXGIObject
typedef enum DXGI_ADAPTER_FLAG {
DXGI_ADAPTER_FLAG_NONE = 0,
DXGI_ADAPTER_FLAG_REMOTE = 1,
DXGI_ADAPTER_FLAG_SOFTWARE = 2,
DXGI_ADAPTER_FLAG_FORCE_DWORD = 0xFFFFFFFF
} DXGI_ADAPTER_FLAG;