[Mesa-dev] [PATCH 00/11] EGL/Wayland modifiers, format cleanup

Daniel Stone daniels at collabora.com
Fri Jun 16 17:14:23 UTC 2017


Hi,
This series adds support for multi-planar buffers, as well as buffers
with modifiers, in the Wayland EGL client platform.

Rather than extending wl_drm, we use the generic zwp_linux_dambuf_v1
protocol, which is implemented in Weston. This makes it a bit easier to,
amongst other things, write compositors in Vulkan, or direct-to-KMS
without having to bounce through EGL.

In doing so, this de-duplicates both wl_buffer creation, as well as
a pile of DRIimage format <-> FourCC conversion tables I found in GBM.
There's no interdependency between the GBM and EGL bits, so they can
be considered separately, but 11/11 _does_ need the u_vector patch.

Happy weekend!

Cheers,
Daniel



More information about the mesa-dev mailing list