Searched refs:availableInHeap (Results 1 – 1 of 1) sorted by relevance
851 const VkDeviceSize availableInHeap = m_heap.size/MAX_MEMORY_USAGE_DIV - m_usage; in getAvailableMem() local861 return de::min(availableInHeap, (totalSysMem-totalUsage) / (1 + REFERENCE_BYTES_PER_BYTE)); in getAvailableMem()876 …return de::min(de::min(availableInHeap, totalMemClass-usedMemClass), (totalSysMem - totalUsage) / … in getAvailableMem()