Releases: bwrsandman/imgui-flame-graph
Releases · bwrsandman/imgui-flame-graph
v1.02
Fix compile issues with recent imgui, SDL and gl3w
imgui:
- Require constexpr support for mac
- Fix issue with IMGUI_DEFINE_MATH_OPERATORS define
example:
- SDL: Update version to 2.26.5
- gl3w: Update to rebased branch due to a 403
- imgui: Use rellocated sdl2 impl
Full Changelog: v1.01...v1.02
v1.01
Incremental update.
- Fix Policy CMP0076 warning.
- Fix implicit double to float cast.
- Update example to match upstream imgui examples.
- Fix example configuration error of gl3w
v1.00
Initial release with example.
First release of flame graphs for imgui.
I've seen a few in the past galleries, but none with simple to use APIs that were open source.
The function signature is similar to PlotLines
and PlotHistogram
void PlotFlame(const char* label,
void (*values_getter)(float* start, float* end, ImU8* level, const char** caption, const void* data, int idx),
const void* data, int values_count, int values_offset = 0,
const char* overlay_text = NULL,
float scale_min = FLT_MAX, float scale_max = FLT_MAX,
ImVec2 graph_size = ImVec2(0, 0));