commit | 6879659d589a17d362f91bba4bec5737504a75e7 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Wed Jan 25 13:47:12 2023 -0500 |
committer | John Reck <jreck@google.com> | Wed Jan 25 17:19:47 2023 -0500 |
tree | 5b7dc6d0fa14fe1fbd925854c760b75841f9231b | |
parent | 6caf98c5d0033ad009ae822fb22ddb5802aa5e03 [diff] [blame] |
Add extended brightness range impl Bug: 241001465 Test: manual currently, flagged off Change-Id: I707281b9acaf6ea218f1d9ce888fc7cdbf1cf7c9
diff --git a/services/surfaceflinger/FrontEnd/LayerSnapshotBuilder.cpp b/services/surfaceflinger/FrontEnd/LayerSnapshotBuilder.cpp index 40dffb9..cc26591 100644 --- a/services/surfaceflinger/FrontEnd/LayerSnapshotBuilder.cpp +++ b/services/surfaceflinger/FrontEnd/LayerSnapshotBuilder.cpp
@@ -667,6 +667,8 @@ snapshot.sidebandStream = requested.sidebandStream; snapshot.transparentRegionHint = requested.transparentRegion; snapshot.color.rgb = requested.getColor().rgb; + snapshot.currentSdrHdrRatio = requested.currentSdrHdrRatio; + snapshot.desiredSdrHdrRatio = requested.desiredSdrHdrRatio; } if (snapshot.isHiddenByPolicyFromParent && !newSnapshot) {