[webkit-changes] [WebKit/WebKit] 22dfcd: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Web...

Chris Dumez noreply at github.com
Fri Dec 27 10:59:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 22dfcde373d09fb812ff6ccb6edaa532f6a9530f
      https://github.com/WebKit/WebKit/commit/22dfcde373d09fb812ff6ccb6edaa532f6a9530f
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-12-27 (Fri, 27 Dec 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp
    M Source/WebCore/platform/graphics/filters/FEColorMatrix.h
    M Source/WebCore/platform/graphics/filters/software/FEColorMatrixSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FEColorMatrixSoftwareApplier.h
    M Source/WebCore/platform/graphics/filters/software/FEComponentTransferSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FECompositeSoftwareArithmeticApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FECompositeSoftwareArithmeticApplier.h
    M Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.h
    M Source/WebCore/platform/graphics/filters/software/FEDisplacementMapSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FEGaussianBlurSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.h
    M Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplierInlines.h
    M Source/WebCore/platform/graphics/filters/software/FEMorphologySoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.cpp
    M Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.h

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in WebCore/platform/graphics/filters/software
https://bugs.webkit.org/show_bug.cgi?id=285185

Reviewed by Geoffrey Garen.

* Source/WebCore/platform/graphics/filters/FEColorMatrix.cpp:
(WebCore::FEColorMatrix::calculateSaturateComponents):
(WebCore::FEColorMatrix::calculateHueRotateComponents):
* Source/WebCore/platform/graphics/filters/FEColorMatrix.h:
* Source/WebCore/platform/graphics/filters/software/FEColorMatrixSoftwareApplier.cpp:
* Source/WebCore/platform/graphics/filters/software/FEColorMatrixSoftwareApplier.h:
* Source/WebCore/platform/graphics/filters/software/FEComponentTransferSoftwareApplier.cpp:
(WebCore::FEComponentTransferSoftwareApplier::applyPlatform const):
* Source/WebCore/platform/graphics/filters/software/FECompositeSoftwareArithmeticApplier.cpp:
(WebCore::FECompositeSoftwareArithmeticApplier::clampByte):
(WebCore::FECompositeSoftwareArithmeticApplier::computePixels):
(WebCore::FECompositeSoftwareArithmeticApplier::computePixelsUnclamped):
(WebCore::FECompositeSoftwareArithmeticApplier::applyPlatform):
(WebCore::FECompositeSoftwareArithmeticApplier::apply const):
* Source/WebCore/platform/graphics/filters/software/FECompositeSoftwareArithmeticApplier.h:
* Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.cpp:
(WebCore::FEConvolveMatrixSoftwareApplier::setDestinationPixels):
* Source/WebCore/platform/graphics/filters/software/FEConvolveMatrixSoftwareApplier.h:
* Source/WebCore/platform/graphics/filters/software/FEDisplacementMapSoftwareApplier.cpp:
(WebCore::FEDisplacementMapSoftwareApplier::apply const):
* Source/WebCore/platform/graphics/filters/software/FEGaussianBlurSoftwareApplier.cpp:
(WebCore::FEGaussianBlurSoftwareApplier::boxBlurAlphaOnly):
(WebCore::FEGaussianBlurSoftwareApplier::boxBlur):
* Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplier.h:
(WebCore::FELightingSoftwareApplier::AlphaWindow::shiftRow):
(): Deleted.
* Source/WebCore/platform/graphics/filters/software/FELightingSoftwareApplierInlines.h:
* Source/WebCore/platform/graphics/filters/software/FEMorphologySoftwareApplier.cpp:
(WebCore::FEMorphologySoftwareApplier::columnExtremum):
(WebCore::FEMorphologySoftwareApplier::applyPlatformGeneric):
* Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.cpp:
(WebCore::FETurbulenceSoftwareApplier::initPaintingData):
(WebCore::FETurbulenceSoftwareApplier::noise2D):
(WebCore::FETurbulenceSoftwareApplier::applyPlatformGeneric):
* Source/WebCore/platform/graphics/filters/software/FETurbulenceSoftwareApplier.h:

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



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


More information about the webkit-changes mailing list