From a62f71bfbeb8f35bf5f09f12e48b63505c475750 Mon Sep 17 00:00:00 2001 From: LaserEyess Date: Tue, 15 Nov 2022 20:52:56 -0500 Subject: vo_dmabuf_wayland: use single-pixel-buffer-v1 The new single-pixel-buffer protocol is designed to optimize the case for using a solid color as an underlay wl_surface. It works the same as the wl_shm 1x1 pixel trick currently used, but it allows the compositor to make optimizations with more certainty than the wl_shm trick. --- generated/wayland/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'generated') diff --git a/generated/wayland/meson.build b/generated/wayland/meson.build index 919a280107..423fc7c76e 100644 --- a/generated/wayland/meson.build +++ b/generated/wayland/meson.build @@ -12,7 +12,8 @@ features += {'wayland_protocols_1_24': wayland['deps'][2].version().version_comp features += {'wayland_protocols_1_27': wayland['deps'][2].version().version_compare('>=1.27')} if features['wayland_protocols_1_27'] - protocols += [[wl_protocol_dir, 'staging/content-type/content-type-v1.xml']] + protocols += [[wl_protocol_dir, 'staging/content-type/content-type-v1.xml'], + [wl_protocol_dir, 'staging/single-pixel-buffer/single-pixel-buffer-v1.xml']] endif foreach p: protocols -- cgit v1.2.3