[webkit-changes] [WebKit/WebKit] d9fab7: [Filters] Loop through the SVGFilter unique effect...

Said Abou-Hallawa noreply at github.com
Thu Jun 1 15:57:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d9fab762ebfd9b0ea04a566f37a8588342e1f1fa
      https://github.com/WebKit/WebKit/commit/d9fab762ebfd9b0ea04a566f37a8588342e1f1fa
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M Source/WebCore/svg/graphics/filters/SVGFilter.cpp

  Log Message:
  -----------
  [Filters] Loop through the SVGFilter unique effects instead of traversing the whole graph when possible
https://bugs.webkit.org/show_bug.cgi?id=257612
rdar://110125903

Reviewed by Cameron McCormack.

It is efficient for SVGFilter to loop through its unique effects vector instead
of traversing the whole graph through the SVGFilterExpression when possible.

This a left over from 263886 at main which made SVGFilterExpression own indices to
the vector of unique effects.

* Source/WebCore/svg/graphics/filters/SVGFilter.cpp:
(WebCore::SVGFilter::supportedFilterRenderingModes const):
(WebCore::SVGFilter::effectsOfType const):
(WebCore::SVGFilter::apply):

Canonical link: https://commits.webkit.org/264813@main




More information about the webkit-changes mailing list