Currently we use a hardcoded coverAreaMultiplier value of 2 in the TiledBackingStore, which means that the area we fill with tiles has up to 2 times the size of the visible area. While this is nice to make scrolling smoother, we are using more memory than needed to render the visible contents of layers (1 extra MB per tile). When we are in memory pressure situation, we can reduce that value to use less tiles and improve the memory consumption.
Created attachment 300885 [details] Patch
Comment on attachment 300885 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=300885&action=review > Source/WebCore/platform/graphics/texmap/coordinated/TiledBackingStore.cpp:148 > +void TiledBackingStore::createTiles(const IntRect& visibleRect, const IntRect& scaledContentsRect, const float coverAreaMultiplier) I don't think that const is needed for a float parameter passed by value, no?
Created attachment 300887 [details] Patch
Comment on attachment 300887 [details] Patch Clearing flags on attachment: 300887 Committed r211867: <http://trac.webkit.org/changeset/211867>
All reviewed patches have been landed. Closing bug.