vulkan-wsi-layer/util
Matteo Franchin f0b541a4e3 Use util::allocator in swapchain object
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: Matteo Franchin <matteo.franchin@arm.com>
2020-12-10 17:46:36 +00:00
..
custom_allocator.cpp Use util::allocator in swapchain object 2020-12-10 17:46:36 +00:00
custom_allocator.hpp Use util::allocator in swapchain object 2020-12-10 17:46:36 +00:00
timed_semaphore.cpp Initial sources for the vulkan-wsi-layer project 2019-05-31 15:48:05 +01:00
timed_semaphore.hpp Initial sources for the vulkan-wsi-layer project 2019-05-31 15:48:05 +01:00