Home
last modified time | relevance | path

Searched refs:resourceHeap (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPooledResourceMemoryAllocator.cpp26 for (auto& resourceHeap : mPool) { in DestroyPool() local
27 ASSERT(resourceHeap != nullptr); in DestroyPool()
28 mHeapAllocator->DeallocateResourceHeap(std::move(resourceHeap)); in DestroyPool()
DResourceMemoryAllocation.cpp26 ResourceHeapBase* resourceHeap, in ResourceMemoryAllocation() argument
28 : mInfo(info), mOffset(offset), mResourceHeap(resourceHeap), mMappedPointer(mappedPointer) { in ResourceMemoryAllocation()
DResourceMemoryAllocation.h58 ResourceHeapBase* resourceHeap,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceMemoryAllocatorVk.cpp162 std::unique_ptr<ResourceHeapBase> resourceHeap; in Allocate() local
163 DAWN_TRY_ASSIGN(resourceHeap, mAllocatorsPerType[memoryType]->AllocateResourceHeap(size)); in Allocate()
169 ToBackend(resourceHeap.get())->GetMemory(), 0, in Allocate()
173 mAllocatorsPerType[memoryType]->DeallocateResourceHeap(std::move(resourceHeap)); in Allocate()
179 return ResourceMemoryAllocation(info, /*offset*/ 0, resourceHeap.release(), in Allocate()