vulkan-wsi-layer/wsi
Iason Paraskevopoulos feee8f5d36 Use common code for get_surface_formats implementations
Adds a template function for setting the supported surface formats for
a surface. This function is used in the get_surface_formats
implementation of both the WSI backends, which previously were
implementing the same logic independently.

Removes the unused surface argument from get_surface_formats and
get_surface_capabilities.

Change-Id: Ib220166675d1c24aeef230cf9f510abba9e42a61
Signed-off-by: Iason Paraskevopoulos <iason.paraskevopoulos@arm.com>
2022-03-10 10:22:22 +00:00
..
headless Use common code for get_surface_formats implementations 2022-03-10 10:22:22 +00:00
wayland Use common code for get_surface_formats implementations 2022-03-10 10:22:22 +00:00
surface.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface_properties.hpp Use common code for get_surface_formats implementations 2022-03-10 10:22:22 +00:00
swapchain_base.cpp Mark fences and semaphores as already signalled in AcquireNextImage 2022-02-08 15:27:29 +00:00
swapchain_base.hpp Fix bug in has_descendant_started_presenting in headless backend 2021-12-06 13:06:33 +00:00
synchronization.cpp Update code to use modern c++ style 2021-11-11 10:15:22 +00:00
synchronization.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
wsi_factory.cpp Mark fences and semaphores as already signalled in AcquireNextImage 2022-02-08 15:27:29 +00:00
wsi_factory.hpp Store enabled instance and device extensions 2021-11-17 11:51:30 +00:00