|
Monado OpenXR Runtime
|
Printing helper code. 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 | |
| static void | print_queue_non_null (u_pp_delegate_t dg, const char *prefix, const struct vk_bundle_queue *queue) |
| static void | print_queue (u_pp_delegate_t dg, const char *prefix, const struct vk_bundle_queue *queue) |
| void | vk_print_result (struct vk_bundle *vk, const char *file, int line, const char *calling_func, VkResult ret, const char *called_func) |
Print the result of a function, info level if ret == VK_SUCCESS and error level otherwise. | |
| void | vk_print_device_info (struct vk_bundle *vk, enum u_logging_level log_level, const VkPhysicalDeviceProperties *pdp, uint32_t gpu_index, const char *title) |
| Print device information to the logger at the given logging level, if the vk_bundle has that level enabled. | |
| void | vk_print_opened_device_info (struct vk_bundle *vk, enum u_logging_level log_level) |
| Print device information about the device that bundle manages at the given logging level if the vk_bundle has that level enabled. | |
| void | vk_print_features_info (struct vk_bundle *vk, enum u_logging_level log_level) |
| Print device features to the logger at the given logging level, if the vk_bundle has that level enabled. | |
| void | vk_print_external_handles_info (struct vk_bundle *vk, enum u_logging_level log_level) |
| Print external handle features to the logger at the given logging level, if the vk_bundle has that level enabled. | |
| void | vk_print_swapchain_create_info (struct vk_bundle *vk, VkSwapchainCreateInfoKHR *i, enum u_logging_level log_level) |
Print a VkSwapchainCreateInfoKHR, used to log during creation. | |
| void | vk_print_queues_info (const struct vk_bundle *vk, enum u_logging_level log_level) |
| Print queue info to the logger at the given logging level, if the vk_bundle has that level enabled. | |
Printing helper code.
| #define PRINT_BITS | ( | BITS, | |
| FUNC | |||
| ) |
| void vk_print_external_handles_info | ( | struct vk_bundle * | vk, |
| enum u_logging_level | log_level | ||
| ) |
| void vk_print_features_info | ( | struct vk_bundle * | vk, |
| enum u_logging_level | log_level | ||
| ) |
Print device features to the logger at the given logging level, if the vk_bundle has that level enabled.
References vk_bundle::timeline_semaphore, vk_bundle::timestamp_compute_and_graphics, vk_bundle::timestamp_period, vk_bundle::timestamp_valid_bits, and U_LOG_IFL.
| void vk_print_queues_info | ( | const struct vk_bundle * | vk, |
| enum u_logging_level | log_level | ||
| ) |
Print queue info to the logger at the given logging level, if the vk_bundle has that level enabled.
References u_pp_sink_stack_only::buffer, vk_bundle::graphics_queue, vk_bundle::main_queue, and U_LOG_IFL.
| void vk_print_swapchain_create_info | ( | struct vk_bundle * | vk, |
| VkSwapchainCreateInfoKHR * | i, | ||
| enum u_logging_level | log_level | ||
| ) |
Print a VkSwapchainCreateInfoKHR, used to log during creation.
References u_pp_sink_stack_only::buffer, U_LOG_IFL, vk_composite_alpha_flag_string(), vk_image_usage_flag_string(), and vk_surface_transform_flag_string().