gbm: assume USE_SCANOUT in create_with_modifiers
authorSimon Ser <contact@emersion.fr>
Fri, 27 Aug 2021 13:03:39 +0000 (15:03 +0200)
committerSimon Ser <contact@emersion.fr>
Thu, 30 Sep 2021 22:02:36 +0000 (00:02 +0200)
commitad50b47a14e94751cd59ad5892ad795d508557f0
tree6cd4531b7fb250a4a0f53913f67582079afc33b3
parent268e12c605341eedfda22bdbbf623aa123a290e8
gbm: assume USE_SCANOUT in create_with_modifiers

gbm_{bo,surface}_create_with_modifiers doesn't allow callers to
pass usage flags. Assume USE_SCANOUT since this is what most
callers want.

Bump the GBM ABI version so that other backends can discover when
the usage flags can be used.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: James Jones <jajones@nvidia.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3197>
src/gbm/main/gbm.c
src/gbm/main/gbm_abi_check.c
src/gbm/main/gbm_backend_abi.h