diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-01 16:24:06 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-06-07 15:42:38 +0200 |
commit | 44feb832f965ec857c2a45a858c95cefb50bb547 (patch) | |
tree | b3a48814147be937f7be9e39aba94ab99f856dfd /include/backend | |
parent | 1a06ea775034c12e35e13b55f84cb058a7496e40 (diff) |
backend/headless: remove swapchain
Rely on wlr_output's generic swapchain support instead of creating our
own. The headless output now simply keeps a reference to the front buffer
and does nothing else.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/headless.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index 1ad82fc2..2ec53383 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -9,7 +9,6 @@ struct wlr_headless_backend { struct wlr_backend backend; int drm_fd; - struct wlr_drm_format *format; struct wl_display *display; struct wl_list outputs; size_t last_output_num; @@ -26,8 +25,7 @@ struct wlr_headless_output { struct wlr_headless_backend *backend; struct wl_list link; - struct wlr_swapchain *swapchain; - struct wlr_buffer *back_buffer, *front_buffer; + struct wlr_buffer *front_buffer; struct wl_event_source *frame_timer; int frame_delay; // ms |