backends/drm: signal dmabuf feedback if an unsupported modifier is used
Otherwise the per-surface feedback never gets updated, and direct scanout fails
This commit is contained in:
parent
cbab4b46c1
commit
38e2bf34cf
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ bool EglGbmLayer::scanout(SurfaceItem *surfaceItem)
|
|||
return false;
|
||||
}
|
||||
if (!formats[dmabufAttributes->format].contains(dmabufAttributes->modifier)) {
|
||||
m_dmabufFeedback.scanoutFailed(surface, formats);
|
||||
return false;
|
||||
}
|
||||
m_scanoutTransform = neededTransform;
|
||||
|
|
Loading…
Reference in a new issue