mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* [flutter_runner] Reland "[flutter_runner] Improve frame scheduling" This is a reland of e28c8beaca82998396aacbd37a03942892654e2b Original change's description: > [flutter_runner] Improve frame scheduling > > FL-233 #comment > > This allows the paint tasks for the next frame to execute in parallel > with presentation of last frame but still provides back-pressure to > prevent us from queuing up even more work. > > Vsync would be disabled whenever a presentation callback was pending > prior to this change. That had the outcome of causing us to almost > always miss one vsync interval. By not turning off vsync until > another Present call is pending we avoid this problem. > > Test: fx shell run fuchsia-pkg://fuchsia.com/basemgr#meta/basemgr.cmx --base_shell=fuchsia-pkg://fuchsia.com/spinning_cube#meta/spinning_cube.cmx > Test: topaz input latency benchmarks > Test: end-2-end tests > Change-Id: I46440052cd4f98cb0992ec5027584be80f4fb9d3 Change-Id: I1904683d0dfa509ef28482c4b751c28931ab7647 * fix stuff