Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tiny_skia: Add a capacity limit to
GlyphCache
* Trim the cache if `recently_used` size reaches the limit, even if a trim interval hasn't passed. * Shrink `entries` and `recently_used` to the limit when trimming. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
- Loading branch information