28 VkPresentModeKHR *present_modes;
29 VkSurfaceFormatKHR *formats;
31 uint32_t present_mode_count;
32 uint32_t format_count;
34 VkSurfaceCapabilitiesKHR caps;
36#ifdef VK_EXT_display_surface_counter
37 VkSurfaceCapabilities2EXT caps2;
57XRT_CHECK_RESULT VkResult
u_logging_level
Logging level enum.
Definition: u_logging.h:40
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Definition: vk_helpers.h:49
Definition: vk_surface_info.h:27
Common Vulkan code header.
XRT_CHECK_RESULT VkResult vk_surface_info_fill_in(struct vk_bundle *vk, struct vk_surface_info *info, VkSurfaceKHR surface)
Fill in the given vk_surface_info, will allocate lists.
Definition: vk_surface_info.c:65
void vk_surface_info_destroy(struct vk_surface_info *info)
Free all lists allocated by vk_surface_info.
Definition: vk_surface_info.c:47
void vk_print_surface_info(struct vk_bundle *vk, struct vk_surface_info *info, enum u_logging_level log_level)
Print out the gathered information about the surface given to vk_surface_info_fill_in.
Definition: vk_surface_info.c:114