• Adam Barth's avatar
    A blinking cursor should push only one frame (#3445) (#3506) · a5e794ca
    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.
    
    (Reland)
    a5e794ca
Name
Last commit
Last update
..
cassowary Loading commit data...
flutter Loading commit data...
flutter_driver Loading commit data...
flutter_markdown Loading commit data...
flutter_sprites Loading commit data...
flutter_test Loading commit data...
flutter_tools Loading commit data...
flx Loading commit data...
newton Loading commit data...
playfair Loading commit data...
.gitignore Loading commit data...