diff options
author | 2021-11-01 17:21:15 -0700 | |
---|---|---|
committer | 2021-12-09 18:26:38 -0800 | |
commit | cdf6cbc6595a675c01e112833d074eb0e22d037c (patch) | |
tree | 526f055612a7b94b3a9e2fa49692747bfe0f1d42 /libs/ui/StaticAsserts.cpp | |
parent | 2b1212b9b1d626a7d8da530429a660db33c4c7e6 (diff) |
End-to-end plumbing for dimming SDR layers
Model here is:
* HDR luminance is set to the current display brightness
* SDR luminance is set to the current SDR white point reported by
DisplayManager
Ideally we use scene-referred white points instead, so:
* PQ is always 10k nits
* HLG is always 1k nits
* Everything else is 150-200 nits
So relative dimming thresholds are fixed. But right now this is visually
less jarring (otherwise youtube UI will suddenly dim when autoplaying
HDR video).
Bug: 200310158
Test: Verified that plumbing sdr white point is sent to renderengine
Test: librenderengine_test
Test: libcompositionengine_test
Test: DataspaceUtils_test
Change-Id: I5bcea7941935c43e57cd5434e1ec69b41d31f2b4
Diffstat (limited to 'libs/ui/StaticAsserts.cpp')
0 files changed, 0 insertions, 0 deletions