| commit | 4cefdc6df295534f7f94b26371dbacdba75db32f | [log] [tgz] |
|---|---|---|
| author | Seigo Nonaka <nona@google.com> | Fri Jul 26 16:40:41 2024 +0900 |
| committer | Seigo Nonaka <nona@google.com> | Thu Aug 08 05:13:05 2024 +0000 |
| tree | 43f548801250b443ad8cf81eba8f21d16789ff77 | |
| parent | 9a72f7a6f161db54d85adf61c90b456e7cf4689d [diff] |
Cache the variation instance of Typeface
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: I10f0697e4d158cdcf55e7e1196d1f37174de87bf