Searched refs:memoryLimits (Results 1 – 2 of 2) sorted by relevance
351 size_t getSafeObjectCount (const PlatformMemoryLimits& memoryLimits, in getSafeObjectCount() argument355 …oundedUpDeviceMemory = roundUpToNextMultiple(objectDeviceMemoryUsage, memoryLimits.deviceMemoryAll… in getSafeObjectCount()357 if (memoryLimits.totalDeviceLocalMemory > 0 && roundedUpDeviceMemory > 0) in getSafeObjectCount()360 return de::min(memoryLimits.totalSystemMemory / objectSystemMemoryUsage, in getSafeObjectCount()361 (size_t)(memoryLimits.totalDeviceLocalMemory / roundedUpDeviceMemory)); in getSafeObjectCount()363 return (size_t)(memoryLimits.totalDeviceLocalMemory / roundedUpDeviceMemory); in getSafeObjectCount()368 return memoryLimits.totalSystemMemory / (objectSystemMemoryUsage + (size_t)roundedUpDeviceMemory); in getSafeObjectCount()379 PlatformMemoryLimits memoryLimits; in getPlatformMemoryLimits() local381 context.getTestContext().getPlatform().getVulkanPlatform().getMemoryLimits(memoryLimits); in getPlatformMemoryLimits()383 return memoryLimits; in getPlatformMemoryLimits()
779 const PlatformMemoryLimits& memoryLimits, in MemoryHeap() argument784 , m_limits (memoryLimits) in MemoryHeap()