mirror of
https://github.com/flutter/flutter.git
synced 2026-01-31 08:06:48 +08:00
<!-- start_original_pr_link --> Reverts: flutter/flutter#166784 <!-- end_original_pr_link --> <!-- start_initiating_author --> Initiated by: jonahwilliams <!-- end_initiating_author --> <!-- start_revert_reason --> Reason for reverting: didn't do enough, going to try something different. <!-- end_revert_reason --> <!-- start_original_pr_author --> Original PR Author: jonahwilliams <!-- end_original_pr_author --> <!-- start_reviewers --> Reviewed By: {matanlurey} <!-- end_reviewers --> <!-- start_revert_body --> This change reverts the following previous change: Once we've created the Vulkan context, lets just use it - creating it isn't free. See numbers. Also change AHB swapchain to lazily create images, which will also improve startup and will be added to an opt in list to test startup performance. ``` ════════════════════════════╡ ••• Raw results ••• ╞═════════════════════════════ timeToFirstFrameMicros: A: 371525.00 225155.00 B: 254054.00 254668.00 timeToFirstFrameRasterizedMicros: A: 781015.00 555791.00 B: 527163.00 526827.00 ═════════════════════════╡ ••• Final A/B results ••• ╞══════════════════════════ Score Average A (noise) Average B (noise) Speed-up timeToFirstFrameMicros 298340.00 (24.53%) 254361.00 (0.12%) 1.17x timeToFirstFrameRasterizedMicros 668403.00 (16.85%) 526995.00 (0.03%) 1.27x ``` <!-- end_revert_body --> Co-authored-by: auto-submit[bot] <flutter-engprod-team@google.com>
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: