include: Add more DXGI swapchain flags.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-04-23 17:04:04 +04:30 committed by Alexandre Julliard
parent 409497ee84
commit 3cc1e2315f
1 changed files with 15 additions and 4 deletions

View File

@ -108,10 +108,21 @@ typedef struct DXGI_ADAPTER_DESC {
LUID AdapterLuid;
} DXGI_ADAPTER_DESC;
typedef enum DXGI_SWAP_CHAIN_FLAG {
DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 1,
DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 2,
DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 4
typedef enum DXGI_SWAP_CHAIN_FLAG
{
DXGI_SWAP_CHAIN_FLAG_NONPREROTATED = 0x0001,
DXGI_SWAP_CHAIN_FLAG_ALLOW_MODE_SWITCH = 0x0002,
DXGI_SWAP_CHAIN_FLAG_GDI_COMPATIBLE = 0x0004,
DXGI_SWAP_CHAIN_FLAG_RESTRICTED_CONTEXT = 0x0008,
DXGI_SWAP_CHAIN_FLAG_RESTRICT_SHARED_RESOURCE_DRIVER = 0x0010,
DXGI_SWAP_CHAIN_FLAG_DISPLAY_ONLY = 0x0020,
DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT = 0x0040,
DXGI_SWAP_CHAIN_FLAG_FOREGROUND_LAYER = 0x0080,
DXGI_SWAP_CHAIN_FLAG_FULLSCREEN_VIDEO = 0x0100,
DXGI_SWAP_CHAIN_FLAG_YUV_VIDEO = 0x0200,
DXGI_SWAP_CHAIN_FLAG_HW_PROTECTED = 0x0400,
DXGI_SWAP_CHAIN_FLAG_ALLOW_TEARING = 0x0800,
DXGI_SWAP_CHAIN_FLAG_RESTRICTED_TO_ALL_HOLOGRAPHIC_DISPLAYS = 0x1000,
} DXGI_SWAP_CHAIN_FLAG;
typedef struct DXGI_SWAP_CHAIN_DESC {