Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
REVERT(268166@main): Implement the 'backdrop root' concept for backdr…
…op-filter. rdar://115803479 https://bugs.webkit.org/show_bug.cgi?id=261840 Reviewed by Jonathan Bedard. 4 API tests having constant issues (2 failures, 2 timeouts), and 43 layout tests consistently crashing. Reverting 268166@main. * LayoutTests/css3/filters/backdrop/backdrop-filter-does-not-size-properly-absolute-expected.txt: * LayoutTests/css3/filters/backdrop/backdrop-filter-does-not-size-properly-border-and-padding-expected.txt: * LayoutTests/css3/filters/backdrop/backdrop-filter-with-cliprect-expected.txt: * LayoutTests/css3/filters/backdrop/backdrop-filter-with-mask-expected.txt: * LayoutTests/css3/filters/backdrop/backdrop-with-visibility-hidden-changing-expected.txt: * LayoutTests/css3/filters/backdrop/backdrop-with-visibility-hidden-expected.txt: * LayoutTests/css3/filters/backdrop/resource-use-add-more-layers-expected.txt: * LayoutTests/css3/filters/backdrop/resource-use-excessive-expected.txt: * LayoutTests/css3/filters/backdrop/resource-use-ok-expected.txt: * LayoutTests/css3/filters/backdrop/resource-use-remove-some-layers-expected.txt: * Source/JavaScriptCore/inspector/protocol/LayerTree.json: * Source/WebCore/inspector/agents/InspectorLayerTreeAgent.cpp: (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer): * Source/WebCore/platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::GraphicsLayer): * Source/WebCore/platform/graphics/GraphicsLayer.h: (WebCore::GraphicsLayer::setIsBackdropRoot): Deleted. (WebCore::GraphicsLayer::isBackdropRoot const): Deleted. * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): (WebCore::GraphicsLayerCA::ensureStructuralLayer): (WebCore::GraphicsLayerCA::layerChangeAsString): (WebCore::GraphicsLayerCA::changeLayerTypeTo): (WebCore::GraphicsLayerCA::setIsBackdropRoot): Deleted. (WebCore::GraphicsLayerCA::updateBackdropRoot): Deleted. * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h: * Source/WebCore/platform/graphics/ca/PlatformCALayer.h: * Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.h: * Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (WebCore::PlatformCALayerCocoa::setIsBackdropRoot): Deleted. * Source/WebCore/rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::RenderLayer::calculateClipRects const): (WebCore::RenderLayer::computeCanBeBackdropRoot const): Deleted. (WebCore::RenderLayer::setCanBeBackdropRoot): Deleted. * Source/WebCore/rendering/RenderLayer.h: (WebCore::RenderLayer::hasBackdropFilterDescendantsWithoutRoot const): Deleted. (WebCore::RenderLayer::setHasBackdropFilterDescendantsWithoutRoot): Deleted. (WebCore::RenderLayer::canBeBackdropRoot const): Deleted. (WebCore::RenderLayer::isBackdropRoot const): Deleted. * Source/WebCore/rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer): (WebCore::RenderLayerBacking::updateConfigurationAfterStyleChange): (WebCore::RenderLayerBacking::updateConfiguration): (WebCore::RenderLayerBacking::updateGeometry): (WebCore::RenderLayerBacking::updateBackdropRoot): Deleted. * Source/WebCore/rendering/RenderLayerBacking.h: * Source/WebCore/rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::CompositingState::stateForPaintOrderChildren const): (WebCore::RenderLayerCompositor::CompositingState::updateWithDescendantStateAndLayer): (WebCore::RenderLayerCompositor::computeCompositingRequirements): (WebCore::RenderLayerCompositor::reasonsForCompositing const): (WebCore::compositingReasonToString): (WebCore::RenderLayerCompositor::computeIndirectCompositingReason const): * Source/WebCore/rendering/RenderLayerCompositor.h: * Source/WebCore/rendering/style/WillChangeData.cpp: (WebCore::WillChangeData::canBeBackdropRoot const): Deleted. * Source/WebCore/rendering/style/WillChangeData.h: (WebCore::WillChangeData::canCreateStackingContext const): * Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js: * Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.js: (WI.LayerTreeDetailsSidebarPanel.prototype._populateListOfCompositingReasons): (WI.LayerTreeDetailsSidebarPanel): * Source/WebKit/Shared/RemoteLayerTree/LayerProperties.h: * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTree.serialization.in: * Source/WebKit/Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm: (WebKit::RemoteLayerTreePropertyApplier::applyPropertiesToLayer): * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.h: * Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.mm: (WebKit::PlatformCALayerRemote::setIsBackdropRoot): Deleted. Canonical link: https://commits.webkit.org/268221@main
- Loading branch information