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.cpp4034 size_t sizeSum = 0; in updateHistograms() local
4037 sizeSum += buffer->getTotalCPUBufferMemoryBytes(); in updateHistograms()
4041 static_cast<int>(sizeSum) / kOneMegaByte); in updateHistograms()
/external/angle/third_party/vulkan_memory_allocator/src/
DTests.cpp135 VkDeviceSize sizeSum = 0; in CalcAvgResourceSize() local
140sizeSum += (allocSize.BufferSizeMin + allocSize.BufferSizeMax) / 2 * allocSize.Probability; in CalcAvgResourceSize()
144 sizeSum += avgDimension * avgDimension * 4 * allocSize.Probability; in CalcAvgResourceSize()
148 return sizeSum / probabilitySum; in CalcAvgResourceSize()