Export (0) Print
Expand All
Expand Minimize

DXGK_CREATECONTEXTALLOCATIONFLAGS structure

Specifies the properties of the context to be allocated.

Syntax


typedef struct _DXGK_CREATECONTEXTALLOCATIONFLAGS {
  union {
    struct {
      UINT SharedAcrossContexts  :1;
      UINT Reserved  :31;
    };
    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.

Reserved

[in] This member is reserved and should be set to zero. Setting this member to zero is equivalent to setting the most significant 31 bits (0xFFFFFFFE) to zeros.

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

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft