Bug 154374

Summary: Reduce tiling coverage immediately when memory pressure hits.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, koivisto, simon.fraser
Priority: P2 Keywords: Performance
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Andreas Kling 2016-02-17 18:41:05 PST
We already reduce tiling coverage to a minimum (only the tiles that intersect the visible rect) during memory pressure.
However, this doesn't take effect immediately when we come under pressure, but the next time we flush our compositing state.
We should make sure to do it ASAP to avoid some pointless deaths.
Comment 1 Andreas Kling 2016-02-17 18:53:09 PST
Created attachment 271613 [details]
Patch
Comment 2 WebKit Commit Bot 2016-02-17 18:54:21 PST
Attachment 271613 [details] did not pass style-queue:


ERROR: Source/WebCore/platform/MemoryPressureHandler.cpp:34:  Alphabetical sorting problem.  [build/include_order] [4]
Total errors found: 1 in 5 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Andreas Kling 2016-02-17 19:01:46 PST
Created attachment 271614 [details]
Patch
Comment 4 WebKit Commit Bot 2016-02-18 03:13:00 PST
Comment on attachment 271614 [details]
Patch

Clearing flags on attachment: 271614

Committed r196753: <http://trac.webkit.org/changeset/196753>
Comment 5 WebKit Commit Bot 2016-02-18 03:13:04 PST
All reviewed patches have been landed.  Closing bug.