summaryrefslogtreecommitdiff
path: root/libs/ui/StaticAsserts.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-11-01 17:21:15 -0700
committer Alec Mouri <alecmouri@google.com> 2021-12-09 18:26:38 -0800
commitcdf6cbc6595a675c01e112833d074eb0e22d037c (patch)
tree526f055612a7b94b3a9e2fa49692747bfe0f1d42 /libs/ui/StaticAsserts.cpp
parent2b1212b9b1d626a7d8da530429a660db33c4c7e6 (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