Skip to content

Latest commit

 

History

History
117 lines (80 loc) · 4.2 KB

ns-d3dkmddi-_dxgk_renderkm_command.md

File metadata and controls

117 lines (80 loc) · 4.2 KB
UID title description ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos tech.root req.typenames f1_keywords topic_type api_type api_location api_name
NS:d3dkmddi._DXGK_RENDERKM_COMMAND
DXGK_RENDERKM_COMMAND (d3dkmddi.h)
Learn more about the DXGK_RENDERKM_COMMAND structure.
08/24/2022
DXGK_RENDERKM_COMMAND structure
DXGK_RENDERKM_COMMAND, DXGK_RENDERKM_COMMAND structure [Display Devices], DmStructs_b23578a5-ae81-42c8-95ce-3ba9b4691d57.xml, _DXGK_RENDERKM_COMMAND, d3dkmddi/DXGK_RENDERKM_COMMAND, display.dxgk_renderkm_command
d3dkmddi.h
D3dkmddi.h
Windows
Windows 7
Windows
display
DXGK_RENDERKM_COMMAND
_DXGK_RENDERKM_COMMAND
d3dkmddi/_DXGK_RENDERKM_COMMAND
DXGK_RENDERKM_COMMAND
d3dkmddi/DXGK_RENDERKM_COMMAND
APIRef
kbSyntax
HeaderDef
d3dkmddi.h
_DXGK_RENDERKM_COMMAND
DXGK_RENDERKM_COMMAND

DXGK_RENDERKM_COMMAND structure

-description

The DXGK_RENDERKM_COMMAND structure is used to construct a command buffer to control GDI hardware-accelerated rendering.

-struct-fields

-field OpCode

[in] A DXGK_RENDERKM_OPERATION-type operation code that identifies the GDI hardware-accelerated rendering operation to process. For more information about GDI hardware acceleration, see the Remarks section.

-field CommandSize

[in] The size of the current command, in bytes. This is equal to the number of bytes from the beginning of DXGK_RENDERKM_COMMAND up to the next command.

-field Command

The command.

-field Command.BitBlt

[in] A bit-block transfer (bitblt) that is described by a DXGK_GDIARG_BITBLT structure.

-field Command.ColorFill

[in] A color fill that is described by a DXGK_GDIARG_COLORFILL structure.

-field Command.AlphaBlend

[in] An alpha blend that is described by a DXGK_GDIARG_ALPHABLEND structure.

-field Command.StretchBlt

[in] A stretch bit-block transfer that is described by a DXGK_GDIARG_STRETCHBLT structure.

-field Command.TransparentBlt

[in] A transparent bit-block transfer that is described by a DXGK_GDIARG_TRANSPARENTBLT structure.

-field Command.ClearTypeBlend

[in] A ClearType blend that is described by a DXGK_GDIARG_CLEARTYPEBLEND structure.

-remarks

An array of variable-size DXGK_RENDERKM_COMMAND structures defines a command buffer that is used to control GDI hardware-accelerated rendering.

A display miniport driver should report that it supports command buffer processing for GDI hardware acceleration by setting DXGK_DRIVERCAPS->PresentationCaps.SupportKernelModeCommandBuffer to TRUE.

A display miniport driver should report that it supports GDI hardware acceleration only if the cache-coherent GPU aperture segment exists, and there is no significant performance penalty when the CPU accesses the memory.

Each command varies in length depending on the value of the OpCode member and the number of sub-rectangles in the command.

-see-also

DXGK_DRIVERCAPS

DXGK_GDIARG_ALPHABLEND

DXGK_GDIARG_BITBLT

DXGK_GDIARG_CLEARTYPEBLEND

DXGK_GDIARG_COLORFILL

DXGK_GDIARG_STRETCHBLT

DXGK_GDIARG_TRANSPARENTBLT

DXGK_PRESENTATIONCAPS

DXGK_RENDERKM_OPERATION