xrt: Code style

This commit is contained in:
Jakob Bornecrantz 2020-12-09 17:08:29 +00:00
parent a5bf14502c
commit 743c289be5

View file

@ -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.