D2D1_DEVICE_CONTEXT_OPTIONS enumeration (d2d1_1.h)
This specifies options that apply to the device context for its lifetime.
Syntax
typedef enum D2D1_DEVICE_CONTEXT_OPTIONS {
D2D1_DEVICE_CONTEXT_OPTIONS_NONE = 0,
D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS = 1,
D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_DEVICE_CONTEXT_OPTIONS_NONE Value: 0 The device context is created with default options. |
D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS Value: 1 Distribute rendering work across multiple threads. Refer to Improving the performance of Direct2D apps for additional notes on the use of this flag. |
D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] |
Header | d2d1_1.h |