The stage renderer shares the window's device and submitted its work from the
render service's threads at any time. A window reconfigures its surface when
it opens and when it is resized, and wgpu fails that when another thread
submits meanwhile: 'Surface::configure: Failed to wait for GPU to come idle
before reconfiguring the Surface'. In 0.2.1 that error was a panic, so
AniCraft closed at start-up or on a resize (#264, #309, and with them the
'won't open' reports #421#412#313#286#285#268#164); since ADR 0092 it
is survived, at the cost of a skipped frame, an autosave and a status line
blaming the graphics driver.
A SubmitGate (crates/gpu) is open while the window's thread runs the app's
frame and closed otherwise, also around windows drawn inside the frame (Test
Movie, floating panels). Work waits for it (asking for a frame), at most
250 ms; the renderer's starting self-test goes through it too.
Measured on Windows 10, RTX 5090, Vulkan, --screenshot starts: the error in
3 of 20 starts before, 0 of 20 after; 2.81 s and 2.80 s per run.
Flash CS5 to Animate write the zip end record with a central directory size
54 bytes too large (the mimetype entry's record) whenever mimetype isn't the
first entry. The shared reader refused those as damaged ('the central
directory is outside the archive'): most real .fla files (#356, #385).
The size is corrected in a copy when the directory holds exactly the entries
counted and ends where the record begins; the shared reader then checks the
copy as it checks any archive. To be dropped when the pinned craft-xfl has
storytold/craft-libs#1986.
Text keeps its filters next to its styled runs. In HTML export, static text in several colours
with filters is one item of pieces (pp), so the pieces share one filtered group as evaluate
draws them; the page's player draws such items piece by piece.
symphonia (MPL-2.0, via craft-audio) and jpeg-encoder (IJG, via craft-image-codecs) are
crate-scoped exceptions in deny.toml, approved by the project lead; NOTICE, ATTRIBUTION.md and
compliance.md name them. The shared gate doesn't run cargo-deny, so ci.yml has its own job.
Raised with the shared libraries team: storytold/craft-libs#2100.
* Motion Editor: a row per filter colour with a swatch that keys the whole
colour and a diamond for its four channels; click it to list red, green,
blue and alpha, each a curve, with the colour over the span along the
graph's foot. Quality and the switches are tick boxes and Low/Medium/High,
drawn as steps, without ease handles.
* Properties: the Filters section on text; built-in presets in the presets
menu, with a submenu to hide and show them (kept in the preferences).
* Screenshots: --open motioncolour, --open textshadow.
* The page's player draws text with filters in a filtered group of its own,
as evaluate does (fx/fm on static text and fields); typed text in an input
field is the browser's and is reported.
* XFL: a text field's <filters> come in on the text instead of being
reported as skipped.
* GPU parity on filtered text: max 1/255, mean 0.003-0.005 (RTX 5090, Vulkan).
Model and commands (ADR 0099):
* FilterParam gains a colour's channels (color, shadow_color, highlight_color,
stop_<n>; red, green, blue 0-255, alpha in percent, as the tint) and the
stepped quality, inner, knockout and hide_object, whose keys hold.
* Classic tweens of lists that differ pair the kinds they share in order;
a filter without a partner fades to or from itself doing nothing.
* TextBlock carries a filter list; evaluate draws text with filters in a
filtered group, as a movie clip.
* filter.* commands and element.set_filters act on text; motion.set_key
keys a whole colour; eight built-in presets that can only be hidden
(filter.preset_hide).
Bones marked with the shape they are inside bend it through that shape's skin;
other bones move an instance or a whole shape. One pose, solver and tween.
A document with a mixed armature is written as format version 4; every other
document byte for byte as before.
Measured (optimised test profile): 25 bones, two shapes of 1,002 points and
8 instances bind in 1.6 ms and pose in 0.066 ms per frame; IK through all 25
bones 0.07 ms.