mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-16 05:34:23 -04:00
backend: drop wlr_backend_get_presentation_clock()
We can just assume CLOCK_MONOTONIC everywhere. Simplifies the backend API, and fixes clock mismatches when multiple backends are used together with different clocks.
This commit is contained in:
parent
5fac9b1beb
commit
1c24b1182b
12 changed files with 13 additions and 56 deletions
|
|
@ -51,10 +51,6 @@ bool wlr_backend_start(struct wlr_backend *backend);
|
|||
* automatically when the struct wl_display is destroyed.
|
||||
*/
|
||||
void wlr_backend_destroy(struct wlr_backend *backend);
|
||||
/**
|
||||
* Returns the clock used by the backend for presentation feedback.
|
||||
*/
|
||||
clockid_t wlr_backend_get_presentation_clock(struct wlr_backend *backend);
|
||||
/**
|
||||
* Returns the DRM node file descriptor used by the backend's underlying
|
||||
* platform. Can be used by consumers for additional rendering operations.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue