diff options
author | Rouven Czerwinski <rouven@czerwinskis.de> | 2021-11-27 19:08:18 +0100 |
---|---|---|
committer | Rouven Czerwinski <rouven@czerwinskis.de> | 2021-11-27 19:32:25 +0100 |
commit | d37eb5c2eaedcada7dd39da1a31c6e9a39c8ed46 (patch) | |
tree | f0abe46ba77560e79bc2e19a39dfb6c705bfc6cd /backend/drm/backend.c | |
parent | 254ab890e787ccee1e33fb420781c9696761ce3c (diff) |
linux-dmabuf-v1: filter out LINEAR if implicit
If only INVALID and LINEAR are valid modifiers, we need to filter out
LINEAR since Xwayland won't be able to allocate a BO with the explicit
linear modifier on hardware that does not support explicit modifiers.
The addition of LINEAR is an internal implementation detail which
simplifies the wlroots architecture for now.
Evntually Xwayland should be fixed to filter out modifiers that are not
supported by the GBM implementation, see [1]. This could be done by
querying EGL for the supported modifiers.
[1]: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1166
Diffstat (limited to 'backend/drm/backend.c')
0 files changed, 0 insertions, 0 deletions