Export (0) Print
Expand All

DXGI_GRAPHICS_PREEMPTION_GRANULARITY enumeration

Identifies the granularity at which the graphics processing unit (GPU) can be preempted from performing its current graphics rendering task.

Syntax


typedef enum  { 
  DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY   = 0,
  DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY    = 1,
  DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY     = 2,
  DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY        = 3,
  DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY  = 4
} DXGI_GRAPHICS_PREEMPTION_GRANULARITY;

Constants

DXGI_GRAPHICS_PREEMPTION_DMA_BUFFER_BOUNDARY

Indicates the preemption granularity as a DMA buffer.

DXGI_GRAPHICS_PREEMPTION_PRIMITIVE_BOUNDARY

Indicates the preemption granularity as a graphics primitive. A primitive is a section in a DMA buffer and can be a group of triangles.

DXGI_GRAPHICS_PREEMPTION_TRIANGLE_BOUNDARY

Indicates the preemption granularity as a triangle. A triangle is a part of a primitive.

DXGI_GRAPHICS_PREEMPTION_PIXEL_BOUNDARY

Indicates the preemption granularity as a pixel. A pixel is a part of a triangle.

DXGI_GRAPHICS_PREEMPTION_INSTRUCTION_BOUNDARY

Indicates the preemption granularity as a graphics instruction. A graphics instruction operates on a pixel.

Remarks

You call the IDXGIAdapter2::GetDesc2 method to retrieve the granularity level at which the GPU can be preempted from performing its current graphics rendering task. The operating system specifies the graphics granularity level in the GraphicsPreemptionGranularity member of the DXGI_ADAPTER_DESC2 structure.

The following figure shows granularity of graphics rendering tasks.

Graphics Rendering Granularity

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]

Header

DXGI1_2.h

See also

DXGI_ADAPTER_DESC2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft