render/timeline: add wlr_render_timeline_import

This commit is contained in:
Simon Ser 2021-10-21 15:02:09 +02:00
parent f80f89b560
commit 7ae10e078a
2 changed files with 22 additions and 0 deletions

View file

@ -30,6 +30,11 @@ struct wlr_render_timeline;
* Create a new synchronization timeline.
*/
struct wlr_render_timeline *wlr_render_timeline_create(int drm_fd);
/**
* Import a timeline from a drm_syncobj FD.
*/
struct wlr_render_timeline *wlr_render_timeline_import(int drm_fd,
int drm_syncobj_fd);
/**
* Destroy a synchronization timeline.
*/