Monado OpenXR Runtime
comp_sync.c File Reference

Independent xrt_compositor_fence implementation. More...

#include "xrt/xrt_config_os.h"
#include "util/u_misc.h"
#include "util/u_handles.h"
#include "util/u_trace_marker.h"
#include "util/comp_sync.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Include dependency graph for comp_sync.c:

Data Structures

struct  fence
 A very simple implementation of a fence primitive. More...
 

Functions

static xrt_result_t fence_wait (struct xrt_compositor_fence *xcf, uint64_t timeout)
 
static void fence_destroy (struct xrt_compositor_fence *xcf)
 
xrt_result_t comp_fence_import (struct vk_bundle *vk, xrt_graphics_sync_handle_t handle, struct xrt_compositor_fence **out_xcf)
 For importing xrt_graphics_sync_handle_t and turn them into a xrt_compositor_fence. More...
 

Detailed Description

Independent xrt_compositor_fence implementation.

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