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

Rebuild the hit-tester as part of the scene build. #2797

Merged
merged 1 commit into from Jun 5, 2018

Commits on Jun 4, 2018

  1. Always do a render after swapping in a new scene.

    The render ensures that the hit-tester is rebuilt using the most recent
    display list (which is installed into gecko's APZ code at the same time
    as the scene swap), along with the corresponding async scroll offsets
    and scrollbar thumb transforms (which are sampled from gecko's APZ step
    and used to update the clip-scroll tree during a render).
    
    The render step is triggered via a new argument to update_document,
    because the existing generate_frame flag on the transaction has semantic
    meaning (in that it triggers a callback) that we don't want to interfere
    with.
    
    In addition, we can remove the obsolete `render_on_hittest` flag.
    staktrace committed Jun 4, 2018
You can’t perform that action at this time.