mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Attempt to speed up vulkan startup by ensuring vulkan driver initialization happens on raster thread. Prev. we immediately initialized the impeller::Context, unfortunately setting up the vulkan context can take upwards of 100ms. This time is running on the platform thread and blocking startup. Instead, I attempt to hide/defer as much as possible what backend is being used - this requires us to access the impeller context via a shared_future in some cases instead of immediately knowing it is valid.
Flutter Engine
Setting up the Engine development environment
See here
gclient bootstrap
Flutter engine uses gclient to manage dependencies.
If you've already cloned the flutter repository: