commit | 84ddbe542bed39183d84de57bca93d99d7330bc5 | [log] [tgz] |
---|---|---|
author | George Mount <mount@google.com> | Fri Mar 22 15:10:12 2024 -0700 |
committer | George Mount <mount@google.com> | Wed Mar 27 15:00:00 2024 +0000 |
tree | c1e11b9affc4ad7ad90499e4e07ac26b51232ad5 | |
parent | 8bf4990b7107ad0df085ab0678d0dddd786a1822 [diff] |
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