Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 005edb6b6c30f1c0d26acf8e4c951827f70ac753
      
https://github.com/WebKit/WebKit/commit/005edb6b6c30f1c0d26acf8e4c951827f70ac753
  Author: Simon Fraser <[email protected]>
  Date:   2025-12-22 (Mon, 22 Dec 2025)

  Changed paths:
    M 
Source/WebCore/platform/graphics/coreimage/FEColorMatrixCoreImageApplier.mm
    M 
Source/WebCore/platform/graphics/coreimage/FEComponentTransferCoreImageApplier.mm
    M Source/WebCore/platform/graphics/coreimage/FilterImageCoreImage.mm
    M 
Source/WebCore/platform/graphics/coreimage/SourceGraphicCoreImageApplier.mm
    M Source/WebCore/svg/graphics/filters/SVGFilterRenderer.cpp

  Log Message:
  -----------
  [CI Filters] Create a CIContext with linearSRGB when the 
color-interpolation-filters is linearSRGB
https://bugs.webkit.org/show_bug.cgi?id=304558
rdar://166958500

Reviewed by Abrar Rahman Protyasha.

Create the CIContext with the colorspace that's specified by the 
`color-interpolation-filters`
property, so that we get linearSRGB filters by default.

We don't yet handle individual filter primitives with different 
`color-interpolation-filters`
values.

Also remove some unnecessary includes, and add a bit of logging.

* Source/WebCore/platform/graphics/coreimage/FEColorMatrixCoreImageApplier.mm:
* 
Source/WebCore/platform/graphics/coreimage/FEComponentTransferCoreImageApplier.mm:
* Source/WebCore/platform/graphics/coreimage/FilterImageCoreImage.mm:
(WebCore::sharedLinearSRGBCIContext):
(WebCore::sharedSRGBCIContext):
(WebCore::FilterImage::imageBufferFromCIImage):
(WebCore::sharedCIContext): Deleted.
* Source/WebCore/platform/graphics/coreimage/SourceGraphicCoreImageApplier.mm:
* Source/WebCore/svg/graphics/filters/SVGFilterRenderer.cpp:
(WebCore::SVGFilterRenderer::create):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to