backend/wayland: use the EGL GBM platform

Just like other backends, use the EGL GBM platform. This will make it
easier to move the allocator and renderer initialization out of the
backends.
This commit is contained in:
Simon Ser 2021-01-04 10:51:34 +01:00
parent 8f065810f6
commit 098094c5cb
3 changed files with 118 additions and 21 deletions

View file

@ -42,6 +42,8 @@ struct wlr_wl_backend {
struct wl_list seats; // wlr_wl_seat.link
struct zwp_tablet_manager_v2 *tablet_manager;
struct wlr_drm_format_set linux_dmabuf_v1_formats;
struct wl_drm *legacy_drm;
char *drm_render_name;
};
struct wlr_wl_buffer {