Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 8e6ce4dc41c7a5d247188243b64b15b7e50c8521 https://github.com/WebKit/WebKit/commit/8e6ce4dc41c7a5d247188243b64b15b7e50c8521 Author: Simon Fraser <simon.fra...@apple.com> Date: 2023-05-25 (Thu, 25 May 2023)
Changed paths: M Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp Log Message: ----------- Avoid creating an entry in RenderSVGResourceClipper::m_clipperMap if we can do path-only clipping https://bugs.webkit.org/show_bug.cgi?id=257353 rdar://109854067 Reviewed by Cameron McCormack. RenderSVGResourceClipper::applyClippingToContext() unconditionally created an entry in m_clipperMap, but only needs to do so when caching an ImageBuffer. If we can do path-only clipping, we don't need the cache entry. If we succeed in path-only clipping, we should clear the image buffer from any existing entry. This is a minor progression on the MotionMark Suits test. * Source/WebCore/rendering/svg/RenderSVGResourceClipper.cpp: (WebCore::RenderSVGResourceClipper::applyClippingToContext): Canonical link: https://commits.webkit.org/264557@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes