mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
render/timeline: add wlr_render_timeline_import
This commit is contained in:
parent
f80f89b560
commit
7ae10e078a
2 changed files with 22 additions and 0 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue