Monado OpenXR Runtime
vk_surface_info.h File Reference

Helper for getting information from a VkSurfaceKHR. More...

#include "vk/vk_helpers.h"
Include dependency graph for vk_surface_info.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...
 

Detailed Description

Helper for getting information from a VkSurfaceKHR.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m

Function Documentation

◆ vk_print_surface_info()

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.

◆ vk_surface_info_destroy()

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().

◆ 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 
)