Bug 309158
| Summary: | [GTK][WPE] Compositor animations should not trigger compositions on invisible elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Miguel Gomez <magomez> |
| Component: | WPE WebKit | Assignee: | Miguel Gomez <magomez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Miguel Gomez
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Miguel Gomez
Pull request: https://github.com/WebKit/WebKit/pull/59887
EWS
Committed 308629@main (a1f07bf02552): <https://commits.webkit.org/308629@main>
Reviewed commits have been landed. Closing PR #59887 and removing active labels.