Home
last modified time | relevance | path

Searched refs:fSubHeaps (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkMemory.cpp545 for (auto i = 0; i < fSubHeaps.count(); ++i) { in subAlloc()
546 if (fSubHeaps[i]->memoryTypeIndex() == memoryTypeIndex && in subAlloc()
547 fSubHeaps[i]->alignment() == alignment) { in subAlloc()
548 VkDeviceSize heapSize = fSubHeaps[i]->largestBlockSize(); in subAlloc()
557 SkASSERT(fSubHeaps[bestFitIndex]->alignment() == alignment); in subAlloc()
558 if (fSubHeaps[bestFitIndex]->alloc(size, alloc)) { in subAlloc()
566 std::unique_ptr<GrVkSubHeap>& subHeap = fSubHeaps.push_back(); in subAlloc()
592 for (auto i = 0; i < fSubHeaps.count(); ++i) { in singleAlloc()
593 if (fSubHeaps[i]->memoryTypeIndex() == memoryTypeIndex && in singleAlloc()
594 fSubHeaps[i]->alignment() == alignment && in singleAlloc()
[all …]
DGrVkMemory.h165 SkTArray<std::unique_ptr<GrVkSubHeap>> fSubHeaps; variable