+8
-1
src/xrt/include/xrt/xrt_compositor.h
+8
-1
src/xrt/include/xrt/xrt_compositor.h
···
1038
1038
struct xrt_compositor_fence **out_xcf);
1039
1039
1040
1040
/*!
1041
-
* Create a compositor semaphore, also returns a native handle.
1041
+
* Create a compositor semaphore, also returns a native handle of the
1042
+
* semaphore which is owned by the @ref xrt_compositor_semaphore struct.
1043
+
* The return values are always both valid, or on an error condition
1044
+
* encountered and error is returned, both not valid (untouched).
1045
+
*
1046
+
* @param[in] xc Compositor self pointer.
1047
+
* @param[out] out_handle Native handle owned by the samephore.
1048
+
* @param[out] out_handle Return of the created semahpore.
1042
1049
*/
1043
1050
xrt_result_t (*create_semaphore)(struct xrt_compositor *xc,
1044
1051
xrt_graphics_sync_handle_t *out_handle,