diff options
author | LaserEyess <lasereyess@users.noreply.github.com> | 2022-11-15 20:52:56 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2022-11-20 19:13:59 +0000 |
commit | a62f71bfbeb8f35bf5f09f12e48b63505c475750 (patch) | |
tree | 019ec5e071e6ca90214f6f3623037eb2b540a696 /generated | |
parent | 303178e6451da7072aa71ce5e3cbffc233d6dbd1 (diff) | |
download | mpv-a62f71bfbeb8f35bf5f09f12e48b63505c475750.tar.bz2 mpv-a62f71bfbeb8f35bf5f09f12e48b63505c475750.tar.xz |
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.
Diffstat (limited to 'generated')
-rw-r--r-- | generated/wayland/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
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 |