Commit ca7ced3
committed
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: Id774e8c5aa06b966d04213251c195055e271687b1 parent 38a4ab9 commit ca7ced3
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
610 | 610 | | |
611 | | - | |
| 611 | + | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
614 | 614 | | |
615 | 615 | | |
616 | 616 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments