commit | ede3ded5e427cb3c1e755e7050c3bc82ee9d5133 | [log] [tgz] |
---|---|---|
author | Santos Cordon <santoscordon@google.com> | Sun Apr 11 20:23:55 2021 +0100 |
committer | Santos Cordon <santoscordon@google.com> | Fri Apr 30 13:05:29 2021 +0100 |
tree | 82889eb16209131caaf1a94844fbb9fd3a35e9ea | |
parent | 3ec445926ba8cb20295eb80e64939b017565ba51 [diff] |
Add HDR-HBM support into framework. Add a listener to know when HDR layers are present on displays which support HBM. Pass both HDR and SDR brightness requests from DPC to SurfaceFlinger. Lots and lots of scaffolding for this. Bug: 175321409 Bug: 175821789 Test: atest com.android.server.display Test: Manually verify that brightness levels are correct when in high lux and HDR, low lux and HDR, and various luxes without HDR. Change-Id: I530299455a7745fd57d44b1e8b20477674894e21