gbm: Check harder for supported formats
authorDaniel Stone <daniels@collabora.com>
Fri, 16 Jun 2017 13:19:40 +0000 (14:19 +0100)
committerDaniel Stone <daniels@collabora.com>
Tue, 18 Jul 2017 21:16:20 +0000 (22:16 +0100)
commit7ac09e0c5511c1d2f622ab7271e33f6fe8c27841
treeb95df6174dd9f793aa6a05aaa24af9aa0a285b8c
parent2ede8943848b139afca7ac281df4c3e982e73b33
gbm: Check harder for supported formats

Luckily no-one really used the is_format_supported() call, because it
only supported three formats.

Also, since buffers with alpha can be displayed on planes, stop banning
them from use.

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