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