pimoroni-pico/libraries/pico_vector
Phil Howard e3a5365a39 PicoVector: Add tracked memory alloc, track the node buffer.
With a low GC threshold the node buffer was being collected (despite guards against this)
and causing further drawing operations to be corrupted.

Add a new tracked malloc method and use it for node buffers and font data.

Tweak pp_poly_add_path to accept a point count, avoiding many successive rellocs when
dealing with a known quantity of points (copying from an af_glyph_t.)
2025-05-08 16:28:11 +01:00
..
CMakeLists.txt PicoVector: Rewrite around new C pretty-poly.h. 2025-03-28 10:31:01 +00:00
af-file-io.c PicoVector: C++ basic bringup. 2025-03-28 10:31:01 +00:00
af-file-io.h PicoVector: C++ basic bringup. 2025-03-28 10:31:01 +00:00
af-memory.c PicoVector: Add tracked memory alloc, track the node buffer. 2025-05-08 16:28:11 +01:00
af-memory.h PicoVector: Add tracked memory alloc, track the node buffer. 2025-05-08 16:28:11 +01:00
alright-fonts.h PicoVector: Add tracked memory alloc, track the node buffer. 2025-05-08 16:28:11 +01:00
file_io.hpp PicoVector: Rewrite around new C pretty-poly.h. 2025-03-28 10:31:01 +00:00
pico_vector.cmake PicoVector: C++ basic bringup. 2025-03-28 10:31:01 +00:00
pico_vector.cpp PicoVector: Add optional text max width and max height. 2025-03-28 10:31:01 +00:00
pico_vector.hpp PicoVector: Add tracked memory alloc, track the node buffer. 2025-05-08 16:28:11 +01:00
pretty-poly-primitives.h PicoVector: Fix ppp arc memory corruption. 2025-03-28 10:31:01 +00:00
pretty-poly.h PicoVector: Add tracked memory alloc, track the node buffer. 2025-05-08 16:28:11 +01:00