DXGKDDI_UPDATENATIVEFENCELOGS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_UPDATENATIVEFENCELOGS DxgkddiUpdatenativefencelogs;

NTSTATUS DxgkddiUpdatenativefencelogs(
  IN_CONST_PDXGKARG_UPDATENATIVEFENCELOGS pUpdateNativeFenceLog
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_updatenativefencelogs)

Description

DxgkDdiUpdateNativeFenceLogs synchronously flushes pending native fence log writes on demand.

Parameters

pUpdateNativeFenceLog

[in] Pointer to a DXGKARG_UPDATENATIVEFENCELOGS structure that contains the native fence log information.

Return value

DxgkDdiUpdateNativeFenceLogs returns STATUS_SUCCESS if the flush was successful. Otherwise, it returns an appropriate NTSTATUS error code.

Remarks

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.

See also

DXGKARG_UPDATENATIVEFENCELOGS

DxgkDdiSetNativeFenceLogBuffer