Skip to content
Commit 46a6b5b4 authored by Robert Mader's avatar Robert Mader Committed by Robert Mader
Browse files

clients/simple-dmabuf-feedback: Support multi-tranche feedbacks



Compositors may choose to send multiple scanout or non-scanout
tranches. So instead of assuming that the first respective tranche
contains the format/modifier we're looking for, check all tranches.

While on it, make sure that in case a compositor sends scanout
tranches on the initial feedback, `pick_format_from_scanout_tranche()`
does not unintentionally pick `INITIAL_BUFFER_FORMAT`.

Signed-off-by: default avatarRobert Mader <robert.mader@collabora.com>
parent a55bd679
Loading
Loading
Loading
Pipeline #593803 passed with stages
in 2 minutes and 13 seconds
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