Développer Réduire

DXGK_SUBMITCOMMANDFLAGS structure

[This documentation is preliminary and is subject to change.]

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;
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WIN8)
      UINT ContextSwitch  :1;
#if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_0)
      UINT Resubmission  :1;
      UINT Reserved  :24;
#else 
      UINT Reserved  :25;
#endif 
#else 
      UINT Reserved  :26;
#endif 
    };
    UINT Value;
  };
} DXGK_SUBMITCOMMANDFLAGS;

Members

Paging

[in] 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).

Present

[in] 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).

RedirectedPresent

[in] 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).

NullRendering

[in] 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).

Flip

[in] 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).

FlipWithNoWait

[in] 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).

ContextSwitch

[in] 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.

Note  If the current context was executing an operation that used a paging buffer, the context switch command is submitted with the Paging member also set to one.

Setting this is equivalent to setting the seventh bit of the 32-bit Value member (0x00000040).

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 Technical Preview.

Reserved

[in] This member is reserved and should be set to zero.

Reserved

[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).

Reserved

[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.

Value

[in] A member in the union that DXGK_SUBMITCOMMANDFLAGS contains that can hold one 32-bit value that identifies information about the DMA buffer.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dkmddi.h (include D3dkmddi.h)

See also

DXGKARG_SUBMITCOMMAND
DxgkDdiSubmitCommand

 

 

Send comments about this topic to Microsoft

Afficher:
© 2015 Microsoft