summaryrefslogtreecommitdiff
path: root/graphics/mapper/3.0/vts/functional/VtsHalGraphicsMapperV3_0TargetTest.cpp
AgeCommit message (Collapse)Author
2022-04-06Allow old gralloc implementations to skip P010 support.Alec Mouri
P010 is mandated for vendor versions that are at least api level 33. Gralloc versions below this may not support P010 due to lack of enforcement, but tests for already-shipping devices must still pass. Bug: 220360702 Test: VtsHalGraphicsMapperV3_0TargetTest Change-Id: I7ba268713bada133491813aa3c9bd87fdecd2fef
2021-06-30Add VTS test for YCbCr_P010 to denote that YCbCr_P010 is supported in Grallocramindani
BUG: 181069130 Test: atest VtsHalGraphicsMapperV3_0TargetTest Change-Id: I43737dcbb530c0c4018b9609434eef38d8daa887
2020-08-31Mark GraphicsMapperHidlTest as allowing not being instantiatedChris Forbes
Only the variant(s) actually implemented by the device will be instantiated. This is consistent with tests for other versioned or optional HALs. Bug: b/167222309 Test: atest VtsHalGraphicsMapperV2_0TargetTest:GoogleTestVerification#UninstantiatedParameterizedTestSuite<GraphicsMapperHidlTest> -- --abi arm64-v8a Change-Id: I4f1bfbad47bdbf75578ec48a3a56fb5351e7729a
2019-12-06Convert VtsHalGraphicsMapperV*TargetTest to be parameterized testDan Shi
Bug: 142397658 Test: atest VtsHalGraphicsMapperV2_0TargetTest \ VtsHalGraphicsMapperV2_1TargetTest \ VtsHalGraphicsMapperV3_0TargetTest Change-Id: I1d4e222f3a04882ae8d74e79201c2751d1d22ea4
2019-04-10mapper: support new usage and formatMarissa Wall
Update IMapper to use usage and format from android.hardware.graphics.common@1.2. This enables support for the usage HW_IMAGE_ENCODER and the format HSV_888 which is already being defined and used. Test: IMapper VTS tests Bug: 79465976 Change-Id: I680beb6e5b1cd246c28d17f855f5c76a5831ce06
2019-01-22mapper: add isSupportedMarissa Wall
Add a function to the mapper hal that checks if a BufferDescriptorInfo is ever supported on a device. This value can be cached by the client. The client can use this information to make decisions on what type of buffers should attempt to allocate. Bug: 120493579 Test: vts Change-Id: I6bd7909e40d6462524bf49cf0d4e7af721e701ed
2019-01-22mapper: update lock's return valuesMarissa Wall
Require mapper to return more information when locking a buffer. Opaque vendor formats make it difficult to manipulate a locked buffer. The pointer to the buffer's data is always at the top left hand corner of the buffer. It can be impossible to know where the locked region begins. The mapper now must return the bytes per pixel and bytes per stride of a locked buffer when the values are consistent and known. Bug: 120493579 Test: vts Change-Id: Id0921f191f1e388d4950ecef73acab6a34010dc4
2019-01-12graphics: rev IAllocator and IMapperMarissa Wall
Increase IAllocator and IMapper to 3.0. This patch does not add any new features. Bug: 120493579 Test: vts Change-Id: I84d9887f94d91eca1cc5d845bb11ac1d8affbf62