gpu: Evict stale glyphs from the cache

This commit is contained in:
Matthias Clasen
2024-01-19 21:12:01 -05:00
parent e57f92b7e9
commit 21fb5ec0b2

View File

@@ -294,8 +294,7 @@ gsk_gpu_cached_glyph_should_collect (GskGpuDevice *device,
GskGpuCached *cached,
gint64 timestamp)
{
/* FIXME */
return FALSE;
return timestamp - cached->timestamp > CACHE_MAX_AGE;
}
static guint