Commit 3cc1e231 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Add more DXGI swapchain flags.

parent 409497ee
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment