Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DStagingBufferVk.cpp47 DAWN_TRY_ASSIGN(mAllocation, mDevice->GetResourceMemoryAllocator()->Allocate( in Initialize()
52 ToBackend(mAllocation.GetResourceHeap())->GetMemory(), in Initialize()
53 mAllocation.GetOffset()), in Initialize()
56 mMappedPointer = mAllocation.GetMappedPointer(); in Initialize()
70 mDevice->GetResourceMemoryAllocator()->Deallocate(&mAllocation); in ~StagingBuffer()
DStagingBufferVk.h38 ResourceMemoryAllocation mAllocation; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_utils.cpp507 mAllocation.unmap(renderer->getAllocator()); in unmap()
523 mAllocation.destroy(renderer->getAllocator()); in destroy()
547 mAllocation.flush(renderer->getAllocator(), offset, size); in flush()
571 mAllocation.invalidate(renderer->getAllocator(), offset, size); in invalidate()
585 mAllocation.map(contextVk->getRenderer()->getAllocator(), &mMappedMemory)); in mapImpl()
598 mAllocation.destroy(renderer->getAllocator()); in destroy()
624 &memoryTypeIndex, &mBuffer, &mAllocation)); in init()
632 ANGLE_TRY(InitMappableAllocation(context, allocator, &mAllocation, size, kNonZeroInitValue, in init()
642 contextVk->addGarbage(&mAllocation); in release()
649 garbageList.emplace_back(GetGarbage(&mAllocation)); in collectGarbage()
Dvk_utils.h409 Allocation *getMemoryObject() { return &mAllocation; }
414 Allocation mAllocation; // use mAllocation if isExternalBuffer() is false
438 Allocation mAllocation;