-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GTK][WPE] Constant high idle CPU usage in front of any logged in page on Trello.com #31063
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GTK][WPE] Constant high idle CPU usage in front of any logged in page on Trello.com #31063
Conversation
EWS run on previous version of this PR (hash 6b960d4) |
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp
Outdated
Show resolved
Hide resolved
6b960d4
to
8cba980
Compare
EWS run on previous version of this PR (hash 8cba980) |
The change for swapBuffersIfNeeded to return a bool is not really needed, and it makes the patch more complicated than it should. Can you keep it returning void? |
8cba980
to
bfcb16f
Compare
EWS run on current version of this PR (hash bfcb16f) |
…e on Trello.com https://bugs.webkit.org/show_bug.cgi?id=252545 Reviewed by Miguel Gomez. Do not schedule a composition if layers haven't changed and it's not a force repaint. To know whether platform layer changed, we need to also track the updates during layer flush and add a way to check the status. This patch merges updateContentBuffersIncludingSubLayers() and checkPendingStateChanges() into finalizeCompositingStateFlush() to upadate the backing stores and check the frame sync and platform updates in a single layer iteration. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: (WebCore::CoordinatedGraphicsLayer::updatePlatformLayer): (WebCore::CoordinatedGraphicsLayer::checkContentLayerUpdated): (WebCore::CoordinatedGraphicsLayer::checkPendingStateChanges): (WebCore::CoordinatedGraphicsLayer::finalizeCompositingStateFlush): (WebCore::CoordinatedGraphicsLayer::checkPendingStateChangesIncludingSubLayers): Deleted. (WebCore::CoordinatedGraphicsLayer::updateContentBuffersIncludingSubLayers): Deleted. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp: (WebKit::CompositingCoordinator::flushPendingLayerChanges): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.h: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp: (WebKit::LayerTreeHost::layerFlushTimerFired): (WebKit::LayerTreeHost::forceRepaint): (WebKit::LayerTreeHost::renderNextFrame): Canonical link: https://commits.webkit.org/281288@main
bfcb16f
to
18a0d32
Compare
Committed 281288@main (18a0d32): https://commits.webkit.org/281288@main Reviewed commits have been landed. Closing PR #31063 and removing active labels. |
18a0d32
bfcb16f
🛠 wincairo🧪 wincairo-tests🛠 tv-sim🛠 watch-sim