UMDETW_ALLOCATION_SEMANTIC enumeration

Indicates what a memory allocation is used for if the allocation is internal to the user-mode driver.

Syntax


typedef enum _UMDETW_ALLOCATION_SEMANTIC { 
  UMDETW_ALLOCATION_SEMANTIC_NONE              = 0,
  UMDETW_ALLOCATION_SEMANTIC_DMA_BUFFER        = 1,
  UMDETW_ALLOCATION_SEMANTIC_UPLOAD_STAGING    = 2,
  UMDETW_ALLOCATION_SEMANTIC_DOWNLOAD_STAGING  = 3,
  UMDETW_ALLOCATION_SEMANTIC_CONTEXT_SAVE      = 4,
  UMDETW_ALLOCATION_SEMANTIC_DRIVER_OTHER_MIN  = 5,
  UMDETW_ALLOCATION_SEMANTIC_DRIVER_OTHER_MAX  = 0xFFFF
} UMDETW_ALLOCATION_SEMANTIC;

Constants

UMDETW_ALLOCATION_SEMANTIC_NONE

The allocation is created for a Direct3D resource.

UMDETW_ALLOCATION_SEMANTIC_DMA_BUFFER

The allocation is used as a DMA buffer.

UMDETW_ALLOCATION_SEMANTIC_UPLOAD_STAGING

The allocation is used as a staging allocation to upload and download data to and from video memory.

UMDETW_ALLOCATION_SEMANTIC_DOWNLOAD_STAGING

The allocation is used exclusively as a staging allocation to download data from video memory.

UMDETW_ALLOCATION_SEMANTIC_CONTEXT_SAVE

The allocation is used as a GPU context save area.

UMDETW_ALLOCATION_SEMANTIC_DRIVER_OTHER_MIN

The driver can use this semantic value for its own internal purposes.

UMDETW_ALLOCATION_SEMANTIC_DRIVER_OTHER_MAX

The driver can use this semantic value for its own internal purposes.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Umdprovider.h (include Umdprovider.h)

See also

UMDEtwLogMapAllocation
UMDEtwLogUnmapAllocation

 

 

Send comments about this topic to Microsoft

Show: