Lines Matching refs:suballocations1st
8770 const SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in Validate() local
8774 VMA_VALIDATE(!suballocations1st.empty() || in Validate()
8778 if(!suballocations1st.empty()) in Validate()
8781 VMA_VALIDATE(suballocations1st[m_1stNullItemsBeginCount].hAllocation != VK_NULL_HANDLE); in Validate()
8783 VMA_VALIDATE(suballocations1st.back().hAllocation != VK_NULL_HANDLE); in Validate()
8791 VMA_VALIDATE(m_1stNullItemsBeginCount + m_1stNullItemsMiddleCount <= suballocations1st.size()); in Validate()
8795 const size_t suballoc1stCount = suballocations1st.size(); in Validate()
8829 const VmaSuballocation& suballoc = suballocations1st[i]; in Validate()
8838 const VmaSuballocation& suballoc = suballocations1st[i]; in Validate()
8915 const SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in GetUnusedRangeSizeMax() local
8925 const size_t suballocations1stCount = suballocations1st.size(); in GetUnusedRangeSizeMax()
8927 const VmaSuballocation& firstSuballoc = suballocations1st[m_1stNullItemsBeginCount]; in GetUnusedRangeSizeMax()
8928 const VmaSuballocation& lastSuballoc = suballocations1st[suballocations1stCount - 1]; in GetUnusedRangeSizeMax()
8942 const VmaSuballocation& firstSuballoc1st = suballocations1st[m_1stNullItemsBeginCount]; in GetUnusedRangeSizeMax()
8954 const VmaSuballocation& lastSuballoc1st = suballocations1st.back(); in GetUnusedRangeSizeMax()
8968 const SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in CalcAllocationStatInfo() local
8970 const size_t suballoc1stCount = suballocations1st.size(); in CalcAllocationStatInfo()
8986 … const VkDeviceSize freeSpace2ndTo1stEnd = suballocations1st[m_1stNullItemsBeginCount].offset; in CalcAllocationStatInfo()
9049 suballocations1st[nextAlloc1stIndex].hAllocation == VK_NULL_HANDLE) in CalcAllocationStatInfo()
9057 const VmaSuballocation& suballoc = suballocations1st[nextAlloc1stIndex]; in CalcAllocationStatInfo()
9160 const SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in AddPoolStats() local
9163 const size_t suballoc1stCount = suballocations1st.size(); in AddPoolStats()
9172 … const VkDeviceSize freeSpace2ndTo1stEnd = suballocations1st[m_1stNullItemsBeginCount].offset; in AddPoolStats()
9231 suballocations1st[nextAlloc1stIndex].hAllocation == VK_NULL_HANDLE) in AddPoolStats()
9239 const VmaSuballocation& suballoc = suballocations1st[nextAlloc1stIndex]; in AddPoolStats()
9334 const SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in PrintDetailedMap() local
9336 const size_t suballoc1stCount = suballocations1st.size(); in PrintDetailedMap()
9349 … const VkDeviceSize freeSpace2ndTo1stEnd = suballocations1st[m_1stNullItemsBeginCount].offset; in PrintDetailedMap()
9404 suballocations1st[nextAlloc1stIndex].hAllocation == VK_NULL_HANDLE) in PrintDetailedMap()
9412 const VmaSuballocation& suballoc = suballocations1st[nextAlloc1stIndex]; in PrintDetailedMap()
9500 … const VkDeviceSize freeSpace2ndTo1stEnd = suballocations1st[m_1stNullItemsBeginCount].offset; in PrintDetailedMap()
9553 suballocations1st[nextAlloc1stIndex].hAllocation == VK_NULL_HANDLE) in PrintDetailedMap()
9561 const VmaSuballocation& suballoc = suballocations1st[nextAlloc1stIndex]; in PrintDetailedMap()
9665 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in CreateAllocationRequest() local
9735 const VkDeviceSize endOf1st = !suballocations1st.empty() ? in CreateAllocationRequest()
9736 suballocations1st.back().offset + suballocations1st.back().size : in CreateAllocationRequest()
9744 for(size_t prevSuballocIndex = suballocations1st.size(); prevSuballocIndex--; ) in CreateAllocationRequest()
9746 const VmaSuballocation& prevSuballoc = suballocations1st[prevSuballocIndex]; in CreateAllocationRequest()
9778 if(!suballocations1st.empty()) in CreateAllocationRequest()
9780 const VmaSuballocation& lastSuballoc = suballocations1st.back(); in CreateAllocationRequest()
9798 if(bufferImageGranularity > 1 && !suballocations1st.empty()) in CreateAllocationRequest()
9801 for(size_t prevSuballocIndex = suballocations1st.size(); prevSuballocIndex--; ) in CreateAllocationRequest()
9803 const VmaSuballocation& prevSuballoc = suballocations1st[prevSuballocIndex]; in CreateAllocationRequest()
9864 VMA_ASSERT(!suballocations1st.empty()); in CreateAllocationRequest()
9917 while(index1st < suballocations1st.size() && in CreateAllocationRequest()
9918 … resultOffset + allocSize + VMA_DEBUG_MARGIN > suballocations1st[index1st].offset) in CreateAllocationRequest()
9921 const VmaSuballocation& suballoc = suballocations1st[index1st]; in CreateAllocationRequest()
9947 while(index1st < suballocations1st.size()) in CreateAllocationRequest()
9949 const VmaSuballocation& suballoc = suballocations1st[index1st]; in CreateAllocationRequest()
9978 … if((index1st == suballocations1st.size() && resultOffset + allocSize + VMA_DEBUG_MARGIN < size) || in CreateAllocationRequest()
9979 …(index1st < suballocations1st.size() && resultOffset + allocSize + VMA_DEBUG_MARGIN <= suballocati… in CreateAllocationRequest()
9986 nextSuballocIndex < suballocations1st.size(); in CreateAllocationRequest()
9989 const VmaSuballocation& nextSuballoc = suballocations1st[nextSuballocIndex]; in CreateAllocationRequest()
10008 … (index1st < suballocations1st.size() ? suballocations1st[index1st].offset : size) in CreateAllocationRequest()
10032 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in MakeRequestedAllocationsLost() local
10037 VMA_ASSERT(index1st < suballocations1st.size()); in MakeRequestedAllocationsLost()
10038 VmaSuballocation& suballoc = suballocations1st[index1st]; in MakeRequestedAllocationsLost()
10069 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in MakeAllocationsLost() local
10070 for(size_t i = m_1stNullItemsBeginCount, count = suballocations1st.size(); i < count; ++i) in MakeAllocationsLost()
10072 VmaSuballocation& suballoc = suballocations1st[i]; in MakeAllocationsLost()
10110 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in CheckCorruption() local
10111 for(size_t i = m_1stNullItemsBeginCount, count = suballocations1st.size(); i < count; ++i) in CheckCorruption()
10113 const VmaSuballocation& suballoc = suballocations1st[i]; in CheckCorruption()
10170 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in Alloc() local
10173 if(suballocations1st.empty()) in Alloc()
10175 suballocations1st.push_back(newSuballoc); in Alloc()
10180 if(request.offset >= suballocations1st.back().offset + suballocations1st.back().size) in Alloc()
10184 suballocations1st.push_back(newSuballoc); in Alloc()
10187 … else if(request.offset + allocSize <= suballocations1st[m_1stNullItemsBeginCount].offset) in Alloc()
10228 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in FreeAtOffset() local
10231 if(!suballocations1st.empty()) in FreeAtOffset()
10234 VmaSuballocation& firstSuballoc = suballocations1st[m_1stNullItemsBeginCount]; in FreeAtOffset()
10262 VmaSuballocation& lastSuballoc = suballocations1st.back(); in FreeAtOffset()
10266 suballocations1st.pop_back(); in FreeAtOffset()
10278 suballocations1st.begin() + m_1stNullItemsBeginCount, in FreeAtOffset()
10279 suballocations1st.end(), in FreeAtOffset()
10281 if(it != suballocations1st.end()) in FreeAtOffset()
10324 SuballocationVectorType& suballocations1st = AccessSuballocations1st(); in CleanupAfterFree() local
10329 suballocations1st.clear(); in CleanupAfterFree()
10338 const size_t suballoc1stCount = suballocations1st.size(); in CleanupAfterFree()
10344 suballocations1st[m_1stNullItemsBeginCount].hAllocation == VK_NULL_HANDLE) in CleanupAfterFree()
10352 suballocations1st.back().hAllocation == VK_NULL_HANDLE) in CleanupAfterFree()
10355 suballocations1st.pop_back(); in CleanupAfterFree()
10372 while(suballocations1st[srcIndex].hAllocation == VK_NULL_HANDLE) in CleanupAfterFree()
10378 suballocations1st[dstIndex] = suballocations1st[srcIndex]; in CleanupAfterFree()
10382 suballocations1st.resize(nonNullItemCount); in CleanupAfterFree()
10394 if(suballocations1st.size() - m_1stNullItemsBeginCount == 0) in CleanupAfterFree()
10396 suballocations1st.clear(); in CleanupAfterFree()