diff options
| author | 2025-01-14 18:24:10 +0000 | |
|---|---|---|
| committer | 2025-02-12 22:08:31 +0000 | |
| commit | d9583094beef84c5d4436ef618ed27bdc151f38a (patch) | |
| tree | f9ff16b6c4505744a042a06630537e2c8d50d19a /libs/androidfw/FileStream.cpp | |
| parent | 957ded4114674b0e17b637fa1ce3e33a7635e4b7 (diff) | |
preload Buffer Allocator instance on the ViewRootImpl init
- Improves time to first draw by ~5-10ms on low core devices. Earlier
initialization results in less time during choreographer's first
frame draw waiting for buffer allocator to be initialized.
Test: Build and wear hermetic app launch test
Bug: 389908734
Flag: com.android.graphics.hwui.flags.early_preinit_buffer_allocator
Change-Id: I41883e735557f186f4ed5004b092f018b7b67574
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions