46 struct vk_bundle *vk,
const char *file,
int line,
const char *calling_func, VkResult ret,
const char *called_func);
57 const VkPhysicalDeviceProperties *pdp,
95vk_print_display_surface_create_info(
struct vk_bundle *vk,
96 VkDisplaySurfaceCreateInfoKHR *i,
114XRT_CHECK_RESULT
const char *
115vk_result_string(VkResult code);
117XRT_CHECK_RESULT
const char *
118vk_object_type_string(VkObjectType type);
120XRT_CHECK_RESULT
const char *
121vk_physical_device_type_string(VkPhysicalDeviceType device_type);
123XRT_CHECK_RESULT
const char *
124vk_format_string(VkFormat code);
126XRT_CHECK_RESULT
const char *
127vk_sharing_mode_string(VkSharingMode code);
129XRT_CHECK_RESULT
const char *
130vk_present_mode_string(VkPresentModeKHR code);
132XRT_CHECK_RESULT
const char *
133vk_color_space_string(VkColorSpaceKHR code);
135XRT_CHECK_RESULT
const char *
136vk_power_state_string(VkDisplayPowerStateEXT code);
138XRT_CHECK_RESULT
const char *
139vk_format_string(VkFormat code);
u_logging_level
Logging level enum.
Definition u_logging.h:45
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 en...
Definition vk_print.c:105
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_bu...
Definition vk_print.c:133
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.
Definition vk_print.c:79
A bundle of Vulkan functions and objects, used by both Compositor and Compositor client code.
Definition vk_helpers.h:81
Basic logging functionality.
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 le...
Definition vk_print.c:157
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.
Definition vk_print.c:312
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.
Definition vk_print.c:258
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 enabl...
Definition vk_print.c:142
Header holding common defines.
Include all of the Vulkan headers in one place, and cope with any "messy" includes implied by it.