Skip to content

screencastService: Add dmabuf/GL pipeline

Robert Mader requested to merge rmader/gnome-shell:dmabuf-sharing into main

This pipeline imports dmabufs and does format conversion using GL. The video/x-raw(memory:DMABuf) filter ensures format negotiation between pipewiresrc and Mutter will only succeed if Mutter advertises dmabuf support as well, falling back to the next pipeline otherwise.

Using this pipeline frees Mutter from downloading buffer content on the main thread which can have a big impact on compositor performance. Doing format conversion on the GPU should further improve the overall performance on most hardware.


Depends on and includes !2609 (merged)

Edited by Robert Mader

Merge request reports