Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 44db040f authored by Jernej Virag's avatar Jernej Virag
Browse files

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
parent 94b48e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment