summaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-28 13:24:06 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:14 -0300
commite11048c20a50b67841e648a4d5ddd7490bc9c9b7 (patch)
tree2f4737d83c5f894e8b7a68e5798bd2a2cebb70b9 /src/main.zig
parente0b5564f04aa0ae6666f29ef29c768d800fbabce (diff)
downloadpardes-e11048c20a50b67841e648a4d5ddd7490bc9c9b7.tar.gz
pardes-e11048c20a50b67841e648a4d5ddd7490bc9c9b7.zip
Paint into a target Surface instead of swapping the frame's out
The painters of a pane's body and tag (renderBody and its selection, gutter, syntax, ANSI and wrap-marker passes; paintPaneTag; paintHeaders; renderPane; the image and PDF grid paths) take the Surface they paint as a parameter. The body layer and the tag layers paint straight into their own temporary surfaces, and the std.mem.swap of p.surface around those calls is gone. No behaviour change.
Diffstat (limited to 'src/main.zig')
0 files changed, 0 insertions, 0 deletions