diff options
author | Simon Ser <contact@emersion.fr> | 2021-06-18 12:15:08 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-06-20 23:17:08 +0200 |
commit | 2f615468b68d49c8ec03ceffa751f8425d4c9b6b (patch) | |
tree | dff89e08ce6be6041fc9060762ad534166faa9ba /include/backend/drm/iface.h | |
parent | 15c8453ba11d70e1cc271d5cebed307fe43cd4ba (diff) |
backend: add output state allow-lists
Right now, when a new output state field is added, all backends by
default won't reject it. This means we need to add new checks to
each and every backend when we introduce a new state field.
Instead, introduce a bitmask of supported output state fields in
each backend, and error out if the user has submitted an unknown
field.
Some fields don't need any backend involvment to work. These are
listed in WLR_OUTPUT_STATE_BACKEND_OPTIONAL as a convenience.
Diffstat (limited to 'include/backend/drm/iface.h')
0 files changed, 0 insertions, 0 deletions