Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DResourceManager11.cpp37 uint64_t sizeSum = 0; in ComputeMippedMemoryUsage() local
44 sizeSum += static_cast<uint64_t>(mipWidth * mipHeight * mipDepth) * pixelSize; in ComputeMippedMemoryUsage()
47 return sizeSum; in ComputeMippedMemoryUsage()
DRenderer11.cpp3829 size_t sizeSum = 0; in updateHistograms() local
3832 sizeSum += buffer->getTotalCPUBufferMemoryBytes(); in updateHistograms()
3836 static_cast<int>(sizeSum) / kOneMegaByte); in updateHistograms()
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp132 VkDeviceSize sizeSum = 0; in CalcAvgResourceSize() local
137sizeSum += (allocSize.BufferSizeMin + allocSize.BufferSizeMax) / 2 * allocSize.Probability; in CalcAvgResourceSize()
141 sizeSum += avgDimension * avgDimension * 4 * allocSize.Probability; in CalcAvgResourceSize()
145 return sizeSum / probabilitySum; in CalcAvgResourceSize()