Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 65cc730040c930985928b10e275c8678266ffc70 https://github.com/WebKit/WebKit/commit/65cc730040c930985928b10e275c8678266ffc70 Author: Said Abou-Hallawa <s...@apple.com> Date: 2025-09-08 (Mon, 08 Sep 2025)
Changed paths: A LayoutTests/css3/filters/effect-graphics-context-blur-expected.html A LayoutTests/css3/filters/effect-graphics-context-blur.html M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml M Source/WebCore/page/Page.cpp M Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp M Source/WebCore/platform/graphics/filters/FEColorMatrix.h M Source/WebCore/platform/graphics/filters/FEComponentTransfer.cpp M Source/WebCore/platform/graphics/filters/FEComponentTransfer.h M Source/WebCore/platform/graphics/filters/FEDropShadow.cpp M Source/WebCore/platform/graphics/filters/FEDropShadow.h M Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp M Source/WebCore/platform/graphics/filters/FEGaussianBlur.h M Source/WebCore/platform/graphics/filters/Filter.cpp M Source/WebCore/platform/graphics/filters/FilterEffect.cpp M Source/WebCore/platform/graphics/filters/FilterFunction.h M Source/WebCore/platform/graphics/filters/FilterRenderingMode.cpp M Source/WebCore/platform/graphics/filters/FilterRenderingMode.h M Source/WebCore/platform/graphics/filters/SourceAlpha.cpp M Source/WebCore/platform/graphics/filters/SourceAlpha.h M Source/WebCore/platform/graphics/filters/SourceGraphic.cpp M Source/WebCore/platform/graphics/filters/SourceGraphic.h M Source/WebCore/rendering/CSSFilter.cpp M Source/WebCore/rendering/CSSFilter.h M Source/WebCore/svg/graphics/filters/SVGFilter.cpp M Source/WebCore/svg/graphics/filters/SVGFilter.h Log Message: ----------- [Filters] Add a separate feature flag for the CoreGraphics blur filter https://bugs.webkit.org/show_bug.cgi?id=298544 rdar://160131901 Reviewed by Simon Fraser. A new FilterRenderingMode named GraphicsContextBlur will be added temporarily to tell FEGaussianBlur that CoreGraphics blur filter is enabled. Instead of and-ing the final result of supportedFilterRenderingModes with the preferredFilterRenderingModes, Filter will pass preferredFilterRenderingModes to all its children which will do the and-ing before they return to the caller. Page will add GraphicsContextBlur in preferredFilterRenderingModes() if the new feature flag is enabled. FEGaussianBlur::supportedFilterRenderingModes() will add GraphicsContext if the radius is the same in the x-direction and the y-direction and the preferredFilterRenderingModes has GraphicsContextBlur. * LayoutTests/css3/filters/effect-graphics-context-blur-expected.html: Added. * LayoutTests/css3/filters/effect-graphics-context-blur.html: Added. * Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml: * Source/WebCore/page/Page.cpp: (WebCore::Page::preferredFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp: (WebCore::FEColorMatrix::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/FEColorMatrix.h: * Source/WebCore/platform/graphics/filters/FEComponentTransfer.cpp: (WebCore::FEComponentTransfer::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/FEComponentTransfer.h: * Source/WebCore/platform/graphics/filters/FEDropShadow.cpp: (WebCore::FEDropShadow::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/FEDropShadow.h: * Source/WebCore/platform/graphics/filters/FEGaussianBlur.cpp: (WebCore::FEGaussianBlur::supportedFilterRenderingModes const): (WebCore::FEGaussianBlur::createGraphicsStyle const): * Source/WebCore/platform/graphics/filters/FEGaussianBlur.h: * Source/WebCore/platform/graphics/filters/Filter.cpp: (WebCore::Filter::setFilterRenderingModes): * Source/WebCore/platform/graphics/filters/FilterEffect.cpp: (WebCore::FilterEffect::createFilterStyle const): * Source/WebCore/platform/graphics/filters/FilterFunction.h: (WebCore::FilterFunction::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/FilterRenderingMode.cpp: (WebCore::operator<<): * Source/WebCore/platform/graphics/filters/FilterRenderingMode.h: * Source/WebCore/platform/graphics/filters/SourceAlpha.cpp: (WebCore::SourceAlpha::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/SourceAlpha.h: * Source/WebCore/platform/graphics/filters/SourceGraphic.cpp: (WebCore::SourceGraphic::supportedFilterRenderingModes const): * Source/WebCore/platform/graphics/filters/SourceGraphic.h: * Source/WebCore/rendering/CSSFilter.cpp: (WebCore::CSSFilter::supportedFilterRenderingModes const): (WebCore::CSSFilter::apply): (WebCore::CSSFilter::createFilterStyles const): * Source/WebCore/rendering/CSSFilter.h: * Source/WebCore/svg/graphics/filters/SVGFilter.cpp: (WebCore::SVGFilter::supportedFilterRenderingModes const): (WebCore::SVGFilter::apply): (WebCore::SVGFilter::createFilterStyles const): * Source/WebCore/svg/graphics/filters/SVGFilter.h: Canonical link: https://commits.webkit.org/299740@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