MCPcopy Create free account
hub / github.com/comaps/comaps / LessBlockSize

Class LessBlockSize

libs/drape/vulkan/vulkan_memory_manager.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56struct 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
66VulkanMemoryManager::VulkanMemoryManager(VkDevice device, VkPhysicalDeviceLimits const & deviceLimits,

Callers 3

AllocateMethod · 0.85
DeallocateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected