Skip to content
  • Matteo Franchin's avatar
    Use util::allocator in swapchain object · f0b541a4
    Matteo Franchin authored
    
    
    Change util::allocator's create and destroy methods so that they can
    allocate multiple objects, in line with the allocate and deallocate
    methods of std::allocator.
    
    Also add documentation for util::allocator and its methods.
    
    Finally, use util::allocator in swapchain.cpp, rather than allocating
    memory directly via VkAllocationCallbacks.
    
    Change-Id: I0bc25abe3cbc3af9608218411da8d70e04dd9749
    Signed-off-by: default avatarMatteo Franchin <matteo.franchin@arm.com>
    f0b541a4