1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-22 18:28:53 -05:00
Commit Graph

523 Commits

Author SHA1 Message Date
Evan Pezent 8f1655b975 set heatmap tex back to GL_NEAREST...oops! 2021-07-03 14:30:29 -07:00
Evan Pezent 11a7084b90 add ImGuiDataTypeGetter 2021-07-03 11:46:29 -07:00
Evan Pezent aa1918ff16 [backends] make heatmap use ImPool, add ShowBackendMetrics, misc cleanup 2021-07-03 11:10:35 -07:00
Max Thrun 4371c2d200
Backends: change header setup to avoid leaking backend implementation details into implot cpp files (#262) 2021-07-02 22:46:19 -07:00
Evan Pezent e4805f629b add UseGpuAcceleration 2021-07-02 21:40:50 -07:00
Marc 48501a3c10
Add GPU-accelerated heatmaps (#254)
* Add GPU-accelerated heatmaps

* Add BustPlotCache() and other small changes

* Fixupside-down heatmaps

* Prevent new/delete on each call to PlotHeatmap() on certain cases

* Add common interface for backends & move context to ImPlotContext

* Fix integer heatmaps not working properly

* Misc changes

- Rename implot_gpu.h -> implot_backend.h
- Rename IMPLOT_ENABLE_OPENGL3_ACCELERATION -> IMPLOT_BACKEND_ENABLE_OPENGL3
- Use gp.CurrentItem->ID over gp.CurrentPlot->ID
- Add flags for different features supported by backends

* Cleanup & maintenance

- Removed unnecessary attributes from shader
- Renamed functions & structs
- Reduced memory footprint of OpenGL backend context

* Standandardize backends for future implementations

* Added logarithmic X & Y axes

* Fix vertically-flipped 2D histograms

* Fix incorrect colormap colors
2021-07-02 21:29:37 -07:00
Evan Pezent 8f1c9320e2 add UseGpuAcceleration 2021-07-02 20:26:02 -07:00
marcizhu 353e8ed0aa
Fix incorrect colormap colors 2021-07-02 23:35:05 +02:00
Evan Pezent 72cf024347 meh 2021-06-27 12:12:07 -07:00
marcizhu bef982f0b6
Fix vertically-flipped 2D histograms 2021-06-25 11:52:38 +02:00
marcizhu 5f11a7875d
Added logarithmic X & Y axes 2021-06-24 17:32:54 +02:00
marcizhu 449b30b389
Standandardize backends for future implementations 2021-06-24 10:39:21 +02:00
marcizhu 27769a846f
Cleanup & maintenance
- Removed unnecessary attributes from shader
- Renamed functions & structs
- Reduced memory footprint of OpenGL backend context
2021-06-23 13:38:03 +02:00
marcizhu 541521fe69
Misc changes
- Rename implot_gpu.h -> implot_backend.h
- Rename IMPLOT_ENABLE_OPENGL3_ACCELERATION -> IMPLOT_BACKEND_ENABLE_OPENGL3
- Use gp.CurrentItem->ID over gp.CurrentPlot->ID
- Add flags for different features supported by backends
2021-06-23 11:43:20 +02:00
Perry MacMurray 65aa2c8264
Update README.md with link to Java bindings (#257) 2021-06-22 21:37:58 -07:00
marcizhu 50407e5279
Fix integer heatmaps not working properly 2021-06-23 00:51:02 +02:00
marcizhu 718351c6f5
Add common interface for backends & move context to ImPlotContext 2021-06-22 17:07:56 +02:00
marcizhu aa716726da
Prevent new/delete on each call to PlotHeatmap() on certain cases 2021-06-21 17:32:11 +02:00
marcizhu 2816b0cbd9
Fixupside-down heatmaps 2021-06-21 10:26:46 +02:00
marcizhu 7b840d1a44
Add BustPlotCache() and other small changes 2021-06-20 21:23:33 +02:00
marcizhu ead05a20a7
Add GPU-accelerated heatmaps 2021-06-20 19:26:46 +02:00
Evan Pezent ab24f756fa make pie plots respond to fits 2021-06-09 11:26:54 -07:00
Evan Pezent e9469cf347 constrain values <= 0 to DBL_MIN for log axes, fix div by zero 2021-06-08 20:31:30 -07:00
Evan Pezent 0cafcd0011 fix compiler warning in demo 2021-06-08 19:36:28 -07:00
Evan Pezent 3109940b46 handle equal axis edge case when user sets x limits 2021-06-06 21:13:40 -07:00
Evan Pezent 4edb1c75b6 fix GetColormapSize 2021-06-06 17:42:00 -07:00
Evan Pezent da1bf57136 fix scatter plot non-inclusive culling 2021-06-06 17:16:20 -07:00
Evan Pezent e966e0d2bc add warning to demo about 16-bit indices 2021-06-06 16:03:41 -07:00
omar 450e5b80df
Fix for ImPool change in Dear ImGui version 18303+ (#239) 2021-06-03 11:45:25 -07:00
Evan Pezent dd78125bfb
Update README.md 2021-06-02 08:06:31 -07:00
Jann 555ff688a8
add appropriate space for X tick labels with newlines (#214)
When painting a graph with densely labeled ticks on the X axis, it may be
necessary to add newlines in the labels to avoid label text overlap.

Reserve appropriate padding space for that.
2021-04-10 09:31:12 -07:00
epezent 04ae3728f8 fix smaplecolormapu32 2021-04-07 20:02:35 -07:00
epezent 27bc59eb43 fix linked axis and auto fitting issue #205 2021-03-30 16:23:21 -07:00
epezent 1d674e7557 range fit on candlestick demo 2021-03-28 13:10:03 -07:00
Evan Pezent 41a0e2c9fe
add ImPlotAxisFlags_RangeFit and ImPlotAxisFlags_Foreground (#200) 2021-03-28 12:59:25 -07:00
Evan Pezent 707a0bee36
Update README.md 2021-03-27 00:27:57 -07:00
Evan Pezent ed1baf471a
Adds SetNextPlotFormatX/Y for custom tick label formatting (#198)
* add SetNextPlotFormat

* work on pruning

* finish up fmt
2021-03-25 09:19:00 -06:00
epezent 4b0f9c9495 fix debug build error 2021-03-24 22:28:35 -06:00
epezent ab110ceec8 misc refactors/improvements 2021-03-24 16:35:44 -06:00
epezent e5c457b326 tidy up selection/query code, add new methods 2021-03-23 23:50:02 -06:00
epezent ef6c55cd00 tidy up selection/query code, add new methods 2021-03-23 23:42:26 -06:00
epezent 5db2ba3b22 make plots initially fit to plotted data on first frame 2021-03-20 22:56:47 -06:00
epezent 7aab224742 make inline funcs static, add culling to PlotShaded 2021-03-20 21:22:18 -06:00
epezent db6b0356ee Merge branch 'master' of https://github.com/epezent/implot 2021-03-20 20:45:38 -06:00
epezent ccd29a646f rev up to v0.10 2021-03-20 20:45:31 -06:00
Evan Pezent 95a530f05c
Update README.md 2021-03-19 23:17:34 -06:00
Evan Pezent eff70aeee0
Update README.md 2021-03-19 23:14:17 -06:00
epezent eea12d6b4c make PlotHeatmap autoscaling by default 2021-03-19 22:43:03 -06:00
Evan Pezent 1d9381a004
Adds PlotHistogram and PlotHistogram2D, Improves Colormaps and Heatmap (#148) 2021-03-17 07:38:45 -05:00
omar b85a2c0800
Fix for changes in imgui master + fix misuse of ImGui::Value() (#186) 2021-03-16 06:37:45 -05:00