summaryrefslogtreecommitdiff
path: root/examples/noc/test/angular_forces.reload.script
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-17 05:05:41 -0300
committerGabriel Schneider <[email protected]>2026-11-17 12:15:01 -0300
commit83527d21ac42adc16d59ad8bfffebd132a5ef98b (patch)
tree794a8936edb369dfcef9ad15a2c0188710f92953 /examples/noc/test/angular_forces.reload.script
parentada7e4137d66aa7c7c463bb8521c0db4e7fac18a (diff)
downloadsketchbook-83527d21ac42adc16d59ad8bfffebd132a5ef98b.tar.gz
sketchbook-83527d21ac42adc16d59ad8bfffebd132a5ef98b.zip
Add pardes's frame recording to Cells
Moved from pardes's src/gui/gui.zig (step S4b, the last of moving its renderer here): begin and submit acquire a frame's command buffer and give a frame up; mapCells grows and maps the cell instance buffer for the embedder to write in place; uploadCells sends it after the atlas's dirty rows; record makes the frame's render pass, cleared to the embedder's colour, and draws its groups (Group: cells, then pictures, then decor, each a run of instances), a scroll's shifted rows clipped to the rectangle given, then the overlay. uploadAtlas, drawImages, pushLayerOpacity and drawOverlay are Cells' own now.
Diffstat (limited to 'examples/noc/test/angular_forces.reload.script')
0 files changed, 0 insertions, 0 deletions