diff options
author | Fiona Campbell <flc@google.com> | 2021-01-19 16:47:54 +0000 |
---|---|---|
committer | Fiona Campbell <flc@google.com> | 2021-02-24 22:58:42 +0000 |
commit | 9764e3ab72cacc536a1f64c5d5e84908276aa6ea (patch) | |
tree | 76261c9b0064e6567fcf6dd8db0dc23dcef53c08 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | d549483e311e3d9765efc21be1524c1ebe96d9a2 (diff) |
Change BrightnessMappingStrategy to use DDC values
Use brightness min and max values from display device config.
Use brightness nits and backlight ranges from display device config
Convert the nits to backlight splines to only use the valid range considering the min and max values given in the ddc.
Backlight refers to the values handled by the HAL.
Brightness refers to the values used and stored in the system.
Bug: 151620088
Bug: 174757872
Bug: 171380847
Test: LocalDisplayAdapterTest, AutomaticBrightessControllerTest, BrightnessMappingStrategyTest
Change-Id: I6907f11cdf4e62ec9e6ed4304d11fe7686f5c8b6
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions