Expand Minimize

D3DDDI_OFFER_PRIORITY enumeration

Indicates the importance of video memory resources that the user-mode display driver offers for reuse.

Syntax


typedef enum _D3DDDI_OFFER_PRIORITY { 
  D3DDDI_OFFER_PRIORITY_NONE    = 0,
  D3DDDI_OFFER_PRIORITY_LOW     = 1,
  D3DDDI_OFFER_PRIORITY_NORMAL  = 2,
  D3DDDI_OFFER_PRIORITY_HIGH    = 3,
  D3DDDI_OFFER_PRIORITY_AUTO    = 4
} D3DDDI_OFFER_PRIORITY;

Constants

D3DDDI_OFFER_PRIORITY_NONE

The allocation should not be offered.

Note  Do not use this value in the D3DDDICB_OFFERALLOCATIONS.Priority member.

D3DDDI_OFFER_PRIORITY_LOW

The allocation has low value and should be discarded before other offered allocations. Specify this type for allocations that have no useful content.

D3DDDI_OFFER_PRIORITY_NORMAL

The allocation has useful content but can easily be regenerated.

D3DDDI_OFFER_PRIORITY_HIGH

The allocation has useful content and cannot easily be regenerated. The video memory manager (which is part of Dxgkrnl.sys) should therefore avoid discarding this allocation before other offered allocations.

D3DDDI_OFFER_PRIORITY_AUTO

The video memory manager should make a policy decision on the allocation's value based on its priority for eviction.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3dukmdt.h (include D3dumddi.h or D3dkmddi.h)

See also

D3DDDI_ALLOCATIONLIST
D3DDDICB_OFFERALLOCATIONS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.