Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Issue 19782002: Make Blink stop scheduling its own Layout, and use the compositor's timer instead (Closed)

Created:
7 years, 5 months ago by eseidel
Modified:
7 years ago
Reviewers:
jamesr, esprehn
CC:
blink-reviews, kenneth.christiansen, eae+blinkwatch, leviw+renderwatch, dglazkov+blink, adamk+blink_chromium.org, jchaffraix+rendering, Vangelis Kokkevis
Visibility:
Public.

Description

Make Blink stop scheduling its own Layout, and use the compositor's timer instead This works, and is ready for landing. Unfortunately it's likely to cause a long-tail of subtle timing bugs which may require several weeks to shake out. I suspect I'll have to add a runtime flag to land this so we can easily turn it on/off in the tree (as we did with the HTML threaded parser for so many weeks after landing). BUG=261689

Patch Set 1 #

Patch Set 2 : Now with less whitespace #

Patch Set 3 : Works except for cursor blinking #

Patch Set 4 : Another attempt #

Patch Set 5 : Fix SharedWorker tests #

Patch Set 6 : Fix most of the FontLoader and suggestion-picker tests, not clear if this is the right approach #

Patch Set 7 : Works, nearly ready for landing #

Patch Set 8 : With test changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -32 lines) Patch
M LayoutTests/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/suggestion-picker/datetimelocal-suggestion-picker-reset-value-after-reload-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/suggestion-picker/month-suggestion-picker-reset-value-after-reload-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/suggestion-picker/week-suggestion-picker-reset-value-after-reload-expected.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/platform/linux/svg/as-background-image/animated-svg-as-background-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/as-image/animated-svg-as-image-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/as-image/animated-svg-as-image-no-fixed-intrinsic-size-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M LayoutTests/platform/linux/svg/as-image/animated-svg-as-image-same-image-expected.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/page/FrameView.h View 1 2 3 4 5 6 3 chunks +4 lines, -2 lines 0 comments Download
M Source/core/page/FrameView.cpp View 1 2 3 4 5 6 12 chunks +24 lines, -24 lines 0 comments Download
M Source/core/rendering/RenderIFrame.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/testing/MockPagePopupDriver.cpp View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
M Source/web/tests/WebViewTest.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
eseidel
The cursor blink problems were actually just bug 262343
7 years, 5 months ago (2013-07-19 22:54:19 UTC) #1
eseidel
So this is actually ready that it could be landed. It breaks loading of weather.com ...
7 years, 4 months ago (2013-07-29 19:57:14 UTC) #2
eseidel
It's also possible that the weather.com (wpr-only!) failure is a bad interaction with the minimumLayoutDelay(). ...
7 years, 4 months ago (2013-07-29 20:00:39 UTC) #3
nduca
Just as an aside, I love this patch because it brings up a basic question ...
7 years, 4 months ago (2013-08-04 22:32:26 UTC) #4
esprehn
On 2013/08/04 22:32:26, nduca wrote: > Just as an aside, I love this patch because ...
7 years, 4 months ago (2013-08-13 00:23:45 UTC) #5
esprehn
Closing this issue, we should revisit this eventually, but I think we should start with ...
7 years ago (2013-12-02 05:00:22 UTC) #6
eseidel
I came very close with this patch, learned a lot, and fixed a few various ...
7 years ago (2013-12-02 05:34:56 UTC) #7
esprehn
7 years ago (2013-12-02 05:51:21 UTC) #8
Message was sent while issue was closed.
On 2013/12/02 05:34:56, eseidel wrote:
> I came very close with this patch, learned a lot, and fixed a few various
bugs. 
> I suspect this was within a week of landing.  But we can certainly do recalc
> style first. :)

If you can make this land then please do it! I was just closing issues that had
been open so long without an update where the patch could no longer apply to
clear out my codereview page. It's gotten soooo long.

Powered by Google App Engine
This is Rietveld 408576698