diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-12-04 20:50:50 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-12-04 20:50:50 +0100 |
| commit | 9a1ac3159c7050e75e25ca755be57e0bb06b971d (patch) | |
| tree | 04710d3628b4dd815e82af4f2c13aa860af8d97e | |
| parent | b79a3d54498fb8059c765af5966e42c5cea4619a (diff) | |
update changelog (https://github.com/floooh/sokol/pull/1393)
| -rw-r--r-- | CHANGELOG.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c9776527..8c11b868 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ ## Updates +### 04-Dev-2025 + +- sokol_gfx.h: a minor breaking change for querying runtime statistics: the function + `sg_frame_stats sg_query_frame_stats(void)` has been replaced with `sg_stats sg_query_stats(void)` + (and a handful related functions renamed from 'frame_stats' to 'stats'). + The new function `sg_query_stats()` returns additional information not just related to + the previous frame: it also reports the current 'running values' for the current frame + (careful: those depend on *where* in a frame the function is called, and the stats-values + which are not frame related have been moved into a separate nested struct `.total`. + The totals are: the number of currently alive and free objects, + and the total number alloc, free, init and uninit have been called for each + resource type. + + Related issue: https://github.com/floooh/sokol/issues/1388 + ...and PR: https://github.com/floooh/sokol/pull/1393 + ### 02-Dec-2025 - sokol_gfx.h gl: unused framebuffer attachment slots are now explicitly cleared |