diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-04 17:09:00 +0100 |
---|---|---|
committer | Ilia Bozhinov <ammen99@gmail.com> | 2020-12-30 11:17:43 +0100 |
commit | c4635c68d25b92564a4568f435526108448fa0ca (patch) | |
tree | 15a6538f8a7b3d4cc1482954f0c773dc09c0fa50 /include | |
parent | 7ea0e9f27790a9890e97b3068a681f958197c0e5 (diff) |
render/drm_format_set: add special case for LINEAR-only formats
Our wlr_format_set structs don't hold GBM usage flags. Instead, users
who want to get a LINEAR buffer can use the DRM_FORMAT_MOD_LINEAR
modifier even if the kernel driver doesn't support modifiers.
Add a special case to wlr_drm_format_intersect to properly handle this
situation.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions