Summary: | Don't generate extra scrolling tiles for non-visible pages. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Andreas Kling <kling> | ||||||
Component: | Layout and Rendering | Assignee: | Andreas Kling <kling> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, kling, koivisto, simon.fraser, webkit-bug-importer, zalan | ||||||
Priority: | P2 | Keywords: | InRadar, Performance | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Andreas Kling
2017-01-19 14:14:02 PST
Created attachment 299270 [details]
Patch
Comment on attachment 299270 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=299270&action=review Please add a test. You can dump the layer tree including tile caches (LAYER_TREE_INCLUDES_TILE_CACHES). I don't know how to make something not visible (if there isn't a way, add one!). > Source/WebCore/page/FrameView.h:583 > void show() final; > + void hide() final; Names so bad (they sounds imperative). > Source/WebCore/rendering/RenderLayerBacking.cpp:206 > + if (!backing->owningLayer().renderer().page().isVisible()) Is it cheaper to get to Page via frameView? Created attachment 306684 [details]
Proposed patch
r=me Comment on attachment 306684 [details] Proposed patch Clearing flags on attachment: 306684 Committed r215181: <http://trac.webkit.org/changeset/215181> All reviewed patches have been landed. Closing bug. |