Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7c4b2b7e595981864ce559bb62f3bdad0e010ccf https://github.com/WebKit/WebKit/commit/7c4b2b7e595981864ce559bb62f3bdad0e010ccf Author: Carlos Garcia Campos <cgar...@igalia.com> Date: 2024-10-11 (Fri, 11 Oct 2024)
Changed paths: M Source/WebCore/platform/SourcesNicosia.txt M Source/WebCore/platform/TextureMapper.cmake R Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.cpp R Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.h M Source/WebCore/platform/graphics/nicosia/NicosiaCompositionLayer.h M Source/WebCore/platform/graphics/nicosia/NicosiaSceneIntegration.cpp M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h R Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyClient.h R Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyTile.cpp R Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyTile.h M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.h M Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp Log Message: ----------- [CoordinatedGraphics] Simplify tiled backing store handling https://bugs.webkit.org/show_bug.cgi?id=280606 Reviewed by Miguel Gomez. Remove NicosiaBackingStore and add an update method to CoordinatedBackingStoreProxy that returns an Update object that can be passed directly to the compositor. * Source/WebCore/platform/SourcesNicosia.txt: * Source/WebCore/platform/TextureMapper.cmake: * Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.cpp: Removed. * Source/WebCore/platform/graphics/nicosia/NicosiaBackingStore.h: Removed. * Source/WebCore/platform/graphics/nicosia/NicosiaCompositionLayer.h: * Source/WebCore/platform/graphics/nicosia/NicosiaSceneIntegration.cpp: (Nicosia::SceneIntegration::UpdateScope::~UpdateScope): * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp: (WebCore::CoordinatedBackingStore::createTile): (WebCore::CoordinatedBackingStore::resize): * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStore.h: * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp: (WebCore::generateTileID): (WebCore::CoordinatedBackingStoreProxy::Update::Update): (WebCore::CoordinatedBackingStoreProxy::Update::appendUpdate): (WebCore::CoordinatedBackingStoreProxy::create): (WebCore::CoordinatedBackingStoreProxy::CoordinatedBackingStoreProxy): (WebCore::CoordinatedBackingStoreProxy::setContentsScale): (WebCore::CoordinatedBackingStoreProxy::updateIfNeeded): (WebCore::CoordinatedBackingStoreProxy::computeCoverAndKeepRect const): (WebCore::CoordinatedBackingStoreProxy::invalidateRegion): (WebCore::CoordinatedBackingStoreProxy::mapToContents const): (WebCore::CoordinatedBackingStoreProxy::mapFromContents const): (WebCore::CoordinatedBackingStoreProxy::tileRectForPosition const): (WebCore::CoordinatedBackingStoreProxy::tilePositionForPoint const): (WebCore::innerBottomRight): Deleted. (WebCore::CoordinatedBackingStoreProxy::setTrajectoryVector): Deleted. (WebCore::CoordinatedBackingStoreProxy::createTilesIfNeeded): Deleted. (WebCore::CoordinatedBackingStoreProxy::invalidate): Deleted. (WebCore::CoordinatedBackingStoreProxy::dirtyTiles): Deleted. (WebCore::CoordinatedBackingStoreProxy::tileDistance const): Deleted. (WebCore::CoordinatedBackingStoreProxy::coverageRatio const): Deleted. (WebCore::CoordinatedBackingStoreProxy::visibleAreaIsCovered const): Deleted. (WebCore::CoordinatedBackingStoreProxy::createTiles): Deleted. (WebCore::CoordinatedBackingStoreProxy::adjustForContentsRect const): Deleted. (WebCore::CoordinatedBackingStoreProxy::resizeEdgeTiles): Deleted. (WebCore::CoordinatedBackingStoreProxy::setKeepRect): Deleted. (WebCore::CoordinatedBackingStoreProxy::removeAllNonVisibleTiles): Deleted. (WebCore::CoordinatedBackingStoreProxy::tileRectForCoordinate const): Deleted. (WebCore::CoordinatedBackingStoreProxy::tileCoordinateForPoint const): Deleted. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h: (WebCore::CoordinatedBackingStoreProxy::coverRect const): (WebCore::CoordinatedBackingStoreProxy::hasPendingTileCreation const): (WebCore::CoordinatedBackingStoreProxy::Tile::Tile): (WebCore::CoordinatedBackingStoreProxy::Tile::resize): (WebCore::CoordinatedBackingStoreProxy::Tile::addDirtyRect): (WebCore::CoordinatedBackingStoreProxy::client): Deleted. (WebCore::CoordinatedBackingStoreProxy::contentsScale const): Deleted. (WebCore::CoordinatedBackingStoreProxy::setCoverRect): Deleted. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyClient.h: Removed. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyTile.cpp: Removed. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyTile.h: Removed. * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: (WebCore::CoordinatedGraphicsLayer::~CoordinatedGraphicsLayer): (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly): (WebCore::CoordinatedGraphicsLayer::updateContentBuffers): (WebCore::CoordinatedGraphicsLayer::purgeBackingStores): * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h: * Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp: (WebKit::updateBackingStore): (WebKit::CoordinatedGraphicsScene::removeLayer): (WebKit::CoordinatedGraphicsScene::updateSceneState): (WebKit::CoordinatedGraphicsScene::purgeGLResources): (WebKit::removeLayer): Deleted. * Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.h: * Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CompositingCoordinator.cpp: (WebKit::CompositingCoordinator::flushPendingLayerChanges): Canonical link: https://commits.webkit.org/285011@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes