Bug 303043
| Summary: | [GTK][WPE] Use composition reason to decide what layer state should be flushed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
We currently process all state on every flush, but a composition requested only for a video frame, async scrolling or an animation should only update the state affected:
- Video frame: update only the contents buffer.
- Async scrolling: update only position and bounds origin.
- Animation: layers state doesn't change so we can skip the flush.
- Rendering update: all pending layer state should be updated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/54406
EWS
Committed 303488@main (afd977d09d32): <https://commits.webkit.org/303488@main>
Reviewed commits have been landed. Closing PR #54406 and removing active labels.