mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
A 2160x3840 page with seven or more full-frame filtered elements was refused: each filtered element was an image the size of its box in Vello's image atlas, and the atlas stopped at 8192 px a side, which holds six frame-sized images. A motion blur of six <Freeze> samples plus one more filter was enough. - blitz-paint: a filter's layer is the boxes the element and its descendants draw (drawn_bounds), and a box that draws nothing (box_paints: no background, border, shadow, outline, text of its own, inline content or replaced content) is left out, as Chrome sizes a filter's input. A full-frame wrapper around a 200 px square is a layer the square's size grown by the blur's reach. An element that draws nothing at all keeps its border box. - vello_encoding: the atlas grows to the device's max_texture_dimension_2d (set_max_atlas_size, 16384 on Apple silicon: 28 frame-sized images at 2160x3840), set by raea-page before it makes its renderer. A full 16384 atlas is 1 GiB, made only when a page needs it. The refusal names the real size. bench/filter-atlas/check.sh: the issue's repro with twelve wrappers (each square's middle white, the page between #333) and ten frame-sized filtered layers whose boxes draw (the page's middle 184; nine would be 176). Both are refused on 0.1.8 (6 and 4 images left out) and pass here. bench/filter-overflow/check.sh still passes. Twelve filter shapes (wrappers with absolute and in-flow children, text, a span, an image, a drop shadow, a border, nested filters, a rotated child, a clipping wrapper, an SVG, a box shadow) draw the same pixels as 0.1.8 (PSNR 120).