Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DXGK_RENDERKM_COMMAND structure

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
BitBlt

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

ColorFill

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

AlphaBlend

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

StretchBlt

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

TransparentBlt

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

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.

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

Requirements

Version

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

Header

D3dkmddi.h (include D3dkmddi.h)

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

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft