Windows Dev Center

DXGI_FRAME_PRESENTATION_MODE enumeration

Indicates options for presenting frames to the swap chain.

Syntax


typedef enum DXGI_FRAME_PRESENTATION_MODE { 
  DXGI_FRAME_PRESENTATION_MODE_COMPOSED  = 0,
  DXGI_FRAME_PRESENTATION_MODE_OVERLAY   = 1,
  DXGI_FRAME_PRESENTATION_MODE_NONE      = 2
} DXGI_FRAME_PRESENTATION_MODE;

Constants

DXGI_FRAME_PRESENTATION_MODE_COMPOSED

Specifies that the presentation mode is a composition surface, meaning that the conversion from YUV to RGB is happening once per output refresh (for example, 60 Hz). When this value is returned, the media app should discontinue use of the decode swap chain and perform YUV to RGB conversion itself, reducing the frequency of YUV to RGB conversion to once per video frame.

DXGI_FRAME_PRESENTATION_MODE_OVERLAY

Specifies that the presentation mode is an overlay surface, meaning that the YUV to RGB conversion is happening efficiently in hardware (once per video frame). When this value is returned, the media app can continue to use the decode swap chain. See IDXGIDecodeSwapChain.

DXGI_FRAME_PRESENTATION_MODE_NONE

No presentation is specified.

Requirements

Header

DXGIPartner.h

See also

DXGI_FRAME_STATISTICS_PARTNER

 

 

Community Additions

Show:
© 2015 Microsoft