diff options
| author | 2025-01-07 20:01:13 +0000 | |
|---|---|---|
| committer | 2025-01-14 01:10:41 +0000 | |
| commit | 5f66a5be316b230c43d66f57f87899588dec8c06 (patch) | |
| tree | 947cb691f470baa1c188cb39958acc5cf4cdfc51 /libs/androidfw/misc.cpp | |
| parent | 2632c401eb79c22375e88140ec60dc1ff9121b32 (diff) | |
Only preload egl context
- The buffer allocator initialization is removed from this flag
as it is caused a memory regression b/384876428
on activities without ui.
- This change allows us to claw back some of the improvement
and we can follow up with further optimizations afterwards
impact: improves app launch latency in low core devices
- ~20ms in our view baed app launch
- up to ~60ms improvements in material3 compose app
- net neutral memory change
Test: build and app launch test
Bug: 383612849
Flag: com.android.graphics.hwui.flags.early_preload_gl_context
Change-Id: I3009dcf7f9ec86e908cd65239974be208ad6b918
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions