Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

FC0a: ui/styling/box_shadow ports at 0.99880, and bevy_ui's drop shadow is drawn as Bevy draws it. The port is the example's first frame: a 164 px square with a 1 px white border on CSS gray, its BoxShadow black at 0.8, offset 20, spread 15, blur 10, under BoxShadowSamples(6), and the settings pane (examples/helpers' radio and number inputs) over the dark theme with its pane body at 0.9 alpha.

shinyobjectz43eb20fbd795
diff --git a/bench/bevy-parity/build.rs b/bench/bevy-parity/build.rs
index a233e97c..b45de48c 100644
--- a/bench/bevy-parity/build.rs
+++ b/bench/bevy-parity/build.rs
@@ -37,6 +37,10 @@ fn main() {
// include_str!/include_bytes! paths are relative to the example, not to OUT_DIR
.replace("include_str!(\"", &format!("include_str!(\"{}/", file.parent().unwrap().display()))
.replace("include_bytes!(\"", &format!("include_bytes!(\"{}/", file.parent().unwrap().display()))
+ // and so are its #[path] modules (examples/helpers: radio.rs, number_input_f32.rs, ...)
+ .replace("#[path = \"", &format!("#[path = \"{}/", file.parent().unwrap().display()))
+ // the example is a module of the host, so its crate root is that module
+ .replace("use crate::", "use self::")
.replace("App::new()", "crate::parity_app()")
.replace("\nfn main()", "\npub fn main()");
// an example drawing from an unseeded rng draws differently every run (two runs of many_lights: SSIM 0.58), so
diff --git a/bench/bevy-parity/examples.list b/bench/bevy-parity/examples.list
index 5b804b90..56adbd8c 100644
--- a/bench/bevy-parity/examples.list
+++ b/bench/bevy-parity/examples.list
@@ -103,3 +103,4 @@ ui/widgets/standard_widgets
ui/widgets/feathers_counter
ui/widgets/feathers_number_input
ui/widgets/feathers_gallery
+ui/styling/box_shadow
diff --git a/bench/bevy-parity/runs.tsv b/bench/bevy-parity/runs.tsv
index 44798201..343c2c3a 100644
--- a/bench/bevy-parity/runs.tsv
+++ b/bench/bevy-parity/runs.tsv
@@ -102,3 +102,4 @@ ui/widgets/standard_widgets - 10
ui/widgets/feathers_counter - 10
ui/widgets/feathers_number_input - 10
ui/widgets/feathers_gallery - 10
+ui/styling/box_shadow - 10
diff --git a/docs/bevy-parity.md b/docs/bevy-parity.md
index 5a44c9ad..5f00ec7f 100644
--- a/docs/bevy-parity.md
+++ b/docs/bevy-parity.md
@@ -4,7 +4,7 @@ Bevy v0.20.0's examples against their raea TSX ports (docs/control.feature FC0a)
don't edit. An example passes when every probed frame passes pixels (SSIM 0.98 and no 32 px tile off by more than 24 of 255) and cost (batch keys and
frame time at most 1.25x the example's). Wall time is one machine's, measured in the same run.
-Examples: **438**, ported **103**, passing **99**, excluded **16** (docs/bevy-parity/excluded.tsv), left **323**.
+Examples: **438**, ported **104**, passing **100**, excluded **16** (docs/bevy-parity/excluded.tsv), left **322**.
raea's frame ms is its update's plus the time React takes to step a frame for its 3D (step), which the example
doesn't pay.
@@ -95,70 +95,71 @@ doesn't pay.
| 3d/lightmaps | 5 | 1.000000 | 0 | 6 / 6 | 453 / 506 | 11 / 13 | 6 / 10 | 306.814 / 4.455 = 4.238 + 0.217 | yes | |
| 2d/mesh2d_vertex_color_texture | 10 | 0.998651 | 6 | 0 / 0 | 442 / 495 | 6 / 9 | 1 / 1 | 37.793 / 2.711 = 1.347 + 1.364 | yes | |
| 2d/mesh2d_repeated_texture | 10 | 0.991205 | 17 | 0 / 0 | 437 / 496 | 8 / 10 | 1 / 1 | 26.298 / 1.893 = 1.62 + 0.273 | yes | |
-| ui/images/image_node | 10 | 0.999965 | 0 | 0 / 0 | 441 / 493 | 5 / 7 | 1 / 1 | 16.692 / 1.854 = 1.854 + 0 | yes | |
-| ui/images/image_node | 5 | 0.999965 | 0 | 0 / 0 | 441 / 493 | 5 / 7 | 1 / 1 | 50.621 / 1.752 = 1.752 + 0 | yes | |
-| ui/images/ui_texture_atlas | 10 | 0.999781 | 5 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 16.755 / 1.754 = 1.754 + 0 | yes | |
-| ui/images/ui_texture_atlas | 5 | 0.999781 | 5 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 54.768 / 1.996 = 1.996 + 0 | yes | |
-| ui/images/ui_texture_atlas_slice | 10 | 0.990805 | 16 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 34.96 / 0.944 = 0.944 + 0 | yes | |
-| ui/images/ui_texture_slice | 10 | 0.998933 | 8 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 39.102 / 1.051 = 1.051 + 0 | yes | |
-| ui/images/ui_texture_slice_flip_and_tile | 10 | 1.000000 | 0 | 0 / 0 | 460 / 493 | 5 / 7 | 1 / 1 | 34.976 / 0.848 = 0.848 + 0 | yes | |
-| ui/layout/anchor_layout | 10 | 0.997324 | 9 | 0 / 0 | 467 / 493 | 5 / 7 | 1 / 1 | 38.461 / 0.787 = 0.787 + 0 | yes | |
-| ui/layout/fixed_node | 10 | 1.000000 | 0 | 0 / 0 | 443 / 493 | 5 / 7 | 1 / 1 | 16.955 / 0.94 = 0.94 + 0 | yes | |
-| ui/layout/fixed_node | 5 | 1.000000 | 0 | 0 / 0 | 443 / 493 | 5 / 7 | 1 / 1 | 51.817 / 2.822 = 2.822 + 0 | yes | |
-| ui/layout/flex_layout | 10 | 0.992175 | 8 | 0 / 0 | 601 / 493 | 5 / 7 | 1 / 1 | 38.329 / 1.489 = 1.489 + 0 | yes | |
-| ui/layout/ghost_nodes | 10 | 0.998540 | 9 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 34.969 / 0.875 = 0.875 + 0 | yes | |
-| ui/layout/grid | 10 | 0.994691 | 14 | 0 / 0 | 481 / 493 | 5 / 7 | 1 / 1 | 37.78 / 0.933 = 0.933 + 0 | yes | |
-| ui/layout/size_constraints | 10 | 0.991720 | 19 | 0 / 0 | 607 / 493 | 5 / 7 | 1 / 1 | 36.275 / 1.188 = 1.188 + 0 | yes | |
-| ui/layout/z_index | 10 | 1.000000 | 0 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 36.622 / 0.89 = 0.89 + 0 | yes | |
-| ui/navigation/directional_navigation | 10 | 0.998119 | 8 | 0 / 0 | 470 / 493 | 5 / 7 | 1 / 1 | 36.456 / 1.45 = 1.45 + 0 | yes | |
-| ui/navigation/directional_navigation_overrides | 10 | 0.996079 | 10 | 0 / 0 | 563 / 493 | 5 / 7 | 1 / 1 | 35.954 / 0.959 = 0.959 + 0 | yes | |
-| ui/relative_cursor_position | 10 | 0.999899 | 2 | 0 / 0 | 442 / 493 | 5 / 7 | 1 / 1 | 38.461 / 0.89 = 0.89 + 0 | yes | |
-| ui/render_ui_to_texture | 10 | 0.999986 | 1 | 1 / 1 | 449 / 496 | 6 / 8 | 2 / 2 | 38.407 / 1.382 = 1.382 + 0 | yes | |
-| ui/scroll_and_overflow/drag_to_scroll | 10 | 0.999993 | 1 | 0 / 0 | 7643 / 493 | 5 / 7 | 1 / 1 | 35.753 / 1.776 = 1.776 + 0 | yes | |
-| ui/scroll_and_overflow/overflow | 10 | 0.998778 | 4 | 0 / 0 | 460 / 493 | 5 / 7 | 1 / 1 | 16.572 / 1.822 = 1.822 + 0 | yes | |
-| ui/scroll_and_overflow/overflow | 5 | 0.998778 | 4 | 0 / 0 | 460 / 493 | 5 / 7 | 1 / 1 | 53.882 / 1.877 = 1.877 + 0 | yes | |
-| ui/scroll_and_overflow/overflow_clip_margin | 10 | 0.997330 | 7 | 0 / 0 | 464 / 493 | 5 / 7 | 1 / 1 | 36.326 / 1.302 = 1.302 + 0 | yes | |
-| ui/scroll_and_overflow/overflow_debug | 10 | 0.996609 | 9 | 0 / 0 | 462 / 493 | 5 / 7 | 1 / 1 | 37.932 / 0.861 = 0.861 + 0 | yes | |
-| ui/scroll_and_overflow/overflow_transform | 10 | 0.995399 | 12 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 37.666 / 1.653 = 1.653 + 0 | yes | |
-| ui/scroll_and_overflow/scroll | 10 | 0.997043 | 14 | 0 / 0 | 1987 / 493 | 5 / 7 | 1 / 1 | 37.897 / 0.869 = 0.869 + 0 | yes | |
-| ui/scroll_and_overflow/scrollbars | 10 | 0.993788 | 21 | 0 / 0 | 461 / 493 | 5 / 7 | 1 / 1 | 43.923 / 1.293 = 1.293 + 0 | yes | |
-| ui/styling/borders | 10 | 0.993389 | 9 | 0 / 0 | 590 / 493 | 5 / 7 | 1 / 1 | 48.25 / 2.236 = 2.236 + 0 | yes | |
-| ui/styling/gradients | 10 | 0.990467 | 13 | 0 / 0 | 552 / 493 | 5 / 7 | 1 / 1 | 50.292 / 2.257 = 2.257 + 0 | yes | |
-| ui/styling/stacked_gradients | 10 | 0.994550 | 1 | 0 / 0 | 441 / 493 | 5 / 7 | 1 / 1 | 48.714 / 1.976 = 1.976 + 0 | yes | |
-| ui/styling/transparency_ui | 10 | 0.999725 | 3 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 16.656 / 1.353 = 1.353 + 0 | yes | |
-| ui/styling/transparency_ui | 5 | 0.999725 | 3 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 70.296 / 3.442 = 3.442 + 0 | yes | |
-| ui/text/font_query | 10 | 0.993893 | 19 | 0 / 0 | 466 / 493 | 5 / 7 | 1 / 1 | 48.279 / 1.381 = 1.381 + 0 | yes | |
-| ui/text/font_variations | 10 | 0.994047 | 20 | 0 / 0 | 451 / 493 | 5 / 7 | 1 / 1 | 16.685 / 2.028 = 2.028 + 0 | yes | |
-| ui/text/font_variations | 5 | 0.994047 | 20 | 0 / 0 | 451 / 493 | 5 / 7 | 1 / 1 | 75.702 / 3.385 = 3.385 + 0 | yes | |
-| ui/text/font_weights | 10 | 0.991888 | 17 | 0 / 0 | 453 / 493 | 5 / 7 | 1 / 1 | 16.405 / 1.204 = 1.204 + 0 | yes | |
-| ui/text/font_weights | 5 | 0.991888 | 17 | 0 / 0 | 453 / 493 | 5 / 7 | 1 / 1 | 71.116 / 2.642 = 2.642 + 0 | yes | |
-| ui/text/generic_font_families | 10 | 0.990143 | 19 | 0 / 0 | 456 / 493 | 5 / 7 | 1 / 1 | 48.711 / 1.393 = 1.393 + 0 | yes | |
-| ui/text/inline_image | 10 | 0.998400 | 7 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 47.405 / 1.572 = 1.572 + 0 | yes | |
-| ui/text/letter_spacing | 10 | 0.996228 | 13 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 46.386 / 2.04 = 2.04 + 0 | yes | |
-| ui/text/strikethrough_and_underline | 10 | 0.990854 | 15 | 0 / 0 | 453 / 493 | 5 / 7 | 1 / 1 | 16.249 / 1.327 = 1.327 + 0 | yes | |
-| ui/text/strikethrough_and_underline | 5 | 0.990854 | 15 | 0 / 0 | 453 / 493 | 5 / 7 | 1 / 1 | 72.18 / 3.352 = 3.352 + 0 | yes | |
-| ui/text/text | 10 | 0.990695 | 8 | 0 / 0 | 458 / 493 | 5 / 7 | 1 / 1 | 49.672 / 1.285 = 1.285 + 0 | yes | |
-| ui/text/text_background_colors | 10 | 0.998935 | 6 | 0 / 0 | 504 / 493 | 5 / 7 | 1 / 1 | 16.172 / 2.093 = 2.093 + 0 | yes | |
-| ui/text/text_background_colors | 5 | 0.998935 | 6 | 0 / 0 | 504 / 493 | 5 / 7 | 1 / 1 | 75.836 / 3.368 = 3.368 + 0 | yes | |
-| ui/text/text_debug | 10 | 0.983961 | 18 | 0 / 0 | 457 / 493 | 5 / 7 | 1 / 1 | 45.851 / 1.943 = 1.943 + 0 | yes | |
-| ui/text/text_wrap_debug | 10 | 0.985334 | 15 | 0 / 0 | 588 / 493 | 5 / 7 | 1 / 1 | 49.745 / 2.852 = 2.852 + 0 | yes | |
-| ui/ui_drag_and_drop | 10 | 0.999036 | 3 | 0 / 0 | 1240 / 493 | 5 / 7 | 1 / 1 | 52.623 / 2.14 = 2.14 + 0 | yes | |
-| ui/ui_scaling | 10 | 0.999855 | 5 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 45.018 / 2.261 = 2.261 + 0 | yes | |
-| ui/ui_target_camera | 10 | 0.998726 | 7 | 0 / 0 | 451 / 493 | 5 / 7 | 1 / 1 | 45.333 / 2.055 = 2.055 + 0 | yes | |
-| ui/ui_transform | 10 | 0.999110 | 6 | 0 / 0 | 462 / 493 | 5 / 7 | 1 / 1 | 45.415 / 1.73 = 1.73 + 0 | yes | |
-| ui/widgets/button | 10 | 0.999667 | 8 | 0 / 0 | 443 / 493 | 5 / 7 | 1 / 1 | 44.586 / 1.638 = 1.638 + 0 | yes | |
-| ui/widgets/feathers_counter | 10 | 0.999941 | 1 | 0 / 0 | 492 / 493 | 5 / 7 | 1 / 1 | 45.662 / 1.904 = 1.904 + 0 | yes | |
-| ui/widgets/feathers_number_input | 10 | 0.997483 | 6 | 0 / 0 | 971 / 493 | 5 / 7 | 1 / 1 | 46.655 / 1.62 = 1.62 + 0 | yes | |
-| ui/widgets/headless_tabs | 10 | 0.992422 | 11 | 0 / 0 | 477 / 493 | 5 / 7 | 1 / 1 | 45.831 / 1.393 = 1.393 + 0 | yes | |
-| ui/widgets/standard_widgets | 10 | 0.997647 | 17 | 0 / 0 | 476 / 493 | 5 / 7 | 1 / 1 | 47.327 / 1.219 = 1.219 + 0 | yes | |
-| ui/widgets/standard_widgets_observers | 10 | 0.998736 | 14 | 0 / 0 | 472 / 493 | 5 / 7 | 1 / 1 | 44.397 / 2.247 = 2.247 + 0 | yes | |
-| ui/widgets/tab_navigation | 10 | 0.997861 | 4 | 0 / 0 | 499 / 493 | 5 / 7 | 1 / 1 | 44.253 / 2.256 = 2.256 + 0 | yes | |
-| ui/widgets/vertical_slider | 10 | 0.999004 | 11 | 0 / 0 | 458 / 493 | 5 / 7 | 1 / 1 | 45.916 / 2.095 = 2.095 + 0 | yes | |
-| ui/widgets/viewport_node | 10 | 0.999871 | 0 | 1 / 1 | 445 / 498 | 6 / 8 | 2 / 2 | 50.253 / 2.535 = 2.535 + 0 | yes | |
-| ui/widgets/virtual_keyboard | 10 | 0.993705 | 13 | 0 / 0 | 645 / 493 | 5 / 7 | 1 / 1 | 48.64 / 1.276 = 1.276 + 0 | yes | |
-| ui/window_fallthrough | 10 | 0.992226 | 16 | 0 / 0 | 440 / 493 | 5 / 7 | 1 / 1 | 45.784 / 0.998 = 0.998 + 0 | yes | |
-| ui/images/image_node_resizing | 10 | 0.998153 | 8 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 165.112 / 7.084 = 7.084 + 0 | yes | |
-| ui/widgets/feathers_gallery | 10 | 0.995606 | 9 | 0 / 0 | 1059 / 493 | 5 / 7 | 1 / 1 | 41.002 / 1.666 = 1.666 + 0 | yes | |
+| ui/styling/transparency_ui | 10 | 0.999725 | 3 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 3.525 / 3.431 = 3.431 + 0 | yes | |
+| ui/styling/transparency_ui | 5 | 0.999725 | 3 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 109.446 / 4.311 = 4.311 + 0 | yes | |
+| ui/layout/flex_layout | 10 | 0.992175 | 8 | 0 / 0 | 602 / 493 | 5 / 7 | 1 / 1 | 60.874 / 3.507 = 3.507 + 0 | yes | |
+| ui/images/image_node | 10 | 0.999965 | 0 | 0 / 0 | 442 / 493 | 5 / 7 | 1 / 1 | 4.425 / 3.676 = 3.676 + 0 | yes | |
+| ui/images/image_node | 5 | 0.999965 | 0 | 0 / 0 | 442 / 493 | 5 / 7 | 1 / 1 | 115.406 / 4.44 = 4.44 + 0 | yes | |
+| ui/text/font_weights | 10 | 0.991888 | 17 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 3.955 / 3.951 = 3.951 + 0 | yes | |
+| ui/text/font_weights | 5 | 0.991888 | 17 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 119.535 / 6.717 = 6.717 + 0 | yes | |
+| ui/text/font_variations | 10 | 0.994047 | 20 | 0 / 0 | 452 / 493 | 5 / 7 | 1 / 1 | 4.21 / 3.715 = 3.715 + 0 | yes | |
+| ui/text/font_variations | 5 | 0.994047 | 20 | 0 / 0 | 452 / 493 | 5 / 7 | 1 / 1 | 115.743 / 4.524 = 4.524 + 0 | yes | |
+| ui/text/text_background_colors | 10 | 0.998935 | 6 | 0 / 0 | 505 / 493 | 5 / 7 | 1 / 1 | 4.008 / 4.342 = 4.342 + 0 | yes | |
+| ui/text/text_background_colors | 5 | 0.998935 | 6 | 0 / 0 | 505 / 493 | 5 / 7 | 1 / 1 | 115.763 / 6.29 = 6.29 + 0 | yes | |
+| ui/text/strikethrough_and_underline | 10 | 0.990854 | 15 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 5.387 / 3.816 = 3.816 + 0 | yes | |
+| ui/text/strikethrough_and_underline | 5 | 0.990854 | 15 | 0 / 0 | 454 / 493 | 5 / 7 | 1 / 1 | 128.257 / 6.216 = 6.216 + 0 | yes | |
+| ui/scroll_and_overflow/overflow | 10 | 0.998778 | 4 | 0 / 0 | 461 / 493 | 5 / 7 | 1 / 1 | 4.035 / 4.298 = 4.298 + 0 | yes | |
+| ui/scroll_and_overflow/overflow | 5 | 0.998778 | 4 | 0 / 0 | 461 / 493 | 5 / 7 | 1 / 1 | 123.279 / 4.944 = 4.944 + 0 | yes | |
+| ui/scroll_and_overflow/overflow_clip_margin | 10 | 0.997330 | 7 | 0 / 0 | 465 / 493 | 5 / 7 | 1 / 1 | 70.198 / 3.667 = 3.667 + 0 | yes | |
+| ui/images/ui_texture_atlas | 10 | 0.999781 | 5 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 3.8 / 4.752 = 4.752 + 0 | yes | |
+| ui/images/ui_texture_atlas | 5 | 0.999781 | 5 | 0 / 0 | 445 / 493 | 5 / 7 | 1 / 1 | 116.227 / 5.943 = 5.943 + 0 | yes | |
+| ui/images/ui_texture_slice | 10 | 0.998933 | 8 | 0 / 0 | 447 / 493 | 5 / 7 | 1 / 1 | 66.112 / 3.482 = 3.482 + 0 | yes | |
+| ui/images/ui_texture_atlas_slice | 10 | 0.990805 | 16 | 0 / 0 | 447 / 493 | 5 / 7 | 1 / 1 | 62.125 / 3.994 = 3.994 + 0 | yes | |
+| ui/images/ui_texture_slice_flip_and_tile | 10 | 1.000000 | 0 | 0 / 0 | 461 / 493 | 5 / 7 | 1 / 1 | 67.041 / 3.64 = 3.64 + 0 | yes | |
+| ui/widgets/button | 10 | 0.999667 | 8 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 64.341 / 3.639 = 3.639 + 0 | yes | |
+| ui/text/letter_spacing | 10 | 0.996228 | 13 | 0 / 0 | 455 / 493 | 5 / 7 | 1 / 1 | 63.222 / 4.202 = 4.202 + 0 | yes | |
+| ui/styling/borders | 10 | 0.993389 | 9 | 0 / 0 | 591 / 493 | 5 / 7 | 1 / 1 | 64.501 / 3.431 = 3.431 + 0 | yes | |
+| ui/window_fallthrough | 10 | 0.992226 | 16 | 0 / 0 | 441 / 493 | 5 / 7 | 1 / 1 | 58.322 / 4.227 = 4.227 + 0 | yes | |
+| ui/text/inline_image | 10 | 0.998400 | 7 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 63.813 / 3.674 = 3.674 + 0 | yes | |
+| ui/layout/z_index | 10 | 1.000000 | 0 | 0 / 0 | 447 / 493 | 5 / 7 | 1 / 1 | 66.612 / 3.209 = 3.209 + 0 | yes | |
+| ui/styling/stacked_gradients | 10 | 0.994550 | 1 | 0 / 0 | 442 / 493 | 5 / 7 | 1 / 1 | 60.863 / 3.301 = 3.301 + 0 | yes | |
+| ui/styling/gradients | 10 | 0.990467 | 13 | 0 / 0 | 553 / 493 | 5 / 7 | 1 / 1 | 56.076 / 2.98 = 2.98 + 0 | yes | |
+| ui/text/generic_font_families | 10 | 0.990143 | 19 | 0 / 0 | 457 / 493 | 5 / 7 | 1 / 1 | 47.926 / 3.102 = 3.102 + 0 | yes | |
+| ui/layout/ghost_nodes | 10 | 0.998540 | 9 | 0 / 0 | 455 / 493 | 5 / 7 | 1 / 1 | 48.457 / 3.285 = 3.285 + 0 | yes | |
+| ui/relative_cursor_position | 10 | 0.999899 | 2 | 0 / 0 | 443 / 493 | 5 / 7 | 1 / 1 | 55.232 / 2.892 = 2.892 + 0 | yes | |
+| ui/ui_target_camera | 10 | 0.998726 | 7 | 0 / 0 | 452 / 493 | 5 / 7 | 1 / 1 | 49.615 / 2.284 = 2.284 + 0 | yes | |
+| ui/text/text_wrap_debug | 10 | 0.985334 | 15 | 0 / 0 | 589 / 493 | 5 / 7 | 1 / 1 | 48.059 / 1.992 = 1.992 + 0 | yes | |
+| ui/layout/grid | 10 | 0.994691 | 14 | 0 / 0 | 482 / 493 | 5 / 7 | 1 / 1 | 47.166 / 2.001 = 2.001 + 0 | yes | |
+| ui/ui_scaling | 10 | 0.999855 | 5 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 48.488 / 1.948 = 1.948 + 0 | yes | |
+| ui/layout/anchor_layout | 10 | 0.997324 | 9 | 0 / 0 | 468 / 493 | 5 / 7 | 1 / 1 | 44.172 / 2.672 = 2.672 + 0 | yes | |
+| ui/layout/size_constraints | 10 | 0.991720 | 19 | 0 / 0 | 608 / 493 | 5 / 7 | 1 / 1 | 46.703 / 1.976 = 1.976 + 0 | yes | |
+| ui/text/text | 10 | 0.990695 | 8 | 0 / 0 | 459 / 493 | 5 / 7 | 1 / 1 | 48.463 / 2.482 = 2.482 + 0 | yes | |
+| ui/text/text_debug | 10 | 0.983961 | 18 | 0 / 0 | 458 / 493 | 5 / 7 | 1 / 1 | 47.812 / 2.727 = 2.727 + 0 | yes | |
+| ui/ui_transform | 10 | 0.999110 | 6 | 0 / 0 | 463 / 493 | 5 / 7 | 1 / 1 | 46.489 / 3.227 = 3.227 + 0 | yes | |
+| ui/scroll_and_overflow/scroll | 10 | 0.997043 | 14 | 0 / 0 | 1988 / 493 | 5 / 7 | 1 / 1 | 48.96 / 2.823 = 2.823 + 0 | yes | |
+| ui/scroll_and_overflow/drag_to_scroll | 10 | 0.999993 | 1 | 0 / 0 | 7644 / 493 | 5 / 7 | 1 / 1 | 61.559 / 2.5 = 2.5 + 0 | yes | |
+| ui/scroll_and_overflow/scrollbars | 10 | 0.994530 | 21 | 0 / 0 | 462 / 493 | 5 / 7 | 1 / 1 | 48.243 / 2.285 = 2.285 + 0 | yes | |
+| ui/scroll_and_overflow/overflow_debug | 10 | 0.996609 | 9 | 0 / 0 | 463 / 493 | 5 / 7 | 1 / 1 | 46.725 / 2.131 = 2.131 + 0 | yes | |
+| ui/text/font_query | 10 | 0.993893 | 19 | 0 / 0 | 467 / 493 | 5 / 7 | 1 / 1 | 49.565 / 3.19 = 3.19 + 0 | yes | |
+| ui/render_ui_to_texture | 10 | 0.999986 | 1 | 1 / 1 | 450 / 496 | 6 / 8 | 2 / 2 | 48.336 / 3.352 = 3.352 + 0 | yes | |
+| ui/ui_drag_and_drop | 10 | 0.999036 | 3 | 0 / 0 | 1241 / 493 | 5 / 7 | 1 / 1 | 49.989 / 2.287 = 2.287 + 0 | yes | |
+| ui/navigation/directional_navigation | 10 | 0.998119 | 8 | 0 / 0 | 471 / 493 | 5 / 7 | 1 / 1 | 50.473 / 2.445 = 2.445 + 0 | yes | |
+| ui/navigation/directional_navigation_overrides | 10 | 0.996079 | 10 | 0 / 0 | 564 / 493 | 5 / 7 | 1 / 1 | 46.577 / 2.853 = 2.853 + 0 | yes | |
+| ui/widgets/headless_tabs | 10 | 0.992422 | 11 | 0 / 0 | 478 / 493 | 5 / 7 | 1 / 1 | 45.547 / 2.844 = 2.844 + 0 | yes | |
+| ui/widgets/tab_navigation | 10 | 0.997861 | 4 | 0 / 0 | 500 / 493 | 5 / 7 | 1 / 1 | 43.769 / 2.685 = 2.685 + 0 | yes | |
+| ui/widgets/viewport_node | 10 | 0.999871 | 0 | 1 / 1 | 446 / 498 | 6 / 8 | 2 / 2 | 46.934 / 3.416 = 3.416 + 0 | yes | |
+| ui/widgets/vertical_slider | 10 | 0.999004 | 11 | 0 / 0 | 459 / 493 | 5 / 7 | 1 / 1 | 43.643 / 2.414 = 2.414 + 0 | yes | |
+| ui/widgets/virtual_keyboard | 10 | 0.993705 | 13 | 0 / 0 | 646 / 493 | 5 / 7 | 1 / 1 | 48.415 / 2.578 = 2.578 + 0 | yes | |
+| ui/widgets/standard_widgets_observers | 10 | 0.998736 | 14 | 0 / 0 | 473 / 493 | 5 / 7 | 1 / 1 | 47.351 / 2.113 = 2.113 + 0 | yes | |
+| ui/widgets/standard_widgets | 10 | 0.997647 | 17 | 0 / 0 | 477 / 493 | 5 / 7 | 1 / 1 | 51.169 / 2.637 = 2.637 + 0 | yes | |
+| ui/widgets/feathers_counter | 10 | 0.999941 | 1 | 0 / 0 | 493 / 493 | 5 / 7 | 1 / 1 | 46.571 / 1.894 = 1.894 + 0 | yes | |
+| ui/widgets/feathers_number_input | 10 | 0.997483 | 6 | 0 / 0 | 972 / 493 | 5 / 7 | 1 / 1 | 50.507 / 2.366 = 2.366 + 0 | yes | |
+| ui/styling/box_shadow | 10 | 0.998804 | 6 | 0 / 0 | 667 / 493 | 5 / 7 | 1 / 1 | 47.071 / 2.344 = 2.344 + 0 | yes | |
+| ui/images/image_node_resizing | 10 | 0.998153 | 8 | 0 / 0 | 455 / 493 | 5 / 7 | 1 / 1 | 51.022 / 2.353 = 2.353 + 0 | yes | |
+| ui/layout/fixed_node | 10 | 1.000000 | 0 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 3.337 / 2.99 = 2.99 + 0 | yes | |
+| ui/layout/fixed_node | 5 | 1.000000 | 0 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 90.244 / 4.925 = 4.925 + 0 | yes | |
+| ui/scroll_and_overflow/overflow_transform | 10 | 0.995426 | 12 | 0 / 0 | 447 / 493 | 5 / 7 | 1 / 1 | 49.888 / 3.459 = 3.459 + 0 | yes | |
+| ui/widgets/feathers_gallery | 10 | 0.995606 | 9 | 0 / 0 | 1060 / 493 | 5 / 7 | 1 / 1 | 64.612 / 3.803 = 3.803 + 0 | yes | |
## Excluded
diff --git a/docs/bevy-parity/results.jsonl b/docs/bevy-parity/results.jsonl
index cf2952f2..43fca821 100644
--- a/docs/bevy-parity/results.jsonl
+++ b/docs/bevy-parity/results.jsonl
@@ -82,67 +82,68 @@
{"example":"3d/lightmaps","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":6,"entities":453,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame":5,"frame_ms":306.814,"materials":6,"mesh_entities":6,"meshes":11,"other_material":0,"visible":6},"raea":{"frame":14,"entities":506,"mesh_entities":6,"visible":6,"meshes":13,"materials":10,"batch_keys":6,"other_material":0,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame_ms":4.238,"step_ms":0.217,"cost_ms":4.455},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"2d/mesh2d_vertex_color_texture","frame":10,"ssim":0.998651,"tile":6,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":37.793,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":495,"mesh_entities":0,"visible":0,"meshes":9,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.347,"step_ms":1.364,"cost_ms":2.711},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"2d/mesh2d_repeated_texture","frame":10,"ssim":0.991205,"tile":17,"bevy":{"batch_keys":0,"entities":437,"extents":[],"frame":10,"frame_ms":26.298,"materials":1,"mesh_entities":0,"meshes":8,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":10,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.62,"step_ms":0.273,"cost_ms":1.893},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":10,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":16.692,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.854,"step_ms":null,"cost_ms":1.854},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":5,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":5,"frame_ms":50.621,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.752,"step_ms":null,"cost_ms":1.752},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":16.755,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.754,"step_ms":null,"cost_ms":1.754},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":54.768,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.996,"step_ms":null,"cost_ms":1.996},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990805,"tile":16,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":34.96,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.944,"step_ms":null,"cost_ms":0.944},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998933,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":39.102,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.051,"step_ms":null,"cost_ms":1.051},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":460,"extents":[],"frame":10,"frame_ms":34.976,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.848,"step_ms":null,"cost_ms":0.848},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/anchor_layout","frame":10,"ssim":0.997324,"tile":9,"bevy":{"batch_keys":0,"entities":467,"extents":[],"frame":10,"frame_ms":38.461,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.787,"step_ms":null,"cost_ms":0.787},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":16.955,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.94,"step_ms":null,"cost_ms":0.94},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":5,"frame_ms":51.817,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.822,"step_ms":null,"cost_ms":2.822},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/flex_layout","frame":10,"ssim":0.992175,"tile":8,"bevy":{"batch_keys":0,"entities":601,"extents":[],"frame":10,"frame_ms":38.329,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.489,"step_ms":null,"cost_ms":1.489},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/ghost_nodes","frame":10,"ssim":0.998540,"tile":9,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":34.969,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.875,"step_ms":null,"cost_ms":0.875},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/grid","frame":10,"ssim":0.994691,"tile":14,"bevy":{"batch_keys":0,"entities":481,"extents":[],"frame":10,"frame_ms":37.78,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.933,"step_ms":null,"cost_ms":0.933},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/size_constraints","frame":10,"ssim":0.991720,"tile":19,"bevy":{"batch_keys":0,"entities":607,"extents":[],"frame":10,"frame_ms":36.275,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.188,"step_ms":null,"cost_ms":1.188},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/z_index","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":36.622,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.89,"step_ms":null,"cost_ms":0.89},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/navigation/directional_navigation","frame":10,"ssim":0.998119,"tile":8,"bevy":{"batch_keys":0,"entities":470,"extents":[],"frame":10,"frame_ms":36.456,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.45,"step_ms":null,"cost_ms":1.45},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/navigation/directional_navigation_overrides","frame":10,"ssim":0.996079,"tile":10,"bevy":{"batch_keys":0,"entities":563,"extents":[],"frame":10,"frame_ms":35.954,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.959,"step_ms":null,"cost_ms":0.959},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/relative_cursor_position","frame":10,"ssim":0.999899,"tile":2,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":38.461,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.89,"step_ms":null,"cost_ms":0.89},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/render_ui_to_texture","frame":10,"ssim":0.999986,"tile":1,"bevy":{"batch_keys":1,"entities":449,"extents":["0.5000 0.5000 0.5000"],"frame":10,"frame_ms":38.407,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":496,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["0.5000 0.5000 0.5000"],"frame_ms":1.382,"step_ms":null,"cost_ms":1.382},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/drag_to_scroll","frame":10,"ssim":0.999993,"tile":1,"bevy":{"batch_keys":0,"entities":7643,"extents":[],"frame":10,"frame_ms":35.753,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.776,"step_ms":null,"cost_ms":1.776},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":460,"extents":[],"frame":10,"frame_ms":16.572,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.822,"step_ms":null,"cost_ms":1.822},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":460,"extents":[],"frame":5,"frame_ms":53.882,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.877,"step_ms":null,"cost_ms":1.877},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.997330,"tile":7,"bevy":{"batch_keys":0,"entities":464,"extents":[],"frame":10,"frame_ms":36.326,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.302,"step_ms":null,"cost_ms":1.302},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_debug","frame":10,"ssim":0.996609,"tile":9,"bevy":{"batch_keys":0,"entities":462,"extents":[],"frame":10,"frame_ms":37.932,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.861,"step_ms":null,"cost_ms":0.861},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_transform","frame":10,"ssim":0.995399,"tile":12,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":37.666,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.653,"step_ms":null,"cost_ms":1.653},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/scroll","frame":10,"ssim":0.997043,"tile":14,"bevy":{"batch_keys":0,"entities":1987,"extents":[],"frame":10,"frame_ms":37.897,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.869,"step_ms":null,"cost_ms":0.869},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/scrollbars","frame":10,"ssim":0.993788,"tile":21,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":43.923,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.293,"step_ms":null,"cost_ms":1.293},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/borders","frame":10,"ssim":0.993389,"tile":9,"bevy":{"batch_keys":0,"entities":590,"extents":[],"frame":10,"frame_ms":48.25,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.236,"step_ms":null,"cost_ms":2.236},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/gradients","frame":10,"ssim":0.990467,"tile":13,"bevy":{"batch_keys":0,"entities":552,"extents":[],"frame":10,"frame_ms":50.292,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.257,"step_ms":null,"cost_ms":2.257},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/stacked_gradients","frame":10,"ssim":0.994550,"tile":1,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":48.714,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.976,"step_ms":null,"cost_ms":1.976},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":16.656,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.353,"step_ms":null,"cost_ms":1.353},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":70.296,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.442,"step_ms":null,"cost_ms":3.442},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_query","frame":10,"ssim":0.993893,"tile":19,"bevy":{"batch_keys":0,"entities":466,"extents":[],"frame":10,"frame_ms":48.279,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.381,"step_ms":null,"cost_ms":1.381},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":10,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":451,"extents":[],"frame":10,"frame_ms":16.685,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.028,"step_ms":null,"cost_ms":2.028},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":5,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":451,"extents":[],"frame":5,"frame_ms":75.702,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.385,"step_ms":null,"cost_ms":3.385},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":10,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":453,"extents":[],"frame":10,"frame_ms":16.405,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.204,"step_ms":null,"cost_ms":1.204},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":5,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":453,"extents":[],"frame":5,"frame_ms":71.116,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.642,"step_ms":null,"cost_ms":2.642},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/generic_font_families","frame":10,"ssim":0.990143,"tile":19,"bevy":{"batch_keys":0,"entities":456,"extents":[],"frame":10,"frame_ms":48.711,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.393,"step_ms":null,"cost_ms":1.393},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/inline_image","frame":10,"ssim":0.998400,"tile":7,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":47.405,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.572,"step_ms":null,"cost_ms":1.572},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/letter_spacing","frame":10,"ssim":0.996228,"tile":13,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":46.386,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.04,"step_ms":null,"cost_ms":2.04},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":453,"extents":[],"frame":10,"frame_ms":16.249,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.327,"step_ms":null,"cost_ms":1.327},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":453,"extents":[],"frame":5,"frame_ms":72.18,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.352,"step_ms":null,"cost_ms":3.352},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text","frame":10,"ssim":0.990695,"tile":8,"bevy":{"batch_keys":0,"entities":458,"extents":[],"frame":10,"frame_ms":49.672,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.285,"step_ms":null,"cost_ms":1.285},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":10,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":504,"extents":[],"frame":10,"frame_ms":16.172,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.093,"step_ms":null,"cost_ms":2.093},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":5,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":504,"extents":[],"frame":5,"frame_ms":75.836,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.368,"step_ms":null,"cost_ms":3.368},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_debug","frame":10,"ssim":0.983961,"tile":18,"bevy":{"batch_keys":0,"entities":457,"extents":[],"frame":10,"frame_ms":45.851,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.943,"step_ms":null,"cost_ms":1.943},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_wrap_debug","frame":10,"ssim":0.985334,"tile":15,"bevy":{"batch_keys":0,"entities":588,"extents":[],"frame":10,"frame_ms":49.745,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.852,"step_ms":null,"cost_ms":2.852},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_drag_and_drop","frame":10,"ssim":0.999036,"tile":3,"bevy":{"batch_keys":0,"entities":1240,"extents":[],"frame":10,"frame_ms":52.623,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.14,"step_ms":null,"cost_ms":2.14},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_scaling","frame":10,"ssim":0.999855,"tile":5,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":45.018,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.261,"step_ms":null,"cost_ms":2.261},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_target_camera","frame":10,"ssim":0.998726,"tile":7,"bevy":{"batch_keys":0,"entities":451,"extents":[],"frame":10,"frame_ms":45.333,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.055,"step_ms":null,"cost_ms":2.055},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_transform","frame":10,"ssim":0.999110,"tile":6,"bevy":{"batch_keys":0,"entities":462,"extents":[],"frame":10,"frame_ms":45.415,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.73,"step_ms":null,"cost_ms":1.73},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/button","frame":10,"ssim":0.999667,"tile":8,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":44.586,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.638,"step_ms":null,"cost_ms":1.638},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/feathers_counter","frame":10,"ssim":0.999941,"tile":1,"bevy":{"batch_keys":0,"entities":492,"extents":[],"frame":10,"frame_ms":45.662,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.904,"step_ms":null,"cost_ms":1.904},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/feathers_number_input","frame":10,"ssim":0.997483,"tile":6,"bevy":{"batch_keys":0,"entities":971,"extents":[],"frame":10,"frame_ms":46.655,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.62,"step_ms":null,"cost_ms":1.62},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/headless_tabs","frame":10,"ssim":0.992422,"tile":11,"bevy":{"batch_keys":0,"entities":477,"extents":[],"frame":10,"frame_ms":45.831,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.393,"step_ms":null,"cost_ms":1.393},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/standard_widgets","frame":10,"ssim":0.997647,"tile":17,"bevy":{"batch_keys":0,"entities":476,"extents":[],"frame":10,"frame_ms":47.327,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.219,"step_ms":null,"cost_ms":1.219},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/standard_widgets_observers","frame":10,"ssim":0.998736,"tile":14,"bevy":{"batch_keys":0,"entities":472,"extents":[],"frame":10,"frame_ms":44.397,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.247,"step_ms":null,"cost_ms":2.247},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/tab_navigation","frame":10,"ssim":0.997861,"tile":4,"bevy":{"batch_keys":0,"entities":499,"extents":[],"frame":10,"frame_ms":44.253,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.256,"step_ms":null,"cost_ms":2.256},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/vertical_slider","frame":10,"ssim":0.999004,"tile":11,"bevy":{"batch_keys":0,"entities":458,"extents":[],"frame":10,"frame_ms":45.916,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.095,"step_ms":null,"cost_ms":2.095},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/viewport_node","frame":10,"ssim":0.999871,"tile":0,"bevy":{"batch_keys":1,"entities":445,"extents":["2.5000 2.5000 2.5000"],"frame":10,"frame_ms":50.253,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":498,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["2.5000 2.5000 2.5000"],"frame_ms":2.535,"step_ms":null,"cost_ms":2.535},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/virtual_keyboard","frame":10,"ssim":0.993705,"tile":13,"bevy":{"batch_keys":0,"entities":645,"extents":[],"frame":10,"frame_ms":48.64,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.276,"step_ms":null,"cost_ms":1.276},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/window_fallthrough","frame":10,"ssim":0.992226,"tile":16,"bevy":{"batch_keys":0,"entities":440,"extents":[],"frame":10,"frame_ms":45.784,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.998,"step_ms":null,"cost_ms":0.998},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node_resizing","frame":10,"ssim":0.998153,"tile":8,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":165.112,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":7.084,"step_ms":null,"cost_ms":7.084},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/feathers_gallery","frame":10,"ssim":0.995606,"tile":9,"bevy":{"batch_keys":0,"entities":1059,"extents":[],"frame":10,"frame_ms":41.002,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.666,"step_ms":null,"cost_ms":1.666},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":3.525,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.431,"step_ms":null,"cost_ms":3.431},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":109.446,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.311,"step_ms":null,"cost_ms":4.311},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/flex_layout","frame":10,"ssim":0.992175,"tile":8,"bevy":{"batch_keys":0,"entities":602,"extents":[],"frame":10,"frame_ms":60.874,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.507,"step_ms":null,"cost_ms":3.507},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":10,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":4.425,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.676,"step_ms":null,"cost_ms":3.676},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":5,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":5,"frame_ms":115.406,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.44,"step_ms":null,"cost_ms":4.44},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":10,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":3.955,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.951,"step_ms":null,"cost_ms":3.951},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":5,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":119.535,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":6.717,"step_ms":null,"cost_ms":6.717},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":10,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":4.21,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.715,"step_ms":null,"cost_ms":3.715},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":5,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":5,"frame_ms":115.743,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.524,"step_ms":null,"cost_ms":4.524},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":10,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":10,"frame_ms":4.008,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.342,"step_ms":null,"cost_ms":4.342},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":5,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":5,"frame_ms":115.763,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":6.29,"step_ms":null,"cost_ms":6.29},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":5.387,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.816,"step_ms":null,"cost_ms":3.816},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":128.257,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":6.216,"step_ms":null,"cost_ms":6.216},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":4.035,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.298,"step_ms":null,"cost_ms":4.298},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":5,"frame_ms":123.279,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.944,"step_ms":null,"cost_ms":4.944},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.997330,"tile":7,"bevy":{"batch_keys":0,"entities":465,"extents":[],"frame":10,"frame_ms":70.198,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.667,"step_ms":null,"cost_ms":3.667},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":3.8,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.752,"step_ms":null,"cost_ms":4.752},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":116.227,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":5.943,"step_ms":null,"cost_ms":5.943},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998933,"tile":8,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":66.112,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.482,"step_ms":null,"cost_ms":3.482},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990805,"tile":16,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":62.125,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.994,"step_ms":null,"cost_ms":3.994},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":67.041,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.64,"step_ms":null,"cost_ms":3.64},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/button","frame":10,"ssim":0.999667,"tile":8,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":64.341,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.639,"step_ms":null,"cost_ms":3.639},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/letter_spacing","frame":10,"ssim":0.996228,"tile":13,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":63.222,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.202,"step_ms":null,"cost_ms":4.202},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/borders","frame":10,"ssim":0.993389,"tile":9,"bevy":{"batch_keys":0,"entities":591,"extents":[],"frame":10,"frame_ms":64.501,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.431,"step_ms":null,"cost_ms":3.431},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/window_fallthrough","frame":10,"ssim":0.992226,"tile":16,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":58.322,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.227,"step_ms":null,"cost_ms":4.227},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/inline_image","frame":10,"ssim":0.998400,"tile":7,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":63.813,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.674,"step_ms":null,"cost_ms":3.674},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/z_index","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":66.612,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.209,"step_ms":null,"cost_ms":3.209},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/stacked_gradients","frame":10,"ssim":0.994550,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":60.863,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.301,"step_ms":null,"cost_ms":3.301},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/gradients","frame":10,"ssim":0.990467,"tile":13,"bevy":{"batch_keys":0,"entities":553,"extents":[],"frame":10,"frame_ms":56.076,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.98,"step_ms":null,"cost_ms":2.98},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/generic_font_families","frame":10,"ssim":0.990143,"tile":19,"bevy":{"batch_keys":0,"entities":457,"extents":[],"frame":10,"frame_ms":47.926,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.102,"step_ms":null,"cost_ms":3.102},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/ghost_nodes","frame":10,"ssim":0.998540,"tile":9,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":48.457,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.285,"step_ms":null,"cost_ms":3.285},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/relative_cursor_position","frame":10,"ssim":0.999899,"tile":2,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":55.232,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.892,"step_ms":null,"cost_ms":2.892},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_target_camera","frame":10,"ssim":0.998726,"tile":7,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":49.615,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.284,"step_ms":null,"cost_ms":2.284},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_wrap_debug","frame":10,"ssim":0.985334,"tile":15,"bevy":{"batch_keys":0,"entities":589,"extents":[],"frame":10,"frame_ms":48.059,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.992,"step_ms":null,"cost_ms":1.992},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/grid","frame":10,"ssim":0.994691,"tile":14,"bevy":{"batch_keys":0,"entities":482,"extents":[],"frame":10,"frame_ms":47.166,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.001,"step_ms":null,"cost_ms":2.001},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_scaling","frame":10,"ssim":0.999855,"tile":5,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":48.488,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.948,"step_ms":null,"cost_ms":1.948},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/anchor_layout","frame":10,"ssim":0.997324,"tile":9,"bevy":{"batch_keys":0,"entities":468,"extents":[],"frame":10,"frame_ms":44.172,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.672,"step_ms":null,"cost_ms":2.672},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/size_constraints","frame":10,"ssim":0.991720,"tile":19,"bevy":{"batch_keys":0,"entities":608,"extents":[],"frame":10,"frame_ms":46.703,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.976,"step_ms":null,"cost_ms":1.976},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text","frame":10,"ssim":0.990695,"tile":8,"bevy":{"batch_keys":0,"entities":459,"extents":[],"frame":10,"frame_ms":48.463,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.482,"step_ms":null,"cost_ms":2.482},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_debug","frame":10,"ssim":0.983961,"tile":18,"bevy":{"batch_keys":0,"entities":458,"extents":[],"frame":10,"frame_ms":47.812,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.727,"step_ms":null,"cost_ms":2.727},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_transform","frame":10,"ssim":0.999110,"tile":6,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":46.489,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.227,"step_ms":null,"cost_ms":3.227},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/scroll","frame":10,"ssim":0.997043,"tile":14,"bevy":{"batch_keys":0,"entities":1988,"extents":[],"frame":10,"frame_ms":48.96,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.823,"step_ms":null,"cost_ms":2.823},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/drag_to_scroll","frame":10,"ssim":0.999993,"tile":1,"bevy":{"batch_keys":0,"entities":7644,"extents":[],"frame":10,"frame_ms":61.559,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.5,"step_ms":null,"cost_ms":2.5},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/scrollbars","frame":10,"ssim":0.994530,"tile":21,"bevy":{"batch_keys":0,"entities":462,"extents":[],"frame":10,"frame_ms":48.243,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.285,"step_ms":null,"cost_ms":2.285},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_debug","frame":10,"ssim":0.996609,"tile":9,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":46.725,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.131,"step_ms":null,"cost_ms":2.131},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_query","frame":10,"ssim":0.993893,"tile":19,"bevy":{"batch_keys":0,"entities":467,"extents":[],"frame":10,"frame_ms":49.565,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.19,"step_ms":null,"cost_ms":3.19},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/render_ui_to_texture","frame":10,"ssim":0.999986,"tile":1,"bevy":{"batch_keys":1,"entities":450,"extents":["0.5000 0.5000 0.5000"],"frame":10,"frame_ms":48.336,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":496,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["0.5000 0.5000 0.5000"],"frame_ms":3.352,"step_ms":null,"cost_ms":3.352},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_drag_and_drop","frame":10,"ssim":0.999036,"tile":3,"bevy":{"batch_keys":0,"entities":1241,"extents":[],"frame":10,"frame_ms":49.989,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.287,"step_ms":null,"cost_ms":2.287},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/navigation/directional_navigation","frame":10,"ssim":0.998119,"tile":8,"bevy":{"batch_keys":0,"entities":471,"extents":[],"frame":10,"frame_ms":50.473,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.445,"step_ms":null,"cost_ms":2.445},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/navigation/directional_navigation_overrides","frame":10,"ssim":0.996079,"tile":10,"bevy":{"batch_keys":0,"entities":564,"extents":[],"frame":10,"frame_ms":46.577,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.853,"step_ms":null,"cost_ms":2.853},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/headless_tabs","frame":10,"ssim":0.992422,"tile":11,"bevy":{"batch_keys":0,"entities":478,"extents":[],"frame":10,"frame_ms":45.547,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.844,"step_ms":null,"cost_ms":2.844},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/tab_navigation","frame":10,"ssim":0.997861,"tile":4,"bevy":{"batch_keys":0,"entities":500,"extents":[],"frame":10,"frame_ms":43.769,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.685,"step_ms":null,"cost_ms":2.685},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/viewport_node","frame":10,"ssim":0.999871,"tile":0,"bevy":{"batch_keys":1,"entities":446,"extents":["2.5000 2.5000 2.5000"],"frame":10,"frame_ms":46.934,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":498,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["2.5000 2.5000 2.5000"],"frame_ms":3.416,"step_ms":null,"cost_ms":3.416},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/vertical_slider","frame":10,"ssim":0.999004,"tile":11,"bevy":{"batch_keys":0,"entities":459,"extents":[],"frame":10,"frame_ms":43.643,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.414,"step_ms":null,"cost_ms":2.414},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/virtual_keyboard","frame":10,"ssim":0.993705,"tile":13,"bevy":{"batch_keys":0,"entities":646,"extents":[],"frame":10,"frame_ms":48.415,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.578,"step_ms":null,"cost_ms":2.578},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/standard_widgets_observers","frame":10,"ssim":0.998736,"tile":14,"bevy":{"batch_keys":0,"entities":473,"extents":[],"frame":10,"frame_ms":47.351,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.113,"step_ms":null,"cost_ms":2.113},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/standard_widgets","frame":10,"ssim":0.997647,"tile":17,"bevy":{"batch_keys":0,"entities":477,"extents":[],"frame":10,"frame_ms":51.169,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.637,"step_ms":null,"cost_ms":2.637},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/feathers_counter","frame":10,"ssim":0.999941,"tile":1,"bevy":{"batch_keys":0,"entities":493,"extents":[],"frame":10,"frame_ms":46.571,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.894,"step_ms":null,"cost_ms":1.894},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/feathers_number_input","frame":10,"ssim":0.997483,"tile":6,"bevy":{"batch_keys":0,"entities":972,"extents":[],"frame":10,"frame_ms":50.507,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.366,"step_ms":null,"cost_ms":2.366},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/box_shadow","frame":10,"ssim":0.998804,"tile":6,"bevy":{"batch_keys":0,"entities":667,"extents":[],"frame":10,"frame_ms":47.071,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.344,"step_ms":null,"cost_ms":2.344},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node_resizing","frame":10,"ssim":0.998153,"tile":8,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":51.022,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.353,"step_ms":null,"cost_ms":2.353},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":3.337,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.99,"step_ms":null,"cost_ms":2.99},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":90.244,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.925,"step_ms":null,"cost_ms":4.925},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_transform","frame":10,"ssim":0.995426,"tile":12,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":49.888,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.459,"step_ms":null,"cost_ms":3.459},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/feathers_gallery","frame":10,"ssim":0.995606,"tile":9,"bevy":{"batch_keys":0,"entities":1060,"extents":[],"frame":10,"frame_ms":64.612,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.803,"step_ms":null,"cost_ms":3.803},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
diff --git a/sdk/raea/bench/bevy-parity/ui/images/image_node_resizing.tsx b/sdk/raea/bench/bevy-parity/ui/images/image_node_resizing.tsx
index 1701c7ac..a6cc0a09 100644
--- a/sdk/raea/bench/bevy-parity/ui/images/image_node_resizing.tsx
+++ b/sdk/raea/bench/bevy-parity/ui/images/image_node_resizing.tsx
@@ -17,8 +17,10 @@ const ICON = staticFile("branding/icon.png");
// tailwind BLUE_100 (bevy_color's palettes::tailwind): #dbeafe
const BLUE_100 = new Srgba(0xdb / 255, 0xea / 255, 0xfe / 255);
const PREFIX = "Compare NodeImageMode(Auto, Stretch) press `Up`/`Down` to resize height, press `Left`/`Right` to resize width\n";
-// each node's entity index: the camera's, then setup's spawns in order
-const CAMERA = 429;
+// each node's entity index: the camera's, then setup's spawns in order. The camera's moves with how many entities the
+// parity host's plugins spawn at startup (what the host links, not this example): when this port fails after a host
+// rebuild, its "entities" in docs/bevy-parity/results.jsonl says by how much
+const CAMERA = 430;
const at = (k: number) => CAMERA + k;
const Group = ({ index, children }: { index: number; children: ReactNode }) => (
diff --git a/sdk/raea/bench/bevy-parity/ui/styling/box_shadow.tsx b/sdk/raea/bench/bevy-parity/ui/styling/box_shadow.tsx
new file mode 100644
index 00000000..98a9c263
--- /dev/null
+++ b/sdk/raea/bench/bevy-parity/ui/styling/box_shadow.tsx
@@ -0,0 +1,69 @@
+// Bevy v0.20.0 examples/ui/styling/box_shadow.rs in raea's TSX (docs/control.feature FC0a): on a CSS GRAY window, a
+// 164 px dark square (srgb 0.21, a 1 px white border) centred, its BoxShadow black at 0.8 alpha, 20 px right and down,
+// spread 15 and blurred 10, under a camera's BoxShadowSamples(6). At the bottom left, 10 px in, a feathers pane over
+// the dark theme with its pane body at 0.9 alpha (the example's get_example_theme): the Shape radios (Square checked),
+// six number inputs (X and Y offset 20, blur 10, spread 15, count 1, samples 6; each a 150 px label beside a field
+// growing from 50 px) and a Reset button, as examples/helpers' radio.rs and number_input_*.rs build them. Editing the
+// settings needs input. Bevy's Camera2d over the default clear colour is the layered <Canvas3D>, in Bevy's default
+// 1280 x 720 window.
+import { AbsoluteFill, Composition, registerRoot } from "raea";
+import { Canvas3D } from "raea/3d";
+import { Srgba } from "raea/color";
+import { BoxShadow, BoxShadowSamples, Node, UiRect, percent, px } from "raea/ui";
+import {
+ FeathersButton, FeathersNumberInput, FeathersRadio, NumberInputRange, NumberInputValue, UiTheme, caption, create_dark_theme, label, pane, pane_body,
+} from "raea/feathers";
+
+const SHAPES = ["Square", "Rounded Square", "Circle", "Long Rectangle", "Tall Rectangle"];
+
+/** get_example_theme: the dark theme, its pane body 0.9 opaque */
+function exampleTheme() {
+ const props = create_dark_theme();
+ props.semantic_base.SURFACE_PANE_BODY = props.semantic_base.SURFACE_PANE_BODY.with_alpha(0.9);
+ return props;
+}
+
+/** examples/helpers number_input_f32 and number_input_i32: a 150 px label beside a field */
+function field(name: string, value: NumberInputValue, limit: NumberInputRange) {
+ return (
+ <Node key={name} align_items="Center" column_gap={px(5)}>
+ <Node align_items="Center" width={px(150)}>{label(name)}</Node>
+ <FeathersNumberInput value={value} precision={0} hard_limit={limit} align_items="Center" flex_grow={1} min_width={px(50)} />
+ </Node>
+ );
+}
+
+function Shot() {
+ return (
+ <AbsoluteFill>
+ <Canvas3D layered clearColor="rgb(43, 44, 47)" />
+ <BoxShadowSamples samples={6}>
+ <UiTheme theme={exampleTheme()}>
+ <Node width={percent(100)} height={percent(100)} align_items="Center" justify_content="Center" background_color={new Srgba(0.5, 0.5, 0.5)}>
+ <Node width={px(164)} height={px(164)} border={UiRect.all(px(1))} align_items="Center" justify_content="Center" border_color={new Srgba(1, 1, 1)} background_color={new Srgba(0.21, 0.21, 0.21)}
+ box_shadow={BoxShadow.new(new Srgba(0, 0, 0, 0.8), px(20), px(20), px(15), px(10))} />
+ </Node>
+ {pane(
+ pane_body([
+ <Node key="shape" align_items="Center" column_gap={px(5)}>
+ {label("Shape")}
+ {SHAPES.map((s, i) => <FeathersRadio key={s} checked={i === 0}>{caption(s)}</FeathersRadio>)}
+ </Node>,
+ field("X Offset", NumberInputValue.F32(20), NumberInputRange.F32(-200, 200)),
+ field("Y Offset", NumberInputValue.F32(20), NumberInputRange.F32(-200, 200)),
+ field("Blur", NumberInputValue.F32(10), NumberInputRange.F32(0, 100)),
+ field("Spread", NumberInputValue.F32(15), NumberInputRange.F32(-200, 200)),
+ field("Count (1 - 3)", NumberInputValue.I32(1), NumberInputRange.I32(1, 3)),
+ field("Samples (0 - 15)", NumberInputValue.I32(6), NumberInputRange.I32(0, 15)),
+ <FeathersButton key="reset">{caption("Reset")}</FeathersButton>,
+ ]),
+ // main_ui_node_scene's patch, and the panel's ZIndex(10)
+ { flex_direction: "Column", position_type: "Absolute", row_gap: px(6), left: px(10), bottom: px(10), z_index: 10 },
+ )}
+ </UiTheme>
+ </BoxShadowSamples>
+ </AbsoluteFill>
+ );
+}
+
+registerRoot(() => <Composition id="main" component={Shot} durationInFrames={11} fps={60} width={1280} height={720} />);
diff --git a/sdk/raea/conformance/feathers-color.test.tsx b/sdk/raea/conformance/feathers-color.test.tsx
index 28e883bf..0f511864 100644
--- a/sdk/raea/conformance/feathers-color.test.tsx
+++ b/sdk/raea/conformance/feathers-color.test.tsx
@@ -95,8 +95,8 @@ describe("bevy_ui rules the gallery brought", () => {
test("a spreading box shadow is sent with its spread and marked for bevy_ui's rule", () => {
const out = html(<Node width={px(100)} height={px(40)} box_shadow={BoxShadow.new(new Srgba(0, 0, 0, 0.9), px(0), px(0), px(1), px(4))} />);
expect(out).toContain("0px 0px 8px 1px rgba(0, 0, 0, 0.9)");
- expect(out).toContain("data-raea-bevy-shadow");
- expect(html(<Node width={px(100)} box_shadow={BoxShadow.new(new Srgba(0, 0, 0, 1), px(2), px(2), px(0), px(4))} />)).not.toContain("data-raea-bevy-shadow");
+ expect(out).toContain('data-raea-bevy-shadow="4"');
+ expect(html(<Node width={px(100)} />)).not.toContain("data-raea-bevy-shadow");
});
test("a translucent border blends over what lies under the node, not the node's own background", () => {
const half = new Srgba(1, 1, 1, 0.5);
diff --git a/sdk/raea/conformance/ui-transform.test.tsx b/sdk/raea/conformance/ui-transform.test.tsx
index 25d24c7c..b4990961 100644
--- a/sdk/raea/conformance/ui-transform.test.tsx
+++ b/sdk/raea/conformance/ui-transform.test.tsx
@@ -1,7 +1,7 @@
// docs/control.feature FC0a: bevy_ui's UiTransform and BoxShadow on the page (ui/scroll_and_overflow/overflow_transform),
// and bevy_color's Luminance darker and lighter.
import { describe, expect, test } from "bun:test";
-import { BoxShadow, Node, Overflow, Rot2, UiRect, UiTransform, Val2, percent, px } from "raea/ui";
+import { BoxShadow, BoxShadowSamples, Node, Overflow, Rot2, UiRect, UiTransform, Val2, percent, px } from "raea/ui";
import { LinearRgba, Srgba } from "raea/color";
import { renderFrame } from "../src/test";
@@ -43,7 +43,15 @@ describe("BoxShadow: drop shadows under a node", () => {
test("a spread is sent as it is and its node marked, for raea's Blitz to spread it by bevy_ui's rule", () => {
const out = html(<Node box_shadow={BoxShadow.new(new Srgba(0, 0, 0), px(1), px(1), px(2), px(4))} />);
expect(out).toMatch(/box-shadow:1px 1px 8px 2px /);
- expect(out).toContain("data-raea-bevy-shadow");
+ expect(out).toContain('data-raea-bevy-shadow="4"');
+ });
+ test("a shadowed node carries its BoxShadowSamples (4 unless set), and a node without one carries none", () => {
+ const shadow = BoxShadow.new(new Srgba(0, 0, 0), px(1), px(1), px(0), px(4));
+ expect(html(<Node box_shadow={shadow} />)).toContain('data-raea-bevy-shadow="4"');
+ expect(html(<BoxShadowSamples samples={9}><Node><Node box_shadow={shadow} /></Node></BoxShadowSamples>)).toContain('data-raea-bevy-shadow="9"');
+ expect(html(<BoxShadowSamples samples={9}><Node /></BoxShadowSamples>)).not.toContain("data-raea-bevy-shadow");
+ expect(() => html(<BoxShadowSamples samples={1.5}><Node /></BoxShadowSamples>)).toThrow(/samples/);
+ expect(() => html(<BoxShadowSamples samples={-1}><Node /></BoxShadowSamples>)).toThrow(/samples/);
});
test("a percent or a negative blur is refused, not drawn wrong", () => {
expect(() => html(<Node box_shadow={BoxShadow.new(new Srgba(0, 0, 0), percent(20), px(1), px(0), px(4))} />)).toThrow(/x_offset/);
diff --git a/sdk/raea/src/ui.ts b/sdk/raea/src/ui.ts
index af01f8f1..d59ecbed 100644
--- a/sdk/raea/src/ui.ts
+++ b/sdk/raea/src/ui.ts
@@ -9,7 +9,7 @@ export * from "@raea/video/panel";
export { Node, GhostNode, Text, TextSpan, TextShadow, Text2d, UiScale, Viewport, UiTargetCamera, UiTexture, targetImage, ImageNode, InlineImage, type TextureSlicer, type SliceScaleMode, ImagePlugin, FontVariationTag, TextureAtlasLayout, type ImageNodeProps, px, percent, vw, vh, vmin, vmax, auto, UiRect, BorderRadius, CornerRadius, Overflow, OverflowClipMargin, type NodeProps, type TextProps, type TextStyleProps, type TextRunProps, type Text2dProps, type Val } from "@raea/render/bevy3d";
export { LinearGradient, RadialGradient, ConicGradient, ColorStop, AngularColorStop, UiPosition, type Gradient, type RadialGradientShape, type InterpolationColorSpace } from "@raea/render/bevy3d";
export { GridTrack, RepeatedGridTrack, GridPlacement, type GridTrackRepetition, type GridAutoFlow, type MinTrackSizingFunction, type MaxTrackSizingFunction, FontSource, type GenericFontFamily } from "@raea/render/bevy3d";
-export { Rot2, Val2, UiTransform, BoxShadow, type ShadowStyle } from "@raea/render/bevy3d";
+export { Rot2, Val2, UiTransform, BoxShadow, BoxShadowSamples, type ShadowStyle } from "@raea/render/bevy3d";
export { FontFeatureTag, FontWidth } from "@raea/render/bevy3d";
export { GlobalUiDebugOptions, type UiDebugOptions } from "@raea/render/bevy3d";
export type { IgnoreScroll } from "@raea/render/bevy3d";
diff --git a/sdk/render/src/bevy3d.tsx b/sdk/render/src/bevy3d.tsx
index 222ee458..ee1dfe60 100644
--- a/sdk/render/src/bevy3d.tsx
+++ b/sdk/render/src/bevy3d.tsx
@@ -35,7 +35,7 @@ export { ImageNode, InlineImage, ImagePlugin, TextureAtlasLayout, type TextureSl
export { px, percent, vw, vh, vmin, vmax, auto, UiRect, BorderRadius, CornerRadius, Overflow, OverflowClipMargin, type Val } from "./bevy3d/ui-val";
export { LinearGradient, RadialGradient, ConicGradient, ColorStop, AngularColorStop, UiPosition, type Gradient, type RadialGradientShape, type InterpolationColorSpace } from "./bevy3d/ui-gradient";
export { GridTrack, RepeatedGridTrack, GridPlacement, type GridTrackRepetition, type GridAutoFlow, type MinTrackSizingFunction, type MaxTrackSizingFunction } from "./bevy3d/ui-grid";
-export { Rot2, Val2, UiTransform, BoxShadow, type ShadowStyle } from "./bevy3d/ui-transform";
+export { Rot2, Val2, UiTransform, BoxShadow, BoxShadowSamples, type ShadowStyle } from "./bevy3d/ui-transform";
export { FontFeatureTag, FontWidth } from "./bevy3d/ui-features";
export { GlobalUiDebugOptions, type UiDebugOptions } from "./bevy3d/ui-debug";
export type { IgnoreScroll } from "./bevy3d/ui-scroll";
diff --git a/sdk/render/src/bevy3d/ui-transform.ts b/sdk/render/src/bevy3d/ui-transform.ts
index 20917127..49879132 100644
--- a/sdk/render/src/bevy3d/ui-transform.ts
+++ b/sdk/render/src/bevy3d/ui-transform.ts
@@ -1,5 +1,7 @@
// bevy_ui's UiTransform (a node turned, scaled and moved about its centre after layout, which it doesn't change) and
-// BoxShadow (drop shadows under a node) as the page's CSS transform and box-shadow.
+// BoxShadow (drop shadows under a node) as the page's CSS transform and box-shadow, each shadowed node marked
+// data-raea-bevy-shadow with its BoxShadowSamples, which raea's Blitz paints as bevy_ui's box_shadow.wesl does.
+import { createContext, createElement, type ReactNode } from "react";
import { checkVal, colorCss, type Val } from "./ui-val";
/** bevy_math's Rot2: a rotation by its cosine and sine; positive turns a UI node clockwise. @bevy bevy_math::Rot2 */
@@ -75,8 +77,8 @@ const pxOf = (who: string, k: string, v: Val) => {
/** A BoxShadow as CSS's box-shadow. Bevy's blur radius is its Gaussian's standard deviation, CSS's twice that. Bevy
* grows the shadow's width by spread_radius (half each side) and scales its height and corners by the same ratio,
- * where CSS's spread grows every side by it; the spread is sent as it is, and a node with one marked
- * data-raea-bevy-shadow (shadowSpread), which raea's Blitz paints by Bevy's rule (vendor/blitz-paint box_shadow.rs). */
+ * where CSS's spread grows every side by it; the spread is sent as it is, and raea's Blitz spreads a marked node's
+ * shadow by Bevy's rule (vendor/blitz-paint box_shadow.rs). */
export function shadowCss(who: string, b: BoxShadow): string {
if (!Array.isArray(b)) throw new TypeError(`${who}: box_shadow is a BoxShadow (BoxShadow.new(color, px(30), px(30), px(0), px(4))), got ${JSON.stringify(b)}`);
// CSS lists the shadow on top first, Bevy draws its list back to front
@@ -88,7 +90,12 @@ export function shadowCss(who: string, b: BoxShadow): string {
}).join(", ");
}
-/** whether a BoxShadow spreads, so its node is marked data-raea-bevy-shadow for Bevy's spread rule */
-export function shadowSpread(b: BoxShadow): boolean {
- return Array.isArray(b) && b.some((s) => parseFloat(String(s.spread_radius)) !== 0);
+/** the BoxShadowSamples around a node: 4, bevy_ui_render's default, outside one */
+export const ShadowSamplesCx = createContext(4);
+
+/** bevy_ui_render's BoxShadowSamples: the steps each shadow's blur is summed in down its height (4 by default). Bevy sets
+ * it on a UI camera; here it wraps the UI that camera draws. @bevy bevy_ui_render::BoxShadowSamples */
+export function BoxShadowSamples({ samples, children }: { samples: number; children?: ReactNode }) {
+ if (!(Number.isInteger(samples) && samples >= 0)) throw new RangeError(`BoxShadowSamples: samples is a whole number, 0 or more, got ${samples}`);
+ return createElement(ShadowSamplesCx.Provider, { value: samples }, children);
}
diff --git a/sdk/render/src/bevy3d/ui.tsx b/sdk/render/src/bevy3d/ui.tsx
index a0a8c56e..ebdc91d4 100644
--- a/sdk/render/src/bevy3d/ui.tsx
+++ b/sdk/render/src/bevy3d/ui.tsx
@@ -12,7 +12,7 @@ import {
import { LinearRgba, type Srgba } from "./colors";
import { gradientsCss, gradientsOpaque, type Gradient } from "./ui-gradient";
import { gridCss, type GridAutoFlow, type GridPlacement, type GridTrack, type RepeatedGridTrack } from "./ui-grid";
-import { shadowCss, shadowSpread, transformCss, type BoxShadow, type UiTransform } from "./ui-transform";
+import { ShadowSamplesCx, shadowCss, transformCss, type BoxShadow, type UiTransform } from "./ui-transform";
import { featuresCss } from "./ui-features";
import { scrollCss, type IgnoreScroll } from "./ui-scroll";
import { useDebugAttr, type UiDebugOptions } from "./ui-debug";
@@ -137,8 +137,10 @@ export function nodeCss(who: string, p: NodeProps, back?: Backdrop, scale = 1):
// every node a stacking context, so a ZIndex ranks it among its siblings above their parent, as bevy_ui stacks
// them; a GlobalZIndex ranks it in the root's (raea's Blitz hoists it past every other, layout/paint_tree.rs)
s.zIndex = p.global_z_index ?? p.z_index ?? 0;
+ const samples = useContext(ShadowSamplesCx);
const attrs: Record<string, string | number> = p.global_z_index ? { "data-raea-bevy-global-z": "" } : {};
- if (p.box_shadow !== undefined && shadowSpread(p.box_shadow)) attrs["data-raea-bevy-shadow"] = "";
+ // every shadow drawn as bevy_ui draws it (its spread, its blur summed in BoxShadowSamples steps), raea's Blitz box_shadow.rs
+ if (p.box_shadow !== undefined && p.box_shadow.length) attrs["data-raea-bevy-shadow"] = String(samples);
if (p.margin !== undefined) s.margin = rectCss(who, "margin", p.margin);
if (p.padding !== undefined) s.padding = rectCss(who, "padding", p.padding);
if (p.border !== undefined) {
diff --git a/sdk/skills/raea/reference/sdk.md b/sdk/skills/raea/reference/sdk.md
index 9dde687c..76d3c7cd 100644
--- a/sdk/skills/raea/reference/sdk.md
+++ b/sdk/skills/raea/reference/sdk.md
@@ -103,7 +103,7 @@ with a capital, hooks with `use`. A component's props are in its file.
## `raea/ui` (sdk/raea/src/ui.ts)
-`AbsoluteFill`, `AngularColorStop`, `BorderRadius`, `BoxShadow`, `ColorStop`, `ConicGradient`, `CornerRadius`, `EditableText`, `FontFeatureTag`, `FontSource`, `FontVariationTag`, `FontWidth`, `GhostNode`, `GlobalUiDebugOptions`, `GridPlacement`, `GridTrack`, `ImageNode`, `ImagePlugin`, `InlineImage`, `LinearGradient`, `Node`, `Overflow`, `OverflowClipMargin`, `RadialGradient`, `RepeatedGridTrack`, `Rot2`, `Scrollbar`, `ScrollbarThumb`, `Text`, `Text2d`, `TextShadow`, `TextSpan`, `TextureAtlasLayout`, `UiPosition`, `UiRect`, `UiScale`, `UiTargetCamera`, `UiTexture`, `UiTransform`, `Val2`, `Viewport`, `auto`, `percent`, `px`, `targetImage`, `vh`, `vmax`, `vmin`, `vw`
+`AbsoluteFill`, `AngularColorStop`, `BorderRadius`, `BoxShadow`, `BoxShadowSamples`, `ColorStop`, `ConicGradient`, `CornerRadius`, `EditableText`, `FontFeatureTag`, `FontSource`, `FontVariationTag`, `FontWidth`, `GhostNode`, `GlobalUiDebugOptions`, `GridPlacement`, `GridTrack`, `ImageNode`, `ImagePlugin`, `InlineImage`, `LinearGradient`, `Node`, `Overflow`, `OverflowClipMargin`, `RadialGradient`, `RepeatedGridTrack`, `Rot2`, `Scrollbar`, `ScrollbarThumb`, `Text`, `Text2d`, `TextShadow`, `TextSpan`, `TextureAtlasLayout`, `UiPosition`, `UiRect`, `UiScale`, `UiTargetCamera`, `UiTexture`, `UiTransform`, `Val2`, `Viewport`, `auto`, `percent`, `px`, `targetImage`, `vh`, `vmax`, `vmin`, `vw`
## `raea/video` (sdk/raea/src/video.ts)
diff --git a/vendor/blitz-paint/src/render.rs b/vendor/blitz-paint/src/render.rs
index 21aca4ad..eea408ba 100644
--- a/vendor/blitz-paint/src/render.rs
+++ b/vendor/blitz-paint/src/render.rs
@@ -2,6 +2,7 @@ mod background;
mod bevy_debug;
mod border;
mod border_image;
+mod bevy_shadow;
mod box_shadow;
mod clip_path;
mod form_controls;
diff --git a/vendor/blitz-paint/src/render/bevy_shadow.rs b/vendor/blitz-paint/src/render/bevy_shadow.rs
new file mode 100644
index 00000000..bbc965ac
--- /dev/null
+++ b/vendor/blitz-paint/src/render/bevy_shadow.rs
@@ -0,0 +1,119 @@
+//! raea: bevy_ui's drop shadow (bevy_ui_render box_shadow.wesl, after Evan Wallace's rounded-box shadow) on the CPU, for a
+//! node marked data-raea-bevy-shadow="SAMPLES". Bevy draws a quad the shadow's size plus 6 blur radii, and each pixel's
+//! coverage is a Gaussian (standard deviation the blur radius) of the rounded box: across, the exact erf integral of a
+//! row of it; down, the Gaussian summed in SAMPLES steps (BoxShadowSamples) over the 3 deviations each side, clamped to
+//! the box. Vello's analytic shadow is a different approximation of that blur, so the shadow is drawn from this bitmap,
+//! in f32 as the shader computes it, each pixel at its centre.
+use blitz_dom::node::RasterImageData;
+use std::sync::Arc;
+
+const PI: f32 = std::f32::consts::PI;
+
+fn gaussian(x: f32, sigma: f32) -> f32 {
+ (-(x * x) / (2. * sigma * sigma)).exp() / ((2. * PI).sqrt() * sigma)
+}
+
+/// box_shadow.wesl's erf approximation (Abramowitz and Stegun 7.1.27)
+fn erf(p: f32) -> f32 {
+ let (s, a) = (p.signum(), p.abs());
+ let mut r = 1.0 + (0.278393 + (0.230389 + 0.078108 * (a * a)) * a) * a;
+ r *= r;
+ s - s / (r * r)
+}
+
+/// the Gaussian blur of one row of the rounded box, across: `radius` the corner's (x, y), `half` the box's half size
+fn horizontal(x: f32, y: f32, blur: f32, radius: (f32, f32), half: (f32, f32)) -> f32 {
+ let mut c = half.0;
+ if 0.0 < radius.0.min(radius.1) {
+ let d = (half.1 - radius.1 - y.abs()).min(0.);
+ c = half.0 - radius.0 + radius.0 * (1. - d * d / (radius.1 * radius.1)).max(0.).sqrt();
+ }
+ let k = 0.5f32.sqrt() / blur;
+ let (lo, hi) = (0.5 + 0.5 * erf((x - c) * k), 0.5 + 0.5 * erf((x + c) * k));
+ hi - lo
+}
+
+/// select_corner_radius: the corner of `p`'s quadrant (radii top left, top right, bottom right, bottom left)
+fn corner(p: (f32, f32), radii: [f32; 4]) -> (f32, f32) {
+ let r = match (0.0 < p.0, 0.0 < p.1) {
+ (false, false) => radii[0],
+ (true, false) => radii[1],
+ (true, true) => radii[2],
+ (false, true) => radii[3],
+ };
+ (r, r)
+}
+
+/// roundedBoxShadow: the shadow's coverage at `p`, relative to the box's centre
+pub(crate) fn coverage(p: (f32, f32), half: (f32, f32), blur: f32, radii: [f32; 4], samples: u32) -> f32 {
+ let (low, high) = (p.1 - half.1, p.1 + half.1);
+ let start = (-3. * blur).clamp(low, high);
+ let end = (3. * blur).clamp(low, high);
+ let step = (end - start) / samples as f32;
+ let mut y = start + step * 0.5;
+ let mut value = 0.0;
+ let r = corner(p, radii);
+ for _ in 0..samples {
+ value += horizontal(p.0, p.1 - y, blur, r, half) * gaussian(y, blur) * step;
+ y += step;
+ }
+ value
+}
+
+/// The shadow of a box `size` (device px) centred at `center`, its corners `radii`, as an RGBA bitmap of the colour
+/// `rgb` at `alpha` times the coverage, on whole pixels, and where its top left pixel goes; None when nothing shows.
+pub(crate) fn bitmap(center: (f64, f64), size: (f64, f64), radii: [f64; 4], blur: f64, samples: u32, rgb: [u8; 3], alpha: f32) -> Option<((f64, f64), RasterImageData)> {
+ if size.0 <= 0.0 || size.1 <= 0.0 || alpha <= 0.0 || samples == 0 {
+ return None;
+ }
+ let blur = (blur as f32).max(0.01);
+ let bounds = (size.0 + 6. * blur as f64, size.1 + 6. * blur as f64);
+ let (x0, y0) = ((center.0 - bounds.0 / 2.).floor(), (center.1 - bounds.1 / 2.).floor());
+ let (x1, y1) = ((center.0 + bounds.0 / 2.).ceil(), (center.1 + bounds.1 / 2.).ceil());
+ let (w, h) = ((x1 - x0) as u32, (y1 - y0) as u32);
+ if w == 0 || h == 0 || u64::from(w) * u64::from(h) > 64 << 20 {
+ return None;
+ }
+ let half = ((size.0 / 2.) as f32, (size.1 / 2.) as f32);
+ let radii = radii.map(|r| r as f32);
+ let mut out = vec![0u8; w as usize * h as usize * 4];
+ for j in 0..h {
+ let py = y0 + f64::from(j) + 0.5;
+ // the quad covers the bounds only: a pixel centre outside them draws nothing
+ if (py - center.1).abs() > bounds.1 / 2. {
+ continue;
+ }
+ for i in 0..w {
+ let px = x0 + f64::from(i) + 0.5;
+ if (px - center.0).abs() > bounds.0 / 2. {
+ continue;
+ }
+ let g = alpha * coverage(((px - center.0) as f32, (py - center.1) as f32), half, blur, radii, samples);
+ let a = (g.clamp(0., 1.) * 255.).round() as u8;
+ let k = (j as usize * w as usize + i as usize) * 4;
+ out[k..k + 4].copy_from_slice(&[rgb[0], rgb[1], rgb[2], a]);
+ }
+ }
+ Some(((x0, y0), RasterImageData::new(w, h, Arc::new(out))))
+}
+
+#[cfg(test)]
+mod tests {
+ use super::*;
+
+ #[test]
+ fn a_wide_box_is_half_covered_at_its_edge_and_whole_at_its_centre() {
+ // far from the corners, a box much bigger than its blur: 0.5 on an edge, about 1 inside, about 0 well outside
+ let (half, r) = ((200., 200.), [0.; 4]);
+ assert!((coverage((200., 0.), half, 10., r, 15) - 0.5).abs() < 0.02);
+ assert!((coverage((0., 0.), half, 10., r, 15) - 1.0).abs() < 0.02);
+ assert!(coverage((260., 0.), half, 10., r, 15) < 0.01);
+ }
+
+ #[test]
+ fn its_bitmap_is_the_shadow_quad_on_whole_pixels() {
+ let ((x, y), img) = bitmap((50.5, 50.0), (20., 10.), [0.; 4], 2., 4, [0, 0, 0], 0.8).unwrap();
+ // 20 + 12 by 10 + 12, centred on (50.5, 50): x 34.5..66.5 -> 34..67, y 39..61
+ assert_eq!((x, y, img.width, img.height), (34., 39., 33, 22));
+ }
+}
diff --git a/vendor/blitz-paint/src/render/box_shadow.rs b/vendor/blitz-paint/src/render/box_shadow.rs
index 17b2dd56..7e123067 100644
--- a/vendor/blitz-paint/src/render/box_shadow.rs
+++ b/vendor/blitz-paint/src/render/box_shadow.rs
@@ -22,7 +22,8 @@ impl ElementCx<'_, '_> {
.as_srgb_color();
let bg_is_opaque = bg_color.components[3] >= 1.0;
let needs_clip = opacity < 1.0 || !bg_is_opaque;
- let bevy = self.node.attr(blitz_dom::LocalName::from("data-raea-bevy-shadow")).is_some();
+ // raea: a bevy_ui node's shadows (data-raea-bevy-shadow="BoxShadowSamples") are drawn as bevy_ui draws them
+ let bevy = self.node.attr(blitz_dom::LocalName::from("data-raea-bevy-shadow")).and_then(|a| a.parse::<u32>().ok());
let max_shadow_rect = box_shadow.iter().fold(Rect::ZERO, |prev, shadow| {
let x = shadow.base.horizontal.px() as f64 * self.scale;
@@ -32,7 +33,7 @@ impl ElementCx<'_, '_> {
let offset = spread + blur * 2.5;
// raea: a bevy_ui node's shadow spreads by bevy_ui's rule, its height by the width's ratio
- let rect = match bevy.then(|| bevy_spread(self.frame.border_box, 0.0, spread)).flatten() {
+ let rect = match bevy.is_some().then(|| bevy_spread(self.frame.border_box, 0.0, spread)).flatten() {
Some((r, _)) => r.inflate(blur * 2.5, blur * 2.5) + Vec2::new(x, y),
None => self.frame.border_box.inflate(offset, offset) + Vec2::new(x, y),
};
@@ -69,6 +70,21 @@ impl ElementCx<'_, '_> {
// "shadow blur"), which draw_box_shadow takes; and at the page's scale, as the spread is
let blur = shadow.base.blur.px() as f64 * self.scale / 2.0;
+ // raea: a bevy_ui node's shadow, spread by bevy_ui's rule and blurred as box_shadow.wesl blurs it
+ if let Some(samples) = bevy {
+ let Some((rect, ratio)) = bevy_spread(self.frame.border_box, 1.0, spread) else { continue };
+ let r = &self.frame.border_radii;
+ let radii = [r.top_left.x, r.top_right.x, r.bottom_right.x, r.bottom_left.x].map(|v| v * ratio);
+ let [cr, cg, cb, _] = shadow_color.components;
+ let rgb = [cr, cg, cb].map(|v| (v.clamp(0.0, 1.0) * 255.0).round() as u8);
+ let c = rect.center();
+ if let Some(((x0, y0), image)) = super::bevy_shadow::bitmap((c.x, c.y), (rect.width(), rect.height()), radii, blur, samples, rgb, alpha) {
+ let brush = super::to_peniko_image(&image, peniko::ImageQuality::Low);
+ scene.draw_image(brush.as_ref(), transform.pre_translate(Vec2::new(x0, y0)));
+ }
+ continue;
+ }
+
// Without blur or spread the shadow is exactly the element's shape,
// so fill the border box path directly (preserving individual radii)
if blur == 0.0 && spread == 0.0 {
@@ -83,17 +99,10 @@ impl ElementCx<'_, '_> {
}
// TODO draw shadows with matching individual radii instead of averaging
- // raea: the shadow's corners grow and shrink with its spread, as its box does; a bevy_ui
- // node's (data-raea-bevy-shadow) by bevy_ui's rule, which may leave no shadow at all
+ // raea: the shadow's corners grow and shrink with its spread, as its box does
let radius = self.frame.border_radii.average();
- let (rect, radius) = if bevy {
- match bevy_spread(self.frame.border_box, radius, spread) {
- Some(s) => s,
- None => continue,
- }
- } else {
- (self.frame.border_box.inflate(spread, spread), if radius > 0.0 { (radius + spread).max(0.0) } else { 0.0 })
- };
+ let radius = if radius > 0.0 { (radius + spread).max(0.0) } else { 0.0 };
+ let rect = self.frame.border_box.inflate(spread, spread);
// Fill the color
scene.draw_box_shadow(transform, rect, shadow_color, radius, blur);
diff --git a/vendor/vendor.toml b/vendor/vendor.toml
index 272a7cfb..f47c263f 100644
--- a/vendor/vendor.toml
+++ b/vendor/vendor.toml
@@ -56,7 +56,7 @@ exit = "a bevy_ui_widgets release on parley 0.12"
path = "vendor/blitz-paint"
upstream = "crates.io:0.3.0-beta.4"
kind = "patch"
-reason = "angled tile gradients, many-tile gradient layers as one brush, text-shadow, ellipsis, inline-box opacity, box-shadow blur as Chrome's; filters by GPU passes (B4a/B4b); z-index boxes clipped by the overflow between them and their stacking context; a range input's thumb; what an element paints at an offset of its own (background position and tiles, box and text shadows, scroll, inline SVG) placed in its own axes under a rotated ancestor (#18); background-clip: text, its background masked by the text of the element and everything in it (#37) as Chrome does, unscrolled; inline text in a scroller scrolled once, not twice (#46); a rounded corner where one side has no width (a left-only border on a rounded box), which drew nothing; a bevy_ui node's spreading box shadow (data-raea-bevy-shadow) spread as bevy_ui spreads it, its width by the spread and its height and corners by the same ratio"
+reason = "angled tile gradients, many-tile gradient layers as one brush, text-shadow, ellipsis, inline-box opacity, box-shadow blur as Chrome's; filters by GPU passes (B4a/B4b); z-index boxes clipped by the overflow between them and their stacking context; a range input's thumb; what an element paints at an offset of its own (background position and tiles, box and text shadows, scroll, inline SVG) placed in its own axes under a rotated ancestor (#18); background-clip: text, its background masked by the text of the element and everything in it (#37) as Chrome does, unscrolled; inline text in a scroller scrolled once, not twice (#46); a rounded corner where one side has no width (a left-only border on a rounded box), which drew nothing; a bevy_ui node's box shadow (data-raea-bevy-shadow, its BoxShadowSamples) drawn as bevy_ui draws it: spread by its width and its height and corners by the same ratio, then blurred as box_shadow.wesl blurs it, from a CPU bitmap (render/bevy_shadow.rs)"
exit = "a Blitz release that draws these"
[blitz-dom]