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/RequestedLayerState.cpp b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp index 39bf07a..b7fa4f0 100644 --- a/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp +++ b/services/surfaceflinger/FrontEnd/RequestedLayerState.cpp
@@ -96,6 +96,8 @@ layerStack = ui::DEFAULT_LAYER_STACK; transformToDisplayInverse = false; dataspace = ui::Dataspace::UNKNOWN; + desiredSdrHdrRatio = 1.f; + currentSdrHdrRatio = 1.f; dataspaceRequested = false; hdrMetadata.validTypes = 0; surfaceDamageRegion = Region::INVALID_REGION;