summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2021-05-19 14:29:05 -0700
committer Alec Mouri <alecmouri@google.com> 2021-05-20 23:31:16 +0000
commitc773472bfd0230fce3e01fbd71b694e77f7c64df (patch)
tree72463d88fdbdcbf9a1a6b7db8de638937a67d1bf /libs/gui/LayerDebugInfo.cpp
parent4d7a06614c57cf564fa61fc671bbdf7e7c739cff (diff)
Fix caching runtime toggle
1. When caching is disabled, the override info must be cleared before repainting the screen. Otherwise, ignored layers may persist in HWC. 2. Dispatch the caching toggle on the main thread, to de-risk threading issues. Bug: 188611599 Test: adb shell service call SurfaceFlinger i32 1040 0, then check dumpsys Change-Id: I6926e69fb9762209c958beceb2679cd7a5806306 Merged-In: I6926e69fb9762209c958beceb2679cd7a5806306
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions