mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
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.
This commit is contained in:
parent
d45cffb865
commit
88493d1f7c
2 changed files with 23 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue