Everywhere: Give stbtt its own 32MB static memory pool

At boot time, we preallocate 32MB of RAM to reuse for all malloc()
requests by stbtt_RenderText(), which should be more than enough for the
primary use case (browsing web pages).
This commit is contained in:
Alec Murphy 2025-04-19 21:01:14 -04:00
parent b40820272f
commit a322c06850
8 changed files with 49 additions and 8 deletions

View file

@ -23,6 +23,7 @@ WinToTop(adam_task);
#include "FFI/LibC";
#include "FFI/New";
#include "FFI/ELF64";
#include "FFI/TrueType";
// stb_image library
#include "Utilities/Image";