mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Rename get_present_clock to get_presentation clock, use it
This commit is contained in:
parent
abddfc99f2
commit
b0635bf3e7
8 changed files with 34 additions and 13 deletions
|
|
@ -65,7 +65,7 @@ static struct wlr_renderer *backend_get_renderer(
|
|||
}
|
||||
}
|
||||
|
||||
static clockid_t backend_get_present_clock(struct wlr_backend *backend) {
|
||||
static clockid_t backend_get_presentation_clock(struct wlr_backend *backend) {
|
||||
struct wlr_drm_backend *drm = get_drm_backend_from_backend(backend);
|
||||
return drm->clock;
|
||||
}
|
||||
|
|
@ -74,7 +74,7 @@ static struct wlr_backend_impl backend_impl = {
|
|||
.start = backend_start,
|
||||
.destroy = backend_destroy,
|
||||
.get_renderer = backend_get_renderer,
|
||||
.get_present_clock = backend_get_present_clock,
|
||||
.get_presentation_clock = backend_get_presentation_clock,
|
||||
};
|
||||
|
||||
bool wlr_backend_is_drm(struct wlr_backend *b) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue