D2D1_DEVICE_CONTEXT_OPTIONS Enumeration

This specifies options that apply to the device context for its lifetime.

Syntax

typedef enum D2D1_DEVICE_CONTEXT_OPTIONS {
  D2D1_DEVICE_CONTEXT_OPTIONS_NONE,
  D2D1_DEVICE_CONTEXT_OPTIONS_ENABLE_MULTITHREADED_OPTIMIZATIONS,
  D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD
} ;

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.
D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD

Requirements

   
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