[webkit-changes] [WebKit/WebKit] f67a8f: [CoordinatedGraphics] Wait for tile buffers to be ...
Carlos Garcia Campos
noreply at github.com
Fri Jan 10 04:40:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f67a8f0bac71cf86fa44004ea8f8bbd617e523f7
https://github.com/WebKit/WebKit/commit/f67a8f0bac71cf86fa44004ea8f8bbd617e523f7
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
Log Message:
-----------
[CoordinatedGraphics] Wait for tile buffers to be rendered before painting to texture mapper
https://bugs.webkit.org/show_bug.cgi?id=285736
Reviewed by Miguel Gomez.
In 288158 at main I moved the tiles updates processing to
CoordinatedBackingStore::paintToTextureMapper(), but it can happen that
the layer paint is skipped. We should always wait for buffers in the
composition to make sure there aren't painting thread running after the
composition. This patch moves processing updates to flushCompositingState()
so that it happens before painting as it was done before 288158 at main.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp:
(WebCore::CoordinatedBackingStore::paintToTextureMapper):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::updateSceneState):
Canonical link: https://commits.webkit.org/288695@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list