summaryrefslogtreecommitdiff
path: root/src/app.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 19:59:41 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-13 19:59:41 +0200
commitf18c5e9a259c88f7bc3bbc9cf8afcf805ba00a60 (patch)
treee7838b803cad78eb1b0c5c0d15b4f6d639b0d400 /src/app.h
parent379f8cea2044854be02622a561dd3c9cd9fb06c2 (diff)
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.
Diffstat (limited to 'src/app.h')
-rw-r--r--src/app.h1
1 files changed, 1 insertions, 0 deletions
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);
68iBool handleCommand_App (const char *cmd); 68iBool handleCommand_App (const char *cmd);
69void refresh_App (void); 69void refresh_App (void);
70iBool isRefreshPending_App (void); 70iBool isRefreshPending_App (void);
71iBool isFinishedLaunching_App (void);
71uint32_t elapsedSinceLastTicker_App (void); /* milliseconds */ 72uint32_t elapsedSinceLastTicker_App (void); /* milliseconds */
72 73
73iBool isLandscape_App (void); 74iBool isLandscape_App (void);