diff options
| author | 2024-07-26 16:40:41 +0900 | |
|---|---|---|
| committer | 2024-08-14 23:25:20 +0900 | |
| commit | eda7fabeaeae5fa050b3c45391ca40eff4fa31bd (patch) | |
| tree | b2c5180f36ede5320303a21affda9f10303c7465 /libs/androidfw/StringPool.cpp | |
| parent | fda1f4323268706a0d9e11fc96ca237f0bce84c7 (diff) | |
[Reland] Cache the variation instance of Typeface
This is a reland of the 4cefdc6df295534f7f94b26371dbacdba75db32f
The previous attempt breaks robolectric tests of settings but it
needs to be fix-forward. Context: b/358347869
Performance numbers on Pixel 8 Pro.
Non-Cached: 366,835 ns
Cached: 2,427 ns
Bug: 355462362
Test: PaintTest
Flag: com.android.text.flags.typeface_cache_for_var_settings
Change-Id: I0f1e253eae5e2774ef4f10dcf5d0c8e8fbe6e367
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions