Skip to content

Releases: bwrsandman/imgui-flame-graph

v1.02

02 May 01:03
v1.02
aae0bd9
Compare
Choose a tag to compare

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

17 Nov 05:09
v1.01
7cab9f9
Compare
Choose a tag to compare

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

30 Oct 17:00
v1.00
Compare
Choose a tag to compare

Initial release with example.

First release of flame graphs for imgui.

flame-graph

I've seen a few in the past galleries, but none with simple to use APIs that were open source.

imgui-widget-flame-graph

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));