summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2023-03-08 15:02:06 -0800
committer Vishnu Nair <vishnun@google.com> 2023-03-10 20:22:28 +0000
commit817506258641f149256fc038b4f3830546d87bbd (patch)
tree24a68983a9f1309956d7dd3745f23fe4216126af /libs/ultrahdr/jpegencoderhelper.cpp
parent1391de29a85ba0e4c89d7a95cddcf95a94c77c89 (diff)
[sf] Switch layer trace generator to use the new sf front end
Previously we used a mocked up flinger to playback the transactions and then generate the layers trace. This was prone to data races since layers were added on binder thread and transactions were committed on the main thread. This would lead to invalid data being generated or crashes. This cl modifies the transaction traces to capture state changes in the main thread and uses the new front end logic to generate the layer snapshots. New front end has no dependencies to the rest of surfaceflinger and will be more robust in recreating layer snapshots . Test: presubmit Test: capture layers and transaction traces Fixes: 255901752 Change-Id: I416bff27c90eae1ab8383cbfff4403b0e93c1006
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions