Skip to content
Snippets Groups Projects
Commit 4b4cedfc authored by Philipp Zabel's avatar Philipp Zabel Committed by Marius Vlad
Browse files

backend-pipewire: add fence to synchronize on finish of render


If the PipeWire-backend renders to a DmaBuf, try to use a fence to synchronize
the submit of the next PipeWire buffer to the completion of the current render
process.

This ensures that the GPU rendering is finished before the buffer is passed to
PipeWire.

If fences are not available, the buffer is submitted without explicit
synchronization as before.

Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Michael Tretter's avatarMichael Tretter <m.tretter@pengutronix.de>
parent f271dd34
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment