flutter/packages
liyuqian c63dcf3bcd
Make shader warm-up async so it can handle image (#28687)
## Description

This moves another 15-20ms from the animation jank of one of our important client to the startup latency. Unfortunately, this is probably not captured in our current benchmarks (presumably some other bottlenecks overshadow this shader compilation in the worst_frame benchmark). Considering that drawing images is such a common operation, maybe we should add one in the future to benchmark this.

We need this PR to land soon for our client because this changes the API to return Future.

## Related Issues

https://github.com/flutter/flutter/issues/813
2019-02-28 20:07:55 -08:00
..
flutter Make shader warm-up async so it can handle image (#28687) 2019-02-28 20:07:55 -08:00
flutter_build Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
flutter_driver Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
flutter_goldens Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
flutter_goldens_client Updated Shrine demo (#25674) 2018-12-21 17:47:25 -08:00
flutter_localizations Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
flutter_test Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
flutter_tools Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
fuchsia_remote_debug_protocol Add capability to run build_runner tests for engine (#28684) 2019-02-28 20:06:14 -08:00
analysis_options.yaml Revert "Roll engine to aed6b8c46b05c7cee4506a9757dd9ea1b40583c2." (#23170) 2018-10-16 12:57:07 -07:00