• Adam Barth's avatar
    A blinking cursor should push only one frame (#3445) · 161f945e
    Adam Barth authored
    Prior to this patch, we were pushing two frames each time the cursor blinked.
    In turning the cursor on or off, the markNeedsPaint call was triggering another
    frame to be scheduled because we cleared a bit in the scheduler at the
    beginning of the frame instead of at the end of the frame.
    
    To implement scheduling correctly, we actually need two bits: one for
    ensureVisualUpdate, which just promises to get to the end of the pipeline soon,
    and scheduleFrame, which promises to get to the beginning of the pipeline soon.
    161f945e
Name
Last commit
Last update
..
benchmark Loading commit data...
lib Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
pubspec.yaml Loading commit data...

Flutter

Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today's, and tomorrow's, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.

See the getting started guide for information about using Flutter.