Monado OpenXR Runtime
comp_vulkan.h File Reference

Vulkan code for compositors. More...

#include "xrt/xrt_compositor.h"
#include "util/u_logging.h"
#include "util/u_string_list.h"
#include "vk/vk_helpers.h"
Include dependency graph for comp_vulkan.h:

Go to the source code of this file.

Data Structures

struct  comp_vulkan_arguments
 Arguments to Vulkan bundle initialisation, all args needs setting. More...
 
struct  comp_vulkan_results
 Extra results from Vulkan bundle initialisation. More...
 
struct  comp_vulkan_formats
 Struct with supported format, these are not only check for optimal flags but also the ability to import and export them. More...
 

Macros

#define FIELD(IDENT)   bool has_##IDENT;
 

Functions

bool comp_vulkan_init_bundle (struct vk_bundle *vk, const struct comp_vulkan_arguments *vk_args, struct comp_vulkan_results *vk_res)
 Fully initialises a vk_bundle, by creating instance, device and queue. More...
 
void comp_vulkan_formats_check (struct vk_bundle *vk, struct comp_vulkan_formats *formats)
 Fills in a comp_vulkan_formats struct with the supported formats, use comp_vulkan_formats_copy_to_info to fill a compositor info struct. More...
 
void comp_vulkan_formats_copy_to_info (const struct comp_vulkan_formats *formats, struct xrt_compositor_info *info)
 Fills in a xrt_compositor_info struct with the formats listed from a comp_vulkan_formats. More...
 
void comp_vulkan_formats_log (enum u_logging_level log_level, const struct comp_vulkan_formats *formats)
 Logs the formats at info level. More...
 

Detailed Description

Vulkan code for compositors.

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