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

Skip to content
Commit 84ddbe54 authored by George Mount's avatar George Mount
Browse files

Improve performance of VRR

Bug: 330765659

Trace.isTagEnabled() is expensive and has been removed in favor
of the less expensive condition it was protecting.

Size checks are done only when the size of a View changes.
The small size requirement is calculated once rather than
in every View.

For Views that don't draw, only vote when motion is involved.

Test: ran performance check. Improvement of around 30%

Change-Id: I73658e94d41799a7d88fcc568061f8d46c90c757
parent 8bf4990b
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