WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
268116
Avoid compositing layers for opacity:0 subtrees
https://bugs.webkit.org/show_bug.cgi?id=268116
Summary
Avoid compositing layers for opacity:0 subtrees
Matt Woodrow
Reported
2024-01-25 15:39:44 PST
Creating compositing layers takes time, and also prevents backing store sharing from working when it otherwise could. We should be able to skip these while opacity is 0.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-01-25 15:39:53 PST
<
rdar://problem/121627710
>
Matt Woodrow
Comment 2
2024-01-25 15:47:05 PST
Pull request:
https://github.com/WebKit/WebKit/pull/23265
Simon Fraser (smfr)
Comment 3
2024-01-25 16:11:44 PST
One reason we've avoided doing this in the past is to avoid hiccups when animating away from opacity 0.
Matt Woodrow
Comment 4
2024-01-25 16:22:22 PST
I'd argue that this is the purpose of will-change (which isn't handled in the PR currently, but should be). I realise that it's definitely a perf compat risk though :(
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug