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

552 Commits

Author SHA1 Message Date
Evan Pezent a8456786b6 merge master 2021-10-20 21:55:11 -07:00
Evan Pezent 06d7298b48 Merge branch 'master' into backends 2021-10-20 18:47:22 -07:00
Evan Pezent 6ee1559715
Setup API (#294)
* add new padding algo

* opposite working for y and x

* remove name axis colors

* move title label rendering

* axis dev

* clean up

* pre formatter

* formatter

* changing over to multi x axes

* more multi x changes

* more multi x changes

* more multi x changes

* setup 75% there

* 85% there

* 85% there

* remove query

* update input handling

* input and dnd tweaking

* input testing

* update demo

* setup debug

* setup debug

* bug fixes

* bug fixes

* more debug

* input

* more setup

* setup api almost complete

* setup api almost complete

* more clean up

* cleanup

* final commit before merge
2021-10-19 20:01:06 -07:00
Evan Pezent dea3387cdc buffer overflow fix 2021-09-07 21:46:54 -07:00
Evan Pezent c40206f2ea spaces 2021-09-07 20:24:34 -07:00
Evan Pezent f1b86b9fe4 Merge branch 'master' of https://github.com/epezent/implot 2021-09-07 20:23:59 -07:00
Evan Pezent 5ed9e78676 add #include <immintrin.h> fallback 2021-09-07 20:20:12 -07:00
Dario Mambro 14d4c96d0c
more flexible custom context management (#281) 2021-08-28 07:00:47 -07:00
sergeyn 0fb3346a7a
custom context management (same way as in ImGui) (#278) 2021-08-24 08:08:00 -07:00
Evan Pezent 621d56b379 Merge branch 'master' into backends 2021-07-30 20:34:11 -07:00
Evan Pezent 3e96fd7c02
improve indexing, line rendering performance by 45% (#270)
* add IndexData and Indexers

* simplify transformers

* 30% improvement

* moving around

* add TODO.md

* fix bar plot aliasing

* finishup indexing

* remove debug bools
2021-07-30 20:27:02 -07:00
Evan Pezent c8601ac0d5 rev version, fix unused lines 2021-07-29 19:14:13 -07:00
Jeslas Pravin 864ebb90b6
fix: PlotShaded Opposite triangle winding (#269) 2021-07-29 19:09:01 -07:00
Evan Pezent 4be83def59 add IsSubplotsHovered 2021-07-28 11:52:57 -07:00
Evan Pezent 57b51288be Merge branch 'master' into backends 2021-07-25 12:44:00 -07:00
Evan Pezent 507459fd5f move axis equal constraint after pixel determination 2021-07-23 16:32:57 -07:00
Evan Pezent 2dc2a4cfd5 improve tick label culling 2021-07-15 20:40:51 -07:00
Evan Pezent 83cb14b54a fix offsetandstride args...oops 2021-07-09 20:29:04 -07:00
Evan Pezent cd4704fd52 revert OffsetAndStride 2021-07-09 20:23:12 -07:00
Evan Pezent bffd448207 revert OffsetAndStride 2021-07-09 20:22:21 -07:00
Evan Pezent 51930a5ae6 fix imgui backward compat, YAxis[3], and add new demo benchmark option for LineG 2021-07-09 17:39:12 -07:00
Evan Pezent 895d5b663a Merge branch 'master' into backends 2021-07-08 08:24:21 -07:00
Evan Pezent 5ab78cbc7d version string 2021-07-08 08:21:56 -07:00
Evan Pezent 45055f2c45 merge big changes from master 2021-07-07 22:36:10 -07:00
Evan Pezent eb40cc908d Merge branch 'master' of https://github.com/epezent/implot 2021-07-07 22:18:51 -07:00
Evan Pezent 389781c31c v0.11 WIP 2021-07-07 22:18:38 -07:00
Evan Pezent 8c1bbf4d8d
Subplots (#203)
* SubPlots: Y axis padding over multiple plots

* Align Plots Group

new signature ID, ImPool  to store padding data, demo

* Align plots orientation (vertically, horizontally)

vertical will align Y axis, horizontal will align X axis.
*signature changed

* ImPlotOrientation used as flag for 2D grids of aligned plots

https://github.com/epezent/implot/pull/144#issuecomment-725849368

* AlignPlots updates to merge with v.0.9

* Sync to v0.9 20210127

* subplots proto

* make link flags work

* stuff

* add multi-line centered titles

* subplots work

* flag ideas

* better subplot positioning

* resizable subplots

* subplot shared items

* subplot ratios

* some cleanup and refactor

* some cleanup and refactor

* refactors and demo reorganization

* context menus...almost done!

* context menus, bug fixes

* active id

* make implot use ButtonBehavior throughout

* bug fixes

* more bug fixes

* tweaks

* fix id issue

* finish work on subplots

Co-authored-by: ozlb <ozlb@users.noreply.github.com>
2021-07-07 21:06:15 -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 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