platform_hardware_interfaces/graphics
Valerie Hau 6a05e9113a Returning HWC2_CAPABILITY_SKIP_VALIDATE capability if device supports it
For reasons unknown, HWC2_CAPABILITY_SKIP_VALIDATE was never added to
the IComposer hal.  However, we would like to tell the client that the
device has this capability when it is returned during a getCapabilities
query.  We manually add it to the list of IComposer::Capability
(static_cast should be ok since the IComposer::Capability has a fixed
underlying type of int32_t, and HWC2_CAPABILITY_SKIP_VALIDATE = 4 is in
this range).  Checking that device has skip validate functionality in
relevent test as well

Bug: 140813883
Test: build, boot, VtsHalGraphicsComposerV2_1TargetTest
Change-Id: I5f28268c4e6edeb2895502c5f4e009cebb566100
2019-09-11 14:25:48 -07:00
..
allocator graphics: rev IAllocator/IMapper to 4.0 2019-07-23 17:08:06 -07:00
bufferqueue Update hidl makefiles for bpfmt 2019-04-18 18:13:05 -07:00
common Update hidl makefiles for bpfmt 2019-04-18 18:13:05 -07:00
composer Returning HWC2_CAPABILITY_SKIP_VALIDATE capability if device supports it 2019-09-11 14:25:48 -07:00
mapper graphics: rev IAllocator/IMapper to 4.0 2019-07-23 17:08:06 -07:00