Bug 241935 - Don't allocate backing stores for non-animated compositing layers with zero opacity
Summary: Don't allocate backing stores for non-animated compositing layers with zero o...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Matt Woodrow
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-23 14:25 PDT by Matt Woodrow
Modified: 2022-06-29 15:00 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.