Muokkaa

Jaa


GDI Hardware Acceleration

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:

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

Supporting Kernel-Mode Command Buffers

Specifying GDI Hardware-Accelerated Rendering Operations