| 54 | } |
| 55 | |
| 56 | struct LessBlockSize |
| 57 | { |
| 58 | using BlockPtrT = drape_ptr<VulkanMemoryManager::MemoryBlock>; |
| 59 | |
| 60 | bool operator()(BlockPtrT const & b1, BlockPtrT const & b2) const { return b1->m_blockSize < b2->m_blockSize; } |
| 61 | bool operator()(BlockPtrT const & b1, uint32_t b2) const { return b1->m_blockSize < b2; } |
| 62 | bool operator()(uint32_t b1, BlockPtrT const & b2) const { return b1 < b2->m_blockSize; } |
| 63 | }; |
| 64 | } // namespace |
| 65 | |
| 66 | VulkanMemoryManager::VulkanMemoryManager(VkDevice device, VkPhysicalDeviceLimits const & deviceLimits, |
no outgoing calls
no test coverage detected