Skip to content

backends/drm: don't cache formats

Xaver Hugl requested to merge work/explicit-modifiers into master

While it could be useful with tiled displays, the isFormatSupported and supportedModifier functions can be called before prepareModeset, so where m_formats is still empty. Additionally they're neither in a hot path nor performance critical.

With explicit modifiers this is needed or KWin crashes on boot. Taken out of !1641 (merged)

Merge request reports