backend/x11: 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 09:33:54 +02:00 committed by Kenny Levinsen
parent c82f37542d
commit fd2b1f018e
3 changed files with 31 additions and 44 deletions

View file

@ -88,12 +88,10 @@ struct wlr_x11_backend {
struct wlr_input_device keyboard_dev;
int drm_fd;
struct wlr_renderer *renderer;
struct wlr_drm_format_set dri3_formats;
struct wlr_drm_format_set shm_formats;
const struct wlr_x11_format *x11_format;
struct wlr_drm_format *drm_format;
struct wlr_allocator *allocator;
struct wl_event_source *event_source;
struct {