MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / GetAllocationInfo

Method GetAllocationInfo

3rdparty/d3d12memalloc/src/D3D12MemAlloc.cpp:3562–3568  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3560}
3561
3562void BlockMetadata_Linear::GetAllocationInfo(AllocHandle allocHandle, VIRTUAL_ALLOCATION_INFO& outInfo) const
3563{
3564 const Suballocation& suballoc = FindSuballocation((UINT64)allocHandle - 1);
3565 outInfo.Offset = suballoc.offset;
3566 outInfo.Size = suballoc.size;
3567 outInfo.pPrivateData = suballoc.privateData;
3568}
3569
3570bool BlockMetadata_Linear::CreateAllocationRequest(
3571 UINT64 allocSize,

Callers

nothing calls this directly

Calls 1

IsFreeMethod · 0.45

Tested by

no test coverage detected