OSDN Git Service

Remove 32bit RGB format support
authorrenchenglei <chenglei.ren@intel.com>
Tue, 16 Oct 2018 02:32:51 +0000 (10:32 +0800)
committerrenchenglei <chenglei.ren@intel.com>
Tue, 16 Oct 2018 02:32:51 +0000 (10:32 +0800)
commit6560d7e4685b34f2ed05392f472f234874c71fa1
tree5bbb8e81b4a89e54c0dee86b1bd6dc81f6fde588
parentc6971682cf6d8fed5f6d69b3c3c6c194ac7fdf69
Remove 32bit RGB format support

HAL_PIXEL_FORMAT_RGBA_1010102 is added to fix CTS issue
android.hardware.cts.HardwareBufferTest#testCreate. In fact,
GL extensions should not be uesd to query for wide-gamut
support. As google has removed RGBA 10:10:10:2 format check
and HAL_PIXEL_FORMAT_RGBA_1010102 patch also cause other CTS
regression, let's remove it here.

Following case could pass with this patch
SingleLayer_ColorTest_GpuSampledImageCanBeSampled_R10G10B10A2_UNORM

CTS test case remove RGBA 10:10:10:2 format check
https://android-review.googlesource.com/c/platform/cts/+/733623

Tracked-On: https://jira01.devtools.intel.com/browse/OAM-70128
cros_gralloc/i915_private_android.cc
i915_private.c