• Home
  • Raw
  • Download

Lines Matching refs:suballocItem

5373         VmaSuballocationList::const_iterator suballocItem,
5384 VmaSuballocationList::iterator FreeSuballocation(VmaSuballocationList::iterator suballocItem);
7661 VmaSuballocationList::iterator suballocItem = m_Suballocations.end(); in Init() local
7662 --suballocItem; in Init()
7663 m_FreeSuballocationsBySize.push_back(suballocItem); in Init()
7682 for(VmaSuballocationList::const_iterator suballocItem = m_Suballocations.cbegin(); in Validate() local
7683 suballocItem != m_Suballocations.cend(); in Validate()
7684 ++suballocItem) in Validate()
7686 const VmaSuballocation& subAlloc = *suballocItem; in Validate()
7729 VmaSuballocationList::iterator suballocItem = m_FreeSuballocationsBySize[i]; in Validate() local
7732 VMA_VALIDATE(suballocItem->type == VMA_SUBALLOCATION_TYPE_FREE); in Validate()
7734 VMA_VALIDATE(suballocItem->size >= lastSize); in Validate()
7736 lastSize = suballocItem->size; in Validate()
7781 for(VmaSuballocationList::const_iterator suballocItem = m_Suballocations.cbegin(); in CalcAllocationStatInfo() local
7782 suballocItem != m_Suballocations.cend(); in CalcAllocationStatInfo()
7783 ++suballocItem) in CalcAllocationStatInfo()
7785 const VmaSuballocation& suballoc = *suballocItem; in CalcAllocationStatInfo()
7820 for(VmaSuballocationList::const_iterator suballocItem = m_Suballocations.cbegin(); in PrintDetailedMap() local
7821 suballocItem != m_Suballocations.cend(); in PrintDetailedMap()
7822 ++suballocItem, ++i) in PrintDetailedMap()
7824 if(suballocItem->type == VMA_SUBALLOCATION_TYPE_FREE) in PrintDetailedMap()
7826 PrintDetailedMap_UnusedRange(json, suballocItem->offset, suballocItem->size); in PrintDetailedMap()
7830 PrintDetailedMap_Allocation(json, suballocItem->offset, suballocItem->hAllocation); in PrintDetailedMap()
8140 for(VmaSuballocationList::iterator suballocItem = m_Suballocations.begin(); in Free() local
8141 suballocItem != m_Suballocations.end(); in Free()
8142 ++suballocItem) in Free()
8144 VmaSuballocation& suballoc = *suballocItem; in Free()
8147 FreeSuballocation(suballocItem); in Free()
8157 for(VmaSuballocationList::iterator suballocItem = m_Suballocations.begin(); in FreeAtOffset() local
8158 suballocItem != m_Suballocations.end(); in FreeAtOffset()
8159 ++suballocItem) in FreeAtOffset()
8161 VmaSuballocation& suballoc = *suballocItem; in FreeAtOffset()
8164 FreeSuballocation(suballocItem); in FreeAtOffset()
8174 for(iter_type suballocItem = m_Suballocations.begin(); in ResizeAllocation() local
8175 suballocItem != m_Suballocations.end(); in ResizeAllocation()
8176 ++suballocItem) in ResizeAllocation()
8178 VmaSuballocation& suballoc = *suballocItem; in ResizeAllocation()
8181 iter_type nextItem = suballocItem; in ResizeAllocation()
8320 VmaSuballocationList::const_iterator suballocItem, in CheckAllocation() argument
8329 VMA_ASSERT(suballocItem != m_Suballocations.cend()); in CheckAllocation()
8338 if(suballocItem->type == VMA_SUBALLOCATION_TYPE_FREE) in CheckAllocation()
8340 *pSumFreeSize = suballocItem->size; in CheckAllocation()
8344 if(suballocItem->hAllocation->CanBecomeLost() && in CheckAllocation()
8345suballocItem->hAllocation->GetLastUseFrameIndex() + frameInUseCount < currentFrameIndex) in CheckAllocation()
8348 *pSumItemSize = suballocItem->size; in CheckAllocation()
8357 if(GetSize() - suballocItem->offset < allocSize) in CheckAllocation()
8363 *pOffset = suballocItem->offset; in CheckAllocation()
8379 VmaSuballocationList::const_iterator prevSuballocItem = suballocItem; in CheckAllocation()
8404 if(*pOffset >= suballocItem->offset + suballocItem->size) in CheckAllocation()
8410 const VkDeviceSize paddingBegin = *pOffset - suballocItem->offset; in CheckAllocation()
8417 if(suballocItem->offset + totalSize > GetSize()) in CheckAllocation()
8424 VmaSuballocationList::const_iterator lastSuballocItem = suballocItem; in CheckAllocation()
8425 if(totalSize > suballocItem->size) in CheckAllocation()
8427 VkDeviceSize remainingSize = totalSize - suballocItem->size; in CheckAllocation()
8494 const VmaSuballocation& suballoc = *suballocItem; in CheckAllocation()
8522 VmaSuballocationList::const_iterator prevSuballocItem = suballocItem; in CheckAllocation()
8561 VmaSuballocationList::const_iterator nextSuballocItem = suballocItem; in CheckAllocation()
8602 …::iterator VmaBlockMetadata_Generic::FreeSuballocation(VmaSuballocationList::iterator suballocItem) in FreeSuballocation() argument
8605 VmaSuballocation& suballoc = *suballocItem; in FreeSuballocation()
8617 VmaSuballocationList::iterator nextItem = suballocItem; in FreeSuballocation()
8624 VmaSuballocationList::iterator prevItem = suballocItem; in FreeSuballocation()
8625 if(suballocItem != m_Suballocations.begin()) in FreeSuballocation()
8637 MergeFreeWithNext(suballocItem); in FreeSuballocation()
8649 RegisterFreeSuballocation(suballocItem); in FreeSuballocation()
8650 return suballocItem; in FreeSuballocation()