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

layout: Fix some particularly bad cases of spurious reflows leading to script thread unresponsiveness. #14418

Merged
merged 5 commits into from Dec 1, 2016

layout_thread: Log reflows that happen due to animation ticks if

`-Z relayout-event` is on.
  • Loading branch information
pcwalton committed Dec 1, 2016
commit 0e338d5b31376aee36f4edeb72a31714eb5cf817
@@ -1282,6 +1282,10 @@ impl LayoutThread {
}

fn tick_animations(&mut self, rw_data: &mut LayoutThreadData) {
if opts::get().relayout_event {
println!("**** pipeline={}\tForDisplay\tSpecial\tAnimationTick", self.id);
}

let reflow_info = Reflow {
goal: ReflowGoal::ForDisplay,
page_clip_rect: max_rect(),
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.