mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* Add PlatformView support for Fuchsia This change allows embedding views provided by fuchsia components into a flutter app running on Fuchsia. This conforms to Flutters idiomatic approach to composite PlatformView alongside other rendered layers. This uses the `view embedder` infrastructure to allow `PlatformViewLayer` to hold fuchsia views. This is meant to eventually supplant the legacy `SceneHost` and `ChildViewLayer` mechanism to embed fuchsia `ChildView`. To see how this will get used check out: https://fuchsia-review.googlesource.com/c/experiences/+/398536/6/examples/hello_experiences/lib/fuchsia_view.dart Includes unittests for platform_view.cc. Note: This change has no impact on the legacy code to embed fuchsia views. * Rename OnCreateViewMethodCall to OnCreateView Same for OnDestroyViewMethodCall to OnDestroyView Co-authored-by: Sanjay Chouksey <sanjayc@google.com>
Flow
Flow is a simple compositor based on Skia that the Flutter engine uses to cache recoded paint commands and pixels generated from those recordings. Flow runs on the raster thread and uploads information to Skia.