Home
last modified time | relevance | path

Searched refs:allocatedMemory (Results 1 – 8 of 8) sorted by relevance

/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DMemoryAllocator.cpp108 VkDeviceMemory allocatedMemory = VK_NULL_HANDLE; in Allocate() local
110 &allocatedMemory) != VK_SUCCESS) { in Allocate()
116 if (mDevice->fn.MapMemory(mDevice->GetVkDevice(), allocatedMemory, 0, requirements.size, in Allocate()
122 allocation->mMemory = allocatedMemory; in Allocate()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DResourceMemoryAllocatorVk.cpp87 VkDeviceMemory allocatedMemory = VK_NULL_HANDLE; in AllocateResourceHeap() local
92 &*allocatedMemory), in AllocateResourceHeap()
95 ASSERT(allocatedMemory != VK_NULL_HANDLE); in AllocateResourceHeap()
96 return {std::make_unique<ResourceHeap>(allocatedMemory, mMemoryTypeIndex)}; in AllocateResourceHeap()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceZirconHandle.cpp126 VkDeviceMemory allocatedMemory = VK_NULL_HANDLE; in ImportMemory() local
128 nullptr, &*allocatedMemory), in ImportMemory()
130 return allocatedMemory; in ImportMemory()
DMemoryServiceOpaqueFD.cpp125 VkDeviceMemory allocatedMemory = VK_NULL_HANDLE; in ImportMemory() local
127 nullptr, &*allocatedMemory), in ImportMemory()
129 return allocatedMemory; in ImportMemory()
DMemoryServiceDmaBuf.cpp211 VkDeviceMemory allocatedMemory = VK_NULL_HANDLE; in ImportMemory() local
214 nullptr, &*allocatedMemory), in ImportMemory()
216 return allocatedMemory; in ImportMemory()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DRendererVk.cpp3702 size = mSizesPerType[callbackData.objectType].allocatedMemory + callbackData.size; in processCallback()
3703 mSizesPerType[callbackData.objectType].allocatedMemory = size; in processCallback()
3718 size = mSizesPerType[callbackData.objectType].allocatedMemory - callbackData.size; in processCallback()
3719 mSizesPerType[callbackData.objectType].allocatedMemory = size; in processCallback()
3780 VkDeviceSize allocatedMemory = memorySizes.allocatedMemory; in logMemoryReportStats() local
3785 << ": Allocated=" << std::setw(10) << allocatedMemory << " (max=" << std::setw(10) in logMemoryReportStats()
DRendererVk.h72 VkDeviceSize allocatedMemory; member
/third_party/skia/src/gpu/vk/
DGrVkGpu.cpp2130 uint64_t allocatedMemory = fMemoryAllocator->totalAllocatedMemory(); in onReportSubmitHistograms() local
2132 SkASSERT(usedMemory <= allocatedMemory); in onReportSubmitHistograms()
2133 if (allocatedMemory > 0) { in onReportSubmitHistograms()
2135 (usedMemory * 100) / allocatedMemory); in onReportSubmitHistograms()
2139 SK_HISTOGRAM_MEMORY_KB("VulkanMemoryAllocator.AmountAllocated", allocatedMemory >> 10); in onReportSubmitHistograms()