-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REGRESSION(263118@main): [CoordinatedGraphics] Incomplete rendering a…
…fter 10s inactivity without hardware acceleration https://bugs.webkit.org/show_bug.cgi?id=260505 Reviewed by Michael Catanzaro. When the backing store is discarded in the UI process we need to notify the web process to reset the dirty region to the entire web view and ensure next update is not partial. This avoids flickering and ensures a full update of the view when a new backing store is created. We should also avoid flickering when forcing an update, by waiting for the Update message synchronously. * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: (WebKit::DrawingAreaProxyCoordinatedGraphics::paint): (WebKit::DrawingAreaProxyCoordinatedGraphics::forceUpdateIfNeeded): (WebKit::DrawingAreaProxyCoordinatedGraphics::incorporateUpdate): (WebKit::DrawingAreaProxyCoordinatedGraphics::enterAcceleratedCompositingMode): (WebKit::DrawingAreaProxyCoordinatedGraphics::discardBackingStore): * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * Source/WebKit/UIProcess/DrawingAreaProxy.messages.in: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp: (WebKit::DrawingAreaCoordinatedGraphics::updateGeometry): (WebKit::DrawingAreaCoordinatedGraphics::didDiscardBackingStore): * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h: * Source/WebKit/WebProcess/WebPage/DrawingArea.h: (WebKit::DrawingArea::didDiscardBackingStore): * Source/WebKit/WebProcess/WebPage/DrawingArea.messages.in: Canonical link: https://commits.webkit.org/267399@main
- Loading branch information
1 parent
bd1a9e7
commit 3e47e6d
Showing
7 changed files
with
72 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters