Make chunk size variable depending on available heap size

This commit is contained in:
jpirnay
2026-04-17 16:34:33 +02:00
parent feda048dfa
commit e3145439fc
2 changed files with 51 additions and 24 deletions
+1
View File
@@ -54,6 +54,7 @@ class GfxRenderer {
uint16_t panelHeight = 0; // set in begin()
uint16_t panelWidthBytes = 0; // set in begin()
uint32_t frameBufferSize = 0; // set in begin()
size_t bwBufferChunkSize = BW_BUFFER_CHUNK_SIZE;
std::vector<uint8_t*> bwBufferChunks;
std::map<int, EpdFontFamily> fontMap;