diff options
| author | 2022-11-04 01:32:24 +0000 | |
|---|---|---|
| committer | 2023-01-31 00:36:19 +0000 | |
| commit | 9776d3e35718efd9ea08400fe0dbea61dc6386ce (patch) | |
| tree | 19f4028f6ef2d32f9a8a945e0c1f2c8b4f88930e /libs/input/PointerController.cpp | |
| 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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions