aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-11-17 14:34:32 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-11-17 14:34:32 -0500
commitb06d58fa8b6bb5d9a154f795ec595477e13998bc (patch)
treed363d35ddf72388b8ce5171f76162caee11958e6 /include
parent3aed24b8d4572eb4cd2488113f1c1a23ceb290d8 (diff)
backend/drm: Destroy page flips on backend destroy
When we destroy the backend, page flips will no longer be invoked meaning those won't clean up the page flips for us.
Diffstat (limited to 'include')
-rw-r--r--include/backend/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index eef778df..4718eee0 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -193,6 +193,7 @@ bool drm_connector_supports_vrr(struct wlr_drm_connector *conn);
size_t drm_crtc_get_gamma_lut_size(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc);
void drm_lease_destroy(struct wlr_drm_lease *lease);
+void drm_page_flip_destroy(struct wlr_drm_page_flip *page_flip);
struct wlr_drm_fb *get_next_cursor_fb(struct wlr_drm_connector *conn);
struct wlr_drm_layer *get_drm_layer(struct wlr_drm_backend *drm,