|
virtual HRESULT | gpgmm::d3d12::SetDebugName (LPCWSTR Name)=0 |
| Associate a debug name.
|
|
virtual HRESULT | gpgmm::d3d12::Lock ()=0 |
| Locks the specified heap.
|
|
virtual HRESULT | gpgmm::d3d12::Unlock ()=0 |
| Unlocks the specified heap.
|
|
virtual HRESULT | gpgmm::d3d12::GetResidencyManager (IResidencyManager **ppResidencyManagerOut) const =0 |
| Get the residency manager that manages this heap.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResidencyHeap (const RESIDENCY_HEAP_DESC &descriptor, IResidencyManager *const pResidencyManager, CreateHeapFn createHeapFn, void *pCreateHeapContext, IResidencyHeap **ppResidencyHeapOut) |
| Create a residency managed heap.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResidencyHeap (const RESIDENCY_HEAP_DESC &descriptor, IResidencyManager *const pResidencyManager, ID3D12Pageable *pPageable, IResidencyHeap **ppResidencyHeapOut) |
| Create a residency managed heap.
|
|
virtual HRESULT | gpgmm::d3d12::Reset ()=0 |
| Resets list to its initial state as if a new list was created.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResidencyList (IResidencyList **ppResidencyListOut) |
| Create a residency list or collection of heaps to manage together for residency.
|
|
virtual HRESULT | gpgmm::d3d12::SetVideoMemoryReservation (const DXGI_MEMORY_SEGMENT_GROUP &heapSegment, UINT64 availableForReservation, UINT64 *pCurrentReservationOut=nullptr)=0 |
| Sets video memory reservation.
|
|
virtual HRESULT | gpgmm::d3d12::QueryVideoMemoryInfo (const DXGI_MEMORY_SEGMENT_GROUP &heapSegment, DXGI_QUERY_VIDEO_MEMORY_INFO *pVideoMemoryInfoOut)=0 |
| Get the current budget and memory usage.
|
|
virtual HRESULT | gpgmm::d3d12::SetResidencyStatus (IResidencyHeap *pHeap, const RESIDENCY_HEAP_STATUS &newStatus)=0 |
| Update the residency status of a heap.
|
|
virtual HRESULT | gpgmm::d3d12::QueryStats (RESIDENCY_MANAGER_STATS *pResidencyManagerStats)=0 |
| Query the current residency usage.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResidencyManager (const RESIDENCY_MANAGER_DESC &descriptor, ID3D12Device *pDevice, IDXGIAdapter3 *pAdapter, IResidencyManager **ppResidencyManagerOut) |
| Create residency residency manager to manage video memory.
|
|
virtual void | gpgmm::d3d12::Unmap (UINT subresource, const D3D12_RANGE *pWrittenRange)=0 |
| Unmaps the resource allocation.
|
|
virtual ID3D12Resource * | gpgmm::d3d12::GetResource () const =0 |
| Returns the resource owned by this allocation.
|
|
virtual D3D12_GPU_VIRTUAL_ADDRESS | gpgmm::d3d12::GetGPUVirtualAddress () const =0 |
| Returns the GPU virtual address of the resource allocation.
|
|
virtual UINT64 | gpgmm::d3d12::GetOffsetFromResource () const =0 |
| Returns the start of the allocation in the resource.
|
|
virtual RESOURCE_ALLOCATION_INFO | gpgmm::d3d12::GetInfo () const =0 |
| Returns information about this resource allocation.
|
|
virtual IResidencyHeap * | gpgmm::d3d12::GetMemory () const =0 |
| Returns the heap assigned to this resource allocation.
|
|
virtual HRESULT | gpgmm::d3d12::GetResourceAllocator (IResourceAllocator **ppResourceAllocatorOut) const =0 |
| Get the resource allocator that created the resource for this allocation.
|
|
virtual HRESULT | gpgmm::d3d12::CreateResource (const RESOURCE_ALLOCATION_DESC &allocationDescriptor, ID3D12Resource *pCommittedResource, IResourceAllocation **ppResourceAllocationOut)=0 |
| Use existing ID3D12Resource as a resource allocation.
|
|
virtual HRESULT | gpgmm::d3d12::ReleaseResourceHeaps (UINT64 bytesToRelease, UINT64 *pBytesReleased)=0 |
| Return free memory back to the OS.
|
|
virtual HRESULT | gpgmm::d3d12::QueryStats (RESOURCE_ALLOCATOR_STATS *pResourceAllocatorStats)=0 |
| Query the current allocator usage.
|
|
virtual HRESULT | gpgmm::d3d12::CheckFeatureSupport (RESOURCE_ALLOCATOR_FEATURE feature, void *pFeatureSupportData, UINT featureSupportDataSize) const =0 |
| Gets information about the features that are supported by the resource allocator.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResourceAllocator (const RESOURCE_ALLOCATOR_DESC &allocatorDescriptor, ID3D12Device *pDevice, IDXGIAdapter *pAdapter, IResourceAllocator **ppResourceAllocatorOut, IResidencyManager **ppResidencyManagerOut) |
| Create a resource allocator with residency.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResourceAllocator (const RESOURCE_ALLOCATOR_DESC &allocatorDescriptor, ID3D12Device *pDevice, IDXGIAdapter *pAdapter, IResidencyManager *pResidencyManager, IResourceAllocator **ppResourceAllocatorOut) |
| Create a resource allocator using a specified residency manager.
|
|
GPGMM_EXPORT HRESULT | gpgmm::d3d12::CreateResourceAllocator (const RESOURCE_ALLOCATOR_DESC &allocatorDescriptor, IResourceAllocator *pResourceAllocator, IResourceAllocator **ppResourceAllocatorOut) |
| Create a resource allocator from an existing resource allocator.
|
|