mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
xrt: Code style
This commit is contained in:
parent
a5bf14502c
commit
743c289be5
|
@ -22,6 +22,13 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* xrt_shmem_handle_t
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
* The type for shared memory blocks shared over IPC.
|
||||
*
|
||||
|
@ -57,6 +64,13 @@ xrt_shmem_is_valid(xrt_shmem_handle_t handle)
|
|||
*/
|
||||
#define XRT_SHMEM_HANDLE_INVALID (-1)
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* xrt_graphics_buffer_handle_t
|
||||
*
|
||||
*/
|
||||
|
||||
#if defined(XRT_OS_ANDROID) && (__ANDROID_API__ >= 26)
|
||||
typedef struct AHardwareBuffer AHardwareBuffer;
|
||||
|
||||
|
@ -177,6 +191,13 @@ xrt_graphics_buffer_is_valid(xrt_graphics_buffer_handle_t handle)
|
|||
|
||||
#ifdef XRT_OS_UNIX
|
||||
|
||||
|
||||
/*
|
||||
*
|
||||
* xrt_graphics_sync_handle_t
|
||||
*
|
||||
*/
|
||||
|
||||
/*!
|
||||
* The type underlying synchronization primitives (semaphores, etc) shared
|
||||
* between compositor clients and the main compositor.
|
||||
|
|
Loading…
Reference in a new issue