aboutsummaryrefslogtreecommitdiff
path: root/include/backend/drm
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2017-09-30 22:01:59 +1300
committerScott Anderson <ascent12@hotmail.com>2017-09-30 22:01:59 +1300
commitec5b95e08f7549fc3628d9790d62f22d8b975300 (patch)
tree68eb7d7a8d5e178bdc385b0697a6078777c92fd2 /include/backend/drm
parent096249a2a1dc604b062a6fef6c4ca56065724d79 (diff)
Add pointer to backend from DRM outputs
Diffstat (limited to 'include/backend/drm')
-rw-r--r--include/backend/drm/drm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/backend/drm/drm.h b/include/backend/drm/drm.h
index b13cb5e7..6f1abc00 100644
--- a/include/backend/drm/drm.h
+++ b/include/backend/drm/drm.h
@@ -121,6 +121,7 @@ struct wlr_drm_output_mode {
struct wlr_drm_output {
struct wlr_output output;
+ struct wlr_drm_backend *drm;
enum wlr_drm_output_state state;
uint32_t connector;
@@ -135,8 +136,6 @@ struct wlr_drm_output {
drmModeCrtc *old_crtc;
- struct wlr_drm_renderer *renderer;
-
bool pageflip_pending;
struct wl_event_source *retry_pageflip;
};