commit | ca7ced38ae324f1f2e81559aaf302bf974e2b366 | [log] [tgz] |
---|---|---|
author | Tim Van Patten <timvp@google.com> | Fri Jan 03 22:54:05 2025 +0000 |
committer | Tim Van Patten <timvp@google.com> | Fri Jan 03 22:58:43 2025 +0000 |
tree | 8cd684809bc116c005712da388b102dc131a28bf | |
parent | 38a4ab9f6e7a58abefb2f4f0f2672f1cf51885bd [diff] |
Cleanup GraphicsEnv::setAngleInfo() Cleanup some minor nits and performance issues in GraphicsEnv::setAngleInfo(): 1. Make the paramater `eglFeatures` a reference. * This avoids the copy of the std::vector that's currently done every function call. 2. Remove `std::move()` calls on `const` values. * std::move() has no effect on const values, resulting in a copy anyway. Bug: 372694741 Test: CQ Change-Id: Id774e8c5aa06b966d04213251c195055e271687b