Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9ca3df4f authored by Mark Yacoub's avatar Mark Yacoub
Browse files

VTS: Update dataspace and readback buffer support after setColorMode

[Why]
Dataspace can get updated after calls to
ComposerClientWrapper::setColorMode so we can't cache it at setup.
Dataspace is used to check for readback support, so we have to check for
the support after we get the current dataspace.

[How]
Create a helper function that retrieves the dataspace to use in the
subtest, and check if readback is supported given the dataspace.
Call this function after every call to setColorMode when the dataspace
can change.

Bug: b/395405757
Test: atest VtsHalGraphicsComposer3_TargetTest
Flag: TEST_ONLY
Change-Id: I02d7e0aa8915517664b80efec7a72bf7f8773962
parent 6d82e597
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment