// d3dkmddi.h
DXGKDDI_UPDATENATIVEFENCELOGS DxgkddiUpdatenativefencelogs;
NTSTATUS DxgkddiUpdatenativefencelogs(
IN_CONST_PDXGKARG_UPDATENATIVEFENCELOGS pUpdateNativeFenceLog
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
DxgkDdiUpdateNativeFenceLogs synchronously flushes pending native fence log writes on demand.
pUpdateNativeFenceLog[in] Pointer to a DXGKARG_UPDATENATIVEFENCELOGS structure that contains the native fence log information.
DxgkDdiUpdateNativeFenceLogs returns STATUS_SUCCESS if the flush was successful. Otherwise, it returns an appropriate NTSTATUS error code.
A native fence log buffer can be read/written to asynchronously. To force a synchronous flush of the log buffer, the KMD can call DxgkDdiUpdateNativeFenceLogs.
The KMD should insert a memory barrier to the given HWQueue, which ensures that all log entry writes are committed.
For more information about native GPU fences and log buffer usage, see Native GPU fence objects.
DxgkDdiSetNativeFenceLogBuffer