diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-30 13:24:46 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-11-30 14:19:46 +0100 |
commit | 88493d1f7cb10350c95c264fc7f6bfc7676073de (patch) | |
tree | 3015e176acd5f542f0800d50d95520de67349813 /include | |
parent | d45cffb86592515b549294de5d8784d34f26502f (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_linux_dmabuf_v1.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <wayland-server-core.h> #include <wlr/types/wlr_buffer.h> #include <wlr/render/dmabuf.h> +#include <wlr/render/drm_format_set.h> 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 |