Monado OpenXR Runtime
xrt_compositor_semaphore Struct Reference

Compositor semaphore used for synchronization, needs to be as capable as a Vulkan pipeline semaphore. More...

#include <xrt/xrt_compositor.h>

Inheritance diagram for xrt_compositor_semaphore:
Collaboration diagram for xrt_compositor_semaphore:

Static Public Member Functions

static xrt_result_t xrt_compositor_semaphore_wait (struct xrt_compositor_semaphore *xcsem, uint64_t value, uint64_t timeout)
 Does a CPU side wait on the semaphore to reach the given value. More...
 

Data Fields

struct xrt_reference reference
 Reference helper. More...
 
xrt_result_t(* wait )(struct xrt_compositor_semaphore *xcsem, uint64_t value, uint64_t timeout_ns)
 Does a CPU side wait on the semaphore to reach the given value. More...
 
void(* destroy )(struct xrt_compositor_semaphore *xcsem)
 Destroys the semaphore. More...
 

Related Functions

(Note that these are not member functions.)

static void xrt_compositor_semaphore_reference (struct xrt_compositor_semaphore **dst, struct xrt_compositor_semaphore *src)
 Update the reference counts on compositor semaphore(s). More...
 

Detailed Description

Compositor semaphore used for synchronization, needs to be as capable as a Vulkan pipeline semaphore.

Field Documentation

◆ destroy

void(* xrt_compositor_semaphore::destroy) (struct xrt_compositor_semaphore *xcsem)

Destroys the semaphore.

Referenced by xrt_compositor_semaphore_reference().

◆ reference

struct xrt_reference xrt_compositor_semaphore::reference

Reference helper.

Referenced by xrt_compositor_semaphore_reference().

◆ wait

xrt_result_t(* xrt_compositor_semaphore::wait) (struct xrt_compositor_semaphore *xcsem, uint64_t value, uint64_t timeout_ns)

Does a CPU side wait on the semaphore to reach the given value.

Referenced by xrt_compositor_semaphore_wait().


The documentation for this struct was generated from the following file: