Home
last modified time | relevance | path

Searched refs:mMemoryAllocation (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBufferVk.cpp139 &mMemoryAllocation)) { in Buffer()
144 mMemoryAllocation.GetMemory(), in Buffer()
145 mMemoryAllocation.GetMemoryOffset()) != VK_SUCCESS) { in Buffer()
204 return mMemoryAllocation.GetMappedPointer() != nullptr; in IsMapWritable()
208 *mappedPointer = mMemoryAllocation.GetMappedPointer(); in MapAtCreationImpl()
218 uint8_t* memory = mMemoryAllocation.GetMappedPointer(); in MapReadAsyncImpl()
231 uint8_t* memory = mMemoryAllocation.GetMappedPointer(); in MapWriteAsyncImpl()
243 ToBackend(GetDevice())->GetMemoryAllocator()->Free(&mMemoryAllocation); in DestroyImpl()
DTextureVk.cpp423 if (!device->GetMemoryAllocator()->Allocate(requirements, false, &mMemoryAllocation)) { in Texture()
428 mMemoryAllocation.GetMemory(), in Texture()
429 mMemoryAllocation.GetMemoryOffset()) != VK_SUCCESS) { in Texture()
476 if (mMemoryAllocation.GetMemory() != VK_NULL_HANDLE) { in DestroyImpl()
480 device->GetMemoryAllocator()->Free(&mMemoryAllocation); in DestroyImpl()
DBufferVk.h54 DeviceMemoryAllocation mMemoryAllocation; variable
DTextureVk.h57 DeviceMemoryAllocation mMemoryAllocation; variable
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBufferVk.cpp205 DAWN_TRY_ASSIGN(mMemoryAllocation, in Initialize()
211 ToBackend(mMemoryAllocation.GetResourceHeap())->GetMemory(), in Initialize()
212 mMemoryAllocation.GetOffset()), in Initialize()
298 return mMemoryAllocation.GetMappedPointer() != nullptr; in IsCPUWritableAtCreation()
327 uint8_t* memory = mMemoryAllocation.GetMappedPointer(); in GetMappedPointerImpl()
335 ToBackend(GetDevice())->GetResourceMemoryAllocator()->Deallocate(&mMemoryAllocation); in DestroyImpl()
DBufferVk.h75 ResourceMemoryAllocation mMemoryAllocation; variable
DTextureVk.h147 ResourceMemoryAllocation mMemoryAllocation; variable
DTextureVk.cpp672 DAWN_TRY_ASSIGN(mMemoryAllocation, device->GetResourceMemoryAllocator()->Allocate( in InitializeAsInternalTexture()
677 ToBackend(mMemoryAllocation.GetResourceHeap())->GetMemory(), in InitializeAsInternalTexture()
678 mMemoryAllocation.GetOffset()), in InitializeAsInternalTexture()
846 device->GetResourceMemoryAllocator()->Deallocate(&mMemoryAllocation); in DestroyImpl()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuddyMemoryAllocator.cpp85 info, memoryOffset, mTrackedSubAllocations[memoryIndex].mMemoryAllocation.get()}; in Allocate()
100 std::move(mTrackedSubAllocations[memoryIndex].mMemoryAllocation)); in Deallocate()
DBuddyMemoryAllocator.h66 std::unique_ptr<ResourceHeapBase> mMemoryAllocation; member