Rename get_present_clock to get_presentation clock, use it

This commit is contained in:
emersion 2018-10-01 22:57:36 +02:00
parent abddfc99f2
commit b0635bf3e7
8 changed files with 34 additions and 13 deletions

View file

@ -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) {