Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GDI Hardware Acceleration feature provides accelerated core graphics device interface (GDI) operations on a GPU. This feature was introduced in Windows 7.
To indicate that the GPU and the driver support this feature, the kernel-mode display miniport driver (KMD) must set DXGKDDI_INTERFACE_VERSION to >= DXGKDDI_INTERFACE_VERSION_WIN7
.
The KMD should also set DXGK_PRESENTATIONCAPS->SupportKernelModeCommandBuffer to TRUE to indicate that it supports GDI Hardware Acceleration command buffer processing. The driver should report this type of support only if the cache-coherent GPU aperture segment exists and there's no significant performance penalty when the CPU accesses GPU memory.
The following reference pages describe how to use this feature:
KMDs that support GDI Hardware Acceleration must implement the following functions:
The following structures are used in the GDI Hardware Acceleration feature:
- D3DKM_TRANSPARENTBLTFLAGS
- D3DKMDT_GDISURFACEDATA
- D3DKMDT_GDISURFACEFLAGS
- DRIVER_INITIALIZATION_DATA
- DXGK_CREATECONTEXTFLAGS
- DXGK_CREATEDEVICEFLAGS
- DXGK_GDIARG_ALPHABLEND
- DXGK_GDIARG_BITBLT
- DXGK_GDIARG_CLEARTYPEBLEND
- DXGK_GDIARG_COLORFILL
- DXGK_GDIARG_STRETCHBLT
- DXGK_GDIARG_TRANSPARENTBLT
- DXGK_RENDERKM_COMMAND
- DXGK_PRESENTATIONCAPS
- DXGKARG_GETSTANDARDALLOCATIONDRIVERDATA
- DXGKARG_RENDER
The following enumerations are used in the GDI Hardware Acceleration feature:
For more details on how to implement GDI Hardware Acceleration in your KMD, see the following articles:
Setting the Size and Pitch of the Memory Allocation
Initialization and DMA Buffer Creation
Reporting Optional Support for Rendering Operations