Bug 149347 - [Win] Use tiled drawing for main background layer
Summary: [Win] Use tiled drawing for main background layer
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: PC All
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-09-18 10:17 PDT by Brent Fulgham
Modified: 2015-09-18 11:23 PDT (History)
4 users (show)

See Also:


Attachments
Patch (8.82 KB, patch)
2015-09-18 10:26 PDT, Brent Fulgham
achristensen: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-09-18 10:17:44 PDT
When compositing layers are used on Windows, a single large layer is created for the root of the rendering tree. If the markup involves creating large offscreen areas, WebKit can end up allocating a lot of memory.

Instead, we should use the tiled drawing logic for the background layer so that we can limit the amount of memory used.
Comment 1 Radar WebKit Bug Importer 2015-09-18 10:18:27 PDT
<rdar://problem/22759632>
Comment 2 Brent Fulgham 2015-09-18 10:26:49 PDT
Created attachment 261505 [details]
Patch
Comment 3 Alex Christensen 2015-09-18 11:14:11 PDT
Comment on attachment 261505 [details]
Patch

r=me
Comment 4 Brent Fulgham 2015-09-18 11:23:42 PDT
Committed r189974: <http://trac.webkit.org/changeset/189974>