summaryrefslogtreecommitdiffstats
path: root/video/out/wayland_common.h
diff options
context:
space:
mode:
authorAaron Boxer <boxerab@protonmail.com>2022-05-30 13:19:23 -0400
committerDudemanguy <random342@airmail.cc>2022-05-30 19:51:46 +0000
commit3536b53ed1a45d9a5800a192e1bb0400743b32d0 (patch)
tree88e91c7cb0ab7130b4f7769a3bf678be09a446ba /video/out/wayland_common.h
parent38eda3804f95e9359c0c1730137759682c7decbc (diff)
downloadmpv-3536b53ed1a45d9a5800a192e1bb0400743b32d0.tar.bz2
mpv-3536b53ed1a45d9a5800a192e1bb0400743b32d0.tar.xz
vo: move allocate_memfd method to wayland_common
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 c85dc200d5..90bd1ca7e1 100644
--- a/video/out/wayland_common.h
+++ b/video/out/wayland_common.h
@@ -142,6 +142,7 @@ struct vo_wayland_state {
bool vo_wayland_check_visible(struct vo *vo);
bool vo_wayland_supported_format(struct vo *vo, uint32_t format);
+int vo_wayland_allocate_memfd(struct vo *vo, size_t size);
int vo_wayland_control(struct vo *vo, int *events, int request, void *arg);
int vo_wayland_init(struct vo *vo);
int vo_wayland_reconfig(struct vo *vo);