mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
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:
parent
c82f37542d
commit
fd2b1f018e
3 changed files with 31 additions and 44 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue