Graphics kernel performance improvements starting in WDDM 1.3
To help evaluate graphics hardware performance, Windows Display Driver Model (WDDM) 1.3 and later drivers can optionally provide accurate timing information for API calls that are processed by the GPU. This capability is new starting with Windows 8.1.
These sections list the device driver interfaces (DDIs) that are new or updated for WDDM 1.3 and later drivers.
These reference topics describe how to implement this capability in your display miniport driver:
- DRIVER_INITIALIZATION_DATA (new DxgkDdiCalibrateGpuClock and DxgkDdiFormatHistoryBuffer members)
- DXGK_ALLOCATIONINFOFLAGS (new HistoryBuffer member)
- DXGK_QUERYADAPTERINFOTYPE (new DXGKQAITYPE_HISTORYBUFFERPRECISION constant value)
- DxgkDdiCreateAllocation (see "Allocating history buffers" in Remarks)
These reference topics describe how a user-mode display driver supports Event Tracing for Windows (ETW) marker events that can be used to profile and improve app timing and performance. WDDM 1.3 and later drivers must support all of these DDIs, except for pfnSetMarker and pfnSetMarkerMode in certain cases, as described in Direct3D rendering performance improvements starting in WDDM 1.3.
- D3D10_2DDICAPS_TYPE (new D3DWDDM1_3DDICAPS_D3D11_OPTIONS1 and D3DWDDM1_3DDICAPS_D3D11_MARKER constant values)
- D3DDDI_DEVICECALLBACKS (new pfnLogUMDMarkerCb function pointer member)
- D3DDDI_DEVICEFUNCS (new pfnSetMarkerMode and pfnSetMarkerMode function pointer members)
- D3DDDICAPS_TYPE (new D3DDDICAPS_GET_MARKER_CAPS constant value)
- D3DDDICB_RENDER (11 new members)