summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Jernej Virag <jernej@google.com> 2023-05-09 20:24:48 +0200
committer Jernej Virag <jernej@google.com> 2023-05-18 10:45:18 +0200
commit44db040f6c07b63642bc7ae72040d09851d70df7 (patch)
treedfeaf033e51f9bd6086d747f5406b28c360601bf /api/api.go
parent94b48e8c6c737b17f4b2bfbfc42208d5631fcff4 (diff)
Allow triming of font caches through WindowManager
This allows triming of Skia font caches when an app created a lot of transient font allocations and it knows that it won't need it anymore. This is primarily meant for persistent processes like SystemUI to avoid font caches taking up memory after they're not needed anymore. Bug: 275486055 Test: Tested as part of a follow-up commit, ran LockscreenWithSwipeMicrobenchmark which showed a noticable reduction of RSS+anon memory use after unlock. Change-Id: I6d80003d8baab35cb2ca858d4e4d4696b32f3adf
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions