From f18c5e9a259c88f7bc3bbc9cf8afcf805ba00a60 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 13 Mar 2021 19:59:41 +0200 Subject: Text: Separate glyph caching procedure Previously glyph caching was done during text rendering, but that would mean lots of swapping between rendering stuff to the cache and then immediately afterward rendering to the display. There would be a swap per each new glyph. Now the entire document's glyphs are precached at once when a request is finished. Glyphs are also cached in larger batches when new text needs to be drawn. --- src/app.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/app.h') diff --git a/src/app.h b/src/app.h index 015f5a3e..bdb0e22f 100644 --- a/src/app.h +++ b/src/app.h @@ -68,6 +68,7 @@ void processEvents_App (enum iAppEventMode mode); iBool handleCommand_App (const char *cmd); void refresh_App (void); iBool isRefreshPending_App (void); +iBool isFinishedLaunching_App (void); uint32_t elapsedSinceLastTicker_App (void); /* milliseconds */ iBool isLandscape_App (void); -- cgit v1.2.3