Searched refs:memClass (Results 1 – 1 of 1) sorted by relevance
746 void allocate (MemoryClass memClass, VkDeviceSize size) in allocate() argument748 m_usage[memClass] += size; in allocate()751 void free (MemoryClass memClass, VkDeviceSize size) in free() argument753 DE_ASSERT(size <= m_usage[memClass]); in free()754 m_usage[memClass] -= size; in free()757 VkDeviceSize getUsage (MemoryClass memClass) const in getUsage()759 return m_usage[memClass]; in getUsage()868 const MemoryClass memClass = getMemoryClass(); in getAvailableMem() local869 const VkDeviceSize totalMemClass = memClass == MEMORY_CLASS_SYSTEM in getAvailableMem()872 const VkDeviceSize usedMemClass = m_totalMemTracker.getUsage(memClass); in getAvailableMem()