PFND3D12DDI_VIDEO_PROCESSOR_TRIM_ALLOCATIONS callback function
The pfnProcessorTrimAllocations callback function trims allocations for submissions that are finished.
Syntax
PFND3D12DDI_VIDEO_PROCESSOR_TRIM_ALLOCATIONS pfnProcessorTrimAllocations;
UINT64 APIENTRY* pfnProcessorTrimAllocations(
D3D12DDI_HVIDEOPROCESSOR hDrvVideoProcessor,
UINT64 SubmissionID
)
{ ... }
Parameters
hDrvVideoProcessor
The video processor for which to submit this frame.SubmissionID
The submission ID is a monotonically increasing integer value. The value passed to this method indicates that the submission ID and all earlier values are now complete and the driver may free or re-use resources associated with this ID.
Remarks
Applications track command completion. To allow driver to manage memory, an application calls this method with a SubmissionID parameter to indicate which submissions are complete.
Requirements
Header |
D3d12umddi.h (include D3d12umddi.h) |