vulkan-wsi-layer/wsi/headless
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
..
surface.cpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface.hpp Fix formatting issues 2021-10-29 08:51:25 +00:00
surface_properties.cpp Use common code for get_surface_formats implementations 2022-03-10 10:22:22 +00:00
surface_properties.hpp Use common code for get_surface_formats implementations 2022-03-10 10:22:22 +00:00
swapchain.cpp Update code to use modern c++ style 2021-11-11 10:15:22 +00:00
swapchain.hpp Ensure that swapchain is not passed to the ICD when creating images 2021-11-08 14:17:34 +00:00