1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-11-26 20:28:50 -05:00
Commit Graph

6 Commits

Author SHA1 Message Date
Evan Pezent a8456786b6 merge master 2021-10-20 21:55:11 -07:00
Evan Pezent 7233cdde33 clean up heatmaps a bit more 2021-07-04 07:49:25 -07:00
Marc 127a6d336a
Implement heatmap rendering in a single function (#263) 2021-07-04 07:19:01 -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
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