• Home
  • Raw
  • Download

Lines Matching refs:allocSize

5230         VkDeviceSize allocSize,
5252 VkDeviceSize allocSize,
5315 VkDeviceSize allocSize,
5335 VkDeviceSize allocSize,
5370 VkDeviceSize allocSize,
5496 VkDeviceSize allocSize,
5516 VkDeviceSize allocSize,
5606 VkDeviceSize allocSize,
5626 VkDeviceSize allocSize,
5699 uint32_t AllocSizeToLevel(VkDeviceSize allocSize) const;
5763 …icValueAroundAllocation(VmaAllocator hAllocator, VkDeviceSize allocOffset, VkDeviceSize allocSize);
5764 …icValueAroundAllocation(VmaAllocator hAllocator, VkDeviceSize allocOffset, VkDeviceSize allocSize);
7843 VkDeviceSize allocSize, in CreateAllocationRequest() argument
7851 VMA_ASSERT(allocSize > 0); in CreateAllocationRequest()
7859 m_SumFreeSize < allocSize + 2 * VMA_DEBUG_MARGIN) in CreateAllocationRequest()
7874 allocSize + 2 * VMA_DEBUG_MARGIN, in CreateAllocationRequest()
7883 allocSize, in CreateAllocationRequest()
7908 allocSize, in CreateAllocationRequest()
7932 allocSize, in CreateAllocationRequest()
7968 allocSize, in CreateAllocationRequest()
8075 VkDeviceSize allocSize, in Alloc() argument
8087 VMA_ASSERT(suballoc.size >= paddingBegin + allocSize); in Alloc()
8088 const VkDeviceSize paddingEnd = suballoc.size - paddingBegin - allocSize; in Alloc()
8095 suballoc.size = allocSize; in Alloc()
8103 paddingSuballoc.offset = request.offset + allocSize; in Alloc()
8135 m_SumFreeSize -= allocSize; in Alloc()
8317 VkDeviceSize allocSize, in CheckAllocation() argument
8327 VMA_ASSERT(allocSize > 0); in CheckAllocation()
8357 if(GetSize() - suballocItem->offset < allocSize) in CheckAllocation()
8415 const VkDeviceSize totalSize = paddingBegin + allocSize + requiredEndMargin; in CheckAllocation()
8467 … if(VmaBlocksOnSamePage(*pOffset, allocSize, nextSuballoc.offset, bufferImageGranularity)) in CheckAllocation()
8500 if(suballoc.size < allocSize) in CheckAllocation()
8552 if(paddingBegin + allocSize + requiredEndMargin > suballoc.size) in CheckAllocation()
8566 … if(VmaBlocksOnSamePage(*pOffset, allocSize, nextSuballoc.offset, bufferImageGranularity)) in CheckAllocation()
9651 VkDeviceSize allocSize, in CreateAllocationRequest() argument
9659 VMA_ASSERT(allocSize > 0); in CreateAllocationRequest()
9677 if(allocSize > size) in CreateAllocationRequest()
9681 VkDeviceSize resultBaseOffset = size - allocSize; in CreateAllocationRequest()
9685 resultBaseOffset = lastSuballoc.offset - allocSize; in CreateAllocationRequest()
9686 if(allocSize > lastSuballoc.offset) in CreateAllocationRequest()
9716 … if(VmaBlocksOnSamePage(resultOffset, allocSize, nextSuballoc.offset, bufferImageGranularity)) in CreateAllocationRequest()
9764 pAllocationRequest->sumFreeSize = resultBaseOffset + allocSize - endOf1st; in CreateAllocationRequest()
9826 if(resultOffset + allocSize + VMA_DEBUG_MARGIN <= freeSpaceEnd) in CreateAllocationRequest()
9835 … if(VmaBlocksOnSamePage(resultOffset, allocSize, nextSuballoc.offset, bufferImageGranularity)) in CreateAllocationRequest()
9918 … resultOffset + allocSize + VMA_DEBUG_MARGIN > suballocations1st[index1st].offset) in CreateAllocationRequest()
9950 … if(VmaBlocksOnSamePage(resultOffset, allocSize, suballoc.offset, bufferImageGranularity)) 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()
9990 … if(VmaBlocksOnSamePage(resultOffset, allocSize, nextSuballoc.offset, bufferImageGranularity)) in CreateAllocationRequest()
10154 VkDeviceSize allocSize, in Alloc() argument
10158 const VmaSuballocation newSuballoc = { request.offset, allocSize, hAllocation, type }; in Alloc()
10183 VMA_ASSERT(request.offset + allocSize <= GetSize()); in Alloc()
10187 … else if(request.offset + allocSize <= suballocations1st[m_1stNullItemsBeginCount].offset) in Alloc()
10592 VkDeviceSize allocSize, in CreateAllocationRequest() argument
10609 allocSize = VMA_MAX(allocSize, bufferImageGranularity); in CreateAllocationRequest()
10612 if(allocSize > m_UsableSize) in CreateAllocationRequest()
10617 const uint32_t targetLevel = AllocSizeToLevel(allocSize); in CreateAllocationRequest()
10663 VkDeviceSize allocSize, in Alloc() argument
10667 const uint32_t targetLevel = AllocSizeToLevel(allocSize); in Alloc()
10732 m_SumFreeSize -= allocSize; in Alloc()
10790 uint32_t VmaBlockMetadata_Buddy::AllocSizeToLevel(VkDeviceSize allocSize) const in AllocSizeToLevel() argument
10796 while(allocSize <= nextLevelNodeSize && level + 1 < m_LevelCount) in AllocSizeToLevel()
10868 const VkDeviceSize allocSize = node->allocation.alloc->GetSize(); in CalcAllocationStatInfoNode() local
10870 outInfo.usedBytes += allocSize; in CalcAllocationStatInfoNode()
10871 outInfo.allocationSizeMax = VMA_MAX(outInfo.allocationSizeMax, allocSize); in CalcAllocationStatInfoNode()
10872 outInfo.allocationSizeMin = VMA_MAX(outInfo.allocationSizeMin, allocSize); in CalcAllocationStatInfoNode()
10874 const VkDeviceSize unusedRangeSize = levelNodeSize - allocSize; in CalcAllocationStatInfoNode()
10962 const VkDeviceSize allocSize = node->allocation.alloc->GetSize(); in PrintDetailedMapNode() local
10963 if(allocSize < levelNodeSize) in PrintDetailedMapNode()
10965 … PrintDetailedMap_UnusedRange(json, node->offset + allocSize, levelNodeSize - allocSize); in PrintDetailedMapNode()
11129 …gicValueAroundAllocation(VmaAllocator hAllocator, VkDeviceSize allocOffset, VkDeviceSize allocSize) in WriteMagicValueAroundAllocation() argument
11142 VmaWriteMagicValue(pData, allocOffset + allocSize); in WriteMagicValueAroundAllocation()
11149 …gicValueAroundAllocation(VmaAllocator hAllocator, VkDeviceSize allocOffset, VkDeviceSize allocSize) in ValidateMagicValueAroundAllocation() argument
11165 else if(!VmaValidateMagicValue(pData, allocOffset + allocSize)) in ValidateMagicValueAroundAllocation()