Document.layers is a LayerTree that builds an id index on first lookup and drops it on any mutable access. Layer lookups and selected_layers use the index instead of walking the document.
Each removed variant takes the same branch as one that stays, or is covered without the app or
oracle cost by a named lower-level test; the commit's comments say which for every test.
ui-egui: floating-document zoom (10 frames after Enter, not 60), Wide Angle (one depth per mode,
alpha kept), Brush panel sections (only those Brush Settings draws; Brushes ignores the section),
Camera Raw GPU (8 and 32 bits), enable rules (one app per world, a copied style for Paste only),
Content-Aware Move preview (selection just past the coarse budget, smaller canvas).
algo/compose/engine/gpu/format: Pixelate (Lab, cell 100, seed 37, tile 1), box blurs (Gaussian
40), Smart Blur (multichannel layouts cover every arm; Low and High), FFT sharpen gate (one
depth), panorama batching (budgets at every split instead of a 47-step sweep), bevel and chisel
threads (2 and 16), fused tone tiles (256 x 256, the U16 table threshold), live dabs (8 and 32
bits), Camera Raw GPU sizes (1600 x 240 wide case; the proxy-size per-pixel run lives in the
clarity test), directory bundle (two modes; zip_cases has the matrix).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each crate's top-level tests/*.rs files become modules of tests/it/main.rs, and a new xtask check (test-binaries) refuses a new single-file test binary.
PhotoCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (next branch): shell, dock and panels, hosted dialogs, keyboard, focus, IME and pointer routing, the canvas's view commands, themes and tokens. The engine, document model, file formats, commands and automation stay. PhotoCraft pins storytold/craft-libs next.
A split Blend If slider faded as (v - low) / (high - low), so the fade
started a level late and every value between the halves showed a little
less of the layer than the reference application. 8-bit documents now
fade as (v - low + 1) / (high - low + 1) on the black side and
(high - v + 1) / (high - low + 1) on the white side, on the CPU
(BlendRange::weight_8bit through blend_if_weight) and the GPU (bi_ramp,
flagged per pass in p4.z). Unsplit points and 16/32-bit documents keep
their behaviour.
- cmyk_flatten_profile: synthesise the test profile once per process and
share one Arc, so CmykSpace's per-allocation cache builds the transforms
once; exact() reads both rows from one run (4 documents, not 8).
- camera_raw GPU tests: the 858x572 and 1600x900 comparisons run at one
depth each. The depth only changes the input quantization (8 and 16 bits
both develop with float = false) and every depth runs at 171x113 above.
- cols_timing is a benchmark without assertions: ignore it like its
siblings.
- compose: delete clipped_dissolve_is_binary_and_preserves_the_base_shape,
a byte-identical copy of clipped_dissolve_opacity_fill_is_binary_and_
preserves_base_shape (whose doc comment names both issues).
Part of #15376.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
An independent review found that the third-of-a-pixel source offset sat on
every Size, Choke and Distance with Anti-aliased on, while only Size 10 at
Choke 0 was measured. Both neighbours of that configuration are
degeneracies of `spread_split`: at a blur width of 1 (Size 1, or Size 2 at
Choke 50 %) `dilate` no-ops and the tent blur is the identity, so the
offset became the whole map - 1/3 coverage on the bottom and right inner
edges (G 89.7 against the layer's own 128) and nothing at the top and
left, a one-sided black line. At a Choke that dilates the CPU recomputes
its chamfer distance on the offset map while `B::spread_blur` shifts the
whole-pixel `ChokeInside` field of the unshifted shape, so the two
compositors part by 40/255.
`aa_shift` now takes the Size and Choke and applies the offset only to a
split of no dilation and a blur wider than the identity, with the Gaussian
contour: a rule in the inputs, not the measured document's Size 10. Sizes
1.5 to 250 at Choke 0, Distance 5 and Choke 4 % (which dilates nothing)
still take it; Size 1, Size 2 at Choke 50 % and every Choke that dilates
keep today's map bit-for-bit. Four new CPU probes, one GPU stage-list
probe and one GPU-vs-CPU parity probe pin both sides: three of the CPU
probes and both GPU probes failed on this branch's head before the gate
(the parity probe at max diff 40.04/255, Size 10 Choke 50 %).
satin_map inverted the coverage before the contour LUT, so a curved
contour with Invert on was not the opposite of the same Satin without
Invert. Invert now applies after the contour on the CPU, and the GPU
satin stage uses fs_mfinish's existing after-contour mode.
Co-authored-by: OpenBot <335604065+openbotgit[bot]@users.noreply.github.com>