2025-04-24 9:49 PM
I have a custom board using u599 and touchgfx, my LCD size is 640*480.I noticed there is a "nemagfx_stencil_buffer_mem" in my RAM,It takes 305K memory,It's really a lot memory ,because I only have 30K left.But on the other board,lcd size is 480*480,"nemagfx_stencil_buffer_mem" is not there.I wonder what use is this buffer,and why it came out.
Solved! Go to Solution.
2025-04-28 6:13 AM
Hello @amb ,
The nemagfx stencil buffer is used when drawing vector graphic.
If you want to get rid of this buffer, in STM32CubeMX, disable the vector rendering.
Then you can check that it is gone by looking if you call the function nema_vg_init that is allocating the memory.
Regards,
2025-04-28 6:13 AM
Hello @amb ,
The nemagfx stencil buffer is used when drawing vector graphic.
If you want to get rid of this buffer, in STM32CubeMX, disable the vector rendering.
Then you can check that it is gone by looking if you call the function nema_vg_init that is allocating the memory.
Regards,