gbm: Move gbm_format_canonicalize() to the core.
authorEric Anholt <eric@anholt.net>
Thu, 8 Nov 2018 17:57:32 +0000 (09:57 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 12 Nov 2018 23:20:23 +0000 (15:20 -0800)
commitee7f848c000112a98e9614f42921b176be473792
treeaeecb528e97e82f5bb2e28f3e3552cd2ce914763
parent4eab98b66e7dc495f26ac3b0e356e405c0796b74
gbm: Move gbm_format_canonicalize() to the core.

I want it for the format name debugging code.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/gbm/backends/dri/gbm_dri.c
src/gbm/main/gbm.c
src/gbm/main/gbmint.h