Home
last modified time | relevance | path

Searched refs:GrVkSubHeap (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkMemory.cpp462 GrVkSubHeap::GrVkSubHeap(const GrVkGpu* gpu, uint32_t memoryTypeIndex, uint32_t heapIndex, in GrVkSubHeap() function in GrVkSubHeap
492 GrVkSubHeap::~GrVkSubHeap() { in ~GrVkSubHeap()
500 bool GrVkSubHeap::alloc(VkDeviceSize size, GrVkAlloc* alloc) { in alloc()
505 void GrVkSubHeap::free(const GrVkAlloc& alloc) { in free()
564 std::unique_ptr<GrVkSubHeap>& subHeap = fSubHeaps.push_back(); in subAlloc()
565 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, fSubHeapSize, alignment)); in subAlloc()
569 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, alignedSize, alignment)); in subAlloc()
612 std::unique_ptr<GrVkSubHeap>& subHeap = fSubHeaps.push_back(); in singleAlloc()
613 subHeap.reset(new GrVkSubHeap(fGpu, memoryTypeIndex, heapIndex, alignedSize, alignment)); in singleAlloc()
DGrVkMemory.h94 class GrVkSubHeap : public GrVkFreeListAlloc {
96 GrVkSubHeap(const GrVkGpu* gpu, uint32_t memoryTypeIndex, uint32_t heapIndex,
98 ~GrVkSubHeap();
165 SkTArray<std::unique_ptr<GrVkSubHeap>> fSubHeaps;
/external/skia/tests/
DVkHeapTests.cpp25 GrVkSubHeap heap(gpu, 0, 0, 64 * 1024, 32); in subheap_test()