From 88493d1f7cb10350c95c264fc7f6bfc7676073de Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 30 Nov 2022 13:24:46 +0100 Subject: linux-dmabuf-v1: don't use wlr_renderer to send legacy format list The wlr_renderer field will go away in a subsequent commit. Build the legacy device list from the default feedback instead. --- include/wlr/types/wlr_linux_dmabuf_v1.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_linux_dmabuf_v1.h b/include/wlr/types/wlr_linux_dmabuf_v1.h index 960cbb2c..93413f72 100644 --- a/include/wlr/types/wlr_linux_dmabuf_v1.h +++ b/include/wlr/types/wlr_linux_dmabuf_v1.h @@ -14,6 +14,7 @@ #include #include #include +#include struct wlr_surface; @@ -65,6 +66,7 @@ struct wlr_linux_dmabuf_v1 { // private state struct wlr_linux_dmabuf_feedback_v1_compiled *default_feedback; + struct wlr_drm_format_set default_formats; // for legacy clients struct wl_list surfaces; // wlr_linux_dmabuf_v1_surface.link int main_device_fd; // to sanity check FDs sent by clients -- cgit v1.2.3