Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 47a7a7efca62377bac72d306ee142ec67bd7d0b5
https://github.com/WebKit/WebKit/commit/47a7a7efca62377bac72d306ee142ec67bd7d0b5
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-05-13 (Tue, 13 May 2025)
Changed paths:
M Source/WebCore/page/ChromeClient.h
M Source/WebCore/platform/graphics/Damage.h
M Source/WebCore/testing/Internals.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp
M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h
M Source/WebKit/WebProcess/WebPage/DrawingArea.h
Log Message:
-----------
[GTK][WPE] FrameDamageHistory is used from main and compositor threads
without a lock
https://bugs.webkit.org/show_bug.cgi?id=292860
Reviewed by Alejandro G. Castro.
Remove FrameDamageHistory and move the handling of frame damage history
to LayerTreeHost that protects its access with a lock.
* Source/WebCore/page/ChromeClient.h:
(WebCore::ChromeClient::foreachRegionInDamageHistoryForTesting const):
(WebCore::ChromeClient::damageHistoryForTesting const): Deleted.
* Source/WebCore/platform/graphics/Damage.h:
(WebCore::Damage::regionForTesting const):
(WebCore::FrameDamageHistory::damageInformation const): Deleted.
(WebCore::FrameDamageHistory::addDamage): Deleted.
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::getFrameDamageHistory const):
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::resetDamageHistoryForTesting):
(WebKit::WebChromeClient::foreachRegionInDamageHistoryForTesting const):
(WebKit::WebChromeClient::damageHistoryForTesting const): Deleted.
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:
*
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp:
(WebKit::DrawingAreaCoordinatedGraphics::resetDamageHistoryForTesting):
(WebKit::DrawingAreaCoordinatedGraphics::foreachRegionInDamageHistoryForTesting
const):
(WebKit::DrawingAreaCoordinatedGraphics::frameDamageForTesting const): Deleted.
*
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::notifyFrameDamageForTesting):
(WebKit::LayerTreeHost::resetDamageHistoryForTesting):
(WebKit::LayerTreeHost::foreachRegionInDamageHistoryForTesting):
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp:
(WebKit::m_compositingRunLoop):
(WebKit::ThreadedCompositor::setDamagePropagation):
(WebKit::ThreadedCompositor::enableFrameDamageNotificationForTesting):
(WebKit::ThreadedCompositor::paintToCurrentGLContext):
(WebKit::ThreadedCompositor::resetFrameDamageHistory): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.h:
(WebKit::ThreadedCompositor::frameDamageHistory const): Deleted.
* Source/WebKit/WebProcess/WebPage/DrawingArea.h:
(WebKit::DrawingArea::resetDamageHistoryForTesting):
(WebKit::DrawingArea::foreachRegionInDamageHistoryForTesting const):
(WebKit::DrawingArea::frameDamageForTesting const): Deleted.
Canonical link: https://commits.webkit.org/294836@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes