Monado OpenXR Runtime
comp_semaphore Struct Reference

A simple implementation of the xrt_compositor_semaphore interface. More...

#include <util/comp_semaphore.h>

Inheritance diagram for comp_semaphore:
Collaboration diagram for comp_semaphore:

Data Fields

struct xrt_compositor_semaphore base
 
struct vk_bundlevk
 
VkSemaphore semaphore
 
xrt_graphics_sync_handle_t handle
 Shared handle, the layer above compositor, such as IPC & st/oxr, doesn't consume this handle, instead it has dup semantics. More...
 

Detailed Description

A simple implementation of the xrt_compositor_semaphore interface.

See also
comp_compositor

Field Documentation

◆ handle

xrt_graphics_sync_handle_t comp_semaphore::handle

Shared handle, the layer above compositor, such as IPC & st/oxr, doesn't consume this handle, instead it has dup semantics.

So we need to keep track of the handle and free it once done. This is because the platform may be required by the platform.


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