DXGK_RENDERKM_COMMAND structure (d3dkmddi.h)
The DXGK_RENDERKM_COMMAND structure is used to construct a command buffer to control GDI hardware-accelerated rendering.
Syntax
typedef struct _DXGK_RENDERKM_COMMAND {
DXGK_RENDERKM_OPERATION OpCode;
UINT CommandSize;
union {
DXGK_GDIARG_BITBLT BitBlt;
DXGK_GDIARG_COLORFILL ColorFill;
DXGK_GDIARG_ALPHABLEND AlphaBlend;
DXGK_GDIARG_STRETCHBLT StretchBlt;
DXGK_GDIARG_TRANSPARENTBLT TransparentBlt;
DXGK_GDIARG_CLEARTYPEBLEND ClearTypeBlend;
} Command;
} DXGK_RENDERKM_COMMAND;
Members
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.
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.
Command
Command.BitBlt
Command.ColorFill
Command.AlphaBlend
Command.StretchBlt
Command.TransparentBlt
Command.ClearTypeBlend
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.
Requirements
Minimum supported client | Available in Windows 7 and later versions of the Windows operating systems. |
Header | d3dkmddi.h (include D3dkmddi.h) |
See also
Feedback
Submit and view feedback for