Monado OpenXR Runtime
|
Helper for getting information from a VkSurfaceKHR. More...
#include "vk/vk_helpers.h"
Go to the source code of this file.
Data Structures | |
struct | vk_surface_info |
Functions | |
void | vk_surface_info_destroy (struct vk_surface_info *info) |
Free all lists allocated by vk_surface_info. More... | |
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. More... | |
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. More... | |
Helper for getting information from a VkSurfaceKHR.
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.
void vk_surface_info_destroy | ( | struct vk_surface_info * | info | ) |
Free all lists allocated by vk_surface_info.
References U_ZERO.
Referenced by vk_surface_info_fill_in().
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.
References VK_CHK_WITH_GOTO, vk_enumerate_surface_formats(), vk_enumerate_surface_present_modes(), and vk_surface_info_destroy().