aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm/drm.h
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-17 22:25:20 +0200
committeremersion <contact@emersion.fr>2018-09-18 11:06:01 +0200
commit139a905924e9c6cd22613dfbbe73c4642c993e41 (patch)
tree407d120898ff0a4c64de9a2d180ad07bd0d67e36 /include/backend/drm/drm.h
parent02231554c843e8903e45ff3a96c65a8c4f836cce (diff)
backend/drm: add assertions
Diffstat (limited to 'include/backend/drm/drm.h')
-rw-r--r--include/backend/drm/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index 6fe031e2..ac23cd9a 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -138,6 +138,8 @@ struct wlr_drm_connector {
struct wl_list link;
};
+struct wlr_drm_backend *get_drm_backend_from_backend(
+ struct wlr_backend *wlr_backend);
bool check_drm_features(struct wlr_drm_backend *drm);
bool init_drm_resources(struct wlr_drm_backend *drm);
void finish_drm_resources(struct wlr_drm_backend *drm);