How to test whether a buffer is in linear format

Sebastian Krzyszkowiak dos at
Sun Aug 7 23:37:18 UTC 2022

On 8/6/22, Hoosier, Matt <Matt.Hoosier at> wrote:
> Any idea what’s up with some compositors adding code to infer
> DRM_FORMAT_MOD_LINEAR semantics when the buffer’s modifiers are set to 0?
> Wlroots, for example, added this as a “safety net for drm drivers not
> announcing modifiers”.

For the record, that's an old piece of code from a branch that hasn't
been used for a long time already, so don't pay attention to it. See for details.


More information about the wayland-devel mailing list