1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2025-01-30 19:08:51 -05:00
implot/backends
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
..
implot_backend.h Add GPU-accelerated heatmaps (#254) 2021-07-02 21:29:37 -07:00
implot_impl_opengl3.cpp Add GPU-accelerated heatmaps (#254) 2021-07-02 21:29:37 -07:00
implot_impl_opengl3.h Add GPU-accelerated heatmaps (#254) 2021-07-02 21:29:37 -07:00