diff options
| author | 2024-01-22 11:27:29 +0300 | |
|---|---|---|
| committer | 2024-02-07 14:27:35 +0100 | |
| commit | 5bd93181f349f7160b694d7b1a594bfe7263d063 (patch) | |
| tree | 80eb6833814544aab453258f400bbb94e92dfdc7 /examples/custom_quad/src | |
| parent | bdd1891f434066dcb878520358c2e582f231683a (diff) | |
| download | iced-5bd93181f349f7160b694d7b1a594bfe7263d063.tar.gz iced-5bd93181f349f7160b694d7b1a594bfe7263d063.tar.bz2 iced-5bd93181f349f7160b694d7b1a594bfe7263d063.zip | |
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>
Diffstat (limited to 'examples/custom_quad/src')
0 files changed, 0 insertions, 0 deletions
