summaryrefslogtreecommitdiff
path: root/libs/gui/WindowInfo.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2022-02-07 12:45:57 -0800
committer Alec Mouri <alecmouri@google.com> 2022-02-10 14:32:10 -0800
commit6da0e27570019bf71ae85c03219af9beecb4413b (patch)
treef47769ecf3bc40ce752b95223a16d366f63f2436 /libs/gui/WindowInfo.cpp
parent7c60b886d46e8bf76f19c00130b9bc3d28cd2f6d (diff)
Send dimming ratio to composer instead of white point nits
* Send the dimming ratio over to composer as the HWC api is changing to not expose the notion of nits to composer, as the white point nits are part of logical SF state that does not map as nicely to display hardware * Fixes an issue where scheduling a recomposite for a frame when brightness changes is contingent on the presence of HDR layers, which is not valid when an HDR layer exits the scene, but DisplayManager animates the display brightness down to the SDR white point. Bug: 217961164 Test: builds, boots Test: HDR test videos on youtube Change-Id: Icc07b00f60859bbd3ee078cd2bb793eda42e7781
Diffstat (limited to 'libs/gui/WindowInfo.cpp')
0 files changed, 0 insertions, 0 deletions