[webkit-changes] [WebKit/WebKit] 727f55: [Filters] Enable CoreGraphics color matrix filter

Said Abou-Hallawa noreply at github.com
Wed Jan 10 22:49:58 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 727f5586dc34ce5d21b7a5ab61cd9d35389de504
      https://github.com/WebKit/WebKit/commit/727f5586dc34ce5d21b7a5ab61cd9d35389de504
  Author: Said Abou-Hallawa <said at apple.com>
  Date:   2024-01-10 (Wed, 10 Jan 2024)

  Changed paths:
    M LayoutTests/css3/filters/effect-grayscale.html
    M LayoutTests/css3/filters/effect-sepia.html
    M LayoutTests/fast/filter-image/background-filter-image.html
    M LayoutTests/fast/filter-image/filter-image.html
    M Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp

  Log Message:
  -----------
  [Filters] Enable CoreGraphics color matrix filter
https://bugs.webkit.org/show_bug.cgi?id=267354
rdar://120795573

Reviewed by Simon Fraser.

Apply the ColorMatrix CGStyle style when it is available to draw the color matrix
filter. Fix the failed tests by adjusting the pixel tolerance.

* LayoutTests/css3/filters/effect-grayscale.html:
* LayoutTests/css3/filters/effect-sepia.html:
* LayoutTests/fast/filter-image/background-filter-image.html:
* LayoutTests/fast/filter-image/filter-image.html:
* Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp:
(WebCore::FEColorMatrix::supportedFilterRenderingModes const):

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




More information about the webkit-changes mailing list