aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-05-03 21:28:44 +1200
committerScott Anderson <ascent12@hotmail.com>2017-05-03 21:28:44 +1200
commitd196a79b6c493d74d0057d74238353180d717255 (patch)
tree73e8cbe15779fa3b6a230750e04e0f7c252bb539 /include/wlr/backend
parent0002b8dd08fdab7da12127ad2f43238f376b1a7a (diff)
Changed backend to accept wl_display.
Diffstat (limited to 'include/wlr/backend')
-rw-r--r--include/wlr/backend/drm.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/wlr/backend/drm.h b/include/wlr/backend/drm.h
index 13679782..d56c7e77 100644
--- a/include/wlr/backend/drm.h
+++ b/include/wlr/backend/drm.h
@@ -7,12 +7,11 @@
struct wlr_drm_backend;
struct wlr_drm_output;
-struct wlr_drm_backend *wlr_drm_backend_init(struct wlr_session *session,
- struct wl_listener *add, struct wl_listener *rem, struct wl_listener *render);
+struct wlr_drm_backend *wlr_drm_backend_init(struct wl_display *display,
+ struct wlr_session *session, struct wl_listener *add, struct wl_listener *rem,
+ struct wl_listener *render);
void wlr_drm_backend_free(struct wlr_drm_backend *backend);
-struct wl_event_loop *wlr_drm_backend_get_event_loop(struct wlr_drm_backend *backend);
-
bool wlr_drm_output_modeset(struct wlr_drm_output *out, const char *str);
void wlr_drm_output_begin(struct wlr_drm_output *out);
void wlr_drm_output_end(struct wlr_drm_output *out);