mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fixes https://github.com/flutter/flutter/issues/124269 Manually verified this is safe on an iPhone 11. We're not creating/encoding command buffers in this path so it's ok. AFAICT the test I added would fail if we started doing that because it doesn't provide any real command buffer interfaces. Most of the code here is related to tests.
ui_unittest Fixtures
The files in this directory are used by the ui_unittests binary.
The ui_test.dart file is either JIT or AOT compiled depending on the runtime
mode of the test binary. Other files in this folder are used by tests to verify
functionality.
See //lib/ui/BUILD.gn and //testing/testing.gni for the build rules and
GN template definitions that determine which files get included and compiled
here.