Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit def85c7

Browse files
Reland [skwasm] Scene builder optimizations for platform view placement (#55468)
This is an attempt to reland the overlay optimization for skwasm and fixing the golden diffs from the framework tests. Original PR description: This PR refactors the scene builder's logic in order to more aggressively merge flutter content and platform view content together. This essentially covers the case discussed in this flutter issue: flutter/flutter#149863 This optimization ensures that each picture or platform view is applied to the lowest possible slice in the scene, which avoids the proliferation of redundant slices and overlays in the scene.
1 parent e8f9339 commit def85c7

File tree

10 files changed

+784
-373
lines changed

10 files changed

+784
-373
lines changed

lib/web_ui/lib/src/engine/color_filter.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,7 @@ class EngineColorFilter implements SceneImageFilter, ui.ColorFilter {
135135
return 'ColorFilter.srgbToLinearGamma()';
136136
}
137137
}
138+
139+
@override
140+
Matrix4? get transform => null;
138141
}

0 commit comments

Comments
 (0)