We can save both CPU and memory by reducing the tile coverage area for non-visible pages.
Created attachment 299270 [details]
Comment on attachment 299270 [details]
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!).
> void show() final;
> + void hide() final;
Names so bad (they sounds imperative).
> + if (!backing->owningLayer().renderer().page().isVisible())
Is it cheaper to get to Page via frameView?
Created attachment 306684 [details]
Comment on attachment 306684 [details]
Clearing flags on attachment: 306684
Committed r215181: <http://trac.webkit.org/changeset/215181>
All reviewed patches have been landed. Closing bug.