xrt: Update semantics of create_semaphore

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2071>
This commit is contained in:
Jakob Bornecrantz authored and korejan committed 2025-11-18 14:06:46 +00:00
1 parent c684234858
commit 61d59ca7bb
1 file changed
+8 -1
+8 -1
View File
@@ -1038,7 +1038,14 @@ struct xrt_compositor
struct xrt_compositor_fence **out_xcf);
/*!
* Create a compositor semaphore, also returns a native handle.
* Create a compositor semaphore, also returns a native handle of the
* semaphore which is owned by the @ref xrt_compositor_semaphore struct.
* The return values are always both valid, or on an error condition
* encountered and error is returned, both not valid (untouched).
*
* @param[in] xc Compositor self pointer.
* @param[out] out_handle Native handle owned by the samephore.
* @param[out] out_handle Return of the created semahpore.
*/
xrt_result_t (*create_semaphore)(struct xrt_compositor *xc,
xrt_graphics_sync_handle_t *out_handle,