DXGK_SUBMITCOMMANDFLAGS structure (d3dkmddi.h)
The DXGK_SUBMITCOMMANDFLAGS structure identifies, in bit-field flags, information about a direct memory access (DMA) buffer to submit to the graphics processing unit (GPU).
Syntax
typedef struct _DXGK_SUBMITCOMMANDFLAGS {
union {
struct {
UINT Paging : 1;
UINT Present : 1;
UINT RedirectedPresent : 1;
UINT NullRendering : 1;
UINT Flip : 1;
UINT FlipWithNoWait : 1;
UINT ContextSwitch : 1;
UINT Resubmission : 1;
UINT VirtualMachineData : 1;
#if ...
UINT Reserved : 23;
#elif
UINT Reserved : 24;
#elif
UINT Reserved : 25;
#else
UINT Reserved : 26;
#endif
};
[in] UINT Value;
};
} DXGK_SUBMITCOMMANDFLAGS;
Members
[in] Paging
A UINT value that specifies whether the DMA buffer is a paging buffer, which contains paging operations.
Setting this is equivalent to setting the first bit of the 32-bit Value member (0x00000001).
[in] Present
A UINT value that specifies whether the DMA buffer contains a present operation. The DMA buffer was generated by the driver's DxgkDdiPresent function.
Setting this is equivalent to setting the second bit of the 32-bit Value member (0x00000002).
[in] RedirectedPresent
A UINT value that specifies whether the DMA buffer contains a redirected present operation, which is a present to a shared allocation that belongs to the Display Windows Manager. The DMA buffer was generated by the driver's DxgkDdiRender function.
Setting this is equivalent to setting the third bit of the 32-bit Value member (0x00000004).
[in] NullRendering
A UINT value that specifies whether the driver should simulate the insertion of the DMA buffer into the ring (that is, whether the driver should generate the fence interrupt at the end of the DMA buffer); however, the driver should not actually run (render) the DMA buffer. The NullRendering bit-field flag is only set during performance investigating and debugging to simulate an infinitely fast rendering engine that still must perform the overhead of DMA buffer submission and signaling. NullRendering is never set during typical operations.
Setting this is equivalent to setting the fourth bit of the 32-bit Value member (0x00000008).
[in] Flip
A UINT value that specifies whether the DMA buffer contains a flip operation.
Setting this is equivalent to setting the fifth bit of the 32-bit Value member (0x00000010).
[in] FlipWithNoWait
A UINT value that specifies whether the DMA buffer contains a flip operation that occurs without a built-in wait for the next vertical synchronization.
Setting this is equivalent to setting the sixth bit of the 32-bit Value member (0x00000020).
[in] ContextSwitch
Supported beginning with Windows 8.
A UINT value that specifies that the GPU should switch from the current executing context to the null context.
Starting with Windows 8, the operating system explicitly requests the GPU to switch to the null context whenever an attempt is made to move or evict a resource that belongs to the context that is currently executing on the GPU. The context switch request is performed by submitting a zero-length DMA buffer with the ContextSwitch member set.
Resubmission
Indicates whether this DMA packet is being resubmitted to the GPU due to an earlier preemption. In WDDM 2.0, both DxgkDdiSubmitCommand and DxgkDdiSubmitCommandVirtual will have this flag set to zero on the first DMA packet submission, and set to one when a packet is being resubmitted due to an earlier preemption. The flag is set to zero in WDDM 1.x regardless of whether a packet has been previously preempted.
Supported starting with Windows 10.
VirtualMachineData
The virtual machine data.
[in] Reserved
This member is reserved and should be set to zero.
[in] Supported beginning with Windows 8.
This member is reserved and should be set to zero.
Setting this is equivalent to setting the remaining 25 bits of the 32-bit Value member (0xFFFFFF80).
[in] This member is reserved and should be set to zero.
Setting this member to zero is equivalent to setting the remaining 26 bits (0xFFFFFFC0) of the 32-bit Value member to zeros.
[in] Value
A member in the union that DXGK_SUBMITCOMMANDFLAGS contains that can hold one 32-bit value that identifies information about the DMA buffer.
Requirements
Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
Header | d3dkmddi.h (include D3dkmddi.h) |
See also
Feedback
Submit and view feedback for