Bug 309158

Summary: [GTK][WPE] Compositor animations should not trigger compositions on invisible elements
Product: WebKit Reporter: Miguel Gomez <magomez>
Component: WPE WebKitAssignee: Miguel Gomez <magomez>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Miguel Gomez
Reported 2026-03-04 05:35:51 PST
TextureMapperLayer::syncAnimations() returns a boolean indicating whether the layer has some animation applied and we need to request compositions to render the animation. But if the layer has opacity 0, we don't really need to request a composition because the animated element is invisible. The only exception to this is if there's an ongoing opacity animation.
Attachments
Miguel Gomez
Comment 1 2026-03-04 06:06:09 PST
EWS
Comment 2 2026-03-04 07:18:05 PST
Committed 308629@main (a1f07bf02552): <https://commits.webkit.org/308629@main> Reviewed commits have been landed. Closing PR #59887 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.