Bug 263368
Summary: | [CoordinatedGraphics] Remove CompositingCoordinator::syncLayerState() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bugs-noreply |
Priority: | P2 | Keywords: | Gtk |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Carlos Garcia Campos
The coordinator calls syncPendingStateChangesIncludingSubLayers on the root graphics layer, that doesn't really sync anything, every layer checks if there's a pending stater sync and calls CompositingCoordinator::syncLayerState() to mark m_shouldSyncFrame as true. We can remove the dependency of the layer on the compositor by making syncPendingStateChangesIncludingSubLayers return whether the sync should happen or not.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/19275
EWS
Committed 269560@main (5a023aa72619): <https://commits.webkit.org/269560@main>
Reviewed commits have been landed. Closing PR #19275 and removing active labels.