Improve pre warm caching

This commit is contained in:
jpirnay
2026-04-28 15:12:11 +02:00
parent aa9fae16d9
commit 4c8517cf67
5 changed files with 357 additions and 51 deletions
+6
View File
@@ -50,6 +50,12 @@ void GfxRenderer::ensureSdCardFontReady(int fontId, const char* utf8Text) const
}
}
void GfxRenderer::clearSdCardFontAccumulation() const {
for (auto& [id, font] : sdCardFonts_) {
font->clearAccumulation();
}
}
void GfxRenderer::begin() {
frameBuffer = display.getFrameBuffer();
if (!frameBuffer) {