mirror of
https://github.com/Matysh/houseplan-card
synced 2026-09-29 03:09:36 +00:00
Say what the day-cycle layer change does to the picture, and where the ratio was measured
Code review r1 found two documentation claims that the task's own contract contradicts. Both changelogs promised the picture was unchanged "to the pixel". It is not: splitting the layer moves the wall hatch by a sub-pixel, and that is exactly why four day-cycle baselines are re-taken. The entry now says what a reader can check — the outline around the plan matches pixel for pixel, the hatch inside the walls is anti-aliased a shade differently. docs/SUN.md credited Firefox with the fifteen-fold ratio. That number comes from headless Chromium through CDP tracing; the Firefox profile that opened the issue measured the same cause differently — 23 MB of texture uploads per frame and about nine frames per second. Each number now names its engine. Issue: #532 User-Visible: no
This commit is contained in:
+7
-3
@@ -79,9 +79,13 @@ The public setting remains a two-value selector. `static` uses `bg_color`.
|
||||
is kept on its own compositing layer (`will-change: filter`, scoped to the
|
||||
day-cycle stage). The group holds paper silhouettes only and does not change
|
||||
while the plan is hovered or panned; without the hint every repaint of the
|
||||
plan re-ran three blur passes over the whole sheet, which cost a Firefox
|
||||
window about fifteen times the rasterization of a static background (#532).
|
||||
A static background carries neither the filter nor the hint.
|
||||
plan re-ran three blur passes over the whole sheet. Measured in headless
|
||||
Chromium (CDP tracing, summed `RasterTask`) on a demo-stand pan, that cost
|
||||
about fifteen times the rasterization of a static background; the owner's
|
||||
Firefox profile that opened #532 showed the same cause as 23 MB of texture
|
||||
uploads per frame and about nine frames per second, without a comparable
|
||||
ratio of its own. A static background carries neither the filter nor the
|
||||
hint.
|
||||
- Only the environment and the zero-offset alpha-aware outline outside the
|
||||
grouped plan-paper footprint change. The plan, paper, floors, room fills,
|
||||
Glow/spill, devices, labels, decor/backdrop, vacuum, hover, and window rays
|
||||
|
||||
Reference in New Issue
Block a user