[Mesa-dev] [PATCH] gbm: Clarify acceptable formats for gbm_bo

Eric Anholt eric at anholt.net
Thu Nov 15 20:53:23 UTC 2018


Daniel Stone <daniels at collabora.com> writes:

> gbm_bo_create() was presumably meant to originally accept gbm_bo_format
> enums, but it's accepted GBM_FORMAT_* tokens since the dawn of time.
> This is good, since gbm_bo_format is rarely used and covers a lot less
> ground than GBM_FORMAT_*.
>
> Change the documentation to refer to both; this involves removing a 'see
> also' for gbm_bo_format, since we can't also use \sa to refer to a
> family of anonymous #defines.
>
> Signed-off-by: Daniel Stone <daniels at collabora.com>
> Reported-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181115/75332c73/attachment.sig>


More information about the mesa-dev mailing list