DXGK_CREATECONTEXTALLOCATIONFLAGS structure

Specifies the properties of the context to be allocated.

Syntax

typedef struct _DXGK_CREATECONTEXTALLOCATIONFLAGS {
  union {
    struct {
      UINT SharedAcrossContexts : 1;
      UINT MapGpuVirtualAddress : 1;
#if ...
      UINT Reserved : 30;
#else
      UINT Reserved : 31;
#endif
    };
    UINT Value;
  };
} DXGK_CREATECONTEXTALLOCATIONFLAGS;

Members

SharedAcrossContexts

[in] A UINT value that specifies the association of the context.

If SharedAcrossContexts is set to one, the allocation is associated with all contexts specified by the hDevice member of the DXGKARGCB_CREATECONTEXTALLOCATION structure. The allocated context will be made resident when any context that belongs to hDevice is scheduled to run on the GPU.

If SharedAcrossContexts is set to zero, the allocation is associated with the context specified by the hContext member of the DXGKARGCB_CREATECONTEXTALLOCATION structure. The allocated context will be made resident when hContext is scheduled to run on the GPU.

MapGpuVirtualAddress

Reserved.#845183810

Reserved.#2066026666

Value

[in] A 32-bit value that specifies the context allocation flags.

Remarks

The display miniport driver allocates GPU contexts or device-specific contexts by calling DxgkCbCreateContextAllocation.

The ContextAllocationFlags member of the DXGKARGCB_CREATECONTEXTALLOCATION structure is an DXGK_CREATECONTEXTALLOCATIONFLAGS data type.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header d3dkmddi.h (include D3dkmddi.h)

See Also

DXGKARGCB_CREATECONTEXTALLOCATION

DxgkCbCreateContextAllocation