|
static struct xrt_swapchain * | to_native_swapchain (struct xrt_swapchain *xsc) |
| Helper to get the native swapchain. More...
|
|
static struct xrt_compositor * | to_native_compositor (struct xrt_compositor *xc) |
| Helper to get the native swapchain. More...
|
|
static xrt_result_t | submit_image_barrier (struct client_vk_swapchain *sc, VkCommandBuffer cmd_buffer) |
|
static bool | submit_handle (struct client_vk_compositor *c, xrt_graphics_sync_handle_t sync_handle, xrt_result_t *out_xret) |
|
static bool | submit_semaphore (struct client_vk_compositor *c, xrt_result_t *out_xret) |
|
static bool | submit_fence (struct client_vk_compositor *c, xrt_result_t *out_xret) |
|
static bool | submit_fallback (struct client_vk_compositor *c, xrt_result_t *out_xret) |
|
static void | client_vk_swapchain_destroy (struct xrt_swapchain *xsc) |
|
static xrt_result_t | client_vk_swapchain_acquire_image (struct xrt_swapchain *xsc, uint32_t *out_index) |
|
static xrt_result_t | client_vk_swapchain_wait_image (struct xrt_swapchain *xsc, int64_t timeout_ns, uint32_t index) |
|
static xrt_result_t | client_vk_swapchain_barrier_image (struct xrt_swapchain *xsc, enum xrt_barrier_direction direction, uint32_t index) |
|
static xrt_result_t | client_vk_swapchain_release_image (struct xrt_swapchain *xsc, uint32_t index) |
|
static xrt_result_t | client_vk_compositor_passthrough_create (struct xrt_compositor *xc, const struct xrt_passthrough_create_info *info) |
|
static xrt_result_t | client_vk_compositor_passthrough_layer_create (struct xrt_compositor *xc, const struct xrt_passthrough_layer_create_info *info) |
|
static xrt_result_t | client_vk_compositor_passthrough_destroy (struct xrt_compositor *xc) |
|
static void | client_vk_compositor_destroy (struct xrt_compositor *xc) |
|
static xrt_result_t | client_vk_compositor_begin_session (struct xrt_compositor *xc, const struct xrt_begin_session_info *info) |
|
static xrt_result_t | client_vk_compositor_end_session (struct xrt_compositor *xc) |
|
static xrt_result_t | client_vk_compositor_wait_frame (struct xrt_compositor *xc, int64_t *out_frame_id, int64_t *predicted_display_time, int64_t *predicted_display_period) |
|
static xrt_result_t | client_vk_compositor_begin_frame (struct xrt_compositor *xc, int64_t frame_id) |
|
static xrt_result_t | client_vk_compositor_discard_frame (struct xrt_compositor *xc, int64_t frame_id) |
|
static xrt_result_t | client_vk_compositor_layer_begin (struct xrt_compositor *xc, const struct xrt_layer_frame_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_projection (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc[XRT_MAX_VIEWS], const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_stereo_projection_depth (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc[XRT_MAX_VIEWS], struct xrt_swapchain *d_xsc[XRT_MAX_VIEWS], const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_quad (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_cube (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_cylinder (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_equirect1 (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_equirect2 (struct xrt_compositor *xc, struct xrt_device *xdev, struct xrt_swapchain *xsc, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_passthrough (struct xrt_compositor *xc, struct xrt_device *xdev, const struct xrt_layer_data *data) |
|
static xrt_result_t | client_vk_compositor_layer_commit (struct xrt_compositor *xc, xrt_graphics_sync_handle_t sync_handle) |
|
static xrt_result_t | client_vk_compositor_get_swapchain_create_properties (struct xrt_compositor *xc, const struct xrt_swapchain_create_info *info, struct xrt_swapchain_create_properties *xsccp) |
|
static xrt_result_t | client_vk_swapchain_create (struct xrt_compositor *xc, const struct xrt_swapchain_create_info *info, struct xrt_swapchain **out_xsc) |
|
struct client_vk_compositor * | client_vk_compositor_create (struct xrt_compositor_native *xcn, VkInstance instance, PFN_vkGetInstanceProcAddr getProc, VkPhysicalDevice physicalDevice, VkDevice device, bool external_fence_fd_enabled, bool external_semaphore_fd_enabled, bool timeline_semaphore_enabled, bool image_format_list_enabled, bool debug_utils_enabled, bool renderdoc_enabled, uint32_t queueFamilyIndex, uint32_t queueIndex) |
|