summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Sally Qi <sallyqi@google.com> 2024-12-03 22:10:45 -0800
committer Sally Qi <sallyqi@google.com> 2025-01-06 10:53:26 -0800
commit10fc8990be2c0b81d29b3241eff3cb7994397e92 (patch)
tree9dc4ffc9d50f689c3440ad5934d047278ceec73f /libs/gui/LayerState.cpp
parentedc714653a4f690c34ff6897e3ae4d1e79d1d38e (diff)
[Lut screenshot] backend implementation v2
Relnote: real implementation to call getLuts() binder in screenshot. 1. screenshot compositionengine doesn't have valid hwc composer object, we modify `setHwComposer` function to allow hwcomposer object to be used in multiple places. and set hwcomposer to screenshot compositionengine. 2. extend compositionengine::LayerFE::LayerSettings to include layer sequence number, and we use this unique value to identify which Luts should be used for which layer. Bug: 352585077 Test: libcompositionengine_test; libsurfaceflinger_unittest Flag: android.hardware.flags.luts_api Change-Id: I4ef43bfd515541d23a8de8785f04e3a21c46b410
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions