RESOLVED FIXED 191813
Avoid triggering compositing updates when only the root layer is composited
https://bugs.webkit.org/show_bug.cgi?id=191813
Summary Avoid triggering compositing updates when only the root layer is composited
Simon Fraser (smfr)
Reported 2018-11-17 14:13:57 PST
Avoid triggering compositing updates when only the root layer is composited
Attachments
Patch (8.44 KB, patch)
2018-11-17 14:17 PST, Simon Fraser (smfr)
no flags
Patch (8.40 KB, patch)
2018-11-17 15:59 PST, Simon Fraser (smfr)
zalan: review+
Simon Fraser (smfr)
Comment 1 2018-11-17 14:17:13 PST
Simon Fraser (smfr)
Comment 2 2018-11-17 15:59:24 PST
alan
Comment 3 2018-11-17 16:07:36 PST
Comment on attachment 355211 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=355211&action=review > Source/WebCore/rendering/RenderLayerCompositor.cpp:1181 > + auto appendForegroundLayerIfNecessary = [&] () { () can be dropped here
Simon Fraser (smfr)
Comment 4 2018-11-17 16:52:44 PST
Radar WebKit Bug Importer
Comment 5 2018-11-17 16:53:24 PST
Truitt Savell
Comment 6 2018-11-26 09:54:08 PST
Looks like https://trac.webkit.org/changeset/238357/webkit Has caused three tests to fail constantly: css3/filters/blur-filter-page-scroll-parents.html css3/filters/blur-filter-page-scroll-self.html css3/filters/blur-filter-page-scroll.html History: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=css3%2Ffilters%2Fblur-filter-page-scroll-parents.html%20css3%2Ffilters%2Fblur-filter-page-scroll-self.html%20css3%2Ffilters%2Fblur-filter-page-scroll.html Diff of css3/filters/blur-filter-page-scroll-parents.html: --- /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test-results/css3/filters/blur-filter-page-scroll-parents-expected.txt +++ /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test-results/css3/filters/blur-filter-page-scroll-parents-actual.txt @@ -9,5 +9,6 @@ RenderBlock {DIV} at (0,0) size 800x1200 RenderBlock {DIV} at (0,0) size 800x200 [bgcolor=#FF0000] RenderBlock {DIV} at (0,200) size 800x1000 [bgcolor=#008000] -layer at (0,0) size 800x100 +layer at (0,100) size 800x100 RenderBlock (positioned) {DIV} at (0,0) size 800x100 [bgcolor=#000000] +scrolled to 0,100
Truitt Savell
Comment 7 2018-11-26 09:56:38 PST
Failures are on iOS Release WK2. Debug WK2 is crashing and may be unrelated.
Simon Fraser (smfr)
Comment 8 2018-11-26 10:20:34 PST
(In reply to Truitt Savell from comment #6) > Looks like https://trac.webkit.org/changeset/238357/webkit > > Has caused three tests to fail constantly: > > css3/filters/blur-filter-page-scroll-parents.html > css3/filters/blur-filter-page-scroll-self.html > css3/filters/blur-filter-page-scroll.html > > History: > https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard. > html#showAllRuns=true&tests=css3%2Ffilters%2Fblur-filter-page-scroll-parents. > html%20css3%2Ffilters%2Fblur-filter-page-scroll-self. > html%20css3%2Ffilters%2Fblur-filter-page-scroll.html > > Diff of css3/filters/blur-filter-page-scroll-parents.html: > --- > /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test- > results/css3/filters/blur-filter-page-scroll-parents-expected.txt > +++ > /Volumes/Data/slave/ios-simulator-12-release-tests-wk2/build/layout-test- > results/css3/filters/blur-filter-page-scroll-parents-actual.txt > @@ -9,5 +9,6 @@ > RenderBlock {DIV} at (0,0) size 800x1200 > RenderBlock {DIV} at (0,0) size 800x200 [bgcolor=#FF0000] > RenderBlock {DIV} at (0,200) size 800x1000 [bgcolor=#008000] > -layer at (0,0) size 800x100 > +layer at (0,100) size 800x100 > RenderBlock (positioned) {DIV} at (0,0) size 800x100 [bgcolor=#000000] > +scrolled to 0,100 These tests are trying to disable accelerated compositing, which doesn't work so well in WK2.
Truitt Savell
Comment 9 2018-11-26 14:11:29 PST
it does appear this change has caused the crashing of these three tests as well. This is effecting ews so I am going to roll it out until a fix is found.
Truitt Savell
Comment 10 2018-11-26 14:22:12 PST
Reverted r238357 for reason: Casued three css tests to fail and crash on ios sim Committed r238523: <https://trac.webkit.org/changeset/238523>
Simon Fraser (smfr)
Comment 11 2018-11-27 15:35:12 PST
I'm going to disable those tests for iOS WK2: bug 192045
Simon Fraser (smfr)
Comment 12 2018-11-27 15:46:52 PST
Note You need to log in before you can comment on or make changes to this bug.