mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-14 19:26:56 -04:00
Render: live objects are evaluated again when patterns, symbols, fonts or color settings change
The renderer kept the evaluation of each blend, envelope and repeat while the object and a hash stayed the same: the addresses of the art of the symbols the object showed and of the patterns it painted with, and the patterns' tile bounds. When anything else the evaluation reads changed, such as a pattern's tile type, symbols in symbol art, the fonts or the color settings, a renderer that had drawn the object went on drawing the old evaluation. The quads of a gradient mesh were kept the same way after a change to the color settings, and the art drawn for a live object with an effect of its own was kept by the object's address alone. resources_key now also walks the opacity-mask, symbol and pattern art it finds. It hashes what it finds, the font generation when it finds type or a placed document, and the color settings. Mesh quads are made again when the color settings change. The art drawn for an object's effects is made again when the hash changes, if it was made from evaluated live objects. With other builds running, a temporary release test timed the hash for 400 live objects at 17 to 506 microseconds a frame, against 10 to 16 before. Docs: docs/target-app-parity.md, docs/gaps.md.
This commit is contained in:
1 parent
78980c8190
commit
6504dc7da2
9 files changed
+555
-41
No files matched your search
@@ -202,6 +202,9 @@ from G14 and the budget run of G15: **~170–270 h** one agent, ~50–80 h wall
|
||||
budget met, 400% zoom 12.3 ms against 16 ms, measured), a spatial index for zoomed-in frames, dirty-region
|
||||
rendering, the GPU backend spike (M5). Large-selection edits, cached live effects and Pathfinder Trim, Merge,
|
||||
Crop and Outline landed in #1173.
|
||||
- **Not redrawn:** the canvas keeps drawing these objects as they were:
|
||||
in the web build, type with a geometry effect keeps a substitute font's outlines after its own font has loaded;
|
||||
an object with a plug-in effect keeps the shape it was drawn with after the plug-in is installed, installed again or removed.
|
||||
- **Estimate:** 15–25 h (the budget run and fixes block beta).
|
||||
|
||||
## G16 Localization: the three missing key languages
|
||||
|
||||
@@ -530,6 +530,8 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur
|
||||
|
||||
- **Raster effects after document and view changes:** a cached drop shadow, outer glow or filtered content is made again when something its content reads from outside the object changes: a pattern's art or tiling, a symbol shown inside another symbol, a brush definition, an image's pixels, the raster resolution (De-Interlace), Page Knockout Group, Document Setup's substitution highlights, a layer's Dim Images, the color settings, the fonts, Pixel Preview, Anti-aliased Artwork, Overprint Preview and isolation mode. A thumbnail under Color Halftone or Mezzotint is made again when the document's color mode changes. Raster effects (blur, shadow, glow, grain) drawn after a pattern, radial or freeform gradient fill export at their place and size (#1541, fixes #1536).
|
||||
|
||||
- **Live objects after document changes:** a blend, envelope or repeat, with or without an effect of its own, is evaluated again when one of these changes: the tiling of a pattern whose tiles an envelope bends (Distort Pattern Fills), a symbol shown inside a symbol, a pattern or an opacity mask, the fonts of its type, a placed document's file once the file is read, and the color settings. A gradient mesh, with or without an effect of its own, is colored again when the color settings change.
|
||||
|
||||
- **Full font names (#1258):** OpenType name ID 4 identifies its face alongside family/legacy/PostScript names, including localized names, for loaded fonts, cataloged files and Missing Fonts searches. Synthetic name-table regressions cover full names distinct from their PostScript name, real-family precedence and variable fonts' default faces. Windows font-service activation remains unverified; scores and hours are unchanged.
|
||||
## Revision history
|
||||
|
||||
|
||||
Reference in new issue
Block a user