Home
last modified time | relevance | path

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

/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp544 size_t indexToFree = threadRand.Generate() % commonAllocations.size(); in MainTest() local
546 … vmaGetAllocationInfo(g_hAllocator, commonAllocations[indexToFree].Alloc, &allocationInfo); in MainTest()
550 if(commonAllocations[indexToFree].Buffer != VK_NULL_HANDLE) in MainTest()
551 …vmaDestroyBuffer(g_hAllocator, commonAllocations[indexToFree].Buffer, commonAllocations[indexToFre… in MainTest()
553 …vmaDestroyImage(g_hAllocator, commonAllocations[indexToFree].Image, commonAllocations[indexToFree]… in MainTest()
555 commonAllocations.erase(commonAllocations.begin() + indexToFree); in MainTest()
563 size_t indexToFree = threadRand.Generate() % threadAllocations.size(); in MainTest() local
565 … vmaGetAllocationInfo(g_hAllocator, threadAllocations[indexToFree].Alloc, &allocationInfo); in MainTest()
569 if(threadAllocations[indexToFree].Buffer != VK_NULL_HANDLE) in MainTest()
570 …vmaDestroyBuffer(g_hAllocator, threadAllocations[indexToFree].Buffer, threadAllocations[indexToFre… in MainTest()
[all …]