|
Monado OpenXR Runtime
|
Helper for getting information from a VkSurfaceKHR. More...

Macros | |
| #define | P(...) u_pp(dg, __VA_ARGS__) |
| #define | PNT(...) u_pp(dg, "\n\t" __VA_ARGS__) |
| #define | PNTT(...) u_pp(dg, "\n\t\t" __VA_ARGS__) |
| #define | PRINT_BITS(BITS, FUNC) |
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.
| #define PRINT_BITS | ( | BITS, | |
| FUNC | |||
| ) |
| 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().