servo/components/shared/compositing
Oriol Brufau 7ae2c754c5
compositing_traits: Properly cache cumulative node transforms (#39402)
`cumulative_node_transform()` returns the cached value if present, and
otherwise calls `cumulative_node_transform_inner()` to compute it.
However, `cumulative_node_transform_inner()` was just calling itself
recursively to compute the ancestor transforms, ignoring the cache.

Therefore, this patch makes `cumulative_node_transform_inner()` call
`cumulative_node_transform()` for the parent. This requires merging
`AncestorStickyInfo` into `ScrollTreeNodeTransformationCache` in order
to cache that data too.

Testing: Not needed, no behavior change

Signed-off-by: Oriol Brufau <obrufau@igalia.com>
2025-09-22 09:52:47 +00:00
..
tests layout: Avoid ClipId, ExternalScrollId and ScrollTreeNodeId references (#39372) 2025-09-18 23:34:49 +00:00
Cargo.toml Use more workspace dependencies (#39404) 2025-09-20 06:01:59 +00:00
display_list.rs compositing_traits: Properly cache cumulative node transforms (#39402) 2025-09-22 09:52:47 +00:00
lib.rs migrate GenerateImageKey reply to generic channel (#39347) 2025-09-17 11:30:26 +00:00
rendering_context.rs cargo: Bump rustc to 1.89 (#36818) 2025-08-19 11:07:53 +00:00
viewport_description.rs compositor: Request reflow when doing a page zooming (#38166) 2025-07-29 10:04:37 +00:00