egl/android: Enable HAL_PIXEL_FORMAT_RGBA_1010102 format
authorrenchenglei <chenglei.ren@intel.com>
Thu, 12 Sep 2019 05:45:31 +0000 (13:45 +0800)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 12 Sep 2019 05:59:56 +0000 (05:59 +0000)
commite2485bb02392f81cb9e24d8a3466cd6a2ba8d73a
tree6c98944e1f27534ab00776a928bbaa18eee2ef1b
parent6a82a374b4a97298a5f7f0e444fd28610f708332
egl/android: Enable HAL_PIXEL_FORMAT_RGBA_1010102 format

The patch adds support for HAL_PIXEL_FORMAT_RGBA_1010102 on
Android platform.

Fixes android.media.cts.DecoderTest#testVp9HdrStaticMetadata
which failed in egl due to "Unsupported native buffer format 0x2b"
on Android.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Chenglei Ren <chenglei.ren@intel.com>
src/egl/drivers/dri2/platform_android.c