Simon Ser 0ccad4b24f clients/simple-dmabuf-egl: don't add INVALID to modifier list
While this is harmless because gbm_bo_create_with_modifiers will just
fail, it's easy to misunderstand that gbm_bo_create_with_modifiers
accepts MOD_INVALID. Let's just keep modifiers_count to zero instead
and stop even trying to call that function with invalid input.

Stop using modifiers_count to decide whether the compositor supports a
format. Instead use a separate format_supported flag.

Signed-off-by: Simon Ser <contact@emersion.fr>
References: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7601#note_778845
2021-05-17 11:59:58 +00:00
..
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2019-11-28 19:24:13 +00:00
2020-02-27 11:08:48 +00:00
2021-02-25 14:35:03 +02:00
2019-11-28 19:24:13 +00:00
2020-02-27 11:08:48 +00:00
2020-08-14 10:31:49 +00:00