Commit Graph
1224 Commits
Author SHA1 Message Date
Dennis Kobert 6b8040dab5 Remove no_std leftovers 2026-10-31 09:01:43 +00:00
Dennis Kobert 4b90f41d69 Remove the unused parallel rows helper 2026-10-31 09:01:27 +00:00
Dennis Kobert 892ad740e3 Report a raster kernel's GPU failures and oversized outputs rather than saying a GPU is required 2026-10-31 09:01:27 +00:00
Dennis Kobert 0d4f64d326 Test that a footprint-dependent raster warns at Dehaze and feeds Median without one 2026-10-30 20:22:17 -07:00
Dennis Kobert 3e58246c0b Wait for a readback's map callback when another thread's poll is running it 2026-10-30 20:22:17 -07:00
Keavon Chambers 6264e7396a Add curvature dials to gradients, rendered as a pencil of circles on Vello GPU 2026-10-30 20:22:17 -07:00
Keavon Chambers 9bf8f2469d Replace Color Overlay with a Paint Overlay effect that paints with any graphic 2026-10-30 20:22:17 -07:00
Dennis Kobert e6cb938ff9 Load images into CPU rasters by default again 2026-10-30 20:22:17 -07:00
Dennis Kobert 95e9c2852e Upload a CPU raster wire feeding a GPU-only input through its input adapter 2026-10-30 20:22:17 -07:00
Keavon Chambers 06d83843fa Speed up adjusted solid vector paints by folding the adjustments into the paint 2026-10-30 20:22:05 -07:00
Keavon Chambers 28e0112504 Speed up an image's leading adjustments by running them on a copy of its texture 2026-10-30 20:22:05 -07:00
Dennis Kobert 11d097f103 Give GPU rasters drawn smaller than their pixels mipmaps 2026-10-30 20:22:05 -07:00
Keavon Chambers 78e3166d22 Extend adjustments to images, colors, and gradients, stamped on images and carried out at once on colors and gradients 2026-10-30 20:22:05 -07:00
Keavon Chambers 661f37fa17 Allow adjustments on any graphic, carried out on the GPU by their kernels 2026-10-30 20:22:05 -07:00
Keavon Chambers aa7ebfc18c Add a Bevel & Emboss effect lighting the inner, outer, emboss, and pillow slopes 2026-10-30 20:22:05 -07:00
Keavon Chambers 2be0d1889b Add Inner Glow, Satin, and Outline effects to any graphic 2026-10-30 20:22:05 -07:00
Dennis Kobert 3b7d46836d Add an Eager node that uploads a raster and carries out its effects 2026-10-30 20:22:05 -07:00
Keavon Chambers 8f0ef2da8b Add Blur, Drop Shadow, Inner Shadow, and Outer Glow effects to any graphic 2026-10-30 20:22:05 -07:00
Keavon Chambers b88eee543a Move the noise and Mandelbrot kernels into a generator module rendering any area 2026-10-30 20:22:05 -07:00
Keavon Chambers e01f602b13 Upload images with mipmaps so they average their pixels when zoomed out 2026-10-30 20:22:05 -07:00
Keavon Chambers 8fd36852c1 Gather each adjustment's settings into plain data run by its kernel 2026-10-30 20:22:05 -07:00
Dennis Kobert 1bfbd8f4f8 Mark the Dehaze node as footprint invariant 2026-10-30 20:22:05 -07:00
Dennis Kobert c698fb157d Give content that nodes move or copy a footprint covering everywhere it lands 2026-10-30 20:22:05 -07:00
Dennis Kobert 48ee95a802 Keep a GPU raster's logical placement separate from the region its pixels cover 2026-10-30 20:22:05 -07:00
Dennis Kobert f3edba1603 Fall back to half-float rasters where the GPU can't render full floats 2026-10-30 20:22:05 -07:00
Dennis Kobert 7bb28460cc Merge no-std-types into core-types 2026-10-30 20:22:05 -07:00
Dennis Kobert f8c3984b6c Render the Rasterize node with Vello 2026-10-30 20:22:05 -07:00
Dennis Kobert 9ca321fdcf Remove CPU raster paths from raster nodes 2026-10-30 20:22:05 -07:00
Dennis Kobert d53c990f72 Run raster consumers on GPU rasters 2026-10-30 20:22:05 -07:00
Dennis Kobert ecaa5bb906 Load images into GPU rasters 2026-10-30 20:22:05 -07:00
Dennis Kobert fc488dd91f Embed GPU rasters in SVG output by downloading them first 2026-10-30 20:22:05 -07:00
Dennis Kobert a12cbea9fb Shade the Mandelbrot set by smooth escape time 2026-10-30 20:22:05 -07:00
Dennis Kobert ceb39a2c5b Give GPU rasters an empty default 2026-10-30 20:22:04 -07:00
Dennis Kobert b9e0df685f Run Dehaze and Image Color Palette on GPU rasters 2026-10-30 20:22:04 -07:00
Dennis Kobert 135b05bacf Run raster nodes on GPU rasters through hand-written WGSL kernels 2026-10-30 20:22:04 -07:00
Keavon Chambers 43316436c2 Port FastNoise Lite to WGSL 2026-10-30 20:22:04 -07:00
Keavon Chambers b39ec01d7d Retire Rust GPU, the 'Upload Texture' node, and the "GPU"-suffixed adjustment node twins (#4873)
* Retire the rust-gpu twins of the adjustment nodes, leaving rust-gpu dormant

* Remove the dormant rust-gpu shader crate and everything that supported it
2026-10-30 17:52:29 -07:00
Keavon Chambers 09099bf033 Speed up raster nodes with threads and caching (#4859) 2026-10-30 14:23:43 -07:00
Dennis Kobert ef3b45ae79 Limit number of instant graph reevaluations (#4758)
* Defer re-evaluations triggered by finished tasks to the next frame once the frame budget is spent, and abort the tasks of removed sources

* Clean up the frame budget change: share the Instant clock, drop redundant scheduling calls and comments

* Treat a zero frame budget as unlimited, let render signals cut the deferred-frame wait short, and fix the RFC's Runtime::spawn signature
2026-10-30 17:20:36 +01:00
Dennis Kobert b574a6c9f3 Keep a history metadata log external to the actual history (#4849)
Keep a history metadata log: facts about users and revs in an append-only file beside the history
2026-10-30 17:18:42 +01:00
Timon d90cc62bc1 Make nodes report errors instead of panicking or failing silently (#4837)
* Fix crashes and report errors in math nodes

* Fix crashes and report errors in text nodes and Boolean Operation

* Fix crashes and report errors in raster, brush and I/O nodes

* Fix crashes and report errors in vector and transform nodes

* Report errors from graphic and context nodes
2026-10-30 14:16:24 +00:00
Dennis Kobert 82c08464d1 Frame CLI exports to the artwork bounds (#4860)
* Frame CLI exports to the artwork bounds

* Include strokes in the bounds CLI exports frame to

* Count every item of a layer in the bounds CLI exports frame to

* Count every item of a layer in the bounds the editor exports
2026-10-30 12:35:09 +00:00
Timon a2e62ed47e Report GPU and resource failures as node errors (#4846)
* Allow lazy scope inputs

* Report a missing GPU instead of panicking

* Return pipeline errors instead of panicking

* Stop logging error paths outside the document

* Report missing resources as errors

* Report Vello failures in Rasterize

* Better GPU test error handling
2026-10-30 12:22:06 +00:00
Dennis Kobert 9939966b0e Visit each network definition once in recursive walks (#4857)
* Visit each definition once in recursive walks and validation

* Rename DefinitionId to NetworkId to mirror the storage model

* Review fixes

* Make test more precise
2026-10-30 12:42:40 +01:00
Keavon Chambers 342957caba Rename the 'Mix' node to 'Mix Colors' and remove its image and gradient support (#4858)
* Rename 'Mix' to 'Mix Colors' and remove its image and gradient support

* Reuse the blend color math for stacked paint colors
2026-10-30 02:29:58 -07:00
Keavon Chambers 0b20fd7869 Send "SVG Preview" mode images once, at a resolution suited to the zoom (#4856)
* Send SVG Preview images once, at a resolution suited to the zoom

* Avoid copying unhalved canvas images and tolerate float noise in their scale
2026-10-29 23:28:16 -07:00
Keavon Chambers cddd828842 Share CPU raster pixels under stable IDs so each image uploads once (#4855)
* Share CPU raster pixels under stable IDs so each image uploads once

* Free the textures of dropped rasters and keep image canvas keys apart
2026-10-29 21:30:19 -07:00
Keavon Chambers a43a630aed Fix the Data panel showing another node's output for some layers and remove Monitor nodes from Merge/Artboard (#4854)
* Fix the Data panel showing another node's output for some layers

* Give every layer a thumbnail and remove the 'Merge' and 'Artboard' Monitor nodes

* Resolve inspected paths through the last graph that compiled
2026-10-29 20:22:55 -07:00
Dennis Kobert d4ffee948f Implement support for reusable network definitions for document nodes (#4845)
* Add a definitions table to NodeNetwork with path resolution and inlining before preprocessing

* Resolve network metadata, views, and network node checks through the definitions table

* Prevent infinite recursion
2026-10-29 17:19:50 +01:00
Dennis Kobert b18eac389c Add an implementation to the Rasterize node for Vello (#3232)
Rasterize with Vello instead of a browser canvas
2026-10-29 12:04:40 +00:00