summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorDaniel van Vugt <daniel.van.vugt@canonical.com>2023-02-28 17:39:50 +0800
committerDudemanguy <random342@airmail.cc>2023-02-28 15:07:14 +0000
commit1f493b76719095c4db612c4102b54ce0f558728d (patch)
treed60b28ecb2ac805b47098d95e46378cc9e4e28b3 /video/out/wayland_common.h
parent8a43fc0e9ae10741b2ccdb59e370ea1bf5013393 (diff)
downloadmpv-1f493b76719095c4db612c4102b54ce0f558728d.tar.bz2
mpv-1f493b76719095c4db612c4102b54ce0f558728d.tar.xz
wayland: deduplicate and cache detection of dmabuf-wayland
Diffstat (limited to 'video/out/wayland_common.h')
-rw-r--r--video/out/wayland_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/wayland_common.h b/video/out/wayland_common.h
index 80d0835fab..06d742e5ed 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -104,6 +104,7 @@ struct vo_wayland_state {
void *dmabuf_feedback;
wayland_format *format_map;
uint32_t format_size;
+ bool using_dmabuf_wayland;
/* TODO: remove these once zwp_linux_dmabuf_v1 version 2 support is removed. */
int *drm_formats;
int drm_format_ct;