feat: resume layout calls in VM instruction slices and expose slice statistics
Verify Tessera GUI / verify (push) Failing after 8m59s

This commit is contained in:
2026-10-23 01:00:49 +08:00
parent 33f94da927
commit 09c3902d84
8 changed files with 62 additions and 10 deletions
+2
View File
@@ -88,6 +88,7 @@ pub struct LayoutRuntime {
pub measured: usize,
pub arranged: usize,
pub settle_passes: usize,
pub slices: usize,
pub viewport: Option<Size>,
}
@@ -492,6 +493,7 @@ impl LayoutRuntime {
self.measured = 0;
self.arranged = 0;
self.settle_passes = usize::from(!structural);
self.slices = usize::from(!structural);
let mut items = Vec::<Item<'_>>::new();
let mut work = vec![(root, None::<usize>, 0, root_constraints(self.viewport))];
let mut used = HashSet::new();