summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-06-03 13:44:46 -0700
committer Vishnu Nair <vishnun@google.com> 2023-06-23 20:16:33 +0000
commita02943f3b11e5915e1eca651c01e60ebd7afd8a6 (patch)
tree47ff5733f1b4575d53ab512e7d038da77461341c /libs/ultrahdr/jpegencoderhelper.cpp
parente371d683a1f39c34c3339d323937e4810d24d2d4 (diff)
[sf] optimize snapshot updates
Modify the snapshot update logic so its easier to maintain. Instead of walking the tree and updating all the snapshots, this cl introduces a preliminary step of walking though all the requested changes and updating the affected snapshots by merging the changes to the snapshot. This is followed by walking down the tree and updating properties that are dependent on the parent snapshots. If the changes are confined to buffer updates, then the fast path avoids walking down the tree. Bug: 238781169 Test: presubmit Change-Id: Ic9aa66c376bf7ea80e38b321dd08b8d0f69559a9
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions