mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
render/drm_syncobj: add wlr_drm_syncobj_timeline_import()
This commit is contained in:
parent
7fc00ef777
commit
ea75aa3065
2 changed files with 23 additions and 0 deletions
|
|
@ -37,6 +37,11 @@ struct wlr_drm_syncobj_timeline {
|
|||
* Create a new synchronization timeline.
|
||||
*/
|
||||
struct wlr_drm_syncobj_timeline *wlr_drm_syncobj_timeline_create(int drm_fd);
|
||||
/**
|
||||
* Import a timeline from a drm_syncobj FD.
|
||||
*/
|
||||
struct wlr_drm_syncobj_timeline *wlr_drm_syncobj_timeline_import(int drm_fd,
|
||||
int drm_syncobj_fd);
|
||||
/**
|
||||
* Reference a synchronization timeline.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue