diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-03-11 19:05:11 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-03-15 12:40:18 +0100 |
commit | eb4337b5eea47e5f3ec337639d2f62c2bae15797 (patch) | |
tree | 0bb80fcc44a521cb2a1e30254dd7dc2f899c4176 /rootston/desktop.c | |
parent | 14cdb6153f4293d7e058465ab4acaebd6e1f647c (diff) |
Wire up linux_dmabuf in rootston
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r-- | rootston/desktop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c index 3628b051..a130fe38 100644 --- a/rootston/desktop.c +++ b/rootston/desktop.c @@ -9,6 +9,7 @@ #include <wlr/types/wlr_cursor.h> #include <wlr/types/wlr_gamma_control.h> #include <wlr/types/wlr_idle.h> +#include <wlr/types/wlr_linux_dmabuf.h> #include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_idle_inhibit_v1.h> #include <wlr/types/wlr_primary_selection.h> @@ -729,6 +730,8 @@ struct roots_desktop *desktop_create(struct roots_server *server, desktop->idle = wlr_idle_create(server->wl_display); desktop->idle_inhibit = wlr_idle_inhibit_v1_create(server->wl_display); + struct wlr_egl *egl = wlr_backend_get_egl(server->backend); + desktop->linux_dmabuf = wlr_linux_dmabuf_create(server->wl_display, egl); return desktop; } |