Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 63513baa authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 65959325
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment