Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scheduler] Eagerly schedule rAF at beginning of frame #13785

Merged
merged 2 commits into from
Oct 9, 2018

Commits on Oct 8, 2018

  1. [scheduler] Eagerly schedule rAF at beginning of frame

    Eagerly schedule the next animation callback at the beginning of the
    frame. If the scheduler queue is not empty at the end of the frame, it
    will continue flushing inside that callback. If the queue *is* empty,
    then it will exit immediately. Posting the callback at the start of the
    frame ensures it's fired within the earliest possible frame. If we
    waited until the end of the frame to post the callback, we risk the
    browser skipping a frame and not firing the callback until the frame
    after that.
    acdlite committed Oct 8, 2018
    Configuration menu
    Copy the full SHA
    4b08d45 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2018

  1. Configuration menu
    Copy the full SHA
    f92bbaa View commit details
    Browse the repository at this point in the history