diff options
author | Simon Ser <contact@emersion.fr> | 2021-11-24 10:36:39 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-11-25 15:12:32 +0000 |
commit | f29abe4c777ba8293ab76334ef2ac83eaa0043f6 (patch) | |
tree | 7e1824da2f534191b5564fc5202d39debdf740b1 /include | |
parent | e4f748c6e9d618eb2ee8f15aa22aae8dcde4cc4a (diff) |
backend/headless: stop picking a DRM FD
Sometimes the headless backend is used standalone with the Pixman
renderer, sometimes it's used together with another backend which
has already picked a DRM FD. In both of these cases it doesn't make
sense to pick a DRM FD.
Broadly speaking the headless backend doesn't really care which DRM
device is used for the buffers it receives. So it doesn't really
make sense to tie it to a particular DRM device.
Let the backend users (e.g. wlr_renderer_autocreate) open an arbitrary
DRM FD as needed instead.
Diffstat (limited to 'include')
-rw-r--r-- | include/backend/headless.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index f60d07e6..e126ac4e 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -8,7 +8,6 @@ struct wlr_headless_backend { struct wlr_backend backend; - int drm_fd; struct wl_display *display; struct wl_list outputs; size_t last_output_num; |