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

Commit af50624d authored by Robert Carr's avatar Robert Carr
Browse files

Don't call invalidateHwcGeometry when handling transactions

This causes composition engine to trigger a full update when
preparing composition state (StateSubset::GeometryAndContent)
vs StateSubset::Content. In single buffer update scenarios
this costs ~14% of whole process CPU instructions or ~20% of main
thread CPU instructions.

Bug: 186200583
Test: Existing tests pass
Change-Id: I8e3be0e4d828823f665fb05ea275401a178eb861
parent 6a409e17
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2481,7 +2481,6 @@ void SurfaceFlinger::handleTransaction(uint32_t transactionFlags) {
    handleTransactionLocked(transactionFlags);

    mDebugInTransaction = 0;
    invalidateHwcGeometry();
    // here the transaction has been committed
}