vulkan-wsi-layer/util
Dennis Tsiang 292a3c14d7 Decouple creation, allocation and binding of images from Wayland backend
A lot of the steps involved in creating a VkImage, allocating backing
memory, and binding the VkImage to the memory do not rely specifically
on Wayland features and could be common to other WSI backends.

This commit attempts to decouple the create_and_bind_swapchain_image()
function in the wsi/wayland/swapchain.cpp from Wayland and wsialloc
specific parts, and instead move the independent parts related to
external memory management to a new external_memory class. This will
allow the independent code to be re-used in future WSI backends.

Signed-off-by: Dennis Tsiang <dennis.tsiang@arm.com>
Change-Id: I8c13ccbbfaef0d345fcd06192e6de484dd53645f
2022-10-21 15:28:09 +00:00
..
drm Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
wsialloc Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
custom_allocator.cpp Set default visiblity of functions to hidden 2021-11-08 13:42:20 +00:00
custom_allocator.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
extension_list.cpp Fix issue found by static analysis 2022-08-03 13:39:26 +00:00
extension_list.hpp Mark fences and semaphores as already signalled in AcquireNextImage 2022-02-08 15:27:29 +00:00
file_descriptor.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
format_modifiers.cpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
format_modifiers.hpp Add support for VK_EXT_image_compression_control_swapchain 2022-05-25 16:49:52 +01:00
helpers.hpp Decouple creation, allocation and binding of images from Wayland backend 2022-10-21 15:28:09 +00:00
log.cpp Fix formatting issues 2021-10-29 08:51:25 +00:00
log.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
macros.hpp Set default visiblity of functions to hidden 2021-11-08 13:42:20 +00:00
platform_set.hpp Enable instance extensions required by layer 2022-05-30 13:51:20 +01:00
ring_buffer.hpp Update WSI layer to use C++17 2022-08-19 08:56:59 +00:00
timed_semaphore.cpp Fix issues found by static analysis 2022-07-21 19:05:53 +01:00
timed_semaphore.hpp Fix OOM issue 2021-11-11 18:27:31 +00:00
unordered_map.hpp Update WSI layer to use C++17 2022-08-19 08:56:59 +00:00
unordered_set.hpp Update WSI layer to use C++17 2022-08-19 08:56:59 +00:00