mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-21 06:46:46 -04:00
render: add wlr_render_timestamp
This commit is contained in:
parent
b4765809b5
commit
c38c080742
5 changed files with 146 additions and 0 deletions
|
|
@ -119,6 +119,15 @@ int wlr_renderer_get_drm_fd(struct wlr_renderer *r);
|
|||
*/
|
||||
bool wlr_renderer_get_time(struct wlr_renderer *r, struct timespec *t);
|
||||
|
||||
struct wlr_render_timestamp;
|
||||
|
||||
struct wlr_render_timestamp *wlr_renderer_create_timestamp(struct wlr_renderer *r);
|
||||
|
||||
bool wlr_render_timestamp_get_time(struct wlr_render_timestamp *timestamp,
|
||||
struct timespec *t);
|
||||
|
||||
void wlr_render_timestamp_destroy(struct wlr_render_timestamp *timestamp);
|
||||
|
||||
/**
|
||||
* Destroys the renderer.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue