mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() When there are no more platform views, make sure the overlay layer is hidden. When a platform view is added again, show the overlay. The show/hide allows us to avoid continually recreating and destroying the overlay surface + swapchain when a platform view slides in and out of frame. To further reduce memory usage, we could do a delayed de-allocation of the overlay layer (say after 50 frames of no platform view, destroy it). But I'm leaving this to a follow up. |
||
---|---|---|
.. | ||
external_texture | ||
hcpp | ||
platform_view | ||
_luci_skia_gold_prelude.dart | ||
_unstable_gold_retry.dart | ||
.gitignore | ||
flutter_rendered_blue_rectangle_main_test.dart | ||
platform_view_tap_color_change_main_test.dart |