RESOLVED FIXED 146252
Should reduce tile coverage for the first paint after a tab switch
https://bugs.webkit.org/show_bug.cgi?id=146252
Summary Should reduce tile coverage for the first paint after a tab switch
Andreas Kling
Reported 2015-06-23 15:26:25 PDT
Attachments
Patch (2.61 KB, patch)
2015-06-23 15:38 PDT, Andreas Kling
no flags
Patch (2.67 KB, patch)
2015-06-23 16:02 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2015-06-23 15:38:52 PDT
Simon Fraser (smfr)
Comment 2 2015-06-23 15:49:14 PDT
Comment on attachment 255441 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=255441&action=review > Source/WebCore/page/FrameView.cpp:2496 > + // Turn off speculative tiling for a brief moment after a FrameView appears on screen. > + // Note that adjustTiledBackingCoverage() kicks the (500ms) timer to re-enable it. > + m_speculativeTilingEnabled = false; > + m_wasScrolledByUser = false; > + adjustTiledBackingCoverage(); Do you want to do this for non-main FrameViews?
Andreas Kling
Comment 3 2015-06-23 16:01:09 PDT
(In reply to comment #2) > Comment on attachment 255441 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=255441&action=review > > > Source/WebCore/page/FrameView.cpp:2496 > > + // Turn off speculative tiling for a brief moment after a FrameView appears on screen. > > + // Note that adjustTiledBackingCoverage() kicks the (500ms) timer to re-enable it. > > + m_speculativeTilingEnabled = false; > > + m_wasScrolledByUser = false; > > + adjustTiledBackingCoverage(); > > Do you want to do this for non-main FrameViews? Ah, good point. We shouldn't do this for non-main FrameViews.
Andreas Kling
Comment 4 2015-06-23 16:02:04 PDT
Created attachment 255445 [details] Patch Only do this for the main FrameView.
WebKit Commit Bot
Comment 5 2015-06-23 19:10:14 PDT
Comment on attachment 255445 [details] Patch Clearing flags on attachment: 255445 Committed r185897: <http://trac.webkit.org/changeset/185897>
WebKit Commit Bot
Comment 6 2015-06-23 19:10:23 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.