Bug 198454

Summary: Optimize for negative z children on the root
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CompositingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: NEW ---    
Severity: Normal CC: koivisto, simon.fraser, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Testcase none

Description Simon Fraser (smfr) 2019-06-01 10:55:22 PDT
Created attachment 371114 [details]
Testcase

It's pretty common to have negative z-index children in the root stacking context. Currently, we'll pop in to adding a foreground layer, which will become tiled and double our tiled backing store memory use.

We could, in some cases, use the page tiles for the foreground, and just have a solid color background behind the negative z-index child.