layer.select gains select?: the layer becomes active with all of its artwork
at the playhead selected (nothing on a locked or hidden layer). The timeline's
name click passes it. ADR 0044 and the roadmap updated.
Conflicts in CHANGELOG.md, src/erasertool.rs, src/panels.rs, src/stage.rs and
src/timeline.rs resolved keeping both sides: the selection across layers, with
every new interface string through tr!/trn! ("{n} elements {on_layers}" with
the layers' phrase as its own plural, "mixed", "has selected artwork").
The strings from sound effects (#100) and the ActionScript Script view
(#99) go through tr!/trn!; the envelope editor joins the pseudo-locale
accessibility audit. Messages that said "Ctrl+Z" now fill {undo} from
App::undo_key (the rebindable Undo key, through platform::shortcut_label,
so macOS reads ⌘Z). ADR 0040 leaves the reservations table.
Part of #42. ADR 0031: raw shapes cut and join on the layer (exact Bezier planar merge), Object Drawing (J), dot-pattern selection, double-click connected, drop on move, screen-pixel nudge.
The shell's gpu-stage feature is on by default and Preferences > Stage >
Renderer defaults to Graphics card (GPU), with the CPU drawing whenever
there is no usable card, a tile is past the GPU's limits or anything
fails. The setting is stored under a new key: every earlier build wrote
the old one as Cpu without anyone choosing it. CI installs lavapipe so the
parity tests run on a software adapter.
Measured (release, RTX 5090): 4K filtered sample 3.9 ms on Vulkan and
4.2 ms on DX12 (CPU 31.5 ms); 200 bitmap fills 4.4 / 4.3 ms (CPU 37.2 ms).
Docs: ADR 0031, performance, roadmap, architecture, CHANGELOG.
The GPU stage shares eframe's wgpu device (egui_wgpu::RenderState) and
draws each stage tile into a storage texture the shell registers with
egui as it is. Fallbacks: a headless device with readback (window on
OpenGL), then the CPU oracle. Every call runs in thread-local error
scopes; nothing is installed on the window's device; a work bound per
dispatch guards the driver watchdog.
The engine stays GPU-free: Raster::Native carries an opaque image, cached
under its own 384 MB budget; only the shell downcasts it.
perf, gpu_bench on RTX 5090 (Vulkan), 32 threads:
4K, 1,000 shapes: CPU 16.2-19.6 ms, read-back 8.4, direct 2.1-2.4 ms
4K, 10k shapes: CPU 25.8-28.1 ms, read-back 23.2, stage tiles 10.2 ms
4K, masked 10k: CPU 74.8-80.0 ms, stage tiles 10.9 ms
Binning stays on the CPU (ADR 0029: not the bottleneck as stage tiles).
The packaging's PE check found anicraft.exe used the console subsystem, so a console window
opened beside the app. Debug builds keep the console for logs.
anicraft-actions (L0): typed actions (stop, play, go to a frame or label in
a scene, next/previous frame and scene, trace, set property), instance-name
target paths, button events, plug-in frame-script references.
anicraft-doc: keyframes carry a FrameScript, symbol instances carry event
handlers (serde defaults, sanitized on load). player::{start, step} steps a
PlayerState (scene, playheads, script-set properties, pointer) with budgets;
evaluate_player draws it; evaluate stays pure and unchanged.
* Box blurs of an even width were half a pixel off centre: now centred (one more
pixel each side at half weight), so bevels stay symmetric.
* Inner effects blur the transparency around the artwork, so every side gets the
full margin (inner Glow and Drop Shadow came out weak near the buffer edge).
* The reach past the surface is capped by area, keeping the padding around the
artwork on wide surfaces (a 4096 px surface clipped shadows to the artwork).
* SVG: filter regions are the stage grown by the reach in user space; ramp tables
have the CPU's 257 samples.
* Ramps: one pinned stop, others step aside (sanitize is idempotent); XFL ramps
use one ratio scale; the panel edits sanitized filters, keeps moved stops between
their neighbours and clear of the pin, and adds a stop from the keyboard.