Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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 | UWP apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

 

 

Show:
© 2018 Microsoft