aboutsummaryrefslogtreecommitdiff
path: root/include/backend
diff options
context:
space:
mode:
Diffstat (limited to 'include/backend')
-rw-r--r--include/backend/wayland.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/backend/wayland.h b/include/backend/wayland.h
index a237ced7..886aea9f 100644
--- a/include/backend/wayland.h
+++ b/include/backend/wayland.h
@@ -12,6 +12,7 @@
#include <wlr/render/egl.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_box.h>
+#include <wlr/render/drm_format_set.h>
struct wlr_wl_backend {
struct wlr_backend backend;
@@ -34,12 +35,14 @@ struct wlr_wl_backend {
struct xdg_wm_base *xdg_wm_base;
struct zxdg_decoration_manager_v1 *zxdg_decoration_manager_v1;
struct zwp_pointer_gestures_v1 *zwp_pointer_gestures_v1;
+ struct zwp_linux_dmabuf_v1 *zwp_linux_dmabuf_v1;
struct wl_seat *seat;
struct wl_pointer *pointer;
struct wl_keyboard *keyboard;
struct wlr_wl_pointer *current_pointer;
struct zwp_tablet_manager_v2 *tablet_manager;
char *seat_name;
+ struct wlr_drm_format_set linux_dmabuf_v1_formats;
};
struct wlr_wl_output {
@@ -55,6 +58,8 @@ struct wlr_wl_output {
struct zxdg_toplevel_decoration_v1 *zxdg_toplevel_decoration_v1;
struct wl_egl_window *egl_window;
EGLSurface egl_surface;
+ struct wl_buffer *pending_wl_buffer, *current_wl_buffer;
+ struct wlr_buffer *current_buffer;
uint32_t enter_serial;