RESOLVED FIXED 128339
Should get rid of TileController's CoverageForSlowScrolling mode
https://bugs.webkit.org/show_bug.cgi?id=128339
Summary Should get rid of TileController's CoverageForSlowScrolling mode
Beth Dakin
Reported 2014-02-06 15:40:02 PST
We should get rid of TileController's CoverageForSlowScrolling. The mode creates large tiles so that we will paint less for these sites. At one time, that was an important performance improvement because a lot of sites were still in slow scrolling mode. Now that very few sites fall into that mode, we should get rid of it since it just adds complexity.
Attachments
Patch (14.29 KB, patch)
2014-02-06 15:49 PST, Beth Dakin
buildbot: commit-queue-
Patch with layout test results (17.38 KB, patch)
2014-02-06 16:04 PST, Beth Dakin
no flags
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (730.50 KB, application/zip)
2014-02-06 16:37 PST, Build Bot
no flags
Patch (16.86 KB, patch)
2014-02-07 14:51 PST, Beth Dakin
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (464.17 KB, application/zip)
2014-02-07 16:01 PST, Build Bot
no flags
Archive of layout-test-results from webkit-ews-02 for mac-mountainlion (487.05 KB, application/zip)
2014-02-07 16:24 PST, Build Bot
no flags
Patch (17.37 KB, patch)
2014-02-07 16:34 PST, Beth Dakin
no flags
Patch (17.23 KB, patch)
2014-02-07 17:54 PST, Beth Dakin
simon.fraser: review+
Beth Dakin
Comment 1 2014-02-06 15:49:16 PST
Beth Dakin
Comment 2 2014-02-06 16:04:22 PST
Created attachment 223397 [details] Patch with layout test results
Tim Horton
Comment 3 2014-02-06 16:08:32 PST
Comment on attachment 223397 [details] Patch with layout test results View in context: https://bugs.webkit.org/attachment.cgi?id=223397&action=review > LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling-expected.txt:-12 > - (tile size 800 x 600) is there any reason to keep this test around?
Beth Dakin
Comment 4 2014-02-06 16:09:22 PST
(In reply to comment #3) > (From update of attachment 223397 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=223397&action=review > > > LayoutTests/platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling-expected.txt:-12 > > - (tile size 800 x 600) > > is there any reason to keep this test around? Not unless we want a test to document this moment. :-)
Simon Fraser (smfr)
Comment 5 2014-02-06 16:10:32 PST
Comment on attachment 223396 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=223396&action=review > Source/WebCore/rendering/RenderObject.cpp:1291 > + if (!shouldClipToLayer && repaintContainer == view) > + repaintRect = pixelSnappedIntRect(view->backgroundRect(view)); This confuses me. Do we ever have !shouldClipToLayer when |this| != view?
Beth Dakin
Comment 6 2014-02-06 16:18:05 PST
(In reply to comment #5) > (From update of attachment 223396 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=223396&action=review > > > Source/WebCore/rendering/RenderObject.cpp:1291 > > + if (!shouldClipToLayer && repaintContainer == view) > > + repaintRect = pixelSnappedIntRect(view->backgroundRect(view)); > > This confuses me. Do we ever have !shouldClipToLayer when |this| != view? Hmm, no I don't think so! I was just being extra careful, but I realize now that is not necessary.
Build Bot
Comment 7 2014-02-06 16:37:58 PST
Comment on attachment 223396 [details] Patch Attachment 223396 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6517240081940480 New failing tests: platform/mac-wk2/tiled-drawing/tile-size-slow-zoomed.html platform/mac-wk2/tiled-drawing/tile-coverage-slow-scrolling.html platform/mac-wk2/tiled-drawing/fixed-background/fixed-non-propagated-body-background.html
Build Bot
Comment 8 2014-02-06 16:37:59 PST
Created attachment 223404 [details] Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-14 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Beth Dakin
Comment 9 2014-02-07 14:51:16 PST
Build Bot
Comment 10 2014-02-07 16:01:52 PST
Comment on attachment 223501 [details] Patch Attachment 223501 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4912089470599168 New failing tests: compositing/repaint/fixed-background-scroll.html
Build Bot
Comment 11 2014-02-07 16:01:55 PST
Created attachment 223508 [details] Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 12 2014-02-07 16:24:22 PST
Comment on attachment 223501 [details] Patch Attachment 223501 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6079075974119424 New failing tests: compositing/repaint/fixed-background-scroll.html
Build Bot
Comment 13 2014-02-07 16:24:26 PST
Created attachment 223512 [details] Archive of layout-test-results from webkit-ews-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-02 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Beth Dakin
Comment 14 2014-02-07 16:34:41 PST
Created attachment 223515 [details] Patch This will fix the latest test failure.
Beth Dakin
Comment 15 2014-02-07 17:54:28 PST
Beth Dakin
Comment 16 2014-02-07 18:08:21 PST
Note You need to log in before you can comment on or make changes to this bug.