Files
u-boot/doc/usage/cmd
Simon Glass 69d2f4ab58 video: truetype: Use pre-allocated buffer for glyph rendering
The TrueType console driver calls malloc/free for every character
rendered, which causes significant memory fragmentation and allocation
traffic.

Add CONFIG_CONSOLE_TRUETYPE_GLYPH_BUF to enable a pre-allocated buffer
in the driver's private data. The buffer starts at 4KB and grows via
realloc() as needed. When rendering a glyph, use this buffer to avoid
malloc/free for normal characters.

The buffer is allocated lazily after relocation to avoid consuming
early malloc space before the full heap is available.

Add CONFIG_VIDEO_GLYPH_STATS (default y on sandbox) to track the number
of glyphs rendered. Use 'font info' to view the count.

Series-changes: 2
- Rename the Kconfig to just enable the feature: always allocate

Co-developed-by: Claude Opus 4 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
2025-12-10 05:53:00 -07:00
..
2025-03-15 08:49:43 +00:00
2025-09-24 18:29:39 -06:00
2024-03-21 07:29:19 +01:00
2024-10-18 14:10:21 -06:00
2024-03-21 07:29:19 +01:00
2024-03-21 07:29:19 +01:00
2024-03-21 07:29:19 +01:00
2024-03-21 07:29:19 +01:00
2024-10-18 14:10:21 -06:00
2024-03-21 07:29:19 +01:00
2025-05-01 05:56:47 -06:00
2024-03-21 07:29:19 +01:00
2024-03-21 07:29:19 +01:00
2024-08-24 11:35:55 +02:00
2024-03-13 12:40:43 -04:00
2024-03-21 07:29:19 +01:00
2024-03-21 07:29:19 +01:00
2025-09-04 07:08:24 -06:00
2024-10-17 03:12:47 +02:00
2024-03-21 07:29:19 +01:00
2024-09-21 11:22:42 +02:00
2024-08-09 16:03:20 -06:00
2025-02-16 14:11:28 +00:00
2024-11-23 23:33:48 +01:00