D3D11_1_DDI_FLUSH_FLAGS
TOC
Collapse the table of content
Expand the table of content

D3D11_1_DDI_FLUSH_FLAGS enumeration

In calls to the Flush(D3D11_1) function, indicates whether the driver should continue to submit command buffers. Used by Windows Display Driver Model (WDDM) 1.2 and later user-mode display drivers.

Syntax


typedef enum D3D11_1_DDI_FLUSH_FLAGS { 
  D3D11_1DDI_FLUSH_UNLESS_NO_COMMANDS  = 0x00000001,
#if D3D11DDI_MINOR_HEADER_VERSION >= 4
  D3DWDDM1_3DDI_TRIM_MEMORY            = 0x00000002

#endif } D3D11_1_DDI_FLUSH_FLAGS;

Constants

D3D11_1DDI_FLUSH_UNLESS_NO_COMMANDS

The driver should not submit command buffers if there have been no new commands since the last time the driver submitted a command buffer.

D3DWDDM1_3DDI_TRIM_MEMORY

The driver should free as much memory as it can. However, it should not free any memory that the driver requires to continue operating. Using this constant value therefore should not introduce new opportunities to run out of memory.

The driver must no longer call Video memory offer and reclaim DDIs on the memory that it frees.

Supported starting with Windows 8.1 for WDDM 1.3 and later user-mode display drivers.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

Flush(D3D11_1)

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft