gbm: add GBM_FORMAT_XBGR8888 format support
authorRob Herring <robh@kernel.org>
Tue, 19 Apr 2016 19:38:41 +0000 (14:38 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Apr 2016 13:45:56 +0000 (14:45 +0100)
commit1ba203a0855664a1625bf37f4403c19d2f97810c
treeb58ae8a551d53957bbe445ec05f61d595048287d
parentccdcf91104a5f07127b5b8d8570b5c4bbcf86647
gbm: add GBM_FORMAT_XBGR8888 format support

Add GBM_FORMAT_XBGR8888/__DRI_IMAGE_FORMAT_XBGR8888 format support which
is needed for Android.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gbm/backends/dri/gbm_dri.c