Compare commits

..
26 Commits
Author SHA1 Message Date
4DBug 5a01abb50a LineStripRange / MarkersFillRange / MarkersLineRange: inline any getter (read through Get, plain arrays still read directly) and per-index colours, not only two plain arrays with one colour (RangeSource replaces PlainXY; same math) (demo, lib lowq: Subplots 6.0 -> 4.3 ms with the locator memo, Tools 3.7 -> 3.1, Custom 1.9 -> 1.7; draw data unchanged) 2026-10-21 02:55:34 -05:00
4DBug bf4240df68 Locator_Default: restore the previous call's ticks when nothing that feeds it changed (no other ticks on the ticker, same range / pixels / orientation / Formatter_Default format / font + size) instead of formatting and measuring every label again; any AddTick invalidates (bench implot scene lib 0.70 -> 0.65 ms; draw data unchanged, also with frame-varying range, size, format, custom ticks, font size and tags) 2026-10-21 02:50:11 -05:00
4DBug 9ab86c1910 Range renderers for heatmaps and shaded plots, per-index colours in LineStripRange, plain arrays read directly in the histogram loops: HeatmapRange (HeatmapRender + LerpTable + transforms + PrimRectFill inlined), ShadedRange (ShadedRender + XYGet + transforms + GetCol inlined), PlainData() for ImMinMaxIndexer / PlotHistogram / PlotHistogram2D / heatmap values, same math (demo Plots tab lib 13.5 -> 9.3 ms: Histogram 2D 3.6 -> 1.4, Heatmaps 1.9 -> 0.8 ms; draw data unchanged, all demo tab hashes + bench implot hash identical) 2026-10-21 02:41:11 -05:00
4DBug ebfb83a64e @native on the indexers (IdxAt0-3, LinAt, ConstAt), getters (XYGet, OverrideX/YGet, LoopGet, XYZGet), fitters (Fitter1/X/Y, ExtendFit/ExtendFitWith), ImMinMaxIndexer, ImStdDev, PlotHistogram, PlotHistogram2D and LerpTable: the per-point paths no longer drop to the interpreter (demo Plots tab, all headers open: lib 17.6 -> 13.5 ms; Histogram 2D 8.6 -> 3.6 ms, Heatmaps 3.1 -> 1.9 ms; draw data unchanged) 2026-10-21 02:40:57 -05:00
4DBug 861032a7a4 BeginPlot: resolve the cached axis colours once per plot (X1) and copy them to the other five axes instead of resolving the auto colour chain per axis (bench implot scene, items stubbed: 0.457 -> 0.422 ms; draw data unchanged) 2026-10-21 02:26:50 -05:00
4DBug 0e22edaea2 LÖVE port: love/ (generated by tools/love.sh), marked linguist-generated; submodule URLs -> GitHub 2026-10-17 13:15:46 -05:00
4DBug 64ebc4ad78 Line strip and marker renderers: RenderRange draws a whole reserved run in one call when the getter reads two plain arrays (no axis transform functions, one colour), point read/transform/cull/PrimLine inlined with the same math (plot bench PlotLine 1000 pts 0.28 -> 0.15 ms, markers 0.15 -> 0.11 ms, vertices unchanged) 2026-10-17 12:23:37 -05:00
4DBug 9d22a447cc example: demo window only 2026-10-17 06:05:39 -05:00
4DBug 051c4fec8f Example: live sine + demo windows; run example in tools/test.sh; README usage, API differences, status 2026-10-17 03:12:17 -05:00
4DBug e623a0961b Port remaining demos (Tables, ItemStylingAndSpec, OffsetAndStride, CustomDataAndGetters, TickLabels, CustomStyles, CustomRendering, LegendPopups, ColormapWidgets, CustomPlottersAndTooltips); enable PlotPolygon demo 2026-10-17 03:07:55 -05:00
4DBug f1e357b913 Demo: port subplot, legend, drag tool, querying, annotation, tag and DnD demos 2026-10-17 03:04:22 -05:00
4DBug 8cf42d230b Port ImPlot demo: Demo_MarkersAndText..Demo_AutoFittingData (markers/text, NaN, per-index colors, log/symlog/time/custom scales, multiple/linked/constrained/equal axes, auto-fitting) 2026-10-17 02:59:39 -05:00
4DBug d617985de8 Port missing query/clip/misc APIs (IsAxisHovered, IsPlotSelected, GetPlotSelection, SetAxis/SetAxes, PushPlotClipRect, HideNextItem, ...) 2026-10-17 02:56:17 -05:00
4DBug 0093d073ed Port ImPlot demo: ShowDemoWindow (menu, tabs, tool windows) and Demo_Help..Demo_RealtimePlots; stubs for the rest 2026-10-17 02:46:14 -05:00
4DBug a64bd97d43 Port AddColormap (+ style editor custom colormap builder), ShowDatePicker/ShowTimePicker with PickerTimeMin/Max and time axis context menu, ShowAltLegend, ShowMetricsWindow 2026-10-17 02:38:58 -05:00
4DBug 799688f816 Port BeginSubplots/EndSubplots, BeginAlignedPlots/EndAlignedPlots, drag & drop utils, BeginLegendPopup/EndLegendPopup, ShowStyleEditor/ShowStyleSelector/ShowColormapSelector/ShowInputMapSelector/ShowUserGuide, crosshairs, axis side switch, equal-aspect fit 2026-10-17 02:33:10 -05:00
4DBug d72938bf17 Port DragPoint, DragLineX/Y, DragRect, Annotation, TagX/TagY, SetupMouseText + mouse position text, LabelAxisValue, GetPlotMousePos 2026-10-17 02:25:55 -05:00
4DBug 7482c669c6 Port SetupAxisScale (Linear/Time/Log10/SymLog/custom transforms), Locator_Log10/SymLog/Time, ImPlotTime utils and date/time formatting, SetupAxisTicks, SetupAxisFormat formatter overload, SetupAxisLimitsConstraints/ZoomConstraints 2026-10-17 02:20:17 -05:00
4DBug a1dc04688a Port PlotPieChart, PlotHeatmap, PlotHistogram, PlotHistogram2D (CalculateBins/ImPlotBin), PlotImage, ColormapScale/Slider/Button/Icon, RenderColorBar 2026-10-17 02:15:53 -05:00
4DBug fe5b3bd3b5 Port PlotErrorBars, PlotStems, PlotInfLines, PlotText, PlotDummy, PlotDigital, PlotBubbles 2026-10-17 02:09:14 -05:00
4DBug bc83330b5f Port PlotStairs, PlotShaded, PlotBars, PlotBarGroups with stairs/bars renderers, FitterBarV/H, PrimRectLine 2026-10-17 02:04:56 -05:00
4DBug f15239bb97 Port items (ImPlotItem/ItemGroup/NextItemData, BeginItem/EndItem), getters/indexers, fitters, transformers, line/segment/shaded/marker renderers, PlotLine/PlotScatter, legend rendering + click-to-toggle, SetupLegend 2026-10-17 01:53:50 -05:00
4DBug 7000104c2d Port UpdateInput (pan, zoom, box select, fit), ImPlotInputMap, plot/axis context menus, SetNextAxis*, SetupAxisLinks/PushLinks/PullLinks 2026-10-17 01:43:58 -05:00
4DBug 87aca91423 Port ImPlotAxis, ImPlotPlot, ImPlotTicker, default locator/formatter, Setup*, BeginPlot/EndPlot rendering, plot/pixel transforms 2026-10-17 01:39:07 -05:00
4DBug 8a9fef61b0 Port enums, ImPlotPoint/Range/Rect, ImPlotStyle, context, style and colormap API 2026-10-17 01:33:21 -05:00
4DBug 55595cb71e Scaffold: upstream @ 851cdbd, core submodule, test runner, example 2026-10-16 23:47:09 -05:00

Diff Content Not Available