thorvg/cross
Hermet Park ac08a9d6e7 wg_engine: introduced global vertexbuffer mempool & ++thread safety
Manage the global buffer memory for vertex and indexed vertex buffers,
increase the memory size incrementally twice by default and reduce
the default buffer size, which is not suitable for typical scenarios.

This could reduce the a bit stack memory usage and improve
the portability across systems where has the stack memory
limitation and potentially gaining performance enhancement
by avoiding brutal stack memory usage at the many function calls.

added the internal functions:

- WgVertexBuffer* mpoolReqVertexBuffer(float scale = 1.0f);
- WgIndexedVertexBuffer* mpoolReqIndexedVertexBuffer(float scale = 1.0f);
- void mpoolRetVertexBuffer(WgVertexBuffer* buffer);
- void mpoolRetIndexedVertexBuffer(WgIndexedVertexBuffer* buffer);

issue: https://github.com/thorvg/thorvg/issues/3159
2025-02-17 18:56:31 +09:00
..
android_aarch64.txt Modify txt file for cross-platform build setup 2024-04-04 14:09:35 +09:00
android_x86_64.txt Modify txt file for cross-platform build setup 2024-04-04 14:09:35 +09:00
ios_arm64.txt infra: updated ios arm64 build 2024-07-13 15:30:20 +09:00
ios_x86_64.txt infra: migrate cross files into one folder. 2023-10-09 15:39:59 +09:00
wasm32.txt wg_engine: introduced global vertexbuffer mempool & ++thread safety 2025-02-17 18:56:31 +09:00
wasm32_gl.txt wasm: optimize binary size 2025-02-17 15:05:10 +09:00
wasm32_sw.txt wasm: optimize binary size 2025-02-17 15:05:10 +09:00
wasm32_wg.txt wg_engine: introduced global vertexbuffer mempool & ++thread safety 2025-02-17 18:56:31 +09:00