mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-29 07:58:24 -04:00
render/drm_syncobj: fix flags docs for wlr_drm_syncobj_timeline_waiter_init()
wlr_drm_syncobj_timeline_check() is a bit different because zero will error out if the point has not materialized yet. Kernel docs for struct drm_syncobj_eventfd: https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#c.drm_syncobj_eventfd
This commit is contained in:
parent
f295d0322a
commit
a1ed6fca52
1 changed files with 5 additions and 1 deletions
|
|
@ -97,7 +97,11 @@ bool wlr_drm_syncobj_timeline_signal(struct wlr_drm_syncobj_timeline *timeline,
|
||||||
/**
|
/**
|
||||||
* Asynchronously wait for a timeline point.
|
* Asynchronously wait for a timeline point.
|
||||||
*
|
*
|
||||||
* See wlr_drm_syncobj_timeline_check() for a definition of flags.
|
* Flags can be:
|
||||||
|
*
|
||||||
|
* - 0 to wait for the point to be signalled
|
||||||
|
* - DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE to only wait for a fence to
|
||||||
|
* materialize
|
||||||
*
|
*
|
||||||
* A callback must be provided that will be invoked when the waiter has finished.
|
* A callback must be provided that will be invoked when the waiter has finished.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue