commit | 9776d3e35718efd9ea08400fe0dbea61dc6386ce | [log] [tgz] |
---|---|---|
author | Alec Mouri <[email protected]> | Fri Nov 04 01:32:24 2022 +0000 |
committer | Alec Mouri <[email protected]> | Tue Jan 31 00:36:19 2023 +0000 |
tree | 19f4028f6ef2d32f9a8a945e0c1f2c8b4f88930e | |
parent | 397065c0f1c40b907c3fab6396d654c4a5b71341 [diff] |
Tonemap in RecordingCanvas Intecepts bitmap calls to tonemap whenever the source is HDR (PQ/HLG) and the destination is SDR. Also, fix the following bugs discovered as part of testing: 1. Don't implicitly cast to booleans when extracting transfer functions from a dataspace in hwui's tonemapper. 2. Fix some typos in defining the HLG/PQ transfer functions. Bug: 261088450 Test: New ColorBitmapActivity in HwAccelerationTest Change-Id: I9d9d68fc4f57b999b3c6d4156bef281b4409f37e