D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 structure

D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 is used with D3DKMTSignalSynchronizationObjectFromGpu2 to signal a monitored fence.

Syntax

typedef struct _D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2 {
  UINT                 ObjectCount;
  const D3DKMT_HANDLE  *ObjectHandleArray;
  D3DDDICB_SIGNALFLAGS Flags;
  ULONG                BroadcastContextCount;
  const D3DKMT_HANDLE  *BroadcastContextArray;
  union {
    UINT64       FenceValue;
    HANDLE       CpuEventHandle;
    const UINT64 *MonitoredFenceValueArray;
    UINT64       Reserved[8];
  };
} D3DKMT_SIGNALSYNCHRONIZATIONOBJECTFROMGPU2;

Members

ObjectCount

[in] The number of synchronization events in the ObjectHandleArray array and fence values in MonitoredFenceValueArray arrays.

ObjectHandleArray

[in] An array of kernel-mode handles to the synchronization events that the context that is specified by the hContext member waits for.

Flags

[in] A D3DDDICB_SIGNALFLAGS structure that indicates, in bit-field flags, signaling behavior.

BroadcastContextCount

[in] The number of contexts this signal operation will be broadcast to.

BroadcastContextArray

[in] An array of kernel-mode handles to the context streams in which a signal for the synchronization events in the array that the ObjectHandleArray member specifies is inserted. The synchronization events are considered signaled only when all broadcast contexts reach the signal insertion point.

FenceValue

[in] A 64-bit value that specifies the current fence value of the GPU synchronization object. This value applies only if the GPU synchronization object is of type D3DDDI_FENCE.

CpuEventHandle

[in] The handle of an event object that will be signaled when the signal command is processed. This member must be set only when Flags.EnqueueCpuEvent is specified.

MonitoredFenceValueArray

[in] An array of 64-bit monitored fence values to signal, each of which correspond to a synchronization object in ObjectHandleArray.

Reserved

This member is reserved and should be set to zero.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3dkmthk.h (include D3dkmthk.h)

See Also

D3DKMTSignalSynchronizationObjectFromGpu2