summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-11-15 15:50:05 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-11-16 17:25:15 +0000
commit63513baacc10373dd85e45ea402722c9a0c5f23b (patch)
treecc174be16167305b63089db2e7f9d5f0d45c9ced /libs/hwui/FrameInfoVisualizer.cpp
parent6595932508585d5d0618e5ba8dba696bccdec55e (diff)
Remove usages of global transaction
The performSurfacePlacement will prepare the operation in the pending transaction and then let WindowAnimator apply it with vsync. Since there are only few usages of global transaction, the transaction applied from performSurfacePlacement is almost only from DisplayContent#prepareSurface, so it is more efficient to centralize with WindowAnimator. This can reduce an IPC to surfaceflinger in every surface placement, which should eliminate one of major cost. Bug: 159103089 Test: CtsWindowManagerDeviceActivity Change-Id: I67e4e58aced78a2f36163178a64ca55d3c77e6f3
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions