Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 3e47e6d0c366be710c81c8b594d0aa33d1096400 https://github.com/WebKit/WebKit/commit/3e47e6d0c366be710c81c8b594d0aa33d1096400 Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths: M Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp M Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h M Source/WebKit/UIProcess/DrawingAreaProxy.messages.in M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h M Source/WebKit/WebProcess/WebPage/DrawingArea.h M Source/WebKit/WebProcess/WebPage/DrawingArea.messages.in Log Message: ----------- REGRESSION(263118@main): [CoordinatedGraphics] Incomplete rendering after 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 _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes