egl: Improve the debugging of gbm format matching in DRI configs.
authorEric Anholt <eric@anholt.net>
Mon, 29 Oct 2018 16:28:00 +0000 (09:28 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 12 Nov 2018 23:20:23 +0000 (15:20 -0800)
commit621b0fa8922ade0a8122b868177308e65e6d3595
tree61d0499594d855dcdd5f59080cbac44b08c83139
parent6328536ff28ca26f2ad4e6f2c956c467acebda88
egl: Improve the debugging of gbm format matching in DRI configs.

Previously the debug would be:

libEGL debug: No DRI config supports native format 0x20203852
libEGL debug: No DRI config supports native format 0x38385247

but

libEGL debug: No DRI config supports native format R8
libEGL debug: No DRI config supports native format GR88

is a lot easier to understand.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
src/egl/drivers/dri2/platform_drm.c