RESOLVED FIXED95323
Enable/disable composited scrolling based on overflow
https://bugs.webkit.org/show_bug.cgi?id=95323
Summary Enable/disable composited scrolling based on overflow
Sami Kyöstilä
Reported 2012-08-29 04:17:27 PDT
Enable/disable composited scrolling based on overflow
Attachments
Patch (7.18 KB, patch)
2012-08-29 04:22 PDT, Sami Kyöstilä
no flags
Patch (7.32 KB, patch)
2012-08-29 08:12 PDT, Sami Kyöstilä
no flags
Sami Kyöstilä
Comment 1 2012-08-29 04:22:59 PDT
Gyuyoung Kim
Comment 2 2012-08-29 04:59:15 PDT
Sami Kyöstilä
Comment 3 2012-08-29 08:12:18 PDT
Sami Kyostila
Comment 4 2012-09-05 04:48:34 PDT
Ping, anyone up for a review? This bug makes layer scrolling not work very reliably because the necessary layers aren't getting created. Alternatively, we could remove the entire optimization and always respect -webkit-overflow-scrolling:touch (at a memory cost).
Simon Fraser (smfr)
Comment 5 2012-09-05 11:43:02 PDT
Comment on attachment 161229 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=161229&action=review > Source/WebCore/rendering/RenderLayer.cpp:2649 > + if (renderer()->view() && compositor()->updateLayerCompositingState(this)) > + compositor()->setCompositingLayersNeedRebuild(); I wish we could do partial tree updates :(
WebKit Review Bot
Comment 6 2012-09-05 11:53:06 PDT
Comment on attachment 161229 [details] Patch Clearing flags on attachment: 161229 Committed r127620: <http://trac.webkit.org/changeset/127620>
WebKit Review Bot
Comment 7 2012-09-05 11:53:09 PDT
All reviewed patches have been landed. Closing bug.
mitz
Comment 8 2012-09-05 13:55:33 PDT
(In reply to comment #6) > (From update of attachment 161229 [details]) > Clearing flags on attachment: 161229 > > Committed r127620: <http://trac.webkit.org/changeset/127620> The test added in this revision has been failing on Mountain Lion. See <http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127620%20(613)/compositing/overflow/overflow-auto-with-touch-toggle-pretty-diff.html>.
mitz
Comment 9 2012-09-05 13:56:18 PDT
(In reply to comment #8) > (In reply to comment #6) > > (From update of attachment 161229 [details] [details]) > > Clearing flags on attachment: 161229 > > > > Committed r127620: <http://trac.webkit.org/changeset/127620> > > The test added in this revision has been failing on Mountain Lion. See <http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127620%20(613)/compositing/overflow/overflow-auto-with-touch-toggle-pretty-diff.html>. The same test is also failing on Lion.
James Robinson
Comment 10 2012-09-05 13:57:24 PDT
From the ChangeLog: "Note that this test will pass only if OVERFLOW_SCROLLING is enabled." Since those apple mac ports don't set OVERFLOW_SCROLLING, they are expected to fail and should be marked as failing or have failing -expected.txt's checked in or whatever the apple-mac port does these days.
mitz
Comment 11 2012-09-05 14:01:40 PDT
(In reply to comment #8) > (In reply to comment #6) > > (From update of attachment 161229 [details] [details]) > > Clearing flags on attachment: 161229 > > > > Committed r127620: <http://trac.webkit.org/changeset/127620> > > The test added in this revision has been failing on Mountain Lion. See <http://build.webkit.org/results/Apple%20MountainLion%20Release%20WK1%20(Tests)/r127620%20(613)/compositing/overflow/overflow-auto-with-touch-toggle-pretty-diff.html>. Landed Mac-specific expected results in <http://trac.webkit.org/r127645>.
Simon Fraser (smfr)
Comment 12 2012-09-05 14:09:54 PDT
OVERFLOW_SCROLLING is a terrible name for this switch. We all have overflow scrolling! It should be ACCELERATED_OVERFLOW_SCROLLING or something.
Note You need to log in before you can comment on or make changes to this bug.