summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-05-12 21:16:13 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-05-26 18:50:34 +0800
commit5495bffd235b09af345167c27b9bb1d6756f6a72 (patch)
tree124d4f054f86f888a0becb75b522647b9f284818 /libs/hwui/renderthread/DrawFrameTask.cpp
parentcc0987b12a4b8e3731f39614324a5c28bd4ec52b (diff)
Reduce invocation of surface placement of switching activities
This skips to perform surface placement immediately when starting activity and reporting activity paused. Because the window of next resuming activity should also do it by relayout. These skip cases are relatively safe because before the transition is ready, the visual appearance should keep the same even if without running surface placement. One of obvious benefit is to reduce lock contention from the systemui when handling starting window (add window/relayout/finish drawn). Bug: 188398125 Bug: 183665220 Bug: 187104264 Test: CtsWindowManagerDeviceTestCases Change-Id: Ice5a47a64178cbd00ce27625a60eded2b699e9cf
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions