History log of /hardware/interfaces/automotive/evs/1.0/vts/functional/FrameHandler.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
79d13ff0f5cd3c4242445baf5b2f01a52f0ed06f 31-Mar-2017 Chia-I Wu <olv@google.com> graphics: revise gralloc interfaces

Revise IAllocator and IMapper to reduce IPC and to support gralloc0
devices.

Specifically, IAllocator is trimmed down to have essentially only

allocate(BufferDescriptor descriptor, uint32_t count)
generates (Error error,
uint32_t stride,
vec<handle> buffers);

The ability to allocate buffers with shared backing store is
removed. ProducerUsage and ConsumerUsage are moved to the
graphics.common package and are merged and renamed to BufferUsage.
BufferUsage's bits follow gralloc0.

IMapper gains

typedef vec<uint32_t> BufferDescriptor;
createDescriptor(BufferDescriptorInfo descriptorInfo)
generates (Error error,
BufferDescriptor descriptor);

where BufferDescriptor is an implementation-defined blob. lockFlex
is replaced by lockYCbCr. All getters are removed.

Reference counting with retain/release is replaced by
importBuffer/freeBuffer.

Most if not all gralloc1 features are not used by the runtime yet.
There is also not too much test written for them. As such, they
tend to behave differently between implementations and cannot be
used reliably.

Bug: 36481301
Test: builds and boots on Pixel
Change-Id: I1d31105120517ea2c128c7a19297acf3bfd312bb
/hardware/interfaces/automotive/evs/1.0/vts/functional/FrameHandler.h
6c0855895a14fd49b7992abff3019cf8cad2a216 30-Mar-2017 Scott Randolph <randolphs@google.com> Add VTS tests for EVS HAL

Note: This change list was developed as ag/2031642 on master, but
cherry picks are broken at the moment, so reapplying directly to oc-dev.
The change in master will be abandoned in favor of the auto-merger.

Test: Run them against the default (mock) driver on bat_land
Change-Id: I7ae523eb6a18ce6a1d0dcd8494f335ffa77f34f1
/hardware/interfaces/automotive/evs/1.0/vts/functional/FrameHandler.h