The DMA-BUF path of a capture sink could only be driven by the ScreenCast
portal, which needs a person to answer its dialog. SyntheticScreen gains
with_dmabuf: it draws into a DMA-BUF of ordinary memory (a sealed memfd
shared through /dev/udmabuf, LINEAR XR24) and offers it to sinks that
take DMA-BUFs, as the portal does; a sink that declines gets the same
memory as a frame. Without /dev/udmabuf it says why and draws into
memory as before.
The udmabuf code moves from the encoder's test into capture/dmabuf.rs
(Udmabuf), which the test now uses as well.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>