Bewerken

Delen via


DXGKARG_SWITCHTOHWCONTEXTLIST structure (d3dkmddi.h)

Arguments used in the DXGKDDI_SWITCHTOHWCONTEXTLIST callback function.

Syntax

typedef struct _DXGKARG_SWITCHTOHWCONTEXTLIST {
  HANDLE hHwContextFirst;
  HANDLE hHwContextSecond;
  UINT   NodeOrdinal;
  UINT   EngineOrdinal;
} DXGKARG_SWITCHTOHWCONTEXTLIST;

Members

hHwContextFirst

Hardware context that should be executed by the GPU first. If the GPU is currently not executing this context, it needs to preempt the current work and switch to hHwContextFirst. May be NULL if the GPU is instructed to become idle.

hHwContextSecond

Hardware context that should be executed by the GPU once all queues in hHwContextFirst are idle or blocked on waits. May be NULL.

NodeOrdinal

Node ordinal of engine that is instructed to switch to the new context(s).

EngineOrdinal

Engine ordinal of engine that is instructed to switch to the new context(s).

Requirements

Requirement Value
Header d3dkmddi.h