[webkit-changes] [WebKit/WebKit] 4d92f5: [CoordinatedGraphics] Simplify tiled backing store...
Carlos Garcia Campos
noreply at github.com
Fri Oct 25 01:04:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4d92f5fd6e60dd6bd687da9025b51172ab792c73
https://github.com/WebKit/WebKit/commit/4d92f5fd6e60dd6bd687da9025b51172ab792c73
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-10-25 (Fri, 25 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
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 handle the updates in CoordinatedBackingStoreProxy.
* 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::CoordinatedBackingStoreProxy::Update::appendUpdate):
(WebCore::CoordinatedBackingStoreProxy::create):
(WebCore::CoordinatedBackingStoreProxy::CoordinatedBackingStoreProxy):
(WebCore::CoordinatedBackingStoreProxy::updateIfNeeded):
(WebCore::CoordinatedBackingStoreProxy::createOrDestroyTiles):
(WebCore::CoordinatedBackingStoreProxy::takePendingUpdate):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h:
(WebCore::CoordinatedBackingStoreProxy::client): Deleted.
(WebCore::CoordinatedBackingStoreProxy::contentsScale const): Deleted.
(WebCore::CoordinatedBackingStoreProxy::coverRect const): Deleted.
(WebCore::CoordinatedBackingStoreProxy::Tile::Tile): Deleted.
(WebCore::CoordinatedBackingStoreProxy::Tile::resize): Deleted.
(WebCore::CoordinatedBackingStoreProxy::Tile::addDirtyRect): Deleted.
(WebCore::CoordinatedBackingStoreProxy::Tile::isDirty const): Deleted.
(WebCore::CoordinatedBackingStoreProxy::Tile::markClean): Deleted.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxyClient.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/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::updateBackingStore):
(WebKit::CoordinatedGraphicsScene::removeLayer):
(WebKit::CoordinatedGraphicsScene::updateSceneState):
(WebKit::CoordinatedGraphicsScene::purgeGLResources):
(WebKit::removeLayer): Deleted.
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.h:
* Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHost.cpp:
(WebKit::LayerTreeHost::flushLayers):
Canonical link: https://commits.webkit.org/285694@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