gbm: Pull out FourCC <-> DRIimage format table
authorDaniel Stone <daniels@collabora.com>
Fri, 16 Jun 2017 13:11:16 +0000 (14:11 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 18 Jul 2017 21:16:20 +0000 (22:16 +0100)
commit2ede8943848b139afca7ac281df4c3e982e73b33
treec41350769b026de7d17ca84a6c7fd52dacda037d
parent6f8d8b17a1e25361881dfa4f91a43c1c04b029f9
gbm: Pull out FourCC <-> DRIimage format table

Rather than duplicated (yet asymmetric) open-coded tables, pull them out
to a common structure.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gbm/Makefile.am
src/gbm/backends/dri/gbm_dri.c