backend/wayland: use common renderer and allocator

Instead of managing our own renderer and allocator, let the common
code do it.
This commit is contained in:
Simon Ser 2021-04-29 00:16:34 +02:00 committed by Kenny Levinsen
parent 4dae12890f
commit 349553d011
3 changed files with 43 additions and 60 deletions

View file

@ -21,9 +21,7 @@ struct wlr_wl_backend {
struct wl_list devices;
struct wl_list outputs;
int drm_fd;
struct wlr_renderer *renderer;
struct wlr_drm_format *format;
struct wlr_allocator *allocator;
struct wl_list buffers; // wlr_wl_buffer.link
size_t requested_outputs;
size_t last_output_num;