Commit 9ed53da
authored
fix: prevent cleanup of SDF Font Face textures for now (#481)
Stop gap solution, ideally we do want SDF Font Face textures cleaned up
if we can detect they have no renderable owners anymore to save as much
memory as we can in case we hit critical levels.
However for now prevent Font Face textures from being cleaned up until
we have proper guards/reloads in the SDF Font Renderer at the expense of
keeping the Font atlas always in memory regardless if its being used.File tree
1 file changed
+8
-1
lines changed- src/core/text-rendering/font-face-types/SdfTrFontFace
1 file changed
+8
-1
lines changedLines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
0 commit comments