Bug 241935

Summary: Don't allocate backing stores for non-animated compositing layers with zero opacity
Product: WebKit Reporter: Matt Woodrow <mattwoodrow>
Component: Layout and RenderingAssignee: Matt Woodrow <mattwoodrow>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Matt Woodrow 2022-06-23 14:25:15 PDT
We currently allocate (and paint) a backing store for opacity:0 layers, so that we can initiate animations faster.

Unfortunately this uses a lot of memory, so we're going to try skipping this, and allocating/painting on demand when an animation is started.
Comment 1 Matt Woodrow 2022-06-23 14:29:26 PDT
<rdar://93608011>
Comment 2 Matt Woodrow 2022-06-23 14:30:53 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1743
Comment 3 EWS 2022-06-29 15:00:29 PDT
Committed 251965@main (6d4c5f059b87): <https://commits.webkit.org/251965@main>

Reviewed commits have been landed. Closing PR #1743 and removing active labels.